diff --git a/Ludwig Coots.png b/Ludwig Coots.png new file mode 100644 index 0000000..d77bd85 Binary files /dev/null and b/Ludwig Coots.png differ diff --git a/Lvl 1_0.png b/Lvl 1_0.png new file mode 100644 index 0000000..69864bb Binary files /dev/null and b/Lvl 1_0.png differ diff --git a/Lvl 1_1.png b/Lvl 1_1.png new file mode 100644 index 0000000..4a719b3 Binary files /dev/null and b/Lvl 1_1.png differ diff --git a/Lvl 2_0.png b/Lvl 2_0.png new file mode 100644 index 0000000..943f9f3 Binary files /dev/null and b/Lvl 2_0.png differ diff --git a/Lvl 2_1.png b/Lvl 2_1.png new file mode 100644 index 0000000..a34f3f3 Binary files /dev/null and b/Lvl 2_1.png differ diff --git a/Lvl 2_2.png b/Lvl 2_2.png new file mode 100644 index 0000000..af40834 Binary files /dev/null and b/Lvl 2_2.png differ diff --git a/Lvl 3.png b/Lvl 3.png new file mode 100644 index 0000000..3aefad7 Binary files /dev/null and b/Lvl 3.png differ diff --git a/Maid Coots.png b/Maid Coots.png new file mode 100644 index 0000000..e56e92f Binary files /dev/null and b/Maid Coots.png differ diff --git a/Mogul Mail Coots.png b/Mogul Mail Coots.png new file mode 100644 index 0000000..af42e6b Binary files /dev/null and b/Mogul Mail Coots.png differ diff --git a/Mogul Money Coots.png b/Mogul Money Coots.png new file mode 100644 index 0000000..8a9d71b Binary files /dev/null and b/Mogul Money Coots.png differ diff --git a/Normal Coots.png b/Normal Coots.png new file mode 100644 index 0000000..309af5c Binary files /dev/null and b/Normal Coots.png differ diff --git a/QT Coots.png b/QT Coots.png new file mode 100644 index 0000000..15544d9 Binary files /dev/null and b/QT Coots.png differ diff --git a/Stanz Coots.png b/Stanz Coots.png new file mode 100644 index 0000000..c54848b Binary files /dev/null and b/Stanz Coots.png differ diff --git a/Vespa Coots.png b/Vespa Coots.png new file mode 100644 index 0000000..8868c95 Binary files /dev/null and b/Vespa Coots.png differ diff --git a/apple-touch-icon.png b/apple-touch-icon.png new file mode 100644 index 0000000..e570640 Binary files /dev/null and b/apple-touch-icon.png differ diff --git a/assets/@fontsource.f66d05e7.css b/assets/@fontsource.f66d05e7.css new file mode 100644 index 0000000..b26296d --- /dev/null +++ b/assets/@fontsource.f66d05e7.css @@ -0,0 +1 @@ +@font-face{font-family:Material Icons;font-style:normal;font-display:swap;font-weight:400;src:url(./material-icons-base-400-normal.cc0462d5.woff2) format("woff2"),url(./material-icons-base-400-normal.47b692f3.woff) format("woff")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-cyrillic-ext-400-normal.eef02d41.woff2) format("woff2"),url(./roboto-mono-all-400-normal.66268f92.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-cyrillic-400-normal.8c367f2f.woff2) format("woff2"),url(./roboto-mono-all-400-normal.66268f92.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-greek-400-normal.53a8927b.woff2) format("woff2"),url(./roboto-mono-all-400-normal.66268f92.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA+kAA4AAAAAIHQAAA9KAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHDYGYD9TVEFUSACBGBEICrFAqioLghAAATYCJAOCEAQgBYUEByAMBxvcGqOihpNW/BR/kWAb037ocxggUkRKVogUrLbREc8h/LaXsm0a7zAYH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6x+lHTCAS1+EZPkeMpJirPZhm3EUVwWfyIquksxo8aOR16RyD3tUy95YCkpxD65pI9N5EEUKEf7W/Q0tAD19OzHi6SAFqS8ZbFnzrQIcwIteeIwJK9Yd21ghQe4J6APRn0FhciBPL6KU9H5LNGM0uAtDVbiEUOmbF7mBIpDVpNTzoiWJeOxU+AFE7jngCKCetl/Jc8nfJ6Lk9XPraA1l1oBG6TNExsyhM5zEb30KbsBo11Dvn0o+cN9mADIAAgA4z7x0QPdo7+QmPSAADg6Hs/EADg5vXvxW/8zxVKKs0AAHQgAQAAAvjYHI+dsch/py4BCC4fEmFnAOhst0GVZlpYptk0p2CkrZIspWs3bGDUDGx0tFgofKR0ZIlDMDNRf3zg1J8BdIXfXBATxSA9SkBhqBF0lt0V9He/G0OHg7abdmI/9pMjc4NTYKsycjHY31iXNrLAkTXbatNCEh9dpvJpNuHOE+FF42RrhgMsMvMxOsAfAo4aAi5s1UjgBCc1MkTCdQ0DArlpOPBQuEYBGdJvcoKCDNsBATigkxITrgonFgrMtfnkDyWqZzKCWaVyFRqJIASCIBjCQAQFXCpleisznKRGwqRsXmeaecyKVRm50d+M1wRWkUyzoZQraM1GpsmMBNWeWa4SR8zlBoFgTLzWRRSrj5U1SpVxRDUaSuVmF7WrqfhKMvVK3Z5NahQzC+VBVzUKUuUuShXl715NEABDSnggLCtiNFFeiRojYh02k7s0rhW3XFlgm5lmbiw8DywkeSepzEpGzuqEl5bm2lnSJUqWI1+yAAgRkNtbaSNZ+iyK/XlOS3itNYkMl6OzVykBgKDhztin2FoAAAA=) format("woff2"),url(./roboto-mono-all-400-normal.66268f92.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-latin-ext-400-normal.820adbd1.woff2) format("woff2"),url(./roboto-mono-all-400-normal.66268f92.woff) format("woff");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-latin-400-normal.7295944e.woff2) format("woff2"),url(./roboto-mono-all-400-normal.66268f92.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD} diff --git a/assets/@socket.io.aec831e2.js b/assets/@socket.io.aec831e2.js new file mode 100644 index 0000000..5379da2 --- /dev/null +++ b/assets/@socket.io.aec831e2.js @@ -0,0 +1 @@ +function r(t){if(t)return n(t)}function n(t){for(var s in r.prototype)t[s]=r.prototype[s];return t}r.prototype.on=r.prototype.addEventListener=function(t,s){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(s),this};r.prototype.once=function(t,s){function e(){this.off(t,e),s.apply(this,arguments)}return e.fn=s,this.on(t,e),this};r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,s){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var e=this._callbacks["$"+t];if(!e)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var a,i=0;i!!n[r.toLowerCase()]:r=>!!n[r]}const wf="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",Nf=Ne(wf),Pf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Of=Ne(Pf);function Go(e){return!!e||e===""}function Un(e){if(V(e)){const t={};for(let n=0;n{if(n){const s=n.split(Af);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function jn(e){let t="";if(z(e))t=e;else if(V(e))for(let n=0;nht(n,t))}const Hf=e=>z(e)?e:e==null?"":V(e)||fe(e)&&(e.toString===nl||!W(e.toString))?JSON.stringify(e,tl,2):String(e),tl=(e,t)=>t&&t.__v_isRef?tl(e,t.value):Qt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Dt(t)?{[`Set(${t.size})`]:[...t.values()]}:fe(t)&&!V(t)&&!sl(t)?String(t):t,Q={},Xt=[],Me=()=>{},us=()=>!1,Vf=/^on[^a-z]/,$t=e=>Vf.test(e),Jr=e=>e.startsWith("onUpdate:"),ee=Object.assign,Yr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Uf=Object.prototype.hasOwnProperty,Z=(e,t)=>Uf.call(e,t),V=Array.isArray,Qt=e=>Kn(e)==="[object Map]",Dt=e=>Kn(e)==="[object Set]",Qi=e=>Kn(e)==="[object Date]",W=e=>typeof e=="function",z=e=>typeof e=="string",gt=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",Zr=e=>fe(e)&&W(e.then)&&W(e.catch),nl=Object.prototype.toString,Kn=e=>nl.call(e),jf=e=>Kn(e).slice(8,-1),sl=e=>Kn(e)==="[object Object]",Xr=e=>z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ot=Ne(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kf=Ne("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ds=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xf=/-(\w)/g,Te=Ds(e=>e.replace(xf,(t,n)=>n?n.toUpperCase():"")),Wf=/\B([A-Z])/g,xe=Ds(e=>e.replace(Wf,"-$1").toLowerCase()),Ht=Ds(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gt=Ds(e=>e?`on${Ht(e)}`:""),nn=(e,t)=>!Object.is(e,t),en=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},mt=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Gi;const qf=()=>Gi||(Gi=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Oe;class Qr{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Oe&&(this.parent=Oe,this.index=(Oe.scopes||(Oe.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Oe;try{return Oe=this,t()}finally{Oe=n}}}on(){Oe=this}off(){Oe=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},il=e=>(e.w&yt)>0,ol=e=>(e.n&yt)>0,Zf=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(f==="length"||f>=s)&&l.push(c)});else switch(n!==void 0&&l.push(o.get(n)),t){case"add":V(e)?Xr(n)&&l.push(o.get("length")):(l.push(o.get(Rt)),Qt(e)&&l.push(o.get(Sr)));break;case"delete":V(e)||(l.push(o.get(Rt)),Qt(e)&&l.push(o.get(Sr)));break;case"set":Qt(e)&&l.push(o.get(Rt));break}if(l.length===1)l[0]&&vr(l[0]);else{const c=[];for(const f of l)f&&c.push(...f);vr(Gr(c))}}function vr(e,t){const n=V(e)?e:[...e];for(const s of n)s.computed&&to(s);for(const s of n)s.computed||to(s)}function to(e,t){(e!==Ke||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const ea=Ne("__proto__,__v_isRef,__isVue"),fl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(gt)),ta=Hs(),na=Hs(!1,!0),sa=Hs(!0),ra=Hs(!0,!0),no=ia();function ia(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Y(this);for(let i=0,o=this.length;i{e[t]=function(...n){Vt();const s=Y(this)[t].apply(this,n);return Ut(),s}}),e}function Hs(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?ml:gl:t?hl:dl).get(s))return s;const o=V(s);if(!e&&o&&Z(no,r))return Reflect.get(no,r,i);const l=Reflect.get(s,r,i);return(gt(r)?fl.has(r):ea(r))||(e||Be(s,"get",r),t)?l:de(l)?o&&Xr(r)?l:l.value:fe(l)?e?ti(l):js(l):l}}const oa=al(),la=al(!0);function al(e=!1){return function(n,s,r,i){let o=n[s];if(sn(o)&&de(o)&&!de(r))return!1;if(!e&&!sn(r)&&(bs(r)||(r=Y(r),o=Y(o)),!V(n)&&de(o)&&!de(r)))return o.value=r,!0;const l=V(n)&&Xr(s)?Number(s)e,Vs=e=>Reflect.getPrototypeOf(e);function Gn(e,t,n=!1,s=!1){e=e.__v_raw;const r=Y(e),i=Y(t);n||(t!==i&&Be(r,"get",t),Be(r,"get",i));const{has:o}=Vs(r),l=s?ei:n?ri:In;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function es(e,t=!1){const n=this.__v_raw,s=Y(n),r=Y(e);return t||(e!==r&&Be(s,"has",e),Be(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function ts(e,t=!1){return e=e.__v_raw,!t&&Be(Y(e),"iterate",Rt),Reflect.get(e,"size",e)}function so(e){e=Y(e);const t=Y(this);return Vs(t).has.call(t,e)||(t.add(e),st(t,"add",e,e)),this}function ro(e,t){t=Y(t);const n=Y(this),{has:s,get:r}=Vs(n);let i=s.call(n,e);i||(e=Y(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?nn(t,o)&&st(n,"set",e,t):st(n,"add",e,t),this}function io(e){const t=Y(this),{has:n,get:s}=Vs(t);let r=n.call(t,e);r||(e=Y(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&st(t,"delete",e,void 0),i}function oo(){const e=Y(this),t=e.size!==0,n=e.clear();return t&&st(e,"clear",void 0,void 0),n}function ns(e,t){return function(s,r){const i=this,o=i.__v_raw,l=Y(o),c=t?ei:e?ri:In;return!e&&Be(l,"iterate",Rt),o.forEach((f,a)=>s.call(r,c(f),c(a),i))}}function ss(e,t,n){return function(...s){const r=this.__v_raw,i=Y(r),o=Qt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),a=n?ei:t?ri:In;return!t&&Be(i,"iterate",c?Sr:Rt),{next(){const{value:u,done:d}=f.next();return d?{value:u,done:d}:{value:l?[a(u[0]),a(u[1])]:a(u),done:d}},[Symbol.iterator](){return this}}}}function ot(e){return function(...t){return e==="delete"?!1:this}}function da(){const e={get(i){return Gn(this,i)},get size(){return ts(this)},has:es,add:so,set:ro,delete:io,clear:oo,forEach:ns(!1,!1)},t={get(i){return Gn(this,i,!1,!0)},get size(){return ts(this)},has:es,add:so,set:ro,delete:io,clear:oo,forEach:ns(!1,!0)},n={get(i){return Gn(this,i,!0)},get size(){return ts(this,!0)},has(i){return es.call(this,i,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:ns(!0,!1)},s={get(i){return Gn(this,i,!0,!0)},get size(){return ts(this,!0)},has(i){return es.call(this,i,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:ns(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=ss(i,!1,!1),n[i]=ss(i,!0,!1),t[i]=ss(i,!1,!0),s[i]=ss(i,!0,!0)}),[e,n,t,s]}const[ha,ga,ma,ya]=da();function Us(e,t){const n=t?e?ya:ma:e?ga:ha;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Z(n,r)&&r in s?n:s,r,i)}const ba={get:Us(!1,!1)},_a={get:Us(!1,!0)},Ea={get:Us(!0,!1)},Ca={get:Us(!0,!0)},dl=new WeakMap,hl=new WeakMap,gl=new WeakMap,ml=new WeakMap;function Ta(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Sa(e){return e.__v_skip||!Object.isExtensible(e)?0:Ta(jf(e))}function js(e){return sn(e)?e:Ks(e,!1,ul,ba,dl)}function yl(e){return Ks(e,!1,ua,_a,hl)}function ti(e){return Ks(e,!0,pl,Ea,gl)}function va(e){return Ks(e,!0,pa,Ca,ml)}function Ks(e,t,n,s,r){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Sa(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function At(e){return sn(e)?At(e.__v_raw):!!(e&&e.__v_isReactive)}function sn(e){return!!(e&&e.__v_isReadonly)}function bs(e){return!!(e&&e.__v_isShallow)}function ni(e){return At(e)||sn(e)}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function si(e){return ys(e,"__v_skip",!0),e}const In=e=>fe(e)?js(e):e,ri=e=>fe(e)?ti(e):e;function ii(e){pt&&Ke&&(e=Y(e),cl(e.dep||(e.dep=Gr())))}function xs(e,t){e=Y(e),e.dep&&vr(e.dep)}function de(e){return!!(e&&e.__v_isRef===!0)}function ps(e){return bl(e,!1)}function wa(e){return bl(e,!0)}function bl(e,t){return de(e)?e:new Na(e,t)}class Na{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Y(t),this._value=n?t:In(t)}get value(){return ii(this),this._value}set value(t){t=this.__v_isShallow?t:Y(t),nn(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:In(t),xs(this))}}function Pa(e){xs(e)}function _l(e){return de(e)?e.value:e}const Oa={get:(e,t,n)=>_l(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return de(r)&&!de(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function oi(e){return At(e)?e:new Proxy(e,Oa)}class Ra{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>ii(this),()=>xs(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function Aa(e){return new Ra(e)}function Ia(e){const t=V(e)?new Array(e.length):{};for(const n in e)t[n]=El(e,n);return t}class Ma{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function El(e,t,n){const s=e[t];return de(s)?s:new Ma(e,t,n)}class ka{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new xn(t,()=>{this._dirty||(this._dirty=!0,xs(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Y(this);return ii(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Fa(e,t,n=!1){let s,r;const i=W(e);return i?(s=e,r=Me):(s=e.get,r=e.set),new ka(s,r,i||!r,n)}const Cn=[];function Cl(e,...t){Vt();const n=Cn.length?Cn[Cn.length-1].component:null,s=n&&n.appContext.config.warnHandler,r=La();if(s)Ye(s,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:i})=>`at <${dc(n,i.type)}>`).join(` +`),r]);else{const i=[`[Vue warn]: ${e}`,...t];r.length&&i.push(` +`,...Ba(r)),console.warn(...i)}Ut()}function La(){let e=Cn[Cn.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function Ba(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[` +`],...$a(n))}),t}function $a({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,r=` at <${dc(e.component,e.type,s)}`,i=">"+n;return e.props?[r,...Da(e.props),i]:[r+i]}function Da(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...Tl(s,e[s]))}),n.length>3&&t.push(" ..."),t}function Tl(e,t,n){return z(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:de(t)?(t=Tl(e,Y(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):W(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Y(t),n?t:[`${e}=`,t])}function Ye(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){jt(i,t,n)}return r}function ke(e,t,n,s){if(W(e)){const i=Ye(e,t,n,s);return i&&Zr(i)&&i.catch(o=>{jt(o,t,n)}),i}const r=[];for(let i=0;i>>1;Mn(Ae[s])et&&Ae.splice(t,1)}function wl(e,t,n,s){V(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),vl()}function ja(e){wl(e,_n,Tn,zt)}function ai(e){wl(e,ft,Sn,Jt)}function Ws(e,t=null){if(Tn.length){for(Nr=t,_n=[...new Set(Tn)],Tn.length=0,zt=0;zt<_n.length;zt++)_n[zt]();_n=null,zt=0,Nr=null,Ws(e,t)}}function Es(e){if(Ws(),Sn.length){const t=[...new Set(Sn)];if(Sn.length=0,ft){ft.push(...t);return}for(ft=t,ft.sort((n,s)=>Mn(n)-Mn(s)),Jt=0;Jte.id==null?1/0:e.id;function Nl(e){wr=!1,_s=!0,Ws(e),Ae.sort((n,s)=>Mn(n)-Mn(s));const t=Me;try{for(et=0;etYt.emit(r,...i)),rs=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((s=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||s===void 0)&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Pl(i,t)}),setTimeout(()=>{Yt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,rs=[])},3e3)):rs=[]}function Ka(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Q;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const a=`${o==="modelValue"?"model":o}Modifiers`,{number:u,trim:d}=s[a]||Q;d&&(r=n.map(m=>m.trim())),u&&(r=n.map(mt))}let l,c=s[l=Gt(t)]||s[l=Gt(Te(t))];!c&&i&&(c=s[l=Gt(xe(t))]),c&&ke(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ke(f,e,6,r)}}function Ol(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!W(e)){const c=f=>{const a=Ol(f,t,!0);a&&(l=!0,ee(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(s.set(e,null),null):(V(i)?i.forEach(c=>o[c]=null):ee(o,i),s.set(e,o),o)}function qs(e,t){return!e||!$t(t)?!1:(t=t.slice(2).replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,xe(t))||Z(e,t))}let be=null,zs=null;function kn(e){const t=be;return be=e,zs=e&&e.type.__scopeId||null,t}function xa(e){zs=e}function Wa(){zs=null}const qa=e=>ui;function ui(e,t=be,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&kr(-1);const i=kn(t),o=e(...r);return kn(i),s._d&&kr(1),o};return s._n=!0,s._c=!0,s._d=!0,s}function ds(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:c,emit:f,render:a,renderCache:u,data:d,setupState:m,ctx:b,inheritAttrs:T}=e;let N,y;const h=kn(e);try{if(n.shapeFlag&4){const S=r||s;N=Re(a.call(S,S,u,i,m,d,b)),y=c}else{const S=t;N=Re(S.length>1?S(i,{attrs:c,slots:l,emit:f}):S(i,null)),y=t.props?c:Ja(c)}}catch(S){Pn.length=0,jt(S,e,1),N=le(Ee)}let C=N;if(y&&T!==!1){const S=Object.keys(y),{shapeFlag:F}=C;S.length&&F&7&&(o&&S.some(Jr)&&(y=Ya(y,o)),C=Ze(C,y))}return n.dirs&&(C=Ze(C),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),N=C,kn(h),N}function za(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||$t(n))&&((t||(t={}))[n]=e[n]);return t},Ya=(e,t)=>{const n={};for(const s in e)(!Jr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Za(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?lo(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let u=0;ue.__isSuspense,Xa={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,f){e==null?Ga(t,n,s,r,i,o,l,c,f):eu(e,t,n,s,r,o,l,c,f)},hydrate:tu,create:di,normalize:nu},Qa=Xa;function Fn(e,t){const n=e.props&&e.props[t];W(n)&&n()}function Ga(e,t,n,s,r,i,o,l,c){const{p:f,o:{createElement:a}}=c,u=a("div"),d=e.suspense=di(e,r,s,t,u,n,i,o,l,c);f(null,d.pendingBranch=e.ssContent,u,null,s,d,i,o),d.deps>0?(Fn(e,"onPending"),Fn(e,"onFallback"),f(null,e.ssFallback,t,n,s,null,i,o),tn(d,e.ssFallback)):d.resolve()}function eu(e,t,n,s,r,i,o,l,{p:c,um:f,o:{createElement:a}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const d=t.ssContent,m=t.ssFallback,{activeBranch:b,pendingBranch:T,isInFallback:N,isHydrating:y}=u;if(T)u.pendingBranch=d,Je(d,T)?(c(T,d,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0?u.resolve():N&&(c(b,m,n,s,r,null,i,o,l),tn(u,m))):(u.pendingId++,y?(u.isHydrating=!1,u.activeBranch=T):f(T,r,u),u.deps=0,u.effects.length=0,u.hiddenContainer=a("div"),N?(c(null,d,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0?u.resolve():(c(b,m,n,s,r,null,i,o,l),tn(u,m))):b&&Je(d,b)?(c(b,d,n,s,r,u,i,o,l),u.resolve(!0)):(c(null,d,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0&&u.resolve()));else if(b&&Je(d,b))c(b,d,n,s,r,u,i,o,l),tn(u,d);else if(Fn(t,"onPending"),u.pendingBranch=d,u.pendingId++,c(null,d,u.hiddenContainer,null,r,u,i,o,l),u.deps<=0)u.resolve();else{const{timeout:h,pendingId:C}=u;h>0?setTimeout(()=>{u.pendingId===C&&u.fallback(m)},h):h===0&&u.fallback(m)}}function di(e,t,n,s,r,i,o,l,c,f,a=!1){const{p:u,m:d,um:m,n:b,o:{parentNode:T,remove:N}}=f,y=mt(e.props&&e.props.timeout),h={vnode:e,parent:t,parentComponent:n,isSVG:o,container:s,hiddenContainer:r,anchor:i,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:a,isUnmounted:!1,effects:[],resolve(C=!1){const{vnode:S,activeBranch:F,pendingBranch:H,pendingId:v,effects:_,parentComponent:I,container:O}=h;if(h.isHydrating)h.isHydrating=!1;else if(!C){const j=F&&H.transition&&H.transition.mode==="out-in";j&&(F.transition.afterLeave=()=>{v===h.pendingId&&d(H,O,$,0)});let{anchor:$}=h;F&&($=b(F),m(F,I,h,!0)),j||d(H,O,$,0)}tn(h,H),h.pendingBranch=null,h.isInFallback=!1;let B=h.parent,A=!1;for(;B;){if(B.pendingBranch){B.effects.push(..._),A=!0;break}B=B.parent}A||ai(_),h.effects=[],Fn(S,"onResolve")},fallback(C){if(!h.pendingBranch)return;const{vnode:S,activeBranch:F,parentComponent:H,container:v,isSVG:_}=h;Fn(S,"onFallback");const I=b(F),O=()=>{!h.isInFallback||(u(null,C,v,I,H,null,_,l,c),tn(h,C))},B=C.transition&&C.transition.mode==="out-in";B&&(F.transition.afterLeave=O),h.isInFallback=!0,m(F,H,null,!0),B||O()},move(C,S,F){h.activeBranch&&d(h.activeBranch,C,S,F),h.container=C},next(){return h.activeBranch&&b(h.activeBranch)},registerDep(C,S){const F=!!h.pendingBranch;F&&h.deps++;const H=C.vnode.el;C.asyncDep.catch(v=>{jt(v,C,0)}).then(v=>{if(C.isUnmounted||h.isUnmounted||h.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:_}=C;Fr(C,v,!1),H&&(_.el=H);const I=!H&&C.subTree.el;S(C,_,T(H||C.subTree.el),H?null:b(C.subTree),h,o,c),I&&N(I),pi(C,_.el),F&&--h.deps===0&&h.resolve()})},unmount(C,S){h.isUnmounted=!0,h.activeBranch&&m(h.activeBranch,n,C,S),h.pendingBranch&&m(h.pendingBranch,n,C,S)}};return h}function tu(e,t,n,s,r,i,o,l,c){const f=t.suspense=di(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),a=c(e,f.pendingBranch=t.ssContent,n,f,i,o);return f.deps===0&&f.resolve(),a}function nu(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=co(s?n.default:n),e.ssFallback=s?co(n.fallback):le(Ee)}function co(e){let t;if(W(e)){const n=Lt&&e._c;n&&(e._d=!1,Gs()),e=e(),n&&(e._d=!0,t=we,sc())}return V(e)&&(e=za(e)),e=Re(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Al(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):ai(e)}function tn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,r=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=r,pi(s,r))}function Il(e,t){if(pe){let n=pe.provides;const s=pe.parent&&pe.parent.provides;s===n&&(n=pe.provides=Object.create(s)),n[e]=t}}function vn(e,t,n=!1){const s=pe||be;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&W(t)?t.call(s.proxy):t}}function su(e,t){return Wn(e,null,t)}function Ml(e,t){return Wn(e,null,{flush:"post"})}function ru(e,t){return Wn(e,null,{flush:"sync"})}const fo={};function wn(e,t,n){return Wn(e,t,n)}function Wn(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=Q){const l=pe;let c,f=!1,a=!1;if(de(e)?(c=()=>e.value,f=bs(e)):At(e)?(c=()=>e,s=!0):V(e)?(a=!0,f=e.some(y=>At(y)||bs(y)),c=()=>e.map(y=>{if(de(y))return y.value;if(At(y))return Nt(y);if(W(y))return Ye(y,l,2)})):W(e)?t?c=()=>Ye(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return u&&u(),ke(e,l,3,[d])}:c=Me,t&&s){const y=c;c=()=>Nt(y())}let u,d=y=>{u=N.onStop=()=>{Ye(y,l,4)}};if(ln)return d=Me,t?n&&ke(t,l,3,[c(),a?[]:void 0,d]):c(),Me;let m=a?[]:fo;const b=()=>{if(!!N.active)if(t){const y=N.run();(s||f||(a?y.some((h,C)=>nn(h,m[C])):nn(y,m)))&&(u&&u(),ke(t,l,3,[y,m===fo?void 0:m,d]),m=y)}else N.run()};b.allowRecurse=!!t;let T;r==="sync"?T=b:r==="post"?T=()=>me(b,l&&l.suspense):T=()=>ja(b);const N=new xn(c,T);return t?n?b():m=N.run():r==="post"?me(N.run.bind(N),l&&l.suspense):N.run(),()=>{N.stop(),l&&l.scope&&Yr(l.scope.effects,N)}}function iu(e,t,n){const s=this.proxy,r=z(e)?e.includes(".")?kl(s,e):()=>s[e]:e.bind(s,s);let i;W(t)?i=t:(i=t.handler,n=t);const o=pe;_t(this);const l=Wn(r,i.bind(s),n);return o?_t(o):dt(),l}function kl(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{Nt(n,t)});else if(sl(e))for(const n in e)Nt(e[n],t);return e}function hi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return zn(()=>{e.isMounted=!0}),Xs(()=>{e.isUnmounting=!0}),e}const De=[Function,Array],ou={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:De,onEnter:De,onAfterEnter:De,onEnterCancelled:De,onBeforeLeave:De,onLeave:De,onAfterLeave:De,onLeaveCancelled:De,onBeforeAppear:De,onAppear:De,onAfterAppear:De,onAppearCancelled:De},setup(e,{slots:t}){const n=Ct(),s=hi();let r;return()=>{const i=t.default&&Js(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const T of i)if(T.type!==Ee){o=T;break}}const l=Y(e),{mode:c}=l;if(s.isLeaving)return ur(o);const f=ao(o);if(!f)return ur(o);const a=rn(f,l,s,n);Ft(f,a);const u=n.subTree,d=u&&ao(u);let m=!1;const{getTransitionKey:b}=f.type;if(b){const T=b();r===void 0?r=T:T!==r&&(r=T,m=!0)}if(d&&d.type!==Ee&&(!Je(f,d)||m)){const T=rn(d,l,s,n);if(Ft(d,T),c==="out-in")return s.isLeaving=!0,T.afterLeave=()=>{s.isLeaving=!1,n.update()},ur(o);c==="in-out"&&f.type!==Ee&&(T.delayLeave=(N,y,h)=>{const C=Fl(s,d);C[String(d.key)]=d,N._leaveCb=()=>{y(),N._leaveCb=void 0,delete a.delayedLeave},a.delayedLeave=h})}return o}}},gi=ou;function Fl(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function rn(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:a,onBeforeLeave:u,onLeave:d,onAfterLeave:m,onLeaveCancelled:b,onBeforeAppear:T,onAppear:N,onAfterAppear:y,onAppearCancelled:h}=t,C=String(e.key),S=Fl(n,e),F=(_,I)=>{_&&ke(_,s,9,I)},H=(_,I)=>{const O=I[1];F(_,I),V(_)?_.every(B=>B.length<=1)&&O():_.length<=1&&O()},v={mode:i,persisted:o,beforeEnter(_){let I=l;if(!n.isMounted)if(r)I=T||l;else return;_._leaveCb&&_._leaveCb(!0);const O=S[C];O&&Je(e,O)&&O.el._leaveCb&&O.el._leaveCb(),F(I,[_])},enter(_){let I=c,O=f,B=a;if(!n.isMounted)if(r)I=N||c,O=y||f,B=h||a;else return;let A=!1;const j=_._enterCb=$=>{A||(A=!0,$?F(B,[_]):F(O,[_]),v.delayedLeave&&v.delayedLeave(),_._enterCb=void 0)};I?H(I,[_,j]):j()},leave(_,I){const O=String(e.key);if(_._enterCb&&_._enterCb(!0),n.isUnmounting)return I();F(u,[_]);let B=!1;const A=_._leaveCb=j=>{B||(B=!0,I(),j?F(b,[_]):F(m,[_]),_._leaveCb=void 0,S[O]===e&&delete S[O])};S[O]=e,d?H(d,[_,A]):A()},clone(_){return rn(_,t,n,s)}};return v}function ur(e){if(qn(e))return e=Ze(e),e.children=null,e}function ao(e){return qn(e)?e.children?e.children[0]:void 0:e}function Ft(e,t){e.shapeFlag&6&&e.component?Ft(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Js(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;function lu(e){W(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:l}=e;let c=null,f,a=0;const u=()=>(a++,c=null,d()),d=()=>{let m;return c||(m=c=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),l)return new Promise((T,N)=>{l(b,()=>T(u()),()=>N(b),a+1)});throw b}).then(b=>m!==c&&c?c:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),f=b,b)))};return mi({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return f},setup(){const m=pe;if(f)return()=>pr(f,m);const b=h=>{c=null,jt(h,m,13,!s)};if(o&&m.suspense||ln)return d().then(h=>()=>pr(h,m)).catch(h=>(b(h),()=>s?le(s,{error:h}):null));const T=ps(!1),N=ps(),y=ps(!!r);return r&&setTimeout(()=>{y.value=!1},r),i!=null&&setTimeout(()=>{if(!T.value&&!N.value){const h=new Error(`Async component timed out after ${i}ms.`);b(h),N.value=h}},i),d().then(()=>{T.value=!0,m.parent&&qn(m.parent.vnode)&&fi(m.parent.update)}).catch(h=>{b(h),N.value=h}),()=>{if(T.value&&f)return pr(f,m);if(N.value&&s)return le(s,{error:N.value});if(n&&!y.value)return le(n)}}})}function pr(e,{vnode:{ref:t,props:n,children:s,shapeFlag:r},parent:i}){const o=le(e,n,s);return o.ref=t,o}const qn=e=>e.type.__isKeepAlive,cu={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ct(),s=n.ctx;if(!s.renderer)return()=>{const h=t.default&&t.default();return h&&h.length===1?h[0]:h};const r=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:c,m:f,um:a,o:{createElement:u}}}=s,d=u("div");s.activate=(h,C,S,F,H)=>{const v=h.component;f(h,C,S,0,l),c(v.vnode,h,C,S,v,l,F,h.slotScopeIds,H),me(()=>{v.isDeactivated=!1,v.a&&en(v.a);const _=h.props&&h.props.onVnodeMounted;_&&ve(_,v.parent,h)},l)},s.deactivate=h=>{const C=h.component;f(h,d,null,1,l),me(()=>{C.da&&en(C.da);const S=h.props&&h.props.onVnodeUnmounted;S&&ve(S,C.parent,h),C.isDeactivated=!0},l)};function m(h){dr(h),a(h,n,l,!0)}function b(h){r.forEach((C,S)=>{const F=ws(C.type);F&&(!h||!h(F))&&T(S)})}function T(h){const C=r.get(h);!o||C.type!==o.type?m(C):o&&dr(o),r.delete(h),i.delete(h)}wn(()=>[e.include,e.exclude],([h,C])=>{h&&b(S=>En(h,S)),C&&b(S=>!En(C,S))},{flush:"post",deep:!0});let N=null;const y=()=>{N!=null&&r.set(N,hr(n.subTree))};return zn(y),Zs(y),Xs(()=>{r.forEach(h=>{const{subTree:C,suspense:S}=n,F=hr(C);if(h.type===F.type){dr(F);const H=F.component.da;H&&me(H,S);return}m(h)})}),()=>{if(N=null,!t.default)return null;const h=t.default(),C=h[0];if(h.length>1)return o=null,h;if(!bt(C)||!(C.shapeFlag&4)&&!(C.shapeFlag&128))return o=null,C;let S=hr(C);const F=S.type,H=ws(It(S)?S.type.__asyncResolved||{}:F),{include:v,exclude:_,max:I}=e;if(v&&(!H||!En(v,H))||_&&H&&En(_,H))return o=S,C;const O=S.key==null?F:S.key,B=r.get(O);return S.el&&(S=Ze(S),C.shapeFlag&128&&(C.ssContent=S)),N=O,B?(S.el=B.el,S.component=B.component,S.transition&&Ft(S,S.transition),S.shapeFlag|=512,i.delete(O),i.add(O)):(i.add(O),I&&i.size>parseInt(I,10)&&T(i.values().next().value)),S.shapeFlag|=256,o=S,Rl(C.type)?C:S}}},fu=cu;function En(e,t){return V(e)?e.some(n=>En(n,t)):z(e)?e.split(",").includes(t):e.test?e.test(t):!1}function Ll(e,t){$l(e,"a",t)}function Bl(e,t){$l(e,"da",t)}function $l(e,t,n=pe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ys(t,s,n),n){let r=n.parent;for(;r&&r.parent;)qn(r.parent.vnode)&&au(s,t,n,r),r=r.parent}}function au(e,t,n,s){const r=Ys(t,e,s,!0);Qs(()=>{Yr(s[t],r)},n)}function dr(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function hr(e){return e.shapeFlag&128?e.ssContent:e}function Ys(e,t,n=pe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Vt(),_t(n);const l=ke(t,n,e,o);return dt(),Ut(),l});return s?r.unshift(i):r.push(i),i}}const rt=e=>(t,n=pe)=>(!ln||e==="sp")&&Ys(e,t,n),Dl=rt("bm"),zn=rt("m"),Hl=rt("bu"),Zs=rt("u"),Xs=rt("bum"),Qs=rt("um"),Vl=rt("sp"),Ul=rt("rtg"),jl=rt("rtc");function Kl(e,t=pe){Ys("ec",e,t)}function uu(e,t){const n=be;if(n===null)return e;const s=tr(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;it(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,c=o.length;lbt(t)?!(t.type===Ee||t.type===ye&&!Wl(t.children)):!0)?e:null}function _u(e){const t={};for(const n in e)t[Gt(n)]=e[n];return t}const Pr=e=>e?fc(e)?tr(e)||e.proxy:Pr(e.parent):null,Cs=ee(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Pr(e.parent),$root:e=>Pr(e.root),$emit:e=>e.emit,$options:e=>zl(e),$forceUpdate:e=>e.f||(e.f=()=>fi(e.update)),$nextTick:e=>e.n||(e.n=ci.bind(e.proxy)),$watch:e=>iu.bind(e)}),Or={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(s!==Q&&Z(s,t))return o[t]=1,s[t];if(r!==Q&&Z(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&Z(f,t))return o[t]=3,i[t];if(n!==Q&&Z(n,t))return o[t]=4,n[t];Rr&&(o[t]=0)}}const a=Cs[t];let u,d;if(a)return t==="$attrs"&&Be(e,"get",t),a(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==Q&&Z(n,t))return o[t]=4,n[t];if(d=c.config.globalProperties,Z(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return r!==Q&&Z(r,t)?(r[t]=n,!0):s!==Q&&Z(s,t)?(s[t]=n,!0):Z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Q&&Z(e,o)||t!==Q&&Z(t,o)||(l=i[0])&&Z(l,o)||Z(s,o)||Z(Cs,o)||Z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Eu=ee({},Or,{get(e,t){if(t!==Symbol.unscopables)return Or.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Nf(t)}});let Rr=!0;function Cu(e){const t=zl(e),n=e.proxy,s=e.ctx;Rr=!1,t.beforeCreate&&po(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:u,mounted:d,beforeUpdate:m,updated:b,activated:T,deactivated:N,beforeDestroy:y,beforeUnmount:h,destroyed:C,unmounted:S,render:F,renderTracked:H,renderTriggered:v,errorCaptured:_,serverPrefetch:I,expose:O,inheritAttrs:B,components:A,directives:j,filters:$}=t;if(f&&Tu(f,s,null,e.appContext.config.unwrapInjectedRef),o)for(const ie in o){const te=o[ie];W(te)&&(s[ie]=te.bind(n))}if(r){const ie=r.call(n,n);fe(ie)&&(e.data=js(ie))}if(Rr=!0,i)for(const ie in i){const te=i[ie],Xe=W(te)?te.bind(n,n):W(te.get)?te.get.bind(n,n):Me,cr=!W(te)&&W(te.set)?te.set.bind(n):Me,dn=hc({get:Xe,set:cr});Object.defineProperty(s,ie,{enumerable:!0,configurable:!0,get:()=>dn.value,set:Kt=>dn.value=Kt})}if(l)for(const ie in l)ql(l[ie],s,n,ie);if(c){const ie=W(c)?c.call(n):c;Reflect.ownKeys(ie).forEach(te=>{Il(te,ie[te])})}a&&po(a,e,"c");function G(ie,te){V(te)?te.forEach(Xe=>ie(Xe.bind(n))):te&&ie(te.bind(n))}if(G(Dl,u),G(zn,d),G(Hl,m),G(Zs,b),G(Ll,T),G(Bl,N),G(Kl,_),G(jl,H),G(Ul,v),G(Xs,h),G(Qs,S),G(Vl,I),V(O))if(O.length){const ie=e.exposed||(e.exposed={});O.forEach(te=>{Object.defineProperty(ie,te,{get:()=>n[te],set:Xe=>n[te]=Xe})})}else e.exposed||(e.exposed={});F&&e.render===Me&&(e.render=F),B!=null&&(e.inheritAttrs=B),A&&(e.components=A),j&&(e.directives=j)}function Tu(e,t,n=Me,s=!1){V(e)&&(e=Ar(e));for(const r in e){const i=e[r];let o;fe(i)?"default"in i?o=vn(i.from||r,i.default,!0):o=vn(i.from||r):o=vn(i),de(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function po(e,t,n){ke(V(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ql(e,t,n,s){const r=s.includes(".")?kl(n,s):()=>n[s];if(z(e)){const i=t[e];W(i)&&wn(r,i)}else if(W(e))wn(r,e.bind(n));else if(fe(e))if(V(e))e.forEach(i=>ql(i,t,n,s));else{const i=W(e.handler)?e.handler.bind(n):t[e.handler];W(i)&&wn(r,i,e)}}function zl(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Ts(c,f,o,!0)),Ts(c,t,o)),i.set(t,c),c}function Ts(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Ts(e,i,n,!0),r&&r.forEach(o=>Ts(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Su[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Su={data:ho,props:vt,emits:vt,methods:vt,computed:vt,beforeCreate:Se,created:Se,beforeMount:Se,mounted:Se,beforeUpdate:Se,updated:Se,beforeDestroy:Se,beforeUnmount:Se,destroyed:Se,unmounted:Se,activated:Se,deactivated:Se,errorCaptured:Se,serverPrefetch:Se,components:vt,directives:vt,watch:wu,provide:ho,inject:vu};function ho(e,t){return t?e?function(){return ee(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function vu(e,t){return vt(Ar(e),Ar(t))}function Ar(e){if(V(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let u=0;u{c=!0;const[d,m]=Yl(u,t,!0);ee(o,d),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return s.set(e,Xt),Xt;if(V(i))for(let a=0;a-1,m[1]=T<0||b-1||Z(m,"default"))&&l.push(u)}}}const f=[o,l];return s.set(e,f),f}function go(e){return e[0]!=="$"}function mo(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function yo(e,t){return mo(e)===mo(t)}function bo(e,t){return V(t)?t.findIndex(n=>yo(n,e)):W(t)&&yo(t,e)?0:-1}const Zl=e=>e[0]==="_"||e==="$stable",_i=e=>V(e)?e.map(Re):[Re(e)],Ou=(e,t,n)=>{if(t._n)return t;const s=ui((...r)=>_i(t(...r)),n);return s._c=!1,s},Xl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Zl(r))continue;const i=e[r];if(W(i))t[r]=Ou(r,i,s);else if(i!=null){const o=_i(i);t[r]=()=>o}}},Ql=(e,t)=>{const n=_i(t);e.slots.default=()=>n},Ru=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Y(t),ys(t,"_",n)):Xl(t,e.slots={})}else e.slots={},t&&Ql(e,t);ys(e.slots,er,1)},Au=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Q;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ee(r,t),!n&&l===1&&delete r._):(i=!t.$stable,Xl(t,r)),o=t}else t&&(Ql(e,t),o={default:1});if(i)for(const l in r)!Zl(l)&&!(l in o)&&delete r[l]};function Gl(){return{app:null,config:{isNativeTag:us,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Iu=0;function Mu(e,t){return function(s,r=null){W(s)||(s=Object.assign({},s)),r!=null&&!fe(r)&&(r=null);const i=Gl(),o=new Set;let l=!1;const c=i.app={_uid:Iu++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:_c,get config(){return i.config},set config(f){},use(f,...a){return o.has(f)||(f&&W(f.install)?(o.add(f),f.install(c,...a)):W(f)&&(o.add(f),f(c,...a))),c},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),c},component(f,a){return a?(i.components[f]=a,c):i.components[f]},directive(f,a){return a?(i.directives[f]=a,c):i.directives[f]},mount(f,a,u){if(!l){const d=le(s,r);return d.appContext=i,a&&t?t(d,f):e(d,f,u),l=!0,c._container=f,f.__vue_app__=c,tr(d.component)||d.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(f,a){return i.provides[f]=a,c}};return c}}function Ss(e,t,n,s,r=!1){if(V(e)){e.forEach((d,m)=>Ss(d,t&&(V(t)?t[m]:t),n,s,r));return}if(It(s)&&!r)return;const i=s.shapeFlag&4?tr(s.component)||s.component.proxy:s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===Q?l.refs={}:l.refs,u=l.setupState;if(f!=null&&f!==c&&(z(f)?(a[f]=null,Z(u,f)&&(u[f]=null)):de(f)&&(f.value=null)),W(c))Ye(c,l,12,[o,a]);else{const d=z(c),m=de(c);if(d||m){const b=()=>{if(e.f){const T=d?a[c]:c.value;r?V(T)&&Yr(T,i):V(T)?T.includes(i)||T.push(i):d?(a[c]=[i],Z(u,c)&&(u[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else d?(a[c]=o,Z(u,c)&&(u[c]=o)):m&&(c.value=o,e.k&&(a[e.k]=o))};o?(b.id=-1,me(b,n)):b()}}}let lt=!1;const is=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",os=e=>e.nodeType===8;function ku(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(y,h)=>{if(!h.hasChildNodes()){n(null,y,h),Es(),h._vnode=y;return}lt=!1,u(h.firstChild,y,null,null,null),Es(),h._vnode=y,lt&&console.error("Hydration completed but contains mismatches.")},u=(y,h,C,S,F,H=!1)=>{const v=os(y)&&y.data==="[",_=()=>T(y,h,C,S,F,v),{type:I,ref:O,shapeFlag:B,patchFlag:A}=h,j=y.nodeType;h.el=y,A===-2&&(H=!1,h.dynamicChildren=null);let $=null;switch(I){case on:j!==3?h.children===""?(c(h.el=r(""),o(y),y),$=y):$=_():(y.data!==h.children&&(lt=!0,y.data=h.children),$=i(y));break;case Ee:j!==8||v?$=_():$=i(y);break;case Mt:if(j!==1&&j!==3)$=_();else{$=y;const ge=!h.children.length;for(let G=0;G{H=H||!!h.dynamicChildren;const{type:v,props:_,patchFlag:I,shapeFlag:O,dirs:B}=h,A=v==="input"&&B||v==="option";if(A||I!==-1){if(B&&ze(h,null,C,"created"),_)if(A||!H||I&48)for(const $ in _)(A&&$.endsWith("value")||$t($)&&!Ot($))&&s(y,$,null,_[$],!1,void 0,C);else _.onClick&&s(y,"onClick",null,_.onClick,!1,void 0,C);let j;if((j=_&&_.onVnodeBeforeMount)&&ve(j,C,h),B&&ze(h,null,C,"beforeMount"),((j=_&&_.onVnodeMounted)||B)&&Al(()=>{j&&ve(j,C,h),B&&ze(h,null,C,"mounted")},S),O&16&&!(_&&(_.innerHTML||_.textContent))){let $=m(y.firstChild,h,y,C,S,F,H);for(;$;){lt=!0;const ge=$;$=$.nextSibling,l(ge)}}else O&8&&y.textContent!==h.children&&(lt=!0,y.textContent=h.children)}return y.nextSibling},m=(y,h,C,S,F,H,v)=>{v=v||!!h.dynamicChildren;const _=h.children,I=_.length;for(let O=0;O{const{slotScopeIds:v}=h;v&&(F=F?F.concat(v):v);const _=o(y),I=m(i(y),h,_,C,S,F,H);return I&&os(I)&&I.data==="]"?i(h.anchor=I):(lt=!0,c(h.anchor=f("]"),_,I),I)},T=(y,h,C,S,F,H)=>{if(lt=!0,h.el=null,H){const I=N(y);for(;;){const O=i(y);if(O&&O!==I)l(O);else break}}const v=i(y),_=o(y);return l(y),n(null,h,_,v,C,S,is(_),F),v},N=y=>{let h=0;for(;y;)if(y=i(y),y&&os(y)&&(y.data==="["&&h++,y.data==="]")){if(h===0)return i(y);h--}return y};return[a,u]}const me=Al;function ec(e){return nc(e)}function tc(e){return nc(e,ku)}function nc(e,t){const n=qf();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:u,nextSibling:d,setScopeId:m=Me,cloneNode:b,insertStaticContent:T}=e,N=(p,g,E,P=null,w=null,k=null,D=!1,M=null,L=!!g.dynamicChildren)=>{if(p===g)return;p&&!Je(p,g)&&(P=Qn(p),it(p,w,k,!0),p=null),g.patchFlag===-2&&(L=!1,g.dynamicChildren=null);const{type:R,ref:K,shapeFlag:U}=g;switch(R){case on:y(p,g,E,P);break;case Ee:h(p,g,E,P);break;case Mt:p==null&&C(g,E,P,D);break;case ye:j(p,g,E,P,w,k,D,M,L);break;default:U&1?H(p,g,E,P,w,k,D,M,L):U&6?$(p,g,E,P,w,k,D,M,L):(U&64||U&128)&&R.process(p,g,E,P,w,k,D,M,L,xt)}K!=null&&w&&Ss(K,p&&p.ref,k,g||p,!g)},y=(p,g,E,P)=>{if(p==null)s(g.el=l(g.children),E,P);else{const w=g.el=p.el;g.children!==p.children&&f(w,g.children)}},h=(p,g,E,P)=>{p==null?s(g.el=c(g.children||""),E,P):g.el=p.el},C=(p,g,E,P)=>{[p.el,p.anchor]=T(p.children,g,E,P,p.el,p.anchor)},S=({el:p,anchor:g},E,P)=>{let w;for(;p&&p!==g;)w=d(p),s(p,E,P),p=w;s(g,E,P)},F=({el:p,anchor:g})=>{let E;for(;p&&p!==g;)E=d(p),r(p),p=E;r(g)},H=(p,g,E,P,w,k,D,M,L)=>{D=D||g.type==="svg",p==null?v(g,E,P,w,k,D,M,L):O(p,g,w,k,D,M,L)},v=(p,g,E,P,w,k,D,M)=>{let L,R;const{type:K,props:U,shapeFlag:x,transition:q,patchFlag:X,dirs:se}=p;if(p.el&&b!==void 0&&X===-1)L=p.el=b(p.el);else{if(L=p.el=o(p.type,k,U&&U.is,U),x&8?a(L,p.children):x&16&&I(p.children,L,null,P,w,k&&K!=="foreignObject",D,M),se&&ze(p,null,P,"created"),U){for(const oe in U)oe!=="value"&&!Ot(oe)&&i(L,oe,null,U[oe],k,p.children,P,w,Qe);"value"in U&&i(L,"value",null,U.value),(R=U.onVnodeBeforeMount)&&ve(R,P,p)}_(L,p,p.scopeId,D,P)}se&&ze(p,null,P,"beforeMount");const re=(!w||w&&!w.pendingBranch)&&q&&!q.persisted;re&&q.beforeEnter(L),s(L,g,E),((R=U&&U.onVnodeMounted)||re||se)&&me(()=>{R&&ve(R,P,p),re&&q.enter(L),se&&ze(p,null,P,"mounted")},w)},_=(p,g,E,P,w)=>{if(E&&m(p,E),P)for(let k=0;k{for(let R=L;R{const M=g.el=p.el;let{patchFlag:L,dynamicChildren:R,dirs:K}=g;L|=p.patchFlag&16;const U=p.props||Q,x=g.props||Q;let q;E&&Tt(E,!1),(q=x.onVnodeBeforeUpdate)&&ve(q,E,g,p),K&&ze(g,p,E,"beforeUpdate"),E&&Tt(E,!0);const X=w&&g.type!=="foreignObject";if(R?B(p.dynamicChildren,R,M,E,P,X,k):D||Xe(p,g,M,null,E,P,X,k,!1),L>0){if(L&16)A(M,g,U,x,E,P,w);else if(L&2&&U.class!==x.class&&i(M,"class",null,x.class,w),L&4&&i(M,"style",U.style,x.style,w),L&8){const se=g.dynamicProps;for(let re=0;re{q&&ve(q,E,g,p),K&&ze(g,p,E,"updated")},P)},B=(p,g,E,P,w,k,D)=>{for(let M=0;M{if(E!==P){for(const M in P){if(Ot(M))continue;const L=P[M],R=E[M];L!==R&&M!=="value"&&i(p,M,R,L,D,g.children,w,k,Qe)}if(E!==Q)for(const M in E)!Ot(M)&&!(M in P)&&i(p,M,E[M],null,D,g.children,w,k,Qe);"value"in P&&i(p,"value",E.value,P.value)}},j=(p,g,E,P,w,k,D,M,L)=>{const R=g.el=p?p.el:l(""),K=g.anchor=p?p.anchor:l("");let{patchFlag:U,dynamicChildren:x,slotScopeIds:q}=g;q&&(M=M?M.concat(q):q),p==null?(s(R,E,P),s(K,E,P),I(g.children,E,K,w,k,D,M,L)):U>0&&U&64&&x&&p.dynamicChildren?(B(p.dynamicChildren,x,E,w,k,D,M),(g.key!=null||w&&g===w.subTree)&&Ei(p,g,!0)):Xe(p,g,E,K,w,k,D,M,L)},$=(p,g,E,P,w,k,D,M,L)=>{g.slotScopeIds=M,p==null?g.shapeFlag&512?w.ctx.activate(g,E,P,D,L):ge(g,E,P,w,k,D,L):G(p,g,L)},ge=(p,g,E,P,w,k,D)=>{const M=p.component=cc(p,P,w);if(qn(p)&&(M.ctx.renderer=xt),ac(M),M.asyncDep){if(w&&w.registerDep(M,ie),!p.el){const L=M.subTree=le(Ee);h(null,L,g,E)}return}ie(M,p,g,E,w,k,D)},G=(p,g,E)=>{const P=g.component=p.component;if(Za(p,g,E))if(P.asyncDep&&!P.asyncResolved){te(P,g,E);return}else P.next=g,Ua(P.update),P.update();else g.el=p.el,P.vnode=g},ie=(p,g,E,P,w,k,D)=>{const M=()=>{if(p.isMounted){let{next:K,bu:U,u:x,parent:q,vnode:X}=p,se=K,re;Tt(p,!1),K?(K.el=X.el,te(p,K,D)):K=X,U&&en(U),(re=K.props&&K.props.onVnodeBeforeUpdate)&&ve(re,q,K,X),Tt(p,!0);const oe=ds(p),je=p.subTree;p.subTree=oe,N(je,oe,u(je.el),Qn(je),p,w,k),K.el=oe.el,se===null&&pi(p,oe.el),x&&me(x,w),(re=K.props&&K.props.onVnodeUpdated)&&me(()=>ve(re,q,K,X),w)}else{let K;const{el:U,props:x}=g,{bm:q,m:X,parent:se}=p,re=It(g);if(Tt(p,!1),q&&en(q),!re&&(K=x&&x.onVnodeBeforeMount)&&ve(K,se,g),Tt(p,!0),U&&ar){const oe=()=>{p.subTree=ds(p),ar(U,p.subTree,p,w,null)};re?g.type.__asyncLoader().then(()=>!p.isUnmounted&&oe()):oe()}else{const oe=p.subTree=ds(p);N(null,oe,E,P,p,w,k),g.el=oe.el}if(X&&me(X,w),!re&&(K=x&&x.onVnodeMounted)){const oe=g;me(()=>ve(K,se,oe),w)}(g.shapeFlag&256||se&&It(se.vnode)&&se.vnode.shapeFlag&256)&&p.a&&me(p.a,w),p.isMounted=!0,g=E=P=null}},L=p.effect=new xn(M,()=>fi(R),p.scope),R=p.update=()=>L.run();R.id=p.uid,Tt(p,!0),R()},te=(p,g,E)=>{g.component=p;const P=p.vnode.props;p.vnode=g,p.next=null,Pu(p,g.props,P,E),Au(p,g.children,E),Vt(),Ws(void 0,p.update),Ut()},Xe=(p,g,E,P,w,k,D,M,L=!1)=>{const R=p&&p.children,K=p?p.shapeFlag:0,U=g.children,{patchFlag:x,shapeFlag:q}=g;if(x>0){if(x&128){dn(R,U,E,P,w,k,D,M,L);return}else if(x&256){cr(R,U,E,P,w,k,D,M,L);return}}q&8?(K&16&&Qe(R,w,k),U!==R&&a(E,U)):K&16?q&16?dn(R,U,E,P,w,k,D,M,L):Qe(R,w,k,!0):(K&8&&a(E,""),q&16&&I(U,E,P,w,k,D,M,L))},cr=(p,g,E,P,w,k,D,M,L)=>{p=p||Xt,g=g||Xt;const R=p.length,K=g.length,U=Math.min(R,K);let x;for(x=0;xK?Qe(p,w,k,!0,!1,U):I(g,E,P,w,k,D,M,L,U)},dn=(p,g,E,P,w,k,D,M,L)=>{let R=0;const K=g.length;let U=p.length-1,x=K-1;for(;R<=U&&R<=x;){const q=p[R],X=g[R]=L?ut(g[R]):Re(g[R]);if(Je(q,X))N(q,X,E,null,w,k,D,M,L);else break;R++}for(;R<=U&&R<=x;){const q=p[U],X=g[x]=L?ut(g[x]):Re(g[x]);if(Je(q,X))N(q,X,E,null,w,k,D,M,L);else break;U--,x--}if(R>U){if(R<=x){const q=x+1,X=qx)for(;R<=U;)it(p[R],w,k,!0),R++;else{const q=R,X=R,se=new Map;for(R=X;R<=x;R++){const Pe=g[R]=L?ut(g[R]):Re(g[R]);Pe.key!=null&&se.set(Pe.key,R)}let re,oe=0;const je=x-X+1;let Wt=!1,Yi=0;const hn=new Array(je);for(R=0;R=je){it(Pe,w,k,!0);continue}let qe;if(Pe.key!=null)qe=se.get(Pe.key);else for(re=X;re<=x;re++)if(hn[re-X]===0&&Je(Pe,g[re])){qe=re;break}qe===void 0?it(Pe,w,k,!0):(hn[qe-X]=R+1,qe>=Yi?Yi=qe:Wt=!0,N(Pe,g[qe],E,null,w,k,D,M,L),oe++)}const Zi=Wt?Fu(hn):Xt;for(re=Zi.length-1,R=je-1;R>=0;R--){const Pe=X+R,qe=g[Pe],Xi=Pe+1{const{el:k,type:D,transition:M,children:L,shapeFlag:R}=p;if(R&6){Kt(p.component.subTree,g,E,P);return}if(R&128){p.suspense.move(g,E,P);return}if(R&64){D.move(p,g,E,xt);return}if(D===ye){s(k,g,E);for(let U=0;UM.enter(k),w);else{const{leave:U,delayLeave:x,afterLeave:q}=M,X=()=>s(k,g,E),se=()=>{U(k,()=>{X(),q&&q()})};x?x(k,X,se):se()}else s(k,g,E)},it=(p,g,E,P=!1,w=!1)=>{const{type:k,props:D,ref:M,children:L,dynamicChildren:R,shapeFlag:K,patchFlag:U,dirs:x}=p;if(M!=null&&Ss(M,null,E,p,!0),K&256){g.ctx.deactivate(p);return}const q=K&1&&x,X=!It(p);let se;if(X&&(se=D&&D.onVnodeBeforeUnmount)&&ve(se,g,p),K&6)vf(p.component,E,P);else{if(K&128){p.suspense.unmount(E,P);return}q&&ze(p,null,g,"beforeUnmount"),K&64?p.type.remove(p,g,E,w,xt,P):R&&(k!==ye||U>0&&U&64)?Qe(R,g,E,!1,!0):(k===ye&&U&384||!w&&K&16)&&Qe(L,g,E),P&&zi(p)}(X&&(se=D&&D.onVnodeUnmounted)||q)&&me(()=>{se&&ve(se,g,p),q&&ze(p,null,g,"unmounted")},E)},zi=p=>{const{type:g,el:E,anchor:P,transition:w}=p;if(g===ye){Sf(E,P);return}if(g===Mt){F(p);return}const k=()=>{r(E),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(p.shapeFlag&1&&w&&!w.persisted){const{leave:D,delayLeave:M}=w,L=()=>D(E,k);M?M(p.el,k,L):L()}else k()},Sf=(p,g)=>{let E;for(;p!==g;)E=d(p),r(p),p=E;r(g)},vf=(p,g,E)=>{const{bum:P,scope:w,update:k,subTree:D,um:M}=p;P&&en(P),w.stop(),k&&(k.active=!1,it(D,p,g,E)),M&&me(M,g),me(()=>{p.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},Qe=(p,g,E,P=!1,w=!1,k=0)=>{for(let D=k;Dp.shapeFlag&6?Qn(p.component.subTree):p.shapeFlag&128?p.suspense.next():d(p.anchor||p.el),Ji=(p,g,E)=>{p==null?g._vnode&&it(g._vnode,null,null,!0):N(g._vnode||null,p,g,null,null,null,E),Es(),g._vnode=p},xt={p:N,um:it,m:Kt,r:zi,mt:ge,mc:I,pc:Xe,pbc:B,n:Qn,o:e};let fr,ar;return t&&([fr,ar]=t(xt)),{render:Ji,hydrate:fr,createApp:Mu(Ji,fr)}}function Tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ei(e,t,n=!1){const s=e.children,r=t.children;if(V(s)&&V(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const Lu=e=>e.__isTeleport,Nn=e=>e&&(e.disabled||e.disabled===""),_o=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,Mr=(e,t)=>{const n=e&&e.to;return z(n)?t?t(n):null:n},Bu={__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:a,pc:u,pbc:d,o:{insert:m,querySelector:b,createText:T,createComment:N}}=f,y=Nn(t.props);let{shapeFlag:h,children:C,dynamicChildren:S}=t;if(e==null){const F=t.el=T(""),H=t.anchor=T("");m(F,n,s),m(H,n,s);const v=t.target=Mr(t.props,b),_=t.targetAnchor=T("");v&&(m(_,v),o=o||_o(v));const I=(O,B)=>{h&16&&a(C,O,B,r,i,o,l,c)};y?I(n,H):v&&I(v,_)}else{t.el=e.el;const F=t.anchor=e.anchor,H=t.target=e.target,v=t.targetAnchor=e.targetAnchor,_=Nn(e.props),I=_?n:H,O=_?F:v;if(o=o||_o(H),S?(d(e.dynamicChildren,S,I,r,i,o,l),Ei(e,t,!0)):c||u(e,t,I,O,r,i,o,l,!1),y)_||ls(t,n,F,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=t.target=Mr(t.props,b);B&&ls(t,B,null,f,0)}else _&&ls(t,H,v,f,1)}},remove(e,t,n,s,{um:r,o:{remove:i}},o){const{shapeFlag:l,children:c,anchor:f,targetAnchor:a,target:u,props:d}=e;if(u&&i(a),(o||!Nn(d))&&(i(f),l&16))for(let m=0;m0?we||Xt:null,sc(),Lt>0&&we&&we.push(e),e}function Hu(e,t,n,s,r,i){return rc(Ti(e,t,n,s,r,i,!0))}function Ci(e,t,n,s,r){return rc(le(e,t,n,s,r,!0))}function bt(e){return e?e.__v_isVNode===!0:!1}function Je(e,t){return e.type===t.type&&e.key===t.key}function Vu(e){}const er="__vInternal",ic=({key:e})=>e!=null?e:null,hs=({ref:e,ref_key:t,ref_for:n})=>e!=null?z(e)||de(e)||W(e)?{i:be,r:e,k:t,f:!!n}:e:null;function Ti(e,t=null,n=null,s=0,r=null,i=e===ye?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ic(t),ref:t&&hs(t),scopeId:zs,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(vi(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=z(n)?8:16),Lt>0&&!o&&we&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&we.push(c),c}const le=Uu;function Uu(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===xl)&&(e=Ee),bt(e)){const l=Ze(e,t,!0);return n&&vi(l,n),Lt>0&&!i&&we&&(l.shapeFlag&6?we[we.indexOf(e)]=l:we.push(l)),l.patchFlag|=-2,l}if(Qu(e)&&(e=e.__vccOpts),t){t=oc(t);let{class:l,style:c}=t;l&&!z(l)&&(t.class=jn(l)),fe(c)&&(ni(c)&&!V(c)&&(c=ee({},c)),t.style=Un(c))}const o=z(e)?1:Rl(e)?128:Lu(e)?64:fe(e)?4:W(e)?2:0;return Ti(e,t,n,s,r,o,i,!0)}function oc(e){return e?ni(e)||er in e?ee({},e):e:null}function Ze(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,l=t?lc(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ic(l),ref:t&&t.ref?n&&r?V(r)?r.concat(hs(t)):[r,hs(t)]:hs(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ze(e.ssContent),ssFallback:e.ssFallback&&Ze(e.ssFallback),el:e.el,anchor:e.anchor}}function Si(e=" ",t=0){return le(on,null,e,t)}function ju(e,t){const n=le(Mt,null,e);return n.staticCount=t,n}function Ku(e="",t=!1){return t?(Gs(),Ci(Ee,null,e)):le(Ee,null,e)}function Re(e){return e==null||typeof e=="boolean"?le(Ee):V(e)?le(ye,null,e.slice()):typeof e=="object"?ut(e):le(on,null,String(e))}function ut(e){return e.el===null||e.memo?e:Ze(e)}function vi(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),vi(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(er in t)?t._ctx=be:r===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:be},n=32):(t=String(t),s&64?(n=16,t=[Si(t)]):n=8);e.children=t,e.shapeFlag|=n}function lc(...e){const t={};for(let n=0;npe||be,_t=e=>{pe=e,e.scope.on()},dt=()=>{pe&&pe.scope.off(),pe=null};function fc(e){return e.vnode.shapeFlag&4}let ln=!1;function ac(e,t=!1){ln=t;const{props:n,children:s}=e.vnode,r=fc(e);Nu(e,n,r,t),Ru(e,s);const i=r?qu(e,t):void 0;return ln=!1,i}function qu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=si(new Proxy(e.ctx,Or));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?pc(e):null;_t(e),Vt();const i=Ye(s,e,0,[e.props,r]);if(Ut(),dt(),Zr(i)){if(i.then(dt,dt),t)return i.then(o=>{Fr(e,o,t)}).catch(o=>{jt(o,e,0)});e.asyncDep=i}else Fr(e,i,t)}else uc(e,t)}function Fr(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=oi(t)),uc(e,n)}let vs,Lr;function zu(e){vs=e,Lr=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Eu))}}const Ju=()=>!vs;function uc(e,t,n){const s=e.type;if(!e.render){if(!t&&vs&&!s.render){const r=s.template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ee(ee({isCustomElement:i,delimiters:l},o),c);s.render=vs(r,f)}}e.render=s.render||Me,Lr&&Lr(e)}_t(e),Vt(),Cu(e),Ut(),dt()}function Yu(e){return new Proxy(e.attrs,{get(t,n){return Be(e,"get","$attrs"),t[n]}})}function pc(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Yu(e))},slots:e.slots,emit:e.emit,expose:t}}function tr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(oi(si(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Cs)return Cs[n](e)}}))}const Zu=/(?:^|[-_])(\w)/g,Xu=e=>e.replace(Zu,t=>t.toUpperCase()).replace(/[-_]/g,"");function ws(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function dc(e,t,n=!1){let s=ws(t);if(!s&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(s=r[1])}if(!s&&e&&e.parent){const r=i=>{for(const o in i)if(i[o]===t)return o};s=r(e.components||e.parent.type.components)||r(e.appContext.components)}return s?Xu(s):n?"App":"Anonymous"}function Qu(e){return W(e)&&"__vccOpts"in e}const hc=(e,t)=>Fa(e,t,ln);function Gu(){return null}function ep(){return null}function tp(e){}function np(e,t){return null}function sp(){return gc().slots}function rp(){return gc().attrs}function gc(){const e=Ct();return e.setupContext||(e.setupContext=pc(e))}function ip(e,t){const n=V(e)?e.reduce((s,r)=>(s[r]={},s),{}):e;for(const s in t){const r=n[s];r?V(r)||W(r)?n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(n[s]={default:t[s]})}return n}function op(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function lp(e){const t=Ct();let n=e();return dt(),Zr(n)&&(n=n.catch(s=>{throw _t(t),s})),[n,()=>_t(t)]}function mc(e,t,n){const s=arguments.length;return s===2?fe(t)&&!V(t)?bt(t)?le(e,null,[t]):le(e,t):le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&bt(n)&&(n=[n]),le(e,t,n))}const yc=Symbol(""),cp=()=>{{const e=vn(yc);return e||Cl("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function fp(){}function ap(e,t,n,s){const r=n[s];if(r&&bc(r,e))return r;const i=t();return i.memo=e.slice(),n[s]=i}function bc(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s0&&we&&we.push(e),!0}const _c="3.2.37",up={createComponentInstance:cc,setupComponent:ac,renderComponentRoot:ds,setCurrentRenderingInstance:kn,isVNode:bt,normalizeVNode:Re},pp=up,dp=null,hp=null,gp="http://www.w3.org/2000/svg",wt=typeof document!="undefined"?document:null,Eo=wt&&wt.createElement("template"),mp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?wt.createElementNS(gp,e):wt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>wt.createTextNode(e),createComment:e=>wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Eo.innerHTML=s?`${e}`:e;const l=Eo.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function yp(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function bp(e,t,n){const s=e.style,r=z(n);if(n&&!r){for(const i in n)Br(s,i,n[i]);if(t&&!z(t))for(const i in t)n[i]==null&&Br(s,i,"")}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Co=/\s*!important$/;function Br(e,t,n){if(V(n))n.forEach(s=>Br(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=_p(e,t);Co.test(n)?e.setProperty(xe(s),n.replace(Co,""),"important"):e[s]=n}}const To=["Webkit","Moz","ms"],gr={};function _p(e,t){const n=gr[t];if(n)return n;let s=Te(t);if(s!=="filter"&&s in e)return gr[t]=s;s=Ht(s);for(let r=0;r{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let $r=0;const Sp=Promise.resolve(),vp=()=>{$r=0},wp=()=>$r||(Sp.then(vp),$r=Ec());function tt(e,t,n,s){e.addEventListener(t,n,s)}function Np(e,t,n,s){e.removeEventListener(t,n,s)}function Pp(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=Op(t);if(s){const f=i[t]=Rp(s,r);tt(e,l,f,c)}else o&&(Np(e,l,o,c),i[t]=void 0)}}const vo=/(?:Once|Passive|Capture)$/;function Op(e){let t;if(vo.test(e)){t={};let n;for(;n=e.match(vo);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[xe(e.slice(2)),t]}function Rp(e,t){const n=s=>{const r=s.timeStamp||Ec();(Tp||r>=n.attached-1)&&ke(Ap(s,n.value),t,5,[s])};return n.value=e,n.attached=wp(),n}function Ap(e,t){if(V(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const wo=/^on[a-z]/,Ip=(e,t,n,s,r=!1,i,o,l,c)=>{t==="class"?yp(e,s,r):t==="style"?bp(e,n,s):$t(t)?Jr(t)||Pp(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mp(e,t,s,r))?Cp(e,t,s,i,o,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ep(e,t,s,r))};function Mp(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&wo.test(t)&&W(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||wo.test(t)&&z(n)?!1:t in e}function Cc(e,t){const n=mi(e);class s extends nr{constructor(i){super(n,i,t)}}return s.def=n,s}const kp=e=>Cc(e,Bc),Fp=typeof HTMLElement!="undefined"?HTMLElement:class{};class nr extends Fp{constructor(t,n={},s){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,ci(()=>{this._connected||(Hr(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let s=0;s{for(const r of s)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const t=s=>{const{props:r,styles:i}=s,o=!V(r),l=r?o?Object.keys(r):r:[];let c;if(o)for(const f in this._props){const a=r[f];(a===Number||a&&a.type===Number)&&(this._props[f]=mt(this._props[f]),(c||(c=Object.create(null)))[f]=!0)}this._numberProps=c;for(const f of Object.keys(this))f[0]!=="_"&&this._setProp(f,this[f],!0,!1);for(const f of l.map(Te))Object.defineProperty(this,f,{get(){return this._getProp(f)},set(a){this._setProp(f,a)}});this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=mt(n)),this._setProp(Te(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(xe(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(xe(t),n+""):n||this.removeAttribute(xe(t))))}_update(){Hr(this._createVNode(),this.shadowRoot)}_createVNode(){const t=le(this._def,ee({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,n.emit=(r,...i)=>{this.dispatchEvent(new CustomEvent(r,{detail:i}))};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof nr){n.parent=s._instance;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}function Lp(e="$style"){{const t=Ct();if(!t)return Q;const n=t.type.__cssModules;if(!n)return Q;const s=n[e];return s||Q}}function Bp(e){const t=Ct();if(!t)return;const n=()=>Dr(t.subTree,e(t.proxy));Ml(n),zn(()=>{const s=new MutationObserver(n);s.observe(t.subTree.el.parentNode,{childList:!0}),Qs(()=>s.disconnect())})}function Dr(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Dr(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)No(e.el,t);else if(e.type===ye)e.children.forEach(n=>Dr(n,t));else if(e.type===Mt){let{el:n,anchor:s}=e;for(;n&&(No(n,t),n!==s);)n=n.nextSibling}}function No(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const ct="transition",gn="animation",wi=(e,{slots:t})=>mc(gi,Sc(e),t);wi.displayName="Transition";const Tc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},$p=wi.props=ee({},gi.props,Tc),St=(e,t=[])=>{V(e)?e.forEach(n=>n(...t)):e&&e(...t)},Po=e=>e?V(e)?e.some(t=>t.length>1):e.length>1:!1;function Sc(e){const t={};for(const A in e)A in Tc||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,b=Dp(r),T=b&&b[0],N=b&&b[1],{onBeforeEnter:y,onEnter:h,onEnterCancelled:C,onLeave:S,onLeaveCancelled:F,onBeforeAppear:H=y,onAppear:v=h,onAppearCancelled:_=C}=t,I=(A,j,$)=>{at(A,j?a:l),at(A,j?f:o),$&&$()},O=(A,j)=>{A._isLeaving=!1,at(A,u),at(A,m),at(A,d),j&&j()},B=A=>(j,$)=>{const ge=A?v:h,G=()=>I(j,A,$);St(ge,[j,G]),Oo(()=>{at(j,A?c:i),Ge(j,A?a:l),Po(ge)||Ro(j,s,T,G)})};return ee(t,{onBeforeEnter(A){St(y,[A]),Ge(A,i),Ge(A,o)},onBeforeAppear(A){St(H,[A]),Ge(A,c),Ge(A,f)},onEnter:B(!1),onAppear:B(!0),onLeave(A,j){A._isLeaving=!0;const $=()=>O(A,j);Ge(A,u),wc(),Ge(A,d),Oo(()=>{!A._isLeaving||(at(A,u),Ge(A,m),Po(S)||Ro(A,s,N,$))}),St(S,[A,$])},onEnterCancelled(A){I(A,!1),St(C,[A])},onAppearCancelled(A){I(A,!0),St(_,[A])},onLeaveCancelled(A){O(A),St(F,[A])}})}function Dp(e){if(e==null)return null;if(fe(e))return[mr(e.enter),mr(e.leave)];{const t=mr(e);return[t,t]}}function mr(e){return mt(e)}function Ge(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function at(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Oo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Hp=0;function Ro(e,t,n,s){const r=e._endId=++Hp,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=vc(e,t);if(!o)return s();const f=o+"end";let a=0;const u=()=>{e.removeEventListener(f,d),i()},d=m=>{m.target===e&&++a>=c&&u()};setTimeout(()=>{a(n[b]||"").split(", "),r=s(ct+"Delay"),i=s(ct+"Duration"),o=Ao(r,i),l=s(gn+"Delay"),c=s(gn+"Duration"),f=Ao(l,c);let a=null,u=0,d=0;t===ct?o>0&&(a=ct,u=o,d=i.length):t===gn?f>0&&(a=gn,u=f,d=c.length):(u=Math.max(o,f),a=u>0?o>f?ct:gn:null,d=a?a===ct?i.length:c.length:0);const m=a===ct&&/\b(transform|all)(,|$)/.test(n[ct+"Property"]);return{type:a,timeout:u,propCount:d,hasTransform:m}}function Ao(e,t){for(;e.lengthIo(n)+Io(e[s])))}function Io(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function wc(){return document.body.offsetHeight}const Nc=new WeakMap,Pc=new WeakMap,Vp={name:"TransitionGroup",props:ee({},$p,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ct(),s=hi();let r,i;return Zs(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Wp(r[0].el,n.vnode.el,o))return;r.forEach(jp),r.forEach(Kp);const l=r.filter(xp);wc(),l.forEach(c=>{const f=c.el,a=f.style;Ge(f,o),a.transform=a.webkitTransform=a.transitionDuration="";const u=f._moveCb=d=>{d&&d.target!==f||(!d||/transform$/.test(d.propertyName))&&(f.removeEventListener("transitionend",u),f._moveCb=null,at(f,o))};f.addEventListener("transitionend",u)})}),()=>{const o=Y(e),l=Sc(o);let c=o.tag||ye;r=i,i=t.default?Js(t.default()):[];for(let f=0;f{o.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(o=>o&&s.classList.add(o)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:i}=vc(s);return r.removeChild(s),i}const Et=e=>{const t=e.props["onUpdate:modelValue"]||!1;return V(t)?n=>en(t,n):t};function qp(e){e.target.composing=!0}function Mo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ns={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=Et(r);const i=s||r.props&&r.props.type==="number";tt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=mt(l)),e._assign(l)}),n&&tt(e,"change",()=>{e.value=e.value.trim()}),t||(tt(e,"compositionstart",qp),tt(e,"compositionend",Mo),tt(e,"change",Mo))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},i){if(e._assign=Et(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&mt(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},Ni={deep:!0,created(e,t,n){e._assign=Et(n),tt(e,"change",()=>{const s=e._modelValue,r=cn(e),i=e.checked,o=e._assign;if(V(s)){const l=$s(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const f=[...s];f.splice(l,1),o(f)}}else if(Dt(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(Rc(e,i))})},mounted:ko,beforeUpdate(e,t,n){e._assign=Et(n),ko(e,t,n)}};function ko(e,{value:t,oldValue:n},s){e._modelValue=t,V(t)?e.checked=$s(t,s.props.value)>-1:Dt(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=ht(t,Rc(e,!0)))}const Pi={created(e,{value:t},n){e.checked=ht(t,n.props.value),e._assign=Et(n),tt(e,"change",()=>{e._assign(cn(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e._assign=Et(s),t!==n&&(e.checked=ht(t,s.props.value))}},Oc={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=Dt(t);tt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?mt(cn(o)):cn(o));e._assign(e.multiple?r?new Set(i):i:i[0])}),e._assign=Et(s)},mounted(e,{value:t}){Fo(e,t)},beforeUpdate(e,t,n){e._assign=Et(n)},updated(e,{value:t}){Fo(e,t)}};function Fo(e,t){const n=e.multiple;if(!(n&&!V(t)&&!Dt(t))){for(let s=0,r=e.options.length;s-1:i.selected=t.has(o);else if(ht(cn(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function cn(e){return"_value"in e?e._value:e.value}function Rc(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ac={created(e,t,n){cs(e,t,n,null,"created")},mounted(e,t,n){cs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){cs(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){cs(e,t,n,s,"updated")}};function Ic(e,t){switch(e){case"SELECT":return Oc;case"TEXTAREA":return Ns;default:switch(t){case"checkbox":return Ni;case"radio":return Pi;default:return Ns}}}function cs(e,t,n,s,r){const o=Ic(e.tagName,n.props&&n.props.type)[r];o&&o(e,t,n,s)}function zp(){Ns.getSSRProps=({value:e})=>({value:e}),Pi.getSSRProps=({value:e},t)=>{if(t.props&&ht(t.props.value,e))return{checked:!0}},Ni.getSSRProps=({value:e},t)=>{if(V(e)){if(t.props&&$s(e,t.props.value)>-1)return{checked:!0}}else if(Dt(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Ac.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Ic(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Jp=["ctrl","shift","alt","meta"],Yp={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Jp.some(n=>e[`${n}Key`]&&!t.includes(n))},Zp=(e,t)=>(n,...s)=>{for(let r=0;rn=>{if(!("key"in n))return;const s=xe(n.key);if(t.some(r=>r===s||Xp[r]===s))return e(n)},Mc={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):mn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),mn(e,!0),s.enter(e)):s.leave(e,()=>{mn(e,!1)}):mn(e,t))},beforeUnmount(e,{value:t}){mn(e,t)}};function mn(e,t){e.style.display=t?e._vod:"none"}function Gp(){Mc.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const kc=ee({patchProp:Ip},mp);let On,Lo=!1;function Fc(){return On||(On=ec(kc))}function Lc(){return On=Lo?On:tc(kc),Lo=!0,On}const Hr=(...e)=>{Fc().render(...e)},Bc=(...e)=>{Lc().hydrate(...e)},ed=(...e)=>{const t=Fc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=$c(s);if(!r)return;const i=t._component;!W(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},td=(...e)=>{const t=Lc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=$c(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function $c(e){return z(e)?document.querySelector(e):e}let Bo=!1;const nd=()=>{Bo||(Bo=!0,zp(),Gp())};var Zh=Object.freeze(Object.defineProperty({__proto__:null,Transition:wi,TransitionGroup:Up,VueElement:nr,createApp:ed,createSSRApp:td,defineCustomElement:Cc,defineSSRCustomElement:kp,hydrate:Bc,initDirectivesForSSR:nd,render:Hr,useCssModule:Lp,useCssVars:Bp,vModelCheckbox:Ni,vModelDynamic:Ac,vModelRadio:Pi,vModelSelect:Oc,vModelText:Ns,vShow:Mc,withKeys:Qp,withModifiers:Zp,EffectScope:Qr,ReactiveEffect:xn,customRef:Aa,effect:Qf,effectScope:zf,getCurrentScope:Jf,isProxy:ni,isReactive:At,isReadonly:sn,isRef:de,isShallow:bs,markRaw:si,onScopeDispose:Yf,proxyRefs:oi,reactive:js,readonly:ti,ref:ps,shallowReactive:yl,shallowReadonly:va,shallowRef:wa,stop:Gf,toRaw:Y,toRef:El,toRefs:Ia,triggerRef:Pa,unref:_l,camelize:Te,capitalize:Ht,normalizeClass:jn,normalizeProps:If,normalizeStyle:Un,toDisplayString:Hf,toHandlerKey:Gt,BaseTransition:gi,Comment:Ee,Fragment:ye,KeepAlive:fu,Static:Mt,Suspense:Qa,Teleport:Du,Text:on,callWithAsyncErrorHandling:ke,callWithErrorHandling:Ye,cloneVNode:Ze,compatUtils:hp,computed:hc,createBlock:Ci,createCommentVNode:Ku,createElementBlock:Hu,createElementVNode:Ti,createHydrationRenderer:tc,createPropsRestProxy:op,createRenderer:ec,createSlots:yu,createStaticVNode:ju,createTextVNode:Si,createVNode:le,defineAsyncComponent:lu,defineComponent:mi,defineEmits:ep,defineExpose:tp,defineProps:Gu,get devtools(){return Yt},getCurrentInstance:Ct,getTransitionRawChildren:Js,guardReactiveProps:oc,h:mc,handleError:jt,initCustomFormatter:fp,inject:vn,isMemoSame:bc,isRuntimeOnly:Ju,isVNode:bt,mergeDefaults:ip,mergeProps:lc,nextTick:ci,onActivated:Ll,onBeforeMount:Dl,onBeforeUnmount:Xs,onBeforeUpdate:Hl,onDeactivated:Bl,onErrorCaptured:Kl,onMounted:zn,onRenderTracked:jl,onRenderTriggered:Ul,onServerPrefetch:Vl,onUnmounted:Qs,onUpdated:Zs,openBlock:Gs,popScopeId:Wa,provide:Il,pushScopeId:xa,queuePostFlushCb:ai,registerRuntimeCompiler:zu,renderList:mu,renderSlot:bu,resolveComponent:du,resolveDirective:gu,resolveDynamicComponent:hu,resolveFilter:dp,resolveTransitionHooks:rn,setBlockTracking:kr,setDevtoolsHook:Pl,setTransitionHooks:Ft,ssrContextKey:yc,ssrUtils:pp,toHandlers:_u,transformVNodeArgs:Vu,useAttrs:rp,useSSRContext:cp,useSlots:sp,useTransitionState:hi,version:_c,warn:Cl,watch:wn,watchEffect:su,watchPostEffect:Ml,watchSyncEffect:ru,withAsyncContext:lp,withCtx:ui,withDefaults:np,withDirectives:uu,withMemo:ap,withScopeId:qa},Symbol.toStringTag,{value:"Module"}));function Oi(e){throw e}function Dc(e){}function ce(e,t,n,s){const r=e,i=new SyntaxError(String(r));return i.code=e,i.loc=t,i}const Ln=Symbol(""),Rn=Symbol(""),Ri=Symbol(""),Ps=Symbol(""),Hc=Symbol(""),Bt=Symbol(""),Vc=Symbol(""),Uc=Symbol(""),Ai=Symbol(""),Ii=Symbol(""),Jn=Symbol(""),Mi=Symbol(""),jc=Symbol(""),ki=Symbol(""),Os=Symbol(""),Fi=Symbol(""),Li=Symbol(""),Bi=Symbol(""),$i=Symbol(""),Kc=Symbol(""),xc=Symbol(""),sr=Symbol(""),Rs=Symbol(""),Di=Symbol(""),Hi=Symbol(""),Bn=Symbol(""),Yn=Symbol(""),Vi=Symbol(""),Vr=Symbol(""),sd=Symbol(""),Ur=Symbol(""),As=Symbol(""),rd=Symbol(""),id=Symbol(""),Ui=Symbol(""),od=Symbol(""),ld=Symbol(""),ji=Symbol(""),Wc=Symbol(""),fn={[Ln]:"Fragment",[Rn]:"Teleport",[Ri]:"Suspense",[Ps]:"KeepAlive",[Hc]:"BaseTransition",[Bt]:"openBlock",[Vc]:"createBlock",[Uc]:"createElementBlock",[Ai]:"createVNode",[Ii]:"createElementVNode",[Jn]:"createCommentVNode",[Mi]:"createTextVNode",[jc]:"createStaticVNode",[ki]:"resolveComponent",[Os]:"resolveDynamicComponent",[Fi]:"resolveDirective",[Li]:"resolveFilter",[Bi]:"withDirectives",[$i]:"renderList",[Kc]:"renderSlot",[xc]:"createSlots",[sr]:"toDisplayString",[Rs]:"mergeProps",[Di]:"normalizeClass",[Hi]:"normalizeStyle",[Bn]:"normalizeProps",[Yn]:"guardReactiveProps",[Vi]:"toHandlers",[Vr]:"camelize",[sd]:"capitalize",[Ur]:"toHandlerKey",[As]:"setBlockTracking",[rd]:"pushScopeId",[id]:"popScopeId",[Ui]:"withCtx",[od]:"unref",[ld]:"isRef",[ji]:"withMemo",[Wc]:"isMemoSame"};function cd(e){Object.getOwnPropertySymbols(e).forEach(t=>{fn[t]=e[t]})}const $e={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function fd(e,t=$e){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function $n(e,t,n,s,r,i,o,l=!1,c=!1,f=!1,a=$e){return e&&(l?(e.helper(Bt),e.helper(pn(e.inSSR,f))):e.helper(un(e.inSSR,f)),o&&e.helper(Bi)),{type:13,tag:t,props:n,children:s,patchFlag:r,dynamicProps:i,directives:o,isBlock:l,disableTracking:c,isComponent:f,loc:a}}function Zn(e,t=$e){return{type:17,loc:t,elements:e}}function Ve(e,t=$e){return{type:15,loc:t,properties:e}}function ae(e,t){return{type:16,loc:$e,key:z(e)?J(e,!0):e,value:t}}function J(e,t=!1,n=$e,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function We(e,t=$e){return{type:8,loc:t,children:e}}function ue(e,t=[],n=$e){return{type:14,loc:n,callee:e,arguments:t}}function an(e,t=void 0,n=!1,s=!1,r=$e){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:r}}function jr(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:$e}}function ad(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:$e}}function ud(e){return{type:21,body:e,loc:$e}}const Fe=e=>e.type===4&&e.isStatic,Zt=(e,t)=>e===t||e===xe(t);function qc(e){if(Zt(e,"Teleport"))return Rn;if(Zt(e,"Suspense"))return Ri;if(Zt(e,"KeepAlive"))return Ps;if(Zt(e,"BaseTransition"))return Hc}const pd=/^\d|[^\$\w]/,Ki=e=>!pd.test(e),dd=/[A-Za-z_$\xA0-\uFFFF]/,hd=/[\.\?\w$\xA0-\uFFFF]/,gd=/\s+[.[]\s*|\s*[.[]\s+/g,md=e=>{e=e.trim().replace(gd,o=>o.trim());let t=0,n=[],s=0,r=0,i=null;for(let o=0;ot.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function yr(e){return e.type===5||e.type===2}function bd(e){return e.type===7&&e.name==="slot"}function ks(e){return e.type===1&&e.tagType===3}function Fs(e){return e.type===1&&e.tagType===2}function un(e,t){return e||t?Ai:Ii}function pn(e,t){return e||t?Vc:Uc}const _d=new Set([Bn,Yn]);function Yc(e,t=[]){if(e&&!z(e)&&e.type===14){const n=e.callee;if(!z(n)&&_d.has(n))return Yc(e.arguments[0],t.concat(e))}return[e,t]}function Ls(e,t,n){let s,r=e.type===13?e.props:e.arguments[2],i=[],o;if(r&&!z(r)&&r.type===14){const l=Yc(r);r=l[0],i=l[1],o=i[i.length-1]}if(r==null||z(r))s=Ve([t]);else if(r.type===14){const l=r.arguments[0];!z(l)&&l.type===15?l.properties.unshift(t):r.callee===Vi?s=ue(n.helper(Rs),[Ve([t]),r]):r.arguments.unshift(Ve([t])),!s&&(s=r)}else if(r.type===15){let l=!1;if(t.key.type===4){const c=t.key.content;l=r.properties.some(f=>f.key.type===4&&f.key.content===c)}l||r.properties.unshift(t),s=r}else s=ue(n.helper(Rs),[Ve([t]),r]),o&&o.callee===Yn&&(o=i[i.length-2]);e.type===13?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function Dn(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function Ed(e){return e.type===14&&e.callee===ji?e.arguments[1].returns:e}function xi(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(un(s,e.isComponent)),t(Bt),t(pn(s,e.isComponent)))}function $o(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,s=n&&n[e];return e==="MODE"?s||3:s}function kt(e,t){const n=$o("MODE",t),s=$o(e,t);return n===3?s===!0:s!==!1}function Hn(e,t,n,...s){return kt(e,t)}const Cd=/&(gt|lt|amp|apos|quot);/g,Td={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Do={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:us,isPreTag:us,isCustomElement:us,decodeEntities:e=>e.replace(Cd,(t,n)=>Td[n]),onError:Oi,onWarn:Dc,comments:!1};function Sd(e,t={}){const n=vd(e,t),s=Le(n);return fd(Wi(n,0,[]),Ue(n,s))}function vd(e,t){const n=ee({},Do);let s;for(s in t)n[s]=t[s]===void 0?Do[s]:t[s];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}function Wi(e,t,n){const s=ir(n),r=s?s.ns:0,i=[];for(;!kd(e,t,n);){const l=e.source;let c;if(t===0||t===1){if(!e.inVPre&&_e(l,e.options.delimiters[0]))c=Id(e,t);else if(t===0&&l[0]==="<")if(l.length===1)ne(e,5,1);else if(l[1]==="!")_e(l,"=0;){const f=o[l];f&&f.type===9&&(c+=f.branches.length)}return()=>{if(i)s.codegenNode=Ko(r,c,n);else{const f=rh(s.codegenNode);f.alternate=Ko(r,c+s.branches.length-1,n)}}}));function sh(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(ce(28,t.loc)),t.exp=J("true",!1,r)}if(t.name==="if"){const r=jo(e,t),i={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(i),s)return s(i,r,!0)}else{const r=n.parent.children;let i=r.indexOf(e);for(;i-->=-1;){const o=r[i];if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){t.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(ce(30,e.loc)),n.removeNode();const l=jo(e,t);o.branches.push(l);const c=s&&s(o,l,!1);or(l,n),c&&c(),n.currentNode=null}else n.onError(ce(30,e.loc));break}}}function jo(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!He(e,"for")?e.children:[e],userKey:rr(e,"key"),isTemplateIf:n}}function Ko(e,t,n){return e.condition?jr(e.condition,xo(e,t,n),ue(n.helper(Jn),['""',"true"])):xo(e,t,n)}function xo(e,t,n){const{helper:s}=n,r=ae("key",J(`${t}`,!1,$e,2)),{children:i}=e,o=i[0];if(i.length!==1||o.type!==1)if(i.length===1&&o.type===11){const c=o.codegenNode;return Ls(c,r,n),c}else{let c=64;return $n(n,s(Ln),Ve([r]),i,c+"",void 0,void 0,!0,!1,!1,e.loc)}else{const c=o.codegenNode,f=Ed(c);return f.type===13&&xi(f,n),Ls(f,r,n),c}}function rh(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const ih=nf("for",(e,t,n)=>{const{helper:s,removeHelper:r}=n;return oh(e,t,n,i=>{const o=ue(s($i),[i.source]),l=ks(e),c=He(e,"memo"),f=rr(e,"key"),a=f&&(f.type===6?J(f.value.content,!0):f.exp),u=f?ae("key",a):null,d=i.source.type===4&&i.source.constType>0,m=d?64:f?128:256;return i.codegenNode=$n(n,s(Ln),void 0,o,m+"",void 0,void 0,!0,!d,!1,e.loc),()=>{let b;const{children:T}=i,N=T.length!==1||T[0].type!==1,y=Fs(e)?e:l&&e.children.length===1&&Fs(e.children[0])?e.children[0]:null;if(y?(b=y.codegenNode,l&&u&&Ls(b,u,n)):N?b=$n(n,s(Ln),u?Ve([u]):void 0,e.children,64+"",void 0,void 0,!0,void 0,!1):(b=T[0].codegenNode,l&&u&&Ls(b,u,n),b.isBlock!==!d&&(b.isBlock?(r(Bt),r(pn(n.inSSR,b.isComponent))):r(un(n.inSSR,b.isComponent))),b.isBlock=!d,b.isBlock?(s(Bt),s(pn(n.inSSR,b.isComponent))):s(un(n.inSSR,b.isComponent))),c){const h=an(Wr(i.parseResult,[J("_cached")]));h.body=ud([We(["const _memo = (",c.exp,")"]),We(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(Wc)}(_cached, _memo)) return _cached`]),We(["const _item = ",b]),J("_item.memo = _memo"),J("return _item")]),o.arguments.push(h,J("_cache"),J(String(n.cached++)))}else o.arguments.push(an(Wr(i.parseResult),b,!0))}})});function oh(e,t,n,s){if(!t.exp){n.onError(ce(31,t.loc));return}const r=lf(t.exp);if(!r){n.onError(ce(32,t.loc));return}const{addIdentifiers:i,removeIdentifiers:o,scopes:l}=n,{source:c,value:f,key:a,index:u}=r,d={type:11,loc:t.loc,source:c,valueAlias:f,keyAlias:a,objectIndexAlias:u,parseResult:r,children:ks(e)?e.children:[e]};n.replaceNode(d),l.vFor++;const m=s&&s(d);return()=>{l.vFor--,m&&m()}}const lh=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Wo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ch=/^\(|\)$/g;function lf(e,t){const n=e.loc,s=e.content,r=s.match(lh);if(!r)return;const[,i,o]=r,l={source:fs(n,o.trim(),s.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0};let c=i.trim().replace(ch,"").trim();const f=i.indexOf(c),a=c.match(Wo);if(a){c=c.replace(Wo,"").trim();const u=a[1].trim();let d;if(u&&(d=s.indexOf(u,f+c.length),l.key=fs(n,u,d)),a[2]){const m=a[2].trim();m&&(l.index=fs(n,m,s.indexOf(m,l.key?d+u.length:f+c.length)))}}return c&&(l.value=fs(n,c,f)),l}function fs(e,t,n){return J(t,!1,Jc(e,n,t.length))}function Wr({value:e,key:t,index:n},s=[]){return fh([e,t,n,...s])}function fh(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||J("_".repeat(s+1),!1))}const qo=J("undefined",!1),ah=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=He(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uh=(e,t,n)=>an(e,t,!1,!0,t.length?t[0].loc:n);function ph(e,t,n=uh){t.helper(Ui);const{children:s,loc:r}=e,i=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const c=He(e,"slot",!0);if(c){const{arg:T,exp:N}=c;T&&!Fe(T)&&(l=!0),i.push(ae(T||J("default",!0),n(N,s,r)))}let f=!1,a=!1;const u=[],d=new Set;for(let T=0;T{const h=n(N,y,r);return t.compatConfig&&(h.isNonScopedSlot=!0),ae("default",h)};f?u.length&&u.some(N=>cf(N))&&(a?t.onError(ce(39,u[0].loc)):i.push(T(void 0,u))):i.push(T(void 0,s))}const m=l?2:ms(e.children)?3:1;let b=Ve(i.concat(ae("_",J(m+"",!1))),r);return o.length&&(b=ue(t.helper(xc),[b,Zn(o)])),{slots:b,hasDynamicSlots:l}}function as(e,t){return Ve([ae("name",e),ae("fn",t)])}function ms(e){for(let t=0;tfunction(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:r}=e,i=e.tagType===1;let o=i?hh(e,t):`"${s}"`;const l=fe(o)&&o.callee===Os;let c,f,a,u=0,d,m,b,T=l||o===Rn||o===Ri||!i&&(s==="svg"||s==="foreignObject");if(r.length>0){const N=af(e,t,void 0,i,l);c=N.props,u=N.patchFlag,m=N.dynamicPropNames;const y=N.directives;b=y&&y.length?Zn(y.map(h=>mh(h,t))):void 0,N.shouldUseBlock&&(T=!0)}if(e.children.length>0)if(o===Ps&&(T=!0,u|=1024),i&&o!==Rn&&o!==Ps){const{slots:y,hasDynamicSlots:h}=ph(e,t);f=y,h&&(u|=1024)}else if(e.children.length===1&&o!==Rn){const y=e.children[0],h=y.type,C=h===5||h===8;C&&Ie(y,t)===0&&(u|=1),C||h===2?f=y:f=e.children}else f=e.children;u!==0&&(a=String(u),m&&m.length&&(d=yh(m))),e.codegenNode=$n(t,o,c,f,a,d,b,!!T,!1,i,e.loc)};function hh(e,t,n=!1){let{tag:s}=e;const r=qr(s),i=rr(e,"is");if(i)if(r||kt("COMPILER_IS_ON_ELEMENT",t)){const c=i.type===6?i.value&&J(i.value.content,!0):i.exp;if(c)return ue(t.helper(Os),[c])}else i.type===6&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=!r&&He(e,"is");if(o&&o.exp)return ue(t.helper(Os),[o.exp]);const l=qc(s)||t.isBuiltInComponent(s);return l?(n||t.helper(l),l):(t.helper(ki),t.components.add(s),Dn(s,"component"))}function af(e,t,n=e.props,s,r,i=!1){const{tag:o,loc:l,children:c}=e;let f=[];const a=[],u=[],d=c.length>0;let m=!1,b=0,T=!1,N=!1,y=!1,h=!1,C=!1,S=!1;const F=[],H=({key:_,value:I})=>{if(Fe(_)){const O=_.content,B=$t(O);if(B&&(!s||r)&&O.toLowerCase()!=="onclick"&&O!=="onUpdate:modelValue"&&!Ot(O)&&(h=!0),B&&Ot(O)&&(S=!0),I.type===20||(I.type===4||I.type===8)&&Ie(I,t)>0)return;O==="ref"?T=!0:O==="class"?N=!0:O==="style"?y=!0:O!=="key"&&!F.includes(O)&&F.push(O),s&&(O==="class"||O==="style")&&!F.includes(O)&&F.push(O)}else C=!0};for(let _=0;_0&&f.push(ae(J("ref_for",!0),J("true")))),B==="is"&&(qr(o)||A&&A.content.startsWith("vue:")||kt("COMPILER_IS_ON_ELEMENT",t)))continue;f.push(ae(J(B,!0,Jc(O,0,B.length)),J(A?A.content:"",j,A?A.loc:O)))}else{const{name:O,arg:B,exp:A,loc:j}=I,$=O==="bind",ge=O==="on";if(O==="slot"){s||t.onError(ce(40,j));continue}if(O==="once"||O==="memo"||O==="is"||$&&Pt(B,"is")&&(qr(o)||kt("COMPILER_IS_ON_ELEMENT",t))||ge&&i)continue;if(($&&Pt(B,"key")||ge&&d&&Pt(B,"vue:before-update"))&&(m=!0),$&&Pt(B,"ref")&&t.scopes.vFor>0&&f.push(ae(J("ref_for",!0),J("true"))),!B&&($||ge)){if(C=!0,A)if(f.length&&(a.push(Ve(_r(f),l)),f=[]),$){if(kt("COMPILER_V_BIND_OBJECT_ORDER",t)){a.unshift(A);continue}a.push(A)}else a.push({type:14,loc:j,callee:t.helper(Vi),arguments:[A]});else t.onError(ce($?34:35,j));continue}const G=t.directiveTransforms[O];if(G){const{props:ie,needRuntime:te}=G(I,e,t);!i&&ie.forEach(H),f.push(...ie),te&&(u.push(I),gt(te)&&ff.set(I,te))}else Kf(O)||(u.push(I),d&&(m=!0))}}let v;if(a.length?(f.length&&a.push(Ve(_r(f),l)),a.length>1?v=ue(t.helper(Rs),a,l):v=a[0]):f.length&&(v=Ve(_r(f),l)),C?b|=16:(N&&!s&&(b|=2),y&&!s&&(b|=4),F.length&&(b|=8),h&&(b|=32)),!m&&(b===0||b===32)&&(T||S||u.length>0)&&(b|=512),!t.inSSR&&v)switch(v.type){case 15:let _=-1,I=-1,O=!1;for(let j=0;jae(o,i)),r))}return Zn(n,e.loc)}function yh(e){let t="[";for(let n=0,s=e.length;n{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},_h=/-(\w)/g,zo=bh(e=>e.replace(_h,(t,n)=>n?n.toUpperCase():"")),Eh=(e,t)=>{if(Fs(e)){const{children:n,loc:s}=e,{slotName:r,slotProps:i}=Ch(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let l=2;i&&(o[2]=i,l=3),n.length&&(o[3]=an([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=ue(t.helper(Kc),o,s)}};function Ch(e,t){let n='"default"',s;const r=[];for(let i=0;i0){const{props:i,directives:o}=af(e,t,r,!1,!1);s=i,o.length&&t.onError(ce(36,o[0].loc))}return{slotName:n,slotProps:s}}const Th=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,uf=(e,t,n,s)=>{const{loc:r,modifiers:i,arg:o}=e;!e.exp&&!i.length&&n.onError(ce(35,r));let l;if(o.type===4)if(o.isStatic){let u=o.content;u.startsWith("vue:")&&(u=`vnode-${u.slice(4)}`),l=J(Gt(Te(u)),!0,o.loc)}else l=We([`${n.helperString(Ur)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Ur)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let f=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const u=zc(c.content),d=!(u||Th.test(c.content)),m=c.content.includes(";");(d||f&&u)&&(c=We([`${d?"$event":"(...args)"} => ${m?"{":"("}`,c,m?"}":")"]))}let a={props:[ae(l,c||J("() => {}",!1,r))]};return s&&(a=s(a)),f&&(a.props[0].value=n.cache(a.props[0].value)),a.props.forEach(u=>u.key.isHandlerKey=!0),a},Sh=(e,t,n)=>{const{exp:s,modifiers:r,loc:i}=e,o=e.arg;return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),r.includes("camel")&&(o.type===4?o.isStatic?o.content=Te(o.content):o.content=`${n.helperString(Vr)}(${o.content})`:(o.children.unshift(`${n.helperString(Vr)}(`),o.children.push(")"))),n.inSSR||(r.includes("prop")&&Jo(o,"."),r.includes("attr")&&Jo(o,"^")),!s||s.type===4&&!s.content.trim()?(n.onError(ce(34,i)),{props:[ae(o,J("",!0,i))]}):{props:[ae(o,s)]}},Jo=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},vh=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,r=!1;for(let i=0;ii.type===7&&!t.directiveTransforms[i.name])&&e.tag!=="template")))for(let i=0;i{if(e.type===1&&He(e,"once",!0))return Yo.has(e)||t.inVOnce?void 0:(Yo.add(e),t.inVOnce=!0,t.helper(As),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},pf=(e,t,n)=>{const{exp:s,arg:r}=e;if(!s)return n.onError(ce(41,e.loc)),Er();const i=s.loc.source,o=s.type===4?s.content:i;n.bindingMetadata[i];const l=!1;if(!o.trim()||!zc(o)&&!l)return n.onError(ce(42,s.loc)),Er();const c=r||J("modelValue",!0),f=r?Fe(r)?`onUpdate:${r.content}`:We(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;const u=n.isTS?"($event: any)":"$event";a=We([`${u} => ((`,s,") = $event)"]);const d=[ae(c,e.exp),ae(f,a)];if(e.modifiers.length&&t.tagType===1){const m=e.modifiers.map(T=>(Ki(T)?T:JSON.stringify(T))+": true").join(", "),b=r?Fe(r)?`${r.content}Modifiers`:We([r,' + "Modifiers"']):"modelModifiers";d.push(ae(b,J(`{ ${m} }`,!1,e.loc,2)))}return Er(d)};function Er(e=[]){return{props:e}}const Nh=/[\w).+\-_$\]]/,Ph=(e,t)=>{!kt("COMPILER_FILTER",t)||(e.type===5&&Bs(e.content,t),e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Bs(n.exp,t)}))};function Bs(e,t){if(e.type===4)Zo(e,t);else for(let n=0;n=0&&(h=n.charAt(y),h===" ");y--);(!h||!Nh.test(h))&&(o=!0)}}b===void 0?b=n.slice(0,m).trim():a!==0&&N();function N(){T.push(n.slice(a,m).trim()),a=m+1}if(T.length){for(m=0;m{if(e.type===1){const n=He(e,"memo");return!n||Xo.has(e)?void 0:(Xo.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&xi(s,t),e.codegenNode=ue(t.helper(ji),[n.exp,an(void 0,s),"_cache",String(t.cached++)]))})}};function Ah(e){return[[wh,nh,Rh,ih,Ph,Eh,dh,ah,vh],{on:uf,bind:Sh,model:pf}]}function Ih(e,t={}){const n=t.onError||Oi,s=t.mode==="module";t.prefixIdentifiers===!0?n(ce(46)):s&&n(ce(47));const r=!1;t.cacheHandlers&&n(ce(48)),t.scopeId&&!s&&n(ce(49));const i=z(e)?Sd(e,t):e,[o,l]=Ah();return $d(i,ee({},t,{prefixIdentifiers:r,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:ee({},l,t.directiveTransforms||{})})),Ud(i,ee({},t,{prefixIdentifiers:r}))}const Mh=()=>({props:[]}),df=Symbol(""),hf=Symbol(""),gf=Symbol(""),mf=Symbol(""),zr=Symbol(""),yf=Symbol(""),bf=Symbol(""),_f=Symbol(""),Ef=Symbol(""),Cf=Symbol("");cd({[df]:"vModelRadio",[hf]:"vModelCheckbox",[gf]:"vModelText",[mf]:"vModelSelect",[zr]:"vModelDynamic",[yf]:"withModifiers",[bf]:"withKeys",[_f]:"vShow",[Ef]:"Transition",[Cf]:"TransitionGroup"});let qt;function kh(e,t=!1){return qt||(qt=document.createElement("div")),t?(qt.innerHTML=`
`,qt.children[0].getAttribute("foo")):(qt.innerHTML=e,qt.textContent)}const Fh=Ne("style,iframe,script,noscript",!0),Lh={isVoidTag:$f,isNativeTag:e=>Lf(e)||Bf(e),isPreTag:e=>e==="pre",decodeEntities:kh,isBuiltInComponent:e=>{if(Zt(e,"Transition"))return Ef;if(Zt(e,"TransitionGroup"))return Cf},getNamespace(e,t){let n=t?t.ns:0;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n},getTextMode({tag:e,ns:t}){if(t===0){if(e==="textarea"||e==="title")return 1;if(Fh(e))return 2}return 0}},Bh=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:J("style",!0,t.loc),exp:$h(t.value.content,t.loc),modifiers:[],loc:t.loc})})},$h=(e,t)=>{const n=el(e);return J(JSON.stringify(n),!1,t,3)};function nt(e,t){return ce(e,t)}const Dh=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(nt(50,r)),t.children.length&&(n.onError(nt(51,r)),t.children.length=0),{props:[ae(J("innerHTML",!0,r),s||J("",!0))]}},Hh=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(nt(52,r)),t.children.length&&(n.onError(nt(53,r)),t.children.length=0),{props:[ae(J("textContent",!0),s?Ie(s,n)>0?s:ue(n.helperString(sr),[s],r):J("",!0))]}},Vh=(e,t,n)=>{const s=pf(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(nt(55,e.arg.loc));const{tag:r}=t,i=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||i){let o=gf,l=!1;if(r==="input"||i){const c=rr(t,"type");if(c){if(c.type===7)o=zr;else if(c.value)switch(c.value.content){case"radio":o=df;break;case"checkbox":o=hf;break;case"file":l=!0,n.onError(nt(56,e.loc));break}}else yd(t)&&(o=zr)}else r==="select"&&(o=mf);l||(s.needRuntime=n.helper(o))}else n.onError(nt(54,e.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},Uh=Ne("passive,once,capture"),jh=Ne("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Kh=Ne("left,right"),Tf=Ne("onkeyup,onkeydown,onkeypress",!0),xh=(e,t,n,s)=>{const r=[],i=[],o=[];for(let l=0;lFe(e)&&e.content.toLowerCase()==="onclick"?J(t,!0):e.type!==4?We(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Wh=(e,t,n)=>uf(e,t,n,s=>{const{modifiers:r}=e;if(!r.length)return s;let{key:i,value:o}=s.props[0];const{keyModifiers:l,nonKeyModifiers:c,eventOptionModifiers:f}=xh(i,r,n,e.loc);if(c.includes("right")&&(i=Qo(i,"onContextmenu")),c.includes("middle")&&(i=Qo(i,"onMouseup")),c.length&&(o=ue(n.helper(yf),[o,JSON.stringify(c)])),l.length&&(!Fe(i)||Tf(i.content))&&(o=ue(n.helper(bf),[o,JSON.stringify(l)])),f.length){const a=f.map(Ht).join("");i=Fe(i)?J(`${i.content}${a}`,!0):We(["(",i,`) + "${a}"`])}return{props:[ae(i,o)]}}),qh=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(nt(58,r)),{props:[],needRuntime:n.helper(_f)}},zh=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&(t.onError(nt(60,e.loc)),t.removeNode())},Jh=[Bh],Yh={cloak:Mh,html:Dh,text:Hh,model:Vh,on:Wh,show:qh};function Xh(e,t={}){return Ih(e,ee({},Lh,t,{nodeTransforms:[zh,...Jh,...t.nodeTransforms||[]],directiveTransforms:ee({},Yh,t.directiveTransforms||{}),transformHoist:null}))}export{Ku as $,Ia as A,Pa as B,_l as C,Te as D,Qr as E,Ht as F,jn as G,If as H,Un as I,Hf as J,Gt as K,gi as L,Ee as M,Me as N,ye as O,fu as P,Qa as Q,xn as R,Mt as S,Du as T,on as U,ke as V,Ye as W,Ze as X,hp as Y,hc as Z,Ci as _,Zh as a,_c as a$,Hu as a0,Ti as a1,tc as a2,op as a3,ec as a4,yu as a5,ju as a6,Si as a7,le as a8,lu as a9,Ul as aA,Vl as aB,Qs as aC,Zs as aD,Gs as aE,Wa as aF,Il as aG,xa as aH,ai as aI,mu as aJ,bu as aK,du as aL,gu as aM,hu as aN,dp as aO,rn as aP,kr as aQ,Pl as aR,Ft as aS,yc as aT,pp as aU,_u as aV,Vu as aW,rp as aX,cp as aY,sp as aZ,hi as a_,mi as aa,ep as ab,tp as ac,Gu as ad,Yt as ae,Ct as af,Js as ag,oc as ah,mc as ai,jt as aj,fp as ak,vn as al,bc as am,Ju as an,bt as ao,ip as ap,lc as aq,ci as ar,Ll as as,Dl as at,Xs as au,Hl as av,Bl as aw,Kl as ax,zn as ay,jl as az,Aa as b,Cl as b0,wn as b1,su as b2,Ml as b3,ru as b4,lp as b5,ui as b6,np as b7,uu as b8,ap as b9,qa as ba,wi as bb,Up as bc,nr as bd,ed as be,td as bf,Cc as bg,kp as bh,Bc as bi,nd as bj,Hr as bk,Lp as bl,Bp as bm,Ni as bn,Ac as bo,Pi as bp,Oc as bq,Ns as br,Mc as bs,Qp as bt,Zp as bu,V as bv,Xh as c,Qf as d,ee as e,zf as f,Jf as g,ni as h,z as i,At as j,sn as k,de as l,bs as m,si as n,Yf as o,oi as p,js as q,zu as r,ti as s,ps as t,yl as u,va as v,wa as w,Gf as x,Y as y,El as z}; diff --git a/assets/engine.io-client.58517560.js b/assets/engine.io-client.58517560.js new file mode 100644 index 0000000..a3bfab1 --- /dev/null +++ b/assets/engine.io-client.58517560.js @@ -0,0 +1 @@ +import{d as F,a as I,e as W,b as M,p as q}from"./engine.io-parser.3f360695.js";import{E as y}from"./@socket.io.aec831e2.js";const n=(()=>typeof self!="undefined"?self:typeof window!="undefined"?window:Function("return this")())();function L(r,...e){return e.reduce((t,s)=>(r.hasOwnProperty(s)&&(t[s]=r[s]),t),{})}const D=n.setTimeout,N=n.clearTimeout;function g(r,e){e.useNativeTimers?(r.setTimeoutFn=D.bind(n),r.clearTimeoutFn=N.bind(n)):(r.setTimeoutFn=n.setTimeout.bind(n),r.clearTimeoutFn=n.clearTimeout.bind(n))}const z=1.33;function X(r){return typeof r=="string"?V(r):Math.ceil((r.byteLength||r.size)*z)}function V(r){let e=0,t=0;for(let s=0,i=r.length;s=57344?t+=3:(s++,t+=4);return t}class j extends Error{constructor(e,t,s){super(e),this.description=t,this.context=s,this.type="TransportError"}}class C extends y{constructor(e){super(),this.writable=!1,g(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,t,s){return super.emitReserved("error",new j(e,t,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=F(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}}const O="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),m=64,K={};let T=0,u=0,x;function k(r){let e="";do e=O[r%m]+e,r=Math.floor(r/m);while(r>0);return e}function B(){const r=k(+new Date);return r!==x?(T=0,x=r):r+"."+k(T++)}for(;u{this.readyState="paused",e()};if(this.polling||!this.writable){let s=0;this.polling&&(s++,this.once("pollComplete",function(){--s||t()})),this.writable||(s++,this.once("drain",function(){--s||t()}))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};I(e,this.socket.binaryType).forEach(t),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,W(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.query||{};const t=this.opts.secure?"https":"http";let s="";this.opts.timestampRequests!==!1&&(e[this.opts.timestampParam]=B()),!this.supportsBinary&&!e.sid&&(e.b64=1),this.opts.port&&(t==="https"&&Number(this.opts.port)!==443||t==="http"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port);const i=H(e),o=this.opts.hostname.indexOf(":")!==-1;return t+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(i.length?"?"+i:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new a(this.uri(),e)}doWrite(e,t){const s=this.request({method:"POST",data:e});s.on("success",t),s.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,s)=>{this.onError("xhr poll error",t,s)}),this.pollXhr=e}}class a extends y{constructor(e,t){super(),g(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.async=t.async!==!1,this.data=t.data!==void 0?t.data:null,this.create()}create(){const e=L(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const t=this.xhr=new A(e);try{t.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0);for(let s in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(s)&&t.setRequestHeader(s,this.opts.extraHeaders[s])}}catch{}if(this.method==="POST")try{t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{t.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in t&&(t.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(t.timeout=this.opts.requestTimeout),t.onreadystatechange=()=>{t.readyState===4&&(t.status===200||t.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof t.status=="number"?t.status:0)},0))},t.send(this.data)}catch(s){this.setTimeoutFn(()=>{this.onError(s)},0);return}typeof document!="undefined"&&(this.index=a.requestsCount++,a.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(!(typeof this.xhr=="undefined"||this.xhr===null)){if(this.xhr.onreadystatechange=G,e)try{this.xhr.abort()}catch{}typeof document!="undefined"&&delete a.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}a.requestsCount=0;a.requests={};if(typeof document!="undefined"){if(typeof attachEvent=="function")attachEvent("onunload",E);else if(typeof addEventListener=="function"){const r="onpagehide"in n?"pagehide":"unload";addEventListener(r,E,!1)}}function E(){for(let r in a.requests)a.requests.hasOwnProperty(r)&&a.requests[r].abort()}const Z=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0))(),d=n.WebSocket||n.MozWebSocket,S=!0,_="arraybuffer",R=typeof navigator!="undefined"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class ee extends C{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,s=R?{}:L(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=S&&!R?t?new d(e,t):new d(e):new d(e,t,s)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType||_,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t{const h={};try{S&&this.ws.send(o)}catch{}i&&Z(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws!="undefined"&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const t=this.opts.secure?"wss":"ws";let s="";this.opts.port&&(t==="wss"&&Number(this.opts.port)!==443||t==="ws"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=B()),this.supportsBinary||(e.b64=1);const i=H(e),o=this.opts.hostname.indexOf(":")!==-1;return t+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(i.length?"?"+i:"")}check(){return!!d}}const te={websocket:ee,polling:Y},se=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,re=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function P(r){const e=r,t=r.indexOf("["),s=r.indexOf("]");t!=-1&&s!=-1&&(r=r.substring(0,t)+r.substring(t,s).replace(/:/g,";")+r.substring(s,r.length));let i=se.exec(r||""),o={},h=14;for(;h--;)o[re[h]]=i[h]||"";return t!=-1&&s!=-1&&(o.source=e,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=ie(o,o.path),o.queryKey=oe(o,o.query),o}function ie(r,e){const t=/\/{2,9}/g,s=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function oe(r,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,i,o){i&&(t[i]=o)}),t}class c extends y{constructor(e,t={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(t=e,e=null),e?(e=P(e),t.hostname=e.host,t.secure=e.protocol==="https"||e.protocol==="wss",t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=P(t.host).host),g(this,t),this.secure=t.secure!=null?t.secure:typeof location!="undefined"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location!="undefined"?location.hostname:"localhost"),this.port=t.port||(typeof location!="undefined"&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Q(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=q,t.transport=e,this.id&&(t.sid=this.id);const s=Object.assign({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new te[e](s)}open(){let e;if(this.opts.rememberUpgrade&&c.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch{this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",t=>this.onClose("transport close",t))}probe(e){let t=this.createTransport(e),s=!1;c.priorWebsocketSuccess=!1;const i=()=>{s||(t.send([{type:"ping",data:"probe"}]),t.once("packet",l=>{if(!s)if(l.type==="pong"&&l.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;c.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(b(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const p=new Error("probe error");p.transport=t.name,this.emitReserved("upgradeError",p)}}))};function o(){s||(s=!0,b(),t.close(),t=null)}const h=l=>{const p=new Error("probe error: "+l);p.transport=t.name,o(),this.emitReserved("upgradeError",p)};function f(){h("transport closed")}function w(){h("socket closed")}function v(l){t&&l.name!==t.name&&o()}const b=()=>{t.removeListener("open",i),t.removeListener("error",h),t.removeListener("close",f),this.off("close",w),this.off("upgrading",v)};t.once("open",i),t.once("error",h),t.once("close",f),this.once("close",w),this.once("upgrading",v),t.open()}onOpen(){if(this.readyState="open",c.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let s=0;s0&&t>this.maxPayload)return this.writeBuffer.slice(0,s);t+=2}return this.writeBuffer}write(e,t,s){return this.sendPacket("message",e,t,s),this}send(e,t,s){return this.sendPacket("message",e,t,s),this}sendPacket(e,t,s,i){if(typeof t=="function"&&(i=t,t=void 0),typeof s=="function"&&(i=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const o={type:e,data:t,options:s};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},s=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():e()}):this.upgrading?s():e()),this}onError(e){c.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let s=0;const i=e.length;for(;s{a[o[e]]=e});const B={type:"error",data:"parser error"},w=typeof Blob=="function"||typeof Blob!="undefined"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",b=typeof ArrayBuffer=="function",E=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,C=({type:e,data:t},n,r)=>w&&t instanceof Blob?n?r(t):d(t,r):b&&(t instanceof ArrayBuffer||E(t))?n?r(t):d(new Blob([t]),r):r(o[e]+(t||"")),d=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)},A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=typeof Uint8Array=="undefined"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,r,c=0,f,s,i,y;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const p=new ArrayBuffer(t),l=new Uint8Array(p);for(r=0;r>4,l[c++]=(s&15)<<4|i>>2,l[c++]=(i&3)<<6|y&63;return p},P=typeof ArrayBuffer=="function",T=(e,t)=>{if(typeof e!="string")return{type:"message",data:h(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:O(e.substring(1),t)}:a[n]?e.length>1?{type:a[n],data:e.substring(1)}:{type:a[n]}:B},O=(e,t)=>{if(P){const n=R(e);return h(n,t)}else return{base64:!0,data:e}},h=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},g=String.fromCharCode(30),S=(e,t)=>{const n=e.length,r=new Array(n);let c=0;e.forEach((f,s)=>{C(f,!1,i=>{r[s]=i,++c===n&&t(r.join(g))})})},m=(e,t)=>{const n=e.split(g),r=[];for(let c=0;c10&&(n.lastTenTicks=n.lastTenTicks.slice(1)),!((f==null?void 0:f.value)&&!e.keepGoing)&&!n.hasNaN&&(i=Math.max(i,0),e.devSpeed!==0)){if(T.value=!1,e.offlineTime!=null){if(l.gt(e.offlineTime,a.offlineLimit*3600)&&(e.offlineTime=a.offlineLimit*3600),l.gt(e.offlineTime,0)&&e.devSpeed!==0){const s=Math.max(e.offlineTime/10,i);e.offlineTime=e.offlineTime-s,i+=s}else e.devSpeed===0&&(e.offlineTime+=i);(!e.offlineProd||l.lt(e.offlineTime,0))&&(e.offlineTime=null)}i=Math.min(i,a.maxTickLength),e.devSpeed!=null&&(i*=e.devSpeed),Number.isFinite(i)||(i=1e308),!l.eq(i,0)&&(e.timePlayed+=i,Number.isFinite(e.timePlayed)||(e.timePlayed=1e308),u.emit("update",i,r),p.unthrottled?(requestAnimationFrame(m),o!=null&&(clearInterval(o),o=null)):o==null&&(o=setInterval(m,50)))}}async function G(){f=(await d(()=>import("./index.624ae6e9.js").then(function(t){return t.c}),["assets/index.624ae6e9.js","assets/index.7f7e174e.css","assets/@fontsource.f66d05e7.css","assets/vue.5bd9f35e.js","assets/lru-cache.9506e0ec.js","assets/yallist.fd762fe7.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/vuedraggable.832ed13e.js","assets/sortablejs.80af5380.js","assets/vue-next-select.8d9e0122.js","assets/vue-next-select.9e6f4164.css","assets/vue-textarea-autosize.35804eaf.js","assets/semver.d101e2be.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.b272a510.js","assets/vue-toastification.4b5f8ac8.css","assets/workbox-window.8d14e8b7.js"])).hasWon,c(f,t=>{t&&u.emit("gameWon")}),p.unthrottled?requestAnimationFrame(m):o=setInterval(m,50)}export{G as startGameLoop}; diff --git a/assets/index.624ae6e9.js b/assets/index.624ae6e9.js new file mode 100644 index 0000000..62af3c3 --- /dev/null +++ b/assets/index.624ae6e9.js @@ -0,0 +1,15 @@ +/* empty css */import"./vue.5bd9f35e.js";import{Z as x,q as $e,C as u,t as _,b1 as de,aa as U,aE as m,a0 as E,a1 as c,aK as pe,G as $,w as et,b2 as Et,a8 as A,O as ne,ay as zt,ar as Xe,aG as at,A as ye,_ as z,b6 as T,b8 as Bt,bs as va,aq as je,bu as He,bb as Ut,T as pa,a7 as I,u as _t,j as ya,l as ge,bv as vt,aL as ba,$ as M,aN as Ae,J as G,I as Fe,aH as be,aF as Ne,z as Me,br as Na,aJ as Ca,bc as nt,ao as Ea,bn as Ba,be as _a}from"./@vue.4ce677c2.js";import{c as Ot}from"./nanoevents.1080beb7.js";import{L as ve}from"./lz-string.f2f3b7cf.js";import{D as wa}from"./vuedraggable.832ed13e.js";import{Y as Ia}from"./vue-next-select.8d9e0122.js";import{p as Sa}from"./vue-textarea-autosize.35804eaf.js";import{s as Qa}from"./semver.d101e2be.js";import{l as Ma}from"./socket.io-client.79ce0df5.js";import{u as Yt,s as ka}from"./vue-toastification.b272a510.js";import{v as Ta,n as Da}from"./workbox-window.8d14e8b7.js";import"./lru-cache.9506e0ec.js";import"./yallist.fd762fe7.js";import"./sortablejs.80af5380.js";import"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import"./@socket.io.aec831e2.js";import"./socket.io-parser.544e37d1.js";const Ra=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function a(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerpolicy&&(s.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?s.credentials="include":i.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=a(i);fetch(i.href,s)}};Ra();const Va="modulepreload",Tt={},qa="./",ot=function(t,a){return!a||a.length===0?t():Promise.all(a.map(n=>{if(n=`${qa}${n}`,n in Tt)return;Tt[n]=!0;const i=n.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${n}"]${s}`))return;const o=document.createElement("link");if(o.rel=i?"stylesheet":Va,i||(o.as="script",o.crossOrigin=""),o.href=n,document.head.appendChild(o),i)return new Promise((l,g)=>{o.addEventListener("load",l),o.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>t())},Ga="./projInfo-schema.json",Pa="Super Auto Coots",xa="A project made in Profectus",Fa="superautocoots",za="thepaperpilot and crea",Ua="",Oa="",Ya="0.0.0",Ja="Initial Commit",La=!1,Wa=!1,Xa=2,ja=!0,Ha=null,Ka="",Za=["main"],$a=3600,en=1,tn=!0,an="base64";var P={$schema:Ga,title:Pa,description:xa,id:Fa,author:za,discordName:Ua,discordLink:Oa,versionNumber:Ya,versionTitle:Ja,allowGoBack:La,defaultShowSmall:Wa,defaultDecimalsShown:Xa,useHeader:ja,banner:Ha,logo:Ka,initialTabs:Za,maxTickLength:$a,offlineLimit:en,enablePausing:tn,exportEncoding:an};class nn{constructor(t){this.map=new Map,this.first=void 0,this.last=void 0,this.maxSize=t}get size(){return this.map.size}get(t){const a=this.map.get(t);if(a!==void 0)return a!==this.first&&(a===this.last?(this.last=a.prev,this.last.next=void 0):(a.prev.next=a.next,a.next.prev=a.prev),a.next=this.first,this.first.prev=a,this.first=a),a.value}set(t,a){if(this.maxSize<1)return;if(this.map.has(t))throw new Error("Cannot update existing keys in the cache");const n=new sn(t,a);for(this.first===void 0?(this.first=n,this.last=n):(n.next=this.first,this.first.prev=n,this.first=n),this.map.set(t,n);this.map.size>this.maxSize;){const i=this.last;this.map.delete(i.key),this.last=i.prev,this.last.next=void 0}}}class sn{constructor(t,a){this.next=void 0,this.prev=void 0,this.key=t,this.value=a}}const ft=17,rn=9e15,on=Math.log10(9e15),ln=1/9e15,An=308,un=-324,Dt=5,cn=(1<<10)-1,dn=function(){const e=[];for(let a=un+1;a<=An;a++)e.push(Number("1e"+a));const t=323;return function(a){return e[a+t]}}(),Ee=[2,Math.E,3,4,5,6,7,8,9,10],gn=[[1,1.0891180521811203,1.1789767925673957,1.2701455431742086,1.3632090180450092,1.4587818160364217,1.5575237916251419,1.6601571006859253,1.767485818836978,1.8804192098842727,2],[1,1.1121114330934079,1.231038924931609,1.3583836963111375,1.4960519303993531,1.6463542337511945,1.8121385357018724,1.996971324618307,2.2053895545527546,2.4432574483385254,Math.E],[1,1.1187738849693603,1.2464963939368214,1.38527004705667,1.5376664685821402,1.7068895236551784,1.897001227148399,2.1132403089001035,2.362480153784171,2.6539010333870774,3],[1,1.1367350847096405,1.2889510672956703,1.4606478703324786,1.6570295196661111,1.8850062585672889,2.1539465047453485,2.476829779693097,2.872061932789197,3.3664204535587183,4],[1,1.1494592900767588,1.319708228183931,1.5166291280087583,1.748171114438024,2.0253263297298045,2.3636668498288547,2.7858359149579424,3.3257226212448145,4.035730287722532,5],[1,1.159225940787673,1.343712473580932,1.5611293155111927,1.8221199554561318,2.14183924486326,2.542468319282638,3.0574682501653316,3.7390572020926873,4.6719550537360774,6],[1,1.1670905356972596,1.3632807444991446,1.5979222279405536,1.8842640123816674,2.2416069644878687,2.69893426559423,3.3012632110403577,4.121250340630164,5.281493033448316,7],[1,1.1736630594087796,1.379783782386201,1.6292821855668218,1.9378971836180754,2.3289975651071977,2.8384347394720835,3.5232708454565906,4.478242031114584,5.868592169644505,8],[1,1.1793017514670474,1.394054150657457,1.65664127441059,1.985170999970283,2.4069682290577457,2.9647310119960752,3.7278665320924946,4.814462547283592,6.436522247411611,9],[1,1.1840100246247336,1.4061375836156955,1.6802272208863964,2.026757028388619,2.4770056063449646,3.080525271755482,3.9191964192627284,5.135152840833187,6.989961179534715,10]],mn=[[-1,-.9194161097107025,-.8335625019330468,-.7425599821143978,-.6466611521029437,-.5462617907227869,-.4419033816638769,-.3342645487554494,-.224140440909962,-.11241087890006762,0],[-1,-.90603157029014,-.80786507256596,-.7064666939634,-.60294836853664,-.49849837513117,-.39430303318768,-.29147201034755,-.19097820800866,-.09361896280296,0],[-1,-.9021579584316141,-.8005762598234203,-.6964780623319391,-.5911906810998454,-.486050182576545,-.3823089430815083,-.28106046722897615,-.1831906535795894,-.08935809204418144,0],[-1,-.8917227442365535,-.781258746326964,-.6705130326902455,-.5612813129406509,-.4551067709033134,-.35319256652135966,-.2563741554088552,-.1651412821106526,-.0796919581982668,0],[-1,-.8843387974366064,-.7678744063886243,-.6529563724510552,-.5415870994657841,-.4352842206588936,-.33504449124791424,-.24138853420685147,-.15445285440944467,-.07409659641336663,0],[-1,-.8786709358426346,-.7577735191184886,-.6399546189952064,-.527284921869926,-.4211627631006314,-.3223479611761232,-.23107655627789858,-.1472057700818259,-.07035171210706326,0],[-1,-.8740862815291583,-.7497032990976209,-.6297119746181752,-.5161838335958787,-.41036238255751956,-.31277212146489963,-.2233976621705518,-.1418697367979619,-.06762117662323441,0],[-1,-.8702632331800649,-.7430366914122081,-.6213373075161548,-.5072025698095242,-.40171437727184167,-.30517930701410456,-.21736343968190863,-.137710238299109,-.06550774483471955,0],[-1,-.8670016295947213,-.7373984232432306,-.6143173985094293,-.49973884395492807,-.394584953527678,-.2989649949848695,-.21245647317021688,-.13434688362382652,-.0638072667348083,0],[-1,-.8641642839543857,-.732534623168535,-.6083127477059322,-.4934049257184696,-.3885773075899922,-.29376029055315767,-.2083678561173622,-.13155653399373268,-.062401588652553186,0]];let d=function(t){return C.fromValue_noAlloc(t)},Q=function(e,t,a){return C.fromComponents(e,t,a)},k=function(t,a,n){return C.fromComponents_noNormalize(t,a,n)};const he=function(t,a){const n=a+1,i=Math.ceil(Math.log10(Math.abs(t))),s=Math.round(t*Math.pow(10,n-i))*Math.pow(10,i-n);return parseFloat(s.toFixed(Math.max(n-i,0)))},ht=function(e){return Math.sign(e)*Math.log10(Math.abs(e))},fn=function(e){if(!isFinite(e))return e;if(e<-50)return e===Math.trunc(e)?Number.NEGATIVE_INFINITY:0;let t=1;for(;e<10;)t=t*e,++e;e-=1;let a=.9189385332046727;a=a+(e+.5)*Math.log(e),a=a-e;const n=e*e;let i=e;return a=a+1/(12*i),i=i*n,a=a+1/(360*i),i=i*n,a=a+1/(1260*i),i=i*n,a=a+1/(1680*i),i=i*n,a=a+1/(1188*i),i=i*n,a=a+691/(360360*i),i=i*n,a=a+7/(1092*i),i=i*n,a=a+3617/(122400*i),Math.exp(a)/t},Jt=.5671432904097838,Rt=function(e,t=1e-10){let a,n;if(!Number.isFinite(e)||e===0)return e;if(e===1)return Jt;e<10?a=0:a=Math.log(e)-Math.log(Math.log(e));for(let i=0;i<100;++i){if(n=(e*Math.exp(-a)+a*a)/(a+1),Math.abs(n-a).5?1:-1;if(Math.random()*20<1)return k(t,0,1);const a=Math.floor(Math.random()*(e+1));let n=a===0?Math.random()*616-308:Math.random()*16;Math.random()>.9&&(n=Math.trunc(n));let i=Math.pow(10,n);return Math.random()>.9&&(i=Math.trunc(i)),Q(t,a,i)}static affordGeometricSeries_core(e,t,a,n){const i=t.mul(a.pow(n));return r.floor(e.div(i).mul(a.sub(1)).add(1).log10().div(a.log10()))}static sumGeometricSeries_core(e,t,a,n){return t.mul(a.pow(n)).mul(r.sub(1,a.pow(e))).div(r.sub(1,a))}static affordArithmeticSeries_core(e,t,a,n){const s=t.add(n.mul(a)).sub(a.div(2)),o=s.pow(2);return s.neg().add(o.add(a.mul(e).mul(2)).sqrt()).div(a).floor()}static sumArithmeticSeries_core(e,t,a,n){const i=t.add(n.mul(a));return e.div(2).mul(i.mul(2).plus(e.sub(1).mul(a)))}static efficiencyOfPurchase_core(e,t,a){return e.div(t).add(e.div(a))}normalize(){if(this.sign===0||this.mag===0&&this.layer===0)return this.sign=0,this.mag=0,this.layer=0,this;if(this.layer===0&&this.mag<0&&(this.mag=-this.mag,this.sign=-this.sign),this.layer===0&&this.mag=rn)return this.layer+=1,this.mag=t*Math.log10(e),this;for(;e0;)this.layer-=1,this.layer===0?this.mag=Math.pow(10,this.mag):(this.mag=t*Math.pow(10,e),e=Math.abs(this.mag),t=Math.sign(this.mag));return this.layer===0&&(this.mag<0?(this.mag=-this.mag,this.sign=-this.sign):this.mag===0&&(this.sign=0)),this}fromComponents(e,t,a){return this.sign=e,this.layer=t,this.mag=a,this.normalize(),this}fromComponents_noNormalize(e,t,a){return this.sign=e,this.layer=t,this.mag=a,this}fromMantissaExponent(e,t){return this.layer=1,this.sign=Math.sign(e),e=Math.abs(e),this.mag=t+Math.log10(e),this.normalize(),this}fromMantissaExponent_noNormalize(e,t){return this.fromMantissaExponent(e,t),this}fromDecimal(e){return this.sign=e.sign,this.layer=e.layer,this.mag=e.mag,this}fromNumber(e){return this.mag=Math.abs(e),this.sign=Math.sign(e),this.layer=0,this.normalize(),this}fromString(e){const t=e,a=r.fromStringCache.get(t);if(a!==void 0)return this.fromDecimal(a);e=e.replace(",","");const n=e.split("^^^");if(n.length===2){const h=parseFloat(n[0]),w=parseFloat(n[1]),O=n[1].split(";");let W=1;if(O.length===2&&(W=parseFloat(O[1]),isFinite(W)||(W=1)),isFinite(h)&&isFinite(w)){const p=r.pentate(h,w,W);return this.sign=p.sign,this.layer=p.layer,this.mag=p.mag,r.fromStringCache.maxSize>=1&&r.fromStringCache.set(t,r.fromDecimal(this)),this}}const i=e.split("^^");if(i.length===2){const h=parseFloat(i[0]),w=parseFloat(i[1]),O=i[1].split(";");let W=1;if(O.length===2&&(W=parseFloat(O[1]),isFinite(W)||(W=1)),isFinite(h)&&isFinite(w)){const p=r.tetrate(h,w,W);return this.sign=p.sign,this.layer=p.layer,this.mag=p.mag,r.fromStringCache.maxSize>=1&&r.fromStringCache.set(t,r.fromDecimal(this)),this}}const s=e.split("^");if(s.length===2){const h=parseFloat(s[0]),w=parseFloat(s[1]);if(isFinite(h)&&isFinite(w)){const O=r.pow(h,w);return this.sign=O.sign,this.layer=O.layer,this.mag=O.mag,r.fromStringCache.maxSize>=1&&r.fromStringCache.set(t,r.fromDecimal(this)),this}}e=e.trim().toLowerCase();let o,l,g=e.split("pt");if(g.length===2){o=10,l=parseFloat(g[0]),g[1]=g[1].replace("(",""),g[1]=g[1].replace(")","");let h=parseFloat(g[1]);if(isFinite(h)||(h=1),isFinite(o)&&isFinite(l)){const w=r.tetrate(o,l,h);return this.sign=w.sign,this.layer=w.layer,this.mag=w.mag,r.fromStringCache.maxSize>=1&&r.fromStringCache.set(t,r.fromDecimal(this)),this}}if(g=e.split("p"),g.length===2){o=10,l=parseFloat(g[0]),g[1]=g[1].replace("(",""),g[1]=g[1].replace(")","");let h=parseFloat(g[1]);if(isFinite(h)||(h=1),isFinite(o)&&isFinite(l)){const w=r.tetrate(o,l,h);return this.sign=w.sign,this.layer=w.layer,this.mag=w.mag,r.fromStringCache.maxSize>=1&&r.fromStringCache.set(t,r.fromDecimal(this)),this}}const f=e.split("e"),b=f.length-1;if(b===0){const h=parseFloat(e);if(isFinite(h))return this.fromNumber(h),r.fromStringCache.size>=1&&r.fromStringCache.set(t,r.fromDecimal(this)),this}else if(b===1){const h=parseFloat(e);if(isFinite(h)&&h!==0)return this.fromNumber(h),r.fromStringCache.maxSize>=1&&r.fromStringCache.set(t,r.fromDecimal(this)),this}const v=e.split("e^");if(v.length===2){this.sign=1,v[0].charAt(0)=="-"&&(this.sign=-1);let h="";for(let w=0;w=43&&O<=57||O===101)h+=v[1].charAt(w);else return this.layer=parseFloat(h),this.mag=parseFloat(v[1].substr(w+1)),this.normalize(),r.fromStringCache.maxSize>=1&&r.fromStringCache.set(t,r.fromDecimal(this)),this}}if(b<1)return this.sign=0,this.layer=0,this.mag=0,r.fromStringCache.maxSize>=1&&r.fromStringCache.set(t,r.fromDecimal(this)),this;const y=parseFloat(f[0]);if(y===0)return this.sign=0,this.layer=0,this.mag=0,r.fromStringCache.maxSize>=1&&r.fromStringCache.set(t,r.fromDecimal(this)),this;let N=parseFloat(f[f.length-1]);if(b>=2){const h=parseFloat(f[f.length-2]);isFinite(h)&&(N*=Math.sign(h),N+=ht(h))}if(!isFinite(y))this.sign=f[0]==="-"?-1:1,this.layer=b,this.mag=N;else if(b===1)this.sign=Math.sign(y),this.layer=1,this.mag=N+Math.log10(Math.abs(y));else if(this.sign=Math.sign(y),this.layer=b,b===2){const h=r.mul(Q(1,2,N),d(y));return this.sign=h.sign,this.layer=h.layer,this.mag=h.mag,r.fromStringCache.maxSize>=1&&r.fromStringCache.set(t,r.fromDecimal(this)),this}else this.mag=N;return this.normalize(),r.fromStringCache.maxSize>=1&&r.fromStringCache.set(t,r.fromDecimal(this)),this}fromValue(e){return e instanceof r?this.fromDecimal(e):typeof e=="number"?this.fromNumber(e):typeof e=="string"?this.fromString(e):(this.sign=0,this.layer=0,this.mag=0,this)}toNumber(){return Number.isFinite(this.layer)?this.layer===0?this.sign*this.mag:this.layer===1?this.sign*Math.pow(10,this.mag):this.mag>0?this.sign>0?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:0:Number.NaN}mantissaWithDecimalPlaces(e){return isNaN(this.m)?Number.NaN:this.m===0?0:he(this.m,e)}magnitudeWithDecimalPlaces(e){return isNaN(this.mag)?Number.NaN:this.mag===0?0:he(this.mag,e)}toString(){return isNaN(this.layer)||isNaN(this.sign)||isNaN(this.mag)?"NaN":this.mag===Number.POSITIVE_INFINITY||this.layer===Number.POSITIVE_INFINITY?this.sign===1?"Infinity":"-Infinity":this.layer===0?this.mag<1e21&&this.mag>1e-7||this.mag===0?(this.sign*this.mag).toString():this.m+"e"+this.e:this.layer===1?this.m+"e"+this.e:this.layer<=Dt?(this.sign===-1?"-":"")+"e".repeat(this.layer)+this.mag:(this.sign===-1?"-":"")+"(e^"+this.layer+")"+this.mag}toExponential(e){return this.layer===0?(this.sign*this.mag).toExponential(e):this.toStringWithDecimalPlaces(e)}toFixed(e){return this.layer===0?(this.sign*this.mag).toFixed(e):this.toStringWithDecimalPlaces(e)}toPrecision(e){return this.e<=-7?this.toExponential(e-1):e>this.e?this.toFixed(e-this.exponent-1):this.toExponential(e-1)}valueOf(){return this.toString()}toJSON(){return this.toString()}toStringWithDecimalPlaces(e){return this.layer===0?this.mag<1e21&&this.mag>1e-7||this.mag===0?(this.sign*this.mag).toFixed(e):he(this.m,e)+"e"+he(this.e,e):this.layer===1?he(this.m,e)+"e"+he(this.e,e):this.layer<=Dt?(this.sign===-1?"-":"")+"e".repeat(this.layer)+he(this.mag,e):(this.sign===-1?"-":"")+"(e^"+this.layer+")"+he(this.mag,e)}abs(){return k(this.sign===0?0:1,this.layer,this.mag)}neg(){return k(-this.sign,this.layer,this.mag)}negate(){return this.neg()}negated(){return this.neg()}sgn(){return this.sign}round(){return this.mag<0?r.dZero:this.layer===0?Q(this.sign,0,Math.round(this.mag)):this}floor(){return this.mag<0?r.dZero:this.layer===0?Q(this.sign,0,Math.floor(this.mag)):this}ceil(){return this.mag<0?r.dZero:this.layer===0?Q(this.sign,0,Math.ceil(this.mag)):this}trunc(){return this.mag<0?r.dZero:this.layer===0?Q(this.sign,0,Math.trunc(this.mag)):this}add(e){const t=d(e);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(t.layer)||this.sign===0)return t;if(t.sign===0)return this;if(this.sign===-t.sign&&this.layer===t.layer&&this.mag===t.mag)return k(0,0,0);let a,n;if(this.layer>=2||t.layer>=2)return this.maxabs(t);if(r.cmpabs(this,t)>0?(a=this,n=t):(a=t,n=this),a.layer===0&&n.layer===0)return r.fromNumber(a.sign*a.mag+n.sign*n.mag);const i=a.layer*Math.sign(a.mag),s=n.layer*Math.sign(n.mag);if(i-s>=2)return a;if(i===0&&s===-1){if(Math.abs(n.mag-Math.log10(a.mag))>ft)return a;{const o=Math.pow(10,Math.log10(a.mag)-n.mag),l=n.sign+a.sign*o;return Q(Math.sign(l),1,n.mag+Math.log10(Math.abs(l)))}}if(i===1&&s===0){if(Math.abs(a.mag-Math.log10(n.mag))>ft)return a;{const o=Math.pow(10,a.mag-Math.log10(n.mag)),l=n.sign+a.sign*o;return Q(Math.sign(l),1,Math.log10(n.mag)+Math.log10(Math.abs(l)))}}if(Math.abs(a.mag-n.mag)>ft)return a;{const o=Math.pow(10,a.mag-n.mag),l=n.sign+a.sign*o;return Q(Math.sign(l),1,n.mag+Math.log10(Math.abs(l)))}}plus(e){return this.add(e)}sub(e){return this.add(d(e).neg())}subtract(e){return this.sub(e)}minus(e){return this.sub(e)}mul(e){const t=d(e);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(t.layer))return t;if(this.sign===0||t.sign===0)return k(0,0,0);if(this.layer===t.layer&&this.mag===-t.mag)return k(this.sign*t.sign,0,1);let a,n;if(this.layer>t.layer||this.layer==t.layer&&Math.abs(this.mag)>Math.abs(t.mag)?(a=this,n=t):(a=t,n=this),a.layer===0&&n.layer===0)return r.fromNumber(a.sign*n.sign*a.mag*n.mag);if(a.layer>=3||a.layer-n.layer>=2)return Q(a.sign*n.sign,a.layer,a.mag);if(a.layer===1&&n.layer===0)return Q(a.sign*n.sign,1,a.mag+Math.log10(n.mag));if(a.layer===1&&n.layer===1)return Q(a.sign*n.sign,1,a.mag+n.mag);if(a.layer===2&&n.layer===1){const i=Q(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)).add(Q(Math.sign(n.mag),n.layer-1,Math.abs(n.mag)));return Q(a.sign*n.sign,i.layer+1,i.sign*i.mag)}if(a.layer===2&&n.layer===2){const i=Q(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)).add(Q(Math.sign(n.mag),n.layer-1,Math.abs(n.mag)));return Q(a.sign*n.sign,i.layer+1,i.sign*i.mag)}throw Error("Bad arguments to mul: "+this+", "+e)}multiply(e){return this.mul(e)}times(e){return this.mul(e)}div(e){const t=d(e);return this.mul(t.recip())}divide(e){return this.div(e)}divideBy(e){return this.div(e)}dividedBy(e){return this.div(e)}recip(){return this.mag===0?r.dNaN:this.layer===0?Q(this.sign,0,1/this.mag):Q(this.sign,this.layer,-this.mag)}reciprocal(){return this.recip()}reciprocate(){return this.recip()}cmp(e){const t=d(e);return this.sign>t.sign?1:this.sign0?this.layer:-this.layer,n=t.mag>0?t.layer:-t.layer;return a>n?1:at.mag?1:this.mag0?t:this}clamp(e,t){return this.max(e).min(t)}clampMin(e){return this.max(e)}clampMax(e){return this.min(e)}cmp_tolerance(e,t){const a=d(e);return this.eq_tolerance(a,t)?0:this.cmp(a)}compare_tolerance(e,t){return this.cmp_tolerance(e,t)}eq_tolerance(e,t){const a=d(e);if(t==null&&(t=1e-7),this.sign!==a.sign||Math.abs(this.layer-a.layer)>1)return!1;let n=this.mag,i=a.mag;return this.layer>a.layer&&(i=ht(i)),this.layer0?Q(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):Q(1,0,Math.log10(this.mag))}log10(){return this.sign<=0?r.dNaN:this.layer>0?Q(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):Q(this.sign,0,Math.log10(this.mag))}log(e){return e=d(e),this.sign<=0||e.sign<=0||e.sign===1&&e.layer===0&&e.mag===1?r.dNaN:this.layer===0&&e.layer===0?Q(this.sign,0,Math.log(this.mag)/Math.log(e.mag)):r.div(this.log10(),e.log10())}log2(){return this.sign<=0?r.dNaN:this.layer===0?Q(this.sign,0,Math.log2(this.mag)):this.layer===1?Q(Math.sign(this.mag),0,Math.abs(this.mag)*3.321928094887362):this.layer===2?Q(Math.sign(this.mag),1,Math.abs(this.mag)+.5213902276543247):Q(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}ln(){return this.sign<=0?r.dNaN:this.layer===0?Q(this.sign,0,Math.log(this.mag)):this.layer===1?Q(Math.sign(this.mag),0,Math.abs(this.mag)*2.302585092994046):this.layer===2?Q(Math.sign(this.mag),1,Math.abs(this.mag)+.36221568869946325):Q(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}logarithm(e){return this.log(e)}pow(e){const t=d(e),a=this,n=t;if(a.sign===0)return n.eq(0)?k(1,0,1):a;if(a.sign===1&&a.layer===0&&a.mag===1)return a;if(n.sign===0)return k(1,0,1);if(n.sign===1&&n.layer===0&&n.mag===1)return a;const i=a.absLog10().mul(n).pow10();return this.sign===-1?Math.abs(n.toNumber()%2)%2===1?i.neg():Math.abs(n.toNumber()%2)%2===0?i:r.dNaN:i}pow10(){if(!Number.isFinite(this.layer)||!Number.isFinite(this.mag))return r.dNaN;let e=this;if(e.layer===0){const t=Math.pow(10,e.sign*e.mag);if(Number.isFinite(t)&&Math.abs(t)>=.1)return Q(1,0,t);if(e.sign===0)return r.dOne;e=k(e.sign,e.layer+1,Math.log10(e.mag))}return e.sign>0&&e.mag>=0?Q(e.sign,e.layer+1,e.mag):e.sign<0&&e.mag>=0?Q(-e.sign,e.layer+1,-e.mag):r.dOne}pow_base(e){return d(e).pow(this)}root(e){const t=d(e);return this.pow(t.recip())}factorial(){return this.mag<0?this.add(1).gamma():this.layer===0?this.add(1).gamma():this.layer===1?r.exp(r.mul(this,r.ln(this).sub(1))):r.exp(this)}gamma(){if(this.mag<0)return this.recip();if(this.layer===0){if(this.lt(k(1,0,24)))return r.fromNumber(fn(this.sign*this.mag));const e=this.mag-1;let t=.9189385332046727;t=t+(e+.5)*Math.log(e),t=t-e;const a=e*e;let n=e,i=12*n,s=1/i,o=t+s;if(o===t||(t=o,n=n*a,i=360*n,s=1/i,o=t-s,o===t))return r.exp(t);t=o,n=n*a,i=1260*n;let l=1/i;return t=t+l,n=n*a,i=1680*n,l=1/i,t=t-l,r.exp(t)}else return this.layer===1?r.exp(r.mul(this,r.ln(this).sub(1))):r.exp(this)}lngamma(){return this.gamma().ln()}exp(){return this.mag<0?r.dOne:this.layer===0&&this.mag<=709.7?r.fromNumber(Math.exp(this.sign*this.mag)):this.layer===0?Q(1,1,this.sign*Math.log10(Math.E)*this.mag):this.layer===1?Q(1,2,this.sign*(Math.log10(.4342944819032518)+this.mag)):Q(1,this.layer+1,this.sign*this.mag)}sqr(){return this.pow(2)}sqrt(){if(this.layer===0)return r.fromNumber(Math.sqrt(this.sign*this.mag));if(this.layer===1)return Q(1,2,Math.log10(this.mag)-.3010299956639812);{const e=r.div(k(this.sign,this.layer-1,this.mag),k(1,0,2));return e.layer+=1,e.normalize(),e}}cube(){return this.pow(3)}cbrt(){return this.pow(1/3)}tetrate(e=2,t=k(1,0,1)){if(e===1)return r.pow(this,t);if(e===0)return new r(t);if(this.eq(r.dOne))return r.dOne;if(this.eq(-1))return r.pow(this,t);if(e===Number.POSITIVE_INFINITY){const i=this.toNumber();if(i<=1.444667861009766&&i>=.06598803584531254){if(i>1.444667861009099)return r.fromNumber(Math.E);const s=r.ln(this).neg();return s.lambertw().div(s)}else return i>1.444667861009766?r.fromNumber(Number.POSITIVE_INFINITY):r.dNaN}if(this.eq(r.dZero)){let i=Math.abs((e+1)%2);return i>1&&(i=2-i),r.fromNumber(i)}if(e<0)return r.iteratedlog(t,this,-e);t=d(t);const a=e;e=Math.trunc(e);const n=a-e;if(this.gt(r.dZero)&&this.lte(1.444667861009766)){e=Math.min(1e4,e);for(let i=0;i3)return k(t.sign,t.layer+(e-i-1),t.mag);if(i>1e4)return t}return t}iteratedexp(e=2,t=k(1,0,1)){return this.tetrate(e,t)}iteratedlog(e=10,t=1){if(t<0)return r.tetrate(e,-t,this);e=d(e);let a=r.fromDecimal(this);const n=t;t=Math.trunc(t);const i=n-t;if(a.layer-e.layer>3){const s=Math.min(t,a.layer-e.layer-3);t-=s,a.layer-=s}for(let s=0;s1e4)return a}return i>0&&i<1&&(e.eq(10)?a=a.layeradd10(-i):a=a.layeradd(-i,e)),a}slog(e=10,t=100){let a=.001,n=!1,i=!1,s=this.slog_internal(e).toNumber();for(let o=1;o1&&i!=g&&(n=!0),i=g,n?a/=2:a*=2,a=Math.abs(a)*(g?-1:1),s+=a,a===0)break}return r.fromNumber(s)}slog_internal(e=10){if(e=d(e),e.lte(r.dZero)||e.eq(r.dOne))return r.dNaN;if(e.lt(r.dOne))return this.eq(r.dOne)?r.dZero:this.eq(r.dZero)?r.dNegOne:r.dNaN;if(this.mag<0||this.eq(r.dZero))return r.dNegOne;let t=0,a=r.fromDecimal(this);if(a.layer-e.layer>3){const n=a.layer-e.layer-3;t+=n,a.layer-=n}for(let n=0;n<100;++n)if(a.lt(r.dZero))a=r.pow(e,a),t-=1;else{if(a.lte(r.dOne))return r.fromNumber(t+r.slog_critical(e.toNumber(),a.toNumber()));t+=1,a=r.log(a,e)}return r.fromNumber(t)}static slog_critical(e,t){return e>10?t-1:r.critical_section(e,t,mn)}static tetrate_critical(e,t){return r.critical_section(e,t,gn)}static critical_section(e,t,a){t*=10,t<0&&(t=0),t>10&&(t=10),e<2&&(e=2),e>10&&(e=10);let n=0,i=0;for(let o=0;oe){const l=(e-Ee[o])/(Ee[o+1]-Ee[o]);n=a[o][Math.floor(t)]*(1-l)+a[o+1][Math.floor(t)]*l,i=a[o][Math.ceil(t)]*(1-l)+a[o+1][Math.ceil(t)]*l;break}const s=t-Math.floor(t);return n<=0||i<=0?n*(1-s)+i*s:Math.pow(e,Math.log(n)/Math.log(e)*(1-s)+Math.log(i)/Math.log(e)*s)}layeradd10(e){e=r.fromValue_noAlloc(e).toNumber();const t=r.fromDecimal(this);if(e>=1){t.mag<0&&t.layer>0?(t.sign=0,t.mag=0,t.layer=0):t.sign===-1&&t.layer==0&&(t.sign=1,t.mag=-t.mag);const a=Math.trunc(e);e-=a,t.layer+=a}if(e<=-1){const a=Math.trunc(e);if(e-=a,t.layer+=a,t.layer<0)for(let n=0;n<100;++n){if(t.layer++,t.mag=Math.log10(t.mag),!isFinite(t.mag))return t.sign===0&&(t.sign=1),t.layer<0&&(t.layer=0),t.normalize();if(t.layer>=0)break}}for(;t.layer<0;)t.layer++,t.mag=Math.log10(t.mag);return t.sign===0&&(t.sign=1,t.mag===0&&t.layer>=1&&(t.layer-=1,t.mag=1)),t.normalize(),e!==0?t.layeradd(e,10):t}layeradd(e,t){const n=this.slog(t).toNumber()+e;return n>=0?r.tetrate(t,n):Number.isFinite(n)?n>=-1?r.log(r.tetrate(t,n+1),t):r.log(r.log(r.tetrate(t,n+2),t),t):r.dNaN}lambertw(){if(this.lt(-.3678794411710499))throw Error("lambertw is unimplemented for results less than -1, sorry!");if(this.mag<0)return r.fromNumber(Rt(this.toNumber()));if(this.layer===0)return r.fromNumber(Rt(this.sign*this.mag));if(this.layer===1)return Vt(this);if(this.layer===2)return Vt(this);if(this.layer>=3)return k(this.sign,this.layer-1,this.mag);throw"Unhandled behavior in lambertw()"}ssqrt(){if(this.sign==1&&this.layer>=3)return k(this.sign,this.layer-1,this.mag);const e=this.ln();return e.div(e.lambertw())}pentate(e=2,t=k(1,0,1)){t=d(t);const a=e;e=Math.trunc(e);const n=a-e;n!==0&&(t.eq(r.dOne)?(++e,t=r.fromNumber(n)):this.eq(10)?t=t.layeradd10(n):t=t.layeradd(n,this));for(let i=0;i10)return t}return t}sin(){return this.mag<0?this:this.layer===0?r.fromNumber(Math.sin(this.sign*this.mag)):k(0,0,0)}cos(){return this.mag<0?r.dOne:this.layer===0?r.fromNumber(Math.cos(this.sign*this.mag)):k(0,0,0)}tan(){return this.mag<0?this:this.layer===0?r.fromNumber(Math.tan(this.sign*this.mag)):k(0,0,0)}asin(){return this.mag<0?this:this.layer===0?r.fromNumber(Math.asin(this.sign*this.mag)):k(Number.NaN,Number.NaN,Number.NaN)}acos(){return this.mag<0?r.fromNumber(Math.acos(this.toNumber())):this.layer===0?r.fromNumber(Math.acos(this.sign*this.mag)):k(Number.NaN,Number.NaN,Number.NaN)}atan(){return this.mag<0?this:this.layer===0?r.fromNumber(Math.atan(this.sign*this.mag)):r.fromNumber(Math.atan(this.sign*(1/0)))}sinh(){return this.exp().sub(this.negate().exp()).div(2)}cosh(){return this.exp().add(this.negate().exp()).div(2)}tanh(){return this.sinh().div(this.cosh())}asinh(){return r.ln(this.add(this.sqr().add(1).sqrt()))}acosh(){return r.ln(this.add(this.sqr().sub(1).sqrt()))}atanh(){return this.abs().gte(1)?k(Number.NaN,Number.NaN,Number.NaN):r.ln(this.add(1).div(r.fromNumber(1).sub(this))).div(2)}ascensionPenalty(e){return e===0?this:this.root(r.pow(10,e))}egg(){return this.add(9)}lessThanOrEqualTo(e){return this.cmp(e)<1}lessThan(e){return this.cmp(e)<0}greaterThanOrEqualTo(e){return this.cmp(e)>-1}greaterThan(e){return this.cmp(e)>0}};let C=r;C.fromStringCache=new nn(cn);C.dZero=k(0,0,0);C.dOne=k(1,0,1);C.dNegOne=k(-1,0,1);C.dTwo=k(1,0,2);C.dTen=k(1,0,10);C.dNaN=k(Number.NaN,Number.NaN,Number.NaN);C.dInf=k(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);C.dNegInf=k(-1,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY);C.dNumberMax=Q(1,0,Number.MAX_VALUE);C.dNumberMin=Q(1,0,Number.MIN_VALUE);d=C.fromValue_noAlloc;Q=C.fromComponents;k=C.fromComponents_noNormalize;C.fromMantissaExponent;C.fromMantissaExponent_noNormalize;const hn=new C(1);function Le(e,t,a=!0){let n=C.log10(e).floor(),i=C.div(e,C.pow(10,n));i.toStringWithDecimalPlaces(t)==="10"&&(i=hn,n=n.add(1));const s=n.gte(1e9)?ae(n,Math.max(Math.max(t,3),P.defaultDecimalsShown)):n.gte(1e4)?lt(n,0):n.toStringWithDecimalPlaces(0);return a?i.toStringWithDecimalPlaces(t)+"e"+s:"e"+s}function lt(e,t){if(e==null)return"NaN";if(e=new C(e),e.mag<.001)return 0 .toFixed(t);const n=e.toStringWithDecimalPlaces(t).split(".");return n[0]=n[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,"),n.length==1?n[0]:n[0]+"."+n[1]}function Lt(e,t){return e==null?"NaN":(e=new C(e),e.mag<1e-4?0 .toFixed(t):(e.mag<.1&&t!==0&&(t=Math.max(Math.max(t,e.log10().negate().ceil().toNumber()),P.defaultDecimalsShown)),e.toStringWithDecimalPlaces(t)))}const vn=new C("eeee1000"),pn=new C("e100000"),qt=new C("e1000"),Wt=new C(1e9),yn=new C(1e6),bn=new C(1e3),Nn=new C(.98),Cn=new C(.001),Xt=new C(0);function ae(e,t,a){if(t==null&&(t=P.defaultDecimalsShown),a=a!=null?a:P.defaultShowSmall,e=new C(e),isNaN(e.sign)||isNaN(e.layer)||isNaN(e.mag))return"NaN";if(e.sign<0)return"-"+ae(e.neg(),t);if(e.mag===Number.POSITIVE_INFINITY)return"Infinity";if(e.gte(vn)){const n=e.slog();return n.gte(yn)?"F"+ae(n.floor()):C.pow(10,n.sub(n.floor())).toStringWithDecimalPlaces(3)+"F"+lt(n.floor(),0)}else{if(e.gte(pn))return Le(e,0,!1);if(e.gte(qt))return Le(e,0);if(e.gte(Wt))return Le(e,t);if(e.gte(bn))return lt(e,0);if(e.gte(Cn)||!a)return Lt(e,t);if(e.eq(Xt))return 0 .toFixed(t)}return e=Ht(e),e.lt(qt)?Le(e,t).replace(/([^(?:e|F)]*)$/,"-$1"):ae(e,t)+"\u207B\xB9"}function ee(e){return e=new C(e),e.sign<0?"-"+ee(e.neg()):e.gte(Wt)||e.lte(Nn)&&!e.eq(Xt)?ae(e):ae(e,0)}function jt(e){return C.lt(e,0)?"-"+jt(C.neg(e)):C.gt(e,2**51)?ae(C.div(e,31536e3))+"y":(e=new C(e).toNumber(),e<60?ae(e)+"s":e<3600?ee(Math.floor(e/60))+"m "+ae(e%60)+"s":e<86400?ee(Math.floor(e/3600))+"h "+ee(Math.floor(e/60)%60)+"m "+ee(e%60)+"s":e<31536e3?ee(Math.floor(e/84600)%365)+"d "+ee(Math.floor(e/3600)%24)+"h "+ee(Math.floor(e/60)%60)+"m":ee(Math.floor(e/31536e3))+"y "+ee(Math.floor(e/84600)%365)+"d "+ee(Math.floor(e/3600)%24)+"h")}function En(e,t,a){e=new C(e);let n=e.toStringWithDecimalPlaces(t);return new C(n).gte(a)&&(n=C.sub(a,Math.pow(.1,t)).toStringWithDecimalPlaces(t)),n}function Bn(e,t){return ae(e,t,!0)}function Ht(e){let t=C.log10(e).ceil();const a=C.div(e,C.pow(10,t));return t=t.neg(),e=new C(10).pow(t).times(a),e}var _n=Object.freeze(Object.defineProperty({__proto__:null,default:C,exponentialFormat:Le,commaFormat:lt,regularFormat:Lt,format:ae,formatWhole:ee,formatTime:jt,toPlaces:En,formatSmall:Bn,invertOOM:Ht},Symbol.toStringTag,{value:"Module"}));const{exponentialFormat:wn,commaFormat:In,regularFormat:Sn,format:Kt,formatWhole:pt,formatTime:wt,toPlaces:Qn,formatSmall:Mn,invertOOM:kn}=_n;window.Decimal=C;window.exponentialFormat=wn;window.commaFormat=In;window.regularFormat=Sn;window.format=Kt;window.formatWhole=pt;window.formatTime=wt;window.toPlaces=Qn;window.formatSmall=Mn;window.invertOOM=kn;function Tn(e){let t=e.replace(/([A-Z])/g," $1");return t=t.charAt(0).toUpperCase()+t.slice(1),t}function Gt(e){return typeof e=="function"}var J=(e=>(e.Up="Up",e.Down="Down",e.Left="Left",e.Right="Right",e.Default="Up",e))(J||{});const At=Symbol("DoNotCache");function ce(e,t){const a=e[t];Gt(a)&&a.length===0&&!a[At]?e[t]=x(a.bind(e)):Gt(a)&&(e[t]=a.bind(e),e[t][At]=!0)}const Zt=Symbol("Component"),$t=Symbol("GatherProps");let Dn=0;function Rn(e="feature-"){return e+Dn++}function H(e){return e[At]=!0,e}function We(e,t,a){e[t]===void 0&&a!=null&&(e[t]=a)}const Be={variables:{"--foreground":"#dfdfdf","--background":"#0f0f0f","--feature-foreground":"#0f0f0f","--tooltip-background":"rgba(0, 0, 0, 0.75)","--raised-background":"#0f0f0f","--points":"#ffffff","--locked":"#bf8f8f","--highlighted":"#333","--bought":"#77bf5f","--danger":"rgb(220, 53, 69)","--link":"#02f2f2","--outline":"#dfdfdf","--accent1":"#627a82","--accent2":"#658262","--accent3":"#7c6282","--border-radius":"15px","--modal-border":"solid 2px var(--color)","--feature-margin":"0px"},floatingTabs:!0,mergeAdjacent:!0,showPin:!0};var It=(e=>(e.Classic="classic",e.Paper="paper",e.Nordic="nordic",e.Aqua="aqua",e))(It||{}),ct={classic:Be,paper:{...Be,variables:{...Be.variables,"--background":"#2a323d","--feature-foreground":"#000","--raised-background":"#333c4a","--locked":"#3a3e45","--bought":"#5C8A58","--outline":"#333c4a","--border-radius":"4px","--modal-border":"","--feature-margin":"5px"},floatingTabs:!1},nordic:{...Be,variables:{...Be.variables,"--foreground":"#D8DEE9","--background":"#2E3440","--feature-foreground":"#000","--raised-background":"#3B4252","--points":"#E5E9F0","--locked":"#4c566a","--highlighted":"#434c5e","--bought":"#8FBCBB","--danger":"#D08770","--link":"#88C0D0","--outline":"#3B4252","--accent1":"#B48EAD","--accent2":"#A3BE8C","--accent3":"#EBCB8B","--border-radius":"4px","--modal-border":"solid 2px #3B4252","--feature-margin":"5px"},floatingTabs:!1},aqua:{...Be,variables:{...Be.variables,"--foreground":"#bfdfff","--background":"#001f3f","--tooltip-background":"rgba(0, 15, 31, 0.75)","--raised-background":"#001f3f","--points":"#dfefff","--locked":"#c4a7b3","--outline":"#bfdfff"}}};const Z=Ot();"fonts"in document&&(document.fonts.onloadingdone=()=>Z.emit("fontsLoaded"));var Vn=Object.freeze(Object.defineProperty({__proto__:null,globalBus:Z},Symbol.toStringTag,{value:"Module"}));const qn=$e({id:"",devSpeed:null,name:"",tabs:[],time:-1,autosave:!0,offlineProd:!0,offlineTime:null,timePlayed:0,keepGoing:!1,modID:"",modVersion:"",layers:{}});var R=window.player=qn;function ea(e){return JSON.stringify(e,(t,a)=>u(a))}function ta(e={}){return Object.assign({id:`${P.id}-0`,name:"Default Save",tabs:P.initialTabs.slice(),time:Date.now(),autosave:!0,offlineProd:!0,offlineTime:0,timePlayed:0,keepGoing:!1,modID:P.id,modVersion:P.versionNumber,layers:{}},e)}function te(e){const t=ve.compressToUTF16(ea(e!=null?e:R));return localStorage.setItem((e!=null?e:R).id,t),t}async function Gn(){Fn();try{let e=localStorage.getItem(q.active);if(e==null){await Ie(qe());return}if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=ve.decompressFromUTF16(e);else throw"Unable to determine save encoding";const t=JSON.parse(e);if(t.modID!==P.id){await Ie(qe());return}t.id=q.active,await Ie(t)}catch(e){console.error(`Failed to load save. Falling back to new save. +`,e),await Ie(qe())}}function qe(){const e=st(),t=ta({id:e});return te(t),q.saves.push(e),t}function st(){let e,t=0;do e=`${P.id}-${t++}`;while(localStorage.getItem(e)!=null);return e}const Pn=_(!1);async function Ie(e){console.info("Loading save",e),Pn.value=!0;const{layers:t,removeLayer:a,addLayer:n}=await ot(()=>Promise.resolve().then(function(){return Ai}),void 0),{fixOldSave:i,getInitialLayers:s}=await ot(()=>Promise.resolve().then(function(){return Or}),void 0);for(const o in t){const l=t[o];l&&a(l)}s(e).forEach(o=>n(o,e)),e=ta(e),e.offlineProd&&e.time!=null&&e.time&&e.devSpeed!==0&&(e.offlineTime==null&&(e.offlineTime=0),e.offlineTime+=Math.min(e.offlineTime+(Date.now()-e.time)/1e3,P.offlineLimit*3600)),e.time=Date.now(),e.modVersion!==P.versionNumber&&(i(e.modVersion,e),e.modVersion=P.versionNumber),Object.assign(R,e),q.active=R.id,Z.emit("onLoad")}setInterval(()=>{R.autosave&&te()},1e3);window.onbeforeunload=()=>{R.autosave&&te()};window.save=te;const xn=window.hardReset=async()=>{await Ie(qe())};window.deleteLowerSaves=()=>{const e=Object.values(q.saves).indexOf(R.id)+1;Object.values(q.saves).slice(e).forEach(t=>localStorage.removeItem(t)),q.saves=q.saves.slice(0,e)};const Ke=$e({active:"",saves:[],showTPS:!0,theme:It.Nordic,unthrottled:!1,alignUnits:!1,autoplay:!1,fast:!1});de(Ke,e=>{const t=ve.compressToUTF16(JSON.stringify(e));localStorage.setItem(P.id,t)},{deep:!0});var q=window.settings=Ke;window.hardResetSettings=()=>{const e={active:"",saves:[],showTPS:!0,theme:It.Nordic,alignUnits:!1,autoplay:!1,fast:!1};Z.emit("loadSettings",e),Object.assign(Ke,e),xn()};function Fn(){try{let e=localStorage.getItem(P.id);if(e!=null&&e!==""){if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=ve.decompressFromUTF16(e);else{console.warn("Unable to determine settings encoding",e);return}const t=JSON.parse(e);typeof t=="object"&&Object.assign(Ke,t)}Z.emit("loadSettings",Ke)}catch{}}const aa=$e([]);function zn(e){aa.push(e)}const Un=$e([]),On=$e([]),Yn={class:"table"},_e=U({__name:"Row",setup(e){const t=x(()=>ct[q.theme].mergeAdjacent);return(a,n)=>(m(),E("div",Yn,[c("div",{class:$(["row",{mergeAdjacent:u(t)}])},[pe(a.$slots,"default")],2)]))}});function me(e,t="span"){return typeof e=="function"?U({render:e}):typeof e=="string"?e.length>0?(e=e.trim(),e.charAt(0)!=="<"&&(e=`<${t}>${e}`),U({template:e})):U({render:()=>({})}):e}function St(e){if(na(e))return typeof e=="function"?e():me(e);const t=e[Zt];return A(t,e[$t](),null)}function Jn(e){if(na(e))return typeof e=="function"?e():typeof e=="string"?A(ne,null,[e]):A(e,null,null);const t=e[Zt];return A(t,e[$t](),null)}function na(e){return typeof e=="string"?!0:typeof e=="object"?e==null?!1:"render"in e||"component"in e:typeof e=="function"&&e[At]===!0}function Ln(e,t="div"){const a=et();return Et(()=>{a.value=me(Qe(e),t)}),a}function dt(e,t="div"){const a=et(null);return Et(()=>{const n=Qe(e);a.value=n==""||n==null?null:me(n,t)}),a}function Qe(e){return u(u(e))}function oe(...e){return e.includes(Object)||e.push(Object),e}var j=(e,t)=>{const a=e.__vccOpts||e;for(const[n,i]of t)a[n]=i;return a};const Wn=U({__name:"Context",emits:["updateNodes"],setup(e,{emit:t}){var b;const a=_({}),n=new ResizeObserver(l),i=_(null);zt(()=>{const v=i.value;v!=null&&n.observe(v)});let s=!0,o=_((b=i.value)==null?void 0:b.getBoundingClientRect());function l(){s&&(s=!1,Xe(()=>{var v;o.value=(v=i.value)==null?void 0:v.getBoundingClientRect(),Object.values(a.value).filter(y=>y).forEach(y=>y.rect=y.element.getBoundingClientRect()),t("updateNodes",a.value),s=!0}))}Z.on("fontsLoaded",l);const g={attributes:!1,childList:!0,subtree:!1};at(ra,(v,y)=>{const N=new MutationObserver(()=>f(v));N.observe(y,g),a.value[v]={element:y,observer:N,rect:y.getBoundingClientRect()},l()}),at(oa,v=>{var y;(y=a.value[v])==null||y.observer.disconnect(),a.value[v]=void 0,l()}),at(la,a),at(Aa,o);function f(v){const y=a.value[v];y!=null&&(y.rect=y.element.getBoundingClientRect(),t("updateNodes",a.value))}return(v,y)=>(m(),E(ne,null,[pe(v.$slots,"default",{},void 0,!0),c("div",{ref_key:"resizeListener",ref:i,class:"resize-listener"},null,512)],64))}});var ia=j(Wn,[["__scopeId","data-v-2b1dc1bc"]]);const Xn=["onPointerdown"],jn={class:"modal-wrapper"},Hn={class:"modal-container"},Kn={class:"modal-header"},Zn=I(" default header "),$n={class:"modal-body"},ei=I(" default body "),ti={class:"modal-footer"},ai=c("div",{class:"modal-default-flex-grow"},null,-1),ke=U({__name:"Modal",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){const i=ye(e),s=x(()=>u(i.modelValue)||l.value);function o(){a("update:modelValue",!1)}const l=_(!1),g=_(null),f=x(()=>{var b,v;return(v=(b=g.value)==null?void 0:b.nodes)!=null?v:null});return t({isOpen:s,nodes:f}),(b,v)=>(m(),z(pa,{to:"#modal-root"},[A(Ut,{name:"modal",onBeforeEnter:v[0]||(v[0]=y=>l.value=!0),onAfterLeave:v[1]||(v[1]=y=>l.value=!1)},{default:T(()=>[Bt(c("div",je({class:"modal-mask",onPointerdown:He(o,["self"])},b.$attrs),[c("div",jn,[c("div",Hn,[c("div",Kn,[pe(b.$slots,"header",{shown:u(s)},()=>[Zn])]),c("div",$n,[A(ia,{ref_key:"contextRef",ref:g},{default:T(()=>[pe(b.$slots,"body",{shown:u(s)},()=>[ei])]),_:3},512)]),c("div",ti,[pe(b.$slots,"footer",{shown:u(s)},()=>[c("div",{class:"modal-default-footer"},[ai,c("button",{class:"button modal-default-button",onClick:o}," Close ")])])])])])],16,Xn),[[va,e.modelValue]])]),_:3})]))}}),we=Symbol("ProxyState");function sa(e,t={}){const a=t;let n=!1;function i(){return n||(Object.assign(a,e(a)),n=!0),a}return new Proxy(a,{get(s,o){if(o===we)return i();const l=i()[o];return l!=null&&typeof l=="object"&&bt in l?l[bt]:l},set(s,o,l){return i()[o]=l,!0},has(s,o){return o===we?!0:Reflect.has(i(),o)},ownKeys(){return Reflect.ownKeys(i())},getOwnPropertyDescriptor(s,o){return n||(Object.assign(a,e(a)),n=!0),Object.getOwnPropertyDescriptor(s,o)}})}var X=window.state=_t({lastTenTicks:[],hasNaN:!1,NaNPath:[]});const gt=Symbol("PersistentState"),ze=Symbol("DefaultValue"),ut=Symbol("StackTrace"),yt=Symbol("Deleted"),bt=Symbol("NonPersistent"),Se=Symbol("SaveDataPath");function ni(){var e,t;return(t=(e=new Error().stack)==null?void 0:e.split(` +`).slice(3,5).map(a=>a.trim()).join(` +`))!=null?t:""}function Pt(e,t){var a;if(C.isNaN(t))throw X.hasNaN||(R.autosave=!1,X.hasNaN=!0,X.NaNPath=e[Se],X.NaNPersistent=e),console.error("Attempted to save NaN value to",(a=e[Se])==null?void 0:a.join("."),e),"Attempted to set NaN value. See above for details";e[gt].value=t}function ii(e){const t=ge(e)?e:_(e);ge(e)&&(e=e.value);const a=x({get(){return t.value},set(i){Pt(n,i)}});a[ze]=e;const n={get value(){return t.value},set value(i){Pt(n,i)},__v_isRef:!0,[gt]:t,[ze]:e,[ut]:ni(),[yt]:!1,[bt]:a,[Se]:void 0};return re.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",n,` +Created at: +`+n[ut]):Ge[re[re.length-1]].add(n),n}function si(e){return e!=null&&typeof e=="object"&> in e}Z.on("addLayer",(e,t)=>{const a=[],n=(i,s=[])=>{let o=!1;return Object.keys(i).forEach(l=>{let g=i[l];if(g!=null&&typeof g=="object")if(we in g&&(g=g[we]),si(g)){if(o=!0,g[yt]){console.warn("Deleted persistent ref present in returned object. Ignoring...",g,` +Created at: +`+g[ut]);return}Ge[e.id].delete(g);const f=[e.id,...s,l];g[Se]!=null&&JSON.stringify(f)!==JSON.stringify(g[Se])&&console.error(`Persistent ref is being saved to \`${f.join(".")}\` when it's already present at \`${g[Se].join(".")}\`. This can cause unexpected behavior when loading saves between updates.`,g),g[Se]=f;const b=s.reduce((y,N)=>(N in y||(y[N]={}),y[N]),t),v=b[l];b[l]=g[gt],ya(b)?v!=null?b[l]=v:b[l]=g[ze]:v!=null?b[l].value=v:b[l].value=g[ze]}else!(g instanceof C)&&!ge(g)&&!a.includes(g)&&(typeof g.type=="symbol"&&a.push(g),n(g,[...s,l])&&(vt(g)&&!vt(i)?console.warn("Found array that contains persistent values when adding layer. Keep in mind changing the order of elements in the array will mess with existing player saves.",we in i?i[we]:i,l):o=!0))}),o};n(e[we]),Ge[e.id].forEach(i=>{i[yt]||console.error(`Created persistent ref in ${e.id} without registering it to the layer! Make sure to include everything persistent in the returned object`,i,` +Created at: +`+i[ut])}),Ge[e.id].clear()});const ra=Symbol("RegisterNode"),oa=Symbol("UnregisterNode"),la=Symbol("Nodes"),Aa=Symbol("Bounds"),K=_t({});window.layers=K;const Ge={},re=[];function ua(e,t){return sa(()=>{const a={},n=a.emitter=Ot();if(a.on=n.on.bind(n),a.emit=n.emit.bind(n),a.nodes=_({}),a.id=e,re.push(e),Ge[e]=new Set,a.minimized=ii(!1),Object.assign(a,t.call(a)),re[re.length-1]==null||re[re.length-1]!==e)throw`Adding layers stack in invalid state. This should not happen +Stack: ${re} +Trying to pop ${a.id}`;re.pop(),ce(a,"color"),ce(a,"display"),ce(a,"classes"),ce(a,"style"),ce(a,"name"),We(a,"name",a.id),ce(a,"minWidth"),We(a,"minWidth",600),ce(a,"minimizable"),We(a,"minimizable",!0),ce(a,"minimizedDisplay");const i=a.style;return a.style=x(()=>{var o,l;let s=u(a.minWidth);return(typeof s=="number"||!Number.isNaN(parseInt(s)))&&(s=s+"px"),[(o=u(i))!=null?o:"",(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),K[e.id]){console.error("Attempted to add layer with same ID as existing layer",e.id,K[e.id]);return}We(t,"layers",{}),t.layers[e.id]==null&&(t.layers[e.id]={}),K[e.id]=e,Z.emit("addLayer",e,t.layers[e.id])}function ri(e){return K[e]}function da(e){console.info("Removing layer",e.id),Z.emit("removeLayer",e),K[e.id]=void 0}function oi(e){da(e),ca(e,R)}function li(e){const t=_(!1);return{openModal:()=>t.value=!0,modal:H(()=>A(ke,{modelValue:t.value,"onUpdate:modelValue":a=>t.value=a},{header:()=>A("h2",null,[u(e.name)]),body:u(e.display)}))}}Z.on("update",function(t){Object.values(K).forEach(a=>{a==null||a.emit("preUpdate",t)}),Object.values(K).forEach(a=>{a==null||a.emit("update",t)}),Object.values(K).forEach(a=>{a==null||a.emit("postUpdate",t)})});var Ai=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:ra,UnregisterNodeInjectionKey:oa,NodesInjectionKey:la,BoundsInjectionKey:Aa,layers:K,persistentRefs:Ge,addingLayers:re,createLayer:ua,addLayer:ca,getLayer:ri,removeLayer:da,reloadLayer:oi,setupLayerModal:li},Symbol.toStringTag,{value:"Module"}));const ui=U({components:{Context:ia},props:{index:{type:Number,required:!0},display:{type:oe(Object,String,Function),required:!0},minimizedDisplay:oe(Object,String,Function),minimized:{type:Object,required:!0},name:{type:oe(String),required:!0},color:oe(String),minimizable:oe(Boolean),nodes:{type:Object,required:!0}},emits:["setMinimized"],setup(e){const{display:t,index:a,minimized:n,minimizedDisplay:i}=ye(e),s=Ln(t),o=dt(i),l=x(()=>P.allowGoBack&&a.value>0&&!Qe(n));function g(){R.tabs.splice(u(e.index),1/0)}function f(b){e.nodes.value=b}return{component:s,minimizedComponent:o,showGoBack:l,updateNodes:f,unref:u,goBack:g}}}),ci={key:1};function di(e,t,a,n,i,s){const o=ba("Context");return m(),E("div",{class:"layer-container",style:Fe({"--layer-color":e.unref(e.color)})},[e.showGoBack?(m(),E("button",{key:0,class:"goBack",onClick:t[0]||(t[0]=(...l)=>e.goBack&&e.goBack(...l))},"\u274C")):M("",!0),e.unref(e.minimized)?(m(),E("button",{key:1,class:"layer-tab minimized",onClick:t[1]||(t[1]=l=>e.$emit("setMinimized",!1))},[e.minimizedComponent?(m(),z(Ae(e.minimizedComponent),{key:0})):(m(),E("div",ci,G(e.unref(e.name)),1))])):(m(),E("div",{key:2,class:$(["layer-tab",{showGoBack:e.showGoBack}])},[A(o,{onUpdateNodes:e.updateNodes},{default:T(()=>[(m(),z(Ae(e.component)))]),_:1},8,["onUpdateNodes"])],2)),e.unref(e.minimizable)?(m(),E("button",{key:3,class:"minimize",onClick:t[2]||(t[2]=l=>e.$emit("setMinimized",!0))}," \u25BC ")):M("",!0)],4)}var gi=j(ui,[["render",di],["__scopeId","data-v-a592996e"]]);const ga=e=>(be("data-v-4b4bda40"),e=e(),Ne(),e),mi=ga(()=>c("h2",null,"Changelog",-1)),fi=ga(()=>c("details",{open:""},[c("summary",null,[I("v0.0 Initial Commit - "),c("time",null,"2021-09-04")]),I(" 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)),hi=U({__name:"Changelog",setup(e,{expose:t}){const a=_(!1);return t({open(){a.value=!0}}),(n,i)=>(m(),z(ke,{modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=s=>a.value=s)},{header:T(()=>[mi]),body:T(()=>[fi]),_:1},8,["modelValue"]))}});var vi=j(hi,[["__scopeId","data-v-4b4bda40"]]),pi=U({props:{element:Object,display:{type:oe(Object,String,Function),required:!0},style:oe(Object,String,Array),classes:oe(Object),direction:oe(String),xoffset:oe(String),yoffset:oe(String),pinned:Object},setup(e){const{element:t,display:a,pinned:n}=ye(e),i=_(!1),s=x(()=>(Qe(n)||i.value)&&o.value),o=dt(a),l=et(me(H(()=>{const b=Qe(t);return b==null?"":Jn(b)})));function g(b){const v=n;b.shiftKey&&v&&(v.value=!v.value,b.stopPropagation(),b.preventDefault())}const f=x(()=>Qe(n)&&ct[q.theme].showPin);return{Direction:J,isHovered:i,isShown:s,comp:o,elementComp:l,unref:u,togglePinned:g,showPin:f}}});const yi={key:0,class:"material-icons pinned"};function bi(e,t,a,n,i,s){return m(),E("div",{class:$(["tooltip-container",{shown:e.isShown}]),onMouseenter:t[0]||(t[0]=o=>e.isHovered=!0),onMouseleave:t[1]||(t[1]=o=>e.isHovered=!1),onClickCapture:t[2]||(t[2]=(...o)=>e.togglePinned&&e.togglePinned(...o))},[pe(e.$slots,"default",{},void 0,!0),e.elementComp?(m(),z(Ae(e.elementComp),{key:0})):M("",!0),A(Ut,{name:"fade",css:!!e.comp},{default:T(()=>{var o;return[e.isShown?(m(),E("div",{key:0,class:$(["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:Fe([{"--xoffset":e.unref(e.xoffset)||"0px","--yoffset":e.unref(e.yoffset)||"0px"},(o=e.unref(e.style))!=null?o:{}])},[e.showPin?(m(),E("span",yi,"push_pin")):M("",!0),e.comp?(m(),z(Ae(e.comp),{key:1})):M("",!0)],6)):M("",!0)]}),_:1},8,["css"])],34)}var L=j(pi,[["render",bi],["__scopeId","data-v-638848c0"]]);const Te=e=>(be("data-v-5d3cb6f4"),e=e(),Ne(),e),Ni={class:"info-modal-header"},Ci=["src","alt"],Ei={class:"info-modal-title"},Bi={key:0},_i={key:0},wi={key:0},Ii=Te(()=>c("div",null," Made in Profectus, by thepaperpilot with inspiration from Acameada and Jacorb ",-1)),Si=Te(()=>c("br",null,null,-1)),Qi=Te(()=>c("br",null,null,-1)),Mi=["href"],ki=Te(()=>c("span",{class:"material-icons info-modal-discord"},"discord",-1)),Ti=Te(()=>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"),I(" The Paper Pilot Community ")])],-1)),Di=Te(()=>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"),I(" The Modding Tree ")])],-1)),Ri=Te(()=>c("br",null,null,-1));var Vi=U({__name:"Info",props:{changelog:null},setup(e,{expose:t}){const a=e,{title:n,logo:i,author:s,discordName:o,discordLink:l,versionNumber:g,versionTitle:f}=P,b=ye(a),v=_(!1),y=x(()=>wt(R.timePlayed)),N=x(()=>me(H(()=>A(ne,null,[Un.map(St)]))));t({open(){v.value=!0}});function h(){var w;(w=u(b.changelog))==null||w.open()}return(w,O)=>(m(),z(ke,{modelValue:v.value,"onUpdate:modelValue":O[0]||(O[0]=W=>v.value=W)},{header:T(()=>[c("div",Ni,[u(i)?(m(),E("img",{key:0,class:"info-modal-logo",src:u(i),alt:u(n)},null,8,Ci)):M("",!0),c("div",Ei,[c("h2",null,G(u(n)),1),c("h4",null,[I(" v"+G(u(g)),1),u(f)?(m(),E("span",Bi,": "+G(u(f)),1)):M("",!0)])])])]),body:T(({shown:W})=>[W?(m(),E("div",_i,[u(s)?(m(),E("div",wi,"By "+G(u(s)),1)):M("",!0),Ii,Si,c("div",{class:"link",onClick:h},"Changelog"),Qi,c("div",null,[u(l)?(m(),E("a",{key:0,href:u(l),class:"info-modal-discord-link",target:"_blank"},[ki,I(" "+G(u(o)),1)],8,Mi)):M("",!0)]),Ti,Di,Ri,c("div",null,"Time Played: "+G(u(y)),1),(m(),z(Ae(u(N))))])):M("",!0)]),_:1},8,["modelValue"]))}});var qi=j(Vi,[["__scopeId","data-v-5d3cb6f4"]]);const Gi=c("h2",null,"Settings",-1);var Pi=U({__name:"Options",setup(e,{expose:t}){const a=_(!1),n=_("behaviour");function i(l){return l==n.value}function s(l){n.value=l}t({isTab:i,setTab:s,save:te,open(){a.value=!0}}),Object.keys(ct).map(l=>({label:Tn(l),value:l}));const o=x(()=>me(H(()=>A(ne,null,[aa.map(St)]))));return ye(q),ye(R),x({get(){return R.devSpeed===0},set(l){R.devSpeed=l?0:null}}),H(()=>A("span",{class:"option-title"},[I("Unthrottled"),A("desc",null,[I("Allow the game to run as fast as possible. Not battery friendly.")])])),H(()=>A("span",{class:"option-title"},[I("Offline Production"),A(L,{display:"Save-specific",direction:J.Right},{default:()=>[I("*")]}),A("desc",null,[I("Simulate production that occurs while the game is closed.")])])),H(()=>A("span",{class:"option-title"},[I("Autosave"),A(L,{display:"Save-specific",direction:J.Right},{default:()=>[I("*")]}),A("desc",null,[I("Automatically save the game every second or when the game is closed.")])])),H(()=>A("span",{class:"option-title"},[I("Pause game"),A(L,{display:"Save-specific",direction:J.Right},{default:()=>[I("*")]}),A("desc",null,[I("Stop everything from moving.")])])),H(()=>A("span",{class:"option-title"},[I("Theme"),A("desc",null,[I("How the game looks.")])])),H(()=>A("span",{class:"option-title"},[I("Show TPS"),A("desc",null,[I("Show TPS meter at the bottom-left corner of the page.")])])),H(()=>A("span",{class:"option-title"},[I("Align modifier units"),A("desc",null,[I("Align numbers to the beginning of the unit in modifier view.")])])),(l,g)=>(m(),z(ke,{modelValue:a.value,"onUpdate:modelValue":g[0]||(g[0]=f=>a.value=f)},{header:T(()=>[Gi]),body:T(()=>[(m(),z(Ae(u(o))))]),_:1},8,["modelValue"]))}});const xi={class:"field"},Fi={key:0,class:"field-title"},zi=U({__name:"Select",props:{title:null,modelValue:null,options:null,placeholder:null,closeOnSelect:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){var o;const a=e,n=dt(Me(a,"title"),"span"),i=_((o=a.options.find(l=>l.value===a.modelValue))!=null?o:null);de(Me(a,"modelValue"),l=>{var g;Qe(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)=>(m(),E("div",xi,[u(n)?(m(),E("span",Fi,[(m(),z(Ae(u(n))))])):M("",!0),A(u(Ia),{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 Ui=["onSubmit"],Oi={class:"field"},Yi={key:0,class:"field-title"},Ji=["placeholder"],Li=U({__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=dt(Me(a,"title"),"span"),i=et(null);zt(()=>{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 o(){t("submit")}function l(){a.submitOnBlur!==!1?t("submit"):t("cancel")}return(g,f)=>(m(),E("form",{onSubmit:He(o,["prevent"])},[c("div",Oi,[u(n)?(m(),E("span",Yi,[(m(),z(Ae(u(n))))])):M("",!0),e.textArea?(m(),z(u(Sa),{key:1,modelValue:u(s),"onUpdate:modelValue":f[0]||(f[0]=b=>ge(s)?s.value=b:null),placeholder:e.placeholder,maxHeight:e.maxHeight,onBlur:l,ref_key:"field",ref:i},null,8,["modelValue","placeholder","maxHeight"])):Bt((m(),E("input",{key:2,type:"text","onUpdate:modelValue":f[1]||(f[1]=b=>ge(s)?s.value=b:null),placeholder:e.placeholder,class:$({fullWidth:!e.title}),onBlur:l,ref_key:"field",ref:i},null,42,Ji)),[[Na,u(s)]])])],40,Ui))}});var Qt=j(Li,[["__scopeId","data-v-90bd4994"]]);const Wi={key:0},Xi=["onClick","disabled"],ji={key:0},Hi=["onClick"],Ki=U({__name:"DangerButton",props:{disabled:{type:Boolean},skipConfirm:{type:Boolean}},emits:["click","confirmingChanged"],setup(e,{emit:t}){const n=ye(e),i=_(!1);de(i,l=>{t("confirmingChanged",l)});function s(){if(u(n.skipConfirm)){t("click");return}i.value&&t("click"),i.value=!i.value}function o(){i.value=!1}return(l,g)=>(m(),E("span",{class:$(["container",{confirming:i.value}])},[i.value?(m(),E("span",Wi,"Are you sure?")):M("",!0),c("button",{onClick:He(s,["stop"]),class:"button danger",disabled:e.disabled},[i.value?(m(),E("span",ji,"Yes")):pe(l.$slots,"default",{key:1},void 0,!0)],8,Xi),i.value?(m(),E("button",{key:1,class:"button",onClick:He(o,["stop"])},"No",8,Hi)):M("",!0)],2))}});var Zi=j(Ki,[["__scopeId","data-v-2f8ef34c"]]);const $i=["onClick"],es=U({__name:"FeedbackButton",props:{left:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const a=_(!1),n=_(null);function i(){t("click"),n.value&&clearTimeout(n.value),a.value=!1,Xe(()=>{a.value=!0,n.value=setTimeout(()=>a.value=!1,500)})}return(s,o)=>(m(),E("button",{onClick:He(i,["stop"]),class:$(["feedback",{activated:a.value,left:e.left}])},[pe(s.$slots,"default",{},void 0,!0)],10,$i))}});var ts=j(es,[["__scopeId","data-v-01a1b95c"]]);const fe=e=>(be("data-v-c3447434"),e=e(),Ne(),e),as=fe(()=>c("div",{class:"handle material-icons"},"drag_handle",-1)),ns={key:0,class:"actions"},is=fe(()=>c("span",{class:"material-icons"},"content_paste",-1)),ss=fe(()=>c("span",{class:"material-icons"},"content_copy",-1)),rs=fe(()=>c("span",{class:"material-icons"},"edit",-1)),os=fe(()=>c("span",{class:"material-icons",style:{margin:"-2px"}},"delete",-1)),ls={key:1,class:"actions"},As=fe(()=>c("span",{class:"material-icons"},"check",-1)),us=fe(()=>c("span",{class:"material-icons"},"close",-1)),cs={key:2,class:"details"},ds={class:"save-version"},gs=fe(()=>c("br",null,null,-1)),ms={key:0},fs={key:3,class:"details"},hs={key:4,class:"details error"},vs=fe(()=>c("br",null,null,-1)),ps=U({__name:"Save",props:{save:null},emits:["export","open","duplicate","delete","editName"],setup(e,{emit:t}){const a=e,{save:n}=ye(a),i=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),s=_(!1),o=_(!1),l=_("");de(s,()=>{var v;return l.value=(v=n.value.name)!=null?v:""});const g=x(()=>n.value!=null&&n.value.id===R.id),f=x(()=>{var v;return g.value?R.time:(v=n.value!=null&&n.value.time)!=null?v:0});function b(){t("editName",l.value),s.value=!1}return(v,y)=>(m(),E("div",{class:$(["save",{active:u(g)}])},[as,s.value?(m(),E("div",ls,[c("button",{onClick:b,class:"button"},[A(L,{display:"Save",direction:u(J).Left,class:"info"},{default:T(()=>[As]),_:1},8,["direction"])]),c("button",{onClick:y[5]||(y[5]=N=>s.value=!s.value),class:"button"},[A(L,{display:"Cancel",direction:u(J).Left,class:"info"},{default:T(()=>[us]),_:1},8,["direction"])])])):(m(),E("div",ns,[u(n).error==null&&!o.value?(m(),z(ts,{key:0,onClick:y[0]||(y[0]=N=>t("export")),class:"button",left:""},{default:T(()=>[A(L,{display:"Export",direction:u(J).Left,class:"info"},{default:T(()=>[is]),_:1},8,["direction"])]),_:1})):M("",!0),u(n).error==null&&!o.value?(m(),E("button",{key:1,onClick:y[1]||(y[1]=N=>t("duplicate")),class:"button"},[A(L,{display:"Duplicate",direction:u(J).Left,class:"info"},{default:T(()=>[ss]),_:1},8,["direction"])])):M("",!0),u(n).error==null&&!o.value?(m(),E("button",{key:2,onClick:y[2]||(y[2]=N=>s.value=!s.value),class:"button"},[A(L,{display:"Edit Name",direction:u(J).Left,class:"info"},{default:T(()=>[rs]),_:1},8,["direction"])])):M("",!0),A(Zi,{disabled:u(g),onClick:y[3]||(y[3]=N=>t("delete")),onConfirmingChanged:y[4]||(y[4]=N=>o.value=N)},{default:T(()=>[A(L,{display:"Delete",direction:u(J).Left,class:"info"},{default:T(()=>[os]),_:1},8,["direction"])]),_:1},8,["disabled"])])),u(n).error==null&&!s.value?(m(),E("div",cs,[c("button",{class:"button open",onClick:y[6]||(y[6]=N=>t("open"))},[c("h3",null,G(u(n).name),1)]),c("span",ds,"v"+G(u(n).modVersion),1),gs,u(f)?(m(),E("div",ms,"Last played "+G(u(i).format(u(f))),1)):M("",!0)])):u(n).error==null&&s.value?(m(),E("div",fs,[A(Qt,{modelValue:l.value,"onUpdate:modelValue":y[7]||(y[7]=N=>l.value=N),class:"editname",onSubmit:b},null,8,["modelValue"])])):(m(),E("div",hs,[I(" Error: Failed to load save with id "+G(u(n).id),1),vs,I(G(u(n).error),1)]))],2))}});var ys=j(ps,[["__scopeId","data-v-c3447434"]]);const Mt=e=>(be("data-v-5b5b1604"),e=e(),Ne(),e),bs=Mt(()=>c("h2",null,"Saves Manager",-1)),Ns={class:"modal-footer"},Cs={class:"field"},Es=Mt(()=>c("span",{class:"field-title"},"Create Save",-1)),Bs={class:"field-buttons"},_s={class:"footer"},ws=Mt(()=>c("div",{style:{"flex-grow":"1"}},null,-1)),Is=U({__name:"SavesManager",setup(e,{expose:t}){const a=_(!1),n=_(null);t({open(){a.value=!0}});const i=_(!1),s=_(""),o=_(null);de(s,p=>{p?Xe(()=>{try{if(p[0]!=="{")if(p[0]==="e")p=decodeURIComponent(escape(atob(p)));else if(p[0]==="\u1BE1")p=ve.decompressFromUTF16(p);else{console.warn("Unable to determine preset encoding",p),i.value=!0;return}const B=JSON.parse(p);if(typeof B!="object"){i.value=!0;return}const D=st();B.id=D,te(B),s.value="",i.value=!1,q.saves.push(D)}catch{i.value=!0}}):i.value=!1});let l={},g=_(Object.keys(l).reduce((p,B)=>(p.push({label:B.split("/").slice(-1)[0].slice(0,-4),value:l[B]}),p),[]));const f=_t({});function b(p){if(f[p]==null){let B=localStorage.getItem(p);if(B==null)f[p]={error:"Save doesn't exist in localStorage",id:p};else if(B==="dW5kZWZpbmVk")f[p]={error:"Save is undefined",id:p};else try{if(B[0]!=="{")if(B[0]==="e")B=decodeURIComponent(escape(atob(B)));else if(B[0]==="\u1BE1")B=ve.decompressFromUTF16(B);else return console.warn("Unable to determine preset encoding",B),i.value=!0,f[p]={error:"Unable to determine preset encoding",id:p},f[p];f[p]={...JSON.parse(B),id:p}}catch(D){f[p]={error:D,id:p},console.warn(`SavesManager: Failed to load info about save with id ${p}: +${D} +${B}`)}}return f[p]}de(a,p=>{p&&Object.keys(f).forEach(B=>delete f[B])});const v=x(()=>q.saves.reduce((p,B)=>(p[B]=b(B),p),{}));function y(p){let B;switch(R.id===p?B=ea(R):B=JSON.stringify(v.value[p]),P.exportEncoding){default:console.warn(`Unknown save encoding: ${P.exportEncoding}. Defaulting to lz`);case"lz":B=ve.compressToUTF16(B);break;case"base64":B=btoa(unescape(encodeURIComponent(B)));break;case"plain":break}const D=document.createElement("textarea");D.value=B,document.body.appendChild(D),D.select(),D.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(D)}function N(p){R.id===p&&te();const B={...v.value[p],id:st()};te(B),q.saves.push(B.id)}function h(p){q.saves=q.saves.filter(B=>B!==p),localStorage.removeItem(p),f[p]=void 0}function w(p){v.value[R.id].time=R.time,te(),f[R.id]=void 0,Ie(v.value[p]),f[p]=void 0}function O(p){if(o.value=p,Xe(()=>{o.value=null}),p[0]!=="{")if(p[0]==="e")p=decodeURIComponent(escape(atob(p)));else if(p[0]==="\u1BE1")p=ve.decompressFromUTF16(p);else{console.warn("Unable to determine preset encoding",p);return}const B=JSON.parse(p);B.id=st(),te(B),q.saves.push(B.id),w(B.id)}function W(p,B){const D=v.value[p];D!=null&&(D.name=B,R.id===p?(R.name=B,te()):(te(D),f[p]=void 0))}return(p,B)=>(m(),z(ke,{modelValue:a.value,"onUpdate:modelValue":B[4]||(B[4]=D=>a.value=D),ref_key:"modal",ref:n},{header:T(()=>[bs]),body:T(({shown:D})=>[D?(m(),z(u(wa),{key:0,list:u(q).saves,handle:".handle",itemKey:F=>F},{item:T(({element:F})=>[A(ys,{save:u(v)[F],onOpen:V=>w(F),onExport:V=>y(F),onEditName:V=>W(F,V),onDuplicate:V=>N(F),onDelete:V=>h(F)},null,8,["save","onOpen","onExport","onEditName","onDuplicate","onDelete"])]),_:1},8,["list","itemKey"])):M("",!0)]),footer:T(()=>[c("div",Ns,[A(Qt,{modelValue:s.value,"onUpdate:modelValue":B[0]||(B[0]=D=>s.value=D),title:"Import Save",placeholder:"Paste your save here!",class:$({importingFailed:i.value})},null,8,["modelValue","class"]),c("div",Cs,[Es,c("div",Bs,[c("button",{class:"button",onClick:B[1]||(B[1]=D=>w(u(qe)().id))},"New Game"),Object.keys(u(g)).length>0?(m(),z(zi,{key:0,options:u(g),modelValue:o.value,"onUpdate:modelValue":B[2]||(B[2]=D=>O(D)),closeOnSelect:"",placeholder:"Select preset",class:"presets"},null,8,["options","modelValue"])):M("",!0)])]),c("div",_s,[ws,c("button",{class:"button modal-default-button",onClick:B[3]||(B[3]=D=>a.value=!1)}," Close ")])])]),_:1},8,["modelValue"]))}});var ma=j(Is,[["__scopeId","data-v-5b5b1604"]]);const ue=e=>(be("data-v-269f7a94"),e=e(),Ne(),e),Ss=["src","alt"],Qs={key:1,class:"title"},Ms=ue(()=>c("div",{style:{"flex-grow":"1",cursor:"unset"}},null,-1)),ks={class:"discord"},Ts={class:"discord-links"},Ds={key:0},Rs=["href"],Vs=ue(()=>c("li",null,[c("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),qs=ue(()=>c("li",null,[c("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),Gs={href:"https://forums.moddingtree.com/",target:"_blank"},Ps=ue(()=>c("span",{class:"material-icons"},"forum",-1)),xs=ue(()=>c("span",{class:"material-icons"},"info",-1)),Fs=ue(()=>c("span",{class:"material-icons"},"settings",-1)),zs=ue(()=>c("span",{class:"material-icons"},"settings",-1)),Us=ue(()=>c("span",{class:"material-icons"},"info",-1)),Os={href:"https://forums.moddingtree.com/",target:"_blank"},Ys=ue(()=>c("span",{class:"material-icons"},"forum",-1)),Js={class:"discord"},Ls={class:"discord-links"},Ws={key:0},Xs=["href"],js=ue(()=>c("li",null,[c("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),Hs=ue(()=>c("li",null,[c("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),Ks=U({__name:"Nav",setup(e){const t=_(null),a=_(null),n=_(null),i=_(null),{useHeader:s,banner:o,title:l,discordName:g,discordLink:f,versionNumber:b}=P;function v(){window.open(f,"mywindow")}return(y,N)=>(m(),E(ne,null,[u(s)?(m(),E("div",je({key:0,class:"nav"},y.$attrs),[u(o)?(m(),E("img",{key:0,src:u(o),class:"banner",alt:u(l)},null,8,Ss)):(m(),E("div",Qs,G(u(l)),1)),c("div",{onClick:N[0]||(N[0]=h=>{var w;return(w=i.value)==null?void 0:w.open()}),class:"version-container"},[A(L,{display:"Changelog",direction:u(J).Down,class:"version"},{default:T(()=>[c("span",null,"v"+G(u(b)),1)]),_:1},8,["direction"])]),Ms,c("div",ks,[c("span",{onClick:v,class:"material-icons"},"discord"),c("ul",Ts,[u(f)?(m(),E("li",Ds,[c("a",{href:u(f),target:"_blank"},G(u(g)),9,Rs)])):M("",!0),Vs,qs])]),c("div",null,[c("a",Gs,[A(L,{display:"Forums",direction:u(J).Down,yoffset:"5px"},{default:T(()=>[Ps]),_:1},8,["direction"])])]),c("div",{onClick:N[1]||(N[1]=h=>{var w;return(w=t.value)==null?void 0:w.open()})},[A(L,{display:"Info",direction:u(J).Down,class:"info"},{default:T(()=>[xs]),_:1},8,["direction"])]),c("div",{onClick:N[2]||(N[2]=h=>{var w;return(w=n.value)==null?void 0:w.open()})},[A(L,{display:"Settings",direction:u(J).Down,xoffset:"-66px"},{default:T(()=>[Fs]),_:1},8,["direction"])])],16)):(m(),E("div",je({key:1,class:"overlay-nav"},y.$attrs),[c("div",{onClick:N[3]||(N[3]=h=>{var w;return(w=i.value)==null?void 0:w.open()}),class:"version-container"},[A(L,{display:"Changelog",direction:u(J).Right,xoffset:"25%",class:"version"},{default:T(()=>[c("span",null,"v"+G(u(b)),1)]),_:1},8,["direction"])]),c("div",{onClick:N[4]||(N[4]=h=>{var w;return(w=n.value)==null?void 0:w.open()})},[A(L,{display:"Settings",direction:u(J).Right},{default:T(()=>[zs]),_:1},8,["direction"])]),c("div",{onClick:N[5]||(N[5]=h=>{var w;return(w=t.value)==null?void 0:w.open()})},[A(L,{display:"Info",direction:u(J).Right},{default:T(()=>[Us]),_:1},8,["direction"])]),c("div",null,[c("a",Os,[A(L,{display:"Forums",direction:u(J).Right,xoffset:"7px"},{default:T(()=>[Ys]),_:1},8,["direction"])])]),c("div",Js,[c("span",{onClick:v,class:"material-icons"},"discord"),c("ul",Ls,[u(f)?(m(),E("li",Ws,[c("a",{href:u(f),target:"_blank"},G(u(g)),9,Xs)])):M("",!0),js,Hs])])],16)),A(qi,{ref_key:"info",ref:t,changelog:i.value},null,8,["changelog"]),A(ma,{ref_key:"savesManager",ref:a},null,512),A(Pi,{ref_key:"options",ref:n},null,512),A(vi,{ref_key:"changelog",ref:i},null,512)],64))}});var fa=j(Ks,[["__scopeId","data-v-269f7a94"]]);const Zs={class:"inner-tab"},$s=U({__name:"Game",setup(e){const t=Me(R,"tabs"),a=x(()=>Object.keys(K)),n=P.useHeader;function i(s){const{display:o,minimized:l,name:g,color:f,minimizable:b,nodes:v,minimizedDisplay:y}=s;return{display:o,minimized:l,name:g,color:f,minimizable:b,nodes:v,minimizedDisplay:y}}return(s,o)=>(m(),E("div",{class:$(["tabs-container",{useHeader:u(n)}])},[(m(!0),E(ne,null,Ca(u(t),(l,g)=>{var f,b;return m(),E("div",{key:g,class:$(["tab",u((f=u(K)[l])==null?void 0:f.classes)]),style:Fe(u((b=u(K)[l])==null?void 0:b.style))},[g===0&&!u(n)?(m(),z(fa,{key:0})):M("",!0),c("div",Zs,[u(a).includes(l)?(m(),z(gi,je({key:0},i(u(K)[l]),{index:g,onSetMinimized:v=>u(K)[l].minimized.value=v}),null,16,["index","onSetMinimized"])):(m(),z(Ae(l),{key:1,index:g},null,8,["index"]))])],6)}),128))],2))}});var er=j($s,[["__scopeId","data-v-3e0f1aab"]]);const tr=U({__name:"Spacer",props:{width:{default:"8px"},height:{default:"17px"}},setup(e){return(t,a)=>(m(),E("div",{style:Fe({width:e.width,height:e.height})},null,4))}});var rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAqhJREFUeJzt3LFqFFEYBeBdERGJCaKgESUWCsZCTG0dbSyCZTp9B0ufxMJu38EHsA5YCDaiKGihiCxYuhZp7x254e6O6/m+8me4M1k4/HCYzGQCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkGg69gOs2mLxbbHM86fTS8XfdKz7MuzU2A8AYxIAogkA0QSAaAJAtNNjP8Cy1FqX+zceRt1XOzTMBiCaABBNAIgmAEQTAKKtfQvU2rrsb10tzu9t/i7O9y5sF+dHP74U5w92D4rzZ9evNJ1fU7tv7e/VDg2zAYgmAEQTAKIJANEEgGhr3wL10tr21Ly4dbvLObXrq63Rp69N53PMBiCaABBNAIgmAEQTAKLFtUCff30vzl9+LF//ZKdPO1TT2vb0ui/HbACiCQDRBIBoAkA0ASBaXAt07dzF4rzWDk0ml4vTXi1N6zneBerLBiCaABBNAIgmAEQTAKL9t9+G6fW9oFo79Hz3TnHe692e2vWHb46K89cfXhXnvv8zzAYgmgAQTQCIJgBEEwCixTUE69IOaXtWwwYgmgAQTQCIJgBEEwCixTUHGxubxfl8/n6Udujpu7fF+eOzZ4rz2c95ca4dOhkbgGgCQDQBIJoAEE0AiKYh+IvWd4da1dqb2vmHW+eLc+3QydgARBMAogkA0QSAaAJAtLivQ7eqtSW1dmjZHu3cLM5nlf8gY5gNQDQBIJoAEE0AiCYARPM+yIq0vlM0u7tXnPteUF82ANEEgGgCQDQBIJoAEE1DMLLWdkjb05cNQD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ofECUA0ASCaABBNAIgmAEQ7mCfCzu58G7qf3dfbUfftpbX/VpvniTCYiAAQTQCIJgBEEwCiDf9FXm171lKdQTr0+/bivUBwwASAaAJANAEgmgAQbbpZIPgfvdokJwDRBIBoAkA0ASCaABBtqrkM/qjOUM32NubR/1DfUm2HnABEEwCiCQDRBIBoAkC06d4OzXHo1UqNbr2cAEQTAKIJANEEgGgCQDQt0JGrtiijW5fqjNDoGScnANEEgGgCQDQBIJoAEE0LxJWqtjpmgWAgASCaABBNAIgmAETTAh2J0TM/vT5fZRYIBhIAogkA0QSAaAJANG+HnpT/UPs7/xEGHQgA0QSAaAJANAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK7ILzj6vECOPLAcAAAAAElFTkSuQmCC";const kt=e=>(be("data-v-525c924f"),e=e(),Ne(),e),lr=["ondragstart","ondragend","ondragenter","ondragleave","ondragover","ondrop"],Ar={key:0,class:"move-indicator"},ur=kt(()=>c("span",{class:"material-icons"},"straight",-1)),cr=[ur],dr={key:1,class:"move-indicator"},gr=kt(()=>c("span",{class:"material-icons"},"merge",-1)),mr=[gr],fr={key:2,class:"character-display"},hr=["src"],vr={key:3,class:"relevancy-display"},pr=["src"],yr={key:4,class:"presence-display"},br=kt(()=>c("span",{class:"material-icons"}," extension ",-1)),Nr={key:5,class:"level-display"},Cr=["src"],Er=["src"],Br=["src"],_r=["src"],wr=["src"],Ir=["src"];var Sr=U({__name:"CharacterSlot",props:{character:null,isSelected:{type:Boolean},isShop:{type:Boolean},isDragging:{type:Boolean},selected:null,shake:{type:Boolean}},emits:["dragstart","dragend","drop"],setup(e,{emit:t}){const a=e,n=_(!1),i=_(!1);de(n,o=>{t(o?"dragstart":"dragend")});const s=et("");return Et(()=>{if(a.character==null||a.selected!=null||n.value){s.value="";return}const o=me(le[a.character.type].abilityDescription);s.value=H(()=>A(ne,null,[A("b",null,[le[a.character.type].nickname]),A("br",null,null),A(o,null,null)]))}),(o,l)=>(m(),z(L,{display:u(s),direction:u(J).Up},{default:T(()=>{var g,f,b;return[c("div",{class:$(["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:v=>{var y;e.selected!=null&&!e.isShop&&(((y=e.character)==null?void 0:y.type)!==e.selected.type||e.isSelected)&&v.preventDefault(),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6&&v.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?(m(),E("span",Ar,cr)):M("",!0),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6?(m(),E("span",dr,mr)):M("",!0),e.character!=null?(m(),E("span",fr,[c("img",{src:u(le)[e.character.type].display},null,8,hr)])):M("",!0),e.character!=null?(m(),E("span",vr,[c("img",{src:u(rt)},null,8,pr),c("span",null,G((f=e.character)==null?void 0:f.relevancy),1)])):M("",!0),e.character!=null?(m(),E("span",yr,[br,c("span",null,G((b=e.character)==null?void 0:b.presence),1)])):M("",!0),e.character!=null?(m(),E("span",Nr,[e.character.exp===1?(m(),E("img",{key:0,src:u(ar)},null,8,Cr)):M("",!0),e.character.exp===2?(m(),E("img",{key:1,src:u(nr)},null,8,Er)):M("",!0),e.character.exp===3?(m(),E("img",{key:2,src:u(ir)},null,8,Br)):M("",!0),e.character.exp===4?(m(),E("img",{key:3,src:u(sr)},null,8,_r)):M("",!0),e.character.exp===5?(m(),E("img",{key:4,src:u(rr)},null,8,wr)):M("",!0),e.character.exp===6?(m(),E("img",{key:5,src:u(or)},null,8,Ir)):M("",!0)])):M("",!0)],10,lr)]}),_:1},8,["display","direction"]))}});var Re=j(Sr,[["__scopeId","data-v-525c924f"]]);const Ze=_(!1),Nt=_(""),xt=Yt(),Ve=_(),Pe=_("");function xe(e,...t){var a;!Ze.value||(a=Ve.value)==null||a.emit(e,...t)}Z.on("loadSettings",e=>{We(e,"server","https://Super-Auto-Coots.thepaperpilot.repl.co"),de(()=>e.server,t=>{Ve.value&&Ve.value.close(),Ve.value=Ma(t),Qr(Ve.value),Ze.value=!1,Pe.value="",Ve.value.connect()},{immediate:!0}),zn(H(()=>A(ne,null,[A(Qt,{title:"Server URL","onUpdate:modelValue":t=>e.server=t,modelValue:e.server},null),A("div",{style:"font-style: italic; font-size: small; margin-top: -10px;"},[Ze.value?A("span",null,[I("Connected!")]):Pe.value?A("span",{style:"color: red"},[Pe.value]):A("span",null,[I("Connecting...")])])])))});function Qr(e){e.on("connect",()=>{Pe.value="",Ze.value=!0,S.reset.reset()}),e.on("connect_error",t=>{Pe.value=`${t.name}: ${t.message}`}),e.on("disconnect",(t,a)=>{var n;Pe.value=a instanceof Error?`${a.name}: ${a.message}`:(n=a==null?void 0:a.description)!=null?n:t,Ze.value=!1}),e.on("server version",t=>{Qa(P.versionNumber,t)||(xt.info("Server only accepts game versions in range: "+t),e.disconnect())}),e.on("info",t=>{xt.info(t),t==="Failed to start streaming"&&(S.findingMatch.value=!1)}),e.on("nickname",t=>{Nt.value=t}),e.on("newTurn",t=>{S.gold.value=10,S.turn.value++,S.battle.value=null,S.shop.value=t.map(a=>({type:a,relevancy:le[a].initialRelevancy,presence:le[a].initialPresence,exp:1}))}),e.on("reroll",t=>{S.gold.value--,S.shop.value=t.map(a=>({type:a,relevancy:le[a].initialRelevancy,presence:le[a].initialPresence,exp:1}))}),e.on("buy",(t,a,n)=>{S.team.value[a]=n,S.shop.value[t]=null,S.gold.value-=3}),e.on("move",(t,a)=>{const n=S.team.value[t];S.team.value[t]=S.team.value[a],S.team.value[a]=n}),e.on("merge",(t,a,n)=>{S.team.value[t]=null,S.team.value[a]=n}),e.on("stream",(t,a)=>{S.findingMatch.value=!1,S.battle.value={team:JSON.parse(JSON.stringify(S.team.value.filter(n=>n!=null))),streamers:[],enemyTeam:t.team,enemyStreamers:[],enemyNickname:t.nickname,enemyLives:t.lives,enemyWins:t.wins,enemyTurn:t.turn},S.outcome.value=a,S.showingOutcome.value=!1,S.playClicked.value=!1,setTimeout(S.prepareMove,1e3)})}var Mr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABTlJREFUeJzt3U2oVVUYBuBjFIQNopCopCAsxElhcANREsISMpCoQcOI0okOGhlUIwsSGgQ5EsuGDYp+yMCSIEmC7kCqUZkIhRUiQYN+oIFNHK7v1qp9PGef93mG392sve69vCz2x9prTyYAAAAAAAAAAAAAAAAAjMOqWU9g3l28eOHirOfwf6xatcb/eAVXzHoCMEsCQDQBIJoAEE0AiHblrCdwufV2dZbWPjytqVwWvb9vWtfICkA0ASCaABBNAIgmAERb2C5Q1f3o7eosnzk2yHxmZWnt9q7rq7/bonaHrABEEwCiCQDRBIBoAkC00TzZD7WHZ+xdnWlbWtfuGi2fe6dZH3t3yApANAEgmgAQTQCIJgBEm7u9QEPt4RnK+bOnm/UbbrvjMs9kZWOZ57yxAhBNAIgmAEQTAKIJANFmto+jt9tz9PjBZr3qclR7Wiq9449F1R3asW1Ps76oe34qVgCiCQDRBIBoAkA0ASDa3O0FqvR2Y6o3v6ruUO/4h3c/1aw/894HzfqFn3/qGr/XmhtvatZf2vnQVO87dlYAogkA0QSAaAJANAEg2mi6QL2qbs8rr+5t1k9+2O7ebH6w3UV58rUjzfq5b7f8i9kNb++G9c16Nc8N77/brFd7sRb11GgrANEEgGgCQDQBIJoAEG1h3wirlKcfd54a/ePxj5v1m7fd3zVO5devvmzWr73zrq5xqnnu3P1ys+6NMAgiAEQTAKIJANEEgGhz92Q/b+cFjf2bYmnf/OplBSCaABBNAIgmAEQTAKIt7Bth1anIldVP3NesV12Ut9/a3zX+rRvv6bq+8v2pL5r1Rx59vlnX7VmZFYBoAkA0ASCaABB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png";const xr=Symbol("Reset");function Fr(e){return sa(()=>{const t=e();return t.id=Rn("reset-"),t.type=xr,t.reset=function(){var i;const a=s=>{if(s!=null&&typeof s=="object")if(ze in s){const o=s;o.value=o[ze]}else!(s instanceof C)&&!ge(s)&&Object.values(s).forEach(o=>a(o))},n=u(t.thingsToReset);vt(n)?n.forEach(a):a(n),Z.emit("reset",t),(i=t.onReset)==null||i.call(t)},ce(t,"thingsToReset"),t})}const it={};Z.on("removeLayer",e=>{var t;(t=it[e.id])==null||t.call(it),it[e.id]=void 0});function Je(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Ea(e)}const le={coots:{nickname:"Coots",initialRelevancy:1,initialPresence:1,display:Rr,abilityType:"LivestreamJoined",abilityDescription:"Do nothing",performAbility(){}},ludwig:{nickname:"Ludwig Coots",initialRelevancy:1,initialPresence:1,display:Mr,abilityType:"LivestreamJoined",abilityDescription:"Do nothing",performAbility(){}},qt:{nickname:"Qt Coots",initialRelevancy:1,initialPresence:1,display:Vr,abilityType:"LivestreamJoined",abilityDescription:H(()=>A(ne,null,[A("i",null,[I("Livestream joined")]),I(": Set both stats to 100")])),performAbility(e){e.presence=100,e.relevancy=100}},maid:{nickname:"Maid Coots",initialRelevancy:1,initialPresence:1,display:kr,abilityType:"LivestreamJoined",abilityDescription:"Do nothing",performAbility(){}},mail:{nickname:"Mogul Mail Coots",initialRelevancy:1,initialPresence:1,display:Tr,abilityType:"LivestreamJoined",abilityDescription:"Do nothing",performAbility(){}},stanz:{nickname:"Stanz Coots",initialRelevancy:1,initialPresence:1,display:qr,abilityType:"LivestreamJoined",abilityDescription:"Do nothing",performAbility(){}},money:{nickname:"Mogul Money Coots",initialRelevancy:1,initialPresence:1,display:Dr,abilityType:"LivestreamJoined",abilityDescription:"Do nothing",performAbility(){}},vespa:{nickname:"Vespa Coots",initialRelevancy:1,initialPresence:1,display:Gr,abilityType:"LivestreamJoined",abilityDescription:"Do nothing",performAbility(){}}},S=ua("main",function(){const e=_(3),t=_(0),a=_(0),n=_(0),i=_([null,null,null]),s=_([]),o=_(null),l=_(null),g=_(!1),f=_(""),b=_(!1),v=_(!1),y=_(!1),N=_([]),h=_(null),w=x(()=>h.value==null?0:h.value.streamers.reduce((D,F)=>D+Math.max(0,F.presence)*Math.max(0,F.relevancy),0)*100),O=x(()=>h.value==null?0:h.value.enemyStreamers.reduce((D,F)=>D+Math.max(0,F.presence)*Math.max(0,F.relevancy),0)*100),W=Fr(()=>({onReset(){e.value=3,t.value=0,a.value=0,n.value=0,i.value=[null,null,null],s.value=[],o.value=null,l.value=null,g.value=!1,h.value=null,f.value="",b.value=!1,y.value=!1,N.value=[]}})),p=_(!1);function B(){var D,F;if(h.value==null)throw"Preparing move while not in battle";if(N.value.length===0&&h.value.team.length===0&&h.value.enemyTeam.length===0){f.value==="Victory"?t.value++:f.value==="Defeat"&&e.value--,b.value=!0;return}if(N.value.length===0?N.value.push({action:"join"}):N.value.length>1&&(N.value=N.value.sort((V,Y)=>V.action!==Y.action?1:V.target!=null&&Y.target!=null?Y.target.relevancy-V.target.relevancy:0)),q.autoplay===!1&&y.value===!1)v.value=!0;else{v.value=!1;const V=N.value.shift();switch(V.action){case"join":if(((D=h.value.team.length)!=null?D:0)>0){const Y=h.value.team.pop();h.value.streamers.push(Y),le[Y.type].abilityType==="LivestreamJoined"&&N.value.unshift({action:"LivestreamJoined",target:Y})}if(((F=h.value.enemyTeam.length)!=null?F:0)>0){const Y=h.value.enemyTeam.pop();h.value.enemyStreamers.push(Y),le[Y.type].abilityType==="LivestreamJoined"&&N.value.unshift({action:"LivestreamJoined",target:Y})}break;default:if(V.target==null){console.error("Invalid action",V);break}le[V.target.type].performAbility(V.target);break}y.value=!1,setTimeout(B,q.fast?750:1250)}}return{name:"Game",minimizable:!1,display:H(()=>{let D;if(h.value!=null){let F,V,Y,De;return A("div",{class:{["battle-container"]:!0,fast:q.fast}},[A("div",{class:"battle-controls"},[A("button",{class:"button",onClick:()=>{y.value=!0,B()}},[A("span",{class:"material-icons"},[I("play_arrow")]),A("span",null,[I("Play")])]),A("button",{class:{button:!0,active:q.autoplay},onClick:()=>{q.autoplay=!q.autoplay,v.value&&B()}},[A("span",{class:"material-icons"},[I("all_inclusive")]),A("span",null,[I("Autoplay")])]),A("button",{class:{button:!0,active:q.fast},onClick:()=>q.fast=!q.fast},[A("span",{class:"material-icons"},[I("fast_forward")]),A("span",null,[I("Fast")])])]),A("div",{class:"teams-container",style:b.value?"pointer-events: none;":""},[A("div",{class:"team-container"},[A("div",{class:"stream-container"},[A("div",{class:"stream-details",style:"left: 1vmin"},[A("span",{style:"margin-left: 0"},[Nt.value,I(" (YOU)")]),A("div",{class:"stats",style:"margin-left: 0"},[A("div",{class:"resource-box"},[A("img",{src:rt},null),A("span",null,[e.value])]),A("div",{class:"resource-box"},[A("span",{class:"material-icons"},[I("emoji_events")]),A("span",null,[t.value,I("/5")])])])]),A("div",{class:"view-counter",style:"right: 1vmin"},[pt(w.value),I(" Views")]),A(_e,{class:"streamers-container"},{default:()=>[A(nt,{name:"character-transition"},Je(F=h.value.streamers.slice().reverse().map((ie,Ce)=>{var se;return A(Re,{key:h.value.streamers.length-Ce,character:ie,shake:v.value&&((se=N.value[0])==null?void 0:se.target)===ie},null)}))?F:{default:()=>[F]})]})]),A(_e,{class:"members-container",style:"margin-left: 0"},{default:()=>[A(nt,{name:"character-transition"},Je(V=h.value.team.map((ie,Ce)=>{var se,Ue,Oe,Ye;return A(Re,{character:ie,key:Ce,shake:v.value&&((se=N.value[0])==null?void 0:se.action)==="join"&&ie===((Ye=h.value)==null?void 0:Ye.team[((Oe=(Ue=h.value)==null?void 0:Ue.team.length)!=null?Oe:0)-1])},null)}))?V:{default:()=>[V]})]})]),A("div",{class:"team-container"},[A("div",{class:"stream-container"},[A("div",{class:"stream-details",style:"right: 1vmin"},[A("span",{style:"margin-right: 0"},[h.value.enemyNickname]),A("div",{class:"stats",style:"margin-right: 0"},[A("div",{class:"resource-box"},[A("img",{src:rt},null),A("span",null,[h.value.enemyLives])]),A("div",{class:"resource-box"},[A("span",{class:"material-icons"},[I("emoji_events")]),A("span",null,[h.value.enemyWins,I("/5")])])])]),A("div",{class:"view-counter",style:"left: 1vmin"},[pt(O.value),I(" Views")]),A(_e,{class:"streamers-container"},{default:()=>[A(nt,{name:"character-transition"},Je(Y=h.value.enemyStreamers.map((ie,Ce)=>{var se;return A(Re,{key:Ce,character:ie,shake:v.value&&((se=N.value[0])==null?void 0:se.target)===ie},null)}))?Y:{default:()=>[Y]})]})]),A(_e,{class:"members-container",style:"margin-right: 0"},{default:()=>[A(nt,{name:"character-transition"},Je(De=h.value.enemyTeam.slice().reverse().map((ie,Ce)=>{var se,Ue,Oe,Ye;return A(Re,{character:ie,key:h.value.enemyStreamers.length+Ce,shake:v.value&&((se=N.value[0])==null?void 0:se.action)==="join"&&ie===((Ye=h.value)==null?void 0:Ye.enemyTeam[((Oe=(Ue=h.value)==null?void 0:Ue.enemyTeam.length)!=null?Oe:0)-1])},null)}))?De:{default:()=>[De]})]})])]),b.value?A("div",{class:"outcome",onClick:()=>xe("newTurn")},[A("span",null,[f.value]),A("span",{style:"font-size: 2vmin"},[I("Next Turn")])]):null])}return A("div",{class:"game-container",style:g.value?"pointer-events: none":"",onClick:()=>{o.value=null,l.value=null}},[A(_e,{style:"position: absolute; top: 10px; left: -5px"},{default:()=>[A("div",{class:"resource-box"},[A("span",{class:"material-icons"},[I("credit_card")]),n.value]),A("div",{class:"resource-box"},[A("img",{src:rt},null),e.value]),A("div",{class:"resource-box"},[A("span",{class:"material-icons"},[I("emoji_events")]),t.value,I("/5")])]}),A("h2",{style:"font-size: 3vmin"},[Nt.value]),A(_e,{style:"margin-top: 10vh"},Je(D=new Array(3).fill(0).map((F,V)=>{var Y,De;return A(Re,{character:i.value[V],isSelected:o.value===V,selected:o.value==null?l.value==null||i.value[V]!=null&&((Y=s.value[l.value])==null?void 0:Y.type)!==((De=i.value[V])==null?void 0:De.type)||n.value<3?null:s.value[l.value]:i.value[o.value],isDragging:p.value,onClick:Ft(V),onDragstart:()=>{p.value=!0,o.value=V,l.value=null},onDragend:()=>{p.value=!1,o.value=null,l.value=null},onDrop:()=>Ft(V)()},null)}))?D:{default:()=>[D]}),A(_e,{style:"margin-top: 10vh"},{default:()=>[A("div",{class:"reroll",style:n.value>0?"":"color: var(--locked); cursor: not-allowed",onClick:()=>{n.value>0&&xe("reroll")}},[A("span",{class:"material-icons",style:"font-size: 8vmin"},[I("casino")]),A("span",{style:"font-size: 2vmin"},[I("Roll")])]),s.value.map((F,V)=>A(Re,{character:F==null?void 0:F,isSelected:l.value===V,isShop:!0,isDragging:p.value,onClick:Y=>{F!=null&&(l.value=l.value===V?null:V,o.value=null,Y.stopPropagation())},onDragstart:()=>{p.value=!0,o.value=null,l.value=V},onDragend:()=>{p.value=!1,o.value=null,l.value=null}},null))]}),A(tr,{height:"4vh"},null),g.value?A("div",{class:"waiting"},[I("Finding opposing team...")]):A("img",{class:"startStream",draggable:"false",onClick:()=>{xe("stream"),g.value=!0},src:Pr},null)])}),lives:e,wins:t,turn:a,gold:n,team:i,shop:s,selectedCharacter:o,selectedShopItem:l,findingMatch:g,showingOutcome:b,outcome:f,reset:W,battle:h,playClicked:y,prepareMove:B}});function Ft(e){return t=>{var a,n,i,s,o,l,g;S.selectedCharacter.value!=null&&S.selectedCharacter.value!==e?((a=S.team.value[S.selectedCharacter.value])==null?void 0:a.type)===((n=S.team.value[e])==null?void 0:n.type)&&((s=(i=S.team.value[S.selectedCharacter.value])==null?void 0:i.exp)!=null?s:0)<6&&((l=(o=S.team.value[e])==null?void 0:o.exp)!=null?l:0)<6?(xe("merge",S.selectedCharacter.value,e),S.selectedCharacter.value=null):(xe("move",S.selectedCharacter.value,e),S.selectedCharacter.value=null):S.selectedCharacter.value===e?S.selectedCharacter.value=null:S.selectedShopItem.value!==null?((S.team.value[e]==null||S.team.value[e].type===((g=S.shop.value[S.selectedShopItem.value])==null?void 0:g.type)&&S.team.value[e].exp<6)&&S.gold.value>=3&&xe("buy",S.selectedShopItem.value,e),S.selectedShopItem.value=null):S.selectedCharacter.value=e,t==null||t.stopPropagation()}}const zr=e=>[S],ha=x(()=>!1);function Ur(e,t){}var Or=Object.freeze(Object.defineProperty({__proto__:null,characters:le,main:S,getInitialLayers:zr,hasWon:ha,fixOldSave:Ur},Symbol.toStringTag,{value:"Module"}));const Yr={class:"field"},Jr=U({__name:"Toggle",props:{title:null,modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const a=e,n=x(()=>{var s;return me((s=u(a.title))!=null?s:"","span")}),i=x({get(){return!!a.modelValue},set(s){t("update:modelValue",s)}});return(s,o)=>(m(),E("label",Yr,[Bt(c("input",{type:"checkbox",class:"toggle","onUpdate:modelValue":o[0]||(o[0]=l=>ge(i)?i.value=l:null)},null,512),[[Ba,u(i)]]),(m(),z(Ae(u(n))))]))}});var Ct=j(Jr,[["__scopeId","data-v-11046116"]]);const tt=e=>(be("data-v-4a50ce42"),e=e(),Ne(),e),Lr={class:"game-over-modal-header"},Wr=["src","alt"],Xr={class:"game-over-modal-title"},jr=tt(()=>c("h2",null,"Congratulations!",-1)),Hr={key:0},Kr=tt(()=>c("br",null,null,-1)),Zr=tt(()=>c("div",null," Please check the Discord to discuss the game or to check for new content updates! ",-1)),$r=tt(()=>c("br",null,null,-1)),eo=["href"],to=tt(()=>c("span",{class:"material-icons game-over-modal-discord"},"discord",-1)),ao=U({__name:"GameOverScreen",setup(e){const{title:t,logo:a,discordName:n,discordLink:i,versionNumber:s,versionTitle:o}=P,l=x(()=>wt(R.timePlayed)),g=x(()=>ha.value&&!R.keepGoing),f=Me(R,"autosave");function b(){R.keepGoing=!0}function v(){Ie(qe())}return(y,N)=>(m(),z(ke,{"model-value":u(g)},{header:T(()=>[c("div",Lr,[u(a)?(m(),E("img",{key:0,class:"game-over-modal-logo",src:u(a),alt:u(t)},null,8,Wr)):M("",!0),c("div",Xr,[jr,c("h4",null,"You've beaten "+G(u(t))+" v"+G(u(s))+": "+G(u(o)),1)])])]),body:T(({shown:h})=>[h?(m(),E("div",Hr,[c("div",null,"It took you "+G(u(l))+" to beat the game.",1),Kr,Zr,$r,c("div",null,[c("a",{href:u(i),class:"game-over-modal-discord-link"},[to,I(" "+G(u(n)),1)],8,eo)]),A(Ct,{title:"Autosave",modelValue:u(f),"onUpdate:modelValue":N[0]||(N[0]=w=>ge(f)?f.value=w:null)},null,8,["modelValue"])])):M("",!0)]),footer:T(()=>[c("div",{class:"game-over-footer"},[c("button",{onClick:b,class:"button"},"Keep Going"),c("button",{onClick:v,class:"button danger"},"Play Again")])]),_:1},8,["model-value"]))}});var no=j(ao,[["__scopeId","data-v-4a50ce42"]]);const mt=e=>(be("data-v-336bf74f"),e=e(),Ne(),e),io=mt(()=>c("div",{class:"nan-modal-header"},[c("h2",null,"NaN value detected!")],-1)),so={key:0},ro=mt(()=>c("br",null,null,-1)),oo=["href"],lo=mt(()=>c("span",{class:"material-icons nan-modal-discord"},"discord",-1)),Ao=mt(()=>c("br",null,null,-1)),uo={class:"nan-footer"},co=U({__name:"NaNScreen",setup(e){const{discordName:t,discordLink:a}=P,n=_(!0),i=_(!0),s=Me(X,"hasNaN"),o=_(null);de(s,y=>{y?(n.value=R.autosave,i.value=R.devSpeed===0):(R.autosave=n.value,R.devSpeed=i.value?0:null)});const l=x(()=>{var y;return(y=X.NaNPath)==null?void 0:y.join(".")}),g=x(()=>X.NaNPersistent!=null?X.NaNPersistent.value:null);function f(){X.NaNPersistent!=null&&(X.NaNPersistent.value=new C(0),X.hasNaN=!1)}function b(){X.NaNPersistent&&(X.NaNPersistent.value=new C(1),X.hasNaN=!1)}function v(){X.NaNPersistent&&(X.NaNPersistent.value=new C(NaN),X.hasNaN=!1)}return(y,N)=>(m(),E(ne,null,[A(ke,je({modelValue:u(s),"onUpdate:modelValue":N[4]||(N[4]=h=>ge(s)?s.value=h:null)},y.$attrs),{header:T(()=>[io]),body:T(()=>[c("div",null,[I(' Attempted to assign "'+G(u(l))+'" to NaN',1),u(g)?(m(),E("span",so,G(" ")+"(previously "+G(u(Kt)(u(g)))+")",1)):M("",!0),I(". Auto-saving has been "+G(n.value?"enabled":"disabled")+". Check the console for more details, and consider sharing it with the developers on discord. ",1)]),ro,c("div",null,[c("a",{href:u(a)||"https://discord.gg/WzejVAx",class:"nan-modal-discord-link"},[lo,I(" "+G(u(t)||"The Paper Pilot Community"),1)],8,oo)]),Ao,A(Ct,{title:"Autosave",modelValue:n.value,"onUpdate:modelValue":N[0]||(N[0]=h=>n.value=h)},null,8,["modelValue"]),u(P).enablePausing?(m(),z(Ct,{key:0,title:"Pause game",modelValue:i.value,"onUpdate:modelValue":N[1]||(N[1]=h=>i.value=h)},null,8,["modelValue"])):M("",!0)]),footer:T(()=>[c("div",uo,[c("button",{onClick:N[2]||(N[2]=h=>{var w;return(w=o.value)==null?void 0:w.open()}),class:"button"},"Open Saves Manager"),c("button",{onClick:f,class:"button"},"Set to 0"),c("button",{onClick:b,class:"button"},"Set to 1"),u(g)&&u(C).neq(u(g),0)&&u(C).neq(u(g),1)?(m(),E("button",{key:0,onClick:N[3]||(N[3]=h=>s.value=!1),class:"button"}," Set to previous ")):M("",!0),c("button",{onClick:v,class:"button danger"},"Ignore")])]),_:1},16,["modelValue"]),A(ma,{ref_key:"savesManager",ref:o},null,512)],64))}});var go=j(co,[["__scopeId","data-v-336bf74f"]]);var mo=U({__name:"App",setup(e){const t=P.useHeader,a=x(()=>ct[q.theme].variables);Me(q,"showTPS");const n=x(()=>me(H(()=>A(ne,null,[On.map(St)]))));return(i,s)=>(m(),E(ne,null,[c("div",{id:"modal-root",style:Fe(u(a))},null,4),c("div",{class:$(["app",{useHeader:u(t)}]),style:Fe(u(a))},[u(t)?(m(),z(fa,{key:0})):M("",!0),A(er),A(no),A(go),(m(),z(Ae(u(n))))],6)],64))}});var fo=j(mo,[["__scopeId","data-v-ff7f8b84"]]);Z.on("setupVue",e=>e.use(ka));function ho(e={}){const{immediate:t=!1,onNeedRefresh:a,onOfflineReady:n,onRegistered:i,onRegisterError:s}=e;let o,l;const g=async(f=!0)=>{f&&(o==null||o.addEventListener("controlling",b=>{b.isUpdate&&window.location.reload()})),l&&l.waiting&&await Da(l.waiting,{type:"SKIP_WAITING"})};if("serviceWorker"in navigator){o=new Ta("./sw.js",{scope:"./",type:"classic"}),o.addEventListener("activated",f=>{f.isUpdate||n==null||n()});{const f=()=>{a==null||a()};o.addEventListener("waiting",f),o.addEventListener("externalwaiting",f)}o.register({immediate:t}).then(f=>{l=f,i==null||i(f)}).catch(f=>{s==null||s(f)})}return g}function vo(e={}){const{immediate:t=!0,onNeedRefresh:a,onOfflineReady:n,onRegistered:i,onRegisterError:s}=e,o=_(!1),l=_(!1);return{updateServiceWorker:ho({immediate:t,onNeedRefresh(){o.value=!0,a==null||a()},onOfflineReady(){l.value=!0,n==null||n()},onRegistered:i,onRegisterError:s}),offlineReady:l,needRefresh:o}}document.title=P.title;window.projInfo=P;if(P.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 Gn();const{globalBus:e}=await ot(()=>Promise.resolve().then(function(){return Vn}),void 0),{startGameLoop:t}=await ot(()=>import("./gameLoop.ed7f4ea7.js"),["assets/gameLoop.ed7f4ea7.js","assets/@fontsource.f66d05e7.css","assets/vue.5bd9f35e.js","assets/lru-cache.9506e0ec.js","assets/yallist.fd762fe7.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/vuedraggable.832ed13e.js","assets/sortablejs.80af5380.js","assets/vue-next-select.8d9e0122.js","assets/vue-next-select.9e6f4164.css","assets/vue-textarea-autosize.35804eaf.js","assets/semver.d101e2be.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.b272a510.js","assets/vue-toastification.4b5f8ac8.css","assets/workbox-window.8d14e8b7.js"]),a=window.vue=_a(fo);e.emit("setupVue",a),a.mount("#app"),Xe(()=>{const n=Yt(),{updateServiceWorker:i}=vo({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{C as D,ot as _,X as a,P as b,Or as c,Z as g,Pn as l,R as p,q as s}; diff --git a/assets/index.7f7e174e.css b/assets/index.7f7e174e.css new file mode 100644 index 0000000..7885139 --- /dev/null +++ b/assets/index.7f7e174e.css @@ -0,0 +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-638848c0]{position:relative;--xoffset: 0px;--yoffset: 0px;text-shadow:none!important}.tooltip[data-v-638848c0],.tooltip[data-v-638848c0]:after{pointer-events:none;position:absolute}.tooltip[data-v-638848c0]{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(--points);z-index:100!important;word-break:break-word}.tooltip[data-v-638848c0] hr{margin:var(--feature-margin) 0}.shown[data-v-638848c0]{z-index:10}.fade-enter-from[data-v-638848c0],.fade-leave-to[data-v-638848c0]{opacity:0}.tooltip[data-v-638848c0]: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-638848c0],.side-nodes .tooltip[data-v-638848c0]: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-638848c0]:after,.side-nodes .tooltip[data-v-638848c0]: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-638848c0]{bottom:calc(50% + var(--yoffset));left:calc(100% + var(--xoffset));margin-bottom:unset;margin-left:5px;transform:translateY(50%)}.tooltip.right[data-v-638848c0]: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-638848c0]{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-638848c0]:after{top:0;margin-top:-10px;border-color:transparent transparent var(--tooltip-background) transparent}.pinned[data-v-638848c0]{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}.character[data-v-525c924f]{width:10vmin;height:10vmin;position:relative;margin:4vmin;justify-content:center;user-select:none;display:flex}.character[data-v-525c924f]:not(.empty){cursor:pointer}.character.shake[data-v-525c924f]{animation:shake-525c924f .5s infinite}.character *[data-v-525c924f]{pointer-events:none}.character-display img[data-v-525c924f]{image-rendering:pixelated;width:10vmin;height:10vmin;filter:drop-shadow(2px 4px 6px black)}.character[data-v-525c924f]:after{content:"";background:grey;position:absolute;top:67.5%;left:0;right:0;bottom:-12.5%;border-radius:50%;z-index:-1}.character.selected[data-v-525c924f]: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='%2388C0D0' stroke-width='8' stroke-dasharray='10%25%2c90%25' stroke-dashoffset='5%25' stroke-linecap='square'/%3e%3c/svg%3e");z-index:1}.character[data-v-525c924f]:not(.selected):not(.empty):not(.dragging):not(.isDragging):hover:before,.character:not(.selected):not(.empty):not(.dragging).draggingOver[data-v-525c924f]: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='%2388C0D0' stroke-width='4' stroke-dasharray='10%25%2c90%25' stroke-dashoffset='5%25' stroke-linecap='square'/%3e%3c/svg%3e");z-index:1}.relevancy-display[data-v-525c924f]{position:absolute;top:-15%;left:0;transform:translate(-50%,-50%)}.relevancy-display img[data-v-525c924f]{position:absolute;transform:translate(-45%,-45%);z-index:-1;width:10vmin;height:10vmin;image-rendering:pixelated}.relevancy-display span[data-v-525c924f]{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-525c924f]{position:absolute;top:0;right:0;transform:translate(-50%,-50%);color:var(--feature-foreground)}.presence-display .material-icons[data-v-525c924f]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:var(--accent1);font-size:2vmin;z-index:-1}.level-display[data-v-525c924f]{position:absolute;bottom:-5%;right:-5%;z-index:1;transform:translate(50%,50%)}.level-display img[data-v-525c924f]{width:10vmin;height:10vmin}.move-indicator[data-v-525c924f]{position:absolute;transform:translate(-50%) rotate(180deg);top:-75%;left:50%;animation:bouncingMoveIndicator-525c924f 1s infinite}.move-indicator .material-icons[data-v-525c924f]{font-size:5vmin;transition:all .5s ease,color 0s}.character:not(.isDragging):hover .move-indicator .material-icons[data-v-525c924f],.character.draggingOver .move-indicator .material-icons[data-v-525c924f]{color:var(--feature-foreground)}@keyframes bouncingMoveIndicator-525c924f{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-525c924f{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)}}.game-container{display:flex;flex-direction:column;height:100%}.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{flex-direction:column;margin:2vmin;cursor:pointer;user-select:none;transition-duration:0s}.startStream{height:16vmin;cursor:pointer;filter:drop-shadow(2px 4px 6px black)}.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:hidden}.members-container{height:18vmin;overflow:hidden;flex-shrink:0}.streamers-container .row,.members-container .row{flex-flow:row}.streamers-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}@media (orientation: portrait){.teams-container{flex-direction:column}.team-container{margin:4vmin 0}.stream-container{width:unset;height:100%}}.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-ff7f8b84]{background-color:var(--background);color:var(--foreground);display:flex;flex-flow:column;min-height:100%;height:100%}#modal-root[data-v-ff7f8b84]{position:absolute;min-height:100%;height:100%} diff --git a/assets/lru-cache.9506e0ec.js b/assets/lru-cache.9506e0ec.js new file mode 100644 index 0000000..458f4f0 --- /dev/null +++ b/assets/lru-cache.9506e0ec.js @@ -0,0 +1 @@ +import{y as x}from"./yallist.fd762fe7.js";var C=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function G(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function N(n){if(n.__esModule)return n;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(n).forEach(function(e){var r=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(t,e,r.get?r:{enumerable:!0,get:function(){return n[e]}})}),t}const O=x,u=Symbol("max"),l=Symbol("length"),g=Symbol("lengthCalculator"),b=Symbol("allowStale"),c=Symbol("maxAge"),o=Symbol("dispose"),A=Symbol("noDisposeOnSet"),i=Symbol("lruList"),a=Symbol("cache"),S=Symbol("updateAgeOnGet"),v=()=>1;class _{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[u]=t.max||1/0;const e=t.length||v;if(this[g]=typeof e!="function"?v:e,this[b]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[c]=t.maxAge||0,this[o]=t.dispose,this[A]=t.noDisposeOnSet||!1,this[S]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[u]=t||1/0,d(this)}get max(){return this[u]}set allowStale(t){this[b]=!!t}get allowStale(){return this[b]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[c]=t,d(this)}get maxAge(){return this[c]}set lengthCalculator(t){typeof t!="function"&&(t=v),t!==this[g]&&(this[g]=t,this[l]=0,this[i].forEach(e=>{e.length=this[g](e.value,e.key),this[l]+=e.length})),d(this)}get lengthCalculator(){return this[g]}get length(){return this[l]}get itemCount(){return this[i].length}rforEach(t,e){e=e||this;for(let r=this[i].tail;r!==null;){const s=r.prev;E(this,t,r,e),r=s}}forEach(t,e){e=e||this;for(let r=this[i].head;r!==null;){const s=r.next;E(this,t,r,e),r=s}}keys(){return this[i].toArray().map(t=>t.key)}values(){return this[i].toArray().map(t=>t.value)}reset(){this[o]&&this[i]&&this[i].length&&this[i].forEach(t=>this[o](t.key,t.value)),this[a]=new Map,this[i]=new O,this[l]=0}dump(){return this[i].map(t=>w(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[i]}set(t,e,r){if(r=r||this[c],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,h=this[g](e,t);if(this[a].has(t)){if(h>this[u])return y(this,this[a].get(t)),!1;const m=this[a].get(t).value;return this[o]&&(this[A]||this[o](t,m.value)),m.now=s,m.maxAge=r,m.value=e,this[l]+=h-m.length,m.length=h,this.get(t),d(this),!0}const f=new T(t,e,h,s,r);return f.length>this[u]?(this[o]&&this[o](t,e),!1):(this[l]+=f.length,this[i].unshift(f),this[a].set(t,this[i].head),d(this),!0)}has(t){if(!this[a].has(t))return!1;const e=this[a].get(t).value;return!w(this,e)}get(t){return p(this,t,!0)}peek(t){return p(this,t,!1)}pop(){const t=this[i].tail;return t?(y(this,t),t.value):null}del(t){y(this,this[a].get(t))}load(t){this.reset();const e=Date.now();for(let r=t.length-1;r>=0;r--){const s=t[r],h=s.e||0;if(h===0)this.set(s.k,s.v);else{const f=h-e;f>0&&this.set(s.k,s.v,f)}}}prune(){this[a].forEach((t,e)=>p(this,e,!1))}}const p=(n,t,e)=>{const r=n[a].get(t);if(r){const s=r.value;if(w(n,s)){if(y(n,r),!n[b])return}else e&&(n[S]&&(r.value.now=Date.now()),n[i].unshiftNode(r));return s.value}},w=(n,t)=>{if(!t||!t.maxAge&&!n[c])return!1;const e=Date.now()-t.now;return t.maxAge?e>t.maxAge:n[c]&&e>n[c]},d=n=>{if(n[l]>n[u])for(let t=n[i].tail;n[l]>n[u]&&t!==null;){const e=t.prev;y(n,t),t=e}},y=(n,t)=>{if(t){const e=t.value;n[o]&&n[o](e.key,e.value),n[l]-=e.length,n[a].delete(e.key),n[i].removeNode(t)}};class T{constructor(t,e,r,s,h){this.key=t,this.value=e,this.length=r,this.now=s,this.maxAge=h||0}}const E=(n,t,e,r)=>{let s=e.value;w(n,s)&&(y(n,e),n[b]||(s=void 0)),s&&t.call(r,s.value,s.key,n)};var j=_;export{G as a,C as c,N as g,j as l}; diff --git a/assets/lz-string.f2f3b7cf.js b/assets/lz-string.f2f3b7cf.js new file mode 100644 index 0000000..20dd9fe --- /dev/null +++ b/assets/lz-string.f2f3b7cf.js @@ -0,0 +1 @@ +var O={exports:{}};(function(y){var U=function(){var _=String.fromCharCode,M="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",x={};function m(o,r){if(!x[o]){x[o]={};for(var c=0;c>>8,c[e*2+1]=p%256}return c},decompressFromUint8Array:function(o){if(o==null)return d.decompress(o);for(var r=new Array(o.length/2),c=0,e=r.length;c>1}else{for(t=1,e=0;e>1}h--,h==0&&(h=Math.pow(2,f),f++),delete w[u]}else for(t=p[u],e=0;e>1;h--,h==0&&(h=Math.pow(2,f),f++),p[A]=a++,u=String(v)}if(u!==""){if(Object.prototype.hasOwnProperty.call(w,u)){if(u.charCodeAt(0)<256){for(e=0;e>1}else{for(t=1,e=0;e>1}h--,h==0&&(h=Math.pow(2,f),f++),delete w[u]}else for(t=p[u],e=0;e>1;h--,h==0&&(h=Math.pow(2,f),f++)}for(t=2,e=0;e>1;for(;;)if(n=n<<1,s==r-1){l.push(c(n));break}else s++;return l.join("")},decompress:function(o){return o==null?"":o==""?null:d._decompress(o.length,32768,function(r){return o.charCodeAt(r)})},_decompress:function(o,r,c){var e=[],t=4,p=4,w=3,v="",A=[],u,h,a,f,l,n,s,i={val:c(0),position:r,index:1};for(u=0;u<3;u+=1)e[u]=u;for(a=0,l=Math.pow(2,2),n=1;n!=l;)f=i.val&i.position,i.position>>=1,i.position==0&&(i.position=r,i.val=c(i.index++)),a|=(f>0?1:0)*n,n<<=1;switch(a){case 0:for(a=0,l=Math.pow(2,8),n=1;n!=l;)f=i.val&i.position,i.position>>=1,i.position==0&&(i.position=r,i.val=c(i.index++)),a|=(f>0?1:0)*n,n<<=1;s=_(a);break;case 1:for(a=0,l=Math.pow(2,16),n=1;n!=l;)f=i.val&i.position,i.position>>=1,i.position==0&&(i.position=r,i.val=c(i.index++)),a|=(f>0?1:0)*n,n<<=1;s=_(a);break;case 2:return""}for(e[3]=s,h=s,A.push(s);;){if(i.index>o)return"";for(a=0,l=Math.pow(2,w),n=1;n!=l;)f=i.val&i.position,i.position>>=1,i.position==0&&(i.position=r,i.val=c(i.index++)),a|=(f>0?1:0)*n,n<<=1;switch(s=a){case 0:for(a=0,l=Math.pow(2,8),n=1;n!=l;)f=i.val&i.position,i.position>>=1,i.position==0&&(i.position=r,i.val=c(i.index++)),a|=(f>0?1:0)*n,n<<=1;e[p++]=_(a),s=p-1,t--;break;case 1:for(a=0,l=Math.pow(2,16),n=1;n!=l;)f=i.val&i.position,i.position>>=1,i.position==0&&(i.position=r,i.val=c(i.index++)),a|=(f>0?1:0)*n,n<<=1;e[p++]=_(a),s=p-1,t--;break;case 2:return A.join("")}if(t==0&&(t=Math.pow(2,w),w++),e[s])v=e[s];else if(s===p)v=h+h.charAt(0);else return null;A.push(v),e[p++]=h+v.charAt(0),t--,h=v,t==0&&(t=Math.pow(2,w),w++)}}};return d}();y!=null&&(y.exports=U)})(O);var j=O.exports;export{j as L}; diff --git a/assets/material-icons-base-400-normal.47b692f3.woff b/assets/material-icons-base-400-normal.47b692f3.woff new file mode 100644 index 0000000..3031d46 Binary files /dev/null and b/assets/material-icons-base-400-normal.47b692f3.woff differ diff --git a/assets/material-icons-base-400-normal.cc0462d5.woff2 b/assets/material-icons-base-400-normal.cc0462d5.woff2 new file mode 100644 index 0000000..65a3d31 Binary files /dev/null and b/assets/material-icons-base-400-normal.cc0462d5.woff2 differ diff --git a/assets/nanoevents.1080beb7.js b/assets/nanoevents.1080beb7.js new file mode 100644 index 0000000..9d7a85f --- /dev/null +++ b/assets/nanoevents.1080beb7.js @@ -0,0 +1 @@ +let h=()=>({events:{},emit(t,...e){(this.events[t]||[]).forEach(s=>s(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(s=>s!==e)}});export{h as c}; diff --git a/assets/roboto-mono-all-400-normal.66268f92.woff b/assets/roboto-mono-all-400-normal.66268f92.woff new file mode 100644 index 0000000..068df61 Binary files /dev/null and b/assets/roboto-mono-all-400-normal.66268f92.woff differ diff --git a/assets/roboto-mono-cyrillic-400-normal.8c367f2f.woff2 b/assets/roboto-mono-cyrillic-400-normal.8c367f2f.woff2 new file mode 100644 index 0000000..966b1a0 Binary files /dev/null and b/assets/roboto-mono-cyrillic-400-normal.8c367f2f.woff2 differ diff --git a/assets/roboto-mono-cyrillic-ext-400-normal.eef02d41.woff2 b/assets/roboto-mono-cyrillic-ext-400-normal.eef02d41.woff2 new file mode 100644 index 0000000..184deab Binary files /dev/null and b/assets/roboto-mono-cyrillic-ext-400-normal.eef02d41.woff2 differ diff --git a/assets/roboto-mono-greek-400-normal.53a8927b.woff2 b/assets/roboto-mono-greek-400-normal.53a8927b.woff2 new file mode 100644 index 0000000..5e1ac28 Binary files /dev/null and b/assets/roboto-mono-greek-400-normal.53a8927b.woff2 differ diff --git a/assets/roboto-mono-latin-400-normal.7295944e.woff2 b/assets/roboto-mono-latin-400-normal.7295944e.woff2 new file mode 100644 index 0000000..f8894ba Binary files /dev/null and b/assets/roboto-mono-latin-400-normal.7295944e.woff2 differ diff --git a/assets/roboto-mono-latin-ext-400-normal.820adbd1.woff2 b/assets/roboto-mono-latin-ext-400-normal.820adbd1.woff2 new file mode 100644 index 0000000..f34ae00 Binary files /dev/null and b/assets/roboto-mono-latin-ext-400-normal.820adbd1.woff2 differ diff --git a/assets/semver.d101e2be.js b/assets/semver.d101e2be.js new file mode 100644 index 0000000..0bd921c --- /dev/null +++ b/assets/semver.d101e2be.js @@ -0,0 +1 @@ +import{l as z}from"./lru-cache.9506e0ec.js";const M=["includePrerelease","loose","rtl"],Z=r=>r?typeof r!="object"?{loose:!0}:M.filter(e=>r[e]).reduce((e,t)=>(e[t]=!0,e),{}):{};var G=Z,A={exports:{}};const K="2.0.0",J=256,Q=Number.MAX_SAFE_INTEGER||9007199254740991,W=16;var V={SEMVER_SPEC_VERSION:K,MAX_LENGTH:J,MAX_SAFE_INTEGER:Q,MAX_SAFE_COMPONENT_LENGTH:W};const ee=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};var P=ee;(function(r,e){const{MAX_SAFE_COMPONENT_LENGTH:t}=V,n=P;e=r.exports={};const E=e.re=[],s=e.src=[],i=e.t={};let o=0;const a=(l,$,h)=>{const N=o++;n(l,N,$),i[l]=N,s[N]=$,E[N]=new RegExp($,h?"g":void 0)};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION",`(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})`),a("MAINVERSIONLOOSE",`(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})`),a("PRERELEASEIDENTIFIER",`(?:${s[i.NUMERICIDENTIFIER]}|${s[i.NONNUMERICIDENTIFIER]})`),a("PRERELEASEIDENTIFIERLOOSE",`(?:${s[i.NUMERICIDENTIFIERLOOSE]}|${s[i.NONNUMERICIDENTIFIER]})`),a("PRERELEASE",`(?:-(${s[i.PRERELEASEIDENTIFIER]}(?:\\.${s[i.PRERELEASEIDENTIFIER]})*))`),a("PRERELEASELOOSE",`(?:-?(${s[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[i.PRERELEASEIDENTIFIERLOOSE]})*))`),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD",`(?:\\+(${s[i.BUILDIDENTIFIER]}(?:\\.${s[i.BUILDIDENTIFIER]})*))`),a("FULLPLAIN",`v?${s[i.MAINVERSION]}${s[i.PRERELEASE]}?${s[i.BUILD]}?`),a("FULL",`^${s[i.FULLPLAIN]}$`),a("LOOSEPLAIN",`[v=\\s]*${s[i.MAINVERSIONLOOSE]}${s[i.PRERELEASELOOSE]}?${s[i.BUILD]}?`),a("LOOSE",`^${s[i.LOOSEPLAIN]}$`),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE",`${s[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),a("XRANGEIDENTIFIER",`${s[i.NUMERICIDENTIFIER]}|x|X|\\*`),a("XRANGEPLAIN",`[v=\\s]*(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:${s[i.PRERELEASE]})?${s[i.BUILD]}?)?)?`),a("XRANGEPLAINLOOSE",`[v=\\s]*(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:${s[i.PRERELEASELOOSE]})?${s[i.BUILD]}?)?)?`),a("XRANGE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAIN]}$`),a("XRANGELOOSE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAINLOOSE]}$`),a("COERCE",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?(?:$|[^\\d])`),a("COERCERTL",s[i.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM",`(\\s*)${s[i.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",a("TILDE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAIN]}$`),a("TILDELOOSE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAINLOOSE]}$`),a("LONECARET","(?:\\^)"),a("CARETTRIM",`(\\s*)${s[i.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",a("CARET",`^${s[i.LONECARET]}${s[i.XRANGEPLAIN]}$`),a("CARETLOOSE",`^${s[i.LONECARET]}${s[i.XRANGEPLAINLOOSE]}$`),a("COMPARATORLOOSE",`^${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]})$|^$`),a("COMPARATOR",`^${s[i.GTLT]}\\s*(${s[i.FULLPLAIN]})$|^$`),a("COMPARATORTRIM",`(\\s*)${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]}|${s[i.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE",`^\\s*(${s[i.XRANGEPLAIN]})\\s+-\\s+(${s[i.XRANGEPLAIN]})\\s*$`),a("HYPHENRANGELOOSE",`^\\s*(${s[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[i.XRANGEPLAINLOOSE]})\\s*$`),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(A,A.exports);const F=/^[0-9]+$/,q=(r,e)=>{const t=F.test(r),n=F.test(e);return t&&n&&(r=+r,e=+e),r===e?0:t&&!n?-1:n&&!t?1:rq(e,r);var se={compareIdentifiers:q,rcompareIdentifiers:te};const S=P,{MAX_LENGTH:X,MAX_SAFE_INTEGER:d}=V,{re:y,t:g}=A.exports,re=G,{compareIdentifiers:p}=se;class f{constructor(e,t){if(t=re(t),e instanceof f){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid Version: ${e}`);if(e.length>X)throw new TypeError(`version is longer than ${X} characters`);S("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?y[g.LOOSE]:y[g.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>d||this.major<0)throw new TypeError("Invalid major version");if(this.minor>d||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>d||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(E=>{if(/^[0-9]+$/.test(E)){const s=+E;if(s>=0&&s=0;)typeof this.prerelease[n]=="number"&&(this.prerelease[n]++,n=-2);n===-1&&this.prerelease.push(0)}t&&(p(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}var C=f;const U=C,ie=(r,e,t)=>new U(r,t).compare(new U(e,t));var O=ie;const ne=O,ae=(r,e,t)=>ne(r,e,t)===0;var Ee=ae;const oe=O,le=(r,e,t)=>oe(r,e,t)!==0;var ce=le;const he=O,$e=(r,e,t)=>he(r,e,t)>0;var Ie=$e;const ue=O,Re=(r,e,t)=>ue(r,e,t)>=0;var fe=Re;const Ne=O,pe=(r,e,t)=>Ne(r,e,t)<0;var Oe=pe;const Le=O,Te=(r,e,t)=>Le(r,e,t)<=0;var Ae=Te;const Se=Ee,de=ce,ve=Ie,Pe=fe,De=Oe,me=Ae,we=(r,e,t,n)=>{switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return Se(r,t,n);case"!=":return de(r,t,n);case">":return ve(r,t,n);case">=":return Pe(r,t,n);case"<":return De(r,t,n);case"<=":return me(r,t,n);default:throw new TypeError(`Invalid operator: ${e}`)}};var Ge=we;const L=Symbol("SemVer ANY");class v{static get ANY(){return L}constructor(e,t){if(t=Fe(t),e instanceof v){if(e.loose===!!t.loose)return e;e=e.value}m("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===L?this.value="":this.value=this.operator+this.semver.version,m("comp",this)}parse(e){const t=this.options.loose?j[b.COMPARATORLOOSE]:j[b.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new _(n[2],this.options.loose):this.semver=L}toString(){return this.value}test(e){if(m("Comparator.test",e,this.options.loose),this.semver===L||e===L)return!0;if(typeof e=="string")try{e=new _(e,this.options)}catch{return!1}return D(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof v))throw new TypeError("a Comparator is required");if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new x(e.value,t).test(this.value);if(e.operator==="")return e.value===""?!0:new x(this.value,t).test(e.semver);const n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),E=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),s=this.semver.version===e.semver.version,i=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),o=D(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),a=D(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return n||E||s&&i||o||a}}var Ce=v;const Fe=G,{re:j,t:b}=A.exports,D=Ge,m=P,_=C,x=Y;class T{constructor(e,t){if(t=ye(t),e instanceof T)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new T(e.raw,t);if(e instanceof w)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const n=this.set[0];if(this.set=this.set.filter(E=>!k(E[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(const E of this.set)if(E.length===1&&_e(E[0])){this.set=[E];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const n=`parseRange:${Object.keys(this.options).join(",")}:${e}`,E=H.get(n);if(E)return E;const s=this.options.loose,i=s?R[I.HYPHENRANGELOOSE]:R[I.HYPHENRANGE];e=e.replace(i,Ze(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(R[I.COMPARATORTRIM],Ue),c("comparator trim",e),e=e.replace(R[I.TILDETRIM],je),e=e.replace(R[I.CARETTRIM],be),e=e.split(/\s+/).join(" ");let o=e.split(" ").map(h=>xe(h,this.options)).join(" ").split(/\s+/).map(h=>Me(h,this.options));s&&(o=o.filter(h=>(c("loose invalid filter",h,this.options),!!h.match(R[I.COMPARATORLOOSE])))),c("range list",o);const a=new Map,l=o.map(h=>new w(h,this.options));for(const h of l){if(k(h))return[h];a.set(h.value,h)}a.size>1&&a.has("")&&a.delete("");const $=[...a.values()];return H.set(n,$),$}intersects(e,t){if(!(e instanceof T))throw new TypeError("a Range is required");return this.set.some(n=>B(n,t)&&e.set.some(E=>B(E,t)&&n.every(s=>E.every(i=>s.intersects(i,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new ge(e,this.options)}catch{return!1}for(let t=0;tr.value==="<0.0.0-0",_e=r=>r.value==="",B=(r,e)=>{let t=!0;const n=r.slice();let E=n.pop();for(;t&&n.length;)t=n.every(s=>E.intersects(s,e)),E=n.pop();return t},xe=(r,e)=>(c("comp",r,e),r=Be(r,e),c("caret",r),r=He(r,e),c("tildes",r),r=qe(r,e),c("xrange",r),r=ze(r,e),c("stars",r),r),u=r=>!r||r.toLowerCase()==="x"||r==="*",He=(r,e)=>r.trim().split(/\s+/).map(t=>ke(t,e)).join(" "),ke=(r,e)=>{const t=e.loose?R[I.TILDELOOSE]:R[I.TILDE];return r.replace(t,(n,E,s,i,o)=>{c("tilde",r,n,E,s,i,o);let a;return u(E)?a="":u(s)?a=`>=${E}.0.0 <${+E+1}.0.0-0`:u(i)?a=`>=${E}.${s}.0 <${E}.${+s+1}.0-0`:o?(c("replaceTilde pr",o),a=`>=${E}.${s}.${i}-${o} <${E}.${+s+1}.0-0`):a=`>=${E}.${s}.${i} <${E}.${+s+1}.0-0`,c("tilde return",a),a})},Be=(r,e)=>r.trim().split(/\s+/).map(t=>Ve(t,e)).join(" "),Ve=(r,e)=>{c("caret",r,e);const t=e.loose?R[I.CARETLOOSE]:R[I.CARET],n=e.includePrerelease?"-0":"";return r.replace(t,(E,s,i,o,a)=>{c("caret",r,E,s,i,o,a);let l;return u(s)?l="":u(i)?l=`>=${s}.0.0${n} <${+s+1}.0.0-0`:u(o)?s==="0"?l=`>=${s}.${i}.0${n} <${s}.${+i+1}.0-0`:l=`>=${s}.${i}.0${n} <${+s+1}.0.0-0`:a?(c("replaceCaret pr",a),s==="0"?i==="0"?l=`>=${s}.${i}.${o}-${a} <${s}.${i}.${+o+1}-0`:l=`>=${s}.${i}.${o}-${a} <${s}.${+i+1}.0-0`:l=`>=${s}.${i}.${o}-${a} <${+s+1}.0.0-0`):(c("no pr"),s==="0"?i==="0"?l=`>=${s}.${i}.${o}${n} <${s}.${i}.${+o+1}-0`:l=`>=${s}.${i}.${o}${n} <${s}.${+i+1}.0-0`:l=`>=${s}.${i}.${o} <${+s+1}.0.0-0`),c("caret return",l),l})},qe=(r,e)=>(c("replaceXRanges",r,e),r.split(/\s+/).map(t=>Ye(t,e)).join(" ")),Ye=(r,e)=>{r=r.trim();const t=e.loose?R[I.XRANGELOOSE]:R[I.XRANGE];return r.replace(t,(n,E,s,i,o,a)=>{c("xRange",r,n,E,s,i,o,a);const l=u(s),$=l||u(i),h=$||u(o),N=h;return E==="="&&N&&(E=""),a=e.includePrerelease?"-0":"",l?E===">"||E==="<"?n="<0.0.0-0":n="*":E&&N?($&&(i=0),o=0,E===">"?(E=">=",$?(s=+s+1,i=0,o=0):(i=+i+1,o=0)):E==="<="&&(E="<",$?s=+s+1:i=+i+1),E==="<"&&(a="-0"),n=`${E+s}.${i}.${o}${a}`):$?n=`>=${s}.0.0${a} <${+s+1}.0.0-0`:h&&(n=`>=${s}.${i}.0${a} <${s}.${+i+1}.0-0`),c("xRange return",n),n})},ze=(r,e)=>(c("replaceStars",r,e),r.trim().replace(R[I.STAR],"")),Me=(r,e)=>(c("replaceGTE0",r,e),r.trim().replace(R[e.includePrerelease?I.GTE0PRE:I.GTE0],"")),Ze=r=>(e,t,n,E,s,i,o,a,l,$,h,N,We)=>(u(n)?t="":u(E)?t=`>=${n}.0.0${r?"-0":""}`:u(s)?t=`>=${n}.${E}.0${r?"-0":""}`:i?t=`>=${t}`:t=`>=${t}${r?"-0":""}`,u(l)?a="":u($)?a=`<${+l+1}.0.0-0`:u(h)?a=`<${l}.${+$+1}.0-0`:N?a=`<=${l}.${$}.${h}-${N}`:r?a=`<${l}.${$}.${+h+1}-0`:a=`<=${a}`,`${t} ${a}`.trim()),Ke=(r,e,t)=>{for(let n=0;n0){const E=r[n].semver;if(E.major===e.major&&E.minor===e.minor&&E.patch===e.patch)return!0}return!1}return!0},Je=Y,Qe=(r,e,t)=>{try{e=new Je(e,t)}catch{return!1}return e.test(r)};var tt=Qe;export{tt as s}; diff --git a/assets/socket.io-client.79ce0df5.js b/assets/socket.io-client.79ce0df5.js new file mode 100644 index 0000000..da69740 --- /dev/null +++ b/assets/socket.io-client.79ce0df5.js @@ -0,0 +1 @@ +import{p as y,i as g,S as k,n as b}from"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import{E as m}from"./@socket.io.aec831e2.js";import{P as h,p as v}from"./socket.io-parser.544e37d1.js";function O(i,t="",e){let s=i;e=e||typeof location!="undefined"&&location,i==null&&(i=e.protocol+"//"+e.host),typeof i=="string"&&(i.charAt(0)==="/"&&(i.charAt(1)==="/"?i=e.protocol+i:i=e.host+i),/^(https?|wss?):\/\//.test(i)||(typeof e!="undefined"?i=e.protocol+"//"+i:i="https://"+i),s=y(i)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const r=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+r+":"+s.port+t,s.href=s.protocol+"://"+r+(e&&e.port===s.port?"":":"+s.port),s}function c(i,t,e){return i.on(t,e),function(){i.off(t,e)}}const E=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class _ extends m{constructor(t,e,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=e,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[c(t,"open",this.onopen.bind(this)),c(t,"packet",this.onpacket.bind(this)),c(t,"error",this.onerror.bind(this)),c(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...e){if(E.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(e.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(e),this;const s={type:h.EVENT,data:e};if(s.options={},s.options.compress=this.flags.compress!==!1,typeof e[e.length-1]=="function"){const o=this.ids++,a=e.pop();this._registerAckCallback(o,a),s.id=o}const n=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!n||!this.connected)||(this.connected?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(t,e){var s;const n=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(n===void 0){this.acks[t]=e;return}const r=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o{this.io.clearTimeoutFn(r),e.apply(this,[null,...o])}}emitWithAck(t,...e){const s=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((n,r)=>{e.push((o,a)=>s?o?r(o):n(a):n(o)),this.emit(t,...e)})}_addToQueue(t){let e;typeof t[t.length-1]=="function"&&(e=t.pop());const s={id:this.ids++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((n,...r)=>s!==this._queue[0]?void 0:(n!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),e&&e(n)):(this._queue.shift(),e&&e(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(){if(this._queue.length===0)return;const t=this._queue[0];if(t.pending)return;t.pending=!0,t.tryCount++;const e=this.ids;this.ids=t.id,this.flags=t.flags,this.emit.apply(this,t.args),this.ids=e}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:h.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,e){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,e)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case h.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case h.EVENT:case h.BINARY_EVENT:this.onevent(t);break;case h.ACK:case h.BINARY_ACK:this.onack(t);break;case h.DISCONNECT:this.ondisconnect();break;case h.CONNECT_ERROR:this.destroy();const s=new Error(t.data.message);s.data=t.data.data,this.emitReserved("connect_error",s);break}}onevent(t){const e=t.data||[];t.id!=null&&e.push(this.ack(t.id)),this.connected?this.emitEvent(e):this.receiveBuffer.push(Object.freeze(e))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const e=this._anyListeners.slice();for(const s of e)s.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const e=this;let s=!1;return function(...n){s||(s=!0,e.packet({type:h.ACK,id:t,data:n}))}}onack(t){const e=this.acks[t.id];typeof e=="function"&&(e.apply(this,t.data),delete this.acks[t.id])}onconnect(t,e){this.id=t,this.recovered=e&&this._pid===e,this._pid=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:h.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const e=this._anyListeners;for(let s=0;s0&&i.jitter<=1?i.jitter:0,this.attempts=0}f.prototype.duration=function(){var i=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),e=Math.floor(t*this.jitter*i);i=(Math.floor(t*10)&1)==0?i-e:i+e}return Math.min(i,this.max)|0};f.prototype.reset=function(){this.attempts=0};f.prototype.setMin=function(i){this.ms=i};f.prototype.setMax=function(i){this.max=i};f.prototype.setJitter=function(i){this.jitter=i};class p extends m{constructor(t,e){var s;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(e=t,t=void 0),e=e||{},e.path=e.path||"/socket.io",this.opts=e,g(this,e),this.reconnection(e.reconnection!==!1),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor((s=e.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new f({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(e.timeout==null?2e4:e.timeout),this._readyState="closed",this.uri=t;const n=e.parser||v;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this._autoConnect=e.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var e;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(e=this.backoff)===null||e===void 0||e.setMin(t),this)}randomizationFactor(t){var e;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(e=this.backoff)===null||e===void 0||e.setJitter(t),this)}reconnectionDelayMax(t){var e;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(e=this.backoff)===null||e===void 0||e.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new k(this.uri,this.opts);const e=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const n=c(e,"open",function(){s.onopen(),t&&t()}),r=c(e,"error",o=>{s.cleanup(),s._readyState="closed",this.emitReserved("error",o),t?t(o):s.maybeReconnectOnOpen()});if(this._timeout!==!1){const o=this._timeout;o===0&&n();const a=this.setTimeoutFn(()=>{n(),e.close(),e.emit("error",new Error("timeout"))},o);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(n),this.subs.push(r),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(c(t,"ping",this.onping.bind(this)),c(t,"data",this.ondata.bind(this)),c(t,"error",this.onerror.bind(this)),c(t,"close",this.onclose.bind(this)),c(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(e){this.onclose("parse error",e)}}ondecoded(t){b(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,e){let s=this.nsps[t];return s||(s=new _(this,t,e),this.nsps[t]=s),this._autoConnect&&s.connect(),s}_destroy(t){const e=Object.keys(this.nsps);for(const s of e)if(this.nsps[s].active)return;this._close()}_packet(t){const e=this.encoder.encode(t);for(let s=0;st()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,e){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,e),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const e=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(n=>{n?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",n)):t.onreconnect()}))},e);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const u={};function l(i,t){typeof i=="object"&&(t=i,i=void 0),t=t||{};const e=O(i,t.path||"/socket.io"),s=e.source,n=e.id,r=e.path,o=u[n]&&r in u[n].nsps,a=t.forceNew||t["force new connection"]||t.multiplex===!1||o;let d;return a?d=new p(s,t):(u[n]||(u[n]=new p(s,t)),d=u[n]),e.query&&!t.query&&(t.query=e.queryKey),d.socket(e.path,t)}Object.assign(l,{Manager:p,Socket:_,io:l,connect:l});export{l}; diff --git a/assets/socket.io-parser.544e37d1.js b/assets/socket.io-parser.544e37d1.js new file mode 100644 index 0000000..c174923 --- /dev/null +++ b/assets/socket.io-parser.544e37d1.js @@ -0,0 +1 @@ +import{E as y}from"./@socket.io.aec831e2.js";const N=typeof ArrayBuffer=="function",A=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,p=Object.prototype.toString,E=typeof Blob=="function"||typeof Blob!="undefined"&&p.call(Blob)==="[object BlobConstructor]",d=typeof File=="function"||typeof File!="undefined"&&p.call(File)==="[object FileConstructor]";function a(e){return N&&(e instanceof ArrayBuffer||A(e))||E&&e instanceof Blob||d&&e instanceof File}function u(e,r){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t=0&&e.num0;case i.ACK:case i.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class R{constructor(r){this.packet=r,this.buffers=[],this.reconPack=r}takeBinaryData(r){if(this.buffers.push(r),this.buffers.length===this.reconPack.attachments){const t=w(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}var O=Object.freeze(Object.defineProperty({__proto__:null,protocol:B,get PacketType(){return i},Encoder:C,Decoder:h},Symbol.toStringTag,{value:"Module"}));export{i as P,O as p}; diff --git a/assets/sortablejs.80af5380.js b/assets/sortablejs.80af5380.js new file mode 100644 index 0000000..dde9cea --- /dev/null +++ b/assets/sortablejs.80af5380.js @@ -0,0 +1,7 @@ +import{g as Ue}from"./lru-cache.9506e0ec.js";/**! + * Sortable 1.14.0 + * @author RubaXa + * @author owenm + * @license MIT + */function De(o,t){var e=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),e.push.apply(e,n)}return e}function J(o){for(var t=1;t=0)&&(e[i]=o[i]);return e}function Ve(o,t){if(o==null)return{};var e=$e(o,t),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);for(i=0;i=0)&&(!Object.prototype.propertyIsEnumerable.call(o,n)||(e[n]=o[n]))}return e}function Ze(o){return Qe(o)||Je(o)||tn(o)||en()}function Qe(o){if(Array.isArray(o))return he(o)}function Je(o){if(typeof Symbol!="undefined"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)}function tn(o,t){if(!!o){if(typeof o=="string")return he(o,t);var e=Object.prototype.toString.call(o).slice(8,-1);if(e==="Object"&&o.constructor&&(e=o.constructor.name),e==="Map"||e==="Set")return Array.from(o);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return he(o,t)}}function he(o,t){(t==null||t>o.length)&&(t=o.length);for(var e=0,n=new Array(t);e"&&(t=t.substring(1)),o)try{if(o.matches)return o.matches(t);if(o.msMatchesSelector)return o.msMatchesSelector(t);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(t)}catch{return!1}return!1}}function rn(o){return o.host&&o!==document&&o.host.nodeType?o.host:o.parentNode}function $(o,t,e,n){if(o){e=e||document;do{if(t!=null&&(t[0]===">"?o.parentNode===e&&Zt(o,t):Zt(o,t))||n&&o===e)return o;if(o===e)break}while(o=rn(o))}return null}var Ce=/\s+/g;function T(o,t,e){if(o&&t)if(o.classList)o.classList[e?"add":"remove"](t);else{var n=(" "+o.className+" ").replace(Ce," ").replace(" "+t+" "," ");o.className=(n+(e?" "+t:"")).replace(Ce," ")}}function h(o,t,e){var n=o&&o.style;if(n){if(e===void 0)return document.defaultView&&document.defaultView.getComputedStyle?e=document.defaultView.getComputedStyle(o,""):o.currentStyle&&(e=o.currentStyle),t===void 0?e:e[t];!(t in n)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),n[t]=e+(typeof e=="string"?"":"px")}}function ht(o,t){var e="";if(typeof o=="string")e=o;else do{var n=h(o,"transform");n&&n!=="none"&&(e=n+" "+e)}while(!t&&(o=o.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(e)}function ke(o,t,e){if(o){var n=o.getElementsByTagName(t),i=0,r=n.length;if(e)for(;i=r:a=i<=r,!a)return n;if(n===Q())break;n=lt(n,!1)}return!1}function wt(o,t,e,n){for(var i=0,r=0,a=o.children;r2&&arguments[2]!==void 0?arguments[2]:{},i=n.evt,r=Ve(n,dn);Yt.pluginEvent.bind(g)(t,e,J({dragEl:c,parentEl:A,ghostEl:v,rootEl:C,nextEl:dt,lastDownEl:Ut,cloneEl:I,cloneHidden:at,dragStarted:It,putSortable:F,activeSortable:g.active,originalEvent:i,oldIndex:bt,oldDraggableIndex:Ft,newIndex:W,newDraggableIndex:rt,hideGhostForTarget:Le,unhideGhostForTarget:We,cloneNowHidden:function(){at=!0},cloneNowShown:function(){at=!1},dispatchSortableEvent:function(l){X({sortable:e,name:l,originalEvent:i})}},r))};function X(o){At(J({putSortable:F,cloneEl:I,targetEl:c,rootEl:C,oldIndex:bt,oldDraggableIndex:Ft,newIndex:W,newDraggableIndex:rt},o))}var c,A,v,C,dt,Ut,I,at,bt,W,Ft,rt,Ht,F,vt=!1,Qt=!1,Jt=[],ct,U,ae,le,Ie,Ne,It,gt,Rt,kt=!1,Gt=!1,qt,R,se=[],pe=!1,te=[],ne=typeof document!="undefined",Lt=Fe,Pe=Xt||nt?"cssFloat":"float",hn=ne&&!on&&!Fe&&"draggable"in document.createElement("div"),Be=function(){if(!!ne){if(nt)return!1;var o=document.createElement("x");return o.style.cssText="pointer-events:auto",o.style.pointerEvents==="auto"}}(),He=function(t,e){var n=h(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=wt(t,0,e),a=wt(t,1,e),l=r&&h(r),s=a&&h(a),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+O(r).width,d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+O(a).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&l.float&&l.float!=="none"){var f=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===f)?"vertical":"horizontal"}return r&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=i&&n[Pe]==="none"||a&&n[Pe]==="none"&&u+d>i)?"vertical":"horizontal"},pn=function(t,e,n){var i=n?t.left:t.top,r=n?t.right:t.bottom,a=n?t.width:t.height,l=n?e.left:e.top,s=n?e.right:e.bottom,u=n?e.width:e.height;return i===l||r===s||i+a/2===l+u/2},gn=function(t,e){var n;return Jt.some(function(i){var r=i[k].options.emptyInsertThreshold;if(!(!r||be(i))){var a=O(i),l=t>=a.left-r&&t<=a.right+r,s=e>=a.top-r&&e<=a.bottom+r;if(l&&s)return n=i}}),n},Ge=function(t){function e(r,a){return function(l,s,u,d){var f=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(r==null&&(a||f))return!0;if(r==null||r===!1)return!1;if(a&&r==="clone")return r;if(typeof r=="function")return e(r(l,s,u,d),a)(l,s,u,d);var p=(a?l:s).options.group.name;return r===!0||typeof r=="string"&&r===p||r.join&&r.indexOf(p)>-1}}var n={},i=t.group;(!i||zt(i)!="object")&&(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n},Le=function(){!Be&&v&&h(v,"display","none")},We=function(){!Be&&v&&h(v,"display","")};ne&&document.addEventListener("click",function(o){if(Qt)return o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.stopImmediatePropagation&&o.stopImmediatePropagation(),Qt=!1,!1},!0);var ft=function(t){if(c){t=t.touches?t.touches[0]:t;var e=gn(t.clientX,t.clientY);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[k]._onDragOver(n)}}},mn=function(t){c&&c.parentNode[k]._isOutsideThisEl(t.target)};function g(o,t){if(!(o&&o.nodeType&&o.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(o));this.el=o,this.options=t=z({},t),o[k]=this;var e={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(o.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return He(o,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:g.supportPointer!==!1&&"PointerEvent"in window&&!Mt,emptyInsertThreshold:5};Yt.initializePlugins(this,o,e);for(var n in e)!(n in t)&&(t[n]=e[n]);Ge(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:hn,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?y(o,"pointerdown",this._onTapStart):(y(o,"mousedown",this._onTapStart),y(o,"touchstart",this._onTapStart)),this.nativeDraggable&&(y(o,"dragover",this),y(o,"dragenter",this)),Jt.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),z(this,un())}g.prototype={constructor:g,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(gt=null)},_getDirection:function(t,e){return typeof this.options.direction=="function"?this.options.direction.call(this,t,e,c):this.options.direction},_onTapStart:function(t){if(!!t.cancelable){var e=this,n=this.el,i=this.options,r=i.preventOnFilter,a=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(l||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,d=i.filter;if(_n(n),!c&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&Mt&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=$(s,i.draggable,n,!1),!(s&&s.animated)&&Ut!==s)){if(bt=N(s),Ft=N(s,i.draggable),typeof d=="function"){if(d.call(this,t,s,this)){X({sortable:e,rootEl:u,name:"filter",targetEl:s,toEl:n,fromEl:n}),B("filter",e,{evt:t}),r&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(f){if(f=$(u,f.trim(),n,!1),f)return X({sortable:e,rootEl:f,name:"filter",targetEl:s,fromEl:n,toEl:n}),B("filter",e,{evt:t}),!0}),d)){r&&t.cancelable&&t.preventDefault();return}i.handle&&!$(u,i.handle,n,!1)||this._prepareDragStart(t,l,s)}}},_prepareDragStart:function(t,e,n){var i=this,r=i.el,a=i.options,l=r.ownerDocument,s;if(n&&!c&&n.parentNode===r){var u=O(n);if(C=r,c=n,A=c.parentNode,dt=c.nextSibling,Ut=n,Ht=a.group,g.dragged=c,ct={target:c,clientX:(e||t).clientX,clientY:(e||t).clientY},Ie=ct.clientX-u.left,Ne=ct.clientY-u.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,c.style["will-change"]="all",s=function(){if(B("delayEnded",i,{evt:t}),g.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!_e&&i.nativeDraggable&&(c.draggable=!0),i._triggerDragStart(t,e),X({sortable:i,name:"choose",originalEvent:t}),T(c,a.chosenClass,!0)},a.ignore.split(",").forEach(function(d){ke(c,d.trim(),ue)}),y(l,"dragover",ft),y(l,"mousemove",ft),y(l,"touchmove",ft),y(l,"mouseup",i._onDrop),y(l,"touchend",i._onDrop),y(l,"touchcancel",i._onDrop),_e&&this.nativeDraggable&&(this.options.touchStartThreshold=4,c.draggable=!0),B("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||e)&&(!this.nativeDraggable||!(Xt||nt))){if(g.eventCanceled){this._onDrop();return}y(l,"mouseup",i._disableDelayedDrag),y(l,"touchend",i._disableDelayedDrag),y(l,"touchcancel",i._disableDelayedDrag),y(l,"mousemove",i._delayedDragTouchMoveHandler),y(l,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&y(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){c&&ue(c),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;w(t,"mouseup",this._disableDelayedDrag),w(t,"touchend",this._disableDelayedDrag),w(t,"touchcancel",this._disableDelayedDrag),w(t,"mousemove",this._delayedDragTouchMoveHandler),w(t,"touchmove",this._delayedDragTouchMoveHandler),w(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||t.pointerType=="touch"&&t,!this.nativeDraggable||e?this.options.supportPointer?y(document,"pointermove",this._onTouchMove):e?y(document,"touchmove",this._onTouchMove):y(document,"mousemove",this._onTouchMove):(y(c,"dragend",this),y(C,"dragstart",this._onDragStart));try{document.selection?$t(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,e){if(vt=!1,C&&c){B("dragStarted",this,{evt:e}),this.nativeDraggable&&y(document,"dragover",mn);var n=this.options;!t&&T(c,n.dragClass,!1),T(c,n.ghostClass,!0),g.active=this,t&&this._appendGhost(),X({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(U){this._lastX=U.clientX,this._lastY=U.clientY,Le();for(var t=document.elementFromPoint(U.clientX,U.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(U.clientX,U.clientY),t!==e);)e=t;if(c.parentNode[k]._isOutsideThisEl(t),e)do{if(e[k]){var n=void 0;if(n=e[k]._onDragOver({clientX:U.clientX,clientY:U.clientY,target:t,rootEl:e}),n&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);We()}},_onTouchMove:function(t){if(ct){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,r=t.touches?t.touches[0]:t,a=v&&ht(v,!0),l=v&&a&&a.a,s=v&&a&&a.d,u=Lt&&R&&Te(R),d=(r.clientX-ct.clientX+i.x)/(l||1)+(u?u[0]-se[0]:0)/(l||1),f=(r.clientY-ct.clientY+i.y)/(s||1)+(u?u[1]-se[1]:0)/(s||1);if(!g.active&&!vt){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))=0&&(X({rootEl:A,name:"add",toEl:A,fromEl:C,originalEvent:t}),X({sortable:this,name:"remove",toEl:A,originalEvent:t}),X({rootEl:A,name:"sort",toEl:A,fromEl:C,originalEvent:t}),X({sortable:this,name:"sort",toEl:A,originalEvent:t})),F&&F.save()):W!==bt&&W>=0&&(X({sortable:this,name:"update",toEl:A,originalEvent:t}),X({sortable:this,name:"sort",toEl:A,originalEvent:t})),g.active&&((W==null||W===-1)&&(W=bt,rt=Ft),X({sortable:this,name:"end",toEl:A,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){B("nulling",this),C=c=A=v=dt=I=Ut=at=ct=U=It=W=rt=bt=Ft=gt=Rt=F=Ht=g.dragged=g.ghost=g.clone=g.active=null,te.forEach(function(t){t.checked=!0}),te.length=ae=le=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":c&&(this._onDragOver(t),vn(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],e,n=this.el.children,i=0,r=n.length,a=this.options;in.right+i||o.clientX<=n.right&&o.clientY>n.bottom&&o.clientX>=n.left:o.clientX>n.right&&o.clientY>n.top||o.clientX<=n.right&&o.clientY>n.bottom+i}function En(o,t,e,n,i,r,a,l){var s=n?o.clientY:o.clientX,u=n?e.height:e.width,d=n?e.top:e.left,f=n?e.bottom:e.right,p=!1;if(!a){if(l&&qtd+u*r/2:sf-qt)return-Rt}else if(s>d+u*(1-i)/2&&sf-u*r/2)?s>d+u/2?1:-1:0}function Sn(o){return N(c)1&&(m.forEach(function(l){r.addAnimationState({target:l,rect:H?O(l):a}),ie(l),l.fromRect=a,n.removeAnimationState(l)}),H=!1,In(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(e){var n=e.sortable,i=e.isOwner,r=e.insertion,a=e.activeSortable,l=e.parentEl,s=e.putSortable,u=this.options;if(r){if(i&&a._hideClone(),Ot=!1,u.animation&&m.length>1&&(H||!i&&!a.options.sort&&!s)){var d=O(_,!1,!0,!0);m.forEach(function(p){p!==_&&(Ae(p,d),l.appendChild(p))}),H=!0}if(!i)if(H||jt(),m.length>1){var f=Kt;a._showClone(n),a.options.animation&&!Kt&&f&&L.forEach(function(p){a.addAnimationState({target:p,rect:Tt}),p.fromRect=Tt,p.thisAnimationDuration=null})}else a._showClone(n)}},dragOverAnimationCapture:function(e){var n=e.dragRect,i=e.isOwner,r=e.activeSortable;if(m.forEach(function(l){l.thisAnimationDuration=null}),r.options.animation&&!i&&r.multiDrag.isMultiDrag){Tt=z({},n);var a=ht(_,!0);Tt.top-=a.f,Tt.left-=a.e}},dragOverAnimationComplete:function(){H&&(H=!1,jt())},drop:function(e){var n=e.originalEvent,i=e.rootEl,r=e.parentEl,a=e.sortable,l=e.dispatchSortableEvent,s=e.oldIndex,u=e.putSortable,d=u||this.sortable;if(!!n){var f=this.options,p=r.children;if(!mt)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),T(_,f.selectedClass,!~m.indexOf(_)),~m.indexOf(_))m.splice(m.indexOf(_),1),Ct=null,At({sortable:a,rootEl:i,name:"deselect",targetEl:_,originalEvt:n});else{if(m.push(_),At({sortable:a,rootEl:i,name:"select",targetEl:_,originalEvt:n}),n.shiftKey&&Ct&&a.el.contains(Ct)){var E=N(Ct),b=N(_);if(~E&&~b&&E!==b){var S,P;for(b>E?(P=E,S=b):(P=b,S=E+1);P1){var K=O(_),x=N(_,":not(."+this.options.selectedClass+")");if(!Ot&&f.animation&&(_.thisAnimationDuration=null),d.captureAnimationState(),!Ot&&(f.animation&&(_.fromRect=K,m.forEach(function(D){if(D.thisAnimationDuration=null,D!==_){var V=H?O(D):K;D.fromRect=V,d.addAnimationState({target:D,rect:V})}})),jt(),m.forEach(function(D){p[x]?r.insertBefore(D,p[x]):r.appendChild(D),x++}),s===N(_))){var Y=!1;m.forEach(function(D){if(D.sortableIndex!==N(D)){Y=!0;return}}),Y&&l("update")}m.forEach(function(D){ie(D)}),d.animateAll()}q=d}(i===r||u&&u.lastPutMode!=="clone")&&L.forEach(function(D){D.parentNode&&D.parentNode.removeChild(D)})}},nullingGlobal:function(){this.isMultiDrag=mt=!1,L.length=0},destroyGlobal:function(){this._deselectMultiDrag(),w(document,"pointerup",this._deselectMultiDrag),w(document,"mouseup",this._deselectMultiDrag),w(document,"touchend",this._deselectMultiDrag),w(document,"keydown",this._checkKeyDown),w(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(typeof mt!="undefined"&&mt)&&q===this.sortable&&!(e&&$(e.target,this.options.draggable,this.sortable.el,!1))&&!(e&&e.button!==0))for(;m.length;){var n=m[0];T(n,this.options.selectedClass,!1),m.shift(),At({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:n,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},z(o,{pluginName:"multiDrag",utils:{select:function(e){var n=e.parentNode[k];!n||!n.options.multiDrag||~m.indexOf(e)||(q&&q!==n&&(q.multiDrag._deselectMultiDrag(),q=n),T(e,n.options.selectedClass,!0),m.push(e))},deselect:function(e){var n=e.parentNode[k],i=m.indexOf(e);!n||!n.options.multiDrag||!~i||(T(e,n.options.selectedClass,!1),m.splice(i,1))}},eventProperties:function(){var e=this,n=[],i=[];return m.forEach(function(r){n.push({multiDragElement:r,index:r.sortableIndex});var a;H&&r!==_?a=-1:H?a=N(r,":not(."+e.options.selectedClass+")"):a=N(r),i.push({multiDragElement:r,index:a})}),{items:Ze(m),clones:[].concat(L),oldIndicies:n,newIndicies:i}},optionListeners:{multiDragKey:function(e){return e=e.toLowerCase(),e==="ctrl"?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function In(o,t){m.forEach(function(e,n){var i=t.children[e.sortableIndex+(o?Number(n):0)];i?t.insertBefore(e,i):t.appendChild(e)})}function xe(o,t){L.forEach(function(e,n){var i=t.children[e.sortableIndex+(o?Number(n):0)];i?t.insertBefore(e,i):t.appendChild(e)})}function jt(){m.forEach(function(o){o!==_&&o.parentNode&&o.parentNode.removeChild(o)})}g.mount(new Cn);g.mount(Ee,ye);var Nn=Object.freeze(Object.defineProperty({__proto__:null,default:g,MultiDrag:An,Sortable:g,Swap:On},Symbol.toStringTag,{value:"Module"})),xn=Ue(Nn);export{xn as r}; diff --git a/assets/start stream.dd66a6ec.png b/assets/start stream.dd66a6ec.png new file mode 100644 index 0000000..b1dc6d9 Binary files /dev/null and b/assets/start stream.dd66a6ec.png differ diff --git a/assets/vue-next-select.8d9e0122.js b/assets/vue-next-select.8d9e0122.js new file mode 100644 index 0000000..69fe173 --- /dev/null +++ b/assets/vue-next-select.8d9e0122.js @@ -0,0 +1,3 @@ +import"./vue.5bd9f35e.js";import{aE as b,a0 as B,aK as x,a1 as y,bt as $,bu as I,O as q,aJ as ye,aq as re,aa as Ne,aL as Y,$ as z,a8 as X,b6 as ge,_ as Ee,b8 as Le,bs as je,t as F,ay as $e,aD as ze,al as he,G as K,J,q as Ue,z as W,b2 as S,Z as h,af as qe,b1 as j,ar as _,aG as Pe}from"./@vue.4ce677c2.js";function ie(e){return(ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function me(e){return function(t){if(Array.isArray(t))return ne(t)}(e)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||be(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function be(e,t){if(e){if(typeof e=="string")return ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ne(e,t):void 0}}function ne(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,l=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[l++]}},e:function(s){throw s},f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,u=!0,v=!1;return{s:function(){n=n.call(e)},n:function(){var s=n.next();return u=s.done,s},e:function(s){v=!0,m=s},f:function(){try{u||n.return==null||n.return()}finally{if(v)throw m}}}}var ae={inheritAttrs:!1,name:"vue-input",props:{autocomplete:{required:!1,type:String},modelValue:{required:!0,type:String},placeholder:{required:!0,type:String},disabled:{required:!0,type:Boolean},tabindex:{required:!0,type:Number},autofocus:{required:!0,type:Boolean},comboboxUid:{required:!0,type:Number}},emits:["update:modelValue","input","change","focus","blur","escape"],setup:function(e,t){var n=F(null);return $e(function(){e.autofocus&&n.value.focus()}),ze(function(){e.autofocus&&n.value.focus()}),{handleInput:function(l){t.emit("input",l),t.emit("update:modelValue",l.target.value)},handleChange:function(l){t.emit("change",l),t.emit("update:modelValue",l.target.value)},handleFocus:function(l){t.emit("focus",l)},handleBlur:function(l){t.emit("blur",l)},input:n,handleEscape:function(l){n.value.blur(),t.emit("escape",l)}}}},He={class:"vue-input"},_e=["autocomplete","modelValue","placeholder","disabled","tabindex","autofocus","aria-controls","aria-labelledby"];ae.render=function(e,t,n,l,g,m){return b(),B("div",He,[x(e.$slots,"prepend"),y("input",{ref:"input",autocomplete:n.autocomplete,modelValue:n.modelValue,placeholder:n.placeholder,disabled:n.disabled,onInput:t[0]||(t[0]=function(){return l.handleInput&&l.handleInput.apply(l,arguments)}),onChange:t[1]||(t[1]=function(){return l.handleChange&&l.handleChange.apply(l,arguments)}),onFocus:t[2]||(t[2]=function(){return l.handleFocus&&l.handleFocus.apply(l,arguments)}),onBlur:t[3]||(t[3]=function(){return l.handleBlur&&l.handleBlur.apply(l,arguments)}),onKeyup:t[4]||(t[4]=$(I(function(){return l.handleEscape&&l.handleEscape.apply(l,arguments)},["exact"]),["esc"])),tabindex:n.tabindex,autofocus:n.autofocus,"aria-autocomplete":"list","aria-controls":"vs".concat(n.comboboxUid,"-listbox"),"aria-labelledby":"vs".concat(n.comboboxUid,"-combobox")},null,40,_e),x(e.$slots,"append")])},ae.__file="src/components/input.vue";var le={inheritAttrs:!1,name:"vue-tags",props:{modelValue:{required:!0,type:Array,validator:function(e){return e.every(function(t){return ie(t.key)!==void 0&&t.label!==void 0&&typeof t.selected=="boolean"})}},collapseTags:{type:Boolean}},emits:["click"],setup:function(e,t){return{dataAttrs:he("dataAttrs"),handleClick:function(n){t.emit("click",n)}}}};le.render=function(e,t,n,l,g,m){return b(),B("ul",re({class:["vue-tags",{collapsed:n.collapseTags}],onMousedown:t[0]||(t[0]=I(function(){},["prevent"])),tabindex:"-1",onClick:t[1]||(t[1]=function(){return l.handleClick&&l.handleClick.apply(l,arguments)})},l.dataAttrs),[(b(!0),B(q,null,ye(n.modelValue,function(u){return b(),B(q,{key:u.key},[u.group?z("v-if",!0):(b(),B("li",{key:0,class:K(["vue-tag",{selected:u.selected}])},[x(e.$slots,"default",{option:u},function(){return[y("span",null,J(u.label),1)]})],2))],64)}),128))],16)},le.__file="src/components/tags.vue";var oe={inheritAttrs:!1,name:"vue-dropdown",props:{modelValue:{required:!0,type:Array,validator:function(e){return e.every(function(t){return ie(t.key)!==void 0&&t.label!==void 0&&typeof t.selected=="boolean"})}},comboboxUid:{required:!0,type:Number},maxHeight:{required:!0},highlightedOriginalIndex:{required:!0}},emits:["click-item","mouseenter"],setup:function(e,t){return{dataAttrs:he("dataAttrs"),handleClickItem:function(n,l){l.disabled||t.emit("click-item",n,l)},handleMouseenter:function(n,l){t.emit("mouseenter",n,l)}}}},Ze=["id","aria-multiselectable","aria-busy","aria-disabled"],Re=["onClick","onMouseenter","id","aria-selected","aria-disabled"];oe.render=function(e,t,n,l,g,m){return b(),B("ul",re({class:"vue-dropdown",style:{maxHeight:n.maxHeight+"px"},onMousedown:t[0]||(t[0]=I(function(){},["prevent"]))},l.dataAttrs,{role:"listbox",id:"vs".concat(n.comboboxUid,"-listbox"),"aria-multiselectable":l.dataAttrs["data-multiple"],"aria-busy":l.dataAttrs["data-loading"],"aria-disabled":l.dataAttrs["data-disabled"]}),[(b(!0),B(q,null,ye(n.modelValue,function(u,v){return b(),B(q,{key:u.key},[u.visible&&u.hidden===!1?(b(),B("li",{key:0,onClick:function(s){return l.handleClickItem(s,u)},class:K(["vue-dropdown-item",{selected:u.selected,disabled:u.disabled,highlighted:u.originalIndex===n.highlightedOriginalIndex,group:u.group}]),onMouseenter:function(s){return l.handleMouseenter(s,u)},role:"option",id:"vs".concat(n.comboboxUid,"-option-").concat(v),"aria-selected":!!u.selected||!!u.disabled&&void 0,"aria-disabled":u.disabled},[x(e.$slots,"default",{option:u},function(){return[y("span",null,J(u.label),1)]})],42,Re)):z("v-if",!0)],64)}),128))],16,Ze)},oe.__file="src/components/dropdown.vue";var Be=function(e,t,n){var l=n.valueBy;return l(e)===l(t)},U=function(e,t,n){var l=n.valueBy;return e.some(function(g){return Be(g,t,{valueBy:l})})},D=function(e,t,n){var l=n.valueBy;return e.find(function(g){return l(g)===t})},ee=function(e,t,n){var l=n.max,g=n.valueBy;return U(e,t,{valueBy:g})||e.length>=l?e:e.concat(t)},te=function(e,t,n){var l=n.min,g=n.valueBy;return U(e,t,{valueBy:g})===!1||e.length<=l?e:e.filter(function(m){return Be(m,t,{valueBy:g})===!1})},G=function(e){return h(function(){return typeof e.value=="function"?e.value:typeof e.value=="string"?function(t){return e.value.split(".").reduce(function(n,l){return n[l]},t)}:function(t){return t}})},We=function(e,t){var n=h(function(){return e.value.reduce(function(u,v){return Object.assign(u,(s={},c=v.originalIndex,f=v,c in s?Object.defineProperty(s,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[c]=f,s));var s,c,f},{})}),l=function(u){var v=n.value[u];return v!==void 0&&g(v)!==!1&&(t.value=u,!0)},g=function(u){return!u.disabled&&!u.hidden&&u.visible},m=h(function(){return e.value.some(function(u){return g(u)})});return S(function(){if(m.value===!1&&(t.value=null),t.value!==null&&e.value.length<=t.value){var u,v=N(e.value.reverse());try{for(v.s();!(u=v.n()).done;){var s=u.value;if(l(s.originalIndex))break}}catch(V){v.e(V)}finally{v.f()}}if(t.value===null||g(e.value[t.value])===!1){var c,f=N(e.value);try{for(f.s();!(c=f.n()).done;){var E=c.value;if(l(E.originalIndex))break}}catch(V){f.e(V)}finally{f.f()}}}),{pointerForward:function(){if(m.value!==!1&&t.value!==null)for(var u=t.value+1,v=0;u!==t.value&&v++u.value.$el.clientHeight+u.value.$el.scrollTop&&i++n.min,"data-total-length":n.options.length,"data-multiple":e.multiple,"data-loading":e.loading,"data-disabled":e.disabled}});Pe("dataAttrs",ve);var L=h(function(){return w.value.filter(function(a){return a.selected}).filter(function(a){return!a.group})}),Ce=h(function(){return e.multiple?L.value.length===0?e.placeholder:L.value.length===1?"1 option selected":L.value.length+" options selected":L.value.length===0?e.placeholder:L.value[0].label+""}),Te=h(function(){var a=L.value.map(function(o){return o.originalOption});return e.multiple?a:a[0]||l.value}),fe=F();return j(function(){return[e.openDirection,c.value]},function(){var a,o;fe.value=(o=(a=e.openDirection)!==null&&a!==void 0?a:function(){if(m.value!==void 0&&window!==void 0)return window.innerHeight-m.value.getBoundingClientRect().bottom>=e.maxHeight?"bottom":"top"}())!==null&&o!==void 0?o:"bottom"},{immediate:!0}),{instance:g,isFocusing:c,wrapper:m,dropdown:u,input:v,focus:f,blur:E,toggle:function(){c.value?E():f()},searchingInputValue:V,handleInputForInput:function(a){t.emit("search:input",a)},handleChangeForInput:function(a){t.emit("search:change",a)},handleFocusForInput:function(a){f()},handleBlurForInput:function(a){E()},optionsWithInfo:w,addOrRemoveOption:function(a,o){e.disabled||(o.group&&e.multiple?we(a,o):Me(a,o),ke(),e.closeOnSelect===!0&&(c.value=!1),e.clearOnSelect===!0&&V.value&&pe())},dataAttrs:ve,innerPlaceholder:Ce,selected:Te,highlightedOriginalIndex:Z,pointerForward:function(){Fe(),_(H)},pointerBackward:function(){Ve(),_(H)},pointerFirst:function(){var a,o=N(n.options.keys());try{for(o.s();!(a=o.n()).done;){var i=a.value;if(P(i))break}}catch(r){o.e(r)}finally{o.f()}_(H)},pointerLast:function(){var a,o=N(me(n.options.keys()).reverse());try{for(o.s();!(a=o.n()).done;){var i=a.value;if(P(i))break}}catch(r){o.e(r)}finally{o.f()}_(H)},typeAhead:function(a){var o,i;if(!e.searchable){var r=!1;if(Se.test(a.key)?(R+=a.key.toLowerCase(),r=!0):a.code==="Space"&&(R+=" "),r){var M,p=N(Ae.value);try{for(p.s();!(M=p.n()).done;){var k=M.value;if(((i=(o=n.labelBy(n.options[k]))===null||o===void 0?void 0:o.toLowerCase())===null||i===void 0?void 0:i.startsWith(R))===!0&&P(k))break}}catch(C){p.e(C)}finally{p.f()}clearTimeout(se),se=setTimeout(function(){R=""},500)}}},pointerSet:P,direction:fe}},components:{VInput:ae,VTags:le,VDropdown:oe}});ue.__VERSION__="2.10.4";var Ge=["tabindex","id","role","aria-expanded","aria-owns","aria-activedescendant","aria-busy","aria-disabled"],Ke={class:"vue-select-header"},Je={key:0,class:"vue-input"},Qe=["placeholder","autocomplete"],Ye=["onClick"],Xe=y("span",{class:"icon loading"},[y("div"),y("div"),y("div")],-1),et={key:0,class:"vue-select-input-wrapper"},tt=y("span",{class:"icon loading"},[y("div"),y("div"),y("div")],-1);ue.render=function(e,t,n,l,g,m){var u=Y("v-tags"),v=Y("v-input"),s=Y("v-dropdown");return b(),B("div",re({ref:"wrapper",class:["vue-select",["direction-".concat(e.direction)]],tabindex:e.isFocusing?-1:e.tabindex,onFocus:t[9]||(t[9]=function(){return e.focus&&e.focus.apply(e,arguments)}),onBlur:t[10]||(t[10]=function(c){return!e.searchable&&e.blur(c)})},Object.assign({},e.dataAttrs,e.$attrs),{onKeypress:t[11]||(t[11]=$(I(function(){return e.highlightedOriginalIndex!==null&&e.addOrRemoveOption(e.$event,e.optionsWithInfo[e.highlightedOriginalIndex])},["prevent","exact"]),["enter"])),onKeydown:[t[12]||(t[12]=$(I(function(){return e.pointerForward&&e.pointerForward.apply(e,arguments)},["prevent","exact"]),["down"])),t[13]||(t[13]=$(I(function(){return e.pointerBackward&&e.pointerBackward.apply(e,arguments)},["prevent","exact"]),["up"])),t[14]||(t[14]=$(I(function(){return e.pointerFirst&&e.pointerFirst.apply(e,arguments)},["prevent","exact"]),["home"])),t[15]||(t[15]=$(I(function(){return e.pointerLast&&e.pointerLast.apply(e,arguments)},["prevent","exact"]),["end"])),t[16]||(t[16]=function(){return e.typeAhead&&e.typeAhead.apply(e,arguments)})],id:"vs".concat(e.instance.uid,"-combobox"),role:e.searchable?"combobox":null,"aria-expanded":e.isFocusing,"aria-haspopup":"listbox","aria-owns":"vs".concat(e.instance.uid,"-listbox"),"aria-activedescendant":e.highlightedOriginalIndex===null?null:"vs".concat(e.instance.uid,"-option-").concat(e.highlightedOriginalIndex),"aria-busy":e.loading,"aria-disabled":e.disabled}),[y("div",Ke,[e.multiple&&e.taggable&&e.modelValue.length===0||e.searchable===!1&&e.taggable===!1?(b(),B("div",Je,[x(e.$slots,"label",{selected:e.selected},function(){return[y("input",{placeholder:e.innerPlaceholder,autocomplete:e.autocomplete,readonly:"",onClick:t[0]||(t[0]=function(){return e.focus&&e.focus.apply(e,arguments)})},null,8,Qe)]})])):z("v-if",!0),e.multiple&&e.taggable?(b(),B(q,{key:1},[X(u,{modelValue:e.optionsWithInfo,"collapse-tags":e.collapseTags,tabindex:"-1",onClick:e.focus},{default:ge(function(c){var f=c.option;return[x(e.$slots,"tag",{option:f.originalOption,remove:function(){return e.addOrRemoveOption(e.$event,f)}},function(){return[y("span",null,J(f.label),1),y("img",{src:"data:image/svg+xml;base64,PHN2ZyBpZD0iZGVsZXRlIiBkYXRhLW5hbWU9ImRlbGV0ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHRpdGxlPmRlbGV0ZTwvdGl0bGU+PHBhdGggZD0iTTI1NiwyNEMzODMuOSwyNCw0ODgsMTI4LjEsNDg4LDI1NlMzODMuOSw0ODgsMjU2LDQ4OCwyNC4wNiwzODMuOSwyNC4wNiwyNTYsMTI4LjEsMjQsMjU2LDI0Wk0wLDI1NkMwLDM5Ny4xNiwxMTQuODQsNTEyLDI1Niw1MTJTNTEyLDM5Ny4xNiw1MTIsMjU2LDM5Ny4xNiwwLDI1NiwwLDAsMTE0Ljg0LDAsMjU2WiIgZmlsbD0iIzViNWI1ZiIvPjxwb2x5Z29uIHBvaW50cz0iMzgyIDE3Mi43MiAzMzkuMjkgMTMwLjAxIDI1NiAyMTMuMjkgMTcyLjcyIDEzMC4wMSAxMzAuMDEgMTcyLjcyIDIxMy4yOSAyNTYgMTMwLjAxIDMzOS4yOCAxNzIuNzIgMzgyIDI1NiAyOTguNzEgMzM5LjI5IDM4MS45OSAzODIgMzM5LjI4IDI5OC43MSAyNTYgMzgyIDE3Mi43MiIgZmlsbD0iIzViNWI1ZiIvPjwvc3ZnPg==",alt:"delete tag",class:"icon delete",onClick:I(function(){return e.addOrRemoveOption(e.$event,f)},["prevent","stop"])},null,8,Ye)]})]}),_:3},8,["modelValue","collapse-tags","onClick"]),x(e.$slots,"toggle",{isFocusing:e.isFocusing,toggle:e.toggle},function(){return[y("span",{class:K(["icon arrow-downward",{active:e.isFocusing}]),onClick:t[1]||(t[1]=function(){return e.toggle&&e.toggle.apply(e,arguments)}),onMousedown:t[2]||(t[2]=I(function(){},["prevent","stop"]))},null,34)]})],64)):(b(),B(q,{key:2},[e.searchable?(b(),Ee(v,{key:0,ref:"input",modelValue:e.searchingInputValue,"onUpdate:modelValue":t[3]||(t[3]=function(c){return e.searchingInputValue=c}),disabled:e.disabled,autocomplete:e.autocomplete,placeholder:e.isFocusing?e.searchPlaceholder:e.innerPlaceholder,onInput:e.handleInputForInput,onChange:e.handleChangeForInput,onFocus:e.handleFocusForInput,onBlur:e.handleBlurForInput,onEscape:e.blur,autofocus:e.autofocus||e.taggable&&e.searchable,tabindex:e.tabindex,comboboxUid:e.instance.uid},null,8,["modelValue","disabled","autocomplete","placeholder","onInput","onChange","onFocus","onBlur","onEscape","autofocus","tabindex","comboboxUid"])):z("v-if",!0),e.loading?x(e.$slots,"loading",{key:1},function(){return[Xe]}):x(e.$slots,"toggle",{key:2,isFocusing:e.isFocusing,toggle:e.toggle},function(){return[y("span",{class:K(["icon arrow-downward",{active:e.isFocusing}]),onClick:t[4]||(t[4]=function(){return e.toggle&&e.toggle.apply(e,arguments)}),onMousedown:t[5]||(t[5]=I(function(){},["prevent","stop"]))},null,34)]})],64))]),e.multiple&&e.taggable&&e.searchable?(b(),B("div",et,[Le(X(v,{ref:"input",modelValue:e.searchingInputValue,"onUpdate:modelValue":t[6]||(t[6]=function(c){return e.searchingInputValue=c}),disabled:e.disabled,autocomplete:e.autocomplete,placeholder:e.isFocusing?e.searchPlaceholder:e.innerPlaceholder,onInput:e.handleInputForInput,onChange:e.handleChangeForInput,onFocus:e.handleFocusForInput,onBlur:e.handleBlurForInput,onEscape:e.blur,autofocus:e.autofocus||e.taggable&&e.searchable,tabindex:e.tabindex,comboboxUid:e.instance.uid},null,8,["modelValue","disabled","autocomplete","placeholder","onInput","onChange","onFocus","onBlur","onEscape","autofocus","tabindex","comboboxUid"]),[[je,e.isFocusing]]),e.loading?x(e.$slots,"loading",{key:0},function(){return[tt]}):z("v-if",!0)])):z("v-if",!0),X(s,{ref:"dropdown",modelValue:e.optionsWithInfo,"onUpdate:modelValue":t[7]||(t[7]=function(c){return e.optionsWithInfo=c}),onClickItem:e.addOrRemoveOption,onMouseenter:t[8]||(t[8]=function(c,f){return e.pointerSet(f.originalIndex)}),comboboxUid:e.instance.uid,maxHeight:e.maxHeight,highlightedOriginalIndex:e.highlightedOriginalIndex},{default:ge(function(c){var f=c.option;return[x(e.$slots,"dropdown-item",{option:f.originalOption},function(){return[y("span",null,J(f.label),1)]})]}),_:3},8,["modelValue","onClickItem","comboboxUid","maxHeight","highlightedOriginalIndex"])],16,Ge)},ue.__file="src/index.vue";export{ue as Y}; diff --git a/assets/vue-next-select.9e6f4164.css b/assets/vue-next-select.9e6f4164.css new file mode 100644 index 0000000..e4812d2 --- /dev/null +++ b/assets/vue-next-select.9e6f4164.css @@ -0,0 +1 @@ +.icon.delete{display:flex;justify-content:center;align-items:center;padding:0;margin:0;border:none;background:none;height:8px;width:8px;min-height:8px;min-width:8px;max-height:8px;max-width:8px;cursor:pointer}.icon.arrow-downward{color:#999;border-style:solid;border-width:4px 4px 0;border-color:#999 transparent transparent;content:"";transition:transform .2s linear;cursor:pointer}.icon.arrow-downward.active{transform:rotate(180deg)}.vue-select{position:relative;display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;width:150px;border-radius:4px;border:1px solid #999;box-sizing:border-box;outline:none}.vue-select[aria-disabled=true]{background-color:#efefef}.vue-select[aria-disabled=true] *,.vue-select[aria-disabled=true] input{cursor:not-allowed}.vue-select-header{display:flex;width:100%;align-items:center;justify-content:space-between}.vue-select-header .icon.loading,.vue-select-header .icon.arrow-downward{margin-right:4px}.vue-tags{display:flex;flex-wrap:wrap;margin:0;padding:2px;min-height:calc(1rem + 4px);user-select:none}.vue-tags.collapsed{flex-wrap:nowrap;overflow:auto}.vue-tag{display:none;align-items:center;justify-content:center;list-style-type:none;border-radius:4px;background-color:#999;padding:0 4px;margin:2px;min-height:1rem;font-size:.8rem}.vue-tag span{margin-right:4px}.vue-tag.selected{display:flex;align-items:center;justify-content:center;background-color:#999;border-radius:4px;padding:0 4px;font-size:.8rem}.vue-tags[data-removable=false] .vue-tag.selected img:hover{cursor:not-allowed}.vue-select-input-wrapper{position:relative;display:flex;width:100%;align-items:center;justify-content:space-between}.vue-select-input-wrapper .icon.loading{margin-right:4px}.vue-input{display:inline-flex;align-items:center;border-radius:4px;border:none;outline:none;max-width:100%;min-width:0;width:100%;box-sizing:border-box;padding:4px}.vue-select[data-is-focusing=false][aria-disabled=false] .vue-input input,input[readonly]{cursor:default}.vue-input input{border:none;outline:none;width:100%;min-width:0;font-size:.8rem;padding:0}.vue-input input[disabled]{background-color:#efefef}.vue-input input[readonly],.vue-select-header .vue-input input[disabled]{background-color:unset}.vue-dropdown{display:none;position:absolute;background-color:#fff;z-index:1;overflow-y:auto;width:100%;min-width:0;margin:0;padding:0;left:-1px;box-sizing:content-box;border:1px solid #999;list-style-type:none}.vue-select[aria-expanded=true] .vue-dropdown{display:unset}.vue-dropdown[data-visible-length="0"]{border:none}.vue-dropdown-item{list-style-type:none;padding:4px;cursor:pointer;min-height:1rem}.vue-dropdown-item.highlighted{background-color:#41b883}.vue-dropdown-item.disabled{background-color:#efefef;cursor:not-allowed}.vue-dropdown-item.selected{background-color:#f3f3f3}.vue-dropdown-item.selected.highlighted{background-color:#ff6a6a}.vue-dropdown[data-removable=false] .vue-dropdown-item.selected:hover{cursor:not-allowed}.vue-dropdown[data-addable=false][data-multiple=true] .vue-dropdown-item:not(.selected):hover{cursor:not-allowed}.icon.loading{display:inline-block;position:relative;width:8px;min-width:8px;height:8px;min-height:8px}.icon.loading div{box-sizing:border-box;display:block;position:absolute;border:1px solid #999;width:8px;height:8px;border-radius:50%;animation:loading 1s cubic-bezier(.5,0,.5,1) infinite;border-color:#999 transparent transparent transparent}.icon.loading div:nth-child(1){animation-delay:-.08s}.icon.loading div:nth-child(2){animation-delay:-.16s}@keyframes loading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.inline-flex{display:inline-flex}.vue-select[aria-expanded=true].direction-bottom{border-bottom-left-radius:0;border-bottom-right-radius:0}.vue-select[aria-expanded=true].direction-top{border-top-left-radius:0;border-top-right-radius:0}.vue-select.direction-top .vue-dropdown{bottom:100%;border-top-left-radius:3px;border-top-right-radius:3px}.vue-select.direction-bottom .vue-dropdown{top:100%;border-bottom-left-radius:3px;border-bottom-right-radius:3px} diff --git a/assets/vue-textarea-autosize.35804eaf.js b/assets/vue-textarea-autosize.35804eaf.js new file mode 100644 index 0000000..e0bd93a --- /dev/null +++ b/assets/vue-textarea-autosize.35804eaf.js @@ -0,0 +1,5 @@ +/*! + * vue-textarea-autosize v1.1.1 + * (c) 2019 Saymon + * Released under the MIT License. + */var p={name:"TextareaAutosize",props:{value:{type:[String,Number],default:""},autosize:{type:Boolean,default:!0},minHeight:{type:[Number],default:null},maxHeight:{type:[Number],default:null},important:{type:[Boolean,Array],default:!1}},data:function(){return{val:null,maxHeightScroll:!1,height:"auto"}},computed:{computedStyles:function(){return this.autosize?{resize:this.isResizeImportant?"none !important":"none",height:this.height,overflow:this.maxHeightScroll?"auto":this.isOverflowImportant?"hidden !important":"hidden"}:{}},isResizeImportant:function(){var e=this.important;return e===!0||Array.isArray(e)&&e.includes("resize")},isOverflowImportant:function(){var e=this.important;return e===!0||Array.isArray(e)&&e.includes("overflow")},isHeightImportant:function(){var e=this.important;return e===!0||Array.isArray(e)&&e.includes("height")}},watch:{value:function(e){this.val=e},val:function(e){this.$nextTick(this.resize),this.$emit("input",e)},minHeight:function(){this.$nextTick(this.resize)},maxHeight:function(){this.$nextTick(this.resize)},autosize:function(e){e&&this.resize()}},methods:{resize:function(){var e=this,a=this.isHeightImportant?"important":"";return this.height="auto".concat(a?" !important":""),this.$nextTick(function(){var i=e.$el.scrollHeight+1;e.minHeight&&(i=ie.maxHeight?(i=e.maxHeight,e.maxHeightScroll=!0):e.maxHeightScroll=!1);var u=i+"px";e.height="".concat(u).concat(a?" !important":"")}),this}},created:function(){this.val=this.value},mounted:function(){this.resize()}};function g(t,e,a,i,u,f,s,l,m,d){typeof s!="boolean"&&(m=l,l=s,s=!1);var n=typeof a=="function"?a.options:a;t&&t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns,n._compiled=!0,u&&(n.functional=!0)),i&&(n._scopeId=i);var o;if(f?(o=function(r){r=r||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!r&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(r=__VUE_SSR_CONTEXT__),e&&e.call(this,m(r)),r&&r._registeredComponents&&r._registeredComponents.add(f)},n._ssrRegister=o):e&&(o=s?function(){e.call(this,d(this.$root.$options.shadowRoot))}:function(h){e.call(this,l(h))}),o)if(n.functional){var v=n.render;n.render=function(r,c){return o.call(c),v(r,c)}}else{var _=n.beforeCreate;n.beforeCreate=_?[].concat(_,o):[o]}return a}var z=g;const H=p;var y=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],style:t.computedStyles,domProps:{value:t.val},on:{focus:t.resize,input:function(i){i.target.composing||(t.val=i.target.value)}}})},x=[];const $=void 0,w=void 0,S=void 0,T=!1;var A=z({render:y,staticRenderFns:x},$,H,w,T,S,void 0,void 0),C="1.1.1",R=function(e){e.component("TextareaAutosize",A)},b={install:R,version:C};typeof window!="undefined"&&window.Vue&&window.Vue.use(b);export{b as p}; diff --git a/assets/vue-toastification.4b5f8ac8.css b/assets/vue-toastification.4b5f8ac8.css new file mode 100644 index 0000000..b701b41 --- /dev/null +++ b/assets/vue-toastification.4b5f8ac8.css @@ -0,0 +1 @@ +.Vue-Toastification__container{z-index:9999;position:fixed;padding:4px;width:600px;box-sizing:border-box;display:flex;min-height:100%;color:#fff;flex-direction:column;pointer-events:none}@media only screen and (min-width : 600px){.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:1em}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:1em;flex-direction:column-reverse}.Vue-Toastification__container.top-left,.Vue-Toastification__container.bottom-left{left:1em}.Vue-Toastification__container.top-left .Vue-Toastification__toast,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast{margin-right:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-left .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast--rtl{margin-right:unset;margin-left:auto}}.Vue-Toastification__container.top-right,.Vue-Toastification__container.bottom-right{right:1em}.Vue-Toastification__container.top-right .Vue-Toastification__toast,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast{margin-left:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-right .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast--rtl{margin-left:unset;margin-right:auto}}.Vue-Toastification__container.top-center,.Vue-Toastification__container.bottom-center{left:50%;margin-left:-300px}.Vue-Toastification__container.top-center .Vue-Toastification__toast,.Vue-Toastification__container.bottom-center .Vue-Toastification__toast{margin-left:auto;margin-right:auto}}@media only screen and (max-width : 600px){.Vue-Toastification__container{width:100vw;padding:0;left:0;margin:0}.Vue-Toastification__container .Vue-Toastification__toast{width:100%}.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:0}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:0;flex-direction:column-reverse}}.Vue-Toastification__toast{display:inline-flex;position:relative;max-height:800px;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:22px 24px;border-radius:8px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;justify-content:space-between;font-family:Lato,Helvetica,Roboto,Arial,sans-serif;max-width:600px;min-width:326px;pointer-events:auto;overflow:hidden;transform:translateZ(0);direction:ltr}.Vue-Toastification__toast--rtl{direction:rtl}.Vue-Toastification__toast--default{background-color:#1976d2;color:#fff}.Vue-Toastification__toast--info{background-color:#2196f3;color:#fff}.Vue-Toastification__toast--success{background-color:#4caf50;color:#fff}.Vue-Toastification__toast--error{background-color:#ff5252;color:#fff}.Vue-Toastification__toast--warning{background-color:#ffc107;color:#fff}@media only screen and (max-width : 600px){.Vue-Toastification__toast{border-radius:0;margin-bottom:.5rem}}.Vue-Toastification__toast-body{flex:1;line-height:24px;font-size:16px;word-break:break-word;white-space:pre-wrap}.Vue-Toastification__toast-component-body{flex:1}.Vue-Toastification__toast.disable-transition{animation:none!important}.Vue-Toastification__close-button{font-weight:700;font-size:24px;line-height:24px;background:transparent;outline:none;border:none;padding:0 0 0 10px;cursor:pointer;transition:.3s ease;align-items:center;color:#fff;opacity:.3;transition:visibility 0s,opacity .2s linear}.Vue-Toastification__close-button:hover,.Vue-Toastification__close-button:focus{opacity:1}.Vue-Toastification__toast:not(:hover) .Vue-Toastification__close-button.show-on-hover{opacity:0}.Vue-Toastification__toast--rtl .Vue-Toastification__close-button{padding-left:unset;padding-right:10px}@keyframes scale-x-frames{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Vue-Toastification__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:10000;background-color:#ffffffb3;transform-origin:left;animation:scale-x-frames linear 1 forwards}.Vue-Toastification__toast--rtl .Vue-Toastification__progress-bar{right:0;left:unset;transform-origin:right}.Vue-Toastification__icon{margin:auto 18px auto 0;background:transparent;outline:none;border:none;padding:0;transition:.3s ease;align-items:center;width:20px;height:100%}.Vue-Toastification__toast--rtl .Vue-Toastification__icon{margin:auto 0 auto 18px}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceOutRight{40%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(1000px,0,0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Vue-Toastification__bounce-enter-active.top-left,.Vue-Toastification__bounce-enter-active.bottom-left{animation-name:bounceInLeft}.Vue-Toastification__bounce-enter-active.top-right,.Vue-Toastification__bounce-enter-active.bottom-right{animation-name:bounceInRight}.Vue-Toastification__bounce-enter-active.top-center{animation-name:bounceInDown}.Vue-Toastification__bounce-enter-active.bottom-center{animation-name:bounceInUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-left,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-left{animation-name:bounceOutLeft}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-right,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-right{animation-name:bounceOutRight}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-center{animation-name:bounceOutUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-center{animation-name:bounceOutDown}.Vue-Toastification__bounce-leave-active,.Vue-Toastification__bounce-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__bounce-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes fadeOutTop{0%{transform:translateY(0);opacity:1}to{transform:translateY(-50px);opacity:0}}@keyframes fadeOutLeft{0%{transform:translate(0);opacity:1}to{transform:translate(-50px);opacity:0}}@keyframes fadeOutBottom{0%{transform:translateY(0);opacity:1}to{transform:translateY(50px);opacity:0}}@keyframes fadeOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(50px);opacity:0}}@keyframes fadeInLeft{0%{transform:translate(-50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInRight{0%{transform:translate(50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInTop{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeInBottom{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.Vue-Toastification__fade-enter-active.top-left,.Vue-Toastification__fade-enter-active.bottom-left{animation-name:fadeInLeft}.Vue-Toastification__fade-enter-active.top-right,.Vue-Toastification__fade-enter-active.bottom-right{animation-name:fadeInRight}.Vue-Toastification__fade-enter-active.top-center{animation-name:fadeInTop}.Vue-Toastification__fade-enter-active.bottom-center{animation-name:fadeInBottom}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-left,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-left{animation-name:fadeOutLeft}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-right,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-right{animation-name:fadeOutRight}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-center{animation-name:fadeOutTop}.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-center{animation-name:fadeOutBottom}.Vue-Toastification__fade-leave-active,.Vue-Toastification__fade-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__fade-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes slideInBlurredLeft{0%{transform:translate(-1000px) scaleX(2.5) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredTop{0%{transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredRight{0%{transform:translate(1000px) scaleX(2.5) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredBottom{0%{transform:translateY(1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideOutBlurredTop{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 0%;filter:blur(0);opacity:1}to{transform:translateY(-1000px) scaleY(2) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredBottom{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translateY(1000px) scaleY(2) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredLeft{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(-1000px) scaleX(2) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}}@keyframes slideOutBlurredRight{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(1000px) scaleX(2) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}}.Vue-Toastification__slideBlurred-enter-active.top-left,.Vue-Toastification__slideBlurred-enter-active.bottom-left{animation-name:slideInBlurredLeft}.Vue-Toastification__slideBlurred-enter-active.top-right,.Vue-Toastification__slideBlurred-enter-active.bottom-right{animation-name:slideInBlurredRight}.Vue-Toastification__slideBlurred-enter-active.top-center{animation-name:slideInBlurredTop}.Vue-Toastification__slideBlurred-enter-active.bottom-center{animation-name:slideInBlurredBottom}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-left,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-left{animation-name:slideOutBlurredLeft}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-right,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-right{animation-name:slideOutBlurredRight}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-center{animation-name:slideOutBlurredTop}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-center{animation-name:slideOutBlurredBottom}.Vue-Toastification__slideBlurred-leave-active,.Vue-Toastification__slideBlurred-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__slideBlurred-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s} diff --git a/assets/vue-toastification.b272a510.js b/assets/vue-toastification.b272a510.js new file mode 100644 index 0000000..2ff027e --- /dev/null +++ b/assets/vue-toastification.b272a510.js @@ -0,0 +1 @@ +import"./vue.5bd9f35e.js";import{aa as C,y as mt,C as pt,aE as o,a0 as u,I as x,G as b,_ as p,b6 as I,aq as V,aN as M,a7 as $,J as W,aL as y,$ as R,a1 as _,O as N,aV as vt,bu as gt,aK as Tt,bc as Ct,aJ as H,a8 as yt,af as bt,al as Ot,ar as _t,be as St}from"./@vue.4ce677c2.js";var Et=Object.defineProperty,k=Object.getOwnPropertySymbols,Bt=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,U=(t,e,s)=>e in t?Et(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,q=(t,e)=>{for(var s in e||(e={}))Bt.call(e,s)&&U(t,s,e[s]);if(k)for(var s of k(e))It.call(e,s)&&U(t,s,e[s]);return t},D=t=>typeof t=="function",w=t=>typeof t=="string",J=t=>w(t)&&t.trim().length>0,Dt=t=>typeof t=="number",T=t=>typeof t=="undefined",O=t=>typeof t=="object"&&t!==null,wt=t=>h(t,"tag")&&J(t.tag),K=t=>window.TouchEvent&&t instanceof TouchEvent,Q=t=>h(t,"component")&&Y(t.component),Rt=t=>D(t)||O(t),Y=t=>!T(t)&&(w(t)||Rt(t)||Q(t)),z=t=>O(t)&&["height","width","right","left","top","bottom"].every(e=>Dt(t[e])),h=(t,e)=>(O(t)||D(t))&&e in t,Pt=(t=>()=>t++)(0);function P(t){return K(t)?t.targetTouches[0].clientX:t.clientX}function j(t){return K(t)?t.targetTouches[0].clientY:t.clientY}var Nt=t=>{T(t.remove)?t.parentNode&&t.parentNode.removeChild(t):t.remove()},S=t=>Q(t)?S(t.component):wt(t)?C({render(){return t}}):typeof t=="string"?t:mt(pt(t)),At=t=>{if(typeof t=="string")return t;const e=h(t,"props")&&O(t.props)?t.props:{},s=h(t,"listeners")&&O(t.listeners)?t.listeners:{};return{component:S(t),props:e,listeners:s}},Lt=()=>typeof window!="undefined",F=class{constructor(){this.allHandlers={}}getHandlers(t){return this.allHandlers[t]||[]}on(t,e){const s=this.getHandlers(t);s.push(e),this.allHandlers[t]=s}off(t,e){const s=this.getHandlers(t);s.splice(s.indexOf(e)>>>0,1)}emit(t,e){this.getHandlers(t).forEach(n=>n(e))}},Vt=t=>["on","off","emit"].every(e=>h(t,e)&&D(t[e])),i;(function(t){t.SUCCESS="success",t.ERROR="error",t.WARNING="warning",t.INFO="info",t.DEFAULT="default"})(i||(i={}));var B;(function(t){t.TOP_LEFT="top-left",t.TOP_CENTER="top-center",t.TOP_RIGHT="top-right",t.BOTTOM_LEFT="bottom-left",t.BOTTOM_CENTER="bottom-center",t.BOTTOM_RIGHT="bottom-right"})(B||(B={}));var l;(function(t){t.ADD="add",t.DISMISS="dismiss",t.UPDATE="update",t.CLEAR="clear",t.UPDATE_DEFAULTS="update_defaults"})(l||(l={}));var d="Vue-Toastification",c={type:{type:String,default:i.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},Z={type:c.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},E={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:c.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},A={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},tt={transition:{type:[Object,String],default:`${d}__bounce`}},Mt={position:{type:String,default:B.TOP_RIGHT},draggable:c.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:c.trueBoolean,pauseOnHover:c.trueBoolean,closeOnClick:c.trueBoolean,timeout:A.timeout,hideProgressBar:A.hideProgressBar,toastClassName:c.classNames,bodyClassName:c.classNames,icon:Z.customIcon,closeButton:E.component,closeButtonClassName:E.classNames,showCloseButtonOnHover:E.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!1,default:()=>new F}},$t={id:{type:[String,Number],required:!0,default:0},type:c.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0}},Ft={container:{type:[Object,Function],default:()=>document.body},newestOnTop:c.trueBoolean,maxToasts:{type:Number,default:20},transition:tt.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:t=>t},filterToasts:{type:Function,default:t=>t},containerClassName:c.classNames,onMounted:Function,shareAppContext:[Boolean,Object]},f={CORE_TOAST:Mt,TOAST:$t,CONTAINER:Ft,PROGRESS_BAR:A,ICON:Z,TRANSITION:tt,CLOSE_BUTTON:E},et=C({name:"VtProgressBar",props:f.PROGRESS_BAR,data(){return{hasClass:!0}},computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${d}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});function Ht(t,e){return o(),u("div",{style:x(t.style),class:b(t.cpClass)},null,6)}et.render=Ht;var kt=et,st=C({name:"VtCloseButton",props:f.CLOSE_BUTTON,computed:{buttonComponent(){return this.component!==!1?S(this.component):"button"},classes(){const t=[`${d}__close-button`];return this.showOnHover&&t.push("show-on-hover"),t.concat(this.classNames)}}}),Ut=$(" \xD7 ");function zt(t,e){return o(),p(M(t.buttonComponent),V({"aria-label":t.ariaLabel,class:t.classes},t.$attrs),{default:I(()=>[Ut]),_:1},16,["aria-label","class"])}st.render=zt;var jt=st,at={},Gt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Xt=_("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1),xt=[Xt];function Wt(t,e){return o(),u("svg",Gt,xt)}at.render=Wt;var qt=at,nt={},Jt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Kt=_("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1),Qt=[Kt];function Yt(t,e){return o(),u("svg",Jt,Qt)}nt.render=Yt;var G=nt,ot={},Zt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},te=_("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),ee=[te];function se(t,e){return o(),u("svg",Zt,ee)}ot.render=se;var ae=ot,rt={},ne={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},oe=_("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),re=[oe];function ie(t,e){return o(),u("svg",ne,re)}rt.render=ie;var le=rt,it=C({name:"VtIcon",props:f.ICON,computed:{customIconChildren(){return h(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return w(this.customIcon)?this.trimValue(this.customIcon):h(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return h(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:Y(this.customIcon)?S(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[i.DEFAULT]:G,[i.INFO]:G,[i.SUCCESS]:qt,[i.ERROR]:le,[i.WARNING]:ae}[this.type]},iconClasses(){const t=[`${d}__icon`];return this.hasCustomIcon?t.concat(this.customIconClass):t}},methods:{trimValue(t,e=""){return J(t)?t.trim():e}}});function ce(t,e){return o(),p(M(t.component),{class:b(t.iconClasses)},{default:I(()=>[$(W(t.customIconChildren),1)]),_:1},8,["class"])}it.render=ce;var ue=it,lt=C({name:"VtToast",components:{ProgressBar:kt,CloseButton:jt,Icon:ue},inheritAttrs:!1,props:Object.assign({},f.CORE_TOAST,f.TOAST),data(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes(){const t=[`${d}__toast`,`${d}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&t.push("disable-transition"),this.rtl&&t.push(`${d}__toast--rtl`),t},bodyClasses(){return[`${d}__toast-${w(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return z(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{hasProp:h,getVueComponentFromObj:S,closeToast(){this.eventBus.emit(l.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(!this.beingDragged||this.dragStart===this.dragPos.x)&&this.closeToast()},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const t=this.$el;t.addEventListener("touchstart",this.onDragStart,{passive:!0}),t.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const t=this.$el;t.removeEventListener("touchstart",this.onDragStart),t.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(t){this.beingDragged=!0,this.dragPos={x:P(t),y:j(t)},this.dragStart=P(t),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(t){this.beingDragged&&(t.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:P(t),y:j(t)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,z(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}}),de=["role"];function he(t,e){const s=y("Icon"),n=y("CloseButton"),v=y("ProgressBar");return o(),u("div",{class:b(t.classes),style:x(t.draggableStyle),onClick:e[0]||(e[0]=(...a)=>t.clickHandler&&t.clickHandler(...a)),onMouseenter:e[1]||(e[1]=(...a)=>t.hoverPause&&t.hoverPause(...a)),onMouseleave:e[2]||(e[2]=(...a)=>t.hoverPlay&&t.hoverPlay(...a))},[t.icon?(o(),p(s,{key:0,"custom-icon":t.icon,type:t.type},null,8,["custom-icon","type"])):R("v-if",!0),_("div",{role:t.accessibility.toastRole||"alert",class:b(t.bodyClasses)},[typeof t.content=="string"?(o(),u(N,{key:0},[$(W(t.content),1)],2112)):(o(),p(M(t.getVueComponentFromObj(t.content)),V({key:1,"toast-id":t.id},t.hasProp(t.content,"props")?t.content.props:{},vt(t.hasProp(t.content,"listeners")?t.content.listeners:{}),{onCloseToast:t.closeToast}),null,16,["toast-id","onCloseToast"]))],10,de),t.closeButton?(o(),p(n,{key:1,component:t.closeButton,"class-names":t.closeButtonClassName,"show-on-hover":t.showCloseButtonOnHover,"aria-label":t.accessibility.closeButtonLabel,onClick:gt(t.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):R("v-if",!0),t.timeout?(o(),p(v,{key:2,"is-running":t.isRunning,"hide-progress-bar":t.hideProgressBar,timeout:t.timeout,onCloseToast:t.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):R("v-if",!0)],38)}lt.render=he;var fe=lt,ct=C({name:"VtTransition",props:f.TRANSITION,emits:["leave"],methods:{hasProp:h,leave(t){t instanceof HTMLElement&&(t.style.left=t.offsetLeft+"px",t.style.top=t.offsetTop+"px",t.style.width=getComputedStyle(t).width,t.style.position="absolute")}}});function me(t,e){return o(),p(Ct,{tag:"div","enter-active-class":t.transition.enter?t.transition.enter:`${t.transition}-enter-active`,"move-class":t.transition.move?t.transition.move:`${t.transition}-move`,"leave-active-class":t.transition.leave?t.transition.leave:`${t.transition}-leave-active`,onLeave:t.leave},{default:I(()=>[Tt(t.$slots,"default")]),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])}ct.render=me;var pe=ct,ut=C({name:"VueToastification",devtools:{hide:!0},components:{Toast:fe,VtTransition:pe},props:Object.assign({},f.CORE_TOAST,f.CONTAINER,f.TRANSITION),data(){return{count:0,positions:Object.values(B),toasts:{},defaults:{}}},computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const t=this.eventBus;t.on(l.ADD,this.addToast),t.on(l.CLEAR,this.clearToasts),t.on(l.DISMISS,this.dismissToast),t.on(l.UPDATE,this.updateToast),t.on(l.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(t){D(t)&&(t=await t()),Nt(this.$el),t.appendChild(this.$el)},setToast(t){T(t.id)||(this.toasts[t.id]=t)},addToast(t){t.content=At(t.content);const e=Object.assign({},this.defaults,t.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[t.type],t),s=this.defaults.filterBeforeCreate(e,this.toastArray);s&&this.setToast(s)},dismissToast(t){const e=this.toasts[t];!T(e)&&!T(e.onClose)&&e.onClose(),delete this.toasts[t]},clearToasts(){Object.keys(this.toasts).forEach(t=>{this.dismissToast(t)})},getPositionToasts(t){const e=this.filteredToasts.filter(s=>s.position===t).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?e.reverse():e},updateDefaults(t){T(t.container)||this.setup(t.container),this.defaults=Object.assign({},this.defaults,t)},updateToast({id:t,options:e,create:s}){this.toasts[t]?(e.timeout&&e.timeout===this.toasts[t].timeout&&e.timeout++,this.setToast(Object.assign({},this.toasts[t],e))):s&&this.addToast(Object.assign({},{id:t},e))},getClasses(t){return[`${d}__container`,t].concat(this.defaults.containerClassName)}}});function ve(t,e){const s=y("Toast"),n=y("VtTransition");return o(),u("div",null,[(o(!0),u(N,null,H(t.positions,v=>(o(),u("div",{key:v},[yt(n,{transition:t.defaults.transition,class:b(t.getClasses(v))},{default:I(()=>[(o(!0),u(N,null,H(t.getPositionToasts(v),a=>(o(),p(s,V({key:a.id},a),null,16))),128))]),_:2},1032,["transition","class"])]))),128))])}ut.render=ve;var ge=ut,X=(t={},e=!0)=>{const s=t.eventBus=t.eventBus||new F;e&&_t(()=>{const a=St(ge,q({},t)),r=a.mount(document.createElement("div")),g=t.onMounted;if(T(g)||g(r,a),t.shareAppContext){const m=t.shareAppContext;m===!0?console.warn(`[${d}] App to share context with was not provided.`):(a._context.components=m._context.components,a._context.directives=m._context.directives,a._context.mixins=m._context.mixins,a._context.provides=m._context.provides,a.config.globalProperties=m.config.globalProperties)}});const n=(a,r)=>{const g=Object.assign({},{id:Pt(),type:i.DEFAULT},r,{content:a});return s.emit(l.ADD,g),g.id};n.clear=()=>s.emit(l.CLEAR,void 0),n.updateDefaults=a=>{s.emit(l.UPDATE_DEFAULTS,a)},n.dismiss=a=>{s.emit(l.DISMISS,a)};function v(a,{content:r,options:g},m=!1){const ft=Object.assign({},g,{content:r});s.emit(l.UPDATE,{id:a,options:ft,create:m})}return n.update=v,n.success=(a,r)=>n(a,Object.assign({},r,{type:i.SUCCESS})),n.info=(a,r)=>n(a,Object.assign({},r,{type:i.INFO})),n.error=(a,r)=>n(a,Object.assign({},r,{type:i.ERROR})),n.warning=(a,r)=>n(a,Object.assign({},r,{type:i.WARNING})),n},Te=()=>{const t=()=>console.warn(`[${d}] This plugin does not support SSR!`);return new Proxy(t,{get(){return t}})};function L(t){return Lt()?Vt(t)?X({eventBus:t},!1):X(t,!0):Te()}var dt=Symbol("VueToastification"),ht=new F,Ce=(t,e)=>{(e==null?void 0:e.shareAppContext)===!0&&(e.shareAppContext=t);const s=L(q({eventBus:ht},e));t.provide(dt,s)},Oe=t=>{if(t)return L(t);const e=bt()?Ot(dt,void 0):void 0;return e||L(ht)},_e=Ce;export{_e as s,Oe as u}; diff --git a/assets/vue.5bd9f35e.js b/assets/vue.5bd9f35e.js new file mode 100644 index 0000000..c799fc0 --- /dev/null +++ b/assets/vue.5bd9f35e.js @@ -0,0 +1 @@ +import{g as f}from"./lru-cache.9506e0ec.js";import{r as i,i as m,N as r,c as u,e as p,a as S,E as h,R as v,b as R,d as C,f as y,g as w,h as g,j as b,k as T,l as E,m as x,n as k,o as M,p as D,q as P,s as V,t as A,u as B,v as H,w as N,x as F,y as U,z,A as I,B as K,C as O,D as j,F as _,G as q,H as W,I as L,J as G,K as $,L as J,M as Q,O as X,P as Y,S as Z,Q as ee,T as ae,U as se,V as oe,W as te,X as re,Y as ne,Z as ie,_ as ce,$ as le,a0 as de,a1 as fe,a2 as me,a3 as ue,a4 as pe,a5 as Se,a6 as he,a7 as ve,a8 as Re,a9 as Ce,aa as ye,ab as we,ac as ge,ad as be,ae as Te,af as Ee,ag as xe,ah as ke,ai as Me,aj as De,ak as Pe,al as Ve,am as Ae,an as Be,ao as He,ap as Ne,aq as Fe,ar as Ue,as as ze,at as Ie,au as Ke,av as Oe,aw as je,ax as _e,ay as qe,az as We,aA as Le,aB as Ge,aC as $e,aD as Je,aE as Qe,aF as Xe,aG as Ye,aH as Ze,aI as ea,aJ as aa,aK as sa,aL as oa,aM as ta,aN as ra,aO as na,aP as ia,aQ as ca,aR as la,aS as da,aT as fa,aU as ma,aV as ua,aW as pa,aX as Sa,aY as ha,aZ as va,a_ as Ra,a$ as Ca,b0 as ya,b1 as wa,b2 as ga,b3 as ba,b4 as Ta,b5 as Ea,b6 as xa,b7 as ka,b8 as Ma,b9 as Da,ba as Pa,bb as Va,bc as Aa,bd as Ba,be as Ha,bf as Na,bg as Fa,bh as Ua,bi as za,bj as Ia,bk as Ka,bl as Oa,bm as ja,bn as _a,bo as qa,bp as Wa,bq as La,br as Ga,bs as $a,bt as Ja,bu as Qa}from"./@vue.4ce677c2.js";const n=Object.create(null);function c(e,l){if(!m(e))if(e.nodeType)e=e.innerHTML;else return r;const a=e,s=n[a];if(s)return s;if(e[0]==="#"){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:d}=u(e,p({hoistStatic:!0,onError:void 0,onWarn:r},l)),o=new Function("Vue",d)(S);return o._rc=!0,n[a]=o}i(c);var Xa=Object.freeze(Object.defineProperty({__proto__:null,compile:c,EffectScope:h,ReactiveEffect:v,customRef:R,effect:C,effectScope:y,getCurrentScope:w,isProxy:g,isReactive:b,isReadonly:T,isRef:E,isShallow:x,markRaw:k,onScopeDispose:M,proxyRefs:D,reactive:P,readonly:V,ref:A,shallowReactive:B,shallowReadonly:H,shallowRef:N,stop:F,toRaw:U,toRef:z,toRefs:I,triggerRef:K,unref:O,camelize:j,capitalize:_,normalizeClass:q,normalizeProps:W,normalizeStyle:L,toDisplayString:G,toHandlerKey:$,BaseTransition:J,Comment:Q,Fragment:X,KeepAlive:Y,Static:Z,Suspense:ee,Teleport:ae,Text:se,callWithAsyncErrorHandling:oe,callWithErrorHandling:te,cloneVNode:re,compatUtils:ne,computed:ie,createBlock:ce,createCommentVNode:le,createElementBlock:de,createElementVNode:fe,createHydrationRenderer:me,createPropsRestProxy:ue,createRenderer:pe,createSlots:Se,createStaticVNode:he,createTextVNode:ve,createVNode:Re,defineAsyncComponent:Ce,defineComponent:ye,defineEmits:we,defineExpose:ge,defineProps:be,get devtools(){return Te},getCurrentInstance:Ee,getTransitionRawChildren:xe,guardReactiveProps:ke,h:Me,handleError:De,initCustomFormatter:Pe,inject:Ve,isMemoSame:Ae,isRuntimeOnly:Be,isVNode:He,mergeDefaults:Ne,mergeProps:Fe,nextTick:Ue,onActivated:ze,onBeforeMount:Ie,onBeforeUnmount:Ke,onBeforeUpdate:Oe,onDeactivated:je,onErrorCaptured:_e,onMounted:qe,onRenderTracked:We,onRenderTriggered:Le,onServerPrefetch:Ge,onUnmounted:$e,onUpdated:Je,openBlock:Qe,popScopeId:Xe,provide:Ye,pushScopeId:Ze,queuePostFlushCb:ea,registerRuntimeCompiler:i,renderList:aa,renderSlot:sa,resolveComponent:oa,resolveDirective:ta,resolveDynamicComponent:ra,resolveFilter:na,resolveTransitionHooks:ia,setBlockTracking:ca,setDevtoolsHook:la,setTransitionHooks:da,ssrContextKey:fa,ssrUtils:ma,toHandlers:ua,transformVNodeArgs:pa,useAttrs:Sa,useSSRContext:ha,useSlots:va,useTransitionState:Ra,version:Ca,warn:ya,watch:wa,watchEffect:ga,watchPostEffect:ba,watchSyncEffect:Ta,withAsyncContext:Ea,withCtx:xa,withDefaults:ka,withDirectives:Ma,withMemo:Da,withScopeId:Pa,Transition:Va,TransitionGroup:Aa,VueElement:Ba,createApp:Ha,createSSRApp:Na,defineCustomElement:Fa,defineSSRCustomElement:Ua,hydrate:za,initDirectivesForSSR:Ia,render:Ka,useCssModule:Oa,useCssVars:ja,vModelCheckbox:_a,vModelDynamic:qa,vModelRadio:Wa,vModelSelect:La,vModelText:Ga,vShow:$a,withKeys:Ja,withModifiers:Qa},Symbol.toStringTag,{value:"Module"})),es=f(Xa);export{es as r}; diff --git a/assets/vuedraggable.832ed13e.js b/assets/vuedraggable.832ed13e.js new file mode 100644 index 0000000..bb5c446 --- /dev/null +++ b/assets/vuedraggable.832ed13e.js @@ -0,0 +1,4 @@ +import{c as jt,a as Ct}from"./lru-cache.9506e0ec.js";import{r as Lt}from"./vue.5bd9f35e.js";import{r as Ft}from"./sortablejs.80af5380.js";var Pt={exports:{}};(function(Rt,Dt){(function(bt,o){Rt.exports=o(Lt,Ft)})(typeof self!="undefined"?self:jt,function(Tt,bt){return function(o){var g={};function t(r){if(g[r])return g[r].exports;var e=g[r]={i:r,l:!1,exports:{}};return o[r].call(e.exports,e,e.exports,t),e.l=!0,e.exports}return t.m=o,t.c=g,t.d=function(r,e,n){t.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:n})},t.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,e){if(e&1&&(r=t(r)),e&8||e&4&&typeof r=="object"&&r&&r.__esModule)return r;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),e&2&&typeof r!="string")for(var a in r)t.d(n,a,function(i){return r[i]}.bind(null,a));return n},t.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(e,"a",e),e},t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},t.p="",t(t.s="fb15")}({"00ee":function(o,g,t){var r=t("b622"),e=r("toStringTag"),n={};n[e]="z",o.exports=String(n)==="[object z]"},"0366":function(o,g,t){var r=t("1c0b");o.exports=function(e,n,a){if(r(e),n===void 0)return e;switch(a){case 0:return function(){return e.call(n)};case 1:return function(i){return e.call(n,i)};case 2:return function(i,f){return e.call(n,i,f)};case 3:return function(i,f,s){return e.call(n,i,f,s)}}return function(){return e.apply(n,arguments)}}},"057f":function(o,g,t){var r=t("fc6a"),e=t("241c").f,n={}.toString,a=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(f){try{return e(f)}catch{return a.slice()}};o.exports.f=function(s){return a&&n.call(s)=="[object Window]"?i(s):e(r(s))}},"06cf":function(o,g,t){var r=t("83ab"),e=t("d1e7"),n=t("5c6c"),a=t("fc6a"),i=t("c04e"),f=t("5135"),s=t("0cfb"),u=Object.getOwnPropertyDescriptor;g.f=r?u:function(c,m){if(c=a(c),m=i(m,!0),s)try{return u(c,m)}catch{}if(f(c,m))return n(!e.f.call(c,m),c[m])}},"0cfb":function(o,g,t){var r=t("83ab"),e=t("d039"),n=t("cc12");o.exports=!r&&!e(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,g,t){var r=t("23e7"),e=t("d58f").left,n=t("a640"),a=t("ae40"),i=n("reduce"),f=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!i||!f},{reduce:function(u){return e(this,u,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(o,g,t){var r=t("c6b6"),e=t("9263");o.exports=function(n,a){var i=n.exec;if(typeof i=="function"){var f=i.call(n,a);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(r(n)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return e.call(n,a)}},"159b":function(o,g,t){var r=t("da84"),e=t("fdbc"),n=t("17c2"),a=t("9112");for(var i in e){var f=r[i],s=f&&f.prototype;if(s&&s.forEach!==n)try{a(s,"forEach",n)}catch{s.forEach=n}}},"17c2":function(o,g,t){var r=t("b727").forEach,e=t("a640"),n=t("ae40"),a=e("forEach"),i=n("forEach");o.exports=!a||!i?function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,g,t){var r=t("d066");o.exports=r("document","documentElement")},"1c0b":function(o,g){o.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(o,g,t){var r=t("b622"),e=r("iterator"),n=!1;try{var a=0,i={next:function(){return{done:!!a++}},return:function(){n=!0}};i[e]=function(){return this},Array.from(i,function(){throw 2})}catch{}o.exports=function(f,s){if(!s&&!n)return!1;var u=!1;try{var l={};l[e]=function(){return{next:function(){return{done:u=!0}}}},f(l)}catch{}return u}},"1d80":function(o,g){o.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},"1dde":function(o,g,t){var r=t("d039"),e=t("b622"),n=t("2d00"),a=e("species");o.exports=function(i){return n>=51||!r(function(){var f=[],s=f.constructor={};return s[a]=function(){return{foo:1}},f[i](Boolean).foo!==1})}},"23cb":function(o,g,t){var r=t("a691"),e=Math.max,n=Math.min;o.exports=function(a,i){var f=r(a);return f<0?e(f+i,0):n(f,i)}},"23e7":function(o,g,t){var r=t("da84"),e=t("06cf").f,n=t("9112"),a=t("6eeb"),i=t("ce4e"),f=t("e893"),s=t("94ca");o.exports=function(u,l){var c=u.target,m=u.global,h=u.stat,O,E,I,p,L,F;if(m?E=r:h?E=r[c]||i(c,{}):E=(r[c]||{}).prototype,E)for(I in l){if(L=l[I],u.noTargetGet?(F=e(E,I),p=F&&F.value):p=E[I],O=s(m?I:c+(h?".":"#")+I,u.forced),!O&&p!==void 0){if(typeof L==typeof p)continue;f(L,p)}(u.sham||p&&p.sham)&&n(L,"sham",!0),a(E,I,L,u)}}},"241c":function(o,g,t){var r=t("ca84"),e=t("7839"),n=e.concat("length","prototype");g.f=Object.getOwnPropertyNames||function(i){return r(i,n)}},"25f0":function(o,g,t){var r=t("6eeb"),e=t("825a"),n=t("d039"),a=t("ad6d"),i="toString",f=RegExp.prototype,s=f[i],u=n(function(){return s.call({source:"a",flags:"b"})!="/a/b"}),l=s.name!=i;(u||l)&&r(RegExp.prototype,i,function(){var m=e(this),h=String(m.source),O=m.flags,E=String(O===void 0&&m instanceof RegExp&&!("flags"in f)?a.call(m):O);return"/"+h+"/"+E},{unsafe:!0})},"2ca0":function(o,g,t){var r=t("23e7"),e=t("06cf").f,n=t("50c4"),a=t("5a34"),i=t("1d80"),f=t("ab13"),s=t("c430"),u="".startsWith,l=Math.min,c=f("startsWith"),m=!s&&!c&&!!function(){var h=e(String.prototype,"startsWith");return h&&!h.writable}();r({target:"String",proto:!0,forced:!m&&!c},{startsWith:function(O){var E=String(i(this));a(O);var I=n(l(arguments.length>1?arguments[1]:void 0,E.length)),p=String(O);return u?u.call(E,p,I):E.slice(I,I+p.length)===p}})},"2d00":function(o,g,t){var r=t("da84"),e=t("342f"),n=r.process,a=n&&n.versions,i=a&&a.v8,f,s;i?(f=i.split("."),s=f[0]+f[1]):e&&(f=e.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=e.match(/Chrome\/(\d+)/),f&&(s=f[1]))),o.exports=s&&+s},"342f":function(o,g,t){var r=t("d066");o.exports=r("navigator","userAgent")||""},"35a1":function(o,g,t){var r=t("f5df"),e=t("3f8c"),n=t("b622"),a=n("iterator");o.exports=function(i){if(i!=null)return i[a]||i["@@iterator"]||e[r(i)]}},"37e8":function(o,g,t){var r=t("83ab"),e=t("9bf2"),n=t("825a"),a=t("df75");o.exports=r?Object.defineProperties:function(f,s){n(f);for(var u=a(s),l=u.length,c=0,m;l>c;)e.f(f,m=u[c++],s[m]);return f}},"3bbe":function(o,g,t){var r=t("861d");o.exports=function(e){if(!r(e)&&e!==null)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3ca3":function(o,g,t){var r=t("6547").charAt,e=t("69f3"),n=t("7dd0"),a="String Iterator",i=e.set,f=e.getterFor(a);n(String,"String",function(s){i(this,{type:a,string:String(s),index:0})},function(){var u=f(this),l=u.string,c=u.index,m;return c>=l.length?{value:void 0,done:!0}:(m=r(l,c),u.index+=m.length,{value:m,done:!1})})},"3f8c":function(o,g){o.exports={}},4160:function(o,g,t){var r=t("23e7"),e=t("17c2");r({target:"Array",proto:!0,forced:[].forEach!=e},{forEach:e})},"428f":function(o,g,t){var r=t("da84");o.exports=r},"44ad":function(o,g,t){var r=t("d039"),e=t("c6b6"),n="".split;o.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(a){return e(a)=="String"?n.call(a,""):Object(a)}:Object},"44d2":function(o,g,t){var r=t("b622"),e=t("7c73"),n=t("9bf2"),a=r("unscopables"),i=Array.prototype;i[a]==null&&n.f(i,a,{configurable:!0,value:e(null)}),o.exports=function(f){i[a][f]=!0}},"44e7":function(o,g,t){var r=t("861d"),e=t("c6b6"),n=t("b622"),a=n("match");o.exports=function(i){var f;return r(i)&&((f=i[a])!==void 0?!!f:e(i)=="RegExp")}},4930:function(o,g,t){var r=t("d039");o.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},"4d64":function(o,g,t){var r=t("fc6a"),e=t("50c4"),n=t("23cb"),a=function(i){return function(f,s,u){var l=r(f),c=e(l.length),m=n(u,c),h;if(i&&s!=s){for(;c>m;)if(h=l[m++],h!=h)return!0}else for(;c>m;m++)if((i||m in l)&&l[m]===s)return i||m||0;return!i&&-1}};o.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(o,g,t){var r=t("23e7"),e=t("b727").filter,n=t("1dde"),a=t("ae40"),i=n("filter"),f=a("filter");r({target:"Array",proto:!0,forced:!i||!f},{filter:function(u){return e(this,u,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,g,t){var r=t("0366"),e=t("7b0b"),n=t("9bdd"),a=t("e95a"),i=t("50c4"),f=t("8418"),s=t("35a1");o.exports=function(l){var c=e(l),m=typeof this=="function"?this:Array,h=arguments.length,O=h>1?arguments[1]:void 0,E=O!==void 0,I=s(c),p=0,L,F,S,P,C,K;if(E&&(O=r(O,h>2?arguments[2]:void 0,2)),I!=null&&!(m==Array&&a(I)))for(P=I.call(c),C=P.next,F=new m;!(S=C.call(P)).done;p++)K=E?n(P,O,[S.value,p],!0):S.value,f(F,p,K);else for(L=i(c.length),F=new m(L);L>p;p++)K=E?O(c[p],p):c[p],f(F,p,K);return F.length=p,F}},"4fad":function(o,g,t){var r=t("23e7"),e=t("6f53").entries;r({target:"Object",stat:!0},{entries:function(a){return e(a)}})},"50c4":function(o,g,t){var r=t("a691"),e=Math.min;o.exports=function(n){return n>0?e(r(n),9007199254740991):0}},5135:function(o,g){var t={}.hasOwnProperty;o.exports=function(r,e){return t.call(r,e)}},5319:function(o,g,t){var r=t("d784"),e=t("825a"),n=t("7b0b"),a=t("50c4"),i=t("a691"),f=t("1d80"),s=t("8aa5"),u=t("14c3"),l=Math.max,c=Math.min,m=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,O=/\$([$&'`]|\d\d?)/g,E=function(I){return I===void 0?I:String(I)};r("replace",2,function(I,p,L,F){var S=F.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,P=F.REPLACE_KEEPS_$0,C=S?"$":"$0";return[function(b,G){var R=f(this),M=b==null?void 0:b[I];return M!==void 0?M.call(b,R,G):p.call(String(R),b,G)},function(T,b){if(!S&&P||typeof b=="string"&&b.indexOf(C)===-1){var G=L(p,T,this,b);if(G.done)return G.value}var R=e(T),M=String(this),W=typeof b=="function";W||(b=String(b));var z=R.global;if(z){var rt=R.unicode;R.lastIndex=0}for(var w=[];;){var Q=u(R,M);if(Q===null||(w.push(Q),!z))break;var k=String(Q[0]);k===""&&(R.lastIndex=s(M,a(R.lastIndex),rt))}for(var q="",Z=0,X=0;X=Z&&(q+=M.slice(Z,ot)+_,Z=ot+Y.length)}return q+M.slice(Z)}];function K(T,b,G,R,M,W){var z=G+T.length,rt=R.length,w=O;return M!==void 0&&(M=n(M),w=h),p.call(W,w,function(Q,k){var q;switch(k.charAt(0)){case"$":return"$";case"&":return T;case"`":return b.slice(0,G);case"'":return b.slice(z);case"<":q=M[k.slice(1,-1)];break;default:var Z=+k;if(Z===0)return Q;if(Z>rt){var X=m(Z/10);return X===0?Q:X<=rt?R[X-1]===void 0?k.charAt(1):R[X-1]+k.charAt(1):Q}q=R[Z-1]}return q===void 0?"":q})}})},5692:function(o,g,t){var r=t("c430"),e=t("c6cd");(o.exports=function(n,a){return e[n]||(e[n]=a!==void 0?a:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,g,t){var r=t("d066"),e=t("241c"),n=t("7418"),a=t("825a");o.exports=r("Reflect","ownKeys")||function(f){var s=e.f(a(f)),u=n.f;return u?s.concat(u(f)):s}},"5a34":function(o,g,t){var r=t("44e7");o.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5c6c":function(o,g){o.exports=function(t,r){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:r}}},"5db7":function(o,g,t){var r=t("23e7"),e=t("a2bf"),n=t("7b0b"),a=t("50c4"),i=t("1c0b"),f=t("65f0");r({target:"Array",proto:!0},{flatMap:function(u){var l=n(this),c=a(l.length),m;return i(u),m=f(l,0),m.length=e(m,l,l,c,0,1,u,arguments.length>1?arguments[1]:void 0),m}})},6547:function(o,g,t){var r=t("a691"),e=t("1d80"),n=function(a){return function(i,f){var s=String(e(i)),u=r(f),l=s.length,c,m;return u<0||u>=l?a?"":void 0:(c=s.charCodeAt(u),c<55296||c>56319||u+1===l||(m=s.charCodeAt(u+1))<56320||m>57343?a?s.charAt(u):c:a?s.slice(u,u+2):(c-55296<<10)+(m-56320)+65536)}};o.exports={codeAt:n(!1),charAt:n(!0)}},"65f0":function(o,g,t){var r=t("861d"),e=t("e8b5"),n=t("b622"),a=n("species");o.exports=function(i,f){var s;return e(i)&&(s=i.constructor,typeof s=="function"&&(s===Array||e(s.prototype))?s=void 0:r(s)&&(s=s[a],s===null&&(s=void 0))),new(s===void 0?Array:s)(f===0?0:f)}},"69f3":function(o,g,t){var r=t("7f9a"),e=t("da84"),n=t("861d"),a=t("9112"),i=t("5135"),f=t("f772"),s=t("d012"),u=e.WeakMap,l,c,m,h=function(S){return m(S)?c(S):l(S,{})},O=function(S){return function(P){var C;if(!n(P)||(C=c(P)).type!==S)throw TypeError("Incompatible receiver, "+S+" required");return C}};if(r){var E=new u,I=E.get,p=E.has,L=E.set;l=function(S,P){return L.call(E,S,P),P},c=function(S){return I.call(E,S)||{}},m=function(S){return p.call(E,S)}}else{var F=f("state");s[F]=!0,l=function(S,P){return a(S,F,P),P},c=function(S){return i(S,F)?S[F]:{}},m=function(S){return i(S,F)}}o.exports={set:l,get:c,has:m,enforce:h,getterFor:O}},"6eeb":function(o,g,t){var r=t("da84"),e=t("9112"),n=t("5135"),a=t("ce4e"),i=t("8925"),f=t("69f3"),s=f.get,u=f.enforce,l=String(String).split("String");(o.exports=function(c,m,h,O){var E=O?!!O.unsafe:!1,I=O?!!O.enumerable:!1,p=O?!!O.noTargetGet:!1;if(typeof h=="function"&&(typeof m=="string"&&!n(h,"name")&&e(h,"name",m),u(h).source=l.join(typeof m=="string"?m:"")),c===r){I?c[m]=h:a(m,h);return}else E?!p&&c[m]&&(I=!0):delete c[m];I?c[m]=h:e(c,m,h)})(Function.prototype,"toString",function(){return typeof this=="function"&&s(this).source||i(this)})},"6f53":function(o,g,t){var r=t("83ab"),e=t("df75"),n=t("fc6a"),a=t("d1e7").f,i=function(f){return function(s){for(var u=n(s),l=e(u),c=l.length,m=0,h=[],O;c>m;)O=l[m++],(!r||a.call(u,O))&&h.push(f?[O,u[O]]:u[O]);return h}};o.exports={entries:i(!0),values:i(!1)}},"73d9":function(o,g,t){var r=t("44d2");r("flatMap")},7418:function(o,g){g.f=Object.getOwnPropertySymbols},"746f":function(o,g,t){var r=t("428f"),e=t("5135"),n=t("e538"),a=t("9bf2").f;o.exports=function(i){var f=r.Symbol||(r.Symbol={});e(f,i)||a(f,i,{value:n.f(i)})}},7839:function(o,g){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,g,t){var r=t("1d80");o.exports=function(e){return Object(r(e))}},"7c73":function(o,g,t){var r=t("825a"),e=t("37e8"),n=t("7839"),a=t("d012"),i=t("1be4"),f=t("cc12"),s=t("f772"),u=">",l="<",c="prototype",m="script",h=s("IE_PROTO"),O=function(){},E=function(S){return l+m+u+S+l+"/"+m+u},I=function(S){S.write(E("")),S.close();var P=S.parentWindow.Object;return S=null,P},p=function(){var S=f("iframe"),P="java"+m+":",C;return S.style.display="none",i.appendChild(S),S.src=String(P),C=S.contentWindow.document,C.open(),C.write(E("document.F=Object")),C.close(),C.F},L,F=function(){try{L=document.domain&&new ActiveXObject("htmlfile")}catch{}F=L?I(L):p();for(var S=n.length;S--;)delete F[c][n[S]];return F()};a[h]=!0,o.exports=Object.create||function(P,C){var K;return P!==null?(O[c]=r(P),K=new O,O[c]=null,K[h]=P):K=F(),C===void 0?K:e(K,C)}},"7dd0":function(o,g,t){var r=t("23e7"),e=t("9ed3"),n=t("e163"),a=t("d2bb"),i=t("d44e"),f=t("9112"),s=t("6eeb"),u=t("b622"),l=t("c430"),c=t("3f8c"),m=t("ae93"),h=m.IteratorPrototype,O=m.BUGGY_SAFARI_ITERATORS,E=u("iterator"),I="keys",p="values",L="entries",F=function(){return this};o.exports=function(S,P,C,K,T,b,G){e(C,P,K);var R=function(X){if(X===T&&w)return w;if(!O&&X in z)return z[X];switch(X){case I:return function(){return new C(this,X)};case p:return function(){return new C(this,X)};case L:return function(){return new C(this,X)}}return function(){return new C(this)}},M=P+" Iterator",W=!1,z=S.prototype,rt=z[E]||z["@@iterator"]||T&&z[T],w=!O&&rt||R(T),Q=P=="Array"&&z.entries||rt,k,q,Z;if(Q&&(k=n(Q.call(new S)),h!==Object.prototype&&k.next&&(!l&&n(k)!==h&&(a?a(k,h):typeof k[E]!="function"&&f(k,E,F)),i(k,M,!0,!0),l&&(c[M]=F))),T==p&&rt&&rt.name!==p&&(W=!0,w=function(){return rt.call(this)}),(!l||G)&&z[E]!==w&&f(z,E,w),c[P]=w,T)if(q={values:R(p),keys:b?w:R(I),entries:R(L)},G)for(Z in q)(O||W||!(Z in z))&&s(z,Z,q[Z]);else r({target:P,proto:!0,forced:O||W},q);return q}},"7f9a":function(o,g,t){var r=t("da84"),e=t("8925"),n=r.WeakMap;o.exports=typeof n=="function"&&/native code/.test(e(n))},"825a":function(o,g,t){var r=t("861d");o.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(o,g,t){var r=t("d039");o.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,g,t){var r=t("c04e"),e=t("9bf2"),n=t("5c6c");o.exports=function(a,i,f){var s=r(i);s in a?e.f(a,s,n(0,f)):a[s]=f}},"861d":function(o,g){o.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},8875:function(o,g,t){var r,e,n;(function(a,i){e=[],r=i,n=typeof r=="function"?r.apply(g,e):r,n!==void 0&&(o.exports=n)})(typeof self!="undefined"?self:this,function(){function a(){var i=Object.getOwnPropertyDescriptor(document,"currentScript");if(!i&&"currentScript"in document&&document.currentScript||i&&i.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(L){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,s=/@([^@]*):(\d+):(\d+)\s*$/ig,u=f.exec(L.stack)||s.exec(L.stack),l=u&&u[1]||!1,c=u&&u[2]||!1,m=document.location.href.replace(document.location.hash,""),h,O,E,I=document.getElementsByTagName("script");l===m&&(h=document.documentElement.outerHTML,O=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]* + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + diff --git a/manifest.webmanifest b/manifest.webmanifest new file mode 100644 index 0000000..8deacec --- /dev/null +++ b/manifest.webmanifest @@ -0,0 +1 @@ +{"name":"Super Auto Coots","short_name":"Super Auto Coots","start_url":"./","display":"standalone","background_color":"#ffffff","lang":"en","scope":"./","description":"A project made in Profectus","theme_color":"#2E3440","icons":[{"src":"pwa-192x192.png","sizes":"192x192","type":"image/png"},{"src":"pwa-512x512.png","sizes":"512x512","type":"image/png"},{"src":"pwa-512x512.png","sizes":"512x512","type":"image/png","purpose":"any maskable"}]} diff --git a/pwa-192x192.png b/pwa-192x192.png new file mode 100644 index 0000000..00eaafd Binary files /dev/null and b/pwa-192x192.png differ diff --git a/pwa-512x512.png b/pwa-512x512.png new file mode 100644 index 0000000..1ad85e8 Binary files /dev/null and b/pwa-512x512.png differ diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..c2a49f4 --- /dev/null +++ b/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: / diff --git a/start stream.png b/start stream.png new file mode 100644 index 0000000..b1dc6d9 Binary files /dev/null and b/start stream.png differ diff --git a/sw.js b/sw.js new file mode 100644 index 0000000..4dea520 --- /dev/null +++ b/sw.js @@ -0,0 +1 @@ +if(!self.define){let e,s={};const i=(i,l)=>(i=new URL(i+".js",l).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(l,n)=>{const r=e||("document"in self?document.currentScript.src:"")||location.href;if(s[r])return;let o={};const t=e=>i(e,r),u={module:{uri:r},exports:o,require:t};s[r]=Promise.all(l.map((e=>u[e]||t(e)))).then((e=>(n(...e),o)))}}define(["./workbox-958fa2bd"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"assets/@fontsource.f66d05e7.css",revision:null},{url:"assets/@socket.io.aec831e2.js",revision:null},{url:"assets/@vue.4ce677c2.js",revision:null},{url:"assets/engine.io-client.58517560.js",revision:null},{url:"assets/engine.io-parser.3f360695.js",revision:null},{url:"assets/gameLoop.ed7f4ea7.js",revision:null},{url:"assets/index.624ae6e9.js",revision:null},{url:"assets/index.7f7e174e.css",revision:null},{url:"assets/lru-cache.9506e0ec.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/semver.d101e2be.js",revision:null},{url:"assets/socket.io-client.79ce0df5.js",revision:null},{url:"assets/socket.io-parser.544e37d1.js",revision:null},{url:"assets/sortablejs.80af5380.js",revision:null},{url:"assets/vue-next-select.8d9e0122.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.b272a510.js",revision:null},{url:"assets/vue.5bd9f35e.js",revision:null},{url:"assets/vuedraggable.832ed13e.js",revision:null},{url:"assets/workbox-window.8d14e8b7.js",revision:null},{url:"assets/yallist.fd762fe7.js",revision:null},{url:"index.html",revision:"04421e7d384efe628d9e82f5bdc694a3"},{url:"favicon.ico",revision:"eead31eb5b19fa3bdc34af83d898c0b7"},{url:"robots.txt",revision:"5e0bd1c281a62a380d7a948085bfe2d1"},{url:"apple-touch-icon.png",revision:"26e53bb981d06c8069ffd9d2a14fce0e"},{url:"pwa-192x192.png",revision:"a16785d9e890858c5b508e0ef6954aaf"},{url:"pwa-512x512.png",revision:"b84004b93fd62ef6599ff179372861a1"},{url:"manifest.webmanifest",revision:"f93609f5a1f787be307fe537f0c532f3"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))})); diff --git a/workbox-958fa2bd.js b/workbox-958fa2bd.js new file mode 100644 index 0000000..6ac7348 --- /dev/null +++ b/workbox-958fa2bd.js @@ -0,0 +1 @@ +define(["exports"],(function(t){"use strict";try{self["workbox:core:6.5.3"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:6.5.3"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let c;const a=()=>(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c);function h(t,e,n){let o;if("string"==typeof t){const s=new URL(t,location.href);o=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)o=new r(t,e,n);else if("function"==typeof t)o=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=t}return a().registerRoute(o),o}const u={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},l=t=>[u.prefix,t,u.suffix].filter((t=>t&&t.length>0)).join("-"),f=t=>t||l(u.precache),w=t=>t||l(u.runtime);function d(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:6.5.3"]&&_()}catch(t){}function p(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class y{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class g{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let R;async function m(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void 0===R){const t=new Response("");if("body"in t)try{new Response(t.body),R=!0}catch(t){R=!1}R=!1}return R}()?i.body:await i.blob();return new Response(c,o)}function v(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class q{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const U=new Set;try{self["workbox:strategies:6.5.3"]&&_()}catch(t){}function L(t){return"string"==typeof t?new Request(t):t}class b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new q,this.g=[],this.R=[...t.plugins],this.m=new Map;for(const t of this.R)this.m.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=L(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=L(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=L(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const c=await this.v(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=v(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===v(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?c.clone():c)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of U)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=L(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if("function"==typeof e[t]){const s=this.m.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.g.push(t),t}async doneWaiting(){let t;for(;t=this.g.shift();)await t}destroy(){this.p.resolve(null)}async v(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class C extends class{constructor(t={}){this.cacheName=w(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new b(this,{event:e,request:s,params:n}),r=this.q(i,s,e);return[r,this.U(r,i,s,e)]}async q(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this.L(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async U(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}{constructor(t={}){t.cacheName=f(t.cacheName),super(t),this._=!1!==t.fallbackToNetwork,this.plugins.push(C.copyRedirectedCacheableResponsesPlugin)}async L(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.C(t,e):await this.O(t,e))}async O(t,e){let n;const i=e.params||{};if(!this._)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&o&&"no-cors"!==t.mode&&(this.N(),await e.cachePut(t,n.clone()))}return n}async C(t,e){this.N();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}N(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==C.copyRedirectedCacheableResponsesPlugin&&(n===C.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(C.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}C.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},C.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await m(t):t};class E{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.k=new Map,this.K=new Map,this.P=new Map,this.l=new C({cacheName:f(t),plugins:[...e,new g({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.T||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.T=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=p(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.k.has(i)&&this.k.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.k.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.P.has(t)&&this.P.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.P.set(t,n.integrity)}if(this.k.set(i,t),this.K.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return d(t,(async()=>{const e=new y;this.strategy.plugins.push(e);for(const[e,s]of this.k){const n=this.P.get(s),i=this.K.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return d(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.k.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.k}getCachedURLs(){return[...this.k.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.k.get(e.href)}getIntegrityForCacheKey(t){return this.P.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let O;const x=()=>(O||(O=new E),O);class N extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}t.NavigationRoute=class extends i{constructor(t,{allowlist:e=[/./],denylist:s=[]}={}){super((t=>this.W(t)),t),this.j=e,this.M=s}W({url:t,request:e}){if(e&&"navigate"!==e.mode)return!1;const s=t.pathname+t.search;for(const t of this.M)if(t.test(s))return!1;return!!this.j.some((t=>t.test(s)))}},t.cleanupOutdatedCaches=function(){self.addEventListener("activate",(t=>{const e=f();t.waitUntil((async(t,e="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t));return await Promise.all(s.map((t=>self.caches.delete(t)))),s})(e).then((t=>{})))}))},t.createHandlerBoundToURL=function(t){return x().createHandlerBoundToURL(t)},t.precacheAndRoute=function(t,e){!function(t){x().precache(t)}(t),function(t){const e=x();h(new N(e,t))}(e)},t.registerRoute=h}));