@nuxt/devtools 0.6.5 → 0.6.7
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 +69 -57
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/__blank/index.html +2 -2
- package/dist/client/_nuxt/{AuthRequiredPanel.vue.4a384b9f.js → AuthRequiredPanel.vue.fc7f2968.js} +1 -1
- package/dist/client/_nuxt/{Badge.c0d1f5dc.js → Badge.e05fc69f.js} +1 -1
- package/dist/client/_nuxt/{CodeSnippets.vue.8c61fd7c.js → CodeSnippets.vue.a1fe908d.js} +1 -1
- package/dist/client/_nuxt/{DrawerRight.vue.c501225b.js → DrawerRight.vue.3adebf89.js} +1 -1
- package/dist/client/_nuxt/{DurationDisplay.vue.2e59bc69.js → DurationDisplay.vue.c6aa67b3.js} +1 -1
- package/dist/client/_nuxt/{FilepathItem.vue.3c115665.js → FilepathItem.vue.7520a5eb.js} +1 -1
- package/dist/client/_nuxt/{HelpFab.vue.9b43b6f2.js → HelpFab.vue.6c2e0089.js} +1 -1
- package/dist/client/_nuxt/{LaunchPage.vue.28e8d0e8.js → LaunchPage.vue.ace7e996.js} +1 -1
- package/dist/client/_nuxt/{NCheckbox.vue.14f1a446.js → NCheckbox.vue.660c8c34.js} +1 -1
- package/dist/client/_nuxt/{NCodeBlock.vue.aa4c2b0a.js → NCodeBlock.vue.12f6d4d2.js} +1 -1
- package/dist/client/_nuxt/NIconButton.vue.9dc5b644.js +1 -0
- package/dist/client/_nuxt/{NIconTitle.vue.a6be386c.js → NIconTitle.vue.0db956c8.js} +1 -1
- package/dist/client/_nuxt/{NLink.vue.5e3a6591.js → NLink.vue.f3f95732.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.c9f7ff32.js → NMarkdown.vue.31d61f61.js} +1 -1
- package/dist/client/_nuxt/{NPanelGrids.f899330a.js → NPanelGrids.cfd60e85.js} +1 -1
- package/dist/client/_nuxt/{NSectionBlock.6f18b32c.js → NSectionBlock.216523d8.js} +1 -1
- package/dist/client/_nuxt/{NSelect.vue.e9c1f76a.js → NSelect.vue.38f0d91b.js} +1 -1
- package/dist/client/_nuxt/{NSwitch.vue.36a2f491.js → NSwitch.vue.4e114eb7.js} +1 -1
- package/dist/client/_nuxt/{NTip.vue.d32fb4a2.js → NTip.vue.d602d31e.js} +1 -1
- package/dist/client/_nuxt/Navbar.vue.72301b0e.js +1 -0
- package/dist/client/_nuxt/{PanelLeftRight.vue.83f47156.js → PanelLeftRight.vue.d1539d19.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.d11165dd.js → StateEditor.vue.c8fd02b3.js} +1 -1
- package/dist/client/_nuxt/{__blank.cdaea659.js → __blank.58b4eaa9.js} +1 -1
- package/dist/client/_nuxt/{analyze-build.4d1e9ee6.js → analyze-build.66f9bc20.js} +1 -1
- package/dist/client/_nuxt/{assets.ecfd3346.js → assets.b60a4d67.js} +1 -1
- package/dist/client/_nuxt/{client.478bae5e.js → client.1e3208e3.js} +1 -1
- package/dist/client/_nuxt/{components.72f0cb37.js → components.3a437d73.js} +1 -1
- package/dist/client/_nuxt/{custom-_name_.ae308902.js → custom-_name_.1614dd97.js} +1 -1
- package/dist/client/_nuxt/{default.1c7986f5.js → default.a69a326f.js} +1 -1
- package/dist/client/_nuxt/entry.559460ac.js +21 -0
- package/dist/client/_nuxt/entry.e49b0ddd.css +1 -0
- package/dist/client/_nuxt/{error-404.258e4126.js → error-404.eb07c617.js} +1 -1
- package/dist/client/_nuxt/{error-500.98cfc561.js → error-500.8214e786.js} +1 -1
- package/dist/client/_nuxt/{full.7c8a2cb2.js → full.1f3e7ba7.js} +1 -1
- package/dist/client/_nuxt/{hooks.8e43178d.js → hooks.7a294c4b.js} +1 -1
- package/dist/client/_nuxt/{imports.61cdd20b.js → imports.8b3c700a.js} +1 -1
- package/dist/client/_nuxt/{index.8f8696d3.js → index.6a0822c9.js} +1 -1
- package/dist/client/_nuxt/{index.1c1c11c0.js → index.98d48447.js} +1 -1
- package/dist/client/_nuxt/{json-editor-vue.eb2897ef.js → json-editor-vue.9acffc14.js} +1 -1
- package/dist/client/_nuxt/{middleware.488057ad.js → middleware.c2f916df.js} +1 -1
- package/dist/client/_nuxt/{modules.b41a31a7.js → modules.a1aceff5.js} +1 -1
- package/dist/client/_nuxt/{none.a8009d94.js → none.bf6672f1.js} +1 -1
- package/dist/client/_nuxt/{open-graph.33eee6eb.js → open-graph.f68f3562.js} +1 -1
- package/dist/client/_nuxt/{overview.b383a09b.js → overview.9fbd51a4.js} +1 -1
- package/dist/client/_nuxt/{pages.a8f604e9.js → pages.8b6a187c.js} +1 -1
- package/dist/client/_nuxt/{payload.92a78313.js → payload.5851379a.js} +1 -1
- package/dist/client/_nuxt/{plugins.35647e23.js → plugins.20750545.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs.9e05f3a1.js → runtime-configs.ce330378.js} +1 -1
- package/dist/client/_nuxt/server-routes.08ebdd45.js +9 -0
- package/dist/client/_nuxt/settings.63ba52d8.js +1 -0
- package/dist/client/_nuxt/{state-components.64ea3be8.js → state-components.493c1b8d.js} +1 -1
- package/dist/client/_nuxt/{state-modules.b7c84a15.js → state-modules.c72270b1.js} +1 -1
- package/dist/client/_nuxt/{storage.e2daad83.js → storage.d37c76d1.js} +1 -1
- package/dist/client/_nuxt/{terminals.3a85d379.js → terminals.714ad795.js} +1 -1
- package/dist/client/_nuxt/{unocss-runtime.6872b5f3.js → unocss-runtime.552cd61f.js} +1 -1
- package/dist/client/_nuxt/{virtual-files.65a17d14.js → virtual-files.7bf5357c.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/client/modules/analyze-build/index.html +2 -2
- package/dist/client/modules/assets/index.html +2 -2
- package/dist/client/modules/components/index.html +2 -2
- package/dist/client/modules/hooks/index.html +2 -2
- package/dist/client/modules/imports/index.html +2 -2
- package/dist/client/modules/middleware/index.html +2 -2
- package/dist/client/modules/modules/index.html +2 -2
- package/dist/client/modules/open-graph/index.html +2 -2
- package/dist/client/modules/overview/index.html +2 -2
- package/dist/client/modules/pages/index.html +2 -2
- package/dist/client/modules/payload/index.html +2 -2
- package/dist/client/modules/plugins/index.html +2 -2
- package/dist/client/modules/runtime-configs/index.html +2 -2
- package/dist/client/modules/server-routes/index.html +2 -2
- package/dist/client/modules/storage/index.html +2 -2
- package/dist/client/modules/terminals/index.html +2 -2
- package/dist/client/modules/virtual-files/index.html +2 -2
- package/dist/client/settings/index.html +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/plugins/devtools.client.mjs +8 -6
- package/dist/runtime/plugins/view/FrameBox.vue +6 -0
- package/dist/runtime/plugins/view/client.mjs +2 -0
- package/dist/shared/{devtools.7ab40af4.mjs → devtools.ce3f2385.mjs} +21 -1
- package/package.json +12 -12
- package/dist/client/_nuxt/NIconButton.vue.31da9ea3.js +0 -1
- package/dist/client/_nuxt/Navbar.vue.370ac0a9.js +0 -1
- package/dist/client/_nuxt/entry.1e4f7d58.css +0 -1
- package/dist/client/_nuxt/entry.75d08b92.js +0 -21
- package/dist/client/_nuxt/server-routes.9200425c.js +0 -9
- package/dist/client/_nuxt/settings.ee08e815.js +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
function gl(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const He={},fr=[],At=()=>{},eg=()=>!1,tg=/^on[^a-z]/,Qs=e=>tg.test(e),vl=e=>e.startsWith("onUpdate:"),Ve=Object.assign,_l=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ng=Object.prototype.hasOwnProperty,Se=(e,t)=>ng.call(e,t),he=Array.isArray,dr=e=>Nr(e)==="[object Map]",Pr=e=>Nr(e)==="[object Set]",wc=e=>Nr(e)==="[object Date]",rg=e=>Nr(e)==="[object RegExp]",_e=e=>typeof e=="function",Ue=e=>typeof e=="string",js=e=>typeof e=="symbol",je=e=>e!==null&&typeof e=="object",yl=e=>je(e)&&_e(e.then)&&_e(e.catch),Td=Object.prototype.toString,Nr=e=>Td.call(e),sg=e=>Nr(e).slice(8,-1),kd=e=>Nr(e)==="[object Object]",bl=e=>Ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bs=gl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),di=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},og=/-(\w)/g,zt=di(e=>e.replace(og,(t,n)=>n?n.toUpperCase():"")),ig=/\B([A-Z])/g,Zn=di(e=>e.replace(ig,"-$1").toLowerCase()),hi=di(e=>e.charAt(0).toUpperCase()+e.slice(1)),No=di(e=>e?`on${hi(e)}`:""),Ms=(e,t)=>!Object.is(e,t),hr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Mo=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Do=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$d=e=>{const t=Ue(e)?Number(e):NaN;return isNaN(t)?e:t};let Ec;const Ta=()=>Ec||(Ec=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function gn(e){if(he(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ue(r)?ug(r):gn(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(Ue(e))return e;if(je(e))return e}}const ag=/;(?![^(]*\))/g,lg=/:([^]+)/,cg=/\/\*[^]*?\*\//g;function ug(e){const t={};return e.replace(cg,"").split(ag).forEach(n=>{if(n){const r=n.split(lg);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Xe(e){let t="";if(Ue(e))t=e;else if(he(e))for(let n=0;n<e.length;n++){const r=Xe(e[n]);r&&(t+=r+" ")}else if(je(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function wl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ue(t)&&(e.class=Xe(t)),n&&(e.style=gn(n)),e}const fg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",dg=gl(fg);function Sd(e){return!!e||e===""}function hg(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Gn(e[r],t[r]);return n}function Gn(e,t){if(e===t)return!0;let n=wc(e),r=wc(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=js(e),r=js(t),n||r)return e===t;if(n=he(e),r=he(t),n||r)return n&&r?hg(e,t):!1;if(n=je(e),r=je(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||!Gn(e[i],t[i]))return!1}}return String(e)===String(t)}function El(e,t){return e.findIndex(n=>Gn(n,t))}const St=e=>Ue(e)?e:e==null?"":he(e)||je(e)&&(e.toString===Td||!_e(e.toString))?JSON.stringify(e,Ad,2):String(e),Ad=(e,t)=>t&&t.__v_isRef?Ad(e,t.value):dr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Pr(t)?{[`Set(${t.size})`]:[...t.values()]}:je(t)&&!he(t)&&!kd(t)?String(t):t;let ft;class pg{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ft,!t&&ft&&(this.index=(ft.scopes||(ft.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ft;try{return ft=this,t()}finally{ft=n}}}on(){ft=this}off(){ft=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 mg(e,t=ft){t&&t.active&&t.effects.push(e)}function Rd(){return ft}function gg(e){ft&&ft.cleanups.push(e)}const xl=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Pd=e=>(e.w&En)>0,Nd=e=>(e.n&En)>0,vg=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=En},_g=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Pd(s)&&!Nd(s)?s.delete(e):t[n++]=s,s.w&=~En,s.n&=~En}t.length=n}},Fo=new WeakMap;let gs=0,En=1;const ka=30;let xt;const Un=Symbol(""),$a=Symbol("");class Tl{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,mg(this,r)}run(){if(!this.active)return this.fn();let t=xt,n=vn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=xt,xt=this,vn=!0,En=1<<++gs,gs<=ka?vg(this):xc(this),this.fn()}finally{gs<=ka&&_g(this),En=1<<--gs,xt=this.parent,vn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){xt===this?this.deferStop=!0:this.active&&(xc(this),this.onStop&&this.onStop(),this.active=!1)}}function xc(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let vn=!0;const Od=[];function Or(){Od.push(vn),vn=!1}function Lr(){const e=Od.pop();vn=e===void 0?!0:e}function ct(e,t,n){if(vn&&xt){let r=Fo.get(e);r||Fo.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=xl()),Ld(s)}}function Ld(e,t){let n=!1;gs<=ka?Nd(e)||(e.n|=En,n=!Pd(e)):n=!e.has(xt),n&&(e.add(xt),xt.deps.push(e))}function tn(e,t,n,r,s,o){const i=Fo.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&he(e)){const l=Number(r);i.forEach((c,d)=>{(d==="length"||d>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":he(e)?bl(n)&&a.push(i.get("length")):(a.push(i.get(Un)),dr(e)&&a.push(i.get($a)));break;case"delete":he(e)||(a.push(i.get(Un)),dr(e)&&a.push(i.get($a)));break;case"set":dr(e)&&a.push(i.get(Un));break}if(a.length===1)a[0]&&Sa(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Sa(xl(l))}}function Sa(e,t){const n=he(e)?e:[...e];for(const r of n)r.computed&&Tc(r);for(const r of n)r.computed||Tc(r)}function Tc(e,t){(e!==xt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function yg(e,t){var n;return(n=Fo.get(e))==null?void 0:n.get(t)}const bg=gl("__proto__,__v_isRef,__isVue"),Cd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(js)),wg=kl(),Eg=kl(!1,!0),xg=kl(!0),kc=Tg();function Tg(){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++)ct(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){Or();const r=$e(this)[t].apply(this,n);return Lr(),r}}),e}function kg(e){const t=$e(this);return ct(t,"has",e),t.hasOwnProperty(e)}function kl(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Hg:Fd:t?Dd:Md).get(r))return r;const i=he(r);if(!e){if(i&&Se(kc,s))return Reflect.get(kc,s,o);if(s==="hasOwnProperty")return kg}const a=Reflect.get(r,s,o);return(js(s)?Cd.has(s):bg(s))||(e||ct(r,"get",s),t)?a:De(a)?i&&bl(s)?a:a.value:je(a)?e?er(a):ut(a):a}}const $g=Id(),Sg=Id(!0);function Id(e=!1){return function(n,r,s,o){let i=n[r];if(zn(i)&&De(i)&&!De(s))return!1;if(!e&&(!Bo(s)&&!zn(s)&&(i=$e(i),s=$e(s)),!he(n)&&De(i)&&!De(s)))return i.value=s,!0;const a=he(n)&&bl(r)?Number(r)<n.length:Se(n,r),l=Reflect.set(n,r,s,o);return n===$e(o)&&(a?Ms(s,i)&&tn(n,"set",r,s):tn(n,"add",r,s)),l}}function Ag(e,t){const n=Se(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&tn(e,"delete",t,void 0),r}function Rg(e,t){const n=Reflect.has(e,t);return(!js(t)||!Cd.has(t))&&ct(e,"has",t),n}function Pg(e){return ct(e,"iterate",he(e)?"length":Un),Reflect.ownKeys(e)}const jd={get:wg,set:$g,deleteProperty:Ag,has:Rg,ownKeys:Pg},Ng={get:xg,set(e,t){return!0},deleteProperty(e,t){return!0}},Og=Ve({},jd,{get:Eg,set:Sg}),$l=e=>e,pi=e=>Reflect.getPrototypeOf(e);function oo(e,t,n=!1,r=!1){e=e.__v_raw;const s=$e(e),o=$e(t);n||(t!==o&&ct(s,"get",t),ct(s,"get",o));const{has:i}=pi(s),a=r?$l:n?Pl:Ds;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 io(e,t=!1){const n=this.__v_raw,r=$e(n),s=$e(e);return t||(e!==s&&ct(r,"has",e),ct(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function ao(e,t=!1){return e=e.__v_raw,!t&&ct($e(e),"iterate",Un),Reflect.get(e,"size",e)}function $c(e){e=$e(e);const t=$e(this);return pi(t).has.call(t,e)||(t.add(e),tn(t,"add",e,e)),this}function Sc(e,t){t=$e(t);const n=$e(this),{has:r,get:s}=pi(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?Ms(t,i)&&tn(n,"set",e,t):tn(n,"add",e,t),this}function Ac(e){const t=$e(this),{has:n,get:r}=pi(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&&tn(t,"delete",e,void 0),o}function Rc(){const e=$e(this),t=e.size!==0,n=e.clear();return t&&tn(e,"clear",void 0,void 0),n}function lo(e,t){return function(r,s){const o=this,i=o.__v_raw,a=$e(i),l=t?$l:e?Pl:Ds;return!e&&ct(a,"iterate",Un),i.forEach((c,d)=>r.call(s,l(c),l(d),o))}}function co(e,t,n){return function(...r){const s=this.__v_raw,o=$e(s),i=dr(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),d=n?$l:t?Pl:Ds;return!t&&ct(o,"iterate",l?$a:Un),{next(){const{value:u,done:f}=c.next();return f?{value:u,done:f}:{value:a?[d(u[0]),d(u[1])]:d(u),done:f}},[Symbol.iterator](){return this}}}}function an(e){return function(...t){return e==="delete"?!1:this}}function Lg(){const e={get(o){return oo(this,o)},get size(){return ao(this)},has:io,add:$c,set:Sc,delete:Ac,clear:Rc,forEach:lo(!1,!1)},t={get(o){return oo(this,o,!1,!0)},get size(){return ao(this)},has:io,add:$c,set:Sc,delete:Ac,clear:Rc,forEach:lo(!1,!0)},n={get(o){return oo(this,o,!0)},get size(){return ao(this,!0)},has(o){return io.call(this,o,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:lo(!0,!1)},r={get(o){return oo(this,o,!0,!0)},get size(){return ao(this,!0)},has(o){return io.call(this,o,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:lo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=co(o,!1,!1),n[o]=co(o,!0,!1),t[o]=co(o,!1,!0),r[o]=co(o,!0,!0)}),[e,n,t,r]}const[Cg,Ig,jg,Mg]=Lg();function Sl(e,t){const n=t?e?Mg:jg:e?Ig:Cg;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Se(n,s)&&s in r?n:r,s,o)}const Dg={get:Sl(!1,!1)},Fg={get:Sl(!1,!0)},Bg={get:Sl(!0,!1)},Md=new WeakMap,Dd=new WeakMap,Fd=new WeakMap,Hg=new WeakMap;function Ug(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vg(e){return e.__v_skip||!Object.isExtensible(e)?0:Ug(sg(e))}function ut(e){return zn(e)?e:Rl(e,!1,jd,Dg,Md)}function Al(e){return Rl(e,!1,Og,Fg,Dd)}function er(e){return Rl(e,!0,Ng,Bg,Fd)}function Rl(e,t,n,r,s){if(!je(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Vg(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function pr(e){return zn(e)?pr(e.__v_raw):!!(e&&e.__v_isReactive)}function zn(e){return!!(e&&e.__v_isReadonly)}function Bo(e){return!!(e&&e.__v_isShallow)}function Bd(e){return pr(e)||zn(e)}function $e(e){const t=e&&e.__v_raw;return t?$e(t):e}function Hd(e){return Mo(e,"__v_skip",!0),e}const Ds=e=>je(e)?ut(e):e,Pl=e=>je(e)?er(e):e;function Nl(e){vn&&xt&&(e=$e(e),Ld(e.dep||(e.dep=xl())))}function mi(e,t){e=$e(e);const n=e.dep;n&&Sa(n)}function De(e){return!!(e&&e.__v_isRef===!0)}function te(e){return Ud(e,!1)}function qn(e){return Ud(e,!0)}function Ud(e,t){return De(e)?e:new Wg(e,t)}class Wg{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:Ds(t)}get value(){return Nl(this),this._value}set value(t){const n=this.__v_isShallow||Bo(t)||zn(t);t=n?t:$e(t),Ms(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ds(t),mi(this))}}function Vd(e){mi(e)}function oe(e){return De(e)?e.value:e}function Ol(e){return _e(e)?e():oe(e)}const Gg={get:(e,t,n)=>oe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return De(s)&&!De(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Wd(e){return pr(e)?e:new Proxy(e,Gg)}class zg{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Nl(this),()=>mi(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Gd(e){return new zg(e)}function qg(e){const t=he(e)?new Array(e.length):{};for(const n in e)t[n]=zd(e,n);return t}class Kg{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 yg($e(this._object),this._key)}}class Xg{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function gi(e,t,n){return De(e)?e:_e(e)?new Xg(e):je(e)&&arguments.length>1?zd(e,t,n):te(e)}function zd(e,t,n){const r=e[t];return De(r)?r:new Kg(e,t,n)}class Yg{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Tl(t,()=>{this._dirty||(this._dirty=!0,mi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=$e(this);return Nl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Jg(e,t,n=!1){let r,s;const o=_e(e);return o?(r=e,s=At):(r=e.get,s=e.set),new Yg(r,s,o||!s,n)}function _n(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){Cr(o,t,n)}return s}function yt(e,t,n,r){if(_e(e)){const o=_n(e,t,n,r);return o&&yl(o)&&o.catch(i=>{Cr(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(yt(e[o],t,n,r));return s}function Cr(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=n;for(;o;){const c=o.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){_n(l,null,10,[e,i,a]);return}}Qg(e,n,s,r)}function Qg(e,t,n,r=!0){console.error(e)}let Fs=!1,Aa=!1;const Ze=[];let Ht=0;const mr=[];let Yt=null,In=0;const qd=Promise.resolve();let Ll=null;function wt(e){const t=Ll||qd;return e?t.then(this?e.bind(this):e):t}function Zg(e){let t=Ht+1,n=Ze.length;for(;t<n;){const r=t+n>>>1;Bs(Ze[r])<e?t=r+1:n=r}return t}function vi(e){(!Ze.length||!Ze.includes(e,Fs&&e.allowRecurse?Ht+1:Ht))&&(e.id==null?Ze.push(e):Ze.splice(Zg(e.id),0,e),Kd())}function Kd(){!Fs&&!Aa&&(Aa=!0,Ll=qd.then(Yd))}function ev(e){const t=Ze.indexOf(e);t>Ht&&Ze.splice(t,1)}function Xd(e){he(e)?mr.push(...e):(!Yt||!Yt.includes(e,e.allowRecurse?In+1:In))&&mr.push(e),Kd()}function Pc(e,t=Fs?Ht+1:0){for(;t<Ze.length;t++){const n=Ze[t];n&&n.pre&&(Ze.splice(t,1),t--,n())}}function Ho(e){if(mr.length){const t=[...new Set(mr)];if(mr.length=0,Yt){Yt.push(...t);return}for(Yt=t,Yt.sort((n,r)=>Bs(n)-Bs(r)),In=0;In<Yt.length;In++)Yt[In]();Yt=null,In=0}}const Bs=e=>e.id==null?1/0:e.id,tv=(e,t)=>{const n=Bs(e)-Bs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Yd(e){Aa=!1,Fs=!0,Ze.sort(tv);const t=At;try{for(Ht=0;Ht<Ze.length;Ht++){const n=Ze[Ht];n&&n.active!==!1&&_n(n,null,14)}}finally{Ht=0,Ze.length=0,Ho(),Fs=!1,Ll=null,(Ze.length||mr.length)&&Yd()}}function nv(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||He;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:u,trim:f}=r[d]||He;f&&(s=n.map(h=>Ue(h)?h.trim():h)),u&&(s=n.map(Do))}let a,l=r[a=No(t)]||r[a=No(zt(t))];!l&&o&&(l=r[a=No(Zn(t))]),l&&yt(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,yt(c,e,6,s)}}function Jd(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(!_e(e)){const l=c=>{const d=Jd(c,t,!0);d&&(a=!0,Ve(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(je(e)&&r.set(e,null),null):(he(o)?o.forEach(l=>i[l]=null):Ve(i,o),je(e)&&r.set(e,i),i)}function _i(e,t){return!e||!Qs(t)?!1:(t=t.slice(2).replace(/Once$/,""),Se(e,t[0].toLowerCase()+t.slice(1))||Se(e,Zn(t))||Se(e,t))}let ze=null,yi=null;function Uo(e){const t=ze;return ze=e,yi=e&&e.type.__scopeId||null,t}function rv(e){yi=e}function sv(){yi=null}const ov=e=>Ee;function Ee(e,t=ze,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Wc(-1);const o=Uo(t);let i;try{i=e(...s)}finally{Uo(o),r._d&&Wc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Gi(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:l,emit:c,render:d,renderCache:u,data:f,setupState:h,ctx:p,inheritAttrs:v}=e;let w,_;const g=Uo(e);try{if(n.shapeFlag&4){const y=s||r;w=gt(d.call(y,y,u,o,h,f,p)),_=l}else{const y=t;w=gt(y.length>1?y(o,{attrs:l,slots:a,emit:c}):y(o,null)),_=t.props?l:av(l)}}catch(y){ks.length=0,Cr(y,e,1),w=ce(rt)}let b=w;if(_&&v!==!1){const y=Object.keys(_),{shapeFlag:x}=b;y.length&&x&7&&(i&&y.some(vl)&&(_=lv(_,i)),b=nn(b,_))}return n.dirs&&(b=nn(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),w=b,Uo(g),w}function iv(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(xr(r)){if(r.type!==rt||r.children==="v-if"){if(t)return;t=r}}else return}return t}const av=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qs(n))&&((t||(t={}))[n]=e[n]);return t},lv=(e,t)=>{const n={};for(const r in e)(!vl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function cv(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?Nc(r,i,c):!!i;if(l&8){const d=t.dynamicProps;for(let u=0;u<d.length;u++){const f=d[u];if(i[f]!==r[f]&&!_i(c,f))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Nc(r,i,c):!0:!!i;return!1}function Nc(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]&&!_i(n,o))return!0}return!1}function Cl({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Qd=e=>e.__isSuspense,uv={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){e==null?fv(t,n,r,s,o,i,a,l,c):dv(e,t,n,r,s,i,a,l,c)},hydrate:hv,create:jl,normalize:pv},Il=uv;function Hs(e,t){const n=e.props&&e.props[t];_e(n)&&n()}function fv(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:d}}=l,u=d("div"),f=e.suspense=jl(e,s,r,t,u,n,o,i,a,l);c(null,f.pendingBranch=e.ssContent,u,null,r,f,o,i),f.deps>0?(Hs(e,"onPending"),Hs(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),gr(f,e.ssFallback)):f.resolve(!1,!0)}function dv(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:d}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const f=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:w,isHydrating:_}=u;if(v)u.pendingBranch=f,Tt(f,v)?(l(v,f,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0?u.resolve():w&&(l(p,h,n,r,s,null,o,i,a),gr(u,h))):(u.pendingId++,_?(u.isHydrating=!1,u.activeBranch=v):c(v,s,u),u.deps=0,u.effects.length=0,u.hiddenContainer=d("div"),w?(l(null,f,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0?u.resolve():(l(p,h,n,r,s,null,o,i,a),gr(u,h))):p&&Tt(f,p)?(l(p,f,n,r,s,u,o,i,a),u.resolve(!0)):(l(null,f,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0&&u.resolve()));else if(p&&Tt(f,p))l(p,f,n,r,s,u,o,i,a),gr(u,f);else if(Hs(t,"onPending"),u.pendingBranch=f,u.pendingId++,l(null,f,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0)u.resolve();else{const{timeout:g,pendingId:b}=u;g>0?setTimeout(()=>{u.pendingId===b&&u.fallback(h)},g):g===0&&u.fallback(h)}}function jl(e,t,n,r,s,o,i,a,l,c,d=!1){const{p:u,m:f,um:h,n:p,o:{parentNode:v,remove:w}}=c;let _;const g=mv(e);g&&t?.pendingBranch&&(_=t.pendingId,t.deps++);const b=e.props?$d(e.props.timeout):void 0,y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(x=!1,m=!1){const{vnode:T,activeBranch:E,pendingBranch:k,pendingId:A,effects:$,parentComponent:S,container:R}=y;if(y.isHydrating)y.isHydrating=!1;else if(!x){const I=E&&k.transition&&k.transition.mode==="out-in";I&&(E.transition.afterLeave=()=>{A===y.pendingId&&f(k,R,D,0)});let{anchor:D}=y;E&&(D=p(E),h(E,S,y,!0)),I||f(k,R,D,0)}gr(y,k),y.pendingBranch=null,y.isInFallback=!1;let P=y.parent,C=!1;for(;P;){if(P.pendingBranch){P.effects.push(...$),C=!0;break}P=P.parent}C||Xd($),y.effects=[],g&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!m&&t.resolve()),Hs(T,"onResolve")},fallback(x){if(!y.pendingBranch)return;const{vnode:m,activeBranch:T,parentComponent:E,container:k,isSVG:A}=y;Hs(m,"onFallback");const $=p(T),S=()=>{y.isInFallback&&(u(null,x,k,$,E,null,A,a,l),gr(y,x))},R=x.transition&&x.transition.mode==="out-in";R&&(T.transition.afterLeave=S),y.isInFallback=!0,h(T,E,null,!0),R||S()},move(x,m,T){y.activeBranch&&f(y.activeBranch,x,m,T),y.container=x},next(){return y.activeBranch&&p(y.activeBranch)},registerDep(x,m){const T=!!y.pendingBranch;T&&y.deps++;const E=x.vnode.el;x.asyncDep.catch(k=>{Cr(k,x,0)}).then(k=>{if(x.isUnmounted||y.isUnmounted||y.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:A}=x;Ca(x,k,!1),E&&(A.el=E);const $=!E&&x.subTree.el;m(x,A,v(E||x.subTree.el),E?null:p(x.subTree),y,i,l),$&&w($),Cl(x,A.el),T&&--y.deps===0&&y.resolve()})},unmount(x,m){y.isUnmounted=!0,y.activeBranch&&h(y.activeBranch,n,x,m),y.pendingBranch&&h(y.pendingBranch,n,x,m)}};return y}function hv(e,t,n,r,s,o,i,a,l){const c=t.suspense=jl(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),d}function pv(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Oc(r?n.default:n),e.ssFallback=r?Oc(n.fallback):ce(rt)}function Oc(e){let t;if(_e(e)){const n=Er&&e._c;n&&(e._d=!1,ue()),e=e(),n&&(e._d=!0,t=vt,Eh())}return he(e)&&(e=iv(e)),e=gt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Zd(e,t){t&&t.pendingBranch?he(e)?t.effects.push(...e):t.effects.push(e):Xd(e)}function gr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,Cl(r,s))}function mv(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Kn(e,t){return Ml(e,null,t)}const uo={};function Be(e,t,n){return Ml(e,t,n)}function Ml(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=He){var a;const l=Rd()===((a=We)==null?void 0:a.scope)?We:null;let c,d=!1,u=!1;if(De(e)?(c=()=>e.value,d=Bo(e)):pr(e)?(c=()=>e,r=!0):he(e)?(u=!0,d=e.some(y=>pr(y)||Bo(y)),c=()=>e.map(y=>{if(De(y))return y.value;if(pr(y))return Bn(y);if(_e(y))return _n(y,l,2)})):_e(e)?t?c=()=>_n(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return f&&f(),yt(e,l,3,[h])}:c=At,t&&r){const y=c;c=()=>Bn(y())}let f,h=y=>{f=g.onStop=()=>{_n(y,l,4)}},p;if(Tr)if(h=At,t?n&&yt(t,l,3,[c(),u?[]:void 0,h]):c(),s==="sync"){const y=r_();p=y.__watcherHandles||(y.__watcherHandles=[])}else return At;let v=u?new Array(e.length).fill(uo):uo;const w=()=>{if(g.active)if(t){const y=g.run();(r||d||(u?y.some((x,m)=>Ms(x,v[m])):Ms(y,v)))&&(f&&f(),yt(t,l,3,[y,v===uo?void 0:u&&v[0]===uo?[]:v,h]),v=y)}else g.run()};w.allowRecurse=!!t;let _;s==="sync"?_=w:s==="post"?_=()=>qe(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),_=()=>vi(w));const g=new Tl(c,_);t?n?w():v=g.run():s==="post"?qe(g.run.bind(g),l&&l.suspense):g.run();const b=()=>{g.stop(),l&&l.scope&&_l(l.scope.effects,g)};return p&&p.push(b),b}function gv(e,t,n){const r=this.proxy,s=Ue(e)?e.includes(".")?eh(r,e):()=>r[e]:e.bind(r,r);let o;_e(t)?o=t:(o=t.handler,n=t);const i=We;kn(this);const a=Ml(s,o.bind(r),n);return i?kn(i):yn(),a}function eh(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 Bn(e,t){if(!je(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),De(e))Bn(e.value,t);else if(he(e))for(let n=0;n<e.length;n++)Bn(e[n],t);else if(Pr(e)||dr(e))e.forEach(n=>{Bn(n,t)});else if(kd(e))for(const n in e)Bn(e[n],t);return e}function Dl(e,t){const n=ze;if(n===null)return e;const r=xi(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,c=He]=t[o];i&&(_e(i)&&(i={mounted:i,updated:i}),i.deep&&Bn(a),s.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ft(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&&(Or(),yt(l,n,8,[e.el,a,e,t]),Lr())}}function th(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return An(()=>{e.isMounted=!0}),Ir(()=>{e.isUnmounting=!0}),e}const mt=[Function,Array],nh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:mt,onEnter:mt,onAfterEnter:mt,onEnterCancelled:mt,onBeforeLeave:mt,onLeave:mt,onAfterLeave:mt,onLeaveCancelled:mt,onBeforeAppear:mt,onAppear:mt,onAfterAppear:mt,onAppearCancelled:mt},vv={name:"BaseTransition",props:nh,setup(e,{slots:t}){const n=Ot(),r=th();let s;return()=>{const o=t.default&&Fl(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const v of o)if(v.type!==rt){i=v;break}}const a=$e(e),{mode:l}=a;if(r.isLeaving)return zi(i);const c=Lc(i);if(!c)return zi(i);const d=Us(c,a,r,n);br(c,d);const u=n.subTree,f=u&&Lc(u);let h=!1;const{getTransitionKey:p}=c.type;if(p){const v=p();s===void 0?s=v:v!==s&&(s=v,h=!0)}if(f&&f.type!==rt&&(!Tt(c,f)||h)){const v=Us(f,a,r,n);if(br(f,v),l==="out-in")return r.isLeaving=!0,v.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},zi(i);l==="in-out"&&c.type!==rt&&(v.delayLeave=(w,_,g)=>{const b=rh(r,f);b[String(f.key)]=f,w._leaveCb=()=>{_(),w._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=g})}return i}}},_v=vv;function rh(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 Us(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:u,onLeave:f,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:v,onAppear:w,onAfterAppear:_,onAppearCancelled:g}=t,b=String(e.key),y=rh(n,e),x=(E,k)=>{E&&yt(E,r,9,k)},m=(E,k)=>{const A=k[1];x(E,k),he(E)?E.every($=>$.length<=1)&&A():E.length<=1&&A()},T={mode:o,persisted:i,beforeEnter(E){let k=a;if(!n.isMounted)if(s)k=v||a;else return;E._leaveCb&&E._leaveCb(!0);const A=y[b];A&&Tt(e,A)&&A.el._leaveCb&&A.el._leaveCb(),x(k,[E])},enter(E){let k=l,A=c,$=d;if(!n.isMounted)if(s)k=w||l,A=_||c,$=g||d;else return;let S=!1;const R=E._enterCb=P=>{S||(S=!0,P?x($,[E]):x(A,[E]),T.delayedLeave&&T.delayedLeave(),E._enterCb=void 0)};k?m(k,[E,R]):R()},leave(E,k){const A=String(e.key);if(E._enterCb&&E._enterCb(!0),n.isUnmounting)return k();x(u,[E]);let $=!1;const S=E._leaveCb=R=>{$||($=!0,k(),R?x(p,[E]):x(h,[E]),E._leaveCb=void 0,y[A]===e&&delete y[A])};y[A]=e,f?m(f,[E,S]):S()},clone(E){return Us(E,t,n,r)}};return T}function zi(e){if(Zs(e))return e=nn(e),e.children=null,e}function Lc(e){return Zs(e)?e.children?e.children[0]:void 0:e}function br(e,t){e.shapeFlag&6&&e.component?br(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 Fl(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===Ie?(i.patchFlag&128&&s++,r=r.concat(Fl(i.children,t,a))):(t||i.type!==rt)&&r.push(a!=null?nn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Oe(e,t){return _e(e)?(()=>Ve({name:e.name},t,{setup:e}))():e}const Vn=e=>!!e.type.__asyncLoader;function ws(e){_e(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,d=0;const u=()=>(d++,l=null,f()),f=()=>{let h;return l||(h=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((v,w)=>{a(p,()=>v(u()),()=>w(p),d+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return Oe({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const h=We;if(c)return()=>qi(c,h);const p=g=>{l=null,Cr(g,h,13,!r)};if(i&&h.suspense||Tr)return f().then(g=>()=>qi(g,h)).catch(g=>(p(g),()=>r?ce(r,{error:g}):null));const v=te(!1),w=te(),_=te(!!s);return s&&setTimeout(()=>{_.value=!1},s),o!=null&&setTimeout(()=>{if(!v.value&&!w.value){const g=new Error(`Async component timed out after ${o}ms.`);p(g),w.value=g}},o),f().then(()=>{v.value=!0,h.parent&&Zs(h.parent.vnode)&&vi(h.parent.update)}).catch(g=>{p(g),w.value=g}),()=>{if(v.value&&c)return qi(c,h);if(w.value&&r)return ce(r,{error:w.value});if(n&&!_.value)return ce(n)}}})}function qi(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=ce(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Zs=e=>e.type.__isKeepAlive,yv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ot(),r=n.ctx;if(!r.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:u}}}=r,f=u("div");r.activate=(g,b,y,x,m)=>{const T=g.component;c(g,b,y,0,a),l(T.vnode,g,b,y,T,a,x,g.slotScopeIds,m),qe(()=>{T.isDeactivated=!1,T.a&&hr(T.a);const E=g.props&&g.props.onVnodeMounted;E&&at(E,T.parent,g)},a)},r.deactivate=g=>{const b=g.component;c(g,f,null,1,a),qe(()=>{b.da&&hr(b.da);const y=g.props&&g.props.onVnodeUnmounted;y&&at(y,b.parent,g),b.isDeactivated=!0},a)};function h(g){Ki(g),d(g,n,a,!0)}function p(g){s.forEach((b,y)=>{const x=Ia(b.type);x&&(!g||!g(x))&&v(y)})}function v(g){const b=s.get(g);!i||!Tt(b,i)?h(b):i&&Ki(i),s.delete(g),o.delete(g)}Be(()=>[e.include,e.exclude],([g,b])=>{g&&p(y=>vs(g,y)),b&&p(y=>!vs(b,y))},{flush:"post",deep:!0});let w=null;const _=()=>{w!=null&&s.set(w,Xi(n.subTree))};return An(_),Bl(_),Ir(()=>{s.forEach(g=>{const{subTree:b,suspense:y}=n,x=Xi(b);if(g.type===x.type&&g.key===x.key){Ki(x);const m=x.component.da;m&&qe(m,y);return}h(g)})}),()=>{if(w=null,!t.default)return null;const g=t.default(),b=g[0];if(g.length>1)return i=null,g;if(!xr(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return i=null,b;let y=Xi(b);const x=y.type,m=Ia(Vn(y)?y.type.__asyncResolved||{}:x),{include:T,exclude:E,max:k}=e;if(T&&(!m||!vs(T,m))||E&&m&&vs(E,m))return i=y,b;const A=y.key==null?x:y.key,$=s.get(A);return y.el&&(y=nn(y),b.shapeFlag&128&&(b.ssContent=y)),w=A,$?(y.el=$.el,y.component=$.component,y.transition&&br(y,y.transition),y.shapeFlag|=512,o.delete(A),o.add(A)):(o.add(A),k&&o.size>parseInt(k,10)&&v(o.values().next().value)),y.shapeFlag|=256,i=y,Qd(b.type)?b:y}}},bv=yv;function vs(e,t){return he(e)?e.some(n=>vs(n,t)):Ue(e)?e.split(",").includes(t):rg(e)?e.test(t):!1}function sh(e,t){ih(e,"a",t)}function oh(e,t){ih(e,"da",t)}function ih(e,t,n=We){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(bi(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Zs(s.parent.vnode)&&wv(r,t,n,s),s=s.parent}}function wv(e,t,n,r){const s=bi(t,e,r,!0);Vs(()=>{_l(r[t],s)},n)}function Ki(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Xi(e){return e.shapeFlag&128?e.ssContent:e}function bi(e,t,n=We,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Or(),kn(n);const a=yt(t,n,e,i);return yn(),Lr(),a});return r?s.unshift(o):s.push(o),o}}const on=e=>(t,n=We)=>(!Tr||e==="sp")&&bi(e,(...r)=>t(...r),n),ah=on("bm"),An=on("m"),Ev=on("bu"),Bl=on("u"),Ir=on("bum"),Vs=on("um"),xv=on("sp"),Tv=on("rtg"),kv=on("rtc");function lh(e,t=We){bi("ec",e,t)}const Hl="components",$v="directives";function xn(e,t){return Vl(Hl,e,!0,t)||e}const ch=Symbol.for("v-ndc");function Ul(e){return Ue(e)?Vl(Hl,e,!1)||e:e||ch}function b2(e){return Vl($v,e)}function Vl(e,t,n=!0,r=!1){const s=ze||We;if(s){const o=s.type;if(e===Hl){const a=Ia(o,!1);if(a&&(a===t||a===zt(t)||a===hi(zt(t))))return o}const i=Cc(s[e]||o[e],t)||Cc(s.appContext[e],t);return!i&&r?o:i}}function Cc(e,t){return e&&(e[t]||e[zt(t)]||e[hi(zt(t))])}function _s(e,t,n,r){let s;const o=n&&n[r];if(he(e)||Ue(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(je(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 w2(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(he(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 bt(e,t,n={},r,s){if(ze.isCE||ze.parent&&Vn(ze.parent)&&ze.parent.isCE)return t!=="default"&&(n.name=t),ce("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),ue();const i=o&&uh(o(n)),a=Ne(Ie,{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 uh(e){return e.some(t=>xr(t)?!(t.type===rt||t.type===Ie&&!uh(t.children)):!0)?e:null}function E2(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:No(r)]=e[r];return n}const Ra=e=>e?kh(e)?xi(e)||e.proxy:Ra(e.parent):null,Es=Ve(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=>Ra(e.parent),$root:e=>Ra(e.root),$emit:e=>e.emit,$options:e=>Wl(e),$forceUpdate:e=>e.f||(e.f=()=>vi(e.update)),$nextTick:e=>e.n||(e.n=wt.bind(e.proxy)),$watch:e=>gv.bind(e)}),Yi=(e,t)=>e!==He&&!e.__isScriptSetup&&Se(e,t),Sv={get({_:e},t){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(Yi(r,t))return i[t]=1,r[t];if(s!==He&&Se(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&Se(c,t))return i[t]=3,o[t];if(n!==He&&Se(n,t))return i[t]=4,n[t];Pa&&(i[t]=0)}}const d=Es[t];let u,f;if(d)return t==="$attrs"&&ct(e,"get",t),d(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==He&&Se(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Se(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Yi(s,t)?(s[t]=n,!0):r!==He&&Se(r,t)?(r[t]=n,!0):Se(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!==He&&Se(e,i)||Yi(t,i)||(a=o[0])&&Se(a,i)||Se(r,i)||Se(Es,i)||Se(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ic(e){return he(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function x2(e){const t=Ot();let n=e();return yn(),yl(n)&&(n=n.catch(r=>{throw kn(t),r})),[n,()=>kn(t)]}let Pa=!0;function Av(e){const t=Wl(e),n=e.proxy,r=e.ctx;Pa=!1,t.beforeCreate&&jc(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:d,beforeMount:u,mounted:f,beforeUpdate:h,updated:p,activated:v,deactivated:w,beforeDestroy:_,beforeUnmount:g,destroyed:b,unmounted:y,render:x,renderTracked:m,renderTriggered:T,errorCaptured:E,serverPrefetch:k,expose:A,inheritAttrs:$,components:S,directives:R,filters:P}=t;if(c&&Rv(c,r,null),i)for(const D in i){const F=i[D];_e(F)&&(r[D]=F.bind(n))}if(s){const D=s.call(n,n);je(D)&&(e.data=ut(D))}if(Pa=!0,o)for(const D in o){const F=o[D],W=_e(F)?F.bind(n,n):_e(F.get)?F.get.bind(n,n):At,se=!_e(F)&&_e(F.set)?F.set.bind(n):At,Q=pe({get:W,set:se});Object.defineProperty(r,D,{enumerable:!0,configurable:!0,get:()=>Q.value,set:ne=>Q.value=ne})}if(a)for(const D in a)fh(a[D],r,n,D);if(l){const D=_e(l)?l.call(n):l;Reflect.ownKeys(D).forEach(F=>{Wn(F,D[F])})}d&&jc(d,e,"c");function I(D,F){he(F)?F.forEach(W=>D(W.bind(n))):F&&D(F.bind(n))}if(I(ah,u),I(An,f),I(Ev,h),I(Bl,p),I(sh,v),I(oh,w),I(lh,E),I(kv,m),I(Tv,T),I(Ir,g),I(Vs,y),I(xv,k),he(A))if(A.length){const D=e.exposed||(e.exposed={});A.forEach(F=>{Object.defineProperty(D,F,{get:()=>n[F],set:W=>n[F]=W})})}else e.exposed||(e.exposed={});x&&e.render===At&&(e.render=x),$!=null&&(e.inheritAttrs=$),S&&(e.components=S),R&&(e.directives=R)}function Rv(e,t,n=At){he(e)&&(e=Na(e));for(const r in e){const s=e[r];let o;je(s)?"default"in s?o=lt(s.from||r,s.default,!0):o=lt(s.from||r):o=lt(s),De(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function jc(e,t,n){yt(he(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function fh(e,t,n,r){const s=r.includes(".")?eh(n,r):()=>n[r];if(Ue(e)){const o=t[e];_e(o)&&Be(s,o)}else if(_e(e))Be(s,e.bind(n));else if(je(e))if(he(e))e.forEach(o=>fh(o,t,n,r));else{const o=_e(e.handler)?e.handler.bind(n):t[e.handler];_e(o)&&Be(s,o,e)}}function Wl(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=>Vo(l,c,i,!0)),Vo(l,t,i)),je(t)&&o.set(t,l),l}function Vo(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Vo(e,o,n,!0),s&&s.forEach(i=>Vo(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Pv[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Pv={data:Mc,props:Dc,emits:Dc,methods:ys,computed:ys,beforeCreate:nt,created:nt,beforeMount:nt,mounted:nt,beforeUpdate:nt,updated:nt,beforeDestroy:nt,beforeUnmount:nt,destroyed:nt,unmounted:nt,activated:nt,deactivated:nt,errorCaptured:nt,serverPrefetch:nt,components:ys,directives:ys,watch:Ov,provide:Mc,inject:Nv};function Mc(e,t){return t?e?function(){return Ve(_e(e)?e.call(this,this):e,_e(t)?t.call(this,this):t)}:t:e}function Nv(e,t){return ys(Na(e),Na(t))}function Na(e){if(he(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function nt(e,t){return e?[...new Set([].concat(e,t))]:t}function ys(e,t){return e?Ve(Object.create(null),e,t):t}function Dc(e,t){return e?he(e)&&he(t)?[...new Set([...e,...t])]:Ve(Object.create(null),Ic(e),Ic(t??{})):t}function Ov(e,t){if(!e)return t;if(!t)return e;const n=Ve(Object.create(null),e);for(const r in t)n[r]=nt(e[r],t[r]);return n}function dh(){return{app:null,config:{isNativeTag:eg,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 Lv=0;function Cv(e,t){return function(r,s=null){_e(r)||(r=Ve({},r)),s!=null&&!je(s)&&(s=null);const o=dh(),i=new Set;let a=!1;const l=o.app={_uid:Lv++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Sh,get config(){return o.config},set config(c){},use(c,...d){return i.has(c)||(c&&_e(c.install)?(i.add(c),c.install(l,...d)):_e(c)&&(i.add(c),c(l,...d))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,d){return d?(o.components[c]=d,l):o.components[c]},directive(c,d){return d?(o.directives[c]=d,l):o.directives[c]},mount(c,d,u){if(!a){const f=ce(r,s);return f.appContext=o,d&&t?t(f,c):e(f,c,u),a=!0,l._container=c,c.__vue_app__=l,xi(f.component)||f.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,d){return o.provides[c]=d,l},runWithContext(c){Ws=l;try{return c()}finally{Ws=null}}};return l}}let Ws=null;function Wn(e,t){if(We){let n=We.provides;const r=We.parent&&We.parent.provides;r===n&&(n=We.provides=Object.create(r)),n[e]=t}}function lt(e,t,n=!1){const r=We||ze;if(r||Ws){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Ws._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&_e(t)?t.call(r&&r.proxy):t}}function hh(){return!!(We||ze||Ws)}function Iv(e,t,n,r=!1){const s={},o={};Mo(o,wi,1),e.propsDefaults=Object.create(null),ph(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Al(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function jv(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 d=e.vnode.dynamicProps;for(let u=0;u<d.length;u++){let f=d[u];if(_i(e.emitsOptions,f))continue;const h=t[f];if(l)if(Se(o,f))h!==o[f]&&(o[f]=h,c=!0);else{const p=zt(f);s[p]=Oa(l,a,p,h,e,!1)}else h!==o[f]&&(o[f]=h,c=!0)}}}else{ph(e,t,s,o)&&(c=!0);let d;for(const u in a)(!t||!Se(t,u)&&((d=Zn(u))===u||!Se(t,d)))&&(l?n&&(n[u]!==void 0||n[d]!==void 0)&&(s[u]=Oa(l,a,u,void 0,e,!0)):delete s[u]);if(o!==a)for(const u in o)(!t||!Se(t,u))&&(delete o[u],c=!0)}c&&tn(e,"set","$attrs")}function ph(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(bs(l))continue;const c=t[l];let d;s&&Se(s,d=zt(l))?!o||!o.includes(d)?n[d]=c:(a||(a={}))[d]=c:_i(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=$e(n),c=a||He;for(let d=0;d<o.length;d++){const u=o[d];n[u]=Oa(s,l,u,c[u],e,!Se(c,u))}}return i}function Oa(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=Se(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&_e(l)){const{propsDefaults:c}=s;n in c?r=c[n]:(kn(s),r=c[n]=l.call(null,t),yn())}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===Zn(n))&&(r=!0))}return r}function mh(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(!_e(e)){const d=u=>{l=!0;const[f,h]=mh(u,t,!0);Ve(i,f),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!l)return je(e)&&r.set(e,fr),fr;if(he(o))for(let d=0;d<o.length;d++){const u=zt(o[d]);Fc(u)&&(i[u]=He)}else if(o)for(const d in o){const u=zt(d);if(Fc(u)){const f=o[d],h=i[u]=he(f)||_e(f)?{type:f}:Ve({},f);if(h){const p=Uc(Boolean,h.type),v=Uc(String,h.type);h[0]=p>-1,h[1]=v<0||p<v,(p>-1||Se(h,"default"))&&a.push(u)}}}const c=[i,a];return je(e)&&r.set(e,c),c}function Fc(e){return e[0]!=="$"}function Bc(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Hc(e,t){return Bc(e)===Bc(t)}function Uc(e,t){return he(t)?t.findIndex(n=>Hc(n,e)):_e(t)&&Hc(t,e)?0:-1}const gh=e=>e[0]==="_"||e==="$stable",Gl=e=>he(e)?e.map(gt):[gt(e)],Mv=(e,t,n)=>{if(t._n)return t;const r=Ee((...s)=>Gl(t(...s)),n);return r._c=!1,r},vh=(e,t,n)=>{const r=e._ctx;for(const s in e){if(gh(s))continue;const o=e[s];if(_e(o))t[s]=Mv(s,o,r);else if(o!=null){const i=Gl(o);t[s]=()=>i}}},_h=(e,t)=>{const n=Gl(t);e.slots.default=()=>n},Dv=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=$e(t),Mo(t,"_",n)):vh(t,e.slots={})}else e.slots={},t&&_h(e,t);Mo(e.slots,wi,1)},Fv=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=He;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Ve(s,t),!n&&a===1&&delete s._):(o=!t.$stable,vh(t,s)),i=t}else t&&(_h(e,t),i={default:1});if(o)for(const a in s)!gh(a)&&!(a in i)&&delete s[a]};function Wo(e,t,n,r,s=!1){if(he(e)){e.forEach((f,h)=>Wo(f,t&&(he(t)?t[h]:t),n,r,s));return}if(Vn(r)&&!s)return;const o=r.shapeFlag&4?xi(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,d=a.refs===He?a.refs={}:a.refs,u=a.setupState;if(c!=null&&c!==l&&(Ue(c)?(d[c]=null,Se(u,c)&&(u[c]=null)):De(c)&&(c.value=null)),_e(l))_n(l,a,12,[i,d]);else{const f=Ue(l),h=De(l);if(f||h){const p=()=>{if(e.f){const v=f?Se(u,l)?u[l]:d[l]:l.value;s?he(v)&&_l(v,o):he(v)?v.includes(o)||v.push(o):f?(d[l]=[o],Se(u,l)&&(u[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else f?(d[l]=i,Se(u,l)&&(u[l]=i)):h&&(l.value=i,e.k&&(d[e.k]=i))};i?(p.id=-1,qe(p,n)):p()}}}let ln=!1;const fo=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",ho=e=>e.nodeType===8;function Bv(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,d=(_,g)=>{if(!g.hasChildNodes()){n(null,_,g),Ho(),g._vnode=_;return}ln=!1,u(g.firstChild,_,null,null,null),Ho(),g._vnode=_,ln&&console.error("Hydration completed but contains mismatches.")},u=(_,g,b,y,x,m=!1)=>{const T=ho(_)&&_.data==="[",E=()=>v(_,g,b,y,x,T),{type:k,ref:A,shapeFlag:$,patchFlag:S}=g;let R=_.nodeType;g.el=_,S===-2&&(m=!1,g.dynamicChildren=null);let P=null;switch(k){case wr:R!==3?g.children===""?(l(g.el=s(""),i(_),_),P=_):P=E():(_.data!==g.children&&(ln=!0,_.data=g.children),P=o(_));break;case rt:R!==8||T?P=E():P=o(_);break;case Ts:if(T&&(_=o(_),R=_.nodeType),R===1||R===3){P=_;const C=!g.children.length;for(let I=0;I<g.staticCount;I++)C&&(g.children+=P.nodeType===1?P.outerHTML:P.data),I===g.staticCount-1&&(g.anchor=P),P=o(P);return T?o(P):P}else E();break;case Ie:T?P=p(_,g,b,y,x,m):P=E();break;default:if($&1)R!==1||g.type.toLowerCase()!==_.tagName.toLowerCase()?P=E():P=f(_,g,b,y,x,m);else if($&6){g.slotScopeIds=x;const C=i(_);if(t(g,C,null,b,y,fo(C),m),P=T?w(_):o(_),P&&ho(P)&&P.data==="teleport end"&&(P=o(P)),Vn(g)){let I;T?(I=ce(Ie),I.anchor=P?P.previousSibling:C.lastChild):I=_.nodeType===3?Me(""):ce("div"),I.el=_,g.component.subTree=I}}else $&64?R!==8?P=E():P=g.type.hydrate(_,g,b,y,x,m,e,h):$&128&&(P=g.type.hydrate(_,g,b,y,fo(i(_)),x,m,e,u))}return A!=null&&Wo(A,null,y,g),P},f=(_,g,b,y,x,m)=>{m=m||!!g.dynamicChildren;const{type:T,props:E,patchFlag:k,shapeFlag:A,dirs:$}=g,S=T==="input"&&$||T==="option";if(S||k!==-1){if($&&Ft(g,null,b,"created"),E)if(S||!m||k&48)for(const P in E)(S&&P.endsWith("value")||Qs(P)&&!bs(P))&&r(_,P,null,E[P],!1,void 0,b);else E.onClick&&r(_,"onClick",null,E.onClick,!1,void 0,b);let R;if((R=E&&E.onVnodeBeforeMount)&&at(R,b,g),$&&Ft(g,null,b,"beforeMount"),((R=E&&E.onVnodeMounted)||$)&&Zd(()=>{R&&at(R,b,g),$&&Ft(g,null,b,"mounted")},y),A&16&&!(E&&(E.innerHTML||E.textContent))){let P=h(_.firstChild,g,_,b,y,x,m);for(;P;){ln=!0;const C=P;P=P.nextSibling,a(C)}}else A&8&&_.textContent!==g.children&&(ln=!0,_.textContent=g.children)}return _.nextSibling},h=(_,g,b,y,x,m,T)=>{T=T||!!g.dynamicChildren;const E=g.children,k=E.length;for(let A=0;A<k;A++){const $=T?E[A]:E[A]=gt(E[A]);if(_)_=u(_,$,y,x,m,T);else{if($.type===wr&&!$.children)continue;ln=!0,n(null,$,b,null,y,x,fo(b),m)}}return _},p=(_,g,b,y,x,m)=>{const{slotScopeIds:T}=g;T&&(x=x?x.concat(T):T);const E=i(_),k=h(o(_),g,E,b,y,x,m);return k&&ho(k)&&k.data==="]"?o(g.anchor=k):(ln=!0,l(g.anchor=c("]"),E,k),k)},v=(_,g,b,y,x,m)=>{if(ln=!0,g.el=null,m){const k=w(_);for(;;){const A=o(_);if(A&&A!==k)a(A);else break}}const T=o(_),E=i(_);return a(_),n(null,g,E,T,b,y,fo(E),x),T},w=_=>{let g=0;for(;_;)if(_=o(_),_&&ho(_)&&(_.data==="["&&g++,_.data==="]")){if(g===0)return o(_);g--}return _};return[d,u]}const qe=Zd;function Hv(e){return yh(e)}function Uv(e){return yh(e,Bv)}function yh(e,t){const n=Ta();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:d,parentNode:u,nextSibling:f,setScopeId:h=At,insertStaticContent:p}=e,v=(N,O,j,B=null,H=null,U=null,ee=!1,Y=null,K=!!O.dynamicChildren)=>{if(N===O)return;N&&!Tt(N,O)&&(B=L(N),ne(N,H,U,!0),N=null),O.patchFlag===-2&&(K=!1,O.dynamicChildren=null);const{type:z,ref:ae,shapeFlag:M}=O;switch(z){case wr:w(N,O,j,B);break;case rt:_(N,O,j,B);break;case Ts:N==null&&g(O,j,B,ee);break;case Ie:S(N,O,j,B,H,U,ee,Y,K);break;default:M&1?x(N,O,j,B,H,U,ee,Y,K):M&6?R(N,O,j,B,H,U,ee,Y,K):(M&64||M&128)&&z.process(N,O,j,B,H,U,ee,Y,K,G)}ae!=null&&H&&Wo(ae,N&&N.ref,U,O||N,!O)},w=(N,O,j,B)=>{if(N==null)r(O.el=a(O.children),j,B);else{const H=O.el=N.el;O.children!==N.children&&c(H,O.children)}},_=(N,O,j,B)=>{N==null?r(O.el=l(O.children||""),j,B):O.el=N.el},g=(N,O,j,B)=>{[N.el,N.anchor]=p(N.children,O,j,B,N.el,N.anchor)},b=({el:N,anchor:O},j,B)=>{let H;for(;N&&N!==O;)H=f(N),r(N,j,B),N=H;r(O,j,B)},y=({el:N,anchor:O})=>{let j;for(;N&&N!==O;)j=f(N),s(N),N=j;s(O)},x=(N,O,j,B,H,U,ee,Y,K)=>{ee=ee||O.type==="svg",N==null?m(O,j,B,H,U,ee,Y,K):k(N,O,H,U,ee,Y,K)},m=(N,O,j,B,H,U,ee,Y)=>{let K,z;const{type:ae,props:M,shapeFlag:V,transition:q,dirs:re}=N;if(K=N.el=i(N.type,U,M&&M.is,M),V&8?d(K,N.children):V&16&&E(N.children,K,null,B,H,U&&ae!=="foreignObject",ee,Y),re&&Ft(N,null,B,"created"),T(K,N,N.scopeId,ee,B),M){for(const Z in M)Z!=="value"&&!bs(Z)&&o(K,Z,null,M[Z],U,N.children,B,H,be);"value"in M&&o(K,"value",null,M.value),(z=M.onVnodeBeforeMount)&&at(z,B,N)}re&&Ft(N,null,B,"beforeMount");const X=(!H||H&&!H.pendingBranch)&&q&&!q.persisted;X&&q.beforeEnter(K),r(K,O,j),((z=M&&M.onVnodeMounted)||X||re)&&qe(()=>{z&&at(z,B,N),X&&q.enter(K),re&&Ft(N,null,B,"mounted")},H)},T=(N,O,j,B,H)=>{if(j&&h(N,j),B)for(let U=0;U<B.length;U++)h(N,B[U]);if(H){let U=H.subTree;if(O===U){const ee=H.vnode;T(N,ee,ee.scopeId,ee.slotScopeIds,H.parent)}}},E=(N,O,j,B,H,U,ee,Y,K=0)=>{for(let z=K;z<N.length;z++){const ae=N[z]=Y?pn(N[z]):gt(N[z]);v(null,ae,O,j,B,H,U,ee,Y)}},k=(N,O,j,B,H,U,ee)=>{const Y=O.el=N.el;let{patchFlag:K,dynamicChildren:z,dirs:ae}=O;K|=N.patchFlag&16;const M=N.props||He,V=O.props||He;let q;j&&Pn(j,!1),(q=V.onVnodeBeforeUpdate)&&at(q,j,O,N),ae&&Ft(O,N,j,"beforeUpdate"),j&&Pn(j,!0);const re=H&&O.type!=="foreignObject";if(z?A(N.dynamicChildren,z,Y,j,B,re,U):ee||F(N,O,Y,null,j,B,re,U,!1),K>0){if(K&16)$(Y,O,M,V,j,B,H);else if(K&2&&M.class!==V.class&&o(Y,"class",null,V.class,H),K&4&&o(Y,"style",M.style,V.style,H),K&8){const X=O.dynamicProps;for(let Z=0;Z<X.length;Z++){const ve=X[Z],Le=M[ve],we=V[ve];(we!==Le||ve==="value")&&o(Y,ve,Le,we,H,N.children,j,B,be)}}K&1&&N.children!==O.children&&d(Y,O.children)}else!ee&&z==null&&$(Y,O,M,V,j,B,H);((q=V.onVnodeUpdated)||ae)&&qe(()=>{q&&at(q,j,O,N),ae&&Ft(O,N,j,"updated")},B)},A=(N,O,j,B,H,U,ee)=>{for(let Y=0;Y<O.length;Y++){const K=N[Y],z=O[Y],ae=K.el&&(K.type===Ie||!Tt(K,z)||K.shapeFlag&70)?u(K.el):j;v(K,z,ae,null,B,H,U,ee,!0)}},$=(N,O,j,B,H,U,ee)=>{if(j!==B){if(j!==He)for(const Y in j)!bs(Y)&&!(Y in B)&&o(N,Y,j[Y],null,ee,O.children,H,U,be);for(const Y in B){if(bs(Y))continue;const K=B[Y],z=j[Y];K!==z&&Y!=="value"&&o(N,Y,z,K,ee,O.children,H,U,be)}"value"in B&&o(N,"value",j.value,B.value)}},S=(N,O,j,B,H,U,ee,Y,K)=>{const z=O.el=N?N.el:a(""),ae=O.anchor=N?N.anchor:a("");let{patchFlag:M,dynamicChildren:V,slotScopeIds:q}=O;q&&(Y=Y?Y.concat(q):q),N==null?(r(z,j,B),r(ae,j,B),E(O.children,j,ae,H,U,ee,Y,K)):M>0&&M&64&&V&&N.dynamicChildren?(A(N.dynamicChildren,V,j,H,U,ee,Y),(O.key!=null||H&&O===H.subTree)&&zl(N,O,!0)):F(N,O,j,ae,H,U,ee,Y,K)},R=(N,O,j,B,H,U,ee,Y,K)=>{O.slotScopeIds=Y,N==null?O.shapeFlag&512?H.ctx.activate(O,j,B,ee,K):P(O,j,B,H,U,ee,K):C(N,O,K)},P=(N,O,j,B,H,U,ee)=>{const Y=N.component=Yv(N,B,H);if(Zs(N)&&(Y.ctx.renderer=G),Jv(Y),Y.asyncDep){if(H&&H.registerDep(Y,I),!N.el){const K=Y.subTree=ce(rt);_(null,K,O,j)}return}I(Y,N,O,j,H,U,ee)},C=(N,O,j)=>{const B=O.component=N.component;if(cv(N,O,j))if(B.asyncDep&&!B.asyncResolved){D(B,O,j);return}else B.next=O,ev(B.update),B.update();else O.el=N.el,B.vnode=O},I=(N,O,j,B,H,U,ee)=>{const Y=()=>{if(N.isMounted){let{next:ae,bu:M,u:V,parent:q,vnode:re}=N,X=ae,Z;Pn(N,!1),ae?(ae.el=re.el,D(N,ae,ee)):ae=re,M&&hr(M),(Z=ae.props&&ae.props.onVnodeBeforeUpdate)&&at(Z,q,ae,re),Pn(N,!0);const ve=Gi(N),Le=N.subTree;N.subTree=ve,v(Le,ve,u(Le.el),L(Le),N,H,U),ae.el=ve.el,X===null&&Cl(N,ve.el),V&&qe(V,H),(Z=ae.props&&ae.props.onVnodeUpdated)&&qe(()=>at(Z,q,ae,re),H)}else{let ae;const{el:M,props:V}=O,{bm:q,m:re,parent:X}=N,Z=Vn(O);if(Pn(N,!1),q&&hr(q),!Z&&(ae=V&&V.onVnodeBeforeMount)&&at(ae,X,O),Pn(N,!0),M&&xe){const ve=()=>{N.subTree=Gi(N),xe(M,N.subTree,N,H,null)};Z?O.type.__asyncLoader().then(()=>!N.isUnmounted&&ve()):ve()}else{const ve=N.subTree=Gi(N);v(null,ve,j,B,N,H,U),O.el=ve.el}if(re&&qe(re,H),!Z&&(ae=V&&V.onVnodeMounted)){const ve=O;qe(()=>at(ae,X,ve),H)}(O.shapeFlag&256||X&&Vn(X.vnode)&&X.vnode.shapeFlag&256)&&N.a&&qe(N.a,H),N.isMounted=!0,O=j=B=null}},K=N.effect=new Tl(Y,()=>vi(z),N.scope),z=N.update=()=>K.run();z.id=N.uid,Pn(N,!0),z()},D=(N,O,j)=>{O.component=N;const B=N.vnode.props;N.vnode=O,N.next=null,jv(N,O.props,B,j),Fv(N,O.children,j),Or(),Pc(),Lr()},F=(N,O,j,B,H,U,ee,Y,K=!1)=>{const z=N&&N.children,ae=N?N.shapeFlag:0,M=O.children,{patchFlag:V,shapeFlag:q}=O;if(V>0){if(V&128){se(z,M,j,B,H,U,ee,Y,K);return}else if(V&256){W(z,M,j,B,H,U,ee,Y,K);return}}q&8?(ae&16&&be(z,H,U),M!==z&&d(j,M)):ae&16?q&16?se(z,M,j,B,H,U,ee,Y,K):be(z,H,U,!0):(ae&8&&d(j,""),q&16&&E(M,j,B,H,U,ee,Y,K))},W=(N,O,j,B,H,U,ee,Y,K)=>{N=N||fr,O=O||fr;const z=N.length,ae=O.length,M=Math.min(z,ae);let V;for(V=0;V<M;V++){const q=O[V]=K?pn(O[V]):gt(O[V]);v(N[V],q,j,null,H,U,ee,Y,K)}z>ae?be(N,H,U,!0,!1,M):E(O,j,B,H,U,ee,Y,K,M)},se=(N,O,j,B,H,U,ee,Y,K)=>{let z=0;const ae=O.length;let M=N.length-1,V=ae-1;for(;z<=M&&z<=V;){const q=N[z],re=O[z]=K?pn(O[z]):gt(O[z]);if(Tt(q,re))v(q,re,j,null,H,U,ee,Y,K);else break;z++}for(;z<=M&&z<=V;){const q=N[M],re=O[V]=K?pn(O[V]):gt(O[V]);if(Tt(q,re))v(q,re,j,null,H,U,ee,Y,K);else break;M--,V--}if(z>M){if(z<=V){const q=V+1,re=q<ae?O[q].el:B;for(;z<=V;)v(null,O[z]=K?pn(O[z]):gt(O[z]),j,re,H,U,ee,Y,K),z++}}else if(z>V)for(;z<=M;)ne(N[z],H,U,!0),z++;else{const q=z,re=z,X=new Map;for(z=re;z<=V;z++){const Qe=O[z]=K?pn(O[z]):gt(O[z]);Qe.key!=null&&X.set(Qe.key,z)}let Z,ve=0;const Le=V-re+1;let we=!1,me=0;const Je=new Array(Le);for(z=0;z<Le;z++)Je[z]=0;for(z=q;z<=M;z++){const Qe=N[z];if(ve>=Le){ne(Qe,H,U,!0);continue}let jt;if(Qe.key!=null)jt=X.get(Qe.key);else for(Z=re;Z<=V;Z++)if(Je[Z-re]===0&&Tt(Qe,O[Z])){jt=Z;break}jt===void 0?ne(Qe,H,U,!0):(Je[jt-re]=z+1,jt>=me?me=jt:we=!0,v(Qe,O[jt],j,null,H,U,ee,Y,K),ve++)}const nr=we?Vv(Je):fr;for(Z=nr.length-1,z=Le-1;z>=0;z--){const Qe=re+z,jt=O[Qe],bc=Qe+1<ae?O[Qe+1].el:B;Je[z]===0?v(null,jt,j,bc,H,U,ee,Y,K):we&&(Z<0||z!==nr[Z]?Q(jt,j,bc,2):Z--)}}},Q=(N,O,j,B,H=null)=>{const{el:U,type:ee,transition:Y,children:K,shapeFlag:z}=N;if(z&6){Q(N.component.subTree,O,j,B);return}if(z&128){N.suspense.move(O,j,B);return}if(z&64){ee.move(N,O,j,G);return}if(ee===Ie){r(U,O,j);for(let M=0;M<K.length;M++)Q(K[M],O,j,B);r(N.anchor,O,j);return}if(ee===Ts){b(N,O,j);return}if(B!==2&&z&1&&Y)if(B===0)Y.beforeEnter(U),r(U,O,j),qe(()=>Y.enter(U),H);else{const{leave:M,delayLeave:V,afterLeave:q}=Y,re=()=>r(U,O,j),X=()=>{M(U,()=>{re(),q&&q()})};V?V(U,re,X):X()}else r(U,O,j)},ne=(N,O,j,B=!1,H=!1)=>{const{type:U,props:ee,ref:Y,children:K,dynamicChildren:z,shapeFlag:ae,patchFlag:M,dirs:V}=N;if(Y!=null&&Wo(Y,null,j,N,!0),ae&256){O.ctx.deactivate(N);return}const q=ae&1&&V,re=!Vn(N);let X;if(re&&(X=ee&&ee.onVnodeBeforeUnmount)&&at(X,O,N),ae&6)ge(N.component,j,B);else{if(ae&128){N.suspense.unmount(j,B);return}q&&Ft(N,null,O,"beforeUnmount"),ae&64?N.type.remove(N,O,j,H,G,B):z&&(U!==Ie||M>0&&M&64)?be(z,O,j,!1,!0):(U===Ie&&M&384||!H&&ae&16)&&be(K,O,j),B&&de(N)}(re&&(X=ee&&ee.onVnodeUnmounted)||q)&&qe(()=>{X&&at(X,O,N),q&&Ft(N,null,O,"unmounted")},j)},de=N=>{const{type:O,el:j,anchor:B,transition:H}=N;if(O===Ie){fe(j,B);return}if(O===Ts){y(N);return}const U=()=>{s(j),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(N.shapeFlag&1&&H&&!H.persisted){const{leave:ee,delayLeave:Y}=H,K=()=>ee(j,U);Y?Y(N.el,U,K):K()}else U()},fe=(N,O)=>{let j;for(;N!==O;)j=f(N),s(N),N=j;s(O)},ge=(N,O,j)=>{const{bum:B,scope:H,update:U,subTree:ee,um:Y}=N;B&&hr(B),H.stop(),U&&(U.active=!1,ne(ee,N,O,j)),Y&&qe(Y,O),qe(()=>{N.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&N.asyncDep&&!N.asyncResolved&&N.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},be=(N,O,j,B=!1,H=!1,U=0)=>{for(let ee=U;ee<N.length;ee++)ne(N[ee],O,j,B,H)},L=N=>N.shapeFlag&6?L(N.component.subTree):N.shapeFlag&128?N.suspense.next():f(N.anchor||N.el),J=(N,O,j)=>{N==null?O._vnode&&ne(O._vnode,null,null,!0):v(O._vnode||null,N,O,null,null,null,j),Pc(),Ho(),O._vnode=N},G={p:v,um:ne,m:Q,r:de,mt:P,mc:E,pc:F,pbc:A,n:L,o:e};let le,xe;return t&&([le,xe]=t(G)),{render:J,hydrate:le,createApp:Cv(J,le)}}function Pn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zl(e,t,n=!1){const r=e.children,s=t.children;if(he(r)&&he(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]=pn(s[o]),a.el=i.el),n||zl(i,a)),a.type===wr&&(a.el=i.el)}}function Vv(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}const Wv=e=>e.__isTeleport,xs=e=>e&&(e.disabled||e.disabled===""),Vc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,La=(e,t)=>{const n=e&&e.to;return Ue(n)?t?t(n):null:n},Gv={__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:d,pc:u,pbc:f,o:{insert:h,querySelector:p,createText:v,createComment:w}}=c,_=xs(t.props);let{shapeFlag:g,children:b,dynamicChildren:y}=t;if(e==null){const x=t.el=v(""),m=t.anchor=v("");h(x,n,r),h(m,n,r);const T=t.target=La(t.props,p),E=t.targetAnchor=v("");T&&(h(E,T),i=i||Vc(T));const k=(A,$)=>{g&16&&d(b,A,$,s,o,i,a,l)};_?k(n,m):T&&k(T,E)}else{t.el=e.el;const x=t.anchor=e.anchor,m=t.target=e.target,T=t.targetAnchor=e.targetAnchor,E=xs(e.props),k=E?n:m,A=E?x:T;if(i=i||Vc(m),y?(f(e.dynamicChildren,y,k,s,o,i,a),zl(e,t,!0)):l||u(e,t,k,A,s,o,i,a,!1),_)E||po(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=La(t.props,p);$&&po(t,$,null,c,0)}else E&&po(t,m,T,c,1)}wh(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:d,target:u,props:f}=e;if(u&&o(d),(i||!xs(f))&&(o(c),a&16))for(let h=0;h<l.length;h++){const p=l[h];s(p,t,n,!0,!!p.dynamicChildren)}},move:po,hydrate:zv};function po(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:d}=e,u=o===2;if(u&&r(i,t,n),(!u||xs(d))&&l&16)for(let f=0;f<c.length;f++)s(c[f],t,n,2);u&&r(a,t,n)}function zv(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const d=t.target=La(t.props,l);if(d){const u=d._lpa||d.firstChild;if(t.shapeFlag&16)if(xs(t.props))t.anchor=c(i(e),t,a(e),n,r,s,o),t.targetAnchor=u;else{t.anchor=i(e);let f=u;for(;f;)if(f=i(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(u,t,d,n,r,s,o)}wh(t)}return t.anchor&&i(t.anchor)}const bh=Gv;function wh(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Ie=Symbol.for("v-fgt"),wr=Symbol.for("v-txt"),rt=Symbol.for("v-cmt"),Ts=Symbol.for("v-stc"),ks=[];let vt=null;function ue(e=!1){ks.push(vt=e?null:[])}function Eh(){ks.pop(),vt=ks[ks.length-1]||null}let Er=1;function Wc(e){Er+=e}function xh(e){return e.dynamicChildren=Er>0?vt||fr:null,Eh(),Er>0&&vt&&vt.push(e),e}function Te(e,t,n,r,s,o){return xh(ie(e,t,n,r,s,o,!0))}function Ne(e,t,n,r,s){return xh(ce(e,t,n,r,s,!0))}function xr(e){return e?e.__v_isVNode===!0:!1}function Tt(e,t){return e.type===t.type&&e.key===t.key}const wi="__vInternal",Th=({key:e})=>e??null,Oo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ue(e)||De(e)||_e(e)?{i:ze,r:e,k:t,f:!!n}:e:null);function ie(e,t=null,n=null,r=0,s=null,o=e===Ie?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Th(t),ref:t&&Oo(t),scopeId:yi,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:ze};return a?(ql(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ue(n)?8:16),Er>0&&!i&&vt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&vt.push(l),l}const ce=qv;function qv(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===ch)&&(e=rt),xr(e)){const a=nn(e,t,!0);return n&&ql(a,n),Er>0&&!o&&vt&&(a.shapeFlag&6?vt[vt.indexOf(e)]=a:vt.push(a)),a.patchFlag|=-2,a}if(t_(e)&&(e=e.__vccOpts),t){t=Ei(t);let{class:a,style:l}=t;a&&!Ue(a)&&(t.class=Xe(a)),je(l)&&(Bd(l)&&!he(l)&&(l=Ve({},l)),t.style=gn(l))}const i=Ue(e)?1:Qd(e)?128:Wv(e)?64:je(e)?4:_e(e)?2:0;return ie(e,t,n,r,s,i,o,!0)}function Ei(e){return e?Bd(e)||wi in e?Ve({},e):e:null}function nn(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?Tn(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Th(a),ref:t&&t.ref?n&&s?he(s)?s.concat(Oo(t)):[s,Oo(t)]:Oo(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!==Ie?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&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Me(e=" ",t=0){return ce(wr,null,e,t)}function T2(e,t){const n=ce(Ts,null,e);return n.staticCount=t,n}function Ke(e="",t=!1){return t?(ue(),Ne(rt,null,e)):ce(rt,null,e)}function gt(e){return e==null||typeof e=="boolean"?ce(rt):he(e)?ce(Ie,null,e.slice()):typeof e=="object"?pn(e):ce(wr,null,String(e))}function pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function ql(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(he(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ql(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(wi in t)?t._ctx=ze:s===3&&ze&&(ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else _e(t)?(t={default:t,_ctx:ze},n=32):(t=String(t),r&64?(n=16,t=[Me(t)]):n=8);e.children=t,e.shapeFlag|=n}function Tn(...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=Xe([t.class,r.class]));else if(s==="style")t.style=gn([t.style,r.style]);else if(Qs(s)){const o=t[s],i=r[s];i&&o!==i&&!(he(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function at(e,t,n,r=null){yt(e,t,7,[n,r])}const Kv=dh();let Xv=0;function Yv(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Kv,o={uid:Xv++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new pg(!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:mh(r,s),emitsOptions:Jd(r,s),emit:null,emitted:null,propsDefaults:He,inheritAttrs:r.inheritAttrs,ctx:He,data:He,props:He,attrs:He,slots:He,refs:He,setupState:He,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=nv.bind(null,o),e.ce&&e.ce(o),o}let We=null;const Ot=()=>We||ze;let Kl,rr,Gc="__VUE_INSTANCE_SETTERS__";(rr=Ta()[Gc])||(rr=Ta()[Gc]=[]),rr.push(e=>We=e),Kl=e=>{rr.length>1?rr.forEach(t=>t(e)):rr[0](e)};const kn=e=>{Kl(e),e.scope.on()},yn=()=>{We&&We.scope.off(),Kl(null)};function kh(e){return e.vnode.shapeFlag&4}let Tr=!1;function Jv(e,t=!1){Tr=t;const{props:n,children:r}=e.vnode,s=kh(e);Iv(e,n,s,t),Dv(e,r);const o=s?Qv(e,t):void 0;return Tr=!1,o}function Qv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Hd(new Proxy(e.ctx,Sv));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?e_(e):null;kn(e),Or();const o=_n(r,e,0,[e.props,s]);if(Lr(),yn(),yl(o)){if(o.then(yn,yn),t)return o.then(i=>{Ca(e,i,t)}).catch(i=>{Cr(i,e,0)});e.asyncDep=o}else Ca(e,o,t)}else $h(e,t)}function Ca(e,t,n){_e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:je(t)&&(e.setupState=Wd(t)),$h(e,n)}let zc;function $h(e,t,n){const r=e.type;if(!e.render){if(!t&&zc&&!r.render){const s=r.template||Wl(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Ve(Ve({isCustomElement:o,delimiters:a},i),l);r.render=zc(s,c)}}e.render=r.render||At}kn(e),Or(),Av(e),Lr(),yn()}function Zv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ct(e,"get","$attrs"),t[n]}}))}function e_(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Zv(e)},slots:e.slots,emit:e.emit,expose:t}}function xi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Wd(Hd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Es)return Es[n](e)},has(t,n){return n in t||n in Es}}))}function Ia(e,t=!0){return _e(e)?e.displayName||e.name:e.name||t&&e.__name}function t_(e){return _e(e)&&"__vccOpts"in e}const pe=(e,t)=>Jg(e,t,Tr);function Ye(e,t,n){const r=arguments.length;return r===2?je(t)&&!he(t)?xr(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&xr(n)&&(n=[n]),ce(e,t,n))}const n_=Symbol.for("v-scx"),r_=()=>lt(n_),Sh="3.3.4",s_="http://www.w3.org/2000/svg",jn=typeof document<"u"?document:null,qc=jn&&jn.createElement("template"),o_={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?jn.createElementNS(s_,e):jn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>jn.createTextNode(e),createComment:e=>jn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jn.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{qc.innerHTML=r?`<svg>${e}</svg>`:e;const a=qc.content;if(r){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]}};function i_(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function a_(e,t,n){const r=e.style,s=Ue(n);if(n&&!s){if(t&&!Ue(t))for(const o in t)n[o]==null&&ja(r,o,"");for(const o in n)ja(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const Kc=/\s*!important$/;function ja(e,t,n){if(he(n))n.forEach(r=>ja(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=l_(e,t);Kc.test(n)?e.setProperty(Zn(r),n.replace(Kc,""),"important"):e[r]=n}}const Xc=["Webkit","Moz","ms"],Ji={};function l_(e,t){const n=Ji[t];if(n)return n;let r=zt(t);if(r!=="filter"&&r in e)return Ji[t]=r;r=hi(r);for(let s=0;s<Xc.length;s++){const o=Xc[s]+r;if(o in e)return Ji[t]=o}return t}const Yc="http://www.w3.org/1999/xlink";function c_(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Yc,t.slice(6,t.length)):e.setAttributeNS(Yc,t,n);else{const o=dg(t);n==null||o&&!Sd(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function u_(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("-")){e._value=n;const c=a==="OPTION"?e.getAttribute("value"):e.value,d=n??"";c!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Sd(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Zt(e,t,n,r){e.addEventListener(t,n,r)}function f_(e,t,n,r){e.removeEventListener(t,n,r)}function d_(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=h_(t);if(r){const c=o[t]=g_(r,s);Zt(e,a,c,l)}else i&&(f_(e,a,i,l),o[t]=void 0)}}const Jc=/(?:Once|Passive|Capture)$/;function h_(e){let t;if(Jc.test(e)){t={};let r;for(;r=e.match(Jc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Zn(e.slice(2)),t]}let Qi=0;const p_=Promise.resolve(),m_=()=>Qi||(p_.then(()=>Qi=0),Qi=Date.now());function g_(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;yt(v_(r,n.value),t,5,[r])};return n.value=e,n.attached=m_(),n}function v_(e,t){if(he(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 Qc=/^on[a-z]/,__=(e,t,n,r,s=!1,o,i,a,l)=>{t==="class"?i_(e,r,s):t==="style"?a_(e,n,r):Qs(t)?vl(t)||d_(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):y_(e,t,r,s))?u_(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),c_(e,t,r,s))};function y_(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Qc.test(t)&&_e(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Qc.test(t)&&Ue(n)?!1:t in e}const cn="transition",Hr="animation",Ti=(e,{slots:t})=>Ye(_v,Rh(e),t);Ti.displayName="Transition";const Ah={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},b_=Ti.props=Ve({},nh,Ah),Nn=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zc=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function Rh(e){const t={};for(const S in e)S in Ah||(t[S]=e[S]);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:d=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=w_(s),v=p&&p[0],w=p&&p[1],{onBeforeEnter:_,onEnter:g,onEnterCancelled:b,onLeave:y,onLeaveCancelled:x,onBeforeAppear:m=_,onAppear:T=g,onAppearCancelled:E=b}=t,k=(S,R,P)=>{fn(S,R?d:a),fn(S,R?c:i),P&&P()},A=(S,R)=>{S._isLeaving=!1,fn(S,u),fn(S,h),fn(S,f),R&&R()},$=S=>(R,P)=>{const C=S?T:g,I=()=>k(R,S,P);Nn(C,[R,I]),eu(()=>{fn(R,S?l:o),Xt(R,S?d:a),Zc(C)||tu(R,r,v,I)})};return Ve(t,{onBeforeEnter(S){Nn(_,[S]),Xt(S,o),Xt(S,i)},onBeforeAppear(S){Nn(m,[S]),Xt(S,l),Xt(S,c)},onEnter:$(!1),onAppear:$(!0),onLeave(S,R){S._isLeaving=!0;const P=()=>A(S,R);Xt(S,u),Nh(),Xt(S,f),eu(()=>{S._isLeaving&&(fn(S,u),Xt(S,h),Zc(y)||tu(S,r,w,P))}),Nn(y,[S,P])},onEnterCancelled(S){k(S,!1),Nn(b,[S])},onAppearCancelled(S){k(S,!0),Nn(E,[S])},onLeaveCancelled(S){A(S),Nn(x,[S])}})}function w_(e){if(e==null)return null;if(je(e))return[Zi(e.enter),Zi(e.leave)];{const t=Zi(e);return[t,t]}}function Zi(e){return $d(e)}function Xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function fn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function eu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let E_=0;function tu(e,t,n,r){const s=e._endId=++E_,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Ph(e,t);if(!i)return r();const c=i+"end";let d=0;const u=()=>{e.removeEventListener(c,f),o()},f=h=>{h.target===e&&++d>=l&&u()};setTimeout(()=>{d<l&&u()},a+1),e.addEventListener(c,f)}function Ph(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),s=r(`${cn}Delay`),o=r(`${cn}Duration`),i=nu(s,o),a=r(`${Hr}Delay`),l=r(`${Hr}Duration`),c=nu(a,l);let d=null,u=0,f=0;t===cn?i>0&&(d=cn,u=i,f=o.length):t===Hr?c>0&&(d=Hr,u=c,f=l.length):(u=Math.max(i,c),d=u>0?i>c?cn:Hr:null,f=d?d===cn?o.length:l.length:0);const h=d===cn&&/\b(transform|all)(,|$)/.test(r(`${cn}Property`).toString());return{type:d,timeout:u,propCount:f,hasTransform:h}}function nu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>ru(n)+ru(e[r])))}function ru(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Nh(){return document.body.offsetHeight}const Oh=new WeakMap,Lh=new WeakMap,Ch={name:"TransitionGroup",props:Ve({},b_,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ot(),r=th();let s,o;return Bl(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!A_(s[0].el,n.vnode.el,i))return;s.forEach(k_),s.forEach($_);const a=s.filter(S_);Nh(),a.forEach(l=>{const c=l.el,d=c.style;Xt(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const u=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",u),c._moveCb=null,fn(c,i))};c.addEventListener("transitionend",u)})}),()=>{const i=$e(e),a=Rh(i);let l=i.tag||Ie;s=o,o=t.default?Fl(t.default()):[];for(let c=0;c<o.length;c++){const d=o[c];d.key!=null&&br(d,Us(d,a,r,n))}if(s)for(let c=0;c<s.length;c++){const d=s[c];br(d,Us(d,a,r,n)),Oh.set(d,d.el.getBoundingClientRect())}return ce(l,null,o)}}},x_=e=>delete e.mode;Ch.props;const T_=Ch;function k_(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function $_(e){Lh.set(e,e.el.getBoundingClientRect())}function S_(e){const t=Oh.get(e),n=Lh.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 A_(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=Ph(r);return s.removeChild(r),o}const $n=e=>{const t=e.props["onUpdate:modelValue"]||!1;return he(t)?n=>hr(t,n):t};function R_(e){e.target.composing=!0}function su(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ou={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=$n(s);const o=r||s.props&&s.props.type==="number";Zt(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Do(a)),e._assign(a)}),n&&Zt(e,"change",()=>{e.value=e.value.trim()}),t||(Zt(e,"compositionstart",R_),Zt(e,"compositionend",su),Zt(e,"change",su))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=$n(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&Do(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},P_={deep:!0,created(e,t,n){e._assign=$n(n),Zt(e,"change",()=>{const r=e._modelValue,s=kr(e),o=e.checked,i=e._assign;if(he(r)){const a=El(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(Pr(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Ih(e,o))})},mounted:iu,beforeUpdate(e,t,n){e._assign=$n(n),iu(e,t,n)}};function iu(e,{value:t,oldValue:n},r){e._modelValue=t,he(t)?e.checked=El(t,r.props.value)>-1:Pr(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Gn(t,Ih(e,!0)))}const N_={created(e,{value:t},n){e.checked=Gn(t,n.props.value),e._assign=$n(n),Zt(e,"change",()=>{e._assign(kr(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=$n(r),t!==n&&(e.checked=Gn(t,r.props.value))}},O_={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Pr(t);Zt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Do(kr(i)):kr(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=$n(r)},mounted(e,{value:t}){au(e,t)},beforeUpdate(e,t,n){e._assign=$n(n)},updated(e,{value:t}){au(e,t)}};function au(e,t){const n=e.multiple;if(!(n&&!he(t)&&!Pr(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=kr(o);if(n)he(t)?o.selected=El(t,i)>-1:o.selected=t.has(i);else if(Gn(kr(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function kr(e){return"_value"in e?e._value:e.value}function Ih(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const L_={created(e,t,n){mo(e,t,n,null,"created")},mounted(e,t,n){mo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){mo(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){mo(e,t,n,r,"updated")}};function C_(e,t){switch(e){case"SELECT":return O_;case"TEXTAREA":return ou;default:switch(t){case"checkbox":return P_;case"radio":return N_;default:return ou}}}function mo(e,t,n,r,s){const i=C_(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const I_=["ctrl","shift","alt","meta"],j_={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)=>I_.some(n=>e[`${n}Key`]&&!t.includes(n))},k2=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=j_[t[s]];if(o&&o(n,t))return}return e(n,...r)},M_={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},D_=(e,t)=>n=>{if(!("key"in n))return;const r=Zn(n.key);if(t.some(s=>s===r||M_[s]===r))return e(n)},jh={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ur(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),Ur(e,!0),r.enter(e)):r.leave(e,()=>{Ur(e,!1)}):Ur(e,t))},beforeUnmount(e,{value:t}){Ur(e,t)}};function Ur(e,t){e.style.display=t?e._vod:"none"}const Mh=Ve({patchProp:__},o_);let $s,lu=!1;function F_(){return $s||($s=Hv(Mh))}function B_(){return $s=lu?$s:Uv(Mh),lu=!0,$s}const Dh=(...e)=>{const t=F_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Fh(r);if(!s)return;const o=t._component;!_e(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},H_=(...e)=>{const t=B_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Fh(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function Fh(e){return Ue(e)?document.querySelector(e):e}const U_=/"(?:_|\\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*:/,V_=/"(?: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*:/,W_=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function G_(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){z_(e);return}return t}function z_(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function q_(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')return n.slice(1,-1);const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r!=="undefined"){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(!W_.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(U_.test(e)||V_.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,G_)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}}const K_=/#/g,X_=/&/g,Y_=/=/g,Bh=/\+/g,J_=/%5e/gi,Q_=/%60/gi,Z_=/%7c/gi,ey=/%20/gi;function ty(e){return encodeURI(""+e).replace(Z_,"|")}function Ma(e){return ty(typeof e=="string"?e:JSON.stringify(e)).replace(Bh,"%2B").replace(ey,"+").replace(K_,"%23").replace(X_,"%26").replace(Q_,"`").replace(J_,"^")}function ea(e){return Ma(e).replace(Y_,"%3D")}function Hh(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ny(e){return Hh(e.replace(Bh," "))}function Uh(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=Hh(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=ny(r[2]||"");typeof t[s]<"u"?Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]:t[s]=o}return t}function ry(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ea(e)}=${Ma(n)}`).join("&"):`${ea(e)}=${Ma(t)}`:ea(e)}function sy(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ry(t,e[t])).join("&")}const oy=/^\w{2,}:([/\\]{1,2})/,iy=/^\w{2,}:([/\\]{2})?/,ay=/^([/\\]\s*){2,}[^/\\]/;function jr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?oy.test(e):iy.test(e)||(t.acceptRelative?ay.test(e):!1)}const ly=/\/$|\/\?/;function Da(e="",t=!1){return t?ly.test(e):e.endsWith("/")}function Xl(e="",t=!1){if(!t)return(Da(e)?e.slice(0,-1):e)||"/";if(!Da(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function Vh(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Da(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function cy(e=""){return e.startsWith("/")}function uy(e=""){return(cy(e)?e.slice(1):e)||"/"}function fy(e,t){if(Gh(t)||jr(e))return e;const n=Xl(t);return e.startsWith(n)?e:eo(n,e)}function cu(e,t){if(Gh(t))return e;const n=Xl(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Wh(e,t){const n=to(e),r={...Uh(n.search),...t};return n.search=sy(r),hy(n)}function Gh(e){return!e||e==="/"}function dy(e){return e&&e!=="/"}function eo(e,...t){let n=e||"";for(const r of t.filter(s=>dy(s)))n=n?Vh(n)+uy(r):r;return n}function to(e="",t){if(!jr(e,{acceptRelative:!0}))return t?to(t+e):uu(e);const[n="",r,s=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[o="",i=""]=(s.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:l,hash:c}=uu(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:o,pathname:a,search:l,hash:c}}function uu(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function hy(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class py extends Error{constructor(){super(...arguments),this.name="FetchError"}}function my(e,t,n){let r="";t&&(r=t.message),e&&n?r=`${r} (${n.status} ${n.statusText} (${e.toString()}))`:e&&(r=`${r} (${e.toString()})`);const s=new py(r);return Object.defineProperty(s,"request",{get(){return e}}),Object.defineProperty(s,"response",{get(){return n}}),Object.defineProperty(s,"data",{get(){return n&&n._data}}),Object.defineProperty(s,"status",{get(){return n&&n.status}}),Object.defineProperty(s,"statusText",{get(){return n&&n.statusText}}),Object.defineProperty(s,"statusCode",{get(){return n&&n.status}}),Object.defineProperty(s,"statusMessage",{get(){return n&&n.statusText}}),s}const gy=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function fu(e="GET"){return gy.has(e.toUpperCase())}function vy(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.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const _y=new Set(["image/svg","application/xml","application/xhtml","application/html"]),yy=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function by(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return yy.test(t)?"json":_y.has(t)||t.startsWith("text/")?"text":"blob"}function wy(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 Ey=new Set([408,409,425,429,500,502,503,504]);function zh(e){const{fetch:t,Headers:n}=e;function r(i){const a=i.error&&i.error.name==="AbortError"||!1;if(i.options.retry!==!1&&!a){let c;typeof i.options.retry=="number"?c=i.options.retry:c=fu(i.options.method)?0:1;const d=i.response&&i.response.status||500;if(c>0&&Ey.has(d))return s(i.request,{...i.options,retry:c-1})}const l=my(i.request,i.error,i.response);throw Error.captureStackTrace&&Error.captureStackTrace(l,s),l}const s=async function(a,l={}){const c={request:a,options:wy(l,e.defaults,n),response:void 0,error:void 0};c.options.onRequest&&await c.options.onRequest(c),typeof c.request=="string"&&(c.options.baseURL&&(c.request=fy(c.request,c.options.baseURL)),(c.options.query||c.options.params)&&(c.request=Wh(c.request,{...c.options.params,...c.options.query})),c.options.body&&fu(c.options.method)&&vy(c.options.body)&&(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")));try{c.response=await t(c.request,c.options)}catch(u){return c.error=u,c.options.onRequestError&&await c.options.onRequestError(c),await r(c)}const d=(c.options.parseResponse?"json":c.options.responseType)||by(c.response.headers.get("content-type")||"");if(d==="json"){const u=await c.response.text(),f=c.options.parseResponse||q_;c.response._data=f(u)}else d==="stream"?c.response._data=c.response.body:c.response._data=await c.response[d]();return c.options.onResponse&&await c.options.onResponse(c),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await c.options.onResponseError(c),await r(c)):c.response},o=async function(a,l){return(await s(a,l))._data};return o.raw=s,o.native=t,o.create=(i={})=>zh({...e,defaults:{...e.defaults,...i}}),o}const qh=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")}(),xy=qh.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Ty=qh.Headers,ky=zh({fetch:xy,Headers:Ty}),$y=ky,Sy=()=>window?.__NUXT__?.config||{},Go=Sy().app,Ay=()=>Go.baseURL,Ry=()=>Go.buildAssetsDir,Py=(...e)=>eo(Kh(),Ry(),...e),Kh=(...e)=>{const t=Go.cdnURL||Go.baseURL;return e.length?eo(t,...e):t};globalThis.__buildAssetsURL=Py,globalThis.__publicAssetsURL=Kh;function Fa(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Fa(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Ny={run:e=>e()},Oy=()=>Ny,Xh=typeof console.createTask<"u"?console.createTask:Oy;function Ly(e,t){const n=t.shift(),r=Xh(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function Cy(e,t){const n=t.shift(),r=Xh(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function ta(e,t){for(const n of[...e])n(t)}class Iy{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=Fa(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=Fa(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(Ly,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Cy,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&ta(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&ta(this._after,s)}):(this._after&&s&&ta(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 Yh(){return new Iy}function jy(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;Ba.add(c);try{const d=s?s.run(i,a):a();return n||(t=void 0),await d}finally{Ba.delete(c)}}}}function My(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=jy({...e,...r})),t[n],t[n]}}}const zo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},du="__unctx__",Dy=zo[du]||(zo[du]=My()),Fy=(e,t={})=>Dy.get(e,t),hu="__unctx_async_handlers__",Ba=zo[hu]||(zo[hu]=new Set);function qo(e){const t=[];for(const s of Ba){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 Jh=Fy("nuxt-app"),By="__nuxt_plugin";function Hy(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.6.1"},get vue(){return n.vueApp.version}},payload:ut({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>Wy(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=Yh(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;go(n,i,o),go(n.vueApp.config.globalProperties,i,o)},go(n.vueApp,"$nuxt",n),go(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||Pe;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=ut(n.payload.config);return n.provide("config",r),n}async function Uy(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 Vy(e,t){const n=[],r=[];for(const s of t){const o=Uy(e,s);s.parallel?n.push(o.catch(i=>r.push(i))):await o}if(await Promise.all(n),r.length)throw r[0]}/*! @__NO_SIDE_EFFECTS__ */function Lt(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[By]:!0}))}function Wy(e,t,n){const r=()=>n?t(...n):t();return Jh.set(e),e.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function Pe(){let e;if(hh()&&(e=Ot()?.appContext.app.$nuxt),e=e||Jh.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Yl(){return Pe().$config}function go(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Gy="modulepreload",zy=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},pu={},qy=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=zy(o,r),o in pu)return;pu[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let d=s.length-1;d>=0;d--){const u=s[d];if(u.href===o&&(!i||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":Gy,i||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),i)return new Promise((d,u)=>{c.addEventListener("load",d),c.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())},Re=(...e)=>qy(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Ky=-1,Xy=-2,Yy=-3,Jy=-4,Qy=-5,Zy=-6;function e0(e,t){return t0(JSON.parse(e),t)}function t0(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===Ky)return;if(o===Yy)return NaN;if(o===Jy)return 1/0;if(o===Qy)return-1/0;if(o===Zy)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 d=new Set;r[o]=d;for(let h=1;h<a.length;h+=1)d.add(s(a[h]));break;case"Map":const u=new Map;r[o]=u;for(let h=1;h<a.length;h+=2)u.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 f=Object.create(null);r[o]=f;for(let h=1;h<a.length;h+=2)f[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 d=a[c];d!==Xy&&(l[c]=s(d))}}else{const l={};r[o]=l;for(const c in a){const d=a[c];l[c]=s(d)}}return r[o]}return s(0)}function n0(e){return Array.isArray(e)?e:[e]}const Qh=["title","script","style","noscript"],Zh=["base","meta","link","style","script","noscript"],r0=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],s0=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],o0=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"];function ep(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 Ha(e){return ep(`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function i0(e){let t=9;for(const n of e)for(let r=0;r<n.length;)t=Math.imul(t^n.charCodeAt(r++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function tp(e,t){const{props:n,tag:r}=e;if(s0.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 mu(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function vo(e,t=!1,n){const{tag:r,$el:s}=e;s&&(Object.entries(r.props).forEach(([o,i])=>{i=String(i);const a=`attr:${o}`;if(o==="class"){if(!i)return;for(const l of i.split(" ")){const c=`${a}:${l}`;n&&n(e,c,()=>s.classList.remove(l)),s.classList.contains(l)||s.classList.add(l)}return}n&&!o.startsWith("data-h-")&&n(e,a,()=>s.removeAttribute(o)),(t||s.getAttribute(o)!==i)&&s.setAttribute(o,i)}),Qh.includes(r.tag)&&(r.textContent&&r.textContent!==s.textContent?s.textContent=r.textContent:r.innerHTML&&r.innerHTML!==s.innerHTML&&(s.innerHTML=r.innerHTML)))}let Vr=!1;async function a0(e,t={}){const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const r=t.document||e.resolvedOptions.document||window.document,s=(await e.resolveTags()).map(a);if(e.resolvedOptions.experimentalHashHydration&&(Vr=Vr||e._hash||!1,Vr)){const f=i0(s.map(h=>h.tag._h));if(Vr===f)return;Vr=f}const o=e._popSideEffectQueue();e.headEntries().map(f=>f._sde).forEach(f=>{Object.entries(f).forEach(([h,p])=>{o[h]=p})});const i=(f,h,p)=>{h=`${f.renderId}:${h}`,f.entry&&(f.entry._sde[h]=p),delete o[h]};function a(f){const h=e.headEntries().find(v=>v._i===f._e),p={renderId:f._d||Ha(f),$el:null,shouldRender:!0,tag:f,entry:h,markSideEffect:(v,w)=>i(p,v,w)};return p}const l=[],c={body:[],head:[]},d=f=>{e._elMap[f.renderId]=f.$el,l.push(f),i(f,"el",()=>{f.$el?.remove(),delete e._elMap[f.renderId]})};for(const f of s){if(await e.hooks.callHook("dom:beforeRenderTag",f),!f.shouldRender)continue;const{tag:h}=f;if(h.tag==="title"){r.title=h.textContent||"",l.push(f);continue}if(h.tag==="htmlAttrs"||h.tag==="bodyAttrs"){f.$el=r[h.tag==="htmlAttrs"?"documentElement":"body"],vo(f,!1,i),l.push(f);continue}if(f.$el=e._elMap[f.renderId],!f.$el&&h.key&&(f.$el=r.querySelector(`${h.tagPosition?.startsWith("body")?"body":"head"} > ${h.tag}[data-h-${h._h}]`)),f.$el){f.tag._d&&vo(f),d(f);continue}c[h.tagPosition?.startsWith("body")?"body":"head"].push(f)}const u={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(c).forEach(([f,h])=>{if(!h.length)return;const p=r?.[f]?.children;if(p){for(const v of[...p].reverse()){const w=v.tagName.toLowerCase();if(!Zh.includes(w))continue;const _=v.getAttributeNames().reduce((x,m)=>({...x,[m]:v.getAttribute(m)}),{}),g={tag:w,props:_};v.innerHTML&&(g.innerHTML=v.innerHTML);const b=Ha(g);let y=h.findIndex(x=>x?.renderId===b);if(y===-1){const x=tp(g);y=h.findIndex(m=>m?.tag._d&&m.tag._d===x)}if(y!==-1){const x=h[y];x.$el=v,vo(x),d(x),delete h[y]}}h.forEach(v=>{const w=v.tag.tagPosition||"head";u[w]=u[w]||r.createDocumentFragment(),v.$el||(v.$el=r.createElement(v.tag.tag),vo(v,!0)),u[w].appendChild(v.$el),d(v)})}}),u.head&&r.head.appendChild(u.head),u.bodyOpen&&r.body.insertBefore(u.bodyOpen,r.body.firstChild),u.bodyClose&&r.body.appendChild(u.bodyClose);for(const f of l)await e.hooks.callHook("dom:renderTag",f);Object.values(o).forEach(f=>f())}let na=null;async function l0(e,t={}){function n(){return na=null,a0(e,t)}const r=t.delayFn||(s=>setTimeout(s,10));return na=na||new Promise(s=>r(()=>s(n())))}function c0(e){return{hooks:{"entries:updated":function(t){if(typeof e?.document>"u"&&typeof window>"u")return;let n=e?.delayFn;!n&&typeof requestAnimationFrame<"u"&&(n=requestAnimationFrame),l0(t,{document:e?.document||window.document,delayFn:n})}}}}function u0(e){return e?.head.querySelector('meta[name="unhead:ssr"]')?.getAttribute("content")||!1}const gu={base:-1,title:1},vu={critical:-8,high:-1,low:2};function Ko(e){let t=10;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props.charset&&(t=-2),e.props["http-equiv"]==="content-security-policy"&&(t=0)):e.tag in gu&&(t=gu[e.tag]),typeof n=="string"&&n in vu?t+vu[n]:t)}const f0=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function d0(){return{hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const{prefix:n,offset:r}of f0)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)=>Ko(n)-Ko(r))}}}}function h0(){return{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=mu(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=mu(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)}}}}function p0(){return{hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}}const m0=["link","style","script","noscript"];function g0(){return{hooks:{"tag:normalise":({tag:e,resolvedOptions:t})=>{t.experimentalHashHydration===!0&&(e._h=Ha(e)),e.key&&m0.includes(e.tag)&&(e._h=ep(e.key),e.props[`data-h-${e._h}`]="")}}}}const _u=["script","link","bodyAttrs"];function v0(){const e=(t,n)=>{const r={},s={};Object.entries(n.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"?s[i]=a:r[i]=a});let o;return t==="dom"&&n.tag==="script"&&typeof r.src=="string"&&typeof s.onload<"u"&&(o=r.src,delete r.src),{props:r,eventHandlers:s,delayedSrc:o}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(!_u.includes(n.tag)||!Object.entries(n.props).find(([r,s])=>r.startsWith("on")&&typeof s=="function")||(n.props=e("ssr",n).props),n))},"dom:beforeRenderTag":function(t){if(!_u.includes(t.tag.tag)||!Object.entries(t.tag.props).find(([o,i])=>o.startsWith("on")&&typeof i=="function"))return;const{props:n,eventHandlers:r,delayedSrc:s}=e("dom",t.tag);Object.keys(r).length&&(t.tag.props=n,t.tag._eventHandlers=r,t.tag._delayedSrc=s)},"dom:renderTag":function(t){const n=t.$el;if(!t.tag._eventHandlers||!n)return;const r=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:n;Object.entries(t.tag._eventHandlers).forEach(([s,o])=>{const i=`${t.tag._d||t.tag._p}:${s}`,a=s.slice(2).toLowerCase(),l=`data-h-${a}`;if(t.markSideEffect(i,()=>{}),n.hasAttribute(l))return;const c=o;n.setAttribute(l,""),r.addEventListener(a,c),t.entry&&(t.entry._sde[i]=()=>{r.removeEventListener(a,c),n.removeAttribute(l)})}),t.tag._delayedSrc&&n.setAttribute("src",t.tag._delayedSrc)}}}}const _0=["templateParams","htmlAttrs","bodyAttrs"];function y0(){return{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=tp(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&&_0.includes(r.tag)&&(a="merge"),a==="merge"){const l=o.props;["class","style"].forEach(c=>{r.props[c]&&l[c]&&(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[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(Ko(r)>Ko(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Zh.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}}}}function _o(e,t){function n(o){if(["s","pageTitle"].includes(o))return t.pageTitle;let i;return o.includes(".")?i=o.split(".").reduce((a,l)=>a&&a[l]||void 0,t):i=t[o],typeof i<"u"?i||"":!1}let r=e;try{r=decodeURI(e)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(o=>{const i=n(o.slice(1));typeof i=="string"&&(e=e.replace(new RegExp(`\\${o}(\\W|$)`,"g"),`${i}$1`).trim())}),t.separator&&(e.endsWith(t.separator)&&(e=e.slice(0,-t.separator.length).trim()),e.startsWith(t.separator)&&(e=e.slice(t.separator.length).trim()),e=e.replace(new RegExp(`\\${t.separator}\\s*\\${t.separator}`,"g"),t.separator)),e}function b0(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e,n=t.find(o=>o.tag==="title")?.textContent,r=t.findIndex(o=>o.tag==="templateParams"),s=r!==-1?t[r].props:{};s.pageTitle=s.pageTitle||n||"";for(const o of t)if(["titleTemplate","title"].includes(o.tag)&&typeof o.textContent=="string")o.textContent=_o(o.textContent,s);else if(o.tag==="meta"&&typeof o.props.content=="string")o.props.content=_o(o.props.content,s);else if(o.tag==="link"&&typeof o.props.href=="string")o.props.href=_o(o.props.href,s);else if(o.tag==="script"&&["application/json","application/ld+json"].includes(o.props.type)&&typeof o.innerHTML=="string")try{o.innerHTML=JSON.stringify(JSON.parse(o.innerHTML),(i,a)=>typeof a=="string"?_o(a,s):a)}catch{}e.tags=t.filter(o=>o.tag!=="templateParams")}}}}const w0=typeof window<"u";let np;function E0(e){return np=e}function x0(){return np}async function T0(e,t){const n={tag:e,props:{}};return t instanceof Promise&&(t=await t),e==="templateParams"?(n.props=t,n):["title","titleTemplate"].includes(e)?(t&&typeof t=="object"?(n.textContent=t.textContent,t.tagPriority&&(n.tagPriority=t.tagPriority)):n.textContent=t,n):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?n.props.src=t:n.innerHTML=t,n):!1:(n.props=await $0(e,{...t}),n.props.children&&(n.props.innerHTML=n.props.children),delete n.props.children,Object.keys(n.props).filter(r=>o0.includes(r)).forEach(r=>{(!["innerHTML","textContent"].includes(r)||Qh.includes(n.tag))&&(n[r]=n.props[r]),delete n.props[r]}),["innerHTML","textContent"].forEach(r=>{if(n.tag==="script"&&typeof n[r]=="string"&&["application/ld+json","application/json"].includes(n.props.type))try{n[r]=JSON.parse(n[r])}catch{n[r]=""}typeof n[r]=="object"&&(n[r]=JSON.stringify(n[r]))}),n.props.class&&(n.props.class=k0(n.props.class)),n.props.content&&Array.isArray(n.props.content)?n.props.content.map(r=>({...n,props:{...n.props,content:r}})):n)}function k0(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function $0(e,t){for(const n of Object.keys(t)){const r=n.startsWith("data-");t[n]instanceof Promise&&(t[n]=await t[n]),String(t[n])==="true"?t[n]=r?"true":"":String(t[n])==="false"&&(r?t[n]="false":delete t[n])}return t}const S0=10;async function A0(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&r0.includes(n)).forEach(([n,r])=>{const s=n0(r);t.push(...s.map(o=>T0(n,o)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,n._p=(e._i<<S0)+r,n))}function R0(){return[y0(),d0(),b0(),h0(),g0(),v0(),p0()]}function P0(e={}){return[c0({document:e?.document,delayFn:e?.domDelayFn})]}function N0(e={}){const t=O0({...e,plugins:[...P0(e),...e?.plugins||[]]});return e.experimentalHashHydration&&t.resolvedOptions.document&&(t._hash=u0(t.resolvedOptions.document)),E0(t),t}function O0(e={}){let t=[],n={},r=0;const s=Yh();e?.hooks&&s.addHooks(e.hooks),e.plugins=[...R0(),...e?.plugins||[]],e.plugins.forEach(a=>a.hooks&&s.addHooks(a.hooks)),e.document=e.document||(w0?document:void 0);const o=()=>s.callHook("entries:updated",i),i={resolvedOptions:e,headEntries(){return t},get hooks(){return s},use(a){a.hooks&&s.addHooks(a.hooks)},push(a,l){const c={_i:r++,input:a,_sde:{}};return l?.mode&&(c._m=l?.mode),l?.transform&&(c._t=l?.transform),t.push(c),o(),{dispose(){t=t.filter(d=>d._i!==c._i?!0:(n={...n,...d._sde||{}},d._sde={},o(),!1))},patch(d){t=t.map(u=>(u._i===c._i&&(c.input=u.input=d,o()),u))}}},async resolveTags(){const a={tags:[],entries:[...t]};await s.callHook("entries:resolve",a);for(const l of a.entries){const c=l._t||(d=>d);if(l.resolvedInput=c(l.resolvedInput||l.input),l.resolvedInput)for(const d of await A0(l)){const u={tag:d,entry:l,resolvedOptions:i.resolvedOptions};await s.callHook("tag:normalise",u),a.tags.push(u.tag)}}return await s.callHook("tags:resolve",a),a.tags},_popSideEffectQueue(){const a={...n};return n={},a},_elMap:{}};return i.hooks.callHook("init",i),i}function L0(e){return typeof e=="function"?e():oe(e)}function Xo(e,t=""){if(e instanceof Promise)return e;const n=L0(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Xo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,oe(s)]:[r,Xo(s,r)])):n}const C0=Sh.startsWith("3"),I0=typeof window<"u",rp="usehead";function Jl(){return Ot()&<(rp)||x0()}function j0(e){return{install(n){C0&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(rp,e))}}.install}function M0(e={}){const t=N0({...e,domDelayFn:n=>setTimeout(()=>wt(()=>n()),10),plugins:[D0(),...e?.plugins||[]]});return t.install=j0(t),t}function D0(){return{hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Xo(t.input)}}}}function F0(e,t={}){const n=Jl(),r=te(!1),s=te({});Kn(()=>{s.value=r.value?{}:Xo(e)});const o=n.push(s.value,t);return Be(s,a=>{o.patch(a)}),Ot()&&(Ir(()=>{o.dispose()}),oh(()=>{r.value=!0}),sh(()=>{r.value=!1})),o}function B0(e,t={}){return Jl().push(e,t)}function H0(e,t={}){const n=Jl();if(n){const r=I0||!!n.resolvedOptions?.document;return t.mode==="server"&&r||t.mode==="client"&&!r?void 0:r?F0(e,t):B0(e,t)}}const U0={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[],style:[],script:[],noscript:[]},V0=!1,Ua=!1,W0=!1,G0="__nuxt",z0=!0;function yu(e,t={}){const n=q0(e,t),r=Pe(),s=r._payloadCache=r._payloadCache||{};return s[n]||(s[n]=sp(n).then(o=>o||(delete s[n],null))),s[n]}const bu="json";function q0(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||jr(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return eo(Yl().app.baseURL,n.pathname,r?`_payload.${r}.${bu}`:`_payload.${bu}`)}async function sp(e){try{return z0?op(await fetch(e).then(t=>t.text())):await Re(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}function K0(){return!!Pe().payload.prerenderedAt}let yo=null;async function X0(){if(yo)return yo;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=op(e.textContent||""),n=e.dataset.src?await sp(e.dataset.src):void 0;return yo={...t,...n,...window.__NUXT__},yo}function op(e){return e0(e,Pe()._payloadRevivers)}function Y0(e,t){Pe()._payloadRevivers[e]=t}function ra(e){return e!==null&&typeof e=="object"}function Va(e,t,n=".",r){if(!ra(t))return Va(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]]:ra(i)&&ra(s[o])?s[o]=Va(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function J0(e){return(...t)=>t.reduce((n,r)=>Va(n,r,"",e),{})}const Q0=J0();class Wa extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1}toJSON(){const t={message:this.message,statusCode:za(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=ip(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Wa.__h3_error__=!0;function Ga(e){if(typeof e=="string")return new Wa(e);if(Z0(e))return e;const t=new Wa(e.message??e.statusMessage??"",e.cause?{cause:e.cause}:void 0);if("stack"in e)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=za(e.statusCode,t.statusCode):e.status&&(t.statusCode=za(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;ip(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 Z0(e){return e?.constructor?.__h3_error__===!0}const eb=/[^\u0009\u0020-\u007E]/g;function ip(e=""){return e.replace(eb,"")}function za(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const tb="$s";function Mr(...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=tb+n,o=Pe(),i=gi(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(De(a))return o.payload.state[s]=a,a;i.value=a}return i}const st=()=>Pe()?.$router,ki=()=>hh()?lt("_route",Pe()._route):Pe()._route;/*! @__NO_SIDE_EFFECTS__ */const nb=()=>{try{if(Pe()._processingMiddleware)return!0}catch{return!0}return!1},ap=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Wh(e.path||"/",e.query||{})+(e.hash||"");if(t?.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([d,u])=>u!==void 0).map(([d,u])=>`${d.toLowerCase()}=${u}`).join(", ");open(n,a,c)}return Promise.resolve()}const r=t?.external||jr(n,{acceptRelative:!0});if(r&&!t?.external)throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(r&&to(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const s=nb();if(!r&&s)return e;const o=st(),i=Pe();return r?(t?.replace?location.replace(n):location.href=n,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?o.replace(e):o.push(e)},$i=()=>gi(Pe().payload,"error"),cr=e=>{const t=Si(e);try{const n=Pe(),r=$i();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},rb=async(e={})=>{const t=Pe(),n=$i();t.callHook("app:error:cleared",e),e.redirect&&await st().replace(e.redirect),n.value=null},sb=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Si=e=>{const t=Ga(e);return t.__nuxt_error=!0,t},wu={NuxtError:e=>Si(e),EmptyShallowRef:e=>qn(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),EmptyRef:e=>te(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),ShallowRef:e=>qn(e),ShallowReactive:e=>Al(e),Ref:e=>te(e),Reactive:e=>ut(e)},ob=Lt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in wu)Y0(r,wu[r]);Object.assign(e.payload,([t,n]=qo(()=>e.runWithContext(X0)),t=await t,n(),t)),window.__NUXT__=e.payload}});/*!
|
|
2
|
+
* vue-router v4.2.2
|
|
3
|
+
* (c) 2023 Eduardo San Martin Morote
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/const lr=typeof window<"u";function ib(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ce=Object.assign;function sa(e,t){const n={};for(const r in t){const s=t[r];n[r]=Pt(s)?s.map(e):e(s)}return n}const Ss=()=>{},Pt=Array.isArray,ab=/\/$/,lb=e=>e.replace(ab,"");function oa(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=db(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function cb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Eu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ub(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&$r(t.matched[r],n.matched[s])&&lp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function $r(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function lp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!fb(e[n],t[n]))return!1;return!0}function fb(e,t){return Pt(e)?xu(e,t):Pt(t)?xu(t,e):e===t}function xu(e,t){return Pt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function db(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-(i===r.length?1:0)).join("/")}var Gs;(function(e){e.pop="pop",e.push="push"})(Gs||(Gs={}));var As;(function(e){e.back="back",e.forward="forward",e.unknown=""})(As||(As={}));function hb(e){if(!e)if(lr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),lb(e)}const pb=/^[^#]+#/;function mb(e,t){return e.replace(pb,"#")+t}function gb(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 Ai=()=>({left:window.pageXOffset,top:window.pageYOffset});function vb(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=gb(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Tu(e,t){return(history.state?history.state.position-t:-1)+e}const qa=new Map;function _b(e,t){qa.set(e,t)}function yb(e){const t=qa.get(e);return qa.delete(e),t}let bb=()=>location.protocol+"//"+location.host;function cp(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),Eu(l,"")}return Eu(n,e)+r+s}function wb(e,t,n,r){let s=[],o=[],i=null;const a=({state:f})=>{const h=cp(e,location),p=n.value,v=t.value;let w=0;if(f){if(n.value=h,t.value=f,i&&i===p){i=null;return}w=v?f.position-v.position:0}else r(h);s.forEach(_=>{_(n.value,p,{delta:w,type:Gs.pop,direction:w?w>0?As.forward:As.back:As.unknown})})};function l(){i=n.value}function c(f){s.push(f);const h=()=>{const p=s.indexOf(f);p>-1&&s.splice(p,1)};return o.push(h),h}function d(){const{history:f}=window;f.state&&f.replaceState(Ce({},f.state,{scroll:Ai()}),"")}function u(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:u}}function ku(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Ai():null}}function Eb(e){const{history:t,location:n}=window,r={value:cp(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,d){const u=e.indexOf("#"),f=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+l:bb()+e+l;try{t[d?"replaceState":"pushState"](c,"",f),s.value=c}catch(h){console.error(h),n[d?"replace":"assign"](f)}}function i(l,c){const d=Ce({},t.state,ku(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,d,!0),r.value=l}function a(l,c){const d=Ce({},s.value,t.state,{forward:l,scroll:Ai()});o(d.current,d,!0);const u=Ce({},ku(r.value,l,null),{position:d.position+1},c);o(l,u,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function up(e){e=hb(e);const t=Eb(e),n=wb(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Ce({location:"",base:e,go:r,createHref:mb.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function xb(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),up(e)}function Tb(e){return typeof e=="string"||e&&typeof e=="object"}function fp(e){return typeof e=="string"||typeof e=="symbol"}const Dt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},dp=Symbol("");var $u;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})($u||($u={}));function Sr(e,t){return Ce(new Error,{type:e,[dp]:!0},t)}function qt(e,t){return e instanceof Error&&dp in e&&(t==null||!!(e.type&t))}const Su="[^/]+?",kb={sensitive:!1,strict:!1,start:!0,end:!0},$b=/[.+*?^${}()[\]/\\]/g;function Sb(e,t){const n=Ce({},kb,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let u=0;u<c.length;u++){const f=c[u];let h=40+(n.sensitive?.25:0);if(f.type===0)u||(s+="/"),s+=f.value.replace($b,"\\$&"),h+=40;else if(f.type===1){const{value:p,repeatable:v,optional:w,regexp:_}=f;o.push({name:p,repeatable:v,optional:w});const g=_||Su;if(g!==Su){h+=10;try{new RegExp(`(${g})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${g}): `+y.message)}}let b=v?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;u||(b=w&&c.length<2?`(?:/${b})`:"/"+b),w&&(b+="?"),s+=b,h+=20,w&&(h+=-8),v&&(h+=-20),g===".*"&&(h+=-50)}d.push(h)}r.push(d)}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 d=c.match(i),u={};if(!d)return null;for(let f=1;f<d.length;f++){const h=d[f]||"",p=o[f-1];u[p.name]=h&&p.repeatable?h.split("/"):h}return u}function l(c){let d="",u=!1;for(const f of e){(!u||!d.endsWith("/"))&&(d+="/"),u=!1;for(const h of f)if(h.type===0)d+=h.value;else if(h.type===1){const{value:p,repeatable:v,optional:w}=h,_=p in c?c[p]:"";if(Pt(_)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const g=Pt(_)?_.join("/"):_;if(!g)if(w)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):u=!0);else throw new Error(`Missing required param "${p}"`);d+=g}}return d||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function Ab(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]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Rb(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=Ab(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Au(r))return 1;if(Au(s))return-1}return s.length-r.length}function Au(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Pb={type:0,value:""},Nb=/[a-zA-Z0-9_]/;function Ob(e){if(!e)return[[]];if(e==="/")return[[Pb]];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="",d="";function u(){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:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&u(),i()):l===":"?(u(),n=1):f();break;case 4:f(),n=r;break;case 1:l==="("?n=2:Nb.test(l)?f():(u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),u(),i(),s}function Lb(e,t,n){const r=Sb(Ob(e.path),n),s=Ce(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Cb(e,t){const n=[],r=new Map;t=Nu({strict:!1,end:!0,sensitive:!1},t);function s(d){return r.get(d)}function o(d,u,f){const h=!f,p=Ib(d);p.aliasOf=f&&f.record;const v=Nu(t,d),w=[p];if("alias"in d){const b=typeof d.alias=="string"?[d.alias]:d.alias;for(const y of b)w.push(Ce({},p,{components:f?f.record.components:p.components,path:y,aliasOf:f?f.record:p}))}let _,g;for(const b of w){const{path:y}=b;if(u&&y[0]!=="/"){const x=u.record.path,m=x[x.length-1]==="/"?"":"/";b.path=u.record.path+(y&&m+y)}if(_=Lb(b,u,v),f?f.alias.push(_):(g=g||_,g!==_&&g.alias.push(_),h&&d.name&&!Pu(_)&&i(d.name)),p.children){const x=p.children;for(let m=0;m<x.length;m++)o(x[m],_,f&&f.children[m])}f=f||_,(_.record.components&&Object.keys(_.record.components).length||_.record.name||_.record.redirect)&&l(_)}return g?()=>{i(g)}:Ss}function i(d){if(fp(d)){const u=r.get(d);u&&(r.delete(d),n.splice(n.indexOf(u),1),u.children.forEach(i),u.alias.forEach(i))}else{const u=n.indexOf(d);u>-1&&(n.splice(u,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function l(d){let u=0;for(;u<n.length&&Rb(d,n[u])>=0&&(d.record.path!==n[u].record.path||!hp(d,n[u]));)u++;n.splice(u,0,d),d.record.name&&!Pu(d)&&r.set(d.record.name,d)}function c(d,u){let f,h={},p,v;if("name"in d&&d.name){if(f=r.get(d.name),!f)throw Sr(1,{location:d});v=f.record.name,h=Ce(Ru(u.params,f.keys.filter(g=>!g.optional).map(g=>g.name)),d.params&&Ru(d.params,f.keys.map(g=>g.name))),p=f.stringify(h)}else if("path"in d)p=d.path,f=n.find(g=>g.re.test(p)),f&&(h=f.parse(p),v=f.record.name);else{if(f=u.name?r.get(u.name):n.find(g=>g.re.test(u.path)),!f)throw Sr(1,{location:d,currentLocation:u});v=f.record.name,h=Ce({},u.params,d.params),p=f.stringify(h)}const w=[];let _=f;for(;_;)w.unshift(_.record),_=_.parent;return{name:v,path:p,params:h,matched:w,meta:Mb(w)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function Ru(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ib(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:jb(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 jb(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=="boolean"?n:n[r];return t}function Pu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Mb(e){return e.reduce((t,n)=>Ce(t,n.meta),{})}function Nu(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function hp(e,t){return t.children.some(n=>n===e||hp(e,n))}const pp=/#/g,Db=/&/g,Fb=/\//g,Bb=/=/g,Hb=/\?/g,mp=/\+/g,Ub=/%5B/g,Vb=/%5D/g,gp=/%5E/g,Wb=/%60/g,vp=/%7B/g,Gb=/%7C/g,_p=/%7D/g,zb=/%20/g;function Ql(e){return encodeURI(""+e).replace(Gb,"|").replace(Ub,"[").replace(Vb,"]")}function qb(e){return Ql(e).replace(vp,"{").replace(_p,"}").replace(gp,"^")}function Ka(e){return Ql(e).replace(mp,"%2B").replace(zb,"+").replace(pp,"%23").replace(Db,"%26").replace(Wb,"`").replace(vp,"{").replace(_p,"}").replace(gp,"^")}function Kb(e){return Ka(e).replace(Bb,"%3D")}function Xb(e){return Ql(e).replace(pp,"%23").replace(Hb,"%3F")}function Yb(e){return e==null?"":Xb(e).replace(Fb,"%2F")}function Yo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Jb(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(mp," "),i=o.indexOf("="),a=Yo(i<0?o:o.slice(0,i)),l=i<0?null:Yo(o.slice(i+1));if(a in t){let c=t[a];Pt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Ou(e){let t="";for(let n in e){const r=e[n];if(n=Kb(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Pt(r)?r.map(o=>o&&Ka(o)):[r&&Ka(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Qb(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Pt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Zb=Symbol(""),Lu=Symbol(""),Zl=Symbol(""),ec=Symbol(""),Xa=Symbol("");function Wr(){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,reset:n}}function mn(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=u=>{u===!1?a(Sr(4,{from:n,to:t})):u instanceof Error?a(u):Tb(u)?a(Sr(2,{from:t,to:u})):(o&&r.enterCallbacks[s]===o&&typeof u=="function"&&o.push(u),i())},c=e.call(r&&r.instances[s],t,n,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(u=>a(u))})}function ia(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(e1(a)){const c=(a.__vccOpts||a)[t];c&&s.push(mn(c,n,r,o,i))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const d=ib(c)?c.default:c;o.components[i]=d;const f=(d.__vccOpts||d)[t];return f&&mn(f,n,r,o,i)()}))}}return s}function e1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Cu(e){const t=lt(Zl),n=lt(ec),r=pe(()=>t.resolve(oe(e.to))),s=pe(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],u=n.matched;if(!d||!u.length)return-1;const f=u.findIndex($r.bind(null,d));if(f>-1)return f;const h=Iu(l[c-2]);return c>1&&Iu(d)===h&&u[u.length-1].path!==h?u.findIndex($r.bind(null,l[c-2])):f}),o=pe(()=>s.value>-1&&s1(n.params,r.value.params)),i=pe(()=>s.value>-1&&s.value===n.matched.length-1&&lp(n.params,r.value.params));function a(l={}){return r1(l)?t[oe(e.replace)?"replace":"push"](oe(e.to)).catch(Ss):Promise.resolve()}return{route:r,href:pe(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const t1=Oe({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:Cu,setup(e,{slots:t}){const n=ut(Cu(e)),{options:r}=lt(Zl),s=pe(()=>({[ju(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ju(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ye("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),n1=t1;function r1(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 s1(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(!Pt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Iu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ju=(e,t,n)=>e??t??n,o1=Oe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=lt(Xa),s=pe(()=>e.route||r.value),o=lt(Lu,0),i=pe(()=>{let c=oe(o);const{matched:d}=s.value;let u;for(;(u=d[c])&&!u.components;)c++;return c}),a=pe(()=>s.value.matched[i.value]);Wn(Lu,pe(()=>i.value+1)),Wn(Zb,a),Wn(Xa,s);const l=te();return Be(()=>[l.value,a.value,e.name],([c,d,u],[f,h,p])=>{d&&(d.instances[u]=c,h&&h!==d&&c&&c===f&&(d.leaveGuards.size||(d.leaveGuards=h.leaveGuards),d.updateGuards.size||(d.updateGuards=h.updateGuards))),c&&d&&(!h||!$r(d,h)||!f)&&(d.enterCallbacks[u]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=s.value,d=e.name,u=a.value,f=u&&u.components[d];if(!f)return Mu(n.default,{Component:f,route:c});const h=u.props[d],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,w=Ye(f,Ce({},p,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(u.instances[d]=null)},ref:l}));return Mu(n.default,{Component:w,route:c})||w}}});function Mu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const yp=o1;function i1(e){const t=Cb(e.routes,e),n=e.parseQuery||Jb,r=e.stringifyQuery||Ou,s=e.history,o=Wr(),i=Wr(),a=Wr(),l=qn(Dt);let c=Dt;lr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=sa.bind(null,L=>""+L),u=sa.bind(null,Yb),f=sa.bind(null,Yo);function h(L,J){let G,le;return fp(L)?(G=t.getRecordMatcher(L),le=J):le=L,t.addRoute(le,G)}function p(L){const J=t.getRecordMatcher(L);J&&t.removeRoute(J)}function v(){return t.getRoutes().map(L=>L.record)}function w(L){return!!t.getRecordMatcher(L)}function _(L,J){if(J=Ce({},J||l.value),typeof L=="string"){const j=oa(n,L,J.path),B=t.resolve({path:j.path},J),H=s.createHref(j.fullPath);return Ce(j,B,{params:f(B.params),hash:Yo(j.hash),redirectedFrom:void 0,href:H})}let G;if("path"in L)G=Ce({},L,{path:oa(n,L.path,J.path).path});else{const j=Ce({},L.params);for(const B in j)j[B]==null&&delete j[B];G=Ce({},L,{params:u(j)}),J.params=u(J.params)}const le=t.resolve(G,J),xe=L.hash||"";le.params=d(f(le.params));const N=cb(r,Ce({},L,{hash:qb(xe),path:le.path})),O=s.createHref(N);return Ce({fullPath:N,hash:xe,query:r===Ou?Qb(L.query):L.query||{}},le,{redirectedFrom:void 0,href:O})}function g(L){return typeof L=="string"?oa(n,L,l.value.path):Ce({},L)}function b(L,J){if(c!==L)return Sr(8,{from:J,to:L})}function y(L){return T(L)}function x(L){return y(Ce(g(L),{replace:!0}))}function m(L){const J=L.matched[L.matched.length-1];if(J&&J.redirect){const{redirect:G}=J;let le=typeof G=="function"?G(L):G;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=g(le):{path:le},le.params={}),Ce({query:L.query,hash:L.hash,params:"path"in le?{}:L.params},le)}}function T(L,J){const G=c=_(L),le=l.value,xe=L.state,N=L.force,O=L.replace===!0,j=m(G);if(j)return T(Ce(g(j),{state:typeof j=="object"?Ce({},xe,j.state):xe,force:N,replace:O}),J||G);const B=G;B.redirectedFrom=J;let H;return!N&&ub(r,le,G)&&(H=Sr(16,{to:B,from:le}),Q(le,le,!0,!1)),(H?Promise.resolve(H):A(B,le)).catch(U=>qt(U)?qt(U,2)?U:se(U):F(U,B,le)).then(U=>{if(U){if(qt(U,2))return T(Ce({replace:O},g(U.to),{state:typeof U.to=="object"?Ce({},xe,U.to.state):xe,force:N}),J||B)}else U=S(B,le,!0,O,xe);return $(B,le,U),U})}function E(L,J){const G=b(L,J);return G?Promise.reject(G):Promise.resolve()}function k(L){const J=fe.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(L):L()}function A(L,J){let G;const[le,xe,N]=a1(L,J);G=ia(le.reverse(),"beforeRouteLeave",L,J);for(const j of le)j.leaveGuards.forEach(B=>{G.push(mn(B,L,J))});const O=E.bind(null,L,J);return G.push(O),be(G).then(()=>{G=[];for(const j of o.list())G.push(mn(j,L,J));return G.push(O),be(G)}).then(()=>{G=ia(xe,"beforeRouteUpdate",L,J);for(const j of xe)j.updateGuards.forEach(B=>{G.push(mn(B,L,J))});return G.push(O),be(G)}).then(()=>{G=[];for(const j of L.matched)if(j.beforeEnter&&!J.matched.includes(j))if(Pt(j.beforeEnter))for(const B of j.beforeEnter)G.push(mn(B,L,J));else G.push(mn(j.beforeEnter,L,J));return G.push(O),be(G)}).then(()=>(L.matched.forEach(j=>j.enterCallbacks={}),G=ia(N,"beforeRouteEnter",L,J),G.push(O),be(G))).then(()=>{G=[];for(const j of i.list())G.push(mn(j,L,J));return G.push(O),be(G)}).catch(j=>qt(j,8)?j:Promise.reject(j))}function $(L,J,G){for(const le of a.list())k(()=>le(L,J,G))}function S(L,J,G,le,xe){const N=b(L,J);if(N)return N;const O=J===Dt,j=lr?history.state:{};G&&(le||O?s.replace(L.fullPath,Ce({scroll:O&&j&&j.scroll},xe)):s.push(L.fullPath,xe)),l.value=L,Q(L,J,G,O),se()}let R;function P(){R||(R=s.listen((L,J,G)=>{if(!ge.listening)return;const le=_(L),xe=m(le);if(xe){T(Ce(xe,{replace:!0}),le).catch(Ss);return}c=le;const N=l.value;lr&&_b(Tu(N.fullPath,G.delta),Ai()),A(le,N).catch(O=>qt(O,12)?O:qt(O,2)?(T(O.to,le).then(j=>{qt(j,20)&&!G.delta&&G.type===Gs.pop&&s.go(-1,!1)}).catch(Ss),Promise.reject()):(G.delta&&s.go(-G.delta,!1),F(O,le,N))).then(O=>{O=O||S(le,N,!1),O&&(G.delta&&!qt(O,8)?s.go(-G.delta,!1):G.type===Gs.pop&&qt(O,20)&&s.go(-1,!1)),$(le,N,O)}).catch(Ss)}))}let C=Wr(),I=Wr(),D;function F(L,J,G){se(L);const le=I.list();return le.length?le.forEach(xe=>xe(L,J,G)):console.error(L),Promise.reject(L)}function W(){return D&&l.value!==Dt?Promise.resolve():new Promise((L,J)=>{C.add([L,J])})}function se(L){return D||(D=!L,P(),C.list().forEach(([J,G])=>L?G(L):J()),C.reset()),L}function Q(L,J,G,le){const{scrollBehavior:xe}=e;if(!lr||!xe)return Promise.resolve();const N=!G&&yb(Tu(L.fullPath,0))||(le||!G)&&history.state&&history.state.scroll||null;return wt().then(()=>xe(L,J,N)).then(O=>O&&vb(O)).catch(O=>F(O,L,J))}const ne=L=>s.go(L);let de;const fe=new Set,ge={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,hasRoute:w,getRoutes:v,resolve:_,options:e,push:y,replace:x,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:I.add,isReady:W,install(L){const J=this;L.component("RouterLink",n1),L.component("RouterView",yp),L.config.globalProperties.$router=J,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>oe(l)}),lr&&!de&&l.value===Dt&&(de=!0,y(s.location).catch(xe=>{}));const G={};for(const xe in Dt)G[xe]=pe(()=>l.value[xe]);L.provide(Zl,J),L.provide(ec,ut(G)),L.provide(Xa,l);const le=L.unmount;fe.add(L),L.unmount=function(){fe.delete(L),fe.size<1&&(c=Dt,R&&R(),R=null,l.value=Dt,de=!1,D=!1),le()}}};function be(L){return L.reduce((J,G)=>J.then(()=>k(G)),Promise.resolve())}return ge}function a1(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=>$r(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>$r(c,l))||s.push(l))}return[n,r,s]}function l1(){return lt(ec)}const Gr={layout:"none"},zr={layout:"none"},Ya=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),c1=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),u1=e=>{const t=Pe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Ya(e)}):Ya(e)},f1=()=>null;function bp(...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.");s.server=s.server??!0,s.default=s.default??f1,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0;const o=Pe(),i=()=>o.isHydrating?o.payload.data[n]:o.static.data[n],a=()=>i()!==void 0;o._asyncData[n]||(o._asyncData[n]={data:te(i()??s.default()),pending:te(!a()),error:gi(o.payload._errors,n),status:te("idle")});const l={...o._asyncData[n]};l.refresh=l.execute=(f={})=>{if(o._asyncDataPromises[n]){if(f.dedupe===!1)return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((f._initial||o.isHydrating&&f._initial!==!1)&&a())return i();l.pending.value=!0,l.status.value="pending";const h=new Promise((p,v)=>{try{p(r(o))}catch(w){v(w)}}).then(p=>{if(h.cancelled)return o._asyncDataPromises[n];let v=p;s.transform&&(v=s.transform(p)),s.pick&&(v=d1(v,s.pick)),l.data.value=v,l.error.value=null,l.status.value="success"}).catch(p=>{if(h.cancelled)return o._asyncDataPromises[n];l.error.value=p,l.data.value=oe(s.default()),l.status.value="error"}).finally(()=>{h.cancelled||(l.pending.value=!1,o.payload.data[n]=l.data.value,l.error.value&&(o.payload._errors[n]=Si(l.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=h,o._asyncDataPromises[n]};const c=()=>l.refresh({_initial:!0}),d=s.server!==!1&&o.payload.serverRendered;{const f=Ot();if(f&&!f._nuxtOnBeforeMountCbs){f._nuxtOnBeforeMountCbs=[];const p=f._nuxtOnBeforeMountCbs;f&&(ah(()=>{p.forEach(v=>{v()}),p.splice(0,p.length)}),Vs(()=>p.splice(0,p.length)))}d&&o.isHydrating&&a()?(l.pending.value=!1,l.status.value=l.error.value?"error":"success"):f&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?f._nuxtOnBeforeMountCbs.push(c):s.immediate&&c(),s.watch&&Be(s.watch,()=>l.refresh());const h=o.hook("app:data:refresh",p=>{if(!p||p.includes(n))return l.refresh()});f&&Vs(h)}const u=Promise.resolve(o._asyncDataPromises[n]).then(()=>l);return Object.assign(u,l),u}function d1(e,t){const n={};for(const r of t)n[r]=e[r];return n}const h1={ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1};function p1(e,t={}){t={...h1,...t};const n=wp(t);return n.dispatch(e),n.toString()}function wp(e){const t=[];let n=[];const r=s=>{t.push(s)};return{toString(){return t.join("")},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 (.*)]/i,i=Object.prototype.toString.call(s),a=o.exec(i),l=a?a[1].toLowerCase():"unknown:["+i.toLowerCase()+"]";let c=null;if((c=n.indexOf(s))>=0)return this.dispatch("[CIRCULAR:"+c+"]");if(n.push(s),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(l!=="object"&&l!=="function"&&l!=="asyncfunction")this["_"+l]?this["_"+l](s):e.ignoreUnknown||this._unkown(s,l);else{let d=Object.keys(s);e.unorderedObjects&&(d=d.sort()),e.respectType!==!1&&!Du(s)&&d.splice(0,0,"prototype","__proto__","letructor"),e.excludeKeys&&(d=d.filter(function(u){return!e.excludeKeys(u)})),r("object:"+d.length+":");for(const u of d)this.dispatch(u),r(":"),e.excludeValues||this.dispatch(s[u]),r(",")}},_array(s,o){if(o=typeof o<"u"?o:e.unorderedArrays!==!1,r("array:"+s.length+":"),!o||s.length<=1){for(const l of s)this.dispatch(l);return}const i=[],a=s.map(l=>{const c=wp(e);return c.dispatch(l),i.push(c.getContext()),c.toString()});return n=[...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.toString())},_string(s){r("string:"+s.length+":"),r(s.toString())},_function(s){r("fn:"),Du(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.toString())},_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
|
|
6
|
+
Use "options.replacer" or "options.ignoreUnknown"
|
|
7
|
+
`)},_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")}}}function Du(e){return typeof e!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code]\s+}$/i.exec(Function.prototype.toString.call(e))!=null}class Ar{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||m1).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 Ar([...this.words])}}const m1={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("")}},g1={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("")}},v1={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 Ar(n,t)}},_1={parse(e){return v1.parse(unescape(encodeURIComponent(e)))}};class y1{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new Ar,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=_1.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 Ar(n,o)}}class b1 extends y1{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const w1=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],E1=[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],On=[];class x1 extends b1{constructor(){super(),this.reset()}reset(){super.reset(),this._hash=new Ar([...w1])}_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],d=r[6],u=r[7];for(let f=0;f<64;f++){if(f<16)On[f]=t[n+f]|0;else{const b=On[f-15],y=(b<<25|b>>>7)^(b<<14|b>>>18)^b>>>3,x=On[f-2],m=(x<<15|x>>>17)^(x<<13|x>>>19)^x>>>10;On[f]=y+On[f-7]+m+On[f-16]}const h=l&c^~l&d,p=s&o^s&i^o&i,v=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),w=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),_=u+w+h+E1[f]+On[f],g=v+p;u=d,d=c,c=l,l=a+_|0,a=i,i=o,o=s,s=_+g|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]+d|0,r[7]=r[7]+u|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 T1(e){return new x1().finalize(e).toString(g1)}function k1(e,t={}){const n=typeof e=="string"?e:p1(e,t);return T1(n).slice(0,10)}function $1(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=r.key||k1([s,oe(r.baseURL),typeof e=="string"?e:"",oe(r.params||r.query)]);if(!o||typeof o!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+o);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const i=o===s?"$f"+o:o,a=pe(()=>{let y=e;return typeof y=="function"&&(y=y()),oe(y)});if(!r.baseURL&&typeof a.value=="string"&&a.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:d,transform:u,pick:f,watch:h,immediate:p,...v}=r,w=ut({...v,cache:typeof r.cache=="boolean"?void 0:r.cache}),_={server:l,lazy:c,default:d,transform:u,pick:f,immediate:p,watch:h===!1?[]:[w,a,...h||[]]};let g;return bp(i,()=>(g?.abort?.(),g=typeof AbortController<"u"?new AbortController:{},typeof a.value=="string"&&a.value.startsWith("/"),(r.$fetch||globalThis.$fetch)(a.value,{signal:g.signal,...w})),_)}async function Ep(e,t=st()){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(()=>Ep(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)}function S1(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(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:Pe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const A1=(...e)=>e.find(t=>t!==void 0),R1="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function P1(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?Vh:Xl;if(typeof r=="string")return o(r,!0);const i="path"in r?r.path:s(r).path;return{...r,name:void 0,path:o(i,!0)}};return Oe({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=st(),i=pe(()=>{const u=r.to||r.href||"";return n(u,o.resolve)}),a=pe(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||jr(i.value,{acceptRelative:!0})),l=te(!1),c=te(null),d=u=>{c.value=r.custom?u?.$el?.nextElementSibling:u?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!O1()){const f=Pe();let h,p=null;An(()=>{const v=N1();u1(()=>{h=Ya(()=>{c?.value?.tagName&&(p=v.observe(c.value,async()=>{p?.(),p=null;const w=typeof i.value=="string"?i.value:o.resolve(i.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",w).catch(()=>{}),!a.value&&Ep(i.value,o).catch(()=>{})]),l.value=!0}))})})}),Ir(()=>{h&&c1(h),p?.(),p=null})}return()=>{if(!a.value){const v={ref:d,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(l.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel),Ye(xn("RouterLink"),v,s.default)}const u=typeof i.value=="object"?o.resolve(i.value)?.href??null:i.value||null,f=r.target||null,h=r.noRel?null:A1(r.rel,e.externalRelAttribute,u?R1:"")||null,p=()=>ap(u,{replace:r.replace});return r.custom?s.default?s.default({href:u,navigate:p,get route(){if(!u)return;const v=to(u);return{path:v.pathname,fullPath:v.pathname,get query(){return Uh(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u}},rel:h,target:f,isExternal:a.value,isActive:!1,isExactActive:!1}):null:Ye("a",{ref:c,href:u,rel:h,target:f},s.default?.())}}})}const tc=P1({componentName:"NuxtLink"});function N1(){const e=Pe();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 O1(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function L1(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const C1=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function I1(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const Fu=function(...e){e=e.map(r=>L1(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:I1();!s||s.length===0||(t=`${s}/${t}`,n=Bu(s))}return t=j1(t,!n),n&&!Bu(t)?`/${t}`:t.length>0?t:"."};function j1(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 Bu=function(e){return C1.test(e)},M1=function(e,t){const n=Fu(e).split("/"),r=Fu(t).split("/"),s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function $2(e){return!!e.match(/[/\\]node_modules[/\\]/)||nc(e)}function nc(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function D1(e){if(nc(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 F1(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function S2(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function A2(e,t){if(e=e.replace(/\\/g,"/"),nc(e))return{moduleName:e,path:e};const n=D1(e),r=F1(e);if(n&&r)return{moduleName:n,path:r};try{let s=M1(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function pt(e,t,n){const r=Pe();return r.payload.unique||(r.payload.unique={}),r.payload.unique[e]||(r.payload.unique[e]=bp(e,t,n)),r.payload.unique[e].data}function R2(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Hu={get:"bg-green-400:10 text-green-400",post:"bg-blue-400:10 text-blue-400",put:"bg-orange-400:10 text-orange-400",delete:"bg-red-400:10 text-red-400",patch:"bg-purple-400:10 text-purple-400",head:"bg-teal-400:10 text-teal-400",default:"bg-gray-400:10 text-gray-400"};function P2(e){return Hu[e.toLowerCase()]||Hu.default}function N2(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 O2(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 rn(e){return Rd()?(gg(e),!0):!1}function et(e){return typeof e=="function"?e():oe(e)}const Xn=typeof window<"u",B1=e=>typeof e<"u",Rr=()=>{},H1=U1();function U1(){var e;return Xn&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function xp(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 Tp=e=>e();function V1(e,t={}){let n,r,s=Rr;const o=a=>{clearTimeout(a),s(),s=Rr};return a=>{const l=et(e),c=et(t.maxWait);return n&&o(n),l<=0||c!==void 0&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((d,u)=>{s=t.rejectOnCancel?u:d,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,d(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,d(a())},l)})}}function W1(e=Tp){const t=te(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:er(t),pause:n,resume:r,eventFilter:s}}function Uu(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function G1(...e){if(e.length!==1)return gi(...e);const t=e[0];return typeof t=="function"?er(Gd(()=>({get:t,set:Rr}))):te(t)}function z1(e,t=200,n={}){return xp(V1(t,n),e)}function q1(e,t=200,n={}){const r=te(e.value),s=z1(()=>{r.value=e.value},t,n);return Be(e,()=>s()),r}var K1=Object.defineProperty,X1=Object.defineProperties,Y1=Object.getOwnPropertyDescriptors,Vu=Object.getOwnPropertySymbols,J1=Object.prototype.hasOwnProperty,Q1=Object.prototype.propertyIsEnumerable,Wu=(e,t,n)=>t in e?K1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Z1=(e,t)=>{for(var n in t||(t={}))J1.call(t,n)&&Wu(e,n,t[n]);if(Vu)for(var n of Vu(t))Q1.call(t,n)&&Wu(e,n,t[n]);return e},ew=(e,t)=>X1(e,Y1(t));function tw(e){if(!De(e))return qg(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=Gd(()=>({get(){return e.value[n]},set(r){if(Array.isArray(e.value)){const s=[...e.value];s[n]=r,e.value=s}else{const s=ew(Z1({},e.value),{[n]:r});Object.setPrototypeOf(s,Object.getPrototypeOf(e.value)),e.value=s}}}));return t}function rc(e,t=!0){Ot()?An(e):t?e():wt(e)}function Ja(e,t=!1){function n(u,{flush:f="sync",deep:h=!1,timeout:p,throwOnTimeout:v}={}){let w=null;const g=[new Promise(b=>{w=Be(e,y=>{u(y)!==t&&(w?.(),b(y))},{flush:f,deep:h,immediate:!0})})];return p!=null&&g.push(Uu(p,v).then(()=>et(e)).finally(()=>w?.())),Promise.race(g)}function r(u,f){if(!De(u))return n(y=>y===u,f);const{flush:h="sync",deep:p=!1,timeout:v,throwOnTimeout:w}=f??{};let _=null;const b=[new Promise(y=>{_=Be([e,u],([x,m])=>{t!==(x===m)&&(_?.(),y(x))},{flush:h,deep:p,immediate:!0})})];return v!=null&&b.push(Uu(v,w).then(()=>et(e)).finally(()=>(_?.(),et(e)))),Promise.race(b)}function s(u){return n(f=>!!f,u)}function o(u){return r(null,u)}function i(u){return r(void 0,u)}function a(u){return n(Number.isNaN,u)}function l(u,f){return n(h=>{const p=Array.from(h);return p.includes(u)||p.includes(et(u))},f)}function c(u){return d(1,u)}function d(u=1,f){let h=-1;return n(()=>(h+=1,h>=u),f)}return Array.isArray(et(e))?{toMatch:n,toContains:l,changed:c,changedTimes:d,get not(){return Ja(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:d,get not(){return Ja(e,!t)}}}function nw(e){return Ja(e)}function rw(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let o=null;const i=te(!1);function a(){o&&(clearInterval(o),o=null)}function l(){i.value=!1,a()}function c(){const d=et(t);d<=0||(i.value=!0,s&&e(),a(),o=setInterval(e,d))}if(r&&Xn&&c(),De(t)||typeof t=="function"){const d=Be(t,()=>{i.value&&Xn&&c()});rn(d)}return rn(l),{isActive:i,pause:l,resume:c}}function sw(e,t,n={}){const{immediate:r=!0}=n,s=te(!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)},et(t))}return r&&(s.value=!0,Xn&&l()),rn(a),{isPending:er(s),start:l,stop:a}}var Gu=Object.getOwnPropertySymbols,ow=Object.prototype.hasOwnProperty,iw=Object.prototype.propertyIsEnumerable,aw=(e,t)=>{var n={};for(var r in e)ow.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Gu)for(var r of Gu(e))t.indexOf(r)<0&&iw.call(e,r)&&(n[r]=e[r]);return n};function lw(e,t,n={}){const r=n,{eventFilter:s=Tp}=r,o=aw(r,["eventFilter"]);return Be(e,xp(s,t),o)}var cw=Object.defineProperty,uw=Object.defineProperties,fw=Object.getOwnPropertyDescriptors,Jo=Object.getOwnPropertySymbols,kp=Object.prototype.hasOwnProperty,$p=Object.prototype.propertyIsEnumerable,zu=(e,t,n)=>t in e?cw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dw=(e,t)=>{for(var n in t||(t={}))kp.call(t,n)&&zu(e,n,t[n]);if(Jo)for(var n of Jo(t))$p.call(t,n)&&zu(e,n,t[n]);return e},hw=(e,t)=>uw(e,fw(t)),pw=(e,t)=>{var n={};for(var r in e)kp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Jo)for(var r of Jo(e))t.indexOf(r)<0&&$p.call(e,r)&&(n[r]=e[r]);return n};function mw(e,t,n={}){const r=n,{eventFilter:s}=r,o=pw(r,["eventFilter"]),{eventFilter:i,pause:a,resume:l,isActive:c}=W1(s);return{stop:lw(e,t,hw(dw({},o),{eventFilter:i})),pause:a,resume:l,isActive:c}}function L2(e,t,n){let r;De(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:a=Rr}=r,l=te(!s),c=i?qn(t):te(t);let d=0;return Kn(async u=>{if(!l.value)return;d++;const f=d;let h=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const p=await e(v=>{u(()=>{o&&(o.value=!1),h||v()})});f===d&&(c.value=p)}catch(p){a(p)}finally{o&&f===d&&(o.value=!1),h=!0}}),s?pe(()=>(l.value=!0,c.value)):c}function sc(e={}){let t=0;const n=te([]);function r(...i){const a=Al({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=d=>(a.isResolving=!0,l(d)),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=Oe((i,{slots:a})=>{const l=()=>n.value.map(c=>{var d;return Ye(Ie,{key:c.key},(d=a.default)==null?void 0:d.call(a,c))});return e.transition?()=>Ye(T_,e.transition,l):l});return o.start=s,o}function ht(e){var t;const n=et(e);return(t=n?.$el)!=null?t:n}const Nt=Xn?window:void 0,gw=Xn?window.document:void 0,vw=Xn?window.navigator:void 0;function Rt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Nt):[t,n,r,s]=e,!t)return Rr;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(d=>d()),o.length=0},a=(d,u,f,h)=>(d.addEventListener(u,f,h),()=>d.removeEventListener(u,f,h)),l=Be(()=>[ht(t),et(s)],([d,u])=>{i(),d&&o.push(...n.flatMap(f=>r.map(h=>a(d,f,h,u))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return rn(c),c}let qu=!1;function _w(e,t,n={}){const{window:r=Nt,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;H1&&!qu&&(qu=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",Rr)));let a=!0;const l=f=>s.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(p=>p===f.target||f.composedPath().includes(p));{const p=ht(h);return p&&(f.target===p||f.composedPath().includes(p))}}),d=[Rt(r,"click",f=>{const h=ht(e);if(!(!h||h===f.target||f.composedPath().includes(h))){if(f.detail===0&&(a=!l(f)),!a){a=!0;return}t(f)}},{passive:!0,capture:o}),Rt(r,"pointerdown",f=>{const h=ht(e);h&&(a=!f.composedPath().includes(h)&&!l(f))},{passive:!0}),i&&Rt(r,"blur",f=>{setTimeout(()=>{var h;const p=ht(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!p?.contains(r.document.activeElement)&&t(f)},0)})].filter(Boolean);return()=>d.forEach(f=>f())}var yw=Object.defineProperty,bw=Object.defineProperties,ww=Object.getOwnPropertyDescriptors,Ku=Object.getOwnPropertySymbols,Ew=Object.prototype.hasOwnProperty,xw=Object.prototype.propertyIsEnumerable,Xu=(e,t,n)=>t in e?yw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tw=(e,t)=>{for(var n in t||(t={}))Ew.call(t,n)&&Xu(e,n,t[n]);if(Ku)for(var n of Ku(t))xw.call(t,n)&&Xu(e,n,t[n]);return e},kw=(e,t)=>bw(e,ww(t));function $w(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Sw(...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=Nt,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=$w(t);return Rt(s,o,d=>{d.repeat&&et(a)||l(d)&&n(d)},i)}function C2(e,t,n={}){return Sw(e,t,kw(Tw({},n),{eventName:"keydown"}))}function Aw(){const e=te(!1);return Ot()&&An(()=>{e.value=!0}),e}function oc(e){const t=Aw();return pe(()=>(t.value,!!e()))}function Rw(e,t={}){const{immediate:n=!0,window:r=Nt}=t,s=te(!1);let o=0,i=null;function a(d){if(!s.value||!r)return;const u=d-(o||d);e({delta:u,timestamp:d}),o=d,i=r.requestAnimationFrame(a)}function l(){!s.value&&r&&(s.value=!0,i=r.requestAnimationFrame(a))}function c(){s.value=!1,i!=null&&r&&(r.cancelAnimationFrame(i),i=null)}return n&&l(),rn(c),{isActive:er(s),pause:c,resume:l}}function Pw(e,t={}){const{window:n=Nt}=t,r=oc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=te(!1),i=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},a=()=>{r.value&&(i(),s=n.matchMedia(G1(e).value),o.value=!!s?.matches,s&&("addEventListener"in s?s.addEventListener("change",a):s.addListener(a)))};return Kn(a),rn(()=>i()),o}function Nw(e={}){const{navigator:t=vw,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=["copy","cut"],a=oc(()=>t&&"clipboard"in t),l=pe(()=>a.value||o),c=te(""),d=te(!1),u=sw(()=>d.value=!1,s);function f(){a.value?t.clipboard.readText().then(w=>{c.value=w}):c.value=v()}if(l.value&&n)for(const w of i)Rt(w,f);async function h(w=et(r)){l.value&&w!=null&&(a.value?await t.clipboard.writeText(w):p(w),c.value=w,d.value=!0,u.start())}function p(w){const _=document.createElement("textarea");_.value=w??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function v(){var w,_,g;return(g=(_=(w=document?.getSelection)==null?void 0:w.call(document))==null?void 0:_.toString())!=null?g:""}return{isSupported:l,text:c,copied:d,copy:h}}function Ow(e){return JSON.parse(JSON.stringify(e))}const bo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},wo="__vueuse_ssr_handlers__",Lw=Cw();function Cw(){return wo in bo||(bo[wo]=bo[wo]||{}),bo[wo]}function Iw(e,t){return Lw[e]||t}function jw(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"}var Mw=Object.defineProperty,Yu=Object.getOwnPropertySymbols,Dw=Object.prototype.hasOwnProperty,Fw=Object.prototype.propertyIsEnumerable,Ju=(e,t,n)=>t in e?Mw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qu=(e,t)=>{for(var n in t||(t={}))Dw.call(t,n)&&Ju(e,n,t[n]);if(Yu)for(var n of Yu(t))Fw.call(t,n)&&Ju(e,n,t[n]);return e};const Bw={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()}},Zu="vueuse-storage";function Hw(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:d,window:u=Nt,eventFilter:f,onError:h=E=>{console.error(E)}}=r,p=(d?qn:te)(t);if(!n)try{n=Iw("getDefaultStorage",()=>{var E;return(E=Nt)==null?void 0:E.localStorage})()}catch(E){h(E)}if(!n)return p;const v=et(t),w=jw(v),_=(s=r.serializer)!=null?s:Bw[w],{pause:g,resume:b}=mw(p,()=>y(p.value),{flush:o,deep:i,eventFilter:f});return u&&a&&(Rt(u,"storage",T),Rt(u,Zu,m)),T(),p;function y(E){try{if(E==null)n.removeItem(e);else{const k=_.write(E),A=n.getItem(e);A!==k&&(n.setItem(e,k),u&&u.dispatchEvent(new CustomEvent(Zu,{detail:{key:e,oldValue:A,newValue:k,storageArea:n}})))}}catch(k){h(k)}}function x(E){const k=E?E.newValue:n.getItem(e);if(k==null)return l&&v!==null&&n.setItem(e,_.write(v)),v;if(!E&&c){const A=_.read(k);return typeof c=="function"?c(A,v):w==="object"&&!Array.isArray(A)?Qu(Qu({},v),A):A}else return typeof k!="string"?k:_.read(k)}function m(E){T(E.detail)}function T(E){if(!(E&&E.storageArea!==n)){if(E&&E.key==null){p.value=v;return}if(!(E&&E.key!==e)){g();try{p.value=x(E)}catch(k){h(k)}finally{E?wt(b):b()}}}}}var ef=Object.getOwnPropertySymbols,Uw=Object.prototype.hasOwnProperty,Vw=Object.prototype.propertyIsEnumerable,Ww=(e,t)=>{var n={};for(var r in e)Uw.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ef)for(var r of ef(e))t.indexOf(r)<0&&Vw.call(e,r)&&(n[r]=e[r]);return n};function Sp(e,t,n={}){const r=n,{window:s=Nt}=r,o=Ww(r,["window"]);let i;const a=oc(()=>s&&"ResizeObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},c=pe(()=>Array.isArray(e)?e.map(f=>ht(f)):[ht(e)]),d=Be(c,f=>{if(l(),a.value&&s){i=new ResizeObserver(t);for(const h of f)h&&i.observe(h,o)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{l(),d()};return rn(u),{isSupported:a,stop:u}}function I2(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=te(0),a=te(0),l=te(0),c=te(0),d=te(0),u=te(0),f=te(0),h=te(0);function p(){const v=ht(e);if(!v){n&&(i.value=0,a.value=0,l.value=0,c.value=0,d.value=0,u.value=0,f.value=0,h.value=0);return}const w=v.getBoundingClientRect();i.value=w.height,a.value=w.bottom,l.value=w.left,c.value=w.right,d.value=w.top,u.value=w.width,f.value=w.x,h.value=w.y}return Sp(e,p),Be(()=>ht(e),v=>!v&&p()),s&&Rt("scroll",p,{capture:!0,passive:!0}),r&&Rt("resize",p,{passive:!0}),rc(()=>{o&&p()}),{height:i,bottom:a,left:l,right:c,top:d,width:u,x:f,y:h,update:p}}function j2(e,t={width:0,height:0},n={}){const{window:r=Nt,box:s="content-box"}=n,o=pe(()=>{var l,c;return(c=(l=ht(e))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),i=te(t.width),a=te(t.height);return Sp(e,([l])=>{const c=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&o.value){const d=ht(e);if(d){const u=r.getComputedStyle(d);i.value=Number.parseFloat(u.width),a.value=Number.parseFloat(u.height)}}else if(c){const d=Array.isArray(c)?c:[c];i.value=d.reduce((u,{inlineSize:f})=>u+f,0),a.value=d.reduce((u,{blockSize:f})=>u+f,0)}else i.value=l.contentRect.width,a.value=l.contentRect.height},n),Be(()=>ht(e),l=>{i.value=l?t.width:0,a.value=l?t.height:0}),{width:i,height:a}}function ic(e,t,n={}){const{window:r=Nt}=n;return Hw(e,t,r?.localStorage,n)}var Gw=Object.defineProperty,tf=Object.getOwnPropertySymbols,zw=Object.prototype.hasOwnProperty,qw=Object.prototype.propertyIsEnumerable,nf=(e,t,n)=>t in e?Gw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kw=(e,t)=>{for(var n in t||(t={}))zw.call(t,n)&&nf(e,n,t[n]);if(tf)for(var n of tf(t))qw.call(t,n)&&nf(e,n,t[n]);return e};function Xw(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=te(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?Rw(s,{immediate:!0}):rw(s,n,{immediate:!0});return t?Kw({now:r},o):r}let Yw=0;function M2(e,t={}){const n=te(!1),{document:r=gw,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++Yw}`}=t,a=te(e);let l=()=>{};const c=()=>{if(!r)return;const u=r.getElementById(i)||r.createElement("style");u.isConnected||(u.type="text/css",u.id=i,t.media&&(u.media=t.media),r.head.appendChild(u)),!n.value&&(l=Be(a,f=>{u.textContent=f},{immediate:!0}),n.value=!0)},d=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&rc(c),o||rn(d),{id:i,css:a,unload:d,load:c,isLoaded:er(n)}}var Jw=Object.defineProperty,Qo=Object.getOwnPropertySymbols,Ap=Object.prototype.hasOwnProperty,Rp=Object.prototype.propertyIsEnumerable,rf=(e,t,n)=>t in e?Jw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qw=(e,t)=>{for(var n in t||(t={}))Ap.call(t,n)&&rf(e,n,t[n]);if(Qo)for(var n of Qo(t))Rp.call(t,n)&&rf(e,n,t[n]);return e},Zw=(e,t)=>{var n={};for(var r in e)Ap.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Qo)for(var r of Qo(e))t.indexOf(r)<0&&Rp.call(e,r)&&(n[r]=e[r]);return n};const eE=[{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:1/0,value:31536e6,name:"year"}],tE={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 nE(e){return e.toISOString().slice(0,10)}function D2(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,s=Xw({interval:r,controls:!0}),{now:o}=s,i=Zw(s,["now"]),a=pe(()=>rE(new Date(et(e)),t,et(o)));return n?Qw({timeAgo:a},i):a}function rE(e,t={},n=Date.now()){var r;const{max:s,messages:o=tE,fullDateFormatter:i=nE,units:a=eE,showSecond:l=!1,rounding:c="round"}=t,d=typeof c=="number"?w=>+w.toFixed(c):Math[c],u=+n-+e,f=Math.abs(u);function h(w,_){return d(Math.abs(w)/_.value)}function p(w,_){const g=h(w,_),b=w>0,y=v(_.name,g,b);return v(b?"past":"future",y,b)}function v(w,_,g){const b=o[w];return typeof b=="function"?b(_,g):b.replace("{0}",_.toString())}if(f<6e4&&!l)return o.justNow;if(typeof s=="number"&&f>s)return i(new Date(e));if(typeof s=="string"){const w=(r=a.find(_=>_.name===s))==null?void 0:r.max;if(w&&f>w)return i(new Date(e))}for(const[w,_]of a.entries()){if(h(u,_)<=0&&a[w-1])return p(u,a[w-1]);if(f<_.max)return p(u,_)}return o.invalid}function Pp(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:d=!1,defaultValue:u,shouldEmit:f}=r,h=Ot(),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 v=c;t||(t="modelValue"),v=v||`update:${t.toString()}`;const w=b=>a?typeof a=="function"?a(b):Ow(b):b,_=()=>B1(e[t])?w(e[t]):u,g=b=>{f?f(b)&&p(v,b):p(v,b)};if(l){const b=_(),y=te(b);return Be(()=>e[t],x=>y.value=w(x)),Be(y,x=>{(x!==e[t]||d)&&g(x)},{deep:d}),y}else return pe({get(){return _()},set(b){g(b)}})}function sE(e={}){const{window:t=Nt,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=te(n),a=te(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(),rc(l),Rt("resize",l,{passive:!0}),s){const c=Pw("(orientation: portrait)");Be(c,()=>l())}return{width:i,height:a}}const oE=6e4;function Np(e){return e}const iE=Np,{setTimeout:aE}=globalThis,lE=Math.random.bind(Math);function cE(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=Np,deserialize:i=iE,resolver:a,timeout:l=oE}=t,c=new Map;let d;const u=new Proxy({},{get(f,h){if(h==="$functions")return e;const p=(...w)=>{n(o({m:h,a:w,t:"q"}))};if(s.includes(h))return p.asEvent=p,p;const v=async(...w)=>(await d,new Promise((_,g)=>{const b=fE();c.set(b,{resolve:_,reject:g}),n(o({m:h,a:w,i:b,t:"q"})),l>=0&&aE(()=>{g(new Error(`[birpc] timeout on calling "${h}"`)),c.delete(b)},l)}));return v.asEvent=p,v}});return d=r(async(f,...h)=>{const p=i(f);if(p.t==="q"){const{m:v,a:w}=p;let _,g;const b=a?a(v,e[v]):e[v];if(!b)g=new Error(`[birpc] function "${v}" not found`);else try{_=await b.apply(u,w)}catch(y){g=y}p.i&&(g&&t.onError&&t.onError(g,v,w),n(o({t:"s",i:p.i,r:_,e:g}),...h))}else{const{i:v,r:w,e:_}=p,g=c.get(v);g&&(_?g.reject(_):g.resolve(w)),c.delete(v)}}),u}const uE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function fE(e=21){let t="",n=e;for(;n--;)t+=uE[lE()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:dE,stringify:hE}=JSON,{keys:pE}=Object,zs=String,Op="string",sf={},Zo="object",Lp=(e,t)=>t,mE=e=>e instanceof zs?zs(e):e,gE=(e,t)=>typeof t===Op?new zs(t):t,Cp=(e,t,n,r)=>{const s=[];for(let o=pE(n),{length:i}=o,a=0;a<i;a++){const l=o[a],c=n[l];if(c instanceof zs){const d=e[c];typeof d===Zo&&!t.has(d)?(t.add(d),n[l]=sf,s.push({k:l,a:[e,t,d,r]})):n[l]=r.call(n,l,d)}else n[l]!==sf&&(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,Cp.apply(null,l))}return n},of=(e,t,n)=>{const r=zs(t.push(n)-1);return e.set(n,r),r},vE=(e,t)=>{const n=dE(e,gE).map(mE),r=n[0],s=t||Lp,o=typeof r===Zo&&r?Cp(n,new Set,r,s):r;return s.call({"":o},"",o)},_E=(e,t,n)=>{const r=t&&typeof t===Zo?(d,u)=>d===""||-1<t.indexOf(d)?u:void 0:t||Lp,s=new Map,o=[],i=[];let a=+of(s,o,r.call({"":e},"",e)),l=!a;for(;a<o.length;)l=!0,i[a]=hE(o[a++],c,n);return"["+i.join(",")+"]";function c(d,u){if(l)return l=!l,u;const f=r.call(this,d,u);switch(typeof f){case Zo:if(f===null)return f;case Op:return s.get(f)||of(s,o,f)}return f}};async function yE(e="/",t=!0){try{return await Re(()=>import(`${e}@vite/client`),[],import.meta.url)}catch{t&&console.error(`[vite-plugin-hot] Failed to import "${e}@vite/client"`)}}async function bE(e="/____",t="/"){return(await yE(t))?.createHotContext(e)}const Ip="nuxt:devtools:rpc",wE=te(!1),EE=te(),xE=q1(wE,2e3),TE=kE();let jp=()=>{};const Mp={},Dp=new Map,Fe=cE(Mp,{post:async e=>{(await TE).send(Ip,e)},on:e=>{jp=e},serialize:_E,deserialize:vE,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return Dp.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function kE(){const e=await bE();if(!e)throw new Error("Unable to connect to devtools");return e.on(Ip,t=>{jp(t)}),e}const F2=sc(),Fp=sc();function $E(){return Mr("devtools:restart-dialogs",()=>[])}let Bp;function Qa(e){Bp?.(e)}function SE(e){Bp=e}var AE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function RE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function B2(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var s=[null];s.push.apply(s,arguments);var o=Function.bind.apply(t,s);return new o}return 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 Za={exports:{}};(function(e,t){(function(n,r){var s="1.0.35",o="",i="?",a="function",l="undefined",c="object",d="string",u="major",f="model",h="name",p="type",v="vendor",w="version",_="architecture",g="console",b="mobile",y="tablet",x="smarttv",m="wearable",T="embedded",E=350,k="Amazon",A="Apple",$="ASUS",S="BlackBerry",R="Browser",P="Chrome",C="Edge",I="Firefox",D="Google",F="Huawei",W="LG",se="Microsoft",Q="Motorola",ne="Opera",de="Samsung",fe="Sharp",ge="Sony",be="Xiaomi",L="Zebra",J="Facebook",G="Chromium OS",le="Mac OS",xe=function(q,re){var X={};for(var Z in q)re[Z]&&re[Z].length%2===0?X[Z]=re[Z].concat(q[Z]):X[Z]=q[Z];return X},N=function(q){for(var re={},X=0;X<q.length;X++)re[q[X].toUpperCase()]=q[X];return re},O=function(q,re){return typeof q===d?j(re).indexOf(j(q))!==-1:!1},j=function(q){return q.toLowerCase()},B=function(q){return typeof q===d?q.replace(/[^\d\.]/g,o).split(".")[0]:r},H=function(q,re){if(typeof q===d)return q=q.replace(/^\s\s*/,o),typeof re===l?q:q.substring(0,E)},U=function(q,re){for(var X=0,Z,ve,Le,we,me,Je;X<re.length&&!me;){var nr=re[X],Qe=re[X+1];for(Z=ve=0;Z<nr.length&&!me&&nr[Z];)if(me=nr[Z++].exec(q),me)for(Le=0;Le<Qe.length;Le++)Je=me[++ve],we=Qe[Le],typeof we===c&&we.length>0?we.length===2?typeof we[1]==a?this[we[0]]=we[1].call(this,Je):this[we[0]]=we[1]:we.length===3?typeof we[1]===a&&!(we[1].exec&&we[1].test)?this[we[0]]=Je?we[1].call(this,Je,we[2]):r:this[we[0]]=Je?Je.replace(we[1],we[2]):r:we.length===4&&(this[we[0]]=Je?we[3].call(this,Je.replace(we[1],we[2])):r):this[we]=Je||r;X+=2}},ee=function(q,re){for(var X in re)if(typeof re[X]===c&&re[X].length>0){for(var Z=0;Z<re[X].length;Z++)if(O(re[X][Z],q))return X===i?r:X}else if(O(re[X],q))return X===i?r:X;return q},Y={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},K={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"},z={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[w,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[w,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,w],[/opios[\/ ]+([\w\.]+)/i],[w,[h,ne+" Mini"]],[/\bopr\/([\w\.]+)/i],[w,[h,ne]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\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,w],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[w,[h,"UC"+R]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[w,[h,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[w,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[w,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[w,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[w,[h,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+R],w],[/\bfocus\/([\w\.]+)/i],[w,[h,I+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[h,ne+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[h,ne+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[h,"MIUI "+R]],[/fxios\/([-\w\.]+)/i],[w,[h,I]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+R]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+R],w],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],w],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[h,w],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,J],w],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[h,w],[/\bgsa\/([\w\.]+) .*safari\//i],[w,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[w,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[w,[h,P+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,P+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[h,"Android "+R]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,w],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[w,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[w,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[w,ee,Y]],[/(webkit|khtml)\/([\w\.]+)/i],[h,w],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],w],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[w,[h,I+" 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,w],[/(cobalt)\/([\w\.]+)/i],[h,[w,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[_,"amd64"]],[/(ia32(?=;))/i],[[_,j]],[/((?:i[346]|x)86)[;\)]/i],[[_,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[_,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[_,"armhf"]],[/windows (ce|mobile); ppc;/i],[[_,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[_,/ower/,o,j]],[/(sun4\w)[;\)]/i],[[_,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[_,j]]],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],[f,[v,de],[p,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[v,de],[p,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[v,A],[p,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[v,A],[p,y]],[/(macintosh);/i],[f,[v,A]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[v,fe],[p,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[v,F],[p,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[v,F],[p,b]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[v,be],[p,b]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[v,be],[p,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[v,"OPPO"],[p,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[v,"Vivo"],[p,b]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[f,[v,"Realme"],[p,b]],[/\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],[f,[v,Q],[p,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[v,Q],[p,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[v,W],[p,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[v,W],[p,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[v,"Lenovo"],[p,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[v,"Nokia"],[p,b]],[/(pixel c)\b/i],[f,[v,D],[p,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[v,D],[p,b]],[/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],[f,[v,ge],[p,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[v,ge],[p,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[v,"OnePlus"],[p,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[v,k],[p,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[v,k],[p,b]],[/(playbook);[-\w\),; ]+(rim)/i],[f,v,[p,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[v,S],[p,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[v,$],[p,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[v,$],[p,b]],[/(nexus 9)/i],[f,[v,"HTC"],[p,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[f,/_/g," "],[p,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[v,"Acer"],[p,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[v,"Meizu"],[p,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,f,[p,b]],[/(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],[v,f,[p,y]],[/(surface duo)/i],[f,[v,se],[p,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[v,"Fairphone"],[p,b]],[/(u304aa)/i],[f,[v,"AT&T"],[p,b]],[/\bsie-(\w*)/i],[f,[v,"Siemens"],[p,b]],[/\b(rct\w+) b/i],[f,[v,"RCA"],[p,y]],[/\b(venue[\d ]{2,7}) b/i],[f,[v,"Dell"],[p,y]],[/\b(q(?:mv|ta)\w+) b/i],[f,[v,"Verizon"],[p,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[v,"Barnes & Noble"],[p,y]],[/\b(tm\d{3}\w+) b/i],[f,[v,"NuVision"],[p,y]],[/\b(k88) b/i],[f,[v,"ZTE"],[p,y]],[/\b(nx\d{3}j) b/i],[f,[v,"ZTE"],[p,b]],[/\b(gen\d{3}) b.+49h/i],[f,[v,"Swiss"],[p,b]],[/\b(zur\d{3}) b/i],[f,[v,"Swiss"],[p,y]],[/\b((zeki)?tb.*\b) b/i],[f,[v,"Zeki"],[p,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],f,[p,y]],[/\b(ns-?\w{0,9}) b/i],[f,[v,"Insignia"],[p,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[v,"NextBook"],[p,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],f,[p,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],f,[p,b]],[/\b(ph-1) /i],[f,[v,"Essential"],[p,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[v,"Envizen"],[p,y]],[/\b(trio[-\w\. ]+) b/i],[f,[v,"MachSpeed"],[p,y]],[/\btu_(1491) b/i],[f,[v,"Rotor"],[p,y]],[/(shield[\w ]+) b/i],[f,[v,"Nvidia"],[p,y]],[/(sprint) (\w+)/i],[v,f,[p,b]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[v,se],[p,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[v,L],[p,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[v,L],[p,b]],[/smart-tv.+(samsung)/i],[v,[p,x]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[v,de],[p,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,W],[p,x]],[/(apple) ?tv/i],[v,[f,A+" TV"],[p,x]],[/crkey/i],[[f,P+"cast"],[v,D],[p,x]],[/droid.+aft(\w)( bui|\))/i],[f,[v,k],[p,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[v,fe],[p,x]],[/(bravia[\w ]+)( bui|\))/i],[f,[v,ge],[p,x]],[/(mitv-\w{5}) bui/i],[f,[v,be],[p,x]],[/Hbbtv.*(technisat) (.*);/i],[v,f,[p,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,H],[f,H],[p,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,x]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,f,[p,g]],[/droid.+; (shield) bui/i],[f,[v,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[f,[v,ge],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[v,se],[p,g]],[/((pebble))app/i],[v,f,[p,m]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[v,A],[p,m]],[/droid.+; (glass) \d/i],[f,[v,D],[p,m]],[/droid.+; (wt63?0{2,3})\)/i],[f,[v,L],[p,m]],[/(quest( 2| pro)?)/i],[f,[v,J],[p,m]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[p,T]],[/(aeobc)\b/i],[f,[v,k],[p,T]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[f,[p,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[p,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,b]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[h,C+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[w,[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,w],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[w,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,w],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[h,[w,ee,K]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,"Windows"],[w,ee,K]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[w,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,le],[w,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[w,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,w],[/\(bb(10);/i],[w,[h,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[w,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[w,[h,I+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[w,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[w,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[w,[h,P+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,G],w],[/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,w],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],w],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,w]]},ae=function(q,re){if(typeof q===c&&(re=q,q=r),!(this instanceof ae))return new ae(q,re).getResult();var X=typeof n!==l&&n.navigator?n.navigator:r,Z=q||(X&&X.userAgent?X.userAgent:o),ve=X&&X.userAgentData?X.userAgentData:r,Le=re?xe(z,re):z,we=X&&X.userAgent==Z;return this.getBrowser=function(){var me={};return me[h]=r,me[w]=r,U.call(me,Z,Le.browser),me[u]=B(me[w]),we&&X&&X.brave&&typeof X.brave.isBrave==a&&(me[h]="Brave"),me},this.getCPU=function(){var me={};return me[_]=r,U.call(me,Z,Le.cpu),me},this.getDevice=function(){var me={};return me[v]=r,me[f]=r,me[p]=r,U.call(me,Z,Le.device),we&&!me[p]&&ve&&ve.mobile&&(me[p]=b),we&&me[f]=="Macintosh"&&X&&typeof X.standalone!==l&&X.maxTouchPoints&&X.maxTouchPoints>2&&(me[f]="iPad",me[p]=y),me},this.getEngine=function(){var me={};return me[h]=r,me[w]=r,U.call(me,Z,Le.engine),me},this.getOS=function(){var me={};return me[h]=r,me[w]=r,U.call(me,Z,Le.os),we&&!me[h]&&ve&&ve.platform!="Unknown"&&(me[h]=ve.platform.replace(/chrome os/i,G).replace(/macos/i,le)),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 Z},this.setUA=function(me){return Z=typeof me===d&&me.length>E?H(me,E):me,this},this.setUA(Z),this};ae.VERSION=s,ae.BROWSER=N([h,w,u]),ae.CPU=N([_]),ae.DEVICE=N([f,v,p,g,b,x,y,m,T]),ae.ENGINE=ae.OS=N([h,w]),e.exports&&(t=e.exports=ae),t.UAParser=ae;var M=typeof n!==l&&(n.jQuery||n.Zepto);if(M&&!M.ua){var V=new ae;M.ua=V.getResult(),M.ua.get=function(){return V.getUA()},M.ua.set=function(q){V.setUA(q);var re=V.getResult();for(var X in re)M.ua[X]=re[X]}}})(typeof window=="object"?window:AE)})(Za,Za.exports);var PE=Za.exports;const Bt=te(localStorage.getItem("__nuxt_dev_token__")),vr=te(!1),Hp=new BroadcastChannel("__nuxt_dev_token__");Hp.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===Bt.value)return;const t=e.data.data;Fe.verifyAuthToken(t).then(n=>{Bt.value=n?t:null,vr.value=n})}});function H2(e){Bt.value=e,vr.value=!0,localStorage.setItem("__nuxt_dev_token__",e),Hp.postMessage({event:"new-token",data:e})}async function NE(){if(vr.value)return Bt.value;if(!Bt.value){const e=new PE.UAParser(navigator.userAgent).getResult(),t=[e.browser.name,e.browser.version,"|",e.os.name,e.os.version,e.device.type].filter(r=>r).join(" ");if(Fe.requestForAuth(t),await Promise.race([Fp.start(),nw(Bt.value).toBeTruthy()])===!1)throw Qa({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}if(vr.value=await Fe.verifyAuthToken(Bt.value),!vr.value)throw Bt.value=null,Qa({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),new Error("Invalid auth token");return Bt.value}var el={exports:{}};const OE="2.0.0",Up=256,LE=Number.MAX_SAFE_INTEGER||9007199254740991,CE=16,IE=Up-6,jE=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Ri={MAX_LENGTH:Up,MAX_SAFE_COMPONENT_LENGTH:CE,MAX_SAFE_BUILD_LENGTH:IE,MAX_SAFE_INTEGER:LE,RELEASE_TYPES:jE,SEMVER_SPEC_VERSION:OE,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const ME=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Pi=ME;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r}=Ri,s=Pi;t=e.exports={};const o=t.re=[],i=t.safeRe=[],a=t.src=[],l=t.t={};let c=0;const d="[a-zA-Z0-9-]",u=[["\\s",1],["\\d",n],[d,r]],f=p=>{for(const[v,w]of u)p=p.split(`${v}*`).join(`${v}{0,${w}}`).split(`${v}+`).join(`${v}{1,${w}}`);return p},h=(p,v,w)=>{const _=f(v),g=c++;s(p,g,v),l[p]=g,a[g]=v,o[g]=new RegExp(v,w?"g":void 0),i[g]=new RegExp(_,w?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),h("MAINVERSION",`(${a[l.NUMERICIDENTIFIER]})\\.(${a[l.NUMERICIDENTIFIER]})\\.(${a[l.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${a[l.NUMERICIDENTIFIERLOOSE]})\\.(${a[l.NUMERICIDENTIFIERLOOSE]})\\.(${a[l.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${a[l.NUMERICIDENTIFIER]}|${a[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${a[l.NUMERICIDENTIFIERLOOSE]}|${a[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${a[l.PRERELEASEIDENTIFIER]}(?:\\.${a[l.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${a[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[l.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${d}+`),h("BUILD",`(?:\\+(${a[l.BUILDIDENTIFIER]}(?:\\.${a[l.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${a[l.MAINVERSION]}${a[l.PRERELEASE]}?${a[l.BUILD]}?`),h("FULL",`^${a[l.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${a[l.MAINVERSIONLOOSE]}${a[l.PRERELEASELOOSE]}?${a[l.BUILD]}?`),h("LOOSE",`^${a[l.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${a[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${a[l.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${a[l.XRANGEIDENTIFIER]})(?:\\.(${a[l.XRANGEIDENTIFIER]})(?:\\.(${a[l.XRANGEIDENTIFIER]})(?:${a[l.PRERELEASE]})?${a[l.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${a[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[l.XRANGEIDENTIFIERLOOSE]})(?:${a[l.PRERELEASELOOSE]})?${a[l.BUILD]}?)?)?`),h("XRANGE",`^${a[l.GTLT]}\\s*${a[l.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${a[l.GTLT]}\\s*${a[l.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),h("COERCERTL",a[l.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${a[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${a[l.LONETILDE]}${a[l.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${a[l.LONETILDE]}${a[l.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${a[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${a[l.LONECARET]}${a[l.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${a[l.LONECARET]}${a[l.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${a[l.GTLT]}\\s*(${a[l.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${a[l.GTLT]}\\s*(${a[l.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${a[l.GTLT]}\\s*(${a[l.LOOSEPLAIN]}|${a[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${a[l.XRANGEPLAIN]})\\s+-\\s+(${a[l.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${a[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[l.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(el,el.exports);var no=el.exports;const DE=Object.freeze({loose:!0}),FE=Object.freeze({}),BE=e=>e?typeof e!="object"?DE:e:FE;var ac=BE;const af=/^[0-9]+$/,Vp=(e,t)=>{const n=af.test(e),r=af.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},HE=(e,t)=>Vp(t,e);var Wp={compareIdentifiers:Vp,rcompareIdentifiers:HE};const Eo=Pi,{MAX_LENGTH:lf,MAX_SAFE_INTEGER:xo}=Ri,{safeRe:cf,t:uf}=no,UE=ac,{compareIdentifiers:sr}=Wp;let VE=class Mt{constructor(t,n){if(n=UE(n),t instanceof Mt){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>lf)throw new TypeError(`version is longer than ${lf} characters`);Eo("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?cf[uf.LOOSE]:cf[uf.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>xo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>xo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>xo||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<xo)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(Eo("SemVer.compare",this.version,this.options,t),!(t instanceof Mt)){if(typeof t=="string"&&t===this.version)return 0;t=new Mt(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof Mt||(t=new Mt(t,this.options)),sr(this.major,t.major)||sr(this.minor,t.minor)||sr(this.patch,t.patch)}comparePre(t){if(t instanceof Mt||(t=new Mt(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(Eo("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 sr(r,s)}while(++n)}compareBuild(t){t instanceof Mt||(t=new Mt(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(Eo("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 sr(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]),sr(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 ot=VE;const ff=ot,WE=(e,t,n=!1)=>{if(e instanceof ff)return e;try{return new ff(e,t)}catch(r){if(!n)return null;throw r}};var Dr=WE;const GE=Dr,zE=(e,t)=>{const n=GE(e,t);return n?n.version:null};var qE=zE;const KE=Dr,XE=(e,t)=>{const n=KE(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var YE=XE;const df=ot,JE=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new df(e instanceof df?e.version:e,n).inc(t,r,s).version}catch{return null}};var QE=JE;const hf=Dr,ZE=(e,t)=>{const n=hf(e,null,!0),r=hf(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 d=l?"pre":"";return n.major!==r.major?d+"major":n.minor!==r.minor?d+"minor":n.patch!==r.patch?d+"patch":"prerelease"};var ex=ZE;const tx=ot,nx=(e,t)=>new tx(e,t).major;var rx=nx;const sx=ot,ox=(e,t)=>new sx(e,t).minor;var ix=ox;const ax=ot,lx=(e,t)=>new ax(e,t).patch;var cx=lx;const ux=Dr,fx=(e,t)=>{const n=ux(e,t);return n&&n.prerelease.length?n.prerelease:null};var dx=fx;const pf=ot,hx=(e,t,n)=>new pf(e,n).compare(new pf(t,n));var Ct=hx;const px=Ct,mx=(e,t,n)=>px(t,e,n);var gx=mx;const vx=Ct,_x=(e,t)=>vx(e,t,!0);var yx=_x;const mf=ot,bx=(e,t,n)=>{const r=new mf(e,n),s=new mf(t,n);return r.compare(s)||r.compareBuild(s)};var lc=bx;const wx=lc,Ex=(e,t)=>e.sort((n,r)=>wx(n,r,t));var xx=Ex;const Tx=lc,kx=(e,t)=>e.sort((n,r)=>Tx(r,n,t));var $x=kx;const Sx=Ct,Ax=(e,t,n)=>Sx(e,t,n)>0;var Ni=Ax;const Rx=Ct,Px=(e,t,n)=>Rx(e,t,n)<0;var cc=Px;const Nx=Ct,Ox=(e,t,n)=>Nx(e,t,n)===0;var Gp=Ox;const Lx=Ct,Cx=(e,t,n)=>Lx(e,t,n)!==0;var zp=Cx;const Ix=Ct,jx=(e,t,n)=>Ix(e,t,n)>=0;var uc=jx;const Mx=Ct,Dx=(e,t,n)=>Mx(e,t,n)<=0;var fc=Dx;const Fx=Gp,Bx=zp,Hx=Ni,Ux=uc,Vx=cc,Wx=fc,Gx=(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 Fx(e,n,r);case"!=":return Bx(e,n,r);case">":return Hx(e,n,r);case">=":return Ux(e,n,r);case"<":return Vx(e,n,r);case"<=":return Wx(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var qp=Gx;const zx=ot,qx=Dr,{safeRe:To,t:ko}=no,Kx=(e,t)=>{if(e instanceof zx)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(To[ko.COERCE]);else{let r;for(;(r=To[ko.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),To[ko.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;To[ko.COERCERTL].lastIndex=-1}return n===null?null:qx(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var Xx=Kx,aa,gf;function Yx(){return gf||(gf=1,aa=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),aa}var Jx=Ae;Ae.Node=Yn;Ae.create=Ae;function Ae(e){var t=this;if(t instanceof Ae||(t=new Ae),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}Ae.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};Ae.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++}};Ae.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++}};Ae.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)Zx(this,arguments[e]);return this.length};Ae.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)eT(this,arguments[e]);return this.length};Ae.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}};Ae.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}};Ae.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};Ae.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};Ae.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};Ae.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};Ae.prototype.map=function(e,t){t=t||this;for(var n=new Ae,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};Ae.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Ae,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};Ae.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};Ae.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};Ae.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};Ae.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};Ae.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 Ae;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};Ae.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 Ae;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};Ae.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=Qx(this,s,n[r]);return o};Ae.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 Qx(e,t,n){var r=t===e.head?new Yn(n,null,t,e):new Yn(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function Zx(e,t){e.tail=new Yn(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function eT(e,t){e.head=new Yn(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function Yn(e,t,n,r){if(!(this instanceof Yn))return new Yn(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{Yx()(Ae)}catch{}const tT=Jx,Mn=Symbol("max"),Qt=Symbol("length"),or=Symbol("lengthCalculator"),Rs=Symbol("allowStale"),Hn=Symbol("maxAge"),Jt=Symbol("dispose"),vf=Symbol("noDisposeOnSet"),Ge=Symbol("lruList"),Et=Symbol("cache"),Kp=Symbol("updateAgeOnGet"),la=()=>1;class nT{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[Mn]=t.max||1/0;const n=t.length||la;if(this[or]=typeof n!="function"?la:n,this[Rs]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Hn]=t.maxAge||0,this[Jt]=t.dispose,this[vf]=t.noDisposeOnSet||!1,this[Kp]=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[Mn]=t||1/0,qr(this)}get max(){return this[Mn]}set allowStale(t){this[Rs]=!!t}get allowStale(){return this[Rs]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Hn]=t,qr(this)}get maxAge(){return this[Hn]}set lengthCalculator(t){typeof t!="function"&&(t=la),t!==this[or]&&(this[or]=t,this[Qt]=0,this[Ge].forEach(n=>{n.length=this[or](n.value,n.key),this[Qt]+=n.length})),qr(this)}get lengthCalculator(){return this[or]}get length(){return this[Qt]}get itemCount(){return this[Ge].length}rforEach(t,n){n=n||this;for(let r=this[Ge].tail;r!==null;){const s=r.prev;_f(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[Ge].head;r!==null;){const s=r.next;_f(this,t,r,n),r=s}}keys(){return this[Ge].toArray().map(t=>t.key)}values(){return this[Ge].toArray().map(t=>t.value)}reset(){this[Jt]&&this[Ge]&&this[Ge].length&&this[Ge].forEach(t=>this[Jt](t.key,t.value)),this[Et]=new Map,this[Ge]=new tT,this[Qt]=0}dump(){return this[Ge].map(t=>ei(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Ge]}set(t,n,r){if(r=r||this[Hn],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,o=this[or](n,t);if(this[Et].has(t)){if(o>this[Mn])return _r(this,this[Et].get(t)),!1;const l=this[Et].get(t).value;return this[Jt]&&(this[vf]||this[Jt](t,l.value)),l.now=s,l.maxAge=r,l.value=n,this[Qt]+=o-l.length,l.length=o,this.get(t),qr(this),!0}const i=new rT(t,n,o,s,r);return i.length>this[Mn]?(this[Jt]&&this[Jt](t,n),!1):(this[Qt]+=i.length,this[Ge].unshift(i),this[Et].set(t,this[Ge].head),qr(this),!0)}has(t){if(!this[Et].has(t))return!1;const n=this[Et].get(t).value;return!ei(this,n)}get(t){return ca(this,t,!0)}peek(t){return ca(this,t,!1)}pop(){const t=this[Ge].tail;return t?(_r(this,t),t.value):null}del(t){_r(this,this[Et].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[Et].forEach((t,n)=>ca(this,n,!1))}}const ca=(e,t,n)=>{const r=e[Et].get(t);if(r){const s=r.value;if(ei(e,s)){if(_r(e,r),!e[Rs])return}else n&&(e[Kp]&&(r.value.now=Date.now()),e[Ge].unshiftNode(r));return s.value}},ei=(e,t)=>{if(!t||!t.maxAge&&!e[Hn])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[Hn]&&n>e[Hn]},qr=e=>{if(e[Qt]>e[Mn])for(let t=e[Ge].tail;e[Qt]>e[Mn]&&t!==null;){const n=t.prev;_r(e,t),t=n}},_r=(e,t)=>{if(t){const n=t.value;e[Jt]&&e[Jt](n.key,n.value),e[Qt]-=n.length,e[Et].delete(n.key),e[Ge].removeNode(t)}};class rT{constructor(t,n,r,s,o){this.key=t,this.value=n,this.length=r,this.now=s,this.maxAge=o||0}}const _f=(e,t,n,r)=>{let s=n.value;ei(e,s)&&(_r(e,n),e[Rs]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var sT=nT,ua,yf;function It(){if(yf)return ua;yf=1;class e{constructor(P,C){if(C=r(C),P instanceof e)return P.loose===!!C.loose&&P.includePrerelease===!!C.includePrerelease?P:new e(P.raw,C);if(P instanceof s)return this.raw=P.value,this.set=[[P]],this.format(),this;if(this.options=C,this.loose=!!C.loose,this.includePrerelease=!!C.includePrerelease,this.raw=P.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(I=>this.parseRange(I)).filter(I=>I.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const I=this.set[0];if(this.set=this.set.filter(D=>!p(D[0])),this.set.length===0)this.set=[I];else if(this.set.length>1){for(const D of this.set)if(D.length===1&&v(D[0])){this.set=[D];break}}}this.format()}format(){return this.range=this.set.map(P=>P.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(P){const I=((this.options.includePrerelease&&f)|(this.options.loose&&h))+":"+P,D=n.get(I);if(D)return D;const F=this.options.loose,W=F?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];P=P.replace(W,$(this.options.includePrerelease)),o("hyphen replace",P),P=P.replace(a[l.COMPARATORTRIM],c),o("comparator trim",P),P=P.replace(a[l.TILDETRIM],d),o("tilde trim",P),P=P.replace(a[l.CARETTRIM],u),o("caret trim",P);let se=P.split(" ").map(fe=>_(fe,this.options)).join(" ").split(/\s+/).map(fe=>A(fe,this.options));F&&(se=se.filter(fe=>(o("loose invalid filter",fe,this.options),!!fe.match(a[l.COMPARATORLOOSE])))),o("range list",se);const Q=new Map,ne=se.map(fe=>new s(fe,this.options));for(const fe of ne){if(p(fe))return[fe];Q.set(fe.value,fe)}Q.size>1&&Q.has("")&&Q.delete("");const de=[...Q.values()];return n.set(I,de),de}intersects(P,C){if(!(P instanceof e))throw new TypeError("a Range is required");return this.set.some(I=>w(I,C)&&P.set.some(D=>w(D,C)&&I.every(F=>D.every(W=>F.intersects(W,C)))))}test(P){if(!P)return!1;if(typeof P=="string")try{P=new i(P,this.options)}catch{return!1}for(let C=0;C<this.set.length;C++)if(S(this.set[C],P,this.options))return!0;return!1}}ua=e;const t=sT,n=new t({max:1e3}),r=ac,s=Oi(),o=Pi,i=ot,{safeRe:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:d,caretTrimReplace:u}=no,{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:h}=Ri,p=R=>R.value==="<0.0.0-0",v=R=>R.value==="",w=(R,P)=>{let C=!0;const I=R.slice();let D=I.pop();for(;C&&I.length;)C=I.every(F=>D.intersects(F,P)),D=I.pop();return C},_=(R,P)=>(o("comp",R,P),R=x(R,P),o("caret",R),R=b(R,P),o("tildes",R),R=T(R,P),o("xrange",R),R=k(R,P),o("stars",R),R),g=R=>!R||R.toLowerCase()==="x"||R==="*",b=(R,P)=>R.trim().split(/\s+/).map(C=>y(C,P)).join(" "),y=(R,P)=>{const C=P.loose?a[l.TILDELOOSE]:a[l.TILDE];return R.replace(C,(I,D,F,W,se)=>{o("tilde",R,I,D,F,W,se);let Q;return g(D)?Q="":g(F)?Q=`>=${D}.0.0 <${+D+1}.0.0-0`:g(W)?Q=`>=${D}.${F}.0 <${D}.${+F+1}.0-0`:se?(o("replaceTilde pr",se),Q=`>=${D}.${F}.${W}-${se} <${D}.${+F+1}.0-0`):Q=`>=${D}.${F}.${W} <${D}.${+F+1}.0-0`,o("tilde return",Q),Q})},x=(R,P)=>R.trim().split(/\s+/).map(C=>m(C,P)).join(" "),m=(R,P)=>{o("caret",R,P);const C=P.loose?a[l.CARETLOOSE]:a[l.CARET],I=P.includePrerelease?"-0":"";return R.replace(C,(D,F,W,se,Q)=>{o("caret",R,D,F,W,se,Q);let ne;return g(F)?ne="":g(W)?ne=`>=${F}.0.0${I} <${+F+1}.0.0-0`:g(se)?F==="0"?ne=`>=${F}.${W}.0${I} <${F}.${+W+1}.0-0`:ne=`>=${F}.${W}.0${I} <${+F+1}.0.0-0`:Q?(o("replaceCaret pr",Q),F==="0"?W==="0"?ne=`>=${F}.${W}.${se}-${Q} <${F}.${W}.${+se+1}-0`:ne=`>=${F}.${W}.${se}-${Q} <${F}.${+W+1}.0-0`:ne=`>=${F}.${W}.${se}-${Q} <${+F+1}.0.0-0`):(o("no pr"),F==="0"?W==="0"?ne=`>=${F}.${W}.${se}${I} <${F}.${W}.${+se+1}-0`:ne=`>=${F}.${W}.${se}${I} <${F}.${+W+1}.0-0`:ne=`>=${F}.${W}.${se} <${+F+1}.0.0-0`),o("caret return",ne),ne})},T=(R,P)=>(o("replaceXRanges",R,P),R.split(/\s+/).map(C=>E(C,P)).join(" ")),E=(R,P)=>{R=R.trim();const C=P.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return R.replace(C,(I,D,F,W,se,Q)=>{o("xRange",R,I,D,F,W,se,Q);const ne=g(F),de=ne||g(W),fe=de||g(se),ge=fe;return D==="="&&ge&&(D=""),Q=P.includePrerelease?"-0":"",ne?D===">"||D==="<"?I="<0.0.0-0":I="*":D&&ge?(de&&(W=0),se=0,D===">"?(D=">=",de?(F=+F+1,W=0,se=0):(W=+W+1,se=0)):D==="<="&&(D="<",de?F=+F+1:W=+W+1),D==="<"&&(Q="-0"),I=`${D+F}.${W}.${se}${Q}`):de?I=`>=${F}.0.0${Q} <${+F+1}.0.0-0`:fe&&(I=`>=${F}.${W}.0${Q} <${F}.${+W+1}.0-0`),o("xRange return",I),I})},k=(R,P)=>(o("replaceStars",R,P),R.trim().replace(a[l.STAR],"")),A=(R,P)=>(o("replaceGTE0",R,P),R.trim().replace(a[P.includePrerelease?l.GTE0PRE:l.GTE0],"")),$=R=>(P,C,I,D,F,W,se,Q,ne,de,fe,ge,be)=>(g(I)?C="":g(D)?C=`>=${I}.0.0${R?"-0":""}`:g(F)?C=`>=${I}.${D}.0${R?"-0":""}`:W?C=`>=${C}`:C=`>=${C}${R?"-0":""}`,g(ne)?Q="":g(de)?Q=`<${+ne+1}.0.0-0`:g(fe)?Q=`<${ne}.${+de+1}.0-0`:ge?Q=`<=${ne}.${de}.${fe}-${ge}`:R?Q=`<${ne}.${de}.${+fe+1}-0`:Q=`<=${Q}`,`${C} ${Q}`.trim()),S=(R,P,C)=>{for(let I=0;I<R.length;I++)if(!R[I].test(P))return!1;if(P.prerelease.length&&!C.includePrerelease){for(let I=0;I<R.length;I++)if(o(R[I].semver),R[I].semver!==s.ANY&&R[I].semver.prerelease.length>0){const D=R[I].semver;if(D.major===P.major&&D.minor===P.minor&&D.patch===P.patch)return!0}return!1}return!0};return ua}var fa,bf;function Oi(){if(bf)return fa;bf=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(d,u){if(u=n(u),d instanceof t){if(d.loose===!!u.loose)return d;d=d.value}d=d.trim().split(/\s+/).join(" "),i("comparator",d,u),this.options=u,this.loose=!!u.loose,this.parse(d),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(d){const u=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],f=d.match(u);if(!f)throw new TypeError(`Invalid comparator: ${d}`);this.operator=f[1]!==void 0?f[1]:"",this.operator==="="&&(this.operator=""),f[2]?this.semver=new a(f[2],this.options.loose):this.semver=e}toString(){return this.value}test(d){if(i("Comparator.test",d,this.options.loose),this.semver===e||d===e)return!0;if(typeof d=="string")try{d=new a(d,this.options)}catch{return!1}return o(d,this.operator,this.semver,this.options)}intersects(d,u){if(!(d instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(d.value,u).test(this.value):d.operator===""?d.value===""?!0:new l(this.value,u).test(d.semver):(u=n(u),u.includePrerelease&&(this.value==="<0.0.0-0"||d.value==="<0.0.0-0")||!u.includePrerelease&&(this.value.startsWith("<0.0.0")||d.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&d.operator.startsWith(">")||this.operator.startsWith("<")&&d.operator.startsWith("<")||this.semver.version===d.semver.version&&this.operator.includes("=")&&d.operator.includes("=")||o(this.semver,"<",d.semver,u)&&this.operator.startsWith(">")&&d.operator.startsWith("<")||o(this.semver,">",d.semver,u)&&this.operator.startsWith("<")&&d.operator.startsWith(">")))}}fa=t;const n=ac,{safeRe:r,t:s}=no,o=qp,i=Pi,a=ot,l=It();return fa}const oT=It(),iT=(e,t,n)=>{try{t=new oT(t,n)}catch{return!1}return t.test(e)};var Li=iT;const aT=It(),lT=(e,t)=>new aT(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var cT=lT;const uT=ot,fT=It(),dT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new fT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new uT(r,n))}),r};var hT=dT;const pT=ot,mT=It(),gT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new mT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new pT(r,n))}),r};var vT=gT;const da=ot,_T=It(),wf=Ni,yT=(e,t)=>{e=new _T(e,t);let n=new da("0.0.0");if(e.test(n)||(n=new da("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 da(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||wf(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||wf(n,o))&&(n=o)}return n&&e.test(n)?n:null};var bT=yT;const wT=It(),ET=(e,t)=>{try{return new wT(e,t).range||"*"}catch{return null}};var xT=ET;const TT=ot,Xp=Oi(),{ANY:kT}=Xp,$T=It(),ST=Li,Ef=Ni,xf=cc,AT=fc,RT=uc,PT=(e,t,n,r)=>{e=new TT(e,r),t=new $T(t,r);let s,o,i,a,l;switch(n){case">":s=Ef,o=AT,i=xf,a=">",l=">=";break;case"<":s=xf,o=RT,i=Ef,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ST(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const d=t.set[c];let u=null,f=null;if(d.forEach(h=>{h.semver===kT&&(h=new Xp(">=0.0.0")),u=u||h,f=f||h,s(h.semver,u.semver,r)?u=h:i(h.semver,f.semver,r)&&(f=h)}),u.operator===a||u.operator===l||(!f.operator||f.operator===a)&&o(e,f.semver))return!1;if(f.operator===l&&i(e,f.semver))return!1}return!0};var dc=PT;const NT=dc,OT=(e,t,n)=>NT(e,t,">",n);var LT=OT;const CT=dc,IT=(e,t,n)=>CT(e,t,"<",n);var jT=IT;const Tf=It(),MT=(e,t,n)=>(e=new Tf(e,n),t=new Tf(t,n),e.intersects(t,n));var DT=MT;const FT=Li,BT=Ct;var HT=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((d,u)=>BT(d,u,n));for(const d of i)FT(d,t,n)?(o=d,s||(s=d)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const a=[];for(const[d,u]of r)d===u?a.push(d):!u&&d===i[0]?a.push("*"):u?d===i[0]?a.push(`<=${u}`):a.push(`${d} - ${u}`):a.push(`>=${d}`);const l=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t};const kf=It(),hc=Oi(),{ANY:ha}=hc,Kr=Li,pc=Ct,UT=(e,t,n={})=>{if(e===t)return!0;e=new kf(e,n),t=new kf(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const i=WT(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},VT=[new hc(">=0.0.0-0")],$f=[new hc(">=0.0.0")],WT=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===ha){if(t.length===1&&t[0].semver===ha)return!0;n.includePrerelease?e=VT:e=$f}if(t.length===1&&t[0].semver===ha){if(n.includePrerelease)return!0;t=$f}const r=new Set;let s,o;for(const h of e)h.operator===">"||h.operator===">="?s=Sf(s,h,n):h.operator==="<"||h.operator==="<="?o=Af(o,h,n):r.add(h.semver);if(r.size>1)return null;let i;if(s&&o){if(i=pc(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&&!Kr(h,String(s),n)||o&&!Kr(h,String(o),n))return null;for(const p of t)if(!Kr(h,String(p),n))return!1;return!0}let a,l,c,d,u=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,f=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;u&&u.prerelease.length===1&&o.operator==="<"&&u.prerelease[0]===0&&(u=!1);for(const h of t){if(d=d||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",s){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(a=Sf(s,h,n),a===h&&a!==s)return!1}else if(s.operator===">="&&!Kr(s.semver,String(h),n))return!1}if(o){if(u&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===u.major&&h.semver.minor===u.minor&&h.semver.patch===u.patch&&(u=!1),h.operator==="<"||h.operator==="<="){if(l=Af(o,h,n),l===h&&l!==o)return!1}else if(o.operator==="<="&&!Kr(o.semver,String(h),n))return!1}if(!h.operator&&(o||s)&&i!==0)return!1}return!(s&&c&&!o&&i!==0||o&&d&&!s&&i!==0||f||u)},Sf=(e,t,n)=>{if(!e)return t;const r=pc(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},Af=(e,t,n)=>{if(!e)return t;const r=pc(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var GT=UT;const pa=no,Rf=Ri,zT=ot,Pf=Wp,qT=Dr,KT=qE,XT=YE,YT=QE,JT=ex,QT=rx,ZT=ix,ek=cx,tk=dx,nk=Ct,rk=gx,sk=yx,ok=lc,ik=xx,ak=$x,lk=Ni,ck=cc,uk=Gp,fk=zp,dk=uc,hk=fc,pk=qp,mk=Xx,gk=Oi(),vk=It(),_k=Li,yk=cT,bk=hT,wk=vT,Ek=bT,xk=xT,Tk=dc,kk=LT,$k=jT,Sk=DT,Ak=HT,Rk=GT;var Pk={parse:qT,valid:KT,clean:XT,inc:YT,diff:JT,major:QT,minor:ZT,patch:ek,prerelease:tk,compare:nk,rcompare:rk,compareLoose:sk,compareBuild:ok,sort:ik,rsort:ak,gt:lk,lt:ck,eq:uk,neq:fk,gte:dk,lte:hk,cmp:pk,coerce:mk,Comparator:gk,Range:vk,satisfies:_k,toComparators:yk,maxSatisfying:bk,minSatisfying:wk,minVersion:Ek,validRange:xk,outside:Tk,gtr:kk,ltr:$k,intersects:Sk,simplifyRange:Ak,subset:Rk,SemVer:zT,re:pa.re,src:pa.src,tokens:pa.t,SEMVER_SPEC_VERSION:Rf.SEMVER_SPEC_VERSION,RELEASE_TYPES:Rf.RELEASE_TYPES,compareIdentifiers:Pf.compareIdentifiers,rcompareIdentifiers:Pf.rcompareIdentifiers};const Nk=RE(Pk),ma=new Map;function U2(e,t){const n=e;return ma.has(n)||ma.set(n,Ck(e,t)),ma.get(n)}function Ok(){return pt("npm:check:nuxt",()=>Fe.checkForUpdateFor("nuxt"))}function Lk(e){const t=Ok();return pe(()=>t?.value?.current?Nk.satisfies(t.value.current,e):!1)}function Ck(e,t){const n=Pe(),r=pt(`npm:check:${e}`,()=>Fe.checkForUpdateFor(e)),s=te("idle"),o=te();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 Fe.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return s.value="running",o.value=(await Fe.runNpmCommand(await NE(),"update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await Fe.restartNuxt()}return{info:r,state:s,update:i,restart:a,processId:o}}const Xr={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return Lk("^3.5.0")}},Yr={icon:"carbon-image-copy",title:"Assets",layout:"full"},Jr={icon:"i-carbon-assembly-cluster",title:"Components",order:2},Qr={layout:"full"},Zr={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},es={icon:"carbon-function",title:"Imports",order:3},ts={icon:"carbon-layers",title:"Middleware",wip:!0},ns={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},Ci=()=>Mr("color-mode").value,tl=te();let Nf;function Ik(){Nf||(Nf=(async()=>{const{default:e}=await Re(()=>import("./index.6a0822c9.js").then(t=>t.i),[],import.meta.url);tl.value=new e({html:!0,linkify:!0,breaks:!0})})())}function jk(e){return Ik(),tl.value?tl.value.render(e):e}var Yp=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},Ps={},Mk={get exports(){return Ps},set exports(e){Ps=e}};(function(e,t){(function(n,r){e.exports=r()})(Yp,()=>{return n={770:function(s,o,i){var a=this&&this.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(o,"__esModule",{value:!0}),o.setDefaultDebugCall=o.createOnigScanner=o.createOnigString=o.loadWASM=o.OnigScanner=o.OnigString=void 0;const l=a(i(418));let c=null,d=!1;class u{static _utf8ByteLength(_){let g=0;for(let b=0,y=_.length;b<y;b++){const x=_.charCodeAt(b);let m=x,T=!1;if(x>=55296&&x<=56319&&b+1<y){const E=_.charCodeAt(b+1);E>=56320&&E<=57343&&(m=65536+(x-55296<<10)|E-56320,T=!0)}g+=m<=127?1:m<=2047?2:m<=65535?3:4,T&&b++}return g}constructor(_){const g=_.length,b=u._utf8ByteLength(_),y=b!==g,x=y?new Uint32Array(g+1):null;y&&(x[g]=b);const m=y?new Uint32Array(b+1):null;y&&(m[b]=g);const T=new Uint8Array(b);let E=0;for(let k=0;k<g;k++){const A=_.charCodeAt(k);let $=A,S=!1;if(A>=55296&&A<=56319&&k+1<g){const R=_.charCodeAt(k+1);R>=56320&&R<=57343&&($=65536+(A-55296<<10)|R-56320,S=!0)}y&&(x[k]=E,S&&(x[k+1]=E),$<=127?m[E+0]=k:$<=2047?(m[E+0]=k,m[E+1]=k):$<=65535?(m[E+0]=k,m[E+1]=k,m[E+2]=k):(m[E+0]=k,m[E+1]=k,m[E+2]=k,m[E+3]=k)),$<=127?T[E++]=$:$<=2047?(T[E++]=192|(1984&$)>>>6,T[E++]=128|(63&$)>>>0):$<=65535?(T[E++]=224|(61440&$)>>>12,T[E++]=128|(4032&$)>>>6,T[E++]=128|(63&$)>>>0):(T[E++]=240|(1835008&$)>>>18,T[E++]=128|(258048&$)>>>12,T[E++]=128|(4032&$)>>>6,T[E++]=128|(63&$)>>>0),S&&k++}this.utf16Length=g,this.utf8Length=b,this.utf16Value=_,this.utf8Value=T,this.utf16OffsetToUtf8=x,this.utf8OffsetToUtf16=m}createString(_){const g=_._omalloc(this.utf8Length);return _.HEAPU8.set(this.utf8Value,g),g}}class f{constructor(_){if(this.id=++f.LAST_ID,!c)throw new Error("Must invoke loadWASM first.");this._onigBinding=c,this.content=_;const g=new u(_);this.utf16Length=g.utf16Length,this.utf8Length=g.utf8Length,this.utf16OffsetToUtf8=g.utf16OffsetToUtf8,this.utf8OffsetToUtf16=g.utf8OffsetToUtf16,this.utf8Length<1e4&&!f._sharedPtrInUse?(f._sharedPtr||(f._sharedPtr=c._omalloc(1e4)),f._sharedPtrInUse=!0,c.HEAPU8.set(g.utf8Value,f._sharedPtr),this.ptr=f._sharedPtr):this.ptr=g.createString(c)}convertUtf8OffsetToUtf16(_){return this.utf8OffsetToUtf16?_<0?0:_>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[_]:_}convertUtf16OffsetToUtf8(_){return this.utf16OffsetToUtf8?_<0?0:_>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[_]:_}dispose(){this.ptr===f._sharedPtr?f._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}o.OnigString=f,f.LAST_ID=0,f._sharedPtr=0,f._sharedPtrInUse=!1;class h{constructor(_){if(!c)throw new Error("Must invoke loadWASM first.");const g=[],b=[];for(let T=0,E=_.length;T<E;T++){const k=new u(_[T]);g[T]=k.createString(c),b[T]=k.utf8Length}const y=c._omalloc(4*_.length);c.HEAPU32.set(g,y/4);const x=c._omalloc(4*_.length);c.HEAPU32.set(b,x/4);const m=c._createOnigScanner(y,x,_.length);for(let T=0,E=_.length;T<E;T++)c._ofree(g[T]);c._ofree(x),c._ofree(y),m===0&&function(T){throw new Error(T.UTF8ToString(T._getLastOnigError()))}(c),this._onigBinding=c,this._ptr=m}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(_,g,b){let y=d,x=0;if(typeof b=="number"?(8&b&&(y=!0),x=b):typeof b=="boolean"&&(y=b),typeof _=="string"){_=new f(_);const m=this._findNextMatchSync(_,g,y,x);return _.dispose(),m}return this._findNextMatchSync(_,g,y,x)}_findNextMatchSync(_,g,b,y){const x=this._onigBinding;let m;if(m=b?x._findNextOnigScannerMatchDbg(this._ptr,_.id,_.ptr,_.utf8Length,_.convertUtf16OffsetToUtf8(g),y):x._findNextOnigScannerMatch(this._ptr,_.id,_.ptr,_.utf8Length,_.convertUtf16OffsetToUtf8(g),y),m===0)return null;const T=x.HEAPU32;let E=m/4;const k=T[E++],A=T[E++];let $=[];for(let S=0;S<A;S++){const R=_.convertUtf8OffsetToUtf16(T[E++]),P=_.convertUtf8OffsetToUtf16(T[E++]);$[S]={start:R,end:P,length:P-R}}return{index:k,captureIndices:$}}}o.OnigScanner=h;let p=!1,v=null;o.loadWASM=function(w){if(p)return v;let _,g,b,y;if(p=!0,function(x){return typeof x.instantiator=="function"}(w))_=w.instantiator,g=w.print;else{let x;(function(m){return m.data!==void 0})(w)?(x=w.data,g=w.print):x=w,_=function(m){return typeof Response<"u"&&m instanceof Response}(x)?typeof WebAssembly.instantiateStreaming=="function"?function(m){return T=>WebAssembly.instantiateStreaming(m,T)}(x):function(m){return async T=>{const E=await m.arrayBuffer();return WebAssembly.instantiate(E,T)}}(x):function(m){return T=>WebAssembly.instantiate(m,T)}(x)}return v=new Promise((x,m)=>{b=x,y=m}),function(x,m,T,E){(0,l.default)({print:m,instantiateWasm:(k,A)=>{if(typeof performance>"u"){const $=()=>Date.now();k.env.emscripten_get_now=$,k.wasi_snapshot_preview1.emscripten_get_now=$}return x(k).then($=>A($.instance),E),{}}}).then(k=>{c=k,T()})}(_,g,b,y),v},o.createOnigString=function(w){return new f(w)},o.createOnigScanner=function(w){return new h(w)},o.setDefaultDebugCall=function(w){d=w}},418:s=>{var o=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,l,c=(i=i||{})!==void 0?i:{};c.ready=new Promise(function(M,V){a=M,l=V});var d,u=Object.assign({},c),f=!1,h="";function p(M){return c.locateFile?c.locateFile(M,h):h+M}d=function(M){let V;return typeof readbuffer=="function"?new Uint8Array(readbuffer(M)):(V=read(M,"binary"),y(typeof V=="object"),V)},typeof scriptArgs<"u"&&scriptArgs,typeof onig_print<"u"&&(typeof console>"u"&&(console={}),console.log=onig_print,console.warn=console.error=typeof printErr<"u"?printErr:onig_print);var v,w,_=c.print||console.log.bind(console),g=c.printErr||console.warn.bind(console);Object.assign(c,u),u=null,c.arguments&&c.arguments,c.thisProgram&&c.thisProgram,c.quit&&c.quit,c.wasmBinary&&(v=c.wasmBinary),c.noExitRuntime,typeof WebAssembly!="object"&&ge("no native wasm support detected");var b=!1;function y(M,V){M||ge(V)}var x,m,T,E=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function k(M,V,q){for(var re=V+q,X=V;M[X]&&!(X>=re);)++X;if(X-V>16&&M.buffer&&E)return E.decode(M.subarray(V,X));for(var Z="";V<X;){var ve=M[V++];if(128&ve){var Le=63&M[V++];if((224&ve)!=192){var we=63&M[V++];if((ve=(240&ve)==224?(15&ve)<<12|Le<<6|we:(7&ve)<<18|Le<<12|we<<6|63&M[V++])<65536)Z+=String.fromCharCode(ve);else{var me=ve-65536;Z+=String.fromCharCode(55296|me>>10,56320|1023&me)}}else Z+=String.fromCharCode((31&ve)<<6|Le)}else Z+=String.fromCharCode(ve)}return Z}function A(M,V){return M?k(m,M,V):""}function $(M){x=M,c.HEAP8=new Int8Array(M),c.HEAP16=new Int16Array(M),c.HEAP32=new Int32Array(M),c.HEAPU8=m=new Uint8Array(M),c.HEAPU16=new Uint16Array(M),c.HEAPU32=T=new Uint32Array(M),c.HEAPF32=new Float32Array(M),c.HEAPF64=new Float64Array(M)}c.INITIAL_MEMORY;var S=[],R=[],P=[];function C(){if(c.preRun)for(typeof c.preRun=="function"&&(c.preRun=[c.preRun]);c.preRun.length;)F(c.preRun.shift());O(S)}function I(){O(R)}function D(){if(c.postRun)for(typeof c.postRun=="function"&&(c.postRun=[c.postRun]);c.postRun.length;)se(c.postRun.shift());O(P)}function F(M){S.unshift(M)}function W(M){R.unshift(M)}function se(M){P.unshift(M)}var Q=0,ne=null;function de(M){Q++,c.monitorRunDependencies&&c.monitorRunDependencies(Q)}function fe(M){if(Q--,c.monitorRunDependencies&&c.monitorRunDependencies(Q),Q==0&&ne){var V=ne;ne=null,V()}}function ge(M){c.onAbort&&c.onAbort(M),g(M="Aborted("+M+")"),b=!0,M+=". Build with -sASSERTIONS for more info.";var V=new WebAssembly.RuntimeError(M);throw l(V),V}var be,L,J="data:application/octet-stream;base64,";function G(M){return M.startsWith(J)}function le(M){try{if(M==be&&v)return new Uint8Array(v);if(d)return d(M);throw"both async and sync fetching of the wasm failed"}catch(V){ge(V)}}function xe(){return v||!f||typeof fetch!="function"?Promise.resolve().then(function(){return le(be)}):fetch(be,{credentials:"same-origin"}).then(function(M){if(!M.ok)throw"failed to load wasm binary file at '"+be+"'";return M.arrayBuffer()}).catch(function(){return le(be)})}function N(){var M={env:z,wasi_snapshot_preview1:z};function V(X,Z){var ve=X.exports;c.asm=ve,$((w=c.asm.memory).buffer),c.asm.__indirect_function_table,W(c.asm.__wasm_call_ctors),fe()}function q(X){V(X.instance)}function re(X){return xe().then(function(Z){return WebAssembly.instantiate(Z,M)}).then(function(Z){return Z}).then(X,function(Z){g("failed to asynchronously prepare wasm: "+Z),ge(Z)})}if(de(),c.instantiateWasm)try{return c.instantiateWasm(M,V)}catch(X){g("Module.instantiateWasm callback failed with error: "+X),l(X)}return(v||typeof WebAssembly.instantiateStreaming!="function"||G(be)||typeof fetch!="function"?re(q):fetch(be,{credentials:"same-origin"}).then(function(X){return WebAssembly.instantiateStreaming(X,M).then(q,function(Z){return g("wasm streaming compile failed: "+Z),g("falling back to ArrayBuffer instantiation"),re(q)})})).catch(l),{}}function O(M){for(;M.length>0;)M.shift()(c)}function j(M,V,q){m.copyWithin(M,V,V+q)}function B(M){try{return w.grow(M-x.byteLength+65535>>>16),$(w.buffer),1}catch{}}function H(M){var V,q=m.length,re=2147483648;if((M>>>=0)>re)return!1;for(var X=1;X<=4;X*=2){var Z=q*(1+.2/X);if(Z=Math.min(Z,M+100663296),B(Math.min(re,(V=Math.max(M,Z))+(65536-V%65536)%65536)))return!0}return!1}G(be="onig.wasm")||(be=p(be)),L=typeof dateNow<"u"?dateNow:()=>performance.now();var U=[null,[],[]];function ee(M,V){var q=U[M];V===0||V===10?((M===1?_:g)(k(q,0)),q.length=0):q.push(V)}function Y(M,V,q,re){for(var X=0,Z=0;Z<q;Z++){var ve=T[V>>2],Le=T[V+4>>2];V+=8;for(var we=0;we<Le;we++)ee(M,m[ve+we]);X+=Le}return T[re>>2]=X,0}var K,z={emscripten_get_now:L,emscripten_memcpy_big:j,emscripten_resize_heap:H,fd_write:Y};function ae(M){function V(){K||(K=!0,c.calledRun=!0,b||(I(),a(c),c.onRuntimeInitialized&&c.onRuntimeInitialized(),D()))}Q>0||(C(),Q>0||(c.setStatus?(c.setStatus("Running..."),setTimeout(function(){setTimeout(function(){c.setStatus("")},1),V()},1)):V()))}if(N(),c.___wasm_call_ctors=function(){return(c.___wasm_call_ctors=c.asm.__wasm_call_ctors).apply(null,arguments)},c.___errno_location=function(){return(c.___errno_location=c.asm.__errno_location).apply(null,arguments)},c._omalloc=function(){return(c._omalloc=c.asm.omalloc).apply(null,arguments)},c._ofree=function(){return(c._ofree=c.asm.ofree).apply(null,arguments)},c._getLastOnigError=function(){return(c._getLastOnigError=c.asm.getLastOnigError).apply(null,arguments)},c._createOnigScanner=function(){return(c._createOnigScanner=c.asm.createOnigScanner).apply(null,arguments)},c._freeOnigScanner=function(){return(c._freeOnigScanner=c.asm.freeOnigScanner).apply(null,arguments)},c._findNextOnigScannerMatch=function(){return(c._findNextOnigScannerMatch=c.asm.findNextOnigScannerMatch).apply(null,arguments)},c._findNextOnigScannerMatchDbg=function(){return(c._findNextOnigScannerMatchDbg=c.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},c.stackSave=function(){return(c.stackSave=c.asm.stackSave).apply(null,arguments)},c.stackRestore=function(){return(c.stackRestore=c.asm.stackRestore).apply(null,arguments)},c.stackAlloc=function(){return(c.stackAlloc=c.asm.stackAlloc).apply(null,arguments)},c.dynCall_jiji=function(){return(c.dynCall_jiji=c.asm.dynCall_jiji).apply(null,arguments)},c.UTF8ToString=A,ne=function M(){K||ae(),K||(ne=M)},c.preInit)for(typeof c.preInit=="function"&&(c.preInit=[c.preInit]);c.preInit.length>0;)c.preInit.pop()();return ae(),i.ready});s.exports=o}},r={},function s(o){var i=r[o];if(i!==void 0)return i.exports;var a=r[o]={exports:{}};return n[o].call(a.exports,a,a.exports,s),a.exports}(770);var n,r})})(Mk);var ti={},Dk={get exports(){return ti},set exports(e){ti=e}};(function(e,t){(function(n,r){e.exports=r()})(Yp,function(){return(()=>{var n={350:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},36:(s,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let l=a.toString(2);for(;l.length<32;)l="0"+l;return l},i.print=function(a){const l=i.getLanguageId(a),c=i.getTokenType(a),d=i.getFontStyle(a),u=i.getForeground(a),f=i.getBackground(a);console.log({languageId:l,tokenType:c,fontStyle:d,foreground:u,background:f})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,l,c,d,u,f,h){let p=i.getLanguageId(a),v=i.getTokenType(a),w=i.containsBalancedBrackets(a)?1:0,_=i.getFontStyle(a),g=i.getForeground(a),b=i.getBackground(a);return l!==0&&(p=l),c!==8&&(v=c),d!==null&&(w=d?1:0),u!==-1&&(_=u),f!==0&&(g=f),h!==0&&(b=h),(p<<0|v<<8|w<<10|_<<11|g<<15|b<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class l{constructor(f,h){this.languageId=f,this.tokenType=h}}o.BasicScopeAttributes=l;class c{constructor(f,h){this._getBasicScopeAttributes=new a.CachedFn(p=>{const v=this._scopeToLanguage(p),w=this._toStandardTokenType(p);return new l(v,w)}),this._defaultAttributes=new l(f,8),this._embeddedLanguagesMatcher=new d(Object.entries(h||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(f){return f===null?c._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(f)}_scopeToLanguage(f){return this._embeddedLanguagesMatcher.match(f)||0}_toStandardTokenType(f){const h=f.match(c.STANDARD_TOKEN_TYPE_REGEXP);if(!h)return 8;switch(h[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!")}}o.BasicScopeAttributesProvider=c,c._NULL_SCOPE_METADATA=new l(0,0),c.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class d{constructor(f){if(f.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(f);const h=f.map(([p,v])=>a.escapeRegExpCharacters(p));h.sort(),h.reverse(),this.scopesRegExp=new RegExp(`^((${h.join(")|(")}))($|\\.)`,"")}}match(f){if(!this.scopesRegExp)return;const h=f.match(this.scopesRegExp);return h?this.values.get(h[1]):void 0}}},947:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStack=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),l=i(36),c=i(736),d=i(44),u=i(792),f=i(583),h=i(878),p=i(996),v=i(47);function w(E,k,A,$,S){const R=c.createMatchers(k,_),P=u.RuleFactory.getCompiledRuleId(A,$,S.repository);for(const C of R)E.push({debugSelector:k,matcher:C.matcher,ruleId:P,grammar:S,priority:C.priority})}function _(E,k){if(k.length<E.length)return!1;let A=0;return E.every($=>{for(let S=A;S<k.length;S++)if(g(k[S],$))return A=S+1,!0;return!1})}function g(E,k){if(!E)return!1;if(E===k)return!0;const A=k.length;return E.length>A&&E.substr(0,A)===k&&E[A]==="."}o.createGrammar=function(E,k,A,$,S,R,P,C){return new b(E,k,A,$,S,R,P,C)};class b{constructor(k,A,$,S,R,P,C,I){if(this._rootScopeName=k,this.balancedBracketSelectors=P,this._onigLib=I,this._basicScopeAttributesProvider=new p.BasicScopeAttributesProvider($,S),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=C,this._grammar=y(A,null),this._injections=null,this._tokenTypeMatchers=[],R)for(const D of Object.keys(R)){const F=c.createMatchers(D,_);for(const W of F)this._tokenTypeMatchers.push({matcher:W.matcher,type:R[D]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const k of this._ruleId2desc)k&&k.dispose()}createOnigScanner(k){return this._onigLib.createOnigScanner(k)}createOnigString(k){return this._onigLib.createOnigString(k)}getMetadataForScope(k){return this._basicScopeAttributesProvider.getBasicScopeAttributes(k)}_collectInjections(){const k=[],A=this._rootScopeName,$=(S=>S===this._rootScopeName?this._grammar:this.getExternalGrammar(S))(A);if($){const S=$.injections;if(S)for(let P in S)w(k,P,S[P],this,$);const R=this._grammarRepository.injections(A);R&&R.forEach(P=>{const C=this.getExternalGrammar(P);if(C){const I=C.injectionSelector;I&&w(k,I,C,this,C)}})}return k.sort((S,R)=>S.priority-R.priority),k}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const k of this._injections)console.log(` - ${k.debugSelector}`)}return this._injections}registerRule(k){const A=++this._lastRuleId,$=k(u.ruleIdFromNumber(A));return this._ruleId2desc[A]=$,$}getRule(k){return this._ruleId2desc[u.ruleIdToNumber(k)]}getExternalGrammar(k,A){if(this._includedGrammars[k])return this._includedGrammars[k];if(this._grammarRepository){const $=this._grammarRepository.lookup(k);if($)return this._includedGrammars[k]=y($,A&&A.$base),this._includedGrammars[k]}}tokenizeLine(k,A,$=0){const S=this._tokenize(k,A,!1,$);return{tokens:S.lineTokens.getResult(S.ruleStack,S.lineLength),ruleStack:S.ruleStack,stoppedEarly:S.stoppedEarly}}tokenizeLine2(k,A,$=0){const S=this._tokenize(k,A,!0,$);return{tokens:S.lineTokens.getBinaryResult(S.ruleStack,S.lineLength),ruleStack:S.ruleStack,stoppedEarly:S.stoppedEarly}}_tokenize(k,A,$,S){let R;if(this._rootId===-1&&(this._rootId=u.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),A&&A!==m.NULL)R=!1,A.reset();else{R=!0;const F=this._basicScopeAttributesProvider.getDefaultAttributes(),W=this.themeProvider.getDefaults(),se=l.EncodedTokenAttributes.set(0,F.languageId,F.tokenType,null,W.fontStyle,W.foregroundId,W.backgroundId),Q=this.getRule(this._rootId).getName(null,null);let ne;ne=Q?x.createRootAndLookUpScopeName(Q,se,this):x.createRoot("unknown",se),A=new m(null,this._rootId,-1,-1,!1,null,ne,ne)}k+=`
|
|
8
|
+
`;const P=this.createOnigString(k),C=P.content.length,I=new T($,k,this._tokenTypeMatchers,this.balancedBracketSelectors),D=v._tokenizeString(this,P,R,0,A,I,!0,S);return d.disposeOnigString(P),{lineLength:C,lineTokens:I,ruleStack:D.stack,stoppedEarly:D.stoppedEarly}}}function y(E,k){return(E=h.clone(E)).repository=E.repository||{},E.repository.$self={$vscodeTextmateLocation:E.$vscodeTextmateLocation,patterns:E.patterns,name:E.scopeName},E.repository.$base=k||E.repository.$self,E}o.Grammar=b;class x{constructor(k,A,$){this.parent=k,this.scopePath=A,this.tokenAttributes=$}static createRoot(k,A){return new x(null,new f.ScopeStack(null,k),A)}static createRootAndLookUpScopeName(k,A,$){const S=$.getMetadataForScope(k),R=new f.ScopeStack(null,k),P=$.themeProvider.themeMatch(R),C=x.mergeAttributes(A,S,P);return new x(null,R,C)}get scopeName(){return this.scopePath.scopeName}equals(k){return x._equals(this,k)}static _equals(k,A){for(;;){if(k===A||!k&&!A)return!0;if(!k||!A||k.scopeName!==A.scopeName||k.tokenAttributes!==A.tokenAttributes)return!1;k=k.parent,A=A.parent}}static mergeAttributes(k,A,$){let S=-1,R=0,P=0;return $!==null&&(S=$.fontStyle,R=$.foregroundId,P=$.backgroundId),l.EncodedTokenAttributes.set(k,A.languageId,A.tokenType,null,S,R,P)}pushAttributed(k,A){if(k===null)return this;if(k.indexOf(" ")===-1)return x._pushAttributed(this,k,A);const $=k.split(/ /g);let S=this;for(const R of $)S=x._pushAttributed(S,R,A);return S}static _pushAttributed(k,A,$){const S=$.getMetadataForScope(A),R=k.scopePath.push(A),P=$.themeProvider.themeMatch(R),C=x.mergeAttributes(k.tokenAttributes,S,P);return new x(k,R,C)}getScopeNames(){return this.scopePath.getSegments()}}o.AttributedScopeStack=x;class m{constructor(k,A,$,S,R,P,C,I){this.parent=k,this.ruleId=A,this.beginRuleCapturedEOL=R,this.endRule=P,this.nameScopesList=C,this.contentNameScopesList=I,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=$,this._anchorPos=S}equals(k){return k!==null&&m._equals(this,k)}static _equals(k,A){return k===A||!!this._structuralEquals(k,A)&&k.contentNameScopesList.equals(A.contentNameScopesList)}static _structuralEquals(k,A){for(;;){if(k===A||!k&&!A)return!0;if(!k||!A||k.depth!==A.depth||k.ruleId!==A.ruleId||k.endRule!==A.endRule)return!1;k=k.parent,A=A.parent}}clone(){return this}static _reset(k){for(;k;)k._enterPos=-1,k._anchorPos=-1,k=k.parent}reset(){m._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(k,A,$,S,R,P,C){return new m(this,k,A,$,S,R,P,C)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(k){return k.getRule(this.ruleId)}toString(){const k=[];return this._writeString(k,0),"["+k.join(",")+"]"}_writeString(k,A){return this.parent&&(A=this.parent._writeString(k,A)),k[A++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,A}withContentNameScopesList(k){return this.contentNameScopesList===k?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,k)}withEndRule(k){return this.endRule===k?this:new m(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,k,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(k){let A=this;for(;A&&A._enterPos===k._enterPos;){if(A.ruleId===k.ruleId)return!0;A=A.parent}return!1}}o.StateStack=m,m.NULL=new m(null,0,0,0,!1,null,null,null),o.BalancedBracketSelectors=class{constructor(E,k){this.allowAny=!1,this.balancedBracketScopes=E.flatMap(A=>A==="*"?(this.allowAny=!0,[]):c.createMatchers(A,_).map($=>$.matcher)),this.unbalancedBracketScopes=k.flatMap(A=>c.createMatchers(A,_).map($=>$.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(E){for(const k of this.unbalancedBracketScopes)if(k(E))return!1;for(const k of this.balancedBracketScopes)if(k(E))return!0;return this.allowAny}};class T{constructor(k,A,$,S){this.balancedBracketSelectors=S,this._emitBinaryTokens=k,this._tokenTypeOverrides=$,a.DebugFlags.InDebugMode?this._lineText=A:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(k,A){this.produceFromScopes(k.contentNameScopesList,A)}produceFromScopes(k,A){if(this._lastTokenEndIndex>=A)return;if(this._emitBinaryTokens){let S=k.tokenAttributes,R=!1;if(this.balancedBracketSelectors?.matchesAlways&&(R=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const P=k.getScopeNames();for(const C of this._tokenTypeOverrides)C.matcher(P)&&(S=l.EncodedTokenAttributes.set(S,0,l.toOptionalTokenType(C.type),null,-1,0,0));this.balancedBracketSelectors&&(R=this.balancedBracketSelectors.match(P))}if(R&&(S=l.EncodedTokenAttributes.set(S,0,8,R,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===S)return void(this._lastTokenEndIndex=A);if(a.DebugFlags.InDebugMode){const P=k.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,A).replace(/\n$/,"\\n")+"|");for(let C=0;C<P.length;C++)console.log(" * "+P[C])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(S),void(this._lastTokenEndIndex=A)}const $=k.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,A).replace(/\n$/,"\\n")+"|");for(let S=0;S<$.length;S++)console.log(" * "+$[S])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:A,scopes:$}),this._lastTokenEndIndex=A}getResult(k,A){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===A-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(k,A),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(k,A){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===A-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(k,A),this._binaryTokens[this._binaryTokens.length-2]=0);const $=new Uint32Array(this._binaryTokens.length);for(let S=0,R=this._binaryTokens.length;S<R;S++)$[S]=this._binaryTokens[S];return $}}o.LineTokens=T},965:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseInclude=o.TopLevelRepositoryReference=o.TopLevelReference=o.RelativeReference=o.SelfReference=o.BaseReference=o.ScopeDependencyProcessor=o.ExternalReferenceCollector=o.TopLevelRepositoryRuleReference=o.TopLevelRuleReference=void 0;const a=i(878);class l{constructor(m){this.scopeName=m}toKey(){return this.scopeName}}o.TopLevelRuleReference=l;class c{constructor(m,T){this.scopeName=m,this.ruleName=T}toKey(){return`${this.scopeName}#${this.ruleName}`}}o.TopLevelRepositoryRuleReference=c;class d{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(m){const T=m.toKey();this._seenReferenceKeys.has(T)||(this._seenReferenceKeys.add(T),this._references.push(m))}}function u(x,m,T,E){const k=T.lookup(x.scopeName);if(!k){if(x.scopeName===m)throw new Error(`No grammar provided for <${m}>`);return}const A=T.lookup(m);x instanceof l?h({baseGrammar:A,selfGrammar:k},E):f(x.ruleName,{baseGrammar:A,selfGrammar:k,repository:k.repository},E);const $=T.injections(x.scopeName);if($)for(const S of $)E.add(new l(S))}function f(x,m,T){m.repository&&m.repository[x]&&p([m.repository[x]],m,T)}function h(x,m){x.selfGrammar.patterns&&Array.isArray(x.selfGrammar.patterns)&&p(x.selfGrammar.patterns,{...x,repository:x.selfGrammar.repository},m),x.selfGrammar.injections&&p(Object.values(x.selfGrammar.injections),{...x,repository:x.selfGrammar.repository},m)}function p(x,m,T){for(const E of x){if(T.visitedRule.has(E))continue;T.visitedRule.add(E);const k=E.repository?a.mergeObjects({},m.repository,E.repository):m.repository;Array.isArray(E.patterns)&&p(E.patterns,{...m,repository:k},T);const A=E.include;if(!A)continue;const $=y(A);switch($.kind){case 0:h({...m,selfGrammar:m.baseGrammar},T);break;case 1:h(m,T);break;case 2:f($.ruleName,{...m,repository:k},T);break;case 3:case 4:const S=$.scopeName===m.selfGrammar.scopeName?m.selfGrammar:$.scopeName===m.baseGrammar.scopeName?m.baseGrammar:void 0;if(S){const R={baseGrammar:m.baseGrammar,selfGrammar:S,repository:k};$.kind===4?f($.ruleName,R,T):h(R,T)}else $.kind===4?T.add(new c($.scopeName,$.ruleName)):T.add(new l($.scopeName))}}}o.ExternalReferenceCollector=d,o.ScopeDependencyProcessor=class{constructor(x,m){this.repo=x,this.initialScopeName=m,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new l(this.initialScopeName)]}processQueue(){const x=this.Q;this.Q=[];const m=new d;for(const T of x)u(T,this.initialScopeName,this.repo,m);for(const T of m.references)if(T instanceof l){if(this.seenFullScopeRequests.has(T.scopeName))continue;this.seenFullScopeRequests.add(T.scopeName),this.Q.push(T)}else{if(this.seenFullScopeRequests.has(T.scopeName)||this.seenPartialScopeRequests.has(T.toKey()))continue;this.seenPartialScopeRequests.add(T.toKey()),this.Q.push(T)}}};class v{constructor(){this.kind=0}}o.BaseReference=v;class w{constructor(){this.kind=1}}o.SelfReference=w;class _{constructor(m){this.ruleName=m,this.kind=2}}o.RelativeReference=_;class g{constructor(m){this.scopeName=m,this.kind=3}}o.TopLevelReference=g;class b{constructor(m,T){this.scopeName=m,this.ruleName=T,this.kind=4}}function y(x){if(x==="$base")return new v;if(x==="$self")return new w;const m=x.indexOf("#");if(m===-1)return new g(x);if(m===0)return new _(x.substring(1));{const T=x.substring(0,m),E=x.substring(m+1);return new b(T,E)}}o.TopLevelRepositoryReference=b,o.parseInclude=y},391:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(c,d,u,f){f===void 0&&(f=u),Object.defineProperty(c,f,{enumerable:!0,get:function(){return d[u]}})}:function(c,d,u,f){f===void 0&&(f=u),c[f]=d[u]}),l=this&&this.__exportStar||function(c,d){for(var u in c)u==="default"||Object.prototype.hasOwnProperty.call(d,u)||a(d,c,u)};Object.defineProperty(o,"__esModule",{value:!0}),l(i(947),o)},47:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LocalStackElement=o._tokenizeString=void 0;const a=i(350),l=i(44),c=i(792),d=i(878);class u{constructor(b,y){this.stack=b,this.stoppedEarly=y}}function f(g,b,y,x,m,T,E,k){const A=b.content.length;let $=!1,S=-1;if(E){const C=function(I,D,F,W,se,Q){let ne=se.beginRuleCapturedEOL?0:-1;const de=[];for(let fe=se;fe;fe=fe.pop()){const ge=fe.getRule(I);ge instanceof c.BeginWhileRule&&de.push({rule:ge,stack:fe})}for(let fe=de.pop();fe;fe=de.pop()){const{ruleScanner:ge,findOptions:be}=p(fe.rule,I,fe.stack.endRule,F,W===ne),L=ge.findNextMatchSync(D,W,be);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(ge.toString())),!L){a.DebugFlags.InDebugMode&&console.log(" popping "+fe.rule.debugName+" - "+fe.rule.debugWhileRegExp),se=fe.stack.pop();break}if(L.ruleId!==c.whileRuleId){se=fe.stack.pop();break}L.captureIndices&&L.captureIndices.length&&(Q.produce(fe.stack,L.captureIndices[0].start),w(I,D,F,fe.stack,Q,fe.rule.whileCaptures,L.captureIndices),Q.produce(fe.stack,L.captureIndices[0].end),ne=L.captureIndices[0].end,L.captureIndices[0].end>W&&(W=L.captureIndices[0].end,F=!1))}return{stack:se,linePos:W,anchorPosition:ne,isFirstLine:F}}(g,b,y,x,m,T);m=C.stack,x=C.linePos,y=C.isFirstLine,S=C.anchorPosition}const R=Date.now();for(;!$;){if(k!==0&&Date.now()-R>k)return new u(m,!0);P()}return new u(m,!1);function P(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${x}: |${b.content.substr(x).replace(/\n$/,"\\n")}|`));const C=function(W,se,Q,ne,de,fe){const ge=function(le,xe,N,O,j,B){const H=j.getRule(le),{ruleScanner:U,findOptions:ee}=h(H,le,j.endRule,N,O===B);let Y=0;a.DebugFlags.InDebugMode&&(Y=d.performanceNow());const K=U.findNextMatchSync(xe,O,ee);if(a.DebugFlags.InDebugMode){const z=d.performanceNow()-Y;z>5&&console.warn(`Rule ${H.debugName} (${H.id}) matching took ${z} against '${xe}'`),console.log(` scanning for (linePos: ${O}, anchorPosition: ${B})`),console.log(U.toString()),K&&console.log(`matched rule id: ${K.ruleId} from ${K.captureIndices[0].start} to ${K.captureIndices[0].end}`)}return K?{captureIndices:K.captureIndices,matchedRuleId:K.ruleId}:null}(W,se,Q,ne,de,fe),be=W.getInjections();if(be.length===0)return ge;const L=function(le,xe,N,O,j,B,H){let U,ee=Number.MAX_VALUE,Y=null,K=0;const z=B.contentNameScopesList.getScopeNames();for(let ae=0,M=le.length;ae<M;ae++){const V=le[ae];if(!V.matcher(z))continue;const q=xe.getRule(V.ruleId),{ruleScanner:re,findOptions:X}=h(q,xe,null,O,j===H),Z=re.findNextMatchSync(N,j,X);if(!Z)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${V.debugSelector}`),console.log(re.toString()));const ve=Z.captureIndices[0].start;if(!(ve>=ee)&&(ee=ve,Y=Z.captureIndices,U=Z.ruleId,K=V.priority,ee===j))break}return Y?{priorityMatch:K===-1,captureIndices:Y,matchedRuleId:U}:null}(be,W,se,Q,ne,de,fe);if(!L)return ge;if(!ge)return L;const J=ge.captureIndices[0].start,G=L.captureIndices[0].start;return G<J||L.priorityMatch&&G===J?L:ge}(g,b,y,x,m,S);if(!C)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),T.produce(m,A),void($=!0);const I=C.captureIndices,D=C.matchedRuleId,F=!!(I&&I.length>0)&&I[0].end>x;if(D===c.endRuleId){const W=m.getRule(g);a.DebugFlags.InDebugMode&&console.log(" popping "+W.debugName+" - "+W.debugEndRegExp),T.produce(m,I[0].start),m=m.withContentNameScopesList(m.nameScopesList),w(g,b,y,m,T,W.endCaptures,I),T.produce(m,I[0].end);const se=m;if(m=m.parent,S=se.getAnchorPos(),!F&&se.getEnterPos()===x)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),m=se,T.produce(m,A),void($=!0)}else{const W=g.getRule(D);T.produce(m,I[0].start);const se=m,Q=W.getName(b.content,I),ne=m.contentNameScopesList.pushAttributed(Q,g);if(m=m.push(D,x,S,I[0].end===A,null,ne,ne),W instanceof c.BeginEndRule){const de=W;a.DebugFlags.InDebugMode&&console.log(" pushing "+de.debugName+" - "+de.debugBeginRegExp),w(g,b,y,m,T,de.beginCaptures,I),T.produce(m,I[0].end),S=I[0].end;const fe=de.getContentName(b.content,I),ge=ne.pushAttributed(fe,g);if(m=m.withContentNameScopesList(ge),de.endHasBackReferences&&(m=m.withEndRule(de.getEndWithResolvedBackReferences(b.content,I))),!F&&se.hasSameRuleAs(m))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),m=m.pop(),T.produce(m,A),void($=!0)}else if(W instanceof c.BeginWhileRule){const de=W;a.DebugFlags.InDebugMode&&console.log(" pushing "+de.debugName),w(g,b,y,m,T,de.beginCaptures,I),T.produce(m,I[0].end),S=I[0].end;const fe=de.getContentName(b.content,I),ge=ne.pushAttributed(fe,g);if(m=m.withContentNameScopesList(ge),de.whileHasBackReferences&&(m=m.withEndRule(de.getWhileWithResolvedBackReferences(b.content,I))),!F&&se.hasSameRuleAs(m))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),m=m.pop(),T.produce(m,A),void($=!0)}else{const de=W;if(a.DebugFlags.InDebugMode&&console.log(" matched "+de.debugName+" - "+de.debugMatchRegExp),w(g,b,y,m,T,de.captures,I),T.produce(m,I[0].end),m=m.pop(),!F)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),m=m.safePop(),T.produce(m,A),void($=!0)}}I[0].end>x&&(x=I[0].end,y=!1)}}function h(g,b,y,x,m){return a.UseOnigurumaFindOptions?{ruleScanner:g.compile(b,y),findOptions:v(x,m)}:{ruleScanner:g.compileAG(b,y,x,m),findOptions:0}}function p(g,b,y,x,m){return a.UseOnigurumaFindOptions?{ruleScanner:g.compileWhile(b,y),findOptions:v(x,m)}:{ruleScanner:g.compileWhileAG(b,y,x,m),findOptions:0}}function v(g,b){let y=0;return g||(y|=1),b||(y|=4),y}function w(g,b,y,x,m,T,E){if(T.length===0)return;const k=b.content,A=Math.min(T.length,E.length),$=[],S=E[0].end;for(let R=0;R<A;R++){const P=T[R];if(P===null)continue;const C=E[R];if(C.length===0)continue;if(C.start>S)break;for(;$.length>0&&$[$.length-1].endPos<=C.start;)m.produceFromScopes($[$.length-1].scopes,$[$.length-1].endPos),$.pop();if($.length>0?m.produceFromScopes($[$.length-1].scopes,C.start):m.produce(x,C.start),P.retokenizeCapturedWithRuleId){const D=P.getName(k,E),F=x.contentNameScopesList.pushAttributed(D,g),W=P.getContentName(k,E),se=F.pushAttributed(W,g),Q=x.push(P.retokenizeCapturedWithRuleId,C.start,-1,!1,null,F,se),ne=g.createOnigString(k.substring(0,C.end));f(g,ne,y&&C.start===0,C.start,Q,m,!1,0),l.disposeOnigString(ne);continue}const I=P.getName(k,E);if(I!==null){const D=($.length>0?$[$.length-1].scopes:x.contentNameScopesList).pushAttributed(I,g);$.push(new _(D,C.end))}}for(;$.length>0;)m.produceFromScopes($[$.length-1].scopes,$[$.length-1].endPos),$.pop()}o._tokenizeString=f;class _{constructor(b,y){this.scopes=b,this.endPos=y}}o.LocalStackElement=_},974:(s,o)=>{function i(d,u){throw new Error("Near offset "+d.pos+": "+u+" ~~~"+d.source.substr(d.pos,50)+"~~~")}Object.defineProperty(o,"__esModule",{value:!0}),o.parseJSON=void 0,o.parseJSON=function(d,u,f){let h=new a(d),p=new l,v=0,w=null,_=[],g=[];function b(){_.push(v),g.push(w)}function y(){v=_.pop(),w=g.pop()}function x(m){i(h,m)}for(;c(h,p);){if(v===0){if(w!==null&&x("too many constructs in root"),p.type===3){w={},f&&(w.$vscodeTextmateLocation=p.toLocation(u)),b(),v=1;continue}if(p.type===2){w=[],b(),v=4;continue}x("unexpected token in root")}if(v===2){if(p.type===5){y();continue}if(p.type===7){v=3;continue}x("expected , or }")}if(v===1||v===3){if(v===1&&p.type===5){y();continue}if(p.type===1){let m=p.value;if(c(h,p)&&p.type===6||x("expected colon"),c(h,p)||x("expected value"),v=2,p.type===1){w[m]=p.value;continue}if(p.type===8){w[m]=null;continue}if(p.type===9){w[m]=!0;continue}if(p.type===10){w[m]=!1;continue}if(p.type===11){w[m]=parseFloat(p.value);continue}if(p.type===2){let T=[];w[m]=T,b(),v=4,w=T;continue}if(p.type===3){let T={};f&&(T.$vscodeTextmateLocation=p.toLocation(u)),w[m]=T,b(),v=1,w=T;continue}}x("unexpected token in dict")}if(v===5){if(p.type===4){y();continue}if(p.type===7){v=6;continue}x("expected , or ]")}if(v===4||v===6){if(v===4&&p.type===4){y();continue}if(v=5,p.type===1){w.push(p.value);continue}if(p.type===8){w.push(null);continue}if(p.type===9){w.push(!0);continue}if(p.type===10){w.push(!1);continue}if(p.type===11){w.push(parseFloat(p.value));continue}if(p.type===2){let m=[];w.push(m),b(),v=4,w=m;continue}if(p.type===3){let m={};f&&(m.$vscodeTextmateLocation=p.toLocation(u)),w.push(m),b(),v=1,w=m;continue}x("unexpected token in array")}x("unknown state")}return g.length!==0&&x("unclosed constructs"),w};class a{constructor(u){this.source=u,this.pos=0,this.len=u.length,this.line=1,this.char=0}}class l{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(u){return{filename:u,line:this.line,char:this.char}}}function c(d,u){u.value=null,u.type=0,u.offset=-1,u.len=-1,u.line=-1,u.char=-1;let f,h=d.source,p=d.pos,v=d.len,w=d.line,_=d.char;for(;;){if(p>=v)return!1;if(f=h.charCodeAt(p),f!==32&&f!==9&&f!==13){if(f!==10)break;p++,w++,_=0}else p++,_++}if(u.offset=p,u.line=w,u.char=_,f===34){for(u.type=1,p++,_++;;){if(p>=v)return!1;if(f=h.charCodeAt(p),p++,_++,f!==92){if(f===34)break}else p++,_++}u.value=h.substring(u.offset+1,p-1).replace(/\\u([0-9A-Fa-f]{4})/g,(g,b)=>String.fromCodePoint(parseInt(b,16))).replace(/\\(.)/g,(g,b)=>{switch(b){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
|
|
9
|
+
`;case"r":return"\r";case"t":return" ";default:i(d,"invalid escape sequence")}throw new Error("unreachable")})}else if(f===91)u.type=2,p++,_++;else if(f===123)u.type=3,p++,_++;else if(f===93)u.type=4,p++,_++;else if(f===125)u.type=5,p++,_++;else if(f===58)u.type=6,p++,_++;else if(f===44)u.type=7,p++,_++;else if(f===110){if(u.type=8,p++,_++,f=h.charCodeAt(p),f!==117||(p++,_++,f=h.charCodeAt(p),f!==108)||(p++,_++,f=h.charCodeAt(p),f!==108))return!1;p++,_++}else if(f===116){if(u.type=9,p++,_++,f=h.charCodeAt(p),f!==114||(p++,_++,f=h.charCodeAt(p),f!==117)||(p++,_++,f=h.charCodeAt(p),f!==101))return!1;p++,_++}else if(f===102){if(u.type=10,p++,_++,f=h.charCodeAt(p),f!==97||(p++,_++,f=h.charCodeAt(p),f!==108)||(p++,_++,f=h.charCodeAt(p),f!==115)||(p++,_++,f=h.charCodeAt(p),f!==101))return!1;p++,_++}else for(u.type=11;;){if(p>=v)return!1;if(f=h.charCodeAt(p),!(f===46||f>=48&&f<=57||f===101||f===69||f===45||f===43))break;p++,_++}return u.len=p-u.offset,u.value===null&&(u.value=h.substr(u.offset,u.len)),d.pos=p,d.line=w,d.char=_,!0}},787:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(p,v,w,_){_===void 0&&(_=w),Object.defineProperty(p,_,{enumerable:!0,get:function(){return v[w]}})}:function(p,v,w,_){_===void 0&&(_=w),p[_]=v[w]}),l=this&&this.__exportStar||function(p,v){for(var w in p)w==="default"||Object.prototype.hasOwnProperty.call(v,w)||a(v,p,w)};Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=o.INITIAL=o.Registry=void 0;const c=i(391),d=i(50),u=i(652),f=i(583),h=i(965);l(i(44),o),o.Registry=class{constructor(p){this._options=p,this._syncRegistry=new u.SyncRegistry(f.Theme.createFromRawTheme(p.theme,p.colorMap),p.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(p,v){this._syncRegistry.setTheme(f.Theme.createFromRawTheme(p,v))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(p,v,w){return this.loadGrammarWithConfiguration(p,v,{embeddedLanguages:w})}loadGrammarWithConfiguration(p,v,w){return this._loadGrammar(p,v,w.embeddedLanguages,w.tokenTypes,new c.BalancedBracketSelectors(w.balancedBracketSelectors||[],w.unbalancedBracketSelectors||[]))}loadGrammar(p){return this._loadGrammar(p,0,null,null,null)}async _loadGrammar(p,v,w,_,g){const b=new h.ScopeDependencyProcessor(this._syncRegistry,p);for(;b.Q.length>0;)await Promise.all(b.Q.map(y=>this._loadSingleGrammar(y.scopeName))),b.processQueue();return this._grammarForScopeName(p,v,w,_,g)}async _loadSingleGrammar(p){return this._ensureGrammarCache.has(p)||this._ensureGrammarCache.set(p,this._doLoadSingleGrammar(p)),this._ensureGrammarCache.get(p)}async _doLoadSingleGrammar(p){const v=await this._options.loadGrammar(p);if(v){const w=typeof this._options.getInjections=="function"?this._options.getInjections(p):void 0;this._syncRegistry.addGrammar(v,w)}}async addGrammar(p,v=[],w=0,_=null){return this._syncRegistry.addGrammar(p,v),await this._grammarForScopeName(p.scopeName,w,_)}_grammarForScopeName(p,v=0,w=null,_=null,g=null){return this._syncRegistry.grammarForScopeName(p,v,w,_,g)}},o.INITIAL=c.StateStack.NULL,o.parseRawGrammar=d.parseRawGrammar},736:(s,o)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(o,"__esModule",{value:!0}),o.createMatchers=void 0,o.createMatchers=function(a,l){const c=[],d=function(p){let v=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,w=v.exec(p);return{next:()=>{if(!w)return null;const _=w[0];return w=v.exec(p),_}}}(a);let u=d.next();for(;u!==null;){let p=0;if(u.length===2&&u.charAt(1)===":"){switch(u.charAt(0)){case"R":p=1;break;case"L":p=-1;break;default:console.log(`Unknown priority ${u} in scope selector`)}u=d.next()}let v=h();if(c.push({matcher:v,priority:p}),u!==",")break;u=d.next()}return c;function f(){if(u==="-"){u=d.next();const p=f();return v=>!!p&&!p(v)}if(u==="("){u=d.next();const p=function(){const v=[];let w=h();for(;w&&(v.push(w),u==="|"||u===",");){do u=d.next();while(u==="|"||u===",");w=h()}return _=>v.some(g=>g(_))}();return u===")"&&(u=d.next()),p}if(i(u)){const p=[];do p.push(u),u=d.next();while(i(u));return v=>l(p,v)}return null}function h(){const p=[];let v=f();for(;v;)p.push(v),v=f();return w=>p.every(_=>_(w))}}},44:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.disposeOnigString=void 0,o.disposeOnigString=function(i){typeof i.dispose=="function"&&i.dispose()}},50:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=void 0;const a=i(69),l=i(350),c=i(974);o.parseRawGrammar=function(d,u=null){return u!==null&&/\.json$/.test(u)?(f=d,h=u,l.DebugFlags.InDebugMode?c.parseJSON(f,h,!0):JSON.parse(f)):function(p,v){return l.DebugFlags.InDebugMode?a.parseWithLocation(p,v,"$vscodeTextmateLocation"):a.parsePLIST(p)}(d,u);var f,h}},69:(s,o)=>{function i(a,l,c){const d=a.length;let u=0,f=1,h=0;function p(L){if(c===null)u+=L;else for(;L>0;)a.charCodeAt(u)===10?(u++,f++,h=0):(u++,h++),L--}function v(L){c===null?u=L:p(L-u)}function w(){for(;u<d;){let L=a.charCodeAt(u);if(L!==32&&L!==9&&L!==13&&L!==10)break;p(1)}}function _(L){return a.substr(u,L.length)===L&&(p(L.length),!0)}function g(L){let J=a.indexOf(L,u);v(J!==-1?J+L.length:d)}function b(L){let J=a.indexOf(L,u);if(J!==-1){let G=a.substring(u,J);return v(J+L.length),G}{let G=a.substr(u);return v(d),G}}d>0&&a.charCodeAt(0)===65279&&(u=1);let y=0,x=null,m=[],T=[],E=null;function k(L,J){m.push(y),T.push(x),y=L,x=J}function A(){if(m.length===0)return $("illegal state stack");y=m.pop(),x=T.pop()}function $(L){throw new Error("Near offset "+u+": "+L+" ~~~"+a.substr(u,50)+"~~~")}const S=function(){if(E===null)return $("missing <key>");let L={};c!==null&&(L[c]={filename:l,line:f,char:h}),x[E]=L,E=null,k(1,L)},R=function(){if(E===null)return $("missing <key>");let L=[];x[E]=L,E=null,k(2,L)},P=function(){let L={};c!==null&&(L[c]={filename:l,line:f,char:h}),x.push(L),k(1,L)},C=function(){let L=[];x.push(L),k(2,L)};function I(){if(y!==1)return $("unexpected </dict>");A()}function D(){return y===1||y!==2?$("unexpected </array>"):void A()}function F(L){if(y===1){if(E===null)return $("missing <key>");x[E]=L,E=null}else y===2?x.push(L):x=L}function W(L){if(isNaN(L))return $("cannot parse float");if(y===1){if(E===null)return $("missing <key>");x[E]=L,E=null}else y===2?x.push(L):x=L}function se(L){if(isNaN(L))return $("cannot parse integer");if(y===1){if(E===null)return $("missing <key>");x[E]=L,E=null}else y===2?x.push(L):x=L}function Q(L){if(y===1){if(E===null)return $("missing <key>");x[E]=L,E=null}else y===2?x.push(L):x=L}function ne(L){if(y===1){if(E===null)return $("missing <key>");x[E]=L,E=null}else y===2?x.push(L):x=L}function de(L){if(y===1){if(E===null)return $("missing <key>");x[E]=L,E=null}else y===2?x.push(L):x=L}function fe(){let L=b(">"),J=!1;return L.charCodeAt(L.length-1)===47&&(J=!0,L=L.substring(0,L.length-1)),{name:L.trim(),isClosed:J}}function ge(L){if(L.isClosed)return"";let J=b("</");return g(">"),J.replace(/&#([0-9]+);/g,function(G,le){return String.fromCodePoint(parseInt(le,10))}).replace(/&#x([0-9a-f]+);/g,function(G,le){return String.fromCodePoint(parseInt(le,16))}).replace(/&|<|>|"|'/g,function(G){switch(G){case"&":return"&";case"<":return"<";case">":return">";case""":return'"';case"'":return"'"}return G})}for(;u<d&&(w(),!(u>=d));){const L=a.charCodeAt(u);if(p(1),L!==60)return $("expected <");if(u>=d)return $("unexpected end of input");const J=a.charCodeAt(u);if(J===63){p(1),g("?>");continue}if(J===33){if(p(1),_("--")){g("-->");continue}g(">");continue}if(J===47){if(p(1),w(),_("plist")){g(">");continue}if(_("dict")){g(">"),I();continue}if(_("array")){g(">"),D();continue}return $("unexpected closed tag")}let G=fe();switch(G.name){case"dict":y===1?S():y===2?P():(x={},c!==null&&(x[c]={filename:l,line:f,char:h}),k(1,x)),G.isClosed&&I();continue;case"array":y===1?R():y===2?C():(x=[],k(2,x)),G.isClosed&&D();continue;case"key":be=ge(G),y!==1?$("unexpected <key>"):E!==null?$("too many <key>"):E=be;continue;case"string":F(ge(G));continue;case"real":W(parseFloat(ge(G)));continue;case"integer":se(parseInt(ge(G),10));continue;case"date":Q(new Date(ge(G)));continue;case"data":ne(ge(G));continue;case"true":ge(G),de(!0);continue;case"false":ge(G),de(!1);continue}if(!/^plist/.test(G.name))return $("unexpected opened tag "+G.name)}var be;return x}Object.defineProperty(o,"__esModule",{value:!0}),o.parsePLIST=o.parseWithLocation=void 0,o.parseWithLocation=function(a,l,c){return i(a,l,c)},o.parsePLIST=function(a){return i(a,null,null)}},652:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.SyncRegistry=void 0;const a=i(391);o.SyncRegistry=class{constructor(l,c){this._onigLibPromise=c,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=l}dispose(){for(const l of this._grammars.values())l.dispose()}setTheme(l){this._theme=l}getColorMap(){return this._theme.getColorMap()}addGrammar(l,c){this._rawGrammars.set(l.scopeName,l),c&&this._injectionGrammars.set(l.scopeName,c)}lookup(l){return this._rawGrammars.get(l)}injections(l){return this._injectionGrammars.get(l)}getDefaults(){return this._theme.getDefaults()}themeMatch(l){return this._theme.match(l)}async grammarForScopeName(l,c,d,u,f){if(!this._grammars.has(l)){let h=this._rawGrammars.get(l);if(!h)return null;this._grammars.set(l,a.createGrammar(l,h,c,d,u,f,this,await this._onigLibPromise))}return this._grammars.get(l)}}},792:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.CompiledRule=o.RegExpSourceList=o.RegExpSource=o.RuleFactory=o.BeginWhileRule=o.BeginEndRule=o.IncludeOnlyRule=o.MatchRule=o.CaptureRule=o.Rule=o.ruleIdToNumber=o.ruleIdFromNumber=o.whileRuleId=o.endRuleId=void 0;const a=i(878),l=i(965),c=/\\(\d+)/,d=/\\(\d+)/g;o.endRuleId=-1,o.whileRuleId=-2,o.ruleIdFromNumber=function(x){return x},o.ruleIdToNumber=function(x){return x};class u{constructor(m,T,E,k){this.$location=m,this.id=T,this._name=E||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=k||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const m=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${m}`}getName(m,T){return this._nameIsCapturing&&this._name!==null&&m!==null&&T!==null?a.RegexSource.replaceCaptures(this._name,m,T):this._name}getContentName(m,T){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,m,T):this._contentName}}o.Rule=u;class f extends u{constructor(m,T,E,k,A){super(m,T,E,k),this.retokenizeCapturedWithRuleId=A}dispose(){}collectPatterns(m,T){throw new Error("Not supported!")}compile(m,T){throw new Error("Not supported!")}compileAG(m,T,E,k){throw new Error("Not supported!")}}o.CaptureRule=f;class h extends u{constructor(m,T,E,k,A){super(m,T,E,null),this._match=new g(k,this.id),this.captures=A,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(m,T){T.push(this._match)}compile(m,T){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,T,E,k){return this._getCachedCompiledPatterns(m).compileAG(m,E,k)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new b,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.MatchRule=h;class p extends u{constructor(m,T,E,k,A){super(m,T,E,k),this.patterns=A.patterns,this.hasMissingPatterns=A.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(m,T){for(const E of this.patterns)m.getRule(E).collectPatterns(m,T)}compile(m,T){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,T,E,k){return this._getCachedCompiledPatterns(m).compileAG(m,E,k)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new b,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.IncludeOnlyRule=p;class v extends u{constructor(m,T,E,k,A,$,S,R,P,C){super(m,T,E,k),this._begin=new g(A,this.id),this.beginCaptures=$,this._end=new g(S||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=R,this.applyEndPatternLast=P||!1,this.patterns=C.patterns,this.hasMissingPatterns=C.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(m,T){return this._end.resolveBackReferences(m,T)}collectPatterns(m,T){T.push(this._begin)}compile(m,T){return this._getCachedCompiledPatterns(m,T).compile(m)}compileAG(m,T,E,k){return this._getCachedCompiledPatterns(m,T).compileAG(m,E,k)}_getCachedCompiledPatterns(m,T){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new b;for(const E of this.patterns)m.getRule(E).collectPatterns(m,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,T):this._cachedCompiledPatterns.setSource(0,T)),this._cachedCompiledPatterns}}o.BeginEndRule=v;class w extends u{constructor(m,T,E,k,A,$,S,R,P){super(m,T,E,k),this._begin=new g(A,this.id),this.beginCaptures=$,this.whileCaptures=R,this._while=new g(S,o.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=P.patterns,this.hasMissingPatterns=P.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(m,T){return this._while.resolveBackReferences(m,T)}collectPatterns(m,T){T.push(this._begin)}compile(m,T){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,T,E,k){return this._getCachedCompiledPatterns(m).compileAG(m,E,k)}_getCachedCompiledPatterns(m){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new b;for(const T of this.patterns)m.getRule(T).collectPatterns(m,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(m,T){return this._getCachedCompiledWhilePatterns(m,T).compile(m)}compileWhileAG(m,T,E,k){return this._getCachedCompiledWhilePatterns(m,T).compileAG(m,E,k)}_getCachedCompiledWhilePatterns(m,T){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new b,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,T||""),this._cachedCompiledWhilePatterns}}o.BeginWhileRule=w;class _{static createCaptureRule(m,T,E,k,A){return m.registerRule($=>new f(T,$,E,k,A))}static getCompiledRuleId(m,T,E){return m.id||T.registerRule(k=>{if(m.id=k,m.match)return new h(m.$vscodeTextmateLocation,m.id,m.name,m.match,_._compileCaptures(m.captures,T,E));if(m.begin===void 0){m.repository&&(E=a.mergeObjects({},E,m.repository));let A=m.patterns;return A===void 0&&m.include&&(A=[{include:m.include}]),new p(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,_._compilePatterns(A,T,E))}return m.while?new w(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,_._compileCaptures(m.beginCaptures||m.captures,T,E),m.while,_._compileCaptures(m.whileCaptures||m.captures,T,E),_._compilePatterns(m.patterns,T,E)):new v(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,_._compileCaptures(m.beginCaptures||m.captures,T,E),m.end,_._compileCaptures(m.endCaptures||m.captures,T,E),m.applyEndPatternLast,_._compilePatterns(m.patterns,T,E))}),m.id}static _compileCaptures(m,T,E){let k=[];if(m){let A=0;for(const $ in m){if($==="$vscodeTextmateLocation")continue;const S=parseInt($,10);S>A&&(A=S)}for(let $=0;$<=A;$++)k[$]=null;for(const $ in m){if($==="$vscodeTextmateLocation")continue;const S=parseInt($,10);let R=0;m[$].patterns&&(R=_.getCompiledRuleId(m[$],T,E)),k[S]=_.createCaptureRule(T,m[$].$vscodeTextmateLocation,m[$].name,m[$].contentName,R)}}return k}static _compilePatterns(m,T,E){let k=[];if(m)for(let A=0,$=m.length;A<$;A++){const S=m[A];let R=-1;if(S.include){const P=l.parseInclude(S.include);switch(P.kind){case 0:case 1:R=_.getCompiledRuleId(E[S.include],T,E);break;case 2:let C=E[P.ruleName];C&&(R=_.getCompiledRuleId(C,T,E));break;case 3:case 4:const I=P.scopeName,D=P.kind===4?P.ruleName:null,F=T.getExternalGrammar(I,E);if(F)if(D){let W=F.repository[D];W&&(R=_.getCompiledRuleId(W,T,F.repository))}else R=_.getCompiledRuleId(F.repository.$self,T,F.repository)}}else R=_.getCompiledRuleId(S,T,E);if(R!==-1){const P=T.getRule(R);let C=!1;if((P instanceof p||P instanceof v||P instanceof w)&&P.hasMissingPatterns&&P.patterns.length===0&&(C=!0),C)continue;k.push(R)}}return{patterns:k,hasMissingPatterns:(m?m.length:0)!==k.length}}}o.RuleFactory=_;class g{constructor(m,T){if(m){const E=m.length;let k=0,A=[],$=!1;for(let S=0;S<E;S++)if(m.charAt(S)==="\\"&&S+1<E){const R=m.charAt(S+1);R==="z"?(A.push(m.substring(k,S)),A.push("$(?!\\n)(?<!\\n)"),k=S+2):R!=="A"&&R!=="G"||($=!0),S++}this.hasAnchor=$,k===0?this.source=m:(A.push(m.substring(k,E)),this.source=A.join(""))}else this.hasAnchor=!1,this.source=m;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=T,this.hasBackReferences=c.test(this.source)}clone(){return new g(this.source,this.ruleId)}setSource(m){this.source!==m&&(this.source=m,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(m,T){let E=T.map(k=>m.substring(k.start,k.end));return d.lastIndex=0,this.source.replace(d,(k,A)=>a.escapeRegExpCharacters(E[parseInt(A,10)]||""))}_buildAnchorCache(){let m,T,E,k,A=[],$=[],S=[],R=[];for(m=0,T=this.source.length;m<T;m++)E=this.source.charAt(m),A[m]=E,$[m]=E,S[m]=E,R[m]=E,E==="\\"&&m+1<T&&(k=this.source.charAt(m+1),k==="A"?(A[m+1]="",$[m+1]="",S[m+1]="A",R[m+1]="A"):k==="G"?(A[m+1]="",$[m+1]="G",S[m+1]="",R[m+1]="G"):(A[m+1]=k,$[m+1]=k,S[m+1]=k,R[m+1]=k),m++);return{A0_G0:A.join(""),A0_G1:$.join(""),A1_G0:S.join(""),A1_G1:R.join("")}}resolveAnchors(m,T){return this.hasAnchor&&this._anchorCache?m?T?this._anchorCache.A1_G1:this._anchorCache.A1_G0:T?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}o.RegExpSource=g;class b{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(m){this._items.push(m),this._hasAnchors=this._hasAnchors||m.hasAnchor}unshift(m){this._items.unshift(m),this._hasAnchors=this._hasAnchors||m.hasAnchor}length(){return this._items.length}setSource(m,T){this._items[m].source!==T&&(this._disposeCaches(),this._items[m].setSource(T))}compile(m){if(!this._cached){let T=this._items.map(E=>E.source);this._cached=new y(m,T,this._items.map(E=>E.ruleId))}return this._cached}compileAG(m,T,E){return this._hasAnchors?T?E?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(m,T,E)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(m,T,E)),this._anchorCache.A1_G0):E?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(m,T,E)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(m,T,E)),this._anchorCache.A0_G0):this.compile(m)}_resolveAnchors(m,T,E){let k=this._items.map(A=>A.resolveAnchors(T,E));return new y(m,k,this._items.map(A=>A.ruleId))}}o.RegExpSourceList=b;class y{constructor(m,T,E){this.regExps=T,this.rules=E,this.scanner=m.createOnigScanner(T)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const m=[];for(let T=0,E=this.rules.length;T<E;T++)m.push(" - "+this.rules[T]+": "+this.regExps[T]);return m.join(`
|
|
10
|
+
`)}findNextMatchSync(m,T,E){const k=this.scanner.findNextMatchSync(m,T,E);return k?{ruleId:this.rules[k.index],captureIndices:k.captureIndices}:null}}o.CompiledRule=y},583:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.ThemeTrieElement=o.ThemeTrieElementRule=o.ColorMap=o.fontStyleToString=o.ParsedThemeRule=o.parseTheme=o.StyleAttributes=o.ScopeStack=o.Theme=void 0;const a=i(878);class l{constructor(g,b,y){this._colorMap=g,this._defaults=b,this._root=y,this._cachedMatchRoot=new a.CachedFn(x=>this._root.match(x))}static createFromRawTheme(g,b){return this.createFromParsedTheme(f(g),b)}static createFromParsedTheme(g,b){return function(y,x){y.sort((S,R)=>{let P=a.strcmp(S.scope,R.scope);return P!==0?P:(P=a.strArrCmp(S.parentScopes,R.parentScopes),P!==0?P:S.index-R.index)});let m=0,T="#000000",E="#ffffff";for(;y.length>=1&&y[0].scope==="";){let S=y.shift();S.fontStyle!==-1&&(m=S.fontStyle),S.foreground!==null&&(T=S.foreground),S.background!==null&&(E=S.background)}let k=new p(x),A=new u(m,k.getId(T),k.getId(E)),$=new w(new v(0,null,-1,0,0),[]);for(let S=0,R=y.length;S<R;S++){let P=y[S];$.insert(0,P.scope,P.parentScopes,P.fontStyle,k.getId(P.foreground),k.getId(P.background))}return new l(k,A,$)}(g,b)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(g){if(g===null)return this._defaults;const b=g.scopeName,y=this._cachedMatchRoot.get(b).find(x=>function(m,T){if(T===null)return!0;let E=0,k=T[E];for(;m;){if(d(m.scopeName,k)){if(E++,E===T.length)return!0;k=T[E]}m=m.parent}return!1}(g.parent,x.parentScopes));return y?new u(y.fontStyle,y.foreground,y.background):null}}o.Theme=l;class c{constructor(g,b){this.parent=g,this.scopeName=b}static from(...g){let b=null;for(let y=0;y<g.length;y++)b=new c(b,g[y]);return b}push(g){return new c(this,g)}getSegments(){let g=this;const b=[];for(;g;)b.push(g.scopeName),g=g.parent;return b.reverse(),b}toString(){return this.getSegments().join(" ")}}function d(_,g){return g===_||_.startsWith(g)&&_[g.length]==="."}o.ScopeStack=c;class u{constructor(g,b,y){this.fontStyle=g,this.foregroundId=b,this.backgroundId=y}}function f(_){if(!_)return[];if(!_.settings||!Array.isArray(_.settings))return[];let g=_.settings,b=[],y=0;for(let x=0,m=g.length;x<m;x++){let T,E=g[x];if(!E.settings)continue;if(typeof E.scope=="string"){let S=E.scope;S=S.replace(/^[,]+/,""),S=S.replace(/[,]+$/,""),T=S.split(",")}else T=Array.isArray(E.scope)?E.scope:[""];let k=-1;if(typeof E.settings.fontStyle=="string"){k=0;let S=E.settings.fontStyle.split(" ");for(let R=0,P=S.length;R<P;R++)switch(S[R]){case"italic":k|=1;break;case"bold":k|=2;break;case"underline":k|=4;break;case"strikethrough":k|=8}}let A=null;typeof E.settings.foreground=="string"&&a.isValidHexColor(E.settings.foreground)&&(A=E.settings.foreground);let $=null;typeof E.settings.background=="string"&&a.isValidHexColor(E.settings.background)&&($=E.settings.background);for(let S=0,R=T.length;S<R;S++){let P=T[S].trim().split(" "),C=P[P.length-1],I=null;P.length>1&&(I=P.slice(0,P.length-1),I.reverse()),b[y++]=new h(C,I,x,k,A,$)}}return b}o.StyleAttributes=u,o.parseTheme=f;class h{constructor(g,b,y,x,m,T){this.scope=g,this.parentScopes=b,this.index=y,this.fontStyle=x,this.foreground=m,this.background=T}}o.ParsedThemeRule=h,o.fontStyleToString=function(_){if(_===-1)return"not set";let g="";return 1&_&&(g+="italic "),2&_&&(g+="bold "),4&_&&(g+="underline "),8&_&&(g+="strikethrough "),g===""&&(g="none"),g.trim()};class p{constructor(g){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(g)){this._isFrozen=!0;for(let b=0,y=g.length;b<y;b++)this._color2id[g[b]]=b,this._id2color[b]=g[b]}else this._isFrozen=!1}getId(g){if(g===null)return 0;g=g.toUpperCase();let b=this._color2id[g];if(b)return b;if(this._isFrozen)throw new Error(`Missing color in color map - ${g}`);return b=++this._lastColorId,this._color2id[g]=b,this._id2color[b]=g,b}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=p;class v{constructor(g,b,y,x,m){this.scopeDepth=g,this.parentScopes=b,this.fontStyle=y,this.foreground=x,this.background=m}clone(){return new v(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(g){let b=[];for(let y=0,x=g.length;y<x;y++)b[y]=g[y].clone();return b}acceptOverwrite(g,b,y,x){this.scopeDepth>g?console.log("how did this happen?"):this.scopeDepth=g,b!==-1&&(this.fontStyle=b),y!==0&&(this.foreground=y),x!==0&&(this.background=x)}}o.ThemeTrieElementRule=v;class w{constructor(g,b=[],y={}){this._mainRule=g,this._children=y,this._rulesWithParentScopes=b}static _sortBySpecificity(g){return g.length===1||g.sort(this._cmpBySpecificity),g}static _cmpBySpecificity(g,b){if(g.scopeDepth===b.scopeDepth){const y=g.parentScopes,x=b.parentScopes;let m=y===null?0:y.length,T=x===null?0:x.length;if(m===T)for(let E=0;E<m;E++){const k=y[E].length,A=x[E].length;if(k!==A)return A-k}return T-m}return b.scopeDepth-g.scopeDepth}match(g){if(g==="")return w._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let b,y,x=g.indexOf(".");return x===-1?(b=g,y=""):(b=g.substring(0,x),y=g.substring(x+1)),this._children.hasOwnProperty(b)?this._children[b].match(y):w._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(g,b,y,x,m,T){if(b==="")return void this._doInsertHere(g,y,x,m,T);let E,k,A,$=b.indexOf(".");$===-1?(E=b,k=""):(E=b.substring(0,$),k=b.substring($+1)),this._children.hasOwnProperty(E)?A=this._children[E]:(A=new w(this._mainRule.clone(),v.cloneArr(this._rulesWithParentScopes)),this._children[E]=A),A.insert(g+1,k,y,x,m,T)}_doInsertHere(g,b,y,x,m){if(b!==null){for(let T=0,E=this._rulesWithParentScopes.length;T<E;T++){let k=this._rulesWithParentScopes[T];if(a.strArrCmp(k.parentScopes,b)===0)return void k.acceptOverwrite(g,y,x,m)}y===-1&&(y=this._mainRule.fontStyle),x===0&&(x=this._mainRule.foreground),m===0&&(m=this._mainRule.background),this._rulesWithParentScopes.push(new v(g,b,y,x,m))}else this._mainRule.acceptOverwrite(g,y,x,m)}}o.ThemeTrieElement=w},878:(s,o)=>{function i(c){return Array.isArray(c)?function(d){let u=[];for(let f=0,h=d.length;f<h;f++)u[f]=i(d[f]);return u}(c):typeof c=="object"?function(d){let u={};for(let f in d)u[f]=i(d[f]);return u}(c):c}Object.defineProperty(o,"__esModule",{value:!0}),o.performanceNow=o.CachedFn=o.escapeRegExpCharacters=o.isValidHexColor=o.strArrCmp=o.strcmp=o.RegexSource=o.basename=o.mergeObjects=o.clone=void 0,o.clone=function(c){return i(c)},o.mergeObjects=function(c,...d){return d.forEach(u=>{for(let f in u)c[f]=u[f]}),c},o.basename=function c(d){const u=~d.lastIndexOf("/")||~d.lastIndexOf("\\");return u===0?d:~u==d.length-1?c(d.substring(0,d.length-1)):d.substr(1+~u)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function l(c,d){return c<d?-1:c>d?1:0}o.RegexSource=class{static hasCaptures(c){return c!==null&&(a.lastIndex=0,a.test(c))}static replaceCaptures(c,d,u){return c.replace(a,(f,h,p,v)=>{let w=u[parseInt(h||p,10)];if(!w)return f;{let _=d.substring(w.start,w.end);for(;_[0]===".";)_=_.substring(1);switch(v){case"downcase":return _.toLowerCase();case"upcase":return _.toUpperCase();default:return _}}})}},o.strcmp=l,o.strArrCmp=function(c,d){if(c===null&&d===null)return 0;if(!c)return-1;if(!d)return 1;let u=c.length,f=d.length;if(u===f){for(let h=0;h<u;h++){let p=l(c[h],d[h]);if(p!==0)return p}return 0}return u-f},o.isValidHexColor=function(c){return!!(/^#[0-9a-f]{6}$/i.test(c)||/^#[0-9a-f]{8}$/i.test(c)||/^#[0-9a-f]{3}$/i.test(c)||/^#[0-9a-f]{4}$/i.test(c))},o.escapeRegExpCharacters=function(c){return c.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},o.CachedFn=class{constructor(c){this.fn=c,this.cache=new Map}get(c){if(this.cache.has(c))return this.cache.get(c);const d=this.fn(c);return this.cache.set(c,d),d}},o.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},r={};return function s(o){var i=r[o];if(i!==void 0)return i.exports;var a=r[o]={exports:{}};return n[o].call(a.exports,a,a.exports,s),a.exports}(787)})()})})(Dk);const Ii=[{id:"abap",scopeName:"source.abap",path:"abap.tmLanguage.json",samplePath:"abap.sample"},{id:"actionscript-3",scopeName:"source.actionscript.3",path:"actionscript-3.tmLanguage.json",samplePath:"actionscript-3.sample"},{id:"ada",scopeName:"source.ada",path:"ada.tmLanguage.json",samplePath:"ada.sample"},{id:"apache",scopeName:"source.apacheconf",path:"apache.tmLanguage.json"},{id:"apex",scopeName:"source.apex",path:"apex.tmLanguage.json",samplePath:"apex.sample"},{id:"apl",scopeName:"source.apl",path:"apl.tmLanguage.json",embeddedLangs:["html","xml","css","javascript","json"]},{id:"applescript",scopeName:"source.applescript",path:"applescript.tmLanguage.json",samplePath:"applescript.sample"},{id:"asm",scopeName:"source.asm.x86_64",path:"asm.tmLanguage.json",samplePath:"asm.sample"},{id:"astro",scopeName:"source.astro",path:"astro.tmLanguage.json",samplePath:"astro.sample",embeddedLangs:["json","javascript","typescript","tsx","css","less","sass","scss","stylus"]},{id:"awk",scopeName:"source.awk",path:"awk.tmLanguage.json",samplePath:"awk.sample"},{id:"ballerina",scopeName:"source.ballerina",path:"ballerina.tmLanguage.json",samplePath:"ballerina.sample"},{id:"bat",scopeName:"source.batchfile",path:"bat.tmLanguage.json",samplePath:"bat.sample",aliases:["batch"]},{id:"berry",scopeName:"source.berry",path:"berry.tmLanguage.json",samplePath:"berry.sample",aliases:["be"]},{id:"bibtex",scopeName:"text.bibtex",path:"bibtex.tmLanguage.json"},{id:"bicep",scopeName:"source.bicep",path:"bicep.tmLanguage.json",samplePath:"bicep.sample"},{id:"blade",scopeName:"text.html.php.blade",path:"blade.tmLanguage.json",samplePath:"blade.sample",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"c",scopeName:"source.c",path:"c.tmLanguage.json",samplePath:"c.sample"},{id:"cadence",scopeName:"source.cadence",path:"cadence.tmLanguage.json",samplePath:"cadence.sample",aliases:["cdc"]},{id:"clarity",scopeName:"source.clar",path:"clarity.tmLanguage.json",samplePath:"clarity.sample"},{id:"clojure",scopeName:"source.clojure",path:"clojure.tmLanguage.json",samplePath:"clojure.sample",aliases:["clj"]},{id:"cmake",scopeName:"source.cmake",path:"cmake.tmLanguage.json",samplePath:"cmake.sample"},{id:"cobol",scopeName:"source.cobol",path:"cobol.tmLanguage.json",samplePath:"cobol.sample",embeddedLangs:["sql","html","java"]},{id:"codeql",scopeName:"source.ql",path:"codeql.tmLanguage.json",samplePath:"codeql.sample",aliases:["ql"],embeddedLangs:["markdown"]},{id:"coffee",scopeName:"source.coffee",path:"coffee.tmLanguage.json",samplePath:"coffee.sample",embeddedLangs:["javascript"]},{id:"cpp",scopeName:"source.cpp",path:"cpp.tmLanguage.json",samplePath:"cpp.sample",embeddedLangs:["glsl","sql"]},{id:"crystal",scopeName:"source.crystal",path:"crystal.tmLanguage.json",samplePath:"crystal.sample",embeddedLangs:["html","sql","css","c","javascript","shellscript"]},{id:"csharp",scopeName:"source.cs",path:"csharp.tmLanguage.json",samplePath:"csharp.sample",aliases:["c#","cs"]},{id:"css",scopeName:"source.css",path:"css.tmLanguage.json",samplePath:"css.sample"},{id:"cue",scopeName:"source.cue",path:"cue.tmLanguage.json",samplePath:"cue.sample"},{id:"d",scopeName:"source.d",path:"d.tmLanguage.json",samplePath:"d.sample"},{id:"dart",scopeName:"source.dart",path:"dart.tmLanguage.json",samplePath:"dart.sample"},{id:"diff",scopeName:"source.diff",path:"diff.tmLanguage.json",samplePath:"diff.sample"},{id:"docker",scopeName:"source.dockerfile",path:"docker.tmLanguage.json",samplePath:"docker.sample"},{id:"dream-maker",scopeName:"source.dm",path:"dream-maker.tmLanguage.json"},{id:"elixir",scopeName:"source.elixir",path:"elixir.tmLanguage.json",samplePath:"elixir.sample",embeddedLangs:["html"]},{id:"elm",scopeName:"source.elm",path:"elm.tmLanguage.json",samplePath:"elm.sample",embeddedLangs:["glsl"]},{id:"erb",scopeName:"text.html.erb",path:"erb.tmLanguage.json",samplePath:"erb.sample",embeddedLangs:["html","ruby"]},{id:"erlang",scopeName:"source.erlang",path:"erlang.tmLanguage.json",samplePath:"erlang.sample",aliases:["erl"]},{id:"fish",scopeName:"source.fish",path:"fish.tmLanguage.json",samplePath:"fish.sample"},{id:"fsharp",scopeName:"source.fsharp",path:"fsharp.tmLanguage.json",samplePath:"fsharp.sample",aliases:["f#","fs"],embeddedLangs:["markdown"]},{id:"gherkin",scopeName:"text.gherkin.feature",path:"gherkin.tmLanguage.json"},{id:"git-commit",scopeName:"text.git-commit",path:"git-commit.tmLanguage.json",embeddedLangs:["diff"]},{id:"git-rebase",scopeName:"text.git-rebase",path:"git-rebase.tmLanguage.json",embeddedLangs:["shellscript"]},{id:"glsl",scopeName:"source.glsl",path:"glsl.tmLanguage.json",samplePath:"glsl.sample",embeddedLangs:["c"]},{id:"gnuplot",scopeName:"source.gnuplot",path:"gnuplot.tmLanguage.json"},{id:"go",scopeName:"source.go",path:"go.tmLanguage.json",samplePath:"go.sample"},{id:"graphql",scopeName:"source.graphql",path:"graphql.tmLanguage.json",embeddedLangs:["javascript","typescript","jsx","tsx"]},{id:"groovy",scopeName:"source.groovy",path:"groovy.tmLanguage.json"},{id:"hack",scopeName:"source.hack",path:"hack.tmLanguage.json",embeddedLangs:["html","sql"]},{id:"haml",scopeName:"text.haml",path:"haml.tmLanguage.json",embeddedLangs:["ruby","javascript","sass","coffee","markdown","css"]},{id:"handlebars",scopeName:"text.html.handlebars",path:"handlebars.tmLanguage.json",aliases:["hbs"],embeddedLangs:["html","css","javascript","yaml"]},{id:"haskell",scopeName:"source.haskell",path:"haskell.tmLanguage.json",aliases:["hs"]},{id:"hcl",scopeName:"source.hcl",path:"hcl.tmLanguage.json",samplePath:"hcl.sample"},{id:"hlsl",scopeName:"source.hlsl",path:"hlsl.tmLanguage.json"},{id:"html",scopeName:"text.html.basic",path:"html.tmLanguage.json",samplePath:"html.sample",embeddedLangs:["javascript","css"]},{id:"imba",scopeName:"source.imba",path:"imba.tmLanguage.json",samplePath:"imba.sample"},{id:"ini",scopeName:"source.ini",path:"ini.tmLanguage.json"},{id:"java",scopeName:"source.java",path:"java.tmLanguage.json",samplePath:"java.sample"},{id:"javascript",scopeName:"source.js",path:"javascript.tmLanguage.json",samplePath:"javascript.sample",aliases:["js"]},{id:"jinja-html",scopeName:"text.html.jinja",path:"jinja-html.tmLanguage.json",embeddedLangs:["html"]},{id:"json",scopeName:"source.json",path:"json.tmLanguage.json"},{id:"json5",scopeName:"source.json5",path:"json5.tmLanguage.json",samplePath:"json5.sample"},{id:"jsonc",scopeName:"source.json.comments",path:"jsonc.tmLanguage.json"},{id:"jsonnet",scopeName:"source.jsonnet",path:"jsonnet.tmLanguage.json"},{id:"jssm",scopeName:"source.jssm",path:"jssm.tmLanguage.json",samplePath:"jssm.sample",aliases:["fsl"]},{id:"jsx",scopeName:"source.js.jsx",path:"jsx.tmLanguage.json"},{id:"julia",scopeName:"source.julia",path:"julia.tmLanguage.json",embeddedLangs:["cpp","python","javascript","r","sql"]},{id:"kotlin",scopeName:"source.kotlin",path:"kotlin.tmLanguage.json"},{id:"latex",scopeName:"text.tex.latex",path:"latex.tmLanguage.json",embeddedLangs:["tex","css","haskell","html","xml","java","lua","julia","ruby","javascript","typescript","python","yaml","rust","scala","gnuplot"]},{id:"less",scopeName:"source.css.less",path:"less.tmLanguage.json",embeddedLangs:["css"]},{id:"liquid",scopeName:"text.html.liquid",path:"liquid.tmLanguage.json",samplePath:"liquid.sample",embeddedLangs:["html","css","json","javascript"]},{id:"lisp",scopeName:"source.lisp",path:"lisp.tmLanguage.json"},{id:"logo",scopeName:"source.logo",path:"logo.tmLanguage.json"},{id:"lua",scopeName:"source.lua",path:"lua.tmLanguage.json",embeddedLangs:["c"]},{id:"make",scopeName:"source.makefile",path:"make.tmLanguage.json",aliases:["makefile"]},{id:"markdown",scopeName:"text.html.markdown",path:"markdown.tmLanguage.json",aliases:["md"],embeddedLangs:["css","html","ini","java","lua","make","perl","r","ruby","php","sql","vb","xml","xsl","yaml","bat","clojure","coffee","c","cpp","diff","docker","git-commit","git-rebase","go","groovy","pug","javascript","json","jsonc","less","objective-c","swift","scss","raku","powershell","python","julia","rust","scala","shellscript","typescript","tsx","csharp","fsharp","dart","handlebars","erlang","elixir","latex","bibtex"]},{id:"marko",scopeName:"text.marko",path:"marko.tmLanguage.json",embeddedLangs:["css","less","scss","typescript"]},{id:"matlab",scopeName:"source.matlab",path:"matlab.tmLanguage.json"},{id:"mdx",scopeName:"text.html.markdown.jsx",path:"mdx.tmLanguage.json",embeddedLangs:["jsx","markdown"]},{id:"mermaid",scopeName:"source.mermaid",path:"mermaid.tmLanguage.json"},{id:"nginx",scopeName:"source.nginx",path:"nginx.tmLanguage.json",embeddedLangs:["lua"]},{id:"nim",scopeName:"source.nim",path:"nim.tmLanguage.json",embeddedLangs:["c","html","xml","javascript","css","glsl","markdown"]},{id:"nix",scopeName:"source.nix",path:"nix.tmLanguage.json"},{id:"objective-c",scopeName:"source.objc",path:"objective-c.tmLanguage.json",aliases:["objc"]},{id:"objective-cpp",scopeName:"source.objcpp",path:"objective-cpp.tmLanguage.json"},{id:"ocaml",scopeName:"source.ocaml",path:"ocaml.tmLanguage.json"},{id:"pascal",scopeName:"source.pascal",path:"pascal.tmLanguage.json"},{id:"perl",scopeName:"source.perl",path:"perl.tmLanguage.json",embeddedLangs:["html","xml","css","javascript","sql"]},{id:"php",scopeName:"source.php",path:"php.tmLanguage.json",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"plsql",scopeName:"source.plsql.oracle",path:"plsql.tmLanguage.json"},{id:"postcss",scopeName:"source.css.postcss",path:"postcss.tmLanguage.json"},{id:"powershell",scopeName:"source.powershell",path:"powershell.tmLanguage.json",aliases:["ps","ps1"]},{id:"prisma",scopeName:"source.prisma",path:"prisma.tmLanguage.json",samplePath:"prisma.sample"},{id:"prolog",scopeName:"source.prolog",path:"prolog.tmLanguage.json"},{id:"proto",scopeName:"source.proto",path:"proto.tmLanguage.json",samplePath:"proto.sample"},{id:"pug",scopeName:"text.pug",path:"pug.tmLanguage.json",aliases:["jade"],embeddedLangs:["javascript","css","sass","scss","stylus","coffee","html"]},{id:"puppet",scopeName:"source.puppet",path:"puppet.tmLanguage.json"},{id:"purescript",scopeName:"source.purescript",path:"purescript.tmLanguage.json"},{id:"python",scopeName:"source.python",path:"python.tmLanguage.json",samplePath:"python.sample",aliases:["py"]},{id:"r",scopeName:"source.r",path:"r.tmLanguage.json"},{id:"raku",scopeName:"source.perl.6",path:"raku.tmLanguage.json",aliases:["perl6"]},{id:"razor",scopeName:"text.aspnetcorerazor",path:"razor.tmLanguage.json",embeddedLangs:["html","csharp"]},{id:"rel",scopeName:"source.rel",path:"rel.tmLanguage.json",samplePath:"rel.sample"},{id:"riscv",scopeName:"source.riscv",path:"riscv.tmLanguage.json"},{id:"rst",scopeName:"source.rst",path:"rst.tmLanguage.json",embeddedLangs:["cpp","python","javascript","shellscript","yaml","cmake","ruby"]},{id:"ruby",scopeName:"source.ruby",path:"ruby.tmLanguage.json",samplePath:"ruby.sample",aliases:["rb"],embeddedLangs:["html","xml","sql","css","c","javascript","shellscript","lua"]},{id:"rust",scopeName:"source.rust",path:"rust.tmLanguage.json",aliases:["rs"]},{id:"sas",scopeName:"source.sas",path:"sas.tmLanguage.json",embeddedLangs:["sql"]},{id:"sass",scopeName:"source.sass",path:"sass.tmLanguage.json"},{id:"scala",scopeName:"source.scala",path:"scala.tmLanguage.json"},{id:"scheme",scopeName:"source.scheme",path:"scheme.tmLanguage.json"},{id:"scss",scopeName:"source.css.scss",path:"scss.tmLanguage.json",embeddedLangs:["css"]},{id:"shaderlab",scopeName:"source.shaderlab",path:"shaderlab.tmLanguage.json",aliases:["shader"],embeddedLangs:["hlsl"]},{id:"shellscript",scopeName:"source.shell",path:"shellscript.tmLanguage.json",aliases:["shell","bash","sh","zsh"]},{id:"smalltalk",scopeName:"source.smalltalk",path:"smalltalk.tmLanguage.json"},{id:"solidity",scopeName:"source.solidity",path:"solidity.tmLanguage.json"},{id:"sparql",scopeName:"source.sparql",path:"sparql.tmLanguage.json",samplePath:"sparql.sample",embeddedLangs:["turtle"]},{id:"sql",scopeName:"source.sql",path:"sql.tmLanguage.json"},{id:"ssh-config",scopeName:"source.ssh-config",path:"ssh-config.tmLanguage.json"},{id:"stata",scopeName:"source.stata",path:"stata.tmLanguage.json",samplePath:"stata.sample",embeddedLangs:["sql"]},{id:"stylus",scopeName:"source.stylus",path:"stylus.tmLanguage.json",aliases:["styl"]},{id:"svelte",scopeName:"source.svelte",path:"svelte.tmLanguage.json",embeddedLangs:["javascript","typescript","coffee","stylus","sass","css","scss","less","postcss","pug","markdown"]},{id:"swift",scopeName:"source.swift",path:"swift.tmLanguage.json"},{id:"system-verilog",scopeName:"source.systemverilog",path:"system-verilog.tmLanguage.json"},{id:"tasl",scopeName:"source.tasl",path:"tasl.tmLanguage.json",samplePath:"tasl.sample"},{id:"tcl",scopeName:"source.tcl",path:"tcl.tmLanguage.json"},{id:"tex",scopeName:"text.tex",path:"tex.tmLanguage.json",embeddedLangs:["r"]},{id:"toml",scopeName:"source.toml",path:"toml.tmLanguage.json"},{id:"tsx",scopeName:"source.tsx",path:"tsx.tmLanguage.json",samplePath:"tsx.sample"},{id:"turtle",scopeName:"source.turtle",path:"turtle.tmLanguage.json",samplePath:"turtle.sample"},{id:"twig",scopeName:"text.html.twig",path:"twig.tmLanguage.json",embeddedLangs:["css","javascript","php","python","ruby"]},{id:"typescript",scopeName:"source.ts",path:"typescript.tmLanguage.json",aliases:["ts"]},{id:"v",scopeName:"source.v",path:"v.tmLanguage.json",samplePath:"v.sample"},{id:"vb",scopeName:"source.asp.vb.net",path:"vb.tmLanguage.json",aliases:["cmd"]},{id:"verilog",scopeName:"source.verilog",path:"verilog.tmLanguage.json"},{id:"vhdl",scopeName:"source.vhdl",path:"vhdl.tmLanguage.json"},{id:"viml",scopeName:"source.viml",path:"viml.tmLanguage.json",aliases:["vim","vimscript"]},{id:"vue-html",scopeName:"text.html.vue-html",path:"vue-html.tmLanguage.json",embeddedLangs:["vue","javascript"]},{id:"vue",scopeName:"source.vue",path:"vue.tmLanguage.json",embeddedLangs:["html","markdown","pug","stylus","sass","css","scss","less","javascript","typescript","jsx","tsx","json","jsonc","yaml","toml","graphql"]},{id:"wasm",scopeName:"source.wat",path:"wasm.tmLanguage.json"},{id:"wenyan",scopeName:"source.wenyan",path:"wenyan.tmLanguage.json",aliases:["文言"]},{id:"xml",scopeName:"text.xml",path:"xml.tmLanguage.json",embeddedLangs:["java"]},{id:"xsl",scopeName:"text.xml.xsl",path:"xsl.tmLanguage.json",embeddedLangs:["xml"]},{id:"yaml",scopeName:"source.yaml",path:"yaml.tmLanguage.json"},{id:"zenscript",scopeName:"source.zenscript",path:"zenscript.tmLanguage.json",samplePath:"zenscript.sample"}];var Lo=(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",e))(Lo||{});class it{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=it.getLanguageId(t),r=it.getTokenType(t),s=it.getFontStyle(t),o=it.getForeground(t),i=it.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:s,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static getFontStyle(t){return(t&14336)>>>11}static getForeground(t){return(t&8372224)>>>15}static getBackground(t){return(t&4286578688)>>>24}static containsBalancedBrackets(t){return(t&1024)!==0}static set(t,n,r,s,o,i){let a=it.getLanguageId(t),l=it.getTokenType(t),c=it.getFontStyle(t),d=it.getForeground(t),u=it.getBackground(t),f=it.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),s!==-1&&(c=s),o!==0&&(d=o),i!==0&&(u=i),(a<<0|l<<8|c<<11|f<<10|d<<15|u<<24)>>>0}}function Fk(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function Bk(e){return e.startsWith("./")?e.slice(2):e}function Jp(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function Qp(...e){return e.map(Fk).map(Bk).join("/")}function Hk(e,t){const n=new Map;for(const r of e){const s=t(r);n.has(s)?n.get(s).push(r):n.set(s,[r])}return n}function Uk(e,t=!1){const n=e.length;let r=0,s="",o=0,i=16,a=0,l=0,c=0,d=0,u=0;function f(b,y){let x=0,m=0;for(;x<b||!y;){let T=e.charCodeAt(r);if(T>=48&&T<=57)m=m*16+T-48;else if(T>=65&&T<=70)m=m*16+T-65+10;else if(T>=97&&T<=102)m=m*16+T-97+10;else break;r++,x++}return x<b&&(m=-1),m}function h(b){r=b,s="",o=0,i=16,u=0}function p(){let b=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&ir(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&ir(e.charCodeAt(r)))for(r++;r<e.length&&ir(e.charCodeAt(r));)r++;else return u=3,e.substring(b,r);let y=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&ir(e.charCodeAt(r))){for(r++;r<e.length&&ir(e.charCodeAt(r));)r++;y=r}else u=3;return e.substring(b,y)}function v(){let b="",y=r;for(;;){if(r>=n){b+=e.substring(y,r),u=2;break}const x=e.charCodeAt(r);if(x===34){b+=e.substring(y,r),r++;break}if(x===92){if(b+=e.substring(y,r),r++,r>=n){u=2;break}switch(e.charCodeAt(r++)){case 34:b+='"';break;case 92:b+="\\";break;case 47:b+="/";break;case 98:b+="\b";break;case 102:b+="\f";break;case 110:b+=`
|
|
11
|
+
`;break;case 114:b+="\r";break;case 116:b+=" ";break;case 117:const T=f(4,!0);T>=0?b+=String.fromCharCode(T):u=4;break;default:u=5}y=r;continue}if(x>=0&&x<=31)if(rs(x)){b+=e.substring(y,r),u=2;break}else u=6;r++}return b}function w(){if(s="",u=0,o=r,l=a,d=c,r>=n)return o=n,i=17;let b=e.charCodeAt(r);if(ga(b)){do r++,s+=String.fromCharCode(b),b=e.charCodeAt(r);while(ga(b));return i=15}if(rs(b))return r++,s+=String.fromCharCode(b),b===13&&e.charCodeAt(r)===10&&(r++,s+=`
|
|
12
|
+
`),a++,c=r,i=14;switch(b){case 123:return r++,i=1;case 125:return r++,i=2;case 91:return r++,i=3;case 93:return r++,i=4;case 58:return r++,i=6;case 44:return r++,i=5;case 34:return r++,s=v(),i=10;case 47:const y=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!rs(e.charCodeAt(r));)r++;return s=e.substring(y,r),i=12}if(e.charCodeAt(r+1)===42){r+=2;const x=n-1;let m=!1;for(;r<x;){const T=e.charCodeAt(r);if(T===42&&e.charCodeAt(r+1)===47){r+=2,m=!0;break}r++,rs(T)&&(T===13&&e.charCodeAt(r)===10&&r++,a++,c=r)}return m||(r++,u=1),s=e.substring(y,r),i=13}return s+=String.fromCharCode(b),r++,i=16;case 45:if(s+=String.fromCharCode(b),r++,r===n||!ir(e.charCodeAt(r)))return i=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s+=p(),i=11;default:for(;r<n&&_(b);)r++,b=e.charCodeAt(r);if(o!==r){switch(s=e.substring(o,r),s){case"true":return i=8;case"false":return i=9;case"null":return i=7}return i=16}return s+=String.fromCharCode(b),r++,i=16}}function _(b){if(ga(b)||rs(b))return!1;switch(b){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function g(){let b;do b=w();while(b>=12&&b<=15);return b}return{setPosition:h,getPosition:()=>r,scan:t?g:w,getToken:()=>i,getTokenValue:()=>s,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>l,getTokenStartCharacter:()=>o-d,getTokenError:()=>u}}function ga(e){return e===32||e===9}function rs(e){return e===10||e===13}function ir(e){return e>=48&&e<=57}var Of;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(Of||(Of={}));var ni;(function(e){e.DEFAULT={allowTrailingComma:!1}})(ni||(ni={}));function Vk(e,t=[],n=ni.DEFAULT){let r=null,s=[];const o=[];function i(l){Array.isArray(s)?s.push(l):r!==null&&(s[r]=l)}return Wk(e,{onObjectBegin:()=>{const l={};i(l),o.push(s),s=l,r=null},onObjectProperty:l=>{r=l},onObjectEnd:()=>{s=o.pop()},onArrayBegin:()=>{const l=[];i(l),o.push(s),s=l,r=null},onArrayEnd:()=>{s=o.pop()},onLiteralValue:i,onError:(l,c,d)=>{t.push({error:l,offset:c,length:d})}},n),s[0]}function Wk(e,t,n=ni.DEFAULT){const r=Uk(e,!1),s=[];function o(S){return S?()=>S(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function i(S){return S?()=>S(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>s.slice()):()=>!0}function a(S){return S?R=>S(R,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function l(S){return S?R=>S(R,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>s.slice()):()=>!0}const c=i(t.onObjectBegin),d=l(t.onObjectProperty),u=o(t.onObjectEnd),f=i(t.onArrayBegin),h=o(t.onArrayEnd),p=l(t.onLiteralValue),v=a(t.onSeparator),w=o(t.onComment),_=a(t.onError),g=n&&n.disallowComments,b=n&&n.allowTrailingComma;function y(){for(;;){const S=r.scan();switch(r.getTokenError()){case 4:x(14);break;case 5:x(15);break;case 3:x(13);break;case 1:g||x(11);break;case 2:x(12);break;case 6:x(16);break}switch(S){case 12:case 13:g?x(10):w();break;case 16:x(1);break;case 15:case 14:break;default:return S}}}function x(S,R=[],P=[]){if(_(S),R.length+P.length>0){let C=r.getToken();for(;C!==17;){if(R.indexOf(C)!==-1){y();break}else if(P.indexOf(C)!==-1)break;C=y()}}}function m(S){const R=r.getTokenValue();return S?p(R):(d(R),s.push(R)),y(),!0}function T(){switch(r.getToken()){case 11:const S=r.getTokenValue();let R=Number(S);isNaN(R)&&(x(2),R=0),p(R);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return y(),!0}function E(){return r.getToken()!==10?(x(3,[],[2,5]),!1):(m(!1),r.getToken()===6?(v(":"),y(),$()||x(4,[],[2,5])):x(5,[],[2,5]),s.pop(),!0)}function k(){c(),y();let S=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(S||x(4,[],[]),v(","),y(),r.getToken()===2&&b)break}else S&&x(6,[],[]);E()||x(4,[],[2,5]),S=!0}return u(),r.getToken()!==2?x(7,[2],[]):y(),!0}function A(){f(),y();let S=!0,R=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(R||x(4,[],[]),v(","),y(),r.getToken()===4&&b)break}else R&&x(6,[],[]);S?(s.push(0),S=!1):s[s.length-1]++,$()||x(4,[],[4,5]),R=!0}return h(),S||s.pop(),r.getToken()!==4?x(8,[4],[]):y(),!0}function $(){switch(r.getToken()){case 3:return A();case 1:return k();case 10:return m(!0);default:return T()}}return y(),r.getToken()===17?n.allowEmptyContent?!0:(x(4,[],[]),!1):$()?(r.getToken()!==17&&x(9,[],[]),!0):(x(4,[],[]),!1)}var Lf;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(Lf||(Lf={}));var Cf;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(Cf||(Cf={}));const Gk=Vk;var If;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(If||(If={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let Zp="";const zk="dist/";function qk(e){Zp=e.endsWith("/")?e:e+"/"}let va=null;async function Kk(e){if(!va){let t;t=Ps.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(em(Qp(...Jp(e),"onig.wasm")))}),va=t.then(()=>({createOnigScanner(n){return Ps.createOnigScanner(n)},createOnigString(n){return Ps.createOnigString(n)}}))}return va}function em(e){return`${Zp}${e}`}async function Xk(e){const t=em(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function tm(e){const t=[],n=Gk(await Xk(e),t,{allowTrailingComma:!0});if(t.length)throw t[0];return n}async function nm(e){let t=await tm(e);const n=rm(t);if(n.include){const r=await nm(Qp(...Jp(e),n.include));r.settings&&(n.settings=r.settings.concat(n.settings)),r.bg&&!n.bg&&(n.bg=r.bg),r.colors&&(n.colors={...r.colors,...n.colors}),delete n.include}return n}async function Yk(e){return await tm(e)}function Jk(e){e.settings||(e.settings=[]),!(e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope)&&e.settings.unshift({settings:{foreground:e.fg,background:e.bg}})}function rm(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...Qk(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),Jk(n),n}const jf={light:"#333333",dark:"#bbbbbb"},Mf={light:"#fffffe",dark:"#1e1e1e"};function Qk(e){let t,n,r=e.settings?e.settings:e.tokenColors;const s=r?r.find(o=>!o.name&&!o.scope):void 0;return s?.settings?.foreground&&(t=s.settings.foreground),s?.settings?.background&&(n=s.settings.background),!t&&e?.colors?.["editor.foreground"]&&(t=e.colors["editor.foreground"]),!n&&e?.colors?.["editor.background"]&&(n=e.colors["editor.background"]),t||(t=e.type==="light"?jf.light:jf.dark),n||(n=e.type==="light"?Mf.light:Mf.dark),{fg:t,bg:n}}class Zk{constructor(t,n){this.languagesPath="languages/",this.languageMap={},this.scopeToLangMap={},this._onigLibPromise=t,this._onigLibName=n}get onigLib(){return this._onigLibPromise}getOnigLibName(){return this._onigLibName}getLangRegistration(t){return this.languageMap[t]}async loadGrammar(t){const n=this.scopeToLangMap[t];if(!n)return null;if(n.grammar)return n.grammar;const r=await Yk(Ii.includes(n)?`${this.languagesPath}${n.path}`:n.path);return n.grammar=r,r}addLanguage(t){this.languageMap[t.id]=t,t.aliases&&t.aliases.forEach(n=>{this.languageMap[n]=t}),this.scopeToLangMap[t.scopeName]=t}}function e$(e,t,n,r,s){let o=n.split(/\r\n|\r|\n/),i=ti.INITIAL,a=[],l=[];for(let c=0,d=o.length;c<d;c++){let u=o[c];if(u===""){a=[],l.push([]);continue}let f,h,p;s.includeExplanation&&(f=r.tokenizeLine(u,i),h=f.tokens,p=0);let v=r.tokenizeLine2(u,i),w=v.tokens.length/2;for(let _=0;_<w;_++){let g=v.tokens[2*_],b=_+1<w?v.tokens[2*_+2]:u.length;if(g===b)continue;let y=v.tokens[2*_+1],x=it.getForeground(y),m=t[x],T=it.getFontStyle(y),E=[];if(s.includeExplanation){let k=0;for(;g+k<b;){let A=h[p],$=u.substring(A.startIndex,A.endIndex);k+=$.length,E.push({content:$,scopes:t$(e,A.scopes)}),p++}}a.push({content:u.substring(g,b),color:m,fontStyle:T,explanation:E})}l.push(a),a=[],i=v.ruleStack}return l}function t$(e,t){let n=[];for(let r=0,s=t.length;r<s;r++){let o=t.slice(0,r),i=t[r];n[r]={scopeName:i,themeMatches:r$(e,i,o)}}return n}function Df(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function n$(e,t,n,r){if(!Df(e,n))return!1;let s=t.length-1,o=r.length-1;for(;s>=0&&o>=0;)Df(t[s],r[o])&&s--,o--;return s===-1}function r$(e,t,n){let r=[],s=0;for(let o=0,i=e.settings.length;o<i;o++){let a=e.settings[o],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,d=l.length;c<d;c++){let f=l[c].split(/ /),h=f[f.length-1],p=f.slice(0,f.length-1);n$(h,p,t,n)&&(r[s++]=a,c=d)}}return r}const s$={pre({className:e,style:t,children:n}){return`<pre class="${e}" style="${t}">${n}</pre>`},code({children:e}){return`<code>${e}</code>`},line({className:e,children:t}){return`<span class="${e}">${t}</span>`},token({style:e,children:t}){return`<span style="${e}">${t}</span>`}};function o$(e,t={}){const n=t.bg||"#fff",r=Hk(t.lineOptions??[],i=>i.line),s=t.elements||{};function o(i="",a={},l){const c=s[i]||s$[i];return c?(l=l.filter(Boolean),c({...a,children:i==="code"?l.join(`
|
|
13
|
+
`):l.join("")})):""}return o("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${n}`},[t.langId?`<div class="language-id">${t.langId}</div>`:"",o("code",{},e.map((i,a)=>{const l=a+1,c=r.get(l)??[],d=l$(c).join(" ");return o("line",{className:d,lines:e,line:i,index:a},i.map((u,f)=>{const h=[`color: ${u.color||t.fg}`];return u.fontStyle&Lo.Italic&&h.push("font-style: italic"),u.fontStyle&Lo.Bold&&h.push("font-weight: bold"),u.fontStyle&Lo.Underline&&h.push("text-decoration: underline"),o("token",{style:h.join("; "),tokens:i,token:u,index:f},[a$(u.content)])}))}))])}const i$={"&":"&","<":"<",">":">",'"':""","'":"'"};function a$(e){return e.replace(/[&<>"']/g,t=>i$[t])}function l$(e){const t=new Set(["line"]);for(const n of e)for(const r of n.classes??[])t.add(r);return Array.from(t)}class c$ extends ti.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=Ii.reduce((n,r)=>(n[r.id]=r,n),{})}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:t}async loadTheme(t){return typeof t=="string"?(this._resolvedThemes[t]||(this._resolvedThemes[t]=await nm(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=rm(t),t.name&&(this._resolvedThemes[t.name]=t),t)}async loadThemes(t){return await Promise.all(t.map(n=>this.loadTheme(n)))}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){return this._resolvedGrammars[t]}async loadLanguage(t){const r={embeddedLanguages:t.embeddedLangs?.reduce(async(o,i,a)=>{if(!this.getLoadedLanguages().includes(i)&&this._resolver.getLangRegistration(i))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(i).scopeName),o[this._resolver.getLangRegistration(i).scopeName]=a+2,o},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},s=await this.loadGrammarWithConfiguration(t.scopeName,1,r);this._resolvedGrammars[t.id]=s,t.aliases&&t.aliases.forEach(o=>{this._resolvedGrammars[o]=s})}async loadLanguages(t){for(const r of t)this.resolveEmbeddedLanguages(r);const n=Array.from(this._langGraph.values());for(const r of n)this._resolver.addLanguage(r);for(const r of n)await this.loadLanguage(r)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(t){if(this._langGraph.has(t.id)||this._langGraph.set(t.id,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}function sm(e){return typeof e=="string"?Ii.find(t=>t.id===e||t.aliases?.includes(e)):e}function u$(e){let t=Ii,n=e.themes||[],r=e.paths?.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":zk;return e.langs&&(t=e.langs.map(sm)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:r}}async function f$(e){const{_languages:t,_themes:n,_wasmPath:r}=u$(e),s=new Zk(Kk(r),"vscode-oniguruma"),o=new c$(s);e.paths?.themes&&(o.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),e.paths?.languages&&(s.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const a=(await o.loadThemes(n))[0];let l;await o.loadLanguages(t);let c={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};function d(m){c=m}function u(m,T){m.bg=c[m.bg]||m.bg,m.fg=c[m.fg]||m.fg,T.forEach((E,k)=>{T[k]=c[E]||E})}function f(m){const T=m?o.getTheme(m):a;if(!T)throw Error(`No theme registration for ${m}`);(!l||l.name!==T.name)&&(o.setTheme(T),l=T);const E=o.getColorMap();return T.type==="css"&&u(T,E),{_theme:T,_colorMap:E}}function h(m){const T=o.getGrammar(m);if(!T)throw Error(`No language registration for ${m}`);return{_grammar:T}}function p(m,T="text",E,k={includeExplanation:!0}){if(d$(T))return[...m.split(/\r\n|\r|\n/).map(P=>[{content:P}])];const{_grammar:A}=h(T),{_theme:$,_colorMap:S}=f(E);return e$($,S,m,A,k)}function v(m,T="text",E){let k;typeof T=="object"?k=T:k={lang:T,theme:E};const A=p(m,k.lang,k.theme,{includeExplanation:!1}),{_theme:$}=f(k.theme);return o$(A,{fg:$.fg,bg:$.bg,lineOptions:k?.lineOptions,themeName:$.name})}async function w(m){await o.loadTheme(m)}async function _(m){const T=sm(m);s.addLanguage(T),await o.loadLanguage(T)}function g(){return o.getLoadedThemes()}function b(){return o.getLoadedLanguages()}function y(m){const{_theme:T}=f(m);return T.bg}function x(m){const{_theme:T}=f(m);return T.fg}return{codeToThemedTokens:p,codeToHtml:v,getTheme:m=>f(m)._theme,loadTheme:w,loadLanguage:_,getBackgroundColor:y,getForegroundColor:x,getLoadedThemes:g,getLoadedLanguages:b,setColorReplacements:d}}function d$(e){return!e||["plaintext","txt","text"].includes(e)}const h$="0.2.0";qk(`https://cdn.jsdelivr.net/npm/shiki-es@${h$}/dist/assets/`);const $o=te();let Ff=null;function p$(e,t){const n=Ci();!Ff&&!$o.value&&(Ff=f$({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(s=>{$o.value=s}));const r=$o.value?.getLoadedLanguages().includes(t);return r?{code:$o.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}),supported:!0}:{code:e,supported:r}}function tt(){return Mr("devtools-client")}function V2(){const e=tt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function om(){const e=tt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function W2(){const e=tt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function m$(){return Mr("devtools-component-inspector-data")}const im=te(!1);setTimeout(()=>{im.value=!0},2e3);const g$=pe(()=>im.value&&!tt().value);function v$(){const e=tt(),t=Ci();return pe(()=>({host:e.value,devtools:{rpc:Fe,colorMode:t.value,renderCodeHighlight(n,r){return p$(n,r)},renderMarkdown(n){return jk(n)},extendClientRpc(n,r){return Dp.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return Fe[`${n}:${o}`]}})}}}))}const ss={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=tt();return()=>!!e.value}},os={icon:"carbon-information",title:"Overview",order:-100},is={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=tt();return()=>!!e.value},order:1},as={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=tt();return()=>!!e.value},order:7},ls={icon:"carbon-plug",title:"Plugins",category:"analyze"},cs={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=tt();return()=>!!e.value},order:6},_$="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function y$(e=16,t=_$){let n="",r=e;const s=t.length;for(;r--;)n+=t[Math.random()*s|0];return n}function am(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}function lm(){return pt("getServerPages",()=>Fe.getServerPages())}function b$(){return pt("getServerRoutes",()=>Fe.getServerRoutes())}function G2(){return pt("getServerHooks",()=>Fe.getServerHooks())}function z2(){return pt("getServerLayouts",()=>Fe.getServerLayouts())}function q2(){return pt("getAutoImports",()=>Fe.getAutoImports())}function K2(){return pt("getStaticAssets",()=>Fe.getStaticAssets())}function w$(){return pt("getServerConfig",()=>Fe.getServerConfig())}function X2(){return pt("getServerApp",()=>Fe.getServerApp())}function E$(){return pt("getCustomTabs",()=>Fe.getCustomTabs())}function Bf(){return pt("getTerminals",()=>Fe.getTerminals())}function Y2(){return pt("getAnalyzeBuildInfo",()=>Fe.getAnalyzeBuildInfo())}function x$(){const{data:e}=$1("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function J2(){const e=lm(),t=om();return pe(()=>(t.value?.getRoutes()||[]).map(n=>am(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const us={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=b$();return()=>e.value?.length}},fs={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},ds={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=Bf();return()=>!!e.value?.length},badge(){const e=Bf();return()=>e.value?.filter(t=>!t.isTerminated).length}},hs={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},ps={layout:"full"},Hf=[{name:Gr?.name??"__blank",path:Gr?.path??"/__blank",meta:Gr||{},alias:Gr?.alias||[],redirect:Gr?.redirect||void 0,component:()=>Re(()=>import("./__blank.58b4eaa9.js"),["./__blank.58b4eaa9.js","./NPanelGrids.cfd60e85.js"],import.meta.url).then(e=>e.default||e)},{name:zr?.name??"index",path:zr?.path??"/",meta:zr||{},alias:zr?.alias||[],redirect:zr?.redirect||void 0,component:()=>Re(()=>import("./index.98d48447.js"),["./index.98d48447.js","./Badge.e05fc69f.js"],import.meta.url).then(e=>e.default||e)},{name:Xr?.name??"modules-analyze-build",path:Xr?.path??"/modules/analyze-build",meta:Xr||{},alias:Xr?.alias||[],redirect:Xr?.redirect||void 0,component:()=>Re(()=>import("./analyze-build.66f9bc20.js"),["./analyze-build.66f9bc20.js","./FilepathItem.vue.7520a5eb.js","./NPanelGrids.cfd60e85.js","./PanelLeftRight.vue.d1539d19.js","./NTip.vue.d602d31e.js","./NCodeBlock.vue.12f6d4d2.js","./client.1e3208e3.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.660c8c34.js","./HelpFab.vue.6c2e0089.js","./NIconButton.vue.9dc5b644.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Yr?.name??"modules-assets",path:Yr?.path??"/modules/assets",meta:Yr||{},alias:Yr?.alias||[],redirect:Yr?.redirect||void 0,component:()=>Re(()=>import("./assets.b60a4d67.js"),["./assets.b60a4d67.js","./NIconButton.vue.9dc5b644.js","./Navbar.vue.72301b0e.js","./NSectionBlock.216523d8.js","./NIconTitle.vue.0db956c8.js","./NSectionBlock.012f83f1.css","./FilepathItem.vue.7520a5eb.js","./CodeSnippets.vue.a1fe908d.js","./NCodeBlock.vue.12f6d4d2.js","./client.1e3208e3.js","./NCodeBlock.cf3ce05b.css","./DrawerRight.vue.3adebf89.js","./constants.d7bcda3c.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:Jr?.name??"modules-components",path:Jr?.path??"/modules/components",meta:Jr||{},alias:Jr?.alias||[],redirect:Jr?.redirect||void 0,component:()=>Re(()=>import("./components.3a437d73.js"),["./components.3a437d73.js","./NIconButton.vue.9dc5b644.js","./HelpFab.vue.6c2e0089.js","./HelpFab.f179afc3.css","./state-components.493c1b8d.js","./NCheckbox.vue.660c8c34.js","./Navbar.vue.72301b0e.js","./Badge.e05fc69f.js","./FilepathItem.vue.7520a5eb.js","./DrawerRight.vue.3adebf89.js","./NSectionBlock.216523d8.js","./NIconTitle.vue.0db956c8.js","./NSectionBlock.012f83f1.css","./constants.d7bcda3c.js"],import.meta.url).then(e=>e.default||e)},{name:Qr?.name??"modules-custom-name",path:Qr?.path??"/modules/custom-:name()",meta:Qr||{},alias:Qr?.alias||[],redirect:Qr?.redirect||void 0,component:()=>Re(()=>import("./custom-_name_.1614dd97.js"),["./custom-_name_.1614dd97.js","./NPanelGrids.cfd60e85.js","./AuthRequiredPanel.vue.fc7f2968.js","./NIconButton.vue.9dc5b644.js","./LaunchPage.vue.ace7e996.js","./NMarkdown.vue.31d61f61.js","./client.1e3208e3.js"],import.meta.url).then(e=>e.default||e)},{name:Zr?.name??"modules-hooks",path:Zr?.path??"/modules/hooks",meta:Zr||{},alias:Zr?.alias||[],redirect:Zr?.redirect||void 0,component:()=>Re(()=>import("./hooks.7a294c4b.js"),["./hooks.7a294c4b.js","./DurationDisplay.vue.c6aa67b3.js","./NSectionBlock.216523d8.js","./NIconTitle.vue.0db956c8.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.6c2e0089.js","./NIconButton.vue.9dc5b644.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:es?.name??"modules-imports",path:es?.path??"/modules/imports",meta:es||{},alias:es?.alias||[],redirect:es?.redirect||void 0,component:()=>Re(()=>import("./imports.8b3c700a.js"),["./imports.8b3c700a.js","./NSwitch.vue.4e114eb7.js","./Navbar.vue.72301b0e.js","./FilepathItem.vue.7520a5eb.js","./NMarkdown.vue.31d61f61.js","./client.1e3208e3.js","./constants.d7bcda3c.js","./NSectionBlock.216523d8.js","./NIconTitle.vue.0db956c8.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.6c2e0089.js","./NIconButton.vue.9dc5b644.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ts?.name??"modules-middleware",path:ts?.path??"/modules/middleware",meta:ts||{},alias:ts?.alias||[],redirect:ts?.redirect||void 0,component:()=>Re(()=>import("./middleware.c2f916df.js"),[],import.meta.url).then(e=>e.default||e)},{name:ns?.name??"modules-modules",path:ns?.path??"/modules/modules",meta:ns||{},alias:ns?.alias||[],redirect:ns?.redirect||void 0,component:()=>Re(()=>import("./modules.a1aceff5.js"),["./modules.a1aceff5.js","./FilepathItem.vue.7520a5eb.js","./state-modules.c72270b1.js","./Badge.e05fc69f.js","./NCodeBlock.vue.12f6d4d2.js","./client.1e3208e3.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.660c8c34.js","./NTip.vue.d602d31e.js","./NSectionBlock.216523d8.js","./NIconTitle.vue.0db956c8.js","./NSectionBlock.012f83f1.css","./NIconButton.vue.9dc5b644.js","./NLink.vue.f3f95732.js","./HelpFab.vue.6c2e0089.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ss?.name??"modules-open-graph",path:ss?.path??"/modules/open-graph",meta:ss||{},alias:ss?.alias||[],redirect:ss?.redirect||void 0,component:()=>Re(()=>import("./open-graph.f68f3562.js"),["./open-graph.f68f3562.js","./NIconButton.vue.9dc5b644.js","./Navbar.vue.72301b0e.js","./NLink.vue.f3f95732.js","./NSectionBlock.216523d8.js","./NIconTitle.vue.0db956c8.js","./NSectionBlock.012f83f1.css","./NCodeBlock.vue.12f6d4d2.js","./client.1e3208e3.js","./NCodeBlock.cf3ce05b.css","./HelpFab.vue.6c2e0089.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:os?.name??"modules-overview",path:os?.path??"/modules/overview",meta:os||{},alias:os?.alias||[],redirect:os?.redirect||void 0,component:()=>Re(()=>import("./overview.9fbd51a4.js"),["./overview.9fbd51a4.js","./Badge.e05fc69f.js","./state-modules.c72270b1.js","./NCodeBlock.vue.12f6d4d2.js","./client.1e3208e3.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.660c8c34.js","./NTip.vue.d602d31e.js","./NPanelGrids.cfd60e85.js","./state-components.493c1b8d.js"],import.meta.url).then(e=>e.default||e)},{name:is?.name??"modules-pages",path:is?.path??"/modules/pages",meta:is||{},alias:is?.alias||[],redirect:is?.redirect||void 0,component:()=>Re(()=>import("./pages.8b6a187c.js"),["./pages.8b6a187c.js","./Badge.e05fc69f.js","./FilepathItem.vue.7520a5eb.js","./NSectionBlock.216523d8.js","./NIconTitle.vue.0db956c8.js","./NSectionBlock.012f83f1.css","./LaunchPage.vue.ace7e996.js","./NMarkdown.vue.31d61f61.js","./client.1e3208e3.js","./NPanelGrids.cfd60e85.js","./HelpFab.vue.6c2e0089.js","./NIconButton.vue.9dc5b644.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:as?.name??"modules-payload",path:as?.path??"/modules/payload",meta:as||{},alias:as?.alias||[],redirect:as?.redirect||void 0,component:()=>Re(()=>import("./payload.5851379a.js"),["./payload.5851379a.js","./StateEditor.vue.c8fd02b3.js","./NIconButton.vue.9dc5b644.js","./json-editor-vue.9acffc14.js","./NSectionBlock.216523d8.js","./NIconTitle.vue.0db956c8.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.6c2e0089.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ls?.name??"modules-plugins",path:ls?.path??"/modules/plugins",meta:ls||{},alias:ls?.alias||[],redirect:ls?.redirect||void 0,component:()=>Re(()=>import("./plugins.20750545.js"),["./plugins.20750545.js","./FilepathItem.vue.7520a5eb.js","./Badge.e05fc69f.js","./DurationDisplay.vue.c6aa67b3.js","./NSectionBlock.216523d8.js","./NIconTitle.vue.0db956c8.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.6c2e0089.js","./NIconButton.vue.9dc5b644.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:cs?.name??"modules-runtime-configs",path:cs?.path??"/modules/runtime-configs",meta:cs||{},alias:cs?.alias||[],redirect:cs?.redirect||void 0,component:()=>Re(()=>import("./runtime-configs.ce330378.js"),["./runtime-configs.ce330378.js","./StateEditor.vue.c8fd02b3.js","./NIconButton.vue.9dc5b644.js","./json-editor-vue.9acffc14.js","./NSectionBlock.216523d8.js","./NIconTitle.vue.0db956c8.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.6c2e0089.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:us?.name??"modules-server-routes",path:us?.path??"/modules/server-routes",meta:us||{},alias:us?.alias||[],redirect:us?.redirect||void 0,component:()=>Re(()=>import("./server-routes.08ebdd45.js"),["./server-routes.08ebdd45.js","./Navbar.vue.72301b0e.js","./Badge.e05fc69f.js","./NSelect.vue.38f0d91b.js","./CodeSnippets.vue.a1fe908d.js","./NCodeBlock.vue.12f6d4d2.js","./client.1e3208e3.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.660c8c34.js","./NPanelGrids.cfd60e85.js","./constants.d7bcda3c.js","./json-editor-vue.9acffc14.js","./PanelLeftRight.vue.d1539d19.js"],import.meta.url).then(e=>e.default||e)},{name:fs?.name??"modules-storage",path:fs?.path??"/modules/storage",meta:fs||{},alias:fs?.alias||[],redirect:fs?.redirect||void 0,component:()=>Re(()=>import("./storage.d37c76d1.js"),["./storage.d37c76d1.js","./NIconButton.vue.9dc5b644.js","./NSelect.vue.38f0d91b.js","./NLink.vue.f3f95732.js","./NPanelGrids.cfd60e85.js","./PanelLeftRight.vue.d1539d19.js","./FilepathItem.vue.7520a5eb.js","./json-editor-vue.9acffc14.js","./AuthRequiredPanel.vue.fc7f2968.js"],import.meta.url).then(e=>e.default||e)},{name:ds?.name??"modules-terminals",path:ds?.path??"/modules/terminals",meta:ds||{},alias:ds?.alias||[],redirect:ds?.redirect||void 0,component:()=>Re(()=>import("./terminals.714ad795.js"),["./terminals.714ad795.js","./NIconButton.vue.9dc5b644.js","./AuthRequiredPanel.vue.fc7f2968.js","./NPanelGrids.cfd60e85.js","./terminals.ae8c3544.css"],import.meta.url).then(e=>e.default||e)},{name:hs?.name??"modules-virtual-files",path:hs?.path??"/modules/virtual-files",meta:hs||{},alias:hs?.alias||[],redirect:hs?.redirect||void 0,component:()=>Re(()=>import("./virtual-files.7bf5357c.js"),["./virtual-files.7bf5357c.js","./Navbar.vue.72301b0e.js","./NCodeBlock.vue.12f6d4d2.js","./client.1e3208e3.js","./NCodeBlock.cf3ce05b.css","./NPanelGrids.cfd60e85.js","./PanelLeftRight.vue.d1539d19.js","./HelpFab.vue.6c2e0089.js","./NIconButton.vue.9dc5b644.js","./HelpFab.f179afc3.css","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:ps?.name??"settings",path:ps?.path??"/settings",meta:ps||{},alias:ps?.alias||[],redirect:ps?.redirect||void 0,component:()=>Re(()=>import("./settings.63ba52d8.js"),["./settings.63ba52d8.js","./NIconTitle.vue.0db956c8.js","./NSwitch.vue.4e114eb7.js","./NIconButton.vue.9dc5b644.js","./NSelect.vue.38f0d91b.js","./NCheckbox.vue.660c8c34.js"],import.meta.url).then(e=>e.default||e)}],T$={scrollBehavior(e,t,n){const r=Pe();let s=n||void 0;if(!s&&t&&e&&e.meta.scrollToTop!==!1&&k$(t,e)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Uf(e.hash)}}const o=a=>!!(a.meta.pageTransition??Ua),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(a=>{r.hooks.hookOnce(i,async()=>{await wt(),e.hash&&(s={el:e.hash,top:Uf(e.hash)}),a(s)})})}};function Uf(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function k$(e,t){const n=t.matched.every((r,s)=>r.components?.default===e.matched[s]?.components?.default);return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const $$={},un={...$$,...T$},S$=async e=>{let t,n;if(!e.meta?.validate)return;const r=Pe(),s=st();if(([t,n]=qo(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Si({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=s.beforeResolve(l=>{if(a(),l===e){const c=s.afterEach(async()=>{c(),await r.runWithContext(()=>cr(i)),window.history.pushState({},"",e.fullPath)});return!1}})},A$=ic("nuxt-devtools-first-visit",!0),R$=ic("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0}),P$=ic("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1}),ji=te(await Fe.getOptions("ui")),N$=tw(ji);Be(ji,async e=>{Fe.updateOptions("ui",e)},{deep:!0,flush:"post"});Kn(()=>{R$.value.closeOnOutsideClick=ji.value.interactionCloseOnOutsideClick});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(ji.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function Mi(){return N$}function Q2(){return P$}const O$=e=>{if(e.path==="/"&&!A$.value)return ap("/modules/overview")},Co=[S$,O$],nl={};function L$(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const l=o.includes(e.slice(i))?e.slice(i).length:1;let c=o.slice(l);return c[0]!=="/"&&(c="/"+c),cu(c,"")}const a=n||cu(r,e);return a+(a.includes("?")?"":s)+o}const C$=Lt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Yl().app.baseURL;un.hashMode&&!r.includes("#")&&(r+="#");const s=un.history?.(r)??(un.hashMode?xb(r):up(r)),o=un.routes?.(Hf)??Hf;let i;const a=L$(r,window.location,e.payload.path),l=i1({...un,scrollBehavior:(v,w,_)=>{if(w===Dt){i=_;return}return l.options.scrollBehavior=un.scrollBehavior,un.scrollBehavior?.(v,Dt,i||_)},history:s,routes:o});e.vueApp.use(l);const c=qn(l.currentRoute.value);l.afterEach((v,w)=>{c.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const d=qn(l.resolve(a)),u=()=>{d.value=l.currentRoute.value};e.hook("page:finish",u),l.afterEach((v,w)=>{v.matched[0]?.components?.default===w.matched[0]?.components?.default&&u()});const f={};for(const v in d.value)f[v]=pe(()=>d.value[v]);e._route=ut(f),e._middleware=e._middleware||{global:[],named:{}};const h=$i();try{[t,n]=qo(()=>l.isReady()),await t,n()}catch(v){[t,n]=qo(()=>e.runWithContext(()=>cr(v))),await t,n()}const p=Mr("_layout");return l.beforeEach(async(v,w)=>{v.meta=ut(v.meta),e.isHydrating&&p.value&&!zn(v.meta.layout)&&(v.meta.layout=p.value),e._processingMiddleware=!0;{const _=new Set([...Co,...e._middleware.global]);for(const g of v.matched){const b=g.meta.middleware;if(b)if(Array.isArray(b))for(const y of b)_.add(y);else _.add(b)}for(const g of _){const b=typeof g=="string"?e._middleware.named[g]||await nl[g]?.().then(x=>x.default||x):g;if(!b)throw new Error(`Unknown route middleware: '${g}'.`);const y=await e.runWithContext(()=>b(v,w));if(!e.payload.serverRendered&&e.isHydrating&&(y===!1||y instanceof Error)){const x=y||Ga({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>cr(x)),!1}if(y||y===!1)return y}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(v,w,_)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(rb),v.matched.length===0&&await e.runWithContext(()=>cr(Ga({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=un.scrollBehavior}catch(v){await e.runWithContext(()=>cr(v))}}),{provide:{router:l}}}}),I$=Lt({name:"nuxt:global-components"}),j$=Lt({name:"nuxt:head",setup(e){const n=M0();n.push(U0),e.vueApp.use(n);{let r=!0;const s=()=>{r=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!r}),e.hooks.hook("page:start",()=>{r=!0}),e.hooks.hook("page:finish",s),e.hooks.hook("app:suspense:resolve",s)}}}),ur={default:ws(()=>Re(()=>import("./default.a69a326f.js"),[],import.meta.url).then(e=>e.default||e)),full:ws(()=>Re(()=>import("./full.1f3e7ba7.js"),[],import.meta.url).then(e=>e.default||e)),none:ws(()=>Re(()=>import("./none.bf6672f1.js"),[],import.meta.url).then(e=>e.default||e))},M$=Lt({name:"nuxt:prefetch",setup(e){const t=st();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof ur[r]=="function"&&await ur[r]()})}),e.hooks.hook("link:prefetch",n=>{if(jr(n))return;const r=t.resolve(n);if(!r)return;const s=r?.meta?.layout;let o=Array.isArray(r?.meta?.middleware)?r?.meta?.middleware:[r?.meta?.middleware];o=o.filter(i=>typeof i=="string");for(const i of o)typeof nl[i]=="function"&&nl[i]();s&&typeof ur[s]=="function"&&ur[s]()})}}),D$="__NUXT_COLOR_MODE__",F$="ColorScheme",B$="nuxt-color-mode",Kt=window[D$],H$=Lt(e=>{const t=Mr("color-mode",()=>ut({preference:Kt.preference,value:Kt.value,unknown:!1,forced:!1})).value;st().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"?Kt.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=Kt.getColorScheme())}))}Be(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=Kt.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(B$,s))},{immediate:!0}),Be(()=>t.value,(s,o)=>{Kt.removeColorScheme(o),Kt.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Kt.preference,t.value=Kt.value,t.unknown=!1)}),e.provide("colorMode",t)});const U$=Lt(()=>{}),V$=Lt({name:"nuxt:chunk-reload",setup(e){const t=st(),n=Yl(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)}),t.onError((s,o)=>{if(r.has(s)){const a="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:eo(n.app.baseURL,o.fullPath);S1({path:a,persistState:!0})}})}}),W$=Lt({name:"nuxt:payload",setup(e){K0()&&(e.hooks.hook("link:prefetch",async t=>{to(t).protocol||await yu(t)}),st().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await yu(t.path);r&&Object.assign(e.static.data,r.data)}))}});function kt(e){return e.split("-")[1]}function mc(e){return e==="y"?"height":"width"}function Vt(e){return e.split("-")[0]}function Fr(e){return["top","bottom"].includes(Vt(e))?"x":"y"}function Vf(e,t,n){let{reference:r,floating:s}=e;const o=r.x+r.width/2-s.width/2,i=r.y+r.height/2-s.height/2,a=Fr(t),l=mc(a),c=r[l]/2-s[l]/2,d=a==="x";let u;switch(Vt(t)){case"top":u={x:o,y:r.y-s.height};break;case"bottom":u={x:o,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:i};break;case"left":u={x:r.x-s.width,y:i};break;default:u={x:r.x,y:r.y}}switch(kt(t)){case"start":u[a]-=c*(n&&d?-1:1);break;case"end":u[a]+=c*(n&&d?-1:1)}return u}const G$=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:d,y:u}=Vf(c,r,l),f=r,h={},p=0;for(let v=0;v<a.length;v++){const{name:w,fn:_}=a[v],{x:g,y:b,data:y,reset:x}=await _({x:d,y:u,initialPlacement:r,placement:f,strategy:s,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});d=g??d,u=b??u,h={...h,[w]:{...h[w],...y}},x&&p<=50&&(p++,typeof x=="object"&&(x.placement&&(f=x.placement),x.rects&&(c=x.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):x.rects),{x:d,y:u}=Vf(c,f,l)),v=-1)}return{x:d,y:u,placement:f,strategy:s,middlewareData:h}};function tr(e,t){return typeof e=="function"?e(t):e}function cm(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function Ns(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Di(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:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:h=0}=tr(t,e),p=cm(h),v=a[f?u==="floating"?"reference":"floating":u],w=Ns(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),_=u==="floating"?{...i.floating,x:r,y:s}:i.reference,g=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),b=await(o.isElement==null?void 0:o.isElement(g))&&await(o.getScale==null?void 0:o.getScale(g))||{x:1,y:1},y=Ns(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:g,strategy:l}):_);return{top:(w.top-y.top+p.top)/b.y,bottom:(y.bottom-w.bottom+p.bottom)/b.y,left:(w.left-y.left+p.left)/b.x,right:(y.right-w.right+p.right)/b.x}}const qs=Math.min,Cn=Math.max;function rl(e,t,n){return Cn(e,qs(t,n))}const z$=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}=tr(e,t)||{};if(l==null)return{};const d=cm(c),u={x:n,y:r},f=Fr(s),h=mc(f),p=await i.getDimensions(l),v=f==="y",w=v?"top":"left",_=v?"bottom":"right",g=v?"clientHeight":"clientWidth",b=o.reference[h]+o.reference[f]-u[f]-o.floating[h],y=u[f]-o.reference[f],x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let m=x?x[g]:0;m&&await(i.isElement==null?void 0:i.isElement(x))||(m=a.floating[g]||o.floating[h]);const T=b/2-y/2,E=m/2-p[h]/2-1,k=qs(d[w],E),A=qs(d[_],E),$=k,S=m-p[h]-A,R=m/2-p[h]/2+T,P=rl($,R,S),C=kt(s)!=null&&R!=P&&o.reference[h]/2-(R<$?k:A)-p[h]/2<0?R<$?$-R:S-R:0;return{[f]:u[f]-C,data:{[f]:P,centerOffset:R-P+C}}}}),q$=["top","right","bottom","left"],Wf=q$.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),K$={left:"right",right:"left",bottom:"top",top:"bottom"};function ri(e){return e.replace(/left|right|bottom|top/g,t=>K$[t])}function um(e,t,n){n===void 0&&(n=!1);const r=kt(e),s=Fr(e),o=mc(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=ri(i)),{main:i,cross:ri(i)}}const X$={start:"end",end:"start"};function Io(e){return e.replace(/start|end/g,t=>X$[t])}const Y$=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:d=!1,alignment:u,allowedPlacements:f=Wf,autoAlignment:h=!0,...p}=tr(e,t),v=u!==void 0||f===Wf?function(A,$,S){return(A?[...S.filter(R=>kt(R)===A),...S.filter(R=>kt(R)!==A)]:S.filter(R=>Vt(R)===R)).filter(R=>!A||kt(R)===A||!!$&&Io(R)!==R)}(u||null,h,f):f,w=await Di(t,p),_=((n=i.autoPlacement)==null?void 0:n.index)||0,g=v[_];if(g==null)return{};const{main:b,cross:y}=um(g,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==g)return{reset:{placement:v[0]}};const x=[w[Vt(g)],w[b],w[y]],m=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:g,overflows:x}],T=v[_+1];if(T)return{data:{index:_+1,overflows:m},reset:{placement:T}};const E=m.map(A=>{const $=kt(A.placement);return[A.placement,$&&d?A.overflows.slice(0,2).reduce((S,R)=>S+R,0):A.overflows[0],A.overflows]}).sort((A,$)=>A[1]-$[1]),k=((s=E.filter(A=>A[2].slice(0,kt(A[0])?2:3).every($=>$<=0))[0])==null?void 0:s[0])||E[0][0];return k!==a?{data:{index:_+1,overflows:m},reset:{placement:k}}:{}}}},J$=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:d=!0,fallbackPlacements:u,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...v}=tr(e,t),w=Vt(r),_=Vt(i)===i,g=await(a.isRTL==null?void 0:a.isRTL(l.floating)),b=u||(_||!p?[ri(i)]:function($){const S=ri($);return[Io($),S,Io(S)]}(i));u||h==="none"||b.push(...function($,S,R,P){const C=kt($);let I=function(D,F,W){const se=["left","right"],Q=["right","left"],ne=["top","bottom"],de=["bottom","top"];switch(D){case"top":case"bottom":return W?F?Q:se:F?se:Q;case"left":case"right":return F?ne:de;default:return[]}}(Vt($),R==="start",P);return C&&(I=I.map(D=>D+"-"+C),S&&(I=I.concat(I.map(Io)))),I}(i,p,h,g));const y=[i,...b],x=await Di(t,v),m=[];let T=((n=s.flip)==null?void 0:n.overflows)||[];if(c&&m.push(x[w]),d){const{main:$,cross:S}=um(r,o,g);m.push(x[$],x[S])}if(T=[...T,{placement:r,overflows:m}],!m.every($=>$<=0)){var E,k;const $=(((E=s.flip)==null?void 0:E.index)||0)+1,S=y[$];if(S)return{data:{index:$,overflows:T},reset:{placement:S}};let R=(k=T.filter(P=>P.overflows[0]<=0).sort((P,C)=>P.overflows[1]-C.overflows[1])[0])==null?void 0:k.placement;if(!R)switch(f){case"bestFit":{var A;const P=(A=T.map(C=>[C.placement,C.overflows.filter(I=>I>0).reduce((I,D)=>I+D,0)]).sort((C,I)=>C[1]-I[1])[0])==null?void 0:A[0];P&&(R=P);break}case"initialPlacement":R=i}if(r!==R)return{reset:{placement:R}}}return{}}}},Q$=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,s=await async function(o,i){const{placement:a,platform:l,elements:c}=o,d=await(l.isRTL==null?void 0:l.isRTL(c.floating)),u=Vt(a),f=kt(a),h=Fr(a)==="x",p=["left","top"].includes(u)?-1:1,v=d&&h?-1:1,w=tr(i,o);let{mainAxis:_,crossAxis:g,alignmentAxis:b}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return f&&typeof b=="number"&&(g=f==="end"?-1*b:b),h?{x:g*v,y:_*p}:{x:_*p,y:g*v}}(t,e);return{x:n+s.x,y:r+s.y,data:s}}}};function Z$(e){return e==="x"?"y":"x"}const eS=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:w=>{let{x:_,y:g}=w;return{x:_,y:g}}},...l}=tr(e,t),c={x:n,y:r},d=await Di(t,l),u=Fr(Vt(s)),f=Z$(u);let h=c[u],p=c[f];if(o){const w=u==="y"?"bottom":"right";h=rl(h+d[u==="y"?"top":"left"],h,h-d[w])}if(i){const w=f==="y"?"bottom":"right";p=rl(p+d[f==="y"?"top":"left"],p,p-d[w])}const v=a.fn({...t,[u]:h,[f]:p});return{...v,data:{x:v.x-n,y:v.y-r}}}}},tS=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}=tr(e,t),l=await Di(t,a),c=Vt(n),d=kt(n),u=Fr(n)==="x",{width:f,height:h}=r.floating;let p,v;c==="top"||c==="bottom"?(p=c,v=d===(await(s.isRTL==null?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(v=c,p=d==="end"?"top":"bottom");const w=h-l[p],_=f-l[v],g=!t.middlewareData.shift;let b=w,y=_;if(u){const m=f-l.left-l.right;y=d||g?qs(_,m):m}else{const m=h-l.top-l.bottom;b=d||g?qs(w,m):m}if(g&&!d){const m=Cn(l.left,0),T=Cn(l.right,0),E=Cn(l.top,0),k=Cn(l.bottom,0);u?y=f-2*(m!==0||T!==0?m+T:Cn(l.left,l.right)):b=h-2*(E!==0||k!==0?E+k:Cn(l.top,l.bottom))}await i({...t,availableWidth:y,availableHeight:b});const x=await s.getDimensions(o.floating);return f!==x.width||h!==x.height?{reset:{rects:!0}}:{}}}};function _t(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wt(e){return _t(e).getComputedStyle(e)}const Gf=Math.min,Os=Math.max,si=Math.round;function fm(e){const t=Wt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=si(n)!==s||si(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function Sn(e){return hm(e)?(e.nodeName||"").toLowerCase():""}let So;function dm(){if(So)return So;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(So=e.brands.map(t=>t.brand+"/"+t.version).join(" "),So):navigator.userAgent}function Gt(e){return e instanceof _t(e).HTMLElement}function bn(e){return e instanceof _t(e).Element}function hm(e){return e instanceof _t(e).Node}function zf(e){return typeof ShadowRoot>"u"?!1:e instanceof _t(e).ShadowRoot||e instanceof ShadowRoot}function Fi(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Wt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function nS(e){return["table","td","th"].includes(Sn(e))}function sl(e){const t=/firefox/i.test(dm()),n=Wt(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 pm(){return!/^((?!chrome|android).)*safari/i.test(dm())}function gc(e){return["html","body","#document"].includes(Sn(e))}function mm(e){return bn(e)?e:e.contextElement}const gm={x:1,y:1};function yr(e){const t=mm(e);if(!Gt(t))return gm;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=fm(t);let i=(o?si(n.width):n.width)/r,a=(o?si(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Ks(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=mm(e);let l=gm;t&&(r?bn(r)&&(l=yr(r)):l=yr(e));const c=a?_t(a):window,d=!pm()&&n;let u=(i.left+(d&&((s=c.visualViewport)==null?void 0:s.offsetLeft)||0))/l.x,f=(i.top+(d&&((o=c.visualViewport)==null?void 0:o.offsetTop)||0))/l.y,h=i.width/l.x,p=i.height/l.y;if(a){const v=_t(a),w=r&&bn(r)?_t(r):r;let _=v.frameElement;for(;_&&r&&w!==v;){const g=yr(_),b=_.getBoundingClientRect(),y=getComputedStyle(_);b.x+=(_.clientLeft+parseFloat(y.paddingLeft))*g.x,b.y+=(_.clientTop+parseFloat(y.paddingTop))*g.y,u*=g.x,f*=g.y,h*=g.x,p*=g.y,u+=b.x,f+=b.y,_=_t(_).frameElement}}return{width:h,height:p,top:f,right:u+h,bottom:f+p,left:u,x:u,y:f}}function wn(e){return((hm(e)?e.ownerDocument:e.document)||window.document).documentElement}function Bi(e){return bn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function vm(e){return Ks(wn(e)).left+Bi(e).scrollLeft}function Xs(e){if(Sn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zf(e)&&e.host||wn(e);return zf(t)?t.host:t}function _m(e){const t=Xs(e);return gc(t)?t.ownerDocument.body:Gt(t)&&Fi(t)?t:_m(t)}function oi(e,t){var n;t===void 0&&(t=[]);const r=_m(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=_t(r);return s?t.concat(o,o.visualViewport||[],Fi(r)?r:[]):t.concat(r,oi(r))}function qf(e,t,n){return t==="viewport"?Ns(function(r,s){const o=_t(r),i=wn(r),a=o.visualViewport;let l=i.clientWidth,c=i.clientHeight,d=0,u=0;if(a){l=a.width,c=a.height;const f=pm();(f||!f&&s==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}return{width:l,height:c,x:d,y:u}}(e,n)):bn(t)?Ns(function(r,s){const o=Ks(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,l=Gt(r)?yr(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)):Ns(function(r){const s=wn(r),o=Bi(r),i=r.ownerDocument.body,a=Os(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),l=Os(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let c=-o.scrollLeft+vm(r);const d=-o.scrollTop;return Wt(i).direction==="rtl"&&(c+=Os(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:d}}(wn(e)))}function Kf(e){return Gt(e)&&Wt(e).position!=="fixed"?e.offsetParent:null}function Xf(e){const t=_t(e);let n=Kf(e);for(;n&&nS(n)&&Wt(n).position==="static";)n=Kf(n);return n&&(Sn(n)==="html"||Sn(n)==="body"&&Wt(n).position==="static"&&!sl(n))?t:n||function(r){let s=Xs(r);for(;Gt(s)&&!gc(s);){if(sl(s))return s;s=Xs(s)}return null}(e)||t}function rS(e,t,n){const r=Gt(t),s=wn(t),o=Ks(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Sn(t)!=="body"||Fi(s))&&(i=Bi(t)),Gt(t)){const l=Ks(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=vm(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const sS={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=n==="clippingAncestors"?function(c,d){const u=d.get(c);if(u)return u;let f=oi(c).filter(w=>bn(w)&&Sn(w)!=="body"),h=null;const p=Wt(c).position==="fixed";let v=p?Xs(c):c;for(;bn(v)&&!gc(v);){const w=Wt(v),_=sl(v);(p?_||h:_||w.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=w:f=f.filter(g=>g!==v),v=Xs(v)}return d.set(c,f),f}(t,this._c):[].concat(n),i=[...o,r],a=i[0],l=i.reduce((c,d)=>{const u=qf(t,d,s);return c.top=Os(u.top,c.top),c.right=Gf(u.right,c.right),c.bottom=Gf(u.bottom,c.bottom),c.left=Os(u.left,c.left),c},qf(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=Gt(n),o=wn(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")&&((Sn(n)!=="body"||Fi(o))&&(i=Bi(n)),Gt(n))){const c=Ks(n);a=yr(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:bn,getDimensions:function(e){return Gt(e)?fm(e):e.getBoundingClientRect()},getOffsetParent:Xf,getDocumentElement:wn,getScale:yr,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||Xf,o=this.getDimensions;return{reference:rS(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Wt(e).direction==="rtl"},oS=(e,t,n)=>{const r=new Map,s={platform:sS,...n},o={...s.platform,_c:r};return G$(e,t,{...s,platform:o})};function ym(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?ym(e[n],t[n]):e[n]=t[n])}const en={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,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","focus"],delay:{show:0,hide:400}}}};function Ys(e,t){let n=en.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=en.themes[n.$extend]||{}:(n=null,r=en[t]):n=null;while(n);return r}function iS(e){const t=[e];let n=en.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=en.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Yf(e){const t=[e];let n=en.themes[e]||{};do n.$extend?(t.push(n.$extend),n=en.themes[n.$extend]||{}):n=null;while(n);return t}let Jn=!1;if(typeof window<"u"){Jn=!1;try{const e=Object.defineProperty({},"passive",{get(){Jn=!0}});window.addEventListener("test",null,e)}catch{}}let bm=!1;typeof window<"u"&&typeof navigator<"u"&&(bm=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const wm=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Jf={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Qf={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Zf(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function _a(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const $t=[];let Ln=null;const ed={};function td(e){let t=ed[e];return t||(t=ed[e]=[]),t}let ol=function(){};typeof window<"u"&&(ol=window.Element);function ke(e){return function(t){return Ys(t.theme,e)}}const ya="__floating-vue__popper",Em=()=>Oe({name:"VPopper",provide(){return{[ya]:{parentPopper:this}}},inject:{[ya]:{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:ke("disabled")},positioningDisabled:{type:Boolean,default:ke("positioningDisabled")},placement:{type:String,default:ke("placement"),validator:e=>wm.includes(e)},delay:{type:[String,Number,Object],default:ke("delay")},distance:{type:[Number,String],default:ke("distance")},skidding:{type:[Number,String],default:ke("skidding")},triggers:{type:Array,default:ke("triggers")},showTriggers:{type:[Array,Function],default:ke("showTriggers")},hideTriggers:{type:[Array,Function],default:ke("hideTriggers")},popperTriggers:{type:Array,default:ke("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ke("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ke("popperHideTriggers")},container:{type:[String,Object,ol,Boolean],default:ke("container")},boundary:{type:[String,ol],default:ke("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ke("strategy")},autoHide:{type:[Boolean,Function],default:ke("autoHide")},handleResize:{type:Boolean,default:ke("handleResize")},instantMove:{type:Boolean,default:ke("instantMove")},eagerMount:{type:Boolean,default:ke("eagerMount")},popperClass:{type:[String,Array,Object],default:ke("popperClass")},computeTransformOrigin:{type:Boolean,default:ke("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ke("autoMinSize")},autoSize:{type:[Boolean,String],default:ke("autoSize")},autoMaxSize:{type:Boolean,default:ke("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ke("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ke("preventOverflow")},overflowPadding:{type:[Number,String],default:ke("overflowPadding")},arrowPadding:{type:[Number,String],default:ke("arrowPadding")},arrowOverflow:{type:Boolean,default:ke("arrowOverflow")},flip:{type:Boolean,default:ke("flip")},shift:{type:Boolean,default:ke("shift")},shiftCrossAxis:{type:Boolean,default:ke("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ke("noAutoFocus")},disposeTimeout:{type:Number,default:ke("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],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[ya])==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"),this.$emit("dispose"))},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(Q$({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Y$({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(eS({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(J$({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(z$({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(tS({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 oS(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),Ln&&this.instantMove&&Ln.instantMove&&Ln!==this.parentPopper){Ln.$_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&&(Ln=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 _a(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...oi(this.$_referenceNode),...oi(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<$t.length;n++)t=$t[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}$t.push(this),document.body.classList.add("v-popper--some-open");for(const t of Yf(this.theme))td(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 _a(),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,Zf($t,this),$t.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Yf(this.theme)){const r=td(n);Zf(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ln===this&&(Ln=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 _a(),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,Jf,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Jf,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Qf,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Qf,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,Jn?{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(Ls>=e.left&&Ls<=e.right&&Cs>=e.top&&Cs<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Ls-dn,r=Cs-hn,s=t.left+t.width/2-dn+(t.top+t.height/2)-hn+t.width+t.height,o=dn+n*s,i=hn+r*s;return Ao(dn,hn,o,i,t.left,t.top,t.left,t.bottom)||Ao(dn,hn,o,i,t.left,t.top,t.right,t.top)||Ao(dn,hn,o,i,t.right,t.top,t.right,t.bottom)||Ao(dn,hn,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"&&(bm?(document.addEventListener("touchstart",nd,Jn?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",lS,Jn?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",nd,!0),window.addEventListener("click",aS,!0)),window.addEventListener("resize",fS));function nd(e){for(let t=0;t<$t.length;t++){const n=$t[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function aS(e){xm(e)}function lS(e){xm(e,!0)}function xm(e,t=!1){const n={};for(let r=$t.length-1;r>=0;r--){const s=$t[r];try{const o=s.$_containsGlobalTarget=cS(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&rd(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&&rd(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function cS(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function rd(e,t,n){return n.closeAllPopover||n.closePopover&&t||uS(e,n)&&!t}function uS(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function fS(e){for(let t=0;t<$t.length;t++)$t[t].$_computePosition(e)}let dn=0,hn=0,Ls=0,Cs=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{dn=Ls,hn=Cs,Ls=e.clientX,Cs=e.clientY},Jn?{passive:!0}:void 0);function Ao(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 dS={extends:Em()},Hi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function hS(e,t,n,r,s,o){return ue(),Te("div",{ref:"reference",class:Xe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[bt(e.$slots,"default",wl(Ei(e.slotData)))],2)}const pS=Hi(dS,[["render",hS]]);function mS(){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 jo;function il(){il.init||(il.init=!0,jo=mS()!==-1)}var Ui={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){il(),wt(()=>{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",jo&&this.$el.appendChild(e),e.data="about:blank",jo||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&&(!jo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const gS=ov();rv("data-v-b329ee4c");const vS={class:"resize-observer",tabindex:"-1"};sv();const _S=gS((e,t,n,r,s,o)=>(ue(),Ne("div",vS)));Ui.render=_S;Ui.__scopeId="data-v-b329ee4c";Ui.__file="src/components/ResizeObserver.vue";const Tm=(e="theme")=>({computed:{themeClass(){return iS(this[e])}}}),yS=Oe({name:"VPopperContent",components:{ResizeObserver:Ui},mixins:[Tm()],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}}}),bS=["id","aria-hidden","tabindex","data-popper-placement"],wS={ref:"inner",class:"v-popper__inner"},ES=ie("div",{class:"v-popper__arrow-outer"},null,-1),xS=ie("div",{class:"v-popper__arrow-inner"},null,-1),TS=[ES,xS];function kS(e,t,n,r,s,o){const i=xn("ResizeObserver");return ue(),Te("div",{id:e.popperId,ref:"popover",class:Xe(["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:gn(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]=D_(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[ie("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),ie("div",{class:"v-popper__wrapper",style:gn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[ie("div",wS,[e.mounted?(ue(),Te(Ie,{key:0},[ie("div",null,[bt(e.$slots,"default")]),e.handleResize?(ue(),Ne(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ke("",!0)],64)):Ke("",!0)],512),ie("div",{ref:"arrow",class:"v-popper__arrow-container",style:gn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},TS,4)],4)],46,bS)}const km=Hi(yS,[["render",kS]]),$m={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)}}},$S=Oe({name:"VPopperWrapper",components:{Popper:pS,PopperContent:km},mixins:[$m,Tm("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function SS(e,t,n,r,s,o){const i=xn("PopperContent"),a=xn("Popper");return ue(),Ne(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Xe([e.themeClass])},{default:Ee(({popperId:l,isShown:c,shouldMountContent:d,skipTransition:u,autoHide:f,show:h,hide:p,handleResize:v,onResize:w,classes:_,result:g})=>[bt(e.$slots,"default",{shown:c,show:h,hide:p}),ce(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:d,"skip-transition":u,"auto-hide":f,"handle-resize":v,classes:_,result:g,onHide:p,onResize:w},{default:Ee(()=>[bt(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},8,["theme","target-nodes","popper-node","class"])}const vc=Hi($S,[["render",SS]]),AS={...vc,name:"VDropdown",vPopperTheme:"dropdown"},RS={...vc,name:"VMenu",vPopperTheme:"menu"},PS={...vc,name:"VTooltip",vPopperTheme:"tooltip"},NS=Oe({name:"VTooltipDirective",components:{Popper:Em(),PopperContent:km},mixins:[$m],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Ys(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Ys(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}}}),OS=["innerHTML"],LS=["textContent"];function CS(e,t,n,r,s,o){const i=xn("PopperContent"),a=xn("Popper");return ue(),Ne(a,Tn({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:Ee(({popperId:l,isShown:c,shouldMountContent:d,skipTransition:u,autoHide:f,hide:h,handleResize:p,onResize:v,classes:w,result:_})=>[ce(i,{ref:"popperContent",class:Xe({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:d,"skip-transition":u,"auto-hide":f,"handle-resize":p,classes:w,result:_,onHide:h,onResize:v},{default:Ee(()=>[e.html?(ue(),Te("div",{key:0,innerHTML:e.finalContent},null,8,OS)):(ue(),Te("div",{key:1,textContent:St(e.finalContent)},null,8,LS))]),_: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 IS=Hi(NS,[["render",CS]]),Sm="v-popper--has-tooltip";function jS(e,t){let n=e.placement;if(!n&&t)for(const r of wm)t[r]&&(n=r);return n||(n=Ys(e.theme||"tooltip","placement")),n}function Am(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=jS(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let ba,Js,MS=0;function DS(){if(ba)return;Js=te([]),ba=Dh({name:"VTooltipDirectiveApp",setup(){return{directives:Js}},render(){return this.directives.map(t=>Ye(IS,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ba.mount(e)}function FS(e,t,n){DS();const r=te(Am(e,t,n)),s=te(!1),o={id:MS++,options:r,shown:s};return Js.value.push(o),e.classList&&e.classList.add(Sm),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function Rm(e){if(e.$_popper){const t=Js.value.indexOf(e.$_popper.item);t!==-1&&Js.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Sm)}function sd(e,{value:t,modifiers:n}){const r=Am(e,t,n);if(!r.content||Ys(r.theme||"tooltip","disabled"))Rm(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=FS(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const BS={beforeMount:sd,updated:sd,beforeUnmount(e){Rm(e)}};function od(e){e.addEventListener("click",Pm),e.addEventListener("touchstart",Nm,Jn?{passive:!0}:!1)}function id(e){e.removeEventListener("click",Pm),e.removeEventListener("touchstart",Nm),e.removeEventListener("touchend",Om),e.removeEventListener("touchcancel",Lm)}function Pm(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Nm(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",Om),t.addEventListener("touchcancel",Lm)}}function Om(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 Lm(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const HS={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&od(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?od(e):id(e))},beforeUnmount(e){id(e)}};function US(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,ym(en,t),e.directive("tooltip",BS),e.directive("close-popper",HS),e.component("VTooltip",PS),e.component("VDropdown",AS),e.component("VMenu",RS))}const VS={version:"2.0.0-beta.24",install:US,options:en},WS=Lt(e=>{e.vueApp.use(VS)}),GS=Lt(()=>{const e=tt(),t=m$(),n=st();window.__NUXT_DEVTOOLS_VIEW__={setClient(r){e.value!==r&&(e.value=r,r.hooks.hook("host:update:reactivity",()=>{Vd(e)}),r.hooks.hook("host:inspector:update",s=>{t.value=s}),r.hooks.hook("host:inspector:click",async(s,o,i,a)=>{const l=`./${o}:${i}:${a}`;await Fe.openInEditor(l)}),console.log("[nuxt-devtools] Client connected",r))}},n.afterEach(()=>{const r=n.currentRoute.value.path;r.includes("__")||e.value?.hooks.callHook("devtools:navigate",r)})}),zS=[ob,C$,I$,j$,M$,H$,U$,V$,W$,WS,GS],qS=Oe({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%)"}},setup(e,{slots:t}){const n=KS({duration:e.duration,throttle:e.throttle}),r=Pe(),s=st();return Co.unshift(n.start),s.beforeResolve((o,i)=>{(o===i||o.matched.every((a,l)=>a.components&&a.components?.default===i.matched[l]?.components?.default))&&n.finish()}),r.hook("page:finish",n.finish),r.hook("vue:error",n.finish),Ir(()=>{const o=Co.indexOf(n.start);o>=0&&Co.splice(o,1),n.clear()}),()=>Ye("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:n.isLoading.value?1:0,background:e.color||void 0,backgroundSize:`${100/n.progress.value*100}% auto`,transform:`scaleX(${n.progress.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function KS(e){const t=te(0),n=te(!1),r=pe(()=>1e4/e.duration);let s=null,o=null;function i(){l(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,u()},e.throttle):(n.value=!0,u())}function a(){t.value=100,d()}function l(){clearInterval(s),clearTimeout(o),s=null,o=null}function c(f){t.value=Math.min(100,t.value+f)}function d(){l(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function u(){s=setInterval(()=>{c(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:l}}const XS=Oe({__name:"Notification",setup(e){const t=te(!1),n=te(),r=te(),s=te();return SE(o=>{r.value=o.message,n.value=o.icon,s.value=o.classes??"text-primary",t.value=!0,setTimeout(()=>{t.value=!1},o.duration??1500)}),(o,i)=>(ue(),Te("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-50":"","text-center":"",class:Xe(oe(t)?"":"pointer-events-none overflow-hidden")},[ie("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:gn(oe(t)?{}:{transform:"translateY(-300%)"}),class:Xe([oe(t)?"shadow":"shadow-none",oe(s)])},[oe(n)?(ue(),Te("div",{key:0,class:Xe(oe(n))},null,2)):Ke("",!0),ie("div",null,St(oe(r)),1)],6)],2))}}),ro=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},YS={},JS={class:"n-loading n-panel-grids-center"},QS={class:"flex flex-col animate-pulse items-center text-lg"},ZS=ie("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function eA(e,t){return ue(),Te("div",JS,[ie("div",QS,[ZS,bt(e.$slots,"default",{},()=>[Me(" Loading... ")])])])}const tA=ro(YS,[["render",eA]]),Vi=Oe({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(ue(),Te("div",{class:Xe(["n-icon",t.icon])},null,2))}}),so=Oe({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const r=Vi;return ue(),Ne(Ul(t.to?oe(tc):"button"),Tn({to:t.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:Ee(()=>[bt(t.$slots,"icon",{},()=>[t.icon?(ue(),Ne(r,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):Ke("",!0)]),bt(t.$slots,"default")]),_:3},16,["to"])}}}),nA=Oe({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=te(!1);return An(()=>{r.value=!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 Te(a,n,i)}}}),rA={name:F$,props:{placeholder:String,tag:{type:String,default:"span"}}};function sA(e,t,n,r,s,o){const i=nA;return ue(),Ne(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:Ee(()=>[bt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const oA=ro(rA,[["render",sA]]),iA=Oe({__name:"NDarkToggle",setup(e){const t=Ci(),n=pe({get(){return t.value==="dark"},set(){t.preference=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 wt()}).ready.then(()=>{const u=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:n.value?[...u].reverse():u},{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=oA;return ue(),Ne(l,{tag:"span"},{default:Ee(()=>[bt(i.$slots,"default",wl(Ei(o)))]),_:3})}}}),aA={},lA={class:"n-card n-card-base"};function cA(e,t){return ue(),Te("div",lA,[bt(e.$slots,"default")])}const uA=ro(aA,[["render",cA]]);/*!
|
|
14
|
+
* tabbable 6.2.0
|
|
15
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
16
|
+
*/var Cm=["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])"],ii=Cm.join(","),Im=typeof Element>"u",Qn=Im?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ai=!Im&&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},li=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},fA=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},jm=function(t,n,r){if(li(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(ii));return n&&Qn.call(t,ii)&&s.unshift(t),s=s.filter(r),s},Mm=function e(t,n,r){for(var s=[],o=Array.from(t);o.length;){var i=o.shift();if(!li(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 d=Qn.call(i,ii);d&&r.filter(i)&&(n||!t.includes(i))&&s.push(i);var u=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),f=!li(u,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(u&&f){var h=e(u===!0?i.children:u.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},Dm=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Dn=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||fA(t))&&!Dm(t)?0:t.tabIndex},dA=function(t,n){var r=Dn(t);return r<0&&n&&!Dm(t)?0:r},hA=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},Fm=function(t){return t.tagName==="INPUT"},pA=function(t){return Fm(t)&&t.type==="hidden"},mA=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},gA=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},vA=function(t){if(!t.name)return!0;var n=t.form||ai(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=gA(s,t.form);return!o||o===t},_A=function(t){return Fm(t)&&t.type==="radio"},yA=function(t){return _A(t)&&!vA(t)},bA=function(t){var n,r=t&&ai(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,d,u;r=ai(s),s=(c=r)===null||c===void 0?void 0:c.host,o=!!((d=s)!==null&&d!==void 0&&(u=d.ownerDocument)!==null&&u!==void 0&&u.contains(s))}}return o},ad=function(t){var n=t.getBoundingClientRect(),r=n.width,s=n.height;return r===0&&s===0},wA=function(t,n){var r=n.displayCheck,s=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=Qn.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(Qn.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=ai(t);if(l&&!l.shadowRoot&&s(l)===!0)return ad(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(bA(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return ad(t);return!1},EA=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 Qn.call(n,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}n=n.parentElement}return!1},ci=function(t,n){return!(n.disabled||li(n)||pA(n)||wA(n,t)||mA(n)||EA(n))},al=function(t,n){return!(yA(n)||Dn(n)<0||!ci(t,n))},xA=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},TA=function e(t){var n=[],r=[];return t.forEach(function(s,o){var i=!!s.scopeParent,a=i?s.scopeParent:s,l=dA(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(hA).reduce(function(s,o){return o.isScope?s.push.apply(s,o.content):s.push(o.content),s},[]).concat(n)},kA=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Mm([t],n.includeContainer,{filter:al.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:xA}):r=jm(t,n.includeContainer,al.bind(null,n)),TA(r)},$A=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Mm([t],n.includeContainer,{filter:ci.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=jm(t,n.includeContainer,ci.bind(null,n)),r},ar=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Qn.call(t,ii)===!1?!1:al(n,t)},SA=Cm.concat("iframe").join(","),wa=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Qn.call(t,SA)===!1?!1:ci(n,t)};/*!
|
|
17
|
+
* focus-trap 7.5.1
|
|
18
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
19
|
+
*/function ld(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 cd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ld(Object(n),!0).forEach(function(r){AA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ld(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function AA(e,t,n){return t=PA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RA(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 PA(e){var t=RA(e,"string");return typeof t=="symbol"?t:String(t)}var ud={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()}},NA=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},OA=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},Is=function(t){return t?.key==="Tab"||t?.keyCode===9},LA=function(t){return Is(t)&&!t.shiftKey},CA=function(t){return Is(t)&&t.shiftKey},fd=function(t){return setTimeout(t,0)},dd=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},ms=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},Ro=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},IA=[],jA=function(t,n){var r=n?.document||document,s=n?.trapStack||IA,o=cd({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:LA,isKeyBackward:CA},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function($,S,R){return $&&$[S]!==void 0?$[S]:o[R||S]},c=function($,S){var R=typeof S?.composedPath=="function"?S.composedPath():void 0;return i.containerGroups.findIndex(function(P){var C=P.container,I=P.tabbableNodes;return C.contains($)||R?.includes(C)||I.find(function(D){return D===$})})},d=function($){var S=o[$];if(typeof S=="function"){for(var R=arguments.length,P=new Array(R>1?R-1:0),C=1;C<R;C++)P[C-1]=arguments[C];S=S.apply(void 0,P)}if(S===!0&&(S=void 0),!S){if(S===void 0||S===!1)return S;throw new Error("`".concat($,"` was specified but was not a node, or did not return a node"))}var I=S;if(typeof S=="string"&&(I=r.querySelector(S),!I))throw new Error("`".concat($,"` as selector refers to no known node"));return I},u=function(){var $=d("initialFocus");if($===!1)return!1;if($===void 0||!wa($,o.tabbableOptions))if(c(r.activeElement)>=0)$=r.activeElement;else{var S=i.tabbableGroups[0],R=S&&S.firstTabbableNode;$=R||d("fallbackFocus")}if(!$)throw new Error("Your focus-trap needs to have at least one focusable element");return $},f=function(){if(i.containerGroups=i.containers.map(function($){var S=kA($,o.tabbableOptions),R=$A($,o.tabbableOptions),P=S.length>0?S[0]:void 0,C=S.length>0?S[S.length-1]:void 0,I=R.find(function(W){return ar(W)}),D=R.findLast(function(W){return ar(W)}),F=!!S.find(function(W){return Dn(W)>0});return{container:$,tabbableNodes:S,focusableNodes:R,posTabIndexesFound:F,firstTabbableNode:P,lastTabbableNode:C,firstDomTabbableNode:I,lastDomTabbableNode:D,nextTabbableNode:function(se){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ne=S.indexOf(se);return ne<0?Q?R.slice(R.indexOf(se)+1).find(function(de){return ar(de)}):R.slice(0,R.indexOf(se)).findLast(function(de){return ar(de)}):S[ne+(Q?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function($){return $.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("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($){return $.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 A($){if($!==!1&&$!==r.activeElement){if(!$||!$.focus){A(u());return}$.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=$,NA($)&&$.select()}},p=function($){var S=d("setReturnFocus",$);return S||(S===!1?!1:$)},v=function($){var S=$.target,R=$.event,P=$.isBackward,C=P===void 0?!1:P;S=S||Ro(R),f();var I=null;if(i.tabbableGroups.length>0){var D=c(S,R),F=D>=0?i.containerGroups[D]:void 0;if(D<0)C?I=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:I=i.tabbableGroups[0].firstTabbableNode;else if(C){var W=dd(i.tabbableGroups,function(ge){var be=ge.firstTabbableNode;return S===be});if(W<0&&(F.container===S||wa(S,o.tabbableOptions)&&!ar(S,o.tabbableOptions)&&!F.nextTabbableNode(S,!1))&&(W=D),W>=0){var se=W===0?i.tabbableGroups.length-1:W-1,Q=i.tabbableGroups[se];I=Dn(S)>=0?Q.lastTabbableNode:Q.lastDomTabbableNode}else Is(R)||(I=F.nextTabbableNode(S,!1))}else{var ne=dd(i.tabbableGroups,function(ge){var be=ge.lastTabbableNode;return S===be});if(ne<0&&(F.container===S||wa(S,o.tabbableOptions)&&!ar(S,o.tabbableOptions)&&!F.nextTabbableNode(S))&&(ne=D),ne>=0){var de=ne===i.tabbableGroups.length-1?0:ne+1,fe=i.tabbableGroups[de];I=Dn(S)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else Is(R)||(I=F.nextTabbableNode(S))}}else I=d("fallbackFocus");return I},w=function($){var S=Ro($);if(!(c(S,$)>=0)){if(ms(o.clickOutsideDeactivates,$)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}ms(o.allowOutsideClick,$)||$.preventDefault()}},_=function($){var S=Ro($),R=c(S,$)>=0;if(R||S instanceof Document)R&&(i.mostRecentlyFocusedNode=S);else{$.stopImmediatePropagation();var P,C=!0;if(i.mostRecentlyFocusedNode)if(Dn(i.mostRecentlyFocusedNode)>0){var I=c(i.mostRecentlyFocusedNode),D=i.containerGroups[I].tabbableNodes;if(D.length>0){var F=D.findIndex(function(W){return W===i.mostRecentlyFocusedNode});F>=0&&(o.isKeyForward(i.recentNavEvent)?F+1<D.length&&(P=D[F+1],C=!1):F-1>=0&&(P=D[F-1],C=!1))}}else i.containerGroups.some(function(W){return W.tabbableNodes.some(function(se){return Dn(se)>0})})||(C=!1);else C=!1;C&&(P=v({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),h(P||i.mostRecentlyFocusedNode||u())}i.recentNavEvent=void 0},g=function($){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=$;var R=v({event:$,isBackward:S});R&&(Is($)&&$.preventDefault(),h(R))},b=function($){if(OA($)&&ms(o.escapeDeactivates,$)!==!1){$.preventDefault(),a.deactivate();return}(o.isKeyForward($)||o.isKeyBackward($))&&g($,o.isKeyBackward($))},y=function($){var S=Ro($);c(S,$)>=0||ms(o.clickOutsideDeactivates,$)||ms(o.allowOutsideClick,$)||($.preventDefault(),$.stopImmediatePropagation())},x=function(){if(i.active)return ud.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?fd(function(){h(u())}):h(u()),r.addEventListener("focusin",_,!0),r.addEventListener("mousedown",w,{capture:!0,passive:!1}),r.addEventListener("touchstart",w,{capture:!0,passive:!1}),r.addEventListener("click",y,{capture:!0,passive:!1}),r.addEventListener("keydown",b,{capture:!0,passive:!1}),a},m=function(){if(i.active)return r.removeEventListener("focusin",_,!0),r.removeEventListener("mousedown",w,!0),r.removeEventListener("touchstart",w,!0),r.removeEventListener("click",y,!0),r.removeEventListener("keydown",b,!0),a},T=function($){var S=$.some(function(R){var P=Array.from(R.removedNodes);return P.some(function(C){return C===i.mostRecentlyFocusedNode})});S&&h(u())},E=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(T):void 0,k=function(){E&&(E.disconnect(),i.active&&!i.paused&&i.containers.map(function($){E.observe($,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function($){if(i.active)return this;var S=l($,"onActivate"),R=l($,"onPostActivate"),P=l($,"checkCanFocusTrap");P||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,S?.();var C=function(){P&&f(),x(),k(),R?.()};return P?(P(i.containers.concat()).then(C,C),this):(C(),this)},deactivate:function($){if(!i.active)return this;var S=cd({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},$);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,m(),i.active=!1,i.paused=!1,k(),ud.deactivateTrap(s,a);var R=l(S,"onDeactivate"),P=l(S,"onPostDeactivate"),C=l(S,"checkCanReturnFocus"),I=l(S,"returnFocus","returnFocusOnDeactivate");R?.();var D=function(){fd(function(){I&&h(p(i.nodeFocusedBeforeActivation)),P?.()})};return I&&C?(C(p(i.nodeFocusedBeforeActivation)).then(D,D),this):(D(),this)},pause:function($){if(i.paused||!i.active)return this;var S=l($,"onPause"),R=l($,"onPostPause");return i.paused=!0,S?.(),m(),k(),R?.(),this},unpause:function($){if(!i.paused||!i.active)return this;var S=l($,"onUnpause"),R=l($,"onPostUnpause");return i.paused=!1,S?.(),f(),x(),k(),R?.(),this},updateContainerElements:function($){var S=[].concat($).filter(Boolean);return i.containers=S.map(function(R){return typeof R=="string"?r.querySelector(R):R}),i.active&&f(),k(),this}},a.updateContainerElements(t),a},MA=Object.defineProperty,DA=Object.defineProperties,FA=Object.getOwnPropertyDescriptors,ui=Object.getOwnPropertySymbols,Bm=Object.prototype.hasOwnProperty,Hm=Object.prototype.propertyIsEnumerable,hd=(e,t,n)=>t in e?MA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,BA=(e,t)=>{for(var n in t||(t={}))Bm.call(t,n)&&hd(e,n,t[n]);if(ui)for(var n of ui(t))Hm.call(t,n)&&hd(e,n,t[n]);return e},HA=(e,t)=>DA(e,FA(t)),UA=(e,t)=>{var n={};for(var r in e)Bm.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ui)for(var r of ui(e))t.indexOf(r)<0&&Hm.call(e,r)&&(n[r]=e[r]);return n};function VA(e,t={}){let n;const r=t,{immediate:s}=r,o=UA(r,["immediate"]),i=te(!1),a=te(!1),l=f=>n&&n.activate(f),c=f=>n&&n.deactivate(f),d=()=>{n&&(n.pause(),a.value=!0)},u=()=>{n&&(n.unpause(),a.value=!1)};return Be(()=>ht(e),f=>{f&&(n=jA(f,HA(BA({},o),{onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}})),s&&l())},{flush:"post"}),rn(()=>c()),{hasFocus:i,isPaused:a,activate:l,deactivate:c,pause:d,unpause:u}}const WA={inheritAttrs:!1},Wi=Oe({...WA,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const r=Pp(e,"modelValue",t,{passive:!0}),s=te(null),o=te(!1),{activate:i,deactivate:a}=VA(pe(()=>s.value||document.body),{immediate:!1});Kn(()=>{!o.value&&r.value&&(o.value=!0),r.value&&s.value?wt(i):a()});function l(){r.value=!1,t("close")}return(c,d)=>{const u=uA;return o.value?(ue(),Ne(bh,{key:0,to:"body"},[Dl(ie("div",{class:Xe(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[oe(r)?"":"op0 pointer-events-none visibility-none"]])},[ie("div",{class:Xe(["absolute inset-0 -z-1",[c.dim?"bg-black/50":""]]),onClick:d[0]||(d[0]=f=>l())},null,2),ce(u,Tn(c.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:Ee(()=>[bt(c.$slots,"default")]),_:3},16)],2),[[jh,oe(r)]])])):Ke("",!0)}}});function Z2(){const e=w$(),t=x$(),n=st();return async r=>{const s=e.value?.buildDir,o=s&&r.startsWith(s)?`#build${r.slice(s.length).replace(/\.\w+$/,"")}`:r,i=t.value?.entries.find(a=>a.path===o||a.id===o)||t.value?.entries.find(a=>a.path===r||a.id===r);i?n.push(`/modules/virtual-files?id=${encodeURIComponent(i.id)}`):await Fe.openInEditor(r)}}function GA(){const e=Nw();return t=>{e.copy(t),Qa({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const zA=ie("div",{"carbon-launch":""},null,-1),qA=ie("div",{"carbon-launch":""},null,-1),KA=ie("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),XA=ie("h1",{"text-3xl":""}," Popup is not Supported ",-1),YA=ie("p",null,[Me(" To popup the DevTools, it requires the "),ie("a",{href:"https://developer.chrome.com/docs/web-platform/document-picture-in-picture/",target:"_blank"},"Document Picture-in-Picture API"),Me(" which is currently in experimental state. ")],-1),JA=ie("p",null,[Me(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),ie("code",null,"#document-picture-in-picture-api"),Me(". ")],-1),QA=Oe({__name:"PictureInPictureButton",setup(e){const t=tt(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,r=te(!1),s=GA();return(o,i)=>{const a=so,l=Wi;return oe(n)?Ke("",!0):(ue(),Te(Ie,{key:0},[oe(t)?.popup?(ue(),Ne(a,{key:0,n:"sm primary",onClick:i[0]||(i[0]=c=>oe(t).popup())},{default:Ee(()=>[zA,Me(" Popup ")]),_:1})):(ue(),Te(Ie,{key:1},[ce(a,{n:"sm primary",onClick:i[1]||(i[1]=c=>r.value=!0)},{default:Ee(()=>[qA,Me(" Popup "),KA]),_:1}),ce(l,{modelValue:oe(r),"onUpdate:modelValue":i[4]||(i[4]=c=>De(r)?r.value=c:null),class:"max-w-150 p6 pt-2 prose",onClose:i[5]||(i[5]=c=>r.value=!1)},{default:Ee(()=>[XA,YA,JA,ie("p",null,[Me(" 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 "),ce(a,{n:"xs primary",title:"Click to Copy",onClick:i[2]||(i[2]=c=>oe(s)("chrome://flags/#document-picture-in-picture-api"))},{default:Ee(()=>[Me(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Me(" and restart the browser. ")]),ie("div",null,[ce(a,{onClick:i[3]||(i[3]=c=>r.value=!1)},{default:Ee(()=>[Me(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),ZA={px3:"",py2:"",border:"b base",flex:"~ gap-2"},eR=ie("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),tR={px3:"",py2:"",flex:"~ gap2"},nR=Oe({__name:"DockingPanel",setup(e){const t=tt(),n=Pe();function r(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),Vd(t)}function s(){location.reload()}return(o,i)=>{const a=so,l=iA,c=QA;return ue(),Te("div",null,[ie("div",ZA,[ce(l,null,{default:Ee(({toggle:d,isDark:u})=>[ce(a,{n:"sm primary",onClick:d},{default:Ee(()=>[eR,Me(" "+St(u.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),ce(c)]),ie("div",tR,[ce(a,{n:"primary sm",onClick:r},{default:Ee(()=>[Me(" Refetch Data ")]),_:1}),ce(a,{n:"primary sm",onClick:s},{default:Ee(()=>[Me(" Refresh Page ")]),_:1})])])}}}),rR=["src","alt"],sR=["title"],_c=Oe({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(ue(),Te("img",Tn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,rR)):(ue(),Te("div",Tn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,sR))}}),oR={"translate-y-0.5px":""},iR={key:0,hidden:"","lg:block":""},aR=Oe({__name:"SideNavItem",props:{tab:{}},setup(e){const t=e,n=ki(),r=pe(()=>"badge"in t.tab&&t.tab.badge?.()),s=pe(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=pe(()=>n.path.startsWith(s.value));return(i,a)=>{const l=_c,c=tc,d=xn("VTooltip");return ue(),Ne(d,{placement:"right"},{popper:Ee(()=>[ie("div",null,St(i.tab.title),1),"extraTabVNode"in i.tab&&i.tab.extraTabVNode?(ue(),Te("div",iR,[(ue(),Ne(Ul(i.tab.extraTabVNode)))])):Ke("",!0)]),default:Ee(()=>[ce(c,{to:oe(s),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:a[0]||(a[0]=u=>"onClick"in i.tab&&i.tab.onClick?.())},{default:Ee(()=>[ce(l,{"text-xl":"",icon:i.tab.icon,title:i.tab.title,"show-title":!1},null,8,["icon","title"]),oe(r)?(ue(),Te("div",{key:0,absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Xe(oe(o)?"bg-primary":"bg-gray")},[ie("span",oR,St(("toValue"in i?i.toValue:oe(Ol))(oe(r))),1)],2)):Ke("",!0)]),_:1},8,["to"])]),_:1})}}});function lR(){const e=E$(),t=Mi(),n=st(),r=pe(()=>[...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=pe(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return pe(()=>[...r.value,...s.value])}function Um(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function pd(e){const{pinnedTabs:t}=Mi();return pe(()=>{const n=Um();for(const r of oe(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 Vm(){const e=lR(),t=Mi(),n=Object.keys(Um()),r=e.value.map(s=>s?.show?.());return pe(()=>e.value.filter((s,o)=>{const i=s;return!(r[o]&&!Ol(r[o])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(s.category||"app"))}).sort((s,o)=>n.indexOf(s.category||"app")-n.indexOf(o.category||"app")))}function eN(){const e=om(),t=lm();return pe(()=>(e.value?.getRoutes()||[]).map(n=>am(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const cR={border:"r base",flex:"~ col","z-100":"","h-full":"","items-center":"","of-hidden":"","bg-base":""},uR={flex:"~ none col items-center"},fR=["title"],dR=ie("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),hR=[dR],pR=ie("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),mR={flex:"~ auto col gap-0.5 items-center","of-hidden":"",py1:""},gR={key:0,my1:"","h-1px":"","w-8":"",border:"b base"},vR=ie("div",{"flex-auto":""},null,-1),_R={flex:"~ none col items-center gap-1",pb1:""},yR={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},bR={"translate-y-0.5px":""},wR={flex:"~ col gap-1","max-w-80":"",py1:""},ER={key:0,"h-1px":"",border:"b base"},xR={flex:"~ wrap",px1:""},TR=45,kR=Oe({__name:"SideNav",setup(e){const t=tt(),n=Vm(),r=te(!1),s=te(!1),o=te(),i=te(),a=te();function l(){r.value=!r.value}function c(){s.value=!s.value}const{height:d}=sE(),u=pe(()=>{const w=d.value-130;return Math.max(0,Math.floor(w/TR))}),f=pe(()=>n.value.slice(0,u.value)),h=pe(()=>n.value.slice(u.value)),p=pd(f),v=pd(h);return _w(o,w=>{i.value&&w.composedPath().includes(i.value)||a.value&&w.composedPath().includes(a.value)||(r.value=!1,s.value=!1)},{detectIframe:!0}),(w,_)=>{const g=nR,b=xn("VDropdown"),y=aR,x=_c,m=tc;return ue(),Te("div",cR,[ie("div",uR,[ce(b,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:oe(r),"auto-hide":!0},{popper:Ee(()=>[ce(g,{ref_key:"panel",ref:o},null,512)]),default:Ee(()=>[ie("button",{ref_key:"buttonDocking",ref:i,flex:"~",hover:"bg-active",relative:"",my1:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:Xe(oe(t)?"":"saturate-0"),title:oe(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:l},hR,10,fR)]),_:1},8,["shown"]),pR]),ie("div",mR,[(ue(!0),Te(Ie,null,_s(oe(p),([T,E],k)=>(ue(),Te(Ie,{key:T},[E.length?(ue(),Te(Ie,{key:0},[k?(ue(),Te("div",gR)):Ke("",!0),(ue(!0),Te(Ie,null,_s(E,A=>(ue(),Ne(y,{key:A.name,tab:A},null,8,["tab"]))),128))],64)):Ke("",!0)],64))),128)),vR]),ie("div",_R,[oe(h).length?(ue(),Ne(b,{key:0,placement:"left-end",distance:12,triggers:[],shown:oe(s),"auto-hide":!0},{popper:Ee(()=>[ie("div",wR,[(ue(!0),Te(Ie,null,_s(oe(v),([T,E],k)=>(ue(),Te(Ie,{key:T},[E.length?(ue(),Te(Ie,{key:0},[k?(ue(),Te("div",ER)):Ke("",!0),ie("div",xR,[(ue(!0),Te(Ie,null,_s(E,A=>(ue(),Ne(y,{key:A.name,tab:A},null,8,["tab"]))),128))])],64)):Ke("",!0)],64))),128))])]),default:Ee(()=>[ie("button",{ref_key:"buttonMoreTabs",ref:a,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:c},[ce(x,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),ie("div",yR,[ie("span",bR,St(oe(h).length),1)])],512)]),_:1},8,["shown"])):Ke("",!0),ce(m,{to:"/settings",flex:"~ items-center justify-center",hover:"bg-active",relative:"",block:"","h-10":"","w-10":"","select-none":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active"},{default:Ee(()=>[ce(x,{"text-xl":"",icon:"i-carbon-settings-adjust",title:"Settings","show-title":!1})]),_:1})])])}}}),$R=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),SR=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&$R(e.route,n));return typeof r=="function"?r(e.route):r},AR=(e,t)=>({default:()=>e?Ye(bv,e===!0?{}:e,t):t}),ll=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Ye(e,t,n):n.default?.()}),Wm=Symbol("layout-meta"),RR=Oe({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Pe(),r=lt("_route"),s=r===ki()?l1():r,o=pe(()=>oe(e.name)??s.meta.layout??"default"),i=te();return t.expose({layoutRef:i}),()=>{const a=n.deferHydration(),l=o.value&&o.value in ur,c=s.meta.layoutTransition??V0;return ll(Ti,l&&c,{default:()=>Ye(Il,{suspensible:!0,onResolve:()=>{wt(a)}},{default:()=>ll(PR,l&&{layoutProps:Tn(t.attrs,{ref:i}),key:o.value,name:o.value,shouldProvide:!e.name,hasTransition:!!c},t.slots).default()})}).default()}}}),PR=Oe({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:String},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){if(e.shouldProvide){const n=e.name;Wn(Wm,{isCurrent:r=>n===(r.meta.layout??"default")})}return()=>Ye(ur[e.name],e.layoutProps,t.slots)}}),NR=Oe({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=Pe(),s=te();n({pageRef:s});const o=lt(Wm,null);let i;return()=>Ye(yp,{name:e.name,route:e.route,...t},{default:a=>{if(!a.Component)return;if(i&&o&&!o.isCurrent(a.route))return i;const l=SR(a,e.pageKey),c=r.deferHydration(),d=!!(e.transition??a.route.meta.pageTransition??Ua),u=d&&LR([e.transition,a.route.meta.pageTransition,Ua,{onAfterLeave:()=>{r.callHook("page:transition:finish",a.Component)}}].filter(Boolean));return i=ll(Ti,d&&u,AR(e.keepalive??a.route.meta.keepalive??W0,Ye(Il,{suspensible:!0,onPending:()=>r.callHook("page:start",a.Component),onResolve:()=>{wt(()=>r.callHook("page:finish",a.Component).finally(c))}},{default:()=>Ye(CR,{key:l,routeProps:a,pageKey:l,hasTransition:d,pageRef:s})}))).default(),i}})}});function OR(e){return Array.isArray(e)?e:e?[e]:[]}function LR(e){const t=e.map(n=>({...n,onAfterLeave:OR(n.onAfterLeave)}));return Q0(...t)}const CR=Oe({name:"RouteProvider",props:["routeProps","pageKey","hasTransition","pageRef"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const s in e.routeProps.route)r[s]=pe(()=>t===e.pageKey?e.routeProps.route[s]:n[s]);return Wn("_route",ut(r)),()=>Ye(e.routeProps.Component,{ref:e.pageRef})}}),IR={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"},jR=Oe({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const r=Pp(e,"modelValue",t,{passive:!0});return(s,o)=>{const i=Vi;return ue(),Te("div",IR,[bt(s.$slots,"icon",{},()=>[s.icon?(ue(),Ne(i,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Ke("",!0)]),Dl(ie("input",Tn({"onUpdate:modelValue":o[0]||(o[0]=a=>De(r)?r.value=a:null)},s.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[L_,oe(r)]])])}}}),cl=ut(new Map);function MR(){const e=Vm(),t=st(),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:()=>FR()}],r=pe(()=>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 pe(()=>[...n,...r.value,...Array.from(cl.values()).flatMap(s=>Ol(s))])}function tN(e){const t=y$();cl.set(t,e),Vs(()=>{cl.delete(t)})}let Ea;const DR=[[":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 FR(){return Ea||(Ea=(await Re(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:DR.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),Ea}function sn(e){return Array.isArray?Array.isArray(e):qm(e)==="[object Array]"}const BR=1/0;function HR(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-BR?"-0":t}function UR(e){return e==null?"":HR(e)}function Ut(e){return typeof e=="string"}function Gm(e){return typeof e=="number"}function VR(e){return e===!0||e===!1||WR(e)&&qm(e)=="[object Boolean]"}function zm(e){return typeof e=="object"}function WR(e){return zm(e)&&e!==null}function dt(e){return e!=null}function xa(e){return!e.trim().length}function qm(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const GR="Incorrect 'index' type",zR=e=>`Invalid value for key ${e}`,qR=e=>`Pattern length exceeds max of ${e}.`,KR=e=>`Missing ${e} property in key`,XR=e=>`Property 'weight' in key '${e}' must be a positive integer`,md=Object.prototype.hasOwnProperty;class YR{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let s=Km(r);n+=s.weight,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 Km(e){let t=null,n=null,r=null,s=1,o=null;if(Ut(e)||sn(e))r=e,t=gd(e),n=ul(e);else{if(!md.call(e,"name"))throw new Error(KR("name"));const i=e.name;if(r=i,md.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(XR(i));t=gd(i),n=ul(i),o=e.getFn}return{path:t,id:n,weight:s,src:r,getFn:o}}function gd(e){return sn(e)?e:e.split(".")}function ul(e){return sn(e)?e.join("."):e}function JR(e,t){let n=[],r=!1;const s=(o,i,a)=>{if(dt(o))if(!i[a])n.push(o);else{let l=i[a];const c=o[l];if(!dt(c))return;if(a===i.length-1&&(Ut(c)||Gm(c)||VR(c)))n.push(UR(c));else if(sn(c)){r=!0;for(let d=0,u=c.length;d<u;d+=1)s(c[d],i,a+1)}else i.length&&s(c,i,a+1)}};return s(e,Ut(t)?t.split("."):t,0),r?n:n[0]}const QR={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},ZR={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},eP={location:0,threshold:.6,distance:100},tP={useExtendedSearch:!1,getFn:JR,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var ye={...ZR,...QR,...eP,...tP};const nP=/[^ ]+/g;function rP(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(s){const o=s.match(nP).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 yc{constructor({getFn:t=ye.getFn,fieldNormWeight:n=ye.fieldNormWeight}={}){this.norm=rP(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,Ut(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();Ut(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(!dt(t)||xa(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(dt(i)){if(sn(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:d}=l.pop();if(dt(d))if(Ut(d)&&!xa(d)){let u={v:d,i:c,n:this.norm.get(d)};a.push(u)}else sn(d)&&d.forEach((u,f)=>{l.push({nestedArrIndex:f,value:u})})}r.$[o]=a}else if(Ut(i)&&!xa(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 Xm(e,t,{getFn:n=ye.getFn,fieldNormWeight:r=ye.fieldNormWeight}={}){const s=new yc({getFn:n,fieldNormWeight:r});return s.setKeys(e.map(Km)),s.setSources(t),s.create(),s}function sP(e,{getFn:t=ye.getFn,fieldNormWeight:n=ye.fieldNormWeight}={}){const{keys:r,records:s}=e,o=new yc({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(s),o}function Po(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:s=ye.distance,ignoreLocation:o=ye.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 oP(e=[],t=ye.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 Fn=32;function iP(e,t,n,{location:r=ye.location,distance:s=ye.distance,threshold:o=ye.threshold,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,includeMatches:l=ye.includeMatches,ignoreLocation:c=ye.ignoreLocation}={}){if(t.length>Fn)throw new Error(qR(Fn));const d=t.length,u=e.length,f=Math.max(0,Math.min(r,u));let h=o,p=f;const v=a>1||l,w=v?Array(u):[];let _;for(;(_=e.indexOf(t,p))>-1;){let T=Po(t,{currentLocation:_,expectedLocation:f,distance:s,ignoreLocation:c});if(h=Math.min(T,h),p=_+d,v){let E=0;for(;E<d;)w[_+E]=1,E+=1}}p=-1;let g=[],b=1,y=d+u;const x=1<<d-1;for(let T=0;T<d;T+=1){let E=0,k=y;for(;E<k;)Po(t,{errors:T,currentLocation:f+k,expectedLocation:f,distance:s,ignoreLocation:c})<=h?E=k:y=k,k=Math.floor((y-E)/2+E);y=k;let A=Math.max(1,f-k+1),$=i?u:Math.min(f+k,u)+d,S=Array($+2);S[$+1]=(1<<T)-1;for(let P=$;P>=A;P-=1){let C=P-1,I=n[e.charAt(C)];if(v&&(w[C]=+!!I),S[P]=(S[P+1]<<1|1)&I,T&&(S[P]|=(g[P+1]|g[P])<<1|1|g[P+1]),S[P]&x&&(b=Po(t,{errors:T,currentLocation:C,expectedLocation:f,distance:s,ignoreLocation:c}),b<=h)){if(h=b,p=C,p<=f)break;A=Math.max(1,2*f-p)}}if(Po(t,{errors:T+1,currentLocation:f,expectedLocation:f,distance:s,ignoreLocation:c})>h)break;g=S}const m={isMatch:p>=0,score:Math.max(.001,b)};if(v){const T=oP(w,a);T.length?l&&(m.indices=T):m.isMatch=!1}return m}function aP(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 Ym{constructor(t,{location:n=ye.location,threshold:r=ye.threshold,distance:s=ye.distance,includeMatches:o=ye.includeMatches,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,isCaseSensitive:l=ye.isCaseSensitive,ignoreLocation:c=ye.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 d=(f,h)=>{this.chunks.push({pattern:f,alphabet:aP(f),startIndex:h})},u=this.pattern.length;if(u>Fn){let f=0;const h=u%Fn,p=u-h;for(;f<p;)d(this.pattern.substr(f,Fn),f),f+=Fn;if(h){const v=u-Fn;d(this.pattern.substr(v),v)}}else d(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 d=[],u=0,f=!1;this.chunks.forEach(({pattern:p,alphabet:v,startIndex:w})=>{const{isMatch:_,score:g,indices:b}=iP(t,p,v,{location:s+w,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});_&&(f=!0),u+=g,_&&b&&(d=[...d,...b])});let h={isMatch:f,score:f?u/this.chunks.length:1};return f&&r&&(h.indices=d),h}}class Rn{constructor(t){this.pattern=t}static isMultiMatch(t){return vd(t,this.multiRegex)}static isSingleMatch(t){return vd(t,this.singleRegex)}search(){}}function vd(e,t){const n=e.match(t);return n?n[1]:null}class lP extends Rn{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 cP extends Rn{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 uP extends Rn{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 fP extends Rn{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 dP extends Rn{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 hP extends Rn{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 Jm extends Rn{constructor(t,{location:n=ye.location,threshold:r=ye.threshold,distance:s=ye.distance,includeMatches:o=ye.includeMatches,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,isCaseSensitive:l=ye.isCaseSensitive,ignoreLocation:c=ye.ignoreLocation}={}){super(t),this._bitapSearch=new Ym(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 Qm extends Rn{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 fl=[lP,Qm,uP,fP,hP,dP,cP,Jm],_d=fl.length,pP=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,mP="|";function gP(e,t={}){return e.split(mP).map(n=>{let r=n.trim().split(pP).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<_d;){const d=fl[c];let u=d.isMultiMatch(a);u&&(s.push(new d(u,t)),l=!0)}if(!l)for(c=-1;++c<_d;){const d=fl[c];let u=d.isSingleMatch(a);if(u){s.push(new d(u,t));break}}}return s})}const vP=new Set([Jm.type,Qm.type]);class _P{constructor(t,{isCaseSensitive:n=ye.isCaseSensitive,includeMatches:r=ye.includeMatches,minMatchCharLength:s=ye.minMatchCharLength,ignoreLocation:o=ye.ignoreLocation,findAllMatches:i=ye.findAllMatches,location:a=ye.location,threshold:l=ye.threshold,distance:c=ye.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=gP(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 d=n[l];i.length=0,o=0;for(let u=0,f=d.length;u<f;u+=1){const h=d[u],{isMatch:p,indices:v,score:w}=h.search(t);if(p){if(o+=1,a+=w,r){const _=h.constructor.type;vP.has(_)?i=[...i,...v]:i.push(v)}}else{a=0,o=0,i.length=0;break}}if(o){let u={isMatch:!0,score:a/o};return r&&(u.indices=i),u}}return{isMatch:!1,score:1}}}const dl=[];function yP(...e){dl.push(...e)}function hl(e,t){for(let n=0,r=dl.length;n<r;n+=1){let s=dl[n];if(s.condition(e,t))return new s(e,t)}return new Ym(e,t)}const fi={AND:"$and",OR:"$or"},pl={PATH:"$path",PATTERN:"$val"},ml=e=>!!(e[fi.AND]||e[fi.OR]),bP=e=>!!e[pl.PATH],wP=e=>!sn(e)&&zm(e)&&!ml(e),yd=e=>({[fi.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Zm(e,t,{auto:n=!0}={}){const r=s=>{let o=Object.keys(s);const i=bP(s);if(!i&&o.length>1&&!ml(s))return r(yd(s));if(wP(s)){const l=i?s[pl.PATH]:o[0],c=i?s[pl.PATTERN]:s[l];if(!Ut(c))throw new Error(zR(l));const d={keyId:ul(l),pattern:c};return n&&(d.searcher=hl(c,t)),d}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=s[l];sn(c)&&c.forEach(d=>{a.children.push(r(d))})}),a};return ml(e)||(e=yd(e)),r(e)}function EP(e,{ignoreFieldNorm:t=ye.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 xP(e,t){const n=e.matches;t.matches=[],dt(n)&&n.forEach(r=>{if(!dt(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 TP(e,t){t.score=e.score}function kP(e,t,{includeMatches:n=ye.includeMatches,includeScore:r=ye.includeScore}={}){const s=[];return n&&s.push(xP),r&&s.push(TP),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return s.length&&s.forEach(l=>{l(o,a)}),a})}class Br{constructor(t,n={},r){this.options={...ye,...n},this.options.useExtendedSearch,this._keyStore=new YR(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof yc))throw new Error(GR);this._myIndex=n||Xm(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){dt(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=Ut(t)?Ut(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return EP(l,{ignoreFieldNorm:a}),o&&l.sort(i),Gm(n)&&n>-1&&(l=l.slice(0,n)),kP(l,this._docs,{includeMatches:r,includeScore:s})}_searchStringList(t){const n=hl(t,this.options),{records:r}=this._myIndex,s=[];return r.forEach(({v:o,i,n:a})=>{if(!dt(o))return;const{isMatch:l,score:c,indices:d}=n.searchIn(o);l&&s.push({item:o,idx:i,matches:[{score:c,value:o,norm:a,indices:d}]})}),s}_searchLogical(t){const n=Zm(t,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:u,searcher:f}=a,h=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(l,u),searcher:f});return h&&h.length?[{idx:c,item:l,matches:h}]:[]}const d=[];for(let u=0,f=a.children.length;u<f;u+=1){const h=a.children[u],p=r(h,l,c);if(p.length)d.push(...p);else if(a.operator===fi.AND)return[]}return d},s=this._myIndex.records,o={},i=[];return s.forEach(({$:a,i:l})=>{if(dt(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:d})=>{o[l].matches.push(...d)}))}}),i}_searchObjectList(t){const n=hl(t,this.options),{keys:r,records:s}=this._myIndex,o=[];return s.forEach(({$:i,i:a})=>{if(!dt(i))return;let l=[];r.forEach((c,d)=>{l.push(...this._findMatches({key:c,value:i[d],searcher:n}))}),l.length&&o.push({idx:a,item:i,matches:l})}),o}_findMatches({key:t,value:n,searcher:r}){if(!dt(n))return[];let s=[];if(sn(n))n.forEach(({v:o,i,n:a})=>{if(!dt(o))return;const{isMatch:l,score:c,indices:d}=r.searchIn(o);l&&s.push({score:c,key:t,value:o,idx:i,norm:a,indices:d})});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}}Br.version="6.6.2";Br.createIndex=Xm;Br.parseIndex=sP;Br.config=ye;Br.parseQuery=Zm;yP(_P);const $P={"h-full":"",flex:"~ col"},SP={border:"b base","flex-none":""},AP={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},RP=["id","onClick","onMouseover"],PP={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},NP={"ws-nowrap":""},OP={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},LP={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},CP=ie("span",{op50:""},"No results for",-1),IP={"text-primary":""},jP={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},MP={"text-xs":"",flex:"~ items-center gap2"},DP=ie("span",{op75:""},"to navigate",-1),FP={"text-xs":"",flex:"~ items-center gap2"},BP={op75:""},HP={"text-xs":"",flex:"~ items-center gap2"},UP=ie("span",{op75:""},"to select",-1),VP=Oe({__name:"CommandPalette",setup(e){const t=te(!1),n=te(""),r=MR(),s=te(),o=pe(()=>s.value||r.value),i=pe(()=>new Br(o.value,{keys:["id","title"],distance:50})),a=pe(()=>n.value?i.value.search(n.value).map(h=>h.item):o.value||[]),l=te(0);Be(n,()=>{l.value=0,d()});function c(h){l.value=(l.value+h+a.value.length)%a.value.length,d()}function d(){document.getElementById(a.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function u(h){const p=await h.action();p?(s.value=p,n.value=""):(s.value=void 0,n.value="",t.value=!1)}Rt("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(),u(p));break}case"Escape":{h.preventDefault(),s.value?(s.value=void 0,n.value=""):t.value=!1;break}}});function f(h){h.key==="Backspace"&&!n.value&&s.value&&(h.preventDefault(),s.value=void 0,n.value="")}return(h,p)=>{const v=jR,w=_c,_=Vi,g=so,b=Wi;return ue(),Ne(b,{modelValue:oe(t),"onUpdate:modelValue":p[1]||(p[1]=y=>De(t)?t.value=y:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:Ee(()=>[ie("div",$P,[ie("header",SP,[ce(v,{modelValue:oe(n),"onUpdate:modelValue":p[0]||(p[0]=y=>De(n)?n.value=y:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:f},null,8,["modelValue"])]),ie("div",AP,[(ue(!0),Te(Ie,null,_s(oe(a),(y,x)=>(ue(),Te("button",{id:y.id,key:y.id,onClick:m=>u(y),onMouseover:m=>l.value=x},[ie("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Xe(oe(l)===x?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[ce(w,{icon:y.icon,title:y.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),ie("span",PP,[ie("span",NP,St(y.title),1),ie("span",OP,St(y.description),1)]),oe(l)===x?(ue(),Ne(_,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):Ke("",!0)],2)],40,RP))),128)),oe(a).length?Ke("",!0):(ue(),Te("div",LP,[ce(_,{op50:"",icon:"carbon-search"}),ie("div",null,[CP,ie("strong",IP,' "'+St(oe(n))+'" ',1)])]))]),ie("footer",jP,[ie("div",MP,[ce(g,{n:"xs",px1:""},{default:Ee(()=>[ce(_,{icon:"carbon-arrow-down"})]),_:1}),ce(g,{n:"xs",px1:""},{default:Ee(()=>[ce(_,{icon:"carbon-arrow-up"})]),_:1}),DP]),ie("div",FP,[ce(g,{n:"xs",px1:""},{default:Ee(()=>[Me(" Esc ")]),_:1}),ie("span",BP,"to "+St(oe(s)?"go back":"close"),1)]),ie("div",HP,[ce(g,{n:"xs",px1:""},{default:Ee(()=>[ce(_,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),UP])])])]),_:1},8,["modelValue"])}}}),WP={p4:"",flex:"~ col gap-2"},GP=ie("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[ie("span",{class:"i-carbon-information-square"}),Me(" Permissions required ")],-1),zP=ie("p",null," This operation requires permissions for running command and access files from the browser. ",-1),qP=ie("p",null,[Me(" A request is sent to the server."),ie("br"),Me(" Please check your terminal for the instructions and then come back. ")],-1),KP={flex:"~ gap-3",mt2:"","justify-end":""},XP=Oe({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=so,s=Wi;return ue(),Ne(oe(Fp),null,{default:Ee(({resolve:o})=>[ce(s,{"model-value":!0,onClose:i=>o(!1)},{default:Ee(()=>[ie("div",WP,[GP,zP,qP,ie("div",KP,[ce(r,{onClick:i=>o(!1)},{default:Ee(()=>[Me(" Cancel ")]),_:2},1032,["onClick"]),ce(r,{disabled:"",icon:"i-carbon-time"},{default:Ee(()=>[Me(" Waiting for authorization... ")]),_:1})])])]),_:2},1032,["onClose"])]),_:1})}}}),YP={},JP={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},QP=ie("path",{d:"M74.2283 119.873H123.414C124.977 119.874 126.511 119.475 127.864 118.717C129.217 117.959 130.341 116.869 131.121 115.557C131.902 114.244 132.313 112.755 132.312 111.24C132.312 109.725 131.899 108.236 131.118 106.924L98.0856 51.4278C97.3048 50.1156 96.1817 49.0259 94.829 48.2683C93.4764 47.5107 91.942 47.1118 90.38 47.1118C88.8181 47.1118 87.2836 47.5107 85.931 48.2683C84.5784 49.0259 83.4552 50.1156 82.6745 51.4278L74.2283 65.6274L57.7148 37.8605C56.9334 36.5484 55.8097 35.4589 54.4567 34.7014C53.1037 33.9439 51.569 33.5451 50.0068 33.5451C48.4446 33.5451 46.9099 33.9439 45.5569 34.7014C44.2039 35.4589 43.0803 36.5484 42.2989 37.8605L1.1947 106.924C0.41273 108.236 0.000680577 109.725 8.42355e-07 111.24C-0.000678893 112.755 0.410035 114.244 1.19083 115.557C1.97163 116.869 3.09498 117.959 4.44789 118.717C5.80081 119.475 7.33558 119.874 8.89785 119.873H39.7727C52.0057 119.873 61.0271 114.661 67.2346 104.493L82.3054 79.1761L90.3776 65.6274L114.604 106.325H82.3054L74.2283 119.873ZM39.2694 106.311L17.7227 106.306L50.0212 52.0462L66.1369 79.1761L55.3468 97.3092C51.2244 103.907 46.5411 106.311 39.2694 106.311Z",fill:"#00DC82"},null,-1),ZP=ie("path",{d:"M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z",fill:"currentColor"},null,-1),e2=[QP,ZP];function t2(e,t){return ue(),Te("svg",JP,e2)}const n2=ro(YP,[["render",t2]]),r2={},s2={key:0,flex:"~ col justify-center items-center gap-2",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-5":"","glass-effect":""},o2={flex:"~","mt--10":"","items-center":"","justify-center":""},i2={key:0,flex:"~ gap-2","items-center":"","text-rose":""},a2={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function l2(e,t){const n=n2,r=Vi;return ue(),Ne(bh,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:oe(xE))?(ue(),Te("div",s2,[ie("div",o2,[ce(n,{"h-14":""})]),("wsError"in e?e.wsError:oe(EE))?(ue(),Te("div",i2,[ce(r,{icon:"i-carbon-wifi-off"}),Me(" WebSocket disconnected ")])):(ue(),Te("div",a2,[ce(r,{icon:"i-carbon-circle-dash","animate-spin":""}),Me(" Connecting to the server... ")]))])):Ke("",!0)])}const c2=ro(r2,[["render",l2]]),u2={p4:"",flex:"~ col gap-1"},f2=ie("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),d2={op50:""},h2={flex:"~ gap-3",mt2:"","justify-end":""},p2=Oe({__name:"RestartDialogs",setup(e){const t=Pe(),n=$E(),r=tt(),s=sc();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(l=>{l&&(Fe.restartNuxt(),setTimeout(()=>{r.value?.reloadPage()},500))}))}}),(o,i)=>{const a=so,l=Wi;return ue(),Ne(oe(s),null,{default:Ee(({resolve:c,args:d})=>[ce(l,{"model-value":!0,onClose:u=>c(!1)},{default:Ee(()=>[ie("div",u2,[f2,ie("p",d2,St(d[0]),1),ie("div",h2,[ce(a,{onClick:u=>c(!1)},{default:Ee(()=>[Me(" Cancel ")]),_:2},1032,["onClick"]),ce(a,{n:"solid primary",onClick:u=>c(!0)},{default:Ee(()=>[Me(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});const bd=te([]),wd=te();function m2(){const e=Pe(),t=tt(),n=st();Object.assign(Mp,{async refresh(r){e.hooks.callHookParallel("app:data:refresh",[r])},async callHook(r,...s){e.hooks.callHookParallel(r,...s)},async onTerminalData(r){e.hooks.callHookParallel("devtools:terminal:data",r)},async onTerminalExit(r){e.hooks.callHookParallel("devtools:terminal:exit",r);const s=bd.value.findIndex(o=>o.processId===r.id);s!==-1&&bd.value.splice(s,1),wd.value?.processId===r.id&&(wd.value=void 0)},async navigateTo(r){t.value.open(),n.currentRoute.value.path!==r&&n.push(r)}}),Fe.getModuleOptions().then(r=>{r.disableAuthorization&&(vr.value=!0,Bt.value||="disabled")})}const g2={fixed:"","inset-0":"","h-screen":"","w-screen":""},v2=["grid"],_2=Oe({__name:"app",setup(e){Re(()=>import("./unocss-runtime.552cd61f.js"),[],import.meta.url),H0({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),m2();const t=tt(),n=ki(),r=Ci(),s=pe(()=>n.path.startsWith("/__")),o=pe(()=>!t.value&&!g$.value);Be(()=>t.value?.colorMode.value,a=>{a&&(r.value=a)},{immediate:!0}),addEventListener("keydown",a=>{a.code==="KeyD"&&a.altKey&&(t.value?.close(),a.preventDefault())});const{scale:i}=Mi();return An(()=>{const a=v$();Kn(()=>{window.__NUXT_DEVTOOLS__=a.value}),Kn(()=>{document.body.style.fontSize=`${i.value*15}px`})}),(a,l)=>{const c=qS,d=XS,u=tA,f=kR,h=NR,p=RR,v=VP,w=XP,_=c2,g=p2;return ue(),Te("div",g2,[ce(c),ce(d),oe(o)?(ue(),Ne(u,{key:0},{default:Ee(()=>[Me(" Connecting.... ")]),_:1})):(ue(),Te("div",{key:1,grid:oe(s)?"flex":"~ cols-[50px_1fr]","h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[Dl(ce(f,{"of-x-hidden":"","of-y-auto":""},null,512),[[jh,!oe(s)]]),ce(p,null,{default:Ee(()=>[ce(h)]),_:1}),ce(v),ce(w)],8,v2)),ce(_),ce(g)])}}}),y2={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
|
|
20
|
+
`).splice(1).map(u=>({text:u.replace("webpack:/","").replace(".vue",".js").trim(),internal:u.includes("node_modules")&&!u.includes(".cache")||u.includes("internal")||u.includes("new Promise")})).map(u=>`<span class="stack${u.internal?" internal":""}">${u.text}</span>`).join(`
|
|
21
|
+
`);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,d=s?ws(()=>Re(()=>import("./error-404.eb07c617.js"),["./error-404.eb07c617.js","./error-404.91003ceb.css"],import.meta.url).then(u=>u.default||u)):ws(()=>Re(()=>import("./error-500.8214e786.js"),["./error-500.8214e786.js","./error-500.7e02f53c.css"],import.meta.url).then(u=>u.default||u));return(u,f)=>(ue(),Ne(oe(d),wl(Ei({statusCode:oe(r),statusMessage:oe(o),description:oe(i),stack:oe(a)})),null,16))}},Ed={__name:"nuxt-root",setup(e){const t=()=>null,n=Pe(),r=n.deferHydration(),s=!1;Wn("_route",ki()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const o=$i();lh((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),sb(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>cr(a)),!1});const{islandContext:i}=!1;return(a,l)=>(ue(),Ne(Il,{onResolve:oe(r)},{default:Ee(()=>[oe(o)?(ue(),Ne(oe(y2),{key:0,error:oe(o)},null,8,["error"])):oe(i)?(ue(),Ne(oe(t),{key:1,context:oe(i)},null,8,["context"])):oe(s)?(ue(),Ne(Ul(oe(s)),{key:2})):(ue(),Ne(oe(_2),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=$y.create({baseURL:Ay()}));let xd;{let e;xd=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?H_(Ed):Dh(Ed),s=Hy({vueApp:r});try{await Vy(s,zS)}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount("#"+G0),await s.hooks.callHook("app:mounted",r),await wt()}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}return r},e=xd().catch(t=>{console.error("Error while mounting app:",t)})}export{$y as $,NE as A,sc as B,Y2 as C,st as D,ki as E,Ie as F,tN as G,wd as H,De as I,jR as J,Wi as K,Rt as L,Qa as M,wE as N,EE as O,Vi as P,k1 as Q,M2 as R,gn as S,Z2 as T,L2 as U,w$ as V,GA as W,D2 as X,K2 as Y,Br as Z,ro as _,ie as a,er as a$,C2 as a0,bt as a1,Ci as a2,lm as a3,z2 as a4,An as a5,Be as a6,Mi as a7,uA as a8,xn as a9,b2 as aA,E2 as aB,ht as aC,wl as aD,Ei as aE,Q0 as aF,N2 as aG,T2 as aH,W2 as aI,om as aJ,V2 as aK,J2 as aL,nw as aM,D_ as aN,eN as aO,R2 as aP,O2 as aQ,g$ as aR,pt as aS,U2 as aT,$E as aU,Mr as aV,A2 as aW,k2 as aX,X2 as aY,_c as aZ,mw as a_,$2 as aa,D1 as ab,tt as ac,Ul as ad,j2 as ae,_w as af,Ti as ag,Tn as ah,ut as ai,I2 as aj,wt as ak,Kn as al,Vs as am,v$ as an,lR as ao,vr as ap,G2 as aq,q2 as ar,S2 as as,Pp as at,w2 as au,F2 as av,bd as aw,ov as ax,Hd as ay,Al as az,ce as b,P2 as b0,tA as b1,tw as b2,b$ as b3,bv as b4,qn as b5,x2 as b6,ou as b7,Pe as b8,bp as b9,Ot as ba,Ye as bb,Bf as bc,Bt as bd,H2 as be,x$ as bf,Vd as bg,Q2 as bh,pd as bi,iA as bj,P_ as bk,O_ as bl,B2 as bm,RE as bn,Te as c,Me as d,tc as e,sv as f,Oe as g,Ne as h,A$ as i,so as j,n2 as k,pe as l,_s as m,Xe as n,ue as o,rv as p,oe as q,te as r,Ke as s,St as t,H0 as u,rE as v,Ee as w,Dl as x,jh as y,Fe as z};
|