From 0bcecbbbab0025cdd7af95a8b6f105fd02deaa17 Mon Sep 17 00:00:00 2001 From: ArchercatNEO Date: Tue, 9 Apr 2024 13:52:21 +0100 Subject: [PATCH] Updates --- assets/index-479df8e2.js | 1 - assets/index-a21afad3.css | 1 - assets/index-aaa00d08.css | 1 + assets/index-f7eda7c9.js | 1 + index.html | 14 +++++++------- 5 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 assets/index-479df8e2.js delete mode 100644 assets/index-a21afad3.css create mode 100644 assets/index-aaa00d08.css create mode 100644 assets/index-f7eda7c9.js diff --git a/assets/index-479df8e2.js b/assets/index-479df8e2.js deleted file mode 100644 index d3e1a62..0000000 --- a/assets/index-479df8e2.js +++ /dev/null @@ -1 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function Tn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const H={},Xe=[],pe=()=>{},Pr=()=>!1,Mr=/^on[^a-z]/,Lt=e=>Mr.test(e),An=e=>e.startsWith("onUpdate:"),X=Object.assign,Pn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Fr=Object.prototype.hasOwnProperty,N=(e,t)=>Fr.call(e,t),A=Array.isArray,Je=e=>Kt(e)==="[object Map]",$s=e=>Kt(e)==="[object Set]",M=e=>typeof e=="function",Y=e=>typeof e=="string",Mn=e=>typeof e=="symbol",K=e=>e!==null&&typeof e=="object",Rs=e=>K(e)&&M(e.then)&&M(e.catch),Bs=Object.prototype.toString,Kt=e=>Bs.call(e),$r=e=>Kt(e).slice(8,-1),Ns=e=>Kt(e)==="[object Object]",Fn=e=>Y(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=Tn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Rr=/-(\w)/g,xe=Wt(e=>e.replace(Rr,(t,n)=>n?n.toUpperCase():"")),Br=/\B([A-Z])/g,nt=Wt(e=>e.replace(Br,"-$1").toLowerCase()),zt=Wt(e=>e.charAt(0).toUpperCase()+e.slice(1)),rn=Wt(e=>e?`on${zt(e)}`:""),ht=(e,t)=>!Object.is(e,t),on=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Nr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ns;const gn=()=>ns||(ns=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $n(e){if(A(e)){const t={};for(let n=0;n{if(n){const s=n.split(Ur);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Rn(e){let t="";if(Y(e))t=e;else if(A(e))for(let n=0;nY(e)?e:e==null?"":A(e)||K(e)&&(e.toString===Bs||!M(e.toString))?JSON.stringify(e,js,2):String(e),js=(e,t)=>t&&t.__v_isRef?js(e,t.value):Je(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:$s(t)?{[`Set(${t.size})`]:[...t.values()]}:K(t)&&!A(t)&&!Ns(t)?String(t):t;let ce;class Kr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ce,!t&&ce&&(this.index=(ce.scopes||(ce.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ce;try{return ce=this,t()}finally{ce=n}}}on(){ce=this}off(){ce=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},Ds=e=>(e.w&Fe)>0,Hs=e=>(e.n&Fe)>0,qr=({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{(_==="length"||_>=f)&&c.push(a)})}else switch(n!==void 0&&c.push(i.get(n)),t){case"add":A(e)?Fn(n)&&c.push(i.get("length")):(c.push(i.get(He)),Je(e)&&c.push(i.get(bn)));break;case"delete":A(e)||(c.push(i.get(He)),Je(e)&&c.push(i.get(bn)));break;case"set":Je(e)&&c.push(i.get(He));break}if(c.length===1)c[0]&&vn(c[0]);else{const f=[];for(const a of c)a&&f.push(...a);vn(Bn(f))}}function vn(e,t){const n=A(e)?e:[...e];for(const s of n)s.computed&&rs(s);for(const s of n)s.computed||rs(s)}function rs(e,t){(e!==fe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const kr=Tn("__proto__,__v_isRef,__isVue"),Ws=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Mn)),Xr=Sn(),Jr=Sn(!1,!0),Zr=Sn(!0),os=Qr();function Qr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=S(this);for(let o=0,i=this.length;o{e[t]=function(...n){st();const s=S(this)[t].apply(this,n);return rt(),s}}),e}function Vr(e){const t=S(this);return oe(t,"has",e),t.hasOwnProperty(e)}function Sn(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?go:Xs:t?ks:Ys).get(s))return s;const i=A(s);if(!e){if(i&&N(os,r))return Reflect.get(os,r,o);if(r==="hasOwnProperty")return Vr}const c=Reflect.get(s,r,o);return(Mn(r)?Ws.has(r):kr(r))||(e||oe(s,"get",r),t)?c:Q(c)?i&&Fn(r)?c:c.value:K(c)?e?Js(c):Yt(c):c}}const Gr=zs(),eo=zs(!0);function zs(e=!1){return function(n,s,r,o){let i=n[s];if(Ge(i)&&Q(i)&&!Q(r))return!1;if(!e&&(!St(r)&&!Ge(r)&&(i=S(i),r=S(r)),!A(n)&&Q(i)&&!Q(r)))return i.value=r,!0;const c=A(n)&&Fn(s)?Number(s)e,qt=e=>Reflect.getPrototypeOf(e);function Ot(e,t,n=!1,s=!1){e=e.__v_raw;const r=S(e),o=S(t);n||(t!==o&&oe(r,"get",t),oe(r,"get",o));const{has:i}=qt(r),c=s?Un:n?Hn:gt;if(i.call(r,t))return c(e.get(t));if(i.call(r,o))return c(e.get(o));e!==r&&e.get(t)}function It(e,t=!1){const n=this.__v_raw,s=S(n),r=S(e);return t||(e!==r&&oe(s,"has",e),oe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Tt(e,t=!1){return e=e.__v_raw,!t&&oe(S(e),"iterate",He),Reflect.get(e,"size",e)}function is(e){e=S(e);const t=S(this);return qt(t).has.call(t,e)||(t.add(e),Ce(t,"add",e,e)),this}function ls(e,t){t=S(t);const n=S(this),{has:s,get:r}=qt(n);let o=s.call(n,e);o||(e=S(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?ht(t,i)&&Ce(n,"set",e,t):Ce(n,"add",e,t),this}function cs(e){const t=S(this),{has:n,get:s}=qt(t);let r=n.call(t,e);r||(e=S(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Ce(t,"delete",e,void 0),o}function us(){const e=S(this),t=e.size!==0,n=e.clear();return t&&Ce(e,"clear",void 0,void 0),n}function At(e,t){return function(s,r){const o=this,i=o.__v_raw,c=S(i),f=t?Un:e?Hn:gt;return!e&&oe(c,"iterate",He),i.forEach((a,_)=>s.call(r,f(a),f(_),o))}}function Pt(e,t,n){return function(...s){const r=this.__v_raw,o=S(r),i=Je(o),c=e==="entries"||e===Symbol.iterator&&i,f=e==="keys"&&i,a=r[e](...s),_=n?Un:t?Hn:gt;return!t&&oe(o,"iterate",f?bn:He),{next(){const{value:x,done:C}=a.next();return C?{value:x,done:C}:{value:c?[_(x[0]),_(x[1])]:_(x),done:C}},[Symbol.iterator](){return this}}}}function Ie(e){return function(...t){return e==="delete"?!1:this}}function io(){const e={get(o){return Ot(this,o)},get size(){return Tt(this)},has:It,add:is,set:ls,delete:cs,clear:us,forEach:At(!1,!1)},t={get(o){return Ot(this,o,!1,!0)},get size(){return Tt(this)},has:It,add:is,set:ls,delete:cs,clear:us,forEach:At(!1,!0)},n={get(o){return Ot(this,o,!0)},get size(){return Tt(this,!0)},has(o){return It.call(this,o,!0)},add:Ie("add"),set:Ie("set"),delete:Ie("delete"),clear:Ie("clear"),forEach:At(!0,!1)},s={get(o){return Ot(this,o,!0,!0)},get size(){return Tt(this,!0)},has(o){return It.call(this,o,!0)},add:Ie("add"),set:Ie("set"),delete:Ie("delete"),clear:Ie("clear"),forEach:At(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Pt(o,!1,!1),n[o]=Pt(o,!0,!1),t[o]=Pt(o,!1,!0),s[o]=Pt(o,!0,!0)}),[e,n,t,s]}const[lo,co,uo,fo]=io();function jn(e,t){const n=t?e?fo:uo:e?co:lo;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(N(n,r)&&r in s?n:s,r,o)}const ao={get:jn(!1,!1)},po={get:jn(!1,!0)},ho={get:jn(!0,!1)},Ys=new WeakMap,ks=new WeakMap,Xs=new WeakMap,go=new WeakMap;function _o(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mo(e){return e.__v_skip||!Object.isExtensible(e)?0:_o($r(e))}function Yt(e){return Ge(e)?e:Dn(e,!1,qs,ao,Ys)}function bo(e){return Dn(e,!1,oo,po,ks)}function Js(e){return Dn(e,!0,ro,ho,Xs)}function Dn(e,t,n,s,r){if(!K(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=mo(e);if(i===0)return e;const c=new Proxy(e,i===2?s:n);return r.set(e,c),c}function Ze(e){return Ge(e)?Ze(e.__v_raw):!!(e&&e.__v_isReactive)}function Ge(e){return!!(e&&e.__v_isReadonly)}function St(e){return!!(e&&e.__v_isShallow)}function Zs(e){return Ze(e)||Ge(e)}function S(e){const t=e&&e.__v_raw;return t?S(t):e}function Qs(e){return Nt(e,"__v_skip",!0),e}const gt=e=>K(e)?Yt(e):e,Hn=e=>K(e)?Js(e):e;function Vs(e){Pe&&fe&&(e=S(e),Ks(e.dep||(e.dep=Bn())))}function Gs(e,t){e=S(e);const n=e.dep;n&&vn(n)}function Q(e){return!!(e&&e.__v_isRef===!0)}function Ae(e){return vo(e,!1)}function vo(e,t){return Q(e)?e:new xo(e,t)}class xo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:S(t),this._value=n?t:gt(t)}get value(){return Vs(this),this._value}set value(t){const n=this.__v_isShallow||St(t)||Ge(t);t=n?t:S(t),ht(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:gt(t),Gs(this))}}function er(e){return Q(e)?e.value:e}const yo={get:(e,t,n)=>er(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Q(r)&&!Q(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function tr(e){return Ze(e)?e:new Proxy(e,yo)}class wo{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Nn(t,()=>{this._dirty||(this._dirty=!0,Gs(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=S(this);return Vs(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Co(e,t,n=!1){let s,r;const o=M(e);return o?(s=e,r=pe):(s=e.get,r=e.set),new wo(s,r,o||!r,n)}function Me(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){kt(o,t,n)}return r}function he(e,t,n,s){if(M(e)){const o=Me(e,t,n,s);return o&&Rs(o)&&o.catch(i=>{kt(i,t,n)}),o}const r=[];for(let o=0;o>>1;mt(Z[s])ve&&Z.splice(t,1)}function Ao(e){A(e)?Qe.push(...e):(!we||!we.includes(e,e.allowRecurse?je+1:je))&&Qe.push(e),sr()}function fs(e,t=_t?ve+1:0){for(;tmt(n)-mt(s)),je=0;jee.id==null?1/0:e.id,Po=(e,t)=>{const n=mt(e)-mt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function or(e){xn=!1,_t=!0,Z.sort(Po);const t=pe;try{for(ve=0;veY(P)?P.trim():P)),x&&(r=n.map(Nr))}let c,f=s[c=rn(t)]||s[c=rn(xe(t))];!f&&o&&(f=s[c=rn(nt(t))]),f&&he(f,e,6,r);const a=s[c+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,he(a,e,6,r)}}function ir(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},c=!1;if(!M(e)){const f=a=>{const _=ir(a,t,!0);_&&(c=!0,X(i,_))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!o&&!c?(K(e)&&s.set(e,null),null):(A(o)?o.forEach(f=>i[f]=null):X(i,o),K(e)&&s.set(e,i),i)}function Xt(e,t){return!e||!Lt(t)?!1:(t=t.slice(2).replace(/Once$/,""),N(e,t[0].toLowerCase()+t.slice(1))||N(e,nt(t))||N(e,t))}let ae=null,Jt=null;function Ut(e){const t=ae;return ae=e,Jt=e&&e.type.__scopeId||null,t}function lr(e){Jt=e}function cr(){Jt=null}function Fo(e,t=ae,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ys(-1);const o=Ut(t);let i;try{i=e(...r)}finally{Ut(o),s._d&&ys(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ln(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:c,attrs:f,emit:a,render:_,renderCache:x,data:C,setupState:P,ctx:L,inheritAttrs:E}=e;let B,F;const z=Ut(e);try{if(n.shapeFlag&4){const $=r||s;B=be(_.call($,$,x,o,P,C,L)),F=f}else{const $=t;B=be($.length>1?$(o,{attrs:f,slots:c,emit:a}):$(o,null)),F=t.props?f:$o(f)}}catch($){pt.length=0,kt($,e,1),B=V(Ke)}let k=B;if(F&&E!==!1){const $=Object.keys(F),{shapeFlag:Oe}=k;$.length&&Oe&7&&(i&&$.some(An)&&(F=Ro(F,i)),k=et(k,F))}return n.dirs&&(k=et(k),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(k.transition=n.transition),B=k,Ut(z),B}const $o=e=>{let t;for(const n in e)(n==="class"||n==="style"||Lt(n))&&((t||(t={}))[n]=e[n]);return t},Ro=(e,t)=>{const n={};for(const s in e)(!An(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Bo(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:c,patchFlag:f}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return s?as(s,i,a):!!i;if(f&8){const _=t.dynamicProps;for(let x=0;x<_.length;x++){const C=_[x];if(i[C]!==s[C]&&!Xt(a,C))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===i?!1:s?i?as(s,i,a):!0:!!i;return!1}function as(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;re.__isSuspense;function Uo(e,t){t&&t.pendingBranch?A(e)?t.effects.push(...e):t.effects.push(e):Ao(e)}const Mt={};function cn(e,t,n){return ur(e,t,n)}function ur(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=H){var c;const f=zr()===((c=J)==null?void 0:c.scope)?J:null;let a,_=!1,x=!1;if(Q(e)?(a=()=>e.value,_=St(e)):Ze(e)?(a=()=>e,s=!0):A(e)?(x=!0,_=e.some($=>Ze($)||St($)),a=()=>e.map($=>{if(Q($))return $.value;if(Ze($))return ke($);if(M($))return Me($,f,2)})):M(e)?t?a=()=>Me(e,f,2):a=()=>{if(!(f&&f.isUnmounted))return C&&C(),he(e,f,3,[P])}:a=pe,t&&s){const $=a;a=()=>ke($())}let C,P=$=>{C=z.onStop=()=>{Me($,f,4)}},L;if(vt)if(P=pe,t?n&&he(t,f,3,[a(),x?[]:void 0,P]):a(),r==="sync"){const $=Ni();L=$.__watcherHandles||($.__watcherHandles=[])}else return pe;let E=x?new Array(e.length).fill(Mt):Mt;const B=()=>{if(z.active)if(t){const $=z.run();(s||_||(x?$.some((Oe,it)=>ht(Oe,E[it])):ht($,E)))&&(C&&C(),he(t,f,3,[$,E===Mt?void 0:x&&E[0]===Mt?[]:E,P]),E=$)}else z.run()};B.allowRecurse=!!t;let F;r==="sync"?F=B:r==="post"?F=()=>se(B,f&&f.suspense):(B.pre=!0,f&&(B.id=f.uid),F=()=>Kn(B));const z=new Nn(a,F);t?n?B():E=z.run():r==="post"?se(z.run.bind(z),f&&f.suspense):z.run();const k=()=>{z.stop(),f&&f.scope&&Pn(f.scope.effects,z)};return L&&L.push(k),k}function jo(e,t,n){const s=this.proxy,r=Y(e)?e.includes(".")?fr(s,e):()=>s[e]:e.bind(s,s);let o;M(t)?o=t:(o=t.handler,n=t);const i=J;tt(this);const c=ur(r,o.bind(s),n);return i?tt(i):Le(),c}function fr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{ke(n,t)});else if(Ns(e))for(const n in e)ke(e[n],t);return e}function Se(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;iX({name:e.name},t,{setup:e}))():e}const $t=e=>!!e.type.__asyncLoader,ar=e=>e.type.__isKeepAlive;function Do(e,t){dr(e,"a",t)}function Ho(e,t){dr(e,"da",t)}function dr(e,t,n=J){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Qt(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ar(r.parent.vnode)&&Lo(s,t,n,r),r=r.parent}}function Lo(e,t,n,s){const r=Qt(t,e,s,!0);pr(()=>{Pn(s[t],r)},n)}function Qt(e,t,n=J,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;st(),tt(n);const c=he(t,n,e,i);return Le(),rt(),c});return s?r.unshift(o):r.push(o),o}}const Ee=e=>(t,n=J)=>(!vt||e==="sp")&&Qt(e,(...s)=>t(...s),n),Ko=Ee("bm"),Wn=Ee("m"),Wo=Ee("bu"),zo=Ee("u"),qo=Ee("bum"),pr=Ee("um"),Yo=Ee("sp"),ko=Ee("rtg"),Xo=Ee("rtc");function Jo(e,t=J){Qt("ec",e,t)}const hr="components";function Zo(e,t){return Vo(hr,e,!0,t)||e}const Qo=Symbol.for("v-ndc");function Vo(e,t,n=!0,s=!1){const r=ae||J;if(r){const o=r.type;if(e===hr){const c=$i(o,!1);if(c&&(c===t||c===xe(t)||c===zt(xe(t))))return o}const i=ds(r[e]||o[e],t)||ds(r.appContext[e],t);return!i&&s?o:i}}function ds(e,t){return e&&(e[t]||e[xe(t)]||e[zt(xe(t))])}function Go(e,t,n,s){let r;const o=n&&n[s];if(A(e)||Y(e)){r=new Array(e.length);for(let i=0,c=e.length;it(i,c,void 0,o&&o[c]));else{const i=Object.keys(e);r=new Array(i.length);for(let c=0,f=i.length;ce?Or(e)?Xn(e)||e.proxy:yn(e.parent):null,dt=X(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=>yn(e.parent),$root:e=>yn(e.root),$emit:e=>e.emit,$options:e=>zn(e),$forceUpdate:e=>e.f||(e.f=()=>Kn(e.update)),$nextTick:e=>e.n||(e.n=Oo.bind(e.proxy)),$watch:e=>jo.bind(e)}),un=(e,t)=>e!==H&&!e.__isScriptSetup&&N(e,t),ei={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:c,appContext:f}=e;let a;if(t[0]!=="$"){const P=i[t];if(P!==void 0)switch(P){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(un(s,t))return i[t]=1,s[t];if(r!==H&&N(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&N(a,t))return i[t]=3,o[t];if(n!==H&&N(n,t))return i[t]=4,n[t];wn&&(i[t]=0)}}const _=dt[t];let x,C;if(_)return t==="$attrs"&&oe(e,"get",t),_(e);if((x=c.__cssModules)&&(x=x[t]))return x;if(n!==H&&N(n,t))return i[t]=4,n[t];if(C=f.config.globalProperties,N(C,t))return C[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return un(r,t)?(r[t]=n,!0):s!==H&&N(s,t)?(s[t]=n,!0):N(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let c;return!!n[i]||e!==H&&N(e,i)||un(t,i)||(c=o[0])&&N(c,i)||N(s,i)||N(dt,i)||N(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:N(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ps(e){return A(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let wn=!0;function ti(e){const t=zn(e),n=e.proxy,s=e.ctx;wn=!1,t.beforeCreate&&hs(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:c,provide:f,inject:a,created:_,beforeMount:x,mounted:C,beforeUpdate:P,updated:L,activated:E,deactivated:B,beforeDestroy:F,beforeUnmount:z,destroyed:k,unmounted:$,render:Oe,renderTracked:it,renderTriggered:xt,errorCaptured:$e,serverPrefetch:en,expose:Re,inheritAttrs:lt,components:yt,directives:wt,filters:tn}=t;if(a&&ni(a,s,null),i)for(const W in i){const j=i[W];M(j)&&(s[W]=j.bind(n))}if(r){const W=r.call(n,n);K(W)&&(e.data=Yt(W))}if(wn=!0,o)for(const W in o){const j=o[W],Be=M(j)?j.bind(n,n):M(j.get)?j.get.bind(n,n):pe,Ct=!M(j)&&M(j.set)?j.set.bind(n):pe,Ne=Ve({get:Be,set:Ct});Object.defineProperty(s,W,{enumerable:!0,configurable:!0,get:()=>Ne.value,set:ge=>Ne.value=ge})}if(c)for(const W in c)gr(c[W],s,n,W);if(f){const W=M(f)?f.call(n):f;Reflect.ownKeys(W).forEach(j=>{ci(j,W[j])})}_&&hs(_,e,"c");function G(W,j){A(j)?j.forEach(Be=>W(Be.bind(n))):j&&W(j.bind(n))}if(G(Ko,x),G(Wn,C),G(Wo,P),G(zo,L),G(Do,E),G(Ho,B),G(Jo,$e),G(Xo,it),G(ko,xt),G(qo,z),G(pr,$),G(Yo,en),A(Re))if(Re.length){const W=e.exposed||(e.exposed={});Re.forEach(j=>{Object.defineProperty(W,j,{get:()=>n[j],set:Be=>n[j]=Be})})}else e.exposed||(e.exposed={});Oe&&e.render===pe&&(e.render=Oe),lt!=null&&(e.inheritAttrs=lt),yt&&(e.components=yt),wt&&(e.directives=wt)}function ni(e,t,n=pe){A(e)&&(e=Cn(e));for(const s in e){const r=e[s];let o;K(r)?"default"in r?o=Rt(r.from||s,r.default,!0):o=Rt(r.from||s):o=Rt(r),Q(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function hs(e,t,n){he(A(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function gr(e,t,n,s){const r=s.includes(".")?fr(n,s):()=>n[s];if(Y(e)){const o=t[e];M(o)&&cn(r,o)}else if(M(e))cn(r,e.bind(n));else if(K(e))if(A(e))e.forEach(o=>gr(o,t,n,s));else{const o=M(e.handler)?e.handler.bind(n):t[e.handler];M(o)&&cn(r,o,e)}}function zn(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,c=o.get(t);let f;return c?f=c:!r.length&&!n&&!s?f=t:(f={},r.length&&r.forEach(a=>jt(f,a,i,!0)),jt(f,t,i)),K(t)&&o.set(t,f),f}function jt(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&jt(e,o,n,!0),r&&r.forEach(i=>jt(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const c=si[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const si={data:gs,props:_s,emits:_s,methods:at,computed:at,beforeCreate:ee,created:ee,beforeMount:ee,mounted:ee,beforeUpdate:ee,updated:ee,beforeDestroy:ee,beforeUnmount:ee,destroyed:ee,unmounted:ee,activated:ee,deactivated:ee,errorCaptured:ee,serverPrefetch:ee,components:at,directives:at,watch:oi,provide:gs,inject:ri};function gs(e,t){return t?e?function(){return X(M(e)?e.call(this,this):e,M(t)?t.call(this,this):t)}:t:e}function ri(e,t){return at(Cn(e),Cn(t))}function Cn(e){if(A(e)){const t={};for(let n=0;n1)return n&&M(t)?t.call(s&&s.proxy):t}}function ui(e,t,n,s=!1){const r={},o={};Nt(o,Gt,1),e.propsDefaults=Object.create(null),mr(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:bo(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function fi(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,c=S(r),[f]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const _=e.vnode.dynamicProps;for(let x=0;x<_.length;x++){let C=_[x];if(Xt(e.emitsOptions,C))continue;const P=t[C];if(f)if(N(o,C))P!==o[C]&&(o[C]=P,a=!0);else{const L=xe(C);r[L]=En(f,c,L,P,e,!1)}else P!==o[C]&&(o[C]=P,a=!0)}}}else{mr(e,t,r,o)&&(a=!0);let _;for(const x in c)(!t||!N(t,x)&&((_=nt(x))===x||!N(t,_)))&&(f?n&&(n[x]!==void 0||n[_]!==void 0)&&(r[x]=En(f,c,x,void 0,e,!0)):delete r[x]);if(o!==c)for(const x in o)(!t||!N(t,x))&&(delete o[x],a=!0)}a&&Ce(e,"set","$attrs")}function mr(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,c;if(t)for(let f in t){if(Ft(f))continue;const a=t[f];let _;r&&N(r,_=xe(f))?!o||!o.includes(_)?n[_]=a:(c||(c={}))[_]=a:Xt(e.emitsOptions,f)||(!(f in s)||a!==s[f])&&(s[f]=a,i=!0)}if(o){const f=S(n),a=c||H;for(let _=0;_{f=!0;const[C,P]=br(x,t,!0);X(i,C),P&&c.push(...P)};!n&&t.mixins.length&&t.mixins.forEach(_),e.extends&&_(e.extends),e.mixins&&e.mixins.forEach(_)}if(!o&&!f)return K(e)&&s.set(e,Xe),Xe;if(A(o))for(let _=0;_-1,P[1]=E<0||L-1||N(P,"default"))&&c.push(x)}}}const a=[i,c];return K(e)&&s.set(e,a),a}function ms(e){return e[0]!=="$"}function bs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function vs(e,t){return bs(e)===bs(t)}function xs(e,t){return A(t)?t.findIndex(n=>vs(n,e)):M(t)&&vs(t,e)?0:-1}const vr=e=>e[0]==="_"||e==="$stable",qn=e=>A(e)?e.map(be):[be(e)],ai=(e,t,n)=>{if(t._n)return t;const s=Fo((...r)=>qn(t(...r)),n);return s._c=!1,s},xr=(e,t,n)=>{const s=e._ctx;for(const r in e){if(vr(r))continue;const o=e[r];if(M(o))t[r]=ai(r,o,s);else if(o!=null){const i=qn(o);t[r]=()=>i}}},yr=(e,t)=>{const n=qn(t);e.slots.default=()=>n},di=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=S(t),Nt(t,"_",n)):xr(t,e.slots={})}else e.slots={},t&&yr(e,t);Nt(e.slots,Gt,1)},pi=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=H;if(s.shapeFlag&32){const c=t._;c?n&&c===1?o=!1:(X(r,t),!n&&c===1&&delete r._):(o=!t.$stable,xr(t,r)),i=t}else t&&(yr(e,t),i={default:1});if(o)for(const c in r)!vr(c)&&!(c in i)&&delete r[c]};function On(e,t,n,s,r=!1){if(A(e)){e.forEach((C,P)=>On(C,t&&(A(t)?t[P]:t),n,s,r));return}if($t(s)&&!r)return;const o=s.shapeFlag&4?Xn(s.component)||s.component.proxy:s.el,i=r?null:o,{i:c,r:f}=e,a=t&&t.r,_=c.refs===H?c.refs={}:c.refs,x=c.setupState;if(a!=null&&a!==f&&(Y(a)?(_[a]=null,N(x,a)&&(x[a]=null)):Q(a)&&(a.value=null)),M(f))Me(f,c,12,[i,_]);else{const C=Y(f),P=Q(f);if(C||P){const L=()=>{if(e.f){const E=C?N(x,f)?x[f]:_[f]:f.value;r?A(E)&&Pn(E,o):A(E)?E.includes(o)||E.push(o):C?(_[f]=[o],N(x,f)&&(x[f]=_[f])):(f.value=[o],e.k&&(_[e.k]=f.value))}else C?(_[f]=i,N(x,f)&&(x[f]=i)):P&&(f.value=i,e.k&&(_[e.k]=i))};i?(L.id=-1,se(L,n)):L()}}}const se=Uo;function hi(e){return gi(e)}function gi(e,t){const n=gn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:c,createComment:f,setText:a,setElementText:_,parentNode:x,nextSibling:C,setScopeId:P=pe,insertStaticContent:L}=e,E=(l,u,d,h=null,p=null,b=null,y=!1,m=null,v=!!u.dynamicChildren)=>{if(l===u)return;l&&!ut(l,u)&&(h=Et(l),ge(l,p,b,!0),l=null),u.patchFlag===-2&&(v=!1,u.dynamicChildren=null);const{type:g,ref:O,shapeFlag:w}=u;switch(g){case Vt:B(l,u,d,h);break;case Ke:F(l,u,d,h);break;case fn:l==null&&z(u,d,h,y);break;case ue:yt(l,u,d,h,p,b,y,m,v);break;default:w&1?Oe(l,u,d,h,p,b,y,m,v):w&6?wt(l,u,d,h,p,b,y,m,v):(w&64||w&128)&&g.process(l,u,d,h,p,b,y,m,v,We)}O!=null&&p&&On(O,l&&l.ref,b,u||l,!u)},B=(l,u,d,h)=>{if(l==null)s(u.el=c(u.children),d,h);else{const p=u.el=l.el;u.children!==l.children&&a(p,u.children)}},F=(l,u,d,h)=>{l==null?s(u.el=f(u.children||""),d,h):u.el=l.el},z=(l,u,d,h)=>{[l.el,l.anchor]=L(l.children,u,d,h,l.el,l.anchor)},k=({el:l,anchor:u},d,h)=>{let p;for(;l&&l!==u;)p=C(l),s(l,d,h),l=p;s(u,d,h)},$=({el:l,anchor:u})=>{let d;for(;l&&l!==u;)d=C(l),r(l),l=d;r(u)},Oe=(l,u,d,h,p,b,y,m,v)=>{y=y||u.type==="svg",l==null?it(u,d,h,p,b,y,m,v):en(l,u,p,b,y,m,v)},it=(l,u,d,h,p,b,y,m)=>{let v,g;const{type:O,props:w,shapeFlag:I,transition:T,dirs:R}=l;if(v=l.el=i(l.type,b,w&&w.is,w),I&8?_(v,l.children):I&16&&$e(l.children,v,null,h,p,b&&O!=="foreignObject",y,m),R&&Se(l,null,h,"created"),xt(v,l,l.scopeId,y,h),w){for(const U in w)U!=="value"&&!Ft(U)&&o(v,U,null,w[U],b,l.children,h,p,ye);"value"in w&&o(v,"value",null,w.value),(g=w.onVnodeBeforeMount)&&me(g,h,l)}R&&Se(l,null,h,"beforeMount");const D=(!p||p&&!p.pendingBranch)&&T&&!T.persisted;D&&T.beforeEnter(v),s(v,u,d),((g=w&&w.onVnodeMounted)||D||R)&&se(()=>{g&&me(g,h,l),D&&T.enter(v),R&&Se(l,null,h,"mounted")},p)},xt=(l,u,d,h,p)=>{if(d&&P(l,d),h)for(let b=0;b{for(let g=v;g{const m=u.el=l.el;let{patchFlag:v,dynamicChildren:g,dirs:O}=u;v|=l.patchFlag&16;const w=l.props||H,I=u.props||H;let T;d&&Ue(d,!1),(T=I.onVnodeBeforeUpdate)&&me(T,d,u,l),O&&Se(u,l,d,"beforeUpdate"),d&&Ue(d,!0);const R=p&&u.type!=="foreignObject";if(g?Re(l.dynamicChildren,g,m,d,h,R,b):y||j(l,u,m,null,d,h,R,b,!1),v>0){if(v&16)lt(m,u,w,I,d,h,p);else if(v&2&&w.class!==I.class&&o(m,"class",null,I.class,p),v&4&&o(m,"style",w.style,I.style,p),v&8){const D=u.dynamicProps;for(let U=0;U{T&&me(T,d,u,l),O&&Se(u,l,d,"updated")},h)},Re=(l,u,d,h,p,b,y)=>{for(let m=0;m{if(d!==h){if(d!==H)for(const m in d)!Ft(m)&&!(m in h)&&o(l,m,d[m],null,y,u.children,p,b,ye);for(const m in h){if(Ft(m))continue;const v=h[m],g=d[m];v!==g&&m!=="value"&&o(l,m,g,v,y,u.children,p,b,ye)}"value"in h&&o(l,"value",d.value,h.value)}},yt=(l,u,d,h,p,b,y,m,v)=>{const g=u.el=l?l.el:c(""),O=u.anchor=l?l.anchor:c("");let{patchFlag:w,dynamicChildren:I,slotScopeIds:T}=u;T&&(m=m?m.concat(T):T),l==null?(s(g,d,h),s(O,d,h),$e(u.children,d,O,p,b,y,m,v)):w>0&&w&64&&I&&l.dynamicChildren?(Re(l.dynamicChildren,I,d,p,b,y,m),(u.key!=null||p&&u===p.subTree)&&wr(l,u,!0)):j(l,u,d,O,p,b,y,m,v)},wt=(l,u,d,h,p,b,y,m,v)=>{u.slotScopeIds=m,l==null?u.shapeFlag&512?p.ctx.activate(u,d,h,y,v):tn(u,d,h,p,b,y,v):Zn(l,u,v)},tn=(l,u,d,h,p,b,y)=>{const m=l.component=Ti(l,h,p);if(ar(l)&&(m.ctx.renderer=We),Ai(m),m.asyncDep){if(p&&p.registerDep(m,G),!l.el){const v=m.subTree=V(Ke);F(null,v,u,d)}return}G(m,l,u,d,p,b,y)},Zn=(l,u,d)=>{const h=u.component=l.component;if(Bo(l,u,d))if(h.asyncDep&&!h.asyncResolved){W(h,u,d);return}else h.next=u,To(h.update),h.update();else u.el=l.el,h.vnode=u},G=(l,u,d,h,p,b,y)=>{const m=()=>{if(l.isMounted){let{next:O,bu:w,u:I,parent:T,vnode:R}=l,D=O,U;Ue(l,!1),O?(O.el=R.el,W(l,O,y)):O=R,w&&on(w),(U=O.props&&O.props.onVnodeBeforeUpdate)&&me(U,T,O,R),Ue(l,!0);const q=ln(l),le=l.subTree;l.subTree=q,E(le,q,x(le.el),Et(le),l,p,b),O.el=q.el,D===null&&No(l,q.el),I&&se(I,p),(U=O.props&&O.props.onVnodeUpdated)&&se(()=>me(U,T,O,R),p)}else{let O;const{el:w,props:I}=u,{bm:T,m:R,parent:D}=l,U=$t(u);if(Ue(l,!1),T&&on(T),!U&&(O=I&&I.onVnodeBeforeMount)&&me(O,D,u),Ue(l,!0),w&&sn){const q=()=>{l.subTree=ln(l),sn(w,l.subTree,l,p,null)};U?u.type.__asyncLoader().then(()=>!l.isUnmounted&&q()):q()}else{const q=l.subTree=ln(l);E(null,q,d,h,l,p,b),u.el=q.el}if(R&&se(R,p),!U&&(O=I&&I.onVnodeMounted)){const q=u;se(()=>me(O,D,q),p)}(u.shapeFlag&256||D&&$t(D.vnode)&&D.vnode.shapeFlag&256)&&l.a&&se(l.a,p),l.isMounted=!0,u=d=h=null}},v=l.effect=new Nn(m,()=>Kn(g),l.scope),g=l.update=()=>v.run();g.id=l.uid,Ue(l,!0),g()},W=(l,u,d)=>{u.component=l;const h=l.vnode.props;l.vnode=u,l.next=null,fi(l,u.props,h,d),pi(l,u.children,d),st(),fs(),rt()},j=(l,u,d,h,p,b,y,m,v=!1)=>{const g=l&&l.children,O=l?l.shapeFlag:0,w=u.children,{patchFlag:I,shapeFlag:T}=u;if(I>0){if(I&128){Ct(g,w,d,h,p,b,y,m,v);return}else if(I&256){Be(g,w,d,h,p,b,y,m,v);return}}T&8?(O&16&&ye(g,p,b),w!==g&&_(d,w)):O&16?T&16?Ct(g,w,d,h,p,b,y,m,v):ye(g,p,b,!0):(O&8&&_(d,""),T&16&&$e(w,d,h,p,b,y,m,v))},Be=(l,u,d,h,p,b,y,m,v)=>{l=l||Xe,u=u||Xe;const g=l.length,O=u.length,w=Math.min(g,O);let I;for(I=0;IO?ye(l,p,b,!0,!1,w):$e(u,d,h,p,b,y,m,v,w)},Ct=(l,u,d,h,p,b,y,m,v)=>{let g=0;const O=u.length;let w=l.length-1,I=O-1;for(;g<=w&&g<=I;){const T=l[g],R=u[g]=v?Te(u[g]):be(u[g]);if(ut(T,R))E(T,R,d,null,p,b,y,m,v);else break;g++}for(;g<=w&&g<=I;){const T=l[w],R=u[I]=v?Te(u[I]):be(u[I]);if(ut(T,R))E(T,R,d,null,p,b,y,m,v);else break;w--,I--}if(g>w){if(g<=I){const T=I+1,R=TI)for(;g<=w;)ge(l[g],p,b,!0),g++;else{const T=g,R=g,D=new Map;for(g=R;g<=I;g++){const ie=u[g]=v?Te(u[g]):be(u[g]);ie.key!=null&&D.set(ie.key,g)}let U,q=0;const le=I-R+1;let ze=!1,Gn=0;const ct=new Array(le);for(g=0;g=le){ge(ie,p,b,!0);continue}let _e;if(ie.key!=null)_e=D.get(ie.key);else for(U=R;U<=I;U++)if(ct[U-R]===0&&ut(ie,u[U])){_e=U;break}_e===void 0?ge(ie,p,b,!0):(ct[_e-R]=g+1,_e>=Gn?Gn=_e:ze=!0,E(ie,u[_e],d,null,p,b,y,m,v),q++)}const es=ze?_i(ct):Xe;for(U=es.length-1,g=le-1;g>=0;g--){const ie=R+g,_e=u[ie],ts=ie+1{const{el:b,type:y,transition:m,children:v,shapeFlag:g}=l;if(g&6){Ne(l.component.subTree,u,d,h);return}if(g&128){l.suspense.move(u,d,h);return}if(g&64){y.move(l,u,d,We);return}if(y===ue){s(b,u,d);for(let w=0;wm.enter(b),p);else{const{leave:w,delayLeave:I,afterLeave:T}=m,R=()=>s(b,u,d),D=()=>{w(b,()=>{R(),T&&T()})};I?I(b,R,D):D()}else s(b,u,d)},ge=(l,u,d,h=!1,p=!1)=>{const{type:b,props:y,ref:m,children:v,dynamicChildren:g,shapeFlag:O,patchFlag:w,dirs:I}=l;if(m!=null&&On(m,null,d,l,!0),O&256){u.ctx.deactivate(l);return}const T=O&1&&I,R=!$t(l);let D;if(R&&(D=y&&y.onVnodeBeforeUnmount)&&me(D,u,l),O&6)Ar(l.component,d,h);else{if(O&128){l.suspense.unmount(d,h);return}T&&Se(l,null,u,"beforeUnmount"),O&64?l.type.remove(l,u,d,p,We,h):g&&(b!==ue||w>0&&w&64)?ye(g,u,d,!1,!0):(b===ue&&w&384||!p&&O&16)&&ye(v,u,d),h&&Qn(l)}(R&&(D=y&&y.onVnodeUnmounted)||T)&&se(()=>{D&&me(D,u,l),T&&Se(l,null,u,"unmounted")},d)},Qn=l=>{const{type:u,el:d,anchor:h,transition:p}=l;if(u===ue){Tr(d,h);return}if(u===fn){$(l);return}const b=()=>{r(d),p&&!p.persisted&&p.afterLeave&&p.afterLeave()};if(l.shapeFlag&1&&p&&!p.persisted){const{leave:y,delayLeave:m}=p,v=()=>y(d,b);m?m(l.el,b,v):v()}else b()},Tr=(l,u)=>{let d;for(;l!==u;)d=C(l),r(l),l=d;r(u)},Ar=(l,u,d)=>{const{bum:h,scope:p,update:b,subTree:y,um:m}=l;h&&on(h),p.stop(),b&&(b.active=!1,ge(y,l,u,d)),m&&se(m,u),se(()=>{l.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},ye=(l,u,d,h=!1,p=!1,b=0)=>{for(let y=b;yl.shapeFlag&6?Et(l.component.subTree):l.shapeFlag&128?l.suspense.next():C(l.anchor||l.el),Vn=(l,u,d)=>{l==null?u._vnode&&ge(u._vnode,null,null,!0):E(u._vnode||null,l,u,null,null,null,d),fs(),rr(),u._vnode=l},We={p:E,um:ge,m:Ne,r:Qn,mt:tn,mc:$e,pc:j,pbc:Re,n:Et,o:e};let nn,sn;return t&&([nn,sn]=t(We)),{render:Vn,hydrate:nn,createApp:li(Vn,nn)}}function Ue({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function wr(e,t,n=!1){const s=e.children,r=t.children;if(A(s)&&A(r))for(let o=0;o>1,e[n[c]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const mi=e=>e.__isTeleport,ue=Symbol.for("v-fgt"),Vt=Symbol.for("v-txt"),Ke=Symbol.for("v-cmt"),fn=Symbol.for("v-stc"),pt=[];let de=null;function te(e=!1){pt.push(de=e?null:[])}function bi(){pt.pop(),de=pt[pt.length-1]||null}let bt=1;function ys(e){bt+=e}function Cr(e){return e.dynamicChildren=bt>0?de||Xe:null,bi(),bt>0&&de&&de.push(e),e}function re(e,t,n,s,r,o){return Cr(ne(e,t,n,s,r,o,!0))}function vi(e,t,n,s,r){return Cr(V(e,t,n,s,r,!0))}function xi(e){return e?e.__v_isVNode===!0:!1}function ut(e,t){return e.type===t.type&&e.key===t.key}const Gt="__vInternal",Er=({key:e})=>e??null,Bt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Y(e)||Q(e)||M(e)?{i:ae,r:e,k:t,f:!!n}:e:null);function ne(e,t=null,n=null,s=0,r=null,o=e===ue?0:1,i=!1,c=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Er(t),ref:t&&Bt(t),scopeId:Jt,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ae};return c?(Yn(f,n),o&128&&e.normalize(f)):n&&(f.shapeFlag|=Y(n)?8:16),bt>0&&!i&&de&&(f.patchFlag>0||o&6)&&f.patchFlag!==32&&de.push(f),f}const V=yi;function yi(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Qo)&&(e=Ke),xi(e)){const c=et(e,t,!0);return n&&Yn(c,n),bt>0&&!o&&de&&(c.shapeFlag&6?de[de.indexOf(e)]=c:de.push(c)),c.patchFlag|=-2,c}if(Ri(e)&&(e=e.__vccOpts),t){t=wi(t);let{class:c,style:f}=t;c&&!Y(c)&&(t.class=Rn(c)),K(f)&&(Zs(f)&&!A(f)&&(f=X({},f)),t.style=$n(f))}const i=Y(e)?1:So(e)?128:mi(e)?64:K(e)?4:M(e)?2:0;return ne(e,t,n,s,r,i,o,!0)}function wi(e){return e?Zs(e)||Gt in e?X({},e):e:null}function et(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,c=t?Ei(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Er(c),ref:t&&t.ref?n&&r?A(r)?r.concat(Bt(t)):[r,Bt(t)]:Bt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ue?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&et(e.ssContent),ssFallback:e.ssFallback&&et(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ci(e=" ",t=0){return V(Vt,null,e,t)}function an(e="",t=!1){return t?(te(),vi(Ke,null,e)):V(Ke,null,e)}function be(e){return e==null||typeof e=="boolean"?V(Ke):A(e)?V(ue,null,e.slice()):typeof e=="object"?Te(e):V(Vt,null,String(e))}function Te(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:et(e)}function Yn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(A(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Yn(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Gt in t)?t._ctx=ae:r===3&&ae&&(ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else M(t)?(t={default:t,_ctx:ae},n=32):(t=String(t),s&64?(n=16,t=[Ci(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ei(...e){const t={};for(let n=0;nJ=e),kn=e=>{qe.length>1?qe.forEach(t=>t(e)):qe[0](e)};const tt=e=>{kn(e),e.scope.on()},Le=()=>{J&&J.scope.off(),kn(null)};function Or(e){return e.vnode.shapeFlag&4}let vt=!1;function Ai(e,t=!1){vt=t;const{props:n,children:s}=e.vnode,r=Or(e);ui(e,n,r,t),di(e,s);const o=r?Pi(e,t):void 0;return vt=!1,o}function Pi(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Qs(new Proxy(e.ctx,ei));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Fi(e):null;tt(e),st();const o=Me(s,e,0,[e.props,r]);if(rt(),Le(),Rs(o)){if(o.then(Le,Le),t)return o.then(i=>{Cs(e,i,t)}).catch(i=>{kt(i,e,0)});e.asyncDep=o}else Cs(e,o,t)}else Ir(e,t)}function Cs(e,t,n){M(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:K(t)&&(e.setupState=tr(t)),Ir(e,n)}let Es;function Ir(e,t,n){const s=e.type;if(!e.render){if(!t&&Es&&!s.render){const r=s.template||zn(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:f}=s,a=X(X({isCustomElement:o,delimiters:c},i),f);s.render=Es(r,a)}}e.render=s.render||pe}tt(e),st(),ti(e),rt(),Le()}function Mi(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return oe(e,"get","$attrs"),t[n]}}))}function Fi(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Mi(e)},slots:e.slots,emit:e.emit,expose:t}}function Xn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(tr(Qs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in dt)return dt[n](e)},has(t,n){return n in t||n in dt}}))}function $i(e,t=!0){return M(e)?e.displayName||e.name:e.name||t&&e.__name}function Ri(e){return M(e)&&"__vccOpts"in e}const Ve=(e,t)=>Co(e,t,vt),Bi=Symbol.for("v-scx"),Ni=()=>Rt(Bi),Si="3.3.4",Ui="http://www.w3.org/2000/svg",De=typeof document<"u"?document:null,Os=De&&De.createElement("template"),ji={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?De.createElementNS(Ui,e):De.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>De.createTextNode(e),createComment:e=>De.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>De.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Os.innerHTML=s?`${e}`:e;const c=Os.content;if(s){const f=c.firstChild;for(;f.firstChild;)c.appendChild(f.firstChild);c.removeChild(f)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Di(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 Hi(e,t,n){const s=e.style,r=Y(n);if(n&&!r){if(t&&!Y(t))for(const o in t)n[o]==null&&In(s,o,"");for(const o in n)In(s,o,n[o])}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const Is=/\s*!important$/;function In(e,t,n){if(A(n))n.forEach(s=>In(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Li(e,t);Is.test(n)?e.setProperty(nt(s),n.replace(Is,""),"important"):e[s]=n}}const Ts=["Webkit","Moz","ms"],dn={};function Li(e,t){const n=dn[t];if(n)return n;let s=xe(t);if(s!=="filter"&&s in e)return dn[t]=s;s=zt(s);for(let r=0;rpn||(Xi.then(()=>pn=0),pn=Date.now());function Zi(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;he(Qi(s,n.value),t,5,[s])};return n.value=e,n.attached=Ji(),n}function Qi(e,t){if(A(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 Ms=/^on[a-z]/,Vi=(e,t,n,s,r=!1,o,i,c,f)=>{t==="class"?Di(e,s,r):t==="style"?Hi(e,n,s):Lt(t)?An(t)||Yi(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gi(e,t,s,r))?Wi(e,t,s,o,i,c,f):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ki(e,t,s,r))};function Gi(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Ms.test(t)&&M(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ms.test(t)&&Y(n)?!1:t in e}const el=X({patchProp:Vi},ji);let Fs;function tl(){return Fs||(Fs=hi(el))}const nl=(...e)=>{const t=tl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=sl(s);if(!r)return;const o=t._component;!M(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function sl(e){return Y(e)?document.querySelector(e):e}const rl=[{description:"WEeeee",cost(){return 0},bg:"images/Bases/AutoBase.png",icon:"images/Curr/Astrolabe.png"},{description:"WEewooe",cost(e){return 10},bg:"images/Bases/AstroBase.png",icon:"images/Curr/Charge.png"},{description:"hi",cost(e){return 20},bg:"images/Bases/AstroBase.png",icon:"images/Curr/Cloud.png"},{description:"tftft",cost(e){return 30},bg:"images/Bases/AstroBase.png",icon:"images/Curr/Fun.png"},{description:"gddhgt",cost(e){return 40},bg:"images/Bases/AstroBase.png",icon:"images/Curr/Astrolabe.png"}],ol={class:"upgrade"},il={class:"upgradeImage"},ll={class:"cost"},cl=Zt({__name:"UpgradeCircle",props:{upgrade:{}},setup(e){const t=e,n=Ve(()=>t.upgrade),s=Ae(null),r=Ae(null);return Wn(()=>{console.log(n.value.icon),s.value.src=n.value.icon,r.value.src=n.value.bg}),(o,i)=>(te(),re("div",ol,[ne("div",il,[ne("img",{ref_key:"icon",ref:s,class:"icon",onClick:i[0]||(i[0]=c=>o.$emit("clicked",n.value.description))},null,512),ne("img",{ref_key:"base",ref:r,class:"base"},null,512)]),ne("p",ll,"Cost: "+Us(n.value.cost(78)),1)]))}});const ot=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},ul=ot(cl,[["__scopeId","data-v-0e771f82"]]),fl={name:"UpgradeButtonDiv"};const Jn=e=>(lr("data-v-bb2cb150"),e=e(),cr(),e),al=Jn(()=>ne("button",{class:"BuyBtn"},"Buy 1",-1)),dl=Jn(()=>ne("button",{class:"BuyBtn"},"Buy 25",-1)),pl=Jn(()=>ne("button",{class:"BuyBtn"},"Buy Max",-1));function hl(e,t,n,s,r,o){return te(),re("div",null,[ne("button",{onClick:t[0]||(t[0]=i=>e.$emit("clicked")),class:"CloseBtn"},"Close"),al,dl,pl])}const gl=ot(fl,[["render",hl],["__scopeId","data-v-bb2cb150"]]),_l=e=>(lr("data-v-8e671b1b"),e=e(),cr(),e),ml={key:0,class:"UpgradeHeader"},bl=_l(()=>ne("p",{class:"UpgradeTitle"},"Grass Upgrades",-1)),vl={key:0,class:"UpgradeSpace red"},xl={key:1},yl=Zt({__name:"UpgradeGrid",props:{position:{}},setup(e){const t=e,n=Ae(!1),s=Ae(""),r=Ve(()=>{const[c,f]=t.position,[a,_]=Ye.position;return c===a&&f===_});function o(c){s.value=c,n.value=!0}function i(){n.value=!1}return(c,f)=>r.value?(te(),re("div",ml,[bl,n.value?an("",!0):(te(),re("div",vl,[(te(),re(ue,null,Go(5,a=>V(ul,{onClicked:o,key:a,upgrade:er(rl)[a-1]},null,8,["upgrade"])),64))])),n.value?(te(),re("div",xl,[ne("p",null,Us(s.value),1),V(gl,{onClicked:i})])):an("",!0)])):an("",!0)}});const Ht=ot(yl,[["__scopeId","data-v-8e671b1b"]]),hn={growSpeed(){return 1},grassCap(){return 500},cutterLength(){return 20}},wl=Zt({__name:"GrassCanvas",setup(e){const t=Ae(null),n=Ae(null),s=Ae([]),r=Ae({x:0,y:0,active:!1}),o=Ve(hn.growSpeed),i=Ve(hn.grassCap),c=Ve(hn.cutterLength);let f=0;Wn(()=>{var E;t.value=document.querySelector("canvas"),n.value=(E=t.value)==null?void 0:E.getContext("2d"),n.value.fillStyle="brown",setInterval(_,1e3/60)});function a(){var F;if(!n.value)return;n.value.clearRect(0,0,t.value.width,t.value.height);for(const z of s.value)n.value.fillRect(z.x,z.y,20,20);const{x:E,y:B}=r.value;(F=r.value)!=null&&F.active&&(n.value.fillStyle="cyan",n.value.fillRect(E-c.value/2,B-c.value/2,c.value,c.value),n.value.fillStyle="brown")}function _(){const E=r.value,B=E.x,F=E.y,z=i.value-s.value.length,k=o.value*60/1e3;for(f+=Math.min(k,z);f>1;)x(B,F),f--}function x(E,B){if(!n.value||!t.value)return;const F={x:0,y:0};F.x=Math.random()*t.value.width,F.y=Math.random()*t.value.height,(E+length/2<=F.x||E-length/2>=F.x+20||B+length/2<=F.y||B-length/2>=F.y+20)&&(s.value.push(F),n.value.fillRect(F.x,F.y,20,20))}function C(){if(!n.value)return;const{x:E,y:B}=r.value;for(const F of s.value)E+c.value/2<=F.x||E-c.value/2>=F.x+20||B+c.value/2<=F.y||B-c.value/2>=F.y+20||(s.value.splice(s.value.indexOf(F),1),console.log("ftft"))}function P(E){if(!r.value||!t.value)return;const B=E.offsetX,F=E.offsetY;r.value.x=B,r.value.y=F,C(),a()}function L(E){r.value.active=E,a()}return(E,B)=>(te(),re("div",null,[ne("canvas",{ref_key:"canvas",ref:t,class:"GrassField",onMousemove:P,onMouseenter:B[0]||(B[0]=()=>L(!0)),onMouseleave:B[1]||(B[1]=()=>L(!1))},null,544)]))}});const Cl=ot(wl,[["__scopeId","data-v-ca303d48"]]),El=[[Ht],[Ht]],Ol={name:"ArrowDiv",methods:{SwitchWindow(e,t){const n=Ye.position[0]+e,s=Ye.position[1]-t;Ye.position=[n,s]},isIlegal(e,t){var r;const n=Ye.position[0]+e,s=Ye.position[1]-t;return((r=El[s])==null?void 0:r[n])===void 0}}};const Il={class:"arrowDiv"},Tl=["disabled"],Al=["disabled"],Pl=["disabled"],Ml=["disabled"];function Fl(e,t,n,s,r,o){return te(),re("div",Il,[(te(),re("button",{class:"arrow",key:1,disabled:o.isIlegal(-1,0),onClick:t[0]||(t[0]=i=>o.SwitchWindow(-1,0))}," ← ",8,Tl)),(te(),re("button",{class:"arrow",key:2,disabled:o.isIlegal(0,-1),onClick:t[1]||(t[1]=i=>o.SwitchWindow(0,-1))}," ↑ ",8,Al)),(te(),re("button",{class:"arrow",key:3,disabled:o.isIlegal(0,1),onClick:t[2]||(t[2]=i=>o.SwitchWindow(0,1))}," ↓ ",8,Pl)),(te(),re("button",{class:"arrow",key:4,disabled:o.isIlegal(1,0),onClick:t[3]||(t[3]=i=>o.SwitchWindow(1,0))}," → ",8,Ml))])}const $l=ot(Ol,[["render",Fl],["__scopeId","data-v-9ac00f4e"]]),Rl={name:"NavDiv",components:{ArrowButtons:$l}};const Bl={class:"navDiv"};function Nl(e,t,n,s,r,o){const i=Zo("ArrowButtons");return te(),re("div",Bl,[V(i)])}const Sl=ot(Rl,[["render",Nl],["__scopeId","data-v-4c035981"]]),Ul=ne("header",null,null,-1),jl=Zt({__name:"App",setup(e){return(t,n)=>(te(),re(ue,null,[Ul,ne("main",null,[V(Ht,{position:[0,0]}),V(Ht,{position:[0,1]}),V(Cl),V(Sl)])],64))}});let Ye=Yt({position:[0,0]});nl(jl).mount("#app"); diff --git a/assets/index-a21afad3.css b/assets/index-a21afad3.css deleted file mode 100644 index 95468c7..0000000 --- a/assets/index-a21afad3.css +++ /dev/null @@ -1 +0,0 @@ -:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;color:var(--color-text);background:var(--color-background);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0;padding:2rem;font-weight:400}a,.green{text-decoration:none;color:#00bd7e;transition:.4s}body{background-color:#00ffd5}@media (hover: hover){a:hover{background-color:#00bd7e33}}@media (min-width: 1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}.window{background-color:#2269ba;width:80%;height:75%;position:absolute;top:12.5%;left:10%;border-width:2px;border-color:#000}:root{--o-upgrade-image-size: 100px;--o-upgrade-image-expansion-size: 10px;--o-expanded-upgrade-image-size: calc( var(--o-upgrade-image-size) + var(--o-upgrade-image-expansion-size) );--o-upgrade-grid-width: calc(var(--o-upgrade-image-size) * 5 + 10px);--o-upgrade-grid-height: var(var(--o-upgrade-image-size));--space-size: 100px;--expanded-size: calc(var(--space-size) + var(--title-size));--tab-size: 5px;--title-size: 20px;--header-size: calc(var(--expanded-size) + 2 * var(--tab-size) + var(--title-size));--header-width: 450px;--grow-size: 10px;--normal-size: calc(var(--space-size) - var(--grow-size));--upgrade-size: calc(var(--expanded-size) + var(--cost-margin));--cost-margin: 5px;--margin-size: calc(var(--grow-size) / 2);--grass: rgb(0, 255, 0);--prestige: rgb(2, 253, 241)}.base[data-v-0e771f82]{z-index:0}.icon[data-v-0e771f82]{z-index:10}.upgradeImage[data-v-0e771f82]{width:100px;height:100px}.upgradeImage img[data-v-0e771f82]{position:absolute;display:block;max-width:100%;height:auto;padding:5px}.upgradeImage:hover img[data-v-0e771f82]{cursor:pointer;padding:0}.upgrade[data-v-0e771f82]{position:relative;display:block;text-align:center}.cost[data-v-0e771f82]{color:red}.CloseBtn[data-v-bb2cb150]{display:inline-flex;background-color:red;bottom:0}.BuyBtn[data-v-bb2cb150]{display:inline-flex;background-color:#adff2f;bottom:0}.UpgradeSpace[data-v-8e671b1b]{display:flex;height:auto;width:auto}.red[data-v-8e671b1b]{background-color:#adff2f}.UpgradeHeader[data-v-8e671b1b]{border-width:5px;border-style:outset;border-color:#000;background-color:#555;text-align:center;width:auto;height:auto}.UpgradeTitle[data-v-8e671b1b]{color:#0f0;padding-top:3px;padding-bottom:3px}.GrassField[data-v-ca303d48]{position:absolute;left:5%;top:25%;background-color:#96ff28;border-color:#000;border-width:1px;border-style:solid;width:300px;height:150px}.arrowDiv[data-v-9ac00f4e]{position:absolute;bottom:0;left:35%}.arrow[data-v-9ac00f4e]{height:30px;width:30px;padding:0;margin:30px}.navDiv[data-v-4c035981]{position:fixed;display:inline;left:0%;bottom:0%;background-color:#022d91;width:100%;height:100px} diff --git a/assets/index-aaa00d08.css b/assets/index-aaa00d08.css new file mode 100644 index 0000000..92ecd5c --- /dev/null +++ b/assets/index-aaa00d08.css @@ -0,0 +1 @@ +:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;color:var(--color-text);background:var(--color-background);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0;padding:2rem;font-weight:400}a,.green{text-decoration:none;color:#00bd7e;transition:.4s}body{background-color:#022d91}@media (hover: hover){a:hover{background-color:#00bd7e33}}@media (min-width: 1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}.cheap{color:green}.expensive{color:red}.window{background-color:#2269ba;width:80%;height:75%;position:absolute;top:12.5%;left:10%;border-width:2px;border-color:#000}:root{--o-upgrade-image-size: 100px;--o-upgrade-image-expansion-size: 10px;--o-expanded-upgrade-image-size: calc( var(--o-upgrade-image-size) + var(--o-upgrade-image-expansion-size) );--o-upgrade-grid-width: calc(var(--o-upgrade-image-size) * 5 + 10px);--o-upgrade-grid-height: var(var(--o-upgrade-image-size));--space-size: 100px;--expanded-size: calc(var(--space-size) + var(--title-size));--tab-size: 5px;--title-size: 20px;--header-size: calc(var(--expanded-size) + 2 * var(--tab-size) + var(--title-size));--header-width: 450px;--grow-size: 10px;--normal-size: calc(var(--space-size) - var(--grow-size));--upgrade-size: calc(var(--expanded-size) + var(--cost-margin));--cost-margin: 5px;--margin-size: calc(var(--grow-size) / 2);--grass: rgb(0, 255, 0);--prestige: rgb(2, 253, 241)}.icon[data-v-7b659965]{z-index:10}.base[data-v-7b659965]{z-index:0}.upgradeImage[data-v-7b659965]{width:100px;height:100px}.upgradeImage img[data-v-7b659965]{position:absolute;display:block;max-width:100%;height:auto;padding:5px}.upgradeImage:hover img[data-v-7b659965]{cursor:pointer;padding:0}.upgrade[data-v-7b659965]{position:relative;display:block;text-align:center}.cheap[data-v-7b659965]{color:green}.expensive[data-v-7b659965]{color:red}.UpgradeSpace[data-v-2177af8e]{display:flex;height:auto;width:auto}.red[data-v-2177af8e]{background-color:#adff2f}.UpgradeHeader[data-v-2177af8e]{border-width:5px;border-style:outset;border-color:#000;background-color:#555;text-align:center;width:auto;height:auto}.UpgradeTitle[data-v-2177af8e]{color:#0f0;padding-top:3px;padding-bottom:3px}.CloseBtn[data-v-2177af8e]{display:inline-flex;background-color:red;bottom:0}.BuyBtn[data-v-2177af8e]{display:inline-flex;background-color:#adff2f;bottom:0}.grass-field[data-v-f683c254]{position:absolute;left:5%;top:40%;background-color:#96ff28;border-color:#000;border-width:1px;border-style:solid;width:300px;height:150px}.window[data-v-ee4dc69c]{background-color:#00ffd5}div.arrow[data-v-7b56d3f1]{position:absolute;bottom:0;left:35%}button.arrow[data-v-7b56d3f1]{height:30px;width:30px;padding:0;margin:30px}.header[data-v-28465bf6]{position:fixed;top:0%;left:0%;width:100vw;padding:10px;background-color:red;margin:auto}div.grass[data-v-28465bf6]{margin:auto;border:3px solid green;background-color:#adff2f;width:50%;text-align:right;font-size:32px;-webkit-text-emphasis-color:#fff;text-emphasis-color:#fff}div.footer[data-v-28465bf6]{position:fixed;display:inline;left:0%;bottom:0%;width:100%;height:100px} diff --git a/assets/index-f7eda7c9.js b/assets/index-f7eda7c9.js new file mode 100644 index 0000000..a33c8a4 --- /dev/null +++ b/assets/index-f7eda7c9.js @@ -0,0 +1 @@ +var Ci=Object.defineProperty;var Ii=(t,e,n)=>e in t?Ci(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Ot=(t,e,n)=>(Ii(t,typeof e!="symbol"?e+"":e,n),n);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function ur(t,e){const n=Object.create(null),r=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const $={},le=[],xt=()=>{},Pi=()=>!1,Ai=/^on[^a-z]/,fn=t=>Ai.test(t),lr=t=>t.startsWith("onUpdate:"),Q=Object.assign,cr=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Si=Object.prototype.hasOwnProperty,U=(t,e)=>Si.call(t,e),S=Array.isArray,ce=t=>an(t)==="[object Map]",Eo=t=>an(t)==="[object Set]",T=t=>typeof t=="function",k=t=>typeof t=="string",fr=t=>typeof t=="symbol",V=t=>t!==null&&typeof t=="object",Oo=t=>V(t)&&T(t.then)&&T(t.catch),Co=Object.prototype.toString,an=t=>Co.call(t),Ti=t=>an(t).slice(8,-1),Io=t=>an(t)==="[object Object]",ar=t=>k(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Qe=ur(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),hn=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Fi=/-(\w)/g,St=hn(t=>t.replace(Fi,(e,n)=>n?n.toUpperCase():"")),Di=/\B([A-Z])/g,me=hn(t=>t.replace(Di,"-$1").toLowerCase()),pn=hn(t=>t.charAt(0).toUpperCase()+t.slice(1)),On=hn(t=>t?`on${pn(t)}`:""),Ae=(t,e)=>!Object.is(t,e),Cn=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Li=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let qr;const Xn=()=>qr||(qr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hr(t){if(S(t)){const e={};for(let n=0;n{if(n){const r=n.split(ji);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function dn(t){let e="";if(k(t))e=t;else if(S(t))for(let n=0;nk(t)?t:t==null?"":S(t)||V(t)&&(t.toString===Co||!T(t.toString))?JSON.stringify(t,Ao,2):String(t),Ao=(t,e)=>e&&e.__v_isRef?Ao(t,e.value):ce(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:Eo(e)?{[`Set(${e.size})`]:[...e.values()]}:V(e)&&!S(e)&&!Io(e)?String(e):e;let mt;class Hi{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=mt,!e&&mt&&(this.index=(mt.scopes||(mt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=mt;try{return mt=this,e()}finally{mt=n}}}on(){mt=this}off(){mt=this.parent}stop(e){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},So=t=>(t.w&Vt)>0,To=t=>(t.n&Vt)>0,Xi=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r{(p==="length"||p>=c)&&u.push(a)})}else switch(n!==void 0&&u.push(s.get(n)),e){case"add":S(t)?ar(n)&&u.push(s.get("length")):(u.push(s.get(Zt)),ce(t)&&u.push(s.get(kn)));break;case"delete":S(t)||(u.push(s.get(Zt)),ce(t)&&u.push(s.get(kn)));break;case"set":ce(t)&&u.push(s.get(Zt));break}if(u.length===1)u[0]&&Yn(u[0]);else{const c=[];for(const a of u)a&&c.push(...a);Yn(dr(c))}}function Yn(t,e){const n=S(t)?t:[...t];for(const r of n)r.computed&&Hr(r);for(const r of n)r.computed||Hr(r)}function Hr(t,e){(t!==bt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const zi=ur("__proto__,__v_isRef,__isVue"),Lo=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(fr)),ki=gr(),Yi=gr(!1,!0),Gi=gr(!0),Vr=Ji();function Ji(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=j(this);for(let i=0,s=this.length;i{t[e]=function(...n){ge();const r=j(this)[e].apply(this,n);return ye(),r}}),t}function Qi(t){const e=j(this);return ft(e,"has",t),e.hasOwnProperty(t)}function gr(t=!1,e=!1){return function(r,o,i){if(o==="__v_isReactive")return!t;if(o==="__v_isReadonly")return t;if(o==="__v_isShallow")return e;if(o==="__v_raw"&&i===(t?e?ds:qo:e?Bo:Ro).get(r))return r;const s=S(r);if(!t){if(s&&U(Vr,o))return Reflect.get(Vr,o,i);if(o==="hasOwnProperty")return Qi}const u=Reflect.get(r,o,i);return(fr(o)?Lo.has(o):zi(o))||(t||ft(r,"get",o),e)?u:ot(u)?s&&ar(o)?u:u.value:V(u)?t?$o(u):je(u):u}}const Zi=Uo(),ts=Uo(!0);function Uo(t=!1){return function(n,r,o,i){let s=n[r];if(he(s)&&ot(s)&&!ot(o))return!1;if(!t&&(!rn(o)&&!he(o)&&(s=j(s),o=j(o)),!S(n)&&ot(s)&&!ot(o)))return s.value=o,!0;const u=S(n)&&ar(r)?Number(r)t,mn=t=>Reflect.getPrototypeOf(t);function Xe(t,e,n=!1,r=!1){t=t.__v_raw;const o=j(t),i=j(e);n||(e!==i&&ft(o,"get",e),ft(o,"get",i));const{has:s}=mn(o),u=r?yr:n?_r:Se;if(s.call(o,e))return u(t.get(e));if(s.call(o,i))return u(t.get(i));t!==o&&t.get(e)}function We(t,e=!1){const n=this.__v_raw,r=j(n),o=j(t);return e||(t!==o&&ft(r,"has",t),ft(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function ze(t,e=!1){return t=t.__v_raw,!e&&ft(j(t),"iterate",Zt),Reflect.get(t,"size",t)}function Kr(t){t=j(t);const e=j(this);return mn(e).has.call(e,t)||(e.add(t),Dt(e,"add",t,t)),this}function Xr(t,e){e=j(e);const n=j(this),{has:r,get:o}=mn(n);let i=r.call(n,t);i||(t=j(t),i=r.call(n,t));const s=o.call(n,t);return n.set(t,e),i?Ae(e,s)&&Dt(n,"set",t,e):Dt(n,"add",t,e),this}function Wr(t){const e=j(this),{has:n,get:r}=mn(e);let o=n.call(e,t);o||(t=j(t),o=n.call(e,t)),r&&r.call(e,t);const i=e.delete(t);return o&&Dt(e,"delete",t,void 0),i}function zr(){const t=j(this),e=t.size!==0,n=t.clear();return e&&Dt(t,"clear",void 0,void 0),n}function ke(t,e){return function(r,o){const i=this,s=i.__v_raw,u=j(s),c=e?yr:t?_r:Se;return!t&&ft(u,"iterate",Zt),s.forEach((a,p)=>r.call(o,c(a),c(p),i))}}function Ye(t,e,n){return function(...r){const o=this.__v_raw,i=j(o),s=ce(i),u=t==="entries"||t===Symbol.iterator&&s,c=t==="keys"&&s,a=o[t](...r),p=n?yr:e?_r:Se;return!e&&ft(i,"iterate",c?kn:Zt),{next(){const{value:y,done:x}=a.next();return x?{value:y,done:x}:{value:u?[p(y[0]),p(y[1])]:p(y),done:x}},[Symbol.iterator](){return this}}}}function jt(t){return function(...e){return t==="delete"?!1:this}}function ss(){const t={get(i){return Xe(this,i)},get size(){return ze(this)},has:We,add:Kr,set:Xr,delete:Wr,clear:zr,forEach:ke(!1,!1)},e={get(i){return Xe(this,i,!1,!0)},get size(){return ze(this)},has:We,add:Kr,set:Xr,delete:Wr,clear:zr,forEach:ke(!1,!0)},n={get(i){return Xe(this,i,!0)},get size(){return ze(this,!0)},has(i){return We.call(this,i,!0)},add:jt("add"),set:jt("set"),delete:jt("delete"),clear:jt("clear"),forEach:ke(!0,!1)},r={get(i){return Xe(this,i,!0,!0)},get size(){return ze(this,!0)},has(i){return We.call(this,i,!0)},add:jt("add"),set:jt("set"),delete:jt("delete"),clear:jt("clear"),forEach:ke(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=Ye(i,!1,!1),n[i]=Ye(i,!0,!1),e[i]=Ye(i,!1,!0),r[i]=Ye(i,!0,!0)}),[t,n,e,r]}const[us,ls,cs,fs]=ss();function br(t,e){const n=e?t?fs:cs:t?ls:us;return(r,o,i)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(U(n,o)&&o in r?n:r,o,i)}const as={get:br(!1,!1)},hs={get:br(!1,!0)},ps={get:br(!0,!1)},Ro=new WeakMap,Bo=new WeakMap,qo=new WeakMap,ds=new WeakMap;function ms(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gs(t){return t.__v_skip||!Object.isExtensible(t)?0:ms(Ti(t))}function je(t){return he(t)?t:vr(t,!1,jo,as,Ro)}function ys(t){return vr(t,!1,is,hs,Bo)}function $o(t){return vr(t,!0,os,ps,qo)}function vr(t,e,n,r,o){if(!V(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=o.get(t);if(i)return i;const s=gs(t);if(s===0)return t;const u=new Proxy(t,s===2?r:n);return o.set(t,u),u}function fe(t){return he(t)?fe(t.__v_raw):!!(t&&t.__v_isReactive)}function he(t){return!!(t&&t.__v_isReadonly)}function rn(t){return!!(t&&t.__v_isShallow)}function Ho(t){return fe(t)||he(t)}function j(t){const e=t&&t.__v_raw;return e?j(e):t}function Vo(t){return nn(t,"__v_skip",!0),t}const Se=t=>V(t)?je(t):t,_r=t=>V(t)?$o(t):t;function Ko(t){$t&&bt&&(t=j(t),Do(t.dep||(t.dep=dr())))}function Xo(t,e){t=j(t);const n=t.dep;n&&Yn(n)}function ot(t){return!!(t&&t.__v_isRef===!0)}function Te(t){return bs(t,!1)}function bs(t,e){return ot(t)?t:new vs(t,e)}class vs{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:j(e),this._value=n?e:Se(e)}get value(){return Ko(this),this._value}set value(e){const n=this.__v_isShallow||rn(e)||he(e);e=n?e:j(e),Ae(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Se(e),Xo(this))}}function te(t){return ot(t)?t.value:t}const _s={get:(t,e,n)=>te(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return ot(o)&&!ot(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function Wo(t){return fe(t)?t:new Proxy(t,_s)}class Ms{constructor(e,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new mr(e,()=>{this._dirty||(this._dirty=!0,Xo(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const e=j(this);return Ko(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function xs(t,e,n=!1){let r,o;const i=T(t);return i?(r=t,o=xt):(r=t.get,o=t.set),new Ms(r,o,i||!o,n)}function Ht(t,e,n,r){let o;try{o=r?t(...r):t()}catch(i){gn(i,e,n)}return o}function wt(t,e,n,r){if(T(t)){const i=Ht(t,e,n,r);return i&&Oo(i)&&i.catch(s=>{gn(s,e,n)}),i}const o=[];for(let i=0;i>>1;De(nt[r])At&&nt.splice(e,1)}function Cs(t){S(t)?ae.push(...t):(!Ft||!Ft.includes(t,t.allowRecurse?Gt+1:Gt))&&ae.push(t),ko()}function kr(t,e=Fe?At+1:0){for(;eDe(n)-De(r)),Gt=0;Gtt.id==null?1/0:t.id,Is=(t,e)=>{const n=De(t)-De(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Go(t){Gn=!1,Fe=!0,nt.sort(Is);const e=xt;try{for(At=0;Atk(C)?C.trim():C)),y&&(o=n.map(Li))}let u,c=r[u=On(e)]||r[u=On(St(e))];!c&&i&&(c=r[u=On(me(e))]),c&&wt(c,t,6,o);const a=r[u+"Once"];if(a){if(!t.emitted)t.emitted={};else if(t.emitted[u])return;t.emitted[u]=!0,wt(a,t,6,o)}}function Jo(t,e,n=!1){const r=e.emitsCache,o=r.get(t);if(o!==void 0)return o;const i=t.emits;let s={},u=!1;if(!T(t)){const c=a=>{const p=Jo(a,e,!0);p&&(u=!0,Q(s,p))};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!i&&!u?(V(t)&&r.set(t,null),null):(S(i)?i.forEach(c=>s[c]=null):Q(s,i),V(t)&&r.set(t,s),s)}function yn(t,e){return!t||!fn(e)?!1:(e=e.slice(2).replace(/Once$/,""),U(t,e[0].toLowerCase()+e.slice(1))||U(t,me(e))||U(t,e))}let _t=null,bn=null;function on(t){const e=_t;return _t=t,bn=t&&t.type.__scopeId||null,e}function Qo(t){bn=t}function Zo(){bn=null}function As(t,e=_t,n){if(!e||t._n)return t;const r=(...o)=>{r._d&&io(-1);const i=on(e);let s;try{s=t(...o)}finally{on(i),r._d&&io(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function In(t){const{type:e,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:u,attrs:c,emit:a,render:p,renderCache:y,data:x,setupState:C,ctx:P,inheritAttrs:I}=t;let K,Y;const tt=on(t);try{if(n.shapeFlag&4){const D=o||r;K=Pt(p.call(D,D,y,i,C,x,P)),Y=c}else{const D=e;K=Pt(D.length>1?D(i,{attrs:c,slots:u,emit:a}):D(i,null)),Y=e.props?c:Ss(c)}}catch(D){Pe.length=0,gn(D,t,1),K=pt(re)}let et=K;if(Y&&I!==!1){const D=Object.keys(Y),{shapeFlag:Ut}=et;D.length&&Ut&7&&(s&&D.some(lr)&&(Y=Ts(Y,s)),et=pe(et,Y))}return n.dirs&&(et=pe(et),et.dirs=et.dirs?et.dirs.concat(n.dirs):n.dirs),n.transition&&(et.transition=n.transition),K=et,on(tt),K}const Ss=t=>{let e;for(const n in t)(n==="class"||n==="style"||fn(n))&&((e||(e={}))[n]=t[n]);return e},Ts=(t,e)=>{const n={};for(const r in t)(!lr(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function Fs(t,e,n){const{props:r,children:o,component:i}=t,{props:s,children:u,patchFlag:c}=e,a=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Yr(r,s,a):!!s;if(c&8){const p=e.dynamicProps;for(let y=0;yt.__isSuspense;function Us(t,e){e&&e.pendingBranch?S(t)?e.effects.push(...t):e.effects.push(t):Cs(t)}const Ge={};function Pn(t,e,n){return ti(t,e,n)}function ti(t,e,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:s}=$){var u;const c=Ki()===((u=Z)==null?void 0:u.scope)?Z:null;let a,p=!1,y=!1;if(ot(t)?(a=()=>t.value,p=rn(t)):fe(t)?(a=()=>t,r=!0):S(t)?(y=!0,p=t.some(D=>fe(D)||rn(D)),a=()=>t.map(D=>{if(ot(D))return D.value;if(fe(D))return ue(D);if(T(D))return Ht(D,c,2)})):T(t)?e?a=()=>Ht(t,c,2):a=()=>{if(!(c&&c.isUnmounted))return x&&x(),wt(t,c,3,[C])}:a=xt,e&&r){const D=a;a=()=>ue(D())}let x,C=D=>{x=tt.onStop=()=>{Ht(D,c,4)}},P;if(Ue)if(C=xt,e?n&&wt(e,c,3,[a(),y?[]:void 0,C]):a(),o==="sync"){const D=Tu();P=D.__watcherHandles||(D.__watcherHandles=[])}else return xt;let I=y?new Array(t.length).fill(Ge):Ge;const K=()=>{if(tt.active)if(e){const D=tt.run();(r||p||(y?D.some((Ut,_e)=>Ae(Ut,I[_e])):Ae(D,I)))&&(x&&x(),wt(e,c,3,[D,I===Ge?void 0:y&&I[0]===Ge?[]:I,C]),I=D)}else tt.run()};K.allowRecurse=!!e;let Y;o==="sync"?Y=K:o==="post"?Y=()=>ct(K,c&&c.suspense):(K.pre=!0,c&&(K.id=c.uid),Y=()=>xr(K));const tt=new mr(a,Y);e?n?K():I=tt.run():o==="post"?ct(tt.run.bind(tt),c&&c.suspense):tt.run();const et=()=>{tt.stop(),c&&c.scope&&cr(c.scope.effects,tt)};return P&&P.push(et),et}function js(t,e,n){const r=this.proxy,o=k(t)?t.includes(".")?ei(r,t):()=>r[t]:t.bind(r,r);let i;T(e)?i=e:(i=e.handler,n=e);const s=Z;de(this);const u=ti(o,i.bind(r),n);return s?de(s):ee(),u}function ei(t,e){const n=e.split(".");return()=>{let r=t;for(let o=0;o{ue(n,e)});else if(Io(t))for(const n in t)ue(t[n],e);return t}function kt(t,e,n,r){const o=t.dirs,i=e&&e.dirs;for(let s=0;sQ({name:t.name},e,{setup:t}))():t}const Ze=t=>!!t.type.__asyncLoader,ni=t=>t.type.__isKeepAlive;function Rs(t,e){ri(t,"a",e)}function Bs(t,e){ri(t,"da",e)}function ri(t,e,n=Z){const r=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(vn(e,r,n),n){let o=n.parent;for(;o&&o.parent;)ni(o.parent.vnode)&&qs(r,e,n,o),o=o.parent}}function qs(t,e,n,r){const o=vn(e,t,r,!0);oi(()=>{cr(r[e],o)},n)}function vn(t,e,n=Z,r=!1){if(n){const o=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...s)=>{if(n.isUnmounted)return;ge(),de(n);const u=wt(e,n,t,s);return ee(),ye(),u});return r?o.unshift(i):o.push(i),i}}const Lt=t=>(e,n=Z)=>(!Ue||t==="sp")&&vn(t,(...r)=>e(...r),n),$s=Lt("bm"),wr=Lt("m"),Hs=Lt("bu"),Vs=Lt("u"),Ks=Lt("bum"),oi=Lt("um"),Xs=Lt("sp"),Ws=Lt("rtg"),zs=Lt("rtc");function ks(t,e=Z){vn("ec",t,e)}const ii="components",si=Symbol.for("v-ndc");function Ys(t){return k(t)?Gs(ii,t,!1)||t:t||si}function Gs(t,e,n=!0,r=!1){const o=_t||Z;if(o){const i=o.type;if(t===ii){const u=Pu(i,!1);if(u&&(u===e||u===St(e)||u===pn(St(e))))return i}const s=Gr(o[t]||i[t],e)||Gr(o.appContext[t],e);return!s&&r?i:s}}function Gr(t,e){return t&&(t[e]||t[St(e)]||t[pn(St(e))])}function Js(t,e,n,r){let o;const i=n&&n[r];if(S(t)||k(t)){o=new Array(t.length);for(let s=0,u=t.length;se(s,u,void 0,i&&i[u]));else{const s=Object.keys(t);o=new Array(s.length);for(let u=0,c=s.length;ut?yi(t)?Pr(t)||t.proxy:Jn(t.parent):null,Ie=Q(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Jn(t.parent),$root:t=>Jn(t.root),$emit:t=>t.emit,$options:t=>Nr(t),$forceUpdate:t=>t.f||(t.f=()=>xr(t.update)),$nextTick:t=>t.n||(t.n=Ns.bind(t.proxy)),$watch:t=>js.bind(t)}),An=(t,e)=>t!==$&&!t.__isScriptSetup&&U(t,e),Qs={get({_:t},e){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:u,appContext:c}=t;let a;if(e[0]!=="$"){const C=s[e];if(C!==void 0)switch(C){case 1:return r[e];case 2:return o[e];case 4:return n[e];case 3:return i[e]}else{if(An(r,e))return s[e]=1,r[e];if(o!==$&&U(o,e))return s[e]=2,o[e];if((a=t.propsOptions[0])&&U(a,e))return s[e]=3,i[e];if(n!==$&&U(n,e))return s[e]=4,n[e];Qn&&(s[e]=0)}}const p=Ie[e];let y,x;if(p)return e==="$attrs"&&ft(t,"get",e),p(t);if((y=u.__cssModules)&&(y=y[e]))return y;if(n!==$&&U(n,e))return s[e]=4,n[e];if(x=c.config.globalProperties,U(x,e))return x[e]},set({_:t},e,n){const{data:r,setupState:o,ctx:i}=t;return An(o,e)?(o[e]=n,!0):r!==$&&U(r,e)?(r[e]=n,!0):U(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let u;return!!n[s]||t!==$&&U(t,s)||An(e,s)||(u=i[0])&&U(u,s)||U(r,s)||U(Ie,s)||U(o.config.globalProperties,s)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:U(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Jr(t){return S(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Qn=!0;function Zs(t){const e=Nr(t),n=t.proxy,r=t.ctx;Qn=!1,e.beforeCreate&&Qr(e.beforeCreate,t,"bc");const{data:o,computed:i,methods:s,watch:u,provide:c,inject:a,created:p,beforeMount:y,mounted:x,beforeUpdate:C,updated:P,activated:I,deactivated:K,beforeDestroy:Y,beforeUnmount:tt,destroyed:et,unmounted:D,render:Ut,renderTracked:_e,renderTriggered:qe,errorCaptured:Kt,serverPrefetch:xn,expose:Xt,inheritAttrs:Me,components:$e,directives:He,filters:wn}=e;if(a&&tu(a,r,null),s)for(const X in s){const B=s[X];T(B)&&(r[X]=B.bind(n))}if(o){const X=o.call(n,n);V(X)&&(t.data=je(X))}if(Qn=!0,i)for(const X in i){const B=i[X],Wt=T(B)?B.bind(n,n):T(B.get)?B.get.bind(n,n):xt,Ve=!T(B)&&T(B.set)?B.set.bind(n):xt,zt=ln({get:Wt,set:Ve});Object.defineProperty(r,X,{enumerable:!0,configurable:!0,get:()=>zt.value,set:Nt=>zt.value=Nt})}if(u)for(const X in u)ui(u[X],r,n,X);if(c){const X=T(c)?c.call(n):c;Reflect.ownKeys(X).forEach(B=>{su(B,X[B])})}p&&Qr(p,t,"c");function it(X,B){S(B)?B.forEach(Wt=>X(Wt.bind(n))):B&&X(B.bind(n))}if(it($s,y),it(wr,x),it(Hs,C),it(Vs,P),it(Rs,I),it(Bs,K),it(ks,Kt),it(zs,_e),it(Ws,qe),it(Ks,tt),it(oi,D),it(Xs,xn),S(Xt))if(Xt.length){const X=t.exposed||(t.exposed={});Xt.forEach(B=>{Object.defineProperty(X,B,{get:()=>n[B],set:Wt=>n[B]=Wt})})}else t.exposed||(t.exposed={});Ut&&t.render===xt&&(t.render=Ut),Me!=null&&(t.inheritAttrs=Me),$e&&(t.components=$e),He&&(t.directives=He)}function tu(t,e,n=xt){S(t)&&(t=Zn(t));for(const r in t){const o=t[r];let i;V(o)?"default"in o?i=tn(o.from||r,o.default,!0):i=tn(o.from||r):i=tn(o),ot(i)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):e[r]=i}}function Qr(t,e,n){wt(S(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function ui(t,e,n,r){const o=r.includes(".")?ei(n,r):()=>n[r];if(k(t)){const i=e[t];T(i)&&Pn(o,i)}else if(T(t))Pn(o,t.bind(n));else if(V(t))if(S(t))t.forEach(i=>ui(i,e,n,r));else{const i=T(t.handler)?t.handler.bind(n):e[t.handler];T(i)&&Pn(o,i,t)}}function Nr(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=t.appContext,u=i.get(e);let c;return u?c=u:!o.length&&!n&&!r?c=e:(c={},o.length&&o.forEach(a=>sn(c,a,s,!0)),sn(c,e,s)),V(e)&&i.set(e,c),c}function sn(t,e,n,r=!1){const{mixins:o,extends:i}=e;i&&sn(t,i,n,!0),o&&o.forEach(s=>sn(t,s,n,!0));for(const s in e)if(!(r&&s==="expose")){const u=eu[s]||n&&n[s];t[s]=u?u(t[s],e[s]):e[s]}return t}const eu={data:Zr,props:to,emits:to,methods:Oe,computed:Oe,beforeCreate:st,created:st,beforeMount:st,mounted:st,beforeUpdate:st,updated:st,beforeDestroy:st,beforeUnmount:st,destroyed:st,unmounted:st,activated:st,deactivated:st,errorCaptured:st,serverPrefetch:st,components:Oe,directives:Oe,watch:ru,provide:Zr,inject:nu};function Zr(t,e){return e?t?function(){return Q(T(t)?t.call(this,this):t,T(e)?e.call(this,this):e)}:e:t}function nu(t,e){return Oe(Zn(t),Zn(e))}function Zn(t){if(S(t)){const e={};for(let n=0;n1)return n&&T(e)?e.call(r&&r.proxy):e}}function uu(t,e,n,r=!1){const o={},i={};nn(i,Mn,1),t.propsDefaults=Object.create(null),ci(t,e,o,i);for(const s in t.propsOptions[0])s in o||(o[s]=void 0);n?t.props=r?o:ys(o):t.type.props?t.props=o:t.props=i,t.attrs=i}function lu(t,e,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=t,u=j(o),[c]=t.propsOptions;let a=!1;if((r||s>0)&&!(s&16)){if(s&8){const p=t.vnode.dynamicProps;for(let y=0;y{c=!0;const[x,C]=fi(y,e,!0);Q(s,x),C&&u.push(...C)};!n&&e.mixins.length&&e.mixins.forEach(p),t.extends&&p(t.extends),t.mixins&&t.mixins.forEach(p)}if(!i&&!c)return V(t)&&r.set(t,le),le;if(S(i))for(let p=0;p-1,C[1]=I<0||P-1||U(C,"default"))&&u.push(y)}}}const a=[s,u];return V(t)&&r.set(t,a),a}function eo(t){return t[0]!=="$"}function no(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function ro(t,e){return no(t)===no(e)}function oo(t,e){return S(e)?e.findIndex(n=>ro(n,t)):T(e)&&ro(e,t)?0:-1}const ai=t=>t[0]==="_"||t==="$stable",Er=t=>S(t)?t.map(Pt):[Pt(t)],cu=(t,e,n)=>{if(e._n)return e;const r=As((...o)=>Er(e(...o)),n);return r._c=!1,r},hi=(t,e,n)=>{const r=t._ctx;for(const o in t){if(ai(o))continue;const i=t[o];if(T(i))e[o]=cu(o,i,r);else if(i!=null){const s=Er(i);e[o]=()=>s}}},pi=(t,e)=>{const n=Er(e);t.slots.default=()=>n},fu=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=j(e),nn(e,"_",n)):hi(e,t.slots={})}else t.slots={},e&&pi(t,e);nn(t.slots,Mn,1)},au=(t,e,n)=>{const{vnode:r,slots:o}=t;let i=!0,s=$;if(r.shapeFlag&32){const u=e._;u?n&&u===1?i=!1:(Q(o,e),!n&&u===1&&delete o._):(i=!e.$stable,hi(e,o)),s=e}else e&&(pi(t,e),s={default:1});if(i)for(const u in o)!ai(u)&&!(u in s)&&delete o[u]};function er(t,e,n,r,o=!1){if(S(t)){t.forEach((x,C)=>er(x,e&&(S(e)?e[C]:e),n,r,o));return}if(Ze(r)&&!o)return;const i=r.shapeFlag&4?Pr(r.component)||r.component.proxy:r.el,s=o?null:i,{i:u,r:c}=t,a=e&&e.r,p=u.refs===$?u.refs={}:u.refs,y=u.setupState;if(a!=null&&a!==c&&(k(a)?(p[a]=null,U(y,a)&&(y[a]=null)):ot(a)&&(a.value=null)),T(c))Ht(c,u,12,[s,p]);else{const x=k(c),C=ot(c);if(x||C){const P=()=>{if(t.f){const I=x?U(y,c)?y[c]:p[c]:c.value;o?S(I)&&cr(I,i):S(I)?I.includes(i)||I.push(i):x?(p[c]=[i],U(y,c)&&(y[c]=p[c])):(c.value=[i],t.k&&(p[t.k]=c.value))}else x?(p[c]=s,U(y,c)&&(y[c]=s)):C&&(c.value=s,t.k&&(p[t.k]=s))};s?(P.id=-1,ct(P,n)):P()}}}const ct=Us;function hu(t){return pu(t)}function pu(t,e){const n=Xn();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:u,createComment:c,setText:a,setElementText:p,parentNode:y,nextSibling:x,setScopeId:C=xt,insertStaticContent:P}=t,I=(l,f,h,m=null,d=null,_=null,w=!1,v=null,M=!!f.dynamicChildren)=>{if(l===f)return;l&&!we(l,f)&&(m=Ke(l),Nt(l,d,_,!0),l=null),f.patchFlag===-2&&(M=!1,f.dynamicChildren=null);const{type:b,ref:E,shapeFlag:N}=f;switch(b){case _n:K(l,f,h,m);break;case re:Y(l,f,h,m);break;case Sn:l==null&&tt(f,h,m,w);break;case gt:$e(l,f,h,m,d,_,w,v,M);break;default:N&1?Ut(l,f,h,m,d,_,w,v,M):N&6?He(l,f,h,m,d,_,w,v,M):(N&64||N&128)&&b.process(l,f,h,m,d,_,w,v,M,oe)}E!=null&&d&&er(E,l&&l.ref,_,f||l,!f)},K=(l,f,h,m)=>{if(l==null)r(f.el=u(f.children),h,m);else{const d=f.el=l.el;f.children!==l.children&&a(d,f.children)}},Y=(l,f,h,m)=>{l==null?r(f.el=c(f.children||""),h,m):f.el=l.el},tt=(l,f,h,m)=>{[l.el,l.anchor]=P(l.children,f,h,m,l.el,l.anchor)},et=({el:l,anchor:f},h,m)=>{let d;for(;l&&l!==f;)d=x(l),r(l,h,m),l=d;r(f,h,m)},D=({el:l,anchor:f})=>{let h;for(;l&&l!==f;)h=x(l),o(l),l=h;o(f)},Ut=(l,f,h,m,d,_,w,v,M)=>{w=w||f.type==="svg",l==null?_e(f,h,m,d,_,w,v,M):xn(l,f,d,_,w,v,M)},_e=(l,f,h,m,d,_,w,v)=>{let M,b;const{type:E,props:N,shapeFlag:O,transition:A,dirs:L}=l;if(M=l.el=s(l.type,_,N&&N.is,N),O&8?p(M,l.children):O&16&&Kt(l.children,M,null,m,d,_&&E!=="foreignObject",w,v),L&&kt(l,null,m,"created"),qe(M,l,l.scopeId,w,m),N){for(const R in N)R!=="value"&&!Qe(R)&&i(M,R,null,N[R],_,l.children,m,d,Tt);"value"in N&&i(M,"value",null,N.value),(b=N.onVnodeBeforeMount)&&Ct(b,m,l)}L&&kt(l,null,m,"beforeMount");const q=(!d||d&&!d.pendingBranch)&&A&&!A.persisted;q&&A.beforeEnter(M),r(M,f,h),((b=N&&N.onVnodeMounted)||q||L)&&ct(()=>{b&&Ct(b,m,l),q&&A.enter(M),L&&kt(l,null,m,"mounted")},d)},qe=(l,f,h,m,d)=>{if(h&&C(l,h),m)for(let _=0;_{for(let b=M;b{const v=f.el=l.el;let{patchFlag:M,dynamicChildren:b,dirs:E}=f;M|=l.patchFlag&16;const N=l.props||$,O=f.props||$;let A;h&&Yt(h,!1),(A=O.onVnodeBeforeUpdate)&&Ct(A,h,f,l),E&&kt(f,l,h,"beforeUpdate"),h&&Yt(h,!0);const L=d&&f.type!=="foreignObject";if(b?Xt(l.dynamicChildren,b,v,h,m,L,_):w||B(l,f,v,null,h,m,L,_,!1),M>0){if(M&16)Me(v,f,N,O,h,m,d);else if(M&2&&N.class!==O.class&&i(v,"class",null,O.class,d),M&4&&i(v,"style",N.style,O.style,d),M&8){const q=f.dynamicProps;for(let R=0;R{A&&Ct(A,h,f,l),E&&kt(f,l,h,"updated")},m)},Xt=(l,f,h,m,d,_,w)=>{for(let v=0;v{if(h!==m){if(h!==$)for(const v in h)!Qe(v)&&!(v in m)&&i(l,v,h[v],null,w,f.children,d,_,Tt);for(const v in m){if(Qe(v))continue;const M=m[v],b=h[v];M!==b&&v!=="value"&&i(l,v,b,M,w,f.children,d,_,Tt)}"value"in m&&i(l,"value",h.value,m.value)}},$e=(l,f,h,m,d,_,w,v,M)=>{const b=f.el=l?l.el:u(""),E=f.anchor=l?l.anchor:u("");let{patchFlag:N,dynamicChildren:O,slotScopeIds:A}=f;A&&(v=v?v.concat(A):A),l==null?(r(b,h,m),r(E,h,m),Kt(f.children,h,E,d,_,w,v,M)):N>0&&N&64&&O&&l.dynamicChildren?(Xt(l.dynamicChildren,O,h,d,_,w,v),(f.key!=null||d&&f===d.subTree)&&di(l,f,!0)):B(l,f,h,E,d,_,w,v,M)},He=(l,f,h,m,d,_,w,v,M)=>{f.slotScopeIds=v,l==null?f.shapeFlag&512?d.ctx.activate(f,h,m,w,M):wn(f,h,m,d,_,w,M):Dr(l,f,M)},wn=(l,f,h,m,d,_,w)=>{const v=l.component=Nu(l,m,d);if(ni(l)&&(v.ctx.renderer=oe),Eu(v),v.asyncDep){if(d&&d.registerDep(v,it),!l.el){const M=v.subTree=pt(re);Y(null,M,f,h)}return}it(v,l,f,h,d,_,w)},Dr=(l,f,h)=>{const m=f.component=l.component;if(Fs(l,f,h))if(m.asyncDep&&!m.asyncResolved){X(m,f,h);return}else m.next=f,Os(m.update),m.update();else f.el=l.el,m.vnode=f},it=(l,f,h,m,d,_,w)=>{const v=()=>{if(l.isMounted){let{next:E,bu:N,u:O,parent:A,vnode:L}=l,q=E,R;Yt(l,!1),E?(E.el=L.el,X(l,E,w)):E=L,N&&Cn(N),(R=E.props&&E.props.onVnodeBeforeUpdate)&&Ct(R,A,E,L),Yt(l,!0);const z=In(l),dt=l.subTree;l.subTree=z,I(dt,z,y(dt.el),Ke(dt),l,d,_),E.el=z.el,q===null&&Ds(l,z.el),O&&ct(O,d),(R=E.props&&E.props.onVnodeUpdated)&&ct(()=>Ct(R,A,E,L),d)}else{let E;const{el:N,props:O}=f,{bm:A,m:L,parent:q}=l,R=Ze(f);if(Yt(l,!1),A&&Cn(A),!R&&(E=O&&O.onVnodeBeforeMount)&&Ct(E,q,f),Yt(l,!0),N&&En){const z=()=>{l.subTree=In(l),En(N,l.subTree,l,d,null)};R?f.type.__asyncLoader().then(()=>!l.isUnmounted&&z()):z()}else{const z=l.subTree=In(l);I(null,z,h,m,l,d,_),f.el=z.el}if(L&&ct(L,d),!R&&(E=O&&O.onVnodeMounted)){const z=f;ct(()=>Ct(E,q,z),d)}(f.shapeFlag&256||q&&Ze(q.vnode)&&q.vnode.shapeFlag&256)&&l.a&&ct(l.a,d),l.isMounted=!0,f=h=m=null}},M=l.effect=new mr(v,()=>xr(b),l.scope),b=l.update=()=>M.run();b.id=l.uid,Yt(l,!0),b()},X=(l,f,h)=>{f.component=l;const m=l.vnode.props;l.vnode=f,l.next=null,lu(l,f.props,m,h),au(l,f.children,h),ge(),kr(),ye()},B=(l,f,h,m,d,_,w,v,M=!1)=>{const b=l&&l.children,E=l?l.shapeFlag:0,N=f.children,{patchFlag:O,shapeFlag:A}=f;if(O>0){if(O&128){Ve(b,N,h,m,d,_,w,v,M);return}else if(O&256){Wt(b,N,h,m,d,_,w,v,M);return}}A&8?(E&16&&Tt(b,d,_),N!==b&&p(h,N)):E&16?A&16?Ve(b,N,h,m,d,_,w,v,M):Tt(b,d,_,!0):(E&8&&p(h,""),A&16&&Kt(N,h,m,d,_,w,v,M))},Wt=(l,f,h,m,d,_,w,v,M)=>{l=l||le,f=f||le;const b=l.length,E=f.length,N=Math.min(b,E);let O;for(O=0;OE?Tt(l,d,_,!0,!1,N):Kt(f,h,m,d,_,w,v,M,N)},Ve=(l,f,h,m,d,_,w,v,M)=>{let b=0;const E=f.length;let N=l.length-1,O=E-1;for(;b<=N&&b<=O;){const A=l[b],L=f[b]=M?qt(f[b]):Pt(f[b]);if(we(A,L))I(A,L,h,null,d,_,w,v,M);else break;b++}for(;b<=N&&b<=O;){const A=l[N],L=f[O]=M?qt(f[O]):Pt(f[O]);if(we(A,L))I(A,L,h,null,d,_,w,v,M);else break;N--,O--}if(b>N){if(b<=O){const A=O+1,L=AO)for(;b<=N;)Nt(l[b],d,_,!0),b++;else{const A=b,L=b,q=new Map;for(b=L;b<=O;b++){const at=f[b]=M?qt(f[b]):Pt(f[b]);at.key!=null&&q.set(at.key,b)}let R,z=0;const dt=O-L+1;let ie=!1,jr=0;const xe=new Array(dt);for(b=0;b=dt){Nt(at,d,_,!0);continue}let Et;if(at.key!=null)Et=q.get(at.key);else for(R=L;R<=O;R++)if(xe[R-L]===0&&we(at,f[R])){Et=R;break}Et===void 0?Nt(at,d,_,!0):(xe[Et-L]=b+1,Et>=jr?jr=Et:ie=!0,I(at,f[Et],h,null,d,_,w,v,M),z++)}const Rr=ie?du(xe):le;for(R=Rr.length-1,b=dt-1;b>=0;b--){const at=L+b,Et=f[at],Br=at+1{const{el:_,type:w,transition:v,children:M,shapeFlag:b}=l;if(b&6){zt(l.component.subTree,f,h,m);return}if(b&128){l.suspense.move(f,h,m);return}if(b&64){w.move(l,f,h,oe);return}if(w===gt){r(_,f,h);for(let N=0;Nv.enter(_),d);else{const{leave:N,delayLeave:O,afterLeave:A}=v,L=()=>r(_,f,h),q=()=>{N(_,()=>{L(),A&&A()})};O?O(_,L,q):q()}else r(_,f,h)},Nt=(l,f,h,m=!1,d=!1)=>{const{type:_,props:w,ref:v,children:M,dynamicChildren:b,shapeFlag:E,patchFlag:N,dirs:O}=l;if(v!=null&&er(v,null,h,l,!0),E&256){f.ctx.deactivate(l);return}const A=E&1&&O,L=!Ze(l);let q;if(L&&(q=w&&w.onVnodeBeforeUnmount)&&Ct(q,f,l),E&6)Oi(l.component,h,m);else{if(E&128){l.suspense.unmount(h,m);return}A&&kt(l,null,f,"beforeUnmount"),E&64?l.type.remove(l,f,h,d,oe,m):b&&(_!==gt||N>0&&N&64)?Tt(b,f,h,!1,!0):(_===gt&&N&384||!d&&E&16)&&Tt(M,f,h),m&&Lr(l)}(L&&(q=w&&w.onVnodeUnmounted)||A)&&ct(()=>{q&&Ct(q,f,l),A&&kt(l,null,f,"unmounted")},h)},Lr=l=>{const{type:f,el:h,anchor:m,transition:d}=l;if(f===gt){Ei(h,m);return}if(f===Sn){D(l);return}const _=()=>{o(h),d&&!d.persisted&&d.afterLeave&&d.afterLeave()};if(l.shapeFlag&1&&d&&!d.persisted){const{leave:w,delayLeave:v}=d,M=()=>w(h,_);v?v(l.el,_,M):M()}else _()},Ei=(l,f)=>{let h;for(;l!==f;)h=x(l),o(l),l=h;o(f)},Oi=(l,f,h)=>{const{bum:m,scope:d,update:_,subTree:w,um:v}=l;m&&Cn(m),d.stop(),_&&(_.active=!1,Nt(w,l,f,h)),v&&ct(v,f),ct(()=>{l.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Tt=(l,f,h,m=!1,d=!1,_=0)=>{for(let w=_;wl.shapeFlag&6?Ke(l.component.subTree):l.shapeFlag&128?l.suspense.next():x(l.anchor||l.el),Ur=(l,f,h)=>{l==null?f._vnode&&Nt(f._vnode,null,null,!0):I(f._vnode||null,l,f,null,null,null,h),kr(),Yo(),f._vnode=l},oe={p:I,um:Nt,m:zt,r:Lr,mt:wn,mc:Kt,pc:B,pbc:Xt,n:Ke,o:t};let Nn,En;return e&&([Nn,En]=e(oe)),{render:Ur,hydrate:Nn,createApp:iu(Ur,Nn)}}function Yt({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function di(t,e,n=!1){const r=t.children,o=e.children;if(S(r)&&S(o))for(let i=0;i>1,t[n[u]]0&&(e[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=e[s];return n}const mu=t=>t.__isTeleport,gt=Symbol.for("v-fgt"),_n=Symbol.for("v-txt"),re=Symbol.for("v-cmt"),Sn=Symbol.for("v-stc"),Pe=[];let Mt=null;function rt(t=!1){Pe.push(Mt=t?null:[])}function gu(){Pe.pop(),Mt=Pe[Pe.length-1]||null}let Le=1;function io(t){Le+=t}function mi(t){return t.dynamicChildren=Le>0?Mt||le:null,gu(),Le>0&&Mt&&Mt.push(t),t}function ht(t,e,n,r,o,i){return mi(J(t,e,n,r,o,i,!0))}function Or(t,e,n,r,o){return mi(pt(t,e,n,r,o,!0))}function yu(t){return t?t.__v_isVNode===!0:!1}function we(t,e){return t.type===e.type&&t.key===e.key}const Mn="__vInternal",gi=({key:t})=>t??null,en=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?k(t)||ot(t)||T(t)?{i:_t,r:t,k:e,f:!!n}:t:null);function J(t,e=null,n=null,r=0,o=null,i=t===gt?0:1,s=!1,u=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&gi(e),ref:e&&en(e),scopeId:bn,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:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:_t};return u?(Cr(c,n),i&128&&t.normalize(c)):n&&(c.shapeFlag|=k(n)?8:16),Le>0&&!s&&Mt&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Mt.push(c),c}const pt=bu;function bu(t,e=null,n=null,r=0,o=null,i=!1){if((!t||t===si)&&(t=re),yu(t)){const u=pe(t,e,!0);return n&&Cr(u,n),Le>0&&!i&&Mt&&(u.shapeFlag&6?Mt[Mt.indexOf(t)]=u:Mt.push(u)),u.patchFlag|=-2,u}if(Au(t)&&(t=t.__vccOpts),e){e=vu(e);let{class:u,style:c}=e;u&&!k(u)&&(e.class=dn(u)),V(c)&&(Ho(c)&&!S(c)&&(c=Q({},c)),e.style=hr(c))}const s=k(t)?1:Ls(t)?128:mu(t)?64:V(t)?4:T(t)?2:0;return J(t,e,n,r,o,s,i,!0)}function vu(t){return t?Ho(t)||Mn in t?Q({},t):t:null}function pe(t,e,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=t,u=e?Mu(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&gi(u),ref:e&&e.ref?n&&o?S(o)?o.concat(en(e)):[o,en(e)]:en(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==gt?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&pe(t.ssContent),ssFallback:t.ssFallback&&pe(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function _u(t=" ",e=0){return pt(_n,null,t,e)}function so(t="",e=!1){return e?(rt(),Or(re,null,t)):pt(re,null,t)}function Pt(t){return t==null||typeof t=="boolean"?pt(re):S(t)?pt(gt,null,t.slice()):typeof t=="object"?qt(t):pt(_n,null,String(t))}function qt(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:pe(t)}function Cr(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(S(e))n=16;else if(typeof e=="object")if(r&65){const o=e.default;o&&(o._c&&(o._d=!1),Cr(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Mn in e)?e._ctx=_t:o===3&&_t&&(_t.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else T(e)?(e={default:e,_ctx:_t},n=32):(e=String(e),r&64?(n=16,e=[_u(e)]):n=8);t.children=e,t.shapeFlag|=n}function Mu(...t){const e={};for(let n=0;nZ=t),Ir=t=>{se.length>1?se.forEach(e=>e(t)):se[0](t)};const de=t=>{Ir(t),t.scope.on()},ee=()=>{Z&&Z.scope.off(),Ir(null)};function yi(t){return t.vnode.shapeFlag&4}let Ue=!1;function Eu(t,e=!1){Ue=e;const{props:n,children:r}=t.vnode,o=yi(t);uu(t,n,o,e),fu(t,r);const i=o?Ou(t,e):void 0;return Ue=!1,i}function Ou(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Vo(new Proxy(t.ctx,Qs));const{setup:r}=n;if(r){const o=t.setupContext=r.length>1?Iu(t):null;de(t),ge();const i=Ht(r,t,0,[t.props,o]);if(ye(),ee(),Oo(i)){if(i.then(ee,ee),e)return i.then(s=>{lo(t,s,e)}).catch(s=>{gn(s,t,0)});t.asyncDep=i}else lo(t,i,e)}else bi(t,e)}function lo(t,e,n){T(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:V(e)&&(t.setupState=Wo(e)),bi(t,n)}let co;function bi(t,e,n){const r=t.type;if(!t.render){if(!e&&co&&!r.render){const o=r.template||Nr(t).template;if(o){const{isCustomElement:i,compilerOptions:s}=t.appContext.config,{delimiters:u,compilerOptions:c}=r,a=Q(Q({isCustomElement:i,delimiters:u},s),c);r.render=co(o,a)}}t.render=r.render||xt}de(t),ge(),Zs(t),ye(),ee()}function Cu(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return ft(t,"get","$attrs"),e[n]}}))}function Iu(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return Cu(t)},slots:t.slots,emit:t.emit,expose:e}}function Pr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Wo(Vo(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Ie)return Ie[n](t)},has(e,n){return n in e||n in Ie}}))}function Pu(t,e=!0){return T(t)?t.displayName||t.name:t.name||e&&t.__name}function Au(t){return T(t)&&"__vccOpts"in t}const ln=(t,e)=>xs(t,e,Ue),Su=Symbol.for("v-scx"),Tu=()=>tn(Su),Fu="3.3.4",Du="http://www.w3.org/2000/svg",Jt=typeof document<"u"?document:null,fo=Jt&&Jt.createElement("template"),Lu={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const o=e?Jt.createElementNS(Du,t):Jt.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>Jt.createTextNode(t),createComment:t=>Jt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Jt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,i){const s=n?n.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{fo.innerHTML=r?`${t}`:t;const u=fo.content;if(r){const c=u.firstChild;for(;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}e.insertBefore(u,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function Uu(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function ju(t,e,n){const r=t.style,o=k(n);if(n&&!o){if(e&&!k(e))for(const i in e)n[i]==null&&nr(r,i,"");for(const i in n)nr(r,i,n[i])}else{const i=r.display;o?e!==n&&(r.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(r.display=i)}}const ao=/\s*!important$/;function nr(t,e,n){if(S(n))n.forEach(r=>nr(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=Ru(t,e);ao.test(n)?t.setProperty(me(r),n.replace(ao,""),"important"):t[r]=n}}const ho=["Webkit","Moz","ms"],Tn={};function Ru(t,e){const n=Tn[e];if(n)return n;let r=St(e);if(r!=="filter"&&r in t)return Tn[e]=r;r=pn(r);for(let o=0;oFn||(Xu.then(()=>Fn=0),Fn=Date.now());function zu(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;wt(ku(r,n.value),e,5,[r])};return n.value=t,n.attached=Wu(),n}function ku(t,e){if(S(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>o=>!o._stopped&&r&&r(o))}else return e}const go=/^on[a-z]/,Yu=(t,e,n,r,o=!1,i,s,u,c)=>{e==="class"?Uu(t,r,o):e==="style"?ju(t,n,r):fn(e)?lr(e)||Vu(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Gu(t,e,r,o))?qu(t,e,r,i,s,u,c):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),Bu(t,e,r,o))};function Gu(t,e,n,r){return r?!!(e==="innerHTML"||e==="textContent"||e in t&&go.test(e)&&T(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||go.test(e)&&k(n)?!1:e in t}const Ju=Q({patchProp:Yu},Lu);let yo;function Qu(){return yo||(yo=hu(Ju))}const Zu=(...t)=>{const e=Qu().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=tl(r);if(!o)return;const i=e._component;!T(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},e};function tl(t){return k(t)?document.querySelector(t):t}function el(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var nl=function(t,e,n){if(t==null||e==null)return t;var r=String(t),o=typeof e=="number"?e:parseInt(e,10);if(isNaN(o)||!isFinite(o))return r;var i=r.length;if(i>=o)return r;var s=n==null?"":String(n);s===""&&(s=" ");for(var u=o-i;s.lengthu?s.substr(0,u):s;return r+c};const Dn=el(nl);var It=9e15,Je=function(){for(var t=[],e=-323;e<=308;e++)t.push(+("1e"+e));return function(n){return t[n+323]}}(),g=function(t){return t instanceof F?t:new F(t)},lt=function(t,e){return new F().fromMantissaExponent(t,e)},Qt=function(t,e){return new F().fromMantissaExponent_noNormalize(t,e)};function rl(t,e,n,r){var o=e.mul(n.pow(r));return F.floor(t.div(o).mul(n.sub(1)).add(1).log10()/n.log10())}function ol(t,e,n,r){return e.mul(n.pow(r)).mul(F.sub(1,n.pow(t))).div(F.sub(1,n))}var F=function(){function t(e){this.mantissa=NaN,this.exponent=NaN,e===void 0?(this.m=0,this.e=0):e instanceof t?this.fromDecimal(e):typeof e=="number"?this.fromNumber(e):this.fromString(e)}return Object.defineProperty(t.prototype,"m",{get:function(){return this.mantissa},set:function(e){this.mantissa=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"e",{get:function(){return this.exponent},set:function(e){this.exponent=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"s",{get:function(){return this.sign()},set:function(e){if(e===0)return this.e=0,void(this.m=0);this.sgn()!==e&&(this.m=-this.m)},enumerable:!1,configurable:!0}),t.fromMantissaExponent=function(e,n){return new t().fromMantissaExponent(e,n)},t.fromMantissaExponent_noNormalize=function(e,n){return new t().fromMantissaExponent_noNormalize(e,n)},t.fromDecimal=function(e){return new t().fromDecimal(e)},t.fromNumber=function(e){return new t().fromNumber(e)},t.fromString=function(e){return new t().fromString(e)},t.fromValue=function(e){return new t().fromValue(e)},t.fromValue_noAlloc=function(e){return e instanceof t?e:new t(e)},t.abs=function(e){return g(e).abs()},t.neg=function(e){return g(e).neg()},t.negate=function(e){return g(e).neg()},t.negated=function(e){return g(e).neg()},t.sign=function(e){return g(e).sign()},t.sgn=function(e){return g(e).sign()},t.round=function(e){return g(e).round()},t.floor=function(e){return g(e).floor()},t.ceil=function(e){return g(e).ceil()},t.trunc=function(e){return g(e).trunc()},t.add=function(e,n){return g(e).add(n)},t.plus=function(e,n){return g(e).add(n)},t.sub=function(e,n){return g(e).sub(n)},t.subtract=function(e,n){return g(e).sub(n)},t.minus=function(e,n){return g(e).sub(n)},t.mul=function(e,n){return g(e).mul(n)},t.multiply=function(e,n){return g(e).mul(n)},t.times=function(e,n){return g(e).mul(n)},t.div=function(e,n){return g(e).div(n)},t.divide=function(e,n){return g(e).div(n)},t.recip=function(e){return g(e).recip()},t.reciprocal=function(e){return g(e).recip()},t.reciprocate=function(e){return g(e).reciprocate()},t.cmp=function(e,n){return g(e).cmp(n)},t.compare=function(e,n){return g(e).cmp(n)},t.eq=function(e,n){return g(e).eq(n)},t.equals=function(e,n){return g(e).eq(n)},t.neq=function(e,n){return g(e).neq(n)},t.notEquals=function(e,n){return g(e).notEquals(n)},t.lt=function(e,n){return g(e).lt(n)},t.lte=function(e,n){return g(e).lte(n)},t.gt=function(e,n){return g(e).gt(n)},t.gte=function(e,n){return g(e).gte(n)},t.max=function(e,n){return g(e).max(n)},t.min=function(e,n){return g(e).min(n)},t.clamp=function(e,n,r){return g(e).clamp(n,r)},t.clampMin=function(e,n){return g(e).clampMin(n)},t.clampMax=function(e,n){return g(e).clampMax(n)},t.cmp_tolerance=function(e,n,r){return g(e).cmp_tolerance(n,r)},t.compare_tolerance=function(e,n,r){return g(e).cmp_tolerance(n,r)},t.eq_tolerance=function(e,n,r){return g(e).eq_tolerance(n,r)},t.equals_tolerance=function(e,n,r){return g(e).eq_tolerance(n,r)},t.neq_tolerance=function(e,n,r){return g(e).neq_tolerance(n,r)},t.notEquals_tolerance=function(e,n,r){return g(e).notEquals_tolerance(n,r)},t.lt_tolerance=function(e,n,r){return g(e).lt_tolerance(n,r)},t.lte_tolerance=function(e,n,r){return g(e).lte_tolerance(n,r)},t.gt_tolerance=function(e,n,r){return g(e).gt_tolerance(n,r)},t.gte_tolerance=function(e,n,r){return g(e).gte_tolerance(n,r)},t.log10=function(e){return g(e).log10()},t.absLog10=function(e){return g(e).absLog10()},t.pLog10=function(e){return g(e).pLog10()},t.log=function(e,n){return g(e).log(n)},t.log2=function(e){return g(e).log2()},t.ln=function(e){return g(e).ln()},t.logarithm=function(e,n){return g(e).logarithm(n)},t.pow10=function(e){return Number.isInteger(e)?Qt(1,e):lt(Math.pow(10,e%1),Math.trunc(e))},t.pow=function(e,n){return typeof e=="number"&&e===10&&typeof n=="number"&&Number.isInteger(n)?Qt(1,n):g(e).pow(n)},t.exp=function(e){return g(e).exp()},t.sqr=function(e){return g(e).sqr()},t.sqrt=function(e){return g(e).sqrt()},t.cube=function(e){return g(e).cube()},t.cbrt=function(e){return g(e).cbrt()},t.dp=function(e){return g(e).dp()},t.decimalPlaces=function(e){return g(e).dp()},t.affordGeometricSeries=function(e,n,r,o){return rl(g(e),g(n),g(r),o)},t.sumGeometricSeries=function(e,n,r,o){return ol(e,g(n),g(r),o)},t.affordArithmeticSeries=function(e,n,r,o){return function(i,s,u,c){var a=s.add(c.mul(u)).sub(u.div(2)),p=a.pow(2);return a.neg().add(p.add(u.mul(i).mul(2)).sqrt()).div(u).floor()}(g(e),g(n),g(r),g(o))},t.sumArithmeticSeries=function(e,n,r,o){return function(i,s,u,c){var a=s.add(c.mul(u));return i.div(2).mul(a.mul(2).plus(i.sub(1).mul(u)))}(g(e),g(n),g(r),g(o))},t.efficiencyOfPurchase=function(e,n,r){return function(o,i,s){return o.div(i).add(o.div(s))}(g(e),g(n),g(r))},t.randomDecimalForTesting=function(e){if(20*Math.random()<1)return Qt(0,0);var n=10*Math.random();10*Math.random()<1&&(n=Math.round(n)),n*=Math.sign(2*Math.random()-1);var r=Math.floor(Math.random()*e*2)-e;return lt(n,r)},t.prototype.normalize=function(){if(this.m>=1&&this.m<10)return this;if(this.m===0)return this.m=0,this.e=0,this;var e=Math.floor(Math.log10(Math.abs(this.m)));return this.m=e===-324?10*this.m/1e-323:this.m/Je(e),this.e+=e,this},t.prototype.fromMantissaExponent=function(e,n){return isFinite(e)&&isFinite(n)?(this.m=e,this.e=n,this.normalize(),this):(e=Number.NaN,n=Number.NaN,this)},t.prototype.fromMantissaExponent_noNormalize=function(e,n){return this.m=e,this.e=n,this},t.prototype.fromDecimal=function(e){return this.m=e.m,this.e=e.e,this},t.prototype.fromNumber=function(e){return isNaN(e)?(this.m=Number.NaN,this.e=Number.NaN):e===Number.POSITIVE_INFINITY?(this.m=1,this.e=It):e===Number.NEGATIVE_INFINITY?(this.m=-1,this.e=It):e===0?(this.m=0,this.e=0):(this.e=Math.floor(Math.log10(Math.abs(e))),this.m=this.e===-324?10*e/1e-323:e/Je(this.e),this.normalize()),this},t.prototype.fromString=function(e){if(e.indexOf("e")!==-1){var n=e.split("e");this.m=parseFloat(n[0]),this.e=parseFloat(n[1]),this.normalize()}else if(e==="NaN")this.m=Number.NaN,this.e=Number.NaN;else if(this.fromNumber(parseFloat(e)),isNaN(this.m))throw Error("[DecimalError] Invalid argument: "+e);return this},t.prototype.fromValue=function(e){return e instanceof t?this.fromDecimal(e):typeof e=="number"?this.fromNumber(e):typeof e=="string"?this.fromString(e):(this.m=0,this.e=0,this)},t.prototype.toNumber=function(){if(!isFinite(this.e))return Number.NaN;if(this.e>308)return this.m>0?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(this.e<-324)return 0;if(this.e===-324)return this.m>0?5e-324:-5e-324;var e=this.m*Je(this.e);if(!isFinite(e)||this.e<0)return e;var n=Math.round(e);return Math.abs(n-e)<1e-10?n:e},t.prototype.mantissaWithDecimalPlaces=function(e){if(isNaN(this.m)||isNaN(this.e))return Number.NaN;if(this.m===0)return 0;var n=e+1,r=Math.ceil(Math.log10(Math.abs(this.m))),o=Math.round(this.m*Math.pow(10,n-r))*Math.pow(10,r-n);return parseFloat(o.toFixed(Math.max(n-r,0)))},t.prototype.toString=function(){return isNaN(this.m)||isNaN(this.e)?"NaN":this.e>=It?this.m>0?"Infinity":"-Infinity":this.e<=-It||this.m===0?"0":this.e<21&&this.e>-7?this.toNumber().toString():this.m+"e"+(this.e>=0?"+":"")+this.e},t.prototype.toExponential=function(e){if(isNaN(this.m)||isNaN(this.e))return"NaN";if(this.e>=It)return this.m>0?"Infinity":"-Infinity";if(this.e<=-It||this.m===0)return"0"+(e>0?Dn(".",e+1,"0"):"")+"e+0";if(this.e>-324&&this.e<308)return this.toNumber().toExponential(e);isFinite(e)||(e=17);var n=e+1,r=Math.max(1,Math.ceil(Math.log10(Math.abs(this.m))));return(Math.round(this.m*Math.pow(10,n-r))*Math.pow(10,r-n)).toFixed(Math.max(n-r,0))+"e"+(this.e>=0?"+":"")+this.e},t.prototype.toFixed=function(e){return isNaN(this.m)||isNaN(this.e)?"NaN":this.e>=It?this.m>0?"Infinity":"-Infinity":this.e<=-It||this.m===0?"0"+(e>0?Dn(".",e+1,"0"):""):this.e>=17?this.m.toString().replace(".","").padEnd(this.e+1,"0")+(e>0?Dn(".",e+1,"0"):""):this.toNumber().toFixed(e)},t.prototype.toPrecision=function(e){return this.e<=-7?this.toExponential(e-1):e>this.e?this.toFixed(e-this.e-1):this.toExponential(e-1)},t.prototype.valueOf=function(){return this.toString()},t.prototype.toJSON=function(){return this.toString()},t.prototype.toStringWithDecimalPlaces=function(e){return this.toExponential(e)},t.prototype.abs=function(){return Qt(Math.abs(this.m),this.e)},t.prototype.neg=function(){return Qt(-this.m,this.e)},t.prototype.negate=function(){return this.neg()},t.prototype.negated=function(){return this.neg()},t.prototype.sign=function(){return Math.sign(this.m)},t.prototype.sgn=function(){return this.sign()},t.prototype.round=function(){return this.e<-1?new t(0):this.e<17?new t(Math.round(this.toNumber())):this},t.prototype.floor=function(){return this.e<-1?Math.sign(this.m)>=0?new t(0):new t(-1):this.e<17?new t(Math.floor(this.toNumber())):this},t.prototype.ceil=function(){return this.e<-1?Math.sign(this.m)>0?new t(1):new t(0):this.e<17?new t(Math.ceil(this.toNumber())):this},t.prototype.trunc=function(){return this.e<0?new t(0):this.e<17?new t(Math.trunc(this.toNumber())):this},t.prototype.add=function(e){var n,r,o=g(e);if(this.m===0)return o;if(o.m===0)return this;if(this.e>=o.e?(n=this,r=o):(n=o,r=this),n.e-r.e>17)return n;var i=Math.round(1e14*n.m+1e14*r.m*Je(r.e-n.e));return lt(i,n.e-14)},t.prototype.plus=function(e){return this.add(e)},t.prototype.sub=function(e){return this.add(g(e).neg())},t.prototype.subtract=function(e){return this.sub(e)},t.prototype.minus=function(e){return this.sub(e)},t.prototype.mul=function(e){if(typeof e=="number")return e<1e307&&e>-1e307?lt(this.m*e,this.e):lt(1e-307*this.m*e,this.e+307);var n=typeof e=="string"?new t(e):e;return lt(this.m*n.m,this.e+n.e)},t.prototype.multiply=function(e){return this.mul(e)},t.prototype.times=function(e){return this.mul(e)},t.prototype.div=function(e){return this.mul(g(e).recip())},t.prototype.divide=function(e){return this.div(e)},t.prototype.divideBy=function(e){return this.div(e)},t.prototype.dividedBy=function(e){return this.div(e)},t.prototype.recip=function(){return lt(1/this.m,-this.e)},t.prototype.reciprocal=function(){return this.recip()},t.prototype.reciprocate=function(){return this.recip()},t.prototype.cmp=function(e){var n=g(e);if(this.m===0){if(n.m===0)return 0;if(n.m<0)return 1;if(n.m>0)return-1}if(n.m===0){if(this.m<0)return-1;if(this.m>0)return 1}if(this.m>0)return n.m<0||this.e>n.e?1:this.en.m?1:this.m0||this.e>n.e?-1:this.en.m?1:this.m0:n.m===0?this.m<=0:this.e===n.e?this.m0?n.m>0&&this.e0||this.e>n.e},t.prototype.lte=function(e){return!this.gt(e)},t.prototype.gt=function(e){var n=g(e);return this.m===0?n.m<0:n.m===0?this.m>0:this.e===n.e?this.m>n.m:this.m>0?n.m<0||this.e>n.e:n.m<0&&this.e-1},t.prototype.greaterThan=function(e){return this.cmp(e)>0},t.prototype.decimalPlaces=function(){return this.dp()},t.prototype.dp=function(){if(!isFinite(this.mantissa))return NaN;if(this.exponent>=17)return 0;for(var e=this.mantissa,n=-this.exponent,r=1;Math.abs(Math.round(e*r)/r-e)>1e-10;)r*=10,n++;return n>0?n:0},Object.defineProperty(t,"MAX_VALUE",{get:function(){return il},enumerable:!1,configurable:!0}),Object.defineProperty(t,"MIN_VALUE",{get:function(){return sl},enumerable:!1,configurable:!0}),Object.defineProperty(t,"NUMBER_MAX_VALUE",{get:function(){return ul},enumerable:!1,configurable:!0}),Object.defineProperty(t,"NUMBER_MIN_VALUE",{get:function(){return ll},enumerable:!1,configurable:!0}),t}(),il=Qt(1,It),sl=Qt(1,-It),ul=g(Number.MAX_VALUE),ll=g(Number.MIN_VALUE);class cl{constructor(){Ot(this,"position",[0,0]);Ot(this,"grass",new F(0));Ot(this,"grassUpgrades",[])}}const ut=je(new cl);var rr=function(t,e){return rr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},rr(t,e)};function H(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");rr(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var cn={isInfinite:function(e){return e.gte(F.MAX_VALUE)},exponentCommas:{show:!0,min:1e5,max:1e9},exponentDefaultPlaces:3};function fl(t,e){return e===0?t.slice(-3):t.slice(-3*(e+1),-3*e)}function al(t){return Array.from(Array(Math.ceil(t.length/3))).map(function(e,n){return fl(t,n)}).reverse().join(",")}function Ar(t){var e=t.toString().split(".");return e[0]=e[0].replace(/\w+$/g,al),e.join(".")}function hl(t){var e=t.exponent%3;return F.fromMantissaExponent_noNormalize(t.mantissa*Math.pow(10,e),t.exponent-e)}var bo=["K","M","B","T","Qa","Qt","Sx","Sp","Oc","No"],pl=[["","U","D","T","Qa","Qt","Sx","Sp","O","N"],["","Dc","Vg","Tg","Qd","Qi","Se","St","Og","Nn"],["","Ce","Dn","Tc","Qe","Qu","Sc","Si","Oe","Ne"]],dl=["","MI-","MC-","NA-","PC-","FM-","AT-","ZP-"];function ml(t){var e=t-1;if(e===-1)return"";if(e0;)n.push(pl[n.length%3][r%10]),r=Math.floor(r/10);for(;n.length%3!==0;)n.push("");for(var o="",i=n.length/3-1;i>=0;i--)o+=n.slice(i*3,i*3+3).join("")+dl[i];return o.replace(/-[A-Z]{2}-/g,"-").replace(/U([A-Z]{2}-)/g,"$1").replace(/-$/,"")}function vi(t){return to;){var s=r%o,u=(s===0?o:s)-1;i.push(this.letters[u]),r=(r-s)/o,s===0&&r--}return i.push(this.letters[r-1]),i.reverse()},e}(yl),bl="abcdefghijklmnopqrstuvwxyz",vl=function(t){H(e,t);function e(){return t.call(this,bl)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Letters"},enumerable:!1,configurable:!0}),e}(Mi),_l=["😠","🎂","🎄","💀","🍆","👪","🌈","💯","🍦","🎃","💋","😂","🌙","⛔","🐙","💩","❓","☢","🙈","👍","☂","✌","⚠","❌","😋","⚡"];(function(t){H(e,t);function e(){return t.call(this,_l)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Emoji"},enumerable:!1,configurable:!0}),e})(Mi);var Tr=function(t){H(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.name="Standard",n}return e.prototype.formatDecimal=function(n,r,o){return Re(Be,ml,1e3,1,!1," ",!0)(n,r,o)},e}(W),Ml=new Tr;(function(t){H(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Mixed scientific"},enumerable:!1,configurable:!0}),e.prototype.formatDecimal=function(n,r,o){return n.exponent<33?Ml.formatDecimal(n,r,o):Re(Be,this.formatExponent.bind(this),10,1,!1)(n,r,o)},e})(W);var xl=new Tr;(function(t){H(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Mixed engineering"},enumerable:!1,configurable:!0}),e.prototype.formatDecimal=function(n,r,o){return n.exponent<33?xl.formatDecimal(n,r,o):Re(Be,this.formatExponent.bind(this),10,3,!1)(n,r,o)},e})(W);var wl=function(t){H(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Logarithm"},enumerable:!1,configurable:!0}),e.prototype.formatDecimal=function(n,r,o){var i=n.log10();return"e".concat(this.formatExponent(i,r,function(s,u){return s.toFixed(u)},o))},e}(W),Nl=new Sr;(function(t){H(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Mixed Logarithm (Sci)"},enumerable:!1,configurable:!0}),e.prototype.formatDecimal=function(n,r,o){if(n.exponent<33)return Nl.formatDecimal(n,r,o);var i=n.log10();return"e".concat(this.formatExponent(i,r,function(s,u){return s.toFixed(u)},o))},e})(W);var El=function(t){H(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Brackets"},enumerable:!1,configurable:!0}),e.prototype.formatDecimal=function(n){for(var r=[")","[","{","]","(","}"],o=Math.LN10/Math.log(6)*n.log10(),i=Math.floor(o),s=o-i,u=Math.floor(s*36),c="";i>=6;){var a=i%6;i-=a,i/=6,c=r[a]+c}return c="e".concat(r[i]).concat(c,"."),c+=r[Math.floor(u/6)],c+=r[u%6],c},e}(W),Ol=Math.log10(Number.MAX_VALUE),Cl=function(t){H(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Infinity"},enumerable:!1,configurable:!0}),e.prototype.formatDecimal=function(n,r){var o=n.log10(),i=o/Ol,s=i<1e3?4:3,u=i.toFixed(Math.max(s,r));return"".concat(Ar(u),"∞")},e}(W),Il=[[1e6,"M̄"],[9e5,"C̄M̄"],[5e5,"D̄"],[4e5,"C̄D̄"],[1e5,"C̄"],[9e4,"X̄C̄"],[5e4,"L̄"],[4e4,"X̄L̄"],[1e4,"X̄"],[9e3,"ⅯX̄"],[5e3,"V̄"],[4e3,"ⅯV̄"],[1e3,"Ⅿ"],[900,"ⅭⅯ"],[500,"Ⅾ"],[400,"ⅭⅮ"],[100,"Ⅽ"],[90,"ⅩⅭ"],[50,"Ⅼ"],[40,"ⅩⅬ"],[10,"Ⅹ"],[9,"ⅠⅩ"],[5,"Ⅴ"],[4,"ⅠⅤ"],[1,"Ⅰ"]],Pl=["","·",":","∴","∷","⁙"],or=4e6,Al=Math.log10(or),Sl=function(t){H(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Roman"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"infinite",{get:function(){return"Infinitus"},enumerable:!1,configurable:!0}),e.prototype.formatUnder1000=function(n){return this.romanize(n)},e.prototype.formatDecimal=function(n){if(n.lt(or))return this.romanize(n.toNumber());var r=n.log10(),o=r/Al,i=Math.pow(or,o-Math.floor(o));return"".concat(this.romanize(i),"↑").concat(this.formatDecimal(new F(o)))},e.prototype.romanize=function(n){for(var r="",o=0,i=Il;o5&&(a-=6,r+="S"),r+=Pl[a],r)},e}(W),Ln="⠀⠁⠂⠃⠄⠅⠆⠇⠈⠉⠊⠋⠌⠍⠎⠏⠐⠑⠒⠓⠔⠕⠖⠗⠘⠙⠚⠛⠜⠝⠞⠟⠠⠡⠢⠣⠤⠥⠦⠧⠨⠩⠪⠫⠬⠭⠮⠯⠰⠱⠲⠳⠴⠵⠶⠷⠸⠹⠺⠻⠼⠽⠾⠿⡀⡁⡂⡃⡄⡅⡆⡇⡈⡉⡊⡋⡌⡍⡎⡏⡐⡑⡒⡓⡔⡕⡖⡗⡘⡙⡚⡛⡜⡝⡞⡟⡠⡡⡢⡣⡤⡥⡦⡧⡨⡩⡪⡫⡬⡭⡮⡯⡰⡱⡲⡳⡴⡵⡶⡷⡸⡹⡺⡻⡼⡽⡾⡿⢀⢁⢂⢃⢄⢅⢆⢇⢈⢉⢊⢋⢌⢍⢎⢏⢐⢑⢒⢓⢔⢕⢖⢗⢘⢙⢚⢛⢜⢝⢞⢟⢠⢡⢢⢣⢤⢥⢦⢧⢨⢩⢪⢫⢬⢭⢮⢯⢰⢱⢲⢳⢴⢵⢶⢷⢸⢹⢺⢻⢼⢽⢾⢿⣀⣁⣂⣃⣄⣅⣆⣇⣈⣉⣊⣋⣌⣍⣎⣏⣐⣑⣒⣓⣔⣕⣖⣗⣘⣙⣚⣛⣜⣝⣞⣟⣠⣡⣢⣣⣤⣥⣦⣧⣨⣩⣪⣫⣬⣭⣮⣯⣰⣱⣲⣳⣴⣵⣶⣷⣸⣹⣺⣻⣼⣽⣾⣿",Tl=function(t){H(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Dots"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"infinite",{get:function(){return"⣿⠀⣿"},enumerable:!1,configurable:!0}),e.prototype.formatUnder1000=function(n){return this.dotify(n*254)},e.prototype.formatDecimal=function(n){if(n.lt(163870639980315e-7))return this.dotify(n.toNumber()*254);var r=n.log(254),o=Math.floor(r-2),i=Math.pow(254,r-o);return"".concat(this.dotify(o),"⣿").concat(this.dotify(i*254))},e.prototype.dotify=function(n,r){r===void 0&&(r=!1);var o=Math.round(n);return!r&&o<254?Ln[o+1]:o<64516?Ln[Math.floor(o/254)+1]+Ln[o%254+1]:this.dotify(Math.floor(o/64516))+this.dotify(o%64516,!0)},e}(W),vo=["̍","̶","͓","̿","҉","̰","̚","̸","͚","̷"],Fl=["H","E"," ","C","O","M","E","S"];function Dl(t){return t[Math.floor(Math.random()*t.length)]}var Ll=function(t){H(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Zalgo"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"infinite",{get:function(){return Fl.map(function(r){return r+Dl(vo)}).join("")},enumerable:!1,configurable:!0}),e.prototype.formatUnder1000=function(n){return this.heComes(new F(n))},e.prototype.formatDecimal=function(n){return this.heComes(n)},e.prototype.heComes=function(n){for(var r=n.plus(1).log10()/66666*1e3,o=Number(r.toFixed(2)),i=Math.floor(Math.abs(Math.pow(2,30)*(r-o))),s=Array.from(Ar(o)),u=Array.from(i.toString()+r.toFixed(0)),c=0;c0||o===0&&u%2===1)&&(u+=1),u},e}(W),G=[[0,"pL",0],[61611520,"minim",0],[61611520*60,"dram",1],[61611520*60*8,"ounce",2],[61611520*60*8*4,"gill",2],[61611520*60*8*4*2,"cup",3],[61611520*60*8*4*2*2,"pint",4],[61611520*60*8*4*2*2*2,"quart",4],[61611520*60*8*4*2*2*2*4,"gallon",4],[61611520*60*8*4*2*2*2*4*4.5,"pin",3],[61611520*60*8*4*2*2*2*4*9,"firkin",3],[61611520*60*8*4*2*2*2*4*18,"kilderkin",4],[61611520*60*8*4*2*2*2*4*36,"barrel",4],[61611520*60*8*4*2*2*2*4*54,"hogshead",5],[61611520*60*8*4*2*2*2*4*72,"puncheon",6],[61611520*60*8*4*2*2*2*4*108,"butt",7],[61611520*60*8*4*2*2*2*4*216,"tun",7]],Rt=G[1],_o=["minute ","tiny ","petite ","small ","modest ","medium ","generous ","large ","great ","grand ","huge ","gigantic ","immense ","colossal ","vast ","galactic ","cosmic ","infinite ","eternal "],jl=new Set("aeiouAEIOU"),Fr=10*G[G.length-1][0],Rl=Math.log10(Fr),Mo=Math.log10(Fr/Rt[0]),Bl=function(t){H(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Imperial"},enumerable:!1,configurable:!0}),e.prototype.formatUnder1000=function(n){return this.formatDecimal(new F(n))},e.prototype.formatDecimal=function(n){if(n.lt(Fr))return this.convertToVolume(n.toNumber(),_o[0]);for(var r=n.log10()-Rl,o=1;r>Mo;)o++,r/=Mo;return this.convertToVolume(Math.pow(10,r)*Rt[0],_o[o])},e.prototype.convertToVolume=function(n,r){var o=this.findVolumeUnit(n);if(o===0)return this.formatMetric(n);var i=this.checkSmallUnits(r,n,o);if(i!==void 0)return i;var s=G[o],u=Math.floor(n/s[0]),c=n-u*s[0];if(o0&&P>o-s[2];--P){var I=G[P],K=Math.floor(c/I[0]);if(K>9&&P!==1)break;var Y=c-K*I[0];Y<.99*C&&(y=K,x=P,C=Y)}return this.bigAndSmall(r,u,s,y,G[x])},e.prototype.formatMetric=function(n){return n<1e3?"".concat(n<10||n===Math.round(n)?n.toFixed(2):n.toFixed(0),"pL"):n<1e6?"".concat((n/1e3).toPrecision(4),"nL"):"".concat((n/1e6).toPrecision(4),"μL")},e.prototype.checkSmallUnits=function(n,r,o){var i=G[o];if(o<=3&&r+9.5*Rt[0]>G[o+1][0])return this.almostOrShortOf(r,n,1,G[o+1],Rt);if(o===1){var s=Math.round(r*10/i[0]);if(s===10)return this.addArticle(n+i[1]);var u=s<100?1:0;return"".concat((s/10).toFixed(u)," ").concat(n).concat(i[1],"s")}if(o===2){var c=Math.floor(r/i[0]),a=r-c*i[0];if(a>50.5*Rt[0])return this.almostOrShortOf(r,n,c+1,i,Rt);var p=Math.round(a/Rt[0]);return this.bigAndSmall(n,c,i,p,Rt)}},e.prototype.findVolumeUnit=function(n){for(var r=0,o=G.length,i=0;o-r>1;)i=Math.floor((r+o)/2),G[i][0]>n?o=i:r=i;return r},e.prototype.checkAlmost=function(n,r,o,i){var s=G[i];if(r+G[i-s[2]][0]>=s[0])return this.almost(n,o+1,s);var u=G[i+1-s[2]];if(r+u[0]>=s[0])return this.shortOf(n,o+1,s,1,u)},e.prototype.bigAndSmall=function(n,r,o,i,s){var u=this.pluralOrArticle(r,n+o[1]);return i===0?u:"".concat(u," and ").concat(this.pluralOrArticle(i,s[1]))},e.prototype.almost=function(n,r,o){return"almost ".concat(this.pluralOrArticle(r,n+o[1]))},e.prototype.almostOrShortOf=function(n,r,o,i,s){var u=Math.round((o*i[0]-n)/s[0]);return u===0?this.almost(r,o,i):this.shortOf(r,o,i,u,s)},e.prototype.shortOf=function(n,r,o,i,s){return"".concat(this.pluralOrArticle(i,s[1])," short of ").concat(this.pluralOrArticle(r,n+o[1]))},e.prototype.pluralOrArticle=function(n,r){return n===1?this.addArticle(r):"".concat(n," ").concat(r,"s")},e.prototype.addArticle=function(n){return(jl.has(n[0])?"an ":"a ")+n},e}(W),ql=["🕛","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚"],$l=Math.log10(12),Hl=function(t){H(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"Clock"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"infinite",{get:function(){return"🕛🕡"},enumerable:!1,configurable:!0}),e.prototype.formatUnder1000=function(n){return this.clockwise(new F(n))},e.prototype.formatDecimal=function(n){return this.clockwise(n)},e.prototype.clockwise=function(n){if(n.lt(12))return this.hour(n.toNumber());var r=n.log10()/$l,o=Math.floor(r);if(r<301){var i=(Math.pow(12,r-o+1)-12)/11;if(o<13)return this.hour(o-1)+this.hour(i);o-=13;var s="";return o>=144&&(s=this.hour(0),o-=144),s+this.hour(o/12)+this.hour(o%12)+this.hour(i)}o-=301;for(var u=1;o>=1728;)o=(o-1728)/12,++u;return this.hour(u)+this.hour(o/144)+this.hour(o%144/12)+this.hour(o%12)},e.prototype.hour=function(n){return ql[Math.max(Math.min(Math.floor(n),11),0)]},e}(W),vt=10006,Vl=new F(vt),Kl=Math.log10(vt),ne=[],ir=new Array(vt).fill(!1),xi=Math.ceil(Math.sqrt(vt));for(var yt=2;yt0&&(i>1?r.push("".concat(o).concat(Rn[i])):r.push(o)),o=n[s],i=1),s===n.length-1&&(i>1?r.push("".concat(n[s]).concat(Rn[i])):r.push(n[s]));return r.join("×")},e.prototype.findGreatestLtePrimeIndex=function(n){if(n>=Xl)return sr;for(var r=0,o=sr;o!==r+1;){var i=Math.floor((o+r)/2),s=ne[i];if(s===n)return i;n=8;){var c=o%8;o=(o-c)/8,u.push(Ne[c])}return u.push(Ne[o]),u.join("")},e.prototype.flipBars=function(n){for(var r=[],o=0,i=n;o0&&this.buyOne();n--);}buyMax(){for(;this.buyOne(););}}class ic{get amount(){return ut.grass}set amount(e){ut.grass=e}}class Vn extends oc{constructor(n,r,o){super(new ic,n);Ot(this,"_index");Ot(this,"_levelCap");this._index=r,this._levelCap=o}level(){var n,r;return(n=ut.grassUpgrades)[r=this._index]??(n[r]=0),ut.grassUpgrades[this._index]}levelCap(){return this._levelCap}icon(){return"images/Curr/Grass.png"}background(){return"images/Bases/GrassBase.png"}nextCost(){return new F(this.level()*10)}buyOne(){var n,r;return this.level()>=this.levelCap()||this.currency.amount.lt(this.nextCost())?!1:(this.currency.amount=this.currency.amount.minus(this.nextCost()),(n=ut.grassUpgrades)[r=this._index]??(n[r]=0),ut.grassUpgrades[this._index]++,!0)}}class sc{constructor(e,n){Ot(this,"posX");Ot(this,"posY");this.posX=e,this.posY=n}collectGrass(){ut.grass=ut.grass.add(1)}}class uc{growSpeed(){return 1}grassCap(){return 50}cutterLength(){return 6}spawnGrass(e){const n=Math.random()*e.width,r=Math.random()*e.height;return new sc(n,r)}}const No=[new Vn("Hello World",0,100),new Vn("Goodbye world",1,100),new Vn("Where are we",2,100)],lc={class:"upgrade",refresh:0},cc={class:"upgradeImage"},fc=be({__name:"UpgradeCircle",props:{upgrade:{}},emits:["clicked"],setup(t){const n=je(t.upgrade),r=Te(),o=Te(),i=ln(()=>({cheap:n.nextCost()<=n.currency.amount,expensive:n.nextCost()>n.currency.amount}));return wr(()=>{r.value.src=n.icon(),o.value.src=n.background()}),(s,u)=>(rt(),ht("div",lc,[J("div",cc,[J("img",{ref_key:"icon",ref:r,class:"icon",onClick:u[0]||(u[0]=c=>s.$emit("clicked",n))},null,512),J("img",{ref_key:"base",ref:o,class:"base"},null,512)]),J("p",{class:dn(i.value)},"Cost: "+pr(te(wi)(n.nextCost(),2,0)),3)]))}});const ve=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},ac=ve(fc,[["__scopeId","data-v-7b659965"]]),hc=t=>(Qo("data-v-2177af8e"),t=t(),Zo(),t),pc={class:"UpgradeHeader"},dc=hc(()=>J("p",{class:"UpgradeTitle"},"Grass Upgrades",-1)),mc={key:0,class:"UpgradeSpace red"},gc={key:1},yc=be({__name:"UpgradeGrid",setup(t){const e=Te(No[0]),n=Te(!1);function r(o){e.value=o,n.value=!0}return(o,i)=>(rt(),ht("div",pc,[dc,n.value?so("",!0):(rt(),ht("div",mc,[(rt(!0),ht(gt,null,Js(te(No),s=>(rt(),Or(ac,{key:s.description,upgrade:s,onClicked:r},null,8,["upgrade"]))),128))])),n.value?(rt(),ht("div",gc,[J("p",null,pr(e.value.description),1),J("div",null,[J("button",{onClick:i[0]||(i[0]=s=>n.value=!1),class:"CloseBtn"},"Close"),J("button",{onClick:i[1]||(i[1]=(...s)=>e.value.buyOne&&e.value.buyOne(...s)),class:"BuyBtn"},"Buy 1"),J("button",{onClick:i[2]||(i[2]=(...s)=>e.value.buyNext&&e.value.buyNext(...s)),class:"BuyBtn"},"Buy Next"),J("button",{onClick:i[3]||(i[3]=(...s)=>e.value.buyMax&&e.value.buyMax(...s)),class:"BuyBtn"},"Buy Max")])])):so("",!0)]))}});const bc=ve(yc,[["__scopeId","data-v-2177af8e"]]),vc=be({__name:"GrassCanvas",props:{grassField:{}},setup(t){const e=t,{grassField:n}=e;let r=null,o=null,i=0;const s=[],u=Te({x:0,y:0,active:!1});wr(()=>{r=document.querySelector("canvas"),o=r==null?void 0:r.getContext("2d"),setInterval(c,1e3/60,1e3/60)});function c(p){if(r===null||o===null)return;const{x:y,y:x}=u.value,C=n.growSpeed()*p,P=n.grassCap()-s.length;for(i+=Math.min(C,P);i>0;i--){const I=n.spawnGrass(r);y+n.cutterLength()/2<=I.posX||y-n.cutterLength()/2>=I.posY+20||x+n.cutterLength()/2<=I.posX||x-n.cutterLength()/2>=I.posY+20?(s.push(I),o.fillStyle="green",o.fillRect(I.posX,I.posY,20,20)):I.collectGrass()}}function a(p){var C;if(!r||!o||!u.value)return;const y=p.offsetX,x=p.offsetY;u.value.x=y,u.value.y=x;for(const P of s)if(!(y+n.cutterLength()/2<=P.posX||y-n.cutterLength()/2>=P.posX+20||x+n.cutterLength()/2<=P.posY||x-n.cutterLength()/2>=P.posY+20)){const I=s.indexOf(P);s[I].collectGrass(),s.splice(I,1)}o.clearRect(0,0,r.width,r.height);for(const P of s)o.fillStyle="green",o.fillRect(P.posX,P.posY,20,20);(C=u.value)!=null&&C.active&&(o.fillStyle="cyan",o.fillRect(y-n.cutterLength()/2,x-n.cutterLength()/2,n.cutterLength(),n.cutterLength()))}return(p,y)=>(rt(),ht("canvas",{ref_key:"canvas",ref:r,class:"grass-field",onMousemove:a,onMouseenter:y[0]||(y[0]=()=>{u.value.active=!0}),onMouseleave:y[1]||(y[1]=()=>{u.value.active=!1})},null,544))}});const _c=ve(vc,[["__scopeId","data-v-f683c254"]]),Mc={class:"window"},xc=be({__name:"FieldWindow",setup(t){const e=new uc;return(n,r)=>(rt(),ht("div",Mc,[pt(bc),pt(_c,{grassField:te(e)},null,8,["grassField"])]))}});const Kn=ve(xc,[["__scopeId","data-v-ee4dc69c"]]),Ni=[[Kn,Kn],[Kn]],wc={class:"arrow"},Nc=["disabled"],Ec=["disabled"],Oc=["disabled"],Cc=["disabled"],Ic=be({__name:"ArrowButtons",setup(t){function e(r,o){var u;const i=ut.position[0]+r,s=ut.position[1]+o;return((u=Ni[s])==null?void 0:u[i])===void 0}function n(r,o){ut.position[0]+=r,ut.position[1]+=o}return(r,o)=>(rt(),ht("div",wc,[(rt(),ht("button",{class:"arrow",key:1,disabled:e(-1,0),onClick:o[0]||(o[0]=i=>n(-1,0))}," ← ",8,Nc)),(rt(),ht("button",{class:"arrow",key:2,disabled:e(0,-1),onClick:o[1]||(o[1]=i=>n(0,-1))}," ↑ ",8,Ec)),(rt(),ht("button",{class:"arrow",key:3,disabled:e(0,1),onClick:o[2]||(o[2]=i=>n(0,1))}," ↓ ",8,Oc)),(rt(),ht("button",{class:"arrow",key:4,disabled:e(1,0),onClick:o[3]||(o[3]=i=>n(1,0))}," → ",8,Cc))]))}});const Pc=ve(Ic,[["__scopeId","data-v-7b56d3f1"]]),Ac=t=>(Qo("data-v-28465bf6"),t=t(),Zo(),t),Sc=Ac(()=>J("header",null,null,-1)),Tc={class:"header"},Fc={class:"grass"},Dc={class:"footer"},Lc=be({__name:"App",setup(t){const e=ln(()=>ut.position[0]),n=ln(()=>ut.position[1]);return(r,o)=>(rt(),ht(gt,null,[Sc,J("main",null,[J("div",Tc,[J("div",Fc,pr(te(wi)(te(ut).grass,2,0)),1)]),(rt(),Or(Ys(te(Ni)[n.value][e.value]))),J("div",Dc,[pt(Pc)])])],64))}});const Uc=ve(Lc,[["__scopeId","data-v-28465bf6"]]);Zu(Uc).mount("#app"); diff --git a/index.html b/index.html index c82d9e5..8e3ecc4 100644 --- a/index.html +++ b/index.html @@ -2,19 +2,19 @@ - - Vite App - - - - -
+ Really Really GCI + + + + + +