@nuxt/devtools 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +12 -7
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/__blank/index.html +2 -2
- package/dist/client/_nuxt/AuthRequiredPanel.vue.19da182f.js +1 -0
- package/dist/client/_nuxt/{Badge.bb04dbdf.js → Badge.067326d6.js} +1 -1
- package/dist/client/_nuxt/{CodeSnippets.vue.b3f0f3dc.js → CodeSnippets.vue.2f33c6d1.js} +1 -1
- package/dist/client/_nuxt/{DrawerRight.vue.48c2c3d6.js → DrawerRight.vue.aa1fd47b.js} +1 -1
- package/dist/client/_nuxt/{DurationDisplay.vue.1f2b63ce.js → DurationDisplay.vue.4afc40a4.js} +1 -1
- package/dist/client/_nuxt/{FilepathItem.vue.67a3bac2.js → FilepathItem.vue.3587ec1f.js} +1 -1
- package/dist/client/_nuxt/{HelpFab.vue.e0c5b3b9.js → HelpFab.vue.dbb954dd.js} +1 -1
- package/dist/client/_nuxt/{LaunchPage.vue.a3f71c42.js → LaunchPage.vue.f137554e.js} +1 -1
- package/dist/client/_nuxt/{NCheckbox.vue.56878d59.js → NCheckbox.vue.060051ad.js} +1 -1
- package/dist/client/_nuxt/{NCodeBlock.vue.2f00c5a7.js → NCodeBlock.vue.e44529a6.js} +1 -1
- package/dist/client/_nuxt/{NIconButton.vue.afd698ce.js → NIconButton.vue.ac7efd0c.js} +1 -1
- package/dist/client/_nuxt/{NIconTitle.vue.025b1812.js → NIconTitle.vue.ace3a05a.js} +1 -1
- package/dist/client/_nuxt/{NLink.vue.efbf2660.js → NLink.vue.372e1ca0.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.4a55718e.js → NMarkdown.vue.9f252ec4.js} +1 -1
- package/dist/client/_nuxt/{NPanelGrids.e209861e.js → NPanelGrids.54ee09bc.js} +1 -1
- package/dist/client/_nuxt/{NSectionBlock.a9d6a8bd.js → NSectionBlock.9cbe0175.js} +1 -1
- package/dist/client/_nuxt/{NSelect.vue.0258c4d8.js → NSelect.vue.3956d7b1.js} +1 -1
- package/dist/client/_nuxt/{NSwitch.vue.774134ee.js → NSwitch.vue.f0f70131.js} +1 -1
- package/dist/client/_nuxt/{NTip.vue.b7996913.js → NTip.vue.f50fcd60.js} +1 -1
- package/dist/client/_nuxt/{Navbar.vue.97a344a8.js → Navbar.vue.bd98686f.js} +1 -1
- package/dist/client/_nuxt/{NpmVersionCheck.vue.5857e84f.js → NpmVersionCheck.vue.78bff2df.js} +1 -1
- package/dist/client/_nuxt/{PanelLeftRight.vue.4252eb45.js → PanelLeftRight.vue.8031c7d4.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.a6af1a3f.js → StateEditor.vue.4439d43c.js} +1 -1
- package/dist/client/_nuxt/{__blank.f74f0354.js → __blank.944beb26.js} +1 -1
- package/dist/client/_nuxt/{analyze-build.d8530c6c.js → analyze-build.fd781999.js} +1 -1
- package/dist/client/_nuxt/{assets.e5e05d1f.js → assets.f876e2b9.js} +1 -1
- package/dist/client/_nuxt/{client.c658398a.js → client.d6464981.js} +1 -1
- package/dist/client/_nuxt/{components.c29053f6.js → components.d23cd7b8.js} +1 -1
- package/dist/client/_nuxt/custom-_name_.3701152b.js +1 -0
- package/dist/client/_nuxt/{default.a568b6bd.js → default.809c6e7c.js} +1 -1
- package/dist/client/_nuxt/{editor.beb173d9.js → editor.aee50e2c.js} +1 -1
- package/dist/client/_nuxt/entry.717f6486.css +1 -0
- package/dist/client/_nuxt/{entry.eb90118b.js → entry.a0dd6aac.js} +3 -3
- package/dist/client/_nuxt/{error-404.47f56ae7.js → error-404.d560629e.js} +1 -1
- package/dist/client/_nuxt/{error-500.3d8abd19.js → error-500.d7ca8dd1.js} +1 -1
- package/dist/client/_nuxt/{error-component.97bd3af7.js → error-component.15e0d602.js} +2 -2
- package/dist/client/_nuxt/{full.039e8e59.js → full.76363f3f.js} +1 -1
- package/dist/client/_nuxt/{hooks.4df47b77.js → hooks.3a3b761d.js} +1 -1
- package/dist/client/_nuxt/{imports.dd38df5c.js → imports.e0b9437d.js} +1 -1
- package/dist/client/_nuxt/{index.ee7015bb.js → index.25d3cd66.js} +1 -1
- package/dist/client/_nuxt/{index.2d500b42.js → index.d7252ef5.js} +1 -1
- package/dist/client/_nuxt/{json-editor-vue.6b7715bf.js → json-editor-vue.b8dc29b2.js} +1 -1
- package/dist/client/_nuxt/{middleware.a6f1dc81.js → middleware.cbbbe53d.js} +1 -1
- package/dist/client/_nuxt/{modules.8de52693.js → modules.092674af.js} +1 -1
- package/dist/client/_nuxt/{none.7a55d586.js → none.0a084ac9.js} +1 -1
- package/dist/client/_nuxt/{open-graph.ba654e1e.js → open-graph.3563ee56.js} +1 -1
- package/dist/client/_nuxt/{overview.4725a261.js → overview.e4073f57.js} +1 -1
- package/dist/client/_nuxt/{pages.46157a67.js → pages.e4cfc065.js} +1 -1
- package/dist/client/_nuxt/{payload.b59c0588.js → payload.0be0c356.js} +1 -1
- package/dist/client/_nuxt/{plugins.6a2cae7a.js → plugins.88ff2e07.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs.4a7ef849.js → runtime-configs.7810c90a.js} +1 -1
- package/dist/client/_nuxt/{server-routes.2d06f2c7.js → server-routes.911ca1ca.js} +1 -1
- package/dist/client/_nuxt/{settings.1b865c96.js → settings.80338150.js} +1 -1
- package/dist/client/_nuxt/{state-components.ed0b4287.js → state-components.3e562e84.js} +1 -1
- package/dist/client/_nuxt/storage.4d3f94ab.js +1 -0
- package/dist/client/_nuxt/terminals.e433a70a.js +1 -0
- package/dist/client/_nuxt/{unocss-runtime.032bcb78.js → unocss-runtime.9d0d2556.js} +1 -1
- package/dist/client/_nuxt/{virtual-files.5f7c5d81.js → virtual-files.ae241a9c.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/client/modules/analyze-build/index.html +2 -2
- package/dist/client/modules/assets/index.html +2 -2
- package/dist/client/modules/components/index.html +2 -2
- package/dist/client/modules/hooks/index.html +2 -2
- package/dist/client/modules/imports/index.html +2 -2
- package/dist/client/modules/middleware/index.html +2 -2
- package/dist/client/modules/modules/index.html +2 -2
- package/dist/client/modules/open-graph/index.html +2 -2
- package/dist/client/modules/overview/index.html +2 -2
- package/dist/client/modules/pages/index.html +2 -2
- package/dist/client/modules/payload/index.html +2 -2
- package/dist/client/modules/plugins/index.html +2 -2
- package/dist/client/modules/runtime-configs/index.html +2 -2
- package/dist/client/modules/server-routes/index.html +2 -2
- package/dist/client/modules/storage/index.html +2 -2
- package/dist/client/modules/terminals/index.html +2 -2
- package/dist/client/modules/virtual-files/index.html +2 -2
- package/dist/client/settings/index.html +2 -2
- package/dist/module.json +1 -1
- package/dist/runtime/plugins/view/Main.vue +19 -19
- package/package.json +4 -4
- package/dist/client/_nuxt/custom-_name_.85ea5a6a.js +0 -1
- package/dist/client/_nuxt/entry.ea777320.css +0 -1
- package/dist/client/_nuxt/storage.b18c38a9.js +0 -1
- package/dist/client/_nuxt/terminals.195d8588.js +0 -9
- package/dist/client/_nuxt/terminals.ae8c3544.css +0 -32
|
@@ -4,16 +4,16 @@ function al(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.leng
|
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/const nr=typeof window<"u";function Jb(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ne=Object.assign;function Ki(e,t){const n={};for(const r in t){const s=t[r];n[r]=Pt(s)?s.map(e):e(s)}return n}const ws=()=>{},Pt=Array.isArray,Qb=/\/$/,Zb=e=>e.replace(Qb,"");function Xi(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=r0(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function e0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function hu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function t0(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&br(t.matched[r],n.matched[s])&&rp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function br(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!n0(e[n],t[n]))return!1;return!0}function n0(e,t){return Pt(e)?pu(e,t):Pt(t)?pu(t,e):e===t}function pu(e,t){return Pt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function r0(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 Fs;(function(e){e.pop="pop",e.push="push"})(Fs||(Fs={}));var Es;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Es||(Es={}));function s0(e){if(!e)if(nr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Zb(e)}const o0=/^[^#]+#/;function i0(e,t){return e.replace(o0,"#")+t}function a0(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 vi=()=>({left:window.pageXOffset,top:window.pageYOffset});function l0(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=a0(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 mu(e,t){return(history.state?history.state.position-t:-1)+e}const Ma=new Map;function c0(e,t){Ma.set(e,t)}function u0(e){const t=Ma.get(e);return Ma.delete(e),t}let f0=()=>location.protocol+"//"+location.host;function sp(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),hu(l,"")}return hu(n,e)+r+s}function d0(e,t,n,r){let s=[],o=[],i=null;const a=({state:u})=>{const h=sp(e,location),p=n.value,v=t.value;let x=0;if(u){if(n.value=h,t.value=u,i&&i===p){i=null;return}x=v?u.position-v.position:0}else r(h);s.forEach(_=>{_(n.value,p,{delta:x,type:Fs.pop,direction:x?x>0?Es.forward:Es.back:Es.unknown})})};function l(){i=n.value}function c(u){s.push(u);const h=()=>{const p=s.indexOf(u);p>-1&&s.splice(p,1)};return o.push(h),h}function d(){const{history:u}=window;u.state&&u.replaceState(Ne({},u.state,{scroll:vi()}),"")}function f(){for(const u of o)u();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function gu(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?vi():null}}function h0(e){const{history:t,location:n}=window,r={value:sp(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,d){const f=e.indexOf("#"),u=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:f0()+e+l;try{t[d?"replaceState":"pushState"](c,"",u),s.value=c}catch(h){console.error(h),n[d?"replace":"assign"](u)}}function i(l,c){const d=Ne({},t.state,gu(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,d,!0),r.value=l}function a(l,c){const d=Ne({},s.value,t.state,{forward:l,scroll:vi()});o(d.current,d,!0);const f=Ne({},gu(r.value,l,null),{position:d.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function op(e){e=s0(e);const t=h0(e),n=d0(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Ne({location:"",base:e,go:r,createHref:i0.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 p0(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),op(e)}function m0(e){return typeof e=="string"||e&&typeof e=="object"}function ip(e){return typeof e=="string"||typeof e=="symbol"}const jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ap=Symbol("");var vu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(vu||(vu={}));function wr(e,t){return Ne(new Error,{type:e,[ap]:!0},t)}function Ht(e,t){return e instanceof Error&&ap in e&&(t==null||!!(e.type&t))}const _u="[^/]+?",g0={sensitive:!1,strict:!1,start:!0,end:!0},v0=/[.+*?^${}()[\]/\\]/g;function _0(e,t){const n=Ne({},g0,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const u=c[f];let h=40+(n.sensitive?.25:0);if(u.type===0)f||(s+="/"),s+=u.value.replace(v0,"\\$&"),h+=40;else if(u.type===1){const{value:p,repeatable:v,optional:x,regexp:_}=u;o.push({name:p,repeatable:v,optional:x});const g=_||_u;if(g!==_u){h+=10;try{new RegExp(`(${g})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${g}): `+y.message)}}let b=v?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;f||(b=x&&c.length<2?`(?:/${b})`:"/"+b),x&&(b+="?"),s+=b,h+=20,x&&(h+=-8),v&&(h+=-20),g===".*"&&(h+=-50)}d.push(h)}r.push(d)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(c){const d=c.match(i),f={};if(!d)return null;for(let u=1;u<d.length;u++){const h=d[u]||"",p=o[u-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function l(c){let d="",f=!1;for(const u of e){(!f||!d.endsWith("/"))&&(d+="/"),f=!1;for(const h of u)if(h.type===0)d+=h.value;else if(h.type===1){const{value:p,repeatable:v,optional:x}=h,_=p in c?c[p]:"";if(Pt(_)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const g=Pt(_)?_.join("/"):_;if(!g)if(x)u.length<2&&(d.endsWith("/")?d=d.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);d+=g}}return d||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function y0(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 b0(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=y0(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(yu(r))return 1;if(yu(s))return-1}return s.length-r.length}function yu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const w0={type:0,value:""},E0=/[a-zA-Z0-9_]/;function x0(e){if(!e)return[[]];if(e==="/")return[[w0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",d="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function u(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),i()):l===":"?(f(),n=1):u();break;case 4:u(),n=r;break;case 1:l==="("?n=2:E0.test(l)?u():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),s}function T0(e,t,n){const r=_0(x0(e.path),n),s=Ne(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function S0(e,t){const n=[],r=new Map;t=Eu({strict:!1,end:!0,sensitive:!1},t);function s(d){return r.get(d)}function o(d,f,u){const h=!u,p=$0(d);p.aliasOf=u&&u.record;const v=Eu(t,d),x=[p];if("alias"in d){const b=typeof d.alias=="string"?[d.alias]:d.alias;for(const y of b)x.push(Ne({},p,{components:u?u.record.components:p.components,path:y,aliasOf:u?u.record:p}))}let _,g;for(const b of x){const{path:y}=b;if(f&&y[0]!=="/"){const S=f.record.path,m=S[S.length-1]==="/"?"":"/";b.path=f.record.path+(y&&m+y)}if(_=T0(b,f,v),u?u.alias.push(_):(g=g||_,g!==_&&g.alias.push(_),h&&d.name&&!wu(_)&&i(d.name)),p.children){const S=p.children;for(let m=0;m<S.length;m++)o(S[m],_,u&&u.children[m])}u=u||_,(_.record.components&&Object.keys(_.record.components).length||_.record.name||_.record.redirect)&&l(_)}return g?()=>{i(g)}:ws}function i(d){if(ip(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function l(d){let f=0;for(;f<n.length&&b0(d,n[f])>=0&&(d.record.path!==n[f].record.path||!lp(d,n[f]));)f++;n.splice(f,0,d),d.record.name&&!wu(d)&&r.set(d.record.name,d)}function c(d,f){let u,h={},p,v;if("name"in d&&d.name){if(u=r.get(d.name),!u)throw wr(1,{location:d});v=u.record.name,h=Ne(bu(f.params,u.keys.filter(g=>!g.optional).map(g=>g.name)),d.params&&bu(d.params,u.keys.map(g=>g.name))),p=u.stringify(h)}else if("path"in d)p=d.path,u=n.find(g=>g.re.test(p)),u&&(h=u.parse(p),v=u.record.name);else{if(u=f.name?r.get(f.name):n.find(g=>g.re.test(f.path)),!u)throw wr(1,{location:d,currentLocation:f});v=u.record.name,h=Ne({},f.params,d.params),p=u.stringify(h)}const x=[];let _=u;for(;_;)x.unshift(_.record),_=_.parent;return{name:v,path:p,params:h,matched:x,meta:P0(x)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function bu(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function $0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:k0(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 k0(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 wu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function P0(e){return e.reduce((t,n)=>Ne(t,n.meta),{})}function Eu(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function lp(e,t){return t.children.some(n=>n===e||lp(e,n))}const cp=/#/g,A0=/&/g,R0=/\//g,O0=/=/g,N0=/\?/g,up=/\+/g,C0=/%5B/g,L0=/%5D/g,fp=/%5E/g,I0=/%60/g,dp=/%7B/g,j0=/%7C/g,hp=/%7D/g,M0=/%20/g;function Hl(e){return encodeURI(""+e).replace(j0,"|").replace(C0,"[").replace(L0,"]")}function D0(e){return Hl(e).replace(dp,"{").replace(hp,"}").replace(fp,"^")}function Da(e){return Hl(e).replace(up,"%2B").replace(M0,"+").replace(cp,"%23").replace(A0,"%26").replace(I0,"`").replace(dp,"{").replace(hp,"}").replace(fp,"^")}function F0(e){return Da(e).replace(O0,"%3D")}function B0(e){return Hl(e).replace(cp,"%23").replace(N0,"%3F")}function H0(e){return e==null?"":B0(e).replace(R0,"%2F")}function Fo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function U0(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(up," "),i=o.indexOf("="),a=Fo(i<0?o:o.slice(0,i)),l=i<0?null:Fo(o.slice(i+1));if(a in t){let c=t[a];Pt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function xu(e){let t="";for(let n in e){const r=e[n];if(n=F0(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Pt(r)?r.map(o=>o&&Da(o)):[r&&Da(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function W0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Pt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const V0=Symbol(""),Tu=Symbol(""),Ul=Symbol(""),Wl=Symbol(""),Fa=Symbol("");function Fr(){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 hn(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(wr(4,{from:n,to:t})):f instanceof Error?a(f):m0(f)?a(wr(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(r&&r.instances[s],t,n,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(f=>a(f))})}function Yi(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(G0(a)){const c=(a.__vccOpts||a)[t];c&&s.push(hn(c,n,r,o,i))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const d=Jb(c)?c.default:c;o.components[i]=d;const u=(d.__vccOpts||d)[t];return u&&hn(u,n,r,o,i)()}))}}return s}function G0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Su(e){const t=dt(Ul),n=dt(Wl),r=pe(()=>t.resolve(ue(e.to))),s=pe(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],f=n.matched;if(!d||!f.length)return-1;const u=f.findIndex(br.bind(null,d));if(u>-1)return u;const h=$u(l[c-2]);return c>1&&$u(d)===h&&f[f.length-1].path!==h?f.findIndex(br.bind(null,l[c-2])):u}),o=pe(()=>s.value>-1&&X0(n.params,r.value.params)),i=pe(()=>s.value>-1&&s.value===n.matched.length-1&&rp(n.params,r.value.params));function a(l={}){return K0(l)?t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(ws):Promise.resolve()}return{route:r,href:pe(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const z0=Ae({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Su,setup(e,{slots:t}){const n=at(Su(e)),{options:r}=dt(Ul),s=pe(()=>({[ku(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ku(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:et("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),q0=z0;function K0(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 X0(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Pt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function $u(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ku=(e,t,n)=>e??t??n,Y0=Ae({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=dt(Fa),s=pe(()=>e.route||r.value),o=dt(Tu,0),i=pe(()=>{let c=ue(o);const{matched:d}=s.value;let f;for(;(f=d[c])&&!f.components;)c++;return c}),a=pe(()=>s.value.matched[i.value]);fr(Tu,pe(()=>i.value+1)),fr(V0,a),fr(Fa,s);const l=te();return Fe(()=>[l.value,a.value,e.name],([c,d,f],[u,h,p])=>{d&&(d.instances[f]=c,h&&h!==d&&c&&c===u&&(d.leaveGuards.size||(d.leaveGuards=h.leaveGuards),d.updateGuards.size||(d.updateGuards=h.updateGuards))),c&&d&&(!h||!br(d,h)||!u)&&(d.enterCallbacks[f]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=s.value,d=e.name,f=a.value,u=f&&f.components[d];if(!u)return Pu(n.default,{Component:u,route:c});const h=f.props[d],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,x=et(u,Ne({},p,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[d]=null)},ref:l}));return Pu(n.default,{Component:x,route:c})||x}}});function Pu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const pp=Y0;function J0(e){const t=S0(e.routes,e),n=e.parseQuery||U0,r=e.stringifyQuery||xu,s=e.history,o=Fr(),i=Fr(),a=Fr(),l=Un(jt);let c=jt;nr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Ki.bind(null,C=>""+C),f=Ki.bind(null,H0),u=Ki.bind(null,Fo);function h(C,J){let V,oe;return ip(C)?(V=t.getRecordMatcher(C),oe=J):oe=C,t.addRoute(oe,V)}function p(C){const J=t.getRecordMatcher(C);J&&t.removeRoute(J)}function v(){return t.getRoutes().map(C=>C.record)}function x(C){return!!t.getRecordMatcher(C)}function _(C,J){if(J=Ne({},J||l.value),typeof C=="string"){const L=Xi(n,C,J.path),D=t.resolve({path:L.path},J),F=s.createHref(L.fullPath);return Ne(L,D,{params:u(D.params),hash:Fo(L.hash),redirectedFrom:void 0,href:F})}let V;if("path"in C)V=Ne({},C,{path:Xi(n,C.path,J.path).path});else{const L=Ne({},C.params);for(const D in L)L[D]==null&&delete L[D];V=Ne({},C,{params:f(L)}),J.params=f(J.params)}const oe=t.resolve(V,J),Ee=C.hash||"";oe.params=d(u(oe.params));const O=e0(r,Ne({},C,{hash:D0(Ee),path:oe.path})),N=s.createHref(O);return Ne({fullPath:O,hash:Ee,query:r===xu?W0(C.query):C.query||{}},oe,{redirectedFrom:void 0,href:N})}function g(C){return typeof C=="string"?Xi(n,C,l.value.path):Ne({},C)}function b(C,J){if(c!==C)return wr(8,{from:J,to:C})}function y(C){return T(C)}function S(C){return y(Ne(g(C),{replace:!0}))}function m(C){const J=C.matched[C.matched.length-1];if(J&&J.redirect){const{redirect:V}=J;let oe=typeof V=="function"?V(C):V;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=g(oe):{path:oe},oe.params={}),Ne({query:C.query,hash:C.hash,params:"path"in oe?{}:C.params},oe)}}function T(C,J){const V=c=_(C),oe=l.value,Ee=C.state,O=C.force,N=C.replace===!0,L=m(V);if(L)return T(Ne(g(L),{state:typeof L=="object"?Ne({},Ee,L.state):Ee,force:O,replace:N}),J||V);const D=V;D.redirectedFrom=J;let F;return!O&&t0(r,oe,V)&&(F=wr(16,{to:D,from:oe}),ne(oe,oe,!0,!1)),(F?Promise.resolve(F):$(D,oe)).catch(U=>Ht(U)?Ht(U,2)?U:ie(U):H(U,D,oe)).then(U=>{if(U){if(Ht(U,2))return T(Ne({replace:N},g(U.to),{state:typeof U.to=="object"?Ne({},Ee,U.to.state):Ee,force:O}),J||D)}else U=P(D,oe,!0,N,Ee);return k(D,oe,U),U})}function E(C,J){const V=b(C,J);return V?Promise.reject(V):Promise.resolve()}function w(C){const J=fe.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(C):C()}function $(C,J){let V;const[oe,Ee,O]=Q0(C,J);V=Yi(oe.reverse(),"beforeRouteLeave",C,J);for(const L of oe)L.leaveGuards.forEach(D=>{V.push(hn(D,C,J))});const N=E.bind(null,C,J);return V.push(N),we(V).then(()=>{V=[];for(const L of o.list())V.push(hn(L,C,J));return V.push(N),we(V)}).then(()=>{V=Yi(Ee,"beforeRouteUpdate",C,J);for(const L of Ee)L.updateGuards.forEach(D=>{V.push(hn(D,C,J))});return V.push(N),we(V)}).then(()=>{V=[];for(const L of C.matched)if(L.beforeEnter&&!J.matched.includes(L))if(Pt(L.beforeEnter))for(const D of L.beforeEnter)V.push(hn(D,C,J));else V.push(hn(L.beforeEnter,C,J));return V.push(N),we(V)}).then(()=>(C.matched.forEach(L=>L.enterCallbacks={}),V=Yi(O,"beforeRouteEnter",C,J),V.push(N),we(V))).then(()=>{V=[];for(const L of i.list())V.push(hn(L,C,J));return V.push(N),we(V)}).catch(L=>Ht(L,8)?L:Promise.reject(L))}function k(C,J,V){for(const oe of a.list())w(()=>oe(C,J,V))}function P(C,J,V,oe,Ee){const O=b(C,J);if(O)return O;const N=J===jt,L=nr?history.state:{};V&&(oe||N?s.replace(C.fullPath,Ne({scroll:N&&L&&L.scroll},Ee)):s.push(C.fullPath,Ee)),l.value=C,ne(C,J,V,N),ie()}let R;function A(){R||(R=s.listen((C,J,V)=>{if(!_e.listening)return;const oe=_(C),Ee=m(oe);if(Ee){T(Ne(Ee,{replace:!0}),oe).catch(ws);return}c=oe;const O=l.value;nr&&c0(mu(O.fullPath,V.delta),vi()),$(oe,O).catch(N=>Ht(N,12)?N:Ht(N,2)?(T(N.to,oe).then(L=>{Ht(L,20)&&!V.delta&&V.type===Fs.pop&&s.go(-1,!1)}).catch(ws),Promise.reject()):(V.delta&&s.go(-V.delta,!1),H(N,oe,O))).then(N=>{N=N||P(oe,O,!1),N&&(V.delta&&!Ht(N,8)?s.go(-V.delta,!1):V.type===Fs.pop&&Ht(N,20)&&s.go(-1,!1)),k(oe,O,N)}).catch(ws)}))}let I=Fr(),j=Fr(),B;function H(C,J,V){ie(C);const oe=j.list();return oe.length?oe.forEach(Ee=>Ee(C,J,V)):console.error(C),Promise.reject(C)}function q(){return B&&l.value!==jt?Promise.resolve():new Promise((C,J)=>{I.add([C,J])})}function ie(C){return B||(B=!C,A(),I.list().forEach(([J,V])=>C?V(C):J()),I.reset()),C}function ne(C,J,V,oe){const{scrollBehavior:Ee}=e;if(!nr||!Ee)return Promise.resolve();const O=!V&&u0(mu(C.fullPath,0))||(oe||!V)&&history.state&&history.state.scroll||null;return Rt().then(()=>Ee(C,J,O)).then(N=>N&&l0(N)).catch(N=>H(N,C,J))}const re=C=>s.go(C);let he;const fe=new Set,_e={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,hasRoute:x,getRoutes:v,resolve:_,options:e,push:y,replace:S,go:re,back:()=>re(-1),forward:()=>re(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:j.add,isReady:q,install(C){const J=this;C.component("RouterLink",q0),C.component("RouterView",pp),C.config.globalProperties.$router=J,Object.defineProperty(C.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(l)}),nr&&!he&&l.value===jt&&(he=!0,y(s.location).catch(Ee=>{}));const V={};for(const Ee in jt)V[Ee]=pe(()=>l.value[Ee]);C.provide(Ul,J),C.provide(Wl,at(V)),C.provide(Fa,l);const oe=C.unmount;fe.add(C),C.unmount=function(){fe.delete(C),fe.size<1&&(c=jt,R&&R(),R=null,l.value=jt,he=!1,B=!1),oe()}}};function we(C){return C.reduce((J,V)=>J.then(()=>w(V)),Promise.resolve())}return _e}function Q0(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=>br(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>br(c,l))||s.push(l))}return[n,r,s]}function Z0(){return dt(Wl)}const Br={layout:"none"},Hr={layout:"none"},Ba=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),e1=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),t1=e=>{const t=Ie();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Ba(e)}):Ba(e)},n1=()=>null;function mp(...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??n1,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0;const o=Ie(),i=()=>o.isHydrating?o.payload.data[n]:o.static.data[n],a=()=>i()!==void 0;o._asyncData[n]||(o._asyncData[n]={data:te(i()??s.default()),pending:te(!a()),error:ii(o.payload._errors,n)});const l={...o._asyncData[n]};l.refresh=l.execute=(u={})=>{if(o._asyncDataPromises[n]){if(u.dedupe===!1)return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((u._initial||o.isHydrating&&u._initial!==!1)&&a())return i();l.pending.value=!0;const h=new Promise((p,v)=>{try{p(r(o))}catch(x){v(x)}}).then(p=>{if(h.cancelled)return o._asyncDataPromises[n];let v=p;s.transform&&(v=s.transform(p)),s.pick&&(v=r1(v,s.pick)),l.data.value=v,l.error.value=null}).catch(p=>{if(h.cancelled)return o._asyncDataPromises[n];l.error.value=p,l.data.value=ue(s.default())}).finally(()=>{h.cancelled||(l.pending.value=!1,o.payload.data[n]=l.data.value,l.error.value&&(o.payload._errors[n]=gi(l.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=h,o._asyncDataPromises[n]};const c=()=>l.refresh({_initial:!0}),d=s.server!==!1&&o.payload.serverRendered;{const u=Ot();if(u&&!u._nuxtOnBeforeMountCbs){u._nuxtOnBeforeMountCbs=[];const p=u._nuxtOnBeforeMountCbs;u&&(nh(()=>{p.forEach(v=>{v()}),p.splice(0,p.length)}),Ms(()=>p.splice(0,p.length)))}d&&o.isHydrating&&a()?l.pending.value=!1:u&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?u._nuxtOnBeforeMountCbs.push(c):s.immediate&&c(),s.watch&&Fe(s.watch,()=>l.refresh());const h=o.hook("app:data:refresh",p=>{if(!p||p.includes(n))return l.refresh()});u&&Ms(h)}const f=Promise.resolve(o._asyncDataPromises[n]).then(()=>l);return Object.assign(f,l),f}function r1(e,t){const n={};for(const r of t)n[r]=e[r];return n}const s1={ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1};function o1(e,t={}){t={...s1,...t};const n=gp(t);return n.dispatch(e),n.toString()}function gp(e){const t=[];let n=[];const r=s=>{t.push(s)};return{toString(){return t.join("")},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this["_"+(s===null?"null":typeof s)](s)},_object(s){if(s&&typeof s.toJSON=="function")return this._object(s.toJSON());const o=/\[object (.*)]/i,i=Object.prototype.toString.call(s),a=o.exec(i),l=a?a[1].toLowerCase():"unknown:["+i.toLowerCase()+"]";let c=null;if((c=n.indexOf(s))>=0)return this.dispatch("[CIRCULAR:"+c+"]");if(n.push(s),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(l!=="object"&&l!=="function"&&l!=="asyncfunction")this["_"+l]?this["_"+l](s):e.ignoreUnknown||this._unkown(s,l);else{let d=Object.keys(s);e.unorderedObjects&&(d=d.sort()),e.respectType!==!1&&!Au(s)&&d.splice(0,0,"prototype","__proto__","letructor"),e.excludeKeys&&(d=d.filter(function(f){return!e.excludeKeys(f)})),r("object:"+d.length+":");for(const f of d)this.dispatch(f),r(":"),e.excludeValues||this.dispatch(s[f]),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=gp(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:"),Au(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 Au(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 Er{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||i1).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 Er([...this.words])}}const i1={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("")}},a1={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("")}},l1={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 Er(n,t)}},c1={parse(e){return l1.parse(unescape(encodeURIComponent(e)))}};class u1{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new Er,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=c1.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 Er(n,o)}}class f1 extends u1{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const d1=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],h1=[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],An=[];class p1 extends f1{constructor(){super(),this.reset()}reset(){super.reset(),this._hash=new Er([...d1])}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],l=r[4],c=r[5],d=r[6],f=r[7];for(let u=0;u<64;u++){if(u<16)An[u]=t[n+u]|0;else{const b=An[u-15],y=(b<<25|b>>>7)^(b<<14|b>>>18)^b>>>3,S=An[u-2],m=(S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10;An[u]=y+An[u-7]+m+An[u-16]}const h=l&c^~l&d,p=s&o^s&i^o&i,v=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),x=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),_=f+x+h+h1[u]+An[u],g=v+p;f=d,d=c,c=l,l=a+_|0,a=i,i=o,o=s,s=_+g|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+d|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function m1(e){return new p1().finalize(e).toString(a1)}function g1(e,t={}){const n=typeof e=="string"?e:o1(e,t);return m1(n).slice(0,10)}function v1(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=r.key||g1([s,ue(r.baseURL),typeof e=="string"?e:"",ue(r.params||r.query)]);if(!o||typeof o!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+o);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const i=o===s?"$f"+o:o,a=pe(()=>{let y=e;return typeof y=="function"&&(y=y()),ue(y)});if(!r.baseURL&&typeof a.value=="string"&&a.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:d,transform:f,pick:u,watch:h,immediate:p,...v}=r,x=at({...v,cache:typeof r.cache=="boolean"?void 0:r.cache}),_={server:l,lazy:c,default:d,transform:f,pick:u,immediate:p,watch:h===!1?[]:[x,a,...h||[]]};let g;return mp(i,()=>(g?.abort?.(),g=typeof AbortController<"u"?new AbortController:{},typeof a.value=="string"&&a.value.startsWith("/"),(r.$fetch||globalThis.$fetch)(a.value,{signal:g.signal,...x})),_)}async function vp(e,t=ht()){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(()=>vp(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 _1(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:Ie().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const y1=(...e)=>e.find(t=>t!==void 0),b1="noopener noreferrer";function w1(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?Dh:Dl;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 Ae({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:s}){const o=ht(),i=pe(()=>{const f=r.to||r.href||"";return n(f,o.resolve)}),a=pe(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Nr(i.value,{acceptRelative:!0})),l=te(!1),c=te(null),d=f=>{c.value=r.custom?f?.$el?.nextElementSibling:f?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!x1()){const u=Ie();let h,p=null;xn(()=>{const v=E1();t1(()=>{h=Ba(()=>{c?.value?.tagName&&(p=v.observe(c.value,async()=>{p?.(),p=null;const x=typeof i.value=="string"?i.value:o.resolve(i.value).fullPath;await Promise.all([u.hooks.callHook("link:prefetch",x).catch(()=>{}),!a.value&&vp(i.value,o).catch(()=>{})]),l.value=!0}))})})}),Or(()=>{h&&e1(h),p?.(),p=null})}return()=>{if(!a.value){const v={ref:d,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(l.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel),et(bn("RouterLink"),v,s.default)}const f=typeof i.value=="object"?o.resolve(i.value)?.href??null:i.value||null,u=r.target||null,h=r.noRel?null:y1(r.rel,e.externalRelAttribute,f?b1:"")||null,p=()=>np(f,{replace:r.replace});return r.custom?s.default?s.default({href:f,navigate:p,get route(){if(!f)return;const v=Gs(f);return{path:v.pathname,fullPath:v.pathname,get query(){return Mh(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f}},rel:h,target:u,isExternal:a.value,isActive:!1,isExactActive:!1}):null:et("a",{ref:c,href:f,rel:h,target:u},s.default?.())}}})}const Vl=w1({componentName:"NuxtLink"});function E1(){const e=Ie();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 x1(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function T1(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const S1=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function $1(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const Ru=function(...e){e=e.map(r=>T1(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:$1();!s||s.length===0||(t=`${s}/${t}`,n=Ou(s))}return t=k1(t,!n),n&&!Ou(t)?`/${t}`:t.length>0?t:"."};function k1(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 Ou=function(e){return S1.test(e)},P1=function(e,t){const n=Ru(e).split("/"),r=Ru(t).split("/"),s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function k2(e){return!!e.match(/[/\\]node_modules[/\\]/)||Gl(e)}function Gl(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function A1(e){if(Gl(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 R1(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function P2(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function A2(e,t){if(e=e.replace(/\\/g,"/"),Gl(e))return{moduleName:e,path:e};const n=A1(e),r=R1(e);if(n&&r)return{moduleName:n,path:r};try{let s=P1(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function pt(e,t,n){const r=Ie();return r.payload.unique||(r.payload.unique={}),r.payload.unique[e]||(r.payload.unique[e]=mp(e,t,n)),r.payload.unique[e].data}function R2(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Nu={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 O2(e){return Nu[e.toLowerCase()]||Nu.default}function N2(e,t){const n={};for(const[r,s]of Object.entries(t))for(const o of s){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}function C2(e){return Number.isNaN(e)||e<0?"-":e<1?"<1ms":e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function Qt(e){return Ed()?(sg(e),!0):!1}function Ze(e){return typeof e=="function"?e():ue(e)}const Gn=typeof window<"u",O1=e=>typeof e<"u",xr=()=>{},N1=C1();function C1(){var e;return Gn&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function _p(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 yp=e=>e();function L1(e,t={}){let n,r,s=xr;const o=a=>{clearTimeout(a),s(),s=xr};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((d,f)=>{s=t.rejectOnCancel?f:d,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,d(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,d(a())},l)})}}function I1(e=yp){const t=te(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Yn(t),pause:n,resume:r,eventFilter:s}}function Cu(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function j1(...e){if(e.length!==1)return ii(...e);const t=e[0];return typeof t=="function"?Yn(Fd(()=>({get:t,set:xr}))):te(t)}function M1(e,t=200,n={}){return _p(L1(t,n),e)}function D1(e,t=200,n={}){const r=te(e.value),s=M1(()=>{r.value=e.value},t,n);return Fe(e,()=>s()),r}var F1=Object.defineProperty,B1=Object.defineProperties,H1=Object.getOwnPropertyDescriptors,Lu=Object.getOwnPropertySymbols,U1=Object.prototype.hasOwnProperty,W1=Object.prototype.propertyIsEnumerable,Iu=(e,t,n)=>t in e?F1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V1=(e,t)=>{for(var n in t||(t={}))U1.call(t,n)&&Iu(e,n,t[n]);if(Lu)for(var n of Lu(t))W1.call(t,n)&&Iu(e,n,t[n]);return e},G1=(e,t)=>B1(e,H1(t));function z1(e){if(!Me(e))return Ig(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=Fd(()=>({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=G1(V1({},e.value),{[n]:r});Object.setPrototypeOf(s,e.value),e.value=s}}}));return t}function zl(e,t=!0){Ot()?xn(e):t?e():Rt(e)}function Ha(e,t=!1){function n(f,{flush:u="sync",deep:h=!1,timeout:p,throwOnTimeout:v}={}){let x=null;const g=[new Promise(b=>{x=Fe(e,y=>{f(y)!==t&&(x?.(),b(y))},{flush:u,deep:h,immediate:!0})})];return p!=null&&g.push(Cu(p,v).then(()=>Ze(e)).finally(()=>x?.())),Promise.race(g)}function r(f,u){if(!Me(f))return n(y=>y===f,u);const{flush:h="sync",deep:p=!1,timeout:v,throwOnTimeout:x}=u??{};let _=null;const b=[new Promise(y=>{_=Fe([e,f],([S,m])=>{t!==(S===m)&&(_?.(),y(S))},{flush:h,deep:p,immediate:!0})})];return v!=null&&b.push(Cu(v,x).then(()=>Ze(e)).finally(()=>(_?.(),Ze(e)))),Promise.race(b)}function s(f){return n(u=>!!u,f)}function o(f){return r(null,f)}function i(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,u){return n(h=>{const p=Array.from(h);return p.includes(f)||p.includes(Ze(f))},u)}function c(f){return d(1,f)}function d(f=1,u){let h=-1;return n(()=>(h+=1,h>=f),u)}return Array.isArray(Ze(e))?{toMatch:n,toContains:l,changed:c,changedTimes:d,get not(){return Ha(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:d,get not(){return Ha(e,!t)}}}function q1(e){return Ha(e)}function K1(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let o=null;const i=te(!1);function a(){o&&(clearInterval(o),o=null)}function l(){i.value=!1,a()}function c(){const d=Ze(t);d<=0||(i.value=!0,s&&e(),a(),o=setInterval(e,d))}if(r&&Gn&&c(),Me(t)||typeof t=="function"){const d=Fe(t,()=>{i.value&&Gn&&c()});Qt(d)}return Qt(l),{isActive:i,pause:l,resume:c}}function X1(e,t,n={}){const{immediate:r=!0}=n,s=te(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function a(){s.value=!1,i()}function l(...c){i(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...c)},Ze(t))}return r&&(s.value=!0,Gn&&l()),Qt(a),{isPending:Yn(s),start:l,stop:a}}var ju=Object.getOwnPropertySymbols,Y1=Object.prototype.hasOwnProperty,J1=Object.prototype.propertyIsEnumerable,Q1=(e,t)=>{var n={};for(var r in e)Y1.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ju)for(var r of ju(e))t.indexOf(r)<0&&J1.call(e,r)&&(n[r]=e[r]);return n};function Z1(e,t,n={}){const r=n,{eventFilter:s=yp}=r,o=Q1(r,["eventFilter"]);return Fe(e,_p(s,t),o)}var ew=Object.defineProperty,tw=Object.defineProperties,nw=Object.getOwnPropertyDescriptors,Bo=Object.getOwnPropertySymbols,bp=Object.prototype.hasOwnProperty,wp=Object.prototype.propertyIsEnumerable,Mu=(e,t,n)=>t in e?ew(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rw=(e,t)=>{for(var n in t||(t={}))bp.call(t,n)&&Mu(e,n,t[n]);if(Bo)for(var n of Bo(t))wp.call(t,n)&&Mu(e,n,t[n]);return e},sw=(e,t)=>tw(e,nw(t)),ow=(e,t)=>{var n={};for(var r in e)bp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Bo)for(var r of Bo(e))t.indexOf(r)<0&&wp.call(e,r)&&(n[r]=e[r]);return n};function iw(e,t,n={}){const r=n,{eventFilter:s}=r,o=ow(r,["eventFilter"]),{eventFilter:i,pause:a,resume:l,isActive:c}=I1(s);return{stop:Z1(e,t,sw(rw({},o),{eventFilter:i})),pause:a,resume:l,isActive:c}}function L2(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=xr}=r,l=te(!s),c=i?Un(t):te(t);let d=0;return Wn(async f=>{if(!l.value)return;d++;const u=d;let h=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const p=await e(v=>{f(()=>{o&&(o.value=!1),h||v()})});u===d&&(c.value=p)}catch(p){a(p)}finally{o&&u===d&&(o.value=!1),h=!0}}),s?pe(()=>(l.value=!0,c.value)):c}function ql(e={}){let t=0;const n=te([]);function r(...i){const a=_l({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=d=>(a.isResolving=!0,l(d)),a.reject=c}).finally(()=>{a.promise=void 0;const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}),a.promise}function s(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const o=Ae((i,{slots:a})=>{const l=()=>n.value.map(c=>{var d;return et(je,{key:c.key},(d=a.default)==null?void 0:d.call(a,c))});return e.transition?()=>et(h_,e.transition,l):l});return o.start=s,o}function ft(e){var t;const n=Ze(e);return(t=n?.$el)!=null?t:n}const At=Gn?window:void 0,aw=Gn?window.document:void 0,lw=Gn?window.navigator:void 0;function kt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=At):[t,n,r,s]=e,!t)return xr;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(d=>d()),o.length=0},a=(d,f,u,h)=>(d.addEventListener(f,u,h),()=>d.removeEventListener(f,u,h)),l=Fe(()=>[ft(t),Ze(s)],([d,f])=>{i(),d&&o.push(...n.flatMap(u=>r.map(h=>a(d,u,h,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return Qt(c),c}let Du=!1;function cw(e,t,n={}){const{window:r=At,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;N1&&!Du&&(Du=!0,Array.from(r.document.body.children).forEach(u=>u.addEventListener("click",xr)));let a=!0;const l=u=>s.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(p=>p===u.target||u.composedPath().includes(p));{const p=ft(h);return p&&(u.target===p||u.composedPath().includes(p))}}),d=[kt(r,"click",u=>{const h=ft(e);if(!(!h||h===u.target||u.composedPath().includes(h))){if(u.detail===0&&(a=!l(u)),!a){a=!0;return}t(u)}},{passive:!0,capture:o}),kt(r,"pointerdown",u=>{const h=ft(e);h&&(a=!u.composedPath().includes(h)&&!l(u))},{passive:!0}),i&&kt(r,"blur",u=>{var h;const p=ft(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!p?.contains(r.document.activeElement)&&t(u)})].filter(Boolean);return()=>d.forEach(u=>u())}var uw=Object.defineProperty,fw=Object.defineProperties,dw=Object.getOwnPropertyDescriptors,Fu=Object.getOwnPropertySymbols,hw=Object.prototype.hasOwnProperty,pw=Object.prototype.propertyIsEnumerable,Bu=(e,t,n)=>t in e?uw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mw=(e,t)=>{for(var n in t||(t={}))hw.call(t,n)&&Bu(e,n,t[n]);if(Fu)for(var n of Fu(t))pw.call(t,n)&&Bu(e,n,t[n]);return e},gw=(e,t)=>fw(e,dw(t));function vw(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function _w(...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=At,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=vw(t);return kt(s,o,d=>{d.repeat&&Ze(a)||l(d)&&n(d)},i)}function I2(e,t,n={}){return _w(e,t,gw(mw({},n),{eventName:"keydown"}))}function yw(){const e=te(!1);return Ot()&&xn(()=>{e.value=!0}),e}function Kl(e){const t=yw();return pe(()=>(t.value,!!e()))}function bw(e,t={}){const{immediate:n=!0,window:r=At}=t,s=te(!1);let o=0,i=null;function a(d){if(!s.value||!r)return;const f=d-o;e({delta:f,timestamp:d}),o=d,i=r.requestAnimationFrame(a)}function l(){!s.value&&r&&(s.value=!0,i=r.requestAnimationFrame(a))}function c(){s.value=!1,i!=null&&r&&(r.cancelAnimationFrame(i),i=null)}return n&&l(),Qt(c),{isActive:Yn(s),pause:c,resume:l}}function ww(e,t={}){const{window:n=At}=t,r=Kl(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=te(!1),i=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},a=()=>{r.value&&(i(),s=n.matchMedia(j1(e).value),o.value=!!s?.matches,s&&("addEventListener"in s?s.addEventListener("change",a):s.addListener(a)))};return Wn(a),Qt(()=>i()),o}function j2(e={}){const{navigator:t=lw,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=["copy","cut"],a=Kl(()=>t&&"clipboard"in t),l=pe(()=>a.value||o),c=te(""),d=te(!1),f=X1(()=>d.value=!1,s);function u(){a.value?t.clipboard.readText().then(x=>{c.value=x}):c.value=v()}if(l.value&&n)for(const x of i)kt(x,u);async function h(x=Ze(r)){l.value&&x!=null&&(a.value?await t.clipboard.writeText(x):p(x),c.value=x,d.value=!0,f.start())}function p(x){const _=document.createElement("textarea");_.value=x??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function v(){var x,_,g;return(g=(_=(x=document?.getSelection)==null?void 0:x.call(document))==null?void 0:_.toString())!=null?g:""}return{isSupported:l,text:c,copied:d,copy:h}}function Ew(e){return JSON.parse(JSON.stringify(e))}const uo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fo="__vueuse_ssr_handlers__",xw=Tw();function Tw(){return fo in uo||(uo[fo]=uo[fo]||{}),uo[fo]}function Sw(e,t){return xw[e]||t}function $w(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 kw=Object.defineProperty,Hu=Object.getOwnPropertySymbols,Pw=Object.prototype.hasOwnProperty,Aw=Object.prototype.propertyIsEnumerable,Uu=(e,t,n)=>t in e?kw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wu=(e,t)=>{for(var n in t||(t={}))Pw.call(t,n)&&Uu(e,n,t[n]);if(Hu)for(var n of Hu(t))Aw.call(t,n)&&Uu(e,n,t[n]);return e};const Rw={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()}},Vu="vueuse-storage";function Ow(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:d,window:f=At,eventFilter:u,onError:h=E=>{console.error(E)}}=r,p=(d?Un:te)(t);if(!n)try{n=Sw("getDefaultStorage",()=>{var E;return(E=At)==null?void 0:E.localStorage})()}catch(E){h(E)}if(!n)return p;const v=Ze(t),x=$w(v),_=(s=r.serializer)!=null?s:Rw[x],{pause:g,resume:b}=iw(p,()=>y(p.value),{flush:o,deep:i,eventFilter:u});return f&&a&&(kt(f,"storage",T),kt(f,Vu,m)),T(),p;function y(E){try{if(E==null)n.removeItem(e);else{const w=_.write(E),$=n.getItem(e);$!==w&&(n.setItem(e,w),f&&f.dispatchEvent(new CustomEvent(Vu,{detail:{key:e,oldValue:$,newValue:w,storageArea:n}})))}}catch(w){h(w)}}function S(E){const w=E?E.newValue:n.getItem(e);if(w==null)return l&&v!==null&&n.setItem(e,_.write(v)),v;if(!E&&c){const $=_.read(w);return typeof c=="function"?c($,v):x==="object"&&!Array.isArray($)?Wu(Wu({},v),$):$}else return typeof w!="string"?w:_.read(w)}function m(E){T(E.detail)}function T(E){if(!(E&&E.storageArea!==n)){if(E&&E.key==null){p.value=v;return}if(!(E&&E.key!==e)){g();try{p.value=S(E)}catch(w){h(w)}finally{E?Rt(b):b()}}}}}var Gu=Object.getOwnPropertySymbols,Nw=Object.prototype.hasOwnProperty,Cw=Object.prototype.propertyIsEnumerable,Lw=(e,t)=>{var n={};for(var r in e)Nw.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Gu)for(var r of Gu(e))t.indexOf(r)<0&&Cw.call(e,r)&&(n[r]=e[r]);return n};function Ep(e,t,n={}){const r=n,{window:s=At}=r,o=Lw(r,["window"]);let i;const a=Kl(()=>s&&"ResizeObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},c=pe(()=>Array.isArray(e)?e.map(u=>ft(u)):[ft(e)]),d=Fe(c,u=>{if(l(),a.value&&s){i=new ResizeObserver(t);for(const h of u)h&&i.observe(h,o)}},{immediate:!0,flush:"post",deep:!0}),f=()=>{l(),d()};return Qt(f),{isSupported:a,stop:f}}function M2(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=te(0),a=te(0),l=te(0),c=te(0),d=te(0),f=te(0),u=te(0),h=te(0);function p(){const v=ft(e);if(!v){n&&(i.value=0,a.value=0,l.value=0,c.value=0,d.value=0,f.value=0,u.value=0,h.value=0);return}const x=v.getBoundingClientRect();i.value=x.height,a.value=x.bottom,l.value=x.left,c.value=x.right,d.value=x.top,f.value=x.width,u.value=x.x,h.value=x.y}return Ep(e,p),Fe(()=>ft(e),v=>!v&&p()),s&&kt("scroll",p,{capture:!0,passive:!0}),r&&kt("resize",p,{passive:!0}),zl(()=>{o&&p()}),{height:i,bottom:a,left:l,right:c,top:d,width:f,x:u,y:h,update:p}}function D2(e,t={width:0,height:0},n={}){const{window:r=At,box:s="content-box"}=n,o=pe(()=>{var l,c;return(c=(l=ft(e))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),i=te(t.width),a=te(t.height);return Ep(e,([l])=>{const c=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&o.value){const d=ft(e);if(d){const f=r.getComputedStyle(d);i.value=parseFloat(f.width),a.value=parseFloat(f.height)}}else if(c){const d=Array.isArray(c)?c:[c];i.value=d.reduce((f,{inlineSize:u})=>f+u,0),a.value=d.reduce((f,{blockSize:u})=>f+u,0)}else i.value=l.contentRect.width,a.value=l.contentRect.height},n),Fe(()=>ft(e),l=>{i.value=l?t.width:0,a.value=l?t.height:0}),{width:i,height:a}}function Xl(e,t,n={}){const{window:r=At}=n;return Ow(e,t,r?.localStorage,n)}var Iw=Object.defineProperty,zu=Object.getOwnPropertySymbols,jw=Object.prototype.hasOwnProperty,Mw=Object.prototype.propertyIsEnumerable,qu=(e,t,n)=>t in e?Iw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Dw=(e,t)=>{for(var n in t||(t={}))jw.call(t,n)&&qu(e,n,t[n]);if(zu)for(var n of zu(t))Mw.call(t,n)&&qu(e,n,t[n]);return e};function Fw(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=te(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?bw(s,{immediate:!0}):K1(s,n,{immediate:!0});return t?Dw({now:r},o):r}let Bw=0;function F2(e,t={}){const n=te(!1),{document:r=aw,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++Bw}`}=t,a=te(e);let l=()=>{};const c=()=>{if(!r)return;const f=r.getElementById(i)||r.createElement("style");f.isConnected||(f.type="text/css",f.id=i,t.media&&(f.media=t.media),r.head.appendChild(f)),!n.value&&(l=Fe(a,u=>{f.textContent=u},{immediate:!0}),n.value=!0)},d=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&zl(c),o||Qt(d),{id:i,css:a,unload:d,load:c,isLoaded:Yn(n)}}var Hw=Object.defineProperty,Ho=Object.getOwnPropertySymbols,xp=Object.prototype.hasOwnProperty,Tp=Object.prototype.propertyIsEnumerable,Ku=(e,t,n)=>t in e?Hw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Uw=(e,t)=>{for(var n in t||(t={}))xp.call(t,n)&&Ku(e,n,t[n]);if(Ho)for(var n of Ho(t))Tp.call(t,n)&&Ku(e,n,t[n]);return e},Ww=(e,t)=>{var n={};for(var r in e)xp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ho)for(var r of Ho(e))t.indexOf(r)<0&&Tp.call(e,r)&&(n[r]=e[r]);return n};const Vw=[{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"}],Gw={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 zw(e){return e.toISOString().slice(0,10)}function B2(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,s=Fw({interval:r,controls:!0}),{now:o}=s,i=Ww(s,["now"]),a=pe(()=>qw(new Date(Ze(e)),t,Ze(o.value)));return n?Uw({timeAgo:a},i):a}function qw(e,t={},n=Date.now()){var r;const{max:s,messages:o=Gw,fullDateFormatter:i=zw,units:a=Vw,showSecond:l=!1,rounding:c="round"}=t,d=typeof c=="number"?x=>+x.toFixed(c):Math[c],f=+n-+e,u=Math.abs(f);function h(x,_){return d(Math.abs(x)/_.value)}function p(x,_){const g=h(x,_),b=x>0,y=v(_.name,g,b);return v(b?"past":"future",y,b)}function v(x,_,g){const b=o[x];return typeof b=="function"?b(_,g):b.replace("{0}",_.toString())}if(u<6e4&&!l)return o.justNow;if(typeof s=="number"&&u>s)return i(new Date(e));if(typeof s=="string"){const x=(r=a.find(_=>_.name===s))==null?void 0:r.max;if(x&&u>x)return i(new Date(e))}for(const[x,_]of a.entries()){if(h(f,_)<=0&&a[x-1])return p(f,a[x-1]);if(u<_.max)return p(f,_)}return o.invalid}function Sp(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:d=!1,defaultValue:f,shouldEmit:u}=r,h=Ot(),p=n||h?.emit||((s=h?.$emit)==null?void 0:s.bind(h))||((i=(o=h?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(h?.proxy));let v=c;t||(t="modelValue"),v=c||v||`update:${t.toString()}`;const x=b=>a?typeof a=="function"?a(b):Ew(b):b,_=()=>O1(e[t])?x(e[t]):f,g=b=>{u?u(b)&&p(v,b):p(v,b)};if(l){const b=_(),y=te(b);return Fe(()=>e[t],S=>y.value=x(S)),Fe(y,S=>{(S!==e[t]||d)&&g(S)},{deep:d}),y}else return pe({get(){return _()},set(b){g(b)}})}function Kw(e={}){const{window:t=At,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=te(n),a=te(r),l=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(l(),zl(l),kt("resize",l,{passive:!0}),s){const c=ww("(orientation: portrait)");Fe(c,()=>l())}return{width:i,height:a}}const Xw=6e4;function $p(e){return e}const Yw=$p,{setTimeout:Jw}=globalThis,Qw=Math.random.bind(Math);function Zw(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=$p,deserialize:i=Yw,resolver:a,timeout:l=Xw}=t,c=new Map;let d;const f=new Proxy({},{get(u,h){if(h==="$functions")return e;const p=(...x)=>{n(o({m:h,a:x,t:"q"}))};if(s.includes(h))return p.asEvent=p,p;const v=async(...x)=>(await d,new Promise((_,g)=>{const b=tE();c.set(b,{resolve:_,reject:g}),n(o({m:h,a:x,i:b,t:"q"})),l>=0&&Jw(()=>{g(new Error(`[birpc] timeout on calling "${h}"`)),c.delete(b)},l)}));return v.asEvent=p,v}});return d=r(async(u,...h)=>{const p=i(u);if(p.t==="q"){const{m:v,a:x}=p;let _,g;const b=a?a(v,e[v]):e[v];if(!b)g=new Error(`[birpc] function "${v}" not found`);else try{_=await b.apply(f,x)}catch(y){g=y}p.i&&(g&&t.onError&&t.onError(g,v,x),n(o({t:"s",i:p.i,r:_,e:g}),...h))}else{const{i:v,r:x,e:_}=p,g=c.get(v);g&&(_?g.reject(_):g.resolve(x)),c.delete(v)}}),f}const eE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function tE(e=21){let t="",n=e;for(;n--;)t+=eE[Qw()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:nE,stringify:rE}=JSON,{keys:sE}=Object,Bs=String,kp="string",Xu={},Uo="object",Pp=(e,t)=>t,oE=e=>e instanceof Bs?Bs(e):e,iE=(e,t)=>typeof t===kp?new Bs(t):t,Ap=(e,t,n,r)=>{const s=[];for(let o=sE(n),{length:i}=o,a=0;a<i;a++){const l=o[a],c=n[l];if(c instanceof Bs){const d=e[c];typeof d===Uo&&!t.has(d)?(t.add(d),n[l]=Xu,s.push({k:l,a:[e,t,d,r]})):n[l]=r.call(n,l,d)}else n[l]!==Xu&&(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,Ap.apply(null,l))}return n},Yu=(e,t,n)=>{const r=Bs(t.push(n)-1);return e.set(n,r),r},aE=(e,t)=>{const n=nE(e,iE).map(oE),r=n[0],s=t||Pp,o=typeof r===Uo&&r?Ap(n,new Set,r,s):r;return s.call({"":o},"",o)},lE=(e,t,n)=>{const r=t&&typeof t===Uo?(d,f)=>d===""||-1<t.indexOf(d)?f:void 0:t||Pp,s=new Map,o=[],i=[];let a=+Yu(s,o,r.call({"":e},"",e)),l=!a;for(;a<o.length;)l=!0,i[a]=rE(o[a++],c,n);return"["+i.join(",")+"]";function c(d,f){if(l)return l=!l,f;const u=r.call(this,d,f);switch(typeof u){case Uo:if(u===null)return u;case kp:return s.get(u)||Yu(s,o,u)}return u}};async function cE(e="/",t=!0){try{return await Re(()=>import(`${e}@vite/client`),[],import.meta.url)}catch{t&&console.error(`[vite-plugin-hot] Failed to import "${e}@vite/client"`)}}async function uE(e="/____",t="/"){return(await cE(t))?.createHotContext(e)}const Rp="nuxt:devtools:rpc",fE=te(!1),dE=te(),hE=D1(fE,2e3),pE=mE();let Op=()=>{};const Np={},Cp=new Map,De=Zw(Np,{post:async e=>{(await pE).send(Rp,e)},on:e=>{Op=e},serialize:lE,deserialize:aE,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return Cp.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function mE(){const e=await uE();if(!e)throw new Error("Unable to connect to devtools");return e.on(Rp,t=>{Op(t)}),e}const H2=ql(),Lp=ql();function gE(){return Cr("devtools:restart-dialogs",()=>[])}let Ip;function Ju(e){Ip?.(e)}function vE(e){Ip=e}var _E=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function U2(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 Ua={exports:{}};(function(e,t){(function(n,r){var s="1.0.35",o="",i="?",a="function",l="undefined",c="object",d="string",f="major",u="model",h="name",p="type",v="vendor",x="version",_="architecture",g="console",b="mobile",y="tablet",S="smarttv",m="wearable",T="embedded",E=350,w="Amazon",$="Apple",k="ASUS",P="BlackBerry",R="Browser",A="Chrome",I="Edge",j="Firefox",B="Google",H="Huawei",q="LG",ie="Microsoft",ne="Motorola",re="Opera",he="Samsung",fe="Sharp",_e="Sony",we="Xiaomi",C="Zebra",J="Facebook",V="Chromium OS",oe="Mac OS",Ee=function(z,ee){var X={};for(var Q in z)ee[Q]&&ee[Q].length%2===0?X[Q]=ee[Q].concat(z[Q]):X[Q]=z[Q];return X},O=function(z){for(var ee={},X=0;X<z.length;X++)ee[z[X].toUpperCase()]=z[X];return ee},N=function(z,ee){return typeof z===d?L(ee).indexOf(L(z))!==-1:!1},L=function(z){return z.toLowerCase()},D=function(z){return typeof z===d?z.replace(/[^\d\.]/g,o).split(".")[0]:r},F=function(z,ee){if(typeof z===d)return z=z.replace(/^\s\s*/,o),typeof ee===l?z:z.substring(0,E)},U=function(z,ee){for(var X=0,Q,ge,Oe,be,me,Xe;X<ee.length&&!me;){var Jn=ee[X],Ye=ee[X+1];for(Q=ge=0;Q<Jn.length&&!me&&Jn[Q];)if(me=Jn[Q++].exec(z),me)for(Oe=0;Oe<Ye.length;Oe++)Xe=me[++ge],be=Ye[Oe],typeof be===c&&be.length>0?be.length===2?typeof be[1]==a?this[be[0]]=be[1].call(this,Xe):this[be[0]]=be[1]:be.length===3?typeof be[1]===a&&!(be[1].exec&&be[1].test)?this[be[0]]=Xe?be[1].call(this,Xe,be[2]):r:this[be[0]]=Xe?Xe.replace(be[1],be[2]):r:be.length===4&&(this[be[0]]=Xe?be[3].call(this,Xe.replace(be[1],be[2])):r):this[be]=Xe||r;X+=2}},Z=function(z,ee){for(var X in ee)if(typeof ee[X]===c&&ee[X].length>0){for(var Q=0;Q<ee[X].length;Q++)if(N(ee[X][Q],z))return X===i?r:X}else if(N(ee[X],z))return X===i?r:X;return z},Y={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},K={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},G={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[x,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[x,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,x],[/opios[\/ ]+([\w\.]+)/i],[x,[h,re+" Mini"]],[/\bopr\/([\w\.]+)/i],[x,[h,re]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,x],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[x,[h,"UC"+R]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[x,[h,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[x,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[x,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[x,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[x,[h,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+R],x],[/\bfocus\/([\w\.]+)/i],[x,[h,j+" Focus"]],[/\bopt\/([\w\.]+)/i],[x,[h,re+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[x,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[x,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[x,[h,re+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[x,[h,"MIUI "+R]],[/fxios\/([-\w\.]+)/i],[x,[h,j]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+R]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+R],x],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],x],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[h,x],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,J],x],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[h,x],[/\bgsa\/([\w\.]+) .*safari\//i],[x,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[x,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[x,[h,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,A+" WebView"],x],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[x,[h,"Android "+R]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,x],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[x,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[x,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[x,Z,Y]],[/(webkit|khtml)\/([\w\.]+)/i],[h,x],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],x],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[x,[h,j+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,x],[/(cobalt)\/([\w\.]+)/i],[h,[x,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[_,"amd64"]],[/(ia32(?=;))/i],[[_,L]],[/((?:i[346]|x)86)[;\)]/i],[[_,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[_,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[_,"armhf"]],[/windows (ce|mobile); ppc;/i],[[_,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[_,/ower/,o,L]],[/(sun4\w)[;\)]/i],[[_,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[_,L]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[v,he],[p,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[v,he],[p,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[u,[v,$],[p,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[v,$],[p,y]],[/(macintosh);/i],[u,[v,$]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[v,fe],[p,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[v,H],[p,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[u,[v,H],[p,b]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[v,we],[p,b]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[v,we],[p,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[v,"OPPO"],[p,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[v,"Vivo"],[p,b]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[u,[v,"Realme"],[p,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[v,ne],[p,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[v,ne],[p,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[v,q],[p,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[v,q],[p,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[v,"Lenovo"],[p,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[v,"Nokia"],[p,b]],[/(pixel c)\b/i],[u,[v,B],[p,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[v,B],[p,b]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[v,_e],[p,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[v,_e],[p,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[v,"OnePlus"],[p,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[v,w],[p,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[v,w],[p,b]],[/(playbook);[-\w\),; ]+(rim)/i],[u,v,[p,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[v,P],[p,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[v,k],[p,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[v,k],[p,b]],[/(nexus 9)/i],[u,[v,"HTC"],[p,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[u,/_/g," "],[p,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[v,"Acer"],[p,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[v,"Meizu"],[p,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,u,[p,b]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,u,[p,y]],[/(surface duo)/i],[u,[v,ie],[p,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[v,"Fairphone"],[p,b]],[/(u304aa)/i],[u,[v,"AT&T"],[p,b]],[/\bsie-(\w*)/i],[u,[v,"Siemens"],[p,b]],[/\b(rct\w+) b/i],[u,[v,"RCA"],[p,y]],[/\b(venue[\d ]{2,7}) b/i],[u,[v,"Dell"],[p,y]],[/\b(q(?:mv|ta)\w+) b/i],[u,[v,"Verizon"],[p,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[v,"Barnes & Noble"],[p,y]],[/\b(tm\d{3}\w+) b/i],[u,[v,"NuVision"],[p,y]],[/\b(k88) b/i],[u,[v,"ZTE"],[p,y]],[/\b(nx\d{3}j) b/i],[u,[v,"ZTE"],[p,b]],[/\b(gen\d{3}) b.+49h/i],[u,[v,"Swiss"],[p,b]],[/\b(zur\d{3}) b/i],[u,[v,"Swiss"],[p,y]],[/\b((zeki)?tb.*\b) b/i],[u,[v,"Zeki"],[p,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],u,[p,y]],[/\b(ns-?\w{0,9}) b/i],[u,[v,"Insignia"],[p,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[v,"NextBook"],[p,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],u,[p,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],u,[p,b]],[/\b(ph-1) /i],[u,[v,"Essential"],[p,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[v,"Envizen"],[p,y]],[/\b(trio[-\w\. ]+) b/i],[u,[v,"MachSpeed"],[p,y]],[/\btu_(1491) b/i],[u,[v,"Rotor"],[p,y]],[/(shield[\w ]+) b/i],[u,[v,"Nvidia"],[p,y]],[/(sprint) (\w+)/i],[v,u,[p,b]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[v,ie],[p,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[v,C],[p,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[v,C],[p,b]],[/smart-tv.+(samsung)/i],[v,[p,S]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[v,he],[p,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,q],[p,S]],[/(apple) ?tv/i],[v,[u,$+" TV"],[p,S]],[/crkey/i],[[u,A+"cast"],[v,B],[p,S]],[/droid.+aft(\w)( bui|\))/i],[u,[v,w],[p,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[u,[v,fe],[p,S]],[/(bravia[\w ]+)( bui|\))/i],[u,[v,_e],[p,S]],[/(mitv-\w{5}) bui/i],[u,[v,we],[p,S]],[/Hbbtv.*(technisat) (.*);/i],[v,u,[p,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,F],[u,F],[p,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,u,[p,g]],[/droid.+; (shield) bui/i],[u,[v,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[u,[v,_e],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[v,ie],[p,g]],[/((pebble))app/i],[v,u,[p,m]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[u,[v,$],[p,m]],[/droid.+; (glass) \d/i],[u,[v,B],[p,m]],[/droid.+; (wt63?0{2,3})\)/i],[u,[v,C],[p,m]],[/(quest( 2| pro)?)/i],[u,[v,J],[p,m]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[p,T]],[/(aeobc)\b/i],[u,[v,w],[p,T]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[u,[p,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[p,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,b]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[x,[h,I+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[x,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,x],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[x,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,x],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[h,[x,Z,K]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,"Windows"],[x,Z,K]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[x,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,oe],[x,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[x,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,x],[/\(bb(10);/i],[x,[h,P]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[x,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[x,[h,j+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[x,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[x,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[x,[h,A+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,V],x],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,x],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],x],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,x]]},se=function(z,ee){if(typeof z===c&&(ee=z,z=r),!(this instanceof se))return new se(z,ee).getResult();var X=typeof n!==l&&n.navigator?n.navigator:r,Q=z||(X&&X.userAgent?X.userAgent:o),ge=X&&X.userAgentData?X.userAgentData:r,Oe=ee?Ee(G,ee):G,be=X&&X.userAgent==Q;return this.getBrowser=function(){var me={};return me[h]=r,me[x]=r,U.call(me,Q,Oe.browser),me[f]=D(me[x]),be&&X&&X.brave&&typeof X.brave.isBrave==a&&(me[h]="Brave"),me},this.getCPU=function(){var me={};return me[_]=r,U.call(me,Q,Oe.cpu),me},this.getDevice=function(){var me={};return me[v]=r,me[u]=r,me[p]=r,U.call(me,Q,Oe.device),be&&!me[p]&&ge&&ge.mobile&&(me[p]=b),be&&me[u]=="Macintosh"&&X&&typeof X.standalone!==l&&X.maxTouchPoints&&X.maxTouchPoints>2&&(me[u]="iPad",me[p]=y),me},this.getEngine=function(){var me={};return me[h]=r,me[x]=r,U.call(me,Q,Oe.engine),me},this.getOS=function(){var me={};return me[h]=r,me[x]=r,U.call(me,Q,Oe.os),be&&!me[h]&&ge&&ge.platform!="Unknown"&&(me[h]=ge.platform.replace(/chrome os/i,V).replace(/macos/i,oe)),me},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Q},this.setUA=function(me){return Q=typeof me===d&&me.length>E?F(me,E):me,this},this.setUA(Q),this};se.VERSION=s,se.BROWSER=O([h,x,f]),se.CPU=O([_]),se.DEVICE=O([u,v,p,g,b,S,y,m,T]),se.ENGINE=se.OS=O([h,x]),e.exports&&(t=e.exports=se),t.UAParser=se;var M=typeof n!==l&&(n.jQuery||n.Zepto);if(M&&!M.ua){var W=new se;M.ua=W.getResult(),M.ua.get=function(){return W.getUA()},M.ua.set=function(z){W.setUA(z);var ee=W.getResult();for(var X in ee)M.ua[X]=ee[X]}}})(typeof window=="object"?window:_E)})(Ua,Ua.exports);var bE=Ua.exports;const pn=te(localStorage.getItem("__nuxt_dev_token__")),xs=te(!1),wE=new BroadcastChannel("__nuxt_dev_token__");wE.addEventListener("message",e=>{if(e.data.event==="new-token"){const t=e.data.data;De.verifyAuthToken(t).then(n=>{pn.value=n?t:null,xs.value=n})}});async function EE(){if(xs.value)return pn.value;if(!pn.value){const e=new bE.UAParser(navigator.userAgent).getResult(),t=[e.browser.name,e.browser.version,"|",e.os.name,e.os.version,e.device.type].filter(r=>r).join(" ");if(De.requestForAuth(t),await Promise.race([Lp.start(),q1(pn.value).toBeTruthy()])===!1)throw Ju({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}if(xs.value=await De.verifyAuthToken(pn.value),!xs.value)throw pn.value=null,Ju({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),new Error("Invalid auth token");return pn.value}var Wa={exports:{}};const xE="2.0.0",TE=256,SE=Number.MAX_SAFE_INTEGER||9007199254740991,$E=16,kE=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var _i={MAX_LENGTH:TE,MAX_SAFE_COMPONENT_LENGTH:$E,MAX_SAFE_INTEGER:SE,RELEASE_TYPES:kE,SEMVER_SPEC_VERSION:xE,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const PE=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var yi=PE;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=_i,r=yi;t=e.exports={};const s=t.re=[],o=t.src=[],i=t.t={};let a=0;const l=(c,d,f)=>{const u=a++;r(c,u,d),i[c]=u,o[u]=d,s[u]=new RegExp(d,f?"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*$")})(Wa,Wa.exports);var zs=Wa.exports;const AE=Object.freeze({loose:!0}),RE=Object.freeze({}),OE=e=>e?typeof e!="object"?AE:e:RE;var Yl=OE;const Qu=/^[0-9]+$/,jp=(e,t)=>{const n=Qu.test(e),r=Qu.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},NE=(e,t)=>jp(t,e);var Mp={compareIdentifiers:jp,rcompareIdentifiers:NE};const ho=yi,{MAX_LENGTH:Zu,MAX_SAFE_INTEGER:po}=_i,{re:ef,t:tf}=zs,CE=Yl,{compareIdentifiers:Zn}=Mp;let LE=class It{constructor(t,n){if(n=CE(n),t instanceof It){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>Zu)throw new TypeError(`version is longer than ${Zu} characters`);ho("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?ef[tf.LOOSE]:ef[tf.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>po||this.major<0)throw new TypeError("Invalid major version");if(this.minor>po||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>po||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<po)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(ho("SemVer.compare",this.version,this.options,t),!(t instanceof It)){if(typeof t=="string"&&t===this.version)return 0;t=new It(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof It||(t=new It(t,this.options)),Zn(this.major,t.major)||Zn(this.minor,t.minor)||Zn(this.patch,t.patch)}comparePre(t){if(t instanceof It||(t=new It(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(ho("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 Zn(r,s)}while(++n)}compareBuild(t){t instanceof It||(t=new It(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(ho("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 Zn(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]),Zn(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 rt=LE;const nf=rt,IE=(e,t,n=!1)=>{if(e instanceof nf)return e;try{return new nf(e,t)}catch(r){if(!n)return null;throw r}};var Lr=IE;const jE=Lr,ME=(e,t)=>{const n=jE(e,t);return n?n.version:null};var DE=ME;const FE=Lr,BE=(e,t)=>{const n=FE(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var HE=BE;const rf=rt,UE=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new rf(e instanceof rf?e.version:e,n).inc(t,r,s).version}catch{return null}};var WE=UE;const sf=Lr,VE=(e,t)=>{const n=sf(e,null,!0),r=sf(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 GE=VE;const zE=rt,qE=(e,t)=>new zE(e,t).major;var KE=qE;const XE=rt,YE=(e,t)=>new XE(e,t).minor;var JE=YE;const QE=rt,ZE=(e,t)=>new QE(e,t).patch;var ex=ZE;const tx=Lr,nx=(e,t)=>{const n=tx(e,t);return n&&n.prerelease.length?n.prerelease:null};var rx=nx;const of=rt,sx=(e,t,n)=>new of(e,n).compare(new of(t,n));var Nt=sx;const ox=Nt,ix=(e,t,n)=>ox(t,e,n);var ax=ix;const lx=Nt,cx=(e,t)=>lx(e,t,!0);var ux=cx;const af=rt,fx=(e,t,n)=>{const r=new af(e,n),s=new af(t,n);return r.compare(s)||r.compareBuild(s)};var Jl=fx;const dx=Jl,hx=(e,t)=>e.sort((n,r)=>dx(n,r,t));var px=hx;const mx=Jl,gx=(e,t)=>e.sort((n,r)=>mx(r,n,t));var vx=gx;const _x=Nt,yx=(e,t,n)=>_x(e,t,n)>0;var bi=yx;const bx=Nt,wx=(e,t,n)=>bx(e,t,n)<0;var Ql=wx;const Ex=Nt,xx=(e,t,n)=>Ex(e,t,n)===0;var Dp=xx;const Tx=Nt,Sx=(e,t,n)=>Tx(e,t,n)!==0;var Fp=Sx;const $x=Nt,kx=(e,t,n)=>$x(e,t,n)>=0;var Zl=kx;const Px=Nt,Ax=(e,t,n)=>Px(e,t,n)<=0;var ec=Ax;const Rx=Dp,Ox=Fp,Nx=bi,Cx=Zl,Lx=Ql,Ix=ec,jx=(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 Rx(e,n,r);case"!=":return Ox(e,n,r);case">":return Nx(e,n,r);case">=":return Cx(e,n,r);case"<":return Lx(e,n,r);case"<=":return Ix(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var Bp=jx;const Mx=rt,Dx=Lr,{re:mo,t:go}=zs,Fx=(e,t)=>{if(e instanceof Mx)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(mo[go.COERCE]);else{let r;for(;(r=mo[go.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),mo[go.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;mo[go.COERCERTL].lastIndex=-1}return n===null?null:Dx(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var Bx=Fx,Ji,lf;function Hx(){return lf||(lf=1,Ji=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Ji}var Ux=Pe;Pe.Node=zn;Pe.create=Pe;function Pe(e){var t=this;if(t instanceof Pe||(t=new Pe),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}Pe.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};Pe.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++}};Pe.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++}};Pe.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)Vx(this,arguments[e]);return this.length};Pe.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)Gx(this,arguments[e]);return this.length};Pe.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}};Pe.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}};Pe.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};Pe.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};Pe.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};Pe.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};Pe.prototype.map=function(e,t){t=t||this;for(var n=new Pe,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};Pe.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Pe,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};Pe.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};Pe.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};Pe.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};Pe.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};Pe.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 Pe;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};Pe.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 Pe;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};Pe.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=Wx(this,s,n[r]);return o};Pe.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 Wx(e,t,n){var r=t===e.head?new zn(n,null,t,e):new zn(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function Vx(e,t){e.tail=new zn(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function Gx(e,t){e.head=new zn(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function zn(e,t,n,r){if(!(this instanceof zn))return new zn(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{Hx()(Pe)}catch{}const zx=Ux,Ln=Symbol("max"),zt=Symbol("length"),er=Symbol("lengthCalculator"),Ts=Symbol("allowStale"),Mn=Symbol("maxAge"),Gt=Symbol("dispose"),cf=Symbol("noDisposeOnSet"),Ve=Symbol("lruList"),wt=Symbol("cache"),Hp=Symbol("updateAgeOnGet"),Qi=()=>1;class qx{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[Ln]=t.max||1/0;const n=t.length||Qi;if(this[er]=typeof n!="function"?Qi:n,this[Ts]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Mn]=t.maxAge||0,this[Gt]=t.dispose,this[cf]=t.noDisposeOnSet||!1,this[Hp]=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[Ln]=t||1/0,Ur(this)}get max(){return this[Ln]}set allowStale(t){this[Ts]=!!t}get allowStale(){return this[Ts]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Mn]=t,Ur(this)}get maxAge(){return this[Mn]}set lengthCalculator(t){typeof t!="function"&&(t=Qi),t!==this[er]&&(this[er]=t,this[zt]=0,this[Ve].forEach(n=>{n.length=this[er](n.value,n.key),this[zt]+=n.length})),Ur(this)}get lengthCalculator(){return this[er]}get length(){return this[zt]}get itemCount(){return this[Ve].length}rforEach(t,n){n=n||this;for(let r=this[Ve].tail;r!==null;){const s=r.prev;uf(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[Ve].head;r!==null;){const s=r.next;uf(this,t,r,n),r=s}}keys(){return this[Ve].toArray().map(t=>t.key)}values(){return this[Ve].toArray().map(t=>t.value)}reset(){this[Gt]&&this[Ve]&&this[Ve].length&&this[Ve].forEach(t=>this[Gt](t.key,t.value)),this[wt]=new Map,this[Ve]=new zx,this[zt]=0}dump(){return this[Ve].map(t=>Wo(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Ve]}set(t,n,r){if(r=r||this[Mn],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,o=this[er](n,t);if(this[wt].has(t)){if(o>this[Ln])return dr(this,this[wt].get(t)),!1;const l=this[wt].get(t).value;return this[Gt]&&(this[cf]||this[Gt](t,l.value)),l.now=s,l.maxAge=r,l.value=n,this[zt]+=o-l.length,l.length=o,this.get(t),Ur(this),!0}const i=new Kx(t,n,o,s,r);return i.length>this[Ln]?(this[Gt]&&this[Gt](t,n),!1):(this[zt]+=i.length,this[Ve].unshift(i),this[wt].set(t,this[Ve].head),Ur(this),!0)}has(t){if(!this[wt].has(t))return!1;const n=this[wt].get(t).value;return!Wo(this,n)}get(t){return Zi(this,t,!0)}peek(t){return Zi(this,t,!1)}pop(){const t=this[Ve].tail;return t?(dr(this,t),t.value):null}del(t){dr(this,this[wt].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[wt].forEach((t,n)=>Zi(this,n,!1))}}const Zi=(e,t,n)=>{const r=e[wt].get(t);if(r){const s=r.value;if(Wo(e,s)){if(dr(e,r),!e[Ts])return}else n&&(e[Hp]&&(r.value.now=Date.now()),e[Ve].unshiftNode(r));return s.value}},Wo=(e,t)=>{if(!t||!t.maxAge&&!e[Mn])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[Mn]&&n>e[Mn]},Ur=e=>{if(e[zt]>e[Ln])for(let t=e[Ve].tail;e[zt]>e[Ln]&&t!==null;){const n=t.prev;dr(e,t),t=n}},dr=(e,t)=>{if(t){const n=t.value;e[Gt]&&e[Gt](n.key,n.value),e[zt]-=n.length,e[wt].delete(n.key),e[Ve].removeNode(t)}};class Kx{constructor(t,n,r,s,o){this.key=t,this.value=n,this.length=r,this.now=s,this.maxAge=o||0}}const uf=(e,t,n,r)=>{let s=n.value;Wo(e,s)&&(dr(e,n),e[Ts]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var Xx=qx,ea,ff;function Ct(){if(ff)return ea;ff=1;class e{constructor(A,I){if(I=r(I),A instanceof e)return A.loose===!!I.loose&&A.includePrerelease===!!I.includePrerelease?A:new e(A.raw,I);if(A instanceof s)return this.raw=A.value,this.set=[[A]],this.format(),this;if(this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease,this.raw=A,this.set=A.split("||").map(j=>this.parseRange(j.trim())).filter(j=>j.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${A}`);if(this.set.length>1){const j=this.set[0];if(this.set=this.set.filter(B=>!p(B[0])),this.set.length===0)this.set=[j];else if(this.set.length>1){for(const B of this.set)if(B.length===1&&v(B[0])){this.set=[B];break}}}this.format()}format(){return this.range=this.set.map(A=>A.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(A){A=A.trim();const j=((this.options.includePrerelease&&u)|(this.options.loose&&h))+":"+A,B=n.get(j);if(B)return B;const H=this.options.loose,q=H?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];A=A.replace(q,k(this.options.includePrerelease)),o("hyphen replace",A),A=A.replace(a[l.COMPARATORTRIM],c),o("comparator trim",A),A=A.replace(a[l.TILDETRIM],d),A=A.replace(a[l.CARETTRIM],f),A=A.split(/\s+/).join(" ");let ie=A.split(" ").map(fe=>_(fe,this.options)).join(" ").split(/\s+/).map(fe=>$(fe,this.options));H&&(ie=ie.filter(fe=>(o("loose invalid filter",fe,this.options),!!fe.match(a[l.COMPARATORLOOSE])))),o("range list",ie);const ne=new Map,re=ie.map(fe=>new s(fe,this.options));for(const fe of re){if(p(fe))return[fe];ne.set(fe.value,fe)}ne.size>1&&ne.has("")&&ne.delete("");const he=[...ne.values()];return n.set(j,he),he}intersects(A,I){if(!(A instanceof e))throw new TypeError("a Range is required");return this.set.some(j=>x(j,I)&&A.set.some(B=>x(B,I)&&j.every(H=>B.every(q=>H.intersects(q,I)))))}test(A){if(!A)return!1;if(typeof A=="string")try{A=new i(A,this.options)}catch{return!1}for(let I=0;I<this.set.length;I++)if(P(this.set[I],A,this.options))return!0;return!1}}ea=e;const t=Xx,n=new t({max:1e3}),r=Yl,s=wi(),o=yi,i=rt,{re:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:d,caretTrimReplace:f}=zs,{FLAG_INCLUDE_PRERELEASE:u,FLAG_LOOSE:h}=_i,p=R=>R.value==="<0.0.0-0",v=R=>R.value==="",x=(R,A)=>{let I=!0;const j=R.slice();let B=j.pop();for(;I&&j.length;)I=j.every(H=>B.intersects(H,A)),B=j.pop();return I},_=(R,A)=>(o("comp",R,A),R=S(R,A),o("caret",R),R=b(R,A),o("tildes",R),R=T(R,A),o("xrange",R),R=w(R,A),o("stars",R),R),g=R=>!R||R.toLowerCase()==="x"||R==="*",b=(R,A)=>R.trim().split(/\s+/).map(I=>y(I,A)).join(" "),y=(R,A)=>{const I=A.loose?a[l.TILDELOOSE]:a[l.TILDE];return R.replace(I,(j,B,H,q,ie)=>{o("tilde",R,j,B,H,q,ie);let ne;return g(B)?ne="":g(H)?ne=`>=${B}.0.0 <${+B+1}.0.0-0`:g(q)?ne=`>=${B}.${H}.0 <${B}.${+H+1}.0-0`:ie?(o("replaceTilde pr",ie),ne=`>=${B}.${H}.${q}-${ie} <${B}.${+H+1}.0-0`):ne=`>=${B}.${H}.${q} <${B}.${+H+1}.0-0`,o("tilde return",ne),ne})},S=(R,A)=>R.trim().split(/\s+/).map(I=>m(I,A)).join(" "),m=(R,A)=>{o("caret",R,A);const I=A.loose?a[l.CARETLOOSE]:a[l.CARET],j=A.includePrerelease?"-0":"";return R.replace(I,(B,H,q,ie,ne)=>{o("caret",R,B,H,q,ie,ne);let re;return g(H)?re="":g(q)?re=`>=${H}.0.0${j} <${+H+1}.0.0-0`:g(ie)?H==="0"?re=`>=${H}.${q}.0${j} <${H}.${+q+1}.0-0`:re=`>=${H}.${q}.0${j} <${+H+1}.0.0-0`:ne?(o("replaceCaret pr",ne),H==="0"?q==="0"?re=`>=${H}.${q}.${ie}-${ne} <${H}.${q}.${+ie+1}-0`:re=`>=${H}.${q}.${ie}-${ne} <${H}.${+q+1}.0-0`:re=`>=${H}.${q}.${ie}-${ne} <${+H+1}.0.0-0`):(o("no pr"),H==="0"?q==="0"?re=`>=${H}.${q}.${ie}${j} <${H}.${q}.${+ie+1}-0`:re=`>=${H}.${q}.${ie}${j} <${H}.${+q+1}.0-0`:re=`>=${H}.${q}.${ie} <${+H+1}.0.0-0`),o("caret return",re),re})},T=(R,A)=>(o("replaceXRanges",R,A),R.split(/\s+/).map(I=>E(I,A)).join(" ")),E=(R,A)=>{R=R.trim();const I=A.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return R.replace(I,(j,B,H,q,ie,ne)=>{o("xRange",R,j,B,H,q,ie,ne);const re=g(H),he=re||g(q),fe=he||g(ie),_e=fe;return B==="="&&_e&&(B=""),ne=A.includePrerelease?"-0":"",re?B===">"||B==="<"?j="<0.0.0-0":j="*":B&&_e?(he&&(q=0),ie=0,B===">"?(B=">=",he?(H=+H+1,q=0,ie=0):(q=+q+1,ie=0)):B==="<="&&(B="<",he?H=+H+1:q=+q+1),B==="<"&&(ne="-0"),j=`${B+H}.${q}.${ie}${ne}`):he?j=`>=${H}.0.0${ne} <${+H+1}.0.0-0`:fe&&(j=`>=${H}.${q}.0${ne} <${H}.${+q+1}.0-0`),o("xRange return",j),j})},w=(R,A)=>(o("replaceStars",R,A),R.trim().replace(a[l.STAR],"")),$=(R,A)=>(o("replaceGTE0",R,A),R.trim().replace(a[A.includePrerelease?l.GTE0PRE:l.GTE0],"")),k=R=>(A,I,j,B,H,q,ie,ne,re,he,fe,_e,we)=>(g(j)?I="":g(B)?I=`>=${j}.0.0${R?"-0":""}`:g(H)?I=`>=${j}.${B}.0${R?"-0":""}`:q?I=`>=${I}`:I=`>=${I}${R?"-0":""}`,g(re)?ne="":g(he)?ne=`<${+re+1}.0.0-0`:g(fe)?ne=`<${re}.${+he+1}.0-0`:_e?ne=`<=${re}.${he}.${fe}-${_e}`:R?ne=`<${re}.${he}.${+fe+1}-0`:ne=`<=${ne}`,`${I} ${ne}`.trim()),P=(R,A,I)=>{for(let j=0;j<R.length;j++)if(!R[j].test(A))return!1;if(A.prerelease.length&&!I.includePrerelease){for(let j=0;j<R.length;j++)if(o(R[j].semver),R[j].semver!==s.ANY&&R[j].semver.prerelease.length>0){const B=R[j].semver;if(B.major===A.major&&B.minor===A.minor&&B.patch===A.patch)return!0}return!1}return!0};return ea}var ta,df;function wi(){if(df)return ta;df=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(d,f){if(f=n(f),d instanceof t){if(d.loose===!!f.loose)return d;d=d.value}i("comparator",d,f),this.options=f,this.loose=!!f.loose,this.parse(d),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(d){const f=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],u=d.match(f);if(!u)throw new TypeError(`Invalid comparator: ${d}`);this.operator=u[1]!==void 0?u[1]:"",this.operator==="="&&(this.operator=""),u[2]?this.semver=new a(u[2],this.options.loose):this.semver=e}toString(){return this.value}test(d){if(i("Comparator.test",d,this.options.loose),this.semver===e||d===e)return!0;if(typeof d=="string")try{d=new a(d,this.options)}catch{return!1}return o(d,this.operator,this.semver,this.options)}intersects(d,f){if(!(d instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(d.value,f).test(this.value):d.operator===""?d.value===""?!0:new l(this.value,f).test(d.semver):(f=n(f),f.includePrerelease&&(this.value==="<0.0.0-0"||d.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||d.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&d.operator.startsWith(">")||this.operator.startsWith("<")&&d.operator.startsWith("<")||this.semver.version===d.semver.version&&this.operator.includes("=")&&d.operator.includes("=")||o(this.semver,"<",d.semver,f)&&this.operator.startsWith(">")&&d.operator.startsWith("<")||o(this.semver,">",d.semver,f)&&this.operator.startsWith("<")&&d.operator.startsWith(">")))}}ta=t;const n=Yl,{re:r,t:s}=zs,o=Bp,i=yi,a=rt,l=Ct();return ta}const Yx=Ct(),Jx=(e,t,n)=>{try{t=new Yx(t,n)}catch{return!1}return t.test(e)};var Ei=Jx;const Qx=Ct(),Zx=(e,t)=>new Qx(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var eT=Zx;const tT=rt,nT=Ct(),rT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new nT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new tT(r,n))}),r};var sT=rT;const oT=rt,iT=Ct(),aT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new iT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new oT(r,n))}),r};var lT=aT;const na=rt,cT=Ct(),hf=bi,uT=(e,t)=>{e=new cT(e,t);let n=new na("0.0.0");if(e.test(n)||(n=new na("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 na(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||hf(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||hf(n,o))&&(n=o)}return n&&e.test(n)?n:null};var fT=uT;const dT=Ct(),hT=(e,t)=>{try{return new dT(e,t).range||"*"}catch{return null}};var pT=hT;const mT=rt,Up=wi(),{ANY:gT}=Up,vT=Ct(),_T=Ei,pf=bi,mf=Ql,yT=ec,bT=Zl,wT=(e,t,n,r)=>{e=new mT(e,r),t=new vT(t,r);let s,o,i,a,l;switch(n){case">":s=pf,o=yT,i=mf,a=">",l=">=";break;case"<":s=mf,o=bT,i=pf,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(_T(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const d=t.set[c];let f=null,u=null;if(d.forEach(h=>{h.semver===gT&&(h=new Up(">=0.0.0")),f=f||h,u=u||h,s(h.semver,f.semver,r)?f=h:i(h.semver,u.semver,r)&&(u=h)}),f.operator===a||f.operator===l||(!u.operator||u.operator===a)&&o(e,u.semver))return!1;if(u.operator===l&&i(e,u.semver))return!1}return!0};var tc=wT;const ET=tc,xT=(e,t,n)=>ET(e,t,">",n);var TT=xT;const ST=tc,$T=(e,t,n)=>ST(e,t,"<",n);var kT=$T;const gf=Ct(),PT=(e,t,n)=>(e=new gf(e,n),t=new gf(t,n),e.intersects(t,n));var AT=PT;const RT=Ei,OT=Nt;var NT=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((d,f)=>OT(d,f,n));for(const d of i)RT(d,t,n)?(o=d,s||(s=d)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const a=[];for(const[d,f]of r)d===f?a.push(d):!f&&d===i[0]?a.push("*"):f?d===i[0]?a.push(`<=${f}`):a.push(`${d} - ${f}`):a.push(`>=${d}`);const l=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t};const vf=Ct(),nc=wi(),{ANY:ra}=nc,Wr=Ei,rc=Nt,CT=(e,t,n={})=>{if(e===t)return!0;e=new vf(e,n),t=new vf(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const i=IT(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},LT=[new nc(">=0.0.0-0")],_f=[new nc(">=0.0.0")],IT=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===ra){if(t.length===1&&t[0].semver===ra)return!0;n.includePrerelease?e=LT:e=_f}if(t.length===1&&t[0].semver===ra){if(n.includePrerelease)return!0;t=_f}const r=new Set;let s,o;for(const h of e)h.operator===">"||h.operator===">="?s=yf(s,h,n):h.operator==="<"||h.operator==="<="?o=bf(o,h,n):r.add(h.semver);if(r.size>1)return null;let i;if(s&&o){if(i=rc(s.semver,o.semver,n),i>0)return null;if(i===0&&(s.operator!==">="||o.operator!=="<="))return null}for(const h of r){if(s&&!Wr(h,String(s),n)||o&&!Wr(h,String(o),n))return null;for(const p of t)if(!Wr(h,String(p),n))return!1;return!0}let a,l,c,d,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,u=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;f&&f.prerelease.length===1&&o.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(const h of t){if(d=d||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",s){if(u&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===u.major&&h.semver.minor===u.minor&&h.semver.patch===u.patch&&(u=!1),h.operator===">"||h.operator===">="){if(a=yf(s,h,n),a===h&&a!==s)return!1}else if(s.operator===">="&&!Wr(s.semver,String(h),n))return!1}if(o){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator==="<"||h.operator==="<="){if(l=bf(o,h,n),l===h&&l!==o)return!1}else if(o.operator==="<="&&!Wr(o.semver,String(h),n))return!1}if(!h.operator&&(o||s)&&i!==0)return!1}return!(s&&c&&!o&&i!==0||o&&d&&!s&&i!==0||u||f)},yf=(e,t,n)=>{if(!e)return t;const r=rc(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},bf=(e,t,n)=>{if(!e)return t;const r=rc(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var jT=CT;const sa=zs,wf=_i,MT=rt,Ef=Mp,DT=Lr,FT=DE,BT=HE,HT=WE,UT=GE,WT=KE,VT=JE,GT=ex,zT=rx,qT=Nt,KT=ax,XT=ux,YT=Jl,JT=px,QT=vx,ZT=bi,eS=Ql,tS=Dp,nS=Fp,rS=Zl,sS=ec,oS=Bp,iS=Bx,aS=wi(),lS=Ct(),cS=Ei,uS=eT,fS=sT,dS=lT,hS=fT,pS=pT,mS=tc,gS=TT,vS=kT,_S=AT,yS=NT,bS=jT;var wS={parse:DT,valid:FT,clean:BT,inc:HT,diff:UT,major:WT,minor:VT,patch:GT,prerelease:zT,compare:qT,rcompare:KT,compareLoose:XT,compareBuild:YT,sort:JT,rsort:QT,gt:ZT,lt:eS,eq:tS,neq:nS,gte:rS,lte:sS,cmp:oS,coerce:iS,Comparator:aS,Range:lS,satisfies:cS,toComparators:uS,maxSatisfying:fS,minSatisfying:dS,minVersion:hS,validRange:pS,outside:mS,gtr:gS,ltr:vS,intersects:_S,simplifyRange:yS,subset:bS,SemVer:MT,re:sa.re,src:sa.src,tokens:sa.t,SEMVER_SPEC_VERSION:wf.SEMVER_SPEC_VERSION,RELEASE_TYPES:wf.RELEASE_TYPES,compareIdentifiers:Ef.compareIdentifiers,rcompareIdentifiers:Ef.rcompareIdentifiers};const ES=yE(wS),oa=new Map;function W2(e,t){const n=e;return oa.has(n)||oa.set(n,SS(e,t)),oa.get(n)}function xS(){return pt("npm:check:nuxt",()=>De.checkForUpdateFor("nuxt"))}function TS(e){const t=xS();return pe(()=>t?.value?.current?ES.satisfies(t.value.current,e):!1)}function SS(e,t){const n=Ie(),r=pt(`npm:check:${e}`,()=>De.checkForUpdateFor(e)),s=te("idle"),o=te();n.hook("devtools:terminal:exit",({id:l,code:c})=>{l!==o||!o||(s.value=c===0?"updated":"idle")});async function i(l){if(s.value!=="idle")return;const c=await De.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return s.value="running",o.value=(await De.runNpmCommand(await EE(),"update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await De.restartNuxt()}return{info:r,state:s,update:i,restart:a,processId:o}}const Vr={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return TS("^3.5.0")}},Gr={icon:"carbon-image-copy",title:"Assets",layout:"full"},zr={icon:"i-carbon-assembly-cluster",title:"Components",order:2},qr={layout:"full"},Kr={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},Xr={icon:"carbon-function",title:"Imports",order:3},Yr={icon:"carbon-layers",title:"Middleware",wip:!0},Jr={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},xi=()=>Cr("color-mode").value,Va=te();let xf;function $S(){xf||(xf=(async()=>{const{default:e}=await Re(()=>import("./index.ee7015bb.js").then(t=>t.i),[],import.meta.url);Va.value=new e({html:!0,linkify:!0,breaks:!0})})())}function kS(e){return $S(),Va.value?Va.value.render(e):e}var Wp=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},Ss={},PS={get exports(){return Ss},set exports(e){Ss=e}};(function(e,t){(function(n,r){e.exports=r()})(Wp,()=>{return n={770:function(s,o,i){var a=this&&this.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(o,"__esModule",{value:!0}),o.setDefaultDebugCall=o.createOnigScanner=o.createOnigString=o.loadWASM=o.OnigScanner=o.OnigString=void 0;const l=a(i(418));let c=null,d=!1;class f{static _utf8ByteLength(_){let g=0;for(let b=0,y=_.length;b<y;b++){const S=_.charCodeAt(b);let m=S,T=!1;if(S>=55296&&S<=56319&&b+1<y){const E=_.charCodeAt(b+1);E>=56320&&E<=57343&&(m=65536+(S-55296<<10)|E-56320,T=!0)}g+=m<=127?1:m<=2047?2:m<=65535?3:4,T&&b++}return g}constructor(_){const g=_.length,b=f._utf8ByteLength(_),y=b!==g,S=y?new Uint32Array(g+1):null;y&&(S[g]=b);const m=y?new Uint32Array(b+1):null;y&&(m[b]=g);const T=new Uint8Array(b);let E=0;for(let w=0;w<g;w++){const $=_.charCodeAt(w);let k=$,P=!1;if($>=55296&&$<=56319&&w+1<g){const R=_.charCodeAt(w+1);R>=56320&&R<=57343&&(k=65536+($-55296<<10)|R-56320,P=!0)}y&&(S[w]=E,P&&(S[w+1]=E),k<=127?m[E+0]=w:k<=2047?(m[E+0]=w,m[E+1]=w):k<=65535?(m[E+0]=w,m[E+1]=w,m[E+2]=w):(m[E+0]=w,m[E+1]=w,m[E+2]=w,m[E+3]=w)),k<=127?T[E++]=k:k<=2047?(T[E++]=192|(1984&k)>>>6,T[E++]=128|(63&k)>>>0):k<=65535?(T[E++]=224|(61440&k)>>>12,T[E++]=128|(4032&k)>>>6,T[E++]=128|(63&k)>>>0):(T[E++]=240|(1835008&k)>>>18,T[E++]=128|(258048&k)>>>12,T[E++]=128|(4032&k)>>>6,T[E++]=128|(63&k)>>>0),P&&w++}this.utf16Length=g,this.utf8Length=b,this.utf16Value=_,this.utf8Value=T,this.utf16OffsetToUtf8=S,this.utf8OffsetToUtf16=m}createString(_){const g=_._omalloc(this.utf8Length);return _.HEAPU8.set(this.utf8Value,g),g}}class u{constructor(_){if(this.id=++u.LAST_ID,!c)throw new Error("Must invoke loadWASM first.");this._onigBinding=c,this.content=_;const g=new f(_);this.utf16Length=g.utf16Length,this.utf8Length=g.utf8Length,this.utf16OffsetToUtf8=g.utf16OffsetToUtf8,this.utf8OffsetToUtf16=g.utf8OffsetToUtf16,this.utf8Length<1e4&&!u._sharedPtrInUse?(u._sharedPtr||(u._sharedPtr=c._omalloc(1e4)),u._sharedPtrInUse=!0,c.HEAPU8.set(g.utf8Value,u._sharedPtr),this.ptr=u._sharedPtr):this.ptr=g.createString(c)}convertUtf8OffsetToUtf16(_){return this.utf8OffsetToUtf16?_<0?0:_>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[_]:_}convertUtf16OffsetToUtf8(_){return this.utf16OffsetToUtf8?_<0?0:_>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[_]:_}dispose(){this.ptr===u._sharedPtr?u._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}o.OnigString=u,u.LAST_ID=0,u._sharedPtr=0,u._sharedPtrInUse=!1;class h{constructor(_){if(!c)throw new Error("Must invoke loadWASM first.");const g=[],b=[];for(let T=0,E=_.length;T<E;T++){const w=new f(_[T]);g[T]=w.createString(c),b[T]=w.utf8Length}const y=c._omalloc(4*_.length);c.HEAPU32.set(g,y/4);const S=c._omalloc(4*_.length);c.HEAPU32.set(b,S/4);const m=c._createOnigScanner(y,S,_.length);for(let T=0,E=_.length;T<E;T++)c._ofree(g[T]);c._ofree(S),c._ofree(y),m===0&&function(T){throw new Error(T.UTF8ToString(T._getLastOnigError()))}(c),this._onigBinding=c,this._ptr=m}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(_,g,b){let y=d,S=0;if(typeof b=="number"?(8&b&&(y=!0),S=b):typeof b=="boolean"&&(y=b),typeof _=="string"){_=new u(_);const m=this._findNextMatchSync(_,g,y,S);return _.dispose(),m}return this._findNextMatchSync(_,g,y,S)}_findNextMatchSync(_,g,b,y){const S=this._onigBinding;let m;if(m=b?S._findNextOnigScannerMatchDbg(this._ptr,_.id,_.ptr,_.utf8Length,_.convertUtf16OffsetToUtf8(g),y):S._findNextOnigScannerMatch(this._ptr,_.id,_.ptr,_.utf8Length,_.convertUtf16OffsetToUtf8(g),y),m===0)return null;const T=S.HEAPU32;let E=m/4;const w=T[E++],$=T[E++];let k=[];for(let P=0;P<$;P++){const R=_.convertUtf8OffsetToUtf16(T[E++]),A=_.convertUtf8OffsetToUtf16(T[E++]);k[P]={start:R,end:A,length:A-R}}return{index:w,captureIndices:k}}}o.OnigScanner=h;let p=!1,v=null;o.loadWASM=function(x){if(p)return v;let _,g,b,y;if(p=!0,function(S){return typeof S.instantiator=="function"}(x))_=x.instantiator,g=x.print;else{let S;(function(m){return m.data!==void 0})(x)?(S=x.data,g=x.print):S=x,_=function(m){return typeof Response<"u"&&m instanceof Response}(S)?typeof WebAssembly.instantiateStreaming=="function"?function(m){return T=>WebAssembly.instantiateStreaming(m,T)}(S):function(m){return async T=>{const E=await m.arrayBuffer();return WebAssembly.instantiate(E,T)}}(S):function(m){return T=>WebAssembly.instantiate(m,T)}(S)}return v=new Promise((S,m)=>{b=S,y=m}),function(S,m,T,E){(0,l.default)({print:m,instantiateWasm:(w,$)=>{if(typeof performance>"u"){const k=()=>Date.now();w.env.emscripten_get_now=k,w.wasi_snapshot_preview1.emscripten_get_now=k}return S(w).then(k=>$(k.instance),E),{}}}).then(w=>{c=w,T()})}(_,g,b,y),v},o.createOnigString=function(x){return new u(x)},o.createOnigScanner=function(x){return new h(x)},o.setDefaultDebugCall=function(x){d=x}},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,W){a=M,l=W});var d,f=Object.assign({},c),u=!1,h="";function p(M){return c.locateFile?c.locateFile(M,h):h+M}d=function(M){let W;return typeof readbuffer=="function"?new Uint8Array(readbuffer(M)):(W=read(M,"binary"),y(typeof W=="object"),W)},typeof scriptArgs<"u"&&scriptArgs,typeof onig_print<"u"&&(typeof console>"u"&&(console={}),console.log=onig_print,console.warn=console.error=typeof printErr<"u"?printErr:onig_print);var v,x,_=c.print||console.log.bind(console),g=c.printErr||console.warn.bind(console);Object.assign(c,f),f=null,c.arguments&&c.arguments,c.thisProgram&&c.thisProgram,c.quit&&c.quit,c.wasmBinary&&(v=c.wasmBinary),c.noExitRuntime,typeof WebAssembly!="object"&&_e("no native wasm support detected");var b=!1;function y(M,W){M||_e(W)}var S,m,T,E=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function w(M,W,z){for(var ee=W+z,X=W;M[X]&&!(X>=ee);)++X;if(X-W>16&&M.buffer&&E)return E.decode(M.subarray(W,X));for(var Q="";W<X;){var ge=M[W++];if(128&ge){var Oe=63&M[W++];if((224&ge)!=192){var be=63&M[W++];if((ge=(240&ge)==224?(15&ge)<<12|Oe<<6|be:(7&ge)<<18|Oe<<12|be<<6|63&M[W++])<65536)Q+=String.fromCharCode(ge);else{var me=ge-65536;Q+=String.fromCharCode(55296|me>>10,56320|1023&me)}}else Q+=String.fromCharCode((31&ge)<<6|Oe)}else Q+=String.fromCharCode(ge)}return Q}function $(M,W){return M?w(m,M,W):""}function k(M){S=M,c.HEAP8=new Int8Array(M),c.HEAP16=new Int16Array(M),c.HEAP32=new Int32Array(M),c.HEAPU8=m=new Uint8Array(M),c.HEAPU16=new Uint16Array(M),c.HEAPU32=T=new Uint32Array(M),c.HEAPF32=new Float32Array(M),c.HEAPF64=new Float64Array(M)}c.INITIAL_MEMORY;var P=[],R=[],A=[];function I(){if(c.preRun)for(typeof c.preRun=="function"&&(c.preRun=[c.preRun]);c.preRun.length;)H(c.preRun.shift());N(P)}function j(){N(R)}function B(){if(c.postRun)for(typeof c.postRun=="function"&&(c.postRun=[c.postRun]);c.postRun.length;)ie(c.postRun.shift());N(A)}function H(M){P.unshift(M)}function q(M){R.unshift(M)}function ie(M){A.unshift(M)}var ne=0,re=null;function he(M){ne++,c.monitorRunDependencies&&c.monitorRunDependencies(ne)}function fe(M){if(ne--,c.monitorRunDependencies&&c.monitorRunDependencies(ne),ne==0&&re){var W=re;re=null,W()}}function _e(M){c.onAbort&&c.onAbort(M),g(M="Aborted("+M+")"),b=!0,M+=". Build with -sASSERTIONS for more info.";var W=new WebAssembly.RuntimeError(M);throw l(W),W}var we,C,J="data:application/octet-stream;base64,";function V(M){return M.startsWith(J)}function oe(M){try{if(M==we&&v)return new Uint8Array(v);if(d)return d(M);throw"both async and sync fetching of the wasm failed"}catch(W){_e(W)}}function Ee(){return v||!u||typeof fetch!="function"?Promise.resolve().then(function(){return oe(we)}):fetch(we,{credentials:"same-origin"}).then(function(M){if(!M.ok)throw"failed to load wasm binary file at '"+we+"'";return M.arrayBuffer()}).catch(function(){return oe(we)})}function O(){var M={env:G,wasi_snapshot_preview1:G};function W(X,Q){var ge=X.exports;c.asm=ge,k((x=c.asm.memory).buffer),c.asm.__indirect_function_table,q(c.asm.__wasm_call_ctors),fe()}function z(X){W(X.instance)}function ee(X){return Ee().then(function(Q){return WebAssembly.instantiate(Q,M)}).then(function(Q){return Q}).then(X,function(Q){g("failed to asynchronously prepare wasm: "+Q),_e(Q)})}if(he(),c.instantiateWasm)try{return c.instantiateWasm(M,W)}catch(X){g("Module.instantiateWasm callback failed with error: "+X),l(X)}return(v||typeof WebAssembly.instantiateStreaming!="function"||V(we)||typeof fetch!="function"?ee(z):fetch(we,{credentials:"same-origin"}).then(function(X){return WebAssembly.instantiateStreaming(X,M).then(z,function(Q){return g("wasm streaming compile failed: "+Q),g("falling back to ArrayBuffer instantiation"),ee(z)})})).catch(l),{}}function N(M){for(;M.length>0;)M.shift()(c)}function L(M,W,z){m.copyWithin(M,W,W+z)}function D(M){try{return x.grow(M-S.byteLength+65535>>>16),k(x.buffer),1}catch{}}function F(M){var W,z=m.length,ee=2147483648;if((M>>>=0)>ee)return!1;for(var X=1;X<=4;X*=2){var Q=z*(1+.2/X);if(Q=Math.min(Q,M+100663296),D(Math.min(ee,(W=Math.max(M,Q))+(65536-W%65536)%65536)))return!0}return!1}V(we="onig.wasm")||(we=p(we)),C=typeof dateNow<"u"?dateNow:()=>performance.now();var U=[null,[],[]];function Z(M,W){var z=U[M];W===0||W===10?((M===1?_:g)(w(z,0)),z.length=0):z.push(W)}function Y(M,W,z,ee){for(var X=0,Q=0;Q<z;Q++){var ge=T[W>>2],Oe=T[W+4>>2];W+=8;for(var be=0;be<Oe;be++)Z(M,m[ge+be]);X+=Oe}return T[ee>>2]=X,0}var K,G={emscripten_get_now:C,emscripten_memcpy_big:L,emscripten_resize_heap:F,fd_write:Y};function se(M){function W(){K||(K=!0,c.calledRun=!0,b||(j(),a(c),c.onRuntimeInitialized&&c.onRuntimeInitialized(),B()))}ne>0||(I(),ne>0||(c.setStatus?(c.setStatus("Running..."),setTimeout(function(){setTimeout(function(){c.setStatus("")},1),W()},1)):W()))}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=$,re=function M(){K||se(),K||(re=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})})(PS);var Vo={},AS={get exports(){return Vo},set exports(e){Vo=e}};(function(e,t){(function(n,r){e.exports=r()})(Wp,function(){return(()=>{var n={350:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},36:(s,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let l=a.toString(2);for(;l.length<32;)l="0"+l;return l},i.print=function(a){const l=i.getLanguageId(a),c=i.getTokenType(a),d=i.getFontStyle(a),f=i.getForeground(a),u=i.getBackground(a);console.log({languageId:l,tokenType:c,fontStyle:d,foreground:f,background:u})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,l,c,d,f,u,h){let p=i.getLanguageId(a),v=i.getTokenType(a),x=i.containsBalancedBrackets(a)?1:0,_=i.getFontStyle(a),g=i.getForeground(a),b=i.getBackground(a);return l!==0&&(p=l),c!==8&&(v=c),d!==null&&(x=d?1:0),f!==-1&&(_=f),u!==0&&(g=u),h!==0&&(b=h),(p<<0|v<<8|x<<10|_<<11|g<<15|b<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class l{constructor(u,h){this.languageId=u,this.tokenType=h}}o.BasicScopeAttributes=l;class c{constructor(u,h){this._getBasicScopeAttributes=new a.CachedFn(p=>{const v=this._scopeToLanguage(p),x=this._toStandardTokenType(p);return new l(v,x)}),this._defaultAttributes=new l(u,8),this._embeddedLanguagesMatcher=new d(Object.entries(h||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(u){return u===null?c._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(u)}_scopeToLanguage(u){return this._embeddedLanguagesMatcher.match(u)||0}_toStandardTokenType(u){const h=u.match(c.STANDARD_TOKEN_TYPE_REGEXP);if(!h)return 8;switch(h[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}o.BasicScopeAttributesProvider=c,c._NULL_SCOPE_METADATA=new l(0,0),c.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class d{constructor(u){if(u.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(u);const h=u.map(([p,v])=>a.escapeRegExpCharacters(p));h.sort(),h.reverse(),this.scopesRegExp=new RegExp(`^((${h.join(")|(")}))($|\\.)`,"")}}match(u){if(!this.scopesRegExp)return;const h=u.match(this.scopesRegExp);return h?this.values.get(h[1]):void 0}}},947:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStack=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),l=i(36),c=i(736),d=i(44),f=i(792),u=i(583),h=i(878),p=i(996),v=i(47);function x(E,w,$,k,P){const R=c.createMatchers(w,_),A=f.RuleFactory.getCompiledRuleId($,k,P.repository);for(const I of R)E.push({debugSelector:w,matcher:I.matcher,ruleId:A,grammar:P,priority:I.priority})}function _(E,w){if(w.length<E.length)return!1;let $=0;return E.every(k=>{for(let P=$;P<w.length;P++)if(g(w[P],k))return $=P+1,!0;return!1})}function g(E,w){if(!E)return!1;if(E===w)return!0;const $=w.length;return E.length>$&&E.substr(0,$)===w&&E[$]==="."}o.createGrammar=function(E,w,$,k,P,R,A,I){return new b(E,w,$,k,P,R,A,I)};class b{constructor(w,$,k,P,R,A,I,j){if(this._rootScopeName=w,this.balancedBracketSelectors=A,this._onigLib=j,this._basicScopeAttributesProvider=new p.BasicScopeAttributesProvider(k,P),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=I,this._grammar=y($,null),this._injections=null,this._tokenTypeMatchers=[],R)for(const B of Object.keys(R)){const H=c.createMatchers(B,_);for(const q of H)this._tokenTypeMatchers.push({matcher:q.matcher,type:R[B]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const w of this._ruleId2desc)w&&w.dispose()}createOnigScanner(w){return this._onigLib.createOnigScanner(w)}createOnigString(w){return this._onigLib.createOnigString(w)}getMetadataForScope(w){return this._basicScopeAttributesProvider.getBasicScopeAttributes(w)}_collectInjections(){const w=[],$=this._rootScopeName,k=(P=>P===this._rootScopeName?this._grammar:this.getExternalGrammar(P))($);if(k){const P=k.injections;if(P)for(let A in P)x(w,A,P[A],this,k);const R=this._grammarRepository.injections($);R&&R.forEach(A=>{const I=this.getExternalGrammar(A);if(I){const j=I.injectionSelector;j&&x(w,j,I,this,I)}})}return w.sort((P,R)=>P.priority-R.priority),w}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 w of this._injections)console.log(` - ${w.debugSelector}`)}return this._injections}registerRule(w){const $=++this._lastRuleId,k=w(f.ruleIdFromNumber($));return this._ruleId2desc[$]=k,k}getRule(w){return this._ruleId2desc[f.ruleIdToNumber(w)]}getExternalGrammar(w,$){if(this._includedGrammars[w])return this._includedGrammars[w];if(this._grammarRepository){const k=this._grammarRepository.lookup(w);if(k)return this._includedGrammars[w]=y(k,$&&$.$base),this._includedGrammars[w]}}tokenizeLine(w,$,k=0){const P=this._tokenize(w,$,!1,k);return{tokens:P.lineTokens.getResult(P.ruleStack,P.lineLength),ruleStack:P.ruleStack,stoppedEarly:P.stoppedEarly}}tokenizeLine2(w,$,k=0){const P=this._tokenize(w,$,!0,k);return{tokens:P.lineTokens.getBinaryResult(P.ruleStack,P.lineLength),ruleStack:P.ruleStack,stoppedEarly:P.stoppedEarly}}_tokenize(w,$,k,P){let R;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),$&&$!==m.NULL)R=!1,$.reset();else{R=!0;const H=this._basicScopeAttributesProvider.getDefaultAttributes(),q=this.themeProvider.getDefaults(),ie=l.EncodedTokenAttributes.set(0,H.languageId,H.tokenType,null,q.fontStyle,q.foregroundId,q.backgroundId),ne=this.getRule(this._rootId).getName(null,null);let re;re=ne?S.createRootAndLookUpScopeName(ne,ie,this):S.createRoot("unknown",ie),$=new m(null,this._rootId,-1,-1,!1,null,re,re)}w+=`
|
|
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 Au(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 Er{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||i1).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 Er([...this.words])}}const i1={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("")}},a1={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("")}},l1={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 Er(n,t)}},c1={parse(e){return l1.parse(unescape(encodeURIComponent(e)))}};class u1{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new Er,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=c1.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 Er(n,o)}}class f1 extends u1{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const d1=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],h1=[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],An=[];class p1 extends f1{constructor(){super(),this.reset()}reset(){super.reset(),this._hash=new Er([...d1])}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],l=r[4],c=r[5],d=r[6],f=r[7];for(let u=0;u<64;u++){if(u<16)An[u]=t[n+u]|0;else{const b=An[u-15],y=(b<<25|b>>>7)^(b<<14|b>>>18)^b>>>3,S=An[u-2],m=(S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10;An[u]=y+An[u-7]+m+An[u-16]}const h=l&c^~l&d,p=s&o^s&i^o&i,v=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),x=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),_=f+x+h+h1[u]+An[u],g=v+p;f=d,d=c,c=l,l=a+_|0,a=i,i=o,o=s,s=_+g|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+d|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function m1(e){return new p1().finalize(e).toString(a1)}function g1(e,t={}){const n=typeof e=="string"?e:o1(e,t);return m1(n).slice(0,10)}function v1(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=r.key||g1([s,ue(r.baseURL),typeof e=="string"?e:"",ue(r.params||r.query)]);if(!o||typeof o!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+o);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const i=o===s?"$f"+o:o,a=pe(()=>{let y=e;return typeof y=="function"&&(y=y()),ue(y)});if(!r.baseURL&&typeof a.value=="string"&&a.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:d,transform:f,pick:u,watch:h,immediate:p,...v}=r,x=at({...v,cache:typeof r.cache=="boolean"?void 0:r.cache}),_={server:l,lazy:c,default:d,transform:f,pick:u,immediate:p,watch:h===!1?[]:[x,a,...h||[]]};let g;return mp(i,()=>(g?.abort?.(),g=typeof AbortController<"u"?new AbortController:{},typeof a.value=="string"&&a.value.startsWith("/"),(r.$fetch||globalThis.$fetch)(a.value,{signal:g.signal,...x})),_)}async function vp(e,t=ht()){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(()=>vp(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 _1(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:Ie().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const y1=(...e)=>e.find(t=>t!==void 0),b1="noopener noreferrer";function w1(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?Dh:Dl;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 Ae({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:s}){const o=ht(),i=pe(()=>{const f=r.to||r.href||"";return n(f,o.resolve)}),a=pe(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Nr(i.value,{acceptRelative:!0})),l=te(!1),c=te(null),d=f=>{c.value=r.custom?f?.$el?.nextElementSibling:f?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!x1()){const u=Ie();let h,p=null;xn(()=>{const v=E1();t1(()=>{h=Ba(()=>{c?.value?.tagName&&(p=v.observe(c.value,async()=>{p?.(),p=null;const x=typeof i.value=="string"?i.value:o.resolve(i.value).fullPath;await Promise.all([u.hooks.callHook("link:prefetch",x).catch(()=>{}),!a.value&&vp(i.value,o).catch(()=>{})]),l.value=!0}))})})}),Or(()=>{h&&e1(h),p?.(),p=null})}return()=>{if(!a.value){const v={ref:d,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(l.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel),et(bn("RouterLink"),v,s.default)}const f=typeof i.value=="object"?o.resolve(i.value)?.href??null:i.value||null,u=r.target||null,h=r.noRel?null:y1(r.rel,e.externalRelAttribute,f?b1:"")||null,p=()=>np(f,{replace:r.replace});return r.custom?s.default?s.default({href:f,navigate:p,get route(){if(!f)return;const v=Gs(f);return{path:v.pathname,fullPath:v.pathname,get query(){return Mh(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f}},rel:h,target:u,isExternal:a.value,isActive:!1,isExactActive:!1}):null:et("a",{ref:c,href:f,rel:h,target:u},s.default?.())}}})}const Vl=w1({componentName:"NuxtLink"});function E1(){const e=Ie();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 x1(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function T1(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const S1=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function $1(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const Ru=function(...e){e=e.map(r=>T1(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:$1();!s||s.length===0||(t=`${s}/${t}`,n=Ou(s))}return t=k1(t,!n),n&&!Ou(t)?`/${t}`:t.length>0?t:"."};function k1(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 Ou=function(e){return S1.test(e)},P1=function(e,t){const n=Ru(e).split("/"),r=Ru(t).split("/"),s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function k2(e){return!!e.match(/[/\\]node_modules[/\\]/)||Gl(e)}function Gl(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function A1(e){if(Gl(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 R1(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function P2(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function A2(e,t){if(e=e.replace(/\\/g,"/"),Gl(e))return{moduleName:e,path:e};const n=A1(e),r=R1(e);if(n&&r)return{moduleName:n,path:r};try{let s=P1(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function pt(e,t,n){const r=Ie();return r.payload.unique||(r.payload.unique={}),r.payload.unique[e]||(r.payload.unique[e]=mp(e,t,n)),r.payload.unique[e].data}function R2(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Nu={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 O2(e){return Nu[e.toLowerCase()]||Nu.default}function N2(e,t){const n={};for(const[r,s]of Object.entries(t))for(const o of s){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}function C2(e){return Number.isNaN(e)||e<0?"-":e<1?"<1ms":e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function Qt(e){return Ed()?(sg(e),!0):!1}function Ze(e){return typeof e=="function"?e():ue(e)}const Gn=typeof window<"u",O1=e=>typeof e<"u",xr=()=>{},N1=C1();function C1(){var e;return Gn&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function _p(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 yp=e=>e();function L1(e,t={}){let n,r,s=xr;const o=a=>{clearTimeout(a),s(),s=xr};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((d,f)=>{s=t.rejectOnCancel?f:d,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,d(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,d(a())},l)})}}function I1(e=yp){const t=te(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Yn(t),pause:n,resume:r,eventFilter:s}}function Cu(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function j1(...e){if(e.length!==1)return ii(...e);const t=e[0];return typeof t=="function"?Yn(Fd(()=>({get:t,set:xr}))):te(t)}function M1(e,t=200,n={}){return _p(L1(t,n),e)}function D1(e,t=200,n={}){const r=te(e.value),s=M1(()=>{r.value=e.value},t,n);return Fe(e,()=>s()),r}var F1=Object.defineProperty,B1=Object.defineProperties,H1=Object.getOwnPropertyDescriptors,Lu=Object.getOwnPropertySymbols,U1=Object.prototype.hasOwnProperty,W1=Object.prototype.propertyIsEnumerable,Iu=(e,t,n)=>t in e?F1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V1=(e,t)=>{for(var n in t||(t={}))U1.call(t,n)&&Iu(e,n,t[n]);if(Lu)for(var n of Lu(t))W1.call(t,n)&&Iu(e,n,t[n]);return e},G1=(e,t)=>B1(e,H1(t));function z1(e){if(!Me(e))return Ig(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=Fd(()=>({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=G1(V1({},e.value),{[n]:r});Object.setPrototypeOf(s,e.value),e.value=s}}}));return t}function zl(e,t=!0){Ot()?xn(e):t?e():Rt(e)}function Ha(e,t=!1){function n(f,{flush:u="sync",deep:h=!1,timeout:p,throwOnTimeout:v}={}){let x=null;const g=[new Promise(b=>{x=Fe(e,y=>{f(y)!==t&&(x?.(),b(y))},{flush:u,deep:h,immediate:!0})})];return p!=null&&g.push(Cu(p,v).then(()=>Ze(e)).finally(()=>x?.())),Promise.race(g)}function r(f,u){if(!Me(f))return n(y=>y===f,u);const{flush:h="sync",deep:p=!1,timeout:v,throwOnTimeout:x}=u??{};let _=null;const b=[new Promise(y=>{_=Fe([e,f],([S,m])=>{t!==(S===m)&&(_?.(),y(S))},{flush:h,deep:p,immediate:!0})})];return v!=null&&b.push(Cu(v,x).then(()=>Ze(e)).finally(()=>(_?.(),Ze(e)))),Promise.race(b)}function s(f){return n(u=>!!u,f)}function o(f){return r(null,f)}function i(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,u){return n(h=>{const p=Array.from(h);return p.includes(f)||p.includes(Ze(f))},u)}function c(f){return d(1,f)}function d(f=1,u){let h=-1;return n(()=>(h+=1,h>=f),u)}return Array.isArray(Ze(e))?{toMatch:n,toContains:l,changed:c,changedTimes:d,get not(){return Ha(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:d,get not(){return Ha(e,!t)}}}function q1(e){return Ha(e)}function K1(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let o=null;const i=te(!1);function a(){o&&(clearInterval(o),o=null)}function l(){i.value=!1,a()}function c(){const d=Ze(t);d<=0||(i.value=!0,s&&e(),a(),o=setInterval(e,d))}if(r&&Gn&&c(),Me(t)||typeof t=="function"){const d=Fe(t,()=>{i.value&&Gn&&c()});Qt(d)}return Qt(l),{isActive:i,pause:l,resume:c}}function X1(e,t,n={}){const{immediate:r=!0}=n,s=te(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function a(){s.value=!1,i()}function l(...c){i(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...c)},Ze(t))}return r&&(s.value=!0,Gn&&l()),Qt(a),{isPending:Yn(s),start:l,stop:a}}var ju=Object.getOwnPropertySymbols,Y1=Object.prototype.hasOwnProperty,J1=Object.prototype.propertyIsEnumerable,Q1=(e,t)=>{var n={};for(var r in e)Y1.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ju)for(var r of ju(e))t.indexOf(r)<0&&J1.call(e,r)&&(n[r]=e[r]);return n};function Z1(e,t,n={}){const r=n,{eventFilter:s=yp}=r,o=Q1(r,["eventFilter"]);return Fe(e,_p(s,t),o)}var ew=Object.defineProperty,tw=Object.defineProperties,nw=Object.getOwnPropertyDescriptors,Bo=Object.getOwnPropertySymbols,bp=Object.prototype.hasOwnProperty,wp=Object.prototype.propertyIsEnumerable,Mu=(e,t,n)=>t in e?ew(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rw=(e,t)=>{for(var n in t||(t={}))bp.call(t,n)&&Mu(e,n,t[n]);if(Bo)for(var n of Bo(t))wp.call(t,n)&&Mu(e,n,t[n]);return e},sw=(e,t)=>tw(e,nw(t)),ow=(e,t)=>{var n={};for(var r in e)bp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Bo)for(var r of Bo(e))t.indexOf(r)<0&&wp.call(e,r)&&(n[r]=e[r]);return n};function iw(e,t,n={}){const r=n,{eventFilter:s}=r,o=ow(r,["eventFilter"]),{eventFilter:i,pause:a,resume:l,isActive:c}=I1(s);return{stop:Z1(e,t,sw(rw({},o),{eventFilter:i})),pause:a,resume:l,isActive:c}}function L2(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=xr}=r,l=te(!s),c=i?Un(t):te(t);let d=0;return Wn(async f=>{if(!l.value)return;d++;const u=d;let h=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const p=await e(v=>{f(()=>{o&&(o.value=!1),h||v()})});u===d&&(c.value=p)}catch(p){a(p)}finally{o&&u===d&&(o.value=!1),h=!0}}),s?pe(()=>(l.value=!0,c.value)):c}function ql(e={}){let t=0;const n=te([]);function r(...i){const a=_l({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=d=>(a.isResolving=!0,l(d)),a.reject=c}).finally(()=>{a.promise=void 0;const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}),a.promise}function s(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const o=Ae((i,{slots:a})=>{const l=()=>n.value.map(c=>{var d;return et(je,{key:c.key},(d=a.default)==null?void 0:d.call(a,c))});return e.transition?()=>et(h_,e.transition,l):l});return o.start=s,o}function ft(e){var t;const n=Ze(e);return(t=n?.$el)!=null?t:n}const At=Gn?window:void 0,aw=Gn?window.document:void 0,lw=Gn?window.navigator:void 0;function kt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=At):[t,n,r,s]=e,!t)return xr;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(d=>d()),o.length=0},a=(d,f,u,h)=>(d.addEventListener(f,u,h),()=>d.removeEventListener(f,u,h)),l=Fe(()=>[ft(t),Ze(s)],([d,f])=>{i(),d&&o.push(...n.flatMap(u=>r.map(h=>a(d,u,h,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return Qt(c),c}let Du=!1;function cw(e,t,n={}){const{window:r=At,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;N1&&!Du&&(Du=!0,Array.from(r.document.body.children).forEach(u=>u.addEventListener("click",xr)));let a=!0;const l=u=>s.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(p=>p===u.target||u.composedPath().includes(p));{const p=ft(h);return p&&(u.target===p||u.composedPath().includes(p))}}),d=[kt(r,"click",u=>{const h=ft(e);if(!(!h||h===u.target||u.composedPath().includes(h))){if(u.detail===0&&(a=!l(u)),!a){a=!0;return}t(u)}},{passive:!0,capture:o}),kt(r,"pointerdown",u=>{const h=ft(e);h&&(a=!u.composedPath().includes(h)&&!l(u))},{passive:!0}),i&&kt(r,"blur",u=>{var h;const p=ft(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!p?.contains(r.document.activeElement)&&t(u)})].filter(Boolean);return()=>d.forEach(u=>u())}var uw=Object.defineProperty,fw=Object.defineProperties,dw=Object.getOwnPropertyDescriptors,Fu=Object.getOwnPropertySymbols,hw=Object.prototype.hasOwnProperty,pw=Object.prototype.propertyIsEnumerable,Bu=(e,t,n)=>t in e?uw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mw=(e,t)=>{for(var n in t||(t={}))hw.call(t,n)&&Bu(e,n,t[n]);if(Fu)for(var n of Fu(t))pw.call(t,n)&&Bu(e,n,t[n]);return e},gw=(e,t)=>fw(e,dw(t));function vw(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function _w(...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=At,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=vw(t);return kt(s,o,d=>{d.repeat&&Ze(a)||l(d)&&n(d)},i)}function I2(e,t,n={}){return _w(e,t,gw(mw({},n),{eventName:"keydown"}))}function yw(){const e=te(!1);return Ot()&&xn(()=>{e.value=!0}),e}function Kl(e){const t=yw();return pe(()=>(t.value,!!e()))}function bw(e,t={}){const{immediate:n=!0,window:r=At}=t,s=te(!1);let o=0,i=null;function a(d){if(!s.value||!r)return;const f=d-o;e({delta:f,timestamp:d}),o=d,i=r.requestAnimationFrame(a)}function l(){!s.value&&r&&(s.value=!0,i=r.requestAnimationFrame(a))}function c(){s.value=!1,i!=null&&r&&(r.cancelAnimationFrame(i),i=null)}return n&&l(),Qt(c),{isActive:Yn(s),pause:c,resume:l}}function ww(e,t={}){const{window:n=At}=t,r=Kl(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=te(!1),i=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},a=()=>{r.value&&(i(),s=n.matchMedia(j1(e).value),o.value=!!s?.matches,s&&("addEventListener"in s?s.addEventListener("change",a):s.addListener(a)))};return Wn(a),Qt(()=>i()),o}function j2(e={}){const{navigator:t=lw,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=["copy","cut"],a=Kl(()=>t&&"clipboard"in t),l=pe(()=>a.value||o),c=te(""),d=te(!1),f=X1(()=>d.value=!1,s);function u(){a.value?t.clipboard.readText().then(x=>{c.value=x}):c.value=v()}if(l.value&&n)for(const x of i)kt(x,u);async function h(x=Ze(r)){l.value&&x!=null&&(a.value?await t.clipboard.writeText(x):p(x),c.value=x,d.value=!0,f.start())}function p(x){const _=document.createElement("textarea");_.value=x??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function v(){var x,_,g;return(g=(_=(x=document?.getSelection)==null?void 0:x.call(document))==null?void 0:_.toString())!=null?g:""}return{isSupported:l,text:c,copied:d,copy:h}}function Ew(e){return JSON.parse(JSON.stringify(e))}const uo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fo="__vueuse_ssr_handlers__",xw=Tw();function Tw(){return fo in uo||(uo[fo]=uo[fo]||{}),uo[fo]}function Sw(e,t){return xw[e]||t}function $w(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 kw=Object.defineProperty,Hu=Object.getOwnPropertySymbols,Pw=Object.prototype.hasOwnProperty,Aw=Object.prototype.propertyIsEnumerable,Uu=(e,t,n)=>t in e?kw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wu=(e,t)=>{for(var n in t||(t={}))Pw.call(t,n)&&Uu(e,n,t[n]);if(Hu)for(var n of Hu(t))Aw.call(t,n)&&Uu(e,n,t[n]);return e};const Rw={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()}},Vu="vueuse-storage";function Ow(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:d,window:f=At,eventFilter:u,onError:h=E=>{console.error(E)}}=r,p=(d?Un:te)(t);if(!n)try{n=Sw("getDefaultStorage",()=>{var E;return(E=At)==null?void 0:E.localStorage})()}catch(E){h(E)}if(!n)return p;const v=Ze(t),x=$w(v),_=(s=r.serializer)!=null?s:Rw[x],{pause:g,resume:b}=iw(p,()=>y(p.value),{flush:o,deep:i,eventFilter:u});return f&&a&&(kt(f,"storage",T),kt(f,Vu,m)),T(),p;function y(E){try{if(E==null)n.removeItem(e);else{const w=_.write(E),$=n.getItem(e);$!==w&&(n.setItem(e,w),f&&f.dispatchEvent(new CustomEvent(Vu,{detail:{key:e,oldValue:$,newValue:w,storageArea:n}})))}}catch(w){h(w)}}function S(E){const w=E?E.newValue:n.getItem(e);if(w==null)return l&&v!==null&&n.setItem(e,_.write(v)),v;if(!E&&c){const $=_.read(w);return typeof c=="function"?c($,v):x==="object"&&!Array.isArray($)?Wu(Wu({},v),$):$}else return typeof w!="string"?w:_.read(w)}function m(E){T(E.detail)}function T(E){if(!(E&&E.storageArea!==n)){if(E&&E.key==null){p.value=v;return}if(!(E&&E.key!==e)){g();try{p.value=S(E)}catch(w){h(w)}finally{E?Rt(b):b()}}}}}var Gu=Object.getOwnPropertySymbols,Nw=Object.prototype.hasOwnProperty,Cw=Object.prototype.propertyIsEnumerable,Lw=(e,t)=>{var n={};for(var r in e)Nw.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Gu)for(var r of Gu(e))t.indexOf(r)<0&&Cw.call(e,r)&&(n[r]=e[r]);return n};function Ep(e,t,n={}){const r=n,{window:s=At}=r,o=Lw(r,["window"]);let i;const a=Kl(()=>s&&"ResizeObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},c=pe(()=>Array.isArray(e)?e.map(u=>ft(u)):[ft(e)]),d=Fe(c,u=>{if(l(),a.value&&s){i=new ResizeObserver(t);for(const h of u)h&&i.observe(h,o)}},{immediate:!0,flush:"post",deep:!0}),f=()=>{l(),d()};return Qt(f),{isSupported:a,stop:f}}function M2(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=te(0),a=te(0),l=te(0),c=te(0),d=te(0),f=te(0),u=te(0),h=te(0);function p(){const v=ft(e);if(!v){n&&(i.value=0,a.value=0,l.value=0,c.value=0,d.value=0,f.value=0,u.value=0,h.value=0);return}const x=v.getBoundingClientRect();i.value=x.height,a.value=x.bottom,l.value=x.left,c.value=x.right,d.value=x.top,f.value=x.width,u.value=x.x,h.value=x.y}return Ep(e,p),Fe(()=>ft(e),v=>!v&&p()),s&&kt("scroll",p,{capture:!0,passive:!0}),r&&kt("resize",p,{passive:!0}),zl(()=>{o&&p()}),{height:i,bottom:a,left:l,right:c,top:d,width:f,x:u,y:h,update:p}}function D2(e,t={width:0,height:0},n={}){const{window:r=At,box:s="content-box"}=n,o=pe(()=>{var l,c;return(c=(l=ft(e))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),i=te(t.width),a=te(t.height);return Ep(e,([l])=>{const c=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&o.value){const d=ft(e);if(d){const f=r.getComputedStyle(d);i.value=parseFloat(f.width),a.value=parseFloat(f.height)}}else if(c){const d=Array.isArray(c)?c:[c];i.value=d.reduce((f,{inlineSize:u})=>f+u,0),a.value=d.reduce((f,{blockSize:u})=>f+u,0)}else i.value=l.contentRect.width,a.value=l.contentRect.height},n),Fe(()=>ft(e),l=>{i.value=l?t.width:0,a.value=l?t.height:0}),{width:i,height:a}}function Xl(e,t,n={}){const{window:r=At}=n;return Ow(e,t,r?.localStorage,n)}var Iw=Object.defineProperty,zu=Object.getOwnPropertySymbols,jw=Object.prototype.hasOwnProperty,Mw=Object.prototype.propertyIsEnumerable,qu=(e,t,n)=>t in e?Iw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Dw=(e,t)=>{for(var n in t||(t={}))jw.call(t,n)&&qu(e,n,t[n]);if(zu)for(var n of zu(t))Mw.call(t,n)&&qu(e,n,t[n]);return e};function Fw(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=te(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?bw(s,{immediate:!0}):K1(s,n,{immediate:!0});return t?Dw({now:r},o):r}let Bw=0;function F2(e,t={}){const n=te(!1),{document:r=aw,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++Bw}`}=t,a=te(e);let l=()=>{};const c=()=>{if(!r)return;const f=r.getElementById(i)||r.createElement("style");f.isConnected||(f.type="text/css",f.id=i,t.media&&(f.media=t.media),r.head.appendChild(f)),!n.value&&(l=Fe(a,u=>{f.textContent=u},{immediate:!0}),n.value=!0)},d=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&zl(c),o||Qt(d),{id:i,css:a,unload:d,load:c,isLoaded:Yn(n)}}var Hw=Object.defineProperty,Ho=Object.getOwnPropertySymbols,xp=Object.prototype.hasOwnProperty,Tp=Object.prototype.propertyIsEnumerable,Ku=(e,t,n)=>t in e?Hw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Uw=(e,t)=>{for(var n in t||(t={}))xp.call(t,n)&&Ku(e,n,t[n]);if(Ho)for(var n of Ho(t))Tp.call(t,n)&&Ku(e,n,t[n]);return e},Ww=(e,t)=>{var n={};for(var r in e)xp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ho)for(var r of Ho(e))t.indexOf(r)<0&&Tp.call(e,r)&&(n[r]=e[r]);return n};const Vw=[{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"}],Gw={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 zw(e){return e.toISOString().slice(0,10)}function B2(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,s=Fw({interval:r,controls:!0}),{now:o}=s,i=Ww(s,["now"]),a=pe(()=>qw(new Date(Ze(e)),t,Ze(o.value)));return n?Uw({timeAgo:a},i):a}function qw(e,t={},n=Date.now()){var r;const{max:s,messages:o=Gw,fullDateFormatter:i=zw,units:a=Vw,showSecond:l=!1,rounding:c="round"}=t,d=typeof c=="number"?x=>+x.toFixed(c):Math[c],f=+n-+e,u=Math.abs(f);function h(x,_){return d(Math.abs(x)/_.value)}function p(x,_){const g=h(x,_),b=x>0,y=v(_.name,g,b);return v(b?"past":"future",y,b)}function v(x,_,g){const b=o[x];return typeof b=="function"?b(_,g):b.replace("{0}",_.toString())}if(u<6e4&&!l)return o.justNow;if(typeof s=="number"&&u>s)return i(new Date(e));if(typeof s=="string"){const x=(r=a.find(_=>_.name===s))==null?void 0:r.max;if(x&&u>x)return i(new Date(e))}for(const[x,_]of a.entries()){if(h(f,_)<=0&&a[x-1])return p(f,a[x-1]);if(u<_.max)return p(f,_)}return o.invalid}function Sp(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:d=!1,defaultValue:f,shouldEmit:u}=r,h=Ot(),p=n||h?.emit||((s=h?.$emit)==null?void 0:s.bind(h))||((i=(o=h?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(h?.proxy));let v=c;t||(t="modelValue"),v=c||v||`update:${t.toString()}`;const x=b=>a?typeof a=="function"?a(b):Ew(b):b,_=()=>O1(e[t])?x(e[t]):f,g=b=>{u?u(b)&&p(v,b):p(v,b)};if(l){const b=_(),y=te(b);return Fe(()=>e[t],S=>y.value=x(S)),Fe(y,S=>{(S!==e[t]||d)&&g(S)},{deep:d}),y}else return pe({get(){return _()},set(b){g(b)}})}function Kw(e={}){const{window:t=At,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=te(n),a=te(r),l=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(l(),zl(l),kt("resize",l,{passive:!0}),s){const c=ww("(orientation: portrait)");Fe(c,()=>l())}return{width:i,height:a}}const Xw=6e4;function $p(e){return e}const Yw=$p,{setTimeout:Jw}=globalThis,Qw=Math.random.bind(Math);function Zw(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=$p,deserialize:i=Yw,resolver:a,timeout:l=Xw}=t,c=new Map;let d;const f=new Proxy({},{get(u,h){if(h==="$functions")return e;const p=(...x)=>{n(o({m:h,a:x,t:"q"}))};if(s.includes(h))return p.asEvent=p,p;const v=async(...x)=>(await d,new Promise((_,g)=>{const b=tE();c.set(b,{resolve:_,reject:g}),n(o({m:h,a:x,i:b,t:"q"})),l>=0&&Jw(()=>{g(new Error(`[birpc] timeout on calling "${h}"`)),c.delete(b)},l)}));return v.asEvent=p,v}});return d=r(async(u,...h)=>{const p=i(u);if(p.t==="q"){const{m:v,a:x}=p;let _,g;const b=a?a(v,e[v]):e[v];if(!b)g=new Error(`[birpc] function "${v}" not found`);else try{_=await b.apply(f,x)}catch(y){g=y}p.i&&(g&&t.onError&&t.onError(g,v,x),n(o({t:"s",i:p.i,r:_,e:g}),...h))}else{const{i:v,r:x,e:_}=p,g=c.get(v);g&&(_?g.reject(_):g.resolve(x)),c.delete(v)}}),f}const eE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function tE(e=21){let t="",n=e;for(;n--;)t+=eE[Qw()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:nE,stringify:rE}=JSON,{keys:sE}=Object,Bs=String,kp="string",Xu={},Uo="object",Pp=(e,t)=>t,oE=e=>e instanceof Bs?Bs(e):e,iE=(e,t)=>typeof t===kp?new Bs(t):t,Ap=(e,t,n,r)=>{const s=[];for(let o=sE(n),{length:i}=o,a=0;a<i;a++){const l=o[a],c=n[l];if(c instanceof Bs){const d=e[c];typeof d===Uo&&!t.has(d)?(t.add(d),n[l]=Xu,s.push({k:l,a:[e,t,d,r]})):n[l]=r.call(n,l,d)}else n[l]!==Xu&&(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,Ap.apply(null,l))}return n},Yu=(e,t,n)=>{const r=Bs(t.push(n)-1);return e.set(n,r),r},aE=(e,t)=>{const n=nE(e,iE).map(oE),r=n[0],s=t||Pp,o=typeof r===Uo&&r?Ap(n,new Set,r,s):r;return s.call({"":o},"",o)},lE=(e,t,n)=>{const r=t&&typeof t===Uo?(d,f)=>d===""||-1<t.indexOf(d)?f:void 0:t||Pp,s=new Map,o=[],i=[];let a=+Yu(s,o,r.call({"":e},"",e)),l=!a;for(;a<o.length;)l=!0,i[a]=rE(o[a++],c,n);return"["+i.join(",")+"]";function c(d,f){if(l)return l=!l,f;const u=r.call(this,d,f);switch(typeof u){case Uo:if(u===null)return u;case kp:return s.get(u)||Yu(s,o,u)}return u}};async function cE(e="/",t=!0){try{return await Re(()=>import(`${e}@vite/client`),[],import.meta.url)}catch{t&&console.error(`[vite-plugin-hot] Failed to import "${e}@vite/client"`)}}async function uE(e="/____",t="/"){return(await cE(t))?.createHotContext(e)}const Rp="nuxt:devtools:rpc",fE=te(!1),dE=te(),hE=D1(fE,2e3),pE=mE();let Op=()=>{};const Np={},Cp=new Map,De=Zw(Np,{post:async e=>{(await pE).send(Rp,e)},on:e=>{Op=e},serialize:lE,deserialize:aE,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return Cp.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function mE(){const e=await uE();if(!e)throw new Error("Unable to connect to devtools");return e.on(Rp,t=>{Op(t)}),e}const H2=ql(),Lp=ql();function gE(){return Cr("devtools:restart-dialogs",()=>[])}let Ip;function Ju(e){Ip?.(e)}function vE(e){Ip=e}var _E=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function U2(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 Ua={exports:{}};(function(e,t){(function(n,r){var s="1.0.35",o="",i="?",a="function",l="undefined",c="object",d="string",f="major",u="model",h="name",p="type",v="vendor",x="version",_="architecture",g="console",b="mobile",y="tablet",S="smarttv",m="wearable",T="embedded",E=350,w="Amazon",$="Apple",k="ASUS",P="BlackBerry",R="Browser",A="Chrome",I="Edge",j="Firefox",B="Google",H="Huawei",q="LG",ie="Microsoft",ne="Motorola",re="Opera",he="Samsung",fe="Sharp",_e="Sony",we="Xiaomi",C="Zebra",J="Facebook",V="Chromium OS",oe="Mac OS",Ee=function(z,ee){var X={};for(var Q in z)ee[Q]&&ee[Q].length%2===0?X[Q]=ee[Q].concat(z[Q]):X[Q]=z[Q];return X},O=function(z){for(var ee={},X=0;X<z.length;X++)ee[z[X].toUpperCase()]=z[X];return ee},N=function(z,ee){return typeof z===d?L(ee).indexOf(L(z))!==-1:!1},L=function(z){return z.toLowerCase()},D=function(z){return typeof z===d?z.replace(/[^\d\.]/g,o).split(".")[0]:r},F=function(z,ee){if(typeof z===d)return z=z.replace(/^\s\s*/,o),typeof ee===l?z:z.substring(0,E)},U=function(z,ee){for(var X=0,Q,ge,Oe,be,me,Xe;X<ee.length&&!me;){var Jn=ee[X],Ye=ee[X+1];for(Q=ge=0;Q<Jn.length&&!me&&Jn[Q];)if(me=Jn[Q++].exec(z),me)for(Oe=0;Oe<Ye.length;Oe++)Xe=me[++ge],be=Ye[Oe],typeof be===c&&be.length>0?be.length===2?typeof be[1]==a?this[be[0]]=be[1].call(this,Xe):this[be[0]]=be[1]:be.length===3?typeof be[1]===a&&!(be[1].exec&&be[1].test)?this[be[0]]=Xe?be[1].call(this,Xe,be[2]):r:this[be[0]]=Xe?Xe.replace(be[1],be[2]):r:be.length===4&&(this[be[0]]=Xe?be[3].call(this,Xe.replace(be[1],be[2])):r):this[be]=Xe||r;X+=2}},Z=function(z,ee){for(var X in ee)if(typeof ee[X]===c&&ee[X].length>0){for(var Q=0;Q<ee[X].length;Q++)if(N(ee[X][Q],z))return X===i?r:X}else if(N(ee[X],z))return X===i?r:X;return z},Y={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},K={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},G={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[x,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[x,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,x],[/opios[\/ ]+([\w\.]+)/i],[x,[h,re+" Mini"]],[/\bopr\/([\w\.]+)/i],[x,[h,re]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,x],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[x,[h,"UC"+R]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[x,[h,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[x,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[x,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[x,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[x,[h,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+R],x],[/\bfocus\/([\w\.]+)/i],[x,[h,j+" Focus"]],[/\bopt\/([\w\.]+)/i],[x,[h,re+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[x,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[x,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[x,[h,re+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[x,[h,"MIUI "+R]],[/fxios\/([-\w\.]+)/i],[x,[h,j]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+R]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+R],x],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],x],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[h,x],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,J],x],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[h,x],[/\bgsa\/([\w\.]+) .*safari\//i],[x,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[x,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[x,[h,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,A+" WebView"],x],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[x,[h,"Android "+R]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,x],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[x,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[x,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[x,Z,Y]],[/(webkit|khtml)\/([\w\.]+)/i],[h,x],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],x],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[x,[h,j+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,x],[/(cobalt)\/([\w\.]+)/i],[h,[x,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[_,"amd64"]],[/(ia32(?=;))/i],[[_,L]],[/((?:i[346]|x)86)[;\)]/i],[[_,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[_,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[_,"armhf"]],[/windows (ce|mobile); ppc;/i],[[_,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[_,/ower/,o,L]],[/(sun4\w)[;\)]/i],[[_,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[_,L]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[v,he],[p,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[v,he],[p,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[u,[v,$],[p,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[v,$],[p,y]],[/(macintosh);/i],[u,[v,$]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[v,fe],[p,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[v,H],[p,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[u,[v,H],[p,b]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[v,we],[p,b]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[v,we],[p,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[v,"OPPO"],[p,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[v,"Vivo"],[p,b]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[u,[v,"Realme"],[p,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[v,ne],[p,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[v,ne],[p,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[v,q],[p,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[v,q],[p,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[v,"Lenovo"],[p,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[v,"Nokia"],[p,b]],[/(pixel c)\b/i],[u,[v,B],[p,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[v,B],[p,b]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[v,_e],[p,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[v,_e],[p,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[v,"OnePlus"],[p,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[v,w],[p,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[v,w],[p,b]],[/(playbook);[-\w\),; ]+(rim)/i],[u,v,[p,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[v,P],[p,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[v,k],[p,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[v,k],[p,b]],[/(nexus 9)/i],[u,[v,"HTC"],[p,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[u,/_/g," "],[p,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[v,"Acer"],[p,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[v,"Meizu"],[p,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,u,[p,b]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,u,[p,y]],[/(surface duo)/i],[u,[v,ie],[p,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[v,"Fairphone"],[p,b]],[/(u304aa)/i],[u,[v,"AT&T"],[p,b]],[/\bsie-(\w*)/i],[u,[v,"Siemens"],[p,b]],[/\b(rct\w+) b/i],[u,[v,"RCA"],[p,y]],[/\b(venue[\d ]{2,7}) b/i],[u,[v,"Dell"],[p,y]],[/\b(q(?:mv|ta)\w+) b/i],[u,[v,"Verizon"],[p,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[v,"Barnes & Noble"],[p,y]],[/\b(tm\d{3}\w+) b/i],[u,[v,"NuVision"],[p,y]],[/\b(k88) b/i],[u,[v,"ZTE"],[p,y]],[/\b(nx\d{3}j) b/i],[u,[v,"ZTE"],[p,b]],[/\b(gen\d{3}) b.+49h/i],[u,[v,"Swiss"],[p,b]],[/\b(zur\d{3}) b/i],[u,[v,"Swiss"],[p,y]],[/\b((zeki)?tb.*\b) b/i],[u,[v,"Zeki"],[p,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],u,[p,y]],[/\b(ns-?\w{0,9}) b/i],[u,[v,"Insignia"],[p,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[v,"NextBook"],[p,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],u,[p,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],u,[p,b]],[/\b(ph-1) /i],[u,[v,"Essential"],[p,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[v,"Envizen"],[p,y]],[/\b(trio[-\w\. ]+) b/i],[u,[v,"MachSpeed"],[p,y]],[/\btu_(1491) b/i],[u,[v,"Rotor"],[p,y]],[/(shield[\w ]+) b/i],[u,[v,"Nvidia"],[p,y]],[/(sprint) (\w+)/i],[v,u,[p,b]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[v,ie],[p,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[v,C],[p,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[v,C],[p,b]],[/smart-tv.+(samsung)/i],[v,[p,S]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[v,he],[p,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,q],[p,S]],[/(apple) ?tv/i],[v,[u,$+" TV"],[p,S]],[/crkey/i],[[u,A+"cast"],[v,B],[p,S]],[/droid.+aft(\w)( bui|\))/i],[u,[v,w],[p,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[u,[v,fe],[p,S]],[/(bravia[\w ]+)( bui|\))/i],[u,[v,_e],[p,S]],[/(mitv-\w{5}) bui/i],[u,[v,we],[p,S]],[/Hbbtv.*(technisat) (.*);/i],[v,u,[p,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,F],[u,F],[p,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,u,[p,g]],[/droid.+; (shield) bui/i],[u,[v,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[u,[v,_e],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[v,ie],[p,g]],[/((pebble))app/i],[v,u,[p,m]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[u,[v,$],[p,m]],[/droid.+; (glass) \d/i],[u,[v,B],[p,m]],[/droid.+; (wt63?0{2,3})\)/i],[u,[v,C],[p,m]],[/(quest( 2| pro)?)/i],[u,[v,J],[p,m]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[p,T]],[/(aeobc)\b/i],[u,[v,w],[p,T]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[u,[p,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[p,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,b]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[x,[h,I+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[x,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,x],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[x,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,x],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[h,[x,Z,K]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,"Windows"],[x,Z,K]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[x,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,oe],[x,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[x,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,x],[/\(bb(10);/i],[x,[h,P]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[x,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[x,[h,j+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[x,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[x,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[x,[h,A+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,V],x],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,x],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],x],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,x]]},se=function(z,ee){if(typeof z===c&&(ee=z,z=r),!(this instanceof se))return new se(z,ee).getResult();var X=typeof n!==l&&n.navigator?n.navigator:r,Q=z||(X&&X.userAgent?X.userAgent:o),ge=X&&X.userAgentData?X.userAgentData:r,Oe=ee?Ee(G,ee):G,be=X&&X.userAgent==Q;return this.getBrowser=function(){var me={};return me[h]=r,me[x]=r,U.call(me,Q,Oe.browser),me[f]=D(me[x]),be&&X&&X.brave&&typeof X.brave.isBrave==a&&(me[h]="Brave"),me},this.getCPU=function(){var me={};return me[_]=r,U.call(me,Q,Oe.cpu),me},this.getDevice=function(){var me={};return me[v]=r,me[u]=r,me[p]=r,U.call(me,Q,Oe.device),be&&!me[p]&&ge&&ge.mobile&&(me[p]=b),be&&me[u]=="Macintosh"&&X&&typeof X.standalone!==l&&X.maxTouchPoints&&X.maxTouchPoints>2&&(me[u]="iPad",me[p]=y),me},this.getEngine=function(){var me={};return me[h]=r,me[x]=r,U.call(me,Q,Oe.engine),me},this.getOS=function(){var me={};return me[h]=r,me[x]=r,U.call(me,Q,Oe.os),be&&!me[h]&&ge&&ge.platform!="Unknown"&&(me[h]=ge.platform.replace(/chrome os/i,V).replace(/macos/i,oe)),me},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Q},this.setUA=function(me){return Q=typeof me===d&&me.length>E?F(me,E):me,this},this.setUA(Q),this};se.VERSION=s,se.BROWSER=O([h,x,f]),se.CPU=O([_]),se.DEVICE=O([u,v,p,g,b,S,y,m,T]),se.ENGINE=se.OS=O([h,x]),e.exports&&(t=e.exports=se),t.UAParser=se;var M=typeof n!==l&&(n.jQuery||n.Zepto);if(M&&!M.ua){var W=new se;M.ua=W.getResult(),M.ua.get=function(){return W.getUA()},M.ua.set=function(z){W.setUA(z);var ee=W.getResult();for(var X in ee)M.ua[X]=ee[X]}}})(typeof window=="object"?window:_E)})(Ua,Ua.exports);var bE=Ua.exports;const pn=te(localStorage.getItem("__nuxt_dev_token__")),xs=te(!1),wE=new BroadcastChannel("__nuxt_dev_token__");wE.addEventListener("message",e=>{if(e.data.event==="new-token"){const t=e.data.data;De.verifyAuthToken(t).then(n=>{pn.value=n?t:null,xs.value=n})}});async function EE(){if(xs.value)return pn.value;if(!pn.value){const e=new bE.UAParser(navigator.userAgent).getResult(),t=[e.browser.name,e.browser.version,"|",e.os.name,e.os.version,e.device.type].filter(r=>r).join(" ");if(De.requestForAuth(t),await Promise.race([Lp.start(),q1(pn.value).toBeTruthy()])===!1)throw Ju({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}if(xs.value=await De.verifyAuthToken(pn.value),!xs.value)throw pn.value=null,Ju({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),new Error("Invalid auth token");return pn.value}var Wa={exports:{}};const xE="2.0.0",TE=256,SE=Number.MAX_SAFE_INTEGER||9007199254740991,$E=16,kE=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var _i={MAX_LENGTH:TE,MAX_SAFE_COMPONENT_LENGTH:$E,MAX_SAFE_INTEGER:SE,RELEASE_TYPES:kE,SEMVER_SPEC_VERSION:xE,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const PE=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var yi=PE;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=_i,r=yi;t=e.exports={};const s=t.re=[],o=t.src=[],i=t.t={};let a=0;const l=(c,d,f)=>{const u=a++;r(c,u,d),i[c]=u,o[u]=d,s[u]=new RegExp(d,f?"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*$")})(Wa,Wa.exports);var zs=Wa.exports;const AE=Object.freeze({loose:!0}),RE=Object.freeze({}),OE=e=>e?typeof e!="object"?AE:e:RE;var Yl=OE;const Qu=/^[0-9]+$/,jp=(e,t)=>{const n=Qu.test(e),r=Qu.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},NE=(e,t)=>jp(t,e);var Mp={compareIdentifiers:jp,rcompareIdentifiers:NE};const ho=yi,{MAX_LENGTH:Zu,MAX_SAFE_INTEGER:po}=_i,{re:ef,t:tf}=zs,CE=Yl,{compareIdentifiers:Zn}=Mp;let LE=class It{constructor(t,n){if(n=CE(n),t instanceof It){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>Zu)throw new TypeError(`version is longer than ${Zu} characters`);ho("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?ef[tf.LOOSE]:ef[tf.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>po||this.major<0)throw new TypeError("Invalid major version");if(this.minor>po||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>po||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<po)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(ho("SemVer.compare",this.version,this.options,t),!(t instanceof It)){if(typeof t=="string"&&t===this.version)return 0;t=new It(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof It||(t=new It(t,this.options)),Zn(this.major,t.major)||Zn(this.minor,t.minor)||Zn(this.patch,t.patch)}comparePre(t){if(t instanceof It||(t=new It(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(ho("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 Zn(r,s)}while(++n)}compareBuild(t){t instanceof It||(t=new It(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(ho("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 Zn(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]),Zn(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 rt=LE;const nf=rt,IE=(e,t,n=!1)=>{if(e instanceof nf)return e;try{return new nf(e,t)}catch(r){if(!n)return null;throw r}};var Lr=IE;const jE=Lr,ME=(e,t)=>{const n=jE(e,t);return n?n.version:null};var DE=ME;const FE=Lr,BE=(e,t)=>{const n=FE(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var HE=BE;const rf=rt,UE=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new rf(e instanceof rf?e.version:e,n).inc(t,r,s).version}catch{return null}};var WE=UE;const sf=Lr,VE=(e,t)=>{const n=sf(e,null,!0),r=sf(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 GE=VE;const zE=rt,qE=(e,t)=>new zE(e,t).major;var KE=qE;const XE=rt,YE=(e,t)=>new XE(e,t).minor;var JE=YE;const QE=rt,ZE=(e,t)=>new QE(e,t).patch;var ex=ZE;const tx=Lr,nx=(e,t)=>{const n=tx(e,t);return n&&n.prerelease.length?n.prerelease:null};var rx=nx;const of=rt,sx=(e,t,n)=>new of(e,n).compare(new of(t,n));var Nt=sx;const ox=Nt,ix=(e,t,n)=>ox(t,e,n);var ax=ix;const lx=Nt,cx=(e,t)=>lx(e,t,!0);var ux=cx;const af=rt,fx=(e,t,n)=>{const r=new af(e,n),s=new af(t,n);return r.compare(s)||r.compareBuild(s)};var Jl=fx;const dx=Jl,hx=(e,t)=>e.sort((n,r)=>dx(n,r,t));var px=hx;const mx=Jl,gx=(e,t)=>e.sort((n,r)=>mx(r,n,t));var vx=gx;const _x=Nt,yx=(e,t,n)=>_x(e,t,n)>0;var bi=yx;const bx=Nt,wx=(e,t,n)=>bx(e,t,n)<0;var Ql=wx;const Ex=Nt,xx=(e,t,n)=>Ex(e,t,n)===0;var Dp=xx;const Tx=Nt,Sx=(e,t,n)=>Tx(e,t,n)!==0;var Fp=Sx;const $x=Nt,kx=(e,t,n)=>$x(e,t,n)>=0;var Zl=kx;const Px=Nt,Ax=(e,t,n)=>Px(e,t,n)<=0;var ec=Ax;const Rx=Dp,Ox=Fp,Nx=bi,Cx=Zl,Lx=Ql,Ix=ec,jx=(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 Rx(e,n,r);case"!=":return Ox(e,n,r);case">":return Nx(e,n,r);case">=":return Cx(e,n,r);case"<":return Lx(e,n,r);case"<=":return Ix(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var Bp=jx;const Mx=rt,Dx=Lr,{re:mo,t:go}=zs,Fx=(e,t)=>{if(e instanceof Mx)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(mo[go.COERCE]);else{let r;for(;(r=mo[go.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),mo[go.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;mo[go.COERCERTL].lastIndex=-1}return n===null?null:Dx(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var Bx=Fx,Ji,lf;function Hx(){return lf||(lf=1,Ji=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Ji}var Ux=Pe;Pe.Node=zn;Pe.create=Pe;function Pe(e){var t=this;if(t instanceof Pe||(t=new Pe),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}Pe.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};Pe.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++}};Pe.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++}};Pe.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)Vx(this,arguments[e]);return this.length};Pe.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)Gx(this,arguments[e]);return this.length};Pe.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}};Pe.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}};Pe.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};Pe.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};Pe.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};Pe.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};Pe.prototype.map=function(e,t){t=t||this;for(var n=new Pe,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};Pe.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Pe,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};Pe.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};Pe.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};Pe.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};Pe.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};Pe.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 Pe;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};Pe.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 Pe;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};Pe.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=Wx(this,s,n[r]);return o};Pe.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 Wx(e,t,n){var r=t===e.head?new zn(n,null,t,e):new zn(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function Vx(e,t){e.tail=new zn(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function Gx(e,t){e.head=new zn(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function zn(e,t,n,r){if(!(this instanceof zn))return new zn(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{Hx()(Pe)}catch{}const zx=Ux,Ln=Symbol("max"),zt=Symbol("length"),er=Symbol("lengthCalculator"),Ts=Symbol("allowStale"),Mn=Symbol("maxAge"),Gt=Symbol("dispose"),cf=Symbol("noDisposeOnSet"),Ve=Symbol("lruList"),wt=Symbol("cache"),Hp=Symbol("updateAgeOnGet"),Qi=()=>1;class qx{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[Ln]=t.max||1/0;const n=t.length||Qi;if(this[er]=typeof n!="function"?Qi:n,this[Ts]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Mn]=t.maxAge||0,this[Gt]=t.dispose,this[cf]=t.noDisposeOnSet||!1,this[Hp]=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[Ln]=t||1/0,Ur(this)}get max(){return this[Ln]}set allowStale(t){this[Ts]=!!t}get allowStale(){return this[Ts]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Mn]=t,Ur(this)}get maxAge(){return this[Mn]}set lengthCalculator(t){typeof t!="function"&&(t=Qi),t!==this[er]&&(this[er]=t,this[zt]=0,this[Ve].forEach(n=>{n.length=this[er](n.value,n.key),this[zt]+=n.length})),Ur(this)}get lengthCalculator(){return this[er]}get length(){return this[zt]}get itemCount(){return this[Ve].length}rforEach(t,n){n=n||this;for(let r=this[Ve].tail;r!==null;){const s=r.prev;uf(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[Ve].head;r!==null;){const s=r.next;uf(this,t,r,n),r=s}}keys(){return this[Ve].toArray().map(t=>t.key)}values(){return this[Ve].toArray().map(t=>t.value)}reset(){this[Gt]&&this[Ve]&&this[Ve].length&&this[Ve].forEach(t=>this[Gt](t.key,t.value)),this[wt]=new Map,this[Ve]=new zx,this[zt]=0}dump(){return this[Ve].map(t=>Wo(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Ve]}set(t,n,r){if(r=r||this[Mn],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,o=this[er](n,t);if(this[wt].has(t)){if(o>this[Ln])return dr(this,this[wt].get(t)),!1;const l=this[wt].get(t).value;return this[Gt]&&(this[cf]||this[Gt](t,l.value)),l.now=s,l.maxAge=r,l.value=n,this[zt]+=o-l.length,l.length=o,this.get(t),Ur(this),!0}const i=new Kx(t,n,o,s,r);return i.length>this[Ln]?(this[Gt]&&this[Gt](t,n),!1):(this[zt]+=i.length,this[Ve].unshift(i),this[wt].set(t,this[Ve].head),Ur(this),!0)}has(t){if(!this[wt].has(t))return!1;const n=this[wt].get(t).value;return!Wo(this,n)}get(t){return Zi(this,t,!0)}peek(t){return Zi(this,t,!1)}pop(){const t=this[Ve].tail;return t?(dr(this,t),t.value):null}del(t){dr(this,this[wt].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[wt].forEach((t,n)=>Zi(this,n,!1))}}const Zi=(e,t,n)=>{const r=e[wt].get(t);if(r){const s=r.value;if(Wo(e,s)){if(dr(e,r),!e[Ts])return}else n&&(e[Hp]&&(r.value.now=Date.now()),e[Ve].unshiftNode(r));return s.value}},Wo=(e,t)=>{if(!t||!t.maxAge&&!e[Mn])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[Mn]&&n>e[Mn]},Ur=e=>{if(e[zt]>e[Ln])for(let t=e[Ve].tail;e[zt]>e[Ln]&&t!==null;){const n=t.prev;dr(e,t),t=n}},dr=(e,t)=>{if(t){const n=t.value;e[Gt]&&e[Gt](n.key,n.value),e[zt]-=n.length,e[wt].delete(n.key),e[Ve].removeNode(t)}};class Kx{constructor(t,n,r,s,o){this.key=t,this.value=n,this.length=r,this.now=s,this.maxAge=o||0}}const uf=(e,t,n,r)=>{let s=n.value;Wo(e,s)&&(dr(e,n),e[Ts]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var Xx=qx,ea,ff;function Ct(){if(ff)return ea;ff=1;class e{constructor(A,I){if(I=r(I),A instanceof e)return A.loose===!!I.loose&&A.includePrerelease===!!I.includePrerelease?A:new e(A.raw,I);if(A instanceof s)return this.raw=A.value,this.set=[[A]],this.format(),this;if(this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease,this.raw=A,this.set=A.split("||").map(j=>this.parseRange(j.trim())).filter(j=>j.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${A}`);if(this.set.length>1){const j=this.set[0];if(this.set=this.set.filter(B=>!p(B[0])),this.set.length===0)this.set=[j];else if(this.set.length>1){for(const B of this.set)if(B.length===1&&v(B[0])){this.set=[B];break}}}this.format()}format(){return this.range=this.set.map(A=>A.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(A){A=A.trim();const j=((this.options.includePrerelease&&u)|(this.options.loose&&h))+":"+A,B=n.get(j);if(B)return B;const H=this.options.loose,q=H?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];A=A.replace(q,k(this.options.includePrerelease)),o("hyphen replace",A),A=A.replace(a[l.COMPARATORTRIM],c),o("comparator trim",A),A=A.replace(a[l.TILDETRIM],d),A=A.replace(a[l.CARETTRIM],f),A=A.split(/\s+/).join(" ");let ie=A.split(" ").map(fe=>_(fe,this.options)).join(" ").split(/\s+/).map(fe=>$(fe,this.options));H&&(ie=ie.filter(fe=>(o("loose invalid filter",fe,this.options),!!fe.match(a[l.COMPARATORLOOSE])))),o("range list",ie);const ne=new Map,re=ie.map(fe=>new s(fe,this.options));for(const fe of re){if(p(fe))return[fe];ne.set(fe.value,fe)}ne.size>1&&ne.has("")&&ne.delete("");const he=[...ne.values()];return n.set(j,he),he}intersects(A,I){if(!(A instanceof e))throw new TypeError("a Range is required");return this.set.some(j=>x(j,I)&&A.set.some(B=>x(B,I)&&j.every(H=>B.every(q=>H.intersects(q,I)))))}test(A){if(!A)return!1;if(typeof A=="string")try{A=new i(A,this.options)}catch{return!1}for(let I=0;I<this.set.length;I++)if(P(this.set[I],A,this.options))return!0;return!1}}ea=e;const t=Xx,n=new t({max:1e3}),r=Yl,s=wi(),o=yi,i=rt,{re:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:d,caretTrimReplace:f}=zs,{FLAG_INCLUDE_PRERELEASE:u,FLAG_LOOSE:h}=_i,p=R=>R.value==="<0.0.0-0",v=R=>R.value==="",x=(R,A)=>{let I=!0;const j=R.slice();let B=j.pop();for(;I&&j.length;)I=j.every(H=>B.intersects(H,A)),B=j.pop();return I},_=(R,A)=>(o("comp",R,A),R=S(R,A),o("caret",R),R=b(R,A),o("tildes",R),R=T(R,A),o("xrange",R),R=w(R,A),o("stars",R),R),g=R=>!R||R.toLowerCase()==="x"||R==="*",b=(R,A)=>R.trim().split(/\s+/).map(I=>y(I,A)).join(" "),y=(R,A)=>{const I=A.loose?a[l.TILDELOOSE]:a[l.TILDE];return R.replace(I,(j,B,H,q,ie)=>{o("tilde",R,j,B,H,q,ie);let ne;return g(B)?ne="":g(H)?ne=`>=${B}.0.0 <${+B+1}.0.0-0`:g(q)?ne=`>=${B}.${H}.0 <${B}.${+H+1}.0-0`:ie?(o("replaceTilde pr",ie),ne=`>=${B}.${H}.${q}-${ie} <${B}.${+H+1}.0-0`):ne=`>=${B}.${H}.${q} <${B}.${+H+1}.0-0`,o("tilde return",ne),ne})},S=(R,A)=>R.trim().split(/\s+/).map(I=>m(I,A)).join(" "),m=(R,A)=>{o("caret",R,A);const I=A.loose?a[l.CARETLOOSE]:a[l.CARET],j=A.includePrerelease?"-0":"";return R.replace(I,(B,H,q,ie,ne)=>{o("caret",R,B,H,q,ie,ne);let re;return g(H)?re="":g(q)?re=`>=${H}.0.0${j} <${+H+1}.0.0-0`:g(ie)?H==="0"?re=`>=${H}.${q}.0${j} <${H}.${+q+1}.0-0`:re=`>=${H}.${q}.0${j} <${+H+1}.0.0-0`:ne?(o("replaceCaret pr",ne),H==="0"?q==="0"?re=`>=${H}.${q}.${ie}-${ne} <${H}.${q}.${+ie+1}-0`:re=`>=${H}.${q}.${ie}-${ne} <${H}.${+q+1}.0-0`:re=`>=${H}.${q}.${ie}-${ne} <${+H+1}.0.0-0`):(o("no pr"),H==="0"?q==="0"?re=`>=${H}.${q}.${ie}${j} <${H}.${q}.${+ie+1}-0`:re=`>=${H}.${q}.${ie}${j} <${H}.${+q+1}.0-0`:re=`>=${H}.${q}.${ie} <${+H+1}.0.0-0`),o("caret return",re),re})},T=(R,A)=>(o("replaceXRanges",R,A),R.split(/\s+/).map(I=>E(I,A)).join(" ")),E=(R,A)=>{R=R.trim();const I=A.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return R.replace(I,(j,B,H,q,ie,ne)=>{o("xRange",R,j,B,H,q,ie,ne);const re=g(H),he=re||g(q),fe=he||g(ie),_e=fe;return B==="="&&_e&&(B=""),ne=A.includePrerelease?"-0":"",re?B===">"||B==="<"?j="<0.0.0-0":j="*":B&&_e?(he&&(q=0),ie=0,B===">"?(B=">=",he?(H=+H+1,q=0,ie=0):(q=+q+1,ie=0)):B==="<="&&(B="<",he?H=+H+1:q=+q+1),B==="<"&&(ne="-0"),j=`${B+H}.${q}.${ie}${ne}`):he?j=`>=${H}.0.0${ne} <${+H+1}.0.0-0`:fe&&(j=`>=${H}.${q}.0${ne} <${H}.${+q+1}.0-0`),o("xRange return",j),j})},w=(R,A)=>(o("replaceStars",R,A),R.trim().replace(a[l.STAR],"")),$=(R,A)=>(o("replaceGTE0",R,A),R.trim().replace(a[A.includePrerelease?l.GTE0PRE:l.GTE0],"")),k=R=>(A,I,j,B,H,q,ie,ne,re,he,fe,_e,we)=>(g(j)?I="":g(B)?I=`>=${j}.0.0${R?"-0":""}`:g(H)?I=`>=${j}.${B}.0${R?"-0":""}`:q?I=`>=${I}`:I=`>=${I}${R?"-0":""}`,g(re)?ne="":g(he)?ne=`<${+re+1}.0.0-0`:g(fe)?ne=`<${re}.${+he+1}.0-0`:_e?ne=`<=${re}.${he}.${fe}-${_e}`:R?ne=`<${re}.${he}.${+fe+1}-0`:ne=`<=${ne}`,`${I} ${ne}`.trim()),P=(R,A,I)=>{for(let j=0;j<R.length;j++)if(!R[j].test(A))return!1;if(A.prerelease.length&&!I.includePrerelease){for(let j=0;j<R.length;j++)if(o(R[j].semver),R[j].semver!==s.ANY&&R[j].semver.prerelease.length>0){const B=R[j].semver;if(B.major===A.major&&B.minor===A.minor&&B.patch===A.patch)return!0}return!1}return!0};return ea}var ta,df;function wi(){if(df)return ta;df=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(d,f){if(f=n(f),d instanceof t){if(d.loose===!!f.loose)return d;d=d.value}i("comparator",d,f),this.options=f,this.loose=!!f.loose,this.parse(d),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(d){const f=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],u=d.match(f);if(!u)throw new TypeError(`Invalid comparator: ${d}`);this.operator=u[1]!==void 0?u[1]:"",this.operator==="="&&(this.operator=""),u[2]?this.semver=new a(u[2],this.options.loose):this.semver=e}toString(){return this.value}test(d){if(i("Comparator.test",d,this.options.loose),this.semver===e||d===e)return!0;if(typeof d=="string")try{d=new a(d,this.options)}catch{return!1}return o(d,this.operator,this.semver,this.options)}intersects(d,f){if(!(d instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(d.value,f).test(this.value):d.operator===""?d.value===""?!0:new l(this.value,f).test(d.semver):(f=n(f),f.includePrerelease&&(this.value==="<0.0.0-0"||d.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||d.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&d.operator.startsWith(">")||this.operator.startsWith("<")&&d.operator.startsWith("<")||this.semver.version===d.semver.version&&this.operator.includes("=")&&d.operator.includes("=")||o(this.semver,"<",d.semver,f)&&this.operator.startsWith(">")&&d.operator.startsWith("<")||o(this.semver,">",d.semver,f)&&this.operator.startsWith("<")&&d.operator.startsWith(">")))}}ta=t;const n=Yl,{re:r,t:s}=zs,o=Bp,i=yi,a=rt,l=Ct();return ta}const Yx=Ct(),Jx=(e,t,n)=>{try{t=new Yx(t,n)}catch{return!1}return t.test(e)};var Ei=Jx;const Qx=Ct(),Zx=(e,t)=>new Qx(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var eT=Zx;const tT=rt,nT=Ct(),rT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new nT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new tT(r,n))}),r};var sT=rT;const oT=rt,iT=Ct(),aT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new iT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new oT(r,n))}),r};var lT=aT;const na=rt,cT=Ct(),hf=bi,uT=(e,t)=>{e=new cT(e,t);let n=new na("0.0.0");if(e.test(n)||(n=new na("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 na(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||hf(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||hf(n,o))&&(n=o)}return n&&e.test(n)?n:null};var fT=uT;const dT=Ct(),hT=(e,t)=>{try{return new dT(e,t).range||"*"}catch{return null}};var pT=hT;const mT=rt,Up=wi(),{ANY:gT}=Up,vT=Ct(),_T=Ei,pf=bi,mf=Ql,yT=ec,bT=Zl,wT=(e,t,n,r)=>{e=new mT(e,r),t=new vT(t,r);let s,o,i,a,l;switch(n){case">":s=pf,o=yT,i=mf,a=">",l=">=";break;case"<":s=mf,o=bT,i=pf,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(_T(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const d=t.set[c];let f=null,u=null;if(d.forEach(h=>{h.semver===gT&&(h=new Up(">=0.0.0")),f=f||h,u=u||h,s(h.semver,f.semver,r)?f=h:i(h.semver,u.semver,r)&&(u=h)}),f.operator===a||f.operator===l||(!u.operator||u.operator===a)&&o(e,u.semver))return!1;if(u.operator===l&&i(e,u.semver))return!1}return!0};var tc=wT;const ET=tc,xT=(e,t,n)=>ET(e,t,">",n);var TT=xT;const ST=tc,$T=(e,t,n)=>ST(e,t,"<",n);var kT=$T;const gf=Ct(),PT=(e,t,n)=>(e=new gf(e,n),t=new gf(t,n),e.intersects(t,n));var AT=PT;const RT=Ei,OT=Nt;var NT=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((d,f)=>OT(d,f,n));for(const d of i)RT(d,t,n)?(o=d,s||(s=d)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const a=[];for(const[d,f]of r)d===f?a.push(d):!f&&d===i[0]?a.push("*"):f?d===i[0]?a.push(`<=${f}`):a.push(`${d} - ${f}`):a.push(`>=${d}`);const l=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t};const vf=Ct(),nc=wi(),{ANY:ra}=nc,Wr=Ei,rc=Nt,CT=(e,t,n={})=>{if(e===t)return!0;e=new vf(e,n),t=new vf(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const i=IT(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},LT=[new nc(">=0.0.0-0")],_f=[new nc(">=0.0.0")],IT=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===ra){if(t.length===1&&t[0].semver===ra)return!0;n.includePrerelease?e=LT:e=_f}if(t.length===1&&t[0].semver===ra){if(n.includePrerelease)return!0;t=_f}const r=new Set;let s,o;for(const h of e)h.operator===">"||h.operator===">="?s=yf(s,h,n):h.operator==="<"||h.operator==="<="?o=bf(o,h,n):r.add(h.semver);if(r.size>1)return null;let i;if(s&&o){if(i=rc(s.semver,o.semver,n),i>0)return null;if(i===0&&(s.operator!==">="||o.operator!=="<="))return null}for(const h of r){if(s&&!Wr(h,String(s),n)||o&&!Wr(h,String(o),n))return null;for(const p of t)if(!Wr(h,String(p),n))return!1;return!0}let a,l,c,d,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,u=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;f&&f.prerelease.length===1&&o.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(const h of t){if(d=d||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",s){if(u&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===u.major&&h.semver.minor===u.minor&&h.semver.patch===u.patch&&(u=!1),h.operator===">"||h.operator===">="){if(a=yf(s,h,n),a===h&&a!==s)return!1}else if(s.operator===">="&&!Wr(s.semver,String(h),n))return!1}if(o){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator==="<"||h.operator==="<="){if(l=bf(o,h,n),l===h&&l!==o)return!1}else if(o.operator==="<="&&!Wr(o.semver,String(h),n))return!1}if(!h.operator&&(o||s)&&i!==0)return!1}return!(s&&c&&!o&&i!==0||o&&d&&!s&&i!==0||u||f)},yf=(e,t,n)=>{if(!e)return t;const r=rc(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},bf=(e,t,n)=>{if(!e)return t;const r=rc(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var jT=CT;const sa=zs,wf=_i,MT=rt,Ef=Mp,DT=Lr,FT=DE,BT=HE,HT=WE,UT=GE,WT=KE,VT=JE,GT=ex,zT=rx,qT=Nt,KT=ax,XT=ux,YT=Jl,JT=px,QT=vx,ZT=bi,eS=Ql,tS=Dp,nS=Fp,rS=Zl,sS=ec,oS=Bp,iS=Bx,aS=wi(),lS=Ct(),cS=Ei,uS=eT,fS=sT,dS=lT,hS=fT,pS=pT,mS=tc,gS=TT,vS=kT,_S=AT,yS=NT,bS=jT;var wS={parse:DT,valid:FT,clean:BT,inc:HT,diff:UT,major:WT,minor:VT,patch:GT,prerelease:zT,compare:qT,rcompare:KT,compareLoose:XT,compareBuild:YT,sort:JT,rsort:QT,gt:ZT,lt:eS,eq:tS,neq:nS,gte:rS,lte:sS,cmp:oS,coerce:iS,Comparator:aS,Range:lS,satisfies:cS,toComparators:uS,maxSatisfying:fS,minSatisfying:dS,minVersion:hS,validRange:pS,outside:mS,gtr:gS,ltr:vS,intersects:_S,simplifyRange:yS,subset:bS,SemVer:MT,re:sa.re,src:sa.src,tokens:sa.t,SEMVER_SPEC_VERSION:wf.SEMVER_SPEC_VERSION,RELEASE_TYPES:wf.RELEASE_TYPES,compareIdentifiers:Ef.compareIdentifiers,rcompareIdentifiers:Ef.rcompareIdentifiers};const ES=yE(wS),oa=new Map;function W2(e,t){const n=e;return oa.has(n)||oa.set(n,SS(e,t)),oa.get(n)}function xS(){return pt("npm:check:nuxt",()=>De.checkForUpdateFor("nuxt"))}function TS(e){const t=xS();return pe(()=>t?.value?.current?ES.satisfies(t.value.current,e):!1)}function SS(e,t){const n=Ie(),r=pt(`npm:check:${e}`,()=>De.checkForUpdateFor(e)),s=te("idle"),o=te();n.hook("devtools:terminal:exit",({id:l,code:c})=>{l!==o||!o||(s.value=c===0?"updated":"idle")});async function i(l){if(s.value!=="idle")return;const c=await De.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return s.value="running",o.value=(await De.runNpmCommand(await EE(),"update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await De.restartNuxt()}return{info:r,state:s,update:i,restart:a,processId:o}}const Vr={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return TS("^3.5.0")}},Gr={icon:"carbon-image-copy",title:"Assets",layout:"full"},zr={icon:"i-carbon-assembly-cluster",title:"Components",order:2},qr={layout:"full"},Kr={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},Xr={icon:"carbon-function",title:"Imports",order:3},Yr={icon:"carbon-layers",title:"Middleware",wip:!0},Jr={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},xi=()=>Cr("color-mode").value,Va=te();let xf;function $S(){xf||(xf=(async()=>{const{default:e}=await Re(()=>import("./index.25d3cd66.js").then(t=>t.i),[],import.meta.url);Va.value=new e({html:!0,linkify:!0,breaks:!0})})())}function kS(e){return $S(),Va.value?Va.value.render(e):e}var Wp=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},Ss={},PS={get exports(){return Ss},set exports(e){Ss=e}};(function(e,t){(function(n,r){e.exports=r()})(Wp,()=>{return n={770:function(s,o,i){var a=this&&this.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(o,"__esModule",{value:!0}),o.setDefaultDebugCall=o.createOnigScanner=o.createOnigString=o.loadWASM=o.OnigScanner=o.OnigString=void 0;const l=a(i(418));let c=null,d=!1;class f{static _utf8ByteLength(_){let g=0;for(let b=0,y=_.length;b<y;b++){const S=_.charCodeAt(b);let m=S,T=!1;if(S>=55296&&S<=56319&&b+1<y){const E=_.charCodeAt(b+1);E>=56320&&E<=57343&&(m=65536+(S-55296<<10)|E-56320,T=!0)}g+=m<=127?1:m<=2047?2:m<=65535?3:4,T&&b++}return g}constructor(_){const g=_.length,b=f._utf8ByteLength(_),y=b!==g,S=y?new Uint32Array(g+1):null;y&&(S[g]=b);const m=y?new Uint32Array(b+1):null;y&&(m[b]=g);const T=new Uint8Array(b);let E=0;for(let w=0;w<g;w++){const $=_.charCodeAt(w);let k=$,P=!1;if($>=55296&&$<=56319&&w+1<g){const R=_.charCodeAt(w+1);R>=56320&&R<=57343&&(k=65536+($-55296<<10)|R-56320,P=!0)}y&&(S[w]=E,P&&(S[w+1]=E),k<=127?m[E+0]=w:k<=2047?(m[E+0]=w,m[E+1]=w):k<=65535?(m[E+0]=w,m[E+1]=w,m[E+2]=w):(m[E+0]=w,m[E+1]=w,m[E+2]=w,m[E+3]=w)),k<=127?T[E++]=k:k<=2047?(T[E++]=192|(1984&k)>>>6,T[E++]=128|(63&k)>>>0):k<=65535?(T[E++]=224|(61440&k)>>>12,T[E++]=128|(4032&k)>>>6,T[E++]=128|(63&k)>>>0):(T[E++]=240|(1835008&k)>>>18,T[E++]=128|(258048&k)>>>12,T[E++]=128|(4032&k)>>>6,T[E++]=128|(63&k)>>>0),P&&w++}this.utf16Length=g,this.utf8Length=b,this.utf16Value=_,this.utf8Value=T,this.utf16OffsetToUtf8=S,this.utf8OffsetToUtf16=m}createString(_){const g=_._omalloc(this.utf8Length);return _.HEAPU8.set(this.utf8Value,g),g}}class u{constructor(_){if(this.id=++u.LAST_ID,!c)throw new Error("Must invoke loadWASM first.");this._onigBinding=c,this.content=_;const g=new f(_);this.utf16Length=g.utf16Length,this.utf8Length=g.utf8Length,this.utf16OffsetToUtf8=g.utf16OffsetToUtf8,this.utf8OffsetToUtf16=g.utf8OffsetToUtf16,this.utf8Length<1e4&&!u._sharedPtrInUse?(u._sharedPtr||(u._sharedPtr=c._omalloc(1e4)),u._sharedPtrInUse=!0,c.HEAPU8.set(g.utf8Value,u._sharedPtr),this.ptr=u._sharedPtr):this.ptr=g.createString(c)}convertUtf8OffsetToUtf16(_){return this.utf8OffsetToUtf16?_<0?0:_>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[_]:_}convertUtf16OffsetToUtf8(_){return this.utf16OffsetToUtf8?_<0?0:_>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[_]:_}dispose(){this.ptr===u._sharedPtr?u._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}o.OnigString=u,u.LAST_ID=0,u._sharedPtr=0,u._sharedPtrInUse=!1;class h{constructor(_){if(!c)throw new Error("Must invoke loadWASM first.");const g=[],b=[];for(let T=0,E=_.length;T<E;T++){const w=new f(_[T]);g[T]=w.createString(c),b[T]=w.utf8Length}const y=c._omalloc(4*_.length);c.HEAPU32.set(g,y/4);const S=c._omalloc(4*_.length);c.HEAPU32.set(b,S/4);const m=c._createOnigScanner(y,S,_.length);for(let T=0,E=_.length;T<E;T++)c._ofree(g[T]);c._ofree(S),c._ofree(y),m===0&&function(T){throw new Error(T.UTF8ToString(T._getLastOnigError()))}(c),this._onigBinding=c,this._ptr=m}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(_,g,b){let y=d,S=0;if(typeof b=="number"?(8&b&&(y=!0),S=b):typeof b=="boolean"&&(y=b),typeof _=="string"){_=new u(_);const m=this._findNextMatchSync(_,g,y,S);return _.dispose(),m}return this._findNextMatchSync(_,g,y,S)}_findNextMatchSync(_,g,b,y){const S=this._onigBinding;let m;if(m=b?S._findNextOnigScannerMatchDbg(this._ptr,_.id,_.ptr,_.utf8Length,_.convertUtf16OffsetToUtf8(g),y):S._findNextOnigScannerMatch(this._ptr,_.id,_.ptr,_.utf8Length,_.convertUtf16OffsetToUtf8(g),y),m===0)return null;const T=S.HEAPU32;let E=m/4;const w=T[E++],$=T[E++];let k=[];for(let P=0;P<$;P++){const R=_.convertUtf8OffsetToUtf16(T[E++]),A=_.convertUtf8OffsetToUtf16(T[E++]);k[P]={start:R,end:A,length:A-R}}return{index:w,captureIndices:k}}}o.OnigScanner=h;let p=!1,v=null;o.loadWASM=function(x){if(p)return v;let _,g,b,y;if(p=!0,function(S){return typeof S.instantiator=="function"}(x))_=x.instantiator,g=x.print;else{let S;(function(m){return m.data!==void 0})(x)?(S=x.data,g=x.print):S=x,_=function(m){return typeof Response<"u"&&m instanceof Response}(S)?typeof WebAssembly.instantiateStreaming=="function"?function(m){return T=>WebAssembly.instantiateStreaming(m,T)}(S):function(m){return async T=>{const E=await m.arrayBuffer();return WebAssembly.instantiate(E,T)}}(S):function(m){return T=>WebAssembly.instantiate(m,T)}(S)}return v=new Promise((S,m)=>{b=S,y=m}),function(S,m,T,E){(0,l.default)({print:m,instantiateWasm:(w,$)=>{if(typeof performance>"u"){const k=()=>Date.now();w.env.emscripten_get_now=k,w.wasi_snapshot_preview1.emscripten_get_now=k}return S(w).then(k=>$(k.instance),E),{}}}).then(w=>{c=w,T()})}(_,g,b,y),v},o.createOnigString=function(x){return new u(x)},o.createOnigScanner=function(x){return new h(x)},o.setDefaultDebugCall=function(x){d=x}},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,W){a=M,l=W});var d,f=Object.assign({},c),u=!1,h="";function p(M){return c.locateFile?c.locateFile(M,h):h+M}d=function(M){let W;return typeof readbuffer=="function"?new Uint8Array(readbuffer(M)):(W=read(M,"binary"),y(typeof W=="object"),W)},typeof scriptArgs<"u"&&scriptArgs,typeof onig_print<"u"&&(typeof console>"u"&&(console={}),console.log=onig_print,console.warn=console.error=typeof printErr<"u"?printErr:onig_print);var v,x,_=c.print||console.log.bind(console),g=c.printErr||console.warn.bind(console);Object.assign(c,f),f=null,c.arguments&&c.arguments,c.thisProgram&&c.thisProgram,c.quit&&c.quit,c.wasmBinary&&(v=c.wasmBinary),c.noExitRuntime,typeof WebAssembly!="object"&&_e("no native wasm support detected");var b=!1;function y(M,W){M||_e(W)}var S,m,T,E=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function w(M,W,z){for(var ee=W+z,X=W;M[X]&&!(X>=ee);)++X;if(X-W>16&&M.buffer&&E)return E.decode(M.subarray(W,X));for(var Q="";W<X;){var ge=M[W++];if(128&ge){var Oe=63&M[W++];if((224&ge)!=192){var be=63&M[W++];if((ge=(240&ge)==224?(15&ge)<<12|Oe<<6|be:(7&ge)<<18|Oe<<12|be<<6|63&M[W++])<65536)Q+=String.fromCharCode(ge);else{var me=ge-65536;Q+=String.fromCharCode(55296|me>>10,56320|1023&me)}}else Q+=String.fromCharCode((31&ge)<<6|Oe)}else Q+=String.fromCharCode(ge)}return Q}function $(M,W){return M?w(m,M,W):""}function k(M){S=M,c.HEAP8=new Int8Array(M),c.HEAP16=new Int16Array(M),c.HEAP32=new Int32Array(M),c.HEAPU8=m=new Uint8Array(M),c.HEAPU16=new Uint16Array(M),c.HEAPU32=T=new Uint32Array(M),c.HEAPF32=new Float32Array(M),c.HEAPF64=new Float64Array(M)}c.INITIAL_MEMORY;var P=[],R=[],A=[];function I(){if(c.preRun)for(typeof c.preRun=="function"&&(c.preRun=[c.preRun]);c.preRun.length;)H(c.preRun.shift());N(P)}function j(){N(R)}function B(){if(c.postRun)for(typeof c.postRun=="function"&&(c.postRun=[c.postRun]);c.postRun.length;)ie(c.postRun.shift());N(A)}function H(M){P.unshift(M)}function q(M){R.unshift(M)}function ie(M){A.unshift(M)}var ne=0,re=null;function he(M){ne++,c.monitorRunDependencies&&c.monitorRunDependencies(ne)}function fe(M){if(ne--,c.monitorRunDependencies&&c.monitorRunDependencies(ne),ne==0&&re){var W=re;re=null,W()}}function _e(M){c.onAbort&&c.onAbort(M),g(M="Aborted("+M+")"),b=!0,M+=". Build with -sASSERTIONS for more info.";var W=new WebAssembly.RuntimeError(M);throw l(W),W}var we,C,J="data:application/octet-stream;base64,";function V(M){return M.startsWith(J)}function oe(M){try{if(M==we&&v)return new Uint8Array(v);if(d)return d(M);throw"both async and sync fetching of the wasm failed"}catch(W){_e(W)}}function Ee(){return v||!u||typeof fetch!="function"?Promise.resolve().then(function(){return oe(we)}):fetch(we,{credentials:"same-origin"}).then(function(M){if(!M.ok)throw"failed to load wasm binary file at '"+we+"'";return M.arrayBuffer()}).catch(function(){return oe(we)})}function O(){var M={env:G,wasi_snapshot_preview1:G};function W(X,Q){var ge=X.exports;c.asm=ge,k((x=c.asm.memory).buffer),c.asm.__indirect_function_table,q(c.asm.__wasm_call_ctors),fe()}function z(X){W(X.instance)}function ee(X){return Ee().then(function(Q){return WebAssembly.instantiate(Q,M)}).then(function(Q){return Q}).then(X,function(Q){g("failed to asynchronously prepare wasm: "+Q),_e(Q)})}if(he(),c.instantiateWasm)try{return c.instantiateWasm(M,W)}catch(X){g("Module.instantiateWasm callback failed with error: "+X),l(X)}return(v||typeof WebAssembly.instantiateStreaming!="function"||V(we)||typeof fetch!="function"?ee(z):fetch(we,{credentials:"same-origin"}).then(function(X){return WebAssembly.instantiateStreaming(X,M).then(z,function(Q){return g("wasm streaming compile failed: "+Q),g("falling back to ArrayBuffer instantiation"),ee(z)})})).catch(l),{}}function N(M){for(;M.length>0;)M.shift()(c)}function L(M,W,z){m.copyWithin(M,W,W+z)}function D(M){try{return x.grow(M-S.byteLength+65535>>>16),k(x.buffer),1}catch{}}function F(M){var W,z=m.length,ee=2147483648;if((M>>>=0)>ee)return!1;for(var X=1;X<=4;X*=2){var Q=z*(1+.2/X);if(Q=Math.min(Q,M+100663296),D(Math.min(ee,(W=Math.max(M,Q))+(65536-W%65536)%65536)))return!0}return!1}V(we="onig.wasm")||(we=p(we)),C=typeof dateNow<"u"?dateNow:()=>performance.now();var U=[null,[],[]];function Z(M,W){var z=U[M];W===0||W===10?((M===1?_:g)(w(z,0)),z.length=0):z.push(W)}function Y(M,W,z,ee){for(var X=0,Q=0;Q<z;Q++){var ge=T[W>>2],Oe=T[W+4>>2];W+=8;for(var be=0;be<Oe;be++)Z(M,m[ge+be]);X+=Oe}return T[ee>>2]=X,0}var K,G={emscripten_get_now:C,emscripten_memcpy_big:L,emscripten_resize_heap:F,fd_write:Y};function se(M){function W(){K||(K=!0,c.calledRun=!0,b||(j(),a(c),c.onRuntimeInitialized&&c.onRuntimeInitialized(),B()))}ne>0||(I(),ne>0||(c.setStatus?(c.setStatus("Running..."),setTimeout(function(){setTimeout(function(){c.setStatus("")},1),W()},1)):W()))}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=$,re=function M(){K||se(),K||(re=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})})(PS);var Vo={},AS={get exports(){return Vo},set exports(e){Vo=e}};(function(e,t){(function(n,r){e.exports=r()})(Wp,function(){return(()=>{var n={350:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},36:(s,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let l=a.toString(2);for(;l.length<32;)l="0"+l;return l},i.print=function(a){const l=i.getLanguageId(a),c=i.getTokenType(a),d=i.getFontStyle(a),f=i.getForeground(a),u=i.getBackground(a);console.log({languageId:l,tokenType:c,fontStyle:d,foreground:f,background:u})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,l,c,d,f,u,h){let p=i.getLanguageId(a),v=i.getTokenType(a),x=i.containsBalancedBrackets(a)?1:0,_=i.getFontStyle(a),g=i.getForeground(a),b=i.getBackground(a);return l!==0&&(p=l),c!==8&&(v=c),d!==null&&(x=d?1:0),f!==-1&&(_=f),u!==0&&(g=u),h!==0&&(b=h),(p<<0|v<<8|x<<10|_<<11|g<<15|b<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class l{constructor(u,h){this.languageId=u,this.tokenType=h}}o.BasicScopeAttributes=l;class c{constructor(u,h){this._getBasicScopeAttributes=new a.CachedFn(p=>{const v=this._scopeToLanguage(p),x=this._toStandardTokenType(p);return new l(v,x)}),this._defaultAttributes=new l(u,8),this._embeddedLanguagesMatcher=new d(Object.entries(h||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(u){return u===null?c._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(u)}_scopeToLanguage(u){return this._embeddedLanguagesMatcher.match(u)||0}_toStandardTokenType(u){const h=u.match(c.STANDARD_TOKEN_TYPE_REGEXP);if(!h)return 8;switch(h[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}o.BasicScopeAttributesProvider=c,c._NULL_SCOPE_METADATA=new l(0,0),c.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class d{constructor(u){if(u.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(u);const h=u.map(([p,v])=>a.escapeRegExpCharacters(p));h.sort(),h.reverse(),this.scopesRegExp=new RegExp(`^((${h.join(")|(")}))($|\\.)`,"")}}match(u){if(!this.scopesRegExp)return;const h=u.match(this.scopesRegExp);return h?this.values.get(h[1]):void 0}}},947:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStack=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),l=i(36),c=i(736),d=i(44),f=i(792),u=i(583),h=i(878),p=i(996),v=i(47);function x(E,w,$,k,P){const R=c.createMatchers(w,_),A=f.RuleFactory.getCompiledRuleId($,k,P.repository);for(const I of R)E.push({debugSelector:w,matcher:I.matcher,ruleId:A,grammar:P,priority:I.priority})}function _(E,w){if(w.length<E.length)return!1;let $=0;return E.every(k=>{for(let P=$;P<w.length;P++)if(g(w[P],k))return $=P+1,!0;return!1})}function g(E,w){if(!E)return!1;if(E===w)return!0;const $=w.length;return E.length>$&&E.substr(0,$)===w&&E[$]==="."}o.createGrammar=function(E,w,$,k,P,R,A,I){return new b(E,w,$,k,P,R,A,I)};class b{constructor(w,$,k,P,R,A,I,j){if(this._rootScopeName=w,this.balancedBracketSelectors=A,this._onigLib=j,this._basicScopeAttributesProvider=new p.BasicScopeAttributesProvider(k,P),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=I,this._grammar=y($,null),this._injections=null,this._tokenTypeMatchers=[],R)for(const B of Object.keys(R)){const H=c.createMatchers(B,_);for(const q of H)this._tokenTypeMatchers.push({matcher:q.matcher,type:R[B]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const w of this._ruleId2desc)w&&w.dispose()}createOnigScanner(w){return this._onigLib.createOnigScanner(w)}createOnigString(w){return this._onigLib.createOnigString(w)}getMetadataForScope(w){return this._basicScopeAttributesProvider.getBasicScopeAttributes(w)}_collectInjections(){const w=[],$=this._rootScopeName,k=(P=>P===this._rootScopeName?this._grammar:this.getExternalGrammar(P))($);if(k){const P=k.injections;if(P)for(let A in P)x(w,A,P[A],this,k);const R=this._grammarRepository.injections($);R&&R.forEach(A=>{const I=this.getExternalGrammar(A);if(I){const j=I.injectionSelector;j&&x(w,j,I,this,I)}})}return w.sort((P,R)=>P.priority-R.priority),w}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 w of this._injections)console.log(` - ${w.debugSelector}`)}return this._injections}registerRule(w){const $=++this._lastRuleId,k=w(f.ruleIdFromNumber($));return this._ruleId2desc[$]=k,k}getRule(w){return this._ruleId2desc[f.ruleIdToNumber(w)]}getExternalGrammar(w,$){if(this._includedGrammars[w])return this._includedGrammars[w];if(this._grammarRepository){const k=this._grammarRepository.lookup(w);if(k)return this._includedGrammars[w]=y(k,$&&$.$base),this._includedGrammars[w]}}tokenizeLine(w,$,k=0){const P=this._tokenize(w,$,!1,k);return{tokens:P.lineTokens.getResult(P.ruleStack,P.lineLength),ruleStack:P.ruleStack,stoppedEarly:P.stoppedEarly}}tokenizeLine2(w,$,k=0){const P=this._tokenize(w,$,!0,k);return{tokens:P.lineTokens.getBinaryResult(P.ruleStack,P.lineLength),ruleStack:P.ruleStack,stoppedEarly:P.stoppedEarly}}_tokenize(w,$,k,P){let R;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),$&&$!==m.NULL)R=!1,$.reset();else{R=!0;const H=this._basicScopeAttributesProvider.getDefaultAttributes(),q=this.themeProvider.getDefaults(),ie=l.EncodedTokenAttributes.set(0,H.languageId,H.tokenType,null,q.fontStyle,q.foregroundId,q.backgroundId),ne=this.getRule(this._rootId).getName(null,null);let re;re=ne?S.createRootAndLookUpScopeName(ne,ie,this):S.createRoot("unknown",ie),$=new m(null,this._rootId,-1,-1,!1,null,re,re)}w+=`
|
|
8
8
|
`;const A=this.createOnigString(w),I=A.content.length,j=new T(k,w,this._tokenTypeMatchers,this.balancedBracketSelectors),B=v._tokenizeString(this,A,R,0,$,j,!0,P);return d.disposeOnigString(A),{lineLength:I,lineTokens:j,ruleStack:B.stack,stoppedEarly:B.stoppedEarly}}}function y(E,w){return(E=h.clone(E)).repository=E.repository||{},E.repository.$self={$vscodeTextmateLocation:E.$vscodeTextmateLocation,patterns:E.patterns,name:E.scopeName},E.repository.$base=w||E.repository.$self,E}o.Grammar=b;class S{constructor(w,$,k){this.parent=w,this.scopePath=$,this.tokenAttributes=k}static createRoot(w,$){return new S(null,new u.ScopeStack(null,w),$)}static createRootAndLookUpScopeName(w,$,k){const P=k.getMetadataForScope(w),R=new u.ScopeStack(null,w),A=k.themeProvider.themeMatch(R),I=S.mergeAttributes($,P,A);return new S(null,R,I)}get scopeName(){return this.scopePath.scopeName}equals(w){return S._equals(this,w)}static _equals(w,$){for(;;){if(w===$||!w&&!$)return!0;if(!w||!$||w.scopeName!==$.scopeName||w.tokenAttributes!==$.tokenAttributes)return!1;w=w.parent,$=$.parent}}static mergeAttributes(w,$,k){let P=-1,R=0,A=0;return k!==null&&(P=k.fontStyle,R=k.foregroundId,A=k.backgroundId),l.EncodedTokenAttributes.set(w,$.languageId,$.tokenType,null,P,R,A)}pushAttributed(w,$){if(w===null)return this;if(w.indexOf(" ")===-1)return S._pushAttributed(this,w,$);const k=w.split(/ /g);let P=this;for(const R of k)P=S._pushAttributed(P,R,$);return P}static _pushAttributed(w,$,k){const P=k.getMetadataForScope($),R=w.scopePath.push($),A=k.themeProvider.themeMatch(R),I=S.mergeAttributes(w.tokenAttributes,P,A);return new S(w,R,I)}getScopeNames(){return this.scopePath.getSegments()}}o.AttributedScopeStack=S;class m{constructor(w,$,k,P,R,A,I,j){this.parent=w,this.ruleId=$,this.beginRuleCapturedEOL=R,this.endRule=A,this.nameScopesList=I,this.contentNameScopesList=j,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=k,this._anchorPos=P}equals(w){return w!==null&&m._equals(this,w)}static _equals(w,$){return w===$||!!this._structuralEquals(w,$)&&w.contentNameScopesList.equals($.contentNameScopesList)}static _structuralEquals(w,$){for(;;){if(w===$||!w&&!$)return!0;if(!w||!$||w.depth!==$.depth||w.ruleId!==$.ruleId||w.endRule!==$.endRule)return!1;w=w.parent,$=$.parent}}clone(){return this}static _reset(w){for(;w;)w._enterPos=-1,w._anchorPos=-1,w=w.parent}reset(){m._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(w,$,k,P,R,A,I){return new m(this,w,$,k,P,R,A,I)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(w){return w.getRule(this.ruleId)}toString(){const w=[];return this._writeString(w,0),"["+w.join(",")+"]"}_writeString(w,$){return this.parent&&($=this.parent._writeString(w,$)),w[$++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,$}withContentNameScopesList(w){return this.contentNameScopesList===w?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,w)}withEndRule(w){return this.endRule===w?this:new m(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,w,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(w){let $=this;for(;$&&$._enterPos===w._enterPos;){if($.ruleId===w.ruleId)return!0;$=$.parent}return!1}}o.StateStack=m,m.NULL=new m(null,0,0,0,!1,null,null,null),o.BalancedBracketSelectors=class{constructor(E,w){this.allowAny=!1,this.balancedBracketScopes=E.flatMap($=>$==="*"?(this.allowAny=!0,[]):c.createMatchers($,_).map(k=>k.matcher)),this.unbalancedBracketScopes=w.flatMap($=>c.createMatchers($,_).map(k=>k.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(E){for(const w of this.unbalancedBracketScopes)if(w(E))return!1;for(const w of this.balancedBracketScopes)if(w(E))return!0;return this.allowAny}};class T{constructor(w,$,k,P){this.balancedBracketSelectors=P,this._emitBinaryTokens=w,this._tokenTypeOverrides=k,a.DebugFlags.InDebugMode?this._lineText=$:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(w,$){this.produceFromScopes(w.contentNameScopesList,$)}produceFromScopes(w,$){if(this._lastTokenEndIndex>=$)return;if(this._emitBinaryTokens){let P=w.tokenAttributes,R=!1;if(this.balancedBracketSelectors?.matchesAlways&&(R=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const A=w.getScopeNames();for(const I of this._tokenTypeOverrides)I.matcher(A)&&(P=l.EncodedTokenAttributes.set(P,0,l.toOptionalTokenType(I.type),null,-1,0,0));this.balancedBracketSelectors&&(R=this.balancedBracketSelectors.match(A))}if(R&&(P=l.EncodedTokenAttributes.set(P,0,8,R,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===P)return void(this._lastTokenEndIndex=$);if(a.DebugFlags.InDebugMode){const A=w.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,$).replace(/\n$/,"\\n")+"|");for(let I=0;I<A.length;I++)console.log(" * "+A[I])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(P),void(this._lastTokenEndIndex=$)}const k=w.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,$).replace(/\n$/,"\\n")+"|");for(let P=0;P<k.length;P++)console.log(" * "+k[P])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:$,scopes:k}),this._lastTokenEndIndex=$}getResult(w,$){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(w,$),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(w,$){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(w,$),this._binaryTokens[this._binaryTokens.length-2]=0);const k=new Uint32Array(this._binaryTokens.length);for(let P=0,R=this._binaryTokens.length;P<R;P++)k[P]=this._binaryTokens[P];return k}}o.LineTokens=T},965:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseInclude=o.TopLevelRepositoryReference=o.TopLevelReference=o.RelativeReference=o.SelfReference=o.BaseReference=o.ScopeDependencyProcessor=o.ExternalReferenceCollector=o.TopLevelRepositoryRuleReference=o.TopLevelRuleReference=void 0;const a=i(878);class l{constructor(m){this.scopeName=m}toKey(){return this.scopeName}}o.TopLevelRuleReference=l;class c{constructor(m,T){this.scopeName=m,this.ruleName=T}toKey(){return`${this.scopeName}#${this.ruleName}`}}o.TopLevelRepositoryRuleReference=c;class d{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(m){const T=m.toKey();this._seenReferenceKeys.has(T)||(this._seenReferenceKeys.add(T),this._references.push(m))}}function f(S,m,T,E){const w=T.lookup(S.scopeName);if(!w){if(S.scopeName===m)throw new Error(`No grammar provided for <${m}>`);return}const $=T.lookup(m);S instanceof l?h({baseGrammar:$,selfGrammar:w},E):u(S.ruleName,{baseGrammar:$,selfGrammar:w,repository:w.repository},E);const k=T.injections(S.scopeName);if(k)for(const P of k)E.add(new l(P))}function u(S,m,T){m.repository&&m.repository[S]&&p([m.repository[S]],m,T)}function h(S,m){S.selfGrammar.patterns&&Array.isArray(S.selfGrammar.patterns)&&p(S.selfGrammar.patterns,{...S,repository:S.selfGrammar.repository},m),S.selfGrammar.injections&&p(Object.values(S.selfGrammar.injections),{...S,repository:S.selfGrammar.repository},m)}function p(S,m,T){for(const E of S){if(T.visitedRule.has(E))continue;T.visitedRule.add(E);const w=E.repository?a.mergeObjects({},m.repository,E.repository):m.repository;Array.isArray(E.patterns)&&p(E.patterns,{...m,repository:w},T);const $=E.include;if(!$)continue;const k=y($);switch(k.kind){case 0:h({...m,selfGrammar:m.baseGrammar},T);break;case 1:h(m,T);break;case 2:u(k.ruleName,{...m,repository:w},T);break;case 3:case 4:const P=k.scopeName===m.selfGrammar.scopeName?m.selfGrammar:k.scopeName===m.baseGrammar.scopeName?m.baseGrammar:void 0;if(P){const R={baseGrammar:m.baseGrammar,selfGrammar:P,repository:w};k.kind===4?u(k.ruleName,R,T):h(R,T)}else k.kind===4?T.add(new c(k.scopeName,k.ruleName)):T.add(new l(k.scopeName))}}}o.ExternalReferenceCollector=d,o.ScopeDependencyProcessor=class{constructor(S,m){this.repo=S,this.initialScopeName=m,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new l(this.initialScopeName)]}processQueue(){const S=this.Q;this.Q=[];const m=new d;for(const T of S)f(T,this.initialScopeName,this.repo,m);for(const T of m.references)if(T instanceof l){if(this.seenFullScopeRequests.has(T.scopeName))continue;this.seenFullScopeRequests.add(T.scopeName),this.Q.push(T)}else{if(this.seenFullScopeRequests.has(T.scopeName)||this.seenPartialScopeRequests.has(T.toKey()))continue;this.seenPartialScopeRequests.add(T.toKey()),this.Q.push(T)}}};class v{constructor(){this.kind=0}}o.BaseReference=v;class x{constructor(){this.kind=1}}o.SelfReference=x;class _{constructor(m){this.ruleName=m,this.kind=2}}o.RelativeReference=_;class g{constructor(m){this.scopeName=m,this.kind=3}}o.TopLevelReference=g;class b{constructor(m,T){this.scopeName=m,this.ruleName=T,this.kind=4}}function y(S){if(S==="$base")return new v;if(S==="$self")return new x;const m=S.indexOf("#");if(m===-1)return new g(S);if(m===0)return new _(S.substring(1));{const T=S.substring(0,m),E=S.substring(m+1);return new b(T,E)}}o.TopLevelRepositoryReference=b,o.parseInclude=y},391:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(c,d,f,u){u===void 0&&(u=f),Object.defineProperty(c,u,{enumerable:!0,get:function(){return d[f]}})}:function(c,d,f,u){u===void 0&&(u=f),c[u]=d[f]}),l=this&&this.__exportStar||function(c,d){for(var f in c)f==="default"||Object.prototype.hasOwnProperty.call(d,f)||a(d,c,f)};Object.defineProperty(o,"__esModule",{value:!0}),l(i(947),o)},47:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LocalStackElement=o._tokenizeString=void 0;const a=i(350),l=i(44),c=i(792),d=i(878);class f{constructor(b,y){this.stack=b,this.stoppedEarly=y}}function u(g,b,y,S,m,T,E,w){const $=b.content.length;let k=!1,P=-1;if(E){const I=function(j,B,H,q,ie,ne){let re=ie.beginRuleCapturedEOL?0:-1;const he=[];for(let fe=ie;fe;fe=fe.pop()){const _e=fe.getRule(j);_e instanceof c.BeginWhileRule&&he.push({rule:_e,stack:fe})}for(let fe=he.pop();fe;fe=he.pop()){const{ruleScanner:_e,findOptions:we}=p(fe.rule,j,fe.stack.endRule,H,q===re),C=_e.findNextMatchSync(B,q,we);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(_e.toString())),!C){a.DebugFlags.InDebugMode&&console.log(" popping "+fe.rule.debugName+" - "+fe.rule.debugWhileRegExp),ie=fe.stack.pop();break}if(C.ruleId!==c.whileRuleId){ie=fe.stack.pop();break}C.captureIndices&&C.captureIndices.length&&(ne.produce(fe.stack,C.captureIndices[0].start),x(j,B,H,fe.stack,ne,fe.rule.whileCaptures,C.captureIndices),ne.produce(fe.stack,C.captureIndices[0].end),re=C.captureIndices[0].end,C.captureIndices[0].end>q&&(q=C.captureIndices[0].end,H=!1))}return{stack:ie,linePos:q,anchorPosition:re,isFirstLine:H}}(g,b,y,S,m,T);m=I.stack,S=I.linePos,y=I.isFirstLine,P=I.anchorPosition}const R=Date.now();for(;!k;){if(w!==0&&Date.now()-R>w)return new f(m,!0);A()}return new f(m,!1);function A(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${S}: |${b.content.substr(S).replace(/\n$/,"\\n")}|`));const I=function(q,ie,ne,re,he,fe){const _e=function(oe,Ee,O,N,L,D){const F=L.getRule(oe),{ruleScanner:U,findOptions:Z}=h(F,oe,L.endRule,O,N===D);let Y=0;a.DebugFlags.InDebugMode&&(Y=d.performanceNow());const K=U.findNextMatchSync(Ee,N,Z);if(a.DebugFlags.InDebugMode){const G=d.performanceNow()-Y;G>5&&console.warn(`Rule ${F.debugName} (${F.id}) matching took ${G} against '${Ee}'`),console.log(` scanning for (linePos: ${N}, anchorPosition: ${D})`),console.log(U.toString()),K&&console.log(`matched rule id: ${K.ruleId} from ${K.captureIndices[0].start} to ${K.captureIndices[0].end}`)}return K?{captureIndices:K.captureIndices,matchedRuleId:K.ruleId}:null}(q,ie,ne,re,he,fe),we=q.getInjections();if(we.length===0)return _e;const C=function(oe,Ee,O,N,L,D,F){let U,Z=Number.MAX_VALUE,Y=null,K=0;const G=D.contentNameScopesList.getScopeNames();for(let se=0,M=oe.length;se<M;se++){const W=oe[se];if(!W.matcher(G))continue;const z=Ee.getRule(W.ruleId),{ruleScanner:ee,findOptions:X}=h(z,Ee,null,N,L===F),Q=ee.findNextMatchSync(O,L,X);if(!Q)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${W.debugSelector}`),console.log(ee.toString()));const ge=Q.captureIndices[0].start;if(!(ge>=Z)&&(Z=ge,Y=Q.captureIndices,U=Q.ruleId,K=W.priority,Z===L))break}return Y?{priorityMatch:K===-1,captureIndices:Y,matchedRuleId:U}:null}(we,q,ie,ne,re,he,fe);if(!C)return _e;if(!_e)return C;const J=_e.captureIndices[0].start,V=C.captureIndices[0].start;return V<J||C.priorityMatch&&V===J?C:_e}(g,b,y,S,m,P);if(!I)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),T.produce(m,$),void(k=!0);const j=I.captureIndices,B=I.matchedRuleId,H=!!(j&&j.length>0)&&j[0].end>S;if(B===c.endRuleId){const q=m.getRule(g);a.DebugFlags.InDebugMode&&console.log(" popping "+q.debugName+" - "+q.debugEndRegExp),T.produce(m,j[0].start),m=m.withContentNameScopesList(m.nameScopesList),x(g,b,y,m,T,q.endCaptures,j),T.produce(m,j[0].end);const ie=m;if(m=m.parent,P=ie.getAnchorPos(),!H&&ie.getEnterPos()===S)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),m=ie,T.produce(m,$),void(k=!0)}else{const q=g.getRule(B);T.produce(m,j[0].start);const ie=m,ne=q.getName(b.content,j),re=m.contentNameScopesList.pushAttributed(ne,g);if(m=m.push(B,S,P,j[0].end===$,null,re,re),q instanceof c.BeginEndRule){const he=q;a.DebugFlags.InDebugMode&&console.log(" pushing "+he.debugName+" - "+he.debugBeginRegExp),x(g,b,y,m,T,he.beginCaptures,j),T.produce(m,j[0].end),P=j[0].end;const fe=he.getContentName(b.content,j),_e=re.pushAttributed(fe,g);if(m=m.withContentNameScopesList(_e),he.endHasBackReferences&&(m=m.withEndRule(he.getEndWithResolvedBackReferences(b.content,j))),!H&&ie.hasSameRuleAs(m))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),m=m.pop(),T.produce(m,$),void(k=!0)}else if(q instanceof c.BeginWhileRule){const he=q;a.DebugFlags.InDebugMode&&console.log(" pushing "+he.debugName),x(g,b,y,m,T,he.beginCaptures,j),T.produce(m,j[0].end),P=j[0].end;const fe=he.getContentName(b.content,j),_e=re.pushAttributed(fe,g);if(m=m.withContentNameScopesList(_e),he.whileHasBackReferences&&(m=m.withEndRule(he.getWhileWithResolvedBackReferences(b.content,j))),!H&&ie.hasSameRuleAs(m))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),m=m.pop(),T.produce(m,$),void(k=!0)}else{const he=q;if(a.DebugFlags.InDebugMode&&console.log(" matched "+he.debugName+" - "+he.debugMatchRegExp),x(g,b,y,m,T,he.captures,j),T.produce(m,j[0].end),m=m.pop(),!H)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),m=m.safePop(),T.produce(m,$),void(k=!0)}}j[0].end>S&&(S=j[0].end,y=!1)}}function h(g,b,y,S,m){return a.UseOnigurumaFindOptions?{ruleScanner:g.compile(b,y),findOptions:v(S,m)}:{ruleScanner:g.compileAG(b,y,S,m),findOptions:0}}function p(g,b,y,S,m){return a.UseOnigurumaFindOptions?{ruleScanner:g.compileWhile(b,y),findOptions:v(S,m)}:{ruleScanner:g.compileWhileAG(b,y,S,m),findOptions:0}}function v(g,b){let y=0;return g||(y|=1),b||(y|=4),y}function x(g,b,y,S,m,T,E){if(T.length===0)return;const w=b.content,$=Math.min(T.length,E.length),k=[],P=E[0].end;for(let R=0;R<$;R++){const A=T[R];if(A===null)continue;const I=E[R];if(I.length===0)continue;if(I.start>P)break;for(;k.length>0&&k[k.length-1].endPos<=I.start;)m.produceFromScopes(k[k.length-1].scopes,k[k.length-1].endPos),k.pop();if(k.length>0?m.produceFromScopes(k[k.length-1].scopes,I.start):m.produce(S,I.start),A.retokenizeCapturedWithRuleId){const B=A.getName(w,E),H=S.contentNameScopesList.pushAttributed(B,g),q=A.getContentName(w,E),ie=H.pushAttributed(q,g),ne=S.push(A.retokenizeCapturedWithRuleId,I.start,-1,!1,null,H,ie),re=g.createOnigString(w.substring(0,I.end));u(g,re,y&&I.start===0,I.start,ne,m,!1,0),l.disposeOnigString(re);continue}const j=A.getName(w,E);if(j!==null){const B=(k.length>0?k[k.length-1].scopes:S.contentNameScopesList).pushAttributed(j,g);k.push(new _(B,I.end))}}for(;k.length>0;)m.produceFromScopes(k[k.length-1].scopes,k[k.length-1].endPos),k.pop()}o._tokenizeString=u;class _{constructor(b,y){this.scopes=b,this.endPos=y}}o.LocalStackElement=_},974:(s,o)=>{function i(d,f){throw new Error("Near offset "+d.pos+": "+f+" ~~~"+d.source.substr(d.pos,50)+"~~~")}Object.defineProperty(o,"__esModule",{value:!0}),o.parseJSON=void 0,o.parseJSON=function(d,f,u){let h=new a(d),p=new l,v=0,x=null,_=[],g=[];function b(){_.push(v),g.push(x)}function y(){v=_.pop(),x=g.pop()}function S(m){i(h,m)}for(;c(h,p);){if(v===0){if(x!==null&&S("too many constructs in root"),p.type===3){x={},u&&(x.$vscodeTextmateLocation=p.toLocation(f)),b(),v=1;continue}if(p.type===2){x=[],b(),v=4;continue}S("unexpected token in root")}if(v===2){if(p.type===5){y();continue}if(p.type===7){v=3;continue}S("expected , or }")}if(v===1||v===3){if(v===1&&p.type===5){y();continue}if(p.type===1){let m=p.value;if(c(h,p)&&p.type===6||S("expected colon"),c(h,p)||S("expected value"),v=2,p.type===1){x[m]=p.value;continue}if(p.type===8){x[m]=null;continue}if(p.type===9){x[m]=!0;continue}if(p.type===10){x[m]=!1;continue}if(p.type===11){x[m]=parseFloat(p.value);continue}if(p.type===2){let T=[];x[m]=T,b(),v=4,x=T;continue}if(p.type===3){let T={};u&&(T.$vscodeTextmateLocation=p.toLocation(f)),x[m]=T,b(),v=1,x=T;continue}}S("unexpected token in dict")}if(v===5){if(p.type===4){y();continue}if(p.type===7){v=6;continue}S("expected , or ]")}if(v===4||v===6){if(v===4&&p.type===4){y();continue}if(v=5,p.type===1){x.push(p.value);continue}if(p.type===8){x.push(null);continue}if(p.type===9){x.push(!0);continue}if(p.type===10){x.push(!1);continue}if(p.type===11){x.push(parseFloat(p.value));continue}if(p.type===2){let m=[];x.push(m),b(),v=4,x=m;continue}if(p.type===3){let m={};u&&(m.$vscodeTextmateLocation=p.toLocation(f)),x.push(m),b(),v=1,x=m;continue}S("unexpected token in array")}S("unknown state")}return g.length!==0&&S("unclosed constructs"),x};class a{constructor(f){this.source=f,this.pos=0,this.len=f.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(f){return{filename:f,line:this.line,char:this.char}}}function c(d,f){f.value=null,f.type=0,f.offset=-1,f.len=-1,f.line=-1,f.char=-1;let u,h=d.source,p=d.pos,v=d.len,x=d.line,_=d.char;for(;;){if(p>=v)return!1;if(u=h.charCodeAt(p),u!==32&&u!==9&&u!==13){if(u!==10)break;p++,x++,_=0}else p++,_++}if(f.offset=p,f.line=x,f.char=_,u===34){for(f.type=1,p++,_++;;){if(p>=v)return!1;if(u=h.charCodeAt(p),p++,_++,u!==92){if(u===34)break}else p++,_++}f.value=h.substring(f.offset+1,p-1).replace(/\\u([0-9A-Fa-f]{4})/g,(g,b)=>String.fromCodePoint(parseInt(b,16))).replace(/\\(.)/g,(g,b)=>{switch(b){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
|
|
9
9
|
`;case"r":return"\r";case"t":return" ";default:i(d,"invalid escape sequence")}throw new Error("unreachable")})}else if(u===91)f.type=2,p++,_++;else if(u===123)f.type=3,p++,_++;else if(u===93)f.type=4,p++,_++;else if(u===125)f.type=5,p++,_++;else if(u===58)f.type=6,p++,_++;else if(u===44)f.type=7,p++,_++;else if(u===110){if(f.type=8,p++,_++,u=h.charCodeAt(p),u!==117||(p++,_++,u=h.charCodeAt(p),u!==108)||(p++,_++,u=h.charCodeAt(p),u!==108))return!1;p++,_++}else if(u===116){if(f.type=9,p++,_++,u=h.charCodeAt(p),u!==114||(p++,_++,u=h.charCodeAt(p),u!==117)||(p++,_++,u=h.charCodeAt(p),u!==101))return!1;p++,_++}else if(u===102){if(f.type=10,p++,_++,u=h.charCodeAt(p),u!==97||(p++,_++,u=h.charCodeAt(p),u!==108)||(p++,_++,u=h.charCodeAt(p),u!==115)||(p++,_++,u=h.charCodeAt(p),u!==101))return!1;p++,_++}else for(f.type=11;;){if(p>=v)return!1;if(u=h.charCodeAt(p),!(u===46||u>=48&&u<=57||u===101||u===69||u===45||u===43))break;p++,_++}return f.len=p-f.offset,f.value===null&&(f.value=h.substr(f.offset,f.len)),d.pos=p,d.line=x,d.char=_,!0}},787:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(p,v,x,_){_===void 0&&(_=x),Object.defineProperty(p,_,{enumerable:!0,get:function(){return v[x]}})}:function(p,v,x,_){_===void 0&&(_=x),p[_]=v[x]}),l=this&&this.__exportStar||function(p,v){for(var x in p)x==="default"||Object.prototype.hasOwnProperty.call(v,x)||a(v,p,x)};Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=o.INITIAL=o.Registry=void 0;const c=i(391),d=i(50),f=i(652),u=i(583),h=i(965);l(i(44),o),o.Registry=class{constructor(p){this._options=p,this._syncRegistry=new f.SyncRegistry(u.Theme.createFromRawTheme(p.theme,p.colorMap),p.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(p,v){this._syncRegistry.setTheme(u.Theme.createFromRawTheme(p,v))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(p,v,x){return this.loadGrammarWithConfiguration(p,v,{embeddedLanguages:x})}loadGrammarWithConfiguration(p,v,x){return this._loadGrammar(p,v,x.embeddedLanguages,x.tokenTypes,new c.BalancedBracketSelectors(x.balancedBracketSelectors||[],x.unbalancedBracketSelectors||[]))}loadGrammar(p){return this._loadGrammar(p,0,null,null,null)}async _loadGrammar(p,v,x,_,g){const b=new h.ScopeDependencyProcessor(this._syncRegistry,p);for(;b.Q.length>0;)await Promise.all(b.Q.map(y=>this._loadSingleGrammar(y.scopeName))),b.processQueue();return this._grammarForScopeName(p,v,x,_,g)}async _loadSingleGrammar(p){return this._ensureGrammarCache.has(p)||this._ensureGrammarCache.set(p,this._doLoadSingleGrammar(p)),this._ensureGrammarCache.get(p)}async _doLoadSingleGrammar(p){const v=await this._options.loadGrammar(p);if(v){const x=typeof this._options.getInjections=="function"?this._options.getInjections(p):void 0;this._syncRegistry.addGrammar(v,x)}}async addGrammar(p,v=[],x=0,_=null){return this._syncRegistry.addGrammar(p,v),await this._grammarForScopeName(p.scopeName,x,_)}_grammarForScopeName(p,v=0,x=null,_=null,g=null){return this._syncRegistry.grammarForScopeName(p,v,x,_,g)}},o.INITIAL=c.StateStack.NULL,o.parseRawGrammar=d.parseRawGrammar},736:(s,o)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(o,"__esModule",{value:!0}),o.createMatchers=void 0,o.createMatchers=function(a,l){const c=[],d=function(p){let v=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,x=v.exec(p);return{next:()=>{if(!x)return null;const _=x[0];return x=v.exec(p),_}}}(a);let f=d.next();for(;f!==null;){let p=0;if(f.length===2&&f.charAt(1)===":"){switch(f.charAt(0)){case"R":p=1;break;case"L":p=-1;break;default:console.log(`Unknown priority ${f} in scope selector`)}f=d.next()}let v=h();if(c.push({matcher:v,priority:p}),f!==",")break;f=d.next()}return c;function u(){if(f==="-"){f=d.next();const p=u();return v=>!!p&&!p(v)}if(f==="("){f=d.next();const p=function(){const v=[];let x=h();for(;x&&(v.push(x),f==="|"||f===",");){do f=d.next();while(f==="|"||f===",");x=h()}return _=>v.some(g=>g(_))}();return f===")"&&(f=d.next()),p}if(i(f)){const p=[];do p.push(f),f=d.next();while(i(f));return v=>l(p,v)}return null}function h(){const p=[];let v=u();for(;v;)p.push(v),v=u();return x=>p.every(_=>_(x))}}},44:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.disposeOnigString=void 0,o.disposeOnigString=function(i){typeof i.dispose=="function"&&i.dispose()}},50:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=void 0;const a=i(69),l=i(350),c=i(974);o.parseRawGrammar=function(d,f=null){return f!==null&&/\.json$/.test(f)?(u=d,h=f,l.DebugFlags.InDebugMode?c.parseJSON(u,h,!0):JSON.parse(u)):function(p,v){return l.DebugFlags.InDebugMode?a.parseWithLocation(p,v,"$vscodeTextmateLocation"):a.parsePLIST(p)}(d,f);var u,h}},69:(s,o)=>{function i(a,l,c){const d=a.length;let f=0,u=1,h=0;function p(C){if(c===null)f+=C;else for(;C>0;)a.charCodeAt(f)===10?(f++,u++,h=0):(f++,h++),C--}function v(C){c===null?f=C:p(C-f)}function x(){for(;f<d;){let C=a.charCodeAt(f);if(C!==32&&C!==9&&C!==13&&C!==10)break;p(1)}}function _(C){return a.substr(f,C.length)===C&&(p(C.length),!0)}function g(C){let J=a.indexOf(C,f);v(J!==-1?J+C.length:d)}function b(C){let J=a.indexOf(C,f);if(J!==-1){let V=a.substring(f,J);return v(J+C.length),V}{let V=a.substr(f);return v(d),V}}d>0&&a.charCodeAt(0)===65279&&(f=1);let y=0,S=null,m=[],T=[],E=null;function w(C,J){m.push(y),T.push(S),y=C,S=J}function $(){if(m.length===0)return k("illegal state stack");y=m.pop(),S=T.pop()}function k(C){throw new Error("Near offset "+f+": "+C+" ~~~"+a.substr(f,50)+"~~~")}const P=function(){if(E===null)return k("missing <key>");let C={};c!==null&&(C[c]={filename:l,line:u,char:h}),S[E]=C,E=null,w(1,C)},R=function(){if(E===null)return k("missing <key>");let C=[];S[E]=C,E=null,w(2,C)},A=function(){let C={};c!==null&&(C[c]={filename:l,line:u,char:h}),S.push(C),w(1,C)},I=function(){let C=[];S.push(C),w(2,C)};function j(){if(y!==1)return k("unexpected </dict>");$()}function B(){return y===1||y!==2?k("unexpected </array>"):void $()}function H(C){if(y===1){if(E===null)return k("missing <key>");S[E]=C,E=null}else y===2?S.push(C):S=C}function q(C){if(isNaN(C))return k("cannot parse float");if(y===1){if(E===null)return k("missing <key>");S[E]=C,E=null}else y===2?S.push(C):S=C}function ie(C){if(isNaN(C))return k("cannot parse integer");if(y===1){if(E===null)return k("missing <key>");S[E]=C,E=null}else y===2?S.push(C):S=C}function ne(C){if(y===1){if(E===null)return k("missing <key>");S[E]=C,E=null}else y===2?S.push(C):S=C}function re(C){if(y===1){if(E===null)return k("missing <key>");S[E]=C,E=null}else y===2?S.push(C):S=C}function he(C){if(y===1){if(E===null)return k("missing <key>");S[E]=C,E=null}else y===2?S.push(C):S=C}function fe(){let C=b(">"),J=!1;return C.charCodeAt(C.length-1)===47&&(J=!0,C=C.substring(0,C.length-1)),{name:C.trim(),isClosed:J}}function _e(C){if(C.isClosed)return"";let J=b("</");return g(">"),J.replace(/&#([0-9]+);/g,function(V,oe){return String.fromCodePoint(parseInt(oe,10))}).replace(/&#x([0-9a-f]+);/g,function(V,oe){return String.fromCodePoint(parseInt(oe,16))}).replace(/&|<|>|"|'/g,function(V){switch(V){case"&":return"&";case"<":return"<";case">":return">";case""":return'"';case"'":return"'"}return V})}for(;f<d&&(x(),!(f>=d));){const C=a.charCodeAt(f);if(p(1),C!==60)return k("expected <");if(f>=d)return k("unexpected end of input");const J=a.charCodeAt(f);if(J===63){p(1),g("?>");continue}if(J===33){if(p(1),_("--")){g("-->");continue}g(">");continue}if(J===47){if(p(1),x(),_("plist")){g(">");continue}if(_("dict")){g(">"),j();continue}if(_("array")){g(">"),B();continue}return k("unexpected closed tag")}let V=fe();switch(V.name){case"dict":y===1?P():y===2?A():(S={},c!==null&&(S[c]={filename:l,line:u,char:h}),w(1,S)),V.isClosed&&j();continue;case"array":y===1?R():y===2?I():(S=[],w(2,S)),V.isClosed&&B();continue;case"key":we=_e(V),y!==1?k("unexpected <key>"):E!==null?k("too many <key>"):E=we;continue;case"string":H(_e(V));continue;case"real":q(parseFloat(_e(V)));continue;case"integer":ie(parseInt(_e(V),10));continue;case"date":ne(new Date(_e(V)));continue;case"data":re(_e(V));continue;case"true":_e(V),he(!0);continue;case"false":_e(V),he(!1);continue}if(!/^plist/.test(V.name))return k("unexpected opened tag "+V.name)}var we;return S}Object.defineProperty(o,"__esModule",{value:!0}),o.parsePLIST=o.parseWithLocation=void 0,o.parseWithLocation=function(a,l,c){return i(a,l,c)},o.parsePLIST=function(a){return i(a,null,null)}},652:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.SyncRegistry=void 0;const a=i(391);o.SyncRegistry=class{constructor(l,c){this._onigLibPromise=c,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=l}dispose(){for(const l of this._grammars.values())l.dispose()}setTheme(l){this._theme=l}getColorMap(){return this._theme.getColorMap()}addGrammar(l,c){this._rawGrammars.set(l.scopeName,l),c&&this._injectionGrammars.set(l.scopeName,c)}lookup(l){return this._rawGrammars.get(l)}injections(l){return this._injectionGrammars.get(l)}getDefaults(){return this._theme.getDefaults()}themeMatch(l){return this._theme.match(l)}async grammarForScopeName(l,c,d,f,u){if(!this._grammars.has(l)){let h=this._rawGrammars.get(l);if(!h)return null;this._grammars.set(l,a.createGrammar(l,h,c,d,f,u,this,await this._onigLibPromise))}return this._grammars.get(l)}}},792:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.CompiledRule=o.RegExpSourceList=o.RegExpSource=o.RuleFactory=o.BeginWhileRule=o.BeginEndRule=o.IncludeOnlyRule=o.MatchRule=o.CaptureRule=o.Rule=o.ruleIdToNumber=o.ruleIdFromNumber=o.whileRuleId=o.endRuleId=void 0;const a=i(878),l=i(965),c=/\\(\d+)/,d=/\\(\d+)/g;o.endRuleId=-1,o.whileRuleId=-2,o.ruleIdFromNumber=function(S){return S},o.ruleIdToNumber=function(S){return S};class f{constructor(m,T,E,w){this.$location=m,this.id=T,this._name=E||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=w||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const m=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${m}`}getName(m,T){return this._nameIsCapturing&&this._name!==null&&m!==null&&T!==null?a.RegexSource.replaceCaptures(this._name,m,T):this._name}getContentName(m,T){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,m,T):this._contentName}}o.Rule=f;class u extends f{constructor(m,T,E,w,$){super(m,T,E,w),this.retokenizeCapturedWithRuleId=$}dispose(){}collectPatterns(m,T){throw new Error("Not supported!")}compile(m,T){throw new Error("Not supported!")}compileAG(m,T,E,w){throw new Error("Not supported!")}}o.CaptureRule=u;class h extends f{constructor(m,T,E,w,$){super(m,T,E,null),this._match=new g(w,this.id),this.captures=$,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(m,T){T.push(this._match)}compile(m,T){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,T,E,w){return this._getCachedCompiledPatterns(m).compileAG(m,E,w)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new b,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.MatchRule=h;class p extends f{constructor(m,T,E,w,$){super(m,T,E,w),this.patterns=$.patterns,this.hasMissingPatterns=$.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(m,T){for(const E of this.patterns)m.getRule(E).collectPatterns(m,T)}compile(m,T){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,T,E,w){return this._getCachedCompiledPatterns(m).compileAG(m,E,w)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new b,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.IncludeOnlyRule=p;class v extends f{constructor(m,T,E,w,$,k,P,R,A,I){super(m,T,E,w),this._begin=new g($,this.id),this.beginCaptures=k,this._end=new g(P||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=R,this.applyEndPatternLast=A||!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(m,T){return this._end.resolveBackReferences(m,T)}collectPatterns(m,T){T.push(this._begin)}compile(m,T){return this._getCachedCompiledPatterns(m,T).compile(m)}compileAG(m,T,E,w){return this._getCachedCompiledPatterns(m,T).compileAG(m,E,w)}_getCachedCompiledPatterns(m,T){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new b;for(const E of this.patterns)m.getRule(E).collectPatterns(m,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,T):this._cachedCompiledPatterns.setSource(0,T)),this._cachedCompiledPatterns}}o.BeginEndRule=v;class x extends f{constructor(m,T,E,w,$,k,P,R,A){super(m,T,E,w),this._begin=new g($,this.id),this.beginCaptures=k,this.whileCaptures=R,this._while=new g(P,o.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=A.patterns,this.hasMissingPatterns=A.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(m,T){return this._while.resolveBackReferences(m,T)}collectPatterns(m,T){T.push(this._begin)}compile(m,T){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,T,E,w){return this._getCachedCompiledPatterns(m).compileAG(m,E,w)}_getCachedCompiledPatterns(m){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new b;for(const T of this.patterns)m.getRule(T).collectPatterns(m,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(m,T){return this._getCachedCompiledWhilePatterns(m,T).compile(m)}compileWhileAG(m,T,E,w){return this._getCachedCompiledWhilePatterns(m,T).compileAG(m,E,w)}_getCachedCompiledWhilePatterns(m,T){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new b,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,T||""),this._cachedCompiledWhilePatterns}}o.BeginWhileRule=x;class _{static createCaptureRule(m,T,E,w,$){return m.registerRule(k=>new u(T,k,E,w,$))}static getCompiledRuleId(m,T,E){return m.id||T.registerRule(w=>{if(m.id=w,m.match)return new h(m.$vscodeTextmateLocation,m.id,m.name,m.match,_._compileCaptures(m.captures,T,E));if(m.begin===void 0){m.repository&&(E=a.mergeObjects({},E,m.repository));let $=m.patterns;return $===void 0&&m.include&&($=[{include:m.include}]),new p(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,_._compilePatterns($,T,E))}return m.while?new x(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,_._compileCaptures(m.beginCaptures||m.captures,T,E),m.while,_._compileCaptures(m.whileCaptures||m.captures,T,E),_._compilePatterns(m.patterns,T,E)):new v(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,_._compileCaptures(m.beginCaptures||m.captures,T,E),m.end,_._compileCaptures(m.endCaptures||m.captures,T,E),m.applyEndPatternLast,_._compilePatterns(m.patterns,T,E))}),m.id}static _compileCaptures(m,T,E){let w=[];if(m){let $=0;for(const k in m){if(k==="$vscodeTextmateLocation")continue;const P=parseInt(k,10);P>$&&($=P)}for(let k=0;k<=$;k++)w[k]=null;for(const k in m){if(k==="$vscodeTextmateLocation")continue;const P=parseInt(k,10);let R=0;m[k].patterns&&(R=_.getCompiledRuleId(m[k],T,E)),w[P]=_.createCaptureRule(T,m[k].$vscodeTextmateLocation,m[k].name,m[k].contentName,R)}}return w}static _compilePatterns(m,T,E){let w=[];if(m)for(let $=0,k=m.length;$<k;$++){const P=m[$];let R=-1;if(P.include){const A=l.parseInclude(P.include);switch(A.kind){case 0:case 1:R=_.getCompiledRuleId(E[P.include],T,E);break;case 2:let I=E[A.ruleName];I&&(R=_.getCompiledRuleId(I,T,E));break;case 3:case 4:const j=A.scopeName,B=A.kind===4?A.ruleName:null,H=T.getExternalGrammar(j,E);if(H)if(B){let q=H.repository[B];q&&(R=_.getCompiledRuleId(q,T,H.repository))}else R=_.getCompiledRuleId(H.repository.$self,T,H.repository)}}else R=_.getCompiledRuleId(P,T,E);if(R!==-1){const A=T.getRule(R);let I=!1;if((A instanceof p||A instanceof v||A instanceof x)&&A.hasMissingPatterns&&A.patterns.length===0&&(I=!0),I)continue;w.push(R)}}return{patterns:w,hasMissingPatterns:(m?m.length:0)!==w.length}}}o.RuleFactory=_;class g{constructor(m,T){if(m){const E=m.length;let w=0,$=[],k=!1;for(let P=0;P<E;P++)if(m.charAt(P)==="\\"&&P+1<E){const R=m.charAt(P+1);R==="z"?($.push(m.substring(w,P)),$.push("$(?!\\n)(?<!\\n)"),w=P+2):R!=="A"&&R!=="G"||(k=!0),P++}this.hasAnchor=k,w===0?this.source=m:($.push(m.substring(w,E)),this.source=$.join(""))}else this.hasAnchor=!1,this.source=m;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=T,this.hasBackReferences=c.test(this.source)}clone(){return new g(this.source,this.ruleId)}setSource(m){this.source!==m&&(this.source=m,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(m,T){let E=T.map(w=>m.substring(w.start,w.end));return d.lastIndex=0,this.source.replace(d,(w,$)=>a.escapeRegExpCharacters(E[parseInt($,10)]||""))}_buildAnchorCache(){let m,T,E,w,$=[],k=[],P=[],R=[];for(m=0,T=this.source.length;m<T;m++)E=this.source.charAt(m),$[m]=E,k[m]=E,P[m]=E,R[m]=E,E==="\\"&&m+1<T&&(w=this.source.charAt(m+1),w==="A"?($[m+1]="",k[m+1]="",P[m+1]="A",R[m+1]="A"):w==="G"?($[m+1]="",k[m+1]="G",P[m+1]="",R[m+1]="G"):($[m+1]=w,k[m+1]=w,P[m+1]=w,R[m+1]=w),m++);return{A0_G0:$.join(""),A0_G1:k.join(""),A1_G0:P.join(""),A1_G1:R.join("")}}resolveAnchors(m,T){return this.hasAnchor&&this._anchorCache?m?T?this._anchorCache.A1_G1:this._anchorCache.A1_G0:T?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}o.RegExpSource=g;class b{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(m){this._items.push(m),this._hasAnchors=this._hasAnchors||m.hasAnchor}unshift(m){this._items.unshift(m),this._hasAnchors=this._hasAnchors||m.hasAnchor}length(){return this._items.length}setSource(m,T){this._items[m].source!==T&&(this._disposeCaches(),this._items[m].setSource(T))}compile(m){if(!this._cached){let T=this._items.map(E=>E.source);this._cached=new y(m,T,this._items.map(E=>E.ruleId))}return this._cached}compileAG(m,T,E){return this._hasAnchors?T?E?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(m,T,E)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(m,T,E)),this._anchorCache.A1_G0):E?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(m,T,E)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(m,T,E)),this._anchorCache.A0_G0):this.compile(m)}_resolveAnchors(m,T,E){let w=this._items.map($=>$.resolveAnchors(T,E));return new y(m,w,this._items.map($=>$.ruleId))}}o.RegExpSourceList=b;class y{constructor(m,T,E){this.regExps=T,this.rules=E,this.scanner=m.createOnigScanner(T)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const m=[];for(let T=0,E=this.rules.length;T<E;T++)m.push(" - "+this.rules[T]+": "+this.regExps[T]);return m.join(`
|
|
10
10
|
`)}findNextMatchSync(m,T,E){const w=this.scanner.findNextMatchSync(m,T,E);return w?{ruleId:this.rules[w.index],captureIndices:w.captureIndices}:null}}o.CompiledRule=y},583:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.ThemeTrieElement=o.ThemeTrieElementRule=o.ColorMap=o.fontStyleToString=o.ParsedThemeRule=o.parseTheme=o.StyleAttributes=o.ScopeStack=o.Theme=void 0;const a=i(878);class l{constructor(g,b,y){this._colorMap=g,this._defaults=b,this._root=y,this._cachedMatchRoot=new a.CachedFn(S=>this._root.match(S))}static createFromRawTheme(g,b){return this.createFromParsedTheme(u(g),b)}static createFromParsedTheme(g,b){return function(y,S){y.sort((P,R)=>{let A=a.strcmp(P.scope,R.scope);return A!==0?A:(A=a.strArrCmp(P.parentScopes,R.parentScopes),A!==0?A:P.index-R.index)});let m=0,T="#000000",E="#ffffff";for(;y.length>=1&&y[0].scope==="";){let P=y.shift();P.fontStyle!==-1&&(m=P.fontStyle),P.foreground!==null&&(T=P.foreground),P.background!==null&&(E=P.background)}let w=new p(S),$=new f(m,w.getId(T),w.getId(E)),k=new x(new v(0,null,-1,0,0),[]);for(let P=0,R=y.length;P<R;P++){let A=y[P];k.insert(0,A.scope,A.parentScopes,A.fontStyle,w.getId(A.foreground),w.getId(A.background))}return new l(w,$,k)}(g,b)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(g){if(g===null)return this._defaults;const b=g.scopeName,y=this._cachedMatchRoot.get(b).find(S=>function(m,T){if(T===null)return!0;let E=0,w=T[E];for(;m;){if(d(m.scopeName,w)){if(E++,E===T.length)return!0;w=T[E]}m=m.parent}return!1}(g.parent,S.parentScopes));return y?new f(y.fontStyle,y.foreground,y.background):null}}o.Theme=l;class c{constructor(g,b){this.parent=g,this.scopeName=b}static from(...g){let b=null;for(let y=0;y<g.length;y++)b=new c(b,g[y]);return b}push(g){return new c(this,g)}getSegments(){let g=this;const b=[];for(;g;)b.push(g.scopeName),g=g.parent;return b.reverse(),b}toString(){return this.getSegments().join(" ")}}function d(_,g){return g===_||_.startsWith(g)&&_[g.length]==="."}o.ScopeStack=c;class f{constructor(g,b,y){this.fontStyle=g,this.foregroundId=b,this.backgroundId=y}}function u(_){if(!_)return[];if(!_.settings||!Array.isArray(_.settings))return[];let g=_.settings,b=[],y=0;for(let S=0,m=g.length;S<m;S++){let T,E=g[S];if(!E.settings)continue;if(typeof E.scope=="string"){let P=E.scope;P=P.replace(/^[,]+/,""),P=P.replace(/[,]+$/,""),T=P.split(",")}else T=Array.isArray(E.scope)?E.scope:[""];let w=-1;if(typeof E.settings.fontStyle=="string"){w=0;let P=E.settings.fontStyle.split(" ");for(let R=0,A=P.length;R<A;R++)switch(P[R]){case"italic":w|=1;break;case"bold":w|=2;break;case"underline":w|=4;break;case"strikethrough":w|=8}}let $=null;typeof E.settings.foreground=="string"&&a.isValidHexColor(E.settings.foreground)&&($=E.settings.foreground);let k=null;typeof E.settings.background=="string"&&a.isValidHexColor(E.settings.background)&&(k=E.settings.background);for(let P=0,R=T.length;P<R;P++){let A=T[P].trim().split(" "),I=A[A.length-1],j=null;A.length>1&&(j=A.slice(0,A.length-1),j.reverse()),b[y++]=new h(I,j,S,w,$,k)}}return b}o.StyleAttributes=f,o.parseTheme=u;class h{constructor(g,b,y,S,m,T){this.scope=g,this.parentScopes=b,this.index=y,this.fontStyle=S,this.foreground=m,this.background=T}}o.ParsedThemeRule=h,o.fontStyleToString=function(_){if(_===-1)return"not set";let g="";return 1&_&&(g+="italic "),2&_&&(g+="bold "),4&_&&(g+="underline "),8&_&&(g+="strikethrough "),g===""&&(g="none"),g.trim()};class p{constructor(g){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(g)){this._isFrozen=!0;for(let b=0,y=g.length;b<y;b++)this._color2id[g[b]]=b,this._id2color[b]=g[b]}else this._isFrozen=!1}getId(g){if(g===null)return 0;g=g.toUpperCase();let b=this._color2id[g];if(b)return b;if(this._isFrozen)throw new Error(`Missing color in color map - ${g}`);return b=++this._lastColorId,this._color2id[g]=b,this._id2color[b]=g,b}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=p;class v{constructor(g,b,y,S,m){this.scopeDepth=g,this.parentScopes=b,this.fontStyle=y,this.foreground=S,this.background=m}clone(){return new v(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(g){let b=[];for(let y=0,S=g.length;y<S;y++)b[y]=g[y].clone();return b}acceptOverwrite(g,b,y,S){this.scopeDepth>g?console.log("how did this happen?"):this.scopeDepth=g,b!==-1&&(this.fontStyle=b),y!==0&&(this.foreground=y),S!==0&&(this.background=S)}}o.ThemeTrieElementRule=v;class x{constructor(g,b=[],y={}){this._mainRule=g,this._children=y,this._rulesWithParentScopes=b}static _sortBySpecificity(g){return g.length===1||g.sort(this._cmpBySpecificity),g}static _cmpBySpecificity(g,b){if(g.scopeDepth===b.scopeDepth){const y=g.parentScopes,S=b.parentScopes;let m=y===null?0:y.length,T=S===null?0:S.length;if(m===T)for(let E=0;E<m;E++){const w=y[E].length,$=S[E].length;if(w!==$)return $-w}return T-m}return b.scopeDepth-g.scopeDepth}match(g){if(g==="")return x._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let b,y,S=g.indexOf(".");return S===-1?(b=g,y=""):(b=g.substring(0,S),y=g.substring(S+1)),this._children.hasOwnProperty(b)?this._children[b].match(y):x._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(g,b,y,S,m,T){if(b==="")return void this._doInsertHere(g,y,S,m,T);let E,w,$,k=b.indexOf(".");k===-1?(E=b,w=""):(E=b.substring(0,k),w=b.substring(k+1)),this._children.hasOwnProperty(E)?$=this._children[E]:($=new x(this._mainRule.clone(),v.cloneArr(this._rulesWithParentScopes)),this._children[E]=$),$.insert(g+1,w,y,S,m,T)}_doInsertHere(g,b,y,S,m){if(b!==null){for(let T=0,E=this._rulesWithParentScopes.length;T<E;T++){let w=this._rulesWithParentScopes[T];if(a.strArrCmp(w.parentScopes,b)===0)return void w.acceptOverwrite(g,y,S,m)}y===-1&&(y=this._mainRule.fontStyle),S===0&&(S=this._mainRule.foreground),m===0&&(m=this._mainRule.background),this._rulesWithParentScopes.push(new v(g,b,y,S,m))}else this._mainRule.acceptOverwrite(g,y,S,m)}}o.ThemeTrieElement=x},878:(s,o)=>{function i(c){return Array.isArray(c)?function(d){let f=[];for(let u=0,h=d.length;u<h;u++)f[u]=i(d[u]);return f}(c):typeof c=="object"?function(d){let f={};for(let u in d)f[u]=i(d[u]);return f}(c):c}Object.defineProperty(o,"__esModule",{value:!0}),o.performanceNow=o.CachedFn=o.escapeRegExpCharacters=o.isValidHexColor=o.strArrCmp=o.strcmp=o.RegexSource=o.basename=o.mergeObjects=o.clone=void 0,o.clone=function(c){return i(c)},o.mergeObjects=function(c,...d){return d.forEach(f=>{for(let u in f)c[u]=f[u]}),c},o.basename=function c(d){const f=~d.lastIndexOf("/")||~d.lastIndexOf("\\");return f===0?d:~f==d.length-1?c(d.substring(0,d.length-1)):d.substr(1+~f)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function l(c,d){return c<d?-1:c>d?1:0}o.RegexSource=class{static hasCaptures(c){return c!==null&&(a.lastIndex=0,a.test(c))}static replaceCaptures(c,d,f){return c.replace(a,(u,h,p,v)=>{let x=f[parseInt(h||p,10)];if(!x)return u;{let _=d.substring(x.start,x.end);for(;_[0]===".";)_=_.substring(1);switch(v){case"downcase":return _.toLowerCase();case"upcase":return _.toUpperCase();default:return _}}})}},o.strcmp=l,o.strArrCmp=function(c,d){if(c===null&&d===null)return 0;if(!c)return-1;if(!d)return 1;let f=c.length,u=d.length;if(f===u){for(let h=0;h<f;h++){let p=l(c[h],d[h]);if(p!==0)return p}return 0}return f-u},o.isValidHexColor=function(c){return!!(/^#[0-9a-f]{6}$/i.test(c)||/^#[0-9a-f]{8}$/i.test(c)||/^#[0-9a-f]{3}$/i.test(c)||/^#[0-9a-f]{4}$/i.test(c))},o.escapeRegExpCharacters=function(c){return c.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},o.CachedFn=class{constructor(c){this.fn=c,this.cache=new Map}get(c){if(this.cache.has(c))return this.cache.get(c);const d=this.fn(c);return this.cache.set(c,d),d}},o.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},r={};return function s(o){var i=r[o];if(i!==void 0)return i.exports;var a=r[o]={exports:{}};return n[o].call(a.exports,a,a.exports,s),a.exports}(787)})()})})(AS);const Ti=[{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 To=(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))(To||{});class st{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=st.getLanguageId(t),r=st.getTokenType(t),s=st.getFontStyle(t),o=st.getForeground(t),i=st.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=st.getLanguageId(t),l=st.getTokenType(t),c=st.getFontStyle(t),d=st.getForeground(t),f=st.getBackground(t),u=st.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),s!==-1&&(c=s),o!==0&&(d=o),i!==0&&(f=i),(a<<0|l<<8|c<<11|u<<10|d<<15|f<<24)>>>0}}function RS(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function OS(e){return e.startsWith("./")?e.slice(2):e}function Vp(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function Gp(...e){return e.map(RS).map(OS).join("/")}function NS(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 CS(e,t=!1){const n=e.length;let r=0,s="",o=0,i=16,a=0,l=0,c=0,d=0,f=0;function u(b,y){let S=0,m=0;for(;S<b||!y;){let T=e.charCodeAt(r);if(T>=48&&T<=57)m=m*16+T-48;else if(T>=65&&T<=70)m=m*16+T-65+10;else if(T>=97&&T<=102)m=m*16+T-97+10;else break;r++,S++}return S<b&&(m=-1),m}function h(b){r=b,s="",o=0,i=16,f=0}function p(){let b=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&tr(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&tr(e.charCodeAt(r)))for(r++;r<e.length&&tr(e.charCodeAt(r));)r++;else return f=3,e.substring(b,r);let y=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&tr(e.charCodeAt(r))){for(r++;r<e.length&&tr(e.charCodeAt(r));)r++;y=r}else f=3;return e.substring(b,y)}function v(){let b="",y=r;for(;;){if(r>=n){b+=e.substring(y,r),f=2;break}const S=e.charCodeAt(r);if(S===34){b+=e.substring(y,r),r++;break}if(S===92){if(b+=e.substring(y,r),r++,r>=n){f=2;break}switch(e.charCodeAt(r++)){case 34:b+='"';break;case 92:b+="\\";break;case 47:b+="/";break;case 98:b+="\b";break;case 102:b+="\f";break;case 110:b+=`
|
|
11
11
|
`;break;case 114:b+="\r";break;case 116:b+=" ";break;case 117:const T=u(4,!0);T>=0?b+=String.fromCharCode(T):f=4;break;default:f=5}y=r;continue}if(S>=0&&S<=31)if(Qr(S)){b+=e.substring(y,r),f=2;break}else f=6;r++}return b}function x(){if(s="",f=0,o=r,l=a,d=c,r>=n)return o=n,i=17;let b=e.charCodeAt(r);if(ia(b)){do r++,s+=String.fromCharCode(b),b=e.charCodeAt(r);while(ia(b));return i=15}if(Qr(b))return r++,s+=String.fromCharCode(b),b===13&&e.charCodeAt(r)===10&&(r++,s+=`
|
|
12
12
|
`),a++,c=r,i=14;switch(b){case 123:return r++,i=1;case 125:return r++,i=2;case 91:return r++,i=3;case 93:return r++,i=4;case 58:return r++,i=6;case 44:return r++,i=5;case 34:return r++,s=v(),i=10;case 47:const y=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!Qr(e.charCodeAt(r));)r++;return s=e.substring(y,r),i=12}if(e.charCodeAt(r+1)===42){r+=2;const S=n-1;let m=!1;for(;r<S;){const T=e.charCodeAt(r);if(T===42&&e.charCodeAt(r+1)===47){r+=2,m=!0;break}r++,Qr(T)&&(T===13&&e.charCodeAt(r)===10&&r++,a++,c=r)}return m||(r++,f=1),s=e.substring(y,r),i=13}return s+=String.fromCharCode(b),r++,i=16;case 45:if(s+=String.fromCharCode(b),r++,r===n||!tr(e.charCodeAt(r)))return i=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s+=p(),i=11;default:for(;r<n&&_(b);)r++,b=e.charCodeAt(r);if(o!==r){switch(s=e.substring(o,r),s){case"true":return i=8;case"false":return i=9;case"null":return i=7}return i=16}return s+=String.fromCharCode(b),r++,i=16}}function _(b){if(ia(b)||Qr(b))return!1;switch(b){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function g(){let b;do b=x();while(b>=12&&b<=15);return b}return{setPosition:h,getPosition:()=>r,scan:t?g:x,getToken:()=>i,getTokenValue:()=>s,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>l,getTokenStartCharacter:()=>o-d,getTokenError:()=>f}}function ia(e){return e===32||e===9}function Qr(e){return e===10||e===13}function tr(e){return e>=48&&e<=57}var Tf;(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"})(Tf||(Tf={}));var Go;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Go||(Go={}));function LS(e,t=[],n=Go.DEFAULT){let r=null,s=[];const o=[];function i(l){Array.isArray(s)?s.push(l):r!==null&&(s[r]=l)}return IS(e,{onObjectBegin:()=>{const l={};i(l),o.push(s),s=l,r=null},onObjectProperty:l=>{r=l},onObjectEnd:()=>{s=o.pop()},onArrayBegin:()=>{const l=[];i(l),o.push(s),s=l,r=null},onArrayEnd:()=>{s=o.pop()},onLiteralValue:i,onError:(l,c,d)=>{t.push({error:l,offset:c,length:d})}},n),s[0]}function IS(e,t,n=Go.DEFAULT){const r=CS(e,!1),s=[];function o(P){return P?()=>P(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function i(P){return P?()=>P(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>s.slice()):()=>!0}function a(P){return P?R=>P(R,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function l(P){return P?R=>P(R,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>s.slice()):()=>!0}const c=i(t.onObjectBegin),d=l(t.onObjectProperty),f=o(t.onObjectEnd),u=i(t.onArrayBegin),h=o(t.onArrayEnd),p=l(t.onLiteralValue),v=a(t.onSeparator),x=o(t.onComment),_=a(t.onError),g=n&&n.disallowComments,b=n&&n.allowTrailingComma;function y(){for(;;){const P=r.scan();switch(r.getTokenError()){case 4:S(14);break;case 5:S(15);break;case 3:S(13);break;case 1:g||S(11);break;case 2:S(12);break;case 6:S(16);break}switch(P){case 12:case 13:g?S(10):x();break;case 16:S(1);break;case 15:case 14:break;default:return P}}}function S(P,R=[],A=[]){if(_(P),R.length+A.length>0){let I=r.getToken();for(;I!==17;){if(R.indexOf(I)!==-1){y();break}else if(A.indexOf(I)!==-1)break;I=y()}}}function m(P){const R=r.getTokenValue();return P?p(R):(d(R),s.push(R)),y(),!0}function T(){switch(r.getToken()){case 11:const P=r.getTokenValue();let R=Number(P);isNaN(R)&&(S(2),R=0),p(R);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return y(),!0}function E(){return r.getToken()!==10?(S(3,[],[2,5]),!1):(m(!1),r.getToken()===6?(v(":"),y(),k()||S(4,[],[2,5])):S(5,[],[2,5]),s.pop(),!0)}function w(){c(),y();let P=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(P||S(4,[],[]),v(","),y(),r.getToken()===2&&b)break}else P&&S(6,[],[]);E()||S(4,[],[2,5]),P=!0}return f(),r.getToken()!==2?S(7,[2],[]):y(),!0}function $(){u(),y();let P=!0,R=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(R||S(4,[],[]),v(","),y(),r.getToken()===4&&b)break}else R&&S(6,[],[]);P?(s.push(0),P=!1):s[s.length-1]++,k()||S(4,[],[4,5]),R=!0}return h(),P||s.pop(),r.getToken()!==4?S(8,[4],[]):y(),!0}function k(){switch(r.getToken()){case 3:return $();case 1:return w();case 10:return m(!0);default:return T()}}return y(),r.getToken()===17?n.allowEmptyContent?!0:(S(4,[],[]),!1):k()?(r.getToken()!==17&&S(9,[],[]),!0):(S(4,[],[]),!1)}var Sf;(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"})(Sf||(Sf={}));var $f;(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"})($f||($f={}));const jS=LS;var kf;(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"})(kf||(kf={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let zp="";const MS="dist/";function DS(e){zp=e.endsWith("/")?e:e+"/"}let aa=null;async function FS(e){if(!aa){let t;t=Ss.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(qp(Gp(...Vp(e),"onig.wasm")))}),aa=t.then(()=>({createOnigScanner(n){return Ss.createOnigScanner(n)},createOnigString(n){return Ss.createOnigString(n)}}))}return aa}function qp(e){return`${zp}${e}`}async function BS(e){const t=qp(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function Kp(e){const t=[],n=jS(await BS(e),t,{allowTrailingComma:!0});if(t.length)throw t[0];return n}async function Xp(e){let t=await Kp(e);const n=Yp(t);if(n.include){const r=await Xp(Gp(...Vp(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 HS(e){return await Kp(e)}function US(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 Yp(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...WS(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),US(n),n}const Pf={light:"#333333",dark:"#bbbbbb"},Af={light:"#fffffe",dark:"#1e1e1e"};function WS(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"?Pf.light:Pf.dark),n||(n=e.type==="light"?Af.light:Af.dark),{fg:t,bg:n}}class VS{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 HS(Ti.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 GS(e,t,n,r,s){let o=n.split(/\r\n|\r|\n/),i=Vo.INITIAL,a=[],l=[];for(let c=0,d=o.length;c<d;c++){let f=o[c];if(f===""){a=[],l.push([]);continue}let u,h,p;s.includeExplanation&&(u=r.tokenizeLine(f,i),h=u.tokens,p=0);let v=r.tokenizeLine2(f,i),x=v.tokens.length/2;for(let _=0;_<x;_++){let g=v.tokens[2*_],b=_+1<x?v.tokens[2*_+2]:f.length;if(g===b)continue;let y=v.tokens[2*_+1],S=st.getForeground(y),m=t[S],T=st.getFontStyle(y),E=[];if(s.includeExplanation){let w=0;for(;g+w<b;){let $=h[p],k=f.substring($.startIndex,$.endIndex);w+=k.length,E.push({content:k,scopes:zS(e,$.scopes)}),p++}}a.push({content:f.substring(g,b),color:m,fontStyle:T,explanation:E})}l.push(a),a=[],i=v.ruleStack}return l}function zS(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:KS(e,i,o)}}return n}function Rf(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function qS(e,t,n,r){if(!Rf(e,n))return!1;let s=t.length-1,o=r.length-1;for(;s>=0&&o>=0;)Rf(t[s],r[o])&&s--,o--;return s===-1}function KS(e,t,n){let r=[],s=0;for(let o=0,i=e.settings.length;o<i;o++){let a=e.settings[o],l;if(typeof a.scope=="string")l=a.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(a.scope))l=a.scope;else continue;for(let c=0,d=l.length;c<d;c++){let u=l[c].split(/ /),h=u[u.length-1],p=u.slice(0,u.length-1);qS(h,p,t,n)&&(r[s++]=a,c=d)}}return r}const XS={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 YS(e,t={}){const n=t.bg||"#fff",r=NS(t.lineOptions??[],i=>i.line),s=t.elements||{};function o(i="",a={},l){const c=s[i]||XS[i];return c?(l=l.filter(Boolean),c({...a,children:i==="code"?l.join(`
|
|
13
|
-
`):l.join("")})):""}return o("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${n}`},[t.langId?`<div class="language-id">${t.langId}</div>`:"",o("code",{},e.map((i,a)=>{const l=a+1,c=r.get(l)??[],d=ZS(c).join(" ");return o("line",{className:d,lines:e,line:i,index:a},i.map((f,u)=>{const h=[`color: ${f.color||t.fg}`];return f.fontStyle&To.Italic&&h.push("font-style: italic"),f.fontStyle&To.Bold&&h.push("font-weight: bold"),f.fontStyle&To.Underline&&h.push("text-decoration: underline"),o("token",{style:h.join("; "),tokens:i,token:f,index:u},[QS(f.content)])}))}))])}const JS={"&":"&","<":"<",">":">",'"':""","'":"'"};function QS(e){return e.replace(/[&<>"']/g,t=>JS[t])}function ZS(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 e$ extends Vo.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=Ti.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 Xp(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=Yp(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 Jp(e){return typeof e=="string"?Ti.find(t=>t.id===e||t.aliases?.includes(e)):e}function t$(e){let t=Ti,n=e.themes||[],r=e.paths?.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":MS;return e.langs&&(t=e.langs.map(Jp)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:r}}async function n$(e){const{_languages:t,_themes:n,_wasmPath:r}=t$(e),s=new VS(FS(r),"vscode-oniguruma"),o=new e$(s);e.paths?.themes&&(o.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),e.paths?.languages&&(s.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const a=(await o.loadThemes(n))[0];let l;await o.loadLanguages(t);let c={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};function d(m){c=m}function f(m,T){m.bg=c[m.bg]||m.bg,m.fg=c[m.fg]||m.fg,T.forEach((E,w)=>{T[w]=c[E]||E})}function u(m){const T=m?o.getTheme(m):a;if(!T)throw Error(`No theme registration for ${m}`);(!l||l.name!==T.name)&&(o.setTheme(T),l=T);const E=o.getColorMap();return T.type==="css"&&f(T,E),{_theme:T,_colorMap:E}}function h(m){const T=o.getGrammar(m);if(!T)throw Error(`No language registration for ${m}`);return{_grammar:T}}function p(m,T="text",E,w={includeExplanation:!0}){if(r$(T))return[...m.split(/\r\n|\r|\n/).map(A=>[{content:A}])];const{_grammar:$}=h(T),{_theme:k,_colorMap:P}=u(E);return GS(k,P,m,$,w)}function v(m,T="text",E){let w;typeof T=="object"?w=T:w={lang:T,theme:E};const $=p(m,w.lang,w.theme,{includeExplanation:!1}),{_theme:k}=u(w.theme);return YS($,{fg:k.fg,bg:k.bg,lineOptions:w?.lineOptions,themeName:k.name})}async function x(m){await o.loadTheme(m)}async function _(m){const T=Jp(m);s.addLanguage(T),await o.loadLanguage(T)}function g(){return o.getLoadedThemes()}function b(){return o.getLoadedLanguages()}function y(m){const{_theme:T}=u(m);return T.bg}function S(m){const{_theme:T}=u(m);return T.fg}return{codeToThemedTokens:p,codeToHtml:v,getTheme:m=>u(m)._theme,loadTheme:x,loadLanguage:_,getBackgroundColor:y,getForegroundColor:S,getLoadedThemes:g,getLoadedLanguages:b,setColorReplacements:d}}function r$(e){return!e||["plaintext","txt","text"].includes(e)}const s$="0.2.0";DS(`https://cdn.jsdelivr.net/npm/shiki-es@${s$}/dist/assets/`);const vo=te();let Of=null;function o$(e,t){const n=xi();!Of&&!vo.value&&(Of=n$({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(s=>{vo.value=s}));const r=vo.value?.getLoadedLanguages().includes(t);return r?{code:vo.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}),supported:!0}:{code:e,supported:r}}function lt(){return Cr("devtools-client")}function V2(){const e=lt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Qp(){const e=lt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function G2(){const e=lt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function i$(){return Cr("devtools-component-inspector-data")}const Zp=te(!1);setTimeout(()=>{Zp.value=!0},2e3);const a$=pe(()=>Zp.value&&!lt().value);function l$(){const e=lt(),t=xi();return pe(()=>({host:e.value,devtools:{rpc:De,colorMode:t.value,renderCodeHighlight(n,r){return o$(n,r)},renderMarkdown(n){return kS(n)},extendClientRpc(n,r){return Cp.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return De[`${n}:${o}`]}})}}}))}const Zr={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=lt();return()=>!!e.value}},es={icon:"carbon-information",title:"Overview",order:-100},ts={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=lt();return()=>!!e.value},order:1},ns={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=lt();return()=>!!e.value},order:7},rs={icon:"carbon-plug",title:"Plugins",category:"analyze"},ss={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=lt();return()=>!!e.value},order:6},c$="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function u$(e=16,t=c$){let n="",r=e;const s=t.length;for(;r--;)n+=t[Math.random()*s|0];return n}function em(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}function tm(){return pt("getServerPages",()=>De.getServerPages())}function f$(){return pt("getServerRoutes",()=>De.getServerRoutes())}function z2(){return pt("getServerHooks",()=>De.getServerHooks())}function q2(){return pt("getServerLayouts",()=>De.getServerLayouts())}function K2(){return pt("getAutoImports",()=>De.getAutoImports())}function X2(){return pt("getStaticAssets",()=>De.getStaticAssets())}function Y2(){return pt("getServerConfig",()=>De.getServerConfig())}function J2(){return pt("getServerApp",()=>De.getServerApp())}function d$(){return pt("getCustomTabs",()=>De.getCustomTabs())}function Nf(){return pt("getTerminals",()=>De.getTerminals())}function Q2(){return pt("getAnalyzeBuildInfo",()=>De.getAnalyzeBuildInfo())}function Z2(){const{data:e}=v1("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function eO(){const e=tm(),t=Qp();return pe(()=>(t.value?.getRoutes()||[]).map(n=>em(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const os={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=f$();return()=>e.value?.length}},is={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},as={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=Nf();return()=>!!e.value?.length},badge(){return Nf().value?.filter(e=>!e.isTerminated).length}},ls={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},cs={layout:"full"},Cf=[{name:Br?.name??"__blank",path:Br?.path??"/__blank",meta:Br||{},alias:Br?.alias||[],redirect:Br?.redirect||void 0,component:()=>Re(()=>import("./__blank.f74f0354.js"),["./__blank.f74f0354.js","./NPanelGrids.e209861e.js"],import.meta.url).then(e=>e.default||e)},{name:Hr?.name??"index",path:Hr?.path??"/",meta:Hr||{},alias:Hr?.alias||[],redirect:Hr?.redirect||void 0,component:()=>Re(()=>import("./index.2d500b42.js"),["./index.2d500b42.js","./Badge.bb04dbdf.js"],import.meta.url).then(e=>e.default||e)},{name:Vr?.name??"modules-analyze-build",path:Vr?.path??"/modules/analyze-build",meta:Vr||{},alias:Vr?.alias||[],redirect:Vr?.redirect||void 0,component:()=>Re(()=>import("./analyze-build.d8530c6c.js"),["./analyze-build.d8530c6c.js","./FilepathItem.vue.67a3bac2.js","./editor.beb173d9.js","./NPanelGrids.e209861e.js","./PanelLeftRight.vue.4252eb45.js","./NTip.vue.b7996913.js","./NCodeBlock.vue.2f00c5a7.js","./client.c658398a.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.56878d59.js","./HelpFab.vue.e0c5b3b9.js","./NIconButton.vue.afd698ce.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Gr?.name??"modules-assets",path:Gr?.path??"/modules/assets",meta:Gr||{},alias:Gr?.alias||[],redirect:Gr?.redirect||void 0,component:()=>Re(()=>import("./assets.e5e05d1f.js"),["./assets.e5e05d1f.js","./NIconButton.vue.afd698ce.js","./Navbar.vue.97a344a8.js","./NSectionBlock.a9d6a8bd.js","./NIconTitle.vue.025b1812.js","./NSectionBlock.012f83f1.css","./FilepathItem.vue.67a3bac2.js","./editor.beb173d9.js","./CodeSnippets.vue.b3f0f3dc.js","./NCodeBlock.vue.2f00c5a7.js","./client.c658398a.js","./NCodeBlock.cf3ce05b.css","./DrawerRight.vue.48c2c3d6.js","./constants.d7bcda3c.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:zr?.name??"modules-components",path:zr?.path??"/modules/components",meta:zr||{},alias:zr?.alias||[],redirect:zr?.redirect||void 0,component:()=>Re(()=>import("./components.c29053f6.js"),["./components.c29053f6.js","./NIconButton.vue.afd698ce.js","./HelpFab.vue.e0c5b3b9.js","./HelpFab.f179afc3.css","./state-components.ed0b4287.js","./NCheckbox.vue.56878d59.js","./Navbar.vue.97a344a8.js","./Badge.bb04dbdf.js","./FilepathItem.vue.67a3bac2.js","./editor.beb173d9.js","./DrawerRight.vue.48c2c3d6.js","./NSectionBlock.a9d6a8bd.js","./NIconTitle.vue.025b1812.js","./NSectionBlock.012f83f1.css","./constants.d7bcda3c.js"],import.meta.url).then(e=>e.default||e)},{name:qr?.name??"modules-custom-name",path:qr?.path??"/modules/custom-:name()",meta:qr||{},alias:qr?.alias||[],redirect:qr?.redirect||void 0,component:()=>Re(()=>import("./custom-_name_.85ea5a6a.js"),["./custom-_name_.85ea5a6a.js","./NPanelGrids.e209861e.js","./LaunchPage.vue.a3f71c42.js","./NMarkdown.vue.4a55718e.js","./client.c658398a.js"],import.meta.url).then(e=>e.default||e)},{name:Kr?.name??"modules-hooks",path:Kr?.path??"/modules/hooks",meta:Kr||{},alias:Kr?.alias||[],redirect:Kr?.redirect||void 0,component:()=>Re(()=>import("./hooks.4df47b77.js"),["./hooks.4df47b77.js","./DurationDisplay.vue.1f2b63ce.js","./NSectionBlock.a9d6a8bd.js","./NIconTitle.vue.025b1812.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.e0c5b3b9.js","./NIconButton.vue.afd698ce.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Xr?.name??"modules-imports",path:Xr?.path??"/modules/imports",meta:Xr||{},alias:Xr?.alias||[],redirect:Xr?.redirect||void 0,component:()=>Re(()=>import("./imports.dd38df5c.js"),["./imports.dd38df5c.js","./NSwitch.vue.774134ee.js","./Navbar.vue.97a344a8.js","./FilepathItem.vue.67a3bac2.js","./editor.beb173d9.js","./NMarkdown.vue.4a55718e.js","./client.c658398a.js","./constants.d7bcda3c.js","./NSectionBlock.a9d6a8bd.js","./NIconTitle.vue.025b1812.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.e0c5b3b9.js","./NIconButton.vue.afd698ce.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Yr?.name??"modules-middleware",path:Yr?.path??"/modules/middleware",meta:Yr||{},alias:Yr?.alias||[],redirect:Yr?.redirect||void 0,component:()=>Re(()=>import("./middleware.a6f1dc81.js"),[],import.meta.url).then(e=>e.default||e)},{name:Jr?.name??"modules-modules",path:Jr?.path??"/modules/modules",meta:Jr||{},alias:Jr?.alias||[],redirect:Jr?.redirect||void 0,component:()=>Re(()=>import("./modules.8de52693.js"),["./modules.8de52693.js","./FilepathItem.vue.67a3bac2.js","./editor.beb173d9.js","./NpmVersionCheck.vue.5857e84f.js","./Badge.bb04dbdf.js","./NCodeBlock.vue.2f00c5a7.js","./client.c658398a.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.56878d59.js","./NTip.vue.b7996913.js","./NSectionBlock.a9d6a8bd.js","./NIconTitle.vue.025b1812.js","./NSectionBlock.012f83f1.css","./NIconButton.vue.afd698ce.js","./NLink.vue.efbf2660.js","./HelpFab.vue.e0c5b3b9.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Zr?.name??"modules-open-graph",path:Zr?.path??"/modules/open-graph",meta:Zr||{},alias:Zr?.alias||[],redirect:Zr?.redirect||void 0,component:()=>Re(()=>import("./open-graph.ba654e1e.js"),["./open-graph.ba654e1e.js","./NIconButton.vue.afd698ce.js","./Navbar.vue.97a344a8.js","./NLink.vue.efbf2660.js","./NSectionBlock.a9d6a8bd.js","./NIconTitle.vue.025b1812.js","./NSectionBlock.012f83f1.css","./NCodeBlock.vue.2f00c5a7.js","./client.c658398a.js","./NCodeBlock.cf3ce05b.css","./editor.beb173d9.js","./HelpFab.vue.e0c5b3b9.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:es?.name??"modules-overview",path:es?.path??"/modules/overview",meta:es||{},alias:es?.alias||[],redirect:es?.redirect||void 0,component:()=>Re(()=>import("./overview.4725a261.js"),["./overview.4725a261.js","./Badge.bb04dbdf.js","./NpmVersionCheck.vue.5857e84f.js","./NCodeBlock.vue.2f00c5a7.js","./client.c658398a.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.56878d59.js","./NTip.vue.b7996913.js","./NPanelGrids.e209861e.js","./state-components.ed0b4287.js"],import.meta.url).then(e=>e.default||e)},{name:ts?.name??"modules-pages",path:ts?.path??"/modules/pages",meta:ts||{},alias:ts?.alias||[],redirect:ts?.redirect||void 0,component:()=>Re(()=>import("./pages.46157a67.js"),["./pages.46157a67.js","./Badge.bb04dbdf.js","./FilepathItem.vue.67a3bac2.js","./editor.beb173d9.js","./NSectionBlock.a9d6a8bd.js","./NIconTitle.vue.025b1812.js","./NSectionBlock.012f83f1.css","./LaunchPage.vue.a3f71c42.js","./NMarkdown.vue.4a55718e.js","./client.c658398a.js","./NPanelGrids.e209861e.js","./HelpFab.vue.e0c5b3b9.js","./NIconButton.vue.afd698ce.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ns?.name??"modules-payload",path:ns?.path??"/modules/payload",meta:ns||{},alias:ns?.alias||[],redirect:ns?.redirect||void 0,component:()=>Re(()=>import("./payload.b59c0588.js"),["./payload.b59c0588.js","./StateEditor.vue.a6af1a3f.js","./NIconButton.vue.afd698ce.js","./json-editor-vue.6b7715bf.js","./NSectionBlock.a9d6a8bd.js","./NIconTitle.vue.025b1812.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.e0c5b3b9.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:rs?.name??"modules-plugins",path:rs?.path??"/modules/plugins",meta:rs||{},alias:rs?.alias||[],redirect:rs?.redirect||void 0,component:()=>Re(()=>import("./plugins.6a2cae7a.js"),["./plugins.6a2cae7a.js","./FilepathItem.vue.67a3bac2.js","./editor.beb173d9.js","./Badge.bb04dbdf.js","./DurationDisplay.vue.1f2b63ce.js","./NSectionBlock.a9d6a8bd.js","./NIconTitle.vue.025b1812.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.e0c5b3b9.js","./NIconButton.vue.afd698ce.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ss?.name??"modules-runtime-configs",path:ss?.path??"/modules/runtime-configs",meta:ss||{},alias:ss?.alias||[],redirect:ss?.redirect||void 0,component:()=>Re(()=>import("./runtime-configs.4a7ef849.js"),["./runtime-configs.4a7ef849.js","./StateEditor.vue.a6af1a3f.js","./NIconButton.vue.afd698ce.js","./json-editor-vue.6b7715bf.js","./NSectionBlock.a9d6a8bd.js","./NIconTitle.vue.025b1812.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.e0c5b3b9.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:os?.name??"modules-server-routes",path:os?.path??"/modules/server-routes",meta:os||{},alias:os?.alias||[],redirect:os?.redirect||void 0,component:()=>Re(()=>import("./server-routes.2d06f2c7.js"),["./server-routes.2d06f2c7.js","./Navbar.vue.97a344a8.js","./Badge.bb04dbdf.js","./NSelect.vue.0258c4d8.js","./CodeSnippets.vue.b3f0f3dc.js","./NCodeBlock.vue.2f00c5a7.js","./client.c658398a.js","./NCodeBlock.cf3ce05b.css","./editor.beb173d9.js","./NPanelGrids.e209861e.js","./constants.d7bcda3c.js","./PanelLeftRight.vue.4252eb45.js"],import.meta.url).then(e=>e.default||e)},{name:is?.name??"modules-storage",path:is?.path??"/modules/storage",meta:is||{},alias:is?.alias||[],redirect:is?.redirect||void 0,component:()=>Re(()=>import("./storage.b18c38a9.js"),["./storage.b18c38a9.js","./NIconButton.vue.afd698ce.js","./NSelect.vue.0258c4d8.js","./NLink.vue.efbf2660.js","./NPanelGrids.e209861e.js","./PanelLeftRight.vue.4252eb45.js","./FilepathItem.vue.67a3bac2.js","./editor.beb173d9.js","./json-editor-vue.6b7715bf.js"],import.meta.url).then(e=>e.default||e)},{name:as?.name??"modules-terminals",path:as?.path??"/modules/terminals",meta:as||{},alias:as?.alias||[],redirect:as?.redirect||void 0,component:()=>Re(()=>import("./terminals.195d8588.js"),["./terminals.195d8588.js","./NIconButton.vue.afd698ce.js","./terminals.ae8c3544.css"],import.meta.url).then(e=>e.default||e)},{name:ls?.name??"modules-virtual-files",path:ls?.path??"/modules/virtual-files",meta:ls||{},alias:ls?.alias||[],redirect:ls?.redirect||void 0,component:()=>Re(()=>import("./virtual-files.5f7c5d81.js"),["./virtual-files.5f7c5d81.js","./Navbar.vue.97a344a8.js","./NCodeBlock.vue.2f00c5a7.js","./client.c658398a.js","./NCodeBlock.cf3ce05b.css","./NPanelGrids.e209861e.js","./PanelLeftRight.vue.4252eb45.js","./HelpFab.vue.e0c5b3b9.js","./NIconButton.vue.afd698ce.js","./HelpFab.f179afc3.css","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:cs?.name??"settings",path:cs?.path??"/settings",meta:cs||{},alias:cs?.alias||[],redirect:cs?.redirect||void 0,component:()=>Re(()=>import("./settings.1b865c96.js"),["./settings.1b865c96.js","./NIconTitle.vue.025b1812.js","./NSwitch.vue.774134ee.js","./NSelect.vue.0258c4d8.js","./NCheckbox.vue.56878d59.js"],import.meta.url).then(e=>e.default||e)}],h$={scrollBehavior(e,t,n){const r=Ie();let s=n||void 0;if(!s&&t&&e&&e.meta.scrollToTop!==!1&&p$(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:Lf(e.hash)}}const o=a=>!!(a.meta.pageTransition??Na),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(a=>{r.hooks.hookOnce(i,async()=>{await Rt(),e.hash&&(s={el:e.hash,top:Lf(e.hash)}),a(s)})})}};function Lf(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function p$(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const m$={},ln={...m$,...h$},g$=tp(async e=>{let t,n;if(!e.meta?.validate)return;const r=Ie(),s=ht();if(([t,n]=jo(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=gi({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(()=>rr(i)),window.history.pushState({},"",e.fullPath)});return!1}})}),v$=Xl("nuxt-devtools-first-visit",!0),_$=Xl("nuxt-devtools-frame-state",{},{listenToStorageChanges:!1}),y$=Xl("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1}),Si=te(await De.getUIOptions()),b$=z1(Si);Fe(Si,async e=>{De.updateUIOptions(e)},{deep:!0,flush:"post"});Wn(()=>{_$.value.closeOnOutsideClick=Si.value.interactionCloseOnOutsideClick});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(Si.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function sc(){return b$}function tO(){return y$}const w$=tp(e=>{if(e.path==="/"&&!v$.value)return np("/modules/overview")}),E$=[g$,w$],Ga={};function x$(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),eu(l,"")}return eu(n,e)+r+s}const T$=bt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Fl().app.baseURL;ln.hashMode&&!r.includes("#")&&(r+="#");const s=ln.history?.(r)??(ln.hashMode?p0(r):op(r)),o=ln.routes?.(Cf)??Cf;let i;const a=x$(r,window.location),l=J0({...ln,scrollBehavior:(v,x,_)=>{if(x===jt){i=_;return}return l.options.scrollBehavior=ln.scrollBehavior,ln.scrollBehavior?.(v,jt,i||_)},history:s,routes:o});e.vueApp.use(l);const c=Un(l.currentRoute.value);l.afterEach((v,x)=>{c.value=x}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const d=Un(l.resolve(a)),f=()=>{d.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((v,x)=>{v.matched[0]?.components?.default===x.matched[0]?.components?.default&&f()});const u={};for(const v in d.value)u[v]=pe(()=>d.value[v]);e._route=at(u),e._middleware=e._middleware||{global:[],named:{}};const h=mi();try{[t,n]=jo(()=>l.isReady()),await t,n()}catch(v){[t,n]=jo(()=>e.runWithContext(()=>rr(v))),await t,n()}const p=Cr("_layout");return l.beforeEach(async(v,x)=>{v.meta=at(v.meta),e.isHydrating&&p.value&&!Hn(v.meta.layout)&&(v.meta.layout=p.value),e._processingMiddleware=!0;{const _=new Set([...E$,...e._middleware.global]);for(const g of v.matched){const b=g.meta.middleware;if(b)if(Array.isArray(b))for(const y of b)_.add(y);else _.add(b)}for(const g of _){const b=typeof g=="string"?e._middleware.named[g]||await Ga[g]?.().then(S=>S.default||S):g;if(!b)throw new Error(`Unknown route middleware: '${g}'.`);const y=await e.runWithContext(()=>b(v,x));if(!e.payload.serverRendered&&e.isHydrating&&(y===!1||y instanceof Error)){const S=y||Ia({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>rr(S)),!1}if(y||y===!1)return y}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(v,x,_)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(zb),v.matched.length===0&&await e.runWithContext(()=>rr(Ia({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=ln.scrollBehavior}catch(v){await e.runWithContext(()=>rr(v))}}),{provide:{router:l}}}},1),sr={default:()=>Re(()=>import("./default.a568b6bd.js"),[],import.meta.url).then(e=>e.default||e),full:()=>Re(()=>import("./full.039e8e59.js"),[],import.meta.url).then(e=>e.default||e),none:()=>Re(()=>import("./none.7a55d586.js"),[],import.meta.url).then(e=>e.default||e)},S$=bt({name:"nuxt:prefetch",setup(e){const t=ht();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof sr[r]=="function"&&await sr[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Nr(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 Ga[i]=="function"&&Ga[i]();s&&typeof sr[s]=="function"&&sr[s]()})}}),$$="__NUXT_COLOR_MODE__",k$="ColorScheme",P$="nuxt-color-mode",Ut=window[$$],A$=bt(e=>{const t=Cr("color-mode",()=>at({preference:Ut.preference,value:Ut.value,unknown:!1,forced:!1})).value;ht().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"?Ut.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=Ut.getColorScheme())}))}Fe(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=Ut.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(P$,s))},{immediate:!0}),Fe(()=>t.value,(s,o)=>{Ut.removeColorScheme(o),Ut.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Ut.preference,t.value=Ut.value,t.unknown=!1)}),e.provide("colorMode",t)});const R$=bt(()=>{}),O$=bt({name:"nuxt:chunk-reload",setup(e){const t=ht(),n=Fl(),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:Vs(n.app.baseURL,o.fullPath);_1({path:a,persistState:!0})}})}}),N$=bt({name:"nuxt:payload",setup(e){Db()&&(e.hooks.hook("link:prefetch",async t=>{Gs(t).protocol||await uu(t)}),ht().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await uu(t.path);r&&Object.assign(e.static.data,r.data)}))}});function rn(e){return e.split("-")[0]}function hr(e){return e.split("-")[1]}function qs(e){return["top","bottom"].includes(rn(e))?"x":"y"}function oc(e){return e==="y"?"height":"width"}function If(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(rn(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=qs(r),l=oc(a);switch(hr(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 C$=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}=If({...a,placement:r}),d=r,f={};for(let u=0;u<o.length;u++){const{name:h,fn:p}=o[u],{x:v,y:x,data:_,reset:g}=await p({x:l,y:c,initialPlacement:r,placement:d,strategy:s,middlewareData:f,rects:a,platform:i,elements:{reference:e,floating:t}});if(l=v??l,c=x??c,f={...f,[h]:_??{}},g){typeof g=="object"&&(g.placement&&(d=g.placement),g.rects&&(a=g.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):g.rects),{x:l,y:c}=If({...a,placement:d})),u=-1;continue}}return{x:l,y:c,placement:d,strategy:s,middlewareData:f}};function L$(e){return{top:0,right:0,bottom:0,left:0,...e}}function nm(e){return typeof e!="number"?L$(e):{top:e,right:e,bottom:e,left:e}}function za(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function $i(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:d="floating",altBoundary:f=!1,padding:u=0}=t,h=nm(u),v=i[f?d==="floating"?"reference":"floating":d],x=await s.getClippingClientRect({element:await s.isElement(v)?v:v.contextElement||await s.getDocumentElement({element:i.floating}),boundary:l,rootBoundary:c}),_=za(await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d==="floating"?{...o.floating,x:n,y:r}:o.reference,offsetParent:await s.getOffsetParent({element:i.floating}),strategy:a}));return{top:x.top-_.top+h.top,bottom:_.bottom-x.bottom+h.bottom,left:x.left-_.left+h.left,right:_.right-x.right+h.right}}const I$=Math.min,On=Math.max;function qa(e,t,n){return On(e,I$(t,n))}const j$=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=nm(r),d={x:s,y:o},f=rn(i),u=qs(f),h=oc(u),p=await l.getDimensions({element:n}),v=u==="y"?"top":"left",x=u==="y"?"bottom":"right",_=a.reference[h]+a.reference[u]-d[u]-a.floating[h],g=d[u]-a.reference[u],b=await l.getOffsetParent({element:n}),y=b?u==="y"?b.clientHeight||0:b.clientWidth||0:0,S=_/2-g/2,m=c[v],T=y-p[h]-c[x],E=y/2-p[h]/2+S,w=qa(m,E,T);return{data:{[u]:w,centerOffset:E-w}}}}),M$={left:"right",right:"left",bottom:"top",top:"bottom"};function zo(e){return e.replace(/left|right|bottom|top/g,t=>M$[t])}function rm(e,t){const n=hr(e)==="start",r=qs(e),s=oc(r);let o=r==="x"?n?"right":"left":n?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=zo(o)),{main:o,cross:zo(o)}}const D$={start:"end",end:"start"};function Ka(e){return e.replace(/start|end/g,t=>D$[t])}const F$=["top","right","bottom","left"],B$=F$.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);function H$(e,t,n){return(e?[...n.filter(s=>hr(s)===e),...n.filter(s=>hr(s)!==e)]:n.filter(s=>rn(s)===s)).filter(s=>e?hr(s)===e||(t?Ka(s)!==s:!1):!0)}const U$=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:d,middlewareData:f,placement:u}=t,{alignment:h=null,allowedPlacements:p=B$,autoAlignment:v=!0,...x}=e;if((n=f.autoPlacement)!=null&&n.skip)return{};const _=H$(h,v,p),g=await $i(t,x),b=(r=(s=f.autoPlacement)==null?void 0:s.index)!=null?r:0,y=_[b],{main:S,cross:m}=rm(y,d);if(u!==y)return{x:l,y:c,reset:{placement:_[0]}};const T=[g[rn(y)],g[S],g[m]],E=[...(o=(i=f.autoPlacement)==null?void 0:i.overflows)!=null?o:[],{placement:y,overflows:T}],w=_[b+1];if(w)return{data:{index:b+1,overflows:E},reset:{placement:w}};const $=E.slice().sort((P,R)=>P.overflows[0]-R.overflows[0]),k=(a=$.find(P=>{let{overflows:R}=P;return R.every(A=>A<=0)}))==null?void 0:a.placement;return{data:{skip:!0},reset:{placement:k??$[0].placement}}}}};function W$(e){const t=zo(e);return[Ka(e),t,Ka(t)]}const V$=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:d,fallbackStrategy:f="bestFit",flipAlignment:u=!0,...h}=e,p=rn(s),x=d||(p===a||!u?[zo(a)]:W$(a)),_=[a,...x],g=await $i(t,h),b=[];let y=((r=o.flip)==null?void 0:r.overflows)||[];if(l&&b.push(g[p]),c){const{main:E,cross:w}=rm(s,i);b.push(g[E],g[w])}if(y=[...y,{placement:s,overflows:b}],!b.every(E=>E<=0)){var S,m;const E=((S=(m=o.flip)==null?void 0:m.index)!=null?S:0)+1,w=_[E];if(w)return{data:{index:E,overflows:y},reset:{placement:w}};let $="bottom";switch(f){case"bestFit":{var T;const k=(T=y.slice().sort((P,R)=>P.overflows.filter(A=>A>0).reduce((A,I)=>A+I,0)-R.overflows.filter(A=>A>0).reduce((A,I)=>A+I,0))[0])==null?void 0:T.placement;k&&($=k);break}case"initialPlacement":$=a;break}return{data:{skip:!0},reset:{placement:$}}}return{}}}};function G$(e){let{placement:t,rects:n,value:r}=e;const s=rn(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 qs(s)==="x"?{x:l,y:a*o}:{x:a*o,y:l}}const z$=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=G$({placement:s,rects:o,value:e});return{x:n+i.x,y:r+i.y,data:i}}}};function q$(e){return e==="x"?"y":"x"}const K$=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:x=>{let{x:_,y:g}=x;return{x:_,y:g}}},...l}=e,c={x:n,y:r},d=await $i(t,l),f=qs(rn(s)),u=q$(f);let h=c[f],p=c[u];if(o){const x=f==="y"?"top":"left",_=f==="y"?"bottom":"right",g=h+d[x],b=h-d[_];h=qa(g,h,b)}if(i){const x=u==="y"?"top":"left",_=u==="y"?"bottom":"right",g=p+d[x],b=p-d[_];p=qa(g,p,b)}const v=a.fn({...t,[f]:h,[u]:p});return{...v,data:{x:v.x-n,y:v.y-r}}}}},X$=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 $i(t,a),c=rn(r),d=hr(r)==="end";let f,u;c==="top"||c==="bottom"?(f=c,u=d?"left":"right"):(u=c,f=d?"top":"bottom");const h=On(l.left,0),p=On(l.right,0),v=On(l.top,0),x=On(l.bottom,0),_={height:s.floating.height-(["left","right"].includes(r)?2*(v!==0||x!==0?v+x:On(l.top,l.bottom)):l[f]),width:s.floating.width-(["top","bottom"].includes(r)?2*(h!==0||p!==0?h+p:On(l.left,l.right)):l[u])};return i?.({..._,...s}),{data:{skip:!0},reset:{rects:!0}}}}};function ic(e){return e?.toString()==="[object Window]"}function Tn(e){if(e==null)return window;if(!ic(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function ki(e){return Tn(e).getComputedStyle(e)}function Zt(e){return ic(e)?"":e?(e.nodeName||"").toLowerCase():""}function en(e){return e instanceof Tn(e).HTMLElement}function qo(e){return e instanceof Tn(e).Element}function Y$(e){return e instanceof Tn(e).Node}function sm(e){const t=Tn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Pi(e){const{overflow:t,overflowX:n,overflowY:r}=ki(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function J$(e){return["table","td","th"].includes(Zt(e))}function om(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=ki(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 jf=Math.min,$s=Math.max,Ko=Math.round;function Tr(e,t){t===void 0&&(t=!1);const n=e.getBoundingClientRect();let r=1,s=1;return t&&en(e)&&(r=e.offsetWidth>0&&Ko(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Ko(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 Sn(e){return((Y$(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ai(e){return ic(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function im(e){return Tr(Sn(e)).left+Ai(e).scrollLeft}function Q$(e){const t=Tr(e);return Ko(t.width)!==e.offsetWidth||Ko(t.height)!==e.offsetHeight}function Z$(e,t,n){const r=en(t),s=Sn(t),o=Tr(e,r&&Q$(t));let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Zt(t)!=="body"||Pi(s))&&(i=Ai(t)),en(t)){const l=Tr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=im(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}function Ri(e){return Zt(e)==="html"?e:e.assignedSlot||e.parentNode||(sm(e)?e.host:null)||Sn(e)}function Mf(e){return!en(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function ek(e){let t=Ri(e);for(;en(t)&&!["html","body"].includes(Zt(t));){if(om(t))return t;t=t.parentNode}return null}function Xa(e){const t=Tn(e);let n=Mf(e);for(;n&&J$(n)&&getComputedStyle(n).position==="static";)n=Mf(n);return n&&(Zt(n)==="html"||Zt(n)==="body"&&getComputedStyle(n).position==="static"&&!om(n))?t:n||ek(e)||t}function Df(e){return{width:e.offsetWidth,height:e.offsetHeight}}function tk(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=en(n),o=Sn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((s||!s&&r!=="fixed")&&((Zt(n)!=="body"||Pi(o))&&(i=Ai(n)),en(n))){const l=Tr(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 nk(e){const t=Tn(e),n=Sn(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 rk(e){var t;const n=Sn(e),r=Ai(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=$s(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),i=$s(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let a=-r.scrollLeft+im(e);const l=-r.scrollTop;return ki(s||n).direction==="rtl"&&(a+=$s(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:i,x:a,y:l}}function am(e){return["html","body","#document"].includes(Zt(e))?e.ownerDocument.body:en(e)&&Pi(e)?e:am(Ri(e))}function Xo(e,t){var n;t===void 0&&(t=[]);const r=am(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=Tn(r),i=s?[o].concat(o.visualViewport||[],Pi(r)?r:[]):r,a=t.concat(i);return s?a:a.concat(Xo(Ri(i)))}function sk(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&sm(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function ok(e){const t=Tr(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 Ff(e,t){return t==="viewport"?za(nk(e)):qo(t)?ok(t):za(rk(Sn(e)))}function ik(e){const t=Xo(Ri(e)),r=["absolute","fixed"].includes(ki(e).position)&&en(e)?Xa(e):e;return qo(r)?t.filter(s=>qo(s)&&sk(s,r)&&Zt(s)!=="body"):[]}function ak(e){let{element:t,boundary:n,rootBoundary:r}=e;const o=[...n==="clippingParents"?ik(t):[].concat(n),r],i=o[0],a=o.reduce((l,c)=>{const d=Ff(t,c);return l.top=$s(d.top,l.top),l.right=jf(d.right,l.right),l.bottom=jf(d.bottom,l.bottom),l.left=$s(d.left,l.left),l},Ff(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 lk={getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:Z$(t,Xa(n),r),floating:{...Df(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>tk(e),getOffsetParent:e=>{let{element:t}=e;return Xa(t)},isElement:e=>qo(e),getDocumentElement:e=>{let{element:t}=e;return Sn(t)},getClippingClientRect:e=>ak(e),getDimensions:e=>{let{element:t}=e;return Df(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},ck=(e,t,n)=>C$(e,t,{platform:lk,...n});var uk=Object.defineProperty,fk=Object.defineProperties,dk=Object.getOwnPropertyDescriptors,Bf=Object.getOwnPropertySymbols,hk=Object.prototype.hasOwnProperty,pk=Object.prototype.propertyIsEnumerable,Hf=(e,t,n)=>t in e?uk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kt=(e,t)=>{for(var n in t||(t={}))hk.call(t,n)&&Hf(e,n,t[n]);if(Bf)for(var n of Bf(t))pk.call(t,n)&&Hf(e,n,t[n]);return e},Ks=(e,t)=>fk(e,dk(t));function lm(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?lm(e[n],t[n]):e[n]=t[n])}const Xt={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 Sr(e,t){let n=Xt.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Xt.themes[n.$extend]||{}:(n=null,r=Xt[t]):n=null;while(n);return r}function mk(e){const t=[e];let n=Xt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Xt.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Uf(e){const t=[e];let n=Xt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Xt.themes[n.$extend]||{}):n=null;while(n);return t}let qn=!1;if(typeof window<"u"){qn=!1;try{const e=Object.defineProperty({},"passive",{get(){qn=!0}});window.addEventListener("test",null,e)}catch{}}let cm=!1;typeof window<"u"&&typeof navigator<"u"&&(cm=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const um=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Wf={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},Vf={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function Gf(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function la(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Tt=[];let Rn=null;const zf={};function qf(e){let t=zf[e];return t||(t=zf[e]=[]),t}let Ya=function(){};typeof window<"u"&&(Ya=window.Element);function $e(e){return function(t){return Sr(t.theme,e)}}const ca="__floating-vue__popper";var fm=()=>Ae({name:"VPopper",provide(){return{[ca]:{parentPopper:this}}},inject:{[ca]:{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:$e("disabled")},positioningDisabled:{type:Boolean,default:$e("positioningDisabled")},placement:{type:String,default:$e("placement"),validator:e=>um.includes(e)},delay:{type:[String,Number,Object],default:$e("delay")},distance:{type:[Number,String],default:$e("distance")},skidding:{type:[Number,String],default:$e("skidding")},triggers:{type:Array,default:$e("triggers")},showTriggers:{type:[Array,Function],default:$e("showTriggers")},hideTriggers:{type:[Array,Function],default:$e("hideTriggers")},popperTriggers:{type:Array,default:$e("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:$e("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:$e("popperHideTriggers")},container:{type:[String,Object,Ya,Boolean],default:$e("container")},boundary:{type:[String,Ya],default:$e("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:$e("strategy")},autoHide:{type:[Boolean,Function],default:$e("autoHide")},handleResize:{type:Boolean,default:$e("handleResize")},instantMove:{type:Boolean,default:$e("instantMove")},eagerMount:{type:Boolean,default:$e("eagerMount")},popperClass:{type:[String,Array,Object],default:$e("popperClass")},computeTransformOrigin:{type:Boolean,default:$e("computeTransformOrigin")},autoMinSize:{type:Boolean,default:$e("autoMinSize")},autoSize:{type:[Boolean,String],default:$e("autoSize")},autoMaxSize:{type:Boolean,default:$e("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:$e("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:$e("preventOverflow")},overflowPadding:{type:[Number,String],default:$e("overflowPadding")},arrowPadding:{type:[Number,String],default:$e("arrowPadding")},arrowOverflow:{type:Boolean,default:$e("arrowOverflow")},flip:{type:Boolean,default:$e("flip")},shift:{type:Boolean,default:$e("shift")},shiftCrossAxis:{type:Boolean,default:$e("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:$e("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:Ks(Kt({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ca])==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:Kt(Kt({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(z$({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?t.middleware.push(U$({alignment:(e=this.placement.split("-")[1])!=null?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(K$({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&t.middleware.push(V$({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(j$({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,d;return i.startsWith("top")||i.startsWith("bottom")?c=o.reference.width:d=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"]=d!=null?`${d}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(X$({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 ck(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:r.x,y:r.y,placement:r.placement,strategy:r.strategy,arrow:Kt(Kt({},r.middlewareData.arrow),r.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Rn&&this.instantMove&&Rn.instantMove&&Rn!==this.parentPopper){Rn.$_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&&(Rn=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 la(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Xo(this.$_referenceNode),...Xo(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<Tt.length;n++)t=Tt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Tt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Uf(this.theme))qf(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 la(),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,Gf(Tt,this),Tt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Uf(this.theme)){const r=qf(n);Gf(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Rn===this&&(Rn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=Sr(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 la(),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,Wf,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Wf,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Vf,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Vf,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,qn?{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(ks>=e.left&&ks<=e.right&&Ps>=e.top&&Ps<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=ks-un,r=Ps-fn,o=t.left+t.width/2-un+(t.top+t.height/2)-fn+t.width+t.height,i=un+n*o,a=fn+r*o;return _o(un,fn,i,a,t.left,t.top,t.left,t.bottom)||_o(un,fn,i,a,t.left,t.top,t.right,t.top)||_o(un,fn,i,a,t.right,t.top,t.right,t.bottom)||_o(un,fn,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"&&(cm?(document.addEventListener("touchstart",Kf,qn?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",vk,qn?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Kf,!0),window.addEventListener("click",gk,!0)),window.addEventListener("resize",bk));function Kf(e){for(let t=0;t<Tt.length;t++){const n=Tt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function gk(e){dm(e)}function vk(e){dm(e,!0)}function dm(e,t=!1){const n={};for(let r=Tt.length-1;r>=0;r--){const s=Tt[r];try{const o=s.$_containsGlobalTarget=_k(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&Xf(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&&Xf(i,i.$_containsGlobalTarget,e);){i.$_handleGlobalClose(e,t);i=i.parentPopper}}})}catch{}}}function _k(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Xf(e,t,n){return n.closeAllPopover||n.closePopover&&t||yk(e,n)&&!t}function yk(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function bk(e){for(let t=0;t<Tt.length;t++)Tt[t].$_computePosition(e)}let un=0,fn=0,ks=0,Ps=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{un=ks,fn=Ps,ks=e.clientX,Ps=e.clientY},qn?{passive:!0}:void 0);function _o(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 Oi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const wk={extends:fm()};function Ek(e,t,n,r,s,o){return le(),Te("div",{ref:"reference",class:Ke(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[yt(e.$slots,"default",yd(Il(e.slotData)))],2)}var xk=Oi(wk,[["render",Ek]]);function Tk(){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 So;function Ja(){Ja.init||(Ja.init=!0,So=Tk()!==-1)}var Ni={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Ja(),Rt(()=>{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",So&&this.$el.appendChild(e),e.data="about:blank",So||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&&(!So&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Sk=qg();Gg("data-v-b329ee4c");const $k={class:"resize-observer",tabindex:"-1"};zg();const kk=Sk((e,t,n,r,s,o)=>(le(),Ce("div",$k)));Ni.render=kk;Ni.__scopeId="data-v-b329ee4c";Ni.__file="src/components/ResizeObserver.vue";var hm=(e="theme")=>({computed:{themeClass(){return mk(this[e])}}});const Pk=Ae({name:"VPopperContent",components:{ResizeObserver:Ni},mixins:[hm()],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}}}),Ak=["id","aria-hidden","tabindex","data-popper-placement"],Rk={ref:"inner",class:"v-popper__inner"},Ok=ce("div",{class:"v-popper__arrow-outer"},null,-1),Nk=ce("div",{class:"v-popper__arrow-inner"},null,-1),Ck=[Ok,Nk];function Lk(e,t,n,r,s,o){const i=bn("ResizeObserver");return le(),Te("div",{id:e.popperId,ref:"popover",class:Ke(["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:mn(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]=k_(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[ce("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),ce("div",{class:"v-popper__wrapper",style:mn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[ce("div",Rk,[e.mounted?(le(),Te(je,{key:0},[ce("div",null,[yt(e.$slots,"default")]),e.handleResize?(le(),Ce(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Qe("",!0)],64)):Qe("",!0)],512),ce("div",{ref:"arrow",class:"v-popper__arrow-container",style:mn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Ck,4)],4)],46,Ak)}var pm=Oi(Pk,[["render",Lk]]),mm={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 Ik=Ae({name:"VPopperWrapper",components:{Popper:xk,PopperContent:pm},mixins:[mm,hm("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 jk(e,t,n,r,s,o){const i=bn("PopperContent"),a=bn("Popper");return le(),Ce(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Ke([e.themeClass])},{default:xe(({popperId:l,isShown:c,shouldMountContent:d,skipTransition:f,autoHide:u,show:h,hide:p,handleResize:v,onResize:x,classes:_,result:g})=>[yt(e.$slots,"default",{shown:c,show:h,hide:p}),ae(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:d,"skip-transition":f,"auto-hide":u,"handle-resize":v,classes:_,result:g,onHide:p,onResize:x},{default:xe(()=>[yt(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}var ac=Oi(Ik,[["render",jk]]);const Mk=Ae(Ks(Kt({},ac),{name:"VDropdown",vPopperTheme:"dropdown"})),Dk=Ae(Ks(Kt({},ac),{name:"VMenu",vPopperTheme:"menu"})),Fk=Ae(Ks(Kt({},ac),{name:"VTooltip",vPopperTheme:"tooltip"})),Bk=Ae({name:"VTooltipDirective",components:{Popper:fm(),PopperContent:pm},mixins:[mm],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Sr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Sr(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}}}),Hk=["innerHTML"],Uk=["textContent"];function Wk(e,t,n,r,s,o){const i=bn("PopperContent"),a=bn("Popper");return le(),Ce(a,Vn({ref:"popper"},e.$attrs,{theme:e.theme,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:xe(({popperId:l,isShown:c,shouldMountContent:d,skipTransition:f,autoHide:u,hide:h,handleResize:p,onResize:v,classes:x,result:_})=>[ae(i,{ref:"popperContent",class:Ke({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:d,"skip-transition":f,"auto-hide":u,"handle-resize":p,classes:x,result:_,onHide:h,onResize:v},{default:xe(()=>[e.html?(le(),Te("div",{key:0,innerHTML:e.finalContent},null,8,Hk)):(le(),Te("div",{key:1,textContent:St(e.finalContent)},null,8,Uk))]),_: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 Vk=Oi(Bk,[["render",Wk]]);const gm="v-popper--has-tooltip";function Gk(e,t){let n=e.placement;if(!n&&t)for(const r of um)t[r]&&(n=r);return n||(n=Sr(e.theme||"tooltip","placement")),n}function vm(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=Gk(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let ua,Hs,zk=0;function qk(){if(ua)return;Hs=te([]),ua=Ch({name:"VTooltipDirectiveApp",setup(){return{directives:Hs}},render(){return this.directives.map(t=>et(Vk,Ks(Kt({},t.options),{shown:t.shown||t.options.shown,key:t.id})))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ua.mount(e)}function Kk(e,t,n){qk();const r=te(vm(e,t,n)),s=te(!1),o={id:zk++,options:r,shown:s};return Hs.value.push(o),e.classList&&e.classList.add(gm),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function _m(e){if(e.$_popper){const t=Hs.value.indexOf(e.$_popper.item);t!==-1&&Hs.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(gm)}function Yf(e,{value:t,modifiers:n}){const r=vm(e,t,n);if(!r.content||Sr(r.theme||"tooltip","disabled"))_m(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=Kk(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}var Xk={beforeMount:Yf,updated:Yf,beforeUnmount(e){_m(e)}};function Jf(e){e.addEventListener("click",ym),e.addEventListener("touchstart",bm,qn?{passive:!0}:!1)}function Qf(e){e.removeEventListener("click",ym),e.removeEventListener("touchstart",bm),e.removeEventListener("touchend",wm),e.removeEventListener("touchcancel",Em)}function ym(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function bm(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",wm),t.addEventListener("touchcancel",Em)}}function wm(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 Em(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var Yk={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Jf(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Jf(e):Qf(e))},beforeUnmount(e){Qf(e)}};function Jk(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,lm(Xt,t),e.directive("tooltip",Xk),e.directive("close-popper",Yk),e.component("VTooltip",Fk),e.component("VDropdown",Mk),e.component("VMenu",Dk))}const Qk={version:"2.0.0-beta.20",install:Jk,options:Xt},Zk=bt(e=>{e.vueApp.use(Qk)}),eP=bt(()=>{const e=lt(),t=i$(),n=ht();window.__NUXT_DEVTOOLS_VIEW__={setClient(r){e.value!==r&&(e.value=r,r.hooks.hook("host:update:reactivity",()=>{jd(e)}),r.hooks.hook("host:inspector:update",s=>{t.value=s}),r.hooks.hook("host:inspector:click",async(s,o,i,a)=>{const l=`./${o}:${i}:${a}`;await De.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)})}),tP=[Kb,Xb,Yb,T$,S$,A$,R$,O$,N$,Zk,eP],nP=Ae({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(e,{slots:t}){const n=rP({duration:e.duration,throttle:e.throttle}),r=Ie();return r.hook("page:start",n.start),r.hook("page:finish",n.finish),r.hook("vue:error",n.finish),Or(n.clear),()=>et("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 rP(e){const t=te(0),n=te(!1),r=pe(()=>1e4/e.duration);let s=null,o=null;function i(){l(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,f()},e.throttle):(n.value=!0,f())}function a(){t.value=100,d()}function l(){clearInterval(s),clearTimeout(o),s=null,o=null}function c(u){t.value=Math.min(100,t.value+u)}function d(){l(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function f(){s=setInterval(()=>{c(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:l}}const sP=Ae({__name:"Notification",setup(e){const t=te(!1),n=te(),r=te(),s=te();return vE(o=>{r.value=o.message,n.value=o.icon,s.value=o.classes??"text-primary",t.value=!0,setTimeout(()=>{t.value=!1},o.duration??1500)}),(o,i)=>(le(),Te("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-50":"","text-center":"",class:Ke(ue(t)?"":"pointer-events-none overflow-hidden")},[ce("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:mn(ue(t)?{}:{transform:"translateY(-300%)"}),class:Ke([ue(t)?"shadow":"shadow-none",ue(s)])},[ue(n)?(le(),Te("div",{key:0,class:Ke(ue(n))},null,2)):Qe("",!0),ce("div",null,St(ue(r)),1)],6)],2))}}),Xs=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},oP={},iP={class:"n-loading n-panel-grids-center"},aP={class:"flex flex-col animate-pulse items-center text-lg"},lP=ce("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function cP(e,t){return le(),Te("div",iP,[ce("div",aP,[lP,yt(e.$slots,"default",{},()=>[ze(" Loading... ")])])])}const uP=Xs(oP,[["render",cP]]),Ci=Ae({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(le(),Te("div",{class:Ke(["n-icon",t.icon])},null,2))}}),Li=Ae({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const r=Ci;return le(),Ce(Rl(t.to?ue(Vl):"button"),Vn({to:t.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:xe(()=>[yt(t.$slots,"icon",{},()=>[t.icon?(le(),Ce(r,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):Qe("",!0)]),yt(t.$slots,"default")]),_:3},16,["to"])}}}),fP=Ae({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=te(!1);return xn(()=>{r.value=!0}),s=>{if(r.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=s.fallback||s.placeholder||"",a=s.fallbackTag||s.placeholderTag||"span";return Te(a,n,i)}}}),dP={name:k$,props:{placeholder:String,tag:{type:String,default:"span"}}};function hP(e,t,n,r,s,o){const i=fP;return le(),Ce(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:xe(()=>[yt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const pP=Xs(dP,[["render",hP]]),mP=Ae({__name:"NDarkToggle",setup(e){const t=xi(),n=pe({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function s(i){if(!r||!i){n.value=!n.value;return}const a=i.clientX,l=i.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(l,innerHeight-l));document.startViewTransition(async()=>{n.value=!n.value,await Rt()}).ready.then(()=>{const f=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:n.value?[...f].reverse():f},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const o={mode:t,isDark:n,toggle:s};return(i,a)=>{const l=pP;return le(),Ce(l,{tag:"span"},{default:xe(()=>[yt(i.$slots,"default",yd(Il(o)))]),_:3})}}}),gP={px3:"",py2:"",border:"b base",flex:"~ gap-2"},vP=ce("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),_P=ce("div",{"carbon-settings-adjust":"","translate-y--1px":""},null,-1),yP={px3:"",py2:"",flex:"~ gap2"},bP=Ae({__name:"DockingPanel",setup(e){const t=lt(),n=Ie();function r(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),jd(t)}function s(){location.reload()}return(o,i)=>{const a=Li,l=mP;return le(),Te("div",null,[ce("div",gP,[ae(l,null,{default:xe(({toggle:c,isDark:d})=>[ae(a,{n:"sm primary",onClick:c},{default:xe(()=>[vP,ze(" "+St(d.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),ae(a,{n:"sm primary",to:"/settings"},{default:xe(()=>[_P,ze(" Settings ")]),_:1})]),ce("div",yP,[ae(a,{n:"solid primary xs",onClick:r},{default:xe(()=>[ze(" Refetch Data ")]),_:1}),ae(a,{n:"solid primary xs",onClick:s},{default:xe(()=>[ze(" Refresh Page ")]),_:1})])])}}}),wP=["src","alt"],EP=["title"],lc=Ae({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(le(),Te("img",Vn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,wP)):(le(),Te("div",Vn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,EP))}}),xP={"translate-y-0.5px":""},TP={key:0,hidden:"","lg:block":""},SP=Ae({__name:"SideNavItem",props:{tab:{}},setup(e){const t=e,n=pi(),r=pe(()=>"badge"in t.tab&&t.tab.badge?.()),s=pe(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=pe(()=>n.path.startsWith(s.value));return(i,a)=>{const l=lc,c=Vl,d=bn("VTooltip");return le(),Ce(d,{placement:"right"},{popper:xe(()=>[ce("div",null,St(i.tab.title),1),"extraTabVNode"in i.tab&&i.tab.extraTabVNode?(le(),Te("div",TP,[(le(),Ce(Rl(i.tab.extraTabVNode)))])):Qe("",!0)]),default:xe(()=>[ae(c,{to:ue(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]=f=>"onClick"in i.tab&&i.tab.onClick?.())},{default:xe(()=>[ae(l,{"text-xl":"",icon:i.tab.icon,title:i.tab.title,"show-title":!1},null,8,["icon","title"]),ue(r)?(le(),Te("div",{key:0,absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Ke(ue(o)?"bg-primary":"bg-gray")},[ce("span",xP,St(ue(r)),1)],2)):Qe("",!0)]),_:1},8,["to"])]),_:1})}}});function $P(){const e=d$(),t=sc(),n=ht(),r=pe(()=>[...n.getRoutes().filter(o=>o.path.startsWith("/modules/")&&o.meta.title&&!o.meta.wip).filter(o=>!o.meta.experimental||o.meta.experimental&&t.showExperimentalFeatures.value).sort((o,i)=>(o.meta.order||100)-(i.meta.order||100)).map(o=>({name:o.name,path:o.path,...o.meta})),...(e.value||[]).filter(o=>o.name.startsWith("builtin-"))]),s=pe(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return pe(()=>[...r.value,...s.value])}function xm(){return{app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function Zf(e){return pe(()=>{const t=xm();for(const n of ue(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 Tm(){const e=$P(),t=sc(),n=Object.keys(xm()),r=e.value.map(s=>s?.show?.());return pe(()=>e.value.filter((s,o)=>{const i=s;return!(r[o]&&!Md(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 nO(){const e=Qp(),t=tm();return pe(()=>(e.value?.getRoutes()||[]).map(n=>em(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const kP={border:"r base",flex:"~ col","z-100":"","h-full":"","items-center":"","of-hidden":"","bg-base":""},PP={flex:"~ none col items-center"},AP=["title"],RP=ce("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),OP=[RP],NP=ce("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),CP={flex:"~ auto col gap-0.5 items-center","of-hidden":"",py1:""},LP={key:0,my1:"","h-1px":"","w-8":"",border:"b base"},IP=ce("div",{"flex-auto":""},null,-1),jP={flex:"~ none col items-center gap-1",pb1:""},MP={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},DP={"translate-y-0.5px":""},FP={flex:"~ col gap-1","max-w-80":"",py1:""},BP={key:0,"h-1px":"",border:"b base"},HP={flex:"~ wrap",px1:""},UP=45,WP=Ae({__name:"SideNav",setup(e){const t=lt(),n=Tm(),r=te(!1),s=te(!1),o=te(),i=te(),a=te();function l(){r.value=!r.value}function c(){s.value=!s.value}const{height:d}=Kw(),f=pe(()=>{const x=d.value-130;return Math.max(0,Math.floor(x/UP))}),u=pe(()=>n.value.slice(0,f.value)),h=pe(()=>n.value.slice(f.value)),p=Zf(u),v=Zf(h);return cw(o,x=>{i.value&&x.composedPath().includes(i.value)||a.value&&x.composedPath().includes(a.value)||(r.value=!1,s.value=!1)},{detectIframe:!0}),(x,_)=>{const g=bP,b=bn("VDropdown"),y=SP,S=lc,m=Vl;return le(),Te("div",kP,[ce("div",PP,[ae(b,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:ue(r),"auto-hide":!0},{popper:xe(()=>[ae(g,{ref_key:"panel",ref:o},null,512)]),default:xe(()=>[ce("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:Ke(ue(t)?"":"saturate-0"),title:ue(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:l},OP,10,AP)]),_:1},8,["shown"]),NP]),ce("div",CP,[(le(!0),Te(je,null,hs(ue(p),([T,E],w)=>(le(),Te(je,{key:T},[E.length?(le(),Te(je,{key:0},[w?(le(),Te("div",LP)):Qe("",!0),(le(!0),Te(je,null,hs(E,$=>(le(),Ce(y,{key:$.name,tab:$},null,8,["tab"]))),128))],64)):Qe("",!0)],64))),128)),IP]),ce("div",jP,[ue(h).length?(le(),Ce(b,{key:0,placement:"left-end",distance:12,triggers:[],shown:ue(s),"auto-hide":!0},{popper:xe(()=>[ce("div",FP,[(le(!0),Te(je,null,hs(ue(v),([T,E],w)=>(le(),Te(je,{key:T},[E.length?(le(),Te(je,{key:0},[w?(le(),Te("div",BP)):Qe("",!0),ce("div",HP,[(le(!0),Te(je,null,hs(E,$=>(le(),Ce(y,{key:$.name,tab:$},null,8,["tab"]))),128))])],64)):Qe("",!0)],64))),128))])]),default:xe(()=>[ce("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},[ae(S,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),ce("div",MP,[ce("span",DP,St(ue(h).length),1)])],512)]),_:1},8,["shown"])):Qe("",!0),ae(m,{to:"/settings",flex:"~ items-center justify-center",hover:"bg-active",relative:"",block:"","h-10":"","w-10":"","select-none":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active"},{default:xe(()=>[ae(S,{"text-xl":"",icon:"i-carbon-settings-adjust",title:"Settings","show-title":!1})]),_:1})])])}}}),VP=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),GP=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&VP(e.route,n));return typeof r=="function"?r(e.route):r},zP=(e,t)=>({default:()=>e?et(cv,e===!0?{}:e,t):t}),Qa=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?et(e,t,n):n.default?.()}),qP=Ae({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t}){const n=Ie();return()=>et(pp,{name:e.name,route:e.route,...t},{default:r=>{if(!r.Component)return;const s=GP(r,e.pageKey),o=n.deferHydration(),i=!!(e.transition??r.route.meta.pageTransition??Na),a=i&&XP([e.transition,r.route.meta.pageTransition,Na,{onAfterLeave:()=>{n.callHook("page:transition:finish",r.Component)}}].filter(Boolean));return Qa(hi,i&&a,zP(e.keepalive??r.route.meta.keepalive??Lb,et(qd,{suspensible:!0,onPending:()=>n.callHook("page:start",r.Component),onResolve:()=>{Rt(()=>n.callHook("page:finish",r.Component).finally(o))}},{default:()=>et(YP,{key:s,routeProps:r,pageKey:s,hasTransition:i})}))).default()}})}});function KP(e){return Array.isArray(e)?e:e?[e]:[]}function XP(e){const t=e.map(n=>({...n,onAfterLeave:KP(n.onAfterLeave)}));return Ub(...t)}const YP=Ae({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]=pe(()=>t===e.pageKey?e.routeProps.route[s]:n[s]);return fr("_route",at(r)),()=>et(e.routeProps.Component)}}),JP=Ae({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(e,t){const n=await sr[e.name]().then(r=>r.default||r);return()=>et(n,t.attrs,t.slots)}}),QP=Ae({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=dt("_route"),r=n===pi()?Z0():n,s=pe(()=>ue(e.name)??r.meta.layout??"default");return()=>{const o=s.value&&s.value in sr,i=r.meta.layoutTransition??Cb;return Qa(hi,o&&i,{default:()=>Qa(JP,o&&{key:s.value,name:s.value,...t.attrs},t.slots).default()}).default()}}}),ZP={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},eA=Ae({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const r=Sp(e,"modelValue",t,{passive:!0});return(s,o)=>{const i=Ci;return le(),Te("div",ZP,[yt(s.$slots,"icon",{},()=>[s.icon?(le(),Ce(i,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Qe("",!0)]),$l(ce("input",Vn({"onUpdate:modelValue":o[0]||(o[0]=a=>Me(r)?r.value=a:null)},s.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[E_,ue(r)]])])}}}),tA={},nA={class:"n-card n-card-base"};function rA(e,t){return le(),Te("div",nA,[yt(e.$slots,"default")])}const sA=Xs(tA,[["render",rA]]);/*!
|
|
13
|
+
`):l.join("")})):""}return o("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${n}`},[t.langId?`<div class="language-id">${t.langId}</div>`:"",o("code",{},e.map((i,a)=>{const l=a+1,c=r.get(l)??[],d=ZS(c).join(" ");return o("line",{className:d,lines:e,line:i,index:a},i.map((f,u)=>{const h=[`color: ${f.color||t.fg}`];return f.fontStyle&To.Italic&&h.push("font-style: italic"),f.fontStyle&To.Bold&&h.push("font-weight: bold"),f.fontStyle&To.Underline&&h.push("text-decoration: underline"),o("token",{style:h.join("; "),tokens:i,token:f,index:u},[QS(f.content)])}))}))])}const JS={"&":"&","<":"<",">":">",'"':""","'":"'"};function QS(e){return e.replace(/[&<>"']/g,t=>JS[t])}function ZS(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 e$ extends Vo.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=Ti.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 Xp(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=Yp(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 Jp(e){return typeof e=="string"?Ti.find(t=>t.id===e||t.aliases?.includes(e)):e}function t$(e){let t=Ti,n=e.themes||[],r=e.paths?.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":MS;return e.langs&&(t=e.langs.map(Jp)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:r}}async function n$(e){const{_languages:t,_themes:n,_wasmPath:r}=t$(e),s=new VS(FS(r),"vscode-oniguruma"),o=new e$(s);e.paths?.themes&&(o.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),e.paths?.languages&&(s.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const a=(await o.loadThemes(n))[0];let l;await o.loadLanguages(t);let c={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};function d(m){c=m}function f(m,T){m.bg=c[m.bg]||m.bg,m.fg=c[m.fg]||m.fg,T.forEach((E,w)=>{T[w]=c[E]||E})}function u(m){const T=m?o.getTheme(m):a;if(!T)throw Error(`No theme registration for ${m}`);(!l||l.name!==T.name)&&(o.setTheme(T),l=T);const E=o.getColorMap();return T.type==="css"&&f(T,E),{_theme:T,_colorMap:E}}function h(m){const T=o.getGrammar(m);if(!T)throw Error(`No language registration for ${m}`);return{_grammar:T}}function p(m,T="text",E,w={includeExplanation:!0}){if(r$(T))return[...m.split(/\r\n|\r|\n/).map(A=>[{content:A}])];const{_grammar:$}=h(T),{_theme:k,_colorMap:P}=u(E);return GS(k,P,m,$,w)}function v(m,T="text",E){let w;typeof T=="object"?w=T:w={lang:T,theme:E};const $=p(m,w.lang,w.theme,{includeExplanation:!1}),{_theme:k}=u(w.theme);return YS($,{fg:k.fg,bg:k.bg,lineOptions:w?.lineOptions,themeName:k.name})}async function x(m){await o.loadTheme(m)}async function _(m){const T=Jp(m);s.addLanguage(T),await o.loadLanguage(T)}function g(){return o.getLoadedThemes()}function b(){return o.getLoadedLanguages()}function y(m){const{_theme:T}=u(m);return T.bg}function S(m){const{_theme:T}=u(m);return T.fg}return{codeToThemedTokens:p,codeToHtml:v,getTheme:m=>u(m)._theme,loadTheme:x,loadLanguage:_,getBackgroundColor:y,getForegroundColor:S,getLoadedThemes:g,getLoadedLanguages:b,setColorReplacements:d}}function r$(e){return!e||["plaintext","txt","text"].includes(e)}const s$="0.2.0";DS(`https://cdn.jsdelivr.net/npm/shiki-es@${s$}/dist/assets/`);const vo=te();let Of=null;function o$(e,t){const n=xi();!Of&&!vo.value&&(Of=n$({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(s=>{vo.value=s}));const r=vo.value?.getLoadedLanguages().includes(t);return r?{code:vo.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}),supported:!0}:{code:e,supported:r}}function lt(){return Cr("devtools-client")}function V2(){const e=lt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Qp(){const e=lt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function G2(){const e=lt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function i$(){return Cr("devtools-component-inspector-data")}const Zp=te(!1);setTimeout(()=>{Zp.value=!0},2e3);const a$=pe(()=>Zp.value&&!lt().value);function l$(){const e=lt(),t=xi();return pe(()=>({host:e.value,devtools:{rpc:De,colorMode:t.value,renderCodeHighlight(n,r){return o$(n,r)},renderMarkdown(n){return kS(n)},extendClientRpc(n,r){return Cp.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return De[`${n}:${o}`]}})}}}))}const Zr={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=lt();return()=>!!e.value}},es={icon:"carbon-information",title:"Overview",order:-100},ts={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=lt();return()=>!!e.value},order:1},ns={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=lt();return()=>!!e.value},order:7},rs={icon:"carbon-plug",title:"Plugins",category:"analyze"},ss={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=lt();return()=>!!e.value},order:6},c$="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function u$(e=16,t=c$){let n="",r=e;const s=t.length;for(;r--;)n+=t[Math.random()*s|0];return n}function em(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}function tm(){return pt("getServerPages",()=>De.getServerPages())}function f$(){return pt("getServerRoutes",()=>De.getServerRoutes())}function z2(){return pt("getServerHooks",()=>De.getServerHooks())}function q2(){return pt("getServerLayouts",()=>De.getServerLayouts())}function K2(){return pt("getAutoImports",()=>De.getAutoImports())}function X2(){return pt("getStaticAssets",()=>De.getStaticAssets())}function Y2(){return pt("getServerConfig",()=>De.getServerConfig())}function J2(){return pt("getServerApp",()=>De.getServerApp())}function d$(){return pt("getCustomTabs",()=>De.getCustomTabs())}function Nf(){return pt("getTerminals",()=>De.getTerminals())}function Q2(){return pt("getAnalyzeBuildInfo",()=>De.getAnalyzeBuildInfo())}function Z2(){const{data:e}=v1("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function eO(){const e=tm(),t=Qp();return pe(()=>(t.value?.getRoutes()||[]).map(n=>em(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const os={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=f$();return()=>e.value?.length}},is={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},as={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=Nf();return()=>!!e.value?.length},badge(){const e=Nf();return()=>e.value?.filter(t=>!t.isTerminated).length}},ls={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},cs={layout:"full"},Cf=[{name:Br?.name??"__blank",path:Br?.path??"/__blank",meta:Br||{},alias:Br?.alias||[],redirect:Br?.redirect||void 0,component:()=>Re(()=>import("./__blank.944beb26.js"),["./__blank.944beb26.js","./NPanelGrids.54ee09bc.js"],import.meta.url).then(e=>e.default||e)},{name:Hr?.name??"index",path:Hr?.path??"/",meta:Hr||{},alias:Hr?.alias||[],redirect:Hr?.redirect||void 0,component:()=>Re(()=>import("./index.d7252ef5.js"),["./index.d7252ef5.js","./Badge.067326d6.js"],import.meta.url).then(e=>e.default||e)},{name:Vr?.name??"modules-analyze-build",path:Vr?.path??"/modules/analyze-build",meta:Vr||{},alias:Vr?.alias||[],redirect:Vr?.redirect||void 0,component:()=>Re(()=>import("./analyze-build.fd781999.js"),["./analyze-build.fd781999.js","./FilepathItem.vue.3587ec1f.js","./editor.aee50e2c.js","./NPanelGrids.54ee09bc.js","./PanelLeftRight.vue.8031c7d4.js","./NTip.vue.f50fcd60.js","./NCodeBlock.vue.e44529a6.js","./client.d6464981.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.060051ad.js","./HelpFab.vue.dbb954dd.js","./NIconButton.vue.ac7efd0c.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Gr?.name??"modules-assets",path:Gr?.path??"/modules/assets",meta:Gr||{},alias:Gr?.alias||[],redirect:Gr?.redirect||void 0,component:()=>Re(()=>import("./assets.f876e2b9.js"),["./assets.f876e2b9.js","./NIconButton.vue.ac7efd0c.js","./Navbar.vue.bd98686f.js","./NSectionBlock.9cbe0175.js","./NIconTitle.vue.ace3a05a.js","./NSectionBlock.012f83f1.css","./FilepathItem.vue.3587ec1f.js","./editor.aee50e2c.js","./CodeSnippets.vue.2f33c6d1.js","./NCodeBlock.vue.e44529a6.js","./client.d6464981.js","./NCodeBlock.cf3ce05b.css","./DrawerRight.vue.aa1fd47b.js","./constants.d7bcda3c.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:zr?.name??"modules-components",path:zr?.path??"/modules/components",meta:zr||{},alias:zr?.alias||[],redirect:zr?.redirect||void 0,component:()=>Re(()=>import("./components.d23cd7b8.js"),["./components.d23cd7b8.js","./NIconButton.vue.ac7efd0c.js","./HelpFab.vue.dbb954dd.js","./HelpFab.f179afc3.css","./state-components.3e562e84.js","./NCheckbox.vue.060051ad.js","./Navbar.vue.bd98686f.js","./Badge.067326d6.js","./FilepathItem.vue.3587ec1f.js","./editor.aee50e2c.js","./DrawerRight.vue.aa1fd47b.js","./NSectionBlock.9cbe0175.js","./NIconTitle.vue.ace3a05a.js","./NSectionBlock.012f83f1.css","./constants.d7bcda3c.js"],import.meta.url).then(e=>e.default||e)},{name:qr?.name??"modules-custom-name",path:qr?.path??"/modules/custom-:name()",meta:qr||{},alias:qr?.alias||[],redirect:qr?.redirect||void 0,component:()=>Re(()=>import("./custom-_name_.3701152b.js"),["./custom-_name_.3701152b.js","./NPanelGrids.54ee09bc.js","./AuthRequiredPanel.vue.19da182f.js","./LaunchPage.vue.f137554e.js","./NMarkdown.vue.9f252ec4.js","./client.d6464981.js"],import.meta.url).then(e=>e.default||e)},{name:Kr?.name??"modules-hooks",path:Kr?.path??"/modules/hooks",meta:Kr||{},alias:Kr?.alias||[],redirect:Kr?.redirect||void 0,component:()=>Re(()=>import("./hooks.3a3b761d.js"),["./hooks.3a3b761d.js","./DurationDisplay.vue.4afc40a4.js","./NSectionBlock.9cbe0175.js","./NIconTitle.vue.ace3a05a.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.dbb954dd.js","./NIconButton.vue.ac7efd0c.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Xr?.name??"modules-imports",path:Xr?.path??"/modules/imports",meta:Xr||{},alias:Xr?.alias||[],redirect:Xr?.redirect||void 0,component:()=>Re(()=>import("./imports.e0b9437d.js"),["./imports.e0b9437d.js","./NSwitch.vue.f0f70131.js","./Navbar.vue.bd98686f.js","./FilepathItem.vue.3587ec1f.js","./editor.aee50e2c.js","./NMarkdown.vue.9f252ec4.js","./client.d6464981.js","./constants.d7bcda3c.js","./NSectionBlock.9cbe0175.js","./NIconTitle.vue.ace3a05a.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.dbb954dd.js","./NIconButton.vue.ac7efd0c.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Yr?.name??"modules-middleware",path:Yr?.path??"/modules/middleware",meta:Yr||{},alias:Yr?.alias||[],redirect:Yr?.redirect||void 0,component:()=>Re(()=>import("./middleware.cbbbe53d.js"),[],import.meta.url).then(e=>e.default||e)},{name:Jr?.name??"modules-modules",path:Jr?.path??"/modules/modules",meta:Jr||{},alias:Jr?.alias||[],redirect:Jr?.redirect||void 0,component:()=>Re(()=>import("./modules.092674af.js"),["./modules.092674af.js","./FilepathItem.vue.3587ec1f.js","./editor.aee50e2c.js","./NpmVersionCheck.vue.78bff2df.js","./Badge.067326d6.js","./NCodeBlock.vue.e44529a6.js","./client.d6464981.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.060051ad.js","./NTip.vue.f50fcd60.js","./NSectionBlock.9cbe0175.js","./NIconTitle.vue.ace3a05a.js","./NSectionBlock.012f83f1.css","./NIconButton.vue.ac7efd0c.js","./NLink.vue.372e1ca0.js","./HelpFab.vue.dbb954dd.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Zr?.name??"modules-open-graph",path:Zr?.path??"/modules/open-graph",meta:Zr||{},alias:Zr?.alias||[],redirect:Zr?.redirect||void 0,component:()=>Re(()=>import("./open-graph.3563ee56.js"),["./open-graph.3563ee56.js","./NIconButton.vue.ac7efd0c.js","./Navbar.vue.bd98686f.js","./NLink.vue.372e1ca0.js","./NSectionBlock.9cbe0175.js","./NIconTitle.vue.ace3a05a.js","./NSectionBlock.012f83f1.css","./NCodeBlock.vue.e44529a6.js","./client.d6464981.js","./NCodeBlock.cf3ce05b.css","./editor.aee50e2c.js","./HelpFab.vue.dbb954dd.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:es?.name??"modules-overview",path:es?.path??"/modules/overview",meta:es||{},alias:es?.alias||[],redirect:es?.redirect||void 0,component:()=>Re(()=>import("./overview.e4073f57.js"),["./overview.e4073f57.js","./Badge.067326d6.js","./NpmVersionCheck.vue.78bff2df.js","./NCodeBlock.vue.e44529a6.js","./client.d6464981.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.060051ad.js","./NTip.vue.f50fcd60.js","./NPanelGrids.54ee09bc.js","./state-components.3e562e84.js"],import.meta.url).then(e=>e.default||e)},{name:ts?.name??"modules-pages",path:ts?.path??"/modules/pages",meta:ts||{},alias:ts?.alias||[],redirect:ts?.redirect||void 0,component:()=>Re(()=>import("./pages.e4cfc065.js"),["./pages.e4cfc065.js","./Badge.067326d6.js","./FilepathItem.vue.3587ec1f.js","./editor.aee50e2c.js","./NSectionBlock.9cbe0175.js","./NIconTitle.vue.ace3a05a.js","./NSectionBlock.012f83f1.css","./LaunchPage.vue.f137554e.js","./NMarkdown.vue.9f252ec4.js","./client.d6464981.js","./NPanelGrids.54ee09bc.js","./HelpFab.vue.dbb954dd.js","./NIconButton.vue.ac7efd0c.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ns?.name??"modules-payload",path:ns?.path??"/modules/payload",meta:ns||{},alias:ns?.alias||[],redirect:ns?.redirect||void 0,component:()=>Re(()=>import("./payload.0be0c356.js"),["./payload.0be0c356.js","./StateEditor.vue.4439d43c.js","./NIconButton.vue.ac7efd0c.js","./json-editor-vue.b8dc29b2.js","./NSectionBlock.9cbe0175.js","./NIconTitle.vue.ace3a05a.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.dbb954dd.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:rs?.name??"modules-plugins",path:rs?.path??"/modules/plugins",meta:rs||{},alias:rs?.alias||[],redirect:rs?.redirect||void 0,component:()=>Re(()=>import("./plugins.88ff2e07.js"),["./plugins.88ff2e07.js","./FilepathItem.vue.3587ec1f.js","./editor.aee50e2c.js","./Badge.067326d6.js","./DurationDisplay.vue.4afc40a4.js","./NSectionBlock.9cbe0175.js","./NIconTitle.vue.ace3a05a.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.dbb954dd.js","./NIconButton.vue.ac7efd0c.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ss?.name??"modules-runtime-configs",path:ss?.path??"/modules/runtime-configs",meta:ss||{},alias:ss?.alias||[],redirect:ss?.redirect||void 0,component:()=>Re(()=>import("./runtime-configs.7810c90a.js"),["./runtime-configs.7810c90a.js","./StateEditor.vue.4439d43c.js","./NIconButton.vue.ac7efd0c.js","./json-editor-vue.b8dc29b2.js","./NSectionBlock.9cbe0175.js","./NIconTitle.vue.ace3a05a.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.dbb954dd.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:os?.name??"modules-server-routes",path:os?.path??"/modules/server-routes",meta:os||{},alias:os?.alias||[],redirect:os?.redirect||void 0,component:()=>Re(()=>import("./server-routes.911ca1ca.js"),["./server-routes.911ca1ca.js","./Navbar.vue.bd98686f.js","./Badge.067326d6.js","./NSelect.vue.3956d7b1.js","./CodeSnippets.vue.2f33c6d1.js","./NCodeBlock.vue.e44529a6.js","./client.d6464981.js","./NCodeBlock.cf3ce05b.css","./editor.aee50e2c.js","./NPanelGrids.54ee09bc.js","./constants.d7bcda3c.js","./PanelLeftRight.vue.8031c7d4.js"],import.meta.url).then(e=>e.default||e)},{name:is?.name??"modules-storage",path:is?.path??"/modules/storage",meta:is||{},alias:is?.alias||[],redirect:is?.redirect||void 0,component:()=>Re(()=>import("./storage.4d3f94ab.js"),["./storage.4d3f94ab.js","./NIconButton.vue.ac7efd0c.js","./NSelect.vue.3956d7b1.js","./NLink.vue.372e1ca0.js","./NPanelGrids.54ee09bc.js","./PanelLeftRight.vue.8031c7d4.js","./FilepathItem.vue.3587ec1f.js","./editor.aee50e2c.js","./json-editor-vue.b8dc29b2.js","./AuthRequiredPanel.vue.19da182f.js"],import.meta.url).then(e=>e.default||e)},{name:as?.name??"modules-terminals",path:as?.path??"/modules/terminals",meta:as||{},alias:as?.alias||[],redirect:as?.redirect||void 0,component:()=>Re(()=>import("./terminals.e433a70a.js"),["./terminals.e433a70a.js","./AuthRequiredPanel.vue.19da182f.js","./NPanelGrids.54ee09bc.js"],import.meta.url).then(e=>e.default||e)},{name:ls?.name??"modules-virtual-files",path:ls?.path??"/modules/virtual-files",meta:ls||{},alias:ls?.alias||[],redirect:ls?.redirect||void 0,component:()=>Re(()=>import("./virtual-files.ae241a9c.js"),["./virtual-files.ae241a9c.js","./Navbar.vue.bd98686f.js","./NCodeBlock.vue.e44529a6.js","./client.d6464981.js","./NCodeBlock.cf3ce05b.css","./NPanelGrids.54ee09bc.js","./PanelLeftRight.vue.8031c7d4.js","./HelpFab.vue.dbb954dd.js","./NIconButton.vue.ac7efd0c.js","./HelpFab.f179afc3.css","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:cs?.name??"settings",path:cs?.path??"/settings",meta:cs||{},alias:cs?.alias||[],redirect:cs?.redirect||void 0,component:()=>Re(()=>import("./settings.80338150.js"),["./settings.80338150.js","./NIconTitle.vue.ace3a05a.js","./NSwitch.vue.f0f70131.js","./NSelect.vue.3956d7b1.js","./NCheckbox.vue.060051ad.js"],import.meta.url).then(e=>e.default||e)}],h$={scrollBehavior(e,t,n){const r=Ie();let s=n||void 0;if(!s&&t&&e&&e.meta.scrollToTop!==!1&&p$(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:Lf(e.hash)}}const o=a=>!!(a.meta.pageTransition??Na),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(a=>{r.hooks.hookOnce(i,async()=>{await Rt(),e.hash&&(s={el:e.hash,top:Lf(e.hash)}),a(s)})})}};function Lf(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function p$(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const m$={},ln={...m$,...h$},g$=tp(async e=>{let t,n;if(!e.meta?.validate)return;const r=Ie(),s=ht();if(([t,n]=jo(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=gi({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(()=>rr(i)),window.history.pushState({},"",e.fullPath)});return!1}})}),v$=Xl("nuxt-devtools-first-visit",!0),_$=Xl("nuxt-devtools-frame-state",{},{listenToStorageChanges:!1}),y$=Xl("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1}),Si=te(await De.getUIOptions()),b$=z1(Si);Fe(Si,async e=>{De.updateUIOptions(e)},{deep:!0,flush:"post"});Wn(()=>{_$.value.closeOnOutsideClick=Si.value.interactionCloseOnOutsideClick});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(Si.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function sc(){return b$}function tO(){return y$}const w$=tp(e=>{if(e.path==="/"&&!v$.value)return np("/modules/overview")}),E$=[g$,w$],Ga={};function x$(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),eu(l,"")}return eu(n,e)+r+s}const T$=bt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Fl().app.baseURL;ln.hashMode&&!r.includes("#")&&(r+="#");const s=ln.history?.(r)??(ln.hashMode?p0(r):op(r)),o=ln.routes?.(Cf)??Cf;let i;const a=x$(r,window.location),l=J0({...ln,scrollBehavior:(v,x,_)=>{if(x===jt){i=_;return}return l.options.scrollBehavior=ln.scrollBehavior,ln.scrollBehavior?.(v,jt,i||_)},history:s,routes:o});e.vueApp.use(l);const c=Un(l.currentRoute.value);l.afterEach((v,x)=>{c.value=x}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const d=Un(l.resolve(a)),f=()=>{d.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((v,x)=>{v.matched[0]?.components?.default===x.matched[0]?.components?.default&&f()});const u={};for(const v in d.value)u[v]=pe(()=>d.value[v]);e._route=at(u),e._middleware=e._middleware||{global:[],named:{}};const h=mi();try{[t,n]=jo(()=>l.isReady()),await t,n()}catch(v){[t,n]=jo(()=>e.runWithContext(()=>rr(v))),await t,n()}const p=Cr("_layout");return l.beforeEach(async(v,x)=>{v.meta=at(v.meta),e.isHydrating&&p.value&&!Hn(v.meta.layout)&&(v.meta.layout=p.value),e._processingMiddleware=!0;{const _=new Set([...E$,...e._middleware.global]);for(const g of v.matched){const b=g.meta.middleware;if(b)if(Array.isArray(b))for(const y of b)_.add(y);else _.add(b)}for(const g of _){const b=typeof g=="string"?e._middleware.named[g]||await Ga[g]?.().then(S=>S.default||S):g;if(!b)throw new Error(`Unknown route middleware: '${g}'.`);const y=await e.runWithContext(()=>b(v,x));if(!e.payload.serverRendered&&e.isHydrating&&(y===!1||y instanceof Error)){const S=y||Ia({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>rr(S)),!1}if(y||y===!1)return y}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(v,x,_)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(zb),v.matched.length===0&&await e.runWithContext(()=>rr(Ia({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=ln.scrollBehavior}catch(v){await e.runWithContext(()=>rr(v))}}),{provide:{router:l}}}},1),sr={default:()=>Re(()=>import("./default.809c6e7c.js"),[],import.meta.url).then(e=>e.default||e),full:()=>Re(()=>import("./full.76363f3f.js"),[],import.meta.url).then(e=>e.default||e),none:()=>Re(()=>import("./none.0a084ac9.js"),[],import.meta.url).then(e=>e.default||e)},S$=bt({name:"nuxt:prefetch",setup(e){const t=ht();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof sr[r]=="function"&&await sr[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Nr(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 Ga[i]=="function"&&Ga[i]();s&&typeof sr[s]=="function"&&sr[s]()})}}),$$="__NUXT_COLOR_MODE__",k$="ColorScheme",P$="nuxt-color-mode",Ut=window[$$],A$=bt(e=>{const t=Cr("color-mode",()=>at({preference:Ut.preference,value:Ut.value,unknown:!1,forced:!1})).value;ht().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"?Ut.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=Ut.getColorScheme())}))}Fe(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=Ut.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(P$,s))},{immediate:!0}),Fe(()=>t.value,(s,o)=>{Ut.removeColorScheme(o),Ut.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Ut.preference,t.value=Ut.value,t.unknown=!1)}),e.provide("colorMode",t)});const R$=bt(()=>{}),O$=bt({name:"nuxt:chunk-reload",setup(e){const t=ht(),n=Fl(),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:Vs(n.app.baseURL,o.fullPath);_1({path:a,persistState:!0})}})}}),N$=bt({name:"nuxt:payload",setup(e){Db()&&(e.hooks.hook("link:prefetch",async t=>{Gs(t).protocol||await uu(t)}),ht().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await uu(t.path);r&&Object.assign(e.static.data,r.data)}))}});function rn(e){return e.split("-")[0]}function hr(e){return e.split("-")[1]}function qs(e){return["top","bottom"].includes(rn(e))?"x":"y"}function oc(e){return e==="y"?"height":"width"}function If(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(rn(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=qs(r),l=oc(a);switch(hr(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 C$=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}=If({...a,placement:r}),d=r,f={};for(let u=0;u<o.length;u++){const{name:h,fn:p}=o[u],{x:v,y:x,data:_,reset:g}=await p({x:l,y:c,initialPlacement:r,placement:d,strategy:s,middlewareData:f,rects:a,platform:i,elements:{reference:e,floating:t}});if(l=v??l,c=x??c,f={...f,[h]:_??{}},g){typeof g=="object"&&(g.placement&&(d=g.placement),g.rects&&(a=g.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):g.rects),{x:l,y:c}=If({...a,placement:d})),u=-1;continue}}return{x:l,y:c,placement:d,strategy:s,middlewareData:f}};function L$(e){return{top:0,right:0,bottom:0,left:0,...e}}function nm(e){return typeof e!="number"?L$(e):{top:e,right:e,bottom:e,left:e}}function za(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function $i(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:d="floating",altBoundary:f=!1,padding:u=0}=t,h=nm(u),v=i[f?d==="floating"?"reference":"floating":d],x=await s.getClippingClientRect({element:await s.isElement(v)?v:v.contextElement||await s.getDocumentElement({element:i.floating}),boundary:l,rootBoundary:c}),_=za(await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d==="floating"?{...o.floating,x:n,y:r}:o.reference,offsetParent:await s.getOffsetParent({element:i.floating}),strategy:a}));return{top:x.top-_.top+h.top,bottom:_.bottom-x.bottom+h.bottom,left:x.left-_.left+h.left,right:_.right-x.right+h.right}}const I$=Math.min,On=Math.max;function qa(e,t,n){return On(e,I$(t,n))}const j$=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=nm(r),d={x:s,y:o},f=rn(i),u=qs(f),h=oc(u),p=await l.getDimensions({element:n}),v=u==="y"?"top":"left",x=u==="y"?"bottom":"right",_=a.reference[h]+a.reference[u]-d[u]-a.floating[h],g=d[u]-a.reference[u],b=await l.getOffsetParent({element:n}),y=b?u==="y"?b.clientHeight||0:b.clientWidth||0:0,S=_/2-g/2,m=c[v],T=y-p[h]-c[x],E=y/2-p[h]/2+S,w=qa(m,E,T);return{data:{[u]:w,centerOffset:E-w}}}}),M$={left:"right",right:"left",bottom:"top",top:"bottom"};function zo(e){return e.replace(/left|right|bottom|top/g,t=>M$[t])}function rm(e,t){const n=hr(e)==="start",r=qs(e),s=oc(r);let o=r==="x"?n?"right":"left":n?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=zo(o)),{main:o,cross:zo(o)}}const D$={start:"end",end:"start"};function Ka(e){return e.replace(/start|end/g,t=>D$[t])}const F$=["top","right","bottom","left"],B$=F$.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);function H$(e,t,n){return(e?[...n.filter(s=>hr(s)===e),...n.filter(s=>hr(s)!==e)]:n.filter(s=>rn(s)===s)).filter(s=>e?hr(s)===e||(t?Ka(s)!==s:!1):!0)}const U$=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:d,middlewareData:f,placement:u}=t,{alignment:h=null,allowedPlacements:p=B$,autoAlignment:v=!0,...x}=e;if((n=f.autoPlacement)!=null&&n.skip)return{};const _=H$(h,v,p),g=await $i(t,x),b=(r=(s=f.autoPlacement)==null?void 0:s.index)!=null?r:0,y=_[b],{main:S,cross:m}=rm(y,d);if(u!==y)return{x:l,y:c,reset:{placement:_[0]}};const T=[g[rn(y)],g[S],g[m]],E=[...(o=(i=f.autoPlacement)==null?void 0:i.overflows)!=null?o:[],{placement:y,overflows:T}],w=_[b+1];if(w)return{data:{index:b+1,overflows:E},reset:{placement:w}};const $=E.slice().sort((P,R)=>P.overflows[0]-R.overflows[0]),k=(a=$.find(P=>{let{overflows:R}=P;return R.every(A=>A<=0)}))==null?void 0:a.placement;return{data:{skip:!0},reset:{placement:k??$[0].placement}}}}};function W$(e){const t=zo(e);return[Ka(e),t,Ka(t)]}const V$=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:d,fallbackStrategy:f="bestFit",flipAlignment:u=!0,...h}=e,p=rn(s),x=d||(p===a||!u?[zo(a)]:W$(a)),_=[a,...x],g=await $i(t,h),b=[];let y=((r=o.flip)==null?void 0:r.overflows)||[];if(l&&b.push(g[p]),c){const{main:E,cross:w}=rm(s,i);b.push(g[E],g[w])}if(y=[...y,{placement:s,overflows:b}],!b.every(E=>E<=0)){var S,m;const E=((S=(m=o.flip)==null?void 0:m.index)!=null?S:0)+1,w=_[E];if(w)return{data:{index:E,overflows:y},reset:{placement:w}};let $="bottom";switch(f){case"bestFit":{var T;const k=(T=y.slice().sort((P,R)=>P.overflows.filter(A=>A>0).reduce((A,I)=>A+I,0)-R.overflows.filter(A=>A>0).reduce((A,I)=>A+I,0))[0])==null?void 0:T.placement;k&&($=k);break}case"initialPlacement":$=a;break}return{data:{skip:!0},reset:{placement:$}}}return{}}}};function G$(e){let{placement:t,rects:n,value:r}=e;const s=rn(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 qs(s)==="x"?{x:l,y:a*o}:{x:a*o,y:l}}const z$=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=G$({placement:s,rects:o,value:e});return{x:n+i.x,y:r+i.y,data:i}}}};function q$(e){return e==="x"?"y":"x"}const K$=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:x=>{let{x:_,y:g}=x;return{x:_,y:g}}},...l}=e,c={x:n,y:r},d=await $i(t,l),f=qs(rn(s)),u=q$(f);let h=c[f],p=c[u];if(o){const x=f==="y"?"top":"left",_=f==="y"?"bottom":"right",g=h+d[x],b=h-d[_];h=qa(g,h,b)}if(i){const x=u==="y"?"top":"left",_=u==="y"?"bottom":"right",g=p+d[x],b=p-d[_];p=qa(g,p,b)}const v=a.fn({...t,[f]:h,[u]:p});return{...v,data:{x:v.x-n,y:v.y-r}}}}},X$=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 $i(t,a),c=rn(r),d=hr(r)==="end";let f,u;c==="top"||c==="bottom"?(f=c,u=d?"left":"right"):(u=c,f=d?"top":"bottom");const h=On(l.left,0),p=On(l.right,0),v=On(l.top,0),x=On(l.bottom,0),_={height:s.floating.height-(["left","right"].includes(r)?2*(v!==0||x!==0?v+x:On(l.top,l.bottom)):l[f]),width:s.floating.width-(["top","bottom"].includes(r)?2*(h!==0||p!==0?h+p:On(l.left,l.right)):l[u])};return i?.({..._,...s}),{data:{skip:!0},reset:{rects:!0}}}}};function ic(e){return e?.toString()==="[object Window]"}function Tn(e){if(e==null)return window;if(!ic(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function ki(e){return Tn(e).getComputedStyle(e)}function Zt(e){return ic(e)?"":e?(e.nodeName||"").toLowerCase():""}function en(e){return e instanceof Tn(e).HTMLElement}function qo(e){return e instanceof Tn(e).Element}function Y$(e){return e instanceof Tn(e).Node}function sm(e){const t=Tn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Pi(e){const{overflow:t,overflowX:n,overflowY:r}=ki(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function J$(e){return["table","td","th"].includes(Zt(e))}function om(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=ki(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 jf=Math.min,$s=Math.max,Ko=Math.round;function Tr(e,t){t===void 0&&(t=!1);const n=e.getBoundingClientRect();let r=1,s=1;return t&&en(e)&&(r=e.offsetWidth>0&&Ko(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Ko(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 Sn(e){return((Y$(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ai(e){return ic(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function im(e){return Tr(Sn(e)).left+Ai(e).scrollLeft}function Q$(e){const t=Tr(e);return Ko(t.width)!==e.offsetWidth||Ko(t.height)!==e.offsetHeight}function Z$(e,t,n){const r=en(t),s=Sn(t),o=Tr(e,r&&Q$(t));let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Zt(t)!=="body"||Pi(s))&&(i=Ai(t)),en(t)){const l=Tr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=im(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}function Ri(e){return Zt(e)==="html"?e:e.assignedSlot||e.parentNode||(sm(e)?e.host:null)||Sn(e)}function Mf(e){return!en(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function ek(e){let t=Ri(e);for(;en(t)&&!["html","body"].includes(Zt(t));){if(om(t))return t;t=t.parentNode}return null}function Xa(e){const t=Tn(e);let n=Mf(e);for(;n&&J$(n)&&getComputedStyle(n).position==="static";)n=Mf(n);return n&&(Zt(n)==="html"||Zt(n)==="body"&&getComputedStyle(n).position==="static"&&!om(n))?t:n||ek(e)||t}function Df(e){return{width:e.offsetWidth,height:e.offsetHeight}}function tk(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=en(n),o=Sn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((s||!s&&r!=="fixed")&&((Zt(n)!=="body"||Pi(o))&&(i=Ai(n)),en(n))){const l=Tr(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 nk(e){const t=Tn(e),n=Sn(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 rk(e){var t;const n=Sn(e),r=Ai(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=$s(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),i=$s(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let a=-r.scrollLeft+im(e);const l=-r.scrollTop;return ki(s||n).direction==="rtl"&&(a+=$s(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:i,x:a,y:l}}function am(e){return["html","body","#document"].includes(Zt(e))?e.ownerDocument.body:en(e)&&Pi(e)?e:am(Ri(e))}function Xo(e,t){var n;t===void 0&&(t=[]);const r=am(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=Tn(r),i=s?[o].concat(o.visualViewport||[],Pi(r)?r:[]):r,a=t.concat(i);return s?a:a.concat(Xo(Ri(i)))}function sk(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&sm(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function ok(e){const t=Tr(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 Ff(e,t){return t==="viewport"?za(nk(e)):qo(t)?ok(t):za(rk(Sn(e)))}function ik(e){const t=Xo(Ri(e)),r=["absolute","fixed"].includes(ki(e).position)&&en(e)?Xa(e):e;return qo(r)?t.filter(s=>qo(s)&&sk(s,r)&&Zt(s)!=="body"):[]}function ak(e){let{element:t,boundary:n,rootBoundary:r}=e;const o=[...n==="clippingParents"?ik(t):[].concat(n),r],i=o[0],a=o.reduce((l,c)=>{const d=Ff(t,c);return l.top=$s(d.top,l.top),l.right=jf(d.right,l.right),l.bottom=jf(d.bottom,l.bottom),l.left=$s(d.left,l.left),l},Ff(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 lk={getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:Z$(t,Xa(n),r),floating:{...Df(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>tk(e),getOffsetParent:e=>{let{element:t}=e;return Xa(t)},isElement:e=>qo(e),getDocumentElement:e=>{let{element:t}=e;return Sn(t)},getClippingClientRect:e=>ak(e),getDimensions:e=>{let{element:t}=e;return Df(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},ck=(e,t,n)=>C$(e,t,{platform:lk,...n});var uk=Object.defineProperty,fk=Object.defineProperties,dk=Object.getOwnPropertyDescriptors,Bf=Object.getOwnPropertySymbols,hk=Object.prototype.hasOwnProperty,pk=Object.prototype.propertyIsEnumerable,Hf=(e,t,n)=>t in e?uk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kt=(e,t)=>{for(var n in t||(t={}))hk.call(t,n)&&Hf(e,n,t[n]);if(Bf)for(var n of Bf(t))pk.call(t,n)&&Hf(e,n,t[n]);return e},Ks=(e,t)=>fk(e,dk(t));function lm(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?lm(e[n],t[n]):e[n]=t[n])}const Xt={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 Sr(e,t){let n=Xt.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Xt.themes[n.$extend]||{}:(n=null,r=Xt[t]):n=null;while(n);return r}function mk(e){const t=[e];let n=Xt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Xt.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Uf(e){const t=[e];let n=Xt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Xt.themes[n.$extend]||{}):n=null;while(n);return t}let qn=!1;if(typeof window<"u"){qn=!1;try{const e=Object.defineProperty({},"passive",{get(){qn=!0}});window.addEventListener("test",null,e)}catch{}}let cm=!1;typeof window<"u"&&typeof navigator<"u"&&(cm=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const um=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Wf={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},Vf={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function Gf(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function la(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Tt=[];let Rn=null;const zf={};function qf(e){let t=zf[e];return t||(t=zf[e]=[]),t}let Ya=function(){};typeof window<"u"&&(Ya=window.Element);function $e(e){return function(t){return Sr(t.theme,e)}}const ca="__floating-vue__popper";var fm=()=>Ae({name:"VPopper",provide(){return{[ca]:{parentPopper:this}}},inject:{[ca]:{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:$e("disabled")},positioningDisabled:{type:Boolean,default:$e("positioningDisabled")},placement:{type:String,default:$e("placement"),validator:e=>um.includes(e)},delay:{type:[String,Number,Object],default:$e("delay")},distance:{type:[Number,String],default:$e("distance")},skidding:{type:[Number,String],default:$e("skidding")},triggers:{type:Array,default:$e("triggers")},showTriggers:{type:[Array,Function],default:$e("showTriggers")},hideTriggers:{type:[Array,Function],default:$e("hideTriggers")},popperTriggers:{type:Array,default:$e("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:$e("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:$e("popperHideTriggers")},container:{type:[String,Object,Ya,Boolean],default:$e("container")},boundary:{type:[String,Ya],default:$e("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:$e("strategy")},autoHide:{type:[Boolean,Function],default:$e("autoHide")},handleResize:{type:Boolean,default:$e("handleResize")},instantMove:{type:Boolean,default:$e("instantMove")},eagerMount:{type:Boolean,default:$e("eagerMount")},popperClass:{type:[String,Array,Object],default:$e("popperClass")},computeTransformOrigin:{type:Boolean,default:$e("computeTransformOrigin")},autoMinSize:{type:Boolean,default:$e("autoMinSize")},autoSize:{type:[Boolean,String],default:$e("autoSize")},autoMaxSize:{type:Boolean,default:$e("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:$e("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:$e("preventOverflow")},overflowPadding:{type:[Number,String],default:$e("overflowPadding")},arrowPadding:{type:[Number,String],default:$e("arrowPadding")},arrowOverflow:{type:Boolean,default:$e("arrowOverflow")},flip:{type:Boolean,default:$e("flip")},shift:{type:Boolean,default:$e("shift")},shiftCrossAxis:{type:Boolean,default:$e("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:$e("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:Ks(Kt({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ca])==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:Kt(Kt({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(z$({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?t.middleware.push(U$({alignment:(e=this.placement.split("-")[1])!=null?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(K$({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&t.middleware.push(V$({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(j$({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,d;return i.startsWith("top")||i.startsWith("bottom")?c=o.reference.width:d=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"]=d!=null?`${d}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(X$({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 ck(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:r.x,y:r.y,placement:r.placement,strategy:r.strategy,arrow:Kt(Kt({},r.middlewareData.arrow),r.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Rn&&this.instantMove&&Rn.instantMove&&Rn!==this.parentPopper){Rn.$_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&&(Rn=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 la(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Xo(this.$_referenceNode),...Xo(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<Tt.length;n++)t=Tt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Tt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Uf(this.theme))qf(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 la(),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,Gf(Tt,this),Tt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Uf(this.theme)){const r=qf(n);Gf(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Rn===this&&(Rn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=Sr(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 la(),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,Wf,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Wf,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Vf,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Vf,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,qn?{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(ks>=e.left&&ks<=e.right&&Ps>=e.top&&Ps<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=ks-un,r=Ps-fn,o=t.left+t.width/2-un+(t.top+t.height/2)-fn+t.width+t.height,i=un+n*o,a=fn+r*o;return _o(un,fn,i,a,t.left,t.top,t.left,t.bottom)||_o(un,fn,i,a,t.left,t.top,t.right,t.top)||_o(un,fn,i,a,t.right,t.top,t.right,t.bottom)||_o(un,fn,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"&&(cm?(document.addEventListener("touchstart",Kf,qn?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",vk,qn?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Kf,!0),window.addEventListener("click",gk,!0)),window.addEventListener("resize",bk));function Kf(e){for(let t=0;t<Tt.length;t++){const n=Tt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function gk(e){dm(e)}function vk(e){dm(e,!0)}function dm(e,t=!1){const n={};for(let r=Tt.length-1;r>=0;r--){const s=Tt[r];try{const o=s.$_containsGlobalTarget=_k(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&Xf(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&&Xf(i,i.$_containsGlobalTarget,e);){i.$_handleGlobalClose(e,t);i=i.parentPopper}}})}catch{}}}function _k(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Xf(e,t,n){return n.closeAllPopover||n.closePopover&&t||yk(e,n)&&!t}function yk(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function bk(e){for(let t=0;t<Tt.length;t++)Tt[t].$_computePosition(e)}let un=0,fn=0,ks=0,Ps=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{un=ks,fn=Ps,ks=e.clientX,Ps=e.clientY},qn?{passive:!0}:void 0);function _o(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 Oi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const wk={extends:fm()};function Ek(e,t,n,r,s,o){return le(),Te("div",{ref:"reference",class:Ke(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[yt(e.$slots,"default",yd(Il(e.slotData)))],2)}var xk=Oi(wk,[["render",Ek]]);function Tk(){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 So;function Ja(){Ja.init||(Ja.init=!0,So=Tk()!==-1)}var Ni={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Ja(),Rt(()=>{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",So&&this.$el.appendChild(e),e.data="about:blank",So||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&&(!So&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Sk=qg();Gg("data-v-b329ee4c");const $k={class:"resize-observer",tabindex:"-1"};zg();const kk=Sk((e,t,n,r,s,o)=>(le(),Ce("div",$k)));Ni.render=kk;Ni.__scopeId="data-v-b329ee4c";Ni.__file="src/components/ResizeObserver.vue";var hm=(e="theme")=>({computed:{themeClass(){return mk(this[e])}}});const Pk=Ae({name:"VPopperContent",components:{ResizeObserver:Ni},mixins:[hm()],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}}}),Ak=["id","aria-hidden","tabindex","data-popper-placement"],Rk={ref:"inner",class:"v-popper__inner"},Ok=ce("div",{class:"v-popper__arrow-outer"},null,-1),Nk=ce("div",{class:"v-popper__arrow-inner"},null,-1),Ck=[Ok,Nk];function Lk(e,t,n,r,s,o){const i=bn("ResizeObserver");return le(),Te("div",{id:e.popperId,ref:"popover",class:Ke(["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:mn(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]=k_(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[ce("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),ce("div",{class:"v-popper__wrapper",style:mn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[ce("div",Rk,[e.mounted?(le(),Te(je,{key:0},[ce("div",null,[yt(e.$slots,"default")]),e.handleResize?(le(),Ce(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Qe("",!0)],64)):Qe("",!0)],512),ce("div",{ref:"arrow",class:"v-popper__arrow-container",style:mn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Ck,4)],4)],46,Ak)}var pm=Oi(Pk,[["render",Lk]]),mm={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 Ik=Ae({name:"VPopperWrapper",components:{Popper:xk,PopperContent:pm},mixins:[mm,hm("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 jk(e,t,n,r,s,o){const i=bn("PopperContent"),a=bn("Popper");return le(),Ce(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Ke([e.themeClass])},{default:xe(({popperId:l,isShown:c,shouldMountContent:d,skipTransition:f,autoHide:u,show:h,hide:p,handleResize:v,onResize:x,classes:_,result:g})=>[yt(e.$slots,"default",{shown:c,show:h,hide:p}),ae(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:d,"skip-transition":f,"auto-hide":u,"handle-resize":v,classes:_,result:g,onHide:p,onResize:x},{default:xe(()=>[yt(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}var ac=Oi(Ik,[["render",jk]]);const Mk=Ae(Ks(Kt({},ac),{name:"VDropdown",vPopperTheme:"dropdown"})),Dk=Ae(Ks(Kt({},ac),{name:"VMenu",vPopperTheme:"menu"})),Fk=Ae(Ks(Kt({},ac),{name:"VTooltip",vPopperTheme:"tooltip"})),Bk=Ae({name:"VTooltipDirective",components:{Popper:fm(),PopperContent:pm},mixins:[mm],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Sr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Sr(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}}}),Hk=["innerHTML"],Uk=["textContent"];function Wk(e,t,n,r,s,o){const i=bn("PopperContent"),a=bn("Popper");return le(),Ce(a,Vn({ref:"popper"},e.$attrs,{theme:e.theme,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:xe(({popperId:l,isShown:c,shouldMountContent:d,skipTransition:f,autoHide:u,hide:h,handleResize:p,onResize:v,classes:x,result:_})=>[ae(i,{ref:"popperContent",class:Ke({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:d,"skip-transition":f,"auto-hide":u,"handle-resize":p,classes:x,result:_,onHide:h,onResize:v},{default:xe(()=>[e.html?(le(),Te("div",{key:0,innerHTML:e.finalContent},null,8,Hk)):(le(),Te("div",{key:1,textContent:St(e.finalContent)},null,8,Uk))]),_: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 Vk=Oi(Bk,[["render",Wk]]);const gm="v-popper--has-tooltip";function Gk(e,t){let n=e.placement;if(!n&&t)for(const r of um)t[r]&&(n=r);return n||(n=Sr(e.theme||"tooltip","placement")),n}function vm(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=Gk(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let ua,Hs,zk=0;function qk(){if(ua)return;Hs=te([]),ua=Ch({name:"VTooltipDirectiveApp",setup(){return{directives:Hs}},render(){return this.directives.map(t=>et(Vk,Ks(Kt({},t.options),{shown:t.shown||t.options.shown,key:t.id})))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ua.mount(e)}function Kk(e,t,n){qk();const r=te(vm(e,t,n)),s=te(!1),o={id:zk++,options:r,shown:s};return Hs.value.push(o),e.classList&&e.classList.add(gm),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function _m(e){if(e.$_popper){const t=Hs.value.indexOf(e.$_popper.item);t!==-1&&Hs.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(gm)}function Yf(e,{value:t,modifiers:n}){const r=vm(e,t,n);if(!r.content||Sr(r.theme||"tooltip","disabled"))_m(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=Kk(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}var Xk={beforeMount:Yf,updated:Yf,beforeUnmount(e){_m(e)}};function Jf(e){e.addEventListener("click",ym),e.addEventListener("touchstart",bm,qn?{passive:!0}:!1)}function Qf(e){e.removeEventListener("click",ym),e.removeEventListener("touchstart",bm),e.removeEventListener("touchend",wm),e.removeEventListener("touchcancel",Em)}function ym(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function bm(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",wm),t.addEventListener("touchcancel",Em)}}function wm(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 Em(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var Yk={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Jf(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Jf(e):Qf(e))},beforeUnmount(e){Qf(e)}};function Jk(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,lm(Xt,t),e.directive("tooltip",Xk),e.directive("close-popper",Yk),e.component("VTooltip",Fk),e.component("VDropdown",Mk),e.component("VMenu",Dk))}const Qk={version:"2.0.0-beta.20",install:Jk,options:Xt},Zk=bt(e=>{e.vueApp.use(Qk)}),eP=bt(()=>{const e=lt(),t=i$(),n=ht();window.__NUXT_DEVTOOLS_VIEW__={setClient(r){e.value!==r&&(e.value=r,r.hooks.hook("host:update:reactivity",()=>{jd(e)}),r.hooks.hook("host:inspector:update",s=>{t.value=s}),r.hooks.hook("host:inspector:click",async(s,o,i,a)=>{const l=`./${o}:${i}:${a}`;await De.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)})}),tP=[Kb,Xb,Yb,T$,S$,A$,R$,O$,N$,Zk,eP],nP=Ae({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(e,{slots:t}){const n=rP({duration:e.duration,throttle:e.throttle}),r=Ie();return r.hook("page:start",n.start),r.hook("page:finish",n.finish),r.hook("vue:error",n.finish),Or(n.clear),()=>et("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 rP(e){const t=te(0),n=te(!1),r=pe(()=>1e4/e.duration);let s=null,o=null;function i(){l(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,f()},e.throttle):(n.value=!0,f())}function a(){t.value=100,d()}function l(){clearInterval(s),clearTimeout(o),s=null,o=null}function c(u){t.value=Math.min(100,t.value+u)}function d(){l(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function f(){s=setInterval(()=>{c(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:l}}const sP=Ae({__name:"Notification",setup(e){const t=te(!1),n=te(),r=te(),s=te();return vE(o=>{r.value=o.message,n.value=o.icon,s.value=o.classes??"text-primary",t.value=!0,setTimeout(()=>{t.value=!1},o.duration??1500)}),(o,i)=>(le(),Te("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-50":"","text-center":"",class:Ke(ue(t)?"":"pointer-events-none overflow-hidden")},[ce("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:mn(ue(t)?{}:{transform:"translateY(-300%)"}),class:Ke([ue(t)?"shadow":"shadow-none",ue(s)])},[ue(n)?(le(),Te("div",{key:0,class:Ke(ue(n))},null,2)):Qe("",!0),ce("div",null,St(ue(r)),1)],6)],2))}}),Xs=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},oP={},iP={class:"n-loading n-panel-grids-center"},aP={class:"flex flex-col animate-pulse items-center text-lg"},lP=ce("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function cP(e,t){return le(),Te("div",iP,[ce("div",aP,[lP,yt(e.$slots,"default",{},()=>[ze(" Loading... ")])])])}const uP=Xs(oP,[["render",cP]]),Ci=Ae({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(le(),Te("div",{class:Ke(["n-icon",t.icon])},null,2))}}),Li=Ae({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const r=Ci;return le(),Ce(Rl(t.to?ue(Vl):"button"),Vn({to:t.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:xe(()=>[yt(t.$slots,"icon",{},()=>[t.icon?(le(),Ce(r,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):Qe("",!0)]),yt(t.$slots,"default")]),_:3},16,["to"])}}}),fP=Ae({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=te(!1);return xn(()=>{r.value=!0}),s=>{if(r.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=s.fallback||s.placeholder||"",a=s.fallbackTag||s.placeholderTag||"span";return Te(a,n,i)}}}),dP={name:k$,props:{placeholder:String,tag:{type:String,default:"span"}}};function hP(e,t,n,r,s,o){const i=fP;return le(),Ce(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:xe(()=>[yt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const pP=Xs(dP,[["render",hP]]),mP=Ae({__name:"NDarkToggle",setup(e){const t=xi(),n=pe({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function s(i){if(!r||!i){n.value=!n.value;return}const a=i.clientX,l=i.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(l,innerHeight-l));document.startViewTransition(async()=>{n.value=!n.value,await Rt()}).ready.then(()=>{const f=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:n.value?[...f].reverse():f},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const o={mode:t,isDark:n,toggle:s};return(i,a)=>{const l=pP;return le(),Ce(l,{tag:"span"},{default:xe(()=>[yt(i.$slots,"default",yd(Il(o)))]),_:3})}}}),gP={px3:"",py2:"",border:"b base",flex:"~ gap-2"},vP=ce("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),_P=ce("div",{"carbon-settings-adjust":"","translate-y--1px":""},null,-1),yP={px3:"",py2:"",flex:"~ gap2"},bP=Ae({__name:"DockingPanel",setup(e){const t=lt(),n=Ie();function r(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),jd(t)}function s(){location.reload()}return(o,i)=>{const a=Li,l=mP;return le(),Te("div",null,[ce("div",gP,[ae(l,null,{default:xe(({toggle:c,isDark:d})=>[ae(a,{n:"sm primary",onClick:c},{default:xe(()=>[vP,ze(" "+St(d.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),ae(a,{n:"sm primary",to:"/settings"},{default:xe(()=>[_P,ze(" Settings ")]),_:1})]),ce("div",yP,[ae(a,{n:"solid primary xs",onClick:r},{default:xe(()=>[ze(" Refetch Data ")]),_:1}),ae(a,{n:"solid primary xs",onClick:s},{default:xe(()=>[ze(" Refresh Page ")]),_:1})])])}}}),wP=["src","alt"],EP=["title"],lc=Ae({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(le(),Te("img",Vn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,wP)):(le(),Te("div",Vn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,EP))}}),xP={"translate-y-0.5px":""},TP={key:0,hidden:"","lg:block":""},SP=Ae({__name:"SideNavItem",props:{tab:{}},setup(e){const t=e,n=pi(),r=pe(()=>"badge"in t.tab&&t.tab.badge?.()),s=pe(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=pe(()=>n.path.startsWith(s.value));return(i,a)=>{const l=lc,c=Vl,d=bn("VTooltip");return le(),Ce(d,{placement:"right"},{popper:xe(()=>[ce("div",null,St(i.tab.title),1),"extraTabVNode"in i.tab&&i.tab.extraTabVNode?(le(),Te("div",TP,[(le(),Ce(Rl(i.tab.extraTabVNode)))])):Qe("",!0)]),default:xe(()=>[ae(c,{to:ue(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]=f=>"onClick"in i.tab&&i.tab.onClick?.())},{default:xe(()=>[ae(l,{"text-xl":"",icon:i.tab.icon,title:i.tab.title,"show-title":!1},null,8,["icon","title"]),ue(r)?(le(),Te("div",{key:0,absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Ke(ue(o)?"bg-primary":"bg-gray")},[ce("span",xP,St(ue(r)),1)],2)):Qe("",!0)]),_:1},8,["to"])]),_:1})}}});function $P(){const e=d$(),t=sc(),n=ht(),r=pe(()=>[...n.getRoutes().filter(o=>o.path.startsWith("/modules/")&&o.meta.title&&!o.meta.wip).filter(o=>!o.meta.experimental||o.meta.experimental&&t.showExperimentalFeatures.value).sort((o,i)=>(o.meta.order||100)-(i.meta.order||100)).map(o=>({name:o.name,path:o.path,...o.meta})),...(e.value||[]).filter(o=>o.name.startsWith("builtin-"))]),s=pe(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return pe(()=>[...r.value,...s.value])}function xm(){return{app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function Zf(e){return pe(()=>{const t=xm();for(const n of ue(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 Tm(){const e=$P(),t=sc(),n=Object.keys(xm()),r=e.value.map(s=>s?.show?.());return pe(()=>e.value.filter((s,o)=>{const i=s;return!(r[o]&&!Md(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 nO(){const e=Qp(),t=tm();return pe(()=>(e.value?.getRoutes()||[]).map(n=>em(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const kP={border:"r base",flex:"~ col","z-100":"","h-full":"","items-center":"","of-hidden":"","bg-base":""},PP={flex:"~ none col items-center"},AP=["title"],RP=ce("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),OP=[RP],NP=ce("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),CP={flex:"~ auto col gap-0.5 items-center","of-hidden":"",py1:""},LP={key:0,my1:"","h-1px":"","w-8":"",border:"b base"},IP=ce("div",{"flex-auto":""},null,-1),jP={flex:"~ none col items-center gap-1",pb1:""},MP={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},DP={"translate-y-0.5px":""},FP={flex:"~ col gap-1","max-w-80":"",py1:""},BP={key:0,"h-1px":"",border:"b base"},HP={flex:"~ wrap",px1:""},UP=45,WP=Ae({__name:"SideNav",setup(e){const t=lt(),n=Tm(),r=te(!1),s=te(!1),o=te(),i=te(),a=te();function l(){r.value=!r.value}function c(){s.value=!s.value}const{height:d}=Kw(),f=pe(()=>{const x=d.value-130;return Math.max(0,Math.floor(x/UP))}),u=pe(()=>n.value.slice(0,f.value)),h=pe(()=>n.value.slice(f.value)),p=Zf(u),v=Zf(h);return cw(o,x=>{i.value&&x.composedPath().includes(i.value)||a.value&&x.composedPath().includes(a.value)||(r.value=!1,s.value=!1)},{detectIframe:!0}),(x,_)=>{const g=bP,b=bn("VDropdown"),y=SP,S=lc,m=Vl;return le(),Te("div",kP,[ce("div",PP,[ae(b,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:ue(r),"auto-hide":!0},{popper:xe(()=>[ae(g,{ref_key:"panel",ref:o},null,512)]),default:xe(()=>[ce("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:Ke(ue(t)?"":"saturate-0"),title:ue(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:l},OP,10,AP)]),_:1},8,["shown"]),NP]),ce("div",CP,[(le(!0),Te(je,null,hs(ue(p),([T,E],w)=>(le(),Te(je,{key:T},[E.length?(le(),Te(je,{key:0},[w?(le(),Te("div",LP)):Qe("",!0),(le(!0),Te(je,null,hs(E,$=>(le(),Ce(y,{key:$.name,tab:$},null,8,["tab"]))),128))],64)):Qe("",!0)],64))),128)),IP]),ce("div",jP,[ue(h).length?(le(),Ce(b,{key:0,placement:"left-end",distance:12,triggers:[],shown:ue(s),"auto-hide":!0},{popper:xe(()=>[ce("div",FP,[(le(!0),Te(je,null,hs(ue(v),([T,E],w)=>(le(),Te(je,{key:T},[E.length?(le(),Te(je,{key:0},[w?(le(),Te("div",BP)):Qe("",!0),ce("div",HP,[(le(!0),Te(je,null,hs(E,$=>(le(),Ce(y,{key:$.name,tab:$},null,8,["tab"]))),128))])],64)):Qe("",!0)],64))),128))])]),default:xe(()=>[ce("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},[ae(S,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),ce("div",MP,[ce("span",DP,St(ue(h).length),1)])],512)]),_:1},8,["shown"])):Qe("",!0),ae(m,{to:"/settings",flex:"~ items-center justify-center",hover:"bg-active",relative:"",block:"","h-10":"","w-10":"","select-none":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active"},{default:xe(()=>[ae(S,{"text-xl":"",icon:"i-carbon-settings-adjust",title:"Settings","show-title":!1})]),_:1})])])}}}),VP=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),GP=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&VP(e.route,n));return typeof r=="function"?r(e.route):r},zP=(e,t)=>({default:()=>e?et(cv,e===!0?{}:e,t):t}),Qa=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?et(e,t,n):n.default?.()}),qP=Ae({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t}){const n=Ie();return()=>et(pp,{name:e.name,route:e.route,...t},{default:r=>{if(!r.Component)return;const s=GP(r,e.pageKey),o=n.deferHydration(),i=!!(e.transition??r.route.meta.pageTransition??Na),a=i&&XP([e.transition,r.route.meta.pageTransition,Na,{onAfterLeave:()=>{n.callHook("page:transition:finish",r.Component)}}].filter(Boolean));return Qa(hi,i&&a,zP(e.keepalive??r.route.meta.keepalive??Lb,et(qd,{suspensible:!0,onPending:()=>n.callHook("page:start",r.Component),onResolve:()=>{Rt(()=>n.callHook("page:finish",r.Component).finally(o))}},{default:()=>et(YP,{key:s,routeProps:r,pageKey:s,hasTransition:i})}))).default()}})}});function KP(e){return Array.isArray(e)?e:e?[e]:[]}function XP(e){const t=e.map(n=>({...n,onAfterLeave:KP(n.onAfterLeave)}));return Ub(...t)}const YP=Ae({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]=pe(()=>t===e.pageKey?e.routeProps.route[s]:n[s]);return fr("_route",at(r)),()=>et(e.routeProps.Component)}}),JP=Ae({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(e,t){const n=await sr[e.name]().then(r=>r.default||r);return()=>et(n,t.attrs,t.slots)}}),QP=Ae({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=dt("_route"),r=n===pi()?Z0():n,s=pe(()=>ue(e.name)??r.meta.layout??"default");return()=>{const o=s.value&&s.value in sr,i=r.meta.layoutTransition??Cb;return Qa(hi,o&&i,{default:()=>Qa(JP,o&&{key:s.value,name:s.value,...t.attrs},t.slots).default()}).default()}}}),ZP={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},eA=Ae({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const r=Sp(e,"modelValue",t,{passive:!0});return(s,o)=>{const i=Ci;return le(),Te("div",ZP,[yt(s.$slots,"icon",{},()=>[s.icon?(le(),Ce(i,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Qe("",!0)]),$l(ce("input",Vn({"onUpdate:modelValue":o[0]||(o[0]=a=>Me(r)?r.value=a:null)},s.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[E_,ue(r)]])])}}}),tA={},nA={class:"n-card n-card-base"};function rA(e,t){return le(),Te("div",nA,[yt(e.$slots,"default")])}const sA=Xs(tA,[["render",rA]]);/*!
|
|
14
14
|
* tabbable 6.1.2
|
|
15
15
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
16
16
|
*/var Sm=["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])"],Yo=Sm.join(","),$m=typeof Element>"u",Kn=$m?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Jo=!$m&&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},Qo=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},oA=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},km=function(t,n,r){if(Qo(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(Yo));return n&&Kn.call(t,Yo)&&s.unshift(t),s=s.filter(r),s},Pm=function e(t,n,r){for(var s=[],o=Array.from(t);o.length;){var i=o.shift();if(!Qo(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),l=a.length?a:i.children,c=e(l,!0,r);r.flatten?s.push.apply(s,c):s.push({scopeParent:i,candidates:c})}else{var d=Kn.call(i,Yo);d&&r.filter(i)&&(n||!t.includes(i))&&s.push(i);var f=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),u=!Qo(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(f&&u){var h=e(f===!0?i.children:f.children,!0,r);r.flatten?s.push.apply(s,h):s.push({scopeParent:i,candidates:h})}else o.unshift.apply(o,i.children)}}return s},Am=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||oA(t))&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},iA=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},Rm=function(t){return t.tagName==="INPUT"},aA=function(t){return Rm(t)&&t.type==="hidden"},lA=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},cA=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},uA=function(t){if(!t.name)return!0;var n=t.form||Jo(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=cA(s,t.form);return!o||o===t},fA=function(t){return Rm(t)&&t.type==="radio"},dA=function(t){return fA(t)&&!uA(t)},hA=function(t){var n,r=t&&Jo(t),s=(n=r)===null||n===void 0?void 0:n.host,o=!1;if(r&&r!==t){var i,a,l;for(o=!!((i=s)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(s)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!o&&s;){var c,d,f;r=Jo(s),s=(c=r)===null||c===void 0?void 0:c.host,o=!!((d=s)!==null&&d!==void 0&&(f=d.ownerDocument)!==null&&f!==void 0&&f.contains(s))}}return o},ed=function(t){var n=t.getBoundingClientRect(),r=n.width,s=n.height;return r===0&&s===0},pA=function(t,n){var r=n.displayCheck,s=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=Kn.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(Kn.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=Jo(t);if(l&&!l.shadowRoot&&s(l)===!0)return ed(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(hA(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return ed(t);return!1},mA=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 Kn.call(n,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}n=n.parentElement}return!1},Zo=function(t,n){return!(n.disabled||Qo(n)||aA(n)||pA(n,t)||lA(n)||mA(n))},Za=function(t,n){return!(dA(n)||Am(n)<0||!Zo(t,n))},gA=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},vA=function e(t){var n=[],r=[];return t.forEach(function(s,o){var i=!!s.scopeParent,a=i?s.scopeParent:s,l=Am(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(iA).reduce(function(s,o){return o.isScope?s.push.apply(s,o.content):s.push(o.content),s},[]).concat(n)},_A=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Pm([t],n.includeContainer,{filter:Za.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:gA}):r=km(t,n.includeContainer,Za.bind(null,n)),vA(r)},yA=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Pm([t],n.includeContainer,{filter:Zo.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=km(t,n.includeContainer,Zo.bind(null,n)),r},yo=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Kn.call(t,Yo)===!1?!1:Za(n,t)},bA=Sm.concat("iframe").join(","),fa=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Kn.call(t,bA)===!1?!1:Zo(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 td(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 nd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?td(Object(n),!0).forEach(function(r){wA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):td(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function wA(e,t,n){return t=xA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function EA(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 xA(e){var t=EA(e,"string");return typeof t=="symbol"?t:String(t)}var rd={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()}},TA=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},SA=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},As=function(t){return t.key==="Tab"||t.keyCode===9},$A=function(t){return As(t)&&!t.shiftKey},kA=function(t){return As(t)&&t.shiftKey},sd=function(t){return setTimeout(t,0)},od=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},us=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},bo=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},PA=[],AA=function(t,n){var r=n?.document||document,s=n?.trapStack||PA,o=nd({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:$A,isKeyBackward:kA},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a,l=function($,k,P){return $&&$[k]!==void 0?$[k]:o[P||k]},c=function($,k){var P=typeof k?.composedPath=="function"?k.composedPath():void 0;return i.containerGroups.findIndex(function(R){var A=R.container,I=R.tabbableNodes;return A.contains($)||P?.includes(A)||I.find(function(j){return j===$})})},d=function($){var k=o[$];if(typeof k=="function"){for(var P=arguments.length,R=new Array(P>1?P-1:0),A=1;A<P;A++)R[A-1]=arguments[A];k=k.apply(void 0,R)}if(k===!0&&(k=void 0),!k){if(k===void 0||k===!1)return k;throw new Error("`".concat($,"` was specified but was not a node, or did not return a node"))}var I=k;if(typeof k=="string"&&(I=r.querySelector(k),!I))throw new Error("`".concat($,"` as selector refers to no known node"));return I},f=function(){var $=d("initialFocus");if($===!1)return!1;if($===void 0||!fa($,o.tabbableOptions))if(c(r.activeElement)>=0)$=r.activeElement;else{var k=i.tabbableGroups[0],P=k&&k.firstTabbableNode;$=P||d("fallbackFocus")}if(!$)throw new Error("Your focus-trap needs to have at least one focusable element");return $},u=function(){if(i.containerGroups=i.containers.map(function($){var k=_A($,o.tabbableOptions),P=yA($,o.tabbableOptions);return{container:$,tabbableNodes:k,focusableNodes:P,firstTabbableNode:k.length>0?k[0]:null,lastTabbableNode:k.length>0?k[k.length-1]:null,nextTabbableNode:function(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,j=P.findIndex(function(B){return B===A});if(!(j<0))return I?P.slice(j+1).find(function(B){return yo(B,o.tabbableOptions)}):P.slice(0,j).reverse().find(function(B){return yo(B,o.tabbableOptions)})}}}),i.tabbableGroups=i.containerGroups.filter(function($){return $.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},h=function w($){if($!==!1&&$!==r.activeElement){if(!$||!$.focus){w(f());return}$.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=$,TA($)&&$.select()}},p=function($){var k=d("setReturnFocus",$);return k||(k===!1?!1:$)},v=function($){var k=bo($);if(!(c(k,$)>=0)){if(us(o.clickOutsideDeactivates,$)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}us(o.allowOutsideClick,$)||$.preventDefault()}},x=function($){var k=bo($),P=c(k,$)>=0;P||k instanceof Document?P&&(i.mostRecentlyFocusedNode=k):($.stopImmediatePropagation(),h(i.mostRecentlyFocusedNode||f()))},_=function($){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,P=bo($);u();var R=null;if(i.tabbableGroups.length>0){var A=c(P,$),I=A>=0?i.containerGroups[A]:void 0;if(A<0)k?R=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:R=i.tabbableGroups[0].firstTabbableNode;else if(k){var j=od(i.tabbableGroups,function(re){var he=re.firstTabbableNode;return P===he});if(j<0&&(I.container===P||fa(P,o.tabbableOptions)&&!yo(P,o.tabbableOptions)&&!I.nextTabbableNode(P,!1))&&(j=A),j>=0){var B=j===0?i.tabbableGroups.length-1:j-1,H=i.tabbableGroups[B];R=H.lastTabbableNode}else As($)||(R=I.nextTabbableNode(P,!1))}else{var q=od(i.tabbableGroups,function(re){var he=re.lastTabbableNode;return P===he});if(q<0&&(I.container===P||fa(P,o.tabbableOptions)&&!yo(P,o.tabbableOptions)&&!I.nextTabbableNode(P))&&(q=A),q>=0){var ie=q===i.tabbableGroups.length-1?0:q+1,ne=i.tabbableGroups[ie];R=ne.firstTabbableNode}else As($)||(R=I.nextTabbableNode(P))}}else R=d("fallbackFocus");R&&(As($)&&$.preventDefault(),h(R))},g=function($){if(SA($)&&us(o.escapeDeactivates,$)!==!1){$.preventDefault(),a.deactivate();return}(o.isKeyForward($)||o.isKeyBackward($))&&_($,o.isKeyBackward($))},b=function($){var k=bo($);c(k,$)>=0||us(o.clickOutsideDeactivates,$)||us(o.allowOutsideClick,$)||($.preventDefault(),$.stopImmediatePropagation())},y=function(){if(i.active)return rd.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?sd(function(){h(f())}):h(f()),r.addEventListener("focusin",x,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{capture:!0,passive:!1}),r.addEventListener("click",b,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),a},S=function(){if(i.active)return r.removeEventListener("focusin",x,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!0),r.removeEventListener("click",b,!0),r.removeEventListener("keydown",g,!0),a},m=function($){var k=$.some(function(P){var R=Array.from(P.removedNodes);return R.some(function(A){return A===i.mostRecentlyFocusedNode})});k&&h(f())},T=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(m):void 0,E=function(){T&&(T.disconnect(),i.active&&!i.paused&&i.containers.map(function($){T.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 k=l($,"onActivate"),P=l($,"onPostActivate"),R=l($,"checkCanFocusTrap");R||u(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,k?.();var A=function(){R&&u(),y(),E(),P?.()};return R?(R(i.containers.concat()).then(A,A),this):(A(),this)},deactivate:function($){if(!i.active)return this;var k=nd({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},$);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,S(),i.active=!1,i.paused=!1,E(),rd.deactivateTrap(s,a);var P=l(k,"onDeactivate"),R=l(k,"onPostDeactivate"),A=l(k,"checkCanReturnFocus"),I=l(k,"returnFocus","returnFocusOnDeactivate");P?.();var j=function(){sd(function(){I&&h(p(i.nodeFocusedBeforeActivation)),R?.()})};return I&&A?(A(p(i.nodeFocusedBeforeActivation)).then(j,j),this):(j(),this)},pause:function($){if(i.paused||!i.active)return this;var k=l($,"onPause"),P=l($,"onPostPause");return i.paused=!0,k?.(),S(),E(),P?.(),this},unpause:function($){if(!i.paused||!i.active)return this;var k=l($,"onUnpause"),P=l($,"onPostUnpause");return i.paused=!1,k?.(),u(),y(),E(),P?.(),this},updateContainerElements:function($){var k=[].concat($).filter(Boolean);return i.containers=k.map(function(P){return typeof P=="string"?r.querySelector(P):P}),i.active&&u(),E(),this}},a.updateContainerElements(t),a},RA=Object.defineProperty,OA=Object.defineProperties,NA=Object.getOwnPropertyDescriptors,ei=Object.getOwnPropertySymbols,Om=Object.prototype.hasOwnProperty,Nm=Object.prototype.propertyIsEnumerable,id=(e,t,n)=>t in e?RA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,CA=(e,t)=>{for(var n in t||(t={}))Om.call(t,n)&&id(e,n,t[n]);if(ei)for(var n of ei(t))Nm.call(t,n)&&id(e,n,t[n]);return e},LA=(e,t)=>OA(e,NA(t)),IA=(e,t)=>{var n={};for(var r in e)Om.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ei)for(var r of ei(e))t.indexOf(r)<0&&Nm.call(e,r)&&(n[r]=e[r]);return n};function jA(e,t={}){let n;const r=t,{immediate:s}=r,o=IA(r,["immediate"]),i=te(!1),a=te(!1),l=u=>n&&n.activate(u),c=u=>n&&n.deactivate(u),d=()=>{n&&(n.pause(),a.value=!0)},f=()=>{n&&(n.unpause(),a.value=!1)};return Fe(()=>ft(e),u=>{u&&(n=AA(u,LA(CA({},o),{onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}})),s&&l())},{flush:"post"}),Qt(()=>c()),{hasFocus:i,isPaused:a,activate:l,deactivate:c,pause:d,unpause:f}}const MA={inheritAttrs:!1},cc=Ae({...MA,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const r=Sp(e,"modelValue",t,{passive:!0}),s=te(null),o=te(!1),{activate:i,deactivate:a}=jA(pe(()=>s.value||document.body),{immediate:!1});Wn(()=>{!o.value&&r.value&&(o.value=!0),r.value&&s.value?Rt(i):a()});function l(){r.value=!1,t("close")}return(c,d)=>{const f=sA;return o.value?(le(),Ce(mh,{key:0,to:"body"},[$l(ce("div",{class:Ke(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[ue(r)?"":"op0 pointer-events-none visibility-none"]])},[ce("div",{class:Ke(["absolute inset-0 -z-1",[c.dim?"bg-black/50":""]]),onClick:d[0]||(d[0]=u=>l())},null,2),ae(f,Vn(c.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:xe(()=>[yt(c.$slots,"default")]),_:3},16)],2),[[Oh,ue(r)]])])):Qe("",!0)}}}),el=at(new Map);function DA(){const e=Tm(),t=ht(),n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Nuxt Documentations",icon:"logos-nuxt-icon",action:()=>BA()}],r=pe(()=>e.value.map(s=>({id:`tab:${s.name}`,title:s.title||s.name,icon:s.icon,action:()=>{"onClick"in s&&s.onClick?s.onClick():t.push("path"in s&&s.path?s.path:`/modules/custom-${s.name}`)}})));return pe(()=>[...n,...r.value,...Array.from(el.values()).flatMap(s=>Md(s))])}function rO(e){const t=u$();el.set(t,e),Ms(()=>{el.delete(t)})}let da;const FA=[[":components:","i-carbon-assembly-cluster"],[":modules:","i-carbon-cube"],[":commands:","i-carbon-terminal"],[":directory-structure:","i-carbon-folder"],[":composables:","i-carbon-function"],[":getting-started:","i-carbon-idea"],[":api:","carbon-api-1"]];async function BA(){return da||(da=(await Re(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:FA.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),da}function tn(e){return Array.isArray?Array.isArray(e):Im(e)==="[object Array]"}const HA=1/0;function UA(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-HA?"-0":t}function WA(e){return e==null?"":UA(e)}function Ft(e){return typeof e=="string"}function Cm(e){return typeof e=="number"}function VA(e){return e===!0||e===!1||GA(e)&&Im(e)=="[object Boolean]"}function Lm(e){return typeof e=="object"}function GA(e){return Lm(e)&&e!==null}function ut(e){return e!=null}function ha(e){return!e.trim().length}function Im(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const zA="Incorrect 'index' type",qA=e=>`Invalid value for key ${e}`,KA=e=>`Pattern length exceeds max of ${e}.`,XA=e=>`Missing ${e} property in key`,YA=e=>`Property 'weight' in key '${e}' must be a positive integer`,ad=Object.prototype.hasOwnProperty;class JA{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let s=jm(r);n+=s.weight,this._keys.push(s),this._keyMap[s.id]=s,n+=s.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function jm(e){let t=null,n=null,r=null,s=1,o=null;if(Ft(e)||tn(e))r=e,t=ld(e),n=tl(e);else{if(!ad.call(e,"name"))throw new Error(XA("name"));const i=e.name;if(r=i,ad.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(YA(i));t=ld(i),n=tl(i),o=e.getFn}return{path:t,id:n,weight:s,src:r,getFn:o}}function ld(e){return tn(e)?e:e.split(".")}function tl(e){return tn(e)?e.join("."):e}function QA(e,t){let n=[],r=!1;const s=(o,i,a)=>{if(ut(o))if(!i[a])n.push(o);else{let l=i[a];const c=o[l];if(!ut(c))return;if(a===i.length-1&&(Ft(c)||Cm(c)||VA(c)))n.push(WA(c));else if(tn(c)){r=!0;for(let d=0,f=c.length;d<f;d+=1)s(c[d],i,a+1)}else i.length&&s(c,i,a+1)}};return s(e,Ft(t)?t.split("."):t,0),r?n:n[0]}const ZA={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},eR={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},tR={location:0,threshold:.6,distance:100},nR={useExtendedSearch:!1,getFn:QA,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var ye={...eR,...ZA,...tR,...nR};const rR=/[^ ]+/g;function sR(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(s){const o=s.match(rR).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}class uc{constructor({getFn:t=ye.getFn,fieldNormWeight:n=ye.fieldNormWeight}={}){this.norm=sR(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Ft(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Ft(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!ut(t)||ha(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((s,o)=>{let i=s.getFn?s.getFn(t):this.getFn(t,s.path);if(ut(i)){if(tn(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:d}=l.pop();if(ut(d))if(Ft(d)&&!ha(d)){let f={v:d,i:c,n:this.norm.get(d)};a.push(f)}else tn(d)&&d.forEach((f,u)=>{l.push({nestedArrIndex:u,value:f})})}r.$[o]=a}else if(Ft(i)&&!ha(i)){let a={v:i,n:this.norm.get(i)};r.$[o]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Mm(e,t,{getFn:n=ye.getFn,fieldNormWeight:r=ye.fieldNormWeight}={}){const s=new uc({getFn:n,fieldNormWeight:r});return s.setKeys(e.map(jm)),s.setSources(t),s.create(),s}function oR(e,{getFn:t=ye.getFn,fieldNormWeight:n=ye.fieldNormWeight}={}){const{keys:r,records:s}=e,o=new uc({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(s),o}function wo(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:s=ye.distance,ignoreLocation:o=ye.ignoreLocation}={}){const i=t/e.length;if(o)return i;const a=Math.abs(r-n);return s?i+a/s:a?1:i}function iR(e=[],t=ye.minMatchCharLength){let n=[],r=-1,s=-1,o=0;for(let i=e.length;o<i;o+=1){let a=e[o];a&&r===-1?r=o:!a&&r!==-1&&(s=o-1,s-r+1>=t&&n.push([r,s]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}const In=32;function aR(e,t,n,{location:r=ye.location,distance:s=ye.distance,threshold:o=ye.threshold,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,includeMatches:l=ye.includeMatches,ignoreLocation:c=ye.ignoreLocation}={}){if(t.length>In)throw new Error(KA(In));const d=t.length,f=e.length,u=Math.max(0,Math.min(r,f));let h=o,p=u;const v=a>1||l,x=v?Array(f):[];let _;for(;(_=e.indexOf(t,p))>-1;){let T=wo(t,{currentLocation:_,expectedLocation:u,distance:s,ignoreLocation:c});if(h=Math.min(T,h),p=_+d,v){let E=0;for(;E<d;)x[_+E]=1,E+=1}}p=-1;let g=[],b=1,y=d+f;const S=1<<d-1;for(let T=0;T<d;T+=1){let E=0,w=y;for(;E<w;)wo(t,{errors:T,currentLocation:u+w,expectedLocation:u,distance:s,ignoreLocation:c})<=h?E=w:y=w,w=Math.floor((y-E)/2+E);y=w;let $=Math.max(1,u-w+1),k=i?f:Math.min(u+w,f)+d,P=Array(k+2);P[k+1]=(1<<T)-1;for(let A=k;A>=$;A-=1){let I=A-1,j=n[e.charAt(I)];if(v&&(x[I]=+!!j),P[A]=(P[A+1]<<1|1)&j,T&&(P[A]|=(g[A+1]|g[A])<<1|1|g[A+1]),P[A]&S&&(b=wo(t,{errors:T,currentLocation:I,expectedLocation:u,distance:s,ignoreLocation:c}),b<=h)){if(h=b,p=I,p<=u)break;$=Math.max(1,2*u-p)}}if(wo(t,{errors:T+1,currentLocation:u,expectedLocation:u,distance:s,ignoreLocation:c})>h)break;g=P}const m={isMatch:p>=0,score:Math.max(.001,b)};if(v){const T=iR(x,a);T.length?l&&(m.indices=T):m.isMatch=!1}return m}function lR(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const s=e.charAt(n);t[s]=(t[s]||0)|1<<r-n-1}return t}class Dm{constructor(t,{location:n=ye.location,threshold:r=ye.threshold,distance:s=ye.distance,includeMatches:o=ye.includeMatches,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,isCaseSensitive:l=ye.isCaseSensitive,ignoreLocation:c=ye.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const d=(u,h)=>{this.chunks.push({pattern:u,alphabet:lR(u),startIndex:h})},f=this.pattern.length;if(f>In){let u=0;const h=f%In,p=f-h;for(;u<p;)d(this.pattern.substr(u,In),u),u+=In;if(h){const v=f-In;d(this.pattern.substr(v),v)}}else d(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return r&&(p.indices=[[0,t.length-1]]),p}const{location:s,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let d=[],f=0,u=!1;this.chunks.forEach(({pattern:p,alphabet:v,startIndex:x})=>{const{isMatch:_,score:g,indices:b}=aR(t,p,v,{location:s+x,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});_&&(u=!0),f+=g,_&&b&&(d=[...d,...b])});let h={isMatch:u,score:u?f/this.chunks.length:1};return u&&r&&(h.indices=d),h}}class $n{constructor(t){this.pattern=t}static isMultiMatch(t){return cd(t,this.multiRegex)}static isSingleMatch(t){return cd(t,this.singleRegex)}search(){}}function cd(e,t){const n=e.match(t);return n?n[1]:null}class cR extends $n{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class uR extends $n{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class fR extends $n{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class dR extends $n{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class hR extends $n{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class pR extends $n{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Fm extends $n{constructor(t,{location:n=ye.location,threshold:r=ye.threshold,distance:s=ye.distance,includeMatches:o=ye.includeMatches,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,isCaseSensitive:l=ye.isCaseSensitive,ignoreLocation:c=ye.ignoreLocation}={}){super(t),this._bitapSearch=new Dm(t,{location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Bm extends $n{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const s=[],o=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+o,s.push([r,n-1]);const i=!!s.length;return{isMatch:i,score:i?0:1,indices:s}}}const nl=[cR,Bm,fR,dR,pR,hR,uR,Fm],ud=nl.length,mR=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,gR="|";function vR(e,t={}){return e.split(gR).map(n=>{let r=n.trim().split(mR).filter(o=>o&&!!o.trim()),s=[];for(let o=0,i=r.length;o<i;o+=1){const a=r[o];let l=!1,c=-1;for(;!l&&++c<ud;){const d=nl[c];let f=d.isMultiMatch(a);f&&(s.push(new d(f,t)),l=!0)}if(!l)for(c=-1;++c<ud;){const d=nl[c];let f=d.isSingleMatch(a);if(f){s.push(new d(f,t));break}}}return s})}const _R=new Set([Fm.type,Bm.type]);class yR{constructor(t,{isCaseSensitive:n=ye.isCaseSensitive,includeMatches:r=ye.includeMatches,minMatchCharLength:s=ye.minMatchCharLength,ignoreLocation:o=ye.ignoreLocation,findAllMatches:i=ye.findAllMatches,location:a=ye.location,threshold:l=ye.threshold,distance:c=ye.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:s,findAllMatches:i,ignoreLocation:o,location:a,threshold:l,distance:c},this.pattern=n?t:t.toLowerCase(),this.query=vR(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:s}=this.options;t=s?t:t.toLowerCase();let o=0,i=[],a=0;for(let l=0,c=n.length;l<c;l+=1){const d=n[l];i.length=0,o=0;for(let f=0,u=d.length;f<u;f+=1){const h=d[f],{isMatch:p,indices:v,score:x}=h.search(t);if(p){if(o+=1,a+=x,r){const _=h.constructor.type;_R.has(_)?i=[...i,...v]:i.push(v)}}else{a=0,o=0,i.length=0;break}}if(o){let f={isMatch:!0,score:a/o};return r&&(f.indices=i),f}}return{isMatch:!1,score:1}}}const rl=[];function bR(...e){rl.push(...e)}function sl(e,t){for(let n=0,r=rl.length;n<r;n+=1){let s=rl[n];if(s.condition(e,t))return new s(e,t)}return new Dm(e,t)}const ti={AND:"$and",OR:"$or"},ol={PATH:"$path",PATTERN:"$val"},il=e=>!!(e[ti.AND]||e[ti.OR]),wR=e=>!!e[ol.PATH],ER=e=>!tn(e)&&Lm(e)&&!il(e),fd=e=>({[ti.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Hm(e,t,{auto:n=!0}={}){const r=s=>{let o=Object.keys(s);const i=wR(s);if(!i&&o.length>1&&!il(s))return r(fd(s));if(ER(s)){const l=i?s[ol.PATH]:o[0],c=i?s[ol.PATTERN]:s[l];if(!Ft(c))throw new Error(qA(l));const d={keyId:tl(l),pattern:c};return n&&(d.searcher=sl(c,t)),d}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=s[l];tn(c)&&c.forEach(d=>{a.children.push(r(d))})}),a};return il(e)||(e=fd(e)),r(e)}function xR(e,{ignoreFieldNorm:t=ye.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:s,norm:o,score:i})=>{const a=s?s.weight:null;r*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:o))}),n.score=r})}function TR(e,t){const n=e.matches;t.matches=[],ut(n)&&n.forEach(r=>{if(!ut(r.indices)||!r.indices.length)return;const{indices:s,value:o}=r;let i={indices:s,value:o};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function SR(e,t){t.score=e.score}function $R(e,t,{includeMatches:n=ye.includeMatches,includeScore:r=ye.includeScore}={}){const s=[];return n&&s.push(TR),r&&s.push(SR),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return s.length&&s.forEach(l=>{l(o,a)}),a})}class Ir{constructor(t,n={},r){this.options={...ye,...n},this.options.useExtendedSearch,this._keyStore=new JA(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof uc))throw new Error(zA);this._myIndex=n||Mm(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){ut(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,s=this._docs.length;r<s;r+=1){const o=this._docs[r];t(o,r)&&(this.removeAt(r),r-=1,s-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:s,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let l=Ft(t)?Ft(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return xR(l,{ignoreFieldNorm:a}),o&&l.sort(i),Cm(n)&&n>-1&&(l=l.slice(0,n)),$R(l,this._docs,{includeMatches:r,includeScore:s})}_searchStringList(t){const n=sl(t,this.options),{records:r}=this._myIndex,s=[];return r.forEach(({v:o,i,n:a})=>{if(!ut(o))return;const{isMatch:l,score:c,indices:d}=n.searchIn(o);l&&s.push({item:o,idx:i,matches:[{score:c,value:o,norm:a,indices:d}]})}),s}_searchLogical(t){const n=Hm(t,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:f,searcher:u}=a,h=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(l,f),searcher:u});return h&&h.length?[{idx:c,item:l,matches:h}]:[]}const d=[];for(let f=0,u=a.children.length;f<u;f+=1){const h=a.children[f],p=r(h,l,c);if(p.length)d.push(...p);else if(a.operator===ti.AND)return[]}return d},s=this._myIndex.records,o={},i=[];return s.forEach(({$:a,i:l})=>{if(ut(a)){let c=r(n,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},i.push(o[l])),c.forEach(({matches:d})=>{o[l].matches.push(...d)}))}}),i}_searchObjectList(t){const n=sl(t,this.options),{keys:r,records:s}=this._myIndex,o=[];return s.forEach(({$:i,i:a})=>{if(!ut(i))return;let l=[];r.forEach((c,d)=>{l.push(...this._findMatches({key:c,value:i[d],searcher:n}))}),l.length&&o.push({idx:a,item:i,matches:l})}),o}_findMatches({key:t,value:n,searcher:r}){if(!ut(n))return[];let s=[];if(tn(n))n.forEach(({v:o,i,n:a})=>{if(!ut(o))return;const{isMatch:l,score:c,indices:d}=r.searchIn(o);l&&s.push({score:c,key:t,value:o,idx:i,norm:a,indices:d})});else{const{v:o,n:i}=n,{isMatch:a,score:l,indices:c}=r.searchIn(o);a&&s.push({score:l,key:t,value:o,norm:i,indices:c})}return s}}Ir.version="6.6.2";Ir.createIndex=Mm;Ir.parseIndex=oR;Ir.config=ye;Ir.parseQuery=Hm;bR(yR);const kR={"h-full":"",flex:"~ col"},PR={border:"b base","flex-none":""},AR={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},RR=["id","onClick","onMouseover"],OR={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},NR={"ws-nowrap":""},CR={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},LR={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},IR=ce("span",{op50:""},"No results for",-1),jR={"text-primary":""},MR={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},DR={"text-xs":"",flex:"~ items-center gap2"},FR=ce("span",{op75:""},"to navigate",-1),BR={"text-xs":"",flex:"~ items-center gap2"},HR={op75:""},UR={"text-xs":"",flex:"~ items-center gap2"},WR=ce("span",{op75:""},"to select",-1),VR=Ae({__name:"CommandPalette",setup(e){const t=te(!1),n=te(""),r=DA(),s=te(),o=pe(()=>s.value||r.value),i=pe(()=>new Ir(o.value,{keys:["id","title"],distance:50})),a=pe(()=>n.value?i.value.search(n.value).map(h=>h.item):o.value||[]),l=te(0);Fe(n,()=>{l.value=0,d()});function c(h){l.value=(l.value+h+a.value.length)%a.value.length,d()}function d(){document.getElementById(a.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function f(h){const p=await h.action();p?(s.value=p,n.value=""):(s.value=void 0,n.value="",t.value=!1)}kt("keydown",h=>{if((h.ctrlKey||h.metaKey)&&h.key==="k"){h.preventDefault(),s.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),c(h.key==="ArrowDown"?1:-1);break;case"Enter":{const p=a.value[l.value];p&&(h.preventDefault(),f(p));break}case"Escape":{h.preventDefault(),s.value?(s.value=void 0,n.value=""):t.value=!1;break}}});function u(h){h.key==="Backspace"&&!n.value&&s.value&&(h.preventDefault(),s.value=void 0,n.value="")}return(h,p)=>{const v=eA,x=lc,_=Ci,g=Li,b=cc;return le(),Ce(b,{modelValue:ue(t),"onUpdate:modelValue":p[1]||(p[1]=y=>Me(t)?t.value=y:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:xe(()=>[ce("div",kR,[ce("header",PR,[ae(v,{modelValue:ue(n),"onUpdate:modelValue":p[0]||(p[0]=y=>Me(n)?n.value=y:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:u},null,8,["modelValue"])]),ce("div",AR,[(le(!0),Te(je,null,hs(ue(a),(y,S)=>(le(),Te("button",{id:y.id,key:y.id,onClick:m=>f(y),onMouseover:m=>l.value=S},[ce("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Ke(ue(l)===S?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[ae(x,{icon:y.icon,title:y.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),ce("span",OR,[ce("span",NR,St(y.title),1),ce("span",CR,St(y.description),1)]),ue(l)===S?(le(),Ce(_,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):Qe("",!0)],2)],40,RR))),128)),ue(a).length?Qe("",!0):(le(),Te("div",LR,[ae(_,{op50:"",icon:"carbon-search"}),ce("div",null,[IR,ce("strong",jR,' "'+St(ue(n))+'" ',1)])]))]),ce("footer",MR,[ce("div",DR,[ae(g,{n:"xs",px1:""},{default:xe(()=>[ae(_,{icon:"carbon-arrow-down"})]),_:1}),ae(g,{n:"xs",px1:""},{default:xe(()=>[ae(_,{icon:"carbon-arrow-up"})]),_:1}),FR]),ce("div",BR,[ae(g,{n:"xs",px1:""},{default:xe(()=>[ze(" Esc ")]),_:1}),ce("span",HR,"to "+St(ue(s)?"go back":"close"),1)]),ce("div",UR,[ae(g,{n:"xs",px1:""},{default:xe(()=>[ae(_,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),WR])])])]),_:1},8,["modelValue"])}}}),GR={p4:"",flex:"~ col gap-2"},zR=ce("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[ce("span",{class:"i-carbon-information-square"}),ze(" Permissions required ")],-1),qR=ce("p",null," This operation requires permissions for running command and access files from the browser. ",-1),KR=ce("p",null,[ze(" A request is sent to the server."),ce("br"),ze(" Please check your terminal for the instructions and then come back. ")],-1),XR={flex:"~ gap-3",mt2:"","justify-end":""},YR=Ae({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=Li,s=cc;return le(),Ce(ue(Lp),null,{default:xe(({resolve:o})=>[ae(s,{"model-value":!0,onClose:i=>o(!1)},{default:xe(()=>[ce("div",GR,[zR,qR,KR,ce("div",XR,[ae(r,{onClick:i=>o(!1)},{default:xe(()=>[ze(" Cancel ")]),_:2},1032,["onClick"]),ae(r,{disabled:"",icon:"i-carbon-time"},{default:xe(()=>[ze(" Waiting for authorization... ")]),_:1})])])]),_:2},1032,["onClose"])]),_:1})}}}),JR={},QR={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ZR=ce("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),e2=ce("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),t2=[ZR,e2];function n2(e,t){return le(),Te("svg",QR,t2)}const r2=Xs(JR,[["render",n2]]),s2={},o2={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":""},i2={flex:"~","mt--10":"","items-center":"","justify-center":""},a2={key:0,flex:"~ gap-2","items-center":"","text-rose":""},l2={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function c2(e,t){const n=r2,r=Ci;return le(),Ce(mh,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:ue(hE))?(le(),Te("div",o2,[ce("div",i2,[ae(n,{"h-14":""})]),("wsError"in e?e.wsError:ue(dE))?(le(),Te("div",a2,[ae(r,{icon:"i-carbon-wifi-off"}),ze(" WebSocket disconnected ")])):(le(),Te("div",l2,[ae(r,{icon:"i-carbon-circle-dash","animate-spin":""}),ze(" Connecting to the server... ")]))])):Qe("",!0)])}const u2=Xs(s2,[["render",c2]]),f2={p4:"",flex:"~ col gap-1"},d2=ce("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),h2={op50:""},p2={flex:"~ gap-3",mt2:"","justify-end":""},m2=Ae({__name:"RestartDialogs",setup(e){const t=Ie(),n=gE(),r=lt(),s=ql();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&&(De.restartNuxt(),setTimeout(()=>{r.value?.reloadPage()},500))}))}}),(o,i)=>{const a=Li,l=cc;return le(),Ce(ue(s),null,{default:xe(({resolve:c,args:d})=>[ae(l,{"model-value":!0,onClose:f=>c(!1)},{default:xe(()=>[ce("div",f2,[d2,ce("p",h2,St(d[0]),1),ce("div",p2,[ae(a,{onClick:f=>c(!1)},{default:xe(()=>[ze(" Cancel ")]),_:2},1032,["onClick"]),ae(a,{n:"solid primary",onClick:f=>c(!0)},{default:xe(()=>[ze(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});const dd=te([]),hd=te();function g2(){const e=Ie(),t=ht();Object.assign(Np,{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=dd.value.findIndex(s=>s.processId===n.id);r!==-1&&dd.value.splice(r,1),hd.value?.processId===n.id&&(hd.value=void 0)},async navigateTo(n){t.currentRoute.value.path!==n&&t.push(n)}}),De.getModuleOptions().then(n=>{n.disableAuthorization&&(xs.value=!0,pn.value||="disabled")})}const v2={fixed:"","inset-0":"","h-screen":"","w-screen":""},_2=["grid"],y2=Ae({__name:"app",setup(e){Re(()=>import("./unocss-runtime.032bcb78.js"),[],import.meta.url),Ob({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),g2();const t=lt(),n=pi(),r=xi(),s=pe(()=>n.path.startsWith("/__")),o=pe(()=>!t.value&&!a$.value);Fe(()=>t.value?.colorMode.value,a=>{a&&(r.value=a)},{immediate:!0}),addEventListener("keydown",a=>{a.code==="KeyD"&&a.altKey&&(t.value?.closeDevTools(),a.preventDefault())});const{scale:i}=sc();return xn(()=>{const a=l$();Wn(()=>{window.__NUXT_DEVTOOLS__=a.value}),Wn(()=>{document.body.style.fontSize=`${i.value*15}px`})}),(a,l)=>{const c=nP,d=sP,f=uP,u=WP,h=qP,p=QP,v=VR,x=YR,_=u2,g=m2;return le(),Te("div",v2,[ae(c),ae(d),ue(o)?(le(),Ce(f,{key:0},{default:xe(()=>[ze(" Connecting.... ")]),_:1})):(le(),Te("div",{key:1,grid:ue(s)?"flex":"~ cols-[50px_1fr]","h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[$l(ae(u,{"of-x-hidden":"","of-y-auto":""},null,512),[[Oh,!ue(s)]]),ae(p,null,{default:xe(()=>[ae(h)]),_:1}),ae(v),ae(x)],8,_2)),ae(_),ae(g)])}}}),pd={__name:"nuxt-root",setup(e){const t=av(()=>Re(()=>import("./error-component.97bd3af7.js"),[],import.meta.url).then(l=>l.default||l)),n=()=>null,r=Ie(),s=r.deferHydration(),o=!1;fr("_route",pi()),r.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const i=mi();rh((l,c,d)=>{if(r.hooks.callHook("vue:error",l,c,d).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),qb(l)&&(l.fatal||l.unhandled))return r.runWithContext(()=>rr(l)),!1});const{islandContext:a}=!1;return(l,c)=>(le(),Ce(qd,{onResolve:ue(s)},{default:xe(()=>[ue(i)?(le(),Ce(ue(t),{key:0,error:ue(i)},null,8,["error"])):ue(a)?(le(),Ce(ue(n),{key:1,context:ue(a)},null,8,["context"])):ue(o)?(le(),Ce(Rl(ue(o)),{key:2})):(le(),Ce(ue(y2),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=my.create({baseURL:vy()}));let md;const b2=Cy(tP);{let e;md=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?R_(pd):Ch(pd),s=Ry({vueApp:r});try{await Ny(s,b2)}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("#"+Ib),await s.hooks.callHook("app:mounted",r),await Rt()}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}return r},e=md().catch(t=>{console.error("Error while mounting app:",t)})}export{my as $,ql as A,Q2 as B,ht as C,pi as D,rO as E,je as F,hd as G,Me as H,Vl as I,eA as J,cc as K,kt as L,Ju as M,fE as N,dE as O,Ci as P,g1 as Q,F2 as R,mn as S,L2 as T,Y2 as U,B2 as V,X2 as W,Ir as X,I2 as Y,yt as Z,Re as _,Ae as a,O2 as a$,xi as a0,tm as a1,q2 as a2,xn as a3,Fe as a4,sc as a5,sA as a6,bn as a7,k2 as a8,A1 as a9,qg as aA,Ld as aB,_l as aC,w2 as aD,x2 as aE,ft as aF,Ub as aG,N2 as aH,S2 as aI,G2 as aJ,Qp as aK,V2 as aL,eO as aM,q1 as aN,k_ as aO,nO as aP,R2 as aQ,C2 as aR,a$ as aS,W2 as aT,gE as aU,$2 as aV,J2 as aW,lc as aX,Xs as aY,iw as aZ,Yn as a_,lt as aa,Rl as ab,D2 as ac,cw as ad,hi as ae,Vn as af,at as ag,M2 as ah,Rt as ai,Wn as aj,Ms as ak,l$ as al,$P as am,xs as an,z2 as ao,K2 as ap,P2 as aq,Sp as ar,Cr as as,A2 as at,pt as au,E2 as av,H2 as aw,dd as ax,Gg as ay,zg as az,ce as b,uP as b0,f$ as b1,cv as b2,Un as b3,Ie as b4,T2 as b5,mp as b6,Yc as b7,Ot as b8,et as b9,Z2 as ba,j2 as bb,Nf as bc,jd as bd,tO as be,Zf as bf,mP as bg,y_ as bh,w_ as bi,U2 as bj,yE as bk,Ob as bl,Ce as c,av as d,Te as e,ae as f,Il as g,Li as h,v$ as i,ze as j,r2 as k,pe as l,hs as m,yd as n,le as o,Ke as p,Qe as q,te as r,qw as s,St as t,ue as u,$l as v,xe as w,Oh as x,De as y,EE as z};
|
|
19
|
+
*/function td(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 nd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?td(Object(n),!0).forEach(function(r){wA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):td(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function wA(e,t,n){return t=xA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function EA(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 xA(e){var t=EA(e,"string");return typeof t=="symbol"?t:String(t)}var rd={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()}},TA=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},SA=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},As=function(t){return t.key==="Tab"||t.keyCode===9},$A=function(t){return As(t)&&!t.shiftKey},kA=function(t){return As(t)&&t.shiftKey},sd=function(t){return setTimeout(t,0)},od=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},us=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},bo=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},PA=[],AA=function(t,n){var r=n?.document||document,s=n?.trapStack||PA,o=nd({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:$A,isKeyBackward:kA},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a,l=function($,k,P){return $&&$[k]!==void 0?$[k]:o[P||k]},c=function($,k){var P=typeof k?.composedPath=="function"?k.composedPath():void 0;return i.containerGroups.findIndex(function(R){var A=R.container,I=R.tabbableNodes;return A.contains($)||P?.includes(A)||I.find(function(j){return j===$})})},d=function($){var k=o[$];if(typeof k=="function"){for(var P=arguments.length,R=new Array(P>1?P-1:0),A=1;A<P;A++)R[A-1]=arguments[A];k=k.apply(void 0,R)}if(k===!0&&(k=void 0),!k){if(k===void 0||k===!1)return k;throw new Error("`".concat($,"` was specified but was not a node, or did not return a node"))}var I=k;if(typeof k=="string"&&(I=r.querySelector(k),!I))throw new Error("`".concat($,"` as selector refers to no known node"));return I},f=function(){var $=d("initialFocus");if($===!1)return!1;if($===void 0||!fa($,o.tabbableOptions))if(c(r.activeElement)>=0)$=r.activeElement;else{var k=i.tabbableGroups[0],P=k&&k.firstTabbableNode;$=P||d("fallbackFocus")}if(!$)throw new Error("Your focus-trap needs to have at least one focusable element");return $},u=function(){if(i.containerGroups=i.containers.map(function($){var k=_A($,o.tabbableOptions),P=yA($,o.tabbableOptions);return{container:$,tabbableNodes:k,focusableNodes:P,firstTabbableNode:k.length>0?k[0]:null,lastTabbableNode:k.length>0?k[k.length-1]:null,nextTabbableNode:function(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,j=P.findIndex(function(B){return B===A});if(!(j<0))return I?P.slice(j+1).find(function(B){return yo(B,o.tabbableOptions)}):P.slice(0,j).reverse().find(function(B){return yo(B,o.tabbableOptions)})}}}),i.tabbableGroups=i.containerGroups.filter(function($){return $.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},h=function w($){if($!==!1&&$!==r.activeElement){if(!$||!$.focus){w(f());return}$.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=$,TA($)&&$.select()}},p=function($){var k=d("setReturnFocus",$);return k||(k===!1?!1:$)},v=function($){var k=bo($);if(!(c(k,$)>=0)){if(us(o.clickOutsideDeactivates,$)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}us(o.allowOutsideClick,$)||$.preventDefault()}},x=function($){var k=bo($),P=c(k,$)>=0;P||k instanceof Document?P&&(i.mostRecentlyFocusedNode=k):($.stopImmediatePropagation(),h(i.mostRecentlyFocusedNode||f()))},_=function($){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,P=bo($);u();var R=null;if(i.tabbableGroups.length>0){var A=c(P,$),I=A>=0?i.containerGroups[A]:void 0;if(A<0)k?R=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:R=i.tabbableGroups[0].firstTabbableNode;else if(k){var j=od(i.tabbableGroups,function(re){var he=re.firstTabbableNode;return P===he});if(j<0&&(I.container===P||fa(P,o.tabbableOptions)&&!yo(P,o.tabbableOptions)&&!I.nextTabbableNode(P,!1))&&(j=A),j>=0){var B=j===0?i.tabbableGroups.length-1:j-1,H=i.tabbableGroups[B];R=H.lastTabbableNode}else As($)||(R=I.nextTabbableNode(P,!1))}else{var q=od(i.tabbableGroups,function(re){var he=re.lastTabbableNode;return P===he});if(q<0&&(I.container===P||fa(P,o.tabbableOptions)&&!yo(P,o.tabbableOptions)&&!I.nextTabbableNode(P))&&(q=A),q>=0){var ie=q===i.tabbableGroups.length-1?0:q+1,ne=i.tabbableGroups[ie];R=ne.firstTabbableNode}else As($)||(R=I.nextTabbableNode(P))}}else R=d("fallbackFocus");R&&(As($)&&$.preventDefault(),h(R))},g=function($){if(SA($)&&us(o.escapeDeactivates,$)!==!1){$.preventDefault(),a.deactivate();return}(o.isKeyForward($)||o.isKeyBackward($))&&_($,o.isKeyBackward($))},b=function($){var k=bo($);c(k,$)>=0||us(o.clickOutsideDeactivates,$)||us(o.allowOutsideClick,$)||($.preventDefault(),$.stopImmediatePropagation())},y=function(){if(i.active)return rd.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?sd(function(){h(f())}):h(f()),r.addEventListener("focusin",x,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{capture:!0,passive:!1}),r.addEventListener("click",b,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),a},S=function(){if(i.active)return r.removeEventListener("focusin",x,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!0),r.removeEventListener("click",b,!0),r.removeEventListener("keydown",g,!0),a},m=function($){var k=$.some(function(P){var R=Array.from(P.removedNodes);return R.some(function(A){return A===i.mostRecentlyFocusedNode})});k&&h(f())},T=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(m):void 0,E=function(){T&&(T.disconnect(),i.active&&!i.paused&&i.containers.map(function($){T.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 k=l($,"onActivate"),P=l($,"onPostActivate"),R=l($,"checkCanFocusTrap");R||u(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,k?.();var A=function(){R&&u(),y(),E(),P?.()};return R?(R(i.containers.concat()).then(A,A),this):(A(),this)},deactivate:function($){if(!i.active)return this;var k=nd({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},$);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,S(),i.active=!1,i.paused=!1,E(),rd.deactivateTrap(s,a);var P=l(k,"onDeactivate"),R=l(k,"onPostDeactivate"),A=l(k,"checkCanReturnFocus"),I=l(k,"returnFocus","returnFocusOnDeactivate");P?.();var j=function(){sd(function(){I&&h(p(i.nodeFocusedBeforeActivation)),R?.()})};return I&&A?(A(p(i.nodeFocusedBeforeActivation)).then(j,j),this):(j(),this)},pause:function($){if(i.paused||!i.active)return this;var k=l($,"onPause"),P=l($,"onPostPause");return i.paused=!0,k?.(),S(),E(),P?.(),this},unpause:function($){if(!i.paused||!i.active)return this;var k=l($,"onUnpause"),P=l($,"onPostUnpause");return i.paused=!1,k?.(),u(),y(),E(),P?.(),this},updateContainerElements:function($){var k=[].concat($).filter(Boolean);return i.containers=k.map(function(P){return typeof P=="string"?r.querySelector(P):P}),i.active&&u(),E(),this}},a.updateContainerElements(t),a},RA=Object.defineProperty,OA=Object.defineProperties,NA=Object.getOwnPropertyDescriptors,ei=Object.getOwnPropertySymbols,Om=Object.prototype.hasOwnProperty,Nm=Object.prototype.propertyIsEnumerable,id=(e,t,n)=>t in e?RA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,CA=(e,t)=>{for(var n in t||(t={}))Om.call(t,n)&&id(e,n,t[n]);if(ei)for(var n of ei(t))Nm.call(t,n)&&id(e,n,t[n]);return e},LA=(e,t)=>OA(e,NA(t)),IA=(e,t)=>{var n={};for(var r in e)Om.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ei)for(var r of ei(e))t.indexOf(r)<0&&Nm.call(e,r)&&(n[r]=e[r]);return n};function jA(e,t={}){let n;const r=t,{immediate:s}=r,o=IA(r,["immediate"]),i=te(!1),a=te(!1),l=u=>n&&n.activate(u),c=u=>n&&n.deactivate(u),d=()=>{n&&(n.pause(),a.value=!0)},f=()=>{n&&(n.unpause(),a.value=!1)};return Fe(()=>ft(e),u=>{u&&(n=AA(u,LA(CA({},o),{onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}})),s&&l())},{flush:"post"}),Qt(()=>c()),{hasFocus:i,isPaused:a,activate:l,deactivate:c,pause:d,unpause:f}}const MA={inheritAttrs:!1},cc=Ae({...MA,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const r=Sp(e,"modelValue",t,{passive:!0}),s=te(null),o=te(!1),{activate:i,deactivate:a}=jA(pe(()=>s.value||document.body),{immediate:!1});Wn(()=>{!o.value&&r.value&&(o.value=!0),r.value&&s.value?Rt(i):a()});function l(){r.value=!1,t("close")}return(c,d)=>{const f=sA;return o.value?(le(),Ce(mh,{key:0,to:"body"},[$l(ce("div",{class:Ke(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[ue(r)?"":"op0 pointer-events-none visibility-none"]])},[ce("div",{class:Ke(["absolute inset-0 -z-1",[c.dim?"bg-black/50":""]]),onClick:d[0]||(d[0]=u=>l())},null,2),ae(f,Vn(c.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:xe(()=>[yt(c.$slots,"default")]),_:3},16)],2),[[Oh,ue(r)]])])):Qe("",!0)}}}),el=at(new Map);function DA(){const e=Tm(),t=ht(),n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Nuxt Documentations",icon:"logos-nuxt-icon",action:()=>BA()}],r=pe(()=>e.value.map(s=>({id:`tab:${s.name}`,title:s.title||s.name,icon:s.icon,action:()=>{"onClick"in s&&s.onClick?s.onClick():t.push("path"in s&&s.path?s.path:`/modules/custom-${s.name}`)}})));return pe(()=>[...n,...r.value,...Array.from(el.values()).flatMap(s=>Md(s))])}function rO(e){const t=u$();el.set(t,e),Ms(()=>{el.delete(t)})}let da;const FA=[[":components:","i-carbon-assembly-cluster"],[":modules:","i-carbon-cube"],[":commands:","i-carbon-terminal"],[":directory-structure:","i-carbon-folder"],[":composables:","i-carbon-function"],[":getting-started:","i-carbon-idea"],[":api:","carbon-api-1"]];async function BA(){return da||(da=(await Re(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:FA.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),da}function tn(e){return Array.isArray?Array.isArray(e):Im(e)==="[object Array]"}const HA=1/0;function UA(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-HA?"-0":t}function WA(e){return e==null?"":UA(e)}function Ft(e){return typeof e=="string"}function Cm(e){return typeof e=="number"}function VA(e){return e===!0||e===!1||GA(e)&&Im(e)=="[object Boolean]"}function Lm(e){return typeof e=="object"}function GA(e){return Lm(e)&&e!==null}function ut(e){return e!=null}function ha(e){return!e.trim().length}function Im(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const zA="Incorrect 'index' type",qA=e=>`Invalid value for key ${e}`,KA=e=>`Pattern length exceeds max of ${e}.`,XA=e=>`Missing ${e} property in key`,YA=e=>`Property 'weight' in key '${e}' must be a positive integer`,ad=Object.prototype.hasOwnProperty;class JA{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let s=jm(r);n+=s.weight,this._keys.push(s),this._keyMap[s.id]=s,n+=s.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function jm(e){let t=null,n=null,r=null,s=1,o=null;if(Ft(e)||tn(e))r=e,t=ld(e),n=tl(e);else{if(!ad.call(e,"name"))throw new Error(XA("name"));const i=e.name;if(r=i,ad.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(YA(i));t=ld(i),n=tl(i),o=e.getFn}return{path:t,id:n,weight:s,src:r,getFn:o}}function ld(e){return tn(e)?e:e.split(".")}function tl(e){return tn(e)?e.join("."):e}function QA(e,t){let n=[],r=!1;const s=(o,i,a)=>{if(ut(o))if(!i[a])n.push(o);else{let l=i[a];const c=o[l];if(!ut(c))return;if(a===i.length-1&&(Ft(c)||Cm(c)||VA(c)))n.push(WA(c));else if(tn(c)){r=!0;for(let d=0,f=c.length;d<f;d+=1)s(c[d],i,a+1)}else i.length&&s(c,i,a+1)}};return s(e,Ft(t)?t.split("."):t,0),r?n:n[0]}const ZA={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},eR={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},tR={location:0,threshold:.6,distance:100},nR={useExtendedSearch:!1,getFn:QA,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var ye={...eR,...ZA,...tR,...nR};const rR=/[^ ]+/g;function sR(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(s){const o=s.match(rR).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}class uc{constructor({getFn:t=ye.getFn,fieldNormWeight:n=ye.fieldNormWeight}={}){this.norm=sR(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Ft(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Ft(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!ut(t)||ha(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((s,o)=>{let i=s.getFn?s.getFn(t):this.getFn(t,s.path);if(ut(i)){if(tn(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:d}=l.pop();if(ut(d))if(Ft(d)&&!ha(d)){let f={v:d,i:c,n:this.norm.get(d)};a.push(f)}else tn(d)&&d.forEach((f,u)=>{l.push({nestedArrIndex:u,value:f})})}r.$[o]=a}else if(Ft(i)&&!ha(i)){let a={v:i,n:this.norm.get(i)};r.$[o]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Mm(e,t,{getFn:n=ye.getFn,fieldNormWeight:r=ye.fieldNormWeight}={}){const s=new uc({getFn:n,fieldNormWeight:r});return s.setKeys(e.map(jm)),s.setSources(t),s.create(),s}function oR(e,{getFn:t=ye.getFn,fieldNormWeight:n=ye.fieldNormWeight}={}){const{keys:r,records:s}=e,o=new uc({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(s),o}function wo(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:s=ye.distance,ignoreLocation:o=ye.ignoreLocation}={}){const i=t/e.length;if(o)return i;const a=Math.abs(r-n);return s?i+a/s:a?1:i}function iR(e=[],t=ye.minMatchCharLength){let n=[],r=-1,s=-1,o=0;for(let i=e.length;o<i;o+=1){let a=e[o];a&&r===-1?r=o:!a&&r!==-1&&(s=o-1,s-r+1>=t&&n.push([r,s]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}const In=32;function aR(e,t,n,{location:r=ye.location,distance:s=ye.distance,threshold:o=ye.threshold,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,includeMatches:l=ye.includeMatches,ignoreLocation:c=ye.ignoreLocation}={}){if(t.length>In)throw new Error(KA(In));const d=t.length,f=e.length,u=Math.max(0,Math.min(r,f));let h=o,p=u;const v=a>1||l,x=v?Array(f):[];let _;for(;(_=e.indexOf(t,p))>-1;){let T=wo(t,{currentLocation:_,expectedLocation:u,distance:s,ignoreLocation:c});if(h=Math.min(T,h),p=_+d,v){let E=0;for(;E<d;)x[_+E]=1,E+=1}}p=-1;let g=[],b=1,y=d+f;const S=1<<d-1;for(let T=0;T<d;T+=1){let E=0,w=y;for(;E<w;)wo(t,{errors:T,currentLocation:u+w,expectedLocation:u,distance:s,ignoreLocation:c})<=h?E=w:y=w,w=Math.floor((y-E)/2+E);y=w;let $=Math.max(1,u-w+1),k=i?f:Math.min(u+w,f)+d,P=Array(k+2);P[k+1]=(1<<T)-1;for(let A=k;A>=$;A-=1){let I=A-1,j=n[e.charAt(I)];if(v&&(x[I]=+!!j),P[A]=(P[A+1]<<1|1)&j,T&&(P[A]|=(g[A+1]|g[A])<<1|1|g[A+1]),P[A]&S&&(b=wo(t,{errors:T,currentLocation:I,expectedLocation:u,distance:s,ignoreLocation:c}),b<=h)){if(h=b,p=I,p<=u)break;$=Math.max(1,2*u-p)}}if(wo(t,{errors:T+1,currentLocation:u,expectedLocation:u,distance:s,ignoreLocation:c})>h)break;g=P}const m={isMatch:p>=0,score:Math.max(.001,b)};if(v){const T=iR(x,a);T.length?l&&(m.indices=T):m.isMatch=!1}return m}function lR(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const s=e.charAt(n);t[s]=(t[s]||0)|1<<r-n-1}return t}class Dm{constructor(t,{location:n=ye.location,threshold:r=ye.threshold,distance:s=ye.distance,includeMatches:o=ye.includeMatches,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,isCaseSensitive:l=ye.isCaseSensitive,ignoreLocation:c=ye.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const d=(u,h)=>{this.chunks.push({pattern:u,alphabet:lR(u),startIndex:h})},f=this.pattern.length;if(f>In){let u=0;const h=f%In,p=f-h;for(;u<p;)d(this.pattern.substr(u,In),u),u+=In;if(h){const v=f-In;d(this.pattern.substr(v),v)}}else d(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return r&&(p.indices=[[0,t.length-1]]),p}const{location:s,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let d=[],f=0,u=!1;this.chunks.forEach(({pattern:p,alphabet:v,startIndex:x})=>{const{isMatch:_,score:g,indices:b}=aR(t,p,v,{location:s+x,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});_&&(u=!0),f+=g,_&&b&&(d=[...d,...b])});let h={isMatch:u,score:u?f/this.chunks.length:1};return u&&r&&(h.indices=d),h}}class $n{constructor(t){this.pattern=t}static isMultiMatch(t){return cd(t,this.multiRegex)}static isSingleMatch(t){return cd(t,this.singleRegex)}search(){}}function cd(e,t){const n=e.match(t);return n?n[1]:null}class cR extends $n{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class uR extends $n{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class fR extends $n{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class dR extends $n{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class hR extends $n{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class pR extends $n{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Fm extends $n{constructor(t,{location:n=ye.location,threshold:r=ye.threshold,distance:s=ye.distance,includeMatches:o=ye.includeMatches,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,isCaseSensitive:l=ye.isCaseSensitive,ignoreLocation:c=ye.ignoreLocation}={}){super(t),this._bitapSearch=new Dm(t,{location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Bm extends $n{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const s=[],o=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+o,s.push([r,n-1]);const i=!!s.length;return{isMatch:i,score:i?0:1,indices:s}}}const nl=[cR,Bm,fR,dR,pR,hR,uR,Fm],ud=nl.length,mR=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,gR="|";function vR(e,t={}){return e.split(gR).map(n=>{let r=n.trim().split(mR).filter(o=>o&&!!o.trim()),s=[];for(let o=0,i=r.length;o<i;o+=1){const a=r[o];let l=!1,c=-1;for(;!l&&++c<ud;){const d=nl[c];let f=d.isMultiMatch(a);f&&(s.push(new d(f,t)),l=!0)}if(!l)for(c=-1;++c<ud;){const d=nl[c];let f=d.isSingleMatch(a);if(f){s.push(new d(f,t));break}}}return s})}const _R=new Set([Fm.type,Bm.type]);class yR{constructor(t,{isCaseSensitive:n=ye.isCaseSensitive,includeMatches:r=ye.includeMatches,minMatchCharLength:s=ye.minMatchCharLength,ignoreLocation:o=ye.ignoreLocation,findAllMatches:i=ye.findAllMatches,location:a=ye.location,threshold:l=ye.threshold,distance:c=ye.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:s,findAllMatches:i,ignoreLocation:o,location:a,threshold:l,distance:c},this.pattern=n?t:t.toLowerCase(),this.query=vR(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:s}=this.options;t=s?t:t.toLowerCase();let o=0,i=[],a=0;for(let l=0,c=n.length;l<c;l+=1){const d=n[l];i.length=0,o=0;for(let f=0,u=d.length;f<u;f+=1){const h=d[f],{isMatch:p,indices:v,score:x}=h.search(t);if(p){if(o+=1,a+=x,r){const _=h.constructor.type;_R.has(_)?i=[...i,...v]:i.push(v)}}else{a=0,o=0,i.length=0;break}}if(o){let f={isMatch:!0,score:a/o};return r&&(f.indices=i),f}}return{isMatch:!1,score:1}}}const rl=[];function bR(...e){rl.push(...e)}function sl(e,t){for(let n=0,r=rl.length;n<r;n+=1){let s=rl[n];if(s.condition(e,t))return new s(e,t)}return new Dm(e,t)}const ti={AND:"$and",OR:"$or"},ol={PATH:"$path",PATTERN:"$val"},il=e=>!!(e[ti.AND]||e[ti.OR]),wR=e=>!!e[ol.PATH],ER=e=>!tn(e)&&Lm(e)&&!il(e),fd=e=>({[ti.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Hm(e,t,{auto:n=!0}={}){const r=s=>{let o=Object.keys(s);const i=wR(s);if(!i&&o.length>1&&!il(s))return r(fd(s));if(ER(s)){const l=i?s[ol.PATH]:o[0],c=i?s[ol.PATTERN]:s[l];if(!Ft(c))throw new Error(qA(l));const d={keyId:tl(l),pattern:c};return n&&(d.searcher=sl(c,t)),d}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=s[l];tn(c)&&c.forEach(d=>{a.children.push(r(d))})}),a};return il(e)||(e=fd(e)),r(e)}function xR(e,{ignoreFieldNorm:t=ye.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:s,norm:o,score:i})=>{const a=s?s.weight:null;r*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:o))}),n.score=r})}function TR(e,t){const n=e.matches;t.matches=[],ut(n)&&n.forEach(r=>{if(!ut(r.indices)||!r.indices.length)return;const{indices:s,value:o}=r;let i={indices:s,value:o};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function SR(e,t){t.score=e.score}function $R(e,t,{includeMatches:n=ye.includeMatches,includeScore:r=ye.includeScore}={}){const s=[];return n&&s.push(TR),r&&s.push(SR),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return s.length&&s.forEach(l=>{l(o,a)}),a})}class Ir{constructor(t,n={},r){this.options={...ye,...n},this.options.useExtendedSearch,this._keyStore=new JA(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof uc))throw new Error(zA);this._myIndex=n||Mm(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){ut(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,s=this._docs.length;r<s;r+=1){const o=this._docs[r];t(o,r)&&(this.removeAt(r),r-=1,s-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:s,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let l=Ft(t)?Ft(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return xR(l,{ignoreFieldNorm:a}),o&&l.sort(i),Cm(n)&&n>-1&&(l=l.slice(0,n)),$R(l,this._docs,{includeMatches:r,includeScore:s})}_searchStringList(t){const n=sl(t,this.options),{records:r}=this._myIndex,s=[];return r.forEach(({v:o,i,n:a})=>{if(!ut(o))return;const{isMatch:l,score:c,indices:d}=n.searchIn(o);l&&s.push({item:o,idx:i,matches:[{score:c,value:o,norm:a,indices:d}]})}),s}_searchLogical(t){const n=Hm(t,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:f,searcher:u}=a,h=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(l,f),searcher:u});return h&&h.length?[{idx:c,item:l,matches:h}]:[]}const d=[];for(let f=0,u=a.children.length;f<u;f+=1){const h=a.children[f],p=r(h,l,c);if(p.length)d.push(...p);else if(a.operator===ti.AND)return[]}return d},s=this._myIndex.records,o={},i=[];return s.forEach(({$:a,i:l})=>{if(ut(a)){let c=r(n,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},i.push(o[l])),c.forEach(({matches:d})=>{o[l].matches.push(...d)}))}}),i}_searchObjectList(t){const n=sl(t,this.options),{keys:r,records:s}=this._myIndex,o=[];return s.forEach(({$:i,i:a})=>{if(!ut(i))return;let l=[];r.forEach((c,d)=>{l.push(...this._findMatches({key:c,value:i[d],searcher:n}))}),l.length&&o.push({idx:a,item:i,matches:l})}),o}_findMatches({key:t,value:n,searcher:r}){if(!ut(n))return[];let s=[];if(tn(n))n.forEach(({v:o,i,n:a})=>{if(!ut(o))return;const{isMatch:l,score:c,indices:d}=r.searchIn(o);l&&s.push({score:c,key:t,value:o,idx:i,norm:a,indices:d})});else{const{v:o,n:i}=n,{isMatch:a,score:l,indices:c}=r.searchIn(o);a&&s.push({score:l,key:t,value:o,norm:i,indices:c})}return s}}Ir.version="6.6.2";Ir.createIndex=Mm;Ir.parseIndex=oR;Ir.config=ye;Ir.parseQuery=Hm;bR(yR);const kR={"h-full":"",flex:"~ col"},PR={border:"b base","flex-none":""},AR={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},RR=["id","onClick","onMouseover"],OR={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},NR={"ws-nowrap":""},CR={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},LR={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},IR=ce("span",{op50:""},"No results for",-1),jR={"text-primary":""},MR={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},DR={"text-xs":"",flex:"~ items-center gap2"},FR=ce("span",{op75:""},"to navigate",-1),BR={"text-xs":"",flex:"~ items-center gap2"},HR={op75:""},UR={"text-xs":"",flex:"~ items-center gap2"},WR=ce("span",{op75:""},"to select",-1),VR=Ae({__name:"CommandPalette",setup(e){const t=te(!1),n=te(""),r=DA(),s=te(),o=pe(()=>s.value||r.value),i=pe(()=>new Ir(o.value,{keys:["id","title"],distance:50})),a=pe(()=>n.value?i.value.search(n.value).map(h=>h.item):o.value||[]),l=te(0);Fe(n,()=>{l.value=0,d()});function c(h){l.value=(l.value+h+a.value.length)%a.value.length,d()}function d(){document.getElementById(a.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function f(h){const p=await h.action();p?(s.value=p,n.value=""):(s.value=void 0,n.value="",t.value=!1)}kt("keydown",h=>{if((h.ctrlKey||h.metaKey)&&h.key==="k"){h.preventDefault(),s.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),c(h.key==="ArrowDown"?1:-1);break;case"Enter":{const p=a.value[l.value];p&&(h.preventDefault(),f(p));break}case"Escape":{h.preventDefault(),s.value?(s.value=void 0,n.value=""):t.value=!1;break}}});function u(h){h.key==="Backspace"&&!n.value&&s.value&&(h.preventDefault(),s.value=void 0,n.value="")}return(h,p)=>{const v=eA,x=lc,_=Ci,g=Li,b=cc;return le(),Ce(b,{modelValue:ue(t),"onUpdate:modelValue":p[1]||(p[1]=y=>Me(t)?t.value=y:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:xe(()=>[ce("div",kR,[ce("header",PR,[ae(v,{modelValue:ue(n),"onUpdate:modelValue":p[0]||(p[0]=y=>Me(n)?n.value=y:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:u},null,8,["modelValue"])]),ce("div",AR,[(le(!0),Te(je,null,hs(ue(a),(y,S)=>(le(),Te("button",{id:y.id,key:y.id,onClick:m=>f(y),onMouseover:m=>l.value=S},[ce("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Ke(ue(l)===S?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[ae(x,{icon:y.icon,title:y.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),ce("span",OR,[ce("span",NR,St(y.title),1),ce("span",CR,St(y.description),1)]),ue(l)===S?(le(),Ce(_,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):Qe("",!0)],2)],40,RR))),128)),ue(a).length?Qe("",!0):(le(),Te("div",LR,[ae(_,{op50:"",icon:"carbon-search"}),ce("div",null,[IR,ce("strong",jR,' "'+St(ue(n))+'" ',1)])]))]),ce("footer",MR,[ce("div",DR,[ae(g,{n:"xs",px1:""},{default:xe(()=>[ae(_,{icon:"carbon-arrow-down"})]),_:1}),ae(g,{n:"xs",px1:""},{default:xe(()=>[ae(_,{icon:"carbon-arrow-up"})]),_:1}),FR]),ce("div",BR,[ae(g,{n:"xs",px1:""},{default:xe(()=>[ze(" Esc ")]),_:1}),ce("span",HR,"to "+St(ue(s)?"go back":"close"),1)]),ce("div",UR,[ae(g,{n:"xs",px1:""},{default:xe(()=>[ae(_,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),WR])])])]),_:1},8,["modelValue"])}}}),GR={p4:"",flex:"~ col gap-2"},zR=ce("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[ce("span",{class:"i-carbon-information-square"}),ze(" Permissions required ")],-1),qR=ce("p",null," This operation requires permissions for running command and access files from the browser. ",-1),KR=ce("p",null,[ze(" A request is sent to the server."),ce("br"),ze(" Please check your terminal for the instructions and then come back. ")],-1),XR={flex:"~ gap-3",mt2:"","justify-end":""},YR=Ae({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=Li,s=cc;return le(),Ce(ue(Lp),null,{default:xe(({resolve:o})=>[ae(s,{"model-value":!0,onClose:i=>o(!1)},{default:xe(()=>[ce("div",GR,[zR,qR,KR,ce("div",XR,[ae(r,{onClick:i=>o(!1)},{default:xe(()=>[ze(" Cancel ")]),_:2},1032,["onClick"]),ae(r,{disabled:"",icon:"i-carbon-time"},{default:xe(()=>[ze(" Waiting for authorization... ")]),_:1})])])]),_:2},1032,["onClose"])]),_:1})}}}),JR={},QR={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ZR=ce("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),e2=ce("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),t2=[ZR,e2];function n2(e,t){return le(),Te("svg",QR,t2)}const r2=Xs(JR,[["render",n2]]),s2={},o2={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":""},i2={flex:"~","mt--10":"","items-center":"","justify-center":""},a2={key:0,flex:"~ gap-2","items-center":"","text-rose":""},l2={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function c2(e,t){const n=r2,r=Ci;return le(),Ce(mh,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:ue(hE))?(le(),Te("div",o2,[ce("div",i2,[ae(n,{"h-14":""})]),("wsError"in e?e.wsError:ue(dE))?(le(),Te("div",a2,[ae(r,{icon:"i-carbon-wifi-off"}),ze(" WebSocket disconnected ")])):(le(),Te("div",l2,[ae(r,{icon:"i-carbon-circle-dash","animate-spin":""}),ze(" Connecting to the server... ")]))])):Qe("",!0)])}const u2=Xs(s2,[["render",c2]]),f2={p4:"",flex:"~ col gap-1"},d2=ce("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),h2={op50:""},p2={flex:"~ gap-3",mt2:"","justify-end":""},m2=Ae({__name:"RestartDialogs",setup(e){const t=Ie(),n=gE(),r=lt(),s=ql();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&&(De.restartNuxt(),setTimeout(()=>{r.value?.reloadPage()},500))}))}}),(o,i)=>{const a=Li,l=cc;return le(),Ce(ue(s),null,{default:xe(({resolve:c,args:d})=>[ae(l,{"model-value":!0,onClose:f=>c(!1)},{default:xe(()=>[ce("div",f2,[d2,ce("p",h2,St(d[0]),1),ce("div",p2,[ae(a,{onClick:f=>c(!1)},{default:xe(()=>[ze(" Cancel ")]),_:2},1032,["onClick"]),ae(a,{n:"solid primary",onClick:f=>c(!0)},{default:xe(()=>[ze(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});const dd=te([]),hd=te();function g2(){const e=Ie(),t=ht();Object.assign(Np,{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=dd.value.findIndex(s=>s.processId===n.id);r!==-1&&dd.value.splice(r,1),hd.value?.processId===n.id&&(hd.value=void 0)},async navigateTo(n){t.currentRoute.value.path!==n&&t.push(n)}}),De.getModuleOptions().then(n=>{n.disableAuthorization&&(xs.value=!0,pn.value||="disabled")})}const v2={fixed:"","inset-0":"","h-screen":"","w-screen":""},_2=["grid"],y2=Ae({__name:"app",setup(e){Re(()=>import("./unocss-runtime.9d0d2556.js"),[],import.meta.url),Ob({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),g2();const t=lt(),n=pi(),r=xi(),s=pe(()=>n.path.startsWith("/__")),o=pe(()=>!t.value&&!a$.value);Fe(()=>t.value?.colorMode.value,a=>{a&&(r.value=a)},{immediate:!0}),addEventListener("keydown",a=>{a.code==="KeyD"&&a.altKey&&(t.value?.closeDevTools(),a.preventDefault())});const{scale:i}=sc();return xn(()=>{const a=l$();Wn(()=>{window.__NUXT_DEVTOOLS__=a.value}),Wn(()=>{document.body.style.fontSize=`${i.value*15}px`})}),(a,l)=>{const c=nP,d=sP,f=uP,u=WP,h=qP,p=QP,v=VR,x=YR,_=u2,g=m2;return le(),Te("div",v2,[ae(c),ae(d),ue(o)?(le(),Ce(f,{key:0},{default:xe(()=>[ze(" Connecting.... ")]),_:1})):(le(),Te("div",{key:1,grid:ue(s)?"flex":"~ cols-[50px_1fr]","h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[$l(ae(u,{"of-x-hidden":"","of-y-auto":""},null,512),[[Oh,!ue(s)]]),ae(p,null,{default:xe(()=>[ae(h)]),_:1}),ae(v),ae(x)],8,_2)),ae(_),ae(g)])}}}),pd={__name:"nuxt-root",setup(e){const t=av(()=>Re(()=>import("./error-component.15e0d602.js"),[],import.meta.url).then(l=>l.default||l)),n=()=>null,r=Ie(),s=r.deferHydration(),o=!1;fr("_route",pi()),r.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const i=mi();rh((l,c,d)=>{if(r.hooks.callHook("vue:error",l,c,d).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),qb(l)&&(l.fatal||l.unhandled))return r.runWithContext(()=>rr(l)),!1});const{islandContext:a}=!1;return(l,c)=>(le(),Ce(qd,{onResolve:ue(s)},{default:xe(()=>[ue(i)?(le(),Ce(ue(t),{key:0,error:ue(i)},null,8,["error"])):ue(a)?(le(),Ce(ue(n),{key:1,context:ue(a)},null,8,["context"])):ue(o)?(le(),Ce(Rl(ue(o)),{key:2})):(le(),Ce(ue(y2),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=my.create({baseURL:vy()}));let md;const b2=Cy(tP);{let e;md=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?R_(pd):Ch(pd),s=Ry({vueApp:r});try{await Ny(s,b2)}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("#"+Ib),await s.hooks.callHook("app:mounted",r),await Rt()}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}return r},e=md().catch(t=>{console.error("Error while mounting app:",t)})}export{my as $,ql as A,Q2 as B,ht as C,pi as D,rO as E,je as F,hd as G,Me as H,Vl as I,eA as J,cc as K,kt as L,Ju as M,fE as N,dE as O,Ci as P,g1 as Q,F2 as R,mn as S,L2 as T,Y2 as U,B2 as V,X2 as W,Ir as X,I2 as Y,yt as Z,Re as _,Ae as a,O2 as a$,xi as a0,tm as a1,q2 as a2,xn as a3,Fe as a4,sc as a5,sA as a6,bn as a7,k2 as a8,A1 as a9,qg as aA,Ld as aB,_l as aC,w2 as aD,x2 as aE,ft as aF,Ub as aG,N2 as aH,S2 as aI,G2 as aJ,Qp as aK,V2 as aL,eO as aM,q1 as aN,k_ as aO,nO as aP,R2 as aQ,C2 as aR,a$ as aS,W2 as aT,gE as aU,$2 as aV,J2 as aW,lc as aX,Xs as aY,iw as aZ,Yn as a_,lt as aa,Rl as ab,D2 as ac,cw as ad,hi as ae,Vn as af,at as ag,M2 as ah,Rt as ai,Wn as aj,Ms as ak,l$ as al,$P as am,xs as an,z2 as ao,K2 as ap,P2 as aq,Sp as ar,Cr as as,A2 as at,pt as au,E2 as av,H2 as aw,dd as ax,Gg as ay,zg as az,ce as b,uP as b0,f$ as b1,cv as b2,Un as b3,Ie as b4,T2 as b5,Yc as b6,mp as b7,Ot as b8,et as b9,Z2 as ba,j2 as bb,jd as bc,tO as bd,Zf as be,mP as bf,y_ as bg,w_ as bh,U2 as bi,yE as bj,Ob as bk,Ce as c,av as d,Te as e,ae as f,Il as g,Li as h,v$ as i,ze as j,r2 as k,pe as l,hs as m,yd as n,le as o,Ke as p,Qe as q,te as r,qw as s,St as t,ue as u,$l as v,xe as w,Oh as x,De as y,EE as z};
|