@nuxt/devtools 0.2.5 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/chunks/module-main.mjs +692 -258
- package/dist/chunks/plugin-metrics.mjs +56 -0
- package/dist/chunks/vite-inspect.mjs +12 -13
- package/dist/chunks/vscode.mjs +44 -26
- package/dist/chunks/vue-inspector.mjs +2 -2
- package/dist/cli.mjs +5 -4
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/__inspecting/index.html +2 -2
- package/dist/client/_nuxt/Badge.ec308af3.js +1 -0
- package/dist/client/_nuxt/DrawerRight.vue.a85afa62.js +1 -0
- package/dist/client/_nuxt/DurationDisplay.vue.9b5b62d4.js +1 -0
- package/dist/client/_nuxt/FilepathItem.vue.178a1de3.js +1 -0
- package/dist/client/_nuxt/LaunchPage.vue.a0bbd67e.js +1 -0
- package/dist/client/_nuxt/NCheckbox.vue.4a02f339.js +1 -0
- package/dist/client/_nuxt/NCodeBlock.vue.593cb41f.js +1 -0
- package/dist/client/_nuxt/NIconButton.vue.a83f99ea.js +1 -0
- package/dist/client/_nuxt/NIconTitle.vue.ce90e41b.js +1 -0
- package/dist/client/_nuxt/NMarkdown.vue.11f68fad.js +1 -0
- package/dist/client/_nuxt/NSectionBlock.c955e75e.js +1 -0
- package/dist/client/_nuxt/NSelect.vue.e19311d6.js +1 -0
- package/dist/client/_nuxt/NSwitch.vue.76c93e66.js +1 -0
- package/dist/client/_nuxt/NTextInput.vue.d770ca6c.js +1 -0
- package/dist/client/_nuxt/NTip.vue.ac67cde4.js +1 -0
- package/dist/client/_nuxt/NpmVersionCheck.vue.0eab98c7.js +1 -0
- package/dist/client/_nuxt/{NuxtLogo.8111403f.js → NuxtLogo.38adb408.js} +1 -1
- package/dist/client/_nuxt/{PanelLeftRight.vue.56b5906c.js → PanelLeftRight.vue.90cdedcf.js} +1 -1
- package/dist/client/_nuxt/StateEditor.vue.c57dfe46.js +1 -0
- package/dist/client/_nuxt/{TabIcon.vue.30ae65eb.js → TabIcon.vue.8236980c.js} +1 -1
- package/dist/client/_nuxt/{__inspecting.8819ade8.js → __inspecting.143a746c.js} +1 -1
- package/dist/client/_nuxt/assets.d6a1ab2b.js +16 -0
- package/dist/client/_nuxt/components.1b7f02b2.js +1 -0
- package/dist/client/_nuxt/context.fe69916a.js +1 -0
- package/dist/client/_nuxt/custom-_name_.02ebd30e.js +1 -0
- package/dist/client/_nuxt/default.e6b60844.js +1 -0
- package/dist/client/_nuxt/editor.e10c09a2.js +1 -0
- package/dist/client/_nuxt/entry.216b69f8.js +259 -0
- package/dist/client/_nuxt/entry.654353dc.css +32 -0
- package/dist/client/_nuxt/error-404.51bdc645.js +1 -0
- package/dist/client/_nuxt/{error-500.8f6cefc5.js → error-500.15ac1dfe.js} +1 -1
- package/dist/client/_nuxt/error-component.0a7a48e4.js +3 -0
- package/dist/client/_nuxt/hooks.aa487478.js +1 -0
- package/dist/client/_nuxt/icons.43eaabec.js +1 -0
- package/dist/client/_nuxt/imports.01c0f8be.js +1 -0
- package/dist/client/_nuxt/{index.a6656ecb.js → index.3b3b7aca.js} +5 -5
- package/dist/client/_nuxt/index.517491fb.js +1 -0
- package/dist/client/_nuxt/index.c769634a.js +3 -0
- package/dist/client/_nuxt/layouts.e447e192.js +1 -0
- package/dist/client/_nuxt/middleware.e73473f1.js +1 -0
- package/dist/client/_nuxt/modules.304ea21e.js +1 -0
- package/dist/client/_nuxt/{none.394b52e6.js → none.3e2499ec.js} +1 -1
- package/dist/client/_nuxt/overview.b79bf694.js +1 -0
- package/dist/client/_nuxt/pages.fafa9fe0.js +1 -0
- package/dist/client/_nuxt/payload.ee430f3a.js +1 -0
- package/dist/client/_nuxt/plugins.5095ec46.js +1 -0
- package/dist/client/_nuxt/runtime-configs.b20fbeb6.js +1 -0
- package/dist/client/_nuxt/server-routes.7352d340.js +1 -0
- package/dist/client/_nuxt/settings.b6d3cae9.js +1 -0
- package/dist/client/_nuxt/storage.2e73159a.js +1 -0
- package/dist/client/_nuxt/terminals.4329aeb9.css +1 -0
- package/dist/client/_nuxt/terminals.65080a19.js +1 -0
- package/dist/client/_nuxt/{unocss-runtime.daeb320e.js → unocss-runtime.5708ce83.js} +2 -2
- package/dist/client/_nuxt/virtual-files.9eb05502.js +1 -0
- package/dist/client/index.html +2 -2
- package/dist/client/modules/assets/index.html +7 -0
- 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/layouts/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/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 +7 -0
- package/dist/client/modules/virtual-files/index.html +2 -2
- package/dist/client/settings/index.html +7 -0
- package/dist/dirs.mjs +2 -2
- package/dist/module.d.ts +3 -33
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/plugins/devtools.client.mjs +7 -1
- package/dist/shared/{devtools.258c6e2e.mjs → devtools.696fb428.mjs} +1 -1
- package/dist/types.d.ts +4 -337
- package/dist/types.mjs +1 -1
- package/package.json +36 -35
- package/dist/client/_nuxt/Badge.4f16da14.js +0 -1
- package/dist/client/_nuxt/FilepathItem.vue.235fa07d.js +0 -1
- package/dist/client/_nuxt/LaunchPage.vue.86f00e85.js +0 -1
- package/dist/client/_nuxt/NButton.a7fda268.css +0 -1
- package/dist/client/_nuxt/NButton.vue.76dccbb9.js +0 -100
- package/dist/client/_nuxt/NCheckbox.vue.60126ccb.js +0 -1
- package/dist/client/_nuxt/NMarkdown.vue.abb154b8.js +0 -1
- package/dist/client/_nuxt/NSectionBlock.58837776.js +0 -1
- package/dist/client/_nuxt/NSectionBlock.891fa081.css +0 -1
- package/dist/client/_nuxt/NTextInput.vue.1fd15b74.js +0 -1
- package/dist/client/_nuxt/StateEditor.vue.bdb7e5c8.js +0 -1
- package/dist/client/_nuxt/asyncData.103aad72.js +0 -1
- package/dist/client/_nuxt/client.9c41f495.js +0 -1
- package/dist/client/_nuxt/components.43dee80b.js +0 -1
- package/dist/client/_nuxt/context.55688cca.js +0 -1
- package/dist/client/_nuxt/custom-_name_.8832be9d.js +0 -1
- package/dist/client/_nuxt/default.c29c3e74.js +0 -1
- package/dist/client/_nuxt/editor.66e59505.js +0 -1
- package/dist/client/_nuxt/entry.3a404c59.css +0 -1
- package/dist/client/_nuxt/entry.883bcfe6.js +0 -11
- package/dist/client/_nuxt/error-404.d027ece6.js +0 -1
- package/dist/client/_nuxt/error-component.ee11a8ba.js +0 -3
- package/dist/client/_nuxt/hooks.427abdcd.js +0 -1
- package/dist/client/_nuxt/icons.7b11eba5.js +0 -1
- package/dist/client/_nuxt/imports.2dc7174b.js +0 -1
- package/dist/client/_nuxt/index.0d6abd2a.js +0 -1
- package/dist/client/_nuxt/json-editor-vue.a65019ca.js +0 -137
- package/dist/client/_nuxt/layouts.4db8e1e6.js +0 -1
- package/dist/client/_nuxt/middleware.c4f2a57b.js +0 -1
- package/dist/client/_nuxt/modules.a2209d2d.js +0 -1
- package/dist/client/_nuxt/nuxt-link.a34a1045.js +0 -1
- package/dist/client/_nuxt/overview.5053fd45.js +0 -1
- package/dist/client/_nuxt/pages.9a1a9ac3.js +0 -1
- package/dist/client/_nuxt/payload.ed4c5688.js +0 -1
- package/dist/client/_nuxt/plugins.95c9e3e6.js +0 -1
- package/dist/client/_nuxt/runtime-configs.7ebddf6f.js +0 -1
- package/dist/client/_nuxt/server-routes.5337ffc6.js +0 -1
- package/dist/client/_nuxt/state.1f523208.js +0 -1
- package/dist/client/_nuxt/storage.4459d7bf.js +0 -1
- package/dist/client/_nuxt/virtual-files.a15894d9.js +0 -3
- package/dist/iframe-client.d.ts +0 -15
- package/dist/iframe-client.mjs +0 -32
- package/iframe-client.d.ts +0 -1
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
function ui(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o<s.length;o++)n[s[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}function nn(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Pe(s)?Ff(s):nn(s);if(o)for(const r in o)t[r]=o[r]}return t}else{if(Pe(e))return e;if(ve(e))return e}}const Bf=/;(?![^(]*\))/g,Hf=/:([^]+)/,Df=/\/\*.*?\*\//gs;function Ff(e){const t={};return e.replace(Df,"").split(Bf).forEach(n=>{if(n){const s=n.split(Hf);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Pt(e){let t="";if(Pe(e))t=e;else if(ee(e))for(let n=0;n<e.length;n++){const s=Pt(e[n]);s&&(t+=s+" ")}else if(ve(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Uf(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Pe(t)&&(e.class=Pt(t)),n&&(e.style=nn(n)),e}const Wf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Gf=ui(Wf);function Xl(e){return!!e||e===""}function zf(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=on(e[s],t[s]);return n}function on(e,t){if(e===t)return!0;let n=qi(e),s=qi(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=ws(e),s=ws(t),n||s)return e===t;if(n=ee(e),s=ee(t),n||s)return n&&s?zf(e,t):!1;if(n=ve(e),s=ve(t),n||s){if(!n||!s)return!1;const o=Object.keys(e).length,r=Object.keys(t).length;if(o!==r)return!1;for(const i in e){const a=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(a&&!c||!a&&c||!on(e[i],t[i]))return!1}}return String(e)===String(t)}function fi(e,t){return e.findIndex(n=>on(n,t))}const Vf=e=>Pe(e)?e:e==null?"":ee(e)||ve(e)&&(e.toString===Zl||!ie(e.toString))?JSON.stringify(e,Yl,2):String(e),Yl=(e,t)=>t&&t.__v_isRef?Yl(e,t.value):gn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:$n(t)?{[`Set(${t.size})`]:[...t.values()]}:ve(t)&&!ee(t)&&!ec(t)?String(t):t,we={},mn=[],nt=()=>{},qf=()=>!1,Kf=/^on[^a-z]/,Ns=e=>Kf.test(e),di=e=>e.startsWith("onUpdate:"),Ce=Object.assign,pi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qf=Object.prototype.hasOwnProperty,he=(e,t)=>Qf.call(e,t),ee=Array.isArray,gn=e=>Nn(e)==="[object Map]",$n=e=>Nn(e)==="[object Set]",qi=e=>Nn(e)==="[object Date]",Jf=e=>Nn(e)==="[object RegExp]",ie=e=>typeof e=="function",Pe=e=>typeof e=="string",ws=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",hi=e=>ve(e)&&ie(e.then)&&ie(e.catch),Zl=Object.prototype.toString,Nn=e=>Zl.call(e),Xf=e=>Nn(e).slice(8,-1),ec=e=>Nn(e)==="[object Object]",mi=e=>Pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,us=ui(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Yf=/-(\w)/g,ut=Rr(e=>e.replace(Yf,(t,n)=>n?n.toUpperCase():"")),Zf=/\B([A-Z])/g,cn=Rr(e=>e.replace(Zf,"-$1").toLowerCase()),Or=Rr(e=>e.charAt(0).toUpperCase()+e.slice(1)),to=Rr(e=>e?`on${Or(e)}`:""),ks=(e,t)=>!Object.is(e,t),_n=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},nr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},sr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},tc=e=>{const t=Pe(e)?Number(e):NaN;return isNaN(t)?e:t};let Ki;const ed=()=>Ki||(Ki=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ze;class td{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ze,!t&&ze&&(this.index=(ze.scopes||(ze.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ze;try{return ze=this,t()}finally{ze=n}}}on(){ze=this}off(){ze=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function nd(e,t=ze){t&&t.active&&t.effects.push(e)}function nc(){return ze}function sd(e){ze&&ze.cleanups.push(e)}const gi=e=>{const t=new Set(e);return t.w=0,t.n=0,t},sc=e=>(e.w&Ft)>0,rc=e=>(e.n&Ft)>0,rd=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ft},od=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];sc(o)&&!rc(o)?o.delete(e):t[n++]=o,o.w&=~Ft,o.n&=~Ft}t.length=n}},rr=new WeakMap;let ls=0,Ft=1;const Eo=30;let Ze;const sn=Symbol(""),Ao=Symbol("");class _i{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,nd(this,s)}run(){if(!this.active)return this.fn();let t=Ze,n=Bt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ze,Ze=this,Bt=!0,Ft=1<<++ls,ls<=Eo?rd(this):Qi(this),this.fn()}finally{ls<=Eo&&od(this),Ft=1<<--ls,Ze=this.parent,Bt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ze===this?this.deferStop=!0:this.active&&(Qi(this),this.onStop&&this.onStop(),this.active=!1)}}function Qi(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Bt=!0;const oc=[];function Cn(){oc.push(Bt),Bt=!1}function jn(){const e=oc.pop();Bt=e===void 0?!0:e}function Ue(e,t,n){if(Bt&&Ze){let s=rr.get(e);s||rr.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=gi()),ic(o)}}function ic(e,t){let n=!1;ls<=Eo?rc(e)||(e.n|=Ft,n=!sc(e)):n=!e.has(Ze),n&&(e.add(Ze),Ze.deps.push(e))}function bt(e,t,n,s,o,r){const i=rr.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ee(e)){const c=Number(s);i.forEach((l,p)=>{(p==="length"||p>=c)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ee(e)?mi(n)&&a.push(i.get("length")):(a.push(i.get(sn)),gn(e)&&a.push(i.get(Ao)));break;case"delete":ee(e)||(a.push(i.get(sn)),gn(e)&&a.push(i.get(Ao)));break;case"set":gn(e)&&a.push(i.get(sn));break}if(a.length===1)a[0]&&xo(a[0]);else{const c=[];for(const l of a)l&&c.push(...l);xo(gi(c))}}function xo(e,t){const n=ee(e)?e:[...e];for(const s of n)s.computed&&Ji(s);for(const s of n)s.computed||Ji(s)}function Ji(e,t){(e!==Ze||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function id(e,t){var n;return(n=rr.get(e))===null||n===void 0?void 0:n.get(t)}const ad=ui("__proto__,__v_isRef,__isVue"),ac=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ws)),ld=yi(),cd=yi(!1,!0),ud=yi(!0),Xi=fd();function fd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=me(this);for(let r=0,i=this.length;r<i;r++)Ue(s,"get",r+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(me)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Cn();const s=me(this)[t].apply(this,n);return jn(),s}}),e}function dd(e){const t=me(this);return Ue(t,"has",e),t.hasOwnProperty(e)}function yi(e=!1,t=!1){return function(s,o,r){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&r===(e?t?xd:dc:t?fc:uc).get(s))return s;const i=ee(s);if(!e){if(i&&he(Xi,o))return Reflect.get(Xi,o,r);if(o==="hasOwnProperty")return dd}const a=Reflect.get(s,o,r);return(ws(o)?ac.has(o):ad(o))||(e||Ue(s,"get",o),t)?a:Ae(a)?i&&mi(o)?a:a.value:ve(a)?e?Nr(a):st(a):a}}const pd=lc(),hd=lc(!0);function lc(e=!1){return function(n,s,o,r){let i=n[s];if(an(i)&&Ae(i)&&!Ae(o))return!1;if(!e&&(!or(o)&&!an(o)&&(i=me(i),o=me(o)),!ee(n)&&Ae(i)&&!Ae(o)))return i.value=o,!0;const a=ee(n)&&mi(s)?Number(s)<n.length:he(n,s),c=Reflect.set(n,s,o,r);return n===me(r)&&(a?ks(o,i)&&bt(n,"set",s,o):bt(n,"add",s,o)),c}}function md(e,t){const n=he(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&bt(e,"delete",t,void 0),s}function gd(e,t){const n=Reflect.has(e,t);return(!ws(t)||!ac.has(t))&&Ue(e,"has",t),n}function _d(e){return Ue(e,"iterate",ee(e)?"length":sn),Reflect.ownKeys(e)}const cc={get:ld,set:pd,deleteProperty:md,has:gd,ownKeys:_d},yd={get:ud,set(e,t){return!0},deleteProperty(e,t){return!0}},bd=Ce({},cc,{get:cd,set:hd}),bi=e=>e,$r=e=>Reflect.getPrototypeOf(e);function Ds(e,t,n=!1,s=!1){e=e.__v_raw;const o=me(e),r=me(t);n||(t!==r&&Ue(o,"get",t),Ue(o,"get",r));const{has:i}=$r(o),a=s?bi:n?ki:Ps;if(i.call(o,t))return a(e.get(t));if(i.call(o,r))return a(e.get(r));e!==o&&e.get(t)}function Fs(e,t=!1){const n=this.__v_raw,s=me(n),o=me(e);return t||(e!==o&&Ue(s,"has",e),Ue(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Us(e,t=!1){return e=e.__v_raw,!t&&Ue(me(e),"iterate",sn),Reflect.get(e,"size",e)}function Yi(e){e=me(e);const t=me(this);return $r(t).has.call(t,e)||(t.add(e),bt(t,"add",e,e)),this}function Zi(e,t){t=me(t);const n=me(this),{has:s,get:o}=$r(n);let r=s.call(n,e);r||(e=me(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?ks(t,i)&&bt(n,"set",e,t):bt(n,"add",e,t),this}function ea(e){const t=me(this),{has:n,get:s}=$r(t);let o=n.call(t,e);o||(e=me(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&bt(t,"delete",e,void 0),r}function ta(){const e=me(this),t=e.size!==0,n=e.clear();return t&&bt(e,"clear",void 0,void 0),n}function Ws(e,t){return function(s,o){const r=this,i=r.__v_raw,a=me(i),c=t?bi:e?ki:Ps;return!e&&Ue(a,"iterate",sn),i.forEach((l,p)=>s.call(o,c(l),c(p),r))}}function Gs(e,t,n){return function(...s){const o=this.__v_raw,r=me(o),i=gn(r),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=o[e](...s),p=n?bi:t?ki:Ps;return!t&&Ue(r,"iterate",c?Ao:sn),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[p(f[0]),p(f[1])]:p(f),done:d}},[Symbol.iterator](){return this}}}}function Lt(e){return function(...t){return e==="delete"?!1:this}}function vd(){const e={get(r){return Ds(this,r)},get size(){return Us(this)},has:Fs,add:Yi,set:Zi,delete:ea,clear:ta,forEach:Ws(!1,!1)},t={get(r){return Ds(this,r,!1,!0)},get size(){return Us(this)},has:Fs,add:Yi,set:Zi,delete:ea,clear:ta,forEach:Ws(!1,!0)},n={get(r){return Ds(this,r,!0)},get size(){return Us(this,!0)},has(r){return Fs.call(this,r,!0)},add:Lt("add"),set:Lt("set"),delete:Lt("delete"),clear:Lt("clear"),forEach:Ws(!0,!1)},s={get(r){return Ds(this,r,!0,!0)},get size(){return Us(this,!0)},has(r){return Fs.call(this,r,!0)},add:Lt("add"),set:Lt("set"),delete:Lt("delete"),clear:Lt("clear"),forEach:Ws(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Gs(r,!1,!1),n[r]=Gs(r,!0,!1),t[r]=Gs(r,!1,!0),s[r]=Gs(r,!0,!0)}),[e,n,t,s]}const[wd,kd,Pd,Td]=vd();function vi(e,t){const n=t?e?Td:Pd:e?kd:wd;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(he(n,o)&&o in s?n:s,o,r)}const Sd={get:vi(!1,!1)},Ed={get:vi(!1,!0)},Ad={get:vi(!0,!1)},uc=new WeakMap,fc=new WeakMap,dc=new WeakMap,xd=new WeakMap;function Ld(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rd(e){return e.__v_skip||!Object.isExtensible(e)?0:Ld(Xf(e))}function st(e){return an(e)?e:wi(e,!1,cc,Sd,uc)}function Od(e){return wi(e,!1,bd,Ed,fc)}function Nr(e){return wi(e,!0,yd,Ad,dc)}function wi(e,t,n,s,o){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=Rd(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return o.set(e,a),a}function yn(e){return an(e)?yn(e.__v_raw):!!(e&&e.__v_isReactive)}function an(e){return!!(e&&e.__v_isReadonly)}function or(e){return!!(e&&e.__v_isShallow)}function pc(e){return yn(e)||an(e)}function me(e){const t=e&&e.__v_raw;return t?me(t):e}function hc(e){return nr(e,"__v_skip",!0),e}const Ps=e=>ve(e)?st(e):e,ki=e=>ve(e)?Nr(e):e;function Pi(e){Bt&&Ze&&(e=me(e),ic(e.dep||(e.dep=gi())))}function Cr(e,t){e=me(e);const n=e.dep;n&&xo(n)}function Ae(e){return!!(e&&e.__v_isRef===!0)}function _e(e){return mc(e,!1)}function ir(e){return mc(e,!0)}function mc(e,t){return Ae(e)?e:new $d(e,t)}class $d{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:me(t),this._value=n?t:Ps(t)}get value(){return Pi(this),this._value}set value(t){const n=this.__v_isShallow||or(t)||an(t);t=n?t:me(t),ks(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ps(t),Cr(this))}}function Uw(e){Cr(e)}function Te(e){return Ae(e)?e.value:e}const Nd={get:(e,t,n)=>Te(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Ae(o)&&!Ae(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function gc(e){return yn(e)?e:new Proxy(e,Nd)}class Cd{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Pi(this),()=>Cr(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function jd(e){return new Cd(e)}function Id(e){const t=ee(e)?new Array(e.length):{};for(const n in e)t[n]=Ti(e,n);return t}class Md{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,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 id(me(this._object),this._key)}}function Ti(e,t,n){const s=e[t];return Ae(s)?s:new Md(e,t,n)}var _c;class Bd{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[_c]=!1,this._dirty=!0,this.effect=new _i(t,()=>{this._dirty||(this._dirty=!0,Cr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=me(this);return Pi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}_c="__v_isReadonly";function Hd(e,t,n=!1){let s,o;const r=ie(e);return r?(s=e,o=nt):(s=e.get,o=e.set),new Bd(s,o,r||!o,n)}function Ht(e,t,n,s){let o;try{o=s?e(...s):e()}catch(r){In(r,t,n)}return o}function Ye(e,t,n,s){if(ie(e)){const r=Ht(e,t,n,s);return r&&hi(r)&&r.catch(i=>{In(i,t,n)}),r}const o=[];for(let r=0;r<e.length;r++)o.push(Ye(e[r],t,n,s));return o}function In(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,a=n;for(;r;){const l=r.ec;if(l){for(let p=0;p<l.length;p++)if(l[p](e,i,a)===!1)return}r=r.parent}const c=t.appContext.config.errorHandler;if(c){Ht(c,null,10,[e,i,a]);return}}Dd(e,n,o,s)}function Dd(e,t,n,s=!0){console.error(e)}let Ts=!1,Lo=!1;const Ie=[];let at=0;const bn=[];let pt=null,Zt=0;const yc=Promise.resolve();let Si=null;function Tt(e){const t=Si||yc;return e?t.then(this?e.bind(this):e):t}function Fd(e){let t=at+1,n=Ie.length;for(;t<n;){const s=t+n>>>1;Ss(Ie[s])<e?t=s+1:n=s}return t}function jr(e){(!Ie.length||!Ie.includes(e,Ts&&e.allowRecurse?at+1:at))&&(e.id==null?Ie.push(e):Ie.splice(Fd(e.id),0,e),bc())}function bc(){!Ts&&!Lo&&(Lo=!0,Si=yc.then(wc))}function Ud(e){const t=Ie.indexOf(e);t>at&&Ie.splice(t,1)}function vc(e){ee(e)?bn.push(...e):(!pt||!pt.includes(e,e.allowRecurse?Zt+1:Zt))&&bn.push(e),bc()}function na(e,t=Ts?at+1:0){for(;t<Ie.length;t++){const n=Ie[t];n&&n.pre&&(Ie.splice(t,1),t--,n())}}function ar(e){if(bn.length){const t=[...new Set(bn)];if(bn.length=0,pt){pt.push(...t);return}for(pt=t,pt.sort((n,s)=>Ss(n)-Ss(s)),Zt=0;Zt<pt.length;Zt++)pt[Zt]();pt=null,Zt=0}}const Ss=e=>e.id==null?1/0:e.id,Wd=(e,t)=>{const n=Ss(e)-Ss(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function wc(e){Lo=!1,Ts=!0,Ie.sort(Wd);const t=nt;try{for(at=0;at<Ie.length;at++){const n=Ie[at];n&&n.active!==!1&&Ht(n,null,14)}}finally{at=0,Ie.length=0,ar(),Ts=!1,Si=null,(Ie.length||bn.length)&&wc()}}function Gd(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||we;let o=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in s){const p=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=s[p]||we;d&&(o=n.map(k=>Pe(k)?k.trim():k)),f&&(o=n.map(sr))}let a,c=s[a=to(t)]||s[a=to(ut(t))];!c&&r&&(c=s[a=to(cn(t))]),c&&Ye(c,e,6,o);const l=s[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ye(l,e,6,o)}}function kc(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},a=!1;if(!ie(e)){const c=l=>{const p=kc(l,t,!0);p&&(a=!0,Ce(i,p))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!a?(ve(e)&&s.set(e,null),null):(ee(r)?r.forEach(c=>i[c]=null):Ce(i,r),ve(e)&&s.set(e,i),i)}function Ir(e,t){return!e||!Ns(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,cn(t))||he(e,t))}let Ne=null,Mr=null;function lr(e){const t=Ne;return Ne=e,Mr=e&&e.type.__scopeId||null,t}function zd(e){Mr=e}function Vd(){Mr=null}const qd=e=>Ut;function Ut(e,t=Ne,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&pa(-1);const r=lr(t);let i;try{i=e(...o)}finally{lr(r),s._d&&pa(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function no(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:c,emit:l,render:p,renderCache:f,data:d,setupState:k,ctx:m,inheritAttrs:T}=e;let S,g;const h=lr(e);try{if(n.shapeFlag&4){const P=o||s;S=Qe(p.call(P,P,f,r,k,d,m)),g=c}else{const P=t;S=Qe(P.length>1?P(r,{attrs:c,slots:a,emit:l}):P(r,null)),g=t.props?c:Qd(c)}}catch(P){ds.length=0,In(P,e,1),S=be(He)}let _=S;if(g&&T!==!1){const P=Object.keys(g),{shapeFlag:w}=_;P.length&&w&7&&(i&&P.some(di)&&(g=Jd(g,i)),_=vt(_,g))}return n.dirs&&(_=vt(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),S=_,lr(h),S}function Kd(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(Sn(s)){if(s.type!==He||s.children==="v-if"){if(t)return;t=s}}else return}return t}const Qd=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ns(n))&&((t||(t={}))[n]=e[n]);return t},Jd=(e,t)=>{const n={};for(const s in e)(!di(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Xd(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:a,patchFlag:c}=t,l=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?sa(s,i,l):!!i;if(c&8){const p=t.dynamicProps;for(let f=0;f<p.length;f++){const d=p[f];if(i[d]!==s[d]&&!Ir(l,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?sa(s,i,l):!0:!!i;return!1}function sa(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(t[r]!==e[r]&&!Ir(n,r))return!0}return!1}function Ei({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Pc=e=>e.__isSuspense,Yd={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,c,l){e==null?Zd(t,n,s,o,r,i,a,c,l):ep(e,t,n,s,o,i,a,c,l)},hydrate:tp,create:Ai,normalize:np},Tc=Yd;function Es(e,t){const n=e.props&&e.props[t];ie(n)&&n()}function Zd(e,t,n,s,o,r,i,a,c){const{p:l,o:{createElement:p}}=c,f=p("div"),d=e.suspense=Ai(e,o,s,t,f,n,r,i,a,c);l(null,d.pendingBranch=e.ssContent,f,null,s,d,r,i),d.deps>0?(Es(e,"onPending"),Es(e,"onFallback"),l(null,e.ssFallback,t,n,s,null,r,i),vn(d,e.ssFallback)):d.resolve()}function ep(e,t,n,s,o,r,i,a,{p:c,um:l,o:{createElement:p}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,k=t.ssFallback,{activeBranch:m,pendingBranch:T,isInFallback:S,isHydrating:g}=f;if(T)f.pendingBranch=d,et(d,T)?(c(T,d,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0?f.resolve():S&&(c(m,k,n,s,o,null,r,i,a),vn(f,k))):(f.pendingId++,g?(f.isHydrating=!1,f.activeBranch=T):l(T,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=p("div"),S?(c(null,d,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0?f.resolve():(c(m,k,n,s,o,null,r,i,a),vn(f,k))):m&&et(d,m)?(c(m,d,n,s,o,f,r,i,a),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0&&f.resolve()));else if(m&&et(d,m))c(m,d,n,s,o,f,r,i,a),vn(f,d);else if(Es(t,"onPending"),f.pendingBranch=d,f.pendingId++,c(null,d,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0)f.resolve();else{const{timeout:h,pendingId:_}=f;h>0?setTimeout(()=>{f.pendingId===_&&f.fallback(k)},h):h===0&&f.fallback(k)}}function Ai(e,t,n,s,o,r,i,a,c,l,p=!1){const{p:f,m:d,um:k,n:m,o:{parentNode:T,remove:S}}=l,g=e.props?tc(e.props.timeout):void 0,h={vnode:e,parent:t,parentComponent:n,isSVG:i,container:s,hiddenContainer:o,anchor:r,deps:0,pendingId:0,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:p,isUnmounted:!1,effects:[],resolve(_=!1){const{vnode:P,activeBranch:w,pendingBranch:u,pendingId:v,effects:y,parentComponent:b,container:E}=h;if(h.isHydrating)h.isHydrating=!1;else if(!_){const $=w&&u.transition&&u.transition.mode==="out-in";$&&(w.transition.afterLeave=()=>{v===h.pendingId&&d(u,E,N,0)});let{anchor:N}=h;w&&(N=m(w),k(w,b,h,!0)),$||d(u,E,N,0)}vn(h,u),h.pendingBranch=null,h.isInFallback=!1;let L=h.parent,x=!1;for(;L;){if(L.pendingBranch){L.effects.push(...y),x=!0;break}L=L.parent}x||vc(y),h.effects=[],Es(P,"onResolve")},fallback(_){if(!h.pendingBranch)return;const{vnode:P,activeBranch:w,parentComponent:u,container:v,isSVG:y}=h;Es(P,"onFallback");const b=m(w),E=()=>{h.isInFallback&&(f(null,_,v,b,u,null,y,a,c),vn(h,_))},L=_.transition&&_.transition.mode==="out-in";L&&(w.transition.afterLeave=E),h.isInFallback=!0,k(w,u,null,!0),L||E()},move(_,P,w){h.activeBranch&&d(h.activeBranch,_,P,w),h.container=_},next(){return h.activeBranch&&m(h.activeBranch)},registerDep(_,P){const w=!!h.pendingBranch;w&&h.deps++;const u=_.vnode.el;_.asyncDep.catch(v=>{In(v,_,0)}).then(v=>{if(_.isUnmounted||h.isUnmounted||h.pendingId!==_.suspenseId)return;_.asyncResolved=!0;const{vnode:y}=_;jo(_,v,!1),u&&(y.el=u);const b=!u&&_.subTree.el;P(_,y,T(u||_.subTree.el),u?null:m(_.subTree),h,i,c),b&&S(b),Ei(_,y.el),w&&--h.deps===0&&h.resolve()})},unmount(_,P){h.isUnmounted=!0,h.activeBranch&&k(h.activeBranch,n,_,P),h.pendingBranch&&k(h.pendingBranch,n,_,P)}};return h}function tp(e,t,n,s,o,r,i,a,c){const l=t.suspense=Ai(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,a,!0),p=c(e,l.pendingBranch=t.ssContent,n,l,r,i);return l.deps===0&&l.resolve(),p}function np(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=ra(s?n.default:n),e.ssFallback=s?ra(n.fallback):be(He)}function ra(e){let t;if(ie(e)){const n=Tn&&e._c;n&&(e._d=!1,xe()),e=e(),n&&(e._d=!0,t=Xe,Qc())}return ee(e)&&(e=Kd(e)),e=Qe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Sc(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):vc(e)}function vn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,o=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=o,Ei(s,o))}function wn(e,t){if(Se){let n=Se.provides;const s=Se.parent&&Se.parent.provides;s===n&&(n=Se.provides=Object.create(s)),n[e]=t}}function Ve(e,t,n=!1){const s=Se||Ne;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ie(t)?t.call(s.proxy):t}}function Ec(e,t){return xi(e,null,t)}const zs={};function Me(e,t,n){return xi(e,t,n)}function xi(e,t,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=we){const a=nc()===Se?.scope?Se:null;let c,l=!1,p=!1;if(Ae(e)?(c=()=>e.value,l=or(e)):yn(e)?(c=()=>e,s=!0):ee(e)?(p=!0,l=e.some(_=>yn(_)||or(_)),c=()=>e.map(_=>{if(Ae(_))return _.value;if(yn(_))return tn(_);if(ie(_))return Ht(_,a,2)})):ie(e)?t?c=()=>Ht(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return f&&f(),Ye(e,a,3,[d])}:c=nt,t&&s){const _=c;c=()=>tn(_())}let f,d=_=>{f=g.onStop=()=>{Ht(_,a,4)}},k;if(En)if(d=nt,t?n&&Ye(t,a,3,[c(),p?[]:void 0,d]):c(),o==="sync"){const _=Wp();k=_.__watcherHandles||(_.__watcherHandles=[])}else return nt;let m=p?new Array(e.length).fill(zs):zs;const T=()=>{if(g.active)if(t){const _=g.run();(s||l||(p?_.some((P,w)=>ks(P,m[w])):ks(_,m)))&&(f&&f(),Ye(t,a,3,[_,m===zs?void 0:p&&m[0]===zs?[]:m,d]),m=_)}else g.run()};T.allowRecurse=!!t;let S;o==="sync"?S=T:o==="post"?S=()=>$e(T,a&&a.suspense):(T.pre=!0,a&&(T.id=a.uid),S=()=>jr(T));const g=new _i(c,S);t?n?T():m=g.run():o==="post"?$e(g.run.bind(g),a&&a.suspense):g.run();const h=()=>{g.stop(),a&&a.scope&&pi(a.scope.effects,g)};return k&&k.push(h),h}function sp(e,t,n){const s=this.proxy,o=Pe(e)?e.includes(".")?Ac(s,e):()=>s[e]:e.bind(s,s);let r;ie(t)?r=t:(r=t.handler,n=t);const i=Se;Wt(this);const a=xi(o,r.bind(s),n);return i?Wt(i):Dt(),a}function Ac(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}function tn(e,t){if(!ve(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ae(e))tn(e.value,t);else if(ee(e))for(let n=0;n<e.length;n++)tn(e[n],t);else if($n(e)||gn(e))e.forEach(n=>{tn(n,t)});else if(ec(e))for(const n in e)tn(e[n],t);return e}function rp(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return js(()=>{e.isMounted=!0}),Is(()=>{e.isUnmounting=!0}),e}const Ke=[Function,Array],op={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ke,onEnter:Ke,onAfterEnter:Ke,onEnterCancelled:Ke,onBeforeLeave:Ke,onLeave:Ke,onAfterLeave:Ke,onLeaveCancelled:Ke,onBeforeAppear:Ke,onAppear:Ke,onAfterAppear:Ke,onAppearCancelled:Ke},setup(e,{slots:t}){const n=Et(),s=rp();let o;return()=>{const r=t.default&&Rc(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const T of r)if(T.type!==He){i=T;break}}const a=me(e),{mode:c}=a;if(s.isLeaving)return so(i);const l=oa(i);if(!l)return so(i);const p=Ro(l,a,s,n);cr(l,p);const f=n.subTree,d=f&&oa(f);let k=!1;const{getTransitionKey:m}=l.type;if(m){const T=m();o===void 0?o=T:T!==o&&(o=T,k=!0)}if(d&&d.type!==He&&(!et(l,d)||k)){const T=Ro(d,a,s,n);if(cr(d,T),c==="out-in")return s.isLeaving=!0,T.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},so(i);c==="in-out"&&l.type!==He&&(T.delayLeave=(S,g,h)=>{const _=Lc(s,d);_[String(d.key)]=d,S._leaveCb=()=>{g(),S._leaveCb=void 0,delete p.delayedLeave},p.delayedLeave=h})}return i}}},xc=op;function Lc(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ro(e,t,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:p,onBeforeLeave:f,onLeave:d,onAfterLeave:k,onLeaveCancelled:m,onBeforeAppear:T,onAppear:S,onAfterAppear:g,onAppearCancelled:h}=t,_=String(e.key),P=Lc(n,e),w=(y,b)=>{y&&Ye(y,s,9,b)},u=(y,b)=>{const E=b[1];w(y,b),ee(y)?y.every(L=>L.length<=1)&&E():y.length<=1&&E()},v={mode:r,persisted:i,beforeEnter(y){let b=a;if(!n.isMounted)if(o)b=T||a;else return;y._leaveCb&&y._leaveCb(!0);const E=P[_];E&&et(e,E)&&E.el._leaveCb&&E.el._leaveCb(),w(b,[y])},enter(y){let b=c,E=l,L=p;if(!n.isMounted)if(o)b=S||c,E=g||l,L=h||p;else return;let x=!1;const $=y._enterCb=N=>{x||(x=!0,N?w(L,[y]):w(E,[y]),v.delayedLeave&&v.delayedLeave(),y._enterCb=void 0)};b?u(b,[y,$]):$()},leave(y,b){const E=String(e.key);if(y._enterCb&&y._enterCb(!0),n.isUnmounting)return b();w(f,[y]);let L=!1;const x=y._leaveCb=$=>{L||(L=!0,b(),$?w(m,[y]):w(k,[y]),y._leaveCb=void 0,P[E]===e&&delete P[E])};P[E]=e,d?u(d,[y,x]):x()},clone(y){return Ro(y,t,n,s)}};return v}function so(e){if(Cs(e))return e=vt(e),e.children=null,e}function oa(e){return Cs(e)?e.children?e.children[0]:void 0:e}function cr(e,t){e.shapeFlag&6&&e.component?cr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Rc(e,t=!1,n){let s=[],o=0;for(let r=0;r<e.length;r++){let i=e[r];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===je?(i.patchFlag&128&&o++,s=s.concat(Rc(i.children,t,a))):(t||i.type!==He)&&s.push(a!=null?vt(i,{key:a}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function Oe(e){return ie(e)?{setup:e,name:e.name}:e}const rn=e=>!!e.type.__asyncLoader;function ip(e){ie(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,timeout:r,suspensible:i=!0,onError:a}=e;let c=null,l,p=0;const f=()=>(p++,c=null,d()),d=()=>{let k;return c||(k=c=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((T,S)=>{a(m,()=>T(f()),()=>S(m),p+1)});throw m}).then(m=>k!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),l=m,m)))};return Oe({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const k=Se;if(l)return()=>ro(l,k);const m=h=>{c=null,In(h,k,13,!s)};if(i&&k.suspense||En)return d().then(h=>()=>ro(h,k)).catch(h=>(m(h),()=>s?be(s,{error:h}):null));const T=_e(!1),S=_e(),g=_e(!!o);return o&&setTimeout(()=>{g.value=!1},o),r!=null&&setTimeout(()=>{if(!T.value&&!S.value){const h=new Error(`Async component timed out after ${r}ms.`);m(h),S.value=h}},r),d().then(()=>{T.value=!0,k.parent&&Cs(k.parent.vnode)&&jr(k.parent.update)}).catch(h=>{m(h),S.value=h}),()=>{if(T.value&&l)return ro(l,k);if(S.value&&s)return be(s,{error:S.value});if(n&&!g.value)return be(n)}}})}function ro(e,t){const{ref:n,props:s,children:o,ce:r}=t.vnode,i=be(e,s,o);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const Cs=e=>e.type.__isKeepAlive,ap={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Et(),s=n.ctx;if(!s.renderer)return()=>{const h=t.default&&t.default();return h&&h.length===1?h[0]:h};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:p,o:{createElement:f}}}=s,d=f("div");s.activate=(h,_,P,w,u)=>{const v=h.component;l(h,_,P,0,a),c(v.vnode,h,_,P,v,a,w,h.slotScopeIds,u),$e(()=>{v.isDeactivated=!1,v.a&&_n(v.a);const y=h.props&&h.props.onVnodeMounted;y&&Fe(y,v.parent,h)},a)},s.deactivate=h=>{const _=h.component;l(h,d,null,1,a),$e(()=>{_.da&&_n(_.da);const P=h.props&&h.props.onVnodeUnmounted;P&&Fe(P,_.parent,h),_.isDeactivated=!0},a)};function k(h){oo(h),p(h,n,a,!0)}function m(h){o.forEach((_,P)=>{const w=Io(_.type);w&&(!h||!h(w))&&T(P)})}function T(h){const _=o.get(h);!i||!et(_,i)?k(_):i&&oo(i),o.delete(h),r.delete(h)}Me(()=>[e.include,e.exclude],([h,_])=>{h&&m(P=>cs(h,P)),_&&m(P=>!cs(_,P))},{flush:"post",deep:!0});let S=null;const g=()=>{S!=null&&o.set(S,io(n.subTree))};return js(g),Cc(g),Is(()=>{o.forEach(h=>{const{subTree:_,suspense:P}=n,w=io(_);if(h.type===w.type&&h.key===w.key){oo(w);const u=w.component.da;u&&$e(u,P);return}k(h)})}),()=>{if(S=null,!t.default)return null;const h=t.default(),_=h[0];if(h.length>1)return i=null,h;if(!Sn(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return i=null,_;let P=io(_);const w=P.type,u=Io(rn(P)?P.type.__asyncResolved||{}:w),{include:v,exclude:y,max:b}=e;if(v&&(!u||!cs(v,u))||y&&u&&cs(y,u))return i=P,_;const E=P.key==null?w:P.key,L=o.get(E);return P.el&&(P=vt(P),_.shapeFlag&128&&(_.ssContent=P)),S=E,L?(P.el=L.el,P.component=L.component,P.transition&&cr(P,P.transition),P.shapeFlag|=512,r.delete(E),r.add(E)):(r.add(E),b&&r.size>parseInt(b,10)&&T(r.values().next().value)),P.shapeFlag|=256,i=P,Pc(_.type)?_:P}}},lp=ap;function cs(e,t){return ee(e)?e.some(n=>cs(n,t)):Pe(e)?e.split(",").includes(t):Jf(e)?e.test(t):!1}function Oc(e,t){Nc(e,"a",t)}function $c(e,t){Nc(e,"da",t)}function Nc(e,t,n=Se){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Br(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Cs(o.parent.vnode)&&cp(s,t,n,o),o=o.parent}}function cp(e,t,n,s){const o=Br(t,e,s,!0);jc(()=>{pi(s[t],o)},n)}function oo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function io(e){return e.shapeFlag&128?e.ssContent:e}function Br(e,t,n=Se,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Cn(),Wt(n);const a=Ye(t,n,e,i);return Dt(),jn(),a});return s?o.unshift(r):o.push(r),r}}const St=e=>(t,n=Se)=>(!En||e==="sp")&&Br(e,(...s)=>t(...s),n),up=St("bm"),js=St("m"),fp=St("bu"),Cc=St("u"),Is=St("bum"),jc=St("um"),dp=St("sp"),pp=St("rtg"),hp=St("rtc");function Ic(e,t=Se){Br("ec",e,t)}function Ww(e,t){const n=Ne;if(n===null)return e;const s=Dr(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,a,c,l=we]=t[r];i&&(ie(i)&&(i={mounted:i,updated:i}),i.deep&&tn(a),o.push({dir:i,instance:s,value:a,oldValue:void 0,arg:c,modifiers:l}))}return e}function it(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];r&&(a.oldValue=r[i].value);let c=a.dir[s];c&&(Cn(),Ye(c,n,8,[e.el,a,e,t]),jn())}}const Li="components";function As(e,t){return Bc(Li,e,!0,t)||e}const Mc=Symbol();function Gw(e){return Pe(e)?Bc(Li,e,!1)||e:e||Mc}function Bc(e,t,n=!0,s=!1){const o=Ne||Se;if(o){const r=o.type;if(e===Li){const a=Io(r,!1);if(a&&(a===t||a===ut(t)||a===Or(ut(t))))return r}const i=ia(o[e]||r[e],t)||ia(o.appContext[e],t);return!i&&s?r:i}}function ia(e,t){return e&&(e[t]||e[ut(t)]||e[Or(ut(t))])}function zw(e,t,n,s){let o;const r=n&&n[s];if(ee(e)||Pe(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(e[i],i,void 0,r&&r[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,r&&r[i])}else if(ve(e))if(e[Symbol.iterator])o=Array.from(e,(i,a)=>t(i,a,void 0,r&&r[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,c=i.length;a<c;a++){const l=i[a];o[a]=t(e[l],l,a,r&&r[a])}}else o=[];return n&&(n[s]=o),o}function ur(e,t,n={},s,o){if(Ne.isCE||Ne.parent&&rn(Ne.parent)&&Ne.parent.isCE)return t!=="default"&&(n.name=t),be("slot",n,s&&s());let r=e[t];r&&r._c&&(r._d=!1),xe();const i=r&&Hc(r(n)),a=lt(je,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function Hc(e){return e.some(t=>Sn(t)?!(t.type===He||t.type===je&&!Hc(t.children)):!0)?e:null}const Oo=e=>e?eu(e)?Dr(e)||e.proxy:Oo(e.parent):null,fs=Ce(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=>Oo(e.parent),$root:e=>Oo(e.root),$emit:e=>e.emit,$options:e=>Ri(e),$forceUpdate:e=>e.f||(e.f=()=>jr(e.update)),$nextTick:e=>e.n||(e.n=Tt.bind(e.proxy)),$watch:e=>sp.bind(e)}),ao=(e,t)=>e!==we&&!e.__isScriptSetup&&he(e,t),mp={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:c}=e;let l;if(t[0]!=="$"){const k=i[t];if(k!==void 0)switch(k){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(ao(s,t))return i[t]=1,s[t];if(o!==we&&he(o,t))return i[t]=2,o[t];if((l=e.propsOptions[0])&&he(l,t))return i[t]=3,r[t];if(n!==we&&he(n,t))return i[t]=4,n[t];$o&&(i[t]=0)}}const p=fs[t];let f,d;if(p)return t==="$attrs"&&Ue(e,"get",t),p(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==we&&he(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,he(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return ao(o,t)?(o[t]=n,!0):s!==we&&he(s,t)?(s[t]=n,!0):he(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let a;return!!n[i]||e!==we&&he(e,i)||ao(t,i)||(a=r[0])&&he(a,i)||he(s,i)||he(fs,i)||he(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let $o=!0;function gp(e){const t=Ri(e),n=e.proxy,s=e.ctx;$o=!1,t.beforeCreate&&aa(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:a,provide:c,inject:l,created:p,beforeMount:f,mounted:d,beforeUpdate:k,updated:m,activated:T,deactivated:S,beforeDestroy:g,beforeUnmount:h,destroyed:_,unmounted:P,render:w,renderTracked:u,renderTriggered:v,errorCaptured:y,serverPrefetch:b,expose:E,inheritAttrs:L,components:x,directives:$,filters:N}=t;if(l&&_p(l,s,null,e.appContext.config.unwrapInjectedRef),i)for(const ne in i){const Y=i[ne];ie(Y)&&(s[ne]=Y.bind(n))}if(o){const ne=o.call(n,n);ve(ne)&&(e.data=st(ne))}if($o=!0,r)for(const ne in r){const Y=r[ne],re=ie(Y)?Y.bind(n,n):ie(Y.get)?Y.get.bind(n,n):nt,ge=!ie(Y)&&ie(Y.set)?Y.set.bind(n):nt,ue=Ee({get:re,set:ge});Object.defineProperty(s,ne,{enumerable:!0,configurable:!0,get:()=>ue.value,set:ae=>ue.value=ae})}if(a)for(const ne in a)Dc(a[ne],s,n,ne);if(c){const ne=ie(c)?c.call(n):c;Reflect.ownKeys(ne).forEach(Y=>{wn(Y,ne[Y])})}p&&aa(p,e,"c");function V(ne,Y){ee(Y)?Y.forEach(re=>ne(re.bind(n))):Y&&ne(Y.bind(n))}if(V(up,f),V(js,d),V(fp,k),V(Cc,m),V(Oc,T),V($c,S),V(Ic,y),V(hp,u),V(pp,v),V(Is,h),V(jc,P),V(dp,b),ee(E))if(E.length){const ne=e.exposed||(e.exposed={});E.forEach(Y=>{Object.defineProperty(ne,Y,{get:()=>n[Y],set:re=>n[Y]=re})})}else e.exposed||(e.exposed={});w&&e.render===nt&&(e.render=w),L!=null&&(e.inheritAttrs=L),x&&(e.components=x),$&&(e.directives=$)}function _p(e,t,n=nt,s=!1){ee(e)&&(e=No(e));for(const o in e){const r=e[o];let i;ve(r)?"default"in r?i=Ve(r.from||o,r.default,!0):i=Ve(r.from||o):i=Ve(r),Ae(i)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function aa(e,t,n){Ye(ee(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Dc(e,t,n,s){const o=s.includes(".")?Ac(n,s):()=>n[s];if(Pe(e)){const r=t[e];ie(r)&&Me(o,r)}else if(ie(e))Me(o,e.bind(n));else if(ve(e))if(ee(e))e.forEach(r=>Dc(r,t,n,s));else{const r=ie(e.handler)?e.handler.bind(n):t[e.handler];ie(r)&&Me(o,r,e)}}function Ri(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let c;return a?c=a:!o.length&&!n&&!s?c=t:(c={},o.length&&o.forEach(l=>fr(c,l,i,!0)),fr(c,t,i)),ve(t)&&r.set(t,c),c}function fr(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&fr(e,r,n,!0),o&&o.forEach(i=>fr(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=yp[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const yp={data:la,props:Xt,emits:Xt,methods:Xt,computed:Xt,beforeCreate:Be,created:Be,beforeMount:Be,mounted:Be,beforeUpdate:Be,updated:Be,beforeDestroy:Be,beforeUnmount:Be,destroyed:Be,unmounted:Be,activated:Be,deactivated:Be,errorCaptured:Be,serverPrefetch:Be,components:Xt,directives:Xt,watch:vp,provide:la,inject:bp};function la(e,t){return t?e?function(){return Ce(ie(e)?e.call(this,this):e,ie(t)?t.call(this,this):t)}:t:e}function bp(e,t){return Xt(No(e),No(t))}function No(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Be(e,t){return e?[...new Set([].concat(e,t))]:t}function Xt(e,t){return e?Ce(Ce(Object.create(null),e),t):t}function vp(e,t){if(!e)return t;if(!t)return e;const n=Ce(Object.create(null),e);for(const s in t)n[s]=Be(e[s],t[s]);return n}function wp(e,t,n,s=!1){const o={},r={};nr(r,Hr,1),e.propsDefaults=Object.create(null),Fc(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:Od(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function kp(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,a=me(o),[c]=e.propsOptions;let l=!1;if((s||i>0)&&!(i&16)){if(i&8){const p=e.vnode.dynamicProps;for(let f=0;f<p.length;f++){let d=p[f];if(Ir(e.emitsOptions,d))continue;const k=t[d];if(c)if(he(r,d))k!==r[d]&&(r[d]=k,l=!0);else{const m=ut(d);o[m]=Co(c,a,m,k,e,!1)}else k!==r[d]&&(r[d]=k,l=!0)}}}else{Fc(e,t,o,r)&&(l=!0);let p;for(const f in a)(!t||!he(t,f)&&((p=cn(f))===f||!he(t,p)))&&(c?n&&(n[f]!==void 0||n[p]!==void 0)&&(o[f]=Co(c,a,f,void 0,e,!0)):delete o[f]);if(r!==a)for(const f in r)(!t||!he(t,f))&&(delete r[f],l=!0)}l&&bt(e,"set","$attrs")}function Fc(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,a;if(t)for(let c in t){if(us(c))continue;const l=t[c];let p;o&&he(o,p=ut(c))?!r||!r.includes(p)?n[p]=l:(a||(a={}))[p]=l:Ir(e.emitsOptions,c)||(!(c in s)||l!==s[c])&&(s[c]=l,i=!0)}if(r){const c=me(n),l=a||we;for(let p=0;p<r.length;p++){const f=r[p];n[f]=Co(o,c,f,l[f],e,!he(l,f))}}return i}function Co(e,t,n,s,o,r){const i=e[n];if(i!=null){const a=he(i,"default");if(a&&s===void 0){const c=i.default;if(i.type!==Function&&ie(c)){const{propsDefaults:l}=o;n in l?s=l[n]:(Wt(o),s=l[n]=c.call(null,t),Dt())}else s=c}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===cn(n))&&(s=!0))}return s}function Uc(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},a=[];let c=!1;if(!ie(e)){const p=f=>{c=!0;const[d,k]=Uc(f,t,!0);Ce(i,d),k&&a.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!r&&!c)return ve(e)&&s.set(e,mn),mn;if(ee(r))for(let p=0;p<r.length;p++){const f=ut(r[p]);ca(f)&&(i[f]=we)}else if(r)for(const p in r){const f=ut(p);if(ca(f)){const d=r[p],k=i[f]=ee(d)||ie(d)?{type:d}:Object.assign({},d);if(k){const m=da(Boolean,k.type),T=da(String,k.type);k[0]=m>-1,k[1]=T<0||m<T,(m>-1||he(k,"default"))&&a.push(f)}}}const l=[i,a];return ve(e)&&s.set(e,l),l}function ca(e){return e[0]!=="$"}function ua(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function fa(e,t){return ua(e)===ua(t)}function da(e,t){return ee(t)?t.findIndex(n=>fa(n,e)):ie(t)&&fa(t,e)?0:-1}const Wc=e=>e[0]==="_"||e==="$stable",Oi=e=>ee(e)?e.map(Qe):[Qe(e)],Pp=(e,t,n)=>{if(t._n)return t;const s=Ut((...o)=>Oi(t(...o)),n);return s._c=!1,s},Gc=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Wc(o))continue;const r=e[o];if(ie(r))t[o]=Pp(o,r,s);else if(r!=null){const i=Oi(r);t[o]=()=>i}}},zc=(e,t)=>{const n=Oi(t);e.slots.default=()=>n},Tp=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=me(t),nr(t,"_",n)):Gc(t,e.slots={})}else e.slots={},t&&zc(e,t);nr(e.slots,Hr,1)},Sp=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=we;if(s.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(Ce(o,t),!n&&a===1&&delete o._):(r=!t.$stable,Gc(t,o)),i=t}else t&&(zc(e,t),i={default:1});if(r)for(const a in o)!Wc(a)&&!(a in i)&&delete o[a]};function Vc(){return{app:null,config:{isNativeTag:qf,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 Ep=0;function Ap(e,t){return function(s,o=null){ie(s)||(s=Object.assign({},s)),o!=null&&!ve(o)&&(o=null);const r=Vc(),i=new Set;let a=!1;const c=r.app={_uid:Ep++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:Ni,get config(){return r.config},set config(l){},use(l,...p){return i.has(l)||(l&&ie(l.install)?(i.add(l),l.install(c,...p)):ie(l)&&(i.add(l),l(c,...p))),c},mixin(l){return r.mixins.includes(l)||r.mixins.push(l),c},component(l,p){return p?(r.components[l]=p,c):r.components[l]},directive(l,p){return p?(r.directives[l]=p,c):r.directives[l]},mount(l,p,f){if(!a){const d=be(s,o);return d.appContext=r,p&&t?t(d,l):e(d,l,f),a=!0,c._container=l,l.__vue_app__=c,Dr(d.component)||d.component.proxy}},unmount(){a&&(e(null,c._container),delete c._container.__vue_app__)},provide(l,p){return r.provides[l]=p,c}};return c}}function dr(e,t,n,s,o=!1){if(ee(e)){e.forEach((d,k)=>dr(d,t&&(ee(t)?t[k]:t),n,s,o));return}if(rn(s)&&!o)return;const r=s.shapeFlag&4?Dr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:c}=e,l=t&&t.r,p=a.refs===we?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==c&&(Pe(l)?(p[l]=null,he(f,l)&&(f[l]=null)):Ae(l)&&(l.value=null)),ie(c))Ht(c,a,12,[i,p]);else{const d=Pe(c),k=Ae(c);if(d||k){const m=()=>{if(e.f){const T=d?he(f,c)?f[c]:p[c]:c.value;o?ee(T)&&pi(T,r):ee(T)?T.includes(r)||T.push(r):d?(p[c]=[r],he(f,c)&&(f[c]=p[c])):(c.value=[r],e.k&&(p[e.k]=c.value))}else d?(p[c]=i,he(f,c)&&(f[c]=i)):k&&(c.value=i,e.k&&(p[e.k]=i))};i?(m.id=-1,$e(m,n)):m()}}}let Rt=!1;const Vs=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",qs=e=>e.nodeType===8;function xp(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:a,insert:c,createComment:l}}=e,p=(g,h)=>{if(!h.hasChildNodes()){n(null,g,h),ar(),h._vnode=g;return}Rt=!1,f(h.firstChild,g,null,null,null),ar(),h._vnode=g,Rt&&console.error("Hydration completed but contains mismatches.")},f=(g,h,_,P,w,u=!1)=>{const v=qs(g)&&g.data==="[",y=()=>T(g,h,_,P,w,v),{type:b,ref:E,shapeFlag:L,patchFlag:x}=h;let $=g.nodeType;h.el=g,x===-2&&(u=!1,h.dynamicChildren=null);let N=null;switch(b){case Pn:$!==3?h.children===""?(c(h.el=o(""),i(g),g),N=g):N=y():(g.data!==h.children&&(Rt=!0,g.data=h.children),N=r(g));break;case He:$!==8||v?N=y():N=r(g);break;case Ys:if(v&&(g=r(g),$=g.nodeType),$===1||$===3){N=g;const G=!h.children.length;for(let V=0;V<h.staticCount;V++)G&&(h.children+=N.nodeType===1?N.outerHTML:N.data),V===h.staticCount-1&&(h.anchor=N),N=r(N);return v?r(N):N}else y();break;case je:v?N=m(g,h,_,P,w,u):N=y();break;default:if(L&1)$!==1||h.type.toLowerCase()!==g.tagName.toLowerCase()?N=y():N=d(g,h,_,P,w,u);else if(L&6){h.slotScopeIds=w;const G=i(g);if(t(h,G,null,_,P,Vs(G),u),N=v?S(g):r(g),N&&qs(N)&&N.data==="teleport end"&&(N=r(N)),rn(h)){let V;v?(V=be(je),V.anchor=N?N.previousSibling:G.lastChild):V=g.nodeType===3?pr(""):be("div"),V.el=g,h.component.subTree=V}}else L&64?$!==8?N=y():N=h.type.hydrate(g,h,_,P,w,u,e,k):L&128&&(N=h.type.hydrate(g,h,_,P,Vs(i(g)),w,u,e,f))}return E!=null&&dr(E,null,P,h),N},d=(g,h,_,P,w,u)=>{u=u||!!h.dynamicChildren;const{type:v,props:y,patchFlag:b,shapeFlag:E,dirs:L}=h,x=v==="input"&&L||v==="option";if(x||b!==-1){if(L&&it(h,null,_,"created"),y)if(x||!u||b&48)for(const N in y)(x&&N.endsWith("value")||Ns(N)&&!us(N))&&s(g,N,null,y[N],!1,void 0,_);else y.onClick&&s(g,"onClick",null,y.onClick,!1,void 0,_);let $;if(($=y&&y.onVnodeBeforeMount)&&Fe($,_,h),L&&it(h,null,_,"beforeMount"),(($=y&&y.onVnodeMounted)||L)&&Sc(()=>{$&&Fe($,_,h),L&&it(h,null,_,"mounted")},P),E&16&&!(y&&(y.innerHTML||y.textContent))){let N=k(g.firstChild,h,g,_,P,w,u);for(;N;){Rt=!0;const G=N;N=N.nextSibling,a(G)}}else E&8&&g.textContent!==h.children&&(Rt=!0,g.textContent=h.children)}return g.nextSibling},k=(g,h,_,P,w,u,v)=>{v=v||!!h.dynamicChildren;const y=h.children,b=y.length;for(let E=0;E<b;E++){const L=v?y[E]:y[E]=Qe(y[E]);if(g)g=f(g,L,P,w,u,v);else{if(L.type===Pn&&!L.children)continue;Rt=!0,n(null,L,_,null,P,w,Vs(_),u)}}return g},m=(g,h,_,P,w,u)=>{const{slotScopeIds:v}=h;v&&(w=w?w.concat(v):v);const y=i(g),b=k(r(g),h,y,_,P,w,u);return b&&qs(b)&&b.data==="]"?r(h.anchor=b):(Rt=!0,c(h.anchor=l("]"),y,b),b)},T=(g,h,_,P,w,u)=>{if(Rt=!0,h.el=null,u){const b=S(g);for(;;){const E=r(g);if(E&&E!==b)a(E);else break}}const v=r(g),y=i(g);return a(g),n(null,h,y,v,_,P,Vs(y),w),v},S=g=>{let h=0;for(;g;)if(g=r(g),g&&qs(g)&&(g.data==="["&&h++,g.data==="]")){if(h===0)return r(g);h--}return g};return[p,f]}const $e=Sc;function Lp(e){return qc(e)}function Rp(e){return qc(e,xp)}function qc(e,t){const n=ed();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:c,setText:l,setElementText:p,parentNode:f,nextSibling:d,setScopeId:k=nt,insertStaticContent:m}=e,T=(A,R,j,M=null,B=null,W=null,q=!1,F=null,U=!!R.dynamicChildren)=>{if(A===R)return;A&&!et(A,R)&&(M=O(A),ae(A,B,W,!0),A=null),R.patchFlag===-2&&(U=!1,R.dynamicChildren=null);const{type:D,ref:X,shapeFlag:C}=R;switch(D){case Pn:S(A,R,j,M);break;case He:g(A,R,j,M);break;case Ys:A==null&&h(R,j,M,q);break;case je:x(A,R,j,M,B,W,q,F,U);break;default:C&1?w(A,R,j,M,B,W,q,F,U):C&6?$(A,R,j,M,B,W,q,F,U):(C&64||C&128)&&D.process(A,R,j,M,B,W,q,F,U,Q)}X!=null&&B&&dr(X,A&&A.ref,W,R||A,!R)},S=(A,R,j,M)=>{if(A==null)s(R.el=a(R.children),j,M);else{const B=R.el=A.el;R.children!==A.children&&l(B,R.children)}},g=(A,R,j,M)=>{A==null?s(R.el=c(R.children||""),j,M):R.el=A.el},h=(A,R,j,M)=>{[A.el,A.anchor]=m(A.children,R,j,M,A.el,A.anchor)},_=({el:A,anchor:R},j,M)=>{let B;for(;A&&A!==R;)B=d(A),s(A,j,M),A=B;s(R,j,M)},P=({el:A,anchor:R})=>{let j;for(;A&&A!==R;)j=d(A),o(A),A=j;o(R)},w=(A,R,j,M,B,W,q,F,U)=>{q=q||R.type==="svg",A==null?u(R,j,M,B,W,q,F,U):b(A,R,B,W,q,F,U)},u=(A,R,j,M,B,W,q,F)=>{let U,D;const{type:X,props:C,shapeFlag:H,transition:J,dirs:se}=A;if(U=A.el=i(A.type,W,C&&C.is,C),H&8?p(U,A.children):H&16&&y(A.children,U,null,M,B,W&&X!=="foreignObject",q,F),se&&it(A,null,M,"created"),v(U,A,A.scopeId,q,M),C){for(const Z in C)Z!=="value"&&!us(Z)&&r(U,Z,null,C[Z],W,A.children,M,B,z);"value"in C&&r(U,"value",null,C.value),(D=C.onVnodeBeforeMount)&&Fe(D,M,A)}se&&it(A,null,M,"beforeMount");const te=(!B||B&&!B.pendingBranch)&&J&&!J.persisted;te&&J.beforeEnter(U),s(U,R,j),((D=C&&C.onVnodeMounted)||te||se)&&$e(()=>{D&&Fe(D,M,A),te&&J.enter(U),se&&it(A,null,M,"mounted")},B)},v=(A,R,j,M,B)=>{if(j&&k(A,j),M)for(let W=0;W<M.length;W++)k(A,M[W]);if(B){let W=B.subTree;if(R===W){const q=B.vnode;v(A,q,q.scopeId,q.slotScopeIds,B.parent)}}},y=(A,R,j,M,B,W,q,F,U=0)=>{for(let D=U;D<A.length;D++){const X=A[D]=F?It(A[D]):Qe(A[D]);T(null,X,R,j,M,B,W,q,F)}},b=(A,R,j,M,B,W,q)=>{const F=R.el=A.el;let{patchFlag:U,dynamicChildren:D,dirs:X}=R;U|=A.patchFlag&16;const C=A.props||we,H=R.props||we;let J;j&&qt(j,!1),(J=H.onVnodeBeforeUpdate)&&Fe(J,j,R,A),X&&it(R,A,j,"beforeUpdate"),j&&qt(j,!0);const se=B&&R.type!=="foreignObject";if(D?E(A.dynamicChildren,D,F,j,M,se,W):q||Y(A,R,F,null,j,M,se,W,!1),U>0){if(U&16)L(F,R,C,H,j,M,B);else if(U&2&&C.class!==H.class&&r(F,"class",null,H.class,B),U&4&&r(F,"style",C.style,H.style,B),U&8){const te=R.dynamicProps;for(let Z=0;Z<te.length;Z++){const le=te[Z],Re=C[le],We=H[le];(We!==Re||le==="value")&&r(F,le,Re,We,B,A.children,j,M,z)}}U&1&&A.children!==R.children&&p(F,R.children)}else!q&&D==null&&L(F,R,C,H,j,M,B);((J=H.onVnodeUpdated)||X)&&$e(()=>{J&&Fe(J,j,R,A),X&&it(R,A,j,"updated")},M)},E=(A,R,j,M,B,W,q)=>{for(let F=0;F<R.length;F++){const U=A[F],D=R[F],X=U.el&&(U.type===je||!et(U,D)||U.shapeFlag&70)?f(U.el):j;T(U,D,X,null,M,B,W,q,!0)}},L=(A,R,j,M,B,W,q)=>{if(j!==M){if(j!==we)for(const F in j)!us(F)&&!(F in M)&&r(A,F,j[F],null,q,R.children,B,W,z);for(const F in M){if(us(F))continue;const U=M[F],D=j[F];U!==D&&F!=="value"&&r(A,F,D,U,q,R.children,B,W,z)}"value"in M&&r(A,"value",j.value,M.value)}},x=(A,R,j,M,B,W,q,F,U)=>{const D=R.el=A?A.el:a(""),X=R.anchor=A?A.anchor:a("");let{patchFlag:C,dynamicChildren:H,slotScopeIds:J}=R;J&&(F=F?F.concat(J):J),A==null?(s(D,j,M),s(X,j,M),y(R.children,j,X,B,W,q,F,U)):C>0&&C&64&&H&&A.dynamicChildren?(E(A.dynamicChildren,H,j,B,W,q,F),(R.key!=null||B&&R===B.subTree)&&Kc(A,R,!0)):Y(A,R,j,X,B,W,q,F,U)},$=(A,R,j,M,B,W,q,F,U)=>{R.slotScopeIds=F,A==null?R.shapeFlag&512?B.ctx.activate(R,j,M,q,U):N(R,j,M,B,W,q,U):G(A,R,U)},N=(A,R,j,M,B,W,q)=>{const F=A.component=Ip(A,M,B);if(Cs(A)&&(F.ctx.renderer=Q),Mp(F),F.asyncDep){if(B&&B.registerDep(F,V),!A.el){const U=F.subTree=be(He);g(null,U,R,j)}return}V(F,A,R,j,B,W,q)},G=(A,R,j)=>{const M=R.component=A.component;if(Xd(A,R,j))if(M.asyncDep&&!M.asyncResolved){ne(M,R,j);return}else M.next=R,Ud(M.update),M.update();else R.el=A.el,M.vnode=R},V=(A,R,j,M,B,W,q)=>{const F=()=>{if(A.isMounted){let{next:X,bu:C,u:H,parent:J,vnode:se}=A,te=X,Z;qt(A,!1),X?(X.el=se.el,ne(A,X,q)):X=se,C&&_n(C),(Z=X.props&&X.props.onVnodeBeforeUpdate)&&Fe(Z,J,X,se),qt(A,!0);const le=no(A),Re=A.subTree;A.subTree=le,T(Re,le,f(Re.el),O(Re),A,B,W),X.el=le.el,te===null&&Ei(A,le.el),H&&$e(H,B),(Z=X.props&&X.props.onVnodeUpdated)&&$e(()=>Fe(Z,J,X,se),B)}else{let X;const{el:C,props:H}=R,{bm:J,m:se,parent:te}=A,Z=rn(R);if(qt(A,!1),J&&_n(J),!Z&&(X=H&&H.onVnodeBeforeMount)&&Fe(X,te,R),qt(A,!0),C&&oe){const le=()=>{A.subTree=no(A),oe(C,A.subTree,A,B,null)};Z?R.type.__asyncLoader().then(()=>!A.isUnmounted&&le()):le()}else{const le=A.subTree=no(A);T(null,le,j,M,A,B,W),R.el=le.el}if(se&&$e(se,B),!Z&&(X=H&&H.onVnodeMounted)){const le=R;$e(()=>Fe(X,te,le),B)}(R.shapeFlag&256||te&&rn(te.vnode)&&te.vnode.shapeFlag&256)&&A.a&&$e(A.a,B),A.isMounted=!0,R=j=M=null}},U=A.effect=new _i(F,()=>jr(D),A.scope),D=A.update=()=>U.run();D.id=A.uid,qt(A,!0),D()},ne=(A,R,j)=>{R.component=A;const M=A.vnode.props;A.vnode=R,A.next=null,kp(A,R.props,M,j),Sp(A,R.children,j),Cn(),na(),jn()},Y=(A,R,j,M,B,W,q,F,U=!1)=>{const D=A&&A.children,X=A?A.shapeFlag:0,C=R.children,{patchFlag:H,shapeFlag:J}=R;if(H>0){if(H&128){ge(D,C,j,M,B,W,q,F,U);return}else if(H&256){re(D,C,j,M,B,W,q,F,U);return}}J&8?(X&16&&z(D,B,W),C!==D&&p(j,C)):X&16?J&16?ge(D,C,j,M,B,W,q,F,U):z(D,B,W,!0):(X&8&&p(j,""),J&16&&y(C,j,M,B,W,q,F,U))},re=(A,R,j,M,B,W,q,F,U)=>{A=A||mn,R=R||mn;const D=A.length,X=R.length,C=Math.min(D,X);let H;for(H=0;H<C;H++){const J=R[H]=U?It(R[H]):Qe(R[H]);T(A[H],J,j,null,B,W,q,F,U)}D>X?z(A,B,W,!0,!1,C):y(R,j,M,B,W,q,F,U,C)},ge=(A,R,j,M,B,W,q,F,U)=>{let D=0;const X=R.length;let C=A.length-1,H=X-1;for(;D<=C&&D<=H;){const J=A[D],se=R[D]=U?It(R[D]):Qe(R[D]);if(et(J,se))T(J,se,j,null,B,W,q,F,U);else break;D++}for(;D<=C&&D<=H;){const J=A[C],se=R[H]=U?It(R[H]):Qe(R[H]);if(et(J,se))T(J,se,j,null,B,W,q,F,U);else break;C--,H--}if(D>C){if(D<=H){const J=H+1,se=J<X?R[J].el:M;for(;D<=H;)T(null,R[D]=U?It(R[D]):Qe(R[D]),j,se,B,W,q,F,U),D++}}else if(D>H)for(;D<=C;)ae(A[D],B,W,!0),D++;else{const J=D,se=D,te=new Map;for(D=se;D<=H;D++){const Ge=R[D]=U?It(R[D]):Qe(R[D]);Ge.key!=null&&te.set(Ge.key,D)}let Z,le=0;const Re=H-se+1;let We=!1,Hn=0;const Dn=new Array(Re);for(D=0;D<Re;D++)Dn[D]=0;for(D=J;D<=C;D++){const Ge=A[D];if(le>=Re){ae(Ge,B,W,!0);continue}let ot;if(Ge.key!=null)ot=te.get(Ge.key);else for(Z=se;Z<=H;Z++)if(Dn[Z-se]===0&&et(Ge,R[Z])){ot=Z;break}ot===void 0?ae(Ge,B,W,!0):(Dn[ot-se]=D+1,ot>=Hn?Hn=ot:We=!0,T(Ge,R[ot],j,null,B,W,q,F,U),le++)}const zi=We?Op(Dn):mn;for(Z=zi.length-1,D=Re-1;D>=0;D--){const Ge=se+D,ot=R[Ge],Vi=Ge+1<X?R[Ge+1].el:M;Dn[D]===0?T(null,ot,j,Vi,B,W,q,F,U):We&&(Z<0||D!==zi[Z]?ue(ot,j,Vi,2):Z--)}}},ue=(A,R,j,M,B=null)=>{const{el:W,type:q,transition:F,children:U,shapeFlag:D}=A;if(D&6){ue(A.component.subTree,R,j,M);return}if(D&128){A.suspense.move(R,j,M);return}if(D&64){q.move(A,R,j,Q);return}if(q===je){s(W,R,j);for(let C=0;C<U.length;C++)ue(U[C],R,j,M);s(A.anchor,R,j);return}if(q===Ys){_(A,R,j);return}if(M!==2&&D&1&&F)if(M===0)F.beforeEnter(W),s(W,R,j),$e(()=>F.enter(W),B);else{const{leave:C,delayLeave:H,afterLeave:J}=F,se=()=>s(W,R,j),te=()=>{C(W,()=>{se(),J&&J()})};H?H(W,se,te):te()}else s(W,R,j)},ae=(A,R,j,M=!1,B=!1)=>{const{type:W,props:q,ref:F,children:U,dynamicChildren:D,shapeFlag:X,patchFlag:C,dirs:H}=A;if(F!=null&&dr(F,null,j,A,!0),X&256){R.ctx.deactivate(A);return}const J=X&1&&H,se=!rn(A);let te;if(se&&(te=q&&q.onVnodeBeforeUnmount)&&Fe(te,R,A),X&6)I(A.component,j,M);else{if(X&128){A.suspense.unmount(j,M);return}J&&it(A,null,R,"beforeUnmount"),X&64?A.type.remove(A,R,j,B,Q,M):D&&(W!==je||C>0&&C&64)?z(D,R,j,!1,!0):(W===je&&C&384||!B&&X&16)&&z(U,R,j),M&&fe(A)}(se&&(te=q&&q.onVnodeUnmounted)||J)&&$e(()=>{te&&Fe(te,R,A),J&&it(A,null,R,"unmounted")},j)},fe=A=>{const{type:R,el:j,anchor:M,transition:B}=A;if(R===je){de(j,M);return}if(R===Ys){P(A);return}const W=()=>{o(j),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(A.shapeFlag&1&&B&&!B.persisted){const{leave:q,delayLeave:F}=B,U=()=>q(j,W);F?F(A.el,W,U):U()}else W()},de=(A,R)=>{let j;for(;A!==R;)j=d(A),o(A),A=j;o(R)},I=(A,R,j)=>{const{bum:M,scope:B,update:W,subTree:q,um:F}=A;M&&_n(M),B.stop(),W&&(W.active=!1,ae(q,A,R,j)),F&&$e(F,R),$e(()=>{A.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},z=(A,R,j,M=!1,B=!1,W=0)=>{for(let q=W;q<A.length;q++)ae(A[q],R,j,M,B)},O=A=>A.shapeFlag&6?O(A.component.subTree):A.shapeFlag&128?A.suspense.next():d(A.anchor||A.el),K=(A,R,j)=>{A==null?R._vnode&&ae(R._vnode,null,null,!0):T(R._vnode||null,A,R,null,null,null,j),na(),ar(),R._vnode=A},Q={p:T,um:ae,m:ue,r:fe,mt:N,mc:y,pc:Y,pbc:E,n:O,o:e};let ce,oe;return t&&([ce,oe]=t(Q)),{render:K,hydrate:ce,createApp:Ap(K,ce)}}function qt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Kc(e,t,n=!1){const s=e.children,o=t.children;if(ee(s)&&ee(o))for(let r=0;r<s.length;r++){const i=s[r];let a=o[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[r]=It(o[r]),a.el=i.el),n||Kc(i,a)),a.type===Pn&&(a.el=i.el)}}function Op(e){const t=e.slice(),n=[0];let s,o,r,i,a;const c=e.length;for(s=0;s<c;s++){const l=e[s];if(l!==0){if(o=n[n.length-1],e[o]<l){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<l?r=a+1:i=a;l<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}const $p=e=>e.__isTeleport,je=Symbol(void 0),Pn=Symbol(void 0),He=Symbol(void 0),Ys=Symbol(void 0),ds=[];let Xe=null;function xe(e=!1){ds.push(Xe=e?null:[])}function Qc(){ds.pop(),Xe=ds[ds.length-1]||null}let Tn=1;function pa(e){Tn+=e}function Jc(e){return e.dynamicChildren=Tn>0?Xe||mn:null,Qc(),Tn>0&&Xe&&Xe.push(e),e}function ct(e,t,n,s,o,r){return Jc(mt(e,t,n,s,o,r,!0))}function lt(e,t,n,s,o){return Jc(be(e,t,n,s,o,!0))}function Sn(e){return e?e.__v_isVNode===!0:!1}function et(e,t){return e.type===t.type&&e.key===t.key}const Hr="__vInternal",Xc=({key:e})=>e??null,Zs=({ref:e,ref_key:t,ref_for:n})=>e!=null?Pe(e)||Ae(e)||ie(e)?{i:Ne,r:e,k:t,f:!!n}:e:null;function mt(e,t=null,n=null,s=0,o=null,r=e===je?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xc(t),ref:t&&Zs(t),scopeId:Mr,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ne};return a?($i(c,n),r&128&&e.normalize(c)):n&&(c.shapeFlag|=Pe(n)?8:16),Tn>0&&!i&&Xe&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&Xe.push(c),c}const be=Np;function Np(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Mc)&&(e=He),Sn(e)){const a=vt(e,t,!0);return n&&$i(a,n),Tn>0&&!r&&Xe&&(a.shapeFlag&6?Xe[Xe.indexOf(e)]=a:Xe.push(a)),a.patchFlag|=-2,a}if(Fp(e)&&(e=e.__vccOpts),t){t=Yc(t);let{class:a,style:c}=t;a&&!Pe(a)&&(t.class=Pt(a)),ve(c)&&(pc(c)&&!ee(c)&&(c=Ce({},c)),t.style=nn(c))}const i=Pe(e)?1:Pc(e)?128:$p(e)?64:ve(e)?4:ie(e)?2:0;return mt(e,t,n,s,o,i,r,!0)}function Yc(e){return e?pc(e)||Hr in e?Ce({},e):e:null}function vt(e,t,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=e,a=t?Zc(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Xc(a),ref:t&&t.ref?n&&o?ee(o)?o.concat(Zs(t)):[o,Zs(t)]:Zs(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function pr(e=" ",t=0){return be(Pn,null,e,t)}function hr(e="",t=!1){return t?(xe(),lt(He,null,e)):be(He,null,e)}function Qe(e){return e==null||typeof e=="boolean"?be(He):ee(e)?be(je,null,e.slice()):typeof e=="object"?It(e):be(Pn,null,String(e))}function It(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vt(e)}function $i(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),$i(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Hr in t)?t._ctx=Ne:o===3&&Ne&&(Ne.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ie(t)?(t={default:t,_ctx:Ne},n=32):(t=String(t),s&64?(n=16,t=[pr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Zc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=Pt([t.class,s.class]));else if(o==="style")t.style=nn([t.style,s.style]);else if(Ns(o)){const r=t[o],i=s[o];i&&r!==i&&!(ee(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function Fe(e,t,n,s=null){Ye(e,t,7,[n,s])}const Cp=Vc();let jp=0;function Ip(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Cp,r={uid:jp++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new td(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Uc(s,o),emitsOptions:kc(s,o),emit:null,emitted:null,propsDefaults:we,inheritAttrs:s.inheritAttrs,ctx:we,data:we,props:we,attrs:we,slots:we,refs:we,setupState:we,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=Gd.bind(null,r),e.ce&&e.ce(r),r}let Se=null;const Et=()=>Se||Ne,Wt=e=>{Se=e,e.scope.on()},Dt=()=>{Se&&Se.scope.off(),Se=null};function eu(e){return e.vnode.shapeFlag&4}let En=!1;function Mp(e,t=!1){En=t;const{props:n,children:s}=e.vnode,o=eu(e);wp(e,n,o,t),Tp(e,s);const r=o?Bp(e,t):void 0;return En=!1,r}function Bp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=hc(new Proxy(e.ctx,mp));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Dp(e):null;Wt(e),Cn();const r=Ht(s,e,0,[e.props,o]);if(jn(),Dt(),hi(r)){if(r.then(Dt,Dt),t)return r.then(i=>{jo(e,i,t)}).catch(i=>{In(i,e,0)});e.asyncDep=r}else jo(e,r,t)}else tu(e,t)}function jo(e,t,n){ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=gc(t)),tu(e,n)}let ha;function tu(e,t,n){const s=e.type;if(!e.render){if(!t&&ha&&!s.render){const o=s.template||Ri(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=s,l=Ce(Ce({isCustomElement:r,delimiters:a},i),c);s.render=ha(o,l)}}e.render=s.render||nt}Wt(e),Cn(),gp(e),jn(),Dt()}function Hp(e){return new Proxy(e.attrs,{get(t,n){return Ue(e,"get","$attrs"),t[n]}})}function Dp(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Hp(e))},slots:e.slots,emit:e.emit,expose:t}}function Dr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(gc(hc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in fs)return fs[n](e)},has(t,n){return n in t||n in fs}}))}function Io(e,t=!0){return ie(e)?e.displayName||e.name:e.name||t&&e.__name}function Fp(e){return ie(e)&&"__vccOpts"in e}const Ee=(e,t)=>Hd(e,t,En);function Vw(e){const t=Et();let n=e();return Dt(),hi(n)&&(n=n.catch(s=>{throw Wt(t),s})),[n,()=>Wt(t)]}function qe(e,t,n){const s=arguments.length;return s===2?ve(t)&&!ee(t)?Sn(t)?be(e,null,[t]):be(e,t):be(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Sn(n)&&(n=[n]),be(e,t,n))}const Up=Symbol(""),Wp=()=>Ve(Up),Ni="3.2.47",Gp="http://www.w3.org/2000/svg",en=typeof document<"u"?document:null,ma=en&&en.createElement("template"),zp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t?en.createElementNS(Gp,e):en.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>en.createTextNode(e),createComment:e=>en.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>en.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{ma.innerHTML=s?`<svg>${e}</svg>`:e;const a=ma.content;if(s){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Vp(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function qp(e,t,n){const s=e.style,o=Pe(n);if(n&&!o){if(t&&!Pe(t))for(const r in t)n[r]==null&&Mo(s,r,"");for(const r in n)Mo(s,r,n[r])}else{const r=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=r)}}const ga=/\s*!important$/;function Mo(e,t,n){if(ee(n))n.forEach(s=>Mo(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Kp(e,t);ga.test(n)?e.setProperty(cn(s),n.replace(ga,""),"important"):e[s]=n}}const _a=["Webkit","Moz","ms"],lo={};function Kp(e,t){const n=lo[t];if(n)return n;let s=ut(t);if(s!=="filter"&&s in e)return lo[t]=s;s=Or(s);for(let o=0;o<_a.length;o++){const r=_a[o]+s;if(r in e)return lo[t]=r}return t}const ya="http://www.w3.org/1999/xlink";function Qp(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ya,t.slice(6,t.length)):e.setAttributeNS(ya,t,n);else{const r=Gf(t);n==null||r&&!Xl(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}function Jp(e,t,n,s,o,r,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,o,r),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const c=n??"";(e.value!==c||e.tagName==="OPTION")&&(e.value=c),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Xl(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function gt(e,t,n,s){e.addEventListener(t,n,s)}function Xp(e,t,n,s){e.removeEventListener(t,n,s)}function Yp(e,t,n,s,o=null){const r=e._vei||(e._vei={}),i=r[t];if(s&&i)i.value=s;else{const[a,c]=Zp(t);if(s){const l=r[t]=nh(s,o);gt(e,a,l,c)}else i&&(Xp(e,a,i,c),r[t]=void 0)}}const ba=/(?:Once|Passive|Capture)$/;function Zp(e){let t;if(ba.test(e)){t={};let s;for(;s=e.match(ba);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):cn(e.slice(2)),t]}let co=0;const eh=Promise.resolve(),th=()=>co||(eh.then(()=>co=0),co=Date.now());function nh(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ye(sh(s,n.value),t,5,[s])};return n.value=e,n.attached=th(),n}function sh(e,t){if(ee(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const va=/^on[a-z]/,rh=(e,t,n,s,o=!1,r,i,a,c)=>{t==="class"?Vp(e,s,o):t==="style"?qp(e,n,s):Ns(t)?di(t)||Yp(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):oh(e,t,s,o))?Jp(e,t,s,r,i,a,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Qp(e,t,s,o))};function oh(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&va.test(t)&&ie(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||va.test(t)&&Pe(n)?!1:t in e}const Ot="transition",Fn="animation",Fr=(e,{slots:t})=>qe(xc,ih(e),t);Fr.displayName="Transition";const nu={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};Fr.props=Ce({},xc.props,nu);const Kt=(e,t=[])=>{ee(e)?e.forEach(n=>n(...t)):e&&e(...t)},wa=e=>e?ee(e)?e.some(t=>t.length>1):e.length>1:!1;function ih(e){const t={};for(const x in e)x in nu||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=r,appearActiveClass:l=i,appearToClass:p=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:k=`${n}-leave-to`}=e,m=ah(o),T=m&&m[0],S=m&&m[1],{onBeforeEnter:g,onEnter:h,onEnterCancelled:_,onLeave:P,onLeaveCancelled:w,onBeforeAppear:u=g,onAppear:v=h,onAppearCancelled:y=_}=t,b=(x,$,N)=>{Qt(x,$?p:a),Qt(x,$?l:i),N&&N()},E=(x,$)=>{x._isLeaving=!1,Qt(x,f),Qt(x,k),Qt(x,d),$&&$()},L=x=>($,N)=>{const G=x?v:h,V=()=>b($,x,N);Kt(G,[$,V]),ka(()=>{Qt($,x?c:r),$t($,x?p:a),wa(G)||Pa($,s,T,V)})};return Ce(t,{onBeforeEnter(x){Kt(g,[x]),$t(x,r),$t(x,i)},onBeforeAppear(x){Kt(u,[x]),$t(x,c),$t(x,l)},onEnter:L(!1),onAppear:L(!0),onLeave(x,$){x._isLeaving=!0;const N=()=>E(x,$);$t(x,f),uh(),$t(x,d),ka(()=>{x._isLeaving&&(Qt(x,f),$t(x,k),wa(P)||Pa(x,s,S,N))}),Kt(P,[x,N])},onEnterCancelled(x){b(x,!1),Kt(_,[x])},onAppearCancelled(x){b(x,!0),Kt(y,[x])},onLeaveCancelled(x){E(x),Kt(w,[x])}})}function ah(e){if(e==null)return null;if(ve(e))return[uo(e.enter),uo(e.leave)];{const t=uo(e);return[t,t]}}function uo(e){return tc(e)}function $t(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Qt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ka(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let lh=0;function Pa(e,t,n,s){const o=e._endId=++lh,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:c}=ch(e,t);if(!i)return s();const l=i+"end";let p=0;const f=()=>{e.removeEventListener(l,d),r()},d=k=>{k.target===e&&++p>=c&&f()};setTimeout(()=>{p<c&&f()},a+1),e.addEventListener(l,d)}function ch(e,t){const n=window.getComputedStyle(e),s=m=>(n[m]||"").split(", "),o=s(`${Ot}Delay`),r=s(`${Ot}Duration`),i=Ta(o,r),a=s(`${Fn}Delay`),c=s(`${Fn}Duration`),l=Ta(a,c);let p=null,f=0,d=0;t===Ot?i>0&&(p=Ot,f=i,d=r.length):t===Fn?l>0&&(p=Fn,f=l,d=c.length):(f=Math.max(i,l),p=f>0?i>l?Ot:Fn:null,d=p?p===Ot?r.length:c.length:0);const k=p===Ot&&/\b(transform|all)(,|$)/.test(s(`${Ot}Property`).toString());return{type:p,timeout:f,propCount:d,hasTransform:k}}function Ta(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Sa(n)+Sa(e[s])))}function Sa(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function uh(){return document.body.offsetHeight}const Gt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ee(t)?n=>_n(t,n):t};function fh(e){e.target.composing=!0}function Ea(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Aa={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e._assign=Gt(o);const r=s||o.props&&o.props.type==="number";gt(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),r&&(a=sr(a)),e._assign(a)}),n&>(e,"change",()=>{e.value=e.value.trim()}),t||(gt(e,"compositionstart",fh),gt(e,"compositionend",Ea),gt(e,"change",Ea))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:o}},r){if(e._assign=Gt(r),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(o||e.type==="number")&&sr(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},dh={deep:!0,created(e,t,n){e._assign=Gt(n),gt(e,"change",()=>{const s=e._modelValue,o=An(e),r=e.checked,i=e._assign;if(ee(s)){const a=fi(s,o),c=a!==-1;if(r&&!c)i(s.concat(o));else if(!r&&c){const l=[...s];l.splice(a,1),i(l)}}else if($n(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(su(e,r))})},mounted:xa,beforeUpdate(e,t,n){e._assign=Gt(n),xa(e,t,n)}};function xa(e,{value:t,oldValue:n},s){e._modelValue=t,ee(t)?e.checked=fi(t,s.props.value)>-1:$n(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=on(t,su(e,!0)))}const ph={created(e,{value:t},n){e.checked=on(t,n.props.value),e._assign=Gt(n),gt(e,"change",()=>{e._assign(An(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e._assign=Gt(s),t!==n&&(e.checked=on(t,s.props.value))}},hh={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const o=$n(t);gt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?sr(An(i)):An(i));e._assign(e.multiple?o?new Set(r):r:r[0])}),e._assign=Gt(s)},mounted(e,{value:t}){La(e,t)},beforeUpdate(e,t,n){e._assign=Gt(n)},updated(e,{value:t}){La(e,t)}};function La(e,t){const n=e.multiple;if(!(n&&!ee(t)&&!$n(t))){for(let s=0,o=e.options.length;s<o;s++){const r=e.options[s],i=An(r);if(n)ee(t)?r.selected=fi(t,i)>-1:r.selected=t.has(i);else if(on(An(r),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function An(e){return"_value"in e?e._value:e.value}function su(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const qw={created(e,t,n){Ks(e,t,n,null,"created")},mounted(e,t,n){Ks(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Ks(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Ks(e,t,n,s,"updated")}};function mh(e,t){switch(e){case"SELECT":return hh;case"TEXTAREA":return Aa;default:switch(t){case"checkbox":return dh;case"radio":return ph;default:return Aa}}}function Ks(e,t,n,s,o){const i=mh(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,s)}const gh=["ctrl","shift","alt","meta"],_h={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)=>gh.some(n=>e[`${n}Key`]&&!t.includes(n))},Kw=(e,t)=>(n,...s)=>{for(let o=0;o<t.length;o++){const r=_h[t[o]];if(r&&r(n,t))return}return e(n,...s)},yh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},bh=(e,t)=>n=>{if(!("key"in n))return;const s=cn(n.key);if(t.some(o=>o===s||yh[o]===s))return e(n)},ru=Ce({patchProp:rh},zp);let ps,Ra=!1;function vh(){return ps||(ps=Lp(ru))}function wh(){return ps=Ra?ps:Rp(ru),Ra=!0,ps}const ou=(...e)=>{const t=vh().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=iu(s);if(!o)return;const r=t._component;!ie(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},kh=(...e)=>{const t=wh().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=iu(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function iu(e){return Pe(e)?document.querySelector(e):e}const Ph=/"(?:_|\\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*:/,Th=/"(?: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*:/,Sh=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Eh(e,t){if(e!=="__proto__"&&!(e==="constructor"&&t&&typeof t=="object"&&"prototype"in t))return t}function Ah(e,t={}){if(typeof e!="string")return e;const n=e.toLowerCase().trim();if(n==="true")return!0;if(n==="false")return!1;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n!=="undefined"){if(!Sh.test(e)){if(t.strict)throw new SyntaxError("Invalid JSON");return e}try{return Ph.test(e)||Th.test(e)?JSON.parse(e,Eh):JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}}const xh=/#/g,Lh=/&/g,Rh=/=/g,au=/\+/g,Oh=/%5e/gi,$h=/%60/gi,Nh=/%7c/gi,Ch=/%20/gi;function jh(e){return encodeURI(""+e).replace(Nh,"|")}function Bo(e){return jh(typeof e=="string"?e:JSON.stringify(e)).replace(au,"%2B").replace(Ch,"+").replace(xh,"%23").replace(Lh,"%26").replace($h,"`").replace(Oh,"^")}function fo(e){return Bo(e).replace(Rh,"%3D")}function lu(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Ih(e){return lu(e.replace(au," "))}function Mh(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const o=lu(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=Ih(s[2]||"");typeof t[o]<"u"?Array.isArray(t[o])?t[o].push(r):t[o]=[t[o],r]:t[o]=r}return t}function Bh(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${fo(e)}=${Bo(n)}`).join("&"):`${fo(e)}=${Bo(t)}`:fo(e)}function Hh(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Bh(t,e[t])).join("&")}const Dh=/^\w{2,}:([/\\]{1,2})/,Fh=/^\w{2,}:([/\\]{2})?/,Uh=/^[/\\]{2}[^/\\]+/;function cu(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Dh.test(e):Fh.test(e)||(t.acceptRelative?Uh.test(e):!1)}const Wh=/\/$|\/\?/;function Ho(e="",t=!1){return t?Wh.test(e):e.endsWith("/")}function Gh(e="",t=!1){if(!t)return(Ho(e)?e.slice(0,-1):e)||"/";if(!Ho(e,!0))return e||"/";const[n,...s]=e.split("?");return(n.slice(0,-1)||"/")+(s.length>0?`?${s.join("?")}`:"")}function zh(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Ho(e,!0))return e||"/";const[n,...s]=e.split("?");return n+"/"+(s.length>0?`?${s.join("?")}`:"")}function Vh(e=""){return e.startsWith("/")}function qh(e=""){return(Vh(e)?e.slice(1):e)||"/"}function Kh(e,t){if(Jh(t)||cu(e))return e;const n=Gh(t);return e.startsWith(n)?e:Yh(n,e)}function Qh(e,t){const n=uu(e),s={...Mh(n.search),...t};return n.search=Hh(s),Zh(n)}function Jh(e){return!e||e==="/"}function Xh(e){return e&&e!=="/"}function Yh(e,...t){let n=e||"";for(const s of t.filter(o=>Xh(o)))n=n?zh(n)+qh(s):s;return n}function uu(e="",t){if(!cu(e,{acceptRelative:!0}))return t?uu(t+e):Oa(e);const[n="",s,o=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[r="",i=""]=(o.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:c,hash:l}=Oa(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:r,pathname:a,search:c,hash:l}}function Oa(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function Zh(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 em extends Error{constructor(){super(...arguments),this.name="FetchError"}}function tm(e,t,n){let s="";t&&(s=t.message),e&&n?s=`${s} (${n.status} ${n.statusText} (${e.toString()}))`:e&&(s=`${s} (${e.toString()})`);const o=new em(s);return Object.defineProperty(o,"request",{get(){return e}}),Object.defineProperty(o,"response",{get(){return n}}),Object.defineProperty(o,"data",{get(){return n&&n._data}}),Object.defineProperty(o,"status",{get(){return n&&n.status}}),Object.defineProperty(o,"statusText",{get(){return n&&n.statusText}}),Object.defineProperty(o,"statusCode",{get(){return n&&n.status}}),Object.defineProperty(o,"statusMessage",{get(){return n&&n.statusText}}),o}const nm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function $a(e="GET"){return nm.has(e.toUpperCase())}function sm(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 rm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),om=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function im(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return om.test(t)?"json":rm.has(t)||t.startsWith("text/")?"text":"blob"}const am=new Set([408,409,425,429,500,502,503,504]);function fu(e){const{fetch:t,Headers:n}=e;function s(i){const a=i.error&&i.error.name==="AbortError"||!1;if(i.options.retry!==!1&&!a){let l;typeof i.options.retry=="number"?l=i.options.retry:l=$a(i.options.method)?0:1;const p=i.response&&i.response.status||500;if(l>0&&am.has(p))return o(i.request,{...i.options,retry:l-1})}const c=tm(i.request,i.error,i.response);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(a,c={}){const l={request:a,options:{...e.defaults,...c},response:void 0,error:void 0};l.options.onRequest&&await l.options.onRequest(l),typeof l.request=="string"&&(l.options.baseURL&&(l.request=Kh(l.request,l.options.baseURL)),(l.options.query||l.options.params)&&(l.request=Qh(l.request,{...l.options.params,...l.options.query})),l.options.body&&$a(l.options.method)&&sm(l.options.body)&&(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new n(l.options.headers),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json"))),l.response=await t(l.request,l.options).catch(async f=>(l.error=f,l.options.onRequestError&&await l.options.onRequestError(l),s(l)));const p=(l.options.parseResponse?"json":l.options.responseType)||im(l.response.headers.get("content-type")||"");if(p==="json"){const f=await l.response.text(),d=l.options.parseResponse||Ah;l.response._data=d(f)}else p==="stream"?l.response._data=l.response.body:l.response._data=await l.response[p]();return l.options.onResponse&&await l.options.onResponse(l),l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await l.options.onResponseError(l),s(l)):l.response},r=function(a,c){return o(a,c).then(l=>l._data)};return r.raw=o,r.native=t,r.create=(i={})=>fu({...e,defaults:{...e.defaults,...i}}),r}const du=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")}(),lm=du.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),cm=du.Headers,um=fu({fetch:lm,Headers:cm}),fm=um,dm=/\+/g;function pu(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function pm(e){return pu(e.replace(dm," "))}function Qw(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const o=pu(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=pm(s[2]||"");typeof t[o]<"u"?Array.isArray(t[o])?t[o].push(r):t[o]=[t[o],r]:t[o]=r}return t}const hm=/^\w{2,}:([/\\]{1,2})/,mm=/^\w{2,}:([/\\]{2})?/,gm=/^([/\\]\s*){2,}[^/\\]/;function Ur(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?hm.test(e):mm.test(e)||(t.acceptRelative?gm.test(e):!1)}const _m=/\/$|\/\?/;function Do(e="",t=!1){return t?_m.test(e):e.endsWith("/")}function ym(e="",t=!1){if(!t)return(Do(e)?e.slice(0,-1):e)||"/";if(!Do(e,!0))return e||"/";const[n,...s]=e.split("?");return(n.slice(0,-1)||"/")+(s.length>0?`?${s.join("?")}`:"")}function bm(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Do(e,!0))return e||"/";const[n,...s]=e.split("?");return n+"/"+(s.length>0?`?${s.join("?")}`:"")}function vm(e=""){return e.startsWith("/")}function wm(e=""){return(vm(e)?e.slice(1):e)||"/"}function Na(e,t){if(km(t))return e;const n=ym(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function km(e){return!e||e==="/"}function Pm(e){return e&&e!=="/"}function Ci(e,...t){let n=e||"";for(const s of t.filter(o=>Pm(o)))n=n?bm(n)+wm(s):s;return n}function ji(e="",t){if(!Ur(e,{acceptRelative:!0}))return t?ji(t+e):Ca(e);const[n="",s,o=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[r="",i=""]=(o.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:c,hash:l}=Ca(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:r,pathname:a,search:c,hash:l}}function Ca(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}const Tm=()=>window?.__NUXT__?.config||{},mr=Tm().app,Sm=()=>mr.baseURL,Em=()=>mr.buildAssetsDir,Am=(...e)=>Ci(hu(),Em(),...e),hu=(...e)=>{const t=mr.cdnURL||mr.baseURL;return e.length?Ci(t,...e):t};globalThis.__buildAssetsURL=Am,globalThis.__publicAssetsURL=hu;function Fo(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?Fo(o,t,r):typeof o=="function"&&(t[r]=o)}return t}function xm(e,t){return e.reduce((n,s)=>n.then(()=>s.apply(void 0,t)),Promise.resolve())}function Lm(e,t){return Promise.all(e.map(n=>n.apply(void 0,t)))}function po(e,t){for(const n of e)n(t)}class Rm{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,s={}){if(!t||typeof n!="function")return()=>{};const o=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!s.allowDeprecated){let i=r.message;i||(i=`${o} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,o=(...r)=>(typeof s=="function"&&s(),s=void 0,o=void 0,n(...r));return s=this.hook(t,o),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];this._hooks[t]=void 0;for(const o of s)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Fo(t),s=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of s.splice(0,s.length))o()}}removeHooks(t){const n=Fo(t);for(const s in n)this.removeHook(s,n[s])}callHook(t,...n){return this.callHookWith(xm,t,...n)}callHookParallel(t,...n){return this.callHookWith(Lm,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&po(this._before,o);const r=t(this._hooks[n]||[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&po(this._after,o)}):(this._after&&o&&po(this._after,o),r)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}function mu(){return new Rm}function Om(){let e,t=!1;const n=s=>{if(e&&e!==s)throw new Error("Context conflict")};return{use:()=>{if(e===void 0)throw new Error("Context is not available");return e},tryUse:()=>e,set:(s,o)=>{o||n(s),e=s,t=!0},unset:()=>{e=void 0,t=!1},call:(s,o)=>{n(s),e=s;try{return o()}finally{t||(e=void 0)}},async callAsync(s,o){e=s;const r=()=>{e=s},i=()=>e===s?r:void 0;Uo.add(i);try{const a=o();return t||(e=void 0),await a}finally{Uo.delete(i)}}}}function $m(){const e={};return{get(t){return e[t]||(e[t]=Om()),e[t],e[t]}}}const gr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ja="__unctx__",Nm=gr[ja]||(gr[ja]=$m()),Cm=e=>Nm.get(e),Ia="__unctx_async_handlers__",Uo=gr[Ia]||(gr[Ia]=new Set);function Wo(e){const t=[];for(const o of Uo){const r=o();r&&t.push(r)}const n=()=>{for(const o of t)o()};let s=e();return s&&typeof s=="object"&&"catch"in s&&(s=s.catch(o=>{throw n(),o})),[s,n]}const gu=Cm("nuxt-app"),jm="__nuxt_plugin";function Im(e){let t=0;const n={provide:void 0,globalName:"nuxt",payload:st({data:{},state:{},_errors:{},...window.__NUXT__}),static:{data:{}},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},...e};n.hooks=mu(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,i)=>{const a="$"+r;Qs(n,a,i),Qs(n.vueApp.config.globalProperties,a,i)},Qs(n.vueApp,"$nuxt",n),Qs(n.vueApp.config.globalProperties,"$nuxt",n),window.addEventListener("nuxt.preloadError",r=>{n.callHook("app:chunkError",{error:r.payload})}),n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});const s=st(n.payload.config),o=new Proxy(s,{get(r,i){return i==="public"?r.public:r[i]??r.public[i]},set(r,i,a){return i==="public"||i==="app"?!1:(r[i]=a,r.public[i]=a,!0)}});return n.provide("config",o),n}async function Mm(e,t){if(typeof t!="function")return;const{provide:n}=await ht(e,t,[e])||{};if(n&&typeof n=="object")for(const s in n)e.provide(s,n[s])}async function Bm(e,t){for(const n of t)await Mm(e,n)}function Hm(e){return e.map(n=>typeof n!="function"?null:n.length>1?s=>n(s,s.provide):n).filter(Boolean)}function At(e){return e[jm]=!0,e}function ht(e,t,n){const s=()=>n?t(...n):t();return gu.set(e),s()}function Le(){const e=gu.tryUse();if(!e){const t=Et();if(!t)throw new Error("nuxt instance unavailable");return t.appContext.app.$nuxt}return e}function _u(){return Le().$config}function Qs(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const ho={},Dm=At(e=>{for(const t in ho)e.vueApp.component(t,ho[t]),e.vueApp.component("Lazy"+t,ho[t])});function Fm(e){return Array.isArray(e)?e:[e]}const yu=["title","script","style","noscript"],Ii=["base","meta","link","style","script","noscript"],Um=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Wm=["base","title","titleTemplate","bodyAttrs","htmlAttrs"],Gm=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"];function bu(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 _r(e){return bu(`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function zm(e){let t=9;for(const n of e)for(let s=0;s<n.length;)t=Math.imul(t^n.charCodeAt(s++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function vu(e,t){const{props:n,tag:s}=e;if(Wm.includes(s))return s;if(s==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];s==="meta"&&o.push("name","property","http-equiv");for(const r of o)if(typeof n[r]<"u"){const i=String(n[r]);return t&&!t(i)?!1:`${s}:${r}:${i}`}return!1}const Js=(e,t=!1,n)=>{const{tag:s,$el:o}=e;o&&(Object.entries(s.props).forEach(([r,i])=>{i=String(i);const a=`attr:${r}`;if(r==="class"){if(!i)return;for(const c of i.split(" ")){const l=`${a}:${c}`;n&&n(e,l,()=>o.classList.remove(c)),o.classList.contains(c)||o.classList.add(c)}return}n&&!r.startsWith("data-h-")&&n(e,a,()=>o.removeAttribute(r)),(t||o.getAttribute(r)!==i)&&o.setAttribute(r,i)}),yu.includes(s.tag)&&(s.textContent&&s.textContent!==o.textContent?o.textContent=s.textContent:s.innerHTML&&s.innerHTML!==o.innerHTML&&(o.innerHTML=s.innerHTML)))};let Un=!1;async function wu(e,t={}){const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const s=t.document||e.resolvedOptions.document||window.document,o=(await e.resolveTags()).map(a);if(e.resolvedOptions.experimentalHashHydration&&(Un=Un||e._hash||!1,Un)){const d=zm(o.map(k=>k.tag._h));if(Un===d)return;Un=d}const r=e._popSideEffectQueue();e.headEntries().map(d=>d._sde).forEach(d=>{Object.entries(d).forEach(([k,m])=>{r[k]=m})});const i=(d,k,m)=>{k=`${d.renderId}:${k}`,d.entry&&(d.entry._sde[k]=m),delete r[k]};function a(d){const k=e.headEntries().find(T=>T._i===d._e),m={renderId:d._d||_r(d),$el:null,shouldRender:!0,tag:d,entry:k,markSideEffect:(T,S)=>i(m,T,S)};return m}const c=[],l={body:[],head:[]},p=d=>{e._elMap[d.renderId]=d.$el,c.push(d),i(d,"el",()=>{d.$el?.remove(),delete e._elMap[d.renderId]})};for(const d of o){if(await e.hooks.callHook("dom:beforeRenderTag",d),!d.shouldRender)continue;const{tag:k}=d;if(k.tag==="title"){s.title=k.textContent||"",c.push(d);continue}if(k.tag==="htmlAttrs"||k.tag==="bodyAttrs"){d.$el=s[k.tag==="htmlAttrs"?"documentElement":"body"],Js(d,!1,i),c.push(d);continue}if(d.$el=e._elMap[d.renderId],!d.$el&&k.key&&(d.$el=s.querySelector(`${k.tagPosition?.startsWith("body")?"body":"head"} > ${k.tag}[data-h-${k._h}]`)),d.$el){d.tag._d&&Js(d),p(d);continue}l[k.tagPosition?.startsWith("body")?"body":"head"].push(d)}const f={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(l).forEach(([d,k])=>{if(!k.length)return;const m=s?.[d]?.children;if(m){for(const T of[...m].reverse()){const S=T.tagName.toLowerCase();if(!Ii.includes(S))continue;const g=T.getAttributeNames().reduce((w,u)=>({...w,[u]:T.getAttribute(u)}),{}),h={tag:S,props:g};T.innerHTML&&(h.innerHTML=T.innerHTML);const _=_r(h);let P=k.findIndex(w=>w?.renderId===_);if(P===-1){const w=vu(h);P=k.findIndex(u=>u?.tag._d&&u.tag._d===w)}if(P!==-1){const w=k[P];w.$el=T,Js(w),p(w),delete k[P]}}k.forEach(T=>{const S=T.tag.tagPosition||"head";f[S]=f[S]||s.createDocumentFragment(),T.$el||(T.$el=s.createElement(T.tag.tag),Js(T,!0)),f[S].appendChild(T.$el),p(T)})}}),f.head&&s.head.appendChild(f.head),f.bodyOpen&&s.body.insertBefore(f.bodyOpen,s.body.firstChild),f.bodyClose&&s.body.appendChild(f.bodyClose);for(const d of c)await e.hooks.callHook("dom:renderTag",d);Object.values(r).forEach(d=>d())}let mo=null;async function ku(e,t={}){function n(){return mo=null,wu(e,t)}const s=t.delayFn||(o=>setTimeout(o,10));return mo=mo||new Promise(o=>s(()=>o(n())))}const Vm=e=>({hooks:{"entries:updated":function(t){if(typeof e?.document>"u"&&typeof window>"u")return;let n=e?.delayFn;!n&&typeof requestAnimationFrame<"u"&&(n=requestAnimationFrame),ku(t,{document:e?.document||window.document,delayFn:n})}}});function qm(e){return e?.head.querySelector('meta[name="unhead:ssr"]')?.getAttribute("content")||!1}const Ma={critical:2,high:9,low:12,base:-1,title:1,meta:10};function Ba(e){if(typeof e.tagPriority=="number")return e.tagPriority;if(e.tag==="meta"){if(e.props.charset)return-2;if(e.props["http-equiv"]==="content-security-policy")return 0}const t=e.tagPriority||e.tag;return t in Ma?Ma[t]:10}const Km=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function Qm(){return{hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(s=>s._d===n)?._p;for(const{prefix:n,offset:s}of Km)for(const o of e.tags.filter(r=>typeof r.tagPriority=="string"&&r.tagPriority.startsWith(n))){const r=t(o.tagPriority.replace(n,""));typeof r<"u"&&(o._p=r+s)}e.tags.sort((n,s)=>n._p-s._p).sort((n,s)=>Ba(n)-Ba(s))}}}}const Ha=(e,t)=>e==null?t||null:typeof e=="function"?e(t):e.replace("%s",t??""),Jm=()=>({hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const s=t.findIndex(o=>o.tag==="title");if(s!==-1&&n!==-1){const o=Ha(t[n].textContent,t[s].textContent);o!==null?t[s].textContent=o||t[s].textContent:delete t[s]}else if(n!==-1){const o=Ha(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}}),Xm=()=>({hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}),Pu=typeof window<"u",Ym=()=>({hooks:{"tag:normalise":e=>{const{tag:t,entry:n,resolvedOptions:s}=e;s.experimentalHashHydration===!0&&(t._h=_r(t));const o=typeof t.props._dynamic<"u";!Ii.includes(t.tag)||!t.key||Pu||Su()?.resolvedOptions?.document||(n._m==="server"||o)&&(t._h=t._h||_r(t),t.props[`data-h-${t._h}`]="")},"tags:resolve":e=>{e.tags=e.tags.map(t=>(delete t.props._dynamic,t))}}}),Da=["script","link","bodyAttrs"],Zm=()=>{const e=(t,n)=>{const s={},o={};Object.entries(n.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"?o[i]=a:s[i]=a});let r;return t==="dom"&&n.tag==="script"&&typeof s.src=="string"&&typeof o.onload<"u"&&(r=s.src,delete s.src),{props:s,eventHandlers:o,delayedSrc:r}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(!Da.includes(n.tag)||!Object.entries(n.props).find(([s,o])=>s.startsWith("on")&&typeof o=="function")||(n.props=e("ssr",n).props),n))},"dom:beforeRenderTag":function(t){if(!Da.includes(t.tag.tag)||!Object.entries(t.tag.props).find(([r,i])=>r.startsWith("on")&&typeof i=="function"))return;const{props:n,eventHandlers:s,delayedSrc:o}=e("dom",t.tag);Object.keys(s).length&&(t.tag.props=n,t.tag._eventHandlers=s,t.tag._delayedSrc=o)},"dom:renderTag":function(t){const n=t.$el;if(!t.tag._eventHandlers||!n)return;const s=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:n;Object.entries(t.tag._eventHandlers).forEach(([o,r])=>{const i=`${t.tag._d||t.tag._p}:${o}`,a=o.slice(2).toLowerCase(),c=`data-h-${a}`;if(t.markSideEffect(i,()=>{}),n.hasAttribute(c))return;const l=r;n.setAttribute(c,""),s.addEventListener(a,l),t.entry&&(t.entry._sde[i]=()=>{s.removeEventListener(a,l),n.removeAttribute(c)})}),t.tag._delayedSrc&&n.setAttribute("src",t.tag._delayedSrc)}}}},eg=["templateParams","htmlAttrs","bodyAttrs"],tg=e=>{e=e||{};const t=e.dedupeKeys||["hid","vmid","key"];return{hooks:{"tag:normalise":function({tag:n}){t.forEach(o=>{n.props[o]&&(n.key=n.props[o],delete n.props[o])});const s=n.key?`${n.tag}:${n.key}`:vu(n);s&&(n._d=s)},"tags:resolve":function(n){const s={};n.tags.forEach(r=>{const i=r._d||r._p,a=s[i];if(a){let c=r?.tagDuplicateStrategy;if(!c&&eg.includes(r.tag)&&(c="merge"),c==="merge"){const p=a.props;["class","style"].forEach(f=>{r.props[f]&&p[f]&&(f==="style"&&!p[f].endsWith(";")&&(p[f]+=";"),r.props[f]=`${p[f]} ${r.props[f]}`)}),s[i].props={...p,...r.props};return}else if(r._e===a._e){a._duped=a._duped||[],r._d=`${a._d}:${a._duped.length+1}`,a._duped.push(r);return}const l=Object.keys(r.props).length;if((l===0||l===1&&typeof r.props["data-h-key"]<"u")&&!r.innerHTML&&!r.textContent){delete s[i];return}}s[i]=r});const o=[];Object.values(s).forEach(r=>{const i=r._duped;delete r._duped,o.push(r),i&&o.push(...i)}),n.tags=o}}}};function go(e,t){const n=(o,r)=>{let i;return r==="pageTitle"||r==="s"?i=t.pageTitle:r.includes(".")?i=r.split(".").reduce((a,c)=>a[c]||"",t):i=t[r],i||""};let s=e.replace(/%(\w+\.+\w+)/g,n).replace(/%(\w+)/g,n).trim();return t.separator&&(s.endsWith(t.separator)&&(s=s.slice(0,-t.separator.length).trim()),s.startsWith(t.separator)&&(s=s.slice(t.separator.length).trim()),s=s.replace(new RegExp(`\\${t.separator}\\s*\\${t.separator}`,"g"),t.separator)),s}function ng(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e,n=t.find(r=>r.tag==="title")?.textContent,s=t.findIndex(r=>r.tag==="templateParams"),o=s!==-1?t[s].textContent:{};o.pageTitle=o.pageTitle||n||"",delete t[s];for(const r of t.filter(Boolean))["titleTemplate","title"].includes(r.tag)&&typeof r.textContent=="string"?r.textContent=go(r.textContent,o):r.tag==="meta"&&typeof r.props.content=="string"?r.props.content=go(r.props.content,o):r.tag==="script"&&["application/json","application/ld+json"].includes(r.props.type)&&typeof r.innerHTML=="string"&&(r.innerHTML=go(r.innerHTML,o));e.tags=t.filter(Boolean)}}}}let Tu;const sg=e=>Tu=e,Su=()=>Tu;async function rg(e,t){const n={tag:e,props:{}};return["title","titleTemplate","templateParams"].includes(e)?(n.textContent=t instanceof Promise?await t: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.key=bu(t)),n):!1:(n.props=await ig(e,{...t}),n.props.children&&(n.props.innerHTML=n.props.children),delete n.props.children,Object.keys(n.props).filter(s=>Gm.includes(s)).forEach(s=>{(!["innerHTML","textContent"].includes(s)||yu.includes(n.tag))&&(n[s]=n.props[s]),delete n.props[s]}),["innerHTML","textContent"].forEach(s=>{if(n.tag==="script"&&typeof n[s]=="string"&&["application/ld+json","application/json"].includes(n.props.type))try{n[s]=JSON.parse(n[s])}catch{n[s]=""}typeof n[s]=="object"&&(n[s]=JSON.stringify(n[s]))}),n.props.class&&(n.props.class=og(n.props.class)),n.props.content&&Array.isArray(n.props.content)?n.props.content.map(s=>({...n,props:{...n.props,content:s}})):n)}function og(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 ig(e,t){for(const n of Object.keys(t)){const s=n.startsWith("data-");t[n]instanceof Promise&&(t[n]=await t[n]),String(t[n])==="true"?t[n]=s?"true":"":String(t[n])==="false"&&(s?t[n]="false":delete t[n])}return t}const ag=10;async function lg(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,s])=>typeof s<"u"&&Um.includes(n)).forEach(([n,s])=>{const o=Fm(s);t.push(...o.map(r=>rg(n,r)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,s)=>(n._e=e._i,n._p=(e._i<<ag)+s,n))}const cg=()=>[tg(),Qm(),ng(),Jm(),Ym(),Zm(),Xm()],ug=(e={})=>[Vm({document:e?.document,delayFn:e?.domDelayFn})];function fg(e={}){const t=dg({...e,plugins:[...ug(e),...e?.plugins||[]]});return e.experimentalHashHydration&&t.resolvedOptions.document&&(t._hash=qm(t.resolvedOptions.document)),sg(t),t}function dg(e={}){let t=[],n={},s=0;const o=mu();e?.hooks&&o.addHooks(e.hooks),e.plugins=[...cg(),...e?.plugins||[]],e.plugins.forEach(a=>a.hooks&&o.addHooks(a.hooks)),e.document=e.document||(Pu?document:void 0);const r=()=>o.callHook("entries:updated",i),i={resolvedOptions:e,headEntries(){return t},get hooks(){return o},use(a){a.hooks&&o.addHooks(a.hooks)},push(a,c){const l={_i:s++,input:a,_sde:{}};return c?.mode&&(l._m=c?.mode),c?.transform&&(l._t=c?.transform),t.push(l),r(),{dispose(){t=t.filter(p=>p._i!==l._i?!0:(n={...n,...p._sde||{}},p._sde={},r(),!1))},patch(p){t=t.map(f=>(f._i===l._i&&(l.input=f.input=p,r()),f))}}},async resolveTags(){const a={tags:[],entries:[...t]};await o.callHook("entries:resolve",a);for(const c of a.entries){const l=c._t||(p=>p);c.resolvedInput=l(c.resolvedInput||c.input);for(const p of await lg(c)){const f={tag:p,entry:c,resolvedOptions:i.resolvedOptions};await o.callHook("tag:normalise",f),a.tags.push(f.tag)}}return await o.callHook("tags:resolve",a),a.tags},_popSideEffectQueue(){const a={...n};return n={},a},_elMap:{}};return i.hooks.callHook("init",i),i}function pg(e){return typeof e=="function"?e():Te(e)}function yr(e,t=""){if(e instanceof Promise)return e;const n=pg(e);if(!e||!n)return n;if(Array.isArray(n))return n.map(s=>yr(s,t));if(typeof n=="object"){let s=!1;const o=Object.fromEntries(Object.entries(n).map(([r,i])=>r==="titleTemplate"||r.startsWith("on")?[r,Te(i)]:((typeof i=="function"||Ae(i))&&(s=!0),[r,yr(i,r)])));return s&&Ii.includes(String(t))&&(o._dynamic=!0),o}return n}const hg=Ni.startsWith("3"),mg=typeof window<"u",Eu="usehead";function Mi(){return Et()&&Ve(Eu)||Su()}function gg(e){return{install(n){hg&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Eu,e))}}.install}function _g(e={}){const t=fg({...e,domDelayFn:n=>setTimeout(()=>Tt(()=>n()),10),plugins:[yg(),...e?.plugins||[]]});return t.install=gg(t),t}const yg=()=>({hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=yr(t.input)}}});function bg(e,t={}){const n=Mi(),s=_e(!1),o=_e({});Ec(()=>{o.value=s.value?{}:yr(e)});const r=n.push(o.value,t);return Me(o,a=>{r.patch(a)}),Et()&&(Is(()=>{r.dispose()}),$c(()=>{s.value=!0}),Oc(()=>{s.value=!1})),r}function vg(e,t={}){return Mi().push(e,t)}function Au(e,t={}){const n=Mi();if(n){const s=mg||!!n.resolvedOptions?.document;return t.mode==="server"&&s||t.mode==="client"&&!s?void 0:s?bg(e,t):vg(e,t)}}function wg(e,t){const n=_g(t||{}),s={unhead:n,install(o){Ni.startsWith("3")&&(o.config.globalProperties.$head=n,o.provide("usehead",n))},use(o){n.use(o)},resolveTags(){return n.resolveTags()},headEntries(){return n.headEntries()},headTags(){return n.resolveTags()},push(o,r){return n.push(o,r)},addEntry(o,r){return n.push(o,r)},addHeadObjs(o,r){return n.push(o,r)},addReactiveEntry(o,r){const i=Au(o,r);return typeof i<"u"?i.dispose:()=>{}},removeHeadObjs(){},updateDOM(o,r){r?wu(n,{document:o}):ku(n,{delayFn:i=>setTimeout(()=>i(),50),document:o})},internalHooks:n.hooks,hooks:{"before:dom":[],"resolved:tags":[],"resolved:entries":[]}};return n.addHeadObjs=s.addHeadObjs,n.updateDOM=s.updateDOM,n.hooks.hook("dom:beforeRender",o=>{for(const r of s.hooks["before:dom"])r()===!1&&(o.shouldRender=!1)}),e&&s.addHeadObjs(e),s}const kg={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[],style:[],script:[],noscript:[]},Pg=!1,Go=!1,Tg=!1,Sg="__nuxt",Eg=At(e=>{const t=wg();t.push(kg),e.vueApp.use(t);{let n=!0;const s=()=>{n=!1,t.internalHooks.callHook("entries:updated",t.unhead)};t.internalHooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",s),e.hooks.hook("app:mounted",s)}e._useHead=Au});/*!
|
|
2
|
-
* vue-router v4.1.6
|
|
3
|
-
* (c) 2022 Eduardo San Martin Morote
|
|
4
|
-
* @license MIT
|
|
5
|
-
*/const dn=typeof window<"u";function Ag(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ye=Object.assign;function _o(e,t){const n={};for(const s in t){const o=t[s];n[s]=rt(o)?o.map(e):e(o)}return n}const hs=()=>{},rt=Array.isArray,xg=/\/$/,Lg=e=>e.replace(xg,"");function yo(e,t,n="/"){let s,o={},r="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(s=t.slice(0,c),r=t.slice(c+1,a>-1?a:t.length),o=e(r)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=Ng(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function Rg(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Fa(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Og(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&xn(t.matched[s],n.matched[o])&&xu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function xn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function xu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!$g(e[n],t[n]))return!1;return!0}function $g(e,t){return rt(e)?Ua(e,t):rt(t)?Ua(t,e):e===t}function Ua(e,t){return rt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ng(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let o=n.length-1,r,i;for(r=0;r<s.length;r++)if(i=s[r],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var xs;(function(e){e.pop="pop",e.push="push"})(xs||(xs={}));var ms;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ms||(ms={}));function Cg(e){if(!e)if(dn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Lg(e)}const jg=/^[^#]+#/;function Ig(e,t){return e.replace(jg,"#")+t}function Mg(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Wr=()=>({left:window.pageXOffset,top:window.pageYOffset});function Bg(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Mg(o,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 Wa(e,t){return(history.state?history.state.position-t:-1)+e}const zo=new Map;function Hg(e,t){zo.set(e,t)}function Dg(e){const t=zo.get(e);return zo.delete(e),t}let Fg=()=>location.protocol+"//"+location.host;function Lu(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let a=o.includes(e.slice(r))?e.slice(r).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),Fa(c,"")}return Fa(n,e)+s+o}function Ug(e,t,n,s){let o=[],r=[],i=null;const a=({state:d})=>{const k=Lu(e,location),m=n.value,T=t.value;let S=0;if(d){if(n.value=k,t.value=d,i&&i===m){i=null;return}S=T?d.position-T.position:0}else s(k);o.forEach(g=>{g(n.value,m,{delta:S,type:xs.pop,direction:S?S>0?ms.forward:ms.back:ms.unknown})})};function c(){i=n.value}function l(d){o.push(d);const k=()=>{const m=o.indexOf(d);m>-1&&o.splice(m,1)};return r.push(k),k}function p(){const{history:d}=window;d.state&&d.replaceState(ye({},d.state,{scroll:Wr()}),"")}function f(){for(const d of r)d();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",p)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",p),{pauseListeners:c,listen:l,destroy:f}}function Ga(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?Wr():null}}function Wg(e){const{history:t,location:n}=window,s={value:Lu(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(c,l,p){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Fg()+e+c;try{t[p?"replaceState":"pushState"](l,"",d),o.value=l}catch(k){console.error(k),n[p?"replace":"assign"](d)}}function i(c,l){const p=ye({},t.state,Ga(o.value.back,c,o.value.forward,!0),l,{position:o.value.position});r(c,p,!0),s.value=c}function a(c,l){const p=ye({},o.value,t.state,{forward:c,scroll:Wr()});r(p.current,p,!0);const f=ye({},Ga(s.value,c,null),{position:p.position+1},l);r(c,f,!1),s.value=c}return{location:s,state:o,push:a,replace:i}}function Ru(e){e=Cg(e);const t=Wg(e),n=Ug(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=ye({location:"",base:e,go:s,createHref:Ig.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Gg(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ru(e)}function zg(e){return typeof e=="string"||e&&typeof e=="object"}function Ou(e){return typeof e=="string"||typeof e=="symbol"}const Nt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},$u=Symbol("");var za;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(za||(za={}));function Ln(e,t){return ye(new Error,{type:e,[$u]:!0},t)}function ft(e,t){return e instanceof Error&&$u in e&&(t==null||!!(e.type&t))}const Va="[^/]+?",Vg={sensitive:!1,strict:!1,start:!0,end:!0},qg=/[.+*?^${}()[\]/\\]/g;function Kg(e,t){const n=ye({},Vg,t),s=[];let o=n.start?"^":"";const r=[];for(const l of e){const p=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let f=0;f<l.length;f++){const d=l[f];let k=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(qg,"\\$&"),k+=40;else if(d.type===1){const{value:m,repeatable:T,optional:S,regexp:g}=d;r.push({name:m,repeatable:T,optional:S});const h=g||Va;if(h!==Va){k+=10;try{new RegExp(`(${h})`)}catch(P){throw new Error(`Invalid custom RegExp for param "${m}" (${h}): `+P.message)}}let _=T?`((?:${h})(?:/(?:${h}))*)`:`(${h})`;f||(_=S&&l.length<2?`(?:/${_})`:"/"+_),S&&(_+="?"),o+=_,k+=20,S&&(k+=-8),T&&(k+=-20),h===".*"&&(k+=-50)}p.push(k)}s.push(p)}if(n.strict&&n.end){const l=s.length-1;s[l][s[l].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(l){const p=l.match(i),f={};if(!p)return null;for(let d=1;d<p.length;d++){const k=p[d]||"",m=r[d-1];f[m.name]=k&&m.repeatable?k.split("/"):k}return f}function c(l){let p="",f=!1;for(const d of e){(!f||!p.endsWith("/"))&&(p+="/"),f=!1;for(const k of d)if(k.type===0)p+=k.value;else if(k.type===1){const{value:m,repeatable:T,optional:S}=k,g=m in l?l[m]:"";if(rt(g)&&!T)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const h=rt(g)?g.join("/"):g;if(!h)if(S)d.length<2&&(p.endsWith("/")?p=p.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);p+=h}}return p||"/"}return{re:i,score:s,keys:r,parse:a,stringify:c}}function Qg(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Jg(e,t){let n=0;const s=e.score,o=t.score;for(;n<s.length&&n<o.length;){const r=Qg(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(qa(s))return 1;if(qa(o))return-1}return o.length-s.length}function qa(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Xg={type:0,value:""},Yg=/[a-zA-Z0-9_]/;function Zg(e){if(!e)return[[]];if(e==="/")return[[Xg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(k){throw new Error(`ERR (${n})/"${l}": ${k}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,c,l="",p="";function f(){l&&(n===0?r.push({type:0,value:l}):n===1||n===2||n===3?(r.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:l,regexp:p,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:c==="/"?(l&&f(),i()):c===":"?(f(),n=1):d();break;case 4:d(),n=s;break;case 1:c==="("?n=2:Yg.test(c)?d():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?p[p.length-1]=="\\"?p=p.slice(0,-1)+c:n=3:p+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,p="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),f(),i(),o}function e_(e,t,n){const s=Kg(Zg(e.path),n),o=ye(s,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function t_(e,t){const n=[],s=new Map;t=Ja({strict:!1,end:!0,sensitive:!1},t);function o(p){return s.get(p)}function r(p,f,d){const k=!d,m=n_(p);m.aliasOf=d&&d.record;const T=Ja(t,p),S=[m];if("alias"in p){const _=typeof p.alias=="string"?[p.alias]:p.alias;for(const P of _)S.push(ye({},m,{components:d?d.record.components:m.components,path:P,aliasOf:d?d.record:m}))}let g,h;for(const _ of S){const{path:P}=_;if(f&&P[0]!=="/"){const w=f.record.path,u=w[w.length-1]==="/"?"":"/";_.path=f.record.path+(P&&u+P)}if(g=e_(_,f,T),d?d.alias.push(g):(h=h||g,h!==g&&h.alias.push(g),k&&p.name&&!Qa(g)&&i(p.name)),m.children){const w=m.children;for(let u=0;u<w.length;u++)r(w[u],g,d&&d.children[u])}d=d||g,(g.record.components&&Object.keys(g.record.components).length||g.record.name||g.record.redirect)&&c(g)}return h?()=>{i(h)}:hs}function i(p){if(Ou(p)){const f=s.get(p);f&&(s.delete(p),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(p);f>-1&&(n.splice(f,1),p.record.name&&s.delete(p.record.name),p.children.forEach(i),p.alias.forEach(i))}}function a(){return n}function c(p){let f=0;for(;f<n.length&&Jg(p,n[f])>=0&&(p.record.path!==n[f].record.path||!Nu(p,n[f]));)f++;n.splice(f,0,p),p.record.name&&!Qa(p)&&s.set(p.record.name,p)}function l(p,f){let d,k={},m,T;if("name"in p&&p.name){if(d=s.get(p.name),!d)throw Ln(1,{location:p});T=d.record.name,k=ye(Ka(f.params,d.keys.filter(h=>!h.optional).map(h=>h.name)),p.params&&Ka(p.params,d.keys.map(h=>h.name))),m=d.stringify(k)}else if("path"in p)m=p.path,d=n.find(h=>h.re.test(m)),d&&(k=d.parse(m),T=d.record.name);else{if(d=f.name?s.get(f.name):n.find(h=>h.re.test(f.path)),!d)throw Ln(1,{location:p,currentLocation:f});T=d.record.name,k=ye({},f.params,p.params),m=d.stringify(k)}const S=[];let g=d;for(;g;)S.unshift(g.record),g=g.parent;return{name:T,path:m,params:k,matched:S,meta:r_(S)}}return e.forEach(p=>r(p)),{addRoute:r,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Ka(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function n_(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:s_(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 s_(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function Qa(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function r_(e){return e.reduce((t,n)=>ye(t,n.meta),{})}function Ja(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Nu(e,t){return t.children.some(n=>n===e||Nu(e,n))}const Cu=/#/g,o_=/&/g,i_=/\//g,a_=/=/g,l_=/\?/g,ju=/\+/g,c_=/%5B/g,u_=/%5D/g,Iu=/%5E/g,f_=/%60/g,Mu=/%7B/g,d_=/%7C/g,Bu=/%7D/g,p_=/%20/g;function Bi(e){return encodeURI(""+e).replace(d_,"|").replace(c_,"[").replace(u_,"]")}function h_(e){return Bi(e).replace(Mu,"{").replace(Bu,"}").replace(Iu,"^")}function Vo(e){return Bi(e).replace(ju,"%2B").replace(p_,"+").replace(Cu,"%23").replace(o_,"%26").replace(f_,"`").replace(Mu,"{").replace(Bu,"}").replace(Iu,"^")}function m_(e){return Vo(e).replace(a_,"%3D")}function g_(e){return Bi(e).replace(Cu,"%23").replace(l_,"%3F")}function __(e){return e==null?"":g_(e).replace(i_,"%2F")}function br(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function y_(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<s.length;++o){const r=s[o].replace(ju," "),i=r.indexOf("="),a=br(i<0?r:r.slice(0,i)),c=i<0?null:br(r.slice(i+1));if(a in t){let l=t[a];rt(l)||(l=t[a]=[l]),l.push(c)}else t[a]=c}return t}function Xa(e){let t="";for(let n in e){const s=e[n];if(n=m_(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(rt(s)?s.map(r=>r&&Vo(r)):[s&&Vo(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function b_(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=rt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const v_=Symbol(""),Ya=Symbol(""),Hi=Symbol(""),Di=Symbol(""),qo=Symbol("");function Wn(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Mt(e,t,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const c=f=>{f===!1?a(Ln(4,{from:n,to:t})):f instanceof Error?a(f):zg(f)?a(Ln(2,{from:t,to:f})):(r&&s.enterCallbacks[o]===r&&typeof f=="function"&&r.push(f),i())},l=e.call(s&&s.instances[o],t,n,c);let p=Promise.resolve(l);e.length<3&&(p=p.then(c)),p.catch(f=>a(f))})}function bo(e,t,n,s){const o=[];for(const r of e)for(const i in r.components){let a=r.components[i];if(!(t!=="beforeRouteEnter"&&!r.instances[i]))if(w_(a)){const l=(a.__vccOpts||a)[t];l&&o.push(Mt(l,n,s,r,i))}else{let c=a();o.push(()=>c.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${r.path}"`));const p=Ag(l)?l.default:l;r.components[i]=p;const d=(p.__vccOpts||p)[t];return d&&Mt(d,n,s,r,i)()}))}}return o}function w_(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Za(e){const t=Ve(Hi),n=Ve(Di),s=Ee(()=>t.resolve(Te(e.to))),o=Ee(()=>{const{matched:c}=s.value,{length:l}=c,p=c[l-1],f=n.matched;if(!p||!f.length)return-1;const d=f.findIndex(xn.bind(null,p));if(d>-1)return d;const k=el(c[l-2]);return l>1&&el(p)===k&&f[f.length-1].path!==k?f.findIndex(xn.bind(null,c[l-2])):d}),r=Ee(()=>o.value>-1&&S_(n.params,s.value.params)),i=Ee(()=>o.value>-1&&o.value===n.matched.length-1&&xu(n.params,s.value.params));function a(c={}){return T_(c)?t[Te(e.replace)?"replace":"push"](Te(e.to)).catch(hs):Promise.resolve()}return{route:s,href:Ee(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const k_=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:Za,setup(e,{slots:t}){const n=st(Za(e)),{options:s}=Ve(Hi),o=Ee(()=>({[tl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[tl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:qe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),P_=k_;function T_(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 S_(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!rt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function el(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const tl=(e,t,n)=>e??t??n,E_=Oe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ve(qo),o=Ee(()=>e.route||s.value),r=Ve(Ya,0),i=Ee(()=>{let l=Te(r);const{matched:p}=o.value;let f;for(;(f=p[l])&&!f.components;)l++;return l}),a=Ee(()=>o.value.matched[i.value]);wn(Ya,Ee(()=>i.value+1)),wn(v_,a),wn(qo,o);const c=_e();return Me(()=>[c.value,a.value,e.name],([l,p,f],[d,k,m])=>{p&&(p.instances[f]=l,k&&k!==p&&l&&l===d&&(p.leaveGuards.size||(p.leaveGuards=k.leaveGuards),p.updateGuards.size||(p.updateGuards=k.updateGuards))),l&&p&&(!k||!xn(p,k)||!d)&&(p.enterCallbacks[f]||[]).forEach(T=>T(l))},{flush:"post"}),()=>{const l=o.value,p=e.name,f=a.value,d=f&&f.components[p];if(!d)return nl(n.default,{Component:d,route:l});const k=f.props[p],m=k?k===!0?l.params:typeof k=="function"?k(l):k:null,S=qe(d,ye({},m,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[p]=null)},ref:c}));return nl(n.default,{Component:S,route:l})||S}}});function nl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Hu=E_;function A_(e){const t=t_(e.routes,e),n=e.parseQuery||y_,s=e.stringifyQuery||Xa,o=e.history,r=Wn(),i=Wn(),a=Wn(),c=ir(Nt);let l=Nt;dn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const p=_o.bind(null,I=>""+I),f=_o.bind(null,__),d=_o.bind(null,br);function k(I,z){let O,K;return Ou(I)?(O=t.getRecordMatcher(I),K=z):K=I,t.addRoute(K,O)}function m(I){const z=t.getRecordMatcher(I);z&&t.removeRoute(z)}function T(){return t.getRoutes().map(I=>I.record)}function S(I){return!!t.getRecordMatcher(I)}function g(I,z){if(z=ye({},z||c.value),typeof I=="string"){const A=yo(n,I,z.path),R=t.resolve({path:A.path},z),j=o.createHref(A.fullPath);return ye(A,R,{params:d(R.params),hash:br(A.hash),redirectedFrom:void 0,href:j})}let O;if("path"in I)O=ye({},I,{path:yo(n,I.path,z.path).path});else{const A=ye({},I.params);for(const R in A)A[R]==null&&delete A[R];O=ye({},I,{params:f(I.params)}),z.params=f(z.params)}const K=t.resolve(O,z),Q=I.hash||"";K.params=p(d(K.params));const ce=Rg(s,ye({},I,{hash:h_(Q),path:K.path})),oe=o.createHref(ce);return ye({fullPath:ce,hash:Q,query:s===Xa?b_(I.query):I.query||{}},K,{redirectedFrom:void 0,href:oe})}function h(I){return typeof I=="string"?yo(n,I,c.value.path):ye({},I)}function _(I,z){if(l!==I)return Ln(8,{from:z,to:I})}function P(I){return v(I)}function w(I){return P(ye(h(I),{replace:!0}))}function u(I){const z=I.matched[I.matched.length-1];if(z&&z.redirect){const{redirect:O}=z;let K=typeof O=="function"?O(I):O;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=h(K):{path:K},K.params={}),ye({query:I.query,hash:I.hash,params:"path"in K?{}:I.params},K)}}function v(I,z){const O=l=g(I),K=c.value,Q=I.state,ce=I.force,oe=I.replace===!0,A=u(O);if(A)return v(ye(h(A),{state:typeof A=="object"?ye({},Q,A.state):Q,force:ce,replace:oe}),z||O);const R=O;R.redirectedFrom=z;let j;return!ce&&Og(s,K,O)&&(j=Ln(16,{to:R,from:K}),ge(K,K,!0,!1)),(j?Promise.resolve(j):b(R,K)).catch(M=>ft(M)?ft(M,2)?M:re(M):ne(M,R,K)).then(M=>{if(M){if(ft(M,2))return v(ye({replace:oe},h(M.to),{state:typeof M.to=="object"?ye({},Q,M.to.state):Q,force:ce}),z||R)}else M=L(R,K,!0,oe,Q);return E(R,K,M),M})}function y(I,z){const O=_(I,z);return O?Promise.reject(O):Promise.resolve()}function b(I,z){let O;const[K,Q,ce]=x_(I,z);O=bo(K.reverse(),"beforeRouteLeave",I,z);for(const A of K)A.leaveGuards.forEach(R=>{O.push(Mt(R,I,z))});const oe=y.bind(null,I,z);return O.push(oe),un(O).then(()=>{O=[];for(const A of r.list())O.push(Mt(A,I,z));return O.push(oe),un(O)}).then(()=>{O=bo(Q,"beforeRouteUpdate",I,z);for(const A of Q)A.updateGuards.forEach(R=>{O.push(Mt(R,I,z))});return O.push(oe),un(O)}).then(()=>{O=[];for(const A of I.matched)if(A.beforeEnter&&!z.matched.includes(A))if(rt(A.beforeEnter))for(const R of A.beforeEnter)O.push(Mt(R,I,z));else O.push(Mt(A.beforeEnter,I,z));return O.push(oe),un(O)}).then(()=>(I.matched.forEach(A=>A.enterCallbacks={}),O=bo(ce,"beforeRouteEnter",I,z),O.push(oe),un(O))).then(()=>{O=[];for(const A of i.list())O.push(Mt(A,I,z));return O.push(oe),un(O)}).catch(A=>ft(A,8)?A:Promise.reject(A))}function E(I,z,O){for(const K of a.list())K(I,z,O)}function L(I,z,O,K,Q){const ce=_(I,z);if(ce)return ce;const oe=z===Nt,A=dn?history.state:{};O&&(K||oe?o.replace(I.fullPath,ye({scroll:oe&&A&&A.scroll},Q)):o.push(I.fullPath,Q)),c.value=I,ge(I,z,O,oe),re()}let x;function $(){x||(x=o.listen((I,z,O)=>{if(!de.listening)return;const K=g(I),Q=u(K);if(Q){v(ye(Q,{replace:!0}),K).catch(hs);return}l=K;const ce=c.value;dn&&Hg(Wa(ce.fullPath,O.delta),Wr()),b(K,ce).catch(oe=>ft(oe,12)?oe:ft(oe,2)?(v(oe.to,K).then(A=>{ft(A,20)&&!O.delta&&O.type===xs.pop&&o.go(-1,!1)}).catch(hs),Promise.reject()):(O.delta&&o.go(-O.delta,!1),ne(oe,K,ce))).then(oe=>{oe=oe||L(K,ce,!1),oe&&(O.delta&&!ft(oe,8)?o.go(-O.delta,!1):O.type===xs.pop&&ft(oe,20)&&o.go(-1,!1)),E(K,ce,oe)}).catch(hs)}))}let N=Wn(),G=Wn(),V;function ne(I,z,O){re(I);const K=G.list();return K.length?K.forEach(Q=>Q(I,z,O)):console.error(I),Promise.reject(I)}function Y(){return V&&c.value!==Nt?Promise.resolve():new Promise((I,z)=>{N.add([I,z])})}function re(I){return V||(V=!I,$(),N.list().forEach(([z,O])=>I?O(I):z()),N.reset()),I}function ge(I,z,O,K){const{scrollBehavior:Q}=e;if(!dn||!Q)return Promise.resolve();const ce=!O&&Dg(Wa(I.fullPath,0))||(K||!O)&&history.state&&history.state.scroll||null;return Tt().then(()=>Q(I,z,ce)).then(oe=>oe&&Bg(oe)).catch(oe=>ne(oe,I,z))}const ue=I=>o.go(I);let ae;const fe=new Set,de={currentRoute:c,listening:!0,addRoute:k,removeRoute:m,hasRoute:S,getRoutes:T,resolve:g,options:e,push:P,replace:w,go:ue,back:()=>ue(-1),forward:()=>ue(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:G.add,isReady:Y,install(I){const z=this;I.component("RouterLink",P_),I.component("RouterView",Hu),I.config.globalProperties.$router=z,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>Te(c)}),dn&&!ae&&c.value===Nt&&(ae=!0,P(o.location).catch(Q=>{}));const O={};for(const Q in Nt)O[Q]=Ee(()=>c.value[Q]);I.provide(Hi,z),I.provide(Di,st(O)),I.provide(qo,c);const K=I.unmount;fe.add(I),I.unmount=function(){fe.delete(I),fe.size<1&&(l=Nt,x&&x(),x=null,c.value=Nt,ae=!1,V=!1),K()}}};return de}function un(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function x_(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const a=t.matched[i];a&&(e.matched.find(l=>xn(l,a))?s.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>xn(l,c))||o.push(c))}return[n,s,o]}function L_(){return Ve(Di)}function vo(e){return e!==null&&typeof e=="object"}function Ko(e,t,n=".",s){if(!vo(t))return Ko(e,{},n,s);const o=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const i=e[r];i!=null&&(s&&s(o,r,i,n)||(Array.isArray(i)&&Array.isArray(o[r])?o[r]=[...i,...o[r]]:vo(i)&&vo(o[r])?o[r]=Ko(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function Du(e){return(...t)=>t.reduce((n,s)=>Ko(n,s,"",e),{})}const R_=Du(),O_=Du((e,t,n)=>{if(typeof e[t]<"u"&&typeof n=="function")return e[t]=n(e[t]),!0});class Qo extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1,this.statusMessage=void 0}toJSON(){const t={message:this.message,statusCode:this.statusCode};return this.statusMessage&&(t.statusMessage=this.statusMessage),this.data!==void 0&&(t.data=this.data),t}}Qo.__h3_error__=!0;function Jo(e){if(typeof e=="string")return new Qo(e);if($_(e))return e;const t=new Qo(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{}}return e.data&&(t.data=e.data),e.statusCode?t.statusCode=e.statusCode:e.status&&(t.statusCode=e.status),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function $_(e){return e?.constructor?.__h3_error__===!0}const Gr=()=>Ti(Le().payload,"error"),pn=e=>{const t=Fu(e);try{Le().callHook("app:error",t);const s=Gr();s.value=s.value||t}catch{throw t}return t},N_=async(e={})=>{const t=Le(),n=Gr();t.callHook("app:error:cleared",e),e.redirect&&await t.$router.replace(e.redirect),n.value=null},C_=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Fu=e=>{const t=Jo(e);return t.__nuxt_error=!0,t};function Ms(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,s]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(s!==void 0&&typeof s!="function")throw new Error("[nuxt] [useState] init must be a function: "+s);const o="$s"+n,r=Le(),i=Ti(r.payload.state,o);if(i.value===void 0&&s){const a=s();if(Ae(a))return r.payload.state[o]=a,a;i.value=a}return i}const Mn=()=>Le()?.$router,Uu=()=>Et()?Ve("_route",Le()._route):Le()._route,Wu=e=>e,j_=()=>{try{if(Le()._processingMiddleware)return!0}catch{return!0}return!1},I_=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:e.path||"/",s=Ur(n,!0);if(s&&!t?.external)throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(s&&ji(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");if(!s&&j_())return e;const o=Mn();return s?(t?.replace?location.replace(n):location.href=n,Promise.resolve()):t?.replace?o.replace(e):o.push(e)},M_="modulepreload",B_=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},sl={},ke=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=B_(r,s),r in sl)return;sl[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let p=o.length-1;p>=0;p--){const f=o[p];if(f.href===r&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":M_,i||(l.as="script",l.crossOrigin=""),l.href=r,document.head.appendChild(l),i)return new Promise((p,f)=>{l.addEventListener("load",p),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},Gn={layout:"none"},zn={layout:"none"},Vn={icon:"carbon-nominal",title:"Components",order:2},qn={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks"},Kn={icon:"carbon-function",title:"Imports",order:3},Qn={icon:"carbon-chart-treemap",title:"Layouts",wip:!0},Jn={icon:"carbon-layers",title:"Middleware",wip:!0},Xn={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},Yn={icon:"carbon-information",title:"Overview",order:-100},Zn={icon:"carbon-tree-view-alt",title:"Pages",requireClient:!0,order:1},es={icon:"carbon-data-set",title:"Payload",requireClient:!0,order:7},ts={icon:"carbon-plug",title:"Plugins",order:5},ns={icon:"carbon-settings",title:"Runtime Configs",requireClient:!0,order:6},ss={icon:"carbon-cloud",title:"Server Routes",wip:!0},rs={icon:"carbon-data-base",title:"Storage",experimental:!0},os={icon:"carbon-assembly-reference",title:"Virtual Files"},rl=[{name:Gn?.name??"__inspecting",path:Gn?.path??"/__inspecting",children:[],meta:Gn||{},alias:Gn?.alias||[],redirect:Gn?.redirect||void 0,component:()=>ke(()=>import("./__inspecting.8819ade8.js"),[],import.meta.url).then(e=>e.default||e)},{name:zn?.name??"index",path:zn?.path??"/",children:[],meta:zn||{},alias:zn?.alias||[],redirect:zn?.redirect||void 0,component:()=>ke(()=>import("./index.0d6abd2a.js"),["./index.0d6abd2a.js","./NuxtLogo.8111403f.js","./Badge.4f16da14.js","./NButton.vue.76dccbb9.js","./nuxt-link.a34a1045.js","./client.9c41f495.js","./json-editor-vue.a65019ca.js","./NButton.a7fda268.css","./NSectionBlock.891fa081.css"],import.meta.url).then(e=>e.default||e)},{name:Vn?.name??"modules-components",path:Vn?.path??"/modules/components",children:[],meta:Vn||{},alias:Vn?.alias||[],redirect:Vn?.redirect||void 0,component:()=>ke(()=>import("./components.43dee80b.js"),["./components.43dee80b.js","./state.1f523208.js","./asyncData.103aad72.js","./NCheckbox.vue.60126ccb.js","./Badge.4f16da14.js","./FilepathItem.vue.235fa07d.js","./editor.66e59505.js","./context.55688cca.js","./NButton.vue.76dccbb9.js","./nuxt-link.a34a1045.js","./client.9c41f495.js","./json-editor-vue.a65019ca.js","./NButton.a7fda268.css","./NSectionBlock.891fa081.css","./NTextInput.vue.1fd15b74.js","./NSectionBlock.58837776.js","./fuse.esm.88e2763d.js"],import.meta.url).then(e=>e.default||e)},{name:"modules-custom-name",path:"/modules/custom-:name",children:[],meta:{},alias:[],redirect:void 0,component:()=>ke(()=>import("./custom-_name_.8832be9d.js"),["./custom-_name_.8832be9d.js","./LaunchPage.vue.86f00e85.js","./TabIcon.vue.30ae65eb.js","./NMarkdown.vue.abb154b8.js","./client.9c41f495.js","./NButton.vue.76dccbb9.js","./nuxt-link.a34a1045.js","./json-editor-vue.a65019ca.js","./NButton.a7fda268.css","./NSectionBlock.891fa081.css","./state.1f523208.js","./asyncData.103aad72.js"],import.meta.url).then(e=>e.default||e)},{name:qn?.name??"modules-hooks",path:qn?.path??"/modules/hooks",children:[],meta:qn||{},alias:qn?.alias||[],redirect:qn?.redirect||void 0,component:()=>ke(()=>import("./hooks.427abdcd.js"),["./hooks.427abdcd.js","./NSectionBlock.58837776.js","./NSectionBlock.891fa081.css","./state.1f523208.js","./asyncData.103aad72.js"],import.meta.url).then(e=>e.default||e)},{name:Kn?.name??"modules-imports",path:Kn?.path??"/modules/imports",children:[],meta:Kn||{},alias:Kn?.alias||[],redirect:Kn?.redirect||void 0,component:()=>ke(()=>import("./imports.2dc7174b.js"),["./imports.2dc7174b.js","./NTextInput.vue.1fd15b74.js","./FilepathItem.vue.235fa07d.js","./state.1f523208.js","./asyncData.103aad72.js","./editor.66e59505.js","./context.55688cca.js","./NMarkdown.vue.abb154b8.js","./client.9c41f495.js","./NButton.vue.76dccbb9.js","./nuxt-link.a34a1045.js","./json-editor-vue.a65019ca.js","./NButton.a7fda268.css","./NSectionBlock.891fa081.css","./NSectionBlock.58837776.js","./fuse.esm.88e2763d.js"],import.meta.url).then(e=>e.default||e)},{name:Qn?.name??"modules-layouts",path:Qn?.path??"/modules/layouts",children:[],meta:Qn||{},alias:Qn?.alias||[],redirect:Qn?.redirect||void 0,component:()=>ke(()=>import("./layouts.4db8e1e6.js"),["./layouts.4db8e1e6.js","./state.1f523208.js","./asyncData.103aad72.js"],import.meta.url).then(e=>e.default||e)},{name:Jn?.name??"modules-middleware",path:Jn?.path??"/modules/middleware",children:[],meta:Jn||{},alias:Jn?.alias||[],redirect:Jn?.redirect||void 0,component:()=>ke(()=>import("./middleware.c4f2a57b.js"),[],import.meta.url).then(e=>e.default||e)},{name:Xn?.name??"modules-modules",path:Xn?.path??"/modules/modules",children:[],meta:Xn||{},alias:Xn?.alias||[],redirect:Xn?.redirect||void 0,component:()=>ke(()=>import("./modules.a2209d2d.js"),["./modules.a2209d2d.js","./nuxt-link.a34a1045.js","./FilepathItem.vue.235fa07d.js","./state.1f523208.js","./asyncData.103aad72.js","./editor.66e59505.js","./context.55688cca.js","./NSectionBlock.58837776.js","./NSectionBlock.891fa081.css"],import.meta.url).then(e=>e.default||e)},{name:Yn?.name??"modules-overview",path:Yn?.path??"/modules/overview",children:[],meta:Yn||{},alias:Yn?.alias||[],redirect:Yn?.redirect||void 0,component:()=>ke(()=>import("./overview.5053fd45.js"),["./overview.5053fd45.js","./NuxtLogo.8111403f.js","./Badge.4f16da14.js","./nuxt-link.a34a1045.js","./NCheckbox.vue.60126ccb.js","./NButton.vue.76dccbb9.js","./client.9c41f495.js","./json-editor-vue.a65019ca.js","./NButton.a7fda268.css","./NSectionBlock.891fa081.css","./state.1f523208.js","./asyncData.103aad72.js"],import.meta.url).then(e=>e.default||e)},{name:Zn?.name??"modules-pages",path:Zn?.path??"/modules/pages",children:[],meta:Zn||{},alias:Zn?.alias||[],redirect:Zn?.redirect||void 0,component:()=>ke(()=>import("./pages.9a1a9ac3.js"),["./pages.9a1a9ac3.js","./NTextInput.vue.1fd15b74.js","./Badge.4f16da14.js","./NButton.vue.76dccbb9.js","./nuxt-link.a34a1045.js","./client.9c41f495.js","./json-editor-vue.a65019ca.js","./NButton.a7fda268.css","./NSectionBlock.891fa081.css","./state.1f523208.js","./asyncData.103aad72.js","./editor.66e59505.js","./context.55688cca.js","./NSectionBlock.58837776.js","./LaunchPage.vue.86f00e85.js","./TabIcon.vue.30ae65eb.js","./NMarkdown.vue.abb154b8.js"],import.meta.url).then(e=>e.default||e)},{name:es?.name??"modules-payload",path:es?.path??"/modules/payload",children:[],meta:es||{},alias:es?.alias||[],redirect:es?.redirect||void 0,component:()=>ke(()=>import("./payload.ed4c5688.js"),["./payload.ed4c5688.js","./StateEditor.vue.bdb7e5c8.js","./json-editor-vue.a65019ca.js","./NSectionBlock.58837776.js","./NSectionBlock.891fa081.css"],import.meta.url).then(e=>e.default||e)},{name:ts?.name??"modules-plugins",path:ts?.path??"/modules/plugins",children:[],meta:ts||{},alias:ts?.alias||[],redirect:ts?.redirect||void 0,component:()=>ke(()=>import("./plugins.95c9e3e6.js"),["./plugins.95c9e3e6.js","./Badge.4f16da14.js","./state.1f523208.js","./asyncData.103aad72.js","./editor.66e59505.js","./context.55688cca.js","./NSectionBlock.58837776.js","./NSectionBlock.891fa081.css"],import.meta.url).then(e=>e.default||e)},{name:ns?.name??"modules-runtime-configs",path:ns?.path??"/modules/runtime-configs",children:[],meta:ns||{},alias:ns?.alias||[],redirect:ns?.redirect||void 0,component:()=>ke(()=>import("./runtime-configs.7ebddf6f.js"),["./runtime-configs.7ebddf6f.js","./StateEditor.vue.bdb7e5c8.js","./json-editor-vue.a65019ca.js","./NSectionBlock.58837776.js","./NSectionBlock.891fa081.css","./state.1f523208.js","./asyncData.103aad72.js"],import.meta.url).then(e=>e.default||e)},{name:ss?.name??"modules-server-routes",path:ss?.path??"/modules/server-routes",children:[],meta:ss||{},alias:ss?.alias||[],redirect:ss?.redirect||void 0,component:()=>ke(()=>import("./server-routes.5337ffc6.js"),[],import.meta.url).then(e=>e.default||e)},{name:rs?.name??"modules-storage",path:rs?.path??"/modules/storage",children:[],meta:rs||{},alias:rs?.alias||[],redirect:rs?.redirect||void 0,component:()=>ke(()=>import("./storage.4459d7bf.js"),["./storage.4459d7bf.js","./NTextInput.vue.1fd15b74.js","./nuxt-link.a34a1045.js","./NButton.vue.76dccbb9.js","./client.9c41f495.js","./json-editor-vue.a65019ca.js","./NButton.a7fda268.css","./NSectionBlock.891fa081.css","./PanelLeftRight.vue.56b5906c.js","./asyncData.103aad72.js"],import.meta.url).then(e=>e.default||e)},{name:os?.name??"modules-virtual-files",path:os?.path??"/modules/virtual-files",children:[],meta:os||{},alias:os?.alias||[],redirect:os?.redirect||void 0,component:()=>ke(()=>import("./virtual-files.a15894d9.js"),["./virtual-files.a15894d9.js","./NTextInput.vue.1fd15b74.js","./nuxt-link.a34a1045.js","./client.9c41f495.js","./PanelLeftRight.vue.56b5906c.js","./asyncData.103aad72.js","./fuse.esm.88e2763d.js","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)}],H_={scrollBehavior(e,t,n){const s=Le();let o=n||void 0;if(!o&&t&&e&&e.meta.scrollToTop!==!1&&D_(t,e)&&(o={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:ol(e.hash)}}const r=a=>!!(a.meta.pageTransition??Go),i=r(t)&&r(e)?"page:transition:finish":"page:finish";return new Promise(a=>{s.hooks.hookOnce(i,async()=>{await Tt(),e.hash&&(o={el:e.hash,top:ol(e.hash)}),a(o)})})}};function ol(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function D_(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const F_={},is={...F_,...H_},U_=Wu(async e=>{let t,n;if(!e.meta?.validate)return;const s=Le(),o=Mn();if(([t,n]=Wo(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Fu({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=o.beforeResolve(c=>{if(a(),c===e){const l=o.afterEach(async()=>{l(),await ht(s,pn,[i]),window.history.pushState({},"",e.fullPath)});return!1}})});function W_(e,t){return Le()._useHead(e,t)}function il(e,t={}){const n=G_(e,t),s=Le(),o=s._payloadCache=s._payloadCache||{};return o[e]||(o[e]=z_(n).then(r=>r||(delete o[e],null))),o[e]}function G_(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"||Ur(n.pathname,!0))throw new Error("Payload URL must not include hostname: "+e);const s=t.hash||(t.fresh?Date.now():"");return Ci(_u().app.baseURL,n.pathname,s?`_payload.${s}.js`:"_payload.js")}async function z_(e){return(await ke(()=>import(e),[],import.meta.url).catch(n=>{console.warn("[nuxt] Cannot load payload ",e,n)}))?.default||null}function V_(){return!!Le().payload.prerenderedAt}const q_={fixture1:"from app.config.ts"},K_={fixture2:"from nuxt.config.ts"};O_(q_,K_);var al;const zr=typeof window<"u",Q_=e=>typeof e<"u",Gu=e=>typeof e=="function",J_=e=>typeof e=="string",X_=()=>{};zr&&((al=window?.navigator)!=null&&al.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Je(e){return typeof e=="function"?e():Te(e)}function Y_(e,t){function n(...s){return new Promise((o,r)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(o).catch(r)})}return n}const zu=e=>e();function Z_(e=zu){const t=_e(!0);function n(){t.value=!1}function s(){t.value=!0}const o=(...r)=>{t.value&&e(...r)};return{isActive:Nr(t),pause:n,resume:s,eventFilter:o}}function ll(e,t=!1,n="Timeout"){return new Promise((s,o)=>{setTimeout(t?()=>o(n):s,e)})}function ey(e){return e}function Fi(e){return nc()?(sd(e),!0):!1}var ty=Object.defineProperty,ny=Object.defineProperties,sy=Object.getOwnPropertyDescriptors,cl=Object.getOwnPropertySymbols,ry=Object.prototype.hasOwnProperty,oy=Object.prototype.propertyIsEnumerable,ul=(e,t,n)=>t in e?ty(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iy=(e,t)=>{for(var n in t||(t={}))ry.call(t,n)&&ul(e,n,t[n]);if(cl)for(var n of cl(t))oy.call(t,n)&&ul(e,n,t[n]);return e},ay=(e,t)=>ny(e,sy(t));function ly(e){if(!Ae(e))return Id(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=jd(()=>({get(){return e.value[n]},set(s){if(Array.isArray(e.value)){const o=[...e.value];o[n]=s,e.value=o}else{const o=ay(iy({},e.value),{[n]:s});Object.setPrototypeOf(o,e.value),e.value=o}}}));return t}function Vu(e,t=!0){Et()?js(e):t?e():Tt(e)}function Xo(e,t=!1){function n(f,{flush:d="sync",deep:k=!1,timeout:m,throwOnTimeout:T}={}){let S=null;const h=[new Promise(_=>{S=Me(e,P=>{f(P)!==t&&(S?.(),_(P))},{flush:d,deep:k,immediate:!0})})];return m!=null&&h.push(ll(m,T).then(()=>Je(e)).finally(()=>S?.())),Promise.race(h)}function s(f,d){if(!Ae(f))return n(P=>P===f,d);const{flush:k="sync",deep:m=!1,timeout:T,throwOnTimeout:S}=d??{};let g=null;const _=[new Promise(P=>{g=Me([e,f],([w,u])=>{t!==(w===u)&&(g?.(),P(w))},{flush:k,deep:m,immediate:!0})})];return T!=null&&_.push(ll(T,S).then(()=>Je(e)).finally(()=>(g?.(),Je(e)))),Promise.race(_)}function o(f){return n(d=>Boolean(d),f)}function r(f){return s(null,f)}function i(f){return s(void 0,f)}function a(f){return n(Number.isNaN,f)}function c(f,d){return n(k=>{const m=Array.from(k);return m.includes(f)||m.includes(Je(f))},d)}function l(f){return p(1,f)}function p(f=1,d){let k=-1;return n(()=>(k+=1,k>=f),d)}return Array.isArray(Je(e))?{toMatch:n,toContains:c,changed:l,changedTimes:p,get not(){return Xo(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:o,toBeNull:r,toBeNaN:a,toBeUndefined:i,changed:l,changedTimes:p,get not(){return Xo(e,!t)}}}function Jw(e){return Xo(e)}function cy(e,t,n={}){const{immediate:s=!0}=n,o=_e(!1);let r=null;function i(){r&&(clearTimeout(r),r=null)}function a(){o.value=!1,i()}function c(...l){i(),o.value=!0,r=setTimeout(()=>{o.value=!1,r=null,e(...l)},Je(t))}return s&&(o.value=!0,zr&&c()),Fi(a),{isPending:Nr(o),start:c,stop:a}}function Xw(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,o=Ae(e),r=_e(e);function i(a){if(arguments.length)return r.value=a,r.value;{const c=Je(n);return r.value=r.value===c?Je(s):c,r.value}}return o?i:[r,i]}var fl=Object.getOwnPropertySymbols,uy=Object.prototype.hasOwnProperty,fy=Object.prototype.propertyIsEnumerable,dy=(e,t)=>{var n={};for(var s in e)uy.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&fl)for(var s of fl(e))t.indexOf(s)<0&&fy.call(e,s)&&(n[s]=e[s]);return n};function py(e,t,n={}){const s=n,{eventFilter:o=zu}=s,r=dy(s,["eventFilter"]);return Me(e,Y_(o,t),r)}var hy=Object.defineProperty,my=Object.defineProperties,gy=Object.getOwnPropertyDescriptors,vr=Object.getOwnPropertySymbols,qu=Object.prototype.hasOwnProperty,Ku=Object.prototype.propertyIsEnumerable,dl=(e,t,n)=>t in e?hy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_y=(e,t)=>{for(var n in t||(t={}))qu.call(t,n)&&dl(e,n,t[n]);if(vr)for(var n of vr(t))Ku.call(t,n)&&dl(e,n,t[n]);return e},yy=(e,t)=>my(e,gy(t)),by=(e,t)=>{var n={};for(var s in e)qu.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&vr)for(var s of vr(e))t.indexOf(s)<0&&Ku.call(e,s)&&(n[s]=e[s]);return n};function vy(e,t,n={}){const s=n,{eventFilter:o}=s,r=by(s,["eventFilter"]),{eventFilter:i,pause:a,resume:c,isActive:l}=Z_(o);return{stop:py(e,t,yy(_y({},r),{eventFilter:i})),pause:a,resume:c,isActive:l}}function wr(e){var t;const n=Je(e);return(t=n?.$el)!=null?t:n}const Ls=zr?window:void 0,wy=zr?window.navigator:void 0;function Rs(...e){let t,n,s,o;if(J_(e[0])||Array.isArray(e[0])?([n,s,o]=e,t=Ls):[t,n,s,o]=e,!t)return X_;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const r=[],i=()=>{r.forEach(p=>p()),r.length=0},a=(p,f,d,k)=>(p.addEventListener(f,d,k),()=>p.removeEventListener(f,d,k)),c=Me(()=>[wr(t),Je(o)],([p,f])=>{i(),p&&r.push(...n.flatMap(d=>s.map(k=>a(p,d,k,f))))},{immediate:!0,flush:"post"}),l=()=>{c(),i()};return Fi(l),l}function Qu(e,t=!1){const n=_e(),s=()=>n.value=Boolean(e());return s(),Vu(s,t),n}function Yw(e={}){const{navigator:t=wy,read:n=!1,source:s,copiedDuring:o=1500,legacy:r=!1}=e,i=["copy","cut"],a=Qu(()=>t&&"clipboard"in t),c=Ee(()=>a.value||r),l=_e(""),p=_e(!1),f=cy(()=>p.value=!1,o);function d(){a.value?t.clipboard.readText().then(S=>{l.value=S}):l.value=T()}if(c.value&&n)for(const S of i)Rs(S,d);async function k(S=Je(s)){c.value&&S!=null&&(a.value?await t.clipboard.writeText(S):m(S),l.value=S,p.value=!0,f.start())}function m(S){const g=document.createElement("textarea");g.value=S??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function T(){var S,g,h;return(h=(g=(S=document?.getSelection)==null?void 0:S.call(document))==null?void 0:g.toString())!=null?h:""}return{isSupported:c,text:l,copied:p,copy:k}}function ky(e){return JSON.parse(JSON.stringify(e))}const Yo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zo="__vueuse_ssr_handlers__";Yo[Zo]=Yo[Zo]||{};const Py=Yo[Zo];function Ty(e,t){return Py[e]||t}function Sy(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 Ey=Object.defineProperty,pl=Object.getOwnPropertySymbols,Ay=Object.prototype.hasOwnProperty,xy=Object.prototype.propertyIsEnumerable,hl=(e,t,n)=>t in e?Ey(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ml=(e,t)=>{for(var n in t||(t={}))Ay.call(t,n)&&hl(e,n,t[n]);if(pl)for(var n of pl(t))xy.call(t,n)&&hl(e,n,t[n]);return e};const Ly={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()}},gl="vueuse-storage";function Ry(e,t,n,s={}){var o;const{flush:r="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:c=!0,mergeDefaults:l=!1,shallow:p,window:f=Ls,eventFilter:d,onError:k=y=>{console.error(y)}}=s,m=(p?ir:_e)(t);if(!n)try{n=Ty("getDefaultStorage",()=>{var y;return(y=Ls)==null?void 0:y.localStorage})()}catch(y){k(y)}if(!n)return m;const T=Je(t),S=Sy(T),g=(o=s.serializer)!=null?o:Ly[S],{pause:h,resume:_}=vy(m,()=>P(m.value),{flush:r,deep:i,eventFilter:d});return f&&a&&(Rs(f,"storage",v),Rs(f,gl,u)),v(),m;function P(y){try{if(y==null)n.removeItem(e);else{const b=g.write(y),E=n.getItem(e);E!==b&&(n.setItem(e,b),f&&f.dispatchEvent(new CustomEvent(gl,{detail:{key:e,oldValue:E,newValue:b,storageArea:n}})))}}catch(b){k(b)}}function w(y){const b=y?y.newValue:n.getItem(e);if(b==null)return c&&T!==null&&n.setItem(e,g.write(T)),T;if(!y&&l){const E=g.read(b);return Gu(l)?l(E,T):S==="object"&&!Array.isArray(E)?ml(ml({},T),E):E}else return typeof b!="string"?b:g.read(b)}function u(y){v(y.detail)}function v(y){if(!(y&&y.storageArea!==n)){if(y&&y.key==null){m.value=T;return}if(!(y&&y.key!==e)){h();try{m.value=w(y)}catch(b){k(b)}finally{y?Tt(_):_()}}}}}var _l=Object.getOwnPropertySymbols,Oy=Object.prototype.hasOwnProperty,$y=Object.prototype.propertyIsEnumerable,Ny=(e,t)=>{var n={};for(var s in e)Oy.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&_l)for(var s of _l(e))t.indexOf(s)<0&&$y.call(e,s)&&(n[s]=e[s]);return n};function Cy(e,t,n={}){const s=n,{window:o=Ls}=s,r=Ny(s,["window"]);let i;const a=Qu(()=>o&&"ResizeObserver"in o),c=()=>{i&&(i.disconnect(),i=void 0)},l=Me(()=>wr(e),f=>{c(),a.value&&o&&f&&(i=new ResizeObserver(t),i.observe(f,r))},{immediate:!0,flush:"post"}),p=()=>{c(),l()};return Fi(p),{isSupported:a,stop:p}}function Zw(e,t={}){const{reset:n=!0,windowResize:s=!0,windowScroll:o=!0,immediate:r=!0}=t,i=_e(0),a=_e(0),c=_e(0),l=_e(0),p=_e(0),f=_e(0),d=_e(0),k=_e(0);function m(){const T=wr(e);if(!T){n&&(i.value=0,a.value=0,c.value=0,l.value=0,p.value=0,f.value=0,d.value=0,k.value=0);return}const S=T.getBoundingClientRect();i.value=S.height,a.value=S.bottom,c.value=S.left,l.value=S.right,p.value=S.top,f.value=S.width,d.value=S.x,k.value=S.y}return Cy(e,m),Me(()=>wr(e),T=>!T&&m()),o&&Rs("scroll",m,{capture:!0,passive:!0}),s&&Rs("resize",m,{passive:!0}),Vu(()=>{r&&m()}),{height:i,bottom:a,left:c,right:l,top:p,width:f,x:d,y:k,update:m}}function Vr(e,t,n={}){const{window:s=Ls}=n;return Ry(e,t,s?.localStorage,n)}var yl;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(yl||(yl={}));var jy=Object.defineProperty,bl=Object.getOwnPropertySymbols,Iy=Object.prototype.hasOwnProperty,My=Object.prototype.propertyIsEnumerable,vl=(e,t,n)=>t in e?jy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,By=(e,t)=>{for(var n in t||(t={}))Iy.call(t,n)&&vl(e,n,t[n]);if(bl)for(var n of bl(t))My.call(t,n)&&vl(e,n,t[n]);return e};const Hy={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};By({linear:ey},Hy);function e0(e,t,n,s={}){var o,r,i;const{clone:a=!1,passive:c=!1,eventName:l,deep:p=!1,defaultValue:f}=s,d=Et(),k=n||d?.emit||((o=d?.$emit)==null?void 0:o.bind(d))||((i=(r=d?.proxy)==null?void 0:r.$emit)==null?void 0:i.bind(d?.proxy));let m=l;t||(t="modelValue"),m=l||m||`update:${t.toString()}`;const T=g=>a?Gu(a)?a(g):ky(g):g,S=()=>Q_(e[t])?T(e[t]):f;if(c){const g=S(),h=_e(g);return Me(()=>e[t],_=>h.value=T(_)),Me(h,_=>{(_!==e[t]||p)&&k(m,_)},{deep:p}),h}else return Ee({get(){return S()},set(g){k(m,g)}})}const Dy=Vr("nuxt-devtools-first-visit",!0),Fy=Vr("nuxt-devtools-settings",{componentsView:"list",componentsGraphShowNodeModules:!1,componentsGraphShowPages:!1,componentsGraphShowLayouts:!1,componentsGraphShowWorkspace:!0,interactionCloseOnOutsideClick:!1,showExperimentalFeatures:!1},{mergeDefaults:!0}),Uy=ly(Fy),Wy=Vr("nuxt-devtools-frame-state",{},{listenToStorageChanges:!1}),Gy=Vr("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1});function t0(){return Uy}function n0(){return Wy}function s0(){return Gy}const zy=Wu(e=>{if(e.path==="/"&&!Dy.value)return I_("/modules/overview")}),Vy=[U_,zy],ei={};function qy(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){const a=o.includes(e.slice(r))?e.slice(r).length:1;let c=o.slice(a);return c[0]!=="/"&&(c="/"+c),Na(c,"")}return Na(n,e)+s+o}const Ky=At(async e=>{let t,n,s=_u().app.baseURL;is.hashMode&&!s.includes("#")&&(s+="#");const o=is.history?.(s)??(is.hashMode?Gg(s):Ru(s)),r=is.routes?.(rl)??rl,i=qy(s,window.location),a=A_({...is,history:o,routes:r});e.vueApp.use(a);const c=ir(a.currentRoute.value);a.afterEach((m,T)=>{c.value=T}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const l=ir(a.resolve(i)),p=()=>{l.value=a.currentRoute.value};e.hook("page:finish",p),a.afterEach((m,T)=>{m.matched[0]?.components?.default===T.matched[0]?.components?.default&&p()});const f={};for(const m in l.value)f[m]=Ee(()=>l.value[m]);e._route=st(f),e._middleware=e._middleware||{global:[],named:{}};const d=Gr();try{[t,n]=Wo(()=>a.isReady()),await t,n()}catch(m){[t,n]=Wo(()=>ht(e,pn,[m])),await t,n()}const k=Ms("_layout");return a.beforeEach(async(m,T)=>{m.meta=st(m.meta),e.isHydrating&&k.value&&!an(m.meta.layout)&&(m.meta.layout=k.value),e._processingMiddleware=!0;const S=new Set([...Vy,...e._middleware.global]);for(const g of m.matched){const h=g.meta.middleware;if(h)if(Array.isArray(h))for(const _ of h)S.add(_);else S.add(h)}for(const g of S){const h=typeof g=="string"?e._middleware.named[g]||await ei[g]?.().then(P=>P.default||P):g;if(!h)throw new Error(`Unknown route middleware: '${g}'.`);const _=await ht(e,h,[m,T]);if(!e.payload.serverRendered&&e.isHydrating&&(_===!1||_ instanceof Error)){const P=_||Jo({statusCode:404,statusMessage:`Page Not Found: ${i}`});return await ht(e,pn,[P]),!1}if(_||_===!1)return _}}),a.afterEach(async m=>{delete e._processingMiddleware,!e.isHydrating&&d.value&&await ht(e,N_),m.matched.length===0&&await ht(e,pn,[Jo({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`})])}),e.hooks.hookOnce("app:created",async()=>{try{await a.replace({...a.resolve(i),name:void 0,force:!0})}catch(m){await ht(e,pn,[m])}}),{provide:{router:a}}}),hn={default:()=>ke(()=>import("./default.c29c3e74.js"),["./default.c29c3e74.js","./context.55688cca.js","./NuxtLogo.8111403f.js","./NButton.vue.76dccbb9.js","./nuxt-link.a34a1045.js","./client.9c41f495.js","./json-editor-vue.a65019ca.js","./NButton.a7fda268.css","./NSectionBlock.891fa081.css","./TabIcon.vue.30ae65eb.js","./state.1f523208.js","./asyncData.103aad72.js"],import.meta.url).then(e=>e.default||e),none:()=>ke(()=>import("./none.394b52e6.js"),[],import.meta.url).then(e=>e.default||e)},Qy=At(()=>{const e=Le(),t=Mn();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const s=n?.meta?.layout;s&&typeof hn[s]=="function"&&await hn[s]()})}),e.hooks.hook("link:prefetch",n=>{if(Ur(n))return;const s=t.resolve(n);if(!s)return;const o=s?.meta?.layout;let r=Array.isArray(s?.meta?.middleware)?s?.meta?.middleware:[s?.meta?.middleware];r=r.filter(i=>typeof i=="string");for(const i of r)typeof ei[i]=="function"&&ei[i]();o&&typeof hn[o]=="function"&&hn[o]()})}),Jy="__NUXT_COLOR_MODE__",r0="ColorScheme",Xy="nuxt-color-mode",dt=window[Jy],Yy=At(e=>{const t=Ms("color-mode",()=>st({preference:dt.preference,value:dt.value,unknown:!1,forced:!1})).value;Mn().afterEach(o=>{const r=o.meta.colorMode;r&&r!=="system"?(t.value=r,t.forced=!0):(r==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?dt.getColorScheme():t.preference)});let n;function s(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=dt.getColorScheme())}))}Me(()=>t.preference,o=>{t.forced||(o==="system"?(t.value=dt.getColorScheme(),s()):t.value=o,window.localStorage?.setItem(Xy,o))},{immediate:!0}),Me(()=>t.value,(o,r)=>{dt.removeColorScheme(r),dt.addColorScheme(o)}),t.preference==="system"&&s(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=dt.preference,t.value=dt.value,t.unknown=!1)}),e.provide("colorMode",t)});const Zy=At(()=>{}),eb=At(e=>{V_()&&(e.hooks.hook("link:prefetch",t=>{if(!ji(t).protocol)return il(t)}),Mn().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await il(t.path);s&&Object.assign(e.static.data,s.data)}))});function xt(e){return e.split("-")[0]}function kn(e){return e.split("-")[1]}function Bs(e){return["top","bottom"].includes(xt(e))?"x":"y"}function Ui(e){return e==="y"?"height":"width"}function wl(e){let{reference:t,floating:n,placement:s}=e;const o=t.x+t.width/2-n.width/2,r=t.y+t.height/2-n.height/2;let i;switch(xt(s)){case"top":i={x:o,y:t.y-n.height};break;case"bottom":i={x:o,y:t.y+t.height};break;case"right":i={x:t.x+t.width,y:r};break;case"left":i={x:t.x-n.width,y:r};break;default:i={x:t.x,y:t.y}}const a=Bs(s),c=Ui(a);switch(kn(s)){case"start":i[a]=i[a]-(t[c]/2-n[c]/2);break;case"end":i[a]=i[a]+(t[c]/2-n[c]/2);break}return i}const tb=async(e,t,n)=>{const{placement:s="bottom",strategy:o="absolute",middleware:r=[],platform:i}=n;let a=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:l}=wl({...a,placement:s}),p=s,f={};for(let d=0;d<r.length;d++){const{name:k,fn:m}=r[d],{x:T,y:S,data:g,reset:h}=await m({x:c,y:l,initialPlacement:s,placement:p,strategy:o,middlewareData:f,rects:a,platform:i,elements:{reference:e,floating:t}});if(c=T??c,l=S??l,f={...f,[k]:g??{}},h){typeof h=="object"&&(h.placement&&(p=h.placement),h.rects&&(a=h.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):h.rects),{x:c,y:l}=wl({...a,placement:p})),d=-1;continue}}return{x:c,y:l,placement:p,strategy:o,middlewareData:f}};function nb(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ju(e){return typeof e!="number"?nb(e):{top:e,right:e,bottom:e,left:e}}function ti(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function qr(e,t){t===void 0&&(t={});const{x:n,y:s,platform:o,rects:r,elements:i,strategy:a}=e,{boundary:c="clippingParents",rootBoundary:l="viewport",elementContext:p="floating",altBoundary:f=!1,padding:d=0}=t,k=Ju(d),T=i[f?p==="floating"?"reference":"floating":p],S=await o.getClippingClientRect({element:await o.isElement(T)?T:T.contextElement||await o.getDocumentElement({element:i.floating}),boundary:c,rootBoundary:l}),g=ti(await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:p==="floating"?{...r.floating,x:n,y:s}:r.reference,offsetParent:await o.getOffsetParent({element:i.floating}),strategy:a}));return{top:S.top-g.top+k.top,bottom:g.bottom-S.bottom+k.bottom,left:S.left-g.left+k.left,right:g.right-S.right+k.right}}const sb=Math.min,Yt=Math.max;function ni(e,t,n){return Yt(e,sb(t,n))}const rb=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:s=0}=e??{},{x:o,y:r,placement:i,rects:a,platform:c}=t;if(n==null)return{};const l=Ju(s),p={x:o,y:r},f=xt(i),d=Bs(f),k=Ui(d),m=await c.getDimensions({element:n}),T=d==="y"?"top":"left",S=d==="y"?"bottom":"right",g=a.reference[k]+a.reference[d]-p[d]-a.floating[k],h=p[d]-a.reference[d],_=await c.getOffsetParent({element:n}),P=_?d==="y"?_.clientHeight||0:_.clientWidth||0:0,w=g/2-h/2,u=l[T],v=P-m[k]-l[S],y=P/2-m[k]/2+w,b=ni(u,y,v);return{data:{[d]:b,centerOffset:y-b}}}}),ob={left:"right",right:"left",bottom:"top",top:"bottom"};function kr(e){return e.replace(/left|right|bottom|top/g,t=>ob[t])}function Xu(e,t){const n=kn(e)==="start",s=Bs(e),o=Ui(s);let r=s==="x"?n?"right":"left":n?"bottom":"top";return t.reference[o]>t.floating[o]&&(r=kr(r)),{main:r,cross:kr(r)}}const ib={start:"end",end:"start"};function si(e){return e.replace(/start|end/g,t=>ib[t])}const ab=["top","right","bottom","left"],lb=ab.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);function cb(e,t,n){return(e?[...n.filter(o=>kn(o)===e),...n.filter(o=>kn(o)!==e)]:n.filter(o=>xt(o)===o)).filter(o=>e?kn(o)===e||(t?si(o)!==o:!1):!0)}const ub=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,o,r,i,a;const{x:c,y:l,rects:p,middlewareData:f,placement:d}=t,{alignment:k=null,allowedPlacements:m=lb,autoAlignment:T=!0,...S}=e;if((n=f.autoPlacement)!=null&&n.skip)return{};const g=cb(k,T,m),h=await qr(t,S),_=(s=(o=f.autoPlacement)==null?void 0:o.index)!=null?s:0,P=g[_],{main:w,cross:u}=Xu(P,p);if(d!==P)return{x:c,y:l,reset:{placement:g[0]}};const v=[h[xt(P)],h[w],h[u]],y=[...(r=(i=f.autoPlacement)==null?void 0:i.overflows)!=null?r:[],{placement:P,overflows:v}],b=g[_+1];if(b)return{data:{index:_+1,overflows:y},reset:{placement:b}};const E=y.slice().sort((x,$)=>x.overflows[0]-$.overflows[0]),L=(a=E.find(x=>{let{overflows:$}=x;return $.every(N=>N<=0)}))==null?void 0:a.placement;return{data:{skip:!0},reset:{placement:L??E[0].placement}}}}};function fb(e){const t=kr(e);return[si(e),t,si(t)]}const db=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,s;const{placement:o,middlewareData:r,rects:i,initialPlacement:a}=t;if((n=r.flip)!=null&&n.skip)return{};const{mainAxis:c=!0,crossAxis:l=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",flipAlignment:d=!0,...k}=e,m=xt(o),S=p||(m===a||!d?[kr(a)]:fb(a)),g=[a,...S],h=await qr(t,k),_=[];let P=((s=r.flip)==null?void 0:s.overflows)||[];if(c&&_.push(h[m]),l){const{main:y,cross:b}=Xu(o,i);_.push(h[y],h[b])}if(P=[...P,{placement:o,overflows:_}],!_.every(y=>y<=0)){var w,u;const y=((w=(u=r.flip)==null?void 0:u.index)!=null?w:0)+1,b=g[y];if(b)return{data:{index:y,overflows:P},reset:{placement:b}};let E="bottom";switch(f){case"bestFit":{var v;const L=(v=P.slice().sort((x,$)=>x.overflows.filter(N=>N>0).reduce((N,G)=>N+G,0)-$.overflows.filter(N=>N>0).reduce((N,G)=>N+G,0))[0])==null?void 0:v.placement;L&&(E=L);break}case"initialPlacement":E=a;break}return{data:{skip:!0},reset:{placement:E}}}return{}}}};function pb(e){let{placement:t,rects:n,value:s}=e;const o=xt(t),r=["left","top"].includes(o)?-1:1,i=typeof s=="function"?s({...n,placement:t}):s,{mainAxis:a,crossAxis:c}=typeof i=="number"?{mainAxis:i,crossAxis:0}:{mainAxis:0,crossAxis:0,...i};return Bs(o)==="x"?{x:c,y:a*r}:{x:a*r,y:c}}const hb=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(t){const{x:n,y:s,placement:o,rects:r}=t,i=pb({placement:o,rects:r,value:e});return{x:n+i.x,y:s+i.y,data:i}}}};function mb(e){return e==="x"?"y":"x"}const gb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:S=>{let{x:g,y:h}=S;return{x:g,y:h}}},...c}=e,l={x:n,y:s},p=await qr(t,c),f=Bs(xt(o)),d=mb(f);let k=l[f],m=l[d];if(r){const S=f==="y"?"top":"left",g=f==="y"?"bottom":"right",h=k+p[S],_=k-p[g];k=ni(h,k,_)}if(i){const S=d==="y"?"top":"left",g=d==="y"?"bottom":"right",h=m+p[S],_=m-p[g];m=ni(h,m,_)}const T=a.fn({...t,[f]:k,[d]:m});return{...T,data:{x:T.x-n,y:T.y-s}}}}},_b=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n;const{placement:s,rects:o,middlewareData:r}=t,{apply:i,...a}=e;if((n=r.size)!=null&&n.skip)return{};const c=await qr(t,a),l=xt(s),p=kn(s)==="end";let f,d;l==="top"||l==="bottom"?(f=l,d=p?"left":"right"):(d=l,f=p?"top":"bottom");const k=Yt(c.left,0),m=Yt(c.right,0),T=Yt(c.top,0),S=Yt(c.bottom,0),g={height:o.floating.height-(["left","right"].includes(s)?2*(T!==0||S!==0?T+S:Yt(c.top,c.bottom)):c[f]),width:o.floating.width-(["top","bottom"].includes(s)?2*(k!==0||m!==0?k+m:Yt(c.left,c.right)):c[d])};return i?.({...g,...o}),{data:{skip:!0},reset:{rects:!0}}}}};function Wi(e){return e?.toString()==="[object Window]"}function zt(e){if(e==null)return window;if(!Wi(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Kr(e){return zt(e).getComputedStyle(e)}function wt(e){return Wi(e)?"":e?(e.nodeName||"").toLowerCase():""}function kt(e){return e instanceof zt(e).HTMLElement}function Pr(e){return e instanceof zt(e).Element}function yb(e){return e instanceof zt(e).Node}function Yu(e){const t=zt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Qr(e){const{overflow:t,overflowX:n,overflowY:s}=Kr(e);return/auto|scroll|overlay|hidden/.test(t+s+n)}function bb(e){return["table","td","th"].includes(wt(e))}function Zu(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=Kr(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}const kl=Math.min,gs=Math.max,Tr=Math.round;function Rn(e,t){t===void 0&&(t=!1);const n=e.getBoundingClientRect();let s=1,o=1;return t&&kt(e)&&(s=e.offsetWidth>0&&Tr(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Tr(n.height)/e.offsetHeight||1),{width:n.width/s,height:n.height/o,top:n.top/o,right:n.right/s,bottom:n.bottom/o,left:n.left/s,x:n.left/s,y:n.top/o}}function Vt(e){return((yb(e)?e.ownerDocument:e.document)||window.document).documentElement}function Jr(e){return Wi(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ef(e){return Rn(Vt(e)).left+Jr(e).scrollLeft}function vb(e){const t=Rn(e);return Tr(t.width)!==e.offsetWidth||Tr(t.height)!==e.offsetHeight}function wb(e,t,n){const s=kt(t),o=Vt(t),r=Rn(e,s&&vb(t));let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(s||!s&&n!=="fixed")if((wt(t)!=="body"||Qr(o))&&(i=Jr(t)),kt(t)){const c=Rn(t,!0);a.x=c.x+t.clientLeft,a.y=c.y+t.clientTop}else o&&(a.x=ef(o));return{x:r.left+i.scrollLeft-a.x,y:r.top+i.scrollTop-a.y,width:r.width,height:r.height}}function Xr(e){return wt(e)==="html"?e:e.assignedSlot||e.parentNode||(Yu(e)?e.host:null)||Vt(e)}function Pl(e){return!kt(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function kb(e){let t=Xr(e);for(;kt(t)&&!["html","body"].includes(wt(t));){if(Zu(t))return t;t=t.parentNode}return null}function ri(e){const t=zt(e);let n=Pl(e);for(;n&&bb(n)&&getComputedStyle(n).position==="static";)n=Pl(n);return n&&(wt(n)==="html"||wt(n)==="body"&&getComputedStyle(n).position==="static"&&!Zu(n))?t:n||kb(e)||t}function Tl(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Pb(e){let{rect:t,offsetParent:n,strategy:s}=e;const o=kt(n),r=Vt(n);if(n===r)return t;let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((o||!o&&s!=="fixed")&&((wt(n)!=="body"||Qr(r))&&(i=Jr(n)),kt(n))){const c=Rn(n,!0);a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{...t,x:t.x-i.scrollLeft+a.x,y:t.y-i.scrollTop+a.y}}function Tb(e){const t=zt(e),n=Vt(e),s=t.visualViewport;let o=n.clientWidth,r=n.clientHeight,i=0,a=0;return s&&(o=s.width,r=s.height,Math.abs(t.innerWidth/s.scale-s.width)<.01&&(i=s.offsetLeft,a=s.offsetTop)),{width:o,height:r,x:i,y:a}}function Sb(e){var t;const n=Vt(e),s=Jr(e),o=(t=e.ownerDocument)==null?void 0:t.body,r=gs(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=gs(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let a=-s.scrollLeft+ef(e);const c=-s.scrollTop;return Kr(o||n).direction==="rtl"&&(a+=gs(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:c}}function tf(e){return["html","body","#document"].includes(wt(e))?e.ownerDocument.body:kt(e)&&Qr(e)?e:tf(Xr(e))}function Sr(e,t){var n;t===void 0&&(t=[]);const s=tf(e),o=s===((n=e.ownerDocument)==null?void 0:n.body),r=zt(s),i=o?[r].concat(r.visualViewport||[],Qr(s)?s:[]):s,a=t.concat(i);return o?a:a.concat(Sr(Xr(i)))}function Eb(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Yu(n)){let s=t;do{if(s&&e===s)return!0;s=s.parentNode||s.host}while(s)}return!1}function Ab(e){const t=Rn(e),n=t.top+e.clientTop,s=t.left+e.clientLeft;return{top:n,left:s,x:s,y:n,right:s+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function Sl(e,t){return t==="viewport"?ti(Tb(e)):Pr(t)?Ab(t):ti(Sb(Vt(e)))}function xb(e){const t=Sr(Xr(e)),s=["absolute","fixed"].includes(Kr(e).position)&&kt(e)?ri(e):e;return Pr(s)?t.filter(o=>Pr(o)&&Eb(o,s)&&wt(o)!=="body"):[]}function Lb(e){let{element:t,boundary:n,rootBoundary:s}=e;const r=[...n==="clippingParents"?xb(t):[].concat(n),s],i=r[0],a=r.reduce((c,l)=>{const p=Sl(t,l);return c.top=gs(p.top,c.top),c.right=kl(p.right,c.right),c.bottom=kl(p.bottom,c.bottom),c.left=gs(p.left,c.left),c},Sl(t,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}const Rb={getElementRects:e=>{let{reference:t,floating:n,strategy:s}=e;return{reference:wb(t,ri(n),s),floating:{...Tl(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>Pb(e),getOffsetParent:e=>{let{element:t}=e;return ri(t)},isElement:e=>Pr(e),getDocumentElement:e=>{let{element:t}=e;return Vt(t)},getClippingClientRect:e=>Lb(e),getDimensions:e=>{let{element:t}=e;return Tl(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},Ob=(e,t,n)=>tb(e,t,{platform:Rb,...n});var $b=Object.defineProperty,Nb=Object.defineProperties,Cb=Object.getOwnPropertyDescriptors,El=Object.getOwnPropertySymbols,jb=Object.prototype.hasOwnProperty,Ib=Object.prototype.propertyIsEnumerable,Al=(e,t,n)=>t in e?$b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_t=(e,t)=>{for(var n in t||(t={}))jb.call(t,n)&&Al(e,n,t[n]);if(El)for(var n of El(t))Ib.call(t,n)&&Al(e,n,t[n]);return e},Hs=(e,t)=>Nb(e,Cb(t));function nf(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?nf(e[n],t[n]):e[n]=t[n])}const yt={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 On(e,t){let n=yt.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=yt.themes[n.$extend]||{}:(n=null,s=yt[t]):n=null;while(n);return s}function Mb(e){const t=[e];let n=yt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=yt.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function xl(e){const t=[e];let n=yt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=yt.themes[n.$extend]||{}):n=null;while(n);return t}let ln=!1;if(typeof window<"u"){ln=!1;try{const e=Object.defineProperty({},"passive",{get(){ln=!0}});window.addEventListener("test",null,e)}catch{}}let sf=!1;typeof window<"u"&&typeof navigator<"u"&&(sf=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const rf=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Ll={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},Rl={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function Ol(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function wo(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const tt=[];let Jt=null;const $l={};function Nl(e){let t=$l[e];return t||(t=$l[e]=[]),t}let oi=function(){};typeof window<"u"&&(oi=window.Element);function pe(e){return function(t){return On(t.theme,e)}}const ko="__floating-vue__popper";var of=()=>Oe({name:"VPopper",provide(){return{[ko]:{parentPopper:this}}},inject:{[ko]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:pe("disabled")},positioningDisabled:{type:Boolean,default:pe("positioningDisabled")},placement:{type:String,default:pe("placement"),validator:e=>rf.includes(e)},delay:{type:[String,Number,Object],default:pe("delay")},distance:{type:[Number,String],default:pe("distance")},skidding:{type:[Number,String],default:pe("skidding")},triggers:{type:Array,default:pe("triggers")},showTriggers:{type:[Array,Function],default:pe("showTriggers")},hideTriggers:{type:[Array,Function],default:pe("hideTriggers")},popperTriggers:{type:Array,default:pe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:pe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:pe("popperHideTriggers")},container:{type:[String,Object,oi,Boolean],default:pe("container")},boundary:{type:[String,oi],default:pe("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:pe("strategy")},autoHide:{type:[Boolean,Function],default:pe("autoHide")},handleResize:{type:Boolean,default:pe("handleResize")},instantMove:{type:Boolean,default:pe("instantMove")},eagerMount:{type:Boolean,default:pe("eagerMount")},popperClass:{type:[String,Array,Object],default:pe("popperClass")},computeTransformOrigin:{type:Boolean,default:pe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:pe("autoMinSize")},autoSize:{type:[Boolean,String],default:pe("autoSize")},autoMaxSize:{type:Boolean,default:pe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:pe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:pe("preventOverflow")},overflowPadding:{type:[Number,String],default:pe("overflowPadding")},arrowPadding:{type:[Number,String],default:pe("arrowPadding")},arrowOverflow:{type:Boolean,default:pe("arrowOverflow")},flip:{type:Boolean,default:pe("flip")},shift:{type:Boolean,default:pe("shift")},shiftCrossAxis:{type:Boolean,default:pe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:pe("noAutoFocus")}},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:Hs(_t({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ko])==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:_t(_t({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 s,o;(s=this.parentPopper)!=null&&s.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.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,t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=(t=(e=this.referenceNode)==null?void 0:e.call(this))!=null?t:this.$el,this.$_targetNodes=this.targetNodes().filter(n=>n.nodeType===n.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(){var e;if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(hb({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?t.middleware.push(ub({alignment:(e=this.placement.split("-")[1])!=null?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(gb({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&t.middleware.push(db({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(rb({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:o,rects:r,middlewareData:i})=>{let a;const{centerOffset:c}=i.arrow;return o.startsWith("top")||o.startsWith("bottom")?a=Math.abs(c)>r.reference.width/2:a=Math.abs(c)>r.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const o=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:r,placement:i,middlewareData:a})=>{var c;if((c=a.autoSize)!=null&&c.skip)return{};let l,p;return i.startsWith("top")||i.startsWith("bottom")?l=r.reference.width:p=r.reference.height,this.$_innerNode.style[o==="min"?"minWidth":o==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[o==="min"?"minHeight":o==="max"?"maxHeight":"height"]=p!=null?`${p}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(_b({boundary:this.boundary,padding:this.overflowPadding,apply:({width:o,height:r})=>{this.$_innerNode.style.maxWidth=o!=null?`${o}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const s=await Ob(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:s.x,y:s.y,placement:s.placement,strategy:s.strategy,arrow:_t(_t({},s.middlewareData.arrow),s.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Jt&&this.instantMove&&Jt.instantMove&&Jt!==this.parentPopper){Jt.$_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&&(Jt=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 wo(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Sr(this.$_referenceNode),...Sr(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"),s=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(s.left+n.offsetLeft),r=t.y+t.height/2-(s.top+n.offsetTop);this.result.transformOrigin=`${o}px ${r}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<tt.length;n++)t=tt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}tt.push(this),document.body.classList.add("v-popper--some-open");for(const t of xl(this.theme))Nl(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 wo(),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,Ol(tt,this),tt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of xl(this.theme)){const s=Nl(n);Ol(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Jt===this&&(Jt=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=On(this.theme,"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 wo(),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,Ll,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ll,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Rl,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Rl,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(s=>s.addEventListener(t,n,ln?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,s,o){let r=n;s!=null&&(r=typeof s=="function"?s(r):s),r.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:s,eventType:o,handler:r}=n;!e||e===o?s.forEach(i=>i.removeEventListener(o,r)):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 s=n.getAttribute(e);s&&(n.removeAttribute(e),n.setAttribute(t,s))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const s=e[n];s==null?t.removeAttribute(n):t.setAttribute(n,s)}},$_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(_s>=e.left&&_s<=e.right&&ys>=e.top&&ys<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=_s-Ct,s=ys-jt,r=t.left+t.width/2-Ct+(t.top+t.height/2)-jt+t.width+t.height,i=Ct+n*r,a=jt+s*r;return Xs(Ct,jt,i,a,t.left,t.top,t.left,t.bottom)||Xs(Ct,jt,i,a,t.left,t.top,t.right,t.top)||Xs(Ct,jt,i,a,t.right,t.top,t.right,t.bottom)||Xs(Ct,jt,i,a,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(sf?(document.addEventListener("touchstart",Cl,ln?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Hb,ln?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Cl,!0),window.addEventListener("click",Bb,!0)),window.addEventListener("resize",Ub));function Cl(e){for(let t=0;t<tt.length;t++){const n=tt[t];try{const s=n.popperNode();n.$_mouseDownContains=s.contains(e.target)}catch{}}}function Bb(e){af(e)}function Hb(e){af(e,!0)}function af(e,t=!1){const n={};for(let s=tt.length-1;s>=0;s--){const o=tt[s];try{const r=o.$_containsGlobalTarget=Db(o,e);o.$_pendingHide=!1,requestAnimationFrame(()=>{if(o.$_pendingHide=!1,!n[o.randomId]&&jl(o,r,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let a=o.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=o.parentPopper;for(;i&&jl(i,i.$_containsGlobalTarget,e);){i.$_handleGlobalClose(e,t);i=i.parentPopper}}})}catch{}}}function Db(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function jl(e,t,n){return n.closeAllPopover||n.closePopover&&t||Fb(e,n)&&!t}function Fb(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Ub(e){for(let t=0;t<tt.length;t++)tt[t].$_computePosition(e)}let Ct=0,jt=0,_s=0,ys=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Ct=_s,jt=ys,_s=e.clientX,ys=e.clientY},ln?{passive:!0}:void 0);function Xs(e,t,n,s,o,r,i,a){const c=((i-o)*(t-r)-(a-r)*(e-o))/((a-r)*(n-e)-(i-o)*(s-t)),l=((n-e)*(t-r)-(s-t)*(e-o))/((a-r)*(n-e)-(i-o)*(s-t));return c>=0&&c<=1&&l>=0&&l<=1}var Yr=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n};const Wb={extends:of()};function Gb(e,t,n,s,o,r){return xe(),ct("div",{ref:"reference",class:Pt(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[ur(e.$slots,"default",Uf(Yc(e.slotData)))],2)}var zb=Yr(Wb,[["render",Gb]]);function Vb(){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 s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let er;function ii(){ii.init||(ii.init=!0,er=Vb()!==-1)}var Zr={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ii(),Tt(()=>{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",er&&this.$el.appendChild(e),e.data="about:blank",er||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&&(!er&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const qb=qd();zd("data-v-b329ee4c");const Kb={class:"resize-observer",tabindex:"-1"};Vd();const Qb=qb((e,t,n,s,o,r)=>(xe(),lt("div",Kb)));Zr.render=Qb;Zr.__scopeId="data-v-b329ee4c";Zr.__file="src/components/ResizeObserver.vue";var lf=(e="theme")=>({computed:{themeClass(){return Mb(this[e])}}});const Jb=Oe({name:"VPopperContent",components:{ResizeObserver:Zr},mixins:[lf()],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}}}),Xb=["id","aria-hidden","tabindex","data-popper-placement"],Yb={ref:"inner",class:"v-popper__inner"},Zb=mt("div",{class:"v-popper__arrow-outer"},null,-1),ev=mt("div",{class:"v-popper__arrow-inner"},null,-1),tv=[Zb,ev];function nv(e,t,n,s,o,r){const i=As("ResizeObserver");return xe(),ct("div",{id:e.popperId,ref:"popover",class:Pt(["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:nn(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]=bh(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[mt("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),mt("div",{class:"v-popper__wrapper",style:nn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[mt("div",Yb,[e.mounted?(xe(),ct(je,{key:0},[mt("div",null,[ur(e.$slots,"default")]),e.handleResize?(xe(),lt(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):hr("",!0)],64)):hr("",!0)],512),mt("div",{ref:"arrow",class:"v-popper__arrow-container",style:nn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},tv,4)],4)],46,Xb)}var cf=Yr(Jb,[["render",nv]]),uf={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)}}};const sv=Oe({name:"VPopperWrapper",components:{Popper:zb,PopperContent:cf},mixins:[uf,lf("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){var e;return(e=this.theme)!=null?e:this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function rv(e,t,n,s,o,r){const i=As("PopperContent"),a=As("Popper");return xe(),lt(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Pt([e.themeClass])},{default:Ut(({popperId:c,isShown:l,shouldMountContent:p,skipTransition:f,autoHide:d,show:k,hide:m,handleResize:T,onResize:S,classes:g,result:h})=>[ur(e.$slots,"default",{shown:l,show:k,hide:m}),be(i,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:l,mounted:p,"skip-transition":f,"auto-hide":d,"handle-resize":T,classes:g,result:h,onHide:m,onResize:S},{default:Ut(()=>[ur(e.$slots,"popper",{shown:l,hide:m})]),_: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"])}var Gi=Yr(sv,[["render",rv]]);const ov=Oe(Hs(_t({},Gi),{name:"VDropdown",vPopperTheme:"dropdown"})),iv=Oe(Hs(_t({},Gi),{name:"VMenu",vPopperTheme:"menu"})),av=Oe(Hs(_t({},Gi),{name:"VTooltip",vPopperTheme:"tooltip"})),lv=Oe({name:"VTooltipDirective",components:{Popper:of(),PopperContent:cf},mixins:[uf],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>On(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>On(e.theme,"loadingContent")}},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(s=>this.onResult(t,s)):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}}}),cv=["innerHTML"],uv=["textContent"];function fv(e,t,n,s,o,r){const i=As("PopperContent"),a=As("Popper");return xe(),lt(a,Zc({ref:"popper"},e.$attrs,{theme:e.theme,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:Ut(({popperId:c,isShown:l,shouldMountContent:p,skipTransition:f,autoHide:d,hide:k,handleResize:m,onResize:T,classes:S,result:g})=>[be(i,{ref:"popperContent",class:Pt({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:l,mounted:p,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:S,result:g,onHide:k,onResize:T},{default:Ut(()=>[e.html?(xe(),ct("div",{key:0,innerHTML:e.finalContent},null,8,cv)):(xe(),ct("div",{key:1,textContent:Vf(e.finalContent)},null,8,uv))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","popper-node","onApplyShow","onApplyHide"])}var dv=Yr(lv,[["render",fv]]);const ff="v-popper--has-tooltip";function pv(e,t){let n=e.placement;if(!n&&t)for(const s of rf)t[s]&&(n=s);return n||(n=On(e.theme||"tooltip","placement")),n}function df(e,t,n){let s;const o=typeof t;return o==="string"?s={content:t}:t&&o==="object"?s=t:s={content:!1},s.placement=pv(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let Po,Os,hv=0;function mv(){if(Po)return;Os=_e([]),Po=ou({name:"VTooltipDirectiveApp",setup(){return{directives:Os}},render(){return this.directives.map(t=>qe(dv,Hs(_t({},t.options),{shown:t.shown||t.options.shown,key:t.id})))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Po.mount(e)}function gv(e,t,n){mv();const s=_e(df(e,t,n)),o=_e(!1),r={id:hv++,options:s,shown:o};return Os.value.push(r),e.classList&&e.classList.add(ff),e.$_popper={options:s,item:r,show(){o.value=!0},hide(){o.value=!1}}}function pf(e){if(e.$_popper){const t=Os.value.indexOf(e.$_popper.item);t!==-1&&Os.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(ff)}function Il(e,{value:t,modifiers:n}){const s=df(e,t,n);if(!s.content||On(s.theme||"tooltip","disabled"))pf(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=s):o=gv(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}var _v={beforeMount:Il,updated:Il,beforeUnmount(e){pf(e)}};function Ml(e){e.addEventListener("click",hf),e.addEventListener("touchstart",mf,ln?{passive:!0}:!1)}function Bl(e){e.removeEventListener("click",hf),e.removeEventListener("touchstart",mf),e.removeEventListener("touchend",gf),e.removeEventListener("touchcancel",_f)}function hf(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function mf(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",gf),t.addEventListener("touchcancel",_f)}}function gf(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],s=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-s.screenY)<20&&Math.abs(n.screenX-s.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function _f(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var yv={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Ml(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?Ml(e):Bl(e))},beforeUnmount(e){Bl(e)}};function bv(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,nf(yt,t),e.directive("tooltip",_v),e.directive("close-popper",yv),e.component("VTooltip",av),e.component("VDropdown",ov),e.component("VMenu",iv))}const vv={version:"2.0.0-beta.20",install:bv,options:yt},wv=At(e=>{e.vueApp.use(vv)}),yf=()=>Ms("color-mode").value,kv=6e4,bf=e=>e,Pv=bf;function Tv(e,t){const{post:n,on:s,eventNames:o=[],serialize:r=bf,deserialize:i=Pv,timeout:a=kv}=t,c=new Map;let l;const p=new Proxy({},{get(f,d){const k=(...T)=>{n(r({m:d,a:T,t:"q"}))};if(o.includes(d))return k.asEvent=k,k;const m=async(...T)=>(await l,new Promise((S,g)=>{const h=Ev();c.set(h,{resolve:S,reject:g}),n(r({m:d,a:T,i:h,t:"q"})),a>=0&&setTimeout(()=>{g(new Error(`[birpc] timeout on calling "${d}"`)),c.delete(h)},a)}));return m.asEvent=k,m}});return l=s(async(f,...d)=>{const k=i(f);if(k.t==="q"){const{m,a:T}=k;let S,g;try{S=await e[m].apply(p,T)}catch(h){g=h}k.i&&n(r({t:"s",i:k.i,r:S,e:g}),...d)}else{const{i:m,r:T,e:S}=k,g=c.get(m);g&&(S?g.reject(S):g.resolve(T)),c.delete(m)}}),p}const Sv="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function Ev(e=21){let t="",n=e;for(;n--;)t+=Sv[Math.random()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:Av,stringify:xv}=JSON,{keys:Lv}=Object,$s=String,vf="string",Hl={},Er="object",wf=(e,t)=>t,Rv=e=>e instanceof $s?$s(e):e,Ov=(e,t)=>typeof t===vf?new $s(t):t,kf=(e,t,n,s)=>{const o=[];for(let r=Lv(n),{length:i}=r,a=0;a<i;a++){const c=r[a],l=n[c];if(l instanceof $s){const p=e[l];typeof p===Er&&!t.has(p)?(t.add(p),n[c]=Hl,o.push({k:c,a:[e,t,p,s]})):n[c]=s.call(n,c,p)}else n[c]!==Hl&&(n[c]=s.call(n,c,l))}for(let{length:r}=o,i=0;i<r;i++){const{k:a,a:c}=o[i];n[a]=s.call(n,a,kf.apply(null,c))}return n},Dl=(e,t,n)=>{const s=$s(t.push(n)-1);return e.set(n,s),s},$v=(e,t)=>{const n=Av(e,Ov).map(Rv),s=n[0],o=t||wf,r=typeof s===Er&&s?kf(n,new Set,s,o):s;return o.call({"":r},"",r)},Nv=(e,t,n)=>{const s=t&&typeof t===Er?(p,f)=>p===""||-1<t.indexOf(p)?f:void 0:t||wf,o=new Map,r=[],i=[];let a=+Dl(o,r,s.call({"":e},"",e)),c=!a;for(;a<r.length;)c=!0,i[a]=xv(r[a++],l,n);return"["+i.join(",")+"]";function l(p,f){if(c)return c=!c,f;const d=s.call(this,p,f);switch(typeof d){case Er:if(d===null)return d;case vf:return o.get(d)||Dl(o,r,d)}return d}},Cv=2e3,bs=_e(!0),Ar=_e();let Pf=Af(),Tf=()=>{};const Sf={refresh(){}},Ef=Tv(Sf,{post:async e=>{(await Pf).send(e)},on:e=>{Tf=e},serialize:Nv,deserialize:$v});async function Af(){const e=new URL("ws://host/__nuxt_devtools__/entry");e.protocol=location.protocol==="https:"?"wss:":"ws:",e.host=location.host;const t=new WebSocket(e.toString());return t.addEventListener("message",n=>Tf(String(n.data))),t.addEventListener("error",n=>{console.error(n),Ar.value=n}),t.addEventListener("close",()=>{console.log("[nuxt-devtools] WebSocket closed, reconnecting..."),bs.value=!0,setTimeout(async()=>{Pf=Af()},Cv)}),bs.value=!0,t.readyState!==WebSocket.OPEN&&await new Promise(n=>t.addEventListener("open",n)),console.log("[nuxt-devtools] WebSocket connected."),bs.value=!1,Ar.value=null,t}const ai=_e();let Fl;function jv(){Fl||(Fl=(async()=>{const{default:e}=await ke(()=>import("./index.a6656ecb.js").then(t=>t.i),[],import.meta.url);ai.value=new e({html:!0,linkify:!0,breaks:!0})})())}function Iv(e){return jv(),ai.value?ai.value.render(e):e}var xf=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},vs={},Mv={get exports(){return vs},set exports(e){vs=e}};(function(e,t){(function(n,s){e.exports=s()})(xf,()=>{return n={770:function(o,r,i){var a=this&&this.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(r,"__esModule",{value:!0}),r.setDefaultDebugCall=r.createOnigScanner=r.createOnigString=r.loadWASM=r.OnigScanner=r.OnigString=void 0;const c=a(i(418));let l=null,p=!1;class f{static _utf8ByteLength(g){let h=0;for(let _=0,P=g.length;_<P;_++){const w=g.charCodeAt(_);let u=w,v=!1;if(w>=55296&&w<=56319&&_+1<P){const y=g.charCodeAt(_+1);y>=56320&&y<=57343&&(u=65536+(w-55296<<10)|y-56320,v=!0)}h+=u<=127?1:u<=2047?2:u<=65535?3:4,v&&_++}return h}constructor(g){const h=g.length,_=f._utf8ByteLength(g),P=_!==h,w=P?new Uint32Array(h+1):null;P&&(w[h]=_);const u=P?new Uint32Array(_+1):null;P&&(u[_]=h);const v=new Uint8Array(_);let y=0;for(let b=0;b<h;b++){const E=g.charCodeAt(b);let L=E,x=!1;if(E>=55296&&E<=56319&&b+1<h){const $=g.charCodeAt(b+1);$>=56320&&$<=57343&&(L=65536+(E-55296<<10)|$-56320,x=!0)}P&&(w[b]=y,x&&(w[b+1]=y),L<=127?u[y+0]=b:L<=2047?(u[y+0]=b,u[y+1]=b):L<=65535?(u[y+0]=b,u[y+1]=b,u[y+2]=b):(u[y+0]=b,u[y+1]=b,u[y+2]=b,u[y+3]=b)),L<=127?v[y++]=L:L<=2047?(v[y++]=192|(1984&L)>>>6,v[y++]=128|(63&L)>>>0):L<=65535?(v[y++]=224|(61440&L)>>>12,v[y++]=128|(4032&L)>>>6,v[y++]=128|(63&L)>>>0):(v[y++]=240|(1835008&L)>>>18,v[y++]=128|(258048&L)>>>12,v[y++]=128|(4032&L)>>>6,v[y++]=128|(63&L)>>>0),x&&b++}this.utf16Length=h,this.utf8Length=_,this.utf16Value=g,this.utf8Value=v,this.utf16OffsetToUtf8=w,this.utf8OffsetToUtf16=u}createString(g){const h=g._omalloc(this.utf8Length);return g.HEAPU8.set(this.utf8Value,h),h}}class d{constructor(g){if(this.id=++d.LAST_ID,!l)throw new Error("Must invoke loadWASM first.");this._onigBinding=l,this.content=g;const h=new f(g);this.utf16Length=h.utf16Length,this.utf8Length=h.utf8Length,this.utf16OffsetToUtf8=h.utf16OffsetToUtf8,this.utf8OffsetToUtf16=h.utf8OffsetToUtf16,this.utf8Length<1e4&&!d._sharedPtrInUse?(d._sharedPtr||(d._sharedPtr=l._omalloc(1e4)),d._sharedPtrInUse=!0,l.HEAPU8.set(h.utf8Value,d._sharedPtr),this.ptr=d._sharedPtr):this.ptr=h.createString(l)}convertUtf8OffsetToUtf16(g){return this.utf8OffsetToUtf16?g<0?0:g>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[g]:g}convertUtf16OffsetToUtf8(g){return this.utf16OffsetToUtf8?g<0?0:g>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[g]:g}dispose(){this.ptr===d._sharedPtr?d._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}r.OnigString=d,d.LAST_ID=0,d._sharedPtr=0,d._sharedPtrInUse=!1;class k{constructor(g){if(!l)throw new Error("Must invoke loadWASM first.");const h=[],_=[];for(let v=0,y=g.length;v<y;v++){const b=new f(g[v]);h[v]=b.createString(l),_[v]=b.utf8Length}const P=l._omalloc(4*g.length);l.HEAPU32.set(h,P/4);const w=l._omalloc(4*g.length);l.HEAPU32.set(_,w/4);const u=l._createOnigScanner(P,w,g.length);for(let v=0,y=g.length;v<y;v++)l._ofree(h[v]);l._ofree(w),l._ofree(P),u===0&&function(v){throw new Error(v.UTF8ToString(v._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=u}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(g,h,_){let P=p,w=0;if(typeof _=="number"?(8&_&&(P=!0),w=_):typeof _=="boolean"&&(P=_),typeof g=="string"){g=new d(g);const u=this._findNextMatchSync(g,h,P,w);return g.dispose(),u}return this._findNextMatchSync(g,h,P,w)}_findNextMatchSync(g,h,_,P){const w=this._onigBinding;let u;if(u=_?w._findNextOnigScannerMatchDbg(this._ptr,g.id,g.ptr,g.utf8Length,g.convertUtf16OffsetToUtf8(h),P):w._findNextOnigScannerMatch(this._ptr,g.id,g.ptr,g.utf8Length,g.convertUtf16OffsetToUtf8(h),P),u===0)return null;const v=w.HEAPU32;let y=u/4;const b=v[y++],E=v[y++];let L=[];for(let x=0;x<E;x++){const $=g.convertUtf8OffsetToUtf16(v[y++]),N=g.convertUtf8OffsetToUtf16(v[y++]);L[x]={start:$,end:N,length:N-$}}return{index:b,captureIndices:L}}}r.OnigScanner=k;let m=!1,T=null;r.loadWASM=function(S){if(m)return T;let g,h,_,P;if(m=!0,function(w){return typeof w.instantiator=="function"}(S))g=S.instantiator,h=S.print;else{let w;(function(u){return u.data!==void 0})(S)?(w=S.data,h=S.print):w=S,g=function(u){return typeof Response<"u"&&u instanceof Response}(w)?typeof WebAssembly.instantiateStreaming=="function"?function(u){return v=>WebAssembly.instantiateStreaming(u,v)}(w):function(u){return async v=>{const y=await u.arrayBuffer();return WebAssembly.instantiate(y,v)}}(w):function(u){return v=>WebAssembly.instantiate(u,v)}(w)}return T=new Promise((w,u)=>{_=w,P=u}),function(w,u,v,y){(0,c.default)({print:u,instantiateWasm:(b,E)=>{if(typeof performance>"u"){const L=()=>Date.now();b.env.emscripten_get_now=L,b.wasi_snapshot_preview1.emscripten_get_now=L}return w(b).then(L=>E(L.instance),y),{}}}).then(b=>{l=b,v()})}(g,h,_,P),T},r.createOnigString=function(S){return new d(S)},r.createOnigScanner=function(S){return new k(S)},r.setDefaultDebugCall=function(S){p=S}},418:o=>{var r=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,c,l=(i=i||{})!==void 0?i:{};l.ready=new Promise(function(C,H){a=C,c=H});var p,f=Object.assign({},l),d=!1,k="";function m(C){return l.locateFile?l.locateFile(C,k):k+C}p=function(C){let H;return typeof readbuffer=="function"?new Uint8Array(readbuffer(C)):(H=read(C,"binary"),P(typeof H=="object"),H)},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 T,S,g=l.print||console.log.bind(console),h=l.printErr||console.warn.bind(console);Object.assign(l,f),f=null,l.arguments&&l.arguments,l.thisProgram&&l.thisProgram,l.quit&&l.quit,l.wasmBinary&&(T=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&I("no native wasm support detected");var _=!1;function P(C,H){C||I(H)}var w,u,v,y=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function b(C,H,J){for(var se=H+J,te=H;C[te]&&!(te>=se);)++te;if(te-H>16&&C.buffer&&y)return y.decode(C.subarray(H,te));for(var Z="";H<te;){var le=C[H++];if(128&le){var Re=63&C[H++];if((224&le)!=192){var We=63&C[H++];if((le=(240&le)==224?(15&le)<<12|Re<<6|We:(7&le)<<18|Re<<12|We<<6|63&C[H++])<65536)Z+=String.fromCharCode(le);else{var Hn=le-65536;Z+=String.fromCharCode(55296|Hn>>10,56320|1023&Hn)}}else Z+=String.fromCharCode((31&le)<<6|Re)}else Z+=String.fromCharCode(le)}return Z}function E(C,H){return C?b(u,C,H):""}function L(C){w=C,l.HEAP8=new Int8Array(C),l.HEAP16=new Int16Array(C),l.HEAP32=new Int32Array(C),l.HEAPU8=u=new Uint8Array(C),l.HEAPU16=new Uint16Array(C),l.HEAPU32=v=new Uint32Array(C),l.HEAPF32=new Float32Array(C),l.HEAPF64=new Float64Array(C)}l.INITIAL_MEMORY;var x=[],$=[],N=[];function G(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)Y(l.preRun.shift());R(x)}function V(){R($)}function ne(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)ge(l.postRun.shift());R(N)}function Y(C){x.unshift(C)}function re(C){$.unshift(C)}function ge(C){N.unshift(C)}var ue=0,ae=null;function fe(C){ue++,l.monitorRunDependencies&&l.monitorRunDependencies(ue)}function de(C){if(ue--,l.monitorRunDependencies&&l.monitorRunDependencies(ue),ue==0&&ae){var H=ae;ae=null,H()}}function I(C){l.onAbort&&l.onAbort(C),h(C="Aborted("+C+")"),_=!0,C+=". Build with -sASSERTIONS for more info.";var H=new WebAssembly.RuntimeError(C);throw c(H),H}var z,O,K="data:application/octet-stream;base64,";function Q(C){return C.startsWith(K)}function ce(C){try{if(C==z&&T)return new Uint8Array(T);if(p)return p(C);throw"both async and sync fetching of the wasm failed"}catch(H){I(H)}}function oe(){return T||!d||typeof fetch!="function"?Promise.resolve().then(function(){return ce(z)}):fetch(z,{credentials:"same-origin"}).then(function(C){if(!C.ok)throw"failed to load wasm binary file at '"+z+"'";return C.arrayBuffer()}).catch(function(){return ce(z)})}function A(){var C={env:D,wasi_snapshot_preview1:D};function H(te,Z){var le=te.exports;l.asm=le,L((S=l.asm.memory).buffer),l.asm.__indirect_function_table,re(l.asm.__wasm_call_ctors),de()}function J(te){H(te.instance)}function se(te){return oe().then(function(Z){return WebAssembly.instantiate(Z,C)}).then(function(Z){return Z}).then(te,function(Z){h("failed to asynchronously prepare wasm: "+Z),I(Z)})}if(fe(),l.instantiateWasm)try{return l.instantiateWasm(C,H)}catch(te){h("Module.instantiateWasm callback failed with error: "+te),c(te)}return(T||typeof WebAssembly.instantiateStreaming!="function"||Q(z)||typeof fetch!="function"?se(J):fetch(z,{credentials:"same-origin"}).then(function(te){return WebAssembly.instantiateStreaming(te,C).then(J,function(Z){return h("wasm streaming compile failed: "+Z),h("falling back to ArrayBuffer instantiation"),se(J)})})).catch(c),{}}function R(C){for(;C.length>0;)C.shift()(l)}function j(C,H,J){u.copyWithin(C,H,H+J)}function M(C){try{return S.grow(C-w.byteLength+65535>>>16),L(S.buffer),1}catch{}}function B(C){var H,J=u.length,se=2147483648;if((C>>>=0)>se)return!1;for(var te=1;te<=4;te*=2){var Z=J*(1+.2/te);if(Z=Math.min(Z,C+100663296),M(Math.min(se,(H=Math.max(C,Z))+(65536-H%65536)%65536)))return!0}return!1}Q(z="onig.wasm")||(z=m(z)),O=typeof dateNow<"u"?dateNow:()=>performance.now();var W=[null,[],[]];function q(C,H){var J=W[C];H===0||H===10?((C===1?g:h)(b(J,0)),J.length=0):J.push(H)}function F(C,H,J,se){for(var te=0,Z=0;Z<J;Z++){var le=v[H>>2],Re=v[H+4>>2];H+=8;for(var We=0;We<Re;We++)q(C,u[le+We]);te+=Re}return v[se>>2]=te,0}var U,D={emscripten_get_now:O,emscripten_memcpy_big:j,emscripten_resize_heap:B,fd_write:F};function X(C){function H(){U||(U=!0,l.calledRun=!0,_||(V(),a(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),ne()))}ue>0||(G(),ue>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),H()},1)):H()))}if(A(),l.___wasm_call_ctors=function(){return(l.___wasm_call_ctors=l.asm.__wasm_call_ctors).apply(null,arguments)},l.___errno_location=function(){return(l.___errno_location=l.asm.__errno_location).apply(null,arguments)},l._omalloc=function(){return(l._omalloc=l.asm.omalloc).apply(null,arguments)},l._ofree=function(){return(l._ofree=l.asm.ofree).apply(null,arguments)},l._getLastOnigError=function(){return(l._getLastOnigError=l.asm.getLastOnigError).apply(null,arguments)},l._createOnigScanner=function(){return(l._createOnigScanner=l.asm.createOnigScanner).apply(null,arguments)},l._freeOnigScanner=function(){return(l._freeOnigScanner=l.asm.freeOnigScanner).apply(null,arguments)},l._findNextOnigScannerMatch=function(){return(l._findNextOnigScannerMatch=l.asm.findNextOnigScannerMatch).apply(null,arguments)},l._findNextOnigScannerMatchDbg=function(){return(l._findNextOnigScannerMatchDbg=l.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},l.stackSave=function(){return(l.stackSave=l.asm.stackSave).apply(null,arguments)},l.stackRestore=function(){return(l.stackRestore=l.asm.stackRestore).apply(null,arguments)},l.stackAlloc=function(){return(l.stackAlloc=l.asm.stackAlloc).apply(null,arguments)},l.dynCall_jiji=function(){return(l.dynCall_jiji=l.asm.dynCall_jiji).apply(null,arguments)},l.UTF8ToString=E,ae=function C(){U||X(),U||(ae=C)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return X(),i.ready});o.exports=r}},s={},function o(r){var i=s[r];if(i!==void 0)return i.exports;var a=s[r]={exports:{}};return n[r].call(a.exports,a,a.exports,o),a.exports}(770);var n,s})})(Mv);var xr={},Bv={get exports(){return xr},set exports(e){xr=e}};(function(e,t){(function(n,s){e.exports=s()})(xf,function(){return(()=>{var n={350:(o,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.UseOnigurumaFindOptions=r.DebugFlags=void 0,r.DebugFlags={InDebugMode:typeof process<"u"&&!1},r.UseOnigurumaFindOptions=!1},36:(o,r)=>{var i;Object.defineProperty(r,"__esModule",{value:!0}),r.toOptionalTokenType=r.EncodedTokenAttributes=void 0,(i=r.EncodedTokenAttributes||(r.EncodedTokenAttributes={})).toBinaryStr=function(a){let c=a.toString(2);for(;c.length<32;)c="0"+c;return c},i.print=function(a){const c=i.getLanguageId(a),l=i.getTokenType(a),p=i.getFontStyle(a),f=i.getForeground(a),d=i.getBackground(a);console.log({languageId:c,tokenType:l,fontStyle:p,foreground:f,background:d})},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,c,l,p,f,d,k){let m=i.getLanguageId(a),T=i.getTokenType(a),S=i.containsBalancedBrackets(a)?1:0,g=i.getFontStyle(a),h=i.getForeground(a),_=i.getBackground(a);return c!==0&&(m=c),l!==8&&(T=l),p!==null&&(S=p?1:0),f!==-1&&(g=f),d!==0&&(h=d),k!==0&&(_=k),(m<<0|T<<8|S<<10|g<<11|h<<15|_<<24)>>>0},r.toOptionalTokenType=function(a){return a}},996:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.BasicScopeAttributesProvider=r.BasicScopeAttributes=void 0;const a=i(878);class c{constructor(d,k){this.languageId=d,this.tokenType=k}}r.BasicScopeAttributes=c;class l{constructor(d,k){this._getBasicScopeAttributes=new a.CachedFn(m=>{const T=this._scopeToLanguage(m),S=this._toStandardTokenType(m);return new c(T,S)}),this._defaultAttributes=new c(d,8),this._embeddedLanguagesMatcher=new p(Object.entries(k||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(d){return d===null?l._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(d)}_scopeToLanguage(d){return this._embeddedLanguagesMatcher.match(d)||0}_toStandardTokenType(d){const k=d.match(l.STANDARD_TOKEN_TYPE_REGEXP);if(!k)return 8;switch(k[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!")}}r.BasicScopeAttributesProvider=l,l._NULL_SCOPE_METADATA=new c(0,0),l.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class p{constructor(d){if(d.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(d);const k=d.map(([m,T])=>a.escapeRegExpCharacters(m));k.sort(),k.reverse(),this.scopesRegExp=new RegExp(`^((${k.join(")|(")}))($|\\.)`,"")}}match(d){if(!this.scopesRegExp)return;const k=d.match(this.scopesRegExp);return k?this.values.get(k[1]):void 0}}},947:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.LineTokens=r.BalancedBracketSelectors=r.StateStack=r.AttributedScopeStack=r.Grammar=r.createGrammar=void 0;const a=i(350),c=i(36),l=i(736),p=i(44),f=i(792),d=i(583),k=i(878),m=i(996),T=i(47);function S(y,b,E,L,x){const $=l.createMatchers(b,g),N=f.RuleFactory.getCompiledRuleId(E,L,x.repository);for(const G of $)y.push({debugSelector:b,matcher:G.matcher,ruleId:N,grammar:x,priority:G.priority})}function g(y,b){if(b.length<y.length)return!1;let E=0;return y.every(L=>{for(let x=E;x<b.length;x++)if(h(b[x],L))return E=x+1,!0;return!1})}function h(y,b){if(!y)return!1;if(y===b)return!0;const E=b.length;return y.length>E&&y.substr(0,E)===b&&y[E]==="."}r.createGrammar=function(y,b,E,L,x,$,N,G){return new _(y,b,E,L,x,$,N,G)};class _{constructor(b,E,L,x,$,N,G,V){if(this._rootScopeName=b,this.balancedBracketSelectors=N,this._onigLib=V,this._basicScopeAttributesProvider=new m.BasicScopeAttributesProvider(L,x),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=G,this._grammar=P(E,null),this._injections=null,this._tokenTypeMatchers=[],$)for(const ne of Object.keys($)){const Y=l.createMatchers(ne,g);for(const re of Y)this._tokenTypeMatchers.push({matcher:re.matcher,type:$[ne]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const b of this._ruleId2desc)b&&b.dispose()}createOnigScanner(b){return this._onigLib.createOnigScanner(b)}createOnigString(b){return this._onigLib.createOnigString(b)}getMetadataForScope(b){return this._basicScopeAttributesProvider.getBasicScopeAttributes(b)}_collectInjections(){const b=[],E=this._rootScopeName,L=(x=>x===this._rootScopeName?this._grammar:this.getExternalGrammar(x))(E);if(L){const x=L.injections;if(x)for(let N in x)S(b,N,x[N],this,L);const $=this._grammarRepository.injections(E);$&&$.forEach(N=>{const G=this.getExternalGrammar(N);if(G){const V=G.injectionSelector;V&&S(b,V,G,this,G)}})}return b.sort((x,$)=>x.priority-$.priority),b}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 b of this._injections)console.log(` - ${b.debugSelector}`)}return this._injections}registerRule(b){const E=++this._lastRuleId,L=b(f.ruleIdFromNumber(E));return this._ruleId2desc[E]=L,L}getRule(b){return this._ruleId2desc[f.ruleIdToNumber(b)]}getExternalGrammar(b,E){if(this._includedGrammars[b])return this._includedGrammars[b];if(this._grammarRepository){const L=this._grammarRepository.lookup(b);if(L)return this._includedGrammars[b]=P(L,E&&E.$base),this._includedGrammars[b]}}tokenizeLine(b,E,L=0){const x=this._tokenize(b,E,!1,L);return{tokens:x.lineTokens.getResult(x.ruleStack,x.lineLength),ruleStack:x.ruleStack,stoppedEarly:x.stoppedEarly}}tokenizeLine2(b,E,L=0){const x=this._tokenize(b,E,!0,L);return{tokens:x.lineTokens.getBinaryResult(x.ruleStack,x.lineLength),ruleStack:x.ruleStack,stoppedEarly:x.stoppedEarly}}_tokenize(b,E,L,x){let $;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),E&&E!==u.NULL)$=!1,E.reset();else{$=!0;const Y=this._basicScopeAttributesProvider.getDefaultAttributes(),re=this.themeProvider.getDefaults(),ge=c.EncodedTokenAttributes.set(0,Y.languageId,Y.tokenType,null,re.fontStyle,re.foregroundId,re.backgroundId),ue=this.getRule(this._rootId).getName(null,null);let ae;ae=ue?w.createRootAndLookUpScopeName(ue,ge,this):w.createRoot("unknown",ge),E=new u(null,this._rootId,-1,-1,!1,null,ae,ae)}b+=`
|
|
6
|
-
`;const N=this.createOnigString(b),G=N.content.length,V=new v(L,b,this._tokenTypeMatchers,this.balancedBracketSelectors),ne=T._tokenizeString(this,N,$,0,E,V,!0,x);return p.disposeOnigString(N),{lineLength:G,lineTokens:V,ruleStack:ne.stack,stoppedEarly:ne.stoppedEarly}}}function P(y,b){return(y=k.clone(y)).repository=y.repository||{},y.repository.$self={$vscodeTextmateLocation:y.$vscodeTextmateLocation,patterns:y.patterns,name:y.scopeName},y.repository.$base=b||y.repository.$self,y}r.Grammar=_;class w{constructor(b,E,L){this.parent=b,this.scopePath=E,this.tokenAttributes=L}static createRoot(b,E){return new w(null,new d.ScopeStack(null,b),E)}static createRootAndLookUpScopeName(b,E,L){const x=L.getMetadataForScope(b),$=new d.ScopeStack(null,b),N=L.themeProvider.themeMatch($),G=w.mergeAttributes(E,x,N);return new w(null,$,G)}get scopeName(){return this.scopePath.scopeName}equals(b){return w._equals(this,b)}static _equals(b,E){for(;;){if(b===E||!b&&!E)return!0;if(!b||!E||b.scopeName!==E.scopeName||b.tokenAttributes!==E.tokenAttributes)return!1;b=b.parent,E=E.parent}}static mergeAttributes(b,E,L){let x=-1,$=0,N=0;return L!==null&&(x=L.fontStyle,$=L.foregroundId,N=L.backgroundId),c.EncodedTokenAttributes.set(b,E.languageId,E.tokenType,null,x,$,N)}pushAttributed(b,E){if(b===null)return this;if(b.indexOf(" ")===-1)return w._pushAttributed(this,b,E);const L=b.split(/ /g);let x=this;for(const $ of L)x=w._pushAttributed(x,$,E);return x}static _pushAttributed(b,E,L){const x=L.getMetadataForScope(E),$=b.scopePath.push(E),N=L.themeProvider.themeMatch($),G=w.mergeAttributes(b.tokenAttributes,x,N);return new w(b,$,G)}getScopeNames(){return this.scopePath.getSegments()}}r.AttributedScopeStack=w;class u{constructor(b,E,L,x,$,N,G,V){this.parent=b,this.ruleId=E,this.beginRuleCapturedEOL=$,this.endRule=N,this.nameScopesList=G,this.contentNameScopesList=V,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=L,this._anchorPos=x}equals(b){return b!==null&&u._equals(this,b)}static _equals(b,E){return b===E||!!this._structuralEquals(b,E)&&b.contentNameScopesList.equals(E.contentNameScopesList)}static _structuralEquals(b,E){for(;;){if(b===E||!b&&!E)return!0;if(!b||!E||b.depth!==E.depth||b.ruleId!==E.ruleId||b.endRule!==E.endRule)return!1;b=b.parent,E=E.parent}}clone(){return this}static _reset(b){for(;b;)b._enterPos=-1,b._anchorPos=-1,b=b.parent}reset(){u._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(b,E,L,x,$,N,G){return new u(this,b,E,L,x,$,N,G)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(b){return b.getRule(this.ruleId)}toString(){const b=[];return this._writeString(b,0),"["+b.join(",")+"]"}_writeString(b,E){return this.parent&&(E=this.parent._writeString(b,E)),b[E++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,E}withContentNameScopesList(b){return this.contentNameScopesList===b?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,b)}withEndRule(b){return this.endRule===b?this:new u(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,b,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(b){let E=this;for(;E&&E._enterPos===b._enterPos;){if(E.ruleId===b.ruleId)return!0;E=E.parent}return!1}}r.StateStack=u,u.NULL=new u(null,0,0,0,!1,null,null,null),r.BalancedBracketSelectors=class{constructor(y,b){this.allowAny=!1,this.balancedBracketScopes=y.flatMap(E=>E==="*"?(this.allowAny=!0,[]):l.createMatchers(E,g).map(L=>L.matcher)),this.unbalancedBracketScopes=b.flatMap(E=>l.createMatchers(E,g).map(L=>L.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(y){for(const b of this.unbalancedBracketScopes)if(b(y))return!1;for(const b of this.balancedBracketScopes)if(b(y))return!0;return this.allowAny}};class v{constructor(b,E,L,x){this.balancedBracketSelectors=x,this._emitBinaryTokens=b,this._tokenTypeOverrides=L,a.DebugFlags.InDebugMode?this._lineText=E:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(b,E){this.produceFromScopes(b.contentNameScopesList,E)}produceFromScopes(b,E){if(this._lastTokenEndIndex>=E)return;if(this._emitBinaryTokens){let x=b.tokenAttributes,$=!1;if(this.balancedBracketSelectors?.matchesAlways&&($=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const N=b.getScopeNames();for(const G of this._tokenTypeOverrides)G.matcher(N)&&(x=c.EncodedTokenAttributes.set(x,0,c.toOptionalTokenType(G.type),null,-1,0,0));this.balancedBracketSelectors&&($=this.balancedBracketSelectors.match(N))}if($&&(x=c.EncodedTokenAttributes.set(x,0,8,$,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===x)return void(this._lastTokenEndIndex=E);if(a.DebugFlags.InDebugMode){const N=b.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,E).replace(/\n$/,"\\n")+"|");for(let G=0;G<N.length;G++)console.log(" * "+N[G])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(x),void(this._lastTokenEndIndex=E)}const L=b.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,E).replace(/\n$/,"\\n")+"|");for(let x=0;x<L.length;x++)console.log(" * "+L[x])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:E,scopes:L}),this._lastTokenEndIndex=E}getResult(b,E){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===E-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(b,E),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(b,E){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===E-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(b,E),this._binaryTokens[this._binaryTokens.length-2]=0);const L=new Uint32Array(this._binaryTokens.length);for(let x=0,$=this._binaryTokens.length;x<$;x++)L[x]=this._binaryTokens[x];return L}}r.LineTokens=v},965:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.parseInclude=r.TopLevelRepositoryReference=r.TopLevelReference=r.RelativeReference=r.SelfReference=r.BaseReference=r.ScopeDependencyProcessor=r.ExternalReferenceCollector=r.TopLevelRepositoryRuleReference=r.TopLevelRuleReference=void 0;const a=i(878);class c{constructor(u){this.scopeName=u}toKey(){return this.scopeName}}r.TopLevelRuleReference=c;class l{constructor(u,v){this.scopeName=u,this.ruleName=v}toKey(){return`${this.scopeName}#${this.ruleName}`}}r.TopLevelRepositoryRuleReference=l;class p{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(u){const v=u.toKey();this._seenReferenceKeys.has(v)||(this._seenReferenceKeys.add(v),this._references.push(u))}}function f(w,u,v,y){const b=v.lookup(w.scopeName);if(!b){if(w.scopeName===u)throw new Error(`No grammar provided for <${u}>`);return}const E=v.lookup(u);w instanceof c?k({baseGrammar:E,selfGrammar:b},y):d(w.ruleName,{baseGrammar:E,selfGrammar:b,repository:b.repository},y);const L=v.injections(w.scopeName);if(L)for(const x of L)y.add(new c(x))}function d(w,u,v){u.repository&&u.repository[w]&&m([u.repository[w]],u,v)}function k(w,u){w.selfGrammar.patterns&&Array.isArray(w.selfGrammar.patterns)&&m(w.selfGrammar.patterns,{...w,repository:w.selfGrammar.repository},u),w.selfGrammar.injections&&m(Object.values(w.selfGrammar.injections),{...w,repository:w.selfGrammar.repository},u)}function m(w,u,v){for(const y of w){if(v.visitedRule.has(y))continue;v.visitedRule.add(y);const b=y.repository?a.mergeObjects({},u.repository,y.repository):u.repository;Array.isArray(y.patterns)&&m(y.patterns,{...u,repository:b},v);const E=y.include;if(!E)continue;const L=P(E);switch(L.kind){case 0:k({...u,selfGrammar:u.baseGrammar},v);break;case 1:k(u,v);break;case 2:d(L.ruleName,{...u,repository:b},v);break;case 3:case 4:const x=L.scopeName===u.selfGrammar.scopeName?u.selfGrammar:L.scopeName===u.baseGrammar.scopeName?u.baseGrammar:void 0;if(x){const $={baseGrammar:u.baseGrammar,selfGrammar:x,repository:b};L.kind===4?d(L.ruleName,$,v):k($,v)}else L.kind===4?v.add(new l(L.scopeName,L.ruleName)):v.add(new c(L.scopeName))}}}r.ExternalReferenceCollector=p,r.ScopeDependencyProcessor=class{constructor(w,u){this.repo=w,this.initialScopeName=u,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new c(this.initialScopeName)]}processQueue(){const w=this.Q;this.Q=[];const u=new p;for(const v of w)f(v,this.initialScopeName,this.repo,u);for(const v of u.references)if(v instanceof c){if(this.seenFullScopeRequests.has(v.scopeName))continue;this.seenFullScopeRequests.add(v.scopeName),this.Q.push(v)}else{if(this.seenFullScopeRequests.has(v.scopeName)||this.seenPartialScopeRequests.has(v.toKey()))continue;this.seenPartialScopeRequests.add(v.toKey()),this.Q.push(v)}}};class T{constructor(){this.kind=0}}r.BaseReference=T;class S{constructor(){this.kind=1}}r.SelfReference=S;class g{constructor(u){this.ruleName=u,this.kind=2}}r.RelativeReference=g;class h{constructor(u){this.scopeName=u,this.kind=3}}r.TopLevelReference=h;class _{constructor(u,v){this.scopeName=u,this.ruleName=v,this.kind=4}}function P(w){if(w==="$base")return new T;if(w==="$self")return new S;const u=w.indexOf("#");if(u===-1)return new h(w);if(u===0)return new g(w.substring(1));{const v=w.substring(0,u),y=w.substring(u+1);return new _(v,y)}}r.TopLevelRepositoryReference=_,r.parseInclude=P},391:function(o,r,i){var a=this&&this.__createBinding||(Object.create?function(l,p,f,d){d===void 0&&(d=f),Object.defineProperty(l,d,{enumerable:!0,get:function(){return p[f]}})}:function(l,p,f,d){d===void 0&&(d=f),l[d]=p[f]}),c=this&&this.__exportStar||function(l,p){for(var f in l)f==="default"||Object.prototype.hasOwnProperty.call(p,f)||a(p,l,f)};Object.defineProperty(r,"__esModule",{value:!0}),c(i(947),r)},47:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.LocalStackElement=r._tokenizeString=void 0;const a=i(350),c=i(44),l=i(792),p=i(878);class f{constructor(_,P){this.stack=_,this.stoppedEarly=P}}function d(h,_,P,w,u,v,y,b){const E=_.content.length;let L=!1,x=-1;if(y){const G=function(V,ne,Y,re,ge,ue){let ae=ge.beginRuleCapturedEOL?0:-1;const fe=[];for(let de=ge;de;de=de.pop()){const I=de.getRule(V);I instanceof l.BeginWhileRule&&fe.push({rule:I,stack:de})}for(let de=fe.pop();de;de=fe.pop()){const{ruleScanner:I,findOptions:z}=m(de.rule,V,de.stack.endRule,Y,re===ae),O=I.findNextMatchSync(ne,re,z);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(I.toString())),!O){a.DebugFlags.InDebugMode&&console.log(" popping "+de.rule.debugName+" - "+de.rule.debugWhileRegExp),ge=de.stack.pop();break}if(O.ruleId!==l.whileRuleId){ge=de.stack.pop();break}O.captureIndices&&O.captureIndices.length&&(ue.produce(de.stack,O.captureIndices[0].start),S(V,ne,Y,de.stack,ue,de.rule.whileCaptures,O.captureIndices),ue.produce(de.stack,O.captureIndices[0].end),ae=O.captureIndices[0].end,O.captureIndices[0].end>re&&(re=O.captureIndices[0].end,Y=!1))}return{stack:ge,linePos:re,anchorPosition:ae,isFirstLine:Y}}(h,_,P,w,u,v);u=G.stack,w=G.linePos,P=G.isFirstLine,x=G.anchorPosition}const $=Date.now();for(;!L;){if(b!==0&&Date.now()-$>b)return new f(u,!0);N()}return new f(u,!1);function N(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${w}: |${_.content.substr(w).replace(/\n$/,"\\n")}|`));const G=function(re,ge,ue,ae,fe,de){const I=function(ce,oe,A,R,j,M){const B=j.getRule(ce),{ruleScanner:W,findOptions:q}=k(B,ce,j.endRule,A,R===M);let F=0;a.DebugFlags.InDebugMode&&(F=p.performanceNow());const U=W.findNextMatchSync(oe,R,q);if(a.DebugFlags.InDebugMode){const D=p.performanceNow()-F;D>5&&console.warn(`Rule ${B.debugName} (${B.id}) matching took ${D} against '${oe}'`),console.log(` scanning for (linePos: ${R}, anchorPosition: ${M})`),console.log(W.toString()),U&&console.log(`matched rule id: ${U.ruleId} from ${U.captureIndices[0].start} to ${U.captureIndices[0].end}`)}return U?{captureIndices:U.captureIndices,matchedRuleId:U.ruleId}:null}(re,ge,ue,ae,fe,de),z=re.getInjections();if(z.length===0)return I;const O=function(ce,oe,A,R,j,M,B){let W,q=Number.MAX_VALUE,F=null,U=0;const D=M.contentNameScopesList.getScopeNames();for(let X=0,C=ce.length;X<C;X++){const H=ce[X];if(!H.matcher(D))continue;const J=oe.getRule(H.ruleId),{ruleScanner:se,findOptions:te}=k(J,oe,null,R,j===B),Z=se.findNextMatchSync(A,j,te);if(!Z)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${H.debugSelector}`),console.log(se.toString()));const le=Z.captureIndices[0].start;if(!(le>=q)&&(q=le,F=Z.captureIndices,W=Z.ruleId,U=H.priority,q===j))break}return F?{priorityMatch:U===-1,captureIndices:F,matchedRuleId:W}:null}(z,re,ge,ue,ae,fe,de);if(!O)return I;if(!I)return O;const K=I.captureIndices[0].start,Q=O.captureIndices[0].start;return Q<K||O.priorityMatch&&Q===K?O:I}(h,_,P,w,u,x);if(!G)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),v.produce(u,E),void(L=!0);const V=G.captureIndices,ne=G.matchedRuleId,Y=!!(V&&V.length>0)&&V[0].end>w;if(ne===l.endRuleId){const re=u.getRule(h);a.DebugFlags.InDebugMode&&console.log(" popping "+re.debugName+" - "+re.debugEndRegExp),v.produce(u,V[0].start),u=u.withContentNameScopesList(u.nameScopesList),S(h,_,P,u,v,re.endCaptures,V),v.produce(u,V[0].end);const ge=u;if(u=u.parent,x=ge.getAnchorPos(),!Y&&ge.getEnterPos()===w)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),u=ge,v.produce(u,E),void(L=!0)}else{const re=h.getRule(ne);v.produce(u,V[0].start);const ge=u,ue=re.getName(_.content,V),ae=u.contentNameScopesList.pushAttributed(ue,h);if(u=u.push(ne,w,x,V[0].end===E,null,ae,ae),re instanceof l.BeginEndRule){const fe=re;a.DebugFlags.InDebugMode&&console.log(" pushing "+fe.debugName+" - "+fe.debugBeginRegExp),S(h,_,P,u,v,fe.beginCaptures,V),v.produce(u,V[0].end),x=V[0].end;const de=fe.getContentName(_.content,V),I=ae.pushAttributed(de,h);if(u=u.withContentNameScopesList(I),fe.endHasBackReferences&&(u=u.withEndRule(fe.getEndWithResolvedBackReferences(_.content,V))),!Y&&ge.hasSameRuleAs(u))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),u=u.pop(),v.produce(u,E),void(L=!0)}else if(re instanceof l.BeginWhileRule){const fe=re;a.DebugFlags.InDebugMode&&console.log(" pushing "+fe.debugName),S(h,_,P,u,v,fe.beginCaptures,V),v.produce(u,V[0].end),x=V[0].end;const de=fe.getContentName(_.content,V),I=ae.pushAttributed(de,h);if(u=u.withContentNameScopesList(I),fe.whileHasBackReferences&&(u=u.withEndRule(fe.getWhileWithResolvedBackReferences(_.content,V))),!Y&&ge.hasSameRuleAs(u))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),u=u.pop(),v.produce(u,E),void(L=!0)}else{const fe=re;if(a.DebugFlags.InDebugMode&&console.log(" matched "+fe.debugName+" - "+fe.debugMatchRegExp),S(h,_,P,u,v,fe.captures,V),v.produce(u,V[0].end),u=u.pop(),!Y)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),u=u.safePop(),v.produce(u,E),void(L=!0)}}V[0].end>w&&(w=V[0].end,P=!1)}}function k(h,_,P,w,u){return a.UseOnigurumaFindOptions?{ruleScanner:h.compile(_,P),findOptions:T(w,u)}:{ruleScanner:h.compileAG(_,P,w,u),findOptions:0}}function m(h,_,P,w,u){return a.UseOnigurumaFindOptions?{ruleScanner:h.compileWhile(_,P),findOptions:T(w,u)}:{ruleScanner:h.compileWhileAG(_,P,w,u),findOptions:0}}function T(h,_){let P=0;return h||(P|=1),_||(P|=4),P}function S(h,_,P,w,u,v,y){if(v.length===0)return;const b=_.content,E=Math.min(v.length,y.length),L=[],x=y[0].end;for(let $=0;$<E;$++){const N=v[$];if(N===null)continue;const G=y[$];if(G.length===0)continue;if(G.start>x)break;for(;L.length>0&&L[L.length-1].endPos<=G.start;)u.produceFromScopes(L[L.length-1].scopes,L[L.length-1].endPos),L.pop();if(L.length>0?u.produceFromScopes(L[L.length-1].scopes,G.start):u.produce(w,G.start),N.retokenizeCapturedWithRuleId){const ne=N.getName(b,y),Y=w.contentNameScopesList.pushAttributed(ne,h),re=N.getContentName(b,y),ge=Y.pushAttributed(re,h),ue=w.push(N.retokenizeCapturedWithRuleId,G.start,-1,!1,null,Y,ge),ae=h.createOnigString(b.substring(0,G.end));d(h,ae,P&&G.start===0,G.start,ue,u,!1,0),c.disposeOnigString(ae);continue}const V=N.getName(b,y);if(V!==null){const ne=(L.length>0?L[L.length-1].scopes:w.contentNameScopesList).pushAttributed(V,h);L.push(new g(ne,G.end))}}for(;L.length>0;)u.produceFromScopes(L[L.length-1].scopes,L[L.length-1].endPos),L.pop()}r._tokenizeString=d;class g{constructor(_,P){this.scopes=_,this.endPos=P}}r.LocalStackElement=g},974:(o,r)=>{function i(p,f){throw new Error("Near offset "+p.pos+": "+f+" ~~~"+p.source.substr(p.pos,50)+"~~~")}Object.defineProperty(r,"__esModule",{value:!0}),r.parseJSON=void 0,r.parseJSON=function(p,f,d){let k=new a(p),m=new c,T=0,S=null,g=[],h=[];function _(){g.push(T),h.push(S)}function P(){T=g.pop(),S=h.pop()}function w(u){i(k,u)}for(;l(k,m);){if(T===0){if(S!==null&&w("too many constructs in root"),m.type===3){S={},d&&(S.$vscodeTextmateLocation=m.toLocation(f)),_(),T=1;continue}if(m.type===2){S=[],_(),T=4;continue}w("unexpected token in root")}if(T===2){if(m.type===5){P();continue}if(m.type===7){T=3;continue}w("expected , or }")}if(T===1||T===3){if(T===1&&m.type===5){P();continue}if(m.type===1){let u=m.value;if(l(k,m)&&m.type===6||w("expected colon"),l(k,m)||w("expected value"),T=2,m.type===1){S[u]=m.value;continue}if(m.type===8){S[u]=null;continue}if(m.type===9){S[u]=!0;continue}if(m.type===10){S[u]=!1;continue}if(m.type===11){S[u]=parseFloat(m.value);continue}if(m.type===2){let v=[];S[u]=v,_(),T=4,S=v;continue}if(m.type===3){let v={};d&&(v.$vscodeTextmateLocation=m.toLocation(f)),S[u]=v,_(),T=1,S=v;continue}}w("unexpected token in dict")}if(T===5){if(m.type===4){P();continue}if(m.type===7){T=6;continue}w("expected , or ]")}if(T===4||T===6){if(T===4&&m.type===4){P();continue}if(T=5,m.type===1){S.push(m.value);continue}if(m.type===8){S.push(null);continue}if(m.type===9){S.push(!0);continue}if(m.type===10){S.push(!1);continue}if(m.type===11){S.push(parseFloat(m.value));continue}if(m.type===2){let u=[];S.push(u),_(),T=4,S=u;continue}if(m.type===3){let u={};d&&(u.$vscodeTextmateLocation=m.toLocation(f)),S.push(u),_(),T=1,S=u;continue}w("unexpected token in array")}w("unknown state")}return h.length!==0&&w("unclosed constructs"),S};class a{constructor(f){this.source=f,this.pos=0,this.len=f.length,this.line=1,this.char=0}}class c{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(f){return{filename:f,line:this.line,char:this.char}}}function l(p,f){f.value=null,f.type=0,f.offset=-1,f.len=-1,f.line=-1,f.char=-1;let d,k=p.source,m=p.pos,T=p.len,S=p.line,g=p.char;for(;;){if(m>=T)return!1;if(d=k.charCodeAt(m),d!==32&&d!==9&&d!==13){if(d!==10)break;m++,S++,g=0}else m++,g++}if(f.offset=m,f.line=S,f.char=g,d===34){for(f.type=1,m++,g++;;){if(m>=T)return!1;if(d=k.charCodeAt(m),m++,g++,d!==92){if(d===34)break}else m++,g++}f.value=k.substring(f.offset+1,m-1).replace(/\\u([0-9A-Fa-f]{4})/g,(h,_)=>String.fromCodePoint(parseInt(_,16))).replace(/\\(.)/g,(h,_)=>{switch(_){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
|
|
7
|
-
`;case"r":return"\r";case"t":return" ";default:i(p,"invalid escape sequence")}throw new Error("unreachable")})}else if(d===91)f.type=2,m++,g++;else if(d===123)f.type=3,m++,g++;else if(d===93)f.type=4,m++,g++;else if(d===125)f.type=5,m++,g++;else if(d===58)f.type=6,m++,g++;else if(d===44)f.type=7,m++,g++;else if(d===110){if(f.type=8,m++,g++,d=k.charCodeAt(m),d!==117||(m++,g++,d=k.charCodeAt(m),d!==108)||(m++,g++,d=k.charCodeAt(m),d!==108))return!1;m++,g++}else if(d===116){if(f.type=9,m++,g++,d=k.charCodeAt(m),d!==114||(m++,g++,d=k.charCodeAt(m),d!==117)||(m++,g++,d=k.charCodeAt(m),d!==101))return!1;m++,g++}else if(d===102){if(f.type=10,m++,g++,d=k.charCodeAt(m),d!==97||(m++,g++,d=k.charCodeAt(m),d!==108)||(m++,g++,d=k.charCodeAt(m),d!==115)||(m++,g++,d=k.charCodeAt(m),d!==101))return!1;m++,g++}else for(f.type=11;;){if(m>=T)return!1;if(d=k.charCodeAt(m),!(d===46||d>=48&&d<=57||d===101||d===69||d===45||d===43))break;m++,g++}return f.len=m-f.offset,f.value===null&&(f.value=k.substr(f.offset,f.len)),p.pos=m,p.line=S,p.char=g,!0}},787:function(o,r,i){var a=this&&this.__createBinding||(Object.create?function(m,T,S,g){g===void 0&&(g=S),Object.defineProperty(m,g,{enumerable:!0,get:function(){return T[S]}})}:function(m,T,S,g){g===void 0&&(g=S),m[g]=T[S]}),c=this&&this.__exportStar||function(m,T){for(var S in m)S==="default"||Object.prototype.hasOwnProperty.call(T,S)||a(T,m,S)};Object.defineProperty(r,"__esModule",{value:!0}),r.parseRawGrammar=r.INITIAL=r.Registry=void 0;const l=i(391),p=i(50),f=i(652),d=i(583),k=i(965);c(i(44),r),r.Registry=class{constructor(m){this._options=m,this._syncRegistry=new f.SyncRegistry(d.Theme.createFromRawTheme(m.theme,m.colorMap),m.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(m,T){this._syncRegistry.setTheme(d.Theme.createFromRawTheme(m,T))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(m,T,S){return this.loadGrammarWithConfiguration(m,T,{embeddedLanguages:S})}loadGrammarWithConfiguration(m,T,S){return this._loadGrammar(m,T,S.embeddedLanguages,S.tokenTypes,new l.BalancedBracketSelectors(S.balancedBracketSelectors||[],S.unbalancedBracketSelectors||[]))}loadGrammar(m){return this._loadGrammar(m,0,null,null,null)}async _loadGrammar(m,T,S,g,h){const _=new k.ScopeDependencyProcessor(this._syncRegistry,m);for(;_.Q.length>0;)await Promise.all(_.Q.map(P=>this._loadSingleGrammar(P.scopeName))),_.processQueue();return this._grammarForScopeName(m,T,S,g,h)}async _loadSingleGrammar(m){return this._ensureGrammarCache.has(m)||this._ensureGrammarCache.set(m,this._doLoadSingleGrammar(m)),this._ensureGrammarCache.get(m)}async _doLoadSingleGrammar(m){const T=await this._options.loadGrammar(m);if(T){const S=typeof this._options.getInjections=="function"?this._options.getInjections(m):void 0;this._syncRegistry.addGrammar(T,S)}}async addGrammar(m,T=[],S=0,g=null){return this._syncRegistry.addGrammar(m,T),await this._grammarForScopeName(m.scopeName,S,g)}_grammarForScopeName(m,T=0,S=null,g=null,h=null){return this._syncRegistry.grammarForScopeName(m,T,S,g,h)}},r.INITIAL=l.StateStack.NULL,r.parseRawGrammar=p.parseRawGrammar},736:(o,r)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(r,"__esModule",{value:!0}),r.createMatchers=void 0,r.createMatchers=function(a,c){const l=[],p=function(m){let T=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,S=T.exec(m);return{next:()=>{if(!S)return null;const g=S[0];return S=T.exec(m),g}}}(a);let f=p.next();for(;f!==null;){let m=0;if(f.length===2&&f.charAt(1)===":"){switch(f.charAt(0)){case"R":m=1;break;case"L":m=-1;break;default:console.log(`Unknown priority ${f} in scope selector`)}f=p.next()}let T=k();if(l.push({matcher:T,priority:m}),f!==",")break;f=p.next()}return l;function d(){if(f==="-"){f=p.next();const m=d();return T=>!!m&&!m(T)}if(f==="("){f=p.next();const m=function(){const T=[];let S=k();for(;S&&(T.push(S),f==="|"||f===",");){do f=p.next();while(f==="|"||f===",");S=k()}return g=>T.some(h=>h(g))}();return f===")"&&(f=p.next()),m}if(i(f)){const m=[];do m.push(f),f=p.next();while(i(f));return T=>c(m,T)}return null}function k(){const m=[];let T=d();for(;T;)m.push(T),T=d();return S=>m.every(g=>g(S))}}},44:(o,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.disposeOnigString=void 0,r.disposeOnigString=function(i){typeof i.dispose=="function"&&i.dispose()}},50:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.parseRawGrammar=void 0;const a=i(69),c=i(350),l=i(974);r.parseRawGrammar=function(p,f=null){return f!==null&&/\.json$/.test(f)?(d=p,k=f,c.DebugFlags.InDebugMode?l.parseJSON(d,k,!0):JSON.parse(d)):function(m,T){return c.DebugFlags.InDebugMode?a.parseWithLocation(m,T,"$vscodeTextmateLocation"):a.parsePLIST(m)}(p,f);var d,k}},69:(o,r)=>{function i(a,c,l){const p=a.length;let f=0,d=1,k=0;function m(O){if(l===null)f+=O;else for(;O>0;)a.charCodeAt(f)===10?(f++,d++,k=0):(f++,k++),O--}function T(O){l===null?f=O:m(O-f)}function S(){for(;f<p;){let O=a.charCodeAt(f);if(O!==32&&O!==9&&O!==13&&O!==10)break;m(1)}}function g(O){return a.substr(f,O.length)===O&&(m(O.length),!0)}function h(O){let K=a.indexOf(O,f);T(K!==-1?K+O.length:p)}function _(O){let K=a.indexOf(O,f);if(K!==-1){let Q=a.substring(f,K);return T(K+O.length),Q}{let Q=a.substr(f);return T(p),Q}}p>0&&a.charCodeAt(0)===65279&&(f=1);let P=0,w=null,u=[],v=[],y=null;function b(O,K){u.push(P),v.push(w),P=O,w=K}function E(){if(u.length===0)return L("illegal state stack");P=u.pop(),w=v.pop()}function L(O){throw new Error("Near offset "+f+": "+O+" ~~~"+a.substr(f,50)+"~~~")}const x=function(){if(y===null)return L("missing <key>");let O={};l!==null&&(O[l]={filename:c,line:d,char:k}),w[y]=O,y=null,b(1,O)},$=function(){if(y===null)return L("missing <key>");let O=[];w[y]=O,y=null,b(2,O)},N=function(){let O={};l!==null&&(O[l]={filename:c,line:d,char:k}),w.push(O),b(1,O)},G=function(){let O=[];w.push(O),b(2,O)};function V(){if(P!==1)return L("unexpected </dict>");E()}function ne(){return P===1||P!==2?L("unexpected </array>"):void E()}function Y(O){if(P===1){if(y===null)return L("missing <key>");w[y]=O,y=null}else P===2?w.push(O):w=O}function re(O){if(isNaN(O))return L("cannot parse float");if(P===1){if(y===null)return L("missing <key>");w[y]=O,y=null}else P===2?w.push(O):w=O}function ge(O){if(isNaN(O))return L("cannot parse integer");if(P===1){if(y===null)return L("missing <key>");w[y]=O,y=null}else P===2?w.push(O):w=O}function ue(O){if(P===1){if(y===null)return L("missing <key>");w[y]=O,y=null}else P===2?w.push(O):w=O}function ae(O){if(P===1){if(y===null)return L("missing <key>");w[y]=O,y=null}else P===2?w.push(O):w=O}function fe(O){if(P===1){if(y===null)return L("missing <key>");w[y]=O,y=null}else P===2?w.push(O):w=O}function de(){let O=_(">"),K=!1;return O.charCodeAt(O.length-1)===47&&(K=!0,O=O.substring(0,O.length-1)),{name:O.trim(),isClosed:K}}function I(O){if(O.isClosed)return"";let K=_("</");return h(">"),K.replace(/&#([0-9]+);/g,function(Q,ce){return String.fromCodePoint(parseInt(ce,10))}).replace(/&#x([0-9a-f]+);/g,function(Q,ce){return String.fromCodePoint(parseInt(ce,16))}).replace(/&|<|>|"|'/g,function(Q){switch(Q){case"&":return"&";case"<":return"<";case">":return">";case""":return'"';case"'":return"'"}return Q})}for(;f<p&&(S(),!(f>=p));){const O=a.charCodeAt(f);if(m(1),O!==60)return L("expected <");if(f>=p)return L("unexpected end of input");const K=a.charCodeAt(f);if(K===63){m(1),h("?>");continue}if(K===33){if(m(1),g("--")){h("-->");continue}h(">");continue}if(K===47){if(m(1),S(),g("plist")){h(">");continue}if(g("dict")){h(">"),V();continue}if(g("array")){h(">"),ne();continue}return L("unexpected closed tag")}let Q=de();switch(Q.name){case"dict":P===1?x():P===2?N():(w={},l!==null&&(w[l]={filename:c,line:d,char:k}),b(1,w)),Q.isClosed&&V();continue;case"array":P===1?$():P===2?G():(w=[],b(2,w)),Q.isClosed&&ne();continue;case"key":z=I(Q),P!==1?L("unexpected <key>"):y!==null?L("too many <key>"):y=z;continue;case"string":Y(I(Q));continue;case"real":re(parseFloat(I(Q)));continue;case"integer":ge(parseInt(I(Q),10));continue;case"date":ue(new Date(I(Q)));continue;case"data":ae(I(Q));continue;case"true":I(Q),fe(!0);continue;case"false":I(Q),fe(!1);continue}if(!/^plist/.test(Q.name))return L("unexpected opened tag "+Q.name)}var z;return w}Object.defineProperty(r,"__esModule",{value:!0}),r.parsePLIST=r.parseWithLocation=void 0,r.parseWithLocation=function(a,c,l){return i(a,c,l)},r.parsePLIST=function(a){return i(a,null,null)}},652:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.SyncRegistry=void 0;const a=i(391);r.SyncRegistry=class{constructor(c,l){this._onigLibPromise=l,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=c}dispose(){for(const c of this._grammars.values())c.dispose()}setTheme(c){this._theme=c}getColorMap(){return this._theme.getColorMap()}addGrammar(c,l){this._rawGrammars.set(c.scopeName,c),l&&this._injectionGrammars.set(c.scopeName,l)}lookup(c){return this._rawGrammars.get(c)}injections(c){return this._injectionGrammars.get(c)}getDefaults(){return this._theme.getDefaults()}themeMatch(c){return this._theme.match(c)}async grammarForScopeName(c,l,p,f,d){if(!this._grammars.has(c)){let k=this._rawGrammars.get(c);if(!k)return null;this._grammars.set(c,a.createGrammar(c,k,l,p,f,d,this,await this._onigLibPromise))}return this._grammars.get(c)}}},792:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.CompiledRule=r.RegExpSourceList=r.RegExpSource=r.RuleFactory=r.BeginWhileRule=r.BeginEndRule=r.IncludeOnlyRule=r.MatchRule=r.CaptureRule=r.Rule=r.ruleIdToNumber=r.ruleIdFromNumber=r.whileRuleId=r.endRuleId=void 0;const a=i(878),c=i(965),l=/\\(\d+)/,p=/\\(\d+)/g;r.endRuleId=-1,r.whileRuleId=-2,r.ruleIdFromNumber=function(w){return w},r.ruleIdToNumber=function(w){return w};class f{constructor(u,v,y,b){this.$location=u,this.id=v,this._name=y||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=b||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const u=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${u}`}getName(u,v){return this._nameIsCapturing&&this._name!==null&&u!==null&&v!==null?a.RegexSource.replaceCaptures(this._name,u,v):this._name}getContentName(u,v){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,u,v):this._contentName}}r.Rule=f;class d extends f{constructor(u,v,y,b,E){super(u,v,y,b),this.retokenizeCapturedWithRuleId=E}dispose(){}collectPatterns(u,v){throw new Error("Not supported!")}compile(u,v){throw new Error("Not supported!")}compileAG(u,v,y,b){throw new Error("Not supported!")}}r.CaptureRule=d;class k extends f{constructor(u,v,y,b,E){super(u,v,y,null),this._match=new h(b,this.id),this.captures=E,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(u,v){v.push(this._match)}compile(u,v){return this._getCachedCompiledPatterns(u).compile(u)}compileAG(u,v,y,b){return this._getCachedCompiledPatterns(u).compileAG(u,y,b)}_getCachedCompiledPatterns(u){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new _,this.collectPatterns(u,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}r.MatchRule=k;class m extends f{constructor(u,v,y,b,E){super(u,v,y,b),this.patterns=E.patterns,this.hasMissingPatterns=E.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(u,v){for(const y of this.patterns)u.getRule(y).collectPatterns(u,v)}compile(u,v){return this._getCachedCompiledPatterns(u).compile(u)}compileAG(u,v,y,b){return this._getCachedCompiledPatterns(u).compileAG(u,y,b)}_getCachedCompiledPatterns(u){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new _,this.collectPatterns(u,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}r.IncludeOnlyRule=m;class T extends f{constructor(u,v,y,b,E,L,x,$,N,G){super(u,v,y,b),this._begin=new h(E,this.id),this.beginCaptures=L,this._end=new h(x||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=$,this.applyEndPatternLast=N||!1,this.patterns=G.patterns,this.hasMissingPatterns=G.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(u,v){return this._end.resolveBackReferences(u,v)}collectPatterns(u,v){v.push(this._begin)}compile(u,v){return this._getCachedCompiledPatterns(u,v).compile(u)}compileAG(u,v,y,b){return this._getCachedCompiledPatterns(u,v).compileAG(u,y,b)}_getCachedCompiledPatterns(u,v){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new _;for(const y of this.patterns)u.getRule(y).collectPatterns(u,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,v):this._cachedCompiledPatterns.setSource(0,v)),this._cachedCompiledPatterns}}r.BeginEndRule=T;class S extends f{constructor(u,v,y,b,E,L,x,$,N){super(u,v,y,b),this._begin=new h(E,this.id),this.beginCaptures=L,this.whileCaptures=$,this._while=new h(x,r.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=N.patterns,this.hasMissingPatterns=N.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(u,v){return this._while.resolveBackReferences(u,v)}collectPatterns(u,v){v.push(this._begin)}compile(u,v){return this._getCachedCompiledPatterns(u).compile(u)}compileAG(u,v,y,b){return this._getCachedCompiledPatterns(u).compileAG(u,y,b)}_getCachedCompiledPatterns(u){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new _;for(const v of this.patterns)u.getRule(v).collectPatterns(u,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(u,v){return this._getCachedCompiledWhilePatterns(u,v).compile(u)}compileWhileAG(u,v,y,b){return this._getCachedCompiledWhilePatterns(u,v).compileAG(u,y,b)}_getCachedCompiledWhilePatterns(u,v){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new _,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,v||""),this._cachedCompiledWhilePatterns}}r.BeginWhileRule=S;class g{static createCaptureRule(u,v,y,b,E){return u.registerRule(L=>new d(v,L,y,b,E))}static getCompiledRuleId(u,v,y){return u.id||v.registerRule(b=>{if(u.id=b,u.match)return new k(u.$vscodeTextmateLocation,u.id,u.name,u.match,g._compileCaptures(u.captures,v,y));if(u.begin===void 0){u.repository&&(y=a.mergeObjects({},y,u.repository));let E=u.patterns;return E===void 0&&u.include&&(E=[{include:u.include}]),new m(u.$vscodeTextmateLocation,u.id,u.name,u.contentName,g._compilePatterns(E,v,y))}return u.while?new S(u.$vscodeTextmateLocation,u.id,u.name,u.contentName,u.begin,g._compileCaptures(u.beginCaptures||u.captures,v,y),u.while,g._compileCaptures(u.whileCaptures||u.captures,v,y),g._compilePatterns(u.patterns,v,y)):new T(u.$vscodeTextmateLocation,u.id,u.name,u.contentName,u.begin,g._compileCaptures(u.beginCaptures||u.captures,v,y),u.end,g._compileCaptures(u.endCaptures||u.captures,v,y),u.applyEndPatternLast,g._compilePatterns(u.patterns,v,y))}),u.id}static _compileCaptures(u,v,y){let b=[];if(u){let E=0;for(const L in u){if(L==="$vscodeTextmateLocation")continue;const x=parseInt(L,10);x>E&&(E=x)}for(let L=0;L<=E;L++)b[L]=null;for(const L in u){if(L==="$vscodeTextmateLocation")continue;const x=parseInt(L,10);let $=0;u[L].patterns&&($=g.getCompiledRuleId(u[L],v,y)),b[x]=g.createCaptureRule(v,u[L].$vscodeTextmateLocation,u[L].name,u[L].contentName,$)}}return b}static _compilePatterns(u,v,y){let b=[];if(u)for(let E=0,L=u.length;E<L;E++){const x=u[E];let $=-1;if(x.include){const N=c.parseInclude(x.include);switch(N.kind){case 0:case 1:$=g.getCompiledRuleId(y[x.include],v,y);break;case 2:let G=y[N.ruleName];G&&($=g.getCompiledRuleId(G,v,y));break;case 3:case 4:const V=N.scopeName,ne=N.kind===4?N.ruleName:null,Y=v.getExternalGrammar(V,y);if(Y)if(ne){let re=Y.repository[ne];re&&($=g.getCompiledRuleId(re,v,Y.repository))}else $=g.getCompiledRuleId(Y.repository.$self,v,Y.repository)}}else $=g.getCompiledRuleId(x,v,y);if($!==-1){const N=v.getRule($);let G=!1;if((N instanceof m||N instanceof T||N instanceof S)&&N.hasMissingPatterns&&N.patterns.length===0&&(G=!0),G)continue;b.push($)}}return{patterns:b,hasMissingPatterns:(u?u.length:0)!==b.length}}}r.RuleFactory=g;class h{constructor(u,v){if(u){const y=u.length;let b=0,E=[],L=!1;for(let x=0;x<y;x++)if(u.charAt(x)==="\\"&&x+1<y){const $=u.charAt(x+1);$==="z"?(E.push(u.substring(b,x)),E.push("$(?!\\n)(?<!\\n)"),b=x+2):$!=="A"&&$!=="G"||(L=!0),x++}this.hasAnchor=L,b===0?this.source=u:(E.push(u.substring(b,y)),this.source=E.join(""))}else this.hasAnchor=!1,this.source=u;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=v,this.hasBackReferences=l.test(this.source)}clone(){return new h(this.source,this.ruleId)}setSource(u){this.source!==u&&(this.source=u,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(u,v){let y=v.map(b=>u.substring(b.start,b.end));return p.lastIndex=0,this.source.replace(p,(b,E)=>a.escapeRegExpCharacters(y[parseInt(E,10)]||""))}_buildAnchorCache(){let u,v,y,b,E=[],L=[],x=[],$=[];for(u=0,v=this.source.length;u<v;u++)y=this.source.charAt(u),E[u]=y,L[u]=y,x[u]=y,$[u]=y,y==="\\"&&u+1<v&&(b=this.source.charAt(u+1),b==="A"?(E[u+1]="",L[u+1]="",x[u+1]="A",$[u+1]="A"):b==="G"?(E[u+1]="",L[u+1]="G",x[u+1]="",$[u+1]="G"):(E[u+1]=b,L[u+1]=b,x[u+1]=b,$[u+1]=b),u++);return{A0_G0:E.join(""),A0_G1:L.join(""),A1_G0:x.join(""),A1_G1:$.join("")}}resolveAnchors(u,v){return this.hasAnchor&&this._anchorCache?u?v?this._anchorCache.A1_G1:this._anchorCache.A1_G0:v?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}r.RegExpSource=h;class _{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(u){this._items.push(u),this._hasAnchors=this._hasAnchors||u.hasAnchor}unshift(u){this._items.unshift(u),this._hasAnchors=this._hasAnchors||u.hasAnchor}length(){return this._items.length}setSource(u,v){this._items[u].source!==v&&(this._disposeCaches(),this._items[u].setSource(v))}compile(u){if(!this._cached){let v=this._items.map(y=>y.source);this._cached=new P(u,v,this._items.map(y=>y.ruleId))}return this._cached}compileAG(u,v,y){return this._hasAnchors?v?y?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(u,v,y)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(u,v,y)),this._anchorCache.A1_G0):y?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(u,v,y)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(u,v,y)),this._anchorCache.A0_G0):this.compile(u)}_resolveAnchors(u,v,y){let b=this._items.map(E=>E.resolveAnchors(v,y));return new P(u,b,this._items.map(E=>E.ruleId))}}r.RegExpSourceList=_;class P{constructor(u,v,y){this.regExps=v,this.rules=y,this.scanner=u.createOnigScanner(v)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const u=[];for(let v=0,y=this.rules.length;v<y;v++)u.push(" - "+this.rules[v]+": "+this.regExps[v]);return u.join(`
|
|
8
|
-
`)}findNextMatchSync(u,v,y){const b=this.scanner.findNextMatchSync(u,v,y);return b?{ruleId:this.rules[b.index],captureIndices:b.captureIndices}:null}}r.CompiledRule=P},583:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.ThemeTrieElement=r.ThemeTrieElementRule=r.ColorMap=r.fontStyleToString=r.ParsedThemeRule=r.parseTheme=r.StyleAttributes=r.ScopeStack=r.Theme=void 0;const a=i(878);class c{constructor(h,_,P){this._colorMap=h,this._defaults=_,this._root=P,this._cachedMatchRoot=new a.CachedFn(w=>this._root.match(w))}static createFromRawTheme(h,_){return this.createFromParsedTheme(d(h),_)}static createFromParsedTheme(h,_){return function(P,w){P.sort((x,$)=>{let N=a.strcmp(x.scope,$.scope);return N!==0?N:(N=a.strArrCmp(x.parentScopes,$.parentScopes),N!==0?N:x.index-$.index)});let u=0,v="#000000",y="#ffffff";for(;P.length>=1&&P[0].scope==="";){let x=P.shift();x.fontStyle!==-1&&(u=x.fontStyle),x.foreground!==null&&(v=x.foreground),x.background!==null&&(y=x.background)}let b=new m(w),E=new f(u,b.getId(v),b.getId(y)),L=new S(new T(0,null,-1,0,0),[]);for(let x=0,$=P.length;x<$;x++){let N=P[x];L.insert(0,N.scope,N.parentScopes,N.fontStyle,b.getId(N.foreground),b.getId(N.background))}return new c(b,E,L)}(h,_)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(h){if(h===null)return this._defaults;const _=h.scopeName,P=this._cachedMatchRoot.get(_).find(w=>function(u,v){if(v===null)return!0;let y=0,b=v[y];for(;u;){if(p(u.scopeName,b)){if(y++,y===v.length)return!0;b=v[y]}u=u.parent}return!1}(h.parent,w.parentScopes));return P?new f(P.fontStyle,P.foreground,P.background):null}}r.Theme=c;class l{constructor(h,_){this.parent=h,this.scopeName=_}static from(...h){let _=null;for(let P=0;P<h.length;P++)_=new l(_,h[P]);return _}push(h){return new l(this,h)}getSegments(){let h=this;const _=[];for(;h;)_.push(h.scopeName),h=h.parent;return _.reverse(),_}toString(){return this.getSegments().join(" ")}}function p(g,h){return h===g||g.startsWith(h)&&g[h.length]==="."}r.ScopeStack=l;class f{constructor(h,_,P){this.fontStyle=h,this.foregroundId=_,this.backgroundId=P}}function d(g){if(!g)return[];if(!g.settings||!Array.isArray(g.settings))return[];let h=g.settings,_=[],P=0;for(let w=0,u=h.length;w<u;w++){let v,y=h[w];if(!y.settings)continue;if(typeof y.scope=="string"){let x=y.scope;x=x.replace(/^[,]+/,""),x=x.replace(/[,]+$/,""),v=x.split(",")}else v=Array.isArray(y.scope)?y.scope:[""];let b=-1;if(typeof y.settings.fontStyle=="string"){b=0;let x=y.settings.fontStyle.split(" ");for(let $=0,N=x.length;$<N;$++)switch(x[$]){case"italic":b|=1;break;case"bold":b|=2;break;case"underline":b|=4;break;case"strikethrough":b|=8}}let E=null;typeof y.settings.foreground=="string"&&a.isValidHexColor(y.settings.foreground)&&(E=y.settings.foreground);let L=null;typeof y.settings.background=="string"&&a.isValidHexColor(y.settings.background)&&(L=y.settings.background);for(let x=0,$=v.length;x<$;x++){let N=v[x].trim().split(" "),G=N[N.length-1],V=null;N.length>1&&(V=N.slice(0,N.length-1),V.reverse()),_[P++]=new k(G,V,w,b,E,L)}}return _}r.StyleAttributes=f,r.parseTheme=d;class k{constructor(h,_,P,w,u,v){this.scope=h,this.parentScopes=_,this.index=P,this.fontStyle=w,this.foreground=u,this.background=v}}r.ParsedThemeRule=k,r.fontStyleToString=function(g){if(g===-1)return"not set";let h="";return 1&g&&(h+="italic "),2&g&&(h+="bold "),4&g&&(h+="underline "),8&g&&(h+="strikethrough "),h===""&&(h="none"),h.trim()};class m{constructor(h){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(h)){this._isFrozen=!0;for(let _=0,P=h.length;_<P;_++)this._color2id[h[_]]=_,this._id2color[_]=h[_]}else this._isFrozen=!1}getId(h){if(h===null)return 0;h=h.toUpperCase();let _=this._color2id[h];if(_)return _;if(this._isFrozen)throw new Error(`Missing color in color map - ${h}`);return _=++this._lastColorId,this._color2id[h]=_,this._id2color[_]=h,_}getColorMap(){return this._id2color.slice(0)}}r.ColorMap=m;class T{constructor(h,_,P,w,u){this.scopeDepth=h,this.parentScopes=_,this.fontStyle=P,this.foreground=w,this.background=u}clone(){return new T(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(h){let _=[];for(let P=0,w=h.length;P<w;P++)_[P]=h[P].clone();return _}acceptOverwrite(h,_,P,w){this.scopeDepth>h?console.log("how did this happen?"):this.scopeDepth=h,_!==-1&&(this.fontStyle=_),P!==0&&(this.foreground=P),w!==0&&(this.background=w)}}r.ThemeTrieElementRule=T;class S{constructor(h,_=[],P={}){this._mainRule=h,this._children=P,this._rulesWithParentScopes=_}static _sortBySpecificity(h){return h.length===1||h.sort(this._cmpBySpecificity),h}static _cmpBySpecificity(h,_){if(h.scopeDepth===_.scopeDepth){const P=h.parentScopes,w=_.parentScopes;let u=P===null?0:P.length,v=w===null?0:w.length;if(u===v)for(let y=0;y<u;y++){const b=P[y].length,E=w[y].length;if(b!==E)return E-b}return v-u}return _.scopeDepth-h.scopeDepth}match(h){if(h==="")return S._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let _,P,w=h.indexOf(".");return w===-1?(_=h,P=""):(_=h.substring(0,w),P=h.substring(w+1)),this._children.hasOwnProperty(_)?this._children[_].match(P):S._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(h,_,P,w,u,v){if(_==="")return void this._doInsertHere(h,P,w,u,v);let y,b,E,L=_.indexOf(".");L===-1?(y=_,b=""):(y=_.substring(0,L),b=_.substring(L+1)),this._children.hasOwnProperty(y)?E=this._children[y]:(E=new S(this._mainRule.clone(),T.cloneArr(this._rulesWithParentScopes)),this._children[y]=E),E.insert(h+1,b,P,w,u,v)}_doInsertHere(h,_,P,w,u){if(_!==null){for(let v=0,y=this._rulesWithParentScopes.length;v<y;v++){let b=this._rulesWithParentScopes[v];if(a.strArrCmp(b.parentScopes,_)===0)return void b.acceptOverwrite(h,P,w,u)}P===-1&&(P=this._mainRule.fontStyle),w===0&&(w=this._mainRule.foreground),u===0&&(u=this._mainRule.background),this._rulesWithParentScopes.push(new T(h,_,P,w,u))}else this._mainRule.acceptOverwrite(h,P,w,u)}}r.ThemeTrieElement=S},878:(o,r)=>{function i(l){return Array.isArray(l)?function(p){let f=[];for(let d=0,k=p.length;d<k;d++)f[d]=i(p[d]);return f}(l):typeof l=="object"?function(p){let f={};for(let d in p)f[d]=i(p[d]);return f}(l):l}Object.defineProperty(r,"__esModule",{value:!0}),r.performanceNow=r.CachedFn=r.escapeRegExpCharacters=r.isValidHexColor=r.strArrCmp=r.strcmp=r.RegexSource=r.basename=r.mergeObjects=r.clone=void 0,r.clone=function(l){return i(l)},r.mergeObjects=function(l,...p){return p.forEach(f=>{for(let d in f)l[d]=f[d]}),l},r.basename=function l(p){const f=~p.lastIndexOf("/")||~p.lastIndexOf("\\");return f===0?p:~f==p.length-1?l(p.substring(0,p.length-1)):p.substr(1+~f)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function c(l,p){return l<p?-1:l>p?1:0}r.RegexSource=class{static hasCaptures(l){return l!==null&&(a.lastIndex=0,a.test(l))}static replaceCaptures(l,p,f){return l.replace(a,(d,k,m,T)=>{let S=f[parseInt(k||m,10)];if(!S)return d;{let g=p.substring(S.start,S.end);for(;g[0]===".";)g=g.substring(1);switch(T){case"downcase":return g.toLowerCase();case"upcase":return g.toUpperCase();default:return g}}})}},r.strcmp=c,r.strArrCmp=function(l,p){if(l===null&&p===null)return 0;if(!l)return-1;if(!p)return 1;let f=l.length,d=p.length;if(f===d){for(let k=0;k<f;k++){let m=c(l[k],p[k]);if(m!==0)return m}return 0}return f-d},r.isValidHexColor=function(l){return!!(/^#[0-9a-f]{6}$/i.test(l)||/^#[0-9a-f]{8}$/i.test(l)||/^#[0-9a-f]{3}$/i.test(l)||/^#[0-9a-f]{4}$/i.test(l))},r.escapeRegExpCharacters=function(l){return l.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},r.CachedFn=class{constructor(l){this.fn=l,this.cache=new Map}get(l){if(this.cache.has(l))return this.cache.get(l);const p=this.fn(l);return this.cache.set(l,p),p}},r.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},s={};return function o(r){var i=s[r];if(i!==void 0)return i.exports;var a=s[r]={exports:{}};return n[r].call(a.exports,a,a.exports,o),a.exports}(787)})()})})(Bv);const eo=[{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 tr=(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))(tr||{});class De{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=De.getLanguageId(t),s=De.getTokenType(t),o=De.getFontStyle(t),r=De.getForeground(t),i=De.getBackground(t);console.log({languageId:n,tokenType:s,fontStyle:o,foreground:r,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,s,o,r,i){let a=De.getLanguageId(t),c=De.getTokenType(t),l=De.getFontStyle(t),p=De.getForeground(t),f=De.getBackground(t),d=De.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),s!==0&&(c=s===8?0:s),o!==-1&&(l=o),r!==0&&(p=r),i!==0&&(f=i),(a<<0|c<<8|l<<11|d<<10|p<<15|f<<24)>>>0}}function Hv(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function Dv(e){return e.startsWith("./")?e.slice(2):e}function Lf(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function Rf(...e){return e.map(Hv).map(Dv).join("/")}function Fv(e,t){const n=new Map;for(const s of e){const o=t(s);n.has(o)?n.get(o).push(s):n.set(o,[s])}return n}function Uv(e,t=!1){const n=e.length;let s=0,o="",r=0,i=16,a=0,c=0,l=0,p=0,f=0;function d(_,P){let w=0,u=0;for(;w<_||!P;){let v=e.charCodeAt(s);if(v>=48&&v<=57)u=u*16+v-48;else if(v>=65&&v<=70)u=u*16+v-65+10;else if(v>=97&&v<=102)u=u*16+v-97+10;else break;s++,w++}return w<_&&(u=-1),u}function k(_){s=_,o="",r=0,i=16,f=0}function m(){let _=s;if(e.charCodeAt(s)===48)s++;else for(s++;s<e.length&&fn(e.charCodeAt(s));)s++;if(s<e.length&&e.charCodeAt(s)===46)if(s++,s<e.length&&fn(e.charCodeAt(s)))for(s++;s<e.length&&fn(e.charCodeAt(s));)s++;else return f=3,e.substring(_,s);let P=s;if(s<e.length&&(e.charCodeAt(s)===69||e.charCodeAt(s)===101))if(s++,(s<e.length&&e.charCodeAt(s)===43||e.charCodeAt(s)===45)&&s++,s<e.length&&fn(e.charCodeAt(s))){for(s++;s<e.length&&fn(e.charCodeAt(s));)s++;P=s}else f=3;return e.substring(_,P)}function T(){let _="",P=s;for(;;){if(s>=n){_+=e.substring(P,s),f=2;break}const w=e.charCodeAt(s);if(w===34){_+=e.substring(P,s),s++;break}if(w===92){if(_+=e.substring(P,s),s++,s>=n){f=2;break}switch(e.charCodeAt(s++)){case 34:_+='"';break;case 92:_+="\\";break;case 47:_+="/";break;case 98:_+="\b";break;case 102:_+="\f";break;case 110:_+=`
|
|
9
|
-
`;break;case 114:_+="\r";break;case 116:_+=" ";break;case 117:const v=d(4,!0);v>=0?_+=String.fromCharCode(v):f=4;break;default:f=5}P=s;continue}if(w>=0&&w<=31)if(as(w)){_+=e.substring(P,s),f=2;break}else f=6;s++}return _}function S(){if(o="",f=0,r=s,c=a,p=l,s>=n)return r=n,i=17;let _=e.charCodeAt(s);if(To(_)){do s++,o+=String.fromCharCode(_),_=e.charCodeAt(s);while(To(_));return i=15}if(as(_))return s++,o+=String.fromCharCode(_),_===13&&e.charCodeAt(s)===10&&(s++,o+=`
|
|
10
|
-
`),a++,l=s,i=14;switch(_){case 123:return s++,i=1;case 125:return s++,i=2;case 91:return s++,i=3;case 93:return s++,i=4;case 58:return s++,i=6;case 44:return s++,i=5;case 34:return s++,o=T(),i=10;case 47:const P=s-1;if(e.charCodeAt(s+1)===47){for(s+=2;s<n&&!as(e.charCodeAt(s));)s++;return o=e.substring(P,s),i=12}if(e.charCodeAt(s+1)===42){s+=2;const w=n-1;let u=!1;for(;s<w;){const v=e.charCodeAt(s);if(v===42&&e.charCodeAt(s+1)===47){s+=2,u=!0;break}s++,as(v)&&(v===13&&e.charCodeAt(s)===10&&s++,a++,l=s)}return u||(s++,f=1),o=e.substring(P,s),i=13}return o+=String.fromCharCode(_),s++,i=16;case 45:if(o+=String.fromCharCode(_),s++,s===n||!fn(e.charCodeAt(s)))return i=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return o+=m(),i=11;default:for(;s<n&&g(_);)s++,_=e.charCodeAt(s);if(r!==s){switch(o=e.substring(r,s),o){case"true":return i=8;case"false":return i=9;case"null":return i=7}return i=16}return o+=String.fromCharCode(_),s++,i=16}}function g(_){if(To(_)||as(_))return!1;switch(_){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function h(){let _;do _=S();while(_>=12&&_<=15);return _}return{setPosition:k,getPosition:()=>s,scan:t?h:S,getToken:()=>i,getTokenValue:()=>o,getTokenOffset:()=>r,getTokenLength:()=>s-r,getTokenStartLine:()=>c,getTokenStartCharacter:()=>r-p,getTokenError:()=>f}}function To(e){return e===32||e===9}function as(e){return e===10||e===13}function fn(e){return e>=48&&e<=57}var Ul;(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"})(Ul||(Ul={}));var Lr;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Lr||(Lr={}));function Wv(e,t=[],n=Lr.DEFAULT){let s=null,o=[];const r=[];function i(c){Array.isArray(o)?o.push(c):s!==null&&(o[s]=c)}return Gv(e,{onObjectBegin:()=>{const c={};i(c),r.push(o),o=c,s=null},onObjectProperty:c=>{s=c},onObjectEnd:()=>{o=r.pop()},onArrayBegin:()=>{const c=[];i(c),r.push(o),o=c,s=null},onArrayEnd:()=>{o=r.pop()},onLiteralValue:i,onError:(c,l,p)=>{t.push({error:c,offset:l,length:p})}},n),o[0]}function Gv(e,t,n=Lr.DEFAULT){const s=Uv(e,!1),o=[];function r(x){return x?()=>x(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function i(x){return x?()=>x(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>o.slice()):()=>!0}function a(x){return x?$=>x($,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function c(x){return x?$=>x($,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>o.slice()):()=>!0}const l=i(t.onObjectBegin),p=c(t.onObjectProperty),f=r(t.onObjectEnd),d=i(t.onArrayBegin),k=r(t.onArrayEnd),m=c(t.onLiteralValue),T=a(t.onSeparator),S=r(t.onComment),g=a(t.onError),h=n&&n.disallowComments,_=n&&n.allowTrailingComma;function P(){for(;;){const x=s.scan();switch(s.getTokenError()){case 4:w(14);break;case 5:w(15);break;case 3:w(13);break;case 1:h||w(11);break;case 2:w(12);break;case 6:w(16);break}switch(x){case 12:case 13:h?w(10):S();break;case 16:w(1);break;case 15:case 14:break;default:return x}}}function w(x,$=[],N=[]){if(g(x),$.length+N.length>0){let G=s.getToken();for(;G!==17;){if($.indexOf(G)!==-1){P();break}else if(N.indexOf(G)!==-1)break;G=P()}}}function u(x){const $=s.getTokenValue();return x?m($):(p($),o.push($)),P(),!0}function v(){switch(s.getToken()){case 11:const x=s.getTokenValue();let $=Number(x);isNaN($)&&(w(2),$=0),m($);break;case 7:m(null);break;case 8:m(!0);break;case 9:m(!1);break;default:return!1}return P(),!0}function y(){return s.getToken()!==10?(w(3,[],[2,5]),!1):(u(!1),s.getToken()===6?(T(":"),P(),L()||w(4,[],[2,5])):w(5,[],[2,5]),o.pop(),!0)}function b(){l(),P();let x=!1;for(;s.getToken()!==2&&s.getToken()!==17;){if(s.getToken()===5){if(x||w(4,[],[]),T(","),P(),s.getToken()===2&&_)break}else x&&w(6,[],[]);y()||w(4,[],[2,5]),x=!0}return f(),s.getToken()!==2?w(7,[2],[]):P(),!0}function E(){d(),P();let x=!0,$=!1;for(;s.getToken()!==4&&s.getToken()!==17;){if(s.getToken()===5){if($||w(4,[],[]),T(","),P(),s.getToken()===4&&_)break}else $&&w(6,[],[]);x?(o.push(0),x=!1):o[o.length-1]++,L()||w(4,[],[4,5]),$=!0}return k(),x||o.pop(),s.getToken()!==4?w(8,[4],[]):P(),!0}function L(){switch(s.getToken()){case 3:return E();case 1:return b();case 10:return u(!0);default:return v()}}return P(),s.getToken()===17?n.allowEmptyContent?!0:(w(4,[],[]),!1):L()?(s.getToken()!==17&&w(9,[],[]),!0):(w(4,[],[]),!1)}var Wl;(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"})(Wl||(Wl={}));var Gl;(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"})(Gl||(Gl={}));const zv=Wv;var zl;(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"})(zl||(zl={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let Of="";const Vv="dist/";function qv(e){Of=e.endsWith("/")?e:e+"/"}let So=null;async function Kv(e){if(!So){let t;t=vs.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)($f(Rf(...Lf(e),"onig.wasm")))}),So=t.then(()=>({createOnigScanner(n){return vs.createOnigScanner(n)},createOnigString(n){return vs.createOnigString(n)}}))}return So}function $f(e){return`${Of}${e}`}async function Qv(e){const t=$f(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function Nf(e){const t=[],n=zv(await Qv(e),t,{allowTrailingComma:!0});if(t.length)throw t[0];return n}async function Cf(e){let t=await Nf(e);const n=jf(t);if(n.include){const s=await Cf(Rf(...Lf(e),n.include));s.settings&&(n.settings=s.settings.concat(n.settings)),s.bg&&!n.bg&&(n.bg=s.bg),s.colors&&(n.colors={...s.colors,...n.colors}),delete n.include}return n}async function Jv(e){return await Nf(e)}function Xv(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 jf(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...Yv(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),Xv(n),n}const Vl={light:"#333333",dark:"#bbbbbb"},ql={light:"#fffffe",dark:"#1e1e1e"};function Yv(e){let t,n,s=e.settings?e.settings:e.tokenColors;const o=s?s.find(r=>!r.name&&!r.scope):void 0;return o?.settings?.foreground&&(t=o.settings.foreground),o?.settings?.background&&(n=o.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"?Vl.light:Vl.dark),n||(n=e.type==="light"?ql.light:ql.dark),{fg:t,bg:n}}class Zv{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 s=await Jv(eo.includes(n)?`${this.languagesPath}${n.path}`:n.path);return n.grammar=s,s}addLanguage(t){this.languageMap[t.id]=t,t.aliases&&t.aliases.forEach(n=>{this.languageMap[n]=t}),this.scopeToLangMap[t.scopeName]=t}}function ew(e,t,n,s,o){let r=n.split(/\r\n|\r|\n/),i=xr.INITIAL,a=[],c=[];for(let l=0,p=r.length;l<p;l++){let f=r[l];if(f===""){a=[],c.push([]);continue}let d,k,m;o.includeExplanation&&(d=s.tokenizeLine(f,i),k=d.tokens,m=0);let T=s.tokenizeLine2(f,i),S=T.tokens.length/2;for(let g=0;g<S;g++){let h=T.tokens[2*g],_=g+1<S?T.tokens[2*g+2]:f.length;if(h===_)continue;let P=T.tokens[2*g+1],w=De.getForeground(P),u=t[w],v=De.getFontStyle(P),y=[];if(o.includeExplanation){let b=0;for(;h+b<_;){let E=k[m],L=f.substring(E.startIndex,E.endIndex);b+=L.length,y.push({content:L,scopes:tw(e,E.scopes)}),m++}}a.push({content:f.substring(h,_),color:u,fontStyle:v,explanation:y})}c.push(a),a=[],i=T.ruleStack}return c}function tw(e,t){let n=[];for(let s=0,o=t.length;s<o;s++){let r=t.slice(0,s),i=t[s];n[s]={scopeName:i,themeMatches:sw(e,i,r)}}return n}function Kl(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function nw(e,t,n,s){if(!Kl(e,n))return!1;let o=t.length-1,r=s.length-1;for(;o>=0&&r>=0;)Kl(t[o],s[r])&&o--,r--;return o===-1}function sw(e,t,n){let s=[],o=0;for(let r=0,i=e.settings.length;r<i;r++){let a=e.settings[r],c;if(typeof a.scope=="string")c=a.scope.split(/,/).map(l=>l.trim());else if(Array.isArray(a.scope))c=a.scope;else continue;for(let l=0,p=c.length;l<p;l++){let d=c[l].split(/ /),k=d[d.length-1],m=d.slice(0,d.length-1);nw(k,m,t,n)&&(s[o++]=a,l=p)}}return s}const rw={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 ow(e,t={}){const n=t.bg||"#fff",s=Fv(t.lineOptions??[],i=>i.line),o=t.elements||{};function r(i="",a={},c){const l=o[i]||rw[i];return l?(c=c.filter(Boolean),l({...a,children:i==="code"?c.join(`
|
|
11
|
-
`):c.join("")})):""}return r("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${n}`},[t.langId?`<div class="language-id">${t.langId}</div>`:"",r("code",{},e.map((i,a)=>{const c=a+1,l=s.get(c)??[],p=lw(l).join(" ");return r("line",{className:p,lines:e,line:i,index:a},i.map((f,d)=>{const k=[`color: ${f.color||t.fg}`];return f.fontStyle&tr.Italic&&k.push("font-style: italic"),f.fontStyle&tr.Bold&&k.push("font-weight: bold"),f.fontStyle&tr.Underline&&k.push("text-decoration: underline"),r("token",{style:k.join("; "),tokens:i,token:f,index:d},[aw(f.content)])}))}))])}const iw={"&":"&","<":"<",">":">",'"':""","'":"'"};function aw(e){return e.replace(/[&<>"']/g,t=>iw[t])}function lw(e){const t=new Set(["line"]);for(const n of e)for(const s of n.classes??[])t.add(s);return Array.from(t)}class cw extends xr.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=eo.reduce((n,s)=>(n[s.id]=s,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 Cf(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=jf(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 s={embeddedLanguages:t.embeddedLangs?.reduce(async(r,i,a)=>{if(!this.getLoadedLanguages().includes(i)&&this._resolver.getLangRegistration(i))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(i).scopeName),r[this._resolver.getLangRegistration(i).scopeName]=a+2,r},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},o=await this.loadGrammarWithConfiguration(t.scopeName,1,s);this._resolvedGrammars[t.id]=o,t.aliases&&t.aliases.forEach(r=>{this._resolvedGrammars[r]=o})}async loadLanguages(t){for(const s of t)this.resolveEmbeddedLanguages(s);const n=Array.from(this._langGraph.values());for(const s of n)this._resolver.addLanguage(s);for(const s of n)await this.loadLanguage(s)}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 If(e){return typeof e=="string"?eo.find(t=>t.id===e||t.aliases?.includes(e)):e}function uw(e){let t=eo,n=e.themes||[],s=e.paths?.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":Vv;return e.langs&&(t=e.langs.map(If)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:s}}async function fw(e){const{_languages:t,_themes:n,_wasmPath:s}=uw(e),o=new Zv(Kv(s),"vscode-oniguruma"),r=new cw(o);e.paths?.themes&&(r.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),e.paths?.languages&&(o.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const a=(await r.loadThemes(n))[0];let c;await r.loadLanguages(t);let l={"#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 p(u){l=u}function f(u,v){u.bg=l[u.bg]||u.bg,u.fg=l[u.fg]||u.fg,v.forEach((y,b)=>{v[b]=l[y]||y})}function d(u){const v=u?r.getTheme(u):a;if(!v)throw Error(`No theme registration for ${u}`);(!c||c.name!==v.name)&&(r.setTheme(v),c=v);const y=r.getColorMap();return v.type==="css"&&f(v,y),{_theme:v,_colorMap:y}}function k(u){const v=r.getGrammar(u);if(!v)throw Error(`No language registration for ${u}`);return{_grammar:v}}function m(u,v="text",y,b={includeExplanation:!0}){if(dw(v))return[...u.split(/\r\n|\r|\n/).map(N=>[{content:N}])];const{_grammar:E}=k(v),{_theme:L,_colorMap:x}=d(y);return ew(L,x,u,E,b)}function T(u,v="text",y){let b;typeof v=="object"?b=v:b={lang:v,theme:y};const E=m(u,b.lang,b.theme,{includeExplanation:!1}),{_theme:L}=d(b.theme);return ow(E,{fg:L.fg,bg:L.bg,lineOptions:b?.lineOptions,themeName:L.name})}async function S(u){await r.loadTheme(u)}async function g(u){const v=If(u);o.addLanguage(v),await r.loadLanguage(v)}function h(){return r.getLoadedThemes()}function _(){return r.getLoadedLanguages()}function P(u){const{_theme:v}=d(u);return v.bg}function w(u){const{_theme:v}=d(u);return v.fg}return{codeToThemedTokens:m,codeToHtml:T,getTheme:u=>d(u)._theme,loadTheme:S,loadLanguage:g,getBackgroundColor:P,getForegroundColor:w,getLoadedThemes:h,getLoadedLanguages:_,setColorReplacements:p}}function dw(e){return!e||["plaintext","txt","text"].includes(e)}const pw="0.2.0";qv(`https://cdn.jsdelivr.net/npm/shiki-es@${pw}/dist/assets/`);const li=_e();fw({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html"]}).then(e=>{li.value=e});function hw(e,t){const n=yf();return li.value?li.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}):e}function Bn(){return Ms("devtools-client")}function o0(){const e=Bn();return Ee(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function i0(){const e=Bn();return Ee(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function mw(){return Ms("devtools-component-inspector-data")}const Mf=_e(!1);setTimeout(()=>{Mf.value=!0},2e3);const a0=Ee(()=>Mf.value&&!Bn().value);function gw(){const e=Bn(),t=yf();return Ee(()=>({host:e.value,devtools:{rpc:Ef,colorMode:t.value,renderCodeHighlight(n,s){return hw(n,s)},renderMarkdown(n){return Iv(n)}}}))}const _w=At(()=>{const e=Bn(),t=mw(),n=Mn();window.__NUXT_DEVTOOLS_VIEW__={setClient(s){e.value!==s&&(e.value=s,s.hooks.hook("host:update:reactivity",()=>{e.value&&(e.value={...e.value})}),s.hooks.hook("host:inspector:close",()=>{n.currentRoute.value.path==="/__inspecting"&&n.replace("/modules/components")}),s.hooks.hook("host:inspector:update",o=>{t.value=o}),s.hooks.hook("host:inspector:click",async(o,r,i,a)=>{const c=`./${r}:${i}:${a}`;await Ef.openInEditor(c)}),console.log("[nuxt-devtools] Client connected",s))}},n.afterEach(()=>{const s=n.currentRoute.value.path;s.includes("__")||e.value?.hooks.callHook("devtools:navigate",s)})}),yw=[Dm,Eg,Ky,Qy,Yy,Zy,eb,wv,_w],bw=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=vw({duration:e.duration,throttle:e.throttle}),s=Le();return s.hook("page:start",n.start),s.hook("page:finish",n.finish),Is(()=>n.clear),()=>qe("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 vw(e){const t=_e(0),n=_e(!1),s=Ee(()=>1e4/e.duration);let o=null,r=null;function i(){c(),t.value=0,e.throttle?r=setTimeout(()=>{n.value=!0,f()},e.throttle):(n.value=!0,f())}function a(){t.value=100,p()}function c(){clearInterval(o),clearTimeout(r),o=null,r=null}function l(d){t.value=Math.min(100,t.value+d)}function p(){c(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function f(){o=setInterval(()=>{l(s.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:c}}const ww=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),kw=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),s=t??n?.meta.key??(n&&ww(e.route,n));return typeof s=="function"?s(e.route):s},Pw=(e,t)=>({default:()=>e?qe(lp,e===!0?{}:e,t):t}),Tw=Oe({name:"FragmentWrapper",setup(e,{slots:t}){return()=>t.default?.()}}),ci=(e,t,n)=>({default:()=>t?qe(e,t===!0?{}:t,n):qe(Tw,{},n)}),Sw=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}){const n=Le();return()=>qe(Hu,{name:e.name,route:e.route,...t},{default:s=>{if(!s.Component)return;const o=kw(s,e.pageKey),r=n.deferHydration(),i=!!(e.transition??s.route.meta.pageTransition??Go),a=i&&Aw([e.transition,s.route.meta.pageTransition,Go,{onAfterLeave:()=>{n.callHook("page:transition:finish",s.Component)}}].filter(Boolean));return ci(Fr,i&&a,Pw(e.keepalive??s.route.meta.keepalive??Tg,qe(Tc,{onPending:()=>n.callHook("page:start",s.Component),onResolve:()=>{Tt(()=>n.callHook("page:finish",s.Component).finally(r))}},{default:()=>qe(xw,{key:o,routeProps:s,pageKey:o,hasTransition:i})}))).default()}})}});function Ew(e){return Array.isArray(e)?e:e?[e]:[]}function Aw(e){const t=e.map(n=>({...n,onAfterLeave:Ew(n.onAfterLeave)}));return R_(...t)}const xw=Oe({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const t=e.pageKey,n=e.routeProps.route,s={};for(const o in e.routeProps.route)s[o]=Ee(()=>t===e.pageKey?e.routeProps.route[o]:n[o]);return wn("_route",st(s)),()=>qe(e.routeProps.Component)}}),Lw=Oe({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(e,t){const n=await hn[e.name]().then(s=>s.default||s);return()=>qe(n,t.attrs,t.slots)}}),Rw=Oe({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Ve("_route"),s=n===Uu()?L_():n,o=Ee(()=>Te(e.name)??s.meta.layout??"default");return()=>{const r=o.value&&o.value in hn,i=s.meta.layoutTransition??Pg;return ci(Fr,r&&i,{default:()=>ci(Lw,r&&{key:o.value,name:o.value,...t.attrs},t.slots).default()}).default()}}}),Ow=Oe({__name:"NIcon",props:{icon:null},setup(e){return(t,n)=>(xe(),ct("div",{class:Pt(["n-icon",e.icon])},null,2))}}),$w=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Nw={},Cw={key:0,border:"t base","bottom-0":"","left-0":"","right-0":"",fixed:"",p5:"","glass-effect":"","z-10":""},jw={key:0,flex:"~ gap-2","items-center":"","text-rose":""},Iw={key:1,flex:"~ gap-2","items-center":"","text-yellow":"","animate-pulse":""};function Mw(e,t){const n=Ow;return("wsError"in e?e.wsError:Te(Ar))||("wsConnecting"in e?e.wsConnecting:Te(bs))?(xe(),ct("div",Cw,[("wsError"in e?e.wsError:Te(Ar))?(xe(),ct("div",jw,[be(n,{icon:"i-carbon-wifi-off"}),pr(" WebSocket disconnected ")])):("wsConnecting"in e?e.wsConnecting:Te(bs))?(xe(),ct("div",Iw,[be(n,{icon:"i-carbon-circle-dash","animate-spin":""}),pr(" Connecting to the server... ")])):hr("",!0)])):hr("",!0)}const Bw=$w(Nw,[["render",Mw]]);function Hw(){const e=Le();Object.assign(Sf,{async refresh(t){e.hooks.callHookParallel("app:data:refresh",[t])},async callHook(t,...n){e.hooks.callHookParallel(t,...n)}})}const Dw=Oe({__name:"app",setup(e){ke(()=>import("./unocss-runtime.daeb320e.js"),[],import.meta.url),W_({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),Hw();const t=Bn();return addEventListener("keypress",n=>{n.code==="KeyD"&&n.altKey&&t.value?.closeDevTools()}),js(()=>{const n=gw();Ec(()=>{window.__NUXT_DEVTOOLS__=n.value})}),(n,s)=>{const o=bw,r=Sw,i=Rw,a=Bw;return xe(),ct(je,null,[be(o),be(i,null,{default:Ut(()=>[be(r)]),_:1}),be(a)],64)}}}),Ql={__name:"nuxt-root",setup(e){const t=ip(()=>ke(()=>import("./error-component.ee11a8ba.js"),[],import.meta.url).then(a=>a.default||a)),n=()=>null,s=Le(),o=s.deferHydration();wn("_route",Uu()),s.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const r=Gr();Ic((a,c,l)=>{s.hooks.callHook("vue:error",a,c,l).catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),C_(a)&&(a.fatal||a.unhandled)&&ht(s,pn,[a])});const{islandContext:i}=!1;return(a,c)=>(xe(),lt(Tc,{onResolve:Te(o)},{default:Ut(()=>[Te(r)?(xe(),lt(Te(t),{key:0,error:Te(r)},null,8,["error"])):Te(i)?(xe(),lt(Te(n),{key:1,context:Te(i)},null,8,["context"])):(xe(),lt(Te(Dw),{key:2}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=fm.create({baseURL:Sm()}));let Jl;const Fw=Hm(yw);Jl=async function(){const n=Boolean(window.__NUXT__?.serverRendered)?kh(Ql):ou(Ql),s=Im({vueApp:n});try{await Bm(s,Fw)}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}try{await s.hooks.callHook("app:created",n),await s.hooks.callHook("app:beforeMount",n),n.mount("#"+Sg),await s.hooks.callHook("app:mounted",n),await Tt()}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}},Jl().catch(e=>{console.error("Error while mounting app:",e)});export{fm as $,zw as A,Mn as B,Gw as C,Ow as D,st as E,je as F,Zw as G,Tt as H,Ec as I,jc as J,gw as K,Uu as L,Ef as M,Pt as N,nn as O,e0 as P,Ww as Q,dh as R,bh as S,Fr as T,Vw as U,a0 as V,Kw as W,i0 as X,o0 as Y,Jw as Z,ke as _,Oe as a,Zc as a0,Yw as a1,$w as a2,vy as a3,zd as a4,Vd as a5,hh as a6,Le as a7,Aa as a8,qe as a9,s0 as aa,qw as ab,n0 as ac,r0 as ad,Xw as ae,Ve as af,Et as ag,ir as ah,Uw as ai,Fu as aj,up as ak,W_ as al,Ur as am,Is as an,ji as ao,Qw as ap,I_ as aq,Bn as b,lt as c,ip as d,Rs as e,ct as f,Yc as g,mt as h,be as i,Dy as j,pr as k,Ee as l,hr as m,Uf as n,xe as o,As as p,_e as q,ur as r,yf as s,Vf as t,Te as u,js as v,Ut as w,Me as x,Ae as y,t0 as z};
|