/* empty css */import"./vue.92681fcb.js";import{Z,laski,aaasQe,tasme,ayasFn,aras_l,aEasg,a0asS,aKasyl,a1asw,OasC,aGasCn,AasAi,_aske,a8ast,b6asGe,b8askn,bsasGs,Casm,aqasql,buashn,bbaszn,TasGt,a7aso,jasFt,bvasis,uasRn,qasjn,b1ashl,Gaswi,aCasFs,wasIl,b2asPi,aoaskt,IasNi,aNasfi,$aste,Jasqe,aHasQl,aFasUl,zasVl,alasNn,aLasTl,Haszt,aJasks,bnasRt,brasSt,beasHt}from"./@vue.4ce677c2.js";import{caszs}from"./nanoevents.1080beb7.js";import{LasSl}from"./lz-string.731cedc5.js";import{iasLt}from"./is-plain-object.906d88e8.js";import{YasTt}from"./vue-next-select.a2bfab1d.js";import{sasQt,uasRs}from"./vue-toastification.6f567382.js";import{DasUt}from"./vuedraggable.7949458c.js";import{pasEt}from"./vue-textarea-autosize.35804eaf.js";import{vasAt,nasDt}from"./workbox-window.8d14e8b7.js";import"./sortablejs.29100d8a.js";constBt=function(){constl=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(constaofdocument.querySelectorAll('link[rel="modulepreload"]'))s(a);newMutationObserver(a=>{for(constrofa)if(r.type==="childList")for(constdofr.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});functionn(a){constr={};returna.integrity&&(r.integrity=a.integrity),a.referrerpolicy&&(r.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?r.credentials="include":a.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}functions(a){if(a.ep)return;a.ep=!0;constr=n(a);fetch(a.href,r)}};Bt();constPt="modulepreload",js={},_t="./",Yn=function(l,n){return!n||n.length===0?l():Promise.all(n.map(s=>{if(s=`${_t}${s}`,sinjs)return;js[s]=!0;consta=s.endsWith(".css"),r=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${r}`))return;constd=document.createElement("link");if(d.rel=a?"stylesheet":Pt,a||(d.as="script",d.crossOrigin=""),d.href=s,document.head.appendChild(d),a)returnnewPromise((u,c)=>{d.addEventListener("load",u),d.addEventListener("error",()=>c(newError(`Unable to preload CSS for ${s}`)))})})).then(()=>l())},qt="./projInfo-schema.json",$t="Advent Incremental",Kt="An incremental game you play a day at a time, leading up to Christmas!",ea="advent-incremental",ia="thepaperpilot and friends",la="",na="",sa="0.5",ta="Initial Commit",aa=!0,oa=!1,Ia=2,ma=!0,ra=null,da="",ua=["main"],ca=3600,ba=0,Za=!0,ya="base64";varIi={$schema:qt,title:$t,description:Kt,id:ea,author:ia,discordName:la,discordLink:na,versionNumber:sa,versionTitle:ta,allowGoBack:aa,defaultShowSmall:oa,defaultDecimalsShown:Ia,useHeader:ma,banner:ra,logo:da,initialTabs:ua,maxTickLength:ca,offlineLimit:ba,enablePausing:Za,exportEncoding:ya};constQn=17,pa=9e15,ha=Math.log10(9e15),Va=1/9e15,Wa=308,va=-324,Js=5,ja=function(){conste=[];for(letn=va+1;n<=Wa;n++)e.push(Number("1e"+n));constl=323;returnfunction(n){returne[n+l]}}(),Dl=[2,Math.E,3,4,5,6,7,8,9,10],Ja=[[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.167090535697
`).slice(3,5).map(l=>l.trim()).join(`
`))||""}function I(e){const l=ki(e)?e:me(e);l[ts]=l,l[Ll]=ki(e)?e.value:e,l[xn]=Ka(),l[_s]=!1;const n=Z({get(){return l.value},set(s){l.value=s}});return n[Ll]=l[Ll],l[Wn]=n,l[pn]=void 0,cl.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",l,`
Createdat:
`+l[xn]):an[cl[cl.length-1]].add(l),l}function qs(e){return e&&typeof e=="object"&&ts in e}function A(e){return e[Wn]}yi.on("addLayer",(e,l)=>{const n=[],s=(a,r=[])=>{let d=!1;return Object.keys(a).forEach(u=>{let c=a[u];if(c&&typeof c=="object")if(Xi in c&&(c=c[Xi]),qs(c)){if(d=!0,c[_s]){console.warn("Deleted persistent ref present in returned object. Ignoring...",c,`
Createdat:
`+c[xn]);return}an[e.id].delete(c);const b=[e.id,...r,u];c[pn]!=null&&JSON.stringify(b)!==JSON.stringify(c[pn])&&console.error(`Persistentrefisbeingsavedto\`${b.join(".")}\` when it's already present at \`${c[pn].join(".")}\`. This can cause unexpected behavior when loading saves between updates.`,c),c[pn]=b;constJ=r.reduce((W,j)=>(jinW||(W[j]={}),W[j]),l),h=J[u];J[u]=c[ts],Ft(J)?h!=null?J[u]=h:J[u]=c[Ll]:h!=null?J[u].value=h:J[u].value=c[Ll]}else!(cinstanceofi)&&!ki(c)&&!n.includes(c)&&(typeofc.type=="symbol"&&n.push(c),s(c,[...r,u])&&(is(c)&&!is(a)?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.",Xiina?a[Xi]:a,u):d=!0))}),d};s(e[Xi]),an[e.id].forEach(a=>{console.error(`Created persistent ref in ${e.id} without registering it to the layer! Make sure to include everything persistent in the returned object`,a,`
Createdat:
`+a[xn])}),an[e.id].clear()});var Gi=window.state=Rn({lastTenTicks:[],hasNaN:!1,NaNPath:[]});const $s=jn({id:"",devSpeed:null,name:"",tabs:[],time:-1,autosave:!0,offlineProd:!0,offlineTime:null,timePlayed:0,keepGoing:!1,modID:"",modVersion:"",layers:{},autoPause:!0});function Ks(e){return JSON.stringify(e,(l,n)=>m(n))}const et={get(e,l){var s;if(l===Xi||l===sn)return e[l];const n=e[Xi][l];if(l!=="value"&&(Lt(n)||Array.isArray(n))){if(n!==((s=e[l])==null?void 0:s[Xi])){const a=[...e[sn],l];e[l]=new Proxy({[Xi]:n,[sn]:a},et)}return e[l]}return n},set(e,l,n,s){if(!Gi.hasNaN&&(typeof n=="number"&&isNaN(n)||n instanceof i&&(isNaN(n.sign)||isNaN(n.layer)||isNaN(n.mag)))){const a=e[Xi][l];if(!(typeof a=="number"&&isNaN(a)||a instanceof i&&(isNaN(a.sign)||isNaN(a.layer)||isNaN(a.mag))))throw $s.autosave=!1,Gi.hasNaN=!0,Gi.NaNPath=[...e[sn],l],Gi.NaNReceiver=s,console.error("Attempted to set NaN value",[...e[sn],l],e[Xi]),"Attempted to set NaN value. See above for details"}return e[Xi][l]=n,!0},ownKeys(e){return Reflect.ownKeys(e[Xi])},has(e,l){return Reflect.has(e[Xi],l)},getOwnPropertyDescriptor(e,l){return Object.getOwnPropertyDescriptor(e[Xi],l)}};var Me=window.player=new Proxy({[Xi]:$s,[sn]:["player"]},et);const as=Symbol("RegisterNode"),os=Symbol("UnregisterNode"),Is=Symbol("Nodes"),ms=Symbol("Bounds"),oi=Rn({});window.layers=oi;const an={},cl=[];function Di(e,l){return nl(()=>{const n={},s=n.emitter=zs();if(n.on=s.on.bind(s),n.emit=s.emit.bind(s),n.nodes=me({}),n.id=e,cl.push(e),an[e]=new Set,n.minimized=I(!1),Object.assign(n,l.call(n)),cl[cl.length-1]==null||cl[cl.length-1]!==e)throw`Addinglayersstackininvalidstate.Thisshouldnothappen
Stack:${cl}
Tryingtopop${n.id}`;return cl.pop(),ve(n,"color"),ve(n,"display"),ve(n,"name"),Ei(n,"name",n.id),ve(n,"minWidth"),Ei(n,"minWidth",600),ve(n,"minimizable"),Ei(n,"minimizable",!0),ve(n,"minimizedDisplay"),n})}function it(e,l){if(console.info("Adding layer",e.id),oi[e.id]){console.error("Attempted to add layer with same ID as existing layer",e.id,oi[e.id]);return}Ei(l,"layers",{}),l.layers[e.id]==null&&(l.layers[e.id]={}),oi[e.id]=e,yi.emit("addLayer",e,l.layers[e.id])}function eo(e){return oi[e]}function lt(e){console.info("Removing layer",e.id),yi.emit("removeLayer",e),oi[e.id]=void 0}function io(e){lt(e),it(e,Me)}function lo(e){const l=me(!1);return{openModal:()=>l.value=!0,modal:f(()=>t(Si,{modelValue:l.value,"onUpdate:modelValue":n=>l.value=n},{header:()=>t("h2",null,[m(e.name)]),body:m(e.display)}))}}yi.on("update",function(l){Object.values(oi).forEach(n=>{n==null||n.emit("preUpdate",l)}),Object.values(oi).forEach(n=>{n==null||n.emit("update",l)}),Object.values(oi).forEach(n=>{n==null||n.emit("postUpdate",l)})});var no=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:as,UnregisterNodeInjectionKey:os,NodesInjectionKey:Is,BoundsInjectionKey:ms,layers:oi,persistentRefs:an,addingLayers:cl,createLayer:Di,addLayer:it,getLayer:eo,removeLayer:lt,reloadLayer:io,setupLayerModal:lo},Symbol.toStringTag,{value:"Module"}));function nt(e={}){return Object.assign({id:`${Ii.id}-0`,name:"Default Save",tabs:Ii.initialTabs.slice(),time:Date.now(),autosave:!0,offlineProd:!0,offlineTime:0,timePlayed:0,keepGoing:!1,modID:Ii.id,modVersion:Ii.versionNumber,layers:{}},e)}function il(e){const l=Sl.compressToUTF16(Ks(e!=null?e:Me[Xi]));return localStorage.setItem((e!=null?e:Me[Xi]).id,l),l}async function so(){ao();try{let e=localStorage.getItem(hi.active);if(e==null){await Pl(on());return}if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=Sl.decompressFromUTF16(e);else throw"Unable to determine save encoding";const l=JSON.parse(e);if(l.modID!==Ii.id){await Pl(on());return}l.id=hi.active,await Pl(l)}catch(e){console.error(`Failedtoloadsave.Fallingbacktonewsave.
`)}]})},a={christmas1:Z(()=>V.isMastery.value?1:i.add(s.christmas.buyable.amount.value,1)),rainbow1:Z(()=>V.isMastery.value?1:i.pow(2,s.rainbow.buyable.amount.value)),jazzy1:Z(()=>V.isMastery.value?1:i.add(s.jazzy.buyable.amount.value,1)),sunshine1:Z(()=>V.isMastery.value?1:i.add(s.sunshine.buyable.amount.value,1)),ocean1:Z(()=>V.isMastery.value?1:i.pow(1.5,s.ocean.buyable.amount.value)),beach1:Z(()=>V.isMastery.value?1:i.add(s.beach.buyable.amount.value,1))},r=Vi(Z(()=>Object.values(s).map(h=>h.buyable.amount.value).reduce(i.add,0)),"Total Wrapping Paper"),d=G(()=>({display:{requirement:"80 Total Wrapping Paper",effectDisplay:"Unlock a new elf to help with dyes"},shouldEarn:()=>i.gte(r.value,80),onComplete(){V.days[3].recentlyUpdated.value=!0}})),u=Z(()=>i.add(b.value,1).pow(.6).times(10).add(120)),c=Qi(()=>({display:()=>{var h;return{title:`${V.isMastery.value?"Stop Decorating":"Begin Decorating"}${(h=Object.values(oi).find(W=>{varj;returnm(W.mastered)===!1&&!["Elves","Management"].includes(m((j=W==null?void0:W.name)!=null?j:""))}))==null?void0:h.name}`,description:f(()=>t(C,null,[t("br",null,null),o("Decorating brings you to a separate version of each day that only allows layers that are decorated or being decorated to work. These days will have a new decoration effect that applies outside of decorating as well."),t("br",null,null),o("You can safely start and stop decorating without losing progress"),V.isMastery.value?null:t(C,null,[t("br",null,null),t("br",null,null),o("Requires "),re(u.value),o(" total wrapping paper")])]))}},visibility:()=>y(V.day.value===en),canClick(){return V.isMastery.value||i.gte(r.value,u.value)},onClick(){var W,j;if(!m(c.canClick))return;V.toggleMastery();const h=(j=(W=V.currentlyMastering.value)==null?void 0:W.id)!=null?j:"trees";Me.tabs.includes(h)||V.openDay(h),h==="paper"&&(ye.elves.cuttersElf.bought.value=!0,ye.elves.plantersElf.bought.value=!0,ye.elves.expandersElf.bought.value=!0,ye.elves.heatedCuttersElf.bought.value=!0,ye.elves.heatedPlantersElf.bought.value=!0,ye.elves.fertilizerElf.bought.value=!0)},style:{width:"300px",minHeight:"160px"}})),b=Z(()=>Object.values(oi).filter(h=>h&&"mastered"in h).findIndex(h=>h.mastered.value===!1)),J=qi(()=>({direction:Be.Right,width:600,height:25,fillStyle:`backgroundColor:${l}`,textStyle:"color: var(--feature-foreground)",progress:()=>V.day.value===en?i.div(b.value,6):1,display:f(()=>V.day.value===en?t(C,null,[b.value,o("/6 days decorated")]):"")}));return Pi(()=>{V.day.value===en&&i.gte(b.value,6)&&V.showLoreModal.value===!1&&V.completeDay()}),{name:e,day:en,color:l,display:f(()=>t("div",{style:"width: 620px"},[t("div",null,[V.day.value===en?"Decorate 6 previous days to complete the day":`${e}Complete!`]),We(J),t(pe,null,null),t(Ui,{resource:r},null),ci(s.christmas.display,s.rainbow.display,s.jazzy.display),ci(s.christmas.buyable,s.rainbow.buyable,s.jazzy.buyable),t(pe,null,null),ci(s.sunshine.display,s.ocean.display,s.beach.display),ci(s.sunshine.buyable,s.ocean.buyable,s.beach.buyable),t(pe,null,null),We(c),t(pe,null,null),We(d)])),wrappingPaper:s,boosts:a,unlockDyeElfMilestone:d,minWidth:700}}),TI="workshop",Zn=2,di=Di(TI,function(){const e="Workshop",l="#D66B02",n="#D66B02",s=Vi(0,"foundation progress"),a=be(()=>[p(()=>({multiplier:Z(()=>i.recip(zi.boosts.beach1.value)),description:"Beach Wrapping Paper",enabled:Z(()=>i.gt(zi.boosts.beach1.value,1))})),tl(()=>({exponent:.99,description:"Holly Level 5",enabled:v.elfTraining.cutterElfTraining.milestones[4].earned}))]),r=fe=>Z(()=>a.apply(fe)),d=nI(()=>({scaling:sI(Ns(Ns(us(r(250),1.5),r(5423),1/1e10),r(1e20),3e8),Z(()=>v.elfTraining.expandersElfTraining.milestones[2].earned.value?1e3:100)),baseResource:ge.logs,gainResource:A(s),roundUpCost:!0,spend(fe,we){Ne.value||(ge.logs.value=i.sub(ge.logs.value,we))}})),u=Qi(()=>({display:f(()=>t(C,null,[t("b",{style:"font-size: x-large"},[o("Build "),re(d.actualGain.value),o("% of the foundation")]),t("br",null,null),t("br",null,null),t("span",{style:"font-size: large"},[Ne.value?"Requirement":"Cost",o(":")," ",fn(ge.logs
Cost:50${n.displayName}<br/>${Te(1e11)}${ee.coal.displayName}`}})),ue=B(()=>({resource:A(n),cost:1e5,display:{title:"Efficient Drills",description:"Use metal and a bunch of R&D to make drilling stuff faster. Double coal and ore mining speed."},visibility:()=>y(ce.depthMilestones[4].earned.value)})),x=Ae(()=>({resource:A(n),cost(){let E=new i(this.amount.value);E=i.pow(.95,z.books.metalBook.totalAmount.value).times(E);let oe=i.pow(1.15,E).times(10);return v.elfTraining.metalElfTraining.milestones[4].earned.value&&(oe=i.div(oe,i.add(ce.depth.value,1).sqrt())),v.elfTraining.metalElfTraining.milestones[3].earned.value&&(oe=i.div(oe,10)),oe},inverseCost(E){v.elfTraining.metalElfTraining.milestones[3].earned.value&&(E=i.mul(E,10)),v.elfTraining.metalElfTraining.milestones[4].earned.value&&(E=i.mul(E,i.add(ce.depth.value,1).sqrt()));let oe=i.div(E,10).log(1.15);return oe=oe.div(i.pow(.95,z.books.metalBook.totalAmount.value)),i.isNaN(oe)?i.dZero:oe.floor().max(0)},display:{title:"Metal Drill",description:"An automated machine to help you mine more ore, faster",effectDisplay:f(()=>t(C,null,[o("Mine 2.5x faster. Increase ore mining amount by")," ",Se(x.amount.value),o(" ore per operation")]))},visibility:()=>y(i.gte(x.amount.value,1)||i.div(r.value,b.value).plus(s.value).gte(10)),style:{width:"200px"}})),$=Ae(()=>({resource:A(n),cost(){let E=new i(this.amount.value);E=i.pow(.95,z.books.metalBook.totalAmount.value).times(E);let oe=i.pow(1.15,i.times(E,10)).times(10);return v.elfTraining.metalElfTraining.milestones[4].earned.value&&(oe=i.div(oe,i.add(ce.depth.value,1).sqrt())),v.elfTraining.metalElfTraining.milestones[3].earned.value&&(oe=i.div(oe,10)),oe},inverseCost(E){v.elfTraining.metalElfTraining.milestones[3].earned.value&&(E=i.mul(E,10)),v.elfTraining.metalElfTraining.milestones[4].earned.value&&(E=i.mul(E,i.add(ce.depth.value,1).sqrt()));let oe=i.div(E,10).log(1.15).div(10);return oe=oe.div(i.pow(.95,z.books.metalBook.totalAmount.value)),i.isNaN(oe)?i.dZero:oe.floor().max(0)},display:{title:"Industrial Crucible",description:"A giant automated crucible furnace, letting you smelt ore faster",effectDisplay:f(()=>t(C,null,[o("Automatically smelts")," ",Se(i.times($.amount.value,10)),o(" ore per second")]))},visibility:()=>y(i.gte($.amount.value,1)||i.gte(x.amount.value,4)||i.gte(r.value,50)),style:{width:"200px"}})),Ie=I(!0),Wi=Ae(()=>({resource:ee.coal,cost(){let E=new i(this.amount.value);E=i.pow(.95,z.books.metalBook.totalAmount.value).times(E);let oe=i.pow(10,E).times(1e12);return v.elfTraining.metalElfTraining.milestones[4].earned.value&&(oe=i.div(oe,i.add(ce.depth.value,1).sqrt())),v.elfTraining.metalElfTraining.milestones[3].earned.value&&(oe=i.div(oe,10)),oe},inverseCost(E){v.elfTraining.metalElfTraining.milestones[3].earned.value&&(E=i.mul(E,10)),v.elfTraining.metalElfTraining.milestones[4].earned.value&&(E=i.mul(E,i.add(ce.depth.value,1).sqrt()));let oe=i.div(E,1e12).log(10);return oe=oe.div(i.pow(.95,z.books.metalBook.totalAmount.value)),i.isNaN(oe)?i.dZero:oe.floor().max(0)},display:{title:"Hotter Forges",description:"More coal makes the fires burn hotter, getting just a little more metal out of each bit of ore",effectDisplay:f(()=>t(C,null,[o("Gain "),Se(i.times(ei.value,100)),o("% more metal per ore")]))},visibility:()=>y(i.gte(Wi.amount.value,1)||Fe.bought.value),style:{width:"200px"}})),ei=Z(()=>i.times(Wi.amount.value,.25));yi.on("update",E=>{var vi;if(i.lt(V.day.value,qn)||V.isMastery.value&&!he.value&&((vi=V.currentlyMastering.value)==null?void 0:vi.name)!==e)return;const oe=i.sub(i.times(de.value,k.value),i.sub(u.value,d.value).max(0)),Ve=i.sub(h.value,i.sub(d.value,u.value).max(0));d.value=i.isNaN(oe)?0:oe,u.value=i.isNaN(Ve)?0:Ve,_.value=i.times(E,de.value).plus(_.value);const Hi=_.value.trunc();_.value=_.value.minus(Hi),a.value=i.add(a.value,i.times(Hi,k.value)),Ie.value&&T(i.min(X.value,i.times(h.value,E)),j.value)});const[De,Ee]=rl(()=>[{title:"Auto Smelt Speed",modifier:J,base:0,unit:"/s",visible(){return i.gt($.amount.value,0)||Re.value}},{title:"Auto Smelt Multiplier",modifier:W,base:1
margin:10px0;"/>${Ze}`:Ce,n.value=!0},onOpenLayer(){fe.value=!1,h(Q!=null?Q:"trees")},onUnlockLayer(){Q&&(ie.value=!0,setTimeout(()=>{var ue,x;s.value=-1,a.value=m((x=(ue=oi[Q!=null?Q:"trees"])==null?void 0:ue.name)!=null?x:""),r.value=Ce,Me.autoPause&&(Me.devSpeed=null),n.value=!0},1e3))}}}}})}const j=[W(()=>({day:1,shouldNotify:!1,layer:"trees",symbol:Jt,story:"Ohno!SantaforgotaboutChristmasandit's only 25 days away! He'saskedforyourhelpduetoyourhistorygettinglargequantitiesofthingsinshortamountsoftime.Unfortunatelyyou're really starting from scratch here - let'sstartwithgettingwood,whichyou'll need for everything from building workshops to wrapping paper to many of the toys themselves!",completedStory:"Santa looks at all the wood you'vegatheredandtellsyouyou've done well! He says you should take the rest of the day off so you'rerefreshedfortomorrow's work. Good Job!",masteredStory:"As you repeat the basic actions again, you feel like you'velearnedsomethingthatyoudidn't know the first time around. Santa is impressed at your new knowledge and inspires you to attempt this with more jobs."})),W(()=>({day:2,shouldNotify:!1,layer:"workshop",symbol:jt,story:"Santa looked over your tree farm and was impressed with how much you could accomplish in just one day. Today'sgoalistogetaworkshopbuiltupfortheelvestoworkin-andapparently,theyneedquitealotofspacetowork!",completedStory:"Theworkshopcomplete,Santaonceagaindismissesyoufortheday.Withastrongfoundation,thisworkshopshouldsufficeforsupportingfutureworktowardthisimpossiblemission.GoodJob!",masteredStory:"Asyouattempttobuildtheworkshopagainwithyournewfoundexperiencesandresources,yourealizeyoucouldhavebuilttheworkshopalittlebitbetter.Asyoukeepbuildingandbuilding,yourealizethatyoucould've built it without wasting any resources."})),W(()=>({day:3,shouldNotify:!1,layer:"coal",symbol:ut,story:"Santa tells you that unfortunately there are quite a few naughty children out there this year, and he'sgoingtoneedyoutogatherasmuchcoalasyoucanforhimtogiveout.",completedStory:"Santalooksatallthecoalyou've gathered and tells you you'vedonewell!Hesaysyoushouldtaketherestofthedayoffsoyou're refreshed for tomorrow'swork.GoodJob!",masteredStory:"It's another typical day, attempting to redo your work again, but this time for coal. While doing this tedious task, an elf comes up to you. It gives you a improved blueprint on how to make small fires. You try it, and you realize that it'salotmoreefficentthanyouroldbuildingsdesigns.Youthanktheelf,andresumeyourwork."})),W(()=>({day:4,shouldNotify:!1,layer:"elves",symbol:bt,story:"Alright,itseemsyoufinallyhaveenoughthingssetuptostartbringingintheelves!Unfortunately,itseemsthey'll need to be retrained on how to help, since they'vestoppedpracticingfor11months!",completedStory:"Theworkshopnowhumswiththebustlingelvesworkingoneverything.Theycantakeitfromhere-youdeserveabreakaftersuchalongday!GoodJob!",masteredStory:"Thisplacefeelsalotmorebetter,withlessnaughtyelveswhoaremoreexcitedthaneverbeforetodosomething!Asyoucollapseintoachairthinkingofallofyourhardwork,Santacomesbyyetagaintocongratulateyouonyourhardwork.YoufeelapangofjealousyasSantaistakingallthecreditforyourwork,butyoudecidethatsavingChristmasisworthit."})),W(()=>({day:5,shouldNotify:!1,layer:"paper",symbol:Vt,story:"Withtheelvestrained,we'realmostreadytostartworkingonthesepresents!Justacouplemorepre-reqsfirst,startingwithturningallthiswoodintowoodpulpandfinallyintopaper,whichwillberequiredforwrappingpaperlateronbutinthemeantimecanbeusedtohelpwriteguideswhichwillhelptheseelvescontinuetheireducation!",completedStory:"Youlookuponyourriversofbookpulpasyouhandoutstacksofpaperstoelvestoreadthroug
Learnmoreatwww.moddingtree.com`,"font-weight: bold; font-size: 24px; color: #A3BE8C; background: #2E3440; padding: 4px 8px; border-radius: 8px;","padding: 4px;"),await so();const{globalBus:e}=await Yn(()=>Promise.resolve().then(function(){return Ta}),void 0),{startGameLoop:l}=await Yn(()=>import("./gameLoop.e338d6a8.js"),["assets/gameLoop.e338d6a8.js","assets/@fontsource.c175eac8.css","assets/vue.92681fcb.js","assets/lz-string.731cedc5.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/is-plain-object.906d88e8.js","assets/vue-next-select.a2bfab1d.js","assets/vue-next-select.9e6f4164.css","assets/vue-toastification.6f567382.js","assets/vue-toastification.4b5f8ac8.css","assets/vuedraggable.7949458c.js","assets/sortablejs.29100d8a.js","assets/vue-textarea-autosize.35804eaf.js","assets/workbox-window.8d14e8b7.js"]),n=window.vue=Ht(Bd);e.emit("setupVue",n),n.mount("#app"),_l(()=>{const s=Rs(),{updateServiceWorker:a}=_d({onNeedRefresh(){s.info("New content available, click here to update.",{timeout:!1,closeOnClick:!1,draggable:!1,icon:{iconClass:"material-icons",iconChildren:"refresh",iconTag:"i"},rtl:!1,onClick(){a()}})},onOfflineReady(){s.info("App ready to work offline")},onRegisterError:console.warn,onRegistered(r){r&&setInterval(()=>r.update(),60*60*1e3)}})}),l()});export{i as D,Yn as _,Gi as a,Ii as b,nm as c,yi as g,rs as l,Me as p,hi as s};