@vtechcom/hexcore 2.0.0-beta.1 → 2.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -2
- package/README.md +6 -3
- package/dist/cli/hexcore.js +113 -0
- package/dist/cli/hexcore.js.map +1 -1
- package/dist/config.js +1 -1
- package/dist/hydra/argv.js +10 -0
- package/dist/hydra/argv.js.map +1 -1
- package/dist/hydra/capabilities.js +3 -0
- package/dist/hydra/capabilities.js.map +1 -1
- package/node_modules/@hexcore/shared/dist/cjs/hydra-versions.d.ts +12 -6
- package/node_modules/@hexcore/shared/dist/cjs/hydra-versions.d.ts.map +1 -1
- package/node_modules/@hexcore/shared/dist/cjs/hydra-versions.js +119 -38
- package/node_modules/@hexcore/shared/dist/cjs/hydra-versions.js.map +1 -1
- package/node_modules/@hexcore/shared/dist/esm/hydra-versions.js +119 -38
- package/node_modules/@hexcore/shared/dist/esm/hydra-versions.js.map +1 -1
- package/package.json +2 -2
- package/web/200.html +20 -18
- package/web/404.html +20 -18
- package/web/_nuxt/{DgDlQiDU.js → B-lS44p0.js} +1 -1
- package/web/_nuxt/{CqsSss-D.js → B1NtJEdQ.js} +1 -1
- package/web/_nuxt/B1ZAR7mP.js +1 -0
- package/web/_nuxt/BFc_bxHc.js +1 -0
- package/web/_nuxt/BGGQYvrr.js +1 -0
- package/web/_nuxt/BPQ3VLAy.js +1 -0
- package/web/_nuxt/BV_QiRi8.js +1 -0
- package/web/_nuxt/BW_3NqYy.js +1 -0
- package/web/_nuxt/B_DikKgJ.js +1 -0
- package/web/_nuxt/B_Vrwblg.js +1 -0
- package/web/_nuxt/Bbbbx_yO.js +1 -0
- package/web/_nuxt/BeS-yS0C.js +1 -0
- package/web/_nuxt/{Onf26W-r.js → BfFJ09wD.js} +1 -1
- package/web/_nuxt/{rhEiP908.js → Bj1gglGt.js} +1 -1
- package/web/_nuxt/BkRxDbrA.js +1 -0
- package/web/_nuxt/Bmqx7s9K.js +1 -0
- package/web/_nuxt/BnZUk6sk.js +1 -0
- package/web/_nuxt/BqoV-QnQ.js +3 -0
- package/web/_nuxt/Bv47q1hu.js +1 -0
- package/web/_nuxt/Bz1eTnxX.js +1 -0
- package/web/_nuxt/{CkCrahXt.js → CAfY3dDF.js} +1 -1
- package/web/_nuxt/CBchb2Up.js +1 -0
- package/web/_nuxt/CEGGvSzA.js +1 -0
- package/web/_nuxt/CG6Dc4jp.js +1 -0
- package/web/_nuxt/{LGfPBi70.js → CH5xbifj.js} +1 -1
- package/web/_nuxt/CZFMOWPc.js +1 -0
- package/web/_nuxt/C_n__rkq.js +1 -0
- package/web/_nuxt/CaWYVaRD.js +1 -0
- package/web/_nuxt/ChS5Np24.js +1 -0
- package/web/_nuxt/Cp-IABpG.js +1 -0
- package/web/_nuxt/Cuk6v7N8.js +1 -0
- package/web/_nuxt/CzTJPvyS.js +1 -0
- package/web/_nuxt/D-Stn6KG.js +1 -0
- package/web/_nuxt/D7oLnXFd.js +1 -0
- package/web/_nuxt/DAHap_t6.js +1 -0
- package/web/_nuxt/DBL-cQio.js +1 -0
- package/web/_nuxt/DIi866IK.js +7 -0
- package/web/_nuxt/DMl_I_aT.js +1 -0
- package/web/_nuxt/Dd34_EaM.js +1 -0
- package/web/_nuxt/DlAUqK2U.js +1 -0
- package/web/_nuxt/DlHvzKYz.js +1 -0
- package/web/_nuxt/DmF-LwQa.js +1 -0
- package/web/_nuxt/DmPn-vCY.js +1 -0
- package/web/_nuxt/DsttYulo.js +1 -0
- package/web/_nuxt/{DL9i0ayn.js → DybEwxe5.js} +1 -1
- package/web/_nuxt/JXuauuVw.js +41 -0
- package/web/_nuxt/Yzrsuije.js +1 -0
- package/web/_nuxt/builds/latest.json +1 -1
- package/web/_nuxt/builds/meta/5b0a342e-aa78-42e7-89fa-ee280f32f47a.json +1 -0
- package/web/_nuxt/dhmyGJu2.js +1 -0
- package/web/_nuxt/entry.Q53uGRvC.css +1 -0
- package/web/_nuxt/error-404.DL126m4x.css +1 -0
- package/web/_nuxt/error-500.BUVIYHmG.css +1 -0
- package/web/_nuxt/{YUGC0nt0.js → hza_YA5H.js} +1 -1
- package/web/_nuxt/index.D8biniUe.css +1 -0
- package/web/_nuxt/vzCX1O3u.js +1 -0
- package/web/_nuxt/{CZK6xUH-.js → yhvT770r.js} +1 -1
- package/web/heads/index.html +20 -18
- package/web/heads/new/index.html +20 -18
- package/web/index.html +20 -18
- package/web/login/index.html +20 -18
- package/web/settings/index.html +20 -18
- package/web/setup/index.html +20 -18
- package/web/_nuxt/2MxohCD-.js +0 -1
- package/web/_nuxt/4pFXjB_u.js +0 -1
- package/web/_nuxt/B-v0dEQX.js +0 -1
- package/web/_nuxt/B4yE3U25.js +0 -1
- package/web/_nuxt/BFh8Ai0L.js +0 -1
- package/web/_nuxt/BgPn4NJH.js +0 -1
- package/web/_nuxt/Bj1xviSh.js +0 -1
- package/web/_nuxt/BnotlrL7.js +0 -1
- package/web/_nuxt/C1YRg2ic.js +0 -1
- package/web/_nuxt/CGD7MYQH.js +0 -1
- package/web/_nuxt/CQcG7Bu4.js +0 -1
- package/web/_nuxt/CS3KqpH_.js +0 -1
- package/web/_nuxt/CT-yt694.js +0 -1
- package/web/_nuxt/CcdyYRYz.js +0 -1
- package/web/_nuxt/CePNTU1S.js +0 -1
- package/web/_nuxt/CgPLsCeU.js +0 -5
- package/web/_nuxt/CnOqDT9k.js +0 -3
- package/web/_nuxt/Cr8dL64Q.js +0 -1
- package/web/_nuxt/D3CwzwU0.js +0 -1
- package/web/_nuxt/DDANn6-H.js +0 -1
- package/web/_nuxt/DDl9uKIA.js +0 -1
- package/web/_nuxt/DLNoK9BC.js +0 -1
- package/web/_nuxt/DLztFeOQ.js +0 -1
- package/web/_nuxt/DPihKXdt.js +0 -1
- package/web/_nuxt/DXyr6Naa.js +0 -1
- package/web/_nuxt/DeDg5p0D.js +0 -1
- package/web/_nuxt/DyPI7qJE.js +0 -30
- package/web/_nuxt/QZNQe_OX.js +0 -1
- package/web/_nuxt/Y8IJM-iz.js +0 -1
- package/web/_nuxt/builds/meta/7e461629-93e2-4694-b237-6d5c6a85c97c.json +0 -1
- package/web/_nuxt/builds/meta/dev.json +0 -1
- package/web/_nuxt/entry.BxsAxZxf.css +0 -1
- package/web/_nuxt/error-404.XbtAw-qw.css +0 -1
- package/web/_nuxt/error-500.CNHVltWM.css +0 -1
- package/web/_nuxt/rS90pPZ_.js +0 -1
- package/web/_nuxt/vSj9Ec0g.js +0 -1
- package/web/_nuxt/woNjBJMN.js +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CEGGvSzA.js","./Bj1gglGt.js","./BV_QiRi8.js","./ChS5Np24.js","./vzCX1O3u.js","./CZFMOWPc.js","./B_DikKgJ.js","./BFc_bxHc.js","./BqoV-QnQ.js","./dhmyGJu2.js","./yhvT770r.js","./BW_3NqYy.js","./DsttYulo.js","./BGGQYvrr.js","./CAfY3dDF.js","./DybEwxe5.js","./CBchb2Up.js","./DmPn-vCY.js","./BnZUk6sk.js","./B1ZAR7mP.js","./CH5xbifj.js","./Bbbbx_yO.js","./B1NtJEdQ.js","./DMl_I_aT.js","./Bz1eTnxX.js","./Bmqx7s9K.js","./DlHvzKYz.js","./Dd34_EaM.js","./D-Stn6KG.js","./DAHap_t6.js","./B-lS44p0.js","./CzTJPvyS.js","./C_n__rkq.js","./JXuauuVw.js","./DlAUqK2U.js","./index.D8biniUe.css","./Bv47q1hu.js","./BkRxDbrA.js","./B_Vrwblg.js","./CaWYVaRD.js","./BfFJ09wD.js","./error-404.DL126m4x.css","./BeS-yS0C.js","./error-500.BUVIYHmG.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function wa(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ee={},rr=[],Ft=()=>{},_u=()=>!1,ns=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),co=e=>e.startsWith("onUpdate:"),Be=Object.assign,Ca=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Jh=Object.prototype.hasOwnProperty,me=(e,t)=>Jh.call(e,t),Q=Array.isArray,sr=e=>br(e)==="[object Map]",uo=e=>br(e)==="[object Set]",al=e=>br(e)==="[object Date]",zh=e=>br(e)==="[object RegExp]",te=e=>typeof e=="function",Ce=e=>typeof e=="string",ut=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",bu=e=>(he(e)||te(e))&&te(e.then)&&te(e.catch),vu=Object.prototype.toString,br=e=>vu.call(e),Qh=e=>br(e).slice(8,-1),Eu=e=>br(e)==="[object Object]",fo=e=>Ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Mn=wa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ho=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Zh=/-\w/g,tt=ho(e=>e.replace(Zh,t=>t.slice(1).toUpperCase())),ep=/\B([A-Z])/g,vn=ho(e=>e.replace(ep,"-$1").toLowerCase()),po=ho(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ps=ho(e=>e?`on${po(e)}`:""),wt=(e,t)=>!Object.is(e,t),or=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},wu=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Sa=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Cu=e=>{const t=Ce(e)?Number(e):NaN;return isNaN(t)?e:t};let ll;const go=()=>ll||(ll=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function mo(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ce(r)?sp(r):mo(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ce(e)||he(e))return e}const tp=/;(?![^(]*\))/g,np=/:([^]+)/,rp=/\/\*[^]*?\*\//g;function sp(e){const t={};return e.replace(rp,"").split(tp).forEach(n=>{if(n){const r=n.split(np);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function yo(e){let t="";if(Ce(e))t=e;else if(Q(e))for(let n=0;n<e.length;n++){const r=yo(e[n]);r&&(t+=r+" ")}else if(he(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function op(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ce(t)&&(e.class=yo(t)),n&&(e.style=mo(n)),e}const ip="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ap=wa(ip);function Su(e){return!!e||e===""}function lp(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=jn(e[r],t[r]);return n}function jn(e,t){if(e===t)return!0;let n=al(e),r=al(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ut(e),r=ut(t),n||r)return e===t;if(n=Q(e),r=Q(t),n||r)return n&&r?lp(e,t):!1;if(n=he(e),r=he(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!jn(e[i],t[i]))return!1}}return String(e)===String(t)}function Ru(e,t){return e.findIndex(n=>jn(n,t))}const Tu=e=>!!(e&&e.__v_isRef===!0),cp=e=>Ce(e)?e:e==null?"":Q(e)||he(e)&&(e.toString===vu||!te(e.toString))?Tu(e)?cp(e.value):JSON.stringify(e,Lu,2):String(e),Lu=(e,t)=>Tu(t)?Lu(e,t.value):sr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Wo(r,o)+" =>"]=s,n),{})}:uo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Wo(n))}:ut(t)?Wo(t):he(t)&&!Q(t)&&!Eu(t)?String(t):t,Wo=(e,t="")=>{var n;return ut(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let je;class Au{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&je&&(je.active?(this.parent=je,this.index=(je.scopes||(je.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[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){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}const r=this.effects.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}}run(t){if(this._active){const n=je;try{return je=this,t()}finally{je=n}}}on(){++this._on===1&&(this.prevScope=je,je=this)}off(){if(this._on>0&&--this._on===0){if(je===this)je=this.prevScope;else{let t=je;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const s=this.scopes.slice();for(n=0,r=s.length;n<r;n++)s[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function rs(e){return new Au(e)}function En(){return je}function Ur(e,t=!1){je&&je.cleanups.push(e)}let Te;const Ko=new WeakSet;class Pu{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,je&&(je.active?je.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ko.has(this)&&(Ko.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ou(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,cl(this),Iu(this);const t=Te,n=St;Te=this,St=!0;try{return this.fn()}finally{Nu(this),Te=t,St=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)La(t);this.deps=this.depsTail=void 0,cl(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ko.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ci(this)&&this.run()}get dirty(){return Ci(this)}}let ku=0,Ir,Nr;function Ou(e,t=!1){if(e.flags|=8,t){e.next=Nr,Nr=e;return}e.next=Ir,Ir=e}function Ra(){ku++}function Ta(){if(--ku>0)return;if(Nr){let t=Nr;for(Nr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ir;){let t=Ir;for(Ir=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 Iu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Nu(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),La(r),up(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Ci(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===$r)||(e.globalVersion=$r,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ci(e))))return;e.flags|=2;const t=e.dep,n=Te,r=St;Te=e,St=!0;try{Iu(e);const s=e.fn(e._value);(t.version===0||wt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Te=n,St=r,Nu(e),e.flags&=-3}}function La(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.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)La(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function up(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let St=!0;const Mu=[];function tn(){Mu.push(St),St=!1}function nn(){const e=Mu.pop();St=e===void 0?!0:e}function cl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Te;Te=void 0;try{t()}finally{Te=n}}}let $r=0;class fp{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,this.__v_skip=!0}track(t){if(!Te||!St||Te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Te)n=this.activeLink=new fp(Te,this),Te.deps?(n.prevDep=Te.depsTail,Te.depsTail.nextDep=n,Te.depsTail=n):Te.deps=Te.depsTail=n,Du(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=Te.depsTail,n.nextDep=void 0,Te.depsTail.nextDep=n,Te.depsTail=n,Te.deps===n&&(Te.deps=r)}return n}trigger(t){this.version++,$r++,this.notify(t)}notify(t){Ra();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ta()}}}function Du(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)Du(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const xs=new WeakMap,Dn=Symbol(""),Si=Symbol(""),jr=Symbol("");function Ye(e,t,n){if(St&&Te){let r=xs.get(e);r||xs.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new _o),s.map=r,s.key=n),s.track()}}function Yt(e,t,n,r,s,o){const i=xs.get(e);if(!i){$r++;return}const a=l=>{l&&l.trigger()};if(Ra(),t==="clear")i.forEach(a);else{const l=Q(e),u=l&&fo(n);if(l&&n==="length"){const c=Number(r);i.forEach((f,d)=>{(d==="length"||d===jr||!ut(d)&&d>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(jr)),t){case"add":l?u&&a(i.get("length")):(a(i.get(Dn)),sr(e)&&a(i.get(Si)));break;case"delete":l||(a(i.get(Dn)),sr(e)&&a(i.get(Si)));break;case"set":sr(e)&&a(i.get(Dn));break}}Ta()}function dp(e,t){const n=xs.get(e);return n&&n.get(t)}function Yn(e){const t=le(e);return t===e?t:(Ye(t,"iterate",jr),lt(e)?t:t.map(Rt))}function bo(e){return Ye(e=le(e),"iterate",jr),e}function xt(e,t){return Ut(e)?fr(Ht(e)?Rt(t):t):Rt(t)}const hp={__proto__:null,[Symbol.iterator](){return Go(this,Symbol.iterator,e=>xt(this,e))},concat(...e){return Yn(this).concat(...e.map(t=>Q(t)?Yn(t):t))},entries(){return Go(this,"entries",e=>(e[1]=xt(this,e[1]),e))},every(e,t){return jt(this,"every",e,t,void 0,arguments)},filter(e,t){return jt(this,"filter",e,t,n=>n.map(r=>xt(this,r)),arguments)},find(e,t){return jt(this,"find",e,t,n=>xt(this,n),arguments)},findIndex(e,t){return jt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return jt(this,"findLast",e,t,n=>xt(this,n),arguments)},findLastIndex(e,t){return jt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return jt(this,"forEach",e,t,void 0,arguments)},includes(...e){return qo(this,"includes",e)},indexOf(...e){return qo(this,"indexOf",e)},join(e){return Yn(this).join(e)},lastIndexOf(...e){return qo(this,"lastIndexOf",e)},map(e,t){return jt(this,"map",e,t,void 0,arguments)},pop(){return Er(this,"pop")},push(...e){return Er(this,"push",e)},reduce(e,...t){return ul(this,"reduce",e,t)},reduceRight(e,...t){return ul(this,"reduceRight",e,t)},shift(){return Er(this,"shift")},some(e,t){return jt(this,"some",e,t,void 0,arguments)},splice(...e){return Er(this,"splice",e)},toReversed(){return Yn(this).toReversed()},toSorted(e){return Yn(this).toSorted(e)},toSpliced(...e){return Yn(this).toSpliced(...e)},unshift(...e){return Er(this,"unshift",e)},values(){return Go(this,"values",e=>xt(this,e))}};function Go(e,t,n){const r=bo(e),s=r[t]();return r!==e&&!lt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const pp=Array.prototype;function jt(e,t,n,r,s,o){const i=bo(e),a=i!==e&&!lt(e),l=i[t];if(l!==pp[t]){const f=l.apply(e,o);return a?Rt(f):f}let u=n;i!==e&&(a?u=function(f,d){return n.call(this,xt(e,f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(i,u,r);return a&&s?s(c):c}function ul(e,t,n,r){const s=bo(e),o=s!==e&&!lt(e);let i=n,a=!1;s!==e&&(o?(a=r.length===0,i=function(u,c,f){return a&&(a=!1,u=xt(e,u)),n.call(this,u,xt(e,c),f,e)}):n.length>3&&(i=function(u,c,f){return n.call(this,u,c,f,e)}));const l=s[t](i,...r);return a?xt(e,l):l}function qo(e,t,n){const r=le(e);Ye(r,"iterate",jr);const s=r[t](...n);return(s===-1||s===!1)&&wo(n[0])?(n[0]=le(n[0]),r[t](...n)):s}function Er(e,t,n=[]){tn(),Ra();const r=le(e)[t].apply(e,n);return Ta(),nn(),r}const gp=wa("__proto__,__v_isRef,__isVue"),Fu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ut));function mp(e){ut(e)||(e=String(e));const t=le(this);return Ye(t,"has",e),t.hasOwnProperty(e)}class Hu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Wu:Vu:o?Bu:ju).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Q(t);if(!s){let l;if(i&&(l=hp[n]))return l;if(n==="hasOwnProperty")return mp}const a=Reflect.get(t,n,Se(t)?t:r);if((ut(n)?Fu.has(n):gp(n))||(s||Ye(t,"get",n),o))return a;if(Se(a)){const l=i&&fo(n)?a:a.value;return s&&he(l)?Ti(l):l}return he(a)?s?Ti(a):sn(a):a}}class Uu extends Hu{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=Q(t)&&fo(n);if(!this._isShallow){const u=Ut(o);if(!lt(r)&&!Ut(r)&&(o=le(o),r=le(r)),!i&&Se(o)&&!Se(r))return u||(o.value=r),!0}const a=i?Number(n)<t.length:me(t,n),l=Reflect.set(t,n,r,Se(t)?t:s);return t===le(s)&&l&&(a?wt(r,o)&&Yt(t,"set",n,r):Yt(t,"add",n,r)),l}deleteProperty(t,n){const r=me(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Yt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!ut(n)||!Fu.has(n))&&Ye(t,"has",n),r}ownKeys(t){return Ye(t,"iterate",Q(t)?"length":Dn),Reflect.ownKeys(t)}}class $u extends Hu{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const yp=new Uu,_p=new $u,bp=new Uu(!0),vp=new $u(!0),Ri=e=>e,ds=e=>Reflect.getPrototypeOf(e);function Ep(e,t,n){return function(...r){const s=this.__v_raw,o=le(s),i=sr(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),c=n?Ri:t?fr:Rt;return!t&&Ye(o,"iterate",l?Si:Dn),Be(Object.create(u),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}}})}}function hs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function wp(e,t){const n={get(s){const o=this.__v_raw,i=le(o),a=le(s);e||(wt(s,a)&&Ye(i,"get",s),Ye(i,"get",a));const{has:l}=ds(i),u=t?Ri:e?fr:Rt;if(l.call(i,s))return u(o.get(s));if(l.call(i,a))return u(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ye(le(s),"iterate",Dn),s.size},has(s){const o=this.__v_raw,i=le(o),a=le(s);return e||(wt(s,a)&&Ye(i,"has",s),Ye(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=le(a),u=t?Ri:e?fr:Rt;return!e&&Ye(l,"iterate",Dn),a.forEach((c,f)=>s.call(o,u(c),u(f),i))}};return Be(n,e?{add:hs("add"),set:hs("set"),delete:hs("delete"),clear:hs("clear")}:{add(s){const o=le(this),i=ds(o),a=le(s),l=!t&&!lt(s)&&!Ut(s)?a:s;return i.has.call(o,l)||wt(s,l)&&i.has.call(o,s)||wt(a,l)&&i.has.call(o,a)||(o.add(l),Yt(o,"add",l,l)),this},set(s,o){!t&&!lt(o)&&!Ut(o)&&(o=le(o));const i=le(this),{has:a,get:l}=ds(i);let u=a.call(i,s);u||(s=le(s),u=a.call(i,s));const c=l.call(i,s);return i.set(s,o),u?wt(o,c)&&Yt(i,"set",s,o):Yt(i,"add",s,o),this},delete(s){const o=le(this),{has:i,get:a}=ds(o);let l=i.call(o,s);l||(s=le(s),l=i.call(o,s)),a&&a.call(o,s);const u=o.delete(s);return l&&Yt(o,"delete",s,void 0),u},clear(){const s=le(this),o=s.size!==0,i=s.clear();return o&&Yt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Ep(s,e,t)}),n}function vo(e,t){const n=wp(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(me(n,s)&&s in r?n:r,s,o)}const Cp={get:vo(!1,!1)},Sp={get:vo(!1,!0)},Rp={get:vo(!0,!1)},Tp={get:vo(!0,!0)},ju=new WeakMap,Bu=new WeakMap,Vu=new WeakMap,Wu=new WeakMap;function Lp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sn(e){return Ut(e)?e:Eo(e,!1,yp,Cp,ju)}function Mt(e){return Eo(e,!1,bp,Sp,Bu)}function Ti(e){return Eo(e,!0,_p,Rp,Vu)}function bS(e){return Eo(e,!0,vp,Tp,Wu)}function Eo(e,t,n,r,s){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=s.get(e);if(o)return o;const i=Lp(Qh(e));if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function Ht(e){return Ut(e)?Ht(e.__v_raw):!!(e&&e.__v_isReactive)}function Ut(e){return!!(e&&e.__v_isReadonly)}function lt(e){return!!(e&&e.__v_isShallow)}function wo(e){return e?!!e.__v_raw:!1}function le(e){const t=e&&e.__v_raw;return t?le(t):e}function Aa(e){return!me(e,"__v_skip")&&Object.isExtensible(e)&&wu(e,"__v_skip",!0),e}const Rt=e=>he(e)?sn(e):e,fr=e=>he(e)?Ti(e):e;function Se(e){return e?e.__v_isRef===!0:!1}function st(e){return Ku(e,!1)}function Bn(e){return Ku(e,!0)}function Ku(e,t){return Se(e)?e:new Ap(e,t)}class Ap{constructor(t,n){this.dep=new _o,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:le(t),this._value=n?t:Rt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||lt(t)||Ut(t);t=r?t:le(t),wt(t,n)&&(this._rawValue=t,this._value=r?t:Rt(t),this.dep.trigger())}}function vS(e){e.dep&&e.dep.trigger()}function ye(e){return Se(e)?e.value:e}function Pp(e){return te(e)?e():ye(e)}const kp={get:(e,t,n)=>t==="__v_raw"?e:ye(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Se(s)&&!Se(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Gu(e){return Ht(e)?e:new Proxy(e,kp)}class Op{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new _o,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Ip(e){return new Op(e)}function Np(e){const t=Q(e)?new Array(e.length):{};for(const n in e)t[n]=Yu(e,n);return t}class xp{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=ut(n)?n:String(n),this._raw=le(t);let s=!0,o=t;if(!Q(t)||ut(this._key)||!fo(this._key))do s=!wo(o)||lt(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=ye(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Se(this._raw[this._key])){const n=this._object[this._key];if(Se(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return dp(this._raw,this._key)}}class Mp{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function qu(e,t,n){return Se(e)?e:te(e)?new Mp(e):he(e)&&arguments.length>1?Yu(e,t,n):st(e)}function Yu(e,t,n){return new xp(e,t,n)}class Dp{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=$r-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Te!==this)return Ou(this,!0),!0}get value(){const t=this.dep.track();return xu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Fp(e,t,n=!1){let r,s;return te(e)?r=e:(r=e.get,s=e.set),new Dp(r,s,n)}const ps={},Ms=new WeakMap;let Pn;function Hp(e,t=!1,n=Pn){if(n){let r=Ms.get(n);r||Ms.set(n,r=[]),r.push(e)}}function Up(e,t,n=Ee){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,u=p=>s?p:lt(p)||s===!1||s===0?Xt(p,1):Xt(p);let c,f,d,h,y=!1,_=!1;if(Se(e)?(f=()=>e.value,y=lt(e)):Ht(e)?(f=()=>u(e),y=!0):Q(e)?(_=!0,y=e.some(p=>Ht(p)||lt(p)),f=()=>e.map(p=>{if(Se(p))return p.value;if(Ht(p))return u(p);if(te(p))return l?l(p,2):p()})):te(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){tn();try{d()}finally{nn()}}const p=Pn;Pn=c;try{return l?l(e,3,[h]):e(h)}finally{Pn=p}}:f=Ft,t&&s){const p=f,w=s===!0?1/0:s;f=()=>Xt(p(),w)}const L=En(),b=()=>{c.stop(),L&&L.active&&Ca(L.effects,c)};if(o&&t){const p=t;t=(...w)=>{const T=p(...w);return b(),T}}let E=_?new Array(e.length).fill(ps):ps;const g=p=>{if(!(!(c.flags&1)||!c.dirty&&!p))if(t){const w=c.run();if(p||s||y||(_?w.some((T,S)=>wt(T,E[S])):wt(w,E))){d&&d();const T=Pn;Pn=c;try{const S=[w,E===ps?void 0:_&&E[0]===ps?[]:E,h];E=w,l?l(t,3,S):t(...S)}finally{Pn=T}}}else c.run()};return a&&a(g),c=new Pu(f),c.scheduler=i?()=>i(g,!1):g,h=p=>Hp(p,!1,c),d=c.onStop=()=>{const p=Ms.get(c);if(p){if(l)l(p,4);else for(const w of p)w();Ms.delete(c)}},t?r?g(!0):E=c.run():i?i(g.bind(null,!0),!0):c.run(),b.pause=c.pause.bind(c),b.resume=c.resume.bind(c),b.stop=b,b}function Xt(e,t=1/0,n){if(t<=0||!he(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Se(e))Xt(e.value,t,n);else if(Q(e))for(let r=0;r<e.length;r++)Xt(e[r],t,n);else if(uo(e)||sr(e))e.forEach(r=>{Xt(r,t,n)});else if(Eu(e)){for(const r in e)Xt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Xt(e[r],t,n)}return e}function ss(e,t,n,r){try{return r?e(...r):e()}catch(s){vr(s,t,n)}}function _t(e,t,n,r){if(te(e)){const s=ss(e,t,n,r);return s&&bu(s)&&s.catch(o=>{vr(o,t,n)}),s}if(Q(e)){const s=[];for(let o=0;o<e.length;o++)s.push(_t(e[o],t,n,r));return s}}function vr(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ee;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(o){tn(),ss(o,null,10,[e,l,u]),nn();return}}$p(e,n,s,r,i)}function $p(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const et=[];let It=-1;const ir=[];let dn=null,zn=0;const Xu=Promise.resolve();let Ds=null;function _n(e){const t=Ds||Xu;return e?t.then(this?e.bind(this):e):t}function jp(e){let t=It+1,n=et.length;for(;t<n;){const r=t+n>>>1,s=et[r],o=Br(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Pa(e){if(!(e.flags&1)){const t=Br(e),n=et[et.length-1];!n||!(e.flags&2)&&t>=Br(n)?et.push(e):et.splice(jp(t),0,e),e.flags|=1,Ju()}}function Ju(){Ds||(Ds=Xu.then(zu))}function Li(e){if(!Q(e))dn&&e.id===-1?dn.splice(zn+1,0,e):e.flags&1||(ir.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)ir.push(e[t]);Ju()}function fl(e,t,n=It+1){for(;n<et.length;n++){const r=et[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;et.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Fs(e){if(ir.length){const t=[...new Set(ir)].sort((n,r)=>Br(n)-Br(r));if(ir.length=0,dn){for(let n=0;n<t.length;n++)dn.push(t[n]);return}for(dn=t,zn=0;zn<dn.length;zn++){const n=dn[zn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}dn=null,zn=0}}const Br=e=>e.id==null?e.flags&2?-1:1/0:e.id;function zu(e){try{for(It=0;It<et.length;It++){const t=et[It];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ss(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;It<et.length;It++){const t=et[It];t&&(t.flags&=-2)}It=-1,et.length=0,Fs(),Ds=null,(et.length||ir.length)&&zu()}}let Ke=null,Qu=null;function Hs(e){const t=Ke;return Ke=e,Qu=e&&e.type.__scopeId||null,t}function ka(e,t=Ke,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Gs(-1);const o=Hs(t),i=en.length;let a;try{a=e(...s)}finally{for(let l=en.length;l>i;l--)ko();Hs(o),r._d&&Gs(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function ES(e,t){if(Ke===null)return e;const n=Oo(Ke),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=Ee]=t[s];o&&(te(o)&&(o={mounted:o,updated:o}),o.deep&&Xt(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Nt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(tn(),_t(l,n,8,[e.el,a,e,t]),nn())}}function mn(e,t){if(We){let n=We.provides;const r=We.parent&&We.parent.provides;r===n&&(n=We.provides=Object.create(r)),n[e]=t}}function Ue(e,t,n=!1){const r=an();if(r||Fn){let s=Fn?Fn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&te(t)?t.call(r&&r.proxy):t}}function os(){return!!(an()||Fn)}const Bp=Symbol.for("v-scx"),Vp=()=>Ue(Bp);function Wp(e,t){return Co(e,null,t)}function wS(e,t){return Co(e,null,{flush:"post"})}function ot(e,t,n){return Co(e,t,n)}function Co(e,t,n=Ee){const{immediate:r,deep:s,flush:o,once:i}=n,a=Be({},n),l=t&&r||!t&&o!=="post";let u;if(hr){if(o==="sync"){const h=Vp();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=Ft,h.resume=Ft,h.pause=Ft,h}}const c=We;a.call=(h,y,_)=>_t(h,c,y,_);let f=!1;o==="post"?a.scheduler=h=>{Me(h,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(h,y)=>{y?h():Pa(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const d=Up(e,t,a);return hr&&(u?u.push(d):l&&d()),d}function Kp(e,t,n){const r=this.proxy,s=Ce(e)?e.includes(".")?Zu(r,e):()=>r[e]:e.bind(r,r);let o;te(t)?o=t:(o=t.handler,n=t);const i=ls(this),a=Co(s,o.bind(r),n);return i(),a}function Zu(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const cn=new WeakMap,ef=Symbol("_vte"),So=e=>e.__isTeleport,In=e=>e&&(e.disabled||e.disabled===""),Gp=e=>e&&(e.defer||e.defer===""),dl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,hl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ai=(e,t)=>{const n=e&&e.to;return Ce(n)?t?t(n):null:n},qp={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:y,createText:_,createComment:L,parentNode:b}}=u,E=In(t.props);let{dynamicChildren:g}=t;const p=(S,O,A)=>{S.shapeFlag&16&&c(S.children,O,A,s,o,i,a,l)},w=(S=t)=>{const O=In(S.props),A=S.target=Ai(S.props,y),x=Pi(A,S,_,h);A&&(i!=="svg"&&dl(A)?i="svg":i!=="mathml"&&hl(A)&&(i="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(A),O||(p(S,A,x),Ar(S,!1)))},T=S=>{const O=()=>{if(cn.get(S)===O){if(cn.delete(S),In(S.props)){const A=b(S.el)||n;p(S,A,S.anchor),Ar(S,!0)}w(S)}};cn.set(S,O),Me(O,o)};if(e==null){const S=t.el=_(""),O=t.anchor=_("");if(h(S,n,r),h(O,n,r),Gp(t.props)||o&&o.pendingBranch){T(t);return}E&&(p(t,n,O),Ar(t,!0)),w()}else{t.el=e.el;const S=t.anchor=e.anchor,O=cn.get(e);if(O){O.flags|=8,cn.delete(e),T(t);return}t.targetStart=e.targetStart;const A=t.target=e.target,x=t.targetAnchor=e.targetAnchor,j=In(e.props),M=j?n:A,V=j?S:x;if(i==="svg"||dl(A)?i="svg":(i==="mathml"||hl(A))&&(i="mathml"),g?(d(e.dynamicChildren,g,M,s,o,i,a),Ma(e,t,!0)):l||f(e,t,M,V,s,o,i,a,!1),E)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):gs(t,n,S,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=Ai(t.props,y);Z&&(t.target=Z,gs(t,Z,null,u,0))}else j&&gs(t,A,x,u,1);Ar(t,E)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e,h=In(d),y=o||!h,_=cn.get(e);if(_&&(_.flags|=8,cn.delete(e)),f&&(s(u),s(c)),o&&s(l),!_&&(h||f)&&i&16)for(let L=0;L<a.length;L++){const b=a[L];r(b,t,n,y,!!b.dynamicChildren)}},move:gs,hydrate:Yp};function gs(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:c}=e,f=o===2;if(f&&r(i,t,n),!cn.has(e)&&(!f||In(c))&&l&16)for(let d=0;d<u.length;d++)s(u[d],t,n,2);f&&r(a,t,n)}function Yp(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:c}},f){function d(L,b){let E=b;for(;E;){if(E&&E.nodeType===8){if(E.data==="teleport start anchor")t.targetStart=E;else if(E.data==="teleport anchor"){t.targetAnchor=E,L._lpa=t.targetAnchor&&i(t.targetAnchor);break}}E=i(E)}}function h(L,b){b.anchor=f(i(L),b,a(L),n,r,s,o)}const y=t.target=Ai(t.props,l),_=In(t.props);if(y){const L=y._lpa||y.firstChild;t.shapeFlag&16&&(_?(h(e,t),d(y,L),t.targetAnchor||Pi(y,t,c,u,a(e)===y?e:null)):(t.anchor=i(e),d(y,L),t.targetAnchor||Pi(y,t,c,u),f(L&&i(L),t,y,n,r,s,o))),Ar(t,_)}else _&&t.shapeFlag&16&&(h(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const CS=qp;function Ar(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Pi(e,t,n,r,s=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[ef]=i,e&&(r(o,e,s),r(i,e,s)),i}const pt=Symbol("_leaveCb"),wr=Symbol("_enterCb");function Xp(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return To(()=>{e.isMounted=!0}),as(()=>{e.isUnmounting=!0}),e}const dt=[Function,Array],tf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:dt,onEnter:dt,onAfterEnter:dt,onEnterCancelled:dt,onBeforeLeave:dt,onLeave:dt,onAfterLeave:dt,onLeaveCancelled:dt,onBeforeAppear:dt,onAppear:dt,onAfterAppear:dt,onAppearCancelled:dt},nf=e=>{const t=e.subTree;return t.component?nf(t.component):t},Jp={name:"BaseTransition",props:tf,setup(e,{slots:t}){const n=an(),r=Xp();return()=>{const s=t.default&&of(t.default(),!0),o=s&&s.length?rf(s):n.subTree?jf():void 0;if(!o)return;const i=le(e),{mode:a}=i;if(r.isLeaving)return Yo(o);const l=Us(o);if(!l)return Yo(o);let u=ki(l,i,r,n,f=>u=f);l.type!==De&&dr(l,u);let c=n.subTree&&Us(n.subTree);if(c&&c.type!==De&&!Ct(c,l)&&nf(n).type!==De){let f=ki(c,i,r,n);if(dr(c,f),a==="out-in"&&l.type!==De)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Yo(o);a==="in-out"&&l.type!==De?f.delayLeave=(d,h,y)=>{const _=sf(r,c);_[String(c.key)]=c,d[pt]=()=>{h(),d[pt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{y(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function rf(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==De){t=n;break}}return t}const zp=Jp;function sf(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 ki(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:y,onLeaveCancelled:_,onBeforeAppear:L,onAppear:b,onAfterAppear:E,onAppearCancelled:g}=t,p=String(e.key),w=sf(n,e),T=(A,x)=>{A&&_t(A,r,9,x)},S=(A,x)=>{const j=x[1];T(A,x),Q(A)?A.every(M=>M.length<=1)&&j():A.length<=1&&j()},O={mode:i,persisted:a,beforeEnter(A){let x=l;if(!n.isMounted)if(o)x=L||l;else return;A[pt]&&A[pt](!0);const j=w[p];j&&Ct(e,j)&&j.el[pt]&&j.el[pt](),T(x,[A])},enter(A){if(w[p]===e)return;let x=u,j=c,M=f;if(!n.isMounted)if(o)x=b||u,j=E||c,M=g||f;else return;let V=!1;A[wr]=se=>{V||(V=!0,se?T(M,[A]):T(j,[A]),O.delayedLeave&&O.delayedLeave(),A[wr]=void 0)};const Z=A[wr].bind(null,!1);x?S(x,[A,Z]):Z()},leave(A,x){const j=String(e.key);if(A[wr]&&A[wr](!0),n.isUnmounting)return x();T(d,[A]);let M=!1;A[pt]=Z=>{M||(M=!0,x(),Z?T(_,[A]):T(y,[A]),A[pt]=void 0,w[j]===e&&delete w[j])};const V=A[pt].bind(null,!1);w[j]=e,h?S(h,[A,V]):V()},clone(A){const x=ki(A,t,n,r,s);return s&&s(x),x}};return O}function Yo(e){if(is(e))return e=rn(e),e.children=null,e}function Us(e){if(!is(e))return So(e.type)&&e.children?rf(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&te(n.default))return n.default()}}function dr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;dr(So(n.type)&&Us(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function of(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Ve?(i.patchFlag&128&&s++,r=r.concat(of(i.children,t,a))):(t||i.type!==De)&&r.push(a!=null?rn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function bt(e,t){return te(e)?Be({name:e.name},t,{setup:e}):e}function SS(){const e=an();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Oa(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function pl(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const $s=new WeakMap;function ar(e,t,n,r,s=!1){if(Q(e)){e.forEach((_,L)=>ar(_,t&&(Q(t)?t[L]:t),n,r,s));return}if(Zt(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&ar(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Oo(r.component):r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Ee?a.refs={}:a.refs,f=a.setupState,d=le(f),h=f===Ee?_u:_=>pl(c,_)?!1:me(d,_),y=(_,L)=>!(L&&pl(c,L));if(u!=null&&u!==l){if(gl(t),Ce(u))c[u]=null,h(u)&&(f[u]=null);else if(Se(u)){const _=t;y(u,_.k)&&(u.value=null),_.k&&(c[_.k]=null)}}if(te(l))ss(l,a,12,[i,c]);else{const _=Ce(l),L=Se(l);if(_||L){const b=()=>{if(e.f){const E=_?h(l)?f[l]:c[l]:y()||!e.k?l.value:c[e.k];if(s)Q(E)&&Ca(E,o);else if(Q(E))E.includes(o)||E.push(o);else if(_)c[l]=[o],h(l)&&(f[l]=c[l]);else{const g=[o];y(l,e.k)&&(l.value=g),e.k&&(c[e.k]=g)}}else _?(c[l]=i,h(l)&&(f[l]=i)):L&&(y(l,e.k)&&(l.value=i),e.k&&(c[e.k]=i))};if(i){const E=()=>{b(),$s.delete(e)};E.id=-1,$s.set(e,E),Me(E,n)}else gl(e),b()}}}function gl(e){const t=$s.get(e);t&&(t.flags|=8,$s.delete(e))}let ml=!1;const Xn=()=>{ml||(console.error("Hydration completed but contains mismatches."),ml=!0)},Qp=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Zp=e=>e.namespaceURI.includes("MathML"),ms=e=>{if(e.nodeType===1){if(Qp(e))return"svg";if(Zp(e))return"mathml"}},tr=e=>e.nodeType===8;function eg(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:u}}=e,c=(g,p)=>{if(!p.hasChildNodes()){n(null,g,p),Fs(),p._vnode=g;return}f(p.firstChild,g,null,null,null),Fs(),p._vnode=g},f=(g,p,w,T,S,O=!1)=>{O=O||!!p.dynamicChildren;const A=tr(g)&&g.data==="[",x=()=>_(g,p,w,T,S,A),{type:j,ref:M,shapeFlag:V,patchFlag:Z}=p;let se=g.nodeType;p.el=g,Z===-2&&(O=!1,p.dynamicChildren=null);let q=null;switch(j){case yn:se!==3?p.children===""?(l(p.el=s(""),i(g),g),q=g):q=x():(g.data!==p.children&&(Xn(),g.data=p.children),q=o(g));break;case De:E(g)?(q=o(g),b(p.el=g.content.firstChild,g,w)):se!==8||A?q=x():q=o(g);break;case Os:if(A&&(g=o(g),se=g.nodeType),se===1||se===3){q=g;const J=!p.children.length;for(let ee=0;ee<p.staticCount;ee++)J&&(p.children+=q.nodeType===1?q.outerHTML:q.data),ee===p.staticCount-1&&(p.anchor=q),q=o(q);return A?o(q):q}else x();break;case Ve:A?q=y(g,p,w,T,S,O):q=x();break;default:if(V&1)(se!==1||p.type.toLowerCase()!==g.tagName.toLowerCase())&&!E(g)?q=x():q=d(g,p,w,T,S,O);else if(V&6){p.slotScopeIds=S;const J=i(g);if(A?q=L(g):tr(g)&&g.data==="teleport start"?q=L(g,g.data,"teleport end"):q=o(g),t(p,J,null,w,T,ms(J),O),Zt(p)&&!p.type.__asyncResolved){let ee;A?(ee=Pe(Ve),ee.anchor=q?q.previousSibling:J.lastChild):ee=g.nodeType===3?$f(""):Pe("div"),ee.el=g,p.component.subTree=ee}}else V&64?se!==8?q=x():q=p.type.hydrate(g,p,w,T,S,O,e,h):V&128&&(q=p.type.hydrate(g,p,w,T,ms(i(g)),S,O,e,f))}return M!=null&&ar(M,null,T,p),q},d=(g,p,w,T,S,O)=>{O=O||!!p.dynamicChildren;const{type:A,dynamicProps:x,props:j,patchFlag:M,shapeFlag:V,dirs:Z,transition:se}=p,q=A==="input"||A==="option",J=!!x;if(q||J||M!==-1){Z&&Nt(p,null,w,"created");let ee=!1;if(E(g)){ee=kf(null,se)&&w&&w.vnode.props&&w.vnode.props.appear;const ie=g.content.firstChild;if(ee){const fe=ie.getAttribute("class");fe&&(ie.$cls=fe),se.beforeEnter(ie)}b(ie,g,w),p.el=g=ie}if(V&16&&!(j&&(j.innerHTML||j.textContent))){let ie=h(g.firstChild,p,g,w,T,S,O);for(ie&&!ks(g,1)&&Xn();ie;){const fe=ie;ie=ie.nextSibling,a(fe)}}else if(V&8){let ie=p.children;ie[0]===`
|
|
3
|
+
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(ie=ie.slice(1));const{textContent:fe}=g;fe!==ie&&fe!==ie.replace(/\r\n|\r/g,`
|
|
4
|
+
`)&&(ks(g,0)||Xn(),g.textContent=p.children)}if(j){if(q||J||!O||M&48){const ie=g.tagName.includes("-"),fe=g.namespaceURI.includes("svg")?"svg":g.namespaceURI.includes("MathML")?"mathml":void 0;for(const de in j)if(q&&(de.endsWith("value")||de==="indeterminate")||ns(de)&&!Mn(de)||de[0]==="."||ie&&!Mn(de)||x&&x.includes(de)){if(ng(g,de,j[de]))continue;r(g,de,null,j[de],fe,w)}}else if(j.onClick)r(g,"onClick",null,j.onClick,void 0,w);else if(M&4&&Ht(j.style))for(const ie in j.style)j.style[ie]}let Re;(Re=j&&j.onVnodeBeforeMount)&&rt(Re,w,p),Z&&Nt(p,null,w,"beforeMount"),((Re=j&&j.onVnodeMounted)||Z||ee)&&xf(()=>{Re&&rt(Re,w,p),ee&&se.enter(g),Z&&Nt(p,null,w,"mounted")},T)}return g.nextSibling},h=(g,p,w,T,S,O,A)=>{A=A||!!p.dynamicChildren;const x=p.children,j=x.length;let M=!1;for(let V=0;V<j;V++){const Z=A?x[V]:x[V]=at(x[V]),se=Z.type===yn;g?(se&&!A&&V+1<j&&at(x[V+1]).type===yn&&(l(s(g.data.slice(Z.children.length)),w,o(g)),g.data=Z.children),g=f(g,Z,T,S,O,A)):se&&!Z.children?l(Z.el=s(""),w):(M||(M=!0,ks(w,1)||Xn()),n(null,Z,w,null,T,S,ms(w),O))}return g},y=(g,p,w,T,S,O)=>{const{slotScopeIds:A}=p;A&&(S=S?S.concat(A):A);const x=i(g),j=h(o(g),p,x,w,T,S,O);return j&&tr(j)&&j.data==="]"?o(p.anchor=j):(Xn(),l(p.anchor=u("]"),x,j),j)},_=(g,p,w,T,S,O)=>{if(sg(g,p)||Xn(),p.el=null,O){const j=L(g);for(;;){const M=o(g);if(M&&M!==j)a(M);else break}}const A=o(g),x=i(g);return a(g),n(null,p,x,A,w,T,ms(x),S),w&&(w.vnode.el=p.el,Po(w,p.el)),A},L=(g,p="[",w="]")=>{let T=0;for(;g;)if(g=o(g),g&&tr(g)&&(g.data===p&&T++,g.data===w)){if(T===0)return o(g);T--}return g},b=(g,p,w)=>{const T=p.parentNode;T&&T.replaceChild(g,p);let S=w;for(;S;)S.vnode.el===p&&(S.vnode.el=S.subTree.el=g),S=S.parent},E=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[c,f]}const tg=new Set(["src","srcset","href","poster"]);function ng(e,t,n){return tg.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}const js="data-allow-mismatch",rg={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function ks(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(js);)e=e.parentElement;return Ia(e&&e.getAttribute(js),t)}function Ia(e,t){if(e==null)return!1;if(e==="")return!0;{const n=e.split(",");return t===0&&n.includes("children")?!0:n.includes(rg[t])}}function sg(e,t){return ks(e.parentElement,1)||og(e)||ig(t)}function og(e){return e.nodeType===1&&Ia(e.getAttribute(js),1)}function ig({props:e}){const t=e&&e[js];return typeof t=="string"&&Ia(t,1)}go().requestIdleCallback;go().cancelIdleCallback;function ag(e,t){if(tr(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(tr(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Zt=e=>!!e.type.__asyncLoader;function Bs(e){te(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const d=()=>(f++,u=null,h()),h=()=>{let y;return u||(y=u=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((L,b)=>{l(_,()=>L(d()),()=>b(_),f+1)});throw _}).then(_=>y!==u&&u?u:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),c=_,_)))};return bt({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(y,_,L){const b=y.isConnected;let E=!1;(_.bu||(_.bu=[])).push(()=>E=!0);const g=()=>{E||!y.parentNode||b&&!y.isConnected||L()},p=o?()=>{const w=o(g,T=>ag(y,T));w&&(_.bum||(_.bum=[])).push(w)}:g;c?p():h().then(()=>!_.isUnmounted&&p())},get __asyncResolved(){return c},setup(){const y=We;if(Oa(y),c)return()=>ys(c,y);const _=w=>{u=null,vr(w,y,13,!r)};if(a&&y.suspense||hr)return h().then(w=>()=>ys(w,y)).catch(w=>(_(w),()=>r?Pe(r,{error:w}):null));const L=st(!1),b=st(),E=st(!!s);let g,p;return Lo(()=>{g!=null&&clearTimeout(g),p!=null&&clearTimeout(p)}),s&&(p=setTimeout(()=>{y.isUnmounted||(E.value=!1)},s)),i!=null&&(g=setTimeout(()=>{if(!y.isUnmounted&&!L.value&&!b.value){const w=new Error(`Async component timed out after ${i}ms.`);_(w),b.value=w}},i)),h().then(()=>{y.isUnmounted||(L.value=!0,y.parent&&is(y.parent.vnode)&&y.parent.update())}).catch(w=>{if(y.isUnmounted){u=null;return}_(w),b.value=w}),()=>{if(L.value&&c)return ys(c,y);if(b.value&&r)return Pe(r,{error:b.value});if(n&&!E.value)return ys(n,y)}}})}function ys(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=Pe(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const is=e=>e.type.__isKeepAlive,lg={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=an(),r=n.ctx;if(!r.renderer)return()=>{const E=t.default&&t.default();return E&&E.length===1?E[0]:E};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(E,g,p,w,T)=>{const S=E.component;u(E,g,p,0,a),l(S.vnode,E,g,p,S,a,w,E.slotScopeIds,T),Me(()=>{S.isDeactivated=!1,S.a&&or(S.a);const O=E.props&&E.props.onVnodeMounted;O&&rt(O,S.parent,E)},a)},r.deactivate=E=>{const g=E.component;Ws(g.m),Ws(g.a),u(E,d,null,1,a),Me(()=>{g.da&&or(g.da);const p=E.props&&E.props.onVnodeUnmounted;p&&rt(p,g.parent,E),g.isDeactivated=!0},a)};function h(E){Xo(E),c(E,n,a,!0)}function y(E){s.forEach((g,p)=>{const w=Ui(Zt(g)?g.type.__asyncResolved||{}:g.type);w&&!E(w)&&_(p)})}function _(E){const g=s.get(E);g&&(!i||!Ct(g,i))?h(g):i&&Xo(i),s.delete(E),o.delete(E)}ot(()=>[e.include,e.exclude],([E,g])=>{E&&y(p=>Pr(E,p)),g&&y(p=>!Pr(g,p))},{flush:"post",deep:!0});let L=null;const b=()=>{L!=null&&(Ks(n.subTree.type)?Me(()=>{s.set(L,_s(n.subTree))},n.subTree.suspense):s.set(L,_s(n.subTree)))};return To(b),uf(b),as(()=>{s.forEach(E=>{const{subTree:g,suspense:p}=n,w=_s(g);if(E.type===w.type&&E.key===w.key){Xo(w);const T=w.component.da;T&&Me(T,p);return}h(E)})}),()=>{if(L=null,!t.default)return i=null;const E=t.default(),g=E[0];if(E.length>1)return i=null,E;if(!bn(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return i=null,g;let p=_s(g);if(p.type===De)return i=null,p;const w=p.type,T=Ui(Zt(p)?p.type.__asyncResolved||{}:w),{include:S,exclude:O,max:A}=e;if(S&&(!T||!Pr(S,T))||O&&T&&Pr(O,T))return p.shapeFlag&=-257,i=p,g;const x=p.key==null?w:p.key,j=s.get(x);return p.el&&(p=rn(p),g.shapeFlag&128&&(g.ssContent=p)),L=x,j?(p.el=j.el,p.component=j.component,p.transition&&dr(p,p.transition),p.shapeFlag|=512,o.delete(x),o.add(x)):(o.add(x),A&&o.size>parseInt(A,10)&&_(o.values().next().value)),p.shapeFlag|=256,i=p,Ks(g.type)?g:p}}},cg=lg;function Pr(e,t){return Q(e)?e.some(n=>Pr(n,t)):Ce(e)?e.split(",").includes(t):zh(e)?(e.lastIndex=0,e.test(t)):!1}function af(e,t){cf(e,"a",t)}function lf(e,t){cf(e,"da",t)}function cf(e,t,n=We){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ro(t,r,n),n){let s=n.parent;for(;s&&s.parent;)is(s.parent.vnode)&&ug(r,t,n,s),s=s.parent}}function ug(e,t,n,r){const s=Ro(t,e,r,!0);Lo(()=>{Ca(r[t],s)},n)}function Xo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function _s(e){return e.shapeFlag&128?e.ssContent:e}function Ro(e,t,n=We,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{tn();const a=ls(n),l=_t(t,n,e,i);return a(),nn(),l});return r?s.unshift(o):s.push(o),o}}const on=e=>(t,n=We)=>{(!hr||e==="sp")&&Ro(e,(...r)=>t(...r),n)},fg=on("bm"),To=on("m"),dg=on("bu"),uf=on("u"),as=on("bum"),Lo=on("um"),hg=on("sp"),pg=on("rtg"),gg=on("rtc");function ff(e,t=We){Ro("ec",e,t)}const df="components";function mg(e,t){return pf(df,e,!0,t)||e}const hf=Symbol.for("v-ndc");function yg(e){return Ce(e)?pf(df,e,!1)||e:e||hf}function pf(e,t,n=!0,r=!1){const s=Ke||We;if(s){const o=s.type;{const a=Ui(o,!1);if(a&&(a===t||a===tt(t)||a===po(tt(t))))return o}const i=yl(s[e]||o[e],t)||yl(s.appContext[e],t);return!i&&r?o:i}}function yl(e,t){return e&&(e[t]||e[tt(t)]||e[po(tt(t))])}function RS(e,t,n,r){let s;const o=n,i=Q(e);if(i||Ce(e)){const a=i&&Ht(e);let l=!1,u=!1;a&&(l=!lt(e),u=Ut(e),e=bo(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(l?u?fr(Rt(e[c])):Rt(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(he(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];s[l]=t(e[c],c,l,o)}}else s=[];return s}function TS(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Q(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function LS(e,t,n,r,s,o){if(n==null&&(n={}),Ke.ce||Ke.parent&&Zt(Ke.parent)&&Ke.parent.ce){const u=n,c=Object.keys(u).length>0;return t!=="default"&&(u.name=t),gt(),Jt(Ve,null,[Pe("slot",u,r&&r())],c?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const a=en.length;gt();let l;try{const u=i&&gf(i(n)),c=n.key||o||u&&u.key;l=Jt(Ve,{key:(c&&!ut(c)?c:`_${t}`)+(!u&&r?"_fb":"")},u||(r?r():[]),u&&e._===1?64:-2)}catch(u){for(let c=en.length;c>a;c--)ko();throw u}finally{i&&i._c&&(i._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function gf(e){return e.some(t=>bn(t)?!(t.type===De||t.type===Ve&&!gf(t.children)):!0)?e:null}function AS(e,t){const n={};for(const r in e)n[Ps(r)]=e[r];return n}const Oi=e=>e?Vf(e)?Oo(e):Oi(e.parent):null,xr=Be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Oi(e.parent),$root:e=>Oi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>yf(e),$forceUpdate:e=>e.f||(e.f=()=>{Pa(e.update)}),$nextTick:e=>e.n||(e.n=_n.bind(e.proxy)),$watch:e=>Kp.bind(e)}),Jo=(e,t)=>e!==Ee&&!e.__isScriptSetup&&me(e,t),_g={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Jo(r,t))return i[t]=1,r[t];if(s!==Ee&&me(s,t))return i[t]=2,s[t];if(me(o,t))return i[t]=3,o[t];if(n!==Ee&&me(n,t))return i[t]=4,n[t];Ni&&(i[t]=0)}}const u=xr[t];let c,f;if(u)return t==="$attrs"&&Ye(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Ee&&me(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,me(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Jo(s,t)?(s[t]=n,!0):r!==Ee&&me(r,t)?(r[t]=n,!0):me(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:s,props:o,type:i}},a){let l;return!!(n[a]||e!==Ee&&a[0]!=="$"&&me(e,a)||Jo(t,a)||me(o,a)||me(r,a)||me(xr,a)||me(s.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:me(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ii(e){return Q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function PS(e,t){const n=Ii(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?Q(s)||te(s)?s=n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(s=n[r]={default:t[r]}),s&&t[`__skip_${r}`]&&(s.skipFactory=!0)}return n}let Ni=!0;function bg(e){const t=yf(e),n=e.proxy,r=e.ctx;Ni=!1,t.beforeCreate&&_l(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:y,activated:_,deactivated:L,beforeDestroy:b,beforeUnmount:E,destroyed:g,unmounted:p,render:w,renderTracked:T,renderTriggered:S,errorCaptured:O,serverPrefetch:A,expose:x,inheritAttrs:j,components:M,directives:V,filters:Z}=t;if(u&&vg(u,r,null),i)for(const J in i){const ee=i[J];te(ee)&&(r[J]=ee.bind(n))}if(s){const J=s.call(n,n);he(J)&&(e.data=sn(J))}if(Ni=!0,o)for(const J in o){const ee=o[J],Re=te(ee)?ee.bind(n,n):te(ee.get)?ee.get.bind(n,n):Ft,ie=!te(ee)&&te(ee.set)?ee.set.bind(n):Ft,fe=xe({get:Re,set:ie});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>fe.value,set:de=>fe.value=de})}if(a)for(const J in a)mf(a[J],r,n,J);if(l){const J=te(l)?l.call(n):l;Reflect.ownKeys(J).forEach(ee=>{mn(ee,J[ee])})}c&&_l(c,e,"c");function q(J,ee){Q(ee)?ee.forEach(Re=>J(Re.bind(n))):ee&&J(ee.bind(n))}if(q(fg,f),q(To,d),q(dg,h),q(uf,y),q(af,_),q(lf,L),q(ff,O),q(gg,T),q(pg,S),q(as,E),q(Lo,p),q(hg,A),Q(x))if(x.length){const J=e.exposed||(e.exposed={});x.forEach(ee=>{Object.defineProperty(J,ee,{get:()=>n[ee],set:Re=>n[ee]=Re,enumerable:!0})})}else e.exposed||(e.exposed={});w&&e.render===Ft&&(e.render=w),j!=null&&(e.inheritAttrs=j),M&&(e.components=M),V&&(e.directives=V),A&&Oa(e)}function vg(e,t,n=Ft){Q(e)&&(e=xi(e));for(const r in e){const s=e[r];let o;he(s)?"default"in s?o=Ue(s.from||r,s.default,!0):o=Ue(s.from||r):o=Ue(s),Se(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function _l(e,t,n){_t(Q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function mf(e,t,n,r){let s=r.includes(".")?Zu(n,r):()=>n[r];if(Ce(e)){const o=t[e];te(o)&&ot(s,o)}else if(te(e))ot(s,e.bind(n));else if(he(e))if(Q(e))e.forEach(o=>mf(o,t,n,r));else{const o=te(e.handler)?e.handler.bind(n):t[e.handler];te(o)&&ot(s,o,e)}}function yf(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>Vs(l,u,i,!0)),Vs(l,t,i)),he(t)&&o.set(t,l),l}function Vs(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Vs(e,o,n,!0),s&&s.forEach(i=>Vs(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Eg[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Eg={data:bl,props:vl,emits:vl,methods:kr,computed:kr,beforeCreate:ze,created:ze,beforeMount:ze,mounted:ze,beforeUpdate:ze,updated:ze,beforeDestroy:ze,beforeUnmount:ze,destroyed:ze,unmounted:ze,activated:ze,deactivated:ze,errorCaptured:ze,serverPrefetch:ze,components:kr,directives:kr,watch:Cg,provide:bl,inject:wg};function bl(e,t){return t?e?function(){return Be(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function wg(e,t){return kr(xi(e),xi(t))}function xi(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ze(e,t){return e?[...new Set([].concat(e,t))]:t}function kr(e,t){return e?Be(Object.create(null),e,t):t}function vl(e,t){return e?Q(e)&&Q(t)?[...new Set([...e,...t])]:Be(Object.create(null),Ii(e),Ii(t??{})):t}function Cg(e,t){if(!e)return t;if(!t)return e;const n=Be(Object.create(null),e);for(const r in t)n[r]=ze(e[r],t[r]);return n}function _f(){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 Sg=0;function Rg(e,t){return function(r,s=null){te(r)||(r=Be({},r)),s!=null&&!he(s)&&(s=null);const o=_f(),i=new WeakSet,a=[];let l=!1;const u=o.app={_uid:Sg++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:sm,get config(){return o.config},set config(c){},use(c,...f){return i.has(c)||(c&&te(c.install)?(i.add(c),c.install(u,...f)):te(c)&&(i.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,d){if(!l){const h=u._ceVNode||Pe(r,s);return h.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(h,c):e(h,c,d),l=!0,u._container=c,c.__vue_app__=u,Oo(h.component)}},onUnmount(c){a.push(c)},unmount(){l&&(_t(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=Fn;Fn=u;try{return c()}finally{Fn=f}}};return u}}let Fn=null;const Tg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${tt(t)}Modifiers`]||e[`${vn(t)}Modifiers`];function Lg(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ee;let s=n;const o=t.startsWith("update:"),i=o&&Tg(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>Ce(c)?c.trim():c)),i.number&&(s=n.map(Sa)));let a,l=r[a=Ps(t)]||r[a=Ps(tt(t))];!l&&o&&(l=r[a=Ps(vn(t))]),l&&_t(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,_t(u,e,6,s)}}const Ag=new WeakMap;function bf(e,t,n=!1){const r=n?Ag:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!te(e)){const l=u=>{const c=bf(u,t,!0);c&&(a=!0,Be(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(he(e)&&r.set(e,null),null):(Q(o)?o.forEach(l=>i[l]=null):Be(i,o),he(e)&&r.set(e,i),i)}function Ao(e,t){return!e||!ns(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),me(e,t[0].toLowerCase()+t.slice(1))||me(e,vn(t))||me(e,t))}function zo(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:y,inheritAttrs:_}=e,L=Hs(e);let b,E;try{if(n.shapeFlag&4){const p=s||r,w=p;b=at(u.call(w,p,c,f,h,d,y)),E=a}else{const p=t;b=at(p.length>1?p(f,{attrs:a,slots:i,emit:l}):p(f,null)),E=t.props?a:kg(a)}}catch(p){en.length=0,vr(p,e,1),b=Pe(De)}let g=b;if(E&&_!==!1){const p=Object.keys(E),{shapeFlag:w}=g;p.length&&w&7&&(o&&p.some(co)&&(E=Og(E,o)),g=rn(g,E,!1,!0))}if(n.dirs&&(g=rn(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition){const p=So(g.type)&&Us(g)||g;dr(p,n.transition)}return b=g,Hs(L),b}function Pg(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(bn(s)){if(s.type!==De||s.children==="v-if"){if(n)return;n=s}}else return}return n}const kg=e=>{let t;for(const n in e)(n==="class"||n==="style"||ns(n))&&((t||(t={}))[n]=e[n]);return t},Og=(e,t)=>{const n={};for(const r in e)(!co(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ig(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?El(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(vf(i,r,d)&&!Ao(u,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?El(r,i,u):!0:!!i;return!1}function El(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(vf(t,e,o)&&!Ao(n,o))return!0}return!1}function vf(e,t,n){const r=e[n],s=t[n];return n==="style"&&he(r)&&he(s)?!jn(r,s):r!==s}function Po({vnode:e,parent:t,suspense:n},r){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=r,e=s),s===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const Ef={},wf=()=>Object.create(Ef),Cf=e=>Object.getPrototypeOf(e)===Ef;function Ng(e,t,n,r=!1){const s={},o=wf();e.propsDefaults=Object.create(null),Sf(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Mt(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function xg(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=le(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(Ao(e.emitsOptions,d))continue;const h=t[d];if(l)if(me(o,d))h!==o[d]&&(o[d]=h,u=!0);else{const y=tt(d);s[y]=Mi(l,a,y,h,e,!1)}else h!==o[d]&&(o[d]=h,u=!0)}}}else{Sf(e,t,s,o)&&(u=!0);let c;for(const f in a)(!t||!me(t,f)&&((c=vn(f))===f||!me(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=Mi(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!me(t,f))&&(delete o[f],u=!0)}u&&Yt(e.attrs,"set","")}function Sf(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Mn(l))continue;const u=t[l];let c;s&&me(s,c=tt(l))?!o||!o.includes(c)?n[c]=u:(a||(a={}))[c]=u:Ao(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(o){const l=le(n),u=a||Ee;for(let c=0;c<o.length;c++){const f=o[c];n[f]=Mi(s,l,f,u[f],e,!me(u,f))}}return i}function Mi(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=me(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&te(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=ls(s);r=u[n]=l.call(null,t),c()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===vn(n))&&(r=!0))}return r}const Mg=new WeakMap;function Rf(e,t,n=!1){const r=n?Mg:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!te(e)){const c=f=>{l=!0;const[d,h]=Rf(f,t,!0);Be(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return he(e)&&r.set(e,rr),rr;if(Q(o))for(let c=0;c<o.length;c++){const f=tt(o[c]);wl(f)&&(i[f]=Ee)}else if(o)for(const c in o){const f=tt(c);if(wl(f)){const d=o[c],h=i[f]=Q(d)||te(d)?{type:d}:Be({},d),y=h.type;let _=!1,L=!0;if(Q(y))for(let b=0;b<y.length;++b){const E=y[b],g=te(E)&&E.name;if(g==="Boolean"){_=!0;break}else g==="String"&&(L=!1)}else _=te(y)&&y.name==="Boolean";h[0]=_,h[1]=L,(_||me(h,"default"))&&a.push(f)}}const u=[i,a];return he(e)&&r.set(e,u),u}function wl(e){return e[0]!=="$"&&!Mn(e)}const Na=e=>e==="_"||e==="_ctx"||e==="$stable",xa=e=>Q(e)?e.map(at):[at(e)],Dg=(e,t,n)=>{if(t._n)return t;const r=ka((...s)=>xa(t(...s)),n);return r._c=!1,r},Tf=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Na(s))continue;const o=e[s];if(te(o))t[s]=Dg(s,o,r);else if(o!=null){const i=xa(o);t[s]=()=>i}}},Lf=(e,t)=>{const n=xa(t);e.slots.default=()=>n},Af=(e,t,n)=>{for(const r in t)(n||!Na(r))&&(e[r]=t[r])},Fg=(e,t,n)=>{const r=e.slots=wf();if(e.vnode.shapeFlag&32){const s=t._;s?(Af(r,t,n),n&&wu(r,"_",s,!0)):Tf(t,r)}else t&&Lf(e,t)},Hg=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Ee;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Af(s,t,n):(o=!t.$stable,Tf(t,s)),i=t}else t&&(Lf(e,t),i={default:1});if(o)for(const a in s)!Na(a)&&i[a]==null&&delete s[a]},Me=xf;function Ug(e){return Pf(e)}function $g(e){return Pf(e,eg)}function Pf(e,t){const n=go();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=Ft,insertStaticContent:y}=e,_=(v,R,I,$=null,H=null,m=null,C=void 0,P=null,N=!!R.dynamicChildren)=>{if(v===R)return;v&&!Ct(v,R)&&($=U(v),de(v,H,m,!0),v=null),R.patchFlag===-2&&(N=!1,R.dynamicChildren=null);const{type:D,ref:G,shapeFlag:B}=R;switch(D){case yn:L(v,R,I,$);break;case De:b(v,R,I,$);break;case Os:v==null&&E(R,I,$,C);break;case Ve:M(v,R,I,$,H,m,C,P,N);break;default:B&1?w(v,R,I,$,H,m,C,P,N):B&6?V(v,R,I,$,H,m,C,P,N):(B&64||B&128)&&D.process(v,R,I,$,H,m,C,P,N,z)}G!=null&&H?ar(G,v&&v.ref,m,R||v,!R):G==null&&v&&v.ref!=null&&ar(v.ref,null,m,v,!0)},L=(v,R,I,$)=>{if(v==null)r(R.el=a(R.children),I,$);else{const H=R.el=v.el;R.children!==v.children&&u(H,R.children)}},b=(v,R,I,$)=>{v==null?r(R.el=l(R.children||""),I,$):R.el=v.el},E=(v,R,I,$)=>{[v.el,v.anchor]=y(v.children,R,I,$,v.el,v.anchor)},g=({el:v,anchor:R},I,$)=>{let H;for(;v&&v!==R;)H=d(v),r(v,I,$),v=H;r(R,I,$)},p=({el:v,anchor:R})=>{let I;for(;v&&v!==R;)I=d(v),s(v),v=I;s(R)},w=(v,R,I,$,H,m,C,P,N)=>{if(R.type==="svg"?C="svg":R.type==="math"&&(C="mathml"),v==null)T(R,I,$,H,m,C,P,N);else{const D=v.el&&v.el._isVueCE?v.el:null;try{D&&D._beginPatch(),A(v,R,H,m,C,P,N)}finally{D&&D._endPatch()}}},T=(v,R,I,$,H,m,C,P)=>{let N,D;const{props:G,shapeFlag:B,transition:K,dirs:k}=v;if(N=v.el=i(v.type,m,G&&G.is,G),B&8?c(N,v.children):B&16&&O(v.children,N,null,$,H,Qo(v,m),C,P),k&&Nt(v,null,$,"created"),S(N,v,v.scopeId,C,$),G){for(const ne in G)ne!=="value"&&!Mn(ne)&&o(N,ne,null,G[ne],m,$);"value"in G&&o(N,"value",null,G.value,m),(D=G.onVnodeBeforeMount)&&rt(D,$,v)}k&&Nt(v,null,$,"beforeMount");const F=kf(H,K);F&&K.beforeEnter(N),r(N,R,I),((D=G&&G.onVnodeMounted)||F||k)&&Me(()=>{D&&rt(D,$,v),F&&K.enter(N),k&&Nt(v,null,$,"mounted")},H)},S=(v,R,I,$,H)=>{if(I&&h(v,I),$)for(let m=0;m<$.length;m++)h(v,$[m]);if(H){let m=H.subTree;if(R===m||Ks(m.type)&&(m.ssContent===R||m.ssFallback===R)){const C=H.vnode;S(v,C,C.scopeId,C.slotScopeIds,H.parent)}}},O=(v,R,I,$,H,m,C,P,N=0)=>{for(let D=N;D<v.length;D++){const G=v[D]=P?qt(v[D]):at(v[D]);_(null,G,R,I,$,H,m,C,P)}},A=(v,R,I,$,H,m,C)=>{const P=R.el=v.el;let{patchFlag:N,dynamicChildren:D,dirs:G}=R;N|=v.patchFlag&16;const B=v.props||Ee,K=R.props||Ee;let k;if(I&&Rn(I,!1),(k=K.onVnodeBeforeUpdate)&&rt(k,I,R,v),G&&Nt(R,v,I,"beforeUpdate"),I&&Rn(I,!0),D&&(!v.dynamicChildren||v.dynamicChildren.length!==D.length)&&(N=0,C=!1,D=null),(B.innerHTML&&K.innerHTML==null||B.textContent&&K.textContent==null)&&c(P,""),D?x(v.dynamicChildren,D,P,I,$,Qo(R,H),m):C||ee(v,R,P,null,I,$,Qo(R,H),m,!1),N>0){if(N&16)j(P,B,K,I,H);else if(N&2&&B.class!==K.class&&o(P,"class",null,K.class,H),N&4&&o(P,"style",B.style,K.style,H),N&8){const F=R.dynamicProps;for(let ne=0;ne<F.length;ne++){const re=F[ne],be=B[re],ve=K[re];(ve!==be||re==="value")&&o(P,re,be,ve,H,I)}}N&1&&v.children!==R.children&&c(P,R.children)}else!C&&D==null&&j(P,B,K,I,H);((k=K.onVnodeUpdated)||G)&&Me(()=>{k&&rt(k,I,R,v),G&&Nt(R,v,I,"updated")},$)},x=(v,R,I,$,H,m,C)=>{for(let P=0;P<R.length;P++){const N=v[P],D=R[P],G=N.el&&(N.type===Ve||!Ct(N,D)||N.shapeFlag&198)?f(N.el):I;_(N,D,G,null,$,H,m,C,!0)}},j=(v,R,I,$,H)=>{if(R!==I){if(R!==Ee)for(const m in R)!Mn(m)&&!(m in I)&&o(v,m,R[m],null,H,$);for(const m in I){if(Mn(m))continue;const C=I[m],P=R[m];C!==P&&m!=="value"&&o(v,m,P,C,H,$)}"value"in I&&o(v,"value",R.value,I.value,H)}},M=(v,R,I,$,H,m,C,P,N)=>{const D=R.el=v?v.el:a(""),G=R.anchor=v?v.anchor:a("");let{patchFlag:B,dynamicChildren:K,slotScopeIds:k}=R;k&&(P=P?P.concat(k):k),v==null?(r(D,I,$),r(G,I,$),O(R.children||[],I,G,H,m,C,P,N)):B>0&&B&64&&K&&v.dynamicChildren&&v.dynamicChildren.length===K.length?(x(v.dynamicChildren,K,I,H,m,C,P),(R.key!=null||H&&R===H.subTree)&&Ma(v,R,!0)):ee(v,R,I,G,H,m,C,P,N)},V=(v,R,I,$,H,m,C,P,N)=>{R.slotScopeIds=P,v==null?R.shapeFlag&512?H.ctx.activate(R,I,$,C,N):Z(R,I,$,H,m,C,N):se(v,R,N)},Z=(v,R,I,$,H,m,C)=>{const P=v.component=zg(v,$,H);if(is(v)&&(P.ctx.renderer=z),Qg(P,!1,C),P.asyncDep){if(H&&H.registerDep(P,q,C),!v.el){const N=P.subTree=Pe(De);b(null,N,R,I),v.placeholder=N.el}}else q(P,v,R,I,H,m,C)},se=(v,R,I)=>{const $=R.component=v.component;if(Ig(v,R,I))if($.asyncDep&&!$.asyncResolved){J($,R,I);return}else $.next=R,$.update();else R.el=v.el,$.vnode=R},q=(v,R,I,$,H,m,C)=>{const P=()=>{if(v.isMounted){let{next:B,bu:K,u:k,parent:F,vnode:ne}=v;{const Je=Of(v);if(Je){B&&(B.el=ne.el,J(v,B,C)),Je.asyncDep.then(()=>{Me(()=>{v.isUnmounted||D()},H)});return}}let re=B,be;Rn(v,!1),B?(B.el=ne.el,J(v,B,C)):B=ne,K&&or(K),(be=B.props&&B.props.onVnodeBeforeUpdate)&&rt(be,F,B,ne),Rn(v,!0);const ve=zo(v),Ie=v.subTree;v.subTree=ve,_(Ie,ve,f(Ie.el),U(Ie),v,H,m),B.el=ve.el,re===null&&Po(v,ve.el),k&&Me(k,H),(be=B.props&&B.props.onVnodeUpdated)&&Me(()=>rt(be,F,B,ne),H)}else{let B;const{el:K,props:k}=R,{bm:F,m:ne,parent:re,root:be,type:ve}=v,Ie=Zt(R);if(Rn(v,!1),F&&or(F),!Ie&&(B=k&&k.onVnodeBeforeMount)&&rt(B,re,R),Rn(v,!0),K&&_e){const Je=()=>{v.subTree=zo(v),_e(K,v.subTree,v,H,null)};Ie&&ve.__asyncHydrate?ve.__asyncHydrate(K,v,Je):Je()}else{be.ce&&be.ce._hasShadowRoot()&&be.ce._injectChildStyle(ve,v.parent?v.parent.type:void 0);const Je=v.subTree=zo(v);_(null,Je,I,$,v,H,m),R.el=Je.el}if(ne&&Me(ne,H),!Ie&&(B=k&&k.onVnodeMounted)){const Je=R;Me(()=>rt(B,re,Je),H)}(R.shapeFlag&256||re&&Zt(re.vnode)&&re.vnode.shapeFlag&256)&&v.a&&Me(v.a,H),v.isMounted=!0,R=I=$=null}};v.scope.on();const N=v.effect=new Pu(P);v.scope.off();const D=v.update=N.run.bind(N),G=v.job=N.runIfDirty.bind(N);G.i=v,G.id=v.uid,N.scheduler=()=>Pa(G),Rn(v,!0),D()},J=(v,R,I)=>{R.component=v;const $=v.vnode.props;v.vnode=R,v.next=null,xg(v,R.props,$,I),Hg(v,R.children,I),tn(),fl(v),nn()},ee=(v,R,I,$,H,m,C,P,N=!1)=>{const D=v&&v.children,G=v?v.shapeFlag:0,B=R.children,{patchFlag:K,shapeFlag:k}=R;if(K>0){if(K&128){ie(D,B,I,$,H,m,C,P,N);return}else if(K&256){Re(D,B,I,$,H,m,C,P,N);return}}k&8?(G&16&&Ge(D,H,m),B!==D&&c(I,B)):G&16?k&16?ie(D,B,I,$,H,m,C,P,N):Ge(D,H,m,!0):(G&8&&c(I,""),k&16&&O(B,I,$,H,m,C,P,N))},Re=(v,R,I,$,H,m,C,P,N)=>{v=v||rr,R=R||rr;const D=v.length,G=R.length,B=Math.min(D,G);let K;for(K=0;K<B;K++){const k=R[K]=N?qt(R[K]):at(R[K]);_(v[K],k,I,null,H,m,C,P,N)}D>G?Ge(v,H,m,!0,!1,B):O(R,I,$,H,m,C,P,N,B)},ie=(v,R,I,$,H,m,C,P,N)=>{let D=0;const G=R.length;let B=v.length-1,K=G-1;for(;D<=B&&D<=K;){const k=v[D],F=R[D]=N?qt(R[D]):at(R[D]);if(Ct(k,F))_(k,F,I,null,H,m,C,P,N);else break;D++}for(;D<=B&&D<=K;){const k=v[B],F=R[K]=N?qt(R[K]):at(R[K]);if(Ct(k,F))_(k,F,I,null,H,m,C,P,N);else break;B--,K--}if(D>B){if(D<=K){const k=K+1,F=k<G?R[k].el:$;for(;D<=K;)_(null,R[D]=N?qt(R[D]):at(R[D]),I,F,H,m,C,P,N),D++}}else if(D>K)for(;D<=B;)de(v[D],H,m,!0),D++;else{const k=D,F=D,ne=new Map;for(D=F;D<=K;D++){const it=R[D]=N?qt(R[D]):at(R[D]);it.key!=null&&ne.set(it.key,D)}let re,be=0;const ve=K-F+1;let Ie=!1,Je=0;const qn=new Array(ve);for(D=0;D<ve;D++)qn[D]=0;for(D=k;D<=B;D++){const it=v[D];if(be>=ve){de(it,H,m,!0);continue}let Pt;if(it.key!=null)Pt=ne.get(it.key);else for(re=F;re<=K;re++)if(qn[re-F]===0&&Ct(it,R[re])){Pt=re;break}Pt===void 0?de(it,H,m,!0):(qn[Pt-F]=D+1,Pt>=Je?Je=Pt:Ie=!0,_(it,R[Pt],I,null,H,m,C,P,N),be++)}const sl=Ie?jg(qn):rr;for(re=sl.length-1,D=ve-1;D>=0;D--){const it=F+D,Pt=R[it],ol=R[it+1],il=it+1<G?ol.el||If(ol):$;qn[D]===0?_(null,Pt,I,il,H,m,C,P,N):Ie&&(re<0||D!==sl[re]?fe(Pt,I,il,2):re--)}}},fe=(v,R,I,$,H=null)=>{const{el:m,type:C,transition:P,children:N,shapeFlag:D}=v;if(D&6){fe(v.component.subTree,R,I,$);return}if(D&128){v.suspense.move(R,I,$);return}if(D&64){C.move(v,R,I,z);return}if(C===Ve){r(m,R,I);for(let B=0;B<N.length;B++)fe(N[B],R,I,$);r(v.anchor,R,I);return}if(C===Os){g(v,R,I);return}if($!==2&&D&1&&P)if($===0)P.persisted&&!m[pt]?r(m,R,I):(P.beforeEnter(m),r(m,R,I),Me(()=>P.enter(m),H));else{const{leave:B,delayLeave:K,afterLeave:k}=P,F=()=>{v.ctx.isUnmounted?s(m):r(m,R,I)},ne=()=>{const re=m._isLeaving||!!m[pt];m._isLeaving&&m[pt](!0),P.persisted&&!re?F():B(m,()=>{F(),k&&k()})};K?K(m,F,ne):ne()}else r(m,R,I)},de=(v,R,I,$=!1,H=!1)=>{const{type:m,props:C,ref:P,children:N,dynamicChildren:D,shapeFlag:G,patchFlag:B,dirs:K,cacheIndex:k,memo:F}=v;if(B===-2&&(H=!1),P!=null&&(tn(),ar(P,null,I,v,!0),nn()),k!=null&&(R.renderCache[k]=void 0),G&256){R.ctx.deactivate(v);return}const ne=G&1&&K,re=!Zt(v);let be;if(re&&(be=C&&C.onVnodeBeforeUnmount)&&rt(be,R,v),G&6)vt(v.component,I,$);else{if(G&128){v.suspense.unmount(I,$);return}ne&&Nt(v,null,R,"beforeUnmount"),G&64?v.type.remove(v,R,I,z,$):D&&!D.hasOnce&&(m!==Ve||B>0&&B&64)?Ge(D,R,I,!1,!0):(m===Ve&&B&384||!H&&G&16)&&Ge(N,R,I),$&&Lt(v)}const ve=F!=null&&k==null;(re&&(be=C&&C.onVnodeUnmounted)||ne||ve)&&Me(()=>{be&&rt(be,R,v),ne&&Nt(v,null,R,"unmounted"),ve&&(v.el=null)},I)},Lt=v=>{const{type:R,el:I,anchor:$,transition:H}=v;if(R===Ve){At(I,$);return}if(R===Os){p(v);return}const m=()=>{s(I),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(v.shapeFlag&1&&H&&!H.persisted){const{leave:C,delayLeave:P}=H,N=()=>C(I,m);P?P(v.el,m,N):N()}else m()},At=(v,R)=>{let I;for(;v!==R;)I=d(v),s(v),v=I;s(R)},vt=(v,R,I)=>{const{bum:$,scope:H,job:m,subTree:C,um:P,m:N,a:D}=v;Ws(N),Ws(D),$&&or($),H.stop(),m&&(m.flags|=8,de(C,v,R,I)),P&&Me(P,R),Me(()=>{v.isUnmounted=!0},R)},Ge=(v,R,I,$=!1,H=!1,m=0)=>{for(let C=m;C<v.length;C++)de(v[C],R,I,$,H)},U=v=>{if(v.shapeFlag&6)return U(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const R=d(v.anchor||v.el),I=R&&R[ef];return I?d(I):R};let Y=!1;const W=(v,R,I)=>{let $;v==null?R._vnode&&(de(R._vnode,null,null,!0),$=R._vnode.component):_(R._vnode||null,v,R,null,null,null,I),R._vnode=v,Y||(Y=!0,fl($),Fs(),Y=!1)},z={p:_,um:de,m:fe,r:Lt,mt:Z,mc:O,pc:ee,pbc:x,n:U,o:e};let oe,_e;return t&&([oe,_e]=t(z)),{render:W,hydrate:oe,createApp:Rg(W,oe)}}function Qo({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 Rn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function kf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ma(e,t,n=!1){const r=e.children,s=t.children;if(Q(r)&&Q(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=qt(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Ma(i,a)),a.type===yn&&(a.patchFlag===-1&&(a=s[o]=qt(a)),a.el=i.el),a.type===De&&!a.el&&(a.el=i.el)}}function jg(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<u?o=a+1:i=a;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Of(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Of(t)}function Ws(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function If(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?If(t.subTree):null}const Ks=e=>e.__isSuspense;let Di=0;const Bg={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,u){if(e==null)Vg(t,n,r,s,o,i,a,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Wg(e,t,n,r,s,i,a,l,u)}},hydrate:Kg,normalize:Gg},Da=Bg;function Vr(e,t){const n=e.props&&e.props[t];te(n)&&n()}function Vg(e,t,n,r,s,o,i,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=Nf(e,s,r,t,f,n,o,i,a,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(Vr(e,"onPending"),Vr(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),lr(d,e.ssFallback)):d.resolve(!1,!0)}function Wg(e,t,n,r,s,o,i,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:y,pendingBranch:_,isInFallback:L,isHydrating:b}=f;if(_)f.pendingBranch=d,Ct(_,d)?(l(_,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():L&&(b||(l(y,h,n,r,s,null,o,i,a),lr(f,h)))):(f.pendingId=Di++,b?(f.isHydrating=!1,f.activeBranch=_):u(_,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),L?(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(y,h,n,r,s,null,o,i,a),lr(f,h))):y&&Ct(y,d)?(l(y,d,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(y&&Ct(y,d))l(y,d,n,r,s,f,o,i,a),lr(f,d);else if(Vr(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Di++,l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:E,pendingId:g}=f;E>0?setTimeout(()=>{f.pendingId===g&&f.fallback(h)},E):E===0&&f.fallback(h)}}function Nf(e,t,n,r,s,o,i,a,l,u,c=!1){const{p:f,m:d,um:h,n:y,o:{parentNode:_,remove:L}}=u;let b;const E=qg(e);E&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const g=e.props?Cu(e.props.timeout):void 0,p=o,w={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Di++,timeout:typeof g=="number"?g:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(T=!1,S=!1){const{vnode:O,activeBranch:A,pendingBranch:x,pendingId:j,effects:M,parentComponent:V,container:Z,isInFallback:se}=w;let q=!1;if(w.isHydrating)w.isHydrating=!1;else if(!T){q=A&&x.transition&&x.transition.mode==="out-in";let Re=!1;q&&(A.transition.afterLeave=()=>{j===w.pendingId&&(d(x,Z,o===p&&!Re?y(A):o,0),Li(M),se&&O.ssFallback&&(O.ssFallback.el=null))}),A&&!w.isFallbackMountPending&&(_(A.el)===Z&&(o=y(A),Re=!0),h(A,V,w,!0),!q&&se&&O.ssFallback&&Me(()=>O.ssFallback.el=null,w)),q||d(x,Z,o,0)}w.isFallbackMountPending=!1,lr(w,x),w.pendingBranch=null,w.isInFallback=!1;let J=w.parent,ee=!1;for(;J;){if(J.pendingBranch){for(let Re=0;Re<M.length;Re++)J.effects.push(M[Re]);ee=!0;break}J=J.parent}!ee&&!q&&Li(M),w.effects=[],E&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!S&&t.resolve()),Vr(O,"onResolve")},fallback(T){if(!w.pendingBranch)return;const{vnode:S,activeBranch:O,parentComponent:A,container:x,namespace:j}=w;Vr(S,"onFallback");const M=y(O),V=()=>{w.isFallbackMountPending=!1,w.isInFallback&&(f(null,T,x,M,A,null,j,a,l),lr(w,T))},Z=T.transition&&T.transition.mode==="out-in";Z&&(w.isFallbackMountPending=!0,O.transition.afterLeave=V),w.isInFallback=!0,h(O,A,null,!0),Z||V()},move(T,S,O){w.activeBranch&&d(w.activeBranch,T,S,O),w.container=T},next(){return w.activeBranch&&y(w.activeBranch)},registerDep(T,S,O){const A=!!w.pendingBranch;A&&w.deps++;const x=T.vnode.el;T.asyncDep.catch(j=>{vr(j,T,0)}).then(j=>{if(T.isUnmounted||w.isUnmounted||w.pendingId!==T.suspenseId)return;Fi(),T.asyncResolved=!0;const{vnode:M}=T;Hi(T,j),x&&(M.el=x);const V=!x&&T.subTree.el;S(T,M,_(x||T.subTree.el),x?null:y(T.subTree),w,i,O),V&&(M.placeholder=null,L(V)),Po(T,M.el),A&&--w.deps===0&&w.resolve()})},unmount(T,S){w.isUnmounted=!0,w.activeBranch&&h(w.activeBranch,n,T,S),w.pendingBranch&&h(w.pendingBranch,n,T,S)}};return w}function Kg(e,t,n,r,s,o,i,a,l){const u=t.suspense=Nf(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(!1,!0),c}function Gg(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Cl(r?n.default:n),e.ssFallback=r?Cl(n.fallback):Pe(De)}function Cl(e){let t;if(te(e)){const n=Vn&&e._c;n&&(e._d=!1,gt()),e=e(),n&&(e._d=!0,t=Xe,ko())}return Q(e)&&(e=Pg(e)),e=at(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function xf(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Li(e)}function lr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Po(r,s))}function qg(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ve=Symbol.for("v-fgt"),yn=Symbol.for("v-txt"),De=Symbol.for("v-cmt"),Os=Symbol.for("v-stc"),en=[];let Xe=null;function gt(e=!1){en.push(Xe=e?null:[])}function ko(){en.pop(),Xe=en[en.length-1]||null}let Vn=1;function Gs(e,t=!1){Vn+=e,e<0&&Xe&&t&&(Xe.hasOnce=!0)}function Mf(e){return e.dynamicChildren=Vn>0?Xe||rr:null,ko(),Vn>0&&Xe&&Xe.push(e),e}function Df(e,t,n,r,s,o){return Mf(Hf(e,t,n,r,s,o,!0))}function Jt(e,t,n,r,s){return Mf(Pe(e,t,n,r,s,!0))}function bn(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const Ff=({key:e})=>e??null,Is=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ce(e)||Se(e)||te(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function Hf(e,t=null,n=null,r=0,s=null,o=e===Ve?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ff(t),ref:t&&Is(t),scopeId:Qu,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:s,dynamicChildren:null,appContext:null,ctx:Ke};return a?(qs(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ce(n)?8:16),Vn>0&&!i&&Xe&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Xe.push(l),l}const Pe=Yg;function Yg(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===hf)&&(e=De),bn(e)){const a=rn(e,t,!0);return n&&qs(a,n),Vn>0&&!o&&Xe&&(a.shapeFlag&6?Xe[Xe.indexOf(e)]=a:Xe.push(a)),a.patchFlag=-2,a}if(nm(e)&&(e=e.__vccOpts),t){t=Uf(t);let{class:a,style:l}=t;a&&!Ce(a)&&(t.class=yo(a)),he(l)&&(wo(l)&&!Q(l)&&(l=Be({},l)),t.style=mo(l))}const i=Ce(e)?1:Ks(e)?128:So(e)?64:he(e)?4:te(e)?2:0;return Hf(e,t,n,r,s,i,o,!0)}function Uf(e){return e?wo(e)||Cf(e)?Be({},e):e:null}function rn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,u=t?Bf(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ff(u),ref:t&&t.ref?n&&o?Q(o)?o.concat(Is(t)):[o,Is(t)]:Is(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!==Ve?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&rn(e.ssContent),ssFallback:e.ssFallback&&rn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&dr(c,l.clone(c)),c}function $f(e=" ",t=0){return Pe(yn,null,e,t)}function jf(e="",t=!1){return t?(gt(),Jt(De,null,e)):Pe(De,null,e)}function at(e){return e==null||typeof e=="boolean"?Pe(De):Q(e)?Pe(Ve,null,e.slice()):bn(e)?qt(e):Pe(yn,null,String(e))}function qt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:rn(e)}function qs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),qs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Cf(t)?t._ctx=Ke:s===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(te(t)){if(r&65){qs(e,{default:t});return}t={default:t,_ctx:Ke},n=32}else t=String(t),r&64?(n=16,t=[$f(t)]):n=8;e.children=t,e.shapeFlag|=n}function Bf(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=yo([t.class,r.class]));else if(s==="style")t.style=mo([t.style,r.style]);else if(ns(s)){const o=t[s],i=r[s];i&&o!==i&&!(Q(o)&&o.includes(i))?t[s]=o?[].concat(o,i):i:i==null&&o==null&&!co(s)&&(t[s]=i)}else s!==""&&(t[s]=r[s])}return t}function rt(e,t,n,r=null){_t(e,t,7,[n,r])}const Xg=_f();let Jg=0;function zg(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Xg,o={uid:Jg++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Au(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Rf(r,s),emitsOptions:bf(r,s),emit:null,emitted:null,propsDefaults:Ee,inheritAttrs:r.inheritAttrs,ctx:Ee,data:Ee,props:Ee,attrs:Ee,slots:Ee,refs:Ee,setupState:Ee,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=Lg.bind(null,o),e.ce&&e.ce(o),o}let We=null;const an=()=>We||Ke;let Ys,Wr;{const e=go(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Ys=t("__VUE_INSTANCE_SETTERS__",n=>We=n),Wr=t("__VUE_SSR_SETTERS__",n=>hr=n)}const ls=e=>{const t=We;return Ys(e),e.scope.on(),()=>{e.scope.off(),Ys(t)}},Fi=()=>{We&&We.scope.off(),Ys(null)};function Vf(e){return e.vnode.shapeFlag&4}let hr=!1;function Qg(e,t=!1,n=!1){t&&Wr(t);const{props:r,children:s}=e.vnode,o=Vf(e);Ng(e,r,o,t),Fg(e,s,n||t);const i=o?Zg(e,t):void 0;return t&&Wr(!1),i}function Zg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_g);const{setup:r}=n;if(r){tn();const s=e.setupContext=r.length>1?tm(e):null,o=ls(e),i=ss(r,e,0,[e.props,s]),a=bu(i);if(nn(),o(),(a||e.sp)&&!Zt(e)&&Oa(e),a){if(i.then(Fi,Fi),t)return i.then(l=>{Wr(!0);try{Hi(e,l,t)}finally{Wr(!1)}}).catch(l=>{vr(l,e,0)});e.asyncDep=i}else Hi(e,i)}else Wf(e)}function Hi(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=Gu(t)),Wf(e)}function Wf(e,t,n){const r=e.type;e.render||(e.render=r.render||Ft);{const s=ls(e);tn();try{bg(e)}finally{nn(),s()}}}const em={get(e,t){return Ye(e,"get",""),e[t]}};function tm(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,em),slots:e.slots,emit:e.emit,expose:t}}function Oo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Gu(Aa(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in xr)return xr[n](e)},has(t,n){return n in t||n in xr}})):e.proxy}function Ui(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function nm(e){return te(e)&&"__vccOpts"in e}const xe=(e,t)=>Fp(e,t,hr);function Fe(e,t,n){try{Gs(-1);const r=arguments.length;return r===2?he(t)&&!Q(t)?bn(t)?Pe(e,null,[t]):Pe(e,t):Pe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&bn(n)&&(n=[n]),Pe(e,t,n))}finally{Gs(1)}}function kS(e,t,n,r){const s=n[r];if(s&&rm(s,e))return s;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o}function rm(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(wt(n[r],t[r]))return!1;return Vn>0&&Xe&&Xe.push(e),!0}const sm="3.5.41";let $i;const Sl=typeof window<"u"&&window.trustedTypes;if(Sl)try{$i=Sl.createPolicy("vue",{createHTML:e=>e})}catch{}const Kf=$i?e=>$i.createHTML(e):e=>e,om="http://www.w3.org/2000/svg",im="http://www.w3.org/1998/Math/MathML",Gt=typeof document<"u"?document:null,Rl=Gt&&Gt.createElement("template"),am={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 s=t==="svg"?Gt.createElementNS(om,e):t==="mathml"?Gt.createElementNS(im,e):n?Gt.createElement(e,{is:n}):Gt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Gt.createTextNode(e),createComment:e=>Gt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Gt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Rl.innerHTML=Kf(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Rl.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ln="transition",Cr="animation",Kr=Symbol("_vtc"),Gf={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},lm=Be({},tf,Gf),cm=e=>(e.displayName="Transition",e.props=lm,e),um=cm((e,{slots:t})=>Fe(zp,fm(e),t)),Tn=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},Tl=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function fm(e){const t={};for(const M in e)M in Gf||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,y=dm(s),_=y&&y[0],L=y&&y[1],{onBeforeEnter:b,onEnter:E,onEnterCancelled:g,onLeave:p,onLeaveCancelled:w,onBeforeAppear:T=b,onAppear:S=E,onAppearCancelled:O=g}=t,A=(M,V,Z,se)=>{M._enterCancelled=se,Ln(M,V?c:a),Ln(M,V?u:i),Z&&Z()},x=(M,V)=>{M._isLeaving=!1,Ln(M,f),Ln(M,h),Ln(M,d),V&&V()},j=M=>(V,Z)=>{const se=M?S:E,q=()=>A(V,M,Z);Tn(se,[V,q]),Ll(()=>{Ln(V,M?l:o),Bt(V,M?c:a),Tl(se)||Al(V,r,_,q)})};return Be(t,{onBeforeEnter(M){Tn(b,[M]),Bt(M,o),Bt(M,i)},onBeforeAppear(M){Tn(T,[M]),Bt(M,l),Bt(M,u)},onEnter:j(!1),onAppear:j(!0),onLeave(M,V){M._isLeaving=!0;const Z=()=>x(M,V);Bt(M,f),M._enterCancelled?(Bt(M,d),Ol(M)):(Ol(M),Bt(M,d)),Ll(()=>{M._isLeaving&&(Ln(M,f),Bt(M,h),Tl(p)||Al(M,r,L,Z))}),Tn(p,[M,Z])},onEnterCancelled(M){A(M,!1,void 0,!0),Tn(g,[M])},onAppearCancelled(M){A(M,!0,void 0,!0),Tn(O,[M])},onLeaveCancelled(M){x(M),Tn(w,[M])}})}function dm(e){if(e==null)return null;if(he(e))return[Zo(e.enter),Zo(e.leave)];{const t=Zo(e);return[t,t]}}function Zo(e){return Cu(e)}function Bt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Kr]||(e[Kr]=new Set)).add(t)}function Ln(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Kr];n&&(n.delete(t),n.size||(e[Kr]=void 0))}function Ll(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let hm=0;function Al(e,t,n,r){const s=e._endId=++hm,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=pm(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),o()},d=h=>{h.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,d)}function pm(e,t){const n=window.getComputedStyle(e),r=y=>(n[y]||"").split(", "),s=r(`${ln}Delay`),o=r(`${ln}Duration`),i=Pl(s,o),a=r(`${Cr}Delay`),l=r(`${Cr}Duration`),u=Pl(a,l);let c=null,f=0,d=0;t===ln?i>0&&(c=ln,f=i,d=o.length):t===Cr?u>0&&(c=Cr,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?ln:Cr:null,d=c?c===ln?o.length:l.length:0);const h=c===ln&&/\b(?:transform|all)(?:,|$)/.test(r(`${ln}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function Pl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>kl(n)+kl(e[r])))}function kl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ol(e){return(e?e.ownerDocument:document).body.offsetHeight}function gm(e,t,n){const r=e[Kr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Xs=Symbol("_vod"),qf=Symbol("_vsh"),OS={name:"show",beforeMount(e,{value:t},{transition:n}){e[Xs]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Sr(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),Sr(e,!0),r.enter(e)):r.leave(e,()=>{Sr(e,!1)}):Sr(e,t))},beforeUnmount(e,{value:t}){Sr(e,t)}};function Sr(e,t){e.style.display=t?e[Xs]:"none",e[qf]=!t}const mm=Symbol(""),ym=/(?:^|;)\s*display\s*:/;function _m(e,t,n){const r=e.style,s=Ce(n);let o=!1;if(n&&!s){if(t)if(Ce(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Or(r,a,"")}else for(const i in t)n[i]==null&&Or(r,i,"");for(const i in n){i==="display"&&(o=!0);const a=n[i];a!=null?vm(e,i,!Ce(t)&&t?t[i]:void 0,a)||Or(r,i,a):Or(r,i,"")}}else if(s){if(t!==n){const i=r[mm];i&&(n+=";"+i),r.cssText=n,o=ym.test(n)}}else t&&e.removeAttribute("style");Xs in e&&(e[Xs]=o?r.display:"",e[qf]&&(r.display="none"))}const Il=/\s*!important$/;function Or(e,t,n){if(Q(n))n.forEach(r=>Or(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=bm(e,t);Il.test(n)?e.setProperty(vn(r),n.replace(Il,""),"important"):e[r]=n}}const Nl=["Webkit","Moz","ms"],ei={};function bm(e,t){const n=ei[t];if(n)return n;let r=tt(t);if(r!=="filter"&&r in e)return ei[t]=r;r=po(r);for(let s=0;s<Nl.length;s++){const o=Nl[s]+r;if(o in e)return ei[t]=o}return t}function vm(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ce(r)&&n===r}const xl="http://www.w3.org/1999/xlink";function Ml(e,t,n,r,s,o=ap(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(xl,t.slice(6,t.length)):e.setAttributeNS(xl,t,n):n==null||o&&!Su(n)?e.removeAttribute(t):e.setAttribute(t,o?"":ut(n)?String(n):n)}function Dl(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Kf(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Su(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function pn(e,t,n,r){e.addEventListener(t,n,r)}function Em(e,t,n,r){e.removeEventListener(t,n,r)}const Fl=Symbol("_vei");function wm(e,t,n,r,s=null){const o=e[Fl]||(e[Fl]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=Rm(t);if(r){const u=o[t]=Am(r,s);pn(e,a,u,l)}else i&&(Em(e,a,i,l),o[t]=void 0)}}const Cm=/(Once|Passive|Capture)$/,Sm=/^on:?(?:Once|Passive|Capture)$/;function Rm(e){let t,n;for(;(n=e.match(Cm))&&!Sm.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):vn(e.slice(2)),t]}let ti=0;const Tm=Promise.resolve(),Lm=()=>ti||(Tm.then(()=>ti=0),ti=Date.now());function Am(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const s=n.value;if(Q(s)){const o=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{o.call(r),r._stopped=!0};const i=s.slice(),a=[r];for(let l=0;l<i.length&&!r._stopped;l++){const u=i[l];u&&_t(u,t,5,a)}}else _t(s,t,5,[r])};return n.value=e,n.attached=Lm(),n}const Hl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Pm=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?gm(e,r,i):t==="style"?_m(e,n,r):ns(t)?co(t)||wm(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):km(e,t,r,i))?(Dl(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ml(e,t,r,i,o,t!=="value")):e._isVueCE&&(Om(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ce(r)))?Dl(e,tt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ml(e,t,r,i))};function km(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Hl(t)&&te(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Hl(t)&&Ce(n)?!1:t in e}function Om(e,t){const n=e._def.props;if(!n)return!1;const r=tt(t);return Array.isArray(n)?n.some(s=>tt(s)===r):Object.keys(n).some(s=>tt(s)===r)}const pr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Q(t)?n=>or(t,n):t};function Im(e){e.target.composing=!0}function Ul(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Dt=Symbol("_assign"),bs=Symbol("_initialValue");function ni(e,t,n){return t&&(e=e.trim()),n&&(e=Sa(e)),e}const IS={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e.parentNode&&(e.type==="text"?e[bs]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[bs]=e.defaultValue.replace(/\r\n?/g,`
|
|
5
|
+
`))),e[Dt]=pr(s);const o=r||s.props&&s.props.type==="number";pn(e,t?"change":"input",i=>{i.target.composing||e[Dt](ni(e.value,n,o))}),(n||o)&&pn(e,"change",()=>{e.value=ni(e.value,n,o)}),t||(pn(e,"compositionstart",Im),pn(e,"compositionend",Ul),pn(e,"change",Ul))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){const s=t??"",o=e[bs];delete e[bs],o!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==o?e[Dt](ni(e.value,n,r)):e.value=s},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Dt]=pr(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?Sa(e.value):e.value,l=t??"";if(a===l)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l)}},NS={deep:!0,created(e,t,n){e[Dt]=pr(n),pn(e,"change",()=>{const r=e._modelValue,s=Yf(e),o=e.checked,i=e[Dt];if(Q(r)){const a=Ru(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const u=[...r];u.splice(a,1),i(u)}}else if(uo(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Xf(e,o))})},mounted:$l,beforeUpdate(e,t,n){e[Dt]=pr(n),$l(e,t,n)}};function $l(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(Q(t))s=Ru(t,r.props.value)>-1;else if(uo(t))s=t.has(r.props.value);else{if(t===n)return;s=jn(t,Xf(e,!0))}e.checked!==s&&(e.checked=s)}const xS={created(e,{value:t},n){e.checked=jn(t,n.props.value),e[Dt]=pr(n),pn(e,"change",()=>{e[Dt](Yf(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Dt]=pr(r),t!==n&&(e.checked=jn(t,r.props.value))}};function Yf(e){return"_value"in e?e._value:e.value}function Xf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Nm=["ctrl","shift","alt","meta"],xm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Nm.some(n=>e[`${n}Key`]&&!t.includes(n))},MS=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...o)=>{for(let i=0;i<t.length;i++){const a=xm[t[i]];if(a&&a(s,t))return}return e(s,...o)}))},Mm={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},DS=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(s=>{if(!("key"in s))return;const o=vn(s.key);if(t.some(i=>i===o||Mm[i]===o))return e(s)}))},Jf=Be({patchProp:Pm},am);let Mr,jl=!1;function Dm(){return Mr||(Mr=Ug(Jf))}function Fm(){return Mr=jl?Mr:$g(Jf),jl=!0,Mr}const Hm=((...e)=>{const t=Dm().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Qf(r);if(!s)return;const o=t._component;!te(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,zf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),Um=((...e)=>{const t=Fm().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Qf(r);if(s)return n(s,!0,zf(s))},t});function zf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Qf(e){return Ce(e)?document.querySelector(e):e}const $m=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,jm=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Bm=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Vm(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Wm(e);return}return t}function Wm(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Gr(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Bm.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if($m.test(e)||jm.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Vm)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Zf=/#/g,ed=/&/g,Km=/\//g,Gm=/=/g,qm=/\?/g,Io=/\+/g,Ym=/%5e/gi,Xm=/%60/gi,Jm=/%7c/gi,zm=/%20/gi,Qm=/%2f/gi,Zm=/%252f/gi;function td(e){return encodeURI(""+e).replace(Jm,"|")}function ji(e){return td(typeof e=="string"?e:JSON.stringify(e)).replace(Io,"%2B").replace(zm,"+").replace(Zf,"%23").replace(ed,"%26").replace(Xm,"`").replace(Ym,"^").replace(Km,"%2F")}function ri(e){return ji(e).replace(Gm,"%3D")}function ey(e){return td(e).replace(Zf,"%23").replace(qm,"%3F").replace(Zm,"%2F").replace(ed,"%26").replace(Io,"%2B")}function qr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ty(e){return qr(e.replace(Qm,"%252F"))}function ny(e){return qr(e.replace(Io," "))}function ry(e){return qr(e.replace(Io," "))}function Fa(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=ny(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=ry(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function sy(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ri(e)}=${ji(n)}`).join("&"):`${ri(e)}=${ji(t)}`:ri(e)}function oy(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>sy(t,e[t])).filter(Boolean).join("&")}const iy=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,ay=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,ly=/^([/\\]\s*){2,}[^/\\]/,cy=/^[\s\0]*(blob|data|javascript|vbscript):$/i,uy=/\/$|\/\?|\/#/,fy=/^\.?\//;function $t(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?iy.test(e):ay.test(e)||(t.acceptRelative?ly.test(e):!1)}function Bi(e){return!!e&&cy.test(e)}function Vi(e="",t){return t?uy.test(e):e.endsWith("/")}function Yr(e="",t){if(!t)return(Vi(e)?e.slice(0,-1):e)||"/";if(!Vi(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function nd(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Vi(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Ha(e,t){if(rd(t)||$t(e))return e;const n=Yr(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return cs(n,e)}function Bl(e,t){if(rd(t))return e;const n=Yr(t);if(!e.startsWith(n))return e;const r=e[n.length];return r&&r!=="/"&&r!=="?"?e:"/"+e.slice(n.length).replace(/^\/+/,"")}function No(e,t){const n=xo(e),r={...Fa(n.search),...t};return n.search=oy(r),hy(n)}function rd(e){return!e||e==="/"}function dy(e){return e&&e!=="/"}function cs(e,...t){let n=e||"";for(const r of t.filter(s=>dy(s)))if(n){const s=r.replace(fy,"");n=nd(n)+s}else n=r;return n}function sd(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[a,l]of i.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&$t(r[0]))continue;r.pop(),s--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),s++}}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function od(e,t){return qr(Yr(e))===qr(Yr(t))}const id=Symbol.for("ufo:protocolRelative");function xo(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!$t(e,{acceptRelative:!0}))return Js(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=Js(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:u,hash:c,[id]:!r}}function Js(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function hy(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[id]?(e.protocol||"")+"//":"")+s+o+t+n+r}class py extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function gy(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new py(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[u]}});return a}const my=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Vl(e="GET"){return my.has(e.toUpperCase())}function yy(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const _y=new Set(["image/svg","application/xml","application/xhtml","application/html"]),by=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function vy(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return by.test(t)?"json":t==="text/event-stream"?"stream":_y.has(t)||t.startsWith("text/")?"text":"blob"}function Ey(e,t,n,r){const s=wy(t?.headers??e?.headers,n?.headers,r);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:s}}function wy(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function vs(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Cy=new Set([408,409,425,429,500,502,503,504]),Sy=new Set([101,204,205,304]);function ad(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=Vl(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Cy.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),o(a.request,{...a.options,retry:c-1})}}const u=gy(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,o),u}const o=async function(l,u={}){const c={request:l,options:Ey(l,u,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await vs(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=Ha(c.request,c.options.baseURL)),c.options.query&&(c.request=No(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&Vl(c.options.method))if(yy(c.options.body)){const h=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=h==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),h||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let f;if(!c.options.signal&&c.options.timeout){const h=new r;f=setTimeout(()=>{const y=new Error("[TimeoutError]: The operation was aborted due to timeout");y.name="TimeoutError",y.code=23,h.abort(y)},c.options.timeout),c.options.signal=h.signal}try{c.response=await t(c.request,c.options)}catch(h){return c.error=h,c.options.onRequestError&&await vs(c,c.options.onRequestError),await s(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!Sy.has(c.response.status)&&c.options.method!=="HEAD"){const h=(c.options.parseResponse?"json":c.options.responseType)||vy(c.response.headers.get("content-type")||"");switch(h){case"json":{const y=await c.response.text(),_=c.options.parseResponse||Gr;c.response._data=_(y);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[h]()}}return c.options.onResponse&&await vs(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await vs(c,c.options.onResponseError),await s(c)):c.response},i=async function(l,u){return(await o(l,u))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},l={})=>ad({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const zs=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),Ry=zs.fetch?(...e)=>zs.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Ty=zs.Headers,Ly=zs.AbortController,Ay=ad({fetch:Ry,Headers:Ty,AbortController:Ly}),Py=Ay,ky=()=>window?.__NUXT__?.config||{},Ua=()=>ky().app,Oy=()=>Ua().baseURL,Iy=()=>Ua().buildAssetsDir,$a=(...e)=>sd(ld(),Iy(),...e),ld=(...e)=>{const t=Ua(),n=t.cdnURL||t.baseURL;return e.length?sd(n,...e):n};globalThis.__buildAssetsURL=$a,globalThis.__publicAssetsURL=ld;globalThis.$fetch||(globalThis.$fetch=Py.create({baseURL:Oy()}));"global"in globalThis||(globalThis.global=globalThis);function Wi(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Wi(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Ny={run:e=>e()},xy=()=>Ny,cd=typeof console.createTask<"u"?console.createTask:xy;function My(e,t){const n=t.shift(),r=cd(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function Dy(e,t){const n=t.shift(),r=cd(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function si(e,t){for(const n of[...e])n(t)}let Fy=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Wi(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Wi(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(My,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Dy,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&si(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&si(this._after,s)}):(this._after&&s&&si(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}};function Hy(){return new Fy}function Uy(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},u=()=>t===i?l:void 0;Ki.add(u);try{const c=s?s.run(i,a):a();return n||(t=void 0),await c}finally{Ki.delete(u)}}}}function $y(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Uy({...e,...r})),t[n]}}}const Qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Wl="__unctx__",jy=Qs[Wl]||(Qs[Wl]=$y()),By=(e,t={})=>jy.get(e,t),Kl="__unctx_async_handlers__",Ki=Qs[Kl]||(Qs[Kl]=new Set);function cr(e){const t=[];for(const s of Ki){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const Gl=!1,ql=!1,Vy=!1,HS={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},Wy=null,Ky="#__nuxt",ud="nuxt-app",Yl=36e5,Gy="vite:preloadError";function fd(e=ud){return By(e,{asyncContext:!1})}const qy="__nuxt_plugin";function Yy(e){let t=0;const n={_id:e.id||ud||"nuxt-app",_scope:rs(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.21.10"},get vue(){return n.vueApp.version}},payload:Mt({...e.ssrContext?.payload||{},data:Mt({}),state:sn({}),once:new Set,_errors:Mt({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!En()?n._scope.run(()=>Xl(n,s)):Xl(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Mt({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=Hy(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Es(n,i,o),Es(n.vueApp.config.globalProperties,i,o)},Es(n.vueApp,"$nuxt",n),Es(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(Gy,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload?.message?.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=ue;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function Xy(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Jy(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function zy(e,t){const n=new Set,r=[],s=[];let o,i=0;async function a(l){const u=l.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!n.has(c))??[];if(u.length>0)r.push([new Set(u),l]);else{const c=Jy(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([f,d])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await a(d)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;o||=f});l.parallel?s.push(c):await c}}for(const l of t)Xy(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(o)throw e.payload.error||o}function nt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[qy]:!0,_name:t})}const Qy=nt;function Xl(e,t,n){const r=()=>t();return fd(e._id).set(e),e.vueApp.runWithContext(r)}function dd(e){let t;return os()&&(t=an()?.appContext.app.$nuxt),t||=fd(e).tryUse(),t||null}function ue(e){const t=dd(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function us(e){return ue().$config}function Es(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function oi(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Gi(e,t,n=".",r){if(!oi(t))return Gi(e,{},n,r);const s={...t};for(const o of Object.keys(e)){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:oi(i)&&oi(s[o])?s[o]=Gi(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function hd(e){return(...t)=>t.reduce((n,r)=>Gi(n,r,"",e),{})}const qi=hd();function Zy(e,t){try{return t in e}catch{return!1}}class Jl extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Yi(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=pd(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function e_(e){if(typeof e=="string")return new Jl(e);if(t_(e))return e;const t=new Jl(e.message??e.statusMessage??"",{cause:e.cause||e});if(Zy(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Yi(e.statusCode,t.statusCode):e.status&&(t.statusCode=Yi(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;pd(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function t_(e){return e?.constructor?.__h3_error__===!0}const n_=/[^\u0009\u0020-\u007E]/g;function pd(e=""){return e.replace(n_,"")}function Yi(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Xi=Symbol("layout-meta"),Wn=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const ft=()=>ue()?.$router;function r_(e){const t=e.scope;let n=En();for(;n;){if(n===t)return!0;n=n.parent}return!1}const Mo=()=>{if(os()){const e=an();if(!e||r_(e))return Ue(Wn,ue()._route)}return ue()._route};const s_=()=>{try{if(ue()._processingMiddleware)return!0}catch{return!1}return!1},Nn=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?o_(e):ft().resolve(e).href;if(t?.open){const{protocol:u}=new URL(n,window.location.href);if(u&&Bi(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`);const{target:c="_blank",windowFeatures:f={}}=t.open,d=[];for(const[h,y]of Object.entries(f))y!==void 0&&d.push(`${h.toLowerCase()}=${y}`);return open(n,c,d.join(", ")),Promise.resolve()}const r=$t(n,{acceptRelative:!0}),s=t?.external||r;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:u}=new URL(n,window.location.href);if(u&&Bi(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const o=s_();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:u,search:c,hash:f}=xo(e);return{path:u,...c&&{query:Fa(c)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const i=ft(),a=ue();if(s)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const l=typeof e=="string"?i_(e):e;return t?.replace?i.replace(l):i.push(l)};function o_(e){return No(e.path||"",e.query||{})+(e.hash||"")}function i_(e){const t=xo(e);return ey(ty(t.pathname))+t.search+t.hash}const gd="__nuxt_error",Do=()=>qu(ue().payload,"error"),kn=e=>{const t=Hn(e);try{const n=Do();ue().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},a_=async(e={})=>{const t=ue(),n=Do();t.callHook("app:error:cleared",e),e.redirect&&await ft().replace(e.redirect),n.value=Wy},md=e=>!!e&&typeof e=="object"&&gd in e,Hn=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=e_(e);return Object.defineProperty(t,gd,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};let yd;const fs=e=>yd=e,_d=Symbol();function Ji(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Dr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Dr||(Dr={}));function l_(){const e=rs(!0),t=e.run(()=>st({}));let n=[],r=[];const s=Aa({install(o){fs(s),s._a=o,o.provide(_d,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const bd=()=>{};function zl(e,t,n,r=bd){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&En()&&Ur(s),s}function Jn(e,...t){e.slice().forEach(n=>{n(...t)})}const c_=e=>e(),Ql=Symbol(),ii=Symbol();function zi(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Ji(s)&&Ji(r)&&e.hasOwnProperty(n)&&!Se(r)&&!Ht(r)?e[n]=zi(s,r):e[n]=r}return e}const u_=Symbol();function f_(e){return!Ji(e)||!e.hasOwnProperty(u_)}const{assign:un}=Object;function d_(e){return!!(Se(e)&&e.effect)}function h_(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=s?s():{});const c=Np(n.state.value[e]);return un(c,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=Aa(xe(()=>{fs(n);const h=n._s.get(e);return i[d].call(h,h)})),f),{}))}return l=vd(e,u,t,n,r,!0),l}function vd(e,t,n={},r,s,o){let i;const a=un({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],h;const y=r.state.value[e];!o&&!y&&(r.state.value[e]={});let _;function L(O){let A;u=c=!1,typeof O=="function"?(O(r.state.value[e]),A={type:Dr.patchFunction,storeId:e,events:h}):(zi(r.state.value[e],O),A={type:Dr.patchObject,payload:O,storeId:e,events:h});const x=_=Symbol();_n().then(()=>{_===x&&(u=!0)}),c=!0,Jn(f,A,r.state.value[e])}const b=o?function(){const{state:A}=n,x=A?A():{};this.$patch(j=>{un(j,x)})}:bd;function E(){i.stop(),f=[],d=[],r._s.delete(e)}const g=(O,A="")=>{if(Ql in O)return O[ii]=A,O;const x=function(){fs(r);const j=Array.from(arguments),M=[],V=[];function Z(J){M.push(J)}function se(J){V.push(J)}Jn(d,{args:j,name:x[ii],store:w,after:Z,onError:se});let q;try{q=O.apply(this&&this.$id===e?this:w,j)}catch(J){throw Jn(V,J),J}return q instanceof Promise?q.then(J=>(Jn(M,J),J)).catch(J=>(Jn(V,J),Promise.reject(J))):(Jn(M,q),q)};return x[Ql]=!0,x[ii]=A,x},p={_p:r,$id:e,$onAction:zl.bind(null,d),$patch:L,$reset:b,$subscribe(O,A={}){const x=zl(f,O,A.detached,()=>j()),j=i.run(()=>ot(()=>r.state.value[e],M=>{(A.flush==="sync"?c:u)&&O({storeId:e,type:Dr.direct,events:h},M)},un({},l,A)));return x},$dispose:E},w=sn(p);r._s.set(e,w);const S=(r._a&&r._a.runWithContext||c_)(()=>r._e.run(()=>(i=rs()).run(()=>t({action:g}))));for(const O in S){const A=S[O];if(Se(A)&&!d_(A)||Ht(A))o||(y&&f_(A)&&(Se(A)?A.value=y[O]:zi(A,y[O])),r.state.value[e][O]=A);else if(typeof A=="function"){const x=g(A,O);S[O]=x,a.actions[O]=A}}return un(w,S),un(le(w),S),Object.defineProperty(w,"$state",{get:()=>r.state.value[e],set:O=>{L(A=>{un(A,O)})}}),r._p.forEach(O=>{un(w,i.run(()=>O({store:w,app:r._a,pinia:r,options:a})))}),y&&o&&n.hydrate&&n.hydrate(w.$state,y),u=!0,c=!0,w}function Ed(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function i(a,l){const u=os();return a=a||(u?Ue(_d,null):null),a&&fs(a),a=yd,a._s.has(r)||(o?vd(r,t,s,a):h_(r,s,a)),a._s.get(r)}return i.$id=r,i}const p_=-1,g_=-2,m_=-3,y_=-4,__=-5,b_=-6,v_=-7,wd=2**32-1,Qi=wd-1;function E_(e){return!(!Number.isInteger(e)||e<0||e>Qi)}function w_(e){return!(!Number.isInteger(e)||e<0||e>wd)}function C_(e){return Uint8Array.fromBase64(e).buffer}function S_(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function R_(e){const t=atob(e),n=t.length,r=new Uint8Array(n);for(let s=0;s<n;s++)r[s]=t.charCodeAt(s);return r.buffer}const T_=typeof Uint8Array.fromBase64=="function",L_=typeof process=="object"&&process.versions?.node!==void 0,A_=T_?C_:L_?S_:R_;function P_(e,t){return e}const k_={fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e==="URL"?new URL(t):e==="URLSearchParams"?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,n,r)=>{const s=globalThis[e];return n!==void 0?new s(t,n,r):new s(t)},box:e=>Object(e),createArray:e=>new Array(e),createSparseArray:e=>{const t=[];return t[Qi]=void 0,delete t[Qi],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,n)=>{e[t]=n},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,n)=>{e.set(t,n)}},O_=Object.freeze(k_);function I_(e,t,n){return N_(JSON.parse(e),t)}function N_(e,t,n){const r=P_(O_);if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const s=e,o=Array(s.length);let i=null;function a(l,u=!1){if(l===p_)return r.fromPrimitive(void 0);if(l===m_)return r.fromPrimitive(NaN);if(l===y_)return r.fromPrimitive(1/0);if(l===__)return r.fromPrimitive(-1/0);if(l===b_)return r.fromPrimitive(-0);if(u||typeof l!="number")throw new Error("Invalid input");if(l in o)return o[l];const c=s[l];if(!c||typeof c!="object")o[l]=r.fromPrimitive(c);else if(Array.isArray(c))if(typeof c[0]=="string"){const f=c[0],d=t&&Object.hasOwn(t,f)?t[f]:void 0;if(d){let h=c[1];if(typeof h!="number"&&(h=s.push(c[1])-1),Object.hasOwn(o,h))return o[l]=d(o[h]);if(i??=new Set,i.has(h))throw new Error("Invalid circular reference");return i.add(h),o[l]=d(a(h)),i.delete(h),o[l]}switch(f){case"Date":o[l]=r.fromISOString(c[1]);break;case"Set":const h=r.createSet();o[l]=h;for(let L=1;L<c.length;L+=1)r.addValue(h,a(c[L]));break;case"Map":const y=r.createMap();o[l]=y;for(let L=1;L<c.length;L+=2)r.addEntry(y,a(c[L]),a(c[L+1]));break;case"RegExp":o[l]=r.fromRegExpInfo(c[1],c[2]);break;case"Object":{const L=c[1];if(typeof s[L]=="object"&&s[L][0]!=="BigInt")throw new Error("Invalid input");o[l]=r.box(a(L));break}case"BigInt":o[l]=r.fromPrimitive(BigInt(c[1]));break;case"null":const _=r.createNullPrototypeObject();o[l]=_;for(let L=1;L<c.length;L+=2){if(c[L]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");r.set(_,c[L],a(c[L+1]))}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(s[c[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const L=a(c[1]);o[l]=r.fromViewInfo(f,L,c[2],c[3]);break}case"ArrayBuffer":{const L=c[1];if(typeof L!="string")throw new Error("Invalid ArrayBuffer encoding");o[l]=r.fromArrayBuffer(A_(L));break}case"URL":case"URLSearchParams":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{o[l]=r.fromStringValue(f,c[1]);break}default:throw new Error(`Unknown type ${f}`)}}else if(c[0]===v_){const f=c[1];if(!w_(f))throw new Error("Invalid input");const d=r.createSparseArray(f);o[l]=d;for(let h=2;h<c.length;h+=2){const y=c[h];if(!E_(y)||y>=f)throw new Error("Invalid input");r.set(d,y,a(c[h+1]))}}else{const f=r.createArray(c.length);o[l]=f;for(let d=0;d<c.length;d+=1){const h=c[d];h!==g_&&r.set(f,d,a(h))}}else{const f=r.createObject();o[l]=f;for(const d of Object.keys(c)){if(d==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");r.set(f,d,a(c[d]))}}return o[l]}return a(0)}const x_=new Set(["link","style","script","noscript"]),M_=new Set(["title","titleTemplate","script","style","noscript"]),Zi=new Set(["base","meta","link","style","script","noscript"]),D_=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),F_=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Zl=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),H_=new Set(["templateParams","htmlAttrs","bodyAttrs"]),U_=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),ai=e=>typeof e=="number"?Number.isFinite(e):e;function Cd(e){return e==="__proto__"||e==="constructor"||e==="prototype"}const ea=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,ec={base:-10,title:10},$_={critical:-8,high:-1,low:2},tc={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},j_=/@import/,Rr=e=>e===""||e===!0;function B_(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=$_[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:tc;if(t.tag in ec)n=ec[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=tc.meta[o])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);Rr(t.props.async)?n=s.script.async:t.props.src&&!Rr(t.props.defer)&&!Rr(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(Rr(t.props.defer)&&t.props.src&&!Rr(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&j_.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function ta(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?ta(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Sd=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Rd(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const o=r?r.run(()=>e[s](...t)):e[s](...t);if(o&&typeof o.then=="function")return Promise.resolve(o).then(()=>Rd(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function V_(e,t,n){if(e.length>0)return Rd(e,t,0,Sd(n))}function W_(e,t,n){if(e.length>0){const r=Sd(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function li(e,t){for(const n of[...e])n(t)}var K_=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let o=s.message;o||(o=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...s)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...s));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=ta(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=ta(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(V_,e,t)}callHookParallel(e,...t){return this.callHookWith(W_,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&li(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&li(this._after,r)}):(this._after&&r&&li(this._after,r),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function G_(){return new K_}const q_=["name","property","http-equiv"],Y_=new Set(["viewport","description","keywords","robots"]);function Td(e){const t=e.indexOf(":");if(t===-1)return!1;const n=e.indexOf(":",t+1),r=e.slice(t+1,n===-1?e.length:n);return r==="twitter"?e==="meta:twitter:image"||e.startsWith("meta:twitter:image:"):U_.has(r)}function na(e){const{props:t,tag:n}=e;if(F_.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||""}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of q_)if(t[r]!==void 0){const s=t[r],o=s&&typeof s=="string"&&s.includes(":"),i=s&&Y_.has(s),l=!(o||i)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(M_.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Ld(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;if(n)return n;const r=Object.keys(e.props).sort();return`${e.tag}:${r.map(s=>`${s}:${String(e.props[s])}`).join(",")}`}function Zs(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s)){let o;for(let i=0;i<s.length;i++){const a=Zs(s[i],t);o?o[i]=a:a!==s[i]&&(o=s.slice(0,i),o[i]=a)}return o||s}if(s?.constructor===Object){let o;for(const i in s){const a=Cd(i),l=a?void 0:Zs(s[i],t,i);if(!o&&(a||i==="_resolver"||l!==s[i])){o={};for(const c in s){if(c===i)break;o[c]=s[c]}}o&&!a&&(o[i]=l)}return o||s}return s}const X_=/[\s"'<>/=\x00-\x1F\x7F]/;function J_(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const o=String(s).trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>l?l.trim():"");i&&a.length&&n.set(i,a.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(String(s).trim(),String(o)):r(s))}),n}function Ad(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=Zi.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";for(const r of Object.keys(t)){if(Cd(r))continue;const s=r.startsWith("data-"),o=n&&!Zl.has(r),i=o&&!s?r.toLowerCase():r;if(o&&(!i||X_.test(i)))continue;const a=t[r];if(a===null){e.props[i]=null;continue}if(r==="class"||r==="style"){e.props[r]=J_(r,a);continue}if(Zl.has(r)){if((r==="textContent"||r==="innerHTML")&&typeof a=="object"){let c=t.type;if(t.type||(c="application/json"),!c?.endsWith("json")&&c!=="speculationrules")continue;t.type=c,e.props.type=c,e[r]=JSON.stringify(a)}else e[r]=a;continue}const l=String(a),u=e.tag==="meta"&&i==="content";l==="true"||l===""?e.props[i]=s||u?l:!0:!a&&s&&l==="false"?e.props[i]="false":a!==void 0&&(e.props[i]=a)}return e}function z_(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Ad({tag:e,props:{}},n);return r.key&&x_.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function Q_(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=Zs(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(z_(s,i))}),r.flat()}function nc(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Z_(e={}){const t=G_();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>nc(i,a),push(a,l){const u={...l||{}};delete u.head;const c=u._index??i._entryCount++,f={_i:c,input:a,options:u},d={_poll(h=!1){i.dirty=!0,!h&&o.add(c),t.callHook("entries:updated",i)},dispose(){r.delete(c)&&i.invalidate()},patch(h){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=h,r.set(c,f),d._poll())}};return d.patch(a),d},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);o.size;){const d=o.values().next().value;o.delete(d);const h=r.get(d);if(h){const y={tags:Q_(h.input,e.propResolvers||[]).map(_=>Object.assign(_,h.options)),entry:h};await t.callHook("entries:normalize",y),h._tags=y.tags.map((_,L)=>(_._w=B_(i,_),_._p=(h._i<<10)+L,_._d=na(_),_._d||(_._h=Ld(_)),_))}}let l=!1;a.entries.flatMap(d=>(d._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(ea).reduce((d,h)=>{const y=h._d||h._h;if(!d.has(y))return d.set(y,h);const _=d.get(y);if((h?.tagDuplicateStrategy||(H_.has(h.tag)?"merge":null)||(h.key&&h.key===_.key?"merge":null))==="merge"){const b={..._.props};Object.entries(h.props).forEach(([E,g])=>b[E]=E==="style"?new Map([..._.props.style||new Map,...g]):E==="class"?new Set([..._.props.class||new Set,...g]):g),d.set(y,{...h,props:b})}else h._p>>10===_._p>>10&&h.tag==="meta"&&Td(y)?(d.set(y,Object.assign([...Array.isArray(_)?_:[_],h],h)),l=!0):(h._w===_._w?h._p>_._p:h?._w<_?._w)&&d.set(y,h);return d},a.tagMap);const u=a.tagMap.get("title"),c=a.tagMap.get("titleTemplate");if(i._title=u?.textContent,c){const d=c?.textContent;if(i._titleTemplate=d,d){let h=typeof d=="function"?d(u?.textContent):d;typeof h=="string"&&!i.plugins.has("template-params")&&(h=h.replace("%s",u?.textContent||"")),u?h===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:h}):(c.tag="title",c.textContent=h)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(ea)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const d of a.tags){const{innerHTML:h,tag:y,props:_}=d;if(D_.has(y)&&!(Object.keys(_).length===0&&!ai(d.innerHTML)&&!ai(d.textContent))&&!(y==="meta"&&!ai(_.content)&&!_["http-equiv"]&&!_.charset)){if(y==="script"&&h){if(String(_.type).endsWith("json")){const L=typeof h=="string"?h:JSON.stringify(h);d.innerHTML=L.replace(/</g,"\\u003C")}else typeof h=="string"&&(d.innerHTML=h.replace(new RegExp(`</${y}`,"g"),`<\\/${y}`));d._d=na(d)}f.push(d)}}return f},invalidate(){for(const a of r.values())o.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(a=>nc(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const ci="%separator";function eb(e,t,n=!1){let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const s=t.indexOf(".");r=e[t.substring(0,s)]?.[t.substring(s+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function ws(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(ci);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===ci||!o.includes(a))return a;const l=eb(t,a.slice(1),r);return l!==void 0?l:a}).trim(),i&&(e=e.split(ci).map(a=>a.trim()).filter(a=>a!=="").join(n?` ${n} `:" ")),e}const rc=e=>e.includes(":key")?e:e.split(":").join(":key:"),tb={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const s=String(r);if(s.startsWith("before:")){const o=rc(s.slice(7)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p-1,t=!0)}else if(s.startsWith("after:")){const o=rc(s.slice(6)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p+1,t=!0)}}t&&(e.tags=e.tags.sort(ea))}}},nb={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function ra(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>ra(n)));if(e?.constructor===Object){const n={};for(const r of Object.keys(e))n[r]=await ra(e[r]);return n}return e}const rb={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(ra(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},sb={meta:"content",link:"href",htmlAttrs:"lang"},ob=["innerHTML","textContent"],ib=e=>({key:"template-params",hooks:{"entries:normalize":t=>{const n=t.tags.filter(r=>r.tag==="templateParams"&&r.mode==="server")?.[0]?.props||{};Object.keys(n).length&&(e._ssrPayload={templateParams:{...e._ssrPayload?.templateParams||{},...n}})},"tags:resolve":({tagMap:t,tags:n})=>{const r=t.get("templateParams")?.props||{},s=r.separator||"|";delete r.separator,r.pageTitle=ws(r.pageTitle||e._title||"",r,s);for(const o of n){if(o.processTemplateParams===!1)continue;const i=sb[o.tag];if(i&&typeof o.props[i]=="string")o.props[i]=ws(o.props[i],r,s);else if(o.processTemplateParams||o.tag==="titleTemplate"||o.tag==="title")for(const a of ob)typeof o[a]=="string"&&(o[a]=ws(o[a],r,s,o.tag==="script"&&o.props.type.endsWith("json")))}e._templateParams=r,e._separator=s},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=ws(n.textContent,e._templateParams,e._separator))}}}),ab=(e,t)=>Se(t)?Pp(t):t,ja="usehead";function lb(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ja,e)}}.install}function cb(){if(os()){const e=Ue(ja);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function ub(e,t={}){const n=t.head||cb();return n.ssr?n.push(e||{},t):fb(n,e,t)}function fb(e,t,n={}){const r=En();if(r&&!r.active)return{patch(){},dispose(){},_poll(){}};const s=st(!1);let o;return Wp(()=>{const a=s.value?{}:Zs(t,ab);o?o.patch(a):o=e.push(a,n)}),an()&&(as(()=>{o.dispose()}),lf(()=>{s.value=!0}),af(()=>{s.value=!1})),o}function db(e){const t=e||dd();return t?.ssrContext?.head||t?.runWithContext(()=>{if(os())return Ue(ja)})}function Pd(e,t={}){const n=db(t.nuxt);if(n)return ub(e,{head:n,...t})}const Qn=typeof document<"u";function kd(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function hb(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&kd(e.default)}const pe=Object.assign;function ui(e,t){const n={};for(const r in t){const s=t[r];n[r]=Tt(s)?s.map(e):e(s)}return n}const Fr=()=>{},Tt=Array.isArray;function sc(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const Od=/#/g,pb=/&/g,gb=/\//g,mb=/=/g,yb=/\?/g,Id=/\+/g,_b=/%5B/g,bb=/%5D/g,Nd=/%5E/g,vb=/%60/g,xd=/%7B/g,Eb=/%7C/g,Md=/%7D/g,wb=/%20/g;function Ba(e){return e==null?"":encodeURI(""+e).replace(Eb,"|").replace(_b,"[").replace(bb,"]")}function Cb(e){return Ba(e).replace(xd,"{").replace(Md,"}").replace(Nd,"^")}function sa(e){return Ba(e).replace(Id,"%2B").replace(wb,"+").replace(Od,"%23").replace(pb,"%26").replace(vb,"`").replace(xd,"{").replace(Md,"}").replace(Nd,"^")}function Sb(e){return sa(e).replace(mb,"%3D")}function Rb(e){return Ba(e).replace(Od,"%23").replace(yb,"%3F")}function Tb(e){return Rb(e).replace(gb,"%2F")}function Xr(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Lb=/\/$/,Ab=e=>e.replace(Lb,"");function fi(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),o=t.slice(l,a>0?a:t.length),s=e(o.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Ib(r??t,n),{fullPath:r+o+i,path:r,query:s,hash:Xr(i)}}function Pb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function oc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function kb(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&gr(t.matched[r],n.matched[s])&&Dd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function gr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Dd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Ob(e[n],t[n]))return!1;return!0}function Ob(e,t){return Tt(e)?ic(e,t):Tt(t)?ic(t,e):e?.valueOf()===t?.valueOf()}function ic(e,t){return Tt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Ib(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const ht={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let oa=(function(e){return e.pop="pop",e.push="push",e})({}),di=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Nb(e){if(!e)if(Qn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ab(e)}const xb=/^[^#]+#/;function Mb(e,t){return e.replace(xb,"#")+t}function Db(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 Fo=()=>({left:window.scrollX,top:window.scrollY});function Fb(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Db(s,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 ac(e,t){return(history.state?history.state.position-t:-1)+e}const ia=new Map;function Hb(e,t){ia.set(e,t)}function Ub(e){const t=ia.get(e);return ia.delete(e),t}function $b(e){return typeof e=="string"||e&&typeof e=="object"}function Fd(e){return typeof e=="string"||typeof e=="symbol"}let Ne=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Hd=Symbol("");Ne.MATCHER_NOT_FOUND+"",Ne.NAVIGATION_GUARD_REDIRECT+"",Ne.NAVIGATION_ABORTED+"",Ne.NAVIGATION_CANCELLED+"",Ne.NAVIGATION_DUPLICATED+"";function mr(e,t){return pe(new Error,{type:e,[Hd]:!0},t)}function Vt(e,t){return e instanceof Error&&Hd in e&&(t==null||!!(e.type&t))}const jb=["params","query","hash"];function Bb(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of jb)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Vb(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(Id," "),o=s.indexOf("="),i=Xr(o<0?s:s.slice(0,o)),a=o<0?null:Xr(s.slice(o+1));if(i in t){let l=t[i];Tt(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function lc(e){let t="";for(let n in e){const r=e[n];if(n=Sb(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Tt(r)?r.map(s=>s&&sa(s)):[r&&sa(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Wb(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Tt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Kb=Symbol(""),cc=Symbol(""),Va=Symbol(""),Wa=Symbol(""),aa=Symbol("");function Tr(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function hn(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(mr(Ne.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):$b(d)?l(mr(Ne.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},c=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function hi(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(kd(l)){const u=(l.__vccOpts||l)[t];u&&o.push(hn(u,n,r,i,a,s))}else{let u=l();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=hb(c)?c.default:c;i.mods[a]=c,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&hn(d,n,r,i,a,s)()}))}}return o}function Gb(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(u=>gr(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>gr(u,l))||s.push(l))}return[n,r,s]}let qb=()=>location.protocol+"//"+location.host;function Ud(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(i);return a[0]!=="/"&&(a="/"+a),oc(a,"")}return oc(n,e)+r+s}function Yb(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const h=Ud(e,location),y=n.value,_=t.value;let L=0;if(d){if(n.value=h,t.value=d,i&&i===y){i=null;return}L=_?d.position-_.position:0}else r(h);s.forEach(b=>{b(n.value,y,{delta:L,type:oa.pop,direction:L?L>0?di.forward:di.back:di.unknown})})};function l(){i=n.value}function u(d){s.push(d);const h=()=>{const y=s.indexOf(d);y>-1&&s.splice(y,1)};return o.push(h),h}function c(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(pe({},d.state,{scroll:Fo()}),"")}}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function uc(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Fo():null}}function Xb(e){const{history:t,location:n}=window,r={value:Ud(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:qb()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch(h){console.error(h),n[c?"replace":"assign"](d)}}function i(l,u){o(l,pe({},t.state,uc(s.value.back,l,s.value.forward,!0),u,{position:s.value.position}),!0),r.value=l}function a(l,u){const c=pe({},s.value,t.state,{forward:l,scroll:Fo()});o(c.current,c,!0),o(l,pe({},uc(r.value,l,null),{position:c.position+1},u),!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function Jb(e){e=Nb(e);const t=Xb(e),n=Yb(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=pe({location:"",base:e,go:r,createHref:Mb.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let xn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var $e=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})($e||{});const zb={type:xn.Static,value:""},Qb=/[a-zA-Z0-9_]/;function Zb(e){if(!e)return[[]];if(e==="/")return[[zb]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=$e.Static,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,u="",c="";function f(){u&&(n===$e.Static?o.push({type:xn.Static,value:u}):n===$e.Param||n===$e.ParamRegExp||n===$e.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:xn.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==$e.ParamRegExp){r=n,n=$e.EscapeNext;continue}switch(n){case $e.Static:l==="/"?(u&&f(),i()):l===":"?(f(),n=$e.Param):d();break;case $e.EscapeNext:d(),n=r;break;case $e.Param:l==="("?n=$e.ParamRegExp:Qb.test(l)?d():(f(),n=$e.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case $e.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=$e.ParamRegExpEnd:c+=l;break;case $e.ParamRegExpEnd:f(),n=$e.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===$e.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),s}const fc="[^/]+?",ev={sensitive:!1,strict:!1,start:!0,end:!0};var Qe=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Qe||{});const tv=/[.+*?^${}()[\]/\\]/g;function nv(e,t){const n=pe({},ev,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[Qe.Root];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=Qe.Segment+(n.sensitive?Qe.BonusCaseSensitive:0);if(d.type===xn.Static)f||(s+="/"),s+=d.value.replace(tv,"\\$&"),h+=Qe.Static;else if(d.type===xn.Param){const{value:y,repeatable:_,optional:L,regexp:b}=d;o.push({name:y,repeatable:_,optional:L});const E=b||fc;if(E!==fc){h+=Qe.BonusCustomRegExp;try{`${E}`}catch(p){throw new Error(`Invalid custom RegExp for param "${y}" (${E}): `+p.message)}}let g=_?`((?:${E})(?:/(?:${E}))*)`:`(${E})`;f||(g=L&&u.length<2?`(?:/${g})`:"/"+g),L&&(g+="?"),s+=g,h+=Qe.Dynamic,L&&(h+=Qe.BonusOptional),_&&(h+=Qe.BonusRepeatable),E===".*"&&(h+=Qe.BonusWildcard)}c.push(h)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=Qe.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(u){const c=u.match(i),f={};if(!c)return null;for(let d=1;d<c.length;d++){const h=c[d]||"",y=o[d-1];f[y.name]=h&&y.repeatable?h.split("/"):h}return f}function l(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const h of d)if(h.type===xn.Static)c+=h.value;else if(h.type===xn.Param){const{value:y,repeatable:_,optional:L}=h,b=y in u?u[y]:"";if(Tt(b)&&!_)throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);const E=Tt(b)?b.join("/"):b;if(!E)if(L)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${y}"`);c+=E}}return c||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function rv(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]===Qe.Static+Qe.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Qe.Static+Qe.Segment?1:-1:0}function $d(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=rv(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(dc(r))return 1;if(dc(s))return-1}return s.length-r.length}function dc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const sv={strict:!1,end:!0,sensitive:!1};function ov(e,t,n){const r=nv(Zb(e.path),n),s=pe(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function iv(e,t){const n=[],r=new Map;t=sc(sv,t);function s(f){return r.get(f)}function o(f,d,h){const y=!h,_=pc(f);_.aliasOf=h&&h.record;const L=sc(t,f),b=[_];if("alias"in f){const p=typeof f.alias=="string"?[f.alias]:f.alias;for(const w of p)b.push(pc(pe({},_,{components:h?h.record.components:_.components,path:w,aliasOf:h?h.record:_})))}let E,g;for(const p of b){const{path:w}=p;if(d&&w[0]!=="/"){const T=d.record.path,S=T[T.length-1]==="/"?"":"/";p.path=d.record.path+(w&&S+w)}if(E=ov(p,d,L),h?h.alias.push(E):(g=g||E,g!==E&&g.alias.push(E),y&&f.name&&!gc(E)&&i(f.name)),jd(E)&&l(E),_.children){const T=_.children;for(let S=0;S<T.length;S++)o(T[S],E,h&&h.children[S])}h=h||E}return g?()=>{i(g)}:Fr}function i(f){if(Fd(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=cv(f,n);n.splice(d,0,f),f.record.name&&!gc(f)&&r.set(f.record.name,f)}function u(f,d){let h,y={},_,L;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw mr(Ne.MATCHER_NOT_FOUND,{location:f});L=h.record.name,y=pe(hc(d.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),f.params&&hc(f.params,h.keys.map(g=>g.name))),_=h.stringify(y)}else if(f.path!=null)_=f.path,h=n.find(g=>g.re.test(_)),h&&(y=h.parse(_),L=h.record.name);else{if(h=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!h)throw mr(Ne.MATCHER_NOT_FOUND,{location:f,currentLocation:d});L=h.record.name,y=pe({},d.params,f.params),_=h.stringify(y)}const b=[];let E=h;for(;E;)b.unshift(E.record),E=E.parent;return{name:L,path:_,params:y,matched:b,meta:lv(b)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:s}}function hc(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function pc(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:av(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 av(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 gc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function lv(e){return e.reduce((t,n)=>pe(t,n.meta),{})}function cv(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;$d(e,t[o])<0?r=o:n=o+1}const s=uv(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function uv(e){let t=e;for(;t=t.parent;)if(jd(t)&&$d(e,t)===0)return t}function jd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function mc(e){const t=Ue(Va),n=Ue(Wa),r=xe(()=>{const l=ye(e.to);return t.resolve(l)}),s=xe(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(gr.bind(null,c));if(d>-1)return d;const h=yc(l[u-2]);return u>1&&yc(c)===h&&f[f.length-1].path!==h?f.findIndex(gr.bind(null,l[u-2])):d}),o=xe(()=>s.value>-1&&gv(n.params,r.value.params)),i=xe(()=>s.value>-1&&s.value===n.matched.length-1&&Dd(n.params,r.value.params));function a(l={}){if(pv(l)){const u=t[ye(e.replace)?"replace":"push"](ye(e.to)).catch(Fr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:xe(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function fv(e){return e.length===1?e[0]:e}const dv=bt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:mc,setup(e,{slots:t}){const n=sn(mc(e)),{options:r}=Ue(Va),s=xe(()=>({[_c(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[_c(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&fv(t.default(n));return e.custom?o:Fe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),hv=dv;function pv(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 gv(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Tt(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function yc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const _c=(e,t,n)=>e??t??n,mv=bt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ue(aa),s=xe(()=>e.route||r.value),o=Ue(cc,0),i=xe(()=>{let u=ye(o);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=xe(()=>s.value.matched[i.value]);mn(cc,xe(()=>i.value+1)),mn(Kb,a),mn(aa,s);const l=st();return ot(()=>[l.value,a.value,e.name],([u,c,f],[d,h,y])=>{c&&(c.instances[f]=u,h&&h!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!gr(c,h)||!d)&&(c.enterCallbacks[f]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return bc(n.default,{Component:d,route:u});const h=f.props[c],y=h?h===!0?u.params:typeof h=="function"?h(u):h:null,L=Fe(d,pe({},y,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return bc(n.default,{Component:L,route:u})||L}}});function bc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Bd=mv;function yv(e){const t=iv(e.routes,e),n=e.parseQuery||Vb,r=e.stringifyQuery||lc,s=e.history,o=Tr(),i=Tr(),a=Tr(),l=Bn(ht);let u=ht;Qn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ui.bind(null,U=>""+U),f=ui.bind(null,Tb),d=ui.bind(null,Xr);function h(U,Y){let W,z;return Fd(U)?(W=t.getRecordMatcher(U),z=Y):z=U,t.addRoute(z,W)}function y(U){const Y=t.getRecordMatcher(U);Y&&t.removeRoute(Y)}function _(){return t.getRoutes().map(U=>U.record)}function L(U){return!!t.getRecordMatcher(U)}function b(U,Y){if(Y=pe({},Y||l.value),typeof U=="string"){const R=fi(n,U,Y.path),I=t.resolve({path:R.path},Y),$=s.createHref(R.fullPath);return pe(R,I,{params:d(I.params),hash:Xr(R.hash),redirectedFrom:void 0,href:$})}let W;if(U.path!=null)W=pe({},U,{path:fi(n,U.path,Y.path).path});else{const R=pe({},U.params);for(const I in R)R[I]==null&&delete R[I];W=pe({},U,{params:f(R)}),Y.params=f(Y.params)}const z=t.resolve(W,Y),oe=U.hash||"";z.params=c(d(z.params));const _e=Pb(r,pe({},U,{hash:Cb(oe),path:z.path})),v=s.createHref(_e);return pe({fullPath:_e,hash:oe,query:r===lc?Wb(U.query):U.query||{}},z,{redirectedFrom:void 0,href:v})}function E(U){return typeof U=="string"?fi(n,U,l.value.path):pe({},U)}function g(U,Y){if(u!==U)return mr(Ne.NAVIGATION_CANCELLED,{from:Y,to:U})}function p(U){return S(U)}function w(U){return p(pe(E(U),{replace:!0}))}function T(U,Y){const W=U.matched[U.matched.length-1];if(W&&W.redirect){const{redirect:z}=W;let oe=typeof z=="function"?z(U,Y):z;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=E(oe):{path:oe},oe.params={}),pe({query:U.query,hash:U.hash,params:oe.path!=null?{}:U.params},oe)}}function S(U,Y){const W=u=b(U),z=l.value,oe=U.state,_e=U.force,v=U.replace===!0,R=T(W,z);if(R)return S(pe(E(R),{state:typeof R=="object"?pe({},oe,R.state):oe,force:_e,replace:v}),Y||W);const I=W;I.redirectedFrom=Y;let $;return!_e&&kb(r,z,W)&&($=mr(Ne.NAVIGATION_DUPLICATED,{to:I,from:z}),fe(z,z,!0,!1)),($?Promise.resolve($):x(I,z)).catch(H=>Vt(H)?Vt(H,Ne.NAVIGATION_GUARD_REDIRECT)?H:ie(H):ee(H,I,z)).then(H=>{if(H){if(Vt(H,Ne.NAVIGATION_GUARD_REDIRECT))return S(pe({replace:v},E(H.to),{state:typeof H.to=="object"?pe({},oe,H.to.state):oe,force:_e}),Y||I)}else H=M(I,z,!0,v,oe);return j(I,z,H),H})}function O(U,Y){const W=g(U,Y);return W?Promise.reject(W):Promise.resolve()}function A(U){const Y=At.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext(U):U()}function x(U,Y){let W;const[z,oe,_e]=Gb(U,Y);W=hi(z.reverse(),"beforeRouteLeave",U,Y);for(const R of z)R.leaveGuards.forEach(I=>{W.push(hn(I,U,Y))});const v=O.bind(null,U,Y);return W.push(v),Ge(W).then(()=>{W=[];for(const R of o.list())W.push(hn(R,U,Y));return W.push(v),Ge(W)}).then(()=>{W=hi(oe,"beforeRouteUpdate",U,Y);for(const R of oe)R.updateGuards.forEach(I=>{W.push(hn(I,U,Y))});return W.push(v),Ge(W)}).then(()=>{W=[];for(const R of _e)if(R.beforeEnter)if(Tt(R.beforeEnter))for(const I of R.beforeEnter)W.push(hn(I,U,Y));else W.push(hn(R.beforeEnter,U,Y));return W.push(v),Ge(W)}).then(()=>(U.matched.forEach(R=>R.enterCallbacks={}),W=hi(_e,"beforeRouteEnter",U,Y,A),W.push(v),Ge(W))).then(()=>{W=[];for(const R of i.list())W.push(hn(R,U,Y));return W.push(v),Ge(W)}).catch(R=>Vt(R,Ne.NAVIGATION_CANCELLED)?R:Promise.reject(R))}function j(U,Y,W){a.list().forEach(z=>A(()=>z(U,Y,W)))}function M(U,Y,W,z,oe){const _e=g(U,Y);if(_e)return _e;const v=Y===ht,R=Qn?history.state:{};W&&(z||v?s.replace(U.fullPath,pe({scroll:v&&R&&R.scroll},oe)):s.push(U.fullPath,oe)),l.value=U,fe(U,Y,W,v),ie()}let V;function Z(){V||(V=s.listen((U,Y,W)=>{if(!vt.listening)return;const z=b(U),oe=T(z,vt.currentRoute.value);if(oe){S(pe(oe,{replace:!0,force:!0}),z).catch(Fr);return}u=z;const _e=l.value;Qn&&Hb(ac(_e.fullPath,W.delta),Fo()),x(z,_e).catch(v=>Vt(v,Ne.NAVIGATION_ABORTED|Ne.NAVIGATION_CANCELLED)?v:Vt(v,Ne.NAVIGATION_GUARD_REDIRECT)?(S(pe(E(v.to),{force:!0}),z).then(R=>{Vt(R,Ne.NAVIGATION_ABORTED|Ne.NAVIGATION_DUPLICATED)&&!W.delta&&W.type===oa.pop&&s.go(-1,!1)}).catch(Fr),Promise.reject()):(W.delta&&s.go(-W.delta,!1),ee(v,z,_e))).then(v=>{v=v||M(z,_e,!1),v&&(W.delta&&!Vt(v,Ne.NAVIGATION_CANCELLED)?s.go(-W.delta,!1):W.type===oa.pop&&Vt(v,Ne.NAVIGATION_ABORTED|Ne.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),j(z,_e,v)}).catch(Fr)}))}let se=Tr(),q=Tr(),J;function ee(U,Y,W){ie(U);const z=q.list();return z.length?z.forEach(oe=>oe(U,Y,W)):console.error(U),Promise.reject(U)}function Re(){return J&&l.value!==ht?Promise.resolve():new Promise((U,Y)=>{se.add([U,Y])})}function ie(U){return J||(J=!U,Z(),se.list().forEach(([Y,W])=>U?W(U):Y()),se.reset()),U}function fe(U,Y,W,z){const{scrollBehavior:oe}=e;if(!Qn||!oe)return Promise.resolve();const _e=!W&&Ub(ac(U.fullPath,0))||(z||!W)&&history.state&&history.state.scroll||null;return _n().then(()=>oe(U,Y,_e)).then(v=>v&&Fb(v)).catch(v=>ee(v,U,Y))}const de=U=>s.go(U);let Lt;const At=new Set,vt={currentRoute:l,listening:!0,addRoute:h,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:L,getRoutes:_,resolve:b,options:e,push:p,replace:w,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:q.add,isReady:Re,install(U){U.component("RouterLink",hv),U.component("RouterView",Bd),U.config.globalProperties.$router=vt,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>ye(l)}),Qn&&!Lt&&l.value===ht&&(Lt=!0,p(s.location).catch(z=>{}));const Y={};for(const z in ht)Object.defineProperty(Y,z,{get:()=>l.value[z],enumerable:!0});U.provide(Va,vt),U.provide(Wa,Mt(Y)),U.provide(aa,l);const W=U.unmount;At.add(U),U.unmount=function(){At.delete(U),At.size<1&&(u=ht,V&&V(),V=null,l.value=ht,Lt=!1,J=!1),W()}}};function Ge(U){return U.reduce((Y,W)=>Y.then(()=>A(W)),Promise.resolve())}return vt}function Vd(e){return Ue(Wa)}const Wd=(e,t)=>({default:()=>e?Fe(um,e===!0?{}:e,t):t.default?.()}),_v=/(:\w+)\([^)]+\)/g,bv=/(:\w+)[?+*]/g,vv=/:\w+/g;function vc(e){const t=e?.meta.key??e.path.replace(_v,"$1").replace(bv,"$1").replace(vv,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function Ev(e,t){return e===t||t===ht?!1:vc(e)!==vc(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}function Ec(e){return Array.isArray(e)?e:[e]}function Kd(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Ec(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Ec(n.onBeforeLeave):void 0});return qi(...t)}const wv={scrollBehavior(e,t,n){const r=ue(),s=ft(),o=s.options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Gd(e.hash),behavior:o}:!1:(typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===ht?wc(e,t,n,o):new Promise(a=>{const l=()=>{requestAnimationFrame(()=>{if(s.currentRoute.value.fullPath!==e.fullPath){a(!1);return}a(wc(e,t,n,o))})};r.hooks.hookOnce("page:loading:end",()=>{const u=r["~transitionPromise"];u?u.then(l):l()})})}};function Gd(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function wc(e,t,n,r){return n||(e.hash?{el:e.hash,top:Gd(e.hash),behavior:Ev(e,t)?r:"instant"}:{left:0,top:0})}const Cv={hashMode:!1,scrollBehaviorType:"auto"},Kt={...Cv,...wv},qd=(e,t)=>[],Sv=qd,Yd=e=>Kt.sensitive?qi({},...qd().map(t=>t.data).reverse()):qi({},...Sv("",typeof e=="string"?e.toLowerCase():e).map(t=>t.data).reverse()),Rv=Yd;let Ns;function Tv(){let e;return e=$fetch($a(`builds/meta/${us().app.buildId}.json`),{responseType:"json"}).then(t=>{if(!t||typeof t!="object"||!Array.isArray(t.prerendered))throw new Error("[nuxt] Received malformed app manifest. Ensure that `builds/meta/*.json` is served as JSON by your hosting/proxy and not rewritten to an HTML fallback.");return t}),Ns=e,e.catch(t=>{Ns===e&&(Ns=void 0),console.error("[nuxt] Error fetching app manifest.",t)}),e}function Lv(){return Ns||Tv()}function Xd(e){const t=typeof e=="string"?e:e.path;try{return Rv(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Av(e,t){return null}let An=null;async function Pv(){if(An)return An;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await kv(e.textContent||""),n=e.dataset.src?await Av(e.dataset.src,t.prerenderedAt?"force-cache":"no-cache"):void 0;return An={...t,...n,...window.__NUXT__},An.config?.public&&(An.config.public=sn(An.config.public)),An}async function kv(e){return await I_(e,ue()._payloadRevivers)}function Jd(e,t){ue()._payloadRevivers[e]=t}const Ov=Qy(()=>{Jd("skipHydrate",e=>{})}),Iv=[["NuxtError",e=>Hn(e)],["EmptyShallowRef",e=>Bn(e==="_"?void 0:e==="0n"?BigInt(0):Gr(e))],["EmptyRef",e=>st(e==="_"?void 0:e==="0n"?BigInt(0):Gr(e))],["ShallowRef",e=>Bn(e)],["ShallowReactive",e=>Mt(e)],["Ref",e=>st(e)],["Reactive",e=>sn(e)]],Nv=nt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of Iv)Jd(r,s);Object.assign(e.payload,([t,n]=cr(()=>e.runWithContext(Pv)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function Ka(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const o=new Map,i=new Promise(h=>{e.resolveTags().then(y=>{h(y.map(_=>{const L=o.get(_._d)||0,b={tag:_,id:(L?`${_._d}:${L}`:_._d)||_._h,shouldRender:!0};return _._d&&Td(_._d)&&o.set(_._d,L+1),b}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const h of["body","head"]){const y=n[h]?.children;for(const _ of y){const L=_.tagName.toLowerCase();if(!Zi.has(L))continue;const b=Ad({tag:L,props:{}},{innerHTML:_.innerHTML,..._.getAttributeNames().reduce((E,g)=>(E[g]=_.getAttribute(g),E),{})||{}});if(b.key=_.getAttribute("data-hid")||void 0,b._d=na(b)||Ld(b),a.elMap.has(b._d)){let E=1,g=b._d;for(;a.elMap.has(g);)g=`${b._d}:${E++}`;a.elMap.set(g,_)}else a.elMap.set(b._d,_)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(h,y,_){const L=`${h}:${y}`;a.sideEffects[L]=_,delete a.pendingSideEffects[L]}function u({id:h,$el:y,tag:_}){const L=_.tag.endsWith("Attrs");a.elMap.set(h,y),L||(_.textContent&&_.textContent!==y.textContent&&(y.textContent=_.textContent),_.innerHTML&&_.innerHTML!==y.innerHTML&&(y.innerHTML=_.innerHTML),l(h,"el",()=>{y?.remove(),a.elMap.delete(h)}));for(const b in _.props){if(!Object.prototype.hasOwnProperty.call(_.props,b))continue;const E=_.props[b];if(b.startsWith("on")&&typeof E=="function"){const p=y?.dataset;if(p&&p[`${b}fired`]){const w=b.slice(0,-5);E.call(y,new Event(w.substring(2)))}y.getAttribute(`data-${b}`)!==""&&((_.tag==="bodyAttrs"?n.defaultView:y).addEventListener(b.substring(2),E.bind(y)),y.setAttribute(`data-${b}`,""));continue}const g=`attr:${b}`;if(b==="class"){if(!E)continue;for(const p of E)L&&l(h,`${g}:${p}`,()=>y.classList.remove(p)),!y.classList.contains(p)&&y.classList.add(p)}else if(b==="style"){if(!E)continue;for(const[p,w]of E)l(h,`${g}:${p}`,()=>{y.style.removeProperty(p)}),y.style.setProperty(p,w)}else E!==!1&&E!==null&&(y.getAttribute(b)!==E&&y.setAttribute(b,E===!0?"":String(E)),L&&l(h,g,()=>y.removeAttribute(b)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const h of d){const{tag:y,shouldRender:_,id:L}=h;if(_){if(y.tag==="title"){n.title=y.textContent,l("title","",()=>n.title=a.title);continue}h.$el=h.$el||a.elMap.get(L),h.$el?u(h):Zi.has(y.tag)&&c.push(h)}}for(const h of c){const y=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),u(h),f[y]=f[y]||n.createDocumentFragment(),f[y].appendChild(h.$el)}for(const h of d)await e.hooks.callHook("dom:renderTag",h,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const h in a.pendingSideEffects)a.pendingSideEffects[h]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function xv(e={}){const t=e.domOptions?.render||Ka;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1,r=Z_({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]});return r.ssr=!1,r}function Mv(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function Dv(e={}){const t=xv({domOptions:{render:Mv(()=>Ka(t),n=>setTimeout(n,0))},...e});return t.install=lb(t),t}const Fv={disableDefaults:!0,disableCapoSorting:!1,plugins:[nb,rb,ib,tb]},Hv=nt({name:"nuxt:head",enforce:"pre",setup(e){const t=Dv(Fv);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Ka(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r);const s=t.push.bind(t);t.push=((o,i)=>{const a=s(o,i),l=a.dispose.bind(a);return a.dispose=()=>{const u=e["~transitionPromise"];u?u.then(l):l()},a})}}}),Uv=/(:\w+)\([^)]+\)/g,$v=/(:\w+)[?+*]/g,jv=/:\w+/g,Bv=(e,t)=>t.path.replace(Uv,"$1").replace($v,"$1").replace(jv,n=>e.params[n.slice(1)]?.toString()||""),Jr=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&Bv(e.route,n));return typeof r=="function"?r(e.route):r},Vv=(e,t)=>({default:()=>e?Fe(cg,e===!0?{}:e,t):t});function zd(e){return Array.isArray(e)?e:[e]}const Wv="modulepreload",Kv=function(e,t){return new URL(e,t).href},Cc={},Ze=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");s=u(n.map(c=>{if(c=Kv(c,r),c in Cc)return;Cc[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(r)for(let y=i.length-1;y>=0;y--){const _=i[y];if(_.href===c&&(!f||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":Wv,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((y,_)=>{h.addEventListener("load",y),h.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},Gv={middleware:()=>Nn("/heads",{replace:!0})},qv={layout:"auth"},Yv={layout:"auth"},pi=[{name:"index",path:"/",meta:Gv||{},component:()=>Ze(()=>import("./hza_YA5H.js"),[],import.meta.url)},{name:"login",path:"/login",meta:qv||{},component:()=>Ze(()=>import("./CEGGvSzA.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)},{name:"setup",path:"/setup",meta:Yv||{},component:()=>Ze(()=>import("./CZFMOWPc.js"),__vite__mapDeps([5,6,2,1,3,7,8,9,10,11,12,13,14,4,15]),import.meta.url)},{name:"settings",path:"/settings",component:()=>Ze(()=>import("./CBchb2Up.js"),__vite__mapDeps([16,1,2,7,8,9,10,3,13,6,14,17,18,19,20]),import.meta.url)},{name:"heads-new",path:"/heads/new",component:()=>Ze(()=>import("./Bbbbx_yO.js"),__vite__mapDeps([21,12,2,1,14,7,8,9,10,3,22,11,23,24,18,19,15,25,26]),import.meta.url)},{name:"heads",path:"/heads",component:()=>Ze(()=>import("./Dd34_EaM.js"),__vite__mapDeps([27,28,2,8,9,17,1,29,3,11,26,18,19,12,6,13,25,30]),import.meta.url)},{name:"heads-id-edit",path:"/heads/:id()/edit",component:()=>Ze(()=>import("./CzTJPvyS.js"),__vite__mapDeps([31,12,2,6,1,3,7,8,9,10,23,24,18,29,19]),import.meta.url)},{name:"heads-id",path:"/heads/:id()",component:()=>Ze(()=>import("./C_n__rkq.js"),__vite__mapDeps([32,33,12,2,1,6,13,3,7,8,9,10,28,17,29,11,26,18,19,34,22,14,24,20,35]),import.meta.url)},{name:"heads-id-nodes-nodeIndex",path:"/heads/:id()/nodes/:nodeIndex()",component:()=>Ze(()=>import("./Bv47q1hu.js"),__vite__mapDeps([36,33,12,2,1,6,13,3,7,8,9,10,28,17,29,11,26,18,19,34,22,14,24,20,35]),import.meta.url)}],Xv=async e=>{let t,n;if(!e.meta?.validate)return;const r=([t,n]=cr(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);return r===!0?void 0:Hn({fatal:!0,status:r&&(r.status||r.statusCode)||404,statusText:r&&(r.statusText||r.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})};class Lr extends Error{code;details;status;constructor(t,n){super(t.message),this.name="ApiError",this.code=t.code,this.details=t.details,this.status=n}get fieldErrors(){if(this.code!=="VALIDATION_ERROR"||!Array.isArray(this.details))return{};const t={};for(const n of this.details)n.path&&n.message&&!t[n.path]&&(t[n.path]=n.message);return t}}const Jv=15e3,US=24e4;function Zn(){const e=us(),t=Qd(),{t:n}=ue().$i18n;async function r(s,o={}){const{method:i="GET",body:a,timeoutMs:l=Jv,auth:u=!0}=o,c={Accept:"application/json"};a!==void 0&&(c["Content-Type"]="application/json"),u&&t.token&&(c.Authorization=`Bearer ${t.token}`);const f=new AbortController,d=setTimeout(()=>f.abort(),l);o.signal?.addEventListener("abort",()=>f.abort(),{once:!0});let h;try{h=await fetch(`${e.public.apiBase}${s}`,{method:i,headers:c,body:a===void 0?void 0:JSON.stringify(a),signal:f.signal})}catch(_){throw clearTimeout(d),_.name==="AbortError"?new Lr({code:"TIMEOUT",message:n("api.timeout",{path:s,seconds:Math.round(l/1e3)})}):new Lr({code:"NETWORK_ERROR",message:n("api.unreachable")})}finally{clearTimeout(d)}let y;try{y=await h.json()}catch{throw new Lr({code:"INVALID_RESPONSE",message:n("api.notJson",{status:h.status})},h.status)}if(!y||typeof y!="object"||!("ok"in y))throw new Lr({code:"INVALID_RESPONSE",message:n("api.badEnvelope")},h.status);if(!y.ok){const _=new Lr(y.error,h.status);throw _.code==="UNAUTHORIZED"&&t.handleUnauthorized(),_}return y.data}return{request:r,get:(s,o)=>r(s,{...o,method:"GET"}),post:(s,o,i)=>r(s,{...i,method:"POST",body:o}),patch:(s,o,i)=>r(s,{...i,method:"PATCH",body:o}),del:(s,o)=>r(s,{...o,method:"DELETE"})}}const gi="hexcore.token",mi="hexcore.username",Qd=Ed("auth",{state:()=>({token:null,username:null,restored:!1}),getters:{isAuthenticated:e=>!!e.token},actions:{restore(){this.restored||(this.token=localStorage.getItem(gi),this.username=localStorage.getItem(mi),this.restored=!0)},async login(e){const n=await Zn().post("/api/auth/login",e,{auth:!1});this.token=n.token,this.username=n.username,localStorage.setItem(gi,n.token),localStorage.setItem(mi,n.username)},logout(){this.clear(),Nn("/login")},clear(){this.token=null,this.username=null,localStorage.removeItem(gi),localStorage.removeItem(mi)},handleUnauthorized(){if(!this.token)return;this.clear();const e=Mo(),t=e.fullPath!=="/login"?`?redirect=${encodeURIComponent(e.fullPath)}`:"";Nn(`/login${t}`)}}}),zv=Ed("setup",{state:()=>({status:null,settings:null,generatedPassword:null}),getters:{required:e=>e.status?.required},actions:{async fetchStatus(){const e=Zn();return this.status=await e.get("/api/setup",{auth:!1}),this.status},async complete(e){const n=await Zn().post("/api/setup",e,{auth:!1});this.generatedPassword=n.generatedPassword??null,await this.fetchStatus()},async fetchSettings(){const e=Zn();return this.settings=await e.get("/api/settings"),this.settings},async saveSettings(e){const t=Zn();this.status=await t.patch("/api/settings",e),await this.fetchSettings()},async clean(e,t){const r=await Zn().post("/api/settings/clean",{scope:e,confirm:t});return await this.fetchStatus(),r}}}),Qv=async e=>{let t,n;const r=Qd(),s=zv();if(r.restore(),s.required===void 0&&e.path!=="/setup"&&([t,n]=cr(()=>s.fetchStatus().catch(()=>{})),await t,n()),s.required===!0&&e.path!=="/setup")return Nn("/setup");if(e.path==="/setup")return s.required===!1?Nn("/settings"):void 0;if(e.path==="/login")return r.isAuthenticated?Nn("/heads"):void 0;if(!r.isAuthenticated){const o=e.fullPath!=="/"?`?redirect=${encodeURIComponent(e.fullPath)}`:"";return Nn(`/login${o}`)}},Zv=e=>{const t=Xd({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return $t(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},eE=[Xv,Qv,Zv],la={};function Sc(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const u=o.includes(e.slice(i))?e.slice(i).length:1;let c=o.slice(u);return c[0]!=="/"&&(c="/"+c),Bl(c,"")}const a=Bl(r,e),l=!n||od(a,n)?a:n;return l+(l.includes("?")?"":s)+o}const tE=nt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=us().app.baseURL;const s=Kt.history?.(r)??Jb(r),o=Kt.routes?([t,n]=cr(()=>Kt.routes(pi)),t=await t,n(),t??pi):pi;let i;const a=yv({...Kt,scrollBehavior:(g,p,w)=>{if(p===ht){i=w;return}if(Kt.scrollBehavior){if(a.options.scrollBehavior=Kt.scrollBehavior,"scrollRestoration"in window.history){const T=a.beforeEach(()=>{T(),window.history.scrollRestoration="manual"})}return Kt.scrollBehavior(g,ht,i||w)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=Bn(a.currentRoute.value);a.afterEach((g,p)=>{l.value=p}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=Sc(r,window.location,e.payload.path),c=Bn(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};a.afterEach((g,p)=>{const w=g.matched.at(-1)?.components?.default,T=p.matched.at(-1)?.components?.default;if(w===T){const S=Jr({route:g,Component:{type:w}}),O=Jr({route:p,Component:{type:T}});S===O&&f();return}g.matched.length<p.matched.length&&g.matched.every((S,O)=>S.components?.default===p.matched[O]?.components?.default)&&f()});const d={sync:f};for(const g in c.value)Object.defineProperty(d,g,{get:()=>c.value[g],enumerable:!0});e._route=Mt(d),e._middleware||={global:[],named:{}};const h=Do();a.afterEach(async(g,p,w)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(a_),w&&await e.callHook("page:loading:end")});try{[t,n]=cr(()=>a.isReady()),await t,n()}catch(g){[t,n]=cr(()=>e.runWithContext(()=>kn(g))),await t,n()}const y=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value,_=a.currentRoute.value.fullPath,L=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&u!==e.payload.path&&od(a.currentRoute.value.path,e.payload.path);f();function b(g){!e.isHydrating&&g.fullPath!==Sc(r,window.location)&&s.push(g.fullPath)}const E=e.payload.state._layout;return a.beforeEach(async(g,p)=>{await e.callHook("page:loading:start"),g.meta=sn(g.meta),e.isHydrating&&E&&!Ut(g.meta.layout)&&(g.meta.layout=E),e._processingMiddleware=!0;{const w=new Set([...eE,...e._middleware.global]);for(const S of g.matched){const O=S.meta.middleware;if(O)for(const A of zd(O))w.add(A)}const T=Xd({path:g.path});if(T.appMiddleware)for(const S in T.appMiddleware)T.appMiddleware[S]?w.add(S):w.delete(S);for(const S of w){const O=typeof S=="string"?e._middleware.named[S]||await la[S]?.().then(A=>A.default||A):S;if(!O)throw new Error(`Unknown route middleware: '${S}'.`);try{const A=await e.runWithContext(()=>O(g,p));if(!e.payload.serverRendered&&e.isHydrating&&(A===!1||A instanceof Error)){const x=A||Hn({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>kn(x)),!1}if(A===!0)continue;if(A===!1)return A;if(A)return md(A)&&A.fatal&&(await e.runWithContext(()=>kn(A)),b(g)),A}catch(A){const x=Hn(A);return x.fatal&&(await e.runWithContext(()=>kn(x)),b(g)),x}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(g=>{if(g.matched.length===0&&!h.value)return e.runWithContext(()=>kn(Hn({status:404,fatal:!1,statusText:`Page not found: ${g.fullPath}`,data:{path:g.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{if("name"in y&&(y.name=void 0),!(a.currentRoute.value.fullPath!==_))if(L){const p=a.resolve(e.payload.path);"name"in p&&(p.name=void 0),await a.replace({...p,force:!0});const w=()=>{e["~restoreDeferredRoute"]&&(e["~restoreDeferredRoute"]=void 0,a.currentRoute.value=a.resolve(u),f(),a.replace({...y,force:!0}).catch(()=>{}))};e["~restoreDeferredRoute"]=w,e.hooks.hookOnce("app:suspense:resolve",w)}else await a.replace({...y,force:!0});a.options.scrollBehavior=Kt.scrollBehavior}catch(g){await e.runWithContext(()=>kn(g))}}),{provide:{router:a}}}}),Rc=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),$S=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Zd=e=>{const t=ue();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Rc(()=>e())}):Rc(()=>e())},nE=nt(()=>{const e=ft();Zd(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),rE=nt(e=>{let t;async function n(){let r;try{r=await Lv()}catch(s){const o=s;if(!("status"in o&&(o.status===404||o.status===403)))throw o}t&&clearTimeout(t),t=setTimeout(n,Yl);try{const s=await $fetch($a("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}Zd(()=>{t=setTimeout(n,Yl)})});function sE(e={}){const t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw new Error(`Cannot navigate to a URL with a different host: '${t}'.`);if(n.protocol&&Bi(n.protocol))throw new Error(`Cannot navigate to a URL with '${n.protocol}' protocol.`);let r={};try{r=Gr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||r?.path!==t||r?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:ue().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const oE=nt({name:"nuxt:chunk-reload",setup(e){const t=ft(),n=us(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=cs(n.app.baseURL,o.fullPath);sE({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}});function Tc(e){return typeof e=="string"?`'${e}'`:new iE().serialize(e)}const iE=(function(){class e{#e=new Map;compare(n,r){const s=typeof n,o=typeof r;return s==="string"&&o==="string"?n.localeCompare(r):s==="number"&&o==="number"?n-r:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(r,!0))}serialize(n,r){if(n===null)return"null";switch(typeof n){case"string":return r?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const r=Object.prototype.toString.call(n);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),n);const s=n.constructor,o=s===Object||s===void 0?"":s.name;if(o!==""&&globalThis[o]===s)return this.serializeBuiltInType(o,n);if(typeof n.toJSON=="function"){const i=n.toJSON();return o+(i!==null&&typeof i=="object"?this.$object(i):`(${this.serialize(i)})`)}return this.serializeObjectEntries(o,Object.entries(n))}serializeBuiltInType(n,r){const s=this["$"+n];if(s)return s.call(this,r);if(typeof r?.entries=="function")return this.serializeObjectEntries(n,r.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,r){const s=Array.from(r).sort((i,a)=>this.compare(i[0],a[0]));let o=`${n}{`;for(let i=0;i<s.length;i++){const[a,l]=s[i];o+=`${this.serialize(a,!0)}:${this.serialize(l)}`,i<s.length-1&&(o+=",")}return o+"}"}$object(n){let r=this.#e.get(n);return r===void 0&&(this.#e.set(n,`#${this.#e.size}`),r=this.serializeObject(n),this.#e.set(n,r)),r}$function(n){const r=Function.prototype.toString.call(n);return r.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(n){let r="[";for(let s=0;s<n.length;s++)r+=this.serialize(n[s]),s<n.length-1&&(r+=",");return r+"]"}$Date(n){try{return`Date(${n.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(n){return`ArrayBuffer[${new Uint8Array(n).join(",")}]`}$Set(n){return`Set${this.$Array(Array.from(n).sort((r,s)=>this.compare(r,s)))}`}$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function aE(e,t){return e===t||Tc(e)===Tc(t)}const lE="$s";function eh(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=lE+n,o=ue(),i=qu(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(Se(a))return o.payload.state[s]=a,a;i.value=a}return i}const cE=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function uE(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n=new cE,r=t||{},s=r.decode||fE;let o=0;for(;o<e.length;){const i=e.indexOf("=",o);if(i===-1)break;let a=e.indexOf(";",o);if(a===-1)a=e.length;else if(a<i){o=e.lastIndexOf(";",i-1)+1;continue}const l=e.slice(o,i).trim();if(r?.filter&&!r?.filter(l)){o=a+1;continue}if(n[l]===void 0){let u=e.slice(i+1,a).trim();u.codePointAt(0)===34&&(u=u.slice(1,-1)),n[l]=dE(u,s)}o=a+1}return n}function fE(e){return e.includes("%")?decodeURIComponent(e):e}function dE(e,t){try{return t(e)}catch{return e}}const Cs=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Lc(e,t,n){const r=n||{},s=r.encode||encodeURIComponent;if(typeof s!="function")throw new TypeError("option encode is invalid");if(!Cs.test(e))throw new TypeError("argument name is invalid");const o=s(t);if(o&&!Cs.test(o))throw new TypeError("argument val is invalid");let i=e+"="+o;if(r.maxAge!==void 0&&r.maxAge!==null){const a=r.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(a)}if(r.domain){if(!Cs.test(r.domain))throw new TypeError("option domain is invalid");i+="; Domain="+r.domain}if(r.path){if(!Cs.test(r.path))throw new TypeError("option path is invalid");i+="; Path="+r.path}if(r.expires){if(!hE(r.expires)||Number.isNaN(r.expires.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():r.priority){case"low":{i+="; Priority=Low";break}case"medium":{i+="; Priority=Medium";break}case"high":{i+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:{i+="; SameSite=Strict";break}case"lax":{i+="; SameSite=Lax";break}case"strict":{i+="; SameSite=Strict";break}case"none":{i+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(i+="; Partitioned"),i}function hE(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function Et(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Et(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Et(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Et(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Et(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(Et(s))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(s,o){n.set(Et(o),Et(s))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(Et(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const pE={path:"/",watch:!0,decode:e=>{const t=decodeURIComponent(e),n=Gr(t);return typeof n=="number"&&(!Number.isFinite(n)||String(n)!==t)?t:n},encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},Ss=globalThis.cookieStore;function th(e,t){const n={...pE,...t};n.filter??=u=>u===e;const r=Ac(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const o=s!==void 0&&s<=0,i=o||r[e]===void 0||r[e]===null,a=Et(o?void 0:r[e]??n.default?.()),l=s&&!o?yE(a,s,n.watch&&n.watch!=="shallow"):st(a);{let u=null;try{!Ss&&typeof BroadcastChannel<"u"&&(u=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const c=(y=!1)=>{!y&&(n.readonly||aE(l.value,r[e]))||(mE(e,l.value,n),r[e]=Et(l.value),u?.postMessage({value:n.encode(l.value)}))},f=y=>{const _=y.refresh?Ac(n)?.[e]:n.decode(y.value);d=!0,l.value=_,r[e]=Et(_),_n(()=>{d=!1})};let d=!1;const h=!!En();if(h&&Ur(()=>{d=!0,c(),u?.close()}),Ss){const y=_=>{const L=_.changed.find(E=>E.name===e),b=_.deleted.find(E=>E.name===e);L&&f({value:L.value}),b&&f({value:null})};Ss.addEventListener("change",y),h&&Ur(()=>Ss.removeEventListener("change",y))}else u&&(u.onmessage=({data:y})=>f(y));n.watch&&ot(l,()=>{d||c()},{deep:n.watch!=="shallow"}),i&&c(i)}return l}function Ac(e={}){return uE(document.cookie,e)}function gE(e,t,n={}){return t==null?Lc(e,t,{...n,maxAge:-1}):Lc(e,t,n)}function mE(e,t,n={}){document.cookie=gE(e,t,n)}const Pc=2147483647;function yE(e,t,n){let r,s,o=0;const i=n?st(e):{value:e};return En()&&Ur(()=>{s?.(),clearTimeout(r)}),Ip((a,l)=>{n&&(s=ot(i,l));function u(){const f=t-o,d=f<Pc?f:Pc;r=setTimeout(()=>{if(o+=d,o<t)return u();i.value=void 0,l()},d)}function c(){o=0,clearTimeout(r),u()}return{get(){return a(),i.value},set(f){c(),i.value=f,l()}}})}function _E(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function bE(e,t=ft()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>bE(e,t));t._routePreloaded.add(n);for(const o of r){const i=o.components?.default;if(typeof i!="function")continue;const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a),1));s.push(a)}await Promise.all(s)}function Ga(e){return new URL(globalThis.location.href)}const vE=nt({name:"pinia",setup(e){const t=l_();return e.vueApp.use(t),fs(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),EE=nt({name:"nuxt:global-components"}),gn={auth:Bs(()=>Ze(()=>import("./BkRxDbrA.js"),__vite__mapDeps([37,38,2,8,10,34]),import.meta.url).then(e=>e.default||e)),default:Bs(()=>Ze(()=>import("./CaWYVaRD.js"),__vite__mapDeps([39,12,2,13,38,8,10,3,4,18,30,15]),import.meta.url).then(e=>e.default||e))},wE=nt({name:"nuxt:prefetch",setup(e){const t=ft();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof gn[r]=="function"&&await gn[r]()})}),e.hooks.hook("link:prefetch",n=>{if($t(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=zd(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof la[i]=="function"&&la[i]();typeof s=="string"&&s in gn&&_E(gn[s])})}});const eo=typeof window<"u",wn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),CE=(e,t,n)=>SE({l:e,k:t,s:n}),SE=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),He=e=>typeof e=="number"&&isFinite(e),nh=e=>Ho(e)==="[object Date]",to=e=>Ho(e)==="[object RegExp]",qa=e=>Ae(e)&&Object.keys(e).length===0,Oe=Object.assign,RE=Object.create,ce=(e=null)=>RE(e);let kc;const TE=()=>kc||(kc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ce()),LE=Object.prototype.hasOwnProperty;function mt(e,t){return LE.call(e,t)}function fn(e,t){const n=e[t];return mt(e,t)?n:void 0}function AE(e){return mt(Object.prototype,e)}const Le=Array.isArray,we=e=>typeof e=="function",X=e=>typeof e=="string",ke=e=>typeof e=="boolean",ae=e=>e!==null&&typeof e=="object",PE=e=>ae(e)&&we(e.then)&&we(e.catch),rh=Object.prototype.toString,Ho=e=>rh.call(e),Ae=e=>Ho(e)==="[object Object]",kE=e=>e==null?"":Le(e)||Ae(e)&&e.toString===rh?JSON.stringify(e,null,2):String(e);function Ya(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function OE(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}function Oc(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function IE(e){return e.replace(/&(?![a-z0-9#]{2,6};)/gi,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}const NE=/^javascript:/i,xE=/^(?:href|src|action|formaction)$/i,ME=/&#(?:x([0-9a-f]+)|(\d+));?/gi,DE=/&(?:Tab|NewLine);/g,FE=/:?/gi,HE=/[\u0000-\u0020\u007f-\u009f]/g,UE=/(?:^|[\s"'<>/])on\w+\s*=\s*["']?[^"'>]+["']?/i,$E=/(^|[\s"'<>/])on(\w+\s*=)/gi,jE=/(?:^|[\s"'<>/])srcdoc\s*=/i,BE=/(^|[\s"'<>/])s(rcdoc\s*=)/gi,VE=/(^|[\s"'<>/])((?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi;function WE(e,t,n){const r=t||n;if(!r)return e;const s=Number.parseInt(r,t?16:10);return s<=127?String.fromCharCode(s):e}function Xa(e){const t=e.replace(ME,WE).replace(DE,"").replace(FE,":").replace(HE,"");return NE.test(t)}function KE(e){const t=/url\s*\(/gi;let n="",r=0,s;for(;(s=t.exec(e))!==null;){const o=s.index,i=t.lastIndex-1;let a=i+1,l=1,u=null;for(;a<e.length;a++){const d=e[a];if(u){d===u&&(u=null);continue}if(d==='"'||d==="'")u=d;else if(d==="(")l++;else if(d===")"&&(l--,l===0))break}if(l!==0)break;const c=e.slice(i+1,a).trim(),f=c.startsWith('"')&&c.endsWith('"')||c.startsWith("'")&&c.endsWith("'")?c.slice(1,-1).trim():c;n+=e.slice(r,o),n+=Xa(f)?"url(about:blank)":e.slice(o,a+1),r=a+1}return n+e.slice(r)}function Ic(e,t){if(xE.test(e)&&Xa(t))return"about:blank";const n=e.toLowerCase()==="style"?KE(t):t;return IE(n)}function GE(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(t,n,r)=>`${n}="${Ic(n,r)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(t,n,r)=>`${n}='${Ic(n,r)}'`),UE.test(e)&&(e=e.replace($E,"$1on$2")),jE.test(e)&&(e=e.replace(BE,"$1s$2")),e=e.replace(VE,(t,n,r,s)=>Xa(s)?`${n}${r}about:blank`:t),e}const Nc=e=>!ae(e)||Le(e);function ur(e,t){if(Nc(e)||Nc(t)||t===Object.prototype)throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{if(o==="__proto__")return;const i=r[o];if(Le(i)){const a=[];a.length=i.length,s[o]=a,n.push({src:i,des:a})}else ae(i)?((!ae(s[o])||Le(s[o]))&&(s[o]=ce()),n.push({src:i,des:s[o]})):s[o]=i})}}function qE(e,t=e.getCurrentLanguage(),n=e.getCurrentDirection()){const r={htmlAttrs:{},link:[],meta:[]};if(e.dir&&(r.htmlAttrs.dir=n),e.lang&&t&&(r.htmlAttrs.lang=t),e.seo){const s=e.strictCanonicals?e.getRouteWithoutQuery():void 0,o=XE(e,s),i=Ja(e,s);r.link=r.link.concat(o,zE(e,i)),r.meta=r.meta.concat(QE(e,i),ZE(e),tw(e,ew(e,o)))}return r}function YE(e){const t=new Map;for(const n of e){if(!n.language){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[r,s]=n.language.split("-");r&&s&&(n.isCatchallLocale||!t.has(r))&&t.set(r,n),t.set(n.language,n)}return t}function XE(e,t=e.strictCanonicals?e.getRouteWithoutQuery():void 0){if(!e.hreflangLinks)return[];const n=[],r=YE(e.locales),s=new Map;for(const[o,i]of r.entries()){const a=s.get(i.code)??JE(i.code,e,t);if(!a)continue;s.set(i.code,a);const l=e.strictSeo?{rel:"alternate",href:a,hreflang:o}:{[e.key]:`i18n-alt-${o}`,rel:"alternate",href:a,hreflang:o};n.push(l),e.defaultLocale&&e.defaultLocale===i.code&&n[0].hreflang!=="x-default"&&n.unshift(e.strictSeo?{rel:"alternate",href:a,hreflang:"x-default"}:{[e.key]:"i18n-xd",rel:"alternate",href:a,hreflang:"x-default"})}return n}function JE(e,t,n=t.strictCanonicals?t.getRouteWithoutQuery():void 0){const r=t.getLocalizedRoute(e,n);if(r)return No(Ha(r,t.baseUrl),t.strictCanonicals?sh(t):{})}function Ja(e,t=e.strictCanonicals?e.getRouteWithoutQuery():void 0){const n=e.getLocalizedRoute(e.currentLocale,t);return n?No(Ha(n,e.baseUrl),sh(e)):""}function zE(e,t=Ja(e)){return t?[e.strictSeo?{rel:"canonical",href:t}:{[e.key]:"i18n-can",rel:"canonical",href:t}]:[]}function sh(e,t=e.getCurrentRoute()){if(!e.canonicalQueries.length)return{};const r=e.getLocaleRoute(Object.assign({},t,{path:void 0,name:e.getRouteBaseName(t)}))?.query??{},s={};for(const o of e.canonicalQueries.filter(i=>i in r)){s[o]??=[];for(const i of nw(r[o]))s[o].push(i||"")}return s}function QE(e,t=Ja(e)){return t?[e.strictSeo?{property:"og:url",content:t}:{[e.key]:"i18n-og-url",property:"og:url",content:t}]:[]}function ZE(e,t=e.getCurrentLanguage()){return t?[e.strictSeo?{property:"og:locale",content:no(t)}:{[e.key]:"i18n-og",property:"og:locale",content:no(t)}]:[]}function ew(e,t){const n=e.locales.map(s=>s.language||s.code);if(!e.strictSeo)return n;const r=new Set(t.map(s=>s.hreflang));return n.filter(s=>r.has(s))}function tw(e,t,n=e.getCurrentLanguage()){return t.filter(s=>s&&s!==n).map(s=>e.strictSeo?{property:"og:locale:alternate",content:no(s)}:{[e.key]:`i18n-og-alt-${s}`,property:"og:locale:alternate",content:no(s)})}function no(e=""){return e.replace(/-/g,"_")}function nw(e){return Array.isArray(e)?e:[e]}function oh(e,t,n=e.getLocale()){if(X(t)&&$t(t,{acceptRelative:!0}))return t;try{return ah(e,t,n).fullPath}catch{return""}}function ih(e,t,n=e.getLocale()){try{return ah(e,t,n)}catch{return}}function rw(e){if(!X(e))return Oe({},e);if(e[0]==="/"){const{pathname:t,search:n,hash:r}=Js(e);return{path:t,query:Fa(n),hash:r}}return{name:e}}function ah(e,t,n){const r=rw(t),s=e.resolveLocalizedRouteObject(r,n);s.name&&(s.path=void 0);const o=e.router.resolve(s);return o.name?o:e.router.resolve(t)}function lh(e,t,n=e.router.currentRoute.value){const r=e.getRouteBaseName(n);if(!r)return"";const s={name:r,params:Oe({},n.params,e.getLocalizedDynamicParams(t)),fullPath:n.fullPath,query:n.query,hash:n.hash,meta:n.meta},o=oh(e,s,t);return e.afterSwitchLocalePath(o,t)}function sw(e,t,n=e.getLocale(),r=e.getLocales(),s=e.routingOptions.domains?e.getBaseUrl(n):e.getBaseUrl()){const o=r.find(l=>l.code===n)||{},i=[...new Set(typeof t.seo=="object"&&t.seo?.canonicalQueries||[])],a={...e,afterSwitchLocalePath:e.getAlternatePath};if(!s&&!e.routingOptions.domains){if(e.strictSeo)throw new Error("I18n `baseUrl` is required to generate valid SEO tag links.");console.warn("I18n `baseUrl` is required to generate valid SEO tag links.")}return{...t,key:e.strictSeo?"key":"id",strictSeo:e.strictSeo,locales:r,currentLocale:n,baseUrl:s,canonicalQueries:i,hreflangLinks:e.routingOptions.hreflangLinks,defaultLocale:e.routingOptions.defaultLocale,strictCanonicals:e.strictSeo||e.routingOptions.strictCanonicals,getRouteBaseName:e.getRouteBaseName,getCurrentRoute:()=>e.router.currentRoute.value,getCurrentLanguage:()=>o.language,getCurrentDirection:()=>o.dir||"ltr",getLocaleRoute:l=>ih(e,l),getLocalizedRoute:(l,u)=>lh(a,l,u),getRouteWithoutQuery:()=>{try{return Oe({},e.router.resolve({query:{}}),{meta:e.router.currentRoute.value.meta})}catch{return}}}}function ow(e,{dir:t=!0,lang:n=!0,seo:r=!0}){return qE(sw(e,{dir:t,lang:n,seo:r}))}function iw(e=0){return t=>{const s=(typeof t=="string"?t:t.pathname).split("?")[0].split("/");return s[0]===""&&s.shift(),s.length>e&&s[e]||""}}const zr="___",aw="default",lw=zr+aw;function ca(e){return typeof e=="string"?e:e!=null?e.toString():""}function yi(e){return ca(typeof e=="object"?e?.name:e).split(zr)[0]}function xc(e,t,n){return n?e+zr+t+lw:e+zr+t}const cw=e=>e?nd:Yr;function uw(e,t,n){return n.routing&&(e!==t||n.strategy==="prefix")}const fw=iw(0),ro=e=>fw(e),dw=e=>e.split(zr).at(1)??"";function hw(e){return String(typeof e!="object"?e:e?.name||e?.path||"")}function pw(e){const t=hw(e);if(t[0]==="/")return ro(t);const n=dw(t);return n||(typeof e=="object"&&e?.path?ro(String(e.path)):"")}function gw(e,t){return!t.routing&&!t.domains?n=>ca(n):(n,r)=>{const s=ca(n),o=xc(s,r,!0);return e(o)?o:xc(s,r,!1)}}function mw(e,t){return t.routing?t.strategy==="prefix"?(n,r)=>{const s="/"+r+(n.path==="/"?"":n.path),o=e.options.routes.find(i=>i.path===s);return o!=null?e.resolve(Oe({},n,o,{path:s})):n}:n=>e.resolve(n):n=>n}const Qr=["en","vi"],Hr={en:[{key:"locale_en_46json_e804b01c",load:()=>Ze(()=>import("./DBL-cQio.js"),[],import.meta.url),cache:!0}],vi:[{key:"locale_vi_46json_f96efb46",load:()=>Ze(()=>import("./DmF-LwQa.js"),[],import.meta.url),cache:!0}]},yw=[],Kn=[{code:"en",language:"en-US",name:"English",domains:[],defaultForDomains:[]},{code:"vi",language:"vi-VN",name:"Tiếng Việt",domains:[],defaultForDomains:[]}],Gn=(e="")=>e.replace(/^https?:\/\//i,"").toLowerCase();function Zr(e,t){return!!e?.domains.some(n=>Gn(n)===t)}function _w(e,t,n){const r=e.find(s=>s.code===n);return!r?.domains.length||Zr(r,t)?"here":e.some(s=>Zr(s,t))?"other-domain":"off-host"}function ch(e,t,n){return _w(e,t,n)!=="other-domain"}const uh=e=>e?.defaultForDomains[0]||e?.domain||e?.domains[0];function bw(e,t,n){if(!ch(n,e,t))return uh(n.find(r=>r.code===t))}function vw(e,t,n){const r=e.filter(s=>Zr(s,t));return(r.find(s=>s.code===n)||r.find(s=>s.defaultForDomains.some(o=>Gn(o)===t))||r[0])?.code}function Ew(e,t){const n=t.replace(/^\./,"").replace(/:\d+$/,"").toLowerCase();return e.every(r=>r.domains.concat(r.domain||[]).every(s=>{const o=Gn(s).replace(/:\d+$/,"");return o===n||o.endsWith("."+n)}))}const fh=(e,t)=>$t(e,{strict:!0})?e:t.protocol+"//"+e;function ww(e,t,n,r=Kn){const s=r.find(i=>i.code===n),o=e?.[n]?.domain||s?.domain||s?.domains.find(i=>Gn(i)===t.host)||bw(t.host,n,r);if(o)return fh(o,t)}function Cw(e,t,n=Kn){let r;for(const s of n){const o=so(s,e);for(const i of[o.domain,...o.domains])!i||Gn(i)!==t.host||(!r||!$t(r,{strict:!0})&&$t(i,{strict:!0}))&&(r=i)}return r&&fh(r,t)}function so(e,t){if(typeof e=="string")return e;const n=e,r=t[n.code]?.domain;return!r||r===n.domain?e:{...n,domain:r,domains:[r],defaultForDomains:n.defaultForDomains.length?[r]:[]}}function Sw(e){const t={};for(const n of Qr){const r=Rw(e,[n]),s=Tw(n,r);t[n]={fallbacks:r,cacheable:s}}return t}function Rw(e,t){if(e===!1)return[];if(Le(e))return e;let n=[];if(X(e))return t.every(s=>s!==e)&&n.push(e),n;const r=[...t,"default"];for(const s of r)s in e&&(n=[...n,...e[s].filter(Boolean)]);return n}function Mc(e){return Hr[e]!=null&&Hr[e].every(t=>t.cache!==!1)}function Tw(e,t){return Mc(e)&&t.every(n=>Mc(n))}function Lw(e,t=Kn){return t.find(n=>n.defaultForDomains.some(r=>Gn(r)===e))?.code}function dh(e,t,n=Kn){const r=Lw(e,n)||t;return r||(n.some(s=>s.domains.length)?n[0]?.code:"")||""}const Un=e=>Qr.includes(e||""),Dc=e=>Un(e)?e:void 0,Aw=e=>!!e.path&&!e.name;function Pw(e){const{router:t,defaultLocale:n,strictSeo:r,compactRoutes:s}=e,o={strategy:e.strategy,routing:e.routing,domains:e.domains},i=cw(e.trailingSlash),a=gw(p=>t.hasRoute(p),o);function l(p,w){p.name=yi(p.name||t.currentRoute.value);const T=a(p.name,w);if(t.hasRoute(T))p.name=T,s&&p.params&&delete p.params.locale;else if(s&&Un(w)&&f().has(p.name))return p.params={...p.params||{},locale:w},p;return p.name=T,p}const u=mw(t,o);let c;function f(){if(c)return c;if(c=new Set,s)for(const p of t.getRoutes())p.name!=null&&/^\/:locale\(/.test(p.path)&&c.add(String(p.name));return c}function d(p,w){const T=u(p,w),S=yi(T);if(S){const O=a(S,w);if(t.hasRoute(O)){T.name=O;const A=T;return s&&A.params&&delete A.params.locale,T}if(s&&f().has(S)){const A=T;return A.name=S,A.params={...A.params||{},locale:w},A}return T.name=O,T}return uw(w,n,o)&&(T.path="/"+w+T.path),T.path=i(T.path,!0),T}const h=()=>t.currentRoute.value.meta.nuxtI18nInternal??{},y=(p,w=h())=>r&&!!p&&Object.keys(w).length>0&&!w[p],_=o.strategy==="prefix_except_default"||o.strategy==="prefix_and_default",L=(p,w,T)=>!!p&&dh(Gn(p),e.configuredDefaultLocale,T)===w,b=p=>(w,T,S,O)=>{const A=p(T);return A?(_&&L(uh(S),T,O)&&ro(w)===T&&(w=w.slice(T.length+1)||"/"),cs(A,w)):w},E=b(e.getBaseUrl),g=b(e.getCanonicalBaseUrl);return{router:t,getLocale:e.getLocale,getLocales:e.getLocales,getBaseUrl:e.getBaseUrl,getRouteBaseName:yi,getRouteLocalizedParams:h,getLocalizedDynamicParams:p=>{const w=e.getLocalePathPayload?.();return w?w[p]||{}:h()?.[p]},afterSwitchLocalePath:(p,w)=>{if(y(w))return"";if(!o.domains)return p;const T=e.getHost()??"",S=e.getLocales(),O=S.find(A=>A.code===w);return Zr(O,T)||!p?p:E(p,w,O,S)},getAlternatePath:(p,w)=>{if(w!==e.getLocale()&&y(w))return"";if(!o.domains||!p)return p;const T=e.getLocales();return g(p,w,T.find(S=>S.code===w),T)},resolveLocalizedRouteObject:(p,w)=>Aw(p)?d(p,w):l(p,w)}}function Uo(e){const t=e?._nuxtI18n?.composableCtx;if(!t)throw new Error("i18n context is not initialized. Ensure the i18n plugin is installed and the composable is used within a Vue component or setup function.");return t}function kw(e,t=ue()){const n=Ow(t);return{...Pw({router:ft(),defaultLocale:e.getDefaultLocale(),configuredDefaultLocale:e.config.defaultLocale||"",getLocale:e.getLocale,getLocales:e.getLocales,getBaseUrl:e.getBaseUrl,getCanonicalBaseUrl:e.getCanonicalBaseUrl,getHost:()=>Ga().host,getLocalePathPayload:()=>!1,strategy:"no_prefix",routing:!1,domains:!1,trailingSlash:!1,strictSeo:!1,compactRoutes:!1}),strictSeo:!1,_head:void 0,get head(){return this._head??=Pd({}),this._head},metaState:{htmlAttrs:{},meta:[],link:[]},seoSettings:{dir:!1,lang:!1,seo:typeof e.config.experimental.strictSeo=="object"&&e.config.experimental.strictSeo||!1},localePathPayload:n,routingOptions:{defaultLocale:e.config.defaultLocale||"",domains:!1,strictCanonicals:e.config.experimental.alternateLinkCanonicalQueries??!0,hreflangLinks:!1}}}function Ow(e=ue()){const t=document.querySelector(`[data-nuxt-i18n-slp="${e._id}"]`)?.textContent;return JSON.parse(t||"{}")}function Iw(e,t,n){return{line:e,column:t,offset:n}}function ua(e,t,n){return{start:e,end:t}}const ge={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},Nw=17;function $o(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function xw(e){throw e}const kt=" ",Mw="\r",qe=`
|
|
6
|
+
`,Dw="\u2028",Fw="\u2029";function Hw(e){const t=e;let n=0,r=1,s=1,o=0;const i=S=>t[S]===Mw&&t[S+1]===qe,a=S=>t[S]===qe,l=S=>t[S]===Fw,u=S=>t[S]===Dw,c=S=>i(S)||a(S)||l(S)||u(S),f=()=>n,d=()=>r,h=()=>s,y=()=>o,_=S=>i(S)||l(S)||u(S)?qe:t[S],L=()=>_(n),b=()=>_(n+o);function E(){return o=0,c(n)&&(r++,s=0),i(n)&&n++,n++,s++,t[n]}function g(){return i(n+o)&&o++,o++,t[n+o]}function p(){n=0,r=1,s=1,o=0}function w(S=0){o=S}function T(){const S=n+o;for(;S!==n;)E();o=0}return{index:f,line:d,column:h,peekOffset:y,charAt:_,currentChar:L,currentPeek:b,next:E,peek:g,reset:p,resetPeek:w,skipToPeek:T}}const Wt=void 0,Uw=".",Fc="'",$w="tokenizer";function jw(e,t={}){const n=t.location!==!1,r=Hw(e),s=()=>r.index(),o=()=>Iw(r.line(),r.column(),r.index()),i=o(),a=s(),l={currentType:13,offset:a,startLoc:i,endLoc:i,lastType:13,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(m,C,P,...N){const D=u();if(C.column+=P,C.offset+=P,c){const G=n?ua(D.startLoc,C):null,B=$o(m,G,{domain:$w,args:N});c(B)}}function d(m,C,P){m.endLoc=o(),m.currentType=C;const N={type:C};return n&&(N.loc=ua(m.startLoc,m.endLoc)),P!=null&&(N.value=P),N}const h=m=>d(m,13);function y(m,C){return m.currentChar()===C?(m.next(),C):(f(ge.EXPECTED_TOKEN,o(),0,C),"")}function _(m){let C="";for(;m.currentPeek()===kt||m.currentPeek()===qe;)C+=m.currentPeek(),m.peek();return C}function L(m){const C=_(m);return m.skipToPeek(),C}function b(m){if(m===Wt)return!1;const C=m.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C===95}function E(m){if(m===Wt)return!1;const C=m.charCodeAt(0);return C>=48&&C<=57}function g(m,C){const{currentType:P}=C;if(P!==2)return!1;_(m);const N=b(m.currentPeek());return m.resetPeek(),N}function p(m,C){const{currentType:P}=C;if(P!==2)return!1;_(m);const N=m.currentPeek()==="-"?m.peek():m.currentPeek(),D=E(N);return m.resetPeek(),D}function w(m,C){const{currentType:P}=C;if(P!==2)return!1;_(m);const N=m.currentPeek()===Fc;return m.resetPeek(),N}function T(m,C){const{currentType:P}=C;if(P!==7)return!1;_(m);const N=m.currentPeek()===".";return m.resetPeek(),N}function S(m,C){const{currentType:P}=C;if(P!==8)return!1;_(m);const N=b(m.currentPeek());return m.resetPeek(),N}function O(m,C){const{currentType:P}=C;if(!(P===7||P===11))return!1;_(m);const N=m.currentPeek()===":";return m.resetPeek(),N}function A(m,C){const{currentType:P}=C;if(P!==9)return!1;const N=()=>{const G=m.currentPeek();return G==="{"?b(m.peek()):G==="@"||G==="|"||G===":"||G==="."||G===kt||!G?!1:G===qe?(m.peek(),N()):j(m,!1)},D=N();return m.resetPeek(),D}function x(m){_(m);const C=m.currentPeek()==="|";return m.resetPeek(),C}function j(m,C=!0){const P=(D=!1,G="")=>{const B=m.currentPeek();return B==="{"||B==="@"||!B?D:B==="|"?!(G===kt||G===qe):B===kt?(m.peek(),P(!0,kt)):B===qe?(m.peek(),P(!0,qe)):!0},N=P();return C&&m.resetPeek(),N}function M(m,C){const P=m.currentChar();return P===Wt?Wt:C(P)?(m.next(),P):null}function V(m){const C=m.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C>=48&&C<=57||C===95||C===36}function Z(m){return M(m,V)}function se(m){const C=m.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C>=48&&C<=57||C===95||C===36||C===45}function q(m){return M(m,se)}function J(m){const C=m.charCodeAt(0);return C>=48&&C<=57}function ee(m){return M(m,J)}function Re(m){const C=m.charCodeAt(0);return C>=48&&C<=57||C>=65&&C<=70||C>=97&&C<=102}function ie(m){return M(m,Re)}function fe(m){let C="",P="";for(;C=ee(m);)P+=C;return P}function de(m){let C="";for(;;){const P=m.currentChar();if(P==="\\"){const N=m.peek();N==="{"||N==="}"||N==="@"||N==="|"||N==="\\"?(C+=P+N,m.next(),m.next()):(m.resetPeek(),C+=P,m.next())}else{if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P===kt||P===qe)if(j(m))C+=P,m.next();else{if(x(m))break;C+=P,m.next()}else C+=P,m.next()}}return C}function Lt(m){L(m);let C="",P="";for(;C=q(m);)P+=C;const N=m.currentChar();if(N&&N!=="}"&&N!==Wt&&N!==kt&&N!==qe&&N!==" "){const D=z(m);return f(ge.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,P+D),P+D}return m.currentChar()===Wt&&f(ge.UNTERMINATED_CLOSING_BRACE,o(),0),P}function At(m){L(m);let C="";return m.currentChar()==="-"?(m.next(),C+=`-${fe(m)}`):C+=fe(m),m.currentChar()===Wt&&f(ge.UNTERMINATED_CLOSING_BRACE,o(),0),C}function vt(m){return m!==Fc&&m!==qe}function Ge(m){L(m),y(m,"'");let C="",P="";for(;C=M(m,vt);)C==="\\"?P+=U(m):P+=C;const N=m.currentChar();return N===qe||N===Wt?(f(ge.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),N===qe&&(m.next(),y(m,"'")),P):(y(m,"'"),P)}function U(m){const C=m.currentChar();switch(C){case"\\":case"'":return m.next(),`\\${C}`;case"u":return Y(m,C,4);case"U":return Y(m,C,6);default:return f(ge.UNKNOWN_ESCAPE_SEQUENCE,o(),0,C),""}}function Y(m,C,P){y(m,C);let N="";for(let D=0;D<P;D++){const G=ie(m);if(!G){f(ge.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${C}${N}${m.currentChar()}`);break}N+=G}return`\\${C}${N}`}function W(m){return m!=="{"&&m!=="}"&&m!==kt&&m!==qe}function z(m){L(m);let C="",P="";for(;C=M(m,W);)P+=C;return P}function oe(m){let C="",P="";for(;C=Z(m);)P+=C;return P}function _e(m){const C=P=>{const N=m.currentChar();return N==="{"||N==="@"||N==="|"||N==="("||N===")"||!N||N===kt?P:(P+=N,m.next(),C(P))};return C("")}function v(m){L(m);const C=y(m,"|");return L(m),C}function R(m,C){let P=null;switch(m.currentChar()){case"{":return C.braceNest>=1&&f(ge.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),m.next(),P=d(C,2,"{"),L(m),C.braceNest++,P;case"}":return C.braceNest>0&&C.currentType===2&&f(ge.EMPTY_PLACEHOLDER,o(),0),m.next(),P=d(C,3,"}"),C.braceNest--,C.braceNest>0&&L(m),C.inLinked&&C.braceNest===0&&(C.inLinked=!1),P;case"@":return C.braceNest>0&&f(ge.UNTERMINATED_CLOSING_BRACE,o(),0),P=I(m,C)||h(C),C.braceNest=0,P;default:{let D=!0,G=!0,B=!0;if(x(m))return C.braceNest>0&&f(ge.UNTERMINATED_CLOSING_BRACE,o(),0),P=d(C,1,v(m)),C.braceNest=0,C.inLinked=!1,P;if(C.braceNest>0&&(C.currentType===4||C.currentType===5||C.currentType===6))return f(ge.UNTERMINATED_CLOSING_BRACE,o(),0),C.braceNest=0,$(m,C);if(D=g(m,C))return P=d(C,4,Lt(m)),L(m),P;if(G=p(m,C))return P=d(C,5,At(m)),L(m),P;if(B=w(m,C))return P=d(C,6,Ge(m)),L(m),P;if(!D&&!G&&!B)return P=d(C,12,z(m)),f(ge.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,P.value),L(m),P;break}}return P}function I(m,C){const{currentType:P}=C;let N=null;const D=m.currentChar();switch((P===7||P===8||P===11||P===9)&&(D===qe||D===kt)&&f(ge.INVALID_LINKED_FORMAT,o(),0),D){case"@":return m.next(),N=d(C,7,"@"),C.inLinked=!0,N;case".":return L(m),m.next(),d(C,8,".");case":":return L(m),m.next(),d(C,9,":");default:return x(m)?(N=d(C,1,v(m)),C.braceNest=0,C.inLinked=!1,N):T(m,C)||O(m,C)?(L(m),I(m,C)):S(m,C)?(L(m),d(C,11,oe(m))):A(m,C)?(L(m),D==="{"?R(m,C)||N:d(C,10,_e(m))):(P===7&&f(ge.INVALID_LINKED_FORMAT,o(),0),C.braceNest=0,C.inLinked=!1,$(m,C))}}function $(m,C){let P={type:13};if(C.braceNest>0)return R(m,C)||h(C);if(C.inLinked)return I(m,C)||h(C);switch(m.currentChar()){case"{":return R(m,C)||h(C);case"}":return f(ge.UNBALANCED_CLOSING_BRACE,o(),0),m.next(),d(C,3,"}");case"@":return I(m,C)||h(C);default:{if(x(m))return P=d(C,1,v(m)),C.braceNest=0,C.inLinked=!1,P;if(j(m))return d(C,0,de(m));break}}return P}function H(){const{currentType:m,offset:C,startLoc:P,endLoc:N}=l;return l.lastType=m,l.lastOffset=C,l.lastStartLoc=P,l.lastEndLoc=N,l.offset=s(),l.startLoc=o(),r.currentChar()===Wt?d(l,13):$(r,l)}return{nextToken:H,currentOffset:s,currentPosition:o,context:u}}const Bw="parser",Vw=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,Ww=/\\([\\@{}|])/g;function Kw(e,t){return t}function Gw(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 qw(e={}){const t=e.location!==!1,{onError:n}=e;function r(b,E,g,p,...w){const T=b.currentPosition();if(T.offset+=p,T.column+=p,n){const S=t?ua(g,T):null,O=$o(E,S,{domain:Bw,args:w});n(O)}}function s(b,E,g){const p={type:b};return t&&(p.start=E,p.end=E,p.loc={start:g,end:g}),p}function o(b,E,g,p){t&&(b.end=E,b.loc&&(b.loc.end=g))}function i(b,E){const g=b.context(),p=s(3,g.offset,g.startLoc);return p.value=E.replace(Ww,Kw),o(p,b.currentOffset(),b.currentPosition()),p}function a(b,E){const g=b.context(),{lastOffset:p,lastStartLoc:w}=g,T=s(5,p,w);return T.index=parseInt(E,10),b.nextToken(),o(T,b.currentOffset(),b.currentPosition()),T}function l(b,E){const g=b.context(),{lastOffset:p,lastStartLoc:w}=g,T=s(4,p,w);return T.key=E,b.nextToken(),o(T,b.currentOffset(),b.currentPosition()),T}function u(b,E){const g=b.context(),{lastOffset:p,lastStartLoc:w}=g,T=s(9,p,w);return T.value=E.replace(Vw,Gw),b.nextToken(),o(T,b.currentOffset(),b.currentPosition()),T}function c(b){const E=b.nextToken(),g=b.context(),{lastOffset:p,lastStartLoc:w}=g,T=s(8,p,w);return E.type!==11?(r(b,ge.UNEXPECTED_EMPTY_LINKED_MODIFIER,g.lastStartLoc,0),T.value="",o(T,p,w),{nextConsumeToken:E,node:T}):(E.value==null&&r(b,ge.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ot(E)),T.value=E.value||"",o(T,b.currentOffset(),b.currentPosition()),{node:T})}function f(b,E){const g=b.context(),p=s(7,g.offset,g.startLoc);return p.value=E,o(p,b.currentOffset(),b.currentPosition()),p}function d(b){const E=b.context(),g=s(6,E.offset,E.startLoc);let p=b.nextToken();if(p.type===8){const w=c(b);g.modifier=w.node,p=w.nextConsumeToken||b.nextToken()}switch(p.type!==9&&r(b,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ot(p)),p=b.nextToken(),p.type===2&&(p=b.nextToken()),p.type){case 10:p.value==null&&r(b,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ot(p)),g.key=f(b,p.value||"");break;case 4:p.value==null&&r(b,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ot(p)),g.key=l(b,p.value||"");break;case 5:p.value==null&&r(b,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ot(p)),g.key=a(b,p.value||"");break;case 6:p.value==null&&r(b,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ot(p)),g.key=u(b,p.value||"");break;default:{r(b,ge.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const w=b.context(),T=s(7,w.offset,w.startLoc);return T.value="",o(T,w.offset,w.startLoc),g.key=T,o(g,w.offset,w.startLoc),{nextConsumeToken:p,node:g}}}return o(g,b.currentOffset(),b.currentPosition()),{node:g}}function h(b){const E=b.context(),g=E.currentType===1?b.currentOffset():E.offset,p=E.currentType===1?E.endLoc:E.startLoc,w=s(2,g,p);w.items=[];let T=null;do{const A=T||b.nextToken();switch(T=null,A.type){case 0:A.value==null&&r(b,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ot(A)),w.items.push(i(b,A.value||""));break;case 5:A.value==null&&r(b,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ot(A)),w.items.push(a(b,A.value||""));break;case 4:A.value==null&&r(b,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ot(A)),w.items.push(l(b,A.value||""));break;case 6:A.value==null&&r(b,ge.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ot(A)),w.items.push(u(b,A.value||""));break;case 7:{const x=d(b);w.items.push(x.node),T=x.nextConsumeToken||null;break}}}while(E.currentType!==13&&E.currentType!==1);const S=E.currentType===1?E.lastOffset:b.currentOffset(),O=E.currentType===1?E.lastEndLoc:b.currentPosition();return o(w,S,O),w}function y(b,E,g,p){const w=b.context();let T=p.items.length===0;const S=s(1,E,g);S.cases=[],S.cases.push(p);do{const O=h(b);T||(T=O.items.length===0),S.cases.push(O)}while(w.currentType!==13);return T&&r(b,ge.MUST_HAVE_MESSAGES_IN_PLURAL,g,0),o(S,b.currentOffset(),b.currentPosition()),S}function _(b){const E=b.context(),{offset:g,startLoc:p}=E,w=h(b);return E.currentType===13?w:y(b,g,p,w)}function L(b){const E=jw(b,Oe({},e)),g=E.context(),p=s(0,g.offset,g.startLoc);return t&&p.loc&&(p.loc.source=b),p.body=_(E),e.onCacheKey&&(p.cacheKey=e.onCacheKey(b)),g.currentType!==13&&r(E,ge.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,b[g.offset]||""),o(p,E.currentOffset(),E.currentPosition()),p}return{parse:L}}function Ot(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 Yw(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Hc(e,t){for(let n=0;n<e.length;n++)za(e[n],t)}function za(e,t){switch(e.type){case 1:Hc(e.cases,t),t.helper("plural");break;case 2:Hc(e.items,t);break;case 6:{za(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 Xw(e,t={}){const n=Yw(e);n.helper("normalize"),e.body&&za(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Jw(e){const t=e.body;return t.type===2?Uc(t):t.cases.forEach(n=>Uc(n)),e}function Uc(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=Ya(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 er(e){switch(e.t=e.type,e.type){case 0:{const t=e;er(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++)er(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++)er(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;er(t.key),t.k=t.key,delete t.key,t.modifier&&(er(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 zw(e,t){const{filename:n,breakLineCode:r,needIndent:s}=t,o=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:s,indentLevel:0};o&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(_,L){i.code+=_}function u(_,L=!0){const b=L?r:"";l(s?b+" ".repeat(_):b)}function c(_=!0){const L=++i.indentLevel;_&&u(L)}function f(_=!0){const L=--i.indentLevel;_&&u(L)}function d(){u(i.indentLevel)}return{context:a,push:l,indent:c,deindent:f,newline:d,helper:_=>`_${_}`,needIndent:()=>i.needIndent}}function Qw(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),yr(e,t.key),t.modifier?(e.push(", "),yr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Zw(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o<s&&(yr(e,t.items[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function e0(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o<s&&(yr(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function t0(e,t){t.body?yr(e,t.body):e.push("null")}function yr(e,t){const{helper:n}=e;switch(t.type){case 0:t0(e,t);break;case 1:e0(e,t);break;case 2:Zw(e,t);break;case 6:Qw(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 n0=(e,t={})=>{const n=X(t.mode)?t.mode:"normal",r=X(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
7
|
+
`,o=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=zw(e,{filename:r,breakLineCode:s,needIndent:o});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(o),i.length>0&&(a.push(`const { ${Ya(i.map(c=>`${c}: _${c}`),", ")} } = ctx`),a.newline()),a.push("return "),yr(a,e),a.deindent(o),a.push("}"),delete e.helpers;const{code:l,map:u}=a.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function r0(e,t={}){const n=Oe({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,a=qw(n).parse(e);return r?(o&&Jw(a),s&&er(a),{ast:a,code:""}):(Xw(a,n),n0(a,n))}function $n(e){return ae(e)&&Qa(e)===0&&(mt(e,"b")||mt(e,"body"))}const hh=["b","body"];function s0(e){return Cn(e,hh)}const ph=["c","cases"];function o0(e){return Cn(e,ph,[])}const gh=["s","static"];function i0(e){return Cn(e,gh)}const mh=["i","items"];function a0(e){return Cn(e,mh,[])}const yh=["t","type"];function Qa(e){return Cn(e,yh)}const _h=["v","value"];function Rs(e,t){const n=Cn(e,_h);if(n!=null)return n;throw es(t)}const bh=["m","modifier"];function l0(e){return Cn(e,bh)}const vh=["k","key"];function c0(e){const t=Cn(e,vh);if(t)return t;throw es(6)}function Cn(e,t,n){for(let r=0;r<t.length;r++){const s=t[r];if(mt(e,s)&&e[s]!=null)return e[s]}return n}const Eh=[...hh,...ph,...gh,...mh,...vh,...bh,..._h,...yh];function es(e){return new Error(`unhandled node type: ${e}`)}function _i(e){return n=>u0(n,e)}function u0(e,t){const n=s0(t);if(n==null)throw es(0);if(Qa(n)===1){const o=o0(n);return e.plural(o.reduce((i,a)=>[...i,$c(e,a)],[]))}else return $c(e,n)}function $c(e,t){const n=i0(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=a0(t).reduce((s,o)=>[...s,fa(e,o)],[]);return e.normalize(r)}}function fa(e,t){const n=Qa(t);switch(n){case 3:return Rs(t,n);case 9:return Rs(t,n);case 4:{const r=t;if(mt(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(mt(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw es(n)}case 5:{const r=t;if(mt(r,"i")&&He(r.i))return e.interpolate(e.list(r.i));if(mt(r,"index")&&He(r.index))return e.interpolate(e.list(r.index));throw es(n)}case 6:{const r=t,s=l0(r),o=c0(r);return e.linked(fa(e,o),s?fa(e,s):void 0,e.type)}case 7:return Rs(t,n);case 8:return Rs(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const f0=e=>e;let Ts=ce();function d0(e,t={}){let n=!1;const r=t.onError||xw;return t.onError=s=>{n=!0,r(s)},{...r0(e,t),detectError:n}}function h0(e,t){if(X(e)){ke(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||f0)(e),s=Ts[r];if(s)return s;const{ast:o,detectError:i}=d0(e,{...t,location:!1,jit:!0}),a=_i(o);return i?a:Ts[r]=a}else{const n=e.cacheKey;if(n){const r=Ts[n];return r||(Ts[n]=_i(e))}else return _i(e)}}const zt={INVALID_ARGUMENT:Nw,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},p0=24;function Qt(e){return $o(e,null,void 0)}function Za(e,t){return t.locale!=null?jc(t.locale):jc(e.locale)}let bi;function jc(e){if(X(e))return e;if(we(e)){if(e.resolvedOnce&&bi!=null)return bi;if(e.constructor.name==="Function"){const t=e();if(PE(t))throw Qt(zt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return bi=t}else throw Qt(zt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Qt(zt.NOT_SUPPORT_LOCALE_TYPE)}function g0(e,t,n){return[...new Set([n,...Le(t)?t:ae(t)?Object.keys(t).filter(r=>r!=="default"):X(t)?[t]:[n]])]}function da(e,t,n){const r=X(n)?n:oo,s=e;let o;ae(t)?(s.__localeChainObjectCache||(s.__localeChainObjectCache=new WeakMap),o=s.__localeChainObjectCache.get(t),o||(o=new Map,s.__localeChainObjectCache.set(t,o))):(s.__localeChainCache||(s.__localeChainCache=new Map),o=s.__localeChainCache.get(t),o||(o=new Map,s.__localeChainCache.set(t,o)));const i=o.get(r);if(i)return i;const a=[];let l=[n];for(;Le(l);)l=Bc(a,l,t);const u=Le(t)||!Ae(t)?t:t.default?t.default:null;return l=X(u)?[u]:u,Le(l)&&Bc(a,l,!1),o.set(r,a),a}function Bc(e,t,n){let r=!0;for(let s=0;s<t.length&&ke(r);s++){const o=t[s];X(o)&&(r=m0(e,t[s],n))}return r}function m0(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=y0(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function y0(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(Le(n)||Ae(n))&&n[s]&&(r=n[s])}return r}const Sn=[];Sn[0]={w:[0],i:[3,0],"[":[4],o:[7]};Sn[1]={w:[1],".":[2],"[":[4],o:[7]};Sn[2]={w:[2],i:[3,0],0:[3,0]};Sn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Sn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Sn[5]={"'":[4,0],o:8,l:[5,0]};Sn[6]={'"':[4,0],o:8,l:[6,0]};const _0=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function b0(e){return _0.test(e)}function v0(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 E0(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 w0(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:b0(t)?v0(t):"*"+t}function C0(e){const t=[];let n=-1,r=0,s=0,o,i,a,l,u,c,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,r=4,d[0]();else{if(s=0,i===void 0||(i=w0(i),i===!1))return!1;d[1]()}};function h(){const y=e[n+1];if(r===5&&y==="'"||r===6&&y==='"')return n++,a="\\"+y,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&h())){if(l=E0(o),f=Sn[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(a=o,c()===!1))))return;if(r===7)return t}}const Vc=new Map;function S0(e,t){return ae(e)?e[t]:null}function R0(e,t){if(!ae(e))return null;let n=Vc.get(t);if(n||(n=C0(t),n&&Vc.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const i=n[o];if(Eh.includes(i)&&$n(s)||!ae(s)||!mt(s,i))return null;const a=s[i];if(a===void 0||we(s))return null;s=a,o++}return s}const T0="11.4.14",jo=-1,oo="en-US",io="",Wc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function L0(){return{upper:(e,t)=>t==="text"&&X(e)?e.toUpperCase():t==="vnode"&&ae(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&X(e)?e.toLowerCase():t==="vnode"&&ae(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&X(e)?Wc(e):t==="vnode"&&ae(e)&&"__v_isVNode"in e?Wc(e.children):e}}let wh;function A0(e){wh=e}let Ch;function P0(e){Ch=e}let Sh;function k0(e){Sh=e}let Rh=null;const Kc=e=>{Rh=e},O0=()=>Rh;let Gc=0;function I0(e={}){const t=we(e.onWarn)?e.onWarn:OE,n=X(e.version)?e.version:T0,r=X(e.locale)||we(e.locale)?e.locale:oo,s=we(r)?oo:r,o=Le(e.fallbackLocale)||Ae(e.fallbackLocale)||X(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=Ae(e.messages)?e.messages:vi(s),a=Ae(e.datetimeFormats)?e.datetimeFormats:vi(s),l=Ae(e.numberFormats)?e.numberFormats:vi(s),u=Oe(ce(),e.modifiers,L0()),c=e.pluralRules||ce(),f=we(e.missing)?e.missing:null,d=ke(e.missingWarn)||to(e.missingWarn)?e.missingWarn:!0,h=ke(e.fallbackWarn)||to(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,_=!!e.unresolving,L=we(e.postTranslation)?e.postTranslation:null,b=Ae(e.processor)?e.processor:null,E=ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter,p=we(e.messageCompiler)?e.messageCompiler:wh,w=we(e.messageResolver)?e.messageResolver:Ch||S0,T=we(e.localeFallbacker)?e.localeFallbacker:Sh||g0,S=ae(e.fallbackContext)?e.fallbackContext:void 0,O=e,A=ae(O.__datetimeFormatters)?O.__datetimeFormatters:new Map,x=ae(O.__numberFormatters)?O.__numberFormatters:new Map,j=ae(O.__meta)?O.__meta:{};Gc++;const M={version:n,cid:Gc,locale:r,fallbackLocale:o,messages:i,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:h,fallbackFormat:y,unresolving:_,postTranslation:L,processor:b,warnHtmlMessage:E,escapeParameter:g,messageCompiler:p,messageResolver:w,localeFallbacker:T,fallbackContext:S,onWarn:t,__meta:j};return M.datetimeFormats=a,M.numberFormats=l,M.__datetimeFormatters=A,M.__numberFormatters=x,M}const vi=e=>({[e]:ce()});function Th(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return X(a)?a:t}else return t}function qc(e,t){const n=e;ae(t)?n.__localeChainObjectCache?.delete(t):n.__localeChainCache?.delete(t)}function Ls(e,t,n){qc(e,n),e.fallbackContext&&qc(e.fallbackContext,n),e.localeFallbacker(e,n,t)}function N0(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function x0(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(N0(e,t[r]))return!0;return!1}function Lh(e,t,n,r,s,o,i){const{fallbackLocale:a,localeFallbacker:l,onWarn:u}=e,c=l(e,a,n);for(let f=0;f<c.length;f++){const d=c[f],h=(r[d]||{})[t];if(Ae(h)&&X(d))return d;Th(e,t,d,s,i)}return null}function Ah(e,t,n){let r=`${e}__${t}`;return Ae(n)&&!qa(n)&&(r=`${r}__${JSON.stringify(n)}`),r}function Ph(e,t,n){for(const r in n){const s=`${t}__${r}`;for(const o of e.keys())(o===s||o.startsWith(`${s}__`))&&e.delete(o)}}function kh(e,t,n,r){const[,s,o,i]=e;let a=n;return X(s)?t.key=s:Ae(s)&&Object.keys(s).forEach(l=>{r.includes(l)?a[l]=s[l]:t[l]=s[l]}),X(o)?t.locale=o:Ae(o)&&(a=o),Ae(i)&&(a=i),a}function Yc(e,...t){const{datetimeFormats:n,unresolving:r,onWarn:s}=e,{__datetimeFormatters:o}=e;if(!X(t[0])&&!nh(t[0])&&!He(t[0]))return io;const[i,a,l,u]=ha(...t),c=ke(l.missingWarn)?l.missingWarn:e.missingWarn,f=ke(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,d=!!l.part,h=Za(e,l);if(!X(i)||i===""){const E=new Intl.DateTimeFormat(h.replace(/!/g,""),u);return d?E.formatToParts(a):E.format(a)}const y=Lh(e,i,h,n,c,f,"datetime format");if(!X(y))return r?jo:i;const _=n[y][i],L=Ah(y,i,u);let b=o.get(L);return b||(b=new Intl.DateTimeFormat(y,Oe({},_,u)),o.set(L,b)),d?b.formatToParts(a):b.format(a)}const Oh=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function ha(...e){const[t]=e,n=ce(),r=ce();let s;if(X(t)){const i=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!i)throw Qt(zt.INVALID_ISO_DATE_ARGUMENT);const a=i[3]?i[3].trim().startsWith("T")?`${i[1].trim()}${i[3].trim()}`:`${i[1].trim()}T${i[3].trim()}`:i[1].trim();s=new Date(a);try{s.toISOString()}catch{throw Qt(zt.INVALID_ISO_DATE_ARGUMENT)}}else if(nh(t)){if(isNaN(t.getTime()))throw Qt(zt.INVALID_DATE_ARGUMENT);s=t}else if(He(t))s=t;else throw Qt(zt.INVALID_ARGUMENT);const o=kh(e,n,r,Oh);return[n.key||"",s,n,o]}function Xc(e,t,n){Ph(e.__datetimeFormatters,t,n)}function Jc(e,...t){const{numberFormats:n,unresolving:r,onWarn:s}=e,{__numberFormatters:o}=e;if(!He(t[0]))return io;const[i,a,l,u]=pa(...t),c=ke(l.missingWarn)?l.missingWarn:e.missingWarn,f=ke(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,d=!!l.part,h=Za(e,l);if(!X(i)||i===""){const E=new Intl.NumberFormat(h.replace(/!/g,""),u);return d?E.formatToParts(a):E.format(a)}const y=Lh(e,i,h,n,c,f,"number format");if(!X(y))return r?jo:i;const _=n[y][i],L=Ah(y,i,u);let b=o.get(L);return b||(b=new Intl.NumberFormat(y,Oe({},_,u)),o.set(L,b)),d?b.formatToParts(a):b.format(a)}const Ih=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function pa(...e){const[t]=e,n=ce(),r=ce();if(!He(t))throw Qt(zt.INVALID_ARGUMENT);const s=t,o=kh(e,n,r,Ih);return[n.key||"",s,n,o]}function zc(e,t,n){Ph(e.__numberFormatters,t,n)}const M0=e=>e,D0=e=>"",F0="text",H0=e=>e.length===0?"":Ya(e),U0=kE;function Ei(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function $0(e){const t=He(e.pluralIndex)?e.pluralIndex:-1;return He(e.named?.count)?e.named.count:He(e.named?.n)?e.named.n:t}function j0(e={}){const t=e.locale,n=$0(e),r=X(t)&&we(e.pluralRules?.[t])?e.pluralRules[t]:Ei,s=r===Ei?void 0:Ei,o=b=>b[r(n,b.length,s)],i=e.list||[],a=b=>i[b],l=e.named||ce();He(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const u=b=>l[b];function c(b,E){const g=we(e.messages)?e.messages(b,!!E):ae(e.messages)?e.messages[b]:!1;return g||(e.parent?e.parent.message(b):D0)}const f=b=>e.modifiers?e.modifiers[b]:M0,d=we(e.processor?.normalize)?e.processor.normalize:H0,h=we(e.processor?.interpolate)?e.processor.interpolate:U0,y=X(e.processor?.type)?e.processor.type:F0,L={list:a,named:u,plural:o,linked:(b,...E)=>{const[g,p]=E;let w="text",T="";E.length===1?ae(g)?(T=g.modifier||T,w=g.type||w):X(g)&&(T=g||T):E.length===2&&(X(g)&&(T=g||T),X(p)&&(w=p||w));const S=c(b,!0)(L),O=S===""||S===void 0?b:S,A=w==="vnode"&&Le(O)&&T?O[0]:O;return T?f(T)(A,w):A},message:c,type:y,interpolate:h,normalize:d,values:Oe(ce(),i,l)};return L}const Qc=()=>"",_r=e=>we(e),ao=e=>X(e)||$n(e)||_r(e);function Zc(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:a}=e,[l,u]=ga(...t),c=ke(u.missingWarn)?u.missingWarn:e.missingWarn,f=ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=ke(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,y=X(u.default)||ke(u.default)?ke(u.default)?o?l:()=>l:u.default:n?o?l:()=>l:null,_=n||y!=null&&(X(y)||we(y)),L=Za(e,u);d&&B0(u);let[b,E,g]=h?[l,L,a[L]||ce()]:Nh(e,l,L,i,f,c),p=b,w=l;if(!h&&!ao(p)&&_&&(p=y,w=p),!h&&(!ao(p)||!X(E)))return s?jo:l;let T=!1;const S=()=>{T=!0},O=_r(p)?p:xh(e,l,E,p,w,S);if(T)return p;const A=K0(e,E,g,u),x=j0(A),j=V0(e,O,x);let M=r?r(j,l):j;return d&&X(M)&&(M=GE(M)),M}function B0(e){if(Le(e.list)&&(e.list=e.list.map(t=>X(t)?Oc(t):t)),ae(e.named)){const t=e.named,n=ce();for(const r of Object.keys(t)){const s=t[r];n[r]=X(s)?Oc(s):s}e.named=n}}function Nh(e,t,n,r,s,o){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f=ce(),d,h=null;const y="translate";for(let _=0;_<c.length&&(d=c[_],f=i[d]||ce(),(h=l(f,t))===null&&(h=f[t]),!ao(h));_++)if(!x0(d,c)){const L=Th(e,t,d,o,y);L!==t&&(h=L)}return[h,d,f]}function xh(e,t,n,r,s,o){const{messageCompiler:i,warnHtmlMessage:a}=e;if(_r(r)){const u=r;return u.locale=u.locale||n,u.key=u.key||t,u}if(i==null){const u=(()=>r);return u.locale=n,u.key=t,u}const l=i(r,W0(e,n,s,r,a,o));return l.locale=n,l.key=t,l.source=r,l}function V0(e,t,n){return t(n)}function ga(...e){const[t,n,r]=e,s=ce();if(!X(t)&&!He(t)&&!_r(t)&&!$n(t))throw Qt(zt.INVALID_ARGUMENT);const o=He(t)?String(t):(_r(t),t);return He(n)?s.plural=n:X(n)?s.default=n:Ae(n)&&!qa(n)?s.named=n:Le(n)&&(s.list=n),He(r)?s.plural=r:X(r)?s.default=r:Ae(r)&&Oe(s,r),[o,s]}function W0(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>CE(t,n,i)}}function K0(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:s,pluralRules:o,messages:(h,y)=>{let _=i(n,h);if(_==null&&(c||y)){const[L,,b]=Nh(c||e,h,t,a,l,u);_=L??i(b,h)}if(X(_)||$n(_)){let L=!1;const E=xh(e,h,t,_,h,()=>{L=!0});return L?Qc:E}else return _r(_)?_:Qc}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),He(r.plural)&&(d.pluralIndex=r.plural),d}const G0="11.4.14",ct={UNEXPECTED_RETURN_TYPE:p0,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function yt(e,...t){return $o(e,null,void 0)}const ma=wn("__translateVNode"),ya=wn("__datetimeParts"),_a=wn("__numberParts"),q0=wn("__setPluralRules"),Y0=wn("__injectWithOption"),nr=wn("__dispose");let Mh=null;{const e=TE().__VUE_INSTANCE_SETTERS__;Le(e)&&e.push(t=>{Mh=t})}function On(e){return!!AE(e)}function ts(e){if(!ae(e)||$n(e))return e;for(const t in e)if(mt(e,t))if(!t.includes("."))ae(e[t])&&ts(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let i=0;i<r;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in s||(s[n[i]]=ce()),!ae(s[n[i]])){o=!0;break}s=s[n[i]]}if(o||($n(s)?Eh.includes(n[r])||delete e[t]:(s[n[r]]=e[t],delete e[t])),!$n(s)){const i=s[n[r]];ae(i)&&ts(i)}}return e}function Dh(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,i=Ae(n)?n:Le(r)?ce():{[e]:ce()};if(Le(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;if(l){if(On(l))return;i[l]=fn(i,l)||ce(),ur(u,i[l])}else ur(u,i)}else X(a)&&ur(JSON.parse(a),i)}),s==null&&o)for(const a in i)mt(i,a)&&ts(i[a]);return i}function X0(e){return e.type}function J0(e,t,n){let r=ae(t.messages)?t.messages:ce();"__i18nGlobal"in n&&(r=Dh(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(ae(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ae(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function eu(e){return Pe(yn,null,e,0)}function Fh(){return Mh??an()}const tu=()=>[],z0=()=>!1;let nu=0;function ru(e){return((t,n,r,s)=>e(n,r,Fh()||void 0,s))}function ba(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,o=eo?st:Bn;let i=ke(e.inheritLocale)?e.inheritLocale:!0;const a=o(t&&i?t.locale.value:X(e.locale)?e.locale:oo),l=o(t&&i?t.fallbackLocale.value:X(e.fallbackLocale)||Le(e.fallbackLocale)||Ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=o(Dh(a.value,e)),c=o(Ae(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=o(Ae(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:ke(e.missingWarn)||to(e.missingWarn)?e.missingWarn:!0,h=t?t.fallbackWarn:ke(e.fallbackWarn)||to(e.fallbackWarn)?e.fallbackWarn:!0,y=t?t.fallbackRoot:ke(e.fallbackRoot)?e.fallbackRoot:!0,_=!!e.fallbackFormat,L=we(e.missing)?e.missing:null,b=we(e.missing)?ru(e.missing):null,E=we(e.postTranslation)?e.postTranslation:null,g=t?t.warnHtmlMessage:ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,p=!!e.escapeParameter;const w=t?t.modifiers:Ae(e.modifiers)?e.modifiers:{};let T=e.pluralRules||t&&t.pluralRules,S;S=(()=>{r&&Kc(null);const k={version:G0,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:w,pluralRules:T,missing:b===null?void 0:b,missingWarn:d,fallbackWarn:h,fallbackFormat:_,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:g,escapeParameter:p,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};k.datetimeFormats=c.value,k.numberFormats=f.value;const F=I0(k);return r&&Kc(F),F})(),Ls(S,a.value,l.value);function A(){return[a.value,l.value,u.value,c.value,f.value]}const x=xe({get:()=>a.value,set:k=>{S.locale=k,a.value=k}});function j(k){r||(S.fallbackContext=O0());try{return k()}finally{r||(S.fallbackContext=void 0)}}function M(k){j(()=>Ls(S,a.value,k))}const V=xe({get:()=>l.value,set:k=>{l.value=k,S.fallbackLocale=l.value,M(l.value)}}),Z=xe(()=>u.value),se=xe(()=>c.value),q=xe(()=>f.value);function J(){return we(E)?E:null}function ee(k){E=k,S.postTranslation=k}function Re(){return L}function ie(k){k!==null&&(b=ru(k)),L=k,S.missing=b}const fe=(k,F,ne,re,be,ve)=>{A();let Ie;if(Ie=j(()=>k(S)),ne!=="translate exists"&&He(Ie)&&Ie===jo||ne==="translate exists"&&!Ie){const[Je,qn]=F();return t&&y?re(t):be(Je)}else{if(ve(Ie))return Ie;throw yt(ct.UNEXPECTED_RETURN_TYPE)}};function de(...k){return fe(F=>Reflect.apply(Zc,null,[F,...k]),()=>ga(...k),"translate",F=>Reflect.apply(F.t,F,[...k]),F=>F,F=>X(F))}function Lt(...k){const[F,ne,re]=k;if(re&&!ae(re))throw yt(ct.INVALID_ARGUMENT);return de(F,ne,Oe({resolvedMessage:!0},re||{}))}function At(...k){return fe(F=>Reflect.apply(Yc,null,[F,...k]),()=>ha(...k),"datetime format",F=>Reflect.apply(F.d,F,[...k]),()=>io,F=>X(F)||Le(F))}function vt(...k){return fe(F=>Reflect.apply(Jc,null,[F,...k]),()=>pa(...k),"number format",F=>Reflect.apply(F.n,F,[...k]),()=>io,F=>X(F)||Le(F))}function Ge(k){return k.map(F=>X(F)||He(F)||ke(F)?eu(String(F)):F)}const Y={normalize:Ge,interpolate:k=>k,type:"vnode"};function W(...k){return fe(F=>{let ne;const re=F;try{re.processor=Y,ne=Reflect.apply(Zc,null,[re,...k])}finally{re.processor=null}return ne},()=>ga(...k),"translate",F=>F[ma](...k),F=>[eu(F)],F=>Le(F))}function z(...k){return fe(F=>Reflect.apply(Jc,null,[F,...k]),()=>pa(...k),"number format",F=>F[_a](...k),tu,F=>X(F)||Le(F))}function oe(...k){return fe(F=>Reflect.apply(Yc,null,[F,...k]),()=>ha(...k),"datetime format",F=>F[ya](...k),tu,F=>X(F)||Le(F))}function _e(k){T=k,S.pluralRules=T}function v(k,F){return fe(()=>{if(!k)return!1;const ne=X(F)?F:a.value,re=X(F)?[ne]:da(S,l.value,ne);for(let be=0;be<re.length;be++){const ve=$(re[be]);let Ie=S.messageResolver(ve,k);if(Ie===null&&(Ie=ve[k]),ao(Ie))return!0}return!1},()=>[k],"translate exists",ne=>Reflect.apply(ne.te,ne,[k,F]),z0,ne=>ke(ne))}function R(k){let F=null;const ne=da(S,l.value,a.value);for(let re=0;re<ne.length;re++){const be=fn(u.value,ne[re])||{},ve=S.messageResolver(be,k);if(ve!=null){F=ve;break}}return F}function I(k){const F=R(k);return F??(t?t.tm(k)||{}:{})}function $(k){return fn(u.value,k)||{}}function H(k,F){On(k)||(s&&ts(F),u.value[k]=F,S.messages=u.value)}function m(k,F){On(k)||(u.value[k]=fn(u.value,k)||{},s&&ts(F),ur(F,u.value[k]),S.messages=u.value)}function C(k){return fn(c.value,k)||{}}function P(k,F){On(k)||(c.value[k]=F,S.datetimeFormats=c.value,Xc(S,k,F))}function N(k,F){On(k)||(c.value[k]=Oe(fn(c.value,k)||{},F),S.datetimeFormats=c.value,Xc(S,k,F))}function D(k){return fn(f.value,k)||{}}function G(k,F){On(k)||(f.value[k]=F,S.numberFormats=f.value,zc(S,k,F))}function B(k,F){On(k)||(f.value[k]=Oe(fn(f.value,k)||{},F),S.numberFormats=f.value,zc(S,k,F))}nu++,ot(l,()=>M(l.value),{deep:!0,flush:"sync"}),t&&eo&&(ot(t.locale,k=>{i&&(a.value=k,S.locale=k,Ls(S,a.value,l.value))}),ot(t.fallbackLocale,k=>{i&&(l.value=k,S.fallbackLocale=l.value,Ls(S,a.value,l.value))}));const K={id:nu,locale:x,fallbackLocale:V,get inheritLocale(){return i},set inheritLocale(k){i=k,k&&t&&(x.value=t.locale.value,V.value=t.fallbackLocale.value)},get availableLocales(){return Object.keys(u.value).sort()},messages:Z,get modifiers(){return w},get pluralRules(){return T||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(k){d=k,S.missingWarn=d},get fallbackWarn(){return h},set fallbackWarn(k){h=k,S.fallbackWarn=h},get fallbackRoot(){return y},set fallbackRoot(k){y=k},get fallbackFormat(){return _},set fallbackFormat(k){_=k,S.fallbackFormat=_},get warnHtmlMessage(){return g},set warnHtmlMessage(k){g=k,S.warnHtmlMessage=k},get escapeParameter(){return p},set escapeParameter(k){p=k,S.escapeParameter=k},t:de,getLocaleMessage:$,setLocaleMessage:H,mergeLocaleMessage:m,getPostTranslationHandler:J,setPostTranslationHandler:ee,getMissingHandler:Re,setMissingHandler:ie,[q0]:_e};return K.datetimeFormats=se,K.numberFormats=q,K.rt=Lt,K.te=v,K.tm=I,K.d=At,K.n=vt,K.getDateTimeFormat=C,K.setDateTimeFormat=P,K.mergeDateTimeFormat=N,K.getNumberFormat=D,K.setNumberFormat=G,K.mergeNumberFormat=B,K[Y0]=n,K[ma]=W,K[ya]=oe,K[_a]=z,K}const el={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Q0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===Ve?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},ce())}function Hh(){return Ve}const Z0=bt({name:"i18n-t",props:Oe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>He(e)||!isNaN(e)}},el),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Bo({useScope:e.scope,__useComponent:!0});return()=>{const o=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),u=ce();e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=X(e.plural)?+e.plural:e.plural);const c=Q0(t,l);return s[ma](e.keypath,c,u)},i=Oe(ce(),r),a=X(e.tag)||ae(e.tag)?e.tag:Hh();return ae(a)?Fe(a,i,{default:o}):Fe(a,i,o())}}}),su=Z0;function eC(e){return Le(e)&&!X(e[0])}function Uh(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i=()=>{const u={part:!0};let c=ce();e.locale&&(u.locale=e.locale),X(e.format)?u.key=e.format:ae(e.format)&&(X(e.format.key)&&(u.key=e.format.key),c=Object.keys(e.format).reduce((h,y)=>n.includes(y)?Oe(ce(),h,{[y]:e.format[y]}):h,ce()));const f=r(e.value,u,c);let d=[u.key];return Le(f)?d=f.map((h,y)=>{const _=s[h.type],L=_?_({[h.type]:h.value,index:y,parts:f}):[h.value];return eC(L)&&(L[0].key=`${h.type}-${y}`),L}):X(f)&&(d=[f]),d},a=Oe(ce(),o),l=X(e.tag)||ae(e.tag)?e.tag:Hh();return ae(l)?Fe(l,a,{default:i}):Fe(l,a,i())}}const tC=bt({name:"i18n-n",props:Oe({value:{type:Number,required:!0},format:{type:[String,Object]}},el),setup(e,t){const n=e.i18n||Bo({useScope:e.scope,__useComponent:!0});return Uh(e,t,Ih,(...r)=>n[_a](...r))}}),ou=tC;function nC(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 rC(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw yt(ct.UNEXPECTED_ERROR);const u=nC(e,a.$),c=iu(l);return[Reflect.apply(u.t,u,[...au(c)]),u]};return{created:(i,a)=>{const[l,u]=t(a);eo&&(i.__i18nWatcher=ot(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=u,i.textContent=l},unmounted:i=>{eo&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,u=iu(a);i.textContent=Reflect.apply(l.t,l,[...au(u)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function iu(e){if(X(e))return{path:e};if(Ae(e)){if(!("path"in e))throw yt(ct.REQUIRED_VALUE,"path");return e}else throw yt(ct.INVALID_VALUE)}function au(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return X(n)&&(i.locale=n),He(s)&&(i.plural=s),He(o)&&(i.plural=o),[t,a,i]}function sC(e,t,...n){const r=Ae(n[0])?n[0]:{};(!ke(r.globalInstall)||r.globalInstall)&&([su.name,"I18nT"].forEach(o=>e.component(o,su)),[ou.name,"I18nN"].forEach(o=>e.component(o,ou)),[uu.name,"I18nD"].forEach(o=>e.component(o,uu))),e.directive("t",rC(t))}const oC=wn("global-vue-i18n");function iC(e={}){const t=ke(e.globalInjection)?e.globalInjection:!0,n=new Map,[r,s]=aC(e),o=wn("");function i(c){return n.get(c)||null}function a(c,f){n.set(c,f)}function l(c){n.delete(c)}const u={get mode(){return"composition"},async install(c,...f){if(c.__VUE_I18N_SYMBOL__=o,c.provide(c.__VUE_I18N_SYMBOL__,u),Ae(f[0])){const y=f[0];u.__composerExtend=y.__composerExtend,u.__vueI18nExtend=y.__vueI18nExtend}let d=null;t&&(d=pC(c,u.global)),sC(c,u,...f);const h=c.unmount;c.unmount=()=>{d&&d(),u.dispose(),h()}},get global(){return s},dispose(){r.stop()},__instances:n,__getInstance:i,__setInstance:a,__deleteInstance:l};return u}function Bo(e={}){const t=Fh();if(t==null)throw yt(ct.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw yt(ct.NOT_INSTALLED);const n=lC(t),r=uC(n),s=X0(t),o=cC(e,s);if(o==="global")return J0(r,e,s),r;if(o==="parent"){let l=lu(n,t,e.__useComponent);return l==null&&(l=r),l}if(o==="isolated"){if(n.mode!=="composition")throw yt(ct.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,u=Oe({},e),c=lu(n,t);u.__root=c||r;const f=ba(u);return l.__composerExtend&&(f[nr]=l.__composerExtend(f)),En()&&Ur(()=>{const h=f[nr];h&&(h(),delete f[nr])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=Oe({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=ba(l),i.__composerExtend&&(a[nr]=i.__composerExtend(a)),dC(i,t,a),i.__setInstance(t,a)}return a}function aC(e,t){const n=rs(),r=n.run(()=>ba(e));if(r==null)throw yt(ct.UNEXPECTED_ERROR);return[n,r]}function lC(e){const t=Ue(e.isCE?oC:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw yt(e.isCE?ct.NOT_INSTALLED_WITH_PROVIDE:ct.UNEXPECTED_ERROR);return t}function cC(e,t){return qa(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function uC(e){return e.mode==="composition"?e.global:e.global.__composer}function lu(e,t,n=!1){let r=null;const s=t.root;let o=fC(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(o)),r!=null||s===o)break;o=o.parent}return r}function fC(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function dC(e,t,n){To(()=>{},t),Lo(()=>{const r=n;e.__deleteInstance(t);const s=r[nr];s&&(s(),delete r[nr])},t)}const hC=["locale","fallbackLocale","availableLocales"],cu=["t","rt","d","n","tm","te"];function pC(e,t){const n=Object.create(null);return hC.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw yt(ct.UNEXPECTED_ERROR);const i=Se(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,cu.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw yt(ct.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,cu.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}const gC=bt({name:"i18n-d",props:Oe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},el),setup(e,t){const n=e.i18n||Bo({useScope:e.scope,__useComponent:!0});return Uh(e,t,Oh,(...r)=>n[ya](...r))}}),uu=gC;A0(h0);P0(R0);k0(da);function fu(e=ue()){const t=Uo(e);return n=>{if(n!=null)return t.getRouteBaseName(n)||void 0}}function mC(e=ue()){const t=Uo(e);return(n,r)=>oh(t,n,r)}function yC(e=ue()){const t=Uo(e);return(n,r)=>ih(t,n,r)}function $h(e=ue()){const t=Uo(e);return n=>lh(t,n)}function Vo(e,t){return e?e.$config.public.i18n:us().public.i18n}function tl(e){const t=Vo(e).detectBrowserLanguage,n=t||{};return{...n,enabled:!!t,cookieKey:n.cookieKey||"i18n_redirected"}}function _C(e){if(e)return{path:"/"+(X(e)?e:e.path).replace(/^\//,""),code:!X(e)&&e.statusCode||302}}const bC={"&":"&",'"':""","'":"'","<":"<",">":">"};function vC(e){return e.replace(/["'&<>]/g,t=>bC[t])}const du="nuxt-i18n-slp",EC=new RegExp([`<!--${du}-\\[(\\w+)\\]-->`,".+?",`<!--/${du}-->`].join(""),"g"),wC=nt({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){const t=ue(e._id),n=$h(t);t.hook("app:rendered",r=>{r.renderResult?.html!=null&&(r.renderResult.html=r.renderResult.html.replaceAll(EC,(s,o)=>{const i=vC(n(o??""));return s.replace(/href="([^"]+)"/,()=>`href="${i||"#"}" `)}))})}});function CC(){return globalThis.AsyncLocalStorage||globalThis.process?.getBuiltinModule?.("node:async_hooks")?.AsyncLocalStorage}function SC(e={}){let t,n=!1;const r=l=>{if(t&&t!==l)throw new Error("Context conflict")};let s;if(e.asyncContext){const l=e.AsyncLocalStorage||CC();l?s=new l:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=l=>s&&l!==null&&typeof l=="object"?{__unctx_weak:new WeakRef(l)}:l,i=l=>l&&l.__unctx_weak?l.__unctx_weak.deref():l,a=()=>{if(s){const l=s.getStore();if(l!==void 0)return i(l)}return t};return{use:()=>{const l=a();if(l===void 0)throw new Error("Context is not available");return l},tryUse:()=>a(),set:(l,u)=>{u||r(l),t=l,n=!0},unset:()=>{t=void 0,n=!1},call:(l,u)=>{r(l),t=l;try{return s?s.run(o(l),u):u()}finally{n||(t=void 0)}},async callAsync(l,u){t=l;const c=()=>{t=l},f=()=>t===l?c:void 0;va.add(f);try{const d=s?s.run(o(l),u):u();return n||(t=void 0),await d}finally{va.delete(f)}}}}function RC(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=SC({...e,...r})),t[n]}}}const lo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},hu="__unctx__";lo[hu]||(lo[hu]=RC());const pu="__unctx_async_handlers__",va=lo[pu]||(lo[pu]=new Set);function jh(e){const t=[];for(const s of va){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const Bh=new Map;function Ea(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Ea);const t=ce(null);for(const n of Object.keys(e))t[n]=Ea(e[n]);return t}const TC=hd((e,t,n)=>{if(t==="messages"||t==="datetimeFormats"||t==="numberFormats")return e[t]??=ce(null),ur(n,e[t]),!0});async function LC(e){const t=ue();let n={messages:ce(null)};for(const r of e){const s=await r().then(i=>Vh(i)?i.default:i),o=we(s)?await t.runWithContext(()=>s()):s;n=TC(ce(null),o,n)}return n.fallbackLocale??=!1,n}const Vh=e=>Ho(e)==="[object Module]";async function AC(e,t){const n=ue();try{const r=await n.runWithContext(t.load).then(s=>Vh(s)?s.default:s);return we(r)?await n.runWithContext(()=>r(e)):r}catch(r){throw new Error(`Failed loading locale (${e}): `+r.message,{cause:r})}}async function PC(e,t=[]){const n=ue(),r=await Promise.all(t.map(async o=>{const i=kC(o),a=i||await n.runWithContext(()=>AC(e,o));return!i&&o.cache!==!1&&Bh.set(o.key,{ttl:Date.now()+86400*1e3,value:a}),a})),s={};for(const o of r)ur(o,s);return s}function kC(e){if(e.cache===!1)return;const t=Bh.get(e.key);if(t!=null)return t.ttl>Date.now()?t.value:void 0}function OC(e){return t=>!e.dynamic.includes(t)&&!e.undeliverable.includes(t)}function IC(e){return t=>!0}function nl(e){return e!=null&&"global"in e&&"mode"in e?e.global:e}function As(e){const t=nl(e);return"__composer"in t?t.__composer:t}var NC=[],xC={en:"6b9948c5",vi:"6b9948c5"},MC=[];const Wh=()=>eh("i18n:cached-locale-configs",()=>{}),Kh=()=>eh("i18n:resolved-locale",()=>"");function DC(e,t){const n=!we(t)&&xo(t).protocol;return n?{host:e.host,protocol:n}:e}function FC(e){const{baseUrl:t,appBase:n,domains:r,getDomainForHost:s,getDomainFromLocale:o}=e,i=we(t)?t:()=>r&&s()||t||"";return a=>cs(a&&o(a)||i(),n)}function HC({cookieCrossOrigin:e,cookieDomain:t,cookieSecure:n,cookieKey:r}){const s=new Date;return th(r||"i18n_redirected",{path:"/",readonly:!1,expires:new Date(s.setDate(s.getDate()+365)),sameSite:e?"none":"lax",domain:t||void 0,secure:e||n})}const UC=OC({dynamic:NC,undeliverable:MC});function $C(e,t,n,r=!1){const s=nl(t),o=Vo(e),i=tl(e),a=Wh(),l=HC(i),u=new Set,c=S=>a.value[S];let f;const d=()=>f??=DC(Ga(),o.baseUrl),h=S=>ww(o.domainLocales,d(),S),y={baseUrl:we(o.baseUrl)?()=>o.baseUrl(e):o.baseUrl,appBase:e.$config.app.baseURL,domains:!1,getDomainForHost:()=>Cw(o.domainLocales,d())},_=FC({...y,getDomainFromLocale:h}),L=_,b=Kh(),E=IC(),g=S=>"",p=async S=>{if(!(S in Hr))return;const O=await e.runWithContext(()=>PC(S,Hr[S])),A=r?Ea(O):O;s.mergeLocaleMessage(S,A)},w=async S=>{if(!(S in Hr))return;const O=M=>Object.keys(M).filter(V=>!T.usesRuntimeLoaders(V)),A=c(S)?.cacheable?{}:{"Cache-Control":"no-cache"},x=cs(g(),"/_i18n",xC[S],S,"messages.json"),j=await $fetch(x,{headers:A});for(const M of O(j))s.mergeLocaleMessage(M,j[M])},T={vueI18n:t,initial:!0,preloaded:!1,config:o,rootRedirect:_C(o.rootRedirect),redirectStatusCode:o.redirectStatusCode??302,usesRuntimeLoaders:S=>E(S),getDefaultLocale:()=>n,getLocale:()=>ye(s.locale),setLocale:async S=>{const O=T.getLocale();S===O||!Un(S)||(Se(s.locale)?s.locale.value=S:s.locale=S,await e.callHook("i18n:localeSwitched",{newLocale:S,oldLocale:O}),b.value=S)},setLocaleSuspend:async S=>{Un(S)&&(T.vueI18n.__pendingLocale=S,T.vueI18n.__pendingLocalePromise=new Promise(O=>{T.vueI18n.__resolvePendingLocalePromise=async()=>{T.setCookieLocale(S),await T.setLocale(S),T.vueI18n.__pendingLocale=void 0,O()}}),(e.isHydrating||!T.config.skipSettingLocaleOnNavigate)&&await T.vueI18n.__resolvePendingLocalePromise?.())},getLocales:()=>ye(s.locales).map(S=>X(S)?{code:S,domains:[],defaultForDomains:[]}:S),setCookieLocale:S=>{i.useCookie&&Un(S)&&(l.value=S)},getBaseUrl:_,getCanonicalBaseUrl:L,loadMessages:async S=>{if(!(e.isHydrating&&u.has(S)))try{const O=c(S)?.fallbacks??[],A=O.includes(S)?O:[...O,S];if(!A.some(x=>T.usesRuntimeLoaders(x)))return await w(S);for(const x of A)try{await(T.usesRuntimeLoaders(x)?p(x):w(x))}catch(j){console.warn(`Failed to load messages for locale "${x}"`,j)}}catch(O){console.warn(`Failed to load messages for locale "${S}"`,O)}finally{u.add(S)}},composableCtx:void 0};return T.composableCtx=kw(T,e),T}function rl(e){if(e._nuxtI18n==null)throw new Error("Nuxt I18n context has not been set up yet.");return e._nuxtI18n}function jC(e,t){const n=[];for(const[r,s]of t.entries()){const o=e.find(i=>i.language?.toLowerCase()===s.toLowerCase());if(o){n.push({code:o.code,score:1-r/t.length});break}}for(const[r,s]of t.entries()){const o=s.split("-")[0].toLowerCase(),i=e.find(a=>a.language?.split("-")[0].toLowerCase()===o);if(i){n.push({code:i.code,score:.999-r/t.length});break}}return n}function BC(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function VC(e,t){return jC(e.map(r=>({code:r.code,language:r.language||r.code})),t).sort(BC).at(0)?.code??""}const WC=(e,t)=>th(t).value||void 0,KC=(e,t)=>pw(t),GC=e=>VC(Kn,navigator.languages),qC=e=>new URL(window.location.href).host,YC=e=>{const t=document.referrer;try{return t&&new URL(t).host||void 0}catch{return}},XC=e=>Kn.map(t=>so(t,e)),Gh=(e,t,n)=>{const r=Vo(n);let s,o;const i=()=>s??=qC(),a=()=>o??=XC(r.domainLocales);return{cookie:()=>WC(e,t.cookieKey),header:()=>{},navigator:()=>GC(),host:l=>vw(a(),i(),ro(l)),route:l=>KC(e,l),onHost:l=>!l||ch(a(),i(),l)?l:void 0,fromOwnDomain:()=>{const l=YC();return!!l&&a().some(u=>Zr(u,l))},cookieSpans:()=>!!t.cookieDomain&&Ew(a(),t.cookieDomain)}};function JC(e){const{detection:t}=e,n=e.isSupportedLocale??Un;function r(s,o){return!1}return function(o,i,a){const l=X(i)?Js(i).pathname:i.path,c=d=>d;function*f(){const d=a&&t.enabled&&!r(l,o.route(l));if(d){const h=c,y=c;yield h(o.cookie()),yield y(o.header()),yield y(o.navigator())}d&&(yield c(t.fallbackLocale))}for(const d of f())if(d&&n(d))return d;return""}}async function qh(e,t){const n=rl(e),r=n.getLocale();if(t===r&&!n.initial&&(!n.vueI18n.__pendingLocale||n.vueI18n.__pendingLocale===t))return t;const s={oldLocale:r,newLocale:t,initialSetup:n.initial,context:e};let o=await e.callHook("i18n:beforeLocaleSwitch",s);return o!=null,o??=s.newLocale,Un(o)&&(t=o),await n.loadMessages(t),await n.setLocaleSuspend(t),t}function zC(e,t){const n=tl(e),r=Gh(void 0,n,e),s=rl(e);return JC({detection:n})(r,t,s.initial)||s.getLocale()||s.getDefaultLocale()||""}const QC=nt({name:"i18n:plugin:route-locale-detect",dependsOn:["i18n:plugin"],async setup(e){let t,n;const r=ue(e._id),s=rl(r),o=Kh();[t,n]=jh(()=>r.runWithContext(()=>qh(r,s.initial&&o.value||zC(r,r.$router.currentRoute.value)))),await t,n()}}),ZC=nt({name:"i18n:plugin:preload",dependsOn:["i18n:plugin"],async setup(e){}});function eS(e,{extendComposer:t,extendComposerInstance:n}){const r=rs(),s=e.install.bind(e);e.install=(o,...i)=>{const a=Oe({},i[0]);a.__composerExtend=u=>(n(u,As(e)),()=>{}),e.mode==="legacy"&&(a.__vueI18nExtend=u=>(n(u,As(u)),()=>{})),Reflect.apply(s,e,[o,a]);const l=As(e);if(r.run(()=>{t(l),e.mode==="legacy"&&"__composer"in e.global&&n(e.global,As(e.global))}),e.mode==="composition"&&o.config.globalProperties.$i18n!=null&&n(o.config.globalProperties.$i18n,l),o.unmount){const u=o.unmount.bind(o);o.unmount=()=>{r.stop(),u()}}}}const tS=async e=>{const t=await LC(yw);t.locale=e||t.locale||"en-US",t.defaultLocale=e,t.fallbackLocale??=!1,t.messages??={};for(const n of Qr)t.messages[n]??={};return t};var nS={en:"6b9948c5",vi:"6b9948c5"};const rS=nt({name:"i18n:plugin",parallel:!1,async setup(e){let t,n;Object.defineProperty(e.versions,"nuxtI18n",{get:()=>"10.6.0"});const r=ue(e._id),s=Vo(r),o=r.ssrContext?.event?.context?.nuxtI18n?.vueI18nOptions,i=dh(Ga().host,s.defaultLocale),a=o||([t,n]=jh(()=>tS(i)),t=await t,n(),t),l=Wh();l.value??=Sw(a.fallbackLocale),Qr.filter(UC).map(d=>`/_i18n/${nS[d]}/${d}/messages.json`);const u=iC(a),c=Gh(void 0,tl(r),r),f=$C(r,u,a.defaultLocale,!!a.flatJson);r._nuxtI18n=f,eS(u,{extendComposer(d){d.locales=xe(()=>s.locales.map(y=>so(y,s.domainLocales))),d.localeCodes=xe(()=>Qr);const h=st(f.getBaseUrl());d.baseUrl=xe(()=>h.value),ot(d.locale,()=>h.value=f.getBaseUrl()),d.strategy="no_prefix",d.localeProperties=xe(()=>so(Kn.find(y=>y.code===d.locale.value)||{code:d.locale.value,domains:[],defaultForDomains:[]},s.domainLocales)),d.setLocale=async y=>{await qh(r,y),await r.runWithContext(()=>(r.$router.currentRoute.value,void 0))},d.loadLocaleMessages=f.loadMessages,d.differentDomains=!1,d.defaultLocale=a.defaultLocale,d.getBrowserLocale=()=>Dc(c.navigator()),d.getLocaleCookie=()=>Dc(c.cookie()),d.setLocaleCookie=f.setCookieLocale,d.finalizePendingLocaleChange=async()=>{u.__pendingLocale&&await u.__resolvePendingLocalePromise?.()},d.waitForPendingLocaleChange=async()=>{await u?.__pendingLocalePromise}},extendComposerInstance(d,h){const y=[["locales",()=>h.locales],["localeCodes",()=>h.localeCodes],["baseUrl",()=>h.baseUrl],["strategy",()=>"no_prefix"],["localeProperties",()=>h.localeProperties],["setLocale",()=>_=>Reflect.apply(h.setLocale,h,[_])],["loadLocaleMessages",()=>_=>Reflect.apply(h.loadLocaleMessages,h,[_])],["differentDomains",()=>!1],["defaultLocale",()=>h.defaultLocale],["getBrowserLocale",()=>()=>Reflect.apply(h.getBrowserLocale,h,[])],["getLocaleCookie",()=>()=>Reflect.apply(h.getLocaleCookie,h,[])],["setLocaleCookie",()=>_=>Reflect.apply(h.setLocaleCookie,h,[_])],["finalizePendingLocaleChange",()=>()=>Reflect.apply(h.finalizePendingLocaleChange,h,[])],["waitForPendingLocaleChange",()=>()=>Reflect.apply(h.waitForPendingLocaleChange,h,[])]];for(const[_,L]of y)Object.defineProperty(d,_,{get:L})}}),r.vueApp.use(u),Object.defineProperty(r,"$i18n",{get:()=>nl(u)}),r.provide("localeHead",d=>ow(r._nuxtI18n.composableCtx,d)),r.provide("localePath",mC(r)),r.provide("localeRoute",yC(r)),r.provide("routeBaseName",fu(r)),r.provide("getRouteBaseName",fu(r)),r.provide("switchLocalePath",$h(r))}}),sS=nt({name:"i18n:plugin:ssg-detect",dependsOn:["i18n:plugin","i18n:plugin:route-locale-detect"],enforce:"post",setup(e){}}),oS=[Ov,Nv,Hv,tE,nE,rE,oE,vE,EE,wE,wC,QC,ZC,rS,sS],Yh=(e="RouteProvider")=>bt({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const o in t.route)Object.defineProperty(s,o,{get:()=>n===t.renderKey?t.route[o]:r[o],enumerable:!0});return mn(Wn,Mt(s)),()=>t.vnode?Fe(t.vnode,{ref:t.vnodeRef}):t.vnode}}),iS=Yh(),gu=new WeakMap,aS=bt({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=ue(),o=st(),i=Ue(Wn,null),a=new Set;let l;r({pageRef:o});const u=Ue(Xi,null);let c;const f=s.deferHydration();let d=!1,h=!1,y,_=0;if(s.isHydrating){const b=s.hooks.hookOnce("app:error",f),E=ft().beforeEach(()=>{b(),E()})}e.pageKey&&ot(()=>e.pageKey,(b,E)=>{b!==E&&s.callHook("page:loading:start")});let L=!1;{const b=ft().beforeResolve(()=>{L=!1});as(()=>{b(),f()})}return()=>Fe(Bd,{name:e.name,route:e.route,...t},{default:uS(b=>{const E=lS(i,b.route,b.Component),g=i&&i.matched.length===b.route.matched.length;if(!b.Component){if(c&&!g&&!wi(c))return c;f();return}if(c&&u&&!wi(c)&&!u.isCurrent(b.route))return c;if(E&&i&&(!u||u?.isCurrent(i)))return(g||c)&&!wi(c)?c:null;const p=Jr(b,e.pageKey),w=cS(i,b.route,b.Component);!s.isHydrating&&l===p&&!w&&_n(()=>{L||(L=!0,s.callHook("page:loading:end"))}),d&&l!==p&&h&&_++,l=p;const T=!!(e.transition??b.route.meta.pageTransition??ql),S=T&&Kd([e.transition,b.route.meta.pageTransition,ql,{onAfterLeave(){s["~transitionFinish"]?.(),delete s["~transitionFinish"],delete s["~transitionPromise"],s.callHook("page:transition:finish",b.Component)}}]),O=e.keepalive??b.route.meta.keepalive??Vy,A=b.Component.type,x=A.name||A.__name;b.route.meta.keepalive&&x&&a.add(x);let j;if(a.size>0&&e.keepalive==null&&(!O||typeof O=="object"&&O&&O.include)){const V=typeof O=="object"&&O?{...O}:{},Z=V.include?Array.isArray(V.include)?V.include:[V.include]:[];j={...V,include:Array.from(new Set([...Z,...a]))}}else j=O;return c=Wd(T&&S,Vv(j,Fe(Da,{key:_,suspensible:!0,onPending:()=>{d=!0,T&&!s["~transitionPromise"]&&(s["~transitionPromise"]=new Promise(V=>{s["~transitionFinish"]=V})),y=s.callHook("page:start",b.Component)},onResolve:async()=>{d=!1,h=!0,s.isHydrating&&s["~restoreDeferredRoute"]?.();try{await _n(),s._route.sync?.(),await y,await s.callHook("page:finish",b.Component),!L&&!w&&(L=!0,await s.callHook("page:loading:end"))}finally{f()}}},{default:()=>{const V={key:p||void 0,vnode:n.default?fS(n.default,b):b.Component,route:b.route,renderKey:p||void 0,trackRootNodes:T,vnodeRef:o};if(!j)return Fe(iS,V);const Z=A;let se=gu.get(Z);return se||(se=Yh(x),gu.set(Z,se)),Fe(se,V)}}))).default(),c})})}});function lS(e,t,n){if(!e)return!1;const r=t.matched.findIndex(i=>i.components?.default===n?.type);if(r===-1)return!1;const s=t.matched.slice(0,r).filter(i=>i.components?.default);if(!s.length)return!1;const o=e.matched.filter(i=>i.components?.default);return s.some((i,a)=>i.components?.default!==o[a]?.components?.default)||n&&Jr({route:t,Component:n})!==Jr({route:e,Component:n})}function cS(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function uS(e){const t=(n=>{const r=e(n);return Array.isArray(r)?r:r==null||!bn(r)?[jf()]:[r]});return t._n=!0,t}function fS(e,t){const n=e(t);return n.length===1?Fe(n[0]):Fe(Ve,void 0,n)}function wi(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}const Xh=Yd,dS=bt({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Fe(gn[e.name],e.layoutProps,t.slots)}}),hS={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},pS=bt({name:"NuxtLayout",inheritAttrs:!1,props:hS,setup(e,t){const n=ue(),r=Ue(Wn),o=!r||r===Mo()?Vd():r,i=xe(()=>{let c=ye(e.name)??o?.meta.layout??Xh(o?.path).appLayout??"default";return c&&!(c in gn)&&e.fallback&&(c=ye(e.fallback)),c}),a=Bn();t.expose({layoutRef:a});const l=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",l),f=ft().beforeEach(()=>{c(),f()})}let u;return()=>{const f=!!i.value&&i.value in gn&&!!(o?.meta.layoutTransition??Gl),d=f&&Kd([o?.meta.layoutTransition,Gl,{onBeforeLeave(){n["~transitionPromise"]=new Promise(y=>{n["~transitionFinish"]=y})},onAfterLeave(){n["~transitionFinish"]?.(),delete n["~transitionFinish"],delete n["~transitionPromise"]}}]),h=u;return u=i.value,Wd(d,{default:()=>Fe(Da,{suspensible:!0,onResolve:async()=>{await _n(l)}},{default:()=>Fe(gS,{layoutProps:Bf(t.attrs,o.meta.layoutProps??{},{ref:a}),key:i.value||void 0,name:i.value,shouldProvide:!e.name,isRenderingNewLayout:y=>y!==h&&y===i.value,hasTransition:f},t.slots)})}).default()}}}),gS=bt({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&mn(Xi,{isCurrent:i=>n===!1||n===(i.meta.layout??Xh(i.path).appLayout??"default")});const r=Ue(Wn),s=r&&r===Mo(),o=Ue(Xi,null);if(s){const i=Vd(),a={};for(const l in i){const u=l;Object.defineProperty(a,u,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)&&(!o||o.isCurrent(i))?i[u]:r[u]})}mn(Wn,Mt(a))}return()=>!n||typeof n=="string"&&!(n in gn)?t.slots.default?.():Fe(dS,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),mS=bt({__name:"app",setup(e){const{locale:t}=Bo();return Pd({htmlAttrs:{lang:t}}),(n,r)=>{const s=aS,o=pS,i=mg("UiSonner");return gt(),Df("div",null,[Pe(o,null,{default:ka(()=>[Pe(s)]),_:1}),Pe(i,{position:"bottom-center","rich-colors":"","close-button":""})])}}}),yS={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,c=s?Bs(()=>Ze(()=>import("./BfFJ09wD.js"),__vite__mapDeps([40,12,34,41]),import.meta.url)):Bs(()=>Ze(()=>import("./BeS-yS0C.js"),__vite__mapDeps([42,34,43]),import.meta.url));return(f,d)=>(gt(),Jt(ye(c),op(Uf({status:ye(r),statusText:ye(o),statusCode:ye(r),statusMessage:ye(o),description:ye(i),stack:ye(a)})),null,16))}},_S={key:0},mu={__name:"nuxt-root",setup(e){const t=()=>null,n=ue(),r=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",r),f=ft().beforeEach(()=>{c(),f()})}const s=!1;mn(Wn,Mo()),n.hooks.callHookWith(c=>c.map(f=>f()),"vue:setup",[]);const o=Do(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function l(c,f,d){const h=n.vueApp.config.errorHandler;if(h&&!h.__nuxt_default)try{h(c,f,d)}catch(y){console.error("[nuxt] Error in `app.config.errorHandler`",y)}}ff((c,f,d)=>{if(n.hooks.callHook("vue:error",c,f,d).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",c),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,c),!1;if(md(c)&&(c.fatal||c.unhandled))return n.runWithContext(()=>kn(c)),l(c,f,d),!1});const u=!1;return(c,f)=>(gt(),Jt(Da,{onResolve:ye(r)},{default:ka(()=>[ye(i)?(gt(),Df("div",_S)):ye(o)?(gt(),Jt(ye(yS),{key:1,error:ye(o)},null,8,["error"])):ye(u)?(gt(),Jt(ye(t),{key:2,context:ye(u)},null,8,["context"])):ye(s)?(gt(),Jt(yg(ye(s)),{key:3})):(gt(),Jt(ye(mS),{key:4}))]),_:1},8,["onResolve"]))}};let yu;{let e;yu=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?Um(mu):Hm(mu),s=Yy({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=Hn(i)}o.__nuxt_default=!0,r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)});try{await zy(s,oS)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(Ky),await s.hooks.callHook("app:mounted",r),await _n()}catch(i){o(i)}return r},e=yu().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{CS as $,Lr as A,ES as B,xS as C,LS as D,ot as E,Ve as F,NS as G,Zn as H,mo as I,Wp as J,as as K,Bf as L,us as M,DS as N,_n as O,IS as P,op as Q,Uf as R,Np as S,Lo as T,Bn as U,TS as V,yg as W,OS as X,Pp as Y,aE as Z,Ze as _,Hf as a,Ed as a0,qi as a1,Ue as a2,Aa as a3,Fe as a4,mn as a5,an as a6,ld as a7,ft as a8,ue as a9,rs as aA,uf as aB,vS as aC,De as aD,rn as aE,Zd as aa,Rc as ab,$S as ac,Fa as ad,o_ as ae,bE as af,$t as ag,cs as ah,i_ as ai,HS as aj,Bi as ak,nd as al,Yr as am,US as an,AS as ao,wS as ap,En as aq,Ur as ar,bS as as,kS as at,PS as au,Ps as av,tt as aw,qu as ax,SS as ay,Ip as az,Pe as b,Df as c,$f as d,bt as e,Bo as f,Qd as g,Mo as h,ye as i,MS as j,Se as k,Jt as l,jf as m,st as n,gt as o,Nn as p,xe as q,mg as r,zv as s,cp as t,Pd as u,To as v,ka as w,sn as x,RS as y,yo as z};
|