(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 i of r)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&s(l)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/** * @vue/shared v3.5.43 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Hs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const se={},Nt=[],tt=()=>{},ii=()=>!1,Jn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zn=e=>e.startsWith("onUpdate:"),be=Object.assign,Bs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Tl=Object.prototype.hasOwnProperty,Q=(e,t)=>Tl.call(e,t),H=Array.isArray,Et=e=>wn(e)==="[object Map]",Vn=e=>wn(e)==="[object Set]",fr=e=>wn(e)==="[object Date]",B=e=>typeof e=="function",oe=e=>typeof e=="string",Ue=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",li=e=>(X(e)||B(e))&&B(e.then)&&B(e.catch),oi=Object.prototype.toString,wn=e=>oi.call(e),Pl=e=>wn(e).slice(8,-1),ui=e=>wn(e)==="[object Object]",Ks=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,on=Hs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Il=/-\w/g,Pe=Yn(e=>e.replace(Il,t=>t.slice(1).toUpperCase())),Nl=/\B([A-Z])/g,Ft=Yn(e=>e.replace(Nl,"-$1").toLowerCase()),Qn=Yn(e=>e.charAt(0).toUpperCase()+e.slice(1)),fs=Yn(e=>e?`on${Qn(e)}`:""),et=(e,t)=>!Object.is(e,t),Nn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Gs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let dr;const Xn=()=>dr||(dr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xn(e){if(H(e)){const t={};for(let n=0;nn.startsWith("/*")?"":n).split(Dl).forEach(n=>{if(n){const s=n.split(Ml);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ne(e){let t="";if(oe(e))t=e;else if(H(e))for(let n=0;n!!(e&&e.__v_isRef===!0),M=e=>oe(e)?e:e==null?"":H(e)||X(e)&&(e.toString===oi||!B(e.toString))?fi(e)?M(e.value):JSON.stringify(e,di,2):String(e),di=(e,t)=>fi(t)?di(e,t.value):Et(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[ds(s,i)+" =>"]=r,n),{})}:Vn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ds(n))}:Ue(t)?ds(t):X(t)&&!H(t)&&!ui(t)?String(t):t,ds=(e,t="")=>{var n;return Ue(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.43 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let me;class jl{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&&me&&(me.active?(this.parent=me,this.index=(me.scopes||(me.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t0&&--this._on===0){if(me===this)me=this.prevScope;else{let t=me;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 n,s;for(n=0,s=this.effects.length;n0)return;if(cn){let t=cn;for(cn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;un;){let t=un;for(un=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function mi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Js(s),Bl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function As(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(_i(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function _i(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===hn)||(e.globalVersion=hn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!As(e))))return;e.flags|=2;const t=e.dep,n=re,s=$e;re=e,$e=!0;try{mi(e);const r=e.fn(e._value);(t.version===0||et(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{re=n,$e=s,vi(e),e.flags&=-3}}function Js(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Js(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Bl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let $e=!0;const yi=[];function ht(){yi.push($e),$e=!1}function pt(){const e=yi.pop();$e=e===void 0?!0:e}function gr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=re;re=void 0;try{t()}finally{re=n}}}let hn=0;class Kl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class zs{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(!re||!$e||re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==re)n=this.activeLink=new Kl(re,this),re.deps?(n.prevDep=re.depsTail,re.depsTail.nextDep=n,re.depsTail=n):re.deps=re.depsTail=n,bi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=re.depsTail,n.nextDep=void 0,re.depsTail.nextDep=n,re.depsTail=n,re.deps===n&&(re.deps=s)}return n}trigger(t){this.version++,hn++,this.notify(t)}notify(t){Ws();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qs()}}}function bi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)bi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Rs=new WeakMap,Lt=Symbol(""),Os=Symbol(""),pn=Symbol("");function we(e,t,n){if($e&&re){let s=Rs.get(e);s||Rs.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new zs),r.map=s,r.key=n),r.track()}}function at(e,t,n,s,r,i){const l=Rs.get(e);if(!l){hn++;return}const o=u=>{u&&u.trigger()};if(Ws(),t==="clear")l.forEach(o);else{const u=H(e),f=u&&Ks(n);if(u&&n==="length"){const a=Number(s);l.forEach((h,g)=>{(g==="length"||g===pn||!Ue(g)&&g>=a)&&o(h)})}else switch((n!==void 0||l.has(void 0))&&o(l.get(n)),f&&o(l.get(pn)),t){case"add":u?f&&o(l.get("length")):(o(l.get(Lt)),Et(e)&&o(l.get(Os)));break;case"delete":u||(o(l.get(Lt)),Et(e)&&o(l.get(Os)));break;case"set":Et(e)&&o(l.get(Lt));break}}qs()}function Ht(e){const t=Y(e);return t===e||(we(t,"iterate",pn),Le(e))?t:st(e)?Ct(e)?t.map(n=>At(Ve(n))):t.map(At):t.map(Ve)}function es(e){return we(e=Y(e),"iterate",pn),e}function Xe(e,t){return st(e)?At(Ct(e)?Ve(t):t):Ve(t)}const Gl={__proto__:null,[Symbol.iterator](){return ps(this,Symbol.iterator,e=>Xe(this,e))},concat(...e){return Ht(this).concat(...e.map(t=>H(t)?Ht(t):t))},entries(){return ps(this,"entries",e=>(e[1]=Xe(this,e[1]),e))},every(e,t){return lt(this,"every",e,t,void 0,arguments)},filter(e,t){return lt(this,"filter",e,t,n=>n.map(s=>Xe(this,s)),arguments)},find(e,t){return lt(this,"find",e,t,n=>Xe(this,n),arguments)},findIndex(e,t){return lt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return lt(this,"findLast",e,t,n=>Xe(this,n),arguments)},findLastIndex(e,t){return lt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return lt(this,"forEach",e,t,void 0,arguments)},includes(...e){return gs(this,"includes",e)},indexOf(...e){return gs(this,"indexOf",e)},join(e){return Ht(this).join(e)},lastIndexOf(...e){return gs(this,"lastIndexOf",e)},map(e,t){return lt(this,"map",e,t,void 0,arguments)},pop(){return tn(this,"pop")},push(...e){return tn(this,"push",e)},reduce(e,...t){return mr(this,"reduce",e,t)},reduceRight(e,...t){return mr(this,"reduceRight",e,t)},shift(){return tn(this,"shift")},some(e,t){return lt(this,"some",e,t,void 0,arguments)},splice(...e){return tn(this,"splice",e)},toReversed(){return Ht(this).toReversed()},toSorted(e){return Ht(this).toSorted(e)},toSpliced(...e){return Ht(this).toSpliced(...e)},unshift(...e){return tn(this,"unshift",e)},values(){return ps(this,"values",e=>Xe(this,e))}};function ps(e,t,n){const s=es(e),r=s[t]();return s!==e&&!Le(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const Wl=Array.prototype;function lt(e,t,n,s,r,i){const l=es(e),o=l!==e&&!Le(e),u=l[t];if(u!==Wl[t]){const h=u.apply(e,i);return o?Ve(h):h}let f=n;l!==e&&(o?f=function(h,g){return n.call(this,Xe(e,h),g,e)}:n.length>2&&(f=function(h,g){return n.call(this,h,g,e)}));const a=u.call(l,f,s);return o&&r?r(a):a}function mr(e,t,n,s){const r=es(e),i=r!==e&&!Le(e);let l=n,o=!1;r!==e&&(i?(o=s.length===0,l=function(f,a,h){return o&&(o=!1,f=Xe(e,f)),n.call(this,f,Xe(e,a),h,e)}):n.length>3&&(l=function(f,a,h){return n.call(this,f,a,h,e)}));const u=r[t](l,...s);return o?Xe(e,u):u}function gs(e,t,n){const s=Y(e);we(s,"iterate",pn);const r=s[t](...n);return(r===-1||r===!1)&&Xs(n[0])?(n[0]=Y(n[0]),s[t](...n)):r}function tn(e,t,n=[]){ht(),Ws();const s=Y(e)[t].apply(e,n);return qs(),pt(),s}const ql=Hs("__proto__,__v_isRef,__isVue"),wi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ue));function Jl(e){Ue(e)||(e=String(e));const t=Y(this);return we(t,"has",e),t.hasOwnProperty(e)}class xi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?ro:Ai:i?Ci:Ei).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const l=H(t);if(!r){let u;if(l&&(u=Gl[n]))return u;if(n==="hasOwnProperty")return Jl}const o=Reflect.get(t,n,Se(t)?t:s);if((Ue(n)?wi.has(n):ql(n))||(r||we(t,"get",n),i))return o;if(Se(o)){const u=l&&Ks(n)?o:o.value;return r&&X(u)?Ps(u):u}return X(o)?r?Ps(o):ts(o):o}}class Si extends xi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const l=H(t)&&Ks(n);if(!this._isShallow){const f=st(i);if(!Le(s)&&!st(s)&&(i=Y(i),s=Y(s)),!l&&Se(i)&&!Se(s))return f||(i.value=s),!0}const o=l?Number(n)e,An=e=>Reflect.getPrototypeOf(e);function Zl(e,t,n){return function(...s){const r=this.__v_raw,i=Y(r),l=Et(i),o=e==="entries"||e===Symbol.iterator&&l,u=e==="keys"&&l,f=r[e](...s),a=n?Ts:t?At:Ve;return!t&&we(i,"iterate",u?Os:Lt),be(Object.create(f),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:o?[a(h[0]),a(h[1])]:a(h),done:g}}})}}function Rn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function eo(e,t){const n={get(r){const i=this.__v_raw,l=Y(i),o=Y(r);e||(et(r,o)&&we(l,"get",r),we(l,"get",o));const{has:u}=An(l),f=t?Ts:e?At:Ve;if(u.call(l,r))return f(i.get(r));if(u.call(l,o))return f(i.get(o));i!==l&&i.get(r)},get size(){const r=this.__v_raw;return!e&&we(Y(r),"iterate",Lt),r.size},has(r){const i=this.__v_raw,l=Y(i),o=Y(r);return e||(et(r,o)&&we(l,"has",r),we(l,"has",o)),r===o?i.has(r):i.has(r)||i.has(o)},forEach(r,i){const l=this,o=l.__v_raw,u=Y(o),f=t?Ts:e?At:Ve;return!e&&we(u,"iterate",Lt),o.forEach((a,h)=>r.call(i,f(a),f(h),l))}};return be(n,e?{add:Rn("add"),set:Rn("set"),delete:Rn("delete"),clear:Rn("clear")}:{add(r){const i=Y(this),l=An(i),o=Y(r),u=!t&&!Le(r)&&!st(r)?o:r;return l.has.call(i,u)||et(r,u)&&l.has.call(i,r)||et(o,u)&&l.has.call(i,o)||(i.add(u),at(i,"add",u,u)),this},set(r,i){!t&&!Le(i)&&!st(i)&&(i=Y(i));const l=Y(this),{has:o,get:u}=An(l);let f=o.call(l,r);f||(r=Y(r),f=o.call(l,r));const a=u.call(l,r);return l.set(r,i),f?et(i,a)&&at(l,"set",r,i):at(l,"add",r,i),this},delete(r){const i=Y(this),{has:l,get:o}=An(i);let u=l.call(i,r);u||(r=Y(r),u=l.call(i,r)),o&&o.call(i,r);const f=i.delete(r);return u&&at(i,"delete",r,void 0),f},clear(){const r=Y(this),i=r.size!==0,l=r.clear();return i&&at(r,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Zl(r,e,t)}),n}function Ys(e,t){const n=eo(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Q(n,r)&&r in s?n:s,r,i)}const to={get:Ys(!1,!1)},no={get:Ys(!1,!0)},so={get:Ys(!0,!1)};const Ei=new WeakMap,Ci=new WeakMap,Ai=new WeakMap,ro=new WeakMap;function io(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ts(e){return st(e)?e:Qs(e,!1,Yl,to,Ei)}function Ri(e){return Qs(e,!1,Xl,no,Ci)}function Ps(e){return Qs(e,!0,Ql,so,Ai)}function Qs(e,t,n,s,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const l=io(Pl(e));if(l===0)return e;const o=new Proxy(e,l===2?s:n);return r.set(e,o),o}function Ct(e){return st(e)?Ct(e.__v_raw):!!(e&&e.__v_isReactive)}function st(e){return!!(e&&e.__v_isReadonly)}function Le(e){return!!(e&&e.__v_isShallow)}function Xs(e){return e?!!e.__v_raw:!1}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function lo(e){return!Q(e,"__v_skip")&&Object.isExtensible(e)&&ci(e,"__v_skip",!0),e}const Ve=e=>X(e)?ts(e):e,At=e=>X(e)?Ps(e):e;function Se(e){return e?e.__v_isRef===!0:!1}function ue(e){return Oi(e,!1)}function oo(e){return Oi(e,!0)}function Oi(e,t){return Se(e)?e:new uo(e,t)}class uo{constructor(t,n){this.dep=new zs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Y(t),this._value=n?t:Ve(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Le(t)||st(t);t=s?t:Y(t),et(t,n)&&(this._rawValue=t,this._value=s?t:Ve(t),this.dep.trigger())}}function G(e){return Se(e)?e.value:e}const co={get:(e,t,n)=>t==="__v_raw"?e:G(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Se(r)&&!Se(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ti(e){return Ct(e)?e:new Proxy(e,co)}class ao{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new zs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=hn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&re!==this)return gi(this,!0),!0}get value(){const t=this.dep.track();return _i(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function fo(e,t,n=!1){let s,r;return B(e)?s=e:(s=e.get,r=e.set),new ao(s,r,n)}const On={},Fn=new WeakMap;let It;function ho(e,t=!1,n=It){if(n){let s=Fn.get(n);s||Fn.set(n,s=[]),s.push(e)}}function po(e,t,n=se){const{immediate:s,deep:r,once:i,scheduler:l,augmentJob:o,call:u}=n,f=L=>r?L:Le(L)||r===!1||r===0?ft(L,1):ft(L);let a,h,g,v,x=!1,A=!1;if(Se(e)?(h=()=>e.value,x=Le(e)):Ct(e)?(h=()=>f(e),x=!0):H(e)?(A=!0,x=e.some(L=>Ct(L)||Le(L)),h=()=>e.map(L=>{if(Se(L))return L.value;if(Ct(L))return f(L);if(B(L))return u?u(L,2):L()})):B(e)?t?h=u?()=>u(e,2):e:h=()=>{if(g){ht();try{g()}finally{pt()}}const L=It;It=a;try{return u?u(e,3,[v]):e(v)}finally{It=L}}:h=tt,t&&r){const L=h,te=r===!0?1/0:r;h=()=>ft(L(),te)}const R=Hl(),C=()=>{a.stop(),R&&R.active&&Bs(R.effects,a)};if(i&&t){const L=t;t=(...te)=>{const fe=L(...te);return C(),fe}}let I=A?new Array(e.length).fill(On):On;const S=L=>{if(!(!(a.flags&1)||!a.dirty&&!L))if(t){const te=a.run();if(L||r||x||(A?te.some((fe,ie)=>et(fe,I[ie])):et(te,I))){g&&g();const fe=It;It=a;try{const ie=[te,I===On?void 0:A&&I[0]===On?[]:I,v];I=te,u?u(t,3,ie):t(...ie)}finally{It=fe}}}else a.run()};return o&&o(S),a=new hi(h),a.scheduler=l?()=>l(S,!1):S,v=L=>ho(L,!1,a),g=a.onStop=()=>{const L=Fn.get(a);if(L){if(u)u(L,4);else for(const te of L)te();Fn.delete(a)}},t?s?S(!0):I=a.run():l?l(S.bind(null,!0),!0):a.run(),C.pause=a.pause.bind(a),C.resume=a.resume.bind(a),C.stop=C,C}function ft(e,t=1/0,n){if(t<=0||!X(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Se(e))ft(e.value,t,n);else if(H(e))for(let s=0;s{ft(s,t,n)});else if(ui(e)){for(const s in e)ft(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ft(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.43 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Sn(e,t,n,s){try{return s?e(...s):e()}catch(r){ns(r,t,n)}}function je(e,t,n,s){if(B(e)){const r=Sn(e,t,n,s);return r&&li(r)&&r.catch(i=>{ns(i,t,n)}),r}if(H(e)){const r=[];for(let i=0;i>>1,r=Te[s],i=gn(r);i=gn(n)?Te.push(e):Te.splice(mo(t),0,e),e.flags|=1,Ni()}}function Ni(){$n||($n=Pi.then(Mi))}function vo(e){if(!H(e))bt&&e.id===-1?bt.splice(Bt+1,0,e):e.flags&1||(Wt.push(e),e.flags|=1);else for(let t=0;tgn(n)-gn(s));if(Wt.length=0,bt){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function Mi(e){try{for(Qe=0;Qe{s._d&&Bn(-1);const i=Un(t),l=dt.length;let o;try{o=e(...r)}finally{for(let u=dt.length;u>l;u--)rr();Un(i),s._d&&Bn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function xt(e,t){if(_e===null)return e;const n=us(_e),s=e.dirs||(e.dirs=[]);for(let r=0;r1)return n&&B(t)?t.call(s&&s.proxy):t}}const _o=Symbol.for("v-scx"),yo=()=>nt(_o);function Mn(e,t,n){return Li(e,t,n)}function Li(e,t,n=se){const{immediate:s,deep:r,flush:i,once:l}=n,o=be({},n),u=t&&s||!t&&i!=="post";let f;if(yn){if(i==="sync"){const v=yo();f=v.__watcherHandles||(v.__watcherHandles=[])}else if(!u){const v=()=>{};return v.stop=tt,v.resume=tt,v.pause=tt,v}}const a=xe;o.call=(v,x,A)=>je(v,a,x,A);let h=!1;i==="post"?o.scheduler=v=>{Ie(v,a&&a.suspense)}:i!=="sync"&&(h=!0,o.scheduler=(v,x)=>{x?v():Zs(v)}),o.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const g=po(e,t,o);return yn&&(f?f.push(g):u&&g()),g}function bo(e,t,n){const s=this.proxy,r=oe(e)?e.includes(".")?Vi(s,e):()=>s[e]:e.bind(s,s);let i;B(t)?i=t:(i=t.handler,n=t);const l=Cn(this),o=Li(r,i.bind(s),n);return l(),o}function Vi(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;re.__isTeleport,ms=Symbol("_leaveCb");function xo(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==rt){t=n;break}}return t}function Fi(e){if(!tr(e))return ss(e.type)&&e.children?xo(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&B(n.default))return n.default()}}function er(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;er(ss(n.type)&&Fi(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function $i(e,t){return B(e)?be({name:e.name},t,{setup:e}):e}function Ui(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function _r(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const jn=new WeakMap;function an(e,t,n,s,r=!1){if(H(e)){e.forEach((A,R)=>an(A,t&&(H(t)?t[R]:t),n,s,r));return}if(Jt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&an(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?us(s.component):s.el,l=r?null:i,{i:o,r:u}=e,f=t&&t.r,a=o.refs===se?o.refs={}:o.refs,h=o.setupState,g=Y(h),v=h===se?ii:A=>_r(a,A)?!1:Q(g,A),x=(A,R)=>!(R&&_r(a,R));if(f!=null&&f!==u){if(yr(t),oe(f))a[f]=null,v(f)&&(h[f]=null);else if(Se(f)){const A=t;x(f,A.k)&&(f.value=null),A.k&&(a[A.k]=null)}}if(B(u))Sn(u,o,12,[l,a]);else{const A=oe(u),R=Se(u);if(A||R){const C=()=>{if(e.f){const I=A?v(u)?h[u]:a[u]:x()||!e.k?u.value:a[e.k];if(r)H(I)&&Bs(I,i);else if(H(I))I.includes(i)||I.push(i);else if(A)a[u]=[i],v(u)&&(h[u]=a[u]);else{const S=[i];x(u,e.k)&&(u.value=S),e.k&&(a[e.k]=S)}}else A?(a[u]=l,v(u)&&(h[u]=l)):R&&(x(u,e.k)&&(u.value=l),e.k&&(a[e.k]=l))};if(l){const I=()=>{C(),jn.delete(e)};I.id=-1,jn.set(e,I),Ie(I,n)}else yr(e),C()}}}function yr(e){const t=jn.get(e);t&&(t.flags|=8,jn.delete(e))}Xn().requestIdleCallback;Xn().cancelIdleCallback;const Jt=e=>!!e.type.__asyncLoader,tr=e=>e.type.__isKeepAlive;function So(e,t){ji(e,"a",t)}function Eo(e,t){ji(e,"da",t)}function ji(e,t,n=xe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(rs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)tr(r.parent.vnode)&&Co(s,t,n,r),r=r.parent}}function Co(e,t,n,s){const r=rs(t,e,s,!0);En(()=>{Bs(s[t],r)},n)}function rs(e,t,n=xe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{ht();const o=Cn(n),u=je(t,n,e,l);return o(),pt(),u});return s?r.unshift(i):r.push(i),i}}const gt=e=>(t,n=xe)=>{(!yn||e==="sp")&&rs(e,(...s)=>t(...s),n)},Ao=gt("bm"),is=gt("m"),Ro=gt("bu"),Oo=gt("u"),To=gt("bum"),En=gt("um"),Po=gt("sp"),Io=gt("rtg"),No=gt("rtc");function Do(e,t=xe){rs("ec",e,t)}const Mo="components";function Hi(e,t){return Lo(Mo,e,!0,t)||e}const ko=Symbol.for("v-ndc");function Lo(e,t,n=!0,s=!1){const r=_e||xe;if(r){const i=r.type;{const o=xu(i,!1);if(o&&(o===t||o===Pe(t)||o===Qn(Pe(t))))return i}const l=br(r[e]||i[e],t)||br(r.appContext[e],t);return!l&&s?i:l}}function br(e,t){return e&&(e[t]||e[Pe(t)]||e[Qn(Pe(t))])}function Dt(e,t,n,s){let r;const i=n,l=H(e);if(l||oe(e)){const o=l&&Ct(e);let u=!1,f=!1;o&&(u=!Le(e),f=st(e),e=es(e)),r=new Array(e.length);for(let a=0,h=e.length;at(o,u,void 0,i));else{const o=Object.keys(e);r=new Array(o.length);for(let u=0,f=o.length;u0;return U(),Vt(he,null,[ye("slot",f,s)],a?-2:64)}let l=e[t];l&&l._c&&(l._d=!1);const o=dt.length;U();let u;try{const f=l&&Bi(l(n)),a=n.key||i||f&&f.key;u=Vt(he,{key:(a&&!Ue(a)?a:`_${t}`)+(!f&&s?"_fb":"")},f||(s?s():[]),f&&e._===1?64:-2)}catch(f){for(let a=dt.length;a>o;a--)rr();throw f}finally{l&&l._c&&(l._d=!0)}return u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),u}function Bi(e){return e.some(t=>vn(t)?!(t.type===rt||t.type===he&&!Bi(t.children)):!0)?e:null}const Is=e=>e?cl(e)?us(e):Is(e.parent):null,fn=be(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=>Is(e.parent),$root:e=>Is(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Gi(e),$forceUpdate:e=>e.f||(e.f=()=>{Zs(e.update)}),$nextTick:e=>e.n||(e.n=Ii.bind(e.proxy)),$watch:e=>bo.bind(e)}),vs=(e,t)=>e!==se&&!e.__isScriptSetup&&Q(e,t),Fo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:l,type:o,appContext:u}=e;if(t[0]!=="$"){const g=l[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(vs(s,t))return l[t]=1,s[t];if(r!==se&&Q(r,t))return l[t]=2,r[t];if(Q(i,t))return l[t]=3,i[t];if(n!==se&&Q(n,t))return l[t]=4,n[t];Ns&&(l[t]=0)}}const f=fn[t];let a,h;if(f)return t==="$attrs"&&we(e.attrs,"get",""),f(e);if((a=o.__cssModules)&&(a=a[t]))return a;if(n!==se&&Q(n,t))return l[t]=4,n[t];if(h=u.config.globalProperties,Q(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return vs(r,t)?(r[t]=n,!0):s!==se&&Q(s,t)?(s[t]=n,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:l}},o){let u;return!!(n[o]||e!==se&&o[0]!=="$"&&Q(e,o)||vs(t,o)||Q(i,o)||Q(s,o)||Q(fn,o)||Q(r.config.globalProperties,o)||(u=l.__cssModules)&&u[o])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function wr(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ns=!0;function $o(e){const t=Gi(e),n=e.proxy,s=e.ctx;Ns=!1,t.beforeCreate&&xr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:l,watch:o,provide:u,inject:f,created:a,beforeMount:h,mounted:g,beforeUpdate:v,updated:x,activated:A,deactivated:R,beforeDestroy:C,beforeUnmount:I,destroyed:S,unmounted:L,render:te,renderTracked:fe,renderTriggered:ie,errorCaptured:Be,serverPrefetch:mt,expose:Ke,inheritAttrs:vt,components:Rt,directives:Ge,filters:Zt}=t;if(f&&Uo(f,s,null),l)for(const Z in l){const J=l[Z];B(J)&&(s[Z]=J.bind(n))}if(r){const Z=r.call(n,n);X(Z)&&(e.data=ts(Z))}if(Ns=!0,i)for(const Z in i){const J=i[Z],it=B(J)?J.bind(n,n):B(J.get)?J.get.bind(n,n):tt,_t=!B(J)&&B(J.set)?J.set.bind(n):tt,We=Fe({get:it,set:_t});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>We.value,set:Ee=>We.value=Ee})}if(o)for(const Z in o)Ki(o[Z],s,n,Z);if(u){const Z=B(u)?u.call(n):u;Reflect.ownKeys(Z).forEach(J=>{Dn(J,Z[J])})}a&&xr(a,e,"c");function pe(Z,J){H(J)?J.forEach(it=>Z(it.bind(n))):J&&Z(J.bind(n))}if(pe(Ao,h),pe(is,g),pe(Ro,v),pe(Oo,x),pe(So,A),pe(Eo,R),pe(Do,Be),pe(No,fe),pe(Io,ie),pe(To,I),pe(En,L),pe(Po,mt),H(Ke))if(Ke.length){const Z=e.exposed||(e.exposed={});Ke.forEach(J=>{Object.defineProperty(Z,J,{get:()=>n[J],set:it=>n[J]=it,enumerable:!0})})}else e.exposed||(e.exposed={});te&&e.render===tt&&(e.render=te),vt!=null&&(e.inheritAttrs=vt),Rt&&(e.components=Rt),Ge&&(e.directives=Ge),mt&&Ui(e)}function Uo(e,t,n=tt){H(e)&&(e=Ds(e));for(const s in e){const r=e[s];let i;X(r)?"default"in r?i=nt(r.from||s,r.default,!0):i=nt(r.from||s):i=nt(r),Se(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[s]=i}}function xr(e,t,n){je(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ki(e,t,n,s){let r=s.includes(".")?Vi(n,s):()=>n[s];if(oe(e)){const i=t[e];B(i)&&Mn(r,i)}else if(B(e))Mn(r,e.bind(n));else if(X(e))if(H(e))e.forEach(i=>Ki(i,t,n,s));else{const i=B(e.handler)?e.handler.bind(n):t[e.handler];B(i)&&Mn(r,i,e)}}function Gi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,o=i.get(t);let u;return o?u=o:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(f=>Hn(u,f,l,!0)),Hn(u,t,l)),X(t)&&i.set(t,u),u}function Hn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Hn(e,i,n,!0),r&&r.forEach(l=>Hn(e,l,n,!0));for(const l in t)if(!(s&&l==="expose")){const o=jo[l]||n&&n[l];e[l]=o?o(e[l],t[l]):t[l]}return e}const jo={data:Sr,props:Er,emits:Er,methods:rn,computed:rn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:rn,directives:rn,watch:Bo,provide:Sr,inject:Ho};function Sr(e,t){return t?e?function(){return be(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function Ho(e,t){return rn(Ds(e),Ds(t))}function Ds(e){if(H(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pe(t)}Modifiers`]||e[`${Ft(t)}Modifiers`];function qo(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||se;let r=n;const i=t.startsWith("update:"),l=i&&Wo(s,t.slice(7));l&&(l.trim&&(r=n.map(a=>oe(a)?a.trim():a)),l.number&&(r=r.map(Gs)));let o,u=s[o=fs(t)]||s[o=fs(Pe(t))];!u&&i&&(u=s[o=fs(Ft(t))]),u&&je(u,e,6,r);const f=s[o+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,je(f,e,6,r)}}const Jo=new WeakMap;function qi(e,t,n=!1){const s=n?Jo:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let l={},o=!1;if(!B(e)){const u=f=>{const a=qi(f,t,!0);a&&(o=!0,be(l,a))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!o?(X(e)&&s.set(e,null),null):(H(i)?i.forEach(u=>l[u]=null):be(l,i),X(e)&&s.set(e,l),l)}function ls(e,t){return!e||!Jn(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,Ft(t))||Q(e,t))}function Cr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:l,attrs:o,emit:u,render:f,renderCache:a,props:h,data:g,setupState:v,ctx:x,inheritAttrs:A}=e,R=Un(e);let C,I;try{if(n.shapeFlag&4){const L=r||s,te=L;C=Ze(f.call(te,L,a,h,v,g,x)),I=o}else{const L=t;C=Ze(L.length>1?L(h,{attrs:o,slots:l,emit:u}):L(h,null)),I=t.props?o:zo(o)}}catch(L){dt.length=0,ns(L,e,1),C=ye(rt)}let S=C;if(I&&A!==!1){const L=Object.keys(I),{shapeFlag:te}=S;L.length&&te&7&&(i&&L.some(zn)&&(I=Yo(I,i)),S=Yt(S,I,!1,!0))}if(n.dirs&&(S=Yt(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition){const L=ss(S.type)&&Fi(S)||S;er(L,n.transition)}return C=S,Un(R),C}const zo=e=>{let t;for(const n in e)(n==="class"||n==="style"||Jn(n))&&((t||(t={}))[n]=e[n]);return t},Yo=(e,t)=>{const n={};for(const s in e)(!zn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Qo(e,t,n){const{props:s,children:r,component:i}=e,{props:l,children:o,patchFlag:u}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Ar(s,l,f):!!l;if(u&8){const a=t.dynamicProps;for(let h=0;hObject.create(zi),Qi=e=>Object.getPrototypeOf(e)===zi;function Zo(e,t,n,s=!1){const r={},i=Yi();e.propsDefaults=Object.create(null),Xi(e,t,r,i);for(const l in e.propsOptions[0])l in r||(r[l]=void 0);n?e.props=s?r:Ri(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function eu(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:l}}=e,o=Y(r),[u]=e.propsOptions;let f=!1;if((s||l>0)&&!(l&16)){if(l&8){const a=e.vnode.dynamicProps;for(let h=0;h{u=!0;const[g,v]=Zi(h,t,!0);be(l,g),v&&o.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!u)return X(e)&&s.set(e,Nt),Nt;if(H(i))for(let a=0;ae==="_"||e==="_ctx"||e==="$stable",sr=e=>H(e)?e.map(Ze):[Ze(e)],nu=(e,t,n)=>{if(t._n)return t;const s=qt((...r)=>sr(t(...r)),n);return s._c=!1,s},el=(e,t,n)=>{const s=e._ctx;for(const r in e){if(nr(r))continue;const i=e[r];if(B(i))t[r]=nu(r,i,s);else if(i!=null){const l=sr(i);t[r]=()=>l}}},tl=(e,t)=>{const n=sr(t);e.slots.default=()=>n},nl=(e,t,n)=>{for(const s in t)(n||!nr(s))&&(e[s]=t[s])},su=(e,t,n)=>{const s=e.slots=Yi();if(e.vnode.shapeFlag&32){const r=t._;r?(nl(s,t,n),n&&ci(s,"_",r,!0)):el(t,s)}else t&&tl(e,t)},ru=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,l=se;if(s.shapeFlag&32){const o=t._;o?n&&o===1?i=!1:nl(r,t,n):(i=!t.$stable,el(t,r)),l=t}else t&&(tl(e,t),l={default:1});if(i)for(const o in r)!nr(o)&&l[o]==null&&delete r[o]},Ie=cu;function iu(e){return lu(e)}function lu(e,t){const n=Xn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:l,createText:o,createComment:u,setText:f,setElementText:a,parentNode:h,nextSibling:g,setScopeId:v=tt,insertStaticContent:x}=e,A=(c,d,m,y=null,w=null,_=null,P=void 0,T=null,O=!!d.dynamicChildren)=>{if(c===d)return;c&&!nn(c,d)&&(y=b(c),Ee(c,w,_,!0),c=null),d.patchFlag===-2&&(O=!1,d.dynamicChildren=null),d.dynamicChildren&&c&&c.dynamicChildren&&c.dynamicChildren.hasOnce&&(d.dynamicChildren===Nt&&(d.dynamicChildren=[]),d.dynamicChildren.hasOnce=!0);const{type:E,ref:$,shapeFlag:D}=d;switch(E){case os:R(c,d,m,y);break;case rt:C(c,d,m,y);break;case kn:c==null&&I(d,m,y,P);break;case he:Rt(c,d,m,y,w,_,P,T,O);break;default:D&1?te(c,d,m,y,w,_,P,T,O):D&6?Ge(c,d,m,y,w,_,P,T,O):(D&64||D&128)&&E.process(c,d,m,y,w,_,P,T,O,V)}$!=null&&w?an($,c&&c.ref,_,d||c,!d):$==null&&c&&c.ref!=null&&an(c.ref,null,_,c,!0)},R=(c,d,m,y)=>{if(c==null)s(d.el=o(d.children),m,y);else{const w=d.el=c.el;d.children!==c.children&&f(w,d.children)}},C=(c,d,m,y)=>{c==null?s(d.el=u(d.children||""),m,y):d.el=c.el},I=(c,d,m,y)=>{[c.el,c.anchor]=x(c.children,d,m,y,c.el,c.anchor)},S=({el:c,anchor:d},m,y)=>{let w;for(;c&&c!==d;)w=g(c),s(c,m,y),c=w;s(d,m,y)},L=({el:c,anchor:d})=>{let m;for(;c&&c!==d;)m=g(c),r(c),c=m;r(d)},te=(c,d,m,y,w,_,P,T,O)=>{if(d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),c==null)fe(d,m,y,w,_,P,T,O);else{const E=c.el&&c.el._isVueCE?c.el:null;try{E&&E._beginPatch(),mt(c,d,w,_,P,T,O)}finally{E&&E._endPatch()}}},fe=(c,d,m,y,w,_,P,T)=>{let O,E;const{props:$,shapeFlag:D,transition:F,dirs:j}=c;if(O=c.el=l(c.type,_,$&&$.is,$),D&8?a(O,c.children):D&16&&Be(c.children,O,null,y,w,_s(c,_),P,T),j&&Tt(c,null,y,"created"),ie(O,c,c.scopeId,P,y),$){for(const ne in $)ne!=="value"&&!on(ne)&&i(O,ne,null,$[ne],_,y);"value"in $&&i(O,"value",null,$.value,_),(E=$.onVnodeBeforeMount)&&Ye(E,y,c)}j&&Tt(c,null,y,"beforeMount");const q=ou(w,F);q&&F.beforeEnter(O),s(O,d,m),((E=$&&$.onVnodeMounted)||q||j)&&Ie(()=>{try{E&&Ye(E,y,c),q&&F.enter(O),j&&Tt(c,null,y,"mounted")}finally{}},w)},ie=(c,d,m,y,w)=>{if(m&&v(c,m),y)for(let _=0;_{for(let E=O;E{const T=d.el=c.el;let{patchFlag:O,dynamicChildren:E,dirs:$}=d;O|=c.patchFlag&16;const D=c.props||se,F=d.props||se;let j;if(m&&Pt(m,!1),(j=F.onVnodeBeforeUpdate)&&Ye(j,m,d,c),$&&Tt(d,c,m,"beforeUpdate"),m&&Pt(m,!0),E&&(!c.dynamicChildren||c.dynamicChildren.length!==E.length)&&(O=0,P=!1,E=null),(D.innerHTML&&F.innerHTML==null||D.textContent&&F.textContent==null)&&a(T,""),E?Ke(c.dynamicChildren,E,T,m,y,_s(d,w),_):P||J(c,d,T,null,m,y,_s(d,w),_,!1),O>0){if(O&16)vt(T,D,F,m,w);else if(O&2&&D.class!==F.class&&i(T,"class",null,F.class,w),O&4&&i(T,"style",D.style,F.style,w),O&8){const q=d.dynamicProps;for(let ne=0;ne{j&&Ye(j,m,d,c),$&&Tt(d,c,m,"updated")},y)},Ke=(c,d,m,y,w,_,P)=>{for(let T=0;T{if(d!==m){if(d!==se)for(const _ in d)!on(_)&&!(_ in m)&&i(c,_,d[_],null,w,y);for(const _ in m){if(on(_))continue;const P=m[_],T=d[_];P!==T&&_!=="value"&&i(c,_,T,P,w,y)}"value"in m&&i(c,"value",d.value,m.value,w)}},Rt=(c,d,m,y,w,_,P,T,O)=>{const E=d.el=c?c.el:o(""),$=d.anchor=c?c.anchor:o("");let{patchFlag:D,dynamicChildren:F,slotScopeIds:j}=d;j&&(T=T?T.concat(j):j),c==null?(s(E,m,y),s($,m,y),Be(d.children||[],m,$,w,_,P,T,O)):D>0&&D&64&&F&&c.dynamicChildren&&c.dynamicChildren.length===F.length?(Ke(c.dynamicChildren,F,m,w,_,P,T),(d.key!=null||w&&d===w.subTree)&&sl(c,d,!0)):J(c,d,m,$,w,_,P,T,O)},Ge=(c,d,m,y,w,_,P,T,O)=>{d.slotScopeIds=T,c==null?d.shapeFlag&512?w.ctx.activate(d,m,y,P,O):Zt(d,m,y,w,_,P,O):$t(c,d,O)},Zt=(c,d,m,y,w,_,P)=>{const T=c.component=mu(c,y,w);if(tr(c)&&(T.ctx.renderer=V),_u(T,!1,P),T.asyncDep){if(w&&w.registerDep(T,pe,P),!c.el){const O=T.subTree=ye(rt);C(null,O,d,m),c.placeholder=O.el}}else pe(T,c,d,m,w,_,P)},$t=(c,d,m)=>{const y=d.component=c.component;if(Qo(c,d,m))if(y.asyncDep&&!y.asyncResolved){d.el=c.el,Z(y,d,m);return}else y.next=d,y.update();else d.el=c.el,y.vnode=d},pe=(c,d,m,y,w,_,P)=>{const T=()=>{if(c.isMounted){let{next:D,bu:F,u:j,parent:q,vnode:ne}=c;{const Je=rl(c);if(Je){D&&(D.el=ne.el,Z(c,D,P)),Je.asyncDep.then(()=>{Ie(()=>{c.isUnmounted||E()},w)});return}}let ee=D,ce;Pt(c,!1),D?(D.el=ne.el,Z(c,D,P)):D=ne,F&&Nn(F),(ce=D.props&&D.props.onVnodeBeforeUpdate)&&Ye(ce,q,D,ne),Pt(c,!0);const ge=Cr(c),qe=c.subTree;c.subTree=ge,A(qe,ge,h(qe.el),b(qe),c,w,_),D.el=ge.el,ee===null&&Xo(c,ge.el),j&&Ie(j,w),(ce=D.props&&D.props.onVnodeUpdated)&&Ie(()=>Ye(ce,q,D,ne),w)}else{let D;const{el:F,props:j}=d,{bm:q,m:ne,parent:ee,root:ce,type:ge}=c,qe=Jt(d);Pt(c,!1),q&&Nn(q),!qe&&(D=j&&j.onVnodeBeforeMount)&&Ye(D,ee,d),Pt(c,!0);{ce.ce&&ce.ce._hasShadowRoot()&&ce.ce._injectChildStyle(ge,c.parent?c.parent.type:void 0);const Je=c.subTree=Cr(c);A(null,Je,m,y,c,w,_),d.el=Je.el}if(ne&&Ie(ne,w),!qe&&(D=j&&j.onVnodeMounted)){const Je=d;Ie(()=>Ye(D,ee,Je),w)}(d.shapeFlag&256||ee&&Jt(ee.vnode)&&ee.vnode.shapeFlag&256)&&c.a&&Ie(c.a,w),c.isMounted=!0,d=m=y=null}};c.scope.on();const O=c.effect=new hi(T);c.scope.off();const E=c.update=O.run.bind(O),$=c.job=O.runIfDirty.bind(O);$.i=c,$.id=c.uid,O.scheduler=()=>Zs($),Pt(c,!0),E()},Z=(c,d,m)=>{d.component=c;const y=c.vnode.props;c.vnode=d,c.next=null,eu(c,d.props,y,m),ru(c,d.children,m),ht(),vr(c),pt()},J=(c,d,m,y,w,_,P,T,O=!1)=>{const E=c&&c.children,$=c?c.shapeFlag:0,D=d.children,{patchFlag:F,shapeFlag:j}=d;if(F>0){if(F&128){_t(E,D,m,y,w,_,P,T,O);return}else if(F&256){it(E,D,m,y,w,_,P,T,O);return}}j&8?($&16&&ke(E,w,_),D!==E&&a(m,D)):$&16?j&16?_t(E,D,m,y,w,_,P,T,O):ke(E,w,_,!0):($&8&&a(m,""),j&16&&Be(D,m,y,w,_,P,T,O))},it=(c,d,m,y,w,_,P,T,O)=>{c=c||Nt,d=d||Nt;const E=c.length,$=d.length,D=Math.min(E,$);let F;for(F=0;F$?ke(c,w,_,!0,!1,D):Be(d,m,y,w,_,P,T,O,D)},_t=(c,d,m,y,w,_,P,T,O)=>{let E=0;const $=d.length;let D=c.length-1,F=$-1;for(;E<=D&&E<=F;){const j=c[E],q=d[E]=O?ct(d[E]):Ze(d[E]);if(nn(j,q))A(j,q,m,null,w,_,P,T,O);else break;E++}for(;E<=D&&E<=F;){const j=c[D],q=d[F]=O?ct(d[F]):Ze(d[F]);if(nn(j,q))A(j,q,m,null,w,_,P,T,O);else break;D--,F--}if(E>D){if(E<=F){const j=F+1,q=j<$?d[j].el:y;for(;E<=F;)A(null,d[E]=O?ct(d[E]):Ze(d[E]),m,q,w,_,P,T,O),E++}}else if(E>F)for(;E<=D;)Ee(c[E],w,_,!0),E++;else{const j=E,q=E,ne=new Map;for(E=q;E<=F;E++){const De=d[E]=O?ct(d[E]):Ze(d[E]);De.key!=null&&ne.set(De.key,E)}let ee,ce=0;const ge=F-q+1;let qe=!1,Je=0;const en=new Array(ge);for(E=0;E=ge){Ee(De,w,_,!0);continue}let ze;if(De.key!=null)ze=ne.get(De.key);else for(ee=q;ee<=F;ee++)if(en[ee-q]===0&&nn(De,d[ee])){ze=ee;break}ze===void 0?Ee(De,w,_,!0):(en[ze-q]=E+1,ze>=Je?Je=ze:qe=!0,A(De,d[ze],m,null,w,_,P,T,O),ce++)}const ur=qe?uu(en):Nt;for(ee=ur.length-1,E=ge-1;E>=0;E--){const De=q+E,ze=d[De],cr=d[De+1],ar=De+1<$?cr.el||il(cr):y;en[E]===0?A(null,ze,m,ar,w,_,P,T,O):qe&&(ee<0||E!==ur[ee]?We(ze,m,ar,2):ee--)}}},We=(c,d,m,y,w=null)=>{const{el:_,type:P,transition:T,children:O,shapeFlag:E}=c;if(E&6){We(c.component.subTree,d,m,y);return}if(E&128){c.suspense.move(d,m,y);return}if(E&64){P.move(c,d,m,V);return}if(P===he){s(_,d,m);for(let D=0;DT.enter(_),w));else{const{leave:D,delayLeave:F,afterLeave:j}=T,q=()=>{c.ctx.isUnmounted?r(_):s(_,d,m)},ne=()=>{const ee=_._isLeaving||!!_[ms];_._isLeaving&&_[ms](!0),T.persisted&&!ee?q():D(_,()=>{q(),j&&j()})};F?F(_,q,ne):ne()}else s(_,d,m)},Ee=(c,d,m,y=!1,w=!1)=>{const{type:_,props:P,ref:T,children:O,dynamicChildren:E,shapeFlag:$,patchFlag:D,dirs:F,cacheIndex:j,memo:q}=c;if((D===-2||E&&E.hasOnce)&&(w=!1),T!=null&&(ht(),an(T,null,m,c,!0),pt()),j!=null&&(!c.ctx||c.ctx===d)&&(d.renderCache[j]=void 0),$&256){d.ctx.deactivate(c);return}const ne=$&1&&F,ee=!Jt(c);let ce;if(ee&&(ce=P&&P.onVnodeBeforeUnmount)&&Ye(ce,d,c),$&6)Ot(c.component,m,y);else{if($&128){c.suspense.unmount(m,y);return}ne&&Tt(c,null,d,"beforeUnmount"),$&64?c.type.remove(c,d,m,V,y):E&&!E.hasOnce&&(_!==he||D>0&&D&64)?ke(E,d,m,!1,!0):(_===he&&D&384||!w&&$&16)&&ke(O,d,m),y&&Ut(c)}const ge=q!=null&&j==null;(ee&&(ce=P&&P.onVnodeUnmounted)||ne||ge)&&Ie(()=>{ce&&Ye(ce,d,c),ne&&Tt(c,null,d,"unmounted"),ge&&(c.el=null)},m)},Ut=c=>{const{type:d,el:m,anchor:y,transition:w}=c;if(d===he){jt(m,y);return}if(d===kn){L(c),w&&!w.persisted&&w.afterLeave&&w.afterLeave();return}const _=()=>{r(m),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(c.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:T}=w,O=()=>P(m,_);T?T(c.el,_,O):O()}else _()},jt=(c,d)=>{let m;for(;c!==d;)m=g(c),r(c),c=m;r(d)},Ot=(c,d,m)=>{const{bum:y,scope:w,job:_,subTree:P,um:T,m:O,a:E}=c;Or(O),Or(E),y&&Nn(y),w.stop(),_?(_.flags|=8,Ee(P,c,d,m)):c.vnode.el&&P&&(P.transition=c.vnode.transition,Ee(P,c,d,m)),T&&Ie(T,d),Ie(()=>{c.isUnmounted=!0},d)},ke=(c,d,m,y=!1,w=!1,_=0)=>{for(let P=_;P{if(c.shapeFlag&6)return b(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const d=g(c.anchor||c.el),m=d&&d[wo];return m?g(m):d};let k=!1;const N=(c,d,m)=>{let y;c==null?d._vnode&&(Ee(d._vnode,null,null,!0),y=d._vnode.component):A(d._vnode||null,c,d,null,null,null,m),d._vnode=c,k||(k=!0,vr(y),Di(),k=!1)},V={p:A,um:Ee,m:We,r:Ut,mt:Zt,mc:Be,pc:J,pbc:Ke,n:b,o:e};return{render:N,hydrate:void 0,createApp:Go(N)}}function _s({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Pt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ou(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function sl(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let i=0;i>1,e[n[o]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,l=n[i-1];i-- >0;)n[i]=l,l=t[l];return n}function rl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:rl(t)}function Or(e){if(e)for(let t=0;te.__isSuspense;function cu(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):vo(e)}const he=Symbol.for("v-fgt"),os=Symbol.for("v-txt"),rt=Symbol.for("v-cmt"),kn=Symbol.for("v-stc"),dt=[];let Me=null;function U(e=!1){dt.push(Me=e?null:[])}function rr(){dt.pop(),Me=dt[dt.length-1]||null}let mn=1;function Bn(e,t=!1){mn+=e,e<0&&Me&&t&&(Me.hasOnce=!0)}function ol(e){return e.dynamicChildren=mn>0?Me||Nt:null,rr(),mn>0&&Me&&Me.push(e),e}function K(e,t,n,s,r,i){return ol(p(e,t,n,s,r,i,!0))}function Vt(e,t,n,s,r){return ol(ye(e,t,n,s,r,!0))}function vn(e){return e?e.__v_isVNode===!0:!1}function nn(e,t){return e.type===t.type&&e.key===t.key}const ul=({key:e})=>e??null,Ln=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||Se(e)||B(e)?{i:_e,r:e,k:t,f:!!n}:e:null);function p(e,t=null,n=null,s=0,r=null,i=e===he?0:1,l=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ul(t),ref:t&&Ln(t),scopeId:ki,slotScopeIds:null,children:n,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:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:_e};return o?(Kn(u,n),i&128&&e.normalize(u)):n&&(u.shapeFlag|=oe(n)?8:16),mn>0&&!l&&Me&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&Me.push(u),u}const ye=au;function au(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===ko)&&(e=rt),vn(e)){const o=Yt(e,t,!0);return n&&Kn(o,n),mn>0&&!i&&Me&&(o.shapeFlag&6?Me[Me.indexOf(e)]=o:Me.push(o)),o.patchFlag=-2,o}if(Su(e)&&(e=e.__vccOpts),t){t=fu(t);let{class:o,style:u}=t;o&&!oe(o)&&(t.class=Ne(o)),X(u)&&(Xs(u)&&!H(u)&&(u=be({},u)),t.style=xn(u))}const l=oe(e)?1:ll(e)?128:ss(e)?64:X(e)?4:B(e)?2:0;return p(e,t,n,s,r,l,i,!0)}function fu(e){return e?Xs(e)||Qi(e)?be({},e):e:null}function Yt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:l,children:o,transition:u}=e,f=t?hu(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&ul(f),ref:t&&t.ref?n&&i?H(i)?i.concat(Ln(t)):[i,Ln(t)]:Ln(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==he?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,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,cacheIndex:e.cacheIndex};return u&&s&&er(a,u.clone(a)),a}function ve(e=" ",t=0){return ye(os,null,e,t)}function du(e,t){const n=ye(kn,null,e);return n.staticCount=t,n}function ae(e="",t=!1){return t?(U(),Vt(rt,null,e)):ye(rt,null,e)}function Ze(e){return e==null||typeof e=="boolean"?ye(rt):H(e)?ye(he,null,e.slice()):vn(e)?ct(e):ye(os,null,String(e))}function ct(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Yt(e)}function Kn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Kn(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Qi(t)?t._ctx=_e:r===3&&_e&&(_e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(B(t)){if(s&65){Kn(e,{default:t});return}t={default:t,_ctx:_e},n=32}else t=String(t),s&64?(n=16,t=[ve(t)]):n=8;e.children=t,e.shapeFlag|=n}function hu(...e){const t={};for(let n=0;nxe||_e;let Gn,_n;{const e=Xn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(l=>l(i)):r[0](i)}};Gn=t("__VUE_INSTANCE_SETTERS__",n=>xe=n),_n=t("__VUE_SSR_SETTERS__",n=>yn=n)}const Cn=e=>{const t=xe;return Gn(e),e.scope.on(),()=>{e.scope.off(),Gn(t)}},Tr=()=>{xe&&xe.scope.off(),Gn(null)};function cl(e){return e.vnode.shapeFlag&4}let yn=!1;function _u(e,t=!1,n=!1){t&&_n(t);const{props:s,children:r}=e.vnode,i=cl(e);Zo(e,s,i,t),su(e,r,n||t);const l=i?yu(e,t):void 0;return t&&_n(!1),l}function yu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Fo);const{setup:s}=n;if(s){ht();const r=e.setupContext=s.length>1?wu(e):null,i=Cn(e),l=Sn(s,e,0,[e.props,r]),o=li(l);if(pt(),i(),(o||e.sp)&&!Jt(e)&&Ui(e),o){if(l.then(Tr,Tr),t)return l.then(u=>{_n(!0);try{Pr(e,u,t)}finally{_n(!1)}}).catch(u=>{ns(u,e,0)});e.asyncDep=l}else Pr(e,l)}else al(e)}function Pr(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=Ti(t)),al(e)}function al(e,t,n){const s=e.type;e.render||(e.render=s.render||tt);{const r=Cn(e);ht();try{$o(e)}finally{pt(),r()}}}const bu={get(e,t){return we(e,"get",""),e[t]}};function wu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,bu),slots:e.slots,emit:e.emit,expose:t}}function us(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ti(lo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in fn)return fn[n](e)},has(t,n){return n in t||n in fn}})):e.proxy}function xu(e,t=!0){return B(e)?e.displayName||e.name:e.name||t&&e.__name}function Su(e){return B(e)&&"__vccOpts"in e}const Fe=(e,t)=>fo(e,t,yn);function fl(e,t,n){try{Bn(-1);const s=arguments.length;return s===2?X(t)&&!H(t)?vn(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&vn(n)&&(n=[n]),ye(e,t,n))}finally{Bn(1)}}const Eu="3.5.43";/** * @vue/runtime-dom v3.5.43 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let ks;const Ir=typeof window<"u"&&window.trustedTypes;if(Ir)try{ks=Ir.createPolicy("vue",{createHTML:e=>e})}catch{}const dl=ks?e=>ks.createHTML(e):e=>e,Cu="http://www.w3.org/2000/svg",Au="http://www.w3.org/1998/Math/MathML",ut=typeof document<"u"?document:null,Nr=ut&&ut.createElement("template"),Ru={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==="svg"?ut.createElementNS(Cu,e):t==="mathml"?ut.createElementNS(Au,e):n?ut.createElement(e,{is:n}):ut.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ut.createTextNode(e),createComment:e=>ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const l=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Nr.innerHTML=dl(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const o=Nr.content;if(s==="svg"||s==="mathml"){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}t.insertBefore(o,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ou=Symbol("_vtc");function Tu(e,t,n){const s=e[Ou];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Dr=Symbol("_vod"),Pu=Symbol("_vsh"),Iu=Symbol(""),Nu=/(?:^|;)\s*display\s*:/;function Du(e,t,n){const s=e.style,r=oe(n);let i=!1;if(n&&!r){if(t)if(oe(t))for(const l of t.split(";")){const o=l.slice(0,l.indexOf(":")).trim();n[o]==null&&ln(s,o,"")}else for(const l in t)n[l]==null&&ln(s,l,"");for(const l in n){l==="display"&&(i=!0);const o=n[l];o!=null?ku(e,l,!oe(t)&&t?t[l]:void 0,o)||ln(s,l,o):ln(s,l,"")}}else if(r){if(t!==n){const l=s[Iu];l&&(n+=";"+l),s.cssText=n,i=Nu.test(n)}}else t&&e.removeAttribute("style");Dr in e&&(e[Dr]=i?s.display:"",e[Pu]&&(s.display="none"))}const Tn=/\s*!important$/;function ln(e,t,n){if(H(n))n.forEach(s=>ln(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))Tn.test(n)?e.setProperty(t,n.replace(Tn,""),"important"):e.setProperty(t,n);else{const s=Mu(e,t);Tn.test(n)?e.setProperty(Ft(s),n.replace(Tn,""),"important"):e[s]=n}}const Mr=["Webkit","Moz","ms"],ys={};function Mu(e,t){const n=ys[t];if(n)return n;let s=Pe(t);if(s!=="filter"&&s in e)return ys[t]=s;s=Qn(s);for(let r=0;rbs||(ju.then(()=>bs=0),bs=Date.now());function Bu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(H(r)){const i=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{i.call(s),s._stopped=!0};const l=r.slice(),o=[s];for(let u=0;ue.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ku=(e,t,n,s,r,i)=>{const l=r==="svg";t==="class"?Tu(e,s,l):t==="style"?Du(e,n,s):Jn(t)?zn(t)||Vu(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gu(e,t,s,l))?(Vr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Lr(e,t,s,l,i,t!=="value")):e._isVueCE&&(Wu(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!oe(s)))?Vr(e,Pe(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Lr(e,t,s,l))};function Gu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&$r(t)&&B(n));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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return $r(t)&&oe(n)?!1:t in e}function Wu(e,t){const n=e._def.props;if(!n)return!1;const s=Pe(t);return Array.isArray(n)?n.some(r=>Pe(r)===s):Object.keys(n).some(r=>Pe(r)===s)}const Ur=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>Nn(t,n):t};function qu(e){e.target.composing=!0}function jr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Pn=Symbol("_assign"),In=Symbol("_initialValue");function ws(e,t,n){return t&&(e=e.trim()),n&&(e=Gs(e)),e}const St={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e.parentNode&&(e.type==="text"?e[In]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[In]=e.defaultValue.replace(/\r\n?/g,` `))),e[Pn]=Ur(r);const i=s||r.props&&r.props.type==="number";Kt(e,t?"change":"input",l=>{l.target.composing||e[Pn](ws(e.value,n,i))}),(n||i)&&Kt(e,"change",()=>{e.value=ws(e.value,n,i)}),t||(Kt(e,"compositionstart",qu),Kt(e,"compositionend",jr),Kt(e,"change",jr))},mounted(e,{value:t,modifiers:{trim:n,number:s}}){const r=t??"",i=e[In];delete e[In],i!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==i?e[Pn](ws(e.value,n,s)):e.value=r},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},l){if(e[Pn]=Ur(l),e.composing)return;const o=(i||e.type==="number")&&!/^0\d/.test(e.value)?Gs(e.value):e.value,u=t??"";if(o===u)return;const f=e.getRootNode();(f instanceof Document||f instanceof ShadowRoot)&&f.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===u)||(e.value=u)}},Ju=["ctrl","shift","alt","meta"],zu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ju.some(n=>e[`${n}Key`]&&!t.includes(n))},Wn=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let l=0;l{const t=Qu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ec(s);if(!r)return;const i=t._component;!B(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const l=n(r,!1,Zu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),l},t};function Zu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ec(e){return oe(e)?document.querySelector(e):e}const tc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},nc={};function sc(e,t){const n=Hi("router-view");return U(),Vt(n)}const rc=tc(nc,[["render",sc]]);/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */const Gt=typeof document<"u";function hl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ic(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&hl(e.default)}const z=Object.assign;function xs(e,t){const n={};for(const s in t){const r=t[s];n[s]=He(r)?r.map(e):e(r)}return n}const dn=()=>{},He=Array.isArray;function Br(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const pl=/#/g,lc=/&/g,oc=/\//g,uc=/=/g,cc=/\?/g,gl=/\+/g,ac=/%5B/g,fc=/%5D/g,ml=/%5E/g,dc=/%60/g,vl=/%7B/g,hc=/%7C/g,_l=/%7D/g,pc=/%20/g;function ir(e){return e==null?"":encodeURI(""+e).replace(hc,"|").replace(ac,"[").replace(fc,"]")}function gc(e){return ir(e).replace(vl,"{").replace(_l,"}").replace(ml,"^")}function Ls(e){return ir(e).replace(gl,"%2B").replace(pc,"+").replace(pl,"%23").replace(lc,"%26").replace(dc,"`").replace(vl,"{").replace(_l,"}").replace(ml,"^")}function mc(e){return Ls(e).replace(uc,"%3D")}function vc(e){return ir(e).replace(pl,"%23").replace(cc,"%3F")}function _c(e){return vc(e).replace(oc,"%2F")}function bn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const yc=/\/$/,bc=e=>e.replace(yc,"");function Ss(e,t,n="/"){let s,r={},i="",l="";const o=t.indexOf("#");let u=t.indexOf("?");return u=o>=0&&u>o?-1:u,u>=0&&(s=t.slice(0,u),i=t.slice(u,o>0?o:t.length),r=e(i.slice(1))),o>=0&&(s=s||t.slice(0,o),l=t.slice(o,t.length)),s=Ec(s??t,n),{fullPath:s+i+l,path:s,query:r,hash:bn(l)}}function wc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Kr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function xc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Qt(t.matched[s],n.matched[r])&&yl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Qt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function yl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Sc(e[n],t[n]))return!1;return!0}function Sc(e,t){return He(e)?Gr(e,t):He(t)?Gr(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Gr(e,t){return He(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ec(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,l,o;for(l=0;l1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(l).join("/")}const yt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Vs=function(e){return e.pop="pop",e.push="push",e}({}),Es=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Cc(e){if(!e)if(Gt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),bc(e)}const Ac=/^[^#]+#/;function Rc(e,t){return e.replace(Ac,"#")+t}function Oc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const cs=()=>({left:window.scrollX,top:window.scrollY});function Tc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Oc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Wr(e,t){return(history.state?history.state.position-t:-1)+e}const Fs=new Map;function Pc(e,t){Fs.set(e,t)}function Ic(e){const t=Fs.get(e);return Fs.delete(e),t}function Nc(e){return typeof e=="string"||e&&typeof e=="object"}function bl(e){return typeof e=="string"||typeof e=="symbol"}let le=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const wl=Symbol("");le.MATCHER_NOT_FOUND+"",le.NAVIGATION_GUARD_REDIRECT+"",le.NAVIGATION_ABORTED+"",le.NAVIGATION_CANCELLED+"",le.NAVIGATION_DUPLICATED+"";function Xt(e,t){return z(new Error,{type:e,[wl]:!0},t)}function ot(e,t){return e instanceof Error&&wl in e&&(t==null||!!(e.type&t))}const Dc=["params","query","hash"];function Mc(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Dc)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function kc(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;sr&&Ls(r)):[s&&Ls(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Lc(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=He(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Vc=Symbol(""),Jr=Symbol(""),as=Symbol(""),xl=Symbol(""),$s=Symbol("");function sn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function wt(e,t,n,s,r,i=l=>l()){const l=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,u)=>{const f=g=>{g===!1?u(Xt(le.NAVIGATION_ABORTED,{from:n,to:t})):g instanceof Error?u(g):Nc(g)?u(Xt(le.NAVIGATION_GUARD_REDIRECT,{from:t,to:g})):(l&&s.enterCallbacks[r]===l&&typeof g=="function"&&l.push(g),o())},a=i(()=>e.call(s&&s.instances[r],t,n,f));let h=Promise.resolve(a);e.length<3&&(h=h.then(f)),h.catch(g=>u(g))})}function Cs(e,t,n,s,r=i=>i()){const i=[];for(const l of e)for(const o in l.components){let u=l.components[o];if(!(t!=="beforeRouteEnter"&&!l.instances[o]))if(hl(u)){const f=(u.__vccOpts||u)[t];f&&i.push(wt(f,n,s,l,o,r))}else{let f=u();i.push(()=>f.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${o}" at "${l.path}"`);const h=ic(a)?a.default:a;l.mods[o]=a,l.components[o]=h;const g=(h.__vccOpts||h)[t];return g&&wt(g,n,s,l,o,r)()}))}}return i}function Fc(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let l=0;lQt(f,o))?s.push(o):n.push(o));const u=e.matched[l];u&&(t.matched.find(f=>Qt(f,u))||r.push(u))}return[n,s,r]}/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */let $c=()=>location.protocol+"//"+location.host;function Sl(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,o=r.slice(l);return o[0]!=="/"&&(o="/"+o),Kr(o,"")}return Kr(n,e)+s+r}function Uc(e,t,n,s){let r=[],i=[],l=null;const o=({state:g})=>{const v=Sl(e,location),x=n.value,A=t.value;let R=0;if(g){if(n.value=v,t.value=g,l&&l===x){l=null;return}R=A?g.position-A.position:0}else s(v);r.forEach(C=>{C(n.value,x,{delta:R,type:Vs.pop,direction:R?R>0?Es.forward:Es.back:Es.unknown})})};function u(){l=n.value}function f(g){r.push(g);const v=()=>{const x=r.indexOf(g);x>-1&&r.splice(x,1)};return i.push(v),v}function a(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState(z({},g.state,{scroll:cs()}),"")}}function h(){for(const g of i)g();i=[],window.removeEventListener("popstate",o),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",o),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:u,listen:f,destroy:h}}function zr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?cs():null}}function jc(e){const{history:t,location:n}=window,s={value:Sl(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(u,f,a){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+u:$c()+e+u;try{t[a?"replaceState":"pushState"](f,"",g),r.value=f}catch(v){console.error(v),n[a?"replace":"assign"](g)}}function l(u,f){i(u,z({},t.state,zr(r.value.back,u,r.value.forward,!0),f,{position:r.value.position}),!0),s.value=u}function o(u,f){const a=z({},r.value,t.state,{forward:u,scroll:cs()});i(a.current,a,!0),i(u,z({},zr(s.value,u,null),{position:a.position+1},f),!1),s.value=u}return{location:s,state:r,push:o,replace:l}}function Hc(e){e=Cc(e);const t=jc(e),n=Uc(e,t.state,t.location,t.replace);function s(i,l=!0){l||n.pauseListeners(),history.go(i)}const r=z({location:"",base:e,go:s,createHref:Rc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Mt=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var de=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(de||{});const Bc={type:Mt.Static,value:""},Kc=/[a-zA-Z0-9_]/;function Gc(e){if(!e)return[[]];if(e==="/")return[[Bc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${f}": ${v}`)}let n=de.Static,s=n;const r=[];let i;function l(){i&&r.push(i),i=[]}let o=0,u,f="",a="";function h(){f&&(n===de.Static?i.push({type:Mt.Static,value:f}):n===de.Param||n===de.ParamRegExp||n===de.ParamRegExpEnd?(i.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Mt.Param,value:f,regexp:a,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),f="")}function g(){f+=u}for(;ot.length?t.length===1&&t[0]===Ae.Static+Ae.Segment?1:-1:0}function El(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Yc={strict:!1,end:!0,sensitive:!1};function Qc(e,t,n){const s=Jc(Gc(e.path),n),r=z(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Xc(e,t){const n=[],s=new Map;t=Br(Yc,t);function r(h){return s.get(h)}function i(h,g,v){const x=!v,A=Zr(h);A.aliasOf=v&&v.record;const R=Br(t,h),C=[A];if("alias"in h){const L=typeof h.alias=="string"?[h.alias]:h.alias;for(const te of L)C.push(Zr(z({},A,{components:v?v.record.components:A.components,path:te,aliasOf:v?v.record:A})))}let I,S;for(const L of C){const{path:te}=L;if(g&&te[0]!=="/"){const fe=g.record.path,ie=fe[fe.length-1]==="/"?"":"/";L.path=g.record.path+(te&&ie+te)}if(I=Qc(L,g,R),v?v.alias.push(I):(S=S||I,S!==I&&S.alias.push(I),x&&h.name&&!ei(I)&&l(h.name)),Cl(I)&&u(I),A.children){const fe=A.children;for(let ie=0;ie{l(S)}:dn}function l(h){if(bl(h)){const g=s.get(h);g&&(s.delete(h),n.splice(n.indexOf(g),1),g.children.forEach(l),g.alias.forEach(l))}else{const g=n.indexOf(h);g>-1&&(n.splice(g,1),h.record.name&&s.delete(h.record.name),h.children.forEach(l),h.alias.forEach(l))}}function o(){return n}function u(h){const g=ta(h,n);n.splice(g,0,h),h.record.name&&!ei(h)&&s.set(h.record.name,h)}function f(h,g){let v,x={},A,R;if("name"in h&&h.name){if(v=s.get(h.name),!v)throw Xt(le.MATCHER_NOT_FOUND,{location:h});R=v.record.name,x=z(Xr(g.params,v.keys.filter(S=>!S.optional).concat(v.parent?v.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),h.params&&Xr(h.params,v.keys.map(S=>S.name))),A=v.stringify(x)}else if(h.path!=null)A=h.path,v=n.find(S=>S.re.test(A)),v&&(x=v.parse(A),R=v.record.name);else{if(v=g.name?s.get(g.name):n.find(S=>S.re.test(g.path)),!v)throw Xt(le.MATCHER_NOT_FOUND,{location:h,currentLocation:g});R=v.record.name,x=z({},g.params,h.params),A=v.stringify(x)}const C=[];let I=v;for(;I;)C.unshift(I.record),I=I.parent;return{name:R,path:A,params:x,matched:C,meta:ea(C)}}e.forEach(h=>i(h));function a(){n.length=0,s.clear()}return{addRoute:i,resolve:f,removeRoute:l,clearRoutes:a,getRoutes:o,getRecordMatcher:r}}function Xr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Zr(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Zc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Zc(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function ei(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ea(e){return e.reduce((t,n)=>z(t,n.meta),{})}function ta(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;El(e,t[i])<0?s=i:n=i+1}const r=na(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function na(e){let t=e;for(;t=t.parent;)if(Cl(t)&&El(e,t)===0)return t}function Cl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ti(e){const t=nt(as),n=nt(xl),s=Fe(()=>{const u=G(e.to);return t.resolve(u)}),r=Fe(()=>{const{matched:u}=s.value,{length:f}=u,a=u[f-1],h=n.matched;if(!a||!h.length)return-1;const g=h.findIndex(Qt.bind(null,a));if(g>-1)return g;const v=ni(u[f-2]);return f>1&&ni(a)===v&&h[h.length-1].path!==v?h.findIndex(Qt.bind(null,u[f-2])):g}),i=Fe(()=>r.value>-1&&oa(n.params,s.value.params)),l=Fe(()=>r.value>-1&&r.value===n.matched.length-1&&yl(n.params,s.value.params));function o(u={}){if(la(u)){const f=t[G(e.replace)?"replace":"push"](G(e.to)).catch(dn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:Fe(()=>s.value.href),isActive:i,isExactActive:l,navigate:o}}function sa(e){return e.length===1?e[0]:e}const ra=$i({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:ti,setup(e,{slots:t}){const n=ts(ti(e)),{options:s}=nt(as),r=Fe(()=>({[si(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[si(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&sa(t.default(n));return e.custom?i:fl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),ia=ra;function la(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function oa(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!He(r)||r.length!==s.length||s.some((i,l)=>i.valueOf()!==r[l].valueOf()))return!1}return!0}function ni(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const si=(e,t,n)=>e??t??n,ua=$i({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=nt($s),r=Fe(()=>e.route||s.value),i=nt(Jr,0),l=Fe(()=>{let f=G(i);const{matched:a}=r.value;let h;for(;(h=a[f])&&!h.components;)f++;return f}),o=Fe(()=>r.value.matched[l.value]);Dn(Jr,Fe(()=>l.value+1)),Dn(Vc,o),Dn($s,r);const u=ue();return Mn(()=>[u.value,o.value,e.name],([f,a,h],[g,v,x])=>{a&&(a.instances[h]=f,v&&v!==a&&f&&f===g&&(a.leaveGuards.size||(a.leaveGuards=v.leaveGuards),a.updateGuards.size||(a.updateGuards=v.updateGuards))),f&&a&&(!v||!Qt(a,v)||!g)&&(a.enterCallbacks[h]||[]).forEach(A=>A(f))},{flush:"post"}),()=>{const f=r.value,a=e.name,h=o.value,g=h&&h.components[a];if(!g)return ri(n.default,{Component:g,route:f});const v=h.props[a],x=v?v===!0?f.params:typeof v=="function"?v(f):v:null,R=fl(g,z({},x,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(h.instances[a]=null)},ref:u}));return ri(n.default,{Component:R,route:f})||R}}});function ri(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ca=ua;function aa(e){const t=Xc(e.routes,e),n=e.parseQuery||kc,s=e.stringifyQuery||qr,r=e.history,i=sn(),l=sn(),o=sn(),u=oo(yt);let f=yt;Gt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=xs.bind(null,b=>""+b),h=xs.bind(null,_c),g=xs.bind(null,bn);function v(b,k){let N,V;return bl(b)?(N=t.getRecordMatcher(b),V=k):V=b,t.addRoute(V,N)}function x(b){const k=t.getRecordMatcher(b);k&&t.removeRoute(k)}function A(){return t.getRoutes().map(b=>b.record)}function R(b){return!!t.getRecordMatcher(b)}function C(b,k){if(k=z({},k||u.value),typeof b=="string"){const m=Ss(n,b,k.path),y=t.resolve({path:m.path},k),w=r.createHref(m.fullPath);return z(m,y,{params:g(y.params),hash:bn(m.hash),redirectedFrom:void 0,href:w})}let N;if(b.path!=null)N=z({},b,{path:Ss(n,b.path,k.path).path});else{const m=z({},b.params);for(const y in m)m[y]==null&&delete m[y];N=z({},b,{params:h(m)}),k.params=h(k.params)}const V=t.resolve(N,k),W=b.hash||"";V.params=a(g(V.params));const c=wc(s,z({},b,{hash:gc(W),path:V.path})),d=r.createHref(c);return z({fullPath:c,hash:W,query:s===qr?Lc(b.query):b.query||{}},V,{redirectedFrom:void 0,href:d})}function I(b){return typeof b=="string"?Ss(n,b,u.value.path):z({},b)}function S(b,k){if(f!==b)return Xt(le.NAVIGATION_CANCELLED,{from:k,to:b})}function L(b){return ie(b)}function te(b){return L(z(I(b),{replace:!0}))}function fe(b,k){const N=b.matched[b.matched.length-1];if(N&&N.redirect){const{redirect:V}=N;let W=typeof V=="function"?V(b,k):V;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=I(W):{path:W},W.params={}),z({query:b.query,hash:b.hash,params:W.path!=null?{}:b.params},W)}}function ie(b,k){const N=f=C(b),V=u.value,W=b.state,c=b.force,d=b.replace===!0,m=fe(N,V);if(m)return ie(z(I(m),{state:typeof m=="object"?z({},W,m.state):W,force:c,replace:d}),k||N);const y=N;y.redirectedFrom=k;let w;return!c&&xc(s,V,N)&&(w=Xt(le.NAVIGATION_DUPLICATED,{to:y,from:V}),We(V,V,!0,!1)),(w?Promise.resolve(w):Ke(y,V)).catch(_=>ot(_)?ot(_,le.NAVIGATION_GUARD_REDIRECT)?_:_t(_):J(_,y,V)).then(_=>{if(_){if(ot(_,le.NAVIGATION_GUARD_REDIRECT))return ie(z({replace:d},I(_.to),{state:typeof _.to=="object"?z({},W,_.to.state):W,force:c}),k||y)}else _=Rt(y,V,!0,d,W);return vt(y,V,_),_})}function Be(b,k){const N=S(b,k);return N?Promise.reject(N):Promise.resolve()}function mt(b){const k=jt.values().next().value;return k&&typeof k.runWithContext=="function"?k.runWithContext(b):b()}function Ke(b,k){let N;const[V,W,c]=Fc(b,k);N=Cs(V.reverse(),"beforeRouteLeave",b,k);for(const m of V)m.leaveGuards.forEach(y=>{N.push(wt(y,b,k))});const d=Be.bind(null,b,k);return N.push(d),ke(N).then(()=>{N=[];for(const m of i.list())N.push(wt(m,b,k));return N.push(d),ke(N)}).then(()=>{N=Cs(W,"beforeRouteUpdate",b,k);for(const m of W)m.updateGuards.forEach(y=>{N.push(wt(y,b,k))});return N.push(d),ke(N)}).then(()=>{N=[];for(const m of c)if(m.beforeEnter)if(He(m.beforeEnter))for(const y of m.beforeEnter)N.push(wt(y,b,k));else N.push(wt(m.beforeEnter,b,k));return N.push(d),ke(N)}).then(()=>(b.matched.forEach(m=>m.enterCallbacks={}),N=Cs(c,"beforeRouteEnter",b,k,mt),N.push(d),ke(N))).then(()=>{N=[];for(const m of l.list())N.push(wt(m,b,k));return N.push(d),ke(N)}).catch(m=>ot(m,le.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function vt(b,k,N){o.list().forEach(V=>mt(()=>V(b,k,N)))}function Rt(b,k,N,V,W){const c=S(b,k);if(c)return c;const d=k===yt,m=Gt?history.state:{};N&&(V||d?r.replace(b.fullPath,z({scroll:d&&m&&m.scroll},W)):r.push(b.fullPath,W)),u.value=b,We(b,k,N,d),_t()}let Ge;function Zt(){Ge||(Ge=r.listen((b,k,N)=>{if(!Ot.listening)return;const V=C(b),W=fe(V,Ot.currentRoute.value);if(W){ie(z(W,{replace:!0,force:!0}),V).catch(dn);return}f=V;const c=u.value;Gt&&Pc(Wr(c.fullPath,N.delta),cs()),Ke(V,c).catch(d=>ot(d,le.NAVIGATION_ABORTED|le.NAVIGATION_CANCELLED)?d:ot(d,le.NAVIGATION_GUARD_REDIRECT)?(ie(z(I(d.to),{force:!0}),V).then(m=>{ot(m,le.NAVIGATION_ABORTED|le.NAVIGATION_DUPLICATED)&&!N.delta&&N.type===Vs.pop&&r.go(-1,!1)}).catch(dn),Promise.reject()):(N.delta&&r.go(-N.delta,!1),J(d,V,c))).then(d=>{d=d||Rt(V,c,!1),d&&(N.delta&&!ot(d,le.NAVIGATION_CANCELLED)?r.go(-N.delta,!1):N.type===Vs.pop&&ot(d,le.NAVIGATION_ABORTED|le.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),vt(V,c,d)}).catch(dn)}))}let $t=sn(),pe=sn(),Z;function J(b,k,N){_t(b);const V=pe.list();return V.length?V.forEach(W=>W(b,k,N)):console.error(b),Promise.reject(b)}function it(){return Z&&u.value!==yt?Promise.resolve():new Promise((b,k)=>{$t.add([b,k])})}function _t(b){return Z||(Z=!b,Zt(),$t.list().forEach(([k,N])=>b?N(b):k()),$t.reset()),b}function We(b,k,N,V){const{scrollBehavior:W}=e;if(!Gt||!W)return Promise.resolve();const c=!N&&Ic(Wr(b.fullPath,0))||(V||!N)&&history.state&&history.state.scroll||null;return Ii().then(()=>W(b,k,c)).then(d=>d&&Tc(d)).catch(d=>J(d,b,k))}const Ee=b=>r.go(b);let Ut;const jt=new Set,Ot={currentRoute:u,listening:!0,addRoute:v,removeRoute:x,clearRoutes:t.clearRoutes,hasRoute:R,getRoutes:A,resolve:C,options:e,push:L,replace:te,go:Ee,back:()=>Ee(-1),forward:()=>Ee(1),beforeEach:i.add,beforeResolve:l.add,afterEach:o.add,onError:pe.add,isReady:it,install(b){b.component("RouterLink",ia),b.component("RouterView",ca),b.config.globalProperties.$router=Ot,Object.defineProperty(b.config.globalProperties,"$route",{enumerable:!0,get:()=>G(u)}),Gt&&!Ut&&u.value===yt&&(Ut=!0,L(r.location).catch(V=>{}));const k={};for(const V in yt)Object.defineProperty(k,V,{get:()=>u.value[V],enumerable:!0});b.provide(as,Ot),b.provide(xl,Ri(k)),b.provide($s,u);const N=b.unmount;jt.add(b),b.unmount=function(){jt.delete(b),jt.size<1&&(f=yt,Ge&&Ge(),Ge=null,u.value=yt,Ut=!1,Z=!1),N()}}};function ke(b){return b.reduce((k,N)=>k.then(()=>mt(N)),Promise.resolve())}return Ot}function Al(){return nt(as)}const fa=["token","role","wallet","username"];function lr(){return{token:localStorage.getItem("token")||"",role:localStorage.getItem("role")||"",wallet:localStorage.getItem("wallet")||"",username:localStorage.getItem("username")||""}}function da(e){localStorage.setItem("token",e.access_token),localStorage.setItem("role",e.role),localStorage.setItem("wallet",e.wallet_address),localStorage.setItem("username",e.username||"")}function or(){fa.forEach(e=>localStorage.removeItem(e))}async function Re(e,t={}){const n={...t.headers||{}};t.body&&!n["Content-Type"]&&(n["Content-Type"]="application/json");const s=localStorage.getItem("token");s&&(n.Authorization=`Bearer ${s}`);const r=await fetch(`/api/v1${e}`,{...t,headers:n}),i=await r.text(),l=i?JSON.parse(i):null;if(r.status===401)throw or(),location.pathname!=="/login"&&location.assign("/login"),new Error(Us(l)||"登录已失效");if(!r.ok)throw new Error(Us(l)||"请求失败");return l}async function ha(e,t){const n={},s=localStorage.getItem("token");s&&(n.Authorization=`Bearer ${s}`);const r=await fetch(`/api/v1${e}`,{headers:n});if(r.status===401)throw or(),location.pathname!=="/login"&&location.assign("/login"),new Error("登录已失效");if(!r.ok){const u=await r.text(),f=u?JSON.parse(u):null;throw new Error(Us(f)||"下载失败")}const i=await r.blob(),l=URL.createObjectURL(i),o=document.createElement("a");o.href=l,o.download=t,o.click(),URL.revokeObjectURL(l)}function Us(e){return e?typeof e.detail=="string"?e.detail:Array.isArray(e.detail)?e.detail.map(t=>t.msg).filter(Boolean).join(";"):"":""}const pa={class:"gate"},ga={class:"switch"},ma={key:0,class:"switch slim"},va={key:1},_a={key:2},ya={key:3},ba={key:4},wa={key:5,class:"form-error"},xa=["disabled"],Sa={class:"hint"},Ea={class:"panel agreement-sheet"},Ca={__name:"Login",setup(e){const t=Al(),n=ue("login"),s=ue("wallet"),r=ue(""),i=ue(!1),l=ue({wallet_address:"",username:"",password:"",confirm:""}),o=ue(!1);async function u(){if(r.value="",n.value==="register"&&l.value.password!==l.value.confirm){r.value="两次密码不一致";return}i.value=!0;try{const h=n.value==="register"?await a():await f();da(h),t.push(h.role==="admin"?"/admin":"/dashboard")}catch(h){r.value=h.message}finally{i.value=!1}}function f(){return s.value==="wallet"?Re("/auth/login",{method:"POST",body:JSON.stringify({wallet_address:l.value.wallet_address.trim()})}):Re("/auth/login",{method:"POST",body:JSON.stringify({username:l.value.username.trim(),password:l.value.password})})}function a(){return Re("/auth/register",{method:"POST",body:JSON.stringify({wallet_address:l.value.wallet_address.trim(),username:l.value.username.trim(),password:l.value.password})})}return(h,g)=>(U(),K("div",pa,[g[17]||(g[17]=p("section",{class:"gate-copy"},[p("p",{class:"eyebrow"},"HyperNode"),p("h1",null,"连接全球 DePIN 分布式算力网络"),p("p",null,"基于去中心化节点的推理验证与任务调度平台。连接您的算力节点,实时监控质押释放与算力收益。")],-1)),p("form",{class:"gate-card",onSubmit:Wn(u,["prevent"])},[p("div",ga,[p("button",{type:"button",class:Ne({on:n.value==="login"}),onClick:g[0]||(g[0]=v=>n.value="login")},"登录",2),p("button",{type:"button",class:Ne({on:n.value==="register"}),onClick:g[1]||(g[1]=v=>n.value="register")},"注册",2)]),n.value==="login"?(U(),K("div",ma,[p("button",{type:"button",class:Ne({on:s.value==="wallet"}),onClick:g[2]||(g[2]=v=>s.value="wallet")},"钱包地址",2),p("button",{type:"button",class:Ne({on:s.value==="account"}),onClick:g[3]||(g[3]=v=>s.value="account")},"账号密码",2)])):ae("",!0),n.value==="register"||s.value==="wallet"?(U(),K("label",va,[g[11]||(g[11]=ve(" 钱包地址 ",-1)),xt(p("input",{"onUpdate:modelValue":g[4]||(g[4]=v=>l.value.wallet_address=v),required:"",minlength:"4",placeholder:"请填写您的 USDT (TRC20/ERC20) 收益接收地址",autocomplete:"username"},null,512),[[St,l.value.wallet_address]])])):ae("",!0),n.value==="register"||s.value==="account"?(U(),K("label",_a,[g[12]||(g[12]=ve(" 用户名 ",-1)),xt(p("input",{"onUpdate:modelValue":g[5]||(g[5]=v=>l.value.username=v),required:"",minlength:"3",maxlength:"32",placeholder:"miner",autocomplete:"username"},null,512),[[St,l.value.username]])])):ae("",!0),n.value==="register"||s.value==="account"?(U(),K("label",ya,[g[13]||(g[13]=ve(" 密码 ",-1)),xt(p("input",{"onUpdate:modelValue":g[6]||(g[6]=v=>l.value.password=v),required:"",minlength:"6",type:"password",autocomplete:"current-password"},null,512),[[St,l.value.password]])])):ae("",!0),n.value==="register"?(U(),K("label",ba,[g[14]||(g[14]=ve(" 确认密码 ",-1)),xt(p("input",{"onUpdate:modelValue":g[7]||(g[7]=v=>l.value.confirm=v),required:"",minlength:"6",type:"password",autocomplete:"new-password"},null,512),[[St,l.value.confirm]])])):ae("",!0),r.value?(U(),K("p",wa,M(r.value),1)):ae("",!0),p("button",{class:"gold wide",type:"submit",disabled:i.value},M(i.value?"请稍候":n.value==="login"?"进入":"创建账号"),9,xa),p("p",Sa,[g[15]||(g[15]=ve(" 注册即代表您已阅读并同意 ",-1)),p("button",{type:"button",class:"agreement-link",onClick:g[8]||(g[8]=v=>o.value=!0)},"《算力节点质押与服务协议》")])],32),o.value?(U(),K("div",{key:0,class:"agreement-mask",onClick:g[10]||(g[10]=Wn(v=>o.value=!1,["self"]))},[p("article",Ea,[g[16]||(g[16]=du('

HyperNode

算力节点质押与服务协议

生效日期:2026年10月 · 协议版本:v1.2

欢迎您申请参与 HyperNode 去中心化 AI 算力网络(以下简称“本网络”或“平台”)。在您勾选“同意协议”或完成 USDT 质押激活节点之前,请务必仔细阅读本协议的所有条款。

一、定义与说明

算力节点(Compute Node):指由用户运行或绑定的、通过轻量级客户端接入 HyperNode 网络的边缘计算节点。

节点履约质押金(Collateral Stake):指用户为保障节点运行质量(SLA)、防止网络作弊或恶意掉线,向平台系统质押的 1500 USDT 保证金。

节点 Token(Node Token):平台下发给已激活节点的专属加密凭证,用于客户端与网络服务端的鉴权与通信。

算力积分与收益(Yield / Points):指节点通过维持在线、响应网络数据推理验证与任务调度所获得的贡献奖励。

二、质押与激活规则

门槛与额度:激活单个标准 AI 算力节点需提交 1500 USDT 作为履约质押金。

审核与开通:用户提交链上交易哈希(TxID)后,需经系统及管理员清算审核。审核通过后,节点正式进入 12 个月的授权运行周期,并解锁客户端下载及 Node Token 绑定权限。

质押金优先抵扣与赎回:节点每日产生的算力收益,将优先计入“质押金赎回额度”。当累计释放收益达到 1500 USDT(即本金全额解锁)后,后续产生的收益自动转为“网络算力激励”。

三、节点运行规范与 SLA 服务质量考核

在线率要求:节点需保持每天不少于规定时长的在线状态,并正常响应服务端的随机任务下发与心跳检测。

收益衰减与扣罚机制:每日算力收益由“网络在线率”与“任务响应率”共同决定。若节点频繁离线、断网或拒绝响应计算任务,当天的表现系数将自动降低,导致当日算力收益缩减或清零,质押金赎回周期将相应顺延。

全网算力难度调整:平台根据全网总激活节点数量与每日总奖池,动态调整分配系数。节点收益受全网总算力竞争影响。

四、提现与清算机制

提现申请:用户可在控制台申请将已解冻的积分/USDT 提现至指定的个人加密钱包地址(TRC20 / ERC20)。

人工审核与安全排查:为防范 Sybil 攻击(女巫攻击)与自动化作弊,所有提现申请需经过平台安全清算与管理员审核。平台有权在发现异常流量或欺诈挂机时冻结相关节点。

五、免责声明与风险提示

网络与硬件风险:用户需自行承担因个人宽带中断、设备损坏、电力故障或客户端被防火墙拦截导致的节点掉线损失。

区块链与资产风险:请务必确认填写的 USDT 接收地址准确无误。因用户个人地址填写错误导致的资产损失,平台概不负责。

协议修改:平台保留根据网络发展与技术升级对本协议条款、产出算法进行微调的权利,更新后的条款将于控制台公示后生效。

点击“同意”或继续提交质押申请,即代表您已完全理解并接受上述所有条款与风险提示。

',25)),p("button",{class:"gold",type:"button",onClick:g[9]||(g[9]=v=>o.value=!1)},"同意")])])):ae("",!0)]))}},Aa={class:"shell"},Ra={class:"rail"},Oa={class:"nav"},Ta={class:"rail-foot"},Pa={class:"who"},Ia={class:"stage"},Na={class:"top"},Da={class:"eyebrow"},Ma={class:"clock"},ka={class:"view"},Rl={__name:"Shell",props:{eyebrow:{type:String,default:"控制面"},title:{type:String,required:!0}},setup(e){const t=Al(),n=lr(),s=ue("--:--:--");let r=0;function i(){s.value=new Intl.DateTimeFormat("zh-CN",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1,timeZone:"Asia/Shanghai"}).format(new Date)}function l(){or(),t.push("/login")}return is(()=>{i(),r=window.setInterval(i,1e3)}),En(()=>window.clearInterval(r)),(o,u)=>{const f=Hi("router-link");return U(),K("div",Aa,[p("aside",Ra,[ye(f,{class:"brand",to:"/"},{default:qt(()=>[...u[0]||(u[0]=[p("span",{class:"mark","aria-hidden":"true"},[p("svg",{viewBox:"0 0 32 32",width:"28",height:"28"},[p("path",{d:"M16 3 L27 9.5 V22.5 L16 29 L5 22.5 V9.5 Z",fill:"none",stroke:"currentColor","stroke-width":"1.4"}),p("circle",{cx:"16",cy:"16",r:"2.2",fill:"currentColor"})])],-1),p("span",null,[p("strong",null,"HyperNode"),p("em",null,"Compute Atelier")],-1)])]),_:1}),p("nav",Oa,[ye(f,{to:"/dashboard"},{default:qt(()=>[...u[1]||(u[1]=[ve("我的节点",-1)])]),_:1}),G(n).role==="admin"?(U(),Vt(f,{key:0,to:"/admin"},{default:qt(()=>[...u[2]||(u[2]=[ve("管理后台",-1)])]),_:1})):ae("",!0)]),p("div",Ta,[p("span",Pa,M(G(n).username||G(n).wallet),1),p("button",{type:"button",class:"texty",onClick:l},"退出")])]),p("div",Ia,[p("header",Na,[p("div",null,[p("p",Da,M(e.eyebrow),1),p("h1",null,M(e.title),1)]),p("div",Ma,[u[3]||(u[3]=p("span",null,"北京时间",-1)),p("strong",null,M(s.value),1)])]),p("main",ka,[Vo(o.$slots,"default")])])])}}};function Oe(e){const[t,n=""]=String(e??"0").split("."),s=t.replace(/\B(?=(\d{3})+(?!\d))/g,","),r=n.replace(/0+$/,"");return r?`${s}.${r}`:s}function qn(e){const t=Number(e)*100;return Number.isFinite(t)?`${t.toFixed(t>=10?0:1)}%`:"0%"}function js(e){if(!e)return"—";const t=new Date(e);return Number.isNaN(t.getTime())?"—":new Intl.DateTimeFormat("zh-CN",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(t)}const kt={online:"在线",offline:"离线",pending:"待审核",approved:"已开通",completed:"已打款",rejected:"已拒绝",failed:"失败",settled:"已入账",user:"用户",admin:"管理员"},La={key:0,class:"form-error banner"},Va={key:1,class:"banner ok"},Fa={key:2,class:"metrics"},$a={class:"metric"},Ua={class:"metric"},ja={class:"metric"},Ha={class:"board"},Ba={class:"wallet"},Ka={key:0,class:"sub"},Ga={key:1,class:"sub"},Wa={key:2,class:"actions"},qa={class:"rate"},Ja=["value"],za={class:"actions"},Ya=["disabled","onClick"],Qa=["disabled","onClick"],Xa={key:0,class:"empty"},Za={class:"forms"},ef={class:"sub"},tf={class:"mini"},nf={__name:"Dashboard",setup(e){const t=ue(null),n=ue(""),s=ue(""),r=ue(""),i=ue({amount:"",asset_symbol:"POINT"});let l=0;async function o(){t.value=await Re("/me/dashboard")}async function u(v,x){n.value="",s.value="";try{await v(),s.value=x,await o()}catch(A){n.value=A.message}}function f(){return u(async()=>{await Re("/me/orders",{method:"POST",body:JSON.stringify({tx_id:r.value.trim()})}),r.value=""},"支付凭证已提交,等待审核")}async function a(v){n.value="";try{await navigator.clipboard.writeText(v),s.value="Token 已复制"}catch{n.value="复制失败,请手动选择 Token"}}function h(v){return u(()=>ha(`/me/nodes/${encodeURIComponent(v.sn)}/client`,`hypernode-${v.sn}.py`),"客户端已开始下载")}function g(){return u(async()=>{await Re("/me/withdrawals",{method:"POST",body:JSON.stringify({amount:i.value.amount,asset_symbol:i.value.asset_symbol||"POINT"})}),i.value.amount=""},"提现申请已提交")}return is(async()=>{try{await o()}catch(v){n.value=v.message}l=window.setInterval(()=>{o().catch(v=>{n.value=v.message})},1e4)}),En(()=>window.clearInterval(l)),(v,x)=>(U(),Vt(Rl,{eyebrow:"用户控制台",title:"我的算力"},{default:qt(()=>{var A,R,C,I;return[n.value?(U(),K("p",La,M(n.value),1)):ae("",!0),s.value?(U(),K("p",Va,M(s.value),1)):ae("",!0),t.value?(U(),K("section",Fa,[p("article",$a,[x[3]||(x[3]=p("span",null,"可用积分",-1)),p("strong",null,M(G(Oe)(t.value.available_points)),1),p("em",null,"已入账 "+M(G(Oe)(t.value.settled_points)),1)]),p("article",Ua,[x[4]||(x[4]=p("span",null,"今日预计",-1)),p("strong",null,M(G(Oe)(t.value.today_points)),1),x[5]||(x[5]=p("em",null,"按当前在线实时估算",-1))]),p("article",ja,[x[6]||(x[6]=p("span",null,"节点",-1)),p("strong",null,M(t.value.nodes.length),1),p("em",null,M(t.value.nodes.filter(S=>S.status==="online").length)+" 台在线",1)])])):ae("",!0),p("section",Ha,[(U(!0),K(he,null,Dt(((A=t.value)==null?void 0:A.orders)||[],S=>(U(),K("article",{key:S.id,class:Ne(["plate",{locked:S.status!=="approved"}])},[p("header",null,[p("strong",null,"订单 #"+M(S.id),1),p("span",{class:Ne(["pill",S.status])},[x[7]||(x[7]=p("i",null,null,-1)),ve(M(G(kt)[S.status]),1)],2)]),p("p",Ba,M(G(Oe)(S.amount))+" "+M(S.asset_symbol)+" · "+M(S.tx_id),1),S.status==="pending"?(U(),K("p",Ka,"审核通过前不能复制 Token,也不能下载客户端。")):S.sn?(U(),K("p",Ga,"节点 "+M(S.sn),1)):ae("",!0),S.status!=="approved"?(U(),K("div",Wa,[...x[8]||(x[8]=[p("button",{class:"gold",type:"button",disabled:""},"复制 Token",-1),p("button",{class:"texty",type:"button",disabled:""},"下载客户端",-1)])])):ae("",!0)],2))),128)),(U(!0),K(he,null,Dt(((R=t.value)==null?void 0:R.nodes)||[],S=>(U(),K("article",{key:S.sn,class:"plate"},[p("header",null,[p("strong",null,M(S.sn),1),p("span",{class:Ne(["pill",S.activated?S.status:"pending"])},[x[9]||(x[9]=p("i",null,null,-1)),ve(M(S.activated?G(kt)[S.status]:"待审核"),1)],2)]),p("p",qa,[p("b",{style:xn({width:G(qn)(S.online_rate)})},null,4),ve(M(G(qn)(S.online_rate))+" 今日在线",1)]),p("dl",null,[p("div",null,[x[10]||(x[10]=p("dt",null,"购买金额",-1)),p("dd",null,M(G(Oe)(S.purchase_amount)),1)]),p("div",null,[x[11]||(x[11]=p("dt",null,"今日积分",-1)),p("dd",null,M(G(Oe)(S.today_points)),1)]),p("div",null,[x[12]||(x[12]=p("dt",null,"最近心跳",-1)),p("dd",null,M(G(js)(S.last_heartbeat_at)),1)])]),p("label",null,[x[13]||(x[13]=ve("挂机 Token",-1)),p("input",{class:"token-box",value:S.activated?S.node_token:"审核通过后发放",readonly:""},null,8,Ja)]),p("div",za,[p("button",{class:"gold",type:"button",disabled:!S.activated,onClick:L=>a(S.node_token)},"复制 Token",8,Ya),p("button",{class:"texty",type:"button",disabled:!S.activated,onClick:L=>h(S)},"下载客户端",8,Qa)])]))),128)),t.value&&!t.value.nodes.length&&!t.value.orders.length?(U(),K("p",Xa,"还没有节点。下面可以购买授权。")):ae("",!0)]),p("section",Za,[p("form",{class:"panel",onSubmit:Wn(f,["prevent"])},[x[15]||(x[15]=p("h2",null,"购买节点授权",-1)),p("p",ef,M(t.value?G(Oe)(t.value.license_price):"1,500")+" "+M(((C=t.value)==null?void 0:C.license_asset)||"USDT")+"。提交链上 TxID 后进入待审核,通过后开通 12 个月并签发 Token。",1),p("label",null,[x[14]||(x[14]=ve("TxID",-1)),xt(p("input",{"onUpdate:modelValue":x[0]||(x[0]=S=>r.value=S),required:"",minlength:"6",placeholder:"链上交易哈希"},null,512),[[St,r.value]])]),x[16]||(x[16]=p("button",{class:"gold",type:"submit"},"提交支付凭证",-1))],32),p("form",{class:"panel",onSubmit:Wn(g,["prevent"])},[x[19]||(x[19]=p("h2",null,"申请提现",-1)),x[20]||(x[20]=p("p",{class:"sub"},"提交后金额会被占用,等管理员打款。",-1)),p("label",null,[x[17]||(x[17]=ve("金额",-1)),xt(p("input",{"onUpdate:modelValue":x[1]||(x[1]=S=>i.value.amount=S),required:"",placeholder:"1.25"},null,512),[[St,i.value.amount]])]),p("label",null,[x[18]||(x[18]=ve("资产",-1)),xt(p("input",{"onUpdate:modelValue":x[2]||(x[2]=S=>i.value.asset_symbol=S)},null,512),[[St,i.value.asset_symbol]])]),x[21]||(x[21]=p("button",{class:"gold",type:"submit"},"提交申请",-1)),p("ul",tf,[(U(!0),K(he,null,Dt(((I=t.value)==null?void 0:I.withdrawals)||[],S=>(U(),K("li",{key:S.id},[p("span",null,"#"+M(S.id)+" · "+M(G(Oe)(S.amount))+" "+M(S.asset_symbol),1),p("span",{class:Ne(["pill",S.status])},M(G(kt)[S.status]),3)]))),128))])],32)])]}),_:1}))}},sf={key:0,class:"form-error banner"},rf={key:1,class:"banner ok"},lf={key:2,class:"metrics"},of={class:"metric"},uf={class:"metric"},cf={class:"metric"},af={class:"metric"},ff={class:"table-wrap"},df={class:"mono"},hf={class:"mono"},pf={key:0,class:"actions"},gf=["onClick"],mf=["onClick"],vf={key:1},_f={key:0},yf={class:"board"},bf={class:"wallet"},wf={class:"rate"},xf={key:0,class:"empty"},Sf={class:"table-wrap"},Ef={class:"mono"},Cf=["onUpdate:modelValue"],Af={key:1,class:"mono"},Rf={key:0,class:"actions"},Of=["onClick"],Tf=["onClick"],Pf={key:1},If={key:0},Nf={class:"table-wrap"},Df={class:"mono"},Mf={__name:"AdminOverview",setup(e){const t=ue(null),n=ue([]),s=ue([]),r=ue([]),i=ue([]),l=ue({}),o=ue(""),u=ue("");let f=0;async function a(){const[A,R,C,I,S]=await Promise.all([Re("/admin/summary"),Re("/admin/users"),Re("/admin/nodes"),Re("/admin/withdrawals"),Re("/admin/orders")]);t.value=A,n.value=R,s.value=C,r.value=I,i.value=S}async function h(A){o.value="",u.value="";try{const R=await Re(`/admin/orders/${A.id}/approve`,{method:"POST"});u.value=`订单 #${A.id} 已开通,节点 ${R.sn}`,await a()}catch(R){o.value=R.message}}async function g(A){o.value="",u.value="";try{await Re(`/admin/orders/${A.id}/reject`,{method:"POST",body:JSON.stringify({note:"支付凭证未通过"})}),u.value=`订单 #${A.id} 已拒绝`,await a()}catch(R){o.value=R.message}}async function v(A){const R=(l.value[A.id]||"").trim();if(!R){o.value="请先填写链上哈希";return}o.value="",u.value="";try{await Re(`/admin/withdrawals/${A.id}/confirm`,{method:"POST",body:JSON.stringify({tx_hash:R})}),u.value=`提现 #${A.id} 已打款`,await a()}catch(C){o.value=C.message}}async function x(A){o.value="",u.value="";try{await Re(`/admin/withdrawals/${A.id}/reject`,{method:"POST",body:JSON.stringify({note:"管理后台拒绝"})}),u.value=`提现 #${A.id} 已拒绝`,await a()}catch(R){o.value=R.message}}return is(async()=>{try{await a()}catch(A){o.value=A.message}f=window.setInterval(()=>{a().catch(A=>{o.value=A.message})},1e4)}),En(()=>window.clearInterval(f)),(A,R)=>(U(),Vt(Rl,{eyebrow:"管理后台",title:"全网概览"},{default:qt(()=>[o.value?(U(),K("p",sf,M(o.value),1)):ae("",!0),u.value?(U(),K("p",rf,M(u.value),1)):ae("",!0),t.value?(U(),K("section",lf,[p("article",of,[R[0]||(R[0]=p("span",null,"用户",-1)),p("strong",null,M(t.value.users),1),R[1]||(R[1]=p("em",null,"已注册钱包",-1))]),p("article",uf,[R[2]||(R[2]=p("span",null,"节点",-1)),p("strong",null,M(t.value.nodes),1),p("em",null,"在线 "+M(t.value.online)+" · 离线 "+M(t.value.offline),1)]),p("article",cf,[R[3]||(R[3]=p("span",null,"总产出",-1)),p("strong",null,M(G(Oe)(t.value.settled_points)),1),p("em",null,"授权 "+M(G(Oe)(t.value.authorized_amount)),1)]),p("article",af,[R[4]||(R[4]=p("span",null,"待审核",-1)),p("strong",null,M(G(Oe)(t.value.pending_withdrawals)),1),R[5]||(R[5]=p("em",null,"占用中的提现",-1))])])):ae("",!0),R[14]||(R[14]=p("h2",{class:"section-title"},"授权订单",-1)),p("div",ff,[p("table",null,[R[7]||(R[7]=p("thead",null,[p("tr",null,[p("th",null,"单号"),p("th",null,"钱包"),p("th",null,"金额"),p("th",null,"TxID"),p("th",null,"状态"),p("th",null,"节点"),p("th")])],-1)),p("tbody",null,[(U(!0),K(he,null,Dt(i.value,C=>(U(),K("tr",{key:C.id},[p("td",null,"#"+M(C.id),1),p("td",df,M(C.wallet_address),1),p("td",null,M(G(Oe)(C.amount))+" "+M(C.asset_symbol),1),p("td",hf,M(C.tx_id),1),p("td",null,[p("span",{class:Ne(["pill",C.status])},M(G(kt)[C.status]),3)]),p("td",null,M(C.sn||"—"),1),C.status==="pending"?(U(),K("td",pf,[p("button",{class:"gold",type:"button",onClick:I=>h(C)},"通过",8,gf),p("button",{class:"texty",type:"button",onClick:I=>g(C)},"拒绝",8,mf)])):(U(),K("td",vf))]))),128)),i.value.length?ae("",!0):(U(),K("tr",_f,[...R[6]||(R[6]=[p("td",{colspan:"7",class:"empty"},"还没有授权订单。",-1)])]))])])]),R[15]||(R[15]=p("h2",{class:"section-title"},"节点监控",-1)),p("section",yf,[(U(!0),K(he,null,Dt(s.value,C=>(U(),K("article",{key:C.sn,class:"plate"},[p("header",null,[p("strong",null,M(C.sn),1),p("span",{class:Ne(["pill",C.status])},[R[8]||(R[8]=p("i",null,null,-1)),ve(M(G(kt)[C.status]),1)],2)]),p("p",bf,M(C.wallet_address),1),p("p",wf,[p("b",{style:xn({width:G(qn)(C.online_rate)})},null,4),ve(M(G(qn)(C.online_rate))+" 今日在线率",1)]),p("dl",null,[p("div",null,[R[9]||(R[9]=p("dt",null,"今日积分",-1)),p("dd",null,M(G(Oe)(C.today_points)),1)]),p("div",null,[R[10]||(R[10]=p("dt",null,"心跳",-1)),p("dd",null,M(G(js)(C.last_heartbeat_at)),1)])])]))),128)),s.value.length?ae("",!0):(U(),K("p",xf,"还没有节点。"))]),R[16]||(R[16]=p("h2",{class:"section-title"},"提现审核",-1)),p("div",Sf,[p("table",null,[R[12]||(R[12]=p("thead",null,[p("tr",null,[p("th",null,"单号"),p("th",null,"钱包"),p("th",null,"金额"),p("th",null,"状态"),p("th",null,"链上哈希"),p("th")])],-1)),p("tbody",null,[(U(!0),K(he,null,Dt(r.value,C=>(U(),K("tr",{key:C.id},[p("td",null,"#"+M(C.id),1),p("td",Ef,M(C.wallet_address),1),p("td",null,M(G(Oe)(C.amount))+" "+M(C.asset_symbol),1),p("td",null,[p("span",{class:Ne(["pill",C.status])},M(G(kt)[C.status]),3)]),p("td",null,[C.status==="pending"?xt((U(),K("input",{key:0,"onUpdate:modelValue":I=>l.value[C.id]=I,placeholder:"交易哈希"},null,8,Cf)),[[St,l.value[C.id]]]):(U(),K("span",Af,M(C.tx_hash||"—"),1))]),C.status==="pending"?(U(),K("td",Rf,[p("button",{class:"gold",type:"button",onClick:I=>v(C)},"打款",8,Of),p("button",{class:"texty",type:"button",onClick:I=>x(C)},"拒绝",8,Tf)])):(U(),K("td",Pf))]))),128)),r.value.length?ae("",!0):(U(),K("tr",If,[...R[11]||(R[11]=[p("td",{colspan:"6",class:"empty"},"还没有提现申请。",-1)])]))])])]),R[17]||(R[17]=p("h2",{class:"section-title"},"用户",-1)),p("div",Nf,[p("table",null,[R[13]||(R[13]=p("thead",null,[p("tr",null,[p("th",null,"钱包"),p("th",null,"用户名"),p("th",null,"角色"),p("th",null,"节点"),p("th",null,"可用积分"),p("th",null,"注册")])],-1)),p("tbody",null,[(U(!0),K(he,null,Dt(n.value,C=>(U(),K("tr",{key:C.id},[p("td",Df,M(C.wallet_address),1),p("td",null,M(C.username||"—"),1),p("td",null,M(G(kt)[C.role]),1),p("td",null,M(C.node_count),1),p("td",null,M(G(Oe)(C.available_points)),1),p("td",null,M(G(js)(C.created_at)),1)]))),128))])])])]),_:1}))}},Ol=aa({history:Hc(),routes:[{path:"/",redirect:()=>lr().role==="admin"?"/admin":"/dashboard"},{path:"/login",component:Ca},{path:"/dashboard",component:nf,meta:{auth:!0}},{path:"/admin",component:Mf,meta:{auth:!0,admin:!0}}]});Ol.beforeEach(e=>{const t=lr();return e.meta.auth&&!t.token?"/login":e.meta.admin&&t.role!=="admin"?"/dashboard":e.path==="/login"&&t.token?t.role==="admin"?"/admin":"/dashboard":!0});Xu(rc).use(Ol).mount("#app");