- Login with JWT and refresh token rotation - Dashboard with projects cards - ProjectView with TreeView navigation - DocumentView with markdown editor and auto-save - Tag management (create, assign, remove) - Dark mode CSS variables - Security fixes applied (logout to backend, createDocument endpoint)
31 lines
106 KiB
JavaScript
31 lines
106 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Login-EYgYtJ8O.js","assets/Button-DZq_qu8h.js","assets/Button-BnjR7XOq.css","assets/Login-B_rHAN5Z.css","assets/Dashboard-T2HTnxGO.js","assets/projects-DjCvBaCn.js","assets/Modal-e0fwVA9W.js","assets/Modal-DqLHG8CN.css","assets/Dashboard-bZb0kvk2.css","assets/ProjectView-CIKrsclR.js","assets/Header-BKAFjNNX.js","assets/Header-BGQ1nCqG.css","assets/ProjectView-DYVW7MC2.css","assets/DocumentView-BzRSDLeb.js","assets/DocumentView-DyhIzOS7.css"])))=>i.map(i=>d[i]);
|
|
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
|
|
* @vue/shared v3.5.31
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Ks(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Bt=[],Ze=()=>{},wo=()=>!1,Kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Gn=e=>e.startsWith("onUpdate:"),ge=Object.assign,Gs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ul=Object.prototype.hasOwnProperty,ne=(e,t)=>ul.call(e,t),H=Array.isArray,Ht=e=>yn(e)==="[object Map]",xo=e=>yn(e)==="[object Set]",yr=e=>yn(e)==="[object Date]",W=e=>typeof e=="function",ae=e=>typeof e=="string",Le=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",To=e=>(se(e)||W(e))&&W(e.then)&&W(e.catch),Oo=Object.prototype.toString,yn=e=>Oo.call(e),fl=e=>yn(e).slice(8,-1),Po=e=>yn(e)==="[object Object]",Wn=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xt=Ks(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$n=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},al=/-\w/g,xe=$n(e=>e.replace(al,t=>t.slice(1).toUpperCase())),hl=/\B([A-Z])/g,Et=$n(e=>e.replace(hl,"-$1").toLowerCase()),qn=$n(e=>e.charAt(0).toUpperCase()+e.slice(1)),is=$n(e=>e?`on${qn(e)}`:""),Xe=(e,t)=>!Object.is(e,t),xn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Io=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ws=e=>{const t=parseFloat(e);return isNaN(t)?e:t},dl=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let vr;const Jn=()=>vr||(vr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $s(e){if(H(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ae(s)?_l(s):$s(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(ae(e)||se(e))return e}const pl=/;(?![^(]*\))/g,gl=/:([^]+)/,ml=/\/\*[^]*?\*\//g;function _l(e){const t={};return e.replace(ml,"").split(pl).forEach(n=>{if(n){const s=n.split(gl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function qs(e){let t="";if(ae(e))t=e;else if(H(e))for(let n=0;n<e.length;n++){const s=qs(e[n]);s&&(t+=s+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const yl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",vl=Ks(yl);function No(e){return!!e||e===""}function bl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Js(e[s],t[s]);return n}function Js(e,t){if(e===t)return!0;let n=yr(e),s=yr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Le(e),s=Le(t),n||s)return e===t;if(n=H(e),s=H(t),n||s)return n&&s?bl(e,t):!1;if(n=se(e),s=se(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(l&&!c||!l&&c||!Js(e[i],t[i]))return!1}}return String(e)===String(t)}const Mo=e=>!!(e&&e.__v_isRef===!0),El=e=>ae(e)?e:e==null?"":H(e)||se(e)&&(e.toString===Oo||!W(e.toString))?Mo(e)?El(e.value):JSON.stringify(e,Do,2):String(e),Do=(e,t)=>Mo(t)?Do(e,t.value):Ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[ls(s,o)+" =>"]=r,n),{})}:xo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ls(n))}:Le(t)?ls(t):se(t)&&!H(t)&&!Po(t)?String(t):t,ls=(e,t="")=>{var n;return Le(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @vue/reactivity v3.5.31
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let ve;class Lo{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ve;try{return ve=this,t()}finally{ve=n}}}on(){++this._on===1&&(this.prevScope=ve,ve=this)}off(){this._on>0&&--this._on===0&&(ve=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Fo(e){return new Lo(e)}function Vo(){return ve}function Al(e,t=!1){ve&&ve.cleanups.push(e)}let ce;const cs=new WeakSet;class jo{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ve&&ve.active&&ve.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,cs.has(this)&&(cs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ho(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,br(this),Uo(this);const t=ce,n=Be;ce=this,Be=!0;try{return this.fn()}finally{ko(this),ce=t,Be=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ys(t);this.deps=this.depsTail=void 0,br(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?cs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Cs(this)&&this.run()}get dirty(){return Cs(this)}}let Bo=0,Zt,en;function Ho(e,t=!1){if(e.flags|=8,t){e.next=en,en=e;return}e.next=Zt,Zt=e}function zs(){Bo++}function Qs(){if(--Bo>0)return;if(en){let t=en;for(en=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Zt;){let t=Zt;for(Zt=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 Uo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ko(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ys(s),Sl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Cs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ko(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ko(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===un)||(e.globalVersion=un,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Cs(e))))return;e.flags|=2;const t=e.dep,n=ce,s=Be;ce=e,Be=!0;try{Uo(e);const r=e.fn(e._value);(t.version===0||Xe(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ce=n,Be=s,ko(e),e.flags&=-3}}function Ys(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 o=n.computed.deps;o;o=o.nextDep)Ys(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Sl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Be=!0;const Go=[];function ut(){Go.push(Be),Be=!1}function ft(){const e=Go.pop();Be=e===void 0?!0:e}function br(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ce;ce=void 0;try{t()}finally{ce=n}}}let un=0;class Cl{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 Xs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ce||!Be||ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ce)n=this.activeLink=new Cl(ce,this),ce.deps?(n.prevDep=ce.depsTail,ce.depsTail.nextDep=n,ce.depsTail=n):ce.deps=ce.depsTail=n,Wo(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=ce.depsTail,n.nextDep=void 0,ce.depsTail.nextDep=n,ce.depsTail=n,ce.deps===n&&(ce.deps=s)}return n}trigger(t){this.version++,un++,this.notify(t)}notify(t){zs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Qs()}}}function Wo(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)Wo(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Nn=new WeakMap,Pt=Symbol(""),Rs=Symbol(""),fn=Symbol("");function be(e,t,n){if(Be&&ce){let s=Nn.get(e);s||Nn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Xs),r.map=s,r.key=n),r.track()}}function it(e,t,n,s,r,o){const i=Nn.get(e);if(!i){un++;return}const l=c=>{c&&c.trigger()};if(zs(),t==="clear")i.forEach(l);else{const c=H(e),f=c&&Wn(n);if(c&&n==="length"){const u=Number(s);i.forEach((a,p)=>{(p==="length"||p===fn||!Le(p)&&p>=u)&&l(a)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),f&&l(i.get(fn)),t){case"add":c?f&&l(i.get("length")):(l(i.get(Pt)),Ht(e)&&l(i.get(Rs)));break;case"delete":c||(l(i.get(Pt)),Ht(e)&&l(i.get(Rs)));break;case"set":Ht(e)&&l(i.get(Pt));break}}Qs()}function Rl(e,t){const n=Nn.get(e);return n&&n.get(t)}function Dt(e){const t=X(e);return t===e?t:(be(t,"iterate",fn),De(e)?t:t.map(He))}function zn(e){return be(e=X(e),"iterate",fn),e}function Qe(e,t){return at(e)?Kt(ct(e)?He(t):t):He(t)}const wl={__proto__:null,[Symbol.iterator](){return us(this,Symbol.iterator,e=>Qe(this,e))},concat(...e){return Dt(this).concat(...e.map(t=>H(t)?Dt(t):t))},entries(){return us(this,"entries",e=>(e[1]=Qe(this,e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,n=>n.map(s=>Qe(this,s)),arguments)},find(e,t){return tt(this,"find",e,t,n=>Qe(this,n),arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,n=>Qe(this,n),arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return fs(this,"includes",e)},indexOf(...e){return fs(this,"indexOf",e)},join(e){return Dt(this).join(e)},lastIndexOf(...e){return fs(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return qt(this,"pop")},push(...e){return qt(this,"push",e)},reduce(e,...t){return Er(this,"reduce",e,t)},reduceRight(e,...t){return Er(this,"reduceRight",e,t)},shift(){return qt(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return qt(this,"splice",e)},toReversed(){return Dt(this).toReversed()},toSorted(e){return Dt(this).toSorted(e)},toSpliced(...e){return Dt(this).toSpliced(...e)},unshift(...e){return qt(this,"unshift",e)},values(){return us(this,"values",e=>Qe(this,e))}};function us(e,t,n){const s=zn(e),r=s[t]();return s!==e&&!De(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const xl=Array.prototype;function tt(e,t,n,s,r,o){const i=zn(e),l=i!==e&&!De(e),c=i[t];if(c!==xl[t]){const a=c.apply(e,o);return l?He(a):a}let f=n;i!==e&&(l?f=function(a,p){return n.call(this,Qe(e,a),p,e)}:n.length>2&&(f=function(a,p){return n.call(this,a,p,e)}));const u=c.call(i,f,s);return l&&r?r(u):u}function Er(e,t,n,s){const r=zn(e),o=r!==e&&!De(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(f,u,a){return l&&(l=!1,f=Qe(e,f)),n.call(this,f,Qe(e,u),a,e)}):n.length>3&&(i=function(f,u,a){return n.call(this,f,u,a,e)}));const c=r[t](i,...s);return l?Qe(e,c):c}function fs(e,t,n){const s=X(e);be(s,"iterate",fn);const r=s[t](...n);return(r===-1||r===!1)&&Qn(n[0])?(n[0]=X(n[0]),s[t](...n)):r}function qt(e,t,n=[]){ut(),zs();const s=X(e)[t].apply(e,n);return Qs(),ft(),s}const Tl=Ks("__proto__,__v_isRef,__isVue"),$o=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Le));function Ol(e){Le(e)||(e=String(e));const t=X(this);return be(t,"has",e),t.hasOwnProperty(e)}class qo{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,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Bl:Yo:o?Qo:zo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=H(t);if(!r){let c;if(i&&(c=wl[n]))return c;if(n==="hasOwnProperty")return Ol}const l=Reflect.get(t,n,fe(t)?t:s);if((Le(n)?$o.has(n):Tl(n))||(r||be(t,"get",n),o))return l;if(fe(l)){const c=i&&Wn(n)?l:l.value;return r&&se(c)?xs(c):c}return se(l)?r?xs(l):vn(l):l}}class Jo extends qo{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=H(t)&&Wn(n);if(!this._isShallow){const f=at(o);if(!De(s)&&!at(s)&&(o=X(o),s=X(s)),!i&&fe(o)&&!fe(s))return f||(o.value=s),!0}const l=i?Number(n)<t.length:ne(t,n),c=Reflect.set(t,n,s,fe(t)?t:r);return t===X(r)&&(l?Xe(s,o)&&it(t,"set",n,s):it(t,"add",n,s)),c}deleteProperty(t,n){const s=ne(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&it(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Le(n)||!$o.has(n))&&be(t,"has",n),s}ownKeys(t){return be(t,"iterate",H(t)?"length":Pt),Reflect.ownKeys(t)}}class Pl extends qo{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Il=new Jo,Nl=new Pl,Ml=new Jo(!0);const ws=e=>e,An=e=>Reflect.getPrototypeOf(e);function Dl(e,t,n){return function(...s){const r=this.__v_raw,o=X(r),i=Ht(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=r[e](...s),u=n?ws:t?Kt:He;return!t&&be(o,"iterate",c?Rs:Pt),ge(Object.create(f),{next(){const{value:a,done:p}=f.next();return p?{value:a,done:p}:{value:l?[u(a[0]),u(a[1])]:u(a),done:p}}})}}function Sn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ll(e,t){const n={get(r){const o=this.__v_raw,i=X(o),l=X(r);e||(Xe(r,l)&&be(i,"get",r),be(i,"get",l));const{has:c}=An(i),f=t?ws:e?Kt:He;if(c.call(i,r))return f(o.get(r));if(c.call(i,l))return f(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&be(X(r),"iterate",Pt),r.size},has(r){const o=this.__v_raw,i=X(o),l=X(r);return e||(Xe(r,l)&&be(i,"has",r),be(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=X(l),f=t?ws:e?Kt:He;return!e&&be(c,"iterate",Pt),l.forEach((u,a)=>r.call(o,f(u),f(a),i))}};return ge(n,e?{add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear")}:{add(r){const o=X(this),i=An(o),l=X(r),c=!t&&!De(r)&&!at(r)?l:r;return i.has.call(o,c)||Xe(r,c)&&i.has.call(o,r)||Xe(l,c)&&i.has.call(o,l)||(o.add(c),it(o,"add",c,c)),this},set(r,o){!t&&!De(o)&&!at(o)&&(o=X(o));const i=X(this),{has:l,get:c}=An(i);let f=l.call(i,r);f||(r=X(r),f=l.call(i,r));const u=c.call(i,r);return i.set(r,o),f?Xe(o,u)&&it(i,"set",r,o):it(i,"add",r,o),this},delete(r){const o=X(this),{has:i,get:l}=An(o);let c=i.call(o,r);c||(r=X(r),c=i.call(o,r)),l&&l.call(o,r);const f=o.delete(r);return c&&it(o,"delete",r,void 0),f},clear(){const r=X(this),o=r.size!==0,i=r.clear();return o&&it(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Dl(r,e,t)}),n}function Zs(e,t){const n=Ll(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ne(n,r)&&r in s?n:s,r,o)}const Fl={get:Zs(!1,!1)},Vl={get:Zs(!1,!0)},jl={get:Zs(!0,!1)};const zo=new WeakMap,Qo=new WeakMap,Yo=new WeakMap,Bl=new WeakMap;function Hl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ul(e){return e.__v_skip||!Object.isExtensible(e)?0:Hl(fl(e))}function vn(e){return at(e)?e:er(e,!1,Il,Fl,zo)}function Xo(e){return er(e,!1,Ml,Vl,Qo)}function xs(e){return er(e,!0,Nl,jl,Yo)}function er(e,t,n,s,r){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Ul(e);if(o===0)return e;const i=r.get(e);if(i)return i;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function ct(e){return at(e)?ct(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function De(e){return!!(e&&e.__v_isShallow)}function Qn(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function tr(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&Io(e,"__v_skip",!0),e}const He=e=>se(e)?vn(e):e,Kt=e=>se(e)?xs(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function Mn(e){return Zo(e,!1)}function kl(e){return Zo(e,!0)}function Zo(e,t){return fe(e)?e:new Kl(e,t)}class Kl{constructor(t,n){this.dep=new Xs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:X(t),this._value=n?t:He(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||De(t)||at(t);t=s?t:X(t),Xe(t,n)&&(this._rawValue=t,this._value=s?t:He(t),this.dep.trigger())}}function vt(e){return fe(e)?e.value:e}const Gl={get:(e,t,n)=>t==="__v_raw"?e:vt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return fe(r)&&!fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ei(e){return ct(e)?e:new Proxy(e,Gl)}function Wl(e){const t=H(e)?new Array(e.length):{};for(const n in e)t[n]=ql(e,n);return t}class $l{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Le(n)?n:String(n),this._raw=X(t);let r=!0,o=t;if(!H(t)||Le(this._key)||!Wn(this._key))do r=!Qn(o)||De(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=vt(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&fe(this._raw[this._key])){const n=this._object[this._key];if(fe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Rl(this._raw,this._key)}}function ql(e,t,n){return new $l(e,t,n)}class Jl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Xs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=un-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ce!==this)return Ho(this,!0),!0}get value(){const t=this.dep.track();return Ko(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function zl(e,t,n=!1){let s,r;return W(e)?s=e:(s=e.get,r=e.set),new Jl(s,r,n)}const Cn={},Dn=new WeakMap;let xt;function Ql(e,t=!1,n=xt){if(n){let s=Dn.get(n);s||Dn.set(n,s=[]),s.push(e)}}function Yl(e,t,n=ie){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,f=N=>r?N:De(N)||r===!1||r===0?lt(N,1):lt(N);let u,a,p,m,A=!1,S=!1;if(fe(e)?(a=()=>e.value,A=De(e)):ct(e)?(a=()=>f(e),A=!0):H(e)?(S=!0,A=e.some(N=>ct(N)||De(N)),a=()=>e.map(N=>{if(fe(N))return N.value;if(ct(N))return f(N);if(W(N))return c?c(N,2):N()})):W(e)?t?a=c?()=>c(e,2):e:a=()=>{if(p){ut();try{p()}finally{ft()}}const N=xt;xt=u;try{return c?c(e,3,[m]):e(m)}finally{xt=N}}:a=Ze,t&&r){const N=a,B=r===!0?1/0:r;a=()=>lt(N(),B)}const F=Vo(),M=()=>{u.stop(),F&&F.active&&Gs(F.effects,u)};if(o&&t){const N=t;t=(...B)=>{N(...B),M()}}let C=S?new Array(e.length).fill(Cn):Cn;const L=N=>{if(!(!(u.flags&1)||!u.dirty&&!N))if(t){const B=u.run();if(r||A||(S?B.some((J,q)=>Xe(J,C[q])):Xe(B,C))){p&&p();const J=xt;xt=u;try{const q=[B,C===Cn?void 0:S&&C[0]===Cn?[]:C,m];C=B,c?c(t,3,q):t(...q)}finally{xt=J}}}else u.run()};return l&&l(L),u=new jo(a),u.scheduler=i?()=>i(L,!1):L,m=N=>Ql(N,!1,u),p=u.onStop=()=>{const N=Dn.get(u);if(N){if(c)c(N,4);else for(const B of N)B();Dn.delete(u)}},t?s?L(!0):C=u.run():i?i(L.bind(null,!0),!0):u.run(),M.pause=u.pause.bind(u),M.resume=u.resume.bind(u),M.stop=M,M}function lt(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,fe(e))lt(e.value,t,n);else if(H(e))for(let s=0;s<e.length;s++)lt(e[s],t,n);else if(xo(e)||Ht(e))e.forEach(s=>{lt(s,t,n)});else if(Po(e)){for(const s in e)lt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&<(e[s],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.31
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function bn(e,t,n,s){try{return s?e(...s):e()}catch(r){Yn(r,t,n)}}function Ue(e,t,n,s){if(W(e)){const r=bn(e,t,n,s);return r&&To(r)&&r.catch(o=>{Yn(o,t,n)}),r}if(H(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Ue(e[o],t,n,s));return r}}function Yn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ie;if(t){let l=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let a=0;a<u.length;a++)if(u[a](e,c,f)===!1)return}l=l.parent}if(o){ut(),bn(o,null,10,[e,c,f]),ft();return}}Xl(e,n,r,s,i)}function Xl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const we=[];let Je=-1;const Ut=[];let _t=null,Ft=0;const ti=Promise.resolve();let Ln=null;function nr(e){const t=Ln||ti;return e?t.then(this?e.bind(this):e):t}function Zl(e){let t=Je+1,n=we.length;for(;t<n;){const s=t+n>>>1,r=we[s],o=an(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function sr(e){if(!(e.flags&1)){const t=an(e),n=we[we.length-1];!n||!(e.flags&2)&&t>=an(n)?we.push(e):we.splice(Zl(t),0,e),e.flags|=1,ni()}}function ni(){Ln||(Ln=ti.then(ri))}function ec(e){H(e)?Ut.push(...e):_t&&e.id===-1?_t.splice(Ft+1,0,e):e.flags&1||(Ut.push(e),e.flags|=1),ni()}function Ar(e,t,n=Je+1){for(;n<we.length;n++){const s=we[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;we.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function si(e){if(Ut.length){const t=[...new Set(Ut)].sort((n,s)=>an(n)-an(s));if(Ut.length=0,_t){_t.push(...t);return}for(_t=t,Ft=0;Ft<_t.length;Ft++){const n=_t[Ft];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_t=null,Ft=0}}const an=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ri(e){try{for(Je=0;Je<we.length;Je++){const t=we[Je];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),bn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Je<we.length;Je++){const t=we[Je];t&&(t.flags&=-2)}Je=-1,we.length=0,si(),Ln=null,(we.length||Ut.length)&&ri()}}let _e=null,oi=null;function Fn(e){const t=_e;return _e=e,oi=e&&e.type.__scopeId||null,t}function tc(e,t=_e,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Hn(-1);const o=Fn(t);let i;try{i=e(...r)}finally{Fn(o),s._d&&Hn(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ua(e,t){if(_e===null)return e;const n=ns(_e),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,c=ie]=t[r];o&&(W(o)&&(o={mounted:o,updated:o}),o.deep&<(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function St(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let c=l.dir[s];c&&(ut(),Ue(c,n,8,[e.el,l,e,t]),ft())}}function Tn(e,t){if(Ae){let n=Ae.provides;const s=Ae.parent&&Ae.parent.provides;s===n&&(n=Ae.provides=Object.create(s)),n[e]=t}}function je(e,t,n=!1){const s=ur();if(s||It){let r=It?It._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&W(t)?t.call(s&&s.proxy):t}}function nc(){return!!(ur()||It)}const sc=Symbol.for("v-scx"),rc=()=>je(sc);function tn(e,t,n){return ii(e,t,n)}function ii(e,t,n=ie){const{immediate:s,deep:r,flush:o,once:i}=n,l=ge({},n),c=t&&s||!t&&o!=="post";let f;if(gn){if(o==="sync"){const m=rc();f=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=Ze,m.resume=Ze,m.pause=Ze,m}}const u=Ae;l.call=(m,A,S)=>Ue(m,u,A,S);let a=!1;o==="post"?l.scheduler=m=>{ye(m,u&&u.suspense)}:o!=="sync"&&(a=!0,l.scheduler=(m,A)=>{A?m():sr(m)}),l.augmentJob=m=>{t&&(m.flags|=4),a&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const p=Yl(e,t,l);return gn&&(f?f.push(p):c&&p()),p}function oc(e,t,n){const s=this.proxy,r=ae(e)?e.includes(".")?li(s,e):()=>s[e]:e.bind(s,s);let o;W(t)?o=t:(o=t.handler,n=t);const i=En(this),l=ii(r,o.bind(s),n);return i(),l}function li(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const ci=Symbol("_vte"),ui=e=>e.__isTeleport,nn=e=>e&&(e.disabled||e.disabled===""),ic=e=>e&&(e.defer||e.defer===""),Sr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Cr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ts=(e,t)=>{const n=e&&e.to;return ae(n)?t?t(n):null:n},fi={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,f){const{mc:u,pc:a,pbc:p,o:{insert:m,querySelector:A,createText:S,createComment:F}}=f,M=nn(t.props);let{shapeFlag:C,children:L,dynamicChildren:N}=t;if(e==null){const B=t.el=S(""),J=t.anchor=S("");m(B,n,s),m(J,n,s);const q=(R,k)=>{C&16&&u(L,R,k,r,o,i,l,c)},U=()=>{const R=t.target=Ts(t.props,A),k=Os(R,t,S,m);R&&(i!=="svg"&&Sr(R)?i="svg":i!=="mathml"&&Cr(R)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(R),M||(q(R,k),On(t,!1)))};M&&(q(n,J),On(t,!0)),ic(t.props)||o&&o.pendingBranch?(t.el.__isMounted=!1,ye(()=>{t.el.__isMounted===!1&&(U(),delete t.el.__isMounted)},o)):U()}else{t.el=e.el,t.targetStart=e.targetStart;const B=t.anchor=e.anchor,J=t.target=e.target,q=t.targetAnchor=e.targetAnchor;if(e.el.__isMounted===!1){ye(()=>{fi.process(e,t,n,s,r,o,i,l,c,f)},o);return}const U=nn(e.props),R=U?n:J,k=U?B:q;if(i==="svg"||Sr(J)?i="svg":(i==="mathml"||Cr(J))&&(i="mathml"),N?(p(e.dynamicChildren,N,R,r,o,i,l),lr(e,t,!0)):c||a(e,t,R,k,r,o,i,l,!1),M)U?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Rn(t,n,B,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const z=t.target=Ts(t.props,A);z&&Rn(t,z,null,f,0)}else U&&Rn(t,J,q,f,1);On(t,M)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:f,targetAnchor:u,target:a,props:p}=e;if(a&&(r(f),r(u)),o&&r(c),i&16){const m=o||!nn(p);for(let A=0;A<l.length;A++){const S=l[A];s(S,t,n,m,!!S.dynamicChildren)}}},move:Rn,hydrate:lc};function Rn(e,t,n,{o:{insert:s},m:r},o=2){o===0&&s(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:f,props:u}=e,a=o===2;if(a&&s(i,t,n),(!a||nn(u))&&c&16)for(let p=0;p<f.length;p++)r(f[p],t,n,2);a&&s(l,t,n)}function lc(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:l,querySelector:c,insert:f,createText:u}},a){function p(F,M){let C=M;for(;C;){if(C&&C.nodeType===8){if(C.data==="teleport start anchor")t.targetStart=C;else if(C.data==="teleport anchor"){t.targetAnchor=C,F._lpa=t.targetAnchor&&i(t.targetAnchor);break}}C=i(C)}}function m(F,M){M.anchor=a(i(F),M,l(F),n,s,r,o)}const A=t.target=Ts(t.props,c),S=nn(t.props);if(A){const F=A._lpa||A.firstChild;t.shapeFlag&16&&(S?(m(e,t),p(A,F),t.targetAnchor||Os(A,t,u,f,l(e)===A?e:null)):(t.anchor=i(e),p(A,F),t.targetAnchor||Os(A,t,u,f),a(F&&i(F),t,A,n,s,r,o))),On(t,S)}else S&&t.shapeFlag&16&&(m(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const fa=fi;function On(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function Os(e,t,n,s,r=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[ci]=i,e&&(s(o,e,r),s(i,e,r)),i}const ze=Symbol("_leaveCb"),Jt=Symbol("_enterCb");function cc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return yi(()=>{e.isMounted=!0}),vi(()=>{e.isUnmounting=!0}),e}const Ve=[Function,Array],ai={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ve,onEnter:Ve,onAfterEnter:Ve,onEnterCancelled:Ve,onBeforeLeave:Ve,onLeave:Ve,onAfterLeave:Ve,onLeaveCancelled:Ve,onBeforeAppear:Ve,onAppear:Ve,onAfterAppear:Ve,onAppearCancelled:Ve},hi=e=>{const t=e.subTree;return t.component?hi(t.component):t},uc={name:"BaseTransition",props:ai,setup(e,{slots:t}){const n=ur(),s=cc();return()=>{const r=t.default&&gi(t.default(),!0);if(!r||!r.length)return;const o=di(r),i=X(e),{mode:l}=i;if(s.isLeaving)return as(o);const c=Rr(o);if(!c)return as(o);let f=Ps(c,i,s,n,a=>f=a);c.type!==Ee&&hn(c,f);let u=n.subTree&&Rr(n.subTree);if(u&&u.type!==Ee&&!Tt(u,c)&&hi(n).type!==Ee){let a=Ps(u,i,s,n);if(hn(u,a),l==="out-in"&&c.type!==Ee)return s.isLeaving=!0,a.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete a.afterLeave,u=void 0},as(o);l==="in-out"&&c.type!==Ee?a.delayLeave=(p,m,A)=>{const S=pi(s,u);S[String(u.key)]=u,p[ze]=()=>{m(),p[ze]=void 0,delete f.delayedLeave,u=void 0},f.delayedLeave=()=>{A(),delete f.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function di(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ee){t=n;break}}return t}const fc=uc;function pi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ps(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:p,onLeave:m,onAfterLeave:A,onLeaveCancelled:S,onBeforeAppear:F,onAppear:M,onAfterAppear:C,onAppearCancelled:L}=t,N=String(e.key),B=pi(n,e),J=(R,k)=>{R&&Ue(R,s,9,k)},q=(R,k)=>{const z=k[1];J(R,k),H(R)?R.every(P=>P.length<=1)&&z():R.length<=1&&z()},U={mode:i,persisted:l,beforeEnter(R){let k=c;if(!n.isMounted)if(o)k=F||c;else return;R[ze]&&R[ze](!0);const z=B[N];z&&Tt(e,z)&&z.el[ze]&&z.el[ze](),J(k,[R])},enter(R){if(B[N]===e)return;let k=f,z=u,P=a;if(!n.isMounted)if(o)k=M||f,z=C||u,P=L||a;else return;let Q=!1;R[Jt]=Se=>{Q||(Q=!0,Se?J(P,[R]):J(z,[R]),U.delayedLeave&&U.delayedLeave(),R[Jt]=void 0)};const he=R[Jt].bind(null,!1);k?q(k,[R,he]):he()},leave(R,k){const z=String(e.key);if(R[Jt]&&R[Jt](!0),n.isUnmounting)return k();J(p,[R]);let P=!1;R[ze]=he=>{P||(P=!0,k(),he?J(S,[R]):J(A,[R]),R[ze]=void 0,B[z]===e&&delete B[z])};const Q=R[ze].bind(null,!1);B[z]=e,m?q(m,[R,Q]):Q()},clone(R){const k=Ps(R,t,n,s,r);return r&&r(k),k}};return U}function as(e){if(Xn(e))return e=bt(e),e.children=null,e}function Rr(e){if(!Xn(e))return ui(e.type)&&e.children?di(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&&W(n.default))return n.default()}}function hn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,hn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function gi(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Ie?(i.patchFlag&128&&r++,s=s.concat(gi(i.children,t,l))):(t||i.type!==Ee)&&s.push(l!=null?bt(i,{key:l}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function rr(e,t){return W(e)?ge({name:e.name},t,{setup:e}):e}function mi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function wr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Vn=new WeakMap;function sn(e,t,n,s,r=!1){if(H(e)){e.forEach((S,F)=>sn(S,t&&(H(t)?t[F]:t),n,s,r));return}if(kt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&sn(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?ns(s.component):s.el,i=r?null:o,{i:l,r:c}=e,f=t&&t.r,u=l.refs===ie?l.refs={}:l.refs,a=l.setupState,p=X(a),m=a===ie?wo:S=>wr(u,S)?!1:ne(p,S),A=(S,F)=>!(F&&wr(u,F));if(f!=null&&f!==c){if(xr(t),ae(f))u[f]=null,m(f)&&(a[f]=null);else if(fe(f)){const S=t;A(f,S.k)&&(f.value=null),S.k&&(u[S.k]=null)}}if(W(c))bn(c,l,12,[i,u]);else{const S=ae(c),F=fe(c);if(S||F){const M=()=>{if(e.f){const C=S?m(c)?a[c]:u[c]:A()||!e.k?c.value:u[e.k];if(r)H(C)&&Gs(C,o);else if(H(C))C.includes(o)||C.push(o);else if(S)u[c]=[o],m(c)&&(a[c]=u[c]);else{const L=[o];A(c,e.k)&&(c.value=L),e.k&&(u[e.k]=L)}}else S?(u[c]=i,m(c)&&(a[c]=i)):F&&(A(c,e.k)&&(c.value=i),e.k&&(u[e.k]=i))};if(i){const C=()=>{M(),Vn.delete(e)};C.id=-1,Vn.set(e,C),ye(C,n)}else xr(e),M()}}}function xr(e){const t=Vn.get(e);t&&(t.flags|=8,Vn.delete(e))}Jn().requestIdleCallback;Jn().cancelIdleCallback;const kt=e=>!!e.type.__asyncLoader,Xn=e=>e.type.__isKeepAlive;function ac(e,t){_i(e,"a",t)}function hc(e,t){_i(e,"da",t)}function _i(e,t,n=Ae){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Zn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Xn(r.parent.vnode)&&dc(s,t,n,r),r=r.parent}}function dc(e,t,n,s){const r=Zn(t,e,s,!0);bi(()=>{Gs(s[t],r)},n)}function Zn(e,t,n=Ae,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{ut();const l=En(n),c=Ue(t,n,e,i);return l(),ft(),c});return s?r.unshift(o):r.push(o),o}}const ht=e=>(t,n=Ae)=>{(!gn||e==="sp")&&Zn(e,(...s)=>t(...s),n)},pc=ht("bm"),yi=ht("m"),gc=ht("bu"),mc=ht("u"),vi=ht("bum"),bi=ht("um"),_c=ht("sp"),yc=ht("rtg"),vc=ht("rtc");function bc(e,t=Ae){Zn("ec",e,t)}const Ec="components";function aa(e,t){return Sc(Ec,e,!0,t)||e}const Ac=Symbol.for("v-ndc");function Sc(e,t,n=!0,s=!1){const r=_e||Ae;if(r){const o=r.type;{const l=cu(o,!1);if(l&&(l===t||l===xe(t)||l===qn(xe(t))))return o}const i=Tr(r[e]||o[e],t)||Tr(r.appContext[e],t);return!i&&s?o:i}}function Tr(e,t){return e&&(e[t]||e[xe(t)]||e[qn(xe(t))])}function ha(e,t,n,s){let r;const o=n,i=H(e);if(i||ae(e)){const l=i&&ct(e);let c=!1,f=!1;l&&(c=!De(e),f=at(e),e=zn(e)),r=new Array(e.length);for(let u=0,a=e.length;u<a;u++)r[u]=t(c?f?Kt(He(e[u])):He(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,o)}else if(se(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const u=l[c];r[c]=t(e[u],u,c,o)}}else r=[];return r}function da(e,t,n={},s,r){if(_e.ce||_e.parent&&kt(_e.parent)&&_e.parent.ce){const f=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Bn(),Un(Ie,null,[Oe("slot",n,s)],f?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),Bn();const i=o&&Ei(o(n)),l=n.key||i&&i.key,c=Un(Ie,{key:(l&&!Le(l)?l:`_${t}`)+(!i&&s?"_fb":"")},i||[],i&&e._===1?64:-2);return o&&o._c&&(o._d=!0),c}function Ei(e){return e.some(t=>pn(t)?!(t.type===Ee||t.type===Ie&&!Ei(t.children)):!0)?e:null}const Is=e=>e?Ui(e)?ns(e):Is(e.parent):null,rn=ge(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=>Si(e),$forceUpdate:e=>e.f||(e.f=()=>{sr(e.update)}),$nextTick:e=>e.n||(e.n=nr.bind(e.proxy)),$watch:e=>oc.bind(e)}),hs=(e,t)=>e!==ie&&!e.__isScriptSetup&&ne(e,t),Cc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(hs(s,t))return i[t]=1,s[t];if(r!==ie&&ne(r,t))return i[t]=2,r[t];if(ne(o,t))return i[t]=3,o[t];if(n!==ie&&ne(n,t))return i[t]=4,n[t];Ns&&(i[t]=0)}}const f=rn[t];let u,a;if(f)return t==="$attrs"&&be(e.attrs,"get",""),f(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==ie&&ne(n,t))return i[t]=4,n[t];if(a=c.config.globalProperties,ne(a,t))return a[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return hs(r,t)?(r[t]=n,!0):s!==ie&&ne(s,t)?(s[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:o,type:i}},l){let c;return!!(n[l]||e!==ie&&l[0]!=="$"&&ne(e,l)||hs(t,l)||ne(o,l)||ne(s,l)||ne(rn,l)||ne(r.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Or(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ns=!0;function Rc(e){const t=Si(e),n=e.proxy,s=e.ctx;Ns=!1,t.beforeCreate&&Pr(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:f,created:u,beforeMount:a,mounted:p,beforeUpdate:m,updated:A,activated:S,deactivated:F,beforeDestroy:M,beforeUnmount:C,destroyed:L,unmounted:N,render:B,renderTracked:J,renderTriggered:q,errorCaptured:U,serverPrefetch:R,expose:k,inheritAttrs:z,components:P,directives:Q,filters:he}=t;if(f&&wc(f,s,null),i)for(const $ in i){const ee=i[$];W(ee)&&(s[$]=ee.bind(n))}if(r){const $=r.call(n,n);se($)&&(e.data=vn($))}if(Ns=!0,o)for(const $ in o){const ee=o[$],et=W(ee)?ee.bind(n,n):W(ee.get)?ee.get.bind(n,n):Ze,dt=!W(ee)&&W(ee.set)?ee.set.bind(n):Ze,Ke=Ne({get:et,set:dt});Object.defineProperty(s,$,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:Te=>Ke.value=Te})}if(l)for(const $ in l)Ai(l[$],s,n,$);if(c){const $=W(c)?c.call(n):c;Reflect.ownKeys($).forEach(ee=>{Tn(ee,$[ee])})}u&&Pr(u,e,"c");function re($,ee){H(ee)?ee.forEach(et=>$(et.bind(n))):ee&&$(ee.bind(n))}if(re(pc,a),re(yi,p),re(gc,m),re(mc,A),re(ac,S),re(hc,F),re(bc,U),re(vc,J),re(yc,q),re(vi,C),re(bi,N),re(_c,R),H(k))if(k.length){const $=e.exposed||(e.exposed={});k.forEach(ee=>{Object.defineProperty($,ee,{get:()=>n[ee],set:et=>n[ee]=et,enumerable:!0})})}else e.exposed||(e.exposed={});B&&e.render===Ze&&(e.render=B),z!=null&&(e.inheritAttrs=z),P&&(e.components=P),Q&&(e.directives=Q),R&&mi(e)}function wc(e,t,n=Ze){H(e)&&(e=Ms(e));for(const s in e){const r=e[s];let o;se(r)?"default"in r?o=je(r.from||s,r.default,!0):o=je(r.from||s):o=je(r),fe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Pr(e,t,n){Ue(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ai(e,t,n,s){let r=s.includes(".")?li(n,s):()=>n[s];if(ae(e)){const o=t[e];W(o)&&tn(r,o)}else if(W(e))tn(r,e.bind(n));else if(se(e))if(H(e))e.forEach(o=>Ai(o,t,n,s));else{const o=W(e.handler)?e.handler.bind(n):t[e.handler];W(o)&&tn(r,o,e)}}function Si(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>jn(c,f,i,!0)),jn(c,t,i)),se(t)&&o.set(t,c),c}function jn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&jn(e,o,n,!0),r&&r.forEach(i=>jn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=xc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const xc={data:Ir,props:Nr,emits:Nr,methods:Yt,computed:Yt,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:Yt,directives:Yt,watch:Oc,provide:Ir,inject:Tc};function Ir(e,t){return t?e?function(){return ge(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Tc(e,t){return Yt(Ms(e),Ms(t))}function Ms(e){if(H(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ce(e,t){return e?[...new Set([].concat(e,t))]:t}function Yt(e,t){return e?ge(Object.create(null),e,t):t}function Nr(e,t){return e?H(e)&&H(t)?[...new Set([...e,...t])]:ge(Object.create(null),Or(e),Or(t??{})):t}function Oc(e,t){if(!e)return t;if(!t)return e;const n=ge(Object.create(null),e);for(const s in t)n[s]=Ce(e[s],t[s]);return n}function Ci(){return{app:null,config:{isNativeTag:wo,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Pc=0;function Ic(e,t){return function(s,r=null){W(s)||(s=ge({},s)),r!=null&&!se(r)&&(r=null);const o=Ci(),i=new WeakSet,l=[];let c=!1;const f=o.app={_uid:Pc++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:fu,get config(){return o.config},set config(u){},use(u,...a){return i.has(u)||(u&&W(u.install)?(i.add(u),u.install(f,...a)):W(u)&&(i.add(u),u(f,...a))),f},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),f},component(u,a){return a?(o.components[u]=a,f):o.components[u]},directive(u,a){return a?(o.directives[u]=a,f):o.directives[u]},mount(u,a,p){if(!c){const m=f._ceVNode||Oe(s,r);return m.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),e(m,u,p),c=!0,f._container=u,u.__vue_app__=f,ns(m.component)}},onUnmount(u){l.push(u)},unmount(){c&&(Ue(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(u,a){return o.provides[u]=a,f},runWithContext(u){const a=It;It=f;try{return u()}finally{It=a}}};return f}}let It=null;const Nc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xe(t)}Modifiers`]||e[`${Et(t)}Modifiers`];function Mc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ie;let r=n;const o=t.startsWith("update:"),i=o&&Nc(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>ae(u)?u.trim():u)),i.number&&(r=n.map(Ws)));let l,c=s[l=is(t)]||s[l=is(xe(t))];!c&&o&&(c=s[l=is(Et(t))]),c&&Ue(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ue(f,e,6,r)}}const Dc=new WeakMap;function Ri(e,t,n=!1){const s=n?Dc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!W(e)){const c=f=>{const u=Ri(f,t,!0);u&&(l=!0,ge(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(se(e)&&s.set(e,null),null):(H(o)?o.forEach(c=>i[c]=null):ge(i,o),se(e)&&s.set(e,i),i)}function es(e,t){return!e||!Kn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Et(t))||ne(e,t))}function Mr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:f,renderCache:u,props:a,data:p,setupState:m,ctx:A,inheritAttrs:S}=e,F=Fn(e);let M,C;try{if(n.shapeFlag&4){const N=r||s,B=N;M=Ye(f.call(B,N,u,a,m,p,A)),C=l}else{const N=t;M=Ye(N.length>1?N(a,{attrs:l,slots:i,emit:c}):N(a,null)),C=t.props?l:Lc(l)}}catch(N){on.length=0,Yn(N,e,1),M=Oe(Ee)}let L=M;if(C&&S!==!1){const N=Object.keys(C),{shapeFlag:B}=L;N.length&&B&7&&(o&&N.some(Gn)&&(C=Fc(C,o)),L=bt(L,C,!1,!0))}return n.dirs&&(L=bt(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&hn(L,n.transition),M=L,Fn(F),M}const Lc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kn(n))&&((t||(t={}))[n]=e[n]);return t},Fc=(e,t)=>{const n={};for(const s in e)(!Gn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Vc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Dr(s,i,f):!!i;if(c&8){const u=t.dynamicProps;for(let a=0;a<u.length;a++){const p=u[a];if(wi(i,s,p)&&!es(f,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?Dr(s,i,f):!0:!!i;return!1}function Dr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(wi(t,e,o)&&!es(n,o))return!0}return!1}function wi(e,t,n){const s=e[n],r=t[n];return n==="style"&&se(s)&&se(r)?!Js(s,r):s!==r}function jc({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const xi={},Ti=()=>Object.create(xi),Oi=e=>Object.getPrototypeOf(e)===xi;function Bc(e,t,n,s=!1){const r={},o=Ti();e.propsDefaults=Object.create(null),Pi(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Xo(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Hc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=X(r),[c]=e.propsOptions;let f=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let a=0;a<u.length;a++){let p=u[a];if(es(e.emitsOptions,p))continue;const m=t[p];if(c)if(ne(o,p))m!==o[p]&&(o[p]=m,f=!0);else{const A=xe(p);r[A]=Ds(c,l,A,m,e,!1)}else m!==o[p]&&(o[p]=m,f=!0)}}}else{Pi(e,t,r,o)&&(f=!0);let u;for(const a in l)(!t||!ne(t,a)&&((u=Et(a))===a||!ne(t,u)))&&(c?n&&(n[a]!==void 0||n[u]!==void 0)&&(r[a]=Ds(c,l,a,void 0,e,!0)):delete r[a]);if(o!==l)for(const a in o)(!t||!ne(t,a))&&(delete o[a],f=!0)}f&&it(e.attrs,"set","")}function Pi(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(Xt(c))continue;const f=t[c];let u;r&&ne(r,u=xe(c))?!o||!o.includes(u)?n[u]=f:(l||(l={}))[u]=f:es(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,i=!0)}if(o){const c=X(n),f=l||ie;for(let u=0;u<o.length;u++){const a=o[u];n[a]=Ds(r,c,a,f[a],e,!ne(f,a))}}return i}function Ds(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=ne(i,"default");if(l&&s===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&W(c)){const{propsDefaults:f}=r;if(n in f)s=f[n];else{const u=En(r);s=f[n]=c.call(null,t),u()}}else s=c;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===Et(n))&&(s=!0))}return s}const Uc=new WeakMap;function Ii(e,t,n=!1){const s=n?Uc:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let c=!1;if(!W(e)){const u=a=>{c=!0;const[p,m]=Ii(a,t,!0);ge(i,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return se(e)&&s.set(e,Bt),Bt;if(H(o))for(let u=0;u<o.length;u++){const a=xe(o[u]);Lr(a)&&(i[a]=ie)}else if(o)for(const u in o){const a=xe(u);if(Lr(a)){const p=o[u],m=i[a]=H(p)||W(p)?{type:p}:ge({},p),A=m.type;let S=!1,F=!0;if(H(A))for(let M=0;M<A.length;++M){const C=A[M],L=W(C)&&C.name;if(L==="Boolean"){S=!0;break}else L==="String"&&(F=!1)}else S=W(A)&&A.name==="Boolean";m[0]=S,m[1]=F,(S||ne(m,"default"))&&l.push(a)}}const f=[i,l];return se(e)&&s.set(e,f),f}function Lr(e){return e[0]!=="$"&&!Xt(e)}const or=e=>e==="_"||e==="_ctx"||e==="$stable",ir=e=>H(e)?e.map(Ye):[Ye(e)],kc=(e,t,n)=>{if(t._n)return t;const s=tc((...r)=>ir(t(...r)),n);return s._c=!1,s},Ni=(e,t,n)=>{const s=e._ctx;for(const r in e){if(or(r))continue;const o=e[r];if(W(o))t[r]=kc(r,o,s);else if(o!=null){const i=ir(o);t[r]=()=>i}}},Mi=(e,t)=>{const n=ir(t);e.slots.default=()=>n},Di=(e,t,n)=>{for(const s in t)(n||!or(s))&&(e[s]=t[s])},Kc=(e,t,n)=>{const s=e.slots=Ti();if(e.vnode.shapeFlag&32){const r=t._;r?(Di(s,t,n),n&&Io(s,"_",r,!0)):Ni(t,s)}else t&&Mi(e,t)},Gc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ie;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Di(r,t,n):(o=!t.$stable,Ni(t,r)),i=t}else t&&(Mi(e,t),i={default:1});if(o)for(const l in r)!or(l)&&i[l]==null&&delete r[l]},ye=zc;function Wc(e){return $c(e)}function $c(e,t){const n=Jn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:u,parentNode:a,nextSibling:p,setScopeId:m=Ze,insertStaticContent:A}=e,S=(h,d,g,_=null,b=null,y=null,T=void 0,x=null,w=!!d.dynamicChildren)=>{if(h===d)return;h&&!Tt(h,d)&&(_=v(h),Te(h,b,y,!0),h=null),d.patchFlag===-2&&(w=!1,d.dynamicChildren=null);const{type:E,ref:K,shapeFlag:I}=d;switch(E){case ts:F(h,d,g,_);break;case Ee:M(h,d,g,_);break;case ps:h==null&&C(d,g,_,T);break;case Ie:P(h,d,g,_,b,y,T,x,w);break;default:I&1?B(h,d,g,_,b,y,T,x,w):I&6?Q(h,d,g,_,b,y,T,x,w):(I&64||I&128)&&E.process(h,d,g,_,b,y,T,x,w,V)}K!=null&&b?sn(K,h&&h.ref,y,d||h,!d):K==null&&h&&h.ref!=null&&sn(h.ref,null,y,h,!0)},F=(h,d,g,_)=>{if(h==null)s(d.el=l(d.children),g,_);else{const b=d.el=h.el;d.children!==h.children&&f(b,d.children)}},M=(h,d,g,_)=>{h==null?s(d.el=c(d.children||""),g,_):d.el=h.el},C=(h,d,g,_)=>{[h.el,h.anchor]=A(h.children,d,g,_,h.el,h.anchor)},L=({el:h,anchor:d},g,_)=>{let b;for(;h&&h!==d;)b=p(h),s(h,g,_),h=b;s(d,g,_)},N=({el:h,anchor:d})=>{let g;for(;h&&h!==d;)g=p(h),r(h),h=g;r(d)},B=(h,d,g,_,b,y,T,x,w)=>{if(d.type==="svg"?T="svg":d.type==="math"&&(T="mathml"),h==null)J(d,g,_,b,y,T,x,w);else{const E=h.el&&h.el._isVueCE?h.el:null;try{E&&E._beginPatch(),R(h,d,b,y,T,x,w)}finally{E&&E._endPatch()}}},J=(h,d,g,_,b,y,T,x)=>{let w,E;const{props:K,shapeFlag:I,transition:j,dirs:G}=h;if(w=h.el=i(h.type,y,K&&K.is,K),I&8?u(w,h.children):I&16&&U(h.children,w,null,_,b,ds(h,y),T,x),G&&St(h,null,_,"created"),q(w,h,h.scopeId,T,_),K){for(const oe in K)oe!=="value"&&!Xt(oe)&&o(w,oe,null,K[oe],y,_);"value"in K&&o(w,"value",null,K.value,y),(E=K.onVnodeBeforeMount)&&qe(E,_,h)}G&&St(h,null,_,"beforeMount");const Z=qc(b,j);Z&&j.beforeEnter(w),s(w,d,g),((E=K&&K.onVnodeMounted)||Z||G)&&ye(()=>{try{E&&qe(E,_,h),Z&&j.enter(w),G&&St(h,null,_,"mounted")}finally{}},b)},q=(h,d,g,_,b)=>{if(g&&m(h,g),_)for(let y=0;y<_.length;y++)m(h,_[y]);if(b){let y=b.subTree;if(d===y||Vi(y.type)&&(y.ssContent===d||y.ssFallback===d)){const T=b.vnode;q(h,T,T.scopeId,T.slotScopeIds,b.parent)}}},U=(h,d,g,_,b,y,T,x,w=0)=>{for(let E=w;E<h.length;E++){const K=h[E]=x?ot(h[E]):Ye(h[E]);S(null,K,d,g,_,b,y,T,x)}},R=(h,d,g,_,b,y,T)=>{const x=d.el=h.el;let{patchFlag:w,dynamicChildren:E,dirs:K}=d;w|=h.patchFlag&16;const I=h.props||ie,j=d.props||ie;let G;if(g&&Ct(g,!1),(G=j.onVnodeBeforeUpdate)&&qe(G,g,d,h),K&&St(d,h,g,"beforeUpdate"),g&&Ct(g,!0),(I.innerHTML&&j.innerHTML==null||I.textContent&&j.textContent==null)&&u(x,""),E?k(h.dynamicChildren,E,x,g,_,ds(d,b),y):T||ee(h,d,x,null,g,_,ds(d,b),y,!1),w>0){if(w&16)z(x,I,j,g,b);else if(w&2&&I.class!==j.class&&o(x,"class",null,j.class,b),w&4&&o(x,"style",I.style,j.style,b),w&8){const Z=d.dynamicProps;for(let oe=0;oe<Z.length;oe++){const le=Z[oe],de=I[le],me=j[le];(me!==de||le==="value")&&o(x,le,de,me,b,g)}}w&1&&h.children!==d.children&&u(x,d.children)}else!T&&E==null&&z(x,I,j,g,b);((G=j.onVnodeUpdated)||K)&&ye(()=>{G&&qe(G,g,d,h),K&&St(d,h,g,"updated")},_)},k=(h,d,g,_,b,y,T)=>{for(let x=0;x<d.length;x++){const w=h[x],E=d[x],K=w.el&&(w.type===Ie||!Tt(w,E)||w.shapeFlag&198)?a(w.el):g;S(w,E,K,null,_,b,y,T,!0)}},z=(h,d,g,_,b)=>{if(d!==g){if(d!==ie)for(const y in d)!Xt(y)&&!(y in g)&&o(h,y,d[y],null,b,_);for(const y in g){if(Xt(y))continue;const T=g[y],x=d[y];T!==x&&y!=="value"&&o(h,y,x,T,b,_)}"value"in g&&o(h,"value",d.value,g.value,b)}},P=(h,d,g,_,b,y,T,x,w)=>{const E=d.el=h?h.el:l(""),K=d.anchor=h?h.anchor:l("");let{patchFlag:I,dynamicChildren:j,slotScopeIds:G}=d;G&&(x=x?x.concat(G):G),h==null?(s(E,g,_),s(K,g,_),U(d.children||[],g,K,b,y,T,x,w)):I>0&&I&64&&j&&h.dynamicChildren&&h.dynamicChildren.length===j.length?(k(h.dynamicChildren,j,g,b,y,T,x),(d.key!=null||b&&d===b.subTree)&&lr(h,d,!0)):ee(h,d,g,K,b,y,T,x,w)},Q=(h,d,g,_,b,y,T,x,w)=>{d.slotScopeIds=x,h==null?d.shapeFlag&512?b.ctx.activate(d,g,_,T,w):he(d,g,_,b,y,T,w):Se(h,d,w)},he=(h,d,g,_,b,y,T)=>{const x=h.component=su(h,_,b);if(Xn(h)&&(x.ctx.renderer=V),ru(x,!1,T),x.asyncDep){if(b&&b.registerDep(x,re,T),!h.el){const w=x.subTree=Oe(Ee);M(null,w,d,g),h.placeholder=w.el}}else re(x,h,d,g,b,y,T)},Se=(h,d,g)=>{const _=d.component=h.component;if(Vc(h,d,g))if(_.asyncDep&&!_.asyncResolved){$(_,d,g);return}else _.next=d,_.update();else d.el=h.el,_.vnode=d},re=(h,d,g,_,b,y,T)=>{const x=()=>{if(h.isMounted){let{next:I,bu:j,u:G,parent:Z,vnode:oe}=h;{const We=Li(h);if(We){I&&(I.el=oe.el,$(h,I,T)),We.asyncDep.then(()=>{ye(()=>{h.isUnmounted||E()},b)});return}}let le=I,de;Ct(h,!1),I?(I.el=oe.el,$(h,I,T)):I=oe,j&&xn(j),(de=I.props&&I.props.onVnodeBeforeUpdate)&&qe(de,Z,I,oe),Ct(h,!0);const me=Mr(h),Ge=h.subTree;h.subTree=me,S(Ge,me,a(Ge.el),v(Ge),h,b,y),I.el=me.el,le===null&&jc(h,me.el),G&&ye(G,b),(de=I.props&&I.props.onVnodeUpdated)&&ye(()=>qe(de,Z,I,oe),b)}else{let I;const{el:j,props:G}=d,{bm:Z,m:oe,parent:le,root:de,type:me}=h,Ge=kt(d);Ct(h,!1),Z&&xn(Z),!Ge&&(I=G&&G.onVnodeBeforeMount)&&qe(I,le,d),Ct(h,!0);{de.ce&&de.ce._hasShadowRoot()&&de.ce._injectChildStyle(me,h.parent?h.parent.type:void 0);const We=h.subTree=Mr(h);S(null,We,g,_,h,b,y),d.el=We.el}if(oe&&ye(oe,b),!Ge&&(I=G&&G.onVnodeMounted)){const We=d;ye(()=>qe(I,le,We),b)}(d.shapeFlag&256||le&&kt(le.vnode)&&le.vnode.shapeFlag&256)&&h.a&&ye(h.a,b),h.isMounted=!0,d=g=_=null}};h.scope.on();const w=h.effect=new jo(x);h.scope.off();const E=h.update=w.run.bind(w),K=h.job=w.runIfDirty.bind(w);K.i=h,K.id=h.uid,w.scheduler=()=>sr(K),Ct(h,!0),E()},$=(h,d,g)=>{d.component=h;const _=h.vnode.props;h.vnode=d,h.next=null,Hc(h,d.props,_,g),Gc(h,d.children,g),ut(),Ar(h),ft()},ee=(h,d,g,_,b,y,T,x,w=!1)=>{const E=h&&h.children,K=h?h.shapeFlag:0,I=d.children,{patchFlag:j,shapeFlag:G}=d;if(j>0){if(j&128){dt(E,I,g,_,b,y,T,x,w);return}else if(j&256){et(E,I,g,_,b,y,T,x,w);return}}G&8?(K&16&&Fe(E,b,y),I!==E&&u(g,I)):K&16?G&16?dt(E,I,g,_,b,y,T,x,w):Fe(E,b,y,!0):(K&8&&u(g,""),G&16&&U(I,g,_,b,y,T,x,w))},et=(h,d,g,_,b,y,T,x,w)=>{h=h||Bt,d=d||Bt;const E=h.length,K=d.length,I=Math.min(E,K);let j;for(j=0;j<I;j++){const G=d[j]=w?ot(d[j]):Ye(d[j]);S(h[j],G,g,null,b,y,T,x,w)}E>K?Fe(h,b,y,!0,!1,I):U(d,g,_,b,y,T,x,w,I)},dt=(h,d,g,_,b,y,T,x,w)=>{let E=0;const K=d.length;let I=h.length-1,j=K-1;for(;E<=I&&E<=j;){const G=h[E],Z=d[E]=w?ot(d[E]):Ye(d[E]);if(Tt(G,Z))S(G,Z,g,null,b,y,T,x,w);else break;E++}for(;E<=I&&E<=j;){const G=h[I],Z=d[j]=w?ot(d[j]):Ye(d[j]);if(Tt(G,Z))S(G,Z,g,null,b,y,T,x,w);else break;I--,j--}if(E>I){if(E<=j){const G=j+1,Z=G<K?d[G].el:_;for(;E<=j;)S(null,d[E]=w?ot(d[E]):Ye(d[E]),g,Z,b,y,T,x,w),E++}}else if(E>j)for(;E<=I;)Te(h[E],b,y,!0),E++;else{const G=E,Z=E,oe=new Map;for(E=Z;E<=j;E++){const Pe=d[E]=w?ot(d[E]):Ye(d[E]);Pe.key!=null&&oe.set(Pe.key,E)}let le,de=0;const me=j-Z+1;let Ge=!1,We=0;const $t=new Array(me);for(E=0;E<me;E++)$t[E]=0;for(E=G;E<=I;E++){const Pe=h[E];if(de>=me){Te(Pe,b,y,!0);continue}let $e;if(Pe.key!=null)$e=oe.get(Pe.key);else for(le=Z;le<=j;le++)if($t[le-Z]===0&&Tt(Pe,d[le])){$e=le;break}$e===void 0?Te(Pe,b,y,!0):($t[$e-Z]=E+1,$e>=We?We=$e:Ge=!0,S(Pe,d[$e],g,null,b,y,T,x,w),de++)}const gr=Ge?Jc($t):Bt;for(le=gr.length-1,E=me-1;E>=0;E--){const Pe=Z+E,$e=d[Pe],mr=d[Pe+1],_r=Pe+1<K?mr.el||Fi(mr):_;$t[E]===0?S(null,$e,g,_r,b,y,T,x,w):Ge&&(le<0||E!==gr[le]?Ke($e,g,_r,2):le--)}}},Ke=(h,d,g,_,b=null)=>{const{el:y,type:T,transition:x,children:w,shapeFlag:E}=h;if(E&6){Ke(h.component.subTree,d,g,_);return}if(E&128){h.suspense.move(d,g,_);return}if(E&64){T.move(h,d,g,V);return}if(T===Ie){s(y,d,g);for(let I=0;I<w.length;I++)Ke(w[I],d,g,_);s(h.anchor,d,g);return}if(T===ps){L(h,d,g);return}if(_!==2&&E&1&&x)if(_===0)x.beforeEnter(y),s(y,d,g),ye(()=>x.enter(y),b);else{const{leave:I,delayLeave:j,afterLeave:G}=x,Z=()=>{h.ctx.isUnmounted?r(y):s(y,d,g)},oe=()=>{y._isLeaving&&y[ze](!0),I(y,()=>{Z(),G&&G()})};j?j(y,Z,oe):oe()}else s(y,d,g)},Te=(h,d,g,_=!1,b=!1)=>{const{type:y,props:T,ref:x,children:w,dynamicChildren:E,shapeFlag:K,patchFlag:I,dirs:j,cacheIndex:G,memo:Z}=h;if(I===-2&&(b=!1),x!=null&&(ut(),sn(x,null,g,h,!0),ft()),G!=null&&(d.renderCache[G]=void 0),K&256){d.ctx.deactivate(h);return}const oe=K&1&&j,le=!kt(h);let de;if(le&&(de=T&&T.onVnodeBeforeUnmount)&&qe(de,d,h),K&6)At(h.component,g,_);else{if(K&128){h.suspense.unmount(g,_);return}oe&&St(h,null,d,"beforeUnmount"),K&64?h.type.remove(h,d,g,V,_):E&&!E.hasOnce&&(y!==Ie||I>0&&I&64)?Fe(E,d,g,!1,!0):(y===Ie&&I&384||!b&&K&16)&&Fe(w,d,g),_&&Nt(h)}const me=Z!=null&&G==null;(le&&(de=T&&T.onVnodeUnmounted)||oe||me)&&ye(()=>{de&&qe(de,d,h),oe&&St(h,null,d,"unmounted"),me&&(h.el=null)},g)},Nt=h=>{const{type:d,el:g,anchor:_,transition:b}=h;if(d===Ie){Mt(g,_);return}if(d===ps){N(h);return}const y=()=>{r(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(h.shapeFlag&1&&b&&!b.persisted){const{leave:T,delayLeave:x}=b,w=()=>T(g,y);x?x(h.el,y,w):w()}else y()},Mt=(h,d)=>{let g;for(;h!==d;)g=p(h),r(h),h=g;r(d)},At=(h,d,g)=>{const{bum:_,scope:b,job:y,subTree:T,um:x,m:w,a:E}=h;Fr(w),Fr(E),_&&xn(_),b.stop(),y&&(y.flags|=8,Te(T,h,d,g)),x&&ye(x,d),ye(()=>{h.isUnmounted=!0},d)},Fe=(h,d,g,_=!1,b=!1,y=0)=>{for(let T=y;T<h.length;T++)Te(h[T],d,g,_,b)},v=h=>{if(h.shapeFlag&6)return v(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const d=p(h.anchor||h.el),g=d&&d[ci];return g?p(g):d};let D=!1;const O=(h,d,g)=>{let _;h==null?d._vnode&&(Te(d._vnode,null,null,!0),_=d._vnode.component):S(d._vnode||null,h,d,null,null,null,g),d._vnode=h,D||(D=!0,Ar(_),si(),D=!1)},V={p:S,um:Te,m:Ke,r:Nt,mt:he,mc:U,pc:ee,pbc:k,n:v,o:e};return{render:O,hydrate:void 0,createApp:Ic(O)}}function ds({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 Ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function qc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function lr(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=ot(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&lr(i,l)),l.type===ts&&(l.patchFlag===-1&&(l=r[o]=ot(l)),l.el=i.el),l.type===Ee&&!l.el&&(l.el=i.el)}}function Jc(e){const t=e.slice(),n=[0];let s,r,o,i,l;const c=e.length;for(s=0;s<c;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<f?o=l+1:i=l;f<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Li(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Li(t)}function Fr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Fi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Fi(t.subTree):null}const Vi=e=>e.__isSuspense;function zc(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):ec(e)}const Ie=Symbol.for("v-fgt"),ts=Symbol.for("v-txt"),Ee=Symbol.for("v-cmt"),ps=Symbol.for("v-stc"),on=[];let Me=null;function Bn(e=!1){on.push(Me=e?null:[])}function Qc(){on.pop(),Me=on[on.length-1]||null}let dn=1;function Hn(e,t=!1){dn+=e,e<0&&Me&&t&&(Me.hasOnce=!0)}function ji(e){return e.dynamicChildren=dn>0?Me||Bt:null,Qc(),dn>0&&Me&&Me.push(e),e}function pa(e,t,n,s,r,o){return ji(Hi(e,t,n,s,r,o,!0))}function Un(e,t,n,s,r){return ji(Oe(e,t,n,s,r,!0))}function pn(e){return e?e.__v_isVNode===!0:!1}function Tt(e,t){return e.type===t.type&&e.key===t.key}const Bi=({key:e})=>e??null,Pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||fe(e)||W(e)?{i:_e,r:e,k:t,f:!!n}:e:null);function Hi(e,t=null,n=null,s=0,r=null,o=e===Ie?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bi(t),ref:t&&Pn(t),scopeId:oi,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:_e};return l?(cr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ae(n)?8:16),dn>0&&!i&&Me&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Me.push(c),c}const Oe=Yc;function Yc(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Ac)&&(e=Ee),pn(e)){const l=bt(e,t,!0);return n&&cr(l,n),dn>0&&!o&&Me&&(l.shapeFlag&6?Me[Me.indexOf(e)]=l:Me.push(l)),l.patchFlag=-2,l}if(uu(e)&&(e=e.__vccOpts),t){t=Xc(t);let{class:l,style:c}=t;l&&!ae(l)&&(t.class=qs(l)),se(c)&&(Qn(c)&&!H(c)&&(c=ge({},c)),t.style=$s(c))}const i=ae(e)?1:Vi(e)?128:ui(e)?64:se(e)?4:W(e)?2:0;return Hi(e,t,n,s,r,i,o,!0)}function Xc(e){return e?Qn(e)||Oi(e)?ge({},e):e:null}function bt(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,f=t?eu(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Bi(f),ref:t&&t.ref?n&&o?H(o)?o.concat(Pn(t)):[o,Pn(t)]:Pn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ie?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bt(e.ssContent),ssFallback:e.ssFallback&&bt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&hn(u,c.clone(u)),u}function Zc(e=" ",t=0){return Oe(ts,null,e,t)}function ga(e="",t=!1){return t?(Bn(),Un(Ee,null,e)):Oe(Ee,null,e)}function Ye(e){return e==null||typeof e=="boolean"?Oe(Ee):H(e)?Oe(Ie,null,e.slice()):pn(e)?ot(e):Oe(ts,null,String(e))}function ot(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bt(e)}function cr(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),cr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Oi(t)?t._ctx=_e:r===3&&_e&&(_e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:_e},n=32):(t=String(t),s&64?(n=16,t=[Zc(t)]):n=8);e.children=t,e.shapeFlag|=n}function eu(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=qs([t.class,s.class]));else if(r==="style")t.style=$s([t.style,s.style]);else if(Kn(r)){const o=t[r],i=s[r];i&&o!==i&&!(H(o)&&o.includes(i))?t[r]=o?[].concat(o,i):i:i==null&&o==null&&!Gn(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function qe(e,t,n,s=null){Ue(e,t,7,[n,s])}const tu=Ci();let nu=0;function su(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||tu,o={uid:nu++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Lo(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ii(s,r),emitsOptions:Ri(s,r),emit:null,emitted:null,propsDefaults:ie,inheritAttrs:s.inheritAttrs,ctx:ie,data:ie,props:ie,attrs:ie,slots:ie,refs:ie,setupState:ie,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Mc.bind(null,o),e.ce&&e.ce(o),o}let Ae=null;const ur=()=>Ae||_e;let kn,Ls;{const e=Jn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};kn=t("__VUE_INSTANCE_SETTERS__",n=>Ae=n),Ls=t("__VUE_SSR_SETTERS__",n=>gn=n)}const En=e=>{const t=Ae;return kn(e),e.scope.on(),()=>{e.scope.off(),kn(t)}},Vr=()=>{Ae&&Ae.scope.off(),kn(null)};function Ui(e){return e.vnode.shapeFlag&4}let gn=!1;function ru(e,t=!1,n=!1){t&&Ls(t);const{props:s,children:r}=e.vnode,o=Ui(e);Bc(e,s,o,t),Kc(e,r,n||t);const i=o?ou(e,t):void 0;return t&&Ls(!1),i}function ou(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Cc);const{setup:s}=n;if(s){ut();const r=e.setupContext=s.length>1?lu(e):null,o=En(e),i=bn(s,e,0,[e.props,r]),l=To(i);if(ft(),o(),(l||e.sp)&&!kt(e)&&mi(e),l){if(i.then(Vr,Vr),t)return i.then(c=>{jr(e,c)}).catch(c=>{Yn(c,e,0)});e.asyncDep=i}else jr(e,i)}else ki(e)}function jr(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=ei(t)),ki(e)}function ki(e,t,n){const s=e.type;e.render||(e.render=s.render||Ze);{const r=En(e);ut();try{Rc(e)}finally{ft(),r()}}}const iu={get(e,t){return be(e,"get",""),e[t]}};function lu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,iu),slots:e.slots,emit:e.emit,expose:t}}function ns(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ei(tr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in rn)return rn[n](e)},has(t,n){return n in t||n in rn}})):e.proxy}function cu(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function uu(e){return W(e)&&"__vccOpts"in e}const Ne=(e,t)=>zl(e,t,gn);function fr(e,t,n){try{Hn(-1);const s=arguments.length;return s===2?se(t)&&!H(t)?pn(t)?Oe(e,null,[t]):Oe(e,t):Oe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&pn(n)&&(n=[n]),Oe(e,t,n))}finally{Hn(1)}}const fu="3.5.31";/**
|
|
* @vue/runtime-dom v3.5.31
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Fs;const Br=typeof window<"u"&&window.trustedTypes;if(Br)try{Fs=Br.createPolicy("vue",{createHTML:e=>e})}catch{}const Ki=Fs?e=>Fs.createHTML(e):e=>e,au="http://www.w3.org/2000/svg",hu="http://www.w3.org/1998/Math/MathML",rt=typeof document<"u"?document:null,Hr=rt&&rt.createElement("template"),du={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"?rt.createElementNS(au,e):t==="mathml"?rt.createElementNS(hu,e):n?rt.createElement(e,{is:n}):rt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Hr.innerHTML=Ki(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Hr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},pt="transition",zt="animation",mn=Symbol("_vtc"),Gi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},pu=ge({},ai,Gi),gu=e=>(e.displayName="Transition",e.props=pu,e),ma=gu((e,{slots:t})=>fr(fc,mu(e),t)),Rt=(e,t=[])=>{H(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ur=e=>e?H(e)?e.some(t=>t.length>1):e.length>1:!1;function mu(e){const t={};for(const P in e)P in Gi||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=i,appearToClass:u=l,leaveFromClass:a=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,A=_u(r),S=A&&A[0],F=A&&A[1],{onBeforeEnter:M,onEnter:C,onEnterCancelled:L,onLeave:N,onLeaveCancelled:B,onBeforeAppear:J=M,onAppear:q=C,onAppearCancelled:U=L}=t,R=(P,Q,he,Se)=>{P._enterCancelled=Se,wt(P,Q?u:l),wt(P,Q?f:i),he&&he()},k=(P,Q)=>{P._isLeaving=!1,wt(P,a),wt(P,m),wt(P,p),Q&&Q()},z=P=>(Q,he)=>{const Se=P?q:C,re=()=>R(Q,P,he);Rt(Se,[Q,re]),kr(()=>{wt(Q,P?c:o),nt(Q,P?u:l),Ur(Se)||Kr(Q,s,S,re)})};return ge(t,{onBeforeEnter(P){Rt(M,[P]),nt(P,o),nt(P,i)},onBeforeAppear(P){Rt(J,[P]),nt(P,c),nt(P,f)},onEnter:z(!1),onAppear:z(!0),onLeave(P,Q){P._isLeaving=!0;const he=()=>k(P,Q);nt(P,a),P._enterCancelled?(nt(P,p),$r(P)):($r(P),nt(P,p)),kr(()=>{P._isLeaving&&(wt(P,a),nt(P,m),Ur(N)||Kr(P,s,F,he))}),Rt(N,[P,he])},onEnterCancelled(P){R(P,!1,void 0,!0),Rt(L,[P])},onAppearCancelled(P){R(P,!0,void 0,!0),Rt(U,[P])},onLeaveCancelled(P){k(P),Rt(B,[P])}})}function _u(e){if(e==null)return null;if(se(e))return[gs(e.enter),gs(e.leave)];{const t=gs(e);return[t,t]}}function gs(e){return dl(e)}function nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[mn]||(e[mn]=new Set)).add(t)}function wt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[mn];n&&(n.delete(t),n.size||(e[mn]=void 0))}function kr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let yu=0;function Kr(e,t,n,s){const r=e._endId=++yu,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=vu(e,t);if(!i)return s();const f=i+"end";let u=0;const a=()=>{e.removeEventListener(f,p),o()},p=m=>{m.target===e&&++u>=c&&a()};setTimeout(()=>{u<c&&a()},l+1),e.addEventListener(f,p)}function vu(e,t){const n=window.getComputedStyle(e),s=A=>(n[A]||"").split(", "),r=s(`${pt}Delay`),o=s(`${pt}Duration`),i=Gr(r,o),l=s(`${zt}Delay`),c=s(`${zt}Duration`),f=Gr(l,c);let u=null,a=0,p=0;t===pt?i>0&&(u=pt,a=i,p=o.length):t===zt?f>0&&(u=zt,a=f,p=c.length):(a=Math.max(i,f),u=a>0?i>f?pt:zt:null,p=u?u===pt?o.length:c.length:0);const m=u===pt&&/\b(?:transform|all)(?:,|$)/.test(s(`${pt}Property`).toString());return{type:u,timeout:a,propCount:p,hasTransform:m}}function Gr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Wr(n)+Wr(e[s])))}function Wr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function $r(e){return(e?e.ownerDocument:document).body.offsetHeight}function bu(e,t,n){const s=e[mn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const qr=Symbol("_vod"),Eu=Symbol("_vsh"),Au=Symbol(""),Su=/(?:^|;)\s*display\s*:/;function Cu(e,t,n){const s=e.style,r=ae(n);let o=!1;if(n&&!r){if(t)if(ae(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&In(s,l,"")}else for(const i in t)n[i]==null&&In(s,i,"");for(const i in n)i==="display"&&(o=!0),In(s,i,n[i])}else if(r){if(t!==n){const i=s[Au];i&&(n+=";"+i),s.cssText=n,o=Su.test(n)}}else t&&e.removeAttribute("style");qr in e&&(e[qr]=o?s.display:"",e[Eu]&&(s.display="none"))}const Jr=/\s*!important$/;function In(e,t,n){if(H(n))n.forEach(s=>In(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ru(e,t);Jr.test(n)?e.setProperty(Et(s),n.replace(Jr,""),"important"):e[s]=n}}const zr=["Webkit","Moz","ms"],ms={};function Ru(e,t){const n=ms[t];if(n)return n;let s=xe(t);if(s!=="filter"&&s in e)return ms[t]=s;s=qn(s);for(let r=0;r<zr.length;r++){const o=zr[r]+s;if(o in e)return ms[t]=o}return t}const Qr="http://www.w3.org/1999/xlink";function Yr(e,t,n,s,r,o=vl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Qr,t.slice(6,t.length)):e.setAttributeNS(Qr,t,n):n==null||o&&!No(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Le(n)?String(n):n)}function Xr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ki(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=No(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function Vt(e,t,n,s){e.addEventListener(t,n,s)}function wu(e,t,n,s){e.removeEventListener(t,n,s)}const Zr=Symbol("_vei");function xu(e,t,n,s,r=null){const o=e[Zr]||(e[Zr]={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=Tu(t);if(s){const f=o[t]=Iu(s,r);Vt(e,l,f,c)}else i&&(wu(e,l,i,c),o[t]=void 0)}}const eo=/(?:Once|Passive|Capture)$/;function Tu(e){let t;if(eo.test(e)){t={};let s;for(;s=e.match(eo);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Et(e.slice(2)),t]}let _s=0;const Ou=Promise.resolve(),Pu=()=>_s||(Ou.then(()=>_s=0),_s=Date.now());function Iu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ue(Nu(s,n.value),t,5,[s])};return n.value=e,n.attached=Pu(),n}function Nu(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const to=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Mu=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?bu(e,s,i):t==="style"?Cu(e,n,s):Kn(t)?Gn(t)||xu(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Du(e,t,s,i))?(Xr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Yr(e,t,s,i,o,t!=="value")):e._isVueCE&&(Lu(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ae(s)))?Xr(e,xe(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Yr(e,t,s,i))};function Du(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&to(t)&&W(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 to(t)&&ae(n)?!1:t in e}function Lu(e,t){const n=e._def.props;if(!n)return!1;const s=xe(t);return Array.isArray(n)?n.some(r=>xe(r)===s):Object.keys(n).some(r=>xe(r)===s)}const no=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>xn(t,n):t};function Fu(e){e.target.composing=!0}function so(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ys=Symbol("_assign");function ro(e,t,n){return t&&(e=e.trim()),n&&(e=Ws(e)),e}const _a={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ys]=no(r);const o=s||r.props&&r.props.type==="number";Vt(e,t?"change":"input",i=>{i.target.composing||e[ys](ro(e.value,n,o))}),(n||o)&&Vt(e,"change",()=>{e.value=ro(e.value,n,o)}),t||(Vt(e,"compositionstart",Fu),Vt(e,"compositionend",so),Vt(e,"change",so))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[ys]=no(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Ws(e.value):e.value,c=t??"";if(l===c)return;const f=e.getRootNode();(f instanceof Document||f instanceof ShadowRoot)&&f.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},Vu=["ctrl","shift","alt","meta"],ju={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)=>Vu.some(n=>e[`${n}Key`]&&!t.includes(n))},ya=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i<t.length;i++){const l=ju[t[i]];if(l&&l(r,t))return}return e(r,...o)})},Bu={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},va=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=Et(r.key);if(t.some(i=>i===o||Bu[i]===o))return e(r)})},Hu=ge({patchProp:Mu},du);let oo;function Uu(){return oo||(oo=Wc(Hu))}const ku=(...e)=>{const t=Uu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Gu(s);if(!r)return;const o=t._component;!W(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Ku(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Ku(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Gu(e){return ae(e)?document.querySelector(e):e}/*!
|
|
* pinia v2.3.1
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/let Wi;const ss=e=>Wi=e,$i=Symbol();function Vs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ln;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ln||(ln={}));function Wu(){const e=Fo(!0),t=e.run(()=>Mn({}));let n=[],s=[];const r=tr({install(o){ss(r),r._a=o,o.provide($i,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const qi=()=>{};function io(e,t,n,s=qi){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Vo()&&Al(r),r}function Lt(e,...t){e.slice().forEach(n=>{n(...t)})}const $u=e=>e(),lo=Symbol(),vs=Symbol();function js(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];Vs(r)&&Vs(s)&&e.hasOwnProperty(n)&&!fe(s)&&!ct(s)?e[n]=js(r,s):e[n]=s}return e}const qu=Symbol();function Ju(e){return!Vs(e)||!e.hasOwnProperty(qu)}const{assign:mt}=Object;function zu(e){return!!(fe(e)&&e.effect)}function Qu(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let c;function f(){l||(n.state.value[e]=r?r():{});const u=Wl(n.state.value[e]);return mt(u,o,Object.keys(i||{}).reduce((a,p)=>(a[p]=tr(Ne(()=>{ss(n);const m=n._s.get(e);return i[p].call(m,m)})),a),{}))}return c=Ji(e,f,t,n,s,!0),c}function Ji(e,t,n={},s,r,o){let i;const l=mt({actions:{}},n),c={deep:!0};let f,u,a=[],p=[],m;const A=s.state.value[e];!o&&!A&&(s.state.value[e]={});let S;function F(U){let R;f=u=!1,typeof U=="function"?(U(s.state.value[e]),R={type:ln.patchFunction,storeId:e,events:m}):(js(s.state.value[e],U),R={type:ln.patchObject,payload:U,storeId:e,events:m});const k=S=Symbol();nr().then(()=>{S===k&&(f=!0)}),u=!0,Lt(a,R,s.state.value[e])}const M=o?function(){const{state:R}=n,k=R?R():{};this.$patch(z=>{mt(z,k)})}:qi;function C(){i.stop(),a=[],p=[],s._s.delete(e)}const L=(U,R="")=>{if(lo in U)return U[vs]=R,U;const k=function(){ss(s);const z=Array.from(arguments),P=[],Q=[];function he($){P.push($)}function Se($){Q.push($)}Lt(p,{args:z,name:k[vs],store:B,after:he,onError:Se});let re;try{re=U.apply(this&&this.$id===e?this:B,z)}catch($){throw Lt(Q,$),$}return re instanceof Promise?re.then($=>(Lt(P,$),$)).catch($=>(Lt(Q,$),Promise.reject($))):(Lt(P,re),re)};return k[lo]=!0,k[vs]=R,k},N={_p:s,$id:e,$onAction:io.bind(null,p),$patch:F,$reset:M,$subscribe(U,R={}){const k=io(a,U,R.detached,()=>z()),z=i.run(()=>tn(()=>s.state.value[e],P=>{(R.flush==="sync"?u:f)&&U({storeId:e,type:ln.direct,events:m},P)},mt({},c,R)));return k},$dispose:C},B=vn(N);s._s.set(e,B);const q=(s._a&&s._a.runWithContext||$u)(()=>s._e.run(()=>(i=Fo()).run(()=>t({action:L}))));for(const U in q){const R=q[U];if(fe(R)&&!zu(R)||ct(R))o||(A&&Ju(R)&&(fe(R)?R.value=A[U]:js(R,A[U])),s.state.value[e][U]=R);else if(typeof R=="function"){const k=L(R,U);q[U]=k,l.actions[U]=R}}return mt(B,q),mt(X(B),q),Object.defineProperty(B,"$state",{get:()=>s.state.value[e],set:U=>{F(R=>{mt(R,U)})}}),s._p.forEach(U=>{mt(B,i.run(()=>U({store:B,app:s._a,pinia:s,options:l})))}),A&&o&&n.hydrate&&n.hydrate(B.$state,A),f=!0,u=!0,B}/*! #__NO_SIDE_EFFECTS__ */function Yu(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function i(l,c){const f=nc();return l=l||(f?je($i,null):null),l&&ss(l),l=Wi,l._s.has(s)||(o?Ji(s,t,r,l):Qu(s,r,l)),l._s.get(s)}return i.$id=s,i}/*!
|
|
* vue-router v4.6.4
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const jt=typeof document<"u";function zi(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Xu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&zi(e.default)}const te=Object.assign;function bs(e,t){const n={};for(const s in t){const r=t[s];n[s]=ke(r)?r.map(e):e(r)}return n}const cn=()=>{},ke=Array.isArray;function co(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Qi=/#/g,Zu=/&/g,ef=/\//g,tf=/=/g,nf=/\?/g,Yi=/\+/g,sf=/%5B/g,rf=/%5D/g,Xi=/%5E/g,of=/%60/g,Zi=/%7B/g,lf=/%7C/g,el=/%7D/g,cf=/%20/g;function ar(e){return e==null?"":encodeURI(""+e).replace(lf,"|").replace(sf,"[").replace(rf,"]")}function uf(e){return ar(e).replace(Zi,"{").replace(el,"}").replace(Xi,"^")}function Bs(e){return ar(e).replace(Yi,"%2B").replace(cf,"+").replace(Qi,"%23").replace(Zu,"%26").replace(of,"`").replace(Zi,"{").replace(el,"}").replace(Xi,"^")}function ff(e){return Bs(e).replace(tf,"%3D")}function af(e){return ar(e).replace(Qi,"%23").replace(nf,"%3F")}function hf(e){return af(e).replace(ef,"%2F")}function _n(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const df=/\/$/,pf=e=>e.replace(df,"");function Es(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),o=t.slice(c,l>0?l:t.length),r=e(o.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=yf(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:_n(i)}}function gf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function uo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Gt(t.matched[s],n.matched[r])&&tl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Gt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function tl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!_f(e[n],t[n]))return!1;return!0}function _f(e,t){return ke(e)?fo(e,t):ke(t)?fo(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function fo(e,t){return ke(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function yf(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 o=n.length-1,i,l;for(i=0;i<s.length;i++)if(l=s[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const gt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Hs=function(e){return e.pop="pop",e.push="push",e}({}),As=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function vf(e){if(!e)if(jt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),pf(e)}const bf=/^[^#]+#/;function Ef(e,t){return e.replace(bf,"#")+t}function Af(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 rs=()=>({left:window.scrollX,top:window.scrollY});function Sf(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=Af(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 ao(e,t){return(history.state?history.state.position-t:-1)+e}const Us=new Map;function Cf(e,t){Us.set(e,t)}function Rf(e){const t=Us.get(e);return Us.delete(e),t}function wf(e){return typeof e=="string"||e&&typeof e=="object"}function nl(e){return typeof e=="string"||typeof e=="symbol"}let ue=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 sl=Symbol("");ue.MATCHER_NOT_FOUND+"",ue.NAVIGATION_GUARD_REDIRECT+"",ue.NAVIGATION_ABORTED+"",ue.NAVIGATION_CANCELLED+"",ue.NAVIGATION_DUPLICATED+"";function Wt(e,t){return te(new Error,{type:e,[sl]:!0},t)}function st(e,t){return e instanceof Error&&sl in e&&(t==null||!!(e.type&t))}const xf=["params","query","hash"];function Tf(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of xf)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Of(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Yi," "),o=r.indexOf("="),i=_n(o<0?r:r.slice(0,o)),l=o<0?null:_n(r.slice(o+1));if(i in t){let c=t[i];ke(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function ho(e){let t="";for(let n in e){const s=e[n];if(n=ff(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(ke(s)?s.map(r=>r&&Bs(r)):[s&&Bs(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Pf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=ke(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const If=Symbol(""),po=Symbol(""),os=Symbol(""),hr=Symbol(""),ks=Symbol("");function Qt(){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 yt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const f=p=>{p===!1?c(Wt(ue.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):wf(p)?c(Wt(ue.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},u=o(()=>e.call(s&&s.instances[r],t,n,f));let a=Promise.resolve(u);e.length<3&&(a=a.then(f)),a.catch(p=>c(p))})}function Ss(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(zi(c)){const f=(c.__vccOpts||c)[t];f&&o.push(yt(f,n,s,i,l,r))}else{let f=c();o.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const a=Xu(u)?u.default:u;i.mods[l]=u,i.components[l]=a;const p=(a.__vccOpts||a)[t];return p&&yt(p,n,s,i,l,r)()}))}}return o}function Nf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(f=>Gt(f,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(f=>Gt(f,c))||r.push(c))}return[n,s,r]}/*!
|
|
* vue-router v4.6.4
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/let Mf=()=>location.protocol+"//"+location.host;function rl(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),uo(l,"")}return uo(n,e)+s+r}function Df(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const m=rl(e,location),A=n.value,S=t.value;let F=0;if(p){if(n.value=m,t.value=p,i&&i===A){i=null;return}F=S?p.position-S.position:0}else s(m);r.forEach(M=>{M(n.value,A,{delta:F,type:Hs.pop,direction:F?F>0?As.forward:As.back:As.unknown})})};function c(){i=n.value}function f(p){r.push(p);const m=()=>{const A=r.indexOf(p);A>-1&&r.splice(A,1)};return o.push(m),m}function u(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(te({},p.state,{scroll:rs()}),"")}}function a(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:c,listen:f,destroy:a}}function go(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?rs():null}}function Lf(e){const{history:t,location:n}=window,s={value:rl(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,f,u){const a=e.indexOf("#"),p=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+c:Mf()+e+c;try{t[u?"replaceState":"pushState"](f,"",p),r.value=f}catch(m){console.error(m),n[u?"replace":"assign"](p)}}function i(c,f){o(c,te({},t.state,go(r.value.back,c,r.value.forward,!0),f,{position:r.value.position}),!0),s.value=c}function l(c,f){const u=te({},r.value,t.state,{forward:c,scroll:rs()});o(u.current,u,!0),o(c,te({},go(s.value,c,null),{position:u.position+1},f),!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Ff(e){e=vf(e);const t=Lf(e),n=Df(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=te({location:"",base:e,go:s,createHref:Ef.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 Ot=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var pe=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}(pe||{});const Vf={type:Ot.Static,value:""},jf=/[a-zA-Z0-9_]/;function Bf(e){if(!e)return[[]];if(e==="/")return[[Vf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${f}": ${m}`)}let n=pe.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,f="",u="";function a(){f&&(n===pe.Static?o.push({type:Ot.Static,value:f}):n===pe.Param||n===pe.ParamRegExp||n===pe.ParamRegExpEnd?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Ot.Param,value:f,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==pe.ParamRegExp){s=n,n=pe.EscapeNext;continue}switch(n){case pe.Static:c==="/"?(f&&a(),i()):c===":"?(a(),n=pe.Param):p();break;case pe.EscapeNext:p(),n=s;break;case pe.Param:c==="("?n=pe.ParamRegExp:jf.test(c)?p():(a(),n=pe.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case pe.ParamRegExp:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=pe.ParamRegExpEnd:u+=c;break;case pe.ParamRegExpEnd:a(),n=pe.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===pe.ParamRegExp&&t(`Unfinished custom RegExp for param "${f}"`),a(),i(),r}const mo="[^/]+?",Hf={sensitive:!1,strict:!1,start:!0,end:!0};var Re=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(Re||{});const Uf=/[.+*?^${}()[\]/\\]/g;function kf(e,t){const n=te({},Hf,t),s=[];let r=n.start?"^":"";const o=[];for(const f of e){const u=f.length?[]:[Re.Root];n.strict&&!f.length&&(r+="/");for(let a=0;a<f.length;a++){const p=f[a];let m=Re.Segment+(n.sensitive?Re.BonusCaseSensitive:0);if(p.type===Ot.Static)a||(r+="/"),r+=p.value.replace(Uf,"\\$&"),m+=Re.Static;else if(p.type===Ot.Param){const{value:A,repeatable:S,optional:F,regexp:M}=p;o.push({name:A,repeatable:S,optional:F});const C=M||mo;if(C!==mo){m+=Re.BonusCustomRegExp;try{`${C}`}catch(N){throw new Error(`Invalid custom RegExp for param "${A}" (${C}): `+N.message)}}let L=S?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;a||(L=F&&f.length<2?`(?:/${L})`:"/"+L),F&&(L+="?"),r+=L,m+=Re.Dynamic,F&&(m+=Re.BonusOptional),S&&(m+=Re.BonusRepeatable),C===".*"&&(m+=Re.BonusWildcard)}u.push(m)}s.push(u)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=Re.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(f){const u=f.match(i),a={};if(!u)return null;for(let p=1;p<u.length;p++){const m=u[p]||"",A=o[p-1];a[A.name]=m&&A.repeatable?m.split("/"):m}return a}function c(f){let u="",a=!1;for(const p of e){(!a||!u.endsWith("/"))&&(u+="/"),a=!1;for(const m of p)if(m.type===Ot.Static)u+=m.value;else if(m.type===Ot.Param){const{value:A,repeatable:S,optional:F}=m,M=A in f?f[A]:"";if(ke(M)&&!S)throw new Error(`Provided param "${A}" is an array but it is not repeatable (* or + modifiers)`);const C=ke(M)?M.join("/"):M;if(!C)if(F)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):a=!0);else throw new Error(`Missing required param "${A}"`);u+=C}}return u||"/"}return{re:i,score:s,keys:o,parse:l,stringify:c}}function Kf(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Re.Static+Re.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Re.Static+Re.Segment?1:-1:0}function ol(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=Kf(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(_o(s))return 1;if(_o(r))return-1}return r.length-s.length}function _o(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Gf={strict:!1,end:!0,sensitive:!1};function Wf(e,t,n){const s=kf(Bf(e.path),n),r=te(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function $f(e,t){const n=[],s=new Map;t=co(Gf,t);function r(a){return s.get(a)}function o(a,p,m){const A=!m,S=vo(a);S.aliasOf=m&&m.record;const F=co(t,a),M=[S];if("alias"in a){const N=typeof a.alias=="string"?[a.alias]:a.alias;for(const B of N)M.push(vo(te({},S,{components:m?m.record.components:S.components,path:B,aliasOf:m?m.record:S})))}let C,L;for(const N of M){const{path:B}=N;if(p&&B[0]!=="/"){const J=p.record.path,q=J[J.length-1]==="/"?"":"/";N.path=p.record.path+(B&&q+B)}if(C=Wf(N,p,F),m?m.alias.push(C):(L=L||C,L!==C&&L.alias.push(C),A&&a.name&&!bo(C)&&i(a.name)),il(C)&&c(C),S.children){const J=S.children;for(let q=0;q<J.length;q++)o(J[q],C,m&&m.children[q])}m=m||C}return L?()=>{i(L)}:cn}function i(a){if(nl(a)){const p=s.get(a);p&&(s.delete(a),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(a);p>-1&&(n.splice(p,1),a.record.name&&s.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function l(){return n}function c(a){const p=zf(a,n);n.splice(p,0,a),a.record.name&&!bo(a)&&s.set(a.record.name,a)}function f(a,p){let m,A={},S,F;if("name"in a&&a.name){if(m=s.get(a.name),!m)throw Wt(ue.MATCHER_NOT_FOUND,{location:a});F=m.record.name,A=te(yo(p.params,m.keys.filter(L=>!L.optional).concat(m.parent?m.parent.keys.filter(L=>L.optional):[]).map(L=>L.name)),a.params&&yo(a.params,m.keys.map(L=>L.name))),S=m.stringify(A)}else if(a.path!=null)S=a.path,m=n.find(L=>L.re.test(S)),m&&(A=m.parse(S),F=m.record.name);else{if(m=p.name?s.get(p.name):n.find(L=>L.re.test(p.path)),!m)throw Wt(ue.MATCHER_NOT_FOUND,{location:a,currentLocation:p});F=m.record.name,A=te({},p.params,a.params),S=m.stringify(A)}const M=[];let C=m;for(;C;)M.unshift(C.record),C=C.parent;return{name:F,path:S,params:A,matched:M,meta:Jf(M)}}e.forEach(a=>o(a));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function yo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function vo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:qf(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 qf(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 bo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Jf(e){return e.reduce((t,n)=>te(t,n.meta),{})}function zf(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;ol(e,t[o])<0?s=o:n=o+1}const r=Qf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Qf(e){let t=e;for(;t=t.parent;)if(il(t)&&ol(e,t)===0)return t}function il({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Eo(e){const t=je(os),n=je(hr),s=Ne(()=>{const c=vt(e.to);return t.resolve(c)}),r=Ne(()=>{const{matched:c}=s.value,{length:f}=c,u=c[f-1],a=n.matched;if(!u||!a.length)return-1;const p=a.findIndex(Gt.bind(null,u));if(p>-1)return p;const m=Ao(c[f-2]);return f>1&&Ao(u)===m&&a[a.length-1].path!==m?a.findIndex(Gt.bind(null,c[f-2])):p}),o=Ne(()=>r.value>-1&&ta(n.params,s.value.params)),i=Ne(()=>r.value>-1&&r.value===n.matched.length-1&&tl(n.params,s.value.params));function l(c={}){if(ea(c)){const f=t[vt(e.replace)?"replace":"push"](vt(e.to)).catch(cn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:Ne(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function Yf(e){return e.length===1?e[0]:e}const Xf=rr({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:Eo,setup(e,{slots:t}){const n=vn(Eo(e)),{options:s}=je(os),r=Ne(()=>({[So(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[So(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Yf(t.default(n));return e.custom?o:fr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Zf=Xf;function ea(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 ta(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(!ke(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function Ao(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const So=(e,t,n)=>e??t??n,na=rr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=je(ks),r=Ne(()=>e.route||s.value),o=je(po,0),i=Ne(()=>{let f=vt(o);const{matched:u}=r.value;let a;for(;(a=u[f])&&!a.components;)f++;return f}),l=Ne(()=>r.value.matched[i.value]);Tn(po,Ne(()=>i.value+1)),Tn(If,l),Tn(ks,r);const c=Mn();return tn(()=>[c.value,l.value,e.name],([f,u,a],[p,m,A])=>{u&&(u.instances[a]=f,m&&m!==u&&f&&f===p&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),f&&u&&(!m||!Gt(u,m)||!p)&&(u.enterCallbacks[a]||[]).forEach(S=>S(f))},{flush:"post"}),()=>{const f=r.value,u=e.name,a=l.value,p=a&&a.components[u];if(!p)return Co(n.default,{Component:p,route:f});const m=a.props[u],A=m?m===!0?f.params:typeof m=="function"?m(f):m:null,F=fr(p,te({},A,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(a.instances[u]=null)},ref:c}));return Co(n.default,{Component:F,route:f})||F}}});function Co(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ll=na;function sa(e){const t=$f(e.routes,e),n=e.parseQuery||Of,s=e.stringifyQuery||ho,r=e.history,o=Qt(),i=Qt(),l=Qt(),c=kl(gt);let f=gt;jt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=bs.bind(null,v=>""+v),a=bs.bind(null,hf),p=bs.bind(null,_n);function m(v,D){let O,V;return nl(v)?(O=t.getRecordMatcher(v),V=D):V=v,t.addRoute(V,O)}function A(v){const D=t.getRecordMatcher(v);D&&t.removeRoute(D)}function S(){return t.getRoutes().map(v=>v.record)}function F(v){return!!t.getRecordMatcher(v)}function M(v,D){if(D=te({},D||c.value),typeof v=="string"){const g=Es(n,v,D.path),_=t.resolve({path:g.path},D),b=r.createHref(g.fullPath);return te(g,_,{params:p(_.params),hash:_n(g.hash),redirectedFrom:void 0,href:b})}let O;if(v.path!=null)O=te({},v,{path:Es(n,v.path,D.path).path});else{const g=te({},v.params);for(const _ in g)g[_]==null&&delete g[_];O=te({},v,{params:a(g)}),D.params=a(D.params)}const V=t.resolve(O,D),Y=v.hash||"";V.params=u(p(V.params));const h=gf(s,te({},v,{hash:uf(Y),path:V.path})),d=r.createHref(h);return te({fullPath:h,hash:Y,query:s===ho?Pf(v.query):v.query||{}},V,{redirectedFrom:void 0,href:d})}function C(v){return typeof v=="string"?Es(n,v,c.value.path):te({},v)}function L(v,D){if(f!==v)return Wt(ue.NAVIGATION_CANCELLED,{from:D,to:v})}function N(v){return q(v)}function B(v){return N(te(C(v),{replace:!0}))}function J(v,D){const O=v.matched[v.matched.length-1];if(O&&O.redirect){const{redirect:V}=O;let Y=typeof V=="function"?V(v,D):V;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=C(Y):{path:Y},Y.params={}),te({query:v.query,hash:v.hash,params:Y.path!=null?{}:v.params},Y)}}function q(v,D){const O=f=M(v),V=c.value,Y=v.state,h=v.force,d=v.replace===!0,g=J(O,V);if(g)return q(te(C(g),{state:typeof g=="object"?te({},Y,g.state):Y,force:h,replace:d}),D||O);const _=O;_.redirectedFrom=D;let b;return!h&&mf(s,V,O)&&(b=Wt(ue.NAVIGATION_DUPLICATED,{to:_,from:V}),Ke(V,V,!0,!1)),(b?Promise.resolve(b):k(_,V)).catch(y=>st(y)?st(y,ue.NAVIGATION_GUARD_REDIRECT)?y:dt(y):ee(y,_,V)).then(y=>{if(y){if(st(y,ue.NAVIGATION_GUARD_REDIRECT))return q(te({replace:d},C(y.to),{state:typeof y.to=="object"?te({},Y,y.to.state):Y,force:h}),D||_)}else y=P(_,V,!0,d,Y);return z(_,V,y),y})}function U(v,D){const O=L(v,D);return O?Promise.reject(O):Promise.resolve()}function R(v){const D=Mt.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(v):v()}function k(v,D){let O;const[V,Y,h]=Nf(v,D);O=Ss(V.reverse(),"beforeRouteLeave",v,D);for(const g of V)g.leaveGuards.forEach(_=>{O.push(yt(_,v,D))});const d=U.bind(null,v,D);return O.push(d),Fe(O).then(()=>{O=[];for(const g of o.list())O.push(yt(g,v,D));return O.push(d),Fe(O)}).then(()=>{O=Ss(Y,"beforeRouteUpdate",v,D);for(const g of Y)g.updateGuards.forEach(_=>{O.push(yt(_,v,D))});return O.push(d),Fe(O)}).then(()=>{O=[];for(const g of h)if(g.beforeEnter)if(ke(g.beforeEnter))for(const _ of g.beforeEnter)O.push(yt(_,v,D));else O.push(yt(g.beforeEnter,v,D));return O.push(d),Fe(O)}).then(()=>(v.matched.forEach(g=>g.enterCallbacks={}),O=Ss(h,"beforeRouteEnter",v,D,R),O.push(d),Fe(O))).then(()=>{O=[];for(const g of i.list())O.push(yt(g,v,D));return O.push(d),Fe(O)}).catch(g=>st(g,ue.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function z(v,D,O){l.list().forEach(V=>R(()=>V(v,D,O)))}function P(v,D,O,V,Y){const h=L(v,D);if(h)return h;const d=D===gt,g=jt?history.state:{};O&&(V||d?r.replace(v.fullPath,te({scroll:d&&g&&g.scroll},Y)):r.push(v.fullPath,Y)),c.value=v,Ke(v,D,O,d),dt()}let Q;function he(){Q||(Q=r.listen((v,D,O)=>{if(!At.listening)return;const V=M(v),Y=J(V,At.currentRoute.value);if(Y){q(te(Y,{replace:!0,force:!0}),V).catch(cn);return}f=V;const h=c.value;jt&&Cf(ao(h.fullPath,O.delta),rs()),k(V,h).catch(d=>st(d,ue.NAVIGATION_ABORTED|ue.NAVIGATION_CANCELLED)?d:st(d,ue.NAVIGATION_GUARD_REDIRECT)?(q(te(C(d.to),{force:!0}),V).then(g=>{st(g,ue.NAVIGATION_ABORTED|ue.NAVIGATION_DUPLICATED)&&!O.delta&&O.type===Hs.pop&&r.go(-1,!1)}).catch(cn),Promise.reject()):(O.delta&&r.go(-O.delta,!1),ee(d,V,h))).then(d=>{d=d||P(V,h,!1),d&&(O.delta&&!st(d,ue.NAVIGATION_CANCELLED)?r.go(-O.delta,!1):O.type===Hs.pop&&st(d,ue.NAVIGATION_ABORTED|ue.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),z(V,h,d)}).catch(cn)}))}let Se=Qt(),re=Qt(),$;function ee(v,D,O){dt(v);const V=re.list();return V.length?V.forEach(Y=>Y(v,D,O)):console.error(v),Promise.reject(v)}function et(){return $&&c.value!==gt?Promise.resolve():new Promise((v,D)=>{Se.add([v,D])})}function dt(v){return $||($=!v,he(),Se.list().forEach(([D,O])=>v?O(v):D()),Se.reset()),v}function Ke(v,D,O,V){const{scrollBehavior:Y}=e;if(!jt||!Y)return Promise.resolve();const h=!O&&Rf(ao(v.fullPath,0))||(V||!O)&&history.state&&history.state.scroll||null;return nr().then(()=>Y(v,D,h)).then(d=>d&&Sf(d)).catch(d=>ee(d,v,D))}const Te=v=>r.go(v);let Nt;const Mt=new Set,At={currentRoute:c,listening:!0,addRoute:m,removeRoute:A,clearRoutes:t.clearRoutes,hasRoute:F,getRoutes:S,resolve:M,options:e,push:N,replace:B,go:Te,back:()=>Te(-1),forward:()=>Te(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:re.add,isReady:et,install(v){v.component("RouterLink",Zf),v.component("RouterView",ll),v.config.globalProperties.$router=At,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>vt(c)}),jt&&!Nt&&c.value===gt&&(Nt=!0,N(r.location).catch(V=>{}));const D={};for(const V in gt)Object.defineProperty(D,V,{get:()=>c.value[V],enumerable:!0});v.provide(os,At),v.provide(hr,Xo(D)),v.provide(ks,c);const O=v.unmount;Mt.add(v),v.unmount=function(){Mt.delete(v),Mt.size<1&&(f=gt,Q&&Q(),Q=null,c.value=gt,Nt=!1,$=!1),O()}}};function Fe(v){return v.reduce((D,O)=>D.then(()=>R(O)),Promise.resolve())}return At}function ba(){return je(os)}function Ea(e){return je(hr)}const ra=rr({__name:"App",setup(e){return(t,n)=>(Bn(),Un(vt(ll)))}}),oa="modulepreload",ia=function(e){return"/"+e},Ro={},wn=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=ia(c),c in Ro)return;Ro[c]=!0;const f=c.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${u}`))return;const a=document.createElement("link");if(a.rel=f?"stylesheet":oa,f||(a.as="script"),a.crossOrigin="",a.href=c,l&&a.setAttribute("nonce",l),document.head.appendChild(a),f)return new Promise((p,m)=>{a.addEventListener("load",p),a.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},la="http://localhost:8000/api/v1";function ca(){const e=cl();async function t(n,s={}){const r={"Content-Type":"application/json",...s.headers||{}};e.token&&(r.Authorization=`Bearer ${e.token}`);const o=await fetch(`${la}${n}`,{...s,headers:r,body:s.body?JSON.stringify(s.body):void 0});if(o.status===401)throw e.logout(),dr.push("/login"),new Error("Unauthorized");if(!o.ok){const i=await o.json().catch(()=>({detail:"Request failed"}));throw new Error(i.detail||`HTTP ${o.status}`)}return o.status===204?{}:o.json()}return{get:n=>t(n,{method:"GET"}),post:(n,s)=>t(n,{method:"POST",body:s}),put:(n,s)=>t(n,{method:"PUT",body:s}),delete:n=>t(n,{method:"DELETE"})}}const cl=Yu("auth",()=>{const e=Mn(localStorage.getItem("access_token")),t=Mn(null),n=ca(),s=Ne(()=>!!e.value);async function r(c,f){const u=await n.post("/auth/login",{username:c,password:f});return e.value=u.access_token,localStorage.setItem("access_token",u.access_token),await i(),u}async function o(c,f){return await n.post("/auth/register",{username:c,password:f})}async function i(){if(!e.value)return null;try{return t.value=await n.get("/auth/me"),t.value}catch{return l(),null}}function l(){e.value=null,t.value=null,localStorage.removeItem("access_token")}return e.value&&i(),{token:e,user:t,isAuthenticated:s,login:r,register:o,fetchUser:i,logout:l}}),dr=sa({history:Ff(),routes:[{path:"/login",name:"login",component:()=>wn(()=>import("./Login-EYgYtJ8O.js"),__vite__mapDeps([0,1,2,3])),meta:{requiresAuth:!1}},{path:"/",redirect:"/dashboard"},{path:"/dashboard",name:"dashboard",component:()=>wn(()=>import("./Dashboard-T2HTnxGO.js"),__vite__mapDeps([4,5,1,2,6,7,8])),meta:{requiresAuth:!0}},{path:"/projects/:id",name:"project",component:()=>wn(()=>import("./ProjectView-CIKrsclR.js"),__vite__mapDeps([9,5,10,1,2,11,6,7,12])),meta:{requiresAuth:!0}},{path:"/documents/:id",name:"document",component:()=>wn(()=>import("./DocumentView-BzRSDLeb.js"),__vite__mapDeps([13,10,1,2,11,6,7,14])),meta:{requiresAuth:!0}},{path:"/:pathMatch(.*)*",redirect:"/dashboard"}]});dr.beforeEach((e,t,n)=>{const s=cl();e.meta.requiresAuth&&!s.isAuthenticated?n("/login"):e.name==="login"&&s.isAuthenticated?n("/dashboard"):n()});const pr=ku(ra);pr.use(Wu());pr.use(dr);pr.mount("#app");export{va as A,$s as B,bi as C,fa as D,da as E,Ie as F,ma as T,Hi as a,ga as b,pa as c,rr as d,ua as e,Oe as f,tc as g,Zc as h,Ne as i,ba as j,yi as k,vt as l,ha as m,tn as n,Bn as o,aa as p,qs as q,Mn as r,Un as s,El as t,cl as u,_a as v,ya as w,Ea as x,Yu as y,ca as z};
|