/* empty css */import"./vue.92681fcb.js";import{ZasP,uasjt,qasdt,Casr,b1asbe,aaasA,aEasg,a0ask,a1asd,aKaske,GasX,tasE,aCasbn,wasLe,b2astt,a8ash,OasY,aoasZn,IasQ,ayasGt,arasxe,aGasyt,Aasae,_asq,b6asO,b8asWt,bsasJn,aqasot,buaslt,bbasMt,TasXn,a7asC,jasQn,lasJ,bvasln,zasSe,JasL,aNaste,$asT,aHasMe,aFas$e,alasun,aLasHe,bnases,brasts,aJasns,beasss}from"./@vue.4ce677c2.js";import{iasis}from"./is-plain-object.906d88e8.js";import{casNn}from"./nanoevents.1080beb7.js";import{LasVe}from"./lz-string.731cedc5.js";import{Yasrs}from"./vue-next-select.a2bfab1d.js";import{Dasas}from"./vuedraggable.7949458c.js";import{pasos}from"./vue-textarea-autosize.35804eaf.js";import{sasls,uasus}from"./vue-toastification.6f567382.js";import{vascs,nasds}from"./workbox-window.8d14e8b7.js";import"./sortablejs.29100d8a.js";constfs=function(){constt=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(constiofdocument.querySelectorAll('link[rel="modulepreload"]'))s(i);newMutationObserver(i=>{for(constaofi)if(a.type==="childList")for(constlofa.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&s(l)}).observe(document,{childList:!0,subtree:!0});functionn(i){consta={};returni.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}functions(i){if(i.ep)return;i.ep=!0;consta=n(i);fetch(i.href,a)}};fs();constms="modulepreload",cn={},hs="./",bt=function(t,n){return!n||n.length===0?t():Promise.all(n.map(s=>{if(s=`${hs}${s}`,sincn)return;cn[s]=!0;consti=s.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${a}`))return;constl=document.createElement("link");if(l.rel=i?"stylesheet":ms,i||(l.as="script",l.crossOrigin=""),l.href=s,document.head.appendChild(l),i)returnnewPromise((o,u)=>{l.addEventListener("load",o),l.addEventListener("error",()=>u(newError(`Unable to preload CSS for ${s}`)))})})).then(()=>t())},ps="./projInfo-schema.json",gs="Advent Incremental",ys="An incremental game you play a day at a time, leading up to Christmas!",vs="advent-incremental",_s="thepaperpilot",bs="",Ns="",ws="0.1",ks="Initial Commit",Ss=!0,Ms=!1,$s=2,Cs=!0,Ps=null,Ts="",Is=["main"],Fs=3600,Os=1,Ds=!0,Es="base64";varR={$schema:ps,title:gs,description:ys,id:vs,author:_s,discordName:bs,discordLink:Ns,versionNumber:ws,versionTitle:ks,allowGoBack:Ss,defaultShowSmall:Ms,defaultDecimalsShown:$s,useHeader:Cs,banner:Ps,logo:Ts,initialTabs:Is,maxTickLength:Fs,offlineLimit:Os,enablePausing:Ds,exportEncoding:Es};constVt=17,Vs=9e15,xs=Math.log10(9e15),Ls=1/9e15,qs=308,As=-324,dn=5,Bs=function(){conste=[];for(letn=As+1;n<=qs;n++)e.push(Number("1e"+n));constt=323;returnfunction(n){returne[n+t]}}(),Ae=[2,Math.E,3,4,5,6,7,8,9,10],Rs=[[1,1.0891168053867777,1.1789745164521264,1.2701428397304229,1.3632066654400328,1.4587804913784246,1.557523817412741,1.660158301473385,1.767487542936873,1.8804205225512542,2],[1,1.1121114330934,1.23103892493161,1.35838369631113,1.49605193039935,1.64635423375119,1.81213853570186,1.99697132461829,2.20538955455724,2.44325744833852,Math.E],[1,1.1187738849693603,1.2464963939368214,1.38527004705667,1.5376664685821402,1.7068895236551784,1.897001227148399,2.1132403089001035,2.362480153784171,2.6539010333870774,3],[1,1.1367350847096405,1.2889510672956703,1.4606478703324786,1.6570295196661111,1.8850062585672889,2.1539465047453485,2.476829779693097,2.872061932789197,3.3664204535587183,4],[1,1.1494592900767588,1.319708228183931,1.5166291280087583,1.748171114438024,2.0253263297298045,2.3636668498288547,2.7858359149579424,3.3257226212448145,4.035730287722532,5],[1,1.159225940787673,1.343712473580932,1.5611293155111927,1.8221199554561318,2.14183924486326,2.542468319282638,3.0574682501653316,3.7390572020926873,4.6719550537360774,6],[1,1.1670905356972596,1.3632807444991446,1
`))||""}function we(e){const t=J(e)?e:E(e);return t[Ut]=t,t[kt]=J(e)?e.value:e,t[St]=Fi(),t[Dn]=!1,me.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",t,`
`+t[St]):Xe[me[me.length-1]].add(t),t}ie.on("addLayer",(e,t)=>{const n=[],s=(i,a=[])=>{let l=!1;return Object.keys(i).forEach(o=>{const u=i[o];if(u&&typeof u=="object")if(Ut in u){if(l=!0,u[Dn]){console.warn("Deleted persistent ref present in returned object. Ignoring...",u,`
`+u[St]);return}Xe[e.id].delete(K in u?u[K]:u);const c=a.reduce((b,v)=>(v in b||(b[v]={}),b[v]),t),p=c[o];c[o]=u[Ut],Qn(c)?p!=null?c[o]=p:c[o]=u[kt]:p!=null?c[o].value=p:c[o].value=u[kt]}else!(u instanceof m)&&!J(u)&&!n.includes(u)&&(typeof u.type=="symbol"&&n.push(u),s(u,[...a,o])&&(ln(u)&&!ln(i)?console.warn("Found array that contains persistent values when adding layer. Keep in mind changing the order of elements in the array will mess with existing player saves.",K in i?i[K]:i,o):l=!0))}),l};s(e),Xe[e.id].forEach(i=>{console.error(`Createdpersistentrefin${e.id}withoutregisteringittothelayer!Makesuretoincludeeverythingpersistentinthereturnedobject`,i,`