diff --git a/assets/autoplay.c48a90c0.png b/assets/autoplay.c48a90c0.png new file mode 100644 index 0000000..b917f73 Binary files /dev/null and b/assets/autoplay.c48a90c0.png differ diff --git a/assets/fast forward.8950743b.png b/assets/fast forward.8950743b.png new file mode 100644 index 0000000..3afc620 Binary files /dev/null and b/assets/fast forward.8950743b.png differ diff --git a/assets/gameLoop.1a1d7b15.js b/assets/gameLoop.37c75517.js similarity index 91% rename from assets/gameLoop.1a1d7b15.js rename to assets/gameLoop.37c75517.js index e1d873c..a485e7c 100644 --- a/assets/gameLoop.1a1d7b15.js +++ b/assets/gameLoop.37c75517.js @@ -1 +1 @@ -import{_ as d,s,p as e,a as n,l as T,D as r,b as l,g as u}from"./index.5f6d0132.js";import"./vue.f6263579.js";import{b1 as c}from"./@vue.4ce677c2.js";/* empty css */import"./nanoevents.1080beb7.js";import"./lz-string.f2f3b7cf.js";import"./vue-toastification.b7cd620e.js";import"./vue-textarea-autosize.35804eaf.js";import"./semver.83ff78cf.js";import"./lru-cache.9a21e90b.js";import"./yallist.fd762fe7.js";import"./socket.io-client.79ce0df5.js";import"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import"./@socket.io.aec831e2.js";import"./socket.io-parser.544e37d1.js";import"./@pixi.1eac1889.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./earcut.b6f90e68.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.js";import"./vuedraggable.c3acdf62.js";import"./sortablejs.cbae5b2d.js";import"./vue-next-select.0dc4e443.js";import"./workbox-window.8d14e8b7.js";let o=null,m=null;function f(){const t=Date.now();let i=(t-e.time)/1e3;e.time=t;const a=i;if(n.lastTenTicks.push(a),n.lastTenTicks.length>10&&(n.lastTenTicks=n.lastTenTicks.slice(1)),!((m==null?void 0:m.value)&&!e.keepGoing)&&!n.hasNaN&&(i=Math.max(i,0),e.devSpeed!==0)){if(T.value=!1,e.offlineTime!=null){if(r.gt(e.offlineTime,l.offlineLimit*3600)&&(e.offlineTime=l.offlineLimit*3600),r.gt(e.offlineTime,0)&&e.devSpeed!==0){const p=Math.max(e.offlineTime/10,i);e.offlineTime=e.offlineTime-p,i+=p}else e.devSpeed===0&&(e.offlineTime+=i);(!e.offlineProd||r.lt(e.offlineTime,0))&&(e.offlineTime=null)}i=Math.min(i,l.maxTickLength),e.devSpeed!=null&&(i*=e.devSpeed),Number.isFinite(i)||(i=1e308),!r.eq(i,0)&&(e.timePlayed+=i,Number.isFinite(e.timePlayed)||(e.timePlayed=1e308),u.emit("update",i,a),s.unthrottled?(requestAnimationFrame(f),o!=null&&(clearInterval(o),o=null)):o==null&&(o=setInterval(f,50)))}}async function W(){m=(await d(()=>import("./index.5f6d0132.js").then(function(t){return t.c}),["assets/index.5f6d0132.js","assets/index.42a0c816.css","assets/@fontsource.f66d05e7.css","assets/vue.f6263579.js","assets/earcut.b6f90e68.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/vue-textarea-autosize.35804eaf.js","assets/semver.83ff78cf.js","assets/lru-cache.9a21e90b.js","assets/yallist.fd762fe7.js","assets/socket.io-client.79ce0df5.js","assets/engine.io-client.58517560.js","assets/engine.io-parser.3f360695.js","assets/@socket.io.aec831e2.js","assets/socket.io-parser.544e37d1.js","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","assets/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/workbox-window.8d14e8b7.js"])).hasWon,c(m,t=>{t&&u.emit("gameWon")}),s.unthrottled?requestAnimationFrame(f):o=setInterval(f,50)}export{W as startGameLoop}; +import{_ as d,s,p as e,a as n,l as T,D as r,b as l,g as u}from"./index.067ae3b7.js";import"./vue.f6263579.js";import{b1 as c}from"./@vue.4ce677c2.js";/* empty css */import"./nanoevents.1080beb7.js";import"./lz-string.f2f3b7cf.js";import"./vue-toastification.b7cd620e.js";import"./vue-textarea-autosize.35804eaf.js";import"./semver.83ff78cf.js";import"./lru-cache.9a21e90b.js";import"./yallist.fd762fe7.js";import"./socket.io-client.79ce0df5.js";import"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import"./@socket.io.aec831e2.js";import"./socket.io-parser.544e37d1.js";import"./@pixi.1eac1889.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./earcut.b6f90e68.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.js";import"./vuedraggable.c3acdf62.js";import"./sortablejs.cbae5b2d.js";import"./vue-next-select.0dc4e443.js";import"./workbox-window.8d14e8b7.js";let o=null,m=null;function f(){const t=Date.now();let i=(t-e.time)/1e3;e.time=t;const a=i;if(n.lastTenTicks.push(a),n.lastTenTicks.length>10&&(n.lastTenTicks=n.lastTenTicks.slice(1)),!((m==null?void 0:m.value)&&!e.keepGoing)&&!n.hasNaN&&(i=Math.max(i,0),e.devSpeed!==0)){if(T.value=!1,e.offlineTime!=null){if(r.gt(e.offlineTime,l.offlineLimit*3600)&&(e.offlineTime=l.offlineLimit*3600),r.gt(e.offlineTime,0)&&e.devSpeed!==0){const p=Math.max(e.offlineTime/10,i);e.offlineTime=e.offlineTime-p,i+=p}else e.devSpeed===0&&(e.offlineTime+=i);(!e.offlineProd||r.lt(e.offlineTime,0))&&(e.offlineTime=null)}i=Math.min(i,l.maxTickLength),e.devSpeed!=null&&(i*=e.devSpeed),Number.isFinite(i)||(i=1e308),!r.eq(i,0)&&(e.timePlayed+=i,Number.isFinite(e.timePlayed)||(e.timePlayed=1e308),u.emit("update",i,a),s.unthrottled?(requestAnimationFrame(f),o!=null&&(clearInterval(o),o=null)):o==null&&(o=setInterval(f,50)))}}async function W(){m=(await d(()=>import("./index.067ae3b7.js").then(function(t){return t.c}),["assets/index.067ae3b7.js","assets/index.016a609a.css","assets/@fontsource.f66d05e7.css","assets/vue.f6263579.js","assets/earcut.b6f90e68.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/vue-textarea-autosize.35804eaf.js","assets/semver.83ff78cf.js","assets/lru-cache.9a21e90b.js","assets/yallist.fd762fe7.js","assets/socket.io-client.79ce0df5.js","assets/engine.io-client.58517560.js","assets/engine.io-parser.3f360695.js","assets/@socket.io.aec831e2.js","assets/socket.io-parser.544e37d1.js","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","assets/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/workbox-window.8d14e8b7.js"])).hasWon,c(m,t=>{t&&u.emit("gameWon")}),s.unthrottled?requestAnimationFrame(f):o=setInterval(f,50)}export{W as startGameLoop}; diff --git a/assets/index.42a0c816.css b/assets/index.016a609a.css similarity index 71% rename from assets/index.42a0c816.css rename to assets/index.016a609a.css index 3347898..6f3e0ae 100644 --- a/assets/index.42a0c816.css +++ b/assets/index.016a609a.css @@ -1 +1 @@ -.resize-listener[data-v-2b1dc1bc]{position:absolute;top:0px;left:0;right:-4px;bottom:5px;z-index:-10;pointer-events:none}.modal-mask{position:fixed;z-index:9998;top:0;left:0;bottom:0;right:0;background-color:#00000080;transition:opacity .3s ease}.modal-wrapper{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.modal-container{width:640px;max-width:95vw;max-height:95vh;background-color:var(--background);padding:20px;border-radius:5px;transition:all .3s ease;text-align:left;border:var(--modal-border);box-sizing:border-box;display:flex;flex-direction:column}.modal-header{width:100%}.modal-body{margin:20px 0;width:100%;overflow-y:auto;overflow-x:hidden}.modal-footer{width:100%}.modal-default-footer{display:flex}.modal-default-flex-grow{flex-grow:1}.modal-enter-from,.modal-leave-active{opacity:0}.modal-enter-from .modal-container,.modal-leave-active .modal-container{-webkit-transform:scale(1.1);transform:scale(1.1)}.table{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;max-width:100%;margin:0 auto}.table+.table{margin-top:10px}.row{display:flex;flex-flow:row wrap;justify-content:center;align-items:stretch;max-width:100%;margin:0 10px}.row>:not(.feature){margin:0;display:flex}.col{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;height:100%;margin:10px 0}.row.mergeAdjacent>.feature:not(.dontMerge),.row.mergeAdjacent>.tooltip-container>.feature:not(.dontMerge){margin-left:0;margin-right:0;border-radius:0}.row.mergeAdjacent>.feature:not(.dontMerge):first-child,.row.mergeAdjacent>.tooltip-container:first-child>.feature:not(.dontMerge){border-radius:var(--border-radius) 0 0 var(--border-radius)}.row.mergeAdjacent>.feature:not(.dontMerge):last-child,.row.mergeAdjacent>.tooltip-container:last-child>.feature:not(.dontMerge){border-radius:0 var(--border-radius) var(--border-radius) 0}.row.mergeAdjacent>.feature:not(.dontMerge):first-child:last-child,.row.mergeAdjacent>.tooltip-container:first-child:last-child>.feature:not(.dontMerge){border-radius:var(--border-radius)}.row-grid.mergeAdjacent>.feature:not(.dontMerge),.row-grid.mergeAdjacent>.tooltip-container>.feature:not(.dontMerge){margin:0;border-radius:0}.row-grid.mergeAdjacent>.feature:not(.dontMerge):last-child,.row-grid.mergeAdjacent>.tooltip-container:last-child>.feature:not(.dontMerge){border-radius:0}.row-grid.mergeAdjacent>.feature:not(.dontMerge):first-child,.row-grid.mergeAdjacent>.tooltip-container:first-child>.feature:not(.dontMerge){border-radius:0}.table-grid>.row-grid.mergeAdjacent:last-child>.feature:not(.dontMerge):first-child{border-radius:0 0 0 var(--border-radius)}.table-grid>.row-grid.mergeAdjacent:first-child>.feature:not(.dontMerge):last-child{border-radius:0 var(--border-radius) 0 0}.table-grid>.row-grid.mergeAdjacent:first-child>.feature:not(.dontMerge):first-child{border-radius:var(--border-radius) 0 0 0}.table-grid>.row-grid.mergeAdjacent:last-child>.feature:not(.dontMerge):last-child{border-radius:0 0 var(--border-radius) 0}.col.mergeAdjacent .feature:not(.dontMerge){margin-top:0;margin-bottom:0;border-radius:0}.col.mergeAdjacent .feature:not(.dontMerge):first-child{border-radius:var(--border-radius) var(--border-radius) 0 0}.col.mergeAdjacent .feature:not(.dontMerge):last-child{border-radius:0 0 var(--border-radius) var(--border-radius)}.col.mergeAdjacent .feature:not(.dontMerge):first-child:last-child{border-radius:var(--border-radius)}.tabButton[data-v-485cbefe]{background-color:transparent;color:var(--foreground);font-size:14px;cursor:pointer;padding:5px 10px;margin:5px;border-radius:5px;border:2px solid;flex-shrink:0;border-color:var(--layer-color)}.tabButton[data-v-485cbefe]:hover{transform:scale(1.1);text-shadow:0 0 7px var(--foreground)}:not(.floating)>.tabButton[data-v-485cbefe]{height:50px;margin:0;border-left:none;border-right:none;border-top:none;border-bottom-width:4px;border-radius:0;transform:unset}:not(.floating) .tabButton[data-v-485cbefe]:not(.active){border-bottom-color:transparent}.tabButton>*[data-v-485cbefe]{pointer-events:none}.sticky[data-v-cccac690]{position:sticky;background:var(--background);width:calc(100% - 2px);z-index:3}.tab-family-container[data-v-58dbf83a]{margin:calc(50px + var(--feature-margin)) 20px var(--feature-margin) 20px;position:relative;border:solid 4px;border-color:var(--outline)}.layer-tab>.tab-family-container[data-v-58dbf83a]:first-child{margin:-4px -11px var(--feature-margin) -11px}.layer-tab>.tab-family-container[data-v-58dbf83a]:first-child:nth-last-child(3){border-bottom-style:none;border-left-style:none;border-right-style:none;height:calc(100% + 50px)}.modal-body>.tab-family-container[data-v-58dbf83a]:first-child{margin:calc(10px + var(--feature-margin)) 10px 0 10px;border:none}.tab-family-container[data-v-58dbf83a]>:nth-child(2){margin-top:20px}.modal-body>.tab-family-container[data-v-58dbf83a]>:nth-child(2){margin-top:50px}.tab-family-container[data-v-f18896fc][data-v-58dbf83a]>:last-child{margin-bottom:20px}.tab-buttons-container[data-v-58dbf83a]{z-index:4}.tab-buttons-container[data-v-58dbf83a]:not(.floating){border-bottom:solid 4px;border-color:inherit}:not(.layer-tab):not(.modal-body)>.tab-family-container>.tab-buttons-container[data-v-58dbf83a]:not(.floating){width:calc(100% + 6px);margin-left:-3px}.tab-buttons-container:not(.floating) .tab-buttons[data-v-58dbf83a]{text-align:left;margin-bottom:-4px}.tab-buttons-container.floating .tab-buttons[data-v-58dbf83a]{justify-content:center;margin-top:-25px}.tab-buttons[data-v-58dbf83a]{margin-bottom:24px;display:flex;flex-flow:wrap;z-index:4}.layer-tab>.tab-family-container:first-child:nth-last-child(3)>.tab-buttons-container>.tab-buttons[data-v-58dbf83a]{padding-right:60px}.tab-buttons[data-v-58dbf83a]:not(.floating){text-align:left;border-bottom:inherit;border-width:4px;box-sizing:border-box;height:50px}.modal-body .tab-buttons[data-v-58dbf83a]{width:100%;margin-left:0;margin-right:0;padding-left:0}.showGoBack>.tab-family-container:first-child>.tab-buttons-container:not(.floating) .tab-buttons[data-v-58dbf83a]{padding-left:70px}:not(.showGoBack)>.tab-family-container>.tab-buttons-container:not(.floating):first-child .tab-buttons[data-v-58dbf83a]{padding-left:0}.minimizable>.tab-buttons-container[data-v-58dbf83a]:not(.floating):first-child{padding-right:50px}.tab-buttons-container:not(.floating):first-child .tab-buttons[data-v-58dbf83a]{margin-top:-50px}.tab-buttons-container+*[data-v-58dbf83a]{margin-top:20px}.layer-container[data-v-a592996e]{min-width:100%;min-height:100%;margin:0;flex-grow:1;display:flex;isolation:isolate}.layer-tab[data-v-a592996e]:not(.minimized){padding-top:20px;padding-bottom:20px;min-height:100%;flex-grow:1;text-align:center;position:relative}.inner-tab>.layer-container>.layer-tab[data-v-a592996e]:not(.minimized){padding-top:50px}.layer-tab.minimized[data-v-a592996e]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;padding:55px 0 0;margin:0;cursor:pointer;font-size:40px;color:var(--foreground);border:none;background-color:transparent}.layer-tab.minimized>*[data-v-a592996e]{margin:0;writing-mode:vertical-rl;text-align:left;padding-left:10px;width:50px}.inner-tab>.layer-container>.layer-tab[data-v-a592996e]:not(.minimized){margin:-50px -10px;padding:50px 10px}.modal-body .layer-tab[data-v-a592996e]{padding-bottom:0}.modal-body .layer-tab[data-v-a592996e]:not(.hasSubtabs){padding-top:0}.minimize[data-v-a592996e]{position:sticky;top:6px;right:9px;z-index:7;line-height:30px;border:none;background:var(--background);box-shadow:var(--background) 0 2px 3px 5px;border-radius:50%;color:var(--foreground);font-size:40px;cursor:pointer;margin-top:-44px;margin-right:-30px}.minimized+.minimize[data-v-a592996e]{transform:rotate(-90deg);top:10px;right:18px;pointer-events:none}.goBack[data-v-a592996e]{position:sticky;top:10px;left:10px;line-height:30px;margin-top:-50px;margin-left:-35px;border:none;background:var(--background);box-shadow:var(--background) 0 2px 3px 5px;border-radius:50%;color:var(--foreground);font-size:30px;cursor:pointer;z-index:7}.goBack[data-v-a592996e]:hover{transform:scale(1.1);text-shadow:0 0 7px var(--foreground)}.layer-tab.minimized>*>.desc{color:var(--accent1);font-size:30px}details[data-v-4b4bda40]{margin:10px 0;padding-left:18px}summary[data-v-4b4bda40]{cursor:pointer;margin-bottom:10px;margin-left:-18px}ul[data-v-4b4bda40]{margin:var(--feature-margin) 0;background:var(--raised-background);border:2px solid rgba(0,0,0,.125);padding:5px 5px 5px 15px;list-style:inside}li[data-v-4b4bda40]{margin:8px 0}li[data-v-4b4bda40]:before{padding:2px 8px;margin-right:8px;border-radius:var(--border-radius)}.feature[data-v-4b4bda40]:before{content:"Feature";background:var(--accent1)}.fix[data-v-4b4bda40]:before{content:"Fix";background:var(--accent2)}.balancing[data-v-4b4bda40]:before{content:"Balancing";background:var(--accent3)}.breaking[data-v-4b4bda40]:before{content:"Breaking";background:var(--danger)}.tooltip-container[data-v-7a579aa7]{position:relative;--xoffset: 0px;--yoffset: 0px;text-shadow:none!important}.tooltip[data-v-7a579aa7],.tooltip[data-v-7a579aa7]:after{pointer-events:none;position:absolute}.tooltip[data-v-7a579aa7]{text-align:center;width:250px;font-size:14px;line-height:1.2;bottom:calc(100% + var(--yoffset));left:calc(50% + var(--xoffset));margin-bottom:5px;transform:translate(-50%);padding:7px;border-radius:3px;background-color:var(--tooltip-background);color:var(--background);z-index:1000!important;word-break:break-word}.tooltip[data-v-7a579aa7] hr{margin:var(--feature-margin) 0}.shown[data-v-7a579aa7]{z-index:10}.fade-enter-from[data-v-7a579aa7],.fade-leave-to[data-v-7a579aa7]{opacity:0}.tooltip[data-v-7a579aa7]:after{content:" ";position:absolute;top:100%;bottom:100%;left:calc(50% - var(--xoffset));width:0;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--tooltip-background) transparent transparent transparent}.tooltip.left[data-v-7a579aa7],.side-nodes .tooltip[data-v-7a579aa7]:not(.right):not(.bottom):not(.top){bottom:calc(50% + var(--yoffset));left:unset;right:calc(100% + var(--xoffset));margin-bottom:unset;margin-right:5px;transform:translateY(50%)}.tooltip.left[data-v-7a579aa7]:after,.side-nodes .tooltip[data-v-7a579aa7]:not(.right):not(.bottom):not(.top):after{top:calc(50% + var(--yoffset));bottom:unset;left:100%;right:100%;margin-left:unset;margin-top:-5px;border-color:transparent transparent transparent var(--tooltip-background)}.tooltip.right[data-v-7a579aa7]{bottom:calc(50% + var(--yoffset));left:calc(100% + var(--xoffset));margin-bottom:unset;margin-left:5px;transform:translateY(50%)}.tooltip.right[data-v-7a579aa7]:after{top:calc(50% + var(--yoffset));left:0;right:100%;margin-left:-10px;margin-top:-5px;border-color:transparent var(--tooltip-background) transparent transparent}.tooltip.bottom[data-v-7a579aa7]{top:calc(100% + var(--yoffset));bottom:unset;left:calc(50% + var(--xoffset));margin-bottom:unset;margin-top:5px;transform:translate(-50%)}.tooltip.bottom[data-v-7a579aa7]:after{top:0;margin-top:-10px;border-color:transparent transparent var(--tooltip-background) transparent}.pinned[data-v-7a579aa7]{position:absolute;right:-5px;top:-5px;transform:rotate(45deg)}.info-modal-header[data-v-5d3cb6f4]{display:flex;margin:-20px -20px 0;background:var(--raised-background);align-items:center}.info-modal-header *[data-v-5d3cb6f4]{margin:0}.info-modal-logo[data-v-5d3cb6f4]{height:4em;width:4em}.info-modal-title[data-v-5d3cb6f4]{display:flex;flex-direction:column;padding:10px 0;margin-left:10px}.info-modal-discord-link[data-v-5d3cb6f4]{display:flex;align-items:center}.info-modal-discord[data-v-5d3cb6f4]{margin:0 4px 0 0}.field{display:flex;position:relative;min-height:2em;margin:10px 0;user-select:none;justify-content:space-between;align-items:center}.field>*{margin:0}form[data-v-26e25f6a]{margin:0;width:100%}.field>*[data-v-26e25f6a]{margin:0}input[data-v-26e25f6a]{width:50%;outline:none;border:solid 1px var(--outline);background-color:unset;border-radius:var(--border-radius)}.fullWidth[data-v-26e25f6a]{width:100%}.not-fullscreen[data-v-0b99a6fc],.resize-listener[data-v-0b99a6fc]{position:absolute;top:0px;left:0;right:-4px;bottom:5px;pointer-events:none;z-index:10}.node[data-v-a48cb382]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.character[data-v-61e2b6c0]{width:10vmin;height:10vmin;position:relative;margin:4vmin;justify-content:center;user-select:none;display:flex}.character[data-v-61e2b6c0]:not(.empty){cursor:pointer}.character.shake[data-v-61e2b6c0]{animation:shake-61e2b6c0 .5s infinite}.character *[data-v-61e2b6c0]{pointer-events:none}.character-display[data-v-61e2b6c0]{z-index:1}.character-display img[data-v-61e2b6c0]{image-rendering:pixelated;width:10vmin;height:10vmin;filter:drop-shadow(2px 4px 6px black)}.character[data-v-61e2b6c0]:after{content:"";background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAZtJREFUeJzt3MFtwkAQQFEccYFaQhMUnhSRXGkDjs41UaRIoOC19d9rYOfytdJo7d0OAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeM8236+gZ4JfpcFzknJdFToGVEgBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgLT96AFGO7+e5tEzrNnb58c0eoZncgOQJgDSBECaAEgTAGnTfLuOnuEhtjfbcu82aTocnzXKD24A0gRAmgBIEwBpAiBtNVsgWx2+e79cFnmD5AYgTQCkCYA0AZAmANIEQJoASBMAaQIgTQCkCYC01bwFupe3Q9viizBYIQGQJgDSBECaAEjb7Bbov9gm/W3U36FtgWABAiBNAKQJgDQBAAAAAAAAAAAAAAAAAAAAAAAAAAADfQFNHyOSwUzC4gAAAABJRU5ErkJggg==);position:absolute;top:15%;left:0;right:0;bottom:-15%;background-size:contain}.character.selected[data-v-61e2b6c0]:not(.dragging):before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-image:url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23000' stroke-width='12' stroke-dasharray='10%25%2c90%25' stroke-dashoffset='5%25' stroke-linecap='square'/%3e%3c/svg%3e");z-index:100}.character[data-v-61e2b6c0]:not(.selected):not(.empty):not(.dragging):not(.isDragging):hover:before,.character:not(.selected):not(.empty):not(.dragging).draggingOver[data-v-61e2b6c0]:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-image:url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23000' stroke-width='8' stroke-dasharray='10%25%2c90%25' stroke-dashoffset='5%25' stroke-linecap='square'/%3e%3c/svg%3e");z-index:100}.relevancy-display[data-v-61e2b6c0],.presence-display[data-v-61e2b6c0]{position:absolute;top:-15%;transform:translate(-50%,-50%)}.relevancy-display[data-v-61e2b6c0]{left:0}.presence-display[data-v-61e2b6c0]{right:0}.relevancy-display img[data-v-61e2b6c0],.presence-display img[data-v-61e2b6c0]{position:absolute;z-index:-1;width:10vmin;height:10vmin;image-rendering:pixelated}.relevancy-display img[data-v-61e2b6c0]{transform:translate(-45%,-45%)}.presence-display img[data-v-61e2b6c0]{transform:translate(-50%,-50%)}.relevancy-display span[data-v-61e2b6c0],.presence-display span[data-v-61e2b6c0]{font-size:1.5vmin;color:#fff;text-shadow:-1px 1px 0 black,1px 1px 0 black,1px -1px 0 black,-1px -1px 0 black;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.level-display[data-v-61e2b6c0]{position:absolute;bottom:-5%;right:-5%;z-index:1;transform:translate(50%,50%)}.level-display img[data-v-61e2b6c0]{width:10vmin;height:10vmin}.move-indicator[data-v-61e2b6c0]{position:absolute;transform:translate(-50%) rotate(180deg);top:-75%;left:50%;animation:bouncingMoveIndicator-61e2b6c0 1s infinite}.move-indicator .material-icons[data-v-61e2b6c0]{font-size:5vmin;transition:all .5s ease,color 0s}.character:not(.isDragging):hover .move-indicator .material-icons[data-v-61e2b6c0],.character.draggingOver .move-indicator .material-icons[data-v-61e2b6c0]{color:var(--feature-foreground)}.frozen[data-v-61e2b6c0]{position:absolute;bottom:0;transform:translate(-50%,-50%);left:0}.frozen img[data-v-61e2b6c0]{position:absolute;z-index:-1;width:10vmin;height:10vmin;image-rendering:pixelated;transform:translate(-50%,-50%)}@keyframes bouncingMoveIndicator-61e2b6c0{0%{transform:translate(-50%) rotate(180deg) translateY(0)}50%{transform:translate(-50%) rotate(180deg) translateY(50%)}to{transform:translate(-50%) rotate(180deg) translateY(0)}}@keyframes shake-61e2b6c0{0%{transform:translate(1px,1px) rotate(0)}10%{transform:translate(-1px,-2px) rotate(-1deg)}20%{transform:translate(-3px) rotate(1deg)}30%{transform:translate(3px,2px) rotate(0)}40%{transform:translate(1px,-1px) rotate(1deg)}50%{transform:translate(-1px,2px) rotate(-1deg)}60%{transform:translate(-3px,1px) rotate(0)}70%{transform:translate(3px,1px) rotate(-1deg)}80%{transform:translate(-1px,-1px) rotate(1deg)}90%{transform:translate(1px,2px) rotate(0)}to{transform:translate(1px,-2px) rotate(-1deg)}}.inner-tab{background:url(./Kitchen\ BG.cfdc4569.png);background-position:center;background-size:cover}.game-container{display:flex;flex-direction:column;height:calc(100% - 5vmin);padding-top:5vmin}.game-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-image:url(./game\ window.07b1840c.png);border-image-slice:100 50 50 450;border-style:solid;border-width:10vmin 5vmin 5vmin 45vmin;z-index:101;pointer-events:none}.game-container:after{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);height:10vmin;aspect-ratio:516/100;background-size:contain;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgQAAABkCAYAAAD5aSjlAAAKu3pUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarZhrdiQrDoT/s4pZAiCEYDmA4JzZwSx/PtJlu92v2z1nXG1nOZ3FQxGKCDrs//z7hH/xlbuWUNRa7bVGvkovPQ/etPj21Z+fKZbn59tXifl198v9UMvrgcwt4Spvv9p4u6bBff38wPscaX69H9rrL7m9BkofAz9fcme+7/3bRXI/v91Pr4WEvt/e1N7s26XO10DrfcXt87t8LOu1W34PX24YVXJlIsl5S5LIzyyvFcj9FhnPddzf73PP+yQ1vN16DUZBvmzv/RrjtwX6WvzXu/B99SX9vPh5vJ6Q72pZXzXizU//kPS7+/Ixf/4y8ceK8tc/aInjh+28vs/xds5+290olYrWF6OeYqf3YXhwUnJ5PlZ5Gd/Ke3tenVdjmgXkHlecvFbqKYPKCakkTyOdtJ/rSosllryzcc15ZXnuNbHc8wKxJOW+0skmXVwaYK28A4AWyR9rSc+8/ZlvpcbMnng0JwZLD9i/eIXf/fFvXuGcdUuUbjGfdngAzpfXLOMid3/yFICk88JNnwK/v17wx2+IBVVBUJ8yNzY44nwbYmr65JY8OAvPKde3FkrB/DUAJWJuZTFJQCDW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AEAQAgCAAAAQBAPAPUwZcq6F3cWeye8vDKrLvzuiLKRisEAAAggAAEAQAgCAAAAQBANCM2a+vn5uaMtia7/hfWSK7V3ktfd0jva/pA9MEXKfS6YOhpwnGen2YmtOjQysEAEAdggAAEAQAgCAAAAQBABARMXt662FTUwb77192Pj709EFru3Mzdu1y2e8vn6o878a9+w4+rqtXlE0T7D16YYUAAKhDEAAAggAAEAQAgCAAACIiZq29oGzqodb0AayjvqYPTBPA1ZVOE7z58aHKZ7MVAgBAEAAAggAAEAQAgCAAACKiwSmDTOn0AQC0oLVpgowVAgBAEAAAggAAEAQAgCAAACJijaYMMtn0AQC0oLVpgowVAgBAEAAAggAAEAQAgCAAAAAAAAAAAAAA/voDN6/JxSGUP10AAAAASUVORK5CYII=);z-index:102;pointer-events:none}.team-nickname{font-size:2.5vmin;z-index:105;top:3.2vmin;position:absolute;left:6.3vmin;text-shadow:-1px 1px 0 var(--raised-background),1px 1px 0 var(--raised-background),1px -1px 0 var(--raised-background),-1px -1px 0 var(--raised-background)}.manager-header{width:calc(100% - 10vmin)}.manager-header .row{align-items:center;width:100%}.manager-header .button{font-size:4vmin;padding:2vmin;height:8vmin}.modifier-toggle{padding-right:10px;transform:translateY(-1px);display:inline-block}.modifier-toggle.collapsed{transform:translate(-5px,-5px) rotate(-90deg)}.resource-box{font-size:2vmin;align-items:center;image-rendering:pixelated;border-style:solid;height:3vmin;display:flex;filter:drop-shadow(2px 4px 6px black)}.resource-box.wins{border-image:url(./win\ bar.b60a7ec9.png);border-image-slice:12 12 18 96 fill;border-width:.5vmin .5vmin .75vmin 4vmin}.resource-box.lives{border-image:url(./health\ bar.2f7af180.png);border-image-slice:12 12 18 84 fill;border-width:.5vmin .5vmin .75vmin 3.5vmin}.resource-box.moguls{border-image:url(./money\ bar.6c027dc4.png);border-image-slice:12 12 18 84 fill;border-width:.5vmin .5vmin .75vmin 3.5vmin}.resource-box:not(:last-child){margin-right:1vmin!important}.shop{position:relative;filter:drop-shadow(2px 4px 6px black)}.shop .row{border-image:url(./shop\ window.0a80aaff.png);border-image-slice:106 53 53 424 fill;border-style:solid;border-width:5vmin 2.5vmin 2.5vmin 20vmin;width:54vmin;justify-content:flex-start;align-items:center}.shop .row:after{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);height:5vmin;aspect-ratio:516/102;background-size:contain;background-image:url(./shop\ cat.90b80da1.png);z-index:3;pointer-events:none}.shop>.row>*:first-child{margin-left:-18vmin}.reroll{margin:auto -2vmin;height:18vmin;cursor:pointer;user-select:none;transition-duration:0s;image-rendering:pixelated}.reroll img{height:100%;transform:scale(1.5) translateY(-18%);filter:drop-shadow(2px 4px 6px black)}.startStream{height:16vmin;cursor:pointer;filter:drop-shadow(2px 4px 6px black);margin-right:0!important;margin-bottom:-8vmin!important}.waiting{font-size:4vmin;height:8vmin;display:flex;align-items:center}.battle-container{display:flex;flex-direction:column}.battle-container:not(.fast) *{transition-duration:1s}.teams-container{display:flex;height:calc(93vh - 154px);width:93%;flex-direction:column}.team-container{display:flex;margin:2vmin 0;height:calc(50% - 4vmin)}.team-container:first-child{flex-direction:row-reverse}.stream-container{height:100%;width:calc(100% - 18vmin);border:solid 2px var(--accent1);position:relative;background:var(--background);filter:drop-shadow(2px 4px 6px black)}.stream-details{position:absolute;top:1vmin;display:flex;flex-direction:column;width:calc(100% - 2vmin)}.stream-details .stats{display:flex;margin-top:1vmin;width:100%}.view-counter{font-size:2vmin;flex-grow:1;text-align:right}.streamers-container{width:90%;height:18vmin;position:absolute;left:5%;bottom:5%}.members-container{width:18vmin}.members-container .col{flex-flow:column-reverse}.members-container .tooltip-container{margin-bottom:0;margin-top:-4vmin}.members-container .tooltip-container:last-child{margin-bottom:-2vmin}.streamers-container .row{flex-flow:row}.battle-controls{display:flex}.battle-controls .button{display:flex;flex-direction:column;font-size:2vmin;margin:1vmin;border:solid 2px var(--link);border-radius:var(--border-radius)}.battle-controls .button.active{background:var(--link);color:var(--feature-foreground)}.outcome{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:2vmin 4vmin;background:var(--tooltip-background);border-radius:4vmin;font-size:6vmin;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;color:var(--feature-foreground)}.outcome span{margin:1vmin}.character-transition-enter-from{transform:translateY(100%)}.character-transition-leave-to{transform:translateY(-100%)}.character-trensition-active{position:absolute}.total-outcome-container{display:flex;flex-direction:column;justify-content:space-around;height:100%}.total-outcome{font-size:4vmin;margin:0}.smiley{font-size:20vmin;margin:0;animation:swing 2s infinite ease}.total-outcome-container .button{margin:0;font-size:xx-large}.tooltip img{height:1em;padding-right:.5em}@keyframes swing{0%,to{transform:rotate(-30deg)}20%{transform:scale(.95)}50%{transform:rotate(30deg)}80%{transform:scale(.95)}}.option-tabs{border-bottom:2px solid var(--outline);margin-top:10px;margin-bottom:-10px}.option-tabs button{background-color:transparent;color:var(--foreground);margin-bottom:-2px;font-size:14px;cursor:pointer;padding:5px 20px;border:none;border-bottom:2px solid var(--foreground)}.option-tabs button:not(.selected){border-bottom-color:transparent}.option-title .tooltip-container{display:inline;margin-left:5px}.option-title desc{display:block;opacity:.6;font-size:small;width:300px;margin-left:0}.save-button{text-align:right}.vue-select{width:50%;border-radius:var(--border-radius)}.field-buttons .vue-select{width:unset}.vue-select,.vue-dropdown{border-color:var(--outline)}.vue-dropdown{background:var(--raised-background)}.vue-dropdown-item{color:var(--foreground)}.vue-dropdown-item,.vue-dropdown-item *{transition-duration:0s}.vue-dropdown-item.highlighted{background-color:var(--highlighted)}.vue-dropdown-item.selected,.vue-dropdown-item.highlighted.selected{background-color:var(--bought)}.vue-input input{font-size:inherit}.vue-input input::placeholder{color:var(--link)}.container[data-v-2f8ef34c]{display:flex;align-items:center;background:var(--raised-background);box-shadow:var(--raised-background) 0 2px 3px 5px}.container.confirming button[data-v-2f8ef34c]{font-size:1em}.container>*[data-v-2f8ef34c]{margin:0 4px}.danger,.button.danger{position:relative;border:solid 2px var(--danger);border-right-width:16px}.danger:after{position:absolute;content:"!";color:#fff;right:-13px}.feedback[data-v-01a1b95c]{position:relative}.feedback[data-v-01a1b95c]:after{position:absolute;left:calc(100% + 5px);top:50%;transform:translateY(-50%);content:"\2714";opacity:0;pointer-events:none;box-shadow:inset 0 0 0 35px #6f94b600;text-shadow:none}.feedback.left[data-v-01a1b95c]:after{left:unset;right:calc(100% + 5px)}.feedback.activated[data-v-01a1b95c]:after{animation:feedback-01a1b95c .5s ease-out forwards}@keyframes feedback-01a1b95c{0%{opacity:1;transform:scale3d(.4,.4,1),translateY(-50%)}80%{opacity:.1}to{opacity:0;transform:scale3d(1.2,1.2,1),translateY(-50%)}}.save[data-v-c3447434]{position:relative;border:solid 4px var(--outline);padding:4px;background:var(--raised-background);margin:var(--feature-margin);display:flex;align-items:center;min-height:30px}.save.active[data-v-c3447434]{border-color:var(--bought)}.open[data-v-c3447434]{display:inline;margin:0;padding-left:0}.handle[data-v-c3447434]{flex-grow:0;margin-right:8px;margin-left:0;cursor:pointer}.details[data-v-c3447434]{margin:0 80px 0 0;flex-grow:1}.error[data-v-c3447434]{font-size:.8em;color:var(--danger)}.save-version[data-v-c3447434]{margin-left:4px;font-size:.7em;opacity:.7}.actions[data-v-c3447434]{position:absolute;top:0;bottom:0;right:4px;display:flex;padding:4px;z-index:1}.editname[data-v-c3447434]{margin:0}.save button{transition-duration:0s}.save .actions button{display:flex;font-size:1.2em}.save .actions button .material-icons{font-size:unset}.save .button.danger{display:flex;align-items:center;padding:4px}.save .field,.field form[data-v-5b5b1604],.field .field-title[data-v-5b5b1604],.field .field-buttons[data-v-5b5b1604]{margin:0}.field-buttons[data-v-5b5b1604]{display:flex}.field-buttons .field[data-v-5b5b1604]{margin:0 0 0 8px}.modal-footer[data-v-5b5b1604]{margin-top:-20px}.footer[data-v-5b5b1604]{display:flex;margin-top:20px}.importingFailed input{color:red}.field-buttons .v-select{width:220px}.presets .vue-select[aria-expanded=true] vue-dropdown{visibility:hidden}.nav[data-v-d43b25a6]{background-color:var(--raised-background);display:flex;left:0;right:0;top:0;height:46px;width:100%;border-bottom:4px solid var(--outline)}.nav>*[data-v-d43b25a6]{height:46px;width:46px;display:flex;cursor:pointer;flex-shrink:0}.nav>.banner[data-v-d43b25a6]{height:100%;width:unset}.overlay-nav[data-v-d43b25a6]{position:fixed;top:10px;left:10px;display:flex;flex-direction:column;z-index:2}.overlay-nav>*[data-v-d43b25a6]{height:50px;width:50px;display:flex;cursor:pointer;margin:0;align-items:center;justify-content:center}.title[data-v-d43b25a6]{font-size:36px;text-align:left;margin-left:12px;cursor:unset}.nav>.title[data-v-d43b25a6]{width:unset;flex-shrink:1;overflow:hidden;white-space:nowrap}.nav .saves[data-v-d43b25a6],.nav .info[data-v-d43b25a6]{display:flex}.tooltip-container[data-v-d43b25a6]{width:100%;height:100%;display:flex}.overlay-nav .discord[data-v-d43b25a6]{position:relative}.discord img[data-v-d43b25a6]{width:100%;height:100%}.discord-links[data-v-d43b25a6]{position:fixed;top:45px;padding:20px;right:-280px;width:200px;transition:right .25s ease;background:var(--raised-background);z-index:10}.overlay-nav .discord-links[data-v-d43b25a6]{position:absolute;left:-280px;right:unset;transition:left .25s ease}.overlay-nav .discord:hover .discord-links[data-v-d43b25a6]{left:-10px}.discord-links li[data-v-d43b25a6]{margin-bottom:4px}.discord-links li[data-v-d43b25a6]:first-child{font-size:1.2em}*:not(.overlay-nav) .discord:hover .discord-links[data-v-d43b25a6]{right:0}.material-icons[data-v-d43b25a6]{font-size:36px}.material-icons[data-v-d43b25a6]:hover{text-shadow:5px 0 10px var(--link),-3px 0 12px var(--foreground)}.nav .version-container[data-v-d43b25a6]{display:flex;height:25px;margin-bottom:0;margin-left:10px}.overlay-nav .version-container[data-v-d43b25a6]{width:unset;height:25px}.version[data-v-d43b25a6]{color:var(--points)}.version:hover span[data-v-d43b25a6]{text-shadow:5px 0 10px var(--points),-3px 0 12px var(--points)}.nav>div>a[data-v-d43b25a6],.overlay-nav>div>a[data-v-d43b25a6]{color:var(--foreground);text-shadow:none}.tabs-container[data-v-3e0f1aab]{width:100vw;flex-grow:1;overflow-x:auto;overflow-y:hidden;display:flex}.tabs-container[data-v-3e0f1aab]:not(.useHeader){width:calc(100vw - 50px);margin-left:50px}.tab[data-v-3e0f1aab]{position:relative;height:100%;flex-grow:1;transition-duration:0s;overflow-y:auto;overflow-x:hidden}.inner-tab[data-v-3e0f1aab]{padding:50px 10px;min-height:calc(100% - 100px);display:flex;flex-direction:column;margin:0;flex-grow:1}.tab+.tab>.inner-tab[data-v-3e0f1aab]{border-left:solid 4px var(--outline)}.tab hr{height:4px;border:none;background:var(--outline);margin:var(--feature-margin) 0}.tab .modal-body hr{margin:7px 0}.field[data-v-11046116]{cursor:pointer}input[data-v-11046116]{appearance:none;pointer-events:none}span[data-v-11046116]{width:100%;padding-right:41px;position:relative}input+span[data-v-11046116]:before{content:"";position:absolute;top:calc(50% - 7px);right:0px;border-radius:7px;width:36px;height:14px;background-color:var(--outline);opacity:.38;vertical-align:top;transition:background-color .2s,opacity .2s}input+span[data-v-11046116]:after{content:"";position:absolute;top:calc(50% - 10px);right:16px;border-radius:50%;width:20px;height:20px;background-color:var(--locked);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;transition:background-color .2s,transform .2s}input:checked+span[data-v-11046116]:before{background-color:var(--link);opacity:.6}input:checked+span[data-v-11046116]:after{background-color:var(--link);transform:translate(16px)}input:active+span[data-v-11046116]:before{background-color:var(--link);opacity:.6}input:checked:active+span[data-v-11046116]:before{background-color:var(--outline);opacity:.38}input:disabled+span[data-v-11046116]{color:#000;opacity:.38;cursor:default}input:disabled+span[data-v-11046116]:before{background-color:var(--outline);opacity:.38}input:checked:disabled+span[data-v-11046116]:before{background-color:var(--link);opacity:.6}.game-over-modal-header[data-v-4a50ce42]{display:flex;margin:-20px -20px 0;background:var(--raised-background);align-items:center}.game-over-modal-header *[data-v-4a50ce42]{margin:0}.game-over-modal-logo[data-v-4a50ce42]{height:4em;width:4em}.game-over-modal-title[data-v-4a50ce42]{display:flex;flex-direction:column;padding:10px 0;margin-left:10px}.game-over-footer[data-v-4a50ce42]{display:flex;justify-content:flex-end}.game-over-footer button[data-v-4a50ce42]{margin:0 10px}.game-over-modal-discord-link[data-v-4a50ce42]{display:flex;align-items:center}.game-over-modal-discord[data-v-4a50ce42]{margin:0 4px 0 0}.nan-modal-header[data-v-336bf74f]{padding:10px 0;margin-left:10px}.nan-footer[data-v-336bf74f]{display:flex;justify-content:flex-end}.nan-footer button[data-v-336bf74f]{margin:0 10px}.nan-modal-discord-link[data-v-336bf74f]{display:flex;align-items:center}.nan-modal-discord[data-v-336bf74f]{margin:0 4px 0 0}:root{color-scheme:dark}*{transition-duration:.5s;font-family:DogicaPixelBold,Roboto Mono,monospace;font-weight:400;margin:auto;text-size-adjust:none;line-height:1.25}*:focus{outline:none}body{overflow:hidden;transition:none;text-align:center}html,body,#app{min-height:100%;height:100%}h1,h2,h3,b,input{display:inline}button{color:#000}a,.button,.link{display:block;color:var(--link);background:none;border:none;cursor:pointer;text-decoration:none}a:hover,.button:hover,.link:hover{text-shadow:5px 0 10px var(--link),-3px 0 12px var(--link)}.button:disabled{opacity:.5;cursor:not-allowed}.button:disabled:hover{text-shadow:none}ul{list-style-type:none}.Vue-Toastification__toast{margin:unset}.app[data-v-2d9bd813]{background-color:var(--background);color:var(--foreground);display:flex;flex-flow:column;min-height:100%;height:100%}#modal-root[data-v-2d9bd813]{position:absolute;min-height:100%;height:100%;color:var(--foreground)}.tutorial img{height:1em;padding-right:.5em} +.resize-listener[data-v-2b1dc1bc]{position:absolute;top:0px;left:0;right:-4px;bottom:5px;z-index:-10;pointer-events:none}.modal-mask{position:fixed;z-index:9998;top:0;left:0;bottom:0;right:0;background-color:#00000080;transition:opacity .3s ease}.modal-wrapper{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.modal-container{width:640px;max-width:95vw;max-height:95vh;background-color:var(--background);padding:20px;border-radius:5px;transition:all .3s ease;text-align:left;border:var(--modal-border);box-sizing:border-box;display:flex;flex-direction:column}.modal-header{width:100%}.modal-body{margin:20px 0;width:100%;overflow-y:auto;overflow-x:hidden}.modal-footer{width:100%}.modal-default-footer{display:flex}.modal-default-flex-grow{flex-grow:1}.modal-enter-from,.modal-leave-active{opacity:0}.modal-enter-from .modal-container,.modal-leave-active .modal-container{-webkit-transform:scale(1.1);transform:scale(1.1)}.table{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;max-width:100%;margin:0 auto}.table+.table{margin-top:10px}.row{display:flex;flex-flow:row wrap;justify-content:center;align-items:stretch;max-width:100%;margin:0 10px}.row>:not(.feature){margin:0;display:flex}.col{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;height:100%;margin:10px 0}.row.mergeAdjacent>.feature:not(.dontMerge),.row.mergeAdjacent>.tooltip-container>.feature:not(.dontMerge){margin-left:0;margin-right:0;border-radius:0}.row.mergeAdjacent>.feature:not(.dontMerge):first-child,.row.mergeAdjacent>.tooltip-container:first-child>.feature:not(.dontMerge){border-radius:var(--border-radius) 0 0 var(--border-radius)}.row.mergeAdjacent>.feature:not(.dontMerge):last-child,.row.mergeAdjacent>.tooltip-container:last-child>.feature:not(.dontMerge){border-radius:0 var(--border-radius) var(--border-radius) 0}.row.mergeAdjacent>.feature:not(.dontMerge):first-child:last-child,.row.mergeAdjacent>.tooltip-container:first-child:last-child>.feature:not(.dontMerge){border-radius:var(--border-radius)}.row-grid.mergeAdjacent>.feature:not(.dontMerge),.row-grid.mergeAdjacent>.tooltip-container>.feature:not(.dontMerge){margin:0;border-radius:0}.row-grid.mergeAdjacent>.feature:not(.dontMerge):last-child,.row-grid.mergeAdjacent>.tooltip-container:last-child>.feature:not(.dontMerge){border-radius:0}.row-grid.mergeAdjacent>.feature:not(.dontMerge):first-child,.row-grid.mergeAdjacent>.tooltip-container:first-child>.feature:not(.dontMerge){border-radius:0}.table-grid>.row-grid.mergeAdjacent:last-child>.feature:not(.dontMerge):first-child{border-radius:0 0 0 var(--border-radius)}.table-grid>.row-grid.mergeAdjacent:first-child>.feature:not(.dontMerge):last-child{border-radius:0 var(--border-radius) 0 0}.table-grid>.row-grid.mergeAdjacent:first-child>.feature:not(.dontMerge):first-child{border-radius:var(--border-radius) 0 0 0}.table-grid>.row-grid.mergeAdjacent:last-child>.feature:not(.dontMerge):last-child{border-radius:0 0 var(--border-radius) 0}.col.mergeAdjacent .feature:not(.dontMerge){margin-top:0;margin-bottom:0;border-radius:0}.col.mergeAdjacent .feature:not(.dontMerge):first-child{border-radius:var(--border-radius) var(--border-radius) 0 0}.col.mergeAdjacent .feature:not(.dontMerge):last-child{border-radius:0 0 var(--border-radius) var(--border-radius)}.col.mergeAdjacent .feature:not(.dontMerge):first-child:last-child{border-radius:var(--border-radius)}.tabButton[data-v-485cbefe]{background-color:transparent;color:var(--foreground);font-size:14px;cursor:pointer;padding:5px 10px;margin:5px;border-radius:5px;border:2px solid;flex-shrink:0;border-color:var(--layer-color)}.tabButton[data-v-485cbefe]:hover{transform:scale(1.1);text-shadow:0 0 7px var(--foreground)}:not(.floating)>.tabButton[data-v-485cbefe]{height:50px;margin:0;border-left:none;border-right:none;border-top:none;border-bottom-width:4px;border-radius:0;transform:unset}:not(.floating) .tabButton[data-v-485cbefe]:not(.active){border-bottom-color:transparent}.tabButton>*[data-v-485cbefe]{pointer-events:none}.sticky[data-v-cccac690]{position:sticky;background:var(--background);width:calc(100% - 2px);z-index:3}.tab-family-container[data-v-58dbf83a]{margin:calc(50px + var(--feature-margin)) 20px var(--feature-margin) 20px;position:relative;border:solid 4px;border-color:var(--outline)}.layer-tab>.tab-family-container[data-v-58dbf83a]:first-child{margin:-4px -11px var(--feature-margin) -11px}.layer-tab>.tab-family-container[data-v-58dbf83a]:first-child:nth-last-child(3){border-bottom-style:none;border-left-style:none;border-right-style:none;height:calc(100% + 50px)}.modal-body>.tab-family-container[data-v-58dbf83a]:first-child{margin:calc(10px + var(--feature-margin)) 10px 0 10px;border:none}.tab-family-container[data-v-58dbf83a]>:nth-child(2){margin-top:20px}.modal-body>.tab-family-container[data-v-58dbf83a]>:nth-child(2){margin-top:50px}.tab-family-container[data-v-f18896fc][data-v-58dbf83a]>:last-child{margin-bottom:20px}.tab-buttons-container[data-v-58dbf83a]{z-index:4}.tab-buttons-container[data-v-58dbf83a]:not(.floating){border-bottom:solid 4px;border-color:inherit}:not(.layer-tab):not(.modal-body)>.tab-family-container>.tab-buttons-container[data-v-58dbf83a]:not(.floating){width:calc(100% + 6px);margin-left:-3px}.tab-buttons-container:not(.floating) .tab-buttons[data-v-58dbf83a]{text-align:left;margin-bottom:-4px}.tab-buttons-container.floating .tab-buttons[data-v-58dbf83a]{justify-content:center;margin-top:-25px}.tab-buttons[data-v-58dbf83a]{margin-bottom:24px;display:flex;flex-flow:wrap;z-index:4}.layer-tab>.tab-family-container:first-child:nth-last-child(3)>.tab-buttons-container>.tab-buttons[data-v-58dbf83a]{padding-right:60px}.tab-buttons[data-v-58dbf83a]:not(.floating){text-align:left;border-bottom:inherit;border-width:4px;box-sizing:border-box;height:50px}.modal-body .tab-buttons[data-v-58dbf83a]{width:100%;margin-left:0;margin-right:0;padding-left:0}.showGoBack>.tab-family-container:first-child>.tab-buttons-container:not(.floating) .tab-buttons[data-v-58dbf83a]{padding-left:70px}:not(.showGoBack)>.tab-family-container>.tab-buttons-container:not(.floating):first-child .tab-buttons[data-v-58dbf83a]{padding-left:0}.minimizable>.tab-buttons-container[data-v-58dbf83a]:not(.floating):first-child{padding-right:50px}.tab-buttons-container:not(.floating):first-child .tab-buttons[data-v-58dbf83a]{margin-top:-50px}.tab-buttons-container+*[data-v-58dbf83a]{margin-top:20px}.layer-container[data-v-a592996e]{min-width:100%;min-height:100%;margin:0;flex-grow:1;display:flex;isolation:isolate}.layer-tab[data-v-a592996e]:not(.minimized){padding-top:20px;padding-bottom:20px;min-height:100%;flex-grow:1;text-align:center;position:relative}.inner-tab>.layer-container>.layer-tab[data-v-a592996e]:not(.minimized){padding-top:50px}.layer-tab.minimized[data-v-a592996e]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;padding:55px 0 0;margin:0;cursor:pointer;font-size:40px;color:var(--foreground);border:none;background-color:transparent}.layer-tab.minimized>*[data-v-a592996e]{margin:0;writing-mode:vertical-rl;text-align:left;padding-left:10px;width:50px}.inner-tab>.layer-container>.layer-tab[data-v-a592996e]:not(.minimized){margin:-50px -10px;padding:50px 10px}.modal-body .layer-tab[data-v-a592996e]{padding-bottom:0}.modal-body .layer-tab[data-v-a592996e]:not(.hasSubtabs){padding-top:0}.minimize[data-v-a592996e]{position:sticky;top:6px;right:9px;z-index:7;line-height:30px;border:none;background:var(--background);box-shadow:var(--background) 0 2px 3px 5px;border-radius:50%;color:var(--foreground);font-size:40px;cursor:pointer;margin-top:-44px;margin-right:-30px}.minimized+.minimize[data-v-a592996e]{transform:rotate(-90deg);top:10px;right:18px;pointer-events:none}.goBack[data-v-a592996e]{position:sticky;top:10px;left:10px;line-height:30px;margin-top:-50px;margin-left:-35px;border:none;background:var(--background);box-shadow:var(--background) 0 2px 3px 5px;border-radius:50%;color:var(--foreground);font-size:30px;cursor:pointer;z-index:7}.goBack[data-v-a592996e]:hover{transform:scale(1.1);text-shadow:0 0 7px var(--foreground)}.layer-tab.minimized>*>.desc{color:var(--accent1);font-size:30px}details[data-v-4b4bda40]{margin:10px 0;padding-left:18px}summary[data-v-4b4bda40]{cursor:pointer;margin-bottom:10px;margin-left:-18px}ul[data-v-4b4bda40]{margin:var(--feature-margin) 0;background:var(--raised-background);border:2px solid rgba(0,0,0,.125);padding:5px 5px 5px 15px;list-style:inside}li[data-v-4b4bda40]{margin:8px 0}li[data-v-4b4bda40]:before{padding:2px 8px;margin-right:8px;border-radius:var(--border-radius)}.feature[data-v-4b4bda40]:before{content:"Feature";background:var(--accent1)}.fix[data-v-4b4bda40]:before{content:"Fix";background:var(--accent2)}.balancing[data-v-4b4bda40]:before{content:"Balancing";background:var(--accent3)}.breaking[data-v-4b4bda40]:before{content:"Breaking";background:var(--danger)}.tooltip-container[data-v-7a579aa7]{position:relative;--xoffset: 0px;--yoffset: 0px;text-shadow:none!important}.tooltip[data-v-7a579aa7],.tooltip[data-v-7a579aa7]:after{pointer-events:none;position:absolute}.tooltip[data-v-7a579aa7]{text-align:center;width:250px;font-size:14px;line-height:1.2;bottom:calc(100% + var(--yoffset));left:calc(50% + var(--xoffset));margin-bottom:5px;transform:translate(-50%);padding:7px;border-radius:3px;background-color:var(--tooltip-background);color:var(--background);z-index:1000!important;word-break:break-word}.tooltip[data-v-7a579aa7] hr{margin:var(--feature-margin) 0}.shown[data-v-7a579aa7]{z-index:10}.fade-enter-from[data-v-7a579aa7],.fade-leave-to[data-v-7a579aa7]{opacity:0}.tooltip[data-v-7a579aa7]:after{content:" ";position:absolute;top:100%;bottom:100%;left:calc(50% - var(--xoffset));width:0;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--tooltip-background) transparent transparent transparent}.tooltip.left[data-v-7a579aa7],.side-nodes .tooltip[data-v-7a579aa7]:not(.right):not(.bottom):not(.top){bottom:calc(50% + var(--yoffset));left:unset;right:calc(100% + var(--xoffset));margin-bottom:unset;margin-right:5px;transform:translateY(50%)}.tooltip.left[data-v-7a579aa7]:after,.side-nodes .tooltip[data-v-7a579aa7]:not(.right):not(.bottom):not(.top):after{top:calc(50% + var(--yoffset));bottom:unset;left:100%;right:100%;margin-left:unset;margin-top:-5px;border-color:transparent transparent transparent var(--tooltip-background)}.tooltip.right[data-v-7a579aa7]{bottom:calc(50% + var(--yoffset));left:calc(100% + var(--xoffset));margin-bottom:unset;margin-left:5px;transform:translateY(50%)}.tooltip.right[data-v-7a579aa7]:after{top:calc(50% + var(--yoffset));left:0;right:100%;margin-left:-10px;margin-top:-5px;border-color:transparent var(--tooltip-background) transparent transparent}.tooltip.bottom[data-v-7a579aa7]{top:calc(100% + var(--yoffset));bottom:unset;left:calc(50% + var(--xoffset));margin-bottom:unset;margin-top:5px;transform:translate(-50%)}.tooltip.bottom[data-v-7a579aa7]:after{top:0;margin-top:-10px;border-color:transparent transparent var(--tooltip-background) transparent}.pinned[data-v-7a579aa7]{position:absolute;right:-5px;top:-5px;transform:rotate(45deg)}.info-modal-header[data-v-5d3cb6f4]{display:flex;margin:-20px -20px 0;background:var(--raised-background);align-items:center}.info-modal-header *[data-v-5d3cb6f4]{margin:0}.info-modal-logo[data-v-5d3cb6f4]{height:4em;width:4em}.info-modal-title[data-v-5d3cb6f4]{display:flex;flex-direction:column;padding:10px 0;margin-left:10px}.info-modal-discord-link[data-v-5d3cb6f4]{display:flex;align-items:center}.info-modal-discord[data-v-5d3cb6f4]{margin:0 4px 0 0}.field{display:flex;position:relative;min-height:2em;margin:10px 0;user-select:none;justify-content:space-between;align-items:center}.field>*{margin:0}form[data-v-26e25f6a]{margin:0;width:100%}.field>*[data-v-26e25f6a]{margin:0}input[data-v-26e25f6a]{width:50%;outline:none;border:solid 1px var(--outline);background-color:unset;border-radius:var(--border-radius)}.fullWidth[data-v-26e25f6a]{width:100%}.not-fullscreen[data-v-0b99a6fc],.resize-listener[data-v-0b99a6fc]{position:absolute;top:0px;left:0;right:-4px;bottom:5px;pointer-events:none;z-index:10}.node[data-v-a48cb382]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.character[data-v-61e2b6c0]{width:10vmin;height:10vmin;position:relative;margin:4vmin;justify-content:center;user-select:none;display:flex}.character[data-v-61e2b6c0]:not(.empty){cursor:pointer}.character.shake[data-v-61e2b6c0]{animation:shake-61e2b6c0 .5s infinite}.character *[data-v-61e2b6c0]{pointer-events:none}.character-display[data-v-61e2b6c0]{z-index:1}.character-display img[data-v-61e2b6c0]{image-rendering:pixelated;width:10vmin;height:10vmin;filter:drop-shadow(2px 4px 6px black)}.character[data-v-61e2b6c0]:after{content:"";background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAZtJREFUeJzt3MFtwkAQQFEccYFaQhMUnhSRXGkDjs41UaRIoOC19d9rYOfytdJo7d0OAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeM8236+gZ4JfpcFzknJdFToGVEgBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgLT96AFGO7+e5tEzrNnb58c0eoZncgOQJgDSBECaAEgTAGnTfLuOnuEhtjfbcu82aTocnzXKD24A0gRAmgBIEwBpAiBtNVsgWx2+e79cFnmD5AYgTQCkCYA0AZAmANIEQJoASBMAaQIgTQCkCYC01bwFupe3Q9viizBYIQGQJgDSBECaAEjb7Bbov9gm/W3U36FtgWABAiBNAKQJgDQBAAAAAAAAAAAAAAAAAAAAAAAAAAADfQFNHyOSwUzC4gAAAABJRU5ErkJggg==);position:absolute;top:15%;left:0;right:0;bottom:-15%;background-size:contain}.character.selected[data-v-61e2b6c0]:not(.dragging):before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-image:url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23000' stroke-width='12' stroke-dasharray='10%25%2c90%25' stroke-dashoffset='5%25' stroke-linecap='square'/%3e%3c/svg%3e");z-index:100}.character[data-v-61e2b6c0]:not(.selected):not(.empty):not(.dragging):not(.isDragging):hover:before,.character:not(.selected):not(.empty):not(.dragging).draggingOver[data-v-61e2b6c0]:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-image:url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23000' stroke-width='8' stroke-dasharray='10%25%2c90%25' stroke-dashoffset='5%25' stroke-linecap='square'/%3e%3c/svg%3e");z-index:100}.relevancy-display[data-v-61e2b6c0],.presence-display[data-v-61e2b6c0]{position:absolute;top:-15%;transform:translate(-50%,-50%)}.relevancy-display[data-v-61e2b6c0]{left:0}.presence-display[data-v-61e2b6c0]{right:0}.relevancy-display img[data-v-61e2b6c0],.presence-display img[data-v-61e2b6c0]{position:absolute;z-index:-1;width:10vmin;height:10vmin;image-rendering:pixelated}.relevancy-display img[data-v-61e2b6c0]{transform:translate(-45%,-45%)}.presence-display img[data-v-61e2b6c0]{transform:translate(-50%,-50%)}.relevancy-display span[data-v-61e2b6c0],.presence-display span[data-v-61e2b6c0]{font-size:1.5vmin;color:#fff;text-shadow:-1px 1px 0 black,1px 1px 0 black,1px -1px 0 black,-1px -1px 0 black;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.level-display[data-v-61e2b6c0]{position:absolute;bottom:-5%;right:-5%;z-index:1;transform:translate(50%,50%)}.level-display img[data-v-61e2b6c0]{width:10vmin;height:10vmin}.move-indicator[data-v-61e2b6c0]{position:absolute;transform:translate(-50%) rotate(180deg);top:-75%;left:50%;animation:bouncingMoveIndicator-61e2b6c0 1s infinite}.move-indicator .material-icons[data-v-61e2b6c0]{font-size:5vmin;transition:all .5s ease,color 0s}.character:not(.isDragging):hover .move-indicator .material-icons[data-v-61e2b6c0],.character.draggingOver .move-indicator .material-icons[data-v-61e2b6c0]{color:var(--feature-foreground)}.frozen[data-v-61e2b6c0]{position:absolute;bottom:0;transform:translate(-50%,-50%);left:0}.frozen img[data-v-61e2b6c0]{position:absolute;z-index:-1;width:10vmin;height:10vmin;image-rendering:pixelated;transform:translate(-50%,-50%)}@keyframes bouncingMoveIndicator-61e2b6c0{0%{transform:translate(-50%) rotate(180deg) translateY(0)}50%{transform:translate(-50%) rotate(180deg) translateY(50%)}to{transform:translate(-50%) rotate(180deg) translateY(0)}}@keyframes shake-61e2b6c0{0%{transform:translate(1px,1px) rotate(0)}10%{transform:translate(-1px,-2px) rotate(-1deg)}20%{transform:translate(-3px) rotate(1deg)}30%{transform:translate(3px,2px) rotate(0)}40%{transform:translate(1px,-1px) rotate(1deg)}50%{transform:translate(-1px,2px) rotate(-1deg)}60%{transform:translate(-3px,1px) rotate(0)}70%{transform:translate(3px,1px) rotate(-1deg)}80%{transform:translate(-1px,-1px) rotate(1deg)}90%{transform:translate(1px,2px) rotate(0)}to{transform:translate(1px,-2px) rotate(-1deg)}}.inner-tab{background:url(./Kitchen\ BG.cfdc4569.png);background-position:center;background-size:cover}.game-container{display:flex;flex-direction:column;height:calc(100% - 5vmin);padding-top:5vmin}.game-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-image:url(./game\ window.07b1840c.png);border-image-slice:100 50 50 450;border-style:solid;border-width:10vmin 5vmin 5vmin 45vmin;z-index:101;pointer-events:none}.game-container:after{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);height:10vmin;aspect-ratio:516/100;background-size:contain;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgQAAABkCAYAAAD5aSjlAAAKu3pUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarZhrdiQrDoT/s4pZAiCEYDmA4JzZwSx/PtJlu92v2z1nXG1nOZ3FQxGKCDrs//z7hH/xlbuWUNRa7bVGvkovPQ/etPj21Z+fKZbn59tXifl198v9UMvrgcwt4Spvv9p4u6bBff38wPscaX69H9rrL7m9BkofAz9fcme+7/3bRXI/v91Pr4WEvt/e1N7s26XO10DrfcXt87t8LOu1W34PX24YVXJlIsl5S5LIzyyvFcj9FhnPddzf73PP+yQ1vN16DUZBvmzv/RrjtwX6WvzXu/B99SX9vPh5vJ6Q72pZXzXizU//kPS7+/Ixf/4y8ceK8tc/aInjh+28vs/xds5+290olYrWF6OeYqf3YXhwUnJ5PlZ5Gd/Ke3tenVdjmgXkHlecvFbqKYPKCakkTyOdtJ/rSosllryzcc15ZXnuNbHc8wKxJOW+0skmXVwaYK28A4AWyR9rSc+8/ZlvpcbMnng0JwZLD9i/eIXf/fFvXuGcdUuUbjGfdngAzp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AgCAAACLiP6YMmKZsl3K267h0N3V2L/eDx3d6ef3Z9IEpA1Y5b7NpglK77753P2/hd3lk523p+xSsEAAAggAAEAQAgCAAAAQBAPAPUwZcq6F3cWeye8vDKrLvzuiLKRisEAAAggAAEAQAgCAAAAQBANCM2a+vn5uaMtia7/hfWSK7V3ktfd0jva/pA9MEXKfS6YOhpwnGen2YmtOjQysEAEAdggAAEAQAgCAAAAQBABARMXt662FTUwb77192Pj709EFru3Mzdu1y2e8vn6o878a9+w4+rqtXlE0T7D16YYUAAKhDEAAAggAAEAQAgCAAACIiZq29oGzqodb0AayjvqYPTBPA1ZVOE7z58aHKZ7MVAgBAEAAAggAAEAQAgCAAACKiwSmDTOn0AQC0oLVpgowVAgBAEAAAggAAEAQAgCAAACJijaYMMtn0AQC0oLVpgowVAgBAEAAAggAAEAQAgCAAAAAAAAAAAAAA/voDN6/JxSGUP10AAAAASUVORK5CYII=);z-index:102;pointer-events:none}.team-nickname{font-size:2.5vmin;z-index:105;top:3.2vmin;position:absolute;left:6.3vmin;text-shadow:-1px 1px 0 var(--raised-background),1px 1px 0 var(--raised-background),1px -1px 0 var(--raised-background),-1px -1px 0 var(--raised-background)}.manager-header{width:calc(100% - 10vmin)}.manager-header .row{align-items:center;width:100%}.manager-header .button{font-size:4vmin;padding:2vmin;height:8vmin}.modifier-toggle{padding-right:10px;transform:translateY(-1px);display:inline-block}.modifier-toggle.collapsed{transform:translate(-5px,-5px) rotate(-90deg)}.resource-box{font-size:2vmin;align-items:center;image-rendering:pixelated;border-style:solid;height:3vmin;display:flex;filter:drop-shadow(2px 4px 6px black)}.resource-box.wins{border-image:url(./win\ bar.b60a7ec9.png);border-image-slice:12 12 18 96 fill;border-width:.5vmin .5vmin .75vmin 4vmin}.resource-box.lives{border-image:url(./health\ bar.2f7af180.png);border-image-slice:12 12 18 84 fill;border-width:.5vmin .5vmin .75vmin 3.5vmin}.resource-box.moguls{border-image:url(./money\ bar.6c027dc4.png);border-image-slice:12 12 18 84 fill;border-width:.5vmin .5vmin .75vmin 3.5vmin}.resource-box:not(:last-child){margin-right:1vmin!important}.shop{position:relative;filter:drop-shadow(2px 4px 6px black)}.shop .row{border-image:url(./shop\ window.0a80aaff.png);border-image-slice:106 53 53 424 fill;border-style:solid;border-width:5vmin 2.5vmin 2.5vmin 20vmin;width:54vmin;justify-content:flex-start;align-items:center}.shop .row:after{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);height:5vmin;aspect-ratio:516/102;background-size:contain;background-image:url(./shop\ cat.90b80da1.png);z-index:3;pointer-events:none}.shop>.row>*:first-child{margin-left:-18vmin}.reroll{margin:auto -2vmin;height:18vmin;cursor:pointer;user-select:none;transition-duration:0s;image-rendering:pixelated}.reroll img{height:100%;transform:scale(1.5) translateY(-18%);filter:drop-shadow(2px 4px 6px black)}.startStream{height:16vmin;cursor:pointer;filter:drop-shadow(2px 4px 6px black);margin-right:0!important;margin-bottom:-8vmin!important}.waiting{font-size:4vmin;height:8vmin;display:flex;align-items:center}.battle-container{display:flex;flex-direction:column}.battle-container:not(.fast) *{transition-duration:1s}.teams-container{display:flex;height:calc(93vh - 154px);width:93%;flex-direction:column}.team-container{display:flex;margin:2vmin 0;height:calc(50% - 4vmin)}.team-container:first-child{flex-direction:row-reverse}.stream-container{height:100%;width:calc(100% - 18vmin);border:solid 2px var(--accent1);position:relative;background:var(--background);filter:drop-shadow(2px 4px 6px black)}.stream-details{position:absolute;top:1vmin;display:flex;flex-direction:column;width:calc(100% - 2vmin)}.stream-details .stats{display:flex;margin-top:1vmin;width:100%}.view-counter{font-size:2vmin;flex-grow:1;text-align:right}.streamers-container{width:90%;height:18vmin;position:absolute;left:5%;bottom:5%}.members-container{width:18vmin}.members-container .col{flex-flow:column-reverse}.members-container .tooltip-container{margin-bottom:0;margin-top:-4vmin}.members-container .tooltip-container:last-child{margin-bottom:-2vmin}.streamers-container .row{flex-flow:row}.battle-controls{display:flex;margin-top:-2vmin}.battle-controls .button{margin:1vmin}.battle-controls .button.active{filter:brightness(.65)}.battle-controls .button img{height:7vmin;image-rendering:pixelated}.outcome{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:2vmin 4vmin;background:var(--tooltip-background);border-radius:4vmin;font-size:6vmin;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;color:var(--feature-foreground)}.outcome span{margin:1vmin}.character-transition-enter-from{transform:translateY(100%)}.character-transition-leave-to{transform:translateY(-100%)}.character-trensition-active{position:absolute}.total-outcome-container{display:flex;flex-direction:column;justify-content:space-around;height:100%}.total-outcome{font-size:4vmin;margin:0}.smiley{font-size:20vmin;margin:0;animation:swing 2s infinite ease}.total-outcome-container .button{margin:0;font-size:xx-large}.tooltip img{height:1em;padding-right:.5em}@keyframes swing{0%,to{transform:rotate(-30deg)}20%{transform:scale(.95)}50%{transform:rotate(30deg)}80%{transform:scale(.95)}}.option-tabs{border-bottom:2px solid var(--outline);margin-top:10px;margin-bottom:-10px}.option-tabs button{background-color:transparent;color:var(--foreground);margin-bottom:-2px;font-size:14px;cursor:pointer;padding:5px 20px;border:none;border-bottom:2px solid var(--foreground)}.option-tabs button:not(.selected){border-bottom-color:transparent}.option-title .tooltip-container{display:inline;margin-left:5px}.option-title desc{display:block;opacity:.6;font-size:small;width:300px;margin-left:0}.save-button{text-align:right}.vue-select{width:50%;border-radius:var(--border-radius)}.field-buttons .vue-select{width:unset}.vue-select,.vue-dropdown{border-color:var(--outline)}.vue-dropdown{background:var(--raised-background)}.vue-dropdown-item{color:var(--foreground)}.vue-dropdown-item,.vue-dropdown-item *{transition-duration:0s}.vue-dropdown-item.highlighted{background-color:var(--highlighted)}.vue-dropdown-item.selected,.vue-dropdown-item.highlighted.selected{background-color:var(--bought)}.vue-input input{font-size:inherit}.vue-input input::placeholder{color:var(--link)}.container[data-v-2f8ef34c]{display:flex;align-items:center;background:var(--raised-background);box-shadow:var(--raised-background) 0 2px 3px 5px}.container.confirming button[data-v-2f8ef34c]{font-size:1em}.container>*[data-v-2f8ef34c]{margin:0 4px}.danger,.button.danger{position:relative;border:solid 2px var(--danger);border-right-width:16px}.danger:after{position:absolute;content:"!";color:#fff;right:-13px}.feedback[data-v-01a1b95c]{position:relative}.feedback[data-v-01a1b95c]:after{position:absolute;left:calc(100% + 5px);top:50%;transform:translateY(-50%);content:"\2714";opacity:0;pointer-events:none;box-shadow:inset 0 0 0 35px #6f94b600;text-shadow:none}.feedback.left[data-v-01a1b95c]:after{left:unset;right:calc(100% + 5px)}.feedback.activated[data-v-01a1b95c]:after{animation:feedback-01a1b95c .5s ease-out forwards}@keyframes feedback-01a1b95c{0%{opacity:1;transform:scale3d(.4,.4,1),translateY(-50%)}80%{opacity:.1}to{opacity:0;transform:scale3d(1.2,1.2,1),translateY(-50%)}}.save[data-v-c3447434]{position:relative;border:solid 4px var(--outline);padding:4px;background:var(--raised-background);margin:var(--feature-margin);display:flex;align-items:center;min-height:30px}.save.active[data-v-c3447434]{border-color:var(--bought)}.open[data-v-c3447434]{display:inline;margin:0;padding-left:0}.handle[data-v-c3447434]{flex-grow:0;margin-right:8px;margin-left:0;cursor:pointer}.details[data-v-c3447434]{margin:0 80px 0 0;flex-grow:1}.error[data-v-c3447434]{font-size:.8em;color:var(--danger)}.save-version[data-v-c3447434]{margin-left:4px;font-size:.7em;opacity:.7}.actions[data-v-c3447434]{position:absolute;top:0;bottom:0;right:4px;display:flex;padding:4px;z-index:1}.editname[data-v-c3447434]{margin:0}.save button{transition-duration:0s}.save .actions button{display:flex;font-size:1.2em}.save .actions button .material-icons{font-size:unset}.save .button.danger{display:flex;align-items:center;padding:4px}.save .field,.field form[data-v-5b5b1604],.field .field-title[data-v-5b5b1604],.field .field-buttons[data-v-5b5b1604]{margin:0}.field-buttons[data-v-5b5b1604]{display:flex}.field-buttons .field[data-v-5b5b1604]{margin:0 0 0 8px}.modal-footer[data-v-5b5b1604]{margin-top:-20px}.footer[data-v-5b5b1604]{display:flex;margin-top:20px}.importingFailed input{color:red}.field-buttons .v-select{width:220px}.presets .vue-select[aria-expanded=true] vue-dropdown{visibility:hidden}.nav[data-v-d43b25a6]{background-color:var(--raised-background);display:flex;left:0;right:0;top:0;height:46px;width:100%;border-bottom:4px solid var(--outline)}.nav>*[data-v-d43b25a6]{height:46px;width:46px;display:flex;cursor:pointer;flex-shrink:0}.nav>.banner[data-v-d43b25a6]{height:100%;width:unset}.overlay-nav[data-v-d43b25a6]{position:fixed;top:10px;left:10px;display:flex;flex-direction:column;z-index:2}.overlay-nav>*[data-v-d43b25a6]{height:50px;width:50px;display:flex;cursor:pointer;margin:0;align-items:center;justify-content:center}.title[data-v-d43b25a6]{font-size:36px;text-align:left;margin-left:12px;cursor:unset}.nav>.title[data-v-d43b25a6]{width:unset;flex-shrink:1;overflow:hidden;white-space:nowrap}.nav .saves[data-v-d43b25a6],.nav .info[data-v-d43b25a6]{display:flex}.tooltip-container[data-v-d43b25a6]{width:100%;height:100%;display:flex}.overlay-nav .discord[data-v-d43b25a6]{position:relative}.discord img[data-v-d43b25a6]{width:100%;height:100%}.discord-links[data-v-d43b25a6]{position:fixed;top:45px;padding:20px;right:-280px;width:200px;transition:right .25s ease;background:var(--raised-background);z-index:10}.overlay-nav .discord-links[data-v-d43b25a6]{position:absolute;left:-280px;right:unset;transition:left .25s ease}.overlay-nav .discord:hover .discord-links[data-v-d43b25a6]{left:-10px}.discord-links li[data-v-d43b25a6]{margin-bottom:4px}.discord-links li[data-v-d43b25a6]:first-child{font-size:1.2em}*:not(.overlay-nav) .discord:hover .discord-links[data-v-d43b25a6]{right:0}.material-icons[data-v-d43b25a6]{font-size:36px}.material-icons[data-v-d43b25a6]:hover{text-shadow:5px 0 10px var(--link),-3px 0 12px var(--foreground)}.nav .version-container[data-v-d43b25a6]{display:flex;height:25px;margin-bottom:0;margin-left:10px}.overlay-nav .version-container[data-v-d43b25a6]{width:unset;height:25px}.version[data-v-d43b25a6]{color:var(--points)}.version:hover span[data-v-d43b25a6]{text-shadow:5px 0 10px var(--points),-3px 0 12px var(--points)}.nav>div>a[data-v-d43b25a6],.overlay-nav>div>a[data-v-d43b25a6]{color:var(--foreground);text-shadow:none}.tabs-container[data-v-3e0f1aab]{width:100vw;flex-grow:1;overflow-x:auto;overflow-y:hidden;display:flex}.tabs-container[data-v-3e0f1aab]:not(.useHeader){width:calc(100vw - 50px);margin-left:50px}.tab[data-v-3e0f1aab]{position:relative;height:100%;flex-grow:1;transition-duration:0s;overflow-y:auto;overflow-x:hidden}.inner-tab[data-v-3e0f1aab]{padding:50px 10px;min-height:calc(100% - 100px);display:flex;flex-direction:column;margin:0;flex-grow:1}.tab+.tab>.inner-tab[data-v-3e0f1aab]{border-left:solid 4px var(--outline)}.tab hr{height:4px;border:none;background:var(--outline);margin:var(--feature-margin) 0}.tab .modal-body hr{margin:7px 0}.field[data-v-11046116]{cursor:pointer}input[data-v-11046116]{appearance:none;pointer-events:none}span[data-v-11046116]{width:100%;padding-right:41px;position:relative}input+span[data-v-11046116]:before{content:"";position:absolute;top:calc(50% - 7px);right:0px;border-radius:7px;width:36px;height:14px;background-color:var(--outline);opacity:.38;vertical-align:top;transition:background-color .2s,opacity .2s}input+span[data-v-11046116]:after{content:"";position:absolute;top:calc(50% - 10px);right:16px;border-radius:50%;width:20px;height:20px;background-color:var(--locked);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;transition:background-color .2s,transform .2s}input:checked+span[data-v-11046116]:before{background-color:var(--link);opacity:.6}input:checked+span[data-v-11046116]:after{background-color:var(--link);transform:translate(16px)}input:active+span[data-v-11046116]:before{background-color:var(--link);opacity:.6}input:checked:active+span[data-v-11046116]:before{background-color:var(--outline);opacity:.38}input:disabled+span[data-v-11046116]{color:#000;opacity:.38;cursor:default}input:disabled+span[data-v-11046116]:before{background-color:var(--outline);opacity:.38}input:checked:disabled+span[data-v-11046116]:before{background-color:var(--link);opacity:.6}.game-over-modal-header[data-v-4a50ce42]{display:flex;margin:-20px -20px 0;background:var(--raised-background);align-items:center}.game-over-modal-header *[data-v-4a50ce42]{margin:0}.game-over-modal-logo[data-v-4a50ce42]{height:4em;width:4em}.game-over-modal-title[data-v-4a50ce42]{display:flex;flex-direction:column;padding:10px 0;margin-left:10px}.game-over-footer[data-v-4a50ce42]{display:flex;justify-content:flex-end}.game-over-footer button[data-v-4a50ce42]{margin:0 10px}.game-over-modal-discord-link[data-v-4a50ce42]{display:flex;align-items:center}.game-over-modal-discord[data-v-4a50ce42]{margin:0 4px 0 0}.nan-modal-header[data-v-336bf74f]{padding:10px 0;margin-left:10px}.nan-footer[data-v-336bf74f]{display:flex;justify-content:flex-end}.nan-footer button[data-v-336bf74f]{margin:0 10px}.nan-modal-discord-link[data-v-336bf74f]{display:flex;align-items:center}.nan-modal-discord[data-v-336bf74f]{margin:0 4px 0 0}:root{color-scheme:dark}*{transition-duration:.5s;font-family:DogicaPixelBold,Roboto Mono,monospace;font-weight:400;margin:auto;text-size-adjust:none;line-height:1.25}*:focus{outline:none}body{overflow:hidden;transition:none;text-align:center}html,body,#app{min-height:100%;height:100%}h1,h2,h3,b,input{display:inline}button{color:#000}a,.button,.link{display:block;color:var(--link);background:none;border:none;cursor:pointer;text-decoration:none}a:hover,.button:hover,.link:hover{text-shadow:5px 0 10px var(--link),-3px 0 12px var(--link)}.button:disabled{opacity:.5;cursor:not-allowed}.button:disabled:hover{text-shadow:none}ul{list-style-type:none}.Vue-Toastification__toast{margin:unset}.app[data-v-2d9bd813]{background-color:var(--background);color:var(--foreground);display:flex;flex-flow:column;min-height:100%;height:100%}#modal-root[data-v-2d9bd813]{position:absolute;min-height:100%;height:100%;color:var(--foreground)}.tutorial img{height:1em;padding-right:.5em} diff --git a/assets/index.067ae3b7.js b/assets/index.067ae3b7.js new file mode 100644 index 0000000..25ad38a --- /dev/null +++ b/assets/index.067ae3b7.js @@ -0,0 +1,15 @@ +/* empty css */import"./vue.f6263579.js";import{Z as V,C as l,q as vt,u as Gt,j as xa,l as ce,bv as Ot,t as Q,a8 as A,aa as x,ay as _t,ar as Me,aE as f,a0 as B,aK as Ce,a1 as d,O as Y,aG as bt,A as Ne,_ as F,b6 as M,b8 as Lt,bs as Ja,aq as nt,bu as ut,bb as ca,T as Ga,a7 as h,b1 as Be,G as H,w as be,b2 as Tt,aN as re,I as Ee,$ as T,aL as Rt,aJ as da,J as q,aH as De,aF as Ue,z as Pe,bo as La,au as Xa,al as Zt,aC as Wa,bc as yt,ao as Ya,bn as Ka,be as ja}from"./@vue.4ce677c2.js";import{c as ga}from"./nanoevents.1080beb7.js";import{L as ke}from"./lz-string.f2f3b7cf.js";import{s as Ha,u as ma}from"./vue-toastification.b7cd620e.js";import{p as Za}from"./vue-textarea-autosize.35804eaf.js";import{s as $a}from"./semver.83ff78cf.js";import{l as en}from"./socket.io-client.79ce0df5.js";import{A as fa,T as tn,R as an,B as nn,u as rn,E as $t}from"./@pixi.1eac1889.js";import{D as sn}from"./vuedraggable.c3acdf62.js";import{Y as An}from"./vue-next-select.0dc4e443.js";import{v as on,n as ln}from"./workbox-window.8d14e8b7.js";import"./earcut.b6f90e68.js";import"./lru-cache.9a21e90b.js";import"./yallist.fd762fe7.js";import"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import"./@socket.io.aec831e2.js";import"./socket.io-parser.544e37d1.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.js";import"./sortablejs.cbae5b2d.js";const un=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function a(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerpolicy&&(s.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?s.credentials="include":r.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(r){if(r.ep)return;r.ep=!0;const s=a(r);fetch(r.href,s)}};un();const cn="modulepreload",ea={},dn="./",Nt=function(t,a){return!a||a.length===0?t():Promise.all(a.map(n=>{if(n=`${dn}${n}`,n in ea)return;ea[n]=!0;const r=n.endsWith(".css"),s=r?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${n}"]${s}`))return;const i=document.createElement("link");if(i.rel=r?"stylesheet":cn,r||(i.as="script",i.crossOrigin=""),i.href=n,document.head.appendChild(i),r)return new Promise((o,c)=>{i.addEventListener("load",o),i.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>t())},gn="./projInfo-schema.json",mn="Super Auto Coots",fn="A project made in Profectus",vn="superautocoots",hn="thepaperpilot and crea",pn="",bn="",yn="0.0.0",Cn="Initial Commit",Bn=!1,En=!1,Nn=2,Qn=!0,In=null,wn="",Sn=["main"],_n=3600,Tn=1,kn=!0,Mn="base64";var J={$schema:gn,title:mn,description:fn,id:vn,author:hn,discordName:pn,discordLink:bn,versionNumber:yn,versionTitle:Cn,allowGoBack:Bn,defaultShowSmall:En,defaultDecimalsShown:Nn,useHeader:Qn,banner:In,logo:wn,initialTabs:Sn,maxTickLength:_n,offlineLimit:Tn,enablePausing:kn,exportEncoding:Mn};class Pn{constructor(t){this.map=new Map,this.first=void 0,this.last=void 0,this.maxSize=t}get size(){return this.map.size}get(t){const a=this.map.get(t);if(a!==void 0)return a!==this.first&&(a===this.last?(this.last=a.prev,this.last.next=void 0):(a.prev.next=a.next,a.next.prev=a.prev),a.next=this.first,this.first.prev=a,this.first=a),a.value}set(t,a){if(this.maxSize<1)return;if(this.map.has(t))throw new Error("Cannot update existing keys in the cache");const n=new Dn(t,a);for(this.first===void 0?(this.first=n,this.last=n):(n.next=this.first,this.first.prev=n,this.first=n),this.map.set(t,n);this.map.size>this.maxSize;){const r=this.last;this.map.delete(r.key),this.last=r.prev,this.last.next=void 0}}}class Dn{constructor(t,a){this.next=void 0,this.prev=void 0,this.key=t,this.value=a}}const Ut=17,Un=9e15,Vn=Math.log10(9e15),On=1/9e15,Rn=308,qn=-324,ta=5,Fn=(1<<10)-1,zn=function(){const e=[];for(let a=qn+1;a<=Rn;a++)e.push(Number("1e"+a));const t=323;return function(a){return e[a+t]}}(),Re=[2,Math.E,3,4,5,6,7,8,9,10],xn=[[1,1.0891180521811203,1.1789767925673957,1.2701455431742086,1.3632090180450092,1.4587818160364217,1.5575237916251419,1.6601571006859253,1.767485818836978,1.8804192098842727,2],[1,1.1121114330934079,1.231038924931609,1.3583836963111375,1.4960519303993531,1.6463542337511945,1.8121385357018724,1.996971324618307,2.2053895545527546,2.4432574483385254,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.5979222279405536,1.8842640123816674,2.2416069644878687,2.69893426559423,3.3012632110403577,4.121250340630164,5.281493033448316,7],[1,1.1736630594087796,1.379783782386201,1.6292821855668218,1.9378971836180754,2.3289975651071977,2.8384347394720835,3.5232708454565906,4.478242031114584,5.868592169644505,8],[1,1.1793017514670474,1.394054150657457,1.65664127441059,1.985170999970283,2.4069682290577457,2.9647310119960752,3.7278665320924946,4.814462547283592,6.436522247411611,9],[1,1.1840100246247336,1.4061375836156955,1.6802272208863964,2.026757028388619,2.4770056063449646,3.080525271755482,3.9191964192627284,5.135152840833187,6.989961179534715,10]],Jn=[[-1,-.9194161097107025,-.8335625019330468,-.7425599821143978,-.6466611521029437,-.5462617907227869,-.4419033816638769,-.3342645487554494,-.224140440909962,-.11241087890006762,0],[-1,-.90603157029014,-.80786507256596,-.7064666939634,-.60294836853664,-.49849837513117,-.39430303318768,-.29147201034755,-.19097820800866,-.09361896280296,0],[-1,-.9021579584316141,-.8005762598234203,-.6964780623319391,-.5911906810998454,-.486050182576545,-.3823089430815083,-.28106046722897615,-.1831906535795894,-.08935809204418144,0],[-1,-.8917227442365535,-.781258746326964,-.6705130326902455,-.5612813129406509,-.4551067709033134,-.35319256652135966,-.2563741554088552,-.1651412821106526,-.0796919581982668,0],[-1,-.8843387974366064,-.7678744063886243,-.6529563724510552,-.5415870994657841,-.4352842206588936,-.33504449124791424,-.24138853420685147,-.15445285440944467,-.07409659641336663,0],[-1,-.8786709358426346,-.7577735191184886,-.6399546189952064,-.527284921869926,-.4211627631006314,-.3223479611761232,-.23107655627789858,-.1472057700818259,-.07035171210706326,0],[-1,-.8740862815291583,-.7497032990976209,-.6297119746181752,-.5161838335958787,-.41036238255751956,-.31277212146489963,-.2233976621705518,-.1418697367979619,-.06762117662323441,0],[-1,-.8702632331800649,-.7430366914122081,-.6213373075161548,-.5072025698095242,-.40171437727184167,-.30517930701410456,-.21736343968190863,-.137710238299109,-.06550774483471955,0],[-1,-.8670016295947213,-.7373984232432306,-.6143173985094293,-.49973884395492807,-.394584953527678,-.2989649949848695,-.21245647317021688,-.13434688362382652,-.0638072667348083,0],[-1,-.8641642839543857,-.732534623168535,-.6083127477059322,-.4934049257184696,-.3885773075899922,-.29376029055315767,-.2083678561173622,-.13155653399373268,-.062401588652553186,0]];let g=function(t){return N.fromValue_noAlloc(t)},k=function(e,t,a){return N.fromComponents(e,t,a)},D=function(t,a,n){return N.fromComponents_noNormalize(t,a,n)};const we=function(t,a){const n=a+1,r=Math.ceil(Math.log10(Math.abs(t))),s=Math.round(t*Math.pow(10,n-r))*Math.pow(10,r-n);return parseFloat(s.toFixed(Math.max(n-r,0)))},Vt=function(e){return Math.sign(e)*Math.log10(Math.abs(e))},Gn=function(e){if(!isFinite(e))return e;if(e<-50)return e===Math.trunc(e)?Number.NEGATIVE_INFINITY:0;let t=1;for(;e<10;)t=t*e,++e;e-=1;let a=.9189385332046727;a=a+(e+.5)*Math.log(e),a=a-e;const n=e*e;let r=e;return a=a+1/(12*r),r=r*n,a=a+1/(360*r),r=r*n,a=a+1/(1260*r),r=r*n,a=a+1/(1680*r),r=r*n,a=a+1/(1188*r),r=r*n,a=a+691/(360360*r),r=r*n,a=a+7/(1092*r),r=r*n,a=a+3617/(122400*r),Math.exp(a)/t},va=.5671432904097838,aa=function(e,t=1e-10){let a,n;if(!Number.isFinite(e)||e===0)return e;if(e===1)return va;e<10?a=0:a=Math.log(e)-Math.log(Math.log(e));for(let r=0;r<100;++r){if(n=(e*Math.exp(-a)+a*a)/(a+1),Math.abs(n-a).5?1:-1;if(Math.random()*20<1)return D(t,0,1);const a=Math.floor(Math.random()*(e+1));let n=a===0?Math.random()*616-308:Math.random()*16;Math.random()>.9&&(n=Math.trunc(n));let r=Math.pow(10,n);return Math.random()>.9&&(r=Math.trunc(r)),k(t,a,r)}static affordGeometricSeries_core(e,t,a,n){const r=t.mul(a.pow(n));return u.floor(e.div(r).mul(a.sub(1)).add(1).log10().div(a.log10()))}static sumGeometricSeries_core(e,t,a,n){return t.mul(a.pow(n)).mul(u.sub(1,a.pow(e))).div(u.sub(1,a))}static affordArithmeticSeries_core(e,t,a,n){const s=t.add(n.mul(a)).sub(a.div(2)),i=s.pow(2);return s.neg().add(i.add(a.mul(e).mul(2)).sqrt()).div(a).floor()}static sumArithmeticSeries_core(e,t,a,n){const r=t.add(n.mul(a));return e.div(2).mul(r.mul(2).plus(e.sub(1).mul(a)))}static efficiencyOfPurchase_core(e,t,a){return e.div(t).add(e.div(a))}normalize(){if(this.sign===0||this.mag===0&&this.layer===0)return this.sign=0,this.mag=0,this.layer=0,this;if(this.layer===0&&this.mag<0&&(this.mag=-this.mag,this.sign=-this.sign),this.layer===0&&this.mag=Un)return this.layer+=1,this.mag=t*Math.log10(e),this;for(;e0;)this.layer-=1,this.layer===0?this.mag=Math.pow(10,this.mag):(this.mag=t*Math.pow(10,e),e=Math.abs(this.mag),t=Math.sign(this.mag));return this.layer===0&&(this.mag<0?(this.mag=-this.mag,this.sign=-this.sign):this.mag===0&&(this.sign=0)),this}fromComponents(e,t,a){return this.sign=e,this.layer=t,this.mag=a,this.normalize(),this}fromComponents_noNormalize(e,t,a){return this.sign=e,this.layer=t,this.mag=a,this}fromMantissaExponent(e,t){return this.layer=1,this.sign=Math.sign(e),e=Math.abs(e),this.mag=t+Math.log10(e),this.normalize(),this}fromMantissaExponent_noNormalize(e,t){return this.fromMantissaExponent(e,t),this}fromDecimal(e){return this.sign=e.sign,this.layer=e.layer,this.mag=e.mag,this}fromNumber(e){return this.mag=Math.abs(e),this.sign=Math.sign(e),this.layer=0,this.normalize(),this}fromString(e){const t=e,a=u.fromStringCache.get(t);if(a!==void 0)return this.fromDecimal(a);e=e.replace(",","");const n=e.split("^^^");if(n.length===2){const I=parseFloat(n[0]),S=parseFloat(n[1]),_=n[1].split(";");let $=1;if(_.length===2&&($=parseFloat(_[1]),isFinite($)||($=1)),isFinite(I)&&isFinite(S)){const E=u.pentate(I,S,$);return this.sign=E.sign,this.layer=E.layer,this.mag=E.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}const r=e.split("^^");if(r.length===2){const I=parseFloat(r[0]),S=parseFloat(r[1]),_=r[1].split(";");let $=1;if(_.length===2&&($=parseFloat(_[1]),isFinite($)||($=1)),isFinite(I)&&isFinite(S)){const E=u.tetrate(I,S,$);return this.sign=E.sign,this.layer=E.layer,this.mag=E.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}const s=e.split("^");if(s.length===2){const I=parseFloat(s[0]),S=parseFloat(s[1]);if(isFinite(I)&&isFinite(S)){const _=u.pow(I,S);return this.sign=_.sign,this.layer=_.layer,this.mag=_.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}e=e.trim().toLowerCase();let i,o,c=e.split("pt");if(c.length===2){i=10,o=parseFloat(c[0]),c[1]=c[1].replace("(",""),c[1]=c[1].replace(")","");let I=parseFloat(c[1]);if(isFinite(I)||(I=1),isFinite(i)&&isFinite(o)){const S=u.tetrate(i,o,I);return this.sign=S.sign,this.layer=S.layer,this.mag=S.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}if(c=e.split("p"),c.length===2){i=10,o=parseFloat(c[0]),c[1]=c[1].replace("(",""),c[1]=c[1].replace(")","");let I=parseFloat(c[1]);if(isFinite(I)||(I=1),isFinite(i)&&isFinite(o)){const S=u.tetrate(i,o,I);return this.sign=S.sign,this.layer=S.layer,this.mag=S.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}const m=e.split("e"),b=m.length-1;if(b===0){const I=parseFloat(e);if(isFinite(I))return this.fromNumber(I),u.fromStringCache.size>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}else if(b===1){const I=parseFloat(e);if(isFinite(I)&&I!==0)return this.fromNumber(I),u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}const p=e.split("e^");if(p.length===2){this.sign=1,p[0].charAt(0)=="-"&&(this.sign=-1);let I="";for(let S=0;S=43&&_<=57||_===101)I+=p[1].charAt(S);else return this.layer=parseFloat(I),this.mag=parseFloat(p[1].substr(S+1)),this.normalize(),u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}if(b<1)return this.sign=0,this.layer=0,this.mag=0,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this;const y=parseFloat(m[0]);if(y===0)return this.sign=0,this.layer=0,this.mag=0,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this;let C=parseFloat(m[m.length-1]);if(b>=2){const I=parseFloat(m[m.length-2]);isFinite(I)&&(C*=Math.sign(I),C+=Vt(I))}if(!isFinite(y))this.sign=m[0]==="-"?-1:1,this.layer=b,this.mag=C;else if(b===1)this.sign=Math.sign(y),this.layer=1,this.mag=C+Math.log10(Math.abs(y));else if(this.sign=Math.sign(y),this.layer=b,b===2){const I=u.mul(k(1,2,C),g(y));return this.sign=I.sign,this.layer=I.layer,this.mag=I.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}else this.mag=C;return this.normalize(),u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}fromValue(e){return e instanceof u?this.fromDecimal(e):typeof e=="number"?this.fromNumber(e):typeof e=="string"?this.fromString(e):(this.sign=0,this.layer=0,this.mag=0,this)}toNumber(){return Number.isFinite(this.layer)?this.layer===0?this.sign*this.mag:this.layer===1?this.sign*Math.pow(10,this.mag):this.mag>0?this.sign>0?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:0:Number.NaN}mantissaWithDecimalPlaces(e){return isNaN(this.m)?Number.NaN:this.m===0?0:we(this.m,e)}magnitudeWithDecimalPlaces(e){return isNaN(this.mag)?Number.NaN:this.mag===0?0:we(this.mag,e)}toString(){return isNaN(this.layer)||isNaN(this.sign)||isNaN(this.mag)?"NaN":this.mag===Number.POSITIVE_INFINITY||this.layer===Number.POSITIVE_INFINITY?this.sign===1?"Infinity":"-Infinity":this.layer===0?this.mag<1e21&&this.mag>1e-7||this.mag===0?(this.sign*this.mag).toString():this.m+"e"+this.e:this.layer===1?this.m+"e"+this.e:this.layer<=ta?(this.sign===-1?"-":"")+"e".repeat(this.layer)+this.mag:(this.sign===-1?"-":"")+"(e^"+this.layer+")"+this.mag}toExponential(e){return this.layer===0?(this.sign*this.mag).toExponential(e):this.toStringWithDecimalPlaces(e)}toFixed(e){return this.layer===0?(this.sign*this.mag).toFixed(e):this.toStringWithDecimalPlaces(e)}toPrecision(e){return this.e<=-7?this.toExponential(e-1):e>this.e?this.toFixed(e-this.exponent-1):this.toExponential(e-1)}valueOf(){return this.toString()}toJSON(){return this.toString()}toStringWithDecimalPlaces(e){return this.layer===0?this.mag<1e21&&this.mag>1e-7||this.mag===0?(this.sign*this.mag).toFixed(e):we(this.m,e)+"e"+we(this.e,e):this.layer===1?we(this.m,e)+"e"+we(this.e,e):this.layer<=ta?(this.sign===-1?"-":"")+"e".repeat(this.layer)+we(this.mag,e):(this.sign===-1?"-":"")+"(e^"+this.layer+")"+we(this.mag,e)}abs(){return D(this.sign===0?0:1,this.layer,this.mag)}neg(){return D(-this.sign,this.layer,this.mag)}negate(){return this.neg()}negated(){return this.neg()}sgn(){return this.sign}round(){return this.mag<0?u.dZero:this.layer===0?k(this.sign,0,Math.round(this.mag)):this}floor(){return this.mag<0?u.dZero:this.layer===0?k(this.sign,0,Math.floor(this.mag)):this}ceil(){return this.mag<0?u.dZero:this.layer===0?k(this.sign,0,Math.ceil(this.mag)):this}trunc(){return this.mag<0?u.dZero:this.layer===0?k(this.sign,0,Math.trunc(this.mag)):this}add(e){const t=g(e);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(t.layer)||this.sign===0)return t;if(t.sign===0)return this;if(this.sign===-t.sign&&this.layer===t.layer&&this.mag===t.mag)return D(0,0,0);let a,n;if(this.layer>=2||t.layer>=2)return this.maxabs(t);if(u.cmpabs(this,t)>0?(a=this,n=t):(a=t,n=this),a.layer===0&&n.layer===0)return u.fromNumber(a.sign*a.mag+n.sign*n.mag);const r=a.layer*Math.sign(a.mag),s=n.layer*Math.sign(n.mag);if(r-s>=2)return a;if(r===0&&s===-1){if(Math.abs(n.mag-Math.log10(a.mag))>Ut)return a;{const i=Math.pow(10,Math.log10(a.mag)-n.mag),o=n.sign+a.sign*i;return k(Math.sign(o),1,n.mag+Math.log10(Math.abs(o)))}}if(r===1&&s===0){if(Math.abs(a.mag-Math.log10(n.mag))>Ut)return a;{const i=Math.pow(10,a.mag-Math.log10(n.mag)),o=n.sign+a.sign*i;return k(Math.sign(o),1,Math.log10(n.mag)+Math.log10(Math.abs(o)))}}if(Math.abs(a.mag-n.mag)>Ut)return a;{const i=Math.pow(10,a.mag-n.mag),o=n.sign+a.sign*i;return k(Math.sign(o),1,n.mag+Math.log10(Math.abs(o)))}}plus(e){return this.add(e)}sub(e){return this.add(g(e).neg())}subtract(e){return this.sub(e)}minus(e){return this.sub(e)}mul(e){const t=g(e);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(t.layer))return t;if(this.sign===0||t.sign===0)return D(0,0,0);if(this.layer===t.layer&&this.mag===-t.mag)return D(this.sign*t.sign,0,1);let a,n;if(this.layer>t.layer||this.layer==t.layer&&Math.abs(this.mag)>Math.abs(t.mag)?(a=this,n=t):(a=t,n=this),a.layer===0&&n.layer===0)return u.fromNumber(a.sign*n.sign*a.mag*n.mag);if(a.layer>=3||a.layer-n.layer>=2)return k(a.sign*n.sign,a.layer,a.mag);if(a.layer===1&&n.layer===0)return k(a.sign*n.sign,1,a.mag+Math.log10(n.mag));if(a.layer===1&&n.layer===1)return k(a.sign*n.sign,1,a.mag+n.mag);if(a.layer===2&&n.layer===1){const r=k(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)).add(k(Math.sign(n.mag),n.layer-1,Math.abs(n.mag)));return k(a.sign*n.sign,r.layer+1,r.sign*r.mag)}if(a.layer===2&&n.layer===2){const r=k(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)).add(k(Math.sign(n.mag),n.layer-1,Math.abs(n.mag)));return k(a.sign*n.sign,r.layer+1,r.sign*r.mag)}throw Error("Bad arguments to mul: "+this+", "+e)}multiply(e){return this.mul(e)}times(e){return this.mul(e)}div(e){const t=g(e);return this.mul(t.recip())}divide(e){return this.div(e)}divideBy(e){return this.div(e)}dividedBy(e){return this.div(e)}recip(){return this.mag===0?u.dNaN:this.layer===0?k(this.sign,0,1/this.mag):k(this.sign,this.layer,-this.mag)}reciprocal(){return this.recip()}reciprocate(){return this.recip()}cmp(e){const t=g(e);return this.sign>t.sign?1:this.sign0?this.layer:-this.layer,n=t.mag>0?t.layer:-t.layer;return a>n?1:at.mag?1:this.mag0?t:this}clamp(e,t){return this.max(e).min(t)}clampMin(e){return this.max(e)}clampMax(e){return this.min(e)}cmp_tolerance(e,t){const a=g(e);return this.eq_tolerance(a,t)?0:this.cmp(a)}compare_tolerance(e,t){return this.cmp_tolerance(e,t)}eq_tolerance(e,t){const a=g(e);if(t==null&&(t=1e-7),this.sign!==a.sign||Math.abs(this.layer-a.layer)>1)return!1;let n=this.mag,r=a.mag;return this.layer>a.layer&&(r=Vt(r)),this.layer0?k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):k(1,0,Math.log10(this.mag))}log10(){return this.sign<=0?u.dNaN:this.layer>0?k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):k(this.sign,0,Math.log10(this.mag))}log(e){return e=g(e),this.sign<=0||e.sign<=0||e.sign===1&&e.layer===0&&e.mag===1?u.dNaN:this.layer===0&&e.layer===0?k(this.sign,0,Math.log(this.mag)/Math.log(e.mag)):u.div(this.log10(),e.log10())}log2(){return this.sign<=0?u.dNaN:this.layer===0?k(this.sign,0,Math.log2(this.mag)):this.layer===1?k(Math.sign(this.mag),0,Math.abs(this.mag)*3.321928094887362):this.layer===2?k(Math.sign(this.mag),1,Math.abs(this.mag)+.5213902276543247):k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}ln(){return this.sign<=0?u.dNaN:this.layer===0?k(this.sign,0,Math.log(this.mag)):this.layer===1?k(Math.sign(this.mag),0,Math.abs(this.mag)*2.302585092994046):this.layer===2?k(Math.sign(this.mag),1,Math.abs(this.mag)+.36221568869946325):k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}logarithm(e){return this.log(e)}pow(e){const t=g(e),a=this,n=t;if(a.sign===0)return n.eq(0)?D(1,0,1):a;if(a.sign===1&&a.layer===0&&a.mag===1)return a;if(n.sign===0)return D(1,0,1);if(n.sign===1&&n.layer===0&&n.mag===1)return a;const r=a.absLog10().mul(n).pow10();return this.sign===-1?Math.abs(n.toNumber()%2)%2===1?r.neg():Math.abs(n.toNumber()%2)%2===0?r:u.dNaN:r}pow10(){if(!Number.isFinite(this.layer)||!Number.isFinite(this.mag))return u.dNaN;let e=this;if(e.layer===0){const t=Math.pow(10,e.sign*e.mag);if(Number.isFinite(t)&&Math.abs(t)>=.1)return k(1,0,t);if(e.sign===0)return u.dOne;e=D(e.sign,e.layer+1,Math.log10(e.mag))}return e.sign>0&&e.mag>=0?k(e.sign,e.layer+1,e.mag):e.sign<0&&e.mag>=0?k(-e.sign,e.layer+1,-e.mag):u.dOne}pow_base(e){return g(e).pow(this)}root(e){const t=g(e);return this.pow(t.recip())}factorial(){return this.mag<0?this.add(1).gamma():this.layer===0?this.add(1).gamma():this.layer===1?u.exp(u.mul(this,u.ln(this).sub(1))):u.exp(this)}gamma(){if(this.mag<0)return this.recip();if(this.layer===0){if(this.lt(D(1,0,24)))return u.fromNumber(Gn(this.sign*this.mag));const e=this.mag-1;let t=.9189385332046727;t=t+(e+.5)*Math.log(e),t=t-e;const a=e*e;let n=e,r=12*n,s=1/r,i=t+s;if(i===t||(t=i,n=n*a,r=360*n,s=1/r,i=t-s,i===t))return u.exp(t);t=i,n=n*a,r=1260*n;let o=1/r;return t=t+o,n=n*a,r=1680*n,o=1/r,t=t-o,u.exp(t)}else return this.layer===1?u.exp(u.mul(this,u.ln(this).sub(1))):u.exp(this)}lngamma(){return this.gamma().ln()}exp(){return this.mag<0?u.dOne:this.layer===0&&this.mag<=709.7?u.fromNumber(Math.exp(this.sign*this.mag)):this.layer===0?k(1,1,this.sign*Math.log10(Math.E)*this.mag):this.layer===1?k(1,2,this.sign*(Math.log10(.4342944819032518)+this.mag)):k(1,this.layer+1,this.sign*this.mag)}sqr(){return this.pow(2)}sqrt(){if(this.layer===0)return u.fromNumber(Math.sqrt(this.sign*this.mag));if(this.layer===1)return k(1,2,Math.log10(this.mag)-.3010299956639812);{const e=u.div(D(this.sign,this.layer-1,this.mag),D(1,0,2));return e.layer+=1,e.normalize(),e}}cube(){return this.pow(3)}cbrt(){return this.pow(1/3)}tetrate(e=2,t=D(1,0,1)){if(e===1)return u.pow(this,t);if(e===0)return new u(t);if(this.eq(u.dOne))return u.dOne;if(this.eq(-1))return u.pow(this,t);if(e===Number.POSITIVE_INFINITY){const r=this.toNumber();if(r<=1.444667861009766&&r>=.06598803584531254){if(r>1.444667861009099)return u.fromNumber(Math.E);const s=u.ln(this).neg();return s.lambertw().div(s)}else return r>1.444667861009766?u.fromNumber(Number.POSITIVE_INFINITY):u.dNaN}if(this.eq(u.dZero)){let r=Math.abs((e+1)%2);return r>1&&(r=2-r),u.fromNumber(r)}if(e<0)return u.iteratedlog(t,this,-e);t=g(t);const a=e;e=Math.trunc(e);const n=a-e;if(this.gt(u.dZero)&&this.lte(1.444667861009766)){e=Math.min(1e4,e);for(let r=0;r3)return D(t.sign,t.layer+(e-r-1),t.mag);if(r>1e4)return t}return t}iteratedexp(e=2,t=D(1,0,1)){return this.tetrate(e,t)}iteratedlog(e=10,t=1){if(t<0)return u.tetrate(e,-t,this);e=g(e);let a=u.fromDecimal(this);const n=t;t=Math.trunc(t);const r=n-t;if(a.layer-e.layer>3){const s=Math.min(t,a.layer-e.layer-3);t-=s,a.layer-=s}for(let s=0;s1e4)return a}return r>0&&r<1&&(e.eq(10)?a=a.layeradd10(-r):a=a.layeradd(-r,e)),a}slog(e=10,t=100){let a=.001,n=!1,r=!1,s=this.slog_internal(e).toNumber();for(let i=1;i1&&r!=c&&(n=!0),r=c,n?a/=2:a*=2,a=Math.abs(a)*(c?-1:1),s+=a,a===0)break}return u.fromNumber(s)}slog_internal(e=10){if(e=g(e),e.lte(u.dZero)||e.eq(u.dOne))return u.dNaN;if(e.lt(u.dOne))return this.eq(u.dOne)?u.dZero:this.eq(u.dZero)?u.dNegOne:u.dNaN;if(this.mag<0||this.eq(u.dZero))return u.dNegOne;let t=0,a=u.fromDecimal(this);if(a.layer-e.layer>3){const n=a.layer-e.layer-3;t+=n,a.layer-=n}for(let n=0;n<100;++n)if(a.lt(u.dZero))a=u.pow(e,a),t-=1;else{if(a.lte(u.dOne))return u.fromNumber(t+u.slog_critical(e.toNumber(),a.toNumber()));t+=1,a=u.log(a,e)}return u.fromNumber(t)}static slog_critical(e,t){return e>10?t-1:u.critical_section(e,t,Jn)}static tetrate_critical(e,t){return u.critical_section(e,t,xn)}static critical_section(e,t,a){t*=10,t<0&&(t=0),t>10&&(t=10),e<2&&(e=2),e>10&&(e=10);let n=0,r=0;for(let i=0;ie){const o=(e-Re[i])/(Re[i+1]-Re[i]);n=a[i][Math.floor(t)]*(1-o)+a[i+1][Math.floor(t)]*o,r=a[i][Math.ceil(t)]*(1-o)+a[i+1][Math.ceil(t)]*o;break}const s=t-Math.floor(t);return n<=0||r<=0?n*(1-s)+r*s:Math.pow(e,Math.log(n)/Math.log(e)*(1-s)+Math.log(r)/Math.log(e)*s)}layeradd10(e){e=u.fromValue_noAlloc(e).toNumber();const t=u.fromDecimal(this);if(e>=1){t.mag<0&&t.layer>0?(t.sign=0,t.mag=0,t.layer=0):t.sign===-1&&t.layer==0&&(t.sign=1,t.mag=-t.mag);const a=Math.trunc(e);e-=a,t.layer+=a}if(e<=-1){const a=Math.trunc(e);if(e-=a,t.layer+=a,t.layer<0)for(let n=0;n<100;++n){if(t.layer++,t.mag=Math.log10(t.mag),!isFinite(t.mag))return t.sign===0&&(t.sign=1),t.layer<0&&(t.layer=0),t.normalize();if(t.layer>=0)break}}for(;t.layer<0;)t.layer++,t.mag=Math.log10(t.mag);return t.sign===0&&(t.sign=1,t.mag===0&&t.layer>=1&&(t.layer-=1,t.mag=1)),t.normalize(),e!==0?t.layeradd(e,10):t}layeradd(e,t){const n=this.slog(t).toNumber()+e;return n>=0?u.tetrate(t,n):Number.isFinite(n)?n>=-1?u.log(u.tetrate(t,n+1),t):u.log(u.log(u.tetrate(t,n+2),t),t):u.dNaN}lambertw(){if(this.lt(-.3678794411710499))throw Error("lambertw is unimplemented for results less than -1, sorry!");if(this.mag<0)return u.fromNumber(aa(this.toNumber()));if(this.layer===0)return u.fromNumber(aa(this.sign*this.mag));if(this.layer===1)return na(this);if(this.layer===2)return na(this);if(this.layer>=3)return D(this.sign,this.layer-1,this.mag);throw"Unhandled behavior in lambertw()"}ssqrt(){if(this.sign==1&&this.layer>=3)return D(this.sign,this.layer-1,this.mag);const e=this.ln();return e.div(e.lambertw())}pentate(e=2,t=D(1,0,1)){t=g(t);const a=e;e=Math.trunc(e);const n=a-e;n!==0&&(t.eq(u.dOne)?(++e,t=u.fromNumber(n)):this.eq(10)?t=t.layeradd10(n):t=t.layeradd(n,this));for(let r=0;r10)return t}return t}sin(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.sin(this.sign*this.mag)):D(0,0,0)}cos(){return this.mag<0?u.dOne:this.layer===0?u.fromNumber(Math.cos(this.sign*this.mag)):D(0,0,0)}tan(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.tan(this.sign*this.mag)):D(0,0,0)}asin(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.asin(this.sign*this.mag)):D(Number.NaN,Number.NaN,Number.NaN)}acos(){return this.mag<0?u.fromNumber(Math.acos(this.toNumber())):this.layer===0?u.fromNumber(Math.acos(this.sign*this.mag)):D(Number.NaN,Number.NaN,Number.NaN)}atan(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.atan(this.sign*this.mag)):u.fromNumber(Math.atan(this.sign*(1/0)))}sinh(){return this.exp().sub(this.negate().exp()).div(2)}cosh(){return this.exp().add(this.negate().exp()).div(2)}tanh(){return this.sinh().div(this.cosh())}asinh(){return u.ln(this.add(this.sqr().add(1).sqrt()))}acosh(){return u.ln(this.add(this.sqr().sub(1).sqrt()))}atanh(){return this.abs().gte(1)?D(Number.NaN,Number.NaN,Number.NaN):u.ln(this.add(1).div(u.fromNumber(1).sub(this))).div(2)}ascensionPenalty(e){return e===0?this:this.root(u.pow(10,e))}egg(){return this.add(9)}lessThanOrEqualTo(e){return this.cmp(e)<1}lessThan(e){return this.cmp(e)<0}greaterThanOrEqualTo(e){return this.cmp(e)>-1}greaterThan(e){return this.cmp(e)>0}};let N=u;N.fromStringCache=new Pn(Fn);N.dZero=D(0,0,0);N.dOne=D(1,0,1);N.dNegOne=D(-1,0,1);N.dTwo=D(1,0,2);N.dTen=D(1,0,10);N.dNaN=D(Number.NaN,Number.NaN,Number.NaN);N.dInf=D(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);N.dNegInf=D(-1,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY);N.dNumberMax=k(1,0,Number.MAX_VALUE);N.dNumberMin=k(1,0,Number.MIN_VALUE);g=N.fromValue_noAlloc;k=N.fromComponents;D=N.fromComponents_noNormalize;N.fromMantissaExponent;N.fromMantissaExponent_noNormalize;const Ln=new N(1);function ot(e,t,a=!0){let n=N.log10(e).floor(),r=N.div(e,N.pow(10,n));r.toStringWithDecimalPlaces(t)==="10"&&(r=Ln,n=n.add(1));const s=n.gte(1e9)?ue(n,Math.max(Math.max(t,3),J.defaultDecimalsShown)):n.gte(1e4)?Qt(n,0):n.toStringWithDecimalPlaces(0);return a?r.toStringWithDecimalPlaces(t)+"e"+s:"e"+s}function Qt(e,t){if(e==null)return"NaN";if(e=new N(e),e.mag<.001)return 0 .toFixed(t);const n=e.toStringWithDecimalPlaces(t).split(".");return n[0]=n[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,"),n.length==1?n[0]:n[0]+"."+n[1]}function ha(e,t){return e==null?"NaN":(e=new N(e),e.mag<1e-4?0 .toFixed(t):(e.mag<.1&&t!==0&&(t=Math.max(Math.max(t,e.log10().negate().ceil().toNumber()),J.defaultDecimalsShown)),e.toStringWithDecimalPlaces(t)))}const Xn=new N("eeee1000"),Wn=new N("e100000"),ra=new N("e1000"),pa=new N(1e9),Yn=new N(1e6),Kn=new N(1e3),jn=new N(.98),Hn=new N(.001),ba=new N(0);function ue(e,t,a){if(t==null&&(t=J.defaultDecimalsShown),a=a!=null?a:J.defaultShowSmall,e=new N(e),isNaN(e.sign)||isNaN(e.layer)||isNaN(e.mag))return"NaN";if(e.sign<0)return"-"+ue(e.neg(),t);if(e.mag===Number.POSITIVE_INFINITY)return"Infinity";if(e.gte(Xn)){const n=e.slog();return n.gte(Yn)?"F"+ue(n.floor()):N.pow(10,n.sub(n.floor())).toStringWithDecimalPlaces(3)+"F"+Qt(n.floor(),0)}else{if(e.gte(Wn))return ot(e,0,!1);if(e.gte(ra))return ot(e,0);if(e.gte(pa))return ot(e,t);if(e.gte(Kn))return Qt(e,0);if(e.gte(Hn)||!a)return ha(e,t);if(e.eq(ba))return 0 .toFixed(t)}return e=Ca(e),e.lt(ra)?ot(e,t).replace(/([^(?:e|F)]*)$/,"-$1"):ue(e,t)+"\u207B\xB9"}function oe(e){return e=new N(e),e.sign<0?"-"+oe(e.neg()):e.gte(pa)||e.lte(jn)&&!e.eq(ba)?ue(e):ue(e,0)}function ya(e){return N.lt(e,0)?"-"+ya(N.neg(e)):N.gt(e,2**51)?ue(N.div(e,31536e3))+"y":(e=new N(e).toNumber(),e<60?ue(e)+"s":e<3600?oe(Math.floor(e/60))+"m "+ue(e%60)+"s":e<86400?oe(Math.floor(e/3600))+"h "+oe(Math.floor(e/60)%60)+"m "+oe(e%60)+"s":e<31536e3?oe(Math.floor(e/84600)%365)+"d "+oe(Math.floor(e/3600)%24)+"h "+oe(Math.floor(e/60)%60)+"m":oe(Math.floor(e/31536e3))+"y "+oe(Math.floor(e/84600)%365)+"d "+oe(Math.floor(e/3600)%24)+"h")}function Zn(e,t,a){e=new N(e);let n=e.toStringWithDecimalPlaces(t);return new N(n).gte(a)&&(n=N.sub(a,Math.pow(.1,t)).toStringWithDecimalPlaces(t)),n}function $n(e,t){return ue(e,t,!0)}function Ca(e){let t=N.log10(e).ceil();const a=N.div(e,N.pow(10,t));return t=t.neg(),e=new N(10).pow(t).times(a),e}var er=Object.freeze(Object.defineProperty({__proto__:null,default:N,exponentialFormat:ot,commaFormat:Qt,regularFormat:ha,format:ue,formatWhole:oe,formatTime:ya,toPlaces:Zn,formatSmall:$n,invertOOM:Ca},Symbol.toStringTag,{value:"Module"}));const{exponentialFormat:tr,commaFormat:ar,regularFormat:nr,format:Ba,formatWhole:qt,formatTime:Xt,toPlaces:rr,formatSmall:sr,invertOOM:ir}=er;window.Decimal=N;window.exponentialFormat=tr;window.commaFormat=ar;window.regularFormat=nr;window.format=Ba;window.formatWhole=qt;window.formatTime=Xt;window.toPlaces=rr;window.formatSmall=sr;window.invertOOM=ir;function sa(e){return typeof e=="function"}var Z=(e=>(e.Up="Up",e.Down="Down",e.Left="Left",e.Right="Right",e.Default="Up",e))(Z||{});const It=Symbol("DoNotCache");function W(e,t){const a=e[t];sa(a)&&a.length===0&&!a[It]?e[t]=V(a.bind(e)):sa(a)&&(e[t]=a.bind(e),e[t][It]=!0)}const ct=Symbol("Component"),kt=Symbol("GatherProps");let Ar=0;function Wt(e="feature-"){return e+Ar++}var dt=(e=>(e[e.Visible=0]="Visible",e[e.Hidden=1]="Hidden",e[e.None=2]="None",e))(dt||{});function wt(e){const t=l(e);return t!==2&&t!==!1}function Ea(e){return l(e)===1}function X(e){return e[It]=!0,e}function Ge(e,t,a){e[t]===void 0&&a!=null&&(e[t]=a)}const te=ga();"fonts"in document&&(document.fonts.onloadingdone=()=>te.emit("fontsLoaded"));var or=Object.freeze(Object.defineProperty({__proto__:null,globalBus:te},Symbol.toStringTag,{value:"Module"}));const Fe=Symbol("ProxyState");function Mt(e,t={}){const a=t;let n=!1;function r(){return n||(Object.assign(a,e(a)),n=!0),a}return new Proxy(a,{get(s,i){if(i===Fe)return r();const o=r()[i];return o!=null&&typeof o=="object"&&zt in o?o[zt]:o},set(s,i,o){return r()[i]=o,!0},has(s,i){return i===Fe?!0:Reflect.has(r(),i)},ownKeys(){return Reflect.ownKeys(r())},getOwnPropertyDescriptor(s,i){return n||(Object.assign(a,e(a)),n=!0),Object.getOwnPropertyDescriptor(s,i)}})}const lr=vt({id:"",devSpeed:null,name:"",tabs:[],time:-1,autosave:!0,offlineProd:!0,offlineTime:null,timePlayed:0,keepGoing:!1,modID:"",modVersion:"",layers:{}});var z=window.player=lr;function Na(e){return JSON.stringify(e,(t,a)=>l(a))}var ee=window.state=Gt({lastTenTicks:[],hasNaN:!1,NaNPath:[]});const je=Symbol("PersistentState"),rt=Symbol("DefaultValue"),St=Symbol("StackTrace"),Ft=Symbol("Deleted"),zt=Symbol("NonPersistent"),xe=Symbol("SaveDataPath");function ur(){var e,t;return(t=(e=new Error().stack)==null?void 0:e.split(` +`).slice(3,5).map(a=>a.trim()).join(` +`))!=null?t:""}function ia(e,t){var a;if(N.isNaN(t))throw ee.hasNaN||(z.autosave=!1,ee.hasNaN=!0,ee.NaNPath=e[xe],ee.NaNPersistent=e),console.error("Attempted to save NaN value to",(a=e[xe])==null?void 0:a.join("."),e),"Attempted to set NaN value. See above for details";e[je].value=t}function Qa(e,t=!0){const a=ce(e)?e:Q(e);ce(e)&&(e=e.value);const n=V({get(){return a.value},set(s){t?ia(r,s):r[je].value=s}});n[rt]=e;const r={get value(){return a.value},set value(s){t?ia(r,s):r[je].value=s},__v_isRef:!0,[je]:a,[rt]:e,[St]:ur(),[Ft]:!1,[zt]:n,[xe]:void 0};return ve.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",r,` +Created at: +`+r[St]):He[ve[ve.length-1]].add(r),r}function cr(e){return e!=null&&typeof e=="object"&&je in e}te.on("addLayer",(e,t)=>{const a=[],n=(r,s=[])=>{let i=!1;return Object.keys(r).forEach(o=>{let c=r[o];if(c!=null&&typeof c=="object")if(Fe in c&&(c=c[Fe]),cr(c)){if(i=!0,c[Ft]){console.warn("Deleted persistent ref present in returned object. Ignoring...",c,` +Created at: +`+c[St]);return}He[e.id].delete(c);const m=[e.id,...s,o];c[xe]!=null&&JSON.stringify(m)!==JSON.stringify(c[xe])&&console.error(`Persistent ref is being saved to \`${m.join(".")}\` when it's already present at \`${c[xe].join(".")}\`. This can cause unexpected behavior when loading saves between updates.`,c),c[xe]=m;const b=s.reduce((y,C)=>(C in y||(y[C]={}),y[C]),t),p=b[o];b[o]=c[je],xa(b)?p!=null?b[o]=p:b[o]=c[rt]:p!=null?b[o].value=p:b[o].value=c[rt]}else!(c instanceof N)&&!ce(c)&&!a.includes(c)&&(typeof c.type=="symbol"&&a.push(c),n(c,[...s,o])&&(Ot(c)&&!Ot(r)?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.",Fe in r?r[Fe]:r,o):i=!0))}),i};n(e[Fe]),He[e.id].forEach(r=>{r[Ft]||console.error(`Created persistent ref in ${e.id} without registering it to the layer! Make sure to include everything persistent in the returned object`,r,` +Created at: +`+r[St])}),He[e.id].clear()});const Yt=Symbol("RegisterNode"),Kt=Symbol("UnregisterNode"),Ia=Symbol("Nodes"),wa=Symbol("Bounds"),ae=Gt({});window.layers=ae;const He={},ve=[];function Sa(e,t){return Mt(()=>{const a={},n=a.emitter=ga();if(a.on=n.on.bind(n),a.emit=n.emit.bind(n),a.nodes=Q({}),a.id=e,ve.push(e),He[e]=new Set,a.minimized=Qa(!1,!1),Object.assign(a,t.call(a)),ve[ve.length-1]==null||ve[ve.length-1]!==e)throw`Adding layers stack in invalid state. This should not happen +Stack: ${ve} +Trying to pop ${a.id}`;ve.pop(),W(a,"color"),W(a,"display"),W(a,"classes"),W(a,"style"),W(a,"name"),Ge(a,"name",a.id),W(a,"minWidth"),Ge(a,"minWidth",600),W(a,"minimizable"),Ge(a,"minimizable",!0),W(a,"minimizedDisplay");const r=a.style;return a.style=V(()=>{var i,o;let s=l(a.minWidth);return(typeof s=="number"||!Number.isNaN(parseInt(s)))&&(s=s+"px"),[(i=l(r))!=null?i:"",(o=a.minimized)!=null&&o.value?{flexGrow:"0",flexShrink:"0",width:"60px",minWidth:"",flexBasis:"",margin:"0"}:{flexGrow:"",flexShrink:"",width:"",minWidth:s,flexBasis:s,margin:""}]}),a})}function _a(e,t){if(console.info("Adding layer",e.id),ae[e.id]){console.error("Attempted to add layer with same ID as existing layer",e.id,ae[e.id]);return}Ge(t,"layers",{}),t.layers[e.id]==null&&(t.layers[e.id]={}),ae[e.id]=e,te.emit("addLayer",e,t.layers[e.id])}function dr(e){return ae[e]}function Ta(e){console.info("Removing layer",e.id),te.emit("removeLayer",e),ae[e.id]=void 0}function gr(e){Ta(e),_a(e,z)}function mr(e){const t=Q(!1);return{openModal:()=>t.value=!0,modal:X(()=>A(Ve,{modelValue:t.value,"onUpdate:modelValue":a=>t.value=a},{header:()=>A("h2",null,[l(e.name)]),body:l(e.display)}))}}te.on("update",function(t){Object.values(ae).forEach(a=>{a==null||a.emit("preUpdate",t)}),Object.values(ae).forEach(a=>{a==null||a.emit("update",t)}),Object.values(ae).forEach(a=>{a==null||a.emit("postUpdate",t)})});var fr=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:Yt,UnregisterNodeInjectionKey:Kt,NodesInjectionKey:Ia,BoundsInjectionKey:wa,layers:ae,persistentRefs:He,addingLayers:ve,createLayer:Sa,addLayer:_a,getLayer:dr,removeLayer:Ta,reloadLayer:gr,setupLayerModal:mr},Symbol.toStringTag,{value:"Module"}));var L=(e,t)=>{const a=e.__vccOpts||e;for(const[n,r]of t)a[n]=r;return a};const vr=x({__name:"Context",emits:["updateNodes"],setup(e,{emit:t}){var b;const a=Q({}),n=new ResizeObserver(o),r=Q(null);_t(()=>{const p=r.value;p!=null&&n.observe(p)});let s=!0,i=Q((b=r.value)==null?void 0:b.getBoundingClientRect());function o(){s&&(s=!1,Me(()=>{var p;i.value=(p=r.value)==null?void 0:p.getBoundingClientRect(),Object.values(a.value).filter(y=>y).forEach(y=>y.rect=y.element.getBoundingClientRect()),t("updateNodes",a.value),s=!0}))}te.on("fontsLoaded",o);const c={attributes:!1,childList:!0,subtree:!1};bt(Yt,(p,y)=>{const C=new MutationObserver(()=>m(p));C.observe(y,c),a.value[p]={element:y,observer:C,rect:y.getBoundingClientRect()},o()}),bt(Kt,p=>{var y;(y=a.value[p])==null||y.observer.disconnect(),a.value[p]=void 0,o()}),bt(Ia,a),bt(wa,i);function m(p){const y=a.value[p];y!=null&&(y.rect=y.element.getBoundingClientRect(),t("updateNodes",a.value))}return(p,y)=>(f(),B(Y,null,[Ce(p.$slots,"default",{},void 0,!0),d("div",{ref_key:"resizeListener",ref:r,class:"resize-listener"},null,512)],64))}});var ka=L(vr,[["__scopeId","data-v-2b1dc1bc"]]);const hr=["onPointerdown"],pr={class:"modal-wrapper"},br={class:"modal-container"},yr={class:"modal-header"},Cr=h(" default header "),Br={class:"modal-body"},Er=h(" default body "),Nr={class:"modal-footer"},Qr=d("div",{class:"modal-default-flex-grow"},null,-1),Ve=x({__name:"Modal",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){const r=Ne(e),s=V(()=>l(r.modelValue)||o.value);function i(){a("update:modelValue",!1)}const o=Q(!1),c=Q(null),m=V(()=>{var b,p;return(p=(b=c.value)==null?void 0:b.nodes)!=null?p:null});return t({isOpen:s,nodes:m}),(b,p)=>(f(),F(Ga,{to:"#modal-root"},[A(ca,{name:"modal",onBeforeEnter:p[0]||(p[0]=y=>o.value=!0),onAfterLeave:p[1]||(p[1]=y=>o.value=!1)},{default:M(()=>[Lt(d("div",nt({class:"modal-mask",onPointerdown:ut(i,["self"])},b.$attrs),[d("div",pr,[d("div",br,[d("div",yr,[Ce(b.$slots,"header",{shown:l(s)},()=>[Cr])]),d("div",Br,[A(ka,{ref_key:"contextRef",ref:c},{default:M(()=>[Ce(b.$slots,"body",{shown:l(s)},()=>[Er])]),_:3},512)]),d("div",Nr,[Ce(b.$slots,"footer",{shown:l(s)},()=>[d("div",{class:"modal-default-footer"},[Qr,d("button",{class:"button modal-default-button",onClick:i}," Close ")])])])])])],16,hr),[[Ja,e.modelValue]])]),_:3})]))}});const qe={variables:{"--foreground":"#dfdfdf","--background":"#0f0f0f","--feature-foreground":"#0f0f0f","--tooltip-background":"rgba(0, 0, 0, 0.75)","--raised-background":"#0f0f0f","--points":"#ffffff","--locked":"#bf8f8f","--highlighted":"#333","--bought":"#77bf5f","--danger":"rgb(220, 53, 69)","--link":"#02f2f2","--outline":"#dfdfdf","--accent1":"#627a82","--accent2":"#658262","--accent3":"#7c6282","--border-radius":"15px","--modal-border":"solid 2px var(--color)","--feature-margin":"0px"},floatingTabs:!0,mergeAdjacent:!0,showPin:!0};var jt=(e=>(e.Classic="classic",e.Paper="paper",e.Nordic="nordic",e.Aqua="aqua",e))(jt||{}),ht={classic:qe,paper:{...qe,variables:{...qe.variables,"--background":"#2a323d","--feature-foreground":"#000","--raised-background":"#333c4a","--locked":"#3a3e45","--bought":"#5C8A58","--outline":"#333c4a","--border-radius":"4px","--modal-border":"","--feature-margin":"5px"},floatingTabs:!1},nordic:{...qe,variables:{...qe.variables,"--foreground":"#45283c","--background":"#bbc3e8","--feature-foreground":"#fff7f6","--raised-background":"#fff7f6","--points":"#45283c","--locked":"#fff7f6","--highlighted":"#434c5e","--bought":"#fff7f6","--danger":"#D08770","--link":"#8423a9","--outline":"#551842","--accent1":"#dc7d71","--accent2":"#8423a9","--accent3":"#47f2ca","--border-radius":"4px","--modal-border":"solid 2px #3B4252","--feature-margin":"5px"},floatingTabs:!1},aqua:{...qe,variables:{...qe.variables,"--foreground":"#bfdfff","--background":"#001f3f","--tooltip-background":"rgba(0, 15, 31, 0.75)","--raised-background":"#001f3f","--points":"#dfefff","--locked":"#c4a7b3","--outline":"#bfdfff"}}};function Ma(e={}){return Object.assign({id:`${J.id}-0`,name:"Default Save",tabs:J.initialTabs.slice(),time:Date.now(),autosave:!0,offlineProd:!0,offlineTime:0,timePlayed:0,keepGoing:!1,modID:J.id,modVersion:J.versionNumber,layers:{}},e)}function le(e){const t=ke.compressToUTF16(Na(e!=null?e:z));return localStorage.setItem((e!=null?e:z).id,t),t}async function Ir(){_r();try{let e=localStorage.getItem(P.active);if(e==null){await Je(Ze());return}if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=ke.decompressFromUTF16(e);else throw"Unable to determine save encoding";const t=JSON.parse(e);if(t.modID!==J.id){await Je(Ze());return}t.id=P.active,await Je(t)}catch(e){console.error(`Failed to load save. Falling back to new save. +`,e),await Je(Ze())}}function Ze(){const e=Et(),t=Ma({id:e});return le(t),P.saves.push(e),t}function Et(){let e,t=0;do e=`${J.id}-${t++}`;while(localStorage.getItem(e)!=null);return e}const wr=Q(!1);async function Je(e){console.info("Loading save",e),wr.value=!0;const{layers:t,removeLayer:a,addLayer:n}=await Nt(()=>Promise.resolve().then(function(){return fr}),void 0),{fixOldSave:r,getInitialLayers:s}=await Nt(()=>Promise.resolve().then(function(){return ji}),void 0);for(const i in t){const o=t[i];o&&a(o)}s(e).forEach(i=>n(i,e)),e=Ma(e),e.offlineProd&&e.time!=null&&e.time&&e.devSpeed!==0&&(e.offlineTime==null&&(e.offlineTime=0),e.offlineTime+=Math.min(e.offlineTime+(Date.now()-e.time)/1e3,J.offlineLimit*3600)),e.time=Date.now(),e.modVersion!==J.versionNumber&&(r(e.modVersion,e),e.modVersion=J.versionNumber),Object.assign(z,e),P.active=z.id,te.emit("onLoad")}setInterval(()=>{z.autosave&&le()},1e3);window.onbeforeunload=()=>{z.autosave&&le()};window.save=le;const Sr=window.hardReset=async()=>{await Je(Ze())};window.deleteLowerSaves=()=>{const e=Object.values(P.saves).indexOf(z.id)+1;Object.values(P.saves).slice(e).forEach(t=>localStorage.removeItem(t)),P.saves=P.saves.slice(0,e)};const gt=vt({active:"",saves:[],showTPS:!0,theme:jt.Nordic,unthrottled:!1,alignUnits:!1,autoplay:!1,fast:!1,showTutorial:!0,privateRoomName:"",privateRoomPassword:""});Be(gt,e=>{const t=ke.compressToUTF16(JSON.stringify(e));localStorage.setItem(J.id,t)},{deep:!0});var P=window.settings=gt;window.hardResetSettings=()=>{const e={active:"",saves:[],showTPS:!0,theme:jt.Nordic,alignUnits:!1,autoplay:!1,fast:!1};te.emit("loadSettings",e),Object.assign(gt,e),Sr()};function _r(){try{let e=localStorage.getItem(J.id);if(e!=null&&e!==""){if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=ke.decompressFromUTF16(e);else{console.warn("Unable to determine settings encoding",e);return}const t=JSON.parse(e);typeof t=="object"&&Object.assign(gt,t)}te.emit("loadSettings",gt)}catch{}}const Pa=vt([]);function Tr(e){Pa.push(e)}const kr=vt([]),Mr=vt([]),Pr={class:"table"},Aa=x({__name:"Column",setup(e){const t=V(()=>ht[P.theme].mergeAdjacent);return(a,n)=>(f(),B("div",Pr,[d("div",{class:H(["col",{mergeAdjacent:l(t)}])},[Ce(a.$slots,"default")],2)]))}}),Dr={class:"table"},Se=x({__name:"Row",setup(e){const t=V(()=>ht[P.theme].mergeAdjacent);return(a,n)=>(f(),B("div",Dr,[d("div",{class:H(["row",{mergeAdjacent:l(t)}])},[Ce(a.$slots,"default")],2)]))}});function de(e,t="span"){return typeof e=="function"?x({render:e}):typeof e=="string"?e.length>0?(e=e.trim(),e.charAt(0)!=="<"&&(e=`<${t}>${e}`),x({template:e})):x({render:()=>({})}):e}function $e(e){if(lt(e))return typeof e=="function"?e():de(e);const t=e[ct];return A(t,e[kt](),null)}function Da(e){if(lt(e))return typeof e=="function"?e():typeof e=="string"?A(Y,null,[e]):A(e,null,null);const t=e[ct];return A(t,e[kt](),null)}function lt(e){return typeof e=="string"?!0:typeof e=="object"?e==null?!1:"render"in e||"component"in e:typeof e=="function"&&e[It]===!0}function Ua(e,t="div"){const a=be();return Tt(()=>{a.value=de(pe(e),t)}),a}function Pt(e,t="div"){const a=be(null);return Tt(()=>{const n=pe(e);a.value=n==""||n==null?null:de(n,t)}),a}function pe(e){return l(l(e))}function G(...e){return e.includes(Object)||e.push(Object),e}te.on("setupVue",e=>e.use(Ha));function Ur(e="white",t="8px"){return{transform:"scale(1.05, 1.05)",borderColor:"rgba(0, 0, 0, 0.125)",boxShadow:`-4px -4px 4px rgba(0, 0, 0, 0.25) inset, 0 0 ${t} ${e}`,zIndex:1}}const Vr=x({props:{visibility:{type:G(Number,Boolean),required:!0},display:{type:G(Object,String,Function),required:!0},style:G(String,Object,Array),classes:G(Object),glowColor:G(String),active:Boolean,floating:Boolean},emits:["selectTab"],setup(e,{emit:t}){const{display:a,glowColor:n,floating:r}=Ne(e),s=Ua(a),i=V(()=>{const c=pe(n);return c==null||c===""?{}:l(r)?Ur(c):{boxShadow:`0px 9px 5px -6px ${c}`}});function o(){t("selectTab")}return{selectTab:o,component:s,glowColorStyle:i,unref:l,Visibility:dt,isVisible:wt,isHidden:Ea}}});function Or(e,t,a,n,r,s){var i;return e.isVisible(e.visibility)?(f(),B("button",{key:0,onClick:t[0]||(t[0]=(...o)=>e.selectTab&&e.selectTab(...o)),class:H(["tabButton",{active:e.active,...e.unref(e.classes)}]),style:Ee([{visibility:e.isHidden(e.visibility)?"hidden":void 0},e.glowColorStyle,(i=e.unref(e.style))!=null?i:{}])},[(f(),F(re(e.component)))],6)):T("",!0)}var Va=L(Vr,[["render",Or],["__scopeId","data-v-485cbefe"]]);const Rr=x({__name:"Sticky",setup(e){const t=Q("0"),a=new ResizeObserver(r),n=be(null);function r(){let s=n.value;if(s==null)return;let i=0;for(;s.previousSibling;){const o=s.previousSibling;o.dataset&&"vSticky"in o.dataset&&(i+=o.offsetHeight),s=o}t.value=i+"px"}return Me(r),document.fonts.ready.then(r),_t(()=>{var i;const s=(i=n.value)==null?void 0:i.parentElement;s&&a.observe(s)}),(s,i)=>(f(),B("div",{class:"sticky",style:Ee({top:t.value}),ref_key:"element",ref:n,"data-v-sticky":""},[Ce(s.$slots,"default",{},void 0,!0)],4))}});var qr=L(Rr,[["__scopeId","data-v-cccac690"]]);const Fr=x({props:{visibility:{type:G(Number,Boolean),required:!0},activeTab:{type:G(Object),required:!0},selected:{type:Object,required:!0},tabs:{type:G(Object),required:!0},style:G(String,Object,Array),classes:G(Object),buttonContainerStyle:G(String,Object,Array),buttonContainerClasses:G(Object)},components:{Sticky:qr,TabButton:Va},setup(e){const{activeTab:t}=Ne(e),a=V(()=>ht[P.theme].floatingTabs),n=be("");Tt(()=>{const o=pe(t);if(o==null){n.value="";return}if(lt(o)){n.value=de(o);return}n.value=de(l(o.display))});const r=V(()=>{const o=pe(t);return lt(o)||!o?void 0:l(o.classes)}),s=V(()=>{const o=pe(t);return lt(o)||!o?void 0:l(o.style)});function i(o){const{display:c,style:m,classes:b,glowColor:p,visibility:y}=o;return{display:c,style:l(m),classes:b,glowColor:p,visibility:y}}return{floating:a,tabClasses:r,tabStyle:s,Visibility:dt,component:n,gatherButtonProps:i,unref:l,isVisible:wt,isHidden:Ea}}});function zr(e,t,a,n,r,s){var c,m;const i=Rt("TabButton"),o=Rt("Sticky");return e.isVisible(e.visibility)?(f(),B("div",{key:0,class:H(["tab-family-container",{...e.unref(e.classes),...e.tabClasses}]),style:Ee([{visibility:e.isHidden(e.visibility)?"hidden":void 0},(c=e.unref(e.style))!=null?c:[],(m=e.tabStyle)!=null?m:[]])},[A(o,{class:H(["tab-buttons-container",e.unref(e.buttonContainerClasses)]),style:Ee(e.unref(e.buttonContainerStyle))},{default:M(()=>[d("div",{class:H(["tab-buttons",{floating:e.floating}])},[(f(!0),B(Y,null,da(e.unref(e.tabs),(b,p)=>(f(),F(i,nt({onSelectTab:y=>e.selected.value=p,floating:e.floating,key:p,active:e.unref(b.tab)===e.unref(e.activeTab)},e.gatherButtonProps(b)),null,16,["onSelectTab","floating","active"]))),128))],2)]),_:1},8,["class","style"]),e.unref(e.activeTab)?(f(),F(re(e.unref(e.component)),{key:0})):T("",!0)],6)):T("",!0)}var xr=L(Fr,[["render",zr],["__scopeId","data-v-58dbf83a"]]);const Jr=Symbol("TabButton"),Gr=Symbol("TabFamily");function Lr(e,t){if(Object.keys(e).length===0)throw console.warn("Cannot create tab family with 0 tabs"),"Cannot create tab family with 0 tabs";const a=Qa(Object.keys(e)[0],!1);return Mt(()=>{var s;const n=(s=t==null?void 0:t())!=null?s:{};n.id=Wt("tabFamily-"),n.type=Gr,n[ct]=xr,n.tabs=Object.keys(e).reduce((i,o)=>{const c=e[o]();return c.type=Jr,c[ct]=Va,W(c,"visibility"),Ge(c,"visibility",dt.Visible),W(c,"tab"),W(c,"display"),W(c,"classes"),W(c,"style"),W(c,"glowColor"),i[o]=c,i},{}),n.selected=a,n.activeTab=V(()=>{const i=l(r.tabs);if(a.value in i&&wt(i[a.value].visibility))return l(i[a.value].tab);const o=Object.values(i).find(c=>wt(c.visibility));return o?l(o.tab):null}),W(n,"visibility"),Ge(n,"visibility",dt.Visible),W(n,"classes"),W(n,"style"),W(n,"buttonContainerClasses"),W(n,"buttonContainerStyle"),n[kt]=function(){const{visibility:i,activeTab:o,selected:c,tabs:m,style:b,classes:p,buttonContainerClasses:y,buttonContainerStyle:C}=this;return{visibility:i,activeTab:o,selected:c,tabs:m,style:l(b),classes:p,buttonContainerClasses:y,buttonContainerStyle:C}};const r=n;return r})}var ze="./assets/heart_small.5a26b7f7.png",We="./assets/presence_small.bbe534cd.png",Xr="./assets/wins_small.a33d849a.png",Ke="./assets/money_small.16f3e324.png";const Wr=x({components:{Context:ka},props:{index:{type:Number,required:!0},display:{type:G(Object,String,Function),required:!0},minimizedDisplay:G(Object,String,Function),minimized:{type:Object,required:!0},name:{type:G(String),required:!0},color:G(String),minimizable:G(Boolean),nodes:{type:Object,required:!0}},emits:["setMinimized"],setup(e){const{display:t,index:a,minimized:n,minimizedDisplay:r}=Ne(e),s=Ua(t),i=Pt(r),o=V(()=>J.allowGoBack&&a.value>0&&!pe(n));function c(){z.tabs.splice(l(e.index),1/0)}function m(b){e.nodes.value=b}return{component:s,minimizedComponent:i,showGoBack:o,updateNodes:m,unref:l,goBack:c}}}),Yr={key:1};function Kr(e,t,a,n,r,s){const i=Rt("Context");return f(),B("div",{class:"layer-container",style:Ee({"--layer-color":e.unref(e.color)})},[e.showGoBack?(f(),B("button",{key:0,class:"goBack",onClick:t[0]||(t[0]=(...o)=>e.goBack&&e.goBack(...o))},"\u274C")):T("",!0),e.unref(e.minimized)?(f(),B("button",{key:1,class:"layer-tab minimized",onClick:t[1]||(t[1]=o=>e.$emit("setMinimized",!1))},[e.minimizedComponent?(f(),F(re(e.minimizedComponent),{key:0})):(f(),B("div",Yr,q(e.unref(e.name)),1))])):(f(),B("div",{key:2,class:H(["layer-tab",{showGoBack:e.showGoBack}])},[A(i,{onUpdateNodes:e.updateNodes},{default:M(()=>[(f(),F(re(e.component)))]),_:1},8,["onUpdateNodes"])],2)),e.unref(e.minimizable)?(f(),B("button",{key:3,class:"minimize",onClick:t[2]||(t[2]=o=>e.$emit("setMinimized",!0))}," \u25BC ")):T("",!0)],4)}var jr=L(Wr,[["render",Kr],["__scopeId","data-v-a592996e"]]);const Oa=e=>(De("data-v-4b4bda40"),e=e(),Ue(),e),Hr=Oa(()=>d("h2",null,"Changelog",-1)),Zr=Oa(()=>d("details",{open:""},[d("summary",null,[h("v0.0 Initial Commit - "),d("time",null,"2021-09-04")]),h(" This is the first release :D "),d("ul",null,[d("li",{class:"feature"},"Did everything"),d("li",{class:"fix"},"Had some fun"),d("li",{class:"breaking"},"Removed everything"),d("li",{class:"balancing"},"Created some bugs to fix later")])],-1)),$r=x({__name:"Changelog",setup(e,{expose:t}){const a=Q(!1);return t({open(){a.value=!0}}),(n,r)=>(f(),F(Ve,{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=s=>a.value=s)},{header:M(()=>[Hr]),body:M(()=>[Zr]),_:1},8,["modelValue"]))}});var es=L($r,[["__scopeId","data-v-4b4bda40"]]),ts=x({props:{element:Object,display:{type:G(Object,String,Function),required:!0},style:G(Object,String,Array),classes:G(Object),direction:G(String),xoffset:G(String),yoffset:G(String),pinned:Object},setup(e){const{element:t,display:a,pinned:n}=Ne(e),r=Q(!1),s=V(()=>(pe(n)||r.value)&&i.value),i=Pt(a),o=be(de(X(()=>{const b=pe(t);return b==null?"":Da(b)})));function c(b){const p=n;b.shiftKey&&p&&(p.value=!p.value,b.stopPropagation(),b.preventDefault())}const m=V(()=>pe(n)&&ht[P.theme].showPin);return{Direction:Z,isHovered:r,isShown:s,comp:i,elementComp:o,unref:l,togglePinned:c,showPin:m}}});const as={key:0,class:"material-icons pinned"};function ns(e,t,a,n,r,s){return f(),B("div",{class:H(["tooltip-container",{shown:e.isShown}]),onMouseenter:t[0]||(t[0]=i=>e.isHovered=!0),onMouseleave:t[1]||(t[1]=i=>e.isHovered=!1),onClickCapture:t[2]||(t[2]=(...i)=>e.togglePinned&&e.togglePinned(...i))},[Ce(e.$slots,"default",{},void 0,!0),e.elementComp?(f(),F(re(e.elementComp),{key:0})):T("",!0),A(ca,{name:"fade",css:!!e.comp},{default:M(()=>{var i;return[e.isShown?(f(),B("div",{key:0,class:H(["tooltip",{top:e.unref(e.direction)===e.Direction.Up,left:e.unref(e.direction)===e.Direction.Left,right:e.unref(e.direction)===e.Direction.Right,bottom:e.unref(e.direction)===e.Direction.Down,...e.unref(e.classes)}]),style:Ee([{"--xoffset":e.unref(e.xoffset)||"0px","--yoffset":e.unref(e.yoffset)||"0px"},(i=e.unref(e.style))!=null?i:{}])},[e.showPin?(f(),B("span",as,"push_pin")):T("",!0),e.comp?(f(),F(re(e.comp),{key:1})):T("",!0)],6)):T("",!0)]}),_:1},8,["css"])],34)}var j=L(ts,[["render",ns],["__scopeId","data-v-7a579aa7"]]);const Le=e=>(De("data-v-5d3cb6f4"),e=e(),Ue(),e),rs={class:"info-modal-header"},ss=["src","alt"],is={class:"info-modal-title"},As={key:0},os={key:0},ls={key:0},us=Le(()=>d("div",null," Made in Profectus, by thepaperpilot with inspiration from Acameada and Jacorb ",-1)),cs=Le(()=>d("br",null,null,-1)),ds=Le(()=>d("br",null,null,-1)),gs=["href"],ms=Le(()=>d("span",{class:"material-icons info-modal-discord"},"discord",-1)),fs=Le(()=>d("div",null,[d("a",{href:"https://discord.gg/WzejVAx",class:"info-modal-discord-link",target:"_blank"},[d("span",{class:"material-icons info-modal-discord"},"discord"),h(" The Paper Pilot Community ")])],-1)),vs=Le(()=>d("div",null,[d("a",{href:"https://discord.gg/F3xveHV",class:"info-modal-discord-link",target:"_blank"},[d("span",{class:"material-icons info-modal-discord"},"discord"),h(" The Modding Tree ")])],-1)),hs=Le(()=>d("br",null,null,-1));var ps=x({__name:"Info",props:{changelog:null},setup(e,{expose:t}){const a=e,{title:n,logo:r,author:s,discordName:i,discordLink:o,versionNumber:c,versionTitle:m}=J,b=Ne(a),p=Q(!1),y=V(()=>Xt(z.timePlayed)),C=V(()=>de(X(()=>A(Y,null,[kr.map($e)]))));t({open(){p.value=!0}});function I(){var S;(S=l(b.changelog))==null||S.open()}return(S,_)=>(f(),F(Ve,{modelValue:p.value,"onUpdate:modelValue":_[0]||(_[0]=$=>p.value=$)},{header:M(()=>[d("div",rs,[l(r)?(f(),B("img",{key:0,class:"info-modal-logo",src:l(r),alt:l(n)},null,8,ss)):T("",!0),d("div",is,[d("h2",null,q(l(n)),1),d("h4",null,[h(" v"+q(l(c)),1),l(m)?(f(),B("span",As,": "+q(l(m)),1)):T("",!0)])])])]),body:M(({shown:$})=>[$?(f(),B("div",os,[l(s)?(f(),B("div",ls,"By "+q(l(s)),1)):T("",!0),us,cs,d("div",{class:"link",onClick:I},"Changelog"),ds,d("div",null,[l(o)?(f(),B("a",{key:0,href:l(o),class:"info-modal-discord-link",target:"_blank"},[ms,h(" "+q(l(i)),1)],8,gs)):T("",!0)]),fs,vs,hs,d("div",null,"Time Played: "+q(l(y)),1),(f(),F(re(l(C))))])):T("",!0)]),_:1},8,["modelValue"]))}});var bs=L(ps,[["__scopeId","data-v-5d3cb6f4"]]);const ys=["onSubmit"],Cs={class:"field"},Bs={key:0,class:"field-title"},Es=["type","placeholder"],Ns=x({__name:"Text",props:{title:null,modelValue:null,textArea:{type:Boolean},placeholder:null,maxHeight:null,submitOnBlur:{type:Boolean},password:{type:Boolean}},emits:["update:modelValue","submit","cancel"],setup(e,{emit:t}){const a=e,n=Pt(Pe(a,"title"),"span"),r=be(null);_t(()=>{var c;(c=r.value)==null||c.focus()});const s=V({get(){var c;return(c=l(a.modelValue))!=null?c:""},set(c){t("update:modelValue",c)}});function i(){t("submit")}function o(){a.submitOnBlur!==!1?t("submit"):t("cancel")}return(c,m)=>(f(),B("form",{onSubmit:ut(i,["prevent"])},[d("div",Cs,[l(n)?(f(),B("span",Bs,[(f(),F(re(l(n))))])):T("",!0),e.textArea?(f(),F(l(Za),{key:1,modelValue:l(s),"onUpdate:modelValue":m[0]||(m[0]=b=>ce(s)?s.value=b:null),placeholder:e.placeholder,maxHeight:e.maxHeight,onBlur:o,ref_key:"field",ref:r},null,8,["modelValue","placeholder","maxHeight"])):Lt((f(),B("input",{key:2,type:e.password==!0?"password":"text","onUpdate:modelValue":m[1]||(m[1]=b=>ce(s)?s.value=b:null),placeholder:e.placeholder,class:H({fullWidth:!e.title}),onBlur:o,ref_key:"field",ref:r},null,42,Es)),[[La,l(s)]])])],40,ys))}});var mt=L(Ns,[["__scopeId","data-v-26e25f6a"]]);const Qs={min:.25,max:.5},Is=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],ws=.01,Ss=.1,_s=100,Ts=!0,ks={x:0,y:0},Ms=!1,Ps=[{type:"alpha",config:{alpha:{list:[{time:0,value:.74},{time:1,value:0}]}}},{type:"moveSpeed",config:{speed:{list:[{time:0,value:100},{time:1,value:0}]},minMult:1}},{type:"scale",config:{scale:{list:[{time:0,value:2},{time:1,value:.5}]},minMult:1}},{type:"color",config:{color:{list:[{time:0,value:"#FFC000"},{time:1,value:"#FFDF00"}]}}},{type:"rotation",config:{accel:0,minSpeed:0,maxSpeed:200,minStart:0,maxStart:360}},{type:"textureRandom",config:{textures:["particle.png"]}},{type:"spawnShape",config:{type:"torus",data:{radius:100,x:0,y:0}}}];var Ds={lifetime:Qs,ease:Is,frequency:ws,emitterLifetime:Ss,maxParticles:_s,addAtBack:Ts,pos:ks,emit:Ms,behaviors:Ps};fa.registerPlugin(tn);an.registerPlugin("batch",nn);var Us=x({props:{style:G(String,Object,Array),classes:G(Object),onInit:{type:Function,required:!0},id:{type:String,required:!0},onContainerResized:Function,onHotReload:Function},setup(e){const t=be(null),a=new ResizeObserver(s),n=be(null);_t(()=>{var o,c;const i=n.value;i!=null&&(a.observe(i),t.value=new fa({resizeTo:i,backgroundAlpha:0}),(o=n.value)==null||o.appendChild(t.value.view),(c=e.onInit)==null||c.call(e,t.value)),s(),e.onHotReload&&Me(e.onHotReload)}),Xa(()=>{var i;(i=t.value)==null||i.destroy()});let r=!0;function s(){r&&(r=!1,Me(()=>{var i;n.value!=null&&((i=e.onContainerResized)==null||i.call(e,n.value.getBoundingClientRect())),r=!0}))}return te.on("fontsLoaded",s),{unref:l,resizeListener:n}}});function Vs(e,t,a,n,r,s){return f(),B("div",{ref:"resizeListener",class:H(["resize-listener",e.unref(e.classes)]),style:Ee(e.unref(e.style))},null,6)}var Os=L(Us,[["render",Vs],["__scopeId","data-v-0b99a6fc"]]);const Rs=Symbol("Particles");function qs(e){return Mt(()=>{var r,s;const t=(r=e==null?void 0:e())!=null?r:{};t.id=Wt("particles-"),t.type=Rs,t[ct]=Os,t.app=be(null),t.addEmitter=i=>{const o=t;return o.app.value?Promise.resolve(new $t(o.app.value.stage,i)):new Promise(c=>{a.push({resolve:c,config:i})})};let a=[];function n(i){const o=t;o.app.value=i,a.forEach(({resolve:c,config:m})=>c(new $t(i.stage,m))),a=[]}return t.onContainerResized=(s=t.onContainerResized)==null?void 0:s.bind(t),t[kt]=function(){const{id:i,style:o,classes:c,onContainerResized:m,onHotReload:b}=this;return{id:i,style:l(o),classes:c,onContainerResized:m,onHotReload:b,onInit:n}},t})}window.upgradeConfig=rn;const Fs=Symbol("Reset");function zs(e){return Mt(()=>{const t=e();return t.id=Wt("reset-"),t.type=Fs,t.reset=function(){var r;const a=s=>{if(s!=null&&typeof s=="object")if(rt in s){const i=s;i.value=i[rt]}else!(s instanceof N)&&!ce(s)&&Object.values(s).forEach(i=>a(i))},n=l(t.thingsToReset);Ot(n)?n.forEach(a):a(n),te.emit("reset",t),(r=t.onReset)==null||r.call(t)},W(t,"thingsToReset"),t})}const Ct={};te.on("removeLayer",e=>{var t;(t=Ct[e.id])==null||t.call(Ct),Ct[e.id]=void 0});var xs="./assets/autoplay.c48a90c0.png",Js="./assets/fast forward.8950743b.png",Gs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYAAAAGACAYAAACkx7W/AAAAAXNSR0IArs4c6QAACr5JREFUeJzt3W+o3mUZB/BzdIzTmLZyHNL1poZOIzqYo2Mu25vCf6hRKxrGljEsEpNwEL2QGHu7CIuClmSOZCErp7Z/LVxmSxeajLQYtijMVodF08YYY/b0slnXvZ777Pc7v+d5rs/n5bXfuZ/7POfhfM/1PNfu39gYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAINrvOsNUKfXO9rreg9QMj6+2O+UIXJe1xsAoBsCACApAQCQlAAASEoAACQ1r+sNECtN+0xPrJ7rrUDfSq9b00GDSQcAkJQAAEhKAAAkJQAAkhIAAEmZAupY7bTPhmWvh/Xl1ze3J5it0uvWdNBg0gEAJCUAAJISAABJCQCApHwIzP91033nn9PX77g7/uAa6JYOACApAQCQlLeAmLUm3trp9+2lsz1WE2t0tad+16tZ01tu9EsHAJCUDoA5d64fKs92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2Spnnqu7QK5/E3aGZ8/Gt0Wv7FsK66g5tfzceZ+fNZ8O6cvCnkbA+tinu9ijtFfX6eI9QXbACwBoBgDUCAGsEANYIAKx1vAuk9n5kT4qpvT1VdV1qPurkV9bWLXF3RXVpZs7fGda3i/HVOOq5inq/rdG4u6W6PYNDuc+5LlgBYI0AwBoBgDUCAGsEANZqsxdIUV2Lqdkfwvr4jvjeG0V1P+bO/pga58QLuT08Wa3Rm8L62KaNYf1tsZdJfT7sBQIaiADAGgGANQIAawQA1mrfBVJdmourcXdicEidIIu7HKrbo7oupfYaKeq52a6OOummPgduhwYaiADAGgGANQIAawQA1mrfBVLUbcntldxeoFLyvxGWu01anRRT3Rutmd0ehRUA1ggArBEAWCMAsEYAYK02XaC7++MTXtVqXFe/4XWuP947pPbAqL032RNhpX4jLLs36YtTYhzR1VHq3u1RWAFgjQDAGgGANQIAawQA1rrWBSp1a/T00cnUc09O7km9Xt+H01tK3dvT1G6PwgoAawQA1ggArBEAWCMAsNZze4FKdYfmlg6HdXWPkOqiLMxfCOvqf45tAxvC+gfHxF+Q44g/+HklLA+KvUBYHysArBEAWCMAsEYAYI0AwFrt931ku0PKg8PHi8zn8+V7i4yjqHmq5zb1Pp9SWAFgjQDAGgGANQIAawQA1npuL1BWqb1DWdmui6LmU6orhfWxAsAaAYA1AgBrBADWCACs1b4LVEr/1dd0ewr/0mvzaSpWAFgjALBGAGCNAMAaAYA1AgBrBADWCACsEQBYIwCwRgBgjb1Alyz+cWvq9TduvBjW5W3VyZNinZ6POjHndl8QKwCsEQBYIwCwRgBgjQDAmtU3/qrq/H1B2duYe20+blgBYI0AwBoBgDUCAGsEANboBFyiujFZpborvTafpmIFgDUCAGsEANYIAKwRAAAAAAAAAAAAAAAAAABA7f0NUYSCE1qhmF4AAAAASUVORK5CYII=",ai="./assets/start stream.dd66a6ec.png",ni="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABk1J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pWRPgc7Knuq8+PtT4fjF+76veJzeYQaANQIAawQA1ggArBEAWCtrgVqvEVJtTNWanyrqOatOh85+z4ra+bU6iseXF5biC4nTpDkdGhgAAgBrBADWCACsEQBYa74WqHU7pLQ+nydLPY/6u6palOz3PL/yYjiepd411rd2iBkA1ggArBEAWCMAsEYAYK15C5RtIVR7cHgc75zKGsraoap2qG/61g4xA8AaAYA1AgBrBADWCACslbVArdecqPYg+06rqnOEsjvXsvq2lklR33/2lOmu2iFmAFgjALBGAGCNAMAaAYC13p0OnW0Vsm1DFXWqc+t2SMmeAl2180sZyhvnmQFgjQDAGgGANQIAawQA1np3OvSe2V/EHV4PR6+f+CIcV2tLWrdGrdsh9f088Un8/WSpU6DVO8JunPy45L5//f1gON76jfPMALBGAGCNAMAaAYA1AgBrne0IU23G0XfeDMc/P/lROL7/+Avh+If3xy3QqVvnwvG+UTvX5le6aXvU9/n0Uvz9Z62dvxSOsyMMaIgAwBoBgDUCAGsEANbSLVDd2p7Y+sZ6OC7boTNxO6SoNiOrau1N1Rvkla7anj+feygcv/vyz6nrt26HmAFgjQDAGgGANQIAawQA1jo7Fyjd6oiWoGotStaa3AkV72zKUjvI1I4zdc7Psw8fCser1kQdWF4Ix7Nrsa68sVryPFnMALBGAGCNAMAaAYA1AgBrvTsdWq2x0a3LMKj2JkutrVLn86jW5ew4Ht8j/kuce3QuHN88u5G6r/q8uv5a/DhlmAFgjQDAGgGANQIAawQA1kpO2B2N2p8LlJXdKZa9r7q+OuVYnVbdmmp71KnLffu9Wp8azQwAawQA1ggArBEAWCMAsFbWAimtzxFSVHugZO+bbSeyb3Kvkm1L+vZ78Y4woCECAGsEANYIAKwRAFhr3gIp2bYhS7UHSva+Ve1Ka1VtSVe/V9XzK8wAsEYAYI0AwBoBgDUCAGudtUBKVVuSbQ+y923dTgxFV79XFWYAWCMAsEYAYI0AwBoBgLV/AH3DQBxUNmu+AAAAAElFTkSuQmCC";const ri=x({__name:"Node",props:{id:null},setup(e){const a=Ne(e),n=Zt(Yt,()=>{}),r=Zt(Kt,()=>{}),s=be(null),i=V(()=>s.value&&s.value.parentElement);return Be([i,a.id],([o,c],[m,b])=>{m&&r(l(b)),o&&n(c,o)}),Wa(()=>r(l(a.id))),(o,c)=>(f(),B("div",{class:"node",ref_key:"node",ref:s},null,512))}});var si=L(ri,[["__scopeId","data-v-a48cb382"]]),ii="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAqhJREFUeJzt3LFqFFEYBeBdERGJCaKgESUWCsZCTG0dbSyCZTp9B0ufxMJu38EHsA5YCDaiKGihiCxYuhZp7x254e6O6/m+8me4M1k4/HCYzGQCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkGg69gOs2mLxbbHM86fTS8XfdKz7MuzU2A8AYxIAogkA0QSAaAJAtNNjP8Cy1FqX+zceRt1XOzTMBiCaABBNAIgmAEQTAKKtfQvU2rrsb10tzu9t/i7O9y5sF+dHP74U5w92D4rzZ9evNJ1fU7tv7e/VDg2zAYgmAEQTAKIJANEEgGhr3wL10tr21Ly4dbvLObXrq63Rp69N53PMBiCaABBNAIgmAEQTAKLFtUCff30vzl9+LF//ZKdPO1TT2vb0ui/HbACiCQDRBIBoAkA0ASBaXAt07dzF4rzWDk0ml4vTXi1N6zneBerLBiCaABBNAIgmAEQTAKL9t9+G6fW9oFo79Hz3TnHe692e2vWHb46K89cfXhXnvv8zzAYgmgAQTQCIJgBEEwCixTUE69IOaXtWwwYgmgAQTQCIJgBEEwCixTUHGxubxfl8/n6Udujpu7fF+eOzZ4rz2c95ca4dOhkbgGgCQDQBIJoAEE0AiKYh+IvWd4da1dqb2vmHW+eLc+3QydgARBMAogkA0QSAaAJAtLivQ7eqtSW1dmjZHu3cLM5nlf8gY5gNQDQBIJoAEE0AiCYARPM+yIq0vlM0u7tXnPteUF82ANEEgGgCQDQBIJoAEE1DMLLWdkjb05cNQDQBIJoAEE0AiCYARNMc/KNq7ZC2py8bgGgCQDQBIJoAEE0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACDOH2CUp5gTyjFIAAAAAElFTkSuQmCC",Ai="./assets/presence_v2.d5ab8334.png",oi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAA2NJREFUeJzt3bFqVEEYBeCNSGoLCfgGdmkshCC+QBotrBQsRHt7X8FSMFoIWllok0ZQQ5AVCxtBEEQhYCGIqJWBNLFICov5N85ykzU531cOy2QgHH72cO/saAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQaG7WBzistre/b8/6DH+bmzvpfzmFY7M+AMySABBNAIgmAEQTAKIdn/UB/ndV27M0d/WATzJZdU7t0GQmANEEgGgCQDQBIJoAEE0LtKu37VnbONVcn39+b7Az9ajOqR2azAQgmgAQTQCIJgBEEwCixbVA+932LF1bnu5g/+jOldXm+vh+e107NJkJQDQBIJoAEE0AiCYARItrgYZStT3j7Qf7+3eLVmd8vt0CMZkJQDQBIJoAEE0AiCYARNMCDaxsaTrbod57h96td32cXSYA0QSAaAJANAEgmgAQTQu0hw+32m9+jTd/N9e/vX3TXO9tdcabj7v2/7riWaBpmABEEwCiCQDRBIBoAkA0LdAeFlfabc9o/Vlz+cSXjeb601c3m+sLZ84Osv/o+sv2+sPb7XVGo5EJQDgBIJoAEE0AiCYARNMCTWmramMKZdsz0P6Vqn1ya/QOE4BoAkA0ASCaABBNAIh2ZFug3t8Cq97AqsxfvtFc33p0t2ufXr9OL+7r/mlMAKIJANEEgGgCQDQBINqhf75jsLaneAOreianaoGGUt3/U3q91t7nx8/m+sLyxeb6hXPtN8iq260P+zNCJgDRBIBoAkA0ASCaABDtyD4L1GuoN7BKRcv0fu1Fc71qaSpV28NkJgDRBIBoAkA0ASCaABBNC7RrqDe8qs9//PS5a59vq0+a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yaPPi+ujZ2Cq7Up1/7vTy/KeRjp7f7K4Xv2eZ2uHnABEEwCiCQDRBIBoAkC0g3kv0JdXHxfXzy8eL65XW5pWm1FtpVpa+99sltuV0e6++bC4/uDF8pNrb0+Xr1Od0ZqNE4BoAkA0ASCaABBNAIg2XQtUbWN2m1o71FJte9qtDofECUA0ASCaABBNAIgmAEQ7mCfCzu58G7qf3dfbUfftpbX/VpvniTCYiAAQTQCIJgBEEwCiDf9FXm171lKdQTr0+/bivUBwwASAaAJANAEgmgAQbbpZIPgfvdokJwDRBIBoAkA0ASCaABBtqrkM/qjOUM32NubR/1DfUm2HnABEEwCiCQDRBIBoAkC06d4OzXHo1UqNbr2cAEQTAKIJANEEgGgCQDQt0JGrtiijW5fqjNDoGScnANEEgGgCQDQBIJoAEE0LxJWqtjpmgWAgASCaABBNAIgmAETTAh2J0TM/vT5fZRYIBhIAogkA0QSAaAJANG+HnpT/UPs7/xEGHQgA0QSAaAJANAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK7ILzj6vECOPLAcAAAAAElFTkSuQmCC";const Ra=e=>(De("data-v-61e2b6c0"),e=e(),Ue(),e),fi=["ondragend","ondragenter","ondragleave","ondragover","ondrop"],vi={key:0,class:"move-indicator"},hi=Ra(()=>d("span",{class:"material-icons"},"straight",-1)),pi=[hi],bi={key:1,class:"move-indicator"},yi=Ra(()=>d("span",{class:"material-icons"},"merge",-1)),Ci=[yi],Bi={key:2,class:"character-display"},Ei=["src"],Ni={key:3,class:"relevancy-display"},Qi=["src"],Ii={key:4,class:"presence-display"},wi=["src"],Si={key:5,class:"frozen"},_i=["src"],Ti={key:6,class:"level-display"},ki=["src"],Mi=["src"],Pi=["src"],Di=["src"],Ui=["src"],Vi=["src"];var Oi=x({__name:"CharacterSlot",props:{id:null,character:null,isSelected:{type:Boolean},isShop:{type:Boolean},isDragging:{type:Boolean},selected:null,shake:{type:Boolean},frozen:{type:Boolean}},emits:["dragstart","dragend","drop"],setup(e,{emit:t}){const a=e,n=Q(!1),r=Q(!1),s=Q(void 0);function i(c){var m;n.value=!0,(m=c.dataTransfer)==null||m.setDragImage(s.value,0,0)}Be(n,c=>{t(c?"dragstart":"dragend")});const o=be("");return Tt(()=>{if(a.character==null||a.selected!=null||n.value){o.value="";return}const c=de(K[a.character.type].abilityDescription(a.character));o.value=X(()=>A(Y,null,[A("b",null,[K[a.character.type].nickname]),A("br",null,null),A(c,null,null)]))}),(c,m)=>(f(),F(j,{display:l(o),direction:l(Z).Up},{default:M(()=>{var b,p,y;return[d("div",{class:H(["character",{selected:e.isSelected,empty:e.character==null&&e.selected==null,dragging:n.value,isDragging:e.isDragging,draggingOver:r.value,shake:e.shake}]),draggable:"true",ondragstart:i,ondragend:()=>n.value=!1,ondragenter:()=>r.value=!0,ondragleave:()=>r.value=!1,ondragover:C=>{var I;e.selected!=null&&!e.isShop&&(((I=e.character)==null?void 0:I.type)!==e.selected.type||e.isSelected)&&C.preventDefault(),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6&&C.preventDefault()},ondrop:()=>{r.value=!1,t("drop")}},[e.selected!=null&&!e.isShop&&(((b=e.character)==null?void 0:b.type)!==e.selected.type||e.isSelected)&&n.value===!1?(f(),B("span",vi,pi)):T("",!0),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6?(f(),B("span",bi,Ci)):T("",!0),e.character!=null?(f(),B("span",Bi,[d("img",{ref_key:"imageElement",ref:s,src:l(K)[e.character.type].display},null,8,Ei)])):T("",!0),e.character!=null?(f(),B("span",Ni,[d("img",{src:l(ii)},null,8,Qi),d("span",null,q((p=e.character)==null?void 0:p.relevancy),1)])):T("",!0),e.character!=null?(f(),B("span",Ii,[d("img",{src:l(Ai)},null,8,wi),d("span",null,q((y=e.character)==null?void 0:y.presence),1)])):T("",!0),e.character!=null&&e.frozen?(f(),B("span",Si,[d("img",{src:l(oi)},null,8,_i)])):T("",!0),e.character!=null?(f(),B("span",Ti,[e.character.exp===1?(f(),B("img",{key:0,src:l(li)},null,8,ki)):T("",!0),e.character.exp===2?(f(),B("img",{key:1,src:l(ui)},null,8,Mi)):T("",!0),e.character.exp===3?(f(),B("img",{key:2,src:l(ci)},null,8,Pi)):T("",!0),e.character.exp===4?(f(),B("img",{key:3,src:l(di)},null,8,Di)):T("",!0),e.character.exp===5?(f(),B("img",{key:4,src:l(gi)},null,8,Ui)):T("",!0),e.character.exp===6?(f(),B("img",{key:5,src:l(mi)},null,8,Vi)):T("",!0)])):T("",!0),e.id?(f(),F(si,{key:7,id:e.id},null,8,["id"])):T("",!0)],10,fi)]}),_:1},8,["display","direction"]))}});var _e=L(Oi,[["__scopeId","data-v-61e2b6c0"]]);const Ri={min:1.5,max:2.5},qi=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],Fi=.001,zi=.1,xi=100,Ji=!0,Gi={x:0,y:0},Li=!1,Xi=[{type:"alpha",config:{alpha:{list:[{time:0,value:.74},{time:1,value:0}]}}},{type:"moveAcceleration",config:{accel:{x:0,y:2e3},minStart:600,maxStart:600,rotate:!0}},{type:"scale",config:{scale:{list:[{time:0,value:.5},{time:1,value:.25}]},minMult:1}},{type:"color",config:{color:{list:[{time:0,value:"#962121"},{time:.5,value:"#214a96"},{time:1,value:"#4c2196"}]}}},{type:"rotation",config:{accel:0,minSpeed:0,maxSpeed:200,minStart:0,maxStart:360}},{type:"textureRandom",config:{textures:["particle.png"]}},{type:"spawnShape",config:{type:"torus",data:{radius:100,x:0,y:0}}}];var Wi={lifetime:Ri,ease:qi,frequency:Fi,emitterLifetime:zi,maxParticles:xi,addAtBack:Ji,pos:Gi,emit:Li,behaviors:Xi};function Te(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Ya(e)}const K={coots:{nickname:"Coots",initialRelevancy:3,initialPresence:1,display:Ks,abilityType:"LivestreamJoined",abilityDescription:e=>X(()=>A(Y,null,[A("i",null,[h("Livestream joined")]),h(": Deal "),e.exp>=6?6:e.exp>=3?4:2," ",A("img",{src:ze},null),A("span",{style:"color: red"},[h("Relevancy")]),h(" damage to every character on a stream")])),performAbility(e){if(v.battle.value==null)return;const t=e.exp>=6?6:e.exp>=3?4:2;v.battle.value.streamers.forEach(a=>a.relevancy-=t),v.battle.value.enemyStreamers.forEach(a=>a.relevancy-=t)}},ludwig:{nickname:"Ludwig Coots",initialRelevancy:2,initialPresence:1,display:Ls,abilityType:"LivestreamJoined",abilityDescription:e=>X(()=>A(Y,null,[A("i",null,[h("Livestream joined")]),h(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",A("img",{src:We},null),A("span",{style:"color: gold"},[h("Presence")]),h(" for every character on that livestream")])),performAbility(e){if(v.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;v.battle.value.streamers.includes(e)?e.presence+=t*v.battle.value.streamers.length:e.presence+=t*v.battle.value.enemyStreamers.length}},qt:{nickname:"Qt Coots",initialRelevancy:1,initialPresence:2,display:Hs,abilityType:"Sold",abilityDescription:e=>X(()=>A(Y,null,[A("i",null,[h("Sold")]),h(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",A("img",{src:Ke},null),A("span",{style:"color: yellow"},[h("Mogul"),e.exp>=3?"s":""])])),performAbility(e){const t=e.exp>=6?3:e.exp>=3?2:1;v.gold.value+=t}},maid:{nickname:"Maid Coots",initialRelevancy:2,initialPresence:2,display:Xs,abilityType:"LevelUp",abilityDescription:e=>X(()=>A(Y,null,[A("i",null,[h("Level up")]),h(": Every character gains "),e.exp>=3?2:1," ",A("img",{src:ze},null),A("span",{style:"color: red"},[h("Relevancy")]),h(" and "),A("img",{src:We},null),A("span",{style:"color: gold"},[h("Presence")])])),performAbility(e){const t=e.exp>=6?2:1;v.team.value.forEach(a=>{a&&(a.relevancy+=t,a.presence+=t)})}},mail:{nickname:"Mogul Mail Coots",initialRelevancy:1,initialPresence:1,display:Ws,abilityType:"LivestreamJoined",abilityDescription:e=>X(()=>A(Y,null,[A("i",null,[h("Livestream joined")]),h(": Summon a lv")," ",e.exp>=6?3:e.exp>=3?2:1,h(" Ludwig Coots with this character's"),A("img",{src:ze},null),A("span",{style:"color: red"},[h("Relevancy")]),h(" and "),A("img",{src:We},null),A("span",{style:"color: gold"},[h("Presence")]),h(".")])),performAbility(e){if(v.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1,a={type:"ludwig",exp:t===3?6:t===2?3:1,presence:e.presence,relevancy:e.relevancy};v.queue.value.push({action:"LivestreamJoined",target:a}),v.battle.value.streamers.includes(e)?v.battle.value.streamers.push(a):v.battle.value.enemyStreamers.push(a)}},stanz:{nickname:"Stanz Coots",initialRelevancy:1,initialPresence:1,display:ti,abilityType:"LivestreamEnded",abilityDescription:e=>X(()=>A(Y,null,[A("i",null,[h("Livestream ended")]),h(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",A("img",{src:ze},null),A("span",{style:"color: red"},[h("Relevancy")]),h(" for every character on either livestream with more "),A("img",{src:ze},null),A("span",{style:"color: red"},[h("Relevancy")]),h(".")])),performAbility(e){if(v.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;e.relevancy+=t*(v.battle.value.streamers.filter(a=>a.relevancya.relevancyX(()=>A(Y,null,[A("i",null,[h("Stream started")]),h(": Permanently gain")," ",e.exp>=6?3:e.exp>=3?2:1,h(" "),A("img",{src:We},null),A("span",{style:"color: gold"},[h("Presence")]),h(" if you have 2 or more"),A("img",{src:Ke},null),A("span",{style:"color: yellow"},[h("Moguls")]),h(".")])),performAbility(e){if(v.gold.value>=2){const t=e.exp>=6?3:e.exp>=3?2:1;e.presence+=t}}},vespa:{nickname:"Vespa Coots",initialRelevancy:1,initialPresence:1,display:ni,abilityType:"LivestreamJoined",abilityDescription:()=>X(()=>A(Y,null,[A("i",null,[h("Livestream joined")]),h(": Set the character that most recently joined the enemy livestream's "),A("img",{src:We},null),A("span",{style:"color: gold"},[h("Presence")]),h(" to 0. This effect does not improve on level up.")])),performAbility(e){v.battle.value!=null&&(v.battle.value.streamers.includes(e)?v.battle.value.enemyStreamers.length>0&&(v.battle.value.enemyStreamers[v.battle.value.enemyStreamers.length-1].presence=0):v.battle.value.streamers.length>0&&(v.battle.value.streamers[v.battle.value.streamers.length-1].presence=0))}}},v=Sa("main",function(){const e=Q(3),t=Q(0),a=Q(0),n=Q(0),r=Q([null,null,null]),s=Q([]),i=Q(null),o=Q(null),c=Q(!1),m=Q(""),b=Q(!1),p=Q(!1),y=Q(!1),C=Q([]),I=Q([]),S=Q(!1),_=Q(null),$=V(()=>_.value==null?0:_.value.streamers.reduce((se,ie)=>se+Math.max(0,ie.presence)*Math.max(0,ie.relevancy),0)*100),E=V(()=>_.value==null?0:_.value.enemyStreamers.reduce((se,ie)=>se+Math.max(0,ie.presence)*Math.max(0,ie.relevancy),0)*100),w=zs(()=>({onReset(){e.value=3,t.value=0,a.value=0,n.value=0,r.value=[null,null,null],s.value=[],i.value=null,o.value=null,c.value=!1,_.value=null,m.value="",b.value=!1,y.value=!1,C.value=[],I.value=[]}})),R=Q(!1);function ne(){var se,ie;if(_.value==null)throw"Preparing move while not in battle";if(C.value.length===0&&_.value.team.length===0&&_.value.enemyTeam.length===0){if(_.value.ranLivestreamEnded===!1){_.value.streamers.forEach(U=>{K[U.type].abilityType==="LivestreamEnded"&&C.value.push({action:"LivestreamEnded",target:U})}),_.value.enemyStreamers.forEach(U=>{K[U.type].abilityType==="LivestreamEnded"&&C.value.push({action:"LivestreamEnded",target:U})}),_.value.ranLivestreamEnded=!0,ne();return}m.value==="Victory"?t.value++:m.value==="Defeat"&&e.value--,b.value=!0;return}if(C.value.length===0?C.value.push({action:"join"}):C.value.length>1&&(C.value=C.value.sort((U,O)=>U.action!==O.action?1:U.target!=null&&O.target!=null?O.target.relevancy-U.target.relevancy:0)),P.autoplay===!1&&y.value===!1)p.value=!0;else{p.value=!1;const U=C.value.shift();switch(U.action){case"join":if(((se=_.value.team.length)!=null?se:0)>0){const O=_.value.team.pop();_.value.streamers.push(O),K[O.type].abilityType==="LivestreamJoined"&&C.value.unshift({action:"LivestreamJoined",target:O})}if(((ie=_.value.enemyTeam.length)!=null?ie:0)>0){const O=_.value.enemyTeam.pop();_.value.enemyStreamers.push(O),K[O.type].abilityType==="LivestreamJoined"&&C.value.unshift({action:"LivestreamJoined",target:O})}break;default:if(U.target==null){console.error("Invalid action",U);break}K[U.target.type].performAbility(U.target);break}y.value=!1,setTimeout(ne,P.fast?750:1250)}}const ye=qs(()=>({fullscreen:!1,zIndex:10,boundingRect:Q(null),onContainerResized(se){this.boundingRect.value=se}}));return{name:"Game",minimizable:!1,display:X(()=>{let se,ie;if(t.value>=5){let U;return A("div",{class:"total-outcome-container"},[A("span",{class:"total-outcome"},[h("You Won!")]),A("span",{class:"smiley"},[h("\u{1F603}")]),A(Se,null,Te(U=new Array(3).fill(0).map((O,Ae)=>A(_e,{character:r.value[Ae]},null)))?U:{default:()=>[U]}),A("button",{class:"button",onClick:()=>location.reload()},[h("Play again")]),$e(ye)])}if(e.value<=0){let U;return A("div",{class:"total-outcome-container"},[A("span",{class:"total-outcome"},[h("You ran out of lives!")]),A("span",{class:"smiley"},[h("\u{1F630}")]),A(Se,null,Te(U=new Array(3).fill(0).map((O,Ae)=>A(_e,{character:r.value[Ae]},null)))?U:{default:()=>[U]}),A("button",{class:"button",onClick:()=>location.reload()},[h("Play again")]),$e(ye)])}if(_.value!=null){let U,O,Ae,Xe;return A("div",{class:{["battle-container"]:!0,fast:P.fast}},[A("div",{class:"battle-controls"},[A("button",{class:"button",onClick:()=>{y.value=!0,ne()}},[A("img",{src:js},null)]),A("button",{class:{button:!0,active:P.autoplay},onClick:()=>{P.autoplay=!P.autoplay,p.value&&ne()}},[A("img",{src:xs},null)]),A("button",{class:{button:!0,active:P.fast},onClick:()=>P.fast=!P.fast},[A("img",{src:Js},null)])]),A("div",{class:"teams-container",style:b.value?"pointer-events: none;":""},[A("div",{class:"team-container"},[A("div",{class:"stream-container"},[A("div",{class:"stream-details",style:"left: 1vmin"},[A("span",null,[xt.value,h(" (YOU)")]),A("div",{class:"stats"},[A("div",{class:"resource-box lives"},[e.value]),A("div",{class:"resource-box wins"},[t.value,h("/5")]),A("div",{class:"view-counter"},[qt($.value),h(" Views")])])]),A(Se,{class:"streamers-container"},{default:()=>[A(yt,{name:"character-transition"},Te(U=_.value.streamers.slice().reverse().map((me,Oe)=>{var fe;return A(_e,{key:_.value.streamers.length-Oe,character:me,shake:p.value&&((fe=C.value[0])==null?void 0:fe.target)===me},null)}))?U:{default:()=>[U]})]})]),A(Aa,{class:"members-container"},{default:()=>[A(yt,{name:"character-transition"},Te(O=_.value.team.map((me,Oe)=>{var fe,st,it,At;return A(_e,{character:me,key:Oe,shake:p.value&&((fe=C.value[0])==null?void 0:fe.action)==="join"&&me===((At=_.value)==null?void 0:At.team[((it=(st=_.value)==null?void 0:st.team.length)!=null?it:0)-1])},null)}))?O:{default:()=>[O]})]})]),A("div",{class:"team-container"},[A("div",{class:"stream-container"},[A("div",{class:"stream-details",style:"right: 1vmin"},[A("span",null,[_.value.enemyNickname]),A("div",{class:"stats",style:"margin-right: 0"},[A("div",{class:"resource-box lives"},[_.value.enemyLives]),A("div",{class:"resource-box wins"},[_.value.enemyWins,h("/5")]),A("div",{class:"view-counter"},[qt(E.value),h(" Views")])])]),A(Se,{class:"streamers-container"},{default:()=>[A(yt,{name:"character-transition"},Te(Ae=_.value.enemyStreamers.map((me,Oe)=>{var fe;return A(_e,{key:Oe,character:me,shake:p.value&&((fe=C.value[0])==null?void 0:fe.target)===me},null)}))?Ae:{default:()=>[Ae]})]})]),A(Aa,{class:"members-container"},{default:()=>[A(yt,{name:"character-transition"},Te(Xe=_.value.enemyTeam.map((me,Oe)=>{var fe,st,it,At;return A(_e,{character:me,key:_.value.enemyStreamers.length+Oe,shake:p.value&&((fe=C.value[0])==null?void 0:fe.action)==="join"&&me===((At=_.value)==null?void 0:At.enemyTeam[((it=(st=_.value)==null?void 0:st.enemyTeam.length)!=null?it:0)-1])},null)}))?Xe:{default:()=>[Xe]})]})])]),b.value?A("div",{class:"outcome",onClick:()=>he("newTurn")},[A("span",null,[m.value]),A("span",{style:"font-size: 2vmin"},[h("Next Turn")])]):null])}return A("div",{class:"game-container",style:c.value?"pointer-events: none":"",onClick:()=>{i.value=null,o.value=null}},[A("h2",{class:"team-nickname"},[xt.value]),A(Se,{class:"manager-header"},{default:()=>[A("div",{class:"resource-box moguls"},[n.value]),A("div",{class:"resource-box lives"},[e.value]),A("div",{class:"resource-box wins"},[t.value,h("/5")]),A("div",{style:"flex-grow: 1"},null),c.value?A("div",{class:"waiting"},[h("Finding opposing team...")]):A("img",{class:"startStream",draggable:"false",onClick:()=>{he("stream"),c.value=!0},src:ai},null)]}),A("div",{style:"flex-grow: 1"},null),A(Se,{style:"margin-top: 10vh"},Te(se=new Array(3).fill(0).map((U,O)=>{var Ae,Xe;return A(_e,{id:`team-char-${O}`,character:r.value[O],isSelected:i.value===O,selected:i.value==null?o.value==null||r.value[O]!=null&&((Ae=s.value[o.value])==null?void 0:Ae.type)!==((Xe=r.value[O])==null?void 0:Xe.type)||n.value<3?null:s.value[o.value]:r.value[i.value],isDragging:R.value,onClick:oa(O),onDragstart:()=>{R.value=!0,i.value=O,o.value=null},onDragend:()=>{R.value=!1,i.value=null,o.value=null},onDrop:()=>oa(O)()},null)}))?se:{default:()=>[se]}),A(Se,{style:"margin-top: 10vh;"},{default:()=>[i.value!=null?A(j,{display:"Sell Coots"},{default:()=>[A("div",{class:"reroll",onDragover:U=>U.preventDefault(),onClick:()=>he("sell",i.value),onDrop:()=>he("sell",i.value)},[A("img",{src:ei},null)])]}):o.value!=null?A(j,{display:"Freeze Coots"},{default:()=>[A("div",{class:"reroll",onDragover:U=>U.preventDefault(),onClick:()=>he("freeze",o.value),onDrop:()=>he("freeze",o.value)},[A("img",{src:Gs},null)])]}):A(j,{display:"Re-roll store"},{default:()=>[A("div",{class:"reroll",style:n.value>0?"":"color: var(--locked); cursor: not-allowed",onClick:()=>{n.value>0&&he("reroll")}},[A("img",{src:S.value?Zs:$s},null)])]}),A(Se,{class:"shop"},Te(ie=s.value.map((U,O)=>A(_e,{id:`shop-char-${O}`,frozen:I.value.includes(O),character:U==null?void 0:U,isSelected:o.value===O,isShop:!0,isDragging:R.value,onClick:Ae=>{U!=null&&(o.value=o.value===O?null:O,i.value=null,Ae.stopPropagation())},onDragstart:()=>{R.value=!0,i.value=null,o.value=O},onDragend:()=>{R.value=!1,i.value=null,o.value=null}},null)))?ie:{default:()=>[ie]})]}),$e(ye)])}),lives:e,wins:t,turn:a,gold:n,team:r,shop:s,selectedCharacter:i,selectedShopItem:o,findingMatch:c,showingOutcome:b,outcome:m,reset:w,battle:_,frozen:I,playClicked:y,prepareMove:ne,particles:ye,queue:C,showRefreshAnim:S}});let Bt=0;te.on("update",e=>{if(v.wins.value>=5){if(Bt+=e,Bt>=1){Bt=0;const t=v.particles.boundingRect.value;if(!t)return;v.particles.addEmitter(Wi).then(a=>{a.updateOwnerPos(Math.random()*t.width,Math.random()*t.height),console.log(a),a.playOnceAndDestroy()})}}else Bt=0});function oa(e){return t=>{var a,n,r,s,i,o,c;v.selectedCharacter.value!=null&&v.selectedCharacter.value!==e?((a=v.team.value[v.selectedCharacter.value])==null?void 0:a.type)===((n=v.team.value[e])==null?void 0:n.type)&&((s=(r=v.team.value[v.selectedCharacter.value])==null?void 0:r.exp)!=null?s:0)<6&&((o=(i=v.team.value[e])==null?void 0:i.exp)!=null?o:0)<6?(he("merge",v.selectedCharacter.value,e),v.selectedCharacter.value=null):(he("move",v.selectedCharacter.value,e),v.selectedCharacter.value=null):v.selectedCharacter.value===e?v.selectedCharacter.value=null:v.selectedShopItem.value!==null?((v.team.value[e]==null||v.team.value[e].type===((c=v.shop.value[v.selectedShopItem.value])==null?void 0:c.type)&&v.team.value[e].exp<6)&&v.gold.value>=3&&he("buy",v.selectedShopItem.value,e),v.selectedShopItem.value=null):v.selectedCharacter.value=e,t==null||t.stopPropagation()}}const Yi=e=>[v],qa=V(()=>!1);function Ki(e,t){}var ji=Object.freeze(Object.defineProperty({__proto__:null,characters:K,main:v,getInitialLayers:Yi,hasWon:qa,fixOldSave:Ki},Symbol.toStringTag,{value:"Module"}));const ft=Q(!1),xt=Q(""),et=Q(""),tt=Q(""),la=ma(),Ye=Q(),at=Q("");function he(e,...t){var a;!ft.value||(a=Ye.value)==null||a.emit(e,...t)}te.on("loadSettings",e=>{Ge(e,"server","https://Super-Auto-Coots.thepaperpilot.repl.co"),Be(()=>e.server,t=>{Ye.value&&Ye.value.close(),Ye.value=en(t),Hi(Ye.value),ft.value=!1,at.value="",Ye.value.connect()},{immediate:!0}),Tr(X(()=>A(Y,null,[A(mt,{title:"Server URL","onUpdate:modelValue":t=>e.server=t,modelValue:e.server},null),A("div",{style:"font-style: italic; font-size: small; margin-top: -10px;"},[ft.value?A("span",null,[h("Connected!")]):at.value?A("span",{style:"color: red"},[at.value]):A("span",null,[h("Connecting...")])])])))});function Qe(e){var n;const t=v.particles.boundingRect.value;if(!t)return;const a=(n=v.nodes.value[e])==null?void 0:n.rect;a&&v.particles.addEmitter(Ds).then(r=>{r.updateOwnerPos(a.x+a.width/2-t.x,a.y+a.height/2-t.y),r.playOnceAndDestroy()})}function Hi(e){e.on("connect",()=>{at.value="",ft.value=!0,v.reset.reset(),et.value="",tt.value="",P.privateRoomName&&e.emit("change room",P.privateRoomName,P.privateRoomPassword)}),e.on("connect_error",t=>{at.value=`${t.name}: ${t.message}`}),e.on("disconnect",(t,a)=>{var n;at.value=a instanceof Error?`${a.name}: ${a.message}`:(n=a==null?void 0:a.description)!=null?n:t,ft.value=!1}),e.on("server version",t=>{$a(J.versionNumber,t)||(la.info("Server only accepts game versions in range: "+t),e.disconnect())}),e.on("info",t=>{la.info(t),t==="Failed to start streaming"&&(v.findingMatch.value=!1)}),e.on("nickname",t=>{xt.value=t}),e.on("newTurn",t=>{v.gold.value=10,v.turn.value++,v.battle.value=null,v.shop.value=t.map(a=>({type:a,relevancy:K[a].initialRelevancy,presence:K[a].initialPresence,exp:1})),v.frozen.value=v.frozen.value.map((a,n)=>n),setTimeout(()=>{t.forEach((a,n)=>Qe(`shop-char-${n}`))},0),v.showRefreshAnim.value=!0,setTimeout(()=>v.showRefreshAnim.value=!1,500)}),e.on("reroll",t=>{v.gold.value--,v.shop.value=t.map(a=>({type:a,relevancy:K[a].initialRelevancy,presence:K[a].initialPresence,exp:1})),v.frozen.value=v.frozen.value.map((a,n)=>n),setTimeout(()=>{t.forEach((a,n)=>Qe(`shop-char-${n}`))},0),v.showRefreshAnim.value=!0,setTimeout(()=>v.showRefreshAnim.value=!1,500)}),e.on("buy",(t,a,n)=>{v.team.value[a]=n,v.shop.value[t]=null,v.gold.value-=3,Qe(`shop-char-${t}`),Qe(`team-char-${a}`),v.frozen.value.includes(t)&&(v.frozen.value=v.frozen.value.filter(r=>r!==t))}),e.on("move",(t,a)=>{const n=v.team.value[t];v.team.value[t]=v.team.value[a],v.team.value[a]=n,Qe(`team-char-${t}`),Qe(`team-char-${a}`)}),e.on("merge",(t,a,n)=>{var o,c;const r=(c=(o=v.team.value[a])==null?void 0:o.exp)!=null?c:0,s=r>=6?3:r>=3?2:1,i=n.exp>=6?3:n.exp>=3?2:1;v.team.value[t]=null,v.team.value[a]=n,Qe(`team-char-${t}`),Qe(`team-char-${a}`),K[n.type].abilityType==="LevelUp"&&s!==i&&setTimeout(()=>K[n.type].performAbility(n),1250)}),e.on("stream",(t,a)=>{let n=!1;v.team.value.forEach(r=>{r!=null&&K[r.type].abilityType==="StreamStarted"&&(n=!0,K[r.type].performAbility(r))}),n?setTimeout(()=>ua(t,a)):ua(t,a)}),e.on("sell",t=>{const a=v.team.value[t];let n;a.exp>=6?n=3:a.exp>=3?n=2:n=1,v.gold.value+=n,v.team.value[t]=null,Qe(`team-char-${t}`),K[a.type].abilityType==="Sold"&&setTimeout(()=>K[a.type].performAbility(a),500)}),e.on("freeze",t=>{v.frozen.value.includes(t)?v.frozen.value=v.frozen.value.filter(a=>a!==t):v.frozen.value.push(t)}),e.on("room",t=>{v.reset.reset(),et.value=t,tt.value=""}),e.on("room failed",t=>{et.value="",tt.value=t})}function ua(e,t){v.findingMatch.value=!1,v.battle.value={team:JSON.parse(JSON.stringify(v.team.value.filter(a=>a!=null))),streamers:[],enemyTeam:e.team,enemyStreamers:[],enemyNickname:e.nickname,enemyLives:e.lives,enemyWins:e.wins,enemyTurn:e.turn,ranLivestreamEnded:!1},v.outcome.value=t,v.showingOutcome.value=!1,v.playClicked.value=!1,setTimeout(v.prepareMove,1e3)}const Zi=d("h2",null,"Settings",-1),$i={key:1,style:{color:"red"}};var eA=x({__name:"Options",setup(e,{expose:t}){const a=Q(!1),n=Q("behaviour");function r(b){return b==n.value}function s(b){n.value=b}t({isTab:r,setTab:s,save:le,open(){a.value=!0}});const i=V(()=>de(X(()=>A(Y,null,[Pa.map($e)])))),{privateRoomName:o,privateRoomPassword:c}=Ne(P);function m(){tt.value="",he("change room",P.privateRoomName,P.privateRoomPassword)}return(b,p)=>(f(),F(Ve,{modelValue:a.value,"onUpdate:modelValue":p[2]||(p[2]=y=>a.value=y)},{header:M(()=>[Zi]),body:M(()=>[(f(),F(re(l(i)))),A(mt,{title:"Private room name",modelValue:l(o),"onUpdate:modelValue":p[0]||(p[0]=y=>ce(o)?o.value=y:null)},null,8,["modelValue"]),A(mt,{title:"Private room PW",password:!0,modelValue:l(c),"onUpdate:modelValue":p[1]||(p[1]=y=>ce(c)?c.value=y:null)},null,8,["modelValue"]),d("div",null,"Currently in: "+q(l(et)?l(et):"Public lobby")+".",1),l(et)!==l(o)?(f(),B("button",{key:0,class:"button",style:{padding:"1em"},onClick:m},"Connect to "+q(l(o)||"Public Lobby"),1)):T("",!0),l(tt)?(f(),B("div",$i,q(l(tt)),1)):T("",!0)]),_:1},8,["modelValue"]))}});const tA={class:"field"},aA={key:0,class:"field-title"},nA=x({__name:"Select",props:{title:null,modelValue:null,options:null,placeholder:null,closeOnSelect:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){var i;const a=e,n=Pt(Pe(a,"title"),"span"),r=Q((i=a.options.find(o=>o.value===a.modelValue))!=null?i:null);Be(Pe(a,"modelValue"),o=>{var c;pe(r)!==o&&(r.value=(c=a.options.find(m=>m.value===o))!=null?c:null)});function s(o){t("update:modelValue",o.value)}return(o,c)=>(f(),B("div",tA,[l(n)?(f(),B("span",aA,[(f(),F(re(l(n))))])):T("",!0),A(l(An),{options:e.options,modelValue:r.value,"onUpdate:modelValue":[c[0]||(c[0]=m=>r.value=m),s],min:1,"label-by":"label",placeholder:e.placeholder,"close-on-select":e.closeOnSelect},null,8,["options","modelValue","placeholder","close-on-select"])]))}});const rA={key:0},sA=["onClick","disabled"],iA={key:0},AA=["onClick"],oA=x({__name:"DangerButton",props:{disabled:{type:Boolean},skipConfirm:{type:Boolean}},emits:["click","confirmingChanged"],setup(e,{emit:t}){const n=Ne(e),r=Q(!1);Be(r,o=>{t("confirmingChanged",o)});function s(){if(l(n.skipConfirm)){t("click");return}r.value&&t("click"),r.value=!r.value}function i(){r.value=!1}return(o,c)=>(f(),B("span",{class:H(["container",{confirming:r.value}])},[r.value?(f(),B("span",rA,"Are you sure?")):T("",!0),d("button",{onClick:ut(s,["stop"]),class:"button danger",disabled:e.disabled},[r.value?(f(),B("span",iA,"Yes")):Ce(o.$slots,"default",{key:1},void 0,!0)],8,sA),r.value?(f(),B("button",{key:1,class:"button",onClick:ut(i,["stop"])},"No",8,AA)):T("",!0)],2))}});var lA=L(oA,[["__scopeId","data-v-2f8ef34c"]]);const uA=["onClick"],cA=x({__name:"FeedbackButton",props:{left:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const a=Q(!1),n=Q(null);function r(){t("click"),n.value&&clearTimeout(n.value),a.value=!1,Me(()=>{a.value=!0,n.value=setTimeout(()=>a.value=!1,500)})}return(s,i)=>(f(),B("button",{onClick:ut(r,["stop"]),class:H(["feedback",{activated:a.value,left:e.left}])},[Ce(s.$slots,"default",{},void 0,!0)],10,uA))}});var dA=L(cA,[["__scopeId","data-v-01a1b95c"]]);const Ie=e=>(De("data-v-c3447434"),e=e(),Ue(),e),gA=Ie(()=>d("div",{class:"handle material-icons"},"drag_handle",-1)),mA={key:0,class:"actions"},fA=Ie(()=>d("span",{class:"material-icons"},"content_paste",-1)),vA=Ie(()=>d("span",{class:"material-icons"},"content_copy",-1)),hA=Ie(()=>d("span",{class:"material-icons"},"edit",-1)),pA=Ie(()=>d("span",{class:"material-icons",style:{margin:"-2px"}},"delete",-1)),bA={key:1,class:"actions"},yA=Ie(()=>d("span",{class:"material-icons"},"check",-1)),CA=Ie(()=>d("span",{class:"material-icons"},"close",-1)),BA={key:2,class:"details"},EA={class:"save-version"},NA=Ie(()=>d("br",null,null,-1)),QA={key:0},IA={key:3,class:"details"},wA={key:4,class:"details error"},SA=Ie(()=>d("br",null,null,-1)),_A=x({__name:"Save",props:{save:null},emits:["export","open","duplicate","delete","editName"],setup(e,{emit:t}){const a=e,{save:n}=Ne(a),r=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),s=Q(!1),i=Q(!1),o=Q("");Be(s,()=>{var p;return o.value=(p=n.value.name)!=null?p:""});const c=V(()=>n.value!=null&&n.value.id===z.id),m=V(()=>{var p;return c.value?z.time:(p=n.value!=null&&n.value.time)!=null?p:0});function b(){t("editName",o.value),s.value=!1}return(p,y)=>(f(),B("div",{class:H(["save",{active:l(c)}])},[gA,s.value?(f(),B("div",bA,[d("button",{onClick:b,class:"button"},[A(j,{display:"Save",direction:l(Z).Left,class:"info"},{default:M(()=>[yA]),_:1},8,["direction"])]),d("button",{onClick:y[5]||(y[5]=C=>s.value=!s.value),class:"button"},[A(j,{display:"Cancel",direction:l(Z).Left,class:"info"},{default:M(()=>[CA]),_:1},8,["direction"])])])):(f(),B("div",mA,[l(n).error==null&&!i.value?(f(),F(dA,{key:0,onClick:y[0]||(y[0]=C=>t("export")),class:"button",left:""},{default:M(()=>[A(j,{display:"Export",direction:l(Z).Left,class:"info"},{default:M(()=>[fA]),_:1},8,["direction"])]),_:1})):T("",!0),l(n).error==null&&!i.value?(f(),B("button",{key:1,onClick:y[1]||(y[1]=C=>t("duplicate")),class:"button"},[A(j,{display:"Duplicate",direction:l(Z).Left,class:"info"},{default:M(()=>[vA]),_:1},8,["direction"])])):T("",!0),l(n).error==null&&!i.value?(f(),B("button",{key:2,onClick:y[2]||(y[2]=C=>s.value=!s.value),class:"button"},[A(j,{display:"Edit Name",direction:l(Z).Left,class:"info"},{default:M(()=>[hA]),_:1},8,["direction"])])):T("",!0),A(lA,{disabled:l(c),onClick:y[3]||(y[3]=C=>t("delete")),onConfirmingChanged:y[4]||(y[4]=C=>i.value=C)},{default:M(()=>[A(j,{display:"Delete",direction:l(Z).Left,class:"info"},{default:M(()=>[pA]),_:1},8,["direction"])]),_:1},8,["disabled"])])),l(n).error==null&&!s.value?(f(),B("div",BA,[d("button",{class:"button open",onClick:y[6]||(y[6]=C=>t("open"))},[d("h3",null,q(l(n).name),1)]),d("span",EA,"v"+q(l(n).modVersion),1),NA,l(m)?(f(),B("div",QA,"Last played "+q(l(r).format(l(m))),1)):T("",!0)])):l(n).error==null&&s.value?(f(),B("div",IA,[A(mt,{modelValue:o.value,"onUpdate:modelValue":y[7]||(y[7]=C=>o.value=C),class:"editname",onSubmit:b},null,8,["modelValue"])])):(f(),B("div",wA,[h(" Error: Failed to load save with id "+q(l(n).id),1),SA,h(q(l(n).error),1)]))],2))}});var TA=L(_A,[["__scopeId","data-v-c3447434"]]);const Ht=e=>(De("data-v-5b5b1604"),e=e(),Ue(),e),kA=Ht(()=>d("h2",null,"Saves Manager",-1)),MA={class:"modal-footer"},PA={class:"field"},DA=Ht(()=>d("span",{class:"field-title"},"Create Save",-1)),UA={class:"field-buttons"},VA={class:"footer"},OA=Ht(()=>d("div",{style:{"flex-grow":"1"}},null,-1)),RA=x({__name:"SavesManager",setup(e,{expose:t}){const a=Q(!1),n=Q(null);t({open(){a.value=!0}});const r=Q(!1),s=Q(""),i=Q(null);Be(s,E=>{E?Me(()=>{try{if(E[0]!=="{")if(E[0]==="e")E=decodeURIComponent(escape(atob(E)));else if(E[0]==="\u1BE1")E=ke.decompressFromUTF16(E);else{console.warn("Unable to determine preset encoding",E),r.value=!0;return}const w=JSON.parse(E);if(typeof w!="object"){r.value=!0;return}const R=Et();w.id=R,le(w),s.value="",r.value=!1,P.saves.push(R)}catch{r.value=!0}}):r.value=!1});let o={},c=Q(Object.keys(o).reduce((E,w)=>(E.push({label:w.split("/").slice(-1)[0].slice(0,-4),value:o[w]}),E),[]));const m=Gt({});function b(E){if(m[E]==null){let w=localStorage.getItem(E);if(w==null)m[E]={error:"Save doesn't exist in localStorage",id:E};else if(w==="dW5kZWZpbmVk")m[E]={error:"Save is undefined",id:E};else try{if(w[0]!=="{")if(w[0]==="e")w=decodeURIComponent(escape(atob(w)));else if(w[0]==="\u1BE1")w=ke.decompressFromUTF16(w);else return console.warn("Unable to determine preset encoding",w),r.value=!0,m[E]={error:"Unable to determine preset encoding",id:E},m[E];m[E]={...JSON.parse(w),id:E}}catch(R){m[E]={error:R,id:E},console.warn(`SavesManager: Failed to load info about save with id ${E}: +${R} +${w}`)}}return m[E]}Be(a,E=>{E&&Object.keys(m).forEach(w=>delete m[w])});const p=V(()=>P.saves.reduce((E,w)=>(E[w]=b(w),E),{}));function y(E){let w;switch(z.id===E?w=Na(z):w=JSON.stringify(p.value[E]),J.exportEncoding){default:console.warn(`Unknown save encoding: ${J.exportEncoding}. Defaulting to lz`);case"lz":w=ke.compressToUTF16(w);break;case"base64":w=btoa(unescape(encodeURIComponent(w)));break;case"plain":break}const R=document.createElement("textarea");R.value=w,document.body.appendChild(R),R.select(),R.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(R)}function C(E){z.id===E&&le();const w={...p.value[E],id:Et()};le(w),P.saves.push(w.id)}function I(E){P.saves=P.saves.filter(w=>w!==E),localStorage.removeItem(E),m[E]=void 0}function S(E){p.value[z.id].time=z.time,le(),m[z.id]=void 0,Je(p.value[E]),m[E]=void 0}function _(E){if(i.value=E,Me(()=>{i.value=null}),E[0]!=="{")if(E[0]==="e")E=decodeURIComponent(escape(atob(E)));else if(E[0]==="\u1BE1")E=ke.decompressFromUTF16(E);else{console.warn("Unable to determine preset encoding",E);return}const w=JSON.parse(E);w.id=Et(),le(w),P.saves.push(w.id),S(w.id)}function $(E,w){const R=p.value[E];R!=null&&(R.name=w,z.id===E?(z.name=w,le()):(le(R),m[E]=void 0))}return(E,w)=>(f(),F(Ve,{modelValue:a.value,"onUpdate:modelValue":w[4]||(w[4]=R=>a.value=R),ref_key:"modal",ref:n},{header:M(()=>[kA]),body:M(({shown:R})=>[R?(f(),F(l(sn),{key:0,list:l(P).saves,handle:".handle",itemKey:ne=>ne},{item:M(({element:ne})=>[A(TA,{save:l(p)[ne],onOpen:ye=>S(ne),onExport:ye=>y(ne),onEditName:ye=>$(ne,ye),onDuplicate:ye=>C(ne),onDelete:ye=>I(ne)},null,8,["save","onOpen","onExport","onEditName","onDuplicate","onDelete"])]),_:1},8,["list","itemKey"])):T("",!0)]),footer:M(()=>[d("div",MA,[A(mt,{modelValue:s.value,"onUpdate:modelValue":w[0]||(w[0]=R=>s.value=R),title:"Import Save",placeholder:"Paste your save here!",class:H({importingFailed:r.value})},null,8,["modelValue","class"]),d("div",PA,[DA,d("div",UA,[d("button",{class:"button",onClick:w[1]||(w[1]=R=>S(l(Ze)().id))},"New Game"),Object.keys(l(c)).length>0?(f(),F(nA,{key:0,options:l(c),modelValue:i.value,"onUpdate:modelValue":w[2]||(w[2]=R=>_(R)),closeOnSelect:"",placeholder:"Select preset",class:"presets"},null,8,["options","modelValue"])):T("",!0)])]),d("div",VA,[OA,d("button",{class:"button modal-default-button",onClick:w[3]||(w[3]=R=>a.value=!1)}," Close ")])])]),_:1},8,["modelValue"]))}});var Fa=L(RA,[["__scopeId","data-v-5b5b1604"]]);const ge=e=>(De("data-v-d43b25a6"),e=e(),Ue(),e),qA=["src","alt"],FA={key:1,class:"title"},zA=ge(()=>d("div",{style:{"flex-grow":"1",cursor:"unset"}},null,-1)),xA={class:"discord"},JA={class:"discord-links"},GA={key:0},LA=["href"],XA=ge(()=>d("li",null,[d("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),WA=ge(()=>d("li",null,[d("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),YA={href:"https://forums.moddingtree.com/",target:"_blank"},KA=ge(()=>d("span",{class:"material-icons"},"forum",-1)),jA=ge(()=>d("span",{class:"material-icons"},"info",-1)),HA=ge(()=>d("span",{class:"material-icons"},"help",-1)),ZA=ge(()=>d("span",{class:"material-icons"},"settings",-1)),$A=ge(()=>d("span",{class:"material-icons"},"settings",-1)),eo=ge(()=>d("span",{class:"material-icons"},"info",-1)),to={href:"https://forums.moddingtree.com/",target:"_blank"},ao=ge(()=>d("span",{class:"material-icons"},"forum",-1)),no={class:"discord"},ro={class:"discord-links"},so={key:0},io=["href"],Ao=ge(()=>d("li",null,[d("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),oo=ge(()=>d("li",null,[d("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),lo=x({__name:"Nav",setup(e){const t=Q(null),a=Q(null),n=Q(null),r=Q(null),{useHeader:s,banner:i,title:o,discordName:c,discordLink:m,versionNumber:b}=J;function p(){window.open(m,"mywindow")}return(y,C)=>(f(),B(Y,null,[l(s)?(f(),B("div",nt({key:0,class:"nav"},y.$attrs),[l(i)?(f(),B("img",{key:0,src:l(i),class:"banner",alt:l(o)},null,8,qA)):(f(),B("div",FA,q(l(o)),1)),d("div",{onClick:C[0]||(C[0]=I=>{var S;return(S=r.value)==null?void 0:S.open()}),class:"version-container"},[A(j,{display:"Changelog",direction:l(Z).Down,class:"version"},{default:M(()=>[d("span",null,"v"+q(l(b)),1)]),_:1},8,["direction"])]),zA,d("div",xA,[d("span",{onClick:p,class:"material-icons"},"discord"),d("ul",JA,[l(m)?(f(),B("li",GA,[d("a",{href:l(m),target:"_blank"},q(l(c)),9,LA)])):T("",!0),XA,WA])]),d("div",null,[d("a",YA,[A(j,{display:"Forums",direction:l(Z).Down,yoffset:"5px"},{default:M(()=>[KA]),_:1},8,["direction"])])]),d("div",{onClick:C[1]||(C[1]=I=>{var S;return(S=t.value)==null?void 0:S.open()})},[A(j,{display:"Info",direction:l(Z).Down,class:"info"},{default:M(()=>[jA]),_:1},8,["direction"])]),d("div",{onClick:C[2]||(C[2]=()=>l(P).showTutorial=!0)},[A(j,{display:"Help",direction:l(Z).Down,class:"info"},{default:M(()=>[HA]),_:1},8,["direction"])]),d("div",{onClick:C[3]||(C[3]=I=>{var S;return(S=n.value)==null?void 0:S.open()})},[A(j,{display:"Settings",direction:l(Z).Down,xoffset:"-66px"},{default:M(()=>[ZA]),_:1},8,["direction"])])],16)):(f(),B("div",nt({key:1,class:"overlay-nav"},y.$attrs),[d("div",{onClick:C[4]||(C[4]=I=>{var S;return(S=r.value)==null?void 0:S.open()}),class:"version-container"},[A(j,{display:"Changelog",direction:l(Z).Right,xoffset:"25%",class:"version"},{default:M(()=>[d("span",null,"v"+q(l(b)),1)]),_:1},8,["direction"])]),d("div",{onClick:C[5]||(C[5]=I=>{var S;return(S=n.value)==null?void 0:S.open()})},[A(j,{display:"Settings",direction:l(Z).Right},{default:M(()=>[$A]),_:1},8,["direction"])]),d("div",{onClick:C[6]||(C[6]=I=>{var S;return(S=t.value)==null?void 0:S.open()})},[A(j,{display:"Info",direction:l(Z).Right},{default:M(()=>[eo]),_:1},8,["direction"])]),d("div",null,[d("a",to,[A(j,{display:"Forums",direction:l(Z).Right,xoffset:"7px"},{default:M(()=>[ao]),_:1},8,["direction"])])]),d("div",no,[d("span",{onClick:p,class:"material-icons"},"discord"),d("ul",ro,[l(m)?(f(),B("li",so,[d("a",{href:l(m),target:"_blank"},q(l(c)),9,io)])):T("",!0),Ao,oo])])],16)),A(bs,{ref_key:"info",ref:t,changelog:r.value},null,8,["changelog"]),A(Fa,{ref_key:"savesManager",ref:a},null,512),A(eA,{ref_key:"options",ref:n},null,512),A(es,{ref_key:"changelog",ref:r},null,512)],64))}});var za=L(lo,[["__scopeId","data-v-d43b25a6"]]);const uo={class:"inner-tab"},co=x({__name:"Game",setup(e){const t=Pe(z,"tabs"),a=V(()=>Object.keys(ae)),n=J.useHeader;function r(s){const{display:i,minimized:o,name:c,color:m,minimizable:b,nodes:p,minimizedDisplay:y}=s;return{display:i,minimized:o,name:c,color:m,minimizable:b,nodes:p,minimizedDisplay:y}}return(s,i)=>(f(),B("div",{class:H(["tabs-container",{useHeader:l(n)}])},[(f(!0),B(Y,null,da(l(t),(o,c)=>{var m,b;return f(),B("div",{key:c,class:H(["tab",l((m=l(ae)[o])==null?void 0:m.classes)]),style:Ee(l((b=l(ae)[o])==null?void 0:b.style))},[c===0&&!l(n)?(f(),F(za,{key:0})):T("",!0),d("div",uo,[l(a).includes(o)?(f(),F(jr,nt({key:0},r(l(ae)[o]),{index:c,onSetMinimized:p=>l(ae)[o].minimized.value=p}),null,16,["index","onSetMinimized"])):(f(),F(re(o),{key:1,index:c},null,8,["index"]))])],6)}),128))],2))}});var go=L(co,[["__scopeId","data-v-3e0f1aab"]]);const mo={class:"field"},fo=x({__name:"Toggle",props:{title:null,modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const a=e,n=V(()=>{var s;return de((s=l(a.title))!=null?s:"","span")}),r=V({get(){return!!a.modelValue},set(s){t("update:modelValue",s)}});return(s,i)=>(f(),B("label",mo,[Lt(d("input",{type:"checkbox",class:"toggle","onUpdate:modelValue":i[0]||(i[0]=o=>ce(r)?r.value=o:null)},null,512),[[Ka,l(r)]]),(f(),F(re(l(n))))]))}});var Jt=L(fo,[["__scopeId","data-v-11046116"]]);const pt=e=>(De("data-v-4a50ce42"),e=e(),Ue(),e),vo={class:"game-over-modal-header"},ho=["src","alt"],po={class:"game-over-modal-title"},bo=pt(()=>d("h2",null,"Congratulations!",-1)),yo={key:0},Co=pt(()=>d("br",null,null,-1)),Bo=pt(()=>d("div",null," Please check the Discord to discuss the game or to check for new content updates! ",-1)),Eo=pt(()=>d("br",null,null,-1)),No=["href"],Qo=pt(()=>d("span",{class:"material-icons game-over-modal-discord"},"discord",-1)),Io=x({__name:"GameOverScreen",setup(e){const{title:t,logo:a,discordName:n,discordLink:r,versionNumber:s,versionTitle:i}=J,o=V(()=>Xt(z.timePlayed)),c=V(()=>qa.value&&!z.keepGoing),m=Pe(z,"autosave");function b(){z.keepGoing=!0}function p(){Je(Ze())}return(y,C)=>(f(),F(Ve,{"model-value":l(c)},{header:M(()=>[d("div",vo,[l(a)?(f(),B("img",{key:0,class:"game-over-modal-logo",src:l(a),alt:l(t)},null,8,ho)):T("",!0),d("div",po,[bo,d("h4",null,"You've beaten "+q(l(t))+" v"+q(l(s))+": "+q(l(i)),1)])])]),body:M(({shown:I})=>[I?(f(),B("div",yo,[d("div",null,"It took you "+q(l(o))+" to beat the game.",1),Co,Bo,Eo,d("div",null,[d("a",{href:l(r),class:"game-over-modal-discord-link"},[Qo,h(" "+q(l(n)),1)],8,No)]),A(Jt,{title:"Autosave",modelValue:l(m),"onUpdate:modelValue":C[0]||(C[0]=S=>ce(m)?m.value=S:null)},null,8,["modelValue"])])):T("",!0)]),footer:M(()=>[d("div",{class:"game-over-footer"},[d("button",{onClick:b,class:"button"},"Keep Going"),d("button",{onClick:p,class:"button danger"},"Play Again")])]),_:1},8,["model-value"]))}});var wo=L(Io,[["__scopeId","data-v-4a50ce42"]]);const Dt=e=>(De("data-v-336bf74f"),e=e(),Ue(),e),So=Dt(()=>d("div",{class:"nan-modal-header"},[d("h2",null,"NaN value detected!")],-1)),_o={key:0},To=Dt(()=>d("br",null,null,-1)),ko=["href"],Mo=Dt(()=>d("span",{class:"material-icons nan-modal-discord"},"discord",-1)),Po=Dt(()=>d("br",null,null,-1)),Do={class:"nan-footer"},Uo=x({__name:"NaNScreen",setup(e){const{discordName:t,discordLink:a}=J,n=Q(!0),r=Q(!0),s=Pe(ee,"hasNaN"),i=Q(null);Be(s,y=>{y?(n.value=z.autosave,r.value=z.devSpeed===0):(z.autosave=n.value,z.devSpeed=r.value?0:null)});const o=V(()=>{var y;return(y=ee.NaNPath)==null?void 0:y.join(".")}),c=V(()=>ee.NaNPersistent!=null?ee.NaNPersistent.value:null);function m(){ee.NaNPersistent!=null&&(ee.NaNPersistent.value=new N(0),ee.hasNaN=!1)}function b(){ee.NaNPersistent&&(ee.NaNPersistent.value=new N(1),ee.hasNaN=!1)}function p(){ee.NaNPersistent&&(ee.NaNPersistent.value=new N(NaN),ee.hasNaN=!1)}return(y,C)=>(f(),B(Y,null,[A(Ve,nt({modelValue:l(s),"onUpdate:modelValue":C[4]||(C[4]=I=>ce(s)?s.value=I:null)},y.$attrs),{header:M(()=>[So]),body:M(()=>[d("div",null,[h(' Attempted to assign "'+q(l(o))+'" to NaN',1),l(c)?(f(),B("span",_o,q(" ")+"(previously "+q(l(Ba)(l(c)))+")",1)):T("",!0),h(". Auto-saving has been "+q(n.value?"enabled":"disabled")+". Check the console for more details, and consider sharing it with the developers on discord. ",1)]),To,d("div",null,[d("a",{href:l(a)||"https://discord.gg/WzejVAx",class:"nan-modal-discord-link"},[Mo,h(" "+q(l(t)||"The Paper Pilot Community"),1)],8,ko)]),Po,A(Jt,{title:"Autosave",modelValue:n.value,"onUpdate:modelValue":C[0]||(C[0]=I=>n.value=I)},null,8,["modelValue"]),l(J).enablePausing?(f(),F(Jt,{key:0,title:"Pause game",modelValue:r.value,"onUpdate:modelValue":C[1]||(C[1]=I=>r.value=I)},null,8,["modelValue"])):T("",!0)]),footer:M(()=>[d("div",Do,[d("button",{onClick:C[2]||(C[2]=I=>{var S;return(S=i.value)==null?void 0:S.open()}),class:"button"},"Open Saves Manager"),d("button",{onClick:m,class:"button"},"Set to 0"),d("button",{onClick:b,class:"button"},"Set to 1"),l(c)&&l(N).neq(l(c),0)&&l(N).neq(l(c),1)?(f(),B("button",{key:0,onClick:C[3]||(C[3]=I=>s.value=!1),class:"button"}," Set to previous ")):T("",!0),d("button",{onClick:p,class:"button danger"},"Ignore")])]),_:1},16,["modelValue"]),A(Fa,{ref_key:"savesManager",ref:i},null,512)],64))}});var Vo=L(Uo,[["__scopeId","data-v-336bf74f"]]);const Oo=h("Information");var Ro=x({__name:"App",setup(e){const t=J.useHeader,a=V(()=>ht[P.theme].variables);Pe(P,"showTPS");const n=Pe(P,"showTutorial"),r=V(()=>de(X(()=>A(Y,null,[Mr.map($e)])))),s=Lr({general:()=>({display:"General",glowColor(){return s.activeTab.value===this.tab?"var(--foreground)":""},tab:X(()=>A("div",null,[h("Have you ever played Super Auto Pets? Great, then you already know the basics! I'd suggest checking out the Livestream tab because it's quite different!"),A("br",null,null),A("br",null,null),h("For those unfamiliar with SAP, this is a game in which you'll manage a team of Coots that have a series of livestream battles with other player's teams of Coots. You win the game by winning 5 "),A("img",{src:Xr},null),A("span",{style:"color: cadetblue"},[h("trophies")]),h(" before losing all 3 "),A("img",{src:ze},null),A("span",{style:"color: red"},[h("lives")]),h(".")]))}),managing:()=>({display:"Managing",glowColor(){return s.activeTab.value===this.tab?"var(--foreground)":""},tab:X(()=>A("div",null,[h("Before each battle you get the opportunity to prepare. You have 3 slots for Coots, and you can buy more using the shop at the bottom of the screen. Purchasing Coots costs "),A("img",{src:Ke},null),A("span",{style:"color: yellow"},[h("moguls")]),h(", which is a currency you receive 10 of during the management phase. Any unspent "),A("img",{src:Ke},null),A("span",{style:"color: yellow"},[h("moguls")]),h(" are lost. Each Coots costs 3 "),A("img",{src:Ke},null),A("span",{style:"color: yellow"},[h("moguls")]),h(", and you can reroll the shop for 1 "),A("img",{src:Ke},null),A("span",{style:"color: yellow"},[h("mogul")]),h("."),A("br",null,null),A("br",null,null),h("You can also merge your Coots to increase their stats and level them up. Coots have an ability that grows stronger as they level up.")]))}),livestream:()=>({display:"Livestream",glowColor(){return s.activeTab.value===this.tab?"var(--foreground)":""},tab:X(()=>A("div",null,[h("In a livestream battle, your goal is to get more views than your opponent. Each team will add their Coots to their livestreams together, one at a time. Abilities will also activate throughout the stream as appropriate."),A("br",null,null),A("br",null,null),h("Each Coots has two stats- "),A("img",{src:ze},null),A("span",{style:"color: red"},[h("Relevancy")]),h(" and "),A("img",{src:We},null),A("span",{style:"color: gold"},[h("Presence")]),h(". The view count is based on the product of those two stats, and then summed between each Coots on the stream. Be careful if either stat becomes 0 or lower, that streamer won't contribute to your view count."),A("br",null,null),A("br",null,null),h("You can press play to perform a single action and see what the next will be, or select autoplay to automatically perform the whole match. If this is your first time playing, I'd suggest leaving autoplay off.")]))}),multiplayer:()=>({display:"Multiplayer",glowColor(){return s.activeTab.value===this.tab?"var(--foreground)":""},tab:X(()=>A("div",null,[h("By default you are going to be playing in a shared lobby with all other players. If you'd like to play with a specific group of friends, there's an option to join a room in the settings."),A("br",null,null),A("br",null,null),h("Also, be warned that the game has no account system and if you lose your connection to the server you'll automatically start a new game. Sorry!")]))})},()=>({classes:{tutorial:!0}})),i=de(X(()=>Da(s)));return(o,c)=>(f(),B(Y,null,[d("div",{id:"modal-root",style:Ee(l(a))},null,4),d("div",{class:H(["app",{useHeader:l(t)}]),style:Ee(l(a))},[l(t)?(f(),F(za,{key:0})):T("",!0),A(go),A(wo),A(Vo),(f(),F(re(l(r)))),A(Ve,{modelValue:l(n),"onUpdate:modelValue":c[0]||(c[0]=m=>ce(n)?n.value=m:null)},{header:M(()=>[Oo]),body:M(()=>[(f(),F(re(l(i))))]),_:1},8,["modelValue"])],6)],64))}});var qo=L(Ro,[["__scopeId","data-v-2d9bd813"]]);function Fo(e={}){const{immediate:t=!1,onNeedRefresh:a,onOfflineReady:n,onRegistered:r,onRegisterError:s}=e;let i,o;const c=async(m=!0)=>{m&&(i==null||i.addEventListener("controlling",b=>{b.isUpdate&&window.location.reload()})),o&&o.waiting&&await ln(o.waiting,{type:"SKIP_WAITING"})};if("serviceWorker"in navigator){i=new on("./sw.js",{scope:"./",type:"classic"}),i.addEventListener("activated",m=>{m.isUpdate||n==null||n()});{const m=()=>{a==null||a()};i.addEventListener("waiting",m),i.addEventListener("externalwaiting",m)}i.register({immediate:t}).then(m=>{o=m,r==null||r(m)}).catch(m=>{s==null||s(m)})}return c}function zo(e={}){const{immediate:t=!0,onNeedRefresh:a,onOfflineReady:n,onRegistered:r,onRegisterError:s}=e,i=Q(!1),o=Q(!1);return{updateServiceWorker:Fo({immediate:t,onNeedRefresh(){i.value=!0,a==null||a()},onOfflineReady(){o.value=!0,n==null||n()},onRegistered:r,onRegisterError:s}),offlineReady:o,needRefresh:i}}document.title=J.title;window.projInfo=J;if(J.id==="")throw"Project ID is empty! Please select a unique ID for this project in /src/data/projInfo.json";requestAnimationFrame(async()=>{console.log(`%cMade in Profectus%c +Learn more at www.moddingtree.com`,"font-weight: bold; font-size: 24px; color: #A3BE8C; background: #2E3440; padding: 4px 8px; border-radius: 8px;","padding: 4px;"),await Ir();const{globalBus:e}=await Nt(()=>Promise.resolve().then(function(){return or}),void 0),{startGameLoop:t}=await Nt(()=>import("./gameLoop.37c75517.js"),["assets/gameLoop.37c75517.js","assets/@fontsource.f66d05e7.css","assets/vue.f6263579.js","assets/earcut.b6f90e68.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/vue-textarea-autosize.35804eaf.js","assets/semver.83ff78cf.js","assets/lru-cache.9a21e90b.js","assets/yallist.fd762fe7.js","assets/socket.io-client.79ce0df5.js","assets/engine.io-client.58517560.js","assets/engine.io-parser.3f360695.js","assets/@socket.io.aec831e2.js","assets/socket.io-parser.544e37d1.js","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","assets/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/workbox-window.8d14e8b7.js"]),a=window.vue=ja(qo);e.emit("setupVue",a),a.mount("#app"),Me(()=>{const n=ma(),{updateServiceWorker:r}=zo({onNeedRefresh(){n.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(){r()}})},onOfflineReady(){n.info("App ready to work offline")},onRegisterError:console.warn,onRegistered(s){s&&setInterval(()=>s.update(),60*60*1e3)}})}),t()});export{N as D,Nt as _,ee as a,J as b,ji as c,te as g,wr as l,z as p,P as s}; diff --git a/assets/index.5f6d0132.js b/assets/index.5f6d0132.js deleted file mode 100644 index 6730879..0000000 --- a/assets/index.5f6d0132.js +++ /dev/null @@ -1,15 +0,0 @@ -/* empty css */import"./vue.f6263579.js";import{Z as V,C as l,q as vt,u as Gt,j as xa,l as de,bv as Ot,t as Q,a8 as A,aa as x,ay as _t,ar as Me,aE as f,a0 as B,aK as Ce,a1 as d,O as X,aG as bt,A as Ne,_ as F,b6 as M,b8 as Lt,bs as Ja,aq as nt,bu as ut,bb as ca,T as Ga,a7 as v,b1 as Be,G as H,w as be,b2 as Tt,aN as se,I as Ee,$ as T,aL as Rt,aJ as da,J as q,aH as De,aF as Ue,z as Pe,bo as La,au as Xa,al as Zt,aC as Wa,bc as yt,ao as Ya,bn as Ka,be as ja}from"./@vue.4ce677c2.js";import{c as ga}from"./nanoevents.1080beb7.js";import{L as ke}from"./lz-string.f2f3b7cf.js";import{s as Ha,u as ma}from"./vue-toastification.b7cd620e.js";import{p as Za}from"./vue-textarea-autosize.35804eaf.js";import{s as $a}from"./semver.83ff78cf.js";import{l as en}from"./socket.io-client.79ce0df5.js";import{A as fa,T as tn,R as an,B as nn,u as rn,E as $t}from"./@pixi.1eac1889.js";import{D as sn}from"./vuedraggable.c3acdf62.js";import{Y as An}from"./vue-next-select.0dc4e443.js";import{v as on,n as ln}from"./workbox-window.8d14e8b7.js";import"./earcut.b6f90e68.js";import"./lru-cache.9a21e90b.js";import"./yallist.fd762fe7.js";import"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import"./@socket.io.aec831e2.js";import"./socket.io-parser.544e37d1.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.js";import"./sortablejs.cbae5b2d.js";const un=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function a(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerpolicy&&(s.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?s.credentials="include":r.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(r){if(r.ep)return;r.ep=!0;const s=a(r);fetch(r.href,s)}};un();const cn="modulepreload",ea={},dn="./",Nt=function(t,a){return!a||a.length===0?t():Promise.all(a.map(n=>{if(n=`${dn}${n}`,n in ea)return;ea[n]=!0;const r=n.endsWith(".css"),s=r?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${n}"]${s}`))return;const i=document.createElement("link");if(i.rel=r?"stylesheet":cn,r||(i.as="script",i.crossOrigin=""),i.href=n,document.head.appendChild(i),r)return new Promise((o,c)=>{i.addEventListener("load",o),i.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>t())},gn="./projInfo-schema.json",mn="Super Auto Coots",fn="A project made in Profectus",vn="superautocoots",hn="thepaperpilot and crea",pn="",bn="",yn="0.0.0",Cn="Initial Commit",Bn=!1,En=!1,Nn=2,Qn=!0,In=null,wn="",Sn=["main"],_n=3600,Tn=1,kn=!0,Mn="base64";var J={$schema:gn,title:mn,description:fn,id:vn,author:hn,discordName:pn,discordLink:bn,versionNumber:yn,versionTitle:Cn,allowGoBack:Bn,defaultShowSmall:En,defaultDecimalsShown:Nn,useHeader:Qn,banner:In,logo:wn,initialTabs:Sn,maxTickLength:_n,offlineLimit:Tn,enablePausing:kn,exportEncoding:Mn};class Pn{constructor(t){this.map=new Map,this.first=void 0,this.last=void 0,this.maxSize=t}get size(){return this.map.size}get(t){const a=this.map.get(t);if(a!==void 0)return a!==this.first&&(a===this.last?(this.last=a.prev,this.last.next=void 0):(a.prev.next=a.next,a.next.prev=a.prev),a.next=this.first,this.first.prev=a,this.first=a),a.value}set(t,a){if(this.maxSize<1)return;if(this.map.has(t))throw new Error("Cannot update existing keys in the cache");const n=new Dn(t,a);for(this.first===void 0?(this.first=n,this.last=n):(n.next=this.first,this.first.prev=n,this.first=n),this.map.set(t,n);this.map.size>this.maxSize;){const r=this.last;this.map.delete(r.key),this.last=r.prev,this.last.next=void 0}}}class Dn{constructor(t,a){this.next=void 0,this.prev=void 0,this.key=t,this.value=a}}const Ut=17,Un=9e15,Vn=Math.log10(9e15),On=1/9e15,Rn=308,qn=-324,ta=5,Fn=(1<<10)-1,zn=function(){const e=[];for(let a=qn+1;a<=Rn;a++)e.push(Number("1e"+a));const t=323;return function(a){return e[a+t]}}(),Re=[2,Math.E,3,4,5,6,7,8,9,10],xn=[[1,1.0891180521811203,1.1789767925673957,1.2701455431742086,1.3632090180450092,1.4587818160364217,1.5575237916251419,1.6601571006859253,1.767485818836978,1.8804192098842727,2],[1,1.1121114330934079,1.231038924931609,1.3583836963111375,1.4960519303993531,1.6463542337511945,1.8121385357018724,1.996971324618307,2.2053895545527546,2.4432574483385254,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.5979222279405536,1.8842640123816674,2.2416069644878687,2.69893426559423,3.3012632110403577,4.121250340630164,5.281493033448316,7],[1,1.1736630594087796,1.379783782386201,1.6292821855668218,1.9378971836180754,2.3289975651071977,2.8384347394720835,3.5232708454565906,4.478242031114584,5.868592169644505,8],[1,1.1793017514670474,1.394054150657457,1.65664127441059,1.985170999970283,2.4069682290577457,2.9647310119960752,3.7278665320924946,4.814462547283592,6.436522247411611,9],[1,1.1840100246247336,1.4061375836156955,1.6802272208863964,2.026757028388619,2.4770056063449646,3.080525271755482,3.9191964192627284,5.135152840833187,6.989961179534715,10]],Jn=[[-1,-.9194161097107025,-.8335625019330468,-.7425599821143978,-.6466611521029437,-.5462617907227869,-.4419033816638769,-.3342645487554494,-.224140440909962,-.11241087890006762,0],[-1,-.90603157029014,-.80786507256596,-.7064666939634,-.60294836853664,-.49849837513117,-.39430303318768,-.29147201034755,-.19097820800866,-.09361896280296,0],[-1,-.9021579584316141,-.8005762598234203,-.6964780623319391,-.5911906810998454,-.486050182576545,-.3823089430815083,-.28106046722897615,-.1831906535795894,-.08935809204418144,0],[-1,-.8917227442365535,-.781258746326964,-.6705130326902455,-.5612813129406509,-.4551067709033134,-.35319256652135966,-.2563741554088552,-.1651412821106526,-.0796919581982668,0],[-1,-.8843387974366064,-.7678744063886243,-.6529563724510552,-.5415870994657841,-.4352842206588936,-.33504449124791424,-.24138853420685147,-.15445285440944467,-.07409659641336663,0],[-1,-.8786709358426346,-.7577735191184886,-.6399546189952064,-.527284921869926,-.4211627631006314,-.3223479611761232,-.23107655627789858,-.1472057700818259,-.07035171210706326,0],[-1,-.8740862815291583,-.7497032990976209,-.6297119746181752,-.5161838335958787,-.41036238255751956,-.31277212146489963,-.2233976621705518,-.1418697367979619,-.06762117662323441,0],[-1,-.8702632331800649,-.7430366914122081,-.6213373075161548,-.5072025698095242,-.40171437727184167,-.30517930701410456,-.21736343968190863,-.137710238299109,-.06550774483471955,0],[-1,-.8670016295947213,-.7373984232432306,-.6143173985094293,-.49973884395492807,-.394584953527678,-.2989649949848695,-.21245647317021688,-.13434688362382652,-.0638072667348083,0],[-1,-.8641642839543857,-.732534623168535,-.6083127477059322,-.4934049257184696,-.3885773075899922,-.29376029055315767,-.2083678561173622,-.13155653399373268,-.062401588652553186,0]];let g=function(t){return N.fromValue_noAlloc(t)},k=function(e,t,a){return N.fromComponents(e,t,a)},U=function(t,a,n){return N.fromComponents_noNormalize(t,a,n)};const we=function(t,a){const n=a+1,r=Math.ceil(Math.log10(Math.abs(t))),s=Math.round(t*Math.pow(10,n-r))*Math.pow(10,r-n);return parseFloat(s.toFixed(Math.max(n-r,0)))},Vt=function(e){return Math.sign(e)*Math.log10(Math.abs(e))},Gn=function(e){if(!isFinite(e))return e;if(e<-50)return e===Math.trunc(e)?Number.NEGATIVE_INFINITY:0;let t=1;for(;e<10;)t=t*e,++e;e-=1;let a=.9189385332046727;a=a+(e+.5)*Math.log(e),a=a-e;const n=e*e;let r=e;return a=a+1/(12*r),r=r*n,a=a+1/(360*r),r=r*n,a=a+1/(1260*r),r=r*n,a=a+1/(1680*r),r=r*n,a=a+1/(1188*r),r=r*n,a=a+691/(360360*r),r=r*n,a=a+7/(1092*r),r=r*n,a=a+3617/(122400*r),Math.exp(a)/t},va=.5671432904097838,aa=function(e,t=1e-10){let a,n;if(!Number.isFinite(e)||e===0)return e;if(e===1)return va;e<10?a=0:a=Math.log(e)-Math.log(Math.log(e));for(let r=0;r<100;++r){if(n=(e*Math.exp(-a)+a*a)/(a+1),Math.abs(n-a).5?1:-1;if(Math.random()*20<1)return U(t,0,1);const a=Math.floor(Math.random()*(e+1));let n=a===0?Math.random()*616-308:Math.random()*16;Math.random()>.9&&(n=Math.trunc(n));let r=Math.pow(10,n);return Math.random()>.9&&(r=Math.trunc(r)),k(t,a,r)}static affordGeometricSeries_core(e,t,a,n){const r=t.mul(a.pow(n));return u.floor(e.div(r).mul(a.sub(1)).add(1).log10().div(a.log10()))}static sumGeometricSeries_core(e,t,a,n){return t.mul(a.pow(n)).mul(u.sub(1,a.pow(e))).div(u.sub(1,a))}static affordArithmeticSeries_core(e,t,a,n){const s=t.add(n.mul(a)).sub(a.div(2)),i=s.pow(2);return s.neg().add(i.add(a.mul(e).mul(2)).sqrt()).div(a).floor()}static sumArithmeticSeries_core(e,t,a,n){const r=t.add(n.mul(a));return e.div(2).mul(r.mul(2).plus(e.sub(1).mul(a)))}static efficiencyOfPurchase_core(e,t,a){return e.div(t).add(e.div(a))}normalize(){if(this.sign===0||this.mag===0&&this.layer===0)return this.sign=0,this.mag=0,this.layer=0,this;if(this.layer===0&&this.mag<0&&(this.mag=-this.mag,this.sign=-this.sign),this.layer===0&&this.mag=Un)return this.layer+=1,this.mag=t*Math.log10(e),this;for(;e0;)this.layer-=1,this.layer===0?this.mag=Math.pow(10,this.mag):(this.mag=t*Math.pow(10,e),e=Math.abs(this.mag),t=Math.sign(this.mag));return this.layer===0&&(this.mag<0?(this.mag=-this.mag,this.sign=-this.sign):this.mag===0&&(this.sign=0)),this}fromComponents(e,t,a){return this.sign=e,this.layer=t,this.mag=a,this.normalize(),this}fromComponents_noNormalize(e,t,a){return this.sign=e,this.layer=t,this.mag=a,this}fromMantissaExponent(e,t){return this.layer=1,this.sign=Math.sign(e),e=Math.abs(e),this.mag=t+Math.log10(e),this.normalize(),this}fromMantissaExponent_noNormalize(e,t){return this.fromMantissaExponent(e,t),this}fromDecimal(e){return this.sign=e.sign,this.layer=e.layer,this.mag=e.mag,this}fromNumber(e){return this.mag=Math.abs(e),this.sign=Math.sign(e),this.layer=0,this.normalize(),this}fromString(e){const t=e,a=u.fromStringCache.get(t);if(a!==void 0)return this.fromDecimal(a);e=e.replace(",","");const n=e.split("^^^");if(n.length===2){const I=parseFloat(n[0]),S=parseFloat(n[1]),_=n[1].split(";");let $=1;if(_.length===2&&($=parseFloat(_[1]),isFinite($)||($=1)),isFinite(I)&&isFinite(S)){const E=u.pentate(I,S,$);return this.sign=E.sign,this.layer=E.layer,this.mag=E.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}const r=e.split("^^");if(r.length===2){const I=parseFloat(r[0]),S=parseFloat(r[1]),_=r[1].split(";");let $=1;if(_.length===2&&($=parseFloat(_[1]),isFinite($)||($=1)),isFinite(I)&&isFinite(S)){const E=u.tetrate(I,S,$);return this.sign=E.sign,this.layer=E.layer,this.mag=E.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}const s=e.split("^");if(s.length===2){const I=parseFloat(s[0]),S=parseFloat(s[1]);if(isFinite(I)&&isFinite(S)){const _=u.pow(I,S);return this.sign=_.sign,this.layer=_.layer,this.mag=_.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}e=e.trim().toLowerCase();let i,o,c=e.split("pt");if(c.length===2){i=10,o=parseFloat(c[0]),c[1]=c[1].replace("(",""),c[1]=c[1].replace(")","");let I=parseFloat(c[1]);if(isFinite(I)||(I=1),isFinite(i)&&isFinite(o)){const S=u.tetrate(i,o,I);return this.sign=S.sign,this.layer=S.layer,this.mag=S.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}if(c=e.split("p"),c.length===2){i=10,o=parseFloat(c[0]),c[1]=c[1].replace("(",""),c[1]=c[1].replace(")","");let I=parseFloat(c[1]);if(isFinite(I)||(I=1),isFinite(i)&&isFinite(o)){const S=u.tetrate(i,o,I);return this.sign=S.sign,this.layer=S.layer,this.mag=S.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}const m=e.split("e"),b=m.length-1;if(b===0){const I=parseFloat(e);if(isFinite(I))return this.fromNumber(I),u.fromStringCache.size>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}else if(b===1){const I=parseFloat(e);if(isFinite(I)&&I!==0)return this.fromNumber(I),u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}const p=e.split("e^");if(p.length===2){this.sign=1,p[0].charAt(0)=="-"&&(this.sign=-1);let I="";for(let S=0;S=43&&_<=57||_===101)I+=p[1].charAt(S);else return this.layer=parseFloat(I),this.mag=parseFloat(p[1].substr(S+1)),this.normalize(),u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}if(b<1)return this.sign=0,this.layer=0,this.mag=0,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this;const y=parseFloat(m[0]);if(y===0)return this.sign=0,this.layer=0,this.mag=0,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this;let C=parseFloat(m[m.length-1]);if(b>=2){const I=parseFloat(m[m.length-2]);isFinite(I)&&(C*=Math.sign(I),C+=Vt(I))}if(!isFinite(y))this.sign=m[0]==="-"?-1:1,this.layer=b,this.mag=C;else if(b===1)this.sign=Math.sign(y),this.layer=1,this.mag=C+Math.log10(Math.abs(y));else if(this.sign=Math.sign(y),this.layer=b,b===2){const I=u.mul(k(1,2,C),g(y));return this.sign=I.sign,this.layer=I.layer,this.mag=I.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}else this.mag=C;return this.normalize(),u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}fromValue(e){return e instanceof u?this.fromDecimal(e):typeof e=="number"?this.fromNumber(e):typeof e=="string"?this.fromString(e):(this.sign=0,this.layer=0,this.mag=0,this)}toNumber(){return Number.isFinite(this.layer)?this.layer===0?this.sign*this.mag:this.layer===1?this.sign*Math.pow(10,this.mag):this.mag>0?this.sign>0?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:0:Number.NaN}mantissaWithDecimalPlaces(e){return isNaN(this.m)?Number.NaN:this.m===0?0:we(this.m,e)}magnitudeWithDecimalPlaces(e){return isNaN(this.mag)?Number.NaN:this.mag===0?0:we(this.mag,e)}toString(){return isNaN(this.layer)||isNaN(this.sign)||isNaN(this.mag)?"NaN":this.mag===Number.POSITIVE_INFINITY||this.layer===Number.POSITIVE_INFINITY?this.sign===1?"Infinity":"-Infinity":this.layer===0?this.mag<1e21&&this.mag>1e-7||this.mag===0?(this.sign*this.mag).toString():this.m+"e"+this.e:this.layer===1?this.m+"e"+this.e:this.layer<=ta?(this.sign===-1?"-":"")+"e".repeat(this.layer)+this.mag:(this.sign===-1?"-":"")+"(e^"+this.layer+")"+this.mag}toExponential(e){return this.layer===0?(this.sign*this.mag).toExponential(e):this.toStringWithDecimalPlaces(e)}toFixed(e){return this.layer===0?(this.sign*this.mag).toFixed(e):this.toStringWithDecimalPlaces(e)}toPrecision(e){return this.e<=-7?this.toExponential(e-1):e>this.e?this.toFixed(e-this.exponent-1):this.toExponential(e-1)}valueOf(){return this.toString()}toJSON(){return this.toString()}toStringWithDecimalPlaces(e){return this.layer===0?this.mag<1e21&&this.mag>1e-7||this.mag===0?(this.sign*this.mag).toFixed(e):we(this.m,e)+"e"+we(this.e,e):this.layer===1?we(this.m,e)+"e"+we(this.e,e):this.layer<=ta?(this.sign===-1?"-":"")+"e".repeat(this.layer)+we(this.mag,e):(this.sign===-1?"-":"")+"(e^"+this.layer+")"+we(this.mag,e)}abs(){return U(this.sign===0?0:1,this.layer,this.mag)}neg(){return U(-this.sign,this.layer,this.mag)}negate(){return this.neg()}negated(){return this.neg()}sgn(){return this.sign}round(){return this.mag<0?u.dZero:this.layer===0?k(this.sign,0,Math.round(this.mag)):this}floor(){return this.mag<0?u.dZero:this.layer===0?k(this.sign,0,Math.floor(this.mag)):this}ceil(){return this.mag<0?u.dZero:this.layer===0?k(this.sign,0,Math.ceil(this.mag)):this}trunc(){return this.mag<0?u.dZero:this.layer===0?k(this.sign,0,Math.trunc(this.mag)):this}add(e){const t=g(e);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(t.layer)||this.sign===0)return t;if(t.sign===0)return this;if(this.sign===-t.sign&&this.layer===t.layer&&this.mag===t.mag)return U(0,0,0);let a,n;if(this.layer>=2||t.layer>=2)return this.maxabs(t);if(u.cmpabs(this,t)>0?(a=this,n=t):(a=t,n=this),a.layer===0&&n.layer===0)return u.fromNumber(a.sign*a.mag+n.sign*n.mag);const r=a.layer*Math.sign(a.mag),s=n.layer*Math.sign(n.mag);if(r-s>=2)return a;if(r===0&&s===-1){if(Math.abs(n.mag-Math.log10(a.mag))>Ut)return a;{const i=Math.pow(10,Math.log10(a.mag)-n.mag),o=n.sign+a.sign*i;return k(Math.sign(o),1,n.mag+Math.log10(Math.abs(o)))}}if(r===1&&s===0){if(Math.abs(a.mag-Math.log10(n.mag))>Ut)return a;{const i=Math.pow(10,a.mag-Math.log10(n.mag)),o=n.sign+a.sign*i;return k(Math.sign(o),1,Math.log10(n.mag)+Math.log10(Math.abs(o)))}}if(Math.abs(a.mag-n.mag)>Ut)return a;{const i=Math.pow(10,a.mag-n.mag),o=n.sign+a.sign*i;return k(Math.sign(o),1,n.mag+Math.log10(Math.abs(o)))}}plus(e){return this.add(e)}sub(e){return this.add(g(e).neg())}subtract(e){return this.sub(e)}minus(e){return this.sub(e)}mul(e){const t=g(e);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(t.layer))return t;if(this.sign===0||t.sign===0)return U(0,0,0);if(this.layer===t.layer&&this.mag===-t.mag)return U(this.sign*t.sign,0,1);let a,n;if(this.layer>t.layer||this.layer==t.layer&&Math.abs(this.mag)>Math.abs(t.mag)?(a=this,n=t):(a=t,n=this),a.layer===0&&n.layer===0)return u.fromNumber(a.sign*n.sign*a.mag*n.mag);if(a.layer>=3||a.layer-n.layer>=2)return k(a.sign*n.sign,a.layer,a.mag);if(a.layer===1&&n.layer===0)return k(a.sign*n.sign,1,a.mag+Math.log10(n.mag));if(a.layer===1&&n.layer===1)return k(a.sign*n.sign,1,a.mag+n.mag);if(a.layer===2&&n.layer===1){const r=k(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)).add(k(Math.sign(n.mag),n.layer-1,Math.abs(n.mag)));return k(a.sign*n.sign,r.layer+1,r.sign*r.mag)}if(a.layer===2&&n.layer===2){const r=k(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)).add(k(Math.sign(n.mag),n.layer-1,Math.abs(n.mag)));return k(a.sign*n.sign,r.layer+1,r.sign*r.mag)}throw Error("Bad arguments to mul: "+this+", "+e)}multiply(e){return this.mul(e)}times(e){return this.mul(e)}div(e){const t=g(e);return this.mul(t.recip())}divide(e){return this.div(e)}divideBy(e){return this.div(e)}dividedBy(e){return this.div(e)}recip(){return this.mag===0?u.dNaN:this.layer===0?k(this.sign,0,1/this.mag):k(this.sign,this.layer,-this.mag)}reciprocal(){return this.recip()}reciprocate(){return this.recip()}cmp(e){const t=g(e);return this.sign>t.sign?1:this.sign0?this.layer:-this.layer,n=t.mag>0?t.layer:-t.layer;return a>n?1:at.mag?1:this.mag0?t:this}clamp(e,t){return this.max(e).min(t)}clampMin(e){return this.max(e)}clampMax(e){return this.min(e)}cmp_tolerance(e,t){const a=g(e);return this.eq_tolerance(a,t)?0:this.cmp(a)}compare_tolerance(e,t){return this.cmp_tolerance(e,t)}eq_tolerance(e,t){const a=g(e);if(t==null&&(t=1e-7),this.sign!==a.sign||Math.abs(this.layer-a.layer)>1)return!1;let n=this.mag,r=a.mag;return this.layer>a.layer&&(r=Vt(r)),this.layer0?k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):k(1,0,Math.log10(this.mag))}log10(){return this.sign<=0?u.dNaN:this.layer>0?k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):k(this.sign,0,Math.log10(this.mag))}log(e){return e=g(e),this.sign<=0||e.sign<=0||e.sign===1&&e.layer===0&&e.mag===1?u.dNaN:this.layer===0&&e.layer===0?k(this.sign,0,Math.log(this.mag)/Math.log(e.mag)):u.div(this.log10(),e.log10())}log2(){return this.sign<=0?u.dNaN:this.layer===0?k(this.sign,0,Math.log2(this.mag)):this.layer===1?k(Math.sign(this.mag),0,Math.abs(this.mag)*3.321928094887362):this.layer===2?k(Math.sign(this.mag),1,Math.abs(this.mag)+.5213902276543247):k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}ln(){return this.sign<=0?u.dNaN:this.layer===0?k(this.sign,0,Math.log(this.mag)):this.layer===1?k(Math.sign(this.mag),0,Math.abs(this.mag)*2.302585092994046):this.layer===2?k(Math.sign(this.mag),1,Math.abs(this.mag)+.36221568869946325):k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}logarithm(e){return this.log(e)}pow(e){const t=g(e),a=this,n=t;if(a.sign===0)return n.eq(0)?U(1,0,1):a;if(a.sign===1&&a.layer===0&&a.mag===1)return a;if(n.sign===0)return U(1,0,1);if(n.sign===1&&n.layer===0&&n.mag===1)return a;const r=a.absLog10().mul(n).pow10();return this.sign===-1?Math.abs(n.toNumber()%2)%2===1?r.neg():Math.abs(n.toNumber()%2)%2===0?r:u.dNaN:r}pow10(){if(!Number.isFinite(this.layer)||!Number.isFinite(this.mag))return u.dNaN;let e=this;if(e.layer===0){const t=Math.pow(10,e.sign*e.mag);if(Number.isFinite(t)&&Math.abs(t)>=.1)return k(1,0,t);if(e.sign===0)return u.dOne;e=U(e.sign,e.layer+1,Math.log10(e.mag))}return e.sign>0&&e.mag>=0?k(e.sign,e.layer+1,e.mag):e.sign<0&&e.mag>=0?k(-e.sign,e.layer+1,-e.mag):u.dOne}pow_base(e){return g(e).pow(this)}root(e){const t=g(e);return this.pow(t.recip())}factorial(){return this.mag<0?this.add(1).gamma():this.layer===0?this.add(1).gamma():this.layer===1?u.exp(u.mul(this,u.ln(this).sub(1))):u.exp(this)}gamma(){if(this.mag<0)return this.recip();if(this.layer===0){if(this.lt(U(1,0,24)))return u.fromNumber(Gn(this.sign*this.mag));const e=this.mag-1;let t=.9189385332046727;t=t+(e+.5)*Math.log(e),t=t-e;const a=e*e;let n=e,r=12*n,s=1/r,i=t+s;if(i===t||(t=i,n=n*a,r=360*n,s=1/r,i=t-s,i===t))return u.exp(t);t=i,n=n*a,r=1260*n;let o=1/r;return t=t+o,n=n*a,r=1680*n,o=1/r,t=t-o,u.exp(t)}else return this.layer===1?u.exp(u.mul(this,u.ln(this).sub(1))):u.exp(this)}lngamma(){return this.gamma().ln()}exp(){return this.mag<0?u.dOne:this.layer===0&&this.mag<=709.7?u.fromNumber(Math.exp(this.sign*this.mag)):this.layer===0?k(1,1,this.sign*Math.log10(Math.E)*this.mag):this.layer===1?k(1,2,this.sign*(Math.log10(.4342944819032518)+this.mag)):k(1,this.layer+1,this.sign*this.mag)}sqr(){return this.pow(2)}sqrt(){if(this.layer===0)return u.fromNumber(Math.sqrt(this.sign*this.mag));if(this.layer===1)return k(1,2,Math.log10(this.mag)-.3010299956639812);{const e=u.div(U(this.sign,this.layer-1,this.mag),U(1,0,2));return e.layer+=1,e.normalize(),e}}cube(){return this.pow(3)}cbrt(){return this.pow(1/3)}tetrate(e=2,t=U(1,0,1)){if(e===1)return u.pow(this,t);if(e===0)return new u(t);if(this.eq(u.dOne))return u.dOne;if(this.eq(-1))return u.pow(this,t);if(e===Number.POSITIVE_INFINITY){const r=this.toNumber();if(r<=1.444667861009766&&r>=.06598803584531254){if(r>1.444667861009099)return u.fromNumber(Math.E);const s=u.ln(this).neg();return s.lambertw().div(s)}else return r>1.444667861009766?u.fromNumber(Number.POSITIVE_INFINITY):u.dNaN}if(this.eq(u.dZero)){let r=Math.abs((e+1)%2);return r>1&&(r=2-r),u.fromNumber(r)}if(e<0)return u.iteratedlog(t,this,-e);t=g(t);const a=e;e=Math.trunc(e);const n=a-e;if(this.gt(u.dZero)&&this.lte(1.444667861009766)){e=Math.min(1e4,e);for(let r=0;r3)return U(t.sign,t.layer+(e-r-1),t.mag);if(r>1e4)return t}return t}iteratedexp(e=2,t=U(1,0,1)){return this.tetrate(e,t)}iteratedlog(e=10,t=1){if(t<0)return u.tetrate(e,-t,this);e=g(e);let a=u.fromDecimal(this);const n=t;t=Math.trunc(t);const r=n-t;if(a.layer-e.layer>3){const s=Math.min(t,a.layer-e.layer-3);t-=s,a.layer-=s}for(let s=0;s1e4)return a}return r>0&&r<1&&(e.eq(10)?a=a.layeradd10(-r):a=a.layeradd(-r,e)),a}slog(e=10,t=100){let a=.001,n=!1,r=!1,s=this.slog_internal(e).toNumber();for(let i=1;i1&&r!=c&&(n=!0),r=c,n?a/=2:a*=2,a=Math.abs(a)*(c?-1:1),s+=a,a===0)break}return u.fromNumber(s)}slog_internal(e=10){if(e=g(e),e.lte(u.dZero)||e.eq(u.dOne))return u.dNaN;if(e.lt(u.dOne))return this.eq(u.dOne)?u.dZero:this.eq(u.dZero)?u.dNegOne:u.dNaN;if(this.mag<0||this.eq(u.dZero))return u.dNegOne;let t=0,a=u.fromDecimal(this);if(a.layer-e.layer>3){const n=a.layer-e.layer-3;t+=n,a.layer-=n}for(let n=0;n<100;++n)if(a.lt(u.dZero))a=u.pow(e,a),t-=1;else{if(a.lte(u.dOne))return u.fromNumber(t+u.slog_critical(e.toNumber(),a.toNumber()));t+=1,a=u.log(a,e)}return u.fromNumber(t)}static slog_critical(e,t){return e>10?t-1:u.critical_section(e,t,Jn)}static tetrate_critical(e,t){return u.critical_section(e,t,xn)}static critical_section(e,t,a){t*=10,t<0&&(t=0),t>10&&(t=10),e<2&&(e=2),e>10&&(e=10);let n=0,r=0;for(let i=0;ie){const o=(e-Re[i])/(Re[i+1]-Re[i]);n=a[i][Math.floor(t)]*(1-o)+a[i+1][Math.floor(t)]*o,r=a[i][Math.ceil(t)]*(1-o)+a[i+1][Math.ceil(t)]*o;break}const s=t-Math.floor(t);return n<=0||r<=0?n*(1-s)+r*s:Math.pow(e,Math.log(n)/Math.log(e)*(1-s)+Math.log(r)/Math.log(e)*s)}layeradd10(e){e=u.fromValue_noAlloc(e).toNumber();const t=u.fromDecimal(this);if(e>=1){t.mag<0&&t.layer>0?(t.sign=0,t.mag=0,t.layer=0):t.sign===-1&&t.layer==0&&(t.sign=1,t.mag=-t.mag);const a=Math.trunc(e);e-=a,t.layer+=a}if(e<=-1){const a=Math.trunc(e);if(e-=a,t.layer+=a,t.layer<0)for(let n=0;n<100;++n){if(t.layer++,t.mag=Math.log10(t.mag),!isFinite(t.mag))return t.sign===0&&(t.sign=1),t.layer<0&&(t.layer=0),t.normalize();if(t.layer>=0)break}}for(;t.layer<0;)t.layer++,t.mag=Math.log10(t.mag);return t.sign===0&&(t.sign=1,t.mag===0&&t.layer>=1&&(t.layer-=1,t.mag=1)),t.normalize(),e!==0?t.layeradd(e,10):t}layeradd(e,t){const n=this.slog(t).toNumber()+e;return n>=0?u.tetrate(t,n):Number.isFinite(n)?n>=-1?u.log(u.tetrate(t,n+1),t):u.log(u.log(u.tetrate(t,n+2),t),t):u.dNaN}lambertw(){if(this.lt(-.3678794411710499))throw Error("lambertw is unimplemented for results less than -1, sorry!");if(this.mag<0)return u.fromNumber(aa(this.toNumber()));if(this.layer===0)return u.fromNumber(aa(this.sign*this.mag));if(this.layer===1)return na(this);if(this.layer===2)return na(this);if(this.layer>=3)return U(this.sign,this.layer-1,this.mag);throw"Unhandled behavior in lambertw()"}ssqrt(){if(this.sign==1&&this.layer>=3)return U(this.sign,this.layer-1,this.mag);const e=this.ln();return e.div(e.lambertw())}pentate(e=2,t=U(1,0,1)){t=g(t);const a=e;e=Math.trunc(e);const n=a-e;n!==0&&(t.eq(u.dOne)?(++e,t=u.fromNumber(n)):this.eq(10)?t=t.layeradd10(n):t=t.layeradd(n,this));for(let r=0;r10)return t}return t}sin(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.sin(this.sign*this.mag)):U(0,0,0)}cos(){return this.mag<0?u.dOne:this.layer===0?u.fromNumber(Math.cos(this.sign*this.mag)):U(0,0,0)}tan(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.tan(this.sign*this.mag)):U(0,0,0)}asin(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.asin(this.sign*this.mag)):U(Number.NaN,Number.NaN,Number.NaN)}acos(){return this.mag<0?u.fromNumber(Math.acos(this.toNumber())):this.layer===0?u.fromNumber(Math.acos(this.sign*this.mag)):U(Number.NaN,Number.NaN,Number.NaN)}atan(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.atan(this.sign*this.mag)):u.fromNumber(Math.atan(this.sign*(1/0)))}sinh(){return this.exp().sub(this.negate().exp()).div(2)}cosh(){return this.exp().add(this.negate().exp()).div(2)}tanh(){return this.sinh().div(this.cosh())}asinh(){return u.ln(this.add(this.sqr().add(1).sqrt()))}acosh(){return u.ln(this.add(this.sqr().sub(1).sqrt()))}atanh(){return this.abs().gte(1)?U(Number.NaN,Number.NaN,Number.NaN):u.ln(this.add(1).div(u.fromNumber(1).sub(this))).div(2)}ascensionPenalty(e){return e===0?this:this.root(u.pow(10,e))}egg(){return this.add(9)}lessThanOrEqualTo(e){return this.cmp(e)<1}lessThan(e){return this.cmp(e)<0}greaterThanOrEqualTo(e){return this.cmp(e)>-1}greaterThan(e){return this.cmp(e)>0}};let N=u;N.fromStringCache=new Pn(Fn);N.dZero=U(0,0,0);N.dOne=U(1,0,1);N.dNegOne=U(-1,0,1);N.dTwo=U(1,0,2);N.dTen=U(1,0,10);N.dNaN=U(Number.NaN,Number.NaN,Number.NaN);N.dInf=U(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);N.dNegInf=U(-1,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY);N.dNumberMax=k(1,0,Number.MAX_VALUE);N.dNumberMin=k(1,0,Number.MIN_VALUE);g=N.fromValue_noAlloc;k=N.fromComponents;U=N.fromComponents_noNormalize;N.fromMantissaExponent;N.fromMantissaExponent_noNormalize;const Ln=new N(1);function ot(e,t,a=!0){let n=N.log10(e).floor(),r=N.div(e,N.pow(10,n));r.toStringWithDecimalPlaces(t)==="10"&&(r=Ln,n=n.add(1));const s=n.gte(1e9)?ce(n,Math.max(Math.max(t,3),J.defaultDecimalsShown)):n.gte(1e4)?Qt(n,0):n.toStringWithDecimalPlaces(0);return a?r.toStringWithDecimalPlaces(t)+"e"+s:"e"+s}function Qt(e,t){if(e==null)return"NaN";if(e=new N(e),e.mag<.001)return 0 .toFixed(t);const n=e.toStringWithDecimalPlaces(t).split(".");return n[0]=n[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,"),n.length==1?n[0]:n[0]+"."+n[1]}function ha(e,t){return e==null?"NaN":(e=new N(e),e.mag<1e-4?0 .toFixed(t):(e.mag<.1&&t!==0&&(t=Math.max(Math.max(t,e.log10().negate().ceil().toNumber()),J.defaultDecimalsShown)),e.toStringWithDecimalPlaces(t)))}const Xn=new N("eeee1000"),Wn=new N("e100000"),ra=new N("e1000"),pa=new N(1e9),Yn=new N(1e6),Kn=new N(1e3),jn=new N(.98),Hn=new N(.001),ba=new N(0);function ce(e,t,a){if(t==null&&(t=J.defaultDecimalsShown),a=a!=null?a:J.defaultShowSmall,e=new N(e),isNaN(e.sign)||isNaN(e.layer)||isNaN(e.mag))return"NaN";if(e.sign<0)return"-"+ce(e.neg(),t);if(e.mag===Number.POSITIVE_INFINITY)return"Infinity";if(e.gte(Xn)){const n=e.slog();return n.gte(Yn)?"F"+ce(n.floor()):N.pow(10,n.sub(n.floor())).toStringWithDecimalPlaces(3)+"F"+Qt(n.floor(),0)}else{if(e.gte(Wn))return ot(e,0,!1);if(e.gte(ra))return ot(e,0);if(e.gte(pa))return ot(e,t);if(e.gte(Kn))return Qt(e,0);if(e.gte(Hn)||!a)return ha(e,t);if(e.eq(ba))return 0 .toFixed(t)}return e=Ca(e),e.lt(ra)?ot(e,t).replace(/([^(?:e|F)]*)$/,"-$1"):ce(e,t)+"\u207B\xB9"}function le(e){return e=new N(e),e.sign<0?"-"+le(e.neg()):e.gte(pa)||e.lte(jn)&&!e.eq(ba)?ce(e):ce(e,0)}function ya(e){return N.lt(e,0)?"-"+ya(N.neg(e)):N.gt(e,2**51)?ce(N.div(e,31536e3))+"y":(e=new N(e).toNumber(),e<60?ce(e)+"s":e<3600?le(Math.floor(e/60))+"m "+ce(e%60)+"s":e<86400?le(Math.floor(e/3600))+"h "+le(Math.floor(e/60)%60)+"m "+le(e%60)+"s":e<31536e3?le(Math.floor(e/84600)%365)+"d "+le(Math.floor(e/3600)%24)+"h "+le(Math.floor(e/60)%60)+"m":le(Math.floor(e/31536e3))+"y "+le(Math.floor(e/84600)%365)+"d "+le(Math.floor(e/3600)%24)+"h")}function Zn(e,t,a){e=new N(e);let n=e.toStringWithDecimalPlaces(t);return new N(n).gte(a)&&(n=N.sub(a,Math.pow(.1,t)).toStringWithDecimalPlaces(t)),n}function $n(e,t){return ce(e,t,!0)}function Ca(e){let t=N.log10(e).ceil();const a=N.div(e,N.pow(10,t));return t=t.neg(),e=new N(10).pow(t).times(a),e}var er=Object.freeze(Object.defineProperty({__proto__:null,default:N,exponentialFormat:ot,commaFormat:Qt,regularFormat:ha,format:ce,formatWhole:le,formatTime:ya,toPlaces:Zn,formatSmall:$n,invertOOM:Ca},Symbol.toStringTag,{value:"Module"}));const{exponentialFormat:tr,commaFormat:ar,regularFormat:nr,format:Ba,formatWhole:qt,formatTime:Xt,toPlaces:rr,formatSmall:sr,invertOOM:ir}=er;window.Decimal=N;window.exponentialFormat=tr;window.commaFormat=ar;window.regularFormat=nr;window.format=Ba;window.formatWhole=qt;window.formatTime=Xt;window.toPlaces=rr;window.formatSmall=sr;window.invertOOM=ir;function sa(e){return typeof e=="function"}var Z=(e=>(e.Up="Up",e.Down="Down",e.Left="Left",e.Right="Right",e.Default="Up",e))(Z||{});const It=Symbol("DoNotCache");function Y(e,t){const a=e[t];sa(a)&&a.length===0&&!a[It]?e[t]=V(a.bind(e)):sa(a)&&(e[t]=a.bind(e),e[t][It]=!0)}const ct=Symbol("Component"),kt=Symbol("GatherProps");let Ar=0;function Wt(e="feature-"){return e+Ar++}var dt=(e=>(e[e.Visible=0]="Visible",e[e.Hidden=1]="Hidden",e[e.None=2]="None",e))(dt||{});function wt(e){const t=l(e);return t!==2&&t!==!1}function Ea(e){return l(e)===1}function W(e){return e[It]=!0,e}function Ge(e,t,a){e[t]===void 0&&a!=null&&(e[t]=a)}const te=ga();"fonts"in document&&(document.fonts.onloadingdone=()=>te.emit("fontsLoaded"));var or=Object.freeze(Object.defineProperty({__proto__:null,globalBus:te},Symbol.toStringTag,{value:"Module"}));const Fe=Symbol("ProxyState");function Mt(e,t={}){const a=t;let n=!1;function r(){return n||(Object.assign(a,e(a)),n=!0),a}return new Proxy(a,{get(s,i){if(i===Fe)return r();const o=r()[i];return o!=null&&typeof o=="object"&&zt in o?o[zt]:o},set(s,i,o){return r()[i]=o,!0},has(s,i){return i===Fe?!0:Reflect.has(r(),i)},ownKeys(){return Reflect.ownKeys(r())},getOwnPropertyDescriptor(s,i){return n||(Object.assign(a,e(a)),n=!0),Object.getOwnPropertyDescriptor(s,i)}})}const lr=vt({id:"",devSpeed:null,name:"",tabs:[],time:-1,autosave:!0,offlineProd:!0,offlineTime:null,timePlayed:0,keepGoing:!1,modID:"",modVersion:"",layers:{}});var z=window.player=lr;function Na(e){return JSON.stringify(e,(t,a)=>l(a))}var ee=window.state=Gt({lastTenTicks:[],hasNaN:!1,NaNPath:[]});const je=Symbol("PersistentState"),rt=Symbol("DefaultValue"),St=Symbol("StackTrace"),Ft=Symbol("Deleted"),zt=Symbol("NonPersistent"),xe=Symbol("SaveDataPath");function ur(){var e,t;return(t=(e=new Error().stack)==null?void 0:e.split(` -`).slice(3,5).map(a=>a.trim()).join(` -`))!=null?t:""}function ia(e,t){var a;if(N.isNaN(t))throw ee.hasNaN||(z.autosave=!1,ee.hasNaN=!0,ee.NaNPath=e[xe],ee.NaNPersistent=e),console.error("Attempted to save NaN value to",(a=e[xe])==null?void 0:a.join("."),e),"Attempted to set NaN value. See above for details";e[je].value=t}function Qa(e,t=!0){const a=de(e)?e:Q(e);de(e)&&(e=e.value);const n=V({get(){return a.value},set(s){t?ia(r,s):r[je].value=s}});n[rt]=e;const r={get value(){return a.value},set value(s){t?ia(r,s):r[je].value=s},__v_isRef:!0,[je]:a,[rt]:e,[St]:ur(),[Ft]:!1,[zt]:n,[xe]:void 0};return he.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",r,` -Created at: -`+r[St]):He[he[he.length-1]].add(r),r}function cr(e){return e!=null&&typeof e=="object"&&je in e}te.on("addLayer",(e,t)=>{const a=[],n=(r,s=[])=>{let i=!1;return Object.keys(r).forEach(o=>{let c=r[o];if(c!=null&&typeof c=="object")if(Fe in c&&(c=c[Fe]),cr(c)){if(i=!0,c[Ft]){console.warn("Deleted persistent ref present in returned object. Ignoring...",c,` -Created at: -`+c[St]);return}He[e.id].delete(c);const m=[e.id,...s,o];c[xe]!=null&&JSON.stringify(m)!==JSON.stringify(c[xe])&&console.error(`Persistent ref is being saved to \`${m.join(".")}\` when it's already present at \`${c[xe].join(".")}\`. This can cause unexpected behavior when loading saves between updates.`,c),c[xe]=m;const b=s.reduce((y,C)=>(C in y||(y[C]={}),y[C]),t),p=b[o];b[o]=c[je],xa(b)?p!=null?b[o]=p:b[o]=c[rt]:p!=null?b[o].value=p:b[o].value=c[rt]}else!(c instanceof N)&&!de(c)&&!a.includes(c)&&(typeof c.type=="symbol"&&a.push(c),n(c,[...s,o])&&(Ot(c)&&!Ot(r)?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.",Fe in r?r[Fe]:r,o):i=!0))}),i};n(e[Fe]),He[e.id].forEach(r=>{r[Ft]||console.error(`Created persistent ref in ${e.id} without registering it to the layer! Make sure to include everything persistent in the returned object`,r,` -Created at: -`+r[St])}),He[e.id].clear()});const Yt=Symbol("RegisterNode"),Kt=Symbol("UnregisterNode"),Ia=Symbol("Nodes"),wa=Symbol("Bounds"),ne=Gt({});window.layers=ne;const He={},he=[];function Sa(e,t){return Mt(()=>{const a={},n=a.emitter=ga();if(a.on=n.on.bind(n),a.emit=n.emit.bind(n),a.nodes=Q({}),a.id=e,he.push(e),He[e]=new Set,a.minimized=Qa(!1,!1),Object.assign(a,t.call(a)),he[he.length-1]==null||he[he.length-1]!==e)throw`Adding layers stack in invalid state. This should not happen -Stack: ${he} -Trying to pop ${a.id}`;he.pop(),Y(a,"color"),Y(a,"display"),Y(a,"classes"),Y(a,"style"),Y(a,"name"),Ge(a,"name",a.id),Y(a,"minWidth"),Ge(a,"minWidth",600),Y(a,"minimizable"),Ge(a,"minimizable",!0),Y(a,"minimizedDisplay");const r=a.style;return a.style=V(()=>{var i,o;let s=l(a.minWidth);return(typeof s=="number"||!Number.isNaN(parseInt(s)))&&(s=s+"px"),[(i=l(r))!=null?i:"",(o=a.minimized)!=null&&o.value?{flexGrow:"0",flexShrink:"0",width:"60px",minWidth:"",flexBasis:"",margin:"0"}:{flexGrow:"",flexShrink:"",width:"",minWidth:s,flexBasis:s,margin:""}]}),a})}function _a(e,t){if(console.info("Adding layer",e.id),ne[e.id]){console.error("Attempted to add layer with same ID as existing layer",e.id,ne[e.id]);return}Ge(t,"layers",{}),t.layers[e.id]==null&&(t.layers[e.id]={}),ne[e.id]=e,te.emit("addLayer",e,t.layers[e.id])}function dr(e){return ne[e]}function Ta(e){console.info("Removing layer",e.id),te.emit("removeLayer",e),ne[e.id]=void 0}function gr(e){Ta(e),_a(e,z)}function mr(e){const t=Q(!1);return{openModal:()=>t.value=!0,modal:W(()=>A(Ve,{modelValue:t.value,"onUpdate:modelValue":a=>t.value=a},{header:()=>A("h2",null,[l(e.name)]),body:l(e.display)}))}}te.on("update",function(t){Object.values(ne).forEach(a=>{a==null||a.emit("preUpdate",t)}),Object.values(ne).forEach(a=>{a==null||a.emit("update",t)}),Object.values(ne).forEach(a=>{a==null||a.emit("postUpdate",t)})});var fr=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:Yt,UnregisterNodeInjectionKey:Kt,NodesInjectionKey:Ia,BoundsInjectionKey:wa,layers:ne,persistentRefs:He,addingLayers:he,createLayer:Sa,addLayer:_a,getLayer:dr,removeLayer:Ta,reloadLayer:gr,setupLayerModal:mr},Symbol.toStringTag,{value:"Module"}));var L=(e,t)=>{const a=e.__vccOpts||e;for(const[n,r]of t)a[n]=r;return a};const vr=x({__name:"Context",emits:["updateNodes"],setup(e,{emit:t}){var b;const a=Q({}),n=new ResizeObserver(o),r=Q(null);_t(()=>{const p=r.value;p!=null&&n.observe(p)});let s=!0,i=Q((b=r.value)==null?void 0:b.getBoundingClientRect());function o(){s&&(s=!1,Me(()=>{var p;i.value=(p=r.value)==null?void 0:p.getBoundingClientRect(),Object.values(a.value).filter(y=>y).forEach(y=>y.rect=y.element.getBoundingClientRect()),t("updateNodes",a.value),s=!0}))}te.on("fontsLoaded",o);const c={attributes:!1,childList:!0,subtree:!1};bt(Yt,(p,y)=>{const C=new MutationObserver(()=>m(p));C.observe(y,c),a.value[p]={element:y,observer:C,rect:y.getBoundingClientRect()},o()}),bt(Kt,p=>{var y;(y=a.value[p])==null||y.observer.disconnect(),a.value[p]=void 0,o()}),bt(Ia,a),bt(wa,i);function m(p){const y=a.value[p];y!=null&&(y.rect=y.element.getBoundingClientRect(),t("updateNodes",a.value))}return(p,y)=>(f(),B(X,null,[Ce(p.$slots,"default",{},void 0,!0),d("div",{ref_key:"resizeListener",ref:r,class:"resize-listener"},null,512)],64))}});var ka=L(vr,[["__scopeId","data-v-2b1dc1bc"]]);const hr=["onPointerdown"],pr={class:"modal-wrapper"},br={class:"modal-container"},yr={class:"modal-header"},Cr=v(" default header "),Br={class:"modal-body"},Er=v(" default body "),Nr={class:"modal-footer"},Qr=d("div",{class:"modal-default-flex-grow"},null,-1),Ve=x({__name:"Modal",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){const r=Ne(e),s=V(()=>l(r.modelValue)||o.value);function i(){a("update:modelValue",!1)}const o=Q(!1),c=Q(null),m=V(()=>{var b,p;return(p=(b=c.value)==null?void 0:b.nodes)!=null?p:null});return t({isOpen:s,nodes:m}),(b,p)=>(f(),F(Ga,{to:"#modal-root"},[A(ca,{name:"modal",onBeforeEnter:p[0]||(p[0]=y=>o.value=!0),onAfterLeave:p[1]||(p[1]=y=>o.value=!1)},{default:M(()=>[Lt(d("div",nt({class:"modal-mask",onPointerdown:ut(i,["self"])},b.$attrs),[d("div",pr,[d("div",br,[d("div",yr,[Ce(b.$slots,"header",{shown:l(s)},()=>[Cr])]),d("div",Br,[A(ka,{ref_key:"contextRef",ref:c},{default:M(()=>[Ce(b.$slots,"body",{shown:l(s)},()=>[Er])]),_:3},512)]),d("div",Nr,[Ce(b.$slots,"footer",{shown:l(s)},()=>[d("div",{class:"modal-default-footer"},[Qr,d("button",{class:"button modal-default-button",onClick:i}," Close ")])])])])])],16,hr),[[Ja,e.modelValue]])]),_:3})]))}});const qe={variables:{"--foreground":"#dfdfdf","--background":"#0f0f0f","--feature-foreground":"#0f0f0f","--tooltip-background":"rgba(0, 0, 0, 0.75)","--raised-background":"#0f0f0f","--points":"#ffffff","--locked":"#bf8f8f","--highlighted":"#333","--bought":"#77bf5f","--danger":"rgb(220, 53, 69)","--link":"#02f2f2","--outline":"#dfdfdf","--accent1":"#627a82","--accent2":"#658262","--accent3":"#7c6282","--border-radius":"15px","--modal-border":"solid 2px var(--color)","--feature-margin":"0px"},floatingTabs:!0,mergeAdjacent:!0,showPin:!0};var jt=(e=>(e.Classic="classic",e.Paper="paper",e.Nordic="nordic",e.Aqua="aqua",e))(jt||{}),ht={classic:qe,paper:{...qe,variables:{...qe.variables,"--background":"#2a323d","--feature-foreground":"#000","--raised-background":"#333c4a","--locked":"#3a3e45","--bought":"#5C8A58","--outline":"#333c4a","--border-radius":"4px","--modal-border":"","--feature-margin":"5px"},floatingTabs:!1},nordic:{...qe,variables:{...qe.variables,"--foreground":"#45283c","--background":"#bbc3e8","--feature-foreground":"#fff7f6","--raised-background":"#fff7f6","--points":"#45283c","--locked":"#fff7f6","--highlighted":"#434c5e","--bought":"#fff7f6","--danger":"#D08770","--link":"#8423a9","--outline":"#551842","--accent1":"#dc7d71","--accent2":"#8423a9","--accent3":"#47f2ca","--border-radius":"4px","--modal-border":"solid 2px #3B4252","--feature-margin":"5px"},floatingTabs:!1},aqua:{...qe,variables:{...qe.variables,"--foreground":"#bfdfff","--background":"#001f3f","--tooltip-background":"rgba(0, 15, 31, 0.75)","--raised-background":"#001f3f","--points":"#dfefff","--locked":"#c4a7b3","--outline":"#bfdfff"}}};function Ma(e={}){return Object.assign({id:`${J.id}-0`,name:"Default Save",tabs:J.initialTabs.slice(),time:Date.now(),autosave:!0,offlineProd:!0,offlineTime:0,timePlayed:0,keepGoing:!1,modID:J.id,modVersion:J.versionNumber,layers:{}},e)}function ue(e){const t=ke.compressToUTF16(Na(e!=null?e:z));return localStorage.setItem((e!=null?e:z).id,t),t}async function Ir(){_r();try{let e=localStorage.getItem(D.active);if(e==null){await Je(Ze());return}if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=ke.decompressFromUTF16(e);else throw"Unable to determine save encoding";const t=JSON.parse(e);if(t.modID!==J.id){await Je(Ze());return}t.id=D.active,await Je(t)}catch(e){console.error(`Failed to load save. Falling back to new save. -`,e),await Je(Ze())}}function Ze(){const e=Et(),t=Ma({id:e});return ue(t),D.saves.push(e),t}function Et(){let e,t=0;do e=`${J.id}-${t++}`;while(localStorage.getItem(e)!=null);return e}const wr=Q(!1);async function Je(e){console.info("Loading save",e),wr.value=!0;const{layers:t,removeLayer:a,addLayer:n}=await Nt(()=>Promise.resolve().then(function(){return fr}),void 0),{fixOldSave:r,getInitialLayers:s}=await Nt(()=>Promise.resolve().then(function(){return Wi}),void 0);for(const i in t){const o=t[i];o&&a(o)}s(e).forEach(i=>n(i,e)),e=Ma(e),e.offlineProd&&e.time!=null&&e.time&&e.devSpeed!==0&&(e.offlineTime==null&&(e.offlineTime=0),e.offlineTime+=Math.min(e.offlineTime+(Date.now()-e.time)/1e3,J.offlineLimit*3600)),e.time=Date.now(),e.modVersion!==J.versionNumber&&(r(e.modVersion,e),e.modVersion=J.versionNumber),Object.assign(z,e),D.active=z.id,te.emit("onLoad")}setInterval(()=>{z.autosave&&ue()},1e3);window.onbeforeunload=()=>{z.autosave&&ue()};window.save=ue;const Sr=window.hardReset=async()=>{await Je(Ze())};window.deleteLowerSaves=()=>{const e=Object.values(D.saves).indexOf(z.id)+1;Object.values(D.saves).slice(e).forEach(t=>localStorage.removeItem(t)),D.saves=D.saves.slice(0,e)};const gt=vt({active:"",saves:[],showTPS:!0,theme:jt.Nordic,unthrottled:!1,alignUnits:!1,autoplay:!1,fast:!1,showTutorial:!0,privateRoomName:"",privateRoomPassword:""});Be(gt,e=>{const t=ke.compressToUTF16(JSON.stringify(e));localStorage.setItem(J.id,t)},{deep:!0});var D=window.settings=gt;window.hardResetSettings=()=>{const e={active:"",saves:[],showTPS:!0,theme:jt.Nordic,alignUnits:!1,autoplay:!1,fast:!1};te.emit("loadSettings",e),Object.assign(gt,e),Sr()};function _r(){try{let e=localStorage.getItem(J.id);if(e!=null&&e!==""){if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=ke.decompressFromUTF16(e);else{console.warn("Unable to determine settings encoding",e);return}const t=JSON.parse(e);typeof t=="object"&&Object.assign(gt,t)}te.emit("loadSettings",gt)}catch{}}const Pa=vt([]);function Tr(e){Pa.push(e)}const kr=vt([]),Mr=vt([]),Pr={class:"table"},Aa=x({__name:"Column",setup(e){const t=V(()=>ht[D.theme].mergeAdjacent);return(a,n)=>(f(),B("div",Pr,[d("div",{class:H(["col",{mergeAdjacent:l(t)}])},[Ce(a.$slots,"default")],2)]))}}),Dr={class:"table"},Se=x({__name:"Row",setup(e){const t=V(()=>ht[D.theme].mergeAdjacent);return(a,n)=>(f(),B("div",Dr,[d("div",{class:H(["row",{mergeAdjacent:l(t)}])},[Ce(a.$slots,"default")],2)]))}});function ge(e,t="span"){return typeof e=="function"?x({render:e}):typeof e=="string"?e.length>0?(e=e.trim(),e.charAt(0)!=="<"&&(e=`<${t}>${e}`),x({template:e})):x({render:()=>({})}):e}function $e(e){if(lt(e))return typeof e=="function"?e():ge(e);const t=e[ct];return A(t,e[kt](),null)}function Da(e){if(lt(e))return typeof e=="function"?e():typeof e=="string"?A(X,null,[e]):A(e,null,null);const t=e[ct];return A(t,e[kt](),null)}function lt(e){return typeof e=="string"?!0:typeof e=="object"?e==null?!1:"render"in e||"component"in e:typeof e=="function"&&e[It]===!0}function Ua(e,t="div"){const a=be();return Tt(()=>{a.value=ge(pe(e),t)}),a}function Pt(e,t="div"){const a=be(null);return Tt(()=>{const n=pe(e);a.value=n==""||n==null?null:ge(n,t)}),a}function pe(e){return l(l(e))}function G(...e){return e.includes(Object)||e.push(Object),e}te.on("setupVue",e=>e.use(Ha));function Ur(e="white",t="8px"){return{transform:"scale(1.05, 1.05)",borderColor:"rgba(0, 0, 0, 0.125)",boxShadow:`-4px -4px 4px rgba(0, 0, 0, 0.25) inset, 0 0 ${t} ${e}`,zIndex:1}}const Vr=x({props:{visibility:{type:G(Number,Boolean),required:!0},display:{type:G(Object,String,Function),required:!0},style:G(String,Object,Array),classes:G(Object),glowColor:G(String),active:Boolean,floating:Boolean},emits:["selectTab"],setup(e,{emit:t}){const{display:a,glowColor:n,floating:r}=Ne(e),s=Ua(a),i=V(()=>{const c=pe(n);return c==null||c===""?{}:l(r)?Ur(c):{boxShadow:`0px 9px 5px -6px ${c}`}});function o(){t("selectTab")}return{selectTab:o,component:s,glowColorStyle:i,unref:l,Visibility:dt,isVisible:wt,isHidden:Ea}}});function Or(e,t,a,n,r,s){var i;return e.isVisible(e.visibility)?(f(),B("button",{key:0,onClick:t[0]||(t[0]=(...o)=>e.selectTab&&e.selectTab(...o)),class:H(["tabButton",{active:e.active,...e.unref(e.classes)}]),style:Ee([{visibility:e.isHidden(e.visibility)?"hidden":void 0},e.glowColorStyle,(i=e.unref(e.style))!=null?i:{}])},[(f(),F(se(e.component)))],6)):T("",!0)}var Va=L(Vr,[["render",Or],["__scopeId","data-v-485cbefe"]]);const Rr=x({__name:"Sticky",setup(e){const t=Q("0"),a=new ResizeObserver(r),n=be(null);function r(){let s=n.value;if(s==null)return;let i=0;for(;s.previousSibling;){const o=s.previousSibling;o.dataset&&"vSticky"in o.dataset&&(i+=o.offsetHeight),s=o}t.value=i+"px"}return Me(r),document.fonts.ready.then(r),_t(()=>{var i;const s=(i=n.value)==null?void 0:i.parentElement;s&&a.observe(s)}),(s,i)=>(f(),B("div",{class:"sticky",style:Ee({top:t.value}),ref_key:"element",ref:n,"data-v-sticky":""},[Ce(s.$slots,"default",{},void 0,!0)],4))}});var qr=L(Rr,[["__scopeId","data-v-cccac690"]]);const Fr=x({props:{visibility:{type:G(Number,Boolean),required:!0},activeTab:{type:G(Object),required:!0},selected:{type:Object,required:!0},tabs:{type:G(Object),required:!0},style:G(String,Object,Array),classes:G(Object),buttonContainerStyle:G(String,Object,Array),buttonContainerClasses:G(Object)},components:{Sticky:qr,TabButton:Va},setup(e){const{activeTab:t}=Ne(e),a=V(()=>ht[D.theme].floatingTabs),n=be("");Tt(()=>{const o=pe(t);if(o==null){n.value="";return}if(lt(o)){n.value=ge(o);return}n.value=ge(l(o.display))});const r=V(()=>{const o=pe(t);return lt(o)||!o?void 0:l(o.classes)}),s=V(()=>{const o=pe(t);return lt(o)||!o?void 0:l(o.style)});function i(o){const{display:c,style:m,classes:b,glowColor:p,visibility:y}=o;return{display:c,style:l(m),classes:b,glowColor:p,visibility:y}}return{floating:a,tabClasses:r,tabStyle:s,Visibility:dt,component:n,gatherButtonProps:i,unref:l,isVisible:wt,isHidden:Ea}}});function zr(e,t,a,n,r,s){var c,m;const i=Rt("TabButton"),o=Rt("Sticky");return e.isVisible(e.visibility)?(f(),B("div",{key:0,class:H(["tab-family-container",{...e.unref(e.classes),...e.tabClasses}]),style:Ee([{visibility:e.isHidden(e.visibility)?"hidden":void 0},(c=e.unref(e.style))!=null?c:[],(m=e.tabStyle)!=null?m:[]])},[A(o,{class:H(["tab-buttons-container",e.unref(e.buttonContainerClasses)]),style:Ee(e.unref(e.buttonContainerStyle))},{default:M(()=>[d("div",{class:H(["tab-buttons",{floating:e.floating}])},[(f(!0),B(X,null,da(e.unref(e.tabs),(b,p)=>(f(),F(i,nt({onSelectTab:y=>e.selected.value=p,floating:e.floating,key:p,active:e.unref(b.tab)===e.unref(e.activeTab)},e.gatherButtonProps(b)),null,16,["onSelectTab","floating","active"]))),128))],2)]),_:1},8,["class","style"]),e.unref(e.activeTab)?(f(),F(se(e.unref(e.component)),{key:0})):T("",!0)],6)):T("",!0)}var xr=L(Fr,[["render",zr],["__scopeId","data-v-58dbf83a"]]);const Jr=Symbol("TabButton"),Gr=Symbol("TabFamily");function Lr(e,t){if(Object.keys(e).length===0)throw console.warn("Cannot create tab family with 0 tabs"),"Cannot create tab family with 0 tabs";const a=Qa(Object.keys(e)[0],!1);return Mt(()=>{var s;const n=(s=t==null?void 0:t())!=null?s:{};n.id=Wt("tabFamily-"),n.type=Gr,n[ct]=xr,n.tabs=Object.keys(e).reduce((i,o)=>{const c=e[o]();return c.type=Jr,c[ct]=Va,Y(c,"visibility"),Ge(c,"visibility",dt.Visible),Y(c,"tab"),Y(c,"display"),Y(c,"classes"),Y(c,"style"),Y(c,"glowColor"),i[o]=c,i},{}),n.selected=a,n.activeTab=V(()=>{const i=l(r.tabs);if(a.value in i&&wt(i[a.value].visibility))return l(i[a.value].tab);const o=Object.values(i).find(c=>wt(c.visibility));return o?l(o.tab):null}),Y(n,"visibility"),Ge(n,"visibility",dt.Visible),Y(n,"classes"),Y(n,"style"),Y(n,"buttonContainerClasses"),Y(n,"buttonContainerStyle"),n[kt]=function(){const{visibility:i,activeTab:o,selected:c,tabs:m,style:b,classes:p,buttonContainerClasses:y,buttonContainerStyle:C}=this;return{visibility:i,activeTab:o,selected:c,tabs:m,style:l(b),classes:p,buttonContainerClasses:y,buttonContainerStyle:C}};const r=n;return r})}var ze="./assets/heart_small.5a26b7f7.png",We="./assets/presence_small.bbe534cd.png",Xr="./assets/wins_small.a33d849a.png",Ke="./assets/money_small.16f3e324.png";const Wr=x({components:{Context:ka},props:{index:{type:Number,required:!0},display:{type:G(Object,String,Function),required:!0},minimizedDisplay:G(Object,String,Function),minimized:{type:Object,required:!0},name:{type:G(String),required:!0},color:G(String),minimizable:G(Boolean),nodes:{type:Object,required:!0}},emits:["setMinimized"],setup(e){const{display:t,index:a,minimized:n,minimizedDisplay:r}=Ne(e),s=Ua(t),i=Pt(r),o=V(()=>J.allowGoBack&&a.value>0&&!pe(n));function c(){z.tabs.splice(l(e.index),1/0)}function m(b){e.nodes.value=b}return{component:s,minimizedComponent:i,showGoBack:o,updateNodes:m,unref:l,goBack:c}}}),Yr={key:1};function Kr(e,t,a,n,r,s){const i=Rt("Context");return f(),B("div",{class:"layer-container",style:Ee({"--layer-color":e.unref(e.color)})},[e.showGoBack?(f(),B("button",{key:0,class:"goBack",onClick:t[0]||(t[0]=(...o)=>e.goBack&&e.goBack(...o))},"\u274C")):T("",!0),e.unref(e.minimized)?(f(),B("button",{key:1,class:"layer-tab minimized",onClick:t[1]||(t[1]=o=>e.$emit("setMinimized",!1))},[e.minimizedComponent?(f(),F(se(e.minimizedComponent),{key:0})):(f(),B("div",Yr,q(e.unref(e.name)),1))])):(f(),B("div",{key:2,class:H(["layer-tab",{showGoBack:e.showGoBack}])},[A(i,{onUpdateNodes:e.updateNodes},{default:M(()=>[(f(),F(se(e.component)))]),_:1},8,["onUpdateNodes"])],2)),e.unref(e.minimizable)?(f(),B("button",{key:3,class:"minimize",onClick:t[2]||(t[2]=o=>e.$emit("setMinimized",!0))}," \u25BC ")):T("",!0)],4)}var jr=L(Wr,[["render",Kr],["__scopeId","data-v-a592996e"]]);const Oa=e=>(De("data-v-4b4bda40"),e=e(),Ue(),e),Hr=Oa(()=>d("h2",null,"Changelog",-1)),Zr=Oa(()=>d("details",{open:""},[d("summary",null,[v("v0.0 Initial Commit - "),d("time",null,"2021-09-04")]),v(" This is the first release :D "),d("ul",null,[d("li",{class:"feature"},"Did everything"),d("li",{class:"fix"},"Had some fun"),d("li",{class:"breaking"},"Removed everything"),d("li",{class:"balancing"},"Created some bugs to fix later")])],-1)),$r=x({__name:"Changelog",setup(e,{expose:t}){const a=Q(!1);return t({open(){a.value=!0}}),(n,r)=>(f(),F(Ve,{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=s=>a.value=s)},{header:M(()=>[Hr]),body:M(()=>[Zr]),_:1},8,["modelValue"]))}});var es=L($r,[["__scopeId","data-v-4b4bda40"]]),ts=x({props:{element:Object,display:{type:G(Object,String,Function),required:!0},style:G(Object,String,Array),classes:G(Object),direction:G(String),xoffset:G(String),yoffset:G(String),pinned:Object},setup(e){const{element:t,display:a,pinned:n}=Ne(e),r=Q(!1),s=V(()=>(pe(n)||r.value)&&i.value),i=Pt(a),o=be(ge(W(()=>{const b=pe(t);return b==null?"":Da(b)})));function c(b){const p=n;b.shiftKey&&p&&(p.value=!p.value,b.stopPropagation(),b.preventDefault())}const m=V(()=>pe(n)&&ht[D.theme].showPin);return{Direction:Z,isHovered:r,isShown:s,comp:i,elementComp:o,unref:l,togglePinned:c,showPin:m}}});const as={key:0,class:"material-icons pinned"};function ns(e,t,a,n,r,s){return f(),B("div",{class:H(["tooltip-container",{shown:e.isShown}]),onMouseenter:t[0]||(t[0]=i=>e.isHovered=!0),onMouseleave:t[1]||(t[1]=i=>e.isHovered=!1),onClickCapture:t[2]||(t[2]=(...i)=>e.togglePinned&&e.togglePinned(...i))},[Ce(e.$slots,"default",{},void 0,!0),e.elementComp?(f(),F(se(e.elementComp),{key:0})):T("",!0),A(ca,{name:"fade",css:!!e.comp},{default:M(()=>{var i;return[e.isShown?(f(),B("div",{key:0,class:H(["tooltip",{top:e.unref(e.direction)===e.Direction.Up,left:e.unref(e.direction)===e.Direction.Left,right:e.unref(e.direction)===e.Direction.Right,bottom:e.unref(e.direction)===e.Direction.Down,...e.unref(e.classes)}]),style:Ee([{"--xoffset":e.unref(e.xoffset)||"0px","--yoffset":e.unref(e.yoffset)||"0px"},(i=e.unref(e.style))!=null?i:{}])},[e.showPin?(f(),B("span",as,"push_pin")):T("",!0),e.comp?(f(),F(se(e.comp),{key:1})):T("",!0)],6)):T("",!0)]}),_:1},8,["css"])],34)}var j=L(ts,[["render",ns],["__scopeId","data-v-7a579aa7"]]);const Le=e=>(De("data-v-5d3cb6f4"),e=e(),Ue(),e),rs={class:"info-modal-header"},ss=["src","alt"],is={class:"info-modal-title"},As={key:0},os={key:0},ls={key:0},us=Le(()=>d("div",null," Made in Profectus, by thepaperpilot with inspiration from Acameada and Jacorb ",-1)),cs=Le(()=>d("br",null,null,-1)),ds=Le(()=>d("br",null,null,-1)),gs=["href"],ms=Le(()=>d("span",{class:"material-icons info-modal-discord"},"discord",-1)),fs=Le(()=>d("div",null,[d("a",{href:"https://discord.gg/WzejVAx",class:"info-modal-discord-link",target:"_blank"},[d("span",{class:"material-icons info-modal-discord"},"discord"),v(" The Paper Pilot Community ")])],-1)),vs=Le(()=>d("div",null,[d("a",{href:"https://discord.gg/F3xveHV",class:"info-modal-discord-link",target:"_blank"},[d("span",{class:"material-icons info-modal-discord"},"discord"),v(" The Modding Tree ")])],-1)),hs=Le(()=>d("br",null,null,-1));var ps=x({__name:"Info",props:{changelog:null},setup(e,{expose:t}){const a=e,{title:n,logo:r,author:s,discordName:i,discordLink:o,versionNumber:c,versionTitle:m}=J,b=Ne(a),p=Q(!1),y=V(()=>Xt(z.timePlayed)),C=V(()=>ge(W(()=>A(X,null,[kr.map($e)]))));t({open(){p.value=!0}});function I(){var S;(S=l(b.changelog))==null||S.open()}return(S,_)=>(f(),F(Ve,{modelValue:p.value,"onUpdate:modelValue":_[0]||(_[0]=$=>p.value=$)},{header:M(()=>[d("div",rs,[l(r)?(f(),B("img",{key:0,class:"info-modal-logo",src:l(r),alt:l(n)},null,8,ss)):T("",!0),d("div",is,[d("h2",null,q(l(n)),1),d("h4",null,[v(" v"+q(l(c)),1),l(m)?(f(),B("span",As,": "+q(l(m)),1)):T("",!0)])])])]),body:M(({shown:$})=>[$?(f(),B("div",os,[l(s)?(f(),B("div",ls,"By "+q(l(s)),1)):T("",!0),us,cs,d("div",{class:"link",onClick:I},"Changelog"),ds,d("div",null,[l(o)?(f(),B("a",{key:0,href:l(o),class:"info-modal-discord-link",target:"_blank"},[ms,v(" "+q(l(i)),1)],8,gs)):T("",!0)]),fs,vs,hs,d("div",null,"Time Played: "+q(l(y)),1),(f(),F(se(l(C))))])):T("",!0)]),_:1},8,["modelValue"]))}});var bs=L(ps,[["__scopeId","data-v-5d3cb6f4"]]);const ys=["onSubmit"],Cs={class:"field"},Bs={key:0,class:"field-title"},Es=["type","placeholder"],Ns=x({__name:"Text",props:{title:null,modelValue:null,textArea:{type:Boolean},placeholder:null,maxHeight:null,submitOnBlur:{type:Boolean},password:{type:Boolean}},emits:["update:modelValue","submit","cancel"],setup(e,{emit:t}){const a=e,n=Pt(Pe(a,"title"),"span"),r=be(null);_t(()=>{var c;(c=r.value)==null||c.focus()});const s=V({get(){var c;return(c=l(a.modelValue))!=null?c:""},set(c){t("update:modelValue",c)}});function i(){t("submit")}function o(){a.submitOnBlur!==!1?t("submit"):t("cancel")}return(c,m)=>(f(),B("form",{onSubmit:ut(i,["prevent"])},[d("div",Cs,[l(n)?(f(),B("span",Bs,[(f(),F(se(l(n))))])):T("",!0),e.textArea?(f(),F(l(Za),{key:1,modelValue:l(s),"onUpdate:modelValue":m[0]||(m[0]=b=>de(s)?s.value=b:null),placeholder:e.placeholder,maxHeight:e.maxHeight,onBlur:o,ref_key:"field",ref:r},null,8,["modelValue","placeholder","maxHeight"])):Lt((f(),B("input",{key:2,type:e.password==!0?"password":"text","onUpdate:modelValue":m[1]||(m[1]=b=>de(s)?s.value=b:null),placeholder:e.placeholder,class:H({fullWidth:!e.title}),onBlur:o,ref_key:"field",ref:r},null,42,Es)),[[La,l(s)]])])],40,ys))}});var mt=L(Ns,[["__scopeId","data-v-26e25f6a"]]);const Qs={min:.25,max:.5},Is=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],ws=.01,Ss=.1,_s=100,Ts=!0,ks={x:0,y:0},Ms=!1,Ps=[{type:"alpha",config:{alpha:{list:[{time:0,value:.74},{time:1,value:0}]}}},{type:"moveSpeed",config:{speed:{list:[{time:0,value:100},{time:1,value:0}]},minMult:1}},{type:"scale",config:{scale:{list:[{time:0,value:2},{time:1,value:.5}]},minMult:1}},{type:"color",config:{color:{list:[{time:0,value:"#FFC000"},{time:1,value:"#FFDF00"}]}}},{type:"rotation",config:{accel:0,minSpeed:0,maxSpeed:200,minStart:0,maxStart:360}},{type:"textureRandom",config:{textures:["particle.png"]}},{type:"spawnShape",config:{type:"torus",data:{radius:100,x:0,y:0}}}];var Ds={lifetime:Qs,ease:Is,frequency:ws,emitterLifetime:Ss,maxParticles:_s,addAtBack:Ts,pos:ks,emit:Ms,behaviors:Ps};fa.registerPlugin(tn);an.registerPlugin("batch",nn);var Us=x({props:{style:G(String,Object,Array),classes:G(Object),onInit:{type:Function,required:!0},id:{type:String,required:!0},onContainerResized:Function,onHotReload:Function},setup(e){const t=be(null),a=new ResizeObserver(s),n=be(null);_t(()=>{var o,c;const i=n.value;i!=null&&(a.observe(i),t.value=new fa({resizeTo:i,backgroundAlpha:0}),(o=n.value)==null||o.appendChild(t.value.view),(c=e.onInit)==null||c.call(e,t.value)),s(),e.onHotReload&&Me(e.onHotReload)}),Xa(()=>{var i;(i=t.value)==null||i.destroy()});let r=!0;function s(){r&&(r=!1,Me(()=>{var i;n.value!=null&&((i=e.onContainerResized)==null||i.call(e,n.value.getBoundingClientRect())),r=!0}))}return te.on("fontsLoaded",s),{unref:l,resizeListener:n}}});function Vs(e,t,a,n,r,s){return f(),B("div",{ref:"resizeListener",class:H(["resize-listener",e.unref(e.classes)]),style:Ee(e.unref(e.style))},null,6)}var Os=L(Us,[["render",Vs],["__scopeId","data-v-0b99a6fc"]]);const Rs=Symbol("Particles");function qs(e){return Mt(()=>{var r,s;const t=(r=e==null?void 0:e())!=null?r:{};t.id=Wt("particles-"),t.type=Rs,t[ct]=Os,t.app=be(null),t.addEmitter=i=>{const o=t;return o.app.value?Promise.resolve(new $t(o.app.value.stage,i)):new Promise(c=>{a.push({resolve:c,config:i})})};let a=[];function n(i){const o=t;o.app.value=i,a.forEach(({resolve:c,config:m})=>c(new $t(i.stage,m))),a=[]}return t.onContainerResized=(s=t.onContainerResized)==null?void 0:s.bind(t),t[kt]=function(){const{id:i,style:o,classes:c,onContainerResized:m,onHotReload:b}=this;return{id:i,style:l(o),classes:c,onContainerResized:m,onHotReload:b,onInit:n}},t})}window.upgradeConfig=rn;const Fs=Symbol("Reset");function zs(e){return Mt(()=>{const t=e();return t.id=Wt("reset-"),t.type=Fs,t.reset=function(){var r;const a=s=>{if(s!=null&&typeof s=="object")if(rt in s){const i=s;i.value=i[rt]}else!(s instanceof N)&&!de(s)&&Object.values(s).forEach(i=>a(i))},n=l(t.thingsToReset);Ot(n)?n.forEach(a):a(n),te.emit("reset",t),(r=t.onReset)==null||r.call(t)},Y(t,"thingsToReset"),t})}const Ct={};te.on("removeLayer",e=>{var t;(t=Ct[e.id])==null||t.call(Ct),Ct[e.id]=void 0});var xs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABT5JREFUeJzt3UGrVVUYBuBj2ERSikSKRmXixDBoEl6kBpVSEBUGgRbUyF9QTYQLd6KDaBoNykqhSKpJoBBBmNakgeRErGahiUGkOAps4nB9t1btc8/Z532e4Xf3XXt55WWxP9ZeezIBAAAAAAAAAAAAAAAAYBzWzXoC8+7mzas3Zz2H/2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q/rdG4u6W6PYNDuc+5LlgBYI0AwBoBgDUCAGsEANZqsxdIUV2Lqdkfwvr4jvjeG0V1P+bO/pga58QLuT08Wa3Rm8L62KaNYf1tsZdJfT7sBQIaiADAGgGANQIAawQA1mrfBVJdmourcXdicEidIIu7HKrbo7oupfYaKeq52a6OOummPgduhwYaiADAGgGANQIAawQA1mrfBVLUbcntldxeoFLyvxGWu01anRRT3Rutmd0ehRUA1ggArBEAWCMAsEYAYK02XaC7++MTXtVqXFe/4XWuP947pPbAqL032RNhpX4jLLs36YtTYhzR1VHq3u1RWAFgjQDAGgGANQIAawQA1rrWBSp1a/T00cnUc09O7km9Xt+H01tK3dvT1G6PwgoAawQA1ggArBEAWCMAsNZze4FKdYfmlg6HdXWPkOqiLMxfCOvqf45tAxvC+gfHxF+Q44g/+HklLA+KvUBYHysArBEAWCMAsEYAYI0AwFrt931ku0PKg8PHi8zn8+V7i4yjqHmq5zb1Pp9SWAFgjQDAGgGANQIAawQA1npuL1BWqb1DWdmui6LmU6orhfWxAsAaAYA1AgBrBADWCACs1b4LVEr/1dd0ewr/0mvzaSpWAFgjALBGAGCNAMAaAYA1AgBrBADWCACsEQBYIwCwRgBgjb1Alyz+cWvq9TduvBjW5W3VyZNinZ6POjHndl8QKwCsEQBYIwCwRgBgjQDAmtU3/qrq/H1B2duYe20+blgBYI0AwBoBgDUCAGsEANboBFyiujFZpborvTafpmIFgDUCAGsEANYIAKwRAAAAAAAAAAAAAAAAAABA7f0NUYSCE1qhmF4AAAAASUVORK5CYII=",Hs="./assets/start stream.dd66a6ec.png",Zs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABk1JREFUeJzt3TFoXVUcx/GX1EWRp4N0UkRD0UEJCELhVVuEWHQQIxVKWhxKcRCXiqO6tOhS6iIZRDIIFodCN4sECmIrQqxQ6KBIsigEpEItgks0DnX8/5B//J/ce9/v+xlPH/fevMevB36cc+5oBAAAAAAA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FVPExX884cPhfULPnZbWC9N+8Ag0wEAJCUAAJISAABJCQCApAQAQFKmgEbEqZPHu97CuSmd4VNSOe3z8osvVG4oVjsdBINMBwCQlAAASEoAACQlAACSEgAASZkCSqrtO0A9vvaVsD696NawXrxTWMHLO+qur53SKU37NKV056/S83ZoV5u7ISsdAEBSAgAgKQEAkJQAAEhKAAAkZQpoxJWmfbpap3Y6qGTPrnuqri9N3XS1ful5aEr7P/cljaxPt3QAAEkJAICkBABAUgIAICkBAJDUeNcbINbrHe1F9emJ1eH1axY8H9bfs3BBc5saIOtnllVdv2ny0ECtP+xKz8+Bk1vD+vj4Yr9rBpAOACApAQCQlAAASEoAACQlAACS8sn8kKmdDoI2mPYZDToAgKQEAEBSAgAgKQEAkJQAAEjKJ/YjojQdBG0w7TMadAAASQkAgKQEAEBSAgAgKQEAAAAAAAAAAAAAMJT+DTwcOA2JeToMAAAAAElFTkSuQmCC";const ti=x({__name:"Node",props:{id:null},setup(e){const a=Ne(e),n=Zt(Yt,()=>{}),r=Zt(Kt,()=>{}),s=be(null),i=V(()=>s.value&&s.value.parentElement);return Be([i,a.id],([o,c],[m,b])=>{m&&r(l(b)),o&&n(c,o)}),Wa(()=>r(l(a.id))),(o,c)=>(f(),B("div",{class:"node",ref_key:"node",ref:s},null,512))}});var ai=L(ti,[["__scopeId","data-v-a48cb382"]]),ni="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAqhJREFUeJzt3LFqFFEYBeBdERGJCaKgESUWCsZCTG0dbSyCZTp9B0ufxMJu38EHsA5YCDaiKGihiCxYuhZp7x254e6O6/m+8me4M1k4/HCYzGQCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkGg69gOs2mLxbbHM86fTS8XfdKz7MuzU2A8AYxIAogkA0QSAaAJAtNNjP8Cy1FqX+zceRt1XOzTMBiCaABBNAIgmAEQTAKKtfQvU2rrsb10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AAAAAAAK7ILzj6vECOPLAcAAAAAElFTkSuQmCC";const Ra=e=>(De("data-v-61e2b6c0"),e=e(),Ue(),e),di=["ondragend","ondragenter","ondragleave","ondragover","ondrop"],gi={key:0,class:"move-indicator"},mi=Ra(()=>d("span",{class:"material-icons"},"straight",-1)),fi=[mi],vi={key:1,class:"move-indicator"},hi=Ra(()=>d("span",{class:"material-icons"},"merge",-1)),pi=[hi],bi={key:2,class:"character-display"},yi=["src"],Ci={key:3,class:"relevancy-display"},Bi=["src"],Ei={key:4,class:"presence-display"},Ni=["src"],Qi={key:5,class:"frozen"},Ii=["src"],wi={key:6,class:"level-display"},Si=["src"],_i=["src"],Ti=["src"],ki=["src"],Mi=["src"],Pi=["src"];var Di=x({__name:"CharacterSlot",props:{id:null,character:null,isSelected:{type:Boolean},isShop:{type:Boolean},isDragging:{type:Boolean},selected:null,shake:{type:Boolean},frozen:{type:Boolean}},emits:["dragstart","dragend","drop"],setup(e,{emit:t}){const a=e,n=Q(!1),r=Q(!1),s=Q(void 0);function i(c){var m;n.value=!0,(m=c.dataTransfer)==null||m.setDragImage(s.value,0,0)}Be(n,c=>{t(c?"dragstart":"dragend")});const o=be("");return Tt(()=>{if(a.character==null||a.selected!=null||n.value){o.value="";return}const c=ge(K[a.character.type].abilityDescription(a.character));o.value=W(()=>A(X,null,[A("b",null,[K[a.character.type].nickname]),A("br",null,null),A(c,null,null)]))}),(c,m)=>(f(),F(j,{display:l(o),direction:l(Z).Up},{default:M(()=>{var b,p,y;return[d("div",{class:H(["character",{selected:e.isSelected,empty:e.character==null&&e.selected==null,dragging:n.value,isDragging:e.isDragging,draggingOver:r.value,shake:e.shake}]),draggable:"true",ondragstart:i,ondragend:()=>n.value=!1,ondragenter:()=>r.value=!0,ondragleave:()=>r.value=!1,ondragover:C=>{var I;e.selected!=null&&!e.isShop&&(((I=e.character)==null?void 0:I.type)!==e.selected.type||e.isSelected)&&C.preventDefault(),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6&&C.preventDefault()},ondrop:()=>{r.value=!1,t("drop")}},[e.selected!=null&&!e.isShop&&(((b=e.character)==null?void 0:b.type)!==e.selected.type||e.isSelected)&&n.value===!1?(f(),B("span",gi,fi)):T("",!0),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6?(f(),B("span",vi,pi)):T("",!0),e.character!=null?(f(),B("span",bi,[d("img",{ref_key:"imageElement",ref:s,src:l(K)[e.character.type].display},null,8,yi)])):T("",!0),e.character!=null?(f(),B("span",Ci,[d("img",{src:l(ni)},null,8,Bi),d("span",null,q((p=e.character)==null?void 0:p.relevancy),1)])):T("",!0),e.character!=null?(f(),B("span",Ei,[d("img",{src:l(ri)},null,8,Ni),d("span",null,q((y=e.character)==null?void 0:y.presence),1)])):T("",!0),e.character!=null&&e.frozen?(f(),B("span",Qi,[d("img",{src:l(si)},null,8,Ii)])):T("",!0),e.character!=null?(f(),B("span",wi,[e.character.exp===1?(f(),B("img",{key:0,src:l(ii)},null,8,Si)):T("",!0),e.character.exp===2?(f(),B("img",{key:1,src:l(Ai)},null,8,_i)):T("",!0),e.character.exp===3?(f(),B("img",{key:2,src:l(oi)},null,8,Ti)):T("",!0),e.character.exp===4?(f(),B("img",{key:3,src:l(li)},null,8,ki)):T("",!0),e.character.exp===5?(f(),B("img",{key:4,src:l(ui)},null,8,Mi)):T("",!0),e.character.exp===6?(f(),B("img",{key:5,src:l(ci)},null,8,Pi)):T("",!0)])):T("",!0),e.id?(f(),F(ai,{key:7,id:e.id},null,8,["id"])):T("",!0)],10,di)]}),_:1},8,["display","direction"]))}});var _e=L(Di,[["__scopeId","data-v-61e2b6c0"]]);const Ui={min:1.5,max:2.5},Vi=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],Oi=.001,Ri=.1,qi=100,Fi=!0,zi={x:0,y:0},xi=!1,Ji=[{type:"alpha",config:{alpha:{list:[{time:0,value:.74},{time:1,value:0}]}}},{type:"moveAcceleration",config:{accel:{x:0,y:2e3},minStart:600,maxStart:600,rotate:!0}},{type:"scale",config:{scale:{list:[{time:0,value:.5},{time:1,value:.25}]},minMult:1}},{type:"color",config:{color:{list:[{time:0,value:"#962121"},{time:.5,value:"#214a96"},{time:1,value:"#4c2196"}]}}},{type:"rotation",config:{accel:0,minSpeed:0,maxSpeed:200,minStart:0,maxStart:360}},{type:"textureRandom",config:{textures:["particle.png"]}},{type:"spawnShape",config:{type:"torus",data:{radius:100,x:0,y:0}}}];var Gi={lifetime:Ui,ease:Vi,frequency:Oi,emitterLifetime:Ri,maxParticles:qi,addAtBack:Fi,pos:zi,emit:xi,behaviors:Ji};function Te(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Ya(e)}const K={coots:{nickname:"Coots",initialRelevancy:3,initialPresence:1,display:Xs,abilityType:"LivestreamJoined",abilityDescription:e=>W(()=>A(X,null,[A("i",null,[v("Livestream joined")]),v(": Deal "),e.exp>=6?6:e.exp>=3?4:2," ",A("img",{src:ze},null),A("span",{style:"color: red"},[v("Relevancy")]),v(" damage to every character on a stream")])),performAbility(e){if(h.battle.value==null)return;const t=e.exp>=6?6:e.exp>=3?4:2;h.battle.value.streamers.forEach(a=>a.relevancy-=t),h.battle.value.enemyStreamers.forEach(a=>a.relevancy-=t)}},ludwig:{nickname:"Ludwig Coots",initialRelevancy:2,initialPresence:1,display:xs,abilityType:"LivestreamJoined",abilityDescription:e=>W(()=>A(X,null,[A("i",null,[v("Livestream joined")]),v(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",A("img",{src:We},null),A("span",{style:"color: gold"},[v("Presence")]),v(" for every character on that livestream")])),performAbility(e){if(h.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;h.battle.value.streamers.includes(e)?e.presence+=t*h.battle.value.streamers.length:e.presence+=t*h.battle.value.enemyStreamers.length}},qt:{nickname:"Qt Coots",initialRelevancy:1,initialPresence:2,display:Ws,abilityType:"Sold",abilityDescription:e=>W(()=>A(X,null,[A("i",null,[v("Sold")]),v(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",A("img",{src:Ke},null),A("span",{style:"color: yellow"},[v("Mogul"),e.exp>=3?"s":""])])),performAbility(e){const t=e.exp>=6?3:e.exp>=3?2:1;h.gold.value+=t}},maid:{nickname:"Maid Coots",initialRelevancy:2,initialPresence:2,display:Js,abilityType:"LevelUp",abilityDescription:e=>W(()=>A(X,null,[A("i",null,[v("Level up")]),v(": Every character gains "),e.exp>=3?2:1," ",A("img",{src:ze},null),A("span",{style:"color: red"},[v("Relevancy")]),v(" and "),A("img",{src:We},null),A("span",{style:"color: gold"},[v("Presence")])])),performAbility(e){const t=e.exp>=6?2:1;h.team.value.forEach(a=>{a&&(a.relevancy+=t,a.presence+=t)})}},mail:{nickname:"Mogul Mail Coots",initialRelevancy:1,initialPresence:1,display:Gs,abilityType:"LivestreamJoined",abilityDescription:e=>W(()=>A(X,null,[A("i",null,[v("Livestream joined")]),v(": Summon a lv")," ",e.exp>=6?3:e.exp>=3?2:1,v(" Ludwig Coots with this character's"),A("img",{src:ze},null),A("span",{style:"color: red"},[v("Relevancy")]),v(" and "),A("img",{src:We},null),A("span",{style:"color: gold"},[v("Presence")]),v(".")])),performAbility(e){if(h.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1,a={type:"ludwig",exp:t===3?6:t===2?3:1,presence:e.presence,relevancy:e.relevancy};h.queue.value.push({action:"LivestreamJoined",target:a}),h.battle.value.streamers.includes(e)?h.battle.value.streamers.push(a):h.battle.value.enemyStreamers.push(a)}},stanz:{nickname:"Stanz Coots",initialRelevancy:1,initialPresence:1,display:js,abilityType:"LivestreamEnded",abilityDescription:e=>W(()=>A(X,null,[A("i",null,[v("Livestream ended")]),v(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",A("img",{src:ze},null),A("span",{style:"color: red"},[v("Relevancy")]),v(" for every character on either livestream with more "),A("img",{src:ze},null),A("span",{style:"color: red"},[v("Relevancy")]),v(".")])),performAbility(e){if(h.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;e.relevancy+=t*(h.battle.value.streamers.filter(a=>a.relevancya.relevancyW(()=>A(X,null,[A("i",null,[v("Stream started")]),v(": Permanently gain")," ",e.exp>=6?3:e.exp>=3?2:1,v(" "),A("img",{src:We},null),A("span",{style:"color: gold"},[v("Presence")]),v(" if you have 2 or more"),A("img",{src:Ke},null),A("span",{style:"color: yellow"},[v("Moguls")]),v(".")])),performAbility(e){if(h.gold.value>=2){const t=e.exp>=6?3:e.exp>=3?2:1;e.presence+=t}}},vespa:{nickname:"Vespa Coots",initialRelevancy:1,initialPresence:1,display:Zs,abilityType:"LivestreamJoined",abilityDescription:()=>W(()=>A(X,null,[A("i",null,[v("Livestream joined")]),v(": Set the character that most recently joined the enemy livestream's "),A("img",{src:We},null),A("span",{style:"color: gold"},[v("Presence")]),v(" to 0. This effect does not improve on level up.")])),performAbility(e){h.battle.value!=null&&(h.battle.value.streamers.includes(e)?h.battle.value.enemyStreamers.length>0&&(h.battle.value.enemyStreamers[h.battle.value.enemyStreamers.length-1].presence=0):h.battle.value.streamers.length>0&&(h.battle.value.streamers[h.battle.value.streamers.length-1].presence=0))}}},h=Sa("main",function(){const e=Q(3),t=Q(0),a=Q(0),n=Q(0),r=Q([null,null,null]),s=Q([]),i=Q(null),o=Q(null),c=Q(!1),m=Q(""),b=Q(!1),p=Q(!1),y=Q(!1),C=Q([]),I=Q([]),S=Q(!1),_=Q(null),$=V(()=>_.value==null?0:_.value.streamers.reduce((ie,Ae)=>ie+Math.max(0,Ae.presence)*Math.max(0,Ae.relevancy),0)*100),E=V(()=>_.value==null?0:_.value.enemyStreamers.reduce((ie,Ae)=>ie+Math.max(0,Ae.presence)*Math.max(0,Ae.relevancy),0)*100),w=zs(()=>({onReset(){e.value=3,t.value=0,a.value=0,n.value=0,r.value=[null,null,null],s.value=[],i.value=null,o.value=null,c.value=!1,_.value=null,m.value="",b.value=!1,y.value=!1,C.value=[],I.value=[]}})),R=Q(!1);function re(){var ie,Ae;if(_.value==null)throw"Preparing move while not in battle";if(C.value.length===0&&_.value.team.length===0&&_.value.enemyTeam.length===0){if(_.value.ranLivestreamEnded===!1){_.value.streamers.forEach(P=>{K[P.type].abilityType==="LivestreamEnded"&&C.value.push({action:"LivestreamEnded",target:P})}),_.value.enemyStreamers.forEach(P=>{K[P.type].abilityType==="LivestreamEnded"&&C.value.push({action:"LivestreamEnded",target:P})}),_.value.ranLivestreamEnded=!0,re();return}m.value==="Victory"?t.value++:m.value==="Defeat"&&e.value--,b.value=!0;return}if(C.value.length===0?C.value.push({action:"join"}):C.value.length>1&&(C.value=C.value.sort((P,O)=>P.action!==O.action?1:P.target!=null&&O.target!=null?O.target.relevancy-P.target.relevancy:0)),D.autoplay===!1&&y.value===!1)p.value=!0;else{p.value=!1;const P=C.value.shift();switch(P.action){case"join":if(((ie=_.value.team.length)!=null?ie:0)>0){const O=_.value.team.pop();_.value.streamers.push(O),K[O.type].abilityType==="LivestreamJoined"&&C.value.unshift({action:"LivestreamJoined",target:O})}if(((Ae=_.value.enemyTeam.length)!=null?Ae:0)>0){const O=_.value.enemyTeam.pop();_.value.enemyStreamers.push(O),K[O.type].abilityType==="LivestreamJoined"&&C.value.unshift({action:"LivestreamJoined",target:O})}break;default:if(P.target==null){console.error("Invalid action",P);break}K[P.target.type].performAbility(P.target);break}y.value=!1,setTimeout(re,D.fast?750:1250)}}const ye=qs(()=>({fullscreen:!1,zIndex:10,boundingRect:Q(null),onContainerResized(ie){this.boundingRect.value=ie}}));return{name:"Game",minimizable:!1,display:W(()=>{let ie,Ae;if(t.value>=5){let P;return A("div",{class:"total-outcome-container"},[A("span",{class:"total-outcome"},[v("You Won!")]),A("span",{class:"smiley"},[v("\u{1F603}")]),A(Se,null,Te(P=new Array(3).fill(0).map((O,oe)=>A(_e,{character:r.value[oe]},null)))?P:{default:()=>[P]}),A("button",{class:"button",onClick:()=>location.reload()},[v("Play again")]),$e(ye)])}if(e.value<=0){let P;return A("div",{class:"total-outcome-container"},[A("span",{class:"total-outcome"},[v("You ran out of lives!")]),A("span",{class:"smiley"},[v("\u{1F630}")]),A(Se,null,Te(P=new Array(3).fill(0).map((O,oe)=>A(_e,{character:r.value[oe]},null)))?P:{default:()=>[P]}),A("button",{class:"button",onClick:()=>location.reload()},[v("Play again")]),$e(ye)])}if(_.value!=null){let P,O,oe,Xe;return A("div",{class:{["battle-container"]:!0,fast:D.fast}},[A("div",{class:"battle-controls"},[A("button",{class:"button",onClick:()=>{y.value=!0,re()}},[A("span",{class:"material-icons"},[v("play_arrow")]),A("span",null,[v("Play")])]),A("button",{class:{button:!0,active:D.autoplay},onClick:()=>{D.autoplay=!D.autoplay,p.value&&re()}},[A("span",{class:"material-icons"},[v("all_inclusive")]),A("span",null,[v("Autoplay")])]),A("button",{class:{button:!0,active:D.fast},onClick:()=>D.fast=!D.fast},[A("span",{class:"material-icons"},[v("fast_forward")]),A("span",null,[v("Fast")])])]),A("div",{class:"teams-container",style:b.value?"pointer-events: none;":""},[A("div",{class:"team-container"},[A("div",{class:"stream-container"},[A("div",{class:"stream-details",style:"left: 1vmin"},[A("span",null,[xt.value,v(" (YOU)")]),A("div",{class:"stats"},[A("div",{class:"resource-box lives"},[e.value]),A("div",{class:"resource-box wins"},[t.value,v("/5")]),A("div",{class:"view-counter"},[qt($.value),v(" Views")])])]),A(Se,{class:"streamers-container"},{default:()=>[A(yt,{name:"character-transition"},Te(P=_.value.streamers.slice().reverse().map((fe,Oe)=>{var ve;return A(_e,{key:_.value.streamers.length-Oe,character:fe,shake:p.value&&((ve=C.value[0])==null?void 0:ve.target)===fe},null)}))?P:{default:()=>[P]})]})]),A(Aa,{class:"members-container"},{default:()=>[A(yt,{name:"character-transition"},Te(O=_.value.team.map((fe,Oe)=>{var ve,st,it,At;return A(_e,{character:fe,key:Oe,shake:p.value&&((ve=C.value[0])==null?void 0:ve.action)==="join"&&fe===((At=_.value)==null?void 0:At.team[((it=(st=_.value)==null?void 0:st.team.length)!=null?it:0)-1])},null)}))?O:{default:()=>[O]})]})]),A("div",{class:"team-container"},[A("div",{class:"stream-container"},[A("div",{class:"stream-details",style:"right: 1vmin"},[A("span",null,[_.value.enemyNickname]),A("div",{class:"stats",style:"margin-right: 0"},[A("div",{class:"resource-box lives"},[_.value.enemyLives]),A("div",{class:"resource-box wins"},[_.value.enemyWins,v("/5")]),A("div",{class:"view-counter"},[qt(E.value),v(" Views")])])]),A(Se,{class:"streamers-container"},{default:()=>[A(yt,{name:"character-transition"},Te(oe=_.value.enemyStreamers.map((fe,Oe)=>{var ve;return A(_e,{key:Oe,character:fe,shake:p.value&&((ve=C.value[0])==null?void 0:ve.target)===fe},null)}))?oe:{default:()=>[oe]})]})]),A(Aa,{class:"members-container"},{default:()=>[A(yt,{name:"character-transition"},Te(Xe=_.value.enemyTeam.map((fe,Oe)=>{var ve,st,it,At;return A(_e,{character:fe,key:_.value.enemyStreamers.length+Oe,shake:p.value&&((ve=C.value[0])==null?void 0:ve.action)==="join"&&fe===((At=_.value)==null?void 0:At.enemyTeam[((it=(st=_.value)==null?void 0:st.enemyTeam.length)!=null?it:0)-1])},null)}))?Xe:{default:()=>[Xe]})]})])]),b.value?A("div",{class:"outcome",onClick:()=>ae("newTurn")},[A("span",null,[m.value]),A("span",{style:"font-size: 2vmin"},[v("Next Turn")])]):null])}return A("div",{class:"game-container",style:c.value?"pointer-events: none":"",onClick:()=>{i.value=null,o.value=null}},[A("h2",{class:"team-nickname"},[xt.value]),A(Se,{class:"manager-header"},{default:()=>[A("div",{class:"resource-box moguls"},[n.value]),A("div",{class:"resource-box lives"},[e.value]),A("div",{class:"resource-box wins"},[t.value,v("/5")]),A("div",{style:"flex-grow: 1"},null),c.value?A("div",{class:"waiting"},[v("Finding opposing team...")]):A(X,null,[i.value==null?null:A("button",{class:"button",onDragover:P=>P.preventDefault(),onClick:()=>ae("sell",i.value),onDrop:()=>ae("sell",i.value)},[v("Sell")]),o.value==null?null:A("button",{class:"button",onDragover:P=>P.preventDefault(),onClick:()=>ae("freeze",o.value),onDrop:()=>ae("freeze",o.value)},[v("Freeze")]),A("img",{class:"startStream",draggable:"false",onClick:()=>{ae("stream"),c.value=!0},src:Hs},null)])]}),A("div",{style:"flex-grow: 1"},null),A(Se,{style:"margin-top: 10vh"},Te(ie=new Array(3).fill(0).map((P,O)=>{var oe,Xe;return A(_e,{id:`team-char-${O}`,character:r.value[O],isSelected:i.value===O,selected:i.value==null?o.value==null||r.value[O]!=null&&((oe=s.value[o.value])==null?void 0:oe.type)!==((Xe=r.value[O])==null?void 0:Xe.type)||n.value<3?null:s.value[o.value]:r.value[i.value],isDragging:R.value,onClick:oa(O),onDragstart:()=>{R.value=!0,i.value=O,o.value=null},onDragend:()=>{R.value=!1,i.value=null,o.value=null},onDrop:()=>oa(O)()},null)}))?ie:{default:()=>[ie]}),A(Se,{style:"margin-top: 10vh;"},{default:()=>[i.value!=null?A(j,{display:"Sell Coots"},{default:()=>[A("div",{class:"reroll",onDragover:P=>P.preventDefault(),onClick:()=>ae("sell",i.value),onDrop:()=>ae("sell",i.value)},[A("img",{src:$s},null)])]}):o.value!=null?A(j,{display:"Freeze Coots"},{default:()=>[A("div",{class:"reroll",onDragover:P=>P.preventDefault(),onClick:()=>ae("freeze",o.value),onDrop:()=>ae("freeze",o.value)},[A("img",{src:ei},null)])]}):A(j,{display:"Re-roll store"},{default:()=>[A("div",{class:"reroll",style:n.value>0?"":"color: var(--locked); cursor: not-allowed",onClick:()=>{n.value>0&&ae("reroll")}},[A("img",{src:S.value?Ys:Ks},null)])]}),A(Se,{class:"shop"},Te(Ae=s.value.map((P,O)=>A(_e,{id:`shop-char-${O}`,frozen:I.value.includes(O),character:P==null?void 0:P,isSelected:o.value===O,isShop:!0,isDragging:R.value,onClick:oe=>{P!=null&&(o.value=o.value===O?null:O,i.value=null,oe.stopPropagation())},onDragstart:()=>{R.value=!0,i.value=null,o.value=O},onDragend:()=>{R.value=!1,i.value=null,o.value=null}},null)))?Ae:{default:()=>[Ae]})]}),$e(ye)])}),lives:e,wins:t,turn:a,gold:n,team:r,shop:s,selectedCharacter:i,selectedShopItem:o,findingMatch:c,showingOutcome:b,outcome:m,reset:w,battle:_,frozen:I,playClicked:y,prepareMove:re,particles:ye,queue:C,showRefreshAnim:S}});let Bt=0;te.on("update",e=>{if(h.wins.value>=5){if(Bt+=e,Bt>=1){Bt=0;const t=h.particles.boundingRect.value;if(!t)return;h.particles.addEmitter(Gi).then(a=>{a.updateOwnerPos(Math.random()*t.width,Math.random()*t.height),console.log(a),a.playOnceAndDestroy()})}}else Bt=0});function oa(e){return t=>{var a,n,r,s,i,o,c;h.selectedCharacter.value!=null&&h.selectedCharacter.value!==e?((a=h.team.value[h.selectedCharacter.value])==null?void 0:a.type)===((n=h.team.value[e])==null?void 0:n.type)&&((s=(r=h.team.value[h.selectedCharacter.value])==null?void 0:r.exp)!=null?s:0)<6&&((o=(i=h.team.value[e])==null?void 0:i.exp)!=null?o:0)<6?(ae("merge",h.selectedCharacter.value,e),h.selectedCharacter.value=null):(ae("move",h.selectedCharacter.value,e),h.selectedCharacter.value=null):h.selectedCharacter.value===e?h.selectedCharacter.value=null:h.selectedShopItem.value!==null?((h.team.value[e]==null||h.team.value[e].type===((c=h.shop.value[h.selectedShopItem.value])==null?void 0:c.type)&&h.team.value[e].exp<6)&&h.gold.value>=3&&ae("buy",h.selectedShopItem.value,e),h.selectedShopItem.value=null):h.selectedCharacter.value=e,t==null||t.stopPropagation()}}const Li=e=>[h],qa=V(()=>!1);function Xi(e,t){}var Wi=Object.freeze(Object.defineProperty({__proto__:null,characters:K,main:h,getInitialLayers:Li,hasWon:qa,fixOldSave:Xi},Symbol.toStringTag,{value:"Module"}));const ft=Q(!1),xt=Q(""),et=Q(""),tt=Q(""),la=ma(),Ye=Q(),at=Q("");function ae(e,...t){var a;!ft.value||(a=Ye.value)==null||a.emit(e,...t)}te.on("loadSettings",e=>{Ge(e,"server","https://Super-Auto-Coots.thepaperpilot.repl.co"),Be(()=>e.server,t=>{Ye.value&&Ye.value.close(),Ye.value=en(t),Yi(Ye.value),ft.value=!1,at.value="",Ye.value.connect()},{immediate:!0}),Tr(W(()=>A(X,null,[A(mt,{title:"Server URL","onUpdate:modelValue":t=>e.server=t,modelValue:e.server},null),A("div",{style:"font-style: italic; font-size: small; margin-top: -10px;"},[ft.value?A("span",null,[v("Connected!")]):at.value?A("span",{style:"color: red"},[at.value]):A("span",null,[v("Connecting...")])])])))});function Qe(e){var n;const t=h.particles.boundingRect.value;if(!t)return;const a=(n=h.nodes.value[e])==null?void 0:n.rect;a&&h.particles.addEmitter(Ds).then(r=>{r.updateOwnerPos(a.x+a.width/2-t.x,a.y+a.height/2-t.y),r.playOnceAndDestroy()})}function Yi(e){e.on("connect",()=>{at.value="",ft.value=!0,h.reset.reset(),et.value="",tt.value="",D.privateRoomName&&e.emit("change room",D.privateRoomName,D.privateRoomPassword)}),e.on("connect_error",t=>{at.value=`${t.name}: ${t.message}`}),e.on("disconnect",(t,a)=>{var n;at.value=a instanceof Error?`${a.name}: ${a.message}`:(n=a==null?void 0:a.description)!=null?n:t,ft.value=!1}),e.on("server version",t=>{$a(J.versionNumber,t)||(la.info("Server only accepts game versions in range: "+t),e.disconnect())}),e.on("info",t=>{la.info(t),t==="Failed to start streaming"&&(h.findingMatch.value=!1)}),e.on("nickname",t=>{xt.value=t}),e.on("newTurn",t=>{h.gold.value=10,h.turn.value++,h.battle.value=null,h.shop.value=t.map(a=>({type:a,relevancy:K[a].initialRelevancy,presence:K[a].initialPresence,exp:1})),h.frozen.value=h.frozen.value.map((a,n)=>n),setTimeout(()=>{t.forEach((a,n)=>Qe(`shop-char-${n}`))},0),h.showRefreshAnim.value=!0,setTimeout(()=>h.showRefreshAnim.value=!1,500)}),e.on("reroll",t=>{h.gold.value--,h.shop.value=t.map(a=>({type:a,relevancy:K[a].initialRelevancy,presence:K[a].initialPresence,exp:1})),h.frozen.value=h.frozen.value.map((a,n)=>n),setTimeout(()=>{t.forEach((a,n)=>Qe(`shop-char-${n}`))},0),h.showRefreshAnim.value=!0,setTimeout(()=>h.showRefreshAnim.value=!1,500)}),e.on("buy",(t,a,n)=>{h.team.value[a]=n,h.shop.value[t]=null,h.gold.value-=3,Qe(`shop-char-${t}`),Qe(`team-char-${a}`),h.frozen.value.includes(t)&&(h.frozen.value=h.frozen.value.filter(r=>r!==t))}),e.on("move",(t,a)=>{const n=h.team.value[t];h.team.value[t]=h.team.value[a],h.team.value[a]=n,Qe(`team-char-${t}`),Qe(`team-char-${a}`)}),e.on("merge",(t,a,n)=>{var o,c;const r=(c=(o=h.team.value[a])==null?void 0:o.exp)!=null?c:0,s=r>=6?3:r>=3?2:1,i=n.exp>=6?3:n.exp>=3?2:1;h.team.value[t]=null,h.team.value[a]=n,Qe(`team-char-${t}`),Qe(`team-char-${a}`),K[n.type].abilityType==="LevelUp"&&s!==i&&setTimeout(()=>K[n.type].performAbility(n),1250)}),e.on("stream",(t,a)=>{let n=!1;h.team.value.forEach(r=>{r!=null&&K[r.type].abilityType==="StreamStarted"&&(n=!0,K[r.type].performAbility(r))}),n?setTimeout(()=>ua(t,a)):ua(t,a)}),e.on("sell",t=>{const a=h.team.value[t];let n;a.exp>=6?n=3:a.exp>=3?n=2:n=1,h.gold.value+=n,h.team.value[t]=null,Qe(`team-char-${t}`),K[a.type].abilityType==="Sold"&&setTimeout(()=>K[a.type].performAbility(a),500)}),e.on("freeze",t=>{h.frozen.value.includes(t)?h.frozen.value=h.frozen.value.filter(a=>a!==t):h.frozen.value.push(t)}),e.on("room",t=>{h.reset.reset(),et.value=t,tt.value=""}),e.on("room failed",t=>{et.value="",tt.value=t})}function ua(e,t){h.findingMatch.value=!1,h.battle.value={team:JSON.parse(JSON.stringify(h.team.value.filter(a=>a!=null))),streamers:[],enemyTeam:e.team,enemyStreamers:[],enemyNickname:e.nickname,enemyLives:e.lives,enemyWins:e.wins,enemyTurn:e.turn,ranLivestreamEnded:!1},h.outcome.value=t,h.showingOutcome.value=!1,h.playClicked.value=!1,setTimeout(h.prepareMove,1e3)}const Ki=d("h2",null,"Settings",-1),ji={key:1,style:{color:"red"}};var Hi=x({__name:"Options",setup(e,{expose:t}){const a=Q(!1),n=Q("behaviour");function r(b){return b==n.value}function s(b){n.value=b}t({isTab:r,setTab:s,save:ue,open(){a.value=!0}});const i=V(()=>ge(W(()=>A(X,null,[Pa.map($e)])))),{privateRoomName:o,privateRoomPassword:c}=Ne(D);function m(){tt.value="",ae("change room",D.privateRoomName,D.privateRoomPassword)}return(b,p)=>(f(),F(Ve,{modelValue:a.value,"onUpdate:modelValue":p[2]||(p[2]=y=>a.value=y)},{header:M(()=>[Ki]),body:M(()=>[(f(),F(se(l(i)))),A(mt,{title:"Private room name",modelValue:l(o),"onUpdate:modelValue":p[0]||(p[0]=y=>de(o)?o.value=y:null)},null,8,["modelValue"]),A(mt,{title:"Private room PW",password:!0,modelValue:l(c),"onUpdate:modelValue":p[1]||(p[1]=y=>de(c)?c.value=y:null)},null,8,["modelValue"]),d("div",null,"Currently in: "+q(l(et)?l(et):"Public lobby")+".",1),l(et)!==l(o)?(f(),B("button",{key:0,class:"button",style:{padding:"1em"},onClick:m},"Connect to "+q(l(o)||"Public Lobby"),1)):T("",!0),l(tt)?(f(),B("div",ji,q(l(tt)),1)):T("",!0)]),_:1},8,["modelValue"]))}});const Zi={class:"field"},$i={key:0,class:"field-title"},eA=x({__name:"Select",props:{title:null,modelValue:null,options:null,placeholder:null,closeOnSelect:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){var i;const a=e,n=Pt(Pe(a,"title"),"span"),r=Q((i=a.options.find(o=>o.value===a.modelValue))!=null?i:null);Be(Pe(a,"modelValue"),o=>{var c;pe(r)!==o&&(r.value=(c=a.options.find(m=>m.value===o))!=null?c:null)});function s(o){t("update:modelValue",o.value)}return(o,c)=>(f(),B("div",Zi,[l(n)?(f(),B("span",$i,[(f(),F(se(l(n))))])):T("",!0),A(l(An),{options:e.options,modelValue:r.value,"onUpdate:modelValue":[c[0]||(c[0]=m=>r.value=m),s],min:1,"label-by":"label",placeholder:e.placeholder,"close-on-select":e.closeOnSelect},null,8,["options","modelValue","placeholder","close-on-select"])]))}});const tA={key:0},aA=["onClick","disabled"],nA={key:0},rA=["onClick"],sA=x({__name:"DangerButton",props:{disabled:{type:Boolean},skipConfirm:{type:Boolean}},emits:["click","confirmingChanged"],setup(e,{emit:t}){const n=Ne(e),r=Q(!1);Be(r,o=>{t("confirmingChanged",o)});function s(){if(l(n.skipConfirm)){t("click");return}r.value&&t("click"),r.value=!r.value}function i(){r.value=!1}return(o,c)=>(f(),B("span",{class:H(["container",{confirming:r.value}])},[r.value?(f(),B("span",tA,"Are you sure?")):T("",!0),d("button",{onClick:ut(s,["stop"]),class:"button danger",disabled:e.disabled},[r.value?(f(),B("span",nA,"Yes")):Ce(o.$slots,"default",{key:1},void 0,!0)],8,aA),r.value?(f(),B("button",{key:1,class:"button",onClick:ut(i,["stop"])},"No",8,rA)):T("",!0)],2))}});var iA=L(sA,[["__scopeId","data-v-2f8ef34c"]]);const AA=["onClick"],oA=x({__name:"FeedbackButton",props:{left:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const a=Q(!1),n=Q(null);function r(){t("click"),n.value&&clearTimeout(n.value),a.value=!1,Me(()=>{a.value=!0,n.value=setTimeout(()=>a.value=!1,500)})}return(s,i)=>(f(),B("button",{onClick:ut(r,["stop"]),class:H(["feedback",{activated:a.value,left:e.left}])},[Ce(s.$slots,"default",{},void 0,!0)],10,AA))}});var lA=L(oA,[["__scopeId","data-v-01a1b95c"]]);const Ie=e=>(De("data-v-c3447434"),e=e(),Ue(),e),uA=Ie(()=>d("div",{class:"handle material-icons"},"drag_handle",-1)),cA={key:0,class:"actions"},dA=Ie(()=>d("span",{class:"material-icons"},"content_paste",-1)),gA=Ie(()=>d("span",{class:"material-icons"},"content_copy",-1)),mA=Ie(()=>d("span",{class:"material-icons"},"edit",-1)),fA=Ie(()=>d("span",{class:"material-icons",style:{margin:"-2px"}},"delete",-1)),vA={key:1,class:"actions"},hA=Ie(()=>d("span",{class:"material-icons"},"check",-1)),pA=Ie(()=>d("span",{class:"material-icons"},"close",-1)),bA={key:2,class:"details"},yA={class:"save-version"},CA=Ie(()=>d("br",null,null,-1)),BA={key:0},EA={key:3,class:"details"},NA={key:4,class:"details error"},QA=Ie(()=>d("br",null,null,-1)),IA=x({__name:"Save",props:{save:null},emits:["export","open","duplicate","delete","editName"],setup(e,{emit:t}){const a=e,{save:n}=Ne(a),r=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),s=Q(!1),i=Q(!1),o=Q("");Be(s,()=>{var p;return o.value=(p=n.value.name)!=null?p:""});const c=V(()=>n.value!=null&&n.value.id===z.id),m=V(()=>{var p;return c.value?z.time:(p=n.value!=null&&n.value.time)!=null?p:0});function b(){t("editName",o.value),s.value=!1}return(p,y)=>(f(),B("div",{class:H(["save",{active:l(c)}])},[uA,s.value?(f(),B("div",vA,[d("button",{onClick:b,class:"button"},[A(j,{display:"Save",direction:l(Z).Left,class:"info"},{default:M(()=>[hA]),_:1},8,["direction"])]),d("button",{onClick:y[5]||(y[5]=C=>s.value=!s.value),class:"button"},[A(j,{display:"Cancel",direction:l(Z).Left,class:"info"},{default:M(()=>[pA]),_:1},8,["direction"])])])):(f(),B("div",cA,[l(n).error==null&&!i.value?(f(),F(lA,{key:0,onClick:y[0]||(y[0]=C=>t("export")),class:"button",left:""},{default:M(()=>[A(j,{display:"Export",direction:l(Z).Left,class:"info"},{default:M(()=>[dA]),_:1},8,["direction"])]),_:1})):T("",!0),l(n).error==null&&!i.value?(f(),B("button",{key:1,onClick:y[1]||(y[1]=C=>t("duplicate")),class:"button"},[A(j,{display:"Duplicate",direction:l(Z).Left,class:"info"},{default:M(()=>[gA]),_:1},8,["direction"])])):T("",!0),l(n).error==null&&!i.value?(f(),B("button",{key:2,onClick:y[2]||(y[2]=C=>s.value=!s.value),class:"button"},[A(j,{display:"Edit Name",direction:l(Z).Left,class:"info"},{default:M(()=>[mA]),_:1},8,["direction"])])):T("",!0),A(iA,{disabled:l(c),onClick:y[3]||(y[3]=C=>t("delete")),onConfirmingChanged:y[4]||(y[4]=C=>i.value=C)},{default:M(()=>[A(j,{display:"Delete",direction:l(Z).Left,class:"info"},{default:M(()=>[fA]),_:1},8,["direction"])]),_:1},8,["disabled"])])),l(n).error==null&&!s.value?(f(),B("div",bA,[d("button",{class:"button open",onClick:y[6]||(y[6]=C=>t("open"))},[d("h3",null,q(l(n).name),1)]),d("span",yA,"v"+q(l(n).modVersion),1),CA,l(m)?(f(),B("div",BA,"Last played "+q(l(r).format(l(m))),1)):T("",!0)])):l(n).error==null&&s.value?(f(),B("div",EA,[A(mt,{modelValue:o.value,"onUpdate:modelValue":y[7]||(y[7]=C=>o.value=C),class:"editname",onSubmit:b},null,8,["modelValue"])])):(f(),B("div",NA,[v(" Error: Failed to load save with id "+q(l(n).id),1),QA,v(q(l(n).error),1)]))],2))}});var wA=L(IA,[["__scopeId","data-v-c3447434"]]);const Ht=e=>(De("data-v-5b5b1604"),e=e(),Ue(),e),SA=Ht(()=>d("h2",null,"Saves Manager",-1)),_A={class:"modal-footer"},TA={class:"field"},kA=Ht(()=>d("span",{class:"field-title"},"Create Save",-1)),MA={class:"field-buttons"},PA={class:"footer"},DA=Ht(()=>d("div",{style:{"flex-grow":"1"}},null,-1)),UA=x({__name:"SavesManager",setup(e,{expose:t}){const a=Q(!1),n=Q(null);t({open(){a.value=!0}});const r=Q(!1),s=Q(""),i=Q(null);Be(s,E=>{E?Me(()=>{try{if(E[0]!=="{")if(E[0]==="e")E=decodeURIComponent(escape(atob(E)));else if(E[0]==="\u1BE1")E=ke.decompressFromUTF16(E);else{console.warn("Unable to determine preset encoding",E),r.value=!0;return}const w=JSON.parse(E);if(typeof w!="object"){r.value=!0;return}const R=Et();w.id=R,ue(w),s.value="",r.value=!1,D.saves.push(R)}catch{r.value=!0}}):r.value=!1});let o={},c=Q(Object.keys(o).reduce((E,w)=>(E.push({label:w.split("/").slice(-1)[0].slice(0,-4),value:o[w]}),E),[]));const m=Gt({});function b(E){if(m[E]==null){let w=localStorage.getItem(E);if(w==null)m[E]={error:"Save doesn't exist in localStorage",id:E};else if(w==="dW5kZWZpbmVk")m[E]={error:"Save is undefined",id:E};else try{if(w[0]!=="{")if(w[0]==="e")w=decodeURIComponent(escape(atob(w)));else if(w[0]==="\u1BE1")w=ke.decompressFromUTF16(w);else return console.warn("Unable to determine preset encoding",w),r.value=!0,m[E]={error:"Unable to determine preset encoding",id:E},m[E];m[E]={...JSON.parse(w),id:E}}catch(R){m[E]={error:R,id:E},console.warn(`SavesManager: Failed to load info about save with id ${E}: -${R} -${w}`)}}return m[E]}Be(a,E=>{E&&Object.keys(m).forEach(w=>delete m[w])});const p=V(()=>D.saves.reduce((E,w)=>(E[w]=b(w),E),{}));function y(E){let w;switch(z.id===E?w=Na(z):w=JSON.stringify(p.value[E]),J.exportEncoding){default:console.warn(`Unknown save encoding: ${J.exportEncoding}. Defaulting to lz`);case"lz":w=ke.compressToUTF16(w);break;case"base64":w=btoa(unescape(encodeURIComponent(w)));break;case"plain":break}const R=document.createElement("textarea");R.value=w,document.body.appendChild(R),R.select(),R.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(R)}function C(E){z.id===E&&ue();const w={...p.value[E],id:Et()};ue(w),D.saves.push(w.id)}function I(E){D.saves=D.saves.filter(w=>w!==E),localStorage.removeItem(E),m[E]=void 0}function S(E){p.value[z.id].time=z.time,ue(),m[z.id]=void 0,Je(p.value[E]),m[E]=void 0}function _(E){if(i.value=E,Me(()=>{i.value=null}),E[0]!=="{")if(E[0]==="e")E=decodeURIComponent(escape(atob(E)));else if(E[0]==="\u1BE1")E=ke.decompressFromUTF16(E);else{console.warn("Unable to determine preset encoding",E);return}const w=JSON.parse(E);w.id=Et(),ue(w),D.saves.push(w.id),S(w.id)}function $(E,w){const R=p.value[E];R!=null&&(R.name=w,z.id===E?(z.name=w,ue()):(ue(R),m[E]=void 0))}return(E,w)=>(f(),F(Ve,{modelValue:a.value,"onUpdate:modelValue":w[4]||(w[4]=R=>a.value=R),ref_key:"modal",ref:n},{header:M(()=>[SA]),body:M(({shown:R})=>[R?(f(),F(l(sn),{key:0,list:l(D).saves,handle:".handle",itemKey:re=>re},{item:M(({element:re})=>[A(wA,{save:l(p)[re],onOpen:ye=>S(re),onExport:ye=>y(re),onEditName:ye=>$(re,ye),onDuplicate:ye=>C(re),onDelete:ye=>I(re)},null,8,["save","onOpen","onExport","onEditName","onDuplicate","onDelete"])]),_:1},8,["list","itemKey"])):T("",!0)]),footer:M(()=>[d("div",_A,[A(mt,{modelValue:s.value,"onUpdate:modelValue":w[0]||(w[0]=R=>s.value=R),title:"Import Save",placeholder:"Paste your save here!",class:H({importingFailed:r.value})},null,8,["modelValue","class"]),d("div",TA,[kA,d("div",MA,[d("button",{class:"button",onClick:w[1]||(w[1]=R=>S(l(Ze)().id))},"New Game"),Object.keys(l(c)).length>0?(f(),F(eA,{key:0,options:l(c),modelValue:i.value,"onUpdate:modelValue":w[2]||(w[2]=R=>_(R)),closeOnSelect:"",placeholder:"Select preset",class:"presets"},null,8,["options","modelValue"])):T("",!0)])]),d("div",PA,[DA,d("button",{class:"button modal-default-button",onClick:w[3]||(w[3]=R=>a.value=!1)}," Close ")])])]),_:1},8,["modelValue"]))}});var Fa=L(UA,[["__scopeId","data-v-5b5b1604"]]);const me=e=>(De("data-v-d43b25a6"),e=e(),Ue(),e),VA=["src","alt"],OA={key:1,class:"title"},RA=me(()=>d("div",{style:{"flex-grow":"1",cursor:"unset"}},null,-1)),qA={class:"discord"},FA={class:"discord-links"},zA={key:0},xA=["href"],JA=me(()=>d("li",null,[d("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),GA=me(()=>d("li",null,[d("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),LA={href:"https://forums.moddingtree.com/",target:"_blank"},XA=me(()=>d("span",{class:"material-icons"},"forum",-1)),WA=me(()=>d("span",{class:"material-icons"},"info",-1)),YA=me(()=>d("span",{class:"material-icons"},"help",-1)),KA=me(()=>d("span",{class:"material-icons"},"settings",-1)),jA=me(()=>d("span",{class:"material-icons"},"settings",-1)),HA=me(()=>d("span",{class:"material-icons"},"info",-1)),ZA={href:"https://forums.moddingtree.com/",target:"_blank"},$A=me(()=>d("span",{class:"material-icons"},"forum",-1)),eo={class:"discord"},to={class:"discord-links"},ao={key:0},no=["href"],ro=me(()=>d("li",null,[d("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),so=me(()=>d("li",null,[d("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),io=x({__name:"Nav",setup(e){const t=Q(null),a=Q(null),n=Q(null),r=Q(null),{useHeader:s,banner:i,title:o,discordName:c,discordLink:m,versionNumber:b}=J;function p(){window.open(m,"mywindow")}return(y,C)=>(f(),B(X,null,[l(s)?(f(),B("div",nt({key:0,class:"nav"},y.$attrs),[l(i)?(f(),B("img",{key:0,src:l(i),class:"banner",alt:l(o)},null,8,VA)):(f(),B("div",OA,q(l(o)),1)),d("div",{onClick:C[0]||(C[0]=I=>{var S;return(S=r.value)==null?void 0:S.open()}),class:"version-container"},[A(j,{display:"Changelog",direction:l(Z).Down,class:"version"},{default:M(()=>[d("span",null,"v"+q(l(b)),1)]),_:1},8,["direction"])]),RA,d("div",qA,[d("span",{onClick:p,class:"material-icons"},"discord"),d("ul",FA,[l(m)?(f(),B("li",zA,[d("a",{href:l(m),target:"_blank"},q(l(c)),9,xA)])):T("",!0),JA,GA])]),d("div",null,[d("a",LA,[A(j,{display:"Forums",direction:l(Z).Down,yoffset:"5px"},{default:M(()=>[XA]),_:1},8,["direction"])])]),d("div",{onClick:C[1]||(C[1]=I=>{var S;return(S=t.value)==null?void 0:S.open()})},[A(j,{display:"Info",direction:l(Z).Down,class:"info"},{default:M(()=>[WA]),_:1},8,["direction"])]),d("div",{onClick:C[2]||(C[2]=()=>l(D).showTutorial=!0)},[A(j,{display:"Help",direction:l(Z).Down,class:"info"},{default:M(()=>[YA]),_:1},8,["direction"])]),d("div",{onClick:C[3]||(C[3]=I=>{var S;return(S=n.value)==null?void 0:S.open()})},[A(j,{display:"Settings",direction:l(Z).Down,xoffset:"-66px"},{default:M(()=>[KA]),_:1},8,["direction"])])],16)):(f(),B("div",nt({key:1,class:"overlay-nav"},y.$attrs),[d("div",{onClick:C[4]||(C[4]=I=>{var S;return(S=r.value)==null?void 0:S.open()}),class:"version-container"},[A(j,{display:"Changelog",direction:l(Z).Right,xoffset:"25%",class:"version"},{default:M(()=>[d("span",null,"v"+q(l(b)),1)]),_:1},8,["direction"])]),d("div",{onClick:C[5]||(C[5]=I=>{var S;return(S=n.value)==null?void 0:S.open()})},[A(j,{display:"Settings",direction:l(Z).Right},{default:M(()=>[jA]),_:1},8,["direction"])]),d("div",{onClick:C[6]||(C[6]=I=>{var S;return(S=t.value)==null?void 0:S.open()})},[A(j,{display:"Info",direction:l(Z).Right},{default:M(()=>[HA]),_:1},8,["direction"])]),d("div",null,[d("a",ZA,[A(j,{display:"Forums",direction:l(Z).Right,xoffset:"7px"},{default:M(()=>[$A]),_:1},8,["direction"])])]),d("div",eo,[d("span",{onClick:p,class:"material-icons"},"discord"),d("ul",to,[l(m)?(f(),B("li",ao,[d("a",{href:l(m),target:"_blank"},q(l(c)),9,no)])):T("",!0),ro,so])])],16)),A(bs,{ref_key:"info",ref:t,changelog:r.value},null,8,["changelog"]),A(Fa,{ref_key:"savesManager",ref:a},null,512),A(Hi,{ref_key:"options",ref:n},null,512),A(es,{ref_key:"changelog",ref:r},null,512)],64))}});var za=L(io,[["__scopeId","data-v-d43b25a6"]]);const Ao={class:"inner-tab"},oo=x({__name:"Game",setup(e){const t=Pe(z,"tabs"),a=V(()=>Object.keys(ne)),n=J.useHeader;function r(s){const{display:i,minimized:o,name:c,color:m,minimizable:b,nodes:p,minimizedDisplay:y}=s;return{display:i,minimized:o,name:c,color:m,minimizable:b,nodes:p,minimizedDisplay:y}}return(s,i)=>(f(),B("div",{class:H(["tabs-container",{useHeader:l(n)}])},[(f(!0),B(X,null,da(l(t),(o,c)=>{var m,b;return f(),B("div",{key:c,class:H(["tab",l((m=l(ne)[o])==null?void 0:m.classes)]),style:Ee(l((b=l(ne)[o])==null?void 0:b.style))},[c===0&&!l(n)?(f(),F(za,{key:0})):T("",!0),d("div",Ao,[l(a).includes(o)?(f(),F(jr,nt({key:0},r(l(ne)[o]),{index:c,onSetMinimized:p=>l(ne)[o].minimized.value=p}),null,16,["index","onSetMinimized"])):(f(),F(se(o),{key:1,index:c},null,8,["index"]))])],6)}),128))],2))}});var lo=L(oo,[["__scopeId","data-v-3e0f1aab"]]);const uo={class:"field"},co=x({__name:"Toggle",props:{title:null,modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const a=e,n=V(()=>{var s;return ge((s=l(a.title))!=null?s:"","span")}),r=V({get(){return!!a.modelValue},set(s){t("update:modelValue",s)}});return(s,i)=>(f(),B("label",uo,[Lt(d("input",{type:"checkbox",class:"toggle","onUpdate:modelValue":i[0]||(i[0]=o=>de(r)?r.value=o:null)},null,512),[[Ka,l(r)]]),(f(),F(se(l(n))))]))}});var Jt=L(co,[["__scopeId","data-v-11046116"]]);const pt=e=>(De("data-v-4a50ce42"),e=e(),Ue(),e),go={class:"game-over-modal-header"},mo=["src","alt"],fo={class:"game-over-modal-title"},vo=pt(()=>d("h2",null,"Congratulations!",-1)),ho={key:0},po=pt(()=>d("br",null,null,-1)),bo=pt(()=>d("div",null," Please check the Discord to discuss the game or to check for new content updates! ",-1)),yo=pt(()=>d("br",null,null,-1)),Co=["href"],Bo=pt(()=>d("span",{class:"material-icons game-over-modal-discord"},"discord",-1)),Eo=x({__name:"GameOverScreen",setup(e){const{title:t,logo:a,discordName:n,discordLink:r,versionNumber:s,versionTitle:i}=J,o=V(()=>Xt(z.timePlayed)),c=V(()=>qa.value&&!z.keepGoing),m=Pe(z,"autosave");function b(){z.keepGoing=!0}function p(){Je(Ze())}return(y,C)=>(f(),F(Ve,{"model-value":l(c)},{header:M(()=>[d("div",go,[l(a)?(f(),B("img",{key:0,class:"game-over-modal-logo",src:l(a),alt:l(t)},null,8,mo)):T("",!0),d("div",fo,[vo,d("h4",null,"You've beaten "+q(l(t))+" v"+q(l(s))+": "+q(l(i)),1)])])]),body:M(({shown:I})=>[I?(f(),B("div",ho,[d("div",null,"It took you "+q(l(o))+" to beat the game.",1),po,bo,yo,d("div",null,[d("a",{href:l(r),class:"game-over-modal-discord-link"},[Bo,v(" "+q(l(n)),1)],8,Co)]),A(Jt,{title:"Autosave",modelValue:l(m),"onUpdate:modelValue":C[0]||(C[0]=S=>de(m)?m.value=S:null)},null,8,["modelValue"])])):T("",!0)]),footer:M(()=>[d("div",{class:"game-over-footer"},[d("button",{onClick:b,class:"button"},"Keep Going"),d("button",{onClick:p,class:"button danger"},"Play Again")])]),_:1},8,["model-value"]))}});var No=L(Eo,[["__scopeId","data-v-4a50ce42"]]);const Dt=e=>(De("data-v-336bf74f"),e=e(),Ue(),e),Qo=Dt(()=>d("div",{class:"nan-modal-header"},[d("h2",null,"NaN value detected!")],-1)),Io={key:0},wo=Dt(()=>d("br",null,null,-1)),So=["href"],_o=Dt(()=>d("span",{class:"material-icons nan-modal-discord"},"discord",-1)),To=Dt(()=>d("br",null,null,-1)),ko={class:"nan-footer"},Mo=x({__name:"NaNScreen",setup(e){const{discordName:t,discordLink:a}=J,n=Q(!0),r=Q(!0),s=Pe(ee,"hasNaN"),i=Q(null);Be(s,y=>{y?(n.value=z.autosave,r.value=z.devSpeed===0):(z.autosave=n.value,z.devSpeed=r.value?0:null)});const o=V(()=>{var y;return(y=ee.NaNPath)==null?void 0:y.join(".")}),c=V(()=>ee.NaNPersistent!=null?ee.NaNPersistent.value:null);function m(){ee.NaNPersistent!=null&&(ee.NaNPersistent.value=new N(0),ee.hasNaN=!1)}function b(){ee.NaNPersistent&&(ee.NaNPersistent.value=new N(1),ee.hasNaN=!1)}function p(){ee.NaNPersistent&&(ee.NaNPersistent.value=new N(NaN),ee.hasNaN=!1)}return(y,C)=>(f(),B(X,null,[A(Ve,nt({modelValue:l(s),"onUpdate:modelValue":C[4]||(C[4]=I=>de(s)?s.value=I:null)},y.$attrs),{header:M(()=>[Qo]),body:M(()=>[d("div",null,[v(' Attempted to assign "'+q(l(o))+'" to NaN',1),l(c)?(f(),B("span",Io,q(" ")+"(previously "+q(l(Ba)(l(c)))+")",1)):T("",!0),v(". Auto-saving has been "+q(n.value?"enabled":"disabled")+". Check the console for more details, and consider sharing it with the developers on discord. ",1)]),wo,d("div",null,[d("a",{href:l(a)||"https://discord.gg/WzejVAx",class:"nan-modal-discord-link"},[_o,v(" "+q(l(t)||"The Paper Pilot Community"),1)],8,So)]),To,A(Jt,{title:"Autosave",modelValue:n.value,"onUpdate:modelValue":C[0]||(C[0]=I=>n.value=I)},null,8,["modelValue"]),l(J).enablePausing?(f(),F(Jt,{key:0,title:"Pause game",modelValue:r.value,"onUpdate:modelValue":C[1]||(C[1]=I=>r.value=I)},null,8,["modelValue"])):T("",!0)]),footer:M(()=>[d("div",ko,[d("button",{onClick:C[2]||(C[2]=I=>{var S;return(S=i.value)==null?void 0:S.open()}),class:"button"},"Open Saves Manager"),d("button",{onClick:m,class:"button"},"Set to 0"),d("button",{onClick:b,class:"button"},"Set to 1"),l(c)&&l(N).neq(l(c),0)&&l(N).neq(l(c),1)?(f(),B("button",{key:0,onClick:C[3]||(C[3]=I=>s.value=!1),class:"button"}," Set to previous ")):T("",!0),d("button",{onClick:p,class:"button danger"},"Ignore")])]),_:1},16,["modelValue"]),A(Fa,{ref_key:"savesManager",ref:i},null,512)],64))}});var Po=L(Mo,[["__scopeId","data-v-336bf74f"]]);const Do=v("Information");var Uo=x({__name:"App",setup(e){const t=J.useHeader,a=V(()=>ht[D.theme].variables);Pe(D,"showTPS");const n=Pe(D,"showTutorial"),r=V(()=>ge(W(()=>A(X,null,[Mr.map($e)])))),s=Lr({general:()=>({display:"General",glowColor(){return s.activeTab.value===this.tab?"var(--foreground)":""},tab:W(()=>A("div",null,[v("Have you ever played Super Auto Pets? Great, then you already know the basics! I'd suggest checking out the Livestream tab because it's quite different!"),A("br",null,null),A("br",null,null),v("For those unfamiliar with SAP, this is a game in which you'll manage a team of Coots that have a series of livestream battles with other player's teams of Coots. You win the game by winning 5 "),A("img",{src:Xr},null),A("span",{style:"color: cadetblue"},[v("trophies")]),v(" before losing all 3 "),A("img",{src:ze},null),A("span",{style:"color: red"},[v("lives")]),v(".")]))}),managing:()=>({display:"Managing",glowColor(){return s.activeTab.value===this.tab?"var(--foreground)":""},tab:W(()=>A("div",null,[v("Before each battle you get the opportunity to prepare. You have 3 slots for Coots, and you can buy more using the shop at the bottom of the screen. Purchasing Coots costs "),A("img",{src:Ke},null),A("span",{style:"color: yellow"},[v("moguls")]),v(", which is a currency you receive 10 of during the management phase. Any unspent "),A("img",{src:Ke},null),A("span",{style:"color: yellow"},[v("moguls")]),v(" are lost. Each Coots costs 3 "),A("img",{src:Ke},null),A("span",{style:"color: yellow"},[v("moguls")]),v(", and you can reroll the shop for 1 "),A("img",{src:Ke},null),A("span",{style:"color: yellow"},[v("mogul")]),v("."),A("br",null,null),A("br",null,null),v("You can also merge your Coots to increase their stats and level them up. Coots have an ability that grows stronger as they level up.")]))}),livestream:()=>({display:"Livestream",glowColor(){return s.activeTab.value===this.tab?"var(--foreground)":""},tab:W(()=>A("div",null,[v("In a livestream battle, your goal is to get more views than your opponent. Each team will add their Coots to their livestreams together, one at a time. Abilities will also activate throughout the stream as appropriate."),A("br",null,null),A("br",null,null),v("Each Coots has two stats- "),A("img",{src:ze},null),A("span",{style:"color: red"},[v("Relevancy")]),v(" and "),A("img",{src:We},null),A("span",{style:"color: gold"},[v("Presence")]),v(". The view count is based on the product of those two stats, and then summed between each Coots on the stream. Be careful if either stat becomes 0 or lower, that streamer won't contribute to your view count."),A("br",null,null),A("br",null,null),v("You can press play to perform a single action and see what the next will be, or select autoplay to automatically perform the whole match. If this is your first time playing, I'd suggest leaving autoplay off.")]))}),multiplayer:()=>({display:"Multiplayer",glowColor(){return s.activeTab.value===this.tab?"var(--foreground)":""},tab:W(()=>A("div",null,[v("By default you are going to be playing in a shared lobby with all other players. If you'd like to play with a specific group of friends, there's an option to join a room in the settings."),A("br",null,null),A("br",null,null),v("Also, be warned that the game has no account system and if you lose your connection to the server you'll automatically start a new game. Sorry!")]))})},()=>({classes:{tutorial:!0}})),i=ge(W(()=>Da(s)));return(o,c)=>(f(),B(X,null,[d("div",{id:"modal-root",style:Ee(l(a))},null,4),d("div",{class:H(["app",{useHeader:l(t)}]),style:Ee(l(a))},[l(t)?(f(),F(za,{key:0})):T("",!0),A(lo),A(No),A(Po),(f(),F(se(l(r)))),A(Ve,{modelValue:l(n),"onUpdate:modelValue":c[0]||(c[0]=m=>de(n)?n.value=m:null)},{header:M(()=>[Do]),body:M(()=>[(f(),F(se(l(i))))]),_:1},8,["modelValue"])],6)],64))}});var Vo=L(Uo,[["__scopeId","data-v-2d9bd813"]]);function Oo(e={}){const{immediate:t=!1,onNeedRefresh:a,onOfflineReady:n,onRegistered:r,onRegisterError:s}=e;let i,o;const c=async(m=!0)=>{m&&(i==null||i.addEventListener("controlling",b=>{b.isUpdate&&window.location.reload()})),o&&o.waiting&&await ln(o.waiting,{type:"SKIP_WAITING"})};if("serviceWorker"in navigator){i=new on("./sw.js",{scope:"./",type:"classic"}),i.addEventListener("activated",m=>{m.isUpdate||n==null||n()});{const m=()=>{a==null||a()};i.addEventListener("waiting",m),i.addEventListener("externalwaiting",m)}i.register({immediate:t}).then(m=>{o=m,r==null||r(m)}).catch(m=>{s==null||s(m)})}return c}function Ro(e={}){const{immediate:t=!0,onNeedRefresh:a,onOfflineReady:n,onRegistered:r,onRegisterError:s}=e,i=Q(!1),o=Q(!1);return{updateServiceWorker:Oo({immediate:t,onNeedRefresh(){i.value=!0,a==null||a()},onOfflineReady(){o.value=!0,n==null||n()},onRegistered:r,onRegisterError:s}),offlineReady:o,needRefresh:i}}document.title=J.title;window.projInfo=J;if(J.id==="")throw"Project ID is empty! Please select a unique ID for this project in /src/data/projInfo.json";requestAnimationFrame(async()=>{console.log(`%cMade in Profectus%c -Learn more at www.moddingtree.com`,"font-weight: bold; font-size: 24px; color: #A3BE8C; background: #2E3440; padding: 4px 8px; border-radius: 8px;","padding: 4px;"),await Ir();const{globalBus:e}=await Nt(()=>Promise.resolve().then(function(){return or}),void 0),{startGameLoop:t}=await Nt(()=>import("./gameLoop.1a1d7b15.js"),["assets/gameLoop.1a1d7b15.js","assets/@fontsource.f66d05e7.css","assets/vue.f6263579.js","assets/earcut.b6f90e68.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/vue-textarea-autosize.35804eaf.js","assets/semver.83ff78cf.js","assets/lru-cache.9a21e90b.js","assets/yallist.fd762fe7.js","assets/socket.io-client.79ce0df5.js","assets/engine.io-client.58517560.js","assets/engine.io-parser.3f360695.js","assets/@socket.io.aec831e2.js","assets/socket.io-parser.544e37d1.js","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","assets/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/workbox-window.8d14e8b7.js"]),a=window.vue=ja(Vo);e.emit("setupVue",a),a.mount("#app"),Me(()=>{const n=ma(),{updateServiceWorker:r}=Ro({onNeedRefresh(){n.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(){r()}})},onOfflineReady(){n.info("App ready to work offline")},onRegisterError:console.warn,onRegistered(s){s&&setInterval(()=>s.update(),60*60*1e3)}})}),t()});export{N as D,Nt as _,ee as a,J as b,Wi as c,te as g,wr as l,z as p,D as s}; diff --git a/assets/play.0f2f487f.png b/assets/play.0f2f487f.png new file mode 100644 index 0000000..d8aa04c Binary files /dev/null and b/assets/play.0f2f487f.png differ diff --git a/autoplay.png b/autoplay.png new file mode 100644 index 0000000..b917f73 Binary files /dev/null and b/autoplay.png differ diff --git a/fast forward.png b/fast forward.png new file mode 100644 index 0000000..3afc620 Binary files /dev/null and b/fast forward.png differ diff --git a/index.html b/index.html index 6e76afe..bfa9e19 100644 --- a/index.html +++ b/index.html @@ -48,11 +48,14 @@ + + + Profectus - + @@ -79,7 +82,7 @@ - + diff --git a/play.png b/play.png new file mode 100644 index 0000000..d8aa04c Binary files /dev/null and b/play.png differ diff --git a/sw.js b/sw.js index c48bd43..083f1c5 100644 --- a/sw.js +++ b/sw.js @@ -1 +1 @@ -if(!self.define){let s,e={};const i=(i,l)=>(i=new URL(i+".js",l).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s})));self.define=(l,n)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const t=s=>i(s,r),o={module:{uri:r},exports:u,require:t};e[r]=Promise.all(l.map((s=>o[s]||t(s)))).then((s=>(n(...s),u)))}}define(["./workbox-958fa2bd"],(function(s){"use strict";self.addEventListener("message",(s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()})),s.precacheAndRoute([{url:"assets/@fontsource.f66d05e7.css",revision:null},{url:"assets/@pixi.1eac1889.js",revision:null},{url:"assets/@socket.io.aec831e2.js",revision:null},{url:"assets/@vue.4ce677c2.js",revision:null},{url:"assets/earcut.b6f90e68.js",revision:null},{url:"assets/engine.io-client.58517560.js",revision:null},{url:"assets/engine.io-parser.3f360695.js",revision:null},{url:"assets/eventemitter3.dc5195d7.js",revision:null},{url:"assets/gameLoop.1a1d7b15.js",revision:null},{url:"assets/index.42a0c816.css",revision:null},{url:"assets/index.5f6d0132.js",revision:null},{url:"assets/ismobilejs.5c6954b9.js",revision:null},{url:"assets/lru-cache.9a21e90b.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/querystring.23ae9a54.js",revision:null},{url:"assets/semver.83ff78cf.js",revision:null},{url:"assets/socket.io-client.79ce0df5.js",revision:null},{url:"assets/socket.io-parser.544e37d1.js",revision:null},{url:"assets/sortablejs.cbae5b2d.js",revision:null},{url:"assets/url.e51cb87b.js",revision:null},{url:"assets/vue-next-select.0dc4e443.js",revision:null},{url:"assets/vue-next-select.9e6f4164.css",revision:null},{url:"assets/vue-textarea-autosize.35804eaf.js",revision:null},{url:"assets/vue-toastification.4b5f8ac8.css",revision:null},{url:"assets/vue-toastification.b7cd620e.js",revision:null},{url:"assets/vue.f6263579.js",revision:null},{url:"assets/vuedraggable.c3acdf62.js",revision:null},{url:"assets/workbox-window.8d14e8b7.js",revision:null},{url:"assets/yallist.fd762fe7.js",revision:null},{url:"index.html",revision:"1040b540176a1699b3fab30764c43da6"},{url:"favicon.ico",revision:"eead31eb5b19fa3bdc34af83d898c0b7"},{url:"robots.txt",revision:"5e0bd1c281a62a380d7a948085bfe2d1"},{url:"apple-touch-icon.png",revision:"26e53bb981d06c8069ffd9d2a14fce0e"},{url:"pwa-192x192.png",revision:"a16785d9e890858c5b508e0ef6954aaf"},{url:"pwa-512x512.png",revision:"b84004b93fd62ef6599ff179372861a1"},{url:"manifest.webmanifest",revision:"f93609f5a1f787be307fe537f0c532f3"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))})); +if(!self.define){let e,s={};const n=(n,i)=>(n=new URL(n+".js",i).href,s[n]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()})).then((()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(i,r)=>{const l=e||("document"in self?document.currentScript.src:"")||location.href;if(s[l])return;let a={};const o=e=>n(e,l),u={module:{uri:l},exports:a,require:o};s[l]=Promise.all(i.map((e=>u[e]||o(e)))).then((e=>(r(...e),a)))}}define(["./workbox-958fa2bd"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"apple-touch-icon.png",revision:"26e53bb981d06c8069ffd9d2a14fce0e"},{url:"assets/@fontsource.f66d05e7.css",revision:null},{url:"assets/@pixi.1eac1889.js",revision:null},{url:"assets/@socket.io.aec831e2.js",revision:null},{url:"assets/@vue.4ce677c2.js",revision:null},{url:"assets/autoplay.c48a90c0.png",revision:null},{url:"assets/earcut.b6f90e68.js",revision:null},{url:"assets/engine.io-client.58517560.js",revision:null},{url:"assets/engine.io-parser.3f360695.js",revision:null},{url:"assets/eventemitter3.dc5195d7.js",revision:null},{url:"assets/fast forward.8950743b.png",revision:null},{url:"assets/game window.07b1840c.png",revision:null},{url:"assets/gameLoop.37c75517.js",revision:null},{url:"assets/health bar.2f7af180.png",revision:null},{url:"assets/heart_small.5a26b7f7.png",revision:null},{url:"assets/index.016a609a.css",revision:null},{url:"assets/index.067ae3b7.js",revision:null},{url:"assets/ismobilejs.5c6954b9.js",revision:null},{url:"assets/Kitchen BG.cfdc4569.png",revision:null},{url:"assets/lru-cache.9a21e90b.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/money bar.6c027dc4.png",revision:null},{url:"assets/money_small.16f3e324.png",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/play.0f2f487f.png",revision:null},{url:"assets/presence_small.bbe534cd.png",revision:null},{url:"assets/presence_v2.d5ab8334.png",revision:null},{url:"assets/querystring.23ae9a54.js",revision:null},{url:"assets/semver.83ff78cf.js",revision:null},{url:"assets/shop cat.90b80da1.png",revision:null},{url:"assets/shop window.0a80aaff.png",revision:null},{url:"assets/socket.io-client.79ce0df5.js",revision:null},{url:"assets/socket.io-parser.544e37d1.js",revision:null},{url:"assets/sortablejs.cbae5b2d.js",revision:null},{url:"assets/start stream.dd66a6ec.png",revision:null},{url:"assets/url.e51cb87b.js",revision:null},{url:"assets/vue-next-select.0dc4e443.js",revision:null},{url:"assets/vue-next-select.9e6f4164.css",revision:null},{url:"assets/vue-textarea-autosize.35804eaf.js",revision:null},{url:"assets/vue-toastification.4b5f8ac8.css",revision:null},{url:"assets/vue-toastification.b7cd620e.js",revision:null},{url:"assets/vue.f6263579.js",revision:null},{url:"assets/vuedraggable.c3acdf62.js",revision:null},{url:"assets/win bar.b60a7ec9.png",revision:null},{url:"assets/wins_small.a33d849a.png",revision:null},{url:"assets/workbox-window.8d14e8b7.js",revision:null},{url:"assets/yallist.fd762fe7.js",revision:null},{url:"autoplay.png",revision:"be9f6e80259eab236f8ce1cf325a4a3d"},{url:"cat.png",revision:"3d1d4795ee68063f7967239b9bd8a77e"},{url:"coots.png",revision:"9bca770993dc061752730cbf8dd88036"},{url:"fast forward.png",revision:"33761df6a031d64fb6aaa8e0e943bb43"},{url:"favicon.ico",revision:"eead31eb5b19fa3bdc34af83d898c0b7"},{url:"favicon.svg",revision:"c8dd2748f1fedd25449164d7dda6aecb"},{url:"Freeze icon.png",revision:"decc09aac214dca5210bbe023426e4d3"},{url:"Freeze shop.png",revision:"85c2880486a59dfda07968ea20496141"},{url:"game window.png",revision:"b184e67f3ad807095a00d1278ee13aa2"},{url:"health bar.png",revision:"4f6f8b12630845bde9bc89e75b1485a3"},{url:"heart_small.png",revision:"9af76d6404f92c4777152a73b3c7465f"},{url:"heart.png",revision:"3ce9494b944f0eb8930785a0a9700586"},{url:"index.html",revision:"6e7ec6d84a6c58ec41b56e011feb0dfb"},{url:"Kitchen BG.png",revision:"463708f5495058ff69b3ac1ec164c801"},{url:"Ludwig Coots.png",revision:"267217fe492f24c0de4b4f657e229762"},{url:"Lvl 1_0.png",revision:"cfa284005fe3b9c6db03542548c6e1a7"},{url:"Lvl 1_1.png",revision:"9cd5e66b5c3cad561a6691171f2b1d66"},{url:"Lvl 2_0.png",revision:"3ac7f3c7cd97d5b930f3889dd4378662"},{url:"Lvl 2_1.png",revision:"7e99cae404be2ae3b4565f9b767554b2"},{url:"Lvl 2_2.png",revision:"7664e032267c09c9f35849f1dbe0c37c"},{url:"Lvl 3.png",revision:"5ad2d4778058036e8b3391ed74714574"},{url:"Maid Coots.png",revision:"848651b3c86d6710fb3a53fcc55602cc"},{url:"Mogul Mail Coots.png",revision:"b78cc4bc2e383f172934e2e49397f7b8"},{url:"Mogul Money Coots.png",revision:"462b9d9e93271238d6ae9488fbc1c5d2"},{url:"money bar.png",revision:"454905e37cf8cd3c7224231dc9c9f85d"},{url:"money_small.png",revision:"790ff9419147cb889b851e6719aa3b54"},{url:"Normal Coots.png",revision:"7e10198d336eba9a0eb4429ec80b9ccd"},{url:"particle.png",revision:"63770d8f9fbdc61a909ddf4298a46842"},{url:"play.png",revision:"a7774abdae3f28d239db9de339df8955"},{url:"presence_small.png",revision:"7548cf56f3cee2c79db032353b74fa71"},{url:"presence_v2.png",revision:"fbaa0b18d5b351dc1550fa408e0ffdc5"},{url:"pwa-192x192.png",revision:"a16785d9e890858c5b508e0ef6954aaf"},{url:"pwa-512x512.png",revision:"b84004b93fd62ef6599ff179372861a1"},{url:"QT Coots.png",revision:"c6e2cce95d03e55c04488f52d2128e93"},{url:"Shadow.png",revision:"938c513b361078057852347d854fd2cc"},{url:"shop cat.png",revision:"be3c067011a5cd223fba6e6dfbd1a069"},{url:"shop window.png",revision:"878f2c280114d396e5f8a192dcef83ad"},{url:"shop_Sell1.png",revision:"c1a71beffc4c57a1356e1884b36d4de5"},{url:"shop1.png",revision:"3e33337f78e1dbce7c69185393141c01"},{url:"Stanz Coots.png",revision:"5c6777ac7f0629b28b880aba415fb837"},{url:"start stream.png",revision:"1e67c6b5484f35813764290ae18a77e3"},{url:"Vespa Coots.png",revision:"87311a431e62a5a05ba9da4d149b2799"},{url:"win bar.png",revision:"5bb814face6cea9d891aaf48201884a7"},{url:"wins_small.png",revision:"b4562addb25a5773e7aef1d4cec09edf"},{url:"favicon.ico",revision:"eead31eb5b19fa3bdc34af83d898c0b7"},{url:"robots.txt",revision:"5e0bd1c281a62a380d7a948085bfe2d1"},{url:"apple-touch-icon.png",revision:"26e53bb981d06c8069ffd9d2a14fce0e"},{url:"pwa-192x192.png",revision:"a16785d9e890858c5b508e0ef6954aaf"},{url:"pwa-512x512.png",revision:"b84004b93fd62ef6599ff179372861a1"},{url:"manifest.webmanifest",revision:"f93609f5a1f787be307fe537f0c532f3"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))}));