Files
chat/backend/public/assets/index-sdqi2xzF.js
T
2026-08-03 10:00:05 +08:00

76 lines
166 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-BINgth5H.js","assets/settings-R2Yjxl-Z.js","assets/settings-TlFQ-tzG.css","assets/LoginView-CLYg7eFn.css","assets/RegisterView-sH9IiyRF.js","assets/RegisterView-0SnyeIHt.css","assets/ChatView-BzeTOhbt.js","assets/ChatView-LVV3eA7Y.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.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Yr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const de={},on=[],gt=()=>{},nl=()=>!1,Fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ms=e=>e.startsWith("onUpdate:"),Se=Object.assign,Qr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},va=Object.prototype.hasOwnProperty,le=(e,t)=>va.call(e,t),G=Array.isArray,ln=e=>zn(e)==="[object Map]",ks=e=>zn(e)==="[object Set]",No=e=>zn(e)==="[object Date]",Y=e=>typeof e=="function",pe=e=>typeof e=="string",Ze=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",sl=e=>(ce(e)||Y(e))&&Y(e.then)&&Y(e.catch),rl=Object.prototype.toString,zn=e=>rl.call(e),Aa=e=>zn(e).slice(8,-1),ol=e=>zn(e)==="[object Object]",Us=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pn=Yr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ca=/-\w/g,Ue=Bs(e=>e.replace(Ca,t=>t.slice(1).toUpperCase())),Oa=/\B([A-Z])/g,kt=Bs(e=>e.replace(Oa,"-$1").toLowerCase()),js=Bs(e=>e.charAt(0).toUpperCase()+e.slice(1)),rr=Bs(e=>e?`on${js(e)}`:""),pt=(e,t)=>!Object.is(e,t),us=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},il=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Zr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ta=e=>{const t=pe(e)?Number(e):NaN;return isNaN(t)?e:t};let Io;const Hs=()=>Io||(Io=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function eo(e){if(G(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=pe(s)?Ia(s):eo(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(pe(e)||ce(e))return e}const xa=/;(?![^(]*\))/g,Pa=/:([^]+)/,Na=/\/\*[^]*?\*\//g;function Ia(e){const t={};return e.replace(Na,"").split(xa).forEach(n=>{if(n){const s=n.split(Pa);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Vs(e){let t="";if(pe(e))t=e;else if(G(e))for(let n=0;n<e.length;n++){const s=Vs(e[n]);s&&(t+=s+" ")}else if(ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Da="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",La=Yr(Da);function ll(e){return!!e||e===""}function Fa(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Jn(e[s],t[s]);return n}function Jn(e,t){if(e===t)return!0;let n=No(e),s=No(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ze(e),s=Ze(t),n||s)return e===t;if(n=G(e),s=G(t),n||s)return n&&s?Fa(e,t):!1;if(n=ce(e),s=ce(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||!Jn(e[i],t[i]))return!1}}return String(e)===String(t)}function cl(e,t){return e.findIndex(n=>Jn(n,t))}const al=e=>!!(e&&e.__v_isRef===!0),Cn=e=>pe(e)?e:e==null?"":G(e)||ce(e)&&(e.toString===rl||!Y(e.toString))?al(e)?Cn(e.value):JSON.stringify(e,ul,2):String(e),ul=(e,t)=>al(t)?ul(e,t.value):ln(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[or(s,o)+" =>"]=r,n),{})}:ks(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>or(n))}:Ze(t)?or(t):ce(t)&&!G(t)&&!ol(t)?String(t):t,or=(e,t="")=>{var n;return Ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ve;class fl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ve&&(ve.active?(this.parent=ve,this.index=(ve.scopes||(ve.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)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(){if(this._on>0&&--this._on===0){if(ve===this)ve=this.prevScope;else{let t=ve;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;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 dl(e){return new fl(e)}function hl(){return ve}function Ma(e,t=!1){ve&&ve.cleanups.push(e)}let he;const ir=new WeakSet;class pl{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):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ir.has(this)&&(ir.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ml(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Do(this),yl(this);const t=he,n=tt;he=this,tt=!0;try{return this.fn()}finally{_l(this),he=t,tt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)so(t);this.deps=this.depsTail=void 0,Do(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ir.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Cr(this)&&this.run()}get dirty(){return Cr(this)}}let gl=0,Nn,In;function ml(e,t=!1){if(e.flags|=8,t){e.next=In,In=e;return}e.next=Nn,Nn=e}function to(){gl++}function no(){if(--gl>0)return;if(In){let t=In;for(In=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Nn;){let t=Nn;for(Nn=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 yl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function _l(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),so(s),ka(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Cr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(bl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function bl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===jn)||(e.globalVersion=jn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Cr(e))))return;e.flags|=2;const t=e.dep,n=he,s=tt;he=e,tt=!0;try{yl(e);const r=e.fn(e._value);(t.version===0||pt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{he=n,tt=s,_l(e),e.flags&=-3}}function so(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)so(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ka(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let tt=!0;const El=[];function mt(){El.push(tt),tt=!1}function yt(){const e=El.pop();tt=e===void 0?!0:e}function Do(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=he;he=void 0;try{t()}finally{he=n}}}let jn=0;class Ua{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 ro{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(!he||!tt||he===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==he)n=this.activeLink=new Ua(he,this),he.deps?(n.prevDep=he.depsTail,he.depsTail.nextDep=n,he.depsTail=n):he.deps=he.depsTail=n,wl(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=he.depsTail,n.nextDep=void 0,he.depsTail.nextDep=n,he.depsTail=n,he.deps===n&&(he.deps=s)}return n}trigger(t){this.version++,jn++,this.notify(t)}notify(t){to();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{no()}}}function wl(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)wl(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const _s=new WeakMap,zt=Symbol(""),Or=Symbol(""),Hn=Symbol("");function xe(e,t,n){if(tt&&he){let s=_s.get(e);s||_s.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new ro),r.map=s,r.key=n),r.track()}}function St(e,t,n,s,r,o){const i=_s.get(e);if(!i){jn++;return}const l=c=>{c&&c.trigger()};if(to(),t==="clear")i.forEach(l);else{const c=G(e),u=c&&Us(n);if(c&&n==="length"){const a=Number(s);i.forEach((f,h)=>{(h==="length"||h===Hn||!Ze(h)&&h>=a)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(Hn)),t){case"add":c?u&&l(i.get("length")):(l(i.get(zt)),ln(e)&&l(i.get(Or)));break;case"delete":c||(l(i.get(zt)),ln(e)&&l(i.get(Or)));break;case"set":ln(e)&&l(i.get(zt));break}}no()}function Ba(e,t){const n=_s.get(e);return n&&n.get(t)}function en(e){const t=ne(e);return t===e?t:(xe(t,"iterate",Hn),Ge(e)?t:t.map(nt))}function qs(e){return xe(e=ne(e),"iterate",Hn),e}function dt(e,t){return At(e)?fn(vt(e)?nt(t):t):nt(t)}const ja={__proto__:null,[Symbol.iterator](){return lr(this,Symbol.iterator,e=>dt(this,e))},concat(...e){return en(this).concat(...e.map(t=>G(t)?en(t):t))},entries(){return lr(this,"entries",e=>(e[1]=dt(this,e[1]),e))},every(e,t){return _t(this,"every",e,t,void 0,arguments)},filter(e,t){return _t(this,"filter",e,t,n=>n.map(s=>dt(this,s)),arguments)},find(e,t){return _t(this,"find",e,t,n=>dt(this,n),arguments)},findIndex(e,t){return _t(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return _t(this,"findLast",e,t,n=>dt(this,n),arguments)},findLastIndex(e,t){return _t(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return _t(this,"forEach",e,t,void 0,arguments)},includes(...e){return cr(this,"includes",e)},indexOf(...e){return cr(this,"indexOf",e)},join(e){return en(this).join(e)},lastIndexOf(...e){return cr(this,"lastIndexOf",e)},map(e,t){return _t(this,"map",e,t,void 0,arguments)},pop(){return En(this,"pop")},push(...e){return En(this,"push",e)},reduce(e,...t){return Lo(this,"reduce",e,t)},reduceRight(e,...t){return Lo(this,"reduceRight",e,t)},shift(){return En(this,"shift")},some(e,t){return _t(this,"some",e,t,void 0,arguments)},splice(...e){return En(this,"splice",e)},toReversed(){return en(this).toReversed()},toSorted(e){return en(this).toSorted(e)},toSpliced(...e){return en(this).toSpliced(...e)},unshift(...e){return En(this,"unshift",e)},values(){return lr(this,"values",e=>dt(this,e))}};function lr(e,t,n){const s=qs(e),r=s[t]();return s!==e&&!Ge(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const Ha=Array.prototype;function _t(e,t,n,s,r,o){const i=qs(e),l=i!==e&&!Ge(e),c=i[t];if(c!==Ha[t]){const f=c.apply(e,o);return l?nt(f):f}let u=n;i!==e&&(l?u=function(f,h){return n.call(this,dt(e,f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const a=c.call(i,u,s);return l&&r?r(a):a}function Lo(e,t,n,s){const r=qs(e),o=r!==e&&!Ge(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(u,a,f){return l&&(l=!1,u=dt(e,u)),n.call(this,u,dt(e,a),f,e)}):n.length>3&&(i=function(u,a,f){return n.call(this,u,a,f,e)}));const c=r[t](i,...s);return l?dt(e,c):c}function cr(e,t,n){const s=ne(e);xe(s,"iterate",Hn);const r=s[t](...n);return(r===-1||r===!1)&&$s(n[0])?(n[0]=ne(n[0]),s[t](...n)):r}function En(e,t,n=[]){mt(),to();const s=ne(e)[t].apply(e,n);return no(),yt(),s}const Va=Yr("__proto__,__v_isRef,__isVue"),Sl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ze));function qa(e){Ze(e)||(e=String(e));const t=ne(this);return xe(t,"has",e),t.hasOwnProperty(e)}class Rl{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?Za:Ol:o?Cl:Al).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=G(t);if(!r){let c;if(i&&(c=ja[n]))return c;if(n==="hasOwnProperty")return qa}const l=Reflect.get(t,n,_e(t)?t:s);if((Ze(n)?Sl.has(n):Va(n))||(r||xe(t,"get",n),o))return l;if(_e(l)){const c=i&&Us(n)?l:l.value;return r&&ce(c)?xr(c):c}return ce(l)?r?xr(l):Xn(l):l}}class vl extends Rl{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=G(t)&&Us(n);if(!this._isShallow){const u=At(o);if(!Ge(s)&&!At(s)&&(o=ne(o),s=ne(s)),!i&&_e(o)&&!_e(s))return u||(o.value=s),!0}const l=i?Number(n)<t.length:le(t,n),c=Reflect.set(t,n,s,_e(t)?t:r);return t===ne(r)&&c&&(l?pt(s,o)&&St(t,"set",n,s):St(t,"add",n,s)),c}deleteProperty(t,n){const s=le(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&St(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Ze(n)||!Sl.has(n))&&xe(t,"has",n),s}ownKeys(t){return xe(t,"iterate",G(t)?"length":zt),Reflect.ownKeys(t)}}class $a extends Rl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Ka=new vl,Wa=new $a,Ga=new vl(!0);const Tr=e=>e,rs=e=>Reflect.getPrototypeOf(e);function za(e,t,n){return function(...s){const r=this.__v_raw,o=ne(r),i=ln(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=r[e](...s),a=n?Tr:t?fn:nt;return!t&&xe(o,"iterate",c?Or:zt),Se(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:l?[a(f[0]),a(f[1])]:a(f),done:h}}})}}function os(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ja(e,t){const n={get(r){const o=this.__v_raw,i=ne(o),l=ne(r);e||(pt(r,l)&&xe(i,"get",r),xe(i,"get",l));const{has:c}=rs(i),u=t?Tr:e?fn:nt;if(c.call(i,r))return u(o.get(r));if(c.call(i,l))return u(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&xe(ne(r),"iterate",zt),r.size},has(r){const o=this.__v_raw,i=ne(o),l=ne(r);return e||(pt(r,l)&&xe(i,"has",r),xe(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=ne(l),u=t?Tr:e?fn:nt;return!e&&xe(c,"iterate",zt),l.forEach((a,f)=>r.call(o,u(a),u(f),i))}};return Se(n,e?{add:os("add"),set:os("set"),delete:os("delete"),clear:os("clear")}:{add(r){const o=ne(this),i=rs(o),l=ne(r),c=!t&&!Ge(r)&&!At(r)?l:r;return i.has.call(o,c)||pt(r,c)&&i.has.call(o,r)||pt(l,c)&&i.has.call(o,l)||(o.add(c),St(o,"add",c,c)),this},set(r,o){!t&&!Ge(o)&&!At(o)&&(o=ne(o));const i=ne(this),{has:l,get:c}=rs(i);let u=l.call(i,r);u||(r=ne(r),u=l.call(i,r));const a=c.call(i,r);return i.set(r,o),u?pt(o,a)&&St(i,"set",r,o):St(i,"add",r,o),this},delete(r){const o=ne(this),{has:i,get:l}=rs(o);let c=i.call(o,r);c||(r=ne(r),c=i.call(o,r)),l&&l.call(o,r);const u=o.delete(r);return c&&St(o,"delete",r,void 0),u},clear(){const r=ne(this),o=r.size!==0,i=r.clear();return o&&St(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=za(r,e,t)}),n}function oo(e,t){const n=Ja(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(le(n,r)&&r in s?n:s,r,o)}const Xa={get:oo(!1,!1)},Ya={get:oo(!1,!0)},Qa={get:oo(!0,!1)};const Al=new WeakMap,Cl=new WeakMap,Ol=new WeakMap,Za=new WeakMap;function eu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xn(e){return At(e)?e:io(e,!1,Ka,Xa,Al)}function Tl(e){return io(e,!1,Ga,Ya,Cl)}function xr(e){return io(e,!0,Wa,Qa,Ol)}function io(e,t,n,s,r){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=r.get(e);if(o)return o;const i=eu(Aa(e));if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function vt(e){return At(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function At(e){return!!(e&&e.__v_isReadonly)}function Ge(e){return!!(e&&e.__v_isShallow)}function $s(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function lo(e){return!le(e,"__v_skip")&&Object.isExtensible(e)&&il(e,"__v_skip",!0),e}const nt=e=>ce(e)?Xn(e):e,fn=e=>ce(e)?xr(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function Ft(e){return xl(e,!1)}function tu(e){return xl(e,!0)}function xl(e,t){return _e(e)?e:new nu(e,t)}class nu{constructor(t,n){this.dep=new ro,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:nt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ge(t)||At(t);t=s?t:ne(t),pt(t,n)&&(this._rawValue=t,this._value=s?t:nt(t),this.dep.trigger())}}function je(e){return _e(e)?e.value:e}const su={get:(e,t,n)=>t==="__v_raw"?e:je(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return _e(r)&&!_e(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Pl(e){return vt(e)?e:new Proxy(e,su)}function ru(e){const t=G(e)?new Array(e.length):{};for(const n in e)t[n]=iu(e,n);return t}class ou{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Ze(n)?n:String(n),this._raw=ne(t);let r=!0,o=t;if(!G(t)||Ze(this._key)||!Us(this._key))do r=!$s(o)||Ge(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=je(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&_e(this._raw[this._key])){const n=this._object[this._key];if(_e(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Ba(this._raw,this._key)}}function iu(e,t,n){return new ou(e,t,n)}class lu{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ro(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=jn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&he!==this)return ml(this,!0),!0}get value(){const t=this.dep.track();return bl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function cu(e,t,n=!1){let s,r;return Y(e)?s=e:(s=e.get,r=e.set),new lu(s,r,n)}const is={},bs=new WeakMap;let Ht;function au(e,t=!1,n=Ht){if(n){let s=bs.get(n);s||bs.set(n,s=[]),s.push(e)}}function uu(e,t,n=de){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,u=x=>r?x:Ge(x)||r===!1||r===0?Rt(x,1):Rt(x);let a,f,h,g,R=!1,w=!1;if(_e(e)?(f=()=>e.value,R=Ge(e)):vt(e)?(f=()=>u(e),R=!0):G(e)?(w=!0,R=e.some(x=>vt(x)||Ge(x)),f=()=>e.map(x=>{if(_e(x))return x.value;if(vt(x))return u(x);if(Y(x))return c?c(x,2):x()})):Y(e)?t?f=c?()=>c(e,2):e:f=()=>{if(h){mt();try{h()}finally{yt()}}const x=Ht;Ht=a;try{return c?c(e,3,[g]):e(g)}finally{Ht=x}}:f=gt,t&&r){const x=f,j=r===!0?1/0:r;f=()=>Rt(x(),j)}const C=hl(),_=()=>{a.stop(),C&&C.active&&Qr(C.effects,a)};if(o&&t){const x=t;t=(...j)=>{const q=x(...j);return _(),q}}let E=w?new Array(e.length).fill(is):is;const O=x=>{if(!(!(a.flags&1)||!a.dirty&&!x))if(t){const j=a.run();if(x||r||R||(w?j.some((q,B)=>pt(q,E[B])):pt(j,E))){h&&h();const q=Ht;Ht=a;try{const B=[j,E===is?void 0:w&&E[0]===is?[]:E,g];E=j,c?c(t,3,B):t(...B)}finally{Ht=q}}}else a.run()};return l&&l(O),a=new pl(f),a.scheduler=i?()=>i(O,!1):O,g=x=>au(x,!1,a),h=a.onStop=()=>{const x=bs.get(a);if(x){if(c)c(x,4);else for(const j of x)j();bs.delete(a)}},t?s?O(!0):E=a.run():i?i(O.bind(null,!0),!0):a.run(),_.pause=a.pause.bind(a),_.resume=a.resume.bind(a),_.stop=_,_}function Rt(e,t=1/0,n){if(t<=0||!ce(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))Rt(e.value,t,n);else if(G(e))for(let s=0;s<e.length;s++)Rt(e[s],t,n);else if(ks(e)||ln(e))e.forEach(s=>{Rt(s,t,n)});else if(ol(e)){for(const s in e)Rt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Rt(e[s],t,n)}return e}/**
* @vue/runtime-core v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Yn(e,t,n,s){try{return s?e(...s):e()}catch(r){Ks(r,t,n)}}function et(e,t,n,s){if(Y(e)){const r=Yn(e,t,n,s);return r&&sl(r)&&r.catch(o=>{Ks(o,t,n)}),r}if(G(e)){const r=[];for(let o=0;o<e.length;o++)r.push(et(e[o],t,n,s));return r}}function Ks(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||de;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,c,u)===!1)return}l=l.parent}if(o){mt(),Yn(o,null,10,[e,c,u]),yt();return}}fu(e,n,r,s,i)}function fu(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Fe=[];let ft=-1;const cn=[];let It=null,sn=0;const Nl=Promise.resolve();let Es=null;function co(e){const t=Es||Nl;return e?t.then(this?e.bind(this):e):t}function du(e){let t=ft+1,n=Fe.length;for(;t<n;){const s=t+n>>>1,r=Fe[s],o=Vn(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function ao(e){if(!(e.flags&1)){const t=Vn(e),n=Fe[Fe.length-1];!n||!(e.flags&2)&&t>=Vn(n)?Fe.push(e):Fe.splice(du(t),0,e),e.flags|=1,Il()}}function Il(){Es||(Es=Nl.then(Ll))}function hu(e){G(e)?cn.push(...e):It&&e.id===-1?It.splice(sn+1,0,e):e.flags&1||(cn.push(e),e.flags|=1),Il()}function Fo(e,t,n=ft+1){for(;n<Fe.length;n++){const s=Fe[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Fe.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Dl(e){if(cn.length){const t=[...new Set(cn)].sort((n,s)=>Vn(n)-Vn(s));if(cn.length=0,It){It.push(...t);return}for(It=t,sn=0;sn<It.length;sn++){const n=It[sn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}It=null,sn=0}}const Vn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ll(e){try{for(ft=0;ft<Fe.length;ft++){const t=Fe[ft];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Yn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ft<Fe.length;ft++){const t=Fe[ft];t&&(t.flags&=-2)}ft=-1,Fe.length=0,Dl(),Es=null,(Fe.length||cn.length)&&Ll()}}let Ke=null,Fl=null;function ws(e){const t=Ke;return Ke=e,Fl=e&&e.type.__scopeId||null,t}function Ml(e,t=Ke,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&vs(-1);const o=ws(t);let i;try{i=e(...r)}finally{ws(o),s._d&&vs(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Yg(e,t){if(Ke===null)return e;const n=Ys(Ke),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,c=de]=t[r];o&&(Y(o)&&(o={mounted:o,updated:o}),o.deep&&Rt(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ut(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&&(mt(),et(c,n,8,[e.el,l,e,t]),yt())}}function fs(e,t){if(Pe){let n=Pe.provides;const s=Pe.parent&&Pe.parent.provides;s===n&&(n=Pe.provides=Object.create(s)),n[e]=t}}function Qe(e,t,n=!1){const s=Xs();if(s||Jt){let r=Jt?Jt._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&&Y(t)?t.call(s&&s.proxy):t}}function pu(){return!!(Xs()||Jt)}const gu=Symbol.for("v-scx"),mu=()=>Qe(gu);function Dn(e,t,n){return kl(e,t,n)}function kl(e,t,n=de){const{immediate:s,deep:r,flush:o,once:i}=n,l=Se({},n),c=t&&s||!t&&o!=="post";let u;if(Kn){if(o==="sync"){const g=mu();u=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=gt,g.resume=gt,g.pause=gt,g}}const a=Pe;l.call=(g,R,w)=>et(g,a,R,w);let f=!1;o==="post"?l.scheduler=g=>{De(g,a&&a.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(g,R)=>{R?g():ao(g)}),l.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,a&&(g.id=a.uid,g.i=a))};const h=uu(e,t,l);return Kn&&(u?u.push(h):c&&h()),h}function yu(e,t,n){const s=this.proxy,r=pe(e)?e.includes(".")?Ul(s,e):()=>s[e]:e.bind(s,s);let o;Y(t)?o=t:(o=t.handler,n=t);const i=Qn(this),l=kl(r,o.bind(s),n);return i(),l}function Ul(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 xt=new WeakMap,Bl=Symbol("_vte"),jl=e=>e.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),_u=e=>e&&(e.defer||e.defer===""),Mo=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ko=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Pr=(e,t)=>{const n=e&&e.to;return pe(n)?t?t(n):null:n},bu={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,u){const{mc:a,pc:f,pbc:h,o:{insert:g,querySelector:R,createText:w,createComment:C,parentNode:_}}=u,E=Vt(t.props);let{dynamicChildren:O}=t;const x=(B,H,P)=>{B.shapeFlag&16&&a(B.children,H,P,r,o,i,l,c)},j=(B=t)=>{const H=Vt(B.props),P=B.target=Pr(B.props,R),V=Nr(P,B,w,g);P&&(i!=="svg"&&Mo(P)?i="svg":i!=="mathml"&&ko(P)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(P),H||(x(B,P,V),On(B,!1)))},q=B=>{const H=()=>{if(xt.get(B)===H){if(xt.delete(B),Vt(B.props)){const P=_(B.el)||n;x(B,P,B.anchor),On(B,!0)}j(B)}};xt.set(B,H),De(H,o)};if(e==null){const B=t.el=w(""),H=t.anchor=w("");if(g(B,n,s),g(H,n,s),_u(t.props)||o&&o.pendingBranch){q(t);return}E&&(x(t,n,H),On(t,!0)),j()}else{t.el=e.el;const B=t.anchor=e.anchor,H=xt.get(e);if(H){H.flags|=8,xt.delete(e),q(t);return}t.targetStart=e.targetStart;const P=t.target=e.target,V=t.targetAnchor=e.targetAnchor,z=Vt(e.props),L=z?n:P,Z=z?B:V;if(i==="svg"||Mo(P)?i="svg":(i==="mathml"||ko(P))&&(i="mathml"),O?(h(e.dynamicChildren,O,L,r,o,i,l),po(e,t,!0)):c||f(e,t,L,Z,r,o,i,l,!1),E)z?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ls(t,n,B,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const te=Pr(t.props,R);te&&(t.target=te,ls(t,te,null,u,0))}else z&&ls(t,P,V,u,1);On(t,E)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:u,targetAnchor:a,target:f,props:h}=e,g=Vt(h),R=o||!g,w=xt.get(e);if(w&&(w.flags|=8,xt.delete(e)),f&&(r(u),r(a)),o&&r(c),!w&&(g||f)&&i&16)for(let C=0;C<l.length;C++){const _=l[C];s(_,t,n,R,!!_.dynamicChildren)}},move:ls,hydrate:Eu};function ls(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:u,props:a}=e,f=o===2;if(f&&s(i,t,n),!xt.has(e)&&(!f||Vt(a))&&c&16)for(let h=0;h<u.length;h++)r(u[h],t,n,2);f&&s(l,t,n)}function Eu(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:l,querySelector:c,insert:u,createText:a}},f){function h(C,_){let E=_;for(;E;){if(E&&E.nodeType===8){if(E.data==="teleport start anchor")t.targetStart=E;else if(E.data==="teleport anchor"){t.targetAnchor=E,C._lpa=t.targetAnchor&&i(t.targetAnchor);break}}E=i(E)}}function g(C,_){_.anchor=f(i(C),_,l(C),n,s,r,o)}const R=t.target=Pr(t.props,c),w=Vt(t.props);if(R){const C=R._lpa||R.firstChild;t.shapeFlag&16&&(w?(g(e,t),h(R,C),t.targetAnchor||Nr(R,t,a,u,l(e)===R?e:null)):(t.anchor=i(e),h(R,C),t.targetAnchor||Nr(R,t,a,u),f(C&&i(C),t,R,n,s,r,o))),On(t,w)}else w&&t.shapeFlag&16&&(g(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const wu=bu;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 Nr(e,t,n,s,r=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Bl]=i,e&&(s(o,e,r),s(i,e,r)),i}const Ye=Symbol("_leaveCb"),wn=Symbol("_enterCb");function Hl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Jl(()=>{e.isMounted=!0}),Yl(()=>{e.isUnmounting=!0}),e}const Xe=[Function,Array],Vl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Xe,onEnter:Xe,onAfterEnter:Xe,onEnterCancelled:Xe,onBeforeLeave:Xe,onLeave:Xe,onAfterLeave:Xe,onLeaveCancelled:Xe,onBeforeAppear:Xe,onAppear:Xe,onAfterAppear:Xe,onAppearCancelled:Xe},ql=e=>{const t=e.subTree;return t.component?ql(t.component):t},Su={name:"BaseTransition",props:Vl,setup(e,{slots:t}){const n=Xs(),s=Hl();return()=>{const r=t.default&&uo(t.default(),!0),o=r&&r.length?$l(r):n.subTree?wc():void 0;if(!o)return;const i=ne(e),{mode:l}=i;if(s.isLeaving)return ar(o);const c=Uo(o);if(!c)return ar(o);let u=qn(c,i,s,n,f=>u=f);c.type!==Me&&Yt(c,u);let a=n.subTree&&Uo(n.subTree);if(a&&a.type!==Me&&!qt(a,c)&&ql(n).type!==Me){let f=qn(a,i,s,n);if(Yt(a,f),l==="out-in"&&c.type!==Me)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,a=void 0},ar(o);l==="in-out"&&c.type!==Me?f.delayLeave=(h,g,R)=>{const w=Kl(s,a);w[String(a.key)]=a,h[Ye]=()=>{g(),h[Ye]=void 0,delete u.delayedLeave,a=void 0},u.delayedLeave=()=>{R(),delete u.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return o}}};function $l(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Me){t=n;break}}return t}const Ru=Su;function Kl(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 qn(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:h,onLeave:g,onAfterLeave:R,onLeaveCancelled:w,onBeforeAppear:C,onAppear:_,onAfterAppear:E,onAppearCancelled:O}=t,x=String(e.key),j=Kl(n,e),q=(P,V)=>{P&&et(P,s,9,V)},B=(P,V)=>{const z=V[1];q(P,V),G(P)?P.every(L=>L.length<=1)&&z():P.length<=1&&z()},H={mode:i,persisted:l,beforeEnter(P){let V=c;if(!n.isMounted)if(o)V=C||c;else return;P[Ye]&&P[Ye](!0);const z=j[x];z&&qt(e,z)&&z.el[Ye]&&z.el[Ye](),q(V,[P])},enter(P){if(j[x]===e)return;let V=u,z=a,L=f;if(!n.isMounted)if(o)V=_||u,z=E||a,L=O||f;else return;let Z=!1;P[wn]=be=>{Z||(Z=!0,be?q(L,[P]):q(z,[P]),H.delayedLeave&&H.delayedLeave(),P[wn]=void 0)};const te=P[wn].bind(null,!1);V?B(V,[P,te]):te()},leave(P,V){const z=String(e.key);if(P[wn]&&P[wn](!0),n.isUnmounting)return V();q(h,[P]);let L=!1;P[Ye]=te=>{L||(L=!0,V(),te?q(w,[P]):q(R,[P]),P[Ye]=void 0,j[z]===e&&delete j[z])};const Z=P[Ye].bind(null,!1);j[z]=e,g?B(g,[P,Z]):Z()},clone(P){const V=qn(P,t,n,s,r);return r&&r(V),V}};return H}function ar(e){if(Ws(e))return e=Mt(e),e.children=null,e}function Uo(e){if(!Ws(e))return jl(e.type)&&e.children?$l(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&&Y(n.default))return n.default()}}function Yt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Yt(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 uo(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===$e?(i.patchFlag&128&&r++,s=s.concat(uo(i.children,t,l))):(t||i.type!==Me)&&s.push(l!=null?Mt(i,{key:l}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function Wl(e,t){return Y(e)?Se({name:e.name},t,{setup:e}):e}function Gl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Bo(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Ss=new WeakMap;function Ln(e,t,n,s,r=!1){if(G(e)){e.forEach((w,C)=>Ln(w,t&&(G(t)?t[C]:t),n,s,r));return}if(Fn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Ln(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Ys(s.component):s.el,i=r?null:o,{i:l,r:c}=e,u=t&&t.r,a=l.refs===de?l.refs={}:l.refs,f=l.setupState,h=ne(f),g=f===de?nl:w=>Bo(a,w)?!1:le(h,w),R=(w,C)=>!(C&&Bo(a,C));if(u!=null&&u!==c){if(jo(t),pe(u))a[u]=null,g(u)&&(f[u]=null);else if(_e(u)){const w=t;R(u,w.k)&&(u.value=null),w.k&&(a[w.k]=null)}}if(Y(c)){mt();try{Yn(c,l,12,[i,a])}finally{yt()}}else{const w=pe(c),C=_e(c);if(w||C){const _=()=>{if(e.f){const E=w?g(c)?f[c]:a[c]:R()||!e.k?c.value:a[e.k];if(r)G(E)&&Qr(E,o);else if(G(E))E.includes(o)||E.push(o);else if(w)a[c]=[o],g(c)&&(f[c]=a[c]);else{const O=[o];R(c,e.k)&&(c.value=O),e.k&&(a[e.k]=O)}}else w?(a[c]=i,g(c)&&(f[c]=i)):C&&(R(c,e.k)&&(c.value=i),e.k&&(a[e.k]=i))};if(i){const E=()=>{_(),Ss.delete(e)};E.id=-1,Ss.set(e,E),De(E,n)}else jo(e),_()}}}function jo(e){const t=Ss.get(e);t&&(t.flags|=8,Ss.delete(e))}Hs().requestIdleCallback;Hs().cancelIdleCallback;const Fn=e=>!!e.type.__asyncLoader,Ws=e=>e.type.__isKeepAlive;function vu(e,t){zl(e,"a",t)}function Au(e,t){zl(e,"da",t)}function zl(e,t,n=Pe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Gs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Ws(r.parent.vnode)&&Cu(s,t,n,r),r=r.parent}}function Cu(e,t,n,s){const r=Gs(t,e,s,!0);Ql(()=>{Qr(s[t],r)},n)}function Gs(e,t,n=Pe,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{mt();const l=Qn(n),c=et(t,n,e,i);return l(),yt(),c});return s?r.unshift(o):r.push(o),o}}const Ct=e=>(t,n=Pe)=>{(!Kn||e==="sp")&&Gs(e,(...s)=>t(...s),n)},Ou=Ct("bm"),Jl=Ct("m"),Tu=Ct("bu"),Xl=Ct("u"),Yl=Ct("bum"),Ql=Ct("um"),xu=Ct("sp"),Pu=Ct("rtg"),Nu=Ct("rtc");function Iu(e,t=Pe){Gs("ec",e,t)}const Zl="components";function Du(e,t){return tc(Zl,e,!0,t)||e}const ec=Symbol.for("v-ndc");function Qg(e){return pe(e)?tc(Zl,e,!1)||e:e||ec}function tc(e,t,n=!0,s=!1){const r=Ke||Pe;if(r){const o=r.type;{const l=bf(o,!1);if(l&&(l===t||l===Ue(t)||l===js(Ue(t))))return o}const i=Ho(r[e]||o[e],t)||Ho(r.appContext[e],t);return!i&&s?o:i}}function Ho(e,t){return e&&(e[t]||e[Ue(t)]||e[js(Ue(t))])}function Lu(e,t,n,s){let r;const o=n,i=G(e);if(i||pe(e)){const l=i&&vt(e);let c=!1,u=!1;l&&(c=!Ge(e),u=At(e),e=qs(e)),r=new Array(e.length);for(let a=0,f=e.length;a<f;a++)r[a]=t(c?u?fn(nt(e[a])):nt(e[a]):e[a],a,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(ce(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,u=l.length;c<u;c++){const a=l[c];r[c]=t(e[a],a,c,o)}}else r=[];return r}const Ir=e=>e?Sc(e)?Ys(e):Ir(e.parent):null,Mn=Se(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=>Ir(e.parent),$root:e=>Ir(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>sc(e),$forceUpdate:e=>e.f||(e.f=()=>{ao(e.update)}),$nextTick:e=>e.n||(e.n=co.bind(e.proxy)),$watch:e=>yu.bind(e)}),ur=(e,t)=>e!==de&&!e.__isScriptSetup&&le(e,t),Fu={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 h=i[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(ur(s,t))return i[t]=1,s[t];if(r!==de&&le(r,t))return i[t]=2,r[t];if(le(o,t))return i[t]=3,o[t];if(n!==de&&le(n,t))return i[t]=4,n[t];Dr&&(i[t]=0)}}const u=Mn[t];let a,f;if(u)return t==="$attrs"&&xe(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==de&&le(n,t))return i[t]=4,n[t];if(f=c.config.globalProperties,le(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return ur(r,t)?(r[t]=n,!0):s!==de&&le(s,t)?(s[t]=n,!0):le(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!==de&&l[0]!=="$"&&le(e,l)||ur(t,l)||le(o,l)||le(s,l)||le(Mn,l)||le(r.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vo(e){return G(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Dr=!0;function Mu(e){const t=sc(e),n=e.proxy,s=e.ctx;Dr=!1,t.beforeCreate&&qo(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:h,beforeUpdate:g,updated:R,activated:w,deactivated:C,beforeDestroy:_,beforeUnmount:E,destroyed:O,unmounted:x,render:j,renderTracked:q,renderTriggered:B,errorCaptured:H,serverPrefetch:P,expose:V,inheritAttrs:z,components:L,directives:Z,filters:te}=t;if(u&&ku(u,s,null),i)for(const X in i){const oe=i[X];Y(oe)&&(s[X]=oe.bind(n))}if(r){const X=r.call(n,n);ce(X)&&(e.data=Xn(X))}if(Dr=!0,o)for(const X in o){const oe=o[X],ze=Y(oe)?oe.bind(n,n):Y(oe.get)?oe.get.bind(n,n):gt,Ae=!Y(oe)&&Y(oe.set)?oe.set.bind(n):gt,ae=ke({get:ze,set:Ae});Object.defineProperty(s,X,{enumerable:!0,configurable:!0,get:()=>ae.value,set:me=>ae.value=me})}if(l)for(const X in l)nc(l[X],s,n,X);if(c){const X=Y(c)?c.call(n):c;Reflect.ownKeys(X).forEach(oe=>{fs(oe,X[oe])})}a&&qo(a,e,"c");function se(X,oe){G(oe)?oe.forEach(ze=>X(ze.bind(n))):oe&&X(oe.bind(n))}if(se(Ou,f),se(Jl,h),se(Tu,g),se(Xl,R),se(vu,w),se(Au,C),se(Iu,H),se(Nu,q),se(Pu,B),se(Yl,E),se(Ql,x),se(xu,P),G(V))if(V.length){const X=e.exposed||(e.exposed={});V.forEach(oe=>{Object.defineProperty(X,oe,{get:()=>n[oe],set:ze=>n[oe]=ze,enumerable:!0})})}else e.exposed||(e.exposed={});j&&e.render===gt&&(e.render=j),z!=null&&(e.inheritAttrs=z),L&&(e.components=L),Z&&(e.directives=Z),P&&Gl(e)}function ku(e,t,n=gt){G(e)&&(e=Lr(e));for(const s in e){const r=e[s];let o;ce(r)?"default"in r?o=Qe(r.from||s,r.default,!0):o=Qe(r.from||s):o=Qe(r),_e(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function qo(e,t,n){et(G(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function nc(e,t,n,s){let r=s.includes(".")?Ul(n,s):()=>n[s];if(pe(e)){const o=t[e];Y(o)&&Dn(r,o)}else if(Y(e))Dn(r,e.bind(n));else if(ce(e))if(G(e))e.forEach(o=>nc(o,t,n,s));else{const o=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(o)&&Dn(r,o,e)}}function sc(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(u=>Rs(c,u,i,!0)),Rs(c,t,i)),ce(t)&&o.set(t,c),c}function Rs(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Rs(e,o,n,!0),r&&r.forEach(i=>Rs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Uu[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Uu={data:$o,props:Ko,emits:Ko,methods:Tn,computed:Tn,beforeCreate:Ie,created:Ie,beforeMount:Ie,mounted:Ie,beforeUpdate:Ie,updated:Ie,beforeDestroy:Ie,beforeUnmount:Ie,destroyed:Ie,unmounted:Ie,activated:Ie,deactivated:Ie,errorCaptured:Ie,serverPrefetch:Ie,components:Tn,directives:Tn,watch:ju,provide:$o,inject:Bu};function $o(e,t){return t?e?function(){return Se(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function Bu(e,t){return Tn(Lr(e),Lr(t))}function Lr(e){if(G(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ie(e,t){return e?[...new Set([].concat(e,t))]:t}function Tn(e,t){return e?Se(Object.create(null),e,t):t}function Ko(e,t){return e?G(e)&&G(t)?[...new Set([...e,...t])]:Se(Object.create(null),Vo(e),Vo(t??{})):t}function ju(e,t){if(!e)return t;if(!t)return e;const n=Se(Object.create(null),e);for(const s in t)n[s]=Ie(e[s],t[s]);return n}function rc(){return{app:null,config:{isNativeTag:nl,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 Hu=0;function Vu(e,t){return function(s,r=null){Y(s)||(s=Se({},s)),r!=null&&!ce(r)&&(r=null);const o=rc(),i=new WeakSet,l=[];let c=!1;const u=o.app={_uid:Hu++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:wf,get config(){return o.config},set config(a){},use(a,...f){return i.has(a)||(a&&Y(a.install)?(i.add(a),a.install(u,...f)):Y(a)&&(i.add(a),a(u,...f))),u},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),u},component(a,f){return f?(o.components[a]=f,u):o.components[a]},directive(a,f){return f?(o.directives[a]=f,u):o.directives[a]},mount(a,f,h){if(!c){const g=u._ceVNode||we(s,r);return g.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),e(g,a,h),c=!0,u._container=a,a.__vue_app__=u,Ys(g.component)}},onUnmount(a){l.push(a)},unmount(){c&&(et(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(a,f){return o.provides[a]=f,u},runWithContext(a){const f=Jt;Jt=u;try{return a()}finally{Jt=f}}};return u}}let Jt=null;const qu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ue(t)}Modifiers`]||e[`${kt(t)}Modifiers`];function $u(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||de;let r=n;const o=t.startsWith("update:"),i=o&&qu(s,t.slice(7));i&&(i.trim&&(r=n.map(a=>pe(a)?a.trim():a)),i.number&&(r=n.map(Zr)));let l,c=s[l=rr(t)]||s[l=rr(Ue(t))];!c&&o&&(c=s[l=rr(kt(t))]),c&&et(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,et(u,e,6,r)}}const Ku=new WeakMap;function oc(e,t,n=!1){const s=n?Ku:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!Y(e)){const c=u=>{const a=oc(u,t,!0);a&&(l=!0,Se(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ce(e)&&s.set(e,null),null):(G(o)?o.forEach(c=>i[c]=null):Se(i,o),ce(e)&&s.set(e,i),i)}function zs(e,t){return!e||!Fs(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,kt(t))||le(e,t))}function Wo(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:a,props:f,data:h,setupState:g,ctx:R,inheritAttrs:w}=e,C=ws(e);let _,E;try{if(n.shapeFlag&4){const x=r||s,j=x;_=ht(u.call(j,x,a,f,g,h,R)),E=l}else{const x=t;_=ht(x.length>1?x(f,{attrs:l,slots:i,emit:c}):x(f,null)),E=t.props?l:Wu(l)}}catch(x){kn.length=0,Ks(x,e,1),_=we(Me)}let O=_;if(E&&w!==!1){const x=Object.keys(E),{shapeFlag:j}=O;x.length&&j&7&&(o&&x.some(Ms)&&(E=Gu(E,o)),O=Mt(O,E,!1,!0))}return n.dirs&&(O=Mt(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&Yt(O,n.transition),_=O,ws(C),_}const Wu=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fs(n))&&((t||(t={}))[n]=e[n]);return t},Gu=(e,t)=>{const n={};for(const s in e)(!Ms(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function zu(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Go(s,i,u):!!i;if(c&8){const a=t.dynamicProps;for(let f=0;f<a.length;f++){const h=a[f];if(ic(i,s,h)&&!zs(u,h))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?Go(s,i,u):!0:!!i;return!1}function Go(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(ic(t,e,o)&&!zs(n,o))return!0}return!1}function ic(e,t,n){const s=e[n],r=t[n];return n==="style"&&ce(s)&&ce(r)?!Jn(s,r):s!==r}function Ju({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 lc={},cc=()=>Object.create(lc),ac=e=>Object.getPrototypeOf(e)===lc;function Xu(e,t,n,s=!1){const r={},o=cc();e.propsDefaults=Object.create(null),uc(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Tl(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Yu(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=ne(r),[c]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let f=0;f<a.length;f++){let h=a[f];if(zs(e.emitsOptions,h))continue;const g=t[h];if(c)if(le(o,h))g!==o[h]&&(o[h]=g,u=!0);else{const R=Ue(h);r[R]=Fr(c,l,R,g,e,!1)}else g!==o[h]&&(o[h]=g,u=!0)}}}else{uc(e,t,r,o)&&(u=!0);let a;for(const f in l)(!t||!le(t,f)&&((a=kt(f))===f||!le(t,a)))&&(c?n&&(n[f]!==void 0||n[a]!==void 0)&&(r[f]=Fr(c,l,f,void 0,e,!0)):delete r[f]);if(o!==l)for(const f in o)(!t||!le(t,f))&&(delete o[f],u=!0)}u&&St(e.attrs,"set","")}function uc(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(Pn(c))continue;const u=t[c];let a;r&&le(r,a=Ue(c))?!o||!o.includes(a)?n[a]=u:(l||(l={}))[a]=u:zs(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,i=!0)}if(o){const c=ne(n),u=l||de;for(let a=0;a<o.length;a++){const f=o[a];n[f]=Fr(r,c,f,u[f],e,!le(u,f))}}return i}function Fr(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=le(i,"default");if(l&&s===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&Y(c)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const a=Qn(r);s=u[n]=c.call(null,t),a()}}else s=c;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===kt(n))&&(s=!0))}return s}const Qu=new WeakMap;function fc(e,t,n=!1){const s=n?Qu:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let c=!1;if(!Y(e)){const a=f=>{c=!0;const[h,g]=fc(f,t,!0);Se(i,h),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return ce(e)&&s.set(e,on),on;if(G(o))for(let a=0;a<o.length;a++){const f=Ue(o[a]);zo(f)&&(i[f]=de)}else if(o)for(const a in o){const f=Ue(a);if(zo(f)){const h=o[a],g=i[f]=G(h)||Y(h)?{type:h}:Se({},h),R=g.type;let w=!1,C=!0;if(G(R))for(let _=0;_<R.length;++_){const E=R[_],O=Y(E)&&E.name;if(O==="Boolean"){w=!0;break}else O==="String"&&(C=!1)}else w=Y(R)&&R.name==="Boolean";g[0]=w,g[1]=C,(w||le(g,"default"))&&l.push(f)}}const u=[i,l];return ce(e)&&s.set(e,u),u}function zo(e){return e[0]!=="$"&&!Pn(e)}const fo=e=>e==="_"||e==="_ctx"||e==="$stable",ho=e=>G(e)?e.map(ht):[ht(e)],Zu=(e,t,n)=>{if(t._n)return t;const s=Ml((...r)=>ho(t(...r)),n);return s._c=!1,s},dc=(e,t,n)=>{const s=e._ctx;for(const r in e){if(fo(r))continue;const o=e[r];if(Y(o))t[r]=Zu(r,o,s);else if(o!=null){const i=ho(o);t[r]=()=>i}}},hc=(e,t)=>{const n=ho(t);e.slots.default=()=>n},pc=(e,t,n)=>{for(const s in t)(n||!fo(s))&&(e[s]=t[s])},ef=(e,t,n)=>{const s=e.slots=cc();if(e.vnode.shapeFlag&32){const r=t._;r?(pc(s,t,n),n&&il(s,"_",r,!0)):dc(t,s)}else t&&hc(e,t)},tf=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=de;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:pc(r,t,n):(o=!t.$stable,dc(t,r)),i=t}else t&&(hc(e,t),i={default:1});if(o)for(const l in r)!fo(l)&&i[l]==null&&delete r[l]},De=lf;function nf(e){return sf(e)}function sf(e,t){const n=Hs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:a,parentNode:f,nextSibling:h,setScopeId:g=gt,insertStaticContent:R}=e,w=(d,p,y,v=null,b=null,S=null,D=void 0,N=null,I=!!p.dynamicChildren)=>{if(d===p)return;d&&!qt(d,p)&&(v=A(d),me(d,b,S,!0),d=null),p.patchFlag===-2&&(I=!1,p.dynamicChildren=null);const{type:T,ref:$,shapeFlag:U}=p;switch(T){case Js:C(d,p,y,v);break;case Me:_(d,p,y,v);break;case dr:d==null&&E(p,y,v,D);break;case $e:L(d,p,y,v,b,S,D,N,I);break;default:U&1?j(d,p,y,v,b,S,D,N,I):U&6?Z(d,p,y,v,b,S,D,N,I):(U&64||U&128)&&T.process(d,p,y,v,b,S,D,N,I,K)}$!=null&&b?Ln($,d&&d.ref,S,p||d,!p):$==null&&d&&d.ref!=null&&Ln(d.ref,null,S,d,!0)},C=(d,p,y,v)=>{if(d==null)s(p.el=l(p.children),y,v);else{const b=p.el=d.el;p.children!==d.children&&u(b,p.children)}},_=(d,p,y,v)=>{d==null?s(p.el=c(p.children||""),y,v):p.el=d.el},E=(d,p,y,v)=>{[d.el,d.anchor]=R(d.children,p,y,v,d.el,d.anchor)},O=({el:d,anchor:p},y,v)=>{let b;for(;d&&d!==p;)b=h(d),s(d,y,v),d=b;s(p,y,v)},x=({el:d,anchor:p})=>{let y;for(;d&&d!==p;)y=h(d),r(d),d=y;r(p)},j=(d,p,y,v,b,S,D,N,I)=>{if(p.type==="svg"?D="svg":p.type==="math"&&(D="mathml"),d==null)q(p,y,v,b,S,D,N,I);else{const T=d.el&&d.el._isVueCE?d.el:null;try{T&&T._beginPatch(),P(d,p,b,S,D,N,I)}finally{T&&T._endPatch()}}},q=(d,p,y,v,b,S,D,N)=>{let I,T;const{props:$,shapeFlag:U,transition:W,dirs:J}=d;if(I=d.el=i(d.type,S,$&&$.is,$),U&8?a(I,d.children):U&16&&H(d.children,I,null,v,b,fr(d,S),D,N),J&&Ut(d,null,v,"created"),B(I,d,d.scopeId,D,v),$){for(const fe in $)fe!=="value"&&!Pn(fe)&&o(I,fe,null,$[fe],S,v);"value"in $&&o(I,"value",null,$.value,S),(T=$.onVnodeBeforeMount)&&at(T,v,d)}J&&Ut(d,null,v,"beforeMount");const re=rf(b,W);re&&W.beforeEnter(I),s(I,p,y),((T=$&&$.onVnodeMounted)||re||J)&&De(()=>{try{T&&at(T,v,d),re&&W.enter(I),J&&Ut(d,null,v,"mounted")}finally{}},b)},B=(d,p,y,v,b)=>{if(y&&g(d,y),v)for(let S=0;S<v.length;S++)g(d,v[S]);if(b){let S=b.subTree;if(p===S||yc(S.type)&&(S.ssContent===p||S.ssFallback===p)){const D=b.vnode;B(d,D,D.scopeId,D.slotScopeIds,b.parent)}}},H=(d,p,y,v,b,S,D,N,I=0)=>{for(let T=I;T<d.length;T++){const $=d[T]=N?wt(d[T]):ht(d[T]);w(null,$,p,y,v,b,S,D,N)}},P=(d,p,y,v,b,S,D)=>{const N=p.el=d.el;let{patchFlag:I,dynamicChildren:T,dirs:$}=p;I|=d.patchFlag&16;const U=d.props||de,W=p.props||de;let J;if(y&&Bt(y,!1),(J=W.onVnodeBeforeUpdate)&&at(J,y,p,d),$&&Ut(p,d,y,"beforeUpdate"),y&&Bt(y,!0),T&&(!d.dynamicChildren||d.dynamicChildren.length!==T.length)&&(I=0,D=!1,T=null),(U.innerHTML&&W.innerHTML==null||U.textContent&&W.textContent==null)&&a(N,""),T?V(d.dynamicChildren,T,N,y,v,fr(p,b),S):D||oe(d,p,N,null,y,v,fr(p,b),S,!1),I>0){if(I&16)z(N,U,W,y,b);else if(I&2&&U.class!==W.class&&o(N,"class",null,W.class,b),I&4&&o(N,"style",U.style,W.style,b),I&8){const re=p.dynamicProps;for(let fe=0;fe<re.length;fe++){const ue=re[fe],Ee=U[ue],Ce=W[ue];(Ce!==Ee||ue==="value")&&o(N,ue,Ee,Ce,b,y)}}I&1&&d.children!==p.children&&a(N,p.children)}else!D&&T==null&&z(N,U,W,y,b);((J=W.onVnodeUpdated)||$)&&De(()=>{J&&at(J,y,p,d),$&&Ut(p,d,y,"updated")},v)},V=(d,p,y,v,b,S,D)=>{for(let N=0;N<p.length;N++){const I=d[N],T=p[N],$=I.el&&(I.type===$e||!qt(I,T)||I.shapeFlag&198)?f(I.el):y;w(I,T,$,null,v,b,S,D,!0)}},z=(d,p,y,v,b)=>{if(p!==y){if(p!==de)for(const S in p)!Pn(S)&&!(S in y)&&o(d,S,p[S],null,b,v);for(const S in y){if(Pn(S))continue;const D=y[S],N=p[S];D!==N&&S!=="value"&&o(d,S,N,D,b,v)}"value"in y&&o(d,"value",p.value,y.value,b)}},L=(d,p,y,v,b,S,D,N,I)=>{const T=p.el=d?d.el:l(""),$=p.anchor=d?d.anchor:l("");let{patchFlag:U,dynamicChildren:W,slotScopeIds:J}=p;J&&(N=N?N.concat(J):J),d==null?(s(T,y,v),s($,y,v),H(p.children||[],y,$,b,S,D,N,I)):U>0&&U&64&&W&&d.dynamicChildren&&d.dynamicChildren.length===W.length?(V(d.dynamicChildren,W,y,b,S,D,N),(p.key!=null||b&&p===b.subTree)&&po(d,p,!0)):oe(d,p,y,$,b,S,D,N,I)},Z=(d,p,y,v,b,S,D,N,I)=>{p.slotScopeIds=N,d==null?p.shapeFlag&512?b.ctx.activate(p,y,v,D,I):te(p,y,v,b,S,D,I):be(d,p,I)},te=(d,p,y,v,b,S,D)=>{const N=d.component=pf(d,v,b);if(Ws(d)&&(N.ctx.renderer=K),gf(N,!1,D),N.asyncDep){if(b&&b.registerDep(N,se,D),!d.el){const I=N.subTree=we(Me);_(null,I,p,y),d.placeholder=I.el}}else se(N,d,p,y,b,S,D)},be=(d,p,y)=>{const v=p.component=d.component;if(zu(d,p,y))if(v.asyncDep&&!v.asyncResolved){X(v,p,y);return}else v.next=p,v.update();else p.el=d.el,v.vnode=p},se=(d,p,y,v,b,S,D)=>{const N=()=>{if(d.isMounted){let{next:U,bu:W,u:J,parent:re,vnode:fe}=d;{const lt=gc(d);if(lt){U&&(U.el=fe.el,X(d,U,D)),lt.asyncDep.then(()=>{De(()=>{d.isUnmounted||T()},b)});return}}let ue=U,Ee;Bt(d,!1),U?(U.el=fe.el,X(d,U,D)):U=fe,W&&us(W),(Ee=U.props&&U.props.onVnodeBeforeUpdate)&&at(Ee,re,U,fe),Bt(d,!0);const Ce=Wo(d),it=d.subTree;d.subTree=Ce,w(it,Ce,f(it.el),A(it),d,b,S),U.el=Ce.el,ue===null&&Ju(d,Ce.el),J&&De(J,b),(Ee=U.props&&U.props.onVnodeUpdated)&&De(()=>at(Ee,re,U,fe),b)}else{let U;const{el:W,props:J}=p,{bm:re,m:fe,parent:ue,root:Ee,type:Ce}=d,it=Fn(p);Bt(d,!1),re&&us(re),!it&&(U=J&&J.onVnodeBeforeMount)&&at(U,ue,p),Bt(d,!0);{Ee.ce&&Ee.ce._hasShadowRoot()&&Ee.ce._injectChildStyle(Ce,d.parent?d.parent.type:void 0);const lt=d.subTree=Wo(d);w(null,lt,y,v,d,b,S),p.el=lt.el}if(fe&&De(fe,b),!it&&(U=J&&J.onVnodeMounted)){const lt=p;De(()=>at(U,ue,lt),b)}(p.shapeFlag&256||ue&&Fn(ue.vnode)&&ue.vnode.shapeFlag&256)&&d.a&&De(d.a,b),d.isMounted=!0,p=y=v=null}};d.scope.on();const I=d.effect=new pl(N);d.scope.off();const T=d.update=I.run.bind(I),$=d.job=I.runIfDirty.bind(I);$.i=d,$.id=d.uid,I.scheduler=()=>ao($),Bt(d,!0),T()},X=(d,p,y)=>{p.component=d;const v=d.vnode.props;d.vnode=p,d.next=null,Yu(d,p.props,v,y),tf(d,p.children,y),mt(),Fo(d),yt()},oe=(d,p,y,v,b,S,D,N,I=!1)=>{const T=d&&d.children,$=d?d.shapeFlag:0,U=p.children,{patchFlag:W,shapeFlag:J}=p;if(W>0){if(W&128){Ae(T,U,y,v,b,S,D,N,I);return}else if(W&256){ze(T,U,y,v,b,S,D,N,I);return}}J&8?($&16&&Q(T,b,S),U!==T&&a(y,U)):$&16?J&16?Ae(T,U,y,v,b,S,D,N,I):Q(T,b,S,!0):($&8&&a(y,""),J&16&&H(U,y,v,b,S,D,N,I))},ze=(d,p,y,v,b,S,D,N,I)=>{d=d||on,p=p||on;const T=d.length,$=p.length,U=Math.min(T,$);let W;for(W=0;W<U;W++){const J=p[W]=I?wt(p[W]):ht(p[W]);w(d[W],J,y,null,b,S,D,N,I)}T>$?Q(d,b,S,!0,!1,U):H(p,y,v,b,S,D,N,I,U)},Ae=(d,p,y,v,b,S,D,N,I)=>{let T=0;const $=p.length;let U=d.length-1,W=$-1;for(;T<=U&&T<=W;){const J=d[T],re=p[T]=I?wt(p[T]):ht(p[T]);if(qt(J,re))w(J,re,y,null,b,S,D,N,I);else break;T++}for(;T<=U&&T<=W;){const J=d[U],re=p[W]=I?wt(p[W]):ht(p[W]);if(qt(J,re))w(J,re,y,null,b,S,D,N,I);else break;U--,W--}if(T>U){if(T<=W){const J=W+1,re=J<$?p[J].el:v;for(;T<=W;)w(null,p[T]=I?wt(p[T]):ht(p[T]),y,re,b,S,D,N,I),T++}}else if(T>W)for(;T<=U;)me(d[T],b,S,!0),T++;else{const J=T,re=T,fe=new Map;for(T=re;T<=W;T++){const qe=p[T]=I?wt(p[T]):ht(p[T]);qe.key!=null&&fe.set(qe.key,T)}let ue,Ee=0;const Ce=W-re+1;let it=!1,lt=0;const bn=new Array(Ce);for(T=0;T<Ce;T++)bn[T]=0;for(T=J;T<=U;T++){const qe=d[T];if(Ee>=Ce){me(qe,b,S,!0);continue}let ct;if(qe.key!=null)ct=fe.get(qe.key);else for(ue=re;ue<=W;ue++)if(bn[ue-re]===0&&qt(qe,p[ue])){ct=ue;break}ct===void 0?me(qe,b,S,!0):(bn[ct-re]=T+1,ct>=lt?lt=ct:it=!0,w(qe,p[ct],y,null,b,S,D,N,I),Ee++)}const To=it?of(bn):on;for(ue=To.length-1,T=Ce-1;T>=0;T--){const qe=re+T,ct=p[qe],xo=p[qe+1],Po=qe+1<$?xo.el||mc(xo):v;bn[T]===0?w(null,ct,y,Po,b,S,D,N,I):it&&(ue<0||T!==To[ue]?ae(ct,y,Po,2):ue--)}}},ae=(d,p,y,v,b=null)=>{const{el:S,type:D,transition:N,children:I,shapeFlag:T}=d;if(T&6){ae(d.component.subTree,p,y,v);return}if(T&128){d.suspense.move(p,y,v);return}if(T&64){D.move(d,p,y,K);return}if(D===$e){s(S,p,y);for(let U=0;U<I.length;U++)ae(I[U],p,y,v);s(d.anchor,p,y);return}if(D===dr){O(d,p,y);return}if(v!==2&&T&1&&N)if(v===0)N.persisted&&!S[Ye]?s(S,p,y):(N.beforeEnter(S),s(S,p,y),De(()=>N.enter(S),b));else{const{leave:U,delayLeave:W,afterLeave:J}=N,re=()=>{d.ctx.isUnmounted?r(S):s(S,p,y)},fe=()=>{const ue=S._isLeaving||!!S[Ye];S._isLeaving&&S[Ye](!0),N.persisted&&!ue?re():U(S,()=>{re(),J&&J()})};W?W(S,re,fe):fe()}else s(S,p,y)},me=(d,p,y,v=!1,b=!1)=>{const{type:S,props:D,ref:N,children:I,dynamicChildren:T,shapeFlag:$,patchFlag:U,dirs:W,cacheIndex:J,memo:re}=d;if(U===-2&&(b=!1),N!=null&&(mt(),Ln(N,null,y,d,!0),yt()),J!=null&&(p.renderCache[J]=void 0),$&256){p.ctx.deactivate(d);return}const fe=$&1&&W,ue=!Fn(d);let Ee;if(ue&&(Ee=D&&D.onVnodeBeforeUnmount)&&at(Ee,p,d),$&6)ot(d.component,y,v);else{if($&128){d.suspense.unmount(y,v);return}fe&&Ut(d,null,p,"beforeUnmount"),$&64?d.type.remove(d,p,y,K,v):T&&!T.hasOnce&&(S!==$e||U>0&&U&64)?Q(T,p,y,!1,!0):(S===$e&&U&384||!b&&$&16)&&Q(I,p,y),v&&Ve(d)}const Ce=re!=null&&J==null;(ue&&(Ee=D&&D.onVnodeUnmounted)||fe||Ce)&&De(()=>{Ee&&at(Ee,p,d),fe&&Ut(d,null,p,"unmounted"),Ce&&(d.el=null)},y)},Ve=d=>{const{type:p,el:y,anchor:v,transition:b}=d;if(p===$e){Je(y,v);return}if(p===dr){x(d);return}const S=()=>{r(y),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(d.shapeFlag&1&&b&&!b.persisted){const{leave:D,delayLeave:N}=b,I=()=>D(y,S);N?N(d.el,S,I):I()}else S()},Je=(d,p)=>{let y;for(;d!==p;)y=h(d),r(d),d=y;r(p)},ot=(d,p,y)=>{const{bum:v,scope:b,job:S,subTree:D,um:N,m:I,a:T}=d;Jo(I),Jo(T),v&&us(v),b.stop(),S&&(S.flags|=8,me(D,d,p,y)),N&&De(N,p),De(()=>{d.isUnmounted=!0},p)},Q=(d,p,y,v=!1,b=!1,S=0)=>{for(let D=S;D<d.length;D++)me(d[D],p,y,v,b)},A=d=>{if(d.shapeFlag&6)return A(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const p=h(d.anchor||d.el),y=p&&p[Bl];return y?h(y):p};let k=!1;const M=(d,p,y)=>{let v;d==null?p._vnode&&(me(p._vnode,null,null,!0),v=p._vnode.component):w(p._vnode||null,d,p,null,null,null,y),p._vnode=d,k||(k=!0,Fo(v),Dl(),k=!1)},K={p:w,um:me,m:ae,r:Ve,mt:te,mc:H,pc:oe,pbc:V,n:A,o:e};return{render:M,hydrate:void 0,createApp:Vu(M)}}function fr({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 Bt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function rf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function po(e,t,n=!1){const s=e.children,r=t.children;if(G(s)&&G(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]=wt(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&po(i,l)),l.type===Js&&(l.patchFlag===-1&&(l=r[o]=wt(l)),l.el=i.el),l.type===Me&&!l.el&&(l.el=i.el)}}function of(e){const t=e.slice(),n=[0];let s,r,o,i,l;const c=e.length;for(s=0;s<c;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<u?o=l+1:i=l;u<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 gc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:gc(t)}function Jo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function mc(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?mc(t.subTree):null}const yc=e=>e.__isSuspense;function lf(e,t){t&&t.pendingBranch?G(e)?t.effects.push(...e):t.effects.push(e):hu(e)}const $e=Symbol.for("v-fgt"),Js=Symbol.for("v-txt"),Me=Symbol.for("v-cmt"),dr=Symbol.for("v-stc"),kn=[];let We=null;function Dt(e=!1){kn.push(We=e?null:[])}function cf(){kn.pop(),We=kn[kn.length-1]||null}let $n=1;function vs(e,t=!1){$n+=e,e<0&&We&&t&&(We.hasOnce=!0)}function _c(e){return e.dynamicChildren=$n>0?We||on:null,cf(),$n>0&&We&&We.push(e),e}function ds(e,t,n,s,r,o){return _c(Be(e,t,n,s,r,o,!0))}function hs(e,t,n,s,r){return _c(we(e,t,n,s,r,!0))}function As(e){return e?e.__v_isVNode===!0:!1}function qt(e,t){return e.type===t.type&&e.key===t.key}const bc=({key:e})=>e??null,ps=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||_e(e)||Y(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function Be(e,t=null,n=null,s=0,r=null,o=e===$e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&bc(t),ref:t&&ps(t),scopeId:Fl,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:Ke};return l?(Cs(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=pe(n)?8:16),$n>0&&!i&&We&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&We.push(c),c}const we=af;function af(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===ec)&&(e=Me),As(e)){const l=Mt(e,t,!0);return n&&Cs(l,n),$n>0&&!o&&We&&(l.shapeFlag&6?We[We.indexOf(e)]=l:We.push(l)),l.patchFlag=-2,l}if(Ef(e)&&(e=e.__vccOpts),t){t=uf(t);let{class:l,style:c}=t;l&&!pe(l)&&(t.class=Vs(l)),ce(c)&&($s(c)&&!G(c)&&(c=Se({},c)),t.style=eo(c))}const i=pe(e)?1:yc(e)?128:jl(e)?64:ce(e)?4:Y(e)?2:0;return Be(e,t,n,s,r,i,o,!0)}function uf(e){return e?$s(e)||ac(e)?Se({},e):e:null}function Mt(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?ff(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&bc(u),ref:t&&t.ref?n&&o?G(o)?o.concat(ps(t)):[o,ps(t)]:ps(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!==$e?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&&Mt(e.ssContent),ssFallback:e.ssFallback&&Mt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Yt(a,c.clone(a)),a}function Ec(e=" ",t=0){return we(Js,null,e,t)}function wc(e="",t=!1){return t?(Dt(),hs(Me,null,e)):we(Me,null,e)}function ht(e){return e==null||typeof e=="boolean"?we(Me):G(e)?we($e,null,e.slice()):As(e)?wt(e):we(Js,null,String(e))}function wt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Mt(e)}function Cs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(G(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Cs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ac(t)?t._ctx=Ke:r===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Y(t)){if(s&65){Cs(e,{default:t});return}t={default:t,_ctx:Ke},n=32}else t=String(t),s&64?(n=16,t=[Ec(t)]):n=8;e.children=t,e.shapeFlag|=n}function ff(...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=Vs([t.class,s.class]));else if(r==="style")t.style=eo([t.style,s.style]);else if(Fs(r)){const o=t[r],i=s[r];i&&o!==i&&!(G(o)&&o.includes(i))?t[r]=o?[].concat(o,i):i:i==null&&o==null&&!Ms(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function at(e,t,n,s=null){et(e,t,7,[n,s])}const df=rc();let hf=0;function pf(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||df,o={uid:hf++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new fl(!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:fc(s,r),emitsOptions:oc(s,r),emit:null,emitted:null,propsDefaults:de,inheritAttrs:s.inheritAttrs,ctx:de,data:de,props:de,attrs:de,slots:de,refs:de,setupState:de,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=$u.bind(null,o),e.ce&&e.ce(o),o}let Pe=null;const Xs=()=>Pe||Ke;let Os,Mr;{const e=Hs(),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)}};Os=t("__VUE_INSTANCE_SETTERS__",n=>Pe=n),Mr=t("__VUE_SSR_SETTERS__",n=>Kn=n)}const Qn=e=>{const t=Pe;return Os(e),e.scope.on(),()=>{e.scope.off(),Os(t)}},Xo=()=>{Pe&&Pe.scope.off(),Os(null)};function Sc(e){return e.vnode.shapeFlag&4}let Kn=!1;function gf(e,t=!1,n=!1){t&&Mr(t);const{props:s,children:r}=e.vnode,o=Sc(e);Xu(e,s,o,t),ef(e,r,n||t);const i=o?mf(e,t):void 0;return t&&Mr(!1),i}function mf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Fu);const{setup:s}=n;if(s){mt();const r=e.setupContext=s.length>1?_f(e):null,o=Qn(e),i=Yn(s,e,0,[e.props,r]),l=sl(i);if(yt(),o(),(l||e.sp)&&!Fn(e)&&Gl(e),l){if(i.then(Xo,Xo),t)return i.then(c=>{Yo(e,c)}).catch(c=>{Ks(c,e,0)});e.asyncDep=i}else Yo(e,i)}else Rc(e)}function Yo(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=Pl(t)),Rc(e)}function Rc(e,t,n){const s=e.type;e.render||(e.render=s.render||gt);{const r=Qn(e);mt();try{Mu(e)}finally{yt(),r()}}}const yf={get(e,t){return xe(e,"get",""),e[t]}};function _f(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,yf),slots:e.slots,emit:e.emit,expose:t}}function Ys(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Pl(lo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Mn)return Mn[n](e)},has(t,n){return n in t||n in Mn}})):e.proxy}function bf(e,t=!0){return Y(e)?e.displayName||e.name:e.name||t&&e.__name}function Ef(e){return Y(e)&&"__vccOpts"in e}const ke=(e,t)=>cu(e,t,Kn);function an(e,t,n){try{vs(-1);const s=arguments.length;return s===2?ce(t)&&!G(t)?As(t)?we(e,null,[t]):we(e,t):we(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&As(n)&&(n=[n]),we(e,t,n))}finally{vs(1)}}const wf="3.5.39";/**
* @vue/runtime-dom v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let kr;const Qo=typeof window<"u"&&window.trustedTypes;if(Qo)try{kr=Qo.createPolicy("vue",{createHTML:e=>e})}catch{}const vc=kr?e=>kr.createHTML(e):e=>e,Sf="http://www.w3.org/2000/svg",Rf="http://www.w3.org/1998/Math/MathML",Et=typeof document<"u"?document:null,Zo=Et&&Et.createElement("template"),vf={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"?Et.createElementNS(Sf,e):t==="mathml"?Et.createElementNS(Rf,e):n?Et.createElement(e,{is:n}):Et.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Et.createTextNode(e),createComment:e=>Et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Et.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{Zo.innerHTML=vc(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Zo.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]}},Ot="transition",Sn="animation",dn=Symbol("_vtc"),Ac={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},Cc=Se({},Vl,Ac),Af=e=>(e.displayName="Transition",e.props=Cc,e),Zg=Af((e,{slots:t})=>an(Ru,Oc(e),t)),jt=(e,t=[])=>{G(e)?e.forEach(n=>n(...t)):e&&e(...t)},ei=e=>e?G(e)?e.some(t=>t.length>1):e.length>1:!1;function Oc(e){const t={};for(const L in e)L in Ac||(t[L]=e[L]);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:u=i,appearToClass:a=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,R=Cf(r),w=R&&R[0],C=R&&R[1],{onBeforeEnter:_,onEnter:E,onEnterCancelled:O,onLeave:x,onLeaveCancelled:j,onBeforeAppear:q=_,onAppear:B=E,onAppearCancelled:H=O}=t,P=(L,Z,te,be)=>{L._enterCancelled=be,Pt(L,Z?a:l),Pt(L,Z?u:i),te&&te()},V=(L,Z)=>{L._isLeaving=!1,Pt(L,f),Pt(L,g),Pt(L,h),Z&&Z()},z=L=>(Z,te)=>{const be=L?B:E,se=()=>P(Z,L,te);jt(be,[Z,se]),ti(()=>{Pt(Z,L?c:o),ut(Z,L?a:l),ei(be)||ni(Z,s,w,se)})};return Se(t,{onBeforeEnter(L){jt(_,[L]),ut(L,o),ut(L,i)},onBeforeAppear(L){jt(q,[L]),ut(L,c),ut(L,u)},onEnter:z(!1),onAppear:z(!0),onLeave(L,Z){L._isLeaving=!0;const te=()=>V(L,Z);ut(L,f),L._enterCancelled?(ut(L,h),Ur(L)):(Ur(L),ut(L,h)),ti(()=>{L._isLeaving&&(Pt(L,f),ut(L,g),ei(x)||ni(L,s,C,te))}),jt(x,[L,te])},onEnterCancelled(L){P(L,!1,void 0,!0),jt(O,[L])},onAppearCancelled(L){P(L,!0,void 0,!0),jt(H,[L])},onLeaveCancelled(L){V(L),jt(j,[L])}})}function Cf(e){if(e==null)return null;if(ce(e))return[hr(e.enter),hr(e.leave)];{const t=hr(e);return[t,t]}}function hr(e){return Ta(e)}function ut(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[dn]||(e[dn]=new Set)).add(t)}function Pt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[dn];n&&(n.delete(t),n.size||(e[dn]=void 0))}function ti(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Of=0;function ni(e,t,n,s){const r=e._endId=++Of,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Tc(e,t);if(!i)return s();const u=i+"end";let a=0;const f=()=>{e.removeEventListener(u,h),o()},h=g=>{g.target===e&&++a>=c&&f()};setTimeout(()=>{a<c&&f()},l+1),e.addEventListener(u,h)}function Tc(e,t){const n=window.getComputedStyle(e),s=R=>(n[R]||"").split(", "),r=s(`${Ot}Delay`),o=s(`${Ot}Duration`),i=si(r,o),l=s(`${Sn}Delay`),c=s(`${Sn}Duration`),u=si(l,c);let a=null,f=0,h=0;t===Ot?i>0&&(a=Ot,f=i,h=o.length):t===Sn?u>0&&(a=Sn,f=u,h=c.length):(f=Math.max(i,u),a=f>0?i>u?Ot:Sn:null,h=a?a===Ot?o.length:c.length:0);const g=a===Ot&&/\b(?:transform|all)(?:,|$)/.test(s(`${Ot}Property`).toString());return{type:a,timeout:f,propCount:h,hasTransform:g}}function si(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>ri(n)+ri(e[s])))}function ri(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ur(e){return(e?e.ownerDocument:document).body.offsetHeight}function Tf(e,t,n){const s=e[dn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ts=Symbol("_vod"),go=Symbol("_vsh"),em={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ts]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Rn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Rn(e,!0),s.enter(e)):s.leave(e,()=>{Rn(e,!1)}):Rn(e,t))},beforeUnmount(e,{value:t}){Rn(e,t)}};function Rn(e,t){e.style.display=t?e[Ts]:"none",e[go]=!t}const xf=Symbol(""),Pf=/(?:^|;)\s*display\s*:/;function Nf(e,t,n){const s=e.style,r=pe(n);let o=!1;if(n&&!r){if(t)if(pe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&xn(s,l,"")}else for(const i in t)n[i]==null&&xn(s,i,"");for(const i in n){i==="display"&&(o=!0);const l=n[i];l!=null?Df(e,i,!pe(t)&&t?t[i]:void 0,l)||xn(s,i,l):xn(s,i,"")}}else if(r){if(t!==n){const i=s[xf];i&&(n+=";"+i),s.cssText=n,o=Pf.test(n)}}else t&&e.removeAttribute("style");Ts in e&&(e[Ts]=o?s.display:"",e[go]&&(s.display="none"))}const oi=/\s*!important$/;function xn(e,t,n){if(G(n))n.forEach(s=>xn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=If(e,t);oi.test(n)?e.setProperty(kt(s),n.replace(oi,""),"important"):e[s]=n}}const ii=["Webkit","Moz","ms"],pr={};function If(e,t){const n=pr[t];if(n)return n;let s=Ue(t);if(s!=="filter"&&s in e)return pr[t]=s;s=js(s);for(let r=0;r<ii.length;r++){const o=ii[r]+s;if(o in e)return pr[t]=o}return t}function Df(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&pe(s)&&n===s}const li="http://www.w3.org/1999/xlink";function ci(e,t,n,s,r,o=La(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(li,t.slice(6,t.length)):e.setAttributeNS(li,t,n):n==null||o&&!ll(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Ze(n)?String(n):n)}function ai(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?vc(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=ll(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 $t(e,t,n,s){e.addEventListener(t,n,s)}function Lf(e,t,n,s){e.removeEventListener(t,n,s)}const ui=Symbol("_vei");function Ff(e,t,n,s,r=null){const o=e[ui]||(e[ui]={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=Uf(t);if(s){const u=o[t]=Hf(s,r);$t(e,l,u,c)}else i&&(Lf(e,l,i,c),o[t]=void 0)}}const Mf=/(Once|Passive|Capture)$/,kf=/^on:?(?:Once|Passive|Capture)$/;function Uf(e){let t,n;for(;(n=e.match(Mf))&&!kf.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):kt(e.slice(2)),t]}let gr=0;const Bf=Promise.resolve(),jf=()=>gr||(Bf.then(()=>gr=0),gr=Date.now());function Hf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(G(r)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const i=r.slice(),l=[s];for(let c=0;c<i.length&&!s._stopped;c++){const u=i[c];u&&et(u,t,5,l)}}else et(r,t,5,[s])};return n.value=e,n.attached=jf(),n}const fi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Vf=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Tf(e,s,i):t==="style"?Nf(e,n,s):Fs(t)?Ms(t)||Ff(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qf(e,t,s,i))?(ai(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ci(e,t,s,i,o,t!=="value")):e._isVueCE&&($f(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!pe(s)))?ai(e,Ue(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ci(e,t,s,i))};function qf(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&fi(t)&&Y(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 fi(t)&&pe(n)?!1:t in e}function $f(e,t){const n=e._def.props;if(!n)return!1;const s=Ue(t);return Array.isArray(n)?n.some(r=>Ue(r)===s):Object.keys(n).some(r=>Ue(r)===s)}const xc=new WeakMap,Pc=new WeakMap,xs=Symbol("_moveCb"),di=Symbol("_enterCb"),Kf=e=>(delete e.props.mode,e),Wf=Kf({name:"TransitionGroup",props:Se({},Cc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Xs(),s=Hl();let r,o;return Xl(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Yf(r[0].el,n.vnode.el,i)){r=[];return}r.forEach(zf),r.forEach(Jf);const l=r.filter(Xf);Ur(n.vnode.el),l.forEach(c=>{const u=c.el,a=u.style;ut(u,i),a.transform=a.webkitTransform=a.transitionDuration="";const f=u[xs]=h=>{h&&h.target!==u||(!h||h.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",f),u[xs]=null,Pt(u,i))};u.addEventListener("transitionend",f)}),r=[]}),()=>{const i=ne(e),l=Oc(i);let c=i.tag||$e;if(r=[],o)for(let u=0;u<o.length;u++){const a=o[u];a.el&&a.el instanceof Element&&!a.el[go]&&(r.push(a),Yt(a,qn(a,l,s,n)),xc.set(a,Nc(a.el)))}o=t.default?uo(t.default()):[];for(let u=0;u<o.length;u++){const a=o[u];a.key!=null&&Yt(a,qn(a,l,s,n))}return we(c,null,o)}}}),Gf=Wf;function zf(e){const t=e.el;t[xs]&&t[xs](),t[di]&&t[di]()}function Jf(e){Pc.set(e,Nc(e.el))}function Xf(e){const t=xc.get(e),n=Pc.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el,i=o.style,l=o.getBoundingClientRect();let c=1,u=1;return o.offsetWidth&&(c=l.width/o.offsetWidth),o.offsetHeight&&(u=l.height/o.offsetHeight),(!Number.isFinite(c)||c===0)&&(c=1),(!Number.isFinite(u)||u===0)&&(u=1),Math.abs(c-1)<.01&&(c=1),Math.abs(u-1)<.01&&(u=1),i.transform=i.webkitTransform=`translate(${s/c}px,${r/u}px)`,i.transitionDuration="0s",e}}function Nc(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function Yf(e,t,n){const s=e.cloneNode(),r=e[dn];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=Tc(s);return o.removeChild(s),i}const Ps=e=>{const t=e.props["onUpdate:modelValue"]||!1;return G(t)?n=>us(t,n):t};function Qf(e){e.target.composing=!0}function hi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const un=Symbol("_assign");function pi(e,t,n){return t&&(e=e.trim()),n&&(e=Zr(e)),e}const tm={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[un]=Ps(r);const o=s||r.props&&r.props.type==="number";$t(e,t?"change":"input",i=>{i.target.composing||e[un](pi(e.value,n,o))}),(n||o)&&$t(e,"change",()=>{e.value=pi(e.value,n,o)}),t||($t(e,"compositionstart",Qf),$t(e,"compositionend",hi),$t(e,"change",hi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[un]=Ps(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Zr(e.value):e.value,c=t??"";if(l===c)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},nm={deep:!0,created(e,t,n){e[un]=Ps(n),$t(e,"change",()=>{const s=e._modelValue,r=Zf(e),o=e.checked,i=e[un];if(G(s)){const l=cl(s,r),c=l!==-1;if(o&&!c)i(s.concat(r));else if(!o&&c){const u=[...s];u.splice(l,1),i(u)}}else if(ks(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(Ic(e,o))})},mounted:gi,beforeUpdate(e,t,n){e[un]=Ps(n),gi(e,t,n)}};function gi(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(G(t))r=cl(t,s.props.value)>-1;else if(ks(t))r=t.has(s.props.value);else{if(t===n)return;r=Jn(t,Ic(e,!0))}e.checked!==r&&(e.checked=r)}function Zf(e){return"_value"in e?e._value:e.value}function Ic(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ed=["ctrl","shift","alt","meta"],td={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)=>ed.some(n=>e[`${n}Key`]&&!t.includes(n))},sm=(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=td[t[i]];if(l&&l(r,t))return}return e(r,...o)}))},nd={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},rm=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const o=kt(r.key);if(t.some(i=>i===o||nd[i]===o))return e(r)}))},sd=Se({patchProp:Vf},vf);let mi;function rd(){return mi||(mi=nf(sd))}const od=((...e)=>{const t=rd().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ld(s);if(!r)return;const o=t._component;!Y(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,id(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t});function id(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ld(e){return pe(e)?document.querySelector(e):e}/*!
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let Dc;const Qs=e=>Dc=e,Lc=Symbol();function Br(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Un;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Un||(Un={}));function cd(){const e=dl(!0),t=e.run(()=>Ft({}));let n=[],s=[];const r=lo({install(o){Qs(r),r._a=o,o.provide(Lc,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 Fc=()=>{};function yi(e,t,n,s=Fc){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&hl()&&Ma(r),r}function tn(e,...t){e.slice().forEach(n=>{n(...t)})}const ad=e=>e(),_i=Symbol(),mr=Symbol();function jr(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];Br(r)&&Br(s)&&e.hasOwnProperty(n)&&!_e(s)&&!vt(s)?e[n]=jr(r,s):e[n]=s}return e}const ud=Symbol();function fd(e){return!Br(e)||!e.hasOwnProperty(ud)}const{assign:Nt}=Object;function dd(e){return!!(_e(e)&&e.effect)}function hd(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let c;function u(){l||(n.state.value[e]=r?r():{});const a=ru(n.state.value[e]);return Nt(a,o,Object.keys(i||{}).reduce((f,h)=>(f[h]=lo(ke(()=>{Qs(n);const g=n._s.get(e);return i[h].call(g,g)})),f),{}))}return c=Mc(e,u,t,n,s,!0),c}function Mc(e,t,n={},s,r,o){let i;const l=Nt({actions:{}},n),c={deep:!0};let u,a,f=[],h=[],g;const R=s.state.value[e];!o&&!R&&(s.state.value[e]={});let w;function C(H){let P;u=a=!1,typeof H=="function"?(H(s.state.value[e]),P={type:Un.patchFunction,storeId:e,events:g}):(jr(s.state.value[e],H),P={type:Un.patchObject,payload:H,storeId:e,events:g});const V=w=Symbol();co().then(()=>{w===V&&(u=!0)}),a=!0,tn(f,P,s.state.value[e])}const _=o?function(){const{state:P}=n,V=P?P():{};this.$patch(z=>{Nt(z,V)})}:Fc;function E(){i.stop(),f=[],h=[],s._s.delete(e)}const O=(H,P="")=>{if(_i in H)return H[mr]=P,H;const V=function(){Qs(s);const z=Array.from(arguments),L=[],Z=[];function te(X){L.push(X)}function be(X){Z.push(X)}tn(h,{args:z,name:V[mr],store:j,after:te,onError:be});let se;try{se=H.apply(this&&this.$id===e?this:j,z)}catch(X){throw tn(Z,X),X}return se instanceof Promise?se.then(X=>(tn(L,X),X)).catch(X=>(tn(Z,X),Promise.reject(X))):(tn(L,se),se)};return V[_i]=!0,V[mr]=P,V},x={_p:s,$id:e,$onAction:yi.bind(null,h),$patch:C,$reset:_,$subscribe(H,P={}){const V=yi(f,H,P.detached,()=>z()),z=i.run(()=>Dn(()=>s.state.value[e],L=>{(P.flush==="sync"?a:u)&&H({storeId:e,type:Un.direct,events:g},L)},Nt({},c,P)));return V},$dispose:E},j=Xn(x);s._s.set(e,j);const B=(s._a&&s._a.runWithContext||ad)(()=>s._e.run(()=>(i=dl()).run(()=>t({action:O}))));for(const H in B){const P=B[H];if(_e(P)&&!dd(P)||vt(P))o||(R&&fd(P)&&(_e(P)?P.value=R[H]:jr(P,R[H])),s.state.value[e][H]=P);else if(typeof P=="function"){const V=O(P,H);B[H]=V,l.actions[H]=P}}return Nt(j,B),Nt(ne(j),B),Object.defineProperty(j,"$state",{get:()=>s.state.value[e],set:H=>{C(P=>{Nt(P,H)})}}),s._p.forEach(H=>{Nt(j,i.run(()=>H({store:j,app:s._a,pinia:s,options:l})))}),R&&o&&n.hydrate&&n.hydrate(j.$state,R),u=!0,a=!0,j}/*! #__NO_SIDE_EFFECTS__ */function kc(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 u=pu();return l=l||(u?Qe(Lc,null):null),l&&Qs(l),l=Dc,l._s.has(s)||(o?Mc(s,t,r,l):hd(s,r,l)),l._s.get(s)}return i.$id=s,i}/**
* @license @tabler/icons-vue v3.45.0 - MIT
*
* This source code is licensed under the MIT license.
* See the LICENSE file in the root directory of this source tree.
*/var bi={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};/**
* @license @tabler/icons-vue v3.45.0 - MIT
*
* This source code is licensed under the MIT license.
* See the LICENSE file in the root directory of this source tree.
*/const Zn=(e,t,n,s)=>({color:r="currentColor",size:o=24,stroke:i=2,title:l,class:c,...u},{attrs:a,slots:f})=>{let h=[...s.map(g=>an(...g)),...f.default?[f.default()]:[]];return l&&(h=[an("title",l),...h]),an("svg",{...bi[e],width:o,height:o,...a,class:["tabler-icon",`tabler-icon-${t}`],...e==="filled"?{fill:r}:{"stroke-width":i??bi[e]["stroke-width"],stroke:r},...u},h)};/**
* @license @tabler/icons-vue v3.45.0 - MIT
*
* This source code is licensed under the MIT license.
* See the LICENSE file in the root directory of this source tree.
*/var pd=Zn("outline","alert-triangle","AlertTriangle",[["path",{d:"M12 9v4",key:"svg-0"}],["path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]]);/**
* @license @tabler/icons-vue v3.45.0 - MIT
*
* This source code is licensed under the MIT license.
* See the LICENSE file in the root directory of this source tree.
*/var gd=Zn("outline","check","Check",[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]]);/**
* @license @tabler/icons-vue v3.45.0 - MIT
*
* This source code is licensed under the MIT license.
* See the LICENSE file in the root directory of this source tree.
*/var md=Zn("outline","chevron-down","ChevronDown",[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]]);/**
* @license @tabler/icons-vue v3.45.0 - MIT
*
* This source code is licensed under the MIT license.
* See the LICENSE file in the root directory of this source tree.
*/var yd=Zn("outline","copy","Copy",[["path",{d:"M7 9.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667l0 -8.666",key:"svg-0"}],["path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1",key:"svg-1"}]]);/**
* @license @tabler/icons-vue v3.45.0 - MIT
*
* This source code is licensed under the MIT license.
* See the LICENSE file in the root directory of this source tree.
*/var _d=Zn("outline","x","X",[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]]);function Hr(e){if(typeof e=="string")return e.trim();if(e==null)return"";try{return JSON.stringify(e)}catch{return String(e)}}function bd(e){var t,n,s,r;return typeof e=="string"?e.trim():Hr(((n=(t=e==null?void 0:e.response)==null?void 0:t.data)==null?void 0:n.message)||((r=(s=e==null?void 0:e.response)==null?void 0:s.data)==null?void 0:r.error)||(e==null?void 0:e.detail)||(e==null?void 0:e.message)||e)||"请求未能完成"}function Ed(e){const t=e.search(/[\[{]/);if(t<0)return{data:null,prefix:"",formatted:""};const n=e.slice(t).trim();try{const s=JSON.parse(n),r=e.slice(0,t).trim().replace(/[:;]+$/,""),o=JSON.stringify(s,null,2);return{data:s,prefix:r,formatted:r?`${r}
${o}`:o}}catch{return{data:null,prefix:"",formatted:""}}}function Vr(e){var n;if(Array.isArray(e)){for(const s of e){const r=Vr(s);if(r)return r}return null}if(!e||typeof e!="object")return null;const t=e.extra_info;if((t==null?void 0:t.input_name)==="device"){const s=Array.isArray((n=t.input_config)==null?void 0:n[0])?t.input_config[0]:[];return{received:Hr(t.received_value),options:s.map(Hr).filter(Boolean)}}for(const s of Object.values(e)){const r=Vr(s);if(r)return r}return null}function wd(e,t){const n=Vr(t);if(n!=null&&n.received){const s=n.options.length?`,当前可用选项为 ${n.options.join("、")}`:"";return`工作流请求使用设备 ${n.received}${s}。请修改 ComfyUI 的 device 节点配置后重试。`}return/value_not_in_list|Prompt outputs failed validation/i.test(e)?"工作流参数没有通过 ComfyUI 校验,请检查对应节点、模型和设备配置后重试。":/拒绝任务|execution error|执行失败/i.test(e)?"ComfyUI 拒绝了本次生成任务,请检查工作流和节点配置后重试。":"图片生成服务暂时无法完成任务,请检查 ComfyUI 配置后重试。"}function Sd(e,t){return/ComfyUI|Prompt outputs failed|value_not_in_list/i.test(e)?"图片生成失败":t===401?"登录状态已失效":t===403?"没有操作权限":/network|Failed to fetch|ERR_NETWORK|连接失败/i.test(e)?"连接失败":/timeout|超时/i.test(e)?"请求超时":"请求失败"}function Rd(e,t,n){if(/ComfyUI|Prompt outputs failed|value_not_in_list/i.test(e))return wd(e,n);if(t===401)return"登录信息已过期,请重新登录。";if(t===403)return"当前账户没有执行此操作的权限。";if(/network|Failed to fetch|ERR_NETWORK|连接失败/i.test(e))return"暂时无法连接服务,请检查网络或服务状态后重试。";if(/timeout|超时/i.test(e))return"服务响应时间过长,请稍后重试。";const s=e.split(/[\[{]/,1)[0].trim().replace(/[:;]+$/,"");return s&&s.length<=120?s:e.length<=120?e:"服务返回了异常信息,请稍后重试或查看技术详情。"}function vd(e,t={}){var i;const n=bd(e),s=(e==null?void 0:e.status)||((i=e==null?void 0:e.response)==null?void 0:i.status)||null,r=Ed(n),o=n.length>140||!!r.formatted||/value_not_in_list|Prompt outputs failed|stack|traceback/i.test(n);return{title:t.title||Sd(n,s),message:t.message||Rd(n,s,r.data),detail:t.detail??(o?r.formatted||n:""),status:s}}let Ad=1;const Cd=kc("notification",()=>{const e=Ft([]),t=new Map;function n(o){const i=t.get(o);i&&clearTimeout(i),t.delete(o),e.value=e.value.filter(l=>l.id!==o)}function s(o){const i=Ad++,l={id:i,type:o.type||"error",title:o.title||"请求失败",message:o.message||"请求未能完成,请稍后重试。",detail:o.detail||""};return e.value=[...e.value.slice(-2),l],o.duration>0&&t.set(i,setTimeout(()=>n(i),o.duration)),i}function r(o,i={}){return s({type:"error",...vd(o,i),duration:i.duration??0})}return{notifications:e,show:s,error:r,dismiss:n}}),Od=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Td={class:"notification-region","aria-label":"系统通知","aria-live":"assertive"},xd={class:"notification-icon","aria-hidden":"true"},Pd={class:"notification-content"},Nd={class:"notification-heading"},Id=["onClick"],Dd={key:0,class:"notification-detail"},Ld={class:"detail-body"},Fd=["onClick"],Md={__name:"NotificationCenter",setup(e){const t=Cd(),n=Ft(null);let s=null;async function r(o){try{await navigator.clipboard.writeText(o.detail),n.value=o.id,s&&clearTimeout(s),s=setTimeout(()=>{n.value=null},1800)}catch{n.value=null}}return(o,i)=>(Dt(),hs(wu,{to:"body"},[Be("section",Td,[we(Gf,{name:"notification"},{default:Ml(()=>[(Dt(!0),ds($e,null,Lu(je(t).notifications,l=>(Dt(),ds("article",{key:l.id,class:Vs(["notification-card",`notification-${l.type}`]),role:"alert"},[Be("div",xd,[we(je(pd),{size:20,"stroke-width":1.8})]),Be("div",Pd,[Be("div",Nd,[Be("strong",null,Cn(l.title),1),Be("button",{class:"notification-close",type:"button","aria-label":"关闭提示",onClick:c=>je(t).dismiss(l.id)},[we(je(_d),{size:17,"stroke-width":1.8})],8,Id)]),Be("p",null,Cn(l.message),1),l.detail?(Dt(),ds("details",Dd,[Be("summary",null,[i[0]||(i[0]=Be("span",null,"查看技术详情",-1)),we(je(md),{class:"detail-chevron",size:16,"stroke-width":1.8})]),Be("div",Ld,[Be("pre",null,Cn(l.detail),1),Be("button",{class:"copy-detail",type:"button",onClick:c=>r(l)},[n.value===l.id?(Dt(),hs(je(gd),{key:0,size:15,"stroke-width":1.8})):(Dt(),hs(je(yd),{key:1,size:15,"stroke-width":1.8})),Ec(" "+Cn(n.value===l.id?"已复制":"复制详情"),1)],8,Fd)])])):wc("",!0)])],2))),128))]),_:1})])]))}},kd=Od(Md,[["__scopeId","data-v-c5e6d2e8"]]),Ud={__name:"App",setup(e){return(t,n)=>{const s=Du("router-view");return Dt(),ds($e,null,[we(s),we(kd)],64)}}},Bd="modulepreload",jd=function(e){return"/"+e},Ei={},yr=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let i=function(u){return Promise.all(u.map(a=>Promise.resolve(a).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=i(n.map(u=>{if(u=jd(u),u in Ei)return;Ei[u]=!0;const a=u.endsWith(".css"),f=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const h=document.createElement("link");if(h.rel=a?"stylesheet":Bd,a||(h.as="script"),h.crossOrigin="",h.href=u,c&&h.setAttribute("nonce",c),document.head.appendChild(h),a)return new Promise((g,R)=>{h.addEventListener("load",g),h.addEventListener("error",()=>R(new Error(`Unable to preload CSS for ${u}`)))})}))}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)})};/*!
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const rn=typeof document<"u";function Uc(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Hd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Uc(e.default)}const ie=Object.assign;function _r(e,t){const n={};for(const s in t){const r=t[s];n[s]=st(r)?r.map(e):e(r)}return n}const Bn=()=>{},st=Array.isArray;function wi(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Bc=/#/g,Vd=/&/g,qd=/\//g,$d=/=/g,Kd=/\?/g,jc=/\+/g,Wd=/%5B/g,Gd=/%5D/g,Hc=/%5E/g,zd=/%60/g,Vc=/%7B/g,Jd=/%7C/g,qc=/%7D/g,Xd=/%20/g;function mo(e){return e==null?"":encodeURI(""+e).replace(Jd,"|").replace(Wd,"[").replace(Gd,"]")}function Yd(e){return mo(e).replace(Vc,"{").replace(qc,"}").replace(Hc,"^")}function qr(e){return mo(e).replace(jc,"%2B").replace(Xd,"+").replace(Bc,"%23").replace(Vd,"%26").replace(zd,"`").replace(Vc,"{").replace(qc,"}").replace(Hc,"^")}function Qd(e){return qr(e).replace($d,"%3D")}function Zd(e){return mo(e).replace(Bc,"%23").replace(Kd,"%3F")}function eh(e){return Zd(e).replace(qd,"%2F")}function Wn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const th=/\/$/,nh=e=>e.replace(th,"");function br(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=ih(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:Wn(i)}}function sh(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Si(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function rh(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&hn(t.matched[s],n.matched[r])&&$c(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function hn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function $c(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!oh(e[n],t[n]))return!1;return!0}function oh(e,t){return st(e)?Ri(e,t):st(t)?Ri(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Ri(e,t){return st(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function ih(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 Tt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let $r=(function(e){return e.pop="pop",e.push="push",e})({}),Er=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function lh(e){if(!e)if(rn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),nh(e)}const ch=/^[^#]+#/;function ah(e,t){return e.replace(ch,"#")+t}function uh(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 Zs=()=>({left:window.scrollX,top:window.scrollY});function fh(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=uh(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 vi(e,t){return(history.state?history.state.position-t:-1)+e}const Kr=new Map;function dh(e,t){Kr.set(e,t)}function hh(e){const t=Kr.get(e);return Kr.delete(e),t}function ph(e){return typeof e=="string"||e&&typeof e=="object"}function Kc(e){return typeof e=="string"||typeof e=="symbol"}let ye=(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 Wc=Symbol("");ye.MATCHER_NOT_FOUND+"",ye.NAVIGATION_GUARD_REDIRECT+"",ye.NAVIGATION_ABORTED+"",ye.NAVIGATION_CANCELLED+"",ye.NAVIGATION_DUPLICATED+"";function pn(e,t){return ie(new Error,{type:e,[Wc]:!0},t)}function bt(e,t){return e instanceof Error&&Wc in e&&(t==null||!!(e.type&t))}const gh=["params","query","hash"];function mh(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of gh)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function yh(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(jc," "),o=r.indexOf("="),i=Wn(o<0?r:r.slice(0,o)),l=o<0?null:Wn(r.slice(o+1));if(i in t){let c=t[i];st(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Ai(e){let t="";for(let n in e){const s=e[n];if(n=Qd(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(st(s)?s.map(r=>r&&qr(r)):[s&&qr(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function _h(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=st(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const bh=Symbol(""),Ci=Symbol(""),er=Symbol(""),yo=Symbol(""),Wr=Symbol("");function vn(){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 Lt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const u=h=>{h===!1?c(pn(ye.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?c(h):ph(h)?c(pn(ye.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),l())},a=o(()=>e.call(s&&s.instances[r],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(h=>c(h))})}function wr(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(Uc(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Lt(u,n,s,i,l,r))}else{let u=c();o.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=Hd(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const h=(f.__vccOpts||f)[t];return h&&Lt(h,n,s,i,l,r)()}))}}return o}function Eh(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(u=>hn(u,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>hn(u,c))||r.push(c))}return[n,s,r]}/*!
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let wh=()=>location.protocol+"//"+location.host;function Gc(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),Si(l,"")}return Si(n,e)+s+r}function Sh(e,t,n,s){let r=[],o=[],i=null;const l=({state:h})=>{const g=Gc(e,location),R=n.value,w=t.value;let C=0;if(h){if(n.value=g,t.value=h,i&&i===R){i=null;return}C=w?h.position-w.position:0}else s(g);r.forEach(_=>{_(n.value,R,{delta:C,type:$r.pop,direction:C?C>0?Er.forward:Er.back:Er.unknown})})};function c(){i=n.value}function u(h){r.push(h);const g=()=>{const R=r.indexOf(h);R>-1&&r.splice(R,1)};return o.push(g),g}function a(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(ie({},h.state,{scroll:Zs()}),"")}}function f(){for(const h of o)h();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:c,listen:u,destroy:f}}function Oi(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Zs():null}}function Rh(e){const{history:t,location:n}=window,s={value:Gc(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,u,a){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:wh()+e+c;try{t[a?"replaceState":"pushState"](u,"",h),r.value=u}catch(g){console.error(g),n[a?"replace":"assign"](h)}}function i(c,u){o(c,ie({},t.state,Oi(r.value.back,c,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=c}function l(c,u){const a=ie({},r.value,t.state,{forward:c,scroll:Zs()});o(a.current,a,!0),o(c,ie({},Oi(s.value,c,null),{position:a.position+1},u),!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function vh(e){e=lh(e);const t=Rh(e),n=Sh(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ie({location:"",base:e,go:s,createHref:ah.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 Kt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Re=(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})(Re||{});const Ah={type:Kt.Static,value:""},Ch=/[a-zA-Z0-9_]/;function Oh(e){if(!e)return[[]];if(e==="/")return[[Ah]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=Re.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,u="",a="";function f(){u&&(n===Re.Static?o.push({type:Kt.Static,value:u}):n===Re.Param||n===Re.ParamRegExp||n===Re.ParamRegExpEnd?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Kt.Param,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==Re.ParamRegExp){s=n,n=Re.EscapeNext;continue}switch(n){case Re.Static:c==="/"?(u&&f(),i()):c===":"?(f(),n=Re.Param):h();break;case Re.EscapeNext:h(),n=s;break;case Re.Param:c==="("?n=Re.ParamRegExp:Ch.test(c)?h():(f(),n=Re.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case Re.ParamRegExp:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=Re.ParamRegExpEnd:a+=c;break;case Re.ParamRegExpEnd:f(),n=Re.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===Re.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),r}const Ti="[^/]+?",Th={sensitive:!1,strict:!1,start:!0,end:!0};var Le=(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})(Le||{});const xh=/[.+*?^${}()[\]/\\]/g;function Ph(e,t){const n=ie({},Th,t),s=[];let r=n.start?"^":"";const o=[];for(const u of e){const a=u.length?[]:[Le.Root];n.strict&&!u.length&&(r+="/");for(let f=0;f<u.length;f++){const h=u[f];let g=Le.Segment+(n.sensitive?Le.BonusCaseSensitive:0);if(h.type===Kt.Static)f||(r+="/"),r+=h.value.replace(xh,"\\$&"),g+=Le.Static;else if(h.type===Kt.Param){const{value:R,repeatable:w,optional:C,regexp:_}=h;o.push({name:R,repeatable:w,optional:C});const E=_||Ti;if(E!==Ti){g+=Le.BonusCustomRegExp;try{`${E}`}catch(x){throw new Error(`Invalid custom RegExp for param "${R}" (${E}): `+x.message)}}let O=w?`((?:${E})(?:/(?:${E}))*)`:`(${E})`;f||(O=C&&u.length<2?`(?:/${O})`:"/"+O),C&&(O+="?"),r+=O,g+=Le.Dynamic,C&&(g+=Le.BonusOptional),w&&(g+=Le.BonusRepeatable),E===".*"&&(g+=Le.BonusWildcard)}a.push(g)}s.push(a)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=Le.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(u){const a=u.match(i),f={};if(!a)return null;for(let h=1;h<a.length;h++){const g=a[h]||"",R=o[h-1];f[R.name]=g&&R.repeatable?g.split("/"):g}return f}function c(u){let a="",f=!1;for(const h of e){(!f||!a.endsWith("/"))&&(a+="/"),f=!1;for(const g of h)if(g.type===Kt.Static)a+=g.value;else if(g.type===Kt.Param){const{value:R,repeatable:w,optional:C}=g,_=R in u?u[R]:"";if(st(_)&&!w)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const E=st(_)?_.join("/"):_;if(!E)if(C)h.length<2&&(a.endsWith("/")?a=a.slice(0,-1):f=!0);else throw new Error(`Missing required param "${R}"`);a+=E}}return a||"/"}return{re:i,score:s,keys:o,parse:l,stringify:c}}function Nh(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]===Le.Static+Le.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Le.Static+Le.Segment?1:-1:0}function zc(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=Nh(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(xi(s))return 1;if(xi(r))return-1}return r.length-s.length}function xi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ih={strict:!1,end:!0,sensitive:!1};function Dh(e,t,n){const s=Ph(Oh(e.path),n),r=ie(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Lh(e,t){const n=[],s=new Map;t=wi(Ih,t);function r(f){return s.get(f)}function o(f,h,g){const R=!g,w=Ni(f);w.aliasOf=g&&g.record;const C=wi(t,f),_=[w];if("alias"in f){const x=typeof f.alias=="string"?[f.alias]:f.alias;for(const j of x)_.push(Ni(ie({},w,{components:g?g.record.components:w.components,path:j,aliasOf:g?g.record:w})))}let E,O;for(const x of _){const{path:j}=x;if(h&&j[0]!=="/"){const q=h.record.path,B=q[q.length-1]==="/"?"":"/";x.path=h.record.path+(j&&B+j)}if(E=Dh(x,h,C),g?g.alias.push(E):(O=O||E,O!==E&&O.alias.push(E),R&&f.name&&!Ii(E)&&i(f.name)),Jc(E)&&c(E),w.children){const q=w.children;for(let B=0;B<q.length;B++)o(q[B],E,g&&g.children[B])}g=g||E}return O?()=>{i(O)}:Bn}function i(f){if(Kc(f)){const h=s.get(f);h&&(s.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const h=kh(f,n);n.splice(h,0,f),f.record.name&&!Ii(f)&&s.set(f.record.name,f)}function u(f,h){let g,R={},w,C;if("name"in f&&f.name){if(g=s.get(f.name),!g)throw pn(ye.MATCHER_NOT_FOUND,{location:f});C=g.record.name,R=ie(Pi(h.params,g.keys.filter(O=>!O.optional).concat(g.parent?g.parent.keys.filter(O=>O.optional):[]).map(O=>O.name)),f.params&&Pi(f.params,g.keys.map(O=>O.name))),w=g.stringify(R)}else if(f.path!=null)w=f.path,g=n.find(O=>O.re.test(w)),g&&(R=g.parse(w),C=g.record.name);else{if(g=h.name?s.get(h.name):n.find(O=>O.re.test(h.path)),!g)throw pn(ye.MATCHER_NOT_FOUND,{location:f,currentLocation:h});C=g.record.name,R=ie({},h.params,f.params),w=g.stringify(R)}const _=[];let E=g;for(;E;)_.unshift(E.record),E=E.parent;return{name:C,path:w,params:R,matched:_,meta:Mh(_)}}e.forEach(f=>o(f));function a(){n.length=0,s.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:r}}function Pi(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Ni(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Fh(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 Fh(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 Ii(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Mh(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function kh(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;zc(e,t[o])<0?s=o:n=o+1}const r=Uh(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Uh(e){let t=e;for(;t=t.parent;)if(Jc(t)&&zc(e,t)===0)return t}function Jc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Di(e){const t=Qe(er),n=Qe(yo),s=ke(()=>{const c=je(e.to);return t.resolve(c)}),r=ke(()=>{const{matched:c}=s.value,{length:u}=c,a=c[u-1],f=n.matched;if(!a||!f.length)return-1;const h=f.findIndex(hn.bind(null,a));if(h>-1)return h;const g=Li(c[u-2]);return u>1&&Li(a)===g&&f[f.length-1].path!==g?f.findIndex(hn.bind(null,c[u-2])):h}),o=ke(()=>r.value>-1&&qh(n.params,s.value.params)),i=ke(()=>r.value>-1&&r.value===n.matched.length-1&&$c(n.params,s.value.params));function l(c={}){if(Vh(c)){const u=t[je(e.replace)?"replace":"push"](je(e.to)).catch(Bn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:ke(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function Bh(e){return e.length===1?e[0]:e}const jh=Wl({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:Di,setup(e,{slots:t}){const n=Xn(Di(e)),{options:s}=Qe(er),r=ke(()=>({[Fi(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Fi(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Bh(t.default(n));return e.custom?o:an("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Hh=jh;function Vh(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 qh(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(!st(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function Li(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Fi=(e,t,n)=>e??t??n,$h=Wl({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Qe(Wr),r=ke(()=>e.route||s.value),o=Qe(Ci,0),i=ke(()=>{let u=je(o);const{matched:a}=r.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=ke(()=>r.value.matched[i.value]);fs(Ci,ke(()=>i.value+1)),fs(bh,l),fs(Wr,r);const c=Ft();return Dn(()=>[c.value,l.value,e.name],([u,a,f],[h,g,R])=>{a&&(a.instances[f]=u,g&&g!==a&&u&&u===h&&(a.leaveGuards.size||(a.leaveGuards=g.leaveGuards),a.updateGuards.size||(a.updateGuards=g.updateGuards))),u&&a&&(!g||!hn(a,g)||!h)&&(a.enterCallbacks[f]||[]).forEach(w=>w(u))},{flush:"post"}),()=>{const u=r.value,a=e.name,f=l.value,h=f&&f.components[a];if(!h)return Mi(n.default,{Component:h,route:u});const g=f.props[a],R=g?g===!0?u.params:typeof g=="function"?g(u):g:null,C=an(h,ie({},R,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return Mi(n.default,{Component:C,route:u})||C}}});function Mi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Kh=$h;function Wh(e){const t=Lh(e.routes,e),n=e.parseQuery||yh,s=e.stringifyQuery||Ai,r=e.history,o=vn(),i=vn(),l=vn(),c=tu(Tt);let u=Tt;rn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=_r.bind(null,A=>""+A),f=_r.bind(null,eh),h=_r.bind(null,Wn);function g(A,k){let M,K;return Kc(A)?(M=t.getRecordMatcher(A),K=k):K=A,t.addRoute(K,M)}function R(A){const k=t.getRecordMatcher(A);k&&t.removeRoute(k)}function w(){return t.getRoutes().map(A=>A.record)}function C(A){return!!t.getRecordMatcher(A)}function _(A,k){if(k=ie({},k||c.value),typeof A=="string"){const y=br(n,A,k.path),v=t.resolve({path:y.path},k),b=r.createHref(y.fullPath);return ie(y,v,{params:h(v.params),hash:Wn(y.hash),redirectedFrom:void 0,href:b})}let M;if(A.path!=null)M=ie({},A,{path:br(n,A.path,k.path).path});else{const y=ie({},A.params);for(const v in y)y[v]==null&&delete y[v];M=ie({},A,{params:f(y)}),k.params=f(k.params)}const K=t.resolve(M,k),ee=A.hash||"";K.params=a(h(K.params));const d=sh(s,ie({},A,{hash:Yd(ee),path:K.path})),p=r.createHref(d);return ie({fullPath:d,hash:ee,query:s===Ai?_h(A.query):A.query||{}},K,{redirectedFrom:void 0,href:p})}function E(A){return typeof A=="string"?br(n,A,c.value.path):ie({},A)}function O(A,k){if(u!==A)return pn(ye.NAVIGATION_CANCELLED,{from:k,to:A})}function x(A){return B(A)}function j(A){return x(ie(E(A),{replace:!0}))}function q(A,k){const M=A.matched[A.matched.length-1];if(M&&M.redirect){const{redirect:K}=M;let ee=typeof K=="function"?K(A,k):K;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=E(ee):{path:ee},ee.params={}),ie({query:A.query,hash:A.hash,params:ee.path!=null?{}:A.params},ee)}}function B(A,k){const M=u=_(A),K=c.value,ee=A.state,d=A.force,p=A.replace===!0,y=q(M,K);if(y)return B(ie(E(y),{state:typeof y=="object"?ie({},ee,y.state):ee,force:d,replace:p}),k||M);const v=M;v.redirectedFrom=k;let b;return!d&&rh(s,K,M)&&(b=pn(ye.NAVIGATION_DUPLICATED,{to:v,from:K}),ae(K,K,!0,!1)),(b?Promise.resolve(b):V(v,K)).catch(S=>bt(S)?bt(S,ye.NAVIGATION_GUARD_REDIRECT)?S:Ae(S):oe(S,v,K)).then(S=>{if(S){if(bt(S,ye.NAVIGATION_GUARD_REDIRECT))return B(ie({replace:p},E(S.to),{state:typeof S.to=="object"?ie({},ee,S.to.state):ee,force:d}),k||v)}else S=L(v,K,!0,p,ee);return z(v,K,S),S})}function H(A,k){const M=O(A,k);return M?Promise.reject(M):Promise.resolve()}function P(A){const k=Je.values().next().value;return k&&typeof k.runWithContext=="function"?k.runWithContext(A):A()}function V(A,k){let M;const[K,ee,d]=Eh(A,k);M=wr(K.reverse(),"beforeRouteLeave",A,k);for(const y of K)y.leaveGuards.forEach(v=>{M.push(Lt(v,A,k))});const p=H.bind(null,A,k);return M.push(p),Q(M).then(()=>{M=[];for(const y of o.list())M.push(Lt(y,A,k));return M.push(p),Q(M)}).then(()=>{M=wr(ee,"beforeRouteUpdate",A,k);for(const y of ee)y.updateGuards.forEach(v=>{M.push(Lt(v,A,k))});return M.push(p),Q(M)}).then(()=>{M=[];for(const y of d)if(y.beforeEnter)if(st(y.beforeEnter))for(const v of y.beforeEnter)M.push(Lt(v,A,k));else M.push(Lt(y.beforeEnter,A,k));return M.push(p),Q(M)}).then(()=>(A.matched.forEach(y=>y.enterCallbacks={}),M=wr(d,"beforeRouteEnter",A,k,P),M.push(p),Q(M))).then(()=>{M=[];for(const y of i.list())M.push(Lt(y,A,k));return M.push(p),Q(M)}).catch(y=>bt(y,ye.NAVIGATION_CANCELLED)?y:Promise.reject(y))}function z(A,k,M){l.list().forEach(K=>P(()=>K(A,k,M)))}function L(A,k,M,K,ee){const d=O(A,k);if(d)return d;const p=k===Tt,y=rn?history.state:{};M&&(K||p?r.replace(A.fullPath,ie({scroll:p&&y&&y.scroll},ee)):r.push(A.fullPath,ee)),c.value=A,ae(A,k,M,p),Ae()}let Z;function te(){Z||(Z=r.listen((A,k,M)=>{if(!ot.listening)return;const K=_(A),ee=q(K,ot.currentRoute.value);if(ee){B(ie(ee,{replace:!0,force:!0}),K).catch(Bn);return}u=K;const d=c.value;rn&&dh(vi(d.fullPath,M.delta),Zs()),V(K,d).catch(p=>bt(p,ye.NAVIGATION_ABORTED|ye.NAVIGATION_CANCELLED)?p:bt(p,ye.NAVIGATION_GUARD_REDIRECT)?(B(ie(E(p.to),{force:!0}),K).then(y=>{bt(y,ye.NAVIGATION_ABORTED|ye.NAVIGATION_DUPLICATED)&&!M.delta&&M.type===$r.pop&&r.go(-1,!1)}).catch(Bn),Promise.reject()):(M.delta&&r.go(-M.delta,!1),oe(p,K,d))).then(p=>{p=p||L(K,d,!1),p&&(M.delta&&!bt(p,ye.NAVIGATION_CANCELLED)?r.go(-M.delta,!1):M.type===$r.pop&&bt(p,ye.NAVIGATION_ABORTED|ye.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),z(K,d,p)}).catch(Bn)}))}let be=vn(),se=vn(),X;function oe(A,k,M){Ae(A);const K=se.list();return K.length?K.forEach(ee=>ee(A,k,M)):console.error(A),Promise.reject(A)}function ze(){return X&&c.value!==Tt?Promise.resolve():new Promise((A,k)=>{be.add([A,k])})}function Ae(A){return X||(X=!A,te(),be.list().forEach(([k,M])=>A?M(A):k()),be.reset()),A}function ae(A,k,M,K){const{scrollBehavior:ee}=e;if(!rn||!ee)return Promise.resolve();const d=!M&&hh(vi(A.fullPath,0))||(K||!M)&&history.state&&history.state.scroll||null;return co().then(()=>ee(A,k,d)).then(p=>p&&fh(p)).catch(p=>oe(p,A,k))}const me=A=>r.go(A);let Ve;const Je=new Set,ot={currentRoute:c,listening:!0,addRoute:g,removeRoute:R,clearRoutes:t.clearRoutes,hasRoute:C,getRoutes:w,resolve:_,options:e,push:x,replace:j,go:me,back:()=>me(-1),forward:()=>me(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:se.add,isReady:ze,install(A){A.component("RouterLink",Hh),A.component("RouterView",Kh),A.config.globalProperties.$router=ot,Object.defineProperty(A.config.globalProperties,"$route",{enumerable:!0,get:()=>je(c)}),rn&&!Ve&&c.value===Tt&&(Ve=!0,x(r.location).catch(K=>{}));const k={};for(const K in Tt)Object.defineProperty(k,K,{get:()=>c.value[K],enumerable:!0});A.provide(er,ot),A.provide(yo,Tl(k)),A.provide(Wr,c);const M=A.unmount;Je.add(A),A.unmount=function(){Je.delete(A),Je.size<1&&(u=Tt,Z&&Z(),Z=null,c.value=Tt,Ve=!1,X=!1),M()}}};function Q(A){return A.reduce((k,M)=>k.then(()=>P(M)),Promise.resolve())}return ot}function om(){return Qe(er)}function im(e){return Qe(yo)}function Xc(e,t){return function(){return e.apply(t,arguments)}}const{toString:Gh}=Object.prototype,{getPrototypeOf:gn}=Object,{iterator:es,toStringTag:Yc}=Symbol,Ns=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Gn=(e,t)=>{let n=e;const s=[];for(;n!=null&&n!==Object.prototype;){if(s.indexOf(n)!==-1)return!1;if(s.push(n),Ns(n,t))return!0;n=gn(n)}return!1},zh=(e,t)=>e!=null&&Gn(e,t)?e[t]:void 0,_o=(e=>t=>{const n=Gh.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rt=e=>(e=e.toLowerCase(),t=>_o(t)===e),tr=e=>t=>typeof t===e,{isArray:Qt}=Array,mn=tr("undefined");function yn(e){return e!==null&&!mn(e)&&e.constructor!==null&&!mn(e.constructor)&&He(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Qc=rt("ArrayBuffer");function Jh(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Qc(e.buffer),t}const Xh=tr("string"),He=tr("function"),Zc=tr("number"),_n=e=>e!==null&&typeof e=="object",Yh=e=>e===!0||e===!1,gs=e=>{if(!_n(e))return!1;const t=gn(e);return(t===null||t===Object.prototype||gn(t)===null)&&!Gn(e,Yc)&&!Gn(e,es)},Qh=e=>{if(!_n(e)||yn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Zh=rt("Date"),ep=rt("File"),tp=e=>!!(e&&typeof e.uri<"u"),np=e=>e&&typeof e.getParts<"u",sp=rt("Blob"),rp=rt("FileList"),op=e=>_n(e)&&He(e.pipe);function ip(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const ki=ip(),Ui=typeof ki.FormData<"u"?ki.FormData:void 0,lp=e=>{if(!e)return!1;if(Ui&&e instanceof Ui)return!0;const t=gn(e);if(!t||t===Object.prototype||!He(e.append))return!1;const n=_o(e);return n==="formdata"||n==="object"&&He(e.toString)&&e.toString()==="[object FormData]"},cp=rt("URLSearchParams"),[ap,up,fp,dp]=["ReadableStream","Request","Response","Headers"].map(rt),hp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ts(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),Qt(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{if(yn(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let l;for(s=0;s<i;s++)l=o[s],t.call(null,e[l],l,e)}}function ea(e,t){if(yn(e))return null;t=t.toLowerCase();const n=Object.keys(e);let s=n.length,r;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Wt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ta=e=>!mn(e)&&e!==Wt;function Gr(...e){const{caseless:t,skipUndefined:n}=ta(this)&&this||{},s={},r=(o,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const l=t&&typeof i=="string"&&ea(s,i)||i,c=Ns(s,l)?s[l]:void 0;gs(c)&&gs(o)?s[l]=Gr(c,o):gs(o)?s[l]=Gr({},o):Qt(o)?s[l]=o.slice():(!n||!mn(o))&&(s[l]=o)};for(let o=0,i=e.length;o<i;o++){const l=e[o];if(!l||yn(l)||(ts(l,r),typeof l!="object"||Qt(l)))continue;const c=Object.getOwnPropertySymbols(l);for(let u=0;u<c.length;u++){const a=c[u];Ap.call(l,a)&&r(l[a],a)}}return s}const pp=(e,t,n,{allOwnKeys:s}={})=>(ts(t,(r,o)=>{n&&He(r)?Object.defineProperty(e,o,{__proto__:null,value:Xc(r,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{__proto__:null,value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),e),gp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),mp=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},yp=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&gn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},_p=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},bp=e=>{if(!e)return null;if(Qt(e))return e;let t=e.length;if(!Zc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Ep=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&gn(Uint8Array)),wp=(e,t)=>{const s=(e&&e[es]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Sp=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Rp=rt("HTMLFormElement"),vp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),{propertyIsEnumerable:Ap}=Object.prototype,Cp=rt("RegExp"),na=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};ts(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},Op=e=>{na(e,(t,n)=>{if(He(e)&&["arguments","caller","callee"].includes(n))return!1;const s=e[n];if(He(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Tp=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return Qt(e)?s(e):s(String(e).split(t)),n},xp=()=>{},Pp=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Np(e){return!!(e&&He(e.append)&&e[Yc]==="FormData"&&e[es])}const Ip=e=>{const t=new WeakSet,n=s=>{if(_n(s)){if(t.has(s))return;if(yn(s))return s;if(!("toJSON"in s)){t.add(s);const r=Qt(s)?[]:{};return ts(s,(o,i)=>{const l=n(o);!mn(l)&&(r[i]=l)}),t.delete(s),r}}return s};return n(e)},Dp=rt("AsyncFunction"),Lp=e=>e&&(_n(e)||He(e))&&He(e.then)&&He(e.catch),sa=((e,t)=>e?setImmediate:t?((n,s)=>(Wt.addEventListener("message",({source:r,data:o})=>{r===Wt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),Wt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",He(Wt.postMessage)),Fp=typeof queueMicrotask<"u"?queueMicrotask.bind(Wt):typeof process<"u"&&process.nextTick||sa,ra=e=>e!=null&&He(e[es]),Mp=e=>e!=null&&Gn(e,es)&&ra(e),m={isArray:Qt,isArrayBuffer:Qc,isBuffer:yn,isFormData:lp,isArrayBufferView:Jh,isString:Xh,isNumber:Zc,isBoolean:Yh,isObject:_n,isPlainObject:gs,isEmptyObject:Qh,isReadableStream:ap,isRequest:up,isResponse:fp,isHeaders:dp,isUndefined:mn,isDate:Zh,isFile:ep,isReactNativeBlob:tp,isReactNative:np,isBlob:sp,isRegExp:Cp,isFunction:He,isStream:op,isURLSearchParams:cp,isTypedArray:Ep,isFileList:rp,forEach:ts,merge:Gr,extend:pp,trim:hp,stripBOM:gp,inherits:mp,toFlatObject:yp,kindOf:_o,kindOfTest:rt,endsWith:_p,toArray:bp,forEachEntry:wp,matchAll:Sp,isHTMLForm:Rp,hasOwnProperty:Ns,hasOwnProp:Ns,hasOwnInPrototypeChain:Gn,getSafeProp:zh,reduceDescriptors:na,freezeMethods:Op,toObjectSet:Tp,toCamelCase:vp,noop:xp,toFiniteNumber:Pp,findKey:ea,global:Wt,isContextDefined:ta,isSpecCompliantForm:Np,toJSONObject:Ip,isAsyncFn:Dp,isThenable:Lp,setImmediate:sa,asap:Fp,isIterable:ra,isSafeIterable:Mp},kp=m.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Up=e=>{const t={};let n,s,r;return e&&e.split(`
`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&kp[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t};function Bp(e){let t=0,n=e.length;for(;t<n;){const s=e.charCodeAt(t);if(s!==9&&s!==32)break;t+=1}for(;n>t;){const s=e.charCodeAt(n-1);if(s!==9&&s!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const jp=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Hp=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function bo(e,t){return m.isArray(e)?e.map(n=>bo(n,t)):Bp(String(e).replace(t,""))}const Vp=e=>bo(e,jp),qp=e=>bo(e,Hp);function oa(e){const t=Object.create(null);return m.forEach(e.toJSON(),(n,s)=>{t[s]=qp(n)}),t}const Bi=Symbol("internals");function An(e){return e&&String(e).trim().toLowerCase()}function ms(e){return e===!1||e==null?e:m.isArray(e)?e.map(ms):Vp(String(e))}function $p(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Kp=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Sr(e,t,n,s,r){if(m.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!m.isString(t)){if(m.isString(s))return t.indexOf(s)!==-1;if(m.isRegExp(s))return s.test(t)}}function Wp(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Gp(e,t){const n=m.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{__proto__:null,value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}let Ne=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,u){const a=An(c);if(!a)return;const f=m.findKey(r,a);(!f||r[f]===void 0||u===!0||u===void 0&&r[f]!==!1)&&(r[f||c]=ms(l))}const i=(l,c)=>m.forEach(l,(u,a)=>o(u,a,c));if(m.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(m.isString(t)&&(t=t.trim())&&!Kp(t))i(Up(t),n);else if(m.isObject(t)&&m.isSafeIterable(t)){let l=Object.create(null),c,u;for(const a of t){if(!m.isArray(a))throw new TypeError("Object iterator must return a key-value pair");u=a[0],m.hasOwnProp(l,u)?(c=l[u],l[u]=m.isArray(c)?[...c,a[1]]:[c,a[1]]):l[u]=a[1]}i(l,n)}else t!=null&&o(n,t,s);return this}get(t,n){if(t=An(t),t){const s=m.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return $p(r);if(m.isFunction(n))return n.call(this,r,s);if(m.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=An(t),t){const s=m.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Sr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=An(i),i){const l=m.findKey(s,i);l&&(!n||Sr(s,s[l],l,n))&&(delete s[l],r=!0)}}return m.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||Sr(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return m.forEach(this,(r,o)=>{const i=m.findKey(s,o);if(i){n[i]=ms(r),delete n[o];return}const l=t?Wp(o):String(o).trim();l!==o&&delete n[o],n[l]=ms(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return m.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&m.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Bi]=this[Bi]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=An(i);s[l]||(Gp(r,i),s[l]=!0)}return m.isArray(t)?t.forEach(o):o(t),this}};Ne.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);m.reduceDescriptors(Ne.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});m.freezeMethods(Ne);const zp="[REDACTED ****]";function Jp(e){if(m.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(m.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function Xp(e,t){const n=new Set(t.map(o=>String(o).toLowerCase())),s=[],r=o=>{if(o===null||typeof o!="object"||m.isBuffer(o))return o;if(s.indexOf(o)!==-1)return;o instanceof Ne&&(o=o.toJSON()),s.push(o);let i;if(m.isArray(o))i=[],o.forEach((l,c)=>{const u=r(l);m.isUndefined(u)||(i[c]=u)});else{if(!m.isPlainObject(o)&&Jp(o))return s.pop(),o;i=Object.create(null);for(const[l,c]of Object.entries(o)){const u=n.has(l.toLowerCase())?zp:r(c);m.isUndefined(u)||(i[l]=u)}}return s.pop(),i};return r(e)}let F=class ia extends Error{static from(t,n,s,r,o,i){const l=new ia(t.message,n||t.code,s,r,o);return Object.defineProperty(l,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),l.name=t.name,t.status!=null&&l.status==null&&(l.status=t.status),i&&Object.assign(l,i),l}constructor(t,n,s,r,o){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),s&&(this.config=s),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){const t=this.config,n=t&&m.hasOwnProp(t,"redact")?t.redact:void 0,s=m.isArray(n)&&n.length>0?Xp(t,n):m.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:s,code:this.code,status:this.status}}};F.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";F.ERR_BAD_OPTION="ERR_BAD_OPTION";F.ECONNABORTED="ECONNABORTED";F.ETIMEDOUT="ETIMEDOUT";F.ECONNREFUSED="ECONNREFUSED";F.ERR_NETWORK="ERR_NETWORK";F.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";F.ERR_DEPRECATED="ERR_DEPRECATED";F.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";F.ERR_BAD_REQUEST="ERR_BAD_REQUEST";F.ERR_CANCELED="ERR_CANCELED";F.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";F.ERR_INVALID_URL="ERR_INVALID_URL";F.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Yp=null,la=100;function zr(e){return m.isPlainObject(e)||m.isArray(e)}function ca(e){return m.endsWith(e,"[]")?e.slice(0,-2):e}function Rr(e,t,n){return e?e.concat(t).map(function(r,o){return r=ca(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Qp(e){return m.isArray(e)&&!e.some(zr)}const Zp=m.toFlatObject(m,{},null,function(t){return/^is[A-Z]/.test(t)});function nr(e,t,n){if(!m.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=m.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,O){return!m.isUndefined(O[E])});const s=n.metaTokens,r=n.visitor||R,o=n.dots,i=n.indexes,l=n.Blob||typeof Blob<"u"&&Blob,c=n.maxDepth===void 0?la:n.maxDepth,u=l&&m.isSpecCompliantForm(t),a=[];if(!m.isFunction(r))throw new TypeError("visitor must be a function");function f(_){if(_===null)return"";if(m.isDate(_))return _.toISOString();if(m.isBoolean(_))return _.toString();if(!u&&m.isBlob(_))throw new F("Blob is not supported. Use a Buffer instead.");if(m.isArrayBuffer(_)||m.isTypedArray(_)){if(u&&typeof l=="function")return new l([_]);if(typeof Buffer<"u")return Buffer.from(_);throw new F("Blob is not supported. Use a Buffer instead.",F.ERR_NOT_SUPPORT)}return _}function h(_){if(_>c)throw new F("Object is too deeply nested ("+_+" levels). Max depth: "+c,F.ERR_FORM_DATA_DEPTH_EXCEEDED)}function g(_,E){if(c===1/0)return JSON.stringify(_);const O=[];return JSON.stringify(_,function(j,q){if(!m.isObject(q))return q;for(;O.length&&O[O.length-1]!==this;)O.pop();return O.push(q),h(E+O.length-1),q})}function R(_,E,O){let x=_;if(m.isReactNative(t)&&m.isReactNativeBlob(_))return t.append(Rr(O,E,o),f(_)),!1;if(_&&!O&&typeof _=="object"){if(m.endsWith(E,"{}"))E=s?E:E.slice(0,-2),_=g(_,1);else if(m.isArray(_)&&Qp(_)||(m.isFileList(_)||m.endsWith(E,"[]"))&&(x=m.toArray(_)))return E=ca(E),x.forEach(function(q,B){!(m.isUndefined(q)||q===null)&&t.append(i===!0?Rr([E],B,o):i===null?E:E+"[]",f(q))}),!1}return zr(_)?!0:(t.append(Rr(O,E,o),f(_)),!1)}const w=Object.assign(Zp,{defaultVisitor:R,convertValue:f,isVisitable:zr});function C(_,E,O=0){if(!m.isUndefined(_)){if(h(O),a.indexOf(_)!==-1)throw new Error("Circular reference detected in "+E.join("."));a.push(_),m.forEach(_,function(j,q){(!(m.isUndefined(j)||j===null)&&r.call(t,j,m.isString(q)?q.trim():q,E,w))===!0&&C(j,E?E.concat(q):[q],O+1)}),a.pop()}}if(!m.isObject(e))throw new TypeError("data must be an object");return C(e),t}function ji(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(s){return t[s]})}function Eo(e,t){this._pairs=[],e&&nr(e,this,t)}const aa=Eo.prototype;aa.append=function(t,n){this._pairs.push([t,n])};aa.toString=function(t){const n=t?s=>t.call(this,s,ji):ji;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function eg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ua(e,t,n){if(!t)return e;e=e||"";const s=m.isFunction(n)?{serialize:n}:n,r=m.getSafeProp(s,"encode")||eg,o=m.getSafeProp(s,"serialize");let i;if(o?i=o(t,s):i=m.isURLSearchParams(t)?t.toString():new Eo(t,s).toString(r),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Hi{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){m.forEach(this.handlers,function(s){s!==null&&t(s)})}}const wo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},tg=typeof URLSearchParams<"u"?URLSearchParams:Eo,ng=typeof FormData<"u"?FormData:null,sg=typeof Blob<"u"?Blob:null,rg={isBrowser:!0,classes:{URLSearchParams:tg,FormData:ng,Blob:sg},protocols:["http","https","file","blob","url","data"]},So=typeof window<"u"&&typeof document<"u",Jr=typeof navigator=="object"&&navigator||void 0,og=So&&(!Jr||["ReactNative","NativeScript","NS"].indexOf(Jr.product)<0),ig=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",lg=So&&window.location.href||"http://localhost",cg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:So,hasStandardBrowserEnv:og,hasStandardBrowserWebWorkerEnv:ig,navigator:Jr,origin:lg},Symbol.toStringTag,{value:"Module"})),Oe={...cg,...rg};function ag(e,t){return nr(e,new Oe.classes.URLSearchParams,{visitor:function(n,s,r,o){return Oe.isNode&&m.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}const Vi=la;function fa(e){if(e>Vi)throw new F("FormData field is too deeply nested ("+e+" levels). Max depth: "+Vi,F.ERR_FORM_DATA_DEPTH_EXCEEDED)}function ug(e){const t=[],n=/\w+|\[(\w*)]/g;let s;for(;(s=n.exec(e))!==null;)fa(t.length),t.push(s[0]==="[]"?"":s[1]||s[0]);return t}function fg(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s<r;s++)o=n[s],t[o]=e[o];return t}function da(e){function t(n,s,r,o){fa(o);let i=n[o++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),c=o>=n.length;return i=!i&&m.isArray(r)?r.length:i,c?(m.hasOwnProp(r,i)?r[i]=m.isArray(r[i])?r[i].concat(s):[r[i],s]:r[i]=s,!l):((!m.hasOwnProp(r,i)||!m.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&m.isArray(r[i])&&(r[i]=fg(r[i])),!l)}if(m.isFormData(e)&&m.isFunction(e.entries)){const n={};return m.forEachEntry(e,(s,r)=>{t(ug(s),r,n,0)}),n}return null}const nn=(e,t)=>e!=null&&m.hasOwnProp(e,t)?e[t]:void 0;function dg(e,t,n){if(m.isString(e))try{return(t||JSON.parse)(e),m.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const ns={transitional:wo,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=m.isObject(t);if(o&&m.isHTMLForm(t)&&(t=new FormData(t)),m.isFormData(t))return r?JSON.stringify(da(t)):t;if(m.isArrayBuffer(t)||m.isBuffer(t)||m.isStream(t)||m.isFile(t)||m.isBlob(t)||m.isReadableStream(t))return t;if(m.isArrayBufferView(t))return t.buffer;if(m.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){const c=nn(this,"formSerializer");if(s.indexOf("application/x-www-form-urlencoded")>-1)return ag(t,c).toString();if((l=m.isFileList(t))||s.indexOf("multipart/form-data")>-1){const u=nn(this,"env"),a=u&&u.FormData;return nr(l?{"files[]":t}:t,a&&new a,c)}}return o||r?(n.setContentType("application/json",!1),dg(t)):t}],transformResponse:[function(t){const n=nn(this,"transitional")||ns.transitional,s=n&&n.forcedJSONParsing,r=nn(this,"responseType"),o=r==="json";if(m.isResponse(t)||m.isReadableStream(t))return t;if(t&&m.isString(t)&&(s&&!r||o)){const l=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,nn(this,"parseReviver"))}catch(c){if(l)throw c.name==="SyntaxError"?F.from(c,F.ERR_BAD_RESPONSE,this,null,nn(this,"response")):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Oe.classes.FormData,Blob:Oe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};m.forEach(["delete","get","head","post","put","patch","query"],e=>{ns.headers[e]={}});function vr(e,t){const n=this||ns,s=t||n,r=Ne.from(s.headers);let o=s.data;return m.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function ha(e){return!!(e&&e.__CANCEL__)}let ss=class extends F{constructor(t,n,s){super(t??"canceled",F.ERR_CANCELED,n,s),this.name="CanceledError",this.__CANCEL__=!0}};function pa(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new F("Request failed with status code "+n.status,n.status>=400&&n.status<500?F.ERR_BAD_REQUEST:F.ERR_BAD_RESPONSE,n.config,n.request,n))}function hg(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function pg(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),a=s[o];i||(i=u),n[r]=c,s[r]=u;let f=o,h=0;for(;f!==r;)h+=n[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),u-i<t)return;const g=a&&u-a;return g?Math.round(h*1e3/g):void 0}}function gg(e,t){let n=0,s=1e3/t,r,o;const i=(u,a=Date.now())=>{n=a,r=null,o&&(clearTimeout(o),o=null),e(...u)};return[(...u)=>{const a=Date.now(),f=a-n;f>=s?i(u,a):(r=u,o||(o=setTimeout(()=>{o=null,i(r)},s-f)))},()=>r&&i(r)]}const Is=(e,t,n=3)=>{let s=0;const r=pg(50,250);return gg(o=>{if(!o||typeof o.loaded!="number")return;const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=l!=null?Math.min(i,l):i,u=Math.max(0,c-s),a=r(u);s=Math.max(s,c);const f={loaded:c,total:l,progress:l?c/l:void 0,bytes:u,rate:a||void 0,estimated:a&&l?(l-c)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},qi=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},$i=e=>(...t)=>m.asap(()=>e(...t)),mg=Oe.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Oe.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Oe.origin),Oe.navigator&&/(msie|trident)/i.test(Oe.navigator.userAgent)):()=>!0,yg=Oe.hasStandardBrowserEnv?{write(e,t,n,s,r,o,i){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];m.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),m.isString(s)&&l.push(`path=${s}`),m.isString(r)&&l.push(`domain=${r}`),o===!0&&l.push("secure"),m.isString(i)&&l.push(`SameSite=${i}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const s=t[n].replace(/^\s+/,""),r=s.indexOf("=");if(r!==-1&&s.slice(0,r)===e)try{return decodeURIComponent(s.slice(r+1))}catch{return s.slice(r+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function _g(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function bg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const Eg=/^https?:(?!\/\/)/i,wg=/[\t\n\r]/g;function Sg(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function Rg(e){return Sg(e).replace(wg,"")}function Ki(e,t){if(typeof e=="string"&&Eg.test(Rg(e)))throw new F('Invalid URL: missing "//" after protocol',F.ERR_INVALID_URL,t)}function ga(e,t,n,s){Ki(t,s);let r=!_g(t);return e&&(r||n===!1)?(Ki(e,s),bg(e,t)):t}const Wi=e=>e instanceof Ne?{...e}:e;function Zt(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function s(a,f,h,g){return m.isPlainObject(a)&&m.isPlainObject(f)?m.merge.call({caseless:g},a,f):m.isPlainObject(f)?m.merge({},f):m.isArray(f)?f.slice():f}function r(a,f,h,g){if(m.isUndefined(f)){if(!m.isUndefined(a))return s(void 0,a,h,g)}else return s(a,f,h,g)}function o(a,f){if(!m.isUndefined(f))return s(void 0,f)}function i(a,f){if(m.isUndefined(f)){if(!m.isUndefined(a))return s(void 0,a)}else return s(void 0,f)}function l(a){const f=m.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!m.isUndefined(f))if(m.isPlainObject(f)){if(m.hasOwnProp(f,a))return f[a]}else return;const h=m.hasOwnProp(e,"transitional")?e.transitional:void 0;if(m.isPlainObject(h)&&m.hasOwnProp(h,a))return h[a]}function c(a,f,h){if(m.hasOwnProp(t,h))return s(a,f);if(m.hasOwnProp(e,h))return s(void 0,a)}const u={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:c,headers:(a,f,h)=>r(Wi(a),Wi(f),h,!0)};return m.forEach(Object.keys({...e,...t}),function(f){if(f==="__proto__"||f==="constructor"||f==="prototype")return;const h=m.hasOwnProp(u,f)?u[f]:r,g=m.hasOwnProp(e,f)?e[f]:void 0,R=m.hasOwnProp(t,f)?t[f]:void 0,w=h(g,R,f);m.isUndefined(w)&&h!==c||(n[f]=w)}),m.hasOwnProp(t,"validateStatus")&&m.isUndefined(t.validateStatus)&&l("validateStatusUndefinedResolves")===!1&&(m.hasOwnProp(e,"validateStatus")?n.validateStatus=s(void 0,e.validateStatus):delete n.validateStatus),n}const vg=["content-type","content-length"];function Ag(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([s,r])=>{vg.includes(s.toLowerCase())&&e.set(s,r)})}const Cg=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function ma(e){const t=Zt({},e),n=h=>m.hasOwnProp(t,h)?t[h]:void 0,s=n("data");let r=n("withXSRFToken");const o=n("xsrfHeaderName"),i=n("xsrfCookieName");let l=n("headers");const c=n("auth"),u=n("baseURL"),a=n("allowAbsoluteUrls"),f=n("url");if(t.headers=l=Ne.from(l),t.url=ua(ga(u,f,a,t),n("params"),n("paramsSerializer")),c){const h=m.getSafeProp(c,"username")||"",g=m.getSafeProp(c,"password")||"";try{l.set("Authorization","Basic "+btoa(h+":"+(g?Cg(g):"")))}catch(R){throw F.from(R,F.ERR_BAD_OPTION_VALUE,e)}}if(m.isFormData(s)&&(Oe.hasStandardBrowserEnv||Oe.hasStandardBrowserWebWorkerEnv||m.isReactNative(s)?l.setContentType(void 0):m.isFunction(s.getHeaders)&&Ag(l,s.getHeaders(),n("formDataHeaderPolicy"))),Oe.hasStandardBrowserEnv&&(m.isFunction(r)&&(r=r(t)),r===!0||r==null&&mg(t.url))){const g=o&&i&&yg.read(i);g&&l.set(o,g)}return t}const Og=typeof XMLHttpRequest<"u",Tg=Og&&function(e){return new Promise(function(n,s){const r=ma(e);let o=r.data;const i=Ne.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=r,a,f,h,g,R;function w(){g&&g(),R&&R(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let C=new XMLHttpRequest;C.open(r.method.toUpperCase(),r.url,!0),C.timeout=r.timeout;function _(){if(!C)return;const O=Ne.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),j={data:!l||l==="text"||l==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:O,config:e,request:C};pa(function(B){n(B),w()},function(B){s(B),w()},j),C=null}"onloadend"in C?C.onloadend=_:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.startsWith("file:"))||setTimeout(_)},C.onabort=function(){C&&(s(new F("Request aborted",F.ECONNABORTED,e,C)),w(),C=null)},C.onerror=function(x){const j=x&&x.message?x.message:"Network Error",q=new F(j,F.ERR_NETWORK,e,C);q.event=x||null,s(q),w(),C=null},C.ontimeout=function(){let x=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const j=r.transitional||wo;r.timeoutErrorMessage&&(x=r.timeoutErrorMessage),s(new F(x,j.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,e,C)),w(),C=null},o===void 0&&i.setContentType(null),"setRequestHeader"in C&&m.forEach(oa(i),function(x,j){C.setRequestHeader(j,x)}),m.isUndefined(r.withCredentials)||(C.withCredentials=!!r.withCredentials),l&&l!=="json"&&(C.responseType=r.responseType),u&&([h,R]=Is(u,!0),C.addEventListener("progress",h)),c&&C.upload&&([f,g]=Is(c),C.upload.addEventListener("progress",f),C.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(a=O=>{C&&(s(!O||O.type?new ss(null,e,C):O),C.abort(),w(),C=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const E=hg(r.url);if(E&&!Oe.protocols.includes(E)){s(new F("Unsupported protocol "+E+":",F.ERR_BAD_REQUEST,e)),w();return}C.send(o||null)})},xg=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let s=!1;const r=function(c){if(!s){s=!0,i();const u=c instanceof Error?c:this.reason;n.abort(u instanceof F?u:new ss(u instanceof Error?u.message:u))}};let o=t&&setTimeout(()=>{o=null,r(new F(`timeout of ${t}ms exceeded`,F.ETIMEDOUT))},t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),e=null)};e.forEach(c=>c.addEventListener("abort",r,{once:!0}));const{signal:l}=n;return l.unsubscribe=()=>m.asap(i),l},Pg=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let s=0,r;for(;s<n;)r=s+t,yield e.slice(s,r),s=r},Ng=async function*(e,t){for await(const n of Ig(e))yield*Pg(n,t)},Ig=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:s}=await t.read();if(n)break;yield s}}finally{await t.cancel()}},Gi=(e,t,n,s)=>{const r=Ng(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:u,value:a}=await r.next();if(u){l(),c.close();return}let f=a.byteLength;if(n){let h=o+=f;n(h)}c.enqueue(new Uint8Array(a))}catch(u){throw l(u),u}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},Ds=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,Dg=(e,t,n)=>t+2<n&&Ds(e.charCodeAt(t+1))&&Ds(e.charCodeAt(t+2));function Lg(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),s=e.slice(t+1);if(/;base64/i.test(n)){let i=s.length;const l=s.length;for(let g=0;g<l;g++)if(s.charCodeAt(g)===37&&g+2<l){const R=s.charCodeAt(g+1),w=s.charCodeAt(g+2);Ds(R)&&Ds(w)&&(i-=2,g+=2)}let c=0,u=l-1;const a=g=>g>=2&&s.charCodeAt(g-2)===37&&s.charCodeAt(g-1)===51&&(s.charCodeAt(g)===68||s.charCodeAt(g)===100);u>=0&&(s.charCodeAt(u)===61?(c++,u--):a(u)&&(c++,u-=3)),c===1&&u>=0&&(s.charCodeAt(u)===61||a(u))&&c++;const h=Math.floor(i/4)*3-(c||0);return h>0?h:0}let o=0;for(let i=0,l=s.length;i<l;i++){const c=s.charCodeAt(i);if(c===37&&Dg(s,i,l))o+=1,i+=2;else if(c<128)o+=1;else if(c<2048)o+=2;else if(c>=55296&&c<=56319&&i+1<l){const u=s.charCodeAt(i+1);u>=56320&&u<=57343?(o+=4,i++):o+=3}else o+=3}return o}const Ro="1.18.1",zi=64*1024,{isFunction:cs}=m,Fg=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Ji=e=>{if(!m.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Xi=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Mg=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},kg=e=>{const t=m.global!==void 0&&m.global!==null?m.global:globalThis,{ReadableStream:n,TextEncoder:s}=t;e=m.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:r,Request:o,Response:i}=e,l=r?cs(r):typeof fetch=="function",c=cs(o),u=cs(i);if(!l)return!1;const a=l&&cs(n),f=l&&(typeof s=="function"?(_=>E=>_.encode(E))(new s):async _=>new Uint8Array(await new o(_).arrayBuffer())),h=c&&a&&Xi(()=>{let _=!1;const E=new o(Oe.origin,{body:new n,method:"POST",get duplex(){return _=!0,"half"}}),O=E.headers.has("Content-Type");return E.body!=null&&E.body.cancel(),_&&!O}),g=u&&a&&Xi(()=>m.isReadableStream(new i("").body)),R={stream:g&&(_=>_.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(_=>{!R[_]&&(R[_]=(E,O)=>{let x=E&&E[_];if(x)return x.call(E);throw new F(`Response type '${_}' is not supported`,F.ERR_NOT_SUPPORT,O)})});const w=async _=>{if(_==null)return 0;if(m.isBlob(_))return _.size;if(m.isSpecCompliantForm(_))return(await new o(Oe.origin,{method:"POST",body:_}).arrayBuffer()).byteLength;if(m.isArrayBufferView(_)||m.isArrayBuffer(_))return _.byteLength;if(m.isURLSearchParams(_)&&(_=_+""),m.isString(_))return(await f(_)).byteLength},C=async(_,E)=>{const O=m.toFiniteNumber(_.getContentLength());return O??w(E)};return async _=>{let{url:E,method:O,data:x,signal:j,cancelToken:q,timeout:B,onDownloadProgress:H,onUploadProgress:P,responseType:V,headers:z,withCredentials:L="same-origin",fetchOptions:Z,maxContentLength:te,maxBodyLength:be}=ma(_);const se=m.isNumber(te)&&te>-1,X=m.isNumber(be)&&be>-1,oe=Q=>m.hasOwnProp(_,Q)?_[Q]:void 0;let ze=r||fetch;V=V?(V+"").toLowerCase():"text";let Ae=xg([j,q&&q.toAbortSignal()],B),ae=null;const me=Ae&&Ae.unsubscribe&&(()=>{Ae.unsubscribe()});let Ve,Je=null;const ot=()=>new F("Request body larger than maxBodyLength limit",F.ERR_BAD_REQUEST,_,ae);try{let Q;const A=oe("auth");if(A){const b=m.getSafeProp(A,"username")||"",S=m.getSafeProp(A,"password")||"";Q={username:b,password:S}}if(Mg(E)){const b=new URL(E,Oe.origin);if(!Q&&(b.username||b.password)){const S=Ji(b.username),D=Ji(b.password);Q={username:S,password:D}}(b.username||b.password)&&(b.username="",b.password="",E=b.href)}if(Q&&(z.delete("authorization"),z.set("Authorization","Basic "+btoa(Fg((Q.username||"")+":"+(Q.password||""))))),se&&typeof E=="string"&&E.startsWith("data:")&&Lg(E)>te)throw new F("maxContentLength size of "+te+" exceeded",F.ERR_BAD_RESPONSE,_,ae);if(X&&O!=="get"&&O!=="head"){const b=await w(x);if(typeof b=="number"&&isFinite(b)&&(Ve=b,b>be))throw ot()}const k=X&&(m.isReadableStream(x)||m.isStream(x)),M=(b,S,D)=>Gi(b,zi,N=>{if(X&&N>be)throw Je=ot();S&&S(N)},D);if(h&&O!=="get"&&O!=="head"&&(P||k)){if(Ve=Ve??await C(z,x),Ve!==0||k){let b=new o(E,{method:"POST",body:x,duplex:"half"}),S;if(m.isFormData(x)&&(S=b.headers.get("content-type"))&&z.setContentType(S),b.body){const[D,N]=P&&qi(Ve,Is($i(P)))||[];x=M(b.body,D,N)}}}else if(k&&!c&&a&&O!=="get"&&O!=="head")x=M(x);else if(k&&c&&!h&&O!=="get"&&O!=="head")throw new F("Stream request bodies are not supported by the current fetch implementation",F.ERR_NOT_SUPPORT,_,ae);m.isString(L)||(L=L?"include":"omit");const K=c&&"credentials"in o.prototype;if(m.isFormData(x)){const b=z.getContentType();b&&/^multipart\/form-data/i.test(b)&&!/boundary=/i.test(b)&&z.delete("content-type")}z.set("User-Agent","axios/"+Ro,!1);const ee={...Z,signal:Ae,method:O.toUpperCase(),headers:oa(z.normalize()),body:x,duplex:"half",credentials:K?L:void 0};ae=c&&new o(E,ee);let d=await(c?ze(ae,Z):ze(E,ee));const p=Ne.from(d.headers);if(se){const b=m.toFiniteNumber(p.getContentLength());if(b!=null&&b>te)throw new F("maxContentLength size of "+te+" exceeded",F.ERR_BAD_RESPONSE,_,ae)}const y=g&&(V==="stream"||V==="response");if(g&&d.body&&(H||se||y&&me)){const b={};["status","statusText","headers"].forEach($=>{b[$]=d[$]});const S=m.toFiniteNumber(p.getContentLength()),[D,N]=H&&qi(S,Is($i(H),!0))||[];let I=0;const T=$=>{if(se&&(I=$,I>te))throw new F("maxContentLength size of "+te+" exceeded",F.ERR_BAD_RESPONSE,_,ae);D&&D($)};d=new i(Gi(d.body,zi,T,()=>{N&&N(),me&&me()}),b)}V=V||"text";let v=await R[m.findKey(R,V)||"text"](d,_);if(se&&!g&&!y){let b;if(v!=null&&(typeof v.byteLength=="number"?b=v.byteLength:typeof v.size=="number"?b=v.size:typeof v=="string"&&(b=typeof s=="function"?new s().encode(v).byteLength:v.length)),typeof b=="number"&&b>te)throw new F("maxContentLength size of "+te+" exceeded",F.ERR_BAD_RESPONSE,_,ae)}return!y&&me&&me(),await new Promise((b,S)=>{pa(b,S,{data:v,headers:Ne.from(d.headers),status:d.status,statusText:d.statusText,config:_,request:ae})})}catch(Q){if(me&&me(),Ae&&Ae.aborted&&Ae.reason instanceof F){const A=Ae.reason;throw A.config=_,ae&&(A.request=ae),Q!==A&&Object.defineProperty(A,"cause",{__proto__:null,value:Q,writable:!0,enumerable:!1,configurable:!0}),A}if(Je)throw ae&&!Je.request&&(Je.request=ae),Je;if(Q instanceof F)throw ae&&!Q.request&&(Q.request=ae),Q;if(Q&&Q.name==="TypeError"&&/Load failed|fetch/i.test(Q.message)){const A=new F("Network Error",F.ERR_NETWORK,_,ae,Q&&Q.response);throw Object.defineProperty(A,"cause",{__proto__:null,value:Q.cause||Q,writable:!0,enumerable:!1,configurable:!0}),A}throw F.from(Q,Q&&Q.code,_,ae,Q&&Q.response)}}},Ug=new Map,ya=e=>{let t=e&&e.env||{};const{fetch:n,Request:s,Response:r}=t,o=[s,r,n];let i=o.length,l=i,c,u,a=Ug;for(;l--;)c=o[l],u=a.get(c),u===void 0&&a.set(c,u=l?new Map:kg(t)),a=u;return u};ya();const vo={http:Yp,xhr:Tg,fetch:{get:ya}};m.forEach(vo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Yi=e=>`- ${e}`,Bg=e=>m.isFunction(e)||e===null||e===!1;function jg(e,t){e=m.isArray(e)?e:[e];const{length:n}=e;let s,r;const o={};for(let i=0;i<n;i++){s=e[i];let l;if(r=s,!Bg(s)&&(r=vo[(l=String(s)).toLowerCase()],r===void 0))throw new F(`Unknown adapter '${l}'`);if(r&&(m.isFunction(r)||(r=r.get(t))))break;o[l||"#"+i]=r}if(!r){const i=Object.entries(o).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=n?i.length>1?`since :
`+i.map(Yi).join(`
`):" "+Yi(i[0]):"as no adapter specified";throw new F("There is no suitable adapter to dispatch the request "+l,F.ERR_NOT_SUPPORT)}return r}const _a={getAdapter:jg,adapters:vo};function Ar(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ss(null,e)}function Qi(e){return Ar(e),e.headers=Ne.from(e.headers),e.data=vr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_a.getAdapter(e.adapter||ns.adapter,e)(e).then(function(s){Ar(e),e.response=s;try{s.data=vr.call(e,e.transformResponse,s)}finally{delete e.response}return s.headers=Ne.from(s.headers),s},function(s){if(!ha(s)&&(Ar(e),s&&s.response)){e.response=s.response;try{s.response.data=vr.call(e,e.transformResponse,s.response)}finally{delete e.response}s.response.headers=Ne.from(s.response.headers)}return Promise.reject(s)})}const sr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{sr[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Zi={};sr.transitional=function(t,n,s){function r(o,i){return"[Axios v"+Ro+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new F(r(i," has been removed"+(n?" in "+n:"")),F.ERR_DEPRECATED);return n&&!Zi[i]&&(Zi[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};sr.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function Hg(e,t,n){if(typeof e!="object"||e===null)throw new F("options must be an object",F.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new F("option "+o+" must be "+c,F.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new F("Unknown option "+o,F.ERR_BAD_OPTION)}}const ys={assertOptions:Hg,validators:sr},Te=ys.validators;let Xt=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Hi,response:new Hi}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=(()=>{if(!r.stack)return"";const i=r.stack.indexOf(`
`);return i===-1?"":r.stack.slice(i+1)})();try{if(!s.stack)s.stack=o;else if(o){const i=o.indexOf(`
`),l=i===-1?-1:o.indexOf(`
`,i+1),c=l===-1?"":o.slice(l+1);String(s.stack).endsWith(c)||(s.stack+=`
`+o)}}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Zt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&ys.assertOptions(s,{silentJSONParsing:Te.transitional(Te.boolean),forcedJSONParsing:Te.transitional(Te.boolean),clarifyTimeoutError:Te.transitional(Te.boolean),legacyInterceptorReqResOrdering:Te.transitional(Te.boolean),advertiseZstdAcceptEncoding:Te.transitional(Te.boolean),validateStatusUndefinedResolves:Te.transitional(Te.boolean)},!1),r!=null&&(m.isFunction(r)?n.paramsSerializer={serialize:r}:ys.assertOptions(r,{encode:Te.function,serialize:Te.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ys.assertOptions(n,{baseUrl:Te.spelling("baseURL"),withXsrfToken:Te.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&m.merge(o.common,o[n.method]);o&&m.forEach(["delete","get","head","post","put","patch","query","common"],R=>{delete o[R]}),n.headers=Ne.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(n)===!1)return;c=c&&w.synchronous;const C=n.transitional||wo;C&&C.legacyInterceptorReqResOrdering?l.unshift(w.fulfilled,w.rejected):l.push(w.fulfilled,w.rejected)});const u=[];this.interceptors.response.forEach(function(w){u.push(w.fulfilled,w.rejected)});let a,f=0,h;if(!c){const R=[Qi.bind(this),void 0];for(R.unshift(...l),R.push(...u),h=R.length,a=Promise.resolve(n);f<h;)a=a.then(R[f++],R[f++]);return a}h=l.length;let g=n;for(;f<h;){const R=l[f++],w=l[f++];try{g=R(g)}catch(C){w.call(this,C);break}}try{a=Qi.call(this,g)}catch(R){return Promise.reject(R)}for(f=0,h=u.length;f<h;)a=a.then(u[f++],u[f++]);return a}getUri(t){t=Zt(this.defaults,t);const n=ga(t.baseURL,t.url,t.allowAbsoluteUrls,t);return ua(n,t.params,t.paramsSerializer)}};m.forEach(["delete","get","head","options"],function(t){Xt.prototype[t]=function(n,s){return this.request(Zt(s||{},{method:t,url:n,data:s&&m.hasOwnProp(s,"data")?s.data:void 0}))}});m.forEach(["post","put","patch","query"],function(t){function n(s){return function(o,i,l){return this.request(Zt(l||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}Xt.prototype[t]=n(),t!=="query"&&(Xt.prototype[t+"Form"]=n(!0))});let Vg=class ba{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const s=this;this.promise.then(r=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new ss(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ba(function(r){t=r}),cancel:t}}};function qg(e){return function(n){return e.apply(null,n)}}function $g(e){return m.isObject(e)&&e.isAxiosError===!0}const Xr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Xr).forEach(([e,t])=>{Xr[t]=e});function Ea(e){const t=new Xt(e),n=Xc(Xt.prototype.request,t);return m.extend(n,Xt.prototype,t,{allOwnKeys:!0}),m.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Ea(Zt(e,r))},n}const ge=Ea(ns);ge.Axios=Xt;ge.CanceledError=ss;ge.CancelToken=Vg;ge.isCancel=ha;ge.VERSION=Ro;ge.toFormData=nr;ge.AxiosError=F;ge.Cancel=ge.CanceledError;ge.all=function(t){return Promise.all(t)};ge.spread=qg;ge.isAxiosError=$g;ge.mergeConfig=Zt;ge.AxiosHeaders=Ne;ge.formToJSON=e=>da(m.isHTMLForm(e)?new FormData(e):e);ge.getAdapter=_a.getAdapter;ge.HttpStatusCode=Xr;ge.default=ge;const{Axios:um,AxiosError:fm,CanceledError:dm,isCancel:hm,CancelToken:pm,VERSION:gm,all:mm,Cancel:ym,isAxiosError:_m,spread:bm,toFormData:Em,AxiosHeaders:wm,HttpStatusCode:Sm,formToJSON:Rm,getAdapter:vm,mergeConfig:Am,create:Cm}=ge,wa="guest_key";function Sa(){const e=localStorage.getItem(wa)||"";return/^[a-f0-9]{64}$/.test(e)?e:""}function Kg(){const e=Sa();if(e)return e;const t=new Uint8Array(32);crypto.getRandomValues(t);const n=Array.from(t,s=>s.toString(16).padStart(2,"0")).join("");return localStorage.setItem(wa,n),n}const Gt=ge.create({baseURL:"/api",timeout:6e4});let as=null;async function Wg(){const e=Sa();if(!e)throw new Error("游客身份已失效");return as||(as=ge.post("/api/auth/guest",{guest_key:e}).then(t=>{var s;const n=(s=t.data)==null?void 0:s.data;if(!(n!=null&&n.token))throw new Error("游客身份续期失败");return localStorage.setItem("token",n.token),localStorage.setItem("auth_type","guest"),n.token}).finally(()=>{as=null})),as}Gt.interceptors.request.use(e=>{const t=localStorage.getItem("token");return t&&(e.headers.Authorization=`Bearer ${t}`),e});Gt.interceptors.response.use(e=>e,async e=>{var s,r,o,i,l,c,u,a;if(ge.isCancel(e))return Promise.reject(e);const t=((r=(s=e.response)==null?void 0:s.data)==null?void 0:r.message)||e.message||"请求失败";if(((o=e.response)==null?void 0:o.status)===401){const f=e.config||{},h=localStorage.getItem("auth_type"),g=String(f.url||"");if(["/auth/login","/auth/register","/auth/guest"].some(w=>g.includes(w))){const w=new Error(t);return w.code=e.code,w.status=401,w.detail=((l=(i=e.response)==null?void 0:i.data)==null?void 0:l.detail)||"",Promise.reject(w)}if(h==="guest"&&!f._guestRetry){f._guestRetry=!0;try{const w=await Wg();return f.headers=f.headers||{},f.headers.Authorization=`Bearer ${w}`,Gt(f)}catch{}}localStorage.removeItem("token"),localStorage.removeItem("auth_type"),h==="account"&&!window.location.pathname.includes("/login")&&(window.location.href="/login")}const n=new Error(t);return n.code=e.code,n.status=((c=e.response)==null?void 0:c.status)||null,n.detail=((a=(u=e.response)==null?void 0:u.data)==null?void 0:a.detail)||"",Promise.reject(n)});const Gg=kc("auth",()=>{const e=Ft(localStorage.getItem("token")||""),t=Ft(null),n=Ft(!1),s=ke(()=>!!e.value&&!!t.value),r=ke(()=>{var f;return!!((f=t.value)!=null&&f.is_guest)});function o(f,h){e.value=f.token,t.value=f.user,localStorage.setItem("token",e.value),localStorage.setItem("auth_type",h)}async function i(){const f=await Gt.post("/auth/guest",{guest_key:Kg()});return o(f.data.data,"guest"),f.data}async function l(){var f;try{if(e.value){const h=await Gt.get("/auth/me");t.value=h.data.data,localStorage.setItem("auth_type",(f=t.value)!=null&&f.is_guest?"guest":"account")}t.value||await i()}catch{a(),await i()}finally{n.value=!0}}async function c(f,h){const g=await Gt.post("/auth/login",{account:f,password:h});return o(g.data.data,"account"),g.data}async function u(f,h,g){const R=await Gt.post("/auth/register",{username:f,email:h,password:g});return o(R.data.data,"account"),R.data}function a(){e.value="",t.value=null,localStorage.removeItem("token"),localStorage.removeItem("auth_type")}return{token:e,user:t,initialized:n,isLoggedIn:s,isGuest:r,init:l,enterGuestMode:i,login:c,register:u,logout:a}}),zg=[{path:"/login",name:"Login",component:()=>yr(()=>import("./LoginView-BINgth5H.js"),__vite__mapDeps([0,1,2,3])),meta:{guest:!0}},{path:"/register",name:"Register",component:()=>yr(()=>import("./RegisterView-sH9IiyRF.js"),__vite__mapDeps([4,1,2,5])),meta:{guest:!0}},{path:"/",name:"Chat",component:()=>yr(()=>import("./ChatView-BzeTOhbt.js"),__vite__mapDeps([6,1,2,7])),meta:{requiresAuth:!0}}],Ra=Wh({history:vh(),routes:zg});Ra.beforeEach(async(e,t,n)=>{const s=Gg();if(s.initialized||await s.init(),e.meta.requiresAuth&&!s.isLoggedIn){n({name:"Login",query:{redirect:e.fullPath}});return}if(e.meta.guest&&s.isLoggedIn&&!s.isGuest){n({name:"Chat"});return}n()});const Ao="ai-chat-theme",el="light";function Jg(){try{return localStorage.getItem(Ao)==="dark"?"dark":el}catch{return el}}const Ls=Ft(Jg());let tl;function Co(e,t=!1){const n=e==="dark"?"dark":"light",s=document.documentElement;t&&(s.classList.add("theme-transitioning"),window.clearTimeout(tl),tl=window.setTimeout(()=>s.classList.remove("theme-transitioning"),260)),s.dataset.theme=n,s.style.colorScheme=n,Ls.value=n}function Xg(){Co(Ls.value)}function Om(){const e=ke(()=>Ls.value==="dark");function t(n){const s=n==="dark"?"dark":"light";Co(s,!0);try{localStorage.setItem(Ao,s)}catch{}}return{theme:Ls,isDark:e,setTheme:t}}typeof window<"u"&&window.addEventListener("storage",e=>{e.key===Ao&&Co(e.newValue)});Xg();const Oo=od(Ud);Oo.use(cd());Oo.use(Ra);Oo.mount("#app");export{Yl as A,hs as B,rm as C,gd as D,yd as E,$e as F,Xn as G,lo as H,_d as I,Qg as J,nm as K,eo as L,em as M,co as N,wu as O,Om as P,Zg as T,Od as _,we as a,Be as b,ds as c,je as d,Ec as e,Yg as f,wc as g,Ml as h,Du as i,om as j,im as k,Dt as l,kc as m,Gt as n,Jl as o,Zn as p,Cd as q,Ft as r,Dn as s,Cn as t,Gg as u,tm as v,sm as w,Lu as x,Vs as y,ke as z};