Files

19 lines
70 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();/**
* @vue/shared v3.5.41
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Us(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const G={},ht=[],je=()=>{},qn=()=>!1,rs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),os=e=>e.startsWith("onUpdate:"),le=Object.assign,ks=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},sr=Object.prototype.hasOwnProperty,U=(e,t)=>sr.call(e,t),F=Array.isArray,pt=e=>Lt(e)==="[object Map]",Jn=e=>Lt(e)==="[object Set]",hn=e=>Lt(e)==="[object Date]",D=e=>typeof e=="function",Q=e=>typeof e=="string",$e=e=>typeof e=="symbol",B=e=>e!==null&&typeof e=="object",Gn=e=>(B(e)||D(e))&&D(e.then)&&D(e.catch),Yn=Object.prototype.toString,Lt=e=>Yn.call(e),nr=e=>Lt(e).slice(8,-1),zn=e=>Lt(e)==="[object Object]",Ws=e=>Q(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Et=Us(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ls=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},ir=/-\w/g,xe=ls(e=>e.replace(ir,t=>t.slice(1).toUpperCase())),rr=/\B([A-Z])/g,lt=ls(e=>e.replace(rr,"-$1").toLowerCase()),Xn=ls(e=>e.charAt(0).toUpperCase()+e.slice(1)),ys=ls(e=>e?`on${Xn(e)}`:""),De=(e,t)=>!Object.is(e,t),Gt=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Zn=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Bs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let pn;const cs=()=>pn||(pn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qs(e){if(F(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=Q(n)?fr(n):qs(n);if(i)for(const r in i)t[r]=i[r]}return t}else if(Q(e)||B(e))return e}const or=/;(?![^(]*\))/g,lr=/:([^]+)/,cr=/\/\*[^]*?\*\//g;function fr(e){const t={};return e.replace(cr,"").split(or).forEach(s=>{if(s){const n=s.split(lr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function fs(e){let t="";if(Q(e))t=e;else if(F(e))for(let s=0;s<e.length;s++){const n=fs(e[s]);n&&(t+=n+" ")}else if(B(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const ur="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ar=Us(ur);function Qn(e){return!!e||e===""}function dr(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Js(e[n],t[n]);return s}function Js(e,t){if(e===t)return!0;let s=hn(e),n=hn(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=$e(e),n=$e(t),s||n)return e===t;if(s=F(e),n=F(t),s||n)return s&&n?dr(e,t):!1;if(s=B(e),n=B(t),s||n){if(!s||!n)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!Js(e[o],t[o]))return!1}}return String(e)===String(t)}const ei=e=>!!(e&&e.__v_isRef===!0),te=e=>Q(e)?e:e==null?"":F(e)||B(e)&&(e.toString===Yn||!D(e.toString))?ei(e)?te(e.value):JSON.stringify(e,ti,2):String(e),ti=(e,t)=>ei(t)?ti(e,t.value):pt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],r)=>(s[bs(n,r)+" =>"]=i,s),{})}:Jn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>bs(s))}:$e(t)?bs(t):B(t)&&!F(t)&&!zn(t)?String(t):t,bs=(e,t="")=>{var s;return $e(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
* @vue/reactivity v3.5.41
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ne;class hr{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ne&&(ne.active?(this.parent=ne,this.index=(ne.scopes||(ne.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){const n=this.scopes.slice();for(t=0,s=n.length;t<s;t++)n[t].pause()}for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes){const i=this.scopes.slice();for(t=0,s=i.length;t<s;t++)i[t].resume()}const n=this.effects.slice();for(t=0,s=n.length;t<s;t++)n[t].resume()}}run(t){if(this._active){const s=ne;try{return ne=this,t()}finally{ne=s}}}on(){++this._on===1&&(this.prevScope=ne,ne=this)}off(){if(this._on>0&&--this._on===0){if(ne===this)ne=this.prevScope;else{let t=ne;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){const i=this.scopes.slice();for(s=0,n=i.length;s<n;s++)i[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function pr(){return ne}let X;const vs=new WeakSet;class si{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ne&&(ne.active?ne.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,vs.has(this)&&(vs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ii(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,gn(this),ri(this);const t=X,s=we;X=this,we=!0;try{return this.fn()}finally{oi(this),X=t,we=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)zs(t);this.deps=this.depsTail=void 0,gn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?vs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Rs(this)&&this.run()}get dirty(){return Rs(this)}}let ni=0,Ot,At;function ii(e,t=!1){if(e.flags|=8,t){e.next=At,At=e;return}e.next=Ot,Ot=e}function Gs(){ni++}function Ys(){if(--ni>0)return;if(At){let t=At;for(At=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Ot;){let t=Ot;for(Ot=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function ri(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function oi(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),zs(n),gr(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function Rs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(li(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function li(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Rt)||(e.globalVersion=Rt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Rs(e))))return;e.flags|=2;const t=e.dep,s=X,n=we;X=e,we=!0;try{ri(e);const i=e.fn(e._value);(t.version===0||De(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{X=s,we=n,oi(e),e.flags&=-3}}function zs(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)zs(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function gr(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let we=!0;const ci=[];function Be(){ci.push(we),we=!1}function qe(){const e=ci.pop();we=e===void 0?!0:e}function gn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=X;X=void 0;try{t()}finally{X=s}}}let Rt=0;class _r{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Xs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!X||!we||X===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==X)s=this.activeLink=new _r(X,this),X.deps?(s.prevDep=X.depsTail,X.depsTail.nextDep=s,X.depsTail=s):X.deps=X.depsTail=s,fi(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=X.depsTail,s.nextDep=void 0,X.depsTail.nextDep=s,X.depsTail=s,X.deps===s&&(X.deps=n)}return s}trigger(t){this.version++,Rt++,this.notify(t)}notify(t){Gs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ys()}}}function fi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)fi(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Fs=new WeakMap,it=Symbol(""),Ds=Symbol(""),Ft=Symbol("");function re(e,t,s){if(we&&X){let n=Fs.get(e);n||Fs.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Xs),i.map=n,i.key=s),i.track()}}function Ue(e,t,s,n,i,r){const o=Fs.get(e);if(!o){Rt++;return}const l=f=>{f&&f.trigger()};if(Gs(),t==="clear")o.forEach(l);else{const f=F(e),d=f&&Ws(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,S)=>{(S==="length"||S===Ft||!$e(S)&&S>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(Ft)),t){case"add":f?d&&l(o.get("length")):(l(o.get(it)),pt(e)&&l(o.get(Ds)));break;case"delete":f||(l(o.get(it)),pt(e)&&l(o.get(Ds)));break;case"set":pt(e)&&l(o.get(it));break}}Ys()}function ut(e){const t=K(e);return t===e?t:(re(t,"iterate",Ft),ve(e)?t:t.map(Se))}function us(e){return re(e=K(e),"iterate",Ft),e}function Re(e,t){return Je(e)?mt(rt(e)?Se(t):t):Se(t)}const mr={__proto__:null,[Symbol.iterator](){return xs(this,Symbol.iterator,e=>Re(this,e))},concat(...e){return ut(this).concat(...e.map(t=>F(t)?ut(t):t))},entries(){return xs(this,"entries",e=>(e[1]=Re(this,e[1]),e))},every(e,t){return Le(this,"every",e,t,void 0,arguments)},filter(e,t){return Le(this,"filter",e,t,s=>s.map(n=>Re(this,n)),arguments)},find(e,t){return Le(this,"find",e,t,s=>Re(this,s),arguments)},findIndex(e,t){return Le(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Le(this,"findLast",e,t,s=>Re(this,s),arguments)},findLastIndex(e,t){return Le(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Le(this,"forEach",e,t,void 0,arguments)},includes(...e){return ws(this,"includes",e)},indexOf(...e){return ws(this,"indexOf",e)},join(e){return ut(this).join(e)},lastIndexOf(...e){return ws(this,"lastIndexOf",e)},map(e,t){return Le(this,"map",e,t,void 0,arguments)},pop(){return wt(this,"pop")},push(...e){return wt(this,"push",e)},reduce(e,...t){return _n(this,"reduce",e,t)},reduceRight(e,...t){return _n(this,"reduceRight",e,t)},shift(){return wt(this,"shift")},some(e,t){return Le(this,"some",e,t,void 0,arguments)},splice(...e){return wt(this,"splice",e)},toReversed(){return ut(this).toReversed()},toSorted(e){return ut(this).toSorted(e)},toSpliced(...e){return ut(this).toSpliced(...e)},unshift(...e){return wt(this,"unshift",e)},values(){return xs(this,"values",e=>Re(this,e))}};function xs(e,t,s){const n=us(e),i=n[t]();return n!==e&&!ve(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const yr=Array.prototype;function Le(e,t,s,n,i,r){const o=us(e),l=o!==e&&!ve(e),f=o[t];if(f!==yr[t]){const p=f.apply(e,r);return l?Se(p):p}let d=s;o!==e&&(l?d=function(p,S){return s.call(this,Re(e,p),S,e)}:s.length>2&&(d=function(p,S){return s.call(this,p,S,e)}));const a=f.call(o,d,n);return l&&i?i(a):a}function _n(e,t,s,n){const i=us(e),r=i!==e&&!ve(e);let o=s,l=!1;i!==e&&(r?(l=n.length===0,o=function(d,a,p){return l&&(l=!1,d=Re(e,d)),s.call(this,d,Re(e,a),p,e)}):s.length>3&&(o=function(d,a,p){return s.call(this,d,a,p,e)}));const f=i[t](o,...n);return l?Re(e,f):f}function ws(e,t,s){const n=K(e);re(n,"iterate",Ft);const i=n[t](...s);return(i===-1||i===!1)&&tn(s[0])?(s[0]=K(s[0]),n[t](...s)):i}function wt(e,t,s=[]){Be(),Gs();const n=K(e)[t].apply(e,s);return Ys(),qe(),n}const br=Us("__proto__,__v_isRef,__isVue"),ui=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($e));function vr(e){$e(e)||(e=String(e));const t=K(this);return re(t,"has",e),t.hasOwnProperty(e)}class ai{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?Mr:gi:r?pi:hi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=F(t);if(!i){let f;if(o&&(f=mr[s]))return f;if(s==="hasOwnProperty")return vr}const l=Reflect.get(t,s,oe(t)?t:n);if(($e(s)?ui.has(s):br(s))||(i||re(t,"get",s),r))return l;if(oe(l)){const f=o&&Ws(s)?l:l.value;return i&&B(f)?$s(f):f}return B(l)?i?$s(l):Qs(l):l}}class di extends ai{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];const o=F(t)&&Ws(s);if(!this._isShallow){const d=Je(r);if(!ve(n)&&!Je(n)&&(r=K(r),n=K(n)),!o&&oe(r)&&!oe(n))return d||(r.value=n),!0}const l=o?Number(s)<t.length:U(t,s),f=Reflect.set(t,s,n,oe(t)?t:i);return t===K(i)&&f&&(l?De(n,r)&&Ue(t,"set",s,n):Ue(t,"add",s,n)),f}deleteProperty(t,s){const n=U(t,s);t[s];const i=Reflect.deleteProperty(t,s);return i&&n&&Ue(t,"delete",s,void 0),i}has(t,s){const n=Reflect.has(t,s);return(!$e(s)||!ui.has(s))&&re(t,"has",s),n}ownKeys(t){return re(t,"iterate",F(t)?"length":it),Reflect.ownKeys(t)}}class xr extends ai{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const wr=new di,Sr=new xr,Cr=new di(!0);const js=e=>e,kt=e=>Reflect.getPrototypeOf(e);function Tr(e,t,s){return function(...n){const i=this.__v_raw,r=K(i),o=pt(r),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=i[e](...n),a=s?js:t?mt:Se;return!t&&re(r,"iterate",f?Ds:it),le(Object.create(d),{next(){const{value:p,done:S}=d.next();return S?{value:p,done:S}:{value:l?[a(p[0]),a(p[1])]:a(p),done:S}}})}}function Wt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Er(e,t){const s={get(i){const r=this.__v_raw,o=K(r),l=K(i);e||(De(i,l)&&re(o,"get",i),re(o,"get",l));const{has:f}=kt(o),d=t?js:e?mt:Se;if(f.call(o,i))return d(r.get(i));if(f.call(o,l))return d(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&re(K(i),"iterate",it),i.size},has(i){const r=this.__v_raw,o=K(r),l=K(i);return e||(De(i,l)&&re(o,"has",i),re(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,f=K(l),d=t?js:e?mt:Se;return!e&&re(f,"iterate",it),l.forEach((a,p)=>i.call(r,d(a),d(p),o))}};return le(s,e?{add:Wt("add"),set:Wt("set"),delete:Wt("delete"),clear:Wt("clear")}:{add(i){const r=K(this),o=kt(r),l=K(i),f=!t&&!ve(i)&&!Je(i)?l:i;return o.has.call(r,f)||De(i,f)&&o.has.call(r,i)||De(l,f)&&o.has.call(r,l)||(r.add(f),Ue(r,"add",f,f)),this},set(i,r){!t&&!ve(r)&&!Je(r)&&(r=K(r));const o=K(this),{has:l,get:f}=kt(o);let d=l.call(o,i);d||(i=K(i),d=l.call(o,i));const a=f.call(o,i);return o.set(i,r),d?De(r,a)&&Ue(o,"set",i,r):Ue(o,"add",i,r),this},delete(i){const r=K(this),{has:o,get:l}=kt(r);let f=o.call(r,i);f||(i=K(i),f=o.call(r,i)),l&&l.call(r,i);const d=r.delete(i);return f&&Ue(r,"delete",i,void 0),d},clear(){const i=K(this),r=i.size!==0,o=i.clear();return r&&Ue(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Tr(i,e,t)}),s}function Zs(e,t){const s=Er(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(U(s,i)&&i in n?s:n,i,r)}const Or={get:Zs(!1,!1)},Ar={get:Zs(!1,!0)},Pr={get:Zs(!0,!1)};const hi=new WeakMap,pi=new WeakMap,gi=new WeakMap,Mr=new WeakMap;function Ir(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qs(e){return Je(e)?e:en(e,!1,wr,Or,hi)}function Rr(e){return en(e,!1,Cr,Ar,pi)}function $s(e){return en(e,!0,Sr,Pr,gi)}function en(e,t,s,n,i){if(!B(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=i.get(e);if(r)return r;const o=Ir(nr(e));if(o===0)return e;const l=new Proxy(e,o===2?n:s);return i.set(e,l),l}function rt(e){return Je(e)?rt(e.__v_raw):!!(e&&e.__v_isReactive)}function Je(e){return!!(e&&e.__v_isReadonly)}function ve(e){return!!(e&&e.__v_isShallow)}function tn(e){return e?!!e.__v_raw:!1}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function Fr(e){return!U(e,"__v_skip")&&Object.isExtensible(e)&&Zn(e,"__v_skip",!0),e}const Se=e=>B(e)?Qs(e):e,mt=e=>B(e)?$s(e):e;function oe(e){return e?e.__v_isRef===!0:!1}function Pe(e){return Dr(e,!1)}function Dr(e,t){return oe(e)?e:new jr(e,t)}class jr{constructor(t,s){this.dep=new Xs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:K(t),this._value=s?t:Se(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||ve(t)||Je(t);t=n?t:K(t),De(t,s)&&(this._rawValue=t,this._value=n?t:Se(t),this.dep.trigger())}}function _i(e){return oe(e)?e.value:e}const $r={get:(e,t,s)=>t==="__v_raw"?e:_i(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return oe(i)&&!oe(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function mi(e){return rt(e)?e:new Proxy(e,$r)}class Nr{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Xs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Rt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&X!==this)return ii(this,!0),!0}get value(){const t=this.dep.track();return li(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Lr(e,t,s=!1){let n,i;return D(e)?n=e:(n=e.get,i=e.set),new Nr(n,i,s)}const Bt={},Zt=new WeakMap;let st;function Hr(e,t=!1,s=st){if(s){let n=Zt.get(s);n||Zt.set(s,n=[]),n.push(e)}}function Vr(e,t,s=G){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:f}=s,d=A=>i?A:ve(A)||i===!1||i===0?ke(A,1):ke(A);let a,p,S,E,H=!1,I=!1;if(oe(e)?(p=()=>e.value,H=ve(e)):rt(e)?(p=()=>d(e),H=!0):F(e)?(I=!0,H=e.some(A=>rt(A)||ve(A)),p=()=>e.map(A=>{if(oe(A))return A.value;if(rt(A))return d(A);if(D(A))return f?f(A,2):A()})):D(e)?t?p=f?()=>f(e,2):e:p=()=>{if(S){Be();try{S()}finally{qe()}}const A=st;st=a;try{return f?f(e,3,[E]):e(E)}finally{st=A}}:p=je,t&&i){const A=p,q=i===!0?1/0:i;p=()=>ke(A(),q)}const Z=pr(),Y=()=>{a.stop(),Z&&Z.active&&ks(Z.effects,a)};if(r&&t){const A=t;t=(...q)=>{const ce=A(...q);return Y(),ce}}let j=I?new Array(e.length).fill(Bt):Bt;const V=A=>{if(!(!(a.flags&1)||!a.dirty&&!A))if(t){const q=a.run();if(A||i||H||(I?q.some((ce,_e)=>De(ce,j[_e])):De(q,j))){S&&S();const ce=st;st=a;try{const _e=[q,j===Bt?void 0:I&&j[0]===Bt?[]:j,E];j=q,f?f(t,3,_e):t(..._e)}finally{st=ce}}}else a.run()};return l&&l(V),a=new si(p),a.scheduler=o?()=>o(V,!1):V,E=A=>Hr(A,!1,a),S=a.onStop=()=>{const A=Zt.get(a);if(A){if(f)f(A,4);else for(const q of A)q();Zt.delete(a)}},t?n?V(!0):j=a.run():o?o(V.bind(null,!0),!0):a.run(),Y.pause=a.pause.bind(a),Y.resume=a.resume.bind(a),Y.stop=Y,Y}function ke(e,t=1/0,s){if(t<=0||!B(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,oe(e))ke(e.value,t,s);else if(F(e))for(let n=0;n<e.length;n++)ke(e[n],t,s);else if(Jn(e)||pt(e))e.forEach(n=>{ke(n,t,s)});else if(zn(e)){for(const n in e)ke(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&ke(e[n],t,s)}return e}/**
* @vue/runtime-core v3.5.41
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Ht(e,t,s,n){try{return n?e(...n):e()}catch(i){as(i,t,s)}}function Ce(e,t,s,n){if(D(e)){const i=Ht(e,t,s,n);return i&&Gn(i)&&i.catch(r=>{as(r,t,s)}),i}if(F(e)){const i=[];for(let r=0;r<e.length;r++)i.push(Ce(e[r],t,s,n));return i}}function as(e,t,s,n=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||G;if(t){let l=t.parent;const f=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,f,d)===!1)return}l=l.parent}if(r){Be(),Ht(r,null,10,[e,f,d]),qe();return}}Kr(e,s,i,n,o)}function Kr(e,t,s,n=!0,i=!1){if(i)throw e;console.error(e)}const ae=[];let Ie=-1;const gt=[];let ze=null,at=0;const yi=Promise.resolve();let Qt=null;function Ur(e){const t=Qt||yi;return e?t.then(this?e.bind(this):e):t}function kr(e){let t=Ie+1,s=ae.length;for(;t<s;){const n=t+s>>>1,i=ae[n],r=Dt(i);r<e||r===e&&i.flags&2?t=n+1:s=n}return t}function sn(e){if(!(e.flags&1)){const t=Dt(e),s=ae[ae.length-1];!s||!(e.flags&2)&&t>=Dt(s)?ae.push(e):ae.splice(kr(t),0,e),e.flags|=1,bi()}}function bi(){Qt||(Qt=yi.then(xi))}function Wr(e){if(!F(e))ze&&e.id===-1?ze.splice(at+1,0,e):e.flags&1||(gt.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)gt.push(e[t]);bi()}function mn(e,t,s=Ie+1){for(;s<ae.length;s++){const n=ae[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;ae.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function vi(e){if(gt.length){const t=[...new Set(gt)].sort((s,n)=>Dt(s)-Dt(n));if(gt.length=0,ze){for(let s=0;s<t.length;s++)ze.push(t[s]);return}for(ze=t,at=0;at<ze.length;at++){const s=ze[at];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ze=null,at=0}}const Dt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function xi(e){try{for(Ie=0;Ie<ae.length;Ie++){const t=ae[Ie];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ht(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ie<ae.length;Ie++){const t=ae[Ie];t&&(t.flags&=-2)}Ie=-1,ae.length=0,vi(),Qt=null,(ae.length||gt.length)&&xi()}}let be=null,wi=null;function es(e){const t=be;return be=e,wi=e&&e.type.__scopeId||null,t}function Br(e,t=be,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&Pn(-1);const r=es(t),o=ot.length;let l;try{l=e(...i)}finally{for(let f=ot.length;f>o;f--)Ji();es(r),n._d&&Pn(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function yn(e,t){if(be===null)return e;const s=_s(be),n=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,l,f=G]=t[i];r&&(D(r)&&(r={mounted:r,updated:r}),r.deep&&ke(o),n.push({dir:r,instance:s,value:o,oldValue:void 0,arg:l,modifiers:f}))}return e}function et(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let f=l.dir[n];f&&(Be(),Ce(f,s,8,[e.el,l,e,t]),qe())}}function qr(e,t){if(de){let s=de.provides;const n=de.parent&&de.parent.provides;n===s&&(s=de.provides=Object.create(n)),s[e]=t}}function Yt(e,t,s=!1){const n=Wo();if(n||_t){let i=_t?_t._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return s&&D(t)?t.call(n&&n.proxy):t}}const Jr=Symbol.for("v-scx"),Gr=()=>Yt(Jr);function Ss(e,t,s){return Si(e,t,s)}function Si(e,t,s=G){const{immediate:n,deep:i,flush:r,once:o}=s,l=le({},s),f=t&&n||!t&&r!=="post";let d;if(Nt){if(r==="sync"){const E=Gr();d=E.__watcherHandles||(E.__watcherHandles=[])}else if(!f){const E=()=>{};return E.stop=je,E.resume=je,E.pause=je,E}}const a=de;l.call=(E,H,I)=>Ce(E,a,H,I);let p=!1;r==="post"?l.scheduler=E=>{he(E,a&&a.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(E,H)=>{H?E():sn(E)}),l.augmentJob=E=>{t&&(E.flags|=4),p&&(E.flags|=2,a&&(E.id=a.uid,E.i=a))};const S=Vr(e,t,l);return Nt&&(d?d.push(S):f&&S()),S}function Yr(e,t,s){const n=this.proxy,i=Q(e)?e.includes(".")?Ci(n,e):()=>n[e]:e.bind(n,n);let r;D(t)?r=t:(r=t.handler,s=t);const o=Vt(this),l=Si(i,r.bind(n),s);return o(),l}function Ci(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const zr=Symbol("_vte"),ds=e=>e.__isTeleport,Cs=Symbol("_leaveCb");function Xr(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Ge){t=s;break}}return t}function Ti(e){if(!rn(e))return ds(e.type)&&e.children?Xr(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&D(s.default))return s.default()}}function nn(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;nn(ds(s.type)&&Ti(s)||s,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ei(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function bn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ts=new WeakMap;function Pt(e,t,s,n,i=!1){if(F(e)){e.forEach((I,Z)=>Pt(I,t&&(F(t)?t[Z]:t),s,n,i));return}if(Mt(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Pt(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?_s(n.component):n.el,o=i?null:r,{i:l,r:f}=e,d=t&&t.r,a=l.refs===G?l.refs={}:l.refs,p=l.setupState,S=K(p),E=p===G?qn:I=>bn(a,I)?!1:U(S,I),H=(I,Z)=>!(Z&&bn(a,Z));if(d!=null&&d!==f){if(vn(t),Q(d))a[d]=null,E(d)&&(p[d]=null);else if(oe(d)){const I=t;H(d,I.k)&&(d.value=null),I.k&&(a[I.k]=null)}}if(D(f))Ht(f,l,12,[o,a]);else{const I=Q(f),Z=oe(f);if(I||Z){const Y=()=>{if(e.f){const j=I?E(f)?p[f]:a[f]:H()||!e.k?f.value:a[e.k];if(i)F(j)&&ks(j,r);else if(F(j))j.includes(r)||j.push(r);else if(I)a[f]=[r],E(f)&&(p[f]=a[f]);else{const V=[r];H(f,e.k)&&(f.value=V),e.k&&(a[e.k]=V)}}else I?(a[f]=o,E(f)&&(p[f]=o)):Z&&(H(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const j=()=>{Y(),ts.delete(e)};j.id=-1,ts.set(e,j),he(j,s)}else vn(e),Y()}}}function vn(e){const t=ts.get(e);t&&(t.flags|=8,ts.delete(e))}cs().requestIdleCallback;cs().cancelIdleCallback;const Mt=e=>!!e.type.__asyncLoader,rn=e=>e.type.__isKeepAlive;function Zr(e,t){Oi(e,"a",t)}function Qr(e,t){Oi(e,"da",t)}function Oi(e,t,s=de){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(hs(t,n,s),s){let i=s.parent;for(;i&&i.parent;)rn(i.parent.vnode)&&eo(n,t,s,i),i=i.parent}}function eo(e,t,s,n){const i=hs(t,e,n,!0);Pi(()=>{ks(n[t],i)},s)}function hs(e,t,s=de,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{Be();const l=Vt(s),f=Ce(t,s,e,o);return l(),qe(),f});return n?i.unshift(r):i.push(r),r}}const Ye=e=>(t,s=de)=>{(!Nt||e==="sp")&&hs(e,(...n)=>t(...n),s)},to=Ye("bm"),Ai=Ye("m"),so=Ye("bu"),no=Ye("u"),io=Ye("bum"),Pi=Ye("um"),ro=Ye("sp"),oo=Ye("rtg"),lo=Ye("rtc");function co(e,t=de){hs("ec",e,t)}const fo=Symbol.for("v-ndc");function Ts(e,t,s,n){let i;const r=s,o=F(e);if(o||Q(e)){const l=o&&rt(e);let f=!1,d=!1;l&&(f=!ve(e),d=Je(e),e=us(e)),i=new Array(e.length);for(let a=0,p=e.length;a<p;a++)i[a]=t(f?d?mt(Se(e[a])):Se(e[a]):e[a],a,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r)}else if(B(e))if(e[Symbol.iterator])i=Array.from(e,(l,f)=>t(l,f,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let f=0,d=l.length;f<d;f++){const a=l[f];i[f]=t(e[a],a,f,r)}}else i=[];return i}const Ns=e=>e?Xi(e)?_s(e):Ns(e.parent):null,It=le(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=>Ns(e.parent),$root:e=>Ns(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ii(e),$forceUpdate:e=>e.f||(e.f=()=>{sn(e.update)}),$nextTick:e=>e.n||(e.n=Ur.bind(e.proxy)),$watch:e=>Yr.bind(e)}),Es=(e,t)=>e!==G&&!e.__isScriptSetup&&U(e,t),uo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const S=o[t];if(S!==void 0)switch(S){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(Es(n,t))return o[t]=1,n[t];if(i!==G&&U(i,t))return o[t]=2,i[t];if(U(r,t))return o[t]=3,r[t];if(s!==G&&U(s,t))return o[t]=4,s[t];Ls&&(o[t]=0)}}const d=It[t];let a,p;if(d)return t==="$attrs"&&re(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==G&&U(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,U(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return Es(i,t)?(i[t]=s,!0):n!==G&&U(n,t)?(n[t]=s,!0):U(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let f;return!!(s[l]||e!==G&&l[0]!=="$"&&U(e,l)||Es(t,l)||U(r,l)||U(n,l)||U(It,l)||U(i.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:U(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function xn(e){return F(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Ls=!0;function ao(e){const t=Ii(e),s=e.proxy,n=e.ctx;Ls=!1,t.beforeCreate&&wn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:p,mounted:S,beforeUpdate:E,updated:H,activated:I,deactivated:Z,beforeDestroy:Y,beforeUnmount:j,destroyed:V,unmounted:A,render:q,renderTracked:ce,renderTriggered:_e,errorCaptured:me,serverPrefetch:ct,expose:Ne,inheritAttrs:Xe,components:ft,directives:R,filters:C}=t;if(d&&ho(d,n,null),o)for(const k in o){const z=o[k];D(z)&&(n[k]=z.bind(s))}if(i){const k=i.call(s,s);B(k)&&(e.data=Qs(k))}if(Ls=!0,r)for(const k in r){const z=r[k],Ze=D(z)?z.bind(s,s):D(z.get)?z.get.bind(s,s):je,Kt=!D(z)&&D(z.set)?z.set.bind(s):je,Qe=Xt({get:Ze,set:Kt});Object.defineProperty(n,k,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:Te=>Qe.value=Te})}if(l)for(const k in l)Mi(l[k],n,s,k);if(f){const k=D(f)?f.call(s):f;Reflect.ownKeys(k).forEach(z=>{qr(z,k[z])})}a&&wn(a,e,"c");function N(k,z){F(z)?z.forEach(Ze=>k(Ze.bind(s))):z&&k(z.bind(s))}if(N(to,p),N(Ai,S),N(so,E),N(no,H),N(Zr,I),N(Qr,Z),N(co,me),N(lo,ce),N(oo,_e),N(io,j),N(Pi,A),N(ro,ct),F(Ne))if(Ne.length){const k=e.exposed||(e.exposed={});Ne.forEach(z=>{Object.defineProperty(k,z,{get:()=>s[z],set:Ze=>s[z]=Ze,enumerable:!0})})}else e.exposed||(e.exposed={});q&&e.render===je&&(e.render=q),Xe!=null&&(e.inheritAttrs=Xe),ft&&(e.components=ft),R&&(e.directives=R),ct&&Ei(e)}function ho(e,t,s=je){F(e)&&(e=Hs(e));for(const n in e){const i=e[n];let r;B(i)?"default"in i?r=Yt(i.from||n,i.default,!0):r=Yt(i.from||n):r=Yt(i),oe(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function wn(e,t,s){Ce(F(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Mi(e,t,s,n){let i=n.includes(".")?Ci(s,n):()=>s[n];if(Q(e)){const r=t[e];D(r)&&Ss(i,r)}else if(D(e))Ss(i,e.bind(s));else if(B(e))if(F(e))e.forEach(r=>Mi(r,t,s,n));else{const r=D(e.handler)?e.handler.bind(s):t[e.handler];D(r)&&Ss(i,r,e)}}function Ii(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let f;return l?f=l:!i.length&&!s&&!n?f=t:(f={},i.length&&i.forEach(d=>ss(f,d,o,!0)),ss(f,t,o)),B(t)&&r.set(t,f),f}function ss(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&ss(e,r,s,!0),i&&i.forEach(o=>ss(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=po[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const po={data:Sn,props:Cn,emits:Cn,methods:Ct,computed:Ct,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Ct,directives:Ct,watch:_o,provide:Sn,inject:go};function Sn(e,t){return t?e?function(){return le(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function go(e,t){return Ct(Hs(e),Hs(t))}function Hs(e){if(F(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Ct(e,t){return e?le(Object.create(null),e,t):t}function Cn(e,t){return e?F(e)&&F(t)?[...new Set([...e,...t])]:le(Object.create(null),xn(e),xn(t??{})):t}function _o(e,t){if(!e)return t;if(!t)return e;const s=le(Object.create(null),e);for(const n in t)s[n]=ue(e[n],t[n]);return s}function Ri(){return{app:null,config:{isNativeTag:qn,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let mo=0;function yo(e,t){return function(n,i=null){D(n)||(n=le({},n)),i!=null&&!B(i)&&(i=null);const r=Ri(),o=new WeakSet,l=[];let f=!1;const d=r.app={_uid:mo++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:zo,get config(){return r.config},set config(a){},use(a,...p){return o.has(a)||(a&&D(a.install)?(o.add(a),a.install(d,...p)):D(a)&&(o.add(a),a(d,...p))),d},mixin(a){return r.mixins.includes(a)||r.mixins.push(a),d},component(a,p){return p?(r.components[a]=p,d):r.components[a]},directive(a,p){return p?(r.directives[a]=p,d):r.directives[a]},mount(a,p,S){if(!f){const E=d._ceVNode||We(n,i);return E.appContext=r,S===!0?S="svg":S===!1&&(S=void 0),e(E,a,S),f=!0,d._container=a,a.__vue_app__=d,_s(E.component)}},onUnmount(a){l.push(a)},unmount(){f&&(Ce(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,p){return r.provides[a]=p,d},runWithContext(a){const p=_t;_t=d;try{return a()}finally{_t=p}}};return d}}let _t=null;const bo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xe(t)}Modifiers`]||e[`${lt(t)}Modifiers`];function vo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||G;let i=s;const r=t.startsWith("update:"),o=r&&bo(n,t.slice(7));o&&(o.trim&&(i=s.map(a=>Q(a)?a.trim():a)),o.number&&(i=s.map(Bs)));let l,f=n[l=ys(t)]||n[l=ys(xe(t))];!f&&r&&(f=n[l=ys(lt(t))]),f&&Ce(f,e,6,i);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ce(d,e,6,i)}}const xo=new WeakMap;function Fi(e,t,s=!1){const n=s?xo:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!D(e)){const f=d=>{const a=Fi(d,t,!0);a&&(l=!0,le(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!r&&!l?(B(e)&&n.set(e,null),null):(F(r)?r.forEach(f=>o[f]=null):le(o,r),B(e)&&n.set(e,o),o)}function ps(e,t){return!e||!rs(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,lt(t))||U(e,t))}function Tn(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:p,data:S,setupState:E,ctx:H,inheritAttrs:I}=e,Z=es(e);let Y,j;try{if(s.shapeFlag&4){const A=i||n,q=A;Y=Fe(d.call(q,A,a,p,E,S,H)),j=l}else{const A=t;Y=Fe(A.length>1?A(p,{attrs:l,slots:o,emit:f}):A(p,null)),j=t.props?l:wo(l)}}catch(A){ot.length=0,as(A,e,1),Y=We(Ge)}let V=Y;if(j&&I!==!1){const A=Object.keys(j),{shapeFlag:q}=V;A.length&&q&7&&(r&&A.some(os)&&(j=So(j,r)),V=yt(V,j,!1,!0))}if(s.dirs&&(V=yt(V,null,!1,!0),V.dirs=V.dirs?V.dirs.concat(s.dirs):s.dirs),s.transition){const A=ds(V.type)&&Ti(V)||V;nn(A,s.transition)}return Y=V,es(Z),Y}const wo=e=>{let t;for(const s in e)(s==="class"||s==="style"||rs(s))&&((t||(t={}))[s]=e[s]);return t},So=(e,t)=>{const s={};for(const n in e)(!os(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Co(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:f}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?En(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const S=a[p];if(Di(o,n,S)&&!ps(d,S))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?En(n,o,d):!0:!!o;return!1}function En(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(Di(t,e,r)&&!ps(s,r))return!0}return!1}function Di(e,t,s){const n=e[s],i=t[s];return s==="style"&&B(n)&&B(i)?!Js(n,i):n!==i}function To({vnode:e,parent:t,suspense:s},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=n,e=i),i===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const ji={},$i=()=>Object.create(ji),Ni=e=>Object.getPrototypeOf(e)===ji;function Eo(e,t,s,n=!1){const i={},r=$i();e.propsDefaults=Object.create(null),Li(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:Rr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Oo(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=K(i),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let S=a[p];if(ps(e.emitsOptions,S))continue;const E=t[S];if(f)if(U(r,S))E!==r[S]&&(r[S]=E,d=!0);else{const H=xe(S);i[H]=Vs(f,l,H,E,e,!1)}else E!==r[S]&&(r[S]=E,d=!0)}}}else{Li(e,t,i,r)&&(d=!0);let a;for(const p in l)(!t||!U(t,p)&&((a=lt(p))===p||!U(t,a)))&&(f?s&&(s[p]!==void 0||s[a]!==void 0)&&(i[p]=Vs(f,l,p,void 0,e,!0)):delete i[p]);if(r!==l)for(const p in r)(!t||!U(t,p))&&(delete r[p],d=!0)}d&&Ue(e.attrs,"set","")}function Li(e,t,s,n){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(Et(f))continue;const d=t[f];let a;i&&U(i,a=xe(f))?!r||!r.includes(a)?s[a]=d:(l||(l={}))[a]=d:ps(e.emitsOptions,f)||(!(f in n)||d!==n[f])&&(n[f]=d,o=!0)}if(r){const f=K(s),d=l||G;for(let a=0;a<r.length;a++){const p=r[a];s[p]=Vs(i,f,p,d[p],e,!U(d,p))}}return o}function Vs(e,t,s,n,i,r){const o=e[s];if(o!=null){const l=U(o,"default");if(l&&n===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&D(f)){const{propsDefaults:d}=i;if(s in d)n=d[s];else{const a=Vt(i);n=d[s]=f.call(null,t),a()}}else n=f;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===lt(s))&&(n=!0))}return n}const Ao=new WeakMap;function Hi(e,t,s=!1){const n=s?Ao:t.propsCache,i=n.get(e);if(i)return i;const r=e.props,o={},l=[];let f=!1;if(!D(e)){const a=p=>{f=!0;const[S,E]=Hi(p,t,!0);le(o,S),E&&l.push(...E)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!f)return B(e)&&n.set(e,ht),ht;if(F(r))for(let a=0;a<r.length;a++){const p=xe(r[a]);On(p)&&(o[p]=G)}else if(r)for(const a in r){const p=xe(a);if(On(p)){const S=r[a],E=o[p]=F(S)||D(S)?{type:S}:le({},S),H=E.type;let I=!1,Z=!0;if(F(H))for(let Y=0;Y<H.length;++Y){const j=H[Y],V=D(j)&&j.name;if(V==="Boolean"){I=!0;break}else V==="String"&&(Z=!1)}else I=D(H)&&H.name==="Boolean";E[0]=I,E[1]=Z,(I||U(E,"default"))&&l.push(p)}}const d=[o,l];return B(e)&&n.set(e,d),d}function On(e){return e[0]!=="$"&&!Et(e)}const on=e=>e==="_"||e==="_ctx"||e==="$stable",ln=e=>F(e)?e.map(Fe):[Fe(e)],Po=(e,t,s)=>{if(t._n)return t;const n=Br((...i)=>ln(t(...i)),s);return n._c=!1,n},Vi=(e,t,s)=>{const n=e._ctx;for(const i in e){if(on(i))continue;const r=e[i];if(D(r))t[i]=Po(i,r,n);else if(r!=null){const o=ln(r);t[i]=()=>o}}},Ki=(e,t)=>{const s=ln(t);e.slots.default=()=>s},Ui=(e,t,s)=>{for(const n in t)(s||!on(n))&&(e[n]=t[n])},Mo=(e,t,s)=>{const n=e.slots=$i();if(e.vnode.shapeFlag&32){const i=t._;i?(Ui(n,t,s),s&&Zn(n,"_",i,!0)):Vi(t,n)}else t&&Ki(e,t)},Io=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=G;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:Ui(i,t,s):(r=!t.$stable,Vi(t,i)),o=t}else t&&(Ki(e,t),o={default:1});if(r)for(const l in i)!on(l)&&o[l]==null&&delete i[l]},he=$o;function Ro(e){return Fo(e)}function Fo(e,t){const s=cs();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:p,nextSibling:S,setScopeId:E=je,insertStaticContent:H}=e,I=(c,u,h,y=null,m=null,g=null,x=void 0,v=null,b=!!u.dynamicChildren)=>{if(c===u)return;c&&!St(c,u)&&(y=Ut(c),Te(c,m,g,!0),c=null),u.patchFlag===-2&&(b=!1,u.dynamicChildren=null);const{type:_,ref:P,shapeFlag:w}=u;switch(_){case gs:Z(c,u,h,y);break;case Ge:Y(c,u,h,y);break;case As:c==null&&j(u,h,y,x);break;case ye:ft(c,u,h,y,m,g,x,v,b);break;default:w&1?q(c,u,h,y,m,g,x,v,b):w&6?R(c,u,h,y,m,g,x,v,b):(w&64||w&128)&&_.process(c,u,h,y,m,g,x,v,b,vt)}P!=null&&m?Pt(P,c&&c.ref,g,u||c,!u):P==null&&c&&c.ref!=null&&Pt(c.ref,null,g,c,!0)},Z=(c,u,h,y)=>{if(c==null)n(u.el=l(u.children),h,y);else{const m=u.el=c.el;u.children!==c.children&&d(m,u.children)}},Y=(c,u,h,y)=>{c==null?n(u.el=f(u.children||""),h,y):u.el=c.el},j=(c,u,h,y)=>{[c.el,c.anchor]=H(c.children,u,h,y,c.el,c.anchor)},V=({el:c,anchor:u},h,y)=>{let m;for(;c&&c!==u;)m=S(c),n(c,h,y),c=m;n(u,h,y)},A=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=S(c),i(c),c=h;i(u)},q=(c,u,h,y,m,g,x,v,b)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)ce(u,h,y,m,g,x,v,b);else{const _=c.el&&c.el._isVueCE?c.el:null;try{_&&_._beginPatch(),ct(c,u,m,g,x,v,b)}finally{_&&_._endPatch()}}},ce=(c,u,h,y,m,g,x,v)=>{let b,_;const{props:P,shapeFlag:w,transition:O,dirs:M}=c;if(b=c.el=o(c.type,g,P&&P.is,P),w&8?a(b,c.children):w&16&&me(c.children,b,null,y,m,Os(c,g),x,v),M&&et(c,null,y,"created"),_e(b,c,c.scopeId,x,y),P){for(const J in P)J!=="value"&&!Et(J)&&r(b,J,null,P[J],g,y);"value"in P&&r(b,"value",null,P.value,g),(_=P.onVnodeBeforeMount)&&Me(_,y,c)}M&&et(c,null,y,"beforeMount");const L=Do(m,O);L&&O.beforeEnter(b),n(b,u,h),((_=P&&P.onVnodeMounted)||L||M)&&he(()=>{try{_&&Me(_,y,c),L&&O.enter(b),M&&et(c,null,y,"mounted")}finally{}},m)},_e=(c,u,h,y,m)=>{if(h&&E(c,h),y)for(let g=0;g<y.length;g++)E(c,y[g]);if(m){let g=m.subTree;if(u===g||qi(g.type)&&(g.ssContent===u||g.ssFallback===u)){const x=m.vnode;_e(c,x,x.scopeId,x.slotScopeIds,m.parent)}}},me=(c,u,h,y,m,g,x,v,b=0)=>{for(let _=b;_<c.length;_++){const P=c[_]=v?Ke(c[_]):Fe(c[_]);I(null,P,u,h,y,m,g,x,v)}},ct=(c,u,h,y,m,g,x)=>{const v=u.el=c.el;let{patchFlag:b,dynamicChildren:_,dirs:P}=u;b|=c.patchFlag&16;const w=c.props||G,O=u.props||G;let M;if(h&&tt(h,!1),(M=O.onVnodeBeforeUpdate)&&Me(M,h,u,c),P&&et(u,c,h,"beforeUpdate"),h&&tt(h,!0),_&&(!c.dynamicChildren||c.dynamicChildren.length!==_.length)&&(b=0,x=!1,_=null),(w.innerHTML&&O.innerHTML==null||w.textContent&&O.textContent==null)&&a(v,""),_?Ne(c.dynamicChildren,_,v,h,y,Os(u,m),g):x||z(c,u,v,null,h,y,Os(u,m),g,!1),b>0){if(b&16)Xe(v,w,O,h,m);else if(b&2&&w.class!==O.class&&r(v,"class",null,O.class,m),b&4&&r(v,"style",w.style,O.style,m),b&8){const L=u.dynamicProps;for(let J=0;J<L.length;J++){const W=L[J],ee=w[W],se=O[W];(se!==ee||W==="value")&&r(v,W,ee,se,m,h)}}b&1&&c.children!==u.children&&a(v,u.children)}else!x&&_==null&&Xe(v,w,O,h,m);((M=O.onVnodeUpdated)||P)&&he(()=>{M&&Me(M,h,u,c),P&&et(u,c,h,"updated")},y)},Ne=(c,u,h,y,m,g,x)=>{for(let v=0;v<u.length;v++){const b=c[v],_=u[v],P=b.el&&(b.type===ye||!St(b,_)||b.shapeFlag&198)?p(b.el):h;I(b,_,P,null,y,m,g,x,!0)}},Xe=(c,u,h,y,m)=>{if(u!==h){if(u!==G)for(const g in u)!Et(g)&&!(g in h)&&r(c,g,u[g],null,m,y);for(const g in h){if(Et(g))continue;const x=h[g],v=u[g];x!==v&&g!=="value"&&r(c,g,v,x,m,y)}"value"in h&&r(c,"value",u.value,h.value,m)}},ft=(c,u,h,y,m,g,x,v,b)=>{const _=u.el=c?c.el:l(""),P=u.anchor=c?c.anchor:l("");let{patchFlag:w,dynamicChildren:O,slotScopeIds:M}=u;M&&(v=v?v.concat(M):M),c==null?(n(_,h,y),n(P,h,y),me(u.children||[],h,P,m,g,x,v,b)):w>0&&w&64&&O&&c.dynamicChildren&&c.dynamicChildren.length===O.length?(Ne(c.dynamicChildren,O,h,m,g,x,v),(u.key!=null||m&&u===m.subTree)&&ki(c,u,!0)):z(c,u,h,P,m,g,x,v,b)},R=(c,u,h,y,m,g,x,v,b)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?m.ctx.activate(u,h,y,x,b):C(u,h,y,m,g,x,b):$(c,u,b)},C=(c,u,h,y,m,g,x)=>{const v=c.component=ko(c,y,m);if(rn(c)&&(v.ctx.renderer=vt),Bo(v,!1,x),v.asyncDep){if(m&&m.registerDep(v,N,x),!c.el){const b=v.subTree=We(Ge);Y(null,b,u,h),c.placeholder=b.el}}else N(v,c,u,h,m,g,x)},$=(c,u,h)=>{const y=u.component=c.component;if(Co(c,u,h))if(y.asyncDep&&!y.asyncResolved){k(y,u,h);return}else y.next=u,y.update();else u.el=c.el,y.vnode=u},N=(c,u,h,y,m,g,x)=>{const v=()=>{if(c.isMounted){let{next:w,bu:O,u:M,parent:L,vnode:J}=c;{const Oe=Wi(c);if(Oe){w&&(w.el=J.el,k(c,w,x)),Oe.asyncDep.then(()=>{he(()=>{c.isUnmounted||_()},m)});return}}let W=w,ee;tt(c,!1),w?(w.el=J.el,k(c,w,x)):w=J,O&&Gt(O),(ee=w.props&&w.props.onVnodeBeforeUpdate)&&Me(ee,L,w,J),tt(c,!0);const se=Tn(c),Ee=c.subTree;c.subTree=se,I(Ee,se,p(Ee.el),Ut(Ee),c,m,g),w.el=se.el,W===null&&To(c,se.el),M&&he(M,m),(ee=w.props&&w.props.onVnodeUpdated)&&he(()=>Me(ee,L,w,J),m)}else{let w;const{el:O,props:M}=u,{bm:L,m:J,parent:W,root:ee,type:se}=c,Ee=Mt(u);tt(c,!1),L&&Gt(L),!Ee&&(w=M&&M.onVnodeBeforeMount)&&Me(w,W,u),tt(c,!0);{ee.ce&&ee.ce._hasShadowRoot()&&ee.ce._injectChildStyle(se,c.parent?c.parent.type:void 0);const Oe=c.subTree=Tn(c);I(null,Oe,h,y,c,m,g),u.el=Oe.el}if(J&&he(J,m),!Ee&&(w=M&&M.onVnodeMounted)){const Oe=u;he(()=>Me(w,W,Oe),m)}(u.shapeFlag&256||W&&Mt(W.vnode)&&W.vnode.shapeFlag&256)&&c.a&&he(c.a,m),c.isMounted=!0,u=h=y=null}};c.scope.on();const b=c.effect=new si(v);c.scope.off();const _=c.update=b.run.bind(b),P=c.job=b.runIfDirty.bind(b);P.i=c,P.id=c.uid,b.scheduler=()=>sn(P),tt(c,!0),_()},k=(c,u,h)=>{u.component=c;const y=c.vnode.props;c.vnode=u,c.next=null,Oo(c,u.props,y,h),Io(c,u.children,h),Be(),mn(c),qe()},z=(c,u,h,y,m,g,x,v,b=!1)=>{const _=c&&c.children,P=c?c.shapeFlag:0,w=u.children,{patchFlag:O,shapeFlag:M}=u;if(O>0){if(O&128){Kt(_,w,h,y,m,g,x,v,b);return}else if(O&256){Ze(_,w,h,y,m,g,x,v,b);return}}M&8?(P&16&&bt(_,m,g),w!==_&&a(h,w)):P&16?M&16?Kt(_,w,h,y,m,g,x,v,b):bt(_,m,g,!0):(P&8&&a(h,""),M&16&&me(w,h,y,m,g,x,v,b))},Ze=(c,u,h,y,m,g,x,v,b)=>{c=c||ht,u=u||ht;const _=c.length,P=u.length,w=Math.min(_,P);let O;for(O=0;O<w;O++){const M=u[O]=b?Ke(u[O]):Fe(u[O]);I(c[O],M,h,null,m,g,x,v,b)}_>P?bt(c,m,g,!0,!1,w):me(u,h,y,m,g,x,v,b,w)},Kt=(c,u,h,y,m,g,x,v,b)=>{let _=0;const P=u.length;let w=c.length-1,O=P-1;for(;_<=w&&_<=O;){const M=c[_],L=u[_]=b?Ke(u[_]):Fe(u[_]);if(St(M,L))I(M,L,h,null,m,g,x,v,b);else break;_++}for(;_<=w&&_<=O;){const M=c[w],L=u[O]=b?Ke(u[O]):Fe(u[O]);if(St(M,L))I(M,L,h,null,m,g,x,v,b);else break;w--,O--}if(_>w){if(_<=O){const M=O+1,L=M<P?u[M].el:y;for(;_<=O;)I(null,u[_]=b?Ke(u[_]):Fe(u[_]),h,L,m,g,x,v,b),_++}}else if(_>O)for(;_<=w;)Te(c[_],m,g,!0),_++;else{const M=_,L=_,J=new Map;for(_=L;_<=O;_++){const pe=u[_]=b?Ke(u[_]):Fe(u[_]);pe.key!=null&&J.set(pe.key,_)}let W,ee=0;const se=O-L+1;let Ee=!1,Oe=0;const xt=new Array(se);for(_=0;_<se;_++)xt[_]=0;for(_=M;_<=w;_++){const pe=c[_];if(ee>=se){Te(pe,m,g,!0);continue}let Ae;if(pe.key!=null)Ae=J.get(pe.key);else for(W=L;W<=O;W++)if(xt[W-L]===0&&St(pe,u[W])){Ae=W;break}Ae===void 0?Te(pe,m,g,!0):(xt[Ae-L]=_+1,Ae>=Oe?Oe=Ae:Ee=!0,I(pe,u[Ae],h,null,m,g,x,v,b),ee++)}const un=Ee?jo(xt):ht;for(W=un.length-1,_=se-1;_>=0;_--){const pe=L+_,Ae=u[pe],an=u[pe+1],dn=pe+1<P?an.el||Bi(an):y;xt[_]===0?I(null,Ae,h,dn,m,g,x,v,b):Ee&&(W<0||_!==un[W]?Qe(Ae,h,dn,2):W--)}}},Qe=(c,u,h,y,m=null)=>{const{el:g,type:x,transition:v,children:b,shapeFlag:_}=c;if(_&6){Qe(c.component.subTree,u,h,y);return}if(_&128){c.suspense.move(u,h,y);return}if(_&64){x.move(c,u,h,vt);return}if(x===ye){n(g,u,h);for(let w=0;w<b.length;w++)Qe(b[w],u,h,y);n(c.anchor,u,h);return}if(x===As){V(c,u,h);return}if(y!==2&&_&1&&v)if(y===0)v.persisted&&!g[Cs]?n(g,u,h):(v.beforeEnter(g),n(g,u,h),he(()=>v.enter(g),m));else{const{leave:w,delayLeave:O,afterLeave:M}=v,L=()=>{c.ctx.isUnmounted?i(g):n(g,u,h)},J=()=>{const W=g._isLeaving||!!g[Cs];g._isLeaving&&g[Cs](!0),v.persisted&&!W?L():w(g,()=>{L(),M&&M()})};O?O(g,L,J):J()}else n(g,u,h)},Te=(c,u,h,y=!1,m=!1)=>{const{type:g,props:x,ref:v,children:b,dynamicChildren:_,shapeFlag:P,patchFlag:w,dirs:O,cacheIndex:M,memo:L}=c;if(w===-2&&(m=!1),v!=null&&(Be(),Pt(v,null,h,c,!0),qe()),M!=null&&(u.renderCache[M]=void 0),P&256){u.ctx.deactivate(c);return}const J=P&1&&O,W=!Mt(c);let ee;if(W&&(ee=x&&x.onVnodeBeforeUnmount)&&Me(ee,u,c),P&6)tr(c.component,h,y);else{if(P&128){c.suspense.unmount(h,y);return}J&&et(c,null,u,"beforeUnmount"),P&64?c.type.remove(c,u,h,vt,y):_&&!_.hasOnce&&(g!==ye||w>0&&w&64)?bt(_,u,h,!1,!0):(g===ye&&w&384||!m&&P&16)&&bt(b,u,h),y&&cn(c)}const se=L!=null&&M==null;(W&&(ee=x&&x.onVnodeUnmounted)||J||se)&&he(()=>{ee&&Me(ee,u,c),J&&et(c,null,u,"unmounted"),se&&(c.el=null)},h)},cn=c=>{const{type:u,el:h,anchor:y,transition:m}=c;if(u===ye){er(h,y);return}if(u===As){A(c);return}const g=()=>{i(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:x,delayLeave:v}=m,b=()=>x(h,g);v?v(c.el,g,b):b()}else g()},er=(c,u)=>{let h;for(;c!==u;)h=S(c),i(c),c=h;i(u)},tr=(c,u,h)=>{const{bum:y,scope:m,job:g,subTree:x,um:v,m:b,a:_}=c;An(b),An(_),y&&Gt(y),m.stop(),g&&(g.flags|=8,Te(x,c,u,h)),v&&he(v,u),he(()=>{c.isUnmounted=!0},u)},bt=(c,u,h,y=!1,m=!1,g=0)=>{for(let x=g;x<c.length;x++)Te(c[x],u,h,y,m)},Ut=c=>{if(c.shapeFlag&6)return Ut(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=S(c.anchor||c.el),h=u&&u[zr];return h?S(h):u};let ms=!1;const fn=(c,u,h)=>{let y;c==null?u._vnode&&(Te(u._vnode,null,null,!0),y=u._vnode.component):I(u._vnode||null,c,u,null,null,null,h),u._vnode=c,ms||(ms=!0,mn(y),vi(),ms=!1)},vt={p:I,um:Te,m:Qe,r:cn,mt:C,mc:me,pc:z,pbc:Ne,n:Ut,o:e};return{render:fn,hydrate:void 0,createApp:yo(fn)}}function Os({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function tt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Do(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ki(e,t,s=!1){const n=e.children,i=t.children;if(F(n)&&F(i))for(let r=0;r<n.length;r++){const o=n[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=Ke(i[r]),l.el=o.el),!s&&l.patchFlag!==-2&&ki(o,l)),l.type===gs&&(l.patchFlag===-1&&(l=i[r]=Ke(l)),l.el=o.el),l.type===Ge&&!l.el&&(l.el=o.el)}}function jo(e){const t=e.slice(),s=[0];let n,i,r,o,l;const f=e.length;for(n=0;n<f;n++){const d=e[n];if(d!==0){if(i=s[s.length-1],e[i]<d){t[n]=i,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,e[s[l]]<d?r=l+1:o=l;d<e[s[r]]&&(r>0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}function Wi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Wi(t)}function An(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Bi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Bi(t.subTree):null}const qi=e=>e.__isSuspense;function $o(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):Wr(e)}const ye=Symbol.for("v-fgt"),gs=Symbol.for("v-txt"),Ge=Symbol.for("v-cmt"),As=Symbol.for("v-stc"),ot=[];let ge=null;function ie(e=!1){ot.push(ge=e?null:[])}function Ji(){ot.pop(),ge=ot[ot.length-1]||null}let jt=1;function Pn(e,t=!1){jt+=e,e<0&&ge&&t&&(ge.hasOnce=!0)}function Gi(e){return e.dynamicChildren=jt>0?ge||ht:null,Ji(),jt>0&&ge&&ge.push(e),e}function fe(e,t,s,n,i,r){return Gi(T(e,t,s,n,i,r,!0))}function No(e,t,s,n,i){return Gi(We(e,t,s,n,i,!0))}function Yi(e){return e?e.__v_isVNode===!0:!1}function St(e,t){return e.type===t.type&&e.key===t.key}const zi=({key:e})=>e??null,zt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Q(e)||oe(e)||D(e)?{i:be,r:e,k:t,f:!!s}:e:null);function T(e,t=null,s=null,n=0,i=null,r=e===ye?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zi(t),ref:t&&zt(t),scopeId:wi,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:be};return l?(ns(f,s),r&128&&e.normalize(f)):s&&(f.shapeFlag|=Q(s)?8:16),jt>0&&!o&&ge&&(f.patchFlag>0||r&6)&&f.patchFlag!==32&&ge.push(f),f}const We=Lo;function Lo(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===fo)&&(e=Ge),Yi(e)){const l=yt(e,t,!0);return s&&ns(l,s),jt>0&&!r&&ge&&(l.shapeFlag&6?ge[ge.indexOf(e)]=l:ge.push(l)),l.patchFlag=-2,l}if(Yo(e)&&(e=e.__vccOpts),t){t=Ho(t);let{class:l,style:f}=t;l&&!Q(l)&&(t.class=fs(l)),B(f)&&(tn(f)&&!F(f)&&(f=le({},f)),t.style=qs(f))}const o=Q(e)?1:qi(e)?128:ds(e)?64:B(e)?4:D(e)?2:0;return T(e,t,s,n,i,o,r,!0)}function Ho(e){return e?tn(e)||Ni(e)?le({},e):e:null}function yt(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:f}=e,d=t?Vo(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&zi(d),ref:t&&t.ref?s&&r?F(r)?r.concat(zt(t)):[r,zt(t)]:zt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yt(e.ssContent),ssFallback:e.ssFallback&&yt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&nn(a,f.clone(a)),a}function nt(e=" ",t=0){return We(gs,null,e,t)}function He(e="",t=!1){return t?(ie(),No(Ge,null,e)):We(Ge,null,e)}function Fe(e){return e==null||typeof e=="boolean"?We(Ge):F(e)?We(ye,null,e.slice()):Yi(e)?Ke(e):We(gs,null,String(e))}function Ke(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yt(e)}function ns(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(F(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),ns(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Ni(t)?t._ctx=be:i===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(D(t)){if(n&65){ns(e,{default:t});return}t={default:t,_ctx:be},s=32}else t=String(t),n&64?(s=16,t=[nt(t)]):s=8;e.children=t,e.shapeFlag|=s}function Vo(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=fs([t.class,n.class]));else if(i==="style")t.style=qs([t.style,n.style]);else if(rs(i)){const r=t[i],o=n[i];o&&r!==o&&!(F(r)&&r.includes(o))?t[i]=r?[].concat(r,o):o:o==null&&r==null&&!os(i)&&(t[i]=o)}else i!==""&&(t[i]=n[i])}return t}function Me(e,t,s,n=null){Ce(e,t,7,[s,n])}const Ko=Ri();let Uo=0;function ko(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||Ko,r={uid:Uo++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new hr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Hi(n,i),emitsOptions:Fi(n,i),emit:null,emitted:null,propsDefaults:G,inheritAttrs:n.inheritAttrs,ctx:G,data:G,props:G,attrs:G,slots:G,refs:G,setupState:G,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=vo.bind(null,r),e.ce&&e.ce(r),r}let de=null;const Wo=()=>de||be;let is,$t;{const e=cs(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};is=t("__VUE_INSTANCE_SETTERS__",s=>de=s),$t=t("__VUE_SSR_SETTERS__",s=>Nt=s)}const Vt=e=>{const t=de;return is(e),e.scope.on(),()=>{e.scope.off(),is(t)}},Mn=()=>{de&&de.scope.off(),is(null)};function Xi(e){return e.vnode.shapeFlag&4}let Nt=!1;function Bo(e,t=!1,s=!1){t&&$t(t);const{props:n,children:i}=e.vnode,r=Xi(e);Eo(e,n,r,t),Mo(e,i,s||t);const o=r?qo(e,t):void 0;return t&&$t(!1),o}function qo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,uo);const{setup:n}=s;if(n){Be();const i=e.setupContext=n.length>1?Go(e):null,r=Vt(e),o=Ht(n,e,0,[e.props,i]),l=Gn(o);if(qe(),r(),(l||e.sp)&&!Mt(e)&&Ei(e),l){if(o.then(Mn,Mn),t)return o.then(f=>{$t(!0);try{In(e,f,t)}finally{$t(!1)}}).catch(f=>{as(f,e,0)});e.asyncDep=o}else In(e,o)}else Zi(e)}function In(e,t,s){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:B(t)&&(e.setupState=mi(t)),Zi(e)}function Zi(e,t,s){const n=e.type;e.render||(e.render=n.render||je);{const i=Vt(e);Be();try{ao(e)}finally{qe(),i()}}}const Jo={get(e,t){return re(e,"get",""),e[t]}};function Go(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Jo),slots:e.slots,emit:e.emit,expose:t}}function _s(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(mi(Fr(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in It)return It[s](e)},has(t,s){return s in t||s in It}})):e.proxy}function Yo(e){return D(e)&&"__vccOpts"in e}const Xt=(e,t)=>Lr(e,t,Nt),zo="3.5.41";/**
* @vue/runtime-dom v3.5.41
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Ks;const Rn=typeof window<"u"&&window.trustedTypes;if(Rn)try{Ks=Rn.createPolicy("vue",{createHTML:e=>e})}catch{}const Qi=Ks?e=>Ks.createHTML(e):e=>e,Xo="http://www.w3.org/2000/svg",Zo="http://www.w3.org/1998/Math/MathML",Ve=typeof document<"u"?document:null,Fn=Ve&&Ve.createElement("template"),Qo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?Ve.createElementNS(Xo,e):t==="mathml"?Ve.createElementNS(Zo,e):s?Ve.createElement(e,{is:s}):Ve.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Ve.createTextNode(e),createComment:e=>Ve.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ve.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Fn.innerHTML=Qi(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Fn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},el=Symbol("_vtc");function tl(e,t,s){const n=e[el];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Dn=Symbol("_vod"),sl=Symbol("_vsh"),nl=Symbol(""),il=/(?:^|;)\s*display\s*:/;function rl(e,t,s){const n=e.style,i=Q(s);let r=!1;if(s&&!i){if(t)if(Q(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Tt(n,l,"")}else for(const o in t)s[o]==null&&Tt(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?ll(e,o,!Q(t)&&t?t[o]:void 0,l)||Tt(n,o,l):Tt(n,o,"")}}else if(i){if(t!==s){const o=n[nl];o&&(s+=";"+o),n.cssText=s,r=il.test(s)}}else t&&e.removeAttribute("style");Dn in e&&(e[Dn]=r?n.display:"",e[sl]&&(n.display="none"))}const jn=/\s*!important$/;function Tt(e,t,s){if(F(s))s.forEach(n=>Tt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=ol(e,t);jn.test(s)?e.setProperty(lt(n),s.replace(jn,""),"important"):e[n]=s}}const $n=["Webkit","Moz","ms"],Ps={};function ol(e,t){const s=Ps[t];if(s)return s;let n=xe(t);if(n!=="filter"&&n in e)return Ps[t]=n;n=Xn(n);for(let i=0;i<$n.length;i++){const r=$n[i]+n;if(r in e)return Ps[t]=r}return t}function ll(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Q(n)&&s===n}const Nn="http://www.w3.org/1999/xlink";function Ln(e,t,s,n,i,r=ar(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Nn,t.slice(6,t.length)):e.setAttributeNS(Nn,t,s):s==null||r&&!Qn(s)?e.removeAttribute(t):e.setAttribute(t,r?"":$e(s)?String(s):s)}function Hn(e,t,s,n,i){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Qi(s):s);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(l!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Qn(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(i||t)}function dt(e,t,s,n){e.addEventListener(t,s,n)}function cl(e,t,s,n){e.removeEventListener(t,s,n)}const Vn=Symbol("_vei");function fl(e,t,s,n,i=null){const r=e[Vn]||(e[Vn]={}),o=r[t];if(n&&o)o.value=n;else{const[l,f]=dl(t);if(n){const d=r[t]=gl(n,i);dt(e,l,d,f)}else o&&(cl(e,l,o,f),r[t]=void 0)}}const ul=/(Once|Passive|Capture)$/,al=/^on:?(?:Once|Passive|Capture)$/;function dl(e){let t,s;for(;(s=e.match(ul))&&!al.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):lt(e.slice(2)),t]}let Ms=0;const hl=Promise.resolve(),pl=()=>Ms||(hl.then(()=>Ms=0),Ms=Date.now());function gl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(F(i)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const o=i.slice(),l=[n];for(let f=0;f<o.length&&!n._stopped;f++){const d=o[f];d&&Ce(d,t,5,l)}}else Ce(i,t,5,[n])};return s.value=e,s.attached=pl(),s}const Kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_l=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?tl(e,n,o):t==="style"?rl(e,s,n):rs(t)?os(t)||fl(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ml(e,t,n,o))?(Hn(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ln(e,t,n,o,r,t!=="value")):e._isVueCE&&(yl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Q(n)))?Hn(e,xe(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ln(e,t,n,o))};function ml(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Kn(t)&&D(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Kn(t)&&Q(s)?!1:t in e}function yl(e,t){const s=e._def.props;if(!s)return!1;const n=xe(t);return Array.isArray(s)?s.some(i=>xe(i)===n):Object.keys(s).some(i=>xe(i)===n)}const Un=e=>{const t=e.props["onUpdate:modelValue"]||!1;return F(t)?s=>Gt(t,s):t};function bl(e){e.target.composing=!0}function kn(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const qt=Symbol("_assign"),Jt=Symbol("_initialValue");function Is(e,t,s){return t&&(e=e.trim()),s&&(e=Bs(e)),e}const Wn={created(e,{modifiers:{lazy:t,trim:s,number:n}},i){e.parentNode&&(e.type==="text"?e[Jt]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Jt]=e.defaultValue.replace(/\r\n?/g,`
`))),e[qt]=Un(i);const r=n||i.props&&i.props.type==="number";dt(e,t?"change":"input",o=>{o.target.composing||e[qt](Is(e.value,s,r))}),(s||r)&&dt(e,"change",()=>{e.value=Is(e.value,s,r)}),t||(dt(e,"compositionstart",bl),dt(e,"compositionend",kn),dt(e,"change",kn))},mounted(e,{value:t,modifiers:{trim:s,number:n}}){const i=t??"",r=e[Jt];delete e[Jt],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[qt](Is(e.value,s,n)):e.value=i},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:i,number:r}},o){if(e[qt]=Un(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?Bs(e.value):e.value,f=t??"";if(l===f)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(n&&t===s||i&&e.value.trim()===f)||(e.value=f)}},vl=le({patchProp:_l},Qo);let Bn;function xl(){return Bn||(Bn=Ro(vl))}const wl=(...e)=>{const t=xl().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Cl(n);if(!i)return;const r=t._component;!D(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Sl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function Sl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Cl(e){return Q(e)?document.querySelector(e):e}const Tl={class:"app"},El={class:"topbar"},Ol={class:"topbar-right"},Al={key:0,class:"streak-badge"},Pl={key:1,class:"weight-badge"},Ml={key:0,class:"install-banner"},Il={class:"content"},Rl={class:"card today-card"},Fl={class:"card-title"},Dl={class:"date-hint"},jl={class:"action-grid"},$l={class:"action-emoji"},Nl={class:"action-name"},Ll={class:"action-input"},Hl=["onClick"],Vl=["onUpdate:modelValue"],Kl=["onClick"],Ul={class:"action-unit"},kl={key:0,class:"today-prev"},Wl={class:"prev-text"},Bl=["disabled"],ql={key:1,class:"save-tip"},Jl={key:0,class:"card stats-card"},Gl={class:"stat-grid"},Yl={class:"stat-item"},zl={class:"stat-num"},Xl={class:"stat-item"},Zl={class:"stat-num"},Ql={class:"stat-item"},ec={class:"stat-num"},tc={class:"stat-item"},sc={class:"stat-num"},nc={key:0,class:"weight-trend"},ic={class:"card weight-card"},rc={class:"weight-form"},oc={class:"card history-card"},lc={key:0,class:"empty"},cc={key:1,class:"history-list"},fc={class:"history-left"},uc={class:"history-date"},ac={class:"history-actions"},dc={class:"history-chips"},hc={key:1,class:"chip-empty"},pc=["onClick"],gc={__name:"App",setup(e){const t=[{key:"pushups",label:"俯卧撑",emoji:"💪",unit:"个",short:""},{key:"squats",label:"深蹲",emoji:"🦵",unit:"个",short:""},{key:"crunches",label:"卷腹",emoji:"🐛",unit:"个",short:""},{key:"mountain",label:"登山跑",emoji:"🏃",unit:"秒",short:"s"},{key:"plank",label:"平板支撑",emoji:"🧘",unit:"秒",short:"s"}],s=new Date().toLocaleDateString("zh-CN",{month:"long",day:"numeric",weekday:"long"}),n=Pe({pushups:0,squats:0,crunches:0,mountain:0,plank:0}),i=Pe([]),r=Pe({streak:0,week_days:0,total_days:0,last_weight:null,weight_trend:null}),o=Pe([]),l=Pe(null),f=Pe(!1),d=Pe(!1),a=Pe(!1),p=Pe(!1),S=Pe("");function E(R){n.value[R]=Math.max(0,(n.value[R]||0)-1)}function H(R){n.value[R]=(n.value[R]||0)+1}function I(R){R.target.select()}function Z(R){return t.some(C=>R[C.key]>0)}function Y(R){const[C,$,N]=R.split("-");return`${C}/${$}/${N}`}const j=Xt(()=>r.value.last_weight?`${r.value.last_weight} kg`:"—"),V=Xt(()=>{const R=r.value.weight_trend;if(!R)return"";const C=R.delta;return C>0?`↑ ${C} kg`:C<0?`↓ ${Math.abs(C)} kg`:"持平"}),A=Xt(()=>{var R;return((R=r.value.weight_trend)==null?void 0:R.delta)>0?"up":"down"});async function q(R,C={}){const $=await fetch(R,{headers:{"Content-Type":"application/json"},...C});if(!$.ok)throw new Error(`请求失败 ${$.status}`);return $.json()}async function ce(){const[R,C,$]=await Promise.all([q("/api/workouts"),q("/api/stats"),q("/api/weights")]);i.value=R,r.value=C,o.value=$}async function _e(){const R=await q("/api/workouts/today");R&&t.forEach(C=>{n.value[C.key]=R[C.key]||0})}async function me(){const R=[...i.value];if(R.length===0)return;const C=new Date().toISOString().slice(0,10),$=R.find(N=>N.date<C);if($){p.value=!0;const N=t.filter(k=>$[k.key]>0).map(k=>`${k.label} ${$[k.key]}${k.short}`);S.value=N.join(" · ")||"休息日"}}async function ct(){f.value=!0;try{await q("/api/workouts",{method:"POST",body:JSON.stringify({...n.value})}),d.value=!0,setTimeout(()=>d.value=!1,2500),await ce(),await me()}catch(R){alert("保存失败:"+R.message)}finally{f.value=!1}}async function Ne(R){confirm(`删除 ${R.date} 的记录?`)&&(await q(`/api/workouts/${R.id}`,{method:"DELETE"}),await ce(),await me())}async function Xe(){const R=l.value;if(!R||R<=0){alert("填个数字嘛~");return}await q("/api/weights",{method:"POST",body:JSON.stringify({weight:R})}),l.value=null,await ce()}async function ft(){}return Ai(async()=>{try{await ce(),await _e(),await me()}catch(R){alert("加载失败:"+R.message)}window.addEventListener("pwa-install-ready",()=>a.value=!0),window.addEventListener("appinstalled",()=>a.value=!1)}),(R,C)=>(ie(),fe("div",Tl,[T("header",El,[C[3]||(C[3]=T("div",{class:"logo"},"🐱 五件套",-1)),T("div",Ol,[r.value.streak>0?(ie(),fe("span",Al,"🔥 连 "+te(r.value.streak)+" 天",1)):He("",!0),r.value.last_weight?(ie(),fe("span",Pl,"⚖️ "+te(r.value.last_weight)+"kg",1)):He("",!0)])]),a.value?(ie(),fe("div",Ml,[C[4]||(C[4]=T("span",null,"📱 装到主屏幕,打卡更方便~",-1)),T("button",{class:"btn btn-primary btn-sm",onClick:ft},"安装"),T("button",{class:"btn-close",onClick:C[0]||(C[0]=$=>a.value=!1)},"×")])):He("",!0),T("main",Il,[T("section",Rl,[T("div",Fl,[C[5]||(C[5]=T("span",{class:"card-title-icon"},"💪",-1)),C[6]||(C[6]=nt(" 今日打卡 ",-1)),T("span",Dl,te(_i(s)),1)]),T("div",jl,[(ie(),fe(ye,null,Ts(t,$=>T("div",{class:"action-item",key:$.key},[T("div",$l,te($.emoji),1),T("div",Nl,te($.label),1),T("div",Ll,[T("button",{class:"step-btn",onClick:N=>E($.key)},"",8,Hl),yn(T("input",{type:"number",min:"0","onUpdate:modelValue":N=>n.value[$.key]=N,class:"num-input",onFocus:C[1]||(C[1]=N=>I(N))},null,40,Vl),[[Wn,n.value[$.key],void 0,{number:!0}]]),T("button",{class:"step-btn",onClick:N=>H($.key)},"",8,Kl)]),T("div",Ul,te($.unit),1)])),64))]),p.value?(ie(),fe("div",kl,[C[7]||(C[7]=T("span",{class:"prev-hint"},"昨天:",-1)),T("span",Wl,te(S.value),1)])):He("",!0),T("button",{class:"btn btn-primary btn-save",onClick:ct,disabled:f.value},te(f.value?"保存中…":"✅ 保存打卡"),9,Bl),d.value?(ie(),fe("div",ql,"已保存,哥哥真棒!🎉")):He("",!0)]),r.value.total_days>0?(ie(),fe("section",Jl,[C[14]||(C[14]=T("div",{class:"card-title"},[T("span",{class:"card-title-icon"},"📊"),nt(" 我的进度")],-1)),T("div",Gl,[T("div",Yl,[T("div",zl,te(r.value.streak),1),C[8]||(C[8]=T("div",{class:"stat-label"},"🔥 连续打卡",-1))]),T("div",Xl,[T("div",Zl,te(r.value.week_days),1),C[9]||(C[9]=T("div",{class:"stat-label"},"🗓 本周练了",-1))]),T("div",Ql,[T("div",ec,te(r.value.total_days),1),C[10]||(C[10]=T("div",{class:"stat-label"},"📅 累计天数",-1))]),T("div",tc,[T("div",sc,te(j.value),1),C[11]||(C[11]=T("div",{class:"stat-label"},"⚖️ 最新体重",-1))])]),r.value.weight_trend?(ie(),fe("div",nc,[C[12]||(C[12]=nt(" 体重 ",-1)),T("b",{class:fs(A.value)},te(V.value),3),C[13]||(C[13]=nt(" · 每 3 天称一次哦 ",-1))])):He("",!0)])):He("",!0),T("section",ic,[C[15]||(C[15]=T("div",{class:"card-title"},[T("span",{class:"card-title-icon"},"⚖️"),nt(" 称体重")],-1)),T("div",rc,[yn(T("input",{type:"number",step:"0.1",min:"0","onUpdate:modelValue":C[2]||(C[2]=$=>l.value=$),placeholder:"今天多少 kg",class:"num-input weight-input"},null,512),[[Wn,l.value,void 0,{number:!0}]]),T("button",{class:"btn btn-secondary",onClick:Xe},"记录")])]),T("section",oc,[C[16]||(C[16]=T("div",{class:"card-title"},[T("span",{class:"card-title-icon"},"📜"),nt(" 历史记录")],-1)),i.value.length===0?(ie(),fe("div",lc," 还没有记录,今天开始第一练吧~ 🐾 ")):(ie(),fe("div",cc,[(ie(!0),fe(ye,null,Ts(i.value,$=>(ie(),fe("div",{class:"history-item",key:$.id},[T("div",fc,[T("div",uc,te(Y($.date)),1),T("div",ac,[T("span",dc,[$[R.a.key]>0?(ie(),fe(ye,{key:0},Ts(t,N=>T("span",{class:"chip",key:N.key},te(N.emoji)+" "+te($[N.key])+te(N.short),1)),64)):He("",!0),Z($)?He("",!0):(ie(),fe("span",hc,"没练 🥺"))])])]),T("button",{class:"btn-del",onClick:N=>Ne($)},"🗑",8,pc)]))),128))]))])]),C[17]||(C[17]=T("footer",{class:"foot"},"慢慢来,比较快 · 软软陪你变强喵~ 🐾",-1))]))}};window.addEventListener("beforeinstallprompt",e=>{e.preventDefault(),window.dispatchEvent(new CustomEvent("pwa-install-ready"))});wl(gc).mount("#app");