const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Dashboard-Cur849fl.js","assets/index-Df5zok-J.js","assets/index-9UMnDOse.css","assets/index-WY9jkSm6.js","assets/index-D-A-V2Q_.css","assets/index-B87rnfS9.js","assets/index-DYDEAv29.css","assets/Dashboard-iH1N5F0V.css","assets/Setting-DOBHW9Pi.js","assets/index-ZxaD-jjV.js","assets/index-C8Dm7SzG.css","assets/Setting-B5R7Vuhc.css","assets/Manage-CNi7CHui.js","assets/Manage-C5P2MtFd.css"])))=>i.map(i=>d[i]);
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();/**
* @vue/shared v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function Oo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ie={},Sn=[],Lt=()=>{},$u=()=>!1,si=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Do=e=>e.startsWith("onUpdate:"),Pe=Object.assign,Ro=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zu=Object.prototype.hasOwnProperty,Ee=(e,t)=>zu.call(e,t),ne=Array.isArray,Cn=e=>ai(e)==="[object Map]",ml=e=>ai(e)==="[object Set]",ie=e=>typeof e=="function",Se=e=>typeof e=="string",tn=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",gl=e=>(Le(e)||ie(e))&&ie(e.then)&&ie(e.catch),yl=Object.prototype.toString,ai=e=>yl.call(e),Yu=e=>ai(e).slice(8,-1),_l=e=>ai(e)==="[object Object]",Po=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jn=Oo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),li=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Wu=/-(\w)/g,ht=li(e=>e.replace(Wu,(t,n)=>n?n.toUpperCase():"")),Hu=/\B([A-Z])/g,nn=li(e=>e.replace(Hu,"-$1").toLowerCase()),ci=li(e=>e.charAt(0).toUpperCase()+e.slice(1)),xi=li(e=>e?`on${ci(e)}`:""),Zt=(e,t)=>!Object.is(e,t),Ai=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},El=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Vu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Gu=e=>{const t=Se(e)?Number(e):NaN;return isNaN(t)?e:t};let Es;const ui=()=>Es||(Es=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ko(e){if(ne(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Se(r)?qu(r):ko(r);if(i)for(const o in i)t[o]=i[o]}return t}else if(Se(e)||Le(e))return e}const Ku=/;(?![^(]*\))/g,Qu=/:([^]+)/,Xu=/\/\*[^]*?\*\//g;function qu(e){const t={};return e.replace(Xu,"").split(Ku).forEach(n=>{if(n){const r=n.split(Qu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function jo(e){let t="";if(Se(e))t=e;else if(ne(e))for(let n=0;n<e.length;n++){const r=jo(e[n]);r&&(t+=r+" ")}else if(Le(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ju="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zu=Oo(Ju);function bl(e){return!!e||e===""}const vl=e=>!!(e&&e.__v_isRef===!0),Ur=e=>Se(e)?e:e==null?"":ne(e)||Le(e)&&(e.toString===yl||!ie(e.toString))?vl(e)?Ur(e.value):JSON.stringify(e,Ml,2):String(e),Ml=(e,t)=>vl(t)?Ml(e,t.value):Cn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[Li(r,o)+" =>"]=i,n),{})}:ml(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Li(n))}:tn(t)?Li(t):Le(t)&&!ne(t)&&!_l(t)?String(t):t,Li=(e,t="")=>{var n;return tn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let st;class wl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=st,!t&&st&&(this.index=(st.scopes||(st.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=st;try{return st=this,t()}finally{st=n}}}on(){st=this}off(){st=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function ef(e){return new wl(e)}function tf(){return st}let Ne;const Si=new WeakSet;class Il{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,st&&st.active&&st.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Si.has(this)&&(Si.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Tl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,bs(this),xl(this);const t=Ne,n=mt;Ne=this,mt=!0;try{return this.fn()}finally{Al(this),Ne=t,mt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Uo(t);this.deps=this.depsTail=void 0,bs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Si.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Xi(this)&&this.run()}get dirty(){return Xi(this)}}let Nl=0,Zn,er;function Tl(e,t=!1){if(e.flags|=8,t){e.next=er,er=e;return}e.next=Zn,Zn=e}function Fo(){Nl++}function Bo(){if(--Nl>0)return;if(er){let t=er;for(er=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Zn;){let t=Zn;for(Zn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function xl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Al(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),Uo(r),nf(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function Xi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ll(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ll(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===lr))return;e.globalVersion=lr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Xi(e)){e.flags&=-3;return}const n=Ne,r=mt;Ne=e,mt=!0;try{xl(e);const i=e.fn(e._value);(t.version===0||Zt(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Ne=n,mt=r,Al(e),e.flags&=-3}}function Uo(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Uo(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function nf(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let mt=!0;const Sl=[];function rn(){Sl.push(mt),mt=!1}function on(){const e=Sl.pop();mt=e===void 0?!0:e}function bs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ne;Ne=void 0;try{t()}finally{Ne=n}}}let lr=0;class rf{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 $o{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}track(t){if(!Ne||!mt||Ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ne)n=this.activeLink=new rf(Ne,this),Ne.deps?(n.prevDep=Ne.depsTail,Ne.depsTail.nextDep=n,Ne.depsTail=n):Ne.deps=Ne.depsTail=n,Cl(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ne.depsTail,n.nextDep=void 0,Ne.depsTail.nextDep=n,Ne.depsTail=n,Ne.deps===n&&(Ne.deps=r)}return n}trigger(t){this.version++,lr++,this.notify(t)}notify(t){Fo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Bo()}}}function Cl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Cl(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const qi=new WeakMap,_n=Symbol(""),Ji=Symbol(""),cr=Symbol("");function ze(e,t,n){if(mt&&Ne){let r=qi.get(e);r||qi.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new $o),i.map=r,i.key=n),i.track()}}function Pt(e,t,n,r,i,o){const s=qi.get(e);if(!s){lr++;return}const a=c=>{c&&c.trigger()};if(Fo(),t==="clear")s.forEach(a);else{const c=ne(e),f=c&&Po(n);if(c&&n==="length"){const d=Number(r);s.forEach((p,m)=>{(m==="length"||m===cr||!tn(m)&&m>=d)&&a(p)})}else switch((n!==void 0||s.has(void 0))&&a(s.get(n)),f&&a(s.get(cr)),t){case"add":c?f&&a(s.get("length")):(a(s.get(_n)),Cn(e)&&a(s.get(Ji)));break;case"delete":c||(a(s.get(_n)),Cn(e)&&a(s.get(Ji)));break;case"set":Cn(e)&&a(s.get(_n));break}}Bo()}function Nn(e){const t=me(e);return t===e?t:(ze(t,"iterate",cr),dt(e)?t:t.map(Ye))}function fi(e){return ze(e=me(e),"iterate",cr),e}const of={__proto__:null,[Symbol.iterator](){return Ci(this,Symbol.iterator,Ye)},concat(...e){return Nn(this).concat(...e.map(t=>ne(t)?Nn(t):t))},entries(){return Ci(this,"entries",e=>(e[1]=Ye(e[1]),e))},every(e,t){return St(this,"every",e,t,void 0,arguments)},filter(e,t){return St(this,"filter",e,t,n=>n.map(Ye),arguments)},find(e,t){return St(this,"find",e,t,Ye,arguments)},findIndex(e,t){return St(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return St(this,"findLast",e,t,Ye,arguments)},findLastIndex(e,t){return St(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return St(this,"forEach",e,t,void 0,arguments)},includes(...e){return Oi(this,"includes",e)},indexOf(...e){return Oi(this,"indexOf",e)},join(e){return Nn(this).join(e)},lastIndexOf(...e){return Oi(this,"lastIndexOf",e)},map(e,t){return St(this,"map",e,t,void 0,arguments)},pop(){return Hn(this,"pop")},push(...e){return Hn(this,"push",e)},reduce(e,...t){return vs(this,"reduce",e,t)},reduceRight(e,...t){return vs(this,"reduceRight",e,t)},shift(){return Hn(this,"shift")},some(e,t){return St(this,"some",e,t,void 0,arguments)},splice(...e){return Hn(this,"splice",e)},toReversed(){return Nn(this).toReversed()},toSorted(e){return Nn(this).toSorted(e)},toSpliced(...e){return Nn(this).toSpliced(...e)},unshift(...e){return Hn(this,"unshift",e)},values(){return Ci(this,"values",Ye)}};function Ci(e,t,n){const r=fi(e),i=r[t]();return r!==e&&!dt(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=n(o.value)),o}),i}const sf=Array.prototype;function St(e,t,n,r,i,o){const s=fi(e),a=s!==e&&!dt(e),c=s[t];if(c!==sf[t]){const p=c.apply(e,o);return a?Ye(p):p}let f=n;s!==e&&(a?f=function(p,m){return n.call(this,Ye(p),m,e)}:n.length>2&&(f=function(p,m){return n.call(this,p,m,e)}));const d=c.call(s,f,r);return a&&i?i(d):d}function vs(e,t,n,r){const i=fi(e);let o=n;return i!==e&&(dt(e)?n.length>3&&(o=function(s,a,c){return n.call(this,s,a,c,e)}):o=function(s,a,c){return n.call(this,s,Ye(a),c,e)}),i[t](o,...r)}function Oi(e,t,n){const r=me(e);ze(r,"iterate",cr);const i=r[t](...n);return(i===-1||i===!1)&&Wo(n[0])?(n[0]=me(n[0]),r[t](...n)):i}function Hn(e,t,n=[]){rn(),Fo();const r=me(e)[t].apply(e,n);return Bo(),on(),r}const af=Oo("__proto__,__v_isRef,__isVue"),Ol=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(tn));function lf(e){tn(e)||(e=String(e));const t=me(this);return ze(t,"has",e),t.hasOwnProperty(e)}class Dl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?_f:jl:o?kl:Pl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=ne(t);if(!i){let c;if(s&&(c=of[n]))return c;if(n==="hasOwnProperty")return lf}const a=Reflect.get(t,n,Ue(t)?t:r);return(tn(n)?Ol.has(n):af(n))||(i||ze(t,"get",n),o)?a:Ue(a)?s&&Po(n)?a:a.value:Le(a)?i?Bl(a):vn(a):a}}class Rl extends Dl{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(!this._isShallow){const c=Mn(o);if(!dt(r)&&!Mn(r)&&(o=me(o),r=me(r)),!ne(t)&&Ue(o)&&!Ue(r))return c?!1:(o.value=r,!0)}const s=ne(t)&&Po(n)?Number(n)<t.length:Ee(t,n),a=Reflect.set(t,n,r,Ue(t)?t:i);return t===me(i)&&(s?Zt(r,o)&&Pt(t,"set",n,r):Pt(t,"add",n,r)),a}deleteProperty(t,n){const r=Ee(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&Pt(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!tn(n)||!Ol.has(n))&&ze(t,"has",n),r}ownKeys(t){return ze(t,"iterate",ne(t)?"length":_n),Reflect.ownKeys(t)}}class cf extends Dl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const uf=new Rl,ff=new cf,df=new Rl(!0);const Zi=e=>e,Sr=e=>Reflect.getPrototypeOf(e);function hf(e,t,n){return function(...r){const i=this.__v_raw,o=me(i),s=Cn(o),a=e==="entries"||e===Symbol.iterator&&s,c=e==="keys"&&s,f=i[e](...r),d=n?Zi:t?eo:Ye;return!t&&ze(o,"iterate",c?Ji:_n),{next(){const{value:p,done:m}=f.next();return m?{value:p,done:m}:{value:a?[d(p[0]),d(p[1])]:d(p),done:m}},[Symbol.iterator](){return this}}}}function Cr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function pf(e,t){const n={get(i){const o=this.__v_raw,s=me(o),a=me(i);e||(Zt(i,a)&&ze(s,"get",i),ze(s,"get",a));const{has:c}=Sr(s),f=t?Zi:e?eo:Ye;if(c.call(s,i))return f(o.get(i));if(c.call(s,a))return f(o.get(a));o!==s&&o.get(i)},get size(){const i=this.__v_raw;return!e&&ze(me(i),"iterate",_n),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,s=me(o),a=me(i);return e||(Zt(i,a)&&ze(s,"has",i),ze(s,"has",a)),i===a?o.has(i):o.has(i)||o.has(a)},forEach(i,o){const s=this,a=s.__v_raw,c=me(a),f=t?Zi:e?eo:Ye;return!e&&ze(c,"iterate",_n),a.forEach((d,p)=>i.call(o,f(d),f(p),s))}};return Pe(n,e?{add:Cr("add"),set:Cr("set"),delete:Cr("delete"),clear:Cr("clear")}:{add(i){!t&&!dt(i)&&!Mn(i)&&(i=me(i));const o=me(this);return Sr(o).has.call(o,i)||(o.add(i),Pt(o,"add",i,i)),this},set(i,o){!t&&!dt(o)&&!Mn(o)&&(o=me(o));const s=me(this),{has:a,get:c}=Sr(s);let f=a.call(s,i);f||(i=me(i),f=a.call(s,i));const d=c.call(s,i);return s.set(i,o),f?Zt(o,d)&&Pt(s,"set",i,o):Pt(s,"add",i,o),this},delete(i){const o=me(this),{has:s,get:a}=Sr(o);let c=s.call(o,i);c||(i=me(i),c=s.call(o,i)),a&&a.call(o,i);const f=o.delete(i);return c&&Pt(o,"delete",i,void 0),f},clear(){const i=me(this),o=i.size!==0,s=i.clear();return o&&Pt(i,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=hf(i,e,t)}),n}function zo(e,t){const n=pf(e,t);return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Ee(n,i)&&i in r?n:r,i,o)}const mf={get:zo(!1,!1)},gf={get:zo(!1,!0)},yf={get:zo(!0,!1)};const Pl=new WeakMap,kl=new WeakMap,jl=new WeakMap,_f=new WeakMap;function Ef(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bf(e){return e.__v_skip||!Object.isExtensible(e)?0:Ef(Yu(e))}function vn(e){return Mn(e)?e:Yo(e,!1,uf,mf,Pl)}function Fl(e){return Yo(e,!1,df,gf,kl)}function Bl(e){return Yo(e,!0,ff,yf,jl)}function Yo(e,t,n,r,i){if(!Le(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const s=bf(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return i.set(e,a),a}function On(e){return Mn(e)?On(e.__v_raw):!!(e&&e.__v_isReactive)}function Mn(e){return!!(e&&e.__v_isReadonly)}function dt(e){return!!(e&&e.__v_isShallow)}function Wo(e){return e?!!e.__v_raw:!1}function me(e){const t=e&&e.__v_raw;return t?me(t):e}function vf(e){return!Ee(e,"__v_skip")&&Object.isExtensible(e)&&El(e,"__v_skip",!0),e}const Ye=e=>Le(e)?vn(e):e,eo=e=>Le(e)?Bl(e):e;function Ue(e){return e?e.__v_isRef===!0:!1}function Me(e){return $l(e,!1)}function Ul(e){return $l(e,!0)}function $l(e,t){return Ue(e)?e:new Mf(e,t)}class Mf{constructor(t,n){this.dep=new $o,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:me(t),this._value=n?t:Ye(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||dt(t)||Mn(t);t=r?t:me(t),Zt(t,n)&&(this._rawValue=t,this._value=r?t:Ye(t),this.dep.trigger())}}function gt(e){return Ue(e)?e.value:e}const wf={get:(e,t,n)=>t==="__v_raw"?e:gt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ue(i)&&!Ue(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function zl(e){return On(e)?e:new Proxy(e,wf)}class If{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new $o(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=lr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ne!==this)return Tl(this,!0),!0}get value(){const t=this.dep.track();return Ll(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Nf(e,t,n=!1){let r,i;return ie(e)?r=e:(r=e.get,i=e.set),new If(r,i,n)}const Or={},Kr=new WeakMap;let mn;function Tf(e,t=!1,n=mn){if(n){let r=Kr.get(n);r||Kr.set(n,r=[]),r.push(e)}}function xf(e,t,n=Ie){const{immediate:r,deep:i,once:o,scheduler:s,augmentJob:a,call:c}=n,f=T=>i?T:dt(T)||i===!1||i===0?kt(T,1):kt(T);let d,p,m,_,L=!1,A=!1;if(Ue(e)?(p=()=>e.value,L=dt(e)):On(e)?(p=()=>f(e),L=!0):ne(e)?(A=!0,L=e.some(T=>On(T)||dt(T)),p=()=>e.map(T=>{if(Ue(T))return T.value;if(On(T))return f(T);if(ie(T))return c?c(T,2):T()})):ie(e)?t?p=c?()=>c(e,2):e:p=()=>{if(m){rn();try{m()}finally{on()}}const T=mn;mn=d;try{return c?c(e,3,[_]):e(_)}finally{mn=T}}:p=Lt,t&&i){const T=p,F=i===!0?1/0:i;p=()=>kt(T(),F)}const P=tf(),M=()=>{d.stop(),P&&Ro(P.effects,d)};if(o&&t){const T=t;t=(...F)=>{T(...F),M()}}let I=A?new Array(e.length).fill(Or):Or;const S=T=>{if(!(!(d.flags&1)||!d.dirty&&!T))if(t){const F=d.run();if(i||L||(A?F.some((R,k)=>Zt(R,I[k])):Zt(F,I))){m&&m();const R=mn;mn=d;try{const k=[F,I===Or?void 0:A&&I[0]===Or?[]:I,_];c?c(t,3,k):t(...k),I=F}finally{mn=R}}}else d.run()};return a&&a(S),d=new Il(p),d.scheduler=s?()=>s(S,!1):S,_=T=>Tf(T,!1,d),m=d.onStop=()=>{const T=Kr.get(d);if(T){if(c)c(T,4);else for(const F of T)F();Kr.delete(d)}},t?r?S(!0):I=d.run():s?s(S.bind(null,!0),!0):d.run(),M.pause=d.pause.bind(d),M.resume=d.resume.bind(d),M.stop=M,M}function kt(e,t=1/0,n){if(t<=0||!Le(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ue(e))kt(e.value,t,n);else if(ne(e))for(let r=0;r<e.length;r++)kt(e[r],t,n);else if(ml(e)||Cn(e))e.forEach(r=>{kt(r,t,n)});else if(_l(e)){for(const r in e)kt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&kt(e[r],t,n)}return e}/**
* @vue/runtime-core v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Mr(e,t,n,r){try{return r?e(...r):e()}catch(i){di(i,t,n)}}function _t(e,t,n,r){if(ie(e)){const i=Mr(e,t,n,r);return i&&gl(i)&&i.catch(o=>{di(o,t,n)}),i}if(ne(e)){const i=[];for(let o=0;o<e.length;o++)i.push(_t(e[o],t,n,r));return i}}function di(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||Ie;if(t){let a=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const d=a.ec;if(d){for(let p=0;p<d.length;p++)if(d[p](e,c,f)===!1)return}a=a.parent}if(o){rn(),Mr(o,null,10,[e,c,f]),on();return}}Af(e,n,i,r,s)}function Af(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}const Ge=[];let Nt=-1;const Dn=[];let Qt=null,xn=0;const Yl=Promise.resolve();let Qr=null;function wn(e){const t=Qr||Yl;return e?t.then(this?e.bind(this):e):t}function Lf(e){let t=Nt+1,n=Ge.length;for(;t<n;){const r=t+n>>>1,i=Ge[r],o=ur(i);o<e||o===e&&i.flags&2?t=r+1:n=r}return t}function Ho(e){if(!(e.flags&1)){const t=ur(e),n=Ge[Ge.length-1];!n||!(e.flags&2)&&t>=ur(n)?Ge.push(e):Ge.splice(Lf(t),0,e),e.flags|=1,Wl()}}function Wl(){Qr||(Qr=Yl.then(Vl))}function Sf(e){ne(e)?Dn.push(...e):Qt&&e.id===-1?Qt.splice(xn+1,0,e):e.flags&1||(Dn.push(e),e.flags|=1),Wl()}function Ms(e,t,n=Nt+1){for(;n<Ge.length;n++){const r=Ge[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ge.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Hl(e){if(Dn.length){const t=[...new Set(Dn)].sort((n,r)=>ur(n)-ur(r));if(Dn.length=0,Qt){Qt.push(...t);return}for(Qt=t,xn=0;xn<Qt.length;xn++){const n=Qt[xn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Qt=null,xn=0}}const ur=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Vl(e){try{for(Nt=0;Nt<Ge.length;Nt++){const t=Ge[Nt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Mr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Nt<Ge.length;Nt++){const t=Ge[Nt];t&&(t.flags&=-2)}Nt=-1,Ge.length=0,Hl(),Qr=null,(Ge.length||Dn.length)&&Vl()}}let Ze=null,Gl=null;function Xr(e){const t=Ze;return Ze=e,Gl=e&&e.type.__scopeId||null,t}function It(e,t=Ze,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Rs(-1);const o=Xr(t);let s;try{s=e(...i)}finally{Xr(o),r._d&&Rs(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Kl(e,t){if(Ze===null)return e;const n=yi(Ze),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,s,a,c=Ie]=t[i];o&&(ie(o)&&(o={mounted:o,updated:o}),o.deep&&kt(s),r.push({dir:o,instance:n,value:s,oldValue:void 0,arg:a,modifiers:c}))}return e}function cn(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let s=0;s<i.length;s++){const a=i[s];o&&(a.oldValue=o[s].value);let c=a.dir[r];c&&(rn(),_t(c,n,8,[e.el,a,e,t]),on())}}const Ql=Symbol("_vte"),Xl=e=>e.__isTeleport,tr=e=>e&&(e.disabled||e.disabled===""),Cf=e=>e&&(e.defer||e.defer===""),ws=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Is=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,to=(e,t)=>{const n=e&&e.to;return Se(n)?t?t(n):null:n},Of={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,s,a,c,f){const{mc:d,pc:p,pbc:m,o:{insert:_,querySelector:L,createText:A,createComment:P}}=f,M=tr(t.props);let{shapeFlag:I,children:S,dynamicChildren:T}=t;if(e==null){const F=t.el=A(""),R=t.anchor=A("");_(F,n,r),_(R,n,r);const k=(H,Z)=>{I&16&&(i&&i.isCE&&(i.ce._teleportTarget=H),d(S,H,Z,i,o,s,a,c))},q=()=>{const H=t.target=to(t.props,L),Z=Jl(H,t,A,_);H&&(s!=="svg"&&ws(H)?s="svg":s!=="mathml"&&Is(H)&&(s="mathml"),M||(k(H,Z),$r(t,!1)))};M&&(k(n,R),$r(t,!0)),Cf(t.props)?Xe(q,o):q()}else{t.el=e.el,t.targetStart=e.targetStart;const F=t.anchor=e.anchor,R=t.target=e.target,k=t.targetAnchor=e.targetAnchor,q=tr(e.props),H=q?n:R,Z=q?F:k;if(s==="svg"||ws(R)?s="svg":(s==="mathml"||Is(R))&&(s="mathml"),T?(m(e.dynamicChildren,T,H,i,o,s,a),Ko(e,t,!0)):c||p(e,t,H,Z,i,o,s,a,!1),M)q?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Dr(t,n,F,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const te=t.target=to(t.props,L);te&&Dr(t,te,null,f,0)}else q&&Dr(t,R,k,f,1);$r(t,M)}},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:s,children:a,anchor:c,targetStart:f,targetAnchor:d,target:p,props:m}=e;if(p&&(i(f),i(d)),o&&i(c),s&16){const _=o||!tr(m);for(let L=0;L<a.length;L++){const A=a[L];r(A,t,n,_,!!A.dynamicChildren)}}},move:Dr,hydrate:Df};function Dr(e,t,n,{o:{insert:r},m:i},o=2){o===0&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:c,children:f,props:d}=e,p=o===2;if(p&&r(s,t,n),(!p||tr(d))&&c&16)for(let m=0;m<f.length;m++)i(f[m],t,n,2);p&&r(a,t,n)}function Df(e,t,n,r,i,o,{o:{nextSibling:s,parentNode:a,querySelector:c,insert:f,createText:d}},p){const m=t.target=to(t.props,c);if(m){const _=tr(t.props),L=m._lpa||m.firstChild;if(t.shapeFlag&16)if(_)t.anchor=p(s(e),t,a(e),n,r,i,o),t.targetStart=L,t.targetAnchor=L&&s(L);else{t.anchor=s(e);let A=L;for(;A;){if(A&&A.nodeType===8){if(A.data==="teleport start anchor")t.targetStart=A;else if(A.data==="teleport anchor"){t.targetAnchor=A,m._lpa=t.targetAnchor&&s(t.targetAnchor);break}}A=s(A)}t.targetAnchor||Jl(m,t,d,f),p(L&&s(L),t,m,n,r,i,o)}$r(t,_)}return t.anchor&&s(t.anchor)}const ql=Of;function $r(e,t){const n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Jl(e,t,n,r){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[Ql]=o,e&&(r(i,e),r(o,e)),o}const Xt=Symbol("_leaveCb"),Rr=Symbol("_enterCb");function Rf(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return sn(()=>{e.isMounted=!0}),Ir(()=>{e.isUnmounting=!0}),e}const ct=[Function,Array],Zl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ct,onEnter:ct,onAfterEnter:ct,onEnterCancelled:ct,onBeforeLeave:ct,onLeave:ct,onAfterLeave:ct,onLeaveCancelled:ct,onBeforeAppear:ct,onAppear:ct,onAfterAppear:ct,onAppearCancelled:ct},ec=e=>{const t=e.subTree;return t.component?ec(t.component):t},Pf={name:"BaseTransition",props:Zl,setup(e,{slots:t}){const n=pt(),r=Rf();return()=>{const i=t.default&&rc(t.default(),!0);if(!i||!i.length)return;const o=tc(i),s=me(e),{mode:a}=s;if(r.isLeaving)return Di(o);const c=Ns(o);if(!c)return Di(o);let f=no(c,s,r,n,m=>f=m);c.type!==Je&&fr(c,f);const d=n.subTree,p=d&&Ns(d);if(p&&p.type!==Je&&!gn(c,p)&&ec(n).type!==Je){const m=no(p,s,r,n);if(fr(p,m),a==="out-in"&&c.type!==Je)return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete m.afterLeave},Di(o);a==="in-out"&&c.type!==Je&&(m.delayLeave=(_,L,A)=>{const P=nc(r,p);P[String(p.key)]=p,_[Xt]=()=>{L(),_[Xt]=void 0,delete f.delayedLeave},f.delayedLeave=A})}return o}}};function tc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Je){t=n;break}}return t}const kf=Pf;function nc(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function no(e,t,n,r,i){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:d,onEnterCancelled:p,onBeforeLeave:m,onLeave:_,onAfterLeave:L,onLeaveCancelled:A,onBeforeAppear:P,onAppear:M,onAfterAppear:I,onAppearCancelled:S}=t,T=String(e.key),F=nc(n,e),R=(H,Z)=>{H&&_t(H,r,9,Z)},k=(H,Z)=>{const te=Z[1];R(H,Z),ne(H)?H.every(V=>V.length<=1)&&te():H.length<=1&&te()},q={mode:s,persisted:a,beforeEnter(H){let Z=c;if(!n.isMounted)if(o)Z=P||c;else return;H[Xt]&&H[Xt](!0);const te=F[T];te&&gn(e,te)&&te.el[Xt]&&te.el[Xt](),R(Z,[H])},enter(H){let Z=f,te=d,V=p;if(!n.isMounted)if(o)Z=M||f,te=I||d,V=S||p;else return;let re=!1;const Te=H[Rr]=Be=>{re||(re=!0,Be?R(V,[H]):R(te,[H]),q.delayedLeave&&q.delayedLeave(),H[Rr]=void 0)};Z?k(Z,[H,Te]):Te()},leave(H,Z){const te=String(e.key);if(H[Rr]&&H[Rr](!0),n.isUnmounting)return Z();R(m,[H]);let V=!1;const re=H[Xt]=Te=>{V||(V=!0,Z(),Te?R(A,[H]):R(L,[H]),H[Xt]=void 0,F[te]===e&&delete F[te])};F[te]=e,_?k(_,[H,re]):re()},clone(H){const Z=no(H,t,n,r,i);return i&&i(Z),Z}};return q}function Di(e){if(hi(e))return e=en(e),e.children=null,e}function Ns(e){if(!hi(e))return Xl(e.type)&&e.children?tc(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ie(n.default))return n.default()}}function fr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,fr(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 rc(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let s=e[o];const a=n==null?s.key:String(n)+String(s.key!=null?s.key:o);s.type===qe?(s.patchFlag&128&&i++,r=r.concat(rc(s.children,t,a))):(t||s.type!==Je)&&r.push(a!=null?en(s,{key:a}):s)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function rt(e,t){return ie(e)?Pe({name:e.name},t,{setup:e}):e}function ic(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ro(e,t,n,r,i=!1){if(ne(e)){e.forEach((L,A)=>ro(L,t&&(ne(t)?t[A]:t),n,r,i));return}if(nr(r)&&!i)return;const o=r.shapeFlag&4?yi(r.component):r.el,s=i?null:o,{i:a,r:c}=e,f=t&&t.r,d=a.refs===Ie?a.refs={}:a.refs,p=a.setupState,m=me(p),_=p===Ie?()=>!1:L=>Ee(m,L);if(f!=null&&f!==c&&(Se(f)?(d[f]=null,_(f)&&(p[f]=null)):Ue(f)&&(f.value=null)),ie(c))Mr(c,a,12,[s,d]);else{const L=Se(c),A=Ue(c);if(L||A){const P=()=>{if(e.f){const M=L?_(c)?p[c]:d[c]:c.value;i?ne(M)&&Ro(M,o):ne(M)?M.includes(o)||M.push(o):L?(d[c]=[o],_(c)&&(p[c]=d[c])):(c.value=[o],e.k&&(d[e.k]=c.value))}else L?(d[c]=s,_(c)&&(p[c]=s)):A&&(c.value=s,e.k&&(d[e.k]=s))};s?(P.id=-1,Xe(P,n)):P()}}}ui().requestIdleCallback;ui().cancelIdleCallback;const nr=e=>!!e.type.__asyncLoader,hi=e=>e.type.__isKeepAlive;function pi(e,t){oc(e,"a",t)}function wr(e,t){oc(e,"da",t)}function oc(e,t,n=$e){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(mi(t,r,n),n){let i=n.parent;for(;i&&i.parent;)hi(i.parent.vnode)&&jf(r,t,n,i),i=i.parent}}function jf(e,t,n,r){const i=mi(t,e,r,!0);Nr(()=>{Ro(r[t],i)},n)}function mi(e,t,n=$e,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...s)=>{rn();const a=xr(n),c=_t(t,n,e,s);return a(),on(),c});return r?i.unshift(o):i.push(o),o}}const $t=e=>(t,n=$e)=>{(!pr||e==="sp")&&mi(e,(...r)=>t(...r),n)},Ff=$t("bm"),sn=$t("m"),Bf=$t("bu"),Uf=$t("u"),Ir=$t("bum"),Nr=$t("um"),$f=$t("sp"),zf=$t("rtg"),Yf=$t("rtc");function Wf(e,t=$e){mi("ec",e,t)}const sc="components";function Hf(e,t){return lc(sc,e,!0,t)||e}const ac=Symbol.for("v-ndc");function Vf(e){return Se(e)?lc(sc,e,!1)||e:e||ac}function lc(e,t,n=!0,r=!1){const i=Ze||$e;if(i){const o=i.type;{const a=Cd(o,!1);if(a&&(a===t||a===ht(t)||a===ci(ht(t))))return o}const s=Ts(i[e]||o[e],t)||Ts(i.appContext[e],t);return!s&&r?o:s}}function Ts(e,t){return e&&(e[t]||e[ht(t)]||e[ci(ht(t))])}function r_(e,t,n,r){let i;const o=n,s=ne(e);if(s||Se(e)){const a=s&&On(e);let c=!1;a&&(c=!dt(e),e=fi(e)),i=new Array(e.length);for(let f=0,d=e.length;f<d;f++)i[f]=t(c?Ye(e[f]):e[f],f,void 0,o)}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,o)}else if(Le(e))if(e[Symbol.iterator])i=Array.from(e,(a,c)=>t(a,c,void 0,o));else{const a=Object.keys(e);i=new Array(a.length);for(let c=0,f=a.length;c<f;c++){const d=a[c];i[c]=t(e[d],d,c,o)}}else i=[];return i}const io=e=>e?Ac(e)?yi(e):io(e.parent):null,rr=Pe(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=>io(e.parent),$root:e=>io(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vo(e),$forceUpdate:e=>e.f||(e.f=()=>{Ho(e.update)}),$nextTick:e=>e.n||(e.n=wn.bind(e.proxy)),$watch:e=>hd.bind(e)}),Ri=(e,t)=>e!==Ie&&!e.__isScriptSetup&&Ee(e,t),Gf={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:s,type:a,appContext:c}=e;let f;if(t[0]!=="$"){const _=s[t];if(_!==void 0)switch(_){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Ri(r,t))return s[t]=1,r[t];if(i!==Ie&&Ee(i,t))return s[t]=2,i[t];if((f=e.propsOptions[0])&&Ee(f,t))return s[t]=3,o[t];if(n!==Ie&&Ee(n,t))return s[t]=4,n[t];oo&&(s[t]=0)}}const d=rr[t];let p,m;if(d)return t==="$attrs"&&ze(e.attrs,"get",""),d(e);if((p=a.__cssModules)&&(p=p[t]))return p;if(n!==Ie&&Ee(n,t))return s[t]=4,n[t];if(m=c.config.globalProperties,Ee(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Ri(i,t)?(i[t]=n,!0):r!==Ie&&Ee(r,t)?(r[t]=n,!0):Ee(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},s){let a;return!!n[s]||e!==Ie&&Ee(e,s)||Ri(t,s)||(a=o[0])&&Ee(a,s)||Ee(r,s)||Ee(rr,s)||Ee(i.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ee(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function xs(e){return ne(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let oo=!0;function Kf(e){const t=Vo(e),n=e.proxy,r=e.ctx;oo=!1,t.beforeCreate&&As(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:s,watch:a,provide:c,inject:f,created:d,beforeMount:p,mounted:m,beforeUpdate:_,updated:L,activated:A,deactivated:P,beforeDestroy:M,beforeUnmount:I,destroyed:S,unmounted:T,render:F,renderTracked:R,renderTriggered:k,errorCaptured:q,serverPrefetch:H,expose:Z,inheritAttrs:te,components:V,directives:re,filters:Te}=t;if(f&&Qf(f,r,null),s)for(const ue in s){const le=s[ue];ie(le)&&(r[ue]=le.bind(n))}if(i){const ue=i.call(n,n);Le(ue)&&(e.data=vn(ue))}if(oo=!0,o)for(const ue in o){const le=o[ue],De=ie(le)?le.bind(n,n):ie(le.get)?le.get.bind(n,n):Lt,We=!ie(le)&&ie(le.set)?le.set.bind(n):Lt,fe=Ce({get:De,set:We});Object.defineProperty(r,ue,{enumerable:!0,configurable:!0,get:()=>fe.value,set:de=>fe.value=de})}if(a)for(const ue in a)cc(a[ue],r,n,ue);if(c){const ue=ie(c)?c.call(n):c;Reflect.ownKeys(ue).forEach(le=>{En(le,ue[le])})}d&&As(d,e,"c");function we(ue,le){ne(le)?le.forEach(De=>ue(De.bind(n))):le&&ue(le.bind(n))}if(we(Ff,p),we(sn,m),we(Bf,_),we(Uf,L),we(pi,A),we(wr,P),we(Wf,q),we(Yf,R),we(zf,k),we(Ir,I),we(Nr,T),we($f,H),ne(Z))if(Z.length){const ue=e.exposed||(e.exposed={});Z.forEach(le=>{Object.defineProperty(ue,le,{get:()=>n[le],set:De=>n[le]=De})})}else e.exposed||(e.exposed={});F&&e.render===Lt&&(e.render=F),te!=null&&(e.inheritAttrs=te),V&&(e.components=V),re&&(e.directives=re),H&&ic(e)}function Qf(e,t,n=Lt){ne(e)&&(e=so(e));for(const r in e){const i=e[r];let o;Le(i)?"default"in i?o=et(i.from||r,i.default,!0):o=et(i.from||r):o=et(i),Ue(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[r]=o}}function As(e,t,n){_t(ne(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function cc(e,t,n,r){let i=r.includes(".")?Mc(n,r):()=>n[r];if(Se(e)){const o=t[e];ie(o)&&Re(i,o)}else if(ie(e))Re(i,e.bind(n));else if(Le(e))if(ne(e))e.forEach(o=>cc(o,t,n,r));else{const o=ie(e.handler)?e.handler.bind(n):t[e.handler];ie(o)&&Re(i,o,e)}}function Vo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,a=o.get(t);let c;return a?c=a:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(f=>qr(c,f,s,!0)),qr(c,t,s)),Le(t)&&o.set(t,c),c}function qr(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&qr(e,o,n,!0),i&&i.forEach(s=>qr(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=Xf[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const Xf={data:Ls,props:Ss,emits:Ss,methods:qn,computed:qn,beforeCreate:He,created:He,beforeMount:He,mounted:He,beforeUpdate:He,updated:He,beforeDestroy:He,beforeUnmount:He,destroyed:He,unmounted:He,activated:He,deactivated:He,errorCaptured:He,serverPrefetch:He,components:qn,directives:qn,watch:Jf,provide:Ls,inject:qf};function Ls(e,t){return t?e?function(){return Pe(ie(e)?e.call(this,this):e,ie(t)?t.call(this,this):t)}:t:e}function qf(e,t){return qn(so(e),so(t))}function so(e){if(ne(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function He(e,t){return e?[...new Set([].concat(e,t))]:t}function qn(e,t){return e?Pe(Object.create(null),e,t):t}function Ss(e,t){return e?ne(e)&&ne(t)?[...new Set([...e,...t])]:Pe(Object.create(null),xs(e),xs(t??{})):t}function Jf(e,t){if(!e)return t;if(!t)return e;const n=Pe(Object.create(null),e);for(const r in t)n[r]=He(e[r],t[r]);return n}function uc(){return{app:null,config:{isNativeTag:$u,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 Zf=0;function ed(e,t){return function(r,i=null){ie(r)||(r=Pe({},r)),i!=null&&!Le(i)&&(i=null);const o=uc(),s=new WeakSet,a=[];let c=!1;const f=o.app={_uid:Zf++,_component:r,_props:i,_container:null,_context:o,_instance:null,version:Dd,get config(){return o.config},set config(d){},use(d,...p){return s.has(d)||(d&&ie(d.install)?(s.add(d),d.install(f,...p)):ie(d)&&(s.add(d),d(f,...p))),f},mixin(d){return o.mixins.includes(d)||o.mixins.push(d),f},component(d,p){return p?(o.components[d]=p,f):o.components[d]},directive(d,p){return p?(o.directives[d]=p,f):o.directives[d]},mount(d,p,m){if(!c){const _=f._ceVNode||ee(r,i);return _.appContext=o,m===!0?m="svg":m===!1&&(m=void 0),p&&t?t(_,d):e(_,d,m),c=!0,f._container=d,d.__vue_app__=f,yi(_.component)}},onUnmount(d){a.push(d)},unmount(){c&&(_t(a,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(d,p){return o.provides[d]=p,f},runWithContext(d){const p=Rn;Rn=f;try{return d()}finally{Rn=p}}};return f}}let Rn=null;function En(e,t){if($e){let n=$e.provides;const r=$e.parent&&$e.parent.provides;r===n&&(n=$e.provides=Object.create(r)),n[e]=t}}function et(e,t,n=!1){const r=$e||Ze;if(r||Rn){const i=Rn?Rn._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&ie(t)?t.call(r&&r.proxy):t}}const fc={},dc=()=>Object.create(fc),hc=e=>Object.getPrototypeOf(e)===fc;function td(e,t,n,r=!1){const i={},o=dc();e.propsDefaults=Object.create(null),pc(e,t,i,o);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);n?e.props=r?i:Fl(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function nd(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,a=me(i),[c]=e.propsOptions;let f=!1;if((r||s>0)&&!(s&16)){if(s&8){const d=e.vnode.dynamicProps;for(let p=0;p<d.length;p++){let m=d[p];if(gi(e.emitsOptions,m))continue;const _=t[m];if(c)if(Ee(o,m))_!==o[m]&&(o[m]=_,f=!0);else{const L=ht(m);i[L]=ao(c,a,L,_,e,!1)}else _!==o[m]&&(o[m]=_,f=!0)}}}else{pc(e,t,i,o)&&(f=!0);let d;for(const p in a)(!t||!Ee(t,p)&&((d=nn(p))===p||!Ee(t,d)))&&(c?n&&(n[p]!==void 0||n[d]!==void 0)&&(i[p]=ao(c,a,p,void 0,e,!0)):delete i[p]);if(o!==a)for(const p in o)(!t||!Ee(t,p))&&(delete o[p],f=!0)}f&&Pt(e.attrs,"set","")}function pc(e,t,n,r){const[i,o]=e.propsOptions;let s=!1,a;if(t)for(let c in t){if(Jn(c))continue;const f=t[c];let d;i&&Ee(i,d=ht(c))?!o||!o.includes(d)?n[d]=f:(a||(a={}))[d]=f:gi(e.emitsOptions,c)||(!(c in r)||f!==r[c])&&(r[c]=f,s=!0)}if(o){const c=me(n),f=a||Ie;for(let d=0;d<o.length;d++){const p=o[d];n[p]=ao(i,c,p,f[p],e,!Ee(f,p))}}return s}function ao(e,t,n,r,i,o){const s=e[n];if(s!=null){const a=Ee(s,"default");if(a&&r===void 0){const c=s.default;if(s.type!==Function&&!s.skipFactory&&ie(c)){const{propsDefaults:f}=i;if(n in f)r=f[n];else{const d=xr(i);r=f[n]=c.call(null,t),d()}}else r=c;i.ce&&i.ce._setProp(n,r)}s[0]&&(o&&!a?r=!1:s[1]&&(r===""||r===nn(n))&&(r=!0))}return r}const rd=new WeakMap;function mc(e,t,n=!1){const r=n?rd:t.propsCache,i=r.get(e);if(i)return i;const o=e.props,s={},a=[];let c=!1;if(!ie(e)){const d=p=>{c=!0;const[m,_]=mc(p,t,!0);Pe(s,m),_&&a.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!c)return Le(e)&&r.set(e,Sn),Sn;if(ne(o))for(let d=0;d<o.length;d++){const p=ht(o[d]);Cs(p)&&(s[p]=Ie)}else if(o)for(const d in o){const p=ht(d);if(Cs(p)){const m=o[d],_=s[p]=ne(m)||ie(m)?{type:m}:Pe({},m),L=_.type;let A=!1,P=!0;if(ne(L))for(let M=0;M<L.length;++M){const I=L[M],S=ie(I)&&I.name;if(S==="Boolean"){A=!0;break}else S==="String"&&(P=!1)}else A=ie(L)&&L.name==="Boolean";_[0]=A,_[1]=P,(A||Ee(_,"default"))&&a.push(p)}}const f=[s,a];return Le(e)&&r.set(e,f),f}function Cs(e){return e[0]!=="$"&&!Jn(e)}const gc=e=>e[0]==="_"||e==="$stable",Go=e=>ne(e)?e.map(Tt):[Tt(e)],id=(e,t,n)=>{if(t._n)return t;const r=It((...i)=>Go(t(...i)),n);return r._c=!1,r},yc=(e,t,n)=>{const r=e._ctx;for(const i in e){if(gc(i))continue;const o=e[i];if(ie(o))t[i]=id(i,o,r);else if(o!=null){const s=Go(o);t[i]=()=>s}}},_c=(e,t)=>{const n=Go(t);e.slots.default=()=>n},Ec=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},od=(e,t,n)=>{const r=e.slots=dc();if(e.vnode.shapeFlag&32){const i=t._;i?(Ec(r,t,n),n&&El(r,"_",i,!0)):yc(t,r)}else t&&_c(e,t)},sd=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,s=Ie;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Ec(i,t,n):(o=!t.$stable,yc(t,i)),s=t}else t&&(_c(e,t),s={default:1});if(o)for(const a in i)!gc(a)&&s[a]==null&&delete i[a]},Xe=bd;function ad(e){return ld(e)}function ld(e,t){const n=ui();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:s,createText:a,createComment:c,setText:f,setElementText:d,parentNode:p,nextSibling:m,setScopeId:_=Lt,insertStaticContent:L}=e,A=(E,v,O,Y=null,$=null,g=null,b=void 0,x=null,j=!!v.dynamicChildren)=>{if(E===v)return;E&&!gn(E,v)&&(Y=z(E),de(E,$,g,!0),E=null),v.patchFlag===-2&&(j=!1,v.dynamicChildren=null);const{type:U,ref:W,shapeFlag:N}=v;switch(U){case Tr:P(E,v,O,Y);break;case Je:M(E,v,O,Y);break;case ji:E==null&&I(v,O,Y,b);break;case qe:V(E,v,O,Y,$,g,b,x,j);break;default:N&1?F(E,v,O,Y,$,g,b,x,j):N&6?re(E,v,O,Y,$,g,b,x,j):(N&64||N&128)&&U.process(E,v,O,Y,$,g,b,x,j,J)}W!=null&&$&&ro(W,E&&E.ref,g,v||E,!v)},P=(E,v,O,Y)=>{if(E==null)r(v.el=a(v.children),O,Y);else{const $=v.el=E.el;v.children!==E.children&&f($,v.children)}},M=(E,v,O,Y)=>{E==null?r(v.el=c(v.children||""),O,Y):v.el=E.el},I=(E,v,O,Y)=>{[E.el,E.anchor]=L(E.children,v,O,Y,E.el,E.anchor)},S=({el:E,anchor:v},O,Y)=>{let $;for(;E&&E!==v;)$=m(E),r(E,O,Y),E=$;r(v,O,Y)},T=({el:E,anchor:v})=>{let O;for(;E&&E!==v;)O=m(E),i(E),E=O;i(v)},F=(E,v,O,Y,$,g,b,x,j)=>{v.type==="svg"?b="svg":v.type==="math"&&(b="mathml"),E==null?R(v,O,Y,$,g,b,x,j):H(E,v,$,g,b,x,j)},R=(E,v,O,Y,$,g,b,x)=>{let j,U;const{props:W,shapeFlag:N,transition:D,dirs:Q}=E;if(j=E.el=s(E.type,g,W&&W.is,W),N&8?d(j,E.children):N&16&&q(E.children,j,null,Y,$,Pi(E,g),b,x),Q&&cn(E,null,Y,"created"),k(j,E,E.scopeId,b,Y),W){for(const l in W)l!=="value"&&!Jn(l)&&o(j,l,null,W[l],g,Y);"value"in W&&o(j,"value",null,W.value,g),(U=W.onVnodeBeforeMount)&&Mt(U,Y,E)}Q&&cn(E,null,Y,"beforeMount");const h=cd($,D);h&&D.beforeEnter(j),r(j,v,O),((U=W&&W.onVnodeMounted)||h||Q)&&Xe(()=>{U&&Mt(U,Y,E),h&&D.enter(j),Q&&cn(E,null,Y,"mounted")},$)},k=(E,v,O,Y,$)=>{if(O&&_(E,O),Y)for(let g=0;g<Y.length;g++)_(E,Y[g]);if($){let g=$.subTree;if(v===g||Ic(g.type)&&(g.ssContent===v||g.ssFallback===v)){const b=$.vnode;k(E,b,b.scopeId,b.slotScopeIds,$.parent)}}},q=(E,v,O,Y,$,g,b,x,j=0)=>{for(let U=j;U<E.length;U++){const W=E[U]=x?qt(E[U]):Tt(E[U]);A(null,W,v,O,Y,$,g,b,x)}},H=(E,v,O,Y,$,g,b)=>{const x=v.el=E.el;let{patchFlag:j,dynamicChildren:U,dirs:W}=v;j|=E.patchFlag&16;const N=E.props||Ie,D=v.props||Ie;let Q;if(O&&un(O,!1),(Q=D.onVnodeBeforeUpdate)&&Mt(Q,O,v,E),W&&cn(v,E,O,"beforeUpdate"),O&&un(O,!0),(N.innerHTML&&D.innerHTML==null||N.textContent&&D.textContent==null)&&d(x,""),U?Z(E.dynamicChildren,U,x,O,Y,Pi(v,$),g):b||le(E,v,x,null,O,Y,Pi(v,$),g,!1),j>0){if(j&16)te(x,N,D,O,$);else if(j&2&&N.class!==D.class&&o(x,"class",null,D.class,$),j&4&&o(x,"style",N.style,D.style,$),j&8){const h=v.dynamicProps;for(let l=0;l<h.length;l++){const u=h[l],y=N[u],w=D[u];(w!==y||u==="value")&&o(x,u,y,w,$,O)}}j&1&&E.children!==v.children&&d(x,v.children)}else!b&&U==null&&te(x,N,D,O,$);((Q=D.onVnodeUpdated)||W)&&Xe(()=>{Q&&Mt(Q,O,v,E),W&&cn(v,E,O,"updated")},Y)},Z=(E,v,O,Y,$,g,b)=>{for(let x=0;x<v.length;x++){const j=E[x],U=v[x],W=j.el&&(j.type===qe||!gn(j,U)||j.shapeFlag&70)?p(j.el):O;A(j,U,W,null,Y,$,g,b,!0)}},te=(E,v,O,Y,$)=>{if(v!==O){if(v!==Ie)for(const g in v)!Jn(g)&&!(g in O)&&o(E,g,v[g],null,$,Y);for(const g in O){if(Jn(g))continue;const b=O[g],x=v[g];b!==x&&g!=="value"&&o(E,g,x,b,$,Y)}"value"in O&&o(E,"value",v.value,O.value,$)}},V=(E,v,O,Y,$,g,b,x,j)=>{const U=v.el=E?E.el:a(""),W=v.anchor=E?E.anchor:a("");let{patchFlag:N,dynamicChildren:D,slotScopeIds:Q}=v;Q&&(x=x?x.concat(Q):Q),E==null?(r(U,O,Y),r(W,O,Y),q(v.children||[],O,W,$,g,b,x,j)):N>0&&N&64&&D&&E.dynamicChildren?(Z(E.dynamicChildren,D,O,$,g,b,x),(v.key!=null||$&&v===$.subTree)&&Ko(E,v,!0)):le(E,v,O,W,$,g,b,x,j)},re=(E,v,O,Y,$,g,b,x,j)=>{v.slotScopeIds=x,E==null?v.shapeFlag&512?$.ctx.activate(v,O,Y,b,j):Te(v,O,Y,$,g,b,j):Be(E,v,j)},Te=(E,v,O,Y,$,g,b)=>{const x=E.component=Td(E,Y,$);if(hi(E)&&(x.ctx.renderer=J),xd(x,!1,b),x.asyncDep){if($&&$.registerDep(x,we,b),!E.el){const j=x.subTree=ee(Je);M(null,j,v,O)}}else we(x,E,v,O,$,g,b)},Be=(E,v,O)=>{const Y=v.component=E.component;if(_d(E,v,O))if(Y.asyncDep&&!Y.asyncResolved){ue(Y,v,O);return}else Y.next=v,Y.update();else v.el=E.el,Y.vnode=v},we=(E,v,O,Y,$,g,b)=>{const x=()=>{if(E.isMounted){let{next:N,bu:D,u:Q,parent:h,vnode:l}=E;{const B=bc(E);if(B){N&&(N.el=l.el,ue(E,N,b)),B.asyncDep.then(()=>{E.isUnmounted||x()});return}}let u=N,y;un(E,!1),N?(N.el=l.el,ue(E,N,b)):N=l,D&&Ai(D),(y=N.props&&N.props.onVnodeBeforeUpdate)&&Mt(y,h,N,l),un(E,!0);const w=ki(E),C=E.subTree;E.subTree=w,A(C,w,p(C.el),z(C),E,$,g),N.el=w.el,u===null&&Ed(E,w.el),Q&&Xe(Q,$),(y=N.props&&N.props.onVnodeUpdated)&&Xe(()=>Mt(y,h,N,l),$)}else{let N;const{el:D,props:Q}=v,{bm:h,m:l,parent:u,root:y,type:w}=E,C=nr(v);if(un(E,!1),h&&Ai(h),!C&&(N=Q&&Q.onVnodeBeforeMount)&&Mt(N,u,v),un(E,!0),D&&ye){const B=()=>{E.subTree=ki(E),ye(D,E.subTree,E,$,null)};C&&w.__asyncHydrate?w.__asyncHydrate(D,E,B):B()}else{y.ce&&y.ce._injectChildStyle(w);const B=E.subTree=ki(E);A(null,B,O,Y,E,$,g),v.el=B.el}if(l&&Xe(l,$),!C&&(N=Q&&Q.onVnodeMounted)){const B=v;Xe(()=>Mt(N,u,B),$)}(v.shapeFlag&256||u&&nr(u.vnode)&&u.vnode.shapeFlag&256)&&E.a&&Xe(E.a,$),E.isMounted=!0,v=O=Y=null}};E.scope.on();const j=E.effect=new Il(x);E.scope.off();const U=E.update=j.run.bind(j),W=E.job=j.runIfDirty.bind(j);W.i=E,W.id=E.uid,j.scheduler=()=>Ho(W),un(E,!0),U()},ue=(E,v,O)=>{v.component=E;const Y=E.vnode.props;E.vnode=v,E.next=null,nd(E,v.props,Y,O),sd(E,v.children,O),rn(),Ms(E),on()},le=(E,v,O,Y,$,g,b,x,j=!1)=>{const U=E&&E.children,W=E?E.shapeFlag:0,N=v.children,{patchFlag:D,shapeFlag:Q}=v;if(D>0){if(D&128){We(U,N,O,Y,$,g,b,x,j);return}else if(D&256){De(U,N,O,Y,$,g,b,x,j);return}}Q&8?(W&16&&ke(U,$,g),N!==U&&d(O,N)):W&16?Q&16?We(U,N,O,Y,$,g,b,x,j):ke(U,$,g,!0):(W&8&&d(O,""),Q&16&&q(N,O,Y,$,g,b,x,j))},De=(E,v,O,Y,$,g,b,x,j)=>{E=E||Sn,v=v||Sn;const U=E.length,W=v.length,N=Math.min(U,W);let D;for(D=0;D<N;D++){const Q=v[D]=j?qt(v[D]):Tt(v[D]);A(E[D],Q,O,null,$,g,b,x,j)}U>W?ke(E,$,g,!0,!1,N):q(v,O,Y,$,g,b,x,j,N)},We=(E,v,O,Y,$,g,b,x,j)=>{let U=0;const W=v.length;let N=E.length-1,D=W-1;for(;U<=N&&U<=D;){const Q=E[U],h=v[U]=j?qt(v[U]):Tt(v[U]);if(gn(Q,h))A(Q,h,O,null,$,g,b,x,j);else break;U++}for(;U<=N&&U<=D;){const Q=E[N],h=v[D]=j?qt(v[D]):Tt(v[D]);if(gn(Q,h))A(Q,h,O,null,$,g,b,x,j);else break;N--,D--}if(U>N){if(U<=D){const Q=D+1,h=Q<W?v[Q].el:Y;for(;U<=D;)A(null,v[U]=j?qt(v[U]):Tt(v[U]),O,h,$,g,b,x,j),U++}}else if(U>D)for(;U<=N;)de(E[U],$,g,!0),U++;else{const Q=U,h=U,l=new Map;for(U=h;U<=D;U++){const ae=v[U]=j?qt(v[U]):Tt(v[U]);ae.key!=null&&l.set(ae.key,U)}let u,y=0;const w=D-h+1;let C=!1,B=0;const oe=new Array(w);for(U=0;U<w;U++)oe[U]=0;for(U=Q;U<=N;U++){const ae=E[U];if(y>=w){de(ae,$,g,!0);continue}let he;if(ae.key!=null)he=l.get(ae.key);else for(u=h;u<=D;u++)if(oe[u-h]===0&&gn(ae,v[u])){he=u;break}he===void 0?de(ae,$,g,!0):(oe[he-h]=U+1,he>=B?B=he:C=!0,A(ae,v[he],O,null,$,g,b,x,j),y++)}const xe=C?ud(oe):Sn;for(u=xe.length-1,U=w-1;U>=0;U--){const ae=h+U,he=v[ae],_e=ae+1<W?v[ae+1].el:Y;oe[U]===0?A(null,he,O,_e,$,g,b,x,j):C&&(u<0||U!==xe[u]?fe(he,O,_e,2):u--)}}},fe=(E,v,O,Y,$=null)=>{const{el:g,type:b,transition:x,children:j,shapeFlag:U}=E;if(U&6){fe(E.component.subTree,v,O,Y);return}if(U&128){E.suspense.move(v,O,Y);return}if(U&64){b.move(E,v,O,J);return}if(b===qe){r(g,v,O);for(let N=0;N<j.length;N++)fe(j[N],v,O,Y);r(E.anchor,v,O);return}if(b===ji){S(E,v,O);return}if(Y!==2&&U&1&&x)if(Y===0)x.beforeEnter(g),r(g,v,O),Xe(()=>x.enter(g),$);else{const{leave:N,delayLeave:D,afterLeave:Q}=x,h=()=>r(g,v,O),l=()=>{N(g,()=>{h(),Q&&Q()})};D?D(g,h,l):l()}else r(g,v,O)},de=(E,v,O,Y=!1,$=!1)=>{const{type:g,props:b,ref:x,children:j,dynamicChildren:U,shapeFlag:W,patchFlag:N,dirs:D,cacheIndex:Q}=E;if(N===-2&&($=!1),x!=null&&ro(x,null,O,E,!0),Q!=null&&(v.renderCache[Q]=void 0),W&256){v.ctx.deactivate(E);return}const h=W&1&&D,l=!nr(E);let u;if(l&&(u=b&&b.onVnodeBeforeUnmount)&&Mt(u,v,E),W&6)vt(E.component,O,Y);else{if(W&128){E.suspense.unmount(O,Y);return}h&&cn(E,null,v,"beforeUnmount"),W&64?E.type.remove(E,v,O,J,Y):U&&!U.hasOnce&&(g!==qe||N>0&&N&64)?ke(U,v,O,!1,!0):(g===qe&&N&384||!$&&W&16)&&ke(j,v,O),Y&&it(E)}(l&&(u=b&&b.onVnodeUnmounted)||h)&&Xe(()=>{u&&Mt(u,v,E),h&&cn(E,null,v,"unmounted")},O)},it=E=>{const{type:v,el:O,anchor:Y,transition:$}=E;if(v===qe){ot(O,Y);return}if(v===ji){T(E);return}const g=()=>{i(O),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(E.shapeFlag&1&&$&&!$.persisted){const{leave:b,delayLeave:x}=$,j=()=>b(O,g);x?x(E.el,g,j):j()}else g()},ot=(E,v)=>{let O;for(;E!==v;)O=m(E),i(E),E=O;i(v)},vt=(E,v,O)=>{const{bum:Y,scope:$,job:g,subTree:b,um:x,m:j,a:U}=E;Os(j),Os(U),Y&&Ai(Y),$.stop(),g&&(g.flags|=8,de(b,E,v,O)),x&&Xe(x,v),Xe(()=>{E.isUnmounted=!0},v),v&&v.pendingBranch&&!v.isUnmounted&&E.asyncDep&&!E.asyncResolved&&E.suspenseId===v.pendingId&&(v.deps--,v.deps===0&&v.resolve())},ke=(E,v,O,Y=!1,$=!1,g=0)=>{for(let b=g;b<E.length;b++)de(E[b],v,O,Y,$)},z=E=>{if(E.shapeFlag&6)return z(E.component.subTree);if(E.shapeFlag&128)return E.suspense.next();const v=m(E.anchor||E.el),O=v&&v[Ql];return O?m(O):v};let K=!1;const G=(E,v,O)=>{E==null?v._vnode&&de(v._vnode,null,null,!0):A(v._vnode||null,E,v,null,null,null,O),v._vnode=E,K||(K=!0,Ms(),Hl(),K=!1)},J={p:A,um:de,m:fe,r:it,mt:Te,mc:q,pc:le,pbc:Z,n:z,o:e};let ce,ye;return{render:G,hydrate:ce,createApp:ed(G,ce)}}function Pi({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 un({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function cd(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ko(e,t,n=!1){const r=e.children,i=t.children;if(ne(r)&&ne(i))for(let o=0;o<r.length;o++){const s=r[o];let a=i[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[o]=qt(i[o]),a.el=s.el),!n&&a.patchFlag!==-2&&Ko(s,a)),a.type===Tr&&(a.el=s.el)}}function ud(e){const t=e.slice(),n=[0];let r,i,o,s,a;const c=e.length;for(r=0;r<c;r++){const f=e[r];if(f!==0){if(i=n[n.length-1],e[i]<f){t[r]=i,n.push(r);continue}for(o=0,s=n.length-1;o<s;)a=o+s>>1,e[n[a]]<f?o=a+1:s=a;f<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}function bc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:bc(t)}function Os(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const fd=Symbol.for("v-scx"),dd=()=>et(fd);function vc(e,t){return Qo(e,null,t)}function Re(e,t,n){return Qo(e,t,n)}function Qo(e,t,n=Ie){const{immediate:r,deep:i,flush:o,once:s}=n,a=Pe({},n),c=t&&r||!t&&o!=="post";let f;if(pr){if(o==="sync"){const _=dd();f=_.__watcherHandles||(_.__watcherHandles=[])}else if(!c){const _=()=>{};return _.stop=Lt,_.resume=Lt,_.pause=Lt,_}}const d=$e;a.call=(_,L,A)=>_t(_,d,L,A);let p=!1;o==="post"?a.scheduler=_=>{Xe(_,d&&d.suspense)}:o!=="sync"&&(p=!0,a.scheduler=(_,L)=>{L?_():Ho(_)}),a.augmentJob=_=>{t&&(_.flags|=4),p&&(_.flags|=2,d&&(_.id=d.uid,_.i=d))};const m=xf(e,t,a);return pr&&(f?f.push(m):c&&m()),m}function hd(e,t,n){const r=this.proxy,i=Se(e)?e.includes(".")?Mc(r,e):()=>r[e]:e.bind(r,r);let o;ie(t)?o=t:(o=t.handler,n=t);const s=xr(this),a=Qo(i,o.bind(r),n);return s(),a}function Mc(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const pd=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${nn(t)}Modifiers`];function md(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ie;let i=n;const o=t.startsWith("update:"),s=o&&pd(r,t.slice(7));s&&(s.trim&&(i=n.map(d=>Se(d)?d.trim():d)),s.number&&(i=n.map(Vu)));let a,c=r[a=xi(t)]||r[a=xi(ht(t))];!c&&o&&(c=r[a=xi(nn(t))]),c&&_t(c,e,6,i);const f=r[a+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,_t(f,e,6,i)}}function wc(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let s={},a=!1;if(!ie(e)){const c=f=>{const d=wc(f,t,!0);d&&(a=!0,Pe(s,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(Le(e)&&r.set(e,null),null):(ne(o)?o.forEach(c=>s[c]=null):Pe(s,o),Le(e)&&r.set(e,s),s)}function gi(e,t){return!e||!si(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ee(e,t[0].toLowerCase()+t.slice(1))||Ee(e,nn(t))||Ee(e,t))}function ki(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:s,attrs:a,emit:c,render:f,renderCache:d,props:p,data:m,setupState:_,ctx:L,inheritAttrs:A}=e,P=Xr(e);let M,I;try{if(n.shapeFlag&4){const T=i||r,F=T;M=Tt(f.call(F,T,d,p,_,m,L)),I=a}else{const T=t;M=Tt(T.length>1?T(p,{attrs:a,slots:s,emit:c}):T(p,null)),I=t.props?a:gd(a)}}catch(T){ir.length=0,di(T,e,1),M=ee(Je)}let S=M;if(I&&A!==!1){const T=Object.keys(I),{shapeFlag:F}=S;T.length&&F&7&&(o&&T.some(Do)&&(I=yd(I,o)),S=en(S,I,!1,!0))}return n.dirs&&(S=en(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&fr(S,n.transition),M=S,Xr(P),M}const gd=e=>{let t;for(const n in e)(n==="class"||n==="style"||si(n))&&((t||(t={}))[n]=e[n]);return t},yd=(e,t)=>{const n={};for(const r in e)(!Do(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function _d(e,t,n){const{props:r,children:i,component:o}=e,{props:s,children:a,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Ds(r,s,f):!!s;if(c&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const m=d[p];if(s[m]!==r[m]&&!gi(f,m))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?Ds(r,s,f):!0:!!s;return!1}function Ds(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(t[o]!==e[o]&&!gi(n,o))return!0}return!1}function Ed({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ic=e=>e.__isSuspense;function bd(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):Sf(e)}const qe=Symbol.for("v-fgt"),Tr=Symbol.for("v-txt"),Je=Symbol.for("v-cmt"),ji=Symbol.for("v-stc"),ir=[];let at=null;function lo(e=!1){ir.push(at=e?null:[])}function vd(){ir.pop(),at=ir[ir.length-1]||null}let dr=1;function Rs(e){dr+=e,e<0&&at&&(at.hasOnce=!0)}function Nc(e){return e.dynamicChildren=dr>0?at||Sn:null,vd(),dr>0&&at&&at.push(e),e}function i_(e,t,n,r,i,o){return Nc(xc(e,t,n,r,i,o,!0))}function co(e,t,n,r,i){return Nc(ee(e,t,n,r,i,!0))}function hr(e){return e?e.__v_isVNode===!0:!1}function gn(e,t){return e.type===t.type&&e.key===t.key}const Tc=({key:e})=>e??null,zr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||Ue(e)||ie(e)?{i:Ze,r:e,k:t,f:!!n}:e:null);function xc(e,t=null,n=null,r=0,i=null,o=e===qe?0:1,s=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Tc(t),ref:t&&zr(t),scopeId:Gl,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:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ze};return a?(Xo(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Se(n)?8:16),dr>0&&!s&&at&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&at.push(c),c}const ee=Md;function Md(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===ac)&&(e=Je),hr(e)){const a=en(e,t,!0);return n&&Xo(a,n),dr>0&&!o&&at&&(a.shapeFlag&6?at[at.indexOf(e)]=a:at.push(a)),a.patchFlag=-2,a}if(Od(e)&&(e=e.__vccOpts),t){t=wd(t);let{class:a,style:c}=t;a&&!Se(a)&&(t.class=jo(a)),Le(c)&&(Wo(c)&&!ne(c)&&(c=Pe({},c)),t.style=ko(c))}const s=Se(e)?1:Ic(e)?128:Xl(e)?64:Le(e)?4:ie(e)?2:0;return xc(e,t,n,r,i,s,o,!0)}function wd(e){return e?Wo(e)||hc(e)?Pe({},e):e:null}function en(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:s,children:a,transition:c}=e,f=t?kn(i||{},t):i,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Tc(f),ref:t&&t.ref?n&&o?ne(o)?o.concat(zr(t)):[o,zr(t)]:zr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==qe?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&en(e.ssContent),ssFallback:e.ssFallback&&en(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&fr(d,c.clone(d)),d}function Yr(e=" ",t=0){return ee(Tr,null,e,t)}function o_(e="",t=!1){return t?(lo(),co(Je,null,e)):ee(Je,null,e)}function Tt(e){return e==null||typeof e=="boolean"?ee(Je):ne(e)?ee(qe,null,e.slice()):hr(e)?qt(e):ee(Tr,null,String(e))}function qt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:en(e)}function Xo(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ne(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Xo(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!hc(t)?t._ctx=Ze:i===3&&Ze&&(Ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ie(t)?(t={default:t,_ctx:Ze},n=32):(t=String(t),r&64?(n=16,t=[Yr(t)]):n=8);e.children=t,e.shapeFlag|=n}function kn(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=jo([t.class,r.class]));else if(i==="style")t.style=ko([t.style,r.style]);else if(si(i)){const o=t[i],s=r[i];s&&o!==s&&!(ne(o)&&o.includes(s))&&(t[i]=o?[].concat(o,s):s)}else i!==""&&(t[i]=r[i])}return t}function Mt(e,t,n,r=null){_t(e,t,7,[n,r])}const Id=uc();let Nd=0;function Td(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Id,o={uid:Nd++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new wl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:mc(r,i),emitsOptions:wc(r,i),emit:null,emitted:null,propsDefaults:Ie,inheritAttrs:r.inheritAttrs,ctx:Ie,data:Ie,props:Ie,attrs:Ie,slots:Ie,refs:Ie,setupState:Ie,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=md.bind(null,o),e.ce&&e.ce(o),o}let $e=null;const pt=()=>$e||Ze;let Jr,uo;{const e=ui(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(s=>s(o)):i[0](o)}};Jr=t("__VUE_INSTANCE_SETTERS__",n=>$e=n),uo=t("__VUE_SSR_SETTERS__",n=>pr=n)}const xr=e=>{const t=$e;return Jr(e),e.scope.on(),()=>{e.scope.off(),Jr(t)}},Ps=()=>{$e&&$e.scope.off(),Jr(null)};function Ac(e){return e.vnode.shapeFlag&4}let pr=!1;function xd(e,t=!1,n=!1){t&&uo(t);const{props:r,children:i}=e.vnode,o=Ac(e);td(e,r,o,t),od(e,i,n);const s=o?Ad(e,t):void 0;return t&&uo(!1),s}function Ad(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Gf);const{setup:r}=n;if(r){rn();const i=e.setupContext=r.length>1?Sd(e):null,o=xr(e),s=Mr(r,e,0,[e.props,i]),a=gl(s);if(on(),o(),(a||e.sp)&&!nr(e)&&ic(e),a){if(s.then(Ps,Ps),t)return s.then(c=>{ks(e,c,t)}).catch(c=>{di(c,e,0)});e.asyncDep=s}else ks(e,s,t)}else Lc(e,t)}function ks(e,t,n){ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Le(t)&&(e.setupState=zl(t)),Lc(e,n)}let js;function Lc(e,t,n){const r=e.type;if(!e.render){if(!t&&js&&!r.render){const i=r.template||Vo(e).template;if(i){const{isCustomElement:o,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,f=Pe(Pe({isCustomElement:o,delimiters:a},s),c);r.render=js(i,f)}}e.render=r.render||Lt}{const i=xr(e);rn();try{Kf(e)}finally{on(),i()}}}const Ld={get(e,t){return ze(e,"get",""),e[t]}};function Sd(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ld),slots:e.slots,emit:e.emit,expose:t}}function yi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(zl(vf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in rr)return rr[n](e)},has(t,n){return n in t||n in rr}})):e.proxy}function Cd(e,t=!0){return ie(e)?e.displayName||e.name:e.name||t&&e.__name}function Od(e){return ie(e)&&"__vccOpts"in e}const Ce=(e,t)=>Nf(e,t,pr);function Ar(e,t,n){const r=arguments.length;return r===2?Le(t)&&!ne(t)?hr(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&hr(n)&&(n=[n]),ee(e,t,n))}const Dd="3.5.12";/**
* @vue/runtime-dom v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let fo;const Fs=typeof window<"u"&&window.trustedTypes;if(Fs)try{fo=Fs.createPolicy("vue",{createHTML:e=>e})}catch{}const Sc=fo?e=>fo.createHTML(e):e=>e,Rd="http://www.w3.org/2000/svg",Pd="http://www.w3.org/1998/Math/MathML",Rt=typeof document<"u"?document:null,Bs=Rt&&Rt.createElement("template"),kd={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?Rt.createElementNS(Rd,e):t==="mathml"?Rt.createElementNS(Pd,e):n?Rt.createElement(e,{is:n}):Rt.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Rt.createTextNode(e),createComment:e=>Rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const s=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{Bs.innerHTML=Sc(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Bs.content;if(r==="svg"||r==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Wt="transition",Vn="animation",mr=Symbol("_vtc"),Cc={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},jd=Pe({},Zl,Cc),Fd=e=>(e.displayName="Transition",e.props=jd,e),Oc=Fd((e,{slots:t})=>Ar(kf,Bd(e),t)),fn=(e,t=[])=>{ne(e)?e.forEach(n=>n(...t)):e&&e(...t)},Us=e=>e?ne(e)?e.some(t=>t.length>1):e.length>1:!1;function Bd(e){const t={};for(const V in e)V in Cc||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=s,appearToClass:d=a,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,L=Ud(i),A=L&&L[0],P=L&&L[1],{onBeforeEnter:M,onEnter:I,onEnterCancelled:S,onLeave:T,onLeaveCancelled:F,onBeforeAppear:R=M,onAppear:k=I,onAppearCancelled:q=S}=t,H=(V,re,Te)=>{dn(V,re?d:a),dn(V,re?f:s),Te&&Te()},Z=(V,re)=>{V._isLeaving=!1,dn(V,p),dn(V,_),dn(V,m),re&&re()},te=V=>(re,Te)=>{const Be=V?k:I,we=()=>H(re,V,Te);fn(Be,[re,we]),$s(()=>{dn(re,V?c:o),Ht(re,V?d:a),Us(Be)||zs(re,r,A,we)})};return Pe(t,{onBeforeEnter(V){fn(M,[V]),Ht(V,o),Ht(V,s)},onBeforeAppear(V){fn(R,[V]),Ht(V,c),Ht(V,f)},onEnter:te(!1),onAppear:te(!0),onLeave(V,re){V._isLeaving=!0;const Te=()=>Z(V,re);Ht(V,p),Ht(V,m),Yd(),$s(()=>{V._isLeaving&&(dn(V,p),Ht(V,_),Us(T)||zs(V,r,P,Te))}),fn(T,[V,Te])},onEnterCancelled(V){H(V,!1),fn(S,[V])},onAppearCancelled(V){H(V,!0),fn(q,[V])},onLeaveCancelled(V){Z(V),fn(F,[V])}})}function Ud(e){if(e==null)return null;if(Le(e))return[Fi(e.enter),Fi(e.leave)];{const t=Fi(e);return[t,t]}}function Fi(e){return Gu(e)}function Ht(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[mr]||(e[mr]=new Set)).add(t)}function dn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[mr];n&&(n.delete(t),n.size||(e[mr]=void 0))}function $s(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $d=0;function zs(e,t,n,r){const i=e._endId=++$d,o=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:s,timeout:a,propCount:c}=zd(e,t);if(!s)return r();const f=s+"end";let d=0;const p=()=>{e.removeEventListener(f,m),o()},m=_=>{_.target===e&&++d>=c&&p()};setTimeout(()=>{d<c&&p()},a+1),e.addEventListener(f,m)}function zd(e,t){const n=window.getComputedStyle(e),r=L=>(n[L]||"").split(", "),i=r(`${Wt}Delay`),o=r(`${Wt}Duration`),s=Ys(i,o),a=r(`${Vn}Delay`),c=r(`${Vn}Duration`),f=Ys(a,c);let d=null,p=0,m=0;t===Wt?s>0&&(d=Wt,p=s,m=o.length):t===Vn?f>0&&(d=Vn,p=f,m=c.length):(p=Math.max(s,f),d=p>0?s>f?Wt:Vn:null,m=d?d===Wt?o.length:c.length:0);const _=d===Wt&&/\b(transform|all)(,|$)/.test(r(`${Wt}Property`).toString());return{type:d,timeout:p,propCount:m,hasTransform:_}}function Ys(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Ws(n)+Ws(e[r])))}function Ws(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Yd(){return document.body.offsetHeight}function Wd(e,t,n){const r=e[mr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Zr=Symbol("_vod"),Dc=Symbol("_vsh"),Rc={beforeMount(e,{value:t},{transition:n}){e[Zr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Gn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Gn(e,!0),r.enter(e)):r.leave(e,()=>{Gn(e,!1)}):Gn(e,t))},beforeUnmount(e,{value:t}){Gn(e,t)}};function Gn(e,t){e.style.display=t?e[Zr]:"none",e[Dc]=!t}const Hd=Symbol(""),Vd=/(^|;)\s*display\s*:/;function Gd(e,t,n){const r=e.style,i=Se(n);let o=!1;if(n&&!i){if(t)if(Se(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&Wr(r,a,"")}else for(const s in t)n[s]==null&&Wr(r,s,"");for(const s in n)s==="display"&&(o=!0),Wr(r,s,n[s])}else if(i){if(t!==n){const s=r[Hd];s&&(n+=";"+s),r.cssText=n,o=Vd.test(n)}}else t&&e.removeAttribute("style");Zr in e&&(e[Zr]=o?r.display:"",e[Dc]&&(r.display="none"))}const Hs=/\s*!important$/;function Wr(e,t,n){if(ne(n))n.forEach(r=>Wr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Kd(e,t);Hs.test(n)?e.setProperty(nn(r),n.replace(Hs,""),"important"):e[r]=n}}const Vs=["Webkit","Moz","ms"],Bi={};function Kd(e,t){const n=Bi[t];if(n)return n;let r=ht(t);if(r!=="filter"&&r in e)return Bi[t]=r;r=ci(r);for(let i=0;i<Vs.length;i++){const o=Vs[i]+r;if(o in e)return Bi[t]=o}return t}const Gs="http://www.w3.org/1999/xlink";function Ks(e,t,n,r,i,o=Zu(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Gs,t.slice(6,t.length)):e.setAttributeNS(Gs,t,n):n==null||o&&!bl(n)?e.removeAttribute(t):e.setAttribute(t,o?"":tn(n)?String(n):n)}function Qs(e,t,n,r,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Sc(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(a!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=bl(n):n==null&&a==="string"?(n="",s=!0):a==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(i||t)}function Qd(e,t,n,r){e.addEventListener(t,n,r)}function Xd(e,t,n,r){e.removeEventListener(t,n,r)}const Xs=Symbol("_vei");function qd(e,t,n,r,i=null){const o=e[Xs]||(e[Xs]={}),s=o[t];if(r&&s)s.value=r;else{const[a,c]=Jd(t);if(r){const f=o[t]=th(r,i);Qd(e,a,f,c)}else s&&(Xd(e,a,s,c),o[t]=void 0)}}const qs=/(?:Once|Passive|Capture)$/;function Jd(e){let t;if(qs.test(e)){t={};let r;for(;r=e.match(qs);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):nn(e.slice(2)),t]}let Ui=0;const Zd=Promise.resolve(),eh=()=>Ui||(Zd.then(()=>Ui=0),Ui=Date.now());function th(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;_t(nh(r,n.value),t,5,[r])};return n.value=e,n.attached=eh(),n}function nh(e,t){if(ne(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const Js=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,rh=(e,t,n,r,i,o)=>{const s=i==="svg";t==="class"?Wd(e,r,s):t==="style"?Gd(e,n,r):si(t)?Do(t)||qd(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ih(e,t,r,s))?(Qs(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ks(e,t,r,s,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Se(r))?Qs(e,ht(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ks(e,t,r,s))};function ih(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Js(t)&&ie(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Js(t)&&Se(n)?!1:t in e}const oh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},s_=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=nn(i.key);if(t.some(s=>s===o||oh[s]===o))return e(i)})},sh=Pe({patchProp:rh},kd);let Zs;function ah(){return Zs||(Zs=ad(sh))}const lh=(...e)=>{const t=ah().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=uh(r);if(!i)return;const o=t._component;!ie(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const s=n(i,!1,ch(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},t};function ch(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function uh(e){return Se(e)?document.querySelector(e):e}function fh(){}const Yn=Object.assign,ei=typeof window<"u",_i=e=>e!==null&&typeof e=="object",In=e=>e!=null,ho=e=>typeof e=="function",dh=e=>_i(e)&&ho(e.then)&&ho(e.catch),Pc=e=>typeof e=="number"||/^\d+(\.\d+)?$/.test(e),hh=()=>ei?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function ea(e,t){const n=t.split(".");let r=e;return n.forEach(i=>{var o;r=_i(r)&&(o=r[i])!=null?o:""}),r}function ph(e,t,n){return t.reduce((r,i)=>(r[i]=e[i],r),{})}const a_=e=>Array.isArray(e)?e:[e],qo=null,tt=[Number,String],Ke={type:Boolean,default:!0},l_=e=>({type:e,required:!0}),mh=()=>({type:Array,default:()=>[]}),c_=e=>({type:Number,default:e}),gh=e=>({type:tt,default:e}),lt=e=>({type:String,default:e});var Ei=typeof window<"u",yh=e=>e===window,ta=(e,t)=>({top:0,left:0,right:e,bottom:t,width:e,height:t}),_h=e=>{const t=gt(e);if(yh(t)){const n=t.innerWidth,r=t.innerHeight;return ta(n,r)}return t!=null&&t.getBoundingClientRect?t.getBoundingClientRect():ta(0,0)};function Eh(e){const t=et(e,null);if(t){const n=pt(),{link:r,unlink:i,internalChildren:o}=t;r(n),Nr(()=>i(n));const s=Ce(()=>o.indexOf(n));return{parent:t,index:s}}return{parent:null,index:Me(-1)}}function bh(e){const t=[],n=r=>{Array.isArray(r)&&r.forEach(i=>{var o;hr(i)&&(t.push(i),(o=i.component)!=null&&o.subTree&&(t.push(i.component.subTree),n(i.component.subTree.children)),i.children&&n(i.children))})};return n(e),t}var na=(e,t)=>{const n=e.indexOf(t);return n===-1?e.findIndex(r=>t.key!==void 0&&t.key!==null&&r.type===t.type&&r.key===t.key):n};function vh(e,t,n){const r=bh(e.subTree.children);n.sort((o,s)=>na(r,o.vnode)-na(r,s.vnode));const i=n.map(o=>o.proxy);t.sort((o,s)=>{const a=i.indexOf(o),c=i.indexOf(s);return a-c})}function Mh(e){const t=vn([]),n=vn([]),r=pt();return{children:t,linkChildren:o=>{En(e,Object.assign({link:c=>{c.proxy&&(n.push(c),t.push(c.proxy),vh(r,t,n))},unlink:c=>{const f=n.indexOf(c);t.splice(f,1),n.splice(f,1)},children:t,internalChildren:n},o))}}}function kc(e){let t;sn(()=>{e(),wn(()=>{t=!0})}),pi(()=>{t&&e()})}function Jo(e,t,n={}){if(!Ei)return;const{target:r=window,passive:i=!1,capture:o=!1}=n;let s=!1,a;const c=p=>{if(s)return;const m=gt(p);m&&!a&&(m.addEventListener(e,t,{capture:o,passive:i}),a=!0)},f=p=>{if(s)return;const m=gt(p);m&&a&&(m.removeEventListener(e,t,o),a=!1)};Nr(()=>f(r)),wr(()=>f(r)),kc(()=>c(r));let d;return Ue(r)&&(d=Re(r,(p,m)=>{f(m),c(p)})),()=>{d==null||d(),f(r),s=!0}}function wh(e,t,n={}){if(!Ei)return;const{eventName:r="click"}=n;Jo(r,o=>{(Array.isArray(e)?e:[e]).every(c=>{const f=gt(c);return f&&!f.contains(o.target)})&&t(o)},{target:document})}var Pr,$i;function Ih(){if(!Pr&&(Pr=Me(0),$i=Me(0),Ei)){const e=()=>{Pr.value=window.innerWidth,$i.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:Pr,height:$i}}var Nh=/scroll|auto|overlay/i,jc=Ei?window:void 0;function Th(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Fc(e,t=jc){let n=e;for(;n&&n!==t&&Th(n);){const{overflowY:r}=window.getComputedStyle(n);if(Nh.test(r))return n;n=n.parentNode}return t}function u_(e,t=jc){const n=Me();return sn(()=>{e.value&&(n.value=Fc(e.value,t))}),n}var xh=Symbol("van-field");function f_(e){const t=et(xh,null);t&&!t.customValue.value&&(t.customValue.value=e,Re(e,()=>{t.resetValidation(),t.validateWithTrigger("onChange")}))}function d_(e){const t="scrollTop"in e?e.scrollTop:e.pageYOffset;return Math.max(t,0)}function ra(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function Ah(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function Lh(e){ra(window,e),ra(document.body,e)}const Sh=hh();function h_(){Sh&&Lh(Ah())}const Ch=e=>e.stopPropagation();function Bc(e,t){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),t&&Ch(e)}function p_(e){const t=gt(e);if(!t)return!1;const n=window.getComputedStyle(t),r=n.display==="none",i=t.offsetParent===null&&n.position!=="fixed";return r||i}const{width:Oh,height:Dh}=Ih();function xt(e){if(In(e))return Pc(e)?`${e}px`:String(e)}function m_(e){if(In(e)){if(Array.isArray(e))return{width:xt(e[0]),height:xt(e[1])};const t=xt(e);return{width:t,height:t}}}function Zo(e){const t={};return e!==void 0&&(t.zIndex=+e),t}const Rh=/-(\w)/g,Uc=e=>e.replace(Rh,(t,n)=>n.toUpperCase()),Ph=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,""),g_=(e,t,n)=>Math.min(Math.max(e,t),n);function ia(e,t,n){const r=e.indexOf(t);return r===-1?e:t==="-"&&r!==0?e.slice(0,r):e.slice(0,r+1)+e.slice(r).replace(n,"")}function y_(e,t=!0,n=!0){t?e=ia(e,".",/\./g):e=e.split(".")[0],n?e=ia(e,"-",/-/g):e=e.replace(/-/,"");const r=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(r,"")}const{hasOwnProperty:kh}=Object.prototype;function jh(e,t,n){const r=t[n];In(r)&&(!kh.call(e,n)||!_i(r)?e[n]=r:e[n]=$c(Object(e[n]),r))}function $c(e,t){return Object.keys(t).forEach(n=>{jh(e,t,n)}),e}var Fh={name:"姓名",tel:"电话",save:"保存",clear:"清空",cancel:"取消",confirm:"确认",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,t)=>`${e}年${t}月`,rangePrompt:e=>`最多选择 ${e} 天`},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:e=>`${e}折`,condition:e=>`满${e}元可用`},vanCouponCell:{title:"优惠券",count:e=>`${e}张可用`},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}};const oa=Me("zh-CN"),sa=vn({"zh-CN":Fh}),Bh={messages(){return sa[oa.value]},use(e,t){oa.value=e,this.add({[e]:t})},add(e={}){$c(sa,e)}};var Uh=Bh;function $h(e){const t=Uc(e)+".";return(n,...r)=>{const i=Uh.messages(),o=ea(i,t+n)||ea(i,n);return ho(o)?o(...r):o}}function po(e,t){return t?typeof t=="string"?` ${e}--${t}`:Array.isArray(t)?t.reduce((n,r)=>n+po(e,r),""):Object.keys(t).reduce((n,r)=>n+(t[r]?po(e,r):""),""):""}function zh(e){return(t,n)=>(t&&typeof t!="string"&&(n=t,t=""),t=t?`${e}__${t}`:e,`${t}${po(t,n)}`)}function zt(e){const t=`van-${e}`;return[t,zh(t),$h(t)]}const Wn="van-hairline",__=`${Wn}--top`,E_=`${Wn}--left`,Yh=`${Wn}--right`,zc=`${Wn}--bottom`,b_=`${Wn}--surround`,Wh=`${Wn}--top-bottom`,mo="van-haptics-feedback",v_=Symbol("van-form"),aa=5;function Yc(e,{args:t=[],done:n,canceled:r,error:i}){if(e){const o=e.apply(null,t);dh(o)?o.then(s=>{s?n():r&&r()}).catch(i||fh):o?n():r&&r()}else n()}function Yt(e){return e.install=t=>{const{name:n}=e;n&&(t.component(n,e),t.component(Uc(`-${n}`),e))},e}const Wc=Symbol();function Hh(e){const t=et(Wc,null);t&&Re(t,n=>{n&&e()})}const Vh=(e,t)=>{const n=Me(),r=()=>{n.value=_h(e).height};return sn(()=>{wn(r);for(let i=1;i<=3;i++)setTimeout(r,100*i)}),Hh(()=>wn(r)),Re([Oh,Dh],r),n};function Hc(e,t){const n=Vh(e);return r=>ee("div",{class:t("placeholder"),style:{height:n.value?`${n.value}px`:void 0}},[r()])}function Gh(e){const t=pt();t&&Yn(t.proxy,e)}const Kh={to:[String,Object],url:String,replace:Boolean};function Qh({to:e,url:t,replace:n,$router:r}){e&&r?r[n?"replace":"push"](e):t&&(n?location.replace(t):location.href=t)}function Xh(){const e=pt().proxy;return()=>Qh(e)}const[qh,la]=zt("badge"),Jh={dot:Boolean,max:tt,tag:lt("div"),color:String,offset:Array,content:tt,showZero:Ke,position:lt("top-right")};var Zh=rt({name:qh,props:Jh,setup(e,{slots:t}){const n=()=>{if(t.content)return!0;const{content:a,showZero:c}=e;return In(a)&&a!==""&&(c||a!==0&&a!=="0")},r=()=>{const{dot:a,max:c,content:f}=e;if(!a&&n())return t.content?t.content():In(c)&&Pc(f)&&+f>+c?`${c}+`:f},i=a=>a.startsWith("-")?a.replace("-",""):`-${a}`,o=Ce(()=>{const a={background:e.color};if(e.offset){const[c,f]=e.offset,{position:d}=e,[p,m]=d.split("-");t.default?(typeof f=="number"?a[p]=xt(p==="top"?f:-f):a[p]=p==="top"?xt(f):i(f),typeof c=="number"?a[m]=xt(m==="left"?c:-c):a[m]=m==="left"?xt(c):i(c)):(a.marginTop=xt(f),a.marginLeft=xt(c))}return a}),s=()=>{if(n()||e.dot)return ee("div",{class:la([e.position,{dot:e.dot,fixed:!!t.default}]),style:o.value},[r()])};return()=>{if(t.default){const{tag:a}=e;return ee(a,{class:la("wrapper")},{default:()=>[t.default(),s()]})}return s()}}});const Vc=Yt(Zh);let Gc=2e3;const ep=()=>++Gc,tp=e=>{Gc=e},[Kc,np]=zt("config-provider"),Qc=Symbol(Kc),rp={tag:lt("div"),theme:lt("light"),zIndex:Number,themeVars:Object,themeVarsDark:Object,themeVarsLight:Object,themeVarsScope:lt("local"),iconPrefix:String};function ip(e){return e.replace(/([a-zA-Z])(\d)/g,"$1-$2")}function op(e){const t={};return Object.keys(e).forEach(n=>{const r=ip(Ph(n));t[`--van-${r}`]=e[n]}),t}function kr(e={},t={}){Object.keys(e).forEach(n=>{e[n]!==t[n]&&document.documentElement.style.setProperty(n,e[n])}),Object.keys(t).forEach(n=>{e[n]||document.documentElement.style.removeProperty(n)})}var sp=rt({name:Kc,props:rp,setup(e,{slots:t}){const n=Ce(()=>op(Yn({},e.themeVars,e.theme==="dark"?e.themeVarsDark:e.themeVarsLight)));if(ei){const r=()=>{document.documentElement.classList.add(`van-theme-${e.theme}`)},i=(o=e.theme)=>{document.documentElement.classList.remove(`van-theme-${o}`)};Re(()=>e.theme,(o,s)=>{s&&i(s),r()},{immediate:!0}),pi(r),wr(i),Ir(i),Re(n,(o,s)=>{e.themeVarsScope==="global"&&kr(o,s)}),Re(()=>e.themeVarsScope,(o,s)=>{s==="global"&&kr({},n.value),o==="global"&&kr(n.value,{})}),e.themeVarsScope==="global"&&kr(n.value,{})}return En(Qc,e),vc(()=>{e.zIndex!==void 0&&tp(e.zIndex)}),()=>ee(e.tag,{class:np(),style:e.themeVarsScope==="local"?n.value:void 0},{default:()=>{var r;return[(r=t.default)==null?void 0:r.call(t)]}})}});const[ap,ca]=zt("icon"),lp=e=>e==null?void 0:e.includes("/"),cp={dot:Boolean,tag:lt("i"),name:String,size:tt,badge:tt,color:String,badgeProps:Object,classPrefix:String};var up=rt({name:ap,props:cp,setup(e,{slots:t}){const n=et(Qc,null),r=Ce(()=>e.classPrefix||(n==null?void 0:n.iconPrefix)||ca());return()=>{const{tag:i,dot:o,name:s,size:a,badge:c,color:f}=e,d=lp(s);return ee(Vc,kn({dot:o,tag:i,class:[r.value,d?"":`${r.value}-${s}`],style:{color:f,fontSize:xt(a)},content:c},e.badgeProps),{default:()=>{var p;return[(p=t.default)==null?void 0:p.call(t),d&&ee("img",{class:ca("image"),src:s},null)]}})}}});const Lr=Yt(up),Xc={show:Boolean,zIndex:tt,overlay:Ke,duration:tt,teleport:[String,Object],lockScroll:Ke,lazyRender:Ke,beforeClose:Function,overlayStyle:Object,overlayClass:qo,transitionAppear:Boolean,closeOnClickOverlay:Ke},M_=Object.keys(Xc);function fp(e,t){return e>t?"horizontal":t>e?"vertical":""}function dp(){const e=Me(0),t=Me(0),n=Me(0),r=Me(0),i=Me(0),o=Me(0),s=Me(""),a=Me(!0),c=()=>s.value==="vertical",f=()=>s.value==="horizontal",d=()=>{n.value=0,r.value=0,i.value=0,o.value=0,s.value="",a.value=!0};return{move:_=>{const L=_.touches[0];n.value=(L.clientX<0?0:L.clientX)-e.value,r.value=L.clientY-t.value,i.value=Math.abs(n.value),o.value=Math.abs(r.value);const A=10;(!s.value||i.value<A&&o.value<A)&&(s.value=fp(i.value,o.value)),a.value&&(i.value>aa||o.value>aa)&&(a.value=!1)},start:_=>{d(),e.value=_.touches[0].clientX,t.value=_.touches[0].clientY},reset:d,startX:e,startY:t,deltaX:n,deltaY:r,offsetX:i,offsetY:o,direction:s,isVertical:c,isHorizontal:f,isTap:a}}let Kn=0;const ua="van-overflow-hidden";function hp(e,t){const n=dp(),r="01",i="10",o=d=>{n.move(d);const p=n.deltaY.value>0?i:r,m=Fc(d.target,e.value),{scrollHeight:_,offsetHeight:L,scrollTop:A}=m;let P="11";A===0?P=L>=_?"00":"01":A+L>=_&&(P="10"),P!=="11"&&n.isVertical()&&!(parseInt(P,2)&parseInt(p,2))&&Bc(d,!0)},s=()=>{document.addEventListener("touchstart",n.start),document.addEventListener("touchmove",o,{passive:!1}),Kn||document.body.classList.add(ua),Kn++},a=()=>{Kn&&(document.removeEventListener("touchstart",n.start),document.removeEventListener("touchmove",o),Kn--,Kn||document.body.classList.remove(ua))},c=()=>t()&&s(),f=()=>t()&&a();kc(c),wr(f),Ir(f),Re(t,d=>{d?s():a()})}function qc(e){const t=Me(!1);return Re(e,n=>{n&&(t.value=n)},{immediate:!0}),n=>()=>t.value?n():null}const go=()=>{var e;const{scopeId:t}=((e=pt())==null?void 0:e.vnode)||{};return t?{[t]:""}:null},[pp,mp]=zt("overlay"),gp={show:Boolean,zIndex:tt,duration:tt,className:qo,lockScroll:Ke,lazyRender:Ke,customStyle:Object,teleport:[String,Object]};var yp=rt({name:pp,props:gp,setup(e,{slots:t}){const n=Me(),r=qc(()=>e.show||!e.lazyRender),i=s=>{e.lockScroll&&Bc(s,!0)},o=r(()=>{var s;const a=Yn(Zo(e.zIndex),e.customStyle);return In(e.duration)&&(a.animationDuration=`${e.duration}s`),Kl(ee("div",{ref:n,style:a,class:[mp(),e.className]},[(s=t.default)==null?void 0:s.call(t)]),[[Rc,e.show]])});return Jo("touchmove",i,{target:n}),()=>{const s=ee(Oc,{name:"van-fade",appear:!0},{default:o});return e.teleport?ee(ql,{to:e.teleport},{default:()=>[s]}):s}}});const _p=Yt(yp),Ep=Yn({},Xc,{round:Boolean,position:lt("center"),closeIcon:lt("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:lt("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[bp,fa]=zt("popup");var vp=rt({name:bp,inheritAttrs:!1,props:Ep,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup(e,{emit:t,attrs:n,slots:r}){let i,o;const s=Me(),a=Me(),c=qc(()=>e.show||!e.lazyRender),f=Ce(()=>{const R={zIndex:s.value};if(In(e.duration)){const k=e.position==="center"?"animationDuration":"transitionDuration";R[k]=`${e.duration}s`}return R}),d=()=>{i||(i=!0,s.value=e.zIndex!==void 0?+e.zIndex:ep(),t("open"))},p=()=>{i&&Yc(e.beforeClose,{done(){i=!1,t("close"),t("update:show",!1)}})},m=R=>{t("clickOverlay",R),e.closeOnClickOverlay&&p()},_=()=>{if(e.overlay)return ee(_p,kn({show:e.show,class:e.overlayClass,zIndex:s.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0},go(),{onClick:m}),{default:r["overlay-content"]})},L=R=>{t("clickCloseIcon",R),p()},A=()=>{if(e.closeable)return ee(Lr,{role:"button",tabindex:0,name:e.closeIcon,class:[fa("close-icon",e.closeIconPosition),mo],classPrefix:e.iconPrefix,onClick:L},null)};let P;const M=()=>{P&&clearTimeout(P),P=setTimeout(()=>{t("opened")})},I=()=>t("closed"),S=R=>t("keydown",R),T=c(()=>{var R;const{round:k,position:q,safeAreaInsetTop:H,safeAreaInsetBottom:Z}=e;return Kl(ee("div",kn({ref:a,style:f.value,role:"dialog",tabindex:0,class:[fa({round:k,[q]:q}),{"van-safe-area-top":H,"van-safe-area-bottom":Z}],onKeydown:S},n,go()),[(R=r.default)==null?void 0:R.call(r),A()]),[[Rc,e.show]])}),F=()=>{const{position:R,transition:k,transitionAppear:q}=e,H=R==="center"?"van-fade":`van-popup-slide-${R}`;return ee(Oc,{name:k||H,appear:q,onAfterEnter:M,onAfterLeave:I},{default:T})};return Re(()=>e.show,R=>{R&&!i&&(d(),n.tabindex===0&&wn(()=>{var k;(k=a.value)==null||k.focus()})),!R&&i&&(i=!1,t("close"))}),Gh({popupRef:a}),hp(a,()=>e.show&&e.lockScroll),Jo("popstate",()=>{e.closeOnPopstate&&(p(),o=!1)}),sn(()=>{e.show&&d()}),pi(()=>{o&&(t("update:show",!0),o=!1)}),wr(()=>{e.show&&e.teleport&&(p(),o=!0)}),En(Wc,()=>e.show),()=>e.teleport?ee(ql,{to:e.teleport},{default:()=>[_(),F()]}):ee(qe,null,[_(),F()])}});const Mp=Yt(vp),wp=(e,t)=>{const n=Me(e());return Re(e,r=>{r!==n.value&&(n.value=r)}),Re(n,r=>{r!==e()&&t(r)}),n},Ip=Yt(sp),[Np,Ct]=zt("nav-bar"),Tp={title:String,fixed:Boolean,zIndex:tt,border:Ke,leftText:String,rightText:String,leftDisabled:Boolean,rightDisabled:Boolean,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,clickable:Ke};var xp=rt({name:Np,props:Tp,emits:["clickLeft","clickRight"],setup(e,{emit:t,slots:n}){const r=Me(),i=Hc(r,Ct),o=d=>{e.leftDisabled||t("clickLeft",d)},s=d=>{e.rightDisabled||t("clickRight",d)},a=()=>n.left?n.left():[e.leftArrow&&ee(Lr,{class:Ct("arrow"),name:"arrow-left"},null),e.leftText&&ee("span",{class:Ct("text")},[e.leftText])],c=()=>n.right?n.right():ee("span",{class:Ct("text")},[e.rightText]),f=()=>{const{title:d,fixed:p,border:m,zIndex:_}=e,L=Zo(_),A=e.leftArrow||e.leftText||n.left,P=e.rightText||n.right;return ee("div",{ref:r,style:L,class:[Ct({fixed:p}),{[zc]:m,"van-safe-area-top":e.safeAreaInsetTop}]},[ee("div",{class:Ct("content")},[A&&ee("div",{class:[Ct("left",{disabled:e.leftDisabled}),e.clickable&&!e.leftDisabled?mo:""],onClick:o},[a()]),ee("div",{class:[Ct("title"),"van-ellipsis"]},[n.title?n.title():d]),P&&ee("div",{class:[Ct("right",{disabled:e.rightDisabled}),e.clickable&&!e.rightDisabled?mo:""],onClick:s},[c()])])])};return()=>e.fixed&&e.placeholder?i(f):f()}});const Ap=Yt(xp);function bt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function es(e){var t=bt(e).Element;return e instanceof t||e instanceof Element}function yt(e){var t=bt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Jc(e){if(typeof ShadowRoot>"u")return!1;var t=bt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var jn=Math.round;function yo(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Lp(){return!/^((?!chrome|android).)*safari/i.test(yo())}function ti(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&yt(e)&&(i=e.offsetWidth>0&&jn(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&jn(r.height)/e.offsetHeight||1);var s=es(e)?bt(e):window,a=s.visualViewport,c=!Lp()&&n,f=(r.left+(c&&a?a.offsetLeft:0))/i,d=(r.top+(c&&a?a.offsetTop:0))/o,p=r.width/i,m=r.height/o;return{width:p,height:m,top:d,right:f+p,bottom:d+m,left:f,x:f,y:d}}function Zc(e){var t=bt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Sp(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Cp(e){return e===bt(e)||!yt(e)?Zc(e):Sp(e)}function Bt(e){return e?(e.nodeName||"").toLowerCase():null}function bi(e){return((es(e)?e.ownerDocument:e.document)||window.document).documentElement}function Op(e){return ti(bi(e)).left+Zc(e).scrollLeft}function Ut(e){return bt(e).getComputedStyle(e)}function ts(e){var t=Ut(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Dp(e){var t=e.getBoundingClientRect(),n=jn(t.width)/e.offsetWidth||1,r=jn(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Rp(e,t,n){n===void 0&&(n=!1);var r=yt(t),i=yt(t)&&Dp(t),o=bi(t),s=ti(e,i,n),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Bt(t)!=="body"||ts(o))&&(a=Cp(t)),yt(t)?(c=ti(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=Op(o))),{x:s.left+a.scrollLeft-c.x,y:s.top+a.scrollTop-c.y,width:s.width,height:s.height}}function Pp(e){var t=ti(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ns(e){return Bt(e)==="html"?e:e.assignedSlot||e.parentNode||(Jc(e)?e.host:null)||bi(e)}function eu(e){return["html","body","#document"].indexOf(Bt(e))>=0?e.ownerDocument.body:yt(e)&&ts(e)?e:eu(ns(e))}function Hr(e,t){var n;t===void 0&&(t=[]);var r=eu(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=bt(r),s=i?[o].concat(o.visualViewport||[],ts(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(Hr(ns(s)))}function kp(e){return["table","td","th"].indexOf(Bt(e))>=0}function da(e){return!yt(e)||Ut(e).position==="fixed"?null:e.offsetParent}function jp(e){var t=/firefox/i.test(yo()),n=/Trident/i.test(yo());if(n&&yt(e)){var r=Ut(e);if(r.position==="fixed")return null}var i=ns(e);for(Jc(i)&&(i=i.host);yt(i)&&["html","body"].indexOf(Bt(i))<0;){var o=Ut(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function tu(e){for(var t=bt(e),n=da(e);n&&kp(n)&&Ut(n).position==="static";)n=da(n);return n&&(Bt(n)==="html"||Bt(n)==="body"&&Ut(n).position==="static")?t:n||jp(e)||t}var Pn="top",ni="bottom",gr="right",bn="left",nu="auto",Fp=[Pn,ni,gr,bn],ru="start",ri="end",Bp=[].concat(Fp,[nu]).reduce(function(e,t){return e.concat([t,t+"-"+ru,t+"-"+ri])},[]),Up="beforeRead",$p="read",zp="afterRead",Yp="beforeMain",Wp="main",Hp="afterMain",Vp="beforeWrite",Gp="write",Kp="afterWrite",_o=[Up,$p,zp,Yp,Wp,Hp,Vp,Gp,Kp];function Qp(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var c=t.get(a);c&&i(c)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function Xp(e){var t=Qp(e);return _o.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function qp(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Vt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce(function(i,o){return i.replace(/%s/,o)},e)}var hn='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Jp='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',ha=["name","enabled","phase","fn","effect","requires","options"];function Zp(e){e.forEach(function(t){[].concat(Object.keys(t),ha).filter(function(n,r,i){return i.indexOf(n)===r}).forEach(function(n){switch(n){case"name":typeof t.name!="string"&&console.error(Vt(hn,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":typeof t.enabled!="boolean"&&console.error(Vt(hn,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":_o.indexOf(t.phase)<0&&console.error(Vt(hn,t.name,'"phase"',"either "+_o.join(", "),'"'+String(t.phase)+'"'));break;case"fn":typeof t.fn!="function"&&console.error(Vt(hn,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":t.effect!=null&&typeof t.effect!="function"&&console.error(Vt(hn,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":t.requires!=null&&!Array.isArray(t.requires)&&console.error(Vt(hn,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(Vt(hn,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+ha.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach(function(r){e.find(function(i){return i.name===r})==null&&console.error(Vt(Jp,String(t.name),r,r))})})})}function em(e,t){var n=new Set;return e.filter(function(r){var i=t(r);if(!n.has(i))return n.add(i),!0})}function vi(e){return e.split("-")[0]}function tm(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}function iu(e){return e.split("-")[1]}function nm(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function rm(e){var t=e.reference,n=e.element,r=e.placement,i=r?vi(r):null,o=r?iu(r):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,c;switch(i){case Pn:c={x:s,y:t.y-n.height};break;case ni:c={x:s,y:t.y+t.height};break;case gr:c={x:t.x+t.width,y:a};break;case bn:c={x:t.x-n.width,y:a};break;default:c={x:t.x,y:t.y}}var f=i?nm(i):null;if(f!=null){var d=f==="y"?"height":"width";switch(o){case ru:c[f]=c[f]-(t[d]/2-n[d]/2);break;case ri:c[f]=c[f]+(t[d]/2-n[d]/2);break}}return c}var pa="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",im="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",ma={placement:"bottom",modifiers:[],strategy:"absolute"};function ga(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function om(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?ma:i;return function(a,c,f){f===void 0&&(f=o);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},ma,o),modifiersData:{},elements:{reference:a,popper:c},attributes:{},styles:{}},p=[],m=!1,_={state:d,setOptions:function(M){var I=typeof M=="function"?M(d.options):M;A(),d.options=Object.assign({},o,d.options,I),d.scrollParents={reference:es(a)?Hr(a):a.contextElement?Hr(a.contextElement):[],popper:Hr(c)};var S=Xp(tm([].concat(r,d.options.modifiers)));d.orderedModifiers=S.filter(function(te){return te.enabled});{var T=em([].concat(S,d.options.modifiers),function(te){var V=te.name;return V});if(Zp(T),vi(d.options.placement)===nu){var F=d.orderedModifiers.find(function(te){var V=te.name;return V==="flip"});F||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var R=Ut(c),k=R.marginTop,q=R.marginRight,H=R.marginBottom,Z=R.marginLeft;[k,q,H,Z].some(function(te){return parseFloat(te)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return L(),_.update()},forceUpdate:function(){if(!m){var M=d.elements,I=M.reference,S=M.popper;if(!ga(I,S)){console.error(pa);return}d.rects={reference:Rp(I,tu(S),d.options.strategy==="fixed"),popper:Pp(S)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(te){return d.modifiersData[te.name]=Object.assign({},te.data)});for(var T=0,F=0;F<d.orderedModifiers.length;F++){if(T+=1,T>100){console.error(im);break}if(d.reset===!0){d.reset=!1,F=-1;continue}var R=d.orderedModifiers[F],k=R.fn,q=R.options,H=q===void 0?{}:q,Z=R.name;typeof k=="function"&&(d=k({state:d,options:H,name:Z,instance:_})||d)}}},update:qp(function(){return new Promise(function(P){_.forceUpdate(),P(d)})}),destroy:function(){A(),m=!0}};if(!ga(a,c))return console.error(pa),_;_.setOptions(f).then(function(P){!m&&f.onFirstUpdate&&f.onFirstUpdate(P)});function L(){d.orderedModifiers.forEach(function(P){var M=P.name,I=P.options,S=I===void 0?{}:I,T=P.effect;if(typeof T=="function"){var F=T({state:d,name:M,instance:_,options:S}),R=function(){};p.push(F||R)}})}function A(){p.forEach(function(P){return P()}),p=[]}return _}}var jr={passive:!0};function sm(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,a=s===void 0?!0:s,c=bt(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&f.forEach(function(d){d.addEventListener("scroll",n.update,jr)}),a&&c.addEventListener("resize",n.update,jr),function(){o&&f.forEach(function(d){d.removeEventListener("scroll",n.update,jr)}),a&&c.removeEventListener("resize",n.update,jr)}}var am={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:sm,data:{}};function lm(e){var t=e.state,n=e.name;t.modifiersData[n]=rm({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var cm={name:"popperOffsets",enabled:!0,phase:"read",fn:lm,data:{}},um={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fm(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:jn(t*i)/i||0,y:jn(n*i)/i||0}}function ya(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,c=e.gpuAcceleration,f=e.adaptive,d=e.roundOffsets,p=e.isFixed,m=s.x,_=m===void 0?0:m,L=s.y,A=L===void 0?0:L,P=typeof d=="function"?d({x:_,y:A}):{x:_,y:A};_=P.x,A=P.y;var M=s.hasOwnProperty("x"),I=s.hasOwnProperty("y"),S=bn,T=Pn,F=window;if(f){var R=tu(n),k="clientHeight",q="clientWidth";if(R===bt(n)&&(R=bi(n),Ut(R).position!=="static"&&a==="absolute"&&(k="scrollHeight",q="scrollWidth")),R=R,i===Pn||(i===bn||i===gr)&&o===ri){T=ni;var H=p&&R===F&&F.visualViewport?F.visualViewport.height:R[k];A-=H-r.height,A*=c?1:-1}if(i===bn||(i===Pn||i===ni)&&o===ri){S=gr;var Z=p&&R===F&&F.visualViewport?F.visualViewport.width:R[q];_-=Z-r.width,_*=c?1:-1}}var te=Object.assign({position:a},f&&um),V=d===!0?fm({x:_,y:A}):{x:_,y:A};if(_=V.x,A=V.y,c){var re;return Object.assign({},te,(re={},re[T]=I?"0":"",re[S]=M?"0":"",re.transform=(F.devicePixelRatio||1)<=1?"translate("+_+"px, "+A+"px)":"translate3d("+_+"px, "+A+"px, 0)",re))}return Object.assign({},te,(t={},t[T]=I?A+"px":"",t[S]=M?_+"px":"",t.transform="",t))}function dm(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,a=n.roundOffsets,c=a===void 0?!0:a;{var f=Ut(t.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some(function(p){return f.indexOf(p)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`

`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`

`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var d={placement:vi(t.placement),variation:iu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ya(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ya(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var hm={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:dm,data:{}};function pm(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!yt(o)||!Bt(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function mm(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=s.reduce(function(c,f){return c[f]="",c},{});!yt(i)||!Bt(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(c){i.removeAttribute(c)}))})}}var gm={name:"applyStyles",enabled:!0,phase:"write",fn:pm,effect:mm,requires:["computeStyles"]},ym=[am,cm,hm,gm],_m=om({defaultModifiers:ym});function Em(e,t,n){var r=vi(e),i=[bn,Pn].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[bn,gr].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function bm(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,s=Bp.reduce(function(d,p){return d[p]=Em(p,t.rects,o),d},{}),a=s[t.placement],c=a.x,f=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=s}var vm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:bm};const[Mm,pn]=zt("popover"),wm=["overlay","duration","teleport","overlayStyle","overlayClass","closeOnClickOverlay"],Im={show:Boolean,theme:lt("light"),overlay:Boolean,actions:mh(),actionsDirection:lt("vertical"),trigger:lt("click"),duration:tt,showArrow:Ke,placement:lt("bottom"),iconPrefix:String,overlayClass:qo,overlayStyle:Object,closeOnClickAction:Ke,closeOnClickOverlay:Ke,closeOnClickOutside:Ke,offset:{type:Array,default:()=>[0,8]},teleport:{type:[String,Object],default:"body"}};var Nm=rt({name:Mm,props:Im,emits:["select","touchstart","update:show"],setup(e,{emit:t,slots:n,attrs:r}){let i;const o=Me(),s=Me(),a=Me(),c=wp(()=>e.show,I=>t("update:show",I)),f=()=>({placement:e.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},Yn({},vm,{options:{offset:e.offset}})]}),d=()=>s.value&&a.value?_m(s.value,a.value.popupRef.value,f()):null,p=()=>{wn(()=>{c.value&&(i?i.setOptions(f()):(i=d(),ei&&(window.addEventListener("animationend",p),window.addEventListener("transitionend",p))))})},m=I=>{c.value=I},_=()=>{e.trigger==="click"&&(c.value=!c.value)},L=(I,S)=>{I.disabled||(t("select",I,S),e.closeOnClickAction&&(c.value=!1))},A=()=>{c.value&&e.closeOnClickOutside&&(!e.overlay||e.closeOnClickOverlay)&&(c.value=!1)},P=(I,S)=>n.action?n.action({action:I,index:S}):[I.icon&&ee(Lr,{name:I.icon,classPrefix:e.iconPrefix,class:pn("action-icon")},null),ee("div",{class:[pn("action-text"),{[zc]:e.actionsDirection==="vertical"}]},[I.text])],M=(I,S)=>{const{icon:T,color:F,disabled:R,className:k}=I;return ee("div",{role:"menuitem",class:[pn("action",{disabled:R,"with-icon":T}),{[Yh]:e.actionsDirection==="horizontal"},k],style:{color:F},tabindex:R?void 0:0,"aria-disabled":R||void 0,onClick:()=>L(I,S)},[P(I,S)])};return sn(()=>{p(),vc(()=>{var I;o.value=(I=a.value)==null?void 0:I.popupRef.value})}),Ir(()=>{i&&(ei&&(window.removeEventListener("animationend",p),window.removeEventListener("transitionend",p)),i.destroy(),i=null)}),Re(()=>[c.value,e.offset,e.placement],p),wh([s,o],A,{eventName:"touchstart"}),()=>{var I;return ee(qe,null,[ee("span",{ref:s,class:pn("wrapper"),onClick:_},[(I=n.reference)==null?void 0:I.call(n)]),ee(Mp,kn({ref:a,show:c.value,class:pn([e.theme]),position:"",transition:"van-popover-zoom",lockScroll:!1,"onUpdate:show":m},r,go(),ph(e,wm)),{default:()=>[e.showArrow&&ee("div",{class:pn("arrow")},null),ee("div",{role:"menu",class:pn("content",e.actionsDirection)},[n.default?n.default():e.actions.map(M)])]})])}}});const Tm=Yt(Nm),[ou,_a]=zt("tabbar"),xm={route:Boolean,fixed:Ke,border:Ke,zIndex:tt,placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,modelValue:gh(0),safeAreaInsetBottom:{type:Boolean,default:null}},su=Symbol(ou);var Am=rt({name:ou,props:xm,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const r=Me(),{linkChildren:i}=Mh(su),o=Hc(r,_a),s=()=>{var f;return(f=e.safeAreaInsetBottom)!=null?f:e.fixed},a=()=>{var f;const{fixed:d,zIndex:p,border:m}=e;return ee("div",{ref:r,role:"tablist",style:Zo(p),class:[_a({fixed:d}),{[Wh]:m,"van-safe-area-bottom":s()}]},[(f=n.default)==null?void 0:f.call(n)])};return i({props:e,setActive:(f,d)=>{Yc(e.beforeChange,{args:[f],done(){t("update:modelValue",f),t("change",f),d()}})}}),()=>e.fixed&&e.placeholder?o(a):a()}});const Lm=Yt(Am),[Sm,zi]=zt("tabbar-item"),Cm=Yn({},Kh,{dot:Boolean,icon:String,name:tt,badge:tt,badgeProps:Object,iconPrefix:String});var Om=rt({name:Sm,props:Cm,emits:["click"],setup(e,{emit:t,slots:n}){const r=Xh(),i=pt().proxy,{parent:o,index:s}=Eh(su);if(!o)return;const a=Ce(()=>{var d;const{route:p,modelValue:m}=o.props;if(p&&"$route"in i){const{$route:_}=i,{to:L}=e,A=_i(L)?L:{path:L};return!!_.matched.find(P=>{const M="path"in A&&A.path===P.path,I="name"in A&&A.name===P.name;return M||I})}return((d=e.name)!=null?d:s.value)===m}),c=d=>{var p;a.value||o.setActive((p=e.name)!=null?p:s.value,r),t("click",d)},f=()=>{if(n.icon)return n.icon({active:a.value});if(e.icon)return ee(Lr,{name:e.icon,classPrefix:e.iconPrefix},null)};return()=>{var d;const{dot:p,badge:m}=e,{activeColor:_,inactiveColor:L}=o.props,A=a.value?_:L;return ee("div",{role:"tab",class:zi({active:a.value}),style:{color:A},tabindex:0,"aria-selected":a.value,onClick:c},[ee(Vc,kn({dot:p,class:zi("icon"),content:m},e.badgeProps),{default:f}),ee("div",{class:zi("text")},[(d=n.default)==null?void 0:d.call(n,{active:a.value})])])}}});const Dm=Yt(Om);let Rm=0;function au(e){return`${e}_callback_${Date.now()}_${Rm++}`}function rs(e,t){return typeof t>"u"&&(t={}),new Promise((n,r)=>{const i=au("exec");window[i]=(s,a,c)=>{n({errno:s,stdout:a,stderr:c}),o(i)};function o(s){delete window[s]}try{ksu.exec(e,JSON.stringify(t),i)}catch(s){r(s),o(i)}})}function or(){this.listeners={}}or.prototype.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)};or.prototype.emit=function(e,...t){this.listeners[e]&&this.listeners[e].forEach(n=>n(...t))};function is(){this.listeners={},this.stdin=new or,this.stdout=new or,this.stderr=new or}is.prototype.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)};is.prototype.emit=function(e,...t){this.listeners[e]&&this.listeners[e].forEach(n=>n(...t))};function Pm(e,t,n){typeof t>"u"?t=[]:t instanceof Array||(n=t),typeof n>"u"&&(n={});const r=new is,i=au("spawn");window[i]=r;function o(s){delete window[s]}r.on("exit",s=>{o(i)});try{ksu.spawn(e,JSON.stringify(t),JSON.stringify(n),i)}catch(s){r.emit("error",s),o(i)}return r}var os={},Mi={};Mi.byteLength=Fm;Mi.toByteArray=Um;Mi.fromByteArray=Ym;var At=[],ut=[],km=typeof Uint8Array<"u"?Uint8Array:Array,Yi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Tn=0,jm=Yi.length;Tn<jm;++Tn)At[Tn]=Yi[Tn],ut[Yi.charCodeAt(Tn)]=Tn;ut[45]=62;ut[95]=63;function lu(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function Fm(e){var t=lu(e),n=t[0],r=t[1];return(n+r)*3/4-r}function Bm(e,t,n){return(t+n)*3/4-n}function Um(e){var t,n=lu(e),r=n[0],i=n[1],o=new km(Bm(e,r,i)),s=0,a=i>0?r-4:r,c;for(c=0;c<a;c+=4)t=ut[e.charCodeAt(c)]<<18|ut[e.charCodeAt(c+1)]<<12|ut[e.charCodeAt(c+2)]<<6|ut[e.charCodeAt(c+3)],o[s++]=t>>16&255,o[s++]=t>>8&255,o[s++]=t&255;return i===2&&(t=ut[e.charCodeAt(c)]<<2|ut[e.charCodeAt(c+1)]>>4,o[s++]=t&255),i===1&&(t=ut[e.charCodeAt(c)]<<10|ut[e.charCodeAt(c+1)]<<4|ut[e.charCodeAt(c+2)]>>2,o[s++]=t>>8&255,o[s++]=t&255),o}function $m(e){return At[e>>18&63]+At[e>>12&63]+At[e>>6&63]+At[e&63]}function zm(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push($m(r));return i.join("")}function Ym(e){for(var t,n=e.length,r=n%3,i=[],o=16383,s=0,a=n-r;s<a;s+=o)i.push(zm(e,s,s+o>a?a:s+o));return r===1?(t=e[n-1],i.push(At[t>>2]+At[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(At[t>>10]+At[t>>4&63]+At[t<<2&63]+"=")),i.join("")}var ss={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ss.read=function(e,t,n,r,i){var o,s,a=i*8-r-1,c=(1<<a)-1,f=c>>1,d=-7,p=n?i-1:0,m=n?-1:1,_=e[t+p];for(p+=m,o=_&(1<<-d)-1,_>>=-d,d+=a;d>0;o=o*256+e[t+p],p+=m,d-=8);for(s=o&(1<<-d)-1,o>>=-d,d+=r;d>0;s=s*256+e[t+p],p+=m,d-=8);if(o===0)o=1-f;else{if(o===c)return s?NaN:(_?-1:1)*(1/0);s=s+Math.pow(2,r),o=o-f}return(_?-1:1)*s*Math.pow(2,o-r)};ss.write=function(e,t,n,r,i,o){var s,a,c,f=o*8-i-1,d=(1<<f)-1,p=d>>1,m=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=r?0:o-1,L=r?1:-1,A=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=d):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),s+p>=1?t+=m/c:t+=m*Math.pow(2,1-p),t*c>=2&&(s++,c/=2),s+p>=d?(a=0,s=d):s+p>=1?(a=(t*c-1)*Math.pow(2,i),s=s+p):(a=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[n+_]=a&255,_+=L,a/=256,i-=8);for(s=s<<i|a,f+=i;f>0;e[n+_]=s&255,_+=L,s/=256,f-=8);e[n+_-L]|=A*128};/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */(function(e){const t=Mi,n=ss,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=I,e.INSPECT_MAX_BYTES=50;const i=2147483647;e.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=o(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{const h=new Uint8Array(1),l={foo:function(){return 42}};return Object.setPrototypeOf(l,Uint8Array.prototype),Object.setPrototypeOf(h,l),h.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function s(h){if(h>i)throw new RangeError('The value "'+h+'" is invalid for option "size"');const l=new Uint8Array(h);return Object.setPrototypeOf(l,a.prototype),l}function a(h,l,u){if(typeof h=="number"){if(typeof l=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return p(h)}return c(h,l,u)}a.poolSize=8192;function c(h,l,u){if(typeof h=="string")return m(h,l);if(ArrayBuffer.isView(h))return L(h);if(h==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h);if(U(h,ArrayBuffer)||h&&U(h.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(U(h,SharedArrayBuffer)||h&&U(h.buffer,SharedArrayBuffer)))return A(h,l,u);if(typeof h=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const y=h.valueOf&&h.valueOf();if(y!=null&&y!==h)return a.from(y,l,u);const w=P(h);if(w)return w;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof h[Symbol.toPrimitive]=="function")return a.from(h[Symbol.toPrimitive]("string"),l,u);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h)}a.from=function(h,l,u){return c(h,l,u)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function f(h){if(typeof h!="number")throw new TypeError('"size" argument must be of type number');if(h<0)throw new RangeError('The value "'+h+'" is invalid for option "size"')}function d(h,l,u){return f(h),h<=0?s(h):l!==void 0?typeof u=="string"?s(h).fill(l,u):s(h).fill(l):s(h)}a.alloc=function(h,l,u){return d(h,l,u)};function p(h){return f(h),s(h<0?0:M(h)|0)}a.allocUnsafe=function(h){return p(h)},a.allocUnsafeSlow=function(h){return p(h)};function m(h,l){if((typeof l!="string"||l==="")&&(l="utf8"),!a.isEncoding(l))throw new TypeError("Unknown encoding: "+l);const u=S(h,l)|0;let y=s(u);const w=y.write(h,l);return w!==u&&(y=y.slice(0,w)),y}function _(h){const l=h.length<0?0:M(h.length)|0,u=s(l);for(let y=0;y<l;y+=1)u[y]=h[y]&255;return u}function L(h){if(U(h,Uint8Array)){const l=new Uint8Array(h);return A(l.buffer,l.byteOffset,l.byteLength)}return _(h)}function A(h,l,u){if(l<0||h.byteLength<l)throw new RangeError('"offset" is outside of buffer bounds');if(h.byteLength<l+(u||0))throw new RangeError('"length" is outside of buffer bounds');let y;return l===void 0&&u===void 0?y=new Uint8Array(h):u===void 0?y=new Uint8Array(h,l):y=new Uint8Array(h,l,u),Object.setPrototypeOf(y,a.prototype),y}function P(h){if(a.isBuffer(h)){const l=M(h.length)|0,u=s(l);return u.length===0||h.copy(u,0,0,l),u}if(h.length!==void 0)return typeof h.length!="number"||W(h.length)?s(0):_(h);if(h.type==="Buffer"&&Array.isArray(h.data))return _(h.data)}function M(h){if(h>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return h|0}function I(h){return+h!=h&&(h=0),a.alloc(+h)}a.isBuffer=function(l){return l!=null&&l._isBuffer===!0&&l!==a.prototype},a.compare=function(l,u){if(U(l,Uint8Array)&&(l=a.from(l,l.offset,l.byteLength)),U(u,Uint8Array)&&(u=a.from(u,u.offset,u.byteLength)),!a.isBuffer(l)||!a.isBuffer(u))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(l===u)return 0;let y=l.length,w=u.length;for(let C=0,B=Math.min(y,w);C<B;++C)if(l[C]!==u[C]){y=l[C],w=u[C];break}return y<w?-1:w<y?1:0},a.isEncoding=function(l){switch(String(l).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(l,u){if(!Array.isArray(l))throw new TypeError('"list" argument must be an Array of Buffers');if(l.length===0)return a.alloc(0);let y;if(u===void 0)for(u=0,y=0;y<l.length;++y)u+=l[y].length;const w=a.allocUnsafe(u);let C=0;for(y=0;y<l.length;++y){let B=l[y];if(U(B,Uint8Array))C+B.length>w.length?(a.isBuffer(B)||(B=a.from(B)),B.copy(w,C)):Uint8Array.prototype.set.call(w,B,C);else if(a.isBuffer(B))B.copy(w,C);else throw new TypeError('"list" argument must be an Array of Buffers');C+=B.length}return w};function S(h,l){if(a.isBuffer(h))return h.length;if(ArrayBuffer.isView(h)||U(h,ArrayBuffer))return h.byteLength;if(typeof h!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof h);const u=h.length,y=arguments.length>2&&arguments[2]===!0;if(!y&&u===0)return 0;let w=!1;for(;;)switch(l){case"ascii":case"latin1":case"binary":return u;case"utf8":case"utf-8":return $(h).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u*2;case"hex":return u>>>1;case"base64":return x(h).length;default:if(w)return y?-1:$(h).length;l=(""+l).toLowerCase(),w=!0}}a.byteLength=S;function T(h,l,u){let y=!1;if((l===void 0||l<0)&&(l=0),l>this.length||((u===void 0||u>this.length)&&(u=this.length),u<=0)||(u>>>=0,l>>>=0,u<=l))return"";for(h||(h="utf8");;)switch(h){case"hex":return De(this,l,u);case"utf8":case"utf-8":return Te(this,l,u);case"ascii":return ue(this,l,u);case"latin1":case"binary":return le(this,l,u);case"base64":return re(this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return We(this,l,u);default:if(y)throw new TypeError("Unknown encoding: "+h);h=(h+"").toLowerCase(),y=!0}}a.prototype._isBuffer=!0;function F(h,l,u){const y=h[l];h[l]=h[u],h[u]=y}a.prototype.swap16=function(){const l=this.length;if(l%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let u=0;u<l;u+=2)F(this,u,u+1);return this},a.prototype.swap32=function(){const l=this.length;if(l%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let u=0;u<l;u+=4)F(this,u,u+3),F(this,u+1,u+2);return this},a.prototype.swap64=function(){const l=this.length;if(l%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let u=0;u<l;u+=8)F(this,u,u+7),F(this,u+1,u+6),F(this,u+2,u+5),F(this,u+3,u+4);return this},a.prototype.toString=function(){const l=this.length;return l===0?"":arguments.length===0?Te(this,0,l):T.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(l){if(!a.isBuffer(l))throw new TypeError("Argument must be a Buffer");return this===l?!0:a.compare(this,l)===0},a.prototype.inspect=function(){let l="";const u=e.INSPECT_MAX_BYTES;return l=this.toString("hex",0,u).replace(/(.{2})/g,"$1 ").trim(),this.length>u&&(l+=" ... "),"<Buffer "+l+">"},r&&(a.prototype[r]=a.prototype.inspect),a.prototype.compare=function(l,u,y,w,C){if(U(l,Uint8Array)&&(l=a.from(l,l.offset,l.byteLength)),!a.isBuffer(l))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof l);if(u===void 0&&(u=0),y===void 0&&(y=l?l.length:0),w===void 0&&(w=0),C===void 0&&(C=this.length),u<0||y>l.length||w<0||C>this.length)throw new RangeError("out of range index");if(w>=C&&u>=y)return 0;if(w>=C)return-1;if(u>=y)return 1;if(u>>>=0,y>>>=0,w>>>=0,C>>>=0,this===l)return 0;let B=C-w,oe=y-u;const xe=Math.min(B,oe),ae=this.slice(w,C),he=l.slice(u,y);for(let _e=0;_e<xe;++_e)if(ae[_e]!==he[_e]){B=ae[_e],oe=he[_e];break}return B<oe?-1:oe<B?1:0};function R(h,l,u,y,w){if(h.length===0)return-1;if(typeof u=="string"?(y=u,u=0):u>2147483647?u=2147483647:u<-2147483648&&(u=-2147483648),u=+u,W(u)&&(u=w?0:h.length-1),u<0&&(u=h.length+u),u>=h.length){if(w)return-1;u=h.length-1}else if(u<0)if(w)u=0;else return-1;if(typeof l=="string"&&(l=a.from(l,y)),a.isBuffer(l))return l.length===0?-1:k(h,l,u,y,w);if(typeof l=="number")return l=l&255,typeof Uint8Array.prototype.indexOf=="function"?w?Uint8Array.prototype.indexOf.call(h,l,u):Uint8Array.prototype.lastIndexOf.call(h,l,u):k(h,[l],u,y,w);throw new TypeError("val must be string, number or Buffer")}function k(h,l,u,y,w){let C=1,B=h.length,oe=l.length;if(y!==void 0&&(y=String(y).toLowerCase(),y==="ucs2"||y==="ucs-2"||y==="utf16le"||y==="utf-16le")){if(h.length<2||l.length<2)return-1;C=2,B/=2,oe/=2,u/=2}function xe(he,_e){return C===1?he[_e]:he.readUInt16BE(_e*C)}let ae;if(w){let he=-1;for(ae=u;ae<B;ae++)if(xe(h,ae)===xe(l,he===-1?0:ae-he)){if(he===-1&&(he=ae),ae-he+1===oe)return he*C}else he!==-1&&(ae-=ae-he),he=-1}else for(u+oe>B&&(u=B-oe),ae=u;ae>=0;ae--){let he=!0;for(let _e=0;_e<oe;_e++)if(xe(h,ae+_e)!==xe(l,_e)){he=!1;break}if(he)return ae}return-1}a.prototype.includes=function(l,u,y){return this.indexOf(l,u,y)!==-1},a.prototype.indexOf=function(l,u,y){return R(this,l,u,y,!0)},a.prototype.lastIndexOf=function(l,u,y){return R(this,l,u,y,!1)};function q(h,l,u,y){u=Number(u)||0;const w=h.length-u;y?(y=Number(y),y>w&&(y=w)):y=w;const C=l.length;y>C/2&&(y=C/2);let B;for(B=0;B<y;++B){const oe=parseInt(l.substr(B*2,2),16);if(W(oe))return B;h[u+B]=oe}return B}function H(h,l,u,y){return j($(l,h.length-u),h,u,y)}function Z(h,l,u,y){return j(g(l),h,u,y)}function te(h,l,u,y){return j(x(l),h,u,y)}function V(h,l,u,y){return j(b(l,h.length-u),h,u,y)}a.prototype.write=function(l,u,y,w){if(u===void 0)w="utf8",y=this.length,u=0;else if(y===void 0&&typeof u=="string")w=u,y=this.length,u=0;else if(isFinite(u))u=u>>>0,isFinite(y)?(y=y>>>0,w===void 0&&(w="utf8")):(w=y,y=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const C=this.length-u;if((y===void 0||y>C)&&(y=C),l.length>0&&(y<0||u<0)||u>this.length)throw new RangeError("Attempt to write outside buffer bounds");w||(w="utf8");let B=!1;for(;;)switch(w){case"hex":return q(this,l,u,y);case"utf8":case"utf-8":return H(this,l,u,y);case"ascii":case"latin1":case"binary":return Z(this,l,u,y);case"base64":return te(this,l,u,y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V(this,l,u,y);default:if(B)throw new TypeError("Unknown encoding: "+w);w=(""+w).toLowerCase(),B=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function re(h,l,u){return l===0&&u===h.length?t.fromByteArray(h):t.fromByteArray(h.slice(l,u))}function Te(h,l,u){u=Math.min(h.length,u);const y=[];let w=l;for(;w<u;){const C=h[w];let B=null,oe=C>239?4:C>223?3:C>191?2:1;if(w+oe<=u){let xe,ae,he,_e;switch(oe){case 1:C<128&&(B=C);break;case 2:xe=h[w+1],(xe&192)===128&&(_e=(C&31)<<6|xe&63,_e>127&&(B=_e));break;case 3:xe=h[w+1],ae=h[w+2],(xe&192)===128&&(ae&192)===128&&(_e=(C&15)<<12|(xe&63)<<6|ae&63,_e>2047&&(_e<55296||_e>57343)&&(B=_e));break;case 4:xe=h[w+1],ae=h[w+2],he=h[w+3],(xe&192)===128&&(ae&192)===128&&(he&192)===128&&(_e=(C&15)<<18|(xe&63)<<12|(ae&63)<<6|he&63,_e>65535&&_e<1114112&&(B=_e))}}B===null?(B=65533,oe=1):B>65535&&(B-=65536,y.push(B>>>10&1023|55296),B=56320|B&1023),y.push(B),w+=oe}return we(y)}const Be=4096;function we(h){const l=h.length;if(l<=Be)return String.fromCharCode.apply(String,h);let u="",y=0;for(;y<l;)u+=String.fromCharCode.apply(String,h.slice(y,y+=Be));return u}function ue(h,l,u){let y="";u=Math.min(h.length,u);for(let w=l;w<u;++w)y+=String.fromCharCode(h[w]&127);return y}function le(h,l,u){let y="";u=Math.min(h.length,u);for(let w=l;w<u;++w)y+=String.fromCharCode(h[w]);return y}function De(h,l,u){const y=h.length;(!l||l<0)&&(l=0),(!u||u<0||u>y)&&(u=y);let w="";for(let C=l;C<u;++C)w+=N[h[C]];return w}function We(h,l,u){const y=h.slice(l,u);let w="";for(let C=0;C<y.length-1;C+=2)w+=String.fromCharCode(y[C]+y[C+1]*256);return w}a.prototype.slice=function(l,u){const y=this.length;l=~~l,u=u===void 0?y:~~u,l<0?(l+=y,l<0&&(l=0)):l>y&&(l=y),u<0?(u+=y,u<0&&(u=0)):u>y&&(u=y),u<l&&(u=l);const w=this.subarray(l,u);return Object.setPrototypeOf(w,a.prototype),w};function fe(h,l,u){if(h%1!==0||h<0)throw new RangeError("offset is not uint");if(h+l>u)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(l,u,y){l=l>>>0,u=u>>>0,y||fe(l,u,this.length);let w=this[l],C=1,B=0;for(;++B<u&&(C*=256);)w+=this[l+B]*C;return w},a.prototype.readUintBE=a.prototype.readUIntBE=function(l,u,y){l=l>>>0,u=u>>>0,y||fe(l,u,this.length);let w=this[l+--u],C=1;for(;u>0&&(C*=256);)w+=this[l+--u]*C;return w},a.prototype.readUint8=a.prototype.readUInt8=function(l,u){return l=l>>>0,u||fe(l,1,this.length),this[l]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(l,u){return l=l>>>0,u||fe(l,2,this.length),this[l]|this[l+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(l,u){return l=l>>>0,u||fe(l,2,this.length),this[l]<<8|this[l+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(l,u){return l=l>>>0,u||fe(l,4,this.length),(this[l]|this[l+1]<<8|this[l+2]<<16)+this[l+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(l,u){return l=l>>>0,u||fe(l,4,this.length),this[l]*16777216+(this[l+1]<<16|this[l+2]<<8|this[l+3])},a.prototype.readBigUInt64LE=D(function(l){l=l>>>0,E(l,"offset");const u=this[l],y=this[l+7];(u===void 0||y===void 0)&&v(l,this.length-8);const w=u+this[++l]*2**8+this[++l]*2**16+this[++l]*2**24,C=this[++l]+this[++l]*2**8+this[++l]*2**16+y*2**24;return BigInt(w)+(BigInt(C)<<BigInt(32))}),a.prototype.readBigUInt64BE=D(function(l){l=l>>>0,E(l,"offset");const u=this[l],y=this[l+7];(u===void 0||y===void 0)&&v(l,this.length-8);const w=u*2**24+this[++l]*2**16+this[++l]*2**8+this[++l],C=this[++l]*2**24+this[++l]*2**16+this[++l]*2**8+y;return(BigInt(w)<<BigInt(32))+BigInt(C)}),a.prototype.readIntLE=function(l,u,y){l=l>>>0,u=u>>>0,y||fe(l,u,this.length);let w=this[l],C=1,B=0;for(;++B<u&&(C*=256);)w+=this[l+B]*C;return C*=128,w>=C&&(w-=Math.pow(2,8*u)),w},a.prototype.readIntBE=function(l,u,y){l=l>>>0,u=u>>>0,y||fe(l,u,this.length);let w=u,C=1,B=this[l+--w];for(;w>0&&(C*=256);)B+=this[l+--w]*C;return C*=128,B>=C&&(B-=Math.pow(2,8*u)),B},a.prototype.readInt8=function(l,u){return l=l>>>0,u||fe(l,1,this.length),this[l]&128?(255-this[l]+1)*-1:this[l]},a.prototype.readInt16LE=function(l,u){l=l>>>0,u||fe(l,2,this.length);const y=this[l]|this[l+1]<<8;return y&32768?y|4294901760:y},a.prototype.readInt16BE=function(l,u){l=l>>>0,u||fe(l,2,this.length);const y=this[l+1]|this[l]<<8;return y&32768?y|4294901760:y},a.prototype.readInt32LE=function(l,u){return l=l>>>0,u||fe(l,4,this.length),this[l]|this[l+1]<<8|this[l+2]<<16|this[l+3]<<24},a.prototype.readInt32BE=function(l,u){return l=l>>>0,u||fe(l,4,this.length),this[l]<<24|this[l+1]<<16|this[l+2]<<8|this[l+3]},a.prototype.readBigInt64LE=D(function(l){l=l>>>0,E(l,"offset");const u=this[l],y=this[l+7];(u===void 0||y===void 0)&&v(l,this.length-8);const w=this[l+4]+this[l+5]*2**8+this[l+6]*2**16+(y<<24);return(BigInt(w)<<BigInt(32))+BigInt(u+this[++l]*2**8+this[++l]*2**16+this[++l]*2**24)}),a.prototype.readBigInt64BE=D(function(l){l=l>>>0,E(l,"offset");const u=this[l],y=this[l+7];(u===void 0||y===void 0)&&v(l,this.length-8);const w=(u<<24)+this[++l]*2**16+this[++l]*2**8+this[++l];return(BigInt(w)<<BigInt(32))+BigInt(this[++l]*2**24+this[++l]*2**16+this[++l]*2**8+y)}),a.prototype.readFloatLE=function(l,u){return l=l>>>0,u||fe(l,4,this.length),n.read(this,l,!0,23,4)},a.prototype.readFloatBE=function(l,u){return l=l>>>0,u||fe(l,4,this.length),n.read(this,l,!1,23,4)},a.prototype.readDoubleLE=function(l,u){return l=l>>>0,u||fe(l,8,this.length),n.read(this,l,!0,52,8)},a.prototype.readDoubleBE=function(l,u){return l=l>>>0,u||fe(l,8,this.length),n.read(this,l,!1,52,8)};function de(h,l,u,y,w,C){if(!a.isBuffer(h))throw new TypeError('"buffer" argument must be a Buffer instance');if(l>w||l<C)throw new RangeError('"value" argument is out of bounds');if(u+y>h.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(l,u,y,w){if(l=+l,u=u>>>0,y=y>>>0,!w){const oe=Math.pow(2,8*y)-1;de(this,l,u,y,oe,0)}let C=1,B=0;for(this[u]=l&255;++B<y&&(C*=256);)this[u+B]=l/C&255;return u+y},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(l,u,y,w){if(l=+l,u=u>>>0,y=y>>>0,!w){const oe=Math.pow(2,8*y)-1;de(this,l,u,y,oe,0)}let C=y-1,B=1;for(this[u+C]=l&255;--C>=0&&(B*=256);)this[u+C]=l/B&255;return u+y},a.prototype.writeUint8=a.prototype.writeUInt8=function(l,u,y){return l=+l,u=u>>>0,y||de(this,l,u,1,255,0),this[u]=l&255,u+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(l,u,y){return l=+l,u=u>>>0,y||de(this,l,u,2,65535,0),this[u]=l&255,this[u+1]=l>>>8,u+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(l,u,y){return l=+l,u=u>>>0,y||de(this,l,u,2,65535,0),this[u]=l>>>8,this[u+1]=l&255,u+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(l,u,y){return l=+l,u=u>>>0,y||de(this,l,u,4,4294967295,0),this[u+3]=l>>>24,this[u+2]=l>>>16,this[u+1]=l>>>8,this[u]=l&255,u+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(l,u,y){return l=+l,u=u>>>0,y||de(this,l,u,4,4294967295,0),this[u]=l>>>24,this[u+1]=l>>>16,this[u+2]=l>>>8,this[u+3]=l&255,u+4};function it(h,l,u,y,w){ye(l,y,w,h,u,7);let C=Number(l&BigInt(4294967295));h[u++]=C,C=C>>8,h[u++]=C,C=C>>8,h[u++]=C,C=C>>8,h[u++]=C;let B=Number(l>>BigInt(32)&BigInt(4294967295));return h[u++]=B,B=B>>8,h[u++]=B,B=B>>8,h[u++]=B,B=B>>8,h[u++]=B,u}function ot(h,l,u,y,w){ye(l,y,w,h,u,7);let C=Number(l&BigInt(4294967295));h[u+7]=C,C=C>>8,h[u+6]=C,C=C>>8,h[u+5]=C,C=C>>8,h[u+4]=C;let B=Number(l>>BigInt(32)&BigInt(4294967295));return h[u+3]=B,B=B>>8,h[u+2]=B,B=B>>8,h[u+1]=B,B=B>>8,h[u]=B,u+8}a.prototype.writeBigUInt64LE=D(function(l,u=0){return it(this,l,u,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=D(function(l,u=0){return ot(this,l,u,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(l,u,y,w){if(l=+l,u=u>>>0,!w){const xe=Math.pow(2,8*y-1);de(this,l,u,y,xe-1,-xe)}let C=0,B=1,oe=0;for(this[u]=l&255;++C<y&&(B*=256);)l<0&&oe===0&&this[u+C-1]!==0&&(oe=1),this[u+C]=(l/B>>0)-oe&255;return u+y},a.prototype.writeIntBE=function(l,u,y,w){if(l=+l,u=u>>>0,!w){const xe=Math.pow(2,8*y-1);de(this,l,u,y,xe-1,-xe)}let C=y-1,B=1,oe=0;for(this[u+C]=l&255;--C>=0&&(B*=256);)l<0&&oe===0&&this[u+C+1]!==0&&(oe=1),this[u+C]=(l/B>>0)-oe&255;return u+y},a.prototype.writeInt8=function(l,u,y){return l=+l,u=u>>>0,y||de(this,l,u,1,127,-128),l<0&&(l=255+l+1),this[u]=l&255,u+1},a.prototype.writeInt16LE=function(l,u,y){return l=+l,u=u>>>0,y||de(this,l,u,2,32767,-32768),this[u]=l&255,this[u+1]=l>>>8,u+2},a.prototype.writeInt16BE=function(l,u,y){return l=+l,u=u>>>0,y||de(this,l,u,2,32767,-32768),this[u]=l>>>8,this[u+1]=l&255,u+2},a.prototype.writeInt32LE=function(l,u,y){return l=+l,u=u>>>0,y||de(this,l,u,4,2147483647,-2147483648),this[u]=l&255,this[u+1]=l>>>8,this[u+2]=l>>>16,this[u+3]=l>>>24,u+4},a.prototype.writeInt32BE=function(l,u,y){return l=+l,u=u>>>0,y||de(this,l,u,4,2147483647,-2147483648),l<0&&(l=4294967295+l+1),this[u]=l>>>24,this[u+1]=l>>>16,this[u+2]=l>>>8,this[u+3]=l&255,u+4},a.prototype.writeBigInt64LE=D(function(l,u=0){return it(this,l,u,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=D(function(l,u=0){return ot(this,l,u,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function vt(h,l,u,y,w,C){if(u+y>h.length)throw new RangeError("Index out of range");if(u<0)throw new RangeError("Index out of range")}function ke(h,l,u,y,w){return l=+l,u=u>>>0,w||vt(h,l,u,4),n.write(h,l,u,y,23,4),u+4}a.prototype.writeFloatLE=function(l,u,y){return ke(this,l,u,!0,y)},a.prototype.writeFloatBE=function(l,u,y){return ke(this,l,u,!1,y)};function z(h,l,u,y,w){return l=+l,u=u>>>0,w||vt(h,l,u,8),n.write(h,l,u,y,52,8),u+8}a.prototype.writeDoubleLE=function(l,u,y){return z(this,l,u,!0,y)},a.prototype.writeDoubleBE=function(l,u,y){return z(this,l,u,!1,y)},a.prototype.copy=function(l,u,y,w){if(!a.isBuffer(l))throw new TypeError("argument should be a Buffer");if(y||(y=0),!w&&w!==0&&(w=this.length),u>=l.length&&(u=l.length),u||(u=0),w>0&&w<y&&(w=y),w===y||l.length===0||this.length===0)return 0;if(u<0)throw new RangeError("targetStart out of bounds");if(y<0||y>=this.length)throw new RangeError("Index out of range");if(w<0)throw new RangeError("sourceEnd out of bounds");w>this.length&&(w=this.length),l.length-u<w-y&&(w=l.length-u+y);const C=w-y;return this===l&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(u,y,w):Uint8Array.prototype.set.call(l,this.subarray(y,w),u),C},a.prototype.fill=function(l,u,y,w){if(typeof l=="string"){if(typeof u=="string"?(w=u,u=0,y=this.length):typeof y=="string"&&(w=y,y=this.length),w!==void 0&&typeof w!="string")throw new TypeError("encoding must be a string");if(typeof w=="string"&&!a.isEncoding(w))throw new TypeError("Unknown encoding: "+w);if(l.length===1){const B=l.charCodeAt(0);(w==="utf8"&&B<128||w==="latin1")&&(l=B)}}else typeof l=="number"?l=l&255:typeof l=="boolean"&&(l=Number(l));if(u<0||this.length<u||this.length<y)throw new RangeError("Out of range index");if(y<=u)return this;u=u>>>0,y=y===void 0?this.length:y>>>0,l||(l=0);let C;if(typeof l=="number")for(C=u;C<y;++C)this[C]=l;else{const B=a.isBuffer(l)?l:a.from(l,w),oe=B.length;if(oe===0)throw new TypeError('The value "'+l+'" is invalid for argument "value"');for(C=0;C<y-u;++C)this[C+u]=B[C%oe]}return this};const K={};function G(h,l,u){K[h]=class extends u{constructor(){super(),Object.defineProperty(this,"message",{value:l.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${h}]`,this.stack,delete this.name}get code(){return h}set code(w){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:w,writable:!0})}toString(){return`${this.name} [${h}]: ${this.message}`}}}G("ERR_BUFFER_OUT_OF_BOUNDS",function(h){return h?`${h} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),G("ERR_INVALID_ARG_TYPE",function(h,l){return`The "${h}" argument must be of type number. Received type ${typeof l}`},TypeError),G("ERR_OUT_OF_RANGE",function(h,l,u){let y=`The value of "${h}" is out of range.`,w=u;return Number.isInteger(u)&&Math.abs(u)>2**32?w=J(String(u)):typeof u=="bigint"&&(w=String(u),(u>BigInt(2)**BigInt(32)||u<-(BigInt(2)**BigInt(32)))&&(w=J(w)),w+="n"),y+=` It must be ${l}. Received ${w}`,y},RangeError);function J(h){let l="",u=h.length;const y=h[0]==="-"?1:0;for(;u>=y+4;u-=3)l=`_${h.slice(u-3,u)}${l}`;return`${h.slice(0,u)}${l}`}function ce(h,l,u){E(l,"offset"),(h[l]===void 0||h[l+u]===void 0)&&v(l,h.length-(u+1))}function ye(h,l,u,y,w,C){if(h>u||h<l){const B=typeof l=="bigint"?"n":"";let oe;throw l===0||l===BigInt(0)?oe=`>= 0${B} and < 2${B} ** ${(C+1)*8}${B}`:oe=`>= -(2${B} ** ${(C+1)*8-1}${B}) and < 2 ** ${(C+1)*8-1}${B}`,new K.ERR_OUT_OF_RANGE("value",oe,h)}ce(y,w,C)}function E(h,l){if(typeof h!="number")throw new K.ERR_INVALID_ARG_TYPE(l,"number",h)}function v(h,l,u){throw Math.floor(h)!==h?(E(h,u),new K.ERR_OUT_OF_RANGE("offset","an integer",h)):l<0?new K.ERR_BUFFER_OUT_OF_BOUNDS:new K.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${l}`,h)}const O=/[^+/0-9A-Za-z-_]/g;function Y(h){if(h=h.split("=")[0],h=h.trim().replace(O,""),h.length<2)return"";for(;h.length%4!==0;)h=h+"=";return h}function $(h,l){l=l||1/0;let u;const y=h.length;let w=null;const C=[];for(let B=0;B<y;++B){if(u=h.charCodeAt(B),u>55295&&u<57344){if(!w){if(u>56319){(l-=3)>-1&&C.push(239,191,189);continue}else if(B+1===y){(l-=3)>-1&&C.push(239,191,189);continue}w=u;continue}if(u<56320){(l-=3)>-1&&C.push(239,191,189),w=u;continue}u=(w-55296<<10|u-56320)+65536}else w&&(l-=3)>-1&&C.push(239,191,189);if(w=null,u<128){if((l-=1)<0)break;C.push(u)}else if(u<2048){if((l-=2)<0)break;C.push(u>>6|192,u&63|128)}else if(u<65536){if((l-=3)<0)break;C.push(u>>12|224,u>>6&63|128,u&63|128)}else if(u<1114112){if((l-=4)<0)break;C.push(u>>18|240,u>>12&63|128,u>>6&63|128,u&63|128)}else throw new Error("Invalid code point")}return C}function g(h){const l=[];for(let u=0;u<h.length;++u)l.push(h.charCodeAt(u)&255);return l}function b(h,l){let u,y,w;const C=[];for(let B=0;B<h.length&&!((l-=2)<0);++B)u=h.charCodeAt(B),y=u>>8,w=u%256,C.push(w),C.push(y);return C}function x(h){return t.toByteArray(Y(h))}function j(h,l,u,y){let w;for(w=0;w<y&&!(w+u>=l.length||w>=h.length);++w)l[w+u]=h[w];return w}function U(h,l){return h instanceof l||h!=null&&h.constructor!=null&&h.constructor.name!=null&&h.constructor.name===l.name}function W(h){return h!==h}const N=function(){const h="0123456789abcdef",l=new Array(256);for(let u=0;u<16;++u){const y=u*16;for(let w=0;w<16;++w)l[y+w]=h[u]+h[w]}return l}();function D(h){return typeof BigInt>"u"?Q:h}function Q(){throw new Error("BigInt not supported")}})(os);const cu="/data/adb/xray/bin/xrayhelper",uu="/data/adb/xray/xrayhelper.yml",I_=async e=>{console.info(e);const{errno:t,stdout:n,stderr:r}=await rs(e,{cwd:"/"});return console.log(t===0?n:r),t},as=async e=>{console.info(e);const{errno:t,stdout:n}=await rs(e,{cwd:"/"});if(t===0)return console.log(n),n},Wm=async e=>{console.info(e);const{errno:t,stdout:n,stderr:r}=await rs(e,{cwd:"/"});return t===0?(console.log(n),n):(console.info(r),`${n}
${r}`)},N_=async e=>os.Buffer.from(await as(`base64 -w 0 ${e}`),"base64").toString("utf-8"),T_=(e,t)=>as(`echo ${os.Buffer.from(e).toString("base64")} | base64 -d > ${t}`),x_=async e=>{let t={data:{},exited:!1};typeof e>"u"?e=[]:e instanceof Array||(e=e.split(" "));let n=["-c",cu,"-c",uu,"-t","3","api"];n.push(...e);let r=Pm("su",n);for(r.stdout.on("data",i=>{t.data=JSON.parse(i)}),r.on("exit",()=>{t.exited=!0});;){if(t.exited)return t.data;await new Promise(i=>setTimeout(()=>i(),50))}},A_=e=>Wm(`su -c ${cu} -c ${uu} -t 5 ${e}`);/*!
  * shared v10.0.4
  * (c) 2024 kazuya kawaguchi
  * Released under the MIT License.
  */const ii=typeof window<"u",an=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Hm=(e,t,n)=>Vm({l:e,k:t,s:n}),Vm=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),je=e=>typeof e=="number"&&isFinite(e),Gm=e=>ls(e)==="[object Date]",Fn=e=>ls(e)==="[object RegExp]",wi=e=>se(e)&&Object.keys(e).length===0,Fe=Object.assign;let Ea;const yn=()=>Ea||(Ea=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ba(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Km=Object.prototype.hasOwnProperty;function oi(e,t){return Km.call(e,t)}const Oe=Array.isArray,Ae=e=>typeof e=="function",X=e=>typeof e=="string",pe=e=>typeof e=="boolean",ge=e=>e!==null&&typeof e=="object",Qm=e=>ge(e)&&Ae(e.then)&&Ae(e.catch),fu=Object.prototype.toString,ls=e=>fu.call(e),se=e=>ls(e)==="[object Object]",Xm=e=>e==null?"":Oe(e)||se(e)&&e.toString===fu?JSON.stringify(e,null,2):String(e);function cs(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}function qm(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Fr=e=>!ge(e)||Oe(e);function Vr(e,t){if(Fr(e)||Fr(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:i}=n.pop();Object.keys(r).forEach(o=>{ge(r[o])&&!ge(i[o])&&(i[o]=Array.isArray(r[o])?[]:{}),Fr(i[o])||Fr(r[o])?i[o]=r[o]:n.push({src:r[o],des:i[o]})})}}/*!
  * message-compiler v10.0.4
  * (c) 2024 kazuya kawaguchi
  * Released under the MIT License.
  */function Jm(e,t,n){return{line:e,column:t,offset:n}}function Eo(e,t,n){return{start:e,end:t}}const ve={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Zm=17;function Ii(e,t,n={}){const{domain:r,messages:i,args:o}=n,s=e,a=new SyntaxError(String(s));return a.code=e,t&&(a.location=t),a.domain=r,a}function eg(e){throw e}const Ot=" ",tg="\r",Ve=`
`,ng="\u2028",rg="\u2029";function ig(e){const t=e;let n=0,r=1,i=1,o=0;const s=k=>t[k]===tg&&t[k+1]===Ve,a=k=>t[k]===Ve,c=k=>t[k]===rg,f=k=>t[k]===ng,d=k=>s(k)||a(k)||c(k)||f(k),p=()=>n,m=()=>r,_=()=>i,L=()=>o,A=k=>s(k)||c(k)||f(k)?Ve:t[k],P=()=>A(n),M=()=>A(n+o);function I(){return o=0,d(n)&&(r++,i=0),s(n)&&n++,n++,i++,t[n]}function S(){return s(n+o)&&o++,o++,t[n+o]}function T(){n=0,r=1,i=1,o=0}function F(k=0){o=k}function R(){const k=n+o;for(;k!==n;)I();o=0}return{index:p,line:m,column:_,peekOffset:L,charAt:A,currentChar:P,currentPeek:M,next:I,peek:S,reset:T,resetPeek:F,skipToPeek:R}}const Gt=void 0,og=".",va="'",sg="tokenizer";function ag(e,t={}){const n=t.location!==!1,r=ig(e),i=()=>r.index(),o=()=>Jm(r.line(),r.column(),r.index()),s=o(),a=i(),c={currentType:13,offset:a,startLoc:s,endLoc:s,lastType:13,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},f=()=>c,{onError:d}=t;function p(g,b,x,...j){const U=f();if(b.column+=x,b.offset+=x,d){const W=n?Eo(U.startLoc,b):null,N=Ii(g,W,{domain:sg,args:j});d(N)}}function m(g,b,x){g.endLoc=o(),g.currentType=b;const j={type:b};return n&&(j.loc=Eo(g.startLoc,g.endLoc)),x!=null&&(j.value=x),j}const _=g=>m(g,13);function L(g,b){return g.currentChar()===b?(g.next(),b):(p(ve.EXPECTED_TOKEN,o(),0,b),"")}function A(g){let b="";for(;g.currentPeek()===Ot||g.currentPeek()===Ve;)b+=g.currentPeek(),g.peek();return b}function P(g){const b=A(g);return g.skipToPeek(),b}function M(g){if(g===Gt)return!1;const b=g.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b===95}function I(g){if(g===Gt)return!1;const b=g.charCodeAt(0);return b>=48&&b<=57}function S(g,b){const{currentType:x}=b;if(x!==2)return!1;A(g);const j=M(g.currentPeek());return g.resetPeek(),j}function T(g,b){const{currentType:x}=b;if(x!==2)return!1;A(g);const j=g.currentPeek()==="-"?g.peek():g.currentPeek(),U=I(j);return g.resetPeek(),U}function F(g,b){const{currentType:x}=b;if(x!==2)return!1;A(g);const j=g.currentPeek()===va;return g.resetPeek(),j}function R(g,b){const{currentType:x}=b;if(x!==7)return!1;A(g);const j=g.currentPeek()===".";return g.resetPeek(),j}function k(g,b){const{currentType:x}=b;if(x!==8)return!1;A(g);const j=M(g.currentPeek());return g.resetPeek(),j}function q(g,b){const{currentType:x}=b;if(!(x===7||x===11))return!1;A(g);const j=g.currentPeek()===":";return g.resetPeek(),j}function H(g,b){const{currentType:x}=b;if(x!==9)return!1;const j=()=>{const W=g.currentPeek();return W==="{"?M(g.peek()):W==="@"||W==="|"||W===":"||W==="."||W===Ot||!W?!1:W===Ve?(g.peek(),j()):te(g,!1)},U=j();return g.resetPeek(),U}function Z(g){A(g);const b=g.currentPeek()==="|";return g.resetPeek(),b}function te(g,b=!0){const x=(U=!1,W="")=>{const N=g.currentPeek();return N==="{"||N==="@"||!N?U:N==="|"?!(W===Ot||W===Ve):N===Ot?(g.peek(),x(!0,Ot)):N===Ve?(g.peek(),x(!0,Ve)):!0},j=x();return b&&g.resetPeek(),j}function V(g,b){const x=g.currentChar();return x===Gt?Gt:b(x)?(g.next(),x):null}function re(g){const b=g.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36}function Te(g){return V(g,re)}function Be(g){const b=g.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36||b===45}function we(g){return V(g,Be)}function ue(g){const b=g.charCodeAt(0);return b>=48&&b<=57}function le(g){return V(g,ue)}function De(g){const b=g.charCodeAt(0);return b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102}function We(g){return V(g,De)}function fe(g){let b="",x="";for(;b=le(g);)x+=b;return x}function de(g){let b="";for(;;){const x=g.currentChar();if(x==="{"||x==="}"||x==="@"||x==="|"||!x)break;if(x===Ot||x===Ve)if(te(g))b+=x,g.next();else{if(Z(g))break;b+=x,g.next()}else b+=x,g.next()}return b}function it(g){P(g);let b="",x="";for(;b=we(g);)x+=b;return g.currentChar()===Gt&&p(ve.UNTERMINATED_CLOSING_BRACE,o(),0),x}function ot(g){P(g);let b="";return g.currentChar()==="-"?(g.next(),b+=`-${fe(g)}`):b+=fe(g),g.currentChar()===Gt&&p(ve.UNTERMINATED_CLOSING_BRACE,o(),0),b}function vt(g){return g!==va&&g!==Ve}function ke(g){P(g),L(g,"'");let b="",x="";for(;b=V(g,vt);)b==="\\"?x+=z(g):x+=b;const j=g.currentChar();return j===Ve||j===Gt?(p(ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),j===Ve&&(g.next(),L(g,"'")),x):(L(g,"'"),x)}function z(g){const b=g.currentChar();switch(b){case"\\":case"'":return g.next(),`\\${b}`;case"u":return K(g,b,4);case"U":return K(g,b,6);default:return p(ve.UNKNOWN_ESCAPE_SEQUENCE,o(),0,b),""}}function K(g,b,x){L(g,b);let j="";for(let U=0;U<x;U++){const W=We(g);if(!W){p(ve.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${b}${j}${g.currentChar()}`);break}j+=W}return`\\${b}${j}`}function G(g){return g!=="{"&&g!=="}"&&g!==Ot&&g!==Ve}function J(g){P(g);let b="",x="";for(;b=V(g,G);)x+=b;return x}function ce(g){let b="",x="";for(;b=Te(g);)x+=b;return x}function ye(g){const b=x=>{const j=g.currentChar();return j==="{"||j==="@"||j==="|"||j==="("||j===")"||!j||j===Ot?x:(x+=j,g.next(),b(x))};return b("")}function E(g){P(g);const b=L(g,"|");return P(g),b}function v(g,b){let x=null;switch(g.currentChar()){case"{":return b.braceNest>=1&&p(ve.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),g.next(),x=m(b,2,"{"),P(g),b.braceNest++,x;case"}":return b.braceNest>0&&b.currentType===2&&p(ve.EMPTY_PLACEHOLDER,o(),0),g.next(),x=m(b,3,"}"),b.braceNest--,b.braceNest>0&&P(g),b.inLinked&&b.braceNest===0&&(b.inLinked=!1),x;case"@":return b.braceNest>0&&p(ve.UNTERMINATED_CLOSING_BRACE,o(),0),x=O(g,b)||_(b),b.braceNest=0,x;default:{let U=!0,W=!0,N=!0;if(Z(g))return b.braceNest>0&&p(ve.UNTERMINATED_CLOSING_BRACE,o(),0),x=m(b,1,E(g)),b.braceNest=0,b.inLinked=!1,x;if(b.braceNest>0&&(b.currentType===4||b.currentType===5||b.currentType===6))return p(ve.UNTERMINATED_CLOSING_BRACE,o(),0),b.braceNest=0,Y(g,b);if(U=S(g,b))return x=m(b,4,it(g)),P(g),x;if(W=T(g,b))return x=m(b,5,ot(g)),P(g),x;if(N=F(g,b))return x=m(b,6,ke(g)),P(g),x;if(!U&&!W&&!N)return x=m(b,12,J(g)),p(ve.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,x.value),P(g),x;break}}return x}function O(g,b){const{currentType:x}=b;let j=null;const U=g.currentChar();switch((x===7||x===8||x===11||x===9)&&(U===Ve||U===Ot)&&p(ve.INVALID_LINKED_FORMAT,o(),0),U){case"@":return g.next(),j=m(b,7,"@"),b.inLinked=!0,j;case".":return P(g),g.next(),m(b,8,".");case":":return P(g),g.next(),m(b,9,":");default:return Z(g)?(j=m(b,1,E(g)),b.braceNest=0,b.inLinked=!1,j):R(g,b)||q(g,b)?(P(g),O(g,b)):k(g,b)?(P(g),m(b,11,ce(g))):H(g,b)?(P(g),U==="{"?v(g,b)||j:m(b,10,ye(g))):(x===7&&p(ve.INVALID_LINKED_FORMAT,o(),0),b.braceNest=0,b.inLinked=!1,Y(g,b))}}function Y(g,b){let x={type:13};if(b.braceNest>0)return v(g,b)||_(b);if(b.inLinked)return O(g,b)||_(b);switch(g.currentChar()){case"{":return v(g,b)||_(b);case"}":return p(ve.UNBALANCED_CLOSING_BRACE,o(),0),g.next(),m(b,3,"}");case"@":return O(g,b)||_(b);default:{if(Z(g))return x=m(b,1,E(g)),b.braceNest=0,b.inLinked=!1,x;if(te(g))return m(b,0,de(g));break}}return x}function $(){const{currentType:g,offset:b,startLoc:x,endLoc:j}=c;return c.lastType=g,c.lastOffset=b,c.lastStartLoc=x,c.lastEndLoc=j,c.offset=i(),c.startLoc=o(),r.currentChar()===Gt?m(c,13):Y(r,c)}return{nextToken:$,currentOffset:i,currentPosition:o,context:f}}const lg="parser",cg=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ug(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function fg(e={}){const t=e.location!==!1,{onError:n}=e;function r(M,I,S,T,...F){const R=M.currentPosition();if(R.offset+=T,R.column+=T,n){const k=t?Eo(S,R):null,q=Ii(I,k,{domain:lg,args:F});n(q)}}function i(M,I,S){const T={type:M};return t&&(T.start=I,T.end=I,T.loc={start:S,end:S}),T}function o(M,I,S,T){t&&(M.end=I,M.loc&&(M.loc.end=S))}function s(M,I){const S=M.context(),T=i(3,S.offset,S.startLoc);return T.value=I,o(T,M.currentOffset(),M.currentPosition()),T}function a(M,I){const S=M.context(),{lastOffset:T,lastStartLoc:F}=S,R=i(5,T,F);return R.index=parseInt(I,10),M.nextToken(),o(R,M.currentOffset(),M.currentPosition()),R}function c(M,I){const S=M.context(),{lastOffset:T,lastStartLoc:F}=S,R=i(4,T,F);return R.key=I,M.nextToken(),o(R,M.currentOffset(),M.currentPosition()),R}function f(M,I){const S=M.context(),{lastOffset:T,lastStartLoc:F}=S,R=i(9,T,F);return R.value=I.replace(cg,ug),M.nextToken(),o(R,M.currentOffset(),M.currentPosition()),R}function d(M){const I=M.nextToken(),S=M.context(),{lastOffset:T,lastStartLoc:F}=S,R=i(8,T,F);return I.type!==11?(r(M,ve.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),R.value="",o(R,T,F),{nextConsumeToken:I,node:R}):(I.value==null&&r(M,ve.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,wt(I)),R.value=I.value||"",o(R,M.currentOffset(),M.currentPosition()),{node:R})}function p(M,I){const S=M.context(),T=i(7,S.offset,S.startLoc);return T.value=I,o(T,M.currentOffset(),M.currentPosition()),T}function m(M){const I=M.context(),S=i(6,I.offset,I.startLoc);let T=M.nextToken();if(T.type===8){const F=d(M);S.modifier=F.node,T=F.nextConsumeToken||M.nextToken()}switch(T.type!==9&&r(M,ve.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,wt(T)),T=M.nextToken(),T.type===2&&(T=M.nextToken()),T.type){case 10:T.value==null&&r(M,ve.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,wt(T)),S.key=p(M,T.value||"");break;case 4:T.value==null&&r(M,ve.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,wt(T)),S.key=c(M,T.value||"");break;case 5:T.value==null&&r(M,ve.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,wt(T)),S.key=a(M,T.value||"");break;case 6:T.value==null&&r(M,ve.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,wt(T)),S.key=f(M,T.value||"");break;default:{r(M,ve.UNEXPECTED_EMPTY_LINKED_KEY,I.lastStartLoc,0);const F=M.context(),R=i(7,F.offset,F.startLoc);return R.value="",o(R,F.offset,F.startLoc),S.key=R,o(S,F.offset,F.startLoc),{nextConsumeToken:T,node:S}}}return o(S,M.currentOffset(),M.currentPosition()),{node:S}}function _(M){const I=M.context(),S=I.currentType===1?M.currentOffset():I.offset,T=I.currentType===1?I.endLoc:I.startLoc,F=i(2,S,T);F.items=[];let R=null;do{const H=R||M.nextToken();switch(R=null,H.type){case 0:H.value==null&&r(M,ve.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,wt(H)),F.items.push(s(M,H.value||""));break;case 5:H.value==null&&r(M,ve.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,wt(H)),F.items.push(a(M,H.value||""));break;case 4:H.value==null&&r(M,ve.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,wt(H)),F.items.push(c(M,H.value||""));break;case 6:H.value==null&&r(M,ve.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,wt(H)),F.items.push(f(M,H.value||""));break;case 7:{const Z=m(M);F.items.push(Z.node),R=Z.nextConsumeToken||null;break}}}while(I.currentType!==13&&I.currentType!==1);const k=I.currentType===1?I.lastOffset:M.currentOffset(),q=I.currentType===1?I.lastEndLoc:M.currentPosition();return o(F,k,q),F}function L(M,I,S,T){const F=M.context();let R=T.items.length===0;const k=i(1,I,S);k.cases=[],k.cases.push(T);do{const q=_(M);R||(R=q.items.length===0),k.cases.push(q)}while(F.currentType!==13);return R&&r(M,ve.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),o(k,M.currentOffset(),M.currentPosition()),k}function A(M){const I=M.context(),{offset:S,startLoc:T}=I,F=_(M);return I.currentType===13?F:L(M,S,T,F)}function P(M){const I=ag(M,Fe({},e)),S=I.context(),T=i(0,S.offset,S.startLoc);return t&&T.loc&&(T.loc.source=M),T.body=A(I),e.onCacheKey&&(T.cacheKey=e.onCacheKey(M)),S.currentType!==13&&r(I,ve.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,M[S.offset]||""),o(T,I.currentOffset(),I.currentPosition()),T}return{parse:P}}function wt(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function dg(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Ma(e,t){for(let n=0;n<e.length;n++)us(e[n],t)}function us(e,t){switch(e.type){case 1:Ma(e.cases,t),t.helper("plural");break;case 2:Ma(e.items,t);break;case 6:{us(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function hg(e,t={}){const n=dg(e);n.helper("normalize"),e.body&&us(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function pg(e){const t=e.body;return t.type===2?wa(t):t.cases.forEach(n=>wa(n)),e}function wa(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=cs(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function An(e){switch(e.t=e.type,e.type){case 0:{const t=e;An(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)An(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)An(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;An(t.key),t.k=t.key,delete t.key,t.modifier&&(An(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function mg(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:o}=t,s=t.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:o,indentLevel:0};s&&e.loc&&(a.source=e.loc.source);const c=()=>a;function f(P,M){a.code+=P}function d(P,M=!0){const I=M?i:"";f(o?I+"  ".repeat(P):I)}function p(P=!0){const M=++a.indentLevel;P&&d(M)}function m(P=!0){const M=--a.indentLevel;P&&d(M)}function _(){d(a.indentLevel)}return{context:c,push:f,indent:p,deindent:m,newline:_,helper:P=>`_${P}`,needIndent:()=>a.needIndent}}function gg(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Bn(e,t.key),t.modifier?(e.push(", "),Bn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function yg(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let o=0;o<i&&(Bn(e,t.items[o]),o!==i-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function _g(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let o=0;o<i&&(Bn(e,t.cases[o]),o!==i-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function Eg(e,t){t.body?Bn(e,t.body):e.push("null")}function Bn(e,t){const{helper:n}=e;switch(t.type){case 0:Eg(e,t);break;case 1:_g(e,t);break;case 2:yg(e,t);break;case 6:gg(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const bg=(e,t={})=>{const n=X(t.mode)?t.mode:"normal",r=X(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,s=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],c=mg(e,{mode:n,filename:r,sourceMap:i,breakLineCode:o,needIndent:s});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(s),a.length>0&&(c.push(`const { ${cs(a.map(p=>`${p}: _${p}`),", ")} } = ctx`),c.newline()),c.push("return "),Bn(c,e),c.deindent(s),c.push("}"),delete e.helpers;const{code:f,map:d}=c.context();return{ast:e,code:f,map:d?d.toJSON():void 0}};function vg(e,t={}){const n=Fe({},t),r=!!n.jit,i=!!n.minify,o=n.optimize==null?!0:n.optimize,a=fg(n).parse(e);return r?(o&&pg(a),i&&An(a),{ast:a,code:""}):(hg(a,n),bg(a,n))}/*!
  * core-base v10.0.4
  * (c) 2024 kazuya kawaguchi
  * Released under the MIT License.
  */function Mg(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(yn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(yn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Wi(e){return n=>wg(n,e)}function wg(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,i=r.c||r.cases;return e.plural(i.reduce((o,s)=>[...o,Ia(e,s)],[]))}else return Ia(e,n)}function Ia(e,t){const n=t.s||t.static;if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((i,o)=>[...i,bo(e,o)],[]);return e.normalize(r)}}function bo(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,i=r.m||r.modifier;return e.linked(bo(e,r.k||r.key),i?bo(e,i):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Ig=e=>e;let Br=Object.create(null);const Un=e=>ge(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Ng(e,t={}){let n=!1;const r=t.onError||eg;return t.onError=i=>{n=!0,r(i)},{...vg(e,t),detectError:n}}function Tg(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&X(e)){pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Ig)(e),i=Br[r];if(i)return i;const{ast:o,detectError:s}=Ng(e,{...t,location:!1,jit:!0}),a=Wi(o);return s?a:Br[r]=a}else{const n=e.cacheKey;if(n){const r=Br[n];return r||(Br[n]=Wi(e))}else return Wi(e)}}let yr=null;function xg(e){yr=e}function Ag(e,t,n){yr&&yr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Lg=Sg("function:translate");function Sg(e){return t=>yr&&yr.emit(e,t)}const jt={INVALID_ARGUMENT:Zm,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Cg=24;function Ft(e){return Ii(e,null,void 0)}function fs(e,t){return t.locale!=null?Na(t.locale):Na(e.locale)}let Hi;function Na(e){if(X(e))return e;if(Ae(e)){if(e.resolvedOnce&&Hi!=null)return Hi;if(e.constructor.name==="Function"){const t=e();if(Qm(t))throw Ft(jt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Hi=t}else throw Ft(jt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ft(jt.NOT_SUPPORT_LOCALE_TYPE)}function Og(e,t,n){return[...new Set([n,...Oe(t)?t:ge(t)?Object.keys(t):X(t)?[t]:[n]])]}function du(e,t,n){const r=X(n)?n:_r,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(r);if(!o){o=[];let s=[n];for(;Oe(s);)s=Ta(o,s,t);const a=Oe(t)||!se(t)?t:t.default?t.default:null;s=X(a)?[a]:a,Oe(s)&&Ta(o,s,!1),i.__localeChainCache.set(r,o)}return o}function Ta(e,t,n){let r=!0;for(let i=0;i<t.length&&pe(r);i++){const o=t[i];X(o)&&(r=Dg(e,t[i],n))}return r}function Dg(e,t,n){let r;const i=t.split("-");do{const o=i.join("-");r=Rg(e,o,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function Rg(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(Oe(n)||se(n))&&n[i]&&(r=n[i])}return r}const ln=[];ln[0]={w:[0],i:[3,0],"[":[4],o:[7]};ln[1]={w:[1],".":[2],"[":[4],o:[7]};ln[2]={w:[2],i:[3,0],0:[3,0]};ln[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ln[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ln[5]={"'":[4,0],o:8,l:[5,0]};ln[6]={'"':[4,0],o:8,l:[6,0]};const Pg=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function kg(e){return Pg.test(e)}function jg(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Fg(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Bg(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:kg(t)?jg(t):"*"+t}function Ug(e){const t=[];let n=-1,r=0,i=0,o,s,a,c,f,d,p;const m=[];m[0]=()=>{s===void 0?s=a:s+=a},m[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},m[2]=()=>{m[0](),i++},m[3]=()=>{if(i>0)i--,r=4,m[0]();else{if(i=0,s===void 0||(s=Bg(s),s===!1))return!1;m[1]()}};function _(){const L=e[n+1];if(r===5&&L==="'"||r===6&&L==='"')return n++,a="\\"+L,m[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&_())){if(c=Fg(o),p=ln[r],f=p[c]||p.l||8,f===8||(r=f[0],f[1]!==void 0&&(d=m[f[1]],d&&(a=o,d()===!1))))return;if(r===7)return t}}const xa=new Map;function $g(e,t){return ge(e)?e[t]:null}function zg(e,t){if(!ge(e))return null;let n=xa.get(t);if(n||(n=Ug(t),n&&xa.set(t,n)),!n)return null;const r=n.length;let i=e,o=0;for(;o<r;){const s=i[n[o]];if(s===void 0||Ae(i))return null;i=s,o++}return i}const Yg="10.0.4",Ni=-1,_r="en-US",Aa="",La=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Wg(){return{upper:(e,t)=>t==="text"&&X(e)?e.toUpperCase():t==="vnode"&&ge(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&X(e)?e.toLowerCase():t==="vnode"&&ge(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&X(e)?La(e):t==="vnode"&&ge(e)&&"__v_isVNode"in e?La(e.children):e}}let hu;function Hg(e){hu=e}let pu;function Vg(e){pu=e}let mu;function Gg(e){mu=e}let gu=null;const Kg=e=>{gu=e},Qg=()=>gu;let yu=null;const Sa=e=>{yu=e},Xg=()=>yu;let Ca=0;function qg(e={}){const t=Ae(e.onWarn)?e.onWarn:qm,n=X(e.version)?e.version:Yg,r=X(e.locale)||Ae(e.locale)?e.locale:_r,i=Ae(r)?_r:r,o=Oe(e.fallbackLocale)||se(e.fallbackLocale)||X(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,s=se(e.messages)?e.messages:{[i]:{}},a=se(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},c=se(e.numberFormats)?e.numberFormats:{[i]:{}},f=Fe({},e.modifiers||{},Wg()),d=e.pluralRules||{},p=Ae(e.missing)?e.missing:null,m=pe(e.missingWarn)||Fn(e.missingWarn)?e.missingWarn:!0,_=pe(e.fallbackWarn)||Fn(e.fallbackWarn)?e.fallbackWarn:!0,L=!!e.fallbackFormat,A=!!e.unresolving,P=Ae(e.postTranslation)?e.postTranslation:null,M=se(e.processor)?e.processor:null,I=pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,T=Ae(e.messageCompiler)?e.messageCompiler:hu,F=Ae(e.messageResolver)?e.messageResolver:pu||$g,R=Ae(e.localeFallbacker)?e.localeFallbacker:mu||Og,k=ge(e.fallbackContext)?e.fallbackContext:void 0,q=e,H=ge(q.__datetimeFormatters)?q.__datetimeFormatters:new Map,Z=ge(q.__numberFormatters)?q.__numberFormatters:new Map,te=ge(q.__meta)?q.__meta:{};Ca++;const V={version:n,cid:Ca,locale:r,fallbackLocale:o,messages:s,modifiers:f,pluralRules:d,missing:p,missingWarn:m,fallbackWarn:_,fallbackFormat:L,unresolving:A,postTranslation:P,processor:M,warnHtmlMessage:I,escapeParameter:S,messageCompiler:T,messageResolver:F,localeFallbacker:R,fallbackContext:k,onWarn:t,__meta:te};return V.datetimeFormats=a,V.numberFormats=c,V.__datetimeFormatters=H,V.__numberFormatters=Z,__INTLIFY_PROD_DEVTOOLS__&&Ag(V,n,te),V}function ds(e,t,n,r,i){const{missing:o,onWarn:s}=e;if(o!==null){const a=o(e,n,t,i);return X(a)?a:t}else return t}function Qn(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Jg(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Zg(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Jg(e,t[r]))return!0;return!1}function Oa(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=e,{__datetimeFormatters:a}=e,[c,f,d,p]=vo(...t),m=pe(d.missingWarn)?d.missingWarn:e.missingWarn;pe(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const _=!!d.part,L=fs(e,d),A=s(e,i,L);if(!X(c)||c==="")return new Intl.DateTimeFormat(L,p).format(f);let P={},M,I=null;const S="datetime format";for(let R=0;R<A.length&&(M=A[R],P=n[M]||{},I=P[c],!se(I));R++)ds(e,c,M,m,S);if(!se(I)||!X(M))return r?Ni:c;let T=`${M}__${c}`;wi(p)||(T=`${T}__${JSON.stringify(p)}`);let F=a.get(T);return F||(F=new Intl.DateTimeFormat(M,Fe({},I,p)),a.set(T,F)),_?F.formatToParts(f):F.format(f)}const _u=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function vo(...e){const[t,n,r,i]=e,o={};let s={},a;if(X(t)){const c=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Ft(jt.INVALID_ISO_DATE_ARGUMENT);const f=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();a=new Date(f);try{a.toISOString()}catch{throw Ft(jt.INVALID_ISO_DATE_ARGUMENT)}}else if(Gm(t)){if(isNaN(t.getTime()))throw Ft(jt.INVALID_DATE_ARGUMENT);a=t}else if(je(t))a=t;else throw Ft(jt.INVALID_ARGUMENT);return X(n)?o.key=n:se(n)&&Object.keys(n).forEach(c=>{_u.includes(c)?s[c]=n[c]:o[c]=n[c]}),X(r)?o.locale=r:se(r)&&(s=r),se(i)&&(s=i),[o.key||"",a,o,s]}function Da(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Ra(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=e,{__numberFormatters:a}=e,[c,f,d,p]=Mo(...t),m=pe(d.missingWarn)?d.missingWarn:e.missingWarn;pe(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const _=!!d.part,L=fs(e,d),A=s(e,i,L);if(!X(c)||c==="")return new Intl.NumberFormat(L,p).format(f);let P={},M,I=null;const S="number format";for(let R=0;R<A.length&&(M=A[R],P=n[M]||{},I=P[c],!se(I));R++)ds(e,c,M,m,S);if(!se(I)||!X(M))return r?Ni:c;let T=`${M}__${c}`;wi(p)||(T=`${T}__${JSON.stringify(p)}`);let F=a.get(T);return F||(F=new Intl.NumberFormat(M,Fe({},I,p)),a.set(T,F)),_?F.formatToParts(f):F.format(f)}const Eu=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Mo(...e){const[t,n,r,i]=e,o={};let s={};if(!je(t))throw Ft(jt.INVALID_ARGUMENT);const a=t;return X(n)?o.key=n:se(n)&&Object.keys(n).forEach(c=>{Eu.includes(c)?s[c]=n[c]:o[c]=n[c]}),X(r)?o.locale=r:se(r)&&(s=r),se(i)&&(s=i),[o.key||"",a,o,s]}function Pa(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}const ey=e=>e,ty=e=>"",ny="text",ry=e=>e.length===0?"":cs(e),iy=Xm;function ka(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function oy(e){const t=je(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(je(e.named.count)||je(e.named.n))?je(e.named.count)?e.named.count:je(e.named.n)?e.named.n:t:t}function sy(e,t){t.count||(t.count=e),t.n||(t.n=e)}function ay(e={}){const t=e.locale,n=oy(e),r=ge(e.pluralRules)&&X(t)&&Ae(e.pluralRules[t])?e.pluralRules[t]:ka,i=ge(e.pluralRules)&&X(t)&&Ae(e.pluralRules[t])?ka:void 0,o=M=>M[r(n,M.length,i)],s=e.list||[],a=M=>s[M],c=e.named||{};je(e.pluralIndex)&&sy(n,c);const f=M=>c[M];function d(M,I){const S=Ae(e.messages)?e.messages(M,!!I):ge(e.messages)?e.messages[M]:!1;return S||(e.parent?e.parent.message(M):ty)}const p=M=>e.modifiers?e.modifiers[M]:ey,m=se(e.processor)&&Ae(e.processor.normalize)?e.processor.normalize:ry,_=se(e.processor)&&Ae(e.processor.interpolate)?e.processor.interpolate:iy,L=se(e.processor)&&X(e.processor.type)?e.processor.type:ny,P={list:a,named:f,plural:o,linked:(M,...I)=>{const[S,T]=I;let F="text",R="";I.length===1?ge(S)?(R=S.modifier||R,F=S.type||F):X(S)&&(R=S||R):I.length===2&&(X(S)&&(R=S||R),X(T)&&(F=T||F));const k=d(M,!0)(P),q=F==="vnode"&&Oe(k)&&R?k[0]:k;return R?p(R)(q,F):q},message:d,type:L,interpolate:_,normalize:m,values:Fe({},s,c)};return P}const ja=()=>"",ft=e=>Ae(e);function Fa(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:o,fallbackLocale:s,messages:a}=e,[c,f]=wo(...t),d=pe(f.missingWarn)?f.missingWarn:e.missingWarn,p=pe(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,m=pe(f.escapeParameter)?f.escapeParameter:e.escapeParameter,_=!!f.resolvedMessage,L=X(f.default)||pe(f.default)?pe(f.default)?o?c:()=>c:f.default:n?o?c:()=>c:null,A=n||L!=null&&(X(L)||Ae(L)),P=fs(e,f);m&&ly(f);let[M,I,S]=_?[c,P,a[P]||{}]:bu(e,c,P,s,p,d),T=M,F=c;if(!_&&!(X(T)||Un(T)||ft(T))&&A&&(T=L,F=T),!_&&(!(X(T)||Un(T)||ft(T))||!X(I)))return i?Ni:c;let R=!1;const k=()=>{R=!0},q=ft(T)?T:vu(e,c,I,T,F,k);if(R)return T;const H=fy(e,I,S,f),Z=ay(H),te=cy(e,q,Z),V=r?r(te,c):te;if(__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:X(c)?c:ft(T)?T.key:"",locale:I||(ft(T)?T.locale:""),format:X(T)?T:ft(T)?T.source:"",message:V};re.meta=Fe({},e.__meta,Qg()||{}),Lg(re)}return V}function ly(e){Oe(e.list)?e.list=e.list.map(t=>X(t)?ba(t):t):ge(e.named)&&Object.keys(e.named).forEach(t=>{X(e.named[t])&&(e.named[t]=ba(e.named[t]))})}function bu(e,t,n,r,i,o){const{messages:s,onWarn:a,messageResolver:c,localeFallbacker:f}=e,d=f(e,r,n);let p={},m,_=null;const L="translate";for(let A=0;A<d.length&&(m=d[A],p=s[m]||{},(_=c(p,t))===null&&(_=p[t]),!(X(_)||Un(_)||ft(_)));A++)if(!Zg(m,d)){const P=ds(e,t,m,o,L);P!==t&&(_=P)}return[_,m,p]}function vu(e,t,n,r,i,o){const{messageCompiler:s,warnHtmlMessage:a}=e;if(ft(r)){const f=r;return f.locale=f.locale||n,f.key=f.key||t,f}if(s==null){const f=()=>r;return f.locale=n,f.key=t,f}const c=s(r,uy(e,n,i,r,a,o));return c.locale=n,c.key=t,c.source=r,c}function cy(e,t,n){return t(n)}function wo(...e){const[t,n,r]=e,i={};if(!X(t)&&!je(t)&&!ft(t)&&!Un(t))throw Ft(jt.INVALID_ARGUMENT);const o=je(t)?String(t):(ft(t),t);return je(n)?i.plural=n:X(n)?i.default=n:se(n)&&!wi(n)?i.named=n:Oe(n)&&(i.list=n),je(r)?i.plural=r:X(r)?i.default=r:se(r)&&Fe(i,r),[o,i]}function uy(e,t,n,r,i,o){return{locale:t,key:n,warnHtmlMessage:i,onError:s=>{throw o&&o(s),s},onCacheKey:s=>Hm(t,n,s)}}function fy(e,t,n,r){const{modifiers:i,pluralRules:o,messageResolver:s,fallbackLocale:a,fallbackWarn:c,missingWarn:f,fallbackContext:d}=e,m={locale:t,modifiers:i,pluralRules:o,messages:(_,L)=>{let A=s(n,_);if(A==null&&(d||L)){const[,,P]=bu(d||e,_,t,a,c,f);A=s(P,_)}if(X(A)||Un(A)){let P=!1;const I=vu(e,_,t,A,_,()=>{P=!0});return P?ja:I}else return ft(A)?A:ja}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),je(r.plural)&&(m.pluralIndex=r.plural),m}Mg();/*!
  * vue-i18n v10.0.4
  * (c) 2024 kazuya kawaguchi
  * Released under the MIT License.
  */const dy="10.0.4";function hy(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(yn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(yn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(yn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(yn().__INTLIFY_PROD_DEVTOOLS__=!1)}const Qe={UNEXPECTED_RETURN_TYPE:Cg,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function nt(e,...t){return Ii(e,null,void 0)}const Io=an("__translateVNode"),No=an("__datetimeParts"),To=an("__numberParts"),Mu=an("__setPluralRules"),wu=an("__injectWithOption"),xo=an("__dispose");function Er(e){if(!ge(e))return e;for(const t in e)if(oi(e,t))if(!t.includes("."))ge(e[t])&&Er(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,o=!1;for(let s=0;s<r;s++){if(n[s]in i||(i[n[s]]={}),!ge(i[n[s]])){o=!0;break}i=i[n[s]]}o||(i[n[r]]=e[t],delete e[t]),ge(i[n[r]])&&Er(i[n[r]])}return e}function hs(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:o}=t,s=se(n)?n:Oe(r)?{}:{[e]:{}};if(Oe(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:c,resource:f}=a;c?(s[c]=s[c]||{},Vr(f,s[c])):Vr(f,s)}else X(a)&&Vr(JSON.parse(a),s)}),i==null&&o)for(const a in s)oi(s,a)&&Er(s[a]);return s}function Iu(e){return e.type}function Nu(e,t,n){let r=ge(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=hs(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(ge(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(ge(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Ba(e){return ee(Tr,null,e,0)}const Ua="__INTLIFY_META__",$a=()=>[],py=()=>!1;let za=0;function Ya(e){return(t,n,r,i)=>e(n,r,pt()||void 0,i)}const my=()=>{const e=pt();let t=null;return e&&(t=Iu(e)[Ua])?{[Ua]:t}:null};function ps(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,i=e.flatJson,o=ii?Me:Ul;let s=pe(e.inheritLocale)?e.inheritLocale:!0;const a=o(t&&s?t.locale.value:X(e.locale)?e.locale:_r),c=o(t&&s?t.fallbackLocale.value:X(e.fallbackLocale)||Oe(e.fallbackLocale)||se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),f=o(hs(a.value,e)),d=o(se(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),p=o(se(e.numberFormats)?e.numberFormats:{[a.value]:{}});let m=t?t.missingWarn:pe(e.missingWarn)||Fn(e.missingWarn)?e.missingWarn:!0,_=t?t.fallbackWarn:pe(e.fallbackWarn)||Fn(e.fallbackWarn)?e.fallbackWarn:!0,L=t?t.fallbackRoot:pe(e.fallbackRoot)?e.fallbackRoot:!0,A=!!e.fallbackFormat,P=Ae(e.missing)?e.missing:null,M=Ae(e.missing)?Ya(e.missing):null,I=Ae(e.postTranslation)?e.postTranslation:null,S=t?t.warnHtmlMessage:pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const F=t?t.modifiers:se(e.modifiers)?e.modifiers:{};let R=e.pluralRules||t&&t.pluralRules,k;k=(()=>{r&&Sa(null);const N={version:dy,locale:a.value,fallbackLocale:c.value,messages:f.value,modifiers:F,pluralRules:R,missing:M===null?void 0:M,missingWarn:m,fallbackWarn:_,fallbackFormat:A,unresolving:!0,postTranslation:I===null?void 0:I,warnHtmlMessage:S,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};N.datetimeFormats=d.value,N.numberFormats=p.value,N.__datetimeFormatters=se(k)?k.__datetimeFormatters:void 0,N.__numberFormatters=se(k)?k.__numberFormatters:void 0;const D=qg(N);return r&&Sa(D),D})(),Qn(k,a.value,c.value);function H(){return[a.value,c.value,f.value,d.value,p.value]}const Z=Ce({get:()=>a.value,set:N=>{a.value=N,k.locale=a.value}}),te=Ce({get:()=>c.value,set:N=>{c.value=N,k.fallbackLocale=c.value,Qn(k,a.value,N)}}),V=Ce(()=>f.value),re=Ce(()=>d.value),Te=Ce(()=>p.value);function Be(){return Ae(I)?I:null}function we(N){I=N,k.postTranslation=N}function ue(){return P}function le(N){N!==null&&(M=Ya(N)),P=N,k.missing=M}const De=(N,D,Q,h,l,u)=>{H();let y;try{__INTLIFY_PROD_DEVTOOLS__,r||(k.fallbackContext=t?Xg():void 0),y=N(k)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(k.fallbackContext=void 0)}if(Q!=="translate exists"&&je(y)&&y===Ni||Q==="translate exists"&&!y){const[w,C]=D();return t&&L?h(t):l(w)}else{if(u(y))return y;throw nt(Qe.UNEXPECTED_RETURN_TYPE)}};function We(...N){return De(D=>Reflect.apply(Fa,null,[D,...N]),()=>wo(...N),"translate",D=>Reflect.apply(D.t,D,[...N]),D=>D,D=>X(D))}function fe(...N){const[D,Q,h]=N;if(h&&!ge(h))throw nt(Qe.INVALID_ARGUMENT);return We(D,Q,Fe({resolvedMessage:!0},h||{}))}function de(...N){return De(D=>Reflect.apply(Oa,null,[D,...N]),()=>vo(...N),"datetime format",D=>Reflect.apply(D.d,D,[...N]),()=>Aa,D=>X(D))}function it(...N){return De(D=>Reflect.apply(Ra,null,[D,...N]),()=>Mo(...N),"number format",D=>Reflect.apply(D.n,D,[...N]),()=>Aa,D=>X(D))}function ot(N){return N.map(D=>X(D)||je(D)||pe(D)?Ba(String(D)):D)}const ke={normalize:ot,interpolate:N=>N,type:"vnode"};function z(...N){return De(D=>{let Q;const h=D;try{h.processor=ke,Q=Reflect.apply(Fa,null,[h,...N])}finally{h.processor=null}return Q},()=>wo(...N),"translate",D=>D[Io](...N),D=>[Ba(D)],D=>Oe(D))}function K(...N){return De(D=>Reflect.apply(Ra,null,[D,...N]),()=>Mo(...N),"number format",D=>D[To](...N),$a,D=>X(D)||Oe(D))}function G(...N){return De(D=>Reflect.apply(Oa,null,[D,...N]),()=>vo(...N),"datetime format",D=>D[No](...N),$a,D=>X(D)||Oe(D))}function J(N){R=N,k.pluralRules=R}function ce(N,D){return De(()=>{if(!N)return!1;const Q=X(D)?D:a.value,h=v(Q),l=k.messageResolver(h,N);return Un(l)||ft(l)||X(l)},()=>[N],"translate exists",Q=>Reflect.apply(Q.te,Q,[N,D]),py,Q=>pe(Q))}function ye(N){let D=null;const Q=du(k,c.value,a.value);for(let h=0;h<Q.length;h++){const l=f.value[Q[h]]||{},u=k.messageResolver(l,N);if(u!=null){D=u;break}}return D}function E(N){const D=ye(N);return D??(t?t.tm(N)||{}:{})}function v(N){return f.value[N]||{}}function O(N,D){if(i){const Q={[N]:D};for(const h in Q)oi(Q,h)&&Er(Q[h]);D=Q[N]}f.value[N]=D,k.messages=f.value}function Y(N,D){f.value[N]=f.value[N]||{};const Q={[N]:D};if(i)for(const h in Q)oi(Q,h)&&Er(Q[h]);D=Q[N],Vr(D,f.value[N]),k.messages=f.value}function $(N){return d.value[N]||{}}function g(N,D){d.value[N]=D,k.datetimeFormats=d.value,Da(k,N,D)}function b(N,D){d.value[N]=Fe(d.value[N]||{},D),k.datetimeFormats=d.value,Da(k,N,D)}function x(N){return p.value[N]||{}}function j(N,D){p.value[N]=D,k.numberFormats=p.value,Pa(k,N,D)}function U(N,D){p.value[N]=Fe(p.value[N]||{},D),k.numberFormats=p.value,Pa(k,N,D)}za++,t&&ii&&(Re(t.locale,N=>{s&&(a.value=N,k.locale=N,Qn(k,a.value,c.value))}),Re(t.fallbackLocale,N=>{s&&(c.value=N,k.fallbackLocale=N,Qn(k,a.value,c.value))}));const W={id:za,locale:Z,fallbackLocale:te,get inheritLocale(){return s},set inheritLocale(N){s=N,N&&t&&(a.value=t.locale.value,c.value=t.fallbackLocale.value,Qn(k,a.value,c.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:V,get modifiers(){return F},get pluralRules(){return R||{}},get isGlobal(){return r},get missingWarn(){return m},set missingWarn(N){m=N,k.missingWarn=m},get fallbackWarn(){return _},set fallbackWarn(N){_=N,k.fallbackWarn=_},get fallbackRoot(){return L},set fallbackRoot(N){L=N},get fallbackFormat(){return A},set fallbackFormat(N){A=N,k.fallbackFormat=A},get warnHtmlMessage(){return S},set warnHtmlMessage(N){S=N,k.warnHtmlMessage=N},get escapeParameter(){return T},set escapeParameter(N){T=N,k.escapeParameter=N},t:We,getLocaleMessage:v,setLocaleMessage:O,mergeLocaleMessage:Y,getPostTranslationHandler:Be,setPostTranslationHandler:we,getMissingHandler:ue,setMissingHandler:le,[Mu]:J};return W.datetimeFormats=re,W.numberFormats=Te,W.rt=fe,W.te=ce,W.tm=E,W.d=de,W.n=it,W.getDateTimeFormat=$,W.setDateTimeFormat=g,W.mergeDateTimeFormat=b,W.getNumberFormat=x,W.setNumberFormat=j,W.mergeNumberFormat=U,W[wu]=n,W[Io]=z,W[No]=G,W[To]=K,W}function gy(e){const t=X(e.locale)?e.locale:_r,n=X(e.fallbackLocale)||Oe(e.fallbackLocale)||se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Ae(e.missing)?e.missing:void 0,i=pe(e.silentTranslationWarn)||Fn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=pe(e.silentFallbackWarn)||Fn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=pe(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,c=se(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,d=Ae(e.postTranslation)?e.postTranslation:void 0,p=X(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,_=pe(e.sync)?e.sync:!0;let L=e.messages;if(se(e.sharedMessages)){const F=e.sharedMessages;L=Object.keys(F).reduce((k,q)=>{const H=k[q]||(k[q]={});return Fe(H,F[q]),k},L||{})}const{__i18n:A,__root:P,__injectWithOption:M}=e,I=e.datetimeFormats,S=e.numberFormats,T=e.flatJson;return{locale:t,fallbackLocale:n,messages:L,flatJson:T,datetimeFormats:I,numberFormats:S,missing:r,missingWarn:i,fallbackWarn:o,fallbackRoot:s,fallbackFormat:a,modifiers:c,pluralRules:f,postTranslation:d,warnHtmlMessage:p,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:_,__i18n:A,__root:P,__injectWithOption:M}}function Ao(e={}){const t=ps(gy(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(i){t.locale.value=i},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(i){t.fallbackLocale.value=i},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(i){t.setMissingHandler(i)},get silentTranslationWarn(){return pe(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(i){t.missingWarn=pe(i)?!i:i},get silentFallbackWarn(){return pe(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(i){t.fallbackWarn=pe(i)?!i:i},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(i){t.fallbackFormat=i},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(i){t.setPostTranslationHandler(i)},get sync(){return t.inheritLocale},set sync(i){t.inheritLocale=i},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){t.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(i){t.escapeParameter=i},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...i){return Reflect.apply(t.t,t,[...i])},rt(...i){return Reflect.apply(t.rt,t,[...i])},tc(...i){const[o,s,a]=i,c={plural:1};let f=null,d=null;if(!X(o))throw nt(Qe.INVALID_ARGUMENT);const p=o;return X(s)?c.locale=s:je(s)?c.plural=s:Oe(s)?f=s:se(s)&&(d=s),X(a)?c.locale=a:Oe(a)?f=a:se(a)&&(d=a),Reflect.apply(t.t,t,[p,f||d||{},c])},te(i,o){return t.te(i,o)},tm(i){return t.tm(i)},getLocaleMessage(i){return t.getLocaleMessage(i)},setLocaleMessage(i,o){t.setLocaleMessage(i,o)},mergeLocaleMessage(i,o){t.mergeLocaleMessage(i,o)},d(...i){return Reflect.apply(t.d,t,[...i])},getDateTimeFormat(i){return t.getDateTimeFormat(i)},setDateTimeFormat(i,o){t.setDateTimeFormat(i,o)},mergeDateTimeFormat(i,o){t.mergeDateTimeFormat(i,o)},n(...i){return Reflect.apply(t.n,t,[...i])},getNumberFormat(i){return t.getNumberFormat(i)},setNumberFormat(i,o){t.setNumberFormat(i,o)},mergeNumberFormat(i,o){t.mergeNumberFormat(i,o)}};return r.__extender=n,r}function yy(e,t,n){return{beforeCreate(){const r=pt();if(!r)throw nt(Qe.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const o=i.i18n;if(i.__i18n&&(o.__i18n=i.__i18n),o.__root=t,this===this.$root)this.$i18n=Wa(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=Ao(o);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=Wa(e,i);else{this.$i18n=Ao({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&Nu(t,i,i),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,s)=>this.$i18n.te(o,s),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=pt();if(!r)throw nt(Qe.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Wa(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Mu](t.pluralizationRules||e.pluralizationRules);const n=hs(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const ms={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function _y({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>[...r,...i.type===qe?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function Tu(){return qe}const Ey=rt({name:"i18n-t",props:Fe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>je(e)||!isNaN(e)}},ms),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||gs({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(p=>p!=="_"),s={};e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=X(e.plural)?+e.plural:e.plural);const a=_y(t,o),c=i[Io](e.keypath,a,s),f=Fe({},r),d=X(e.tag)||ge(e.tag)?e.tag:Tu();return Ar(d,f,c)}}}),Ha=Ey;function by(e){return Oe(e)&&!X(e[0])}function xu(e,t,n,r){const{slots:i,attrs:o}=t;return()=>{const s={part:!0};let a={};e.locale&&(s.locale=e.locale),X(e.format)?s.key=e.format:ge(e.format)&&(X(e.format.key)&&(s.key=e.format.key),a=Object.keys(e.format).reduce((m,_)=>n.includes(_)?Fe({},m,{[_]:e.format[_]}):m,{}));const c=r(e.value,s,a);let f=[s.key];Oe(c)?f=c.map((m,_)=>{const L=i[m.type],A=L?L({[m.type]:m.value,index:_,parts:c}):[m.value];return by(A)&&(A[0].key=`${m.type}-${_}`),A}):X(c)&&(f=[c]);const d=Fe({},o),p=X(e.tag)||ge(e.tag)?e.tag:Tu();return Ar(p,d,f)}}const vy=rt({name:"i18n-n",props:Fe({value:{type:Number,required:!0},format:{type:[String,Object]}},ms),setup(e,t){const n=e.i18n||gs({useScope:e.scope,__useComponent:!0});return xu(e,t,Eu,(...r)=>n[To](...r))}}),Va=vy,My=rt({name:"i18n-d",props:Fe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ms),setup(e,t){const n=e.i18n||gs({useScope:e.scope,__useComponent:!0});return xu(e,t,_u,(...r)=>n[No](...r))}}),Ga=My;function wy(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Iy(e){const t=s=>{const{instance:a,value:c}=s;if(!a||!a.$)throw nt(Qe.UNEXPECTED_ERROR);const f=wy(e,a.$),d=Ka(c);return[Reflect.apply(f.t,f,[...Qa(d)]),f]};return{created:(s,a)=>{const[c,f]=t(a);ii&&e.global===f&&(s.__i18nWatcher=Re(f.locale,()=>{a.instance&&a.instance.$forceUpdate()})),s.__composer=f,s.textContent=c},unmounted:s=>{ii&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:a})=>{if(s.__composer){const c=s.__composer,f=Ka(a);s.textContent=Reflect.apply(c.t,c,[...Qa(f)])}},getSSRProps:s=>{const[a]=t(s);return{textContent:a}}}}function Ka(e){if(X(e))return{path:e};if(se(e)){if(!("path"in e))throw nt(Qe.REQUIRED_VALUE,"path");return e}else throw nt(Qe.INVALID_VALUE)}function Qa(e){const{path:t,locale:n,args:r,choice:i,plural:o}=e,s={},a=r||{};return X(n)&&(s.locale=n),je(i)&&(s.plural=i),je(o)&&(s.plural=o),[t,a,s]}function Ny(e,t,...n){const r=se(n[0])?n[0]:{};(pe(r.globalInstall)?r.globalInstall:!0)&&([Ha.name,"I18nT"].forEach(o=>e.component(o,Ha)),[Va.name,"I18nN"].forEach(o=>e.component(o,Va)),[Ga.name,"I18nD"].forEach(o=>e.component(o,Ga))),e.directive("t",Iy(t))}const Ty=an("global-vue-i18n");function xy(e={},t){const n=__VUE_I18N_LEGACY_API__&&pe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=pe(e.globalInjection)?e.globalInjection:!0,i=new Map,[o,s]=Ay(e,n),a=an("");function c(m){return i.get(m)||null}function f(m,_){i.set(m,_)}function d(m){i.delete(m)}const p={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(m,..._){if(m.__VUE_I18N_SYMBOL__=a,m.provide(m.__VUE_I18N_SYMBOL__,p),se(_[0])){const P=_[0];p.__composerExtend=P.__composerExtend,p.__vueI18nExtend=P.__vueI18nExtend}let L=null;!n&&r&&(L=ky(m,p.global)),__VUE_I18N_FULL_INSTALL__&&Ny(m,p,..._),__VUE_I18N_LEGACY_API__&&n&&m.mixin(yy(s,s.__composer,p));const A=m.unmount;m.unmount=()=>{L&&L(),p.dispose(),A()}},get global(){return s},dispose(){o.stop()},__instances:i,__getInstance:c,__setInstance:f,__deleteInstance:d};return p}function gs(e={}){const t=pt();if(t==null)throw nt(Qe.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw nt(Qe.NOT_INSTALLED);const n=Ly(t),r=Cy(n),i=Iu(t),o=Sy(e,i);if(o==="global")return Nu(r,e,i),r;if(o==="parent"){let c=Oy(n,t,e.__useComponent);return c==null&&(c=r),c}const s=n;let a=s.__getInstance(t);if(a==null){const c=Fe({},e);"__i18n"in i&&(c.__i18n=i.__i18n),r&&(c.__root=r),a=ps(c),s.__composerExtend&&(a[xo]=s.__composerExtend(a)),Ry(s,t,a),s.__setInstance(t,a)}return a}function Ay(e,t,n){const r=ef(),i=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Ao(e)):r.run(()=>ps(e));if(i==null)throw nt(Qe.UNEXPECTED_ERROR);return[r,i]}function Ly(e){const t=et(e.isCE?Ty:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw nt(e.isCE?Qe.NOT_INSTALLED_WITH_PROVIDE:Qe.UNEXPECTED_ERROR);return t}function Sy(e,t){return wi(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Cy(e){return e.mode==="composition"?e.global:e.global.__composer}function Oy(e,t,n=!1){let r=null;const i=t.root;let o=Dy(t,n);for(;o!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const a=s.__getInstance(o);a!=null&&(r=a.__composer,n&&r&&!r[wu]&&(r=null))}if(r!=null||i===o)break;o=o.parent}return r}function Dy(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ry(e,t,n){sn(()=>{},t),Nr(()=>{const r=n;e.__deleteInstance(t);const i=r[xo];i&&(i(),delete r[xo])},t)}const Py=["locale","fallbackLocale","availableLocales"],Xa=["t","rt","d","n","tm","te"];function ky(e,t){const n=Object.create(null);return Py.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o)throw nt(Qe.UNEXPECTED_ERROR);const s=Ue(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,i,s)}),e.config.globalProperties.$i18n=n,Xa.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o||!o.value)throw nt(Qe.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,o)}),()=>{delete e.config.globalProperties.$i18n,Xa.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}hy();Hg(Tg);Vg(zg);Gg(du);if(__INTLIFY_PROD_DEVTOOLS__){const e=yn();e.__INTLIFY__=!0,xg(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const jy={"module-name":"Xray4Magisk","dashboard-version":"0.1.0-release","pulling-text":"下拉即可刷新...","loosing-text":"释放即可刷新...","loading-text":"加载中...","waiting-text":"等待中...","success-text":"成功",tips:"提示","confirm-text":"确定","ignore-text":"不再提醒",dashboard:"仪表盘",manage:"面板",setting:"设置",stdout:"输出"},Fy={version:"版本","version-module":"模块","version-dashboard":"仪表盘",status:"状态","status-get-failed":"获取状态信息失败，发生异常。","status-core-pid":"进程 ID","status-core-status":"核心状态","status-core-status-stopped":"停止","status-core-status-running":"运行中","status-core-type":"核心类型","status-method":"代理方式",tool:"工具","tool-update-core":"更新核心","tool-update-adghome":"更新 AdGuardHome","tool-update-geodata":"更新 Geodata 数据","tool-update-subscribe":"更新订阅","tool-update-yacd-meta":"更新 Yacd-Meta","tool-update-metacubexd":"更新 MetaCubeXD","tool-update-tun2socks":"更新 Tun2socks","tool-switch":"切换 Clash 订阅","tool-switch-success":"切换成功","tool-switch-failed":"切换失败"},By={"not-support":"暂不支持当前核心","no-more":"没有更多了","edit-custom":"自定义节点","rule-manage":"路由规则","ruleset-manage":"规则集","dns-manage":"DNS服务器","dnsrule-manage":"DNS规则","more-setting":"更多设置","load-balancing":"负载均衡","load-switch-data-failed":"加载节点信息失败，发生异常。",remarks:"别名",search:"查询中","placeholder-text":"请输入别名","speedtest-failed":"测试失败，发生异常。","speedtest-reject":"耐心等待其他节点测试结束后再继续。","speedtest-all-warn":"即将测试所有节点，以防机场封号！谨慎使用，确认继续?"},Uy={xrayhelper:"配置项 - XrayHelper","xrayhelper-core-type":"核心类型","xrayhelper-core-path":"核心路径","xrayhelper-core-config":"核心配置","xrayhelper-data-dir":"数据目录","xrayhelper-run-dir":"临时目录","xrayhelper-cpu-limit":"CPU 限制","xrayhelper-mem-limit":"内存限制","xrayhelper-proxy-tag":"出站代理标签","xrayhelper-allow-insecure":"允许不安全节点","xrayhelper-sub-list":"订阅地址","xrayhelper-user-agent":"User-Agent",clash:"配置项 - Clash","clash-dns-port":"DNS 端口","clash-template":"配置模板","panel-url":"面板地址",adghome:"配置项 - AdGuardHome","adghome-enable":"启用","adghome-address":"监听地址","adghome-work-dir":"工作目录","adghome-dns-port":"DNS 端口",proxy:"配置项 - Proxy","proxy-method":"代理方式","proxy-tproxy-port":"透明代理端口","proxy-socks-port":"Socks 代理端口","proxy-tun-device":"Tun 设备名","proxy-enable-ipv6":"启用 IPv6","proxy-auto-dns-strategy":"自动配置 DNS 策略","proxy-mode":"应用名单模式","proxy-pkg-list":"应用名单","proxy-ap-list":"外部代理接口","proxy-ignore-list":"忽略接口","proxy-intra-list":"标记的内网地址","cannot-get-config":"无法获取 XrayHelper 配置文件","running-warn":"当前核心正在运行，强烈建议停止核心并停用代理后再修改此页配置","switch-core":"检测到核心切换，是否同步切换为默认配置?","core-not-found":"检测到当前核心不存在，是否现在开始下载?","refresh-proxy":"配置文件已经重新载入。"},$y=Object.freeze(Object.defineProperty({__proto__:null,common:jy,dashboard:Fy,manage:By,setting:Uy},Symbol.toStringTag,{value:"Module"})),zy={"module-name":"Xray4Magisk","dashboard-version":"0.1.0-release","pulling-text":"Scroll down to refresh...","loosing-text":"Release to refresh...","loading-text":"Loading...","waiting-text":"Waiting...","success-text":"Success",tips:"Tips","confirm-text":"Confirm","ignore-text":"Don't show again",dashboard:"Dashboard",manage:"Panel",setting:"Setting",stdout:"Output"},Yy={version:"Version","version-module":"Module","version-dashboard":"Dashboard",status:"Status","status-get-failed":"Get status failed, an exception occurred.","status-core-pid":"Core Pid","status-core-status":"Core Status","status-core-status-stopped":"stopped","status-core-status-running":"running","status-core-type":"Core Type","status-method":"Proxy Method",tool:"Tool","tool-update-core":"Update Core","tool-update-adghome":"Update AdGuardHome","tool-update-geodata":"Update Geodata","tool-update-subscribe":"Update Subscribe","tool-update-yacd-meta":"Update Yacd-Meta","tool-update-metacubexd":"Update MetaCubeXD","tool-update-tun2socks":"Update Tun2socks","tool-switch":"Switch Clash Subscribe","tool-switch-success":"Switch success","tool-switch-failed":"Switch failed"},Wy={"not-support":"Not supporting the current core type.","no-more":"No more.","edit-custom":"Custom Node","rule-manage":"Route Rule","ruleset-manage":"Rule Set","dns-manage":"DNS Server","dnsrule-manage":"DNS Rule","more-setting":"Settings","load-balancing":"Balancer","load-switch-data-failed":"Load switch data failed, an exception occurred.",remarks:"Remarks",search:"Querying","placeholder-text":"Please enter an Remarks.","speedtest-failed":"The test failed and an exception occurred.","speedtest-reject":"Wait patiently until the test of other nodes is completed before continuing.","speedtest-all-warn":"All nodes will be tested soon to prevent the airport from being blocked! Use with caution. Confirm to continue?"},Hy={xrayhelper:"Config - XrayHelper","xrayhelper-core-type":"Core Type","xrayhelper-core-path":"Core Path","xrayhelper-core-config":"Core Config","xrayhelper-data-dir":"Data Dir","xrayhelper-run-dir":"Run Dir","xrayhelper-cpu-limit":"CPU Limit","xrayhelper-mem-limit":"Memory Limit","xrayhelper-proxy-tag":"Proxy Tag","xrayhelper-allow-insecure":"Allow Insecure","xrayhelper-sub-list":"Sub-List","xrayhelper-user-agent":"User-Agent",clash:"Config - Clash","clash-dns-port":"DNS Port","clash-template":"Template","panel-url":"Panel URL",adghome:"Config - AdGuardHome","adghome-enable":"Enable","adghome-address":"Address","adghome-work-dir":"Work Dir","adghome-dns-port":"DNS Port",proxy:"Config - Proxy","proxy-method":"Method","proxy-tproxy-port":"Tproxy Port","proxy-socks-port":"Socks Port","proxy-tun-device":"Tun Device","proxy-enable-ipv6":"Enable IPv6","proxy-auto-dns-strategy":"Auto DNS Strategy","proxy-mode":"Mode","proxy-pkg-list":"Pkg List","proxy-ap-list":"Ap List","proxy-ignore-list":"Ignore List","proxy-intra-list":"Intra List","cannot-get-config":"Cannot get XrayHelper config","running-warn":"Currently the core is running, it is highly recommended to stop it and disable proxy before edit","switch-core":"Detected core switching. Whether to synchronously switch to the default configuration?","core-not-found":"Detected that the current core does not exist. Do you want to start downloading now?","refresh-proxy":"The configuration file has been reloaded."},Vy=Object.freeze(Object.defineProperty({__proto__:null,common:zy,dashboard:Yy,manage:Wy,setting:Hy},Symbol.toStringTag,{value:"Module"})),Gr=xy({messages:{"zh-CN":{...$y},"en-US":{...Vy}}}),Gy="data:image/svg+xml;base64,PHN2ZyB0PSIxNzE3MTMxOTA1ODExIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjQ2MDEiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNMzIwIDg1LjMzMzMzM0MyNDMuNjI2NjY3IDEzNC40IDE5MiAyMjEuMDEzMzMzIDE5MiAzMjAgMTkyIDQxOC45ODY2NjcgMjQzLjYyNjY2NyA1MDUuNiAzMjEuMjggNTU0LjY2NjY2NyAxOTAuMjkzMzMzIDU1NC42NjY2NjcgODUuMzMzMzMzIDQ0OS43MDY2NjcgODUuMzMzMzMzIDMyMCA4NS4zMzMzMzMgMTkwLjI5MzMzMyAxOTAuMjkzMzMzIDg1LjMzMzMzMyAzMjAgODUuMzMzMzMzTTgxMy42NTMzMzMgMTQ5LjMzMzMzMyA4NzQuNjY2NjY3IDIxMC4zNDY2NjcgMjEwLjM0NjY2NyA4NzQuNjY2NjY3IDE0OS4zMzMzMzMgODEzLjY1MzMzMyA4MTMuNjUzMzMzIDE0OS4zMzMzMzNNNTQ5Ljk3MzMzMyAyNTMuMDEzMzMzIDQ4Ni44MjY2NjcgMjEzLjMzMzMzMyA0MjUuMzg2NjY3IDI1NiA0NDMuMzA2NjY3IDE4My40NjY2NjcgMzg0IDEzOC4yNCA0NTguNjY2NjY3IDEzMy4xMiA0ODMuNDEzMzMzIDYyLjcyIDUxMiAxMzIuMjY2NjY3IDU4NS44MTMzMzMgMTMzLjU0NjY2NyA1MjguMjEzMzMzIDE4MS43NiA1NDkuOTczMzMzIDI1My4wMTMzMzNNNDA5LjE3MzMzMyA0MDcuMDQgMzU5LjY4IDM3NS44OTMzMzMgMzExLjg5MzMzMyA0MDkuMTczMzMzIDMyNi40IDM1Mi44NTMzMzMgMjc5Ljg5MzMzMyAzMTcuNDQgMzM3LjkyIDMxMy42IDM1Ny4xMiAyNTguNTYgMzc4Ljg4IDMxMi43NDY2NjcgNDM2LjkwNjY2NyAzMTQuMDI2NjY3IDM5Mi4xMDY2NjcgMzUxLjE0NjY2NyA0MDkuMTczMzMzIDQwNy4wNE04MTAuNjY2NjY3IDU3NkM4MTAuNjY2NjY3IDcwNS43MDY2NjcgNzA1LjcwNjY2NyA4MTAuNjY2NjY3IDU3NiA4MTAuNjY2NjY3IDUyMy45NDY2NjcgODEwLjY2NjY2NyA0NzUuNzMzMzMzIDc5My42IDQzNi45MDY2NjcgNzY1LjAxMzMzM0w3NjUuMDEzMzMzIDQzNi45MDY2NjdDNzkzLjYgNDc1LjczMzMzMyA4MTAuNjY2NjY3IDUyMy45NDY2NjcgODEwLjY2NjY2NyA1NzZNNjIyLjkzMzMzMyA4NTYuNzQ2NjY3IDc0MS4xMiA4MDcuNjggNzMwLjg4IDk1MC42MTMzMzMgNjIyLjkzMzMzMyA4NTYuNzQ2NjY3TTgwNy42OCA3NDEuNTQ2NjY3IDg1Ni43NDY2NjcgNjIzLjM2IDk1MC42MTMzMzMgNzMxLjczMzMzMyA4MDcuNjggNzQxLjU0NjY2N004NTYuNzQ2NjY3IDUyOS45MiA4MDguMTA2NjY3IDQxMS4zMDY2NjcgOTUwLjYxMzMzMyA0MjEuNTQ2NjY3IDg1Ni43NDY2NjcgNTI5LjkyTTQxMC44OCA4MDcuNjggNTI5LjA2NjY2NyA4NTYuNzQ2NjY3IDQyMS4xMiA5NTAuMTg2NjY3IDQxMC44OCA4MDcuNjhaIiBwLWlkPSI0NjAyIiBmaWxsPSIjMTk4OWZhIj48L3BhdGg+PC9zdmc+",Ky="data:image/svg+xml;base64,PHN2ZyB0PSIxNzE3MTMyMzU2MTg3IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjkyMjAiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNODQ2LjA0IDg2Ni43N2MtMTcuMDggMi4wMy0zMi41Ny0xMC4xOC0zNC41OS0yNy4yNi0wLjIyLTEuOS0wLjI3LTMuODEtMC4xNS01Ljcxdi0xMjNjMC0zMy43My0yMi4xNy0zMy43My0zMC41My0zMy43My0yMS4yOC0wLjQ2LTM4LjkxIDE2LjQzLTM5LjM2IDM3LjcyLTAuMDEgMC40Ni0wLjAxIDAuOTIgMCAxLjM3djExNy42NmMtMC43NiAxOC45LTE2LjcxIDMzLjYxLTM1LjYxIDMyLjg0LTE3LjgzLTAuNzItMzIuMTItMTUuMDEtMzIuODQtMzIuODRWNjQ3LjY4Yy0xLjIzLTE3LjIzIDExLjc0LTMyLjE5IDI4Ljk3LTMzLjQxIDEuNjktMC4xMiAzLjM5LTAuMSA1LjA4IDAuMDVhMzEuOTUzIDMxLjk1MyAwIDAgMSAzMS4zMyAxNy43NiA4OS40MzUgODkuNDM1IDAgMCAxIDU0Ljk5LTE3Ljc2YzU0LjExIDAgODYuNDUgMzMuNTkgODYuNDUgOTAuMDNWODMzLjhhMzIuMjUgMzIuMjUgMCAwIDEtOC44OCAyMy43MiAzNC4wMjYgMzQuMDI2IDAgMCAxLTI0LjgyIDkuMzNsLTAuMDQtMC4wOHogbS0yMzMuMTItNy40NmgtMTM0LjdjLTQyLjc3IDAtNjEuODUtMTguOTYtNjEuODUtNjEuNTdWNjA4LjA3YzAtNDIuNTIgMTkuMDktNjEuNTcgNjEuODUtNjEuNTdoMTI4Ljc0YzE3LjkyIDAgMzIuNDUgMTQuNTMgMzIuNDUgMzIuNDVzLTE0LjUzIDMyLjQ1LTMyLjQ1IDMyLjQ1SDQ5MC43M2MtMS4yMi0wLjA4LTIuNDUgMC4wOS0zLjYgMC41IDAuMTMgMC0wLjE1IDAuOC0wLjE1IDIuODl2NTIuNThoMTA2YzE2LjMzLTEuNjYgMzAuOTEgMTAuMjQgMzIuNTcgMjYuNTcgMC4xNyAxLjY4IDAuMiAzLjM3IDAuMDggNS4wNiAwLjk4IDE2LjY2LTExLjczIDMwLjk3LTI4LjQgMzEuOTUtMS40MSAwLjA4LTIuODMgMC4wNy00LjI0LTAuMDVINDg2LjlWNzkxYy0wLjA0IDEuMDYgMC4wOCAyLjEzIDAuMzUgMy4xNSAxLjEyIDAuMTUgMi4yNSAwLjIzIDMuMzggMC4yNGgxMjIuMzFjMTYuOTYtMS4wNyAzMS41OCAxMS44MSAzMi42NSAyOC43NiAwLjA3IDEuMTYgMC4wOCAyLjMzIDAuMDIgMy41IDEuMzUgMTYuNjgtMTEuMDcgMzEuMy0yNy43NSAzMi42NS0xLjY0IDAuMTMtMy4yOCAwLjEzLTQuOTIgMGgtMC4wMnpNMzI3LjU0IDQ4Mi44NWMtMTcuMzYgMi4zNi0zMy4zNC05LjgtMzUuNy0yNy4xNi0wLjMtMi4yMS0wLjM3LTQuNDQtMC4yLTYuNjdWMzcwLjVoLTg1LjI3Yy00NS44NiAwLTY2LjMxLTIwLjUyLTY2LjMxLTY2LjMxdi05My44N2MwLTQ1LjU4IDIwLjUyLTY1LjkgNjYuMzEtNjUuOWg4NS4yN3YtMzEuNTNjLTEuMzgtMTcuMTEgMTEuMzctMzIuMTEgMjguNDgtMzMuNDkgMS45Mi0wLjE1IDMuODQtMC4xMyA1Ljc2IDAuMDcgMzAuMjYgMCAzNi42MyAxOC4xNyAzNi42MyAzMy40MnYzMS41OWg4Ni4wOWM0NS44NiAwIDY2LjMzIDIwLjM0IDY2LjMzIDY1Ljg4djkzLjg5YzAgNDUuODYtMjAuNTIgNjYuMjktNjYuMzMgNjYuMjloLTg2LjA1djc4LjUyYzEuMjUgMTcuNDctMTEuOSAzMi42NS0yOS4zNyAzMy45MS0xLjg4IDAuMTMtMy43NiAwLjEtNS42My0wLjF2LTAuMDJ6TTIxNy4yMSAyMTEuMjdjLTYuNDcgMC03LjA3IDAuNi03LjA3IDcuMDd2NzguMmMwIDYuNTMgMC42IDcuMTUgNy4wNyA3LjE1aDc0LjQzdi05Mi40MmgtNzQuNDN6IG0xNDUuMzUgOTIuMzhoNzUuMjljNi4yOSAwIDcuMDktMC44IDcuMDktNy4wN3YtNzguMjVjMC02LjI5LTAuOC03LjA5LTcuMDktNy4wOWgtNzUuMzF2OTIuNDJoMC4wMnogbTE1MS40MiA2NTUuOTFDMjY2LjQzIDk1OC44MiA2Ni4zNiA3NTcuNTUgNjcuMSA1MTBjMC4xLTM1IDQuMzEtNjkuODYgMTIuNTItMTAzLjg4IDQuODEtMTkgMjMuOTItMzAuNjggNDMuMDMtMjYuMjkgMTkuMSA0LjYxIDMwLjg2IDIzLjgxIDI2LjI5IDQyLjkxLTQ4LjkzIDIwMi4zMyA3NS40MiA0MDYuMDEgMjc3Ljc1IDQ1NC45NGEzNzYuOTI0IDM3Ni45MjQgMCAwIDAgODcuMjkgMTAuNTZjMTkuNjkgMC4wMiAzNS42NCAxNS45OSAzNS42MyAzNS42OS0wLjAyIDE5LjY3LTE1Ljk2IDM1LjYxLTM1LjYzIDM1LjYzeiBtMzk4LjQ5LTMxMC4wNWMtMTkuNjkgMC0zNS42Ni0xNS45Ni0zNS42Ni0zNS42NSAwLTIuOTUgMC4zNy01LjkgMS4wOS04Ljc2IDUxLjMxLTIwMS44Mi03MC43LTQwNy4wMi0yNzIuNTItNDU4LjMzLTI5Ljg5LTcuNi02MC41OS0xMS41LTkxLjQzLTExLjYyLTE5LjY4IDAtMzUuNjQtMTUuOTUtMzUuNjQtMzUuNjMgMC0xOS42OCAxNS45NS0zNS42NCAzNS42My0zNS42NGgwLjAxYzI0Ny41NyAwLjc2IDQ0Ny42NSAyMDIuMDggNDQ2Ljg5IDQ0OS42NS0wLjExIDM2LjgtNC43NiA3My40NC0xMy44MyAxMDkuMS00IDE1LjgtMTguMjMgMjYuODgtMzQuNTQgMjYuODh6IiBmaWxsPSIjMTk4OWZhIiBwLWlkPSI5MjIxIj48L3BhdGg+PC9zdmc+",Qy={__name:"App",setup(e){const t=Me(!0),n=Me(),r=[{text:"English(US)",value:"en-US"},{text:"中文(简体)",value:"zh-CN"}],i=c=>{Gr.global.locale=c.value,localStorage.setItem("locale",c.value)},o=()=>{t.value=!t.value,localStorage.setItem("theme",t.value)},s=()=>{as("settings get secure ui_night_mode").then(f=>{f==="1"?t.value=!0:f==="2"&&(t.value=!1),localStorage.setItem("theme",t.value)});const c=localStorage.getItem("theme");typeof c<"u"&&c!=null&&(t.value=JSON.parse(c))},a=()=>{const c=localStorage.getItem("locale");if(typeof c<"u"&&c!=null){Gr.global.locale=c;return}let f;switch(navigator.language){case"en":f="en-US";break;case"zh-CN":f="zh-CN";break;default:f="en-US"}Gr.global.locale=f,localStorage.setItem("locale",f)};return s(),a(),(c,f)=>{const d=Lr,p=Tm,m=Ap,_=Hf("router-view"),L=Dm,A=Lm,P=Ip;return lo(),co(P,{theme:t.value?"light":"dark"},{default:It(()=>[ee(m,{title:c.$t("common.module-name"),placeholder:"",fixed:""},{left:It(()=>[ee(d,{size:"1.2rem",onClick:o,name:Gy})]),right:It(()=>[ee(p,{class:"localeIcon",actions:r,onSelect:i,placement:"bottom-end"},{reference:It(()=>[ee(d,{size:"1.2rem",name:Ky})]),_:1})]),_:1},8,["title"]),ee(_,null,{default:It(({Component:M})=>[(lo(),co(Vf(M),{ref_key:"routerViewRef",ref:n,theme:t.value},null,8,["theme"]))]),_:1}),ee(A,{route:"",placeholder:""},{default:It(()=>[ee(L,{replace:"",to:"/",icon:"home-o"},{default:It(()=>[Yr(Ur(c.$t("common.dashboard")),1)]),_:1}),ee(L,{replace:"",to:"/manage",icon:"apps-o"},{default:It(()=>[Yr(Ur(c.$t("common.manage")),1)]),_:1}),ee(L,{replace:"",to:"/setting",icon:"setting-o"},{default:It(()=>[Yr(Ur(c.$t("common.setting")),1)]),_:1})]),_:1})]),_:1},8,["theme"])}}},Xy="modulepreload",qy=function(e){return"/"+e},qa={},Vi=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.allSettled(n.map(c=>{if(c=qy(c),c in qa)return;qa[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":Xy,f||(p.as="script"),p.crossOrigin="",p.href=c,a&&p.setAttribute("nonce",a),document.head.appendChild(p),f)return new Promise((m,_)=>{p.addEventListener("load",m),p.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return i.then(s=>{for(const a of s||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};/*!
  * vue-router v4.4.5
  * (c) 2024 Eduardo San Martin Morote
  * @license MIT
  */const Ln=typeof document<"u";function Au(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Jy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Au(e.default)}const be=Object.assign;function Gi(e,t){const n={};for(const r in t){const i=t[r];n[r]=Et(i)?i.map(e):e(i)}return n}const sr=()=>{},Et=Array.isArray,Lu=/#/g,Zy=/&/g,e0=/\//g,t0=/=/g,n0=/\?/g,Su=/\+/g,r0=/%5B/g,i0=/%5D/g,Cu=/%5E/g,o0=/%60/g,Ou=/%7B/g,s0=/%7C/g,Du=/%7D/g,a0=/%20/g;function ys(e){return encodeURI(""+e).replace(s0,"|").replace(r0,"[").replace(i0,"]")}function l0(e){return ys(e).replace(Ou,"{").replace(Du,"}").replace(Cu,"^")}function Lo(e){return ys(e).replace(Su,"%2B").replace(a0,"+").replace(Lu,"%23").replace(Zy,"%26").replace(o0,"`").replace(Ou,"{").replace(Du,"}").replace(Cu,"^")}function c0(e){return Lo(e).replace(t0,"%3D")}function u0(e){return ys(e).replace(Lu,"%23").replace(n0,"%3F")}function f0(e){return e==null?"":u0(e).replace(e0,"%2F")}function br(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const d0=/\/$/,h0=e=>e.replace(d0,"");function Ki(e,t,n="/"){let r,i={},o="",s="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),i=e(o)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=y0(r??t,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:br(s)}}function p0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ja(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function m0(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&$n(t.matched[r],n.matched[i])&&Ru(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function $n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ru(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!g0(e[n],t[n]))return!1;return!0}function g0(e,t){return Et(e)?Za(e,t):Et(t)?Za(t,e):e===t}function Za(e,t){return Et(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function y0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,s,a;for(s=0;s<r.length;s++)if(a=r[s],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s).join("/")}const Kt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var vr;(function(e){e.pop="pop",e.push="push"})(vr||(vr={}));var ar;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ar||(ar={}));function _0(e){if(!e)if(Ln){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),h0(e)}const E0=/^[^#]+#/;function b0(e,t){return e.replace(E0,"#")+t}function v0(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ti=()=>({left:window.scrollX,top:window.scrollY});function M0(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=v0(i,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 el(e,t){return(history.state?history.state.position-t:-1)+e}const So=new Map;function w0(e,t){So.set(e,t)}function I0(e){const t=So.get(e);return So.delete(e),t}let N0=()=>location.protocol+"//"+location.host;function Pu(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let a=i.includes(e.slice(o))?e.slice(o).length:1,c=i.slice(a);return c[0]!=="/"&&(c="/"+c),Ja(c,"")}return Ja(n,e)+r+i}function T0(e,t,n,r){let i=[],o=[],s=null;const a=({state:m})=>{const _=Pu(e,location),L=n.value,A=t.value;let P=0;if(m){if(n.value=_,t.value=m,s&&s===L){s=null;return}P=A?m.position-A.position:0}else r(_);i.forEach(M=>{M(n.value,L,{delta:P,type:vr.pop,direction:P?P>0?ar.forward:ar.back:ar.unknown})})};function c(){s=n.value}function f(m){i.push(m);const _=()=>{const L=i.indexOf(m);L>-1&&i.splice(L,1)};return o.push(_),_}function d(){const{history:m}=window;m.state&&m.replaceState(be({},m.state,{scroll:Ti()}),"")}function p(){for(const m of o)m();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:c,listen:f,destroy:p}}function tl(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Ti():null}}function x0(e){const{history:t,location:n}=window,r={value:Pu(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,f,d){const p=e.indexOf("#"),m=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:N0()+e+c;try{t[d?"replaceState":"pushState"](f,"",m),i.value=f}catch(_){console.error(_),n[d?"replace":"assign"](m)}}function s(c,f){const d=be({},t.state,tl(i.value.back,c,i.value.forward,!0),f,{position:i.value.position});o(c,d,!0),r.value=c}function a(c,f){const d=be({},i.value,t.state,{forward:c,scroll:Ti()});o(d.current,d,!0);const p=be({},tl(r.value,c,null),{position:d.position+1},f);o(c,p,!1),r.value=c}return{location:r,state:i,push:a,replace:s}}function A0(e){e=_0(e);const t=x0(e),n=T0(e,t.state,t.location,t.replace);function r(o,s=!0){s||n.pauseListeners(),history.go(o)}const i=be({location:"",base:e,go:r,createHref:b0.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function L0(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),A0(e)}function S0(e){return typeof e=="string"||e&&typeof e=="object"}function ku(e){return typeof e=="string"||typeof e=="symbol"}const ju=Symbol("");var nl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(nl||(nl={}));function zn(e,t){return be(new Error,{type:e,[ju]:!0},t)}function Dt(e,t){return e instanceof Error&&ju in e&&(t==null||!!(e.type&t))}const rl="[^/]+?",C0={sensitive:!1,strict:!1,start:!0,end:!0},O0=/[.+*?^${}()[\]/\\]/g;function D0(e,t){const n=be({},C0,t),r=[];let i=n.start?"^":"";const o=[];for(const f of e){const d=f.length?[]:[90];n.strict&&!f.length&&(i+="/");for(let p=0;p<f.length;p++){const m=f[p];let _=40+(n.sensitive?.25:0);if(m.type===0)p||(i+="/"),i+=m.value.replace(O0,"\\$&"),_+=40;else if(m.type===1){const{value:L,repeatable:A,optional:P,regexp:M}=m;o.push({name:L,repeatable:A,optional:P});const I=M||rl;if(I!==rl){_+=10;try{new RegExp(`(${I})`)}catch(T){throw new Error(`Invalid custom RegExp for param "${L}" (${I}): `+T.message)}}let S=A?`((?:${I})(?:/(?:${I}))*)`:`(${I})`;p||(S=P&&f.length<2?`(?:/${S})`:"/"+S),P&&(S+="?"),i+=S,_+=20,P&&(_+=-8),A&&(_+=-20),I===".*"&&(_+=-50)}d.push(_)}r.push(d)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const s=new RegExp(i,n.sensitive?"":"i");function a(f){const d=f.match(s),p={};if(!d)return null;for(let m=1;m<d.length;m++){const _=d[m]||"",L=o[m-1];p[L.name]=_&&L.repeatable?_.split("/"):_}return p}function c(f){let d="",p=!1;for(const m of e){(!p||!d.endsWith("/"))&&(d+="/"),p=!1;for(const _ of m)if(_.type===0)d+=_.value;else if(_.type===1){const{value:L,repeatable:A,optional:P}=_,M=L in f?f[L]:"";if(Et(M)&&!A)throw new Error(`Provided param "${L}" is an array but it is not repeatable (* or + modifiers)`);const I=Et(M)?M.join("/"):M;if(!I)if(P)m.length<2&&(d.endsWith("/")?d=d.slice(0,-1):p=!0);else throw new Error(`Missing required param "${L}"`);d+=I}}return d||"/"}return{re:s,score:r,keys:o,parse:a,stringify:c}}function R0(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Fu(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const o=R0(r[n],i[n]);if(o)return o;n++}if(Math.abs(i.length-r.length)===1){if(il(r))return 1;if(il(i))return-1}return i.length-r.length}function il(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const P0={type:0,value:""},k0=/[a-zA-Z0-9_]/;function j0(e){if(!e)return[[]];if(e==="/")return[[P0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${n})/"${f}": ${_}`)}let n=0,r=n;const i=[];let o;function s(){o&&i.push(o),o=[]}let a=0,c,f="",d="";function p(){f&&(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function m(){f+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(f&&p(),s()):c===":"?(p(),n=1):m();break;case 4:m(),n=r;break;case 1:c==="("?n=2:k0.test(c)?m():(p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+c:n=3:d+=c;break;case 3:p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),p(),s(),i}function F0(e,t,n){const r=D0(j0(e.path),n),i=be(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function B0(e,t){const n=[],r=new Map;t=ll({strict:!1,end:!0,sensitive:!1},t);function i(p){return r.get(p)}function o(p,m,_){const L=!_,A=sl(p);A.aliasOf=_&&_.record;const P=ll(t,p),M=[A];if("alias"in p){const T=typeof p.alias=="string"?[p.alias]:p.alias;for(const F of T)M.push(sl(be({},A,{components:_?_.record.components:A.components,path:F,aliasOf:_?_.record:A})))}let I,S;for(const T of M){const{path:F}=T;if(m&&F[0]!=="/"){const R=m.record.path,k=R[R.length-1]==="/"?"":"/";T.path=m.record.path+(F&&k+F)}if(I=F0(T,m,P),_?_.alias.push(I):(S=S||I,S!==I&&S.alias.push(I),L&&p.name&&!al(I)&&s(p.name)),Bu(I)&&c(I),A.children){const R=A.children;for(let k=0;k<R.length;k++)o(R[k],I,_&&_.children[k])}_=_||I}return S?()=>{s(S)}:sr}function s(p){if(ku(p)){const m=r.get(p);m&&(r.delete(p),n.splice(n.indexOf(m),1),m.children.forEach(s),m.alias.forEach(s))}else{const m=n.indexOf(p);m>-1&&(n.splice(m,1),p.record.name&&r.delete(p.record.name),p.children.forEach(s),p.alias.forEach(s))}}function a(){return n}function c(p){const m=z0(p,n);n.splice(m,0,p),p.record.name&&!al(p)&&r.set(p.record.name,p)}function f(p,m){let _,L={},A,P;if("name"in p&&p.name){if(_=r.get(p.name),!_)throw zn(1,{location:p});P=_.record.name,L=be(ol(m.params,_.keys.filter(S=>!S.optional).concat(_.parent?_.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),p.params&&ol(p.params,_.keys.map(S=>S.name))),A=_.stringify(L)}else if(p.path!=null)A=p.path,_=n.find(S=>S.re.test(A)),_&&(L=_.parse(A),P=_.record.name);else{if(_=m.name?r.get(m.name):n.find(S=>S.re.test(m.path)),!_)throw zn(1,{location:p,currentLocation:m});P=_.record.name,L=be({},m.params,p.params),A=_.stringify(L)}const M=[];let I=_;for(;I;)M.unshift(I.record),I=I.parent;return{name:P,path:A,params:L,matched:M,meta:$0(M)}}e.forEach(p=>o(p));function d(){n.length=0,r.clear()}return{addRoute:o,resolve:f,removeRoute:s,clearRoutes:d,getRoutes:a,getRecordMatcher:i}}function ol(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function sl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:U0(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 U0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function al(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $0(e){return e.reduce((t,n)=>be(t,n.meta),{})}function ll(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function z0(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Fu(e,t[o])<0?r=o:n=o+1}const i=Y0(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function Y0(e){let t=e;for(;t=t.parent;)if(Bu(t)&&Fu(e,t)===0)return t}function Bu({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function W0(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const o=r[i].replace(Su," "),s=o.indexOf("="),a=br(s<0?o:o.slice(0,s)),c=s<0?null:br(o.slice(s+1));if(a in t){let f=t[a];Et(f)||(f=t[a]=[f]),f.push(c)}else t[a]=c}return t}function cl(e){let t="";for(let n in e){const r=e[n];if(n=c0(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Et(r)?r.map(o=>o&&Lo(o)):[r&&Lo(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function H0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Et(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const V0=Symbol(""),ul=Symbol(""),_s=Symbol(""),Uu=Symbol(""),Co=Symbol("");function Xn(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Jt(e,t,n,r,i,o=s=>s()){const s=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,c)=>{const f=m=>{m===!1?c(zn(4,{from:n,to:t})):m instanceof Error?c(m):S0(m)?c(zn(2,{from:t,to:m})):(s&&r.enterCallbacks[i]===s&&typeof m=="function"&&s.push(m),a())},d=o(()=>e.call(r&&r.instances[i],t,n,f));let p=Promise.resolve(d);e.length<3&&(p=p.then(f)),p.catch(m=>c(m))})}function Qi(e,t,n,r,i=o=>o()){const o=[];for(const s of e)for(const a in s.components){let c=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(Au(c)){const d=(c.__vccOpts||c)[t];d&&o.push(Jt(d,n,r,s,a,i))}else{let f=c();o.push(()=>f.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${a}" at "${s.path}"`);const p=Jy(d)?d.default:d;s.mods[a]=d,s.components[a]=p;const _=(p.__vccOpts||p)[t];return _&&Jt(_,n,r,s,a,i)()}))}}return o}function fl(e){const t=et(_s),n=et(Uu),r=Ce(()=>{const c=gt(e.to);return t.resolve(c)}),i=Ce(()=>{const{matched:c}=r.value,{length:f}=c,d=c[f-1],p=n.matched;if(!d||!p.length)return-1;const m=p.findIndex($n.bind(null,d));if(m>-1)return m;const _=dl(c[f-2]);return f>1&&dl(d)===_&&p[p.length-1].path!==_?p.findIndex($n.bind(null,c[f-2])):m}),o=Ce(()=>i.value>-1&&X0(n.params,r.value.params)),s=Ce(()=>i.value>-1&&i.value===n.matched.length-1&&Ru(n.params,r.value.params));function a(c={}){return Q0(c)?t[gt(e.replace)?"replace":"push"](gt(e.to)).catch(sr):Promise.resolve()}return{route:r,href:Ce(()=>r.value.href),isActive:o,isExactActive:s,navigate:a}}const G0=rt({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"}},useLink:fl,setup(e,{slots:t}){const n=vn(fl(e)),{options:r}=et(_s),i=Ce(()=>({[hl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[hl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ar("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),K0=G0;function Q0(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 X0(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Et(i)||i.length!==r.length||r.some((o,s)=>o!==i[s]))return!1}return!0}function dl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const hl=(e,t,n)=>e??t??n,q0=rt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=et(Co),i=Ce(()=>e.route||r.value),o=et(ul,0),s=Ce(()=>{let f=gt(o);const{matched:d}=i.value;let p;for(;(p=d[f])&&!p.components;)f++;return f}),a=Ce(()=>i.value.matched[s.value]);En(ul,Ce(()=>s.value+1)),En(V0,a),En(Co,i);const c=Me();return Re(()=>[c.value,a.value,e.name],([f,d,p],[m,_,L])=>{d&&(d.instances[p]=f,_&&_!==d&&f&&f===m&&(d.leaveGuards.size||(d.leaveGuards=_.leaveGuards),d.updateGuards.size||(d.updateGuards=_.updateGuards))),f&&d&&(!_||!$n(d,_)||!m)&&(d.enterCallbacks[p]||[]).forEach(A=>A(f))},{flush:"post"}),()=>{const f=i.value,d=e.name,p=a.value,m=p&&p.components[d];if(!m)return pl(n.default,{Component:m,route:f});const _=p.props[d],L=_?_===!0?f.params:typeof _=="function"?_(f):_:null,P=Ar(m,be({},L,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(p.instances[d]=null)},ref:c}));return pl(n.default,{Component:P,route:f})||P}}});function pl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const J0=q0;function Z0(e){const t=B0(e.routes,e),n=e.parseQuery||W0,r=e.stringifyQuery||cl,i=e.history,o=Xn(),s=Xn(),a=Xn(),c=Ul(Kt);let f=Kt;Ln&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Gi.bind(null,z=>""+z),p=Gi.bind(null,f0),m=Gi.bind(null,br);function _(z,K){let G,J;return ku(z)?(G=t.getRecordMatcher(z),J=K):J=z,t.addRoute(J,G)}function L(z){const K=t.getRecordMatcher(z);K&&t.removeRoute(K)}function A(){return t.getRoutes().map(z=>z.record)}function P(z){return!!t.getRecordMatcher(z)}function M(z,K){if(K=be({},K||c.value),typeof z=="string"){const v=Ki(n,z,K.path),O=t.resolve({path:v.path},K),Y=i.createHref(v.fullPath);return be(v,O,{params:m(O.params),hash:br(v.hash),redirectedFrom:void 0,href:Y})}let G;if(z.path!=null)G=be({},z,{path:Ki(n,z.path,K.path).path});else{const v=be({},z.params);for(const O in v)v[O]==null&&delete v[O];G=be({},z,{params:p(v)}),K.params=p(K.params)}const J=t.resolve(G,K),ce=z.hash||"";J.params=d(m(J.params));const ye=p0(r,be({},z,{hash:l0(ce),path:J.path})),E=i.createHref(ye);return be({fullPath:ye,hash:ce,query:r===cl?H0(z.query):z.query||{}},J,{redirectedFrom:void 0,href:E})}function I(z){return typeof z=="string"?Ki(n,z,c.value.path):be({},z)}function S(z,K){if(f!==z)return zn(8,{from:K,to:z})}function T(z){return k(z)}function F(z){return T(be(I(z),{replace:!0}))}function R(z){const K=z.matched[z.matched.length-1];if(K&&K.redirect){const{redirect:G}=K;let J=typeof G=="function"?G(z):G;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=I(J):{path:J},J.params={}),be({query:z.query,hash:z.hash,params:J.path!=null?{}:z.params},J)}}function k(z,K){const G=f=M(z),J=c.value,ce=z.state,ye=z.force,E=z.replace===!0,v=R(G);if(v)return k(be(I(v),{state:typeof v=="object"?be({},ce,v.state):ce,force:ye,replace:E}),K||G);const O=G;O.redirectedFrom=K;let Y;return!ye&&m0(r,J,G)&&(Y=zn(16,{to:O,from:J}),fe(J,J,!0,!1)),(Y?Promise.resolve(Y):Z(O,J)).catch($=>Dt($)?Dt($,2)?$:We($):le($,O,J)).then($=>{if($){if(Dt($,2))return k(be({replace:E},I($.to),{state:typeof $.to=="object"?be({},ce,$.to.state):ce,force:ye}),K||O)}else $=V(O,J,!0,E,ce);return te(O,J,$),$})}function q(z,K){const G=S(z,K);return G?Promise.reject(G):Promise.resolve()}function H(z){const K=ot.values().next().value;return K&&typeof K.runWithContext=="function"?K.runWithContext(z):z()}function Z(z,K){let G;const[J,ce,ye]=e_(z,K);G=Qi(J.reverse(),"beforeRouteLeave",z,K);for(const v of J)v.leaveGuards.forEach(O=>{G.push(Jt(O,z,K))});const E=q.bind(null,z,K);return G.push(E),ke(G).then(()=>{G=[];for(const v of o.list())G.push(Jt(v,z,K));return G.push(E),ke(G)}).then(()=>{G=Qi(ce,"beforeRouteUpdate",z,K);for(const v of ce)v.updateGuards.forEach(O=>{G.push(Jt(O,z,K))});return G.push(E),ke(G)}).then(()=>{G=[];for(const v of ye)if(v.beforeEnter)if(Et(v.beforeEnter))for(const O of v.beforeEnter)G.push(Jt(O,z,K));else G.push(Jt(v.beforeEnter,z,K));return G.push(E),ke(G)}).then(()=>(z.matched.forEach(v=>v.enterCallbacks={}),G=Qi(ye,"beforeRouteEnter",z,K,H),G.push(E),ke(G))).then(()=>{G=[];for(const v of s.list())G.push(Jt(v,z,K));return G.push(E),ke(G)}).catch(v=>Dt(v,8)?v:Promise.reject(v))}function te(z,K,G){a.list().forEach(J=>H(()=>J(z,K,G)))}function V(z,K,G,J,ce){const ye=S(z,K);if(ye)return ye;const E=K===Kt,v=Ln?history.state:{};G&&(J||E?i.replace(z.fullPath,be({scroll:E&&v&&v.scroll},ce)):i.push(z.fullPath,ce)),c.value=z,fe(z,K,G,E),We()}let re;function Te(){re||(re=i.listen((z,K,G)=>{if(!vt.listening)return;const J=M(z),ce=R(J);if(ce){k(be(ce,{replace:!0}),J).catch(sr);return}f=J;const ye=c.value;Ln&&w0(el(ye.fullPath,G.delta),Ti()),Z(J,ye).catch(E=>Dt(E,12)?E:Dt(E,2)?(k(E.to,J).then(v=>{Dt(v,20)&&!G.delta&&G.type===vr.pop&&i.go(-1,!1)}).catch(sr),Promise.reject()):(G.delta&&i.go(-G.delta,!1),le(E,J,ye))).then(E=>{E=E||V(J,ye,!1),E&&(G.delta&&!Dt(E,8)?i.go(-G.delta,!1):G.type===vr.pop&&Dt(E,20)&&i.go(-1,!1)),te(J,ye,E)}).catch(sr)}))}let Be=Xn(),we=Xn(),ue;function le(z,K,G){We(z);const J=we.list();return J.length?J.forEach(ce=>ce(z,K,G)):console.error(z),Promise.reject(z)}function De(){return ue&&c.value!==Kt?Promise.resolve():new Promise((z,K)=>{Be.add([z,K])})}function We(z){return ue||(ue=!z,Te(),Be.list().forEach(([K,G])=>z?G(z):K()),Be.reset()),z}function fe(z,K,G,J){const{scrollBehavior:ce}=e;if(!Ln||!ce)return Promise.resolve();const ye=!G&&I0(el(z.fullPath,0))||(J||!G)&&history.state&&history.state.scroll||null;return wn().then(()=>ce(z,K,ye)).then(E=>E&&M0(E)).catch(E=>le(E,z,K))}const de=z=>i.go(z);let it;const ot=new Set,vt={currentRoute:c,listening:!0,addRoute:_,removeRoute:L,clearRoutes:t.clearRoutes,hasRoute:P,getRoutes:A,resolve:M,options:e,push:T,replace:F,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:we.add,isReady:De,install(z){const K=this;z.component("RouterLink",K0),z.component("RouterView",J0),z.config.globalProperties.$router=K,Object.defineProperty(z.config.globalProperties,"$route",{enumerable:!0,get:()=>gt(c)}),Ln&&!it&&c.value===Kt&&(it=!0,T(i.location).catch(ce=>{}));const G={};for(const ce in Kt)Object.defineProperty(G,ce,{get:()=>c.value[ce],enumerable:!0});z.provide(_s,K),z.provide(Uu,Fl(G)),z.provide(Co,c);const J=z.unmount;ot.add(z),z.unmount=function(){ot.delete(z),ot.size<1&&(f=Kt,re&&re(),re=null,c.value=Kt,it=!1,ue=!1),J()}}};function ke(z){return z.reduce((K,G)=>K.then(()=>H(G)),Promise.resolve())}return vt}function e_(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;s<o;s++){const a=t.matched[s];a&&(e.matched.find(f=>$n(f,a))?r.push(a):n.push(a));const c=e.matched[s];c&&(t.matched.find(f=>$n(f,c))||i.push(c))}return[n,r,i]}const t_=[{path:"/",component:()=>Vi(()=>import("./Dashboard-Cur849fl.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]))},{path:"/setting",component:()=>Vi(()=>import("./Setting-DOBHW9Pi.js"),__vite__mapDeps([8,1,2,9,10,3,4,11]))},{path:"/manage",component:()=>Vi(()=>import("./Manage-CNi7CHui.js"),__vite__mapDeps([12,1,2,9,10,5,6,13]))}],n_=Z0({history:L0(),routes:t_});window.apatch!==void 0&&window.apatch.ksu===void 0&&(window.ksu=window.apatch);lh(Qy).use(Gr).use(n_).mount("#app");export{sn as $,xc as A,Kl as B,Rc as C,Yr as D,Ur as E,o_ as F,i_ as G,r_ as H,Lr as I,qe as J,A_ as K,Mp as L,T_ as M,I_ as N,N_ as O,Tm as P,u_ as Q,vn as R,dp as S,Jo as T,wn as U,d_ as V,Bc as W,uu as X,Oc as Y,mo as Z,Zo as _,f_ as a,pi as a0,wr as a1,ql as a2,ei as a3,Fc as a4,gt as a5,os as a6,Ap as a7,Je as a8,Tr as a9,Uf as aA,_h as aB,p_ as aC,m_ as aD,b_ as aE,Nr as aF,c_ as aG,lh as aH,go as aI,Wh as aJ,Hc as aa,Kh as ab,Xh as ac,Gh as ad,pt as ae,et as af,Ah as ag,Lh as ah,_i as ai,dh as aj,ho as ak,En as al,v_ as am,In as an,a_ as ao,y_ as ap,g_ as aq,xh as ar,h_ as as,Xc as at,M_ as au,s_ as av,fh as aw,E_ as ax,__ as ay,Yc as az,ee as b,zt as c,rt as d,qo as e,Yt as f,Yn as g,Ce as h,xt as i,Eh as j,kn as k,lt as l,l_ as m,tt as n,gh as o,ph as p,Gr as q,Me as r,co as s,Ke as t,Mh as u,as as v,Re as w,x_ as x,lo as y,It as z};
