@nuxt/devtools 1.2.0 → 1.3.1
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/dist/chunks/module-main.mjs +2 -35
- package/dist/chunks/vscode.mjs +1 -0
- package/dist/client/200.html +21 -21
- package/dist/client/404.html +21 -21
- package/dist/client/_nuxt/{CFcWLH5V.js → -qWogbxp.js} +1 -1
- package/dist/client/_nuxt/{D8i82D0r.js → 2rHQ-89_.js} +1 -1
- package/dist/client/_nuxt/5Viy9mJZ.js +1 -0
- package/dist/client/_nuxt/{ooCcziGQ.js → 5rat9AfN.js} +3 -3
- package/dist/client/_nuxt/{8vVaiFyN.js → 66lAmVWa.js} +1 -1
- package/dist/client/_nuxt/{D_pwdbKS.js → B1WwrPQO.js} +2 -2
- package/dist/client/_nuxt/{CYIc81Hh.js → B4a1LB7w.js} +2 -2
- package/dist/client/_nuxt/{CQwJxTyO.js → B5LBktAa.js} +2 -2
- package/dist/client/_nuxt/{D2TLnKEp.js → B7vUcbNk.js} +1 -1
- package/dist/client/_nuxt/{Bm01LnY_.js → BBiSxoA1.js} +1 -1
- package/dist/client/_nuxt/{BvY_Q6Ny.js → BEabNaD3.js} +1 -1
- package/dist/client/_nuxt/BGq4KZyx.js +1 -0
- package/dist/client/_nuxt/{DrouHJc_.js → BL23Bc6O.js} +1 -1
- package/dist/client/_nuxt/BMbUeBqv.js +74 -0
- package/dist/client/_nuxt/{Dlh-yUDi.js → BNIC4eZE.js} +1 -1
- package/dist/client/_nuxt/{BluVLImH.js → BNSBUDhB.js} +1 -1
- package/dist/client/_nuxt/{C_6aSAC7.js → BOBmlKb6.js} +1 -1
- package/dist/client/_nuxt/BWnGocWo.js +1 -0
- package/dist/client/_nuxt/BYVFCOjE.js +1 -0
- package/dist/client/_nuxt/BZfs-ost.js +1 -0
- package/dist/client/_nuxt/{DM7LQm-O.js → B_Ym5JKn.js} +1 -1
- package/dist/client/_nuxt/{Cgy-yYrX.js → BbqA4Ggc.js} +1 -1
- package/dist/client/_nuxt/{ClFBqw1c.js → BcobmRlA.js} +1 -1
- package/dist/client/_nuxt/BiWblMbN.js +505 -0
- package/dist/client/_nuxt/{Dbt1lqd7.js → BkK_qJ34.js} +1 -1
- package/dist/client/_nuxt/{Cr5Lt2Bh.js → BlDdoh7Z.js} +1 -1
- package/dist/client/_nuxt/{3yXnKq4C.js → BlKdmH9f.js} +1 -1
- package/dist/client/_nuxt/{CauQWwFB.js → Br0oqAKP.js} +1 -1
- package/dist/client/_nuxt/{DVpEqQtB.js → Bs6Xt_hm.js} +1 -1
- package/dist/client/_nuxt/{CE1aCf8a.js → Bx439kud.js} +1 -1
- package/dist/client/_nuxt/{DlQNtCxN.js → C0doa8lg.js} +1 -1
- package/dist/client/_nuxt/CDjZ2Pwm.js +99 -0
- package/dist/client/_nuxt/{CYUk1Phb.js → CGdFtN3I.js} +1 -1
- package/dist/client/_nuxt/CHuuZgn4.js +699 -0
- package/dist/client/_nuxt/{E3u_JT2d.js → CLKMZBSj.js} +1 -1
- package/dist/client/_nuxt/{D8hnvtQ7.js → CLVJ1qFH.js} +1 -1
- package/dist/client/_nuxt/{DnNA5yXt.js → CQ4DIexe.js} +1 -1
- package/dist/client/_nuxt/{BKROsu9M.js → CQfzcXIu.js} +1 -1
- package/dist/client/_nuxt/CSxKs2xg.js +48 -0
- package/dist/client/_nuxt/CWDIGLyg.js +1 -0
- package/dist/client/_nuxt/Cdv1FpqM.js +20 -0
- package/dist/client/_nuxt/{BNbY1jCQ.js → CgdhjF_I.js} +1 -1
- package/dist/client/_nuxt/{Dow1QcrX.js → CgvvXsvn.js} +1 -1
- package/dist/client/_nuxt/{DrTLrgyX.js → CiwDa1gT.js} +1 -1
- package/dist/client/_nuxt/D0LPR03l.js +1 -0
- package/dist/client/_nuxt/D4dWpejW.js +2 -0
- package/dist/client/_nuxt/{CoH69PTx.js → DCvec3a_.js} +1 -1
- package/dist/client/_nuxt/{DjE-sQMX.js → DCzXkWpZ.js} +1 -1
- package/dist/client/_nuxt/DDnrbwm6.js +2002 -0
- package/dist/client/_nuxt/{TDzLXguC.js → DE_Uwlru.js} +1 -1
- package/dist/client/_nuxt/DHFOa8tC.js +200 -0
- package/dist/client/_nuxt/DO3F8Knp.js +1 -0
- package/dist/client/_nuxt/{HezyzoNS.js → DQFmACZp.js} +1 -1
- package/dist/client/_nuxt/{BwcgHM_R.js → DQS-rzez.js} +1 -1
- package/dist/client/_nuxt/{QUVBuzQ1.js → DRuHuqMZ.js} +1 -1
- package/dist/client/_nuxt/DRzmYdLW.js +1 -0
- package/dist/client/_nuxt/{DPywwtwa.js → DTnMHt2b.js} +1 -1
- package/dist/client/_nuxt/{ylHKncut.js → DW3jphl9.js} +1 -1
- package/dist/client/_nuxt/DdJKusQR.js +1 -0
- package/dist/client/_nuxt/{BZMq3h7l.js → DgR63EN_.js} +155 -155
- package/dist/client/_nuxt/{CwLZOs-U.js → DjVyxknR.js} +1 -1
- package/dist/client/_nuxt/{Dpi9Vpa4.js → DnhEYZMs.js} +1 -1
- package/dist/client/_nuxt/{DzJVEN15.js → Dw5Tt5gJ.js} +1 -1
- package/dist/client/_nuxt/HBr8xMzr.js +1 -0
- package/dist/client/_nuxt/{D0GIdZjD.js → J3djixjQ.js} +1 -1
- package/dist/client/_nuxt/JkOP3KoO.js +1 -0
- package/dist/client/_nuxt/{DXyT_6cw.js → K0tfU50F.js} +1 -1
- package/dist/client/_nuxt/{gY9iaHZB.js → LKwhzCVp.js} +1 -1
- package/dist/client/_nuxt/NSectionBlock.DF4F_onM.css +1 -0
- package/dist/client/_nuxt/Q9LIRUci.js +25 -0
- package/dist/client/_nuxt/{Cd6DbZRp.js → Tw6nDHWX.js} +1 -1
- package/dist/client/_nuxt/V_y36BGi.js +1 -0
- package/dist/client/_nuxt/{Cykwuu7C.js → Zl399FYQ.js} +1 -1
- package/dist/client/_nuxt/_ECCzcZq.js +666 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/24abe175-04a3-492b-88f5-fff7ea90b9c1.json +1 -0
- package/dist/client/_nuxt/entry.CyP5HdOH.css +1 -0
- package/dist/client/_nuxt/{DFXWDr_U.js → f1qyuWhx.js} +1 -1
- package/dist/client/_nuxt/index.BeOv1PgR.css +1 -0
- package/dist/client/_nuxt/jeEj0LFC.js +1 -0
- package/dist/client/_nuxt/tYBohD88.js +1 -0
- package/dist/client/index.html +21 -21
- package/dist/module.json +5 -1
- package/dist/runtime/plugins/view/FrameBox.vue +3 -1
- package/dist/runtime/plugins/view/Main.vue +11 -1
- package/dist/runtime/plugins/view/client.mjs +4 -2
- package/package.json +30 -30
- package/dist/client/_nuxt/BX_yun5E.js +0 -2
- package/dist/client/_nuxt/B_ROKca0.js +0 -1
- package/dist/client/_nuxt/Bbe7V3sH.js +0 -1
- package/dist/client/_nuxt/C5RWud-q.js +0 -99
- package/dist/client/_nuxt/C6_5TE6z.js +0 -1
- package/dist/client/_nuxt/CmQBHnO5.js +0 -1
- package/dist/client/_nuxt/Cm_JFd_X.js +0 -1
- package/dist/client/_nuxt/DUvGfBHy.js +0 -1
- package/dist/client/_nuxt/DptAiT3z.js +0 -2
- package/dist/client/_nuxt/NSectionBlock.BrczCkLG.css +0 -1
- package/dist/client/_nuxt/VE_JCmIg.js +0 -1
- package/dist/client/_nuxt/builds/meta/99d3dbae-7b79-44d1-9122-56d8f78db12b.json +0 -1
- package/dist/client/_nuxt/entry.CKLgeA_k.css +0 -1
- package/dist/client/_nuxt/pinia.zSt3sP7_.css +0 -1
- package/dist/client/_nuxt/qlO0zMWA.js +0 -48
- package/dist/client/_nuxt/tVhGyT2d.js +0 -1
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
function __vite__mapDeps(indexes) {
|
|
2
|
-
if (!__vite__mapDeps.viteFileDeps) {
|
|
3
|
-
__vite__mapDeps.viteFileDeps = ["./Cd6DbZRp.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./DC8MraHL.js","./CupVZNk8.js","./C5gCGmDW.js","./DnNA5yXt.js","./B_ROKca0.js","./DM7LQm-O.js","./DXyT_6cw.js","./DjE-sQMX.js","./DVpEqQtB.js","./CwLZOs-U.js","./DFXWDr_U.js","./NCodeBlock.Bcfh0aRP.css","./D8i82D0r.js","./HelpFab.DHTsX8io.css","./D8hnvtQ7.js","./Cykwuu7C.js","./BKROsu9M.js","./C6_5TE6z.js","./CYUk1Phb.js","./NSectionBlock.BrczCkLG.css","./CE1aCf8a.js","./CFcWLH5V.js","./BcJws1i5.js","./assets.DGT3vQsf.css","./D_pwdbKS.js","./Cr5Lt2Bh.js","./D2TLnKEp.js","./BvY_Q6Ny.js","./DUvGfBHy.js","./VE_JCmIg.js","./ClFBqw1c.js","./DrTLrgyX.js","./DPywwtwa.js","./DzJVEN15.js","./BNbY1jCQ.js","./HezyzoNS.js","./Cm_JFd_X.js","./D0GIdZjD.js","./ylHKncut.js","./ooCcziGQ.js","./CQwJxTyO.js","./open-graph.-BQyihv8.css","./Cgy-yYrX.js","./QUVBuzQ1.js","./CmQBHnO5.js","./C_6aSAC7.js","./BluVLImH.js","./C5RWud-q.js","./DptAiT3z.js","./pinia.zSt3sP7_.css","./3yXnKq4C.js","./Bm01LnY_.js","./CYIc81Hh.js","./Dow1QcrX.js","./BwcgHM_R.js","./tVhGyT2d.js","./Bbe7V3sH.js","./TDzLXguC.js","./terminals.bPBXyte9.css","./CoH69PTx.js","./timeline.DvDJbalt.css","./Dbt1lqd7.js","./virtual-files.CWZEM3J4.css","./CauQWwFB.js","./DrouHJc_.js","./BZMq3h7l.js","./DlQNtCxN.js","./error-404.ClUqCsUG.css","./8vVaiFyN.js","./error-500.Xj6Xfe4d.css"]
|
|
4
|
-
}
|
|
5
|
-
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* @vue/shared v3.4.23
|
|
9
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
10
|
-
* @license MIT
|
|
11
|
-
**//*! #__NO_SIDE_EFFECTS__ */function Eu(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Ve={},Qr=[],Bt=()=>{},R_=()=>!1,Qo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Su=e=>e.startsWith("onUpdate:"),Xe=Object.assign,xu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},P_=Object.prototype.hasOwnProperty,ke=(e,t)=>P_.call(e,t),fe=Array.isArray,es=e=>Cs(e)==="[object Map]",xs=e=>Cs(e)==="[object Set]",Vf=e=>Cs(e)==="[object Date]",$_=e=>Cs(e)==="[object RegExp]",ye=e=>typeof e=="function",Ke=e=>typeof e=="string",$n=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",Cu=e=>(He(e)||ye(e))&&ye(e.then)&&ye(e.catch),km=Object.prototype.toString,Cs=e=>km.call(e),O_=e=>Cs(e).slice(8,-1),Nm=e=>Cs(e)==="[object Object]",Au=e=>Ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ts=Eu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ha=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},k_=/-(\w)/g,Qt=Ha(e=>e.replace(k_,(t,n)=>n?n.toUpperCase():"")),N_=/\B([A-Z])/g,lr=Ha(e=>e.replace(N_,"-$1").toLowerCase()),Ua=Ha(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ui=Ha(e=>e?`on${Ua(e)}`:""),gn=(e,t)=>!Object.is(e,t),ns=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Im=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Qi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Lm=e=>{const t=Ke(e)?Number(e):NaN;return isNaN(t)?e:t};let Gf;const Dm=()=>Gf||(Gf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hn(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ke(r)?M_(r):hn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ke(e)||He(e))return e}const I_=/;(?![^(]*\))/g,L_=/:([^]+)/,D_=/\/\*[^]*?\*\//g;function M_(e){const t={};return e.replace(D_,"").split(I_).forEach(n=>{if(n){const r=n.split(L_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Qe(e){let t="";if(Ke(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const r=Qe(e[n]);r&&(t+=r+" ")}else if(He(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Tu(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ke(t)&&(e.class=Qe(t)),n&&(e.style=hn(n)),e}const F_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",B_=Eu(F_);function Mm(e){return!!e||e===""}function j_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ir(e[r],t[r]);return n}function Ir(e,t){if(e===t)return!0;let n=Vf(e),r=Vf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=$n(e),r=$n(t),n||r)return e===t;if(n=fe(e),r=fe(t),n||r)return n&&r?j_(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||!Ir(e[i],t[i]))return!1}}return String(e)===String(t)}function Ru(e,t){return e.findIndex(n=>Ir(n,t))}const bt=e=>Ke(e)?e:e==null?"":fe(e)||He(e)&&(e.toString===km||!ye(e.toString))?JSON.stringify(e,Fm,2):String(e),Fm=(e,t)=>t&&t.__v_isRef?Fm(e,t.value):es(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Al(r,o)+" =>"]=s,n),{})}:xs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Al(n))}:$n(t)?Al(t):He(t)&&!fe(t)&&!Nm(t)?String(t):t,Al=(e,t="")=>{var n;return $n(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
12
|
-
* @vue/reactivity v3.4.23
|
|
13
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
14
|
-
* @license MIT
|
|
15
|
-
**/let Nt;class Bm{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Nt,!t&&Nt&&(this.index=(Nt.scopes||(Nt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Nt;try{return Nt=this,t()}finally{Nt=n}}}on(){Nt=this}off(){Nt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function z_(e){return new Bm(e)}function H_(e,t=Nt){t&&t.active&&t.effects.push(e)}function Va(){return Nt}function ea(e){Nt&&Nt.cleanups.push(e)}let $r;class Pu{constructor(t,n,r,s){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,H_(this,s)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,cr();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(U_(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),ur()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Qn,n=$r;try{return Qn=!0,$r=this,this._runnings++,Wf(this),this.fn()}finally{Kf(this),this._runnings--,$r=n,Qn=t}}stop(){var t;this.active&&(Wf(this),Kf(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function U_(e){return e.value}function Wf(e){e._trackId++,e._depsLength=0}function Kf(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)jm(e.deps[t],e);e.deps.length=e._depsLength}}function jm(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Qn=!0,fc=0;const zm=[];function cr(){zm.push(Qn),Qn=!1}function ur(){const e=zm.pop();Qn=e===void 0?!0:e}function $u(){fc++}function Ou(){for(fc--;!fc&&dc.length;)dc.shift()()}function Hm(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&jm(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const dc=[];function Um(e,t,n){$u();for(const r of e.keys()){let s;r._dirtyLevel<t&&(s??(s=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(s??(s=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&dc.push(r.scheduler)))}Ou()}const Vm=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ta=new WeakMap,Or=Symbol(""),hc=Symbol("");function Rt(e,t,n){if(Qn&&$r){let r=ta.get(e);r||ta.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Vm(()=>r.delete(n))),Hm($r,s)}}function Rn(e,t,n,r,s,o){const i=ta.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&fe(e)){const l=Number(r);i.forEach((c,u)=>{(u==="length"||!$n(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":fe(e)?Au(n)&&a.push(i.get("length")):(a.push(i.get(Or)),es(e)&&a.push(i.get(hc)));break;case"delete":fe(e)||(a.push(i.get(Or)),es(e)&&a.push(i.get(hc)));break;case"set":es(e)&&a.push(i.get(Or));break}$u();for(const l of a)l&&Um(l,4);Ou()}function V_(e,t){var n;return(n=ta.get(e))==null?void 0:n.get(t)}const G_=Eu("__proto__,__v_isRef,__isVue"),Gm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($n)),qf=W_();function W_(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=$e(this);for(let o=0,i=this.length;o<i;o++)Rt(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map($e)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){cr(),$u();const r=$e(this)[t].apply(this,n);return Ou(),ur(),r}}),e}function K_(e){$n(e)||(e=String(e));const t=$e(this);return Rt(t,"has",e),t.hasOwnProperty(e)}class Wm{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){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?i1:Xm:o?Ym:qm).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=fe(t);if(!s){if(i&&ke(qf,n))return Reflect.get(qf,n,r);if(n==="hasOwnProperty")return K_}const a=Reflect.get(t,n,r);return($n(n)?Gm.has(n):G_(n))||(s||Rt(t,"get",n),o)?a:ze(a)?i&&Au(n)?a:a.value:He(a)?s?Hr(a):Pt(a):a}}class Km extends Wm{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=ds(o);if(!na(r)&&!ds(r)&&(o=$e(o),r=$e(r)),!fe(t)&&ze(o)&&!ze(r))return l?!1:(o.value=r,!0)}const i=fe(t)&&Au(n)?Number(n)<t.length:ke(t,n),a=Reflect.set(t,n,r,s);return t===$e(s)&&(i?gn(r,o)&&Rn(t,"set",n,r):Rn(t,"add",n,r)),a}deleteProperty(t,n){const r=ke(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Rn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!$n(n)||!Gm.has(n))&&Rt(t,"has",n),r}ownKeys(t){return Rt(t,"iterate",fe(t)?"length":Or),Reflect.ownKeys(t)}}class q_ extends Wm{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Y_=new Km,X_=new q_,Z_=new Km(!0),ku=e=>e,Ga=e=>Reflect.getPrototypeOf(e);function pi(e,t,n=!1,r=!1){e=e.__v_raw;const s=$e(e),o=$e(t);n||(gn(t,o)&&Rt(s,"get",t),Rt(s,"get",o));const{has:i}=Ga(s),a=r?ku:n?Lu:Io;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function mi(e,t=!1){const n=this.__v_raw,r=$e(n),s=$e(e);return t||(gn(e,s)&&Rt(r,"has",e),Rt(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function gi(e,t=!1){return e=e.__v_raw,!t&&Rt($e(e),"iterate",Or),Reflect.get(e,"size",e)}function Yf(e){e=$e(e);const t=$e(this);return Ga(t).has.call(t,e)||(t.add(e),Rn(t,"add",e,e)),this}function Xf(e,t){t=$e(t);const n=$e(this),{has:r,get:s}=Ga(n);let o=r.call(n,e);o||(e=$e(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?gn(t,i)&&Rn(n,"set",e,t):Rn(n,"add",e,t),this}function Zf(e){const t=$e(this),{has:n,get:r}=Ga(t);let s=n.call(t,e);s||(e=$e(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Rn(t,"delete",e,void 0),o}function Jf(){const e=$e(this),t=e.size!==0,n=e.clear();return t&&Rn(e,"clear",void 0,void 0),n}function vi(e,t){return function(r,s){const o=this,i=o.__v_raw,a=$e(i),l=t?ku:e?Lu:Io;return!e&&Rt(a,"iterate",Or),i.forEach((c,u)=>r.call(s,l(c),l(u),o))}}function yi(e,t,n){return function(...r){const s=this.__v_raw,o=$e(s),i=es(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),u=n?ku:t?Lu:Io;return!t&&Rt(o,"iterate",l?hc:Or),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Fn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function J_(){const e={get(o){return pi(this,o)},get size(){return gi(this)},has:mi,add:Yf,set:Xf,delete:Zf,clear:Jf,forEach:vi(!1,!1)},t={get(o){return pi(this,o,!1,!0)},get size(){return gi(this)},has:mi,add:Yf,set:Xf,delete:Zf,clear:Jf,forEach:vi(!1,!0)},n={get(o){return pi(this,o,!0)},get size(){return gi(this,!0)},has(o){return mi.call(this,o,!0)},add:Fn("add"),set:Fn("set"),delete:Fn("delete"),clear:Fn("clear"),forEach:vi(!0,!1)},r={get(o){return pi(this,o,!0,!0)},get size(){return gi(this,!0)},has(o){return mi.call(this,o,!0)},add:Fn("add"),set:Fn("set"),delete:Fn("delete"),clear:Fn("clear"),forEach:vi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=yi(o,!1,!1),n[o]=yi(o,!0,!1),t[o]=yi(o,!1,!0),r[o]=yi(o,!0,!0)}),[e,n,t,r]}const[Q_,e1,t1,n1]=J_();function Nu(e,t){const n=t?e?n1:t1:e?e1:Q_;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ke(n,s)&&s in r?n:r,s,o)}const r1={get:Nu(!1,!1)},s1={get:Nu(!1,!0)},o1={get:Nu(!0,!1)},qm=new WeakMap,Ym=new WeakMap,Xm=new WeakMap,i1=new WeakMap;function a1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function l1(e){return e.__v_skip||!Object.isExtensible(e)?0:a1(O_(e))}function Pt(e){return ds(e)?e:Iu(e,!1,Y_,r1,qm)}function As(e){return Iu(e,!1,Z_,s1,Ym)}function Hr(e){return Iu(e,!0,X_,o1,Xm)}function Iu(e,t,n,r,s){if(!He(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=l1(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function _o(e){return ds(e)?_o(e.__v_raw):!!(e&&e.__v_isReactive)}function ds(e){return!!(e&&e.__v_isReadonly)}function na(e){return!!(e&&e.__v_isShallow)}function Zm(e){return e?!!e.__v_raw:!1}function $e(e){const t=e&&e.__v_raw;return t?$e(t):e}function c1(e){return Object.isExtensible(e)&&Im(e,"__v_skip",!0),e}const Io=e=>He(e)?Pt(e):e,Lu=e=>He(e)?Hr(e):e;class Jm{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Pu(()=>t(this._value),()=>rs(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=$e(this);return(!t._cacheable||t.effect.dirty)&&gn(t._value,t._value=t.effect.run())&&rs(t,4),Du(t),t.effect._dirtyLevel>=2&&rs(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function u1(e,t,n=!1){let r,s;const o=ye(e);return o?(r=e,s=Bt):(r=e.get,s=e.set),new Jm(r,s,o||!s,n)}function Du(e){var t;Qn&&$r&&(e=$e(e),Hm($r,(t=e.dep)!=null?t:e.dep=Vm(()=>e.dep=void 0,e instanceof Jm?e:void 0)))}function rs(e,t=4,n){e=$e(e);const r=e.dep;r&&Um(r,t)}function ze(e){return!!(e&&e.__v_isRef===!0)}function U(e){return Qm(e,!1)}function en(e){return Qm(e,!0)}function Qm(e,t){return ze(e)?e:new f1(e,t)}class f1{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:$e(t),this._value=n?t:Io(t)}get value(){return Du(this),this._value}set value(t){const n=this.__v_isShallow||na(t)||ds(t);t=n?t:$e(t),gn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Io(t),rs(this,4))}}function eg(e){rs(e,4)}function j(e){return ze(e)?e.value:e}function cn(e){return ye(e)?e():j(e)}const d1={get:(e,t,n)=>j(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ze(s)&&!ze(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function tg(e){return _o(e)?e:new Proxy(e,d1)}class h1{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Du(this),()=>rs(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Mu(e){return new h1(e)}function p1(e){const t=fe(e)?new Array(e.length):{};for(const n in e)t[n]=ng(e,n);return t}class m1{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return V_($e(this._object),this._key)}}class g1{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Wa(e,t,n){return ze(e)?e:ye(e)?new g1(e):He(e)&&arguments.length>1?ng(e,t,n):U(e)}function ng(e,t,n){const r=e[t];return ze(r)?r:new m1(e,t,n)}/**
|
|
16
|
-
* @vue/runtime-core v3.4.23
|
|
17
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
18
|
-
* @license MIT
|
|
19
|
-
**/function er(e,t,n,r){try{return r?e(...r):e()}catch(s){Ts(s,t,n)}}function Ht(e,t,n,r){if(ye(e)){const s=er(e,t,n,r);return s&&Cu(s)&&s.catch(o=>{Ts(o,t,n)}),s}if(fe(e)){const s=[];for(let o=0;o<e.length;o++)s.push(Ht(e[o],t,n,r));return s}}function Ts(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const c=o.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){cr(),er(l,null,10,[e,i,a]),ur();return}}v1(e,n,s,r)}function v1(e,t,n,r=!0){console.error(e)}let Lo=!1,pc=!1;const ht=[];let un=0;const ss=[];let Gn=null,Er=0;const rg=Promise.resolve();let Fu=null;function Lt(e){const t=Fu||rg;return e?t.then(this?e.bind(this):e):t}function y1(e){let t=un+1,n=ht.length;for(;t<n;){const r=t+n>>>1,s=ht[r],o=Do(s);o<e||o===e&&s.pre?t=r+1:n=r}return t}function Ka(e){(!ht.length||!ht.includes(e,Lo&&e.allowRecurse?un+1:un))&&(e.id==null?ht.push(e):ht.splice(y1(e.id),0,e),sg())}function sg(){!Lo&&!pc&&(pc=!0,Fu=rg.then(og))}function _1(e){const t=ht.indexOf(e);t>un&&ht.splice(t,1)}function mc(e){fe(e)?ss.push(...e):(!Gn||!Gn.includes(e,e.allowRecurse?Er+1:Er))&&ss.push(e),sg()}function Qf(e,t,n=Lo?un+1:0){for(;n<ht.length;n++){const r=ht[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;ht.splice(n,1),n--,r()}}}function ra(e){if(ss.length){const t=[...new Set(ss)].sort((n,r)=>Do(n)-Do(r));if(ss.length=0,Gn){Gn.push(...t);return}for(Gn=t,Er=0;Er<Gn.length;Er++)Gn[Er]();Gn=null,Er=0}}const Do=e=>e.id==null?1/0:e.id,b1=(e,t)=>{const n=Do(e)-Do(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function og(e){pc=!1,Lo=!0,ht.sort(b1);try{for(un=0;un<ht.length;un++){const t=ht[un];t&&t.active!==!1&&er(t,null,14)}}finally{un=0,ht.length=0,ra(),Lo=!1,Fu=null,(ht.length||ss.length)&&og()}}function w1(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ve;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[u]||Ve;d&&(s=n.map(h=>Ke(h)?h.trim():h)),f&&(s=n.map(Qi))}let a,l=r[a=Ui(t)]||r[a=Ui(Qt(t))];!l&&o&&(l=r[a=Ui(lr(t))]),l&&Ht(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ht(c,e,6,s)}}function ig(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!ye(e)){const l=c=>{const u=ig(c,t,!0);u&&(a=!0,Xe(i,u))};!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):(fe(o)?o.forEach(l=>i[l]=null):Xe(i,o),He(e)&&r.set(e,i),i)}function qa(e,t){return!e||!Qo(t)?!1:(t=t.slice(2).replace(/Once$/,""),ke(e,t[0].toLowerCase()+t.slice(1))||ke(e,lr(t))||ke(e,t))}let Je=null,Ya=null;function sa(e){const t=Je;return Je=e,Ya=e&&e.type.__scopeId||null,t}function E1(e){Ya=e}function S1(){Ya=null}const x1=e=>ue;function ue(e,t=Je,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&hd(-1);const o=sa(t);let i;try{i=e(...s)}finally{sa(o),r._d&&hd(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Tl(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:g}=e;let m,v;const _=sa(e);try{if(n.shapeFlag&4){const b=s||r,E=b;m=Ft(u.call(E,b,f,o,h,d,p)),v=l}else{const b=t;m=Ft(b.length>1?b(o,{attrs:l,slots:a,emit:c}):b(o,null)),v=t.props?l:A1(l)}}catch(b){So.length=0,Ts(b,e,1),m=K(Et)}let y=m;if(v&&g!==!1){const b=Object.keys(v),{shapeFlag:E}=y;b.length&&E&7&&(i&&b.some(Su)&&(v=T1(v,i)),y=kn(y,v))}return n.dirs&&(y=kn(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),m=y,sa(_),m}function C1(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(vs(s)){if(s.type!==Et||s.children==="v-if"){if(n)return;n=s}}else return}return n}const A1=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qo(n))&&((t||(t={}))[n]=e[n]);return t},T1=(e,t)=>{const n={};for(const r in e)(!Su(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function R1(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?ed(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(i[d]!==r[d]&&!qa(c,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?ed(r,i,c):!0:!!i;return!1}function ed(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(t[o]!==e[o]&&!qa(n,o))return!0}return!1}function Bu({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const ju="components",P1="directives";function On(e,t){return zu(ju,e,!0,t)||e}const ag=Symbol.for("v-ndc");function hs(e){return Ke(e)?zu(ju,e,!1)||e:e||ag}function $1(e){return zu(P1,e)}function zu(e,t,n=!0,r=!1){const s=Je||nt;if(s){const o=s.type;if(e===ju){const a=Ac(o,!1);if(a&&(a===t||a===Qt(t)||a===Ua(Qt(t))))return o}const i=td(s[e]||o[e],t)||td(s.appContext[e],t);return!i&&r?o:i}}function td(e,t){return e&&(e[t]||e[Qt(t)]||e[Ua(Qt(t))])}const lg=e=>e.__isSuspense;let gc=0;const O1={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){if(e==null)k1(t,n,r,s,o,i,a,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}N1(e,t,n,r,s,i,a,l,c)}},hydrate:I1,create:Uu,normalize:L1},Hu=O1;function Mo(e,t){const n=e.props&&e.props[t];ye(n)&&n()}function k1(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=Uu(e,s,r,t,f,n,o,i,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(Mo(e,"onPending"),Mo(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),os(d,e.ssFallback)):d.resolve(!1,!0)}function N1(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:m,isHydrating:v}=f;if(g)f.pendingBranch=d,Yt(d,g)?(l(g,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():m&&(v||(l(p,h,n,r,s,null,o,i,a),os(f,h)))):(f.pendingId=gc++,v?(f.isHydrating=!1,f.activeBranch=g):c(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),m?(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(p,h,n,r,s,null,o,i,a),os(f,h))):p&&Yt(d,p)?(l(p,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(p&&Yt(d,p))l(p,d,n,r,s,f,o,i,a),os(f,d);else if(Mo(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=gc++,l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:_,pendingId:y}=f;_>0?setTimeout(()=>{f.pendingId===y&&f.fallback(h)},_):_===0&&f.fallback(h)}}function Uu(e,t,n,r,s,o,i,a,l,c,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:g,remove:m}}=c;let v;const _=D1(e);_&&t?.pendingBranch&&(v=t.pendingId,t.deps++);const y=e.props?Lm(e.props.timeout):void 0,b=o,E={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:gc++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(C=!1,k=!1){const{vnode:O,activeBranch:D,pendingBranch:P,pendingId:L,effects:A,parentComponent:S,container:T}=E;let B=!1;E.isHydrating?E.isHydrating=!1:C||(B=D&&P.transition&&P.transition.mode==="out-in",B&&(D.transition.afterLeave=()=>{L===E.pendingId&&(d(P,T,o===b?p(D):o,0),mc(A))}),D&&(g(D.el)!==E.hiddenContainer&&(o=p(D)),h(D,S,E,!0)),B||d(P,T,o,0)),os(E,P),E.pendingBranch=null,E.isInFallback=!1;let R=E.parent,$=!1;for(;R;){if(R.pendingBranch){R.effects.push(...A),$=!0;break}R=R.parent}!$&&!B&&mc(A),E.effects=[],_&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),Mo(O,"onResolve")},fallback(C){if(!E.pendingBranch)return;const{vnode:k,activeBranch:O,parentComponent:D,container:P,namespace:L}=E;Mo(k,"onFallback");const A=p(O),S=()=>{E.isInFallback&&(f(null,C,P,A,D,null,L,a,l),os(E,C))},T=C.transition&&C.transition.mode==="out-in";T&&(O.transition.afterLeave=S),E.isInFallback=!0,h(O,D,null,!0),T||S()},move(C,k,O){E.activeBranch&&d(E.activeBranch,C,k,O),E.container=C},next(){return E.activeBranch&&p(E.activeBranch)},registerDep(C,k){const O=!!E.pendingBranch;O&&E.deps++;const D=C.vnode.el;C.asyncDep.catch(P=>{Ts(P,C,0)}).then(P=>{if(C.isUnmounted||E.isUnmounted||E.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:L}=C;Cc(C,P,!1),D&&(L.el=D);const A=!D&&C.subTree.el;k(C,L,g(D||C.subTree.el),D?null:p(C.subTree),E,i,l),A&&m(A),Bu(C,L.el),O&&--E.deps===0&&E.resolve()})},unmount(C,k){E.isUnmounted=!0,E.activeBranch&&h(E.activeBranch,n,C,k),E.pendingBranch&&h(E.pendingBranch,n,C,k)}};return E}function I1(e,t,n,r,s,o,i,a,l){const c=t.suspense=Uu(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),u}function L1(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=nd(r?n.default:n),e.ssFallback=r?nd(n.fallback):K(Et)}function nd(e){let t;if(ye(e)){const n=gs&&e._c;n&&(e._d=!1,Y()),e=e(),n&&(e._d=!0,t=jt,Dg())}return fe(e)&&(e=C1(e)),e=Ft(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function cg(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):mc(e)}function os(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,Bu(r,s))}function D1(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const M1=Symbol.for("v-scx"),F1=()=>wt(M1);function Lr(e,t){return Xa(e,null,t)}function B1(e,t){return Xa(e,null,{flush:"sync"})}const _i={};function De(e,t,n){return Xa(e,t,n)}function Xa(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:a}=Ve){if(t&&o){const C=t;t=(...k)=>{C(...k),E()}}const l=nt,c=C=>r===!0?C:Ar(C,r===!1?1:void 0);let u,f=!1,d=!1;if(ze(e)?(u=()=>e.value,f=na(e)):_o(e)?(u=()=>c(e),f=!0):fe(e)?(d=!0,f=e.some(C=>_o(C)||na(C)),u=()=>e.map(C=>{if(ze(C))return C.value;if(_o(C))return c(C);if(ye(C))return er(C,l,2)})):ye(e)?t?u=()=>er(e,l,2):u=()=>(h&&h(),Ht(e,l,3,[p])):u=Bt,t&&r){const C=u;u=()=>Ar(C())}let h,p=C=>{h=y.onStop=()=>{er(C,l,4),h=y.onStop=void 0}},g;if(ni)if(p=Bt,t?n&&Ht(t,l,3,[u(),d?[]:void 0,p]):u(),s==="sync"){const C=F1();g=C.__watcherHandles||(C.__watcherHandles=[])}else return Bt;let m=d?new Array(e.length).fill(_i):_i;const v=()=>{if(!(!y.active||!y.dirty))if(t){const C=y.run();(r||f||(d?C.some((k,O)=>gn(k,m[O])):gn(C,m)))&&(h&&h(),Ht(t,l,3,[C,m===_i?void 0:d&&m[0]===_i?[]:m,p]),m=C)}else y.run()};v.allowRecurse=!!t;let _;s==="sync"?_=v:s==="post"?_=()=>ut(v,l&&l.suspense):(v.pre=!0,l&&(v.id=l.uid),_=()=>Ka(v));const y=new Pu(u,Bt,_),b=Va(),E=()=>{y.stop(),b&&xu(b.effects,y)};return t?n?v():m=y.run():s==="post"?ut(y.run.bind(y),l&&l.suspense):y.run(),g&&g.push(E),E}function j1(e,t,n){const r=this.proxy,s=Ke(e)?e.includes(".")?ug(r,e):()=>r[e]:e.bind(r,r);let o;ye(t)?o=t:(o=t.handler,n=t);const i=Dr(this),a=Xa(s,o.bind(r),n);return i(),a}function ug(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}}function Ar(e,t,n=0,r){if(!He(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),ze(e))Ar(e.value,t,n,r);else if(fe(e))for(let s=0;s<e.length;s++)Ar(e[s],t,n,r);else if(xs(e)||es(e))e.forEach(s=>{Ar(s,t,n,r)});else if(Nm(e))for(const s in e)Ar(e[s],t,n,r);return e}function Fo(e,t){if(Je===null)return e;const n=el(Je)||Je.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=Ve]=t[s];o&&(ye(o)&&(o={mounted:o,updated:o}),o.deep&&Ar(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function an(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&&(cr(),Ht(l,n,8,[e.el,a,e,t]),ur())}}const Wn=Symbol("_leaveCb"),bi=Symbol("_enterCb");function fg(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Dn(()=>{e.isMounted=!0}),ti(()=>{e.isUnmounting=!0}),e}const Dt=[Function,Array],dg={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},z1={name:"BaseTransition",props:dg,setup(e,{slots:t}){const n=Vt(),r=fg();return()=>{const s=t.default&&Vu(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const d of s)if(d.type!==Et){o=d;break}}const i=$e(e),{mode:a}=i;if(r.isLeaving)return Rl(o);const l=rd(o);if(!l)return Rl(o);const c=Bo(l,i,r,n);ps(l,c);const u=n.subTree,f=u&&rd(u);if(f&&f.type!==Et&&!Yt(l,f)){const d=Bo(f,i,r,n);if(ps(f,d),a==="out-in")return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Rl(o);a==="in-out"&&l.type!==Et&&(d.delayLeave=(h,p,g)=>{const m=hg(r,f);m[String(f.key)]=f,h[Wn]=()=>{p(),h[Wn]=void 0,delete c.delayedLeave},c.delayedLeave=g})}return o}}},H1=z1;function hg(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 Bo(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:_}=t,y=String(e.key),b=hg(n,e),E=(O,D)=>{O&&Ht(O,r,9,D)},C=(O,D)=>{const P=D[1];E(O,D),fe(O)?O.every(L=>L.length<=1)&&P():O.length<=1&&P()},k={mode:o,persisted:i,beforeEnter(O){let D=a;if(!n.isMounted)if(s)D=g||a;else return;O[Wn]&&O[Wn](!0);const P=b[y];P&&Yt(e,P)&&P.el[Wn]&&P.el[Wn](),E(D,[O])},enter(O){let D=l,P=c,L=u;if(!n.isMounted)if(s)D=m||l,P=v||c,L=_||u;else return;let A=!1;const S=O[bi]=T=>{A||(A=!0,T?E(L,[O]):E(P,[O]),k.delayedLeave&&k.delayedLeave(),O[bi]=void 0)};D?C(D,[O,S]):S()},leave(O,D){const P=String(e.key);if(O[bi]&&O[bi](!0),n.isUnmounting)return D();E(f,[O]);let L=!1;const A=O[Wn]=S=>{L||(L=!0,D(),S?E(p,[O]):E(h,[O]),O[Wn]=void 0,b[P]===e&&delete b[P])};b[P]=e,d?C(d,[O,A]):A()},clone(O){return Bo(O,t,n,r)}};return k}function Rl(e){if(ei(e))return e=kn(e),e.children=null,e}function rd(e){return ei(e)?e.children?e.children[0]:void 0:e}function ps(e,t){e.shapeFlag&6&&e.component?ps(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Vu(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===Le?(i.patchFlag&128&&s++,r=r.concat(Vu(i.children,t,a))):(t||i.type!==Et)&&r.push(a!=null?kn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Ae(e,t){return ye(e)?Xe({name:e.name},t,{setup:e}):e}const kr=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function oa(e){ye(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:a}=e;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let h;return l||(h=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((g,m)=>{a(p,()=>g(f()),()=>m(p),u+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return Ae({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const h=nt;if(c)return()=>Pl(c,h);const p=_=>{l=null,Ts(_,h,13,!r)};if(i&&h.suspense||ni)return d().then(_=>()=>Pl(_,h)).catch(_=>(p(_),()=>r?K(r,{error:_}):null));const g=U(!1),m=U(),v=U(!!s);return s&&setTimeout(()=>{v.value=!1},s),o!=null&&setTimeout(()=>{if(!g.value&&!m.value){const _=new Error(`Async component timed out after ${o}ms.`);p(_),m.value=_}},o),d().then(()=>{g.value=!0,h.parent&&ei(h.parent.vnode)&&(h.parent.effect.dirty=!0,Ka(h.parent.update))}).catch(_=>{p(_),m.value=_}),()=>{if(g.value&&c)return Pl(c,h);if(m.value&&r)return K(r,{error:m.value});if(n&&!v.value)return K(n)}}})}function Pl(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=K(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const ei=e=>e.type.__isKeepAlive,U1={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Vt(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(_,y,b,E,C)=>{const k=_.component;c(_,y,b,0,a),l(k.vnode,_,y,b,k,a,E,_.slotScopeIds,C),ut(()=>{k.isDeactivated=!1,k.a&&ns(k.a);const O=_.props&&_.props.onVnodeMounted;O&&Ct(O,k.parent,_)},a)},r.deactivate=_=>{const y=_.component;c(_,d,null,1,a),ut(()=>{y.da&&ns(y.da);const b=_.props&&_.props.onVnodeUnmounted;b&&Ct(b,y.parent,_),y.isDeactivated=!0},a)};function h(_){$l(_),u(_,n,a,!0)}function p(_){s.forEach((y,b)=>{const E=Ac(y.type);E&&(!_||!_(E))&&g(b)})}function g(_){const y=s.get(_);!i||!Yt(y,i)?h(y):i&&$l(i),s.delete(_),o.delete(_)}De(()=>[e.include,e.exclude],([_,y])=>{_&&p(b=>mo(_,b)),y&&p(b=>!mo(y,b))},{flush:"post",deep:!0});let m=null;const v=()=>{m!=null&&s.set(m,Ol(n.subTree))};return Dn(v),Gu(v),ti(()=>{s.forEach(_=>{const{subTree:y,suspense:b}=n,E=Ol(y);if(_.type===E.type&&_.key===E.key){$l(E);const C=E.component.da;C&&ut(C,b);return}h(_)})}),()=>{if(m=null,!t.default)return i=null;const _=t.default(),y=_[0];if(_.length>1)return i=null,_;if(!vs(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let b=Ol(y);const E=b.type,C=Ac(kr(b)?b.type.__asyncResolved||{}:E),{include:k,exclude:O,max:D}=e;if(k&&(!C||!mo(k,C))||O&&C&&mo(O,C))return i=b,y;const P=b.key==null?E:b.key,L=s.get(P);return b.el&&(b=kn(b),y.shapeFlag&128&&(y.ssContent=b)),m=P,L?(b.el=L.el,b.component=L.component,b.transition&&ps(b,b.transition),b.shapeFlag|=512,o.delete(P),o.add(P)):(o.add(P),D&&o.size>parseInt(D,10)&&g(o.values().next().value)),b.shapeFlag|=256,i=b,lg(y.type)?y:b}}},V1=U1;function mo(e,t){return fe(e)?e.some(n=>mo(n,t)):Ke(e)?e.split(",").includes(t):$_(e)?e.test(t):!1}function pg(e,t){gg(e,"a",t)}function mg(e,t){gg(e,"da",t)}function gg(e,t,n=nt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Za(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ei(s.parent.vnode)&&G1(r,t,n,s),s=s.parent}}function G1(e,t,n,r){const s=Za(t,e,r,!0);Ja(()=>{xu(r[t],s)},n)}function $l(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ol(e){return e.shapeFlag&128?e.ssContent:e}function Za(e,t,n=nt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;cr();const a=Dr(n),l=Ht(t,n,e,i);return a(),ur(),l});return r?s.unshift(o):s.push(o),o}}const Ln=e=>(t,n=nt)=>(!ni||e==="sp")&&Za(e,(...r)=>t(...r),n),vg=Ln("bm"),Dn=Ln("m"),W1=Ln("bu"),Gu=Ln("u"),ti=Ln("bum"),Ja=Ln("um"),K1=Ln("sp"),q1=Ln("rtg"),Y1=Ln("rtc");function yg(e,t=nt){Za("ec",e,t)}function jo(e,t,n,r){let s;const o=n&&n[r];if(fe(e)||Ke(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(He(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];s[a]=t(e[c],c,a,o&&o[a])}}else s=[];return n&&(n[r]=s),s}function X1(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(fe(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 tt(e,t,n={},r,s){if(Je.isCE||Je.parent&&kr(Je.parent)&&Je.parent.isCE)return t!=="default"&&(n.name=t),K("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Y();const i=o&&_g(o(n)),a=xe(Le,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function _g(e){return e.some(t=>vs(t)?!(t.type===Et||t.type===Le&&!_g(t.children)):!0)?e:null}function X6(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Ui(r)]=e[r];return n}const vc=e=>e?Bg(e)?el(e)||e.proxy:vc(e.parent):null,bo=Xe(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=>vc(e.parent),$root:e=>vc(e.root),$emit:e=>e.emit,$options:e=>Wu(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Ka(e.update)}),$nextTick:e=>e.n||(e.n=Lt.bind(e.proxy)),$watch:e=>j1.bind(e)}),kl=(e,t)=>e!==Ve&&!e.__isScriptSetup&&ke(e,t),Z1={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;let c;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(kl(r,t))return i[t]=1,r[t];if(s!==Ve&&ke(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&ke(c,t))return i[t]=3,o[t];if(n!==Ve&&ke(n,t))return i[t]=4,n[t];yc&&(i[t]=0)}}const u=bo[t];let f,d;if(u)return t==="$attrs"&&Rt(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ve&&ke(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,ke(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return kl(s,t)?(s[t]=n,!0):r!==Ve&&ke(r,t)?(r[t]=n,!0):ke(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,propsOptions:o}},i){let a;return!!n[i]||e!==Ve&&ke(e,i)||kl(t,i)||(a=o[0])&&ke(a,i)||ke(r,i)||ke(bo,i)||ke(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ke(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Z6(){return bg().slots}function J6(){return bg().attrs}function bg(){const e=Vt();return e.setupContext||(e.setupContext=zg(e))}function ia(e){return fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Q6(e,t){return!e||!t?e||t:fe(e)&&fe(t)?e.concat(t):Xe({},ia(e),ia(t))}function e3(e){const t=Vt();let n=e();return xc(),Cu(n)&&(n=n.catch(r=>{throw Dr(t),r})),[n,()=>Dr(t)]}let yc=!0;function J1(e){const t=Wu(e),n=e.proxy,r=e.ctx;yc=!1,t.beforeCreate&&sd(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:g,deactivated:m,beforeDestroy:v,beforeUnmount:_,destroyed:y,unmounted:b,render:E,renderTracked:C,renderTriggered:k,errorCaptured:O,serverPrefetch:D,expose:P,inheritAttrs:L,components:A,directives:S,filters:T}=t;if(c&&Q1(c,r,null),i)for(const $ in i){const I=i[$];ye(I)&&(r[$]=I.bind(n))}if(s){const $=s.call(n,n);He($)&&(e.data=Pt($))}if(yc=!0,o)for(const $ in o){const I=o[$],Z=ye(I)?I.bind(n,n):ye(I.get)?I.get.bind(n,n):Bt,ae=!ye(I)&&ye(I.set)?I.set.bind(n):Bt,ie=oe({get:Z,set:ae});Object.defineProperty(r,$,{enumerable:!0,configurable:!0,get:()=>ie.value,set:le=>ie.value=le})}if(a)for(const $ in a)wg(a[$],r,n,$);if(l){const $=ye(l)?l.call(n):l;Reflect.ownKeys($).forEach(I=>{tr(I,$[I])})}u&&sd(u,e,"c");function R($,I){fe(I)?I.forEach(Z=>$(Z.bind(n))):I&&$(I.bind(n))}if(R(vg,f),R(Dn,d),R(W1,h),R(Gu,p),R(pg,g),R(mg,m),R(yg,O),R(Y1,C),R(q1,k),R(ti,_),R(Ja,b),R(K1,D),fe(P))if(P.length){const $=e.exposed||(e.exposed={});P.forEach(I=>{Object.defineProperty($,I,{get:()=>n[I],set:Z=>n[I]=Z})})}else e.exposed||(e.exposed={});E&&e.render===Bt&&(e.render=E),L!=null&&(e.inheritAttrs=L),A&&(e.components=A),S&&(e.directives=S)}function Q1(e,t,n=Bt){fe(e)&&(e=_c(e));for(const r in e){const s=e[r];let o;He(s)?"default"in s?o=wt(s.from||r,s.default,!0):o=wt(s.from||r):o=wt(s),ze(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function sd(e,t,n){Ht(fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function wg(e,t,n,r){const s=r.includes(".")?ug(n,r):()=>n[r];if(Ke(e)){const o=t[e];ye(o)&&De(s,o)}else if(ye(e))De(s,e.bind(n));else if(He(e))if(fe(e))e.forEach(o=>wg(o,t,n,r));else{const o=ye(e.handler)?e.handler.bind(n):t[e.handler];ye(o)&&De(s,o,e)}}function Wu(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(c=>aa(l,c,i,!0)),aa(l,t,i)),He(t)&&o.set(t,l),l}function aa(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&aa(e,o,n,!0),s&&s.forEach(i=>aa(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=eb[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const eb={data:od,props:id,emits:id,methods:go,computed:go,beforeCreate:gt,created:gt,beforeMount:gt,mounted:gt,beforeUpdate:gt,updated:gt,beforeDestroy:gt,beforeUnmount:gt,destroyed:gt,unmounted:gt,activated:gt,deactivated:gt,errorCaptured:gt,serverPrefetch:gt,components:go,directives:go,watch:nb,provide:od,inject:tb};function od(e,t){return t?e?function(){return Xe(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function tb(e,t){return go(_c(e),_c(t))}function _c(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function gt(e,t){return e?[...new Set([].concat(e,t))]:t}function go(e,t){return e?Xe(Object.create(null),e,t):t}function id(e,t){return e?fe(e)&&fe(t)?[...new Set([...e,...t])]:Xe(Object.create(null),ia(e),ia(t??{})):t}function nb(e,t){if(!e)return t;if(!t)return e;const n=Xe(Object.create(null),e);for(const r in t)n[r]=gt(e[r],t[r]);return n}function Eg(){return{app:null,config:{isNativeTag:R_,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 rb=0;function sb(e,t){return function(r,s=null){ye(r)||(r=Xe({},r)),s!=null&&!He(s)&&(s=null);const o=Eg(),i=new WeakSet;let a=!1;const l=o.app={_uid:rb++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Hg,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&ye(c.install)?(i.add(c),c.install(l,...u)):ye(c)&&(i.add(c),c(l,...u))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,u){return u?(o.components[c]=u,l):o.components[c]},directive(c,u){return u?(o.directives[c]=u,l):o.directives[c]},mount(c,u,f){if(!a){const d=K(r,s);return d.appContext=o,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,el(d.component)||d.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return o.provides[c]=u,l},runWithContext(c){const u=is;is=l;try{return c()}finally{is=u}}};return l}}let is=null;function tr(e,t){if(nt){let n=nt.provides;const r=nt.parent&&nt.parent.provides;r===n&&(n=nt.provides=Object.create(r)),n[e]=t}}function wt(e,t,n=!1){const r=nt||Je;if(r||is){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:is._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ye(t)?t.call(r&&r.proxy):t}}function Sg(){return!!(nt||Je||is)}const xg=Object.create(null),bc=()=>Object.create(xg),Cg=e=>Object.getPrototypeOf(e)===xg;function ob(e,t,n,r=!1){const s={},o=bc();e.propsDefaults=Object.create(null),Ag(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:As(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function ib(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=$e(s),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(qa(e.emitsOptions,d))continue;const h=t[d];if(l)if(ke(o,d))h!==o[d]&&(o[d]=h,c=!0);else{const p=Qt(d);s[p]=wc(l,a,p,h,e,!1)}else h!==o[d]&&(o[d]=h,c=!0)}}}else{Ag(e,t,s,o)&&(c=!0);let u;for(const f in a)(!t||!ke(t,f)&&((u=lr(f))===f||!ke(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=wc(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!ke(t,f))&&(delete o[f],c=!0)}c&&Rn(e.attrs,"set","")}function Ag(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(ts(l))continue;const c=t[l];let u;s&&ke(s,u=Qt(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:qa(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=$e(n),c=a||Ve;for(let u=0;u<o.length;u++){const f=o[u];n[f]=wc(s,l,f,c[f],e,!ke(c,f))}}return i}function wc(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=ke(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ye(l)){const{propsDefaults:c}=s;if(n in c)r=c[n];else{const u=Dr(s);r=c[n]=l.call(null,t),u()}}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===lr(n))&&(r=!0))}return r}function Tg(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!ye(e)){const u=f=>{l=!0;const[d,h]=Tg(f,t,!0);Xe(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return He(e)&&r.set(e,Qr),Qr;if(fe(o))for(let u=0;u<o.length;u++){const f=Qt(o[u]);ad(f)&&(i[f]=Ve)}else if(o)for(const u in o){const f=Qt(u);if(ad(f)){const d=o[u],h=i[f]=fe(d)||ye(d)?{type:d}:Xe({},d);if(h){const p=ud(Boolean,h.type),g=ud(String,h.type);h[0]=p>-1,h[1]=g<0||p<g,(p>-1||ke(h,"default"))&&a.push(f)}}}const c=[i,a];return He(e)&&r.set(e,c),c}function ad(e){return e[0]!=="$"&&!ts(e)}function ld(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function cd(e,t){return ld(e)===ld(t)}function ud(e,t){return fe(t)?t.findIndex(n=>cd(n,e)):ye(t)&&cd(t,e)?0:-1}const Rg=e=>e[0]==="_"||e==="$stable",Ku=e=>fe(e)?e.map(Ft):[Ft(e)],ab=(e,t,n)=>{if(t._n)return t;const r=ue((...s)=>Ku(t(...s)),n);return r._c=!1,r},Pg=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Rg(s))continue;const o=e[s];if(ye(o))t[s]=ab(s,o,r);else if(o!=null){const i=Ku(o);t[s]=()=>i}}},$g=(e,t)=>{const n=Ku(t);e.slots.default=()=>n},lb=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=$e(t),Im(e.slots,"_",n)):Pg(t,e.slots=bc())}else e.slots=bc(),t&&$g(e,t)},cb=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Ve;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Xe(s,t),!n&&a===1&&delete s._):(o=!t.$stable,Pg(t,s)),i=t}else t&&($g(e,t),i={default:1});if(o)for(const a in s)!Rg(a)&&i[a]==null&&delete s[a]};function la(e,t,n,r,s=!1){if(fe(e)){e.forEach((d,h)=>la(d,t&&(fe(t)?t[h]:t),n,r,s));return}if(kr(r)&&!s)return;const o=r.shapeFlag&4?el(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Ve?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ke(c)?(u[c]=null,ke(f,c)&&(f[c]=null)):ze(c)&&(c.value=null)),ye(l))er(l,a,12,[i,u]);else{const d=Ke(l),h=ze(l);if(d||h){const p=()=>{if(e.f){const g=d?ke(f,l)?f[l]:u[l]:l.value;s?fe(g)&&xu(g,o):fe(g)?g.includes(o)||g.push(o):d?(u[l]=[o],ke(f,l)&&(f[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else d?(u[l]=i,ke(f,l)&&(f[l]=i)):h&&(l.value=i,e.k&&(u[e.k]=i))};i?(p.id=-1,ut(p,n)):p()}}}let Bn=!1;const ub=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",fb=e=>e.namespaceURI.includes("MathML"),wi=e=>{if(ub(e))return"svg";if(fb(e))return"mathml"},Ei=e=>e.nodeType===8;function db(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(y,b)=>{if(!b.hasChildNodes()){n(null,y,b),ra(),b._vnode=y;return}Bn=!1,f(b.firstChild,y,null,null,null),ra(),b._vnode=y,Bn&&console.error("Hydration completed but contains mismatches.")},f=(y,b,E,C,k,O=!1)=>{O=O||!!b.dynamicChildren;const D=Ei(y)&&y.data==="[",P=()=>g(y,b,E,C,k,D),{type:L,ref:A,shapeFlag:S,patchFlag:T}=b;let B=y.nodeType;b.el=y,T===-2&&(O=!1,b.dynamicChildren=null);let R=null;switch(L){case ms:B!==3?b.children===""?(l(b.el=s(""),i(y),y),R=y):R=P():(y.data!==b.children&&(Bn=!0,y.data=b.children),R=o(y));break;case Et:_(y)?(R=o(y),v(b.el=y.content.firstChild,y,E)):B!==8||D?R=P():R=o(y);break;case Eo:if(D&&(y=o(y),B=y.nodeType),B===1||B===3){R=y;const $=!b.children.length;for(let I=0;I<b.staticCount;I++)$&&(b.children+=R.nodeType===1?R.outerHTML:R.data),I===b.staticCount-1&&(b.anchor=R),R=o(R);return D?o(R):R}else P();break;case Le:D?R=p(y,b,E,C,k,O):R=P();break;default:if(S&1)(B!==1||b.type.toLowerCase()!==y.tagName.toLowerCase())&&!_(y)?R=P():R=d(y,b,E,C,k,O);else if(S&6){b.slotScopeIds=k;const $=i(y);if(D?R=m(y):Ei(y)&&y.data==="teleport start"?R=m(y,y.data,"teleport end"):R=o(y),t(b,$,null,E,C,wi($),O),kr(b)){let I;D?(I=K(Le),I.anchor=R?R.previousSibling:$.lastChild):I=y.nodeType===3?Re(""):K("div"),I.el=y,b.component.subTree=I}}else S&64?B!==8?R=P():R=b.type.hydrate(y,b,E,C,k,O,e,h):S&128&&(R=b.type.hydrate(y,b,E,C,wi(i(y)),k,O,e,f))}return A!=null&&la(A,null,C,b),R},d=(y,b,E,C,k,O)=>{O=O||!!b.dynamicChildren;const{type:D,props:P,patchFlag:L,shapeFlag:A,dirs:S,transition:T}=b,B=D==="input"||D==="option";if(B||L!==-1){S&&an(b,null,E,"created");let R=!1;if(_(y)){R=kg(C,T)&&E&&E.vnode.props&&E.vnode.props.appear;const I=y.content.firstChild;R&&T.beforeEnter(I),v(I,y,E),b.el=y=I}if(A&16&&!(P&&(P.innerHTML||P.textContent))){let I=h(y.firstChild,b,y,E,C,k,O);for(;I;){Bn=!0;const Z=I;I=I.nextSibling,a(Z)}}else A&8&&y.textContent!==b.children&&(Bn=!0,y.textContent=b.children);if(P)if(B||!O||L&48)for(const I in P)(B&&(I.endsWith("value")||I==="indeterminate")||Qo(I)&&!ts(I)||I[0]===".")&&r(y,I,null,P[I],void 0,void 0,E);else P.onClick&&r(y,"onClick",null,P.onClick,void 0,void 0,E);let $;($=P&&P.onVnodeBeforeMount)&&Ct($,E,b),S&&an(b,null,E,"beforeMount"),(($=P&&P.onVnodeMounted)||S||R)&&cg(()=>{$&&Ct($,E,b),R&&T.enter(y),S&&an(b,null,E,"mounted")},C)}return y.nextSibling},h=(y,b,E,C,k,O,D)=>{D=D||!!b.dynamicChildren;const P=b.children,L=P.length;for(let A=0;A<L;A++){const S=D?P[A]:P[A]=Ft(P[A]);if(y)y=f(y,S,C,k,O,D);else{if(S.type===ms&&!S.children)continue;Bn=!0,n(null,S,E,null,C,k,wi(E),O)}}return y},p=(y,b,E,C,k,O)=>{const{slotScopeIds:D}=b;D&&(k=k?k.concat(D):D);const P=i(y),L=h(o(y),b,P,E,C,k,O);return L&&Ei(L)&&L.data==="]"?o(b.anchor=L):(Bn=!0,l(b.anchor=c("]"),P,L),L)},g=(y,b,E,C,k,O)=>{if(Bn=!0,b.el=null,O){const L=m(y);for(;;){const A=o(y);if(A&&A!==L)a(A);else break}}const D=o(y),P=i(y);return a(y),n(null,b,P,D,E,C,wi(P),k),D},m=(y,b="[",E="]")=>{let C=0;for(;y;)if(y=o(y),y&&Ei(y)&&(y.data===b&&C++,y.data===E)){if(C===0)return o(y);C--}return y},v=(y,b,E)=>{const C=b.parentNode;C&&C.replaceChild(y,b);let k=E;for(;k;)k.vnode.el===b&&(k.vnode.el=k.subTree.el=y),k=k.parent},_=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const ut=cg;function hb(e){return Og(e)}function pb(e){return Og(e,db)}function Og(e,t){const n=Dm();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Bt,insertStaticContent:p}=e,g=(w,x,N,z=null,M=null,X=null,te=void 0,q=null,J=!!x.dynamicChildren)=>{if(w===x)return;w&&!Yt(w,x)&&(z=F(w),le(w,M,X,!0),w=null),x.patchFlag===-2&&(J=!1,x.dynamicChildren=null);const{type:H,ref:re,shapeFlag:he}=x;switch(H){case ms:m(w,x,N,z);break;case Et:v(w,x,N,z);break;case Eo:w==null&&_(x,N,z,te);break;case Le:A(w,x,N,z,M,X,te,q,J);break;default:he&1?E(w,x,N,z,M,X,te,q,J):he&6?S(w,x,N,z,M,X,te,q,J):(he&64||he&128)&&H.process(w,x,N,z,M,X,te,q,J,ce)}re!=null&&M&&la(re,w&&w.ref,X,x||w,!x)},m=(w,x,N,z)=>{if(w==null)r(x.el=a(x.children),N,z);else{const M=x.el=w.el;x.children!==w.children&&c(M,x.children)}},v=(w,x,N,z)=>{w==null?r(x.el=l(x.children||""),N,z):x.el=w.el},_=(w,x,N,z)=>{[w.el,w.anchor]=p(w.children,x,N,z,w.el,w.anchor)},y=({el:w,anchor:x},N,z)=>{let M;for(;w&&w!==x;)M=d(w),r(w,N,z),w=M;r(x,N,z)},b=({el:w,anchor:x})=>{let N;for(;w&&w!==x;)N=d(w),s(w),w=N;s(x)},E=(w,x,N,z,M,X,te,q,J)=>{x.type==="svg"?te="svg":x.type==="math"&&(te="mathml"),w==null?C(x,N,z,M,X,te,q,J):D(w,x,M,X,te,q,J)},C=(w,x,N,z,M,X,te,q)=>{let J,H;const{props:re,shapeFlag:he,transition:W,dirs:ne}=w;if(J=w.el=i(w.type,X,re&&re.is,re),he&8?u(J,w.children):he&16&&O(w.children,J,null,z,M,Nl(w,X),te,q),ne&&an(w,null,z,"created"),k(J,w,w.scopeId,te,z),re){for(const pe in re)pe!=="value"&&!ts(pe)&&o(J,pe,null,re[pe],X,w.children,z,M,Ge);"value"in re&&o(J,"value",null,re.value,X),(H=re.onVnodeBeforeMount)&&Ct(H,z,w)}ne&&an(w,null,z,"beforeMount");const Q=kg(M,W);Q&&W.beforeEnter(J),r(J,x,N),((H=re&&re.onVnodeMounted)||Q||ne)&&ut(()=>{H&&Ct(H,z,w),Q&&W.enter(J),ne&&an(w,null,z,"mounted")},M)},k=(w,x,N,z,M)=>{if(N&&h(w,N),z)for(let X=0;X<z.length;X++)h(w,z[X]);if(M){let X=M.subTree;if(x===X){const te=M.vnode;k(w,te,te.scopeId,te.slotScopeIds,M.parent)}}},O=(w,x,N,z,M,X,te,q,J=0)=>{for(let H=J;H<w.length;H++){const re=w[H]=q?Kn(w[H]):Ft(w[H]);g(null,re,x,N,z,M,X,te,q)}},D=(w,x,N,z,M,X,te)=>{const q=x.el=w.el;let{patchFlag:J,dynamicChildren:H,dirs:re}=x;J|=w.patchFlag&16;const he=w.props||Ve,W=x.props||Ve;let ne;if(N&&pr(N,!1),(ne=W.onVnodeBeforeUpdate)&&Ct(ne,N,x,w),re&&an(x,w,N,"beforeUpdate"),N&&pr(N,!0),H?P(w.dynamicChildren,H,q,N,z,Nl(x,M),X):te||I(w,x,q,null,N,z,Nl(x,M),X,!1),J>0){if(J&16)L(q,x,he,W,N,z,M);else if(J&2&&he.class!==W.class&&o(q,"class",null,W.class,M),J&4&&o(q,"style",he.style,W.style,M),J&8){const Q=x.dynamicProps;for(let pe=0;pe<Q.length;pe++){const Oe=Q[pe],Be=he[Oe],be=W[Oe];(be!==Be||Oe==="value")&&o(q,Oe,Be,be,M,w.children,N,z,Ge)}}J&1&&w.children!==x.children&&u(q,x.children)}else!te&&H==null&&L(q,x,he,W,N,z,M);((ne=W.onVnodeUpdated)||re)&&ut(()=>{ne&&Ct(ne,N,x,w),re&&an(x,w,N,"updated")},z)},P=(w,x,N,z,M,X,te)=>{for(let q=0;q<x.length;q++){const J=w[q],H=x[q],re=J.el&&(J.type===Le||!Yt(J,H)||J.shapeFlag&70)?f(J.el):N;g(J,H,re,null,z,M,X,te,!0)}},L=(w,x,N,z,M,X,te)=>{if(N!==z){if(N!==Ve)for(const q in N)!ts(q)&&!(q in z)&&o(w,q,N[q],null,te,x.children,M,X,Ge);for(const q in z){if(ts(q))continue;const J=z[q],H=N[q];J!==H&&q!=="value"&&o(w,q,H,J,te,x.children,M,X,Ge)}"value"in z&&o(w,"value",N.value,z.value,te)}},A=(w,x,N,z,M,X,te,q,J)=>{const H=x.el=w?w.el:a(""),re=x.anchor=w?w.anchor:a("");let{patchFlag:he,dynamicChildren:W,slotScopeIds:ne}=x;ne&&(q=q?q.concat(ne):ne),w==null?(r(H,N,z),r(re,N,z),O(x.children||[],N,re,M,X,te,q,J)):he>0&&he&64&&W&&w.dynamicChildren?(P(w.dynamicChildren,W,N,M,X,te,q),(x.key!=null||M&&x===M.subTree)&&qu(w,x,!0)):I(w,x,N,re,M,X,te,q,J)},S=(w,x,N,z,M,X,te,q,J)=>{x.slotScopeIds=q,w==null?x.shapeFlag&512?M.ctx.activate(x,N,z,te,J):T(x,N,z,M,X,te,J):B(w,x,J)},T=(w,x,N,z,M,X,te)=>{const q=w.component=Sb(w,z,M);if(ei(w)&&(q.ctx.renderer=ce),xb(q),q.asyncDep){if(M&&M.registerDep(q,R),!w.el){const J=q.subTree=K(Et);v(null,J,x,N)}}else R(q,w,x,N,M,X,te)},B=(w,x,N)=>{const z=x.component=w.component;if(R1(w,x,N))if(z.asyncDep&&!z.asyncResolved){$(z,x,N);return}else z.next=x,_1(z.update),z.effect.dirty=!0,z.update();else x.el=w.el,z.vnode=x},R=(w,x,N,z,M,X,te)=>{const q=()=>{if(w.isMounted){let{next:re,bu:he,u:W,parent:ne,vnode:Q}=w;{const me=Ng(w);if(me){re&&(re.el=Q.el,$(w,re,te)),me.asyncDep.then(()=>{w.isUnmounted||q()});return}}let pe=re,Oe;pr(w,!1),re?(re.el=Q.el,$(w,re,te)):re=Q,he&&ns(he),(Oe=re.props&&re.props.onVnodeBeforeUpdate)&&Ct(Oe,ne,re,Q),pr(w,!0);const Be=Tl(w),be=w.subTree;w.subTree=Be,g(be,Be,f(be.el),F(be),w,M,X),re.el=Be.el,pe===null&&Bu(w,Be.el),W&&ut(W,M),(Oe=re.props&&re.props.onVnodeUpdated)&&ut(()=>Ct(Oe,ne,re,Q),M)}else{let re;const{el:he,props:W}=x,{bm:ne,m:Q,parent:pe}=w,Oe=kr(x);if(pr(w,!1),ne&&ns(ne),!Oe&&(re=W&&W.onVnodeBeforeMount)&&Ct(re,pe,x),pr(w,!0),he&&Fe){const Be=()=>{w.subTree=Tl(w),Fe(he,w.subTree,w,M,null)};Oe?x.type.__asyncLoader().then(()=>!w.isUnmounted&&Be()):Be()}else{const Be=w.subTree=Tl(w);g(null,Be,N,z,w,M,X),x.el=Be.el}if(Q&&ut(Q,M),!Oe&&(re=W&&W.onVnodeMounted)){const Be=x;ut(()=>Ct(re,pe,Be),M)}(x.shapeFlag&256||pe&&kr(pe.vnode)&&pe.vnode.shapeFlag&256)&&w.a&&ut(w.a,M),w.isMounted=!0,x=N=z=null}},J=w.effect=new Pu(q,Bt,()=>Ka(H),w.scope),H=w.update=()=>{J.dirty&&J.run()};H.id=w.uid,pr(w,!0),H()},$=(w,x,N)=>{x.component=w;const z=w.vnode.props;w.vnode=x,w.next=null,ib(w,x.props,z,N),cb(w,x.children,N),cr(),Qf(w),ur()},I=(w,x,N,z,M,X,te,q,J=!1)=>{const H=w&&w.children,re=w?w.shapeFlag:0,he=x.children,{patchFlag:W,shapeFlag:ne}=x;if(W>0){if(W&128){ae(H,he,N,z,M,X,te,q,J);return}else if(W&256){Z(H,he,N,z,M,X,te,q,J);return}}ne&8?(re&16&&Ge(H,M,X),he!==H&&u(N,he)):re&16?ne&16?ae(H,he,N,z,M,X,te,q,J):Ge(H,M,X,!0):(re&8&&u(N,""),ne&16&&O(he,N,z,M,X,te,q,J))},Z=(w,x,N,z,M,X,te,q,J)=>{w=w||Qr,x=x||Qr;const H=w.length,re=x.length,he=Math.min(H,re);let W;for(W=0;W<he;W++){const ne=x[W]=J?Kn(x[W]):Ft(x[W]);g(w[W],ne,N,null,M,X,te,q,J)}H>re?Ge(w,M,X,!0,!1,he):O(x,N,z,M,X,te,q,J,he)},ae=(w,x,N,z,M,X,te,q,J)=>{let H=0;const re=x.length;let he=w.length-1,W=re-1;for(;H<=he&&H<=W;){const ne=w[H],Q=x[H]=J?Kn(x[H]):Ft(x[H]);if(Yt(ne,Q))g(ne,Q,N,null,M,X,te,q,J);else break;H++}for(;H<=he&&H<=W;){const ne=w[he],Q=x[W]=J?Kn(x[W]):Ft(x[W]);if(Yt(ne,Q))g(ne,Q,N,null,M,X,te,q,J);else break;he--,W--}if(H>he){if(H<=W){const ne=W+1,Q=ne<re?x[ne].el:z;for(;H<=W;)g(null,x[H]=J?Kn(x[H]):Ft(x[H]),N,Q,M,X,te,q,J),H++}}else if(H>W)for(;H<=he;)le(w[H],M,X,!0),H++;else{const ne=H,Q=H,pe=new Map;for(H=Q;H<=W;H++){const Ot=x[H]=J?Kn(x[H]):Ft(x[H]);Ot.key!=null&&pe.set(Ot.key,H)}let Oe,Be=0;const be=W-Q+1;let me=!1,$t=0;const _n=new Array(be);for(H=0;H<be;H++)_n[H]=0;for(H=ne;H<=he;H++){const Ot=w[H];if(Be>=be){le(Ot,M,X,!0);continue}let sn;if(Ot.key!=null)sn=pe.get(Ot.key);else for(Oe=Q;Oe<=W;Oe++)if(_n[Oe-Q]===0&&Yt(Ot,x[Oe])){sn=Oe;break}sn===void 0?le(Ot,M,X,!0):(_n[sn-Q]=H+1,sn>=$t?$t=sn:me=!0,g(Ot,x[sn],N,null,M,X,te,q,J),Be++)}const Ms=me?mb(_n):Qr;for(Oe=Ms.length-1,H=be-1;H>=0;H--){const Ot=Q+H,sn=x[Ot],Uf=Ot+1<re?x[Ot+1].el:z;_n[H]===0?g(null,sn,N,Uf,M,X,te,q,J):me&&(Oe<0||H!==Ms[Oe]?ie(sn,N,Uf,2):Oe--)}}},ie=(w,x,N,z,M=null)=>{const{el:X,type:te,transition:q,children:J,shapeFlag:H}=w;if(H&6){ie(w.component.subTree,x,N,z);return}if(H&128){w.suspense.move(x,N,z);return}if(H&64){te.move(w,x,N,ce);return}if(te===Le){r(X,x,N);for(let he=0;he<J.length;he++)ie(J[he],x,N,z);r(w.anchor,x,N);return}if(te===Eo){y(w,x,N);return}if(z!==2&&H&1&&q)if(z===0)q.beforeEnter(X),r(X,x,N),ut(()=>q.enter(X),M);else{const{leave:he,delayLeave:W,afterLeave:ne}=q,Q=()=>r(X,x,N),pe=()=>{he(X,()=>{Q(),ne&&ne()})};W?W(X,Q,pe):pe()}else r(X,x,N)},le=(w,x,N,z=!1,M=!1)=>{const{type:X,props:te,ref:q,children:J,dynamicChildren:H,shapeFlag:re,patchFlag:he,dirs:W}=w;if(q!=null&&la(q,null,N,w,!0),re&256){x.ctx.deactivate(w);return}const ne=re&1&&W,Q=!kr(w);let pe;if(Q&&(pe=te&&te.onVnodeBeforeUnmount)&&Ct(pe,x,w),re&6)qe(w.component,N,z);else{if(re&128){w.suspense.unmount(N,z);return}ne&&an(w,null,x,"beforeUnmount"),re&64?w.type.remove(w,x,N,M,ce,z):H&&(X!==Le||he>0&&he&64)?Ge(H,x,N,!1,!0):(X===Le&&he&384||!M&&re&16)&&Ge(J,x,N),z&&Se(w)}(Q&&(pe=te&&te.onVnodeUnmounted)||ne)&&ut(()=>{pe&&Ct(pe,x,w),ne&&an(w,null,x,"unmounted")},N)},Se=w=>{const{type:x,el:N,anchor:z,transition:M}=w;if(x===Le){Ce(N,z);return}if(x===Eo){b(w);return}const X=()=>{s(N),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(w.shapeFlag&1&&M&&!M.persisted){const{leave:te,delayLeave:q}=M,J=()=>te(N,X);q?q(w.el,X,J):J()}else X()},Ce=(w,x)=>{let N;for(;w!==x;)N=d(w),s(w),w=N;s(x)},qe=(w,x,N)=>{const{bum:z,scope:M,update:X,subTree:te,um:q}=w;z&&ns(z),M.stop(),X&&(X.active=!1,le(te,w,x,N)),q&&ut(q,x),ut(()=>{w.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},Ge=(w,x,N,z=!1,M=!1,X=0)=>{for(let te=X;te<w.length;te++)le(w[te],x,N,z,M)},F=w=>w.shapeFlag&6?F(w.component.subTree):w.shapeFlag&128?w.suspense.next():d(w.anchor||w.el);let se=!1;const ee=(w,x,N)=>{w==null?x._vnode&&le(x._vnode,null,null,!0):g(x._vnode||null,w,x,null,null,null,N),se||(se=!0,Qf(),ra(),se=!1),x._vnode=w},ce={p:g,um:le,m:ie,r:Se,mt:T,mc:O,pc:I,pbc:P,n:F,o:e};let Ie,Fe;return t&&([Ie,Fe]=t(ce)),{render:ee,hydrate:Ie,createApp:sb(ee,Ie)}}function Nl({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 pr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function kg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qu(e,t,n=!1){const r=e.children,s=t.children;if(fe(r)&&fe(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]=Kn(s[o]),a.el=i.el),n||qu(i,a)),a.type===ms&&(a.el=i.el)}}function mb(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<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 Ng(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ng(t)}const gb=e=>e.__isTeleport,wo=e=>e&&(e.disabled||e.disabled===""),fd=e=>typeof SVGElement<"u"&&e instanceof SVGElement,dd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ec=(e,t)=>{const n=e&&e.to;return Ke(n)?t?t(n):null:n},vb={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:g,createComment:m}}=c,v=wo(t.props);let{shapeFlag:_,children:y,dynamicChildren:b}=t;if(e==null){const E=t.el=g(""),C=t.anchor=g("");h(E,n,r),h(C,n,r);const k=t.target=Ec(t.props,p),O=t.targetAnchor=g("");k&&(h(O,k),i==="svg"||fd(k)?i="svg":(i==="mathml"||dd(k))&&(i="mathml"));const D=(P,L)=>{_&16&&u(y,P,L,s,o,i,a,l)};v?D(n,C):k&&D(k,O)}else{t.el=e.el;const E=t.anchor=e.anchor,C=t.target=e.target,k=t.targetAnchor=e.targetAnchor,O=wo(e.props),D=O?n:C,P=O?E:k;if(i==="svg"||fd(C)?i="svg":(i==="mathml"||dd(C))&&(i="mathml"),b?(d(e.dynamicChildren,b,D,s,o,i,a),qu(e,t,!0)):l||f(e,t,D,P,s,o,i,a,!1),v)O?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Si(t,n,E,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const L=t.target=Ec(t.props,p);L&&Si(t,L,null,c,0)}else O&&Si(t,C,k,c,1)}Lg(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&o(u),i&&o(c),a&16){const h=i||!wo(d);for(let p=0;p<l.length;p++){const g=l[p];s(g,t,n,h,!!g.dynamicChildren)}}},move:Si,hydrate:yb};function Si(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:c,props:u}=e,f=o===2;if(f&&r(i,t,n),(!f||wo(u))&&l&16)for(let d=0;d<c.length;d++)s(c[d],t,n,2);f&&r(a,t,n)}function yb(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const u=t.target=Ec(t.props,l);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(wo(t.props))t.anchor=c(i(e),t,a(e),n,r,s,o),t.targetAnchor=f;else{t.anchor=i(e);let d=f;for(;d;)if(d=i(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(f,t,u,n,r,s,o)}Lg(t)}return t.anchor&&i(t.anchor)}const Ig=vb;function Lg(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Le=Symbol.for("v-fgt"),ms=Symbol.for("v-txt"),Et=Symbol.for("v-cmt"),Eo=Symbol.for("v-stc"),So=[];let jt=null;function Y(e=!1){So.push(jt=e?null:[])}function Dg(){So.pop(),jt=So[So.length-1]||null}let gs=1;function hd(e){gs+=e}function Mg(e){return e.dynamicChildren=gs>0?jt||Qr:null,Dg(),gs>0&&jt&&jt.push(e),e}function ge(e,t,n,r,s,o){return Mg(V(e,t,n,r,s,o,!0))}function xe(e,t,n,r,s){return Mg(K(e,t,n,r,s,!0))}function vs(e){return e?e.__v_isVNode===!0:!1}function Yt(e,t){return e.type===t.type&&e.key===t.key}const Fg=({key:e})=>e??null,Vi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ke(e)||ze(e)||ye(e)?{i:Je,r:e,k:t,f:!!n}:e:null);function V(e,t=null,n=null,r=0,s=null,o=e===Le?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fg(t),ref:t&&Vi(t),scopeId:Ya,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Je};return a?(Yu(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ke(n)?8:16),gs>0&&!i&&jt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&jt.push(l),l}const K=_b;function _b(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===ag)&&(e=Et),vs(e)){const a=kn(e,t,!0);return n&&Yu(a,n),gs>0&&!o&&jt&&(a.shapeFlag&6?jt[jt.indexOf(e)]=a:jt.push(a)),a.patchFlag|=-2,a}if(Tb(e)&&(e=e.__vccOpts),t){t=Qa(t);let{class:a,style:l}=t;a&&!Ke(a)&&(t.class=Qe(a)),He(l)&&(Zm(l)&&!fe(l)&&(l=Xe({},l)),t.style=hn(l))}const i=Ke(e)?1:lg(e)?128:gb(e)?64:He(e)?4:ye(e)?2:0;return V(e,t,n,r,s,i,o,!0)}function Qa(e){return e?Zm(e)||Cg(e)?Xe({},e):e:null}function kn(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?Nn(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Fg(a),ref:t&&t.ref?n&&s?fe(s)?s.concat(Vi(t)):[s,Vi(t)]:Vi(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&kn(e.ssContent),ssFallback:e.ssFallback&&kn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Re(e=" ",t=0){return K(ms,null,e,t)}function bb(e,t){const n=K(Eo,null,e);return n.staticCount=t,n}function We(e="",t=!1){return t?(Y(),xe(Et,null,e)):K(Et,null,e)}function Ft(e){return e==null||typeof e=="boolean"?K(Et):fe(e)?K(Le,null,e.slice()):typeof e=="object"?Kn(e):K(ms,null,String(e))}function Kn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:kn(e)}function Yu(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(fe(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Yu(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Cg(t)?t._ctx=Je:s===3&&Je&&(Je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ye(t)?(t={default:t,_ctx:Je},n=32):(t=String(t),r&64?(n=16,t=[Re(t)]):n=8);e.children=t,e.shapeFlag|=n}function Nn(...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=Qe([t.class,r.class]));else if(s==="style")t.style=hn([t.style,r.style]);else if(Qo(s)){const o=t[s],i=r[s];i&&o!==i&&!(fe(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Ct(e,t,n,r=null){Ht(e,t,7,[n,r])}const wb=Eg();let Eb=0;function Sb(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||wb,o={uid:Eb++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Bm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Tg(r,s),emitsOptions:ig(r,s),emit:null,emitted:null,propsDefaults:Ve,inheritAttrs:r.inheritAttrs,ctx:Ve,data:Ve,props:Ve,attrs:Ve,slots:Ve,refs:Ve,setupState:Ve,setupContext:null,attrsProxy:null,slotsProxy: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=w1.bind(null,o),e.ce&&e.ce(o),o}let nt=null;const Vt=()=>nt||Je;let ca,Sc;{const e=Dm(),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)}};ca=t("__VUE_INSTANCE_SETTERS__",n=>nt=n),Sc=t("__VUE_SSR_SETTERS__",n=>ni=n)}const Dr=e=>{const t=nt;return ca(e),e.scope.on(),()=>{e.scope.off(),ca(t)}},xc=()=>{nt&&nt.scope.off(),ca(null)};function Bg(e){return e.vnode.shapeFlag&4}let ni=!1;function xb(e,t=!1){t&&Sc(t);const{props:n,children:r}=e.vnode,s=Bg(e);ob(e,n,s,t),lb(e,r);const o=s?Cb(e,t):void 0;return t&&Sc(!1),o}function Cb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Z1);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?zg(e):null,o=Dr(e);cr();const i=er(r,e,0,[e.props,s]);if(ur(),o(),Cu(i)){if(i.then(xc,xc),t)return i.then(a=>{Cc(e,a,t)}).catch(a=>{Ts(a,e,0)});e.asyncDep=i}else Cc(e,i,t)}else jg(e,t)}function Cc(e,t,n){ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:He(t)&&(e.setupState=tg(t)),jg(e,n)}let pd;function jg(e,t,n){const r=e.type;if(!e.render){if(!t&&pd&&!r.render){const s=r.template||Wu(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Xe(Xe({isCustomElement:o,delimiters:a},i),l);r.render=pd(s,c)}}e.render=r.render||Bt}{const s=Dr(e);cr();try{J1(e)}finally{ur(),s()}}}const Ab={get(e,t){return Rt(e,"get",""),e[t]}};function zg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ab),slots:e.slots,emit:e.emit,expose:t}}function el(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(tg(c1(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in bo)return bo[n](e)},has(t,n){return n in t||n in bo}}))}function Ac(e,t=!0){return ye(e)?e.displayName||e.name:e.name||t&&e.__name}function Tb(e){return ye(e)&&"__vccOpts"in e}const oe=(e,t)=>u1(e,t,ni);function t3(e,t,n=Ve){const r=Vt(),s=Qt(t),o=lr(t),i=Mu((l,c)=>{let u;return B1(()=>{const f=e[t];gn(u,f)&&(u=f,c())}),{get(){return l(),n.get?n.get(u):u},set(f){const d=r.vnode.props;!(d&&(t in d||s in d||o in d)&&(`onUpdate:${t}`in d||`onUpdate:${s}`in d||`onUpdate:${o}`in d))&&gn(f,u)&&(u=f,c()),r.emit(`update:${t}`,n.set?n.set(f):f)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return i[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?e[a]||{}:i,done:!1}:{done:!0}}}},i}function et(e,t,n){const r=arguments.length;return r===2?He(t)&&!fe(t)?vs(t)?K(e,null,[t]):K(e,t):K(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&vs(n)&&(n=[n]),K(e,t,n))}const Hg="3.4.23";/**
|
|
20
|
-
* @vue/runtime-dom v3.4.23
|
|
21
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
|
-
* @license MIT
|
|
23
|
-
**/const Rb="http://www.w3.org/2000/svg",Pb="http://www.w3.org/1998/Math/MathML",qn=typeof document<"u"?document:null,md=qn&&qn.createElement("template"),$b={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"?qn.createElementNS(Rb,e):t==="mathml"?qn.createElementNS(Pb,e):qn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>qn.createTextNode(e),createComment:e=>qn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>qn.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{md.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=md.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]}},jn="transition",Fs="animation",ys=Symbol("_vtc"),tl=(e,{slots:t})=>et(H1,Vg(e),t);tl.displayName="Transition";const Ug={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},Ob=tl.props=Xe({},dg,Ug),mr=(e,t=[])=>{fe(e)?e.forEach(n=>n(...t)):e&&e(...t)},gd=e=>e?fe(e)?e.some(t=>t.length>1):e.length>1:!1;function Vg(e){const t={};for(const A in e)A in Ug||(t[A]=e[A]);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:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=kb(s),g=p&&p[0],m=p&&p[1],{onBeforeEnter:v,onEnter:_,onEnterCancelled:y,onLeave:b,onLeaveCancelled:E,onBeforeAppear:C=v,onAppear:k=_,onAppearCancelled:O=y}=t,D=(A,S,T)=>{Hn(A,S?u:a),Hn(A,S?c:i),T&&T()},P=(A,S)=>{A._isLeaving=!1,Hn(A,f),Hn(A,h),Hn(A,d),S&&S()},L=A=>(S,T)=>{const B=A?k:_,R=()=>D(S,A,T);mr(B,[S,R]),vd(()=>{Hn(S,A?l:o),Sn(S,A?u:a),gd(B)||yd(S,r,g,R)})};return Xe(t,{onBeforeEnter(A){mr(v,[A]),Sn(A,o),Sn(A,i)},onBeforeAppear(A){mr(C,[A]),Sn(A,l),Sn(A,c)},onEnter:L(!1),onAppear:L(!0),onLeave(A,S){A._isLeaving=!0;const T=()=>P(A,S);Sn(A,f),Wg(),Sn(A,d),vd(()=>{A._isLeaving&&(Hn(A,f),Sn(A,h),gd(b)||yd(A,r,m,T))}),mr(b,[A,T])},onEnterCancelled(A){D(A,!1),mr(y,[A])},onAppearCancelled(A){D(A,!0),mr(O,[A])},onLeaveCancelled(A){P(A),mr(E,[A])}})}function kb(e){if(e==null)return null;if(He(e))return[Il(e.enter),Il(e.leave)];{const t=Il(e);return[t,t]}}function Il(e){return Lm(e)}function Sn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ys]||(e[ys]=new Set)).add(t)}function Hn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ys];n&&(n.delete(t),n.size||(e[ys]=void 0))}function vd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Nb=0;function yd(e,t,n,r){const s=e._endId=++Nb,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Gg(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),o()},d=h=>{h.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function Gg(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),s=r(`${jn}Delay`),o=r(`${jn}Duration`),i=_d(s,o),a=r(`${Fs}Delay`),l=r(`${Fs}Duration`),c=_d(a,l);let u=null,f=0,d=0;t===jn?i>0&&(u=jn,f=i,d=o.length):t===Fs?c>0&&(u=Fs,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?jn:Fs:null,d=u?u===jn?o.length:l.length:0);const h=u===jn&&/\b(transform|all)(,|$)/.test(r(`${jn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function _d(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>bd(n)+bd(e[r])))}function bd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Wg(){return document.body.offsetHeight}function Ib(e,t,n){const r=e[ys];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ua=Symbol("_vod"),Kg=Symbol("_vsh"),Tc={beforeMount(e,{value:t},{transition:n}){e[ua]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Bs(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),Bs(e,!0),r.enter(e)):r.leave(e,()=>{Bs(e,!1)}):Bs(e,t))},beforeUnmount(e,{value:t}){Bs(e,t)}};function Bs(e,t){e.style.display=t?e[ua]:"none",e[Kg]=!t}const Lb=Symbol(""),Db=/(^|;)\s*display\s*:/;function Mb(e,t,n){const r=e.style,s=Ke(n);let o=!1;if(n&&!s){if(t)if(Ke(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Gi(r,a,"")}else for(const i in t)n[i]==null&&Gi(r,i,"");for(const i in n)i==="display"&&(o=!0),Gi(r,i,n[i])}else if(s){if(t!==n){const i=r[Lb];i&&(n+=";"+i),r.cssText=n,o=Db.test(n)}}else t&&e.removeAttribute("style");ua in e&&(e[ua]=o?r.display:"",e[Kg]&&(r.display="none"))}const wd=/\s*!important$/;function Gi(e,t,n){if(fe(n))n.forEach(r=>Gi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Fb(e,t);wd.test(n)?e.setProperty(lr(r),n.replace(wd,""),"important"):e[r]=n}}const Ed=["Webkit","Moz","ms"],Ll={};function Fb(e,t){const n=Ll[t];if(n)return n;let r=Qt(t);if(r!=="filter"&&r in e)return Ll[t]=r;r=Ua(r);for(let s=0;s<Ed.length;s++){const o=Ed[s]+r;if(o in e)return Ll[t]=o}return t}const Sd="http://www.w3.org/1999/xlink";function Bb(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Sd,t.slice(6,t.length)):e.setAttributeNS(Sd,t,n);else{const o=B_(t);n==null||o&&!Mm(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function jb(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Mm(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Tn(e,t,n,r){e.addEventListener(t,n,r)}function zb(e,t,n,r){e.removeEventListener(t,n,r)}const xd=Symbol("_vei");function Hb(e,t,n,r,s=null){const o=e[xd]||(e[xd]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=Ub(t);if(r){const c=o[t]=Wb(r,s);Tn(e,a,c,l)}else i&&(zb(e,a,i,l),o[t]=void 0)}}const Cd=/(?:Once|Passive|Capture)$/;function Ub(e){let t;if(Cd.test(e)){t={};let r;for(;r=e.match(Cd);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):lr(e.slice(2)),t]}let Dl=0;const Vb=Promise.resolve(),Gb=()=>Dl||(Vb.then(()=>Dl=0),Dl=Date.now());function Wb(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ht(Kb(r,n.value),t,5,[r])};return n.value=e,n.attached=Gb(),n}function Kb(e,t){if(fe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Ad=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qb=(e,t,n,r,s,o,i,a,l)=>{const c=s==="svg";t==="class"?Ib(e,r,c):t==="style"?Mb(e,n,r):Qo(t)?Su(t)||Hb(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yb(e,t,r,c))?jb(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Bb(e,t,r,c))};function Yb(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ad(t)&&ye(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Ad(t)&&Ke(n)?!1:t in e}const qg=new WeakMap,Yg=new WeakMap,fa=Symbol("_moveCb"),Td=Symbol("_enterCb"),Xg={name:"TransitionGroup",props:Xe({},Ob,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Vt(),r=fg();let s,o;return Gu(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!tw(s[0].el,n.vnode.el,i))return;s.forEach(Jb),s.forEach(Qb);const a=s.filter(ew);Wg(),a.forEach(l=>{const c=l.el,u=c.style;Sn(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[fa]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[fa]=null,Hn(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=$e(e),a=Vg(i);let l=i.tag||Le;if(s=[],o)for(let c=0;c<o.length;c++){const u=o[c];u.el&&u.el instanceof Element&&(s.push(u),ps(u,Bo(u,a,r,n)),qg.set(u,u.el.getBoundingClientRect()))}o=t.default?Vu(t.default()):[];for(let c=0;c<o.length;c++){const u=o[c];u.key!=null&&ps(u,Bo(u,a,r,n))}return K(l,null,o)}}},Xb=e=>delete e.mode;Xg.props;const Zb=Xg;function Jb(e){const t=e.el;t[fa]&&t[fa](),t[Td]&&t[Td]()}function Qb(e){Yg.set(e,e.el.getBoundingClientRect())}function ew(e){const t=qg.get(e),n=Yg.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function tw(e,t,n){const r=e.cloneNode(),s=e[ys];s&&s.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=Gg(r);return o.removeChild(r),i}const ir=e=>{const t=e.props["onUpdate:modelValue"]||!1;return fe(t)?n=>ns(t,n):t};function nw(e){e.target.composing=!0}function Rd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ut=Symbol("_assign"),Pd={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Ut]=ir(s);const o=r||s.props&&s.props.type==="number";Tn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Qi(a)),e[Ut](a)}),n&&Tn(e,"change",()=>{e.value=e.value.trim()}),t||(Tn(e,"compositionstart",nw),Tn(e,"compositionend",Rd),Tn(e,"change",Rd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e[Ut]=ir(o),e.composing)return;const i=(s||e.type==="number")&&!/^0\d/.test(e.value)?Qi(e.value):e.value,a=t??"";i!==a&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===a)||(e.value=a))}},rw={deep:!0,created(e,t,n){e[Ut]=ir(n),Tn(e,"change",()=>{const r=e._modelValue,s=_s(e),o=e.checked,i=e[Ut];if(fe(r)){const a=Ru(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const c=[...r];c.splice(a,1),i(c)}}else if(xs(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Zg(e,o))})},mounted:$d,beforeUpdate(e,t,n){e[Ut]=ir(n),$d(e,t,n)}};function $d(e,{value:t,oldValue:n},r){e._modelValue=t,fe(t)?e.checked=Ru(t,r.props.value)>-1:xs(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Ir(t,Zg(e,!0)))}const sw={created(e,{value:t},n){e.checked=Ir(t,n.props.value),e[Ut]=ir(n),Tn(e,"change",()=>{e[Ut](_s(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Ut]=ir(r),t!==n&&(e.checked=Ir(t,r.props.value))}},ow={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=xs(t);Tn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Qi(_s(i)):_s(i));e[Ut](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,Lt(()=>{e._assigning=!1})}),e[Ut]=ir(r)},mounted(e,{value:t,modifiers:{number:n}}){Od(e,t)},beforeUpdate(e,t,n){e[Ut]=ir(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Od(e,t)}};function Od(e,t,n){const r=e.multiple,s=fe(t);if(!(r&&!s&&!xs(t))){for(let o=0,i=e.options.length;o<i;o++){const a=e.options[o],l=_s(a);if(r)if(s){const c=typeof l;c==="string"||c==="number"?a.selected=t.some(u=>String(u)===String(l)):a.selected=Ru(t,l)>-1}else a.selected=t.has(l);else if(Ir(_s(a),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function _s(e){return"_value"in e?e._value:e.value}function Zg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const iw={created(e,t,n){xi(e,t,n,null,"created")},mounted(e,t,n){xi(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){xi(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){xi(e,t,n,r,"updated")}};function aw(e,t){switch(e){case"SELECT":return ow;case"TEXTAREA":return Pd;default:switch(t){case"checkbox":return rw;case"radio":return sw;default:return Pd}}}function xi(e,t,n,r,s){const i=aw(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const lw=["ctrl","shift","alt","meta"],cw={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)=>lw.some(n=>e[`${n}Key`]&&!t.includes(n))},uw=(e,t)=>{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=cw[t[i]];if(a&&a(s,t))return}return e(s,...o)})},fw={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Jg=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=lr(s.key);if(t.some(i=>i===o||fw[i]===o))return e(s)})},Qg=Xe({patchProp:qb},$b);let xo,kd=!1;function dw(){return xo||(xo=hb(Qg))}function hw(){return xo=kd?xo:pb(Qg),kd=!0,xo}const e0=(...e)=>{const t=dw().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=n0(r);if(!s)return;const o=t._component;!ye(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,t0(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},pw=(...e)=>{const t=hw().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=n0(r);if(s)return n(s,!0,t0(s))},t};function t0(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function n0(e){return Ke(e)?document.querySelector(e):e}const mw=/"(?:_|\\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*:/,gw=/"(?: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*:/,vw=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function yw(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){_w(e);return}return t}function _w(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function da(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!vw.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(mw.test(e)||gw.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,yw)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const bw=/#/g,ww=/&/g,Ew=/\//g,Sw=/=/g,Xu=/\+/g,xw=/%5e/gi,Cw=/%60/gi,Aw=/%7c/gi,Tw=/%20/gi;function Rw(e){return encodeURI(""+e).replace(Aw,"|")}function Rc(e){return Rw(typeof e=="string"?e:JSON.stringify(e)).replace(Xu,"%2B").replace(Tw,"+").replace(bw,"%23").replace(ww,"%26").replace(Cw,"`").replace(xw,"^").replace(Ew,"%2F")}function Ml(e){return Rc(e).replace(Sw,"%3D")}function ha(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Pw(e){return ha(e.replace(Xu," "))}function $w(e){return ha(e.replace(Xu," "))}function r0(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=Pw(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=$w(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 Ow(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ml(e)}=${Rc(n)}`).join("&"):`${Ml(e)}=${Rc(t)}`:Ml(e)}function kw(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Ow(t,e[t])).filter(Boolean).join("&")}const Nw=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Iw=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Lw=/^([/\\]\s*){2,}[^/\\]/,Dw=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Mw=/\/$|\/\?|\/#/,Fw=/^\.?\//;function Mn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Nw.test(e):Iw.test(e)||(t.acceptRelative?Lw.test(e):!1)}function Bw(e){return!!e&&Dw.test(e)}function Pc(e="",t){return t?Mw.test(e):e.endsWith("/")}function nl(e="",t){if(!t)return(Pc(e)?e.slice(0,-1):e)||"/";if(!Pc(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s>=0&&(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 pa(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Pc(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s>=0&&(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 jw(e=""){return e.startsWith("/")}function Nd(e=""){return jw(e)?e:"/"+e}function zw(e,t){if(o0(t)||Mn(e))return e;const n=nl(t);return e.startsWith(n)?e:rl(n,e)}function Id(e,t){if(o0(t))return e;const n=nl(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function s0(e,t){const n=ri(e),r={...r0(n.search),...t};return n.search=kw(r),Vw(n)}function o0(e){return!e||e==="/"}function Hw(e){return e&&e!=="/"}function rl(e,...t){let n=e||"";for(const r of t.filter(s=>Hw(s)))if(n){const s=r.replace(Fw,"");n=pa(n)+s}else n=r;return n}function i0(...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&&Mn(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 Uw(e,t,n={}){return n.trailingSlash||(e=pa(e),t=pa(t)),n.leadingSlash||(e=Nd(e),t=Nd(t)),n.encoding||(e=ha(e),t=ha(t)),e===t}const a0=Symbol.for("ufo:protocolRelative");function ri(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(!Mn(e,{acceptRelative:!0}))return t?ri(t+e):Ld(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:c,hash:u}=Ld(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:c,hash:u,[a0]:!r}}function Ld(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Vw(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[a0]?(e.protocol||"")+"//":"")+s+o+t+n+r}class Gw extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function Ww(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 Gw(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,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[c]}});return a}const Kw=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Dd(e="GET"){return Kw.has(e.toUpperCase())}function qw(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?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Yw=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Xw=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Zw(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Xw.test(t)?"json":Yw.has(t)||t.startsWith("text/")?"text":"blob"}function Jw(e,t,n=globalThis.Headers){const r={...t,...e};if(t?.params&&e?.params&&(r.params={...t?.params,...e?.params}),t?.query&&e?.query&&(r.query={...t?.query,...e?.query}),t?.headers&&e?.headers){r.headers=new n(t?.headers||{});for(const[s,o]of new n(e?.headers||{}))r.headers.set(s,o)}return r}const Qw=new Set([408,409,425,429,500,502,503,504]),eE=new Set([101,204,205,304]);function l0(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 u;typeof a.options.retry=="number"?u=a.options.retry:u=Dd(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Qw.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),o(a.request,{...a.options,retry:u-1})}}const c=Ww(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const u={request:l,options:Jw(c,e.defaults,n),response:void 0,error:void 0};u.options.method=u.options.method?.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=zw(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=s0(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Dd(u.options.method)&&(qw(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const h=new r;f=setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await s(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!eE.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||Zw(u.response.headers.get("content-type")||"");switch(h){case"json":{const p=await u.response.text(),g=u.options.parseResponse||da;u.response._data=g(p);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await s(u)):u.response},i=async function(l,c){return(await o(l,c))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={})=>l0({...e,defaults:{...e.defaults,...a}}),i}const Zu=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")}(),tE=Zu.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),nE=Zu.Headers,rE=Zu.AbortController,sE=l0({fetch:tE,Headers:nE,AbortController:rE}),oE=sE,iE=()=>window?.__NUXT__?.config||{},ma=iE().app,aE=()=>ma.baseURL,lE=()=>ma.buildAssetsDir,Ju=(...e)=>i0(c0(),lE(),...e),c0=(...e)=>{const t=ma.cdnURL||ma.baseURL;return e.length?i0(t,...e):t};globalThis.__buildAssetsURL=Ju,globalThis.__publicAssetsURL=c0;globalThis.$fetch||(globalThis.$fetch=oE.create({baseURL:aE()}));function $c(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?$c(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const cE={run:e=>e()},uE=()=>cE,u0=typeof console.createTask<"u"?console.createTask:uE;function fE(e,t){const n=t.shift(),r=u0(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function dE(e,t){const n=t.shift(),r=u0(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Fl(e,t){for(const n of[...e])n(t)}class hE{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=$c(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=$c(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(fE,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(dE,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Fl(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Fl(this._after,s)}):(this._after&&s&&Fl(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 sl(){return new hE}function pE(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&&t===void 0){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},c=()=>t===i?l:void 0;Oc.add(c);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{Oc.delete(c)}}}}function mE(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=pE({...e,...r})),t[n],t[n]}}}const ga=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Md="__unctx__",gE=ga[Md]||(ga[Md]=mE()),vE=(e,t={})=>gE.get(e,t),Fd="__unctx_async_handlers__",Oc=ga[Fd]||(ga[Fd]=new Set);function zo(e){const t=[];for(const s of Oc){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 f0=vE("nuxt-app",{asyncContext:!1}),yE="__nuxt_plugin";function _E(e){let t=0;const n={_scope:z_(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:Pt({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>n._scope.run(()=>EE(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:{},_payloadRevivers:{},...e};n.hooks=sl(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Ci(n,i,o),Ci(n.vueApp.config.globalProperties,i,o)},Ci(n.vueApp,"$nuxt",n),Ci(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||Ne;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}async function bE(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),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 wE(e,t){const n=[],r=[],s=[],o=[];let i=0;async function a(l){const c=l.dependsOn?.filter(u=>t.some(f=>f._name===u)&&!n.includes(u))??[];if(c.length>0)r.push([new Set(c),l]);else{const u=bE(e,l).then(async()=>{l._name&&(n.push(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)))})))});l.parallel?s.push(u.catch(f=>o.push(f))):await u}}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.length)throw o[0]}function Gt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[yE]:!0,_name:t})}function EE(e,t,n){const r=()=>n?t(...n):t();return f0.set(e),e.vueApp.runWithContext(r)}function SE(){let e;return Sg()&&(e=Vt()?.appContext.app.$nuxt),e=e||f0.tryUse(),e||null}function Ne(){const e=SE();if(!e)throw new Error("[nuxt] instance unavailable");return e}function ol(e){return Ne().$config}function Ci(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Bd=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function kc(e,t){t?t={...Bd,...t}:t=Bd;const n=d0(t);return n.dispatch(e),n.toString()}const xE=Object.freeze(["prototype","__proto__","constructor"]);function d0(e){let t="",n=new Map;const r=s=>{t+=s};return{toString(){return t},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this[s===null?"null":typeof s](s)},object(s){if(s&&typeof s.toJSON=="function")return this.object(s.toJSON());const o=Object.prototype.toString.call(s);let i="";const a=o.length;a<10?i="unknown:["+o+"]":i=o.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](s):e.ignoreUnknown||this.unkown(s,i);else{let c=Object.keys(s);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!jd(s)&&(u=xE),e.excludeKeys&&(c=c.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(c.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(s[d]),r(",")};for(const d of c)f(d);for(const d of u)f(d)}},array(s,o){if(o=o===void 0?e.unorderedArrays!==!1:o,r("array:"+s.length+":"),!o||s.length<=1){for(const l of s)this.dispatch(l);return}const i=new Map,a=s.map(l=>{const c=d0(e);c.dispatch(l);for(const[u,f]of c.getContext())i.set(u,f);return c.toString()});return n=i,a.sort(),this.array(a,!1)},date(s){return r("date:"+s.toJSON())},symbol(s){return r("symbol:"+s.toString())},unkown(s,o){if(r(o),!!s&&(r(":"),s&&typeof s.entries=="function"))return this.array(Array.from(s.entries()),!0)},error(s){return r("error:"+s.toString())},boolean(s){return r("bool:"+s)},string(s){r("string:"+s.length+":"),r(s)},function(s){r("fn:"),jd(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this.object(s)},number(s){return r("number:"+s)},xml(s){return r("xml:"+s.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(s){return r("regex:"+s.toString())},uint8array(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},uint8clampedarray(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},int8array(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},uint16array(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},int16array(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},uint32array(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},int32array(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},float32array(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},float64array(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},arraybuffer(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},url(s){return r("url:"+s.toString())},map(s){r("map:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},set(s){r("set:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},file(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported
|
|
24
|
-
Use "options.replacer" or "options.ignoreUnknown"
|
|
25
|
-
`)},domwindow(){return r("domwindow")},bigint(s){return r("bigint:"+s.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const h0="[native code] }",CE=h0.length;function jd(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-CE)===h0}class nr{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||AE).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new nr([...this.words])}}const AE={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},TE={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const s=e.words[r>>>2]>>>24-r%4*8&255,o=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=s<<16|o<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(a>>>6*(3-l)&63))}return n.join("")}},RE={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new nr(n,t)}},PE={parse(e){return RE.parse(unescape(encodeURIComponent(e)))}};class $E{constructor(){this._data=new nr,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new nr,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=PE.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*this.blockSize,o=Math.min(s*4,this._data.sigBytes);if(s){for(let i=0;i<s;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,s),this._data.sigBytes-=o}return new nr(n,o)}}class OE extends $E{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const zd=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],kE=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],gr=[];class NE extends OE{constructor(){super(...arguments),this._hash=new nr([...zd])}reset(){super.reset(),this._hash=new nr([...zd])}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],l=r[4],c=r[5],u=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)gr[d]=t[n+d]|0;else{const y=gr[d-15],b=(y<<25|y>>>7)^(y<<14|y>>>18)^y>>>3,E=gr[d-2],C=(E<<15|E>>>17)^(E<<13|E>>>19)^E>>>10;gr[d]=b+gr[d-7]+C+gr[d-16]}const h=l&c^~l&u,p=s&o^s&i^o&i,g=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),m=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),v=f+m+h+kE[d]+gr[d],_=g+p;f=u,u=c,c=l,l=a+v|0,a=i,i=o,o=s,s=v+_|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function IE(e){return new NE().finalize(e).toString(TE)}function LE(e,t={}){const n=typeof e=="string"?e:kc(e,t);return IE(n).slice(0,10)}function n3(e,t,n={}){return e===t||kc(e,n)===kc(t,n)}function DE(e,t){return{ctx:{table:e},matchAll:n=>m0(n,e,t)}}function p0(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,p0(s)])):new Map(Object.entries(e[n]));return t}function ME(e){return DE(p0(e))}function m0(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of Hd(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of Hd(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...m0(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function Hd(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Bl(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 Nc(e,t,n=".",r){if(!Bl(t))return Nc(e,{},n,r);const s=Object.assign({},t);for(const o in 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]]:Bl(i)&&Bl(s[o])?s[o]=Nc(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function g0(e){return(...t)=>t.reduce((n,r)=>Nc(n,r,"",e),{})}const v0=g0(),FE=g0((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function BE(e,t){try{return t in e}catch{return!1}}var jE=Object.defineProperty,zE=(e,t,n)=>t in e?jE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_r=(e,t,n)=>(zE(e,typeof t!="symbol"?t+"":t,n),n);class Ic extends Error{constructor(t,n={}){super(t,n),_r(this,"statusCode",500),_r(this,"fatal",!1),_r(this,"unhandled",!1),_r(this,"statusMessage"),_r(this,"data"),_r(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Dc(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=y0(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}_r(Ic,"__h3_error__",!0);function Lc(e){if(typeof e=="string")return new Ic(e);if(HE(e))return e;const t=new Ic(e.message??e.statusMessage??"",{cause:e.cause||e});if(BE(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=Dc(e.statusCode,t.statusCode):e.status&&(t.statusCode=Dc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;y0(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 HE(e){return e?.constructor?.__h3_error__===!0}const UE=/[^\u0009\u0020-\u007E]/g;function y0(e=""){return e.replace(UE,"")}function Dc(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const _0=Symbol("layout-meta"),si=Symbol("route"),rt=()=>Ne()?.$router,Rs=()=>Sg()?wt(si,Ne()._route):Ne()._route;const VE=()=>{try{if(Ne()._processingMiddleware)return!0}catch{return!1}return!1},Mc=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:s0(e.path||"/",e.query||{})+(e.hash||"");if(t?.open){const{target:a="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");return open(n,a,c),Promise.resolve()}const r=t?.external||Mn(n,{acceptRelative:!0});if(r){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=ri(n).protocol;if(a&&Bw(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const s=VE();if(!r&&s)return e;const o=rt(),i=Ne();return r?(i._scope.stop(),t?.replace?location.replace(n):location.href=n,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?o.replace(e):o.push(e)},b0="__nuxt_error",il=()=>Wa(Ne().payload,"error"),Jr=e=>{const t=oi(e);try{const n=Ne(),r=il();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},GE=async(e={})=>{const t=Ne(),n=il();t.callHook("app:error:cleared",e),e.redirect&&await rt().replace(e.redirect),n.value=null},WE=e=>!!e&&typeof e=="object"&&b0 in e,oi=e=>{const t=Lc(e);return Object.defineProperty(t,b0,{value:!0,configurable:!1,writable:!1}),t},KE="modulepreload",qE=function(e,t){return e[0]==="."?new URL(e,t).href:e},Ud={},YE=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=i?.nonce||i?.getAttribute("nonce");s=Promise.all(n.map(l=>{if(l=qE(l,r),l in Ud)return;Ud[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let h=o.length-1;h>=0;h--){const p=o[h];if(p.href===l&&(!c||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":KE,c||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((h,p)=>{d.addEventListener("load",h),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},ve=(...e)=>YE(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),XE=-1,ZE=-2,JE=-3,QE=-4,eS=-5,tS=-6;function nS(e,t){return rS(JSON.parse(e),t)}function rS(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===XE)return;if(o===JE)return NaN;if(o===QE)return 1/0;if(o===eS)return-1/0;if(o===tS)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t?.[l];if(c)return r[o]=c(s(a[1]));switch(l){case"Date":r[o]=new Date(a[1]);break;case"Set":const u=new Set;r[o]=u;for(let h=1;h<a.length;h+=1)u.add(s(a[h]));break;case"Map":const f=new Map;r[o]=f;for(let h=1;h<a.length;h+=2)f.set(s(a[h]),s(a[h+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[o]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=s(a[h+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[o]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==ZE&&(l[c]=s(u))}}else{const l={};r[o]=l;for(const c in a){const u=a[c];l[c]=s(u)}}return r[o]}return s(0)}function sS(e){return Array.isArray(e)?e:[e]}const oS=["title","titleTemplate","script","style","noscript"],Wi=["base","meta","link","style","script","noscript"],iS=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],aS=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],w0=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],lS=typeof window<"u";function Qu(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Vd(e){return e._h||Qu(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function E0(e,t){const{props:n,tag:r}=e;if(aS.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}function Gd(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function cS(e,t,n){const r={tag:e,props:await S0(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return w0.forEach(s=>{const o=typeof r.props[s]<"u"?r.props[s]:n[s];typeof o<"u"&&((!["innerHTML","textContent","children"].includes(s)||oS.includes(r.tag))&&(r[s==="children"?"innerHTML":s]=o),delete r.props[s])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),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 uS(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,s])=>e==="style"?`${r}:${s}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function S0(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=uS(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!w0.includes(n)){const r=String(e[n]),s=n.startsWith("data-");r==="true"||r===""?e[n]=s?"true":!0:e[n]||(s&&r==="false"?e[n]="false":delete e[n])}}return e}const fS=10;async function dS(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&iS.includes(n)).forEach(([n,r])=>{const s=sS(r);t.push(...s.map(o=>cS(n,o,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<fS)+r,n))}const Wd={base:-10,title:10},Kd={critical:-80,high:-10,low:20};function va(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in Wd&&(t=Wd[e.tag]),typeof n=="string"&&n in Kd?t+Kd[n]:t)}const hS=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],qd=["onload","onerror","onabort","onprogress","onloadstart"],zn="%separator";function Ki(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(i){let a;return["s","pageTitle"].includes(i)?a=t.pageTitle:i.includes(".")?a=i.split(".").reduce((l,c)=>l&&l[c]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let s=e;try{s=decodeURI(e)}catch{}return(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())}),e.includes(zn)&&(e.endsWith(zn)&&(e=e.slice(0,-zn.length).trim()),e.startsWith(zn)&&(e=e.slice(zn.length).trim()),e=e.replace(new RegExp(`\\${zn}\\s*\\${zn}`,"g"),zn),e=Ki(e,{separator:n},n)),e}async function x0(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;const s=(await e.resolveTags()).map(u=>({tag:u,id:Wi.includes(u.tag)?Vd(u):u.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const u of["body","head"]){const f=n[u]?.children,d=[];for(const h of[...f].filter(p=>Wi.includes(p.tagName.toLowerCase()))){const p={tag:h.tagName.toLowerCase(),props:await S0(h.getAttributeNames().reduce((v,_)=>({...v,[_]:h.getAttribute(_)}),{})),innerHTML:h.innerHTML};let g=1,m=E0(p);for(;m&&d.find(v=>v._d===m);)m=`${m}:${g++}`;p._d=m||void 0,d.push(p),o.elMap[h.getAttribute("data-hid")||Vd(p)]=h}}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function i(u,f,d){const h=`${u}:${f}`;o.sideEffects[h]=d,delete o.pendingSideEffects[h]}function a({id:u,$el:f,tag:d}){const h=d.tag.endsWith("Attrs");o.elMap[u]=f,h||(["textContent","innerHTML"].forEach(p=>{d[p]&&d[p]!==f[p]&&(f[p]=d[p])}),i(u,"el",()=>{o.elMap[u]?.remove(),delete o.elMap[u]}));for(const[p,g]of Object.entries(d._eventHandlers||{}))f.getAttribute(`data-${p}`)!==""&&((d.tag==="bodyAttrs"?n.defaultView:f).addEventListener(p.replace("on",""),g.bind(f)),f.setAttribute(`data-${p}`,""));Object.entries(d.props).forEach(([p,g])=>{const m=`attr:${p}`;if(p==="class")for(const v of(g||"").split(" ").filter(Boolean))h&&i(u,`${m}:${v}`,()=>f.classList.remove(v)),!f.classList.contains(v)&&f.classList.add(v);else if(p==="style")for(const v of(g||"").split(";").filter(Boolean)){const[_,...y]=v.split(":").map(b=>b.trim());i(u,`${m}:${v}:${_}`,()=>{f.style.removeProperty(_)}),f.style.setProperty(_,y.join(":"))}else f.getAttribute(p)!==g&&f.setAttribute(p,g===!0?"":String(g)),h&&i(u,m,()=>f.removeAttribute(p))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const u of s){const{tag:f,shouldRender:d,id:h}=u;if(d){if(f.tag==="title"){n.title=f.textContent;continue}u.$el=u.$el||o.elMap[h],u.$el?a(u):Wi.includes(f.tag)&&l.push(u)}}for(const u of l){const f=u.tag.tagPosition||"head";u.$el=n.createElement(u.tag.tag),a(u),c[f]=c[f]||n.createDocumentFragment(),c[f].appendChild(u.$el)}for(const u of s)await e.hooks.callHook("dom:renderTag",u,n,i);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(o.pendingSideEffects).forEach(u=>u()),e._dom=o,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:s})}async function pS(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await x0(e,t),delete e._domUpdatePromise,r()}))}function mS(e){return t=>{const n=t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(r){pS(r,e)}}}}}const gS=["templateParams","htmlAttrs","bodyAttrs"],vS={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=E0(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,o=t[s];if(o){let a=r?.tagDuplicateStrategy;if(!a&&gS.includes(r.tag)&&(a="merge"),a==="merge"){const l=o.props;["class","style"].forEach(c=>{l[c]&&(r.props[c]?(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[c]}`):r.props[c]=l[c])}),t[s].props={...l,...r.props};return}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);return}else if(va(r)>va(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Wi.includes(r.tag)&&i===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},yS={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},_S=["script","link","bodyAttrs"],bS=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>_S.includes(r.tag)))Object.entries(n.props).forEach(([r,s])=>{r.startsWith("on")&&typeof s=="function"&&(e.ssr&&qd.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=s)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Qu(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){for(const r of Object.keys(t?.dataset||{}).filter(s=>qd.some(o=>`${o}fired`===s))){const s=r.replace("fired","");n._eventHandlers?.[s]?.call(t,new Event(s.replace("on","")))}}}}),wS=["link","style","script","noscript"],ES={hooks:{"tag:normalise":({tag:e})=>{e.key&&wS.includes(e.tag)&&(e.props["data-hid"]=e._h=Qu(e.key))}}},SS={hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const{prefix:n,offset:r}of hS)for(const s of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=t(s.tagPriority.replace(n,""));typeof o<"u"&&(s._p=o+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>va(n)-va(r))}}},xS={meta:"content",link:"href",htmlAttrs:"lang"},CS=e=>({hooks:{"tags:resolve":t=>{const{tags:n}=t,r=n.find(a=>a.tag==="title")?.textContent,s=n.findIndex(a=>a.tag==="templateParams"),o=s!==-1?n[s].props:{},i=o.separator||"|";delete o.separator,o.pageTitle=Ki(o.pageTitle||r||"",o,i);for(const a of n.filter(l=>l.processTemplateParams!==!1)){const l=xS[a.tag];l&&typeof a.props[l]=="string"?a.props[l]=Ki(a.props[l],o,i):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(c=>{typeof a[c]=="string"&&(a[c]=Ki(a[c],o,i))})}e._templateParams=o,e._separator=i,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),AS={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=Gd(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=Gd(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},TS={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let C0;function RS(e={}){const t=PS(e);return t.use(mS()),C0=t}function Yd(e,t){return!e||e==="server"&&t||e==="client"&&!t}function PS(e={}){const t=sl();t.addHooks(e.hooks||{}),e.document=e.document||(lS?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let s=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),Yd(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){delete c?.head;const u={_i:s++,input:l,...c};return Yd(u.mode,n)&&(o.push(u),r()),{dispose(){o=o.filter(f=>f._i!==u._i),t.callHook("entries:updated",a),r()},patch(f){o=o.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...o]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await dS(c)){const d={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[vS,yS,bS,ES,SS,CS,AS,TS,...e?.plugins||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function $S(){return C0}const OS=Hg.startsWith("3");function kS(e){return typeof e=="function"?e():j(e)}function ya(e,t=""){if(e instanceof Promise)return e;const n=kS(e);return!e||!n?n:Array.isArray(n)?n.map(r=>ya(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,j(s)]:[r,ya(s,r)])):n}const NS={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=ya(t.input)}}},A0="usehead";function IS(e){return{install(n){OS&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(A0,e))}}.install}function LS(e={}){e.domDelayFn=e.domDelayFn||(n=>Lt(()=>setTimeout(()=>n(),0)));const t=RS(e);return t.use(NS),t.install=IS(t),t}const Fc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Bc="__unhead_injection_handler__";function DS(e){Fc[Bc]=e}function MS(){if(Bc in Fc)return Fc[Bc]();const e=wt(A0);return e||$S()}function FS(e,t={}){const n=t.head||MS();if(n)return n.ssr?n.push(e,t):BS(n,e,t)}function BS(e,t,n={}){const r=U(!1),s=U({});Lr(()=>{s.value=r.value?{}:ya(t)});const o=e.push(s.value,n);return De(s,a=>{o.patch(a)}),Vt()&&(ti(()=>{o.dispose()}),mg(()=>{r.value=!0}),pg(()=>{r.value=!1})),o}const jS={fixture1:"from app.config.ts"},zS={fixture2:"from nuxt.config.ts",nuxt:{buildId:"99d3dbae-7b79-44d1-9122-56d8f78db12b"}},HS=FE(jS,zS);function T0(){const e=Ne();return e._appConfig||(e._appConfig=Pt(HS)),e._appConfig}const US=!1,jc=!1,VS=!1,GS={componentName:"NuxtLink"},WS={deep:!0},KS={},qS="#__nuxt";let qi,R0;function YS(){const e=T0().nuxt?.buildId;return qi=$fetch(Ju(`builds/meta/${e}.json`)),qi.then(t=>{R0=ME(t.matcher)}),qi}function al(){return qi||YS()}async function ef(e){return await al(),v0({},...R0.matchAll(e).reverse())}function Xd(e,t={}){const n=ZS(e,t),r=Ne(),s=r._payloadCache=r._payloadCache||{};return n in s||(s[n]=JS(e).then(o=>o?P0(n).then(i=>i||(delete s[n],null)):(s[n]=null,null))),s[n]}const XS="_payload.json";function ZS(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Mn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():T0().nuxt?.buildId);return rl(ol().app.baseURL,n.pathname,XS+(r?`?${r}`:""))}async function P0(e){const t=fetch(e).then(n=>n.text().then($0));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function JS(e=Rs().path){if(e=nl(e),(await al()).prerendered.includes(e))return!0;const n=await ef(e);return!!n.prerender&&!n.redirect}let Ai=null;async function QS(){if(Ai)return Ai;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await $0(e.textContent||""),n=e.dataset.src?await P0(e.dataset.src):void 0;return Ai={...t,...n,...window.__NUXT__},Ai}async function $0(e){return await nS(e,Ne()._payloadRevivers)}function ex(e,t){Ne()._payloadRevivers[e]=t}const Zd={NuxtError:e=>oi(e),EmptyShallowRef:e=>en(e==="_"?void 0:e==="0n"?BigInt(0):da(e)),EmptyRef:e=>U(e==="_"?void 0:e==="0n"?BigInt(0):da(e)),ShallowRef:e=>en(e),ShallowReactive:e=>As(e),Ref:e=>U(e),Reactive:e=>Pt(e)},tx=Gt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Zd)ex(r,Zd[r]);Object.assign(e.payload,([t,n]=zo(()=>e.runWithContext(QS)),t=await t,n(),t)),window.__NUXT__=e.payload}}),nx=[],rx=Gt({name:"nuxt:head",enforce:"pre",setup(e){const t=LS({plugins:nx});DS(()=>Ne().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await x0(t)};t.hooks.hook("dom:beforeRender",s=>{s.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)}}});/*!
|
|
26
|
-
* vue-router v4.3.2
|
|
27
|
-
* (c) 2024 Eduardo San Martin Morote
|
|
28
|
-
* @license MIT
|
|
29
|
-
*/const Xr=typeof document<"u";function sx(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const je=Object.assign;function jl(e,t){const n={};for(const r in t){const s=t[r];n[r]=tn(s)?s.map(e):e(s)}return n}const Co=()=>{},tn=Array.isArray,O0=/#/g,ox=/&/g,ix=/\//g,ax=/=/g,lx=/\?/g,k0=/\+/g,cx=/%5B/g,ux=/%5D/g,N0=/%5E/g,fx=/%60/g,I0=/%7B/g,dx=/%7C/g,L0=/%7D/g,hx=/%20/g;function tf(e){return encodeURI(""+e).replace(dx,"|").replace(cx,"[").replace(ux,"]")}function px(e){return tf(e).replace(I0,"{").replace(L0,"}").replace(N0,"^")}function zc(e){return tf(e).replace(k0,"%2B").replace(hx,"+").replace(O0,"%23").replace(ox,"%26").replace(fx,"`").replace(I0,"{").replace(L0,"}").replace(N0,"^")}function mx(e){return zc(e).replace(ax,"%3D")}function gx(e){return tf(e).replace(O0,"%23").replace(lx,"%3F")}function vx(e){return e==null?"":gx(e).replace(ix,"%2F")}function Ho(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const yx=/\/$/,_x=e=>e.replace(yx,"");function zl(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Sx(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:Ho(i)}}function bx(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Jd(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function wx(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&bs(t.matched[r],n.matched[s])&&D0(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function bs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function D0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ex(e[n],t[n]))return!1;return!0}function Ex(e,t){return tn(e)?Qd(e,t):tn(t)?Qd(t,e):e===t}function Qd(e,t){return tn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Sx(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("/")}var Uo;(function(e){e.pop="pop",e.push="push"})(Uo||(Uo={}));var Ao;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ao||(Ao={}));function xx(e){if(!e)if(Xr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),_x(e)}const Cx=/^[^#]+#/;function Ax(e,t){return e.replace(Cx,"#")+t}function Tx(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 ll=()=>({left:window.scrollX,top:window.scrollY});function Rx(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=Tx(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 eh(e,t){return(history.state?history.state.position-t:-1)+e}const Hc=new Map;function Px(e,t){Hc.set(e,t)}function $x(e){const t=Hc.get(e);return Hc.delete(e),t}let Ox=()=>location.protocol+"//"+location.host;function M0(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Jd(l,"")}return Jd(n,e)+r+s}function kx(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const h=M0(e,location),p=n.value,g=t.value;let m=0;if(d){if(n.value=h,t.value=d,i&&i===p){i=null;return}m=g?d.position-g.position:0}else r(h);s.forEach(v=>{v(n.value,p,{delta:m,type:Uo.pop,direction:m?m>0?Ao.forward:Ao.back:Ao.unknown})})};function l(){i=n.value}function c(d){s.push(d);const h=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return o.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(je({},d.state,{scroll:ll()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function th(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ll():null}}function Nx(e){const{history:t,location:n}=window,r={value:M0(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,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Ox()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function i(l,c){const u=je({},t.state,th(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,u,!0),r.value=l}function a(l,c){const u=je({},s.value,t.state,{forward:l,scroll:ll()});o(u.current,u,!0);const f=je({},th(r.value,l,null),{position:u.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function F0(e){e=xx(e);const t=Nx(e),n=kx(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=je({location:"",base:e,go:r,createHref:Ax.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}function Ix(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),F0(e)}function Lx(e){return typeof e=="string"||e&&typeof e=="object"}function B0(e){return typeof e=="string"||typeof e=="symbol"}const qt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},j0=Symbol("");var nh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(nh||(nh={}));function ws(e,t){return je(new Error,{type:e,[j0]:!0},t)}function bn(e,t){return e instanceof Error&&j0 in e&&(t==null||!!(e.type&t))}const rh="[^/]+?",Dx={sensitive:!1,strict:!1,start:!0,end:!0},Mx=/[.+*?^${}()[\]/\\]/g;function Fx(e,t){const n=je({},Dx,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(Mx,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:g,optional:m,regexp:v}=d;o.push({name:p,repeatable:g,optional:m});const _=v||rh;if(_!==rh){h+=10;try{new RegExp(`(${_})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${p}" (${_}): `+b.message)}}let y=g?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(y=m&&c.length<2?`(?:/${y})`:"/"+y),m&&(y+="?"),s+=y,h+=20,m&&(h+=-8),g&&(h+=-20),_===".*"&&(h+=-50)}u.push(h)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",p=o[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:g,optional:m}=h,v=p in c?c[p]:"";if(tn(v)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const _=tn(v)?v.join("/"):v;if(!_)if(m)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=_}}return u||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function Bx(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function jx(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=Bx(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(sh(r))return 1;if(sh(s))return-1}return s.length-r.length}function sh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const zx={type:0,value:""},Hx=/[a-zA-Z0-9_]/;function Ux(e){if(!e)return[[]];if(e==="/")return[[zx]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),i()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:Hx.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),s}function Vx(e,t,n){const r=Fx(Ux(e.path),n),s=je(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Gx(e,t){const n=[],r=new Map;t=ah({strict:!1,end:!0,sensitive:!1},t);function s(u){return r.get(u)}function o(u,f,d){const h=!d,p=Wx(u);p.aliasOf=d&&d.record;const g=ah(t,u),m=[p];if("alias"in u){const y=typeof u.alias=="string"?[u.alias]:u.alias;for(const b of y)m.push(je({},p,{components:d?d.record.components:p.components,path:b,aliasOf:d?d.record:p}))}let v,_;for(const y of m){const{path:b}=y;if(f&&b[0]!=="/"){const E=f.record.path,C=E[E.length-1]==="/"?"":"/";y.path=f.record.path+(b&&C+b)}if(v=Vx(y,f,g),d?d.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),h&&u.name&&!ih(v)&&i(u.name)),p.children){const E=p.children;for(let C=0;C<E.length;C++)o(E[C],v,d&&d.children[C])}d=d||v,(v.record.components&&Object.keys(v.record.components).length||v.record.name||v.record.redirect)&&l(v)}return _?()=>{i(_)}:Co}function i(u){if(B0(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let f=0;for(;f<n.length&&jx(u,n[f])>=0&&(u.record.path!==n[f].record.path||!z0(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!ih(u)&&r.set(u.record.name,u)}function c(u,f){let d,h={},p,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw ws(1,{location:u});g=d.record.name,h=je(oh(f.params,d.keys.filter(_=>!_.optional).concat(d.parent?d.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),u.params&&oh(u.params,d.keys.map(_=>_.name))),p=d.stringify(h)}else if(u.path!=null)p=u.path,d=n.find(_=>_.re.test(p)),d&&(h=d.parse(p),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(_=>_.re.test(f.path)),!d)throw ws(1,{location:u,currentLocation:f});g=d.record.name,h=je({},f.params,u.params),p=d.stringify(h)}const m=[];let v=d;for(;v;)m.unshift(v.record),v=v.parent;return{name:g,path:p,params:h,matched:m,meta:qx(m)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function oh(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Wx(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Kx(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Kx(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 ih(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function qx(e){return e.reduce((t,n)=>je(t,n.meta),{})}function ah(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function z0(e,t){return t.children.some(n=>n===e||z0(e,n))}function Yx(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(k0," "),i=o.indexOf("="),a=Ho(i<0?o:o.slice(0,i)),l=i<0?null:Ho(o.slice(i+1));if(a in t){let c=t[a];tn(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function lh(e){let t="";for(let n in e){const r=e[n];if(n=mx(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(tn(r)?r.map(o=>o&&zc(o)):[r&&zc(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Xx(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=tn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Zx=Symbol(""),ch=Symbol(""),nf=Symbol(""),rf=Symbol(""),Uc=Symbol("");function js(){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 Yn(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(ws(4,{from:n,to:t})):d instanceof Error?l(d):Lx(d)?l(ws(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},u=o(()=>e.call(r&&r.instances[s],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function Hl(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(Jx(l)){const u=(l.__vccOpts||l)[t];u&&o.push(Yn(u,n,r,i,a,s))}else{let c=l();o.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=sx(u)?u.default:u;i.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&Yn(h,n,r,i,a,s)()}))}}return o}function Jx(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function uh(e){const t=wt(nf),n=wt(rf),r=oe(()=>{const l=j(e.to);return t.resolve(l)}),s=oe(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(bs.bind(null,u));if(d>-1)return d;const h=fh(l[c-2]);return c>1&&fh(u)===h&&f[f.length-1].path!==h?f.findIndex(bs.bind(null,l[c-2])):d}),o=oe(()=>s.value>-1&&nC(n.params,r.value.params)),i=oe(()=>s.value>-1&&s.value===n.matched.length-1&&D0(n.params,r.value.params));function a(l={}){return tC(l)?t[j(e.replace)?"replace":"push"](j(e.to)).catch(Co):Promise.resolve()}return{route:r,href:oe(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const Qx=Ae({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:uh,setup(e,{slots:t}){const n=Pt(uh(e)),{options:r}=wt(nf),s=oe(()=>({[dh(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[dh(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:et("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),eC=Qx;function tC(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 nC(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(!tn(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function fh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const dh=(e,t,n)=>e??t??n,rC=Ae({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=wt(Uc),s=oe(()=>e.route||r.value),o=wt(ch,0),i=oe(()=>{let c=j(o);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=oe(()=>s.value.matched[i.value]);tr(ch,oe(()=>i.value+1)),tr(Zx,a),tr(Uc,s);const l=U();return De(()=>[l.value,a.value,e.name],([c,u,f],[d,h,p])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!bs(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return hh(n.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,m=et(d,je({},p,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return hh(n.default,{Component:m,route:c})||m}}});function hh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const H0=rC;function sC(e){const t=Gx(e.routes,e),n=e.parseQuery||Yx,r=e.stringifyQuery||lh,s=e.history,o=js(),i=js(),a=js(),l=en(qt);let c=qt;Xr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=jl.bind(null,F=>""+F),f=jl.bind(null,vx),d=jl.bind(null,Ho);function h(F,se){let ee,ce;return B0(F)?(ee=t.getRecordMatcher(F),ce=se):ce=F,t.addRoute(ce,ee)}function p(F){const se=t.getRecordMatcher(F);se&&t.removeRoute(se)}function g(){return t.getRoutes().map(F=>F.record)}function m(F){return!!t.getRecordMatcher(F)}function v(F,se){if(se=je({},se||l.value),typeof F=="string"){const x=zl(n,F,se.path),N=t.resolve({path:x.path},se),z=s.createHref(x.fullPath);return je(x,N,{params:d(N.params),hash:Ho(x.hash),redirectedFrom:void 0,href:z})}let ee;if(F.path!=null)ee=je({},F,{path:zl(n,F.path,se.path).path});else{const x=je({},F.params);for(const N in x)x[N]==null&&delete x[N];ee=je({},F,{params:f(x)}),se.params=f(se.params)}const ce=t.resolve(ee,se),Ie=F.hash||"";ce.params=u(d(ce.params));const Fe=bx(r,je({},F,{hash:px(Ie),path:ce.path})),w=s.createHref(Fe);return je({fullPath:Fe,hash:Ie,query:r===lh?Xx(F.query):F.query||{}},ce,{redirectedFrom:void 0,href:w})}function _(F){return typeof F=="string"?zl(n,F,l.value.path):je({},F)}function y(F,se){if(c!==F)return ws(8,{from:se,to:F})}function b(F){return k(F)}function E(F){return b(je(_(F),{replace:!0}))}function C(F){const se=F.matched[F.matched.length-1];if(se&&se.redirect){const{redirect:ee}=se;let ce=typeof ee=="function"?ee(F):ee;return typeof ce=="string"&&(ce=ce.includes("?")||ce.includes("#")?ce=_(ce):{path:ce},ce.params={}),je({query:F.query,hash:F.hash,params:ce.path!=null?{}:F.params},ce)}}function k(F,se){const ee=c=v(F),ce=l.value,Ie=F.state,Fe=F.force,w=F.replace===!0,x=C(ee);if(x)return k(je(_(x),{state:typeof x=="object"?je({},Ie,x.state):Ie,force:Fe,replace:w}),se||ee);const N=ee;N.redirectedFrom=se;let z;return!Fe&&wx(r,ce,ee)&&(z=ws(16,{to:N,from:ce}),ie(ce,ce,!0,!1)),(z?Promise.resolve(z):P(N,ce)).catch(M=>bn(M)?bn(M,2)?M:ae(M):I(M,N,ce)).then(M=>{if(M){if(bn(M,2))return k(je({replace:w},_(M.to),{state:typeof M.to=="object"?je({},Ie,M.to.state):Ie,force:Fe}),se||N)}else M=A(N,ce,!0,w,Ie);return L(N,ce,M),M})}function O(F,se){const ee=y(F,se);return ee?Promise.reject(ee):Promise.resolve()}function D(F){const se=Ce.values().next().value;return se&&typeof se.runWithContext=="function"?se.runWithContext(F):F()}function P(F,se){let ee;const[ce,Ie,Fe]=oC(F,se);ee=Hl(ce.reverse(),"beforeRouteLeave",F,se);for(const x of ce)x.leaveGuards.forEach(N=>{ee.push(Yn(N,F,se))});const w=O.bind(null,F,se);return ee.push(w),Ge(ee).then(()=>{ee=[];for(const x of o.list())ee.push(Yn(x,F,se));return ee.push(w),Ge(ee)}).then(()=>{ee=Hl(Ie,"beforeRouteUpdate",F,se);for(const x of Ie)x.updateGuards.forEach(N=>{ee.push(Yn(N,F,se))});return ee.push(w),Ge(ee)}).then(()=>{ee=[];for(const x of Fe)if(x.beforeEnter)if(tn(x.beforeEnter))for(const N of x.beforeEnter)ee.push(Yn(N,F,se));else ee.push(Yn(x.beforeEnter,F,se));return ee.push(w),Ge(ee)}).then(()=>(F.matched.forEach(x=>x.enterCallbacks={}),ee=Hl(Fe,"beforeRouteEnter",F,se,D),ee.push(w),Ge(ee))).then(()=>{ee=[];for(const x of i.list())ee.push(Yn(x,F,se));return ee.push(w),Ge(ee)}).catch(x=>bn(x,8)?x:Promise.reject(x))}function L(F,se,ee){a.list().forEach(ce=>D(()=>ce(F,se,ee)))}function A(F,se,ee,ce,Ie){const Fe=y(F,se);if(Fe)return Fe;const w=se===qt,x=Xr?history.state:{};ee&&(ce||w?s.replace(F.fullPath,je({scroll:w&&x&&x.scroll},Ie)):s.push(F.fullPath,Ie)),l.value=F,ie(F,se,ee,w),ae()}let S;function T(){S||(S=s.listen((F,se,ee)=>{if(!qe.listening)return;const ce=v(F),Ie=C(ce);if(Ie){k(je(Ie,{replace:!0}),ce).catch(Co);return}c=ce;const Fe=l.value;Xr&&Px(eh(Fe.fullPath,ee.delta),ll()),P(ce,Fe).catch(w=>bn(w,12)?w:bn(w,2)?(k(w.to,ce).then(x=>{bn(x,20)&&!ee.delta&&ee.type===Uo.pop&&s.go(-1,!1)}).catch(Co),Promise.reject()):(ee.delta&&s.go(-ee.delta,!1),I(w,ce,Fe))).then(w=>{w=w||A(ce,Fe,!1),w&&(ee.delta&&!bn(w,8)?s.go(-ee.delta,!1):ee.type===Uo.pop&&bn(w,20)&&s.go(-1,!1)),L(ce,Fe,w)}).catch(Co)}))}let B=js(),R=js(),$;function I(F,se,ee){ae(F);const ce=R.list();return ce.length?ce.forEach(Ie=>Ie(F,se,ee)):console.error(F),Promise.reject(F)}function Z(){return $&&l.value!==qt?Promise.resolve():new Promise((F,se)=>{B.add([F,se])})}function ae(F){return $||($=!F,T(),B.list().forEach(([se,ee])=>F?ee(F):se()),B.reset()),F}function ie(F,se,ee,ce){const{scrollBehavior:Ie}=e;if(!Xr||!Ie)return Promise.resolve();const Fe=!ee&&$x(eh(F.fullPath,0))||(ce||!ee)&&history.state&&history.state.scroll||null;return Lt().then(()=>Ie(F,se,Fe)).then(w=>w&&Rx(w)).catch(w=>I(w,F,se))}const le=F=>s.go(F);let Se;const Ce=new Set,qe={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,hasRoute:m,getRoutes:g,resolve:v,options:e,push:b,replace:E,go:le,back:()=>le(-1),forward:()=>le(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:R.add,isReady:Z,install(F){const se=this;F.component("RouterLink",eC),F.component("RouterView",H0),F.config.globalProperties.$router=se,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>j(l)}),Xr&&!Se&&l.value===qt&&(Se=!0,b(s.location).catch(Ie=>{}));const ee={};for(const Ie in qt)Object.defineProperty(ee,Ie,{get:()=>l.value[Ie],enumerable:!0});F.provide(nf,se),F.provide(rf,As(ee)),F.provide(Uc,l);const ce=F.unmount;Ce.add(F),F.unmount=function(){Ce.delete(F),Ce.size<1&&(c=qt,S&&S(),S=null,l.value=qt,Se=!1,$=!1),ce()}}};function Ge(F){return F.reduce((se,ee)=>se.then(()=>D(ee)),Promise.resolve())}return qe}function oC(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(c=>bs(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>bs(c,l))||s.push(l))}return[n,r,s]}function iC(){return wt(rf)}const aC=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),Vc=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&aC(e.route,n));return typeof r=="function"?r(e.route):r},lC=(e,t)=>({default:()=>e?et(V1,e===!0?{}:e,t):t});function sf(e){return Array.isArray(e)?e:[e]}const zs={layout:"none"},Hs={layout:"none"},Gc=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),cC=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),of=e=>{const t=Ne();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Gc(e)}):Gc(e)},uC=e=>e==="defer"||e===!1;function U0(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const o=Ne(),i=r,a=()=>null,l=()=>o.isHydrating?o.payload.data[n]:o.static.data[n];s.server=s.server??!0,s.default=s.default??a,s.getCachedData=s.getCachedData??l,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0,s.deep=s.deep??WS.deep,s.dedupe=s.dedupe??"cancel";const c=()=>s.getCachedData(n,o)!=null;if(!o._asyncData[n]||!s.immediate){o.payload._errors[n]??=null;const p=s.deep?U:en;o._asyncData[n]={data:p(s.getCachedData(n,o)??s.default()),pending:U(!c()),error:Wa(o.payload._errors,n),status:U("idle")}}const u={...o._asyncData[n]};u.refresh=u.execute=(p={})=>{if(o._asyncDataPromises[n]){if(uC(p.dedupe??s.dedupe))return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((p._initial||o.isHydrating&&p._initial!==!1)&&c())return Promise.resolve(s.getCachedData(n,o));u.pending.value=!0,u.status.value="pending";const g=new Promise((m,v)=>{try{m(i(o))}catch(_){v(_)}}).then(async m=>{if(g.cancelled)return o._asyncDataPromises[n];let v=m;s.transform&&(v=await s.transform(m)),s.pick&&(v=dC(v,s.pick)),o.payload.data[n]=v,u.data.value=v,u.error.value=null,u.status.value="success"}).catch(m=>{if(g.cancelled)return o._asyncDataPromises[n];u.error.value=oi(m),u.data.value=j(s.default()),u.status.value="error"}).finally(()=>{g.cancelled||(u.pending.value=!1,delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=g,o._asyncDataPromises[n]},u.clear=()=>fC(o,n);const f=()=>u.refresh({_initial:!0}),d=s.server!==!1&&o.payload.serverRendered;{const p=Vt();if(p&&!p._nuxtOnBeforeMountCbs){p._nuxtOnBeforeMountCbs=[];const v=p._nuxtOnBeforeMountCbs;vg(()=>{v.forEach(_=>{_()}),v.splice(0,v.length)}),Ja(()=>v.splice(0,v.length))}d&&o.isHydrating&&(u.error.value||c())?(u.pending.value=!1,u.status.value=u.error.value?"error":"success"):p&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?p._nuxtOnBeforeMountCbs.push(f):s.immediate&&f();const g=Va();if(s.watch){const v=De(s.watch,()=>u.refresh());g&&ea(v)}const m=o.hook("app:data:refresh",async v=>{(!v||v.includes(n))&&await u.refresh()});g&&ea(m)}const h=Promise.resolve(o._asyncDataPromises[n]).then(()=>u);return Object.assign(h,u),h}function fC(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=null),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=null,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t].cancelled=!0,e._asyncDataPromises[t]=void 0)}function dC(e,t){const n={};for(const r of t)n[r]=e[r];return n}const hC="$s";function Ps(...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=hC+n,o=Ne(),i=Wa(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(ze(a))return o.payload.state[s]=a,a;i.value=a}return i}function vn(e){return Va()?(ea(e),!0):!1}function pC(e,t){if(typeof Symbol<"u"){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let r=0;return{next:()=>({value:t[r++],done:r>t.length})}}}),n}else return Object.assign([...t],e)}function Ye(e){return typeof e=="function"?e():j(e)}function mC(e){if(!ze(e))return Pt(e);const t=new Proxy({},{get(n,r,s){return j(Reflect.get(e.value,r,s))},set(n,r,s){return ze(e.value[r])&&!ze(s)?e.value[r].value=s:e.value[r]=s,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Pt(t)}function r3(e){return mC(oe(e))}const Mr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const gC=e=>typeof e<"u",vC=e=>e!=null,yC=Object.prototype.toString,_C=e=>yC.call(e)==="[object Object]",rr=()=>{},bC=wC();function wC(){var e,t;return Mr&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function V0(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const G0=e=>e();function W0(e,t={}){let n,r,s=rr;const o=a=>{clearTimeout(a),s(),s=rr};return a=>{const l=Ye(e),c=Ye(t.maxWait);return n&&o(n),l<=0||c!==void 0&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((u,f)=>{s=t.rejectOnCancel?f:u,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,u(a())},l)})}}function EC(e=G0){const t=U(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Hr(t),pause:n,resume:r,eventFilter:s}}function SC(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const xC=/-(\w)/g,CC=SC(e=>e.replace(xC,(t,n)=>n?n.toUpperCase():""));function ph(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function AC(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function TC(e){return Object.entries(e)}function RC(e){return e||Vt()}function PC(...e){if(e.length!==1)return Wa(...e);const t=e[0];return typeof t=="function"?Hr(Mu(()=>({get:t,set:rr}))):U(t)}function $C(e,t=200,n={}){return V0(W0(t,n),e)}function OC(e,t=200,n={}){const r=U(e.value),s=$C(()=>{r.value=e.value},t,n);return De(e,()=>s()),r}function K0(e,t,n={}){const{eventFilter:r=G0,...s}=n;return De(e,V0(r,t),s)}function kC(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:a,isActive:l}=EC(r);return{stop:K0(e,t,{...s,eventFilter:o}),pause:i,resume:a,isActive:l}}function cl(e,t={}){if(!ze(e))return p1(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=Mu(()=>({get(){return e.value[r]},set(s){var o;if((o=Ye(t.replaceRef))!=null?o:!0)if(Array.isArray(e.value)){const a=[...e.value];a[r]=s,e.value=a}else{const a={...e.value,[r]:s};Object.setPrototypeOf(a,Object.getPrototypeOf(e.value)),e.value=a}else e.value[r]=s}}));return n}function $s(e,t=!0,n){RC()?Dn(e,n):t?e():Lt(e)}function Wc(e,t=!1){function n(f,{flush:d="sync",deep:h=!1,timeout:p,throwOnTimeout:g}={}){let m=null;const _=[new Promise(y=>{m=De(e,b=>{f(b)!==t&&(m?.(),y(b))},{flush:d,deep:h,immediate:!0})})];return p!=null&&_.push(ph(p,g).then(()=>Ye(e)).finally(()=>m?.())),Promise.race(_)}function r(f,d){if(!ze(f))return n(b=>b===f,d);const{flush:h="sync",deep:p=!1,timeout:g,throwOnTimeout:m}=d??{};let v=null;const y=[new Promise(b=>{v=De([e,f],([E,C])=>{t!==(E===C)&&(v?.(),b(E))},{flush:h,deep:p,immediate:!0})})];return g!=null&&y.push(ph(g,m).then(()=>Ye(e)).finally(()=>(v?.(),Ye(e)))),Promise.race(y)}function s(f){return n(d=>!!d,f)}function o(f){return r(null,f)}function i(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,d){return n(h=>{const p=Array.from(h);return p.includes(f)||p.includes(Ye(f))},d)}function c(f){return u(1,f)}function u(f=1,d){let h=-1;return n(()=>(h+=1,h>=f),d)}return Array.isArray(Ye(e))?{toMatch:n,toContains:l,changed:c,changedTimes:u,get not(){return Wc(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:u,get not(){return Wc(e,!t)}}}function NC(e){return Wc(e)}const IC=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,LC=/[YMDHhms]o|\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function DC(e,t,n,r){let s=e<12?"AM":"PM";return r&&(s=s.split("").reduce((o,i)=>o+=`${i}.`,"")),n?s.toLowerCase():s}function vr(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function MC(e,t,n={}){var r;const s=e.getFullYear(),o=e.getMonth(),i=e.getDate(),a=e.getHours(),l=e.getMinutes(),c=e.getSeconds(),u=e.getMilliseconds(),f=e.getDay(),d=(r=n.customMeridiem)!=null?r:DC,h={Yo:()=>vr(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>o+1,Mo:()=>vr(o+1),MM:()=>`${o+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(n.locales,{month:"short"}),MMMM:()=>e.toLocaleDateString(n.locales,{month:"long"}),D:()=>String(i),Do:()=>vr(i),DD:()=>`${i}`.padStart(2,"0"),H:()=>String(a),Ho:()=>vr(a),HH:()=>`${a}`.padStart(2,"0"),h:()=>`${a%12||12}`.padStart(1,"0"),ho:()=>vr(a%12||12),hh:()=>`${a%12||12}`.padStart(2,"0"),m:()=>String(l),mo:()=>vr(l),mm:()=>`${l}`.padStart(2,"0"),s:()=>String(c),so:()=>vr(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${u}`.padStart(3,"0"),d:()=>f,dd:()=>e.toLocaleDateString(n.locales,{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(n.locales,{weekday:"short"}),dddd:()=>e.toLocaleDateString(n.locales,{weekday:"long"}),A:()=>d(a,l),AA:()=>d(a,l,!1,!0),a:()=>d(a,l,!0),aa:()=>d(a,l,!0,!0)};return t.replace(LC,(p,g)=>{var m,v;return(v=g??((m=h[p])==null?void 0:m.call(h)))!=null?v:p})}function FC(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const t=e.match(IC);if(t){const n=t[2]-1||0,r=(t[7]||"0").substring(0,3);return new Date(t[1],n,t[3]||1,t[4]||0,t[5]||0,t[6]||0,r)}}return new Date(e)}function s3(e,t="HH:mm:ss",n={}){return oe(()=>MC(FC(Ye(e)),Ye(t),n))}function BC(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let o=null;const i=U(!1);function a(){o&&(clearInterval(o),o=null)}function l(){i.value=!1,a()}function c(){const u=Ye(t);u<=0||(i.value=!0,s&&e(),a(),o=setInterval(e,u))}if(r&&Mr&&c(),ze(t)||typeof t=="function"){const u=De(t,()=>{i.value&&Mr&&c()});vn(u)}return vn(l),{isActive:i,pause:l,resume:c}}function jC(e,t,n={}){const{immediate:r=!0}=n,s=U(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function a(){s.value=!1,i()}function l(...c){i(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...c)},Ye(t))}return r&&(s.value=!0,Mr&&l()),vn(a),{isPending:Hr(s),start:l,stop:a}}function af(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return K0(e,t,{...o,eventFilter:W0(r,{maxWait:s})})}function o3(e,t,n){let r;ze(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:a=rr}=r,l=U(!s),c=i?en(t):U(t);let u=0;return Lr(async f=>{if(!l.value)return;u++;const d=u;let h=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const p=await e(g=>{f(()=>{o&&(o.value=!1),h||g()})});d===u&&(c.value=p)}catch(p){a(p)}finally{o&&d===u&&(o.value=!1),h=!0}}),s?oe(()=>(l.value=!0,c.value)):c}function i3(e={}){const{inheritAttrs:t=!0}=e,n=en(),r=Ae({setup(o,{slots:i}){return()=>{n.value=i.default}}}),s=Ae({inheritAttrs:t,setup(o,{attrs:i,slots:a}){return()=>{var l;n.value;const c=(l=n.value)==null?void 0:l.call(n,{...zC(i),$slots:a});return t&&c?.length===1?c[0]:c}}});return pC({define:r,reuse:s},[r,s])}function zC(e){const t={};for(const n in e)t[CC(n)]=e[n];return t}function lf(e={}){let t=0;const n=U([]);function r(...i){const a=As({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=u=>(a.isResolving=!0,l(u)),a.reject=c}).finally(()=>{a.promise=void 0;const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}),a.promise}function s(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const o=Ae((i,{slots:a})=>{const l=()=>n.value.map(c=>{var u;return et(Le,{key:c.key},(u=a.default)==null?void 0:u.call(a,c))});return e.transition?()=>et(Zb,e.transition,l):l});return o.start=s,o}function pt(e){var t;const n=Ye(e);return(t=n?.$el)!=null?t:n}const St=Mr?window:void 0,HC=Mr?window.document:void 0,q0=Mr?window.navigator:void 0;function Tt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=St):[t,n,r,s]=e,!t)return rr;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(u=>u()),o.length=0},a=(u,f,d,h)=>(u.addEventListener(f,d,h),()=>u.removeEventListener(f,d,h)),l=De(()=>[pt(t),Ye(s)],([u,f])=>{if(i(),!u)return;const d=_C(f)?{...f}:f;o.push(...n.flatMap(h=>r.map(p=>a(u,h,p,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return vn(c),c}let mh=!1;function cf(e,t,n={}){const{window:r=St,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return rr;bC&&!mh&&(mh=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",rr)),r.document.documentElement.addEventListener("click",rr));let a=!0;const l=d=>s.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(p=>p===d.target||d.composedPath().includes(p));{const p=pt(h);return p&&(d.target===p||d.composedPath().includes(p))}}),u=[Tt(r,"click",d=>{const h=pt(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(a=!l(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:o}),Tt(r,"pointerdown",d=>{const h=pt(e);a=!l(d)&&!!(h&&!d.composedPath().includes(h))},{passive:!0}),i&&Tt(r,"blur",d=>{setTimeout(()=>{var h;const p=pt(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!p?.contains(r.document.activeElement)&&t(d)},0)})].filter(Boolean);return()=>u.forEach(d=>d())}function UC(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function VC(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=St,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=UC(t);return Tt(s,o,u=>{u.repeat&&Ye(a)||l(u)&&n(u)},i)}function a3(e,t,n={}){return VC(e,t,{...n,eventName:"keydown"})}function GC(){const e=U(!1),t=Vt();return t&&Dn(()=>{e.value=!0},t),e}function Os(e){const t=GC();return oe(()=>(t.value,!!e()))}function WC(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:s=St}=t,o=U(!1),i=r?1e3/r:null;let a=0,l=null;function c(d){if(!o.value||!s)return;a||(a=d);const h=d-a;if(i&&h<i){l=s.requestAnimationFrame(c);return}a=d,e({delta:h,timestamp:d}),l=s.requestAnimationFrame(c)}function u(){!o.value&&s&&(o.value=!0,a=0,l=s.requestAnimationFrame(c))}function f(){o.value=!1,l!=null&&s&&(s.cancelAnimationFrame(l),l=null)}return n&&u(),vn(f),{isActive:Hr(o),pause:f,resume:u}}function Y0(e,t={}){const{window:n=St}=t,r=Os(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=U(!1),i=c=>{o.value=c.matches},a=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},l=Lr(()=>{r.value&&(a(),s=n.matchMedia(Ye(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return vn(()=>{l(),a(),s=void 0}),o}const gh=["hash","host","hostname","href","pathname","port","protocol","search"];function l3(e={}){const{window:t=St}=e,n=Object.fromEntries(gh.map(o=>[o,U()]));for(const[o,i]of TC(n))De(i,a=>{!t?.location||t.location[o]===a||(t.location[o]=a)});const r=o=>{var i;const{state:a,length:l}=t?.history||{},{origin:c}=t?.location||{};for(const u of gh)n[u].value=(i=t?.location)==null?void 0:i[u];return Pt({trigger:o,state:a,length:l,origin:c,...n})},s=U(r("load"));return t&&(Tt(t,"popstate",()=>s.value=r("popstate"),{passive:!0}),Tt(t,"hashchange",()=>s.value=r("hashchange"),{passive:!0})),s}function vh(e,t={}){const{controls:n=!1,navigator:r=q0}=t,s=Os(()=>r&&"permissions"in r);let o;const i=typeof e=="string"?{name:e}:e,a=U(),l=()=>{o&&(a.value=o.state)},c=AC(async()=>{if(s.value){if(!o)try{o=await r.permissions.query(i),Tt(o,"change",l),l()}catch{a.value="prompt"}return o}});return c(),n?{state:a,isSupported:s,query:c}:a}function KC(e={}){const{navigator:t=q0,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=Os(()=>t&&"clipboard"in t),a=vh("clipboard-read"),l=vh("clipboard-write"),c=oe(()=>i.value||o),u=U(""),f=U(!1),d=jC(()=>f.value=!1,s);function h(){i.value&&v(a.value)?t.clipboard.readText().then(_=>{u.value=_}):u.value=m()}c.value&&n&&Tt(["copy","cut"],h);async function p(_=Ye(r)){c.value&&_!=null&&(i.value&&v(l.value)?await t.clipboard.writeText(_):g(_),u.value=_,f.value=!0,d.start())}function g(_){const y=document.createElement("textarea");y.value=_??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function m(){var _,y,b;return(b=(y=(_=document?.getSelection)==null?void 0:_.call(document))==null?void 0:y.toString())!=null?b:""}function v(_){return _==="granted"||_==="prompt"}return{isSupported:c,text:u,copied:f,copy:p}}function qC(e){return JSON.parse(JSON.stringify(e))}const Ti=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ri="__vueuse_ssr_handlers__",YC=XC();function XC(){return Ri in Ti||(Ti[Ri]=Ti[Ri]||{}),Ti[Ri]}function X0(e,t){return YC[e]||t}function ZC(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const JC={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},yh="vueuse-storage";function uf(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=St,eventFilter:d,onError:h=P=>{console.error(P)},initOnMounted:p}=r,g=(u?en:U)(typeof t=="function"?t():t);if(!n)try{n=X0("getDefaultStorage",()=>{var P;return(P=St)==null?void 0:P.localStorage})()}catch(P){h(P)}if(!n)return g;const m=Ye(t),v=ZC(m),_=(s=r.serializer)!=null?s:JC[v],{pause:y,resume:b}=kC(g,()=>C(g.value),{flush:o,deep:i,eventFilter:d});f&&a&&$s(()=>{Tt(f,"storage",O),Tt(f,yh,D),p&&O()}),p||O();function E(P,L){f&&f.dispatchEvent(new CustomEvent(yh,{detail:{key:e,oldValue:P,newValue:L,storageArea:n}}))}function C(P){try{const L=n.getItem(e);if(P==null)E(L,null),n.removeItem(e);else{const A=_.write(P);L!==A&&(n.setItem(e,A),E(L,A))}}catch(L){h(L)}}function k(P){const L=P?P.newValue:n.getItem(e);if(L==null)return l&&m!=null&&n.setItem(e,_.write(m)),m;if(!P&&c){const A=_.read(L);return typeof c=="function"?c(A,m):v==="object"&&!Array.isArray(A)?{...m,...A}:A}else return typeof L!="string"?L:_.read(L)}function O(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){g.value=m;return}if(!(P&&P.key!==e)){y();try{P?.newValue!==_.write(g.value)&&(g.value=k(P))}catch(L){h(L)}finally{P?Lt(b):b()}}}}function D(P){O(P.detail)}return g}function QC(e){return Y0("(prefers-color-scheme: dark)",e)}function eA(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=St,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},d=QC({window:s}),h=oe(()=>d.value?"dark":"light"),p=l||(i==null?PC(r):uf(i,r,o,{window:s,listenToStorageChanges:a})),g=oe(()=>p.value==="auto"?h.value:p.value),m=X0("updateHTMLAttrs",(b,E,C)=>{const k=typeof b=="string"?s?.document.querySelector(b):pt(b);if(!k)return;let O;if(u&&(O=s.document.createElement("style"),O.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild(O)),E==="class"){const D=C.split(/\s/g);Object.values(f).flatMap(P=>(P||"").split(/\s/g)).filter(Boolean).forEach(P=>{D.includes(P)?k.classList.add(P):k.classList.remove(P)})}else k.setAttribute(E,C);u&&(s.getComputedStyle(O).opacity,document.head.removeChild(O))});function v(b){var E;m(t,n,(E=f[b])!=null?E:b)}function _(b){e.onChanged?e.onChanged(b,v):v(b)}De(g,_,{flush:"post",immediate:!0}),$s(()=>_(g.value));const y=oe({get(){return c?p.value:g.value},set(b){p.value=b}});try{return Object.assign(y,{store:p,system:h,state:g})}catch{return y}}function tA(e,t,n={}){const{window:r=St,...s}=n;let o;const i=Os(()=>r&&"MutationObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},l=oe(()=>{const d=Ye(e),h=(Array.isArray(d)?d:[d]).map(pt).filter(vC);return new Set(h)}),c=De(()=>l.value,d=>{a(),i.value&&r&&d.size&&(o=new MutationObserver(t),d.forEach(h=>o.observe(h,s)))},{immediate:!0,flush:"post"}),u=()=>o?.takeRecords(),f=()=>{a(),c()};return vn(f),{isSupported:i,stop:f,takeRecords:u}}function Z0(e,t,n={}){const{window:r=St,...s}=n;let o;const i=Os(()=>r&&"ResizeObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},l=oe(()=>Array.isArray(e)?e.map(f=>pt(f)):[pt(e)]),c=De(l,f=>{if(a(),i.value&&r){o=new ResizeObserver(t);for(const d of f)d&&o.observe(d,s)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return vn(u),{isSupported:i,stop:u}}function c3(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=U(0),a=U(0),l=U(0),c=U(0),u=U(0),f=U(0),d=U(0),h=U(0);function p(){const g=pt(e);if(!g){n&&(i.value=0,a.value=0,l.value=0,c.value=0,u.value=0,f.value=0,d.value=0,h.value=0);return}const m=g.getBoundingClientRect();i.value=m.height,a.value=m.bottom,l.value=m.left,c.value=m.right,u.value=m.top,f.value=m.width,d.value=m.x,h.value=m.y}return Z0(e,p),De(()=>pt(e),g=>!g&&p()),tA(e,p,{attributeFilter:["style","class"]}),s&&Tt("scroll",p,{capture:!0,passive:!0}),r&&Tt("resize",p,{passive:!0}),$s(()=>{o&&p()}),{height:i,bottom:a,left:l,right:c,top:u,width:f,x:d,y:h,update:p}}function u3(e,t={width:0,height:0},n={}){const{window:r=St,box:s="content-box"}=n,o=oe(()=>{var f,d;return(d=(f=pt(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),i=U(t.width),a=U(t.height),{stop:l}=Z0(e,([f])=>{const d=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&o.value){const h=pt(e);if(h){const p=r.getComputedStyle(h);i.value=Number.parseFloat(p.width),a.value=Number.parseFloat(p.height)}}else if(d){const h=Array.isArray(d)?d:[d];i.value=h.reduce((p,{inlineSize:g})=>p+g,0),a.value=h.reduce((p,{blockSize:g})=>p+g,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);$s(()=>{const f=pt(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=De(()=>pt(e),f=>{i.value=f?t.width:0,a.value=f?t.height:0});function u(){l(),c()}return{width:i,height:a,stop:u}}function nA(e={}){const{initialValue:t=""}=e,n=Os(()=>typeof window<"u"&&"EyeDropper"in window),r=U(t);async function s(o){if(!n.value)return;const a=await new window.EyeDropper().open(o);return r.value=a.sRGBHex,a}return{isSupported:n,sRGBHex:r,open:s}}function ks(e,t,n={}){const{window:r=St}=n;return uf(e,t,r?.localStorage,n)}function rA(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=U(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?WC(s,{immediate:!0}):BC(s,n,{immediate:!0});return t?{now:r,...o}:r}function sA(e,t,n={}){const{window:r=St}=n;return uf(e,t,r?.sessionStorage,n)}let oA=0;function f3(e,t={}){const n=U(!1),{document:r=HC,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++oA}`}=t,a=U(e);let l=()=>{};const c=()=>{if(!r)return;const f=r.getElementById(i)||r.createElement("style");f.isConnected||(f.id=i,t.media&&(f.media=t.media),r.head.appendChild(f)),!n.value&&(l=De(a,d=>{f.textContent=d},{immediate:!0}),n.value=!0)},u=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&$s(c),o||vn(u),{id:i,css:a,unload:u,load:c,isLoaded:Hr(n)}}const iA=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],aA={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function lA(e){return e.toISOString().slice(0,10)}function d3(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:s,...o}=rA({interval:r,controls:!0}),i=oe(()=>cA(new Date(Ye(e)),t,Ye(s)));return n?{timeAgo:i,...o}:i}function cA(e,t={},n=Date.now()){var r;const{max:s,messages:o=aA,fullDateFormatter:i=lA,units:a=iA,showSecond:l=!1,rounding:c="round"}=t,u=typeof c=="number"?m=>+m.toFixed(c):Math[c],f=+n-+e,d=Math.abs(f);function h(m,v){return u(Math.abs(m)/v.value)}function p(m,v){const _=h(m,v),y=m>0,b=g(v.name,_,y);return g(y?"past":"future",b,y)}function g(m,v,_){const y=o[m];return typeof y=="function"?y(v,_):y.replace("{0}",v.toString())}if(d<6e4&&!l)return o.justNow;if(typeof s=="number"&&d>s)return i(new Date(e));if(typeof s=="string"){const m=(r=a.find(v=>v.name===s))==null?void 0:r.max;if(m&&d>m)return i(new Date(e))}for(const[m,v]of a.entries()){if(h(f,v)<=0&&a[m-1])return p(f,a[m-1]);if(d<v.max)return p(f,v)}return o.invalid}function J0(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,h=Vt(),p=n||h?.emit||((s=h?.$emit)==null?void 0:s.bind(h))||((i=(o=h?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(h?.proxy));let g=c;t||(t="modelValue"),g=g||`update:${t.toString()}`;const m=y=>a?typeof a=="function"?a(y):qC(y):y,v=()=>gC(e[t])?m(e[t]):f,_=y=>{d?d(y)&&p(g,y):p(g,y)};if(l){const y=v(),b=U(y);let E=!1;return De(()=>e[t],C=>{E||(E=!0,b.value=m(C),Lt(()=>E=!1))}),De(b,C=>{!E&&(C!==e[t]||u)&&_(C)},{deep:u}),b}else return oe({get(){return v()},set(y){_(y)}})}function Q0(e={}){const{window:t=St,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=U(n),a=U(r),l=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(l(),$s(l),Tt("resize",l,{passive:!0}),s){const c=Y0("(orientation: portrait)");De(c,()=>l())}return{width:i,height:a}}const ev=()=>Ps("color-mode").value,Kc=U();let _h;function uA(){_h||(_h=(async()=>{const{default:e}=await ve(()=>import("./Blr6EMNg.js"),[],import.meta.url);Kc.value=new e({html:!0,linkify:!0,breaks:!0})})())}function fA(e){return uA(),Kc.value?Kc.value.render(e):e}var Zt;(function(e){e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline"})(Zt||(Zt={}));var Es;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),h=e.getFontStyle(u),p=e.getForeground(u),g=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:h,foreground:p,background:g})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function s(u){return(u&768)>>>8}e.getTokenType=s;function o(u){return(u&1024)!==0}e.containsBalancedBrackets=o;function i(u){return(u&30720)>>>11}e.getFontStyle=i;function a(u){return(u&16744448)>>>15}e.getForeground=a;function l(u){return(u&4278190080)>>>24}e.getBackground=l;function c(u,f,d,h,p,g,m){let v=e.getLanguageId(u),_=e.getTokenType(u),y=e.containsBalancedBrackets(u)?1:0,b=e.getFontStyle(u),E=e.getForeground(u),C=e.getBackground(u);return f!==0&&(v=f),d!==8&&(_=d),h!==null&&(y=h?1:0),p!==-1&&(b=p),g!==0&&(E=g),m!==0&&(C=m),(v<<0|_<<8|y<<10|b<<11|E<<15|C<<24)>>>0}e.set=c})(Es||(Es={}));function _a(e,t){const n=[],r=dA(e);let s=r.next();for(;s!==null;){let l=0;if(s.length===2&&s.charAt(1)===":"){switch(s.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${s} in scope selector`)}s=r.next()}let c=i();if(n.push({matcher:c,priority:l}),s!==",")break;s=r.next()}return n;function o(){if(s==="-"){s=r.next();const l=o();return c=>!!l&&!l(c)}if(s==="("){s=r.next();const l=a();return s===")"&&(s=r.next()),l}if(bh(s)){const l=[];do l.push(s),s=r.next();while(bh(s));return c=>t(l,c)}return null}function i(){const l=[];let c=o();for(;c;)l.push(c),c=o();return u=>l.every(f=>f(u))}function a(){const l=[];let c=i();for(;c&&(l.push(c),s==="|"||s===",");){do s=r.next();while(s==="|"||s===",");c=i()}return u=>l.some(f=>f(u))}}function bh(e){return!!e&&!!e.match(/[\w\.:]+/)}function dA(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function tv(e){typeof e.dispose=="function"&&e.dispose()}function hA(e){return ff(e)}function ff(e){return Array.isArray(e)?pA(e):typeof e=="object"?mA(e):e}function pA(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=ff(e[n]);return t}function mA(e){let t={};for(let n in e)t[n]=ff(e[n]);return t}function nv(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function rv(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?rv(e.substring(0,e.length-1)):e.substr(~t+1)}let Ul=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Pi{static hasCaptures(t){return t===null?!1:(Ul.lastIndex=0,Ul.test(t))}static replaceCaptures(t,n,r){return t.replace(Ul,(s,o,i,a)=>{let l=r[parseInt(o||i,10)];if(l){let c=n.substring(l.start,l.end);for(;c[0]===".";)c=c.substring(1);switch(a){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return s})}}function sv(e,t){return e<t?-1:e>t?1:0}function ov(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let s=0;s<n;s++){let o=sv(e[s],t[s]);if(o!==0)return o}return 0}return n-r}function wh(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function iv(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class av{fn;cache=new Map;constructor(t){this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class Vo{scopeName;constructor(t){this.scopeName=t}toKey(){return this.scopeName}}class gA{scopeName;ruleName;constructor(t,n){this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class vA{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class yA{repo;initialScopeName;seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;constructor(t,n){this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Vo(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new vA;for(const r of t)_A(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof Vo){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function _A(e,t,n,r){const s=n.lookup(e.scopeName);if(!s){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const o=n.lookup(t);e instanceof Vo?Yi({baseGrammar:o,selfGrammar:s},r):qc(e.ruleName,{baseGrammar:o,selfGrammar:s,repository:s.repository},r);const i=n.injections(e.scopeName);if(i)for(const a of i)r.add(new Vo(a))}function qc(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];ba([r],t,n)}}function Yi(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&ba(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&ba(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function ba(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const s=r.repository?nv({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&ba(r.patterns,{...t,repository:s},n);const o=r.include;if(!o)continue;const i=lv(o);switch(i.kind){case 0:Yi({...t,selfGrammar:t.baseGrammar},n);break;case 1:Yi(t,n);break;case 2:qc(i.ruleName,{...t,repository:s},n);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:s};i.kind===4?qc(i.ruleName,l,n):Yi(l,n)}else i.kind===4?n.add(new gA(i.scopeName,i.ruleName)):n.add(new Vo(i.scopeName));break}}}class bA{kind=0}class wA{kind=1}class EA{ruleName;kind=2;constructor(t){this.ruleName=t}}class SA{scopeName;kind=3;constructor(t){this.scopeName=t}}class xA{scopeName;ruleName;kind=4;constructor(t,n){this.scopeName=t,this.ruleName=n}}function lv(e){if(e==="$base")return new bA;if(e==="$self")return new wA;const t=e.indexOf("#");if(t===-1)return new SA(e);if(t===0)return new EA(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new xA(n,r)}}const CA=/\\(\d+)/,Eh=/\\(\d+)/g,AA=-1,cv=-2;class ii{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,n,r,s){this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Pi.hasCaptures(this._name),this._contentName=s||null,this._contentNameIsCapturing=Pi.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${rv(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:Pi.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Pi.replaceCaptures(this._contentName,t,n)}}class TA extends ii{retokenizeCapturedWithRuleId;constructor(t,n,r,s,o){super(t,n,r,s),this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,r,s){throw new Error("Not supported!")}}class RA extends ii{_match;captures;_cachedCompiledPatterns;constructor(t,n,r,s,o){super(t,n,r,null),this._match=new Fr(s,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Go,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Sh extends ii{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,n,r,s,o){super(t,n,r,s),this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const r of this.patterns)t.getRule(r).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Go,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Yc extends ii{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,n,r,s,o,i,a,l,c,u){super(t,n,r,s),this._begin=new Fr(o,this.id),this.beginCaptures=i,this._end=new Fr(a||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t,n).compileAG(t,r,s)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Go;for(const r of this.patterns)t.getRule(r).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}}class wa extends ii{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(t,n,r,s,o,i,a,l,c){super(t,n,r,s),this._begin=new Fr(o,this.id),this.beginCaptures=i,this.whileCaptures=l,this._while=new Fr(a,cv),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Go;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,r,s){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,r,s)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Go,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||""),this._cachedCompiledWhilePatterns}}class it{static createCaptureRule(t,n,r,s,o){return t.registerRule(i=>new TA(n,i,r,s,o))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(s=>{if(t.id=s,t.match)return new RA(t.$vscodeTextmateLocation,t.id,t.name,t.match,it._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=nv({},r,t.repository));let o=t.patterns;return typeof o>"u"&&t.include&&(o=[{include:t.include}]),new Sh(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,it._compilePatterns(o,n,r))}return t.while?new wa(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,it._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,it._compileCaptures(t.whileCaptures||t.captures,n,r),it._compilePatterns(t.patterns,n,r)):new Yc(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,it._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,it._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,it._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let s=[];if(t){let o=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>o&&(o=a)}for(let i=0;i<=o;i++)s[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=it.getCompiledRuleId(t[i],n,r)),s[a]=it.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return s}static _compilePatterns(t,n,r){let s=[];if(t)for(let o=0,i=t.length;o<i;o++){const a=t[o];let l=-1;if(a.include){const c=lv(a.include);switch(c.kind){case 0:case 1:l=it.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=it.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,h=n.getExternalGrammar(f,r);if(h)if(d){let p=h.repository[d];p&&(l=it.getCompiledRuleId(p,n,h.repository))}else l=it.getCompiledRuleId(h.repository.$self,n,h.repository);break}}else l=it.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof Sh||c instanceof Yc||c instanceof wa)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;s.push(l)}}return{patterns:s,hasMissingPatterns:(t?t.length:0)!==s.length}}}class Fr{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t){const r=t.length;let s=0,o=[],i=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(o.push(t.substring(s,a)),o.push("$(?!\\n)(?<!\\n)"),s=a+2):(c==="A"||c==="G")&&(i=!0),a++}this.hasAnchor=i,s===0?this.source=t:(o.push(t.substring(s,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=CA.test(this.source)}clone(){return new Fr(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){let r=n.map(s=>t.substring(s.start,s.end));return Eh.lastIndex=0,this.source.replace(Eh,(s,o)=>iv(r[parseInt(o,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],s=[],o,i,a,l;for(o=0,i=this.source.length;o<i;o++)a=this.source.charAt(o),t[o]=a,n[o]=a,r[o]=a,s[o]=a,a==="\\"&&o+1<i&&(l=this.source.charAt(o+1),l==="A"?(t[o+1]="",n[o+1]="",r[o+1]="A",s[o+1]="A"):l==="G"?(t[o+1]="",n[o+1]="G",r[o+1]="",s[o+1]="G"):(t[o+1]=l,n[o+1]=l,r[o+1]=l,s[o+1]=l),o++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:s.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class Go{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new xh(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let s=this._items.map(o=>o.resolveAnchors(n,r));return new xh(t,s,this._items.map(o=>o.ruleId))}}class xh{regExps;rules;scanner;constructor(t,n,r){this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
|
|
30
|
-
`)}findNextMatchSync(t,n,r){const s=this.scanner.findNextMatchSync(t,n,r);return s?{ruleId:this.rules[s.index],captureIndices:s.captureIndices}:null}}class Ea{_colorMap;_defaults;_root;static createFromRawTheme(t,n){return this.createFromParsedTheme(OA(t),n)}static createFromParsedTheme(t,n){return NA(t,n)}_cachedMatchRoot=new av(t=>this._root.match(t));constructor(t,n,r){this._colorMap=t,this._defaults=n,this._root=r}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const n=t.scopeName,s=this._cachedMatchRoot.get(n).find(o=>PA(t.parent,o.parentScopes));return s?new uv(s.fontStyle,s.foreground,s.background):null}}class Nr{parent;scopeName;static push(t,n){for(const r of n)t=new Nr(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Nr(n,t[r]);return n}constructor(t,n){this.parent=t,this.scopeName=n}push(t){return new Nr(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}}function PA(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if($A(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function $A(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class uv{fontStyle;foregroundId;backgroundId;constructor(t,n,r){this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function OA(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let s=0,o=t.length;s<o;s++){let i=t[s];if(!i.settings)continue;let a;if(typeof i.scope=="string"){let f=i.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(i.scope)?a=i.scope:a=[""];let l=-1;if(typeof i.settings.fontStyle=="string"){l=0;let f=i.settings.fontStyle.split(" ");for(let d=0,h=f.length;d<h;d++)switch(f[d]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof i.settings.foreground=="string"&&wh(i.settings.foreground)&&(c=i.settings.foreground);let u=null;typeof i.settings.background=="string"&&wh(i.settings.background)&&(u=i.settings.background);for(let f=0,d=a.length;f<d;f++){let p=a[f].trim().split(" "),g=p[p.length-1],m=null;p.length>1&&(m=p.slice(0,p.length-1),m.reverse()),n[r++]=new kA(g,m,s,l,c,u)}}return n}class kA{scope;parentScopes;index;fontStyle;foreground;background;constructor(t,n,r,s,o,i){this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=s,this.foreground=o,this.background=i}}function NA(e,t){e.sort((l,c)=>{let u=sv(l.scope,c.scope);return u!==0||(u=ov(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let n=0,r="#000000",s="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(s=l.background)}let o=new IA(t),i=new uv(n,o.getId(r),o.getId(s)),a=new To(new Wo(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let u=e[l];a.insert(0,u.scope,u.parentScopes,u.fontStyle,o.getId(u.foreground),o.getId(u.background))}return new Ea(o,i,a)}class IA{_isFrozen;_lastColorId;_id2color;_color2id;constructor(t){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class Wo{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,s,o){this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=s,this.background=o}clone(){return new Wo(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,s=t.length;r<s;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,s){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),s!==0&&(this.background=s)}}class To{_mainRule;_children;_rulesWithParentScopes;constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,s=n.parentScopes;let o=r===null?0:r.length,i=s===null?0:s.length;if(o===i)for(let a=0;a<o;a++){const l=r[a].length,c=s[a].length;if(l!==c)return c-l}return i-o}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return To._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,s;return n===-1?(r=t,s=""):(r=t.substring(0,n),s=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(s):To._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,s,o,i){if(n===""){this._doInsertHere(t,r,s,o,i);return}let a=n.indexOf("."),l,c;a===-1?(l=n,c=""):(l=n.substring(0,a),c=n.substring(a+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new To(this._mainRule.clone(),Wo.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,r,s,o,i)}_doInsertHere(t,n,r,s,o){if(n===null){this._mainRule.acceptOverwrite(t,r,s,o);return}for(let i=0,a=this._rulesWithParentScopes.length;i<a;i++){let l=this._rulesWithParentScopes[i];if(ov(l.parentScopes,n)===0){l.acceptOverwrite(t,r,s,o);return}}r===-1&&(r=this._mainRule.fontStyle),s===0&&(s=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new Wo(t,n,r,s,o))}}class Vl{languageId;tokenType;constructor(t,n){this.languageId=t,this.tokenType=n}}class Sa{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new Vl(t,8),this._embeddedLanguagesMatcher=new LA(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Sa._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Vl(0,0);_getBasicScopeAttributes=new av(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new Vl(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(Sa.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/}class LA{values;scopesRegExp;constructor(t){if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,s])=>iv(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class Ch{stack;stoppedEarly;constructor(t,n){this.stack=t,this.stoppedEarly=n}}function fv(e,t,n,r,s,o,i,a){const l=t.content.length;let c=!1,u=-1;if(i){const h=DA(e,t,n,r,s,o);s=h.stack,r=h.linePos,n=h.isFirstLine,u=h.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new Ch(s,!0);d()}return new Ch(s,!1);function d(){const h=MA(e,t,n,r,s,u);if(!h){o.produce(s,l),c=!0;return}const p=h.captureIndices,g=h.matchedRuleId,m=p&&p.length>0?p[0].end>r:!1;if(g===AA){const v=s.getRule(e);o.produce(s,p[0].start),s=s.withContentNameScopesList(s.nameScopesList),vo(e,t,n,s,o,v.endCaptures,p),o.produce(s,p[0].end);const _=s;if(s=s.parent,u=_.getAnchorPos(),!m&&_.getEnterPos()===r){s=_,o.produce(s,l),c=!0;return}}else{const v=e.getRule(g);o.produce(s,p[0].start);const _=s,y=v.getName(t.content,p),b=s.contentNameScopesList.pushAttributed(y,e);if(s=s.push(g,r,u,p[0].end===l,null,b,b),v instanceof Yc){const E=v;vo(e,t,n,s,o,E.beginCaptures,p),o.produce(s,p[0].end),u=p[0].end;const C=E.getContentName(t.content,p),k=b.pushAttributed(C,e);if(s=s.withContentNameScopesList(k),E.endHasBackReferences&&(s=s.withEndRule(E.getEndWithResolvedBackReferences(t.content,p))),!m&&_.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),c=!0;return}}else if(v instanceof wa){const E=v;vo(e,t,n,s,o,E.beginCaptures,p),o.produce(s,p[0].end),u=p[0].end;const C=E.getContentName(t.content,p),k=b.pushAttributed(C,e);if(s=s.withContentNameScopesList(k),E.whileHasBackReferences&&(s=s.withEndRule(E.getWhileWithResolvedBackReferences(t.content,p))),!m&&_.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),c=!0;return}}else if(vo(e,t,n,s,o,v.captures,p),o.produce(s,p[0].end),s=s.pop(),!m){s=s.safePop(),o.produce(s,l),c=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function DA(e,t,n,r,s,o){let i=s.beginRuleCapturedEOL?0:-1;const a=[];for(let l=s;l;l=l.pop()){const c=l.getRule(e);c instanceof wa&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=jA(l.rule,e,l.stack.endRule,n,r===i),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==cv){s=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(o.produce(l.stack,f.captureIndices[0].start),vo(e,t,n,l.stack,o,l.rule.whileCaptures,f.captureIndices),o.produce(l.stack,f.captureIndices[0].end),i=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{s=l.stack.pop();break}}return{stack:s,linePos:r,anchorPosition:i,isFirstLine:n}}function MA(e,t,n,r,s,o){const i=FA(e,t,n,r,s,o),a=e.getInjections();if(a.length===0)return i;const l=BA(a,e,t,n,r,s,o);if(!l)return i;if(!i)return l;const c=i.captureIndices[0].start,u=l.captureIndices[0].start;return u<c||l.priorityMatch&&u===c?l:i}function FA(e,t,n,r,s,o){const i=s.getRule(e),{ruleScanner:a,findOptions:l}=dv(i,e,s.endRule,n,r===o),c=a.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function BA(e,t,n,r,s,o,i){let a=Number.MAX_VALUE,l=null,c,u=0;const f=o.contentNameScopesList.getScopeNames();for(let d=0,h=e.length;d<h;d++){const p=e[d];if(!p.matcher(f))continue;const g=t.getRule(p.ruleId),{ruleScanner:m,findOptions:v}=dv(g,t,null,r,s===i),_=m.findNextMatchSync(n,s,v);if(!_)continue;const y=_.captureIndices[0].start;if(!(y>=a)&&(a=y,l=_.captureIndices,c=_.ruleId,u=p.priority,a===s))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function dv(e,t,n,r,s){return{ruleScanner:e.compileAG(t,n,r,s),findOptions:0}}function jA(e,t,n,r,s){return{ruleScanner:e.compileWhileAG(t,n,r,s),findOptions:0}}function vo(e,t,n,r,s,o,i){if(o.length===0)return;const a=t.content,l=Math.min(o.length,i.length),c=[],u=i[0].end;for(let f=0;f<l;f++){const d=o[f];if(d===null)continue;const h=i[f];if(h.length===0)continue;if(h.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=h.start;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?s.produceFromScopes(c[c.length-1].scopes,h.start):s.produce(r,h.start),d.retokenizeCapturedWithRuleId){const g=d.getName(a,i),m=r.contentNameScopesList.pushAttributed(g,e),v=d.getContentName(a,i),_=m.pushAttributed(v,e),y=r.push(d.retokenizeCapturedWithRuleId,h.start,-1,!1,null,m,_),b=e.createOnigString(a.substring(0,h.end));fv(e,b,n&&h.start===0,h.start,y,s,!1,0),tv(b);continue}const p=d.getName(a,i);if(p!==null){const m=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(p,e);c.push(new zA(m,h.end))}}for(;c.length>0;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class zA{scopes;endPos;constructor(t,n){this.scopes=t,this.endPos=n}}function HA(e,t,n,r,s,o,i,a){return new VA(e,t,n,r,s,o,i,a)}function Ah(e,t,n,r,s){const o=_a(t,xa),i=it.getCompiledRuleId(n,r,s.repository);for(const a of o)e.push({debugSelector:t,matcher:a.matcher,ruleId:i,grammar:s,priority:a.priority})}function xa(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let s=n;s<t.length;s++)if(UA(t[s],r))return n=s+1,!0;return!1})}function UA(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}class VA{_rootScopeName;balancedBracketSelectors;_onigLib;_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}constructor(t,n,r,s,o,i,a,l){if(this._rootScopeName=t,this.balancedBracketSelectors=i,this._onigLib=l,this._basicScopeAttributesProvider=new Sa(r,s),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=Th(n,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const c of Object.keys(o)){const u=_a(c,xa);for(const f of u)this._tokenTypeMatchers.push({matcher:f.matcher,type:o[c]})}}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:o=>o===this._rootScopeName?this._grammar:this.getExternalGrammar(o),injections:o=>this._grammarRepository.injections(o)},n=[],r=this._rootScopeName,s=t.lookup(r);if(s){const o=s.injections;if(o)for(let a in o)Ah(n,a,o[a],this,s);const i=this._grammarRepository.injections(r);i&&i.forEach(a=>{const l=this.getExternalGrammar(a);if(l){const c=l.injectionSelector;c&&Ah(n,c,l,this,l)}})}return n.sort((o,i)=>o.priority-i.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const n=++this._lastRuleId,r=t(n);return this._ruleId2desc[n]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,n){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=Th(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const s=this._tokenize(t,n,!1,r);return{tokens:s.lineTokens.getResult(s.ruleStack,s.lineLength),ruleStack:s.ruleStack,stoppedEarly:s.stoppedEarly}}tokenizeLine2(t,n,r=0){const s=this._tokenize(t,n,!0,r);return{tokens:s.lineTokens.getBinaryResult(s.ruleStack,s.lineLength),ruleStack:s.ruleStack,stoppedEarly:s.stoppedEarly}}_tokenize(t,n,r,s){this._rootId===-1&&(this._rootId=it.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!n||n===ln.NULL){o=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=Es.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),h=this.getRule(this._rootId).getName(null,null);let p;h?p=vt.createRootAndLookUpScopeName(h,d,this):p=vt.createRoot("unknown",d),n=new ln(null,this._rootId,-1,-1,!1,null,p,p)}else o=!1,n.reset();t=t+`
|
|
31
|
-
`;const i=this.createOnigString(t),a=i.content.length,l=new WA(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=fv(this,i,o,0,n,l,!0,s);return tv(i),{lineLength:a,lineTokens:l,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function Th(e,t){return e=hA(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}class vt{parent;scopePath;tokenAttributes;static fromExtension(t,n){let r=t,s=t?.scopePath??null;for(const o of n)s=Nr.push(s,o.scopeNames),r=new vt(r,s,o.encodedTokenAttributes);return r}static createRoot(t,n){return new vt(null,new Nr(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const s=r.getMetadataForScope(t),o=new Nr(null,t),i=r.themeProvider.themeMatch(o),a=vt.mergeAttributes(n,s,i);return new vt(null,o,a)}get scopeName(){return this.scopePath.scopeName}constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}toString(){return this.getScopeNames().join(" ")}equals(t){return vt.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let s=-1,o=0,i=0;return r!==null&&(s=r.fontStyle,o=r.foregroundId,i=r.backgroundId),Es.set(t,n.languageId,n.tokenType,null,s,o,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return vt._pushAttributed(this,t,n);const r=t.split(/ /g);let s=this;for(const o of r)s=vt._pushAttributed(s,o,n);return s}static _pushAttributed(t,n,r){const s=r.getMetadataForScope(n),o=t.scopePath.push(n),i=r.themeProvider.themeMatch(o),a=vt.mergeAttributes(t.tokenAttributes,s,i);return new vt(t,o,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}}class ln{parent;ruleId;beginRuleCapturedEOL;endRule;nameScopesList;contentNameScopesList;_stackElementBrand=void 0;static NULL=new ln(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;constructor(t,n,r,s,o,i,a,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=o,this.endRule=i,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=s}equals(t){return t===null?!1:ln._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?vt.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){ln._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,s,o,i,a){return new ln(this,t,n,r,s,o,i,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new ln(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=vt.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new ln(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,vt.fromExtension(r,n.contentNameScopesList))}}class GA{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,n){this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):_a(r,xa).map(s=>s.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>_a(r,xa).map(s=>s.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class WA{balancedBracketSelectors;_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;constructor(t,n,r,s){this.balancedBracketSelectors=s,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let s=t?.tokenAttributes??0,o=!1;if(this.balancedBracketSelectors?.matchesAlways&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=t?.getScopeNames()??[];for(const a of this._tokenTypeOverrides)a.matcher(i)&&(s=Es.set(s,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(i))}if(o&&(s=Es.set(s,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===s){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(s),this._lastTokenEndIndex=n;return}const r=t?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let s=0,o=this._binaryTokens.length;s<o;s++)r[s]=this._binaryTokens[s];return r}}class KA{_onigLibPromise;_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;constructor(t,n){this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,s,o){if(!this._grammars.has(t)){let i=this._rawGrammars.get(t);if(!i)return null;this._grammars.set(t,HA(t,i,n,r,s,o,this,await this._onigLibPromise))}return this._grammars.get(t)}}let qA=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new KA(Ea.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Ea.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new GA(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,s,o){const i=new yA(this._syncRegistry,t);for(;i.Q.length>0;)await Promise.all(i.Q.map(a=>this._loadSingleGrammar(a.scopeName))),i.processQueue();return this._grammarForScopeName(t,n,r,s,o)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,s=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,s)}_grammarForScopeName(t,n=0,r=null,s=null,o=null){return this._syncRegistry.grammarForScopeName(t,n,r,s,o)}};const YA=ln.NULL,ct={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class Cn{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&ct.LANGUAGEID_MASK)>>>ct.LANGUAGEID_OFFSET}static getTokenType(t){return(t&ct.TOKEN_TYPE_MASK)>>>ct.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&ct.FONT_STYLE_MASK)>>>ct.FONT_STYLE_OFFSET}static getForeground(t){return(t&ct.FOREGROUND_MASK)>>>ct.FOREGROUND_OFFSET}static getBackground(t){return(t&ct.BACKGROUND_MASK)>>>ct.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&ct.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,s,o,i){let a=Cn.getLanguageId(t),l=Cn.getTokenType(t),c=Cn.getFontStyle(t),u=Cn.getForeground(t),f=Cn.getBackground(t);const d=Cn.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),s!==Zt.NotSet&&(c=s),o!==0&&(u=o),i!==0&&(f=i),(a<<ct.LANGUAGEID_OFFSET|l<<ct.TOKEN_TYPE_OFFSET|c<<ct.FONT_STYLE_OFFSET|d<<ct.BALANCED_BRACKETS_OFFSET|u<<ct.FOREGROUND_OFFSET|f<<ct.BACKGROUND_OFFSET)>>>0}}function ul(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const s=[];for(let o=0;o<n.length;o+=2){const i=t?n[o]+(n[o+1]||""):n[o];s.push([i,r]),r+=n[o].length,r+=n[o+1]?.length||0}return s}function hv(e){return!e||["plaintext","txt","text","plain"].includes(e)}function XA(e){return e==="ansi"||hv(e)}function pv(e){return e==="none"}function ZA(e){return pv(e)}function mv(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}function JA(e,t){let n=0;const r=[];for(const s of t)s>n&&r.push({...e,content:e.content.slice(n,s),offset:e.offset+n}),n=s;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function QA(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,s)=>r-s);return n.length?e.map(r=>r.flatMap(s=>{const o=n.filter(i=>s.offset<i&&i<s.offset+s.content.length).map(i=>i-s.offset).sort((i,a)=>i-a);return o.length?JA(s,o):s})):e}function Tr(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function gv(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Zt.Italic&&(t["font-style"]="italic"),e.fontStyle&Zt.Bold&&(t["font-weight"]="bold"),e.fontStyle&Zt.Underline&&(t["text-decoration"]="underline")),t}function vv(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function eT(e){const t=ul(e,!0).map(([s])=>s);function n(s){let o=s,i=0;for(const a of t){if(o<a.length)break;o-=a.length,i++}return{line:i,character:o}}function r(s,o){let i=0;for(let a=0;a<s;a++)i+=t[a].length;return i+=o,i}return{lines:t,indexToPos:n,posToIndex:r}}var Rr=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Gl={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function tT(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function Rh(e,t){let n=1;const r=e[t+n++];let s;if(r==="2"){const o=[e[t+n++],e[t+n++],e[t+n]].map(i=>Number.parseInt(i));o.length===3&&!o.some(i=>Number.isNaN(i))&&(s={type:"rgb",rgb:o})}else if(r==="5"){const o=Number.parseInt(e[t+n]);Number.isNaN(o)||(s={type:"table",index:Number(o)})}return[n,s]}function nT(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],s=Number.parseInt(r);if(!Number.isNaN(s))if(s===0)t.push({type:"resetAll"});else if(s<=9)Gl[s]&&t.push({type:"setDecoration",value:Gl[s]});else if(s<=29){const o=Gl[s-20];o&&t.push({type:"resetDecoration",value:o})}else if(s<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Rr[s-30]}});else if(s===38){const[o,i]=Rh(e,n);i&&t.push({type:"setForegroundColor",value:i}),n+=o}else if(s===39)t.push({type:"resetForegroundColor"});else if(s<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Rr[s-40]}});else if(s===48){const[o,i]=Rh(e,n);i&&t.push({type:"setBackgroundColor",value:i}),n+=o}else s===49?t.push({type:"resetBackgroundColor"}):s>=90&&s<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Rr[s-90+8]}}):s>=100&&s<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Rr[s-100+8]}})}return t}function rT(){let e=null,t=null,n=new Set;return{parse(r){const s=[];let o=0;do{const i=tT(r,o),a=i.sequence?r.substring(o,i.startPosition):r.substring(o);if(a.length>0&&s.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const l=nT(i.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}o=i.position}while(o<r.length);return s}}}var sT={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function oT(e=sT){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function s(){if(r)return r;r=[];for(let c=0;c<Rr.length;c++)r.push(t(Rr[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([a[c],a[u],a[f]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}function o(a){return s()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:i}}function iT(e,t,n){const r={...e.colorReplacements,...n?.colorReplacements},s=ul(t),o=oT(Object.fromEntries(Rr.map(a=>[a,e.colors?.[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]))),i=rT();return s.map(a=>i.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?o.value(l.background):e.bg,u=l.foreground?o.value(l.foreground):e.fg):(c=l.foreground?o.value(l.foreground):e.fg,u=l.background?o.value(l.background):void 0),c=Tr(c,r),u=Tr(u,r),l.decorations.has("dim")&&(c=aT(c));let f=Zt.None;return l.decorations.has("bold")&&(f|=Zt.Bold),l.decorations.has("italic")&&(f|=Zt.Italic),l.decorations.has("underline")&&(f|=Zt.Underline),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:f}}))}function aT(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function df(e,t,n={}){const{lang:r="text",theme:s=e.getLoadedThemes()[0]}=n;if(hv(r)||pv(s))return ul(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:o,colorMap:i}=e.setTheme(s);if(r==="ansi")return iT(o,t,n);const a=e.getLanguage(r);return lT(t,a,o,i,n)}function lT(e,t,n,r,s){const o={...n.colorReplacements,...s?.colorReplacements},{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=s,l=ul(e);let c=YA,u=[];const f=[];for(let d=0,h=l.length;d<h;d++){const[p,g]=l[d];if(p===""){u=[],f.push([]);continue}if(i>0&&p.length>=i){u=[],f.push([{content:p,offset:g,color:"",fontStyle:0}]);continue}let m,v,_;s.includeExplanation&&(m=t.tokenizeLine(p,c),v=m.tokens,_=0);const y=t.tokenizeLine2(p,c,a),b=y.tokens.length/2;for(let E=0;E<b;E++){const C=y.tokens[2*E],k=E+1<b?y.tokens[2*E+2]:p.length;if(C===k)continue;const O=y.tokens[2*E+1],D=Tr(r[Cn.getForeground(O)],o),P=Cn.getFontStyle(O),L={content:p.substring(C,k),offset:g+C,color:D,fontStyle:P};if(s.includeExplanation){L.explanation=[];let A=0;for(;C+A<k;){const S=v[_],T=p.substring(S.startIndex,S.endIndex);A+=T.length,L.explanation.push({content:T,scopes:cT(n,S.scopes)}),_+=1}}u.push(L)}f.push(u),u=[],c=y.ruleStack}return f}function cT(e,t){const n=[];for(let r=0,s=t.length;r<s;r++){const o=t.slice(0,r),i=t[r];n[r]={scopeName:i,themeMatches:fT(e,i,o)}}return n}function Ph(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function uT(e,t,n,r){if(!Ph(e,n))return!1;let s=t.length-1,o=r.length-1;for(;s>=0&&o>=0;)Ph(t[s],r[o])&&(s-=1),o-=1;return s===-1}function fT(e,t,n){const r=[];let s=0;for(let o=0,i=e.settings.length;o<i;o++){const a=e.settings[o];let l;if(typeof a.scope=="string")l=a.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(a.scope))l=a.scope;else continue;for(let c=0,u=l.length;c<u;c++){const d=l[c].split(/ /),h=d[d.length-1],p=d.slice(0,d.length-1);uT(h,p,t,n)&&(r[s++]=a,c=u)}}return r}function yv(e,t,n){const r=Object.entries(n.themes).filter(i=>i[1]).map(i=>({color:i[0],theme:i[1]})),s=dT(...r.map(i=>df(e,t,{...n,theme:i.theme})));return s[0].map((i,a)=>i.map((l,c)=>{const u={content:l.content,variants:{},offset:l.offset};return s.forEach((f,d)=>{const{content:h,explanation:p,offset:g,...m}=f[a][c];u.variants[r[d].color]=m}),u}))}function dT(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const s=e.map(l=>l[r]),o=t.map(()=>[]);t.forEach((l,c)=>l.push(o[c]));const i=s.map(()=>0),a=s.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const u=a[c];u.content.length===l?(o[c].push(u),i[c]+=1,a[c]=s[c][i[c]]):(o[c].push({...u,content:u.content.slice(0,l)}),a[c]={...u,content:u.content.slice(l),offset:u.offset+l})}}}return t}class yt extends Error{constructor(t){super(t),this.name="ShikiError"}}function Ca(e,t,n){let r,s,o,i,a;if("themes"in n){const{defaultColor:l="light",cssVariablePrefix:c="--shiki-",colorReplacements:u}=n,f=Object.entries(n.themes).filter(g=>g[1]).map(g=>({color:g[0],theme:g[1]})).sort((g,m)=>g.color===l?-1:m.color===l?1:0);if(f.length===0)throw new yt("`themes` option must not be empty");const d=yv(e,t,n);if(l&&!f.find(g=>g.color===l))throw new yt(`\`themes\` option must contain the defaultColor key \`${l}\``);const h=f.map(g=>e.getTheme(g.theme)),p=f.map(g=>g.color);o=d.map(g=>g.map(m=>hT(m,p,c,l))),s=f.map((g,m)=>(m===0&&l?"":`${c+g.color}:`)+(Tr(h[m].fg,u)||"inherit")).join(";"),r=f.map((g,m)=>(m===0&&l?"":`${c+g.color}-bg:`)+(Tr(h[m].bg,u)||"inherit")).join(";"),i=`shiki-themes ${h.map(g=>g.name).join(" ")}`,a=l?void 0:[s,r].join(";")}else if("theme"in n){const{colorReplacements:l}=n;o=df(e,t,n);const c=e.getTheme(n.theme);r=Tr(c.bg,l),s=Tr(c.fg,l),i=c.name}else throw new yt("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:s,bg:r,themeName:i,rootStyle:a}}function hT(e,t,n,r){const s={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(l=>gv(e.variants[l])),i=new Set(o.flatMap(l=>Object.keys(l))),a=o.reduce((l,c,u)=>{for(const f of i){const d=c[f]||"inherit";if(u===0&&r)l[f]=d;else{const h=f==="color"?"":f==="background-color"?"-bg":`-${f}`,p=n+t[u]+(f==="color"?"":h);l[f]?l[f]+=`;${p}:${d}`:l[f]=`${p}:${d}`}}return l},{});return s.htmlStyle=r?vv(a):Object.values(a).join(";"),s}function pT(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let o=function(a){return typeof a=="number"?{...s.indexToPos(a),offset:a}:{...a,offset:s.posToIndex(a.line,a.character)}};const s=eT(r.source),i=(r.options.decorations||[]).map(a=>({...a,start:o(a.start),end:o(a.end)}));n(i),e.set(r.meta,{decorations:i,converter:s,source:r.source})}return e.get(r.meta)}function n(r){for(let s=0;s<r.length;s++){const o=r[s];if(o.start.offset>o.end.offset)throw new yt(`Invalid decoration range: ${JSON.stringify(o.start)} - ${JSON.stringify(o.end)}`);for(let i=s+1;i<r.length;i++){const a=r[i],l=o.start.offset<a.start.offset&&a.start.offset<o.end.offset,c=o.start.offset<a.end.offset&&a.end.offset<o.end.offset,u=a.start.offset<o.start.offset&&o.start.offset<a.end.offset,f=a.start.offset<o.end.offset&&o.end.offset<a.end.offset;if(l||c||u||f){if(c&&c||u&&f)continue;throw new yt(`Decorations ${JSON.stringify(o.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(r){if(!this.options.decorations?.length)return;const o=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return QA(r,o)},code(r){if(!this.options.decorations?.length)return;const s=t(this),o=Array.from(r.children).filter(f=>f.type==="element"&&f.tagName==="span");if(o.length!==s.converter.lines.length)throw new yt(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${s.converter.lines.length}). Failed to apply decorations.`);function i(f,d,h,p){const g=o[f];let m="",v=-1,_=-1;function y(E){return E.type==="text"?E.value:E.type==="element"?E.children.map(y).join(""):""}if(d===0&&(v=0),h===0&&(_=0),h===Number.POSITIVE_INFINITY&&(_=g.children.length),v===-1||_===-1)for(let E=0;E<g.children.length;E++)m+=y(g.children[E]),v===-1&&m.length===d&&(v=E+1),_===-1&&m.length===h&&(_=E+1);if(v===-1)throw new yt(`Failed to find start index for decoration ${JSON.stringify(p.start)}`);if(_===-1)throw new yt(`Failed to find end index for decoration ${JSON.stringify(p.end)}`);const b=g.children.slice(v,_);if(!p.alwaysWrap&&b.length===g.children.length)l(g,p,"line");else if(!p.alwaysWrap&&b.length===1&&b[0].type==="element")l(b[0],p,"token");else{const E={type:"element",tagName:"span",properties:{},children:b};l(E,p,"wrapper"),g.children.splice(v,b.length,E)}}function a(f,d){o[f]=l(o[f],d,"line")}function l(f,d,h){const p=d.properties||{},g=d.transform||(m=>m);return f.tagName=d.tagName||"span",f.properties={...f.properties,...p,class:f.properties.class},d.properties?.class&&mv(f,d.properties.class),f=g(f,h)||f,f}const c=[],u=s.decorations.sort((f,d)=>d.start.offset-f.start.offset);for(const f of u){const{start:d,end:h}=f;if(d.line===h.line)i(d.line,d.character,h.character,f);else if(d.line<h.line){i(d.line,d.character,Number.POSITIVE_INFINITY,f);for(let p=d.line+1;p<h.line;p++)c.unshift(()=>a(p,f));i(h.line,0,h.character,f)}}c.forEach(f=>f())}}}const mT=[pT()];function Aa(e){return[...e.transformers||[],...mT]}function Ta(e,t,n,r={meta:{},options:n,codeToHast:(s,o)=>Ta(e,s,o),codeToTokens:(s,o)=>Ca(e,s,o)}){let s=t;for(const d of Aa(n))s=d.preprocess?.call(r,s,n)||s;let{tokens:o,fg:i,bg:a,themeName:l,rootStyle:c}=Ca(e,s,n);const{mergeWhitespaces:u=!0}=n;u===!0?o=vT(o):u==="never"&&(o=yT(o));const f={...r,get source(){return s}};for(const d of Aa(n))o=d.tokens?.call(f,o)||o;return gT(o,{...n,fg:i,bg:a,themeName:l,rootStyle:c},f)}function gT(e,t,n){const r=Aa(t),s=[],o={type:"root",children:[]},{structure:i="classic"}=t;let a={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([d])=>!d.startsWith("_")))},children:[]},l={type:"element",tagName:"code",properties:{},children:s};const c=[],u={...n,structure:i,addClassToHast:mv,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return a},get code(){return l},get lines(){return c}};if(e.forEach((d,h)=>{h&&(i==="inline"?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):i==="classic"&&s.push({type:"text",value:`
|
|
32
|
-
`}));let p={type:"element",tagName:"span",properties:{class:"line"},children:[]},g=0;for(const m of d){let v={type:"element",tagName:"span",properties:{},children:[{type:"text",value:m.content}]};const _=m.htmlStyle||vv(gv(m));_&&(v.properties.style=_);for(const y of r)v=y?.span?.call(u,v,h+1,g,p)||v;i==="inline"?o.children.push(v):i==="classic"&&p.children.push(v),g+=m.content.length}if(i==="classic"){for(const m of r)p=m?.line?.call(u,p,h+1)||p;c.push(p),s.push(p)}}),i==="classic"){for(const d of r)l=d?.code?.call(u,l)||l;a.children.push(l);for(const d of r)a=d?.pre?.call(u,a)||a;o.children.push(a)}let f=o;for(const d of r)f=d?.root?.call(u,f)||f;return f}function vT(e){return e.map(t=>{const n=[];let r="",s=0;return t.forEach((o,i)=>{const l=!(o.fontStyle&&o.fontStyle&Zt.Underline);l&&o.content.match(/^\s+$/)&&t[i+1]?(s||(s=o.offset),r+=o.content):r?(l?n.push({...o,offset:s,content:r+o.content}):n.push({content:r,offset:s},o),s=0,r=""):n.push(o)}),n})}function yT(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,s,o,i]=r;if(!s&&!i)return n;const a=[{...n,offset:n.offset+s.length,content:o}];return s&&a.unshift({content:s,offset:n.offset}),i&&a.push({content:i,offset:n.offset+s.length+o.length}),a}))}const _T=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ai{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}ai.prototype.property={};ai.prototype.normal={};ai.prototype.space=null;function _v(e,t){const n={},r={};let s=-1;for(;++s<e.length;)Object.assign(n,e[s].property),Object.assign(r,e[s].normal);return new ai(n,r,t)}function Xc(e){return e.toLowerCase()}class Wt{constructor(t,n){this.property=t,this.attribute=n}}Wt.prototype.space=null;Wt.prototype.boolean=!1;Wt.prototype.booleanish=!1;Wt.prototype.overloadedBoolean=!1;Wt.prototype.number=!1;Wt.prototype.commaSeparated=!1;Wt.prototype.spaceSeparated=!1;Wt.prototype.commaOrSpaceSeparated=!1;Wt.prototype.mustUseProperty=!1;Wt.prototype.defined=!1;let bT=0;const Ee=Ur(),Ze=Ur(),bv=Ur(),G=Ur(),Ue=Ur(),as=Ur(),kt=Ur();function Ur(){return 2**++bT}var Zc=Object.freeze({__proto__:null,boolean:Ee,booleanish:Ze,commaOrSpaceSeparated:kt,commaSeparated:as,number:G,overloadedBoolean:bv,spaceSeparated:Ue});const Wl=Object.keys(Zc);class hf extends Wt{constructor(t,n,r,s){let o=-1;if(super(t,n),$h(this,"space",s),typeof r=="number")for(;++o<Wl.length;){const i=Wl[o];$h(this,Wl[o],(r&Zc[i])===Zc[i])}}}hf.prototype.defined=!0;function $h(e,t,n){n&&(e[t]=n)}const wT={}.hasOwnProperty;function Ns(e){const t={},n={};let r;for(r in e.properties)if(wT.call(e.properties,r)){const s=e.properties[r],o=new hf(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Xc(r)]=r,n[Xc(o.attribute)]=r}return new ai(t,n,e.space)}const wv=Ns({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Ev=Ns({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Sv(e,t){return t in e?e[t]:t}function xv(e,t){return Sv(e,t.toLowerCase())}const Cv=Ns({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:xv,properties:{xmlns:null,xmlnsXLink:null}}),Av=Ns({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ze,ariaAutoComplete:null,ariaBusy:Ze,ariaChecked:Ze,ariaColCount:G,ariaColIndex:G,ariaColSpan:G,ariaControls:Ue,ariaCurrent:null,ariaDescribedBy:Ue,ariaDetails:null,ariaDisabled:Ze,ariaDropEffect:Ue,ariaErrorMessage:null,ariaExpanded:Ze,ariaFlowTo:Ue,ariaGrabbed:Ze,ariaHasPopup:null,ariaHidden:Ze,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ue,ariaLevel:G,ariaLive:null,ariaModal:Ze,ariaMultiLine:Ze,ariaMultiSelectable:Ze,ariaOrientation:null,ariaOwns:Ue,ariaPlaceholder:null,ariaPosInSet:G,ariaPressed:Ze,ariaReadOnly:Ze,ariaRelevant:null,ariaRequired:Ze,ariaRoleDescription:Ue,ariaRowCount:G,ariaRowIndex:G,ariaRowSpan:G,ariaSelected:Ze,ariaSetSize:G,ariaSort:null,ariaValueMax:G,ariaValueMin:G,ariaValueNow:G,ariaValueText:null,role:null}}),ET=Ns({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:xv,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:as,acceptCharset:Ue,accessKey:Ue,action:null,allow:null,allowFullScreen:Ee,allowPaymentRequest:Ee,allowUserMedia:Ee,alt:null,as:null,async:Ee,autoCapitalize:null,autoComplete:Ue,autoFocus:Ee,autoPlay:Ee,blocking:Ue,capture:null,charSet:null,checked:Ee,cite:null,className:Ue,cols:G,colSpan:null,content:null,contentEditable:Ze,controls:Ee,controlsList:Ue,coords:G|as,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ee,defer:Ee,dir:null,dirName:null,disabled:Ee,download:bv,draggable:Ze,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ee,formTarget:null,headers:Ue,height:G,hidden:Ee,high:G,href:null,hrefLang:null,htmlFor:Ue,httpEquiv:Ue,id:null,imageSizes:null,imageSrcSet:null,inert:Ee,inputMode:null,integrity:null,is:null,isMap:Ee,itemId:null,itemProp:Ue,itemRef:Ue,itemScope:Ee,itemType:Ue,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ee,low:G,manifest:null,max:null,maxLength:G,media:null,method:null,min:null,minLength:G,multiple:Ee,muted:Ee,name:null,nonce:null,noModule:Ee,noValidate:Ee,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ee,optimum:G,pattern:null,ping:Ue,placeholder:null,playsInline:Ee,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ee,referrerPolicy:null,rel:Ue,required:Ee,reversed:Ee,rows:G,rowSpan:G,sandbox:Ue,scope:null,scoped:Ee,seamless:Ee,selected:Ee,shadowRootDelegatesFocus:Ee,shadowRootMode:null,shape:null,size:G,sizes:null,slot:null,span:G,spellCheck:Ze,src:null,srcDoc:null,srcLang:null,srcSet:null,start:G,step:null,style:null,tabIndex:G,target:null,title:null,translate:null,type:null,typeMustMatch:Ee,useMap:null,value:Ze,width:G,wrap:null,align:null,aLink:null,archive:Ue,axis:null,background:null,bgColor:null,border:G,borderColor:null,bottomMargin:G,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ee,declare:Ee,event:null,face:null,frame:null,frameBorder:null,hSpace:G,leftMargin:G,link:null,longDesc:null,lowSrc:null,marginHeight:G,marginWidth:G,noResize:Ee,noHref:Ee,noShade:Ee,noWrap:Ee,object:null,profile:null,prompt:null,rev:null,rightMargin:G,rules:null,scheme:null,scrolling:Ze,standby:null,summary:null,text:null,topMargin:G,valueType:null,version:null,vAlign:null,vLink:null,vSpace:G,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ee,disableRemotePlayback:Ee,prefix:null,property:null,results:G,security:null,unselectable:null}}),ST=Ns({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Sv,properties:{about:kt,accentHeight:G,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:G,amplitude:G,arabicForm:null,ascent:G,attributeName:null,attributeType:null,azimuth:G,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:G,by:null,calcMode:null,capHeight:G,className:Ue,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:G,diffuseConstant:G,direction:null,display:null,dur:null,divisor:G,dominantBaseline:null,download:Ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:G,enableBackground:null,end:null,event:null,exponent:G,externalResourcesRequired:null,fill:null,fillOpacity:G,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:as,g2:as,glyphName:as,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:G,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:G,horizOriginX:G,horizOriginY:G,id:null,ideographic:G,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:G,k:G,k1:G,k2:G,k3:G,k4:G,kernelMatrix:kt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:G,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:G,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:G,overlineThickness:G,paintOrder:null,panose1:null,path:null,pathLength:G,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ue,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:G,pointsAtY:G,pointsAtZ:G,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:kt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:kt,rev:kt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:kt,requiredFeatures:kt,requiredFonts:kt,requiredFormats:kt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:G,specularExponent:G,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:G,strikethroughThickness:G,string:null,stroke:null,strokeDashArray:kt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:G,strokeOpacity:G,strokeWidth:null,style:null,surfaceScale:G,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:kt,tabIndex:G,tableValues:null,target:null,targetX:G,targetY:G,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:kt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:G,underlineThickness:G,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:G,values:null,vAlphabetic:G,vMathematical:G,vectorEffect:null,vHanging:G,vIdeographic:G,version:null,vertAdvY:G,vertOriginX:G,vertOriginY:G,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:G,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),xT=/^data[-\w.:]+$/i,Oh=/-[a-z]/g,CT=/[A-Z]/g;function AT(e,t){const n=Xc(t);let r=t,s=Wt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&xT.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Oh,RT);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Oh.test(o)){let i=o.replace(CT,TT);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=hf}return new s(r,t)}function TT(e){return"-"+e.toLowerCase()}function RT(e){return e.charAt(1).toUpperCase()}const PT=_v([Ev,wv,Cv,Av,ET],"html"),Tv=_v([Ev,wv,Cv,Av,ST],"svg"),kh={}.hasOwnProperty;function $T(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&kh.call(s,e)){const l=String(s[e]);i=kh.call(a,l)?a[l]:r.unknown}if(i)return i.call(this,s,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function OT(e,t){if(e=e.replace(t.subset?kT(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(s,o,i){return t.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,i.charCodeAt(o+2),t)}function r(s,o,i){return t.format(s.charCodeAt(0),i.charCodeAt(o+1),t)}}function kT(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function NT(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function IT(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const LT=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Kl={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},DT=["cent","copy","divide","gt","lt","not","para","times"],Rv={}.hasOwnProperty,Jc={};let $i;for($i in Kl)Rv.call(Kl,$i)&&(Jc[Kl[$i]]=$i);function MT(e,t,n,r){const s=String.fromCharCode(e);if(Rv.call(Jc,s)){const o=Jc[s],i="&"+o;return n&<.includes(o)&&!DT.includes(o)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}function FT(e,t,n){let r=NT(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=MT(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=IT(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function ls(e,t){return OT(e,Object.assign({format:FT},t))}const BT=/^>|^->|<!--|-->|--!>|<!-$/g,jT=[">"],zT=["<",">"];function HT(e,t,n,r){return r.settings.bogusComments?"<?"+ls(e.value,Object.assign({},r.settings.characterReferences,{subset:jT}))+">":"<!--"+e.value.replace(BT,s)+"-->";function s(o){return ls(o,Object.assign({},r.settings.characterReferences,{subset:zT}))}}function UT(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Nh(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=n.indexOf(t);for(;s!==-1;)r++,s=n.indexOf(t,s+t.length);return r}function VT(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function GT(e){return e.join(" ").trim()}const WT=/[ \t\n\f\r]/g;function pf(e){return typeof e=="object"?e.type==="text"?Ih(e.value):!1:Ih(e)}function Ih(e){return e.replace(WT,"")===""}const st=$v(1),Pv=$v(-1),KT=[];function $v(e){return t;function t(n,r,s){const o=n?n.children:KT;let i=(r||0)+e,a=o[i];if(!s)for(;a&&pf(a);)i+=e,a=o[i];return a}}const qT={}.hasOwnProperty;function Ov(e){return t;function t(n,r,s){return qT.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const mf=Ov({body:XT,caption:ql,colgroup:ql,dd:eR,dt:QT,head:ql,html:YT,li:JT,optgroup:tR,option:nR,p:ZT,rp:Lh,rt:Lh,tbody:sR,td:Dh,tfoot:oR,th:Dh,thead:rR,tr:iR});function ql(e,t,n){const r=st(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&pf(r.value.charAt(0)))}function YT(e,t,n){const r=st(n,t);return!r||r.type!=="comment"}function XT(e,t,n){const r=st(n,t);return!r||r.type!=="comment"}function ZT(e,t,n){const r=st(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function JT(e,t,n){const r=st(n,t);return!r||r.type==="element"&&r.tagName==="li"}function QT(e,t,n){const r=st(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function eR(e,t,n){const r=st(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Lh(e,t,n){const r=st(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function tR(e,t,n){const r=st(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function nR(e,t,n){const r=st(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function rR(e,t,n){const r=st(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function sR(e,t,n){const r=st(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function oR(e,t,n){return!st(n,t)}function iR(e,t,n){const r=st(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Dh(e,t,n){const r=st(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const aR=Ov({body:uR,colgroup:fR,head:cR,html:lR,tbody:dR});function lR(e){const t=st(e,-1);return!t||t.type!=="comment"}function cR(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const s=t[r];if(s.type==="element"&&(s.tagName==="title"||s.tagName==="base")){if(n.includes(s.tagName))return!1;n.push(s.tagName)}}return t.length>0}function uR(e){const t=st(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&pf(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function fR(e,t,n){const r=Pv(n,t),s=st(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&mf(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function dR(e,t,n){const r=Pv(n,t),s=st(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&mf(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const Oi={name:[[`
|
|
33
|
-
\f\r &/=>`.split(""),`
|
|
34
|
-
\f\r "&'/=>\``.split("")],[`\0
|
|
35
|
-
\f\r "&'/<=>`.split(""),`\0
|
|
36
|
-
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
37
|
-
\f\r &>`.split(""),`\0
|
|
38
|
-
\f\r "&'<=>\``.split("")],[`\0
|
|
39
|
-
\f\r "&'<=>\``.split(""),`\0
|
|
40
|
-
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function hR(e,t,n,r){const s=r.schema,o=s.space==="svg"?!1:r.settings.omitOptionalTags;let i=s.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;s.space==="html"&&e.tagName==="svg"&&(r.schema=Tv);const c=pR(r,e.properties),u=r.all(s.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=s,u&&(i=!1),(c||!o||!aR(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),i&&(s.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!i&&(!o||!mf(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function pR(e,t){const n=[];let r=-1,s;if(t){for(s in t)if(t[s]!==null&&t[s]!==void 0){const o=mR(e,s,t[s]);o&&n.push(o)}}for(;++r<n.length;){const o=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&o!=='"'&&o!=="'"&&(n[r]+=" ")}return n.join("")}function mR(e,t,n){const r=AT(e.schema,t),s=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,o=e.settings.allowDangerousCharacters?0:1;let i=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=ls(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Oi.name[s][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?VT:GT)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=ls(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Oi.unquoted[s][o]}))),a!==n&&(e.settings.quoteSmart&&Nh(n,i)>Nh(n,e.alternative)&&(i=e.alternative),a=i+ls(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?Oi.single:Oi.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}const gR=["<","&"];function kv(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:ls(e.value,Object.assign({},r.settings.characterReferences,{subset:gR}))}function vR(e,t,n,r){return r.settings.allowDangerousHtml?e.value:kv(e,t,n,r)}function yR(e,t,n,r){return r.all(e)}const _R=$T("type",{invalid:bR,unknown:wR,handlers:{comment:HT,doctype:UT,element:hR,raw:vR,root:yR,text:kv}});function bR(e){throw new Error("Expected node, not `"+e+"`")}function wR(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const ER={},SR={},xR=[];function CR(e,t){const n=t||ER,r=n.quote||'"',s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:AR,all:TR,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||_T,characterReferences:n.characterReferences||SR,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Tv:PT,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function AR(e,t,n){return _R(e,t,n,this)}function TR(e){const t=[],n=e&&e.children||xR;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function RR(e,t,n){const r={meta:{},options:n,codeToHast:(o,i)=>Ta(e,o,i),codeToTokens:(o,i)=>Ca(e,o,i)};let s=CR(Ta(e,t,n,r));for(const o of Aa(n))s=o.postprocess?.call(r,s,n)||s;return s}async function PR(e){let t,n;const r={};function s(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function o(){return typeof performance<"u"?performance.now():Date.now()}function i(d,h,p){r.HEAPU8.copyWithin(d,h,h+p)}function a(){return 2147483648}function l(d){try{return t.grow(d-n.byteLength+65535>>>16),s(t.buffer),1}catch{}}function c(d){const h=r.HEAPU8.length;d=d>>>0;const p=a();if(d>p)return!1;const g=(m,v)=>m+(v-m%v)%v;for(let m=1;m<=4;m*=2){let v=h*(1+.2/m);v=Math.min(v,d+100663296);const _=Math.min(p,g(Math.max(d,v),65536));if(l(_))return!0}return!1}const u={emscripten_get_now:o,emscripten_memcpy_big:i,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const h=await e({env:u,wasi_snapshot_preview1:u});t=h.memory,s(t.buffer),Object.assign(r,h)}return await f(),r}let lt=null,$R=!1;function OR(e){throw new yt(e.UTF8ToString(e.getLastOnigError()))}class fl{static _utf8ByteLength(t){let n=0;for(let r=0,s=t.length;r<s;r++){const o=t.charCodeAt(r);let i=o,a=!1;if(o>=55296&&o<=56319&&r+1<s){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(i=(o-55296<<10)+65536|l-56320,a=!0)}i<=127?n+=1:i<=2047?n+=2:i<=65535?n+=3:n+=4,a&&r++}return n}utf16Length;utf8Length;utf16Value;utf8Value;utf16OffsetToUtf8;utf8OffsetToUtf16;constructor(t){const n=t.length,r=fl._utf8ByteLength(t),s=r!==n,o=s?new Uint32Array(n+1):null;s&&(o[n]=r);const i=s?new Uint32Array(r+1):null;s&&(i[r]=n);const a=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const h=t.charCodeAt(c+1);h>=56320&&h<=57343&&(f=(u-55296<<10)+65536|h-56320,d=!0)}s&&(o[c]=l,d&&(o[c+1]=l),f<=127?i[l+0]=c:f<=2047?(i[l+0]=c,i[l+1]=c):f<=65535?(i[l+0]=c,i[l+1]=c,i[l+2]=c):(i[l+0]=c,i[l+1]=c,i[l+2]=c,i[l+3]=c)),f<=127?a[l++]=f:f<=2047?(a[l++]=192|(f&1984)>>>6,a[l++]=128|(f&63)>>>0):f<=65535?(a[l++]=224|(f&61440)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0):(a[l++]=240|(f&1835008)>>>18,a[l++]=128|(f&258048)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=i}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}class Mt{static LAST_ID=0;static _sharedPtr=0;static _sharedPtrInUse=!1;id=++Mt.LAST_ID;_onigBinding;content;utf16Length;utf8Length;utf16OffsetToUtf8;utf8OffsetToUtf16;ptr;constructor(t){if(!lt)throw new yt("Must invoke loadWasm first.");this._onigBinding=lt,this.content=t;const n=new fl(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Mt._sharedPtrInUse?(Mt._sharedPtr||(Mt._sharedPtr=lt.omalloc(1e4)),Mt._sharedPtrInUse=!0,lt.HEAPU8.set(n.utf8Value,Mt._sharedPtr),this.ptr=Mt._sharedPtr):this.ptr=n.createString(lt)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Mt._sharedPtr?Mt._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}}class kR{_onigBinding;_ptr;constructor(t){if(!lt)throw new yt("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const c=new fl(t[a]);n[a]=c.createString(lt),r[a]=c.utf8Length}const s=lt.omalloc(4*t.length);lt.HEAPU32.set(n,s/4);const o=lt.omalloc(4*t.length);lt.HEAPU32.set(r,o/4);const i=lt.createOnigScanner(s,o,t.length);for(let a=0,l=t.length;a<l;a++)lt.ofree(n[a]);lt.ofree(o),lt.ofree(s),i===0&&OR(lt),this._onigBinding=lt,this._ptr=i}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let s=$R,o=0;if(typeof r=="number"?(r&8&&(s=!0),o=r):typeof r=="boolean"&&(s=r),typeof t=="string"){t=new Mt(t);const i=this._findNextMatchSync(t,n,s,o);return t.dispose(),i}return this._findNextMatchSync(t,n,s,o)}_findNextMatchSync(t,n,r,s){const o=this._onigBinding;let i;if(r?i=o.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),s):i=o.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),s),i===0)return null;const a=o.HEAPU32;let l=i/4;const c=a[l++],u=a[l++],f=[];for(let d=0;d<u;d++){const h=t.convertUtf8OffsetToUtf16(a[l++]),p=t.convertUtf8OffsetToUtf16(a[l++]);f[d]={start:h,end:p,length:p-h}}return{index:c,captureIndices:f}}}function NR(e){return typeof e.instantiator=="function"}function IR(e){return typeof e.default=="function"}function LR(e){return typeof e.data<"u"}function DR(e){return typeof Response<"u"&&e instanceof Response}function MR(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let ki;function FR(e){if(ki)return ki;async function t(){lt=await PR(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),NR(r)?r=await r.instantiator(n):IR(r)?r=await r.default(n):(LR(r)&&(r=r.data),DR(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await jR(r)(n):r=await zR(r)(n):MR(r)&&(r=await BR(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return ki=t(),ki}function BR(e){return t=>WebAssembly.instantiate(e,t)}function jR(e){return t=>WebAssembly.instantiateStreaming(e,t)}function zR(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function HR(e){return new Mt(e)}function UR(e){return new kR(e)}const Mh={light:"#333333",dark:"#bbbbbb"},Fh={light:"#fffffe",dark:"#1e1e1e"},Bh="__shiki_resolved";function Nv(e){if(e?.[Bh])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const a=t.settings?t.settings.find(l=>!l.name&&!l.scope):void 0;a?.settings?.foreground&&(r=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Mh.light:Mh.dark),n||(n=t.type==="light"?Fh.light:Fh.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let s=0;const o=new Map;function i(a){if(o.has(a))return o.get(a);s+=1;const l=`#${s.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${l}`]?i(a):(o.set(a,l),l)}t.settings=t.settings.map(a=>{const l=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),c=a.settings?.background&&!a.settings.background.startsWith("#");if(!l&&!c)return a;const u={...a,settings:{...a.settings}};if(l){const f=i(a.settings.foreground);t.colorReplacements[f]=a.settings.foreground,u.settings.foreground=f}if(c){const f=i(a.settings.background);t.colorReplacements[f]=a.settings.background,u.settings.background=f}return u});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const l=i(t.colors[a]);t.colorReplacements[l]=t.colors[a],t.colors[a]=l}return Object.defineProperty(t,Bh,{enumerable:!1,writable:!1,value:!0}),t}class VR extends qA{_resolver;_themes;_langs;_alias;_resolvedThemes={};_resolvedGrammars={};_langMap={};_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(t,n,r,s={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=s,n.forEach(o=>this.loadTheme(o)),r.forEach(o=>this.loadLanguage(o))}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:this.loadTheme(t)}loadTheme(t){const n=Nv(t);return n.name&&(this._resolvedThemes[n.name]=n,this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=Object.keys(this._resolvedThemes)),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=Ea.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new yt(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars[t]}async loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set(Object.values(this._langMap).filter(o=>o.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const s=await this.loadGrammarWithConfiguration(t.scopeName,1,r);if(this._resolvedGrammars[t.name]=s,t.aliases&&t.aliases.forEach(o=>{this._alias[o]=t.name}),this._loadedLanguagesCache=null,n.size)for(const o of n)delete this._resolvedGrammars[o.name],this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(o.scopeName),this._syncRegistry?._grammars?.delete(o.scopeName),await this.loadLanguage(this._langMap[o.name])}async init(){this._themes.map(t=>this.loadTheme(t)),await this.loadLanguages(this._langs)}async loadLanguages(t){for(const s of t)this.resolveEmbeddedLanguages(s);const n=Array.from(this._langGraph.entries()),r=n.filter(([s,o])=>!o);if(r.length){const s=n.filter(([o,i])=>i&&i.embeddedLangs?.some(a=>r.map(([l])=>l).includes(a))).filter(o=>!r.includes(o));throw new yt(`Missing languages ${r.map(([o])=>`\`${o}\``).join(", ")}, required by ${s.map(([o])=>`\`${o}\``).join(", ")}`)}for(const[s,o]of n)this._resolver.addLanguage(o);for(const[s,o]of n)await this.loadLanguage(o)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=Object.keys({...this._resolvedGrammars,...this._alias})),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap[t.name]=t,this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}class GR{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLibPromise;constructor(t,n){this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let s=1;s<=n.length;s++){const o=n.slice(0,s).join(".");r=[...r,...this._injections.get(o)||[]]}return r}}let WR;async function KR(e={}){async function t(m){return Promise.resolve(typeof m=="function"?m():m).then(v=>v.default||v)}async function n(m){return Array.from(new Set((await Promise.all(m.filter(v=>!XA(v)).map(async v=>await t(v).then(_=>Array.isArray(_)?_:[_])))).flat()))}const r=e.loadWasm||WR,[s,o]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(m=>m.map(Nv)),n(e.langs||[]),r?FR(r):void 0]),i=new GR(Promise.resolve({createOnigScanner(m){return UR(m)},createOnigString(m){return HR(m)}}),o),a=new VR(i,s,o,e.langAlias);await a.init();let l;function c(m){const v=a.getGrammar(typeof m=="string"?m:m.name);if(!v)throw new yt(`Language \`${m}\` not found, you may need to load it first`);return v}function u(m){if(m==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const v=a.getTheme(m);if(!v)throw new yt(`Theme \`${m}\` not found, you may need to load it first`);return v}function f(m){const v=u(m);l!==m&&(a.setTheme(v),l=m);const _=a.getColorMap();return{theme:v,colorMap:_}}function d(){return a.getLoadedThemes()}function h(){return a.getLoadedLanguages()}async function p(...m){await a.loadLanguages(await n(m))}async function g(...m){await Promise.all(m.map(async v=>ZA(v)?null:a.loadTheme(await t(v))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:h,loadLanguage:p,loadTheme:g}}async function qR(e={}){const t=await KR(e);return{codeToTokensBase:(n,r)=>df(t,n,r),codeToTokensWithThemes:(n,r)=>yv(t,n,r),codeToTokens:(n,r)=>Ca(t,n,r),codeToHast:(n,r)=>Ta(t,n,r),codeToHtml:(n,r)=>RR(t,n,r),...t,getInternalContext:()=>t}}const Ni=en();let jh=null;function YR(e,t="text"){!jh&&!Ni.value&&(jh=qR({themes:[ve(()=>import("./CQ1WWl9n.js"),[],import.meta.url),ve(()=>import("./DaCkt_J7.js"),[],import.meta.url)],langs:[ve(()=>import("./CupVZNk8.js"),[],import.meta.url),ve(()=>import("./C5gCGmDW.js"),[],import.meta.url),ve(()=>import("./CbYhyuC0.js"),[],import.meta.url),ve(()=>import("./Dch3xQiY.js"),[],import.meta.url),ve(()=>import("./DC8MraHL.js"),[],import.meta.url),ve(()=>import("./Cd6DbZRp.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),ve(()=>import("./DnNA5yXt.js"),__vite__mapDeps([7,0,1,2,3,4,5,6]),import.meta.url),ve(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url),ve(()=>import("./DvyTQcux.js"),[],import.meta.url),ve(()=>import("./D4k753MY.js"),[],import.meta.url)],loadWasm:ve(()=>import("./CsTmP73Z.js"),[],import.meta.url)}).then(r=>{Ni.value=r}));const n=Ni.value?.getLoadedLanguages().includes(t);return n?{code:Ni.value.codeToHtml(e,{lang:t,themes:{dark:"vitesse-dark",light:"vitesse-light"}}),supported:!0}:{code:e,supported:n}}const XR=6e4;function Iv(e){return e}const ZR=Iv,{clearTimeout:JR,setTimeout:QR}=globalThis,e2=Math.random.bind(Math);function t2(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=Iv,deserialize:i=ZR,resolver:a,timeout:l=XR}=t,c=new Map;let u;const f=new Proxy({},{get(d,h){if(h==="$functions")return e;if(h==="then"&&!s.includes("then")&&!("then"in e))return;const p=(...m)=>{n(o({m:h,a:m,t:"q"}))};if(s.includes(h))return p.asEvent=p,p;const g=async(...m)=>(await u,new Promise((v,_)=>{const y=r2();let b;l>=0&&(b=QR(()=>{try{throw t.onTimeoutError?.(h,m),new Error(`[birpc] timeout on calling "${h}"`)}catch(E){_(E)}c.delete(y)},l),typeof b=="object"&&(b=b.unref?.())),c.set(y,{resolve:v,reject:_,timeoutId:b}),n(o({m:h,a:m,i:y,t:"q"}))}));return g.asEvent=p,g}});return u=r(async(d,...h)=>{const p=i(d);if(p.t==="q"){const{m:g,a:m}=p;let v,_;const y=a?a(g,e[g]):e[g];if(!y)_=new Error(`[birpc] function "${g}" not found`);else try{v=await y.apply(f,m)}catch(b){_=b}p.i&&(_&&t.onError&&t.onError(_,g,m),n(o({t:"s",i:p.i,r:v,e:_}),...h))}else{const{i:g,r:m,e:v}=p,_=c.get(g);_&&(JR(_.timeoutId),v?_.reject(v):_.resolve(m)),c.delete(g)}}),f}const n2="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function r2(e=21){let t="",n=e;for(;n--;)t+=n2[e2()*64|0];return t}const{parse:s2,stringify:o2}=JSON,{keys:i2}=Object,Ko=String,Lv="string",zh={},Ra="object",Dv=(e,t)=>t,a2=e=>e instanceof Ko?Ko(e):e,l2=(e,t)=>typeof t===Lv?new Ko(t):t,Mv=(e,t,n,r)=>{const s=[];for(let o=i2(n),{length:i}=o,a=0;a<i;a++){const l=o[a],c=n[l];if(c instanceof Ko){const u=e[c];typeof u===Ra&&!t.has(u)?(t.add(u),n[l]=zh,s.push({k:l,a:[e,t,u,r]})):n[l]=r.call(n,l,u)}else n[l]!==zh&&(n[l]=r.call(n,l,c))}for(let{length:o}=s,i=0;i<o;i++){const{k:a,a:l}=s[i];n[a]=r.call(n,a,Mv.apply(null,l))}return n},Hh=(e,t,n)=>{const r=Ko(t.push(n)-1);return e.set(n,r),r},c2=(e,t)=>{const n=s2(e,l2).map(a2),r=n[0],s=t||Dv,o=typeof r===Ra&&r?Mv(n,new Set,r,s):r;return s.call({"":o},"",o)},u2=(e,t,n)=>{const r=t&&typeof t===Ra?(u,f)=>u===""||-1<t.indexOf(u)?f:void 0:t||Dv,s=new Map,o=[],i=[];let a=+Hh(s,o,r.call({"":e},"",e)),l=!a;for(;a<o.length;)l=!0,i[a]=o2(o[a++],c,n);return"["+i.join(",")+"]";function c(u,f){if(l)return l=!l,f;const d=r.call(this,u,f);switch(typeof d){case Ra:if(d===null)return d;case Lv:return s.get(d)||Hh(s,o,d)}return d}};async function f2(e="/",t=!0){try{const n=`${e}@vite/client`,r=await fetch(n);if((await r.text()).startsWith("<")||!r.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await ve(()=>import(n),[],import.meta.url)}catch{t&&console.error(`[vite-hot-client] Failed to import "${e}@vite/client"`)}}function d2(e=window.location.pathname){return e.split("/").map((t,n,r)=>r.slice(0,n+1).join("/")||"/")}async function h2(e="/___",t){t=t??d2();for(const n of t){const s=(await f2(n,!1))?.createHotContext(e);if(s)return s}console.error("[vite-hot-client] Failed to import vite client, tried with:",t)}const Fv="nuxt:devtools:rpc",Zr=U(!1),p3=U(),p2=OC(Zr,2e3),m2=g2();let Bv=()=>{};const jv={},zv=new Map,we=t2(jv,{post:async e=>{(await m2).send(Fv,e)},on:e=>{Bv=e},serialize:u2,deserialize:c2,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return zv.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function g2(){let e=window.parent?.__NUXT__?.config?.app?.baseURL??"/";const t=window.parent?.__NUXT__?.config?.app.buildAssetsDir.replace(/^\/|\/$/g,"")??"_nuxt";e&&!e.endsWith("/")&&(e+="/");const n=window.location.href.replace(/\/__nuxt_devtools__\/client\/.*$/,"/"),r=await h2(void 0,Array.from(new Set([`${e}${t}/`,`${e}_nuxt/`,e,`${n}${t}/`,`${n}_nuxt/`,n])));if(!r)throw Zr.value=!0,new Error("Unable to connect to devtools");return r.on(Fv,s=>{Zr.value=!1,Bv(s)}),Zr.value=!0,r.on("vite:ws:connect",()=>{Zr.value=!1}),r.on("vite:ws:disconnect",()=>{Zr.value=!0}),r}function ft(){return Ps("devtools-client")}function m3(){const e=ft();return oe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Hv(){const e=ft();return oe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function g3(){const e=ft();return oe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function v2(){return Ps("devtools-component-inspector-data")}const Uv=U(!1);setTimeout(()=>{Uv.value=!0},2e3);const y2=oe(()=>Uv.value&&!ft().value);function _2(){const e=ft(),t=ev();return oe(()=>({host:e.value,devtools:{rpc:we,colorMode:t.value,renderCodeHighlight(n,r){return YR(n,r)},renderMarkdown(n){return fA(n)},extendClientRpc(n,r){return zv.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return we[`${n}:${o}`]}})}}}))}const b2=/^[A-Za-z]:\//;function w2(e=""){return e&&e.replace(/\\/g,"/").replace(b2,t=>t.toUpperCase())}const E2=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Uh=/^\/([A-Za-z]:)?$/;function S2(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}const Vh=function(...e){e=e.map(r=>w2(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:S2();!s||s.length===0||(t=`${s}/${t}`,n=Gh(s))}return t=x2(t,!n),n&&!Gh(t)?`/${t}`:t.length>0?t:"."};function x2(e,t){let n="",r=0,s=-1,o=0,i=null;for(let a=0;a<=e.length;++a){if(a<e.length)i=e[a];else{if(i==="/")break;i="/"}if(i==="/"){if(!(s===a-1||o===1))if(o===2){if(n.length<2||r!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const l=n.lastIndexOf("/");l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),s=a,o=0;continue}else if(n.length>0){n="",r=0,s=a,o=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(s+1,a)}`:n=e.slice(s+1,a),r=a-s-1;s=a,o=0}else i==="."&&o!==-1?++o:o=-1}return n}const Gh=function(e){return E2.test(e)},C2=function(e,t){const n=Vh(e).replace(Uh,"$1").split("/"),r=Vh(t).replace(Uh,"$1").split("/");if(r[0][1]===":"&&n[0][1]===":"&&n[0]!==r[0])return r.join("/");const s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function v3(e){return!!e.match(/[/\\]node_modules[/\\]/)||gf(e)}function gf(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function A2(e){if(gf(e))return e;const t=e.replace(/\\/g,"/").match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t.startsWith("@")?t.split("/").slice(0,2).join("/"):t.split("/")[0]}function T2(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function y3(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function _3(e,t){if(e=e.replace(/\\/g,"/"),gf(e))return{moduleName:e,path:e};const n=A2(e),r=T2(e);if(n&&r)return{moduleName:n,path:r};try{let s=C2(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function mt(e,t,n){const r=Ne(),s=r.payload.unique=r.payload.unique||{};return s[e]||(s[e]=U0(e,t,n)),s[e].data}function b3(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Wh={get:"n-green",post:"n-blue",put:"n-orange",delete:"n-red",patch:"n-purple",head:"n-teal",default:"n-gray"};function w3(e){return Wh[e.toLowerCase()]||Wh.default}function E3(e,t){const n={};for(const[r,s]of Object.entries(t))for(const o of s){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}function S3(e){return Number.isNaN(e)||e<0?"-":e<1?"<1ms":e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function x3(e,t=65,n=50,r=1){let s=0;for(let i=0;i<e.length;i++)s=e.charCodeAt(i)+((s<<5)-s);return`hsla(${s%360}, ${t}%, ${n}%, ${r})`}function li(e,t){return Ps(e,()=>sA(e,t,{listenToStorageChanges:!1}))}function C3(e,t){const n=t?.find(s=>s.id===e.filePath)?.deps?.map(s=>t?.find(o=>o.id===s)?.id).filter(Boolean),r=t?.filter(s=>s.deps.includes(e.filePath)).map(s=>s.id);return{component:e,dependencies:n,dependents:r}}function A3(e,t,n=`${t}s`){return`${e} ${e<=1?t:n}`}function Vv(){const e=ft(),t=Ne();t.hooks.callHookParallel("app:data:refresh",Object.keys(t.payload.data)),eg(e)}function Gv(){location.reload()}let Wv;function vf(e){Wv?.(e)}function R2(e){Wv=e}const T3=lf(),Kv=lf();function P2(){return Ps("devtools:restart-dialogs",()=>[])}var $2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function O2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function R3(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var Qc={exports:{}};(function(e,t){(function(n,r){var s="1.0.37",o="",i="?",a="function",l="undefined",c="object",u="string",f="major",d="model",h="name",p="type",g="vendor",m="version",v="architecture",_="console",y="mobile",b="tablet",E="smarttv",C="wearable",k="embedded",O=500,D="Amazon",P="Apple",L="ASUS",A="BlackBerry",S="Browser",T="Chrome",B="Edge",R="Firefox",$="Google",I="Huawei",Z="LG",ae="Microsoft",ie="Motorola",le="Opera",Se="Samsung",Ce="Sharp",qe="Sony",Ge="Xiaomi",F="Zebra",se="Facebook",ee="Chromium OS",ce="Mac OS",Ie=function(W,ne){var Q={};for(var pe in W)ne[pe]&&ne[pe].length%2===0?Q[pe]=ne[pe].concat(W[pe]):Q[pe]=W[pe];return Q},Fe=function(W){for(var ne={},Q=0;Q<W.length;Q++)ne[W[Q].toUpperCase()]=W[Q];return ne},w=function(W,ne){return typeof W===u?x(ne).indexOf(x(W))!==-1:!1},x=function(W){return W.toLowerCase()},N=function(W){return typeof W===u?W.replace(/[^\d\.]/g,o).split(".")[0]:r},z=function(W,ne){if(typeof W===u)return W=W.replace(/^\s\s*/,o),typeof ne===l?W:W.substring(0,O)},M=function(W,ne){for(var Q=0,pe,Oe,Be,be,me,$t;Q<ne.length&&!me;){var _n=ne[Q],Ms=ne[Q+1];for(pe=Oe=0;pe<_n.length&&!me&&_n[pe];)if(me=_n[pe++].exec(W),me)for(Be=0;Be<Ms.length;Be++)$t=me[++Oe],be=Ms[Be],typeof be===c&&be.length>0?be.length===2?typeof be[1]==a?this[be[0]]=be[1].call(this,$t):this[be[0]]=be[1]:be.length===3?typeof be[1]===a&&!(be[1].exec&&be[1].test)?this[be[0]]=$t?be[1].call(this,$t,be[2]):r:this[be[0]]=$t?$t.replace(be[1],be[2]):r:be.length===4&&(this[be[0]]=$t?be[3].call(this,$t.replace(be[1],be[2])):r):this[be]=$t||r;Q+=2}},X=function(W,ne){for(var Q in ne)if(typeof ne[Q]===c&&ne[Q].length>0){for(var pe=0;pe<ne[Q].length;pe++)if(w(ne[Q][pe],W))return Q===i?r:Q}else if(w(ne[Q],W))return Q===i?r:Q;return W},te={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},q={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},J={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,m],[/opios[\/ ]+([\w\.]+)/i],[m,[h,le+" Mini"]],[/\bopr\/([\w\.]+)/i],[m,[h,le]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[h,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,m],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[h,"UC"+S]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[h,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[h,"Smart Lenovo "+S]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+S],m],[/\bfocus\/([\w\.]+)/i],[m,[h,R+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[h,le+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[h,le+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[h,"MIUI "+S]],[/fxios\/([-\w\.]+)/i],[m,[h,R]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+S]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+S],m],[/samsungbrowser\/([\w\.]+)/i],[m,[h,Se+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],m],[/metasr[\/ ]?([\d\.]+)/i],[m,[h,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[h,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[h,m],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,se],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[h,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[h,T+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,T+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[h,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[m,X,te]],[/(webkit|khtml)\/([\w\.]+)/i],[h,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[h,R+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,m],[/(cobalt)\/([\w\.]+)/i],[h,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[v,"amd64"]],[/(ia32(?=;))/i],[[v,x]],[/((?:i[346]|x)86)[;\)]/i],[[v,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[v,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/windows (ce|mobile); ppc;/i],[[v,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[v,/ower/,o,x]],[/(sun4\w)[;\)]/i],[[v,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[v,x]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[g,Se],[p,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[g,Se],[p,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[g,P],[p,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[g,P],[p,b]],[/(macintosh);/i],[d,[g,P]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[g,Ce],[p,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[g,I],[p,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[g,I],[p,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[g,Ge],[p,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[g,Ge],[p,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[g,"OPPO"],[p,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[g,"Vivo"],[p,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[g,"Realme"],[p,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[g,ie],[p,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[g,ie],[p,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[g,Z],[p,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[g,Z],[p,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[g,"Lenovo"],[p,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[g,"Nokia"],[p,y]],[/(pixel c)\b/i],[d,[g,$],[p,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[g,$],[p,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[g,qe],[p,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[g,qe],[p,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[g,"OnePlus"],[p,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[g,D],[p,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[g,D],[p,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,g,[p,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[g,A],[p,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[g,L],[p,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[g,L],[p,y]],[/(nexus 9)/i],[d,[g,"HTC"],[p,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[g,[d,/_/g," "],[p,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[g,"Acer"],[p,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[g,"Meizu"],[p,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[g,"Ulefone"],[p,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[g,d,[p,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[g,d,[p,b]],[/(surface duo)/i],[d,[g,ae],[p,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[g,"Fairphone"],[p,y]],[/(u304aa)/i],[d,[g,"AT&T"],[p,y]],[/\bsie-(\w*)/i],[d,[g,"Siemens"],[p,y]],[/\b(rct\w+) b/i],[d,[g,"RCA"],[p,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[g,"Dell"],[p,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[g,"Verizon"],[p,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[g,"Barnes & Noble"],[p,b]],[/\b(tm\d{3}\w+) b/i],[d,[g,"NuVision"],[p,b]],[/\b(k88) b/i],[d,[g,"ZTE"],[p,b]],[/\b(nx\d{3}j) b/i],[d,[g,"ZTE"],[p,y]],[/\b(gen\d{3}) b.+49h/i],[d,[g,"Swiss"],[p,y]],[/\b(zur\d{3}) b/i],[d,[g,"Swiss"],[p,b]],[/\b((zeki)?tb.*\b) b/i],[d,[g,"Zeki"],[p,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[g,"Dragon Touch"],d,[p,b]],[/\b(ns-?\w{0,9}) b/i],[d,[g,"Insignia"],[p,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[g,"NextBook"],[p,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[g,"Voice"],d,[p,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[g,"LvTel"],d,[p,y]],[/\b(ph-1) /i],[d,[g,"Essential"],[p,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[g,"Envizen"],[p,b]],[/\b(trio[-\w\. ]+) b/i],[d,[g,"MachSpeed"],[p,b]],[/\btu_(1491) b/i],[d,[g,"Rotor"],[p,b]],[/(shield[\w ]+) b/i],[d,[g,"Nvidia"],[p,b]],[/(sprint) (\w+)/i],[g,d,[p,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[g,ae],[p,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[g,F],[p,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[g,F],[p,y]],[/smart-tv.+(samsung)/i],[g,[p,E]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[g,Se],[p,E]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[g,Z],[p,E]],[/(apple) ?tv/i],[g,[d,P+" TV"],[p,E]],[/crkey/i],[[d,T+"cast"],[g,$],[p,E]],[/droid.+aft(\w+)( bui|\))/i],[d,[g,D],[p,E]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[g,Ce],[p,E]],[/(bravia[\w ]+)( bui|\))/i],[d,[g,qe],[p,E]],[/(mitv-\w{5}) bui/i],[d,[g,Ge],[p,E]],[/Hbbtv.*(technisat) (.*);/i],[g,d,[p,E]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[g,z],[d,z],[p,E]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,E]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[g,d,[p,_]],[/droid.+; (shield) bui/i],[d,[g,"Nvidia"],[p,_]],[/(playstation [345portablevi]+)/i],[d,[g,qe],[p,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[g,ae],[p,_]],[/((pebble))app/i],[g,d,[p,C]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[g,P],[p,C]],[/droid.+; (glass) \d/i],[d,[g,$],[p,C]],[/droid.+; (wt63?0{2,3})\)/i],[d,[g,F],[p,C]],[/(quest( 2| pro)?)/i],[d,[g,se],[p,C]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[g,[p,k]],[/(aeobc)\b/i],[d,[g,D],[p,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[p,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[p,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[g,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[h,B+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[h,[m,X,q]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,X,q],[h,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,ce],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,m],[/\(bb(10);/i],[m,[h,A]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[h,R+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[h,T+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,ee],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,m],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,m]]},H=function(W,ne){if(typeof W===c&&(ne=W,W=r),!(this instanceof H))return new H(W,ne).getResult();var Q=typeof n!==l&&n.navigator?n.navigator:r,pe=W||(Q&&Q.userAgent?Q.userAgent:o),Oe=Q&&Q.userAgentData?Q.userAgentData:r,Be=ne?Ie(J,ne):J,be=Q&&Q.userAgent==pe;return this.getBrowser=function(){var me={};return me[h]=r,me[m]=r,M.call(me,pe,Be.browser),me[f]=N(me[m]),be&&Q&&Q.brave&&typeof Q.brave.isBrave==a&&(me[h]="Brave"),me},this.getCPU=function(){var me={};return me[v]=r,M.call(me,pe,Be.cpu),me},this.getDevice=function(){var me={};return me[g]=r,me[d]=r,me[p]=r,M.call(me,pe,Be.device),be&&!me[p]&&Oe&&Oe.mobile&&(me[p]=y),be&&me[d]=="Macintosh"&&Q&&typeof Q.standalone!==l&&Q.maxTouchPoints&&Q.maxTouchPoints>2&&(me[d]="iPad",me[p]=b),me},this.getEngine=function(){var me={};return me[h]=r,me[m]=r,M.call(me,pe,Be.engine),me},this.getOS=function(){var me={};return me[h]=r,me[m]=r,M.call(me,pe,Be.os),be&&!me[h]&&Oe&&Oe.platform!="Unknown"&&(me[h]=Oe.platform.replace(/chrome os/i,ee).replace(/macos/i,ce)),me},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return pe},this.setUA=function(me){return pe=typeof me===u&&me.length>O?z(me,O):me,this},this.setUA(pe),this};H.VERSION=s,H.BROWSER=Fe([h,m,f]),H.CPU=Fe([v]),H.DEVICE=Fe([d,g,p,_,y,E,b,C,k]),H.ENGINE=H.OS=Fe([h,m]),e.exports&&(t=e.exports=H),t.UAParser=H;var re=typeof n!==l&&(n.jQuery||n.Zepto);if(re&&!re.ua){var he=new H;re.ua=he.getResult(),re.ua.get=function(){return he.getUA()},re.ua.set=function(W){he.setUA(W);var ne=he.getResult();for(var Q in ne)re.ua[Q]=ne[Q]}}})(typeof window=="object"?window:$2)})(Qc,Qc.exports);var k2=Qc.exports;const _t=U(localStorage.getItem("__nuxt_dev_token__")),At=U(!1),qv=new BroadcastChannel("__nuxt_dev_token__");qv.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===_t.value)return;const t=e.data.data;we.verifyAuthToken(t).then(n=>{_t.value=n?t:null,At.value=n})}});function N2(e){_t.value=e,At.value=!0,localStorage.setItem("__nuxt_dev_token__",e),qv.postMessage({event:"new-token",data:e})}async function eu(){if(At.value)return _t.value;if(_t.value||await Kh(),At.value=await we.verifyAuthToken(_t.value),!At.value)throw _t.value=null,vf({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),await Kh(),new Error("Invalid auth token");return _t.value}const fn=new k2.UAParser(navigator.userAgent).getResult();async function Yv(){const e=[fn.browser.name,fn.browser.version,"|",fn.os.name,fn.os.version,fn.device.type].filter(t=>t).join(" ");return await we.requestForAuth(e,window.location.origin)}async function Kh(){if(_t.value||Yv(),await Promise.race([Kv.start(),NC(_t.value).toBeTruthy()])===!1)throw vf({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}var tu={exports:{}};const I2="2.0.0",Xv=256,L2=Number.MAX_SAFE_INTEGER||9007199254740991,D2=16,M2=Xv-6,F2=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var dl={MAX_LENGTH:Xv,MAX_SAFE_COMPONENT_LENGTH:D2,MAX_SAFE_BUILD_LENGTH:M2,MAX_SAFE_INTEGER:L2,RELEASE_TYPES:F2,SEMVER_SPEC_VERSION:I2,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Yl={};const B2=typeof process=="object"&&Yl&&Yl.NODE_DEBUG&&/\bsemver\b/i.test(Yl.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var hl=B2;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:s}=dl,o=hl;t=e.exports={};const i=t.re=[],a=t.safeRe=[],l=t.src=[],c=t.t={};let u=0;const f="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",s],[f,r]],h=g=>{for(const[m,v]of d)g=g.split(`${m}*`).join(`${m}{0,${v}}`).split(`${m}+`).join(`${m}{1,${v}}`);return g},p=(g,m,v)=>{const _=h(m),y=u++;o(g,y,m),c[g]=y,l[y]=m,i[y]=new RegExp(m,v?"g":void 0),a[y]=new RegExp(_,v?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),p("MAINVERSION",`(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${l[c.NUMERICIDENTIFIER]}|${l[c.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${l[c.NUMERICIDENTIFIERLOOSE]}|${l[c.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${f}+`),p("BUILD",`(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`),p("FULL",`^${l[c.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`),p("LOOSE",`^${l[c.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${l[c.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?)?)?`),p("XRANGE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),p("COERCE",`${l[c.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",l[c.COERCEPLAIN]+`(?:${l[c.PRERELEASE]})?(?:${l[c.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",l[c.COERCE],!0),p("COERCERTLFULL",l[c.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${l[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",p("TILDE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${l[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",p("CARET",`^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${l[c.XRANGEPLAIN]})\\s+-\\s+(${l[c.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${l[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[c.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(tu,tu.exports);var ci=tu.exports;const j2=Object.freeze({loose:!0}),z2=Object.freeze({}),H2=e=>e?typeof e!="object"?j2:e:z2;var yf=H2;const qh=/^[0-9]+$/,Zv=(e,t)=>{const n=qh.test(e),r=qh.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},U2=(e,t)=>Zv(t,e);var Jv={compareIdentifiers:Zv,rcompareIdentifiers:U2};const Ii=hl,{MAX_LENGTH:Yh,MAX_SAFE_INTEGER:Li}=dl,{safeRe:Xh,t:Zh}=ci,V2=yf,{compareIdentifiers:Kr}=Jv;let G2=class on{constructor(t,n){if(n=V2(n),t instanceof on){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>Yh)throw new TypeError(`version is longer than ${Yh} characters`);Ii("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?Xh[Zh.LOOSE]:Xh[Zh.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Li||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Li||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Li||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){const o=+s;if(o>=0&&o<Li)return o}return s}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Ii("SemVer.compare",this.version,this.options,t),!(t instanceof on)){if(typeof t=="string"&&t===this.version)return 0;t=new on(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof on||(t=new on(t,this.options)),Kr(this.major,t.major)||Kr(this.minor,t.minor)||Kr(this.patch,t.patch)}comparePre(t){if(t instanceof on||(t=new on(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],s=t.prerelease[n];if(Ii("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Kr(r,s)}while(++n)}compareBuild(t){t instanceof on||(t=new on(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(Ii("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Kr(r,s)}while(++n)}inc(t,n,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const s=Number(r)?1:0;if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[s];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(n){let o=[n,s];r===!1&&(o=[n]),Kr(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var xt=G2;const Jh=xt,W2=(e,t,n=!1)=>{if(e instanceof Jh)return e;try{return new Jh(e,t)}catch(r){if(!n)return null;throw r}};var Is=W2;const K2=Is,q2=(e,t)=>{const n=K2(e,t);return n?n.version:null};var Y2=q2;const X2=Is,Z2=(e,t)=>{const n=X2(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var J2=Z2;const Qh=xt,Q2=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new Qh(e instanceof Qh?e.version:e,n).inc(t,r,s).version}catch{return null}};var eP=Q2;const ep=Is,tP=(e,t)=>{const n=ep(e,null,!0),r=ep(t,null,!0),s=n.compare(r);if(s===0)return null;const o=s>0,i=o?n:r,a=o?r:n,l=!!i.prerelease.length;if(!!a.prerelease.length&&!l)return!a.patch&&!a.minor?"major":i.patch?"patch":i.minor?"minor":"major";const u=l?"pre":"";return n.major!==r.major?u+"major":n.minor!==r.minor?u+"minor":n.patch!==r.patch?u+"patch":"prerelease"};var nP=tP;const rP=xt,sP=(e,t)=>new rP(e,t).major;var oP=sP;const iP=xt,aP=(e,t)=>new iP(e,t).minor;var lP=aP;const cP=xt,uP=(e,t)=>new cP(e,t).patch;var fP=uP;const dP=Is,hP=(e,t)=>{const n=dP(e,t);return n&&n.prerelease.length?n.prerelease:null};var pP=hP;const tp=xt,mP=(e,t,n)=>new tp(e,n).compare(new tp(t,n));var nn=mP;const gP=nn,vP=(e,t,n)=>gP(t,e,n);var yP=vP;const _P=nn,bP=(e,t)=>_P(e,t,!0);var wP=bP;const np=xt,EP=(e,t,n)=>{const r=new np(e,n),s=new np(t,n);return r.compare(s)||r.compareBuild(s)};var _f=EP;const SP=_f,xP=(e,t)=>e.sort((n,r)=>SP(n,r,t));var CP=xP;const AP=_f,TP=(e,t)=>e.sort((n,r)=>AP(r,n,t));var RP=TP;const PP=nn,$P=(e,t,n)=>PP(e,t,n)>0;var pl=$P;const OP=nn,kP=(e,t,n)=>OP(e,t,n)<0;var bf=kP;const NP=nn,IP=(e,t,n)=>NP(e,t,n)===0;var Qv=IP;const LP=nn,DP=(e,t,n)=>LP(e,t,n)!==0;var ey=DP;const MP=nn,FP=(e,t,n)=>MP(e,t,n)>=0;var wf=FP;const BP=nn,jP=(e,t,n)=>BP(e,t,n)<=0;var Ef=jP;const zP=Qv,HP=ey,UP=pl,VP=wf,GP=bf,WP=Ef,KP=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return zP(e,n,r);case"!=":return HP(e,n,r);case">":return UP(e,n,r);case">=":return VP(e,n,r);case"<":return GP(e,n,r);case"<=":return WP(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var ty=KP;const qP=xt,YP=Is,{safeRe:Di,t:Mi}=ci,XP=(e,t)=>{if(e instanceof qP)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(t.includePrerelease?Di[Mi.COERCEFULL]:Di[Mi.COERCE]);else{const l=t.includePrerelease?Di[Mi.COERCERTLFULL]:Di[Mi.COERCERTL];let c;for(;(c=l.exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||c.index+c[0].length!==n.index+n[0].length)&&(n=c),l.lastIndex=c.index+c[1].length+c[2].length;l.lastIndex=-1}if(n===null)return null;const r=n[2],s=n[3]||"0",o=n[4]||"0",i=t.includePrerelease&&n[5]?`-${n[5]}`:"",a=t.includePrerelease&&n[6]?`+${n[6]}`:"";return YP(`${r}.${s}.${o}${i}${a}`,t)};var ZP=XP,Xl,rp;function JP(){return rp||(rp=1,Xl=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Xl}var QP=Me;Me.Node=Br;Me.create=Me;function Me(e){var t=this;if(t instanceof Me||(t=new Me),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(s){t.push(s)});else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}Me.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Me.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Me.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Me.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)t$(this,arguments[e]);return this.length};Me.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)n$(this,arguments[e]);return this.length};Me.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Me.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Me.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next};Me.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev};Me.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};Me.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};Me.prototype.map=function(e,t){t=t||this;for(var n=new Me,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};Me.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Me,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};Me.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;r!==null;s++)n=e(n,r.value,s),r=r.next;return n};Me.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=this.length-1;r!==null;s--)n=e(n,r.value,s),r=r.prev;return n};Me.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};Me.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};Me.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Me;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(;s!==null&&r<t;r++,s=s.next)n.push(s.value);return n};Me.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Me;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,s=this.tail;s!==null&&r>t;r--)s=s.prev;for(;s!==null&&r>e;r--,s=s.prev)n.push(s.value);return n};Me.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(var o=[],r=0;s&&r<t;r++)o.push(s.value),s=this.removeNode(s);s===null&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev);for(var r=0;r<n.length;r++)s=e$(this,s,n[r]);return o};Me.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function e$(e,t,n){var r=t===e.head?new Br(n,null,t,e):new Br(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function t$(e,t){e.tail=new Br(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function n$(e,t){e.head=new Br(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function Br(e,t,n,r){if(!(this instanceof Br))return new Br(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{JP()(Me)}catch{}const r$=QP,Sr=Symbol("max"),An=Symbol("length"),qr=Symbol("lengthCalculator"),Ro=Symbol("allowStale"),Pr=Symbol("maxAge"),xn=Symbol("dispose"),sp=Symbol("noDisposeOnSet"),at=Symbol("lruList"),Kt=Symbol("cache"),ny=Symbol("updateAgeOnGet"),Zl=()=>1;class s${constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[Sr]=t.max||1/0;const n=t.length||Zl;if(this[qr]=typeof n!="function"?Zl:n,this[Ro]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Pr]=t.maxAge||0,this[xn]=t.dispose,this[sp]=t.noDisposeOnSet||!1,this[ny]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[Sr]=t||1/0,Us(this)}get max(){return this[Sr]}set allowStale(t){this[Ro]=!!t}get allowStale(){return this[Ro]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Pr]=t,Us(this)}get maxAge(){return this[Pr]}set lengthCalculator(t){typeof t!="function"&&(t=Zl),t!==this[qr]&&(this[qr]=t,this[An]=0,this[at].forEach(n=>{n.length=this[qr](n.value,n.key),this[An]+=n.length})),Us(this)}get lengthCalculator(){return this[qr]}get length(){return this[An]}get itemCount(){return this[at].length}rforEach(t,n){n=n||this;for(let r=this[at].tail;r!==null;){const s=r.prev;op(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[at].head;r!==null;){const s=r.next;op(this,t,r,n),r=s}}keys(){return this[at].toArray().map(t=>t.key)}values(){return this[at].toArray().map(t=>t.value)}reset(){this[xn]&&this[at]&&this[at].length&&this[at].forEach(t=>this[xn](t.key,t.value)),this[Kt]=new Map,this[at]=new r$,this[An]=0}dump(){return this[at].map(t=>Pa(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[at]}set(t,n,r){if(r=r||this[Pr],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,o=this[qr](n,t);if(this[Kt].has(t)){if(o>this[Sr])return cs(this,this[Kt].get(t)),!1;const l=this[Kt].get(t).value;return this[xn]&&(this[sp]||this[xn](t,l.value)),l.now=s,l.maxAge=r,l.value=n,this[An]+=o-l.length,l.length=o,this.get(t),Us(this),!0}const i=new o$(t,n,o,s,r);return i.length>this[Sr]?(this[xn]&&this[xn](t,n),!1):(this[An]+=i.length,this[at].unshift(i),this[Kt].set(t,this[at].head),Us(this),!0)}has(t){if(!this[Kt].has(t))return!1;const n=this[Kt].get(t).value;return!Pa(this,n)}get(t){return Jl(this,t,!0)}peek(t){return Jl(this,t,!1)}pop(){const t=this[at].tail;return t?(cs(this,t),t.value):null}del(t){cs(this,this[Kt].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const s=t[r],o=s.e||0;if(o===0)this.set(s.k,s.v);else{const i=o-n;i>0&&this.set(s.k,s.v,i)}}}prune(){this[Kt].forEach((t,n)=>Jl(this,n,!1))}}const Jl=(e,t,n)=>{const r=e[Kt].get(t);if(r){const s=r.value;if(Pa(e,s)){if(cs(e,r),!e[Ro])return}else n&&(e[ny]&&(r.value.now=Date.now()),e[at].unshiftNode(r));return s.value}},Pa=(e,t)=>{if(!t||!t.maxAge&&!e[Pr])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[Pr]&&n>e[Pr]},Us=e=>{if(e[An]>e[Sr])for(let t=e[at].tail;e[An]>e[Sr]&&t!==null;){const n=t.prev;cs(e,t),t=n}},cs=(e,t)=>{if(t){const n=t.value;e[xn]&&e[xn](n.key,n.value),e[An]-=n.length,e[Kt].delete(n.key),e[at].removeNode(t)}};class o${constructor(t,n,r,s,o){this.key=t,this.value=n,this.length=r,this.now=s,this.maxAge=o||0}}const op=(e,t,n,r)=>{let s=n.value;Pa(e,s)&&(cs(e,n),e[Ro]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var i$=s$,Ql,ip;function rn(){if(ip)return Ql;ip=1;class e{constructor(T,B){if(B=r(B),T instanceof e)return T.loose===!!B.loose&&T.includePrerelease===!!B.includePrerelease?T:new e(T.raw,B);if(T instanceof s)return this.raw=T.value,this.set=[[T]],this.format(),this;if(this.options=B,this.loose=!!B.loose,this.includePrerelease=!!B.includePrerelease,this.raw=T.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(R=>this.parseRange(R.trim())).filter(R=>R.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const R=this.set[0];if(this.set=this.set.filter($=>!p($[0])),this.set.length===0)this.set=[R];else if(this.set.length>1){for(const $ of this.set)if($.length===1&&g($[0])){this.set=[$];break}}}this.format()}format(){return this.range=this.set.map(T=>T.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(T){const R=((this.options.includePrerelease&&d)|(this.options.loose&&h))+":"+T,$=n.get(R);if($)return $;const I=this.options.loose,Z=I?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];T=T.replace(Z,L(this.options.includePrerelease)),o("hyphen replace",T),T=T.replace(a[l.COMPARATORTRIM],c),o("comparator trim",T),T=T.replace(a[l.TILDETRIM],u),o("tilde trim",T),T=T.replace(a[l.CARETTRIM],f),o("caret trim",T);let ae=T.split(" ").map(Ce=>v(Ce,this.options)).join(" ").split(/\s+/).map(Ce=>P(Ce,this.options));I&&(ae=ae.filter(Ce=>(o("loose invalid filter",Ce,this.options),!!Ce.match(a[l.COMPARATORLOOSE])))),o("range list",ae);const ie=new Map,le=ae.map(Ce=>new s(Ce,this.options));for(const Ce of le){if(p(Ce))return[Ce];ie.set(Ce.value,Ce)}ie.size>1&&ie.has("")&&ie.delete("");const Se=[...ie.values()];return n.set(R,Se),Se}intersects(T,B){if(!(T instanceof e))throw new TypeError("a Range is required");return this.set.some(R=>m(R,B)&&T.set.some($=>m($,B)&&R.every(I=>$.every(Z=>I.intersects(Z,B)))))}test(T){if(!T)return!1;if(typeof T=="string")try{T=new i(T,this.options)}catch{return!1}for(let B=0;B<this.set.length;B++)if(A(this.set[B],T,this.options))return!0;return!1}}Ql=e;const t=i$,n=new t({max:1e3}),r=yf,s=ml(),o=hl,i=xt,{safeRe:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:u,caretTrimReplace:f}=ci,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:h}=dl,p=S=>S.value==="<0.0.0-0",g=S=>S.value==="",m=(S,T)=>{let B=!0;const R=S.slice();let $=R.pop();for(;B&&R.length;)B=R.every(I=>$.intersects(I,T)),$=R.pop();return B},v=(S,T)=>(o("comp",S,T),S=E(S,T),o("caret",S),S=y(S,T),o("tildes",S),S=k(S,T),o("xrange",S),S=D(S,T),o("stars",S),S),_=S=>!S||S.toLowerCase()==="x"||S==="*",y=(S,T)=>S.trim().split(/\s+/).map(B=>b(B,T)).join(" "),b=(S,T)=>{const B=T.loose?a[l.TILDELOOSE]:a[l.TILDE];return S.replace(B,(R,$,I,Z,ae)=>{o("tilde",S,R,$,I,Z,ae);let ie;return _($)?ie="":_(I)?ie=`>=${$}.0.0 <${+$+1}.0.0-0`:_(Z)?ie=`>=${$}.${I}.0 <${$}.${+I+1}.0-0`:ae?(o("replaceTilde pr",ae),ie=`>=${$}.${I}.${Z}-${ae} <${$}.${+I+1}.0-0`):ie=`>=${$}.${I}.${Z} <${$}.${+I+1}.0-0`,o("tilde return",ie),ie})},E=(S,T)=>S.trim().split(/\s+/).map(B=>C(B,T)).join(" "),C=(S,T)=>{o("caret",S,T);const B=T.loose?a[l.CARETLOOSE]:a[l.CARET],R=T.includePrerelease?"-0":"";return S.replace(B,($,I,Z,ae,ie)=>{o("caret",S,$,I,Z,ae,ie);let le;return _(I)?le="":_(Z)?le=`>=${I}.0.0${R} <${+I+1}.0.0-0`:_(ae)?I==="0"?le=`>=${I}.${Z}.0${R} <${I}.${+Z+1}.0-0`:le=`>=${I}.${Z}.0${R} <${+I+1}.0.0-0`:ie?(o("replaceCaret pr",ie),I==="0"?Z==="0"?le=`>=${I}.${Z}.${ae}-${ie} <${I}.${Z}.${+ae+1}-0`:le=`>=${I}.${Z}.${ae}-${ie} <${I}.${+Z+1}.0-0`:le=`>=${I}.${Z}.${ae}-${ie} <${+I+1}.0.0-0`):(o("no pr"),I==="0"?Z==="0"?le=`>=${I}.${Z}.${ae}${R} <${I}.${Z}.${+ae+1}-0`:le=`>=${I}.${Z}.${ae}${R} <${I}.${+Z+1}.0-0`:le=`>=${I}.${Z}.${ae} <${+I+1}.0.0-0`),o("caret return",le),le})},k=(S,T)=>(o("replaceXRanges",S,T),S.split(/\s+/).map(B=>O(B,T)).join(" ")),O=(S,T)=>{S=S.trim();const B=T.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return S.replace(B,(R,$,I,Z,ae,ie)=>{o("xRange",S,R,$,I,Z,ae,ie);const le=_(I),Se=le||_(Z),Ce=Se||_(ae),qe=Ce;return $==="="&&qe&&($=""),ie=T.includePrerelease?"-0":"",le?$===">"||$==="<"?R="<0.0.0-0":R="*":$&&qe?(Se&&(Z=0),ae=0,$===">"?($=">=",Se?(I=+I+1,Z=0,ae=0):(Z=+Z+1,ae=0)):$==="<="&&($="<",Se?I=+I+1:Z=+Z+1),$==="<"&&(ie="-0"),R=`${$+I}.${Z}.${ae}${ie}`):Se?R=`>=${I}.0.0${ie} <${+I+1}.0.0-0`:Ce&&(R=`>=${I}.${Z}.0${ie} <${I}.${+Z+1}.0-0`),o("xRange return",R),R})},D=(S,T)=>(o("replaceStars",S,T),S.trim().replace(a[l.STAR],"")),P=(S,T)=>(o("replaceGTE0",S,T),S.trim().replace(a[T.includePrerelease?l.GTE0PRE:l.GTE0],"")),L=S=>(T,B,R,$,I,Z,ae,ie,le,Se,Ce,qe,Ge)=>(_(R)?B="":_($)?B=`>=${R}.0.0${S?"-0":""}`:_(I)?B=`>=${R}.${$}.0${S?"-0":""}`:Z?B=`>=${B}`:B=`>=${B}${S?"-0":""}`,_(le)?ie="":_(Se)?ie=`<${+le+1}.0.0-0`:_(Ce)?ie=`<${le}.${+Se+1}.0-0`:qe?ie=`<=${le}.${Se}.${Ce}-${qe}`:S?ie=`<${le}.${Se}.${+Ce+1}-0`:ie=`<=${ie}`,`${B} ${ie}`.trim()),A=(S,T,B)=>{for(let R=0;R<S.length;R++)if(!S[R].test(T))return!1;if(T.prerelease.length&&!B.includePrerelease){for(let R=0;R<S.length;R++)if(o(S[R].semver),S[R].semver!==s.ANY&&S[R].semver.prerelease.length>0){const $=S[R].semver;if($.major===T.major&&$.minor===T.minor&&$.patch===T.patch)return!0}return!1}return!0};return Ql}var ec,ap;function ml(){if(ap)return ec;ap=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(u,f){if(f=n(f),u instanceof t){if(u.loose===!!f.loose)return u;u=u.value}u=u.trim().split(/\s+/).join(" "),i("comparator",u,f),this.options=f,this.loose=!!f.loose,this.parse(u),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(u){const f=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],d=u.match(f);if(!d)throw new TypeError(`Invalid comparator: ${u}`);this.operator=d[1]!==void 0?d[1]:"",this.operator==="="&&(this.operator=""),d[2]?this.semver=new a(d[2],this.options.loose):this.semver=e}toString(){return this.value}test(u){if(i("Comparator.test",u,this.options.loose),this.semver===e||u===e)return!0;if(typeof u=="string")try{u=new a(u,this.options)}catch{return!1}return o(u,this.operator,this.semver,this.options)}intersects(u,f){if(!(u instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(u.value,f).test(this.value):u.operator===""?u.value===""?!0:new l(this.value,f).test(u.semver):(f=n(f),f.includePrerelease&&(this.value==="<0.0.0-0"||u.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||u.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&u.operator.startsWith(">")||this.operator.startsWith("<")&&u.operator.startsWith("<")||this.semver.version===u.semver.version&&this.operator.includes("=")&&u.operator.includes("=")||o(this.semver,"<",u.semver,f)&&this.operator.startsWith(">")&&u.operator.startsWith("<")||o(this.semver,">",u.semver,f)&&this.operator.startsWith("<")&&u.operator.startsWith(">")))}}ec=t;const n=yf,{safeRe:r,t:s}=ci,o=ty,i=hl,a=xt,l=rn();return ec}const a$=rn(),l$=(e,t,n)=>{try{t=new a$(t,n)}catch{return!1}return t.test(e)};var gl=l$;const c$=rn(),u$=(e,t)=>new c$(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var f$=u$;const d$=xt,h$=rn(),p$=(e,t,n)=>{let r=null,s=null,o=null;try{o=new h$(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new d$(r,n))}),r};var m$=p$;const g$=xt,v$=rn(),y$=(e,t,n)=>{let r=null,s=null,o=null;try{o=new v$(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new g$(r,n))}),r};var _$=y$;const tc=xt,b$=rn(),lp=pl,w$=(e,t)=>{e=new b$(e,t);let n=new tc("0.0.0");if(e.test(n)||(n=new tc("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const s=e.set[r];let o=null;s.forEach(i=>{const a=new tc(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||lp(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||lp(n,o))&&(n=o)}return n&&e.test(n)?n:null};var E$=w$;const S$=rn(),x$=(e,t)=>{try{return new S$(e,t).range||"*"}catch{return null}};var C$=x$;const A$=xt,ry=ml(),{ANY:T$}=ry,R$=rn(),P$=gl,cp=pl,up=bf,$$=Ef,O$=wf,k$=(e,t,n,r)=>{e=new A$(e,r),t=new R$(t,r);let s,o,i,a,l;switch(n){case">":s=cp,o=$$,i=up,a=">",l=">=";break;case"<":s=up,o=O$,i=cp,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(P$(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const u=t.set[c];let f=null,d=null;if(u.forEach(h=>{h.semver===T$&&(h=new ry(">=0.0.0")),f=f||h,d=d||h,s(h.semver,f.semver,r)?f=h:i(h.semver,d.semver,r)&&(d=h)}),f.operator===a||f.operator===l||(!d.operator||d.operator===a)&&o(e,d.semver))return!1;if(d.operator===l&&i(e,d.semver))return!1}return!0};var Sf=k$;const N$=Sf,I$=(e,t,n)=>N$(e,t,">",n);var L$=I$;const D$=Sf,M$=(e,t,n)=>D$(e,t,"<",n);var F$=M$;const fp=rn(),B$=(e,t,n)=>(e=new fp(e,n),t=new fp(t,n),e.intersects(t,n));var j$=B$;const z$=gl,H$=nn;var U$=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((u,f)=>H$(u,f,n));for(const u of i)z$(u,t,n)?(o=u,s||(s=u)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const a=[];for(const[u,f]of r)u===f?a.push(u):!f&&u===i[0]?a.push("*"):f?u===i[0]?a.push(`<=${f}`):a.push(`${u} - ${f}`):a.push(`>=${u}`);const l=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t};const dp=rn(),xf=ml(),{ANY:nc}=xf,Vs=gl,Cf=nn,V$=(e,t,n={})=>{if(e===t)return!0;e=new dp(e,n),t=new dp(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const i=W$(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},G$=[new xf(">=0.0.0-0")],hp=[new xf(">=0.0.0")],W$=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===nc){if(t.length===1&&t[0].semver===nc)return!0;n.includePrerelease?e=G$:e=hp}if(t.length===1&&t[0].semver===nc){if(n.includePrerelease)return!0;t=hp}const r=new Set;let s,o;for(const h of e)h.operator===">"||h.operator===">="?s=pp(s,h,n):h.operator==="<"||h.operator==="<="?o=mp(o,h,n):r.add(h.semver);if(r.size>1)return null;let i;if(s&&o){if(i=Cf(s.semver,o.semver,n),i>0)return null;if(i===0&&(s.operator!==">="||o.operator!=="<="))return null}for(const h of r){if(s&&!Vs(h,String(s),n)||o&&!Vs(h,String(o),n))return null;for(const p of t)if(!Vs(h,String(p),n))return!1;return!0}let a,l,c,u,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,d=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;f&&f.prerelease.length===1&&o.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(const h of t){if(u=u||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",s){if(d&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===d.major&&h.semver.minor===d.minor&&h.semver.patch===d.patch&&(d=!1),h.operator===">"||h.operator===">="){if(a=pp(s,h,n),a===h&&a!==s)return!1}else if(s.operator===">="&&!Vs(s.semver,String(h),n))return!1}if(o){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator==="<"||h.operator==="<="){if(l=mp(o,h,n),l===h&&l!==o)return!1}else if(o.operator==="<="&&!Vs(o.semver,String(h),n))return!1}if(!h.operator&&(o||s)&&i!==0)return!1}return!(s&&c&&!o&&i!==0||o&&u&&!s&&i!==0||d||f)},pp=(e,t,n)=>{if(!e)return t;const r=Cf(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},mp=(e,t,n)=>{if(!e)return t;const r=Cf(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var K$=V$;const rc=ci,gp=dl,q$=xt,vp=Jv,Y$=Is,X$=Y2,Z$=J2,J$=eP,Q$=nP,eO=oP,tO=lP,nO=fP,rO=pP,sO=nn,oO=yP,iO=wP,aO=_f,lO=CP,cO=RP,uO=pl,fO=bf,dO=Qv,hO=ey,pO=wf,mO=Ef,gO=ty,vO=ZP,yO=ml(),_O=rn(),bO=gl,wO=f$,EO=m$,SO=_$,xO=E$,CO=C$,AO=Sf,TO=L$,RO=F$,PO=j$,$O=U$,OO=K$;var kO={parse:Y$,valid:X$,clean:Z$,inc:J$,diff:Q$,major:eO,minor:tO,patch:nO,prerelease:rO,compare:sO,rcompare:oO,compareLoose:iO,compareBuild:aO,sort:lO,rsort:cO,gt:uO,lt:fO,eq:dO,neq:hO,gte:pO,lte:mO,cmp:gO,coerce:vO,Comparator:yO,Range:_O,satisfies:bO,toComparators:wO,maxSatisfying:EO,minSatisfying:SO,minVersion:xO,validRange:CO,outside:AO,gtr:TO,ltr:RO,intersects:PO,simplifyRange:$O,subset:OO,SemVer:q$,re:rc.re,src:rc.src,tokens:rc.t,SEMVER_SPEC_VERSION:gp.SEMVER_SPEC_VERSION,RELEASE_TYPES:gp.RELEASE_TYPES,compareIdentifiers:vp.compareIdentifiers,rcompareIdentifiers:vp.rcompareIdentifiers};const NO=O2(kO),sc=new Map;function P3(e,t){const n=e;return sc.has(n)||sc.set(n,DO(e,t)),sc.get(n)}function IO(){return mt("npm:check:nuxt",()=>we.checkForUpdateFor("nuxt"))}function LO(e){const t=IO();return oe(()=>t?.value?.current?NO.satisfies(t.value.current,e):!1)}function DO(e,t){const n=Ne(),r=mt(`npm:check:${e}`,()=>we.checkForUpdateFor(e)),s=U("idle"),o=U();n.hook("devtools:terminal:exit",({id:l,code:c})=>{l!==o||!o||(s.value=c===0?"updated":"idle")});async function i(l){if(s.value!=="idle")return;const c=await we.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return s.value="running",o.value=(await we.runNpmCommand(await eu(),"update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await we.restartNuxt(await eu())}return{info:r,state:s,update:i,restart:a,processId:o}}const Gs={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return LO("^3.5.0")}},Ws={icon:"carbon-image-copy",title:"Assets",layout:"full"},Ks={icon:"i-carbon-assembly-cluster",title:"Components",order:2},qs={layout:"full"},Ys={icon:"i-carbon-warning-alt-filled text-red",title:"Error",category:"app",show(){const e=ft();return()=>e.value?.nuxt?.payload?.error}},Xs={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},Zs={icon:"carbon-function",title:"Imports",order:3},Js={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},Qs={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=ft();return()=>!!e.value}},eo={icon:"carbon-information",title:"Overview",order:-100},to={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=ft();return()=>!!e.value},order:1},no={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=ft();return()=>!!e.value},order:7};function MO(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=oe(()=>cn(e)),i=r.key||LE([s,typeof o.value=="string"?o.value:"",...FO(r)]);if(!i||typeof i!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+i);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const a=i===s?"$f"+i:i;if(!r.baseURL&&typeof o.value=="string"&&o.value[0]==="/"&&o.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:u,transform:f,pick:d,watch:h,immediate:p,getCachedData:g,deep:m,dedupe:v,..._}=r,y=Pt({...KS,..._,cache:typeof r.cache=="boolean"?void 0:r.cache}),b={server:l,lazy:c,default:u,transform:f,pick:d,immediate:p,getCachedData:g,deep:m,dedupe:v,watch:h===!1?[]:[y,o,...h||[]]};let E;return U0(a,()=>{E?.abort?.(),E=typeof AbortController<"u"?new AbortController:{};const k=cn(r.timeout);return k&&setTimeout(()=>E.abort(),k),(r.$fetch||globalThis.$fetch)(o.value,{signal:E.signal,...y})},b)}function FO(e){const t=[cn(e.method)?.toUpperCase()||"GET",cn(e.baseURL)];for(const n of[e.params||e.query]){const r=cn(n);if(!r)continue;const s={};for(const[o,i]of Object.entries(r))s[cn(o)]=cn(i);t.push(s)}return t}function $3(e,t,n){return Math.min(n,Math.max(t,e))}const BO="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function jO(e=16,t=BO){let n="",r=e;const s=t.length;for(;r--;)n+=t[Math.random()*s|0];return n}function sy(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}function oy(){return mt("getServerPages",()=>we.getServerPages())}function zO(){return mt("getServerRoutes",()=>we.getServerRoutes())}function HO(){return mt("getServerTasks",()=>we.getServerTasks())}function O3(){return mt("getServerHooks",()=>we.getServerHooks())}function k3(){return mt("getServerLayouts",()=>we.getServerLayouts())}function N3(){return mt("getAutoImports",()=>we.getAutoImports())}function I3(){return mt("getStaticAssets",()=>we.getStaticAssets())}function iy(){return mt("getServerConfig",()=>we.getServerConfig())}function L3(){return mt("getServerRuntimeConfig",()=>we.getServerRuntimeConfig())}function D3(){return mt("getModuleOptions",()=>we.getModuleOptions())}function M3(){return mt("getServerApp",()=>we.getServerApp())}function UO(){return mt("getCustomTabs",()=>we.getCustomTabs())}function yp(){return mt("getTerminals",()=>we.getTerminals())}function F3(){return mt("getAnalyzeBuildInfo",()=>we.getAnalyzeBuildInfo())}function VO(){const{data:e}=MO("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function B3(){const e=oy(),t=Hv();return oe(()=>(t.value?.getRoutes()||[]).map(n=>sy(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const ro={icon:"i-logos-pinia",title:"Pinia",layout:"full",show(){const e=iy();return()=>e.value?.modules?.some(t=>t?.includes("@pinia/nuxt"))}},so={icon:"carbon-plug",title:"Plugins",category:"analyze"},oo={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=ft();return()=>!!e.value},order:6},io={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=zO();return()=>e.value?.length}},ay=U(await we.getOptions("assets")),GO=cl(ay);af(ay,async e=>{we.updateOptions("assets",e)},{deep:!0,flush:"post",debounce:500,maxWait:1e3});const ly=U(await we.getOptions("serverRoutes")),WO=cl(ly);af(ly,async e=>{we.updateOptions("serverRoutes",e)},{deep:!0,flush:"post",debounce:500,maxWait:1e3});const cy=U(await we.getOptions("serverTasks")),KO=cl(cy);af(cy,async e=>{we.updateOptions("serverTasks",e)},{deep:!0,flush:"post",debounce:500,maxWait:1e3});const qO={serverRoutes:WO,serverTasks:KO,assets:GO};function YO(e){return qO[e]}const ao={icon:"codicon-run-all",title:"Server Tasks",layout:"full",category:"server",show(){const{enabled:e}=YO("serverTasks"),t=HO();return()=>e.value?Object.keys(t.value?.tasks??{}).length:!1}},lo={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},co={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=yp();return()=>!!e.value?.length},badge(){const e=yp();return()=>e.value?.filter(t=>!t.isTerminated).length}},uo={icon:"i-carbon-roadmap",title:"Timeline",category:"analyze"},fo={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},ho={layout:"full"},_p=[{name:zs?.name??"__blank",path:zs?.path??"/__blank",meta:zs||{},alias:zs?.alias||[],redirect:zs?.redirect,component:()=>ve(()=>import("./Dlh-yUDi.js"),[],import.meta.url).then(e=>e.default||e)},{name:Hs?.name??"index",path:Hs?.path??"/",meta:Hs||{},alias:Hs?.alias||[],redirect:Hs?.redirect,component:()=>ve(()=>import("./B_ROKca0.js"),__vite__mapDeps([8,9,10]),import.meta.url).then(e=>e.default||e)},{name:Gs?.name??"modules-analyze-build",path:Gs?.path??"/modules/analyze-build",meta:Gs||{},alias:Gs?.alias||[],redirect:Gs?.redirect,component:()=>ve(()=>import("./DjE-sQMX.js"),__vite__mapDeps([11,12,13,14,15,10,16,17]),import.meta.url).then(e=>e.default||e)},{name:Ws?.name??"modules-assets",path:Ws?.path??"/modules/assets",meta:Ws||{},alias:Ws?.alias||[],redirect:Ws?.redirect,component:()=>ve(()=>import("./D8hnvtQ7.js"),__vite__mapDeps([18,10,19,20,21,22,23,12,24,13,14,15,25,26,27]),import.meta.url).then(e=>e.default||e)},{name:Ks?.name??"modules-components",path:Ks?.path??"/modules/components",meta:Ks||{},alias:Ks?.alias||[],redirect:Ks?.redirect,component:()=>ve(()=>import("./D_pwdbKS.js"),__vite__mapDeps([28,16,17,29,10,20,30,12,25,31,21,22,23,26]),import.meta.url).then(e=>e.default||e)},{name:qs?.name??"modules-custom-name",path:qs?.path??"/modules/custom-:name()",meta:qs||{},alias:qs?.alias||[],redirect:qs?.redirect,component:()=>ve(()=>import("./DUvGfBHy.js"),__vite__mapDeps([32,33,34,14]),import.meta.url).then(e=>e.default||e)},{name:Ys?.name??"modules-error",path:Ys?.path??"/modules/error",meta:Ys||{},alias:Ys?.alias||[],redirect:Ys?.redirect,component:()=>ve(()=>import("./DrTLrgyX.js"),__vite__mapDeps([35,36,12]),import.meta.url).then(e=>e.default||e)},{name:Xs?.name??"modules-hooks",path:Xs?.path??"/modules/hooks",meta:Xs||{},alias:Xs?.alias||[],redirect:Xs?.redirect,component:()=>ve(()=>import("./DzJVEN15.js"),__vite__mapDeps([37,38,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:Zs?.name??"modules-imports",path:Zs?.path??"/modules/imports",meta:Zs||{},alias:Zs?.alias||[],redirect:Zs?.redirect,component:()=>ve(()=>import("./HezyzoNS.js"),__vite__mapDeps([39,31,20,12,40,34,14,26,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:Js?.name??"modules-modules",path:Js?.path??"/modules/modules",meta:Js||{},alias:Js?.alias||[],redirect:Js?.redirect,component:()=>ve(()=>import("./D0GIdZjD.js"),__vite__mapDeps([41,12,42,30,13,14,15,10,21,22,23,19,20,9,43,16,17]),import.meta.url).then(e=>e.default||e)},{name:Qs?.name??"modules-open-graph",path:Qs?.path??"/modules/open-graph",meta:Qs||{},alias:Qs?.alias||[],redirect:Qs?.redirect,component:()=>ve(()=>import("./CQwJxTyO.js"),__vite__mapDeps([44,20,9,21,22,23,13,14,15,16,17,45]),import.meta.url).then(e=>e.default||e)},{name:eo?.name??"modules-overview",path:eo?.path??"/modules/overview",meta:eo||{},alias:eo?.alias||[],redirect:eo?.redirect,component:()=>ve(()=>import("./Cgy-yYrX.js"),__vite__mapDeps([46,42,30,13,14,15,10,29]),import.meta.url).then(e=>e.default||e)},{name:to?.name??"modules-pages",path:to?.path??"/modules/pages",meta:to||{},alias:to?.alias||[],redirect:to?.redirect,component:()=>ve(()=>import("./QUVBuzQ1.js"),__vite__mapDeps([47,30,12,21,22,23,33,34,14,16,17]),import.meta.url).then(e=>e.default||e)},{name:no?.name??"modules-payload",path:no?.path??"/modules/payload",meta:no||{},alias:no?.alias||[],redirect:no?.redirect,component:()=>ve(()=>import("./CmQBHnO5.js"),__vite__mapDeps([48,49,50,51,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:ro?.name??"modules-pinia",path:ro?.path??"/modules/pinia",meta:ro||{},alias:ro?.alias||[],redirect:ro?.redirect,component:()=>ve(()=>import("./DptAiT3z.js"),__vite__mapDeps([52,53]),import.meta.url).then(e=>e.default||e)},{name:so?.name??"modules-plugins",path:so?.path??"/modules/plugins",meta:so||{},alias:so?.alias||[],redirect:so?.redirect,component:()=>ve(()=>import("./3yXnKq4C.js"),__vite__mapDeps([54,12,30,38,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:oo?.name??"modules-runtime-configs",path:oo?.path??"/modules/runtime-configs",meta:oo||{},alias:oo?.alias||[],redirect:oo?.redirect,component:()=>ve(()=>import("./Bm01LnY_.js"),__vite__mapDeps([55,49,50,51,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:io?.name??"modules-server-routes",path:io?.path??"/modules/server-routes",meta:io||{},alias:io?.alias||[],redirect:io?.redirect,component:()=>ve(()=>import("./CYIc81Hh.js"),__vite__mapDeps([56,20,30,57,58,10,24,13,14,15,50,26,51,21,22,23,25]),import.meta.url).then(e=>e.default||e)},{name:ao?.name??"modules-server-tasks",path:ao?.path??"/modules/server-tasks",meta:ao||{},alias:ao?.alias||[],redirect:ao?.redirect,component:()=>ve(()=>import("./tVhGyT2d.js"),__vite__mapDeps([59,20,30,58,10,57,13,14,15,26,51,21,22,23,25]),import.meta.url).then(e=>e.default||e)},{name:lo?.name??"modules-storage",path:lo?.path??"/modules/storage",meta:lo||{},alias:lo?.alias||[],redirect:lo?.redirect,component:()=>ve(()=>import("./Bbe7V3sH.js"),__vite__mapDeps([60,57,9,12,51]),import.meta.url).then(e=>e.default||e)},{name:co?.name??"modules-terminals",path:co?.path??"/modules/terminals",meta:co||{},alias:co?.alias||[],redirect:co?.redirect,component:()=>ve(()=>import("./TDzLXguC.js"),__vite__mapDeps([61,62]),import.meta.url).then(e=>e.default||e)},{name:uo?.name??"modules-timeline",path:uo?.path??"/modules/timeline",meta:uo||{},alias:uo?.alias||[],redirect:uo?.redirect,component:()=>ve(()=>import("./CoH69PTx.js"),__vite__mapDeps([63,38,30,40,34,14,12,26,51,36,25,33,9,43,13,15,16,17,64]),import.meta.url).then(e=>e.default||e)},{name:fo?.name??"modules-virtual-files",path:fo?.path??"/modules/virtual-files",meta:fo||{},alias:fo?.alias||[],redirect:fo?.redirect,component:()=>ve(()=>import("./Dbt1lqd7.js"),__vite__mapDeps([65,20,13,14,15,16,17,66]),import.meta.url).then(e=>e.default||e)},{name:ho?.name??"settings",path:ho?.path??"/settings",meta:ho||{},alias:ho?.alias||[],redirect:ho?.redirect,component:()=>ve(()=>import("./CauQWwFB.js"),__vite__mapDeps([67,22,68,57,10,9]),import.meta.url).then(e=>e.default||e)}],uy=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?et(e,t,n):n.default?.()});function bp(e){const t=e?.meta.key??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function XO(e,t){return e===t||t===qt?!1:bp(e)!==bp(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}const ZO={scrollBehavior(e,t,n){const r=Ne(),s=rt().options?.scrollBehaviorType??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&XO(e,t)&&(o={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:wp(e.hash),behavior:s}:!1;const a=c=>!!(c.meta.pageTransition??jc),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(l,async()=>{await new Promise(u=>setTimeout(u,0)),e.hash&&(o={el:e.hash,top:wp(e.hash),behavior:s}),c(o)})})}};function wp(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const JO={hashMode:!1,scrollBehaviorType:"auto"},wn={...JO,...ZO},QO=async e=>{let t,n;if(!e.meta?.validate)return;const r=Ne(),s=rt();if(([t,n]=zo(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=oi({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=s.beforeResolve(l=>{if(a(),l===e){const c=s.afterEach(async()=>{c(),await r.runWithContext(()=>Jr(i)),window.history.pushState({},"",e.fullPath)});return!1}})},ek=ks("nuxt-devtools-first-visit",!0),tk=Q0(),nu=oe(()=>tk.width.value>1080),Zn=ks("nuxt-devtools-split-screen",!1),fy=ks("nuxt-devtools-split-screen-view","overview"),nk=ks("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0});ks("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1});const Af=U(await we.getOptions("ui")),rk=cl(Af);De(Af,async e=>{we.updateOptions("ui",e)},{deep:!0,flush:"post"});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(Af.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function Vr(){return rk}function sk(){return nk}const $a=U(await we.getOptions("behavior").then(e=>e.telemetry));De($a,async e=>{await we.updateOptions("behavior",{telemetry:e})});function vl(e,t,n=!1){$a.value!==!1&&we.telemetryEvent({event:e,browser:fn.browser.name,browserVersion:fn.browser.version,os:fn.os.name,osVersion:fn.os.version,deviceType:fn.device.type,inPopup:!!window.__NUXT_DEVTOOLS_IS_POPUP__,...t},n)}const ok=e=>{if(e.path==="/"&&!(ek.value||$a.value==null))return Mc("/modules/overview");if(e.path!=="/"&&$a.value==null)return Mc("/")},ik=async e=>{let t,n;const r=([t,n]=zo(()=>ef(e.path)),t=await t,n(),t);if(r.redirect)return Mn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},ak=[QO,ok,ik],ru={};function lk(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const c=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(c);return u[0]!=="/"&&(u="/"+u),Id(u,"")}const a=Id(r,e),l=!n||Uw(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":s)+o}const ck=Gt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=ol().app.baseURL;wn.hashMode&&!r.includes("#")&&(r+="#");const s=wn.history?.(r)??(wn.hashMode?Ix(r):F0(r)),o=wn.routes?.(_p)??_p;let i;const a=sC({...wn,scrollBehavior:(m,v,_)=>{if(v===qt){i=_;return}if(wn.scrollBehavior){if(a.options.scrollBehavior=wn.scrollBehavior,"scrollRestoration"in window.history){const y=a.beforeEach(()=>{y(),window.history.scrollRestoration="manual"})}return wn.scrollBehavior(m,qt,i||_)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=en(a.currentRoute.value);a.afterEach((m,v)=>{l.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=lk(r,window.location,e.payload.path),u=en(a.currentRoute.value),f=()=>{u.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((m,v)=>{m.matched[0]?.components?.default===v.matched[0]?.components?.default&&f()});const d={};for(const m in u.value)Object.defineProperty(d,m,{get:()=>u.value[m]});e._route=As(d),e._middleware=e._middleware||{global:[],named:{}};try{[t,n]=zo(()=>a.isReady()),await t,n()}catch(m){[t,n]=zo(()=>e.runWithContext(()=>Jr(m))),await t,n()}const h=c!==a.currentRoute.value.fullPath?a.resolve(c):a.currentRoute.value;f();const p=e.payload.state._layout;a.beforeEach(async(m,v)=>{await e.callHook("page:loading:start"),m.meta=Pt(m.meta),e.isHydrating&&p&&!ds(m.meta.layout)&&(m.meta.layout=p),e._processingMiddleware=!0;{const _=new Set([...ak,...e._middleware.global]);for(const y of m.matched){const b=y.meta.middleware;if(b)for(const E of sf(b))_.add(E)}{const y=await e.runWithContext(()=>ef(m.path));if(y.appMiddleware)for(const b in y.appMiddleware)y.appMiddleware[b]?_.add(b):_.delete(b)}for(const y of _){const b=typeof y=="string"?e._middleware.named[y]||await ru[y]?.().then(C=>C.default||C):y;if(!b)throw new Error(`Unknown route middleware: '${y}'.`);const E=await e.runWithContext(()=>b(m,v));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const C=E||Lc({statusCode:404,statusMessage:`Page Not Found: ${c}`});return await e.runWithContext(()=>Jr(C)),!1}if(E!==!0&&(E||E===!1))return E}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")});const g=il();return a.afterEach(async(m,v,_)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(GE),_&&await e.callHook("page:loading:end"),m.matched.length===0&&await e.runWithContext(()=>Jr(Lc({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`,data:{path:m.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in h&&(h.name=void 0),await a.replace({...h,force:!0}),a.options.scrollBehavior=wn.scrollBehavior}catch(m){await e.runWithContext(()=>Jr(m))}}),{provide:{router:a}}}}),uk=Gt({name:"nuxt:payload",setup(e){rt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Xd(t.path);r&&Object.assign(e.static.data,r.data)}),of(()=>{e.hooks.hook("link:prefetch",async t=>{ri(t).protocol||await Xd(t)}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(al,1e3)})}}),fk=Gt(e=>{let t;async function n(){const r=await al();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const s=await $fetch(Ju("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}of(()=>{t=setTimeout(n,1e3*60*60)})}),dk=Gt({name:"nuxt:global-components"}),Jn={default:()=>ve(()=>import("./Dpi9Vpa4.js"),[],import.meta.url).then(e=>e.default||e),full:()=>ve(()=>import("./E3u_JT2d.js"),[],import.meta.url).then(e=>e.default||e),none:()=>ve(()=>import("./gY9iaHZB.js"),[],import.meta.url).then(e=>e.default||e)},hk=Gt({name:"nuxt:prefetch",setup(e){const t=rt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Jn[r]=="function"&&await Jn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Mn(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=sf(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof ru[i]=="function"&&ru[i]();s&&typeof Jn[s]=="function"&&Jn[s]()})}}),pk="__NUXT_COLOR_MODE__",mk="ColorScheme",gk="nuxt-color-mode",En=window[pk]||{},vk=Gt(e=>{const t=Ps("color-mode",()=>Pt({preference:En.preference,value:En.value,unknown:!1,forced:!1})).value;rt().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?En.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=En.getColorScheme())}))}De(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=En.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(gk,s))},{immediate:!0}),De(()=>t.value,(s,o)=>{En.removeColorScheme(o),En.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=En.preference,t.value=En.value,t.unknown=!1)}),e.provide("colorMode",t)}),yk=Gt(()=>{});function _k(e={}){const t=e.path||window.location.pathname;let n={};try{n=da(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.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:Ne().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const bk=Gt({name:"nuxt:chunk-reload",setup(e){const t=rt(),n=ol(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const a="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:rl(n.app.baseURL,o.fullPath);_k({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),wk=["top","right","bottom","left"],Ep=["start","end"],Sp=wk.reduce((e,t)=>e.concat(t,t+"-"+Ep[0],t+"-"+Ep[1]),[]),qo=Math.min,br=Math.max,Ek={left:"right",right:"left",bottom:"top",top:"bottom"},Sk={start:"end",end:"start"};function su(e,t,n){return br(e,qo(t,n))}function Gr(e,t){return typeof e=="function"?e(t):e}function yn(e){return e.split("-")[0]}function Jt(e){return e.split("-")[1]}function dy(e){return e==="x"?"y":"x"}function Tf(e){return e==="y"?"height":"width"}function ui(e){return["top","bottom"].includes(yn(e))?"y":"x"}function Rf(e){return dy(ui(e))}function hy(e,t,n){n===void 0&&(n=!1);const r=Jt(e),s=Rf(e),o=Tf(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=ka(i)),[i,ka(i)]}function xk(e){const t=ka(e);return[Oa(e),t,Oa(t)]}function Oa(e){return e.replace(/start|end/g,t=>Sk[t])}function Ck(e,t,n){const r=["left","right"],s=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:r:t?r:s;case"left":case"right":return t?o:i;default:return[]}}function Ak(e,t,n,r){const s=Jt(e);let o=Ck(yn(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(Oa)))),o}function ka(e){return e.replace(/left|right|bottom|top/g,t=>Ek[t])}function Tk(e){return{top:0,right:0,bottom:0,left:0,...e}}function py(e){return typeof e!="number"?Tk(e):{top:e,right:e,bottom:e,left:e}}function Po(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function xp(e,t,n){let{reference:r,floating:s}=e;const o=ui(t),i=Rf(t),a=Tf(i),l=yn(t),c=o==="y",u=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,d=r[a]/2-s[a]/2;let h;switch(l){case"top":h={x:u,y:r.y-s.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-s.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Jt(t)){case"start":h[i]-=d*(n&&c?-1:1);break;case"end":h[i]+=d*(n&&c?-1:1);break}return h}const Rk=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:u,y:f}=xp(c,r,l),d=r,h={},p=0;for(let g=0;g<a.length;g++){const{name:m,fn:v}=a[g],{x:_,y,data:b,reset:E}=await v({x:u,y:f,initialPlacement:r,placement:d,strategy:s,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});if(u=_??u,f=y??f,h={...h,[m]:{...h[m],...b}},E&&p<=50){p++,typeof E=="object"&&(E.placement&&(d=E.placement),E.rects&&(c=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):E.rects),{x:u,y:f}=xp(c,d,l)),g=-1;continue}}return{x:u,y:f,placement:d,strategy:s,middlewareData:h}};async function yl(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Gr(t,e),p=py(h),m=a[d?f==="floating"?"reference":"floating":f],v=Po(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(m)))==null||n?m:m.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),_=f==="floating"?{...i.floating,x:r,y:s}:i.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),b=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},E=Po(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:y,strategy:l}):_);return{top:(v.top-E.top+p.top)/b.y,bottom:(E.bottom-v.bottom+p.bottom)/b.y,left:(v.left-E.left+p.left)/b.x,right:(E.right-v.right+p.right)/b.x}}const Pk=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a}=t,{element:l,padding:c=0}=Gr(e,t)||{};if(l==null)return{};const u=py(c),f={x:n,y:r},d=Rf(s),h=Tf(d),p=await i.getDimensions(l),g=d==="y",m=g?"top":"left",v=g?"bottom":"right",_=g?"clientHeight":"clientWidth",y=o.reference[h]+o.reference[d]-f[d]-o.floating[h],b=f[d]-o.reference[d],E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let C=E?E[_]:0;(!C||!await(i.isElement==null?void 0:i.isElement(E)))&&(C=a.floating[_]||o.floating[h]);const k=y/2-b/2,O=C/2-p[h]/2-1,D=qo(u[m],O),P=qo(u[v],O),L=D,A=C-p[h]-P,S=C/2-p[h]/2+k,T=su(L,S,A),R=Jt(s)!=null&&S!=T&&o.reference[h]/2-(S<L?D:P)-p[h]/2<0?S<L?L-S:A-S:0;return{[d]:f[d]-R,data:{[d]:T,centerOffset:S-T+R}}}});function $k(e,t,n){return(e?[...n.filter(s=>Jt(s)===e),...n.filter(s=>Jt(s)!==e)]:n.filter(s=>yn(s)===s)).filter(s=>e?Jt(s)===e||(t?Oa(s)!==s:!1):!0)}const Ok=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,s;const{rects:o,middlewareData:i,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=Sp,autoAlignment:h=!0,...p}=Gr(e,t),g=f!==void 0||d===Sp?$k(f||null,h,d):d,m=await yl(t,p),v=((n=i.autoPlacement)==null?void 0:n.index)||0,_=g[v];if(_==null)return{};const y=hy(_,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==_)return{reset:{placement:g[0]}};const b=[m[yn(_)],m[y[0]],m[y[1]]],E=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:_,overflows:b}],C=g[v+1];if(C)return{data:{index:v+1,overflows:E},reset:{placement:C}};const k=E.map(P=>{const L=Jt(P.placement);return[P.placement,L&&u?P.overflows.slice(0,2).reduce((A,S)=>A+S,0):P.overflows[0],P.overflows]}).sort((P,L)=>P[1]-L[1]),D=((s=k.filter(P=>P[2].slice(0,Jt(P[0])?2:3).every(L=>L<=0))[0])==null?void 0:s[0])||k[0][0];return D!==a?{data:{index:v+1,overflows:E},reset:{placement:D}}:{}}}},kk=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:s,rects:o,initialPlacement:i,platform:a,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...g}=Gr(e,t),m=yn(r),v=yn(i)===i,_=await(a.isRTL==null?void 0:a.isRTL(l.floating)),y=f||(v||!p?[ka(i)]:xk(i));!f&&h!=="none"&&y.push(...Ak(i,p,h,_));const b=[i,...y],E=await yl(t,g),C=[];let k=((n=s.flip)==null?void 0:n.overflows)||[];if(c&&C.push(E[m]),u){const L=hy(r,o,_);C.push(E[L[0]],E[L[1]])}if(k=[...k,{placement:r,overflows:C}],!C.every(L=>L<=0)){var O,D;const L=(((O=s.flip)==null?void 0:O.index)||0)+1,A=b[L];if(A)return{data:{index:L,overflows:k},reset:{placement:A}};let S=(D=k.filter(T=>T.overflows[0]<=0).sort((T,B)=>T.overflows[1]-B.overflows[1])[0])==null?void 0:D.placement;if(!S)switch(d){case"bestFit":{var P;const T=(P=k.map(B=>[B.placement,B.overflows.filter(R=>R>0).reduce((R,$)=>R+$,0)]).sort((B,R)=>B[1]-R[1])[0])==null?void 0:P[0];T&&(S=T);break}case"initialPlacement":S=i;break}if(r!==S)return{reset:{placement:S}}}return{}}}};async function Nk(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=yn(n),a=Jt(n),l=ui(n)==="y",c=["left","top"].includes(i)?-1:1,u=o&&l?-1:1,f=Gr(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof p=="number"&&(h=a==="end"?p*-1:p),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}const Ik=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,s=await Nk(t,e);return{x:n+s.x,y:r+s.y,data:s}}}},Lk=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:m=>{let{x:v,y:_}=m;return{x:v,y:_}}},...l}=Gr(e,t),c={x:n,y:r},u=await yl(t,l),f=ui(yn(s)),d=dy(f);let h=c[d],p=c[f];if(o){const m=d==="y"?"top":"left",v=d==="y"?"bottom":"right",_=h+u[m],y=h-u[v];h=su(_,h,y)}if(i){const m=f==="y"?"top":"left",v=f==="y"?"bottom":"right",_=p+u[m],y=p-u[v];p=su(_,p,y)}const g=a.fn({...t,[d]:h,[f]:p});return{...g,data:{x:g.x-n,y:g.y-r}}}}},Dk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:s,elements:o}=t,{apply:i=()=>{},...a}=Gr(e,t),l=await yl(t,a),c=yn(n),u=Jt(n),f=ui(n)==="y",{width:d,height:h}=r.floating;let p,g;c==="top"||c==="bottom"?(p=c,g=u===(await(s.isRTL==null?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(g=c,p=u==="end"?"top":"bottom");const m=h-l[p],v=d-l[g],_=!t.middlewareData.shift;let y=m,b=v;if(f){const C=d-l.left-l.right;b=u||_?qo(v,C):C}else{const C=h-l.top-l.bottom;y=u||_?qo(m,C):C}if(_&&!u){const C=br(l.left,0),k=br(l.right,0),O=br(l.top,0),D=br(l.bottom,0);f?b=d-2*(C!==0||k!==0?C+k:br(l.left,l.right)):y=h-2*(O!==0||D!==0?O+D:br(l.top,l.bottom))}await i({...t,availableWidth:b,availableHeight:y});const E=await s.getDimensions(o.floating);return d!==E.width||h!==E.height?{reset:{rects:!0}}:{}}}};function zt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pn(e){return zt(e).getComputedStyle(e)}const Cp=Math.min,$o=Math.max,Na=Math.round;function my(e){const t=pn(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=Na(n)!==s||Na(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function ar(e){return vy(e)?(e.nodeName||"").toLowerCase():""}let Fi;function gy(){if(Fi)return Fi;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Fi=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Fi):navigator.userAgent}function mn(e){return e instanceof zt(e).HTMLElement}function sr(e){return e instanceof zt(e).Element}function vy(e){return e instanceof zt(e).Node}function Ap(e){return typeof ShadowRoot>"u"?!1:e instanceof zt(e).ShadowRoot||e instanceof ShadowRoot}function _l(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=pn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function Mk(e){return["table","td","th"].includes(ar(e))}function ou(e){const t=/firefox/i.test(gy()),n=pn(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(s=>n.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const o=n.contain;return o!=null&&o.includes(s)})}function yy(){return!/^((?!chrome|android).)*safari/i.test(gy())}function Pf(e){return["html","body","#document"].includes(ar(e))}function _y(e){return sr(e)?e:e.contextElement}const by={x:1,y:1};function us(e){const t=_y(e);if(!mn(t))return by;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=my(t);let i=(o?Na(n.width):n.width)/r,a=(o?Na(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Yo(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=_y(e);let l=by;t&&(r?sr(r)&&(l=us(r)):l=us(e));const c=a?zt(a):window,u=!yy()&&n;let f=(i.left+(u&&((s=c.visualViewport)==null?void 0:s.offsetLeft)||0))/l.x,d=(i.top+(u&&((o=c.visualViewport)==null?void 0:o.offsetTop)||0))/l.y,h=i.width/l.x,p=i.height/l.y;if(a){const g=zt(a),m=r&&sr(r)?zt(r):r;let v=g.frameElement;for(;v&&r&&m!==g;){const _=us(v),y=v.getBoundingClientRect(),b=getComputedStyle(v);y.x+=(v.clientLeft+parseFloat(b.paddingLeft))*_.x,y.y+=(v.clientTop+parseFloat(b.paddingTop))*_.y,f*=_.x,d*=_.y,h*=_.x,p*=_.y,f+=y.x,d+=y.y,v=zt(v).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function or(e){return((vy(e)?e.ownerDocument:e.document)||window.document).documentElement}function bl(e){return sr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function wy(e){return Yo(or(e)).left+bl(e).scrollLeft}function Xo(e){if(ar(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ap(e)&&e.host||or(e);return Ap(t)?t.host:t}function Ey(e){const t=Xo(e);return Pf(t)?t.ownerDocument.body:mn(t)&&_l(t)?t:Ey(t)}function Ia(e,t){var n;t===void 0&&(t=[]);const r=Ey(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=zt(r);return s?t.concat(o,o.visualViewport||[],_l(r)?r:[]):t.concat(r,Ia(r))}function Tp(e,t,n){return t==="viewport"?Po(function(r,s){const o=zt(r),i=or(r),a=o.visualViewport;let l=i.clientWidth,c=i.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=yy();(d||!d&&s==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):sr(t)?Po(function(r,s){const o=Yo(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,l=mn(r)?us(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:i*l.y}}(t,n)):Po(function(r){const s=or(r),o=bl(r),i=r.ownerDocument.body,a=$o(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),l=$o(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let c=-o.scrollLeft+wy(r);const u=-o.scrollTop;return pn(i).direction==="rtl"&&(c+=$o(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(or(e)))}function Rp(e){return mn(e)&&pn(e).position!=="fixed"?e.offsetParent:null}function Pp(e){const t=zt(e);let n=Rp(e);for(;n&&Mk(n)&&pn(n).position==="static";)n=Rp(n);return n&&(ar(n)==="html"||ar(n)==="body"&&pn(n).position==="static"&&!ou(n))?t:n||function(r){let s=Xo(r);for(;mn(s)&&!Pf(s);){if(ou(s))return s;s=Xo(s)}return null}(e)||t}function Fk(e,t,n){const r=mn(t),s=or(t),o=Yo(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((ar(t)!=="body"||_l(s))&&(i=bl(t)),mn(t)){const l=Yo(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=wy(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const Bk={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=Ia(c).filter(m=>sr(m)&&ar(m)!=="body"),h=null;const p=pn(c).position==="fixed";let g=p?Xo(c):c;for(;sr(g)&&!Pf(g);){const m=pn(g),v=ou(g);(p?v||h:v||m.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=m:d=d.filter(_=>_!==g),g=Xo(g)}return u.set(c,d),d}(t,this._c):[].concat(n),i=[...o,r],a=i[0],l=i.reduce((c,u)=>{const f=Tp(t,u,s);return c.top=$o(f.top,c.top),c.right=Cp(f.right,c.right),c.bottom=Cp(f.bottom,c.bottom),c.left=$o(f.left,c.left),c},Tp(t,a,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=mn(n),o=or(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((s||!s&&r!=="fixed")&&((ar(n)!=="body"||_l(o))&&(i=bl(n)),mn(n))){const c=Yo(n);a=us(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+l.x,y:t.y*a.y-i.scrollTop*a.y+l.y}},isElement:sr,getDimensions:function(e){return mn(e)?my(e):e.getBoundingClientRect()},getOffsetParent:Pp,getDocumentElement:or,getScale:us,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||Pp,o=this.getDimensions;return{reference:Fk(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>pn(e).direction==="rtl"},jk=(e,t,n)=>{const r=new Map,s={platform:Bk,...n},o={...s.platform,_c:r};return Rk(e,t,{...s,platform:o})};function Sy(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Sy(e[n],t[n]):e[n]=t[n])}const Pn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:0,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Zo(e,t){let n=Pn.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Pn.themes[n.$extend]||{}:(n=null,r=Pn[t]):n=null;while(n);return r}function zk(e){const t=[e];let n=Pn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Pn.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function $p(e){const t=[e];let n=Pn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Pn.themes[n.$extend]||{}):n=null;while(n);return t}let jr=!1;if(typeof window<"u"){jr=!1;try{const e=Object.defineProperty({},"passive",{get(){jr=!0}});window.addEventListener("test",null,e)}catch{}}let xy=!1;typeof window<"u"&&typeof navigator<"u"&&(xy=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Cy=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Op={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},kp={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Np(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function oc(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Xt=[];let yr=null;const Ip={};function Lp(e){let t=Ip[e];return t||(t=Ip[e]=[]),t}let iu=function(){};typeof window<"u"&&(iu=window.Element);function Pe(e){return function(t){return Zo(t.theme,e)}}const ic="__floating-vue__popper",Ay=()=>Ae({name:"VPopper",provide(){return{[ic]:{parentPopper:this}}},inject:{[ic]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:Pe("disabled")},positioningDisabled:{type:Boolean,default:Pe("positioningDisabled")},placement:{type:String,default:Pe("placement"),validator:e=>Cy.includes(e)},delay:{type:[String,Number,Object],default:Pe("delay")},distance:{type:[Number,String],default:Pe("distance")},skidding:{type:[Number,String],default:Pe("skidding")},triggers:{type:Array,default:Pe("triggers")},showTriggers:{type:[Array,Function],default:Pe("showTriggers")},hideTriggers:{type:[Array,Function],default:Pe("hideTriggers")},popperTriggers:{type:Array,default:Pe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Pe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Pe("popperHideTriggers")},container:{type:[String,Object,iu,Boolean],default:Pe("container")},boundary:{type:[String,iu],default:Pe("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Pe("strategy")},autoHide:{type:[Boolean,Function],default:Pe("autoHide")},handleResize:{type:Boolean,default:Pe("handleResize")},instantMove:{type:Boolean,default:Pe("instantMove")},eagerMount:{type:Boolean,default:Pe("eagerMount")},popperClass:{type:[String,Array,Object],default:Pe("popperClass")},computeTransformOrigin:{type:Boolean,default:Pe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Pe("autoMinSize")},autoSize:{type:[Boolean,String],default:Pe("autoSize")},autoMaxSize:{type:Boolean,default:Pe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Pe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Pe("preventOverflow")},overflowPadding:{type:[Number,String],default:Pe("overflowPadding")},arrowPadding:{type:[Number,String],default:Pe("arrowPadding")},arrowOverflow:{type:Boolean,default:Pe("arrowOverflow")},flip:{type:Boolean,default:Pe("flip")},shift:{type:Boolean,default:Pe("shift")},shiftCrossAxis:{type:Boolean,default:Pe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Pe("noAutoFocus")},disposeTimeout:{type:Number,default:Pe("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ic])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,s;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Ik({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Ok({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Lk({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(kk({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Pk({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:s,middlewareData:o})=>{let i;const{centerOffset:a}=o.arrow;return r.startsWith("top")||r.startsWith("bottom")?i=Math.abs(a)>s.reference.width/2:i=Math.abs(a)>s.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:o,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let l,c;return o.startsWith("top")||o.startsWith("bottom")?l=s.reference.width:c=s.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Dk({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:s})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await jk(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),yr&&this.instantMove&&yr.instantMove&&yr!==this.parentPopper){yr.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(yr=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await oc(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Ia(this.$_referenceNode),...Ia(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(r.left+n.offsetLeft),o=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${s}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<Xt.length;n++)t=Xt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Xt.push(this),document.body.classList.add("v-popper--some-open");for(const t of $p(this.theme))Lp(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await oc(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Np(Xt,this),Xt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of $p(this.theme)){const r=Lp(n);Np(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}yr===this&&(yr=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await oc(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Op,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Op,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,kp,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],kp,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,jr?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,s){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:s,handler:o}=n;!e||e===s?r.forEach(i=>i.removeEventListener(s,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Oo>=e.left&&Oo<=e.right&&ko>=e.top&&ko<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Oo-Un,r=ko-Vn,s=t.left+t.width/2-Un+(t.top+t.height/2)-Vn+t.width+t.height,o=Un+n*s,i=Vn+r*s;return Bi(Un,Vn,o,i,t.left,t.top,t.left,t.bottom)||Bi(Un,Vn,o,i,t.left,t.top,t.right,t.top)||Bi(Un,Vn,o,i,t.right,t.top,t.right,t.bottom)||Bi(Un,Vn,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(xy?(document.addEventListener("touchstart",Dp,jr?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Uk,jr?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Dp,!0),window.addEventListener("click",Hk,!0)),window.addEventListener("resize",Wk));function Dp(e){for(let t=0;t<Xt.length;t++){const n=Xt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function Hk(e){Ty(e)}function Uk(e){Ty(e,!0)}function Ty(e,t=!1){const n={};for(let r=Xt.length-1;r>=0;r--){const s=Xt[r];try{const o=s.$_containsGlobalTarget=Vk(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&Mp(s,o,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=s.parentPopper;for(;i&&Mp(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function Vk(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Mp(e,t,n){return n.closeAllPopover||n.closePopover&&t||Gk(e,n)&&!t}function Gk(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Wk(e){for(let t=0;t<Xt.length;t++)Xt[t].$_computePosition(e)}let Un=0,Vn=0,Oo=0,ko=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Un=Oo,Vn=ko,Oo=e.clientX,ko=e.clientY},jr?{passive:!0}:void 0);function Bi(e,t,n,r,s,o,i,a){const l=((i-s)*(t-o)-(a-o)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t)),c=((n-e)*(t-o)-(r-t)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const Kk={extends:Ay()},wl=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function qk(e,t,n,r,s,o){return Y(),ge("div",{ref:"reference",class:Qe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[tt(e.$slots,"default",Tu(Qa(e.slotData)))],2)}const Yk=wl(Kk,[["render",qk]]);function Xk(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let Xi;function au(){au.init||(au.init=!0,Xi=Xk()!==-1)}var El={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){au(),Lt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Xi&&this.$el.appendChild(e),e.data="about:blank",Xi||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Xi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Zk=x1();E1("data-v-b329ee4c");const Jk={class:"resize-observer",tabindex:"-1"};S1();const Qk=Zk((e,t,n,r,s,o)=>(Y(),xe("div",Jk)));El.render=Qk;El.__scopeId="data-v-b329ee4c";El.__file="src/components/ResizeObserver.vue";const Ry=(e="theme")=>({computed:{themeClass(){return zk(this[e])}}}),eN=Ae({name:"VPopperContent",components:{ResizeObserver:El},mixins:[Ry()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),tN=["id","aria-hidden","tabindex","data-popper-placement"],nN={ref:"inner",class:"v-popper__inner"},rN=V("div",{class:"v-popper__arrow-outer"},null,-1),sN=V("div",{class:"v-popper__arrow-inner"},null,-1),oN=[rN,sN];function iN(e,t,n,r,s,o){const i=On("ResizeObserver");return Y(),ge("div",{id:e.popperId,ref:"popover",class:Qe(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:hn(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Jg(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[V("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),V("div",{class:"v-popper__wrapper",style:hn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[V("div",nN,[e.mounted?(Y(),ge(Le,{key:0},[V("div",null,[tt(e.$slots,"default")]),e.handleResize?(Y(),xe(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):We("",!0)],64)):We("",!0)],512),V("div",{ref:"arrow",class:"v-popper__arrow-container",style:hn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},oN,4)],4)],46,tN)}const Py=wl(eN,[["render",iN]]),$y={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let lu=function(){};typeof window<"u"&&(lu=window.Element);const aN=Ae({name:"VPopperWrapper",components:{Popper:Yk,PopperContent:Py},mixins:[$y,Ry("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,lu,Boolean],default:void 0},boundary:{type:[String,lu],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function lN(e,t,n,r,s,o){const i=On("PopperContent"),a=On("Popper");return Y(),xe(a,Nn({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:ue(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:h,hide:p,handleResize:g,onResize:m,classes:v,result:_})=>[tt(e.$slots,"default",{shown:c,show:h,hide:p}),K(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":g,classes:v,result:_,onHide:p,onResize:m},{default:ue(()=>[tt(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const $f=wl(aN,[["render",lN]]),cN={...$f,name:"VDropdown",vPopperTheme:"dropdown"},uN={...$f,name:"VMenu",vPopperTheme:"menu"},fN={...$f,name:"VTooltip",vPopperTheme:"tooltip"},dN=Ae({name:"VTooltipDirective",components:{Popper:Ay(),PopperContent:Py},mixins:[$y],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Zo(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Zo(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),hN=["innerHTML"],pN=["textContent"];function mN(e,t,n,r,s,o){const i=On("PopperContent"),a=On("Popper");return Y(),xe(a,Nn({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:ue(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:h,handleResize:p,onResize:g,classes:m,result:v})=>[K(i,{ref:"popperContent",class:Qe({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":p,classes:m,result:v,onHide:h,onResize:g},{default:ue(()=>[e.html?(Y(),ge("div",{key:0,innerHTML:e.finalContent},null,8,hN)):(Y(),ge("div",{key:1,textContent:bt(e.finalContent)},null,8,pN))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const gN=wl(dN,[["render",mN]]),Oy="v-popper--has-tooltip";function vN(e,t){let n=e.placement;if(!n&&t)for(const r of Cy)t[r]&&(n=r);return n||(n=Zo(e.theme||"tooltip","placement")),n}function ky(e,t,n){let r;const s=typeof t;return s==="string"?r={content:t}:t&&s==="object"?r=t:r={content:!1},r.placement=vN(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let ac,Jo,yN=0;function _N(){if(ac)return;Jo=U([]),ac=e0({name:"VTooltipDirectiveApp",setup(){return{directives:Jo}},render(){return this.directives.map(t=>et(gN,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ac.mount(e)}function bN(e,t,n){_N();const r=U(ky(e,t,n)),s=U(!1),o={id:yN++,options:r,shown:s};return Jo.value.push(o),e.classList&&e.classList.add(Oy),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function Ny(e){if(e.$_popper){const t=Jo.value.indexOf(e.$_popper.item);t!==-1&&Jo.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Oy)}function Fp(e,{value:t,modifiers:n}){const r=ky(e,t,n);if(!r.content||Zo(r.theme||"tooltip","disabled"))Ny(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=bN(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const wN={beforeMount:Fp,updated:Fp,beforeUnmount(e){Ny(e)}};function Bp(e){e.addEventListener("click",Iy),e.addEventListener("touchstart",Ly,jr?{passive:!0}:!1)}function jp(e){e.removeEventListener("click",Iy),e.removeEventListener("touchstart",Ly),e.removeEventListener("touchend",Dy),e.removeEventListener("touchcancel",My)}function Iy(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ly(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Dy),t.addEventListener("touchcancel",My)}}function Dy(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function My(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const EN={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Bp(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Bp(e):jp(e))},beforeUnmount(e){jp(e)}};function SN(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Sy(Pn,t),e.directive("tooltip",wN),e.directive("close-popper",EN),e.component("VTooltip",fN),e.component("VDropdown",cN),e.component("VMenu",uN))}const xN={version:"5.0.2",install:SN,options:Pn},CN=Gt(e=>{e.vueApp.use(xN)}),AN=Gt(()=>{const e=ft(),t=v2(),n=rt();function r(){eg(e)}function s(i){t.value=i}function o(i,a,l,c){const u=`./${a}:${l}:${c}`;we.openInEditor(u)}Object.defineProperty(window,"__NUXT_DEVTOOLS_VIEW__",{value:{setClient(i){e.value!==i&&(e.value=i,i.hooks.hook("host:update:reactivity",r),i.hooks.hook("host:inspector:update",s),i.hooks.hook("host:inspector:click",o),i.hooks.hook("host:action:reload",()=>location.reload()),i.hooks.hook("host:action:navigate",a=>n.push(a)),console.log("[nuxt-devtools] Client connected",i))}},enumerable:!1,configurable:!0}),n.afterEach(()=>{const i=n.currentRoute.value?.path;!i||i.includes("__")||e.value?.hooks.callHook("devtools:navigate",i)})}),TN=[tx,rx,ck,uk,fk,dk,hk,vk,yk,bk,CN,AN];function RN(e,t){const n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function PN(e={}){const{duration:t=2e3,throttle:n=200,hideDelay:r=500,resetDelay:s=400}=e,o=e.estimatedProgress||RN,i=Ne(),a=U(0),l=U(!1);let c=!1,u,f,d,h;const p=()=>g(0);function g(C=0){if(!i.isHydrating){if(C>=100)return v();y(),a.value=C<0?0:C,n?f=setTimeout(()=>{l.value=!0,b()},n):(l.value=!0,b())}}function m(){d=setTimeout(()=>{l.value=!1,h=setTimeout(()=>{a.value=0},s)},r)}function v(C={}){a.value=100,c=!0,y(),_(),C.force?(a.value=0,l.value=!1):m()}function _(){clearTimeout(d),clearTimeout(h)}function y(){clearTimeout(f),cancelAnimationFrame(u)}function b(){c=!1;let C;function k(O){if(c)return;C??=O;const D=O-C;a.value=Math.max(0,Math.min(100,o(t,D))),u=requestAnimationFrame(k)}u=requestAnimationFrame(k)}let E=()=>{};{const C=i.hook("page:loading:start",()=>{p()}),k=i.hook("page:loading:end",()=>{v()}),O=i.hook("vue:error",()=>v());E=()=>{O(),C(),k(),y()}}return{_cleanup:E,progress:oe(()=>a.value),isLoading:oe(()=>l.value),start:p,set:g,finish:v,clear:y}}function $N(e={}){const t=Ne(),n=t._loadingIndicator=t._loadingIndicator||PN(e);return Va()&&(t._loadingIndicatorDeps=t._loadingIndicatorDeps||0,t._loadingIndicatorDeps++,ea(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}const ON=Ae({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){const{progress:r,isLoading:s,start:o,finish:i,clear:a}=$N({duration:e.duration,throttle:e.throttle,estimatedProgress:e.estimatedProgress});return n({progress:r,isLoading:s,start:o,finish:i,clear:a}),()=>et("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:s.value?1:0,background:e.color||void 0,backgroundSize:`${100/r.value*100}% auto`,transform:`scaleX(${r.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}}),kN=Ae({__name:"NNotification",setup(e){const t=U(!1),n=U(),r=U(),s=U(),o=U("top-center");return R2(i=>{r.value=i.message,n.value=i.icon,s.value=i.classes??"text-primary border-primary",n.value=i.icon,t.value=!0,o.value=i.position??"top-center",setTimeout(()=>{t.value=!1},i.duration??1500)}),(i,a)=>(Y(),ge("div",{fixed:"","left-0":"","right-0":"","z-999":"","text-center":"",class:Qe([{"pointer-events-none overflow-hidden":!t.value},{"top-0":o.value.startsWith("top")},{"bottom-0":o.value.startsWith("bottom")}])},[V("div",{flex:"",style:hn({justifyContent:o.value.includes("right")?"right":o.value.includes("left")?"left":"center"})},[V("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:hn(t.value?{}:{transform:`translateY(${o.value.startsWith("top")?"-":""}300%)`}),class:Qe([t.value?"shadow":"shadow-none",s.value])},[n.value?(Y(),ge("div",{key:0,class:Qe(n.value)},null,2)):We("",!0),V("div",null,bt(r.value),1)],6)],4)],2))}}),fi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},NN={},IN={class:"n-loading n-panel-grids-center"},LN={class:"flex flex-col animate-pulse items-center text-lg"},DN=V("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function MN(e,t){return Y(),ge("div",IN,[V("div",LN,[DN,tt(e.$slots,"default",{},()=>[Re(" Loading... ")])])])}const FN=fi(NN,[["render",MN]]),Ls=Ae({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Y(),ge("div",{class:Qe(["n-icon",t.icon])},null,2))}});async function Fy(e,t=rt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>Fy(e,t));t._routePreloaded.add(n);const o=r.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}const BN=(...e)=>e.find(t=>t!==void 0);function jN(e){const t=e.componentName||"NuxtLink";function n(r,s){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return zp(r,e.trailingSlash);const o="path"in r&&r.path!==void 0?r.path:s(r).path;return{...r,name:void 0,path:zp(o,e.trailingSlash)}}return Ae({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:s}){const o=rt(),i=ol(),a=oe(()=>{const p=r.to||r.href||"";return n(p,o.resolve)}),l=oe(()=>typeof a.value=="string"&&Mn(a.value,{acceptRelative:!0})),c=oe(()=>r.target&&r.target!=="_self"),u=oe(()=>r.external||c.value?!0:typeof a.value=="object"?!1:a.value===""||l.value),f=U(!1),d=U(null),h=p=>{d.value=r.custom?p?.$el?.nextElementSibling:p?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!HN()){const g=Ne();let m,v=null;Dn(()=>{const _=zN();of(()=>{m=Gc(()=>{d?.value?.tagName&&(v=_.observe(d.value,async()=>{v?.(),v=null;const y=typeof a.value=="string"?a.value:o.resolve(a.value).fullPath;await Promise.all([g.hooks.callHook("link:prefetch",y).catch(()=>{}),!u.value&&Fy(a.value,o).catch(()=>{})]),f.value=!0}))})})}),ti(()=>{m&&cC(m),v?.(),v=null})}return()=>{if(!u.value){const v={ref:h,to:a.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(f.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel||void 0),et(On("RouterLink"),v,s.default)}const p=typeof a.value=="object"?o.resolve(a.value)?.href??null:a.value&&!r.external&&!l.value?n(rl(i.app.baseURL,a.value),o.resolve):a.value||null,g=r.target||null,m=BN(r.noRel?"":r.rel,e.externalRelAttribute,l.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!s.default)return null;const v=()=>Mc(p,{replace:r.replace,external:r.external});return s.default({href:p,navigate:v,get route(){if(!p)return;const _=ri(p);return{path:_.pathname,fullPath:_.pathname,get query(){return r0(_.search)},hash:_.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p}},rel:m,target:g,isExternal:u.value,isActive:!1,isExactActive:!1})}return et("a",{ref:d,href:p,rel:m,target:g},s.default?.())}}})}const Of=jN(GS);function zp(e,t){const n=t==="append"?pa:nl;return Mn(e)&&!e.startsWith("http")?e:n(e,!0)}function zN(){const e=Ne();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function HN(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const fr=Ae({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=Ls;return Y(),xe(hs(t.to?j(Of):"button"),Nn({to:t.to},{...t.$attrs,...!t.to&&{type:t.type},...t.disabled?{disabled:!0}:{tabindex:0}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:ue(()=>[tt(t.$slots,"icon",{},()=>[t.icon?(Y(),xe(r,{key:0,icon:t.icon,class:Qe({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):We("",!0)]),tt(t.$slots,"default")]),_:3},16,["to","class"])}}}),UN=Symbol.for("nuxt:client-only"),VN=Ae({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=U(!1);return Dn(()=>{r.value=!0}),tr(UN,!0),s=>{if(r.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=s.fallback||s.placeholder||"",a=s.fallbackTag||s.placeholderTag||"span";return ge(a,n,i)}}}),GN={name:mk,props:{placeholder:String,tag:{type:String,default:"span"}}};function WN(e,t,n,r,s,o){const i=VN;return Y(),xe(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:ue(()=>[tt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const KN=fi(GN,[["render",WN]]),qN=Ae({__name:"NDarkToggle",setup(e){const t=eA(),n=oe({get(){return t.value==="dark"},set(){t.value=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function s(i){if(!r||!i){n.value=!n.value;return}const a=i.clientX,l=i.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(l,innerHeight-l));document.startViewTransition(async()=>{n.value=!n.value,await Lt()}).ready.then(()=>{const f=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:n.value?[...f].reverse():f},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const o={mode:t,isDark:n,toggle:s};return(i,a)=>{const l=KN;return Y(),xe(l,{tag:"span"},{default:ue(()=>[tt(i.$slots,"default",Tu(Qa(o)))]),_:3})}}}),YN={class:"n-tip n-tip-base"},XN=Ae({__name:"NTip",props:{icon:{}},setup(e){return(t,n)=>{const r=Ls;return Y(),ge("div",YN,[tt(t.$slots,"icon",{},()=>[t.icon?(Y(),xe(r,{key:0,icon:t.icon,class:"n-tip-icon"},null,8,["icon"])):We("",!0)]),V("div",null,[tt(t.$slots,"default")])])}}}),ZN={},JN={class:"n-card n-card-base"};function QN(e,t){return Y(),ge("div",JN,[tt(e.$slots,"default")])}const kf=fi(ZN,[["render",QN]]);/*!
|
|
41
|
-
* tabbable 6.2.0
|
|
42
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
43
|
-
*/var By=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],La=By.join(","),jy=typeof Element>"u",zr=jy?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Da=!jy&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},Ma=function e(t,n){var r;n===void 0&&(n=!0);var s=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),o=s===""||s==="true",i=o||n&&t&&e(t.parentNode);return i},eI=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},zy=function(t,n,r){if(Ma(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(La));return n&&zr.call(t,La)&&s.unshift(t),s=s.filter(r),s},Hy=function e(t,n,r){for(var s=[],o=Array.from(t);o.length;){var i=o.shift();if(!Ma(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),l=a.length?a:i.children,c=e(l,!0,r);r.flatten?s.push.apply(s,c):s.push({scopeParent:i,candidates:c})}else{var u=zr.call(i,La);u&&r.filter(i)&&(n||!t.includes(i))&&s.push(i);var f=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),d=!Ma(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(f&&d){var h=e(f===!0?i.children:f.children,!0,r);r.flatten?s.push.apply(s,h):s.push({scopeParent:i,candidates:h})}else o.unshift.apply(o,i.children)}}return s},Uy=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},xr=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||eI(t))&&!Uy(t)?0:t.tabIndex},tI=function(t,n){var r=xr(t);return r<0&&n&&!Uy(t)?0:r},nI=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},Vy=function(t){return t.tagName==="INPUT"},rI=function(t){return Vy(t)&&t.type==="hidden"},sI=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},oI=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},iI=function(t){if(!t.name)return!0;var n=t.form||Da(t),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=r(window.CSS.escape(t.name));else try{s=r(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=oI(s,t.form);return!o||o===t},aI=function(t){return Vy(t)&&t.type==="radio"},lI=function(t){return aI(t)&&!iI(t)},cI=function(t){var n,r=t&&Da(t),s=(n=r)===null||n===void 0?void 0:n.host,o=!1;if(r&&r!==t){var i,a,l;for(o=!!((i=s)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(s)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!o&&s;){var c,u,f;r=Da(s),s=(c=r)===null||c===void 0?void 0:c.host,o=!!((u=s)!==null&&u!==void 0&&(f=u.ownerDocument)!==null&&f!==void 0&&f.contains(s))}}return o},Hp=function(t){var n=t.getBoundingClientRect(),r=n.width,s=n.height;return r===0&&s===0},uI=function(t,n){var r=n.displayCheck,s=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=zr.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(zr.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof s=="function"){for(var a=t;t;){var l=t.parentElement,c=Da(t);if(l&&!l.shadowRoot&&s(l)===!0)return Hp(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(cI(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Hp(t);return!1},fI=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var s=n.children.item(r);if(s.tagName==="LEGEND")return zr.call(n,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}n=n.parentElement}return!1},Fa=function(t,n){return!(n.disabled||Ma(n)||rI(n)||uI(n,t)||sI(n)||fI(n))},cu=function(t,n){return!(lI(n)||xr(n)<0||!Fa(t,n))},dI=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},hI=function e(t){var n=[],r=[];return t.forEach(function(s,o){var i=!!s.scopeParent,a=i?s.scopeParent:s,l=tI(a,i),c=i?e(s.candidates):a;l===0?i?n.push.apply(n,c):n.push(a):r.push({documentOrder:o,tabIndex:l,item:s,isScope:i,content:c})}),r.sort(nI).reduce(function(s,o){return o.isScope?s.push.apply(s,o.content):s.push(o.content),s},[]).concat(n)},pI=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Hy([t],n.includeContainer,{filter:cu.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:dI}):r=zy(t,n.includeContainer,cu.bind(null,n)),hI(r)},mI=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Hy([t],n.includeContainer,{filter:Fa.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=zy(t,n.includeContainer,Fa.bind(null,n)),r},Yr=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return zr.call(t,La)===!1?!1:cu(n,t)},gI=By.concat("iframe").join(","),lc=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return zr.call(t,gI)===!1?!1:Fa(n,t)};/*!
|
|
44
|
-
* focus-trap 7.5.4
|
|
45
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
46
|
-
*/function Up(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Vp(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Up(Object(n),!0).forEach(function(r){vI(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Up(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function vI(e,t,n){return t=_I(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yI(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _I(e){var t=yI(e,"string");return typeof t=="symbol"?t:String(t)}var Gp={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var s=t.indexOf(n);s===-1||t.splice(s,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},bI=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},wI=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},No=function(t){return t?.key==="Tab"||t?.keyCode===9},EI=function(t){return No(t)&&!t.shiftKey},SI=function(t){return No(t)&&t.shiftKey},Wp=function(t){return setTimeout(t,0)},Kp=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},po=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return typeof t=="function"?t.apply(void 0,r):t},ji=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},xI=[],CI=function(t,n){var r=n?.document||document,s=n?.trapStack||xI,o=Vp({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:EI,isKeyBackward:SI},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function(A,S,T){return A&&A[S]!==void 0?A[S]:o[T||S]},c=function(A,S){var T=typeof S?.composedPath=="function"?S.composedPath():void 0;return i.containerGroups.findIndex(function(B){var R=B.container,$=B.tabbableNodes;return R.contains(A)||T?.includes(R)||$.find(function(I){return I===A})})},u=function(A){var S=o[A];if(typeof S=="function"){for(var T=arguments.length,B=new Array(T>1?T-1:0),R=1;R<T;R++)B[R-1]=arguments[R];S=S.apply(void 0,B)}if(S===!0&&(S=void 0),!S){if(S===void 0||S===!1)return S;throw new Error("`".concat(A,"` was specified but was not a node, or did not return a node"))}var $=S;if(typeof S=="string"&&($=r.querySelector(S),!$))throw new Error("`".concat(A,"` as selector refers to no known node"));return $},f=function(){var A=u("initialFocus");if(A===!1)return!1;if(A===void 0||!lc(A,o.tabbableOptions))if(c(r.activeElement)>=0)A=r.activeElement;else{var S=i.tabbableGroups[0],T=S&&S.firstTabbableNode;A=T||u("fallbackFocus")}if(!A)throw new Error("Your focus-trap needs to have at least one focusable element");return A},d=function(){if(i.containerGroups=i.containers.map(function(A){var S=pI(A,o.tabbableOptions),T=mI(A,o.tabbableOptions),B=S.length>0?S[0]:void 0,R=S.length>0?S[S.length-1]:void 0,$=T.find(function(ae){return Yr(ae)}),I=T.slice().reverse().find(function(ae){return Yr(ae)}),Z=!!S.find(function(ae){return xr(ae)>0});return{container:A,tabbableNodes:S,focusableNodes:T,posTabIndexesFound:Z,firstTabbableNode:B,lastTabbableNode:R,firstDomTabbableNode:$,lastDomTabbableNode:I,nextTabbableNode:function(ie){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Se=S.indexOf(ie);return Se<0?le?T.slice(T.indexOf(ie)+1).find(function(Ce){return Yr(Ce)}):T.slice(0,T.indexOf(ie)).reverse().find(function(Ce){return Yr(Ce)}):S[Se+(le?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(A){return A.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!u("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(A){return A.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function L(A){var S=A.activeElement;if(S)return S.shadowRoot&&S.shadowRoot.activeElement!==null?L(S.shadowRoot):S},p=function L(A){if(A!==!1&&A!==h(document)){if(!A||!A.focus){L(f());return}A.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=A,bI(A)&&A.select()}},g=function(A){var S=u("setReturnFocus",A);return S||(S===!1?!1:A)},m=function(A){var S=A.target,T=A.event,B=A.isBackward,R=B===void 0?!1:B;S=S||ji(T),d();var $=null;if(i.tabbableGroups.length>0){var I=c(S,T),Z=I>=0?i.containerGroups[I]:void 0;if(I<0)R?$=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:$=i.tabbableGroups[0].firstTabbableNode;else if(R){var ae=Kp(i.tabbableGroups,function(Ge){var F=Ge.firstTabbableNode;return S===F});if(ae<0&&(Z.container===S||lc(S,o.tabbableOptions)&&!Yr(S,o.tabbableOptions)&&!Z.nextTabbableNode(S,!1))&&(ae=I),ae>=0){var ie=ae===0?i.tabbableGroups.length-1:ae-1,le=i.tabbableGroups[ie];$=xr(S)>=0?le.lastTabbableNode:le.lastDomTabbableNode}else No(T)||($=Z.nextTabbableNode(S,!1))}else{var Se=Kp(i.tabbableGroups,function(Ge){var F=Ge.lastTabbableNode;return S===F});if(Se<0&&(Z.container===S||lc(S,o.tabbableOptions)&&!Yr(S,o.tabbableOptions)&&!Z.nextTabbableNode(S))&&(Se=I),Se>=0){var Ce=Se===i.tabbableGroups.length-1?0:Se+1,qe=i.tabbableGroups[Ce];$=xr(S)>=0?qe.firstTabbableNode:qe.firstDomTabbableNode}else No(T)||($=Z.nextTabbableNode(S))}}else $=u("fallbackFocus");return $},v=function(A){var S=ji(A);if(!(c(S,A)>=0)){if(po(o.clickOutsideDeactivates,A)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}po(o.allowOutsideClick,A)||A.preventDefault()}},_=function(A){var S=ji(A),T=c(S,A)>=0;if(T||S instanceof Document)T&&(i.mostRecentlyFocusedNode=S);else{A.stopImmediatePropagation();var B,R=!0;if(i.mostRecentlyFocusedNode)if(xr(i.mostRecentlyFocusedNode)>0){var $=c(i.mostRecentlyFocusedNode),I=i.containerGroups[$].tabbableNodes;if(I.length>0){var Z=I.findIndex(function(ae){return ae===i.mostRecentlyFocusedNode});Z>=0&&(o.isKeyForward(i.recentNavEvent)?Z+1<I.length&&(B=I[Z+1],R=!1):Z-1>=0&&(B=I[Z-1],R=!1))}}else i.containerGroups.some(function(ae){return ae.tabbableNodes.some(function(ie){return xr(ie)>0})})||(R=!1);else R=!1;R&&(B=m({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),p(B||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},y=function(A){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=A;var T=m({event:A,isBackward:S});T&&(No(A)&&A.preventDefault(),p(T))},b=function(A){if(wI(A)&&po(o.escapeDeactivates,A)!==!1){A.preventDefault(),a.deactivate();return}(o.isKeyForward(A)||o.isKeyBackward(A))&&y(A,o.isKeyBackward(A))},E=function(A){var S=ji(A);c(S,A)>=0||po(o.clickOutsideDeactivates,A)||po(o.allowOutsideClick,A)||(A.preventDefault(),A.stopImmediatePropagation())},C=function(){if(i.active)return Gp.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?Wp(function(){p(f())}):p(f()),r.addEventListener("focusin",_,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{capture:!0,passive:!1}),r.addEventListener("click",E,{capture:!0,passive:!1}),r.addEventListener("keydown",b,{capture:!0,passive:!1}),a},k=function(){if(i.active)return r.removeEventListener("focusin",_,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!0),r.removeEventListener("click",E,!0),r.removeEventListener("keydown",b,!0),a},O=function(A){var S=A.some(function(T){var B=Array.from(T.removedNodes);return B.some(function(R){return R===i.mostRecentlyFocusedNode})});S&&p(f())},D=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(O):void 0,P=function(){D&&(D.disconnect(),i.active&&!i.paused&&i.containers.map(function(A){D.observe(A,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(A){if(i.active)return this;var S=l(A,"onActivate"),T=l(A,"onPostActivate"),B=l(A,"checkCanFocusTrap");B||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,S?.();var R=function(){B&&d(),C(),P(),T?.()};return B?(B(i.containers.concat()).then(R,R),this):(R(),this)},deactivate:function(A){if(!i.active)return this;var S=Vp({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},A);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,k(),i.active=!1,i.paused=!1,P(),Gp.deactivateTrap(s,a);var T=l(S,"onDeactivate"),B=l(S,"onPostDeactivate"),R=l(S,"checkCanReturnFocus"),$=l(S,"returnFocus","returnFocusOnDeactivate");T?.();var I=function(){Wp(function(){$&&p(g(i.nodeFocusedBeforeActivation)),B?.()})};return $&&R?(R(g(i.nodeFocusedBeforeActivation)).then(I,I),this):(I(),this)},pause:function(A){if(i.paused||!i.active)return this;var S=l(A,"onPause"),T=l(A,"onPostPause");return i.paused=!0,S?.(),k(),P(),T?.(),this},unpause:function(A){if(!i.paused||!i.active)return this;var S=l(A,"onUnpause"),T=l(A,"onPostUnpause");return i.paused=!1,S?.(),d(),C(),P(),T?.(),this},updateContainerElements:function(A){var S=[].concat(A).filter(Boolean);return i.containers=S.map(function(T){return typeof T=="string"?r.querySelector(T):T}),i.active&&d(),P(),this}},a.updateContainerElements(t),a};function AI(e,t={}){let n;const{immediate:r,...s}=t,o=U(!1),i=U(!1),a=f=>n&&n.activate(f),l=f=>n&&n.deactivate(f),c=()=>{n&&(n.pause(),i.value=!0)},u=()=>{n&&(n.unpause(),i.value=!1)};return De(()=>pt(e),f=>{f&&(n=CI(f,{...s,onActivate(){o.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){o.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),vn(()=>l()),{hasFocus:o,isPaused:i,activate:a,deactivate:l,pause:c,unpause:u}}const TI={inheritAttrs:!1},Sl=Ae({...TI,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0},autoClose:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const n=e,r=t,s=J0(n,"modelValue",r,{passive:!0}),o=U(null),i=U(!1),{activate:a,deactivate:l}=AI(oe(()=>o.value||document.body),{immediate:!1});return Lr(()=>{!i.value&&s.value&&(i.value=!0),s.value&&o.value?Lt(a):l()}),cf(o,()=>{n.modelValue&&n.autoClose&&(s.value=!1,r("close"))},{ignore:["a","button","summary"]}),(c,u)=>{const f=kf;return i.value?(Y(),xe(Ig,{key:0,to:"body"},[Fo(V("div",{class:Qe(["fixed inset-0 z-100 flex items-center justify-center n-transition n-glass-effect",[j(s)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[V("div",{class:Qe(["absolute inset-0 -z-1",[c.dim?"glass-effect":""]])},null,2),K(f,Nn(c.$attrs,{ref_key:"card",ref:o,class:"max-h-screen of-auto"}),{default:ue(()=>[tt(c.$slots,"default")]),_:3},16)],2),[[Tc,j(s)]])])):We("",!0)}}});function RI(){return li("virtual-files:current","")}function j3(){return li("terminals:current","")}function z3(){return li("server-routes:current","")}function H3(){return li("server-tasks:current","")}function U3(){const e=iy(),t=VO(),n=rt(),r=RI();return async s=>{const o=e.value?.buildDir,i=o&&s.startsWith(o)?`#build${s.slice(o.length)}`:s,[a,l=1,c=0]=i.split(/:/g),u=t.value?.entries.find(f=>f.path===a||f.id===a)||t.value?.entries.find(f=>f.path===s||f.id===s);u?(r.value=u.id,n.push("/modules/virtual-files")):await we.openInEditor(s)}}function Gy(){const e=KC();return(t,n)=>{e.copy(t),vl("copy",{copyType:n}),vf({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const PI=V("div",{"carbon-launch":""},null,-1),$I=V("div",{"carbon-launch":""},null,-1),OI=V("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),kI=V("h1",{"text-3xl":""}," Popup is not Supported ",-1),NI=V("p",null,[Re(" To popup the DevTools, it requires the "),V("a",{href:"https://developer.chrome.com/docs/web-platform/document-picture-in-picture/",target:"_blank"},"Document Picture-in-Picture API"),Re(" which is currently in experimental state. ")],-1),II=V("p",null,[Re(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),V("code",null,"#document-picture-in-picture-api"),Re(". ")],-1),LI=Ae({__name:"PictureInPictureButton",setup(e){const t=ft(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,r=oe(()=>window.isSecureContext),s=U(!1),o=Gy();function i(){const a=t.value?.devtools?.popup;a&&(vl("popup"),a())}return(a,l)=>{const c=fr,u=Of,f=XN,d=Sl;return j(n)?We("",!0):(Y(),ge(Le,{key:0},[j(t)?.devtools.popup&&j(r)?(Y(),xe(c,{key:0,n:"sm primary",onClick:l[0]||(l[0]=h=>i())},{default:ue(()=>[PI,Re(" Popup ")]),_:1})):(Y(),ge(Le,{key:1},[K(c,{n:"sm primary",onClick:l[1]||(l[1]=h=>s.value=!0)},{default:ue(()=>[$I,Re(" Popup "),OI]),_:1}),K(d,{modelValue:j(s),"onUpdate:modelValue":l[4]||(l[4]=h=>ze(s)?s.value=h:null),class:"max-w-150 p6 pt-2 prose",onClose:l[5]||(l[5]=h=>s.value=!1)},{default:ue(()=>[kI,NI,II,V("p",null,[Re(" Your current browser does not seem to support the API, or the flag is not enabled yet. You can try enabling the flag by visiting "),K(c,{n:"xs primary",title:"Click to Copy",onClick:l[2]||(l[2]=h=>j(o)("chrome://flags/#document-picture-in-picture-api","external-docs"))},{default:ue(()=>[Re(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Re(" and restart the browser. ")]),j(r)?We("",!0):(Y(),xe(f,{key:0,class:"mb-4",n:"orange"},{default:ue(()=>[Re(" Please note that the popup feature only works when your server is running under HTTPS. "),K(u,{to:"https://nuxt.com/docs/api/nuxt-config#https",target:"_blank"},{default:ue(()=>[Re(" Learn how to run your server with https on Nuxt's Documentation ")]),_:1})]),_:1})),V("div",null,[K(c,{onClick:l[3]||(l[3]=h=>s.value=!1)},{default:ue(()=>[Re(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),DI={px3:"",py2:"",border:"b base",flex:"~ gap-2"},MI=V("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),FI=V("div",{"i-carbon-settings-adjust":""},null,-1),BI={px3:"",py2:"",border:"b base",flex:"~ gap-2"},jI=V("div",{"i-carbon-split-screen":""},null,-1),zI={px3:"",py2:"",flex:"~ gap2"},HI=Ae({__name:"DockingPanel",setup(e){const{sidebarExpanded:t}=Vr();function n(){Zn.value=!Zn.value}return(r,s)=>{const o=fr,i=qN,a=Ls,l=LI;return Y(),ge("div",null,[V("div",DI,[K(i,null,{default:ue(({toggle:c,isDark:u})=>[K(o,{n:"sm primary",onClick:c},{default:ue(()=>[MI,Re(" "+bt(u.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),K(o,{n:"sm primary",onClick:s[0]||(s[0]=c=>t.value=!j(t))},{default:ue(()=>[K(a,{icon:j(t)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),Re(" "+bt(j(t)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),K(o,{n:"sm primary",to:"/settings"},{default:ue(()=>[FI,Re(" Settings ")]),_:1})]),V("div",BI,[("splitScreenAvailable"in r?r.splitScreenAvailable:j(nu))?(Y(),xe(o,{key:0,n:"sm primary",onClick:n},{default:ue(()=>[jI,Re(" "+bt(("splitScreenEnabled"in r?r.splitScreenEnabled:j(Zn))?"Close Split Screen":"Split Screen"),1)]),_:1})):We("",!0),K(l)]),V("div",zI,[K(o,{n:"primary sm",onClick:"refreshData"in r?r.refreshData:j(Vv)},{default:ue(()=>[Re(" Refetch Data ")]),_:1},8,["onClick"]),K(o,{n:"primary sm",onClick:"reloadPage"in r?r.reloadPage:j(Gv)},{default:ue(()=>[Re(" Reload Page ")]),_:1},8,["onClick"])])])}}}),UI=["src","alt"],VI=["title"],xl=Ae({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(Y(),ge("img",Nn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,UI)):(Y(),ge("div",Nn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,VI))}}),GI={flex:"~ items-center gap-3"},WI={key:0,"overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},KI={"translate-y-0.5px":""},qI={key:0,hidden:"","lg:block":""},Wy=Ae({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(e){const t=e,n=Rs(),r=oe(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),s=oe(()=>"badge"in t.tab&&t.tab.badge?.()),o=oe(()=>n.path.startsWith(r.value));function i(){vl("tab-click",{tab:t.tab.name,tabPosition:t.target}),"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(fy.value=t.tab.name)}return(a,l)=>{const c=xl,u=On("VTooltip");return Y(),xe(u,{disabled:!a.minimized,placement:"right",class:Qe({"w-full":!a.minimized})},{popper:ue(()=>[V("div",null,bt(a.tab.title),1),"extraTabVNode"in a.tab&&a.tab.extraTabVNode?(Y(),ge("div",qI,[(Y(),xe(hs(a.tab.extraTabVNode)))])):We("",!0)]),default:ue(()=>[(Y(),xe(hs(a.target==="main"?j(Of):"button"),{to:j(r),flex:`~ items-center ${a.minimized?"justify-center":"justify-between"}`,hover:"bg-active",relative:"",block:"","h-10":"",w:a.minimized?"10":"full","select-none":"",rounded:a.minimized?"xl":"",p:a.minimized?"1":"x3","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:i},{default:ue(()=>[V("div",GI,[K(c,{"text-xl":"",icon:a.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),a.minimized?We("",!0):(Y(),ge("span",WI,bt(a.tab.title),1))]),j(s)?(Y(),ge("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Qe([j(o)?"bg-primary":"bg-gray",{"absolute bottom-0 right-0":a.minimized}])},[V("span",KI,bt(("toValue"in a?a.toValue:j(cn))(j(s))),1)],2)):We("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}});function YI(){const e=UO(),t=Vr(),n=rt(),r=oe(()=>[...n.getRoutes().filter(o=>o.path.startsWith("/modules/")&&o.meta.title&&!o.meta.wip).filter(o=>!o.meta.experimental||o.meta.experimental&&t.showExperimentalFeatures.value).sort((o,i)=>(o.meta.order||100)-(i.meta.order||100)).map(o=>({name:o.name,path:o.path,...o.meta})),...(e.value||[]).filter(o=>o.name.startsWith("builtin-"))]),s=oe(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return oe(()=>[...r.value,...s.value])}function Ky(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function Zi(e){const{pinnedTabs:t}=Vr();return oe(()=>{const n=Ky();for(const r of j(e)){let s=r.category||"app";t.value.includes(r.name)&&(s="pinned"),n[s]?n[s].push(r):console.warn(`Unknown tab category: ${s}`)}for(const r of Object.keys(n))n[r].length===0&&delete n[r];return n.pinned?.length&&n.pinned.sort((r,s)=>t.value.indexOf(r.name)-t.value.indexOf(s.name)),Object.entries(n)})}function Nf(){const e=YI(),t=Vr(),n=Object.keys(Ky()),r=e.value.map(s=>s?.show?.());return oe(()=>e.value.filter((s,o)=>{const i=s,a=t.pinnedTabs.value.includes(i.name);return!(a&&t.hiddenTabCategories.value.includes("pinned")||r[o]&&!cn(r[o])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(s.category||"app")&&!a)}).sort((s,o)=>n.indexOf(s.category||"app")-n.indexOf(o.category||"app")))}function V3(){const e=Hv(),t=oy();return oe(()=>(e.value?.getRoutes()||[]).map(n=>sy(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const XI={flex:"~ col gap-1","max-w-80":"",py1:""},ZI={key:0,"h-1px":"",border:"b base"},JI={flex:"~ wrap",px1:""},qy=Ae({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,n)=>{const r=Wy;return Y(),ge("div",XI,[(Y(!0),ge(Le,null,jo(t.categories,([s,o],i)=>(Y(),ge(Le,{key:s},[o.length?(Y(),ge(Le,{key:0},[i?(Y(),ge("div",ZI)):We("",!0),V("div",JI,[(Y(!0),ge(Le,null,jo(o,a=>(Y(),xe(r,{key:a.name,target:t.target,tab:a},null,8,["target","tab"]))),128))])],64)):We("",!0)],64))),128))])}}}),QI={id:"nuxt-devtools-side-nav",border:"r base",flex:"~ col","z-100":"","h-full":"","items-start":"","of-hidden":"","bg-base":""},e4={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},t4=["title"],n4=V("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),r4=V("span",{text:"lg black dark:white","font-600":""}," DevTools ",-1),s4=V("div",{"flex-auto":""},null,-1),o4=V("div",{"i-carbon-overflow-menu-vertical":""},null,-1),i4={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},a4=V("div",{"flex-auto":""},null,-1),l4=["flex"],c4={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},u4={"translate-y-0.5px":""},f4=45,d4=Ae({__name:"SideNav",setup(e){const t=ft(),n=Nf(),{sidebarExpanded:r,sidebarScrollable:s}=Vr(),o=U(!1),i=U(!1),a=U(),l=U(),c=U();function u(){o.value=!o.value}function f(){i.value=!i.value}const{height:d}=Q0(),h=oe(()=>{const b=d.value-130;return Math.max(0,Math.floor(b/f4))}),p=oe(()=>n.value.slice(0,h.value)),g=oe(()=>n.value.slice(h.value)),m=Zi(n),v=Zi(p),_=Zi(g),y=oe(()=>s.value||r.value?m.value:v.value);return cf(a,b=>{l.value&&b.composedPath().includes(l.value)||c.value&&b.composedPath().includes(c.value)||(o.value=!1,i.value=!1)},{detectIframe:!0}),(b,E)=>{const C=HI,k=On("VDropdown"),O=Wy,D=xl;return Y(),ge("div",QI,[V("div",e4,[K(k,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:j(o),"auto-hide":!0},{popper:ue(()=>[K(C,{ref_key:"panel",ref:a},null,512)]),default:ue(()=>[V("button",{ref_key:"buttonDocking",ref:l,flex:"~ items-center justify-center gap-2",hover:"bg-active",relative:"","h-10":"","select-none":"",p2:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:Qe([j(t)?"":"saturate-0",j(r)?"w-full rounded pl2.5":"w-10 rounded-xl"]),title:j(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:u},[n4,j(r)?(Y(),ge(Le,{key:0},[r4,s4,o4],64)):We("",!0)],10,t4)]),_:1},8,["shown"])]),V("div",{flex:"~ auto col gap-0.5 items-center","w-full":"",p1:"",class:Qe(["no-scrollbar",j(r)?"":"of-x-hidden of-y-auto"])},[(Y(!0),ge(Le,null,jo(j(y),([P,L],A)=>(Y(),ge(Le,{key:P},[L.length?(Y(),ge(Le,{key:0},[A?(Y(),ge("div",i4)):We("",!0),(Y(!0),ge(Le,null,jo(L,S=>(Y(),xe(O,{key:S.name,tab:S,minimized:!j(r)},null,8,["tab","minimized"]))),128))],64)):We("",!0)],64))),128)),a4],2),V("div",{flex:`~ items-center gap-1 ${j(r)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":""},[j(g).length&&!j(s)&&!j(r)?(Y(),xe(k,{key:0,placement:"left-end",distance:12,triggers:[],shown:j(i),"auto-hide":!0},{popper:ue(()=>[K(qy,{categories:j(_),"max-w-80":"",target:"main"},null,8,["categories"])]),default:ue(()=>[V("button",{ref_key:"buttonMoreTabs",ref:c,flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:f},[K(D,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),V("div",c4,[V("span",u4,bt(j(g).length),1)])],512)]),_:1},8,["shown"])):We("",!0),K(O,{minimized:!j(r),tab:{icon:"i-carbon:settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,l4)])}}}),h4=Ae({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const s in e.route)Object.defineProperty(r,s,{get:()=>t===e.renderKey?e.route[s]:n[s]});return tr(si,As(r)),()=>et(e.vnode,{ref:e.vnodeRef})}}),p4=Ae({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,expose:n}){const r=Ne(),s=U(),o=wt(si,null);let i;n({pageRef:s});const a=wt(_0,null);let l;const c=r.deferHydration();if(r.isHydrating){const u=r.hooks.hookOnce("app:error",c);rt().beforeEach(u)}return e.pageKey&&De(()=>e.pageKey,(u,f)=>{u!==f&&r.callHook("page:loading:start")}),()=>et(H0,{name:e.name,route:e.route,...t},{default:u=>{const f=g4(o,u.route,u.Component),d=o&&o.matched.length===u.route.matched.length;if(!u.Component){if(l&&!d)return l;c();return}if(l&&a&&!a.isCurrent(u.route))return l;if(f&&o&&(!a||a?.isCurrent(o)))return d?l:null;const h=Vc(u,e.pageKey);!r.isHydrating&&!v4(o,u.route,u.Component)&&i===h&&r.callHook("page:loading:end"),i=h;const p=!!(e.transition??u.route.meta.pageTransition??jc),g=p&&m4([e.transition,u.route.meta.pageTransition,jc,{onAfterLeave:()=>{r.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),m=e.keepalive??u.route.meta.keepalive??VS;return l=uy(tl,p&&g,lC(m,et(Hu,{suspensible:!0,onPending:()=>r.callHook("page:start",u.Component),onResolve:()=>{Lt(()=>r.callHook("page:finish",u.Component).then(()=>r.callHook("page:loading:end")).finally(c))}},{default:()=>{const v=et(h4,{key:h||void 0,vnode:u.Component,route:u.route,renderKey:h||void 0,trackRootNodes:p,vnodeRef:s});return m&&(v.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),v}}))).default(),l}})}});function m4(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?sf(n.onAfterLeave):void 0}));return v0(...t)}function g4(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>s.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>s.components?.default!==e.matched[o]?.components?.default)||n&&Vc({route:t,Component:n})!==Vc({route:e,Component:n})}function v4(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}const y4={},_4={class:"n-panel-grids-center"};function b4(e,t){return Y(),ge("div",_4,[tt(e.$slots,"default")])}const Yy=fi(y4,[["render",b4]]),w4={"h-full":"","h-screen":"","of-hidden":""},E4={border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","n-navbar-glass":""},S4=V("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),x4=V("div",{"flex-auto":""},null,-1),C4={key:0,"of-auto":"",style:{height:"calc(100% - 50px)"}},A4=V("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),T4=Ae({__name:"SplitScreen",setup(e){const t=Nf(),n=en(),r=Rs(),s=rt(),o=oe(()=>t.value.filter(d=>d.name!==r.name&&d.name!==r.params?.name)),i=Zi(o),a=oe(()=>o.value.find(d=>d.name===fy.value));De(()=>a.value,d=>{if(!d)return;const h=s.getRoutes(),p=d&&"path"in d?h.find(m=>m.path===d.path):h.find(m=>m.name==="modules-custom-name");if(p?.path===r.path||r.params?.name===d.name){n.value=void 0;return}const g=p?.components?.default;typeof g=="function"?n.value=oa(g):n.value=g},{immediate:!0});function l(){Zn.value=!1}const c=U(),u=U(),f=U(!1);return cf(c,d=>{u.value&&d.composedPath().includes(u.value)||(f.value=!1)},{detectIframe:!0}),(d,h)=>{const p=xl,g=qy,m=On("VDropdown"),v=fr,_=kf,y=Yy,b=$1("tooltip");return Y(),ge("div",w4,[V("div",E4,[K(m,{placement:"bottom-start",distance:12,skidding:5,triggers:[],shown:j(f),"auto-hide":!0},{popper:ue(()=>[K(g,{ref_key:"gridPanel",ref:c,categories:j(i),target:"side"},null,8,["categories"])]),default:ue(()=>[V("div",{ref_key:"gridPanelButton",ref:u,flex:"~ gap-2 items-center","cursor-pointer":"","select-none":"",onClick:h[0]||(h[0]=E=>f.value=!j(f))},[S4,j(a)?(Y(),ge(Le,{key:0},[K(p,{"text-xl":"",icon:j(a).icon,title:j(a).title,"show-title":!1},null,8,["icon","title"]),V("span",null,bt(j(a).title),1)],64)):(Y(),ge(Le,{key:1},[Re(" Select a tab ")],64))],512)]),_:1},8,["shown"]),x4,Fo(K(v,{icon:"i-carbon:side-panel-open",title:"Close split screen",border:!1,onClick:l},null,512),[[b,"Close split screen"]])]),j(n)&&j(a)?(Y(),ge("div",C4,["view"in j(a)?(Y(),xe(hs(j(n)),{key:j(a).name,name:j(a).name},null,8,["name"])):(Y(),xe(hs(j(n)),{key:`tab-${j(a).name}`}))])):(Y(),xe(y,{key:1},{default:ue(()=>[A4,K(_,{px4:"",py2:""},{default:ue(()=>[K(g,{categories:j(i),target:"side"},null,8,["categories"])]),_:1}),K(v,{n:"sm orange",mt2:"",onClick:l},{default:ue(()=>[Re(" Close Split Screen ")]),_:1})]),_:1}))])}}}),R4={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((r,s)=>(r.size=s===t?r.max:r.min,s!==t&&(n+=r.min),r)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:r}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:r-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const r=0+(this.pushOtherPanes?0:n.prevPanesSize),s=100-(this.pushOtherPanes?0:n.nextPanesSize),o=Math.max(Math.min(this.getCurrentDragPercentage(e),s),r);let i=[t,t+1],a=this.panes[i[0]]||null,l=this.panes[i[1]]||null;const c=a.max<100&&o>=a.max+n.prevPanesSize,u=l.max<100&&o<=100-(l.max+this.sumNextPanesSize(t+1));if(c||u){c?(a.size=a.max,l.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-l.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),l.size=l.max);return}if(this.pushOtherPanes){const f=this.doPushOtherPanes(n,o);if(!f)return;({sums:n,panesToResize:i}=f),a=this.panes[i[0]]||null,l=this.panes[i[1]]||null}a!==null&&(a.size=Math.min(Math.max(o-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),l!==null&&(l.size=Math.min(Math.max(100-o-n.nextPanesSize-n.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,r=[n,n+1];return t<e.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,r[0]<n&&this.panes.forEach((s,o)=>{o>r[0]&&o<=n&&(s.size=s.min,e.prevReachedMinPanes+=s.min)}),e.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((s,o)=>{o>0&&o<=n&&(s.size=s.min,e.prevReachedMinPanes+=s.min)}),this.panes[r[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&this.panes.forEach((s,o)=>{o>n&&o<r[1]&&(s.size=s.min,e.nextReachedMinPanes+=s.min)}),e.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((s,o)=>{o<this.panesCount-1&&o>=n+1&&(s.size=s.min,e.nextReachedMinPanes+=s.min)}),this.panes[r[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:r}},sumPrevPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const r=e-1,s=document.createElement("div");s.classList.add("splitpanes__splitter"),n||(s.onmousedown=o=>this.onMouseDown(o,r),typeof window<"u"&&"ontouchstart"in window&&(s.ontouchstart=o=>this.onMouseDown(o,r)),s.onclick=o=>this.onSplitterClick(o,r+1)),this.dblClickSplitter&&(s.ondblclick=o=>this.onSplitterDblClick(o,r+1)),t.parentNode.insertBefore(s,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([r,s])=>n[r]=s)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(s=>(s.className.includes("splitpanes__pane")&&t++,s===e.$el));const n=parseFloat(e.minSize),r=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(r)?100:r,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((s,o)=>s.index=o),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(s=>({min:s.min,max:s.max,size:s.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(r=>r.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((r,s)=>r.index=s),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],r=[];this.panes.forEach(s=>{s.size=Math.max(Math.min(e,s.max),s.min),t-=s.size,s.size>=s.max&&n.push(s.id),s.size<=s.min&&r.push(s.id)}),t>.1&&this.readjustSizes(t,n,r)},initialPanesSizing(){let e=100;const t=[],n=[];let r=0;this.panes.forEach(o=>{e-=o.size,o.size!==null&&r++,o.size>=o.max&&t.push(o.id),o.size<=o.min&&n.push(o.id)});let s=100;e>.1&&(this.panes.forEach(o=>{o.size===null&&(o.size=Math.max(Math.min(e/(this.panesCount-r),o.max),o.min)),s-=o.size}),s>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,r=0;const s=[],o=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(i=>{r-=i.size,i.size>=i.max&&s.push(i.id),i.size<=i.min&&o.push(i.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(i=>{e&&e.givenSize!==null&&e.id===i.id||(i.size=Math.max(Math.min(n,i.max),i.min)),r-=i.size,i.size>=i.max&&s.push(i.id),i.size<=i.min&&o.push(i.id)}),r>.1&&this.readjustSizes(r,s,o))},readjustSizes(e,t,n){let r;e>0?r=e/(this.panesCount-t.length):r=e/(this.panesCount-n.length),this.panes.forEach((s,o)=>{if(e>0&&!t.includes(s.id)){const i=Math.max(Math.min(s.size+r,s.max),s.min),a=i-s.size;e-=a,s.size=i}else if(!n.includes(s.id)){const i=Math.max(Math.min(s.size+r,s.max),s.min),a=i-s.size;e-=a,s.size=i}s.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[s.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?r=>this.onSplitterDblClick(r,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return et("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},P4=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},$4={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function O4(e,t,n,r,s,o){return Y(),ge("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=i=>o.onPaneClick(i,e._.uid)),style:hn(e.style)},[tt(e.$slots,"default")],4)}const qp=P4($4,[["render",O4]]),Yp=30,k4=Ae({__name:"NSplitPane",props:{storageKey:{},stateKey:{default:"nuxt-devtools-panels-state"},leftSize:{},minSize:{},horizontal:{type:Boolean}},setup(e){const t=e,n=ks(t.stateKey,{},{listenToStorageChanges:!1}),r=t.storageKey,s=r?oe({get:()=>n.value[r]||t.leftSize||Yp,set:o=>{n.value[r]=o}}):U(t.leftSize||Yp);return(o,i)=>(Y(),xe(j(R4),{horizontal:o.horizontal,"h-full":"","of-hidden":"",onResize:i[0]||(i[0]=a=>s.value=a[0].size)},{default:ue(()=>[K(j(qp),{"h-full":"",class:"of-auto!",size:j(s),"min-size":o.$slots.right?o.minSize||10:100},{default:ue(()=>[tt(o.$slots,"left")]),_:3},8,["size","min-size"]),o.$slots.right?(Y(),xe(j(qp),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":o.minSize||10},{default:ue(()=>[tt(o.$slots,"right")]),_:3},8,["min-size"])):We("",!0)]),_:3},8,["horizontal"]))}}),N4=Ae({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await Jn[e.name]().then(r=>r.default||r);return()=>et(n,e.layoutProps,t.slots)}}),I4=Ae({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=Ne(),r=wt(si),s=r===Rs()?iC():r,o=oe(()=>{let l=j(e.name)??s.meta.layout??"default";return l&&!(l in Jn)&&e.fallback&&(l=j(e.fallback)),l}),i=U();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);rt().beforeEach(l)}return()=>{const l=o.value&&o.value in Jn,c=s.meta.layoutTransition??US;return uy(tl,l&&c,{default:()=>et(Hu,{suspensible:!0,onResolve:()=>{Lt(a)}},{default:()=>et(L4,{layoutProps:Nn(t.attrs,{ref:i}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),L4=Ae({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&tr(_0,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>!n||typeof n=="string"&&!(n in Jn)?t.slots.default?.():et(N4,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),D4={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},Xy=Ae({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},autocomplete:{},readonly:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const s=J0(e,"modelValue",t,{passive:!0});return(o,i)=>{const a=Ls;return Y(),ge("div",D4,[tt(o.$slots,"icon",{},()=>[o.icon?(Y(),xe(a,{key:0,icon:o.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):We("",!0)]),Fo(V("input",Nn({"onUpdate:modelValue":i[0]||(i[0]=l=>ze(s)?s.value=l:null)},o.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[iw,j(s)]])])}}}),uu=Pt(new Map);function M4(){const e=Nf(),t=rt(),n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Nuxt Documentations",icon:"logos-nuxt-icon",action:()=>j4()}],r=oe(()=>e.value.map(s=>({id:`tab:${s.name}`,title:s.title||s.name,icon:s.icon,action:()=>{"onClick"in s&&s.onClick?s.onClick():t.push("path"in s&&s.path?s.path:`/modules/custom-${s.name}`)}})));return oe(()=>[...n,...r.value,...Array.from(uu.values()).flatMap(s=>cn(s))])}function F4(e){const t=jO();uu.set(t,e),Ja(()=>{uu.delete(t)})}let cc;const B4=[[":components:","i-carbon-assembly-cluster"],[":modules:","i-carbon-cube"],[":commands:","i-carbon-terminal"],[":directory-structure:","i-carbon-folder"],[":composables:","i-carbon-function"],[":getting-started:","i-carbon-idea"],[":api:","carbon-api-1"]];async function j4(){return cc||(cc=(await ve(()=>import("./D5r6TWiw.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:B4.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),cc}function In(e){return Array.isArray?Array.isArray(e):Qy(e)==="[object Array]"}const z4=1/0;function H4(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-z4?"-0":t}function U4(e){return e==null?"":H4(e)}function dn(e){return typeof e=="string"}function Zy(e){return typeof e=="number"}function V4(e){return e===!0||e===!1||G4(e)&&Qy(e)=="[object Boolean]"}function Jy(e){return typeof e=="object"}function G4(e){return Jy(e)&&e!==null}function It(e){return e!=null}function uc(e){return!e.trim().length}function Qy(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const W4="Incorrect 'index' type",K4=e=>`Invalid value for key ${e}`,q4=e=>`Pattern length exceeds max of ${e}.`,Y4=e=>`Missing ${e} property in key`,X4=e=>`Property 'weight' in key '${e}' must be a positive integer`,Xp=Object.prototype.hasOwnProperty;class Z4{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let s=e_(r);this._keys.push(s),this._keyMap[s.id]=s,n+=s.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function e_(e){let t=null,n=null,r=null,s=1,o=null;if(dn(e)||In(e))r=e,t=Zp(e),n=fu(e);else{if(!Xp.call(e,"name"))throw new Error(Y4("name"));const i=e.name;if(r=i,Xp.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(X4(i));t=Zp(i),n=fu(i),o=e.getFn}return{path:t,id:n,weight:s,src:r,getFn:o}}function Zp(e){return In(e)?e:e.split(".")}function fu(e){return In(e)?e.join("."):e}function J4(e,t){let n=[],r=!1;const s=(o,i,a)=>{if(It(o))if(!i[a])n.push(o);else{let l=i[a];const c=o[l];if(!It(c))return;if(a===i.length-1&&(dn(c)||Zy(c)||V4(c)))n.push(U4(c));else if(In(c)){r=!0;for(let u=0,f=c.length;u<f;u+=1)s(c[u],i,a+1)}else i.length&&s(c,i,a+1)}};return s(e,dn(t)?t.split("."):t,0),r?n:n[0]}const Q4={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},eL={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},tL={location:0,threshold:.6,distance:100},nL={useExtendedSearch:!1,getFn:J4,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var _e={...eL,...Q4,...tL,...nL};const rL=/[^ ]+/g;function sL(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(s){const o=s.match(rL).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}class If{constructor({getFn:t=_e.getFn,fieldNormWeight:n=_e.fieldNormWeight}={}){this.norm=sL(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,dn(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();dn(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!It(t)||uc(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((s,o)=>{let i=s.getFn?s.getFn(t):this.getFn(t,s.path);if(It(i)){if(In(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(It(u))if(dn(u)&&!uc(u)){let f={v:u,i:c,n:this.norm.get(u)};a.push(f)}else In(u)&&u.forEach((f,d)=>{l.push({nestedArrIndex:d,value:f})})}r.$[o]=a}else if(dn(i)&&!uc(i)){let a={v:i,n:this.norm.get(i)};r.$[o]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function t_(e,t,{getFn:n=_e.getFn,fieldNormWeight:r=_e.fieldNormWeight}={}){const s=new If({getFn:n,fieldNormWeight:r});return s.setKeys(e.map(e_)),s.setSources(t),s.create(),s}function oL(e,{getFn:t=_e.getFn,fieldNormWeight:n=_e.fieldNormWeight}={}){const{keys:r,records:s}=e,o=new If({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(s),o}function zi(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:s=_e.distance,ignoreLocation:o=_e.ignoreLocation}={}){const i=t/e.length;if(o)return i;const a=Math.abs(r-n);return s?i+a/s:a?1:i}function iL(e=[],t=_e.minMatchCharLength){let n=[],r=-1,s=-1,o=0;for(let i=e.length;o<i;o+=1){let a=e[o];a&&r===-1?r=o:!a&&r!==-1&&(s=o-1,s-r+1>=t&&n.push([r,s]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}const Cr=32;function aL(e,t,n,{location:r=_e.location,distance:s=_e.distance,threshold:o=_e.threshold,findAllMatches:i=_e.findAllMatches,minMatchCharLength:a=_e.minMatchCharLength,includeMatches:l=_e.includeMatches,ignoreLocation:c=_e.ignoreLocation}={}){if(t.length>Cr)throw new Error(q4(Cr));const u=t.length,f=e.length,d=Math.max(0,Math.min(r,f));let h=o,p=d;const g=a>1||l,m=g?Array(f):[];let v;for(;(v=e.indexOf(t,p))>-1;){let k=zi(t,{currentLocation:v,expectedLocation:d,distance:s,ignoreLocation:c});if(h=Math.min(k,h),p=v+u,g){let O=0;for(;O<u;)m[v+O]=1,O+=1}}p=-1;let _=[],y=1,b=u+f;const E=1<<u-1;for(let k=0;k<u;k+=1){let O=0,D=b;for(;O<D;)zi(t,{errors:k,currentLocation:d+D,expectedLocation:d,distance:s,ignoreLocation:c})<=h?O=D:b=D,D=Math.floor((b-O)/2+O);b=D;let P=Math.max(1,d-D+1),L=i?f:Math.min(d+D,f)+u,A=Array(L+2);A[L+1]=(1<<k)-1;for(let T=L;T>=P;T-=1){let B=T-1,R=n[e.charAt(B)];if(g&&(m[B]=+!!R),A[T]=(A[T+1]<<1|1)&R,k&&(A[T]|=(_[T+1]|_[T])<<1|1|_[T+1]),A[T]&E&&(y=zi(t,{errors:k,currentLocation:B,expectedLocation:d,distance:s,ignoreLocation:c}),y<=h)){if(h=y,p=B,p<=d)break;P=Math.max(1,2*d-p)}}if(zi(t,{errors:k+1,currentLocation:d,expectedLocation:d,distance:s,ignoreLocation:c})>h)break;_=A}const C={isMatch:p>=0,score:Math.max(.001,y)};if(g){const k=iL(m,a);k.length?l&&(C.indices=k):C.isMatch=!1}return C}function lL(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const s=e.charAt(n);t[s]=(t[s]||0)|1<<r-n-1}return t}class n_{constructor(t,{location:n=_e.location,threshold:r=_e.threshold,distance:s=_e.distance,includeMatches:o=_e.includeMatches,findAllMatches:i=_e.findAllMatches,minMatchCharLength:a=_e.minMatchCharLength,isCaseSensitive:l=_e.isCaseSensitive,ignoreLocation:c=_e.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(d,h)=>{this.chunks.push({pattern:d,alphabet:lL(d),startIndex:h})},f=this.pattern.length;if(f>Cr){let d=0;const h=f%Cr,p=f-h;for(;d<p;)u(this.pattern.substr(d,Cr),d),d+=Cr;if(h){const g=f-Cr;u(this.pattern.substr(g),g)}}else u(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return r&&(p.indices=[[0,t.length-1]]),p}const{location:s,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let u=[],f=0,d=!1;this.chunks.forEach(({pattern:p,alphabet:g,startIndex:m})=>{const{isMatch:v,score:_,indices:y}=aL(t,p,g,{location:s+m,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});v&&(d=!0),f+=_,v&&y&&(u=[...u,...y])});let h={isMatch:d,score:d?f/this.chunks.length:1};return d&&r&&(h.indices=u),h}}class dr{constructor(t){this.pattern=t}static isMultiMatch(t){return Jp(t,this.multiRegex)}static isSingleMatch(t){return Jp(t,this.singleRegex)}search(){}}function Jp(e,t){const n=e.match(t);return n?n[1]:null}class cL extends dr{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class uL extends dr{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class fL extends dr{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class dL extends dr{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class hL extends dr{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class pL extends dr{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class r_ extends dr{constructor(t,{location:n=_e.location,threshold:r=_e.threshold,distance:s=_e.distance,includeMatches:o=_e.includeMatches,findAllMatches:i=_e.findAllMatches,minMatchCharLength:a=_e.minMatchCharLength,isCaseSensitive:l=_e.isCaseSensitive,ignoreLocation:c=_e.ignoreLocation}={}){super(t),this._bitapSearch=new n_(t,{location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class s_ extends dr{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const s=[],o=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+o,s.push([r,n-1]);const i=!!s.length;return{isMatch:i,score:i?0:1,indices:s}}}const du=[cL,s_,fL,dL,pL,hL,uL,r_],Qp=du.length,mL=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,gL="|";function vL(e,t={}){return e.split(gL).map(n=>{let r=n.trim().split(mL).filter(o=>o&&!!o.trim()),s=[];for(let o=0,i=r.length;o<i;o+=1){const a=r[o];let l=!1,c=-1;for(;!l&&++c<Qp;){const u=du[c];let f=u.isMultiMatch(a);f&&(s.push(new u(f,t)),l=!0)}if(!l)for(c=-1;++c<Qp;){const u=du[c];let f=u.isSingleMatch(a);if(f){s.push(new u(f,t));break}}}return s})}const yL=new Set([r_.type,s_.type]);class _L{constructor(t,{isCaseSensitive:n=_e.isCaseSensitive,includeMatches:r=_e.includeMatches,minMatchCharLength:s=_e.minMatchCharLength,ignoreLocation:o=_e.ignoreLocation,findAllMatches:i=_e.findAllMatches,location:a=_e.location,threshold:l=_e.threshold,distance:c=_e.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:s,findAllMatches:i,ignoreLocation:o,location:a,threshold:l,distance:c},this.pattern=n?t:t.toLowerCase(),this.query=vL(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:s}=this.options;t=s?t:t.toLowerCase();let o=0,i=[],a=0;for(let l=0,c=n.length;l<c;l+=1){const u=n[l];i.length=0,o=0;for(let f=0,d=u.length;f<d;f+=1){const h=u[f],{isMatch:p,indices:g,score:m}=h.search(t);if(p){if(o+=1,a+=m,r){const v=h.constructor.type;yL.has(v)?i=[...i,...g]:i.push(g)}}else{a=0,o=0,i.length=0;break}}if(o){let f={isMatch:!0,score:a/o};return r&&(f.indices=i),f}}return{isMatch:!1,score:1}}}const hu=[];function bL(...e){hu.push(...e)}function pu(e,t){for(let n=0,r=hu.length;n<r;n+=1){let s=hu[n];if(s.condition(e,t))return new s(e,t)}return new n_(e,t)}const Ba={AND:"$and",OR:"$or"},mu={PATH:"$path",PATTERN:"$val"},gu=e=>!!(e[Ba.AND]||e[Ba.OR]),wL=e=>!!e[mu.PATH],EL=e=>!In(e)&&Jy(e)&&!gu(e),em=e=>({[Ba.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function o_(e,t,{auto:n=!0}={}){const r=s=>{let o=Object.keys(s);const i=wL(s);if(!i&&o.length>1&&!gu(s))return r(em(s));if(EL(s)){const l=i?s[mu.PATH]:o[0],c=i?s[mu.PATTERN]:s[l];if(!dn(c))throw new Error(K4(l));const u={keyId:fu(l),pattern:c};return n&&(u.searcher=pu(c,t)),u}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=s[l];In(c)&&c.forEach(u=>{a.children.push(r(u))})}),a};return gu(e)||(e=em(e)),r(e)}function SL(e,{ignoreFieldNorm:t=_e.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:s,norm:o,score:i})=>{const a=s?s.weight:null;r*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:o))}),n.score=r})}function xL(e,t){const n=e.matches;t.matches=[],It(n)&&n.forEach(r=>{if(!It(r.indices)||!r.indices.length)return;const{indices:s,value:o}=r;let i={indices:s,value:o};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function CL(e,t){t.score=e.score}function AL(e,t,{includeMatches:n=_e.includeMatches,includeScore:r=_e.includeScore}={}){const s=[];return n&&s.push(xL),r&&s.push(CL),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return s.length&&s.forEach(l=>{l(o,a)}),a})}class Ds{constructor(t,n={},r){this.options={..._e,...n},this.options.useExtendedSearch,this._keyStore=new Z4(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof If))throw new Error(W4);this._myIndex=n||t_(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){It(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,s=this._docs.length;r<s;r+=1){const o=this._docs[r];t(o,r)&&(this.removeAt(r),r-=1,s-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:s,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let l=dn(t)?dn(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return SL(l,{ignoreFieldNorm:a}),o&&l.sort(i),Zy(n)&&n>-1&&(l=l.slice(0,n)),AL(l,this._docs,{includeMatches:r,includeScore:s})}_searchStringList(t){const n=pu(t,this.options),{records:r}=this._myIndex,s=[];return r.forEach(({v:o,i,n:a})=>{if(!It(o))return;const{isMatch:l,score:c,indices:u}=n.searchIn(o);l&&s.push({item:o,idx:i,matches:[{score:c,value:o,norm:a,indices:u}]})}),s}_searchLogical(t){const n=o_(t,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:f,searcher:d}=a,h=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(l,f),searcher:d});return h&&h.length?[{idx:c,item:l,matches:h}]:[]}const u=[];for(let f=0,d=a.children.length;f<d;f+=1){const h=a.children[f],p=r(h,l,c);if(p.length)u.push(...p);else if(a.operator===Ba.AND)return[]}return u},s=this._myIndex.records,o={},i=[];return s.forEach(({$:a,i:l})=>{if(It(a)){let c=r(n,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},i.push(o[l])),c.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),i}_searchObjectList(t){const n=pu(t,this.options),{keys:r,records:s}=this._myIndex,o=[];return s.forEach(({$:i,i:a})=>{if(!It(i))return;let l=[];r.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:i[u],searcher:n}))}),l.length&&o.push({idx:a,item:i,matches:l})}),o}_findMatches({key:t,value:n,searcher:r}){if(!It(n))return[];let s=[];if(In(n))n.forEach(({v:o,i,n:a})=>{if(!It(o))return;const{isMatch:l,score:c,indices:u}=r.searchIn(o);l&&s.push({score:c,key:t,value:o,idx:i,norm:a,indices:u})});else{const{v:o,n:i}=n,{isMatch:a,score:l,indices:c}=r.searchIn(o);a&&s.push({score:l,key:t,value:o,norm:i,indices:c})}return s}}Ds.version="7.0.0";Ds.createIndex=t_;Ds.parseIndex=oL;Ds.config=_e;Ds.parseQuery=o_;bL(_L);const TL={"h-full":"",flex:"~ col"},RL={border:"b base","flex-none":""},PL={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},$L=["id","onClick","onMouseover"],OL={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},kL={"ws-nowrap":""},NL={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},IL={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},LL=V("span",{op50:""},"No results for",-1),DL={"text-primary":""},ML={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},FL={"text-xs":"",flex:"~ items-center gap2"},BL=V("span",{op75:""},"to navigate",-1),jL={"text-xs":"",flex:"~ items-center gap2"},zL={op75:""},HL={"text-xs":"",flex:"~ items-center gap2"},UL=V("span",{op75:""},"to select",-1),VL=Ae({__name:"CommandPalette",setup(e){const t=U(!1),n=U(""),r=M4(),s=U(),o=oe(()=>s.value||r.value),i=oe(()=>new Ds(o.value,{keys:["id","title"],distance:50})),a=oe(()=>n.value?i.value.search(n.value).map(h=>h.item):o.value||[]),l=U(0);De(n,()=>{l.value=0,u()});function c(h){l.value=(l.value+h+a.value.length)%a.value.length,u()}function u(){document.getElementById(a.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function f(h){const p=await h.action();p?(s.value=p,n.value=""):(s.value=void 0,n.value="",t.value=!1)}Tt("keydown",h=>{if((h.ctrlKey||h.metaKey)&&h.key==="k"){h.preventDefault(),s.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),c(h.key==="ArrowDown"?1:-1);break;case"Enter":{const p=a.value[l.value];p&&(h.preventDefault(),f(p));break}case"Escape":{h.preventDefault(),s.value?(s.value=void 0,n.value=""):t.value=!1;break}}});function d(h){h.key==="Backspace"&&!n.value&&s.value&&(h.preventDefault(),s.value=void 0,n.value="")}return(h,p)=>{const g=Xy,m=xl,v=Ls,_=fr,y=Sl;return Y(),xe(y,{modelValue:j(t),"onUpdate:modelValue":p[1]||(p[1]=b=>ze(t)?t.value=b:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:ue(()=>[V("div",TL,[V("header",RL,[K(g,{modelValue:j(n),"onUpdate:modelValue":p[0]||(p[0]=b=>ze(n)?n.value=b:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:d},null,8,["modelValue"])]),V("div",PL,[(Y(!0),ge(Le,null,jo(j(a),(b,E)=>(Y(),ge("button",{id:b.id,key:b.id,onClick:C=>f(b),onMouseover:C=>l.value=E},[V("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Qe(j(l)===E?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[K(m,{icon:b.icon,title:b.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),V("span",OL,[V("span",kL,bt(b.title),1),V("span",NL,bt(b.description),1)]),j(l)===E?(Y(),xe(v,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):We("",!0)],2)],40,$L))),128)),j(a).length?We("",!0):(Y(),ge("div",IL,[K(v,{op50:"",icon:"carbon-search"}),V("div",null,[LL,V("strong",DL,' "'+bt(j(n))+'" ',1)])]))]),V("footer",ML,[V("div",FL,[K(_,{n:"xs",px1:""},{default:ue(()=>[K(v,{icon:"carbon-arrow-down"})]),_:1}),K(_,{n:"xs",px1:""},{default:ue(()=>[K(v,{icon:"carbon-arrow-up"})]),_:1}),BL]),V("div",jL,[K(_,{n:"xs",px1:""},{default:ue(()=>[Re(" Esc ")]),_:1}),V("span",zL,"to "+bt(j(s)?"go back":"close"),1)]),V("div",HL,[K(_,{n:"xs",px1:""},{default:ue(()=>[K(v,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),UL])])])]),_:1},8,["modelValue"])}}}),GL=V("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[V("span",{class:"i-carbon-information-square"}),Re(" Permissions required ")],-1),WL=V("p",null," This operation requires permissions for running command and access files from the browser. ",-1),KL=V("p",null,[Re(" A request is sent to the server."),V("br"),Re(" Please check your terminal for the instructions and then come back. ")],-1),qL={flex:"~ gap-3",mt5:"","justify-between":""},YL=V("p",{"text-xs":"","op-50":""}," Or you can manually paste the token below: ",-1),XL={flex:"~ inline gap-2 items-center"},ZL={flex:"~ gap-2 items-end"},JL=Ae({__name:"AuthRequiredPanel",setup(e){Dn(async()=>{At.value||_t.value&&await we.verifyAuthToken(_t.value)&&(At.value=!0),At.value||Yv()});const t=U(""),n=U(!1);async function r(){const s=t.value.trim();n.value=!1,await we.verifyAuthToken(s).then(o=>{o?(At.value=!0,N2(s)):n.value=!0})}return(s,o)=>{const i=Xy,a=fr,l=kf,c=Yy;return("isDevAuthed"in s?s.isDevAuthed:j(At))?tt(s.$slots,"default",{key:1}):(Y(),xe(c,{key:0},{default:ue(()=>[K(l,{flex:"~ col gap-2",mxa:"",p6:""},{default:ue(()=>[GL,WL,KL,V("div",qL,[V("form",{relative:"",flex:"~ col gap-2",onSubmit:uw(r,["prevent"])},[YL,V("div",XL,[K(i,{modelValue:j(t),"onUpdate:modelValue":o[0]||(o[0]=u=>ze(t)?t.value=u:null),placeholder:"Enter token here",n:j(n)?"red":void 0,onKeydown:Jg(r,["enter"])},null,8,["modelValue","n"]),K(a,{n:"green","h-full":"",icon:"i-carbon-arrow-right",onClick:r})])],32),V("div",ZL,[tt(s.$slots,"actions"),K(a,{disabled:"",icon:"i-carbon-time"},{default:ue(()=>[Re(" Waiting for authorization... ")]),_:1})])])]),_:3})]),_:3}))}}}),QL=Ae({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=fr,s=JL,o=Sl;return Y(),xe(j(Kv),null,{default:ue(({resolve:i})=>[K(o,{"model-value":!("isDevAuthed"in t?t.isDevAuthed:j(At)),class:"border-none",onClose:a=>i(!1)},{default:ue(()=>[K(s,null,{actions:ue(()=>[K(r,{onClick:a=>i(!1)},{default:ue(()=>[Re(" Cancel ")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["model-value","onClose"])]),_:1})}}}),eD={},tD={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 197 24",fill:"none"},nD=bb('<path fill="currentColor" d="M45.74 24c.26 0 .48-.215.48-.48V12.36s.6 1.08 1.68 2.88l4.68 8.04c.214.449.69.72 1.08.72h3.24V6h-3.24c-.216 0-.48.18-.48.48v11.28l-2.16-3.84L46.7 6.6c-.21-.373-.663-.6-1.08-.6H42.5v18h3.24ZM87.62 11.04h1.56a.72.72 0 0 0 .72-.72V7.2h3.36v3.84h3.24v2.88h-3.24v5.16c0 1.26.607 1.8 1.68 1.8h1.56V24h-2.04c-2.766 0-4.56-1.791-4.56-4.8v-5.28h-2.28v-2.88ZM71.42 11.04v7.44c0 1.68-.63 3.097-1.56 4.08-.93.983-2.212 1.44-3.96 1.44-1.748 0-3.15-.457-4.08-1.44-.913-.983-1.56-2.4-1.56-4.08v-7.44h1.92c.41 0 .812.075 1.08.36.268.27.36.428.36.84v6.24c0 .967.055 1.564.48 2.04.425.46.95.6 1.8.6.866 0 1.255-.14 1.68-.6.425-.476.48-1.073.48-2.04v-6.24c0-.412.092-.675.36-.96.235-.25.483-.245.84-.24h2.16ZM81.62 17.28l4.08-6.24h-3.12c-.393 0-.743.141-.96.48L79.7 14.4l-1.8-2.76c-.217-.339-.687-.6-1.08-.6h-3l4.08 6.12L73.46 24h3.12c.39 0 .742-.386.96-.72l2.16-3.24 2.28 3.36c.218.335.57.6.96.6h3.12l-4.44-6.72Z"></path><path fill="#00DC82" d="M20.66 24h13.32c.425 0 .832-.15 1.2-.36s.748-.475.96-.84c.212-.365.36-.779.36-1.2 0-.421-.147-.835-.36-1.2l-9-15.48a2.189 2.189 0 0 0-.84-.84 2.9 2.9 0 0 0-1.32-.36c-.425 0-.832.15-1.2.36s-.628.475-.84.84l-2.28 3.96L16.1 1.2c-.213-.365-.472-.75-.84-.96-.368-.21-.775-.24-1.2-.24-.425 0-.832.03-1.2.24s-.747.595-.96.96L.74 20.4c-.213.365-.24.779-.24 1.2 0 .421.028.835.24 1.2s.592.63.96.84c.368.21.775.36 1.2.36h8.4c3.328 0 5.751-1.493 7.44-4.32l4.08-7.08 2.16-3.72 6.6 11.28h-8.76L20.66 24Zm-9.48-3.84H5.3l8.76-15.12 4.44 7.56-2.941 5.127c-1.122 1.834-2.4 2.433-4.379 2.433Z"></path><path fill="#00DC82" fill-rule="evenodd" d="M101.3 24V8.64c0-.795.645-1.44 1.44-1.44h4.2c1.58 0 3.011.341 4.32.96 1.309.619 2.338 1.506 3.12 2.76.782 1.238 1.2 2.855 1.2 4.68 0 1.809-.418 3.306-1.2 4.56-.782 1.254-1.811 2.141-3.12 2.76-1.309.619-2.74 1.08-4.32 1.08h-5.64Zm5.28-3.24c1.548 0 2.819-.375 3.84-1.2 1.021-.841 1.44-2.135 1.44-3.96 0-1.825-.419-3.239-1.44-4.08-1.021-.841-2.292-1.2-3.84-1.2h-1.68v10.44h1.68ZM128.66 19.68c-.239 1.285-.867 2.342-1.92 3.12s-2.356 1.2-3.84 1.2a6.232 6.232 0 0 1-3.36-.96 5.619 5.619 0 0 1-2.04-2.28 6.593 6.593 0 0 1-.72-3c0-1.063.169-2.064.6-3 .447-.936 1.146-1.693 2.04-2.28.91-.587 1.947-.84 3.24-.84 1.341 0 2.466.269 3.36.84.894.571 1.625 1.271 2.04 2.16.431.889.6 1.776.6 2.76l-.001.209c0 .129-.001.251.001.391a.501.501 0 0 1-.48.48h-8.28c.128.857.449 1.548.96 2.04.527.476 1.21.72 2.04.72.67 0 1.249-.106 1.68-.36.431-.27.712-.692.84-1.2h3.24Zm-6-5.64c-.766 0-1.353.203-1.8.6-.447.38-.696.975-.84 1.8h5.28c-.048-.698-.257-1.356-.72-1.8-.463-.46-1.138-.6-1.92-.6Z" clip-rule="evenodd"></path><path fill="#00DC82" d="M128.78 11.88 133.22 24h3.12l4.32-12.12h-2.28c-.625 0-1.248.365-1.44.96l-2.16 6.84-2.16-6.84c-.192-.595-.815-.96-1.44-.96h-2.4Z"></path><path fill="#00DC82" fill-rule="evenodd" d="M159.14 24c-1.213 0-2.266-.316-3.24-.84-.974-.54-1.737-1.224-2.28-2.16a6.53 6.53 0 0 1-.84-3.24c0-1.174.297-2.184.84-3.12.543-.952 1.306-1.756 2.28-2.28.974-.54 2.027-.72 3.24-.72s2.386.18 3.36.72c.974.524 1.737 1.328 2.28 2.28.543.936.72 1.946.72 3.12 0 1.174-.177 2.288-.72 3.24-.543.936-1.306 1.62-2.28 2.16a7.167 7.167 0 0 1-3.36.84Zm0-2.88c.894 0 1.601-.341 2.16-.96.559-.619.84-1.416.84-2.4 0-1-.189-1.758-.748-2.377a3 3 0 0 0-2.252-.983c-.894 0-1.601.341-2.16.96-.559.619-.84 1.4-.84 2.4 0 .984.281 1.781.84 2.4.559.619 1.266.96 2.16.96ZM169.82 23.16c.974.524 2.027.84 3.24.84a7.167 7.167 0 0 0 3.36-.84c.974-.54 1.737-1.224 2.28-2.16.543-.952.72-2.066.72-3.24 0-1.174-.177-2.184-.72-3.12-.543-.952-1.306-1.756-2.28-2.28-.974-.54-2.147-.84-3.36-.84a6.52 6.52 0 0 0-3.24.84c-.974.524-1.737 1.328-2.28 2.28a6.044 6.044 0 0 0-.84 3.12 6.53 6.53 0 0 0 .84 3.24c.543.936 1.306 1.62 2.28 2.16Zm5.4-3c-.559.619-1.266.96-2.16.96-.894 0-1.601-.341-2.16-.96-.559-.619-.84-1.416-.84-2.4 0-1 .281-1.781.84-2.4.559-.619 1.266-.96 2.16-.96.894 0 1.601.341 2.16.96.559.619.84 1.4.84 2.4 0 .984-.281 1.781-.84 2.4Z" clip-rule="evenodd"></path><path fill="#00DC82" d="M184.82 24h-3.36V8.4h3.36V24ZM188.18 22.8c.926.762 2.236 1.2 3.72 1.2 1.42 0 2.514-.398 3.36-1.08.862-.698 1.32-1.617 1.32-2.76 0-1-.305-1.756-.72-2.28-.415-.524-.865-.905-1.44-1.08-.559-.19-1.282-.353-2.16-.48-.814-.111-1.417-.217-1.8-.36-.367-.159-.48-.396-.48-.84 0-.365.073-.634.36-.84.287-.206.721-.36 1.2-.36s.937.194 1.32.48c.399.27.536.588.6 1.08h2.373c.276 0 .497-.232.453-.504-.156-.955-.61-1.767-1.386-2.376-.894-.714-2.028-1.08-3.48-1.08-.814 0-1.506.163-2.16.48a3.842 3.842 0 0 0-1.56 1.32c-.367.54-.6 1.222-.6 1.92 0 .92.217 1.532.6 2.04.399.492.897.89 1.44 1.08.543.19 1.178.321 2.04.48.83.143 1.417.305 1.8.48s.6.516.6.96c0 .333-.145.618-.48.84-.319.222-.689.36-1.2.36-.622 0-1.161-.178-1.56-.48a2.022 2.022 0 0 1-.72-1.32h-2.376a.449.449 0 0 0-.457.502c.149 1.06.605 1.944 1.393 2.618ZM145.58 24h3.6V10.32h3.6a1.44 1.44 0 0 0 1.44-1.44V7.2H142.1a1.44 1.44 0 0 0-1.44 1.44v1.68h4.92V24Z"></path>',6),rD=[nD];function sD(e,t){return Y(),ge("svg",tD,rD)}const oD=fi(eD,[["render",sD]]),iD={key:0,flex:"~ col justify-center items-center gap-4",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-4":"","n-glass-effect":""},aD=V("div",{"flex-auto":""},null,-1),lD={flex:"~","mt-8":"","items-center":"","justify-center":""},cD={flex:"~ gap-2","items-center":"",op50:""},uD=V("div",{border:"t base",my2:"","h-1px":"","w-10":""},null,-1),fD={flex:"~ gap-2","animate-pulse":"","items-center":"","text-xl":"","text-yellow":""},dD=V("div",{"flex-auto":""},null,-1),hD=Ae({__name:"DisconnectIndicator",setup(e){function t(){window.location.reload()}return(n,r)=>{const s=oD,o=Ls,i=fr;return Y(),xe(Ig,{to:"body"},[("wsConnectingDebounced"in n?n.wsConnectingDebounced:j(p2))?(Y(),ge("div",iD,[aD,V("div",lD,[K(s,{"h-8":""})]),V("div",cD,[K(o,{icon:"i-carbon-wifi-off"}),Re(" Disconnected from Server ")]),uD,V("div",fD,[K(o,{icon:"i-carbon-circle-dash","animate-spin":""}),Re(" Retrying... ")]),dD,K(i,{n:"sm yellow",px2:"",py0:"",op40:"",onClick:r[0]||(r[0]=a=>t())},{default:ue(()=>[Re(" Reload DevTools Page ")]),_:1})])):We("",!0)])}}}),pD={p4:"",flex:"~ col gap-1"},mD=V("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),gD={op50:""},vD={flex:"~ gap-3",mt2:"","justify-end":""},yD=Ae({__name:"RestartDialogs",setup(e){const t=Ne(),n=P2(),r=ft(),s=lf();return t.hook("devtools:terminal:exit",({id:o,code:i})=>{if(i===0){const a=n.value.find(l=>l.id===o);a&&(n.value=n.value.filter(l=>l.id!==o),s.start(a.message).then(async l=>{l&&(we.restartNuxt(await eu()),setTimeout(()=>{r.value?.app.reload()},500))}))}}),(o,i)=>{const a=fr,l=Sl;return Y(),xe(j(s),null,{default:ue(({resolve:c,args:u})=>[K(l,{"model-value":!0,onClose:f=>c(!1)},{default:ue(()=>[V("div",pD,[mD,V("p",gD,bt(u[0]),1),V("div",vD,[K(a,{onClick:f=>c(!1)},{default:ue(()=>[Re(" Cancel ")]),_:2},1032,["onClick"]),K(a,{n:"solid primary",onClick:f=>c(!0)},{default:ue(()=>[Re(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function _D(){return li("schema:input",null)}const tm=U([]),nm=U();function bD(){const e=Ne(),t=ft(),n=rt();Object.assign(jv,{async refresh(o){e.hooks.callHookParallel("app:data:refresh",[o])},async callHook(o,...i){e.hooks.callHookParallel(o,...i)},async onTerminalData(o){e.hooks.callHookParallel("devtools:terminal:data",o)},async onTerminalExit(o){e.hooks.callHookParallel("devtools:terminal:exit",o);const i=tm.value.findIndex(a=>a.processId===o.id);i!==-1&&tm.value.splice(i,1),nm.value?.processId===o.id&&(nm.value=void 0)},async navigateTo(o){t.value.devtools.open(),n.currentRoute.value?.path!==o&&n.push(o)}}),we.getModuleOptions().then(o=>{o.disableAuthorization&&(At.value=!0,_t.value||="disabled")});const{hiddenTabs:r,pinnedTabs:s}=Vr();vl("open",{hiddenTabs:r.value.join(","),pinnedTabs:s.value.join(",")},!0)}var wD=Object.create,i_=Object.defineProperty,ED=Object.getOwnPropertyDescriptor,Lf=Object.getOwnPropertyNames,SD=Object.getPrototypeOf,xD=Object.prototype.hasOwnProperty,CD=(e,t)=>function(){return e&&(t=(0,e[Lf(e)[0]])(e=0)),t},AD=(e,t)=>function(){return t||(0,e[Lf(e)[0]])((t={exports:{}}).exports,t),t.exports},TD=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Lf(t))!xD.call(e,s)&&s!==n&&i_(e,s,{get:()=>t[s],enumerable:!(r=ED(t,s))||r.enumerable});return e},RD=(e,t,n)=>(n=e!=null?wD(SD(e)):{},TD(t||!e||!e.__esModule?i_(n,"default",{value:e,enumerable:!0}):n,e)),di=CD({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.4/node_modules/tsup/assets/esm_shims.js"(){}}),PD=AD({"../../node_modules/.pnpm/rfdc@1.3.1/node_modules/rfdc/index.js"(e,t){di(),t.exports=r;function n(o){return o instanceof Buffer?Buffer.from(o):new o.constructor(o.buffer.slice(),o.byteOffset,o.length)}function r(o){if(o=o||{},o.circles)return s(o);return o.proto?l:a;function i(c,u){for(var f=Object.keys(c),d=new Array(f.length),h=0;h<f.length;h++){var p=f[h],g=c[p];typeof g!="object"||g===null?d[p]=g:g instanceof Date?d[p]=new Date(g):ArrayBuffer.isView(g)?d[p]=n(g):d[p]=u(g)}return d}function a(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return i(c,a);if(c instanceof Map)return new Map(i(Array.from(c),a));if(c instanceof Set)return new Set(i(Array.from(c),a));var u={};for(var f in c)if(Object.hasOwnProperty.call(c,f)!==!1){var d=c[f];typeof d!="object"||d===null?u[f]=d:d instanceof Date?u[f]=new Date(d):d instanceof Map?u[f]=new Map(i(Array.from(d),a)):d instanceof Set?u[f]=new Set(i(Array.from(d),a)):ArrayBuffer.isView(d)?u[f]=n(d):u[f]=a(d)}return u}function l(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return i(c,l);if(c instanceof Map)return new Map(i(Array.from(c),l));if(c instanceof Set)return new Set(i(Array.from(c),l));var u={};for(var f in c){var d=c[f];typeof d!="object"||d===null?u[f]=d:d instanceof Date?u[f]=new Date(d):d instanceof Map?u[f]=new Map(i(Array.from(d),l)):d instanceof Set?u[f]=new Set(i(Array.from(d),l)):ArrayBuffer.isView(d)?u[f]=n(d):u[f]=l(d)}return u}}function s(o){var i=[],a=[];return o.proto?u:c;function l(f,d){for(var h=Object.keys(f),p=new Array(h.length),g=0;g<h.length;g++){var m=h[g],v=f[m];if(typeof v!="object"||v===null)p[m]=v;else if(v instanceof Date)p[m]=new Date(v);else if(ArrayBuffer.isView(v))p[m]=n(v);else{var _=i.indexOf(v);_!==-1?p[m]=a[_]:p[m]=d(v)}}return p}function c(f){if(typeof f!="object"||f===null)return f;if(f instanceof Date)return new Date(f);if(Array.isArray(f))return l(f,c);if(f instanceof Map)return new Map(l(Array.from(f),c));if(f instanceof Set)return new Set(l(Array.from(f),c));var d={};i.push(f),a.push(d);for(var h in f)if(Object.hasOwnProperty.call(f,h)!==!1){var p=f[h];if(typeof p!="object"||p===null)d[h]=p;else if(p instanceof Date)d[h]=new Date(p);else if(p instanceof Map)d[h]=new Map(l(Array.from(p),c));else if(p instanceof Set)d[h]=new Set(l(Array.from(p),c));else if(ArrayBuffer.isView(p))d[h]=n(p);else{var g=i.indexOf(p);g!==-1?d[h]=a[g]:d[h]=c(p)}}return i.pop(),a.pop(),d}function u(f){if(typeof f!="object"||f===null)return f;if(f instanceof Date)return new Date(f);if(Array.isArray(f))return l(f,u);if(f instanceof Map)return new Map(l(Array.from(f),u));if(f instanceof Set)return new Set(l(Array.from(f),u));var d={};i.push(f),a.push(d);for(var h in f){var p=f[h];if(typeof p!="object"||p===null)d[h]=p;else if(p instanceof Date)d[h]=new Date(p);else if(p instanceof Map)d[h]=new Map(l(Array.from(p),u));else if(p instanceof Set)d[h]=new Set(l(Array.from(p),u));else if(ArrayBuffer.isView(p))d[h]=n(p);else{var g=i.indexOf(p);g!==-1?d[h]=a[g]:d[h]=u(p)}}return i.pop(),a.pop(),d}}}});di();di();var $D=typeof navigator<"u",Te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};typeof Te.chrome<"u"&&Te.chrome.devtools;$D&&(Te.self,Te.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");di();var OD=RD(PD(),1);function rm(){}var kD=/(?:^|[-_/])(\w)/g,ND=/-(\w)/g;function a_(e,t){return t?t.toUpperCase():""}function ID(e){return e&&`${e}`.replace(kD,a_)}function LD(e){return e&&e.replace(ND,a_)}function DD(e,t){const n=e.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),r=n.lastIndexOf("/"),s=n.substring(r+1);if(t){const o=s.lastIndexOf(t);return s.substring(0,o)}return""}var sm=(0,OD.default)({circles:!0});di();const MD={trailing:!0};function Df(e,t=25,n={}){if(n={...MD,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,s,o=[],i,a;const l=(c,u)=>(i=FD(e,c,u),i.finally(()=>{if(i=null,n.trailing&&a&&!s){const f=l(c,a);return a=null,f}}),i);return function(...c){return i?(n.trailing&&(a=c),i):new Promise(u=>{const f=!s&&n.leading;clearTimeout(s),s=setTimeout(()=>{s=null;const d=n.leading?r:l(this,c);for(const h of o)h(d);o=[]},t),f?(r=l(this,c),u(r)):o.push(u)})}}async function FD(e,t,n){return await e.apply(t,n)}var BD=Object.create,l_=Object.defineProperty,jD=Object.getOwnPropertyDescriptor,Mf=Object.getOwnPropertyNames,zD=Object.getPrototypeOf,HD=Object.prototype.hasOwnProperty,UD=(e,t)=>function(){return e&&(t=(0,e[Mf(e)[0]])(e=0)),t},c_=(e,t)=>function(){return t||(0,e[Mf(e)[0]])((t={exports:{}}).exports,t),t.exports},VD=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Mf(t))!HD.call(e,s)&&s!==n&&l_(e,s,{get:()=>t[s],enumerable:!(r=jD(t,s))||r.enumerable});return e},GD=(e,t,n)=>(n=e!=null?BD(zD(e)):{},VD(t||!e||!e.__esModule?l_(n,"default",{value:e,enumerable:!0}):n,e)),de=UD({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.4/node_modules/tsup/assets/esm_shims.js"(){}}),WD=c_({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){de(),function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},s=["်","ް"],o={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},a={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),u=[".","!","~","*","'","(",")"].join(""),f=function(m,v){var _="-",y="",b="",E=!0,C={},k,O,D,P,L,A,S,T,B,R,$,I,Z,ae,ie="";if(typeof m!="string")return"";if(typeof v=="string"&&(_=v),S=a.en,T=i.en,typeof v=="object"){k=v.maintainCase||!1,C=v.custom&&typeof v.custom=="object"?v.custom:C,D=+v.truncate>1&&v.truncate||!1,P=v.uric||!1,L=v.uricNoSlash||!1,A=v.mark||!1,E=!(v.symbols===!1||v.lang===!1),_=v.separator||_,P&&(ie+=l),L&&(ie+=c),A&&(ie+=u),S=v.lang&&a[v.lang]&&E?a[v.lang]:E?a.en:{},T=v.lang&&i[v.lang]?i[v.lang]:v.lang===!1||v.lang===!0?{}:i.en,v.titleCase&&typeof v.titleCase.length=="number"&&Array.prototype.toString.call(v.titleCase)?(v.titleCase.forEach(function(le){C[le+""]=le+""}),O=!0):O=!!v.titleCase,v.custom&&typeof v.custom.length=="number"&&Array.prototype.toString.call(v.custom)&&v.custom.forEach(function(le){C[le+""]=le+""}),Object.keys(C).forEach(function(le){var Se;le.length>1?Se=new RegExp("\\b"+h(le)+"\\b","gi"):Se=new RegExp(h(le),"gi"),m=m.replace(Se,C[le])});for($ in C)ie+=$}for(ie+=_,ie=h(ie),m=m.replace(/(^\s+|\s+$)/g,""),Z=!1,ae=!1,R=0,I=m.length;R<I;R++)$=m[R],p($,C)?Z=!1:T[$]?($=Z&&T[$].match(/[A-Za-z0-9]/)?" "+T[$]:T[$],Z=!1):$ in r?(R+1<I&&s.indexOf(m[R+1])>=0?(b+=$,$=""):ae===!0?($=o[b]+r[$],b=""):$=Z&&r[$].match(/[A-Za-z0-9]/)?" "+r[$]:r[$],Z=!1,ae=!1):$ in o?(b+=$,$="",R===I-1&&($=o[b]),ae=!0):S[$]&&!(P&&l.indexOf($)!==-1)&&!(L&&c.indexOf($)!==-1)?($=Z||y.substr(-1).match(/[A-Za-z0-9]/)?_+S[$]:S[$],$+=m[R+1]!==void 0&&m[R+1].match(/[A-Za-z0-9]/)?_:"",Z=!0):(ae===!0?($=o[b]+$,b="",ae=!1):Z&&(/[A-Za-z0-9]/.test($)||y.substr(-1).match(/A-Za-z0-9]/))&&($=" "+$),Z=!1),y+=$.replace(new RegExp("[^\\w\\s"+ie+"_-]","g"),_);return O&&(y=y.replace(/(\w)(\S*)/g,function(le,Se,Ce){var qe=Se.toUpperCase()+(Ce!==null?Ce:"");return Object.keys(C).indexOf(qe.toLowerCase())<0?qe:qe.toLowerCase()})),y=y.replace(/\s+/g,_).replace(new RegExp("\\"+_+"+","g"),_).replace(new RegExp("(^\\"+_+"+|\\"+_+"+$)","g"),""),D&&y.length>D&&(B=y.charAt(D)===_,y=y.slice(0,D),B||(y=y.slice(0,y.lastIndexOf(_)))),!k&&!O&&(y=y.toLowerCase()),y},d=function(m){return function(_){return f(_,m)}},h=function(m){return m.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},p=function(g,m){for(var v in m)if(m[v]===g)return!0};if(typeof t<"u"&&t.exports)t.exports=f,t.exports.createSlug=d;else if(typeof define<"u"&&define.amd)define([],function(){return f});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=f,n.createSlug=d}catch{}}(e)}}),KD=c_({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){de(),t.exports=WD()}});de();de();de();de();de();de();de();de();de();de();var om,im,wr=(im=(om=Te).__VUE_DEVTOOLS_HOOK)!=null?im:om.__VUE_DEVTOOLS_HOOK=sl(),qD={vueAppInit(e){wr.hook("app:init",e)},vueAppConnected(e){wr.hook("app:connected",e)},componentAdded(e){return wr.hook("component:added",e)},componentUpdated(e){return wr.hook("component:updated",e)},componentRemoved(e){return wr.hook("component:removed",e)},setupDevtoolsPlugin(e){wr.hook("devtools-plugin:setup",e)}},YD={on:qD,setupDevToolsPlugin(e,t){return wr.callHook("devtools-plugin:setup",e,t)}};de();de();de();de();de();de();de();GD(KD(),1);de();de();de();var am,lm,hi=(lm=(am=Te).__VUE_DEVTOOLS_API_HOOK)!=null?lm:am.__VUE_DEVTOOLS_API_HOOK=sl();function XD(e){const t=new Map;return(e?.getRoutes()||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function Ff(e){return e.map(t=>{let{path:n,name:r,children:s}=t;return s?.length&&(s=Ff(s)),{path:n,name:r,children:s}})}function ZD(e){if(e){const{fullPath:t,hash:n,href:r,path:s,name:o,matched:i,params:a,query:l}=e;return{fullPath:t,hash:n,href:r,path:s,name:o,params:a,query:l,matched:Ff(i)}}return e}function JD(e){function t(){var n;const r=(n=e.app)==null?void 0:n.config.globalProperties.$router,s=ZD(r?.currentRoute.value),o=Ff(XD(r)),i=console.warn;console.warn=()=>{},Te[Ss]={currentRoute:s?sm(s):{},routes:sm(o)},Te[za]=r,console.warn=i}t(),YD.on.componentUpdated(Df(()=>{t(),hi.callHook("router-info:updated",Te[Ss])},200))}de();de();de();function QD(e){return e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name}function u_(e){const t=e.__file;if(t)return ID(DD(t,".vue"))}function eM(e){const t=e.displayName||e.name||e._componentTag;return t||u_(e)}function cm(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function tM(e){var t,n,r;const s=QD(e.type||{});if(s)return s;if(e.root===e)return"Root";for(const i in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[i]===e.type)return cm(e,i);for(const i in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[i]===e.type)return cm(e,i);const o=u_(e.type||{});return o||"Anonymous Component"}function hr(e){try{return e()}catch(t){return t}}de();de();de();de();de();de();de();de();var nM=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),um=/^\[native Symbol Symbol\((.*)\)\]$/,fm=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,rM=/^(?:function|class) (\w+)/,dm=1e4,hm=5e3,Bf="__vue_devtool_undefined__",jf="__vue_devtool_infinity__",zf="__vue_devtool_negative_infinity__",Hf="__vue_devtool_nan__",sM={"<":"<",">":">",'"':""","&":"&"};de();de();function oM(e){return e._&&Object.keys(e._).includes("vnode")}function iM(e){return Object.prototype.toString.call(e)==="[object Object]"}function aM(e){if(e==null)return!0;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}function f_(e){return!!e.__v_isRef}function lM(e){return f_(e)&&!!e.effect}function cM(e){return!!e.__v_isReactive}function uM(e){return!!e.__v_isReadonly}var fM={[Bf]:"undefined",[Hf]:"NaN",[jf]:"Infinity",[zf]:"-Infinity"};Object.entries(fM).reduce((e,[t,n])=>(e[n]=t,e),{});function d_(e){if(Array.isArray(e))return e.map(n=>d_(n)).join(" or ");if(e==null)return"null";const t=e.toString().match(rM);return typeof e=="function"&&t&&t[1]||"any"}function dM(e){return!aM(e)&&!Array.isArray(e)&&!iM(e)?Object.prototype.toString.call(e):e}function h_(e){return{ref:f_(e),computed:lM(e),reactive:cM(e),readonly:uM(e)}}function p_(e){return e?.__v_raw?e.__v_raw:e}function hM(e){return e.replace(/[<>"&]/g,t=>sM[t]||t)}function ja(e,t,n){if(typeof t=="function"&&(t=t.options),!t)return e;const{mixins:r,extends:s}=t;s&&ja(e,s),r&&r.forEach(o=>ja(e,o));for(const o of["computed","inject"])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]?Object.assign(e[o],t[o]):e[o]=t[o]);return e}function pM(e){const t=e.type,{mixins:n,extends:r}=t,s=e.appContext.mixins;if(!s.length&&!n&&!r)return t;const o={};return s.forEach(i=>ja(o,i)),ja(o,t),o}function mM(e){const t=[],n=e.type.props;for(const r in e.props){const s=n?n[r]:null,o=LD(r);t.push({type:"props",key:o,value:hr(()=>e.props[r]),meta:s?{type:s.type?d_(s.type):"any",required:!!s.required,...s.default?{default:s.default.toString()}:{}}:{type:"invalid"}})}return t}function gM(e){const t=e.type,n=t.props,r=t.vuex&&t.vuex.getters,s=t.computed,o={...e.data,...e.renderContext};return Object.keys(o).filter(i=>!(n&&i in n)&&!(r&&i in r)&&!(s&&i in s)).map(i=>({key:i,type:"data",value:hr(()=>o[i]),editable:!0}))}function vM(e){const t=e.computed?"computed":e.ref?"ref":e.reactive?"reactive":null,n=t?`${t.charAt(0).toUpperCase()}${t.slice(1)}`:null;return{stateType:t,stateTypeName:n}}function yM(e){const t=e.devtoolsRawSetupState||{};return Object.keys(e.setupState).filter(n=>!nM.has(n)&&n.split(/(?=[A-Z])/)[0]!=="use").map(n=>{var r,s,o,i;const a=hr(()=>p_(e.setupState[n])),l=t[n];let c,u=typeof a=="function"||typeof a?.render=="function"||typeof a?.__asyncLoader=="function";if(l){const d=h_(l),{stateType:h,stateTypeName:p}=vM(d),g=d.ref||d.computed||d.reactive,m=((s=(r=l.effect)==null?void 0:r.raw)==null?void 0:s.toString())||((i=(o=l.effect)==null?void 0:o.fn)==null?void 0:i.toString());h&&(u=!1),c={...h?{stateType:h,stateTypeName:p}:{},...m?{raw:m}:{},editable:g&&!d.readonly}}return{key:n,value:a,type:u?"setup (other)":"setup",...c}})}function _M(e,t){const n=t,r=[],s=n.computed||{};for(const o in s){const i=s[o],a=typeof i=="function"&&i.vuex?"vuex bindings":"computed";r.push({type:a,key:o,value:hr(()=>{var l;return(l=e?.proxy)==null?void 0:l[o]}),editable:typeof i.set=="function"})}return r}function bM(e){return Object.keys(e.attrs).map(t=>({type:"attrs",key:t,value:hr(()=>e.attrs[t])}))}function wM(e){return Reflect.ownKeys(e.provides).map(t=>({type:"provided",key:t.toString(),value:hr(()=>e.provides[t])}))}function EM(e,t){if(!t?.inject)return[];let n=[],r;return Array.isArray(t.inject)?n=t.inject.map(s=>({key:s,originalKey:s})):n=Reflect.ownKeys(t.inject).map(s=>{const o=t.inject[s];let i;return typeof o=="string"||typeof o=="symbol"?i=o:(i=o.from,r=o.default),{key:s,originalKey:i}}),n.map(({key:s,originalKey:o})=>({type:"injected",key:o&&s!==o?`${o.toString()} ➞ ${s.toString()}`:s.toString(),value:hr(()=>e.ctx.hasOwnProperty(s)?e.ctx[s]:e.provides.hasOwnProperty(o)?e.provides[o]:r)}))}function SM(e){return Object.keys(e.refs).map(t=>({type:"refs",key:t,value:hr(()=>e.refs[t])}))}function xM(e){var t;const n=e.type.emits,r=Array.isArray(n)?n:Object.keys(n??{}),s=Object.keys((t=e.vnode.props)!=null?t:{}),o=[];for(const i of s){const[a,...l]=i.split(/(?=[A-Z])/);if(a==="on"){const c=l.join("-").toLowerCase(),u=r.includes(c);o.push({type:"event listeners",key:c,value:{_custom:{displayText:u?"✅ Declared":"⚠️ Not declared",key:u?"✅ Declared":"⚠️ Not declared",value:u?"✅ Declared":"⚠️ Not declared",tooltipText:u?null:`The event <code>${c}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return o}function CM(e){const t=pM(e);return mM(e).concat(gM(e),yM(e),_M(e,t),bM(e),wM(e),EM(e,t),SM(e),xM(e))}de();de();de();de();de();function AM(e){let t="",n=null;try{t=Function.prototype.toString.call(e),n=String.prototype.match.call(t,/\([\s\S]*?\)/)}catch{}const r=n&&n[0],s=typeof r=="string"?r:"(?)",o=typeof e.name=="string"?e.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;">function</span> ${hM(o)}${s}`,tooltipText:t.trim()?`<pre>${t}</pre>`:null}}}function TM(e){const t=BigInt.prototype.toString.call(e);return{_custom:{type:"bigint",displayText:`BigInt(${t})`,value:t}}}function RM(e){const t=new Date(e.getTime());return t.setMinutes(t.getMinutes()-t.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(e),value:t.toISOString().slice(0,-1)}}}function PM(e){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(e),readOnly:!0,fields:{abstract:!0}}}}function $M(e){const t=Array.from(e);return{_custom:{type:"set",displayText:`Set[${t.length}]`,value:t,readOnly:!0}}}function OM(e){const t={},n=e.getters||{},r=Object.keys(n);for(let s=0;s<r.length;s++){const o=r[s];Object.defineProperty(t,o,{enumerable:!0,get:()=>{try{return n[o]}catch(i){return i}}})}return t}function kM(e){if(e.length)return e.reduce((t,n)=>{const r=n.type||"data",s=t[r]=t[r]||{};return s[n.key]=n.value,t},{})}function NM(e){const t={},n=e.length;for(let r=0;r<n;r++){const s=e.item(r);t[s.name]=s.value}return t}function IM(e){return{_custom:{type:"store",displayText:"Store",value:{state:e.state,getters:OM(e)},fields:{abstract:!0}}}}function LM(e){return{_custom:{type:"router",displayText:"VueRouter",value:{options:e.options,currentRoute:e.currentRoute},fields:{abstract:!0}}}}function DM(e){e._&&(e=e._);const t=CM(e);return{_custom:{type:"component",id:e.__VUE_DEVTOOLS_NEXT_UID__,displayText:tM(e),tooltipText:"Component instance",value:kM(t),fields:{abstract:!0}}}}function MM(e){let t=eM(e);return t?e.name&&e.__file&&(t+=` <span>(${e.__file})</span>`):t="<i>Unknown Component</i>",{_custom:{type:"component-definition",displayText:t,tooltipText:"Component definition",...e.__file?{file:e.__file}:{}}}}function FM(e){try{return{_custom:{type:"HTMLElement",displayText:`<span class="opacity-30"><</span><span class="text-blue-500">${e.tagName.toLowerCase()}</span><span class="opacity-30">></span>`,value:NM(e.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(e)}</span>`}}}}function BM(e){var t,n,r,s;const o=h_(e);if(o.ref||o.computed||o.reactive){const a=o.computed?"Computed":o.ref?"Ref":o.reactive?"Reactive":null,l=p_(o.reactive?e:e._value),c=((n=(t=e.effect)==null?void 0:t.raw)==null?void 0:n.toString())||((s=(r=e.effect)==null?void 0:r.fn)==null?void 0:s.toString());return{_custom:{type:a?.toLowerCase(),stateTypeName:a,value:l,...c?{tooltipText:`<span class="font-mono">${c}</span>`}:{}}}}if(typeof e.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function jM(e){var t;if(e==="compilerOptions")return;const n=this[e],r=typeof n;if(Array.isArray(n)){const s=n.length;return s>hm?{_isArray:!0,length:s,items:n.slice(0,hm)}:n}else{if(typeof n=="string")return n.length>dm?`${n.substring(0,dm)}... (${n.length} total length)`:n;if(r==="undefined")return Bf;if(n===Number.POSITIVE_INFINITY)return jf;if(n===Number.NEGATIVE_INFINITY)return zf;if(typeof n=="function")return AM(n);if(r==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(n)}]`;if(typeof n=="bigint")return TM(n);if(n!==null&&typeof n=="object"){const s=Object.prototype.toString.call(n);if(s==="[object Map]")return PM(n);if(s==="[object Set]")return $M(n);if(s==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(n)}]`;if(s==="[object Date]")return RM(n);if(s==="[object Error]")return`[native Error ${n.message}<>${n.stack}]`;if(n.state&&n._vm)return IM(n);if(n.constructor&&n.constructor.name==="VueRouter")return LM(n);if(oM(n))return DM(n);if(typeof n.render=="function")return MM(n);if(n.constructor&&n.constructor.name==="VNode")return`[native VNode <${n.tag}>]`;if(typeof HTMLElement<"u"&&n instanceof HTMLElement)return FM(n);if(((t=n.constructor)==null?void 0:t.name)==="Store"&&n._wrappedGetters)return"[object Store]";if(n.currentRoute)return"[object Router]";const o=BM(n);if(o!=null)return o}else if(Number.isNaN(n))return Hf}return dM(n)}de();function zM(e){const t=new Set,n=e._custom.value;for(let r=0;r<n.length;r++){const s=n[r];t.add(Cl(s))}return t}function HM(e){const t=new Map,n=e._custom.value;for(let r=0;r<n.length;r++){const{key:s,value:o}=n[r];t.set(s,Cl(o))}return t}function Cl(e){var t;if(e!==Bf){if(e===jf)return Number.POSITIVE_INFINITY;if(e===zf)return Number.NEGATIVE_INFINITY;if(e===Hf)return Number.NaN;if(e&&e._custom){const{_custom:n}=e;return n.type==="component"?(t=yo.appRecord)==null?void 0:t.instanceMap.get(n.id):n.type==="map"?HM(e):n.type==="set"?zM(e):n.type==="bigint"?BigInt(n.value):Cl(n.value)}else if(um.test(e)){const[,n]=um.exec(e);return Symbol.for(n)}else if(fm.test(e)){const[,n,r,,s]=fm.exec(e),o=new Te[n](r);return n==="Error"&&s&&(o.stack=s),o}else return e}}function UM(e,t){return Cl(t)}de();var Hi=512*1024;function vu(e,t,n,r){let s,o,i,a,l;const c=r.get(e);if(c!=null)return c;const u=n.length,f=Object.prototype.toString.call(e);if(f==="[object Object]"){s={},r.set(e,u),n.push(s);const d=Object.keys(e);for(a=0,l=d.length;a<l;a++){o=d[a];try{if(o==="compilerOptions")return;i=e[o],t&&(i=t.call(e,o,i))}catch(h){i=h}s[o]=vu(i,t,n,r)}}else if(f==="[object Array]")for(s=[],r.set(e,u),n.push(s),a=0,l=e.length;a<l;a++){try{i=e[a],t&&(i=t.call(e,a,i))}catch(d){i=d}s[a]=vu(i,t,n,r)}else n.push(e);return u}function VM(e,t=null){let n=e.length,r,s,o,i,a,l;for(;n--;)if(o=e[n],l=Object.prototype.toString.call(o),l==="[object Object]"){const c=Object.keys(o);for(r=0,s=c.length;r<s;r++)i=c[r],a=e[o[i]],t&&(a=t.call(o,i,a)),o[i]=a}else if(l==="[object Array]")for(r=0,s=o.length;r<s;r++)a=e[o[r]],t&&(a=t.call(o,r,a)),o[r]=a}function GM(e,t=null,n=null){let r;try{r=arguments.length===1?JSON.stringify(e):JSON.stringify(e,t,n)}catch{r=WM(e,t,n)}if(r.length>Hi){const s=Math.ceil(r.length/Hi),o=[];for(let i=0;i<s;i++)o.push(r.slice(i*Hi,(i+1)*Hi));return o}return r}function WM(e,t=null,n=null){const r=[];return vu(e,t,r,new Map),n?` ${JSON.stringify(r,null,n)}`:` ${JSON.stringify(r)}`}function pm(e,t=null){if(Array.isArray(e)&&(e=e.join("")),/^\s/.test(e)){const r=JSON.parse(e);return VM(r,t),r[0]}else return arguments.length===1?JSON.parse(e):JSON.parse(e,t)}de();function m_(e){return GM(e,jM)}function KM(e,t=!1){return e==null?{}:t?pm(e,UM):pm(e)}de();de();de();de();de();var mm,gm;(gm=(mm=Te).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(mm.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);de();de();de();var Xn="__VUE_DEVTOOLS_GLOBAL_STATE__";function qM(){return{connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null,highPerfModeEnabled:!1}}var vm,ym;(ym=(vm=Te)[Xn])!=null||(vm[Xn]=qM());var g_=Df((e,t)=>{hi.callHook("devtools:state-updated",e,t)},80),v_=Df((e,t)=>{hi.callHook("devtools:connected-updated",e,t)},80),dt=new Proxy(Te[Xn],{get(e,t){return Te[Xn][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){const r={...Te[Xn]};return e[t]=n,Te[Xn][t]=n,g_(Te[Xn],r),["connected","clientConnected"].includes(t.toString())&&r[t]!==n&&v_(Te[Xn],r),!0}});Object.defineProperty(dt.tabs,"push",{configurable:!0,value(...e){const t=Array.prototype.push.apply(this,e);return dt.tabs=this,hi.callHook("custom-tabs:updated",this),t}});["push","splice"].forEach(e=>{Object.defineProperty(dt.commands,e,{configurable:!0,value(...t){const n=Array.prototype[e].apply(this,t);return dt.commands=this,hi.callHook("custom-commands:updated",this),n}})});de();de();var za="__VUE_DEVTOOLS_ROUTER__",Ss="__VUE_DEVTOOLS_ROUTER_INFO__",_m,bm;(bm=(_m=Te)[Ss])!=null||(_m[Ss]={currentRoute:null,routes:[]});var wm,Em;(Em=(wm=Te)[za])!=null||(wm[za]=null);var YM=new Proxy(Te[Ss],{get(e,t){return Te[Ss][t]}});de();var fs="__VUE_DEVTOOLS_CONTEXT__";function y_(){return{appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]}}var Sm,xm;(xm=(Sm=Te)[fs])!=null||(Sm[fs]=y_());function XM(){Te[fs]=y_()}var yo=new Proxy(Te[fs],{get(e,t){return t==="router"?Te[za]:t==="clear"?XM:Te[fs][t]},set(e,t,n){return Te[fs][t]=n,!0}});new Proxy(dt.appRecords,{get(e,t){if(t==="value")return dt.appRecords;if(t==="active")return dt.activeAppRecord;if(t==="activeId")return dt.activeAppRecordId},set(e,t,n){var r;const s={...dt};if(t==="value")dt.appRecords=n;else if(t==="active"){const o=n;dt.activeAppRecord=o,yo.appRecord=o,yo.api=o.api,yo.inspector=(r=o.inspector)!=null?r:[],JD(n),yo.routerInfo=YM}else t==="activeId"&&(dt.activeAppRecordId=n);return g_(dt,s),["connected","clientConnected"].includes(t.toString())&&s[t]!==n&&v_(dt,s),!0}});var Cm,Am;(Am=(Cm=Te).__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__)!=null||(Cm.__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__={id:0,appIds:new Set});de();var Tm,Rm;(Rm=(Tm=Te).__VUE_DEVTOOLS_ENV__)!=null||(Tm.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});de();de();function yu(e){dt.highPerfModeEnabled=e??!dt.highPerfModeEnabled}let ZM="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",__=(e=21)=>{let t="",n=e;for(;n--;)t+=ZM[Math.random()*64|0];return t};function JM(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(s){s(n)}),(r=e.get("*"))&&r.slice().map(function(s){s(t,n)})}}}var QM=Object.defineProperty,b_=(e,t)=>{for(var n in t)QM(e,n,{get:t[n],enumerable:!0})},e6={};b_(e6,{onAddTimelineEvent:()=>L6,onCustomCommandsUpdated:()=>O6,onCustomTabsUpdated:()=>$6,onDevToolsStateUpdated:()=>A_,onInspectorStateUpdated:()=>N6,onInspectorTreeUpdated:()=>k6,onRouterInfoUpdated:()=>I6});var t6={};b_(t6,{checkVueInspectorDetected:()=>n6,editInspectorState:()=>o6,enableVueInspector:()=>r6,getComponentBoundingRect:()=>l6,getDevToolsState:()=>w_,getInspectorState:()=>d6,getInspectorTree:()=>a6,getMatchedRoutes:()=>v6,getRouterInfo:()=>m6,getTimelineLayer:()=>y6,inspectComponentInspector:()=>c6,navigateAction:()=>g6,openInEditor:()=>i6,scrollToComponent:()=>f6,toggleApp:()=>s6,toggleComponentInspector:()=>u6,toggleHighPerfMode:()=>_6,unhighlightElement:()=>p6,updateInspectorTreeId:()=>h6});var n6=ot("devtools:check-vue-inspector-detected",async e=>{var t,n;return!!await((n=(t=e?.api)==null?void 0:t.getVueInspector)==null?void 0:n.call(t))}),r6=ot("devtools:enable-vue-inspector",async e=>{var t,n;const r=await((n=(t=e?.api)==null?void 0:t.getVueInspector)==null?void 0:n.call(t));r&&await r.enable()}),s6=ot("devtools:toggle-app",async(e,t)=>{await e.api.toggleApp(t)}),o6=ot("devtools:edit-inspector-state",(e,t)=>{e.api.editInspectorState(t)}),i6=ot("devtools:open-in-editor",(e,t,n)=>{e.api.openInEditor({file:t,baseUrl:n})}),a6=ot("devtools:inspector-tree",async(e,t)=>{const n=await e.api.getInspectorTree(t);return m_(n)}),l6=ot("devtools:get-component-bounding-rect",(e,t)=>e.api.getComponentBoundingRect(t)),c6=ot("devtools:inspect-component-inspector",e=>e.api.inspectComponentInspector()),u6=ot("devtools:toggle-component-inspector",(e,t)=>e.api.toggleComponentInspector(t)),f6=ot("devtools:scroll-to-component",(e,t)=>e.api.scrollToComponent(t)),d6=ot("devtools:inspector-state",async(e,t)=>{const n=await e.api.getInspectorState(t);return m_(n)}),h6=ot("devtools:update-inspector-tree-id",(e,t)=>{e.context.activeInspectorTreeId=t}),p6=ot("devtools:unhighlight-element",e=>e.api.unhighlightElement()),m6=ot("devtools:router-info",e=>JSON.stringify(e.context.routerInfo)),g6=ot("devtools:router-navigate",(e,t)=>{var n;(n=e.context.router)==null||n.push(t).catch(r=>r)}),v6=ot("devtools:matched-routes",(e,t)=>{var n,r;const s=console.warn;console.warn=()=>{};const o=(r=(n=e.context.router)==null?void 0:n.resolve({path:t||"/"}).matched)!=null?r:[];return console.warn=s,JSON.stringify(o)}),y6=ot("devtools:get-timeline-layer",e=>e.context.timelineLayer),w_=ot("devtools:get-state",e=>{var t,n;return{connected:e.state.connected,clientConnected:e.state.clientConnected,vueVersion:((n=(t=e.state)==null?void 0:t.activeAppRecord)==null?void 0:n.version)||"",tabs:e.state.tabs,commands:e.state.commands,vitePluginDetected:e.state.vitePluginDetected,appRecords:e.state.appRecords.map(r=>({id:r.id,name:r.name,version:r.version,routerId:r.routerId,moduleDetectives:r.moduleDetectives})),activeAppRecordId:e.state.activeAppRecordId}}),_6=ot("devtools:toggle-high-perf-mode",(e,t)=>{yu(t)}),b6="devtools:bridge-action",w6="devtools:bridge-listener",E_="__vue_devtools_bridge__",S_="__vue_devtools_bridge_target__",E6="devtools:bridge-action-events",S6="devtools:bridge-listener-events",x6=Te[E6]=new Map,C6=Te[S6]=new Map;function x_(){return Te[E_]}function A6(e){Te[E_]=e}function T6(e){Te[S_]=e}function C_(){return Te[S_]}function R6(e){A6(e),T6("devtools")}function ot(e,t){return async(...n)=>{if(C_()==="devtools"){const s=x_(),o=__();return await new Promise(i=>{s.once(o,a=>{i(a)}),s.emit(b6,{name:e,key:o,args:n})})}else x6.set(e,t)}}function Wr(e,t,n={}){return r=>{if(C_()==="devtools"){const{parser:o="devtools"}=n,i=o==="devtools"?KM:JSON.parse,a=x_(),l=__(),c=a.on(l,u=>{r(i(u))});return a.emit(w6,{key:l,name:e,parser:o}),c}else return C6.set(e,t),()=>{}}}var P6=class{constructor(e={tracker:rm,trigger:rm}){this.emitter=JM(),this.adapter=e,this.adapter.tracker(t=>{this._emit(t.event,t.data)})}_on(e,t){this.emitter.on(e,t)}off(e,t){this.emitter.off(e,t)}_emit(e,t){this.emitter.emit(e,t)}on(e,t){return this._on(e,t),()=>this.off(e,t)}once(e,t){const n=(...r)=>{t(...r),this.off(e,n)};this._on(e,n)}emit(e,t){this.adapter.trigger({event:e,data:t}),this._emit(e,t)}removeAllListeners(){this.emitter.all.clear()}},A_=Wr("devtools:on-state-updated",(e,t)=>{function n(s){var o;return{vueVersion:((o=s?.activeAppRecord)==null?void 0:o.version)||"",connected:s.connected,clientConnected:s.clientConnected,tabs:s.tabs,commands:s.commands,vitePluginDetected:s.vitePluginDetected,appRecords:s.appRecords.map(i=>({id:i.id,name:i.name,version:i.version,routerId:i.routerId,moduleDetectives:i.moduleDetectives})),activeAppRecordId:s.activeAppRecordId}}function r(){e.api.on.devtoolsStateUpdated(s=>{t(n(s))})}if(e?.api)r();else{const s=setInterval(()=>{if(e.state.connected){const o=e.state;t(n(o)),r(),clearInterval(s)}},10)}}),$6=Wr("devtools:on-custom-tabs-updated",(e,t)=>{e.api.on.customTabsUpdated(n=>{t(n)})}),O6=Wr("devtools:on-custom-commands-updated",(e,t)=>{e.api.on.customCommandsUpdated(n=>{t(n)})}),k6=Wr("devtools:on-inspector-tree-updated",(e,t)=>{e.api.on.sendInspectorTree(n=>{t(n)})}),N6=Wr("devtools:on-inspector-state-updated",(e,t)=>{e.api.on.sendInspectorState(n=>{t(n)})}),I6=Wr("devtools:on-router-info-updated",(e,t)=>{e.api.on.routerInfoUpdated(n=>{t(n)})},{parser:"json"}),L6=Wr("devtools:on-add-timeline-event",(e,t)=>{e.api.on.addTimelineEvent(n=>{t(n)})}),D6=class{constructor(e){this.socket=e}},M6=class extends D6{constructor(e){super(e)}onnConnect(){return new Promise(e=>{this.socket.on("syn",()=>{this.socket.emit("syn-ack");const t=setInterval(()=>{this.socket.emit("syn-ack")},300);this.socket.on("ack",()=>{clearInterval(t),e()})})})}},F6="__vue-devtools-broadcast-channel__",B6="__VUE_DEVTOOLS_USER_APP__",T_="__VUE_DEVTOOLS_CLIENT__",j6="__VUE_DEVTOOLS_CHECK_CONNECTION__",z6="__VUE_DEVTOOLS_CONNECTED__";function H6(e){return new P6({tracker(n){e.onmessage=r=>{r.data.target===B6&&n(r.data.data)}},trigger(n){e.postMessage({target:T_,data:n})}})}function Pm(e={}){const{onConnected:t=()=>{}}=e;let n=null;const r=new BroadcastChannel(F6);function s(){n=setInterval(()=>{r.postMessage({target:T_,data:{event:j6}})},2e3)}r.onmessage=o=>{var i,a;((a=(i=o.data)==null?void 0:i.data)==null?void 0:a.event)===z6&&(clearInterval(n),t(r))},s()}const _u=U(!1),bu=U(!1),Ji=U([]),wu=U(null),G3=oe(()=>_u.value&&bu.value),U6=oe(()=>Ji.value.find(e=>e.id===wu.value));function V6(){return w_().then(e=>{e&&(_u.value=e.connected,bu.value=e.clientConnected,Ji.value=e.appRecords,wu.value=e.activeAppRecordId)}),A_(e=>{e&&(_u.value=e.connected,bu.value=e.clientConnected,Ji.value=e.appRecords,wu.value=e.activeAppRecordId)}),{appRecords:Ji,activeAppRecord:U6}}function G6(){const e=sk(),t=window.__NUXT_DEVTOOLS_IS_POPUP__;Lr(()=>{yu(t?!1:!e.value?.open)}),Pm({onConnected(n){const r=H6(n);R6(r),new M6(r).onnConnect().then(()=>{r.emit("devtools:client-ready"),V6()}),r.on("disconnect",()=>{n.close(),Pm()})}})}const W6=oa(()=>ve(()=>import("./BZMq3h7l.js"),__vite__mapDeps([69,57,68,19,13,14,15,25]),import.meta.url).then(e=>e.default||e)),K6={fixed:"","inset-0":"","h-screen":"","w-screen":"","font-sans":""},q6=Ae({__name:"app",setup(e){ve(()=>import("./BX_yun5E.js"),[],import.meta.url),FS({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),G6(),bD();const t=ft(),n=Rs(),r=ev(),s=oe(()=>n.path.startsWith("/__")||n.path==="/"),o=oe(()=>!t.value&&!y2.value);De(()=>t.value?.app.colorMode.value,f=>{f&&(r.value=f)},{immediate:!0}),addEventListener("keydown",f=>{f.code==="KeyD"&&f.altKey&&(t.value?.devtools.close(),f.preventDefault())});const{scale:i,sidebarExpanded:a}=Vr(),l=_D();Dn(async()=>{const f=_2();Lr(()=>{window.__NUXT_DEVTOOLS__=f.value}),Lr(()=>{document.body.style.fontSize=`${i.value*15}px`}),At.value||_t.value&&await we.verifyAuthToken(_t.value)&&(At.value=!0)});const c=Gy(),u=nA({});return F4(()=>[...nu.value?[{id:"action:split-screen",title:`${Zn.value?"Close":"Open"} Split Screen`,icon:"i-carbon-split-screen",action:()=>{Zn.value=!Zn.value}}]:[],...u.isSupported.value?[{id:"action:eye-dropper",title:"Color Picker",icon:"i-carbon-eyedropper",action:async()=>{const{sRGBHex:f}=await u.open()||{};f&&c(f)}}]:[],{id:"action:refresh-data",title:"Refresh Data",icon:"i-carbon-data-backup",action:Vv},{id:"action:reload-page",title:"Reload Page",icon:"i-carbon-reset",action:Gv}]),(f,d)=>{const h=ON,p=kN,g=FN,m=d4,v=p4,_=T4,y=k4,b=I4,E=VL,C=QL,k=hD,O=yD,D=W6;return Y(),ge("div",K6,[K(h),K(p),j(o)?(Y(),xe(g,{key:0},{default:ue(()=>[Re(" Connecting.... ")]),_:1})):(Y(),ge("div",{key:1,class:Qe(j(s)?"flex":j(a)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"),"h-full":"","h-screen":"","of-hidden":"","rounded-xl":"","font-sans":"","bg-base":""},[Fo(K(m,{"of-x-hidden":"","of-y-auto":""},null,512),[[Tc,!j(s)]]),K(b,null,{default:ue(()=>[K(y,{"storage-key":"devtools:split-screen-mode","min-size":20},X1({left:ue(()=>[K(v)]),_:2},[!j(s)&&("splitScreenEnabled"in f?f.splitScreenEnabled:j(Zn))&&j(nu)?{name:"right",fn:ue(()=>[K(_)]),key:"0"}:void 0]),1024)]),_:1}),K(E),K(C)],2)),K(k),K(O),d._lazyshow1||j(l)?(d._lazyshow1=!0,Y(),ge(Le,null,[Fo(V("div",null,[K(D)],512),[[Tc,j(l)]])],64)):We("v-show-if",!0)])}}}),Y6={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
|
|
47
|
-
`).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
|
|
48
|
-
`);const 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,u=s?oa(()=>ve(()=>import("./DlQNtCxN.js"),__vite__mapDeps([70,71]),import.meta.url).then(f=>f.default||f)):oa(()=>ve(()=>import("./8vVaiFyN.js"),__vite__mapDeps([72,73]),import.meta.url).then(f=>f.default||f));return(f,d)=>(Y(),xe(j(u),Tu(Qa({statusCode:j(r),statusMessage:j(o),description:j(i),stack:j(a)})),null,16))}},$m={__name:"nuxt-root",setup(e){const t=()=>null,n=Ne(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);rt().beforeEach(a)}const s=!1;tr(si,Rs()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const o=il();yg((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),WE(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Jr(a)),!1});const i=!1;return(a,l)=>(Y(),xe(Hu,{onResolve:j(r)},{default:ue(()=>[j(o)?(Y(),xe(j(Y6),{key:0,error:j(o)},null,8,["error"])):j(i)?(Y(),xe(j(t),{key:1,context:j(i)},null,8,["context"])):j(s)?(Y(),xe(hs(j(s)),{key:2})):(Y(),xe(j(q6),{key:3}))]),_:1},8,["onResolve"]))}};let Om;{let e;Om=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?pw($m):e0($m),s=_E({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error=s.payload.error||oi(i)}r.config.errorHandler=o;try{await wE(s,TN)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(qS),await s.hooks.callHook("app:mounted",r),await Lt()}catch(i){o(i)}return r.config.errorHandler===o&&(r.config.errorHandler=void 0),r},e=Om().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{oE as $,Yy as A,Vr as B,$a as C,ek as D,oD as E,Le as F,Qe as G,cA as H,Fo as I,Tc as J,ol as K,we as L,eu as M,lf as N,F3 as O,rt as P,li as Q,j3 as R,F4 as S,Ig as T,k4 as U,vl as V,nm as W,Xy as X,XN as Y,Sl as Z,fr as _,oe as a,ks as a$,J0 as a0,Tt as a1,$1 as a2,Zr as a3,p3 as a4,vf as a5,Ls as a6,LE as a7,f3 as a8,hn as a9,Lr as aA,Ja as aB,_2 as aC,Rs as aD,YI as aE,At as aF,Yv as aG,JL as aH,x3 as aI,O3 as aJ,N3 as aK,y3 as aL,sw as aM,X1 as aN,T3 as aO,tm as aP,x1 as aQ,c1 as aR,As as aS,X6 as aT,tl as aU,cf as aV,v0 as aW,E3 as aX,l3 as aY,s3 as aZ,rA as a_,tt as aa,iy as ab,U3 as ac,d3 as ad,Jg as ae,Pd as af,I3 as ag,Ds as ah,r3 as ai,a3 as aj,YO as ak,ev as al,oy as am,k3 as an,Dn as ao,kf as ap,On as aq,C3 as ar,v3 as as,A2 as at,Nn as au,ft as av,hs as aw,Pt as ax,c3 as ay,Lt as az,o3 as b,RI as b$,bb as b0,g3 as b1,Hv as b2,m3 as b3,B3 as b4,NC as b5,V3 as b6,b3 as b7,A3 as b8,S3 as b9,e0 as bA,FN as bB,L3 as bC,kC as bD,z3 as bE,w3 as bF,da as bG,n3 as bH,i3 as bI,af as bJ,zO as bK,V1 as bL,en as bM,O2 as bN,H3 as bO,HO as bP,e3 as bQ,Ne as bR,U0 as bS,yp as bT,$3 as bU,D3 as bV,pt as bW,xl as bX,u3 as bY,ve as bZ,VO as b_,y2 as ba,mt as bb,P3 as bc,P2 as bd,Ps as be,_3 as bf,uw as bg,M3 as bh,Tu as bi,Qa as bj,U6 as bk,G3 as bl,tr as bm,et as bn,wt as bo,Q6 as bp,t3 as bq,J6 as br,Z6 as bs,iw as bt,$e as bu,Mu as bv,Hr as bw,Vt as bx,Va as by,ea as bz,$2 as c,eg as c0,Zi as c1,qN as c2,rw as c3,ow as c4,Ae as d,Gy as e,j as f,R3 as g,xe as h,K as i,ue as j,V as k,ze as l,ge as m,jo as n,Y as o,We as p,fi as q,U as r,FS as s,bt as t,_D as u,Re as v,De as w,Of as x,E1 as y,S1 as z};
|