@nuxt/devtools 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +1 -1
- 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.83906623.js → Badge.0ce662e4.js} +1 -1
- package/dist/client/_nuxt/{CodeSnippets.vue.189d2c05.js → CodeSnippets.vue.63e1babe.js} +1 -1
- package/dist/client/_nuxt/{DrawerRight.vue.e303d503.js → DrawerRight.vue.eb026405.js} +1 -1
- package/dist/client/_nuxt/{DurationDisplay.vue.b44ca7b3.js → DurationDisplay.vue.9fa7b27d.js} +1 -1
- package/dist/client/_nuxt/{FilepathItem.vue.5b5ced5d.js → FilepathItem.vue.7eb51d4e.js} +1 -1
- package/dist/client/_nuxt/{HelpFab.vue.c263b505.js → HelpFab.vue.ebcc1356.js} +1 -1
- package/dist/client/_nuxt/{LaunchPage.vue.10a18c7c.js → LaunchPage.vue.63709998.js} +1 -1
- package/dist/client/_nuxt/{NCheckbox.vue.fc55451a.js → NCheckbox.vue.a470be6e.js} +1 -1
- package/dist/client/_nuxt/{NCodeBlock.vue.5e846b10.js → NCodeBlock.vue.3fea7f9d.js} +1 -1
- package/dist/client/_nuxt/{NIconButton.vue.87d44e1b.js → NIconButton.vue.13275ce3.js} +1 -1
- package/dist/client/_nuxt/{NIconTitle.vue.44afa7ff.js → NIconTitle.vue.811968a5.js} +1 -1
- package/dist/client/_nuxt/{NLink.vue.7642253a.js → NLink.vue.8becbaf2.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.b43fcab0.js → NMarkdown.vue.f8a61172.js} +1 -1
- package/dist/client/_nuxt/{NPanelGrids.3011caf9.js → NPanelGrids.afa6e237.js} +1 -1
- package/dist/client/_nuxt/{NSectionBlock.9d37fd4b.js → NSectionBlock.4824dc31.js} +1 -1
- package/dist/client/_nuxt/{NSelect.vue.53616e18.js → NSelect.vue.2f75a7b4.js} +1 -1
- package/dist/client/_nuxt/{NSwitch.vue.0fe4aa67.js → NSwitch.vue.ae05571e.js} +1 -1
- package/dist/client/_nuxt/{NTextInput.vue.0f5840ce.js → NTextInput.vue.efd43a47.js} +1 -1
- package/dist/client/_nuxt/{NTip.vue.42848f36.js → NTip.vue.6c00393e.js} +1 -1
- package/dist/client/_nuxt/{Navbar.vue.1156f86c.js → Navbar.vue.76f856f0.js} +1 -1
- package/dist/client/_nuxt/{NpmVersionCheck.vue.01d3cdf4.js → NpmVersionCheck.vue.9ff03721.js} +1 -1
- package/dist/client/_nuxt/{PanelLeftRight.vue.fed8984a.js → PanelLeftRight.vue.9e8aa6b8.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.a4934d8c.js → StateEditor.vue.b9b04885.js} +1 -1
- package/dist/client/_nuxt/{__inspecting.fbaf226d.js → __inspecting.689fc045.js} +1 -1
- package/dist/client/_nuxt/{analyze-build.1e11d4c2.js → analyze-build.8d6d1198.js} +1 -1
- package/dist/client/_nuxt/{assets.4e286b98.js → assets.b6f9866b.js} +1 -1
- package/dist/client/_nuxt/{client.a6478274.js → client.ce74bb6b.js} +1 -1
- package/dist/client/_nuxt/{components.f00116c7.js → components.212338f5.js} +1 -1
- package/dist/client/_nuxt/{custom-_name_.4698ded9.js → custom-_name_.87eb6297.js} +1 -1
- package/dist/client/_nuxt/{default.e408d64e.js → default.b5c163f2.js} +1 -1
- package/dist/client/_nuxt/{editor.60cc6e07.js → editor.6dcc09c7.js} +1 -1
- package/dist/client/_nuxt/{entry.33b4ceee.js → entry.3c854225.js} +3 -3
- package/dist/client/_nuxt/{error-404.e559d2f7.js → error-404.67a51e0c.js} +1 -1
- package/dist/client/_nuxt/{error-500.0eef607d.js → error-500.811aab1a.js} +1 -1
- package/dist/client/_nuxt/{error-component.83c76a45.js → error-component.74964985.js} +2 -2
- package/dist/client/_nuxt/{full.872180c4.js → full.1ccd4009.js} +1 -1
- package/dist/client/_nuxt/{hooks.f607bdd3.js → hooks.310738c8.js} +1 -1
- package/dist/client/_nuxt/{imports.af078df6.js → imports.ccc44d22.js} +1 -1
- package/dist/client/_nuxt/{index.ed5657ea.js → index.5d80161c.js} +1 -1
- package/dist/client/_nuxt/{index.0676e898.js → index.a86d9a7f.js} +1 -1
- package/dist/client/_nuxt/{json-editor-vue.3247103b.js → json-editor-vue.cb8f6785.js} +1 -1
- package/dist/client/_nuxt/{middleware.f8f2ddc7.js → middleware.c10051f6.js} +1 -1
- package/dist/client/_nuxt/{modules.1cb9572d.js → modules.9cc1fa1d.js} +1 -1
- package/dist/client/_nuxt/{none.2ff7cc7a.js → none.1d054cdf.js} +1 -1
- package/dist/client/_nuxt/{open-graph.22edbc56.js → open-graph.4ea7bb24.js} +1 -1
- package/dist/client/_nuxt/{overview.12716b2d.js → overview.9f34e07f.js} +1 -1
- package/dist/client/_nuxt/{pages.56e34b91.js → pages.a55d4866.js} +1 -1
- package/dist/client/_nuxt/{payload.98eee0c8.js → payload.4878fb79.js} +1 -1
- package/dist/client/_nuxt/{plugins.33f32b58.js → plugins.92e36c4c.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs.12858433.js → runtime-configs.c13ac314.js} +1 -1
- package/dist/client/_nuxt/{server-routes.bde5bee5.js → server-routes.dae9cba0.js} +1 -1
- package/dist/client/_nuxt/{settings.e641de98.js → settings.fcb97906.js} +1 -1
- package/dist/client/_nuxt/{storage.b8b29d67.js → storage.d543849f.js} +1 -1
- package/dist/client/_nuxt/{terminals.a3a9bc56.js → terminals.dcdca739.js} +1 -1
- package/dist/client/_nuxt/{unocss-runtime.2f120d48.js → unocss-runtime.cfd98600.js} +1 -1
- package/dist/client/_nuxt/{virtual-files.c0c7f5bc.js → virtual-files.3a24df07.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/client/modules/analyze-build/index.html +2 -2
- package/dist/client/modules/assets/index.html +2 -2
- package/dist/client/modules/components/index.html +2 -2
- package/dist/client/modules/hooks/index.html +2 -2
- package/dist/client/modules/imports/index.html +2 -2
- package/dist/client/modules/middleware/index.html +2 -2
- package/dist/client/modules/modules/index.html +2 -2
- package/dist/client/modules/open-graph/index.html +2 -2
- package/dist/client/modules/overview/index.html +2 -2
- package/dist/client/modules/pages/index.html +2 -2
- package/dist/client/modules/payload/index.html +2 -2
- package/dist/client/modules/plugins/index.html +2 -2
- package/dist/client/modules/runtime-configs/index.html +2 -2
- package/dist/client/modules/server-routes/index.html +2 -2
- package/dist/client/modules/storage/index.html +2 -2
- package/dist/client/modules/terminals/index.html +2 -2
- package/dist/client/modules/virtual-files/index.html +2 -2
- package/dist/client/settings/index.html +2 -2
- package/dist/module.json +1 -1
- package/package.json +10 -10
|
@@ -4,16 +4,16 @@ function Fa(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.leng
|
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/const Vn=typeof window<"u";function f0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Pe=Object.assign;function Ii(e,t){const n={};for(const r in t){const s=t[r];n[r]=Tt(s)?s.map(e):e(s)}return n}const fs=()=>{},Tt=Array.isArray,d0=/\/$/,h0=e=>e.replace(d0,"");function ji(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=v0(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function p0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Uc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function m0(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&fr(t.matched[r],n.matched[s])&&Th(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Th(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!g0(e[n],t[n]))return!1;return!0}function g0(e,t){return Tt(e)?Wc(e,t):Tt(t)?Wc(t,e):e===t}function Wc(e,t){return Tt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function v0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var xs;(function(e){e.pop="pop",e.push="push"})(xs||(xs={}));var ds;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ds||(ds={}));function _0(e){if(!e)if(Vn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),h0(e)}const y0=/^[^#]+#/;function b0(e,t){return e.replace(y0,"#")+t}function w0(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ai=()=>({left:window.pageXOffset,top:window.pageYOffset});function E0(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=w0(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Gc(e,t){return(history.state?history.state.position-t:-1)+e}const Ea=new Map;function T0(e,t){Ea.set(e,t)}function $0(e){const t=Ea.get(e);return Ea.delete(e),t}let S0=()=>location.protocol+"//"+location.host;function $h(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Uc(l,"")}return Uc(n,e)+r+s}function P0(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const m=$h(e,location),g=n.value,S=t.value;let P=0;if(d){if(n.value=m,t.value=d,i&&i===g){i=null;return}P=S?d.position-S.position:0}else r(m);s.forEach(v=>{v(n.value,g,{delta:P,type:xs.pop,direction:P?P>0?ds.forward:ds.back:ds.unknown})})};function l(){i=n.value}function c(d){s.push(d);const m=()=>{const g=s.indexOf(d);g>-1&&s.splice(g,1)};return o.push(m),m}function f(){const{history:d}=window;d.state&&d.replaceState(Pe({},d.state,{scroll:ai()}),"")}function u(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:l,listen:c,destroy:u}}function Vc(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ai():null}}function x0(e){const{history:t,location:n}=window,r={value:$h(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,f){const u=e.indexOf("#"),d=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+l:S0()+e+l;try{t[f?"replaceState":"pushState"](c,"",d),s.value=c}catch(m){console.error(m),n[f?"replace":"assign"](d)}}function i(l,c){const f=Pe({},t.state,Vc(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,f,!0),r.value=l}function a(l,c){const f=Pe({},s.value,t.state,{forward:l,scroll:ai()});o(f.current,f,!0);const u=Pe({},Vc(r.value,l,null),{position:f.position+1},c);o(l,u,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function Sh(e){e=_0(e);const t=x0(e),n=P0(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Pe({location:"",base:e,go:r,createHref:b0.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function k0(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Sh(e)}function A0(e){return typeof e=="string"||e&&typeof e=="object"}function Ph(e){return typeof e=="string"||typeof e=="symbol"}const At={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xh=Symbol("");var zc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(zc||(zc={}));function dr(e,t){return Pe(new Error,{type:e,[xh]:!0},t)}function It(e,t){return e instanceof Error&&xh in e&&(t==null||!!(e.type&t))}const qc="[^/]+?",R0={sensitive:!1,strict:!1,start:!0,end:!0},O0=/[.+*?^${}()[\]/\\]/g;function N0(e,t){const n=Pe({},R0,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const f=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let u=0;u<c.length;u++){const d=c[u];let m=40+(n.sensitive?.25:0);if(d.type===0)u||(s+="/"),s+=d.value.replace(O0,"\\$&"),m+=40;else if(d.type===1){const{value:g,repeatable:S,optional:P,regexp:v}=d;o.push({name:g,repeatable:S,optional:P});const p=v||qc;if(p!==qc){m+=10;try{new RegExp(`(${p})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${g}" (${p}): `+E.message)}}let w=S?`((?:${p})(?:/(?:${p}))*)`:`(${p})`;u||(w=P&&c.length<2?`(?:/${w})`:"/"+w),P&&(w+="?"),s+=w,m+=20,P&&(m+=-8),S&&(m+=-20),p===".*"&&(m+=-50)}f.push(m)}r.push(f)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(c){const f=c.match(i),u={};if(!f)return null;for(let d=1;d<f.length;d++){const m=f[d]||"",g=o[d-1];u[g.name]=m&&g.repeatable?m.split("/"):m}return u}function l(c){let f="",u=!1;for(const d of e){(!u||!f.endsWith("/"))&&(f+="/"),u=!1;for(const m of d)if(m.type===0)f+=m.value;else if(m.type===1){const{value:g,repeatable:S,optional:P}=m,v=g in c?c[g]:"";if(Tt(v)&&!S)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const p=Tt(v)?v.join("/"):v;if(!p)if(P)d.length<2&&(f.endsWith("/")?f=f.slice(0,-1):u=!0);else throw new Error(`Missing required param "${g}"`);f+=p}}return f||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function C0(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function L0(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=C0(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Kc(r))return 1;if(Kc(s))return-1}return s.length-r.length}function Kc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const I0={type:0,value:""},j0=/[a-zA-Z0-9_]/;function M0(e){if(!e)return[[]];if(e==="/")return[[I0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",f="";function u(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:f,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&u(),i()):l===":"?(u(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:j0.test(l)?d():(u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+l:n=3:f+=l;break;case 3:u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),u(),i(),s}function D0(e,t,n){const r=N0(M0(e.path),n),s=Pe(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function F0(e,t){const n=[],r=new Map;t=Jc({strict:!1,end:!0,sensitive:!1},t);function s(f){return r.get(f)}function o(f,u,d){const m=!d,g=B0(f);g.aliasOf=d&&d.record;const S=Jc(t,f),P=[g];if("alias"in f){const w=typeof f.alias=="string"?[f.alias]:f.alias;for(const E of w)P.push(Pe({},g,{components:d?d.record.components:g.components,path:E,aliasOf:d?d.record:g}))}let v,p;for(const w of P){const{path:E}=w;if(u&&E[0]!=="/"){const T=u.record.path,h=T[T.length-1]==="/"?"":"/";w.path=u.record.path+(E&&h+E)}if(v=D0(w,u,S),d?d.alias.push(v):(p=p||v,p!==v&&p.alias.push(v),m&&f.name&&!Yc(v)&&i(f.name)),g.children){const T=g.children;for(let h=0;h<T.length;h++)o(T[h],v,d&&d.children[h])}d=d||v,(v.record.components&&Object.keys(v.record.components).length||v.record.name||v.record.redirect)&&l(v)}return p?()=>{i(p)}:fs}function i(f){if(Ph(f)){const u=r.get(f);u&&(r.delete(f),n.splice(n.indexOf(u),1),u.children.forEach(i),u.alias.forEach(i))}else{const u=n.indexOf(f);u>-1&&(n.splice(u,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){let u=0;for(;u<n.length&&L0(f,n[u])>=0&&(f.record.path!==n[u].record.path||!kh(f,n[u]));)u++;n.splice(u,0,f),f.record.name&&!Yc(f)&&r.set(f.record.name,f)}function c(f,u){let d,m={},g,S;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw dr(1,{location:f});S=d.record.name,m=Pe(Xc(u.params,d.keys.filter(p=>!p.optional).map(p=>p.name)),f.params&&Xc(f.params,d.keys.map(p=>p.name))),g=d.stringify(m)}else if("path"in f)g=f.path,d=n.find(p=>p.re.test(g)),d&&(m=d.parse(g),S=d.record.name);else{if(d=u.name?r.get(u.name):n.find(p=>p.re.test(u.path)),!d)throw dr(1,{location:f,currentLocation:u});S=d.record.name,m=Pe({},u.params,f.params),g=d.stringify(m)}const P=[];let v=d;for(;v;)P.unshift(v.record),v=v.parent;return{name:S,path:g,params:m,matched:P,meta:U0(P)}}return e.forEach(f=>o(f)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function Xc(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function B0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:H0(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 H0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Yc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function U0(e){return e.reduce((t,n)=>Pe(t,n.meta),{})}function Jc(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function kh(e,t){return t.children.some(n=>n===e||kh(e,n))}const Ah=/#/g,W0=/&/g,G0=/\//g,V0=/=/g,z0=/\?/g,Rh=/\+/g,q0=/%5B/g,K0=/%5D/g,Oh=/%5E/g,X0=/%60/g,Nh=/%7B/g,Y0=/%7C/g,Ch=/%7D/g,J0=/%20/g;function _l(e){return encodeURI(""+e).replace(Y0,"|").replace(q0,"[").replace(K0,"]")}function Q0(e){return _l(e).replace(Nh,"{").replace(Ch,"}").replace(Oh,"^")}function Ta(e){return _l(e).replace(Rh,"%2B").replace(J0,"+").replace(Ah,"%23").replace(W0,"%26").replace(X0,"`").replace(Nh,"{").replace(Ch,"}").replace(Oh,"^")}function Z0(e){return Ta(e).replace(V0,"%3D")}function eb(e){return _l(e).replace(Ah,"%23").replace(z0,"%3F")}function tb(e){return e==null?"":eb(e).replace(G0,"%2F")}function Ro(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function nb(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Rh," "),i=o.indexOf("="),a=Ro(i<0?o:o.slice(0,i)),l=i<0?null:Ro(o.slice(i+1));if(a in t){let c=t[a];Tt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Qc(e){let t="";for(let n in e){const r=e[n];if(n=Z0(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Tt(r)?r.map(o=>o&&Ta(o)):[r&&Ta(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function rb(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Tt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const sb=Symbol(""),Zc=Symbol(""),yl=Symbol(""),bl=Symbol(""),$a=Symbol("");function Rr(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function an(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=u=>{u===!1?a(dr(4,{from:n,to:t})):u instanceof Error?a(u):A0(u)?a(dr(2,{from:t,to:u})):(o&&r.enterCallbacks[s]===o&&typeof u=="function"&&o.push(u),i())},c=e.call(r&&r.instances[s],t,n,l);let f=Promise.resolve(c);e.length<3&&(f=f.then(l)),f.catch(u=>a(u))})}function Mi(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(ob(a)){const c=(a.__vccOpts||a)[t];c&&s.push(an(c,n,r,o,i))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const f=f0(c)?c.default:c;o.components[i]=f;const d=(f.__vccOpts||f)[t];return d&&an(d,n,r,o,i)()}))}}return s}function ob(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function eu(e){const t=tt(yl),n=tt(bl),r=de(()=>t.resolve(re(e.to))),s=de(()=>{const{matched:l}=r.value,{length:c}=l,f=l[c-1],u=n.matched;if(!f||!u.length)return-1;const d=u.findIndex(fr.bind(null,f));if(d>-1)return d;const m=tu(l[c-2]);return c>1&&tu(f)===m&&u[u.length-1].path!==m?u.findIndex(fr.bind(null,l[c-2])):d}),o=de(()=>s.value>-1&&cb(n.params,r.value.params)),i=de(()=>s.value>-1&&s.value===n.matched.length-1&&Th(n.params,r.value.params));function a(l={}){return lb(l)?t[re(e.replace)?"replace":"push"](re(e.to)).catch(fs):Promise.resolve()}return{route:r,href:de(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const ib=xe({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:eu,setup(e,{slots:t}){const n=at(eu(e)),{options:r}=tt(yl),s=de(()=>({[nu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[nu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:qe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),ab=ib;function lb(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 cb(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Tt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function tu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const nu=(e,t,n)=>e??t??n,ub=xe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=tt($a),s=de(()=>e.route||r.value),o=tt(Zc,0),i=de(()=>{let c=re(o);const{matched:f}=s.value;let u;for(;(u=f[c])&&!u.components;)c++;return c}),a=de(()=>s.value.matched[i.value]);er(Zc,de(()=>i.value+1)),er(sb,a),er($a,s);const l=Z();return Ce(()=>[l.value,a.value,e.name],([c,f,u],[d,m,g])=>{f&&(f.instances[u]=c,m&&m!==f&&c&&c===d&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),c&&f&&(!m||!fr(f,m)||!d)&&(f.enterCallbacks[u]||[]).forEach(S=>S(c))},{flush:"post"}),()=>{const c=s.value,f=e.name,u=a.value,d=u&&u.components[f];if(!d)return ru(n.default,{Component:d,route:c});const m=u.props[f],g=m?m===!0?c.params:typeof m=="function"?m(c):m:null,P=qe(d,Pe({},g,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(u.instances[f]=null)},ref:l}));return ru(n.default,{Component:P,route:c})||P}}});function ru(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Lh=ub;function fb(e){const t=F0(e.routes,e),n=e.parseQuery||nb,r=e.stringifyQuery||Qc,s=e.history,o=Rr(),i=Rr(),a=Rr(),l=Cn(At);let c=At;Vn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Ii.bind(null,C=>""+C),u=Ii.bind(null,tb),d=Ii.bind(null,Ro);function m(C,X){let W,ee;return Ph(C)?(W=t.getRecordMatcher(C),ee=X):ee=C,t.addRoute(ee,W)}function g(C){const X=t.getRecordMatcher(C);X&&t.removeRoute(X)}function S(){return t.getRoutes().map(C=>C.record)}function P(C){return!!t.getRecordMatcher(C)}function v(C,X){if(X=Pe({},X||l.value),typeof C=="string"){const L=ji(n,C,X.path),D=t.resolve({path:L.path},X),F=s.createHref(L.fullPath);return Pe(L,D,{params:d(D.params),hash:Ro(L.hash),redirectedFrom:void 0,href:F})}let W;if("path"in C)W=Pe({},C,{path:ji(n,C.path,X.path).path});else{const L=Pe({},C.params);for(const D in L)L[D]==null&&delete L[D];W=Pe({},C,{params:u(L)}),X.params=u(X.params)}const ee=t.resolve(W,X),ve=C.hash||"";ee.params=f(d(ee.params));const O=p0(r,Pe({},C,{hash:Q0(ve),path:ee.path})),N=s.createHref(O);return Pe({fullPath:O,hash:ve,query:r===Qc?rb(C.query):C.query||{}},ee,{redirectedFrom:void 0,href:N})}function p(C){return typeof C=="string"?ji(n,C,l.value.path):Pe({},C)}function w(C,X){if(c!==C)return dr(8,{from:X,to:C})}function E(C){return b(C)}function T(C){return E(Pe(p(C),{replace:!0}))}function h(C){const X=C.matched[C.matched.length-1];if(X&&X.redirect){const{redirect:W}=X;let ee=typeof W=="function"?W(C):W;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=p(ee):{path:ee},ee.params={}),Pe({query:C.query,hash:C.hash,params:"path"in ee?{}:C.params},ee)}}function b(C,X){const W=c=v(C),ee=l.value,ve=C.state,O=C.force,N=C.replace===!0,L=h(W);if(L)return b(Pe(p(L),{state:typeof L=="object"?Pe({},ve,L.state):ve,force:O,replace:N}),X||W);const D=W;D.redirectedFrom=X;let F;return!O&&m0(r,ee,W)&&(F=dr(16,{to:D,from:ee}),J(ee,ee,!0,!1)),(F?Promise.resolve(F):$(D,ee)).catch(G=>It(G)?It(G,2)?G:te(G):B(G,D,ee)).then(G=>{if(G){if(It(G,2))return b(Pe({replace:N},p(G.to),{state:typeof G.to=="object"?Pe({},ve,G.to.state):ve,force:O}),X||D)}else G=k(D,ee,!0,N,ve);return x(D,ee,G),G})}function y(C,X){const W=w(C,X);return W?Promise.reject(W):Promise.resolve()}function _(C){const X=ae.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(C):C()}function $(C,X){let W;const[ee,ve,O]=db(C,X);W=Mi(ee.reverse(),"beforeRouteLeave",C,X);for(const L of ee)L.leaveGuards.forEach(D=>{W.push(an(D,C,X))});const N=y.bind(null,C,X);return W.push(N),ye(W).then(()=>{W=[];for(const L of o.list())W.push(an(L,C,X));return W.push(N),ye(W)}).then(()=>{W=Mi(ve,"beforeRouteUpdate",C,X);for(const L of ve)L.updateGuards.forEach(D=>{W.push(an(D,C,X))});return W.push(N),ye(W)}).then(()=>{W=[];for(const L of C.matched)if(L.beforeEnter&&!X.matched.includes(L))if(Tt(L.beforeEnter))for(const D of L.beforeEnter)W.push(an(D,C,X));else W.push(an(L.beforeEnter,C,X));return W.push(N),ye(W)}).then(()=>(C.matched.forEach(L=>L.enterCallbacks={}),W=Mi(O,"beforeRouteEnter",C,X),W.push(N),ye(W))).then(()=>{W=[];for(const L of i.list())W.push(an(L,C,X));return W.push(N),ye(W)}).catch(L=>It(L,8)?L:Promise.reject(L))}function x(C,X,W){for(const ee of a.list())_(()=>ee(C,X,W))}function k(C,X,W,ee,ve){const O=w(C,X);if(O)return O;const N=X===At,L=Vn?history.state:{};W&&(ee||N?s.replace(C.fullPath,Pe({scroll:N&&L&&L.scroll},ve)):s.push(C.fullPath,ve)),l.value=C,J(C,X,W,N),te()}let A;function R(){A||(A=s.listen((C,X,W)=>{if(!ge.listening)return;const ee=v(C),ve=h(ee);if(ve){b(Pe(ve,{replace:!0}),ee).catch(fs);return}c=ee;const O=l.value;Vn&&T0(Gc(O.fullPath,W.delta),ai()),$(ee,O).catch(N=>It(N,12)?N:It(N,2)?(b(N.to,ee).then(L=>{It(L,20)&&!W.delta&&W.type===xs.pop&&s.go(-1,!1)}).catch(fs),Promise.reject()):(W.delta&&s.go(-W.delta,!1),B(N,ee,O))).then(N=>{N=N||k(ee,O,!1),N&&(W.delta&&!It(N,8)?s.go(-W.delta,!1):W.type===xs.pop&&It(N,20)&&s.go(-1,!1)),x(ee,O,N)}).catch(fs)}))}let I=Rr(),j=Rr(),H;function B(C,X,W){te(C);const ee=j.list();return ee.length?ee.forEach(ve=>ve(C,X,W)):console.error(C),Promise.reject(C)}function K(){return H&&l.value!==At?Promise.resolve():new Promise((C,X)=>{I.add([C,X])})}function te(C){return H||(H=!C,R(),I.list().forEach(([X,W])=>C?W(C):X()),I.reset()),C}function J(C,X,W,ee){const{scrollBehavior:ve}=e;if(!Vn||!ve)return Promise.resolve();const O=!W&&$0(Gc(C.fullPath,0))||(ee||!W)&&history.state&&history.state.scroll||null;return Lt().then(()=>ve(C,X,O)).then(N=>N&&E0(N)).catch(N=>B(N,C,X))}const Q=C=>s.go(C);let ce;const ae=new Set,ge={currentRoute:l,listening:!0,addRoute:m,removeRoute:g,hasRoute:P,getRoutes:S,resolve:v,options:e,push:E,replace:T,go:Q,back:()=>Q(-1),forward:()=>Q(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:j.add,isReady:K,install(C){const X=this;C.component("RouterLink",ab),C.component("RouterView",Lh),C.config.globalProperties.$router=X,Object.defineProperty(C.config.globalProperties,"$route",{enumerable:!0,get:()=>re(l)}),Vn&&!ce&&l.value===At&&(ce=!0,E(s.location).catch(ve=>{}));const W={};for(const ve in At)W[ve]=de(()=>l.value[ve]);C.provide(yl,X),C.provide(bl,at(W)),C.provide($a,l);const ee=C.unmount;ae.add(C),C.unmount=function(){ae.delete(C),ae.size<1&&(c=At,A&&A(),A=null,l.value=At,ce=!1,H=!1),ee()}}};function ye(C){return C.reduce((X,W)=>X.then(()=>_(W)),Promise.resolve())}return ge}function db(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>fr(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>fr(c,l))||s.push(l))}return[n,r,s]}function hb(){return tt(bl)}const Or={layout:"none"},Nr={layout:"none"},pb=()=>null;function Ls(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");s.server=s.server??!0,s.default=s.default??pb,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0;const o=Re(),i=()=>o.isHydrating?o.payload.data[n]:o.static.data[n],a=()=>i()!==void 0;o._asyncData[n]||(o._asyncData[n]={data:Z(i()??s.default()),pending:Z(!a()),error:Yo(o.payload._errors,n)});const l={...o._asyncData[n]};l.refresh=l.execute=(d={})=>{if(o._asyncDataPromises[n]){if(d.dedupe===!1)return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((d._initial||o.isHydrating&&d._initial!==!1)&&a())return i();l.pending.value=!0;const m=new Promise((g,S)=>{try{g(r(o))}catch(P){S(P)}}).then(g=>{if(m.cancelled)return o._asyncDataPromises[n];let S=g;s.transform&&(S=s.transform(g)),s.pick&&(S=mb(S,s.pick)),l.data.value=S,l.error.value=null}).catch(g=>{if(m.cancelled)return o._asyncDataPromises[n];l.error.value=g,l.data.value=re(s.default())}).finally(()=>{m.cancelled||(l.pending.value=!1,o.payload.data[n]=l.data.value,l.error.value&&(o.payload._errors[n]=ii(l.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=m,o._asyncDataPromises[n]};const c=()=>l.refresh({_initial:!0}),f=s.server!==!1&&o.payload.serverRendered;{const d=pt();if(d&&!d._nuxtOnBeforeMountCbs){d._nuxtOnBeforeMountCbs=[];const g=d._nuxtOnBeforeMountCbs;d&&(Ed(()=>{g.forEach(S=>{S()}),g.splice(0,g.length)}),Eo(()=>g.splice(0,g.length)))}f&&o.isHydrating&&a()?l.pending.value=!1:d&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?d._nuxtOnBeforeMountCbs.push(c):s.immediate&&c(),s.watch&&Ce(s.watch,()=>l.refresh());const m=o.hook("app:data:refresh",g=>{if(!g||g.includes(n))return l.refresh()});d&&Eo(m)}const u=Promise.resolve(o._asyncDataPromises[n]).then(()=>l);return Object.assign(u,l),u}function mb(e,t){const n={};for(const r of t)n[r]=e[r];return n}const gb={ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1};function vb(e,t={}){t={...gb,...t};const n=Ih(t);return n.dispatch(e),n.toString()}function Ih(e){const t=[];let n=[];const r=s=>{t.push(s)};return{toString(){return t.join("")},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this["_"+(s===null?"null":typeof s)](s)},_object(s){if(s&&typeof s.toJSON=="function")return this._object(s.toJSON());const o=/\[object (.*)]/i,i=Object.prototype.toString.call(s),a=o.exec(i),l=a?a[1].toLowerCase():"unknown:["+i.toLowerCase()+"]";let c=null;if((c=n.indexOf(s))>=0)return this.dispatch("[CIRCULAR:"+c+"]");if(n.push(s),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(l!=="object"&&l!=="function"&&l!=="asyncfunction")this["_"+l]?this["_"+l](s):e.ignoreUnknown||this._unkown(s,l);else{let f=Object.keys(s);e.unorderedObjects&&(f=f.sort()),e.respectType!==!1&&!su(s)&&f.splice(0,0,"prototype","__proto__","letructor"),e.excludeKeys&&(f=f.filter(function(u){return!e.excludeKeys(u)})),r("object:"+f.length+":");for(const u of f)this.dispatch(u),r(":"),e.excludeValues||this.dispatch(s[u]),r(",")}},_array(s,o){if(o=typeof o<"u"?o:e.unorderedArrays!==!1,r("array:"+s.length+":"),!o||s.length<=1){for(const l of s)this.dispatch(l);return}const i=[],a=s.map(l=>{const c=Ih(e);return c.dispatch(l),i.push(c.getContext()),c.toString()});return n=[...n,...i],a.sort(),this._array(a,!1)},_date(s){return r("date:"+s.toJSON())},_symbol(s){return r("symbol:"+s.toString())},_unkown(s,o){if(r(o),!!s&&(r(":"),s&&typeof s.entries=="function"))return this._array(Array.from(s.entries()),!0)},_error(s){return r("error:"+s.toString())},_boolean(s){return r("bool:"+s.toString())},_string(s){r("string:"+s.length+":"),r(s.toString())},_function(s){r("fn:"),su(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this._object(s)},_number(s){return r("number:"+s.toString())},_xml(s){return r("xml:"+s.toString())},_null(){return r("Null")},_undefined(){return r("Undefined")},_regexp(s){return r("regex:"+s.toString())},_uint8array(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint8clampedarray(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},_int8array(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint16array(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},_int16array(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},_uint32array(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},_int32array(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},_float32array(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},_float64array(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},_arraybuffer(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},_url(s){return r("url:"+s.toString())},_map(s){r("map:");const o=[...s];return this._array(o,e.unorderedSets!==!1)},_set(s){r("set:");const o=[...s];return this._array(o,e.unorderedSets!==!1)},_file(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},_blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported
|
|
6
6
|
Use "options.replacer" or "options.ignoreUnknown"
|
|
7
|
-
`)},_domwindow(){return r("domwindow")},_bigint(s){return r("bigint:"+s.toString())},_process(){return r("process")},_timer(){return r("timer")},_pipe(){return r("pipe")},_tcp(){return r("tcp")},_udp(){return r("udp")},_tty(){return r("tty")},_statwatcher(){return r("statwatcher")},_securecontext(){return r("securecontext")},_connection(){return r("connection")},_zlib(){return r("zlib")},_context(){return r("context")},_nodescript(){return r("nodescript")},_httpparser(){return r("httpparser")},_dataview(){return r("dataview")},_signal(){return r("signal")},_fsevent(){return r("fsevent")},_tlswrap(){return r("tlswrap")}}}function su(e){return typeof e!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code]\s+}$/i.exec(Function.prototype.toString.call(e))!=null}class hr{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||_b).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new hr([...this.words])}}const _b={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},yb={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const s=e.words[r>>>2]>>>24-r%4*8&255,o=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=s<<16|o<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(a>>>6*(3-l)&63))}return n.join("")}},bb={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new hr(n,t)}},wb={parse(e){return bb.parse(unescape(encodeURIComponent(e)))}};class Eb{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new hr,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=wb.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*this.blockSize,o=Math.min(s*4,this._data.sigBytes);if(s){for(let i=0;i<s;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,s),this._data.sigBytes-=o}return new hr(n,o)}}class Tb extends Eb{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const $b=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Sb=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],bn=[];class Pb extends Tb{constructor(){super(),this.reset()}reset(){super.reset(),this._hash=new hr([...$b])}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],l=r[4],c=r[5],f=r[6],u=r[7];for(let d=0;d<64;d++){if(d<16)bn[d]=t[n+d]|0;else{const w=bn[d-15],E=(w<<25|w>>>7)^(w<<14|w>>>18)^w>>>3,T=bn[d-2],h=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;bn[d]=E+bn[d-7]+h+bn[d-16]}const m=l&c^~l&f,g=s&o^s&i^o&i,S=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),P=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),v=u+P+m+Sb[d]+bn[d],p=S+g;u=f,f=c,c=l,l=a+v|0,a=i,i=o,o=s,s=v+p|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+f|0,r[7]=r[7]+u|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function xb(e){return new Pb().finalize(e).toString(yb)}function kb(e,t={}){const n=typeof e=="string"?e:vb(e,t);return xb(n).slice(0,10)}function Ab(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=r.key||kb([s,re(r.baseURL),typeof e=="string"?e:"",re(r.params||r.query)]);if(!o||typeof o!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+o);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const i=o===s?"$f"+o:o,a=de(()=>{let E=e;return typeof E=="function"&&(E=E()),re(E)});if(!r.baseURL&&typeof a.value=="string"&&a.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:f,transform:u,pick:d,watch:m,immediate:g,...S}=r,P=at({...S,cache:typeof r.cache=="boolean"?void 0:r.cache}),v={server:l,lazy:c,default:f,transform:u,pick:d,immediate:g,watch:m===!1?[]:[P,a,...m||[]]};let p;return Ls(i,()=>(p?.abort?.(),p=typeof AbortController<"u"?new AbortController:{},typeof a.value=="string"&&a.value.startsWith("/"),(r.$fetch||globalThis.$fetch)(a.value,{signal:p.signal,...P})),v)}const Sa=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Rb=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ob=e=>{const t=Re();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Sa(e)}):Sa(e)};async function jh(e,t=gt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>jh(e,t));t._routePreloaded.add(n);const o=r.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}function Nb(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Re().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Cb=(...e)=>e.find(t=>t!==void 0),Lb="noopener noreferrer";function Ib(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?rh:ml;if(typeof r=="string")return o(r,!0);const i="path"in r?r.path:s(r).path;return{...r,name:void 0,path:o(i,!0)}};return xe({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:s}){const o=gt(),i=de(()=>{const u=r.to||r.href||"";return n(u,o.resolve)}),a=de(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Tr(i.value,{acceptRelative:!0})),l=Z(!1),c=Z(null),f=u=>{c.value=r.custom?u?.$el?.nextElementSibling:u?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!Mb()){const d=Re();let m,g=null;Yt(()=>{const S=jb();Ob(()=>{m=Sa(()=>{c?.value?.tagName&&(g=S.observe(c.value,async()=>{g?.(),g=null;const P=typeof i.value=="string"?i.value:o.resolve(i.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",P).catch(()=>{}),!a.value&&jh(i.value,o).catch(()=>{})]),l.value=!0}))})})}),Er(()=>{m&&Rb(m),g?.(),g=null})}return()=>{if(!a.value){const S={ref:f,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(l.value&&(S.class=r.prefetchedClass||e.prefetchedClass),S.rel=r.rel),qe(hn("RouterLink"),S,s.default)}const u=typeof i.value=="object"?o.resolve(i.value)?.href??null:i.value||null,d=r.target||null,m=r.noRel?null:Cb(r.rel,e.externalRelAttribute,u?Lb:"")||null,g=()=>Eh(u,{replace:r.replace});return r.custom?s.default?s.default({href:u,navigate:g,get route(){if(!u)return;const S=Cs(u);return{path:S.pathname,fullPath:S.pathname,get query(){return nh(S.search)},hash:S.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u}},rel:m,target:d,isExternal:a.value,isActive:!1,isExactActive:!1}):null:qe("a",{ref:c,href:u,rel:m,target:d},s.default?.())}}})}const wl=Ib({componentName:"NuxtLink"});function jb(){const e=Re();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function Mb(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function zt(e){return Gf()?(_m(e),!0):!1}function ze(e){return typeof e=="function"?e():re(e)}const Ln=typeof window<"u",Db=e=>typeof e<"u",pr=()=>{},Fb=Bb();function Bb(){var e;return Ln&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function Mh(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const Dh=e=>e();function Hb(e,t={}){let n,r,s=pr;const o=a=>{clearTimeout(a),s(),s=pr};return a=>{const l=ze(e),c=ze(t.maxWait);return n&&o(n),l<=0||c!==void 0&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((f,u)=>{s=t.rejectOnCancel?u:f,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,f(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,f(a())},l)})}}function Ub(e=Dh){const t=Z(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Fn(t),pause:n,resume:r,eventFilter:s}}function ou(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function Wb(...e){if(e.length!==1)return Yo(...e);const t=e[0];return typeof t=="function"?Fn(od(()=>({get:t,set:pr}))):Z(t)}function Gb(e,t=200,n={}){return Mh(Hb(t,n),e)}function Vb(e,t=200,n={}){const r=Z(e.value),s=Gb(()=>{r.value=e.value},t,n);return Ce(e,()=>s()),r}var zb=Object.defineProperty,qb=Object.defineProperties,Kb=Object.getOwnPropertyDescriptors,iu=Object.getOwnPropertySymbols,Xb=Object.prototype.hasOwnProperty,Yb=Object.prototype.propertyIsEnumerable,au=(e,t,n)=>t in e?zb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jb=(e,t)=>{for(var n in t||(t={}))Xb.call(t,n)&&au(e,n,t[n]);if(iu)for(var n of iu(t))Yb.call(t,n)&&au(e,n,t[n]);return e},Qb=(e,t)=>qb(e,Kb(t));function Zb(e){if(!Me(e))return Ym(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=od(()=>({get(){return e.value[n]},set(r){if(Array.isArray(e.value)){const s=[...e.value];s[n]=r,e.value=s}else{const s=Qb(Jb({},e.value),{[n]:r});Object.setPrototypeOf(s,e.value),e.value=s}}}));return t}function El(e,t=!0){pt()?Yt(e):t?e():Lt(e)}function Pa(e,t=!1){function n(u,{flush:d="sync",deep:m=!1,timeout:g,throwOnTimeout:S}={}){let P=null;const p=[new Promise(w=>{P=Ce(e,E=>{u(E)!==t&&(P?.(),w(E))},{flush:d,deep:m,immediate:!0})})];return g!=null&&p.push(ou(g,S).then(()=>ze(e)).finally(()=>P?.())),Promise.race(p)}function r(u,d){if(!Me(u))return n(E=>E===u,d);const{flush:m="sync",deep:g=!1,timeout:S,throwOnTimeout:P}=d??{};let v=null;const w=[new Promise(E=>{v=Ce([e,u],([T,h])=>{t!==(T===h)&&(v?.(),E(T))},{flush:m,deep:g,immediate:!0})})];return S!=null&&w.push(ou(S,P).then(()=>ze(e)).finally(()=>(v?.(),ze(e)))),Promise.race(w)}function s(u){return n(d=>!!d,u)}function o(u){return r(null,u)}function i(u){return r(void 0,u)}function a(u){return n(Number.isNaN,u)}function l(u,d){return n(m=>{const g=Array.from(m);return g.includes(u)||g.includes(ze(u))},d)}function c(u){return f(1,u)}function f(u=1,d){let m=-1;return n(()=>(m+=1,m>=u),d)}return Array.isArray(ze(e))?{toMatch:n,toContains:l,changed:c,changedTimes:f,get not(){return Pa(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:f,get not(){return Pa(e,!t)}}}function SA(e){return Pa(e)}function e1(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let o=null;const i=Z(!1);function a(){o&&(clearInterval(o),o=null)}function l(){i.value=!1,a()}function c(){const f=ze(t);f<=0||(i.value=!0,s&&e(),a(),o=setInterval(e,f))}if(r&&Ln&&c(),Me(t)||typeof t=="function"){const f=Ce(t,()=>{i.value&&Ln&&c()});zt(f)}return zt(l),{isActive:i,pause:l,resume:c}}function t1(e,t,n={}){const{immediate:r=!0}=n,s=Z(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function a(){s.value=!1,i()}function l(...c){i(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...c)},ze(t))}return r&&(s.value=!0,Ln&&l()),zt(a),{isPending:Fn(s),start:l,stop:a}}var lu=Object.getOwnPropertySymbols,n1=Object.prototype.hasOwnProperty,r1=Object.prototype.propertyIsEnumerable,s1=(e,t)=>{var n={};for(var r in e)n1.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&lu)for(var r of lu(e))t.indexOf(r)<0&&r1.call(e,r)&&(n[r]=e[r]);return n};function o1(e,t,n={}){const r=n,{eventFilter:s=Dh}=r,o=s1(r,["eventFilter"]);return Ce(e,Mh(s,t),o)}var i1=Object.defineProperty,a1=Object.defineProperties,l1=Object.getOwnPropertyDescriptors,Oo=Object.getOwnPropertySymbols,Fh=Object.prototype.hasOwnProperty,Bh=Object.prototype.propertyIsEnumerable,cu=(e,t,n)=>t in e?i1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c1=(e,t)=>{for(var n in t||(t={}))Fh.call(t,n)&&cu(e,n,t[n]);if(Oo)for(var n of Oo(t))Bh.call(t,n)&&cu(e,n,t[n]);return e},u1=(e,t)=>a1(e,l1(t)),f1=(e,t)=>{var n={};for(var r in e)Fh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Oo)for(var r of Oo(e))t.indexOf(r)<0&&Bh.call(e,r)&&(n[r]=e[r]);return n};function d1(e,t,n={}){const r=n,{eventFilter:s}=r,o=f1(r,["eventFilter"]),{eventFilter:i,pause:a,resume:l,isActive:c}=Ub(s);return{stop:o1(e,t,u1(c1({},o),{eventFilter:i})),pause:a,resume:l,isActive:c}}function PA(e,t,n){let r;Me(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:a=pr}=r,l=Z(!s),c=i?Cn(t):Z(t);let f=0;return rr(async u=>{if(!l.value)return;f++;const d=f;let m=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const g=await e(S=>{u(()=>{o&&(o.value=!1),m||S()})});d===f&&(c.value=g)}catch(g){a(g)}finally{o&&d===f&&(o.value=!1),m=!0}}),s?de(()=>(l.value=!0,c.value)):c}function Hh(e={}){let t=0;const n=Z([]);function r(...i){const a=Ya({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=f=>(a.isResolving=!0,l(f)),a.reject=c}).finally(()=>{a.promise=void 0;const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}),a.promise}function s(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const o=xe((i,{slots:a})=>{const l=()=>n.value.map(c=>{var f;return qe(Ne,{key:c.key},(f=a.default)==null?void 0:f.call(a,c))});return e.transition?()=>qe(Av,e.transition,l):l});return o.start=s,o}function it(e){var t;const n=ze(e);return(t=n?.$el)!=null?t:n}const $t=Ln?window:void 0,h1=Ln?window.document:void 0,p1=Ln?window.navigator:void 0;function Nt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=$t):[t,n,r,s]=e,!t)return pr;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},a=(f,u,d,m)=>(f.addEventListener(u,d,m),()=>f.removeEventListener(u,d,m)),l=Ce(()=>[it(t),ze(s)],([f,u])=>{i(),f&&o.push(...n.flatMap(d=>r.map(m=>a(f,d,m,u))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return zt(c),c}let uu=!1;function m1(e,t,n={}){const{window:r=$t,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;Fb&&!uu&&(uu=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",pr)));let a=!0;const l=d=>s.some(m=>{if(typeof m=="string")return Array.from(r.document.querySelectorAll(m)).some(g=>g===d.target||d.composedPath().includes(g));{const g=it(m);return g&&(d.target===g||d.composedPath().includes(g))}}),f=[Nt(r,"click",d=>{const m=it(e);if(!(!m||m===d.target||d.composedPath().includes(m))){if(d.detail===0&&(a=!l(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:o}),Nt(r,"pointerdown",d=>{const m=it(e);m&&(a=!d.composedPath().includes(m)&&!l(d))},{passive:!0}),i&&Nt(r,"blur",d=>{var m;const g=it(e);((m=r.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!g?.contains(r.document.activeElement)&&t(d)})].filter(Boolean);return()=>f.forEach(d=>d())}var g1=Object.defineProperty,v1=Object.defineProperties,_1=Object.getOwnPropertyDescriptors,fu=Object.getOwnPropertySymbols,y1=Object.prototype.hasOwnProperty,b1=Object.prototype.propertyIsEnumerable,du=(e,t,n)=>t in e?g1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w1=(e,t)=>{for(var n in t||(t={}))y1.call(t,n)&&du(e,n,t[n]);if(fu)for(var n of fu(t))b1.call(t,n)&&du(e,n,t[n]);return e},E1=(e,t)=>v1(e,_1(t));function T1(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function $1(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=$t,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=T1(t);return Nt(s,o,f=>{f.repeat&&ze(a)||l(f)&&n(f)},i)}function xA(e,t,n={}){return $1(e,t,E1(w1({},n),{eventName:"keydown"}))}function S1(){const e=Z(!1);return pt()&&Yt(()=>{e.value=!0}),e}function Tl(e){const t=S1();return de(()=>(t.value,!!e()))}function P1(e,t={}){const{immediate:n=!0,window:r=$t}=t,s=Z(!1);let o=0,i=null;function a(f){if(!s.value||!r)return;const u=f-o;e({delta:u,timestamp:f}),o=f,i=r.requestAnimationFrame(a)}function l(){!s.value&&r&&(s.value=!0,i=r.requestAnimationFrame(a))}function c(){s.value=!1,i!=null&&r&&(r.cancelAnimationFrame(i),i=null)}return n&&l(),zt(c),{isActive:Fn(s),pause:c,resume:l}}function x1(e,t={}){const{window:n=$t}=t,r=Tl(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=Z(!1),i=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},a=()=>{r.value&&(i(),s=n.matchMedia(Wb(e).value),o.value=!!s?.matches,s&&("addEventListener"in s?s.addEventListener("change",a):s.addListener(a)))};return rr(a),zt(()=>i()),o}function kA(e={}){const{navigator:t=p1,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=["copy","cut"],a=Tl(()=>t&&"clipboard"in t),l=de(()=>a.value||o),c=Z(""),f=Z(!1),u=t1(()=>f.value=!1,s);function d(){a.value?t.clipboard.readText().then(P=>{c.value=P}):c.value=S()}if(l.value&&n)for(const P of i)Nt(P,d);async function m(P=ze(r)){l.value&&P!=null&&(a.value?await t.clipboard.writeText(P):g(P),c.value=P,f.value=!0,u.start())}function g(P){const v=document.createElement("textarea");v.value=P??"",v.style.position="absolute",v.style.opacity="0",document.body.appendChild(v),v.select(),document.execCommand("copy"),v.remove()}function S(){var P,v,p;return(p=(v=(P=document?.getSelection)==null?void 0:P.call(document))==null?void 0:v.toString())!=null?p:""}return{isSupported:l,text:c,copied:f,copy:m}}function k1(e){return JSON.parse(JSON.stringify(e))}const eo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},to="__vueuse_ssr_handlers__",A1=R1();function R1(){return to in eo||(eo[to]=eo[to]||{}),eo[to]}function O1(e,t){return A1[e]||t}function N1(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 C1=Object.defineProperty,hu=Object.getOwnPropertySymbols,L1=Object.prototype.hasOwnProperty,I1=Object.prototype.propertyIsEnumerable,pu=(e,t,n)=>t in e?C1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mu=(e,t)=>{for(var n in t||(t={}))L1.call(t,n)&&pu(e,n,t[n]);if(hu)for(var n of hu(t))I1.call(t,n)&&pu(e,n,t[n]);return e};const j1={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()}},gu="vueuse-storage";function M1(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:f,window:u=$t,eventFilter:d,onError:m=y=>{console.error(y)}}=r,g=(f?Cn:Z)(t);if(!n)try{n=O1("getDefaultStorage",()=>{var y;return(y=$t)==null?void 0:y.localStorage})()}catch(y){m(y)}if(!n)return g;const S=ze(t),P=N1(S),v=(s=r.serializer)!=null?s:j1[P],{pause:p,resume:w}=d1(g,()=>E(g.value),{flush:o,deep:i,eventFilter:d});return u&&a&&(Nt(u,"storage",b),Nt(u,gu,h)),b(),g;function E(y){try{if(y==null)n.removeItem(e);else{const _=v.write(y),$=n.getItem(e);$!==_&&(n.setItem(e,_),u&&u.dispatchEvent(new CustomEvent(gu,{detail:{key:e,oldValue:$,newValue:_,storageArea:n}})))}}catch(_){m(_)}}function T(y){const _=y?y.newValue:n.getItem(e);if(_==null)return l&&S!==null&&n.setItem(e,v.write(S)),S;if(!y&&c){const $=v.read(_);return typeof c=="function"?c($,S):P==="object"&&!Array.isArray($)?mu(mu({},S),$):$}else return typeof _!="string"?_:v.read(_)}function h(y){b(y.detail)}function b(y){if(!(y&&y.storageArea!==n)){if(y&&y.key==null){g.value=S;return}if(!(y&&y.key!==e)){p();try{g.value=T(y)}catch(_){m(_)}finally{y?Lt(w):w()}}}}}var vu=Object.getOwnPropertySymbols,D1=Object.prototype.hasOwnProperty,F1=Object.prototype.propertyIsEnumerable,B1=(e,t)=>{var n={};for(var r in e)D1.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&vu)for(var r of vu(e))t.indexOf(r)<0&&F1.call(e,r)&&(n[r]=e[r]);return n};function Uh(e,t,n={}){const r=n,{window:s=$t}=r,o=B1(r,["window"]);let i;const a=Tl(()=>s&&"ResizeObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},c=de(()=>Array.isArray(e)?e.map(d=>it(d)):[it(e)]),f=Ce(c,d=>{if(l(),a.value&&s){i=new ResizeObserver(t);for(const m of d)m&&i.observe(m,o)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{l(),f()};return zt(u),{isSupported:a,stop:u}}function AA(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=Z(0),a=Z(0),l=Z(0),c=Z(0),f=Z(0),u=Z(0),d=Z(0),m=Z(0);function g(){const S=it(e);if(!S){n&&(i.value=0,a.value=0,l.value=0,c.value=0,f.value=0,u.value=0,d.value=0,m.value=0);return}const P=S.getBoundingClientRect();i.value=P.height,a.value=P.bottom,l.value=P.left,c.value=P.right,f.value=P.top,u.value=P.width,d.value=P.x,m.value=P.y}return Uh(e,g),Ce(()=>it(e),S=>!S&&g()),s&&Nt("scroll",g,{capture:!0,passive:!0}),r&&Nt("resize",g,{passive:!0}),El(()=>{o&&g()}),{height:i,bottom:a,left:l,right:c,top:f,width:u,x:d,y:m,update:g}}function RA(e,t={width:0,height:0},n={}){const{window:r=$t,box:s="content-box"}=n,o=de(()=>{var l,c;return(c=(l=it(e))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),i=Z(t.width),a=Z(t.height);return Uh(e,([l])=>{const c=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&o.value){const f=it(e);if(f){const u=r.getComputedStyle(f);i.value=parseFloat(u.width),a.value=parseFloat(u.height)}}else if(c){const f=Array.isArray(c)?c:[c];i.value=f.reduce((u,{inlineSize:d})=>u+d,0),a.value=f.reduce((u,{blockSize:d})=>u+d,0)}else i.value=l.contentRect.width,a.value=l.contentRect.height},n),Ce(()=>it(e),l=>{i.value=l?t.width:0,a.value=l?t.height:0}),{width:i,height:a}}function $l(e,t,n={}){const{window:r=$t}=n;return M1(e,t,r?.localStorage,n)}var H1=Object.defineProperty,_u=Object.getOwnPropertySymbols,U1=Object.prototype.hasOwnProperty,W1=Object.prototype.propertyIsEnumerable,yu=(e,t,n)=>t in e?H1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G1=(e,t)=>{for(var n in t||(t={}))U1.call(t,n)&&yu(e,n,t[n]);if(_u)for(var n of _u(t))W1.call(t,n)&&yu(e,n,t[n]);return e};function V1(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=Z(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?P1(s,{immediate:!0}):e1(s,n,{immediate:!0});return t?G1({now:r},o):r}let z1=0;function OA(e,t={}){const n=Z(!1),{document:r=h1,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++z1}`}=t,a=Z(e);let l=()=>{};const c=()=>{if(!r)return;const u=r.getElementById(i)||r.createElement("style");u.isConnected||(u.type="text/css",u.id=i,t.media&&(u.media=t.media),r.head.appendChild(u)),!n.value&&(l=Ce(a,d=>{u.textContent=d},{immediate:!0}),n.value=!0)},f=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&El(c),o||zt(f),{id:i,css:a,unload:f,load:c,isLoaded:Fn(n)}}var q1=Object.defineProperty,No=Object.getOwnPropertySymbols,Wh=Object.prototype.hasOwnProperty,Gh=Object.prototype.propertyIsEnumerable,bu=(e,t,n)=>t in e?q1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K1=(e,t)=>{for(var n in t||(t={}))Wh.call(t,n)&&bu(e,n,t[n]);if(No)for(var n of No(t))Gh.call(t,n)&&bu(e,n,t[n]);return e},X1=(e,t)=>{var n={};for(var r in e)Wh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&No)for(var r of No(e))t.indexOf(r)<0&&Gh.call(e,r)&&(n[r]=e[r]);return n};const Y1=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:1/0,value:31536e6,name:"year"}],J1={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function Q1(e){return e.toISOString().slice(0,10)}function NA(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,s=V1({interval:r,controls:!0}),{now:o}=s,i=X1(s,["now"]),a=de(()=>Z1(new Date(ze(e)),t,ze(o.value)));return n?K1({timeAgo:a},i):a}function Z1(e,t={},n=Date.now()){var r;const{max:s,messages:o=J1,fullDateFormatter:i=Q1,units:a=Y1,showSecond:l=!1,rounding:c="round"}=t,f=typeof c=="number"?P=>+P.toFixed(c):Math[c],u=+n-+e,d=Math.abs(u);function m(P,v){return f(Math.abs(P)/v.value)}function g(P,v){const p=m(P,v),w=P>0,E=S(v.name,p,w);return S(w?"past":"future",E,w)}function S(P,v,p){const w=o[P];return typeof w=="function"?w(v,p):w.replace("{0}",v.toString())}if(d<6e4&&!l)return o.justNow;if(typeof s=="number"&&d>s)return i(new Date(e));if(typeof s=="string"){const P=(r=a.find(v=>v.name===s))==null?void 0:r.max;if(P&&d>P)return i(new Date(e))}for(const[P,v]of a.entries()){if(m(u,v)<=0&&a[P-1])return g(u,a[P-1]);if(d<v.max)return g(u,v)}return o.invalid}function ew(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:f=!1,defaultValue:u,shouldEmit:d}=r,m=pt(),g=n||m?.emit||((s=m?.$emit)==null?void 0:s.bind(m))||((i=(o=m?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(m?.proxy));let S=c;t||(t="modelValue"),S=c||S||`update:${t.toString()}`;const P=w=>a?typeof a=="function"?a(w):k1(w):w,v=()=>Db(e[t])?P(e[t]):u,p=w=>{d?d(w)&&g(S,w):g(S,w)};if(l){const w=v(),E=Z(w);return Ce(()=>e[t],T=>E.value=P(T)),Ce(E,T=>{(T!==e[t]||f)&&p(T)},{deep:f}),E}else return de({get(){return v()},set(w){p(w)}})}function tw(e={}){const{window:t=$t,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=Z(n),a=Z(r),l=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(l(),El(l),Nt("resize",l,{passive:!0}),s){const c=x1("(orientation: portrait)");Ce(c,()=>l())}return{width:i,height:a}}const nw=6e4;function Vh(e){return e}const rw=Vh,{setTimeout:sw}=globalThis;function ow(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=Vh,deserialize:i=rw,resolver:a,timeout:l=nw}=t,c=new Map;let f;const u=new Proxy({},{get(d,m){if(m==="$functions")return e;const g=(...P)=>{n(o({m,a:P,t:"q"}))};if(s.includes(m))return g.asEvent=g,g;const S=async(...P)=>(await f,new Promise((v,p)=>{const w=aw();c.set(w,{resolve:v,reject:p}),n(o({m,a:P,i:w,t:"q"})),l>=0&&sw(()=>{p(new Error(`[birpc] timeout on calling "${m}"`)),c.delete(w)},l)}));return S.asEvent=g,S}});return f=r(async(d,...m)=>{const g=i(d);if(g.t==="q"){const{m:S,a:P}=g;let v,p;const w=a?a(S,e[S]):e[S];if(!w)p=new Error(`[birpc] function "${S}" not found`);else try{v=await w.apply(u,P)}catch(E){p=E}g.i&&(p&&t.onError&&t.onError(p,S,P),n(o({t:"s",i:g.i,r:v,e:p}),...m))}else{const{i:S,r:P,e:v}=g,p=c.get(S);p&&(v?p.reject(v):p.resolve(P)),c.delete(S)}}),u}const iw="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function aw(e=21){let t="",n=e;for(;n--;)t+=iw[Math.random()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:lw,stringify:cw}=JSON,{keys:uw}=Object,ks=String,zh="string",wu={},Co="object",qh=(e,t)=>t,fw=e=>e instanceof ks?ks(e):e,dw=(e,t)=>typeof t===zh?new ks(t):t,Kh=(e,t,n,r)=>{const s=[];for(let o=uw(n),{length:i}=o,a=0;a<i;a++){const l=o[a],c=n[l];if(c instanceof ks){const f=e[c];typeof f===Co&&!t.has(f)?(t.add(f),n[l]=wu,s.push({k:l,a:[e,t,f,r]})):n[l]=r.call(n,l,f)}else n[l]!==wu&&(n[l]=r.call(n,l,c))}for(let{length:o}=s,i=0;i<o;i++){const{k:a,a:l}=s[i];n[a]=r.call(n,a,Kh.apply(null,l))}return n},Eu=(e,t,n)=>{const r=ks(t.push(n)-1);return e.set(n,r),r},hw=(e,t)=>{const n=lw(e,dw).map(fw),r=n[0],s=t||qh,o=typeof r===Co&&r?Kh(n,new Set,r,s):r;return s.call({"":o},"",o)},pw=(e,t,n)=>{const r=t&&typeof t===Co?(f,u)=>f===""||-1<t.indexOf(f)?u:void 0:t||qh,s=new Map,o=[],i=[];let a=+Eu(s,o,r.call({"":e},"",e)),l=!a;for(;a<o.length;)l=!0,i[a]=cw(o[a++],c,n);return"["+i.join(",")+"]";function c(f,u){if(l)return l=!l,u;const d=r.call(this,f,u);switch(typeof d){case Co:if(d===null)return d;case zh:return s.get(d)||Eu(s,o,d)}return d}},mw=2e3,ho=Z(!1),xa=Z(),gw=Vb(ho,2e3);let Xh=Zh(),Yh=()=>{};const Jh={},Qh=new Map,Ie=ow(Jh,{post:async e=>{(await Xh).send(e)},on:e=>{Yh=e},serialize:pw,deserialize:hw,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return Qh.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function Zh(){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=>Yh(String(n.data))),t.addEventListener("error",n=>{console.error(n),xa.value=n}),t.addEventListener("close",()=>{console.log("[nuxt-devtools] WebSocket closed, reconnecting..."),ho.value=!0,setTimeout(async()=>{Xh=Zh()},mw)}),ho.value=!0,t.readyState!==WebSocket.OPEN&&await new Promise(n=>t.addEventListener("open",n)),console.log("[nuxt-devtools] WebSocket connected."),ho.value=!1,xa.value=null,t}function vw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function CA(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var s=[null];s.push.apply(s,arguments);var o=Function.bind.apply(t,s);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var ka={exports:{}};const _w="2.0.0",yw=256,bw=Number.MAX_SAFE_INTEGER||9007199254740991,ww=16,Ew=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var li={MAX_LENGTH:yw,MAX_SAFE_COMPONENT_LENGTH:ww,MAX_SAFE_INTEGER:bw,RELEASE_TYPES:Ew,SEMVER_SPEC_VERSION:_w,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const Tw=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var ci=Tw;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=li,r=ci;t=e.exports={};const s=t.re=[],o=t.src=[],i=t.t={};let a=0;const l=(c,f,u)=>{const d=a++;r(c,d,f),i[c]=d,o[d]=f,s[d]=new RegExp(f,u?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${o[i.NUMERICIDENTIFIER]})\\.(${o[i.NUMERICIDENTIFIER]})\\.(${o[i.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${o[i.NUMERICIDENTIFIERLOOSE]})\\.(${o[i.NUMERICIDENTIFIERLOOSE]})\\.(${o[i.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${o[i.NUMERICIDENTIFIER]}|${o[i.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${o[i.NUMERICIDENTIFIERLOOSE]}|${o[i.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${o[i.PRERELEASEIDENTIFIER]}(?:\\.${o[i.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${o[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[i.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${o[i.BUILDIDENTIFIER]}(?:\\.${o[i.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${o[i.MAINVERSION]}${o[i.PRERELEASE]}?${o[i.BUILD]}?`),l("FULL",`^${o[i.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${o[i.MAINVERSIONLOOSE]}${o[i.PRERELEASELOOSE]}?${o[i.BUILD]}?`),l("LOOSE",`^${o[i.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${o[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${o[i.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${o[i.XRANGEIDENTIFIER]})(?:\\.(${o[i.XRANGEIDENTIFIER]})(?:\\.(${o[i.XRANGEIDENTIFIER]})(?:${o[i.PRERELEASE]})?${o[i.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${o[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[i.XRANGEIDENTIFIERLOOSE]})(?:${o[i.PRERELEASELOOSE]})?${o[i.BUILD]}?)?)?`),l("XRANGE",`^${o[i.GTLT]}\\s*${o[i.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${o[i.GTLT]}\\s*${o[i.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),l("COERCERTL",o[i.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${o[i.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${o[i.LONETILDE]}${o[i.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${o[i.LONETILDE]}${o[i.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${o[i.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${o[i.LONECARET]}${o[i.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${o[i.LONECARET]}${o[i.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${o[i.GTLT]}\\s*(${o[i.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${o[i.GTLT]}\\s*(${o[i.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${o[i.GTLT]}\\s*(${o[i.LOOSEPLAIN]}|${o[i.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${o[i.XRANGEPLAIN]})\\s+-\\s+(${o[i.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${o[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[i.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(ka,ka.exports);var Is=ka.exports;const $w=Object.freeze({loose:!0}),Sw=Object.freeze({}),Pw=e=>e?typeof e!="object"?$w:e:Sw;var Sl=Pw;const Tu=/^[0-9]+$/,ep=(e,t)=>{const n=Tu.test(e),r=Tu.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},xw=(e,t)=>ep(t,e);var tp={compareIdentifiers:ep,rcompareIdentifiers:xw};const no=ci,{MAX_LENGTH:$u,MAX_SAFE_INTEGER:ro}=li,{re:Su,t:Pu}=Is,kw=Sl,{compareIdentifiers:Un}=tp;let Aw=class kt{constructor(t,n){if(n=kw(n),t instanceof kt){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>$u)throw new TypeError(`version is longer than ${$u} characters`);no("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?Su[Pu.LOOSE]:Su[Pu.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>ro||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ro||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ro||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){const o=+s;if(o>=0&&o<ro)return o}return s}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(no("SemVer.compare",this.version,this.options,t),!(t instanceof kt)){if(typeof t=="string"&&t===this.version)return 0;t=new kt(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof kt||(t=new kt(t,this.options)),Un(this.major,t.major)||Un(this.minor,t.minor)||Un(this.patch,t.patch)}comparePre(t){if(t instanceof kt||(t=new kt(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],s=t.prerelease[n];if(no("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Un(r,s)}while(++n)}compareBuild(t){t instanceof kt||(t=new kt(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(no("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Un(r,s)}while(++n)}inc(t,n,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const s=Number(r)?1:0;if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[s];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(n){let o=[n,s];r===!1&&(o=[n]),Un(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.format(),this.raw=this.version,this}};var Je=Aw;const xu=Je,Rw=(e,t,n=!1)=>{if(e instanceof xu)return e;try{return new xu(e,t)}catch(r){if(!n)return null;throw r}};var $r=Rw;const Ow=$r,Nw=(e,t)=>{const n=Ow(e,t);return n?n.version:null};var Cw=Nw;const Lw=$r,Iw=(e,t)=>{const n=Lw(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var jw=Iw;const ku=Je,Mw=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new ku(e instanceof ku?e.version:e,n).inc(t,r,s).version}catch{return null}};var Dw=Mw;const Au=$r,Fw=(e,t)=>{const n=Au(e,null,!0),r=Au(t,null,!0),s=n.compare(r);if(s===0)return null;const o=s>0,i=o?n:r,a=o?r:n,l=!!i.prerelease.length,c=l?"pre":"";return n.major!==r.major?c+"major":n.minor!==r.minor?c+"minor":n.patch!==r.patch?c+"patch":l?"prerelease":a.patch?"patch":a.minor?"minor":"major"};var Bw=Fw;const Hw=Je,Uw=(e,t)=>new Hw(e,t).major;var Ww=Uw;const Gw=Je,Vw=(e,t)=>new Gw(e,t).minor;var zw=Vw;const qw=Je,Kw=(e,t)=>new qw(e,t).patch;var Xw=Kw;const Yw=$r,Jw=(e,t)=>{const n=Yw(e,t);return n&&n.prerelease.length?n.prerelease:null};var Qw=Jw;const Ru=Je,Zw=(e,t,n)=>new Ru(e,n).compare(new Ru(t,n));var St=Zw;const eE=St,tE=(e,t,n)=>eE(t,e,n);var nE=tE;const rE=St,sE=(e,t)=>rE(e,t,!0);var oE=sE;const Ou=Je,iE=(e,t,n)=>{const r=new Ou(e,n),s=new Ou(t,n);return r.compare(s)||r.compareBuild(s)};var Pl=iE;const aE=Pl,lE=(e,t)=>e.sort((n,r)=>aE(n,r,t));var cE=lE;const uE=Pl,fE=(e,t)=>e.sort((n,r)=>uE(r,n,t));var dE=fE;const hE=St,pE=(e,t,n)=>hE(e,t,n)>0;var ui=pE;const mE=St,gE=(e,t,n)=>mE(e,t,n)<0;var xl=gE;const vE=St,_E=(e,t,n)=>vE(e,t,n)===0;var np=_E;const yE=St,bE=(e,t,n)=>yE(e,t,n)!==0;var rp=bE;const wE=St,EE=(e,t,n)=>wE(e,t,n)>=0;var kl=EE;const TE=St,$E=(e,t,n)=>TE(e,t,n)<=0;var Al=$E;const SE=np,PE=rp,xE=ui,kE=kl,AE=xl,RE=Al,OE=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return SE(e,n,r);case"!=":return PE(e,n,r);case">":return xE(e,n,r);case">=":return kE(e,n,r);case"<":return AE(e,n,r);case"<=":return RE(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var sp=OE;const NE=Je,CE=$r,{re:so,t:oo}=Is,LE=(e,t)=>{if(e instanceof NE)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(so[oo.COERCE]);else{let r;for(;(r=so[oo.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),so[oo.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;so[oo.COERCERTL].lastIndex=-1}return n===null?null:CE(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var IE=LE,Di,Nu;function jE(){return Nu||(Nu=1,Di=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Di}var ME=$e;$e.Node=In;$e.create=$e;function $e(e){var t=this;if(t instanceof $e||(t=new $e),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(s){t.push(s)});else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}$e.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};$e.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};$e.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};$e.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)FE(this,arguments[e]);return this.length};$e.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)BE(this,arguments[e]);return this.length};$e.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};$e.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};$e.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next};$e.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev};$e.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};$e.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};$e.prototype.map=function(e,t){t=t||this;for(var n=new $e,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};$e.prototype.mapReverse=function(e,t){t=t||this;for(var n=new $e,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};$e.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;r!==null;s++)n=e(n,r.value,s),r=r.next;return n};$e.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=this.length-1;r!==null;s--)n=e(n,r.value,s),r=r.prev;return n};$e.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};$e.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};$e.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new $e;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(;s!==null&&r<t;r++,s=s.next)n.push(s.value);return n};$e.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new $e;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,s=this.tail;s!==null&&r>t;r--)s=s.prev;for(;s!==null&&r>e;r--,s=s.prev)n.push(s.value);return n};$e.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(var o=[],r=0;s&&r<t;r++)o.push(s.value),s=this.removeNode(s);s===null&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev);for(var r=0;r<n.length;r++)s=DE(this,s,n[r]);return o};$e.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function DE(e,t,n){var r=t===e.head?new In(n,null,t,e):new In(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function FE(e,t){e.tail=new In(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function BE(e,t){e.head=new In(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function In(e,t,n,r){if(!(this instanceof In))return new In(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{jE()($e)}catch{}const HE=ME,Sn=Symbol("max"),Bt=Symbol("length"),Wn=Symbol("lengthCalculator"),hs=Symbol("allowStale"),xn=Symbol("maxAge"),Ft=Symbol("dispose"),Cu=Symbol("noDisposeOnSet"),Ue=Symbol("lruList"),vt=Symbol("cache"),op=Symbol("updateAgeOnGet"),Fi=()=>1;class UE{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[Sn]=t.max||1/0;const n=t.length||Fi;if(this[Wn]=typeof n!="function"?Fi:n,this[hs]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[xn]=t.maxAge||0,this[Ft]=t.dispose,this[Cu]=t.noDisposeOnSet||!1,this[op]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[Sn]=t||1/0,Cr(this)}get max(){return this[Sn]}set allowStale(t){this[hs]=!!t}get allowStale(){return this[hs]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[xn]=t,Cr(this)}get maxAge(){return this[xn]}set lengthCalculator(t){typeof t!="function"&&(t=Fi),t!==this[Wn]&&(this[Wn]=t,this[Bt]=0,this[Ue].forEach(n=>{n.length=this[Wn](n.value,n.key),this[Bt]+=n.length})),Cr(this)}get lengthCalculator(){return this[Wn]}get length(){return this[Bt]}get itemCount(){return this[Ue].length}rforEach(t,n){n=n||this;for(let r=this[Ue].tail;r!==null;){const s=r.prev;Lu(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[Ue].head;r!==null;){const s=r.next;Lu(this,t,r,n),r=s}}keys(){return this[Ue].toArray().map(t=>t.key)}values(){return this[Ue].toArray().map(t=>t.value)}reset(){this[Ft]&&this[Ue]&&this[Ue].length&&this[Ue].forEach(t=>this[Ft](t.key,t.value)),this[vt]=new Map,this[Ue]=new HE,this[Bt]=0}dump(){return this[Ue].map(t=>Lo(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Ue]}set(t,n,r){if(r=r||this[xn],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,o=this[Wn](n,t);if(this[vt].has(t)){if(o>this[Sn])return tr(this,this[vt].get(t)),!1;const l=this[vt].get(t).value;return this[Ft]&&(this[Cu]||this[Ft](t,l.value)),l.now=s,l.maxAge=r,l.value=n,this[Bt]+=o-l.length,l.length=o,this.get(t),Cr(this),!0}const i=new WE(t,n,o,s,r);return i.length>this[Sn]?(this[Ft]&&this[Ft](t,n),!1):(this[Bt]+=i.length,this[Ue].unshift(i),this[vt].set(t,this[Ue].head),Cr(this),!0)}has(t){if(!this[vt].has(t))return!1;const n=this[vt].get(t).value;return!Lo(this,n)}get(t){return Bi(this,t,!0)}peek(t){return Bi(this,t,!1)}pop(){const t=this[Ue].tail;return t?(tr(this,t),t.value):null}del(t){tr(this,this[vt].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const s=t[r],o=s.e||0;if(o===0)this.set(s.k,s.v);else{const i=o-n;i>0&&this.set(s.k,s.v,i)}}}prune(){this[vt].forEach((t,n)=>Bi(this,n,!1))}}const Bi=(e,t,n)=>{const r=e[vt].get(t);if(r){const s=r.value;if(Lo(e,s)){if(tr(e,r),!e[hs])return}else n&&(e[op]&&(r.value.now=Date.now()),e[Ue].unshiftNode(r));return s.value}},Lo=(e,t)=>{if(!t||!t.maxAge&&!e[xn])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[xn]&&n>e[xn]},Cr=e=>{if(e[Bt]>e[Sn])for(let t=e[Ue].tail;e[Bt]>e[Sn]&&t!==null;){const n=t.prev;tr(e,t),t=n}},tr=(e,t)=>{if(t){const n=t.value;e[Ft]&&e[Ft](n.key,n.value),e[Bt]-=n.length,e[vt].delete(n.key),e[Ue].removeNode(t)}};class WE{constructor(t,n,r,s,o){this.key=t,this.value=n,this.length=r,this.now=s,this.maxAge=o||0}}const Lu=(e,t,n,r)=>{let s=n.value;Lo(e,s)&&(tr(e,n),e[hs]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var GE=UE,Hi,Iu;function Pt(){if(Iu)return Hi;Iu=1;class e{constructor(R,I){if(I=r(I),R instanceof e)return R.loose===!!I.loose&&R.includePrerelease===!!I.includePrerelease?R:new e(R.raw,I);if(R instanceof s)return this.raw=R.value,this.set=[[R]],this.format(),this;if(this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease,this.raw=R,this.set=R.split("||").map(j=>this.parseRange(j.trim())).filter(j=>j.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${R}`);if(this.set.length>1){const j=this.set[0];if(this.set=this.set.filter(H=>!g(H[0])),this.set.length===0)this.set=[j];else if(this.set.length>1){for(const H of this.set)if(H.length===1&&S(H[0])){this.set=[H];break}}}this.format()}format(){return this.range=this.set.map(R=>R.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(R){R=R.trim();const j=((this.options.includePrerelease&&d)|(this.options.loose&&m))+":"+R,H=n.get(j);if(H)return H;const B=this.options.loose,K=B?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];R=R.replace(K,x(this.options.includePrerelease)),o("hyphen replace",R),R=R.replace(a[l.COMPARATORTRIM],c),o("comparator trim",R),R=R.replace(a[l.TILDETRIM],f),R=R.replace(a[l.CARETTRIM],u),R=R.split(/\s+/).join(" ");let te=R.split(" ").map(ae=>v(ae,this.options)).join(" ").split(/\s+/).map(ae=>$(ae,this.options));B&&(te=te.filter(ae=>(o("loose invalid filter",ae,this.options),!!ae.match(a[l.COMPARATORLOOSE])))),o("range list",te);const J=new Map,Q=te.map(ae=>new s(ae,this.options));for(const ae of Q){if(g(ae))return[ae];J.set(ae.value,ae)}J.size>1&&J.has("")&&J.delete("");const ce=[...J.values()];return n.set(j,ce),ce}intersects(R,I){if(!(R instanceof e))throw new TypeError("a Range is required");return this.set.some(j=>P(j,I)&&R.set.some(H=>P(H,I)&&j.every(B=>H.every(K=>B.intersects(K,I)))))}test(R){if(!R)return!1;if(typeof R=="string")try{R=new i(R,this.options)}catch{return!1}for(let I=0;I<this.set.length;I++)if(k(this.set[I],R,this.options))return!0;return!1}}Hi=e;const t=GE,n=new t({max:1e3}),r=Sl,s=fi(),o=ci,i=Je,{re:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:f,caretTrimReplace:u}=Is,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:m}=li,g=A=>A.value==="<0.0.0-0",S=A=>A.value==="",P=(A,R)=>{let I=!0;const j=A.slice();let H=j.pop();for(;I&&j.length;)I=j.every(B=>H.intersects(B,R)),H=j.pop();return I},v=(A,R)=>(o("comp",A,R),A=T(A,R),o("caret",A),A=w(A,R),o("tildes",A),A=b(A,R),o("xrange",A),A=_(A,R),o("stars",A),A),p=A=>!A||A.toLowerCase()==="x"||A==="*",w=(A,R)=>A.trim().split(/\s+/).map(I=>E(I,R)).join(" "),E=(A,R)=>{const I=R.loose?a[l.TILDELOOSE]:a[l.TILDE];return A.replace(I,(j,H,B,K,te)=>{o("tilde",A,j,H,B,K,te);let J;return p(H)?J="":p(B)?J=`>=${H}.0.0 <${+H+1}.0.0-0`:p(K)?J=`>=${H}.${B}.0 <${H}.${+B+1}.0-0`:te?(o("replaceTilde pr",te),J=`>=${H}.${B}.${K}-${te} <${H}.${+B+1}.0-0`):J=`>=${H}.${B}.${K} <${H}.${+B+1}.0-0`,o("tilde return",J),J})},T=(A,R)=>A.trim().split(/\s+/).map(I=>h(I,R)).join(" "),h=(A,R)=>{o("caret",A,R);const I=R.loose?a[l.CARETLOOSE]:a[l.CARET],j=R.includePrerelease?"-0":"";return A.replace(I,(H,B,K,te,J)=>{o("caret",A,H,B,K,te,J);let Q;return p(B)?Q="":p(K)?Q=`>=${B}.0.0${j} <${+B+1}.0.0-0`:p(te)?B==="0"?Q=`>=${B}.${K}.0${j} <${B}.${+K+1}.0-0`:Q=`>=${B}.${K}.0${j} <${+B+1}.0.0-0`:J?(o("replaceCaret pr",J),B==="0"?K==="0"?Q=`>=${B}.${K}.${te}-${J} <${B}.${K}.${+te+1}-0`:Q=`>=${B}.${K}.${te}-${J} <${B}.${+K+1}.0-0`:Q=`>=${B}.${K}.${te}-${J} <${+B+1}.0.0-0`):(o("no pr"),B==="0"?K==="0"?Q=`>=${B}.${K}.${te}${j} <${B}.${K}.${+te+1}-0`:Q=`>=${B}.${K}.${te}${j} <${B}.${+K+1}.0-0`:Q=`>=${B}.${K}.${te} <${+B+1}.0.0-0`),o("caret return",Q),Q})},b=(A,R)=>(o("replaceXRanges",A,R),A.split(/\s+/).map(I=>y(I,R)).join(" ")),y=(A,R)=>{A=A.trim();const I=R.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return A.replace(I,(j,H,B,K,te,J)=>{o("xRange",A,j,H,B,K,te,J);const Q=p(B),ce=Q||p(K),ae=ce||p(te),ge=ae;return H==="="&&ge&&(H=""),J=R.includePrerelease?"-0":"",Q?H===">"||H==="<"?j="<0.0.0-0":j="*":H&&ge?(ce&&(K=0),te=0,H===">"?(H=">=",ce?(B=+B+1,K=0,te=0):(K=+K+1,te=0)):H==="<="&&(H="<",ce?B=+B+1:K=+K+1),H==="<"&&(J="-0"),j=`${H+B}.${K}.${te}${J}`):ce?j=`>=${B}.0.0${J} <${+B+1}.0.0-0`:ae&&(j=`>=${B}.${K}.0${J} <${B}.${+K+1}.0-0`),o("xRange return",j),j})},_=(A,R)=>(o("replaceStars",A,R),A.trim().replace(a[l.STAR],"")),$=(A,R)=>(o("replaceGTE0",A,R),A.trim().replace(a[R.includePrerelease?l.GTE0PRE:l.GTE0],"")),x=A=>(R,I,j,H,B,K,te,J,Q,ce,ae,ge,ye)=>(p(j)?I="":p(H)?I=`>=${j}.0.0${A?"-0":""}`:p(B)?I=`>=${j}.${H}.0${A?"-0":""}`:K?I=`>=${I}`:I=`>=${I}${A?"-0":""}`,p(Q)?J="":p(ce)?J=`<${+Q+1}.0.0-0`:p(ae)?J=`<${Q}.${+ce+1}.0-0`:ge?J=`<=${Q}.${ce}.${ae}-${ge}`:A?J=`<${Q}.${ce}.${+ae+1}-0`:J=`<=${J}`,`${I} ${J}`.trim()),k=(A,R,I)=>{for(let j=0;j<A.length;j++)if(!A[j].test(R))return!1;if(R.prerelease.length&&!I.includePrerelease){for(let j=0;j<A.length;j++)if(o(A[j].semver),A[j].semver!==s.ANY&&A[j].semver.prerelease.length>0){const H=A[j].semver;if(H.major===R.major&&H.minor===R.minor&&H.patch===R.patch)return!0}return!1}return!0};return Hi}var Ui,ju;function fi(){if(ju)return Ui;ju=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(f,u){if(u=n(u),f instanceof t){if(f.loose===!!u.loose)return f;f=f.value}i("comparator",f,u),this.options=u,this.loose=!!u.loose,this.parse(f),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(f){const u=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],d=f.match(u);if(!d)throw new TypeError(`Invalid comparator: ${f}`);this.operator=d[1]!==void 0?d[1]:"",this.operator==="="&&(this.operator=""),d[2]?this.semver=new a(d[2],this.options.loose):this.semver=e}toString(){return this.value}test(f){if(i("Comparator.test",f,this.options.loose),this.semver===e||f===e)return!0;if(typeof f=="string")try{f=new a(f,this.options)}catch{return!1}return o(f,this.operator,this.semver,this.options)}intersects(f,u){if(!(f instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(f.value,u).test(this.value):f.operator===""?f.value===""?!0:new l(this.value,u).test(f.semver):(u=n(u),u.includePrerelease&&(this.value==="<0.0.0-0"||f.value==="<0.0.0-0")||!u.includePrerelease&&(this.value.startsWith("<0.0.0")||f.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&f.operator.startsWith(">")||this.operator.startsWith("<")&&f.operator.startsWith("<")||this.semver.version===f.semver.version&&this.operator.includes("=")&&f.operator.includes("=")||o(this.semver,"<",f.semver,u)&&this.operator.startsWith(">")&&f.operator.startsWith("<")||o(this.semver,">",f.semver,u)&&this.operator.startsWith("<")&&f.operator.startsWith(">")))}}Ui=t;const n=Sl,{re:r,t:s}=Is,o=sp,i=ci,a=Je,l=Pt();return Ui}const VE=Pt(),zE=(e,t,n)=>{try{t=new VE(t,n)}catch{return!1}return t.test(e)};var di=zE;const qE=Pt(),KE=(e,t)=>new qE(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var XE=KE;const YE=Je,JE=Pt(),QE=(e,t,n)=>{let r=null,s=null,o=null;try{o=new JE(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new YE(r,n))}),r};var ZE=QE;const eT=Je,tT=Pt(),nT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new tT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new eT(r,n))}),r};var rT=nT;const Wi=Je,sT=Pt(),Mu=ui,oT=(e,t)=>{e=new sT(e,t);let n=new Wi("0.0.0");if(e.test(n)||(n=new Wi("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const s=e.set[r];let o=null;s.forEach(i=>{const a=new Wi(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||Mu(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||Mu(n,o))&&(n=o)}return n&&e.test(n)?n:null};var iT=oT;const aT=Pt(),lT=(e,t)=>{try{return new aT(e,t).range||"*"}catch{return null}};var cT=lT;const uT=Je,ip=fi(),{ANY:fT}=ip,dT=Pt(),hT=di,Du=ui,Fu=xl,pT=Al,mT=kl,gT=(e,t,n,r)=>{e=new uT(e,r),t=new dT(t,r);let s,o,i,a,l;switch(n){case">":s=Du,o=pT,i=Fu,a=">",l=">=";break;case"<":s=Fu,o=mT,i=Du,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(hT(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const f=t.set[c];let u=null,d=null;if(f.forEach(m=>{m.semver===fT&&(m=new ip(">=0.0.0")),u=u||m,d=d||m,s(m.semver,u.semver,r)?u=m:i(m.semver,d.semver,r)&&(d=m)}),u.operator===a||u.operator===l||(!d.operator||d.operator===a)&&o(e,d.semver))return!1;if(d.operator===l&&i(e,d.semver))return!1}return!0};var Rl=gT;const vT=Rl,_T=(e,t,n)=>vT(e,t,">",n);var yT=_T;const bT=Rl,wT=(e,t,n)=>bT(e,t,"<",n);var ET=wT;const Bu=Pt(),TT=(e,t,n)=>(e=new Bu(e,n),t=new Bu(t,n),e.intersects(t,n));var $T=TT;const ST=di,PT=St;var xT=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((f,u)=>PT(f,u,n));for(const f of i)ST(f,t,n)?(o=f,s||(s=f)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const a=[];for(const[f,u]of r)f===u?a.push(f):!u&&f===i[0]?a.push("*"):u?f===i[0]?a.push(`<=${u}`):a.push(`${f} - ${u}`):a.push(`>=${f}`);const l=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t};const Hu=Pt(),Ol=fi(),{ANY:Gi}=Ol,Lr=di,Nl=St,kT=(e,t,n={})=>{if(e===t)return!0;e=new Hu(e,n),t=new Hu(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const i=RT(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},AT=[new Ol(">=0.0.0-0")],Uu=[new Ol(">=0.0.0")],RT=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Gi){if(t.length===1&&t[0].semver===Gi)return!0;n.includePrerelease?e=AT:e=Uu}if(t.length===1&&t[0].semver===Gi){if(n.includePrerelease)return!0;t=Uu}const r=new Set;let s,o;for(const m of e)m.operator===">"||m.operator===">="?s=Wu(s,m,n):m.operator==="<"||m.operator==="<="?o=Gu(o,m,n):r.add(m.semver);if(r.size>1)return null;let i;if(s&&o){if(i=Nl(s.semver,o.semver,n),i>0)return null;if(i===0&&(s.operator!==">="||o.operator!=="<="))return null}for(const m of r){if(s&&!Lr(m,String(s),n)||o&&!Lr(m,String(o),n))return null;for(const g of t)if(!Lr(m,String(g),n))return!1;return!0}let a,l,c,f,u=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,d=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;u&&u.prerelease.length===1&&o.operator==="<"&&u.prerelease[0]===0&&(u=!1);for(const m of t){if(f=f||m.operator===">"||m.operator===">=",c=c||m.operator==="<"||m.operator==="<=",s){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator===">"||m.operator===">="){if(a=Wu(s,m,n),a===m&&a!==s)return!1}else if(s.operator===">="&&!Lr(s.semver,String(m),n))return!1}if(o){if(u&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===u.major&&m.semver.minor===u.minor&&m.semver.patch===u.patch&&(u=!1),m.operator==="<"||m.operator==="<="){if(l=Gu(o,m,n),l===m&&l!==o)return!1}else if(o.operator==="<="&&!Lr(o.semver,String(m),n))return!1}if(!m.operator&&(o||s)&&i!==0)return!1}return!(s&&c&&!o&&i!==0||o&&f&&!s&&i!==0||d||u)},Wu=(e,t,n)=>{if(!e)return t;const r=Nl(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},Gu=(e,t,n)=>{if(!e)return t;const r=Nl(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var OT=kT;const Vi=Is,Vu=li,NT=Je,zu=tp,CT=$r,LT=Cw,IT=jw,jT=Dw,MT=Bw,DT=Ww,FT=zw,BT=Xw,HT=Qw,UT=St,WT=nE,GT=oE,VT=Pl,zT=cE,qT=dE,KT=ui,XT=xl,YT=np,JT=rp,QT=kl,ZT=Al,e$=sp,t$=IE,n$=fi(),r$=Pt(),s$=di,o$=XE,i$=ZE,a$=rT,l$=iT,c$=cT,u$=Rl,f$=yT,d$=ET,h$=$T,p$=xT,m$=OT;var g$={parse:CT,valid:LT,clean:IT,inc:jT,diff:MT,major:DT,minor:FT,patch:BT,prerelease:HT,compare:UT,rcompare:WT,compareLoose:GT,compareBuild:VT,sort:zT,rsort:qT,gt:KT,lt:XT,eq:YT,neq:JT,gte:QT,lte:ZT,cmp:e$,coerce:t$,Comparator:n$,Range:r$,satisfies:s$,toComparators:o$,maxSatisfying:i$,minSatisfying:a$,minVersion:l$,validRange:c$,outside:u$,gtr:f$,ltr:d$,intersects:h$,simplifyRange:p$,subset:m$,SemVer:NT,re:Vi.re,src:Vi.src,tokens:Vi.t,SEMVER_SPEC_VERSION:Vu.SEMVER_SPEC_VERSION,RELEASE_TYPES:Vu.RELEASE_TYPES,compareIdentifiers:zu.compareIdentifiers,rcompareIdentifiers:zu.rcompareIdentifiers};const v$=vw(g$),zi=new Map;function LA(e,t){const n=e;return zi.has(n)||zi.set(n,b$(e,t)),zi.get(n)}function _$(){return Ls("npm:check:nuxt",()=>Ie.checkForUpdateFor("nuxt")).data}function y$(e){const t=_$();return t?.value?.current?v$.satisfies(t.value.current,e):!1}function b$(e,t){const n=Re(),r=Ls(`npm:check:${e}`,()=>Ie.checkForUpdateFor(e)).data,s=Z("idle"),o=Z();n.hook("devtools:terminal:exit",({id:l,code:c})=>{l!==o||!o||(s.value=c===0?"updated":"idle")});async function i(l){if(s.value!=="idle")return;const c=await Ie.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return s.value="running",o.value=(await Ie.runNpmCommand("update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await Ie.restartNuxt()}return{info:r,state:s,update:i,restart:a,processId:o}}const Ir={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return y$("^3.5.0")}},jr={icon:"carbon-image-copy",title:"Assets",layout:"full"},Mr={icon:"i-carbon-assembly-cluster",title:"Components",order:2},Dr={layout:"full"},Fr={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},Br={icon:"carbon-function",title:"Imports",order:3},Hr={icon:"carbon-layers",title:"Middleware",wip:!0},Ur={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},Cl=()=>Bn("color-mode").value,Aa=Z();let qu;function w$(){qu||(qu=(async()=>{const{default:e}=await ke(()=>import("./index.ed5657ea.js").then(t=>t.i),[],import.meta.url);Aa.value=new e({html:!0,linkify:!0,breaks:!0})})())}function E$(e){return w$(),Aa.value?Aa.value.render(e):e}var ap=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},ps={},T$={get exports(){return ps},set exports(e){ps=e}};(function(e,t){(function(n,r){e.exports=r()})(ap,()=>{return n={770:function(s,o,i){var a=this&&this.__importDefault||function(P){return P&&P.__esModule?P:{default:P}};Object.defineProperty(o,"__esModule",{value:!0}),o.setDefaultDebugCall=o.createOnigScanner=o.createOnigString=o.loadWASM=o.OnigScanner=o.OnigString=void 0;const l=a(i(418));let c=null,f=!1;class u{static _utf8ByteLength(v){let p=0;for(let w=0,E=v.length;w<E;w++){const T=v.charCodeAt(w);let h=T,b=!1;if(T>=55296&&T<=56319&&w+1<E){const y=v.charCodeAt(w+1);y>=56320&&y<=57343&&(h=65536+(T-55296<<10)|y-56320,b=!0)}p+=h<=127?1:h<=2047?2:h<=65535?3:4,b&&w++}return p}constructor(v){const p=v.length,w=u._utf8ByteLength(v),E=w!==p,T=E?new Uint32Array(p+1):null;E&&(T[p]=w);const h=E?new Uint32Array(w+1):null;E&&(h[w]=p);const b=new Uint8Array(w);let y=0;for(let _=0;_<p;_++){const $=v.charCodeAt(_);let x=$,k=!1;if($>=55296&&$<=56319&&_+1<p){const A=v.charCodeAt(_+1);A>=56320&&A<=57343&&(x=65536+($-55296<<10)|A-56320,k=!0)}E&&(T[_]=y,k&&(T[_+1]=y),x<=127?h[y+0]=_:x<=2047?(h[y+0]=_,h[y+1]=_):x<=65535?(h[y+0]=_,h[y+1]=_,h[y+2]=_):(h[y+0]=_,h[y+1]=_,h[y+2]=_,h[y+3]=_)),x<=127?b[y++]=x:x<=2047?(b[y++]=192|(1984&x)>>>6,b[y++]=128|(63&x)>>>0):x<=65535?(b[y++]=224|(61440&x)>>>12,b[y++]=128|(4032&x)>>>6,b[y++]=128|(63&x)>>>0):(b[y++]=240|(1835008&x)>>>18,b[y++]=128|(258048&x)>>>12,b[y++]=128|(4032&x)>>>6,b[y++]=128|(63&x)>>>0),k&&_++}this.utf16Length=p,this.utf8Length=w,this.utf16Value=v,this.utf8Value=b,this.utf16OffsetToUtf8=T,this.utf8OffsetToUtf16=h}createString(v){const p=v._omalloc(this.utf8Length);return v.HEAPU8.set(this.utf8Value,p),p}}class d{constructor(v){if(this.id=++d.LAST_ID,!c)throw new Error("Must invoke loadWASM first.");this._onigBinding=c,this.content=v;const p=new u(v);this.utf16Length=p.utf16Length,this.utf8Length=p.utf8Length,this.utf16OffsetToUtf8=p.utf16OffsetToUtf8,this.utf8OffsetToUtf16=p.utf8OffsetToUtf16,this.utf8Length<1e4&&!d._sharedPtrInUse?(d._sharedPtr||(d._sharedPtr=c._omalloc(1e4)),d._sharedPtrInUse=!0,c.HEAPU8.set(p.utf8Value,d._sharedPtr),this.ptr=d._sharedPtr):this.ptr=p.createString(c)}convertUtf8OffsetToUtf16(v){return this.utf8OffsetToUtf16?v<0?0:v>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[v]:v}convertUtf16OffsetToUtf8(v){return this.utf16OffsetToUtf8?v<0?0:v>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[v]:v}dispose(){this.ptr===d._sharedPtr?d._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}o.OnigString=d,d.LAST_ID=0,d._sharedPtr=0,d._sharedPtrInUse=!1;class m{constructor(v){if(!c)throw new Error("Must invoke loadWASM first.");const p=[],w=[];for(let b=0,y=v.length;b<y;b++){const _=new u(v[b]);p[b]=_.createString(c),w[b]=_.utf8Length}const E=c._omalloc(4*v.length);c.HEAPU32.set(p,E/4);const T=c._omalloc(4*v.length);c.HEAPU32.set(w,T/4);const h=c._createOnigScanner(E,T,v.length);for(let b=0,y=v.length;b<y;b++)c._ofree(p[b]);c._ofree(T),c._ofree(E),h===0&&function(b){throw new Error(b.UTF8ToString(b._getLastOnigError()))}(c),this._onigBinding=c,this._ptr=h}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(v,p,w){let E=f,T=0;if(typeof w=="number"?(8&w&&(E=!0),T=w):typeof w=="boolean"&&(E=w),typeof v=="string"){v=new d(v);const h=this._findNextMatchSync(v,p,E,T);return v.dispose(),h}return this._findNextMatchSync(v,p,E,T)}_findNextMatchSync(v,p,w,E){const T=this._onigBinding;let h;if(h=w?T._findNextOnigScannerMatchDbg(this._ptr,v.id,v.ptr,v.utf8Length,v.convertUtf16OffsetToUtf8(p),E):T._findNextOnigScannerMatch(this._ptr,v.id,v.ptr,v.utf8Length,v.convertUtf16OffsetToUtf8(p),E),h===0)return null;const b=T.HEAPU32;let y=h/4;const _=b[y++],$=b[y++];let x=[];for(let k=0;k<$;k++){const A=v.convertUtf8OffsetToUtf16(b[y++]),R=v.convertUtf8OffsetToUtf16(b[y++]);x[k]={start:A,end:R,length:R-A}}return{index:_,captureIndices:x}}}o.OnigScanner=m;let g=!1,S=null;o.loadWASM=function(P){if(g)return S;let v,p,w,E;if(g=!0,function(T){return typeof T.instantiator=="function"}(P))v=P.instantiator,p=P.print;else{let T;(function(h){return h.data!==void 0})(P)?(T=P.data,p=P.print):T=P,v=function(h){return typeof Response<"u"&&h instanceof Response}(T)?typeof WebAssembly.instantiateStreaming=="function"?function(h){return b=>WebAssembly.instantiateStreaming(h,b)}(T):function(h){return async b=>{const y=await h.arrayBuffer();return WebAssembly.instantiate(y,b)}}(T):function(h){return b=>WebAssembly.instantiate(h,b)}(T)}return S=new Promise((T,h)=>{w=T,E=h}),function(T,h,b,y){(0,l.default)({print:h,instantiateWasm:(_,$)=>{if(typeof performance>"u"){const x=()=>Date.now();_.env.emscripten_get_now=x,_.wasi_snapshot_preview1.emscripten_get_now=x}return T(_).then(x=>$(x.instance),y),{}}}).then(_=>{c=_,b()})}(v,p,w,E),S},o.createOnigString=function(P){return new d(P)},o.createOnigScanner=function(P){return new m(P)},o.setDefaultDebugCall=function(P){f=P}},418:s=>{var o=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,l,c=(i=i||{})!==void 0?i:{};c.ready=new Promise(function(M,U){a=M,l=U});var f,u=Object.assign({},c),d=!1,m="";function g(M){return c.locateFile?c.locateFile(M,m):m+M}f=function(M){let U;return typeof readbuffer=="function"?new Uint8Array(readbuffer(M)):(U=read(M,"binary"),E(typeof U=="object"),U)},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 S,P,v=c.print||console.log.bind(console),p=c.printErr||console.warn.bind(console);Object.assign(c,u),u=null,c.arguments&&c.arguments,c.thisProgram&&c.thisProgram,c.quit&&c.quit,c.wasmBinary&&(S=c.wasmBinary),c.noExitRuntime,typeof WebAssembly!="object"&&ge("no native wasm support detected");var w=!1;function E(M,U){M||ge(U)}var T,h,b,y=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function _(M,U,ne){for(var he=U+ne,ue=U;M[ue]&&!(ue>=he);)++ue;if(ue-U>16&&M.buffer&&y)return y.decode(M.subarray(U,ue));for(var le="";U<ue;){var _e=M[U++];if(128&_e){var He=63&M[U++];if((224&_e)!=192){var rt=63&M[U++];if((_e=(240&_e)==224?(15&_e)<<12|He<<6|rt:(7&_e)<<18|He<<12|rt<<6|63&M[U++])<65536)le+=String.fromCharCode(_e);else{var Sr=_e-65536;le+=String.fromCharCode(55296|Sr>>10,56320|1023&Sr)}}else le+=String.fromCharCode((31&_e)<<6|He)}else le+=String.fromCharCode(_e)}return le}function $(M,U){return M?_(h,M,U):""}function x(M){T=M,c.HEAP8=new Int8Array(M),c.HEAP16=new Int16Array(M),c.HEAP32=new Int32Array(M),c.HEAPU8=h=new Uint8Array(M),c.HEAPU16=new Uint16Array(M),c.HEAPU32=b=new Uint32Array(M),c.HEAPF32=new Float32Array(M),c.HEAPF64=new Float64Array(M)}c.INITIAL_MEMORY;var k=[],A=[],R=[];function I(){if(c.preRun)for(typeof c.preRun=="function"&&(c.preRun=[c.preRun]);c.preRun.length;)B(c.preRun.shift());N(k)}function j(){N(A)}function H(){if(c.postRun)for(typeof c.postRun=="function"&&(c.postRun=[c.postRun]);c.postRun.length;)te(c.postRun.shift());N(R)}function B(M){k.unshift(M)}function K(M){A.unshift(M)}function te(M){R.unshift(M)}var J=0,Q=null;function ce(M){J++,c.monitorRunDependencies&&c.monitorRunDependencies(J)}function ae(M){if(J--,c.monitorRunDependencies&&c.monitorRunDependencies(J),J==0&&Q){var U=Q;Q=null,U()}}function ge(M){c.onAbort&&c.onAbort(M),p(M="Aborted("+M+")"),w=!0,M+=". Build with -sASSERTIONS for more info.";var U=new WebAssembly.RuntimeError(M);throw l(U),U}var ye,C,X="data:application/octet-stream;base64,";function W(M){return M.startsWith(X)}function ee(M){try{if(M==ye&&S)return new Uint8Array(S);if(f)return f(M);throw"both async and sync fetching of the wasm failed"}catch(U){ge(U)}}function ve(){return S||!d||typeof fetch!="function"?Promise.resolve().then(function(){return ee(ye)}):fetch(ye,{credentials:"same-origin"}).then(function(M){if(!M.ok)throw"failed to load wasm binary file at '"+ye+"'";return M.arrayBuffer()}).catch(function(){return ee(ye)})}function O(){var M={env:V,wasi_snapshot_preview1:V};function U(ue,le){var _e=ue.exports;c.asm=_e,x((P=c.asm.memory).buffer),c.asm.__indirect_function_table,K(c.asm.__wasm_call_ctors),ae()}function ne(ue){U(ue.instance)}function he(ue){return ve().then(function(le){return WebAssembly.instantiate(le,M)}).then(function(le){return le}).then(ue,function(le){p("failed to asynchronously prepare wasm: "+le),ge(le)})}if(ce(),c.instantiateWasm)try{return c.instantiateWasm(M,U)}catch(ue){p("Module.instantiateWasm callback failed with error: "+ue),l(ue)}return(S||typeof WebAssembly.instantiateStreaming!="function"||W(ye)||typeof fetch!="function"?he(ne):fetch(ye,{credentials:"same-origin"}).then(function(ue){return WebAssembly.instantiateStreaming(ue,M).then(ne,function(le){return p("wasm streaming compile failed: "+le),p("falling back to ArrayBuffer instantiation"),he(ne)})})).catch(l),{}}function N(M){for(;M.length>0;)M.shift()(c)}function L(M,U,ne){h.copyWithin(M,U,U+ne)}function D(M){try{return P.grow(M-T.byteLength+65535>>>16),x(P.buffer),1}catch{}}function F(M){var U,ne=h.length,he=2147483648;if((M>>>=0)>he)return!1;for(var ue=1;ue<=4;ue*=2){var le=ne*(1+.2/ue);if(le=Math.min(le,M+100663296),D(Math.min(he,(U=Math.max(M,le))+(65536-U%65536)%65536)))return!0}return!1}W(ye="onig.wasm")||(ye=g(ye)),C=typeof dateNow<"u"?dateNow:()=>performance.now();var G=[null,[],[]];function Y(M,U){var ne=G[M];U===0||U===10?((M===1?v:p)(_(ne,0)),ne.length=0):ne.push(U)}function z(M,U,ne,he){for(var ue=0,le=0;le<ne;le++){var _e=b[U>>2],He=b[U+4>>2];U+=8;for(var rt=0;rt<He;rt++)Y(M,h[_e+rt]);ue+=He}return b[he>>2]=ue,0}var q,V={emscripten_get_now:C,emscripten_memcpy_big:L,emscripten_resize_heap:F,fd_write:z};function se(M){function U(){q||(q=!0,c.calledRun=!0,w||(j(),a(c),c.onRuntimeInitialized&&c.onRuntimeInitialized(),H()))}J>0||(I(),J>0||(c.setStatus?(c.setStatus("Running..."),setTimeout(function(){setTimeout(function(){c.setStatus("")},1),U()},1)):U()))}if(O(),c.___wasm_call_ctors=function(){return(c.___wasm_call_ctors=c.asm.__wasm_call_ctors).apply(null,arguments)},c.___errno_location=function(){return(c.___errno_location=c.asm.__errno_location).apply(null,arguments)},c._omalloc=function(){return(c._omalloc=c.asm.omalloc).apply(null,arguments)},c._ofree=function(){return(c._ofree=c.asm.ofree).apply(null,arguments)},c._getLastOnigError=function(){return(c._getLastOnigError=c.asm.getLastOnigError).apply(null,arguments)},c._createOnigScanner=function(){return(c._createOnigScanner=c.asm.createOnigScanner).apply(null,arguments)},c._freeOnigScanner=function(){return(c._freeOnigScanner=c.asm.freeOnigScanner).apply(null,arguments)},c._findNextOnigScannerMatch=function(){return(c._findNextOnigScannerMatch=c.asm.findNextOnigScannerMatch).apply(null,arguments)},c._findNextOnigScannerMatchDbg=function(){return(c._findNextOnigScannerMatchDbg=c.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},c.stackSave=function(){return(c.stackSave=c.asm.stackSave).apply(null,arguments)},c.stackRestore=function(){return(c.stackRestore=c.asm.stackRestore).apply(null,arguments)},c.stackAlloc=function(){return(c.stackAlloc=c.asm.stackAlloc).apply(null,arguments)},c.dynCall_jiji=function(){return(c.dynCall_jiji=c.asm.dynCall_jiji).apply(null,arguments)},c.UTF8ToString=$,Q=function M(){q||se(),q||(Q=M)},c.preInit)for(typeof c.preInit=="function"&&(c.preInit=[c.preInit]);c.preInit.length>0;)c.preInit.pop()();return se(),i.ready});s.exports=o}},r={},function s(o){var i=r[o];if(i!==void 0)return i.exports;var a=r[o]={exports:{}};return n[o].call(a.exports,a,a.exports,s),a.exports}(770);var n,r})})(T$);var Io={},$$={get exports(){return Io},set exports(e){Io=e}};(function(e,t){(function(n,r){e.exports=r()})(ap,function(){return(()=>{var n={350:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},36:(s,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let l=a.toString(2);for(;l.length<32;)l="0"+l;return l},i.print=function(a){const l=i.getLanguageId(a),c=i.getTokenType(a),f=i.getFontStyle(a),u=i.getForeground(a),d=i.getBackground(a);console.log({languageId:l,tokenType:c,fontStyle:f,foreground:u,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,l,c,f,u,d,m){let g=i.getLanguageId(a),S=i.getTokenType(a),P=i.containsBalancedBrackets(a)?1:0,v=i.getFontStyle(a),p=i.getForeground(a),w=i.getBackground(a);return l!==0&&(g=l),c!==8&&(S=c),f!==null&&(P=f?1:0),u!==-1&&(v=u),d!==0&&(p=d),m!==0&&(w=m),(g<<0|S<<8|P<<10|v<<11|p<<15|w<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class l{constructor(d,m){this.languageId=d,this.tokenType=m}}o.BasicScopeAttributes=l;class c{constructor(d,m){this._getBasicScopeAttributes=new a.CachedFn(g=>{const S=this._scopeToLanguage(g),P=this._toStandardTokenType(g);return new l(S,P)}),this._defaultAttributes=new l(d,8),this._embeddedLanguagesMatcher=new f(Object.entries(m||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(d){return d===null?c._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(d)}_scopeToLanguage(d){return this._embeddedLanguagesMatcher.match(d)||0}_toStandardTokenType(d){const m=d.match(c.STANDARD_TOKEN_TYPE_REGEXP);if(!m)return 8;switch(m[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}o.BasicScopeAttributesProvider=c,c._NULL_SCOPE_METADATA=new l(0,0),c.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class f{constructor(d){if(d.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(d);const m=d.map(([g,S])=>a.escapeRegExpCharacters(g));m.sort(),m.reverse(),this.scopesRegExp=new RegExp(`^((${m.join(")|(")}))($|\\.)`,"")}}match(d){if(!this.scopesRegExp)return;const m=d.match(this.scopesRegExp);return m?this.values.get(m[1]):void 0}}},947:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStack=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),l=i(36),c=i(736),f=i(44),u=i(792),d=i(583),m=i(878),g=i(996),S=i(47);function P(y,_,$,x,k){const A=c.createMatchers(_,v),R=u.RuleFactory.getCompiledRuleId($,x,k.repository);for(const I of A)y.push({debugSelector:_,matcher:I.matcher,ruleId:R,grammar:k,priority:I.priority})}function v(y,_){if(_.length<y.length)return!1;let $=0;return y.every(x=>{for(let k=$;k<_.length;k++)if(p(_[k],x))return $=k+1,!0;return!1})}function p(y,_){if(!y)return!1;if(y===_)return!0;const $=_.length;return y.length>$&&y.substr(0,$)===_&&y[$]==="."}o.createGrammar=function(y,_,$,x,k,A,R,I){return new w(y,_,$,x,k,A,R,I)};class w{constructor(_,$,x,k,A,R,I,j){if(this._rootScopeName=_,this.balancedBracketSelectors=R,this._onigLib=j,this._basicScopeAttributesProvider=new g.BasicScopeAttributesProvider(x,k),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=I,this._grammar=E($,null),this._injections=null,this._tokenTypeMatchers=[],A)for(const H of Object.keys(A)){const B=c.createMatchers(H,v);for(const K of B)this._tokenTypeMatchers.push({matcher:K.matcher,type:A[H]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const _ of this._ruleId2desc)_&&_.dispose()}createOnigScanner(_){return this._onigLib.createOnigScanner(_)}createOnigString(_){return this._onigLib.createOnigString(_)}getMetadataForScope(_){return this._basicScopeAttributesProvider.getBasicScopeAttributes(_)}_collectInjections(){const _=[],$=this._rootScopeName,x=(k=>k===this._rootScopeName?this._grammar:this.getExternalGrammar(k))($);if(x){const k=x.injections;if(k)for(let R in k)P(_,R,k[R],this,x);const A=this._grammarRepository.injections($);A&&A.forEach(R=>{const I=this.getExternalGrammar(R);if(I){const j=I.injectionSelector;j&&P(_,j,I,this,I)}})}return _.sort((k,A)=>k.priority-A.priority),_}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 _ of this._injections)console.log(` - ${_.debugSelector}`)}return this._injections}registerRule(_){const $=++this._lastRuleId,x=_(u.ruleIdFromNumber($));return this._ruleId2desc[$]=x,x}getRule(_){return this._ruleId2desc[u.ruleIdToNumber(_)]}getExternalGrammar(_,$){if(this._includedGrammars[_])return this._includedGrammars[_];if(this._grammarRepository){const x=this._grammarRepository.lookup(_);if(x)return this._includedGrammars[_]=E(x,$&&$.$base),this._includedGrammars[_]}}tokenizeLine(_,$,x=0){const k=this._tokenize(_,$,!1,x);return{tokens:k.lineTokens.getResult(k.ruleStack,k.lineLength),ruleStack:k.ruleStack,stoppedEarly:k.stoppedEarly}}tokenizeLine2(_,$,x=0){const k=this._tokenize(_,$,!0,x);return{tokens:k.lineTokens.getBinaryResult(k.ruleStack,k.lineLength),ruleStack:k.ruleStack,stoppedEarly:k.stoppedEarly}}_tokenize(_,$,x,k){let A;if(this._rootId===-1&&(this._rootId=u.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),$&&$!==h.NULL)A=!1,$.reset();else{A=!0;const B=this._basicScopeAttributesProvider.getDefaultAttributes(),K=this.themeProvider.getDefaults(),te=l.EncodedTokenAttributes.set(0,B.languageId,B.tokenType,null,K.fontStyle,K.foregroundId,K.backgroundId),J=this.getRule(this._rootId).getName(null,null);let Q;Q=J?T.createRootAndLookUpScopeName(J,te,this):T.createRoot("unknown",te),$=new h(null,this._rootId,-1,-1,!1,null,Q,Q)}_+=`
|
|
7
|
+
`)},_domwindow(){return r("domwindow")},_bigint(s){return r("bigint:"+s.toString())},_process(){return r("process")},_timer(){return r("timer")},_pipe(){return r("pipe")},_tcp(){return r("tcp")},_udp(){return r("udp")},_tty(){return r("tty")},_statwatcher(){return r("statwatcher")},_securecontext(){return r("securecontext")},_connection(){return r("connection")},_zlib(){return r("zlib")},_context(){return r("context")},_nodescript(){return r("nodescript")},_httpparser(){return r("httpparser")},_dataview(){return r("dataview")},_signal(){return r("signal")},_fsevent(){return r("fsevent")},_tlswrap(){return r("tlswrap")}}}function su(e){return typeof e!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code]\s+}$/i.exec(Function.prototype.toString.call(e))!=null}class hr{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||_b).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new hr([...this.words])}}const _b={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},yb={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const s=e.words[r>>>2]>>>24-r%4*8&255,o=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=s<<16|o<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(a>>>6*(3-l)&63))}return n.join("")}},bb={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new hr(n,t)}},wb={parse(e){return bb.parse(unescape(encodeURIComponent(e)))}};class Eb{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new hr,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=wb.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*this.blockSize,o=Math.min(s*4,this._data.sigBytes);if(s){for(let i=0;i<s;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,s),this._data.sigBytes-=o}return new hr(n,o)}}class Tb extends Eb{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const $b=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Sb=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],bn=[];class Pb extends Tb{constructor(){super(),this.reset()}reset(){super.reset(),this._hash=new hr([...$b])}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],l=r[4],c=r[5],f=r[6],u=r[7];for(let d=0;d<64;d++){if(d<16)bn[d]=t[n+d]|0;else{const w=bn[d-15],E=(w<<25|w>>>7)^(w<<14|w>>>18)^w>>>3,T=bn[d-2],h=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;bn[d]=E+bn[d-7]+h+bn[d-16]}const m=l&c^~l&f,g=s&o^s&i^o&i,S=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),P=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),v=u+P+m+Sb[d]+bn[d],p=S+g;u=f,f=c,c=l,l=a+v|0,a=i,i=o,o=s,s=v+p|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+f|0,r[7]=r[7]+u|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function xb(e){return new Pb().finalize(e).toString(yb)}function kb(e,t={}){const n=typeof e=="string"?e:vb(e,t);return xb(n).slice(0,10)}function Ab(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=r.key||kb([s,re(r.baseURL),typeof e=="string"?e:"",re(r.params||r.query)]);if(!o||typeof o!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+o);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const i=o===s?"$f"+o:o,a=de(()=>{let E=e;return typeof E=="function"&&(E=E()),re(E)});if(!r.baseURL&&typeof a.value=="string"&&a.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:f,transform:u,pick:d,watch:m,immediate:g,...S}=r,P=at({...S,cache:typeof r.cache=="boolean"?void 0:r.cache}),v={server:l,lazy:c,default:f,transform:u,pick:d,immediate:g,watch:m===!1?[]:[P,a,...m||[]]};let p;return Ls(i,()=>(p?.abort?.(),p=typeof AbortController<"u"?new AbortController:{},typeof a.value=="string"&&a.value.startsWith("/"),(r.$fetch||globalThis.$fetch)(a.value,{signal:p.signal,...P})),v)}const Sa=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Rb=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ob=e=>{const t=Re();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Sa(e)}):Sa(e)};async function jh(e,t=gt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>jh(e,t));t._routePreloaded.add(n);const o=r.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}function Nb(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Re().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Cb=(...e)=>e.find(t=>t!==void 0),Lb="noopener noreferrer";function Ib(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?rh:ml;if(typeof r=="string")return o(r,!0);const i="path"in r?r.path:s(r).path;return{...r,name:void 0,path:o(i,!0)}};return xe({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:s}){const o=gt(),i=de(()=>{const u=r.to||r.href||"";return n(u,o.resolve)}),a=de(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Tr(i.value,{acceptRelative:!0})),l=Z(!1),c=Z(null),f=u=>{c.value=r.custom?u?.$el?.nextElementSibling:u?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!Mb()){const d=Re();let m,g=null;Yt(()=>{const S=jb();Ob(()=>{m=Sa(()=>{c?.value?.tagName&&(g=S.observe(c.value,async()=>{g?.(),g=null;const P=typeof i.value=="string"?i.value:o.resolve(i.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",P).catch(()=>{}),!a.value&&jh(i.value,o).catch(()=>{})]),l.value=!0}))})})}),Er(()=>{m&&Rb(m),g?.(),g=null})}return()=>{if(!a.value){const S={ref:f,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(l.value&&(S.class=r.prefetchedClass||e.prefetchedClass),S.rel=r.rel),qe(hn("RouterLink"),S,s.default)}const u=typeof i.value=="object"?o.resolve(i.value)?.href??null:i.value||null,d=r.target||null,m=r.noRel?null:Cb(r.rel,e.externalRelAttribute,u?Lb:"")||null,g=()=>Eh(u,{replace:r.replace});return r.custom?s.default?s.default({href:u,navigate:g,get route(){if(!u)return;const S=Cs(u);return{path:S.pathname,fullPath:S.pathname,get query(){return nh(S.search)},hash:S.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u}},rel:m,target:d,isExternal:a.value,isActive:!1,isExactActive:!1}):null:qe("a",{ref:c,href:u,rel:m,target:d},s.default?.())}}})}const wl=Ib({componentName:"NuxtLink"});function jb(){const e=Re();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function Mb(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function zt(e){return Gf()?(_m(e),!0):!1}function ze(e){return typeof e=="function"?e():re(e)}const Ln=typeof window<"u",Db=e=>typeof e<"u",pr=()=>{},Fb=Bb();function Bb(){var e;return Ln&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function Mh(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const Dh=e=>e();function Hb(e,t={}){let n,r,s=pr;const o=a=>{clearTimeout(a),s(),s=pr};return a=>{const l=ze(e),c=ze(t.maxWait);return n&&o(n),l<=0||c!==void 0&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((f,u)=>{s=t.rejectOnCancel?u:f,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,f(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,f(a())},l)})}}function Ub(e=Dh){const t=Z(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Fn(t),pause:n,resume:r,eventFilter:s}}function ou(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function Wb(...e){if(e.length!==1)return Yo(...e);const t=e[0];return typeof t=="function"?Fn(od(()=>({get:t,set:pr}))):Z(t)}function Gb(e,t=200,n={}){return Mh(Hb(t,n),e)}function Vb(e,t=200,n={}){const r=Z(e.value),s=Gb(()=>{r.value=e.value},t,n);return Ce(e,()=>s()),r}var zb=Object.defineProperty,qb=Object.defineProperties,Kb=Object.getOwnPropertyDescriptors,iu=Object.getOwnPropertySymbols,Xb=Object.prototype.hasOwnProperty,Yb=Object.prototype.propertyIsEnumerable,au=(e,t,n)=>t in e?zb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jb=(e,t)=>{for(var n in t||(t={}))Xb.call(t,n)&&au(e,n,t[n]);if(iu)for(var n of iu(t))Yb.call(t,n)&&au(e,n,t[n]);return e},Qb=(e,t)=>qb(e,Kb(t));function Zb(e){if(!Me(e))return Ym(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=od(()=>({get(){return e.value[n]},set(r){if(Array.isArray(e.value)){const s=[...e.value];s[n]=r,e.value=s}else{const s=Qb(Jb({},e.value),{[n]:r});Object.setPrototypeOf(s,e.value),e.value=s}}}));return t}function El(e,t=!0){pt()?Yt(e):t?e():Lt(e)}function Pa(e,t=!1){function n(u,{flush:d="sync",deep:m=!1,timeout:g,throwOnTimeout:S}={}){let P=null;const p=[new Promise(w=>{P=Ce(e,E=>{u(E)!==t&&(P?.(),w(E))},{flush:d,deep:m,immediate:!0})})];return g!=null&&p.push(ou(g,S).then(()=>ze(e)).finally(()=>P?.())),Promise.race(p)}function r(u,d){if(!Me(u))return n(E=>E===u,d);const{flush:m="sync",deep:g=!1,timeout:S,throwOnTimeout:P}=d??{};let v=null;const w=[new Promise(E=>{v=Ce([e,u],([T,h])=>{t!==(T===h)&&(v?.(),E(T))},{flush:m,deep:g,immediate:!0})})];return S!=null&&w.push(ou(S,P).then(()=>ze(e)).finally(()=>(v?.(),ze(e)))),Promise.race(w)}function s(u){return n(d=>!!d,u)}function o(u){return r(null,u)}function i(u){return r(void 0,u)}function a(u){return n(Number.isNaN,u)}function l(u,d){return n(m=>{const g=Array.from(m);return g.includes(u)||g.includes(ze(u))},d)}function c(u){return f(1,u)}function f(u=1,d){let m=-1;return n(()=>(m+=1,m>=u),d)}return Array.isArray(ze(e))?{toMatch:n,toContains:l,changed:c,changedTimes:f,get not(){return Pa(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:f,get not(){return Pa(e,!t)}}}function SA(e){return Pa(e)}function e1(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let o=null;const i=Z(!1);function a(){o&&(clearInterval(o),o=null)}function l(){i.value=!1,a()}function c(){const f=ze(t);f<=0||(i.value=!0,s&&e(),a(),o=setInterval(e,f))}if(r&&Ln&&c(),Me(t)||typeof t=="function"){const f=Ce(t,()=>{i.value&&Ln&&c()});zt(f)}return zt(l),{isActive:i,pause:l,resume:c}}function t1(e,t,n={}){const{immediate:r=!0}=n,s=Z(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function a(){s.value=!1,i()}function l(...c){i(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...c)},ze(t))}return r&&(s.value=!0,Ln&&l()),zt(a),{isPending:Fn(s),start:l,stop:a}}var lu=Object.getOwnPropertySymbols,n1=Object.prototype.hasOwnProperty,r1=Object.prototype.propertyIsEnumerable,s1=(e,t)=>{var n={};for(var r in e)n1.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&lu)for(var r of lu(e))t.indexOf(r)<0&&r1.call(e,r)&&(n[r]=e[r]);return n};function o1(e,t,n={}){const r=n,{eventFilter:s=Dh}=r,o=s1(r,["eventFilter"]);return Ce(e,Mh(s,t),o)}var i1=Object.defineProperty,a1=Object.defineProperties,l1=Object.getOwnPropertyDescriptors,Oo=Object.getOwnPropertySymbols,Fh=Object.prototype.hasOwnProperty,Bh=Object.prototype.propertyIsEnumerable,cu=(e,t,n)=>t in e?i1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c1=(e,t)=>{for(var n in t||(t={}))Fh.call(t,n)&&cu(e,n,t[n]);if(Oo)for(var n of Oo(t))Bh.call(t,n)&&cu(e,n,t[n]);return e},u1=(e,t)=>a1(e,l1(t)),f1=(e,t)=>{var n={};for(var r in e)Fh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Oo)for(var r of Oo(e))t.indexOf(r)<0&&Bh.call(e,r)&&(n[r]=e[r]);return n};function d1(e,t,n={}){const r=n,{eventFilter:s}=r,o=f1(r,["eventFilter"]),{eventFilter:i,pause:a,resume:l,isActive:c}=Ub(s);return{stop:o1(e,t,u1(c1({},o),{eventFilter:i})),pause:a,resume:l,isActive:c}}function PA(e,t,n){let r;Me(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:a=pr}=r,l=Z(!s),c=i?Cn(t):Z(t);let f=0;return rr(async u=>{if(!l.value)return;f++;const d=f;let m=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const g=await e(S=>{u(()=>{o&&(o.value=!1),m||S()})});d===f&&(c.value=g)}catch(g){a(g)}finally{o&&d===f&&(o.value=!1),m=!0}}),s?de(()=>(l.value=!0,c.value)):c}function Hh(e={}){let t=0;const n=Z([]);function r(...i){const a=Ya({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=f=>(a.isResolving=!0,l(f)),a.reject=c}).finally(()=>{a.promise=void 0;const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}),a.promise}function s(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const o=xe((i,{slots:a})=>{const l=()=>n.value.map(c=>{var f;return qe(Ne,{key:c.key},(f=a.default)==null?void 0:f.call(a,c))});return e.transition?()=>qe(Av,e.transition,l):l});return o.start=s,o}function it(e){var t;const n=ze(e);return(t=n?.$el)!=null?t:n}const $t=Ln?window:void 0,h1=Ln?window.document:void 0,p1=Ln?window.navigator:void 0;function Nt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=$t):[t,n,r,s]=e,!t)return pr;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},a=(f,u,d,m)=>(f.addEventListener(u,d,m),()=>f.removeEventListener(u,d,m)),l=Ce(()=>[it(t),ze(s)],([f,u])=>{i(),f&&o.push(...n.flatMap(d=>r.map(m=>a(f,d,m,u))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return zt(c),c}let uu=!1;function m1(e,t,n={}){const{window:r=$t,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;Fb&&!uu&&(uu=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",pr)));let a=!0;const l=d=>s.some(m=>{if(typeof m=="string")return Array.from(r.document.querySelectorAll(m)).some(g=>g===d.target||d.composedPath().includes(g));{const g=it(m);return g&&(d.target===g||d.composedPath().includes(g))}}),f=[Nt(r,"click",d=>{const m=it(e);if(!(!m||m===d.target||d.composedPath().includes(m))){if(d.detail===0&&(a=!l(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:o}),Nt(r,"pointerdown",d=>{const m=it(e);m&&(a=!d.composedPath().includes(m)&&!l(d))},{passive:!0}),i&&Nt(r,"blur",d=>{var m;const g=it(e);((m=r.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!g?.contains(r.document.activeElement)&&t(d)})].filter(Boolean);return()=>f.forEach(d=>d())}var g1=Object.defineProperty,v1=Object.defineProperties,_1=Object.getOwnPropertyDescriptors,fu=Object.getOwnPropertySymbols,y1=Object.prototype.hasOwnProperty,b1=Object.prototype.propertyIsEnumerable,du=(e,t,n)=>t in e?g1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w1=(e,t)=>{for(var n in t||(t={}))y1.call(t,n)&&du(e,n,t[n]);if(fu)for(var n of fu(t))b1.call(t,n)&&du(e,n,t[n]);return e},E1=(e,t)=>v1(e,_1(t));function T1(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function $1(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=$t,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=T1(t);return Nt(s,o,f=>{f.repeat&&ze(a)||l(f)&&n(f)},i)}function xA(e,t,n={}){return $1(e,t,E1(w1({},n),{eventName:"keydown"}))}function S1(){const e=Z(!1);return pt()&&Yt(()=>{e.value=!0}),e}function Tl(e){const t=S1();return de(()=>(t.value,!!e()))}function P1(e,t={}){const{immediate:n=!0,window:r=$t}=t,s=Z(!1);let o=0,i=null;function a(f){if(!s.value||!r)return;const u=f-o;e({delta:u,timestamp:f}),o=f,i=r.requestAnimationFrame(a)}function l(){!s.value&&r&&(s.value=!0,i=r.requestAnimationFrame(a))}function c(){s.value=!1,i!=null&&r&&(r.cancelAnimationFrame(i),i=null)}return n&&l(),zt(c),{isActive:Fn(s),pause:c,resume:l}}function x1(e,t={}){const{window:n=$t}=t,r=Tl(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=Z(!1),i=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},a=()=>{r.value&&(i(),s=n.matchMedia(Wb(e).value),o.value=!!s?.matches,s&&("addEventListener"in s?s.addEventListener("change",a):s.addListener(a)))};return rr(a),zt(()=>i()),o}function kA(e={}){const{navigator:t=p1,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=["copy","cut"],a=Tl(()=>t&&"clipboard"in t),l=de(()=>a.value||o),c=Z(""),f=Z(!1),u=t1(()=>f.value=!1,s);function d(){a.value?t.clipboard.readText().then(P=>{c.value=P}):c.value=S()}if(l.value&&n)for(const P of i)Nt(P,d);async function m(P=ze(r)){l.value&&P!=null&&(a.value?await t.clipboard.writeText(P):g(P),c.value=P,f.value=!0,u.start())}function g(P){const v=document.createElement("textarea");v.value=P??"",v.style.position="absolute",v.style.opacity="0",document.body.appendChild(v),v.select(),document.execCommand("copy"),v.remove()}function S(){var P,v,p;return(p=(v=(P=document?.getSelection)==null?void 0:P.call(document))==null?void 0:v.toString())!=null?p:""}return{isSupported:l,text:c,copied:f,copy:m}}function k1(e){return JSON.parse(JSON.stringify(e))}const eo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},to="__vueuse_ssr_handlers__",A1=R1();function R1(){return to in eo||(eo[to]=eo[to]||{}),eo[to]}function O1(e,t){return A1[e]||t}function N1(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 C1=Object.defineProperty,hu=Object.getOwnPropertySymbols,L1=Object.prototype.hasOwnProperty,I1=Object.prototype.propertyIsEnumerable,pu=(e,t,n)=>t in e?C1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mu=(e,t)=>{for(var n in t||(t={}))L1.call(t,n)&&pu(e,n,t[n]);if(hu)for(var n of hu(t))I1.call(t,n)&&pu(e,n,t[n]);return e};const j1={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()}},gu="vueuse-storage";function M1(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:f,window:u=$t,eventFilter:d,onError:m=y=>{console.error(y)}}=r,g=(f?Cn:Z)(t);if(!n)try{n=O1("getDefaultStorage",()=>{var y;return(y=$t)==null?void 0:y.localStorage})()}catch(y){m(y)}if(!n)return g;const S=ze(t),P=N1(S),v=(s=r.serializer)!=null?s:j1[P],{pause:p,resume:w}=d1(g,()=>E(g.value),{flush:o,deep:i,eventFilter:d});return u&&a&&(Nt(u,"storage",b),Nt(u,gu,h)),b(),g;function E(y){try{if(y==null)n.removeItem(e);else{const _=v.write(y),$=n.getItem(e);$!==_&&(n.setItem(e,_),u&&u.dispatchEvent(new CustomEvent(gu,{detail:{key:e,oldValue:$,newValue:_,storageArea:n}})))}}catch(_){m(_)}}function T(y){const _=y?y.newValue:n.getItem(e);if(_==null)return l&&S!==null&&n.setItem(e,v.write(S)),S;if(!y&&c){const $=v.read(_);return typeof c=="function"?c($,S):P==="object"&&!Array.isArray($)?mu(mu({},S),$):$}else return typeof _!="string"?_:v.read(_)}function h(y){b(y.detail)}function b(y){if(!(y&&y.storageArea!==n)){if(y&&y.key==null){g.value=S;return}if(!(y&&y.key!==e)){p();try{g.value=T(y)}catch(_){m(_)}finally{y?Lt(w):w()}}}}}var vu=Object.getOwnPropertySymbols,D1=Object.prototype.hasOwnProperty,F1=Object.prototype.propertyIsEnumerable,B1=(e,t)=>{var n={};for(var r in e)D1.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&vu)for(var r of vu(e))t.indexOf(r)<0&&F1.call(e,r)&&(n[r]=e[r]);return n};function Uh(e,t,n={}){const r=n,{window:s=$t}=r,o=B1(r,["window"]);let i;const a=Tl(()=>s&&"ResizeObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},c=de(()=>Array.isArray(e)?e.map(d=>it(d)):[it(e)]),f=Ce(c,d=>{if(l(),a.value&&s){i=new ResizeObserver(t);for(const m of d)m&&i.observe(m,o)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{l(),f()};return zt(u),{isSupported:a,stop:u}}function AA(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=Z(0),a=Z(0),l=Z(0),c=Z(0),f=Z(0),u=Z(0),d=Z(0),m=Z(0);function g(){const S=it(e);if(!S){n&&(i.value=0,a.value=0,l.value=0,c.value=0,f.value=0,u.value=0,d.value=0,m.value=0);return}const P=S.getBoundingClientRect();i.value=P.height,a.value=P.bottom,l.value=P.left,c.value=P.right,f.value=P.top,u.value=P.width,d.value=P.x,m.value=P.y}return Uh(e,g),Ce(()=>it(e),S=>!S&&g()),s&&Nt("scroll",g,{capture:!0,passive:!0}),r&&Nt("resize",g,{passive:!0}),El(()=>{o&&g()}),{height:i,bottom:a,left:l,right:c,top:f,width:u,x:d,y:m,update:g}}function RA(e,t={width:0,height:0},n={}){const{window:r=$t,box:s="content-box"}=n,o=de(()=>{var l,c;return(c=(l=it(e))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),i=Z(t.width),a=Z(t.height);return Uh(e,([l])=>{const c=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&o.value){const f=it(e);if(f){const u=r.getComputedStyle(f);i.value=parseFloat(u.width),a.value=parseFloat(u.height)}}else if(c){const f=Array.isArray(c)?c:[c];i.value=f.reduce((u,{inlineSize:d})=>u+d,0),a.value=f.reduce((u,{blockSize:d})=>u+d,0)}else i.value=l.contentRect.width,a.value=l.contentRect.height},n),Ce(()=>it(e),l=>{i.value=l?t.width:0,a.value=l?t.height:0}),{width:i,height:a}}function $l(e,t,n={}){const{window:r=$t}=n;return M1(e,t,r?.localStorage,n)}var H1=Object.defineProperty,_u=Object.getOwnPropertySymbols,U1=Object.prototype.hasOwnProperty,W1=Object.prototype.propertyIsEnumerable,yu=(e,t,n)=>t in e?H1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G1=(e,t)=>{for(var n in t||(t={}))U1.call(t,n)&&yu(e,n,t[n]);if(_u)for(var n of _u(t))W1.call(t,n)&&yu(e,n,t[n]);return e};function V1(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=Z(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?P1(s,{immediate:!0}):e1(s,n,{immediate:!0});return t?G1({now:r},o):r}let z1=0;function OA(e,t={}){const n=Z(!1),{document:r=h1,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++z1}`}=t,a=Z(e);let l=()=>{};const c=()=>{if(!r)return;const u=r.getElementById(i)||r.createElement("style");u.isConnected||(u.type="text/css",u.id=i,t.media&&(u.media=t.media),r.head.appendChild(u)),!n.value&&(l=Ce(a,d=>{u.textContent=d},{immediate:!0}),n.value=!0)},f=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&El(c),o||zt(f),{id:i,css:a,unload:f,load:c,isLoaded:Fn(n)}}var q1=Object.defineProperty,No=Object.getOwnPropertySymbols,Wh=Object.prototype.hasOwnProperty,Gh=Object.prototype.propertyIsEnumerable,bu=(e,t,n)=>t in e?q1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K1=(e,t)=>{for(var n in t||(t={}))Wh.call(t,n)&&bu(e,n,t[n]);if(No)for(var n of No(t))Gh.call(t,n)&&bu(e,n,t[n]);return e},X1=(e,t)=>{var n={};for(var r in e)Wh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&No)for(var r of No(e))t.indexOf(r)<0&&Gh.call(e,r)&&(n[r]=e[r]);return n};const Y1=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:1/0,value:31536e6,name:"year"}],J1={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function Q1(e){return e.toISOString().slice(0,10)}function NA(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,s=V1({interval:r,controls:!0}),{now:o}=s,i=X1(s,["now"]),a=de(()=>Z1(new Date(ze(e)),t,ze(o.value)));return n?K1({timeAgo:a},i):a}function Z1(e,t={},n=Date.now()){var r;const{max:s,messages:o=J1,fullDateFormatter:i=Q1,units:a=Y1,showSecond:l=!1,rounding:c="round"}=t,f=typeof c=="number"?P=>+P.toFixed(c):Math[c],u=+n-+e,d=Math.abs(u);function m(P,v){return f(Math.abs(P)/v.value)}function g(P,v){const p=m(P,v),w=P>0,E=S(v.name,p,w);return S(w?"past":"future",E,w)}function S(P,v,p){const w=o[P];return typeof w=="function"?w(v,p):w.replace("{0}",v.toString())}if(d<6e4&&!l)return o.justNow;if(typeof s=="number"&&d>s)return i(new Date(e));if(typeof s=="string"){const P=(r=a.find(v=>v.name===s))==null?void 0:r.max;if(P&&d>P)return i(new Date(e))}for(const[P,v]of a.entries()){if(m(u,v)<=0&&a[P-1])return g(u,a[P-1]);if(d<v.max)return g(u,v)}return o.invalid}function ew(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:f=!1,defaultValue:u,shouldEmit:d}=r,m=pt(),g=n||m?.emit||((s=m?.$emit)==null?void 0:s.bind(m))||((i=(o=m?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(m?.proxy));let S=c;t||(t="modelValue"),S=c||S||`update:${t.toString()}`;const P=w=>a?typeof a=="function"?a(w):k1(w):w,v=()=>Db(e[t])?P(e[t]):u,p=w=>{d?d(w)&&g(S,w):g(S,w)};if(l){const w=v(),E=Z(w);return Ce(()=>e[t],T=>E.value=P(T)),Ce(E,T=>{(T!==e[t]||f)&&p(T)},{deep:f}),E}else return de({get(){return v()},set(w){p(w)}})}function tw(e={}){const{window:t=$t,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=Z(n),a=Z(r),l=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(l(),El(l),Nt("resize",l,{passive:!0}),s){const c=x1("(orientation: portrait)");Ce(c,()=>l())}return{width:i,height:a}}const nw=6e4;function Vh(e){return e}const rw=Vh,{setTimeout:sw}=globalThis;function ow(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=Vh,deserialize:i=rw,resolver:a,timeout:l=nw}=t,c=new Map;let f;const u=new Proxy({},{get(d,m){if(m==="$functions")return e;const g=(...P)=>{n(o({m,a:P,t:"q"}))};if(s.includes(m))return g.asEvent=g,g;const S=async(...P)=>(await f,new Promise((v,p)=>{const w=aw();c.set(w,{resolve:v,reject:p}),n(o({m,a:P,i:w,t:"q"})),l>=0&&sw(()=>{p(new Error(`[birpc] timeout on calling "${m}"`)),c.delete(w)},l)}));return S.asEvent=g,S}});return f=r(async(d,...m)=>{const g=i(d);if(g.t==="q"){const{m:S,a:P}=g;let v,p;const w=a?a(S,e[S]):e[S];if(!w)p=new Error(`[birpc] function "${S}" not found`);else try{v=await w.apply(u,P)}catch(E){p=E}g.i&&(p&&t.onError&&t.onError(p,S,P),n(o({t:"s",i:g.i,r:v,e:p}),...m))}else{const{i:S,r:P,e:v}=g,p=c.get(S);p&&(v?p.reject(v):p.resolve(P)),c.delete(S)}}),u}const iw="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function aw(e=21){let t="",n=e;for(;n--;)t+=iw[Math.random()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:lw,stringify:cw}=JSON,{keys:uw}=Object,ks=String,zh="string",wu={},Co="object",qh=(e,t)=>t,fw=e=>e instanceof ks?ks(e):e,dw=(e,t)=>typeof t===zh?new ks(t):t,Kh=(e,t,n,r)=>{const s=[];for(let o=uw(n),{length:i}=o,a=0;a<i;a++){const l=o[a],c=n[l];if(c instanceof ks){const f=e[c];typeof f===Co&&!t.has(f)?(t.add(f),n[l]=wu,s.push({k:l,a:[e,t,f,r]})):n[l]=r.call(n,l,f)}else n[l]!==wu&&(n[l]=r.call(n,l,c))}for(let{length:o}=s,i=0;i<o;i++){const{k:a,a:l}=s[i];n[a]=r.call(n,a,Kh.apply(null,l))}return n},Eu=(e,t,n)=>{const r=ks(t.push(n)-1);return e.set(n,r),r},hw=(e,t)=>{const n=lw(e,dw).map(fw),r=n[0],s=t||qh,o=typeof r===Co&&r?Kh(n,new Set,r,s):r;return s.call({"":o},"",o)},pw=(e,t,n)=>{const r=t&&typeof t===Co?(f,u)=>f===""||-1<t.indexOf(f)?u:void 0:t||qh,s=new Map,o=[],i=[];let a=+Eu(s,o,r.call({"":e},"",e)),l=!a;for(;a<o.length;)l=!0,i[a]=cw(o[a++],c,n);return"["+i.join(",")+"]";function c(f,u){if(l)return l=!l,u;const d=r.call(this,f,u);switch(typeof d){case Co:if(d===null)return d;case zh:return s.get(d)||Eu(s,o,d)}return d}},mw=2e3,ho=Z(!1),xa=Z(),gw=Vb(ho,2e3);let Xh=Zh(),Yh=()=>{};const Jh={},Qh=new Map,Ie=ow(Jh,{post:async e=>{(await Xh).send(e)},on:e=>{Yh=e},serialize:pw,deserialize:hw,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return Qh.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function Zh(){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=>Yh(String(n.data))),t.addEventListener("error",n=>{console.error(n),xa.value=n}),t.addEventListener("close",()=>{console.log("[nuxt-devtools] WebSocket closed, reconnecting..."),ho.value=!0,setTimeout(async()=>{Xh=Zh()},mw)}),ho.value=!0,t.readyState!==WebSocket.OPEN&&await new Promise(n=>t.addEventListener("open",n)),console.log("[nuxt-devtools] WebSocket connected."),ho.value=!1,xa.value=null,t}function vw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function CA(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var s=[null];s.push.apply(s,arguments);var o=Function.bind.apply(t,s);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var ka={exports:{}};const _w="2.0.0",yw=256,bw=Number.MAX_SAFE_INTEGER||9007199254740991,ww=16,Ew=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var li={MAX_LENGTH:yw,MAX_SAFE_COMPONENT_LENGTH:ww,MAX_SAFE_INTEGER:bw,RELEASE_TYPES:Ew,SEMVER_SPEC_VERSION:_w,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const Tw=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var ci=Tw;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=li,r=ci;t=e.exports={};const s=t.re=[],o=t.src=[],i=t.t={};let a=0;const l=(c,f,u)=>{const d=a++;r(c,d,f),i[c]=d,o[d]=f,s[d]=new RegExp(f,u?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${o[i.NUMERICIDENTIFIER]})\\.(${o[i.NUMERICIDENTIFIER]})\\.(${o[i.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${o[i.NUMERICIDENTIFIERLOOSE]})\\.(${o[i.NUMERICIDENTIFIERLOOSE]})\\.(${o[i.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${o[i.NUMERICIDENTIFIER]}|${o[i.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${o[i.NUMERICIDENTIFIERLOOSE]}|${o[i.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${o[i.PRERELEASEIDENTIFIER]}(?:\\.${o[i.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${o[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[i.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${o[i.BUILDIDENTIFIER]}(?:\\.${o[i.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${o[i.MAINVERSION]}${o[i.PRERELEASE]}?${o[i.BUILD]}?`),l("FULL",`^${o[i.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${o[i.MAINVERSIONLOOSE]}${o[i.PRERELEASELOOSE]}?${o[i.BUILD]}?`),l("LOOSE",`^${o[i.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${o[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${o[i.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${o[i.XRANGEIDENTIFIER]})(?:\\.(${o[i.XRANGEIDENTIFIER]})(?:\\.(${o[i.XRANGEIDENTIFIER]})(?:${o[i.PRERELEASE]})?${o[i.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${o[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[i.XRANGEIDENTIFIERLOOSE]})(?:${o[i.PRERELEASELOOSE]})?${o[i.BUILD]}?)?)?`),l("XRANGE",`^${o[i.GTLT]}\\s*${o[i.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${o[i.GTLT]}\\s*${o[i.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),l("COERCERTL",o[i.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${o[i.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${o[i.LONETILDE]}${o[i.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${o[i.LONETILDE]}${o[i.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${o[i.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${o[i.LONECARET]}${o[i.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${o[i.LONECARET]}${o[i.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${o[i.GTLT]}\\s*(${o[i.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${o[i.GTLT]}\\s*(${o[i.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${o[i.GTLT]}\\s*(${o[i.LOOSEPLAIN]}|${o[i.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${o[i.XRANGEPLAIN]})\\s+-\\s+(${o[i.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${o[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[i.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(ka,ka.exports);var Is=ka.exports;const $w=Object.freeze({loose:!0}),Sw=Object.freeze({}),Pw=e=>e?typeof e!="object"?$w:e:Sw;var Sl=Pw;const Tu=/^[0-9]+$/,ep=(e,t)=>{const n=Tu.test(e),r=Tu.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},xw=(e,t)=>ep(t,e);var tp={compareIdentifiers:ep,rcompareIdentifiers:xw};const no=ci,{MAX_LENGTH:$u,MAX_SAFE_INTEGER:ro}=li,{re:Su,t:Pu}=Is,kw=Sl,{compareIdentifiers:Un}=tp;let Aw=class kt{constructor(t,n){if(n=kw(n),t instanceof kt){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>$u)throw new TypeError(`version is longer than ${$u} characters`);no("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?Su[Pu.LOOSE]:Su[Pu.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>ro||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ro||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ro||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){const o=+s;if(o>=0&&o<ro)return o}return s}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(no("SemVer.compare",this.version,this.options,t),!(t instanceof kt)){if(typeof t=="string"&&t===this.version)return 0;t=new kt(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof kt||(t=new kt(t,this.options)),Un(this.major,t.major)||Un(this.minor,t.minor)||Un(this.patch,t.patch)}comparePre(t){if(t instanceof kt||(t=new kt(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],s=t.prerelease[n];if(no("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Un(r,s)}while(++n)}compareBuild(t){t instanceof kt||(t=new kt(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(no("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Un(r,s)}while(++n)}inc(t,n,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const s=Number(r)?1:0;if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[s];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(n){let o=[n,s];r===!1&&(o=[n]),Un(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.format(),this.raw=this.version,this}};var Je=Aw;const xu=Je,Rw=(e,t,n=!1)=>{if(e instanceof xu)return e;try{return new xu(e,t)}catch(r){if(!n)return null;throw r}};var $r=Rw;const Ow=$r,Nw=(e,t)=>{const n=Ow(e,t);return n?n.version:null};var Cw=Nw;const Lw=$r,Iw=(e,t)=>{const n=Lw(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var jw=Iw;const ku=Je,Mw=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new ku(e instanceof ku?e.version:e,n).inc(t,r,s).version}catch{return null}};var Dw=Mw;const Au=$r,Fw=(e,t)=>{const n=Au(e,null,!0),r=Au(t,null,!0),s=n.compare(r);if(s===0)return null;const o=s>0,i=o?n:r,a=o?r:n,l=!!i.prerelease.length,c=l?"pre":"";return n.major!==r.major?c+"major":n.minor!==r.minor?c+"minor":n.patch!==r.patch?c+"patch":l?"prerelease":a.patch?"patch":a.minor?"minor":"major"};var Bw=Fw;const Hw=Je,Uw=(e,t)=>new Hw(e,t).major;var Ww=Uw;const Gw=Je,Vw=(e,t)=>new Gw(e,t).minor;var zw=Vw;const qw=Je,Kw=(e,t)=>new qw(e,t).patch;var Xw=Kw;const Yw=$r,Jw=(e,t)=>{const n=Yw(e,t);return n&&n.prerelease.length?n.prerelease:null};var Qw=Jw;const Ru=Je,Zw=(e,t,n)=>new Ru(e,n).compare(new Ru(t,n));var St=Zw;const eE=St,tE=(e,t,n)=>eE(t,e,n);var nE=tE;const rE=St,sE=(e,t)=>rE(e,t,!0);var oE=sE;const Ou=Je,iE=(e,t,n)=>{const r=new Ou(e,n),s=new Ou(t,n);return r.compare(s)||r.compareBuild(s)};var Pl=iE;const aE=Pl,lE=(e,t)=>e.sort((n,r)=>aE(n,r,t));var cE=lE;const uE=Pl,fE=(e,t)=>e.sort((n,r)=>uE(r,n,t));var dE=fE;const hE=St,pE=(e,t,n)=>hE(e,t,n)>0;var ui=pE;const mE=St,gE=(e,t,n)=>mE(e,t,n)<0;var xl=gE;const vE=St,_E=(e,t,n)=>vE(e,t,n)===0;var np=_E;const yE=St,bE=(e,t,n)=>yE(e,t,n)!==0;var rp=bE;const wE=St,EE=(e,t,n)=>wE(e,t,n)>=0;var kl=EE;const TE=St,$E=(e,t,n)=>TE(e,t,n)<=0;var Al=$E;const SE=np,PE=rp,xE=ui,kE=kl,AE=xl,RE=Al,OE=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return SE(e,n,r);case"!=":return PE(e,n,r);case">":return xE(e,n,r);case">=":return kE(e,n,r);case"<":return AE(e,n,r);case"<=":return RE(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var sp=OE;const NE=Je,CE=$r,{re:so,t:oo}=Is,LE=(e,t)=>{if(e instanceof NE)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(so[oo.COERCE]);else{let r;for(;(r=so[oo.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),so[oo.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;so[oo.COERCERTL].lastIndex=-1}return n===null?null:CE(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var IE=LE,Di,Nu;function jE(){return Nu||(Nu=1,Di=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Di}var ME=$e;$e.Node=In;$e.create=$e;function $e(e){var t=this;if(t instanceof $e||(t=new $e),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(s){t.push(s)});else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}$e.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};$e.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};$e.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};$e.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)FE(this,arguments[e]);return this.length};$e.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)BE(this,arguments[e]);return this.length};$e.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};$e.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};$e.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next};$e.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev};$e.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};$e.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};$e.prototype.map=function(e,t){t=t||this;for(var n=new $e,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};$e.prototype.mapReverse=function(e,t){t=t||this;for(var n=new $e,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};$e.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;r!==null;s++)n=e(n,r.value,s),r=r.next;return n};$e.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=this.length-1;r!==null;s--)n=e(n,r.value,s),r=r.prev;return n};$e.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};$e.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};$e.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new $e;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(;s!==null&&r<t;r++,s=s.next)n.push(s.value);return n};$e.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new $e;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,s=this.tail;s!==null&&r>t;r--)s=s.prev;for(;s!==null&&r>e;r--,s=s.prev)n.push(s.value);return n};$e.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(var o=[],r=0;s&&r<t;r++)o.push(s.value),s=this.removeNode(s);s===null&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev);for(var r=0;r<n.length;r++)s=DE(this,s,n[r]);return o};$e.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function DE(e,t,n){var r=t===e.head?new In(n,null,t,e):new In(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function FE(e,t){e.tail=new In(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function BE(e,t){e.head=new In(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function In(e,t,n,r){if(!(this instanceof In))return new In(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{jE()($e)}catch{}const HE=ME,Sn=Symbol("max"),Bt=Symbol("length"),Wn=Symbol("lengthCalculator"),hs=Symbol("allowStale"),xn=Symbol("maxAge"),Ft=Symbol("dispose"),Cu=Symbol("noDisposeOnSet"),Ue=Symbol("lruList"),vt=Symbol("cache"),op=Symbol("updateAgeOnGet"),Fi=()=>1;class UE{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[Sn]=t.max||1/0;const n=t.length||Fi;if(this[Wn]=typeof n!="function"?Fi:n,this[hs]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[xn]=t.maxAge||0,this[Ft]=t.dispose,this[Cu]=t.noDisposeOnSet||!1,this[op]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[Sn]=t||1/0,Cr(this)}get max(){return this[Sn]}set allowStale(t){this[hs]=!!t}get allowStale(){return this[hs]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[xn]=t,Cr(this)}get maxAge(){return this[xn]}set lengthCalculator(t){typeof t!="function"&&(t=Fi),t!==this[Wn]&&(this[Wn]=t,this[Bt]=0,this[Ue].forEach(n=>{n.length=this[Wn](n.value,n.key),this[Bt]+=n.length})),Cr(this)}get lengthCalculator(){return this[Wn]}get length(){return this[Bt]}get itemCount(){return this[Ue].length}rforEach(t,n){n=n||this;for(let r=this[Ue].tail;r!==null;){const s=r.prev;Lu(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[Ue].head;r!==null;){const s=r.next;Lu(this,t,r,n),r=s}}keys(){return this[Ue].toArray().map(t=>t.key)}values(){return this[Ue].toArray().map(t=>t.value)}reset(){this[Ft]&&this[Ue]&&this[Ue].length&&this[Ue].forEach(t=>this[Ft](t.key,t.value)),this[vt]=new Map,this[Ue]=new HE,this[Bt]=0}dump(){return this[Ue].map(t=>Lo(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Ue]}set(t,n,r){if(r=r||this[xn],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,o=this[Wn](n,t);if(this[vt].has(t)){if(o>this[Sn])return tr(this,this[vt].get(t)),!1;const l=this[vt].get(t).value;return this[Ft]&&(this[Cu]||this[Ft](t,l.value)),l.now=s,l.maxAge=r,l.value=n,this[Bt]+=o-l.length,l.length=o,this.get(t),Cr(this),!0}const i=new WE(t,n,o,s,r);return i.length>this[Sn]?(this[Ft]&&this[Ft](t,n),!1):(this[Bt]+=i.length,this[Ue].unshift(i),this[vt].set(t,this[Ue].head),Cr(this),!0)}has(t){if(!this[vt].has(t))return!1;const n=this[vt].get(t).value;return!Lo(this,n)}get(t){return Bi(this,t,!0)}peek(t){return Bi(this,t,!1)}pop(){const t=this[Ue].tail;return t?(tr(this,t),t.value):null}del(t){tr(this,this[vt].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const s=t[r],o=s.e||0;if(o===0)this.set(s.k,s.v);else{const i=o-n;i>0&&this.set(s.k,s.v,i)}}}prune(){this[vt].forEach((t,n)=>Bi(this,n,!1))}}const Bi=(e,t,n)=>{const r=e[vt].get(t);if(r){const s=r.value;if(Lo(e,s)){if(tr(e,r),!e[hs])return}else n&&(e[op]&&(r.value.now=Date.now()),e[Ue].unshiftNode(r));return s.value}},Lo=(e,t)=>{if(!t||!t.maxAge&&!e[xn])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[xn]&&n>e[xn]},Cr=e=>{if(e[Bt]>e[Sn])for(let t=e[Ue].tail;e[Bt]>e[Sn]&&t!==null;){const n=t.prev;tr(e,t),t=n}},tr=(e,t)=>{if(t){const n=t.value;e[Ft]&&e[Ft](n.key,n.value),e[Bt]-=n.length,e[vt].delete(n.key),e[Ue].removeNode(t)}};class WE{constructor(t,n,r,s,o){this.key=t,this.value=n,this.length=r,this.now=s,this.maxAge=o||0}}const Lu=(e,t,n,r)=>{let s=n.value;Lo(e,s)&&(tr(e,n),e[hs]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var GE=UE,Hi,Iu;function Pt(){if(Iu)return Hi;Iu=1;class e{constructor(R,I){if(I=r(I),R instanceof e)return R.loose===!!I.loose&&R.includePrerelease===!!I.includePrerelease?R:new e(R.raw,I);if(R instanceof s)return this.raw=R.value,this.set=[[R]],this.format(),this;if(this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease,this.raw=R,this.set=R.split("||").map(j=>this.parseRange(j.trim())).filter(j=>j.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${R}`);if(this.set.length>1){const j=this.set[0];if(this.set=this.set.filter(H=>!g(H[0])),this.set.length===0)this.set=[j];else if(this.set.length>1){for(const H of this.set)if(H.length===1&&S(H[0])){this.set=[H];break}}}this.format()}format(){return this.range=this.set.map(R=>R.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(R){R=R.trim();const j=((this.options.includePrerelease&&d)|(this.options.loose&&m))+":"+R,H=n.get(j);if(H)return H;const B=this.options.loose,K=B?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];R=R.replace(K,x(this.options.includePrerelease)),o("hyphen replace",R),R=R.replace(a[l.COMPARATORTRIM],c),o("comparator trim",R),R=R.replace(a[l.TILDETRIM],f),R=R.replace(a[l.CARETTRIM],u),R=R.split(/\s+/).join(" ");let te=R.split(" ").map(ae=>v(ae,this.options)).join(" ").split(/\s+/).map(ae=>$(ae,this.options));B&&(te=te.filter(ae=>(o("loose invalid filter",ae,this.options),!!ae.match(a[l.COMPARATORLOOSE])))),o("range list",te);const J=new Map,Q=te.map(ae=>new s(ae,this.options));for(const ae of Q){if(g(ae))return[ae];J.set(ae.value,ae)}J.size>1&&J.has("")&&J.delete("");const ce=[...J.values()];return n.set(j,ce),ce}intersects(R,I){if(!(R instanceof e))throw new TypeError("a Range is required");return this.set.some(j=>P(j,I)&&R.set.some(H=>P(H,I)&&j.every(B=>H.every(K=>B.intersects(K,I)))))}test(R){if(!R)return!1;if(typeof R=="string")try{R=new i(R,this.options)}catch{return!1}for(let I=0;I<this.set.length;I++)if(k(this.set[I],R,this.options))return!0;return!1}}Hi=e;const t=GE,n=new t({max:1e3}),r=Sl,s=fi(),o=ci,i=Je,{re:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:f,caretTrimReplace:u}=Is,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:m}=li,g=A=>A.value==="<0.0.0-0",S=A=>A.value==="",P=(A,R)=>{let I=!0;const j=A.slice();let H=j.pop();for(;I&&j.length;)I=j.every(B=>H.intersects(B,R)),H=j.pop();return I},v=(A,R)=>(o("comp",A,R),A=T(A,R),o("caret",A),A=w(A,R),o("tildes",A),A=b(A,R),o("xrange",A),A=_(A,R),o("stars",A),A),p=A=>!A||A.toLowerCase()==="x"||A==="*",w=(A,R)=>A.trim().split(/\s+/).map(I=>E(I,R)).join(" "),E=(A,R)=>{const I=R.loose?a[l.TILDELOOSE]:a[l.TILDE];return A.replace(I,(j,H,B,K,te)=>{o("tilde",A,j,H,B,K,te);let J;return p(H)?J="":p(B)?J=`>=${H}.0.0 <${+H+1}.0.0-0`:p(K)?J=`>=${H}.${B}.0 <${H}.${+B+1}.0-0`:te?(o("replaceTilde pr",te),J=`>=${H}.${B}.${K}-${te} <${H}.${+B+1}.0-0`):J=`>=${H}.${B}.${K} <${H}.${+B+1}.0-0`,o("tilde return",J),J})},T=(A,R)=>A.trim().split(/\s+/).map(I=>h(I,R)).join(" "),h=(A,R)=>{o("caret",A,R);const I=R.loose?a[l.CARETLOOSE]:a[l.CARET],j=R.includePrerelease?"-0":"";return A.replace(I,(H,B,K,te,J)=>{o("caret",A,H,B,K,te,J);let Q;return p(B)?Q="":p(K)?Q=`>=${B}.0.0${j} <${+B+1}.0.0-0`:p(te)?B==="0"?Q=`>=${B}.${K}.0${j} <${B}.${+K+1}.0-0`:Q=`>=${B}.${K}.0${j} <${+B+1}.0.0-0`:J?(o("replaceCaret pr",J),B==="0"?K==="0"?Q=`>=${B}.${K}.${te}-${J} <${B}.${K}.${+te+1}-0`:Q=`>=${B}.${K}.${te}-${J} <${B}.${+K+1}.0-0`:Q=`>=${B}.${K}.${te}-${J} <${+B+1}.0.0-0`):(o("no pr"),B==="0"?K==="0"?Q=`>=${B}.${K}.${te}${j} <${B}.${K}.${+te+1}-0`:Q=`>=${B}.${K}.${te}${j} <${B}.${+K+1}.0-0`:Q=`>=${B}.${K}.${te} <${+B+1}.0.0-0`),o("caret return",Q),Q})},b=(A,R)=>(o("replaceXRanges",A,R),A.split(/\s+/).map(I=>y(I,R)).join(" ")),y=(A,R)=>{A=A.trim();const I=R.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return A.replace(I,(j,H,B,K,te,J)=>{o("xRange",A,j,H,B,K,te,J);const Q=p(B),ce=Q||p(K),ae=ce||p(te),ge=ae;return H==="="&&ge&&(H=""),J=R.includePrerelease?"-0":"",Q?H===">"||H==="<"?j="<0.0.0-0":j="*":H&&ge?(ce&&(K=0),te=0,H===">"?(H=">=",ce?(B=+B+1,K=0,te=0):(K=+K+1,te=0)):H==="<="&&(H="<",ce?B=+B+1:K=+K+1),H==="<"&&(J="-0"),j=`${H+B}.${K}.${te}${J}`):ce?j=`>=${B}.0.0${J} <${+B+1}.0.0-0`:ae&&(j=`>=${B}.${K}.0${J} <${B}.${+K+1}.0-0`),o("xRange return",j),j})},_=(A,R)=>(o("replaceStars",A,R),A.trim().replace(a[l.STAR],"")),$=(A,R)=>(o("replaceGTE0",A,R),A.trim().replace(a[R.includePrerelease?l.GTE0PRE:l.GTE0],"")),x=A=>(R,I,j,H,B,K,te,J,Q,ce,ae,ge,ye)=>(p(j)?I="":p(H)?I=`>=${j}.0.0${A?"-0":""}`:p(B)?I=`>=${j}.${H}.0${A?"-0":""}`:K?I=`>=${I}`:I=`>=${I}${A?"-0":""}`,p(Q)?J="":p(ce)?J=`<${+Q+1}.0.0-0`:p(ae)?J=`<${Q}.${+ce+1}.0-0`:ge?J=`<=${Q}.${ce}.${ae}-${ge}`:A?J=`<${Q}.${ce}.${+ae+1}-0`:J=`<=${J}`,`${I} ${J}`.trim()),k=(A,R,I)=>{for(let j=0;j<A.length;j++)if(!A[j].test(R))return!1;if(R.prerelease.length&&!I.includePrerelease){for(let j=0;j<A.length;j++)if(o(A[j].semver),A[j].semver!==s.ANY&&A[j].semver.prerelease.length>0){const H=A[j].semver;if(H.major===R.major&&H.minor===R.minor&&H.patch===R.patch)return!0}return!1}return!0};return Hi}var Ui,ju;function fi(){if(ju)return Ui;ju=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(f,u){if(u=n(u),f instanceof t){if(f.loose===!!u.loose)return f;f=f.value}i("comparator",f,u),this.options=u,this.loose=!!u.loose,this.parse(f),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(f){const u=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],d=f.match(u);if(!d)throw new TypeError(`Invalid comparator: ${f}`);this.operator=d[1]!==void 0?d[1]:"",this.operator==="="&&(this.operator=""),d[2]?this.semver=new a(d[2],this.options.loose):this.semver=e}toString(){return this.value}test(f){if(i("Comparator.test",f,this.options.loose),this.semver===e||f===e)return!0;if(typeof f=="string")try{f=new a(f,this.options)}catch{return!1}return o(f,this.operator,this.semver,this.options)}intersects(f,u){if(!(f instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(f.value,u).test(this.value):f.operator===""?f.value===""?!0:new l(this.value,u).test(f.semver):(u=n(u),u.includePrerelease&&(this.value==="<0.0.0-0"||f.value==="<0.0.0-0")||!u.includePrerelease&&(this.value.startsWith("<0.0.0")||f.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&f.operator.startsWith(">")||this.operator.startsWith("<")&&f.operator.startsWith("<")||this.semver.version===f.semver.version&&this.operator.includes("=")&&f.operator.includes("=")||o(this.semver,"<",f.semver,u)&&this.operator.startsWith(">")&&f.operator.startsWith("<")||o(this.semver,">",f.semver,u)&&this.operator.startsWith("<")&&f.operator.startsWith(">")))}}Ui=t;const n=Sl,{re:r,t:s}=Is,o=sp,i=ci,a=Je,l=Pt();return Ui}const VE=Pt(),zE=(e,t,n)=>{try{t=new VE(t,n)}catch{return!1}return t.test(e)};var di=zE;const qE=Pt(),KE=(e,t)=>new qE(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var XE=KE;const YE=Je,JE=Pt(),QE=(e,t,n)=>{let r=null,s=null,o=null;try{o=new JE(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new YE(r,n))}),r};var ZE=QE;const eT=Je,tT=Pt(),nT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new tT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new eT(r,n))}),r};var rT=nT;const Wi=Je,sT=Pt(),Mu=ui,oT=(e,t)=>{e=new sT(e,t);let n=new Wi("0.0.0");if(e.test(n)||(n=new Wi("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const s=e.set[r];let o=null;s.forEach(i=>{const a=new Wi(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||Mu(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||Mu(n,o))&&(n=o)}return n&&e.test(n)?n:null};var iT=oT;const aT=Pt(),lT=(e,t)=>{try{return new aT(e,t).range||"*"}catch{return null}};var cT=lT;const uT=Je,ip=fi(),{ANY:fT}=ip,dT=Pt(),hT=di,Du=ui,Fu=xl,pT=Al,mT=kl,gT=(e,t,n,r)=>{e=new uT(e,r),t=new dT(t,r);let s,o,i,a,l;switch(n){case">":s=Du,o=pT,i=Fu,a=">",l=">=";break;case"<":s=Fu,o=mT,i=Du,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(hT(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const f=t.set[c];let u=null,d=null;if(f.forEach(m=>{m.semver===fT&&(m=new ip(">=0.0.0")),u=u||m,d=d||m,s(m.semver,u.semver,r)?u=m:i(m.semver,d.semver,r)&&(d=m)}),u.operator===a||u.operator===l||(!d.operator||d.operator===a)&&o(e,d.semver))return!1;if(d.operator===l&&i(e,d.semver))return!1}return!0};var Rl=gT;const vT=Rl,_T=(e,t,n)=>vT(e,t,">",n);var yT=_T;const bT=Rl,wT=(e,t,n)=>bT(e,t,"<",n);var ET=wT;const Bu=Pt(),TT=(e,t,n)=>(e=new Bu(e,n),t=new Bu(t,n),e.intersects(t,n));var $T=TT;const ST=di,PT=St;var xT=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((f,u)=>PT(f,u,n));for(const f of i)ST(f,t,n)?(o=f,s||(s=f)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const a=[];for(const[f,u]of r)f===u?a.push(f):!u&&f===i[0]?a.push("*"):u?f===i[0]?a.push(`<=${u}`):a.push(`${f} - ${u}`):a.push(`>=${f}`);const l=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t};const Hu=Pt(),Ol=fi(),{ANY:Gi}=Ol,Lr=di,Nl=St,kT=(e,t,n={})=>{if(e===t)return!0;e=new Hu(e,n),t=new Hu(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const i=RT(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},AT=[new Ol(">=0.0.0-0")],Uu=[new Ol(">=0.0.0")],RT=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Gi){if(t.length===1&&t[0].semver===Gi)return!0;n.includePrerelease?e=AT:e=Uu}if(t.length===1&&t[0].semver===Gi){if(n.includePrerelease)return!0;t=Uu}const r=new Set;let s,o;for(const m of e)m.operator===">"||m.operator===">="?s=Wu(s,m,n):m.operator==="<"||m.operator==="<="?o=Gu(o,m,n):r.add(m.semver);if(r.size>1)return null;let i;if(s&&o){if(i=Nl(s.semver,o.semver,n),i>0)return null;if(i===0&&(s.operator!==">="||o.operator!=="<="))return null}for(const m of r){if(s&&!Lr(m,String(s),n)||o&&!Lr(m,String(o),n))return null;for(const g of t)if(!Lr(m,String(g),n))return!1;return!0}let a,l,c,f,u=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,d=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;u&&u.prerelease.length===1&&o.operator==="<"&&u.prerelease[0]===0&&(u=!1);for(const m of t){if(f=f||m.operator===">"||m.operator===">=",c=c||m.operator==="<"||m.operator==="<=",s){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator===">"||m.operator===">="){if(a=Wu(s,m,n),a===m&&a!==s)return!1}else if(s.operator===">="&&!Lr(s.semver,String(m),n))return!1}if(o){if(u&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===u.major&&m.semver.minor===u.minor&&m.semver.patch===u.patch&&(u=!1),m.operator==="<"||m.operator==="<="){if(l=Gu(o,m,n),l===m&&l!==o)return!1}else if(o.operator==="<="&&!Lr(o.semver,String(m),n))return!1}if(!m.operator&&(o||s)&&i!==0)return!1}return!(s&&c&&!o&&i!==0||o&&f&&!s&&i!==0||d||u)},Wu=(e,t,n)=>{if(!e)return t;const r=Nl(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},Gu=(e,t,n)=>{if(!e)return t;const r=Nl(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var OT=kT;const Vi=Is,Vu=li,NT=Je,zu=tp,CT=$r,LT=Cw,IT=jw,jT=Dw,MT=Bw,DT=Ww,FT=zw,BT=Xw,HT=Qw,UT=St,WT=nE,GT=oE,VT=Pl,zT=cE,qT=dE,KT=ui,XT=xl,YT=np,JT=rp,QT=kl,ZT=Al,e$=sp,t$=IE,n$=fi(),r$=Pt(),s$=di,o$=XE,i$=ZE,a$=rT,l$=iT,c$=cT,u$=Rl,f$=yT,d$=ET,h$=$T,p$=xT,m$=OT;var g$={parse:CT,valid:LT,clean:IT,inc:jT,diff:MT,major:DT,minor:FT,patch:BT,prerelease:HT,compare:UT,rcompare:WT,compareLoose:GT,compareBuild:VT,sort:zT,rsort:qT,gt:KT,lt:XT,eq:YT,neq:JT,gte:QT,lte:ZT,cmp:e$,coerce:t$,Comparator:n$,Range:r$,satisfies:s$,toComparators:o$,maxSatisfying:i$,minSatisfying:a$,minVersion:l$,validRange:c$,outside:u$,gtr:f$,ltr:d$,intersects:h$,simplifyRange:p$,subset:m$,SemVer:NT,re:Vi.re,src:Vi.src,tokens:Vi.t,SEMVER_SPEC_VERSION:Vu.SEMVER_SPEC_VERSION,RELEASE_TYPES:Vu.RELEASE_TYPES,compareIdentifiers:zu.compareIdentifiers,rcompareIdentifiers:zu.rcompareIdentifiers};const v$=vw(g$),zi=new Map;function LA(e,t){const n=e;return zi.has(n)||zi.set(n,b$(e,t)),zi.get(n)}function _$(){return Ls("npm:check:nuxt",()=>Ie.checkForUpdateFor("nuxt")).data}function y$(e){const t=_$();return t?.value?.current?v$.satisfies(t.value.current,e):!1}function b$(e,t){const n=Re(),r=Ls(`npm:check:${e}`,()=>Ie.checkForUpdateFor(e)).data,s=Z("idle"),o=Z();n.hook("devtools:terminal:exit",({id:l,code:c})=>{l!==o||!o||(s.value=c===0?"updated":"idle")});async function i(l){if(s.value!=="idle")return;const c=await Ie.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return s.value="running",o.value=(await Ie.runNpmCommand("update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await Ie.restartNuxt()}return{info:r,state:s,update:i,restart:a,processId:o}}const Ir={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return y$("^3.5.0")}},jr={icon:"carbon-image-copy",title:"Assets",layout:"full"},Mr={icon:"i-carbon-assembly-cluster",title:"Components",order:2},Dr={layout:"full"},Fr={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},Br={icon:"carbon-function",title:"Imports",order:3},Hr={icon:"carbon-layers",title:"Middleware",wip:!0},Ur={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},Cl=()=>Bn("color-mode").value,Aa=Z();let qu;function w$(){qu||(qu=(async()=>{const{default:e}=await ke(()=>import("./index.5d80161c.js").then(t=>t.i),[],import.meta.url);Aa.value=new e({html:!0,linkify:!0,breaks:!0})})())}function E$(e){return w$(),Aa.value?Aa.value.render(e):e}var ap=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},ps={},T$={get exports(){return ps},set exports(e){ps=e}};(function(e,t){(function(n,r){e.exports=r()})(ap,()=>{return n={770:function(s,o,i){var a=this&&this.__importDefault||function(P){return P&&P.__esModule?P:{default:P}};Object.defineProperty(o,"__esModule",{value:!0}),o.setDefaultDebugCall=o.createOnigScanner=o.createOnigString=o.loadWASM=o.OnigScanner=o.OnigString=void 0;const l=a(i(418));let c=null,f=!1;class u{static _utf8ByteLength(v){let p=0;for(let w=0,E=v.length;w<E;w++){const T=v.charCodeAt(w);let h=T,b=!1;if(T>=55296&&T<=56319&&w+1<E){const y=v.charCodeAt(w+1);y>=56320&&y<=57343&&(h=65536+(T-55296<<10)|y-56320,b=!0)}p+=h<=127?1:h<=2047?2:h<=65535?3:4,b&&w++}return p}constructor(v){const p=v.length,w=u._utf8ByteLength(v),E=w!==p,T=E?new Uint32Array(p+1):null;E&&(T[p]=w);const h=E?new Uint32Array(w+1):null;E&&(h[w]=p);const b=new Uint8Array(w);let y=0;for(let _=0;_<p;_++){const $=v.charCodeAt(_);let x=$,k=!1;if($>=55296&&$<=56319&&_+1<p){const A=v.charCodeAt(_+1);A>=56320&&A<=57343&&(x=65536+($-55296<<10)|A-56320,k=!0)}E&&(T[_]=y,k&&(T[_+1]=y),x<=127?h[y+0]=_:x<=2047?(h[y+0]=_,h[y+1]=_):x<=65535?(h[y+0]=_,h[y+1]=_,h[y+2]=_):(h[y+0]=_,h[y+1]=_,h[y+2]=_,h[y+3]=_)),x<=127?b[y++]=x:x<=2047?(b[y++]=192|(1984&x)>>>6,b[y++]=128|(63&x)>>>0):x<=65535?(b[y++]=224|(61440&x)>>>12,b[y++]=128|(4032&x)>>>6,b[y++]=128|(63&x)>>>0):(b[y++]=240|(1835008&x)>>>18,b[y++]=128|(258048&x)>>>12,b[y++]=128|(4032&x)>>>6,b[y++]=128|(63&x)>>>0),k&&_++}this.utf16Length=p,this.utf8Length=w,this.utf16Value=v,this.utf8Value=b,this.utf16OffsetToUtf8=T,this.utf8OffsetToUtf16=h}createString(v){const p=v._omalloc(this.utf8Length);return v.HEAPU8.set(this.utf8Value,p),p}}class d{constructor(v){if(this.id=++d.LAST_ID,!c)throw new Error("Must invoke loadWASM first.");this._onigBinding=c,this.content=v;const p=new u(v);this.utf16Length=p.utf16Length,this.utf8Length=p.utf8Length,this.utf16OffsetToUtf8=p.utf16OffsetToUtf8,this.utf8OffsetToUtf16=p.utf8OffsetToUtf16,this.utf8Length<1e4&&!d._sharedPtrInUse?(d._sharedPtr||(d._sharedPtr=c._omalloc(1e4)),d._sharedPtrInUse=!0,c.HEAPU8.set(p.utf8Value,d._sharedPtr),this.ptr=d._sharedPtr):this.ptr=p.createString(c)}convertUtf8OffsetToUtf16(v){return this.utf8OffsetToUtf16?v<0?0:v>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[v]:v}convertUtf16OffsetToUtf8(v){return this.utf16OffsetToUtf8?v<0?0:v>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[v]:v}dispose(){this.ptr===d._sharedPtr?d._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}o.OnigString=d,d.LAST_ID=0,d._sharedPtr=0,d._sharedPtrInUse=!1;class m{constructor(v){if(!c)throw new Error("Must invoke loadWASM first.");const p=[],w=[];for(let b=0,y=v.length;b<y;b++){const _=new u(v[b]);p[b]=_.createString(c),w[b]=_.utf8Length}const E=c._omalloc(4*v.length);c.HEAPU32.set(p,E/4);const T=c._omalloc(4*v.length);c.HEAPU32.set(w,T/4);const h=c._createOnigScanner(E,T,v.length);for(let b=0,y=v.length;b<y;b++)c._ofree(p[b]);c._ofree(T),c._ofree(E),h===0&&function(b){throw new Error(b.UTF8ToString(b._getLastOnigError()))}(c),this._onigBinding=c,this._ptr=h}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(v,p,w){let E=f,T=0;if(typeof w=="number"?(8&w&&(E=!0),T=w):typeof w=="boolean"&&(E=w),typeof v=="string"){v=new d(v);const h=this._findNextMatchSync(v,p,E,T);return v.dispose(),h}return this._findNextMatchSync(v,p,E,T)}_findNextMatchSync(v,p,w,E){const T=this._onigBinding;let h;if(h=w?T._findNextOnigScannerMatchDbg(this._ptr,v.id,v.ptr,v.utf8Length,v.convertUtf16OffsetToUtf8(p),E):T._findNextOnigScannerMatch(this._ptr,v.id,v.ptr,v.utf8Length,v.convertUtf16OffsetToUtf8(p),E),h===0)return null;const b=T.HEAPU32;let y=h/4;const _=b[y++],$=b[y++];let x=[];for(let k=0;k<$;k++){const A=v.convertUtf8OffsetToUtf16(b[y++]),R=v.convertUtf8OffsetToUtf16(b[y++]);x[k]={start:A,end:R,length:R-A}}return{index:_,captureIndices:x}}}o.OnigScanner=m;let g=!1,S=null;o.loadWASM=function(P){if(g)return S;let v,p,w,E;if(g=!0,function(T){return typeof T.instantiator=="function"}(P))v=P.instantiator,p=P.print;else{let T;(function(h){return h.data!==void 0})(P)?(T=P.data,p=P.print):T=P,v=function(h){return typeof Response<"u"&&h instanceof Response}(T)?typeof WebAssembly.instantiateStreaming=="function"?function(h){return b=>WebAssembly.instantiateStreaming(h,b)}(T):function(h){return async b=>{const y=await h.arrayBuffer();return WebAssembly.instantiate(y,b)}}(T):function(h){return b=>WebAssembly.instantiate(h,b)}(T)}return S=new Promise((T,h)=>{w=T,E=h}),function(T,h,b,y){(0,l.default)({print:h,instantiateWasm:(_,$)=>{if(typeof performance>"u"){const x=()=>Date.now();_.env.emscripten_get_now=x,_.wasi_snapshot_preview1.emscripten_get_now=x}return T(_).then(x=>$(x.instance),y),{}}}).then(_=>{c=_,b()})}(v,p,w,E),S},o.createOnigString=function(P){return new d(P)},o.createOnigScanner=function(P){return new m(P)},o.setDefaultDebugCall=function(P){f=P}},418:s=>{var o=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,l,c=(i=i||{})!==void 0?i:{};c.ready=new Promise(function(M,U){a=M,l=U});var f,u=Object.assign({},c),d=!1,m="";function g(M){return c.locateFile?c.locateFile(M,m):m+M}f=function(M){let U;return typeof readbuffer=="function"?new Uint8Array(readbuffer(M)):(U=read(M,"binary"),E(typeof U=="object"),U)},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 S,P,v=c.print||console.log.bind(console),p=c.printErr||console.warn.bind(console);Object.assign(c,u),u=null,c.arguments&&c.arguments,c.thisProgram&&c.thisProgram,c.quit&&c.quit,c.wasmBinary&&(S=c.wasmBinary),c.noExitRuntime,typeof WebAssembly!="object"&&ge("no native wasm support detected");var w=!1;function E(M,U){M||ge(U)}var T,h,b,y=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function _(M,U,ne){for(var he=U+ne,ue=U;M[ue]&&!(ue>=he);)++ue;if(ue-U>16&&M.buffer&&y)return y.decode(M.subarray(U,ue));for(var le="";U<ue;){var _e=M[U++];if(128&_e){var He=63&M[U++];if((224&_e)!=192){var rt=63&M[U++];if((_e=(240&_e)==224?(15&_e)<<12|He<<6|rt:(7&_e)<<18|He<<12|rt<<6|63&M[U++])<65536)le+=String.fromCharCode(_e);else{var Sr=_e-65536;le+=String.fromCharCode(55296|Sr>>10,56320|1023&Sr)}}else le+=String.fromCharCode((31&_e)<<6|He)}else le+=String.fromCharCode(_e)}return le}function $(M,U){return M?_(h,M,U):""}function x(M){T=M,c.HEAP8=new Int8Array(M),c.HEAP16=new Int16Array(M),c.HEAP32=new Int32Array(M),c.HEAPU8=h=new Uint8Array(M),c.HEAPU16=new Uint16Array(M),c.HEAPU32=b=new Uint32Array(M),c.HEAPF32=new Float32Array(M),c.HEAPF64=new Float64Array(M)}c.INITIAL_MEMORY;var k=[],A=[],R=[];function I(){if(c.preRun)for(typeof c.preRun=="function"&&(c.preRun=[c.preRun]);c.preRun.length;)B(c.preRun.shift());N(k)}function j(){N(A)}function H(){if(c.postRun)for(typeof c.postRun=="function"&&(c.postRun=[c.postRun]);c.postRun.length;)te(c.postRun.shift());N(R)}function B(M){k.unshift(M)}function K(M){A.unshift(M)}function te(M){R.unshift(M)}var J=0,Q=null;function ce(M){J++,c.monitorRunDependencies&&c.monitorRunDependencies(J)}function ae(M){if(J--,c.monitorRunDependencies&&c.monitorRunDependencies(J),J==0&&Q){var U=Q;Q=null,U()}}function ge(M){c.onAbort&&c.onAbort(M),p(M="Aborted("+M+")"),w=!0,M+=". Build with -sASSERTIONS for more info.";var U=new WebAssembly.RuntimeError(M);throw l(U),U}var ye,C,X="data:application/octet-stream;base64,";function W(M){return M.startsWith(X)}function ee(M){try{if(M==ye&&S)return new Uint8Array(S);if(f)return f(M);throw"both async and sync fetching of the wasm failed"}catch(U){ge(U)}}function ve(){return S||!d||typeof fetch!="function"?Promise.resolve().then(function(){return ee(ye)}):fetch(ye,{credentials:"same-origin"}).then(function(M){if(!M.ok)throw"failed to load wasm binary file at '"+ye+"'";return M.arrayBuffer()}).catch(function(){return ee(ye)})}function O(){var M={env:V,wasi_snapshot_preview1:V};function U(ue,le){var _e=ue.exports;c.asm=_e,x((P=c.asm.memory).buffer),c.asm.__indirect_function_table,K(c.asm.__wasm_call_ctors),ae()}function ne(ue){U(ue.instance)}function he(ue){return ve().then(function(le){return WebAssembly.instantiate(le,M)}).then(function(le){return le}).then(ue,function(le){p("failed to asynchronously prepare wasm: "+le),ge(le)})}if(ce(),c.instantiateWasm)try{return c.instantiateWasm(M,U)}catch(ue){p("Module.instantiateWasm callback failed with error: "+ue),l(ue)}return(S||typeof WebAssembly.instantiateStreaming!="function"||W(ye)||typeof fetch!="function"?he(ne):fetch(ye,{credentials:"same-origin"}).then(function(ue){return WebAssembly.instantiateStreaming(ue,M).then(ne,function(le){return p("wasm streaming compile failed: "+le),p("falling back to ArrayBuffer instantiation"),he(ne)})})).catch(l),{}}function N(M){for(;M.length>0;)M.shift()(c)}function L(M,U,ne){h.copyWithin(M,U,U+ne)}function D(M){try{return P.grow(M-T.byteLength+65535>>>16),x(P.buffer),1}catch{}}function F(M){var U,ne=h.length,he=2147483648;if((M>>>=0)>he)return!1;for(var ue=1;ue<=4;ue*=2){var le=ne*(1+.2/ue);if(le=Math.min(le,M+100663296),D(Math.min(he,(U=Math.max(M,le))+(65536-U%65536)%65536)))return!0}return!1}W(ye="onig.wasm")||(ye=g(ye)),C=typeof dateNow<"u"?dateNow:()=>performance.now();var G=[null,[],[]];function Y(M,U){var ne=G[M];U===0||U===10?((M===1?v:p)(_(ne,0)),ne.length=0):ne.push(U)}function z(M,U,ne,he){for(var ue=0,le=0;le<ne;le++){var _e=b[U>>2],He=b[U+4>>2];U+=8;for(var rt=0;rt<He;rt++)Y(M,h[_e+rt]);ue+=He}return b[he>>2]=ue,0}var q,V={emscripten_get_now:C,emscripten_memcpy_big:L,emscripten_resize_heap:F,fd_write:z};function se(M){function U(){q||(q=!0,c.calledRun=!0,w||(j(),a(c),c.onRuntimeInitialized&&c.onRuntimeInitialized(),H()))}J>0||(I(),J>0||(c.setStatus?(c.setStatus("Running..."),setTimeout(function(){setTimeout(function(){c.setStatus("")},1),U()},1)):U()))}if(O(),c.___wasm_call_ctors=function(){return(c.___wasm_call_ctors=c.asm.__wasm_call_ctors).apply(null,arguments)},c.___errno_location=function(){return(c.___errno_location=c.asm.__errno_location).apply(null,arguments)},c._omalloc=function(){return(c._omalloc=c.asm.omalloc).apply(null,arguments)},c._ofree=function(){return(c._ofree=c.asm.ofree).apply(null,arguments)},c._getLastOnigError=function(){return(c._getLastOnigError=c.asm.getLastOnigError).apply(null,arguments)},c._createOnigScanner=function(){return(c._createOnigScanner=c.asm.createOnigScanner).apply(null,arguments)},c._freeOnigScanner=function(){return(c._freeOnigScanner=c.asm.freeOnigScanner).apply(null,arguments)},c._findNextOnigScannerMatch=function(){return(c._findNextOnigScannerMatch=c.asm.findNextOnigScannerMatch).apply(null,arguments)},c._findNextOnigScannerMatchDbg=function(){return(c._findNextOnigScannerMatchDbg=c.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},c.stackSave=function(){return(c.stackSave=c.asm.stackSave).apply(null,arguments)},c.stackRestore=function(){return(c.stackRestore=c.asm.stackRestore).apply(null,arguments)},c.stackAlloc=function(){return(c.stackAlloc=c.asm.stackAlloc).apply(null,arguments)},c.dynCall_jiji=function(){return(c.dynCall_jiji=c.asm.dynCall_jiji).apply(null,arguments)},c.UTF8ToString=$,Q=function M(){q||se(),q||(Q=M)},c.preInit)for(typeof c.preInit=="function"&&(c.preInit=[c.preInit]);c.preInit.length>0;)c.preInit.pop()();return se(),i.ready});s.exports=o}},r={},function s(o){var i=r[o];if(i!==void 0)return i.exports;var a=r[o]={exports:{}};return n[o].call(a.exports,a,a.exports,s),a.exports}(770);var n,r})})(T$);var Io={},$$={get exports(){return Io},set exports(e){Io=e}};(function(e,t){(function(n,r){e.exports=r()})(ap,function(){return(()=>{var n={350:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},36:(s,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let l=a.toString(2);for(;l.length<32;)l="0"+l;return l},i.print=function(a){const l=i.getLanguageId(a),c=i.getTokenType(a),f=i.getFontStyle(a),u=i.getForeground(a),d=i.getBackground(a);console.log({languageId:l,tokenType:c,fontStyle:f,foreground:u,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,l,c,f,u,d,m){let g=i.getLanguageId(a),S=i.getTokenType(a),P=i.containsBalancedBrackets(a)?1:0,v=i.getFontStyle(a),p=i.getForeground(a),w=i.getBackground(a);return l!==0&&(g=l),c!==8&&(S=c),f!==null&&(P=f?1:0),u!==-1&&(v=u),d!==0&&(p=d),m!==0&&(w=m),(g<<0|S<<8|P<<10|v<<11|p<<15|w<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class l{constructor(d,m){this.languageId=d,this.tokenType=m}}o.BasicScopeAttributes=l;class c{constructor(d,m){this._getBasicScopeAttributes=new a.CachedFn(g=>{const S=this._scopeToLanguage(g),P=this._toStandardTokenType(g);return new l(S,P)}),this._defaultAttributes=new l(d,8),this._embeddedLanguagesMatcher=new f(Object.entries(m||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(d){return d===null?c._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(d)}_scopeToLanguage(d){return this._embeddedLanguagesMatcher.match(d)||0}_toStandardTokenType(d){const m=d.match(c.STANDARD_TOKEN_TYPE_REGEXP);if(!m)return 8;switch(m[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}o.BasicScopeAttributesProvider=c,c._NULL_SCOPE_METADATA=new l(0,0),c.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class f{constructor(d){if(d.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(d);const m=d.map(([g,S])=>a.escapeRegExpCharacters(g));m.sort(),m.reverse(),this.scopesRegExp=new RegExp(`^((${m.join(")|(")}))($|\\.)`,"")}}match(d){if(!this.scopesRegExp)return;const m=d.match(this.scopesRegExp);return m?this.values.get(m[1]):void 0}}},947:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStack=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),l=i(36),c=i(736),f=i(44),u=i(792),d=i(583),m=i(878),g=i(996),S=i(47);function P(y,_,$,x,k){const A=c.createMatchers(_,v),R=u.RuleFactory.getCompiledRuleId($,x,k.repository);for(const I of A)y.push({debugSelector:_,matcher:I.matcher,ruleId:R,grammar:k,priority:I.priority})}function v(y,_){if(_.length<y.length)return!1;let $=0;return y.every(x=>{for(let k=$;k<_.length;k++)if(p(_[k],x))return $=k+1,!0;return!1})}function p(y,_){if(!y)return!1;if(y===_)return!0;const $=_.length;return y.length>$&&y.substr(0,$)===_&&y[$]==="."}o.createGrammar=function(y,_,$,x,k,A,R,I){return new w(y,_,$,x,k,A,R,I)};class w{constructor(_,$,x,k,A,R,I,j){if(this._rootScopeName=_,this.balancedBracketSelectors=R,this._onigLib=j,this._basicScopeAttributesProvider=new g.BasicScopeAttributesProvider(x,k),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=I,this._grammar=E($,null),this._injections=null,this._tokenTypeMatchers=[],A)for(const H of Object.keys(A)){const B=c.createMatchers(H,v);for(const K of B)this._tokenTypeMatchers.push({matcher:K.matcher,type:A[H]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const _ of this._ruleId2desc)_&&_.dispose()}createOnigScanner(_){return this._onigLib.createOnigScanner(_)}createOnigString(_){return this._onigLib.createOnigString(_)}getMetadataForScope(_){return this._basicScopeAttributesProvider.getBasicScopeAttributes(_)}_collectInjections(){const _=[],$=this._rootScopeName,x=(k=>k===this._rootScopeName?this._grammar:this.getExternalGrammar(k))($);if(x){const k=x.injections;if(k)for(let R in k)P(_,R,k[R],this,x);const A=this._grammarRepository.injections($);A&&A.forEach(R=>{const I=this.getExternalGrammar(R);if(I){const j=I.injectionSelector;j&&P(_,j,I,this,I)}})}return _.sort((k,A)=>k.priority-A.priority),_}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 _ of this._injections)console.log(` - ${_.debugSelector}`)}return this._injections}registerRule(_){const $=++this._lastRuleId,x=_(u.ruleIdFromNumber($));return this._ruleId2desc[$]=x,x}getRule(_){return this._ruleId2desc[u.ruleIdToNumber(_)]}getExternalGrammar(_,$){if(this._includedGrammars[_])return this._includedGrammars[_];if(this._grammarRepository){const x=this._grammarRepository.lookup(_);if(x)return this._includedGrammars[_]=E(x,$&&$.$base),this._includedGrammars[_]}}tokenizeLine(_,$,x=0){const k=this._tokenize(_,$,!1,x);return{tokens:k.lineTokens.getResult(k.ruleStack,k.lineLength),ruleStack:k.ruleStack,stoppedEarly:k.stoppedEarly}}tokenizeLine2(_,$,x=0){const k=this._tokenize(_,$,!0,x);return{tokens:k.lineTokens.getBinaryResult(k.ruleStack,k.lineLength),ruleStack:k.ruleStack,stoppedEarly:k.stoppedEarly}}_tokenize(_,$,x,k){let A;if(this._rootId===-1&&(this._rootId=u.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),$&&$!==h.NULL)A=!1,$.reset();else{A=!0;const B=this._basicScopeAttributesProvider.getDefaultAttributes(),K=this.themeProvider.getDefaults(),te=l.EncodedTokenAttributes.set(0,B.languageId,B.tokenType,null,K.fontStyle,K.foregroundId,K.backgroundId),J=this.getRule(this._rootId).getName(null,null);let Q;Q=J?T.createRootAndLookUpScopeName(J,te,this):T.createRoot("unknown",te),$=new h(null,this._rootId,-1,-1,!1,null,Q,Q)}_+=`
|
|
8
8
|
`;const R=this.createOnigString(_),I=R.content.length,j=new b(x,_,this._tokenTypeMatchers,this.balancedBracketSelectors),H=S._tokenizeString(this,R,A,0,$,j,!0,k);return f.disposeOnigString(R),{lineLength:I,lineTokens:j,ruleStack:H.stack,stoppedEarly:H.stoppedEarly}}}function E(y,_){return(y=m.clone(y)).repository=y.repository||{},y.repository.$self={$vscodeTextmateLocation:y.$vscodeTextmateLocation,patterns:y.patterns,name:y.scopeName},y.repository.$base=_||y.repository.$self,y}o.Grammar=w;class T{constructor(_,$,x){this.parent=_,this.scopePath=$,this.tokenAttributes=x}static createRoot(_,$){return new T(null,new d.ScopeStack(null,_),$)}static createRootAndLookUpScopeName(_,$,x){const k=x.getMetadataForScope(_),A=new d.ScopeStack(null,_),R=x.themeProvider.themeMatch(A),I=T.mergeAttributes($,k,R);return new T(null,A,I)}get scopeName(){return this.scopePath.scopeName}equals(_){return T._equals(this,_)}static _equals(_,$){for(;;){if(_===$||!_&&!$)return!0;if(!_||!$||_.scopeName!==$.scopeName||_.tokenAttributes!==$.tokenAttributes)return!1;_=_.parent,$=$.parent}}static mergeAttributes(_,$,x){let k=-1,A=0,R=0;return x!==null&&(k=x.fontStyle,A=x.foregroundId,R=x.backgroundId),l.EncodedTokenAttributes.set(_,$.languageId,$.tokenType,null,k,A,R)}pushAttributed(_,$){if(_===null)return this;if(_.indexOf(" ")===-1)return T._pushAttributed(this,_,$);const x=_.split(/ /g);let k=this;for(const A of x)k=T._pushAttributed(k,A,$);return k}static _pushAttributed(_,$,x){const k=x.getMetadataForScope($),A=_.scopePath.push($),R=x.themeProvider.themeMatch(A),I=T.mergeAttributes(_.tokenAttributes,k,R);return new T(_,A,I)}getScopeNames(){return this.scopePath.getSegments()}}o.AttributedScopeStack=T;class h{constructor(_,$,x,k,A,R,I,j){this.parent=_,this.ruleId=$,this.beginRuleCapturedEOL=A,this.endRule=R,this.nameScopesList=I,this.contentNameScopesList=j,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=x,this._anchorPos=k}equals(_){return _!==null&&h._equals(this,_)}static _equals(_,$){return _===$||!!this._structuralEquals(_,$)&&_.contentNameScopesList.equals($.contentNameScopesList)}static _structuralEquals(_,$){for(;;){if(_===$||!_&&!$)return!0;if(!_||!$||_.depth!==$.depth||_.ruleId!==$.ruleId||_.endRule!==$.endRule)return!1;_=_.parent,$=$.parent}}clone(){return this}static _reset(_){for(;_;)_._enterPos=-1,_._anchorPos=-1,_=_.parent}reset(){h._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(_,$,x,k,A,R,I){return new h(this,_,$,x,k,A,R,I)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(_){return _.getRule(this.ruleId)}toString(){const _=[];return this._writeString(_,0),"["+_.join(",")+"]"}_writeString(_,$){return this.parent&&($=this.parent._writeString(_,$)),_[$++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,$}withContentNameScopesList(_){return this.contentNameScopesList===_?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,_)}withEndRule(_){return this.endRule===_?this:new h(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,_,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(_){let $=this;for(;$&&$._enterPos===_._enterPos;){if($.ruleId===_.ruleId)return!0;$=$.parent}return!1}}o.StateStack=h,h.NULL=new h(null,0,0,0,!1,null,null,null),o.BalancedBracketSelectors=class{constructor(y,_){this.allowAny=!1,this.balancedBracketScopes=y.flatMap($=>$==="*"?(this.allowAny=!0,[]):c.createMatchers($,v).map(x=>x.matcher)),this.unbalancedBracketScopes=_.flatMap($=>c.createMatchers($,v).map(x=>x.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(y){for(const _ of this.unbalancedBracketScopes)if(_(y))return!1;for(const _ of this.balancedBracketScopes)if(_(y))return!0;return this.allowAny}};class b{constructor(_,$,x,k){this.balancedBracketSelectors=k,this._emitBinaryTokens=_,this._tokenTypeOverrides=x,a.DebugFlags.InDebugMode?this._lineText=$:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(_,$){this.produceFromScopes(_.contentNameScopesList,$)}produceFromScopes(_,$){if(this._lastTokenEndIndex>=$)return;if(this._emitBinaryTokens){let k=_.tokenAttributes,A=!1;if(this.balancedBracketSelectors?.matchesAlways&&(A=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const R=_.getScopeNames();for(const I of this._tokenTypeOverrides)I.matcher(R)&&(k=l.EncodedTokenAttributes.set(k,0,l.toOptionalTokenType(I.type),null,-1,0,0));this.balancedBracketSelectors&&(A=this.balancedBracketSelectors.match(R))}if(A&&(k=l.EncodedTokenAttributes.set(k,0,8,A,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===k)return void(this._lastTokenEndIndex=$);if(a.DebugFlags.InDebugMode){const R=_.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,$).replace(/\n$/,"\\n")+"|");for(let I=0;I<R.length;I++)console.log(" * "+R[I])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(k),void(this._lastTokenEndIndex=$)}const x=_.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,$).replace(/\n$/,"\\n")+"|");for(let k=0;k<x.length;k++)console.log(" * "+x[k])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:$,scopes:x}),this._lastTokenEndIndex=$}getResult(_,$){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===$-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(_,$),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(_,$){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===$-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(_,$),this._binaryTokens[this._binaryTokens.length-2]=0);const x=new Uint32Array(this._binaryTokens.length);for(let k=0,A=this._binaryTokens.length;k<A;k++)x[k]=this._binaryTokens[k];return x}}o.LineTokens=b},965:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseInclude=o.TopLevelRepositoryReference=o.TopLevelReference=o.RelativeReference=o.SelfReference=o.BaseReference=o.ScopeDependencyProcessor=o.ExternalReferenceCollector=o.TopLevelRepositoryRuleReference=o.TopLevelRuleReference=void 0;const a=i(878);class l{constructor(h){this.scopeName=h}toKey(){return this.scopeName}}o.TopLevelRuleReference=l;class c{constructor(h,b){this.scopeName=h,this.ruleName=b}toKey(){return`${this.scopeName}#${this.ruleName}`}}o.TopLevelRepositoryRuleReference=c;class f{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(h){const b=h.toKey();this._seenReferenceKeys.has(b)||(this._seenReferenceKeys.add(b),this._references.push(h))}}function u(T,h,b,y){const _=b.lookup(T.scopeName);if(!_){if(T.scopeName===h)throw new Error(`No grammar provided for <${h}>`);return}const $=b.lookup(h);T instanceof l?m({baseGrammar:$,selfGrammar:_},y):d(T.ruleName,{baseGrammar:$,selfGrammar:_,repository:_.repository},y);const x=b.injections(T.scopeName);if(x)for(const k of x)y.add(new l(k))}function d(T,h,b){h.repository&&h.repository[T]&&g([h.repository[T]],h,b)}function m(T,h){T.selfGrammar.patterns&&Array.isArray(T.selfGrammar.patterns)&&g(T.selfGrammar.patterns,{...T,repository:T.selfGrammar.repository},h),T.selfGrammar.injections&&g(Object.values(T.selfGrammar.injections),{...T,repository:T.selfGrammar.repository},h)}function g(T,h,b){for(const y of T){if(b.visitedRule.has(y))continue;b.visitedRule.add(y);const _=y.repository?a.mergeObjects({},h.repository,y.repository):h.repository;Array.isArray(y.patterns)&&g(y.patterns,{...h,repository:_},b);const $=y.include;if(!$)continue;const x=E($);switch(x.kind){case 0:m({...h,selfGrammar:h.baseGrammar},b);break;case 1:m(h,b);break;case 2:d(x.ruleName,{...h,repository:_},b);break;case 3:case 4:const k=x.scopeName===h.selfGrammar.scopeName?h.selfGrammar:x.scopeName===h.baseGrammar.scopeName?h.baseGrammar:void 0;if(k){const A={baseGrammar:h.baseGrammar,selfGrammar:k,repository:_};x.kind===4?d(x.ruleName,A,b):m(A,b)}else x.kind===4?b.add(new c(x.scopeName,x.ruleName)):b.add(new l(x.scopeName))}}}o.ExternalReferenceCollector=f,o.ScopeDependencyProcessor=class{constructor(T,h){this.repo=T,this.initialScopeName=h,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new l(this.initialScopeName)]}processQueue(){const T=this.Q;this.Q=[];const h=new f;for(const b of T)u(b,this.initialScopeName,this.repo,h);for(const b of h.references)if(b instanceof l){if(this.seenFullScopeRequests.has(b.scopeName))continue;this.seenFullScopeRequests.add(b.scopeName),this.Q.push(b)}else{if(this.seenFullScopeRequests.has(b.scopeName)||this.seenPartialScopeRequests.has(b.toKey()))continue;this.seenPartialScopeRequests.add(b.toKey()),this.Q.push(b)}}};class S{constructor(){this.kind=0}}o.BaseReference=S;class P{constructor(){this.kind=1}}o.SelfReference=P;class v{constructor(h){this.ruleName=h,this.kind=2}}o.RelativeReference=v;class p{constructor(h){this.scopeName=h,this.kind=3}}o.TopLevelReference=p;class w{constructor(h,b){this.scopeName=h,this.ruleName=b,this.kind=4}}function E(T){if(T==="$base")return new S;if(T==="$self")return new P;const h=T.indexOf("#");if(h===-1)return new p(T);if(h===0)return new v(T.substring(1));{const b=T.substring(0,h),y=T.substring(h+1);return new w(b,y)}}o.TopLevelRepositoryReference=w,o.parseInclude=E},391:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(c,f,u,d){d===void 0&&(d=u),Object.defineProperty(c,d,{enumerable:!0,get:function(){return f[u]}})}:function(c,f,u,d){d===void 0&&(d=u),c[d]=f[u]}),l=this&&this.__exportStar||function(c,f){for(var u in c)u==="default"||Object.prototype.hasOwnProperty.call(f,u)||a(f,c,u)};Object.defineProperty(o,"__esModule",{value:!0}),l(i(947),o)},47:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LocalStackElement=o._tokenizeString=void 0;const a=i(350),l=i(44),c=i(792),f=i(878);class u{constructor(w,E){this.stack=w,this.stoppedEarly=E}}function d(p,w,E,T,h,b,y,_){const $=w.content.length;let x=!1,k=-1;if(y){const I=function(j,H,B,K,te,J){let Q=te.beginRuleCapturedEOL?0:-1;const ce=[];for(let ae=te;ae;ae=ae.pop()){const ge=ae.getRule(j);ge instanceof c.BeginWhileRule&&ce.push({rule:ge,stack:ae})}for(let ae=ce.pop();ae;ae=ce.pop()){const{ruleScanner:ge,findOptions:ye}=g(ae.rule,j,ae.stack.endRule,B,K===Q),C=ge.findNextMatchSync(H,K,ye);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(ge.toString())),!C){a.DebugFlags.InDebugMode&&console.log(" popping "+ae.rule.debugName+" - "+ae.rule.debugWhileRegExp),te=ae.stack.pop();break}if(C.ruleId!==c.whileRuleId){te=ae.stack.pop();break}C.captureIndices&&C.captureIndices.length&&(J.produce(ae.stack,C.captureIndices[0].start),P(j,H,B,ae.stack,J,ae.rule.whileCaptures,C.captureIndices),J.produce(ae.stack,C.captureIndices[0].end),Q=C.captureIndices[0].end,C.captureIndices[0].end>K&&(K=C.captureIndices[0].end,B=!1))}return{stack:te,linePos:K,anchorPosition:Q,isFirstLine:B}}(p,w,E,T,h,b);h=I.stack,T=I.linePos,E=I.isFirstLine,k=I.anchorPosition}const A=Date.now();for(;!x;){if(_!==0&&Date.now()-A>_)return new u(h,!0);R()}return new u(h,!1);function R(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${T}: |${w.content.substr(T).replace(/\n$/,"\\n")}|`));const I=function(K,te,J,Q,ce,ae){const ge=function(ee,ve,O,N,L,D){const F=L.getRule(ee),{ruleScanner:G,findOptions:Y}=m(F,ee,L.endRule,O,N===D);let z=0;a.DebugFlags.InDebugMode&&(z=f.performanceNow());const q=G.findNextMatchSync(ve,N,Y);if(a.DebugFlags.InDebugMode){const V=f.performanceNow()-z;V>5&&console.warn(`Rule ${F.debugName} (${F.id}) matching took ${V} against '${ve}'`),console.log(` scanning for (linePos: ${N}, anchorPosition: ${D})`),console.log(G.toString()),q&&console.log(`matched rule id: ${q.ruleId} from ${q.captureIndices[0].start} to ${q.captureIndices[0].end}`)}return q?{captureIndices:q.captureIndices,matchedRuleId:q.ruleId}:null}(K,te,J,Q,ce,ae),ye=K.getInjections();if(ye.length===0)return ge;const C=function(ee,ve,O,N,L,D,F){let G,Y=Number.MAX_VALUE,z=null,q=0;const V=D.contentNameScopesList.getScopeNames();for(let se=0,M=ee.length;se<M;se++){const U=ee[se];if(!U.matcher(V))continue;const ne=ve.getRule(U.ruleId),{ruleScanner:he,findOptions:ue}=m(ne,ve,null,N,L===F),le=he.findNextMatchSync(O,L,ue);if(!le)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${U.debugSelector}`),console.log(he.toString()));const _e=le.captureIndices[0].start;if(!(_e>=Y)&&(Y=_e,z=le.captureIndices,G=le.ruleId,q=U.priority,Y===L))break}return z?{priorityMatch:q===-1,captureIndices:z,matchedRuleId:G}:null}(ye,K,te,J,Q,ce,ae);if(!C)return ge;if(!ge)return C;const X=ge.captureIndices[0].start,W=C.captureIndices[0].start;return W<X||C.priorityMatch&&W===X?C:ge}(p,w,E,T,h,k);if(!I)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),b.produce(h,$),void(x=!0);const j=I.captureIndices,H=I.matchedRuleId,B=!!(j&&j.length>0)&&j[0].end>T;if(H===c.endRuleId){const K=h.getRule(p);a.DebugFlags.InDebugMode&&console.log(" popping "+K.debugName+" - "+K.debugEndRegExp),b.produce(h,j[0].start),h=h.withContentNameScopesList(h.nameScopesList),P(p,w,E,h,b,K.endCaptures,j),b.produce(h,j[0].end);const te=h;if(h=h.parent,k=te.getAnchorPos(),!B&&te.getEnterPos()===T)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),h=te,b.produce(h,$),void(x=!0)}else{const K=p.getRule(H);b.produce(h,j[0].start);const te=h,J=K.getName(w.content,j),Q=h.contentNameScopesList.pushAttributed(J,p);if(h=h.push(H,T,k,j[0].end===$,null,Q,Q),K instanceof c.BeginEndRule){const ce=K;a.DebugFlags.InDebugMode&&console.log(" pushing "+ce.debugName+" - "+ce.debugBeginRegExp),P(p,w,E,h,b,ce.beginCaptures,j),b.produce(h,j[0].end),k=j[0].end;const ae=ce.getContentName(w.content,j),ge=Q.pushAttributed(ae,p);if(h=h.withContentNameScopesList(ge),ce.endHasBackReferences&&(h=h.withEndRule(ce.getEndWithResolvedBackReferences(w.content,j))),!B&&te.hasSameRuleAs(h))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),h=h.pop(),b.produce(h,$),void(x=!0)}else if(K instanceof c.BeginWhileRule){const ce=K;a.DebugFlags.InDebugMode&&console.log(" pushing "+ce.debugName),P(p,w,E,h,b,ce.beginCaptures,j),b.produce(h,j[0].end),k=j[0].end;const ae=ce.getContentName(w.content,j),ge=Q.pushAttributed(ae,p);if(h=h.withContentNameScopesList(ge),ce.whileHasBackReferences&&(h=h.withEndRule(ce.getWhileWithResolvedBackReferences(w.content,j))),!B&&te.hasSameRuleAs(h))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),h=h.pop(),b.produce(h,$),void(x=!0)}else{const ce=K;if(a.DebugFlags.InDebugMode&&console.log(" matched "+ce.debugName+" - "+ce.debugMatchRegExp),P(p,w,E,h,b,ce.captures,j),b.produce(h,j[0].end),h=h.pop(),!B)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),h=h.safePop(),b.produce(h,$),void(x=!0)}}j[0].end>T&&(T=j[0].end,E=!1)}}function m(p,w,E,T,h){return a.UseOnigurumaFindOptions?{ruleScanner:p.compile(w,E),findOptions:S(T,h)}:{ruleScanner:p.compileAG(w,E,T,h),findOptions:0}}function g(p,w,E,T,h){return a.UseOnigurumaFindOptions?{ruleScanner:p.compileWhile(w,E),findOptions:S(T,h)}:{ruleScanner:p.compileWhileAG(w,E,T,h),findOptions:0}}function S(p,w){let E=0;return p||(E|=1),w||(E|=4),E}function P(p,w,E,T,h,b,y){if(b.length===0)return;const _=w.content,$=Math.min(b.length,y.length),x=[],k=y[0].end;for(let A=0;A<$;A++){const R=b[A];if(R===null)continue;const I=y[A];if(I.length===0)continue;if(I.start>k)break;for(;x.length>0&&x[x.length-1].endPos<=I.start;)h.produceFromScopes(x[x.length-1].scopes,x[x.length-1].endPos),x.pop();if(x.length>0?h.produceFromScopes(x[x.length-1].scopes,I.start):h.produce(T,I.start),R.retokenizeCapturedWithRuleId){const H=R.getName(_,y),B=T.contentNameScopesList.pushAttributed(H,p),K=R.getContentName(_,y),te=B.pushAttributed(K,p),J=T.push(R.retokenizeCapturedWithRuleId,I.start,-1,!1,null,B,te),Q=p.createOnigString(_.substring(0,I.end));d(p,Q,E&&I.start===0,I.start,J,h,!1,0),l.disposeOnigString(Q);continue}const j=R.getName(_,y);if(j!==null){const H=(x.length>0?x[x.length-1].scopes:T.contentNameScopesList).pushAttributed(j,p);x.push(new v(H,I.end))}}for(;x.length>0;)h.produceFromScopes(x[x.length-1].scopes,x[x.length-1].endPos),x.pop()}o._tokenizeString=d;class v{constructor(w,E){this.scopes=w,this.endPos=E}}o.LocalStackElement=v},974:(s,o)=>{function i(f,u){throw new Error("Near offset "+f.pos+": "+u+" ~~~"+f.source.substr(f.pos,50)+"~~~")}Object.defineProperty(o,"__esModule",{value:!0}),o.parseJSON=void 0,o.parseJSON=function(f,u,d){let m=new a(f),g=new l,S=0,P=null,v=[],p=[];function w(){v.push(S),p.push(P)}function E(){S=v.pop(),P=p.pop()}function T(h){i(m,h)}for(;c(m,g);){if(S===0){if(P!==null&&T("too many constructs in root"),g.type===3){P={},d&&(P.$vscodeTextmateLocation=g.toLocation(u)),w(),S=1;continue}if(g.type===2){P=[],w(),S=4;continue}T("unexpected token in root")}if(S===2){if(g.type===5){E();continue}if(g.type===7){S=3;continue}T("expected , or }")}if(S===1||S===3){if(S===1&&g.type===5){E();continue}if(g.type===1){let h=g.value;if(c(m,g)&&g.type===6||T("expected colon"),c(m,g)||T("expected value"),S=2,g.type===1){P[h]=g.value;continue}if(g.type===8){P[h]=null;continue}if(g.type===9){P[h]=!0;continue}if(g.type===10){P[h]=!1;continue}if(g.type===11){P[h]=parseFloat(g.value);continue}if(g.type===2){let b=[];P[h]=b,w(),S=4,P=b;continue}if(g.type===3){let b={};d&&(b.$vscodeTextmateLocation=g.toLocation(u)),P[h]=b,w(),S=1,P=b;continue}}T("unexpected token in dict")}if(S===5){if(g.type===4){E();continue}if(g.type===7){S=6;continue}T("expected , or ]")}if(S===4||S===6){if(S===4&&g.type===4){E();continue}if(S=5,g.type===1){P.push(g.value);continue}if(g.type===8){P.push(null);continue}if(g.type===9){P.push(!0);continue}if(g.type===10){P.push(!1);continue}if(g.type===11){P.push(parseFloat(g.value));continue}if(g.type===2){let h=[];P.push(h),w(),S=4,P=h;continue}if(g.type===3){let h={};d&&(h.$vscodeTextmateLocation=g.toLocation(u)),P.push(h),w(),S=1,P=h;continue}T("unexpected token in array")}T("unknown state")}return p.length!==0&&T("unclosed constructs"),P};class a{constructor(u){this.source=u,this.pos=0,this.len=u.length,this.line=1,this.char=0}}class l{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(u){return{filename:u,line:this.line,char:this.char}}}function c(f,u){u.value=null,u.type=0,u.offset=-1,u.len=-1,u.line=-1,u.char=-1;let d,m=f.source,g=f.pos,S=f.len,P=f.line,v=f.char;for(;;){if(g>=S)return!1;if(d=m.charCodeAt(g),d!==32&&d!==9&&d!==13){if(d!==10)break;g++,P++,v=0}else g++,v++}if(u.offset=g,u.line=P,u.char=v,d===34){for(u.type=1,g++,v++;;){if(g>=S)return!1;if(d=m.charCodeAt(g),g++,v++,d!==92){if(d===34)break}else g++,v++}u.value=m.substring(u.offset+1,g-1).replace(/\\u([0-9A-Fa-f]{4})/g,(p,w)=>String.fromCodePoint(parseInt(w,16))).replace(/\\(.)/g,(p,w)=>{switch(w){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
|
|
9
9
|
`;case"r":return"\r";case"t":return" ";default:i(f,"invalid escape sequence")}throw new Error("unreachable")})}else if(d===91)u.type=2,g++,v++;else if(d===123)u.type=3,g++,v++;else if(d===93)u.type=4,g++,v++;else if(d===125)u.type=5,g++,v++;else if(d===58)u.type=6,g++,v++;else if(d===44)u.type=7,g++,v++;else if(d===110){if(u.type=8,g++,v++,d=m.charCodeAt(g),d!==117||(g++,v++,d=m.charCodeAt(g),d!==108)||(g++,v++,d=m.charCodeAt(g),d!==108))return!1;g++,v++}else if(d===116){if(u.type=9,g++,v++,d=m.charCodeAt(g),d!==114||(g++,v++,d=m.charCodeAt(g),d!==117)||(g++,v++,d=m.charCodeAt(g),d!==101))return!1;g++,v++}else if(d===102){if(u.type=10,g++,v++,d=m.charCodeAt(g),d!==97||(g++,v++,d=m.charCodeAt(g),d!==108)||(g++,v++,d=m.charCodeAt(g),d!==115)||(g++,v++,d=m.charCodeAt(g),d!==101))return!1;g++,v++}else for(u.type=11;;){if(g>=S)return!1;if(d=m.charCodeAt(g),!(d===46||d>=48&&d<=57||d===101||d===69||d===45||d===43))break;g++,v++}return u.len=g-u.offset,u.value===null&&(u.value=m.substr(u.offset,u.len)),f.pos=g,f.line=P,f.char=v,!0}},787:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(g,S,P,v){v===void 0&&(v=P),Object.defineProperty(g,v,{enumerable:!0,get:function(){return S[P]}})}:function(g,S,P,v){v===void 0&&(v=P),g[v]=S[P]}),l=this&&this.__exportStar||function(g,S){for(var P in g)P==="default"||Object.prototype.hasOwnProperty.call(S,P)||a(S,g,P)};Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=o.INITIAL=o.Registry=void 0;const c=i(391),f=i(50),u=i(652),d=i(583),m=i(965);l(i(44),o),o.Registry=class{constructor(g){this._options=g,this._syncRegistry=new u.SyncRegistry(d.Theme.createFromRawTheme(g.theme,g.colorMap),g.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(g,S){this._syncRegistry.setTheme(d.Theme.createFromRawTheme(g,S))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(g,S,P){return this.loadGrammarWithConfiguration(g,S,{embeddedLanguages:P})}loadGrammarWithConfiguration(g,S,P){return this._loadGrammar(g,S,P.embeddedLanguages,P.tokenTypes,new c.BalancedBracketSelectors(P.balancedBracketSelectors||[],P.unbalancedBracketSelectors||[]))}loadGrammar(g){return this._loadGrammar(g,0,null,null,null)}async _loadGrammar(g,S,P,v,p){const w=new m.ScopeDependencyProcessor(this._syncRegistry,g);for(;w.Q.length>0;)await Promise.all(w.Q.map(E=>this._loadSingleGrammar(E.scopeName))),w.processQueue();return this._grammarForScopeName(g,S,P,v,p)}async _loadSingleGrammar(g){return this._ensureGrammarCache.has(g)||this._ensureGrammarCache.set(g,this._doLoadSingleGrammar(g)),this._ensureGrammarCache.get(g)}async _doLoadSingleGrammar(g){const S=await this._options.loadGrammar(g);if(S){const P=typeof this._options.getInjections=="function"?this._options.getInjections(g):void 0;this._syncRegistry.addGrammar(S,P)}}async addGrammar(g,S=[],P=0,v=null){return this._syncRegistry.addGrammar(g,S),await this._grammarForScopeName(g.scopeName,P,v)}_grammarForScopeName(g,S=0,P=null,v=null,p=null){return this._syncRegistry.grammarForScopeName(g,S,P,v,p)}},o.INITIAL=c.StateStack.NULL,o.parseRawGrammar=f.parseRawGrammar},736:(s,o)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(o,"__esModule",{value:!0}),o.createMatchers=void 0,o.createMatchers=function(a,l){const c=[],f=function(g){let S=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,P=S.exec(g);return{next:()=>{if(!P)return null;const v=P[0];return P=S.exec(g),v}}}(a);let u=f.next();for(;u!==null;){let g=0;if(u.length===2&&u.charAt(1)===":"){switch(u.charAt(0)){case"R":g=1;break;case"L":g=-1;break;default:console.log(`Unknown priority ${u} in scope selector`)}u=f.next()}let S=m();if(c.push({matcher:S,priority:g}),u!==",")break;u=f.next()}return c;function d(){if(u==="-"){u=f.next();const g=d();return S=>!!g&&!g(S)}if(u==="("){u=f.next();const g=function(){const S=[];let P=m();for(;P&&(S.push(P),u==="|"||u===",");){do u=f.next();while(u==="|"||u===",");P=m()}return v=>S.some(p=>p(v))}();return u===")"&&(u=f.next()),g}if(i(u)){const g=[];do g.push(u),u=f.next();while(i(u));return S=>l(g,S)}return null}function m(){const g=[];let S=d();for(;S;)g.push(S),S=d();return P=>g.every(v=>v(P))}}},44:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.disposeOnigString=void 0,o.disposeOnigString=function(i){typeof i.dispose=="function"&&i.dispose()}},50:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=void 0;const a=i(69),l=i(350),c=i(974);o.parseRawGrammar=function(f,u=null){return u!==null&&/\.json$/.test(u)?(d=f,m=u,l.DebugFlags.InDebugMode?c.parseJSON(d,m,!0):JSON.parse(d)):function(g,S){return l.DebugFlags.InDebugMode?a.parseWithLocation(g,S,"$vscodeTextmateLocation"):a.parsePLIST(g)}(f,u);var d,m}},69:(s,o)=>{function i(a,l,c){const f=a.length;let u=0,d=1,m=0;function g(C){if(c===null)u+=C;else for(;C>0;)a.charCodeAt(u)===10?(u++,d++,m=0):(u++,m++),C--}function S(C){c===null?u=C:g(C-u)}function P(){for(;u<f;){let C=a.charCodeAt(u);if(C!==32&&C!==9&&C!==13&&C!==10)break;g(1)}}function v(C){return a.substr(u,C.length)===C&&(g(C.length),!0)}function p(C){let X=a.indexOf(C,u);S(X!==-1?X+C.length:f)}function w(C){let X=a.indexOf(C,u);if(X!==-1){let W=a.substring(u,X);return S(X+C.length),W}{let W=a.substr(u);return S(f),W}}f>0&&a.charCodeAt(0)===65279&&(u=1);let E=0,T=null,h=[],b=[],y=null;function _(C,X){h.push(E),b.push(T),E=C,T=X}function $(){if(h.length===0)return x("illegal state stack");E=h.pop(),T=b.pop()}function x(C){throw new Error("Near offset "+u+": "+C+" ~~~"+a.substr(u,50)+"~~~")}const k=function(){if(y===null)return x("missing <key>");let C={};c!==null&&(C[c]={filename:l,line:d,char:m}),T[y]=C,y=null,_(1,C)},A=function(){if(y===null)return x("missing <key>");let C=[];T[y]=C,y=null,_(2,C)},R=function(){let C={};c!==null&&(C[c]={filename:l,line:d,char:m}),T.push(C),_(1,C)},I=function(){let C=[];T.push(C),_(2,C)};function j(){if(E!==1)return x("unexpected </dict>");$()}function H(){return E===1||E!==2?x("unexpected </array>"):void $()}function B(C){if(E===1){if(y===null)return x("missing <key>");T[y]=C,y=null}else E===2?T.push(C):T=C}function K(C){if(isNaN(C))return x("cannot parse float");if(E===1){if(y===null)return x("missing <key>");T[y]=C,y=null}else E===2?T.push(C):T=C}function te(C){if(isNaN(C))return x("cannot parse integer");if(E===1){if(y===null)return x("missing <key>");T[y]=C,y=null}else E===2?T.push(C):T=C}function J(C){if(E===1){if(y===null)return x("missing <key>");T[y]=C,y=null}else E===2?T.push(C):T=C}function Q(C){if(E===1){if(y===null)return x("missing <key>");T[y]=C,y=null}else E===2?T.push(C):T=C}function ce(C){if(E===1){if(y===null)return x("missing <key>");T[y]=C,y=null}else E===2?T.push(C):T=C}function ae(){let C=w(">"),X=!1;return C.charCodeAt(C.length-1)===47&&(X=!0,C=C.substring(0,C.length-1)),{name:C.trim(),isClosed:X}}function ge(C){if(C.isClosed)return"";let X=w("</");return p(">"),X.replace(/&#([0-9]+);/g,function(W,ee){return String.fromCodePoint(parseInt(ee,10))}).replace(/&#x([0-9a-f]+);/g,function(W,ee){return String.fromCodePoint(parseInt(ee,16))}).replace(/&|<|>|"|'/g,function(W){switch(W){case"&":return"&";case"<":return"<";case">":return">";case""":return'"';case"'":return"'"}return W})}for(;u<f&&(P(),!(u>=f));){const C=a.charCodeAt(u);if(g(1),C!==60)return x("expected <");if(u>=f)return x("unexpected end of input");const X=a.charCodeAt(u);if(X===63){g(1),p("?>");continue}if(X===33){if(g(1),v("--")){p("-->");continue}p(">");continue}if(X===47){if(g(1),P(),v("plist")){p(">");continue}if(v("dict")){p(">"),j();continue}if(v("array")){p(">"),H();continue}return x("unexpected closed tag")}let W=ae();switch(W.name){case"dict":E===1?k():E===2?R():(T={},c!==null&&(T[c]={filename:l,line:d,char:m}),_(1,T)),W.isClosed&&j();continue;case"array":E===1?A():E===2?I():(T=[],_(2,T)),W.isClosed&&H();continue;case"key":ye=ge(W),E!==1?x("unexpected <key>"):y!==null?x("too many <key>"):y=ye;continue;case"string":B(ge(W));continue;case"real":K(parseFloat(ge(W)));continue;case"integer":te(parseInt(ge(W),10));continue;case"date":J(new Date(ge(W)));continue;case"data":Q(ge(W));continue;case"true":ge(W),ce(!0);continue;case"false":ge(W),ce(!1);continue}if(!/^plist/.test(W.name))return x("unexpected opened tag "+W.name)}var ye;return T}Object.defineProperty(o,"__esModule",{value:!0}),o.parsePLIST=o.parseWithLocation=void 0,o.parseWithLocation=function(a,l,c){return i(a,l,c)},o.parsePLIST=function(a){return i(a,null,null)}},652:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.SyncRegistry=void 0;const a=i(391);o.SyncRegistry=class{constructor(l,c){this._onigLibPromise=c,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=l}dispose(){for(const l of this._grammars.values())l.dispose()}setTheme(l){this._theme=l}getColorMap(){return this._theme.getColorMap()}addGrammar(l,c){this._rawGrammars.set(l.scopeName,l),c&&this._injectionGrammars.set(l.scopeName,c)}lookup(l){return this._rawGrammars.get(l)}injections(l){return this._injectionGrammars.get(l)}getDefaults(){return this._theme.getDefaults()}themeMatch(l){return this._theme.match(l)}async grammarForScopeName(l,c,f,u,d){if(!this._grammars.has(l)){let m=this._rawGrammars.get(l);if(!m)return null;this._grammars.set(l,a.createGrammar(l,m,c,f,u,d,this,await this._onigLibPromise))}return this._grammars.get(l)}}},792:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.CompiledRule=o.RegExpSourceList=o.RegExpSource=o.RuleFactory=o.BeginWhileRule=o.BeginEndRule=o.IncludeOnlyRule=o.MatchRule=o.CaptureRule=o.Rule=o.ruleIdToNumber=o.ruleIdFromNumber=o.whileRuleId=o.endRuleId=void 0;const a=i(878),l=i(965),c=/\\(\d+)/,f=/\\(\d+)/g;o.endRuleId=-1,o.whileRuleId=-2,o.ruleIdFromNumber=function(T){return T},o.ruleIdToNumber=function(T){return T};class u{constructor(h,b,y,_){this.$location=h,this.id=b,this._name=y||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=_||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const h=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${h}`}getName(h,b){return this._nameIsCapturing&&this._name!==null&&h!==null&&b!==null?a.RegexSource.replaceCaptures(this._name,h,b):this._name}getContentName(h,b){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,h,b):this._contentName}}o.Rule=u;class d extends u{constructor(h,b,y,_,$){super(h,b,y,_),this.retokenizeCapturedWithRuleId=$}dispose(){}collectPatterns(h,b){throw new Error("Not supported!")}compile(h,b){throw new Error("Not supported!")}compileAG(h,b,y,_){throw new Error("Not supported!")}}o.CaptureRule=d;class m extends u{constructor(h,b,y,_,$){super(h,b,y,null),this._match=new p(_,this.id),this.captures=$,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(h,b){b.push(this._match)}compile(h,b){return this._getCachedCompiledPatterns(h).compile(h)}compileAG(h,b,y,_){return this._getCachedCompiledPatterns(h).compileAG(h,y,_)}_getCachedCompiledPatterns(h){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new w,this.collectPatterns(h,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.MatchRule=m;class g extends u{constructor(h,b,y,_,$){super(h,b,y,_),this.patterns=$.patterns,this.hasMissingPatterns=$.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(h,b){for(const y of this.patterns)h.getRule(y).collectPatterns(h,b)}compile(h,b){return this._getCachedCompiledPatterns(h).compile(h)}compileAG(h,b,y,_){return this._getCachedCompiledPatterns(h).compileAG(h,y,_)}_getCachedCompiledPatterns(h){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new w,this.collectPatterns(h,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.IncludeOnlyRule=g;class S extends u{constructor(h,b,y,_,$,x,k,A,R,I){super(h,b,y,_),this._begin=new p($,this.id),this.beginCaptures=x,this._end=new p(k||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=A,this.applyEndPatternLast=R||!1,this.patterns=I.patterns,this.hasMissingPatterns=I.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(h,b){return this._end.resolveBackReferences(h,b)}collectPatterns(h,b){b.push(this._begin)}compile(h,b){return this._getCachedCompiledPatterns(h,b).compile(h)}compileAG(h,b,y,_){return this._getCachedCompiledPatterns(h,b).compileAG(h,y,_)}_getCachedCompiledPatterns(h,b){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new w;for(const y of this.patterns)h.getRule(y).collectPatterns(h,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,b):this._cachedCompiledPatterns.setSource(0,b)),this._cachedCompiledPatterns}}o.BeginEndRule=S;class P extends u{constructor(h,b,y,_,$,x,k,A,R){super(h,b,y,_),this._begin=new p($,this.id),this.beginCaptures=x,this.whileCaptures=A,this._while=new p(k,o.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=R.patterns,this.hasMissingPatterns=R.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(h,b){return this._while.resolveBackReferences(h,b)}collectPatterns(h,b){b.push(this._begin)}compile(h,b){return this._getCachedCompiledPatterns(h).compile(h)}compileAG(h,b,y,_){return this._getCachedCompiledPatterns(h).compileAG(h,y,_)}_getCachedCompiledPatterns(h){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new w;for(const b of this.patterns)h.getRule(b).collectPatterns(h,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(h,b){return this._getCachedCompiledWhilePatterns(h,b).compile(h)}compileWhileAG(h,b,y,_){return this._getCachedCompiledWhilePatterns(h,b).compileAG(h,y,_)}_getCachedCompiledWhilePatterns(h,b){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new w,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,b||""),this._cachedCompiledWhilePatterns}}o.BeginWhileRule=P;class v{static createCaptureRule(h,b,y,_,$){return h.registerRule(x=>new d(b,x,y,_,$))}static getCompiledRuleId(h,b,y){return h.id||b.registerRule(_=>{if(h.id=_,h.match)return new m(h.$vscodeTextmateLocation,h.id,h.name,h.match,v._compileCaptures(h.captures,b,y));if(h.begin===void 0){h.repository&&(y=a.mergeObjects({},y,h.repository));let $=h.patterns;return $===void 0&&h.include&&($=[{include:h.include}]),new g(h.$vscodeTextmateLocation,h.id,h.name,h.contentName,v._compilePatterns($,b,y))}return h.while?new P(h.$vscodeTextmateLocation,h.id,h.name,h.contentName,h.begin,v._compileCaptures(h.beginCaptures||h.captures,b,y),h.while,v._compileCaptures(h.whileCaptures||h.captures,b,y),v._compilePatterns(h.patterns,b,y)):new S(h.$vscodeTextmateLocation,h.id,h.name,h.contentName,h.begin,v._compileCaptures(h.beginCaptures||h.captures,b,y),h.end,v._compileCaptures(h.endCaptures||h.captures,b,y),h.applyEndPatternLast,v._compilePatterns(h.patterns,b,y))}),h.id}static _compileCaptures(h,b,y){let _=[];if(h){let $=0;for(const x in h){if(x==="$vscodeTextmateLocation")continue;const k=parseInt(x,10);k>$&&($=k)}for(let x=0;x<=$;x++)_[x]=null;for(const x in h){if(x==="$vscodeTextmateLocation")continue;const k=parseInt(x,10);let A=0;h[x].patterns&&(A=v.getCompiledRuleId(h[x],b,y)),_[k]=v.createCaptureRule(b,h[x].$vscodeTextmateLocation,h[x].name,h[x].contentName,A)}}return _}static _compilePatterns(h,b,y){let _=[];if(h)for(let $=0,x=h.length;$<x;$++){const k=h[$];let A=-1;if(k.include){const R=l.parseInclude(k.include);switch(R.kind){case 0:case 1:A=v.getCompiledRuleId(y[k.include],b,y);break;case 2:let I=y[R.ruleName];I&&(A=v.getCompiledRuleId(I,b,y));break;case 3:case 4:const j=R.scopeName,H=R.kind===4?R.ruleName:null,B=b.getExternalGrammar(j,y);if(B)if(H){let K=B.repository[H];K&&(A=v.getCompiledRuleId(K,b,B.repository))}else A=v.getCompiledRuleId(B.repository.$self,b,B.repository)}}else A=v.getCompiledRuleId(k,b,y);if(A!==-1){const R=b.getRule(A);let I=!1;if((R instanceof g||R instanceof S||R instanceof P)&&R.hasMissingPatterns&&R.patterns.length===0&&(I=!0),I)continue;_.push(A)}}return{patterns:_,hasMissingPatterns:(h?h.length:0)!==_.length}}}o.RuleFactory=v;class p{constructor(h,b){if(h){const y=h.length;let _=0,$=[],x=!1;for(let k=0;k<y;k++)if(h.charAt(k)==="\\"&&k+1<y){const A=h.charAt(k+1);A==="z"?($.push(h.substring(_,k)),$.push("$(?!\\n)(?<!\\n)"),_=k+2):A!=="A"&&A!=="G"||(x=!0),k++}this.hasAnchor=x,_===0?this.source=h:($.push(h.substring(_,y)),this.source=$.join(""))}else this.hasAnchor=!1,this.source=h;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=b,this.hasBackReferences=c.test(this.source)}clone(){return new p(this.source,this.ruleId)}setSource(h){this.source!==h&&(this.source=h,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(h,b){let y=b.map(_=>h.substring(_.start,_.end));return f.lastIndex=0,this.source.replace(f,(_,$)=>a.escapeRegExpCharacters(y[parseInt($,10)]||""))}_buildAnchorCache(){let h,b,y,_,$=[],x=[],k=[],A=[];for(h=0,b=this.source.length;h<b;h++)y=this.source.charAt(h),$[h]=y,x[h]=y,k[h]=y,A[h]=y,y==="\\"&&h+1<b&&(_=this.source.charAt(h+1),_==="A"?($[h+1]="",x[h+1]="",k[h+1]="A",A[h+1]="A"):_==="G"?($[h+1]="",x[h+1]="G",k[h+1]="",A[h+1]="G"):($[h+1]=_,x[h+1]=_,k[h+1]=_,A[h+1]=_),h++);return{A0_G0:$.join(""),A0_G1:x.join(""),A1_G0:k.join(""),A1_G1:A.join("")}}resolveAnchors(h,b){return this.hasAnchor&&this._anchorCache?h?b?this._anchorCache.A1_G1:this._anchorCache.A1_G0:b?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}o.RegExpSource=p;class w{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(h){this._items.push(h),this._hasAnchors=this._hasAnchors||h.hasAnchor}unshift(h){this._items.unshift(h),this._hasAnchors=this._hasAnchors||h.hasAnchor}length(){return this._items.length}setSource(h,b){this._items[h].source!==b&&(this._disposeCaches(),this._items[h].setSource(b))}compile(h){if(!this._cached){let b=this._items.map(y=>y.source);this._cached=new E(h,b,this._items.map(y=>y.ruleId))}return this._cached}compileAG(h,b,y){return this._hasAnchors?b?y?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(h,b,y)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(h,b,y)),this._anchorCache.A1_G0):y?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(h,b,y)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(h,b,y)),this._anchorCache.A0_G0):this.compile(h)}_resolveAnchors(h,b,y){let _=this._items.map($=>$.resolveAnchors(b,y));return new E(h,_,this._items.map($=>$.ruleId))}}o.RegExpSourceList=w;class E{constructor(h,b,y){this.regExps=b,this.rules=y,this.scanner=h.createOnigScanner(b)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const h=[];for(let b=0,y=this.rules.length;b<y;b++)h.push(" - "+this.rules[b]+": "+this.regExps[b]);return h.join(`
|
|
10
10
|
`)}findNextMatchSync(h,b,y){const _=this.scanner.findNextMatchSync(h,b,y);return _?{ruleId:this.rules[_.index],captureIndices:_.captureIndices}:null}}o.CompiledRule=E},583:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.ThemeTrieElement=o.ThemeTrieElementRule=o.ColorMap=o.fontStyleToString=o.ParsedThemeRule=o.parseTheme=o.StyleAttributes=o.ScopeStack=o.Theme=void 0;const a=i(878);class l{constructor(p,w,E){this._colorMap=p,this._defaults=w,this._root=E,this._cachedMatchRoot=new a.CachedFn(T=>this._root.match(T))}static createFromRawTheme(p,w){return this.createFromParsedTheme(d(p),w)}static createFromParsedTheme(p,w){return function(E,T){E.sort((k,A)=>{let R=a.strcmp(k.scope,A.scope);return R!==0?R:(R=a.strArrCmp(k.parentScopes,A.parentScopes),R!==0?R:k.index-A.index)});let h=0,b="#000000",y="#ffffff";for(;E.length>=1&&E[0].scope==="";){let k=E.shift();k.fontStyle!==-1&&(h=k.fontStyle),k.foreground!==null&&(b=k.foreground),k.background!==null&&(y=k.background)}let _=new g(T),$=new u(h,_.getId(b),_.getId(y)),x=new P(new S(0,null,-1,0,0),[]);for(let k=0,A=E.length;k<A;k++){let R=E[k];x.insert(0,R.scope,R.parentScopes,R.fontStyle,_.getId(R.foreground),_.getId(R.background))}return new l(_,$,x)}(p,w)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(p){if(p===null)return this._defaults;const w=p.scopeName,E=this._cachedMatchRoot.get(w).find(T=>function(h,b){if(b===null)return!0;let y=0,_=b[y];for(;h;){if(f(h.scopeName,_)){if(y++,y===b.length)return!0;_=b[y]}h=h.parent}return!1}(p.parent,T.parentScopes));return E?new u(E.fontStyle,E.foreground,E.background):null}}o.Theme=l;class c{constructor(p,w){this.parent=p,this.scopeName=w}static from(...p){let w=null;for(let E=0;E<p.length;E++)w=new c(w,p[E]);return w}push(p){return new c(this,p)}getSegments(){let p=this;const w=[];for(;p;)w.push(p.scopeName),p=p.parent;return w.reverse(),w}toString(){return this.getSegments().join(" ")}}function f(v,p){return p===v||v.startsWith(p)&&v[p.length]==="."}o.ScopeStack=c;class u{constructor(p,w,E){this.fontStyle=p,this.foregroundId=w,this.backgroundId=E}}function d(v){if(!v)return[];if(!v.settings||!Array.isArray(v.settings))return[];let p=v.settings,w=[],E=0;for(let T=0,h=p.length;T<h;T++){let b,y=p[T];if(!y.settings)continue;if(typeof y.scope=="string"){let k=y.scope;k=k.replace(/^[,]+/,""),k=k.replace(/[,]+$/,""),b=k.split(",")}else b=Array.isArray(y.scope)?y.scope:[""];let _=-1;if(typeof y.settings.fontStyle=="string"){_=0;let k=y.settings.fontStyle.split(" ");for(let A=0,R=k.length;A<R;A++)switch(k[A]){case"italic":_|=1;break;case"bold":_|=2;break;case"underline":_|=4;break;case"strikethrough":_|=8}}let $=null;typeof y.settings.foreground=="string"&&a.isValidHexColor(y.settings.foreground)&&($=y.settings.foreground);let x=null;typeof y.settings.background=="string"&&a.isValidHexColor(y.settings.background)&&(x=y.settings.background);for(let k=0,A=b.length;k<A;k++){let R=b[k].trim().split(" "),I=R[R.length-1],j=null;R.length>1&&(j=R.slice(0,R.length-1),j.reverse()),w[E++]=new m(I,j,T,_,$,x)}}return w}o.StyleAttributes=u,o.parseTheme=d;class m{constructor(p,w,E,T,h,b){this.scope=p,this.parentScopes=w,this.index=E,this.fontStyle=T,this.foreground=h,this.background=b}}o.ParsedThemeRule=m,o.fontStyleToString=function(v){if(v===-1)return"not set";let p="";return 1&v&&(p+="italic "),2&v&&(p+="bold "),4&v&&(p+="underline "),8&v&&(p+="strikethrough "),p===""&&(p="none"),p.trim()};class g{constructor(p){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(p)){this._isFrozen=!0;for(let w=0,E=p.length;w<E;w++)this._color2id[p[w]]=w,this._id2color[w]=p[w]}else this._isFrozen=!1}getId(p){if(p===null)return 0;p=p.toUpperCase();let w=this._color2id[p];if(w)return w;if(this._isFrozen)throw new Error(`Missing color in color map - ${p}`);return w=++this._lastColorId,this._color2id[p]=w,this._id2color[w]=p,w}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=g;class S{constructor(p,w,E,T,h){this.scopeDepth=p,this.parentScopes=w,this.fontStyle=E,this.foreground=T,this.background=h}clone(){return new S(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(p){let w=[];for(let E=0,T=p.length;E<T;E++)w[E]=p[E].clone();return w}acceptOverwrite(p,w,E,T){this.scopeDepth>p?console.log("how did this happen?"):this.scopeDepth=p,w!==-1&&(this.fontStyle=w),E!==0&&(this.foreground=E),T!==0&&(this.background=T)}}o.ThemeTrieElementRule=S;class P{constructor(p,w=[],E={}){this._mainRule=p,this._children=E,this._rulesWithParentScopes=w}static _sortBySpecificity(p){return p.length===1||p.sort(this._cmpBySpecificity),p}static _cmpBySpecificity(p,w){if(p.scopeDepth===w.scopeDepth){const E=p.parentScopes,T=w.parentScopes;let h=E===null?0:E.length,b=T===null?0:T.length;if(h===b)for(let y=0;y<h;y++){const _=E[y].length,$=T[y].length;if(_!==$)return $-_}return b-h}return w.scopeDepth-p.scopeDepth}match(p){if(p==="")return P._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let w,E,T=p.indexOf(".");return T===-1?(w=p,E=""):(w=p.substring(0,T),E=p.substring(T+1)),this._children.hasOwnProperty(w)?this._children[w].match(E):P._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(p,w,E,T,h,b){if(w==="")return void this._doInsertHere(p,E,T,h,b);let y,_,$,x=w.indexOf(".");x===-1?(y=w,_=""):(y=w.substring(0,x),_=w.substring(x+1)),this._children.hasOwnProperty(y)?$=this._children[y]:($=new P(this._mainRule.clone(),S.cloneArr(this._rulesWithParentScopes)),this._children[y]=$),$.insert(p+1,_,E,T,h,b)}_doInsertHere(p,w,E,T,h){if(w!==null){for(let b=0,y=this._rulesWithParentScopes.length;b<y;b++){let _=this._rulesWithParentScopes[b];if(a.strArrCmp(_.parentScopes,w)===0)return void _.acceptOverwrite(p,E,T,h)}E===-1&&(E=this._mainRule.fontStyle),T===0&&(T=this._mainRule.foreground),h===0&&(h=this._mainRule.background),this._rulesWithParentScopes.push(new S(p,w,E,T,h))}else this._mainRule.acceptOverwrite(p,E,T,h)}}o.ThemeTrieElement=P},878:(s,o)=>{function i(c){return Array.isArray(c)?function(f){let u=[];for(let d=0,m=f.length;d<m;d++)u[d]=i(f[d]);return u}(c):typeof c=="object"?function(f){let u={};for(let d in f)u[d]=i(f[d]);return u}(c):c}Object.defineProperty(o,"__esModule",{value:!0}),o.performanceNow=o.CachedFn=o.escapeRegExpCharacters=o.isValidHexColor=o.strArrCmp=o.strcmp=o.RegexSource=o.basename=o.mergeObjects=o.clone=void 0,o.clone=function(c){return i(c)},o.mergeObjects=function(c,...f){return f.forEach(u=>{for(let d in u)c[d]=u[d]}),c},o.basename=function c(f){const u=~f.lastIndexOf("/")||~f.lastIndexOf("\\");return u===0?f:~u==f.length-1?c(f.substring(0,f.length-1)):f.substr(1+~u)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function l(c,f){return c<f?-1:c>f?1:0}o.RegexSource=class{static hasCaptures(c){return c!==null&&(a.lastIndex=0,a.test(c))}static replaceCaptures(c,f,u){return c.replace(a,(d,m,g,S)=>{let P=u[parseInt(m||g,10)];if(!P)return d;{let v=f.substring(P.start,P.end);for(;v[0]===".";)v=v.substring(1);switch(S){case"downcase":return v.toLowerCase();case"upcase":return v.toUpperCase();default:return v}}})}},o.strcmp=l,o.strArrCmp=function(c,f){if(c===null&&f===null)return 0;if(!c)return-1;if(!f)return 1;let u=c.length,d=f.length;if(u===d){for(let m=0;m<u;m++){let g=l(c[m],f[m]);if(g!==0)return g}return 0}return u-d},o.isValidHexColor=function(c){return!!(/^#[0-9a-f]{6}$/i.test(c)||/^#[0-9a-f]{8}$/i.test(c)||/^#[0-9a-f]{3}$/i.test(c)||/^#[0-9a-f]{4}$/i.test(c))},o.escapeRegExpCharacters=function(c){return c.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},o.CachedFn=class{constructor(c){this.fn=c,this.cache=new Map}get(c){if(this.cache.has(c))return this.cache.get(c);const f=this.fn(c);return this.cache.set(c,f),f}},o.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},r={};return function s(o){var i=r[o];if(i!==void 0)return i.exports;var a=r[o]={exports:{}};return n[o].call(a.exports,a,a.exports,s),a.exports}(787)})()})})($$);const hi=[{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 po=(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))(po||{});class Qe{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=Qe.getLanguageId(t),r=Qe.getTokenType(t),s=Qe.getFontStyle(t),o=Qe.getForeground(t),i=Qe.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:s,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static getFontStyle(t){return(t&14336)>>>11}static getForeground(t){return(t&8372224)>>>15}static getBackground(t){return(t&4286578688)>>>24}static containsBalancedBrackets(t){return(t&1024)!==0}static set(t,n,r,s,o,i){let a=Qe.getLanguageId(t),l=Qe.getTokenType(t),c=Qe.getFontStyle(t),f=Qe.getForeground(t),u=Qe.getBackground(t),d=Qe.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),s!==-1&&(c=s),o!==0&&(f=o),i!==0&&(u=i),(a<<0|l<<8|c<<11|d<<10|f<<15|u<<24)>>>0}}function S$(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function P$(e){return e.startsWith("./")?e.slice(2):e}function lp(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function cp(...e){return e.map(S$).map(P$).join("/")}function x$(e,t){const n=new Map;for(const r of e){const s=t(r);n.has(s)?n.get(s).push(r):n.set(s,[r])}return n}function k$(e,t=!1){const n=e.length;let r=0,s="",o=0,i=16,a=0,l=0,c=0,f=0,u=0;function d(w,E){let T=0,h=0;for(;T<w||!E;){let b=e.charCodeAt(r);if(b>=48&&b<=57)h=h*16+b-48;else if(b>=65&&b<=70)h=h*16+b-65+10;else if(b>=97&&b<=102)h=h*16+b-97+10;else break;r++,T++}return T<w&&(h=-1),h}function m(w){r=w,s="",o=0,i=16,u=0}function g(){let w=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&Gn(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&Gn(e.charCodeAt(r)))for(r++;r<e.length&&Gn(e.charCodeAt(r));)r++;else return u=3,e.substring(w,r);let E=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&Gn(e.charCodeAt(r))){for(r++;r<e.length&&Gn(e.charCodeAt(r));)r++;E=r}else u=3;return e.substring(w,E)}function S(){let w="",E=r;for(;;){if(r>=n){w+=e.substring(E,r),u=2;break}const T=e.charCodeAt(r);if(T===34){w+=e.substring(E,r),r++;break}if(T===92){if(w+=e.substring(E,r),r++,r>=n){u=2;break}switch(e.charCodeAt(r++)){case 34:w+='"';break;case 92:w+="\\";break;case 47:w+="/";break;case 98:w+="\b";break;case 102:w+="\f";break;case 110:w+=`
|
|
11
11
|
`;break;case 114:w+="\r";break;case 116:w+=" ";break;case 117:const b=d(4,!0);b>=0?w+=String.fromCharCode(b):u=4;break;default:u=5}E=r;continue}if(T>=0&&T<=31)if(Wr(T)){w+=e.substring(E,r),u=2;break}else u=6;r++}return w}function P(){if(s="",u=0,o=r,l=a,f=c,r>=n)return o=n,i=17;let w=e.charCodeAt(r);if(qi(w)){do r++,s+=String.fromCharCode(w),w=e.charCodeAt(r);while(qi(w));return i=15}if(Wr(w))return r++,s+=String.fromCharCode(w),w===13&&e.charCodeAt(r)===10&&(r++,s+=`
|
|
12
12
|
`),a++,c=r,i=14;switch(w){case 123:return r++,i=1;case 125:return r++,i=2;case 91:return r++,i=3;case 93:return r++,i=4;case 58:return r++,i=6;case 44:return r++,i=5;case 34:return r++,s=S(),i=10;case 47:const E=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!Wr(e.charCodeAt(r));)r++;return s=e.substring(E,r),i=12}if(e.charCodeAt(r+1)===42){r+=2;const T=n-1;let h=!1;for(;r<T;){const b=e.charCodeAt(r);if(b===42&&e.charCodeAt(r+1)===47){r+=2,h=!0;break}r++,Wr(b)&&(b===13&&e.charCodeAt(r)===10&&r++,a++,c=r)}return h||(r++,u=1),s=e.substring(E,r),i=13}return s+=String.fromCharCode(w),r++,i=16;case 45:if(s+=String.fromCharCode(w),r++,r===n||!Gn(e.charCodeAt(r)))return i=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s+=g(),i=11;default:for(;r<n&&v(w);)r++,w=e.charCodeAt(r);if(o!==r){switch(s=e.substring(o,r),s){case"true":return i=8;case"false":return i=9;case"null":return i=7}return i=16}return s+=String.fromCharCode(w),r++,i=16}}function v(w){if(qi(w)||Wr(w))return!1;switch(w){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function p(){let w;do w=P();while(w>=12&&w<=15);return w}return{setPosition:m,getPosition:()=>r,scan:t?p:P,getToken:()=>i,getTokenValue:()=>s,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>l,getTokenStartCharacter:()=>o-f,getTokenError:()=>u}}function qi(e){return e===32||e===9}function Wr(e){return e===10||e===13}function Gn(e){return e>=48&&e<=57}var Ku;(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"})(Ku||(Ku={}));var jo;(function(e){e.DEFAULT={allowTrailingComma:!1}})(jo||(jo={}));function A$(e,t=[],n=jo.DEFAULT){let r=null,s=[];const o=[];function i(l){Array.isArray(s)?s.push(l):r!==null&&(s[r]=l)}return R$(e,{onObjectBegin:()=>{const l={};i(l),o.push(s),s=l,r=null},onObjectProperty:l=>{r=l},onObjectEnd:()=>{s=o.pop()},onArrayBegin:()=>{const l=[];i(l),o.push(s),s=l,r=null},onArrayEnd:()=>{s=o.pop()},onLiteralValue:i,onError:(l,c,f)=>{t.push({error:l,offset:c,length:f})}},n),s[0]}function R$(e,t,n=jo.DEFAULT){const r=k$(e,!1),s=[];function o(k){return k?()=>k(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function i(k){return k?()=>k(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>s.slice()):()=>!0}function a(k){return k?A=>k(A,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function l(k){return k?A=>k(A,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>s.slice()):()=>!0}const c=i(t.onObjectBegin),f=l(t.onObjectProperty),u=o(t.onObjectEnd),d=i(t.onArrayBegin),m=o(t.onArrayEnd),g=l(t.onLiteralValue),S=a(t.onSeparator),P=o(t.onComment),v=a(t.onError),p=n&&n.disallowComments,w=n&&n.allowTrailingComma;function E(){for(;;){const k=r.scan();switch(r.getTokenError()){case 4:T(14);break;case 5:T(15);break;case 3:T(13);break;case 1:p||T(11);break;case 2:T(12);break;case 6:T(16);break}switch(k){case 12:case 13:p?T(10):P();break;case 16:T(1);break;case 15:case 14:break;default:return k}}}function T(k,A=[],R=[]){if(v(k),A.length+R.length>0){let I=r.getToken();for(;I!==17;){if(A.indexOf(I)!==-1){E();break}else if(R.indexOf(I)!==-1)break;I=E()}}}function h(k){const A=r.getTokenValue();return k?g(A):(f(A),s.push(A)),E(),!0}function b(){switch(r.getToken()){case 11:const k=r.getTokenValue();let A=Number(k);isNaN(A)&&(T(2),A=0),g(A);break;case 7:g(null);break;case 8:g(!0);break;case 9:g(!1);break;default:return!1}return E(),!0}function y(){return r.getToken()!==10?(T(3,[],[2,5]),!1):(h(!1),r.getToken()===6?(S(":"),E(),x()||T(4,[],[2,5])):T(5,[],[2,5]),s.pop(),!0)}function _(){c(),E();let k=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(k||T(4,[],[]),S(","),E(),r.getToken()===2&&w)break}else k&&T(6,[],[]);y()||T(4,[],[2,5]),k=!0}return u(),r.getToken()!==2?T(7,[2],[]):E(),!0}function $(){d(),E();let k=!0,A=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(A||T(4,[],[]),S(","),E(),r.getToken()===4&&w)break}else A&&T(6,[],[]);k?(s.push(0),k=!1):s[s.length-1]++,x()||T(4,[],[4,5]),A=!0}return m(),k||s.pop(),r.getToken()!==4?T(8,[4],[]):E(),!0}function x(){switch(r.getToken()){case 3:return $();case 1:return _();case 10:return h(!0);default:return b()}}return E(),r.getToken()===17?n.allowEmptyContent?!0:(T(4,[],[]),!1):x()?(r.getToken()!==17&&T(9,[],[]),!0):(T(4,[],[]),!1)}var Xu;(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"})(Xu||(Xu={}));var Yu;(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"})(Yu||(Yu={}));const O$=A$;var Ju;(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"})(Ju||(Ju={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let up="";const N$="dist/";function C$(e){up=e.endsWith("/")?e:e+"/"}let Ki=null;async function L$(e){if(!Ki){let t;t=ps.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(fp(cp(...lp(e),"onig.wasm")))}),Ki=t.then(()=>({createOnigScanner(n){return ps.createOnigScanner(n)},createOnigString(n){return ps.createOnigString(n)}}))}return Ki}function fp(e){return`${up}${e}`}async function I$(e){const t=fp(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function dp(e){const t=[],n=O$(await I$(e),t,{allowTrailingComma:!0});if(t.length)throw t[0];return n}async function hp(e){let t=await dp(e);const n=pp(t);if(n.include){const r=await hp(cp(...lp(e),n.include));r.settings&&(n.settings=r.settings.concat(n.settings)),r.bg&&!n.bg&&(n.bg=r.bg),r.colors&&(n.colors={...r.colors,...n.colors}),delete n.include}return n}async function j$(e){return await dp(e)}function M$(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 pp(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...D$(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),M$(n),n}const Qu={light:"#333333",dark:"#bbbbbb"},Zu={light:"#fffffe",dark:"#1e1e1e"};function D$(e){let t,n,r=e.settings?e.settings:e.tokenColors;const s=r?r.find(o=>!o.name&&!o.scope):void 0;return s?.settings?.foreground&&(t=s.settings.foreground),s?.settings?.background&&(n=s.settings.background),!t&&e?.colors?.["editor.foreground"]&&(t=e.colors["editor.foreground"]),!n&&e?.colors?.["editor.background"]&&(n=e.colors["editor.background"]),t||(t=e.type==="light"?Qu.light:Qu.dark),n||(n=e.type==="light"?Zu.light:Zu.dark),{fg:t,bg:n}}class F${constructor(t,n){this.languagesPath="languages/",this.languageMap={},this.scopeToLangMap={},this._onigLibPromise=t,this._onigLibName=n}get onigLib(){return this._onigLibPromise}getOnigLibName(){return this._onigLibName}getLangRegistration(t){return this.languageMap[t]}async loadGrammar(t){const n=this.scopeToLangMap[t];if(!n)return null;if(n.grammar)return n.grammar;const r=await j$(hi.includes(n)?`${this.languagesPath}${n.path}`:n.path);return n.grammar=r,r}addLanguage(t){this.languageMap[t.id]=t,t.aliases&&t.aliases.forEach(n=>{this.languageMap[n]=t}),this.scopeToLangMap[t.scopeName]=t}}function B$(e,t,n,r,s){let o=n.split(/\r\n|\r|\n/),i=Io.INITIAL,a=[],l=[];for(let c=0,f=o.length;c<f;c++){let u=o[c];if(u===""){a=[],l.push([]);continue}let d,m,g;s.includeExplanation&&(d=r.tokenizeLine(u,i),m=d.tokens,g=0);let S=r.tokenizeLine2(u,i),P=S.tokens.length/2;for(let v=0;v<P;v++){let p=S.tokens[2*v],w=v+1<P?S.tokens[2*v+2]:u.length;if(p===w)continue;let E=S.tokens[2*v+1],T=Qe.getForeground(E),h=t[T],b=Qe.getFontStyle(E),y=[];if(s.includeExplanation){let _=0;for(;p+_<w;){let $=m[g],x=u.substring($.startIndex,$.endIndex);_+=x.length,y.push({content:x,scopes:H$(e,$.scopes)}),g++}}a.push({content:u.substring(p,w),color:h,fontStyle:b,explanation:y})}l.push(a),a=[],i=S.ruleStack}return l}function H$(e,t){let n=[];for(let r=0,s=t.length;r<s;r++){let o=t.slice(0,r),i=t[r];n[r]={scopeName:i,themeMatches:W$(e,i,o)}}return n}function ef(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function U$(e,t,n,r){if(!ef(e,n))return!1;let s=t.length-1,o=r.length-1;for(;s>=0&&o>=0;)ef(t[s],r[o])&&s--,o--;return s===-1}function W$(e,t,n){let r=[],s=0;for(let o=0,i=e.settings.length;o<i;o++){let a=e.settings[o],l;if(typeof a.scope=="string")l=a.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(a.scope))l=a.scope;else continue;for(let c=0,f=l.length;c<f;c++){let d=l[c].split(/ /),m=d[d.length-1],g=d.slice(0,d.length-1);U$(m,g,t,n)&&(r[s++]=a,c=f)}}return r}const G$={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 V$(e,t={}){const n=t.bg||"#fff",r=x$(t.lineOptions??[],i=>i.line),s=t.elements||{};function o(i="",a={},l){const c=s[i]||G$[i];return c?(l=l.filter(Boolean),c({...a,children:i==="code"?l.join(`
|
|
13
|
-
`):l.join("")})):""}return o("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${n}`},[t.langId?`<div class="language-id">${t.langId}</div>`:"",o("code",{},e.map((i,a)=>{const l=a+1,c=r.get(l)??[],f=K$(c).join(" ");return o("line",{className:f,lines:e,line:i,index:a},i.map((u,d)=>{const m=[`color: ${u.color||t.fg}`];return u.fontStyle&po.Italic&&m.push("font-style: italic"),u.fontStyle&po.Bold&&m.push("font-weight: bold"),u.fontStyle&po.Underline&&m.push("text-decoration: underline"),o("token",{style:m.join("; "),tokens:i,token:u,index:d},[q$(u.content)])}))}))])}const z$={"&":"&","<":"<",">":">",'"':""","'":"'"};function q$(e){return e.replace(/[&<>"']/g,t=>z$[t])}function K$(e){const t=new Set(["line"]);for(const n of e)for(const r of n.classes??[])t.add(r);return Array.from(t)}class X$ extends Io.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=hi.reduce((n,r)=>(n[r.id]=r,n),{})}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:t}async loadTheme(t){return typeof t=="string"?(this._resolvedThemes[t]||(this._resolvedThemes[t]=await hp(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=pp(t),t.name&&(this._resolvedThemes[t.name]=t),t)}async loadThemes(t){return await Promise.all(t.map(n=>this.loadTheme(n)))}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){return this._resolvedGrammars[t]}async loadLanguage(t){const r={embeddedLanguages:t.embeddedLangs?.reduce(async(o,i,a)=>{if(!this.getLoadedLanguages().includes(i)&&this._resolver.getLangRegistration(i))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(i).scopeName),o[this._resolver.getLangRegistration(i).scopeName]=a+2,o},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},s=await this.loadGrammarWithConfiguration(t.scopeName,1,r);this._resolvedGrammars[t.id]=s,t.aliases&&t.aliases.forEach(o=>{this._resolvedGrammars[o]=s})}async loadLanguages(t){for(const r of t)this.resolveEmbeddedLanguages(r);const n=Array.from(this._langGraph.values());for(const r of n)this._resolver.addLanguage(r);for(const r of n)await this.loadLanguage(r)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(t){if(this._langGraph.has(t.id)||this._langGraph.set(t.id,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}function mp(e){return typeof e=="string"?hi.find(t=>t.id===e||t.aliases?.includes(e)):e}function Y$(e){let t=hi,n=e.themes||[],r=e.paths?.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":N$;return e.langs&&(t=e.langs.map(mp)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:r}}async function J$(e){const{_languages:t,_themes:n,_wasmPath:r}=Y$(e),s=new F$(L$(r),"vscode-oniguruma"),o=new X$(s);e.paths?.themes&&(o.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),e.paths?.languages&&(s.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const a=(await o.loadThemes(n))[0];let l;await o.loadLanguages(t);let c={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};function f(h){c=h}function u(h,b){h.bg=c[h.bg]||h.bg,h.fg=c[h.fg]||h.fg,b.forEach((y,_)=>{b[_]=c[y]||y})}function d(h){const b=h?o.getTheme(h):a;if(!b)throw Error(`No theme registration for ${h}`);(!l||l.name!==b.name)&&(o.setTheme(b),l=b);const y=o.getColorMap();return b.type==="css"&&u(b,y),{_theme:b,_colorMap:y}}function m(h){const b=o.getGrammar(h);if(!b)throw Error(`No language registration for ${h}`);return{_grammar:b}}function g(h,b="text",y,_={includeExplanation:!0}){if(Q$(b))return[...h.split(/\r\n|\r|\n/).map(R=>[{content:R}])];const{_grammar:$}=m(b),{_theme:x,_colorMap:k}=d(y);return B$(x,k,h,$,_)}function S(h,b="text",y){let _;typeof b=="object"?_=b:_={lang:b,theme:y};const $=g(h,_.lang,_.theme,{includeExplanation:!1}),{_theme:x}=d(_.theme);return V$($,{fg:x.fg,bg:x.bg,lineOptions:_?.lineOptions,themeName:x.name})}async function P(h){await o.loadTheme(h)}async function v(h){const b=mp(h);s.addLanguage(b),await o.loadLanguage(b)}function p(){return o.getLoadedThemes()}function w(){return o.getLoadedLanguages()}function E(h){const{_theme:b}=d(h);return b.bg}function T(h){const{_theme:b}=d(h);return b.fg}return{codeToThemedTokens:g,codeToHtml:S,getTheme:h=>d(h)._theme,loadTheme:P,loadLanguage:v,getBackgroundColor:E,getForegroundColor:T,getLoadedThemes:p,getLoadedLanguages:w,setColorReplacements:f}}function Q$(e){return!e||["plaintext","txt","text"].includes(e)}const Z$="0.2.0";C$(`https://cdn.jsdelivr.net/npm/shiki-es@${Z$}/dist/assets/`);const io=Z();let tf=null;function eS(e,t){const n=Cl();!tf&&!io.value&&(tf=J$({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(s=>{io.value=s}));const r=io.value?.getLoadedLanguages().includes(t);return r?{code:io.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}),supported:!0}:{code:e,supported:r}}function Ke(){return Bn("devtools-client")}function IA(){const e=Ke();return de(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function gp(){const e=Ke();return de(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function jA(){const e=Ke();return de(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function tS(){return Bn("devtools-component-inspector-data")}const vp=Z(!1);setTimeout(()=>{vp.value=!0},2e3);const nS=de(()=>vp.value&&!Ke().value);function rS(){const e=Ke(),t=Cl();return de(()=>({host:e.value,devtools:{rpc:Ie,colorMode:t.value,renderCodeHighlight(n,r){return eS(n,r)},renderMarkdown(n){return E$(n)},extendClientRpc(n,r){return Qh.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return Ie[`${n}:${o}`]}})}}}))}const Gr={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>!!Ke().value},Vr={icon:"carbon-information",title:"Overview",order:-100},zr={icon:"carbon-tree-view-alt",title:"Pages",show:()=>!!Ke().value,order:1},qr={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>!!Ke().value,order:7},Kr={icon:"carbon-plug",title:"Plugins",category:"analyze"},Xr={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>!!Ke().value,order:6};function sS(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const oS=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function iS(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const nf=function(...e){e=e.map(r=>sS(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:iS();!s||s.length===0||(t=`${s}/${t}`,n=rf(s))}return t=aS(t,!n),n&&!rf(t)?`/${t}`:t.length>0?t:"."};function aS(e,t){let n="",r=0,s=-1,o=0,i=null;for(let a=0;a<=e.length;++a){if(a<e.length)i=e[a];else{if(i==="/")break;i="/"}if(i==="/"){if(!(s===a-1||o===1))if(o===2){if(n.length<2||r!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const l=n.lastIndexOf("/");l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),s=a,o=0;continue}else if(n.length>0){n="",r=0,s=a,o=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(s+1,a)}`:n=e.slice(s+1,a),r=a-s-1;s=a,o=0}else i==="."&&o!==-1?++o:o=-1}return n}const rf=function(e){return oS.test(e)},lS=function(e,t){const n=nf(e).split("/"),r=nf(t).split("/"),s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function cS(e){return!!e.match(/[/\\]node_modules[/\\]/)||Ll(e)}function Ll(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function _p(e){if(Ll(e))return e;const t=e.replace(/\\/g,"/").match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t.startsWith("@")?t.split("/").slice(0,2).join("/"):t.split("/")[0]}function uS(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function MA(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function fS(e,t){if(e=e.replace(/\\/g,"/"),Ll(e))return{moduleName:e,path:e};const n=_p(e),r=uS(e);if(n&&r)return{moduleName:n,path:r};try{let s=lS(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function DA(e){return e.split(/(:\w+[\?\*]?)/).filter(Boolean)}function lt(e,t,n){const r=Re();return r.payload.unique||(r.payload.unique={}),r.payload.unique[e]||(r.payload.unique[e]=Ls(e,t,n)),r.payload.unique[e].data}function FA(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const sf={get:"bg-green-400:10 text-green-400",post:"bg-blue-400:10 text-blue-400",put:"bg-orange-400:10 text-orange-400",delete:"bg-red-400:10 text-red-400",patch:"bg-purple-400:10 text-purple-400",head:"bg-teal-400:10 text-teal-400",default:"bg-gray-400:10 text-gray-400"};function BA(e){return sf[e.toLowerCase()]||sf.default}function HA(e,t){const n={};for(const[r,s]of Object.entries(t))for(const o of s){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}const dS=$l("nuxt-devtools-first-visit",!0),yp=$l("nuxt-devtools-frame-state",{},{listenToStorageChanges:!1}),hS=$l("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1}),pi=Z(await Ie.getUIOptions()),pS=Zb(pi);Ce(pi,async e=>{Ie.updateUIOptions(e)},{deep:!0,flush:"post"});rr(()=>{yp.value.closeOnOutsideClick=pi.value.interactionCloseOnOutsideClick});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(pi.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function Il(){return pS}function mS(){return yp}function UA(){return hS}function bp(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}const wp=["pages","meta","components","imports","nuxt-config-schema","@nuxt/devtools","@nuxt/telemetry"];function gS(){return Ls("modules-list",async()=>(await ah("https://cdn.jsdelivr.net/npm/@nuxt/modules@latest/modules.json")).filter(t=>!wp.includes(t.npm)&&t.compatibility.nuxt.includes("^3"))).data}const of=Z([]);function WA(){return Bn("installed-modules",()=>{const e=_S(),t=gS();return de(()=>(e.value?._installedModules||[]).map(n=>{if(!n.entryPath)return;const r=n.entryPath&&cS(n.entryPath),s=n.meta?.name?n.meta?.name:n.entryPath?r?_p(n.entryPath):e.value?.rootDir?fS(n.entryPath,e.value?.rootDir).path:void 0:void 0,o=e.value?.modules?.includes(s),i=t.value?.find(a=>a.npm===s)||t.value?.find(a=>a.name===s);return{name:s,isPackageModule:r,isUninstallable:o,info:i,...n}}).filter(n=>n&&(!n.name||!wp.includes(n.name))))})}const GA=Hh();function VA(){const e=Ke(),t=lt("getComponents",()=>Ie.getComponents()),n=de(()=>Object.entries(e.value?.nuxt?.vueApp._context.components||{}).map(([r])=>({pascalName:r,global:!0})).filter(r=>!/^Lazy[A-Z]/.test(r.pascalName)).filter(r=>!(t.value||[]).find(s=>s.pascalName===r.pascalName)));return de(()=>[...n.value,...t.value||[]].sort((r,s)=>r.pascalName.localeCompare(s.pascalName)))}function Ep(){return lt("getServerPages",()=>Ie.getServerPages())}function vS(){return lt("getServerRoutes",()=>Ie.getServerRoutes())}function zA(){return lt("getComponentsRelationships",()=>Ie.getComponentsRelationships())}function qA(){return lt("getServerHooks",()=>Ie.getServerHooks())}function KA(){return lt("getServerLayouts",()=>Ie.getServerLayouts())}function XA(){return lt("getAutoImports",()=>Ie.getAutoImports())}function YA(){return lt("getStaticAssets",()=>Ie.getStaticAssets())}function _S(){return lt("getServerConfig",()=>Ie.getServerConfig())}function JA(){return lt("getServerApp",()=>Ie.getServerApp())}function yS(){return lt("getCustomTabs",()=>Ie.getCustomTabs())}function af(){return lt("getTerminals",()=>Ie.getTerminals())}function QA(){return lt("getAnalyzeBuildInfo",()=>Ie.getAnalyzeBuildInfo())}function bS(){const e=yS(),t=Il(),n=gt(),r=Ke(),s=de(()=>[...n.getRoutes().filter(i=>i.path.startsWith("/modules/")&&i.meta.title&&!i.meta.wip).filter(i=>!i.meta.experimental||i.meta.experimental&&t.showExperimentalFeatures.value).sort((i,a)=>(i.meta.order||100)-(a.meta.order||100)).map(i=>({name:i.name,path:i.path,...i.meta})),{name:"builtin-inspector",title:"Inspect Vue components",icon:"i-carbon-select-window",category:"app",show(){return()=>!!r.value?.inspector?.instance},onClick(){r.value?.inspector?.instance&&(r.value.inspector.enable(),n.push("/__inspecting"))}},...(e.value||[]).filter(i=>i.name.startsWith("builtin-"))]),o=de(()=>(e.value||[]).filter(i=>!i.name.startsWith("builtin-")));return de(()=>[...s.value,...o.value])}function Tp(){return{app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function lf(e){return de(()=>{const t=Tp();for(const n of re(e)){const r=n.category||"app";t[r]?t[r].push(n):console.warn(`Unknown tab category: ${r}`)}for(const n of Object.keys(t))t[n].length===0&&delete t[n];return Object.entries(t)})}function wS(){const e=bS(),t=Il(),n=Object.keys(Tp()),r=e.value.map(s=>s?.show?.());return de(()=>e.value.filter((s,o)=>{const i=s;return!(r[o]&&!qm(r[o])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(s.category||"app"))}).sort((s,o)=>n.indexOf(s.category||"app")-n.indexOf(o.category||"app")))}function ZA(){const e=gp(),t=Ep();return de(()=>(e.value?.getRoutes()||[]).map(n=>bp(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}function ES(){return Bn("devtools:restart-dialogs",()=>[])}function eR(){const{data:e}=Ab("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function tR(){const e=Ep(),t=gp();return de(()=>(t.value?.getRoutes()||[]).map(n=>bp(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const Yr={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=vS();return()=>e.value?.length}},Jr={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},Qr={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=af();return()=>!!e.value?.length},badge(){return af().value?.filter(e=>!e.isTerminated).length}},Zr={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},es={layout:"full"},cf=[{name:Or?.name??"__inspecting",path:Or?.path??"/__inspecting",meta:Or||{},alias:Or?.alias||[],redirect:Or?.redirect||void 0,component:()=>ke(()=>import("./__inspecting.fbaf226d.js"),["./__inspecting.fbaf226d.js","./NPanelGrids.3011caf9.js"],import.meta.url).then(e=>e.default||e)},{name:Nr?.name??"index",path:Nr?.path??"/",meta:Nr||{},alias:Nr?.alias||[],redirect:Nr?.redirect||void 0,component:()=>ke(()=>import("./index.0676e898.js"),["./index.0676e898.js","./Badge.83906623.js"],import.meta.url).then(e=>e.default||e)},{name:Ir?.name??"modules-analyze-build",path:Ir?.path??"/modules/analyze-build",meta:Ir||{},alias:Ir?.alias||[],redirect:Ir?.redirect||void 0,component:()=>ke(()=>import("./analyze-build.1e11d4c2.js"),["./analyze-build.1e11d4c2.js","./FilepathItem.vue.5b5ced5d.js","./editor.60cc6e07.js","./NPanelGrids.3011caf9.js","./PanelLeftRight.vue.fed8984a.js","./NTextInput.vue.0f5840ce.js","./NTip.vue.42848f36.js","./NCodeBlock.vue.5e846b10.js","./client.a6478274.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.fc55451a.js"],import.meta.url).then(e=>e.default||e)},{name:jr?.name??"modules-assets",path:jr?.path??"/modules/assets",meta:jr||{},alias:jr?.alias||[],redirect:jr?.redirect||void 0,component:()=>ke(()=>import("./assets.4e286b98.js"),["./assets.4e286b98.js","./NIconButton.vue.87d44e1b.js","./Navbar.vue.1156f86c.js","./NTextInput.vue.0f5840ce.js","./NSectionBlock.9d37fd4b.js","./NIconTitle.vue.44afa7ff.js","./NSectionBlock.63c19da9.css","./FilepathItem.vue.5b5ced5d.js","./editor.60cc6e07.js","./CodeSnippets.vue.189d2c05.js","./NCodeBlock.vue.5e846b10.js","./client.a6478274.js","./NCodeBlock.cf3ce05b.css","./DrawerRight.vue.e303d503.js","./constants.d7bcda3c.js","./fuse.esm.88e2763d.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:Mr?.name??"modules-components",path:Mr?.path??"/modules/components",meta:Mr||{},alias:Mr?.alias||[],redirect:Mr?.redirect||void 0,component:()=>ke(()=>import("./components.f00116c7.js"),["./components.f00116c7.js","./NIconButton.vue.87d44e1b.js","./HelpFab.vue.c263b505.js","./HelpFab.f179afc3.css","./NCheckbox.vue.fc55451a.js","./Navbar.vue.1156f86c.js","./NTextInput.vue.0f5840ce.js","./Badge.83906623.js","./FilepathItem.vue.5b5ced5d.js","./editor.60cc6e07.js","./DrawerRight.vue.e303d503.js","./NSectionBlock.9d37fd4b.js","./NIconTitle.vue.44afa7ff.js","./NSectionBlock.63c19da9.css","./constants.d7bcda3c.js","./fuse.esm.88e2763d.js"],import.meta.url).then(e=>e.default||e)},{name:Dr?.name??"modules-custom-name",path:Dr?.path??"/modules/custom-:name()",meta:Dr||{},alias:Dr?.alias||[],redirect:Dr?.redirect||void 0,component:()=>ke(()=>import("./custom-_name_.4698ded9.js"),["./custom-_name_.4698ded9.js","./NPanelGrids.3011caf9.js","./LaunchPage.vue.10a18c7c.js","./NMarkdown.vue.b43fcab0.js","./client.a6478274.js"],import.meta.url).then(e=>e.default||e)},{name:Fr?.name??"modules-hooks",path:Fr?.path??"/modules/hooks",meta:Fr||{},alias:Fr?.alias||[],redirect:Fr?.redirect||void 0,component:()=>ke(()=>import("./hooks.f607bdd3.js"),["./hooks.f607bdd3.js","./DurationDisplay.vue.b44ca7b3.js","./NSectionBlock.9d37fd4b.js","./NIconTitle.vue.44afa7ff.js","./NSectionBlock.63c19da9.css","./HelpFab.vue.c263b505.js","./NIconButton.vue.87d44e1b.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Br?.name??"modules-imports",path:Br?.path??"/modules/imports",meta:Br||{},alias:Br?.alias||[],redirect:Br?.redirect||void 0,component:()=>ke(()=>import("./imports.af078df6.js"),["./imports.af078df6.js","./NSwitch.vue.0fe4aa67.js","./Navbar.vue.1156f86c.js","./NTextInput.vue.0f5840ce.js","./FilepathItem.vue.5b5ced5d.js","./editor.60cc6e07.js","./NMarkdown.vue.b43fcab0.js","./client.a6478274.js","./constants.d7bcda3c.js","./NSectionBlock.9d37fd4b.js","./NIconTitle.vue.44afa7ff.js","./NSectionBlock.63c19da9.css","./HelpFab.vue.c263b505.js","./NIconButton.vue.87d44e1b.js","./HelpFab.f179afc3.css","./fuse.esm.88e2763d.js"],import.meta.url).then(e=>e.default||e)},{name:Hr?.name??"modules-middleware",path:Hr?.path??"/modules/middleware",meta:Hr||{},alias:Hr?.alias||[],redirect:Hr?.redirect||void 0,component:()=>ke(()=>import("./middleware.f8f2ddc7.js"),[],import.meta.url).then(e=>e.default||e)},{name:Ur?.name??"modules-modules",path:Ur?.path??"/modules/modules",meta:Ur||{},alias:Ur?.alias||[],redirect:Ur?.redirect||void 0,component:()=>ke(()=>import("./modules.1cb9572d.js"),["./modules.1cb9572d.js","./FilepathItem.vue.5b5ced5d.js","./editor.60cc6e07.js","./NpmVersionCheck.vue.01d3cdf4.js","./Badge.83906623.js","./NCodeBlock.vue.5e846b10.js","./client.a6478274.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.fc55451a.js","./NTip.vue.42848f36.js","./NSectionBlock.9d37fd4b.js","./NIconTitle.vue.44afa7ff.js","./NSectionBlock.63c19da9.css","./NIconButton.vue.87d44e1b.js","./NTextInput.vue.0f5840ce.js","./fuse.esm.88e2763d.js","./NLink.vue.7642253a.js","./HelpFab.vue.c263b505.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Gr?.name??"modules-open-graph",path:Gr?.path??"/modules/open-graph",meta:Gr||{},alias:Gr?.alias||[],redirect:Gr?.redirect||void 0,component:()=>ke(()=>import("./open-graph.22edbc56.js"),["./open-graph.22edbc56.js","./NTextInput.vue.0f5840ce.js","./NIconButton.vue.87d44e1b.js","./Navbar.vue.1156f86c.js","./NLink.vue.7642253a.js","./NSectionBlock.9d37fd4b.js","./NIconTitle.vue.44afa7ff.js","./NSectionBlock.63c19da9.css","./NCodeBlock.vue.5e846b10.js","./client.a6478274.js","./NCodeBlock.cf3ce05b.css","./editor.60cc6e07.js","./HelpFab.vue.c263b505.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Vr?.name??"modules-overview",path:Vr?.path??"/modules/overview",meta:Vr||{},alias:Vr?.alias||[],redirect:Vr?.redirect||void 0,component:()=>ke(()=>import("./overview.12716b2d.js"),["./overview.12716b2d.js","./Badge.83906623.js","./NpmVersionCheck.vue.01d3cdf4.js","./NCodeBlock.vue.5e846b10.js","./client.a6478274.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.fc55451a.js","./NTip.vue.42848f36.js","./NPanelGrids.3011caf9.js"],import.meta.url).then(e=>e.default||e)},{name:zr?.name??"modules-pages",path:zr?.path??"/modules/pages",meta:zr||{},alias:zr?.alias||[],redirect:zr?.redirect||void 0,component:()=>ke(()=>import("./pages.56e34b91.js"),["./pages.56e34b91.js","./NTextInput.vue.0f5840ce.js","./Badge.83906623.js","./FilepathItem.vue.5b5ced5d.js","./editor.60cc6e07.js","./NSectionBlock.9d37fd4b.js","./NIconTitle.vue.44afa7ff.js","./NSectionBlock.63c19da9.css","./LaunchPage.vue.10a18c7c.js","./NMarkdown.vue.b43fcab0.js","./client.a6478274.js","./NPanelGrids.3011caf9.js","./HelpFab.vue.c263b505.js","./NIconButton.vue.87d44e1b.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:qr?.name??"modules-payload",path:qr?.path??"/modules/payload",meta:qr||{},alias:qr?.alias||[],redirect:qr?.redirect||void 0,component:()=>ke(()=>import("./payload.98eee0c8.js"),["./payload.98eee0c8.js","./StateEditor.vue.a4934d8c.js","./NIconButton.vue.87d44e1b.js","./json-editor-vue.3247103b.js","./NSectionBlock.9d37fd4b.js","./NIconTitle.vue.44afa7ff.js","./NSectionBlock.63c19da9.css","./HelpFab.vue.c263b505.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Kr?.name??"modules-plugins",path:Kr?.path??"/modules/plugins",meta:Kr||{},alias:Kr?.alias||[],redirect:Kr?.redirect||void 0,component:()=>ke(()=>import("./plugins.33f32b58.js"),["./plugins.33f32b58.js","./FilepathItem.vue.5b5ced5d.js","./editor.60cc6e07.js","./Badge.83906623.js","./DurationDisplay.vue.b44ca7b3.js","./NSectionBlock.9d37fd4b.js","./NIconTitle.vue.44afa7ff.js","./NSectionBlock.63c19da9.css","./HelpFab.vue.c263b505.js","./NIconButton.vue.87d44e1b.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Xr?.name??"modules-runtime-configs",path:Xr?.path??"/modules/runtime-configs",meta:Xr||{},alias:Xr?.alias||[],redirect:Xr?.redirect||void 0,component:()=>ke(()=>import("./runtime-configs.12858433.js"),["./runtime-configs.12858433.js","./StateEditor.vue.a4934d8c.js","./NIconButton.vue.87d44e1b.js","./json-editor-vue.3247103b.js","./NSectionBlock.9d37fd4b.js","./NIconTitle.vue.44afa7ff.js","./NSectionBlock.63c19da9.css","./HelpFab.vue.c263b505.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Yr?.name??"modules-server-routes",path:Yr?.path??"/modules/server-routes",meta:Yr||{},alias:Yr?.alias||[],redirect:Yr?.redirect||void 0,component:()=>ke(()=>import("./server-routes.bde5bee5.js"),["./server-routes.bde5bee5.js","./Navbar.vue.1156f86c.js","./NTextInput.vue.0f5840ce.js","./Badge.83906623.js","./NSelect.vue.53616e18.js","./CodeSnippets.vue.189d2c05.js","./NCodeBlock.vue.5e846b10.js","./client.a6478274.js","./NCodeBlock.cf3ce05b.css","./editor.60cc6e07.js","./NPanelGrids.3011caf9.js","./constants.d7bcda3c.js","./PanelLeftRight.vue.fed8984a.js","./fuse.esm.88e2763d.js"],import.meta.url).then(e=>e.default||e)},{name:Jr?.name??"modules-storage",path:Jr?.path??"/modules/storage",meta:Jr||{},alias:Jr?.alias||[],redirect:Jr?.redirect||void 0,component:()=>ke(()=>import("./storage.b8b29d67.js"),["./storage.b8b29d67.js","./NIconButton.vue.87d44e1b.js","./NSelect.vue.53616e18.js","./NTextInput.vue.0f5840ce.js","./NLink.vue.7642253a.js","./NPanelGrids.3011caf9.js","./PanelLeftRight.vue.fed8984a.js","./FilepathItem.vue.5b5ced5d.js","./editor.60cc6e07.js","./json-editor-vue.3247103b.js"],import.meta.url).then(e=>e.default||e)},{name:Qr?.name??"modules-terminals",path:Qr?.path??"/modules/terminals",meta:Qr||{},alias:Qr?.alias||[],redirect:Qr?.redirect||void 0,component:()=>ke(()=>import("./terminals.a3a9bc56.js"),["./terminals.a3a9bc56.js","./NIconButton.vue.87d44e1b.js","./terminals.d1dcf297.css"],import.meta.url).then(e=>e.default||e)},{name:Zr?.name??"modules-virtual-files",path:Zr?.path??"/modules/virtual-files",meta:Zr||{},alias:Zr?.alias||[],redirect:Zr?.redirect||void 0,component:()=>ke(()=>import("./virtual-files.c0c7f5bc.js"),["./virtual-files.c0c7f5bc.js","./Navbar.vue.1156f86c.js","./NTextInput.vue.0f5840ce.js","./NCodeBlock.vue.5e846b10.js","./client.a6478274.js","./NCodeBlock.cf3ce05b.css","./NPanelGrids.3011caf9.js","./PanelLeftRight.vue.fed8984a.js","./HelpFab.vue.c263b505.js","./NIconButton.vue.87d44e1b.js","./HelpFab.f179afc3.css","./fuse.esm.88e2763d.js","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:es?.name??"settings",path:es?.path??"/settings",meta:es||{},alias:es?.alias||[],redirect:es?.redirect||void 0,component:()=>ke(()=>import("./settings.e641de98.js"),["./settings.e641de98.js","./NIconTitle.vue.44afa7ff.js","./NSwitch.vue.0fe4aa67.js","./NSelect.vue.53616e18.js","./NCheckbox.vue.fc55451a.js"],import.meta.url).then(e=>e.default||e)}],TS={scrollBehavior(e,t,n){const r=Re();let s=n||void 0;if(!s&&t&&e&&e.meta.scrollToTop!==!1&&$S(t,e)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:uf(e.hash)}}const o=a=>!!(a.meta.pageTransition??va),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(a=>{r.hooks.hookOnce(i,async()=>{await Lt(),e.hash&&(s={el:e.hash,top:uf(e.hash)}),a(s)})})}};function uf(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function $S(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const SS={},tn={...SS,...TS},PS=wh(async e=>{let t,n;if(!e.meta?.validate)return;const r=Re(),s=gt();if(([t,n]=xo(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=ii({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=s.beforeResolve(l=>{if(a(),l===e){const c=s.afterEach(async()=>{c(),await r.runWithContext(()=>zn(i)),window.history.pushState({},"",e.fullPath)});return!1}})}),xS=wh(e=>{if(e.path==="/"&&!dS.value)return Eh("/modules/overview")}),kS=[PS,xS],Ra={};function AS(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){const a=s.includes(e.slice(o))?e.slice(o).length:1;let l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Ac(l,"")}return Ac(n,e)+r+s}const RS=mt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=gl().app.baseURL;tn.hashMode&&!r.includes("#")&&(r+="#");const s=tn.history?.(r)??(tn.hashMode?k0(r):Sh(r)),o=tn.routes?.(cf)??cf;let i;const a=AS(r,window.location),l=fb({...tn,scrollBehavior:(S,P,v)=>{if(P===At){i=v;return}return l.options.scrollBehavior=tn.scrollBehavior,tn.scrollBehavior?.(S,At,i||v)},history:s,routes:o});e.vueApp.use(l);const c=Cn(l.currentRoute.value);l.afterEach((S,P)=>{c.value=P}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const f=Cn(l.resolve(a)),u=()=>{f.value=l.currentRoute.value};e.hook("page:finish",u),l.afterEach((S,P)=>{S.matched[0]?.components?.default===P.matched[0]?.components?.default&&u()});const d={};for(const S in f.value)d[S]=de(()=>f.value[S]);e._route=at(d),e._middleware=e._middleware||{global:[],named:{}};const m=oi();try{[t,n]=xo(()=>l.isReady()),await t,n()}catch(S){[t,n]=xo(()=>e.runWithContext(()=>zn(S))),await t,n()}const g=Bn("_layout");return l.beforeEach(async(S,P)=>{S.meta=at(S.meta),e.isHydrating&&g.value&&!Nn(S.meta.layout)&&(S.meta.layout=g.value),e._processingMiddleware=!0;{const v=new Set([...kS,...e._middleware.global]);for(const p of S.matched){const w=p.meta.middleware;if(w)if(Array.isArray(w))for(const E of w)v.add(E);else v.add(w)}for(const p of v){const w=typeof p=="string"?e._middleware.named[p]||await Ra[p]?.().then(T=>T.default||T):p;if(!w)throw new Error(`Unknown route middleware: '${p}'.`);const E=await e.runWithContext(()=>w(S,P));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const T=E||ba({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>zn(T)),!1}if(E||E===!1)return E}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(S,P,v)=>{delete e._processingMiddleware,!e.isHydrating&&m.value&&await e.runWithContext(i0),S.matched.length===0&&await e.runWithContext(()=>zn(ba({statusCode:404,fatal:!1,statusMessage:`Page not found: ${S.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=tn.scrollBehavior}catch(S){await e.runWithContext(()=>zn(S))}}),{provide:{router:l}}}},1),qn={default:()=>ke(()=>import("./default.e408d64e.js"),[],import.meta.url).then(e=>e.default||e),full:()=>ke(()=>import("./full.872180c4.js"),[],import.meta.url).then(e=>e.default||e),none:()=>ke(()=>import("./none.2ff7cc7a.js"),[],import.meta.url).then(e=>e.default||e)},OS=mt({name:"nuxt:prefetch",setup(e){const t=gt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof qn[r]=="function"&&await qn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Tr(n))return;const r=t.resolve(n);if(!r)return;const s=r?.meta?.layout;let o=Array.isArray(r?.meta?.middleware)?r?.meta?.middleware:[r?.meta?.middleware];o=o.filter(i=>typeof i=="string");for(const i of o)typeof Ra[i]=="function"&&Ra[i]();s&&typeof qn[s]=="function"&&qn[s]()})}}),NS="__NUXT_COLOR_MODE__",CS="ColorScheme",LS="nuxt-color-mode",jt=window[NS],IS=mt(e=>{const t=Bn("color-mode",()=>at({preference:jt.preference,value:jt.value,unknown:!1,forced:!1})).value;gt().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?jt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=jt.getColorScheme())}))}Ce(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=jt.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(LS,s))},{immediate:!0}),Ce(()=>t.value,(s,o)=>{jt.removeColorScheme(o),jt.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=jt.preference,t.value=jt.value,t.unknown=!1)}),e.provide("colorMode",t)});const jS=mt(()=>{}),MS=mt({name:"nuxt:chunk-reload",setup(e){const t=gt(),n=gl(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)}),t.onError((s,o)=>{if(r.has(s)){const a="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:Ns(n.app.baseURL,o.fullPath);Nb({path:a,persistState:!0})}})}}),DS=mt({name:"nuxt:payload",setup(e){Qy()&&(e.hooks.hook("link:prefetch",async t=>{Cs(t).protocol||await Fc(t)}),gt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Fc(t.path);r&&Object.assign(e.static.data,r.data)}))}});function Jt(e){return e.split("-")[0]}function nr(e){return e.split("-")[1]}function js(e){return["top","bottom"].includes(Jt(e))?"x":"y"}function jl(e){return e==="y"?"height":"width"}function ff(e){let{reference:t,floating:n,placement:r}=e;const s=t.x+t.width/2-n.width/2,o=t.y+t.height/2-n.height/2;let i;switch(Jt(r)){case"top":i={x:s,y:t.y-n.height};break;case"bottom":i={x:s,y:t.y+t.height};break;case"right":i={x:t.x+t.width,y:o};break;case"left":i={x:t.x-n.width,y:o};break;default:i={x:t.x,y:t.y}}const a=js(r),l=jl(a);switch(nr(r)){case"start":i[a]=i[a]-(t[l]/2-n[l]/2);break;case"end":i[a]=i[a]+(t[l]/2-n[l]/2);break}return i}const FS=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n;let a=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:l,y:c}=ff({...a,placement:r}),f=r,u={};for(let d=0;d<o.length;d++){const{name:m,fn:g}=o[d],{x:S,y:P,data:v,reset:p}=await g({x:l,y:c,initialPlacement:r,placement:f,strategy:s,middlewareData:u,rects:a,platform:i,elements:{reference:e,floating:t}});if(l=S??l,c=P??c,u={...u,[m]:v??{}},p){typeof p=="object"&&(p.placement&&(f=p.placement),p.rects&&(a=p.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):p.rects),{x:l,y:c}=ff({...a,placement:f})),d=-1;continue}}return{x:l,y:c,placement:f,strategy:s,middlewareData:u}};function BS(e){return{top:0,right:0,bottom:0,left:0,...e}}function $p(e){return typeof e!="number"?BS(e):{top:e,right:e,bottom:e,left:e}}function Oa(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function mi(e,t){t===void 0&&(t={});const{x:n,y:r,platform:s,rects:o,elements:i,strategy:a}=e,{boundary:l="clippingParents",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:u=!1,padding:d=0}=t,m=$p(d),S=i[u?f==="floating"?"reference":"floating":f],P=await s.getClippingClientRect({element:await s.isElement(S)?S:S.contextElement||await s.getDocumentElement({element:i.floating}),boundary:l,rootBoundary:c}),v=Oa(await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...o.floating,x:n,y:r}:o.reference,offsetParent:await s.getOffsetParent({element:i.floating}),strategy:a}));return{top:P.top-v.top+m.top,bottom:v.bottom-P.bottom+m.bottom,left:P.left-v.left+m.left,right:v.right-P.right+m.right}}const HS=Math.min,En=Math.max;function Na(e,t,n){return En(e,HS(t,n))}const US=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:s,y:o,placement:i,rects:a,platform:l}=t;if(n==null)return{};const c=$p(r),f={x:s,y:o},u=Jt(i),d=js(u),m=jl(d),g=await l.getDimensions({element:n}),S=d==="y"?"top":"left",P=d==="y"?"bottom":"right",v=a.reference[m]+a.reference[d]-f[d]-a.floating[m],p=f[d]-a.reference[d],w=await l.getOffsetParent({element:n}),E=w?d==="y"?w.clientHeight||0:w.clientWidth||0:0,T=v/2-p/2,h=c[S],b=E-g[m]-c[P],y=E/2-g[m]/2+T,_=Na(h,y,b);return{data:{[d]:_,centerOffset:y-_}}}}),WS={left:"right",right:"left",bottom:"top",top:"bottom"};function Mo(e){return e.replace(/left|right|bottom|top/g,t=>WS[t])}function Sp(e,t){const n=nr(e)==="start",r=js(e),s=jl(r);let o=r==="x"?n?"right":"left":n?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Mo(o)),{main:o,cross:Mo(o)}}const GS={start:"end",end:"start"};function Ca(e){return e.replace(/start|end/g,t=>GS[t])}const VS=["top","right","bottom","left"],zS=VS.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);function qS(e,t,n){return(e?[...n.filter(s=>nr(s)===e),...n.filter(s=>nr(s)!==e)]:n.filter(s=>Jt(s)===s)).filter(s=>e?nr(s)===e||(t?Ca(s)!==s:!1):!0)}const KS=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,s,o,i,a;const{x:l,y:c,rects:f,middlewareData:u,placement:d}=t,{alignment:m=null,allowedPlacements:g=zS,autoAlignment:S=!0,...P}=e;if((n=u.autoPlacement)!=null&&n.skip)return{};const v=qS(m,S,g),p=await mi(t,P),w=(r=(s=u.autoPlacement)==null?void 0:s.index)!=null?r:0,E=v[w],{main:T,cross:h}=Sp(E,f);if(d!==E)return{x:l,y:c,reset:{placement:v[0]}};const b=[p[Jt(E)],p[T],p[h]],y=[...(o=(i=u.autoPlacement)==null?void 0:i.overflows)!=null?o:[],{placement:E,overflows:b}],_=v[w+1];if(_)return{data:{index:w+1,overflows:y},reset:{placement:_}};const $=y.slice().sort((k,A)=>k.overflows[0]-A.overflows[0]),x=(a=$.find(k=>{let{overflows:A}=k;return A.every(R=>R<=0)}))==null?void 0:a.placement;return{data:{skip:!0},reset:{placement:x??$[0].placement}}}}};function XS(e){const t=Mo(e);return[Ca(e),t,Ca(t)]}const YS=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:a}=t;if((n=o.flip)!=null&&n.skip)return{};const{mainAxis:l=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:u="bestFit",flipAlignment:d=!0,...m}=e,g=Jt(s),P=f||(g===a||!d?[Mo(a)]:XS(a)),v=[a,...P],p=await mi(t,m),w=[];let E=((r=o.flip)==null?void 0:r.overflows)||[];if(l&&w.push(p[g]),c){const{main:y,cross:_}=Sp(s,i);w.push(p[y],p[_])}if(E=[...E,{placement:s,overflows:w}],!w.every(y=>y<=0)){var T,h;const y=((T=(h=o.flip)==null?void 0:h.index)!=null?T:0)+1,_=v[y];if(_)return{data:{index:y,overflows:E},reset:{placement:_}};let $="bottom";switch(u){case"bestFit":{var b;const x=(b=E.slice().sort((k,A)=>k.overflows.filter(R=>R>0).reduce((R,I)=>R+I,0)-A.overflows.filter(R=>R>0).reduce((R,I)=>R+I,0))[0])==null?void 0:b.placement;x&&($=x);break}case"initialPlacement":$=a;break}return{data:{skip:!0},reset:{placement:$}}}return{}}}};function JS(e){let{placement:t,rects:n,value:r}=e;const s=Jt(t),o=["left","top"].includes(s)?-1:1,i=typeof r=="function"?r({...n,placement:t}):r,{mainAxis:a,crossAxis:l}=typeof i=="number"?{mainAxis:i,crossAxis:0}:{mainAxis:0,crossAxis:0,...i};return js(s)==="x"?{x:l,y:a*o}:{x:a*o,y:l}}const QS=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(t){const{x:n,y:r,placement:s,rects:o}=t,i=JS({placement:s,rects:o,value:e});return{x:n+i.x,y:r+i.y,data:i}}}};function ZS(e){return e==="x"?"y":"x"}const eP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:P=>{let{x:v,y:p}=P;return{x:v,y:p}}},...l}=e,c={x:n,y:r},f=await mi(t,l),u=js(Jt(s)),d=ZS(u);let m=c[u],g=c[d];if(o){const P=u==="y"?"top":"left",v=u==="y"?"bottom":"right",p=m+f[P],w=m-f[v];m=Na(p,m,w)}if(i){const P=d==="y"?"top":"left",v=d==="y"?"bottom":"right",p=g+f[P],w=g-f[v];g=Na(p,g,w)}const S=a.fn({...t,[u]:m,[d]:g});return{...S,data:{x:S.x-n,y:S.y-r}}}}},tP=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n;const{placement:r,rects:s,middlewareData:o}=t,{apply:i,...a}=e;if((n=o.size)!=null&&n.skip)return{};const l=await mi(t,a),c=Jt(r),f=nr(r)==="end";let u,d;c==="top"||c==="bottom"?(u=c,d=f?"left":"right"):(d=c,u=f?"top":"bottom");const m=En(l.left,0),g=En(l.right,0),S=En(l.top,0),P=En(l.bottom,0),v={height:s.floating.height-(["left","right"].includes(r)?2*(S!==0||P!==0?S+P:En(l.top,l.bottom)):l[u]),width:s.floating.width-(["top","bottom"].includes(r)?2*(m!==0||g!==0?m+g:En(l.left,l.right)):l[d])};return i?.({...v,...s}),{data:{skip:!0},reset:{rects:!0}}}}};function Ml(e){return e?.toString()==="[object Window]"}function gn(e){if(e==null)return window;if(!Ml(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function gi(e){return gn(e).getComputedStyle(e)}function qt(e){return Ml(e)?"":e?(e.nodeName||"").toLowerCase():""}function Kt(e){return e instanceof gn(e).HTMLElement}function Do(e){return e instanceof gn(e).Element}function nP(e){return e instanceof gn(e).Node}function Pp(e){const t=gn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function vi(e){const{overflow:t,overflowX:n,overflowY:r}=gi(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function rP(e){return["table","td","th"].includes(qt(e))}function xp(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=gi(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 df=Math.min,ms=Math.max,Fo=Math.round;function mr(e,t){t===void 0&&(t=!1);const n=e.getBoundingClientRect();let r=1,s=1;return t&&Kt(e)&&(r=e.offsetWidth>0&&Fo(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Fo(n.height)/e.offsetHeight||1),{width:n.width/r,height:n.height/s,top:n.top/s,right:n.right/r,bottom:n.bottom/s,left:n.left/r,x:n.left/r,y:n.top/s}}function vn(e){return((nP(e)?e.ownerDocument:e.document)||window.document).documentElement}function _i(e){return Ml(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function kp(e){return mr(vn(e)).left+_i(e).scrollLeft}function sP(e){const t=mr(e);return Fo(t.width)!==e.offsetWidth||Fo(t.height)!==e.offsetHeight}function oP(e,t,n){const r=Kt(t),s=vn(t),o=mr(e,r&&sP(t));let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((qt(t)!=="body"||vi(s))&&(i=_i(t)),Kt(t)){const l=mr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=kp(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}function yi(e){return qt(e)==="html"?e:e.assignedSlot||e.parentNode||(Pp(e)?e.host:null)||vn(e)}function hf(e){return!Kt(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function iP(e){let t=yi(e);for(;Kt(t)&&!["html","body"].includes(qt(t));){if(xp(t))return t;t=t.parentNode}return null}function La(e){const t=gn(e);let n=hf(e);for(;n&&rP(n)&&getComputedStyle(n).position==="static";)n=hf(n);return n&&(qt(n)==="html"||qt(n)==="body"&&getComputedStyle(n).position==="static"&&!xp(n))?t:n||iP(e)||t}function pf(e){return{width:e.offsetWidth,height:e.offsetHeight}}function aP(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=Kt(n),o=vn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((s||!s&&r!=="fixed")&&((qt(n)!=="body"||vi(o))&&(i=_i(n)),Kt(n))){const l=mr(n,!0);a.x=l.x+n.clientLeft,a.y=l.y+n.clientTop}return{...t,x:t.x-i.scrollLeft+a.x,y:t.y-i.scrollTop+a.y}}function lP(e){const t=gn(e),n=vn(e),r=t.visualViewport;let s=n.clientWidth,o=n.clientHeight,i=0,a=0;return r&&(s=r.width,o=r.height,Math.abs(t.innerWidth/r.scale-r.width)<.01&&(i=r.offsetLeft,a=r.offsetTop)),{width:s,height:o,x:i,y:a}}function cP(e){var t;const n=vn(e),r=_i(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=ms(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),i=ms(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let a=-r.scrollLeft+kp(e);const l=-r.scrollTop;return gi(s||n).direction==="rtl"&&(a+=ms(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:i,x:a,y:l}}function Ap(e){return["html","body","#document"].includes(qt(e))?e.ownerDocument.body:Kt(e)&&vi(e)?e:Ap(yi(e))}function Bo(e,t){var n;t===void 0&&(t=[]);const r=Ap(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=gn(r),i=s?[o].concat(o.visualViewport||[],vi(r)?r:[]):r,a=t.concat(i);return s?a:a.concat(Bo(yi(i)))}function uP(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Pp(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function fP(e){const t=mr(e),n=t.top+e.clientTop,r=t.left+e.clientLeft;return{top:n,left:r,x:r,y:n,right:r+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function mf(e,t){return t==="viewport"?Oa(lP(e)):Do(t)?fP(t):Oa(cP(vn(e)))}function dP(e){const t=Bo(yi(e)),r=["absolute","fixed"].includes(gi(e).position)&&Kt(e)?La(e):e;return Do(r)?t.filter(s=>Do(s)&&uP(s,r)&&qt(s)!=="body"):[]}function hP(e){let{element:t,boundary:n,rootBoundary:r}=e;const o=[...n==="clippingParents"?dP(t):[].concat(n),r],i=o[0],a=o.reduce((l,c)=>{const f=mf(t,c);return l.top=ms(f.top,l.top),l.right=df(f.right,l.right),l.bottom=df(f.bottom,l.bottom),l.left=ms(f.left,l.left),l},mf(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 pP={getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:oP(t,La(n),r),floating:{...pf(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>aP(e),getOffsetParent:e=>{let{element:t}=e;return La(t)},isElement:e=>Do(e),getDocumentElement:e=>{let{element:t}=e;return vn(t)},getClippingClientRect:e=>hP(e),getDimensions:e=>{let{element:t}=e;return pf(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},mP=(e,t,n)=>FS(e,t,{platform:pP,...n});var gP=Object.defineProperty,vP=Object.defineProperties,_P=Object.getOwnPropertyDescriptors,gf=Object.getOwnPropertySymbols,yP=Object.prototype.hasOwnProperty,bP=Object.prototype.propertyIsEnumerable,vf=(e,t,n)=>t in e?gP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ut=(e,t)=>{for(var n in t||(t={}))yP.call(t,n)&&vf(e,n,t[n]);if(gf)for(var n of gf(t))bP.call(t,n)&&vf(e,n,t[n]);return e},Ms=(e,t)=>vP(e,_P(t));function Rp(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Rp(e[n],t[n]):e[n]=t[n])}const Wt={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 gr(e,t){let n=Wt.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Wt.themes[n.$extend]||{}:(n=null,r=Wt[t]):n=null;while(n);return r}function wP(e){const t=[e];let n=Wt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Wt.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function _f(e){const t=[e];let n=Wt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Wt.themes[n.$extend]||{}):n=null;while(n);return t}let jn=!1;if(typeof window<"u"){jn=!1;try{const e=Object.defineProperty({},"passive",{get(){jn=!0}});window.addEventListener("test",null,e)}catch{}}let Op=!1;typeof window<"u"&&typeof navigator<"u"&&(Op=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Np=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),yf={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},bf={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function wf(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Xi(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const bt=[];let wn=null;const Ef={};function Tf(e){let t=Ef[e];return t||(t=Ef[e]=[]),t}let Ia=function(){};typeof window<"u"&&(Ia=window.Element);function Ee(e){return function(t){return gr(t.theme,e)}}const Yi="__floating-vue__popper";var Cp=()=>xe({name:"VPopper",provide(){return{[Yi]:{parentPopper:this}}},inject:{[Yi]:{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:Ee("disabled")},positioningDisabled:{type:Boolean,default:Ee("positioningDisabled")},placement:{type:String,default:Ee("placement"),validator:e=>Np.includes(e)},delay:{type:[String,Number,Object],default:Ee("delay")},distance:{type:[Number,String],default:Ee("distance")},skidding:{type:[Number,String],default:Ee("skidding")},triggers:{type:Array,default:Ee("triggers")},showTriggers:{type:[Array,Function],default:Ee("showTriggers")},hideTriggers:{type:[Array,Function],default:Ee("hideTriggers")},popperTriggers:{type:Array,default:Ee("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Ee("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Ee("popperHideTriggers")},container:{type:[String,Object,Ia,Boolean],default:Ee("container")},boundary:{type:[String,Ia],default:Ee("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Ee("strategy")},autoHide:{type:[Boolean,Function],default:Ee("autoHide")},handleResize:{type:Boolean,default:Ee("handleResize")},instantMove:{type:Boolean,default:Ee("instantMove")},eagerMount:{type:Boolean,default:Ee("eagerMount")},popperClass:{type:[String,Array,Object],default:Ee("popperClass")},computeTransformOrigin:{type:Boolean,default:Ee("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Ee("autoMinSize")},autoSize:{type:[Boolean,String],default:Ee("autoSize")},autoMaxSize:{type:Boolean,default:Ee("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Ee("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Ee("preventOverflow")},overflowPadding:{type:[Number,String],default:Ee("overflowPadding")},arrowPadding:{type:[Number,String],default:Ee("arrowPadding")},arrowOverflow:{type:Boolean,default:Ee("arrowOverflow")},flip:{type:Boolean,default:Ee("flip")},shift:{type:Boolean,default:Ee("shift")},shiftCrossAxis:{type:Boolean,default:Ee("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Ee("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:Ms(Ut({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Yi])==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:Ut(Ut({shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,s;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e,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(QS({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?t.middleware.push(KS({alignment:(e=this.placement.split("-")[1])!=null?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(eP({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&t.middleware.push(YS({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(US({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:o,middlewareData:i})=>{let a;const{centerOffset:l}=i.arrow;return s.startsWith("top")||s.startsWith("bottom")?a=Math.abs(l)>o.reference.width/2:a=Math.abs(l)>o.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const s=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:a})=>{var l;if((l=a.autoSize)!=null&&l.skip)return{};let c,f;return i.startsWith("top")||i.startsWith("bottom")?c=o.reference.width:f=o.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[s==="min"?"minHeight":s==="max"?"maxHeight":"height"]=f!=null?`${f}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(tP({boundary:this.boundary,padding:this.overflowPadding,apply:({width:s,height:o})=>{this.$_innerNode.style.maxWidth=s!=null?`${s}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const r=await mP(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:r.x,y:r.y,placement:r.placement,strategy:r.strategy,arrow:Ut(Ut({},r.middlewareData.arrow),r.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),wn&&this.instantMove&&wn.instantMove&&wn!==this.parentPopper){wn.$_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&&(wn=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 Xi(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Bo(this.$_referenceNode),...Bo(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(r.left+n.offsetLeft),o=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${s}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<bt.length;n++)t=bt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}bt.push(this),document.body.classList.add("v-popper--some-open");for(const t of _f(this.theme))Tf(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 Xi(),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,wf(bt,this),bt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of _f(this.theme)){const r=Tf(n);wf(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}wn===this&&(wn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=gr(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 Xi(),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,yf,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],yf,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,bf,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],bf,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,jn?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,s){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:s,handler:o}=n;!e||e===s?r.forEach(i=>i.removeEventListener(s,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(gs>=e.left&&gs<=e.right&&vs>=e.top&&vs<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=gs-rn,r=vs-sn,o=t.left+t.width/2-rn+(t.top+t.height/2)-sn+t.width+t.height,i=rn+n*o,a=sn+r*o;return ao(rn,sn,i,a,t.left,t.top,t.left,t.bottom)||ao(rn,sn,i,a,t.left,t.top,t.right,t.top)||ao(rn,sn,i,a,t.right,t.top,t.right,t.bottom)||ao(rn,sn,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"&&(Op?(document.addEventListener("touchstart",$f,jn?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",TP,jn?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",$f,!0),window.addEventListener("click",EP,!0)),window.addEventListener("resize",PP));function $f(e){for(let t=0;t<bt.length;t++){const n=bt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function EP(e){Lp(e)}function TP(e){Lp(e,!0)}function Lp(e,t=!1){const n={};for(let r=bt.length-1;r>=0;r--){const s=bt[r];try{const o=s.$_containsGlobalTarget=$P(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&Sf(s,o,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=s.parentPopper;for(;i&&Sf(i,i.$_containsGlobalTarget,e);){i.$_handleGlobalClose(e,t);i=i.parentPopper}}})}catch{}}}function $P(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Sf(e,t,n){return n.closeAllPopover||n.closePopover&&t||SP(e,n)&&!t}function SP(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function PP(e){for(let t=0;t<bt.length;t++)bt[t].$_computePosition(e)}let rn=0,sn=0,gs=0,vs=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{rn=gs,sn=vs,gs=e.clientX,vs=e.clientY},jn?{passive:!0}:void 0);function ao(e,t,n,r,s,o,i,a){const l=((i-s)*(t-o)-(a-o)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t)),c=((n-e)*(t-o)-(r-t)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}var bi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const xP={extends:Cp()};function kP(e,t,n,r,s,o){return ie(),be("div",{ref:"reference",class:Be(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Et(e.$slots,"default",Hf(dl(e.slotData)))],2)}var AP=bi(xP,[["render",kP]]);function RP(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let mo;function ja(){ja.init||(ja.init=!0,mo=RP()!==-1)}var wi={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ja(),Lt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",mo&&this.$el.appendChild(e),e.data="about:blank",mo||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&&(!mo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const OP=lg();ig("data-v-b329ee4c");const NP={class:"resize-observer",tabindex:"-1"};ag();const CP=OP((e,t,n,r,s,o)=>(ie(),Le("div",NP)));wi.render=CP;wi.__scopeId="data-v-b329ee4c";wi.__file="src/components/ResizeObserver.vue";var Ip=(e="theme")=>({computed:{themeClass(){return wP(this[e])}}});const LP=xe({name:"VPopperContent",components:{ResizeObserver:wi},mixins:[Ip()],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}}}),IP=["id","aria-hidden","tabindex","data-popper-placement"],jP={ref:"inner",class:"v-popper__inner"},MP=pe("div",{class:"v-popper__arrow-outer"},null,-1),DP=pe("div",{class:"v-popper__arrow-inner"},null,-1),FP=[MP,DP];function BP(e,t,n,r,s,o){const i=hn("ResizeObserver");return ie(),be("div",{id:e.popperId,ref:"popover",class:Be(["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:ln(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]=Uv(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[pe("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),pe("div",{class:"v-popper__wrapper",style:ln(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[pe("div",jP,[e.mounted?(ie(),be(Ne,{key:0},[pe("div",null,[Et(e.$slots,"default")]),e.handleResize?(ie(),Le(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):et("",!0)],64)):et("",!0)],512),pe("div",{ref:"arrow",class:"v-popper__arrow-container",style:ln(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},FP,4)],4)],46,IP)}var jp=bi(LP,[["render",BP]]),Mp={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 HP=xe({name:"VPopperWrapper",components:{Popper:AP,PopperContent:jp},mixins:[Mp,Ip("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 UP(e,t,n,r,s,o){const i=hn("PopperContent"),a=hn("Popper");return ie(),Le(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Be([e.themeClass])},{default:Se(({popperId:l,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:d,show:m,hide:g,handleResize:S,onResize:P,classes:v,result:p})=>[Et(e.$slots,"default",{shown:c,show:m,hide:g}),fe(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:f,"skip-transition":u,"auto-hide":d,"handle-resize":S,classes:v,result:p,onHide:g,onResize:P},{default:Se(()=>[Et(e.$slots,"popper",{shown:c,hide:g})]),_: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 Dl=bi(HP,[["render",UP]]);const WP=xe(Ms(Ut({},Dl),{name:"VDropdown",vPopperTheme:"dropdown"})),GP=xe(Ms(Ut({},Dl),{name:"VMenu",vPopperTheme:"menu"})),VP=xe(Ms(Ut({},Dl),{name:"VTooltip",vPopperTheme:"tooltip"})),zP=xe({name:"VTooltipDirective",components:{Popper:Cp(),PopperContent:jp},mixins:[Mp],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>gr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>gr(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(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),qP=["innerHTML"],KP=["textContent"];function XP(e,t,n,r,s,o){const i=hn("PopperContent"),a=hn("Popper");return ie(),Le(a,lr({ref:"popper"},e.$attrs,{theme:e.theme,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:Se(({popperId:l,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:d,hide:m,handleResize:g,onResize:S,classes:P,result:v})=>[fe(i,{ref:"popperContent",class:Be({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:f,"skip-transition":u,"auto-hide":d,"handle-resize":g,classes:P,result:v,onHide:m,onResize:S},{default:Se(()=>[e.html?(ie(),be("div",{key:0,innerHTML:e.finalContent},null,8,qP)):(ie(),be("div",{key:1,textContent:On(e.finalContent)},null,8,KP))]),_: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 YP=bi(zP,[["render",XP]]);const Dp="v-popper--has-tooltip";function JP(e,t){let n=e.placement;if(!n&&t)for(const r of Np)t[r]&&(n=r);return n||(n=gr(e.theme||"tooltip","placement")),n}function Fp(e,t,n){let r;const s=typeof t;return s==="string"?r={content:t}:t&&s==="object"?r=t:r={content:!1},r.placement=JP(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let Ji,As,QP=0;function ZP(){if(Ji)return;As=Z([]),Ji=Qd({name:"VTooltipDirectiveApp",setup(){return{directives:As}},render(){return this.directives.map(t=>qe(YP,Ms(Ut({},t.options),{shown:t.shown||t.options.shown,key:t.id})))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Ji.mount(e)}function ex(e,t,n){ZP();const r=Z(Fp(e,t,n)),s=Z(!1),o={id:QP++,options:r,shown:s};return As.value.push(o),e.classList&&e.classList.add(Dp),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function Bp(e){if(e.$_popper){const t=As.value.indexOf(e.$_popper.item);t!==-1&&As.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Dp)}function Pf(e,{value:t,modifiers:n}){const r=Fp(e,t,n);if(!r.content||gr(r.theme||"tooltip","disabled"))Bp(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=ex(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}var tx={beforeMount:Pf,updated:Pf,beforeUnmount(e){Bp(e)}};function xf(e){e.addEventListener("click",Hp),e.addEventListener("touchstart",Up,jn?{passive:!0}:!1)}function kf(e){e.removeEventListener("click",Hp),e.removeEventListener("touchstart",Up),e.removeEventListener("touchend",Wp),e.removeEventListener("touchcancel",Gp)}function Hp(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Up(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",Wp),t.addEventListener("touchcancel",Gp)}}function Wp(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Gp(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var nx={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&xf(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?xf(e):kf(e))},beforeUnmount(e){kf(e)}};function rx(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Rp(Wt,t),e.directive("tooltip",tx),e.directive("close-popper",nx),e.component("VTooltip",VP),e.component("VDropdown",WP),e.component("VMenu",GP))}const sx={version:"2.0.0-beta.20",install:rx,options:Wt},ox=mt(e=>{e.vueApp.use(sx)}),ix=mt(()=>{const e=Ke(),t=tS(),n=gt();window.__NUXT_DEVTOOLS_VIEW__={setClient(r){e.value!==r&&(e.value=r,r.hooks.hook("host:update:reactivity",()=>{e.value&&(e.value={...e.value})}),r.hooks.hook("host:inspector:close",()=>{n.currentRoute.value.path!=="/modules/custom-builtin-vscode"&&n.currentRoute.value.path==="/__inspecting"&&n.go(-1)}),r.hooks.hook("host:inspector:update",s=>{t.value=s}),r.hooks.hook("host:inspector:click",async(s,o,i,a)=>{const l=`./${o}:${i}:${a}`;await Ie.openInEditor(l)}),console.log("[nuxt-devtools] Client connected",r))}},n.afterEach(()=>{const r=n.currentRoute.value.path;r.includes("__")||e.value?.hooks.callHook("devtools:navigate",r)})}),ax=[l0,c0,u0,RS,OS,IS,jS,MS,DS,ox,ix],lx=xe({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=cx({duration:e.duration,throttle:e.throttle}),r=Re();return r.hook("page:start",n.start),r.hook("page:finish",n.finish),r.hook("vue:error",n.finish),Er(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 cx(e){const t=Z(0),n=Z(!1),r=de(()=>1e4/e.duration);let s=null,o=null;function i(){l(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,u()},e.throttle):(n.value=!0,u())}function a(){t.value=100,f()}function l(){clearInterval(s),clearTimeout(o),s=null,o=null}function c(d){t.value=Math.min(100,t.value+d)}function f(){l(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function u(){s=setInterval(()=>{c(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:l}}function ux(){const e=Symbol("singleton");return[function(n){pt()?.appContext.app.provide(e,n)},function(n){return tt(e,n)}]}const[fx,nR]=ux(),dx=xe({__name:"Notification",setup(e){const t=Z(!1),n=Z(),r=Z();return fx((s,o,i=1500)=>{r.value=s,n.value=o,t.value=!0,setTimeout(()=>{t.value=!1},i)}),(s,o)=>(ie(),be("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-50":"","text-center":"",class:Be(re(t)?"":"pointer-events-none overflow-hidden")},[pe("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","text-primary":"","transition-all":"","duration-300":"","bg-base":"",style:ln(re(t)?{}:{transform:"translateY(-300%)"}),class:Be(re(t)?"shadow":"shadow-none")},[re(n)?(ie(),be("div",{key:0,class:Be(re(n))},null,2)):et("",!0),pe("div",null,On(re(r)),1)],6)],2))}}),Ds=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},hx={},px={class:"n-loading n-panel-grids-center"},mx={class:"flex flex-col animate-pulse items-center text-lg"},gx=pe("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function vx(e,t){return ie(),be("div",px,[pe("div",mx,[gx,Et(e.$slots,"default",{},()=>[dt(" Loading... ")])])])}const _x=Ds(hx,[["render",vx]]),Vp=xe({__name:"NIcon",props:{icon:null},setup(e){return(t,n)=>(ie(),be("div",{class:Be(["n-icon",e.icon])},null,2))}}),zp=xe({__name:"NButton",props:{to:null,icon:null},setup(e){return(t,n)=>{const r=Vp;return ie(),Le(al(e.to?re(wl):"button"),lr({to:e.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:Se(()=>[Et(t.$slots,"icon",{},()=>[e.icon?(ie(),Le(r,{key:0,icon:e.icon,class:"n-button-icon"},null,8,["icon"])):et("",!0)]),Et(t.$slots,"default")]),_:3},16,["to"])}}}),yx=xe({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=Z(!1);return Yt(()=>{r.value=!0}),s=>{if(r.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=s.fallback||s.placeholder||"",a=s.fallbackTag||s.placeholderTag||"span";return be(a,n,i)}}}),bx={name:CS,props:{placeholder:String,tag:{type:String,default:"span"}}};function wx(e,t,n,r,s,o){const i=yx;return ie(),Le(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:Se(()=>[Et(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const Ex=Ds(bx,[["render",wx]]),Tx=xe({__name:"NDarkToggle",setup(e){const t=Cl(),n=de({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function s(i){if(!r||!i){n.value=!n.value;return}const a=i.clientX,l=i.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(l,innerHeight-l));document.startViewTransition(async()=>{n.value=!n.value,await Lt()}).ready.then(()=>{const u=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:n.value?[...u].reverse():u},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const o={mode:t,isDark:n,toggle:s};return(i,a)=>{const l=Ex;return ie(),Le(l,{tag:"span"},{default:Se(()=>[Et(i.$slots,"default",Hf(dl(o)))]),_:3})}}}),$x={key:0,px3:"",py2:"",border:"b base",flex:"~ col gap-1"},Sx=pe("div",{"text-sm":"",op50:""}," Dock devtools to ",-1),Px={flex:"~ gap-1","text-lg":""},xx={px3:"",py2:"",border:"b base",flex:"~ gap-2"},kx=pe("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),Ax=pe("div",{"carbon-settings-adjust":"","translate-y--1px":""},null,-1),Rx={px3:"",py2:"",flex:"~ gap2"},Ox=xe({__name:"DockingPanel",setup(e){const t=mS(),n=Ke(),r=Re();function s(){r.hooks.callHookParallel("app:data:refresh",Object.keys(r.payload.data)),n.value&&(n.value={...n.value})}function o(){location.reload()}return(i,a)=>{const l=zp,c=Tx;return ie(),be("div",null,[re(n)?(ie(),be("div",$x,[Sx,pe("div",Px,[pe("button",{"i-carbon-open-panel-filled-bottom":"",class:Be(re(t).position==="bottom"?"text-primary":"op50"),onClick:a[0]||(a[0]=f=>re(t).position="bottom")},null,2),pe("button",{"i-carbon-open-panel-filled-right":"",class:Be(re(t).position==="right"?"text-primary":"op50"),onClick:a[1]||(a[1]=f=>re(t).position="right")},null,2),pe("button",{"i-carbon-open-panel-filled-left":"",class:Be(re(t).position==="left"?"text-primary":"op50"),onClick:a[2]||(a[2]=f=>re(t).position="left")},null,2),pe("button",{"i-carbon-open-panel-filled-top":"",class:Be(re(t).position==="top"?"text-primary":"op50"),onClick:a[3]||(a[3]=f=>re(t).position="top")},null,2)])])):et("",!0),pe("div",xx,[fe(c,null,{default:Se(({toggle:f,isDark:u})=>[fe(l,{n:"sm primary",onClick:f},{default:Se(()=>[kx,dt(" "+On(u.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),fe(l,{n:"sm primary",to:"/settings"},{default:Se(()=>[Ax,dt(" Settings ")]),_:1})]),pe("div",Rx,[fe(l,{n:"solid primary xs",onClick:s},{default:Se(()=>[dt(" Refetch Data ")]),_:1}),fe(l,{n:"solid primary xs",onClick:o},{default:Se(()=>[dt(" Refresh Page ")]),_:1})])])}}}),Nx=["src","alt"],Cx=["title"],qp=xe({__name:"TabIcon",props:{icon:null,title:null,showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>e.icon&&(e.icon.startsWith("/")||e.icon.match(/^https?:/))?(ie(),be("img",lr({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:e.icon,alt:e.title}),null,16,Nx)):(ie(),be("div",lr({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:e.icon||"carbon-bring-forward",title:e.showTitle?e.title:void 0}),null,16,Cx))}}),Lx={"translate-y-0.5px":""},Ix={key:0,hidden:"","lg:block":""},jx=xe({__name:"SideNavItem",props:{tab:null},setup(e){const t=e,n=si(),r=de(()=>"badge"in t.tab&&t.tab.badge?.()),s=de(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=de(()=>n.path.startsWith(s.value));return(i,a)=>{const l=qp,c=wl,f=hn("VTooltip");return ie(),Le(f,{placement:"right"},{popper:Se(()=>[pe("div",null,On(e.tab.title),1),"extraTabVNode"in e.tab&&e.tab.extraTabVNode?(ie(),be("div",Ix,[(ie(),Le(al(e.tab.extraTabVNode)))])):et("",!0)]),default:Se(()=>[fe(c,{to:re(s),flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:a[0]||(a[0]=u=>"onClick"in e.tab&&e.tab.onClick?.())},{default:Se(()=>[fe(l,{"text-xl":"",icon:e.tab.icon,title:e.tab.title,"show-title":!1},null,8,["icon","title"]),re(r)?(ie(),be("div",{key:0,absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Be(re(o)?"bg-primary":"bg-gray")},[pe("span",Lx,On(re(r)),1)],2)):et("",!0)]),_:1},8,["to"])]),_:1})}}}),Mx={border:"r base",flex:"~ col","z-100":"","h-full":"","items-center":"","of-hidden":"","bg-base":""},Dx={flex:"~ none col items-center"},Fx=["title"],Bx=pe("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),Hx=[Bx],Ux=pe("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),Wx={flex:"~ auto col gap-0.5 items-center","of-hidden":"",py1:""},Gx={key:0,my1:"","h-1px":"","w-8":"",border:"b base"},Vx=pe("div",{"flex-auto":""},null,-1),zx={flex:"~ none col items-center gap-1",pb1:""},qx={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},Kx={"translate-y-0.5px":""},Xx={flex:"~ col gap-1","max-w-80":"",py1:""},Yx={key:0,"h-1px":"",border:"b base"},Jx={flex:"~ wrap",px1:""},Qx=45,Zx=xe({__name:"SideNav",setup(e){const t=Ke(),n=wS(),r=Z(!1),s=Z(!1),o=Z(),i=Z(),a=Z();function l(){r.value=!r.value}function c(){s.value=!s.value}const{height:f}=tw(),u=de(()=>{const P=f.value-130;return Math.max(0,Math.floor(P/Qx))}),d=de(()=>n.value.slice(0,u.value)),m=de(()=>n.value.slice(u.value)),g=lf(d),S=lf(m);return m1(o,P=>{i.value&&P.composedPath().includes(i.value)||a.value&&P.composedPath().includes(a.value)||(r.value=!1,s.value=!1)},{detectIframe:!0}),(P,v)=>{const p=Ox,w=hn("VDropdown"),E=jx,T=qp,h=wl;return ie(),be("div",Mx,[pe("div",Dx,[fe(w,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:re(r),"auto-hide":!0},{popper:Se(()=>[fe(p,{ref_key:"panel",ref:o},null,512)]),default:Se(()=>[pe("button",{ref_key:"buttonDocking",ref:i,flex:"~",hover:"bg-active",relative:"",my1:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:Be(re(t)?"":"saturate-0"),title:re(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:l},Hx,10,Fx)]),_:1},8,["shown"]),Ux]),pe("div",Wx,[(ie(!0),be(Ne,null,Vs(re(g),([b,y],_)=>(ie(),be(Ne,{key:b},[y.length?(ie(),be(Ne,{key:0},[_?(ie(),be("div",Gx)):et("",!0),(ie(!0),be(Ne,null,Vs(y,$=>(ie(),Le(E,{key:$.name,tab:$},null,8,["tab"]))),128))],64)):et("",!0)],64))),128)),Vx]),pe("div",zx,[re(m).length?(ie(),Le(w,{key:0,placement:"left-end",distance:12,triggers:[],shown:re(s),"auto-hide":!0},{popper:Se(()=>[pe("div",Xx,[(ie(!0),be(Ne,null,Vs(re(S),([b,y],_)=>(ie(),be(Ne,{key:b},[y.length?(ie(),be(Ne,{key:0},[_?(ie(),be("div",Yx)):et("",!0),pe("div",Jx,[(ie(!0),be(Ne,null,Vs(y,$=>(ie(),Le(E,{key:$.name,tab:$},null,8,["tab"]))),128))])],64)):et("",!0)],64))),128))])]),default:Se(()=>[pe("button",{ref_key:"buttonMoreTabs",ref:a,flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:c},[fe(T,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),pe("div",qx,[pe("span",Kx,On(re(m).length),1)])],512)]),_:1},8,["shown"])):et("",!0),fe(h,{to:"/settings",flex:"~ items-center justify-center",hover:"bg-active",relative:"",block:"","h-10":"","w-10":"","select-none":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active"},{default:Se(()=>[fe(T,{"text-xl":"",icon:"i-carbon-settings-adjust",title:"Settings","show-title":!1})]),_:1})])])}}}),ek=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),tk=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&ek(e.route,n));return typeof r=="function"?r(e.route):r},nk=(e,t)=>({default:()=>e?qe(Sg,e===!0?{}:e,t):t}),Ma=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?qe(e,t,n):n.default?.()}),rk=xe({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=Re();return()=>qe(Lh,{name:e.name,route:e.route,...t},{default:r=>{if(!r.Component)return;const s=tk(r,e.pageKey),o=n.deferHydration(),i=!!(e.transition??r.route.meta.pageTransition??va),a=i&&ok([e.transition,r.route.meta.pageTransition,va,{onAfterLeave:()=>{n.callHook("page:transition:finish",r.Component)}}].filter(Boolean));return Ma(ri,i&&a,nk(e.keepalive??r.route.meta.keepalive??Ky,qe(hd,{suspensible:!0,onPending:()=>n.callHook("page:start",r.Component),onResolve:()=>{Lt(()=>n.callHook("page:finish",r.Component).finally(o))}},{default:()=>qe(ik,{key:s,routeProps:r,pageKey:s,hasTransition:i})}))).default()}})}});function sk(e){return Array.isArray(e)?e:e?[e]:[]}function ok(e){const t=e.map(n=>({...n,onAfterLeave:sk(n.onAfterLeave)}));return n0(...t)}const ik=xe({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const s in e.routeProps.route)r[s]=de(()=>t===e.pageKey?e.routeProps.route[s]:n[s]);return er("_route",at(r)),()=>qe(e.routeProps.Component)}}),ak=xe({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(e,t){const n=await qn[e.name]().then(r=>r.default||r);return()=>qe(n,t.attrs,t.slots)}}),lk=xe({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=tt("_route"),r=n===si()?hb():n,s=de(()=>re(e.name)??r.meta.layout??"default");return()=>{const o=s.value&&s.value in qn,i=r.meta.layoutTransition??qy;return Ma(ri,o&&i,{default:()=>Ma(ak,o&&{key:s.value,name:s.value,...t.attrs},t.slots).default()}).default()}}}),ck={},uk={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fk=pe("path",{d:"M74.2283 119.873H123.414C124.977 119.874 126.511 119.475 127.864 118.717C129.217 117.959 130.341 116.869 131.121 115.557C131.902 114.244 132.313 112.755 132.312 111.24C132.312 109.725 131.899 108.236 131.118 106.924L98.0856 51.4278C97.3048 50.1156 96.1817 49.0259 94.829 48.2683C93.4764 47.5107 91.942 47.1118 90.38 47.1118C88.8181 47.1118 87.2836 47.5107 85.931 48.2683C84.5784 49.0259 83.4552 50.1156 82.6745 51.4278L74.2283 65.6274L57.7148 37.8605C56.9334 36.5484 55.8097 35.4589 54.4567 34.7014C53.1037 33.9439 51.569 33.5451 50.0068 33.5451C48.4446 33.5451 46.9099 33.9439 45.5569 34.7014C44.2039 35.4589 43.0803 36.5484 42.2989 37.8605L1.1947 106.924C0.41273 108.236 0.000680577 109.725 8.42355e-07 111.24C-0.000678893 112.755 0.410035 114.244 1.19083 115.557C1.97163 116.869 3.09498 117.959 4.44789 118.717C5.80081 119.475 7.33558 119.874 8.89785 119.873H39.7727C52.0057 119.873 61.0271 114.661 67.2346 104.493L82.3054 79.1761L90.3776 65.6274L114.604 106.325H82.3054L74.2283 119.873ZM39.2694 106.311L17.7227 106.306L50.0212 52.0462L66.1369 79.1761L55.3468 97.3092C51.2244 103.907 46.5411 106.311 39.2694 106.311Z",fill:"#00DC82"},null,-1),dk=pe("path",{d:"M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z",fill:"currentColor"},null,-1),hk=[fk,dk];function pk(e,t){return ie(),be("svg",uk,hk)}const mk=Ds(ck,[["render",pk]]),gk={},vk={key:0,flex:"~ col justify-center items-center gap-2",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-5":"","glass-effect":""},_k={flex:"~","mt--10":"","items-center":"","justify-center":""},yk={key:0,flex:"~ gap-2","items-center":"","text-rose":""},bk={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function wk(e,t){const n=mk,r=Vp;return ie(),Le(Id,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:re(gw))?(ie(),be("div",vk,[pe("div",_k,[fe(n,{"h-14":""})]),("wsError"in e?e.wsError:re(xa))?(ie(),be("div",yk,[fe(r,{icon:"i-carbon-wifi-off"}),dt(" WebSocket disconnected ")])):(ie(),be("div",bk,[fe(r,{icon:"i-carbon-circle-dash","animate-spin":""}),dt(" Connecting to the server... ")]))])):et("",!0)])}const Ek=Ds(gk,[["render",wk]]),Tk={},$k={class:"n-card n-card-base"};function Sk(e,t){return ie(),be("div",$k,[Et(e.$slots,"default")])}const Pk=Ds(Tk,[["render",Sk]]);/*!
|
|
13
|
+
`):l.join("")})):""}return o("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${n}`},[t.langId?`<div class="language-id">${t.langId}</div>`:"",o("code",{},e.map((i,a)=>{const l=a+1,c=r.get(l)??[],f=K$(c).join(" ");return o("line",{className:f,lines:e,line:i,index:a},i.map((u,d)=>{const m=[`color: ${u.color||t.fg}`];return u.fontStyle&po.Italic&&m.push("font-style: italic"),u.fontStyle&po.Bold&&m.push("font-weight: bold"),u.fontStyle&po.Underline&&m.push("text-decoration: underline"),o("token",{style:m.join("; "),tokens:i,token:u,index:d},[q$(u.content)])}))}))])}const z$={"&":"&","<":"<",">":">",'"':""","'":"'"};function q$(e){return e.replace(/[&<>"']/g,t=>z$[t])}function K$(e){const t=new Set(["line"]);for(const n of e)for(const r of n.classes??[])t.add(r);return Array.from(t)}class X$ extends Io.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=hi.reduce((n,r)=>(n[r.id]=r,n),{})}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:t}async loadTheme(t){return typeof t=="string"?(this._resolvedThemes[t]||(this._resolvedThemes[t]=await hp(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=pp(t),t.name&&(this._resolvedThemes[t.name]=t),t)}async loadThemes(t){return await Promise.all(t.map(n=>this.loadTheme(n)))}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){return this._resolvedGrammars[t]}async loadLanguage(t){const r={embeddedLanguages:t.embeddedLangs?.reduce(async(o,i,a)=>{if(!this.getLoadedLanguages().includes(i)&&this._resolver.getLangRegistration(i))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(i).scopeName),o[this._resolver.getLangRegistration(i).scopeName]=a+2,o},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},s=await this.loadGrammarWithConfiguration(t.scopeName,1,r);this._resolvedGrammars[t.id]=s,t.aliases&&t.aliases.forEach(o=>{this._resolvedGrammars[o]=s})}async loadLanguages(t){for(const r of t)this.resolveEmbeddedLanguages(r);const n=Array.from(this._langGraph.values());for(const r of n)this._resolver.addLanguage(r);for(const r of n)await this.loadLanguage(r)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(t){if(this._langGraph.has(t.id)||this._langGraph.set(t.id,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}function mp(e){return typeof e=="string"?hi.find(t=>t.id===e||t.aliases?.includes(e)):e}function Y$(e){let t=hi,n=e.themes||[],r=e.paths?.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":N$;return e.langs&&(t=e.langs.map(mp)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:r}}async function J$(e){const{_languages:t,_themes:n,_wasmPath:r}=Y$(e),s=new F$(L$(r),"vscode-oniguruma"),o=new X$(s);e.paths?.themes&&(o.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),e.paths?.languages&&(s.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const a=(await o.loadThemes(n))[0];let l;await o.loadLanguages(t);let c={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};function f(h){c=h}function u(h,b){h.bg=c[h.bg]||h.bg,h.fg=c[h.fg]||h.fg,b.forEach((y,_)=>{b[_]=c[y]||y})}function d(h){const b=h?o.getTheme(h):a;if(!b)throw Error(`No theme registration for ${h}`);(!l||l.name!==b.name)&&(o.setTheme(b),l=b);const y=o.getColorMap();return b.type==="css"&&u(b,y),{_theme:b,_colorMap:y}}function m(h){const b=o.getGrammar(h);if(!b)throw Error(`No language registration for ${h}`);return{_grammar:b}}function g(h,b="text",y,_={includeExplanation:!0}){if(Q$(b))return[...h.split(/\r\n|\r|\n/).map(R=>[{content:R}])];const{_grammar:$}=m(b),{_theme:x,_colorMap:k}=d(y);return B$(x,k,h,$,_)}function S(h,b="text",y){let _;typeof b=="object"?_=b:_={lang:b,theme:y};const $=g(h,_.lang,_.theme,{includeExplanation:!1}),{_theme:x}=d(_.theme);return V$($,{fg:x.fg,bg:x.bg,lineOptions:_?.lineOptions,themeName:x.name})}async function P(h){await o.loadTheme(h)}async function v(h){const b=mp(h);s.addLanguage(b),await o.loadLanguage(b)}function p(){return o.getLoadedThemes()}function w(){return o.getLoadedLanguages()}function E(h){const{_theme:b}=d(h);return b.bg}function T(h){const{_theme:b}=d(h);return b.fg}return{codeToThemedTokens:g,codeToHtml:S,getTheme:h=>d(h)._theme,loadTheme:P,loadLanguage:v,getBackgroundColor:E,getForegroundColor:T,getLoadedThemes:p,getLoadedLanguages:w,setColorReplacements:f}}function Q$(e){return!e||["plaintext","txt","text"].includes(e)}const Z$="0.2.0";C$(`https://cdn.jsdelivr.net/npm/shiki-es@${Z$}/dist/assets/`);const io=Z();let tf=null;function eS(e,t){const n=Cl();!tf&&!io.value&&(tf=J$({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(s=>{io.value=s}));const r=io.value?.getLoadedLanguages().includes(t);return r?{code:io.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}),supported:!0}:{code:e,supported:r}}function Ke(){return Bn("devtools-client")}function IA(){const e=Ke();return de(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function gp(){const e=Ke();return de(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function jA(){const e=Ke();return de(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function tS(){return Bn("devtools-component-inspector-data")}const vp=Z(!1);setTimeout(()=>{vp.value=!0},2e3);const nS=de(()=>vp.value&&!Ke().value);function rS(){const e=Ke(),t=Cl();return de(()=>({host:e.value,devtools:{rpc:Ie,colorMode:t.value,renderCodeHighlight(n,r){return eS(n,r)},renderMarkdown(n){return E$(n)},extendClientRpc(n,r){return Qh.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return Ie[`${n}:${o}`]}})}}}))}const Gr={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>!!Ke().value},Vr={icon:"carbon-information",title:"Overview",order:-100},zr={icon:"carbon-tree-view-alt",title:"Pages",show:()=>!!Ke().value,order:1},qr={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>!!Ke().value,order:7},Kr={icon:"carbon-plug",title:"Plugins",category:"analyze"},Xr={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>!!Ke().value,order:6};function sS(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const oS=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function iS(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const nf=function(...e){e=e.map(r=>sS(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:iS();!s||s.length===0||(t=`${s}/${t}`,n=rf(s))}return t=aS(t,!n),n&&!rf(t)?`/${t}`:t.length>0?t:"."};function aS(e,t){let n="",r=0,s=-1,o=0,i=null;for(let a=0;a<=e.length;++a){if(a<e.length)i=e[a];else{if(i==="/")break;i="/"}if(i==="/"){if(!(s===a-1||o===1))if(o===2){if(n.length<2||r!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const l=n.lastIndexOf("/");l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),s=a,o=0;continue}else if(n.length>0){n="",r=0,s=a,o=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(s+1,a)}`:n=e.slice(s+1,a),r=a-s-1;s=a,o=0}else i==="."&&o!==-1?++o:o=-1}return n}const rf=function(e){return oS.test(e)},lS=function(e,t){const n=nf(e).split("/"),r=nf(t).split("/"),s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function cS(e){return!!e.match(/[/\\]node_modules[/\\]/)||Ll(e)}function Ll(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function _p(e){if(Ll(e))return e;const t=e.replace(/\\/g,"/").match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t.startsWith("@")?t.split("/").slice(0,2).join("/"):t.split("/")[0]}function uS(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function MA(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function fS(e,t){if(e=e.replace(/\\/g,"/"),Ll(e))return{moduleName:e,path:e};const n=_p(e),r=uS(e);if(n&&r)return{moduleName:n,path:r};try{let s=lS(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function DA(e){return e.split(/(:\w+[\?\*]?)/).filter(Boolean)}function lt(e,t,n){const r=Re();return r.payload.unique||(r.payload.unique={}),r.payload.unique[e]||(r.payload.unique[e]=Ls(e,t,n)),r.payload.unique[e].data}function FA(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const sf={get:"bg-green-400:10 text-green-400",post:"bg-blue-400:10 text-blue-400",put:"bg-orange-400:10 text-orange-400",delete:"bg-red-400:10 text-red-400",patch:"bg-purple-400:10 text-purple-400",head:"bg-teal-400:10 text-teal-400",default:"bg-gray-400:10 text-gray-400"};function BA(e){return sf[e.toLowerCase()]||sf.default}function HA(e,t){const n={};for(const[r,s]of Object.entries(t))for(const o of s){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}const dS=$l("nuxt-devtools-first-visit",!0),yp=$l("nuxt-devtools-frame-state",{},{listenToStorageChanges:!1}),hS=$l("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1}),pi=Z(await Ie.getUIOptions()),pS=Zb(pi);Ce(pi,async e=>{Ie.updateUIOptions(e)},{deep:!0,flush:"post"});rr(()=>{yp.value.closeOnOutsideClick=pi.value.interactionCloseOnOutsideClick});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(pi.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function Il(){return pS}function mS(){return yp}function UA(){return hS}function bp(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}const wp=["pages","meta","components","imports","nuxt-config-schema","@nuxt/devtools","@nuxt/telemetry"];function gS(){return Ls("modules-list",async()=>(await ah("https://cdn.jsdelivr.net/npm/@nuxt/modules@latest/modules.json")).filter(t=>!wp.includes(t.npm)&&t.compatibility.nuxt.includes("^3"))).data}const of=Z([]);function WA(){return Bn("installed-modules",()=>{const e=_S(),t=gS();return de(()=>(e.value?._installedModules||[]).map(n=>{if(!n.entryPath)return;const r=n.entryPath&&cS(n.entryPath),s=n.meta?.name?n.meta?.name:n.entryPath?r?_p(n.entryPath):e.value?.rootDir?fS(n.entryPath,e.value?.rootDir).path:void 0:void 0,o=e.value?.modules?.includes(s),i=t.value?.find(a=>a.npm===s)||t.value?.find(a=>a.name===s);return{name:s,isPackageModule:r,isUninstallable:o,info:i,...n}}).filter(n=>n&&(!n.name||!wp.includes(n.name))))})}const GA=Hh();function VA(){const e=Ke(),t=lt("getComponents",()=>Ie.getComponents()),n=de(()=>Object.entries(e.value?.nuxt?.vueApp._context.components||{}).map(([r])=>({pascalName:r,global:!0})).filter(r=>!/^Lazy[A-Z]/.test(r.pascalName)).filter(r=>!(t.value||[]).find(s=>s.pascalName===r.pascalName)));return de(()=>[...n.value,...t.value||[]].sort((r,s)=>r.pascalName.localeCompare(s.pascalName)))}function Ep(){return lt("getServerPages",()=>Ie.getServerPages())}function vS(){return lt("getServerRoutes",()=>Ie.getServerRoutes())}function zA(){return lt("getComponentsRelationships",()=>Ie.getComponentsRelationships())}function qA(){return lt("getServerHooks",()=>Ie.getServerHooks())}function KA(){return lt("getServerLayouts",()=>Ie.getServerLayouts())}function XA(){return lt("getAutoImports",()=>Ie.getAutoImports())}function YA(){return lt("getStaticAssets",()=>Ie.getStaticAssets())}function _S(){return lt("getServerConfig",()=>Ie.getServerConfig())}function JA(){return lt("getServerApp",()=>Ie.getServerApp())}function yS(){return lt("getCustomTabs",()=>Ie.getCustomTabs())}function af(){return lt("getTerminals",()=>Ie.getTerminals())}function QA(){return lt("getAnalyzeBuildInfo",()=>Ie.getAnalyzeBuildInfo())}function bS(){const e=yS(),t=Il(),n=gt(),r=Ke(),s=de(()=>[...n.getRoutes().filter(i=>i.path.startsWith("/modules/")&&i.meta.title&&!i.meta.wip).filter(i=>!i.meta.experimental||i.meta.experimental&&t.showExperimentalFeatures.value).sort((i,a)=>(i.meta.order||100)-(a.meta.order||100)).map(i=>({name:i.name,path:i.path,...i.meta})),{name:"builtin-inspector",title:"Inspect Vue components",icon:"i-carbon-select-window",category:"app",show(){return()=>!!r.value?.inspector?.instance},onClick(){r.value?.inspector?.instance&&(r.value.inspector.enable(),n.push("/__inspecting"))}},...(e.value||[]).filter(i=>i.name.startsWith("builtin-"))]),o=de(()=>(e.value||[]).filter(i=>!i.name.startsWith("builtin-")));return de(()=>[...s.value,...o.value])}function Tp(){return{app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function lf(e){return de(()=>{const t=Tp();for(const n of re(e)){const r=n.category||"app";t[r]?t[r].push(n):console.warn(`Unknown tab category: ${r}`)}for(const n of Object.keys(t))t[n].length===0&&delete t[n];return Object.entries(t)})}function wS(){const e=bS(),t=Il(),n=Object.keys(Tp()),r=e.value.map(s=>s?.show?.());return de(()=>e.value.filter((s,o)=>{const i=s;return!(r[o]&&!qm(r[o])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(s.category||"app"))}).sort((s,o)=>n.indexOf(s.category||"app")-n.indexOf(o.category||"app")))}function ZA(){const e=gp(),t=Ep();return de(()=>(e.value?.getRoutes()||[]).map(n=>bp(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}function ES(){return Bn("devtools:restart-dialogs",()=>[])}function eR(){const{data:e}=Ab("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function tR(){const e=Ep(),t=gp();return de(()=>(t.value?.getRoutes()||[]).map(n=>bp(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const Yr={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=vS();return()=>e.value?.length}},Jr={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},Qr={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=af();return()=>!!e.value?.length},badge(){return af().value?.filter(e=>!e.isTerminated).length}},Zr={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},es={layout:"full"},cf=[{name:Or?.name??"__inspecting",path:Or?.path??"/__inspecting",meta:Or||{},alias:Or?.alias||[],redirect:Or?.redirect||void 0,component:()=>ke(()=>import("./__inspecting.689fc045.js"),["./__inspecting.689fc045.js","./NPanelGrids.afa6e237.js"],import.meta.url).then(e=>e.default||e)},{name:Nr?.name??"index",path:Nr?.path??"/",meta:Nr||{},alias:Nr?.alias||[],redirect:Nr?.redirect||void 0,component:()=>ke(()=>import("./index.a86d9a7f.js"),["./index.a86d9a7f.js","./Badge.0ce662e4.js"],import.meta.url).then(e=>e.default||e)},{name:Ir?.name??"modules-analyze-build",path:Ir?.path??"/modules/analyze-build",meta:Ir||{},alias:Ir?.alias||[],redirect:Ir?.redirect||void 0,component:()=>ke(()=>import("./analyze-build.8d6d1198.js"),["./analyze-build.8d6d1198.js","./FilepathItem.vue.7eb51d4e.js","./editor.6dcc09c7.js","./NPanelGrids.afa6e237.js","./PanelLeftRight.vue.9e8aa6b8.js","./NTextInput.vue.efd43a47.js","./NTip.vue.6c00393e.js","./NCodeBlock.vue.3fea7f9d.js","./client.ce74bb6b.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.a470be6e.js"],import.meta.url).then(e=>e.default||e)},{name:jr?.name??"modules-assets",path:jr?.path??"/modules/assets",meta:jr||{},alias:jr?.alias||[],redirect:jr?.redirect||void 0,component:()=>ke(()=>import("./assets.b6f9866b.js"),["./assets.b6f9866b.js","./NIconButton.vue.13275ce3.js","./Navbar.vue.76f856f0.js","./NTextInput.vue.efd43a47.js","./NSectionBlock.4824dc31.js","./NIconTitle.vue.811968a5.js","./NSectionBlock.63c19da9.css","./FilepathItem.vue.7eb51d4e.js","./editor.6dcc09c7.js","./CodeSnippets.vue.63e1babe.js","./NCodeBlock.vue.3fea7f9d.js","./client.ce74bb6b.js","./NCodeBlock.cf3ce05b.css","./DrawerRight.vue.eb026405.js","./constants.d7bcda3c.js","./fuse.esm.88e2763d.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:Mr?.name??"modules-components",path:Mr?.path??"/modules/components",meta:Mr||{},alias:Mr?.alias||[],redirect:Mr?.redirect||void 0,component:()=>ke(()=>import("./components.212338f5.js"),["./components.212338f5.js","./NIconButton.vue.13275ce3.js","./HelpFab.vue.ebcc1356.js","./HelpFab.f179afc3.css","./NCheckbox.vue.a470be6e.js","./Navbar.vue.76f856f0.js","./NTextInput.vue.efd43a47.js","./Badge.0ce662e4.js","./FilepathItem.vue.7eb51d4e.js","./editor.6dcc09c7.js","./DrawerRight.vue.eb026405.js","./NSectionBlock.4824dc31.js","./NIconTitle.vue.811968a5.js","./NSectionBlock.63c19da9.css","./constants.d7bcda3c.js","./fuse.esm.88e2763d.js"],import.meta.url).then(e=>e.default||e)},{name:Dr?.name??"modules-custom-name",path:Dr?.path??"/modules/custom-:name()",meta:Dr||{},alias:Dr?.alias||[],redirect:Dr?.redirect||void 0,component:()=>ke(()=>import("./custom-_name_.87eb6297.js"),["./custom-_name_.87eb6297.js","./NPanelGrids.afa6e237.js","./LaunchPage.vue.63709998.js","./NMarkdown.vue.f8a61172.js","./client.ce74bb6b.js"],import.meta.url).then(e=>e.default||e)},{name:Fr?.name??"modules-hooks",path:Fr?.path??"/modules/hooks",meta:Fr||{},alias:Fr?.alias||[],redirect:Fr?.redirect||void 0,component:()=>ke(()=>import("./hooks.310738c8.js"),["./hooks.310738c8.js","./DurationDisplay.vue.9fa7b27d.js","./NSectionBlock.4824dc31.js","./NIconTitle.vue.811968a5.js","./NSectionBlock.63c19da9.css","./HelpFab.vue.ebcc1356.js","./NIconButton.vue.13275ce3.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Br?.name??"modules-imports",path:Br?.path??"/modules/imports",meta:Br||{},alias:Br?.alias||[],redirect:Br?.redirect||void 0,component:()=>ke(()=>import("./imports.ccc44d22.js"),["./imports.ccc44d22.js","./NSwitch.vue.ae05571e.js","./Navbar.vue.76f856f0.js","./NTextInput.vue.efd43a47.js","./FilepathItem.vue.7eb51d4e.js","./editor.6dcc09c7.js","./NMarkdown.vue.f8a61172.js","./client.ce74bb6b.js","./constants.d7bcda3c.js","./NSectionBlock.4824dc31.js","./NIconTitle.vue.811968a5.js","./NSectionBlock.63c19da9.css","./HelpFab.vue.ebcc1356.js","./NIconButton.vue.13275ce3.js","./HelpFab.f179afc3.css","./fuse.esm.88e2763d.js"],import.meta.url).then(e=>e.default||e)},{name:Hr?.name??"modules-middleware",path:Hr?.path??"/modules/middleware",meta:Hr||{},alias:Hr?.alias||[],redirect:Hr?.redirect||void 0,component:()=>ke(()=>import("./middleware.c10051f6.js"),[],import.meta.url).then(e=>e.default||e)},{name:Ur?.name??"modules-modules",path:Ur?.path??"/modules/modules",meta:Ur||{},alias:Ur?.alias||[],redirect:Ur?.redirect||void 0,component:()=>ke(()=>import("./modules.9cc1fa1d.js"),["./modules.9cc1fa1d.js","./FilepathItem.vue.7eb51d4e.js","./editor.6dcc09c7.js","./NpmVersionCheck.vue.9ff03721.js","./Badge.0ce662e4.js","./NCodeBlock.vue.3fea7f9d.js","./client.ce74bb6b.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.a470be6e.js","./NTip.vue.6c00393e.js","./NSectionBlock.4824dc31.js","./NIconTitle.vue.811968a5.js","./NSectionBlock.63c19da9.css","./NIconButton.vue.13275ce3.js","./NTextInput.vue.efd43a47.js","./fuse.esm.88e2763d.js","./NLink.vue.8becbaf2.js","./HelpFab.vue.ebcc1356.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Gr?.name??"modules-open-graph",path:Gr?.path??"/modules/open-graph",meta:Gr||{},alias:Gr?.alias||[],redirect:Gr?.redirect||void 0,component:()=>ke(()=>import("./open-graph.4ea7bb24.js"),["./open-graph.4ea7bb24.js","./NTextInput.vue.efd43a47.js","./NIconButton.vue.13275ce3.js","./Navbar.vue.76f856f0.js","./NLink.vue.8becbaf2.js","./NSectionBlock.4824dc31.js","./NIconTitle.vue.811968a5.js","./NSectionBlock.63c19da9.css","./NCodeBlock.vue.3fea7f9d.js","./client.ce74bb6b.js","./NCodeBlock.cf3ce05b.css","./editor.6dcc09c7.js","./HelpFab.vue.ebcc1356.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Vr?.name??"modules-overview",path:Vr?.path??"/modules/overview",meta:Vr||{},alias:Vr?.alias||[],redirect:Vr?.redirect||void 0,component:()=>ke(()=>import("./overview.9f34e07f.js"),["./overview.9f34e07f.js","./Badge.0ce662e4.js","./NpmVersionCheck.vue.9ff03721.js","./NCodeBlock.vue.3fea7f9d.js","./client.ce74bb6b.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.a470be6e.js","./NTip.vue.6c00393e.js","./NPanelGrids.afa6e237.js"],import.meta.url).then(e=>e.default||e)},{name:zr?.name??"modules-pages",path:zr?.path??"/modules/pages",meta:zr||{},alias:zr?.alias||[],redirect:zr?.redirect||void 0,component:()=>ke(()=>import("./pages.a55d4866.js"),["./pages.a55d4866.js","./NTextInput.vue.efd43a47.js","./Badge.0ce662e4.js","./FilepathItem.vue.7eb51d4e.js","./editor.6dcc09c7.js","./NSectionBlock.4824dc31.js","./NIconTitle.vue.811968a5.js","./NSectionBlock.63c19da9.css","./LaunchPage.vue.63709998.js","./NMarkdown.vue.f8a61172.js","./client.ce74bb6b.js","./NPanelGrids.afa6e237.js","./HelpFab.vue.ebcc1356.js","./NIconButton.vue.13275ce3.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:qr?.name??"modules-payload",path:qr?.path??"/modules/payload",meta:qr||{},alias:qr?.alias||[],redirect:qr?.redirect||void 0,component:()=>ke(()=>import("./payload.4878fb79.js"),["./payload.4878fb79.js","./StateEditor.vue.b9b04885.js","./NIconButton.vue.13275ce3.js","./json-editor-vue.cb8f6785.js","./NSectionBlock.4824dc31.js","./NIconTitle.vue.811968a5.js","./NSectionBlock.63c19da9.css","./HelpFab.vue.ebcc1356.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Kr?.name??"modules-plugins",path:Kr?.path??"/modules/plugins",meta:Kr||{},alias:Kr?.alias||[],redirect:Kr?.redirect||void 0,component:()=>ke(()=>import("./plugins.92e36c4c.js"),["./plugins.92e36c4c.js","./FilepathItem.vue.7eb51d4e.js","./editor.6dcc09c7.js","./Badge.0ce662e4.js","./DurationDisplay.vue.9fa7b27d.js","./NSectionBlock.4824dc31.js","./NIconTitle.vue.811968a5.js","./NSectionBlock.63c19da9.css","./HelpFab.vue.ebcc1356.js","./NIconButton.vue.13275ce3.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Xr?.name??"modules-runtime-configs",path:Xr?.path??"/modules/runtime-configs",meta:Xr||{},alias:Xr?.alias||[],redirect:Xr?.redirect||void 0,component:()=>ke(()=>import("./runtime-configs.c13ac314.js"),["./runtime-configs.c13ac314.js","./StateEditor.vue.b9b04885.js","./NIconButton.vue.13275ce3.js","./json-editor-vue.cb8f6785.js","./NSectionBlock.4824dc31.js","./NIconTitle.vue.811968a5.js","./NSectionBlock.63c19da9.css","./HelpFab.vue.ebcc1356.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Yr?.name??"modules-server-routes",path:Yr?.path??"/modules/server-routes",meta:Yr||{},alias:Yr?.alias||[],redirect:Yr?.redirect||void 0,component:()=>ke(()=>import("./server-routes.dae9cba0.js"),["./server-routes.dae9cba0.js","./Navbar.vue.76f856f0.js","./NTextInput.vue.efd43a47.js","./Badge.0ce662e4.js","./NSelect.vue.2f75a7b4.js","./CodeSnippets.vue.63e1babe.js","./NCodeBlock.vue.3fea7f9d.js","./client.ce74bb6b.js","./NCodeBlock.cf3ce05b.css","./editor.6dcc09c7.js","./NPanelGrids.afa6e237.js","./constants.d7bcda3c.js","./PanelLeftRight.vue.9e8aa6b8.js","./fuse.esm.88e2763d.js"],import.meta.url).then(e=>e.default||e)},{name:Jr?.name??"modules-storage",path:Jr?.path??"/modules/storage",meta:Jr||{},alias:Jr?.alias||[],redirect:Jr?.redirect||void 0,component:()=>ke(()=>import("./storage.d543849f.js"),["./storage.d543849f.js","./NIconButton.vue.13275ce3.js","./NSelect.vue.2f75a7b4.js","./NTextInput.vue.efd43a47.js","./NLink.vue.8becbaf2.js","./NPanelGrids.afa6e237.js","./PanelLeftRight.vue.9e8aa6b8.js","./FilepathItem.vue.7eb51d4e.js","./editor.6dcc09c7.js","./json-editor-vue.cb8f6785.js"],import.meta.url).then(e=>e.default||e)},{name:Qr?.name??"modules-terminals",path:Qr?.path??"/modules/terminals",meta:Qr||{},alias:Qr?.alias||[],redirect:Qr?.redirect||void 0,component:()=>ke(()=>import("./terminals.dcdca739.js"),["./terminals.dcdca739.js","./NIconButton.vue.13275ce3.js","./terminals.d1dcf297.css"],import.meta.url).then(e=>e.default||e)},{name:Zr?.name??"modules-virtual-files",path:Zr?.path??"/modules/virtual-files",meta:Zr||{},alias:Zr?.alias||[],redirect:Zr?.redirect||void 0,component:()=>ke(()=>import("./virtual-files.3a24df07.js"),["./virtual-files.3a24df07.js","./Navbar.vue.76f856f0.js","./NTextInput.vue.efd43a47.js","./NCodeBlock.vue.3fea7f9d.js","./client.ce74bb6b.js","./NCodeBlock.cf3ce05b.css","./NPanelGrids.afa6e237.js","./PanelLeftRight.vue.9e8aa6b8.js","./HelpFab.vue.ebcc1356.js","./NIconButton.vue.13275ce3.js","./HelpFab.f179afc3.css","./fuse.esm.88e2763d.js","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:es?.name??"settings",path:es?.path??"/settings",meta:es||{},alias:es?.alias||[],redirect:es?.redirect||void 0,component:()=>ke(()=>import("./settings.fcb97906.js"),["./settings.fcb97906.js","./NIconTitle.vue.811968a5.js","./NSwitch.vue.ae05571e.js","./NSelect.vue.2f75a7b4.js","./NCheckbox.vue.a470be6e.js"],import.meta.url).then(e=>e.default||e)}],TS={scrollBehavior(e,t,n){const r=Re();let s=n||void 0;if(!s&&t&&e&&e.meta.scrollToTop!==!1&&$S(t,e)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:uf(e.hash)}}const o=a=>!!(a.meta.pageTransition??va),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(a=>{r.hooks.hookOnce(i,async()=>{await Lt(),e.hash&&(s={el:e.hash,top:uf(e.hash)}),a(s)})})}};function uf(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function $S(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const SS={},tn={...SS,...TS},PS=wh(async e=>{let t,n;if(!e.meta?.validate)return;const r=Re(),s=gt();if(([t,n]=xo(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=ii({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=s.beforeResolve(l=>{if(a(),l===e){const c=s.afterEach(async()=>{c(),await r.runWithContext(()=>zn(i)),window.history.pushState({},"",e.fullPath)});return!1}})}),xS=wh(e=>{if(e.path==="/"&&!dS.value)return Eh("/modules/overview")}),kS=[PS,xS],Ra={};function AS(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){const a=s.includes(e.slice(o))?e.slice(o).length:1;let l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Ac(l,"")}return Ac(n,e)+r+s}const RS=mt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=gl().app.baseURL;tn.hashMode&&!r.includes("#")&&(r+="#");const s=tn.history?.(r)??(tn.hashMode?k0(r):Sh(r)),o=tn.routes?.(cf)??cf;let i;const a=AS(r,window.location),l=fb({...tn,scrollBehavior:(S,P,v)=>{if(P===At){i=v;return}return l.options.scrollBehavior=tn.scrollBehavior,tn.scrollBehavior?.(S,At,i||v)},history:s,routes:o});e.vueApp.use(l);const c=Cn(l.currentRoute.value);l.afterEach((S,P)=>{c.value=P}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const f=Cn(l.resolve(a)),u=()=>{f.value=l.currentRoute.value};e.hook("page:finish",u),l.afterEach((S,P)=>{S.matched[0]?.components?.default===P.matched[0]?.components?.default&&u()});const d={};for(const S in f.value)d[S]=de(()=>f.value[S]);e._route=at(d),e._middleware=e._middleware||{global:[],named:{}};const m=oi();try{[t,n]=xo(()=>l.isReady()),await t,n()}catch(S){[t,n]=xo(()=>e.runWithContext(()=>zn(S))),await t,n()}const g=Bn("_layout");return l.beforeEach(async(S,P)=>{S.meta=at(S.meta),e.isHydrating&&g.value&&!Nn(S.meta.layout)&&(S.meta.layout=g.value),e._processingMiddleware=!0;{const v=new Set([...kS,...e._middleware.global]);for(const p of S.matched){const w=p.meta.middleware;if(w)if(Array.isArray(w))for(const E of w)v.add(E);else v.add(w)}for(const p of v){const w=typeof p=="string"?e._middleware.named[p]||await Ra[p]?.().then(T=>T.default||T):p;if(!w)throw new Error(`Unknown route middleware: '${p}'.`);const E=await e.runWithContext(()=>w(S,P));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const T=E||ba({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>zn(T)),!1}if(E||E===!1)return E}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(S,P,v)=>{delete e._processingMiddleware,!e.isHydrating&&m.value&&await e.runWithContext(i0),S.matched.length===0&&await e.runWithContext(()=>zn(ba({statusCode:404,fatal:!1,statusMessage:`Page not found: ${S.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=tn.scrollBehavior}catch(S){await e.runWithContext(()=>zn(S))}}),{provide:{router:l}}}},1),qn={default:()=>ke(()=>import("./default.b5c163f2.js"),[],import.meta.url).then(e=>e.default||e),full:()=>ke(()=>import("./full.1ccd4009.js"),[],import.meta.url).then(e=>e.default||e),none:()=>ke(()=>import("./none.1d054cdf.js"),[],import.meta.url).then(e=>e.default||e)},OS=mt({name:"nuxt:prefetch",setup(e){const t=gt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof qn[r]=="function"&&await qn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Tr(n))return;const r=t.resolve(n);if(!r)return;const s=r?.meta?.layout;let o=Array.isArray(r?.meta?.middleware)?r?.meta?.middleware:[r?.meta?.middleware];o=o.filter(i=>typeof i=="string");for(const i of o)typeof Ra[i]=="function"&&Ra[i]();s&&typeof qn[s]=="function"&&qn[s]()})}}),NS="__NUXT_COLOR_MODE__",CS="ColorScheme",LS="nuxt-color-mode",jt=window[NS],IS=mt(e=>{const t=Bn("color-mode",()=>at({preference:jt.preference,value:jt.value,unknown:!1,forced:!1})).value;gt().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?jt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=jt.getColorScheme())}))}Ce(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=jt.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(LS,s))},{immediate:!0}),Ce(()=>t.value,(s,o)=>{jt.removeColorScheme(o),jt.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=jt.preference,t.value=jt.value,t.unknown=!1)}),e.provide("colorMode",t)});const jS=mt(()=>{}),MS=mt({name:"nuxt:chunk-reload",setup(e){const t=gt(),n=gl(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)}),t.onError((s,o)=>{if(r.has(s)){const a="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:Ns(n.app.baseURL,o.fullPath);Nb({path:a,persistState:!0})}})}}),DS=mt({name:"nuxt:payload",setup(e){Qy()&&(e.hooks.hook("link:prefetch",async t=>{Cs(t).protocol||await Fc(t)}),gt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Fc(t.path);r&&Object.assign(e.static.data,r.data)}))}});function Jt(e){return e.split("-")[0]}function nr(e){return e.split("-")[1]}function js(e){return["top","bottom"].includes(Jt(e))?"x":"y"}function jl(e){return e==="y"?"height":"width"}function ff(e){let{reference:t,floating:n,placement:r}=e;const s=t.x+t.width/2-n.width/2,o=t.y+t.height/2-n.height/2;let i;switch(Jt(r)){case"top":i={x:s,y:t.y-n.height};break;case"bottom":i={x:s,y:t.y+t.height};break;case"right":i={x:t.x+t.width,y:o};break;case"left":i={x:t.x-n.width,y:o};break;default:i={x:t.x,y:t.y}}const a=js(r),l=jl(a);switch(nr(r)){case"start":i[a]=i[a]-(t[l]/2-n[l]/2);break;case"end":i[a]=i[a]+(t[l]/2-n[l]/2);break}return i}const FS=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n;let a=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:l,y:c}=ff({...a,placement:r}),f=r,u={};for(let d=0;d<o.length;d++){const{name:m,fn:g}=o[d],{x:S,y:P,data:v,reset:p}=await g({x:l,y:c,initialPlacement:r,placement:f,strategy:s,middlewareData:u,rects:a,platform:i,elements:{reference:e,floating:t}});if(l=S??l,c=P??c,u={...u,[m]:v??{}},p){typeof p=="object"&&(p.placement&&(f=p.placement),p.rects&&(a=p.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):p.rects),{x:l,y:c}=ff({...a,placement:f})),d=-1;continue}}return{x:l,y:c,placement:f,strategy:s,middlewareData:u}};function BS(e){return{top:0,right:0,bottom:0,left:0,...e}}function $p(e){return typeof e!="number"?BS(e):{top:e,right:e,bottom:e,left:e}}function Oa(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function mi(e,t){t===void 0&&(t={});const{x:n,y:r,platform:s,rects:o,elements:i,strategy:a}=e,{boundary:l="clippingParents",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:u=!1,padding:d=0}=t,m=$p(d),S=i[u?f==="floating"?"reference":"floating":f],P=await s.getClippingClientRect({element:await s.isElement(S)?S:S.contextElement||await s.getDocumentElement({element:i.floating}),boundary:l,rootBoundary:c}),v=Oa(await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...o.floating,x:n,y:r}:o.reference,offsetParent:await s.getOffsetParent({element:i.floating}),strategy:a}));return{top:P.top-v.top+m.top,bottom:v.bottom-P.bottom+m.bottom,left:P.left-v.left+m.left,right:v.right-P.right+m.right}}const HS=Math.min,En=Math.max;function Na(e,t,n){return En(e,HS(t,n))}const US=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:s,y:o,placement:i,rects:a,platform:l}=t;if(n==null)return{};const c=$p(r),f={x:s,y:o},u=Jt(i),d=js(u),m=jl(d),g=await l.getDimensions({element:n}),S=d==="y"?"top":"left",P=d==="y"?"bottom":"right",v=a.reference[m]+a.reference[d]-f[d]-a.floating[m],p=f[d]-a.reference[d],w=await l.getOffsetParent({element:n}),E=w?d==="y"?w.clientHeight||0:w.clientWidth||0:0,T=v/2-p/2,h=c[S],b=E-g[m]-c[P],y=E/2-g[m]/2+T,_=Na(h,y,b);return{data:{[d]:_,centerOffset:y-_}}}}),WS={left:"right",right:"left",bottom:"top",top:"bottom"};function Mo(e){return e.replace(/left|right|bottom|top/g,t=>WS[t])}function Sp(e,t){const n=nr(e)==="start",r=js(e),s=jl(r);let o=r==="x"?n?"right":"left":n?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Mo(o)),{main:o,cross:Mo(o)}}const GS={start:"end",end:"start"};function Ca(e){return e.replace(/start|end/g,t=>GS[t])}const VS=["top","right","bottom","left"],zS=VS.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);function qS(e,t,n){return(e?[...n.filter(s=>nr(s)===e),...n.filter(s=>nr(s)!==e)]:n.filter(s=>Jt(s)===s)).filter(s=>e?nr(s)===e||(t?Ca(s)!==s:!1):!0)}const KS=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,s,o,i,a;const{x:l,y:c,rects:f,middlewareData:u,placement:d}=t,{alignment:m=null,allowedPlacements:g=zS,autoAlignment:S=!0,...P}=e;if((n=u.autoPlacement)!=null&&n.skip)return{};const v=qS(m,S,g),p=await mi(t,P),w=(r=(s=u.autoPlacement)==null?void 0:s.index)!=null?r:0,E=v[w],{main:T,cross:h}=Sp(E,f);if(d!==E)return{x:l,y:c,reset:{placement:v[0]}};const b=[p[Jt(E)],p[T],p[h]],y=[...(o=(i=u.autoPlacement)==null?void 0:i.overflows)!=null?o:[],{placement:E,overflows:b}],_=v[w+1];if(_)return{data:{index:w+1,overflows:y},reset:{placement:_}};const $=y.slice().sort((k,A)=>k.overflows[0]-A.overflows[0]),x=(a=$.find(k=>{let{overflows:A}=k;return A.every(R=>R<=0)}))==null?void 0:a.placement;return{data:{skip:!0},reset:{placement:x??$[0].placement}}}}};function XS(e){const t=Mo(e);return[Ca(e),t,Ca(t)]}const YS=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:a}=t;if((n=o.flip)!=null&&n.skip)return{};const{mainAxis:l=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:u="bestFit",flipAlignment:d=!0,...m}=e,g=Jt(s),P=f||(g===a||!d?[Mo(a)]:XS(a)),v=[a,...P],p=await mi(t,m),w=[];let E=((r=o.flip)==null?void 0:r.overflows)||[];if(l&&w.push(p[g]),c){const{main:y,cross:_}=Sp(s,i);w.push(p[y],p[_])}if(E=[...E,{placement:s,overflows:w}],!w.every(y=>y<=0)){var T,h;const y=((T=(h=o.flip)==null?void 0:h.index)!=null?T:0)+1,_=v[y];if(_)return{data:{index:y,overflows:E},reset:{placement:_}};let $="bottom";switch(u){case"bestFit":{var b;const x=(b=E.slice().sort((k,A)=>k.overflows.filter(R=>R>0).reduce((R,I)=>R+I,0)-A.overflows.filter(R=>R>0).reduce((R,I)=>R+I,0))[0])==null?void 0:b.placement;x&&($=x);break}case"initialPlacement":$=a;break}return{data:{skip:!0},reset:{placement:$}}}return{}}}};function JS(e){let{placement:t,rects:n,value:r}=e;const s=Jt(t),o=["left","top"].includes(s)?-1:1,i=typeof r=="function"?r({...n,placement:t}):r,{mainAxis:a,crossAxis:l}=typeof i=="number"?{mainAxis:i,crossAxis:0}:{mainAxis:0,crossAxis:0,...i};return js(s)==="x"?{x:l,y:a*o}:{x:a*o,y:l}}const QS=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(t){const{x:n,y:r,placement:s,rects:o}=t,i=JS({placement:s,rects:o,value:e});return{x:n+i.x,y:r+i.y,data:i}}}};function ZS(e){return e==="x"?"y":"x"}const eP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:P=>{let{x:v,y:p}=P;return{x:v,y:p}}},...l}=e,c={x:n,y:r},f=await mi(t,l),u=js(Jt(s)),d=ZS(u);let m=c[u],g=c[d];if(o){const P=u==="y"?"top":"left",v=u==="y"?"bottom":"right",p=m+f[P],w=m-f[v];m=Na(p,m,w)}if(i){const P=d==="y"?"top":"left",v=d==="y"?"bottom":"right",p=g+f[P],w=g-f[v];g=Na(p,g,w)}const S=a.fn({...t,[u]:m,[d]:g});return{...S,data:{x:S.x-n,y:S.y-r}}}}},tP=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n;const{placement:r,rects:s,middlewareData:o}=t,{apply:i,...a}=e;if((n=o.size)!=null&&n.skip)return{};const l=await mi(t,a),c=Jt(r),f=nr(r)==="end";let u,d;c==="top"||c==="bottom"?(u=c,d=f?"left":"right"):(d=c,u=f?"top":"bottom");const m=En(l.left,0),g=En(l.right,0),S=En(l.top,0),P=En(l.bottom,0),v={height:s.floating.height-(["left","right"].includes(r)?2*(S!==0||P!==0?S+P:En(l.top,l.bottom)):l[u]),width:s.floating.width-(["top","bottom"].includes(r)?2*(m!==0||g!==0?m+g:En(l.left,l.right)):l[d])};return i?.({...v,...s}),{data:{skip:!0},reset:{rects:!0}}}}};function Ml(e){return e?.toString()==="[object Window]"}function gn(e){if(e==null)return window;if(!Ml(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function gi(e){return gn(e).getComputedStyle(e)}function qt(e){return Ml(e)?"":e?(e.nodeName||"").toLowerCase():""}function Kt(e){return e instanceof gn(e).HTMLElement}function Do(e){return e instanceof gn(e).Element}function nP(e){return e instanceof gn(e).Node}function Pp(e){const t=gn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function vi(e){const{overflow:t,overflowX:n,overflowY:r}=gi(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function rP(e){return["table","td","th"].includes(qt(e))}function xp(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=gi(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 df=Math.min,ms=Math.max,Fo=Math.round;function mr(e,t){t===void 0&&(t=!1);const n=e.getBoundingClientRect();let r=1,s=1;return t&&Kt(e)&&(r=e.offsetWidth>0&&Fo(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Fo(n.height)/e.offsetHeight||1),{width:n.width/r,height:n.height/s,top:n.top/s,right:n.right/r,bottom:n.bottom/s,left:n.left/r,x:n.left/r,y:n.top/s}}function vn(e){return((nP(e)?e.ownerDocument:e.document)||window.document).documentElement}function _i(e){return Ml(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function kp(e){return mr(vn(e)).left+_i(e).scrollLeft}function sP(e){const t=mr(e);return Fo(t.width)!==e.offsetWidth||Fo(t.height)!==e.offsetHeight}function oP(e,t,n){const r=Kt(t),s=vn(t),o=mr(e,r&&sP(t));let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((qt(t)!=="body"||vi(s))&&(i=_i(t)),Kt(t)){const l=mr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=kp(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}function yi(e){return qt(e)==="html"?e:e.assignedSlot||e.parentNode||(Pp(e)?e.host:null)||vn(e)}function hf(e){return!Kt(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function iP(e){let t=yi(e);for(;Kt(t)&&!["html","body"].includes(qt(t));){if(xp(t))return t;t=t.parentNode}return null}function La(e){const t=gn(e);let n=hf(e);for(;n&&rP(n)&&getComputedStyle(n).position==="static";)n=hf(n);return n&&(qt(n)==="html"||qt(n)==="body"&&getComputedStyle(n).position==="static"&&!xp(n))?t:n||iP(e)||t}function pf(e){return{width:e.offsetWidth,height:e.offsetHeight}}function aP(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=Kt(n),o=vn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((s||!s&&r!=="fixed")&&((qt(n)!=="body"||vi(o))&&(i=_i(n)),Kt(n))){const l=mr(n,!0);a.x=l.x+n.clientLeft,a.y=l.y+n.clientTop}return{...t,x:t.x-i.scrollLeft+a.x,y:t.y-i.scrollTop+a.y}}function lP(e){const t=gn(e),n=vn(e),r=t.visualViewport;let s=n.clientWidth,o=n.clientHeight,i=0,a=0;return r&&(s=r.width,o=r.height,Math.abs(t.innerWidth/r.scale-r.width)<.01&&(i=r.offsetLeft,a=r.offsetTop)),{width:s,height:o,x:i,y:a}}function cP(e){var t;const n=vn(e),r=_i(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=ms(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),i=ms(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let a=-r.scrollLeft+kp(e);const l=-r.scrollTop;return gi(s||n).direction==="rtl"&&(a+=ms(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:i,x:a,y:l}}function Ap(e){return["html","body","#document"].includes(qt(e))?e.ownerDocument.body:Kt(e)&&vi(e)?e:Ap(yi(e))}function Bo(e,t){var n;t===void 0&&(t=[]);const r=Ap(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=gn(r),i=s?[o].concat(o.visualViewport||[],vi(r)?r:[]):r,a=t.concat(i);return s?a:a.concat(Bo(yi(i)))}function uP(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Pp(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function fP(e){const t=mr(e),n=t.top+e.clientTop,r=t.left+e.clientLeft;return{top:n,left:r,x:r,y:n,right:r+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function mf(e,t){return t==="viewport"?Oa(lP(e)):Do(t)?fP(t):Oa(cP(vn(e)))}function dP(e){const t=Bo(yi(e)),r=["absolute","fixed"].includes(gi(e).position)&&Kt(e)?La(e):e;return Do(r)?t.filter(s=>Do(s)&&uP(s,r)&&qt(s)!=="body"):[]}function hP(e){let{element:t,boundary:n,rootBoundary:r}=e;const o=[...n==="clippingParents"?dP(t):[].concat(n),r],i=o[0],a=o.reduce((l,c)=>{const f=mf(t,c);return l.top=ms(f.top,l.top),l.right=df(f.right,l.right),l.bottom=df(f.bottom,l.bottom),l.left=ms(f.left,l.left),l},mf(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 pP={getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:oP(t,La(n),r),floating:{...pf(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>aP(e),getOffsetParent:e=>{let{element:t}=e;return La(t)},isElement:e=>Do(e),getDocumentElement:e=>{let{element:t}=e;return vn(t)},getClippingClientRect:e=>hP(e),getDimensions:e=>{let{element:t}=e;return pf(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},mP=(e,t,n)=>FS(e,t,{platform:pP,...n});var gP=Object.defineProperty,vP=Object.defineProperties,_P=Object.getOwnPropertyDescriptors,gf=Object.getOwnPropertySymbols,yP=Object.prototype.hasOwnProperty,bP=Object.prototype.propertyIsEnumerable,vf=(e,t,n)=>t in e?gP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ut=(e,t)=>{for(var n in t||(t={}))yP.call(t,n)&&vf(e,n,t[n]);if(gf)for(var n of gf(t))bP.call(t,n)&&vf(e,n,t[n]);return e},Ms=(e,t)=>vP(e,_P(t));function Rp(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Rp(e[n],t[n]):e[n]=t[n])}const Wt={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 gr(e,t){let n=Wt.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Wt.themes[n.$extend]||{}:(n=null,r=Wt[t]):n=null;while(n);return r}function wP(e){const t=[e];let n=Wt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Wt.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function _f(e){const t=[e];let n=Wt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Wt.themes[n.$extend]||{}):n=null;while(n);return t}let jn=!1;if(typeof window<"u"){jn=!1;try{const e=Object.defineProperty({},"passive",{get(){jn=!0}});window.addEventListener("test",null,e)}catch{}}let Op=!1;typeof window<"u"&&typeof navigator<"u"&&(Op=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Np=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),yf={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},bf={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function wf(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Xi(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const bt=[];let wn=null;const Ef={};function Tf(e){let t=Ef[e];return t||(t=Ef[e]=[]),t}let Ia=function(){};typeof window<"u"&&(Ia=window.Element);function Ee(e){return function(t){return gr(t.theme,e)}}const Yi="__floating-vue__popper";var Cp=()=>xe({name:"VPopper",provide(){return{[Yi]:{parentPopper:this}}},inject:{[Yi]:{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:Ee("disabled")},positioningDisabled:{type:Boolean,default:Ee("positioningDisabled")},placement:{type:String,default:Ee("placement"),validator:e=>Np.includes(e)},delay:{type:[String,Number,Object],default:Ee("delay")},distance:{type:[Number,String],default:Ee("distance")},skidding:{type:[Number,String],default:Ee("skidding")},triggers:{type:Array,default:Ee("triggers")},showTriggers:{type:[Array,Function],default:Ee("showTriggers")},hideTriggers:{type:[Array,Function],default:Ee("hideTriggers")},popperTriggers:{type:Array,default:Ee("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Ee("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Ee("popperHideTriggers")},container:{type:[String,Object,Ia,Boolean],default:Ee("container")},boundary:{type:[String,Ia],default:Ee("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Ee("strategy")},autoHide:{type:[Boolean,Function],default:Ee("autoHide")},handleResize:{type:Boolean,default:Ee("handleResize")},instantMove:{type:Boolean,default:Ee("instantMove")},eagerMount:{type:Boolean,default:Ee("eagerMount")},popperClass:{type:[String,Array,Object],default:Ee("popperClass")},computeTransformOrigin:{type:Boolean,default:Ee("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Ee("autoMinSize")},autoSize:{type:[Boolean,String],default:Ee("autoSize")},autoMaxSize:{type:Boolean,default:Ee("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Ee("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Ee("preventOverflow")},overflowPadding:{type:[Number,String],default:Ee("overflowPadding")},arrowPadding:{type:[Number,String],default:Ee("arrowPadding")},arrowOverflow:{type:Boolean,default:Ee("arrowOverflow")},flip:{type:Boolean,default:Ee("flip")},shift:{type:Boolean,default:Ee("shift")},shiftCrossAxis:{type:Boolean,default:Ee("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Ee("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:Ms(Ut({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Yi])==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:Ut(Ut({shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,s;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e,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(QS({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?t.middleware.push(KS({alignment:(e=this.placement.split("-")[1])!=null?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(eP({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&t.middleware.push(YS({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(US({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:o,middlewareData:i})=>{let a;const{centerOffset:l}=i.arrow;return s.startsWith("top")||s.startsWith("bottom")?a=Math.abs(l)>o.reference.width/2:a=Math.abs(l)>o.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const s=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:a})=>{var l;if((l=a.autoSize)!=null&&l.skip)return{};let c,f;return i.startsWith("top")||i.startsWith("bottom")?c=o.reference.width:f=o.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[s==="min"?"minHeight":s==="max"?"maxHeight":"height"]=f!=null?`${f}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(tP({boundary:this.boundary,padding:this.overflowPadding,apply:({width:s,height:o})=>{this.$_innerNode.style.maxWidth=s!=null?`${s}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const r=await mP(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:r.x,y:r.y,placement:r.placement,strategy:r.strategy,arrow:Ut(Ut({},r.middlewareData.arrow),r.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),wn&&this.instantMove&&wn.instantMove&&wn!==this.parentPopper){wn.$_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&&(wn=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 Xi(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Bo(this.$_referenceNode),...Bo(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(r.left+n.offsetLeft),o=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${s}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<bt.length;n++)t=bt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}bt.push(this),document.body.classList.add("v-popper--some-open");for(const t of _f(this.theme))Tf(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 Xi(),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,wf(bt,this),bt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of _f(this.theme)){const r=Tf(n);wf(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}wn===this&&(wn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=gr(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 Xi(),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,yf,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],yf,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,bf,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],bf,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,jn?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,s){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:s,handler:o}=n;!e||e===s?r.forEach(i=>i.removeEventListener(s,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(gs>=e.left&&gs<=e.right&&vs>=e.top&&vs<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=gs-rn,r=vs-sn,o=t.left+t.width/2-rn+(t.top+t.height/2)-sn+t.width+t.height,i=rn+n*o,a=sn+r*o;return ao(rn,sn,i,a,t.left,t.top,t.left,t.bottom)||ao(rn,sn,i,a,t.left,t.top,t.right,t.top)||ao(rn,sn,i,a,t.right,t.top,t.right,t.bottom)||ao(rn,sn,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"&&(Op?(document.addEventListener("touchstart",$f,jn?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",TP,jn?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",$f,!0),window.addEventListener("click",EP,!0)),window.addEventListener("resize",PP));function $f(e){for(let t=0;t<bt.length;t++){const n=bt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function EP(e){Lp(e)}function TP(e){Lp(e,!0)}function Lp(e,t=!1){const n={};for(let r=bt.length-1;r>=0;r--){const s=bt[r];try{const o=s.$_containsGlobalTarget=$P(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&Sf(s,o,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=s.parentPopper;for(;i&&Sf(i,i.$_containsGlobalTarget,e);){i.$_handleGlobalClose(e,t);i=i.parentPopper}}})}catch{}}}function $P(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Sf(e,t,n){return n.closeAllPopover||n.closePopover&&t||SP(e,n)&&!t}function SP(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function PP(e){for(let t=0;t<bt.length;t++)bt[t].$_computePosition(e)}let rn=0,sn=0,gs=0,vs=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{rn=gs,sn=vs,gs=e.clientX,vs=e.clientY},jn?{passive:!0}:void 0);function ao(e,t,n,r,s,o,i,a){const l=((i-s)*(t-o)-(a-o)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t)),c=((n-e)*(t-o)-(r-t)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}var bi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const xP={extends:Cp()};function kP(e,t,n,r,s,o){return ie(),be("div",{ref:"reference",class:Be(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Et(e.$slots,"default",Hf(dl(e.slotData)))],2)}var AP=bi(xP,[["render",kP]]);function RP(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let mo;function ja(){ja.init||(ja.init=!0,mo=RP()!==-1)}var wi={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ja(),Lt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",mo&&this.$el.appendChild(e),e.data="about:blank",mo||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&&(!mo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const OP=lg();ig("data-v-b329ee4c");const NP={class:"resize-observer",tabindex:"-1"};ag();const CP=OP((e,t,n,r,s,o)=>(ie(),Le("div",NP)));wi.render=CP;wi.__scopeId="data-v-b329ee4c";wi.__file="src/components/ResizeObserver.vue";var Ip=(e="theme")=>({computed:{themeClass(){return wP(this[e])}}});const LP=xe({name:"VPopperContent",components:{ResizeObserver:wi},mixins:[Ip()],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}}}),IP=["id","aria-hidden","tabindex","data-popper-placement"],jP={ref:"inner",class:"v-popper__inner"},MP=pe("div",{class:"v-popper__arrow-outer"},null,-1),DP=pe("div",{class:"v-popper__arrow-inner"},null,-1),FP=[MP,DP];function BP(e,t,n,r,s,o){const i=hn("ResizeObserver");return ie(),be("div",{id:e.popperId,ref:"popover",class:Be(["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:ln(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]=Uv(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[pe("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),pe("div",{class:"v-popper__wrapper",style:ln(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[pe("div",jP,[e.mounted?(ie(),be(Ne,{key:0},[pe("div",null,[Et(e.$slots,"default")]),e.handleResize?(ie(),Le(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):et("",!0)],64)):et("",!0)],512),pe("div",{ref:"arrow",class:"v-popper__arrow-container",style:ln(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},FP,4)],4)],46,IP)}var jp=bi(LP,[["render",BP]]),Mp={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 HP=xe({name:"VPopperWrapper",components:{Popper:AP,PopperContent:jp},mixins:[Mp,Ip("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 UP(e,t,n,r,s,o){const i=hn("PopperContent"),a=hn("Popper");return ie(),Le(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Be([e.themeClass])},{default:Se(({popperId:l,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:d,show:m,hide:g,handleResize:S,onResize:P,classes:v,result:p})=>[Et(e.$slots,"default",{shown:c,show:m,hide:g}),fe(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:f,"skip-transition":u,"auto-hide":d,"handle-resize":S,classes:v,result:p,onHide:g,onResize:P},{default:Se(()=>[Et(e.$slots,"popper",{shown:c,hide:g})]),_: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 Dl=bi(HP,[["render",UP]]);const WP=xe(Ms(Ut({},Dl),{name:"VDropdown",vPopperTheme:"dropdown"})),GP=xe(Ms(Ut({},Dl),{name:"VMenu",vPopperTheme:"menu"})),VP=xe(Ms(Ut({},Dl),{name:"VTooltip",vPopperTheme:"tooltip"})),zP=xe({name:"VTooltipDirective",components:{Popper:Cp(),PopperContent:jp},mixins:[Mp],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>gr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>gr(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(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),qP=["innerHTML"],KP=["textContent"];function XP(e,t,n,r,s,o){const i=hn("PopperContent"),a=hn("Popper");return ie(),Le(a,lr({ref:"popper"},e.$attrs,{theme:e.theme,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:Se(({popperId:l,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:d,hide:m,handleResize:g,onResize:S,classes:P,result:v})=>[fe(i,{ref:"popperContent",class:Be({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:f,"skip-transition":u,"auto-hide":d,"handle-resize":g,classes:P,result:v,onHide:m,onResize:S},{default:Se(()=>[e.html?(ie(),be("div",{key:0,innerHTML:e.finalContent},null,8,qP)):(ie(),be("div",{key:1,textContent:On(e.finalContent)},null,8,KP))]),_: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 YP=bi(zP,[["render",XP]]);const Dp="v-popper--has-tooltip";function JP(e,t){let n=e.placement;if(!n&&t)for(const r of Np)t[r]&&(n=r);return n||(n=gr(e.theme||"tooltip","placement")),n}function Fp(e,t,n){let r;const s=typeof t;return s==="string"?r={content:t}:t&&s==="object"?r=t:r={content:!1},r.placement=JP(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let Ji,As,QP=0;function ZP(){if(Ji)return;As=Z([]),Ji=Qd({name:"VTooltipDirectiveApp",setup(){return{directives:As}},render(){return this.directives.map(t=>qe(YP,Ms(Ut({},t.options),{shown:t.shown||t.options.shown,key:t.id})))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Ji.mount(e)}function ex(e,t,n){ZP();const r=Z(Fp(e,t,n)),s=Z(!1),o={id:QP++,options:r,shown:s};return As.value.push(o),e.classList&&e.classList.add(Dp),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function Bp(e){if(e.$_popper){const t=As.value.indexOf(e.$_popper.item);t!==-1&&As.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Dp)}function Pf(e,{value:t,modifiers:n}){const r=Fp(e,t,n);if(!r.content||gr(r.theme||"tooltip","disabled"))Bp(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=ex(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}var tx={beforeMount:Pf,updated:Pf,beforeUnmount(e){Bp(e)}};function xf(e){e.addEventListener("click",Hp),e.addEventListener("touchstart",Up,jn?{passive:!0}:!1)}function kf(e){e.removeEventListener("click",Hp),e.removeEventListener("touchstart",Up),e.removeEventListener("touchend",Wp),e.removeEventListener("touchcancel",Gp)}function Hp(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Up(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",Wp),t.addEventListener("touchcancel",Gp)}}function Wp(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Gp(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var nx={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&xf(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?xf(e):kf(e))},beforeUnmount(e){kf(e)}};function rx(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Rp(Wt,t),e.directive("tooltip",tx),e.directive("close-popper",nx),e.component("VTooltip",VP),e.component("VDropdown",WP),e.component("VMenu",GP))}const sx={version:"2.0.0-beta.20",install:rx,options:Wt},ox=mt(e=>{e.vueApp.use(sx)}),ix=mt(()=>{const e=Ke(),t=tS(),n=gt();window.__NUXT_DEVTOOLS_VIEW__={setClient(r){e.value!==r&&(e.value=r,r.hooks.hook("host:update:reactivity",()=>{e.value&&(e.value={...e.value})}),r.hooks.hook("host:inspector:close",()=>{n.currentRoute.value.path!=="/modules/custom-builtin-vscode"&&n.currentRoute.value.path==="/__inspecting"&&n.go(-1)}),r.hooks.hook("host:inspector:update",s=>{t.value=s}),r.hooks.hook("host:inspector:click",async(s,o,i,a)=>{const l=`./${o}:${i}:${a}`;await Ie.openInEditor(l)}),console.log("[nuxt-devtools] Client connected",r))}},n.afterEach(()=>{const r=n.currentRoute.value.path;r.includes("__")||e.value?.hooks.callHook("devtools:navigate",r)})}),ax=[l0,c0,u0,RS,OS,IS,jS,MS,DS,ox,ix],lx=xe({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=cx({duration:e.duration,throttle:e.throttle}),r=Re();return r.hook("page:start",n.start),r.hook("page:finish",n.finish),r.hook("vue:error",n.finish),Er(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 cx(e){const t=Z(0),n=Z(!1),r=de(()=>1e4/e.duration);let s=null,o=null;function i(){l(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,u()},e.throttle):(n.value=!0,u())}function a(){t.value=100,f()}function l(){clearInterval(s),clearTimeout(o),s=null,o=null}function c(d){t.value=Math.min(100,t.value+d)}function f(){l(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function u(){s=setInterval(()=>{c(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:l}}function ux(){const e=Symbol("singleton");return[function(n){pt()?.appContext.app.provide(e,n)},function(n){return tt(e,n)}]}const[fx,nR]=ux(),dx=xe({__name:"Notification",setup(e){const t=Z(!1),n=Z(),r=Z();return fx((s,o,i=1500)=>{r.value=s,n.value=o,t.value=!0,setTimeout(()=>{t.value=!1},i)}),(s,o)=>(ie(),be("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-50":"","text-center":"",class:Be(re(t)?"":"pointer-events-none overflow-hidden")},[pe("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","text-primary":"","transition-all":"","duration-300":"","bg-base":"",style:ln(re(t)?{}:{transform:"translateY(-300%)"}),class:Be(re(t)?"shadow":"shadow-none")},[re(n)?(ie(),be("div",{key:0,class:Be(re(n))},null,2)):et("",!0),pe("div",null,On(re(r)),1)],6)],2))}}),Ds=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},hx={},px={class:"n-loading n-panel-grids-center"},mx={class:"flex flex-col animate-pulse items-center text-lg"},gx=pe("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function vx(e,t){return ie(),be("div",px,[pe("div",mx,[gx,Et(e.$slots,"default",{},()=>[dt(" Loading... ")])])])}const _x=Ds(hx,[["render",vx]]),Vp=xe({__name:"NIcon",props:{icon:null},setup(e){return(t,n)=>(ie(),be("div",{class:Be(["n-icon",e.icon])},null,2))}}),zp=xe({__name:"NButton",props:{to:null,icon:null},setup(e){return(t,n)=>{const r=Vp;return ie(),Le(al(e.to?re(wl):"button"),lr({to:e.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:Se(()=>[Et(t.$slots,"icon",{},()=>[e.icon?(ie(),Le(r,{key:0,icon:e.icon,class:"n-button-icon"},null,8,["icon"])):et("",!0)]),Et(t.$slots,"default")]),_:3},16,["to"])}}}),yx=xe({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=Z(!1);return Yt(()=>{r.value=!0}),s=>{if(r.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=s.fallback||s.placeholder||"",a=s.fallbackTag||s.placeholderTag||"span";return be(a,n,i)}}}),bx={name:CS,props:{placeholder:String,tag:{type:String,default:"span"}}};function wx(e,t,n,r,s,o){const i=yx;return ie(),Le(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:Se(()=>[Et(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const Ex=Ds(bx,[["render",wx]]),Tx=xe({__name:"NDarkToggle",setup(e){const t=Cl(),n=de({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function s(i){if(!r||!i){n.value=!n.value;return}const a=i.clientX,l=i.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(l,innerHeight-l));document.startViewTransition(async()=>{n.value=!n.value,await Lt()}).ready.then(()=>{const u=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:n.value?[...u].reverse():u},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const o={mode:t,isDark:n,toggle:s};return(i,a)=>{const l=Ex;return ie(),Le(l,{tag:"span"},{default:Se(()=>[Et(i.$slots,"default",Hf(dl(o)))]),_:3})}}}),$x={key:0,px3:"",py2:"",border:"b base",flex:"~ col gap-1"},Sx=pe("div",{"text-sm":"",op50:""}," Dock devtools to ",-1),Px={flex:"~ gap-1","text-lg":""},xx={px3:"",py2:"",border:"b base",flex:"~ gap-2"},kx=pe("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),Ax=pe("div",{"carbon-settings-adjust":"","translate-y--1px":""},null,-1),Rx={px3:"",py2:"",flex:"~ gap2"},Ox=xe({__name:"DockingPanel",setup(e){const t=mS(),n=Ke(),r=Re();function s(){r.hooks.callHookParallel("app:data:refresh",Object.keys(r.payload.data)),n.value&&(n.value={...n.value})}function o(){location.reload()}return(i,a)=>{const l=zp,c=Tx;return ie(),be("div",null,[re(n)?(ie(),be("div",$x,[Sx,pe("div",Px,[pe("button",{"i-carbon-open-panel-filled-bottom":"",class:Be(re(t).position==="bottom"?"text-primary":"op50"),onClick:a[0]||(a[0]=f=>re(t).position="bottom")},null,2),pe("button",{"i-carbon-open-panel-filled-right":"",class:Be(re(t).position==="right"?"text-primary":"op50"),onClick:a[1]||(a[1]=f=>re(t).position="right")},null,2),pe("button",{"i-carbon-open-panel-filled-left":"",class:Be(re(t).position==="left"?"text-primary":"op50"),onClick:a[2]||(a[2]=f=>re(t).position="left")},null,2),pe("button",{"i-carbon-open-panel-filled-top":"",class:Be(re(t).position==="top"?"text-primary":"op50"),onClick:a[3]||(a[3]=f=>re(t).position="top")},null,2)])])):et("",!0),pe("div",xx,[fe(c,null,{default:Se(({toggle:f,isDark:u})=>[fe(l,{n:"sm primary",onClick:f},{default:Se(()=>[kx,dt(" "+On(u.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),fe(l,{n:"sm primary",to:"/settings"},{default:Se(()=>[Ax,dt(" Settings ")]),_:1})]),pe("div",Rx,[fe(l,{n:"solid primary xs",onClick:s},{default:Se(()=>[dt(" Refetch Data ")]),_:1}),fe(l,{n:"solid primary xs",onClick:o},{default:Se(()=>[dt(" Refresh Page ")]),_:1})])])}}}),Nx=["src","alt"],Cx=["title"],qp=xe({__name:"TabIcon",props:{icon:null,title:null,showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>e.icon&&(e.icon.startsWith("/")||e.icon.match(/^https?:/))?(ie(),be("img",lr({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:e.icon,alt:e.title}),null,16,Nx)):(ie(),be("div",lr({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:e.icon||"carbon-bring-forward",title:e.showTitle?e.title:void 0}),null,16,Cx))}}),Lx={"translate-y-0.5px":""},Ix={key:0,hidden:"","lg:block":""},jx=xe({__name:"SideNavItem",props:{tab:null},setup(e){const t=e,n=si(),r=de(()=>"badge"in t.tab&&t.tab.badge?.()),s=de(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=de(()=>n.path.startsWith(s.value));return(i,a)=>{const l=qp,c=wl,f=hn("VTooltip");return ie(),Le(f,{placement:"right"},{popper:Se(()=>[pe("div",null,On(e.tab.title),1),"extraTabVNode"in e.tab&&e.tab.extraTabVNode?(ie(),be("div",Ix,[(ie(),Le(al(e.tab.extraTabVNode)))])):et("",!0)]),default:Se(()=>[fe(c,{to:re(s),flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:a[0]||(a[0]=u=>"onClick"in e.tab&&e.tab.onClick?.())},{default:Se(()=>[fe(l,{"text-xl":"",icon:e.tab.icon,title:e.tab.title,"show-title":!1},null,8,["icon","title"]),re(r)?(ie(),be("div",{key:0,absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Be(re(o)?"bg-primary":"bg-gray")},[pe("span",Lx,On(re(r)),1)],2)):et("",!0)]),_:1},8,["to"])]),_:1})}}}),Mx={border:"r base",flex:"~ col","z-100":"","h-full":"","items-center":"","of-hidden":"","bg-base":""},Dx={flex:"~ none col items-center"},Fx=["title"],Bx=pe("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),Hx=[Bx],Ux=pe("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),Wx={flex:"~ auto col gap-0.5 items-center","of-hidden":"",py1:""},Gx={key:0,my1:"","h-1px":"","w-8":"",border:"b base"},Vx=pe("div",{"flex-auto":""},null,-1),zx={flex:"~ none col items-center gap-1",pb1:""},qx={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},Kx={"translate-y-0.5px":""},Xx={flex:"~ col gap-1","max-w-80":"",py1:""},Yx={key:0,"h-1px":"",border:"b base"},Jx={flex:"~ wrap",px1:""},Qx=45,Zx=xe({__name:"SideNav",setup(e){const t=Ke(),n=wS(),r=Z(!1),s=Z(!1),o=Z(),i=Z(),a=Z();function l(){r.value=!r.value}function c(){s.value=!s.value}const{height:f}=tw(),u=de(()=>{const P=f.value-130;return Math.max(0,Math.floor(P/Qx))}),d=de(()=>n.value.slice(0,u.value)),m=de(()=>n.value.slice(u.value)),g=lf(d),S=lf(m);return m1(o,P=>{i.value&&P.composedPath().includes(i.value)||a.value&&P.composedPath().includes(a.value)||(r.value=!1,s.value=!1)},{detectIframe:!0}),(P,v)=>{const p=Ox,w=hn("VDropdown"),E=jx,T=qp,h=wl;return ie(),be("div",Mx,[pe("div",Dx,[fe(w,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:re(r),"auto-hide":!0},{popper:Se(()=>[fe(p,{ref_key:"panel",ref:o},null,512)]),default:Se(()=>[pe("button",{ref_key:"buttonDocking",ref:i,flex:"~",hover:"bg-active",relative:"",my1:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:Be(re(t)?"":"saturate-0"),title:re(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:l},Hx,10,Fx)]),_:1},8,["shown"]),Ux]),pe("div",Wx,[(ie(!0),be(Ne,null,Vs(re(g),([b,y],_)=>(ie(),be(Ne,{key:b},[y.length?(ie(),be(Ne,{key:0},[_?(ie(),be("div",Gx)):et("",!0),(ie(!0),be(Ne,null,Vs(y,$=>(ie(),Le(E,{key:$.name,tab:$},null,8,["tab"]))),128))],64)):et("",!0)],64))),128)),Vx]),pe("div",zx,[re(m).length?(ie(),Le(w,{key:0,placement:"left-end",distance:12,triggers:[],shown:re(s),"auto-hide":!0},{popper:Se(()=>[pe("div",Xx,[(ie(!0),be(Ne,null,Vs(re(S),([b,y],_)=>(ie(),be(Ne,{key:b},[y.length?(ie(),be(Ne,{key:0},[_?(ie(),be("div",Yx)):et("",!0),pe("div",Jx,[(ie(!0),be(Ne,null,Vs(y,$=>(ie(),Le(E,{key:$.name,tab:$},null,8,["tab"]))),128))])],64)):et("",!0)],64))),128))])]),default:Se(()=>[pe("button",{ref_key:"buttonMoreTabs",ref:a,flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:c},[fe(T,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),pe("div",qx,[pe("span",Kx,On(re(m).length),1)])],512)]),_:1},8,["shown"])):et("",!0),fe(h,{to:"/settings",flex:"~ items-center justify-center",hover:"bg-active",relative:"",block:"","h-10":"","w-10":"","select-none":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active"},{default:Se(()=>[fe(T,{"text-xl":"",icon:"i-carbon-settings-adjust",title:"Settings","show-title":!1})]),_:1})])])}}}),ek=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),tk=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&ek(e.route,n));return typeof r=="function"?r(e.route):r},nk=(e,t)=>({default:()=>e?qe(Sg,e===!0?{}:e,t):t}),Ma=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?qe(e,t,n):n.default?.()}),rk=xe({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=Re();return()=>qe(Lh,{name:e.name,route:e.route,...t},{default:r=>{if(!r.Component)return;const s=tk(r,e.pageKey),o=n.deferHydration(),i=!!(e.transition??r.route.meta.pageTransition??va),a=i&&ok([e.transition,r.route.meta.pageTransition,va,{onAfterLeave:()=>{n.callHook("page:transition:finish",r.Component)}}].filter(Boolean));return Ma(ri,i&&a,nk(e.keepalive??r.route.meta.keepalive??Ky,qe(hd,{suspensible:!0,onPending:()=>n.callHook("page:start",r.Component),onResolve:()=>{Lt(()=>n.callHook("page:finish",r.Component).finally(o))}},{default:()=>qe(ik,{key:s,routeProps:r,pageKey:s,hasTransition:i})}))).default()}})}});function sk(e){return Array.isArray(e)?e:e?[e]:[]}function ok(e){const t=e.map(n=>({...n,onAfterLeave:sk(n.onAfterLeave)}));return n0(...t)}const ik=xe({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const s in e.routeProps.route)r[s]=de(()=>t===e.pageKey?e.routeProps.route[s]:n[s]);return er("_route",at(r)),()=>qe(e.routeProps.Component)}}),ak=xe({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(e,t){const n=await qn[e.name]().then(r=>r.default||r);return()=>qe(n,t.attrs,t.slots)}}),lk=xe({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=tt("_route"),r=n===si()?hb():n,s=de(()=>re(e.name)??r.meta.layout??"default");return()=>{const o=s.value&&s.value in qn,i=r.meta.layoutTransition??qy;return Ma(ri,o&&i,{default:()=>Ma(ak,o&&{key:s.value,name:s.value,...t.attrs},t.slots).default()}).default()}}}),ck={},uk={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fk=pe("path",{d:"M74.2283 119.873H123.414C124.977 119.874 126.511 119.475 127.864 118.717C129.217 117.959 130.341 116.869 131.121 115.557C131.902 114.244 132.313 112.755 132.312 111.24C132.312 109.725 131.899 108.236 131.118 106.924L98.0856 51.4278C97.3048 50.1156 96.1817 49.0259 94.829 48.2683C93.4764 47.5107 91.942 47.1118 90.38 47.1118C88.8181 47.1118 87.2836 47.5107 85.931 48.2683C84.5784 49.0259 83.4552 50.1156 82.6745 51.4278L74.2283 65.6274L57.7148 37.8605C56.9334 36.5484 55.8097 35.4589 54.4567 34.7014C53.1037 33.9439 51.569 33.5451 50.0068 33.5451C48.4446 33.5451 46.9099 33.9439 45.5569 34.7014C44.2039 35.4589 43.0803 36.5484 42.2989 37.8605L1.1947 106.924C0.41273 108.236 0.000680577 109.725 8.42355e-07 111.24C-0.000678893 112.755 0.410035 114.244 1.19083 115.557C1.97163 116.869 3.09498 117.959 4.44789 118.717C5.80081 119.475 7.33558 119.874 8.89785 119.873H39.7727C52.0057 119.873 61.0271 114.661 67.2346 104.493L82.3054 79.1761L90.3776 65.6274L114.604 106.325H82.3054L74.2283 119.873ZM39.2694 106.311L17.7227 106.306L50.0212 52.0462L66.1369 79.1761L55.3468 97.3092C51.2244 103.907 46.5411 106.311 39.2694 106.311Z",fill:"#00DC82"},null,-1),dk=pe("path",{d:"M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z",fill:"currentColor"},null,-1),hk=[fk,dk];function pk(e,t){return ie(),be("svg",uk,hk)}const mk=Ds(ck,[["render",pk]]),gk={},vk={key:0,flex:"~ col justify-center items-center gap-2",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-5":"","glass-effect":""},_k={flex:"~","mt--10":"","items-center":"","justify-center":""},yk={key:0,flex:"~ gap-2","items-center":"","text-rose":""},bk={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function wk(e,t){const n=mk,r=Vp;return ie(),Le(Id,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:re(gw))?(ie(),be("div",vk,[pe("div",_k,[fe(n,{"h-14":""})]),("wsError"in e?e.wsError:re(xa))?(ie(),be("div",yk,[fe(r,{icon:"i-carbon-wifi-off"}),dt(" WebSocket disconnected ")])):(ie(),be("div",bk,[fe(r,{icon:"i-carbon-circle-dash","animate-spin":""}),dt(" Connecting to the server... ")]))])):et("",!0)])}const Ek=Ds(gk,[["render",wk]]),Tk={},$k={class:"n-card n-card-base"};function Sk(e,t){return ie(),be("div",$k,[Et(e.$slots,"default")])}const Pk=Ds(Tk,[["render",Sk]]);/*!
|
|
14
14
|
* tabbable 6.1.2
|
|
15
15
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
16
16
|
*/var Kp=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ho=Kp.join(","),Xp=typeof Element>"u",Mn=Xp?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Uo=!Xp&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},Wo=function e(t,n){var r;n===void 0&&(n=!0);var s=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),o=s===""||s==="true",i=o||n&&t&&e(t.parentNode);return i},xk=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},Yp=function(t,n,r){if(Wo(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(Ho));return n&&Mn.call(t,Ho)&&s.unshift(t),s=s.filter(r),s},Jp=function e(t,n,r){for(var s=[],o=Array.from(t);o.length;){var i=o.shift();if(!Wo(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),l=a.length?a:i.children,c=e(l,!0,r);r.flatten?s.push.apply(s,c):s.push({scopeParent:i,candidates:c})}else{var f=Mn.call(i,Ho);f&&r.filter(i)&&(n||!t.includes(i))&&s.push(i);var u=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),d=!Wo(u,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(u&&d){var m=e(u===!0?i.children:u.children,!0,r);r.flatten?s.push.apply(s,m):s.push({scopeParent:i,candidates:m})}else o.unshift.apply(o,i.children)}}return s},Qp=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||xk(t))&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},kk=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},Zp=function(t){return t.tagName==="INPUT"},Ak=function(t){return Zp(t)&&t.type==="hidden"},Rk=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},Ok=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},Nk=function(t){if(!t.name)return!0;var n=t.form||Uo(t),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=r(window.CSS.escape(t.name));else try{s=r(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=Ok(s,t.form);return!o||o===t},Ck=function(t){return Zp(t)&&t.type==="radio"},Lk=function(t){return Ck(t)&&!Nk(t)},Ik=function(t){var n,r=t&&Uo(t),s=(n=r)===null||n===void 0?void 0:n.host,o=!1;if(r&&r!==t){var i,a,l;for(o=!!((i=s)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(s)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!o&&s;){var c,f,u;r=Uo(s),s=(c=r)===null||c===void 0?void 0:c.host,o=!!((f=s)!==null&&f!==void 0&&(u=f.ownerDocument)!==null&&u!==void 0&&u.contains(s))}}return o},Af=function(t){var n=t.getBoundingClientRect(),r=n.width,s=n.height;return r===0&&s===0},jk=function(t,n){var r=n.displayCheck,s=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=Mn.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(Mn.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof s=="function"){for(var a=t;t;){var l=t.parentElement,c=Uo(t);if(l&&!l.shadowRoot&&s(l)===!0)return Af(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(Ik(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Af(t);return!1},Mk=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var s=n.children.item(r);if(s.tagName==="LEGEND")return Mn.call(n,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}n=n.parentElement}return!1},Go=function(t,n){return!(n.disabled||Wo(n)||Ak(n)||jk(n,t)||Rk(n)||Mk(n))},Da=function(t,n){return!(Lk(n)||Qp(n)<0||!Go(t,n))},Dk=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},Fk=function e(t){var n=[],r=[];return t.forEach(function(s,o){var i=!!s.scopeParent,a=i?s.scopeParent:s,l=Qp(a,i),c=i?e(s.candidates):a;l===0?i?n.push.apply(n,c):n.push(a):r.push({documentOrder:o,tabIndex:l,item:s,isScope:i,content:c})}),r.sort(kk).reduce(function(s,o){return o.isScope?s.push.apply(s,o.content):s.push(o.content),s},[]).concat(n)},Bk=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Jp([t],n.includeContainer,{filter:Da.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Dk}):r=Yp(t,n.includeContainer,Da.bind(null,n)),Fk(r)},Hk=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Jp([t],n.includeContainer,{filter:Go.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=Yp(t,n.includeContainer,Go.bind(null,n)),r},lo=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Mn.call(t,Ho)===!1?!1:Da(n,t)},Uk=Kp.concat("iframe").join(","),Qi=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Mn.call(t,Uk)===!1?!1:Go(n,t)};/*!
|
|
17
17
|
* focus-trap 7.4.3
|
|
18
18
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
19
|
-
*/function Rf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Of(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rf(Object(n),!0).forEach(function(r){Wk(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Wk(e,t,n){return t=Vk(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gk(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Vk(e){var t=Gk(e,"string");return typeof t=="symbol"?t:String(t)}var Nf={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var s=t.indexOf(n);s===-1||t.splice(s,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},zk=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},qk=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},_s=function(t){return t.key==="Tab"||t.keyCode===9},Kk=function(t){return _s(t)&&!t.shiftKey},Xk=function(t){return _s(t)&&t.shiftKey},Cf=function(t){return setTimeout(t,0)},Lf=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},ts=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return typeof t=="function"?t.apply(void 0,r):t},co=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},Yk=[],Jk=function(t,n){var r=n?.document||document,s=n?.trapStack||Yk,o=Of({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Kk,isKeyBackward:Xk},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a,l=function($,x,k){return $&&$[x]!==void 0?$[x]:o[k||x]},c=function($,x){var k=typeof x?.composedPath=="function"?x.composedPath():void 0;return i.containerGroups.findIndex(function(A){var R=A.container,I=A.tabbableNodes;return R.contains($)||k?.includes(R)||I.find(function(j){return j===$})})},f=function($){var x=o[$];if(typeof x=="function"){for(var k=arguments.length,A=new Array(k>1?k-1:0),R=1;R<k;R++)A[R-1]=arguments[R];x=x.apply(void 0,A)}if(x===!0&&(x=void 0),!x){if(x===void 0||x===!1)return x;throw new Error("`".concat($,"` was specified but was not a node, or did not return a node"))}var I=x;if(typeof x=="string"&&(I=r.querySelector(x),!I))throw new Error("`".concat($,"` as selector refers to no known node"));return I},u=function(){var $=f("initialFocus");if($===!1)return!1;if($===void 0||!Qi($,o.tabbableOptions))if(c(r.activeElement)>=0)$=r.activeElement;else{var x=i.tabbableGroups[0],k=x&&x.firstTabbableNode;$=k||f("fallbackFocus")}if(!$)throw new Error("Your focus-trap needs to have at least one focusable element");return $},d=function(){if(i.containerGroups=i.containers.map(function($){var x=Bk($,o.tabbableOptions),k=Hk($,o.tabbableOptions);return{container:$,tabbableNodes:x,focusableNodes:k,firstTabbableNode:x.length>0?x[0]:null,lastTabbableNode:x.length>0?x[x.length-1]:null,nextTabbableNode:function(R){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,j=k.findIndex(function(H){return H===R});if(!(j<0))return I?k.slice(j+1).find(function(H){return lo(H,o.tabbableOptions)}):k.slice(0,j).reverse().find(function(H){return lo(H,o.tabbableOptions)})}}}),i.tabbableGroups=i.containerGroups.filter(function($){return $.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},m=function _($){if($!==!1&&$!==r.activeElement){if(!$||!$.focus){_(u());return}$.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=$,zk($)&&$.select()}},g=function($){var x=f("setReturnFocus",$);return x||(x===!1?!1:$)},S=function($){var x=co($);if(!(c(x,$)>=0)){if(ts(o.clickOutsideDeactivates,$)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}ts(o.allowOutsideClick,$)||$.preventDefault()}},P=function($){var x=co($),k=c(x,$)>=0;k||x instanceof Document?k&&(i.mostRecentlyFocusedNode=x):($.stopImmediatePropagation(),m(i.mostRecentlyFocusedNode||u()))},v=function($){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,k=co($);d();var A=null;if(i.tabbableGroups.length>0){var R=c(k,$),I=R>=0?i.containerGroups[R]:void 0;if(R<0)x?A=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:A=i.tabbableGroups[0].firstTabbableNode;else if(x){var j=Lf(i.tabbableGroups,function(Q){var ce=Q.firstTabbableNode;return k===ce});if(j<0&&(I.container===k||Qi(k,o.tabbableOptions)&&!lo(k,o.tabbableOptions)&&!I.nextTabbableNode(k,!1))&&(j=R),j>=0){var H=j===0?i.tabbableGroups.length-1:j-1,B=i.tabbableGroups[H];A=B.lastTabbableNode}else _s($)||(A=I.nextTabbableNode(k,!1))}else{var K=Lf(i.tabbableGroups,function(Q){var ce=Q.lastTabbableNode;return k===ce});if(K<0&&(I.container===k||Qi(k,o.tabbableOptions)&&!lo(k,o.tabbableOptions)&&!I.nextTabbableNode(k))&&(K=R),K>=0){var te=K===i.tabbableGroups.length-1?0:K+1,J=i.tabbableGroups[te];A=J.firstTabbableNode}else _s($)||(A=I.nextTabbableNode(k))}}else A=f("fallbackFocus");A&&(_s($)&&$.preventDefault(),m(A))},p=function($){if(qk($)&&ts(o.escapeDeactivates,$)!==!1){$.preventDefault(),a.deactivate();return}(o.isKeyForward($)||o.isKeyBackward($))&&v($,o.isKeyBackward($))},w=function($){var x=co($);c(x,$)>=0||ts(o.clickOutsideDeactivates,$)||ts(o.allowOutsideClick,$)||($.preventDefault(),$.stopImmediatePropagation())},E=function(){if(i.active)return Nf.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?Cf(function(){m(u())}):m(u()),r.addEventListener("focusin",P,!0),r.addEventListener("mousedown",S,{capture:!0,passive:!1}),r.addEventListener("touchstart",S,{capture:!0,passive:!1}),r.addEventListener("click",w,{capture:!0,passive:!1}),r.addEventListener("keydown",p,{capture:!0,passive:!1}),a},T=function(){if(i.active)return r.removeEventListener("focusin",P,!0),r.removeEventListener("mousedown",S,!0),r.removeEventListener("touchstart",S,!0),r.removeEventListener("click",w,!0),r.removeEventListener("keydown",p,!0),a},h=function($){var x=$.some(function(k){var A=Array.from(k.removedNodes);return A.some(function(R){return R===i.mostRecentlyFocusedNode})});x&&m(u())},b=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(h):void 0,y=function(){b&&(b.disconnect(),i.active&&!i.paused&&i.containers.map(function($){b.observe($,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function($){if(i.active)return this;var x=l($,"onActivate"),k=l($,"onPostActivate"),A=l($,"checkCanFocusTrap");A||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,x?.();var R=function(){A&&d(),E(),y(),k?.()};return A?(A(i.containers.concat()).then(R,R),this):(R(),this)},deactivate:function($){if(!i.active)return this;var x=Of({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},$);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,T(),i.active=!1,i.paused=!1,y(),Nf.deactivateTrap(s,a);var k=l(x,"onDeactivate"),A=l(x,"onPostDeactivate"),R=l(x,"checkCanReturnFocus"),I=l(x,"returnFocus","returnFocusOnDeactivate");k?.();var j=function(){Cf(function(){I&&m(g(i.nodeFocusedBeforeActivation)),A?.()})};return I&&R?(R(g(i.nodeFocusedBeforeActivation)).then(j,j),this):(j(),this)},pause:function($){if(i.paused||!i.active)return this;var x=l($,"onPause"),k=l($,"onPostPause");return i.paused=!0,x?.(),T(),y(),k?.(),this},unpause:function($){if(!i.paused||!i.active)return this;var x=l($,"onUnpause"),k=l($,"onPostUnpause");return i.paused=!1,x?.(),d(),E(),y(),k?.(),this},updateContainerElements:function($){var x=[].concat($).filter(Boolean);return i.containers=x.map(function(k){return typeof k=="string"?r.querySelector(k):k}),i.active&&d(),y(),this}},a.updateContainerElements(t),a},Qk=Object.defineProperty,Zk=Object.defineProperties,eA=Object.getOwnPropertyDescriptors,Vo=Object.getOwnPropertySymbols,em=Object.prototype.hasOwnProperty,tm=Object.prototype.propertyIsEnumerable,If=(e,t,n)=>t in e?Qk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tA=(e,t)=>{for(var n in t||(t={}))em.call(t,n)&&If(e,n,t[n]);if(Vo)for(var n of Vo(t))tm.call(t,n)&&If(e,n,t[n]);return e},nA=(e,t)=>Zk(e,eA(t)),rA=(e,t)=>{var n={};for(var r in e)em.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Vo)for(var r of Vo(e))t.indexOf(r)<0&&tm.call(e,r)&&(n[r]=e[r]);return n};function sA(e,t={}){let n;const r=t,{immediate:s}=r,o=rA(r,["immediate"]),i=Z(!1),a=Z(!1),l=d=>n&&n.activate(d),c=d=>n&&n.deactivate(d),f=()=>{n&&(n.pause(),a.value=!0)},u=()=>{n&&(n.unpause(),a.value=!1)};return Ce(()=>it(e),d=>{d&&(n=Jk(d,nA(tA({},o),{onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}})),s&&l())},{flush:"post"}),zt(()=>c()),{hasFocus:i,isPaused:a,activate:l,deactivate:c,pause:f,unpause:u}}const oA={inheritAttrs:!1},iA=xe({...oA,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const r=ew(e,"modelValue",t,{passive:!0}),s=Z(null),{activate:o,deactivate:i}=sA(s,{immediate:!1});Yt(()=>{Ce(r,l=>{l?o():i()},{immediate:!0})});function a(){r.value=!1,t("close")}return(l,c)=>{const f=Pk;return re(r)?(ie(),Le(Id,{key:0,to:"body"},[pe("div",{class:Be(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[re(r)?"":"op0 pointer-events-none visibility-none"]])},[pe("div",{class:Be(["absolute inset-0 -z-1",[e.dim?"bg-black/50":""]]),onClick:c[0]||(c[0]=u=>a())},null,2),fe(f,lr(l.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:Se(()=>[Et(l.$slots,"default")]),_:3},16)],2)])):et("",!0)}}}),aA={p4:"",flex:"~ col gap-1"},lA=pe("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),cA={op50:""},uA={flex:"~ gap-3",mt2:"","justify-end":""},fA=xe({__name:"RestartDialogs",setup(e){const t=Re(),n=ES(),r=Ke(),s=Hh();return t.hook("devtools:terminal:exit",({id:o,code:i})=>{if(i===0){const a=n.value.find(l=>l.id===o);a&&(n.value=n.value.filter(l=>l.id!==o),s.start(a.message).then(l=>{l&&(Ie.restartNuxt(),setTimeout(()=>{r.value?.reloadPage()},500))}))}}),(o,i)=>{const a=zp,l=iA;return ie(),Le(re(s),null,{default:Se(({resolve:c,args:f})=>[fe(l,{"model-value":!0,onClose:u=>c(!1)},{default:Se(()=>[pe("div",aA,[lA,pe("p",cA,On(f[0]),1),pe("div",uA,[fe(a,{onClick:u=>c(!1)},{default:Se(()=>[dt(" Cancel ")]),_:2},1032,["onClick"]),fe(a,{n:"solid primary",onClick:u=>c(!0)},{default:Se(()=>[dt(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function dA(){const e=Re(),t=gt();Object.assign(Jh,{async refresh(n){e.hooks.callHookParallel("app:data:refresh",[n])},async callHook(n,...r){e.hooks.callHookParallel(n,...r)},async onTerminalData(n){e.hooks.callHookParallel("devtools:terminal:data",n)},async onTerminalExit(n){e.hooks.callHookParallel("devtools:terminal:exit",n);const r=of.value.findIndex(s=>s.processId===n.id);r!==-1&&of.value.splice(r,1)},async navigateTo(n){t.currentRoute.value.path!==n&&t.push(n)}})}const hA={fixed:"","inset-0":"","h-screen":"","w-screen":""},pA=["grid"],mA=xe({__name:"app",setup(e){ke(()=>import("./unocss-runtime.2f120d48.js"),[],import.meta.url),Vy({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),dA();const t=Ke(),n=si(),r=de(()=>n.path.startsWith("/__")),s=de(()=>!t.value&&!nS.value);addEventListener("keydown",i=>{i.code==="KeyD"&&i.altKey&&(t.value?.closeDevTools(),i.preventDefault())});const{scale:o}=Il();return Yt(()=>{const i=rS();rr(()=>{window.__NUXT_DEVTOOLS__=i.value}),rr(()=>{document.body.style.fontSize=`${o.value*15}px`})}),(i,a)=>{const l=lx,c=dx,f=_x,u=Zx,d=rk,m=lk,g=Ek,S=fA;return ie(),be("div",hA,[fe(l),fe(c),re(s)?(ie(),Le(f,{key:0},{default:Se(()=>[dt(" Connecting.... ")]),_:1})):(ie(),be("div",{key:1,grid:re(r)?"flex":"~ cols-[50px_1fr]","h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[bg(fe(u,{"of-x-hidden":"","of-y-auto":""},null,512),[[Wv,!re(r)]]),fe(m,null,{default:Se(()=>[fe(d)]),_:1})],8,pA)),fe(g),fe(S)])}}}),jf={__name:"nuxt-root",setup(e){const t=Tg(()=>ke(()=>import("./error-component.83c76a45.js"),[],import.meta.url).then(l=>l.default||l)),n=()=>null,r=Re(),s=r.deferHydration(),o=!1;er("_route",si()),r.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const i=oi();Td((l,c,f)=>{if(r.hooks.callHook("vue:error",l,c,f).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),a0(l)&&(l.fatal||l.unhandled))return r.runWithContext(()=>zn(l)),!1});const{islandContext:a}=!1;return(l,c)=>(ie(),Le(hd,{onResolve:re(s)},{default:Se(()=>[re(i)?(ie(),Le(re(t),{key:0,error:re(i)},null,8,["error"])):re(a)?(ie(),Le(re(n),{key:1,context:re(a)},null,8,["context"])):re(o)?(ie(),Le(al(re(o)),{key:2})):(ie(),Le(re(mA),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=ah.create({baseURL:O_()}));let Mf;const gA=q_(ax);{let e;Mf=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?zv(jf):Qd(jf),s=G_({vueApp:r});try{await z_(s,gA)}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount("#"+Xy),await s.hooks.callHook("app:mounted",r),await Lt()}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}return r},e=Mf().catch(t=>{console.error("Error while mounting app:",t)})}export{ah as $,Wv as A,Hh as B,QA as C,gt as D,si as E,Ne as F,Me as G,wl as H,iA as I,nR as J,ho as K,xa as L,Vp as M,kb as N,OA as O,ln as P,PA as Q,_S as R,NA as S,YA as T,xA as U,Et as V,Cl as W,Ep as X,KA as Y,zA as Z,ke as _,xe as a,Re as a$,Yt as a0,Ce as a1,Il as a2,Pk as a3,hn as a4,cS as a5,_p as a6,VA as a7,al as a8,RA as a9,it as aA,n0 as aB,HA as aC,EA as aD,jA as aE,gp as aF,IA as aG,tR as aH,SA as aI,Uv as aJ,ZA as aK,FA as aL,nS as aM,LA as aN,ES as aO,DA as aP,$A as aQ,JA as aR,qp as aS,fS as aT,Ds as aU,d1 as aV,BA as aW,_x as aX,vS as aY,Sg as aZ,Cn as a_,m1 as aa,ri as ab,lr as ac,at as ad,AA as ae,Lt as af,rr as ag,Eo as ah,rS as ai,bS as aj,qA as ak,XA as al,MA as am,ew as an,WA as ao,yA as ap,GA as aq,of as ar,ig as as,ag as at,lg as au,nd as av,Ya as aw,_A as ax,bA as ay,gS as az,Ke as b,wA as b0,Ls as b1,Sc as b2,pt as b3,qe as b4,eR as b5,kA as b6,af as b7,vA as b8,UA as b9,TA as ba,lf as bb,Tx as bc,Iv as bd,Mv as be,CA as bf,vw as bg,Vy as bh,Le as c,Tg as d,Nt as e,pe as f,dl as g,be as h,fe as i,dS as j,zp as k,dt as l,mk as m,Hf as n,ie as o,de as p,Vs as q,Z as r,Be as s,On as t,re as u,et as v,Se as w,Z1 as x,Ie as y,bg as z};
|
|
19
|
+
*/function Rf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Of(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rf(Object(n),!0).forEach(function(r){Wk(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Wk(e,t,n){return t=Vk(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gk(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Vk(e){var t=Gk(e,"string");return typeof t=="symbol"?t:String(t)}var Nf={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var s=t.indexOf(n);s===-1||t.splice(s,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},zk=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},qk=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},_s=function(t){return t.key==="Tab"||t.keyCode===9},Kk=function(t){return _s(t)&&!t.shiftKey},Xk=function(t){return _s(t)&&t.shiftKey},Cf=function(t){return setTimeout(t,0)},Lf=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},ts=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return typeof t=="function"?t.apply(void 0,r):t},co=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},Yk=[],Jk=function(t,n){var r=n?.document||document,s=n?.trapStack||Yk,o=Of({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Kk,isKeyBackward:Xk},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a,l=function($,x,k){return $&&$[x]!==void 0?$[x]:o[k||x]},c=function($,x){var k=typeof x?.composedPath=="function"?x.composedPath():void 0;return i.containerGroups.findIndex(function(A){var R=A.container,I=A.tabbableNodes;return R.contains($)||k?.includes(R)||I.find(function(j){return j===$})})},f=function($){var x=o[$];if(typeof x=="function"){for(var k=arguments.length,A=new Array(k>1?k-1:0),R=1;R<k;R++)A[R-1]=arguments[R];x=x.apply(void 0,A)}if(x===!0&&(x=void 0),!x){if(x===void 0||x===!1)return x;throw new Error("`".concat($,"` was specified but was not a node, or did not return a node"))}var I=x;if(typeof x=="string"&&(I=r.querySelector(x),!I))throw new Error("`".concat($,"` as selector refers to no known node"));return I},u=function(){var $=f("initialFocus");if($===!1)return!1;if($===void 0||!Qi($,o.tabbableOptions))if(c(r.activeElement)>=0)$=r.activeElement;else{var x=i.tabbableGroups[0],k=x&&x.firstTabbableNode;$=k||f("fallbackFocus")}if(!$)throw new Error("Your focus-trap needs to have at least one focusable element");return $},d=function(){if(i.containerGroups=i.containers.map(function($){var x=Bk($,o.tabbableOptions),k=Hk($,o.tabbableOptions);return{container:$,tabbableNodes:x,focusableNodes:k,firstTabbableNode:x.length>0?x[0]:null,lastTabbableNode:x.length>0?x[x.length-1]:null,nextTabbableNode:function(R){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,j=k.findIndex(function(H){return H===R});if(!(j<0))return I?k.slice(j+1).find(function(H){return lo(H,o.tabbableOptions)}):k.slice(0,j).reverse().find(function(H){return lo(H,o.tabbableOptions)})}}}),i.tabbableGroups=i.containerGroups.filter(function($){return $.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},m=function _($){if($!==!1&&$!==r.activeElement){if(!$||!$.focus){_(u());return}$.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=$,zk($)&&$.select()}},g=function($){var x=f("setReturnFocus",$);return x||(x===!1?!1:$)},S=function($){var x=co($);if(!(c(x,$)>=0)){if(ts(o.clickOutsideDeactivates,$)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}ts(o.allowOutsideClick,$)||$.preventDefault()}},P=function($){var x=co($),k=c(x,$)>=0;k||x instanceof Document?k&&(i.mostRecentlyFocusedNode=x):($.stopImmediatePropagation(),m(i.mostRecentlyFocusedNode||u()))},v=function($){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,k=co($);d();var A=null;if(i.tabbableGroups.length>0){var R=c(k,$),I=R>=0?i.containerGroups[R]:void 0;if(R<0)x?A=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:A=i.tabbableGroups[0].firstTabbableNode;else if(x){var j=Lf(i.tabbableGroups,function(Q){var ce=Q.firstTabbableNode;return k===ce});if(j<0&&(I.container===k||Qi(k,o.tabbableOptions)&&!lo(k,o.tabbableOptions)&&!I.nextTabbableNode(k,!1))&&(j=R),j>=0){var H=j===0?i.tabbableGroups.length-1:j-1,B=i.tabbableGroups[H];A=B.lastTabbableNode}else _s($)||(A=I.nextTabbableNode(k,!1))}else{var K=Lf(i.tabbableGroups,function(Q){var ce=Q.lastTabbableNode;return k===ce});if(K<0&&(I.container===k||Qi(k,o.tabbableOptions)&&!lo(k,o.tabbableOptions)&&!I.nextTabbableNode(k))&&(K=R),K>=0){var te=K===i.tabbableGroups.length-1?0:K+1,J=i.tabbableGroups[te];A=J.firstTabbableNode}else _s($)||(A=I.nextTabbableNode(k))}}else A=f("fallbackFocus");A&&(_s($)&&$.preventDefault(),m(A))},p=function($){if(qk($)&&ts(o.escapeDeactivates,$)!==!1){$.preventDefault(),a.deactivate();return}(o.isKeyForward($)||o.isKeyBackward($))&&v($,o.isKeyBackward($))},w=function($){var x=co($);c(x,$)>=0||ts(o.clickOutsideDeactivates,$)||ts(o.allowOutsideClick,$)||($.preventDefault(),$.stopImmediatePropagation())},E=function(){if(i.active)return Nf.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?Cf(function(){m(u())}):m(u()),r.addEventListener("focusin",P,!0),r.addEventListener("mousedown",S,{capture:!0,passive:!1}),r.addEventListener("touchstart",S,{capture:!0,passive:!1}),r.addEventListener("click",w,{capture:!0,passive:!1}),r.addEventListener("keydown",p,{capture:!0,passive:!1}),a},T=function(){if(i.active)return r.removeEventListener("focusin",P,!0),r.removeEventListener("mousedown",S,!0),r.removeEventListener("touchstart",S,!0),r.removeEventListener("click",w,!0),r.removeEventListener("keydown",p,!0),a},h=function($){var x=$.some(function(k){var A=Array.from(k.removedNodes);return A.some(function(R){return R===i.mostRecentlyFocusedNode})});x&&m(u())},b=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(h):void 0,y=function(){b&&(b.disconnect(),i.active&&!i.paused&&i.containers.map(function($){b.observe($,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function($){if(i.active)return this;var x=l($,"onActivate"),k=l($,"onPostActivate"),A=l($,"checkCanFocusTrap");A||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,x?.();var R=function(){A&&d(),E(),y(),k?.()};return A?(A(i.containers.concat()).then(R,R),this):(R(),this)},deactivate:function($){if(!i.active)return this;var x=Of({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},$);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,T(),i.active=!1,i.paused=!1,y(),Nf.deactivateTrap(s,a);var k=l(x,"onDeactivate"),A=l(x,"onPostDeactivate"),R=l(x,"checkCanReturnFocus"),I=l(x,"returnFocus","returnFocusOnDeactivate");k?.();var j=function(){Cf(function(){I&&m(g(i.nodeFocusedBeforeActivation)),A?.()})};return I&&R?(R(g(i.nodeFocusedBeforeActivation)).then(j,j),this):(j(),this)},pause:function($){if(i.paused||!i.active)return this;var x=l($,"onPause"),k=l($,"onPostPause");return i.paused=!0,x?.(),T(),y(),k?.(),this},unpause:function($){if(!i.paused||!i.active)return this;var x=l($,"onUnpause"),k=l($,"onPostUnpause");return i.paused=!1,x?.(),d(),E(),y(),k?.(),this},updateContainerElements:function($){var x=[].concat($).filter(Boolean);return i.containers=x.map(function(k){return typeof k=="string"?r.querySelector(k):k}),i.active&&d(),y(),this}},a.updateContainerElements(t),a},Qk=Object.defineProperty,Zk=Object.defineProperties,eA=Object.getOwnPropertyDescriptors,Vo=Object.getOwnPropertySymbols,em=Object.prototype.hasOwnProperty,tm=Object.prototype.propertyIsEnumerable,If=(e,t,n)=>t in e?Qk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tA=(e,t)=>{for(var n in t||(t={}))em.call(t,n)&&If(e,n,t[n]);if(Vo)for(var n of Vo(t))tm.call(t,n)&&If(e,n,t[n]);return e},nA=(e,t)=>Zk(e,eA(t)),rA=(e,t)=>{var n={};for(var r in e)em.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Vo)for(var r of Vo(e))t.indexOf(r)<0&&tm.call(e,r)&&(n[r]=e[r]);return n};function sA(e,t={}){let n;const r=t,{immediate:s}=r,o=rA(r,["immediate"]),i=Z(!1),a=Z(!1),l=d=>n&&n.activate(d),c=d=>n&&n.deactivate(d),f=()=>{n&&(n.pause(),a.value=!0)},u=()=>{n&&(n.unpause(),a.value=!1)};return Ce(()=>it(e),d=>{d&&(n=Jk(d,nA(tA({},o),{onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}})),s&&l())},{flush:"post"}),zt(()=>c()),{hasFocus:i,isPaused:a,activate:l,deactivate:c,pause:f,unpause:u}}const oA={inheritAttrs:!1},iA=xe({...oA,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const r=ew(e,"modelValue",t,{passive:!0}),s=Z(null),{activate:o,deactivate:i}=sA(s,{immediate:!1});Yt(()=>{Ce(r,l=>{l?o():i()},{immediate:!0})});function a(){r.value=!1,t("close")}return(l,c)=>{const f=Pk;return re(r)?(ie(),Le(Id,{key:0,to:"body"},[pe("div",{class:Be(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[re(r)?"":"op0 pointer-events-none visibility-none"]])},[pe("div",{class:Be(["absolute inset-0 -z-1",[e.dim?"bg-black/50":""]]),onClick:c[0]||(c[0]=u=>a())},null,2),fe(f,lr(l.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:Se(()=>[Et(l.$slots,"default")]),_:3},16)],2)])):et("",!0)}}}),aA={p4:"",flex:"~ col gap-1"},lA=pe("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),cA={op50:""},uA={flex:"~ gap-3",mt2:"","justify-end":""},fA=xe({__name:"RestartDialogs",setup(e){const t=Re(),n=ES(),r=Ke(),s=Hh();return t.hook("devtools:terminal:exit",({id:o,code:i})=>{if(i===0){const a=n.value.find(l=>l.id===o);a&&(n.value=n.value.filter(l=>l.id!==o),s.start(a.message).then(l=>{l&&(Ie.restartNuxt(),setTimeout(()=>{r.value?.reloadPage()},500))}))}}),(o,i)=>{const a=zp,l=iA;return ie(),Le(re(s),null,{default:Se(({resolve:c,args:f})=>[fe(l,{"model-value":!0,onClose:u=>c(!1)},{default:Se(()=>[pe("div",aA,[lA,pe("p",cA,On(f[0]),1),pe("div",uA,[fe(a,{onClick:u=>c(!1)},{default:Se(()=>[dt(" Cancel ")]),_:2},1032,["onClick"]),fe(a,{n:"solid primary",onClick:u=>c(!0)},{default:Se(()=>[dt(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function dA(){const e=Re(),t=gt();Object.assign(Jh,{async refresh(n){e.hooks.callHookParallel("app:data:refresh",[n])},async callHook(n,...r){e.hooks.callHookParallel(n,...r)},async onTerminalData(n){e.hooks.callHookParallel("devtools:terminal:data",n)},async onTerminalExit(n){e.hooks.callHookParallel("devtools:terminal:exit",n);const r=of.value.findIndex(s=>s.processId===n.id);r!==-1&&of.value.splice(r,1)},async navigateTo(n){t.currentRoute.value.path!==n&&t.push(n)}})}const hA={fixed:"","inset-0":"","h-screen":"","w-screen":""},pA=["grid"],mA=xe({__name:"app",setup(e){ke(()=>import("./unocss-runtime.cfd98600.js"),[],import.meta.url),Vy({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),dA();const t=Ke(),n=si(),r=de(()=>n.path.startsWith("/__")),s=de(()=>!t.value&&!nS.value);addEventListener("keydown",i=>{i.code==="KeyD"&&i.altKey&&(t.value?.closeDevTools(),i.preventDefault())});const{scale:o}=Il();return Yt(()=>{const i=rS();rr(()=>{window.__NUXT_DEVTOOLS__=i.value}),rr(()=>{document.body.style.fontSize=`${o.value*15}px`})}),(i,a)=>{const l=lx,c=dx,f=_x,u=Zx,d=rk,m=lk,g=Ek,S=fA;return ie(),be("div",hA,[fe(l),fe(c),re(s)?(ie(),Le(f,{key:0},{default:Se(()=>[dt(" Connecting.... ")]),_:1})):(ie(),be("div",{key:1,grid:re(r)?"flex":"~ cols-[50px_1fr]","h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[bg(fe(u,{"of-x-hidden":"","of-y-auto":""},null,512),[[Wv,!re(r)]]),fe(m,null,{default:Se(()=>[fe(d)]),_:1})],8,pA)),fe(g),fe(S)])}}}),jf={__name:"nuxt-root",setup(e){const t=Tg(()=>ke(()=>import("./error-component.74964985.js"),[],import.meta.url).then(l=>l.default||l)),n=()=>null,r=Re(),s=r.deferHydration(),o=!1;er("_route",si()),r.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const i=oi();Td((l,c,f)=>{if(r.hooks.callHook("vue:error",l,c,f).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),a0(l)&&(l.fatal||l.unhandled))return r.runWithContext(()=>zn(l)),!1});const{islandContext:a}=!1;return(l,c)=>(ie(),Le(hd,{onResolve:re(s)},{default:Se(()=>[re(i)?(ie(),Le(re(t),{key:0,error:re(i)},null,8,["error"])):re(a)?(ie(),Le(re(n),{key:1,context:re(a)},null,8,["context"])):re(o)?(ie(),Le(al(re(o)),{key:2})):(ie(),Le(re(mA),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=ah.create({baseURL:O_()}));let Mf;const gA=q_(ax);{let e;Mf=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?zv(jf):Qd(jf),s=G_({vueApp:r});try{await z_(s,gA)}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount("#"+Xy),await s.hooks.callHook("app:mounted",r),await Lt()}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}return r},e=Mf().catch(t=>{console.error("Error while mounting app:",t)})}export{ah as $,Wv as A,Hh as B,QA as C,gt as D,si as E,Ne as F,Me as G,wl as H,iA as I,nR as J,ho as K,xa as L,Vp as M,kb as N,OA as O,ln as P,PA as Q,_S as R,NA as S,YA as T,xA as U,Et as V,Cl as W,Ep as X,KA as Y,zA as Z,ke as _,xe as a,Re as a$,Yt as a0,Ce as a1,Il as a2,Pk as a3,hn as a4,cS as a5,_p as a6,VA as a7,al as a8,RA as a9,it as aA,n0 as aB,HA as aC,EA as aD,jA as aE,gp as aF,IA as aG,tR as aH,SA as aI,Uv as aJ,ZA as aK,FA as aL,nS as aM,LA as aN,ES as aO,DA as aP,$A as aQ,JA as aR,qp as aS,fS as aT,Ds as aU,d1 as aV,BA as aW,_x as aX,vS as aY,Sg as aZ,Cn as a_,m1 as aa,ri as ab,lr as ac,at as ad,AA as ae,Lt as af,rr as ag,Eo as ah,rS as ai,bS as aj,qA as ak,XA as al,MA as am,ew as an,WA as ao,yA as ap,GA as aq,of as ar,ig as as,ag as at,lg as au,nd as av,Ya as aw,_A as ax,bA as ay,gS as az,Ke as b,wA as b0,Ls as b1,Sc as b2,pt as b3,qe as b4,eR as b5,kA as b6,af as b7,vA as b8,UA as b9,TA as ba,lf as bb,Tx as bc,Iv as bd,Mv as be,CA as bf,vw as bg,Vy as bh,Le as c,Tg as d,Nt as e,pe as f,dl as g,be as h,fe as i,dS as j,zp as k,dt as l,mk as m,Hf as n,ie as o,de as p,Vs as q,Z as r,Be as s,On as t,re as u,et as v,Se as w,Z1 as x,Ie as y,bg as z};
|