From 0181fd1a0daeefe140779bc9c5b7d333b70df143 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Tue, 21 Feb 2023 05:43:47 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20thepaper?= =?UTF-8?q?pilot/Super-Auto-Coots@04a1e75b906c5834bb943113f10769abe72dd77b?= =?UTF-8?q?=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...gameLoop.61f5baa3.js => gameLoop.c11a58f2.js} | 2 +- .../{index.72497a63.css => index.e4aefb81.css} | 2 +- assets/{index.ec87b70f.js => index.f325db4f.js} | 4 ++-- index.html | 4 ++-- shop window.png | Bin 0 -> 6482 bytes sw.js | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename assets/{gameLoop.61f5baa3.js => gameLoop.c11a58f2.js} (91%) rename assets/{index.72497a63.css => index.e4aefb81.css} (76%) rename assets/{index.ec87b70f.js => index.f325db4f.js} (93%) create mode 100644 shop window.png diff --git a/assets/gameLoop.61f5baa3.js b/assets/gameLoop.c11a58f2.js similarity index 91% rename from assets/gameLoop.61f5baa3.js rename to assets/gameLoop.c11a58f2.js index 85879b8..14723fe 100644 --- a/assets/gameLoop.61f5baa3.js +++ b/assets/gameLoop.c11a58f2.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.ec87b70f.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"./vuedraggable.c3acdf62.js";import"./earcut.b6f90e68.js";import"./sortablejs.cbae5b2d.js";import"./vue-next-select.0dc4e443.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"./vue-toastification.b7cd620e.js";import"./@pixi.1eac1889.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.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.ec87b70f.js").then(function(t){return t.c}),["assets/index.ec87b70f.js","assets/index.72497a63.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/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.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/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","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.f325db4f.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"./vuedraggable.c3acdf62.js";import"./earcut.b6f90e68.js";import"./sortablejs.cbae5b2d.js";import"./vue-next-select.0dc4e443.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"./vue-toastification.b7cd620e.js";import"./@pixi.1eac1889.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.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.f325db4f.js").then(function(t){return t.c}),["assets/index.f325db4f.js","assets/index.e4aefb81.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/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.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/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","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.72497a63.css b/assets/index.e4aefb81.css similarity index 76% rename from assets/index.72497a63.css rename to assets/index.e4aefb81.css index fe6330e..5a3dec4 100644 --- a/assets/index.72497a63.css +++ b/assets/index.e4aefb81.css @@ -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)}.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)}.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-35a11bf5]{position:relative;--xoffset: 0px;--yoffset: 0px;text-shadow:none!important}.tooltip[data-v-35a11bf5],.tooltip[data-v-35a11bf5]:after{pointer-events:none;position:absolute}.tooltip[data-v-35a11bf5]{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:100!important;word-break:break-word}.tooltip[data-v-35a11bf5] hr{margin:var(--feature-margin) 0}.shown[data-v-35a11bf5]{z-index:10}.fade-enter-from[data-v-35a11bf5],.fade-leave-to[data-v-35a11bf5]{opacity:0}.tooltip[data-v-35a11bf5]: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-35a11bf5],.side-nodes .tooltip[data-v-35a11bf5]: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-35a11bf5]:after,.side-nodes .tooltip[data-v-35a11bf5]: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-35a11bf5]{bottom:calc(50% + var(--yoffset));left:calc(100% + var(--xoffset));margin-bottom:unset;margin-left:5px;transform:translateY(50%)}.tooltip.right[data-v-35a11bf5]: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-35a11bf5]{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-35a11bf5]:after{top:0;margin-top:-10px;border-color:transparent transparent var(--tooltip-background) transparent}.pinned[data-v-35a11bf5]{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}.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}.field{display:flex;position:relative;min-height:2em;margin:10px 0;user-select:none;justify-content:space-between;align-items:center}.field>*{margin:0}.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)}form[data-v-90bd4994]{margin:0;width:100%}.field>*[data-v-90bd4994]{margin:0}input[data-v-90bd4994]{width:50%;outline:none;border:solid 1px var(--outline);background-color:unset;border-radius:var(--border-radius)}.fullWidth[data-v-90bd4994]{width:100%}.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-269f7a94]{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-269f7a94]{height:46px;width:46px;display:flex;cursor:pointer;flex-shrink:0}.nav>.banner[data-v-269f7a94]{height:100%;width:unset}.overlay-nav[data-v-269f7a94]{position:fixed;top:10px;left:10px;display:flex;flex-direction:column;z-index:2}.overlay-nav>*[data-v-269f7a94]{height:50px;width:50px;display:flex;cursor:pointer;margin:0;align-items:center;justify-content:center}.title[data-v-269f7a94]{font-size:36px;text-align:left;margin-left:12px;cursor:unset}.nav>.title[data-v-269f7a94]{width:unset;flex-shrink:1;overflow:hidden;white-space:nowrap}.nav .saves[data-v-269f7a94],.nav .info[data-v-269f7a94]{display:flex}.tooltip-container[data-v-269f7a94]{width:100%;height:100%;display:flex}.overlay-nav .discord[data-v-269f7a94]{position:relative}.discord img[data-v-269f7a94]{width:100%;height:100%}.discord-links[data-v-269f7a94]{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-269f7a94]{position:absolute;left:-280px;right:unset;transition:left .25s ease}.overlay-nav .discord:hover .discord-links[data-v-269f7a94]{left:-10px}.discord-links li[data-v-269f7a94]{margin-bottom:4px}.discord-links li[data-v-269f7a94]:first-child{font-size:1.2em}*:not(.overlay-nav) .discord:hover .discord-links[data-v-269f7a94]{right:0}.material-icons[data-v-269f7a94]{font-size:36px}.material-icons[data-v-269f7a94]:hover{text-shadow:5px 0 10px var(--link),-3px 0 12px var(--foreground)}.nav .version-container[data-v-269f7a94]{display:flex;height:25px;margin-bottom:0;margin-left:10px}.overlay-nav .version-container[data-v-269f7a94]{width:unset;height:25px}.version[data-v-269f7a94]{color:var(--points)}.version:hover span[data-v-269f7a94]{text-shadow:5px 0 10px var(--points),-3px 0 12px var(--points)}.nav>div>a[data-v-269f7a94],.overlay-nav>div>a[data-v-269f7a94]{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}.node[data-v-a48cb382]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.character[data-v-5535bfbc]{width:10vmin;height:10vmin;position:relative;margin:4vmin;justify-content:center;user-select:none;display:flex}.character[data-v-5535bfbc]:not(.empty){cursor:pointer}.character.shake[data-v-5535bfbc]{animation:shake-5535bfbc .5s infinite}.character *[data-v-5535bfbc]{pointer-events:none}.character-display img[data-v-5535bfbc]{image-rendering:pixelated;width:10vmin;height:10vmin;filter:drop-shadow(2px 4px 6px black)}.character[data-v-5535bfbc]:after{content:"";background:url(./Shadow.png);position:absolute;top:15%;left:0;right:0;bottom:-15%;z-index:-1;background-size:contain}.character.selected[data-v-5535bfbc]: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-5535bfbc]:not(.selected):not(.empty):not(.dragging):not(.isDragging):hover:before,.character:not(.selected):not(.empty):not(.dragging).draggingOver[data-v-5535bfbc]: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-5535bfbc]{position:absolute;top:-15%;left:0;transform:translate(-50%,-50%)}.relevancy-display img[data-v-5535bfbc]{position:absolute;transform:translate(-45%,-45%);z-index:-1;width:10vmin;height:10vmin;image-rendering:pixelated}.relevancy-display span[data-v-5535bfbc]{font-family:Roboto Mono;font-size:2vmin;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%)}.presence-display[data-v-5535bfbc]{position:absolute;top:0;right:0;transform:translate(-50%,-50%);color:var(--feature-foreground)}.presence-display .material-icons[data-v-5535bfbc]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:var(--accent1);font-size:2vmin;z-index:-1}.level-display[data-v-5535bfbc]{position:absolute;bottom:-5%;right:-5%;z-index:1;transform:translate(50%,50%)}.level-display img[data-v-5535bfbc]{width:10vmin;height:10vmin}.move-indicator[data-v-5535bfbc]{position:absolute;transform:translate(-50%) rotate(180deg);top:-75%;left:50%;animation:bouncingMoveIndicator-5535bfbc 1s infinite}.move-indicator .material-icons[data-v-5535bfbc]{font-size:5vmin;transition:all .5s ease,color 0s}.character:not(.isDragging):hover .move-indicator .material-icons[data-v-5535bfbc],.character.draggingOver .move-indicator .material-icons[data-v-5535bfbc]{color:var(--feature-foreground)}.frozen[data-v-5535bfbc]{position:absolute;background:skyblue;top:0;left:0;right:0;bottom:0;opacity:.5;transform:rotate(45deg)}@keyframes bouncingMoveIndicator-5535bfbc{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-5535bfbc{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.png);background-position:center;background-size:cover}.game-container{display:flex;flex-direction:column;height:100%}.game-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-image:url(./game\ window.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(./cat.png);z-index:102;pointer-events:none}.team-nickname{font-size:3vmin;z-index:105;top:2.8vmin;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)}.modifier-toggle{padding-right:10px;transform:translateY(-1px);display:inline-block}.modifier-toggle.collapsed{transform:translate(-5px,-5px) rotate(-90deg)}.resource-box{display:flex;border:solid 2px var(--bought);padding:0 4px;border-radius:4px;font-size:2em;align-items:center}.resource-box:not(:last-child){margin-right:20px!important}.resource-box .material-icons{margin-right:6px;font-size:1em}.resource-box img{margin-right:6px;width:1em;transform:scale(2);image-rendering:pixelated}.reroll{height:18vmin;cursor:pointer;user-select:none;transition-duration:0s}.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}.waiting{font-size:4vmin;height:16vmin;display:flex;align-items:center}.battle-container{display:flex;flex-direction:column;height:100%}.battle-container:not(.fast) *{transition-duration:1s}.teams-container{display:flex;height:100%;width:100%}.team-container{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;margin:0 4vmin}.stream-container{aspect-ratio:16/9;width:calc(100% - 4px);margin:0 auto;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}.stream-details .stats{display:flex;margin-top:1vmin}.view-counter{font-size:2vmin;position:absolute;top:1vmin}.streamers-container{width:90%;height:18vmin;position:absolute;left:5%;bottom:5%;overflow-x:auto;overflow-y:hidden}.members-container{height:18vmin;flex-shrink:0;overflow:hidden}.streamers-container .row,.members-container .row{flex-flow:row}.streamers-container .character,.members-container .character{margin:4vmin 1vmin}.battle-controls{margin-bottom:2vmin;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}.outcome span{margin:1vmin}.character-transition-enter-from{transform:translateY(100%)}.character-transition-leave-to{transform:translateY(-100%)}.character-trensition-active{position:absolute}.bottom-row{width:90%}.bottom-row .row{width:100%;align-items:center}.bottom-row .button{font-size:4vmin;padding:4vmin}.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}@media (orientation: portrait){.teams-container{flex-direction:column}.team-container{margin:4vmin 0}.stream-container{width:unset;height:100%}}@keyframes swing{0%,to{transform:rotate(-30deg)}20%{transform:scale(.95)}50%{transform:rotate(30deg)}80%{transform:scale(.95)}}.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}.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:Roboto Mono,monospace;font-weight:700;margin:auto;text-size-adjust:none}*: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-48adfab3]{background-color:var(--background);color:var(--foreground);display:flex;flex-flow:column;min-height:100%;height:100%}#modal-root[data-v-48adfab3]{position:absolute;min-height:100%;height:100%;color:var(--foreground)} +.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)}.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)}.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-35a11bf5]{position:relative;--xoffset: 0px;--yoffset: 0px;text-shadow:none!important}.tooltip[data-v-35a11bf5],.tooltip[data-v-35a11bf5]:after{pointer-events:none;position:absolute}.tooltip[data-v-35a11bf5]{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:100!important;word-break:break-word}.tooltip[data-v-35a11bf5] hr{margin:var(--feature-margin) 0}.shown[data-v-35a11bf5]{z-index:10}.fade-enter-from[data-v-35a11bf5],.fade-leave-to[data-v-35a11bf5]{opacity:0}.tooltip[data-v-35a11bf5]: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-35a11bf5],.side-nodes .tooltip[data-v-35a11bf5]: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-35a11bf5]:after,.side-nodes .tooltip[data-v-35a11bf5]: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-35a11bf5]{bottom:calc(50% + var(--yoffset));left:calc(100% + var(--xoffset));margin-bottom:unset;margin-left:5px;transform:translateY(50%)}.tooltip.right[data-v-35a11bf5]: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-35a11bf5]{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-35a11bf5]:after{top:0;margin-top:-10px;border-color:transparent transparent var(--tooltip-background) transparent}.pinned[data-v-35a11bf5]{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}.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}.field{display:flex;position:relative;min-height:2em;margin:10px 0;user-select:none;justify-content:space-between;align-items:center}.field>*{margin:0}.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)}form[data-v-90bd4994]{margin:0;width:100%}.field>*[data-v-90bd4994]{margin:0}input[data-v-90bd4994]{width:50%;outline:none;border:solid 1px var(--outline);background-color:unset;border-radius:var(--border-radius)}.fullWidth[data-v-90bd4994]{width:100%}.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-269f7a94]{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-269f7a94]{height:46px;width:46px;display:flex;cursor:pointer;flex-shrink:0}.nav>.banner[data-v-269f7a94]{height:100%;width:unset}.overlay-nav[data-v-269f7a94]{position:fixed;top:10px;left:10px;display:flex;flex-direction:column;z-index:2}.overlay-nav>*[data-v-269f7a94]{height:50px;width:50px;display:flex;cursor:pointer;margin:0;align-items:center;justify-content:center}.title[data-v-269f7a94]{font-size:36px;text-align:left;margin-left:12px;cursor:unset}.nav>.title[data-v-269f7a94]{width:unset;flex-shrink:1;overflow:hidden;white-space:nowrap}.nav .saves[data-v-269f7a94],.nav .info[data-v-269f7a94]{display:flex}.tooltip-container[data-v-269f7a94]{width:100%;height:100%;display:flex}.overlay-nav .discord[data-v-269f7a94]{position:relative}.discord img[data-v-269f7a94]{width:100%;height:100%}.discord-links[data-v-269f7a94]{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-269f7a94]{position:absolute;left:-280px;right:unset;transition:left .25s ease}.overlay-nav .discord:hover .discord-links[data-v-269f7a94]{left:-10px}.discord-links li[data-v-269f7a94]{margin-bottom:4px}.discord-links li[data-v-269f7a94]:first-child{font-size:1.2em}*:not(.overlay-nav) .discord:hover .discord-links[data-v-269f7a94]{right:0}.material-icons[data-v-269f7a94]{font-size:36px}.material-icons[data-v-269f7a94]:hover{text-shadow:5px 0 10px var(--link),-3px 0 12px var(--foreground)}.nav .version-container[data-v-269f7a94]{display:flex;height:25px;margin-bottom:0;margin-left:10px}.overlay-nav .version-container[data-v-269f7a94]{width:unset;height:25px}.version[data-v-269f7a94]{color:var(--points)}.version:hover span[data-v-269f7a94]{text-shadow:5px 0 10px var(--points),-3px 0 12px var(--points)}.nav>div>a[data-v-269f7a94],.overlay-nav>div>a[data-v-269f7a94]{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}.node[data-v-a48cb382]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.character[data-v-5535bfbc]{width:10vmin;height:10vmin;position:relative;margin:4vmin;justify-content:center;user-select:none;display:flex}.character[data-v-5535bfbc]:not(.empty){cursor:pointer}.character.shake[data-v-5535bfbc]{animation:shake-5535bfbc .5s infinite}.character *[data-v-5535bfbc]{pointer-events:none}.character-display img[data-v-5535bfbc]{image-rendering:pixelated;width:10vmin;height:10vmin;filter:drop-shadow(2px 4px 6px black)}.character[data-v-5535bfbc]:after{content:"";background:url(./Shadow.png);position:absolute;top:15%;left:0;right:0;bottom:-15%;z-index:-1;background-size:contain}.character.selected[data-v-5535bfbc]: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-5535bfbc]:not(.selected):not(.empty):not(.dragging):not(.isDragging):hover:before,.character:not(.selected):not(.empty):not(.dragging).draggingOver[data-v-5535bfbc]: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-5535bfbc]{position:absolute;top:-15%;left:0;transform:translate(-50%,-50%)}.relevancy-display img[data-v-5535bfbc]{position:absolute;transform:translate(-45%,-45%);z-index:-1;width:10vmin;height:10vmin;image-rendering:pixelated}.relevancy-display span[data-v-5535bfbc]{font-family:Roboto Mono;font-size:2vmin;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%)}.presence-display[data-v-5535bfbc]{position:absolute;top:0;right:0;transform:translate(-50%,-50%);color:var(--feature-foreground)}.presence-display .material-icons[data-v-5535bfbc]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:var(--accent1);font-size:2vmin;z-index:-1}.level-display[data-v-5535bfbc]{position:absolute;bottom:-5%;right:-5%;z-index:1;transform:translate(50%,50%)}.level-display img[data-v-5535bfbc]{width:10vmin;height:10vmin}.move-indicator[data-v-5535bfbc]{position:absolute;transform:translate(-50%) rotate(180deg);top:-75%;left:50%;animation:bouncingMoveIndicator-5535bfbc 1s infinite}.move-indicator .material-icons[data-v-5535bfbc]{font-size:5vmin;transition:all .5s ease,color 0s}.character:not(.isDragging):hover .move-indicator .material-icons[data-v-5535bfbc],.character.draggingOver .move-indicator .material-icons[data-v-5535bfbc]{color:var(--feature-foreground)}.frozen[data-v-5535bfbc]{position:absolute;background:skyblue;top:0;left:0;right:0;bottom:0;opacity:.5;transform:rotate(45deg)}@keyframes bouncingMoveIndicator-5535bfbc{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-5535bfbc{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.png);background-position:center;background-size:cover}.game-container{display:flex;flex-direction:column;height:100%}.game-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-image:url(./game\ window.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(./cat.png);z-index:102;pointer-events:none}.team-nickname{font-size:3vmin;z-index:105;top:2.8vmin;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)}.modifier-toggle{padding-right:10px;transform:translateY(-1px);display:inline-block}.modifier-toggle.collapsed{transform:translate(-5px,-5px) rotate(-90deg)}.resource-box{display:flex;border:solid 2px var(--bought);padding:0 4px;border-radius:4px;font-size:2em;align-items:center}.resource-box:not(:last-child){margin-right:20px!important}.resource-box .material-icons{margin-right:6px;font-size:1em}.resource-box img{margin-right:6px;width:1em;transform:scale(2);image-rendering:pixelated}.shop{margin-top:10vh!important}.shop .row{border-image:url(./shop\ window.png);border-image-slice:106 53 53 424 fill;border-style:solid;border-width:5vmin 2.5vmin 2.5vmin 20vmin;width:72.5vmin;justify-content:flex-start;align-items:center}.reroll{margin-left:-19vmin!important;margin-top:-1vmin!important;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}.waiting{font-size:4vmin;height:16vmin;display:flex;align-items:center}.battle-container{display:flex;flex-direction:column;height:100%}.battle-container:not(.fast) *{transition-duration:1s}.teams-container{display:flex;height:100%;width:100%}.team-container{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;margin:0 4vmin}.stream-container{aspect-ratio:16/9;width:calc(100% - 4px);margin:0 auto;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}.stream-details .stats{display:flex;margin-top:1vmin}.view-counter{font-size:2vmin;position:absolute;top:1vmin}.streamers-container{width:90%;height:18vmin;position:absolute;left:5%;bottom:5%;overflow-x:auto;overflow-y:hidden}.members-container{height:18vmin;flex-shrink:0;overflow:hidden}.streamers-container .row,.members-container .row{flex-flow:row}.streamers-container .character,.members-container .character{margin:4vmin 1vmin}.battle-controls{margin-bottom:2vmin;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}.outcome span{margin:1vmin}.character-transition-enter-from{transform:translateY(100%)}.character-transition-leave-to{transform:translateY(-100%)}.character-trensition-active{position:absolute}.bottom-row{width:90%}.bottom-row .row{width:100%;align-items:center}.bottom-row .button{font-size:4vmin;padding:4vmin}.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}@media (orientation: portrait){.teams-container{flex-direction:column}.team-container{margin:4vmin 0}.stream-container{width:unset;height:100%}}@keyframes swing{0%,to{transform:rotate(-30deg)}20%{transform:scale(.95)}50%{transform:rotate(30deg)}80%{transform:scale(.95)}}.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}.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:Roboto Mono,monospace;font-weight:700;margin:auto;text-size-adjust:none}*: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-48adfab3]{background-color:var(--background);color:var(--foreground);display:flex;flex-flow:column;min-height:100%;height:100%}#modal-root[data-v-48adfab3]{position:absolute;min-height:100%;height:100%;color:var(--foreground)} diff --git a/assets/index.ec87b70f.js b/assets/index.f325db4f.js similarity index 93% rename from assets/index.ec87b70f.js rename to assets/index.f325db4f.js index ff4554e..9f90493 100644 --- a/assets/index.ec87b70f.js +++ b/assets/index.f325db4f.js @@ -11,5 +11,5 @@ Created at: Stack: ${ue} Trying to pop ${a.id}`;ue.pop(),pe(a,"color"),pe(a,"display"),pe(a,"classes"),pe(a,"style"),pe(a,"name"),et(a,"name",a.id),pe(a,"minWidth"),et(a,"minWidth",600),pe(a,"minimizable"),et(a,"minimizable",!0),pe(a,"minimizedDisplay");const i=a.style;return a.style=x(()=>{var r,l;let s=u(a.minWidth);return(typeof s=="number"||!Number.isNaN(parseInt(s)))&&(s=s+"px"),[(r=u(i))!=null?r:"",(l=a.minimized)!=null&&l.value?{flexGrow:"0",flexShrink:"0",width:"60px",minWidth:"",flexBasis:"",margin:"0"}:{flexGrow:"",flexShrink:"",width:"",minWidth:s,flexBasis:s,margin:""}]}),a})}function Ca(e,t){if(console.info("Adding layer",e.id),ee[e.id]){console.error("Attempted to add layer with same ID as existing layer",e.id,ee[e.id]);return}et(t,"layers",{}),t.layers[e.id]==null&&(t.layers[e.id]={}),ee[e.id]=e,$.emit("addLayer",e,t.layers[e.id])}function Ci(e){return ee[e]}function Na(e){console.info("Removing layer",e.id),$.emit("removeLayer",e),ee[e.id]=void 0}function Ni(e){Na(e),Ca(e,V)}function Bi(e){const t=w(!1);return{openModal:()=>t.value=!0,modal:J(()=>o(Ge,{modelValue:t.value,"onUpdate:modelValue":a=>t.value=a},{header:()=>o("h2",null,[u(e.name)]),body:u(e.display)}))}}$.on("update",function(t){Object.values(ee).forEach(a=>{a==null||a.emit("preUpdate",t)}),Object.values(ee).forEach(a=>{a==null||a.emit("update",t)}),Object.values(ee).forEach(a=>{a==null||a.emit("postUpdate",t)})});var Ei=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:qt,UnregisterNodeInjectionKey:zt,NodesInjectionKey:pa,BoundsInjectionKey:ya,layers:ee,persistentRefs:We,addingLayers:ue,createLayer:ba,addLayer:Ca,getLayer:Ci,removeLayer:Na,reloadLayer:Ni,setupLayerModal:Bi},Symbol.toStringTag,{value:"Module"}));const wi=O({components:{Context:va},props:{index:{type:Number,required:!0},display:{type:ne(Object,String,Function),required:!0},minimizedDisplay:ne(Object,String,Function),minimized:{type:Object,required:!0},name:{type:ne(String),required:!0},color:ne(String),minimizable:ne(Boolean),nodes:{type:Object,required:!0}},emits:["setMinimized"],setup(e){const{display:t,index:a,minimized:n,minimizedDisplay:i}=be(e),s=oi(t),r=pt(i),l=x(()=>G.allowGoBack&&a.value>0&&!xe(n));function g(){V.tabs.splice(u(e.index),1/0)}function f(y){e.nodes.value=y}return{component:s,minimizedComponent:r,showGoBack:l,updateNodes:f,unref:u,goBack:g}}}),Ii={key:1};function _i(e,t,a,n,i,s){const r=Ma("Context");return h(),B("div",{class:"layer-container",style:ze({"--layer-color":e.unref(e.color)})},[e.showGoBack?(h(),B("button",{key:0,class:"goBack",onClick:t[0]||(t[0]=(...l)=>e.goBack&&e.goBack(...l))},"\u274C")):M("",!0),e.unref(e.minimized)?(h(),B("button",{key:1,class:"layer-tab minimized",onClick:t[1]||(t[1]=l=>e.$emit("setMinimized",!1))},[e.minimizedComponent?(h(),U(ce(e.minimizedComponent),{key:0})):(h(),B("div",Ii,F(e.unref(e.name)),1))])):(h(),B("div",{key:2,class:ae(["layer-tab",{showGoBack:e.showGoBack}])},[o(r,{onUpdateNodes:e.updateNodes},{default:R(()=>[(h(),U(ce(e.component)))]),_:1},8,["onUpdateNodes"])],2)),e.unref(e.minimizable)?(h(),B("button",{key:3,class:"minimize",onClick:t[2]||(t[2]=l=>e.$emit("setMinimized",!0))}," \u25BC ")):M("",!0)],4)}var Qi=K(wi,[["render",_i],["__scopeId","data-v-a592996e"]]);const Ba=e=>(Qe("data-v-4b4bda40"),e=e(),Se(),e),Si=Ba(()=>c("h2",null,"Changelog",-1)),Mi=Ba(()=>c("details",{open:""},[c("summary",null,[v("v0.0 Initial Commit - "),c("time",null,"2021-09-04")]),v(" This is the first release :D "),c("ul",null,[c("li",{class:"feature"},"Did everything"),c("li",{class:"fix"},"Had some fun"),c("li",{class:"breaking"},"Removed everything"),c("li",{class:"balancing"},"Created some bugs to fix later")])],-1)),ki=O({__name:"Changelog",setup(e,{expose:t}){const a=w(!1);return t({open(){a.value=!0}}),(n,i)=>(h(),U(Ge,{modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=s=>a.value=s)},{header:R(()=>[Si]),body:R(()=>[Mi]),_:1},8,["modelValue"]))}});var Ti=K(ki,[["__scopeId","data-v-4b4bda40"]]),Di=O({props:{element:Object,display:{type:ne(Object,String,Function),required:!0},style:ne(Object,String,Array),classes:ne(Object),direction:ne(String),xoffset:ne(String),yoffset:ne(String),pinned:Object},setup(e){const{element:t,display:a,pinned:n}=be(e),i=w(!1),s=x(()=>(xe(n)||i.value)&&r.value),r=pt(a),l=ye(Ne(J(()=>{const y=xe(t);return y==null?"":ri(y)})));function g(y){const p=n;y.shiftKey&&p&&(p.value=!p.value,y.stopPropagation(),y.preventDefault())}const f=x(()=>xe(n)&&vt[z.theme].showPin);return{Direction:Y,isHovered:i,isShown:s,comp:r,elementComp:l,unref:u,togglePinned:g,showPin:f}}});const Ri={key:0,class:"material-icons pinned"};function Vi(e,t,a,n,i,s){return h(),B("div",{class:ae(["tooltip-container",{shown:e.isShown}]),onMouseenter:t[0]||(t[0]=r=>e.isHovered=!0),onMouseleave:t[1]||(t[1]=r=>e.isHovered=!1),onClickCapture:t[2]||(t[2]=(...r)=>e.togglePinned&&e.togglePinned(...r))},[_e(e.$slots,"default",{},void 0,!0),e.elementComp?(h(),U(ce(e.elementComp),{key:0})):M("",!0),o(ta,{name:"fade",css:!!e.comp},{default:R(()=>{var r;return[e.isShown?(h(),B("div",{key:0,class:ae(["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:ze([{"--xoffset":e.unref(e.xoffset)||"0px","--yoffset":e.unref(e.yoffset)||"0px"},(r=e.unref(e.style))!=null?r:{}])},[e.showPin?(h(),B("span",Ri,"push_pin")):M("",!0),e.comp?(h(),U(ce(e.comp),{key:1})):M("",!0)],6)):M("",!0)]}),_:1},8,["css"])],34)}var j=K(Di,[["render",Vi],["__scopeId","data-v-35a11bf5"]]);const Oe=e=>(Qe("data-v-5d3cb6f4"),e=e(),Se(),e),Pi={class:"info-modal-header"},xi=["src","alt"],qi={class:"info-modal-title"},zi={key:0},Fi={key:0},Gi={key:0},Oi=Oe(()=>c("div",null," Made in Profectus, by thepaperpilot with inspiration from Acameada and Jacorb ",-1)),Ui=Oe(()=>c("br",null,null,-1)),Li=Oe(()=>c("br",null,null,-1)),Ji=["href"],Yi=Oe(()=>c("span",{class:"material-icons info-modal-discord"},"discord",-1)),Wi=Oe(()=>c("div",null,[c("a",{href:"https://discord.gg/WzejVAx",class:"info-modal-discord-link",target:"_blank"},[c("span",{class:"material-icons info-modal-discord"},"discord"),v(" The Paper Pilot Community ")])],-1)),Xi=Oe(()=>c("div",null,[c("a",{href:"https://discord.gg/F3xveHV",class:"info-modal-discord-link",target:"_blank"},[c("span",{class:"material-icons info-modal-discord"},"discord"),v(" The Modding Tree ")])],-1)),Ki=Oe(()=>c("br",null,null,-1));var ji=O({__name:"Info",props:{changelog:null},setup(e,{expose:t}){const a=e,{title:n,logo:i,author:s,discordName:r,discordLink:l,versionNumber:g,versionTitle:f}=G,y=be(a),p=w(!1),C=x(()=>Dt(V.timePlayed)),N=x(()=>Ne(J(()=>o(X,null,[ni.map(Ye)]))));t({open(){p.value=!0}});function _(){var Q;(Q=u(y.changelog))==null||Q.open()}return(Q,S)=>(h(),U(Ge,{modelValue:p.value,"onUpdate:modelValue":S[0]||(S[0]=H=>p.value=H)},{header:R(()=>[c("div",Pi,[u(i)?(h(),B("img",{key:0,class:"info-modal-logo",src:u(i),alt:u(n)},null,8,xi)):M("",!0),c("div",qi,[c("h2",null,F(u(n)),1),c("h4",null,[v(" v"+F(u(g)),1),u(f)?(h(),B("span",zi,": "+F(u(f)),1)):M("",!0)])])])]),body:R(({shown:H})=>[H?(h(),B("div",Fi,[u(s)?(h(),B("div",Gi,"By "+F(u(s)),1)):M("",!0),Oi,Ui,c("div",{class:"link",onClick:_},"Changelog"),Li,c("div",null,[u(l)?(h(),B("a",{key:0,href:u(l),class:"info-modal-discord-link",target:"_blank"},[Yi,v(" "+F(u(r)),1)],8,Ji)):M("",!0)]),Wi,Xi,Ki,c("div",null,"Time Played: "+F(u(C)),1),(h(),U(ce(u(N))))])):M("",!0)]),_:1},8,["modelValue"]))}});var Hi=K(ji,[["__scopeId","data-v-5d3cb6f4"]]);const Zi=c("h2",null,"Settings",-1);var $i=O({__name:"Options",setup(e,{expose:t}){const a=w(!1),n=w("behaviour");function i(l){return l==n.value}function s(l){n.value=l}t({isTab:i,setTab:s,save:re,open(){a.value=!0}}),Object.keys(vt).map(l=>({label:Xn(l),value:l}));const r=x(()=>Ne(J(()=>o(X,null,[fa.map(Ye)]))));return be(z),be(V),x({get(){return V.devSpeed===0},set(l){V.devSpeed=l?0:null}}),J(()=>o("span",{class:"option-title"},[v("Unthrottled"),o("desc",null,[v("Allow the game to run as fast as possible. Not battery friendly.")])])),J(()=>o("span",{class:"option-title"},[v("Offline Production"),o(j,{display:"Save-specific",direction:Y.Right},{default:()=>[v("*")]}),o("desc",null,[v("Simulate production that occurs while the game is closed.")])])),J(()=>o("span",{class:"option-title"},[v("Autosave"),o(j,{display:"Save-specific",direction:Y.Right},{default:()=>[v("*")]}),o("desc",null,[v("Automatically save the game every second or when the game is closed.")])])),J(()=>o("span",{class:"option-title"},[v("Pause game"),o(j,{display:"Save-specific",direction:Y.Right},{default:()=>[v("*")]}),o("desc",null,[v("Stop everything from moving.")])])),J(()=>o("span",{class:"option-title"},[v("Theme"),o("desc",null,[v("How the game looks.")])])),J(()=>o("span",{class:"option-title"},[v("Show TPS"),o("desc",null,[v("Show TPS meter at the bottom-left corner of the page.")])])),J(()=>o("span",{class:"option-title"},[v("Align modifier units"),o("desc",null,[v("Align numbers to the beginning of the unit in modifier view.")])])),(l,g)=>(h(),U(Ge,{modelValue:a.value,"onUpdate:modelValue":g[0]||(g[0]=f=>a.value=f)},{header:R(()=>[Zi]),body:R(()=>[(h(),U(ce(u(r))))]),_:1},8,["modelValue"]))}});const es={class:"field"},ts={key:0,class:"field-title"},as=O({__name:"Select",props:{title:null,modelValue:null,options:null,placeholder:null,closeOnSelect:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){var r;const a=e,n=pt(Fe(a,"title"),"span"),i=w((r=a.options.find(l=>l.value===a.modelValue))!=null?r:null);he(Fe(a,"modelValue"),l=>{var g;xe(i)!==l&&(i.value=(g=a.options.find(f=>f.value===l))!=null?g:null)});function s(l){t("update:modelValue",l.value)}return(l,g)=>(h(),B("div",es,[u(n)?(h(),B("span",ts,[(h(),U(ce(u(n))))])):M("",!0),o(u(za),{options:e.options,modelValue:i.value,"onUpdate:modelValue":[g[0]||(g[0]=f=>i.value=f),s],min:1,"label-by":"label",placeholder:e.placeholder,"close-on-select":e.closeOnSelect},null,8,["options","modelValue","placeholder","close-on-select"])]))}});const ns=["onSubmit"],is={class:"field"},ss={key:0,class:"field-title"},rs=["placeholder"],os=O({__name:"Text",props:{title:null,modelValue:null,textArea:{type:Boolean},placeholder:null,maxHeight:null,submitOnBlur:{type:Boolean}},emits:["update:modelValue","submit","cancel"],setup(e,{emit:t}){const a=e,n=pt(Fe(a,"title"),"span"),i=ye(null);Mt(()=>{var g;(g=i.value)==null||g.focus()});const s=x({get(){var g;return(g=u(a.modelValue))!=null?g:""},set(g){t("update:modelValue",g)}});function r(){t("submit")}function l(){a.submitOnBlur!==!1?t("submit"):t("cancel")}return(g,f)=>(h(),B("form",{onSubmit:at(r,["prevent"])},[c("div",is,[u(n)?(h(),B("span",ss,[(h(),U(ce(u(n))))])):M("",!0),e.textArea?(h(),U(u(Fa),{key:1,modelValue:u(s),"onUpdate:modelValue":f[0]||(f[0]=y=>Ce(s)?s.value=y:null),placeholder:e.placeholder,maxHeight:e.maxHeight,onBlur:l,ref_key:"field",ref:i},null,8,["modelValue","placeholder","maxHeight"])):kt((h(),B("input",{key:2,type:"text","onUpdate:modelValue":f[1]||(f[1]=y=>Ce(s)?s.value=y:null),placeholder:e.placeholder,class:ae({fullWidth:!e.title}),onBlur:l,ref_key:"field",ref:i},null,42,rs)),[[ka,u(s)]])])],40,ns))}});var Ft=K(os,[["__scopeId","data-v-90bd4994"]]);const ls={key:0},As=["onClick","disabled"],us={key:0},cs=["onClick"],ds=O({__name:"DangerButton",props:{disabled:{type:Boolean},skipConfirm:{type:Boolean}},emits:["click","confirmingChanged"],setup(e,{emit:t}){const n=be(e),i=w(!1);he(i,l=>{t("confirmingChanged",l)});function s(){if(u(n.skipConfirm)){t("click");return}i.value&&t("click"),i.value=!i.value}function r(){i.value=!1}return(l,g)=>(h(),B("span",{class:ae(["container",{confirming:i.value}])},[i.value?(h(),B("span",ls,"Are you sure?")):M("",!0),c("button",{onClick:at(s,["stop"]),class:"button danger",disabled:e.disabled},[i.value?(h(),B("span",us,"Yes")):_e(l.$slots,"default",{key:1},void 0,!0)],8,As),i.value?(h(),B("button",{key:1,class:"button",onClick:at(r,["stop"])},"No",8,cs)):M("",!0)],2))}});var gs=K(ds,[["__scopeId","data-v-2f8ef34c"]]);const ms=["onClick"],fs=O({__name:"FeedbackButton",props:{left:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const a=w(!1),n=w(null);function i(){t("click"),n.value&&clearTimeout(n.value),a.value=!1,qe(()=>{a.value=!0,n.value=setTimeout(()=>a.value=!1,500)})}return(s,r)=>(h(),B("button",{onClick:at(i,["stop"]),class:ae(["feedback",{activated:a.value,left:e.left}])},[_e(s.$slots,"default",{},void 0,!0)],10,ms))}});var hs=K(fs,[["__scopeId","data-v-01a1b95c"]]);const Be=e=>(Qe("data-v-c3447434"),e=e(),Se(),e),vs=Be(()=>c("div",{class:"handle material-icons"},"drag_handle",-1)),ps={key:0,class:"actions"},ys=Be(()=>c("span",{class:"material-icons"},"content_paste",-1)),bs=Be(()=>c("span",{class:"material-icons"},"content_copy",-1)),Cs=Be(()=>c("span",{class:"material-icons"},"edit",-1)),Ns=Be(()=>c("span",{class:"material-icons",style:{margin:"-2px"}},"delete",-1)),Bs={key:1,class:"actions"},Es=Be(()=>c("span",{class:"material-icons"},"check",-1)),ws=Be(()=>c("span",{class:"material-icons"},"close",-1)),Is={key:2,class:"details"},_s={class:"save-version"},Qs=Be(()=>c("br",null,null,-1)),Ss={key:0},Ms={key:3,class:"details"},ks={key:4,class:"details error"},Ts=Be(()=>c("br",null,null,-1)),Ds=O({__name:"Save",props:{save:null},emits:["export","open","duplicate","delete","editName"],setup(e,{emit:t}){const a=e,{save:n}=be(a),i=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),s=w(!1),r=w(!1),l=w("");he(s,()=>{var p;return l.value=(p=n.value.name)!=null?p:""});const g=x(()=>n.value!=null&&n.value.id===V.id),f=x(()=>{var p;return g.value?V.time:(p=n.value!=null&&n.value.time)!=null?p:0});function y(){t("editName",l.value),s.value=!1}return(p,C)=>(h(),B("div",{class:ae(["save",{active:u(g)}])},[vs,s.value?(h(),B("div",Bs,[c("button",{onClick:y,class:"button"},[o(j,{display:"Save",direction:u(Y).Left,class:"info"},{default:R(()=>[Es]),_:1},8,["direction"])]),c("button",{onClick:C[5]||(C[5]=N=>s.value=!s.value),class:"button"},[o(j,{display:"Cancel",direction:u(Y).Left,class:"info"},{default:R(()=>[ws]),_:1},8,["direction"])])])):(h(),B("div",ps,[u(n).error==null&&!r.value?(h(),U(hs,{key:0,onClick:C[0]||(C[0]=N=>t("export")),class:"button",left:""},{default:R(()=>[o(j,{display:"Export",direction:u(Y).Left,class:"info"},{default:R(()=>[ys]),_:1},8,["direction"])]),_:1})):M("",!0),u(n).error==null&&!r.value?(h(),B("button",{key:1,onClick:C[1]||(C[1]=N=>t("duplicate")),class:"button"},[o(j,{display:"Duplicate",direction:u(Y).Left,class:"info"},{default:R(()=>[bs]),_:1},8,["direction"])])):M("",!0),u(n).error==null&&!r.value?(h(),B("button",{key:2,onClick:C[2]||(C[2]=N=>s.value=!s.value),class:"button"},[o(j,{display:"Edit Name",direction:u(Y).Left,class:"info"},{default:R(()=>[Cs]),_:1},8,["direction"])])):M("",!0),o(gs,{disabled:u(g),onClick:C[3]||(C[3]=N=>t("delete")),onConfirmingChanged:C[4]||(C[4]=N=>r.value=N)},{default:R(()=>[o(j,{display:"Delete",direction:u(Y).Left,class:"info"},{default:R(()=>[Ns]),_:1},8,["direction"])]),_:1},8,["disabled"])])),u(n).error==null&&!s.value?(h(),B("div",Is,[c("button",{class:"button open",onClick:C[6]||(C[6]=N=>t("open"))},[c("h3",null,F(u(n).name),1)]),c("span",_s,"v"+F(u(n).modVersion),1),Qs,u(f)?(h(),B("div",Ss,"Last played "+F(u(i).format(u(f))),1)):M("",!0)])):u(n).error==null&&s.value?(h(),B("div",Ms,[o(Ft,{modelValue:l.value,"onUpdate:modelValue":C[7]||(C[7]=N=>l.value=N),class:"editname",onSubmit:y},null,8,["modelValue"])])):(h(),B("div",ks,[v(" Error: Failed to load save with id "+F(u(n).id),1),Ts,v(F(u(n).error),1)]))],2))}});var Rs=K(Ds,[["__scopeId","data-v-c3447434"]]);const Gt=e=>(Qe("data-v-5b5b1604"),e=e(),Se(),e),Vs=Gt(()=>c("h2",null,"Saves Manager",-1)),Ps={class:"modal-footer"},xs={class:"field"},qs=Gt(()=>c("span",{class:"field-title"},"Create Save",-1)),zs={class:"field-buttons"},Fs={class:"footer"},Gs=Gt(()=>c("div",{style:{"flex-grow":"1"}},null,-1)),Os=O({__name:"SavesManager",setup(e,{expose:t}){const a=w(!1),n=w(null);t({open(){a.value=!0}});const i=w(!1),s=w(""),r=w(null);he(s,b=>{b?qe(()=>{try{if(b[0]!=="{")if(b[0]==="e")b=decodeURIComponent(escape(atob(b)));else if(b[0]==="\u1BE1")b=Ie.decompressFromUTF16(b);else{console.warn("Unable to determine preset encoding",b),i.value=!0;return}const I=JSON.parse(b);if(typeof I!="object"){i.value=!0;return}const P=ct();I.id=P,re(I),s.value="",i.value=!1,z.saves.push(P)}catch{i.value=!0}}):i.value=!1});let l={},g=w(Object.keys(l).reduce((b,I)=>(b.push({label:I.split("/").slice(-1)[0].slice(0,-4),value:l[I]}),b),[]));const f=Tt({});function y(b){if(f[b]==null){let I=localStorage.getItem(b);if(I==null)f[b]={error:"Save doesn't exist in localStorage",id:b};else if(I==="dW5kZWZpbmVk")f[b]={error:"Save is undefined",id:b};else try{if(I[0]!=="{")if(I[0]==="e")I=decodeURIComponent(escape(atob(I)));else if(I[0]==="\u1BE1")I=Ie.decompressFromUTF16(I);else return console.warn("Unable to determine preset encoding",I),i.value=!0,f[b]={error:"Unable to determine preset encoding",id:b},f[b];f[b]={...JSON.parse(I),id:b}}catch(P){f[b]={error:P,id:b},console.warn(`SavesManager: Failed to load info about save with id ${b}: ${P} -${I}`)}}return f[b]}he(a,b=>{b&&Object.keys(f).forEach(I=>delete f[I])});const p=x(()=>z.saves.reduce((b,I)=>(b[I]=y(I),b),{}));function C(b){let I;switch(V.id===b?I=ga(V):I=JSON.stringify(p.value[b]),G.exportEncoding){default:console.warn(`Unknown save encoding: ${G.exportEncoding}. Defaulting to lz`);case"lz":I=Ie.compressToUTF16(I);break;case"base64":I=btoa(unescape(encodeURIComponent(I)));break;case"plain":break}const P=document.createElement("textarea");P.value=I,document.body.appendChild(P),P.select(),P.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(P)}function N(b){V.id===b&&re();const I={...p.value[b],id:ct()};re(I),z.saves.push(I.id)}function _(b){z.saves=z.saves.filter(I=>I!==b),localStorage.removeItem(b),f[b]=void 0}function Q(b){p.value[V.id].time=V.time,re(),f[V.id]=void 0,Ve(p.value[b]),f[b]=void 0}function S(b){if(r.value=b,qe(()=>{r.value=null}),b[0]!=="{")if(b[0]==="e")b=decodeURIComponent(escape(atob(b)));else if(b[0]==="\u1BE1")b=Ie.decompressFromUTF16(b);else{console.warn("Unable to determine preset encoding",b);return}const I=JSON.parse(b);I.id=ct(),re(I),z.saves.push(I.id),Q(I.id)}function H(b,I){const P=p.value[b];P!=null&&(P.name=I,V.id===b?(V.name=I,re()):(re(P),f[b]=void 0))}return(b,I)=>(h(),U(Ge,{modelValue:a.value,"onUpdate:modelValue":I[4]||(I[4]=P=>a.value=P),ref_key:"modal",ref:n},{header:R(()=>[Vs]),body:R(({shown:P})=>[P?(h(),U(u(qa),{key:0,list:u(z).saves,handle:".handle",itemKey:te=>te},{item:R(({element:te})=>[o(Rs,{save:u(p)[te],onOpen:ge=>Q(te),onExport:ge=>C(te),onEditName:ge=>H(te,ge),onDuplicate:ge=>N(te),onDelete:ge=>_(te)},null,8,["save","onOpen","onExport","onEditName","onDuplicate","onDelete"])]),_:1},8,["list","itemKey"])):M("",!0)]),footer:R(()=>[c("div",Ps,[o(Ft,{modelValue:s.value,"onUpdate:modelValue":I[0]||(I[0]=P=>s.value=P),title:"Import Save",placeholder:"Paste your save here!",class:ae({importingFailed:i.value})},null,8,["modelValue","class"]),c("div",xs,[qs,c("div",zs,[c("button",{class:"button",onClick:I[1]||(I[1]=P=>Q(u(Je)().id))},"New Game"),Object.keys(u(g)).length>0?(h(),U(as,{key:0,options:u(g),modelValue:r.value,"onUpdate:modelValue":I[2]||(I[2]=P=>S(P)),closeOnSelect:"",placeholder:"Select preset",class:"presets"},null,8,["options","modelValue"])):M("",!0)])]),c("div",Fs,[Gs,c("button",{class:"button modal-default-button",onClick:I[3]||(I[3]=P=>a.value=!1)}," Close ")])])]),_:1},8,["modelValue"]))}});var Ea=K(Os,[["__scopeId","data-v-5b5b1604"]]);const de=e=>(Qe("data-v-269f7a94"),e=e(),Se(),e),Us=["src","alt"],Ls={key:1,class:"title"},Js=de(()=>c("div",{style:{"flex-grow":"1",cursor:"unset"}},null,-1)),Ys={class:"discord"},Ws={class:"discord-links"},Xs={key:0},Ks=["href"],js=de(()=>c("li",null,[c("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),Hs=de(()=>c("li",null,[c("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),Zs={href:"https://forums.moddingtree.com/",target:"_blank"},$s=de(()=>c("span",{class:"material-icons"},"forum",-1)),er=de(()=>c("span",{class:"material-icons"},"info",-1)),tr=de(()=>c("span",{class:"material-icons"},"settings",-1)),ar=de(()=>c("span",{class:"material-icons"},"settings",-1)),nr=de(()=>c("span",{class:"material-icons"},"info",-1)),ir={href:"https://forums.moddingtree.com/",target:"_blank"},sr=de(()=>c("span",{class:"material-icons"},"forum",-1)),rr={class:"discord"},or={class:"discord-links"},lr={key:0},Ar=["href"],ur=de(()=>c("li",null,[c("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),cr=de(()=>c("li",null,[c("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),dr=O({__name:"Nav",setup(e){const t=w(null),a=w(null),n=w(null),i=w(null),{useHeader:s,banner:r,title:l,discordName:g,discordLink:f,versionNumber:y}=G;function p(){window.open(f,"mywindow")}return(C,N)=>(h(),B(X,null,[u(s)?(h(),B("div",tt({key:0,class:"nav"},C.$attrs),[u(r)?(h(),B("img",{key:0,src:u(r),class:"banner",alt:u(l)},null,8,Us)):(h(),B("div",Ls,F(u(l)),1)),c("div",{onClick:N[0]||(N[0]=_=>{var Q;return(Q=i.value)==null?void 0:Q.open()}),class:"version-container"},[o(j,{display:"Changelog",direction:u(Y).Down,class:"version"},{default:R(()=>[c("span",null,"v"+F(u(y)),1)]),_:1},8,["direction"])]),Js,c("div",Ys,[c("span",{onClick:p,class:"material-icons"},"discord"),c("ul",Ws,[u(f)?(h(),B("li",Xs,[c("a",{href:u(f),target:"_blank"},F(u(g)),9,Ks)])):M("",!0),js,Hs])]),c("div",null,[c("a",Zs,[o(j,{display:"Forums",direction:u(Y).Down,yoffset:"5px"},{default:R(()=>[$s]),_:1},8,["direction"])])]),c("div",{onClick:N[1]||(N[1]=_=>{var Q;return(Q=t.value)==null?void 0:Q.open()})},[o(j,{display:"Info",direction:u(Y).Down,class:"info"},{default:R(()=>[er]),_:1},8,["direction"])]),c("div",{onClick:N[2]||(N[2]=_=>{var Q;return(Q=n.value)==null?void 0:Q.open()})},[o(j,{display:"Settings",direction:u(Y).Down,xoffset:"-66px"},{default:R(()=>[tr]),_:1},8,["direction"])])],16)):(h(),B("div",tt({key:1,class:"overlay-nav"},C.$attrs),[c("div",{onClick:N[3]||(N[3]=_=>{var Q;return(Q=i.value)==null?void 0:Q.open()}),class:"version-container"},[o(j,{display:"Changelog",direction:u(Y).Right,xoffset:"25%",class:"version"},{default:R(()=>[c("span",null,"v"+F(u(y)),1)]),_:1},8,["direction"])]),c("div",{onClick:N[4]||(N[4]=_=>{var Q;return(Q=n.value)==null?void 0:Q.open()})},[o(j,{display:"Settings",direction:u(Y).Right},{default:R(()=>[ar]),_:1},8,["direction"])]),c("div",{onClick:N[5]||(N[5]=_=>{var Q;return(Q=t.value)==null?void 0:Q.open()})},[o(j,{display:"Info",direction:u(Y).Right},{default:R(()=>[nr]),_:1},8,["direction"])]),c("div",null,[c("a",ir,[o(j,{display:"Forums",direction:u(Y).Right,xoffset:"7px"},{default:R(()=>[sr]),_:1},8,["direction"])])]),c("div",rr,[c("span",{onClick:p,class:"material-icons"},"discord"),c("ul",or,[u(f)?(h(),B("li",lr,[c("a",{href:u(f),target:"_blank"},F(u(g)),9,Ar)])):M("",!0),ur,cr])])],16)),o(Hi,{ref_key:"info",ref:t,changelog:i.value},null,8,["changelog"]),o(Ea,{ref_key:"savesManager",ref:a},null,512),o($i,{ref_key:"options",ref:n},null,512),o(Ti,{ref_key:"changelog",ref:i},null,512)],64))}});var wa=K(dr,[["__scopeId","data-v-269f7a94"]]);const gr={class:"inner-tab"},mr=O({__name:"Game",setup(e){const t=Fe(V,"tabs"),a=x(()=>Object.keys(ee)),n=G.useHeader;function i(s){const{display:r,minimized:l,name:g,color:f,minimizable:y,nodes:p,minimizedDisplay:C}=s;return{display:r,minimized:l,name:g,color:f,minimizable:y,nodes:p,minimizedDisplay:C}}return(s,r)=>(h(),B("div",{class:ae(["tabs-container",{useHeader:u(n)}])},[(h(!0),B(X,null,Ta(u(t),(l,g)=>{var f,y;return h(),B("div",{key:g,class:ae(["tab",u((f=u(ee)[l])==null?void 0:f.classes)]),style:ze(u((y=u(ee)[l])==null?void 0:y.style))},[g===0&&!u(n)?(h(),U(wa,{key:0})):M("",!0),c("div",gr,[u(a).includes(l)?(h(),U(Qi,tt({key:0},i(u(ee)[l]),{index:g,onSetMinimized:p=>u(ee)[l].minimized.value=p}),null,16,["index","onSetMinimized"])):(h(),U(ce(l),{key:1,index:g},null,8,["index"]))])],6)}),128))],2))}});var fr=K(mr,[["__scopeId","data-v-3e0f1aab"]]);const hr=O({__name:"Spacer",props:{width:{default:"8px"},height:{default:"17px"}},setup(e){return(t,a)=>(h(),B("div",{style:ze({width:e.width,height:e.height})},null,4))}});const vr=O({__name:"Node",props:{id:null},setup(e){const a=be(e),n=Ut(qt,()=>{}),i=Ut(zt,()=>{}),s=ye(null),r=x(()=>s.value&&s.value.parentElement);return he([r,a.id],([l,g],[f,y])=>{f&&i(u(y)),l&&n(g,l)}),Da(()=>i(u(a.id))),(l,g)=>(h(),B("div",{class:"node",ref_key:"node",ref:s},null,512))}});var pr=K(vr,[["__scopeId","data-v-a48cb382"]]),dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAqhJREFUeJzt3LFqFFEYBeBdERGJCaKgESUWCsZCTG0dbSyCZTp9B0ufxMJu38EHsA5YCDaiKGihiCxYuhZp7x254e6O6/m+8me4M1k4/HCYzGQCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkGg69gOs2mLxbbHM86fTS8XfdKz7MuzU2A8AYxIAogkA0QSAaAJAtNNjP8Cy1FqX+zceRt1XOzTMBi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ZGpmNgYNKl/lC1XTPv+8Ji6C4GHsU8/u7ZbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4Dht197A7Pb7y32P62y3J77rCV1bewOwJgEgmgAQTQCIJgBEu772BmZRbXse3no69Ppao6vhBCCaABBNAIgmAEQTAKJpgf6h1fb8fPa8y3U+fX+3uN5rBqlFy/SbE4BoAkA0ASCaABBNAIg2XROw1hNYvWaBWu3Qjxv3Ftdvvn5ZuW1Zq2Xq5dDbJCcA0QSAaAJANAEgmgAQbbVZoF6tS3WWptVatNZ7tVLVtuf84n6P25afXGvp9T3PxglANAEgmgAQTQCIJgBEW+2Xeqs9aLUWrVbkyaPPi+ujZ2Cq7Up1/7vTy/KeRjp7f7K4Xv2eZ2uHnABEEwCiCQDRBIBoAkC0g3kv0JdXHxfXzy8eL65XW5pWm1FtpVpa+99sltuV0e6++bC4/uDF8pNrb0+Xr1Od0ZqNE4BoAkA0ASCaABBNAIg2XQtUbWN2m1o71FJte9qtDofECUA0ASCaABBNAIgmAEQ7mCfCzu58G7qf3dfbUfftpbX/VpvniTCYiAAQTQCIJgBEEwCiDf9FXm171lKdQTr0+/bivUBwwASAaAJANAEgmgAQbbpZIPgfvdokJwDRBIBoAkA0ASCaABBtqrkM/qjOUM32NubR/1DfUm2HnABEEwCiCQDRBIBoAkC06d4OzXHo1UqNbr2cAEQTAKIJANEEgGgCQDQt0JGrtiijW5fqjNDoGScnANEEgGgCQDQBIJoAEE0LxJWqtjpmgWAgASCaABBNAIgmAETTAh2J0TM/vT5fZRYIBhIAogkA0QSAaAJANG+HnpT/UPs7/xEGHQgA0QSAaAJANAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK7ILzj6vECOPLAcAAAAAElFTkSuQmCC";const Ot=e=>(Qe("data-v-5535bfbc"),e=e(),Se(),e),wr=["ondragstart","ondragend","ondragenter","ondragleave","ondragover","ondrop"],Ir={key:0,class:"move-indicator"},_r=Ot(()=>c("span",{class:"material-icons"},"straight",-1)),Qr=[_r],Sr={key:1,class:"move-indicator"},Mr=Ot(()=>c("span",{class:"material-icons"},"merge",-1)),kr=[Mr],Tr={key:2,class:"character-display"},Dr=["src"],Rr={key:3,class:"relevancy-display"},Vr=["src"],Pr={key:4,class:"presence-display"},xr=Ot(()=>c("span",{class:"material-icons"}," extension ",-1)),qr={key:5,class:"level-display"},zr=["src"],Fr=["src"],Gr=["src"],Or=["src"],Ur=["src"],Lr=["src"],Jr={key:6,class:"frozen"};var Yr=O({__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=w(!1),i=w(!1);he(n,r=>{t(r?"dragstart":"dragend")});const s=ye("");return St(()=>{if(a.character==null||a.selected!=null||n.value){s.value="";return}const r=Ne(W[a.character.type].abilityDescription(a.character));s.value=J(()=>o(X,null,[o("b",null,[W[a.character.type].nickname]),o("br",null,null),o(r,null,null)]))}),(r,l)=>(h(),U(j,{display:u(s),direction:u(Y).Up},{default:R(()=>{var g,f,y;return[c("div",{class:ae(["character",{selected:e.isSelected,empty:e.character==null&&e.selected==null,dragging:n.value,isDragging:e.isDragging,draggingOver:i.value,shake:e.shake}]),draggable:"true",ondragstart:()=>n.value=!0,ondragend:()=>n.value=!1,ondragenter:()=>i.value=!0,ondragleave:()=>i.value=!1,ondragover:p=>{var C;e.selected!=null&&!e.isShop&&(((C=e.character)==null?void 0:C.type)!==e.selected.type||e.isSelected)&&p.preventDefault(),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6&&p.preventDefault()},ondrop:()=>{i.value=!1,t("drop")}},[e.selected!=null&&!e.isShop&&(((g=e.character)==null?void 0:g.type)!==e.selected.type||e.isSelected)&&n.value===!1?(h(),B("span",Ir,Qr)):M("",!0),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6?(h(),B("span",Sr,kr)):M("",!0),e.character!=null?(h(),B("span",Tr,[c("img",{src:u(W)[e.character.type].display},null,8,Dr)])):M("",!0),e.character!=null?(h(),B("span",Rr,[c("img",{src:u(dt)},null,8,Vr),c("span",null,F((f=e.character)==null?void 0:f.relevancy),1)])):M("",!0),e.character!=null?(h(),B("span",Pr,[xr,c("span",null,F((y=e.character)==null?void 0:y.presence),1)])):M("",!0),e.character!=null?(h(),B("span",qr,[e.character.exp===1?(h(),B("img",{key:0,src:u(yr)},null,8,zr)):M("",!0),e.character.exp===2?(h(),B("img",{key:1,src:u(br)},null,8,Fr)):M("",!0),e.character.exp===3?(h(),B("img",{key:2,src:u(Cr)},null,8,Gr)):M("",!0),e.character.exp===4?(h(),B("img",{key:3,src:u(Nr)},null,8,Or)):M("",!0),e.character.exp===5?(h(),B("img",{key:4,src:u(Br)},null,8,Ur)):M("",!0),e.character.exp===6?(h(),B("img",{key:5,src:u(Er)},null,8,Lr)):M("",!0)])):M("",!0),e.frozen?(h(),B("div",Jr)):M("",!0),e.id?(h(),U(pr,{key:7,id:e.id},null,8,["id"])):M("",!0)],10,wr)]}),_:1},8,["display","direction"]))}});var we=K(Yr,[["__scopeId","data-v-5535bfbc"]]);const Wr={min:.25,max:.5},Xr=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],Kr=.01,jr=.1,Hr=100,Zr=!0,$r={x:0,y:0},eo=!1,to=[{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 ao={lifetime:Wr,ease:Xr,frequency:Kr,emitterLifetime:jr,maxParticles:Hr,addAtBack:Zr,pos:$r,emit:eo,behaviors:to};const it=w(!1),_t=w(""),Zt=na(),Le=w(),Xe=w("");function fe(e,...t){var a;!it.value||(a=Le.value)==null||a.emit(e,...t)}$.on("loadSettings",e=>{et(e,"server","https://Super-Auto-Coots.thepaperpilot.repl.co"),he(()=>e.server,t=>{Le.value&&Le.value.close(),Le.value=Oa(t),no(Le.value),it.value=!1,Xe.value="",Le.value.connect()},{immediate:!0}),ai(J(()=>o(X,null,[o(Ft,{title:"Server URL","onUpdate:modelValue":t=>e.server=t,modelValue:e.server},null),o("div",{style:"font-style: italic; font-size: small; margin-top: -10px;"},[it.value?o("span",null,[v("Connected!")]):Xe.value?o("span",{style:"color: red"},[Xe.value]):o("span",null,[v("Connecting...")])])])))});function ve(e){var n;const t=m.particles.boundingRect.value;if(!t)return;const a=(n=m.nodes.value[e])==null?void 0:n.rect;a&&m.particles.addEmitter(ao).then(i=>{i.updateOwnerPos(a.x+a.width/2-t.x,a.y+a.height/2-t.y),i.playOnceAndDestroy()})}function no(e){e.on("connect",()=>{Xe.value="",it.value=!0,m.reset.reset()}),e.on("connect_error",t=>{Xe.value=`${t.name}: ${t.message}`}),e.on("disconnect",(t,a)=>{var n;Xe.value=a instanceof Error?`${a.name}: ${a.message}`:(n=a==null?void 0:a.description)!=null?n:t,it.value=!1}),e.on("server version",t=>{Ga(G.versionNumber,t)||(Zt.info("Server only accepts game versions in range: "+t),e.disconnect())}),e.on("info",t=>{Zt.info(t),t==="Failed to start streaming"&&(m.findingMatch.value=!1)}),e.on("nickname",t=>{_t.value=t}),e.on("newTurn",t=>{m.gold.value=10,m.turn.value++,m.battle.value=null,m.shop.value=t.map(a=>({type:a,relevancy:W[a].initialRelevancy,presence:W[a].initialPresence,exp:1})),m.frozen.value=m.frozen.value.map((a,n)=>n),setTimeout(()=>{t.forEach((a,n)=>ve(`shop-char-${n}`))},0),m.showRefreshAnim.value=!0,setTimeout(()=>m.showRefreshAnim.value=!1,500)}),e.on("reroll",t=>{m.gold.value--,m.shop.value=t.map(a=>({type:a,relevancy:W[a].initialRelevancy,presence:W[a].initialPresence,exp:1})),m.frozen.value=m.frozen.value.map((a,n)=>n),setTimeout(()=>{t.forEach((a,n)=>ve(`shop-char-${n}`))},0),m.showRefreshAnim.value=!0,setTimeout(()=>m.showRefreshAnim.value=!1,500)}),e.on("buy",(t,a,n)=>{m.team.value[a]=n,m.shop.value[t]=null,m.gold.value-=3,ve(`shop-char-${t}`),ve(`team-char-${a}`),m.frozen.value.includes(t)&&(m.frozen.value=m.frozen.value.filter(i=>i!==t))}),e.on("move",(t,a)=>{const n=m.team.value[t];m.team.value[t]=m.team.value[a],m.team.value[a]=n,ve(`team-char-${t}`),ve(`team-char-${a}`)}),e.on("merge",(t,a,n)=>{var l,g;const i=(g=(l=m.team.value[a])==null?void 0:l.exp)!=null?g:0,s=i>=6?3:i>=3?2:1,r=n.exp>=6?3:n.exp>=3?2:1;m.team.value[t]=null,m.team.value[a]=n,ve(`team-char-${t}`),ve(`team-char-${a}`),W[n.type].abilityType==="LevelUp"&&s!==r&&setTimeout(()=>W[n.type].performAbility(n),1250)}),e.on("stream",(t,a)=>{let n=!1;m.team.value.forEach(i=>{i!=null&&W[i.type].abilityType==="StreamStarted"&&(n=!0,W[i.type].performAbility(i))}),n?setTimeout(()=>$t(t,a)):$t(t,a)}),e.on("sell",t=>{const a=m.team.value[t];let n;a.exp>=6?n=3:a.exp>=3?n=2:n=1,m.gold.value+=n,m.team.value[t]=null,ve(`team-char-${t}`),W[a.type].abilityType==="Sold"&&setTimeout(()=>W[a.type].performAbility(a),500)}),e.on("freeze",t=>{m.frozen.value.includes(t)?m.frozen.value=m.frozen.value.filter(a=>a!==t):m.frozen.value.push(t)})}function $t(e,t){m.findingMatch.value=!1,m.battle.value={team:JSON.parse(JSON.stringify(m.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},m.outcome.value=t,m.showingOutcome.value=!1,m.playClicked.value=!1,setTimeout(m.prepareMove,1e3)}var io="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABT5JREFUeJzt3UGrVVUYBuBj2ERSikSKRmXixDBoEl6kBpVSEBUGgRbUyF9QTYQLd6KDaBoNykqhSKpJoBBBmNakgeRErGahiUGkOAps4nB9t1btc8/Z532e4Xf3XXt55WWxP9ZeezIBAAAAAAAAAAAAAAAAYBzWzXoC8+7mzas3Zz2H/2Pdus3+j1dx26wnALMkAEQTAKIJANEEgGjrZz2Btdbb1Vna9Mq0prImev+9aV0jKwDRBIBoAkA0ASCaABBtYbtAVfejt6tz5sqJQeYzK0ub9nVdX/3dFrU7ZAUgmgAQTQCIJgBEEwCijebJfqg9PGPv6kzb0pZ21+jMnx8262PvDlkBiCYARBMAogkA0QSAaHO3F2ioPTxDuX7hXLN+x/adazyT1Y1lnvPGCkA0ASCaABBNAIgmAESb2T6O3m7PqdOHmvWqy1Htaan0jj8WVXdoz+6VZn1R9/xUrABEEwCiCQDRBIBoAkC0udsLVOntxlRvflXdod7xv3nq8Wb9pR/ON+uXfr/aNX6ve+/e3Kx//MiO4jfa16exAhBNAIgmAEQTAKIJANFG0wXqVXV7jr79dLN+8fh7zfq2/a816499/W2zvrL1/n8xu+GtbL6rWa/mefSDd5v1ai/Wop4abQUgmgAQTQCIJgBEEwCiLewbYZXy9OPOU6NvfPZps77hhRe7xqn89f3ZZn39o7u6xqnm+eTBT5p1b4RBEAEgmgAQTQCIJgBEm7sn+3k7L2js3xRL++ZXLysA0QSAaAJANAEgmgAQbWHfCKtORa5cPvJ8s151Ub784mDX+HfueqLr+sofZ79q1p957p1mXbdndVYAogkA0QS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QmCC",go="./assets/start stream.dd66a6ec.png";const mo=Symbol("Reset");function fo(e){return xt(()=>{const t=e();return t.id=da("reset-"),t.type=mo,t.reset=function(){var i;const a=s=>{if(s!=null&&typeof s=="object")if(Ke in s){const r=s;r.value=r[Ke]}else!(s instanceof E)&&!Ce(s)&&Object.values(s).forEach(r=>a(r))},n=u(t.thingsToReset);Bt(n)?n.forEach(a):a(n),$.emit("reset",t),(i=t.onReset)==null||i.call(t)},pe(t,"thingsToReset"),t})}const At={};$.on("removeLayer",e=>{var t;(t=At[e.id])==null||t.call(At),At[e.id]=void 0});ia.registerPlugin(La);Ja.registerPlugin("batch",Ya);var ho=O({props:{style:ne(String,Object,Array),classes:ne(Object),onInit:{type:Function,required:!0},id:{type:String,required:!0},onContainerResized:Function,onHotReload:Function},setup(e){const t=ye(null),a=new ResizeObserver(s),n=ye(null);Mt(()=>{var l,g;const r=n.value;r!=null&&(a.observe(r),t.value=new ia({resizeTo:r,backgroundAlpha:0}),(l=n.value)==null||l.appendChild(t.value.view),(g=e.onInit)==null||g.call(e,t.value)),s(),e.onHotReload&&qe(e.onHotReload)}),Ra(()=>{var r;(r=t.value)==null||r.destroy()});let i=!0;function s(){i&&(i=!1,qe(()=>{var r;n.value!=null&&((r=e.onContainerResized)==null||r.call(e,n.value.getBoundingClientRect())),i=!0}))}return $.on("fontsLoaded",s),{unref:u,resizeListener:n}}});function vo(e,t,a,n,i,s){return h(),B("div",{ref:"resizeListener",class:ae(["resize-listener",e.unref(e.classes)]),style:ze(e.unref(e.style))},null,6)}var po=K(ho,[["render",vo],["__scopeId","data-v-0b99a6fc"]]);const yo=Symbol("Particles");function bo(e){return xt(()=>{var i,s;const t=(i=e==null?void 0:e())!=null?i:{};t.id=da("particles-"),t.type=yo,t[Rt]=po,t.app=ye(null),t.addEmitter=r=>{const l=t;return l.app.value?Promise.resolve(new Lt(l.app.value.stage,r)):new Promise(g=>{a.push({resolve:g,config:r})})};let a=[];function n(r){const l=t;l.app.value=r,a.forEach(({resolve:g,config:f})=>g(new Lt(r.stage,f))),a=[]}return t.onContainerResized=(s=t.onContainerResized)==null?void 0:s.bind(t),t[Vt]=function(){const{id:r,style:l,classes:g,onContainerResized:f,onHotReload:y}=this;return{id:r,style:u(l),classes:g,onContainerResized:f,onHotReload:y,onInit:n}},t})}window.upgradeConfig=Wa;const Co={min:1.5,max:2.5},No=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],Bo=.001,Eo=.1,wo=100,Io=!0,_o={x:0,y:0},Qo=!1,So=[{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 Mo={lifetime:Co,ease:No,frequency:Bo,emitterLifetime:Eo,maxParticles:wo,addAtBack:Io,pos:_o,emit:Qo,behaviors:So},ko="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYAAAAGACAYAAACkx7W/AAAAAXNSR0IArs4c6QAACg5JREFUeJzt3U+IXVcdB/D3mjSOIcbRjrHVldZ2iAilNmRkxhIQizXFFCSCQUiLBOlGg1B0JTVkJwWpaxENSFSykEhatFCVNqkRqwSsENp0m5qO0JZQh3TG50KEZHLOzDvz7p375/f5LH+5c+5J8rjf93v3N/cNBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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bRceXrj83/XDR8VSr9P8rp6rXSe51OxzODMt3Rd10AABBCQCAoAQAQFACACAoAQAQlDvzDSud9nnmR5dq3Q9M4ovfSj/j6PzSyWTddFCzdAAAQQkAgKAEAEBQAgAgKAEAEJRnAXVMbsoCoJQOACAoAQAQlAAACEoAAAQlAACC8hyOlip9RtDh7X+rdT9wvRPv3Juse+ZPt+gAAIISAABBCQCAoAQAQFACACAozwLqiY/fs6WR8752YSVZr3s/zrs55816sZnTUi0dAEBQAgAgKAEAEJQAAAhKAAAEZQqoJ7ZN7UjWry1dreT4qlS1z8HgrU6ft1zZeXOq+3egD3QAAEEJAICgBABAUAIAICgBABCUKaCeu+/u25L1W6Zvr2T9HZdeTdZn705Pj+TO+583Xy86ftvL6fPu3vuJZD2nqvOW/n1L97Pt5e21nrfY7+tdns2hAwAISgAABCUAAIISAABBCQCAoEwB0Qq1T63UrOv7JyYdAEBQAgAgKAEAEJQAAAhKAAAEZQqo56JNp5Q+26dubdtPTlf2SbV0AABBCQCAoAQAQFACACAoAQAQlCkgalHVN2GZQoH66AAAghIAAEEJAICgBABAUAIAIChTQD1xbelq01voJFNGRKYDAAhKAAAEJQAAghIAAEEJAICgTAEFVfezd9r2bJ+m/r7QZjoAgKAEAEBQAgAgKAEAEJQAAAjKFFDPVTWd0tQ6dU/XNDW905W/V36dj1ayPs3SAQAEJQAAghIAAEEJAICgBABAUKaAeuK1CyvJ+o5Lpd8U9urkmxkMBhefaeYbypwXxqcDAAhKAAAEJQAAghIAAEEJAICghk1vgDKj0eIoVZ+bOrTZWyGw80snk/XhcMY1pUN0AABBCQCAoAQAQFACACAoAQAQlDv2PZGbDoI6mPbpBx0AQFACACAoAQAQlAAACEoAAAAAAAAAAAAAAHTSfwF85RziHHwuDAAAAABJRU5ErkJggg==",To="./assets/shop.3860773a.gif";function De(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Va(e)}const W={coots:{nickname:"Coots",initialRelevancy:3,initialPresence:1,display:lo,abilityType:"LivestreamJoined",abilityDescription:e=>J(()=>o(X,null,[o("i",null,[v("Livestream joined")]),v(": Deal "),e.exp>=6?6:e.exp>=3?4:2," ",v("relevancy damage to every character on a stream")])),performAbility(e){if(m.battle.value==null)return;const t=e.exp>=6?6:e.exp>=3?4:2;m.battle.value.streamers.forEach(a=>a.relevancy-=t),m.battle.value.enemyStreamers.forEach(a=>a.relevancy-=t)}},ludwig:{nickname:"Ludwig Coots",initialRelevancy:2,initialPresence:1,display:io,abilityType:"LivestreamJoined",abilityDescription:e=>J(()=>o(X,null,[o("i",null,[v("Livestream joined")]),v(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",v("presence for every character on a stream")])),performAbility(e){if(m.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;m.battle.value.streamers.includes(e)?e.presence+=t*m.battle.value.streamers.length:e.presence+=t*m.battle.value.enemyStreamers.length}},qt:{nickname:"Qt Coots",initialRelevancy:1,initialPresence:2,display:Ao,abilityType:"Sold",abilityDescription:e=>J(()=>o(X,null,[o("i",null,[v("Sold")]),v(": Gain "),e.exp>=6?3:e.exp>=3?2:1,v(" mogul"),e.exp>=3?"s":""])),performAbility(e){const t=e.exp>=6?3:e.exp>=3?2:1;m.gold.value+=t}},maid:{nickname:"Maid Coots",initialRelevancy:2,initialPresence:2,display:so,abilityType:"LevelUp",abilityDescription:e=>J(()=>o(X,null,[o("i",null,[v("Level up")]),v(": Every character gains "),e.exp>=3?2:1,v(" relevancy and presence")])),performAbility(e){const t=e.exp>=6?2:1;m.team.value.forEach(a=>{a&&(a.relevancy+=t,a.presence+=t)})}},mail:{nickname:"Mogul Mail Coots",initialRelevancy:1,initialPresence:1,display:ro,abilityType:"LivestreamJoined",abilityDescription:e=>J(()=>o(X,null,[o("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 stats.")])),performAbility(e){if(m.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};m.queue.value.push({action:"LivestreamJoined",target:a}),m.battle.value.streamers.includes(e)?m.battle.value.streamers.push(a):m.battle.value.enemyStreamers.push(a)}},stanz:{nickname:"Stanz Coots",initialRelevancy:1,initialPresence:1,display:uo,abilityType:"LivestreamEnded",abilityDescription:e=>J(()=>o(X,null,[o("i",null,[v("Livestream ended")]),v(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",v("relevancy for every character on either livestream with more relevancy.")])),performAbility(e){if(m.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;e.relevancy+=t*(m.battle.value.streamers.filter(a=>a.relevancya.relevancyJ(()=>o(X,null,[o("i",null,[v("Stream started")]),v(": Permanently gain")," ",e.exp>=6?3:e.exp>=3?2:1,v(" presence if you have 2 or more moguls.")])),performAbility(e){if(m.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:co,abilityType:"LivestreamJoined",abilityDescription:()=>J(()=>o(X,null,[o("i",null,[v("Livestream joined")]),v(": Set the character that most recently joined the enemy livestream's presence to 0. This effect does not improve on level up.")])),performAbility(e){m.battle.value!=null&&(m.battle.value.streamers.includes(e)?m.battle.value.enemyStreamers.length>0&&(m.battle.value.enemyStreamers[m.battle.value.enemyStreamers.length-1].presence=0):m.battle.value.streamers.length>0&&(m.battle.value.streamers[m.battle.value.streamers.length-1].presence=0))}}},m=ba("main",function(){const e=w(3),t=w(0),a=w(0),n=w(0),i=w([null,null,null]),s=w([]),r=w(null),l=w(null),g=w(!1),f=w(""),y=w(!1),p=w(!1),C=w(!1),N=w([]),_=w([]),Q=w(!1),S=w(null),H=x(()=>S.value==null?0:S.value.streamers.reduce((ie,q)=>ie+Math.max(0,q.presence)*Math.max(0,q.relevancy),0)*100),b=x(()=>S.value==null?0:S.value.enemyStreamers.reduce((ie,q)=>ie+Math.max(0,q.presence)*Math.max(0,q.relevancy),0)*100),I=fo(()=>({onReset(){e.value=3,t.value=0,a.value=0,n.value=0,i.value=[null,null,null],s.value=[],r.value=null,l.value=null,g.value=!1,S.value=null,f.value="",y.value=!1,C.value=!1,N.value=[],_.value=[]}})),P=w(!1);function te(){var ie,q;if(S.value==null)throw"Preparing move while not in battle";if(N.value.length===0&&S.value.team.length===0&&S.value.enemyTeam.length===0){if(S.value.ranLivestreamEnded===!1){S.value.streamers.forEach(T=>{W[T.type].abilityType==="LivestreamEnded"&&N.value.push({action:"LivestreamEnded",target:T})}),S.value.enemyStreamers.forEach(T=>{W[T.type].abilityType==="LivestreamEnded"&&N.value.push({action:"LivestreamEnded",target:T})}),S.value.ranLivestreamEnded=!0,te();return}f.value==="Victory"?t.value++:f.value==="Defeat"&&e.value--,y.value=!0;return}if(N.value.length===0?N.value.push({action:"join"}):N.value.length>1&&(N.value=N.value.sort((T,L)=>T.action!==L.action?1:T.target!=null&&L.target!=null?L.target.relevancy-T.target.relevancy:0)),z.autoplay===!1&&C.value===!1)p.value=!0;else{p.value=!1;const T=N.value.shift();switch(T.action){case"join":if(((ie=S.value.team.length)!=null?ie:0)>0){const L=S.value.team.pop();S.value.streamers.push(L),W[L.type].abilityType==="LivestreamJoined"&&N.value.unshift({action:"LivestreamJoined",target:L})}if(((q=S.value.enemyTeam.length)!=null?q:0)>0){const L=S.value.enemyTeam.pop();S.value.enemyStreamers.push(L),W[L.type].abilityType==="LivestreamJoined"&&N.value.unshift({action:"LivestreamJoined",target:L})}break;default:if(T.target==null){console.error("Invalid action",T);break}W[T.target.type].performAbility(T.target);break}C.value=!1,setTimeout(te,z.fast?750:1250)}}const ge=bo(()=>({fullscreen:!1,zIndex:10,boundingRect:w(null),onContainerResized(ie){this.boundingRect.value=ie}}));return{name:"Game",minimizable:!1,display:J(()=>{let ie;if(t.value>=5){let q;return o("div",{class:"total-outcome-container"},[o("span",{class:"total-outcome"},[v("You Won!")]),o("span",{class:"smiley"},[v("\u{1F603}")]),o(me,null,De(q=new Array(3).fill(0).map((T,L)=>o(we,{character:i.value[L]},null)))?q:{default:()=>[q]}),o("button",{class:"button",onClick:()=>location.reload()},[v("Play again")]),Ye(ge)])}if(e.value<=0){let q;return o("div",{class:"total-outcome-container"},[o("span",{class:"total-outcome"},[v("You ran out of lives!")]),o("span",{class:"smiley"},[v("\u{1F630}")]),o(me,null,De(q=new Array(3).fill(0).map((T,L)=>o(we,{character:i.value[L]},null)))?q:{default:()=>[q]}),o("button",{class:"button",onClick:()=>location.reload()},[v("Play again")]),Ye(ge)])}if(S.value!=null){let q,T,L,Ue;return o("div",{class:{["battle-container"]:!0,fast:z.fast}},[o("div",{class:"battle-controls"},[o("button",{class:"button",onClick:()=>{C.value=!0,te()}},[o("span",{class:"material-icons"},[v("play_arrow")]),o("span",null,[v("Play")])]),o("button",{class:{button:!0,active:z.autoplay},onClick:()=>{z.autoplay=!z.autoplay,p.value&&te()}},[o("span",{class:"material-icons"},[v("all_inclusive")]),o("span",null,[v("Autoplay")])]),o("button",{class:{button:!0,active:z.fast},onClick:()=>z.fast=!z.fast},[o("span",{class:"material-icons"},[v("fast_forward")]),o("span",null,[v("Fast")])])]),o("div",{class:"teams-container",style:y.value?"pointer-events: none;":""},[o("div",{class:"team-container"},[o("div",{class:"stream-container"},[o("div",{class:"stream-details",style:"left: 1vmin"},[o("span",{style:"margin-left: 0"},[_t.value,v(" (YOU)")]),o("div",{class:"stats",style:"margin-left: 0"},[o("div",{class:"resource-box"},[o("img",{src:dt},null),o("span",null,[e.value])]),o("div",{class:"resource-box"},[o("span",{class:"material-icons"},[v("emoji_events")]),o("span",null,[t.value,v("/5")])])])]),o("div",{class:"view-counter",style:"right: 1vmin"},[Et(H.value),v(" Views")]),o(me,{class:"streamers-container"},{default:()=>[o(lt,{name:"character-transition"},De(q=S.value.streamers.slice().reverse().map((le,Me)=>{var Ae;return o(we,{key:S.value.streamers.length-Me,character:le,shake:p.value&&((Ae=N.value[0])==null?void 0:Ae.target)===le},null)}))?q:{default:()=>[q]})]})]),o(me,{class:"members-container",style:"margin-left: 0; padding-right: 4vmin;"},{default:()=>[o(lt,{name:"character-transition"},De(T=S.value.team.map((le,Me)=>{var Ae,je,He,Ze;return o(we,{character:le,key:Me,shake:p.value&&((Ae=N.value[0])==null?void 0:Ae.action)==="join"&&le===((Ze=S.value)==null?void 0:Ze.team[((He=(je=S.value)==null?void 0:je.team.length)!=null?He:0)-1])},null)}))?T:{default:()=>[T]})]})]),o("div",{class:"team-container"},[o("div",{class:"stream-container"},[o("div",{class:"stream-details",style:"right: 1vmin"},[o("span",{style:"margin-right: 0"},[S.value.enemyNickname]),o("div",{class:"stats",style:"margin-right: 0"},[o("div",{class:"resource-box"},[o("img",{src:dt},null),o("span",null,[S.value.enemyLives])]),o("div",{class:"resource-box"},[o("span",{class:"material-icons"},[v("emoji_events")]),o("span",null,[S.value.enemyWins,v("/5")])])])]),o("div",{class:"view-counter",style:"left: 1vmin"},[Et(b.value),v(" Views")]),o(me,{class:"streamers-container"},{default:()=>[o(lt,{name:"character-transition"},De(L=S.value.enemyStreamers.map((le,Me)=>{var Ae;return o(we,{key:Me,character:le,shake:p.value&&((Ae=N.value[0])==null?void 0:Ae.target)===le},null)}))?L:{default:()=>[L]})]})]),o(me,{class:"members-container",style:"margin-right: 0; padding: 0 4vmin;"},{default:()=>[o(lt,{name:"character-transition"},De(Ue=S.value.enemyTeam.slice().reverse().map((le,Me)=>{var Ae,je,He,Ze;return o(we,{character:le,key:S.value.enemyStreamers.length+Me,shake:p.value&&((Ae=N.value[0])==null?void 0:Ae.action)==="join"&&le===((Ze=S.value)==null?void 0:Ze.enemyTeam[((He=(je=S.value)==null?void 0:je.enemyTeam.length)!=null?He:0)-1])},null)}))?Ue:{default:()=>[Ue]})]})])]),y.value?o("div",{class:"outcome",onClick:()=>fe("newTurn")},[o("span",null,[f.value]),o("span",{style:"font-size: 2vmin"},[v("Next Turn")])]):null])}return o("div",{class:"game-container",style:g.value?"pointer-events: none":"",onClick:()=>{r.value=null,l.value=null}},[o(me,{style:"position: absolute; top: 10px; left: -5px"},{default:()=>[o("div",{class:"resource-box"},[o("span",{class:"material-icons"},[v("credit_card")]),n.value]),o("div",{class:"resource-box"},[o("img",{src:dt},null),e.value]),o("div",{class:"resource-box"},[o("span",{class:"material-icons"},[v("emoji_events")]),t.value,v("/5")])]}),o("h2",{class:"team-nickname"},[_t.value]),o(me,{style:"margin-top: 10vh"},De(ie=new Array(3).fill(0).map((q,T)=>{var L,Ue;return o(we,{id:`team-char-${T}`,character:i.value[T],isSelected:r.value===T,selected:r.value==null?l.value==null||i.value[T]!=null&&((L=s.value[l.value])==null?void 0:L.type)!==((Ue=i.value[T])==null?void 0:Ue.type)||n.value<3?null:s.value[l.value]:i.value[r.value],isDragging:P.value,onClick:ea(T),onDragstart:()=>{P.value=!0,r.value=T,l.value=null},onDragend:()=>{P.value=!1,r.value=null,l.value=null},onDrop:()=>ea(T)()},null)}))?ie:{default:()=>[ie]}),o(me,{style:"margin-top: 10vh"},{default:()=>[o("div",{class:"reroll",style:n.value>0?"":"color: var(--locked); cursor: not-allowed",onClick:()=>{n.value>0&&fe("reroll")}},[o("img",{src:Q.value?To:ko},null)]),s.value.map((q,T)=>o(we,{id:`shop-char-${T}`,frozen:_.value.includes(T),character:q==null?void 0:q,isSelected:l.value===T,isShop:!0,isDragging:P.value,onClick:L=>{q!=null&&(l.value=l.value===T?null:T,r.value=null,L.stopPropagation())},onDragstart:()=>{P.value=!0,r.value=null,l.value=T},onDragend:()=>{P.value=!1,r.value=null,l.value=null}},null))]}),o(hr,{height:"4vh"},null),g.value?o("div",{class:"waiting"},[v("Finding opposing team...")]):o(me,{class:"bottom-row"},{default:()=>[r.value==null?null:o("button",{class:"button",onDragover:q=>q.preventDefault(),onClick:()=>fe("sell",r.value),onDrop:()=>fe("sell",r.value)},[v("Sell")]),l.value==null?null:o("button",{class:"button",onDragover:q=>q.preventDefault(),onClick:()=>fe("freeze",l.value),onDrop:()=>fe("freeze",l.value)},[v("Freeze")]),o("div",{style:"flex-grow: 1"},null),o("img",{class:"startStream",draggable:"false",onClick:()=>{fe("stream"),g.value=!0},src:go},null)]}),Ye(ge)])}),lives:e,wins:t,turn:a,gold:n,team:i,shop:s,selectedCharacter:r,selectedShopItem:l,findingMatch:g,showingOutcome:y,outcome:f,reset:I,battle:S,frozen:_,playClicked:C,prepareMove:te,particles:ge,queue:N,showRefreshAnim:Q}});let ut=0;$.on("update",e=>{if(m.wins.value>=5){if(ut+=e,ut>=1){ut=0;const t=m.particles.boundingRect.value;if(!t)return;m.particles.addEmitter(Mo).then(a=>{a.updateOwnerPos(Math.random()*t.width,Math.random()*t.height),console.log(a),a.playOnceAndDestroy()})}}else ut=0});function ea(e){return t=>{var a,n,i,s,r,l,g;m.selectedCharacter.value!=null&&m.selectedCharacter.value!==e?((a=m.team.value[m.selectedCharacter.value])==null?void 0:a.type)===((n=m.team.value[e])==null?void 0:n.type)&&((s=(i=m.team.value[m.selectedCharacter.value])==null?void 0:i.exp)!=null?s:0)<6&&((l=(r=m.team.value[e])==null?void 0:r.exp)!=null?l:0)<6?(fe("merge",m.selectedCharacter.value,e),m.selectedCharacter.value=null):(fe("move",m.selectedCharacter.value,e),m.selectedCharacter.value=null):m.selectedCharacter.value===e?m.selectedCharacter.value=null:m.selectedShopItem.value!==null?((m.team.value[e]==null||m.team.value[e].type===((g=m.shop.value[m.selectedShopItem.value])==null?void 0:g.type)&&m.team.value[e].exp<6)&&m.gold.value>=3&&fe("buy",m.selectedShopItem.value,e),m.selectedShopItem.value=null):m.selectedCharacter.value=e,t==null||t.stopPropagation()}}const Do=e=>[m],Ia=x(()=>!1);function Ro(e,t){}var Vo=Object.freeze(Object.defineProperty({__proto__:null,characters:W,main:m,getInitialLayers:Do,hasWon:Ia,fixOldSave:Ro},Symbol.toStringTag,{value:"Module"}));const Po={class:"field"},xo=O({__name:"Toggle",props:{title:null,modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const a=e,n=x(()=>{var s;return Ne((s=u(a.title))!=null?s:"","span")}),i=x({get(){return!!a.modelValue},set(s){t("update:modelValue",s)}});return(s,r)=>(h(),B("label",Po,[kt(c("input",{type:"checkbox",class:"toggle","onUpdate:modelValue":r[0]||(r[0]=l=>Ce(i)?i.value=l:null)},null,512),[[Pa,u(i)]]),(h(),U(ce(u(n))))]))}});var Qt=K(xo,[["__scopeId","data-v-11046116"]]);const rt=e=>(Qe("data-v-4a50ce42"),e=e(),Se(),e),qo={class:"game-over-modal-header"},zo=["src","alt"],Fo={class:"game-over-modal-title"},Go=rt(()=>c("h2",null,"Congratulations!",-1)),Oo={key:0},Uo=rt(()=>c("br",null,null,-1)),Lo=rt(()=>c("div",null," Please check the Discord to discuss the game or to check for new content updates! ",-1)),Jo=rt(()=>c("br",null,null,-1)),Yo=["href"],Wo=rt(()=>c("span",{class:"material-icons game-over-modal-discord"},"discord",-1)),Xo=O({__name:"GameOverScreen",setup(e){const{title:t,logo:a,discordName:n,discordLink:i,versionNumber:s,versionTitle:r}=G,l=x(()=>Dt(V.timePlayed)),g=x(()=>Ia.value&&!V.keepGoing),f=Fe(V,"autosave");function y(){V.keepGoing=!0}function p(){Ve(Je())}return(C,N)=>(h(),U(Ge,{"model-value":u(g)},{header:R(()=>[c("div",qo,[u(a)?(h(),B("img",{key:0,class:"game-over-modal-logo",src:u(a),alt:u(t)},null,8,zo)):M("",!0),c("div",Fo,[Go,c("h4",null,"You've beaten "+F(u(t))+" v"+F(u(s))+": "+F(u(r)),1)])])]),body:R(({shown:_})=>[_?(h(),B("div",Oo,[c("div",null,"It took you "+F(u(l))+" to beat the game.",1),Uo,Lo,Jo,c("div",null,[c("a",{href:u(i),class:"game-over-modal-discord-link"},[Wo,v(" "+F(u(n)),1)],8,Yo)]),o(Qt,{title:"Autosave",modelValue:u(f),"onUpdate:modelValue":N[0]||(N[0]=Q=>Ce(f)?f.value=Q:null)},null,8,["modelValue"])])):M("",!0)]),footer:R(()=>[c("div",{class:"game-over-footer"},[c("button",{onClick:y,class:"button"},"Keep Going"),c("button",{onClick:p,class:"button danger"},"Play Again")])]),_:1},8,["model-value"]))}});var Ko=K(Xo,[["__scopeId","data-v-4a50ce42"]]);const bt=e=>(Qe("data-v-336bf74f"),e=e(),Se(),e),jo=bt(()=>c("div",{class:"nan-modal-header"},[c("h2",null,"NaN value detected!")],-1)),Ho={key:0},Zo=bt(()=>c("br",null,null,-1)),$o=["href"],el=bt(()=>c("span",{class:"material-icons nan-modal-discord"},"discord",-1)),tl=bt(()=>c("br",null,null,-1)),al={class:"nan-footer"},nl=O({__name:"NaNScreen",setup(e){const{discordName:t,discordLink:a}=G,n=w(!0),i=w(!0),s=Fe(Z,"hasNaN"),r=w(null);he(s,C=>{C?(n.value=V.autosave,i.value=V.devSpeed===0):(V.autosave=n.value,V.devSpeed=i.value?0:null)});const l=x(()=>{var C;return(C=Z.NaNPath)==null?void 0:C.join(".")}),g=x(()=>Z.NaNPersistent!=null?Z.NaNPersistent.value:null);function f(){Z.NaNPersistent!=null&&(Z.NaNPersistent.value=new E(0),Z.hasNaN=!1)}function y(){Z.NaNPersistent&&(Z.NaNPersistent.value=new E(1),Z.hasNaN=!1)}function p(){Z.NaNPersistent&&(Z.NaNPersistent.value=new E(NaN),Z.hasNaN=!1)}return(C,N)=>(h(),B(X,null,[o(Ge,tt({modelValue:u(s),"onUpdate:modelValue":N[4]||(N[4]=_=>Ce(s)?s.value=_:null)},C.$attrs),{header:R(()=>[jo]),body:R(()=>[c("div",null,[v(' Attempted to assign "'+F(u(l))+'" to NaN',1),u(g)?(h(),B("span",Ho,F(" ")+"(previously "+F(u(ca)(u(g)))+")",1)):M("",!0),v(". Auto-saving has been "+F(n.value?"enabled":"disabled")+". Check the console for more details, and consider sharing it with the developers on discord. ",1)]),Zo,c("div",null,[c("a",{href:u(a)||"https://discord.gg/WzejVAx",class:"nan-modal-discord-link"},[el,v(" "+F(u(t)||"The Paper Pilot Community"),1)],8,$o)]),tl,o(Qt,{title:"Autosave",modelValue:n.value,"onUpdate:modelValue":N[0]||(N[0]=_=>n.value=_)},null,8,["modelValue"]),u(G).enablePausing?(h(),U(Qt,{key:0,title:"Pause game",modelValue:i.value,"onUpdate:modelValue":N[1]||(N[1]=_=>i.value=_)},null,8,["modelValue"])):M("",!0)]),footer:R(()=>[c("div",al,[c("button",{onClick:N[2]||(N[2]=_=>{var Q;return(Q=r.value)==null?void 0:Q.open()}),class:"button"},"Open Saves Manager"),c("button",{onClick:f,class:"button"},"Set to 0"),c("button",{onClick:y,class:"button"},"Set to 1"),u(g)&&u(E).neq(u(g),0)&&u(E).neq(u(g),1)?(h(),B("button",{key:0,onClick:N[3]||(N[3]=_=>s.value=!1),class:"button"}," Set to previous ")):M("",!0),c("button",{onClick:p,class:"button danger"},"Ignore")])]),_:1},16,["modelValue"]),o(Ea,{ref_key:"savesManager",ref:r},null,512)],64))}});var il=K(nl,[["__scopeId","data-v-336bf74f"]]);var sl=O({__name:"App",setup(e){const t=G.useHeader,a=x(()=>vt[z.theme].variables);Fe(z,"showTPS");const n=x(()=>Ne(J(()=>o(X,null,[ii.map(Ye)]))));return(i,s)=>(h(),B(X,null,[c("div",{id:"modal-root",style:ze(u(a))},null,4),c("div",{class:ae(["app",{useHeader:u(t)}]),style:ze(u(a))},[u(t)?(h(),U(wa,{key:0})):M("",!0),o(fr),o(Ko),o(il),(h(),U(ce(u(n))))],6)],64))}});var rl=K(sl,[["__scopeId","data-v-48adfab3"]]);$.on("setupVue",e=>e.use(Ua));function ol(e={}){const{immediate:t=!1,onNeedRefresh:a,onOfflineReady:n,onRegistered:i,onRegisterError:s}=e;let r,l;const g=async(f=!0)=>{f&&(r==null||r.addEventListener("controlling",y=>{y.isUpdate&&window.location.reload()})),l&&l.waiting&&await Ka(l.waiting,{type:"SKIP_WAITING"})};if("serviceWorker"in navigator){r=new Xa("./sw.js",{scope:"./",type:"classic"}),r.addEventListener("activated",f=>{f.isUpdate||n==null||n()});{const f=()=>{a==null||a()};r.addEventListener("waiting",f),r.addEventListener("externalwaiting",f)}r.register({immediate:t}).then(f=>{l=f,i==null||i(f)}).catch(f=>{s==null||s(f)})}return g}function ll(e={}){const{immediate:t=!0,onNeedRefresh:a,onOfflineReady:n,onRegistered:i,onRegisterError:s}=e,r=w(!1),l=w(!1);return{updateServiceWorker:ol({immediate:t,onNeedRefresh(){r.value=!0,a==null||a()},onOfflineReady(){l.value=!0,n==null||n()},onRegistered:i,onRegisterError:s}),offlineReady:l,needRefresh:r}}document.title=G.title;window.projInfo=G;if(G.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 Zn();const{globalBus:e}=await gt(()=>Promise.resolve().then(function(){return jn}),void 0),{startGameLoop:t}=await gt(()=>import("./gameLoop.61f5baa3.js"),["assets/gameLoop.61f5baa3.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/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.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/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","assets/workbox-window.8d14e8b7.js"]),a=window.vue=xa(rl);e.emit("setupVue",a),a.mount("#app"),qe(()=>{const n=na(),{updateServiceWorker:i}=ll({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(){i()}})},onOfflineReady(){n.info("App ready to work offline")},onRegisterError:console.warn,onRegistered(s){s&&setInterval(()=>s.update(),60*60*1e3)}})}),t()});export{E as D,gt as _,Z as a,G as b,Vo as c,$ as g,$n as l,V as p,z as s}; +${I}`)}}return f[b]}he(a,b=>{b&&Object.keys(f).forEach(I=>delete f[I])});const p=x(()=>z.saves.reduce((b,I)=>(b[I]=y(I),b),{}));function C(b){let I;switch(V.id===b?I=ga(V):I=JSON.stringify(p.value[b]),G.exportEncoding){default:console.warn(`Unknown save encoding: ${G.exportEncoding}. Defaulting to lz`);case"lz":I=Ie.compressToUTF16(I);break;case"base64":I=btoa(unescape(encodeURIComponent(I)));break;case"plain":break}const P=document.createElement("textarea");P.value=I,document.body.appendChild(P),P.select(),P.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(P)}function N(b){V.id===b&&re();const I={...p.value[b],id:ct()};re(I),z.saves.push(I.id)}function _(b){z.saves=z.saves.filter(I=>I!==b),localStorage.removeItem(b),f[b]=void 0}function Q(b){p.value[V.id].time=V.time,re(),f[V.id]=void 0,Ve(p.value[b]),f[b]=void 0}function S(b){if(r.value=b,qe(()=>{r.value=null}),b[0]!=="{")if(b[0]==="e")b=decodeURIComponent(escape(atob(b)));else if(b[0]==="\u1BE1")b=Ie.decompressFromUTF16(b);else{console.warn("Unable to determine preset encoding",b);return}const I=JSON.parse(b);I.id=ct(),re(I),z.saves.push(I.id),Q(I.id)}function H(b,I){const P=p.value[b];P!=null&&(P.name=I,V.id===b?(V.name=I,re()):(re(P),f[b]=void 0))}return(b,I)=>(h(),U(Ge,{modelValue:a.value,"onUpdate:modelValue":I[4]||(I[4]=P=>a.value=P),ref_key:"modal",ref:n},{header:R(()=>[Vs]),body:R(({shown:P})=>[P?(h(),U(u(qa),{key:0,list:u(z).saves,handle:".handle",itemKey:te=>te},{item:R(({element:te})=>[o(Rs,{save:u(p)[te],onOpen:ge=>Q(te),onExport:ge=>C(te),onEditName:ge=>H(te,ge),onDuplicate:ge=>N(te),onDelete:ge=>_(te)},null,8,["save","onOpen","onExport","onEditName","onDuplicate","onDelete"])]),_:1},8,["list","itemKey"])):M("",!0)]),footer:R(()=>[c("div",Ps,[o(Ft,{modelValue:s.value,"onUpdate:modelValue":I[0]||(I[0]=P=>s.value=P),title:"Import Save",placeholder:"Paste your save here!",class:ae({importingFailed:i.value})},null,8,["modelValue","class"]),c("div",xs,[qs,c("div",zs,[c("button",{class:"button",onClick:I[1]||(I[1]=P=>Q(u(Je)().id))},"New Game"),Object.keys(u(g)).length>0?(h(),U(as,{key:0,options:u(g),modelValue:r.value,"onUpdate:modelValue":I[2]||(I[2]=P=>S(P)),closeOnSelect:"",placeholder:"Select preset",class:"presets"},null,8,["options","modelValue"])):M("",!0)])]),c("div",Fs,[Gs,c("button",{class:"button modal-default-button",onClick:I[3]||(I[3]=P=>a.value=!1)}," Close ")])])]),_:1},8,["modelValue"]))}});var Ea=K(Os,[["__scopeId","data-v-5b5b1604"]]);const de=e=>(Qe("data-v-269f7a94"),e=e(),Se(),e),Us=["src","alt"],Ls={key:1,class:"title"},Js=de(()=>c("div",{style:{"flex-grow":"1",cursor:"unset"}},null,-1)),Ys={class:"discord"},Ws={class:"discord-links"},Xs={key:0},Ks=["href"],js=de(()=>c("li",null,[c("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),Hs=de(()=>c("li",null,[c("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),Zs={href:"https://forums.moddingtree.com/",target:"_blank"},$s=de(()=>c("span",{class:"material-icons"},"forum",-1)),er=de(()=>c("span",{class:"material-icons"},"info",-1)),tr=de(()=>c("span",{class:"material-icons"},"settings",-1)),ar=de(()=>c("span",{class:"material-icons"},"settings",-1)),nr=de(()=>c("span",{class:"material-icons"},"info",-1)),ir={href:"https://forums.moddingtree.com/",target:"_blank"},sr=de(()=>c("span",{class:"material-icons"},"forum",-1)),rr={class:"discord"},or={class:"discord-links"},lr={key:0},Ar=["href"],ur=de(()=>c("li",null,[c("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),cr=de(()=>c("li",null,[c("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),dr=O({__name:"Nav",setup(e){const t=w(null),a=w(null),n=w(null),i=w(null),{useHeader:s,banner:r,title:l,discordName:g,discordLink:f,versionNumber:y}=G;function p(){window.open(f,"mywindow")}return(C,N)=>(h(),B(X,null,[u(s)?(h(),B("div",tt({key:0,class:"nav"},C.$attrs),[u(r)?(h(),B("img",{key:0,src:u(r),class:"banner",alt:u(l)},null,8,Us)):(h(),B("div",Ls,F(u(l)),1)),c("div",{onClick:N[0]||(N[0]=_=>{var Q;return(Q=i.value)==null?void 0:Q.open()}),class:"version-container"},[o(j,{display:"Changelog",direction:u(Y).Down,class:"version"},{default:R(()=>[c("span",null,"v"+F(u(y)),1)]),_:1},8,["direction"])]),Js,c("div",Ys,[c("span",{onClick:p,class:"material-icons"},"discord"),c("ul",Ws,[u(f)?(h(),B("li",Xs,[c("a",{href:u(f),target:"_blank"},F(u(g)),9,Ks)])):M("",!0),js,Hs])]),c("div",null,[c("a",Zs,[o(j,{display:"Forums",direction:u(Y).Down,yoffset:"5px"},{default:R(()=>[$s]),_:1},8,["direction"])])]),c("div",{onClick:N[1]||(N[1]=_=>{var Q;return(Q=t.value)==null?void 0:Q.open()})},[o(j,{display:"Info",direction:u(Y).Down,class:"info"},{default:R(()=>[er]),_:1},8,["direction"])]),c("div",{onClick:N[2]||(N[2]=_=>{var Q;return(Q=n.value)==null?void 0:Q.open()})},[o(j,{display:"Settings",direction:u(Y).Down,xoffset:"-66px"},{default:R(()=>[tr]),_:1},8,["direction"])])],16)):(h(),B("div",tt({key:1,class:"overlay-nav"},C.$attrs),[c("div",{onClick:N[3]||(N[3]=_=>{var Q;return(Q=i.value)==null?void 0:Q.open()}),class:"version-container"},[o(j,{display:"Changelog",direction:u(Y).Right,xoffset:"25%",class:"version"},{default:R(()=>[c("span",null,"v"+F(u(y)),1)]),_:1},8,["direction"])]),c("div",{onClick:N[4]||(N[4]=_=>{var Q;return(Q=n.value)==null?void 0:Q.open()})},[o(j,{display:"Settings",direction:u(Y).Right},{default:R(()=>[ar]),_:1},8,["direction"])]),c("div",{onClick:N[5]||(N[5]=_=>{var Q;return(Q=t.value)==null?void 0:Q.open()})},[o(j,{display:"Info",direction:u(Y).Right},{default:R(()=>[nr]),_:1},8,["direction"])]),c("div",null,[c("a",ir,[o(j,{display:"Forums",direction:u(Y).Right,xoffset:"7px"},{default:R(()=>[sr]),_:1},8,["direction"])])]),c("div",rr,[c("span",{onClick:p,class:"material-icons"},"discord"),c("ul",or,[u(f)?(h(),B("li",lr,[c("a",{href:u(f),target:"_blank"},F(u(g)),9,Ar)])):M("",!0),ur,cr])])],16)),o(Hi,{ref_key:"info",ref:t,changelog:i.value},null,8,["changelog"]),o(Ea,{ref_key:"savesManager",ref:a},null,512),o($i,{ref_key:"options",ref:n},null,512),o(Ti,{ref_key:"changelog",ref:i},null,512)],64))}});var wa=K(dr,[["__scopeId","data-v-269f7a94"]]);const gr={class:"inner-tab"},mr=O({__name:"Game",setup(e){const t=Fe(V,"tabs"),a=x(()=>Object.keys(ee)),n=G.useHeader;function i(s){const{display:r,minimized:l,name:g,color:f,minimizable:y,nodes:p,minimizedDisplay:C}=s;return{display:r,minimized:l,name:g,color:f,minimizable:y,nodes:p,minimizedDisplay:C}}return(s,r)=>(h(),B("div",{class:ae(["tabs-container",{useHeader:u(n)}])},[(h(!0),B(X,null,Ta(u(t),(l,g)=>{var f,y;return h(),B("div",{key:g,class:ae(["tab",u((f=u(ee)[l])==null?void 0:f.classes)]),style:ze(u((y=u(ee)[l])==null?void 0:y.style))},[g===0&&!u(n)?(h(),U(wa,{key:0})):M("",!0),c("div",gr,[u(a).includes(l)?(h(),U(Qi,tt({key:0},i(u(ee)[l]),{index:g,onSetMinimized:p=>u(ee)[l].minimized.value=p}),null,16,["index","onSetMinimized"])):(h(),U(ce(l),{key:1,index:g},null,8,["index"]))])],6)}),128))],2))}});var fr=K(mr,[["__scopeId","data-v-3e0f1aab"]]);const hr=O({__name:"Spacer",props:{width:{default:"8px"},height:{default:"17px"}},setup(e){return(t,a)=>(h(),B("div",{style:ze({width:e.width,height:e.height})},null,4))}});const vr=O({__name:"Node",props:{id:null},setup(e){const a=be(e),n=Ut(qt,()=>{}),i=Ut(zt,()=>{}),s=ye(null),r=x(()=>s.value&&s.value.parentElement);return he([r,a.id],([l,g],[f,y])=>{f&&i(u(y)),l&&n(g,l)}),Da(()=>i(u(a.id))),(l,g)=>(h(),B("div",{class:"node",ref_key:"node",ref:s},null,512))}});var pr=K(vr,[["__scopeId","data-v-a48cb382"]]),dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAqhJREFUeJzt3LFqFFEYBeBdERGJCaKgESUWCsZCTG0dbSyCZTp9B0ufxMJu38EHsA5YCDaiKGihiCxYuhZp7x254e6O6/m+8me4M1k4/HCYzGQCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkGg69gOs2mLxbbHM86fTS8XfdKz7MuzU2A8AYxIAogkA0QSAaAJAtNNjP8Cy1FqX+zceRt1XOzTMBiCaABBNAIgmAEQTAKKtfQvU2rrsb10tzu9t/i7O9y5sF+dHP74U5w92D4rzZ9evNJ1fU7tv7e/VDg2zAYgmAEQTAKIJANEEgGhr3wL10tr21Ly4dbvLObXrq63Rp69N53PMBiCaABBNAIgmAEQTAKLFtUCff30vzl9+LF//ZKdPO1TT2vb0ui/HbACiCQDRBIBoAkA0ASBa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3U+fX+3uN5rBqlFy/SbE4BoAkA0ASCaABBNAIg2XROw1hNYvWaBWu3Qjxv3Ftdvvn5ZuW1Zq2Xq5dDbJCcA0QSAaAJANAEgmgAQbbVZoF6tS3WWptVatNZ7tVLVtuf84n6P25afXGvp9T3PxglANAEgmgAQTQCIJgBEW+2Xeqs9aLUWrVbkyaPPi+ujZ2Cq7Up1/7vTy/KeRjp7f7K4Xv2eZ2uHnABEEwCiCQDRBIBoAkC0g3kv0JdXHxfXzy8eL65XW5pWm1FtpVpa+99sltuV0e6++bC4/uDF8pNrb0+Xr1Od0ZqNE4BoAkA0ASCaABBNAIg2XQtUbWN2m1o71FJte9qtDofECUA0ASCaABBNAIgmAEQ7mCfCzu58G7qf3dfbUfftpbX/VpvniTCYiAAQTQCIJgBEEwCiDf9FXm171lKdQTr0+/bivUBwwASAaAJANAEgmgAQbbpZIPgfvdokJwDRBIBoAkA0ASCaABBtqrkM/qjOUM32NubR/1DfUm2HnABEEwCiCQDRBIBoAkC06d4OzXHo1UqNbr2cAEQTAKIJANEEgGgCQDQt0JGrtiijW5fqjNDoGScnANEEgGgCQDQBIJoAEE0LxJWqtjpmgWAgASCaABBNAIgmAETTAh2J0TM/vT5fZRYIBhIAogkA0QSAaAJANG+HnpT/UPs7/xEGHQgA0QSAaAJANAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK7ILzj6vECOPLAcAAAAAElFTkSuQmCC";const Ot=e=>(Qe("data-v-5535bfbc"),e=e(),Se(),e),wr=["ondragstart","ondragend","ondragenter","ondragleave","ondragover","ondrop"],Ir={key:0,class:"move-indicator"},_r=Ot(()=>c("span",{class:"material-icons"},"straight",-1)),Qr=[_r],Sr={key:1,class:"move-indicator"},Mr=Ot(()=>c("span",{class:"material-icons"},"merge",-1)),kr=[Mr],Tr={key:2,class:"character-display"},Dr=["src"],Rr={key:3,class:"relevancy-display"},Vr=["src"],Pr={key:4,class:"presence-display"},xr=Ot(()=>c("span",{class:"material-icons"}," extension ",-1)),qr={key:5,class:"level-display"},zr=["src"],Fr=["src"],Gr=["src"],Or=["src"],Ur=["src"],Lr=["src"],Jr={key:6,class:"frozen"};var Yr=O({__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=w(!1),i=w(!1);he(n,r=>{t(r?"dragstart":"dragend")});const s=ye("");return St(()=>{if(a.character==null||a.selected!=null||n.value){s.value="";return}const r=Ne(W[a.character.type].abilityDescription(a.character));s.value=J(()=>o(X,null,[o("b",null,[W[a.character.type].nickname]),o("br",null,null),o(r,null,null)]))}),(r,l)=>(h(),U(j,{display:u(s),direction:u(Y).Up},{default:R(()=>{var g,f,y;return[c("div",{class:ae(["character",{selected:e.isSelected,empty:e.character==null&&e.selected==null,dragging:n.value,isDragging:e.isDragging,draggingOver:i.value,shake:e.shake}]),draggable:"true",ondragstart:()=>n.value=!0,ondragend:()=>n.value=!1,ondragenter:()=>i.value=!0,ondragleave:()=>i.value=!1,ondragover:p=>{var C;e.selected!=null&&!e.isShop&&(((C=e.character)==null?void 0:C.type)!==e.selected.type||e.isSelected)&&p.preventDefault(),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6&&p.preventDefault()},ondrop:()=>{i.value=!1,t("drop")}},[e.selected!=null&&!e.isShop&&(((g=e.character)==null?void 0:g.type)!==e.selected.type||e.isSelected)&&n.value===!1?(h(),B("span",Ir,Qr)):M("",!0),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6?(h(),B("span",Sr,kr)):M("",!0),e.character!=null?(h(),B("span",Tr,[c("img",{src:u(W)[e.character.type].display},null,8,Dr)])):M("",!0),e.character!=null?(h(),B("span",Rr,[c("img",{src:u(dt)},null,8,Vr),c("span",null,F((f=e.character)==null?void 0:f.relevancy),1)])):M("",!0),e.character!=null?(h(),B("span",Pr,[xr,c("span",null,F((y=e.character)==null?void 0:y.presence),1)])):M("",!0),e.character!=null?(h(),B("span",qr,[e.character.exp===1?(h(),B("img",{key:0,src:u(yr)},null,8,zr)):M("",!0),e.character.exp===2?(h(),B("img",{key:1,src:u(br)},null,8,Fr)):M("",!0),e.character.exp===3?(h(),B("img",{key:2,src:u(Cr)},null,8,Gr)):M("",!0),e.character.exp===4?(h(),B("img",{key:3,src:u(Nr)},null,8,Or)):M("",!0),e.character.exp===5?(h(),B("img",{key:4,src:u(Br)},null,8,Ur)):M("",!0),e.character.exp===6?(h(),B("img",{key:5,src:u(Er)},null,8,Lr)):M("",!0)])):M("",!0),e.frozen?(h(),B("div",Jr)):M("",!0),e.id?(h(),U(pr,{key:7,id:e.id},null,8,["id"])):M("",!0)],10,wr)]}),_:1},8,["display","direction"]))}});var we=K(Yr,[["__scopeId","data-v-5535bfbc"]]);const Wr={min:.25,max:.5},Xr=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],Kr=.01,jr=.1,Hr=100,Zr=!0,$r={x:0,y:0},eo=!1,to=[{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 ao={lifetime:Wr,ease:Xr,frequency:Kr,emitterLifetime:jr,maxParticles:Hr,addAtBack:Zr,pos:$r,emit:eo,behaviors:to};const it=w(!1),_t=w(""),Zt=na(),Le=w(),Xe=w("");function fe(e,...t){var a;!it.value||(a=Le.value)==null||a.emit(e,...t)}$.on("loadSettings",e=>{et(e,"server","https://Super-Auto-Coots.thepaperpilot.repl.co"),he(()=>e.server,t=>{Le.value&&Le.value.close(),Le.value=Oa(t),no(Le.value),it.value=!1,Xe.value="",Le.value.connect()},{immediate:!0}),ai(J(()=>o(X,null,[o(Ft,{title:"Server URL","onUpdate:modelValue":t=>e.server=t,modelValue:e.server},null),o("div",{style:"font-style: italic; font-size: small; margin-top: -10px;"},[it.value?o("span",null,[v("Connected!")]):Xe.value?o("span",{style:"color: red"},[Xe.value]):o("span",null,[v("Connecting...")])])])))});function ve(e){var n;const t=m.particles.boundingRect.value;if(!t)return;const a=(n=m.nodes.value[e])==null?void 0:n.rect;a&&m.particles.addEmitter(ao).then(i=>{i.updateOwnerPos(a.x+a.width/2-t.x,a.y+a.height/2-t.y),i.playOnceAndDestroy()})}function no(e){e.on("connect",()=>{Xe.value="",it.value=!0,m.reset.reset()}),e.on("connect_error",t=>{Xe.value=`${t.name}: ${t.message}`}),e.on("disconnect",(t,a)=>{var n;Xe.value=a instanceof Error?`${a.name}: ${a.message}`:(n=a==null?void 0:a.description)!=null?n:t,it.value=!1}),e.on("server version",t=>{Ga(G.versionNumber,t)||(Zt.info("Server only accepts game versions in range: "+t),e.disconnect())}),e.on("info",t=>{Zt.info(t),t==="Failed to start streaming"&&(m.findingMatch.value=!1)}),e.on("nickname",t=>{_t.value=t}),e.on("newTurn",t=>{m.gold.value=10,m.turn.value++,m.battle.value=null,m.shop.value=t.map(a=>({type:a,relevancy:W[a].initialRelevancy,presence:W[a].initialPresence,exp:1})),m.frozen.value=m.frozen.value.map((a,n)=>n),setTimeout(()=>{t.forEach((a,n)=>ve(`shop-char-${n}`))},0),m.showRefreshAnim.value=!0,setTimeout(()=>m.showRefreshAnim.value=!1,500)}),e.on("reroll",t=>{m.gold.value--,m.shop.value=t.map(a=>({type:a,relevancy:W[a].initialRelevancy,presence:W[a].initialPresence,exp:1})),m.frozen.value=m.frozen.value.map((a,n)=>n),setTimeout(()=>{t.forEach((a,n)=>ve(`shop-char-${n}`))},0),m.showRefreshAnim.value=!0,setTimeout(()=>m.showRefreshAnim.value=!1,500)}),e.on("buy",(t,a,n)=>{m.team.value[a]=n,m.shop.value[t]=null,m.gold.value-=3,ve(`shop-char-${t}`),ve(`team-char-${a}`),m.frozen.value.includes(t)&&(m.frozen.value=m.frozen.value.filter(i=>i!==t))}),e.on("move",(t,a)=>{const n=m.team.value[t];m.team.value[t]=m.team.value[a],m.team.value[a]=n,ve(`team-char-${t}`),ve(`team-char-${a}`)}),e.on("merge",(t,a,n)=>{var l,g;const i=(g=(l=m.team.value[a])==null?void 0:l.exp)!=null?g:0,s=i>=6?3:i>=3?2:1,r=n.exp>=6?3:n.exp>=3?2:1;m.team.value[t]=null,m.team.value[a]=n,ve(`team-char-${t}`),ve(`team-char-${a}`),W[n.type].abilityType==="LevelUp"&&s!==r&&setTimeout(()=>W[n.type].performAbility(n),1250)}),e.on("stream",(t,a)=>{let n=!1;m.team.value.forEach(i=>{i!=null&&W[i.type].abilityType==="StreamStarted"&&(n=!0,W[i.type].performAbility(i))}),n?setTimeout(()=>$t(t,a)):$t(t,a)}),e.on("sell",t=>{const a=m.team.value[t];let n;a.exp>=6?n=3:a.exp>=3?n=2:n=1,m.gold.value+=n,m.team.value[t]=null,ve(`team-char-${t}`),W[a.type].abilityType==="Sold"&&setTimeout(()=>W[a.type].performAbility(a),500)}),e.on("freeze",t=>{m.frozen.value.includes(t)?m.frozen.value=m.frozen.value.filter(a=>a!==t):m.frozen.value.push(t)})}function $t(e,t){m.findingMatch.value=!1,m.battle.value={team:JSON.parse(JSON.stringify(m.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},m.outcome.value=t,m.showingOutcome.value=!1,m.playClicked.value=!1,setTimeout(m.prepareMove,1e3)}var io="data:image/png;base64,iVBORw0KGgoAAAAN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fGda3i/HVOOq5inq/rdG4u6W6PYNDuc+5LlgBYI0AwBoBgDUCAGsEANZqsxdIUV2Lqdkfwvr4jvjeG0V1P+bO/pga58QLuT08Wa3Rm8L62KaNYf1tsZdJfT7sBQIaiADAGgGANQIAawQA1mrfBVJdmourcXdicEidIIu7HKrbo7oupfYaKeq52a6OOummPgduhwYaiADAGgGANQIAawQA1mrfBVLUbcntldxeoFLyvxGWu01anRRT3Rutmd0ehRUA1ggArBEAWCMAsEYAYK02XaC7++MTXtVqXFe/4XWuP947pPbAqL032RNhpX4jLLs36YtTYhzR1VHq3u1RWAFgjQDAGgGANQIAawQA1rrWBSp1a/T00cnUc09O7km9Xt+H01tK3dvT1G6PwgoAawQA1ggArBEAWCMAsNZze4FKdYfmlg6HdXWPkOqiLMxfCOvqf45tAxvC+gfHxF+Q44g/+HklLA+KvUBYHysArBEAWCMAsEYAYI0AwFrt931ku0PKg8PHi8zn8+V7i4yjqHmq5zb1Pp9SWAFgjQDAGgGANQIAawQA1npuL1BWqb1DWdmui6LmU6orhfWxAsAaAYA1AgBrBADWCACs1b4LVEr/1dd0ewr/0mvzaSpWAFgjALBGAGCNAMAaAYA1AgBrBADWCACsEQBYIwCwRgBgjb1Alyz+cWvq9TduvBjW5W3VyZNinZ6POjHndl8QKwCsEQBYIwCwRgBgjQDAmtU3/qrq/H1B2duYe20+blgBYI0AwBoBgDUCAGsEANboBFyiujFZpborvTafpmIFgDUCAGsEANYIAKwRAAAAAAAAAAAAAAAAAABA7f0NUYSCE1qhmF4AAAAASUVORK5CYII=",co="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABk1JREFUeJzt3TFoXVUcx/GX1EWRp4N0UkRD0UEJCELhVVuEWHQQIxVKWhxKcRCXiqO6tOhS6iIZRDIIFodCN4sECmIrQqxQ6KBIsigEpEItgks0DnX8/5B//J/ce9/v+xlPH/fevMevB36cc+5oBAAAAAAAAAAAAAAAAGA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ArBEAWCMAsEYAYK15C5RtIVR7cHgc75zKGsraoap2qG/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",go="./assets/start stream.dd66a6ec.png";const mo=Symbol("Reset");function fo(e){return xt(()=>{const t=e();return t.id=da("reset-"),t.type=mo,t.reset=function(){var i;const a=s=>{if(s!=null&&typeof s=="object")if(Ke in s){const r=s;r.value=r[Ke]}else!(s instanceof E)&&!Ce(s)&&Object.values(s).forEach(r=>a(r))},n=u(t.thingsToReset);Bt(n)?n.forEach(a):a(n),$.emit("reset",t),(i=t.onReset)==null||i.call(t)},pe(t,"thingsToReset"),t})}const At={};$.on("removeLayer",e=>{var t;(t=At[e.id])==null||t.call(At),At[e.id]=void 0});ia.registerPlugin(La);Ja.registerPlugin("batch",Ya);var ho=O({props:{style:ne(String,Object,Array),classes:ne(Object),onInit:{type:Function,required:!0},id:{type:String,required:!0},onContainerResized:Function,onHotReload:Function},setup(e){const t=ye(null),a=new ResizeObserver(s),n=ye(null);Mt(()=>{var l,g;const r=n.value;r!=null&&(a.observe(r),t.value=new ia({resizeTo:r,backgroundAlpha:0}),(l=n.value)==null||l.appendChild(t.value.view),(g=e.onInit)==null||g.call(e,t.value)),s(),e.onHotReload&&qe(e.onHotReload)}),Ra(()=>{var r;(r=t.value)==null||r.destroy()});let i=!0;function s(){i&&(i=!1,qe(()=>{var r;n.value!=null&&((r=e.onContainerResized)==null||r.call(e,n.value.getBoundingClientRect())),i=!0}))}return $.on("fontsLoaded",s),{unref:u,resizeListener:n}}});function vo(e,t,a,n,i,s){return h(),B("div",{ref:"resizeListener",class:ae(["resize-listener",e.unref(e.classes)]),style:ze(e.unref(e.style))},null,6)}var po=K(ho,[["render",vo],["__scopeId","data-v-0b99a6fc"]]);const yo=Symbol("Particles");function bo(e){return xt(()=>{var i,s;const t=(i=e==null?void 0:e())!=null?i:{};t.id=da("particles-"),t.type=yo,t[Rt]=po,t.app=ye(null),t.addEmitter=r=>{const l=t;return l.app.value?Promise.resolve(new Lt(l.app.value.stage,r)):new Promise(g=>{a.push({resolve:g,config:r})})};let a=[];function n(r){const l=t;l.app.value=r,a.forEach(({resolve:g,config:f})=>g(new Lt(r.stage,f))),a=[]}return t.onContainerResized=(s=t.onContainerResized)==null?void 0:s.bind(t),t[Vt]=function(){const{id:r,style:l,classes:g,onContainerResized:f,onHotReload:y}=this;return{id:r,style:u(l),classes:g,onContainerResized:f,onHotReload:y,onInit:n}},t})}window.upgradeConfig=Wa;const Co={min:1.5,max:2.5},No=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],Bo=.001,Eo=.1,wo=100,Io=!0,_o={x:0,y:0},Qo=!1,So=[{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 Mo={lifetime:Co,ease:No,frequency:Bo,emitterLifetime:Eo,maxParticles:wo,addAtBack:Io,pos:_o,emit:Qo,behaviors:So},ko="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYAAAAGACAYAAACkx7W/AAAAAXNSR0IArs4c6QAACg5JREFUeJzt3U+IXVcdB/D3mjSOIcbRjrHVldZ2iAilNmRkxhIQizXFFCSCQUiLBOlGg1B0JTVkJwWpaxENSFSykEhatFCVNqkRqwSsENp0m5qO0JZQh3TG50KEZHLOzDvz7p375/f5LH+5c+5J8rjf93v3N/cNBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC017DpDVBmNFocNb0HyBkOZ1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+gAAIISAABBCQCAoAQAQFACACAozwLqiY/fs6WR8752YSVZr3s/zrs55816sZnTUi0dAEBQAgAgKAEAEJQAAAhKAAAEZQqoJ7ZN7UjWry1dreT4qlS1z8HgrU6ft1zZeXOq+3egD3QAAEEJAICgBABAUAIAICgBABCUKaCeu+/u25L1W6Zvr2T9HZdeTdZn705Pj+TO+583Xy86ftvL6fPu3vuJZD2nqvOW/n1L97Pt5e21nrfY7+tdns2hAwAISgAABCUAAIISAABBCQCAoEwB0Qq1T63UrOv7JyYdAEBQAgAgKAEAEJQAAAhKAAAEZQqo56JNp5Q+26dubdtPTlf2SbV0AABBCQCAoAQAQFACACAoAQAQlCkgalHVN2GZQoH66AAAghIAAEEJAICgBABAUAIAIChTQD1xbelq01voJFNGRKYDAAhKAAAEJQAAghIAAEEJAICgTAEFVfezd9r2bJ+m/r7QZjoAgKAEAEBQAgAgKAEAEJQAAAjKFFDPVTWd0tQ6dU/XNDW905W/V36dj1ayPs3SAQAEJQAAghIAAEEJAICgBABAUKaAeuK1CyvJ+o5Lpd8U9urkmxkMBhefaeYbypwXxqcDAAhKAAAEJQAAghIAAEEJAICghk1vgDKj0eIoVZ+bOrTZWyGw80snk/XhcMY1pUN0AABBCQCAoAQAQFACACAoAQAQlDv2PZGbDoI6mPbpBx0AQFACACAoAQAQlAAACEoAAAAAAAAAAAAAAHTSfwF85RziHHwuDAAAAABJRU5ErkJggg==",To="./assets/shop.3860773a.gif";function De(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Va(e)}const W={coots:{nickname:"Coots",initialRelevancy:3,initialPresence:1,display:lo,abilityType:"LivestreamJoined",abilityDescription:e=>J(()=>o(X,null,[o("i",null,[v("Livestream joined")]),v(": Deal "),e.exp>=6?6:e.exp>=3?4:2," ",v("relevancy damage to every character on a stream")])),performAbility(e){if(m.battle.value==null)return;const t=e.exp>=6?6:e.exp>=3?4:2;m.battle.value.streamers.forEach(a=>a.relevancy-=t),m.battle.value.enemyStreamers.forEach(a=>a.relevancy-=t)}},ludwig:{nickname:"Ludwig Coots",initialRelevancy:2,initialPresence:1,display:io,abilityType:"LivestreamJoined",abilityDescription:e=>J(()=>o(X,null,[o("i",null,[v("Livestream joined")]),v(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",v("presence for every character on a stream")])),performAbility(e){if(m.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;m.battle.value.streamers.includes(e)?e.presence+=t*m.battle.value.streamers.length:e.presence+=t*m.battle.value.enemyStreamers.length}},qt:{nickname:"Qt Coots",initialRelevancy:1,initialPresence:2,display:Ao,abilityType:"Sold",abilityDescription:e=>J(()=>o(X,null,[o("i",null,[v("Sold")]),v(": Gain "),e.exp>=6?3:e.exp>=3?2:1,v(" mogul"),e.exp>=3?"s":""])),performAbility(e){const t=e.exp>=6?3:e.exp>=3?2:1;m.gold.value+=t}},maid:{nickname:"Maid Coots",initialRelevancy:2,initialPresence:2,display:so,abilityType:"LevelUp",abilityDescription:e=>J(()=>o(X,null,[o("i",null,[v("Level up")]),v(": Every character gains "),e.exp>=3?2:1,v(" relevancy and presence")])),performAbility(e){const t=e.exp>=6?2:1;m.team.value.forEach(a=>{a&&(a.relevancy+=t,a.presence+=t)})}},mail:{nickname:"Mogul Mail Coots",initialRelevancy:1,initialPresence:1,display:ro,abilityType:"LivestreamJoined",abilityDescription:e=>J(()=>o(X,null,[o("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 stats.")])),performAbility(e){if(m.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};m.queue.value.push({action:"LivestreamJoined",target:a}),m.battle.value.streamers.includes(e)?m.battle.value.streamers.push(a):m.battle.value.enemyStreamers.push(a)}},stanz:{nickname:"Stanz Coots",initialRelevancy:1,initialPresence:1,display:uo,abilityType:"LivestreamEnded",abilityDescription:e=>J(()=>o(X,null,[o("i",null,[v("Livestream ended")]),v(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",v("relevancy for every character on either livestream with more relevancy.")])),performAbility(e){if(m.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;e.relevancy+=t*(m.battle.value.streamers.filter(a=>a.relevancya.relevancyJ(()=>o(X,null,[o("i",null,[v("Stream started")]),v(": Permanently gain")," ",e.exp>=6?3:e.exp>=3?2:1,v(" presence if you have 2 or more moguls.")])),performAbility(e){if(m.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:co,abilityType:"LivestreamJoined",abilityDescription:()=>J(()=>o(X,null,[o("i",null,[v("Livestream joined")]),v(": Set the character that most recently joined the enemy livestream's presence to 0. This effect does not improve on level up.")])),performAbility(e){m.battle.value!=null&&(m.battle.value.streamers.includes(e)?m.battle.value.enemyStreamers.length>0&&(m.battle.value.enemyStreamers[m.battle.value.enemyStreamers.length-1].presence=0):m.battle.value.streamers.length>0&&(m.battle.value.streamers[m.battle.value.streamers.length-1].presence=0))}}},m=ba("main",function(){const e=w(3),t=w(0),a=w(0),n=w(0),i=w([null,null,null]),s=w([]),r=w(null),l=w(null),g=w(!1),f=w(""),y=w(!1),p=w(!1),C=w(!1),N=w([]),_=w([]),Q=w(!1),S=w(null),H=x(()=>S.value==null?0:S.value.streamers.reduce((ie,q)=>ie+Math.max(0,q.presence)*Math.max(0,q.relevancy),0)*100),b=x(()=>S.value==null?0:S.value.enemyStreamers.reduce((ie,q)=>ie+Math.max(0,q.presence)*Math.max(0,q.relevancy),0)*100),I=fo(()=>({onReset(){e.value=3,t.value=0,a.value=0,n.value=0,i.value=[null,null,null],s.value=[],r.value=null,l.value=null,g.value=!1,S.value=null,f.value="",y.value=!1,C.value=!1,N.value=[],_.value=[]}})),P=w(!1);function te(){var ie,q;if(S.value==null)throw"Preparing move while not in battle";if(N.value.length===0&&S.value.team.length===0&&S.value.enemyTeam.length===0){if(S.value.ranLivestreamEnded===!1){S.value.streamers.forEach(T=>{W[T.type].abilityType==="LivestreamEnded"&&N.value.push({action:"LivestreamEnded",target:T})}),S.value.enemyStreamers.forEach(T=>{W[T.type].abilityType==="LivestreamEnded"&&N.value.push({action:"LivestreamEnded",target:T})}),S.value.ranLivestreamEnded=!0,te();return}f.value==="Victory"?t.value++:f.value==="Defeat"&&e.value--,y.value=!0;return}if(N.value.length===0?N.value.push({action:"join"}):N.value.length>1&&(N.value=N.value.sort((T,L)=>T.action!==L.action?1:T.target!=null&&L.target!=null?L.target.relevancy-T.target.relevancy:0)),z.autoplay===!1&&C.value===!1)p.value=!0;else{p.value=!1;const T=N.value.shift();switch(T.action){case"join":if(((ie=S.value.team.length)!=null?ie:0)>0){const L=S.value.team.pop();S.value.streamers.push(L),W[L.type].abilityType==="LivestreamJoined"&&N.value.unshift({action:"LivestreamJoined",target:L})}if(((q=S.value.enemyTeam.length)!=null?q:0)>0){const L=S.value.enemyTeam.pop();S.value.enemyStreamers.push(L),W[L.type].abilityType==="LivestreamJoined"&&N.value.unshift({action:"LivestreamJoined",target:L})}break;default:if(T.target==null){console.error("Invalid action",T);break}W[T.target.type].performAbility(T.target);break}C.value=!1,setTimeout(te,z.fast?750:1250)}}const ge=bo(()=>({fullscreen:!1,zIndex:10,boundingRect:w(null),onContainerResized(ie){this.boundingRect.value=ie}}));return{name:"Game",minimizable:!1,display:J(()=>{let ie;if(t.value>=5){let q;return o("div",{class:"total-outcome-container"},[o("span",{class:"total-outcome"},[v("You Won!")]),o("span",{class:"smiley"},[v("\u{1F603}")]),o(me,null,De(q=new Array(3).fill(0).map((T,L)=>o(we,{character:i.value[L]},null)))?q:{default:()=>[q]}),o("button",{class:"button",onClick:()=>location.reload()},[v("Play again")]),Ye(ge)])}if(e.value<=0){let q;return o("div",{class:"total-outcome-container"},[o("span",{class:"total-outcome"},[v("You ran out of lives!")]),o("span",{class:"smiley"},[v("\u{1F630}")]),o(me,null,De(q=new Array(3).fill(0).map((T,L)=>o(we,{character:i.value[L]},null)))?q:{default:()=>[q]}),o("button",{class:"button",onClick:()=>location.reload()},[v("Play again")]),Ye(ge)])}if(S.value!=null){let q,T,L,Ue;return o("div",{class:{["battle-container"]:!0,fast:z.fast}},[o("div",{class:"battle-controls"},[o("button",{class:"button",onClick:()=>{C.value=!0,te()}},[o("span",{class:"material-icons"},[v("play_arrow")]),o("span",null,[v("Play")])]),o("button",{class:{button:!0,active:z.autoplay},onClick:()=>{z.autoplay=!z.autoplay,p.value&&te()}},[o("span",{class:"material-icons"},[v("all_inclusive")]),o("span",null,[v("Autoplay")])]),o("button",{class:{button:!0,active:z.fast},onClick:()=>z.fast=!z.fast},[o("span",{class:"material-icons"},[v("fast_forward")]),o("span",null,[v("Fast")])])]),o("div",{class:"teams-container",style:y.value?"pointer-events: none;":""},[o("div",{class:"team-container"},[o("div",{class:"stream-container"},[o("div",{class:"stream-details",style:"left: 1vmin"},[o("span",{style:"margin-left: 0"},[_t.value,v(" (YOU)")]),o("div",{class:"stats",style:"margin-left: 0"},[o("div",{class:"resource-box"},[o("img",{src:dt},null),o("span",null,[e.value])]),o("div",{class:"resource-box"},[o("span",{class:"material-icons"},[v("emoji_events")]),o("span",null,[t.value,v("/5")])])])]),o("div",{class:"view-counter",style:"right: 1vmin"},[Et(H.value),v(" Views")]),o(me,{class:"streamers-container"},{default:()=>[o(lt,{name:"character-transition"},De(q=S.value.streamers.slice().reverse().map((le,Me)=>{var Ae;return o(we,{key:S.value.streamers.length-Me,character:le,shake:p.value&&((Ae=N.value[0])==null?void 0:Ae.target)===le},null)}))?q:{default:()=>[q]})]})]),o(me,{class:"members-container",style:"margin-left: 0; padding-right: 4vmin;"},{default:()=>[o(lt,{name:"character-transition"},De(T=S.value.team.map((le,Me)=>{var Ae,je,He,Ze;return o(we,{character:le,key:Me,shake:p.value&&((Ae=N.value[0])==null?void 0:Ae.action)==="join"&&le===((Ze=S.value)==null?void 0:Ze.team[((He=(je=S.value)==null?void 0:je.team.length)!=null?He:0)-1])},null)}))?T:{default:()=>[T]})]})]),o("div",{class:"team-container"},[o("div",{class:"stream-container"},[o("div",{class:"stream-details",style:"right: 1vmin"},[o("span",{style:"margin-right: 0"},[S.value.enemyNickname]),o("div",{class:"stats",style:"margin-right: 0"},[o("div",{class:"resource-box"},[o("img",{src:dt},null),o("span",null,[S.value.enemyLives])]),o("div",{class:"resource-box"},[o("span",{class:"material-icons"},[v("emoji_events")]),o("span",null,[S.value.enemyWins,v("/5")])])])]),o("div",{class:"view-counter",style:"left: 1vmin"},[Et(b.value),v(" Views")]),o(me,{class:"streamers-container"},{default:()=>[o(lt,{name:"character-transition"},De(L=S.value.enemyStreamers.map((le,Me)=>{var Ae;return o(we,{key:Me,character:le,shake:p.value&&((Ae=N.value[0])==null?void 0:Ae.target)===le},null)}))?L:{default:()=>[L]})]})]),o(me,{class:"members-container",style:"margin-right: 0; padding: 0 4vmin;"},{default:()=>[o(lt,{name:"character-transition"},De(Ue=S.value.enemyTeam.slice().reverse().map((le,Me)=>{var Ae,je,He,Ze;return o(we,{character:le,key:S.value.enemyStreamers.length+Me,shake:p.value&&((Ae=N.value[0])==null?void 0:Ae.action)==="join"&&le===((Ze=S.value)==null?void 0:Ze.enemyTeam[((He=(je=S.value)==null?void 0:je.enemyTeam.length)!=null?He:0)-1])},null)}))?Ue:{default:()=>[Ue]})]})])]),y.value?o("div",{class:"outcome",onClick:()=>fe("newTurn")},[o("span",null,[f.value]),o("span",{style:"font-size: 2vmin"},[v("Next Turn")])]):null])}return o("div",{class:"game-container",style:g.value?"pointer-events: none":"",onClick:()=>{r.value=null,l.value=null}},[o(me,{style:"position: absolute; top: 10px; left: -5px"},{default:()=>[o("div",{class:"resource-box"},[o("span",{class:"material-icons"},[v("credit_card")]),n.value]),o("div",{class:"resource-box"},[o("img",{src:dt},null),e.value]),o("div",{class:"resource-box"},[o("span",{class:"material-icons"},[v("emoji_events")]),t.value,v("/5")])]}),o("h2",{class:"team-nickname"},[_t.value]),o(me,{style:"margin-top: 10vh"},De(ie=new Array(3).fill(0).map((q,T)=>{var L,Ue;return o(we,{id:`team-char-${T}`,character:i.value[T],isSelected:r.value===T,selected:r.value==null?l.value==null||i.value[T]!=null&&((L=s.value[l.value])==null?void 0:L.type)!==((Ue=i.value[T])==null?void 0:Ue.type)||n.value<3?null:s.value[l.value]:i.value[r.value],isDragging:P.value,onClick:ea(T),onDragstart:()=>{P.value=!0,r.value=T,l.value=null},onDragend:()=>{P.value=!1,r.value=null,l.value=null},onDrop:()=>ea(T)()},null)}))?ie:{default:()=>[ie]}),o(me,{class:"shop"},{default:()=>[o("div",{class:"reroll",style:n.value>0?"":"color: var(--locked); cursor: not-allowed",onClick:()=>{n.value>0&&fe("reroll")}},[o("img",{src:Q.value?To:ko},null)]),s.value.map((q,T)=>o(we,{id:`shop-char-${T}`,frozen:_.value.includes(T),character:q==null?void 0:q,isSelected:l.value===T,isShop:!0,isDragging:P.value,onClick:L=>{q!=null&&(l.value=l.value===T?null:T,r.value=null,L.stopPropagation())},onDragstart:()=>{P.value=!0,r.value=null,l.value=T},onDragend:()=>{P.value=!1,r.value=null,l.value=null}},null))]}),o(hr,{height:"4vh"},null),g.value?o("div",{class:"waiting"},[v("Finding opposing team...")]):o(me,{class:"bottom-row"},{default:()=>[r.value==null?null:o("button",{class:"button",onDragover:q=>q.preventDefault(),onClick:()=>fe("sell",r.value),onDrop:()=>fe("sell",r.value)},[v("Sell")]),l.value==null?null:o("button",{class:"button",onDragover:q=>q.preventDefault(),onClick:()=>fe("freeze",l.value),onDrop:()=>fe("freeze",l.value)},[v("Freeze")]),o("div",{style:"flex-grow: 1"},null),o("img",{class:"startStream",draggable:"false",onClick:()=>{fe("stream"),g.value=!0},src:go},null)]}),Ye(ge)])}),lives:e,wins:t,turn:a,gold:n,team:i,shop:s,selectedCharacter:r,selectedShopItem:l,findingMatch:g,showingOutcome:y,outcome:f,reset:I,battle:S,frozen:_,playClicked:C,prepareMove:te,particles:ge,queue:N,showRefreshAnim:Q}});let ut=0;$.on("update",e=>{if(m.wins.value>=5){if(ut+=e,ut>=1){ut=0;const t=m.particles.boundingRect.value;if(!t)return;m.particles.addEmitter(Mo).then(a=>{a.updateOwnerPos(Math.random()*t.width,Math.random()*t.height),console.log(a),a.playOnceAndDestroy()})}}else ut=0});function ea(e){return t=>{var a,n,i,s,r,l,g;m.selectedCharacter.value!=null&&m.selectedCharacter.value!==e?((a=m.team.value[m.selectedCharacter.value])==null?void 0:a.type)===((n=m.team.value[e])==null?void 0:n.type)&&((s=(i=m.team.value[m.selectedCharacter.value])==null?void 0:i.exp)!=null?s:0)<6&&((l=(r=m.team.value[e])==null?void 0:r.exp)!=null?l:0)<6?(fe("merge",m.selectedCharacter.value,e),m.selectedCharacter.value=null):(fe("move",m.selectedCharacter.value,e),m.selectedCharacter.value=null):m.selectedCharacter.value===e?m.selectedCharacter.value=null:m.selectedShopItem.value!==null?((m.team.value[e]==null||m.team.value[e].type===((g=m.shop.value[m.selectedShopItem.value])==null?void 0:g.type)&&m.team.value[e].exp<6)&&m.gold.value>=3&&fe("buy",m.selectedShopItem.value,e),m.selectedShopItem.value=null):m.selectedCharacter.value=e,t==null||t.stopPropagation()}}const Do=e=>[m],Ia=x(()=>!1);function Ro(e,t){}var Vo=Object.freeze(Object.defineProperty({__proto__:null,characters:W,main:m,getInitialLayers:Do,hasWon:Ia,fixOldSave:Ro},Symbol.toStringTag,{value:"Module"}));const Po={class:"field"},xo=O({__name:"Toggle",props:{title:null,modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const a=e,n=x(()=>{var s;return Ne((s=u(a.title))!=null?s:"","span")}),i=x({get(){return!!a.modelValue},set(s){t("update:modelValue",s)}});return(s,r)=>(h(),B("label",Po,[kt(c("input",{type:"checkbox",class:"toggle","onUpdate:modelValue":r[0]||(r[0]=l=>Ce(i)?i.value=l:null)},null,512),[[Pa,u(i)]]),(h(),U(ce(u(n))))]))}});var Qt=K(xo,[["__scopeId","data-v-11046116"]]);const rt=e=>(Qe("data-v-4a50ce42"),e=e(),Se(),e),qo={class:"game-over-modal-header"},zo=["src","alt"],Fo={class:"game-over-modal-title"},Go=rt(()=>c("h2",null,"Congratulations!",-1)),Oo={key:0},Uo=rt(()=>c("br",null,null,-1)),Lo=rt(()=>c("div",null," Please check the Discord to discuss the game or to check for new content updates! ",-1)),Jo=rt(()=>c("br",null,null,-1)),Yo=["href"],Wo=rt(()=>c("span",{class:"material-icons game-over-modal-discord"},"discord",-1)),Xo=O({__name:"GameOverScreen",setup(e){const{title:t,logo:a,discordName:n,discordLink:i,versionNumber:s,versionTitle:r}=G,l=x(()=>Dt(V.timePlayed)),g=x(()=>Ia.value&&!V.keepGoing),f=Fe(V,"autosave");function y(){V.keepGoing=!0}function p(){Ve(Je())}return(C,N)=>(h(),U(Ge,{"model-value":u(g)},{header:R(()=>[c("div",qo,[u(a)?(h(),B("img",{key:0,class:"game-over-modal-logo",src:u(a),alt:u(t)},null,8,zo)):M("",!0),c("div",Fo,[Go,c("h4",null,"You've beaten "+F(u(t))+" v"+F(u(s))+": "+F(u(r)),1)])])]),body:R(({shown:_})=>[_?(h(),B("div",Oo,[c("div",null,"It took you "+F(u(l))+" to beat the game.",1),Uo,Lo,Jo,c("div",null,[c("a",{href:u(i),class:"game-over-modal-discord-link"},[Wo,v(" "+F(u(n)),1)],8,Yo)]),o(Qt,{title:"Autosave",modelValue:u(f),"onUpdate:modelValue":N[0]||(N[0]=Q=>Ce(f)?f.value=Q:null)},null,8,["modelValue"])])):M("",!0)]),footer:R(()=>[c("div",{class:"game-over-footer"},[c("button",{onClick:y,class:"button"},"Keep Going"),c("button",{onClick:p,class:"button danger"},"Play Again")])]),_:1},8,["model-value"]))}});var Ko=K(Xo,[["__scopeId","data-v-4a50ce42"]]);const bt=e=>(Qe("data-v-336bf74f"),e=e(),Se(),e),jo=bt(()=>c("div",{class:"nan-modal-header"},[c("h2",null,"NaN value detected!")],-1)),Ho={key:0},Zo=bt(()=>c("br",null,null,-1)),$o=["href"],el=bt(()=>c("span",{class:"material-icons nan-modal-discord"},"discord",-1)),tl=bt(()=>c("br",null,null,-1)),al={class:"nan-footer"},nl=O({__name:"NaNScreen",setup(e){const{discordName:t,discordLink:a}=G,n=w(!0),i=w(!0),s=Fe(Z,"hasNaN"),r=w(null);he(s,C=>{C?(n.value=V.autosave,i.value=V.devSpeed===0):(V.autosave=n.value,V.devSpeed=i.value?0:null)});const l=x(()=>{var C;return(C=Z.NaNPath)==null?void 0:C.join(".")}),g=x(()=>Z.NaNPersistent!=null?Z.NaNPersistent.value:null);function f(){Z.NaNPersistent!=null&&(Z.NaNPersistent.value=new E(0),Z.hasNaN=!1)}function y(){Z.NaNPersistent&&(Z.NaNPersistent.value=new E(1),Z.hasNaN=!1)}function p(){Z.NaNPersistent&&(Z.NaNPersistent.value=new E(NaN),Z.hasNaN=!1)}return(C,N)=>(h(),B(X,null,[o(Ge,tt({modelValue:u(s),"onUpdate:modelValue":N[4]||(N[4]=_=>Ce(s)?s.value=_:null)},C.$attrs),{header:R(()=>[jo]),body:R(()=>[c("div",null,[v(' Attempted to assign "'+F(u(l))+'" to NaN',1),u(g)?(h(),B("span",Ho,F(" ")+"(previously "+F(u(ca)(u(g)))+")",1)):M("",!0),v(". Auto-saving has been "+F(n.value?"enabled":"disabled")+". Check the console for more details, and consider sharing it with the developers on discord. ",1)]),Zo,c("div",null,[c("a",{href:u(a)||"https://discord.gg/WzejVAx",class:"nan-modal-discord-link"},[el,v(" "+F(u(t)||"The Paper Pilot Community"),1)],8,$o)]),tl,o(Qt,{title:"Autosave",modelValue:n.value,"onUpdate:modelValue":N[0]||(N[0]=_=>n.value=_)},null,8,["modelValue"]),u(G).enablePausing?(h(),U(Qt,{key:0,title:"Pause game",modelValue:i.value,"onUpdate:modelValue":N[1]||(N[1]=_=>i.value=_)},null,8,["modelValue"])):M("",!0)]),footer:R(()=>[c("div",al,[c("button",{onClick:N[2]||(N[2]=_=>{var Q;return(Q=r.value)==null?void 0:Q.open()}),class:"button"},"Open Saves Manager"),c("button",{onClick:f,class:"button"},"Set to 0"),c("button",{onClick:y,class:"button"},"Set to 1"),u(g)&&u(E).neq(u(g),0)&&u(E).neq(u(g),1)?(h(),B("button",{key:0,onClick:N[3]||(N[3]=_=>s.value=!1),class:"button"}," Set to previous ")):M("",!0),c("button",{onClick:p,class:"button danger"},"Ignore")])]),_:1},16,["modelValue"]),o(Ea,{ref_key:"savesManager",ref:r},null,512)],64))}});var il=K(nl,[["__scopeId","data-v-336bf74f"]]);var sl=O({__name:"App",setup(e){const t=G.useHeader,a=x(()=>vt[z.theme].variables);Fe(z,"showTPS");const n=x(()=>Ne(J(()=>o(X,null,[ii.map(Ye)]))));return(i,s)=>(h(),B(X,null,[c("div",{id:"modal-root",style:ze(u(a))},null,4),c("div",{class:ae(["app",{useHeader:u(t)}]),style:ze(u(a))},[u(t)?(h(),U(wa,{key:0})):M("",!0),o(fr),o(Ko),o(il),(h(),U(ce(u(n))))],6)],64))}});var rl=K(sl,[["__scopeId","data-v-48adfab3"]]);$.on("setupVue",e=>e.use(Ua));function ol(e={}){const{immediate:t=!1,onNeedRefresh:a,onOfflineReady:n,onRegistered:i,onRegisterError:s}=e;let r,l;const g=async(f=!0)=>{f&&(r==null||r.addEventListener("controlling",y=>{y.isUpdate&&window.location.reload()})),l&&l.waiting&&await Ka(l.waiting,{type:"SKIP_WAITING"})};if("serviceWorker"in navigator){r=new Xa("./sw.js",{scope:"./",type:"classic"}),r.addEventListener("activated",f=>{f.isUpdate||n==null||n()});{const f=()=>{a==null||a()};r.addEventListener("waiting",f),r.addEventListener("externalwaiting",f)}r.register({immediate:t}).then(f=>{l=f,i==null||i(f)}).catch(f=>{s==null||s(f)})}return g}function ll(e={}){const{immediate:t=!0,onNeedRefresh:a,onOfflineReady:n,onRegistered:i,onRegisterError:s}=e,r=w(!1),l=w(!1);return{updateServiceWorker:ol({immediate:t,onNeedRefresh(){r.value=!0,a==null||a()},onOfflineReady(){l.value=!0,n==null||n()},onRegistered:i,onRegisterError:s}),offlineReady:l,needRefresh:r}}document.title=G.title;window.projInfo=G;if(G.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 Zn();const{globalBus:e}=await gt(()=>Promise.resolve().then(function(){return jn}),void 0),{startGameLoop:t}=await gt(()=>import("./gameLoop.c11a58f2.js"),["assets/gameLoop.c11a58f2.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/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.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/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","assets/workbox-window.8d14e8b7.js"]),a=window.vue=xa(rl);e.emit("setupVue",a),a.mount("#app"),qe(()=>{const n=na(),{updateServiceWorker:i}=ll({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(){i()}})},onOfflineReady(){n.info("App ready to work offline")},onRegisterError:console.warn,onRegistered(s){s&&setInterval(()=>s.update(),60*60*1e3)}})}),t()});export{E as D,gt as _,Z as a,G as b,Vo as c,$ as g,$n as l,V as p,z as s}; diff --git a/index.html b/index.html index 5c16176..7bfcc09 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,7 @@ Profectus - + @@ -66,7 +66,7 @@ - + diff --git a/shop window.png b/shop window.png new file mode 100644 index 0000000000000000000000000000000000000000..3d2135519808a86c7b05cd9c18a9f4bbf0f7019a GIT binary patch literal 6482 zcmeHKXIN89m`(suI!Fmf=;{R#1f{8j77&oGTnI=DRYYn)nslTJK?J2YX<|T>UKBzL zA{dI4fIu)5>0N@fP3~Uz+3R|D{kMNS=Q+`OFHfoo+k(__`14#p~S_X%UsizD%Q{h-}=O(BJD}?OV(pmNeUD~4~PJ1&Qh89e4 zss$VfzI!^iU#$>emNI!h4}0O;!^6tVJ=apWQ;(B(7JJk}X))zj%G~i+aK!xxk+M)l zbiiffb~{*M*anOL-CDnr=;kh3k)lWPrBZrhHzT7{&$3slW)kHui5or-d)4M^>1Z(3 z6~@r*l?L3hE0n#}Z&H)B?ROC+f3p5Yi!BZG?VFZti^CrFp#|$MP1QsLU6k~rZ+_b{X% z5t9Z>EQCc}zuw%Zl+fz&S(}0WG|MT8#ETU-gl#K_J5myLEl=JUMY5zTg_nB(Ws`Yq zXU_NPy`yHRE4O7a5V2M+seNtF{-;=dSO!SEPNVNeOtR^xk=N1B*)P4AO+F_?eSOfh zWYBb6M2^Fwd*;ikPk*udd!4lEe$?PB&&GV6*04qW_GmyaK14#&GYS5TFVx0e5p_jPISS86s*O&m$~ag(^q?Tv zT>>Z%%$_&xN|iyRSHQfrSwkPauA>oh?ofhfMcWq0u1uuvvAZfS88`OnbwAJL!9I-wpm859B%Ba5i>`$+K|<{ zZTz4Yusx~t9KUE6oL%B7{+qnaV#OA)SYBs?eHdm6Vsd@$@#-AEy=SoW`_5NS+b2X5 z-RoC6F~sw9c(7*nz+JUweIqx^fXa5WWX?>S*D@$zcgqH;#=ZNvj@yf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qGRPmum>?y_>IyimES1 zuI<)1@nW5@t8bfDN0EvTuu3FFA10JlKp3>`2~@2GS$~Ad;KNkyJhNH138JPT2k*q+ zwrNqJtR`=IGHuI8UK#wVzZY}|8}tD)k%)jnzWD6Ib>ke#6?H%*Iy0ZP? z6bS<0VH_X|=Q$9Cm{%XX7ChTwE=Yy}{2tN4ik;^yi7zMh*pChZrr12PLrD1A1PuMp zsE}vQ9>~D1C*g*>vA1UJmgkP5Fu4c!`7qUgxgZBgFKDoi8|!;IrD)YyFI|*Dg%MDo zBxO(T53Nac%<_IqZbAIQNuX%si8bCh#A%D;Z&z03shabIcZTLzD?xKjuZ)R)aC zlXh_dfjtP`#T5COfU7e$V-EZzvod&p$Uez@S=g2FK`$Ch*ZHJ{$)iJy*@4A)tkNnu zA0LoEq_|GCnRa3?^EKA_NU?vud!_$yZf+W!6*RdMMPMdX8N&LQC`k{Xbh`X4TEIww z7qLCsYj@J=EXprj7?fg*TXR#6?_Lz2I6vI-t`-u#=(PGvezP3TW+ z`riuGAJ_LZ(*Gp~d610g*u`}3SJ_78q^tt~subU?`Kg$Gb1e61wkCp z_g_*@N%i?VbpPl2_+2W$OXc@U`Mpv6-Y9;)6IPn|Q-X$ND+r1~0ogo98@ppmMDnRE zMy3sNtVg?hf%on|7ZvyFtTOq54gQ=mJI7Z|6*TyXjUQWjKj->=oWD+g-q;_g*uSvt z@~yDHiND+)ahxz-a`oGW+v*^>h=VV=y9ZP(Y$E>~_5M(8_-o7rJ{csTgB|!p{52l` zbFTEANku>*eNqrT1mVZ)g~j-X_|>d?6@*qd-vpUEzr=H-{^wn11hQ<8iJbBnr2fSr tz)r0LTk@%a(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.61f5baa3.js",revision:null},{url:"assets/index.72497a63.css",revision:null},{url:"assets/index.ec87b70f.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:"3f7afaba7969d645c0113cacdf51a780"},{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 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.c11a58f2.js",revision:null},{url:"assets/index.e4aefb81.css",revision:null},{url:"assets/index.f325db4f.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:"2cd2e0ac6dae9a8cfc24ea572845707d"},{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")))}));