@nuxt/devtools 0.4.6 → 0.5.0

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.
Files changed (129) hide show
  1. package/README.md +1 -1
  2. package/dist/chunks/analyze-build.mjs +25 -0
  3. package/dist/chunks/module-main.mjs +6172 -93
  4. package/dist/chunks/vite-inspect.mjs +7 -1
  5. package/dist/chunks/vscode.mjs +12 -5
  6. package/dist/chunks/vue-inspector.mjs +3 -2
  7. package/dist/client/200.html +2 -2
  8. package/dist/client/404.html +2 -2
  9. package/dist/client/__inspecting/index.html +2 -2
  10. package/dist/client/_nuxt/{Badge.21478015.js → Badge.c6f0948b.js} +1 -1
  11. package/dist/client/_nuxt/CodeSnippets.vue.c8638278.js +1 -0
  12. package/dist/client/_nuxt/DrawerRight.vue.f79970eb.js +1 -0
  13. package/dist/client/_nuxt/{DurationDisplay.vue.d28a01f2.js → DurationDisplay.vue.d1c8be7a.js} +1 -1
  14. package/dist/client/_nuxt/FilepathItem.vue.22e62c13.js +1 -0
  15. package/dist/client/_nuxt/HelpFab.vue.82dbe71b.js +1 -0
  16. package/dist/client/_nuxt/{LaunchPage.vue.e8117060.js → LaunchPage.vue.e9f10392.js} +1 -1
  17. package/dist/client/_nuxt/NCheckbox.vue.2dbb6d84.js +1 -0
  18. package/dist/client/_nuxt/NCodeBlock.vue.7df96def.js +2 -0
  19. package/dist/client/_nuxt/NIconButton.vue.61b6fdb9.js +1 -0
  20. package/dist/client/_nuxt/{NIconTitle.vue.636dd062.js → NIconTitle.vue.db04ddec.js} +1 -1
  21. package/dist/client/_nuxt/NLink.vue.cee1facb.js +1 -0
  22. package/dist/client/_nuxt/NMarkdown.vue.bfa53523.js +1 -0
  23. package/dist/client/_nuxt/{NPanelGrids.c52bd29c.js → NPanelGrids.f0b55b40.js} +1 -1
  24. package/dist/client/_nuxt/NSectionBlock.63c19da9.css +1 -0
  25. package/dist/client/_nuxt/NSectionBlock.b03d4f1a.js +1 -0
  26. package/dist/client/_nuxt/NSelect.vue.04879311.js +1 -0
  27. package/dist/client/_nuxt/NSwitch.vue.6de70289.js +1 -0
  28. package/dist/client/_nuxt/NTextInput.vue.3d7af8ee.js +1 -0
  29. package/dist/client/_nuxt/NTip.vue.d3e88526.js +1 -0
  30. package/dist/client/_nuxt/{Navbar.vue.e1117ac7.js → Navbar.vue.1175e5b5.js} +1 -1
  31. package/dist/client/_nuxt/NpmVersionCheck.vue.82d98ad9.js +1 -0
  32. package/dist/client/_nuxt/{PanelLeftRight.vue.8adf1a04.js → PanelLeftRight.vue.b6fba8cf.js} +1 -1
  33. package/dist/client/_nuxt/{StateEditor.vue.b3ad6a2d.js → StateEditor.vue.452c2a1e.js} +1 -1
  34. package/dist/client/_nuxt/{__inspecting.f21fc4ff.js → __inspecting.aa44686c.js} +1 -1
  35. package/dist/client/_nuxt/analyze-build.74e951ef.js +1 -0
  36. package/dist/client/_nuxt/assets.fbaf474a.js +16 -0
  37. package/dist/client/_nuxt/{client.44af506c.js → client.64d509dc.js} +1 -1
  38. package/dist/client/_nuxt/{components.0339ba8e.js → components.6ce21080.js} +31 -31
  39. package/dist/client/_nuxt/custom-_name_.1f84ba8c.js +1 -0
  40. package/dist/client/_nuxt/default.2d7cfbe4.js +1 -0
  41. package/dist/client/_nuxt/{editor.4c6382c7.js → editor.e9488ebd.js} +1 -1
  42. package/dist/client/_nuxt/entry.8297d1ff.js +19 -0
  43. package/dist/client/_nuxt/entry.f90d2a3f.css +1 -0
  44. package/dist/client/_nuxt/error-404.6fbc16df.js +1 -0
  45. package/dist/client/_nuxt/{error-500.d6e09b3d.js → error-500.6f213eb2.js} +1 -1
  46. package/dist/client/_nuxt/error-component.b12ab471.js +3 -0
  47. package/dist/client/_nuxt/{full.e43d885f.js → full.6c0706c9.js} +1 -1
  48. package/dist/client/_nuxt/{hooks.073b884c.js → hooks.10fe847b.js} +1 -1
  49. package/dist/client/_nuxt/imports.dccf485c.js +1 -0
  50. package/dist/client/_nuxt/index.bd18d84a.js +1 -0
  51. package/dist/client/_nuxt/{index.3e121f4a.js → index.e4ec7d02.js} +5 -5
  52. package/dist/client/_nuxt/{json-editor-vue.c66387bd.js → json-editor-vue.98769e76.js} +1 -1
  53. package/dist/client/_nuxt/{middleware.a8c2264e.js → middleware.4d606e29.js} +1 -1
  54. package/dist/client/_nuxt/modules.7f83fecd.js +4 -0
  55. package/dist/client/_nuxt/{none.dd2b9c08.js → none.685e4f52.js} +1 -1
  56. package/dist/client/_nuxt/open-graph.424b4348.js +3 -0
  57. package/dist/client/_nuxt/overview.13e4bf5e.js +1 -0
  58. package/dist/client/_nuxt/pages.5bc65ca2.js +1 -0
  59. package/dist/client/_nuxt/{payload.351fcd36.js → payload.ac68ce00.js} +1 -1
  60. package/dist/client/_nuxt/plugins.dc27cda6.js +1 -0
  61. package/dist/client/_nuxt/{runtime-configs.2908e02a.js → runtime-configs.34323c66.js} +1 -1
  62. package/dist/client/_nuxt/server-routes.669a8424.js +9 -0
  63. package/dist/client/_nuxt/settings.5a3586f3.js +1 -0
  64. package/dist/client/_nuxt/storage.edd17bdb.js +1 -0
  65. package/dist/client/_nuxt/{terminals.339eac8e.js → terminals.20082284.js} +1 -1
  66. package/dist/client/_nuxt/{unocss-runtime.6bcc481a.js → unocss-runtime.f33e0ffe.js} +1 -1
  67. package/dist/client/_nuxt/virtual-files.16d4138c.js +1 -0
  68. package/dist/client/index.html +2 -2
  69. package/dist/client/modules/analyze-build/index.html +7 -0
  70. package/dist/client/modules/assets/index.html +2 -2
  71. package/dist/client/modules/components/index.html +2 -2
  72. package/dist/client/modules/hooks/index.html +2 -2
  73. package/dist/client/modules/imports/index.html +2 -2
  74. package/dist/client/modules/middleware/index.html +2 -2
  75. package/dist/client/modules/modules/index.html +2 -2
  76. package/dist/client/modules/open-graph/index.html +2 -2
  77. package/dist/client/modules/overview/index.html +2 -2
  78. package/dist/client/modules/pages/index.html +2 -2
  79. package/dist/client/modules/payload/index.html +2 -2
  80. package/dist/client/modules/plugins/index.html +2 -2
  81. package/dist/client/modules/runtime-configs/index.html +2 -2
  82. package/dist/client/modules/server-routes/index.html +2 -2
  83. package/dist/client/modules/storage/index.html +2 -2
  84. package/dist/client/modules/terminals/index.html +2 -2
  85. package/dist/client/modules/virtual-files/index.html +2 -2
  86. package/dist/client/settings/index.html +2 -2
  87. package/dist/module.json +1 -1
  88. package/dist/module.mjs +1 -1
  89. package/dist/runtime/plugins/view/Container.vue +1 -1
  90. package/dist/runtime/plugins/view/Frame.vue +9 -4
  91. package/dist/runtime/plugins/view/state.d.ts +1 -2
  92. package/dist/runtime/plugins/view/state.mjs +2 -2
  93. package/dist/shared/{devtools.23768dcf.mjs → devtools.a2798b81.mjs} +2 -1
  94. package/dist/types.d.ts +14 -14
  95. package/package.json +29 -23
  96. package/dist/client/_nuxt/CodeSnippets.vue.cf956c68.js +0 -1
  97. package/dist/client/_nuxt/DrawerRight.vue.7d712780.js +0 -1
  98. package/dist/client/_nuxt/FilepathItem.vue.1374ae6e.js +0 -1
  99. package/dist/client/_nuxt/HelpFab.vue.8e13a60e.js +0 -1
  100. package/dist/client/_nuxt/NCheckbox.vue.002c643b.js +0 -1
  101. package/dist/client/_nuxt/NCodeBlock.vue.8fd682f9.js +0 -2
  102. package/dist/client/_nuxt/NIconButton.vue.61149d03.js +0 -1
  103. package/dist/client/_nuxt/NLink.vue.5e75761d.js +0 -1
  104. package/dist/client/_nuxt/NMarkdown.vue.8cf88cf5.js +0 -1
  105. package/dist/client/_nuxt/NSectionBlock.77e830ae.js +0 -1
  106. package/dist/client/_nuxt/NSectionBlock.83ecb54a.css +0 -1
  107. package/dist/client/_nuxt/NSelect.vue.90e01b18.js +0 -1
  108. package/dist/client/_nuxt/NSwitch.vue.1b0e3364.js +0 -1
  109. package/dist/client/_nuxt/NTextInput.vue.f5b2276f.js +0 -1
  110. package/dist/client/_nuxt/NpmVersionCheck.vue.80a75d57.js +0 -1
  111. package/dist/client/_nuxt/NuxtLogo.d17ca3c5.js +0 -1
  112. package/dist/client/_nuxt/assets.97af363e.js +0 -16
  113. package/dist/client/_nuxt/custom-_name_.aba84e7f.js +0 -1
  114. package/dist/client/_nuxt/default.d59c7459.js +0 -1
  115. package/dist/client/_nuxt/entry.079c020d.css +0 -1
  116. package/dist/client/_nuxt/entry.2a062301.js +0 -19
  117. package/dist/client/_nuxt/error-404.ce21871f.js +0 -1
  118. package/dist/client/_nuxt/error-component.bf406d2b.js +0 -3
  119. package/dist/client/_nuxt/imports.ba566562.js +0 -1
  120. package/dist/client/_nuxt/index.113a4cc6.js +0 -1
  121. package/dist/client/_nuxt/modules.b147b11c.js +0 -1
  122. package/dist/client/_nuxt/open-graph.cac96c16.js +0 -1
  123. package/dist/client/_nuxt/overview.848f0d2c.js +0 -1
  124. package/dist/client/_nuxt/pages.58612073.js +0 -1
  125. package/dist/client/_nuxt/plugins.14197f41.js +0 -1
  126. package/dist/client/_nuxt/server-routes.bf183192.js +0 -9
  127. package/dist/client/_nuxt/settings.59b94bec.js +0 -1
  128. package/dist/client/_nuxt/storage.76e0a760.js +0 -1
  129. package/dist/client/_nuxt/virtual-files.0b362e16.js +0 -1
@@ -1,19 +0,0 @@
1
- function Ki(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}function Yt(e){if(ne(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Oe(r)?yp(r):Yt(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(Oe(e))return e;if(Ae(e))return e}}const mp=/;(?![^(]*\))/g,gp=/:([^]+)/,_p=/\/\*.*?\*\//gs;function yp(e){const t={};return e.replace(_p,"").split(mp).forEach(n=>{if(n){const r=n.split(gp);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Me(e){let t="";if(Oe(e))t=e;else if(ne(e))for(let n=0;n<e.length;n++){const r=Me(e[n]);r&&(t+=r+" ")}else if(Ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ou(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Oe(t)&&(e.class=Me(t)),n&&(e.style=Yt(n)),e}const vp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bp=Ki(vp);function iu(e){return!!e||e===""}function wp(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=bn(e[r],t[r]);return n}function bn(e,t){if(e===t)return!0;let n=ja(e),r=ja(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Yr(e),r=Yr(t),n||r)return e===t;if(n=ne(e),r=ne(t),n||r)return n&&r?wp(e,t):!1;if(n=Ae(e),r=Ae(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(a&&!c||!a&&c||!bn(e[i],t[i]))return!1}}return String(e)===String(t)}function Ji(e,t){return e.findIndex(n=>bn(n,t))}const Bn=e=>Oe(e)?e:e==null?"":ne(e)||Ae(e)&&(e.toString===lu||!fe(e.toString))?JSON.stringify(e,au,2):String(e),au=(e,t)=>t&&t.__v_isRef?au(e,t.value):Ln(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Qn(t)?{[`Set(${t.size})`]:[...t.values()]}:Ae(t)&&!ne(t)&&!cu(t)?String(t):t,Re={},On=[],gt=()=>{},kp=()=>!1,Tp=/^on[^a-z]/,ls=e=>Tp.test(e),Xi=e=>e.startsWith("onUpdate:"),Be=Object.assign,Yi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Pp=Object.prototype.hasOwnProperty,ke=(e,t)=>Pp.call(e,t),ne=Array.isArray,Ln=e=>Zn(e)==="[object Map]",Qn=e=>Zn(e)==="[object Set]",ja=e=>Zn(e)==="[object Date]",Sp=e=>Zn(e)==="[object RegExp]",fe=e=>typeof e=="function",Oe=e=>typeof e=="string",Yr=e=>typeof e=="symbol",Ae=e=>e!==null&&typeof e=="object",Qi=e=>Ae(e)&&fe(e.then)&&fe(e.catch),lu=Object.prototype.toString,Zn=e=>lu.call(e),xp=e=>Zn(e).slice(8,-1),cu=e=>Zn(e)==="[object Object]",Zi=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Mr=Ki(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),po=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ep=/-(\w)/g,Tt=po(e=>e.replace(Ep,(t,n)=>n?n.toUpperCase():"")),Ap=/\B([A-Z])/g,Sn=po(e=>e.replace(Ap,"-$1").toLowerCase()),ho=po(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ho=po(e=>e?`on${ho(e)}`:""),Qr=(e,t)=>!Object.is(e,t),Nn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},js=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ms=e=>{const t=parseFloat(e);return isNaN(t)?e:t},uu=e=>{const t=Oe(e)?Number(e):NaN;return isNaN(t)?e:t};let Ma;const $p=()=>Ma||(Ma=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let tt;class Rp{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=tt,!t&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=tt;try{return tt=this,t()}finally{tt=n}}}on(){tt=this}off(){tt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function Op(e,t=tt){t&&t.active&&t.effects.push(e)}function fu(){return tt}function Lp(e){tt&&tt.cleanups.push(e)}const ea=e=>{const t=new Set(e);return t.w=0,t.n=0,t},du=e=>(e.w&tn)>0,pu=e=>(e.n&tn)>0,Np=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=tn},Cp=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];du(s)&&!pu(s)?s.delete(e):t[n++]=s,s.w&=~tn,s.n&=~tn}t.length=n}},Ds=new WeakMap;let Ir=0,tn=1;const ci=30;let pt;const yn=Symbol(""),ui=Symbol("");class ta{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Op(this,r)}run(){if(!this.active)return this.fn();let t=pt,n=Qt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=pt,pt=this,Qt=!0,tn=1<<++Ir,Ir<=ci?Np(this):Da(this),this.fn()}finally{Ir<=ci&&Cp(this),tn=1<<--Ir,pt=this.parent,Qt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){pt===this?this.deferStop=!0:this.active&&(Da(this),this.onStop&&this.onStop(),this.active=!1)}}function Da(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Qt=!0;const hu=[];function er(){hu.push(Qt),Qt=!1}function tr(){const e=hu.pop();Qt=e===void 0?!0:e}function Qe(e,t,n){if(Qt&&pt){let r=Ds.get(e);r||Ds.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=ea()),mu(s)}}function mu(e,t){let n=!1;Ir<=ci?pu(e)||(e.n|=tn,n=!du(e)):n=!e.has(pt),n&&(e.add(pt),pt.deps.push(e))}function Nt(e,t,n,r,s,o){const i=Ds.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ne(e)){const c=Number(r);i.forEach((l,d)=>{(d==="length"||d>=c)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ne(e)?Zi(n)&&a.push(i.get("length")):(a.push(i.get(yn)),Ln(e)&&a.push(i.get(ui)));break;case"delete":ne(e)||(a.push(i.get(yn)),Ln(e)&&a.push(i.get(ui)));break;case"set":Ln(e)&&a.push(i.get(yn));break}if(a.length===1)a[0]&&fi(a[0]);else{const c=[];for(const l of a)l&&c.push(...l);fi(ea(c))}}function fi(e,t){const n=ne(e)?e:[...e];for(const r of n)r.computed&&Ba(r);for(const r of n)r.computed||Ba(r)}function Ba(e,t){(e!==pt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Ip(e,t){var n;return(n=Ds.get(e))===null||n===void 0?void 0:n.get(t)}const jp=Ki("__proto__,__v_isRef,__isVue"),gu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Yr)),Mp=na(),Dp=na(!1,!0),Bp=na(!0),Fa=Fp();function Fp(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=be(this);for(let o=0,i=this.length;o<i;o++)Qe(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(be)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){er();const r=be(this)[t].apply(this,n);return tr(),r}}),e}function Hp(e){const t=be(this);return Qe(t,"has",e),t.hasOwnProperty(e)}function na(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?rh:wu:t?bu:vu).get(r))return r;const i=ne(r);if(!e){if(i&&ke(Fa,s))return Reflect.get(Fa,s,o);if(s==="hasOwnProperty")return Hp}const a=Reflect.get(r,s,o);return(Yr(s)?gu.has(s):jp(s))||(e||Qe(r,"get",s),t)?a:Le(a)?i&&Zi(s)?a:a.value:Ae(a)?e?nr(a):ct(a):a}}const Up=_u(),Wp=_u(!0);function _u(e=!1){return function(n,r,s,o){let i=n[r];if(wn(i)&&Le(i)&&!Le(s))return!1;if(!e&&(!Bs(s)&&!wn(s)&&(i=be(i),s=be(s)),!ne(n)&&Le(i)&&!Le(s)))return i.value=s,!0;const a=ne(n)&&Zi(r)?Number(r)<n.length:ke(n,r),c=Reflect.set(n,r,s,o);return n===be(o)&&(a?Qr(s,i)&&Nt(n,"set",r,s):Nt(n,"add",r,s)),c}}function zp(e,t){const n=ke(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Nt(e,"delete",t,void 0),r}function Vp(e,t){const n=Reflect.has(e,t);return(!Yr(t)||!gu.has(t))&&Qe(e,"has",t),n}function Gp(e){return Qe(e,"iterate",ne(e)?"length":yn),Reflect.ownKeys(e)}const yu={get:Mp,set:Up,deleteProperty:zp,has:Vp,ownKeys:Gp},qp={get:Bp,set(e,t){return!0},deleteProperty(e,t){return!0}},Kp=Be({},yu,{get:Dp,set:Wp}),ra=e=>e,mo=e=>Reflect.getPrototypeOf(e);function ps(e,t,n=!1,r=!1){e=e.__v_raw;const s=be(e),o=be(t);n||(t!==o&&Qe(s,"get",t),Qe(s,"get",o));const{has:i}=mo(s),a=r?ra:n?ia:Zr;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function hs(e,t=!1){const n=this.__v_raw,r=be(n),s=be(e);return t||(e!==s&&Qe(r,"has",e),Qe(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function ms(e,t=!1){return e=e.__v_raw,!t&&Qe(be(e),"iterate",yn),Reflect.get(e,"size",e)}function Ha(e){e=be(e);const t=be(this);return mo(t).has.call(t,e)||(t.add(e),Nt(t,"add",e,e)),this}function Ua(e,t){t=be(t);const n=be(this),{has:r,get:s}=mo(n);let o=r.call(n,e);o||(e=be(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Qr(t,i)&&Nt(n,"set",e,t):Nt(n,"add",e,t),this}function Wa(e){const t=be(this),{has:n,get:r}=mo(t);let s=n.call(t,e);s||(e=be(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Nt(t,"delete",e,void 0),o}function za(){const e=be(this),t=e.size!==0,n=e.clear();return t&&Nt(e,"clear",void 0,void 0),n}function gs(e,t){return function(r,s){const o=this,i=o.__v_raw,a=be(i),c=t?ra:e?ia:Zr;return!e&&Qe(a,"iterate",yn),i.forEach((l,d)=>r.call(s,c(l),c(d),o))}}function _s(e,t,n){return function(...r){const s=this.__v_raw,o=be(s),i=Ln(o),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=s[e](...r),d=n?ra:t?ia:Zr;return!t&&Qe(o,"iterate",c?ui:yn),{next(){const{value:u,done:f}=l.next();return f?{value:u,done:f}:{value:a?[d(u[0]),d(u[1])]:d(u),done:f}},[Symbol.iterator](){return this}}}}function Ut(e){return function(...t){return e==="delete"?!1:this}}function Jp(){const e={get(o){return ps(this,o)},get size(){return ms(this)},has:hs,add:Ha,set:Ua,delete:Wa,clear:za,forEach:gs(!1,!1)},t={get(o){return ps(this,o,!1,!0)},get size(){return ms(this)},has:hs,add:Ha,set:Ua,delete:Wa,clear:za,forEach:gs(!1,!0)},n={get(o){return ps(this,o,!0)},get size(){return ms(this,!0)},has(o){return hs.call(this,o,!0)},add:Ut("add"),set:Ut("set"),delete:Ut("delete"),clear:Ut("clear"),forEach:gs(!0,!1)},r={get(o){return ps(this,o,!0,!0)},get size(){return ms(this,!0)},has(o){return hs.call(this,o,!0)},add:Ut("add"),set:Ut("set"),delete:Ut("delete"),clear:Ut("clear"),forEach:gs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=_s(o,!1,!1),n[o]=_s(o,!0,!1),t[o]=_s(o,!1,!0),r[o]=_s(o,!0,!0)}),[e,n,t,r]}const[Xp,Yp,Qp,Zp]=Jp();function sa(e,t){const n=t?e?Zp:Qp:e?Yp:Xp;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ke(n,s)&&s in r?n:r,s,o)}const eh={get:sa(!1,!1)},th={get:sa(!1,!0)},nh={get:sa(!0,!1)},vu=new WeakMap,bu=new WeakMap,wu=new WeakMap,rh=new WeakMap;function sh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function oh(e){return e.__v_skip||!Object.isExtensible(e)?0:sh(xp(e))}function ct(e){return wn(e)?e:oa(e,!1,yu,eh,vu)}function ku(e){return oa(e,!1,Kp,th,bu)}function nr(e){return oa(e,!0,qp,nh,wu)}function oa(e,t,n,r,s){if(!Ae(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=oh(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function Cn(e){return wn(e)?Cn(e.__v_raw):!!(e&&e.__v_isReactive)}function wn(e){return!!(e&&e.__v_isReadonly)}function Bs(e){return!!(e&&e.__v_isShallow)}function Tu(e){return Cn(e)||wn(e)}function be(e){const t=e&&e.__v_raw;return t?be(t):e}function Pu(e){return js(e,"__v_skip",!0),e}const Zr=e=>Ae(e)?ct(e):e,ia=e=>Ae(e)?nr(e):e;function aa(e){Qt&&pt&&(e=be(e),mu(e.dep||(e.dep=ea())))}function go(e,t){e=be(e);const n=e.dep;n&&fi(n)}function Le(e){return!!(e&&e.__v_isRef===!0)}function te(e){return Su(e,!1)}function es(e){return Su(e,!0)}function Su(e,t){return Le(e)?e:new ih(e,t)}class ih{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:be(t),this._value=n?t:Zr(t)}get value(){return aa(this),this._value}set value(t){const n=this.__v_isShallow||Bs(t)||wn(t);t=n?t:be(t),Qr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Zr(t),go(this))}}function yP(e){go(e)}function Q(e){return Le(e)?e.value:e}const ah={get:(e,t,n)=>Q(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Le(s)&&!Le(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function xu(e){return Cn(e)?e:new Proxy(e,ah)}class lh{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>aa(this),()=>go(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function ch(e){return new lh(e)}function uh(e){const t=ne(e)?new Array(e.length):{};for(const n in e)t[n]=_o(e,n);return t}class fh{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ip(be(this._object),this._key)}}function _o(e,t,n){const r=e[t];return Le(r)?r:new fh(e,t,n)}var Eu;class dh{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Eu]=!1,this._dirty=!0,this.effect=new ta(t,()=>{this._dirty||(this._dirty=!0,go(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=be(this);return aa(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Eu="__v_isReadonly";function ph(e,t,n=!1){let r,s;const o=fe(e);return o?(r=e,s=gt):(r=e.get,s=e.set),new dh(r,s,o||!s,n)}function Zt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){rr(o,t,n)}return s}function lt(e,t,n,r){if(fe(e)){const o=Zt(e,t,n,r);return o&&Qi(o)&&o.catch(i=>{rr(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(lt(e[o],t,n,r));return s}function rr(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=n;for(;o;){const l=o.ec;if(l){for(let d=0;d<l.length;d++)if(l[d](e,i,a)===!1)return}o=o.parent}const c=t.appContext.config.errorHandler;if(c){Zt(c,null,10,[e,i,a]);return}}hh(e,n,s,r)}function hh(e,t,n,r=!0){console.error(e)}let ts=!1,di=!1;const We=[];let kt=0;const In=[];let Et=null,mn=0;const Au=Promise.resolve();let la=null;function Dt(e){const t=la||Au;return e?t.then(this?e.bind(this):e):t}function mh(e){let t=kt+1,n=We.length;for(;t<n;){const r=t+n>>>1;ns(We[r])<e?t=r+1:n=r}return t}function yo(e){(!We.length||!We.includes(e,ts&&e.allowRecurse?kt+1:kt))&&(e.id==null?We.push(e):We.splice(mh(e.id),0,e),$u())}function $u(){!ts&&!di&&(di=!0,la=Au.then(Ou))}function gh(e){const t=We.indexOf(e);t>kt&&We.splice(t,1)}function Ru(e){ne(e)?In.push(...e):(!Et||!Et.includes(e,e.allowRecurse?mn+1:mn))&&In.push(e),$u()}function Va(e,t=ts?kt+1:0){for(;t<We.length;t++){const n=We[t];n&&n.pre&&(We.splice(t,1),t--,n())}}function Fs(e){if(In.length){const t=[...new Set(In)];if(In.length=0,Et){Et.push(...t);return}for(Et=t,Et.sort((n,r)=>ns(n)-ns(r)),mn=0;mn<Et.length;mn++)Et[mn]();Et=null,mn=0}}const ns=e=>e.id==null?1/0:e.id,_h=(e,t)=>{const n=ns(e)-ns(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ou(e){di=!1,ts=!0,We.sort(_h);const t=gt;try{for(kt=0;kt<We.length;kt++){const n=We[kt];n&&n.active!==!1&&Zt(n,null,14)}}finally{kt=0,We.length=0,Fs(),ts=!1,la=null,(We.length||In.length)&&Ou()}}function yh(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Re;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:u,trim:f}=r[d]||Re;f&&(s=n.map(b=>Oe(b)?b.trim():b)),u&&(s=n.map(Ms))}let a,c=r[a=Ho(t)]||r[a=Ho(Tt(t))];!c&&o&&(c=r[a=Ho(Sn(t))]),c&&lt(c,e,6,s);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,lt(l,e,6,s)}}function Lu(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!fe(e)){const c=l=>{const d=Lu(l,t,!0);d&&(a=!0,Be(i,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(Ae(e)&&r.set(e,null),null):(ne(o)?o.forEach(c=>i[c]=null):Be(i,o),Ae(e)&&r.set(e,i),i)}function vo(e,t){return!e||!ls(t)?!1:(t=t.slice(2).replace(/Once$/,""),ke(e,t[0].toLowerCase()+t.slice(1))||ke(e,Sn(t))||ke(e,t))}let He=null,bo=null;function Hs(e){const t=He;return He=e,bo=e&&e.type.__scopeId||null,t}function vh(e){bo=e}function bh(){bo=null}const wh=e=>xe;function xe(e,t=He,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&sl(-1);const o=Hs(t);let i;try{i=e(...s)}finally{Hs(o),r._d&&sl(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Uo(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:c,emit:l,render:d,renderCache:u,data:f,setupState:b,ctx:m,inheritAttrs:T}=e;let S,w;const h=Hs(e);try{if(n.shapeFlag&4){const P=s||r;S=ot(d.call(P,P,u,o,b,f,m)),w=c}else{const P=t;S=ot(P.length>1?P(o,{attrs:c,slots:a,emit:l}):P(o,null)),w=t.props?c:Th(c)}}catch(P){Hr.length=0,rr(P,e,1),S=le(qe)}let v=S;if(w&&T!==!1){const P=Object.keys(w),{shapeFlag:k}=v;P.length&&k&7&&(i&&P.some(Xi)&&(w=Ph(w,i)),v=Ct(v,w))}return n.dirs&&(v=Ct(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),S=v,Hs(h),S}function kh(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Wn(r)){if(r.type!==qe||r.children==="v-if"){if(t)return;t=r}}else return}return t}const Th=e=>{let t;for(const n in e)(n==="class"||n==="style"||ls(n))&&((t||(t={}))[n]=e[n]);return t},Ph=(e,t)=>{const n={};for(const r in e)(!Xi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Sh(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:c}=t,l=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Ga(r,i,l):!!i;if(c&8){const d=t.dynamicProps;for(let u=0;u<d.length;u++){const f=d[u];if(i[f]!==r[f]&&!vo(l,f))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Ga(r,i,l):!0:!!i;return!1}function Ga(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!vo(n,o))return!0}return!1}function ca({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Nu=e=>e.__isSuspense,xh={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,c,l){e==null?Eh(t,n,r,s,o,i,a,c,l):Ah(e,t,n,r,s,i,a,c,l)},hydrate:$h,create:ua,normalize:Rh},Cu=xh;function rs(e,t){const n=e.props&&e.props[t];fe(n)&&n()}function Eh(e,t,n,r,s,o,i,a,c){const{p:l,o:{createElement:d}}=c,u=d("div"),f=e.suspense=ua(e,s,r,t,u,n,o,i,a,c);l(null,f.pendingBranch=e.ssContent,u,null,r,f,o,i),f.deps>0?(rs(e,"onPending"),rs(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,o,i),jn(f,e.ssFallback)):f.resolve()}function Ah(e,t,n,r,s,o,i,a,{p:c,um:l,o:{createElement:d}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const f=t.ssContent,b=t.ssFallback,{activeBranch:m,pendingBranch:T,isInFallback:S,isHydrating:w}=u;if(T)u.pendingBranch=f,ht(f,T)?(c(T,f,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0?u.resolve():S&&(c(m,b,n,r,s,null,o,i,a),jn(u,b))):(u.pendingId++,w?(u.isHydrating=!1,u.activeBranch=T):l(T,s,u),u.deps=0,u.effects.length=0,u.hiddenContainer=d("div"),S?(c(null,f,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0?u.resolve():(c(m,b,n,r,s,null,o,i,a),jn(u,b))):m&&ht(f,m)?(c(m,f,n,r,s,u,o,i,a),u.resolve(!0)):(c(null,f,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0&&u.resolve()));else if(m&&ht(f,m))c(m,f,n,r,s,u,o,i,a),jn(u,f);else if(rs(t,"onPending"),u.pendingBranch=f,u.pendingId++,c(null,f,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0)u.resolve();else{const{timeout:h,pendingId:v}=u;h>0?setTimeout(()=>{u.pendingId===v&&u.fallback(b)},h):h===0&&u.fallback(b)}}function ua(e,t,n,r,s,o,i,a,c,l,d=!1){const{p:u,m:f,um:b,n:m,o:{parentNode:T,remove:S}}=l,w=e.props?uu(e.props.timeout):void 0,h={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof w=="number"?w:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(v=!1){const{vnode:P,activeBranch:k,pendingBranch:p,pendingId:g,effects:_,parentComponent:y,container:x}=h;if(h.isHydrating)h.isHydrating=!1;else if(!v){const O=k&&p.transition&&p.transition.mode==="out-in";O&&(k.transition.afterLeave=()=>{g===h.pendingId&&f(p,x,L,0)});let{anchor:L}=h;k&&(L=m(k),b(k,y,h,!0)),O||f(p,x,L,0)}jn(h,p),h.pendingBranch=null,h.isInFallback=!1;let E=h.parent,A=!1;for(;E;){if(E.pendingBranch){E.effects.push(..._),A=!0;break}E=E.parent}A||Ru(_),h.effects=[],rs(P,"onResolve")},fallback(v){if(!h.pendingBranch)return;const{vnode:P,activeBranch:k,parentComponent:p,container:g,isSVG:_}=h;rs(P,"onFallback");const y=m(k),x=()=>{h.isInFallback&&(u(null,v,g,y,p,null,_,a,c),jn(h,v))},E=v.transition&&v.transition.mode==="out-in";E&&(k.transition.afterLeave=x),h.isInFallback=!0,b(k,p,null,!0),E||x()},move(v,P,k){h.activeBranch&&f(h.activeBranch,v,P,k),h.container=v},next(){return h.activeBranch&&m(h.activeBranch)},registerDep(v,P){const k=!!h.pendingBranch;k&&h.deps++;const p=v.vnode.el;v.asyncDep.catch(g=>{rr(g,v,0)}).then(g=>{if(v.isUnmounted||h.isUnmounted||h.pendingId!==v.suspenseId)return;v.asyncResolved=!0;const{vnode:_}=v;yi(v,g,!1),p&&(_.el=p);const y=!p&&v.subTree.el;P(v,_,T(p||v.subTree.el),p?null:m(v.subTree),h,i,c),y&&S(y),ca(v,_.el),k&&--h.deps===0&&h.resolve()})},unmount(v,P){h.isUnmounted=!0,h.activeBranch&&b(h.activeBranch,n,v,P),h.pendingBranch&&b(h.pendingBranch,n,v,P)}};return h}function $h(e,t,n,r,s,o,i,a,c){const l=t.suspense=ua(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),d=c(e,l.pendingBranch=t.ssContent,n,l,o,i);return l.deps===0&&l.resolve(),d}function Rh(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=qa(r?n.default:n),e.ssFallback=r?qa(n.fallback):le(qe)}function qa(e){let t;if(fe(e)){const n=Un&&e._c;n&&(e._d=!1,ie()),e=e(),n&&(e._d=!0,t=it,sf())}return ne(e)&&(e=kh(e)),e=ot(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Iu(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):Ru(e)}function jn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,ca(r,s))}function Mn(e,t){if(Ce){let n=Ce.provides;const r=Ce.parent&&Ce.parent.provides;r===n&&(n=Ce.provides=Object.create(r)),n[e]=t}}function Ye(e,t,n=!1){const r=Ce||He;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&fe(t)?t.call(r.proxy):t}}function Us(e,t){return fa(e,null,t)}const ys={};function Ie(e,t,n){return fa(e,t,n)}function fa(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=Re){const a=fu()===Ce?.scope?Ce:null;let c,l=!1,d=!1;if(Le(e)?(c=()=>e.value,l=Bs(e)):Cn(e)?(c=()=>e,r=!0):ne(e)?(d=!0,l=e.some(v=>Cn(v)||Bs(v)),c=()=>e.map(v=>{if(Le(v))return v.value;if(Cn(v))return _n(v);if(fe(v))return Zt(v,a,2)})):fe(e)?t?c=()=>Zt(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return u&&u(),lt(e,a,3,[f])}:c=gt,t&&r){const v=c;c=()=>_n(v())}let u,f=v=>{u=w.onStop=()=>{Zt(v,a,4)}},b;if(Vn)if(f=gt,t?n&&lt(t,a,3,[c(),d?[]:void 0,f]):c(),s==="sync"){const v=ym();b=v.__watcherHandles||(v.__watcherHandles=[])}else return gt;let m=d?new Array(e.length).fill(ys):ys;const T=()=>{if(w.active)if(t){const v=w.run();(r||l||(d?v.some((P,k)=>Qr(P,m[k])):Qr(v,m)))&&(u&&u(),lt(t,a,3,[v,m===ys?void 0:d&&m[0]===ys?[]:m,f]),m=v)}else w.run()};T.allowRecurse=!!t;let S;s==="sync"?S=T:s==="post"?S=()=>Fe(T,a&&a.suspense):(T.pre=!0,a&&(T.id=a.uid),S=()=>yo(T));const w=new ta(c,S);t?n?T():m=w.run():s==="post"?Fe(w.run.bind(w),a&&a.suspense):w.run();const h=()=>{w.stop(),a&&a.scope&&Yi(a.scope.effects,w)};return b&&b.push(h),h}function Oh(e,t,n){const r=this.proxy,s=Oe(e)?e.includes(".")?ju(r,e):()=>r[e]:e.bind(r,r);let o;fe(t)?o=t:(o=t.handler,n=t);const i=Ce;rn(this);const a=fa(s,o.bind(r),n);return i?rn(i):en(),a}function ju(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function _n(e,t){if(!Ae(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Le(e))_n(e.value,t);else if(ne(e))for(let n=0;n<e.length;n++)_n(e[n],t);else if(Qn(e)||Ln(e))e.forEach(n=>{_n(n,t)});else if(cu(e))for(const n in e)_n(e[n],t);return e}function Mu(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ft(()=>{e.isMounted=!0}),sr(()=>{e.isUnmounting=!0}),e}const st=[Function,Array],Lh={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:st,onEnter:st,onAfterEnter:st,onEnterCancelled:st,onBeforeLeave:st,onLeave:st,onAfterLeave:st,onLeaveCancelled:st,onBeforeAppear:st,onAppear:st,onAfterAppear:st,onAppearCancelled:st},setup(e,{slots:t}){const n=rt(),r=Mu();let s;return()=>{const o=t.default&&da(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const T of o)if(T.type!==qe){i=T;break}}const a=be(e),{mode:c}=a;if(r.isLeaving)return Wo(i);const l=Ka(i);if(!l)return Wo(i);const d=ss(l,a,r,n);Fn(l,d);const u=n.subTree,f=u&&Ka(u);let b=!1;const{getTransitionKey:m}=l.type;if(m){const T=m();s===void 0?s=T:T!==s&&(s=T,b=!0)}if(f&&f.type!==qe&&(!ht(l,f)||b)){const T=ss(f,a,r,n);if(Fn(f,T),c==="out-in")return r.isLeaving=!0,T.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Wo(i);c==="in-out"&&l.type!==qe&&(T.delayLeave=(S,w,h)=>{const v=Bu(r,f);v[String(f.key)]=f,S._leaveCb=()=>{w(),S._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=h})}return i}}},Du=Lh;function Bu(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ss(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:d,onBeforeLeave:u,onLeave:f,onAfterLeave:b,onLeaveCancelled:m,onBeforeAppear:T,onAppear:S,onAfterAppear:w,onAppearCancelled:h}=t,v=String(e.key),P=Bu(n,e),k=(_,y)=>{_&&lt(_,r,9,y)},p=(_,y)=>{const x=y[1];k(_,y),ne(_)?_.every(E=>E.length<=1)&&x():_.length<=1&&x()},g={mode:o,persisted:i,beforeEnter(_){let y=a;if(!n.isMounted)if(s)y=T||a;else return;_._leaveCb&&_._leaveCb(!0);const x=P[v];x&&ht(e,x)&&x.el._leaveCb&&x.el._leaveCb(),k(y,[_])},enter(_){let y=c,x=l,E=d;if(!n.isMounted)if(s)y=S||c,x=w||l,E=h||d;else return;let A=!1;const O=_._enterCb=L=>{A||(A=!0,L?k(E,[_]):k(x,[_]),g.delayedLeave&&g.delayedLeave(),_._enterCb=void 0)};y?p(y,[_,O]):O()},leave(_,y){const x=String(e.key);if(_._enterCb&&_._enterCb(!0),n.isUnmounting)return y();k(u,[_]);let E=!1;const A=_._leaveCb=O=>{E||(E=!0,y(),O?k(m,[_]):k(b,[_]),_._leaveCb=void 0,P[x]===e&&delete P[x])};P[x]=e,f?p(f,[_,A]):A()},clone(_){return ss(_,t,n,r)}};return g}function Wo(e){if(cs(e))return e=Ct(e),e.children=null,e}function Ka(e){return cs(e)?e.children?e.children[0]:void 0:e}function Fn(e,t){e.shapeFlag&6&&e.component?Fn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function da(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===je?(i.patchFlag&128&&s++,r=r.concat(da(i.children,t,a))):(t||i.type!==qe)&&r.push(a!=null?Ct(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Te(e){return fe(e)?{setup:e,name:e.name}:e}const vn=e=>!!e.type.__asyncLoader;function Nh(e){fe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:a}=e;let c=null,l,d=0;const u=()=>(d++,c=null,f()),f=()=>{let b;return c||(b=c=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((T,S)=>{a(m,()=>T(u()),()=>S(m),d+1)});throw m}).then(m=>b!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),l=m,m)))};return Te({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return l},setup(){const b=Ce;if(l)return()=>zo(l,b);const m=h=>{c=null,rr(h,b,13,!r)};if(i&&b.suspense||Vn)return f().then(h=>()=>zo(h,b)).catch(h=>(m(h),()=>r?le(r,{error:h}):null));const T=te(!1),S=te(),w=te(!!s);return s&&setTimeout(()=>{w.value=!1},s),o!=null&&setTimeout(()=>{if(!T.value&&!S.value){const h=new Error(`Async component timed out after ${o}ms.`);m(h),S.value=h}},o),f().then(()=>{T.value=!0,b.parent&&cs(b.parent.vnode)&&yo(b.parent.update)}).catch(h=>{m(h),S.value=h}),()=>{if(T.value&&l)return zo(l,b);if(S.value&&r)return le(r,{error:S.value});if(n&&!w.value)return le(n)}}})}function zo(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=le(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const cs=e=>e.type.__isKeepAlive,Ch={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=rt(),r=n.ctx;if(!r.renderer)return()=>{const h=t.default&&t.default();return h&&h.length===1?h[0]:h};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:d,o:{createElement:u}}}=r,f=u("div");r.activate=(h,v,P,k,p)=>{const g=h.component;l(h,v,P,0,a),c(g.vnode,h,v,P,g,a,k,h.slotScopeIds,p),Fe(()=>{g.isDeactivated=!1,g.a&&Nn(g.a);const _=h.props&&h.props.onVnodeMounted;_&&Xe(_,g.parent,h)},a)},r.deactivate=h=>{const v=h.component;l(h,f,null,1,a),Fe(()=>{v.da&&Nn(v.da);const P=h.props&&h.props.onVnodeUnmounted;P&&Xe(P,v.parent,h),v.isDeactivated=!0},a)};function b(h){Vo(h),d(h,n,a,!0)}function m(h){s.forEach((v,P)=>{const k=vi(v.type);k&&(!h||!h(k))&&T(P)})}function T(h){const v=s.get(h);!i||!ht(v,i)?b(v):i&&Vo(i),s.delete(h),o.delete(h)}Ie(()=>[e.include,e.exclude],([h,v])=>{h&&m(P=>jr(h,P)),v&&m(P=>!jr(v,P))},{flush:"post",deep:!0});let S=null;const w=()=>{S!=null&&s.set(S,Go(n.subTree))};return Ft(w),pa(w),sr(()=>{s.forEach(h=>{const{subTree:v,suspense:P}=n,k=Go(v);if(h.type===k.type&&h.key===k.key){Vo(k);const p=k.component.da;p&&Fe(p,P);return}b(h)})}),()=>{if(S=null,!t.default)return null;const h=t.default(),v=h[0];if(h.length>1)return i=null,h;if(!Wn(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return i=null,v;let P=Go(v);const k=P.type,p=vi(vn(P)?P.type.__asyncResolved||{}:k),{include:g,exclude:_,max:y}=e;if(g&&(!p||!jr(g,p))||_&&p&&jr(_,p))return i=P,v;const x=P.key==null?k:P.key,E=s.get(x);return P.el&&(P=Ct(P),v.shapeFlag&128&&(v.ssContent=P)),S=x,E?(P.el=E.el,P.component=E.component,P.transition&&Fn(P,P.transition),P.shapeFlag|=512,o.delete(x),o.add(x)):(o.add(x),y&&o.size>parseInt(y,10)&&T(o.values().next().value)),P.shapeFlag|=256,i=P,Nu(v.type)?v:P}}},Ih=Ch;function jr(e,t){return ne(e)?e.some(n=>jr(n,t)):Oe(e)?e.split(",").includes(t):Sp(e)?e.test(t):!1}function Fu(e,t){Uu(e,"a",t)}function Hu(e,t){Uu(e,"da",t)}function Uu(e,t,n=Ce){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(wo(t,r,n),n){let s=n.parent;for(;s&&s.parent;)cs(s.parent.vnode)&&jh(r,t,n,s),s=s.parent}}function jh(e,t,n,r){const s=wo(t,e,r,!0);Ws(()=>{Yi(r[t],s)},n)}function Vo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Go(e){return e.shapeFlag&128?e.ssContent:e}function wo(e,t,n=Ce,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;er(),rn(n);const a=lt(t,n,e,i);return en(),tr(),a});return r?s.unshift(o):s.push(o),o}}const Bt=e=>(t,n=Ce)=>(!Vn||e==="sp")&&wo(e,(...r)=>t(...r),n),Wu=Bt("bm"),Ft=Bt("m"),Mh=Bt("bu"),pa=Bt("u"),sr=Bt("bum"),Ws=Bt("um"),Dh=Bt("sp"),Bh=Bt("rtg"),Fh=Bt("rtc");function zu(e,t=Ce){wo("ec",e,t)}function Hh(e,t){const n=He;if(n===null)return e;const r=To(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,c,l=Re]=t[o];i&&(fe(i)&&(i={mounted:i,updated:i}),i.deep&&_n(a),s.push({dir:i,instance:r,value:a,oldValue:void 0,arg:c,modifiers:l}))}return e}function wt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let c=a.dir[r];c&&(er(),lt(c,n,8,[e.el,a,e,t]),tr())}}const ha="components";function nn(e,t){return Gu(ha,e,!0,t)||e}const Vu=Symbol();function ma(e){return Oe(e)?Gu(ha,e,!1)||e:e||Vu}function Gu(e,t,n=!0,r=!1){const s=He||Ce;if(s){const o=s.type;if(e===ha){const a=vi(o,!1);if(a&&(a===t||a===Tt(t)||a===ho(Tt(t))))return o}const i=Ja(s[e]||o[e],t)||Ja(s.appContext[e],t);return!i&&r?o:i}}function Ja(e,t){return e&&(e[t]||e[Tt(t)]||e[ho(Tt(t))])}function Xa(e,t,n,r){let s;const o=n&&n[r];if(ne(e)||Oe(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(Ae(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,c=i.length;a<c;a++){const l=i[a];s[a]=t(e[l],l,a,o&&o[a])}}else s=[];return n&&(n[r]=s),s}function _t(e,t,n={},r,s){if(He.isCE||He.parent&&vn(He.parent)&&He.parent.isCE)return t!=="default"&&(n.name=t),le("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),ie();const i=o&&qu(o(n)),a=Ne(je,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function qu(e){return e.some(t=>Wn(t)?!(t.type===qe||t.type===je&&!qu(t.children)):!0)?e:null}const pi=e=>e?lf(e)?To(e)||e.proxy:pi(e.parent):null,Dr=Be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>pi(e.parent),$root:e=>pi(e.root),$emit:e=>e.emit,$options:e=>ga(e),$forceUpdate:e=>e.f||(e.f=()=>yo(e.update)),$nextTick:e=>e.n||(e.n=Dt.bind(e.proxy)),$watch:e=>Oh.bind(e)}),qo=(e,t)=>e!==Re&&!e.__isScriptSetup&&ke(e,t),Uh={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:c}=e;let l;if(t[0]!=="$"){const b=i[t];if(b!==void 0)switch(b){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(qo(r,t))return i[t]=1,r[t];if(s!==Re&&ke(s,t))return i[t]=2,s[t];if((l=e.propsOptions[0])&&ke(l,t))return i[t]=3,o[t];if(n!==Re&&ke(n,t))return i[t]=4,n[t];hi&&(i[t]=0)}}const d=Dr[t];let u,f;if(d)return t==="$attrs"&&Qe(e,"get",t),d(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Re&&ke(n,t))return i[t]=4,n[t];if(f=c.config.globalProperties,ke(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return qo(s,t)?(s[t]=n,!0):r!==Re&&ke(r,t)?(r[t]=n,!0):ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==Re&&ke(e,i)||qo(t,i)||(a=o[0])&&ke(a,i)||ke(r,i)||ke(Dr,i)||ke(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ke(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let hi=!0;function Wh(e){const t=ga(e),n=e.proxy,r=e.ctx;hi=!1,t.beforeCreate&&Ya(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:c,inject:l,created:d,beforeMount:u,mounted:f,beforeUpdate:b,updated:m,activated:T,deactivated:S,beforeDestroy:w,beforeUnmount:h,destroyed:v,unmounted:P,render:k,renderTracked:p,renderTriggered:g,errorCaptured:_,serverPrefetch:y,expose:x,inheritAttrs:E,components:A,directives:O,filters:L}=t;if(l&&zh(l,r,null,e.appContext.config.unwrapInjectedRef),i)for(const re in i){const Z=i[re];fe(Z)&&(r[re]=Z.bind(n))}if(s){const re=s.call(n,n);Ae(re)&&(e.data=ct(re))}if(hi=!0,o)for(const re in o){const Z=o[re],oe=fe(Z)?Z.bind(n,n):fe(Z.get)?Z.get.bind(n,n):gt,me=!fe(Z)&&fe(Z.set)?Z.set.bind(n):gt,_e=ue({get:oe,set:me});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>_e.value,set:de=>_e.value=de})}if(a)for(const re in a)Ku(a[re],r,n,re);if(c){const re=fe(c)?c.call(n):c;Reflect.ownKeys(re).forEach(Z=>{Mn(Z,re[Z])})}d&&Ya(d,e,"c");function z(re,Z){ne(Z)?Z.forEach(oe=>re(oe.bind(n))):Z&&re(Z.bind(n))}if(z(Wu,u),z(Ft,f),z(Mh,b),z(pa,m),z(Fu,T),z(Hu,S),z(zu,_),z(Fh,p),z(Bh,g),z(sr,h),z(Ws,P),z(Dh,y),ne(x))if(x.length){const re=e.exposed||(e.exposed={});x.forEach(Z=>{Object.defineProperty(re,Z,{get:()=>n[Z],set:oe=>n[Z]=oe})})}else e.exposed||(e.exposed={});k&&e.render===gt&&(e.render=k),E!=null&&(e.inheritAttrs=E),A&&(e.components=A),O&&(e.directives=O)}function zh(e,t,n=gt,r=!1){ne(e)&&(e=mi(e));for(const s in e){const o=e[s];let i;Ae(o)?"default"in o?i=Ye(o.from||s,o.default,!0):i=Ye(o.from||s):i=Ye(o),Le(i)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[s]=i}}function Ya(e,t,n){lt(ne(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ku(e,t,n,r){const s=r.includes(".")?ju(n,r):()=>n[r];if(Oe(e)){const o=t[e];fe(o)&&Ie(s,o)}else if(fe(e))Ie(s,e.bind(n));else if(Ae(e))if(ne(e))e.forEach(o=>Ku(o,t,n,r));else{const o=fe(e.handler)?e.handler.bind(n):t[e.handler];fe(o)&&Ie(s,o,e)}}function ga(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let c;return a?c=a:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(l=>zs(c,l,i,!0)),zs(c,t,i)),Ae(t)&&o.set(t,c),c}function zs(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&zs(e,o,n,!0),s&&s.forEach(i=>zs(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Vh[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Vh={data:Qa,props:pn,emits:pn,methods:pn,computed:pn,beforeCreate:Ge,created:Ge,beforeMount:Ge,mounted:Ge,beforeUpdate:Ge,updated:Ge,beforeDestroy:Ge,beforeUnmount:Ge,destroyed:Ge,unmounted:Ge,activated:Ge,deactivated:Ge,errorCaptured:Ge,serverPrefetch:Ge,components:pn,directives:pn,watch:qh,provide:Qa,inject:Gh};function Qa(e,t){return t?e?function(){return Be(fe(e)?e.call(this,this):e,fe(t)?t.call(this,this):t)}:t:e}function Gh(e,t){return pn(mi(e),mi(t))}function mi(e){if(ne(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ge(e,t){return e?[...new Set([].concat(e,t))]:t}function pn(e,t){return e?Be(Be(Object.create(null),e),t):t}function qh(e,t){if(!e)return t;if(!t)return e;const n=Be(Object.create(null),e);for(const r in t)n[r]=Ge(e[r],t[r]);return n}function Kh(e,t,n,r=!1){const s={},o={};js(o,ko,1),e.propsDefaults=Object.create(null),Ju(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:ku(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Jh(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=be(s),[c]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let u=0;u<d.length;u++){let f=d[u];if(vo(e.emitsOptions,f))continue;const b=t[f];if(c)if(ke(o,f))b!==o[f]&&(o[f]=b,l=!0);else{const m=Tt(f);s[m]=gi(c,a,m,b,e,!1)}else b!==o[f]&&(o[f]=b,l=!0)}}}else{Ju(e,t,s,o)&&(l=!0);let d;for(const u in a)(!t||!ke(t,u)&&((d=Sn(u))===u||!ke(t,d)))&&(c?n&&(n[u]!==void 0||n[d]!==void 0)&&(s[u]=gi(c,a,u,void 0,e,!0)):delete s[u]);if(o!==a)for(const u in o)(!t||!ke(t,u))&&(delete o[u],l=!0)}l&&Nt(e,"set","$attrs")}function Ju(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let c in t){if(Mr(c))continue;const l=t[c];let d;s&&ke(s,d=Tt(c))?!o||!o.includes(d)?n[d]=l:(a||(a={}))[d]=l:vo(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,i=!0)}if(o){const c=be(n),l=a||Re;for(let d=0;d<o.length;d++){const u=o[d];n[u]=gi(s,c,u,l[u],e,!ke(l,u))}}return i}function gi(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=ke(i,"default");if(a&&r===void 0){const c=i.default;if(i.type!==Function&&fe(c)){const{propsDefaults:l}=s;n in l?r=l[n]:(rn(s),r=l[n]=c.call(null,t),en())}else r=c}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===Sn(n))&&(r=!0))}return r}function Xu(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let c=!1;if(!fe(e)){const d=u=>{c=!0;const[f,b]=Xu(u,t,!0);Be(i,f),b&&a.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!c)return Ae(e)&&r.set(e,On),On;if(ne(o))for(let d=0;d<o.length;d++){const u=Tt(o[d]);Za(u)&&(i[u]=Re)}else if(o)for(const d in o){const u=Tt(d);if(Za(u)){const f=o[d],b=i[u]=ne(f)||fe(f)?{type:f}:Object.assign({},f);if(b){const m=nl(Boolean,b.type),T=nl(String,b.type);b[0]=m>-1,b[1]=T<0||m<T,(m>-1||ke(b,"default"))&&a.push(u)}}}const l=[i,a];return Ae(e)&&r.set(e,l),l}function Za(e){return e[0]!=="$"}function el(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function tl(e,t){return el(e)===el(t)}function nl(e,t){return ne(t)?t.findIndex(n=>tl(n,e)):fe(t)&&tl(t,e)?0:-1}const Yu=e=>e[0]==="_"||e==="$stable",_a=e=>ne(e)?e.map(ot):[ot(e)],Xh=(e,t,n)=>{if(t._n)return t;const r=xe((...s)=>_a(t(...s)),n);return r._c=!1,r},Qu=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Yu(s))continue;const o=e[s];if(fe(o))t[s]=Xh(s,o,r);else if(o!=null){const i=_a(o);t[s]=()=>i}}},Zu=(e,t)=>{const n=_a(t);e.slots.default=()=>n},Yh=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=be(t),js(t,"_",n)):Qu(t,e.slots={})}else e.slots={},t&&Zu(e,t);js(e.slots,ko,1)},Qh=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Re;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Be(s,t),!n&&a===1&&delete s._):(o=!t.$stable,Qu(t,s)),i=t}else t&&(Zu(e,t),i={default:1});if(o)for(const a in s)!Yu(a)&&!(a in i)&&delete s[a]};function ef(){return{app:null,config:{isNativeTag:kp,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Zh=0;function em(e,t){return function(r,s=null){fe(r)||(r=Object.assign({},r)),s!=null&&!Ae(s)&&(s=null);const o=ef(),i=new Set;let a=!1;const c=o.app={_uid:Zh++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:uf,get config(){return o.config},set config(l){},use(l,...d){return i.has(l)||(l&&fe(l.install)?(i.add(l),l.install(c,...d)):fe(l)&&(i.add(l),l(c,...d))),c},mixin(l){return o.mixins.includes(l)||o.mixins.push(l),c},component(l,d){return d?(o.components[l]=d,c):o.components[l]},directive(l,d){return d?(o.directives[l]=d,c):o.directives[l]},mount(l,d,u){if(!a){const f=le(r,s);return f.appContext=o,d&&t?t(f,l):e(f,l,u),a=!0,c._container=l,l.__vue_app__=c,To(f.component)||f.component.proxy}},unmount(){a&&(e(null,c._container),delete c._container.__vue_app__)},provide(l,d){return o.provides[l]=d,c}};return c}}function Vs(e,t,n,r,s=!1){if(ne(e)){e.forEach((f,b)=>Vs(f,t&&(ne(t)?t[b]:t),n,r,s));return}if(vn(r)&&!s)return;const o=r.shapeFlag&4?To(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:c}=e,l=t&&t.r,d=a.refs===Re?a.refs={}:a.refs,u=a.setupState;if(l!=null&&l!==c&&(Oe(l)?(d[l]=null,ke(u,l)&&(u[l]=null)):Le(l)&&(l.value=null)),fe(c))Zt(c,a,12,[i,d]);else{const f=Oe(c),b=Le(c);if(f||b){const m=()=>{if(e.f){const T=f?ke(u,c)?u[c]:d[c]:c.value;s?ne(T)&&Yi(T,o):ne(T)?T.includes(o)||T.push(o):f?(d[c]=[o],ke(u,c)&&(u[c]=d[c])):(c.value=[o],e.k&&(d[e.k]=c.value))}else f?(d[c]=i,ke(u,c)&&(u[c]=i)):b&&(c.value=i,e.k&&(d[e.k]=i))};i?(m.id=-1,Fe(m,n)):m()}}}let Wt=!1;const vs=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",bs=e=>e.nodeType===8;function tm(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:c,createComment:l}}=e,d=(w,h)=>{if(!h.hasChildNodes()){n(null,w,h),Fs(),h._vnode=w;return}Wt=!1,u(h.firstChild,w,null,null,null),Fs(),h._vnode=w,Wt&&console.error("Hydration completed but contains mismatches.")},u=(w,h,v,P,k,p=!1)=>{const g=bs(w)&&w.data==="[",_=()=>T(w,h,v,P,k,g),{type:y,ref:x,shapeFlag:E,patchFlag:A}=h;let O=w.nodeType;h.el=w,A===-2&&(p=!1,h.dynamicChildren=null);let L=null;switch(y){case Hn:O!==3?h.children===""?(c(h.el=s(""),i(w),w),L=w):L=_():(w.data!==h.children&&(Wt=!0,w.data=h.children),L=o(w));break;case qe:O!==8||g?L=_():L=o(w);break;case Fr:if(g&&(w=o(w),O=w.nodeType),O===1||O===3){L=w;const W=!h.children.length;for(let z=0;z<h.staticCount;z++)W&&(h.children+=L.nodeType===1?L.outerHTML:L.data),z===h.staticCount-1&&(h.anchor=L),L=o(L);return g?o(L):L}else _();break;case je:g?L=m(w,h,v,P,k,p):L=_();break;default:if(E&1)O!==1||h.type.toLowerCase()!==w.tagName.toLowerCase()?L=_():L=f(w,h,v,P,k,p);else if(E&6){h.slotScopeIds=k;const W=i(w);if(t(h,W,null,v,P,vs(W),p),L=g?S(w):o(w),L&&bs(L)&&L.data==="teleport end"&&(L=o(L)),vn(h)){let z;g?(z=le(je),z.anchor=L?L.previousSibling:W.lastChild):z=w.nodeType===3?at(""):le("div"),z.el=w,h.component.subTree=z}}else E&64?O!==8?L=_():L=h.type.hydrate(w,h,v,P,k,p,e,b):E&128&&(L=h.type.hydrate(w,h,v,P,vs(i(w)),k,p,e,u))}return x!=null&&Vs(x,null,P,h),L},f=(w,h,v,P,k,p)=>{p=p||!!h.dynamicChildren;const{type:g,props:_,patchFlag:y,shapeFlag:x,dirs:E}=h,A=g==="input"&&E||g==="option";if(A||y!==-1){if(E&&wt(h,null,v,"created"),_)if(A||!p||y&48)for(const L in _)(A&&L.endsWith("value")||ls(L)&&!Mr(L))&&r(w,L,null,_[L],!1,void 0,v);else _.onClick&&r(w,"onClick",null,_.onClick,!1,void 0,v);let O;if((O=_&&_.onVnodeBeforeMount)&&Xe(O,v,h),E&&wt(h,null,v,"beforeMount"),((O=_&&_.onVnodeMounted)||E)&&Iu(()=>{O&&Xe(O,v,h),E&&wt(h,null,v,"mounted")},P),x&16&&!(_&&(_.innerHTML||_.textContent))){let L=b(w.firstChild,h,w,v,P,k,p);for(;L;){Wt=!0;const W=L;L=L.nextSibling,a(W)}}else x&8&&w.textContent!==h.children&&(Wt=!0,w.textContent=h.children)}return w.nextSibling},b=(w,h,v,P,k,p,g)=>{g=g||!!h.dynamicChildren;const _=h.children,y=_.length;for(let x=0;x<y;x++){const E=g?_[x]:_[x]=ot(_[x]);if(w)w=u(w,E,P,k,p,g);else{if(E.type===Hn&&!E.children)continue;Wt=!0,n(null,E,v,null,P,k,vs(v),p)}}return w},m=(w,h,v,P,k,p)=>{const{slotScopeIds:g}=h;g&&(k=k?k.concat(g):g);const _=i(w),y=b(o(w),h,_,v,P,k,p);return y&&bs(y)&&y.data==="]"?o(h.anchor=y):(Wt=!0,c(h.anchor=l("]"),_,y),y)},T=(w,h,v,P,k,p)=>{if(Wt=!0,h.el=null,p){const y=S(w);for(;;){const x=o(w);if(x&&x!==y)a(x);else break}}const g=o(w),_=i(w);return a(w),n(null,h,_,g,v,P,vs(_),k),g},S=w=>{let h=0;for(;w;)if(w=o(w),w&&bs(w)&&(w.data==="["&&h++,w.data==="]")){if(h===0)return o(w);h--}return w};return[d,u]}const Fe=Iu;function nm(e){return tf(e)}function rm(e){return tf(e,tm)}function tf(e,t){const n=$p();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:c,setText:l,setElementText:d,parentNode:u,nextSibling:f,setScopeId:b=gt,insertStaticContent:m}=e,T=($,R,I,M=null,D=null,V=null,q=!1,H=null,U=!!R.dynamicChildren)=>{if($===R)return;$&&!ht($,R)&&(M=N($),de($,D,V,!0),$=null),R.patchFlag===-2&&(U=!1,R.dynamicChildren=null);const{type:F,ref:Y,shapeFlag:C}=R;switch(F){case Hn:S($,R,I,M);break;case qe:w($,R,I,M);break;case Fr:$==null&&h(R,I,M,q);break;case je:A($,R,I,M,D,V,q,H,U);break;default:C&1?k($,R,I,M,D,V,q,H,U):C&6?O($,R,I,M,D,V,q,H,U):(C&64||C&128)&&F.process($,R,I,M,D,V,q,H,U,J)}Y!=null&&D&&Vs(Y,$&&$.ref,V,R||$,!R)},S=($,R,I,M)=>{if($==null)r(R.el=a(R.children),I,M);else{const D=R.el=$.el;R.children!==$.children&&l(D,R.children)}},w=($,R,I,M)=>{$==null?r(R.el=c(R.children||""),I,M):R.el=$.el},h=($,R,I,M)=>{[$.el,$.anchor]=m($.children,R,I,M,$.el,$.anchor)},v=({el:$,anchor:R},I,M)=>{let D;for(;$&&$!==R;)D=f($),r($,I,M),$=D;r(R,I,M)},P=({el:$,anchor:R})=>{let I;for(;$&&$!==R;)I=f($),s($),$=I;s(R)},k=($,R,I,M,D,V,q,H,U)=>{q=q||R.type==="svg",$==null?p(R,I,M,D,V,q,H,U):y($,R,D,V,q,H,U)},p=($,R,I,M,D,V,q,H)=>{let U,F;const{type:Y,props:C,shapeFlag:B,transition:X,dirs:ae}=$;if(U=$.el=i($.type,V,C&&C.is,C),B&8?d(U,$.children):B&16&&_($.children,U,null,M,D,V&&Y!=="foreignObject",q,H),ae&&wt($,null,M,"created"),g(U,$,$.scopeId,q,M),C){for(const ee in C)ee!=="value"&&!Mr(ee)&&o(U,ee,null,C[ee],V,$.children,M,D,G);"value"in C&&o(U,"value",null,C.value),(F=C.onVnodeBeforeMount)&&Xe(F,M,$)}ae&&wt($,null,M,"beforeMount");const se=(!D||D&&!D.pendingBranch)&&X&&!X.persisted;se&&X.beforeEnter(U),r(U,R,I),((F=C&&C.onVnodeMounted)||se||ae)&&Fe(()=>{F&&Xe(F,M,$),se&&X.enter(U),ae&&wt($,null,M,"mounted")},D)},g=($,R,I,M,D)=>{if(I&&b($,I),M)for(let V=0;V<M.length;V++)b($,M[V]);if(D){let V=D.subTree;if(R===V){const q=D.vnode;g($,q,q.scopeId,q.slotScopeIds,D.parent)}}},_=($,R,I,M,D,V,q,H,U=0)=>{for(let F=U;F<$.length;F++){const Y=$[F]=H?Jt($[F]):ot($[F]);T(null,Y,R,I,M,D,V,q,H)}},y=($,R,I,M,D,V,q)=>{const H=R.el=$.el;let{patchFlag:U,dynamicChildren:F,dirs:Y}=R;U|=$.patchFlag&16;const C=$.props||Re,B=R.props||Re;let X;I&&cn(I,!1),(X=B.onVnodeBeforeUpdate)&&Xe(X,I,R,$),Y&&wt(R,$,I,"beforeUpdate"),I&&cn(I,!0);const ae=D&&R.type!=="foreignObject";if(F?x($.dynamicChildren,F,H,I,M,ae,V):q||Z($,R,H,null,I,M,ae,V,!1),U>0){if(U&16)E(H,R,C,B,I,M,D);else if(U&2&&C.class!==B.class&&o(H,"class",null,B.class,D),U&4&&o(H,"style",C.style,B.style,D),U&8){const se=R.dynamicProps;for(let ee=0;ee<se.length;ee++){const pe=se[ee],De=C[pe],Ze=B[pe];(Ze!==De||pe==="value")&&o(H,pe,De,Ze,D,$.children,I,M,G)}}U&1&&$.children!==R.children&&d(H,R.children)}else!q&&F==null&&E(H,R,C,B,I,M,D);((X=B.onVnodeUpdated)||Y)&&Fe(()=>{X&&Xe(X,I,R,$),Y&&wt(R,$,I,"updated")},M)},x=($,R,I,M,D,V,q)=>{for(let H=0;H<R.length;H++){const U=$[H],F=R[H],Y=U.el&&(U.type===je||!ht(U,F)||U.shapeFlag&70)?u(U.el):I;T(U,F,Y,null,M,D,V,q,!0)}},E=($,R,I,M,D,V,q)=>{if(I!==M){if(I!==Re)for(const H in I)!Mr(H)&&!(H in M)&&o($,H,I[H],null,q,R.children,D,V,G);for(const H in M){if(Mr(H))continue;const U=M[H],F=I[H];U!==F&&H!=="value"&&o($,H,F,U,q,R.children,D,V,G)}"value"in M&&o($,"value",I.value,M.value)}},A=($,R,I,M,D,V,q,H,U)=>{const F=R.el=$?$.el:a(""),Y=R.anchor=$?$.anchor:a("");let{patchFlag:C,dynamicChildren:B,slotScopeIds:X}=R;X&&(H=H?H.concat(X):X),$==null?(r(F,I,M),r(Y,I,M),_(R.children,I,Y,D,V,q,H,U)):C>0&&C&64&&B&&$.dynamicChildren?(x($.dynamicChildren,B,I,D,V,q,H),(R.key!=null||D&&R===D.subTree)&&ya($,R,!0)):Z($,R,I,Y,D,V,q,H,U)},O=($,R,I,M,D,V,q,H,U)=>{R.slotScopeIds=H,$==null?R.shapeFlag&512?D.ctx.activate(R,I,M,q,U):L(R,I,M,D,V,q,U):W($,R,U)},L=($,R,I,M,D,V,q)=>{const H=$.component=fm($,M,D);if(cs($)&&(H.ctx.renderer=J),dm(H),H.asyncDep){if(D&&D.registerDep(H,z),!$.el){const U=H.subTree=le(qe);w(null,U,R,I)}return}z(H,$,R,I,D,V,q)},W=($,R,I)=>{const M=R.component=$.component;if(Sh($,R,I))if(M.asyncDep&&!M.asyncResolved){re(M,R,I);return}else M.next=R,gh(M.update),M.update();else R.el=$.el,M.vnode=R},z=($,R,I,M,D,V,q)=>{const H=()=>{if($.isMounted){let{next:Y,bu:C,u:B,parent:X,vnode:ae}=$,se=Y,ee;cn($,!1),Y?(Y.el=ae.el,re($,Y,q)):Y=ae,C&&Nn(C),(ee=Y.props&&Y.props.onVnodeBeforeUpdate)&&Xe(ee,X,Y,ae),cn($,!0);const pe=Uo($),De=$.subTree;$.subTree=pe,T(De,pe,u(De.el),N(De),$,D,V),Y.el=pe.el,se===null&&ca($,pe.el),B&&Fe(B,D),(ee=Y.props&&Y.props.onVnodeUpdated)&&Fe(()=>Xe(ee,X,Y,ae),D)}else{let Y;const{el:C,props:B}=R,{bm:X,m:ae,parent:se}=$,ee=vn(R);if(cn($,!1),X&&Nn(X),!ee&&(Y=B&&B.onVnodeBeforeMount)&&Xe(Y,se,R),cn($,!0),C&&ce){const pe=()=>{$.subTree=Uo($),ce(C,$.subTree,$,D,null)};ee?R.type.__asyncLoader().then(()=>!$.isUnmounted&&pe()):pe()}else{const pe=$.subTree=Uo($);T(null,pe,I,M,$,D,V),R.el=pe.el}if(ae&&Fe(ae,D),!ee&&(Y=B&&B.onVnodeMounted)){const pe=R;Fe(()=>Xe(Y,se,pe),D)}(R.shapeFlag&256||se&&vn(se.vnode)&&se.vnode.shapeFlag&256)&&$.a&&Fe($.a,D),$.isMounted=!0,R=I=M=null}},U=$.effect=new ta(H,()=>yo(F),$.scope),F=$.update=()=>U.run();F.id=$.uid,cn($,!0),F()},re=($,R,I)=>{R.component=$;const M=$.vnode.props;$.vnode=R,$.next=null,Jh($,R.props,M,I),Qh($,R.children,I),er(),Va(),tr()},Z=($,R,I,M,D,V,q,H,U=!1)=>{const F=$&&$.children,Y=$?$.shapeFlag:0,C=R.children,{patchFlag:B,shapeFlag:X}=R;if(B>0){if(B&128){me(F,C,I,M,D,V,q,H,U);return}else if(B&256){oe(F,C,I,M,D,V,q,H,U);return}}X&8?(Y&16&&G(F,D,V),C!==F&&d(I,C)):Y&16?X&16?me(F,C,I,M,D,V,q,H,U):G(F,D,V,!0):(Y&8&&d(I,""),X&16&&_(C,I,M,D,V,q,H,U))},oe=($,R,I,M,D,V,q,H,U)=>{$=$||On,R=R||On;const F=$.length,Y=R.length,C=Math.min(F,Y);let B;for(B=0;B<C;B++){const X=R[B]=U?Jt(R[B]):ot(R[B]);T($[B],X,I,null,D,V,q,H,U)}F>Y?G($,D,V,!0,!1,C):_(R,I,M,D,V,q,H,U,C)},me=($,R,I,M,D,V,q,H,U)=>{let F=0;const Y=R.length;let C=$.length-1,B=Y-1;for(;F<=C&&F<=B;){const X=$[F],ae=R[F]=U?Jt(R[F]):ot(R[F]);if(ht(X,ae))T(X,ae,I,null,D,V,q,H,U);else break;F++}for(;F<=C&&F<=B;){const X=$[C],ae=R[B]=U?Jt(R[B]):ot(R[B]);if(ht(X,ae))T(X,ae,I,null,D,V,q,H,U);else break;C--,B--}if(F>C){if(F<=B){const X=B+1,ae=X<Y?R[X].el:M;for(;F<=B;)T(null,R[F]=U?Jt(R[F]):ot(R[F]),I,ae,D,V,q,H,U),F++}}else if(F>B)for(;F<=C;)de($[F],D,V,!0),F++;else{const X=F,ae=F,se=new Map;for(F=ae;F<=B;F++){const et=R[F]=U?Jt(R[F]):ot(R[F]);et.key!=null&&se.set(et.key,F)}let ee,pe=0;const De=B-ae+1;let Ze=!1,ir=0;const ar=new Array(De);for(F=0;F<De;F++)ar[F]=0;for(F=X;F<=C;F++){const et=$[F];if(pe>=De){de(et,D,V,!0);continue}let bt;if(et.key!=null)bt=se.get(et.key);else for(ee=ae;ee<=B;ee++)if(ar[ee-ae]===0&&ht(et,R[ee])){bt=ee;break}bt===void 0?de(et,D,V,!0):(ar[bt-ae]=F+1,bt>=ir?ir=bt:Ze=!0,T(et,R[bt],I,null,D,V,q,H,U),pe++)}const Ca=Ze?sm(ar):On;for(ee=Ca.length-1,F=De-1;F>=0;F--){const et=ae+F,bt=R[et],Ia=et+1<Y?R[et+1].el:M;ar[F]===0?T(null,bt,I,Ia,D,V,q,H,U):Ze&&(ee<0||F!==Ca[ee]?_e(bt,I,Ia,2):ee--)}}},_e=($,R,I,M,D=null)=>{const{el:V,type:q,transition:H,children:U,shapeFlag:F}=$;if(F&6){_e($.component.subTree,R,I,M);return}if(F&128){$.suspense.move(R,I,M);return}if(F&64){q.move($,R,I,J);return}if(q===je){r(V,R,I);for(let C=0;C<U.length;C++)_e(U[C],R,I,M);r($.anchor,R,I);return}if(q===Fr){v($,R,I);return}if(M!==2&&F&1&&H)if(M===0)H.beforeEnter(V),r(V,R,I),Fe(()=>H.enter(V),D);else{const{leave:C,delayLeave:B,afterLeave:X}=H,ae=()=>r(V,R,I),se=()=>{C(V,()=>{ae(),X&&X()})};B?B(V,ae,se):se()}else r(V,R,I)},de=($,R,I,M=!1,D=!1)=>{const{type:V,props:q,ref:H,children:U,dynamicChildren:F,shapeFlag:Y,patchFlag:C,dirs:B}=$;if(H!=null&&Vs(H,null,I,$,!0),Y&256){R.ctx.deactivate($);return}const X=Y&1&&B,ae=!vn($);let se;if(ae&&(se=q&&q.onVnodeBeforeUnmount)&&Xe(se,R,$),Y&6)j($.component,I,M);else{if(Y&128){$.suspense.unmount(I,M);return}X&&wt($,null,R,"beforeUnmount"),Y&64?$.type.remove($,R,I,D,J,M):F&&(V!==je||C>0&&C&64)?G(F,R,I,!1,!0):(V===je&&C&384||!D&&Y&16)&&G(U,R,I),M&&ye($)}(ae&&(se=q&&q.onVnodeUnmounted)||X)&&Fe(()=>{se&&Xe(se,R,$),X&&wt($,null,R,"unmounted")},I)},ye=$=>{const{type:R,el:I,anchor:M,transition:D}=$;if(R===je){ve(I,M);return}if(R===Fr){P($);return}const V=()=>{s(I),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if($.shapeFlag&1&&D&&!D.persisted){const{leave:q,delayLeave:H}=D,U=()=>q(I,V);H?H($.el,V,U):U()}else V()},ve=($,R)=>{let I;for(;$!==R;)I=f($),s($),$=I;s(R)},j=($,R,I)=>{const{bum:M,scope:D,update:V,subTree:q,um:H}=$;M&&Nn(M),D.stop(),V&&(V.active=!1,de(q,$,R,I)),H&&Fe(H,R),Fe(()=>{$.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},G=($,R,I,M=!1,D=!1,V=0)=>{for(let q=V;q<$.length;q++)de($[q],R,I,M,D)},N=$=>$.shapeFlag&6?N($.component.subTree):$.shapeFlag&128?$.suspense.next():f($.anchor||$.el),K=($,R,I)=>{$==null?R._vnode&&de(R._vnode,null,null,!0):T(R._vnode||null,$,R,null,null,null,I),Va(),Fs(),R._vnode=$},J={p:T,um:de,m:_e,r:ye,mt:L,mc:_,pc:Z,pbc:x,n:N,o:e};let ge,ce;return t&&([ge,ce]=t(J)),{render:K,hydrate:ge,createApp:em(K,ge)}}function cn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ya(e,t,n=!1){const r=e.children,s=t.children;if(ne(r)&&ne(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Jt(s[o]),a.el=i.el),n||ya(i,a)),a.type===Hn&&(a.el=i.el)}}function sm(e){const t=e.slice(),n=[0];let r,s,o,i,a;const c=e.length;for(r=0;r<c;r++){const l=e[r];if(l!==0){if(s=n[n.length-1],e[s]<l){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<l?o=a+1:i=a;l<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const om=e=>e.__isTeleport,Br=e=>e&&(e.disabled||e.disabled===""),rl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,_i=(e,t)=>{const n=e&&e.to;return Oe(n)?t?t(n):null:n},im={__isTeleport:!0,process(e,t,n,r,s,o,i,a,c,l){const{mc:d,pc:u,pbc:f,o:{insert:b,querySelector:m,createText:T,createComment:S}}=l,w=Br(t.props);let{shapeFlag:h,children:v,dynamicChildren:P}=t;if(e==null){const k=t.el=T(""),p=t.anchor=T("");b(k,n,r),b(p,n,r);const g=t.target=_i(t.props,m),_=t.targetAnchor=T("");g&&(b(_,g),i=i||rl(g));const y=(x,E)=>{h&16&&d(v,x,E,s,o,i,a,c)};w?y(n,p):g&&y(g,_)}else{t.el=e.el;const k=t.anchor=e.anchor,p=t.target=e.target,g=t.targetAnchor=e.targetAnchor,_=Br(e.props),y=_?n:p,x=_?k:g;if(i=i||rl(p),P?(f(e.dynamicChildren,P,y,s,o,i,a),ya(e,t,!0)):c||u(e,t,y,x,s,o,i,a,!1),w)_||ws(t,n,k,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const E=t.target=_i(t.props,m);E&&ws(t,E,null,l,0)}else _&&ws(t,p,g,l,1)}rf(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:c,anchor:l,targetAnchor:d,target:u,props:f}=e;if(u&&o(d),(i||!Br(f))&&(o(l),a&16))for(let b=0;b<c.length;b++){const m=c[b];s(m,t,n,!0,!!m.dynamicChildren)}},move:ws,hydrate:am};function ws(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:c,children:l,props:d}=e,u=o===2;if(u&&r(i,t,n),(!u||Br(d))&&c&16)for(let f=0;f<l.length;f++)s(l[f],t,n,2);u&&r(a,t,n)}function am(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:c}},l){const d=t.target=_i(t.props,c);if(d){const u=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Br(t.props))t.anchor=l(i(e),t,a(e),n,r,s,o),t.targetAnchor=u;else{t.anchor=i(e);let f=u;for(;f;)if(f=i(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}l(u,t,d,n,r,s,o)}rf(t)}return t.anchor&&i(t.anchor)}const nf=im;function rf(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const je=Symbol(void 0),Hn=Symbol(void 0),qe=Symbol(void 0),Fr=Symbol(void 0),Hr=[];let it=null;function ie(e=!1){Hr.push(it=e?null:[])}function sf(){Hr.pop(),it=Hr[Hr.length-1]||null}let Un=1;function sl(e){Un+=e}function of(e){return e.dynamicChildren=Un>0?it||On:null,sf(),Un>0&&it&&it.push(e),e}function Se(e,t,n,r,s,o){return of(he(e,t,n,r,s,o,!0))}function Ne(e,t,n,r,s){return of(le(e,t,n,r,s,!0))}function Wn(e){return e?e.__v_isVNode===!0:!1}function ht(e,t){return e.type===t.type&&e.key===t.key}const ko="__vInternal",af=({key:e})=>e??null,Ns=({ref:e,ref_key:t,ref_for:n})=>e!=null?Oe(e)||Le(e)||fe(e)?{i:He,r:e,k:t,f:!!n}:e:null;function he(e,t=null,n=null,r=0,s=null,o=e===je?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&af(t),ref:t&&Ns(t),scopeId:bo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:He};return a?(ba(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Oe(n)?8:16),Un>0&&!i&&it&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&it.push(c),c}const le=lm;function lm(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Vu)&&(e=qe),Wn(e)){const a=Ct(e,t,!0);return n&&ba(a,n),Un>0&&!o&&it&&(a.shapeFlag&6?it[it.indexOf(e)]=a:it.push(a)),a.patchFlag|=-2,a}if(gm(e)&&(e=e.__vccOpts),t){t=va(t);let{class:a,style:c}=t;a&&!Oe(a)&&(t.class=Me(a)),Ae(c)&&(Tu(c)&&!ne(c)&&(c=Be({},c)),t.style=Yt(c))}const i=Oe(e)?1:Nu(e)?128:om(e)?64:Ae(e)?4:fe(e)?2:0;return he(e,t,n,r,s,i,o,!0)}function va(e){return e?Tu(e)||ko in e?Be({},e):e:null}function Ct(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?zn(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&af(a),ref:t&&t.ref?n&&s?ne(s)?s.concat(Ns(t)):[s,Ns(t)]:Ns(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ct(e.ssContent),ssFallback:e.ssFallback&&Ct(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function at(e=" ",t=0){return le(Hn,null,e,t)}function vP(e,t){const n=le(Fr,null,e);return n.staticCount=t,n}function ut(e="",t=!1){return t?(ie(),Ne(qe,null,e)):le(qe,null,e)}function ot(e){return e==null||typeof e=="boolean"?le(qe):ne(e)?le(je,null,e.slice()):typeof e=="object"?Jt(e):le(Hn,null,String(e))}function Jt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ct(e)}function ba(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ne(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ba(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(ko in t)?t._ctx=He:s===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else fe(t)?(t={default:t,_ctx:He},n=32):(t=String(t),r&64?(n=16,t=[at(t)]):n=8);e.children=t,e.shapeFlag|=n}function zn(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Me([t.class,r.class]));else if(s==="style")t.style=Yt([t.style,r.style]);else if(ls(s)){const o=t[s],i=r[s];i&&o!==i&&!(ne(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Xe(e,t,n,r=null){lt(e,t,7,[n,r])}const cm=ef();let um=0;function fm(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||cm,o={uid:um++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Rp(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Xu(r,s),emitsOptions:Lu(r,s),emit:null,emitted:null,propsDefaults:Re,inheritAttrs:r.inheritAttrs,ctx:Re,data:Re,props:Re,attrs:Re,slots:Re,refs:Re,setupState:Re,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=yh.bind(null,o),e.ce&&e.ce(o),o}let Ce=null;const rt=()=>Ce||He,rn=e=>{Ce=e,e.scope.on()},en=()=>{Ce&&Ce.scope.off(),Ce=null};function lf(e){return e.vnode.shapeFlag&4}let Vn=!1;function dm(e,t=!1){Vn=t;const{props:n,children:r}=e.vnode,s=lf(e);Kh(e,n,s,t),Yh(e,r);const o=s?pm(e,t):void 0;return Vn=!1,o}function pm(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Pu(new Proxy(e.ctx,Uh));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?mm(e):null;rn(e),er();const o=Zt(r,e,0,[e.props,s]);if(tr(),en(),Qi(o)){if(o.then(en,en),t)return o.then(i=>{yi(e,i,t)}).catch(i=>{rr(i,e,0)});e.asyncDep=o}else yi(e,o,t)}else cf(e,t)}function yi(e,t,n){fe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ae(t)&&(e.setupState=xu(t)),cf(e,n)}let ol;function cf(e,t,n){const r=e.type;if(!e.render){if(!t&&ol&&!r.render){const s=r.template||ga(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,l=Be(Be({isCustomElement:o,delimiters:a},i),c);r.render=ol(s,l)}}e.render=r.render||gt}rn(e),er(),Wh(e),tr(),en()}function hm(e){return new Proxy(e.attrs,{get(t,n){return Qe(e,"get","$attrs"),t[n]}})}function mm(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=hm(e))},slots:e.slots,emit:e.emit,expose:t}}function To(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(xu(Pu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Dr)return Dr[n](e)},has(t,n){return n in t||n in Dr}}))}function vi(e,t=!0){return fe(e)?e.displayName||e.name:e.name||t&&e.__name}function gm(e){return fe(e)&&"__vccOpts"in e}const ue=(e,t)=>ph(e,t,Vn);function bP(e){const t=rt();let n=e();return en(),Qi(n)&&(n=n.catch(r=>{throw rn(t),r})),[n,()=>rn(t)]}function Ue(e,t,n){const r=arguments.length;return r===2?Ae(t)&&!ne(t)?Wn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Wn(n)&&(n=[n]),le(e,t,n))}const _m=Symbol(""),ym=()=>Ye(_m),uf="3.2.47",vm="http://www.w3.org/2000/svg",gn=typeof document<"u"?document:null,il=gn&&gn.createElement("template"),bm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?gn.createElementNS(vm,e):gn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>gn.createTextNode(e),createComment:e=>gn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{il.innerHTML=r?`<svg>${e}</svg>`:e;const a=il.content;if(r){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function wm(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function km(e,t,n){const r=e.style,s=Oe(n);if(n&&!s){if(t&&!Oe(t))for(const o in t)n[o]==null&&bi(r,o,"");for(const o in n)bi(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const al=/\s*!important$/;function bi(e,t,n){if(ne(n))n.forEach(r=>bi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Tm(e,t);al.test(n)?e.setProperty(Sn(r),n.replace(al,""),"important"):e[r]=n}}const ll=["Webkit","Moz","ms"],Ko={};function Tm(e,t){const n=Ko[t];if(n)return n;let r=Tt(t);if(r!=="filter"&&r in e)return Ko[t]=r;r=ho(r);for(let s=0;s<ll.length;s++){const o=ll[s]+r;if(o in e)return Ko[t]=o}return t}const cl="http://www.w3.org/1999/xlink";function Pm(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(cl,t.slice(6,t.length)):e.setAttributeNS(cl,t,n);else{const o=bp(t);n==null||o&&!iu(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function Sm(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const c=n??"";(e.value!==c||e.tagName==="OPTION")&&(e.value=c),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=iu(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function $t(e,t,n,r){e.addEventListener(t,n,r)}function xm(e,t,n,r){e.removeEventListener(t,n,r)}function Em(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[a,c]=Am(t);if(r){const l=o[t]=Om(r,s);$t(e,a,l,c)}else i&&(xm(e,a,i,c),o[t]=void 0)}}const ul=/(?:Once|Passive|Capture)$/;function Am(e){let t;if(ul.test(e)){t={};let r;for(;r=e.match(ul);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Sn(e.slice(2)),t]}let Jo=0;const $m=Promise.resolve(),Rm=()=>Jo||($m.then(()=>Jo=0),Jo=Date.now());function Om(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;lt(Lm(r,n.value),t,5,[r])};return n.value=e,n.attached=Rm(),n}function Lm(e,t){if(ne(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const fl=/^on[a-z]/,Nm=(e,t,n,r,s=!1,o,i,a,c)=>{t==="class"?wm(e,r,s):t==="style"?km(e,n,r):ls(t)?Xi(t)||Em(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Cm(e,t,r,s))?Sm(e,t,r,o,i,a,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Pm(e,t,r,s))};function Cm(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&fl.test(t)&&fe(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||fl.test(t)&&Oe(n)?!1:t in e}const zt="transition",lr="animation",Po=(e,{slots:t})=>Ue(Du,df(e),t);Po.displayName="Transition";const ff={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Im=Po.props=Be({},Du.props,ff),un=(e,t=[])=>{ne(e)?e.forEach(n=>n(...t)):e&&e(...t)},dl=e=>e?ne(e)?e.some(t=>t.length>1):e.length>1:!1;function df(e){const t={};for(const A in e)A in ff||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:l=i,appearToClass:d=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,m=jm(s),T=m&&m[0],S=m&&m[1],{onBeforeEnter:w,onEnter:h,onEnterCancelled:v,onLeave:P,onLeaveCancelled:k,onBeforeAppear:p=w,onAppear:g=h,onAppearCancelled:_=v}=t,y=(A,O,L)=>{Gt(A,O?d:a),Gt(A,O?l:i),L&&L()},x=(A,O)=>{A._isLeaving=!1,Gt(A,u),Gt(A,b),Gt(A,f),O&&O()},E=A=>(O,L)=>{const W=A?g:h,z=()=>y(O,A,L);un(W,[O,z]),pl(()=>{Gt(O,A?c:o),xt(O,A?d:a),dl(W)||hl(O,r,T,z)})};return Be(t,{onBeforeEnter(A){un(w,[A]),xt(A,o),xt(A,i)},onBeforeAppear(A){un(p,[A]),xt(A,c),xt(A,l)},onEnter:E(!1),onAppear:E(!0),onLeave(A,O){A._isLeaving=!0;const L=()=>x(A,O);xt(A,u),hf(),xt(A,f),pl(()=>{A._isLeaving&&(Gt(A,u),xt(A,b),dl(P)||hl(A,r,S,L))}),un(P,[A,L])},onEnterCancelled(A){y(A,!1),un(v,[A])},onAppearCancelled(A){y(A,!0),un(_,[A])},onLeaveCancelled(A){x(A),un(k,[A])}})}function jm(e){if(e==null)return null;if(Ae(e))return[Xo(e.enter),Xo(e.leave)];{const t=Xo(e);return[t,t]}}function Xo(e){return uu(e)}function xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Gt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function pl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mm=0;function hl(e,t,n,r){const s=e._endId=++Mm,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:c}=pf(e,t);if(!i)return r();const l=i+"end";let d=0;const u=()=>{e.removeEventListener(l,f),o()},f=b=>{b.target===e&&++d>=c&&u()};setTimeout(()=>{d<c&&u()},a+1),e.addEventListener(l,f)}function pf(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),s=r(`${zt}Delay`),o=r(`${zt}Duration`),i=ml(s,o),a=r(`${lr}Delay`),c=r(`${lr}Duration`),l=ml(a,c);let d=null,u=0,f=0;t===zt?i>0&&(d=zt,u=i,f=o.length):t===lr?l>0&&(d=lr,u=l,f=c.length):(u=Math.max(i,l),d=u>0?i>l?zt:lr:null,f=d?d===zt?o.length:c.length:0);const b=d===zt&&/\b(transform|all)(,|$)/.test(r(`${zt}Property`).toString());return{type:d,timeout:u,propCount:f,hasTransform:b}}function ml(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>gl(n)+gl(e[r])))}function gl(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function hf(){return document.body.offsetHeight}const mf=new WeakMap,gf=new WeakMap,_f={name:"TransitionGroup",props:Be({},Im,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=rt(),r=Mu();let s,o;return pa(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Wm(s[0].el,n.vnode.el,i))return;s.forEach(Fm),s.forEach(Hm);const a=s.filter(Um);hf(),a.forEach(c=>{const l=c.el,d=l.style;xt(l,i),d.transform=d.webkitTransform=d.transitionDuration="";const u=l._moveCb=f=>{f&&f.target!==l||(!f||/transform$/.test(f.propertyName))&&(l.removeEventListener("transitionend",u),l._moveCb=null,Gt(l,i))};l.addEventListener("transitionend",u)})}),()=>{const i=be(e),a=df(i);let c=i.tag||je;s=o,o=t.default?da(t.default()):[];for(let l=0;l<o.length;l++){const d=o[l];d.key!=null&&Fn(d,ss(d,a,r,n))}if(s)for(let l=0;l<s.length;l++){const d=s[l];Fn(d,ss(d,a,r,n)),mf.set(d,d.el.getBoundingClientRect())}return le(c,null,o)}}},Dm=e=>delete e.mode;_f.props;const Bm=_f;function Fm(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function Hm(e){gf.set(e,e.el.getBoundingClientRect())}function Um(e){const t=mf.get(e),n=gf.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function Wm(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=pf(r);return s.removeChild(r),o}const sn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ne(t)?n=>Nn(t,n):t};function zm(e){e.target.composing=!0}function _l(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const yl={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=sn(s);const o=r||s.props&&s.props.type==="number";$t(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Ms(a)),e._assign(a)}),n&&$t(e,"change",()=>{e.value=e.value.trim()}),t||($t(e,"compositionstart",zm),$t(e,"compositionend",_l),$t(e,"change",_l))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=sn(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&Ms(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Vm={deep:!0,created(e,t,n){e._assign=sn(n),$t(e,"change",()=>{const r=e._modelValue,s=Gn(e),o=e.checked,i=e._assign;if(ne(r)){const a=Ji(r,s),c=a!==-1;if(o&&!c)i(r.concat(s));else if(!o&&c){const l=[...r];l.splice(a,1),i(l)}}else if(Qn(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(yf(e,o))})},mounted:vl,beforeUpdate(e,t,n){e._assign=sn(n),vl(e,t,n)}};function vl(e,{value:t,oldValue:n},r){e._modelValue=t,ne(t)?e.checked=Ji(t,r.props.value)>-1:Qn(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=bn(t,yf(e,!0)))}const Gm={created(e,{value:t},n){e.checked=bn(t,n.props.value),e._assign=sn(n),$t(e,"change",()=>{e._assign(Gn(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=sn(r),t!==n&&(e.checked=bn(t,r.props.value))}},qm={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Qn(t);$t(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Ms(Gn(i)):Gn(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=sn(r)},mounted(e,{value:t}){bl(e,t)},beforeUpdate(e,t,n){e._assign=sn(n)},updated(e,{value:t}){bl(e,t)}};function bl(e,t){const n=e.multiple;if(!(n&&!ne(t)&&!Qn(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=Gn(o);if(n)ne(t)?o.selected=Ji(t,i)>-1:o.selected=t.has(i);else if(bn(Gn(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Gn(e){return"_value"in e?e._value:e.value}function yf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const wP={created(e,t,n){ks(e,t,n,null,"created")},mounted(e,t,n){ks(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ks(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ks(e,t,n,r,"updated")}};function Km(e,t){switch(e){case"SELECT":return qm;case"TEXTAREA":return yl;default:switch(t){case"checkbox":return Vm;case"radio":return Gm;default:return yl}}}function ks(e,t,n,r,s){const i=Km(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const Jm=["ctrl","shift","alt","meta"],Xm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Jm.some(n=>e[`${n}Key`]&&!t.includes(n))},kP=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=Xm[t[s]];if(o&&o(n,t))return}return e(n,...r)},Ym={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Qm=(e,t)=>n=>{if(!("key"in n))return;const r=Sn(n.key);if(t.some(s=>s===r||Ym[s]===r))return e(n)},Zm={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):cr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),cr(e,!0),r.enter(e)):r.leave(e,()=>{cr(e,!1)}):cr(e,t))},beforeUnmount(e,{value:t}){cr(e,t)}};function cr(e,t){e.style.display=t?e._vod:"none"}const vf=Be({patchProp:Nm},bm);let Ur,wl=!1;function eg(){return Ur||(Ur=nm(vf))}function tg(){return Ur=wl?Ur:rm(vf),wl=!0,Ur}const bf=(...e)=>{const t=eg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=wf(r);if(!s)return;const o=t._component;!fe(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},ng=(...e)=>{const t=tg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=wf(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function wf(e){return Oe(e)?document.querySelector(e):e}const rg=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,sg=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,og=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function ig(e,t){if(e!=="__proto__"&&!(e==="constructor"&&t&&typeof t=="object"&&"prototype"in t))return t}function ag(e,t={}){if(typeof e!="string")return e;const n=e.toLowerCase().trim();if(n==="true")return!0;if(n==="false")return!1;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n!=="undefined"){if(!og.test(e)){if(t.strict)throw new SyntaxError("Invalid JSON");return e}try{return rg.test(e)||sg.test(e)?JSON.parse(e,ig):JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}}const lg=/#/g,cg=/&/g,ug=/=/g,kf=/\+/g,fg=/%5e/gi,dg=/%60/gi,pg=/%7c/gi,hg=/%20/gi;function mg(e){return encodeURI(""+e).replace(pg,"|")}function wi(e){return mg(typeof e=="string"?e:JSON.stringify(e)).replace(kf,"%2B").replace(hg,"+").replace(lg,"%23").replace(cg,"%26").replace(dg,"`").replace(fg,"^")}function Yo(e){return wi(e).replace(ug,"%3D")}function Tf(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function gg(e){return Tf(e.replace(kf," "))}function _g(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=Tf(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=gg(r[2]||"");typeof t[s]<"u"?Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]:t[s]=o}return t}function yg(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Yo(e)}=${wi(n)}`).join("&"):`${Yo(e)}=${wi(t)}`:Yo(e)}function vg(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>yg(t,e[t])).join("&")}const bg=/^\w{2,}:([/\\]{1,2})/,wg=/^\w{2,}:([/\\]{2})?/,kg=/^([/\\]\s*){2,}[^/\\]/;function Pf(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?bg.test(e):wg.test(e)||(t.acceptRelative?kg.test(e):!1)}const Tg=/\/$|\/\?/;function ki(e="",t=!1){return t?Tg.test(e):e.endsWith("/")}function Pg(e="",t=!1){if(!t)return(ki(e)?e.slice(0,-1):e)||"/";if(!ki(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function Sg(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(ki(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function xg(e=""){return e.startsWith("/")}function Eg(e=""){return(xg(e)?e.slice(1):e)||"/"}function Ag(e,t){if(Rg(t)||Pf(e))return e;const n=Pg(t);return e.startsWith(n)?e:Lg(n,e)}function $g(e,t){const n=Sf(e),r={..._g(n.search),...t};return n.search=vg(r),Ng(n)}function Rg(e){return!e||e==="/"}function Og(e){return e&&e!=="/"}function Lg(e,...t){let n=e||"";for(const r of t.filter(s=>Og(s)))n=n?Sg(n)+Eg(r):r;return n}function Sf(e="",t){if(!Pf(e,{acceptRelative:!0}))return t?Sf(t+e):kl(e);const[n="",r,s=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[o="",i=""]=(s.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:c,hash:l}=kl(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:o,pathname:a,search:c,hash:l}}function kl(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Ng(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class Cg extends Error{constructor(){super(...arguments),this.name="FetchError"}}function Ig(e,t,n){let r="";t&&(r=t.message),e&&n?r=`${r} (${n.status} ${n.statusText} (${e.toString()}))`:e&&(r=`${r} (${e.toString()})`);const s=new Cg(r);return Object.defineProperty(s,"request",{get(){return e}}),Object.defineProperty(s,"response",{get(){return n}}),Object.defineProperty(s,"data",{get(){return n&&n._data}}),Object.defineProperty(s,"status",{get(){return n&&n.status}}),Object.defineProperty(s,"statusText",{get(){return n&&n.statusText}}),Object.defineProperty(s,"statusCode",{get(){return n&&n.status}}),Object.defineProperty(s,"statusMessage",{get(){return n&&n.statusText}}),s}const jg=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Tl(e="GET"){return jg.has(e.toUpperCase())}function Mg(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Dg=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Bg=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Fg(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Bg.test(t)?"json":Dg.has(t)||t.startsWith("text/")?"text":"blob"}const Hg=new Set([408,409,425,429,500,502,503,504]);function xf(e){const{fetch:t,Headers:n}=e;function r(i){const a=i.error&&i.error.name==="AbortError"||!1;if(i.options.retry!==!1&&!a){let l;typeof i.options.retry=="number"?l=i.options.retry:l=Tl(i.options.method)?0:1;const d=i.response&&i.response.status||500;if(l>0&&Hg.has(d))return s(i.request,{...i.options,retry:l-1})}const c=Ig(i.request,i.error,i.response);throw Error.captureStackTrace&&Error.captureStackTrace(c,s),c}const s=async function(a,c={}){const l={request:a,options:{...e.defaults,...c},response:void 0,error:void 0};l.options.onRequest&&await l.options.onRequest(l),typeof l.request=="string"&&(l.options.baseURL&&(l.request=Ag(l.request,l.options.baseURL)),(l.options.query||l.options.params)&&(l.request=$g(l.request,{...l.options.params,...l.options.query})),l.options.body&&Tl(l.options.method)&&Mg(l.options.body)&&(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new n(l.options.headers),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json"))),l.response=await t(l.request,l.options).catch(async u=>(l.error=u,l.options.onRequestError&&await l.options.onRequestError(l),r(l)));const d=(l.options.parseResponse?"json":l.options.responseType)||Fg(l.response.headers.get("content-type")||"");if(d==="json"){const u=await l.response.text(),f=l.options.parseResponse||ag;l.response._data=f(u)}else d==="stream"?l.response._data=l.response.body:l.response._data=await l.response[d]();return l.options.onResponse&&await l.options.onResponse(l),l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await l.options.onResponseError(l),r(l)):l.response},o=function(a,c){return s(a,c).then(l=>l._data)};return o.raw=s,o.native=t,o.create=(i={})=>xf({...e,defaults:{...e.defaults,...i}}),o}const Ef=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Ug=Ef.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Wg=Ef.Headers,zg=xf({fetch:Ug,Headers:Wg}),Af=zg,Vg=/\+/g;function $f(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Gg(e){return $f(e.replace(Vg," "))}function qg(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=$f(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Gg(r[2]||"");typeof t[s]<"u"?Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]:t[s]=o}return t}const Kg=/^\w{2,}:([/\\]{1,2})/,Jg=/^\w{2,}:([/\\]{2})?/,Xg=/^([/\\]\s*){2,}[^/\\]/;function us(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Kg.test(e):Jg.test(e)||(t.acceptRelative?Xg.test(e):!1)}const Yg=/\/$|\/\?/;function Ti(e="",t=!1){return t?Yg.test(e):e.endsWith("/")}function Rf(e="",t=!1){if(!t)return(Ti(e)?e.slice(0,-1):e)||"/";if(!Ti(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function Of(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Ti(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function Qg(e=""){return e.startsWith("/")}function Zg(e=""){return(Qg(e)?e.slice(1):e)||"/"}function Pl(e,t){if(e_(t))return e;const n=Rf(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function e_(e){return!e||e==="/"}function t_(e){return e&&e!=="/"}function So(e,...t){let n=e||"";for(const r of t.filter(s=>t_(s)))n=n?Of(n)+Zg(r):r;return n}function xo(e="",t){if(!us(e,{acceptRelative:!0}))return t?xo(t+e):Sl(e);const[n="",r,s=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[o="",i=""]=(s.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:c,hash:l}=Sl(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:o,pathname:a,search:c,hash:l}}function Sl(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}const n_=()=>window?.__NUXT__?.config||{},Gs=n_().app,r_=()=>Gs.baseURL,s_=()=>Gs.buildAssetsDir,o_=(...e)=>So(Lf(),s_(),...e),Lf=(...e)=>{const t=Gs.cdnURL||Gs.baseURL;return e.length?So(t,...e):t};globalThis.__buildAssetsURL=o_,globalThis.__publicAssetsURL=Lf;function Pi(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Pi(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const i_={run:e=>e()},a_=()=>i_,Nf=typeof console.createTask<"u"?console.createTask:a_;function l_(e,t){const n=t.shift(),r=Nf(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function c_(e,t){const n=t.shift(),r=Nf(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Qo(e,t){for(const n of[...e])n(t)}class u_{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Pi(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Pi(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(l_,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(c_,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Qo(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Qo(this._after,s)}):(this._after&&s&&Qo(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Cf(){return new u_}function f_(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s&&t===void 0){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;Si.add(l);try{const d=s?s.run(i,a):a();return n||(t=void 0),await d}finally{Si.delete(l)}}}}function d_(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=f_({...e,...r})),t[n],t[n]}}}const qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},xl="__unctx__",p_=qs[xl]||(qs[xl]=d_()),h_=(e,t={})=>p_.get(e,t),El="__unctx_async_handlers__",Si=qs[El]||(qs[El]=new Set);function xi(e){const t=[];for(const s of Si){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const If=h_("nuxt-app"),m_="__nuxt_plugin";function g_(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.4.3"},get vue(){return n.vueApp.version}},payload:ct({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Cf(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const a="$"+o;Ts(n,a,i),Ts(n.vueApp.config.globalProperties,a,i)},Ts(n.vueApp,"$nuxt",n),Ts(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})});const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=ct(n.payload.config),s=new Proxy(r,{get(o,i){return i in o?o[i]:o.public[i]},set(o,i,a){return i==="public"||i==="app"?!1:(o[i]=a,o.public[i]=a,!0)}});return n.provide("config",s),n}async function __(e,t){if(typeof t!="function")return;const{provide:n}=await At(e,t,[e])||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}async function y_(e,t){for(const n of t)await __(e,n)}function v_(e){const t=[];for(const n of e){if(typeof n!="function")continue;let r=n;n.length>1&&(r=s=>n(s,s.provide)),t.push(r)}return t.sort((n,r)=>(n.meta?.order||Ks.default)-(r.meta?.order||Ks.default)),t}const Ks={pre:-20,default:0,post:20};function vt(e,t){if(typeof e=="function")return vt({setup:e},t);const n=r=>{if(e.hooks&&r.hooks.addHooks(e.hooks),e.setup)return e.setup(r)};return n.meta={name:t?.name||e.name||e.setup?.name,order:t?.order||e.order||Ks[e.enforce||"default"]||Ks.default},n[m_]=!0,n}function At(e,t,n){const r=()=>n?t(...n):t();return If.set(e),r()}function $e(){const e=If.tryUse();if(!e){const t=rt();if(!t)throw new Error("[nuxt] instance unavailable");return t.appContext.app.$nuxt}return e}function wa(){return $e().$config}function Ts(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const b_=vt({name:"nuxt:global-components"});function w_(e){return Array.isArray(e)?e:[e]}const jf=["title","script","style","noscript"],Mf=["base","meta","link","style","script","noscript"],k_=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],T_=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],P_=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"];function Df(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Ei(e){return Df(`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function S_(e){let t=9;for(const n of e)for(let r=0;r<n.length;)t=Math.imul(t^n.charCodeAt(r++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Bf(e,t){const{props:n,tag:r}=e;if(T_.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}function Al(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function Ps(e,t=!1,n){const{tag:r,$el:s}=e;s&&(Object.entries(r.props).forEach(([o,i])=>{i=String(i);const a=`attr:${o}`;if(o==="class"){if(!i)return;for(const c of i.split(" ")){const l=`${a}:${c}`;n&&n(e,l,()=>s.classList.remove(c)),s.classList.contains(c)||s.classList.add(c)}return}n&&!o.startsWith("data-h-")&&n(e,a,()=>s.removeAttribute(o)),(t||s.getAttribute(o)!==i)&&s.setAttribute(o,i)}),jf.includes(r.tag)&&(r.textContent&&r.textContent!==s.textContent?s.textContent=r.textContent:r.innerHTML&&r.innerHTML!==s.innerHTML&&(s.innerHTML=r.innerHTML)))}let ur=!1;async function x_(e,t={}){const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const r=t.document||e.resolvedOptions.document||window.document,s=(await e.resolveTags()).map(a);if(e.resolvedOptions.experimentalHashHydration&&(ur=ur||e._hash||!1,ur)){const f=S_(s.map(b=>b.tag._h));if(ur===f)return;ur=f}const o=e._popSideEffectQueue();e.headEntries().map(f=>f._sde).forEach(f=>{Object.entries(f).forEach(([b,m])=>{o[b]=m})});const i=(f,b,m)=>{b=`${f.renderId}:${b}`,f.entry&&(f.entry._sde[b]=m),delete o[b]};function a(f){const b=e.headEntries().find(T=>T._i===f._e),m={renderId:f._d||Ei(f),$el:null,shouldRender:!0,tag:f,entry:b,markSideEffect:(T,S)=>i(m,T,S)};return m}const c=[],l={body:[],head:[]},d=f=>{e._elMap[f.renderId]=f.$el,c.push(f),i(f,"el",()=>{f.$el?.remove(),delete e._elMap[f.renderId]})};for(const f of s){if(await e.hooks.callHook("dom:beforeRenderTag",f),!f.shouldRender)continue;const{tag:b}=f;if(b.tag==="title"){r.title=b.textContent||"",c.push(f);continue}if(b.tag==="htmlAttrs"||b.tag==="bodyAttrs"){f.$el=r[b.tag==="htmlAttrs"?"documentElement":"body"],Ps(f,!1,i),c.push(f);continue}if(f.$el=e._elMap[f.renderId],!f.$el&&b.key&&(f.$el=r.querySelector(`${b.tagPosition?.startsWith("body")?"body":"head"} > ${b.tag}[data-h-${b._h}]`)),f.$el){f.tag._d&&Ps(f),d(f);continue}l[b.tagPosition?.startsWith("body")?"body":"head"].push(f)}const u={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(l).forEach(([f,b])=>{if(!b.length)return;const m=r?.[f]?.children;if(m){for(const T of[...m].reverse()){const S=T.tagName.toLowerCase();if(!Mf.includes(S))continue;const w=T.getAttributeNames().reduce((k,p)=>({...k,[p]:T.getAttribute(p)}),{}),h={tag:S,props:w};T.innerHTML&&(h.innerHTML=T.innerHTML);const v=Ei(h);let P=b.findIndex(k=>k?.renderId===v);if(P===-1){const k=Bf(h);P=b.findIndex(p=>p?.tag._d&&p.tag._d===k)}if(P!==-1){const k=b[P];k.$el=T,Ps(k),d(k),delete b[P]}}b.forEach(T=>{const S=T.tag.tagPosition||"head";u[S]=u[S]||r.createDocumentFragment(),T.$el||(T.$el=r.createElement(T.tag.tag),Ps(T,!0)),u[S].appendChild(T.$el),d(T)})}}),u.head&&r.head.appendChild(u.head),u.bodyOpen&&r.body.insertBefore(u.bodyOpen,r.body.firstChild),u.bodyClose&&r.body.appendChild(u.bodyClose);for(const f of c)await e.hooks.callHook("dom:renderTag",f);Object.values(o).forEach(f=>f())}let Zo=null;async function E_(e,t={}){function n(){return Zo=null,x_(e,t)}const r=t.delayFn||(s=>setTimeout(s,10));return Zo=Zo||new Promise(s=>r(()=>s(n())))}function A_(e){return{hooks:{"entries:updated":function(t){if(typeof e?.document>"u"&&typeof window>"u")return;let n=e?.delayFn;!n&&typeof requestAnimationFrame<"u"&&(n=requestAnimationFrame),E_(t,{document:e?.document||window.document,delayFn:n})}}}}function $_(e){return e?.head.querySelector('meta[name="unhead:ssr"]')?.getAttribute("content")||!1}const $l={critical:2,high:9,low:12,base:-1,title:1,meta:10};function Rl(e){if(typeof e.tagPriority=="number")return e.tagPriority;if(e.tag==="meta"){if(e.props.charset)return-2;if(e.props["http-equiv"]==="content-security-policy")return 0}const t=e.tagPriority||e.tag;return t in $l?$l[t]:10}const R_=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function O_(){return{hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const{prefix:n,offset:r}of R_)for(const s of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=t(s.tagPriority.replace(n,""));typeof o<"u"&&(s._p=o+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>Rl(n)-Rl(r))}}}}function L_(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=Al(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=Al(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}}}function N_(){return{hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}}const C_=["link","style","script","noscript"];function I_(){return{hooks:{"tag:normalise":({tag:e,resolvedOptions:t})=>{t.experimentalHashHydration===!0&&(e._h=Ei(e)),e.key&&C_.includes(e.tag)&&(e._h=Df(e.key),e.props[`data-h-${e._h}`]="")}}}}const Ol=["script","link","bodyAttrs"];function j_(){const e=(t,n)=>{const r={},s={};Object.entries(n.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"?s[i]=a:r[i]=a});let o;return t==="dom"&&n.tag==="script"&&typeof r.src=="string"&&typeof s.onload<"u"&&(o=r.src,delete r.src),{props:r,eventHandlers:s,delayedSrc:o}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(!Ol.includes(n.tag)||!Object.entries(n.props).find(([r,s])=>r.startsWith("on")&&typeof s=="function")||(n.props=e("ssr",n).props),n))},"dom:beforeRenderTag":function(t){if(!Ol.includes(t.tag.tag)||!Object.entries(t.tag.props).find(([o,i])=>o.startsWith("on")&&typeof i=="function"))return;const{props:n,eventHandlers:r,delayedSrc:s}=e("dom",t.tag);Object.keys(r).length&&(t.tag.props=n,t.tag._eventHandlers=r,t.tag._delayedSrc=s)},"dom:renderTag":function(t){const n=t.$el;if(!t.tag._eventHandlers||!n)return;const r=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:n;Object.entries(t.tag._eventHandlers).forEach(([s,o])=>{const i=`${t.tag._d||t.tag._p}:${s}`,a=s.slice(2).toLowerCase(),c=`data-h-${a}`;if(t.markSideEffect(i,()=>{}),n.hasAttribute(c))return;const l=o;n.setAttribute(c,""),r.addEventListener(a,l),t.entry&&(t.entry._sde[i]=()=>{r.removeEventListener(a,l),n.removeAttribute(c)})}),t.tag._delayedSrc&&n.setAttribute("src",t.tag._delayedSrc)}}}}const M_=["templateParams","htmlAttrs","bodyAttrs"];function D_(){return{hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Bf(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,o=t[s];if(o){let a=r?.tagDuplicateStrategy;if(!a&&M_.includes(r.tag)&&(a="merge"),a==="merge"){const c=o.props;["class","style"].forEach(l=>{r.props[l]&&c[l]&&(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),r.props[l]=`${c[l]} ${r.props[l]}`)}),t[s].props={...c,...r.props};return}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);return}}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Mf.includes(r.tag)&&i===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n}}}}function Ss(e,t){function n(o){if(["s","pageTitle"].includes(o))return t.pageTitle;let i;return o.includes(".")?i=o.split(".").reduce((a,c)=>a&&a[c]||void 0,t):i=t[o],typeof i<"u"?i||"":!1}let r=e;try{r=decodeURI(e)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(o=>{const i=n(o.slice(1));typeof i=="string"&&(e=e.replaceAll(new RegExp(`\\${o}(\\W|$)`,"g"),`${i}$1`).trim())}),t.separator&&(e.endsWith(t.separator)&&(e=e.slice(0,-t.separator.length).trim()),e.startsWith(t.separator)&&(e=e.slice(t.separator.length).trim()),e=e.replace(new RegExp(`\\${t.separator}\\s*\\${t.separator}`,"g"),t.separator)),e}function B_(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e,n=t.find(o=>o.tag==="title")?.textContent,r=t.findIndex(o=>o.tag==="templateParams"),s=r!==-1?t[r].props:{};s.pageTitle=s.pageTitle||n||"";for(const o of t)if(["titleTemplate","title"].includes(o.tag)&&typeof o.textContent=="string")o.textContent=Ss(o.textContent,s);else if(o.tag==="meta"&&typeof o.props.content=="string")o.props.content=Ss(o.props.content,s);else if(o.tag==="link"&&typeof o.props.href=="string")o.props.href=Ss(o.props.href,s);else if(o.tag==="script"&&["application/json","application/ld+json"].includes(o.props.type)&&typeof o.innerHTML=="string")try{o.innerHTML=JSON.stringify(JSON.parse(o.innerHTML),(i,a)=>typeof a=="string"?Ss(a,s):a)}catch{}e.tags=t.filter(o=>o.tag!=="templateParams")}}}}const F_=typeof window<"u";let Ff;function H_(e){return Ff=e}function U_(){return Ff}async function W_(e,t){const n={tag:e,props:{}};return e==="templateParams"?(n.props=t,n):["title","titleTemplate"].includes(e)?(n.textContent=t instanceof Promise?await t:t,n):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?n.props.src=t:n.innerHTML=t,n):!1:(n.props=await V_(e,{...t}),n.props.children&&(n.props.innerHTML=n.props.children),delete n.props.children,Object.keys(n.props).filter(r=>P_.includes(r)).forEach(r=>{(!["innerHTML","textContent"].includes(r)||jf.includes(n.tag))&&(n[r]=n.props[r]),delete n.props[r]}),["innerHTML","textContent"].forEach(r=>{if(n.tag==="script"&&typeof n[r]=="string"&&["application/ld+json","application/json"].includes(n.props.type))try{n[r]=JSON.parse(n[r])}catch{n[r]=""}typeof n[r]=="object"&&(n[r]=JSON.stringify(n[r]))}),n.props.class&&(n.props.class=z_(n.props.class)),n.props.content&&Array.isArray(n.props.content)?n.props.content.map(r=>({...n,props:{...n.props,content:r}})):n)}function z_(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function V_(e,t){for(const n of Object.keys(t)){const r=n.startsWith("data-");t[n]instanceof Promise&&(t[n]=await t[n]),String(t[n])==="true"?t[n]=r?"true":"":String(t[n])==="false"&&(r?t[n]="false":delete t[n])}return t}const G_=10;async function q_(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&k_.includes(n)).forEach(([n,r])=>{const s=w_(r);t.push(...s.map(o=>W_(n,o)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,n._p=(e._i<<G_)+r,n))}function K_(){return[D_(),O_(),B_(),L_(),I_(),j_(),N_()]}function J_(e={}){return[A_({document:e?.document,delayFn:e?.domDelayFn})]}function X_(e={}){const t=Y_({...e,plugins:[...J_(e),...e?.plugins||[]]});return e.experimentalHashHydration&&t.resolvedOptions.document&&(t._hash=$_(t.resolvedOptions.document)),H_(t),t}function Y_(e={}){let t=[],n={},r=0;const s=Cf();e?.hooks&&s.addHooks(e.hooks),e.plugins=[...K_(),...e?.plugins||[]],e.plugins.forEach(a=>a.hooks&&s.addHooks(a.hooks)),e.document=e.document||(F_?document:void 0);const o=()=>s.callHook("entries:updated",i),i={resolvedOptions:e,headEntries(){return t},get hooks(){return s},use(a){a.hooks&&s.addHooks(a.hooks)},push(a,c){const l={_i:r++,input:a,_sde:{}};return c?.mode&&(l._m=c?.mode),c?.transform&&(l._t=c?.transform),t.push(l),o(),{dispose(){t=t.filter(d=>d._i!==l._i?!0:(n={...n,...d._sde||{}},d._sde={},o(),!1))},patch(d){t=t.map(u=>(u._i===l._i&&(l.input=u.input=d,o()),u))}}},async resolveTags(){const a={tags:[],entries:[...t]};await s.callHook("entries:resolve",a);for(const c of a.entries){const l=c._t||(d=>d);if(c.resolvedInput=l(c.resolvedInput||c.input),c.resolvedInput)for(const d of await q_(c)){const u={tag:d,entry:c,resolvedOptions:i.resolvedOptions};await s.callHook("tag:normalise",u),a.tags.push(u.tag)}}return await s.callHook("tags:resolve",a),a.tags},_popSideEffectQueue(){const a={...n};return n={},a},_elMap:{}};return i.hooks.callHook("init",i),i}function Q_(e){return typeof e=="function"?e():Q(e)}function Js(e,t=""){if(e instanceof Promise)return e;const n=Q_(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Js(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,Q(s)]:[r,Js(s,r)])):n}const Z_=uf.startsWith("3"),ey=typeof window<"u",Hf="usehead";function ka(){return rt()&&Ye(Hf)||U_()}function ty(e){return{install(n){Z_&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Hf,e))}}.install}function ny(e={}){const t=X_({...e,domDelayFn:n=>setTimeout(()=>Dt(()=>n()),10),plugins:[ry(),...e?.plugins||[]]});return t.install=ty(t),t}function ry(){return{hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Js(t.input)}}}}function sy(e,t={}){const n=ka(),r=te(!1),s=te({});Us(()=>{s.value=r.value?{}:Js(e)});const o=n.push(s.value,t);return Ie(s,a=>{o.patch(a)}),rt()&&(sr(()=>{o.dispose()}),Hu(()=>{r.value=!0}),Fu(()=>{r.value=!1})),o}function oy(e,t={}){return ka().push(e,t)}function iy(e,t={}){const n=ka();if(n){const r=ey||!!n.resolvedOptions?.document;return t.mode==="server"&&r||t.mode==="client"&&!r?void 0:r?sy(e,t):oy(e,t)}}const ay={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[],style:[],script:[],noscript:[]},ly=!1,Ai=!1,cy=!1,uy="__nuxt",fy=!1,dy=vt({name:"nuxt:head",setup(e){const n=ny();n.push(ay),e.vueApp.use(n);{let r=!0;const s=()=>{r=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!r}),e.hooks.hook("page:start",()=>{r=!0}),e.hooks.hook("page:finish",s),e.hooks.hook("app:suspense:resolve",s)}}});/*!
2
- * vue-router v4.1.6
3
- * (c) 2022 Eduardo San Martin Morote
4
- * @license MIT
5
- */const An=typeof window<"u";function py(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Pe=Object.assign;function ei(e,t){const n={};for(const r in t){const s=t[r];n[r]=yt(s)?s.map(e):e(s)}return n}const Wr=()=>{},yt=Array.isArray,hy=/\/$/,my=e=>e.replace(hy,"");function ti(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=vy(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function gy(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ll(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function _y(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&qn(t.matched[r],n.matched[s])&&Uf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function qn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Uf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!yy(e[n],t[n]))return!1;return!0}function yy(e,t){return yt(e)?Nl(e,t):yt(t)?Nl(t,e):e===t}function Nl(e,t){return yt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function vy(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,o,i;for(o=0;o<r.length;o++)if(i=r[o],i!==".")if(i==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var os;(function(e){e.pop="pop",e.push="push"})(os||(os={}));var zr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zr||(zr={}));function by(e){if(!e)if(An){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),my(e)}const wy=/^[^#]+#/;function ky(e,t){return e.replace(wy,"#")+t}function Ty(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 Eo=()=>({left:window.pageXOffset,top:window.pageYOffset});function Py(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=Ty(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 Cl(e,t){return(history.state?history.state.position-t:-1)+e}const $i=new Map;function Sy(e,t){$i.set(e,t)}function xy(e){const t=$i.get(e);return $i.delete(e),t}let Ey=()=>location.protocol+"//"+location.host;function Wf(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,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),Ll(c,"")}return Ll(n,e)+r+s}function Ay(e,t,n,r){let s=[],o=[],i=null;const a=({state:f})=>{const b=Wf(e,location),m=n.value,T=t.value;let S=0;if(f){if(n.value=b,t.value=f,i&&i===m){i=null;return}S=T?f.position-T.position:0}else r(b);s.forEach(w=>{w(n.value,m,{delta:S,type:os.pop,direction:S?S>0?zr.forward:zr.back:zr.unknown})})};function c(){i=n.value}function l(f){s.push(f);const b=()=>{const m=s.indexOf(f);m>-1&&s.splice(m,1)};return o.push(b),b}function d(){const{history:f}=window;f.state&&f.replaceState(Pe({},f.state,{scroll:Eo()}),"")}function u(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d),{pauseListeners:c,listen:l,destroy:u}}function Il(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Eo():null}}function $y(e){const{history:t,location:n}=window,r={value:Wf(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(c,l,d){const u=e.indexOf("#"),f=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+c:Ey()+e+c;try{t[d?"replaceState":"pushState"](l,"",f),s.value=l}catch(b){console.error(b),n[d?"replace":"assign"](f)}}function i(c,l){const d=Pe({},t.state,Il(s.value.back,c,s.value.forward,!0),l,{position:s.value.position});o(c,d,!0),r.value=c}function a(c,l){const d=Pe({},s.value,t.state,{forward:c,scroll:Eo()});o(d.current,d,!0);const u=Pe({},Il(r.value,c,null),{position:d.position+1},l);o(c,u,!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function zf(e){e=by(e);const t=$y(e),n=Ay(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Pe({location:"",base:e,go:r,createHref:ky.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 Ry(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),zf(e)}function Oy(e){return typeof e=="string"||e&&typeof e=="object"}function Vf(e){return typeof e=="string"||typeof e=="symbol"}const Vt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Gf=Symbol("");var jl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(jl||(jl={}));function Kn(e,t){return Pe(new Error,{type:e,[Gf]:!0},t)}function Pt(e,t){return e instanceof Error&&Gf in e&&(t==null||!!(e.type&t))}const Ml="[^/]+?",Ly={sensitive:!1,strict:!1,start:!0,end:!0},Ny=/[.+*?^${}()[\]/\\]/g;function Cy(e,t){const n=Pe({},Ly,t),r=[];let s=n.start?"^":"";const o=[];for(const l of e){const d=l.length?[]:[90];n.strict&&!l.length&&(s+="/");for(let u=0;u<l.length;u++){const f=l[u];let b=40+(n.sensitive?.25:0);if(f.type===0)u||(s+="/"),s+=f.value.replace(Ny,"\\$&"),b+=40;else if(f.type===1){const{value:m,repeatable:T,optional:S,regexp:w}=f;o.push({name:m,repeatable:T,optional:S});const h=w||Ml;if(h!==Ml){b+=10;try{new RegExp(`(${h})`)}catch(P){throw new Error(`Invalid custom RegExp for param "${m}" (${h}): `+P.message)}}let v=T?`((?:${h})(?:/(?:${h}))*)`:`(${h})`;u||(v=S&&l.length<2?`(?:/${v})`:"/"+v),S&&(v+="?"),s+=v,b+=20,S&&(b+=-8),T&&(b+=-20),h===".*"&&(b+=-50)}d.push(b)}r.push(d)}if(n.strict&&n.end){const l=r.length-1;r[l][r[l].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(l){const d=l.match(i),u={};if(!d)return null;for(let f=1;f<d.length;f++){const b=d[f]||"",m=o[f-1];u[m.name]=b&&m.repeatable?b.split("/"):b}return u}function c(l){let d="",u=!1;for(const f of e){(!u||!d.endsWith("/"))&&(d+="/"),u=!1;for(const b of f)if(b.type===0)d+=b.value;else if(b.type===1){const{value:m,repeatable:T,optional:S}=b,w=m in l?l[m]:"";if(yt(w)&&!T)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const h=yt(w)?w.join("/"):w;if(!h)if(S)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):u=!0);else throw new Error(`Missing required param "${m}"`);d+=h}}return d||"/"}return{re:i,score:r,keys:o,parse:a,stringify:c}}function Iy(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 jy(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=Iy(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Dl(r))return 1;if(Dl(s))return-1}return s.length-r.length}function Dl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const My={type:0,value:""},Dy=/[a-zA-Z0-9_]/;function By(e){if(!e)return[[]];if(e==="/")return[[My]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(b){throw new Error(`ERR (${n})/"${l}": ${b}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,l="",d="";function u(){l&&(n===0?o.push({type:0,value:l}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:l,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function f(){l+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(l&&u(),i()):c===":"?(u(),n=1):f();break;case 4:f(),n=r;break;case 1:c==="("?n=2:Dy.test(c)?f():(u(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+c:n=3:d+=c;break;case 3:u(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),u(),i(),s}function Fy(e,t,n){const r=Cy(By(e.path),n),s=Pe(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Hy(e,t){const n=[],r=new Map;t=Hl({strict:!1,end:!0,sensitive:!1},t);function s(d){return r.get(d)}function o(d,u,f){const b=!f,m=Uy(d);m.aliasOf=f&&f.record;const T=Hl(t,d),S=[m];if("alias"in d){const v=typeof d.alias=="string"?[d.alias]:d.alias;for(const P of v)S.push(Pe({},m,{components:f?f.record.components:m.components,path:P,aliasOf:f?f.record:m}))}let w,h;for(const v of S){const{path:P}=v;if(u&&P[0]!=="/"){const k=u.record.path,p=k[k.length-1]==="/"?"":"/";v.path=u.record.path+(P&&p+P)}if(w=Fy(v,u,T),f?f.alias.push(w):(h=h||w,h!==w&&h.alias.push(w),b&&d.name&&!Fl(w)&&i(d.name)),m.children){const k=m.children;for(let p=0;p<k.length;p++)o(k[p],w,f&&f.children[p])}f=f||w,(w.record.components&&Object.keys(w.record.components).length||w.record.name||w.record.redirect)&&c(w)}return h?()=>{i(h)}:Wr}function i(d){if(Vf(d)){const u=r.get(d);u&&(r.delete(d),n.splice(n.indexOf(u),1),u.children.forEach(i),u.alias.forEach(i))}else{const u=n.indexOf(d);u>-1&&(n.splice(u,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function c(d){let u=0;for(;u<n.length&&jy(d,n[u])>=0&&(d.record.path!==n[u].record.path||!qf(d,n[u]));)u++;n.splice(u,0,d),d.record.name&&!Fl(d)&&r.set(d.record.name,d)}function l(d,u){let f,b={},m,T;if("name"in d&&d.name){if(f=r.get(d.name),!f)throw Kn(1,{location:d});T=f.record.name,b=Pe(Bl(u.params,f.keys.filter(h=>!h.optional).map(h=>h.name)),d.params&&Bl(d.params,f.keys.map(h=>h.name))),m=f.stringify(b)}else if("path"in d)m=d.path,f=n.find(h=>h.re.test(m)),f&&(b=f.parse(m),T=f.record.name);else{if(f=u.name?r.get(u.name):n.find(h=>h.re.test(u.path)),!f)throw Kn(1,{location:d,currentLocation:u});T=f.record.name,b=Pe({},u.params,d.params),m=f.stringify(b)}const S=[];let w=f;for(;w;)S.unshift(w.record),w=w.parent;return{name:T,path:m,params:b,matched:S,meta:zy(S)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function Bl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Uy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Wy(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 Wy(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 Fl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function zy(e){return e.reduce((t,n)=>Pe(t,n.meta),{})}function Hl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function qf(e,t){return t.children.some(n=>n===e||qf(e,n))}const Kf=/#/g,Vy=/&/g,Gy=/\//g,qy=/=/g,Ky=/\?/g,Jf=/\+/g,Jy=/%5B/g,Xy=/%5D/g,Xf=/%5E/g,Yy=/%60/g,Yf=/%7B/g,Qy=/%7C/g,Qf=/%7D/g,Zy=/%20/g;function Ta(e){return encodeURI(""+e).replace(Qy,"|").replace(Jy,"[").replace(Xy,"]")}function ev(e){return Ta(e).replace(Yf,"{").replace(Qf,"}").replace(Xf,"^")}function Ri(e){return Ta(e).replace(Jf,"%2B").replace(Zy,"+").replace(Kf,"%23").replace(Vy,"%26").replace(Yy,"`").replace(Yf,"{").replace(Qf,"}").replace(Xf,"^")}function tv(e){return Ri(e).replace(qy,"%3D")}function nv(e){return Ta(e).replace(Kf,"%23").replace(Ky,"%3F")}function rv(e){return e==null?"":nv(e).replace(Gy,"%2F")}function Xs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function sv(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(Jf," "),i=o.indexOf("="),a=Xs(i<0?o:o.slice(0,i)),c=i<0?null:Xs(o.slice(i+1));if(a in t){let l=t[a];yt(l)||(l=t[a]=[l]),l.push(c)}else t[a]=c}return t}function Ul(e){let t="";for(let n in e){const r=e[n];if(n=tv(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(yt(r)?r.map(o=>o&&Ri(o)):[r&&Ri(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function ov(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=yt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const iv=Symbol(""),Wl=Symbol(""),Pa=Symbol(""),Sa=Symbol(""),Oi=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 Xt(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const c=u=>{u===!1?a(Kn(4,{from:n,to:t})):u instanceof Error?a(u):Oy(u)?a(Kn(2,{from:t,to:u})):(o&&r.enterCallbacks[s]===o&&typeof u=="function"&&o.push(u),i())},l=e.call(r&&r.instances[s],t,n,c);let d=Promise.resolve(l);e.length<3&&(d=d.then(c)),d.catch(u=>a(u))})}function ni(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(av(a)){const l=(a.__vccOpts||a)[t];l&&s.push(Xt(l,n,r,o,i))}else{let c=a();s.push(()=>c.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const d=py(l)?l.default:l;o.components[i]=d;const f=(d.__vccOpts||d)[t];return f&&Xt(f,n,r,o,i)()}))}}return s}function av(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zl(e){const t=Ye(Pa),n=Ye(Sa),r=ue(()=>t.resolve(Q(e.to))),s=ue(()=>{const{matched:c}=r.value,{length:l}=c,d=c[l-1],u=n.matched;if(!d||!u.length)return-1;const f=u.findIndex(qn.bind(null,d));if(f>-1)return f;const b=Vl(c[l-2]);return l>1&&Vl(d)===b&&u[u.length-1].path!==b?u.findIndex(qn.bind(null,c[l-2])):f}),o=ue(()=>s.value>-1&&fv(n.params,r.value.params)),i=ue(()=>s.value>-1&&s.value===n.matched.length-1&&Uf(n.params,r.value.params));function a(c={}){return uv(c)?t[Q(e.replace)?"replace":"push"](Q(e.to)).catch(Wr):Promise.resolve()}return{route:r,href:ue(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const lv=Te({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:zl,setup(e,{slots:t}){const n=ct(zl(e)),{options:r}=Ye(Pa),s=ue(()=>({[Gl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Gl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ue("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),cv=lv;function uv(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 fv(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(!yt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Vl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Gl=(e,t,n)=>e??t??n,dv=Te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ye(Oi),s=ue(()=>e.route||r.value),o=Ye(Wl,0),i=ue(()=>{let l=Q(o);const{matched:d}=s.value;let u;for(;(u=d[l])&&!u.components;)l++;return l}),a=ue(()=>s.value.matched[i.value]);Mn(Wl,ue(()=>i.value+1)),Mn(iv,a),Mn(Oi,s);const c=te();return Ie(()=>[c.value,a.value,e.name],([l,d,u],[f,b,m])=>{d&&(d.instances[u]=l,b&&b!==d&&l&&l===f&&(d.leaveGuards.size||(d.leaveGuards=b.leaveGuards),d.updateGuards.size||(d.updateGuards=b.updateGuards))),l&&d&&(!b||!qn(d,b)||!f)&&(d.enterCallbacks[u]||[]).forEach(T=>T(l))},{flush:"post"}),()=>{const l=s.value,d=e.name,u=a.value,f=u&&u.components[d];if(!f)return ql(n.default,{Component:f,route:l});const b=u.props[d],m=b?b===!0?l.params:typeof b=="function"?b(l):b:null,S=Ue(f,Pe({},m,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(u.instances[d]=null)},ref:c}));return ql(n.default,{Component:S,route:l})||S}}});function ql(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Zf=dv;function pv(e){const t=Hy(e.routes,e),n=e.parseQuery||sv,r=e.stringifyQuery||Ul,s=e.history,o=fr(),i=fr(),a=fr(),c=es(Vt);let l=Vt;An&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=ei.bind(null,j=>""+j),u=ei.bind(null,rv),f=ei.bind(null,Xs);function b(j,G){let N,K;return Vf(j)?(N=t.getRecordMatcher(j),K=G):K=j,t.addRoute(K,N)}function m(j){const G=t.getRecordMatcher(j);G&&t.removeRoute(G)}function T(){return t.getRoutes().map(j=>j.record)}function S(j){return!!t.getRecordMatcher(j)}function w(j,G){if(G=Pe({},G||c.value),typeof j=="string"){const $=ti(n,j,G.path),R=t.resolve({path:$.path},G),I=s.createHref($.fullPath);return Pe($,R,{params:f(R.params),hash:Xs($.hash),redirectedFrom:void 0,href:I})}let N;if("path"in j)N=Pe({},j,{path:ti(n,j.path,G.path).path});else{const $=Pe({},j.params);for(const R in $)$[R]==null&&delete $[R];N=Pe({},j,{params:u(j.params)}),G.params=u(G.params)}const K=t.resolve(N,G),J=j.hash||"";K.params=d(f(K.params));const ge=gy(r,Pe({},j,{hash:ev(J),path:K.path})),ce=s.createHref(ge);return Pe({fullPath:ge,hash:J,query:r===Ul?ov(j.query):j.query||{}},K,{redirectedFrom:void 0,href:ce})}function h(j){return typeof j=="string"?ti(n,j,c.value.path):Pe({},j)}function v(j,G){if(l!==j)return Kn(8,{from:G,to:j})}function P(j){return g(j)}function k(j){return P(Pe(h(j),{replace:!0}))}function p(j){const G=j.matched[j.matched.length-1];if(G&&G.redirect){const{redirect:N}=G;let K=typeof N=="function"?N(j):N;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=h(K):{path:K},K.params={}),Pe({query:j.query,hash:j.hash,params:"path"in K?{}:j.params},K)}}function g(j,G){const N=l=w(j),K=c.value,J=j.state,ge=j.force,ce=j.replace===!0,$=p(N);if($)return g(Pe(h($),{state:typeof $=="object"?Pe({},J,$.state):J,force:ge,replace:ce}),G||N);const R=N;R.redirectedFrom=G;let I;return!ge&&_y(r,K,N)&&(I=Kn(16,{to:R,from:K}),me(K,K,!0,!1)),(I?Promise.resolve(I):y(R,K)).catch(M=>Pt(M)?Pt(M,2)?M:oe(M):re(M,R,K)).then(M=>{if(M){if(Pt(M,2))return g(Pe({replace:ce},h(M.to),{state:typeof M.to=="object"?Pe({},J,M.to.state):J,force:ge}),G||R)}else M=E(R,K,!0,ce,J);return x(R,K,M),M})}function _(j,G){const N=v(j,G);return N?Promise.reject(N):Promise.resolve()}function y(j,G){let N;const[K,J,ge]=hv(j,G);N=ni(K.reverse(),"beforeRouteLeave",j,G);for(const $ of K)$.leaveGuards.forEach(R=>{N.push(Xt(R,j,G))});const ce=_.bind(null,j,G);return N.push(ce),xn(N).then(()=>{N=[];for(const $ of o.list())N.push(Xt($,j,G));return N.push(ce),xn(N)}).then(()=>{N=ni(J,"beforeRouteUpdate",j,G);for(const $ of J)$.updateGuards.forEach(R=>{N.push(Xt(R,j,G))});return N.push(ce),xn(N)}).then(()=>{N=[];for(const $ of j.matched)if($.beforeEnter&&!G.matched.includes($))if(yt($.beforeEnter))for(const R of $.beforeEnter)N.push(Xt(R,j,G));else N.push(Xt($.beforeEnter,j,G));return N.push(ce),xn(N)}).then(()=>(j.matched.forEach($=>$.enterCallbacks={}),N=ni(ge,"beforeRouteEnter",j,G),N.push(ce),xn(N))).then(()=>{N=[];for(const $ of i.list())N.push(Xt($,j,G));return N.push(ce),xn(N)}).catch($=>Pt($,8)?$:Promise.reject($))}function x(j,G,N){for(const K of a.list())K(j,G,N)}function E(j,G,N,K,J){const ge=v(j,G);if(ge)return ge;const ce=G===Vt,$=An?history.state:{};N&&(K||ce?s.replace(j.fullPath,Pe({scroll:ce&&$&&$.scroll},J)):s.push(j.fullPath,J)),c.value=j,me(j,G,N,ce),oe()}let A;function O(){A||(A=s.listen((j,G,N)=>{if(!ve.listening)return;const K=w(j),J=p(K);if(J){g(Pe(J,{replace:!0}),K).catch(Wr);return}l=K;const ge=c.value;An&&Sy(Cl(ge.fullPath,N.delta),Eo()),y(K,ge).catch(ce=>Pt(ce,12)?ce:Pt(ce,2)?(g(ce.to,K).then($=>{Pt($,20)&&!N.delta&&N.type===os.pop&&s.go(-1,!1)}).catch(Wr),Promise.reject()):(N.delta&&s.go(-N.delta,!1),re(ce,K,ge))).then(ce=>{ce=ce||E(K,ge,!1),ce&&(N.delta&&!Pt(ce,8)?s.go(-N.delta,!1):N.type===os.pop&&Pt(ce,20)&&s.go(-1,!1)),x(K,ge,ce)}).catch(Wr)}))}let L=fr(),W=fr(),z;function re(j,G,N){oe(j);const K=W.list();return K.length?K.forEach(J=>J(j,G,N)):console.error(j),Promise.reject(j)}function Z(){return z&&c.value!==Vt?Promise.resolve():new Promise((j,G)=>{L.add([j,G])})}function oe(j){return z||(z=!j,O(),L.list().forEach(([G,N])=>j?N(j):G()),L.reset()),j}function me(j,G,N,K){const{scrollBehavior:J}=e;if(!An||!J)return Promise.resolve();const ge=!N&&xy(Cl(j.fullPath,0))||(K||!N)&&history.state&&history.state.scroll||null;return Dt().then(()=>J(j,G,ge)).then(ce=>ce&&Py(ce)).catch(ce=>re(ce,j,G))}const _e=j=>s.go(j);let de;const ye=new Set,ve={currentRoute:c,listening:!0,addRoute:b,removeRoute:m,hasRoute:S,getRoutes:T,resolve:w,options:e,push:P,replace:k,go:_e,back:()=>_e(-1),forward:()=>_e(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:W.add,isReady:Z,install(j){const G=this;j.component("RouterLink",cv),j.component("RouterView",Zf),j.config.globalProperties.$router=G,Object.defineProperty(j.config.globalProperties,"$route",{enumerable:!0,get:()=>Q(c)}),An&&!de&&c.value===Vt&&(de=!0,P(s.location).catch(J=>{}));const N={};for(const J in Vt)N[J]=ue(()=>c.value[J]);j.provide(Pa,G),j.provide(Sa,ct(N)),j.provide(Oi,c);const K=j.unmount;ye.add(j),j.unmount=function(){ye.delete(j),ye.size<1&&(l=Vt,A&&A(),A=null,c.value=Vt,de=!1,z=!1),K()}}};return ve}function xn(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function hv(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(l=>qn(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>qn(l,c))||s.push(c))}return[n,r,s]}function mv(){return Ye(Sa)}function ri(e){return e!==null&&typeof e=="object"}function Li(e,t,n=".",r){if(!ri(t))return Li(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:ri(i)&&ri(s[o])?s[o]=Li(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function gv(e){return(...t)=>t.reduce((n,r)=>Li(n,r,"",e),{})}const _v=gv();class Ni extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1,this.statusMessage=void 0}toJSON(){const t={message:this.message,statusCode:Ii(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=ed(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Ni.__h3_error__=!0;function Ci(e){if(typeof e=="string")return new Ni(e);if(yv(e))return e;const t=new Ni(e.message??e.statusMessage,e.cause?{cause:e.cause}:void 0);if("stack"in e)try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Ii(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ii(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;ed(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function yv(e){return e?.constructor?.__h3_error__===!0}const vv=/[^\u0009\u0020-\u007E]/g;function ed(e=""){return e.replace(vv,"")}function Ii(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}function or(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s="$s"+n,o=$e(),i=_o(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(Le(a))return o.payload.state[s]=a,a;i.value=a}return i}const ft=()=>$e()?.$router,Ao=()=>rt()?Ye("_route",$e()._route):$e()._route,td=e=>e,bv=()=>{try{if($e()._processingMiddleware)return!0}catch{return!0}return!1},nd=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:e.path||"/",r=t?.external||us(n,{acceptRelative:!0});if(r&&!t?.external)throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(r&&xo(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const s=bv();if(!r&&s)return e;const o=ft();return r?(t?.replace?location.replace(n):location.href=n,Promise.resolve()):t?.replace?o.replace(e):o.push(e)},$o=()=>_o($e().payload,"error"),$n=e=>{const t=xa(e);try{$e().callHook("app:error",t);const r=$o();r.value=r.value||t}catch{throw t}return t},wv=async(e={})=>{const t=$e(),n=$o();t.callHook("app:error:cleared",e),e.redirect&&await ft().replace(e.redirect),n.value=null},kv=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),xa=e=>{const t=Ci(e);return t.__nuxt_error=!0,t},Tv="modulepreload",Pv=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},Kl={},Sv=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=Pv(o,r),o in Kl)return;Kl[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let d=s.length-1;d>=0;d--){const u=s[d];if(u.href===o&&(!i||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":Tv,i||(l.as="script",l.crossOrigin=""),l.href=o,document.head.appendChild(l),i)return new Promise((d,u)=>{l.addEventListener("load",d),l.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())},Ee=(...e)=>Sv(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),dr={layout:"none"},pr={layout:"none"},hr={icon:"carbon-image-copy",title:"Assets",layout:"full"},mr={icon:"i-carbon-assembly-cluster",title:"Components",order:2},gr={layout:"full"},_r={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},yr={icon:"carbon-function",title:"Imports",order:3},vr={icon:"carbon-layers",title:"Middleware",wip:!0},br={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},xv=()=>null;function rd(...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??xv,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0;const o=$e(),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?.()??null),pending:te(!a()),error:_o(o.payload._errors,n)});const c={...o._asyncData[n]};c.refresh=c.execute=(f={})=>{if(o._asyncDataPromises[n]){if(f.dedupe===!1)return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if(f._initial&&a())return i();c.pending.value=!0;const b=new Promise((m,T)=>{try{m(r(o))}catch(S){T(S)}}).then(m=>{if(b.cancelled)return o._asyncDataPromises[n];let T=m;s.transform&&(T=s.transform(m)),s.pick&&(T=Ev(T,s.pick)),c.data.value=T,c.error.value=null}).catch(m=>{if(b.cancelled)return o._asyncDataPromises[n];c.error.value=m,c.data.value=Q(s.default?.()??null)}).finally(()=>{b.cancelled||(c.pending.value=!1,o.payload.data[n]=c.data.value,c.error.value&&(o.payload._errors[n]=xa(c.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=b,o._asyncDataPromises[n]};const l=()=>c.refresh({_initial:!0}),d=s.server!==!1&&o.payload.serverRendered;{const f=rt();if(f&&!f._nuxtOnBeforeMountCbs){f._nuxtOnBeforeMountCbs=[];const m=f._nuxtOnBeforeMountCbs;f&&(Wu(()=>{m.forEach(T=>{T()}),m.splice(0,m.length)}),Ws(()=>m.splice(0,m.length)))}d&&o.isHydrating&&a()?c.pending.value=!1:f&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?f._nuxtOnBeforeMountCbs.push(l):s.immediate&&l(),s.watch&&Ie(s.watch,()=>c.refresh());const b=o.hook("app:data:refresh",m=>{if(!m||m.includes(n))return c.refresh()});f&&Ws(b)}const u=Promise.resolve(o._asyncDataPromises[n]).then(()=>c);return Object.assign(u,c),u}function Ev(e,t){const n={};for(const r of t)n[r]=e[r];return n}const Av={ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1};function $v(e,t={}){t={...Av,...t};const n=sd(t);return n.dispatch(e),n.toString()}function sd(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),c=a?a[1].toLowerCase():"unknown:["+i.toLowerCase()+"]";let l=null;if((l=n.indexOf(s))>=0)return this.dispatch("[CIRCULAR:"+l+"]");if(n.push(s),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(c!=="object"&&c!=="function"&&c!=="asyncfunction")this["_"+c]?this["_"+c](s):e.ignoreUnknown||this._unkown(s,c);else{let d=Object.keys(s);e.unorderedObjects&&(d=d.sort()),e.respectType!==!1&&!Jl(s)&&d.splice(0,0,"prototype","__proto__","letructor"),e.excludeKeys&&(d=d.filter(function(u){return!e.excludeKeys(u)})),r("object:"+d.length+":");for(const u of d)this.dispatch(u),r(":"),e.excludeValues||this.dispatch(s[u]),r(",")}},_array(s,o){if(o=typeof o<"u"?o:e.unorderedArrays!==!1,r("array:"+s.length+":"),!o||s.length<=1){for(const c of s)this.dispatch(c);return}const i=[],a=s.map(c=>{const l=sd(e);return l.dispatch(c),i.push(l.getContext()),l.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:"),Jl(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this._object(s)},_number(s){return r("number:"+s.toString())},_xml(s){return r("xml:"+s.toString())},_null(){return r("Null")},_undefined(){return r("Undefined")},_regexp(s){return r("regex:"+s.toString())},_uint8array(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint8clampedarray(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},_int8array(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint16array(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},_int16array(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},_uint32array(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},_int32array(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},_float32array(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},_float64array(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},_arraybuffer(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},_url(s){return r("url:"+s.toString())},_map(s){r("map:");const o=[...s];return this._array(o,e.unorderedSets!==!1)},_set(s){r("set:");const o=[...s];return this._array(o,e.unorderedSets!==!1)},_file(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},_blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported
6
- Use "options.replacer" or "options.ignoreUnknown"
7
- `)},_domwindow(){return r("domwindow")},_bigint(s){return r("bigint:"+s.toString())},_process(){return r("process")},_timer(){return r("timer")},_pipe(){return r("pipe")},_tcp(){return r("tcp")},_udp(){return r("udp")},_tty(){return r("tty")},_statwatcher(){return r("statwatcher")},_securecontext(){return r("securecontext")},_connection(){return r("connection")},_zlib(){return r("zlib")},_context(){return r("context")},_nodescript(){return r("nodescript")},_httpparser(){return r("httpparser")},_dataview(){return r("dataview")},_signal(){return r("signal")},_fsevent(){return r("fsevent")},_tlswrap(){return r("tlswrap")}}}function Jl(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 Jn{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||Rv).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 Jn([...this.words])}}const Rv={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("")}},Ov={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 c=0;c<4&&r*8+c*6<e.sigBytes*8;c++)n.push(t.charAt(a>>>6*(3-c)&63))}return n.join("")}},Lv={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 Jn(n,t)}},Nv={parse(e){return Lv.parse(unescape(encodeURIComponent(e)))}};class Cv{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new Jn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=Nv.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 Jn(n,o)}}class Iv extends Cv{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const jv=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Mv=[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],fn=[];class Dv extends Iv{constructor(){super(),this.reset()}reset(){super.reset(),this._hash=new Jn([...jv])}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],c=r[4],l=r[5],d=r[6],u=r[7];for(let f=0;f<64;f++){if(f<16)fn[f]=t[n+f]|0;else{const v=fn[f-15],P=(v<<25|v>>>7)^(v<<14|v>>>18)^v>>>3,k=fn[f-2],p=(k<<15|k>>>17)^(k<<13|k>>>19)^k>>>10;fn[f]=P+fn[f-7]+p+fn[f-16]}const b=c&l^~c&d,m=s&o^s&i^o&i,T=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),S=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),w=u+S+b+Mv[f]+fn[f],h=T+m;u=d,d=l,l=c,c=a+w|0,a=i,i=o,o=s,s=w+h|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]+c|0,r[5]=r[5]+l|0,r[6]=r[6]+d|0,r[7]=r[7]+u|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function Bv(e){return new Dv().finalize(e).toString(Ov)}function Fv(e,t={}){const n=typeof e=="string"?e:$v(e,t);return Bv(n).slice(0,10)}function Hv(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=r.key||Fv([s,Q(r.baseURL),typeof e=="string"?e:"",Q(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=ue(()=>{let P=e;return typeof P=="function"&&(P=P()),Q(P)});if(!r.baseURL&&typeof a.value=="string"&&a.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:c,lazy:l,default:d,transform:u,pick:f,watch:b,immediate:m,...T}=r,S=ct({...T,cache:typeof r.cache=="boolean"?void 0:r.cache}),w={server:c,lazy:l,default:d,transform:u,pick:f,immediate:m,watch:b===!1?[]:[S,a,...b||[]]};let h;return rd(i,()=>(h?.abort?.(),h=typeof AbortController<"u"?new AbortController:{},typeof a.value=="string"&&a.value.startsWith("/"),(r.$fetch||globalThis.$fetch)(a.value,{signal:h.signal,...S})),w)}const ji=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Uv=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Wv=e=>{const t=$e();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ji(e)}):ji(e)};async function od(e,t=ft()){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(()=>od(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)}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");const zv=-1,Vv=-2,Gv=-3,qv=-4,Kv=-5,Jv=-6;function Xv(e,t){return Yv(JSON.parse(e),t)}function Yv(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===zv)return;if(o===Gv)return NaN;if(o===qv)return 1/0;if(o===Kv)return-1/0;if(o===Jv)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t?.[c];if(l)return r[o]=l(s(a[1]));switch(c){case"Date":r[o]=new Date(a[1]);break;case"Set":const d=new Set;r[o]=d;for(let b=1;b<a.length;b+=1)d.add(s(a[b]));break;case"Map":const u=new Map;r[o]=u;for(let b=1;b<a.length;b+=2)u.set(s(a[b]),s(a[b+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const f=Object.create(null);r[o]=f;for(let b=1;b<a.length;b+=2)f[a[b]]=s(a[b+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(a.length);r[o]=c;for(let l=0;l<a.length;l+=1){const d=a[l];d!==Vv&&(c[l]=s(d))}}else{const c={};r[o]=c;for(const l in a){const d=a[l];c[l]=s(d)}}return r[o]}return s(0)}function Xl(e,t={}){const n=Qv(e,t),r=$e(),s=r._payloadCache=r._payloadCache||{};return s[n]||(s[n]=Zv(n).then(o=>o||(delete s[n],null))),s[n]}const Yl="js";function Qv(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||us(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return So(wa().app.baseURL,n.pathname,r?`_payload.${r}.${Yl}`:`_payload.${Yl}`)}async function Zv(e){try{return fy?tb(await fetch(e).then(t=>t.text())):await Ee(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}function eb(){return!!$e().payload.prerenderedAt}function tb(e){return Xv(e,$e()._payloadRevivers)}function nb(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:$e().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const rb=(...e)=>e.find(t=>t!==void 0),sb="noopener noreferrer";function ob(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?Of:Rf;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 Te({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=ft(),i=ue(()=>{const u=r.to||r.href||"";return n(u,o.resolve)}),a=ue(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||us(i.value,{acceptRelative:!0})),c=te(!1),l=te(null),d=u=>{l.value=r.custom?u?.$el?.nextElementSibling:u?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!ab()){const f=$e();let b,m=null;Ft(()=>{const T=ib();Wv(()=>{b=ji(()=>{l?.value?.tagName&&(m=T.observe(l.value,async()=>{m?.(),m=null;const S=typeof i.value=="string"?i.value:o.resolve(i.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",S).catch(()=>{}),!a.value&&od(i.value,o).catch(()=>{})]),c.value=!0}))})})}),sr(()=>{b&&Uv(b),m?.(),m=null})}return()=>{if(!a.value){const T={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||(c.value&&(T.class=r.prefetchedClass||e.prefetchedClass),T.rel=r.rel),Ue(nn("RouterLink"),T,s.default)}const u=typeof i.value=="object"?o.resolve(i.value)?.href??null:i.value||null,f=r.target||null,b=r.noRel?null:rb(r.rel,e.externalRelAttribute,u?sb:"")||null,m=()=>nd(u,{replace:r.replace});return r.custom?s.default?s.default({href:u,navigate:m,get route(){if(!u)return;const T=xo(u);return{path:T.pathname,fullPath:T.pathname,get query(){return qg(T.search)},hash:T.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u}},rel:b,target:f,isExternal:a.value,isActive:!1,isExactActive:!1}):null:Ue("a",{ref:l,href:u,rel:b,target:f},s.default?.())}}})}const Ea=ob({componentName:"NuxtLink"});function ib(){const e=$e();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const c of a){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),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 ab(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Aa=()=>or("color-mode").value,Mi=te();let Ql;function lb(){Ql||(Ql=(async()=>{const{default:e}=await Ee(()=>import("./index.3e121f4a.js").then(t=>t.i),[],import.meta.url);Mi.value=new e({html:!0,linkify:!0,breaks:!0})})())}function cb(e){return lb(),Mi.value?Mi.value.render(e):e}var id=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},Vr={},ub={get exports(){return Vr},set exports(e){Vr=e}};(function(e,t){(function(n,r){e.exports=r()})(id,()=>{return n={770:function(s,o,i){var a=this&&this.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(o,"__esModule",{value:!0}),o.setDefaultDebugCall=o.createOnigScanner=o.createOnigString=o.loadWASM=o.OnigScanner=o.OnigString=void 0;const c=a(i(418));let l=null,d=!1;class u{static _utf8ByteLength(w){let h=0;for(let v=0,P=w.length;v<P;v++){const k=w.charCodeAt(v);let p=k,g=!1;if(k>=55296&&k<=56319&&v+1<P){const _=w.charCodeAt(v+1);_>=56320&&_<=57343&&(p=65536+(k-55296<<10)|_-56320,g=!0)}h+=p<=127?1:p<=2047?2:p<=65535?3:4,g&&v++}return h}constructor(w){const h=w.length,v=u._utf8ByteLength(w),P=v!==h,k=P?new Uint32Array(h+1):null;P&&(k[h]=v);const p=P?new Uint32Array(v+1):null;P&&(p[v]=h);const g=new Uint8Array(v);let _=0;for(let y=0;y<h;y++){const x=w.charCodeAt(y);let E=x,A=!1;if(x>=55296&&x<=56319&&y+1<h){const O=w.charCodeAt(y+1);O>=56320&&O<=57343&&(E=65536+(x-55296<<10)|O-56320,A=!0)}P&&(k[y]=_,A&&(k[y+1]=_),E<=127?p[_+0]=y:E<=2047?(p[_+0]=y,p[_+1]=y):E<=65535?(p[_+0]=y,p[_+1]=y,p[_+2]=y):(p[_+0]=y,p[_+1]=y,p[_+2]=y,p[_+3]=y)),E<=127?g[_++]=E:E<=2047?(g[_++]=192|(1984&E)>>>6,g[_++]=128|(63&E)>>>0):E<=65535?(g[_++]=224|(61440&E)>>>12,g[_++]=128|(4032&E)>>>6,g[_++]=128|(63&E)>>>0):(g[_++]=240|(1835008&E)>>>18,g[_++]=128|(258048&E)>>>12,g[_++]=128|(4032&E)>>>6,g[_++]=128|(63&E)>>>0),A&&y++}this.utf16Length=h,this.utf8Length=v,this.utf16Value=w,this.utf8Value=g,this.utf16OffsetToUtf8=k,this.utf8OffsetToUtf16=p}createString(w){const h=w._omalloc(this.utf8Length);return w.HEAPU8.set(this.utf8Value,h),h}}class f{constructor(w){if(this.id=++f.LAST_ID,!l)throw new Error("Must invoke loadWASM first.");this._onigBinding=l,this.content=w;const h=new u(w);this.utf16Length=h.utf16Length,this.utf8Length=h.utf8Length,this.utf16OffsetToUtf8=h.utf16OffsetToUtf8,this.utf8OffsetToUtf16=h.utf8OffsetToUtf16,this.utf8Length<1e4&&!f._sharedPtrInUse?(f._sharedPtr||(f._sharedPtr=l._omalloc(1e4)),f._sharedPtrInUse=!0,l.HEAPU8.set(h.utf8Value,f._sharedPtr),this.ptr=f._sharedPtr):this.ptr=h.createString(l)}convertUtf8OffsetToUtf16(w){return this.utf8OffsetToUtf16?w<0?0:w>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[w]:w}convertUtf16OffsetToUtf8(w){return this.utf16OffsetToUtf8?w<0?0:w>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[w]:w}dispose(){this.ptr===f._sharedPtr?f._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}o.OnigString=f,f.LAST_ID=0,f._sharedPtr=0,f._sharedPtrInUse=!1;class b{constructor(w){if(!l)throw new Error("Must invoke loadWASM first.");const h=[],v=[];for(let g=0,_=w.length;g<_;g++){const y=new u(w[g]);h[g]=y.createString(l),v[g]=y.utf8Length}const P=l._omalloc(4*w.length);l.HEAPU32.set(h,P/4);const k=l._omalloc(4*w.length);l.HEAPU32.set(v,k/4);const p=l._createOnigScanner(P,k,w.length);for(let g=0,_=w.length;g<_;g++)l._ofree(h[g]);l._ofree(k),l._ofree(P),p===0&&function(g){throw new Error(g.UTF8ToString(g._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=p}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(w,h,v){let P=d,k=0;if(typeof v=="number"?(8&v&&(P=!0),k=v):typeof v=="boolean"&&(P=v),typeof w=="string"){w=new f(w);const p=this._findNextMatchSync(w,h,P,k);return w.dispose(),p}return this._findNextMatchSync(w,h,P,k)}_findNextMatchSync(w,h,v,P){const k=this._onigBinding;let p;if(p=v?k._findNextOnigScannerMatchDbg(this._ptr,w.id,w.ptr,w.utf8Length,w.convertUtf16OffsetToUtf8(h),P):k._findNextOnigScannerMatch(this._ptr,w.id,w.ptr,w.utf8Length,w.convertUtf16OffsetToUtf8(h),P),p===0)return null;const g=k.HEAPU32;let _=p/4;const y=g[_++],x=g[_++];let E=[];for(let A=0;A<x;A++){const O=w.convertUtf8OffsetToUtf16(g[_++]),L=w.convertUtf8OffsetToUtf16(g[_++]);E[A]={start:O,end:L,length:L-O}}return{index:y,captureIndices:E}}}o.OnigScanner=b;let m=!1,T=null;o.loadWASM=function(S){if(m)return T;let w,h,v,P;if(m=!0,function(k){return typeof k.instantiator=="function"}(S))w=S.instantiator,h=S.print;else{let k;(function(p){return p.data!==void 0})(S)?(k=S.data,h=S.print):k=S,w=function(p){return typeof Response<"u"&&p instanceof Response}(k)?typeof WebAssembly.instantiateStreaming=="function"?function(p){return g=>WebAssembly.instantiateStreaming(p,g)}(k):function(p){return async g=>{const _=await p.arrayBuffer();return WebAssembly.instantiate(_,g)}}(k):function(p){return g=>WebAssembly.instantiate(p,g)}(k)}return T=new Promise((k,p)=>{v=k,P=p}),function(k,p,g,_){(0,c.default)({print:p,instantiateWasm:(y,x)=>{if(typeof performance>"u"){const E=()=>Date.now();y.env.emscripten_get_now=E,y.wasi_snapshot_preview1.emscripten_get_now=E}return k(y).then(E=>x(E.instance),_),{}}}).then(y=>{l=y,g()})}(w,h,v,P),T},o.createOnigString=function(S){return new f(S)},o.createOnigScanner=function(S){return new b(S)},o.setDefaultDebugCall=function(S){d=S}},418:s=>{var o=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,c,l=(i=i||{})!==void 0?i:{};l.ready=new Promise(function(C,B){a=C,c=B});var d,u=Object.assign({},l),f=!1,b="";function m(C){return l.locateFile?l.locateFile(C,b):b+C}d=function(C){let B;return typeof readbuffer=="function"?new Uint8Array(readbuffer(C)):(B=read(C,"binary"),P(typeof B=="object"),B)},typeof scriptArgs<"u"&&scriptArgs,typeof onig_print<"u"&&(typeof console>"u"&&(console={}),console.log=onig_print,console.warn=console.error=typeof printErr<"u"?printErr:onig_print);var T,S,w=l.print||console.log.bind(console),h=l.printErr||console.warn.bind(console);Object.assign(l,u),u=null,l.arguments&&l.arguments,l.thisProgram&&l.thisProgram,l.quit&&l.quit,l.wasmBinary&&(T=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&j("no native wasm support detected");var v=!1;function P(C,B){C||j(B)}var k,p,g,_=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function y(C,B,X){for(var ae=B+X,se=B;C[se]&&!(se>=ae);)++se;if(se-B>16&&C.buffer&&_)return _.decode(C.subarray(B,se));for(var ee="";B<se;){var pe=C[B++];if(128&pe){var De=63&C[B++];if((224&pe)!=192){var Ze=63&C[B++];if((pe=(240&pe)==224?(15&pe)<<12|De<<6|Ze:(7&pe)<<18|De<<12|Ze<<6|63&C[B++])<65536)ee+=String.fromCharCode(pe);else{var ir=pe-65536;ee+=String.fromCharCode(55296|ir>>10,56320|1023&ir)}}else ee+=String.fromCharCode((31&pe)<<6|De)}else ee+=String.fromCharCode(pe)}return ee}function x(C,B){return C?y(p,C,B):""}function E(C){k=C,l.HEAP8=new Int8Array(C),l.HEAP16=new Int16Array(C),l.HEAP32=new Int32Array(C),l.HEAPU8=p=new Uint8Array(C),l.HEAPU16=new Uint16Array(C),l.HEAPU32=g=new Uint32Array(C),l.HEAPF32=new Float32Array(C),l.HEAPF64=new Float64Array(C)}l.INITIAL_MEMORY;var A=[],O=[],L=[];function W(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)Z(l.preRun.shift());R(A)}function z(){R(O)}function re(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)me(l.postRun.shift());R(L)}function Z(C){A.unshift(C)}function oe(C){O.unshift(C)}function me(C){L.unshift(C)}var _e=0,de=null;function ye(C){_e++,l.monitorRunDependencies&&l.monitorRunDependencies(_e)}function ve(C){if(_e--,l.monitorRunDependencies&&l.monitorRunDependencies(_e),_e==0&&de){var B=de;de=null,B()}}function j(C){l.onAbort&&l.onAbort(C),h(C="Aborted("+C+")"),v=!0,C+=". Build with -sASSERTIONS for more info.";var B=new WebAssembly.RuntimeError(C);throw c(B),B}var G,N,K="data:application/octet-stream;base64,";function J(C){return C.startsWith(K)}function ge(C){try{if(C==G&&T)return new Uint8Array(T);if(d)return d(C);throw"both async and sync fetching of the wasm failed"}catch(B){j(B)}}function ce(){return T||!f||typeof fetch!="function"?Promise.resolve().then(function(){return ge(G)}):fetch(G,{credentials:"same-origin"}).then(function(C){if(!C.ok)throw"failed to load wasm binary file at '"+G+"'";return C.arrayBuffer()}).catch(function(){return ge(G)})}function $(){var C={env:F,wasi_snapshot_preview1:F};function B(se,ee){var pe=se.exports;l.asm=pe,E((S=l.asm.memory).buffer),l.asm.__indirect_function_table,oe(l.asm.__wasm_call_ctors),ve()}function X(se){B(se.instance)}function ae(se){return ce().then(function(ee){return WebAssembly.instantiate(ee,C)}).then(function(ee){return ee}).then(se,function(ee){h("failed to asynchronously prepare wasm: "+ee),j(ee)})}if(ye(),l.instantiateWasm)try{return l.instantiateWasm(C,B)}catch(se){h("Module.instantiateWasm callback failed with error: "+se),c(se)}return(T||typeof WebAssembly.instantiateStreaming!="function"||J(G)||typeof fetch!="function"?ae(X):fetch(G,{credentials:"same-origin"}).then(function(se){return WebAssembly.instantiateStreaming(se,C).then(X,function(ee){return h("wasm streaming compile failed: "+ee),h("falling back to ArrayBuffer instantiation"),ae(X)})})).catch(c),{}}function R(C){for(;C.length>0;)C.shift()(l)}function I(C,B,X){p.copyWithin(C,B,B+X)}function M(C){try{return S.grow(C-k.byteLength+65535>>>16),E(S.buffer),1}catch{}}function D(C){var B,X=p.length,ae=2147483648;if((C>>>=0)>ae)return!1;for(var se=1;se<=4;se*=2){var ee=X*(1+.2/se);if(ee=Math.min(ee,C+100663296),M(Math.min(ae,(B=Math.max(C,ee))+(65536-B%65536)%65536)))return!0}return!1}J(G="onig.wasm")||(G=m(G)),N=typeof dateNow<"u"?dateNow:()=>performance.now();var V=[null,[],[]];function q(C,B){var X=V[C];B===0||B===10?((C===1?w:h)(y(X,0)),X.length=0):X.push(B)}function H(C,B,X,ae){for(var se=0,ee=0;ee<X;ee++){var pe=g[B>>2],De=g[B+4>>2];B+=8;for(var Ze=0;Ze<De;Ze++)q(C,p[pe+Ze]);se+=De}return g[ae>>2]=se,0}var U,F={emscripten_get_now:N,emscripten_memcpy_big:I,emscripten_resize_heap:D,fd_write:H};function Y(C){function B(){U||(U=!0,l.calledRun=!0,v||(z(),a(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),re()))}_e>0||(W(),_e>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),B()},1)):B()))}if($(),l.___wasm_call_ctors=function(){return(l.___wasm_call_ctors=l.asm.__wasm_call_ctors).apply(null,arguments)},l.___errno_location=function(){return(l.___errno_location=l.asm.__errno_location).apply(null,arguments)},l._omalloc=function(){return(l._omalloc=l.asm.omalloc).apply(null,arguments)},l._ofree=function(){return(l._ofree=l.asm.ofree).apply(null,arguments)},l._getLastOnigError=function(){return(l._getLastOnigError=l.asm.getLastOnigError).apply(null,arguments)},l._createOnigScanner=function(){return(l._createOnigScanner=l.asm.createOnigScanner).apply(null,arguments)},l._freeOnigScanner=function(){return(l._freeOnigScanner=l.asm.freeOnigScanner).apply(null,arguments)},l._findNextOnigScannerMatch=function(){return(l._findNextOnigScannerMatch=l.asm.findNextOnigScannerMatch).apply(null,arguments)},l._findNextOnigScannerMatchDbg=function(){return(l._findNextOnigScannerMatchDbg=l.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},l.stackSave=function(){return(l.stackSave=l.asm.stackSave).apply(null,arguments)},l.stackRestore=function(){return(l.stackRestore=l.asm.stackRestore).apply(null,arguments)},l.stackAlloc=function(){return(l.stackAlloc=l.asm.stackAlloc).apply(null,arguments)},l.dynCall_jiji=function(){return(l.dynCall_jiji=l.asm.dynCall_jiji).apply(null,arguments)},l.UTF8ToString=x,de=function C(){U||Y(),U||(de=C)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return Y(),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})})(ub);var Ys={},fb={get exports(){return Ys},set exports(e){Ys=e}};(function(e,t){(function(n,r){e.exports=r()})(id,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 c=a.toString(2);for(;c.length<32;)c="0"+c;return c},i.print=function(a){const c=i.getLanguageId(a),l=i.getTokenType(a),d=i.getFontStyle(a),u=i.getForeground(a),f=i.getBackground(a);console.log({languageId:c,tokenType:l,fontStyle:d,foreground:u,background:f})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,c,l,d,u,f,b){let m=i.getLanguageId(a),T=i.getTokenType(a),S=i.containsBalancedBrackets(a)?1:0,w=i.getFontStyle(a),h=i.getForeground(a),v=i.getBackground(a);return c!==0&&(m=c),l!==8&&(T=l),d!==null&&(S=d?1:0),u!==-1&&(w=u),f!==0&&(h=f),b!==0&&(v=b),(m<<0|T<<8|S<<10|w<<11|h<<15|v<<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 c{constructor(f,b){this.languageId=f,this.tokenType=b}}o.BasicScopeAttributes=c;class l{constructor(f,b){this._getBasicScopeAttributes=new a.CachedFn(m=>{const T=this._scopeToLanguage(m),S=this._toStandardTokenType(m);return new c(T,S)}),this._defaultAttributes=new c(f,8),this._embeddedLanguagesMatcher=new d(Object.entries(b||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(f){return f===null?l._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(f)}_scopeToLanguage(f){return this._embeddedLanguagesMatcher.match(f)||0}_toStandardTokenType(f){const b=f.match(l.STANDARD_TOKEN_TYPE_REGEXP);if(!b)return 8;switch(b[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=l,l._NULL_SCOPE_METADATA=new c(0,0),l.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class d{constructor(f){if(f.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(f);const b=f.map(([m,T])=>a.escapeRegExpCharacters(m));b.sort(),b.reverse(),this.scopesRegExp=new RegExp(`^((${b.join(")|(")}))($|\\.)`,"")}}match(f){if(!this.scopesRegExp)return;const b=f.match(this.scopesRegExp);return b?this.values.get(b[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),c=i(36),l=i(736),d=i(44),u=i(792),f=i(583),b=i(878),m=i(996),T=i(47);function S(_,y,x,E,A){const O=l.createMatchers(y,w),L=u.RuleFactory.getCompiledRuleId(x,E,A.repository);for(const W of O)_.push({debugSelector:y,matcher:W.matcher,ruleId:L,grammar:A,priority:W.priority})}function w(_,y){if(y.length<_.length)return!1;let x=0;return _.every(E=>{for(let A=x;A<y.length;A++)if(h(y[A],E))return x=A+1,!0;return!1})}function h(_,y){if(!_)return!1;if(_===y)return!0;const x=y.length;return _.length>x&&_.substr(0,x)===y&&_[x]==="."}o.createGrammar=function(_,y,x,E,A,O,L,W){return new v(_,y,x,E,A,O,L,W)};class v{constructor(y,x,E,A,O,L,W,z){if(this._rootScopeName=y,this.balancedBracketSelectors=L,this._onigLib=z,this._basicScopeAttributesProvider=new m.BasicScopeAttributesProvider(E,A),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=W,this._grammar=P(x,null),this._injections=null,this._tokenTypeMatchers=[],O)for(const re of Object.keys(O)){const Z=l.createMatchers(re,w);for(const oe of Z)this._tokenTypeMatchers.push({matcher:oe.matcher,type:O[re]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const y of this._ruleId2desc)y&&y.dispose()}createOnigScanner(y){return this._onigLib.createOnigScanner(y)}createOnigString(y){return this._onigLib.createOnigString(y)}getMetadataForScope(y){return this._basicScopeAttributesProvider.getBasicScopeAttributes(y)}_collectInjections(){const y=[],x=this._rootScopeName,E=(A=>A===this._rootScopeName?this._grammar:this.getExternalGrammar(A))(x);if(E){const A=E.injections;if(A)for(let L in A)S(y,L,A[L],this,E);const O=this._grammarRepository.injections(x);O&&O.forEach(L=>{const W=this.getExternalGrammar(L);if(W){const z=W.injectionSelector;z&&S(y,z,W,this,W)}})}return y.sort((A,O)=>A.priority-O.priority),y}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 y of this._injections)console.log(` - ${y.debugSelector}`)}return this._injections}registerRule(y){const x=++this._lastRuleId,E=y(u.ruleIdFromNumber(x));return this._ruleId2desc[x]=E,E}getRule(y){return this._ruleId2desc[u.ruleIdToNumber(y)]}getExternalGrammar(y,x){if(this._includedGrammars[y])return this._includedGrammars[y];if(this._grammarRepository){const E=this._grammarRepository.lookup(y);if(E)return this._includedGrammars[y]=P(E,x&&x.$base),this._includedGrammars[y]}}tokenizeLine(y,x,E=0){const A=this._tokenize(y,x,!1,E);return{tokens:A.lineTokens.getResult(A.ruleStack,A.lineLength),ruleStack:A.ruleStack,stoppedEarly:A.stoppedEarly}}tokenizeLine2(y,x,E=0){const A=this._tokenize(y,x,!0,E);return{tokens:A.lineTokens.getBinaryResult(A.ruleStack,A.lineLength),ruleStack:A.ruleStack,stoppedEarly:A.stoppedEarly}}_tokenize(y,x,E,A){let O;if(this._rootId===-1&&(this._rootId=u.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),x&&x!==p.NULL)O=!1,x.reset();else{O=!0;const Z=this._basicScopeAttributesProvider.getDefaultAttributes(),oe=this.themeProvider.getDefaults(),me=c.EncodedTokenAttributes.set(0,Z.languageId,Z.tokenType,null,oe.fontStyle,oe.foregroundId,oe.backgroundId),_e=this.getRule(this._rootId).getName(null,null);let de;de=_e?k.createRootAndLookUpScopeName(_e,me,this):k.createRoot("unknown",me),x=new p(null,this._rootId,-1,-1,!1,null,de,de)}y+=`
8
- `;const L=this.createOnigString(y),W=L.content.length,z=new g(E,y,this._tokenTypeMatchers,this.balancedBracketSelectors),re=T._tokenizeString(this,L,O,0,x,z,!0,A);return d.disposeOnigString(L),{lineLength:W,lineTokens:z,ruleStack:re.stack,stoppedEarly:re.stoppedEarly}}}function P(_,y){return(_=b.clone(_)).repository=_.repository||{},_.repository.$self={$vscodeTextmateLocation:_.$vscodeTextmateLocation,patterns:_.patterns,name:_.scopeName},_.repository.$base=y||_.repository.$self,_}o.Grammar=v;class k{constructor(y,x,E){this.parent=y,this.scopePath=x,this.tokenAttributes=E}static createRoot(y,x){return new k(null,new f.ScopeStack(null,y),x)}static createRootAndLookUpScopeName(y,x,E){const A=E.getMetadataForScope(y),O=new f.ScopeStack(null,y),L=E.themeProvider.themeMatch(O),W=k.mergeAttributes(x,A,L);return new k(null,O,W)}get scopeName(){return this.scopePath.scopeName}equals(y){return k._equals(this,y)}static _equals(y,x){for(;;){if(y===x||!y&&!x)return!0;if(!y||!x||y.scopeName!==x.scopeName||y.tokenAttributes!==x.tokenAttributes)return!1;y=y.parent,x=x.parent}}static mergeAttributes(y,x,E){let A=-1,O=0,L=0;return E!==null&&(A=E.fontStyle,O=E.foregroundId,L=E.backgroundId),c.EncodedTokenAttributes.set(y,x.languageId,x.tokenType,null,A,O,L)}pushAttributed(y,x){if(y===null)return this;if(y.indexOf(" ")===-1)return k._pushAttributed(this,y,x);const E=y.split(/ /g);let A=this;for(const O of E)A=k._pushAttributed(A,O,x);return A}static _pushAttributed(y,x,E){const A=E.getMetadataForScope(x),O=y.scopePath.push(x),L=E.themeProvider.themeMatch(O),W=k.mergeAttributes(y.tokenAttributes,A,L);return new k(y,O,W)}getScopeNames(){return this.scopePath.getSegments()}}o.AttributedScopeStack=k;class p{constructor(y,x,E,A,O,L,W,z){this.parent=y,this.ruleId=x,this.beginRuleCapturedEOL=O,this.endRule=L,this.nameScopesList=W,this.contentNameScopesList=z,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=E,this._anchorPos=A}equals(y){return y!==null&&p._equals(this,y)}static _equals(y,x){return y===x||!!this._structuralEquals(y,x)&&y.contentNameScopesList.equals(x.contentNameScopesList)}static _structuralEquals(y,x){for(;;){if(y===x||!y&&!x)return!0;if(!y||!x||y.depth!==x.depth||y.ruleId!==x.ruleId||y.endRule!==x.endRule)return!1;y=y.parent,x=x.parent}}clone(){return this}static _reset(y){for(;y;)y._enterPos=-1,y._anchorPos=-1,y=y.parent}reset(){p._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(y,x,E,A,O,L,W){return new p(this,y,x,E,A,O,L,W)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(y){return y.getRule(this.ruleId)}toString(){const y=[];return this._writeString(y,0),"["+y.join(",")+"]"}_writeString(y,x){return this.parent&&(x=this.parent._writeString(y,x)),y[x++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,x}withContentNameScopesList(y){return this.contentNameScopesList===y?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,y)}withEndRule(y){return this.endRule===y?this:new p(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,y,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(y){let x=this;for(;x&&x._enterPos===y._enterPos;){if(x.ruleId===y.ruleId)return!0;x=x.parent}return!1}}o.StateStack=p,p.NULL=new p(null,0,0,0,!1,null,null,null),o.BalancedBracketSelectors=class{constructor(_,y){this.allowAny=!1,this.balancedBracketScopes=_.flatMap(x=>x==="*"?(this.allowAny=!0,[]):l.createMatchers(x,w).map(E=>E.matcher)),this.unbalancedBracketScopes=y.flatMap(x=>l.createMatchers(x,w).map(E=>E.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(_){for(const y of this.unbalancedBracketScopes)if(y(_))return!1;for(const y of this.balancedBracketScopes)if(y(_))return!0;return this.allowAny}};class g{constructor(y,x,E,A){this.balancedBracketSelectors=A,this._emitBinaryTokens=y,this._tokenTypeOverrides=E,a.DebugFlags.InDebugMode?this._lineText=x:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(y,x){this.produceFromScopes(y.contentNameScopesList,x)}produceFromScopes(y,x){if(this._lastTokenEndIndex>=x)return;if(this._emitBinaryTokens){let A=y.tokenAttributes,O=!1;if(this.balancedBracketSelectors?.matchesAlways&&(O=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const L=y.getScopeNames();for(const W of this._tokenTypeOverrides)W.matcher(L)&&(A=c.EncodedTokenAttributes.set(A,0,c.toOptionalTokenType(W.type),null,-1,0,0));this.balancedBracketSelectors&&(O=this.balancedBracketSelectors.match(L))}if(O&&(A=c.EncodedTokenAttributes.set(A,0,8,O,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===A)return void(this._lastTokenEndIndex=x);if(a.DebugFlags.InDebugMode){const L=y.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,x).replace(/\n$/,"\\n")+"|");for(let W=0;W<L.length;W++)console.log(" * "+L[W])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(A),void(this._lastTokenEndIndex=x)}const E=y.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,x).replace(/\n$/,"\\n")+"|");for(let A=0;A<E.length;A++)console.log(" * "+E[A])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:x,scopes:E}),this._lastTokenEndIndex=x}getResult(y,x){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===x-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(y,x),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(y,x){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===x-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(y,x),this._binaryTokens[this._binaryTokens.length-2]=0);const E=new Uint32Array(this._binaryTokens.length);for(let A=0,O=this._binaryTokens.length;A<O;A++)E[A]=this._binaryTokens[A];return E}}o.LineTokens=g},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 c{constructor(p){this.scopeName=p}toKey(){return this.scopeName}}o.TopLevelRuleReference=c;class l{constructor(p,g){this.scopeName=p,this.ruleName=g}toKey(){return`${this.scopeName}#${this.ruleName}`}}o.TopLevelRepositoryRuleReference=l;class d{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(p){const g=p.toKey();this._seenReferenceKeys.has(g)||(this._seenReferenceKeys.add(g),this._references.push(p))}}function u(k,p,g,_){const y=g.lookup(k.scopeName);if(!y){if(k.scopeName===p)throw new Error(`No grammar provided for <${p}>`);return}const x=g.lookup(p);k instanceof c?b({baseGrammar:x,selfGrammar:y},_):f(k.ruleName,{baseGrammar:x,selfGrammar:y,repository:y.repository},_);const E=g.injections(k.scopeName);if(E)for(const A of E)_.add(new c(A))}function f(k,p,g){p.repository&&p.repository[k]&&m([p.repository[k]],p,g)}function b(k,p){k.selfGrammar.patterns&&Array.isArray(k.selfGrammar.patterns)&&m(k.selfGrammar.patterns,{...k,repository:k.selfGrammar.repository},p),k.selfGrammar.injections&&m(Object.values(k.selfGrammar.injections),{...k,repository:k.selfGrammar.repository},p)}function m(k,p,g){for(const _ of k){if(g.visitedRule.has(_))continue;g.visitedRule.add(_);const y=_.repository?a.mergeObjects({},p.repository,_.repository):p.repository;Array.isArray(_.patterns)&&m(_.patterns,{...p,repository:y},g);const x=_.include;if(!x)continue;const E=P(x);switch(E.kind){case 0:b({...p,selfGrammar:p.baseGrammar},g);break;case 1:b(p,g);break;case 2:f(E.ruleName,{...p,repository:y},g);break;case 3:case 4:const A=E.scopeName===p.selfGrammar.scopeName?p.selfGrammar:E.scopeName===p.baseGrammar.scopeName?p.baseGrammar:void 0;if(A){const O={baseGrammar:p.baseGrammar,selfGrammar:A,repository:y};E.kind===4?f(E.ruleName,O,g):b(O,g)}else E.kind===4?g.add(new l(E.scopeName,E.ruleName)):g.add(new c(E.scopeName))}}}o.ExternalReferenceCollector=d,o.ScopeDependencyProcessor=class{constructor(k,p){this.repo=k,this.initialScopeName=p,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new c(this.initialScopeName)]}processQueue(){const k=this.Q;this.Q=[];const p=new d;for(const g of k)u(g,this.initialScopeName,this.repo,p);for(const g of p.references)if(g instanceof c){if(this.seenFullScopeRequests.has(g.scopeName))continue;this.seenFullScopeRequests.add(g.scopeName),this.Q.push(g)}else{if(this.seenFullScopeRequests.has(g.scopeName)||this.seenPartialScopeRequests.has(g.toKey()))continue;this.seenPartialScopeRequests.add(g.toKey()),this.Q.push(g)}}};class T{constructor(){this.kind=0}}o.BaseReference=T;class S{constructor(){this.kind=1}}o.SelfReference=S;class w{constructor(p){this.ruleName=p,this.kind=2}}o.RelativeReference=w;class h{constructor(p){this.scopeName=p,this.kind=3}}o.TopLevelReference=h;class v{constructor(p,g){this.scopeName=p,this.ruleName=g,this.kind=4}}function P(k){if(k==="$base")return new T;if(k==="$self")return new S;const p=k.indexOf("#");if(p===-1)return new h(k);if(p===0)return new w(k.substring(1));{const g=k.substring(0,p),_=k.substring(p+1);return new v(g,_)}}o.TopLevelRepositoryReference=v,o.parseInclude=P},391:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(l,d,u,f){f===void 0&&(f=u),Object.defineProperty(l,f,{enumerable:!0,get:function(){return d[u]}})}:function(l,d,u,f){f===void 0&&(f=u),l[f]=d[u]}),c=this&&this.__exportStar||function(l,d){for(var u in l)u==="default"||Object.prototype.hasOwnProperty.call(d,u)||a(d,l,u)};Object.defineProperty(o,"__esModule",{value:!0}),c(i(947),o)},47:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LocalStackElement=o._tokenizeString=void 0;const a=i(350),c=i(44),l=i(792),d=i(878);class u{constructor(v,P){this.stack=v,this.stoppedEarly=P}}function f(h,v,P,k,p,g,_,y){const x=v.content.length;let E=!1,A=-1;if(_){const W=function(z,re,Z,oe,me,_e){let de=me.beginRuleCapturedEOL?0:-1;const ye=[];for(let ve=me;ve;ve=ve.pop()){const j=ve.getRule(z);j instanceof l.BeginWhileRule&&ye.push({rule:j,stack:ve})}for(let ve=ye.pop();ve;ve=ye.pop()){const{ruleScanner:j,findOptions:G}=m(ve.rule,z,ve.stack.endRule,Z,oe===de),N=j.findNextMatchSync(re,oe,G);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(j.toString())),!N){a.DebugFlags.InDebugMode&&console.log(" popping "+ve.rule.debugName+" - "+ve.rule.debugWhileRegExp),me=ve.stack.pop();break}if(N.ruleId!==l.whileRuleId){me=ve.stack.pop();break}N.captureIndices&&N.captureIndices.length&&(_e.produce(ve.stack,N.captureIndices[0].start),S(z,re,Z,ve.stack,_e,ve.rule.whileCaptures,N.captureIndices),_e.produce(ve.stack,N.captureIndices[0].end),de=N.captureIndices[0].end,N.captureIndices[0].end>oe&&(oe=N.captureIndices[0].end,Z=!1))}return{stack:me,linePos:oe,anchorPosition:de,isFirstLine:Z}}(h,v,P,k,p,g);p=W.stack,k=W.linePos,P=W.isFirstLine,A=W.anchorPosition}const O=Date.now();for(;!E;){if(y!==0&&Date.now()-O>y)return new u(p,!0);L()}return new u(p,!1);function L(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${k}: |${v.content.substr(k).replace(/\n$/,"\\n")}|`));const W=function(oe,me,_e,de,ye,ve){const j=function(ge,ce,$,R,I,M){const D=I.getRule(ge),{ruleScanner:V,findOptions:q}=b(D,ge,I.endRule,$,R===M);let H=0;a.DebugFlags.InDebugMode&&(H=d.performanceNow());const U=V.findNextMatchSync(ce,R,q);if(a.DebugFlags.InDebugMode){const F=d.performanceNow()-H;F>5&&console.warn(`Rule ${D.debugName} (${D.id}) matching took ${F} against '${ce}'`),console.log(` scanning for (linePos: ${R}, anchorPosition: ${M})`),console.log(V.toString()),U&&console.log(`matched rule id: ${U.ruleId} from ${U.captureIndices[0].start} to ${U.captureIndices[0].end}`)}return U?{captureIndices:U.captureIndices,matchedRuleId:U.ruleId}:null}(oe,me,_e,de,ye,ve),G=oe.getInjections();if(G.length===0)return j;const N=function(ge,ce,$,R,I,M,D){let V,q=Number.MAX_VALUE,H=null,U=0;const F=M.contentNameScopesList.getScopeNames();for(let Y=0,C=ge.length;Y<C;Y++){const B=ge[Y];if(!B.matcher(F))continue;const X=ce.getRule(B.ruleId),{ruleScanner:ae,findOptions:se}=b(X,ce,null,R,I===D),ee=ae.findNextMatchSync($,I,se);if(!ee)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${B.debugSelector}`),console.log(ae.toString()));const pe=ee.captureIndices[0].start;if(!(pe>=q)&&(q=pe,H=ee.captureIndices,V=ee.ruleId,U=B.priority,q===I))break}return H?{priorityMatch:U===-1,captureIndices:H,matchedRuleId:V}:null}(G,oe,me,_e,de,ye,ve);if(!N)return j;if(!j)return N;const K=j.captureIndices[0].start,J=N.captureIndices[0].start;return J<K||N.priorityMatch&&J===K?N:j}(h,v,P,k,p,A);if(!W)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),g.produce(p,x),void(E=!0);const z=W.captureIndices,re=W.matchedRuleId,Z=!!(z&&z.length>0)&&z[0].end>k;if(re===l.endRuleId){const oe=p.getRule(h);a.DebugFlags.InDebugMode&&console.log(" popping "+oe.debugName+" - "+oe.debugEndRegExp),g.produce(p,z[0].start),p=p.withContentNameScopesList(p.nameScopesList),S(h,v,P,p,g,oe.endCaptures,z),g.produce(p,z[0].end);const me=p;if(p=p.parent,A=me.getAnchorPos(),!Z&&me.getEnterPos()===k)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),p=me,g.produce(p,x),void(E=!0)}else{const oe=h.getRule(re);g.produce(p,z[0].start);const me=p,_e=oe.getName(v.content,z),de=p.contentNameScopesList.pushAttributed(_e,h);if(p=p.push(re,k,A,z[0].end===x,null,de,de),oe instanceof l.BeginEndRule){const ye=oe;a.DebugFlags.InDebugMode&&console.log(" pushing "+ye.debugName+" - "+ye.debugBeginRegExp),S(h,v,P,p,g,ye.beginCaptures,z),g.produce(p,z[0].end),A=z[0].end;const ve=ye.getContentName(v.content,z),j=de.pushAttributed(ve,h);if(p=p.withContentNameScopesList(j),ye.endHasBackReferences&&(p=p.withEndRule(ye.getEndWithResolvedBackReferences(v.content,z))),!Z&&me.hasSameRuleAs(p))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),p=p.pop(),g.produce(p,x),void(E=!0)}else if(oe instanceof l.BeginWhileRule){const ye=oe;a.DebugFlags.InDebugMode&&console.log(" pushing "+ye.debugName),S(h,v,P,p,g,ye.beginCaptures,z),g.produce(p,z[0].end),A=z[0].end;const ve=ye.getContentName(v.content,z),j=de.pushAttributed(ve,h);if(p=p.withContentNameScopesList(j),ye.whileHasBackReferences&&(p=p.withEndRule(ye.getWhileWithResolvedBackReferences(v.content,z))),!Z&&me.hasSameRuleAs(p))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),p=p.pop(),g.produce(p,x),void(E=!0)}else{const ye=oe;if(a.DebugFlags.InDebugMode&&console.log(" matched "+ye.debugName+" - "+ye.debugMatchRegExp),S(h,v,P,p,g,ye.captures,z),g.produce(p,z[0].end),p=p.pop(),!Z)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),p=p.safePop(),g.produce(p,x),void(E=!0)}}z[0].end>k&&(k=z[0].end,P=!1)}}function b(h,v,P,k,p){return a.UseOnigurumaFindOptions?{ruleScanner:h.compile(v,P),findOptions:T(k,p)}:{ruleScanner:h.compileAG(v,P,k,p),findOptions:0}}function m(h,v,P,k,p){return a.UseOnigurumaFindOptions?{ruleScanner:h.compileWhile(v,P),findOptions:T(k,p)}:{ruleScanner:h.compileWhileAG(v,P,k,p),findOptions:0}}function T(h,v){let P=0;return h||(P|=1),v||(P|=4),P}function S(h,v,P,k,p,g,_){if(g.length===0)return;const y=v.content,x=Math.min(g.length,_.length),E=[],A=_[0].end;for(let O=0;O<x;O++){const L=g[O];if(L===null)continue;const W=_[O];if(W.length===0)continue;if(W.start>A)break;for(;E.length>0&&E[E.length-1].endPos<=W.start;)p.produceFromScopes(E[E.length-1].scopes,E[E.length-1].endPos),E.pop();if(E.length>0?p.produceFromScopes(E[E.length-1].scopes,W.start):p.produce(k,W.start),L.retokenizeCapturedWithRuleId){const re=L.getName(y,_),Z=k.contentNameScopesList.pushAttributed(re,h),oe=L.getContentName(y,_),me=Z.pushAttributed(oe,h),_e=k.push(L.retokenizeCapturedWithRuleId,W.start,-1,!1,null,Z,me),de=h.createOnigString(y.substring(0,W.end));f(h,de,P&&W.start===0,W.start,_e,p,!1,0),c.disposeOnigString(de);continue}const z=L.getName(y,_);if(z!==null){const re=(E.length>0?E[E.length-1].scopes:k.contentNameScopesList).pushAttributed(z,h);E.push(new w(re,W.end))}}for(;E.length>0;)p.produceFromScopes(E[E.length-1].scopes,E[E.length-1].endPos),E.pop()}o._tokenizeString=f;class w{constructor(v,P){this.scopes=v,this.endPos=P}}o.LocalStackElement=w},974:(s,o)=>{function i(d,u){throw new Error("Near offset "+d.pos+": "+u+" ~~~"+d.source.substr(d.pos,50)+"~~~")}Object.defineProperty(o,"__esModule",{value:!0}),o.parseJSON=void 0,o.parseJSON=function(d,u,f){let b=new a(d),m=new c,T=0,S=null,w=[],h=[];function v(){w.push(T),h.push(S)}function P(){T=w.pop(),S=h.pop()}function k(p){i(b,p)}for(;l(b,m);){if(T===0){if(S!==null&&k("too many constructs in root"),m.type===3){S={},f&&(S.$vscodeTextmateLocation=m.toLocation(u)),v(),T=1;continue}if(m.type===2){S=[],v(),T=4;continue}k("unexpected token in root")}if(T===2){if(m.type===5){P();continue}if(m.type===7){T=3;continue}k("expected , or }")}if(T===1||T===3){if(T===1&&m.type===5){P();continue}if(m.type===1){let p=m.value;if(l(b,m)&&m.type===6||k("expected colon"),l(b,m)||k("expected value"),T=2,m.type===1){S[p]=m.value;continue}if(m.type===8){S[p]=null;continue}if(m.type===9){S[p]=!0;continue}if(m.type===10){S[p]=!1;continue}if(m.type===11){S[p]=parseFloat(m.value);continue}if(m.type===2){let g=[];S[p]=g,v(),T=4,S=g;continue}if(m.type===3){let g={};f&&(g.$vscodeTextmateLocation=m.toLocation(u)),S[p]=g,v(),T=1,S=g;continue}}k("unexpected token in dict")}if(T===5){if(m.type===4){P();continue}if(m.type===7){T=6;continue}k("expected , or ]")}if(T===4||T===6){if(T===4&&m.type===4){P();continue}if(T=5,m.type===1){S.push(m.value);continue}if(m.type===8){S.push(null);continue}if(m.type===9){S.push(!0);continue}if(m.type===10){S.push(!1);continue}if(m.type===11){S.push(parseFloat(m.value));continue}if(m.type===2){let p=[];S.push(p),v(),T=4,S=p;continue}if(m.type===3){let p={};f&&(p.$vscodeTextmateLocation=m.toLocation(u)),S.push(p),v(),T=1,S=p;continue}k("unexpected token in array")}k("unknown state")}return h.length!==0&&k("unclosed constructs"),S};class a{constructor(u){this.source=u,this.pos=0,this.len=u.length,this.line=1,this.char=0}}class c{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(u){return{filename:u,line:this.line,char:this.char}}}function l(d,u){u.value=null,u.type=0,u.offset=-1,u.len=-1,u.line=-1,u.char=-1;let f,b=d.source,m=d.pos,T=d.len,S=d.line,w=d.char;for(;;){if(m>=T)return!1;if(f=b.charCodeAt(m),f!==32&&f!==9&&f!==13){if(f!==10)break;m++,S++,w=0}else m++,w++}if(u.offset=m,u.line=S,u.char=w,f===34){for(u.type=1,m++,w++;;){if(m>=T)return!1;if(f=b.charCodeAt(m),m++,w++,f!==92){if(f===34)break}else m++,w++}u.value=b.substring(u.offset+1,m-1).replace(/\\u([0-9A-Fa-f]{4})/g,(h,v)=>String.fromCodePoint(parseInt(v,16))).replace(/\\(.)/g,(h,v)=>{switch(v){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
9
- `;case"r":return"\r";case"t":return" ";default:i(d,"invalid escape sequence")}throw new Error("unreachable")})}else if(f===91)u.type=2,m++,w++;else if(f===123)u.type=3,m++,w++;else if(f===93)u.type=4,m++,w++;else if(f===125)u.type=5,m++,w++;else if(f===58)u.type=6,m++,w++;else if(f===44)u.type=7,m++,w++;else if(f===110){if(u.type=8,m++,w++,f=b.charCodeAt(m),f!==117||(m++,w++,f=b.charCodeAt(m),f!==108)||(m++,w++,f=b.charCodeAt(m),f!==108))return!1;m++,w++}else if(f===116){if(u.type=9,m++,w++,f=b.charCodeAt(m),f!==114||(m++,w++,f=b.charCodeAt(m),f!==117)||(m++,w++,f=b.charCodeAt(m),f!==101))return!1;m++,w++}else if(f===102){if(u.type=10,m++,w++,f=b.charCodeAt(m),f!==97||(m++,w++,f=b.charCodeAt(m),f!==108)||(m++,w++,f=b.charCodeAt(m),f!==115)||(m++,w++,f=b.charCodeAt(m),f!==101))return!1;m++,w++}else for(u.type=11;;){if(m>=T)return!1;if(f=b.charCodeAt(m),!(f===46||f>=48&&f<=57||f===101||f===69||f===45||f===43))break;m++,w++}return u.len=m-u.offset,u.value===null&&(u.value=b.substr(u.offset,u.len)),d.pos=m,d.line=S,d.char=w,!0}},787:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(m,T,S,w){w===void 0&&(w=S),Object.defineProperty(m,w,{enumerable:!0,get:function(){return T[S]}})}:function(m,T,S,w){w===void 0&&(w=S),m[w]=T[S]}),c=this&&this.__exportStar||function(m,T){for(var S in m)S==="default"||Object.prototype.hasOwnProperty.call(T,S)||a(T,m,S)};Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=o.INITIAL=o.Registry=void 0;const l=i(391),d=i(50),u=i(652),f=i(583),b=i(965);c(i(44),o),o.Registry=class{constructor(m){this._options=m,this._syncRegistry=new u.SyncRegistry(f.Theme.createFromRawTheme(m.theme,m.colorMap),m.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(m,T){this._syncRegistry.setTheme(f.Theme.createFromRawTheme(m,T))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(m,T,S){return this.loadGrammarWithConfiguration(m,T,{embeddedLanguages:S})}loadGrammarWithConfiguration(m,T,S){return this._loadGrammar(m,T,S.embeddedLanguages,S.tokenTypes,new l.BalancedBracketSelectors(S.balancedBracketSelectors||[],S.unbalancedBracketSelectors||[]))}loadGrammar(m){return this._loadGrammar(m,0,null,null,null)}async _loadGrammar(m,T,S,w,h){const v=new b.ScopeDependencyProcessor(this._syncRegistry,m);for(;v.Q.length>0;)await Promise.all(v.Q.map(P=>this._loadSingleGrammar(P.scopeName))),v.processQueue();return this._grammarForScopeName(m,T,S,w,h)}async _loadSingleGrammar(m){return this._ensureGrammarCache.has(m)||this._ensureGrammarCache.set(m,this._doLoadSingleGrammar(m)),this._ensureGrammarCache.get(m)}async _doLoadSingleGrammar(m){const T=await this._options.loadGrammar(m);if(T){const S=typeof this._options.getInjections=="function"?this._options.getInjections(m):void 0;this._syncRegistry.addGrammar(T,S)}}async addGrammar(m,T=[],S=0,w=null){return this._syncRegistry.addGrammar(m,T),await this._grammarForScopeName(m.scopeName,S,w)}_grammarForScopeName(m,T=0,S=null,w=null,h=null){return this._syncRegistry.grammarForScopeName(m,T,S,w,h)}},o.INITIAL=l.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,c){const l=[],d=function(m){let T=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,S=T.exec(m);return{next:()=>{if(!S)return null;const w=S[0];return S=T.exec(m),w}}}(a);let u=d.next();for(;u!==null;){let m=0;if(u.length===2&&u.charAt(1)===":"){switch(u.charAt(0)){case"R":m=1;break;case"L":m=-1;break;default:console.log(`Unknown priority ${u} in scope selector`)}u=d.next()}let T=b();if(l.push({matcher:T,priority:m}),u!==",")break;u=d.next()}return l;function f(){if(u==="-"){u=d.next();const m=f();return T=>!!m&&!m(T)}if(u==="("){u=d.next();const m=function(){const T=[];let S=b();for(;S&&(T.push(S),u==="|"||u===",");){do u=d.next();while(u==="|"||u===",");S=b()}return w=>T.some(h=>h(w))}();return u===")"&&(u=d.next()),m}if(i(u)){const m=[];do m.push(u),u=d.next();while(i(u));return T=>c(m,T)}return null}function b(){const m=[];let T=f();for(;T;)m.push(T),T=f();return S=>m.every(w=>w(S))}}},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),c=i(350),l=i(974);o.parseRawGrammar=function(d,u=null){return u!==null&&/\.json$/.test(u)?(f=d,b=u,c.DebugFlags.InDebugMode?l.parseJSON(f,b,!0):JSON.parse(f)):function(m,T){return c.DebugFlags.InDebugMode?a.parseWithLocation(m,T,"$vscodeTextmateLocation"):a.parsePLIST(m)}(d,u);var f,b}},69:(s,o)=>{function i(a,c,l){const d=a.length;let u=0,f=1,b=0;function m(N){if(l===null)u+=N;else for(;N>0;)a.charCodeAt(u)===10?(u++,f++,b=0):(u++,b++),N--}function T(N){l===null?u=N:m(N-u)}function S(){for(;u<d;){let N=a.charCodeAt(u);if(N!==32&&N!==9&&N!==13&&N!==10)break;m(1)}}function w(N){return a.substr(u,N.length)===N&&(m(N.length),!0)}function h(N){let K=a.indexOf(N,u);T(K!==-1?K+N.length:d)}function v(N){let K=a.indexOf(N,u);if(K!==-1){let J=a.substring(u,K);return T(K+N.length),J}{let J=a.substr(u);return T(d),J}}d>0&&a.charCodeAt(0)===65279&&(u=1);let P=0,k=null,p=[],g=[],_=null;function y(N,K){p.push(P),g.push(k),P=N,k=K}function x(){if(p.length===0)return E("illegal state stack");P=p.pop(),k=g.pop()}function E(N){throw new Error("Near offset "+u+": "+N+" ~~~"+a.substr(u,50)+"~~~")}const A=function(){if(_===null)return E("missing <key>");let N={};l!==null&&(N[l]={filename:c,line:f,char:b}),k[_]=N,_=null,y(1,N)},O=function(){if(_===null)return E("missing <key>");let N=[];k[_]=N,_=null,y(2,N)},L=function(){let N={};l!==null&&(N[l]={filename:c,line:f,char:b}),k.push(N),y(1,N)},W=function(){let N=[];k.push(N),y(2,N)};function z(){if(P!==1)return E("unexpected </dict>");x()}function re(){return P===1||P!==2?E("unexpected </array>"):void x()}function Z(N){if(P===1){if(_===null)return E("missing <key>");k[_]=N,_=null}else P===2?k.push(N):k=N}function oe(N){if(isNaN(N))return E("cannot parse float");if(P===1){if(_===null)return E("missing <key>");k[_]=N,_=null}else P===2?k.push(N):k=N}function me(N){if(isNaN(N))return E("cannot parse integer");if(P===1){if(_===null)return E("missing <key>");k[_]=N,_=null}else P===2?k.push(N):k=N}function _e(N){if(P===1){if(_===null)return E("missing <key>");k[_]=N,_=null}else P===2?k.push(N):k=N}function de(N){if(P===1){if(_===null)return E("missing <key>");k[_]=N,_=null}else P===2?k.push(N):k=N}function ye(N){if(P===1){if(_===null)return E("missing <key>");k[_]=N,_=null}else P===2?k.push(N):k=N}function ve(){let N=v(">"),K=!1;return N.charCodeAt(N.length-1)===47&&(K=!0,N=N.substring(0,N.length-1)),{name:N.trim(),isClosed:K}}function j(N){if(N.isClosed)return"";let K=v("</");return h(">"),K.replace(/&#([0-9]+);/g,function(J,ge){return String.fromCodePoint(parseInt(ge,10))}).replace(/&#x([0-9a-f]+);/g,function(J,ge){return String.fromCodePoint(parseInt(ge,16))}).replace(/&amp;|&lt;|&gt;|&quot;|&apos;/g,function(J){switch(J){case"&amp;":return"&";case"&lt;":return"<";case"&gt;":return">";case"&quot;":return'"';case"&apos;":return"'"}return J})}for(;u<d&&(S(),!(u>=d));){const N=a.charCodeAt(u);if(m(1),N!==60)return E("expected <");if(u>=d)return E("unexpected end of input");const K=a.charCodeAt(u);if(K===63){m(1),h("?>");continue}if(K===33){if(m(1),w("--")){h("-->");continue}h(">");continue}if(K===47){if(m(1),S(),w("plist")){h(">");continue}if(w("dict")){h(">"),z();continue}if(w("array")){h(">"),re();continue}return E("unexpected closed tag")}let J=ve();switch(J.name){case"dict":P===1?A():P===2?L():(k={},l!==null&&(k[l]={filename:c,line:f,char:b}),y(1,k)),J.isClosed&&z();continue;case"array":P===1?O():P===2?W():(k=[],y(2,k)),J.isClosed&&re();continue;case"key":G=j(J),P!==1?E("unexpected <key>"):_!==null?E("too many <key>"):_=G;continue;case"string":Z(j(J));continue;case"real":oe(parseFloat(j(J)));continue;case"integer":me(parseInt(j(J),10));continue;case"date":_e(new Date(j(J)));continue;case"data":de(j(J));continue;case"true":j(J),ye(!0);continue;case"false":j(J),ye(!1);continue}if(!/^plist/.test(J.name))return E("unexpected opened tag "+J.name)}var G;return k}Object.defineProperty(o,"__esModule",{value:!0}),o.parsePLIST=o.parseWithLocation=void 0,o.parseWithLocation=function(a,c,l){return i(a,c,l)},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(c,l){this._onigLibPromise=l,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=c}dispose(){for(const c of this._grammars.values())c.dispose()}setTheme(c){this._theme=c}getColorMap(){return this._theme.getColorMap()}addGrammar(c,l){this._rawGrammars.set(c.scopeName,c),l&&this._injectionGrammars.set(c.scopeName,l)}lookup(c){return this._rawGrammars.get(c)}injections(c){return this._injectionGrammars.get(c)}getDefaults(){return this._theme.getDefaults()}themeMatch(c){return this._theme.match(c)}async grammarForScopeName(c,l,d,u,f){if(!this._grammars.has(c)){let b=this._rawGrammars.get(c);if(!b)return null;this._grammars.set(c,a.createGrammar(c,b,l,d,u,f,this,await this._onigLibPromise))}return this._grammars.get(c)}}},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),c=i(965),l=/\\(\d+)/,d=/\\(\d+)/g;o.endRuleId=-1,o.whileRuleId=-2,o.ruleIdFromNumber=function(k){return k},o.ruleIdToNumber=function(k){return k};class u{constructor(p,g,_,y){this.$location=p,this.id=g,this._name=_||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=y||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const p=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${p}`}getName(p,g){return this._nameIsCapturing&&this._name!==null&&p!==null&&g!==null?a.RegexSource.replaceCaptures(this._name,p,g):this._name}getContentName(p,g){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,p,g):this._contentName}}o.Rule=u;class f extends u{constructor(p,g,_,y,x){super(p,g,_,y),this.retokenizeCapturedWithRuleId=x}dispose(){}collectPatterns(p,g){throw new Error("Not supported!")}compile(p,g){throw new Error("Not supported!")}compileAG(p,g,_,y){throw new Error("Not supported!")}}o.CaptureRule=f;class b extends u{constructor(p,g,_,y,x){super(p,g,_,null),this._match=new h(y,this.id),this.captures=x,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(p,g){g.push(this._match)}compile(p,g){return this._getCachedCompiledPatterns(p).compile(p)}compileAG(p,g,_,y){return this._getCachedCompiledPatterns(p).compileAG(p,_,y)}_getCachedCompiledPatterns(p){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new v,this.collectPatterns(p,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.MatchRule=b;class m extends u{constructor(p,g,_,y,x){super(p,g,_,y),this.patterns=x.patterns,this.hasMissingPatterns=x.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(p,g){for(const _ of this.patterns)p.getRule(_).collectPatterns(p,g)}compile(p,g){return this._getCachedCompiledPatterns(p).compile(p)}compileAG(p,g,_,y){return this._getCachedCompiledPatterns(p).compileAG(p,_,y)}_getCachedCompiledPatterns(p){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new v,this.collectPatterns(p,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.IncludeOnlyRule=m;class T extends u{constructor(p,g,_,y,x,E,A,O,L,W){super(p,g,_,y),this._begin=new h(x,this.id),this.beginCaptures=E,this._end=new h(A||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=O,this.applyEndPatternLast=L||!1,this.patterns=W.patterns,this.hasMissingPatterns=W.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(p,g){return this._end.resolveBackReferences(p,g)}collectPatterns(p,g){g.push(this._begin)}compile(p,g){return this._getCachedCompiledPatterns(p,g).compile(p)}compileAG(p,g,_,y){return this._getCachedCompiledPatterns(p,g).compileAG(p,_,y)}_getCachedCompiledPatterns(p,g){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new v;for(const _ of this.patterns)p.getRule(_).collectPatterns(p,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,g):this._cachedCompiledPatterns.setSource(0,g)),this._cachedCompiledPatterns}}o.BeginEndRule=T;class S extends u{constructor(p,g,_,y,x,E,A,O,L){super(p,g,_,y),this._begin=new h(x,this.id),this.beginCaptures=E,this.whileCaptures=O,this._while=new h(A,o.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=L.patterns,this.hasMissingPatterns=L.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(p,g){return this._while.resolveBackReferences(p,g)}collectPatterns(p,g){g.push(this._begin)}compile(p,g){return this._getCachedCompiledPatterns(p).compile(p)}compileAG(p,g,_,y){return this._getCachedCompiledPatterns(p).compileAG(p,_,y)}_getCachedCompiledPatterns(p){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new v;for(const g of this.patterns)p.getRule(g).collectPatterns(p,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(p,g){return this._getCachedCompiledWhilePatterns(p,g).compile(p)}compileWhileAG(p,g,_,y){return this._getCachedCompiledWhilePatterns(p,g).compileAG(p,_,y)}_getCachedCompiledWhilePatterns(p,g){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new v,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,g||"￿"),this._cachedCompiledWhilePatterns}}o.BeginWhileRule=S;class w{static createCaptureRule(p,g,_,y,x){return p.registerRule(E=>new f(g,E,_,y,x))}static getCompiledRuleId(p,g,_){return p.id||g.registerRule(y=>{if(p.id=y,p.match)return new b(p.$vscodeTextmateLocation,p.id,p.name,p.match,w._compileCaptures(p.captures,g,_));if(p.begin===void 0){p.repository&&(_=a.mergeObjects({},_,p.repository));let x=p.patterns;return x===void 0&&p.include&&(x=[{include:p.include}]),new m(p.$vscodeTextmateLocation,p.id,p.name,p.contentName,w._compilePatterns(x,g,_))}return p.while?new S(p.$vscodeTextmateLocation,p.id,p.name,p.contentName,p.begin,w._compileCaptures(p.beginCaptures||p.captures,g,_),p.while,w._compileCaptures(p.whileCaptures||p.captures,g,_),w._compilePatterns(p.patterns,g,_)):new T(p.$vscodeTextmateLocation,p.id,p.name,p.contentName,p.begin,w._compileCaptures(p.beginCaptures||p.captures,g,_),p.end,w._compileCaptures(p.endCaptures||p.captures,g,_),p.applyEndPatternLast,w._compilePatterns(p.patterns,g,_))}),p.id}static _compileCaptures(p,g,_){let y=[];if(p){let x=0;for(const E in p){if(E==="$vscodeTextmateLocation")continue;const A=parseInt(E,10);A>x&&(x=A)}for(let E=0;E<=x;E++)y[E]=null;for(const E in p){if(E==="$vscodeTextmateLocation")continue;const A=parseInt(E,10);let O=0;p[E].patterns&&(O=w.getCompiledRuleId(p[E],g,_)),y[A]=w.createCaptureRule(g,p[E].$vscodeTextmateLocation,p[E].name,p[E].contentName,O)}}return y}static _compilePatterns(p,g,_){let y=[];if(p)for(let x=0,E=p.length;x<E;x++){const A=p[x];let O=-1;if(A.include){const L=c.parseInclude(A.include);switch(L.kind){case 0:case 1:O=w.getCompiledRuleId(_[A.include],g,_);break;case 2:let W=_[L.ruleName];W&&(O=w.getCompiledRuleId(W,g,_));break;case 3:case 4:const z=L.scopeName,re=L.kind===4?L.ruleName:null,Z=g.getExternalGrammar(z,_);if(Z)if(re){let oe=Z.repository[re];oe&&(O=w.getCompiledRuleId(oe,g,Z.repository))}else O=w.getCompiledRuleId(Z.repository.$self,g,Z.repository)}}else O=w.getCompiledRuleId(A,g,_);if(O!==-1){const L=g.getRule(O);let W=!1;if((L instanceof m||L instanceof T||L instanceof S)&&L.hasMissingPatterns&&L.patterns.length===0&&(W=!0),W)continue;y.push(O)}}return{patterns:y,hasMissingPatterns:(p?p.length:0)!==y.length}}}o.RuleFactory=w;class h{constructor(p,g){if(p){const _=p.length;let y=0,x=[],E=!1;for(let A=0;A<_;A++)if(p.charAt(A)==="\\"&&A+1<_){const O=p.charAt(A+1);O==="z"?(x.push(p.substring(y,A)),x.push("$(?!\\n)(?<!\\n)"),y=A+2):O!=="A"&&O!=="G"||(E=!0),A++}this.hasAnchor=E,y===0?this.source=p:(x.push(p.substring(y,_)),this.source=x.join(""))}else this.hasAnchor=!1,this.source=p;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=g,this.hasBackReferences=l.test(this.source)}clone(){return new h(this.source,this.ruleId)}setSource(p){this.source!==p&&(this.source=p,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(p,g){let _=g.map(y=>p.substring(y.start,y.end));return d.lastIndex=0,this.source.replace(d,(y,x)=>a.escapeRegExpCharacters(_[parseInt(x,10)]||""))}_buildAnchorCache(){let p,g,_,y,x=[],E=[],A=[],O=[];for(p=0,g=this.source.length;p<g;p++)_=this.source.charAt(p),x[p]=_,E[p]=_,A[p]=_,O[p]=_,_==="\\"&&p+1<g&&(y=this.source.charAt(p+1),y==="A"?(x[p+1]="￿",E[p+1]="￿",A[p+1]="A",O[p+1]="A"):y==="G"?(x[p+1]="￿",E[p+1]="G",A[p+1]="￿",O[p+1]="G"):(x[p+1]=y,E[p+1]=y,A[p+1]=y,O[p+1]=y),p++);return{A0_G0:x.join(""),A0_G1:E.join(""),A1_G0:A.join(""),A1_G1:O.join("")}}resolveAnchors(p,g){return this.hasAnchor&&this._anchorCache?p?g?this._anchorCache.A1_G1:this._anchorCache.A1_G0:g?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}o.RegExpSource=h;class v{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(p){this._items.push(p),this._hasAnchors=this._hasAnchors||p.hasAnchor}unshift(p){this._items.unshift(p),this._hasAnchors=this._hasAnchors||p.hasAnchor}length(){return this._items.length}setSource(p,g){this._items[p].source!==g&&(this._disposeCaches(),this._items[p].setSource(g))}compile(p){if(!this._cached){let g=this._items.map(_=>_.source);this._cached=new P(p,g,this._items.map(_=>_.ruleId))}return this._cached}compileAG(p,g,_){return this._hasAnchors?g?_?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(p,g,_)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(p,g,_)),this._anchorCache.A1_G0):_?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(p,g,_)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(p,g,_)),this._anchorCache.A0_G0):this.compile(p)}_resolveAnchors(p,g,_){let y=this._items.map(x=>x.resolveAnchors(g,_));return new P(p,y,this._items.map(x=>x.ruleId))}}o.RegExpSourceList=v;class P{constructor(p,g,_){this.regExps=g,this.rules=_,this.scanner=p.createOnigScanner(g)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const p=[];for(let g=0,_=this.rules.length;g<_;g++)p.push(" - "+this.rules[g]+": "+this.regExps[g]);return p.join(`
10
- `)}findNextMatchSync(p,g,_){const y=this.scanner.findNextMatchSync(p,g,_);return y?{ruleId:this.rules[y.index],captureIndices:y.captureIndices}:null}}o.CompiledRule=P},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 c{constructor(h,v,P){this._colorMap=h,this._defaults=v,this._root=P,this._cachedMatchRoot=new a.CachedFn(k=>this._root.match(k))}static createFromRawTheme(h,v){return this.createFromParsedTheme(f(h),v)}static createFromParsedTheme(h,v){return function(P,k){P.sort((A,O)=>{let L=a.strcmp(A.scope,O.scope);return L!==0?L:(L=a.strArrCmp(A.parentScopes,O.parentScopes),L!==0?L:A.index-O.index)});let p=0,g="#000000",_="#ffffff";for(;P.length>=1&&P[0].scope==="";){let A=P.shift();A.fontStyle!==-1&&(p=A.fontStyle),A.foreground!==null&&(g=A.foreground),A.background!==null&&(_=A.background)}let y=new m(k),x=new u(p,y.getId(g),y.getId(_)),E=new S(new T(0,null,-1,0,0),[]);for(let A=0,O=P.length;A<O;A++){let L=P[A];E.insert(0,L.scope,L.parentScopes,L.fontStyle,y.getId(L.foreground),y.getId(L.background))}return new c(y,x,E)}(h,v)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(h){if(h===null)return this._defaults;const v=h.scopeName,P=this._cachedMatchRoot.get(v).find(k=>function(p,g){if(g===null)return!0;let _=0,y=g[_];for(;p;){if(d(p.scopeName,y)){if(_++,_===g.length)return!0;y=g[_]}p=p.parent}return!1}(h.parent,k.parentScopes));return P?new u(P.fontStyle,P.foreground,P.background):null}}o.Theme=c;class l{constructor(h,v){this.parent=h,this.scopeName=v}static from(...h){let v=null;for(let P=0;P<h.length;P++)v=new l(v,h[P]);return v}push(h){return new l(this,h)}getSegments(){let h=this;const v=[];for(;h;)v.push(h.scopeName),h=h.parent;return v.reverse(),v}toString(){return this.getSegments().join(" ")}}function d(w,h){return h===w||w.startsWith(h)&&w[h.length]==="."}o.ScopeStack=l;class u{constructor(h,v,P){this.fontStyle=h,this.foregroundId=v,this.backgroundId=P}}function f(w){if(!w)return[];if(!w.settings||!Array.isArray(w.settings))return[];let h=w.settings,v=[],P=0;for(let k=0,p=h.length;k<p;k++){let g,_=h[k];if(!_.settings)continue;if(typeof _.scope=="string"){let A=_.scope;A=A.replace(/^[,]+/,""),A=A.replace(/[,]+$/,""),g=A.split(",")}else g=Array.isArray(_.scope)?_.scope:[""];let y=-1;if(typeof _.settings.fontStyle=="string"){y=0;let A=_.settings.fontStyle.split(" ");for(let O=0,L=A.length;O<L;O++)switch(A[O]){case"italic":y|=1;break;case"bold":y|=2;break;case"underline":y|=4;break;case"strikethrough":y|=8}}let x=null;typeof _.settings.foreground=="string"&&a.isValidHexColor(_.settings.foreground)&&(x=_.settings.foreground);let E=null;typeof _.settings.background=="string"&&a.isValidHexColor(_.settings.background)&&(E=_.settings.background);for(let A=0,O=g.length;A<O;A++){let L=g[A].trim().split(" "),W=L[L.length-1],z=null;L.length>1&&(z=L.slice(0,L.length-1),z.reverse()),v[P++]=new b(W,z,k,y,x,E)}}return v}o.StyleAttributes=u,o.parseTheme=f;class b{constructor(h,v,P,k,p,g){this.scope=h,this.parentScopes=v,this.index=P,this.fontStyle=k,this.foreground=p,this.background=g}}o.ParsedThemeRule=b,o.fontStyleToString=function(w){if(w===-1)return"not set";let h="";return 1&w&&(h+="italic "),2&w&&(h+="bold "),4&w&&(h+="underline "),8&w&&(h+="strikethrough "),h===""&&(h="none"),h.trim()};class m{constructor(h){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(h)){this._isFrozen=!0;for(let v=0,P=h.length;v<P;v++)this._color2id[h[v]]=v,this._id2color[v]=h[v]}else this._isFrozen=!1}getId(h){if(h===null)return 0;h=h.toUpperCase();let v=this._color2id[h];if(v)return v;if(this._isFrozen)throw new Error(`Missing color in color map - ${h}`);return v=++this._lastColorId,this._color2id[h]=v,this._id2color[v]=h,v}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=m;class T{constructor(h,v,P,k,p){this.scopeDepth=h,this.parentScopes=v,this.fontStyle=P,this.foreground=k,this.background=p}clone(){return new T(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(h){let v=[];for(let P=0,k=h.length;P<k;P++)v[P]=h[P].clone();return v}acceptOverwrite(h,v,P,k){this.scopeDepth>h?console.log("how did this happen?"):this.scopeDepth=h,v!==-1&&(this.fontStyle=v),P!==0&&(this.foreground=P),k!==0&&(this.background=k)}}o.ThemeTrieElementRule=T;class S{constructor(h,v=[],P={}){this._mainRule=h,this._children=P,this._rulesWithParentScopes=v}static _sortBySpecificity(h){return h.length===1||h.sort(this._cmpBySpecificity),h}static _cmpBySpecificity(h,v){if(h.scopeDepth===v.scopeDepth){const P=h.parentScopes,k=v.parentScopes;let p=P===null?0:P.length,g=k===null?0:k.length;if(p===g)for(let _=0;_<p;_++){const y=P[_].length,x=k[_].length;if(y!==x)return x-y}return g-p}return v.scopeDepth-h.scopeDepth}match(h){if(h==="")return S._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let v,P,k=h.indexOf(".");return k===-1?(v=h,P=""):(v=h.substring(0,k),P=h.substring(k+1)),this._children.hasOwnProperty(v)?this._children[v].match(P):S._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(h,v,P,k,p,g){if(v==="")return void this._doInsertHere(h,P,k,p,g);let _,y,x,E=v.indexOf(".");E===-1?(_=v,y=""):(_=v.substring(0,E),y=v.substring(E+1)),this._children.hasOwnProperty(_)?x=this._children[_]:(x=new S(this._mainRule.clone(),T.cloneArr(this._rulesWithParentScopes)),this._children[_]=x),x.insert(h+1,y,P,k,p,g)}_doInsertHere(h,v,P,k,p){if(v!==null){for(let g=0,_=this._rulesWithParentScopes.length;g<_;g++){let y=this._rulesWithParentScopes[g];if(a.strArrCmp(y.parentScopes,v)===0)return void y.acceptOverwrite(h,P,k,p)}P===-1&&(P=this._mainRule.fontStyle),k===0&&(k=this._mainRule.foreground),p===0&&(p=this._mainRule.background),this._rulesWithParentScopes.push(new T(h,v,P,k,p))}else this._mainRule.acceptOverwrite(h,P,k,p)}}o.ThemeTrieElement=S},878:(s,o)=>{function i(l){return Array.isArray(l)?function(d){let u=[];for(let f=0,b=d.length;f<b;f++)u[f]=i(d[f]);return u}(l):typeof l=="object"?function(d){let u={};for(let f in d)u[f]=i(d[f]);return u}(l):l}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(l){return i(l)},o.mergeObjects=function(l,...d){return d.forEach(u=>{for(let f in u)l[f]=u[f]}),l},o.basename=function l(d){const u=~d.lastIndexOf("/")||~d.lastIndexOf("\\");return u===0?d:~u==d.length-1?l(d.substring(0,d.length-1)):d.substr(1+~u)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function c(l,d){return l<d?-1:l>d?1:0}o.RegexSource=class{static hasCaptures(l){return l!==null&&(a.lastIndex=0,a.test(l))}static replaceCaptures(l,d,u){return l.replace(a,(f,b,m,T)=>{let S=u[parseInt(b||m,10)];if(!S)return f;{let w=d.substring(S.start,S.end);for(;w[0]===".";)w=w.substring(1);switch(T){case"downcase":return w.toLowerCase();case"upcase":return w.toUpperCase();default:return w}}})}},o.strcmp=c,o.strArrCmp=function(l,d){if(l===null&&d===null)return 0;if(!l)return-1;if(!d)return 1;let u=l.length,f=d.length;if(u===f){for(let b=0;b<u;b++){let m=c(l[b],d[b]);if(m!==0)return m}return 0}return u-f},o.isValidHexColor=function(l){return!!(/^#[0-9a-f]{6}$/i.test(l)||/^#[0-9a-f]{8}$/i.test(l)||/^#[0-9a-f]{3}$/i.test(l)||/^#[0-9a-f]{4}$/i.test(l))},o.escapeRegExpCharacters=function(l){return l.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},o.CachedFn=class{constructor(l){this.fn=l,this.cache=new Map}get(l){if(this.cache.has(l))return this.cache.get(l);const d=this.fn(l);return this.cache.set(l,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)})()})})(fb);const Ro=[{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 Cs=(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))(Cs||{});class Je{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=Je.getLanguageId(t),r=Je.getTokenType(t),s=Je.getFontStyle(t),o=Je.getForeground(t),i=Je.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=Je.getLanguageId(t),c=Je.getTokenType(t),l=Je.getFontStyle(t),d=Je.getForeground(t),u=Je.getBackground(t),f=Je.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(c=r===8?0:r),s!==-1&&(l=s),o!==0&&(d=o),i!==0&&(u=i),(a<<0|c<<8|l<<11|f<<10|d<<15|u<<24)>>>0}}function db(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function pb(e){return e.startsWith("./")?e.slice(2):e}function ad(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function ld(...e){return e.map(db).map(pb).join("/")}function hb(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 mb(e,t=!1){const n=e.length;let r=0,s="",o=0,i=16,a=0,c=0,l=0,d=0,u=0;function f(v,P){let k=0,p=0;for(;k<v||!P;){let g=e.charCodeAt(r);if(g>=48&&g<=57)p=p*16+g-48;else if(g>=65&&g<=70)p=p*16+g-65+10;else if(g>=97&&g<=102)p=p*16+g-97+10;else break;r++,k++}return k<v&&(p=-1),p}function b(v){r=v,s="",o=0,i=16,u=0}function m(){let v=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&En(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&En(e.charCodeAt(r)))for(r++;r<e.length&&En(e.charCodeAt(r));)r++;else return u=3,e.substring(v,r);let P=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&&En(e.charCodeAt(r))){for(r++;r<e.length&&En(e.charCodeAt(r));)r++;P=r}else u=3;return e.substring(v,P)}function T(){let v="",P=r;for(;;){if(r>=n){v+=e.substring(P,r),u=2;break}const k=e.charCodeAt(r);if(k===34){v+=e.substring(P,r),r++;break}if(k===92){if(v+=e.substring(P,r),r++,r>=n){u=2;break}switch(e.charCodeAt(r++)){case 34:v+='"';break;case 92:v+="\\";break;case 47:v+="/";break;case 98:v+="\b";break;case 102:v+="\f";break;case 110:v+=`
11
- `;break;case 114:v+="\r";break;case 116:v+=" ";break;case 117:const g=f(4,!0);g>=0?v+=String.fromCharCode(g):u=4;break;default:u=5}P=r;continue}if(k>=0&&k<=31)if(wr(k)){v+=e.substring(P,r),u=2;break}else u=6;r++}return v}function S(){if(s="",u=0,o=r,c=a,d=l,r>=n)return o=n,i=17;let v=e.charCodeAt(r);if(si(v)){do r++,s+=String.fromCharCode(v),v=e.charCodeAt(r);while(si(v));return i=15}if(wr(v))return r++,s+=String.fromCharCode(v),v===13&&e.charCodeAt(r)===10&&(r++,s+=`
12
- `),a++,l=r,i=14;switch(v){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=T(),i=10;case 47:const P=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!wr(e.charCodeAt(r));)r++;return s=e.substring(P,r),i=12}if(e.charCodeAt(r+1)===42){r+=2;const k=n-1;let p=!1;for(;r<k;){const g=e.charCodeAt(r);if(g===42&&e.charCodeAt(r+1)===47){r+=2,p=!0;break}r++,wr(g)&&(g===13&&e.charCodeAt(r)===10&&r++,a++,l=r)}return p||(r++,u=1),s=e.substring(P,r),i=13}return s+=String.fromCharCode(v),r++,i=16;case 45:if(s+=String.fromCharCode(v),r++,r===n||!En(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+=m(),i=11;default:for(;r<n&&w(v);)r++,v=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(v),r++,i=16}}function w(v){if(si(v)||wr(v))return!1;switch(v){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function h(){let v;do v=S();while(v>=12&&v<=15);return v}return{setPosition:b,getPosition:()=>r,scan:t?h:S,getToken:()=>i,getTokenValue:()=>s,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>c,getTokenStartCharacter:()=>o-d,getTokenError:()=>u}}function si(e){return e===32||e===9}function wr(e){return e===10||e===13}function En(e){return e>=48&&e<=57}var Zl;(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"})(Zl||(Zl={}));var Qs;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Qs||(Qs={}));function gb(e,t=[],n=Qs.DEFAULT){let r=null,s=[];const o=[];function i(c){Array.isArray(s)?s.push(c):r!==null&&(s[r]=c)}return _b(e,{onObjectBegin:()=>{const c={};i(c),o.push(s),s=c,r=null},onObjectProperty:c=>{r=c},onObjectEnd:()=>{s=o.pop()},onArrayBegin:()=>{const c=[];i(c),o.push(s),s=c,r=null},onArrayEnd:()=>{s=o.pop()},onLiteralValue:i,onError:(c,l,d)=>{t.push({error:c,offset:l,length:d})}},n),s[0]}function _b(e,t,n=Qs.DEFAULT){const r=mb(e,!1),s=[];function o(A){return A?()=>A(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function i(A){return A?()=>A(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>s.slice()):()=>!0}function a(A){return A?O=>A(O,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function c(A){return A?O=>A(O,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>s.slice()):()=>!0}const l=i(t.onObjectBegin),d=c(t.onObjectProperty),u=o(t.onObjectEnd),f=i(t.onArrayBegin),b=o(t.onArrayEnd),m=c(t.onLiteralValue),T=a(t.onSeparator),S=o(t.onComment),w=a(t.onError),h=n&&n.disallowComments,v=n&&n.allowTrailingComma;function P(){for(;;){const A=r.scan();switch(r.getTokenError()){case 4:k(14);break;case 5:k(15);break;case 3:k(13);break;case 1:h||k(11);break;case 2:k(12);break;case 6:k(16);break}switch(A){case 12:case 13:h?k(10):S();break;case 16:k(1);break;case 15:case 14:break;default:return A}}}function k(A,O=[],L=[]){if(w(A),O.length+L.length>0){let W=r.getToken();for(;W!==17;){if(O.indexOf(W)!==-1){P();break}else if(L.indexOf(W)!==-1)break;W=P()}}}function p(A){const O=r.getTokenValue();return A?m(O):(d(O),s.push(O)),P(),!0}function g(){switch(r.getToken()){case 11:const A=r.getTokenValue();let O=Number(A);isNaN(O)&&(k(2),O=0),m(O);break;case 7:m(null);break;case 8:m(!0);break;case 9:m(!1);break;default:return!1}return P(),!0}function _(){return r.getToken()!==10?(k(3,[],[2,5]),!1):(p(!1),r.getToken()===6?(T(":"),P(),E()||k(4,[],[2,5])):k(5,[],[2,5]),s.pop(),!0)}function y(){l(),P();let A=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(A||k(4,[],[]),T(","),P(),r.getToken()===2&&v)break}else A&&k(6,[],[]);_()||k(4,[],[2,5]),A=!0}return u(),r.getToken()!==2?k(7,[2],[]):P(),!0}function x(){f(),P();let A=!0,O=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(O||k(4,[],[]),T(","),P(),r.getToken()===4&&v)break}else O&&k(6,[],[]);A?(s.push(0),A=!1):s[s.length-1]++,E()||k(4,[],[4,5]),O=!0}return b(),A||s.pop(),r.getToken()!==4?k(8,[4],[]):P(),!0}function E(){switch(r.getToken()){case 3:return x();case 1:return y();case 10:return p(!0);default:return g()}}return P(),r.getToken()===17?n.allowEmptyContent?!0:(k(4,[],[]),!1):E()?(r.getToken()!==17&&k(9,[],[]),!0):(k(4,[],[]),!1)}var ec;(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"})(ec||(ec={}));var tc;(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"})(tc||(tc={}));const yb=gb;var nc;(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"})(nc||(nc={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let cd="";const vb="dist/";function bb(e){cd=e.endsWith("/")?e:e+"/"}let oi=null;async function wb(e){if(!oi){let t;t=Vr.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(ud(ld(...ad(e),"onig.wasm")))}),oi=t.then(()=>({createOnigScanner(n){return Vr.createOnigScanner(n)},createOnigString(n){return Vr.createOnigString(n)}}))}return oi}function ud(e){return`${cd}${e}`}async function kb(e){const t=ud(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function fd(e){const t=[],n=yb(await kb(e),t,{allowTrailingComma:!0});if(t.length)throw t[0];return n}async function dd(e){let t=await fd(e);const n=pd(t);if(n.include){const r=await dd(ld(...ad(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 Tb(e){return await fd(e)}function Pb(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 pd(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...Sb(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),Pb(n),n}const rc={light:"#333333",dark:"#bbbbbb"},sc={light:"#fffffe",dark:"#1e1e1e"};function Sb(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"?rc.light:rc.dark),n||(n=e.type==="light"?sc.light:sc.dark),{fg:t,bg:n}}class xb{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 Tb(Ro.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 Eb(e,t,n,r,s){let o=n.split(/\r\n|\r|\n/),i=Ys.INITIAL,a=[],c=[];for(let l=0,d=o.length;l<d;l++){let u=o[l];if(u===""){a=[],c.push([]);continue}let f,b,m;s.includeExplanation&&(f=r.tokenizeLine(u,i),b=f.tokens,m=0);let T=r.tokenizeLine2(u,i),S=T.tokens.length/2;for(let w=0;w<S;w++){let h=T.tokens[2*w],v=w+1<S?T.tokens[2*w+2]:u.length;if(h===v)continue;let P=T.tokens[2*w+1],k=Je.getForeground(P),p=t[k],g=Je.getFontStyle(P),_=[];if(s.includeExplanation){let y=0;for(;h+y<v;){let x=b[m],E=u.substring(x.startIndex,x.endIndex);y+=E.length,_.push({content:E,scopes:Ab(e,x.scopes)}),m++}}a.push({content:u.substring(h,v),color:p,fontStyle:g,explanation:_})}c.push(a),a=[],i=T.ruleStack}return c}function Ab(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:Rb(e,i,o)}}return n}function oc(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function $b(e,t,n,r){if(!oc(e,n))return!1;let s=t.length-1,o=r.length-1;for(;s>=0&&o>=0;)oc(t[s],r[o])&&s--,o--;return s===-1}function Rb(e,t,n){let r=[],s=0;for(let o=0,i=e.settings.length;o<i;o++){let a=e.settings[o],c;if(typeof a.scope=="string")c=a.scope.split(/,/).map(l=>l.trim());else if(Array.isArray(a.scope))c=a.scope;else continue;for(let l=0,d=c.length;l<d;l++){let f=c[l].split(/ /),b=f[f.length-1],m=f.slice(0,f.length-1);$b(b,m,t,n)&&(r[s++]=a,l=d)}}return r}const Ob={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 Lb(e,t={}){const n=t.bg||"#fff",r=hb(t.lineOptions??[],i=>i.line),s=t.elements||{};function o(i="",a={},c){const l=s[i]||Ob[i];return l?(c=c.filter(Boolean),l({...a,children:i==="code"?c.join(`
13
- `):c.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 c=a+1,l=r.get(c)??[],d=Ib(l).join(" ");return o("line",{className:d,lines:e,line:i,index:a},i.map((u,f)=>{const b=[`color: ${u.color||t.fg}`];return u.fontStyle&Cs.Italic&&b.push("font-style: italic"),u.fontStyle&Cs.Bold&&b.push("font-weight: bold"),u.fontStyle&Cs.Underline&&b.push("text-decoration: underline"),o("token",{style:b.join("; "),tokens:i,token:u,index:f},[Cb(u.content)])}))}))])}const Nb={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Cb(e){return e.replace(/[&<>"']/g,t=>Nb[t])}function Ib(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 jb extends Ys.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=Ro.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 dd(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=pd(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 hd(e){return typeof e=="string"?Ro.find(t=>t.id===e||t.aliases?.includes(e)):e}function Mb(e){let t=Ro,n=e.themes||[],r=e.paths?.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":vb;return e.langs&&(t=e.langs.map(hd)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:r}}async function Db(e){const{_languages:t,_themes:n,_wasmPath:r}=Mb(e),s=new xb(wb(r),"vscode-oniguruma"),o=new jb(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 c;await o.loadLanguages(t);let l={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};function d(p){l=p}function u(p,g){p.bg=l[p.bg]||p.bg,p.fg=l[p.fg]||p.fg,g.forEach((_,y)=>{g[y]=l[_]||_})}function f(p){const g=p?o.getTheme(p):a;if(!g)throw Error(`No theme registration for ${p}`);(!c||c.name!==g.name)&&(o.setTheme(g),c=g);const _=o.getColorMap();return g.type==="css"&&u(g,_),{_theme:g,_colorMap:_}}function b(p){const g=o.getGrammar(p);if(!g)throw Error(`No language registration for ${p}`);return{_grammar:g}}function m(p,g="text",_,y={includeExplanation:!0}){if(Bb(g))return[...p.split(/\r\n|\r|\n/).map(L=>[{content:L}])];const{_grammar:x}=b(g),{_theme:E,_colorMap:A}=f(_);return Eb(E,A,p,x,y)}function T(p,g="text",_){let y;typeof g=="object"?y=g:y={lang:g,theme:_};const x=m(p,y.lang,y.theme,{includeExplanation:!1}),{_theme:E}=f(y.theme);return Lb(x,{fg:E.fg,bg:E.bg,lineOptions:y?.lineOptions,themeName:E.name})}async function S(p){await o.loadTheme(p)}async function w(p){const g=hd(p);s.addLanguage(g),await o.loadLanguage(g)}function h(){return o.getLoadedThemes()}function v(){return o.getLoadedLanguages()}function P(p){const{_theme:g}=f(p);return g.bg}function k(p){const{_theme:g}=f(p);return g.fg}return{codeToThemedTokens:m,codeToHtml:T,getTheme:p=>f(p)._theme,loadTheme:S,loadLanguage:w,getBackgroundColor:P,getForegroundColor:k,getLoadedThemes:h,getLoadedLanguages:v,setColorReplacements:d}}function Bb(e){return!e||["plaintext","txt","text"].includes(e)}const Fb="0.2.0";bb(`https://cdn.jsdelivr.net/npm/shiki-es@${Fb}/dist/assets/`);const xs=te();let ic=null;function Hb(e,t){const n=Aa();!ic&&!xs.value&&(ic=Db({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash"]}).then(s=>{xs.value=s}));const r=xs.value?.getLoadedLanguages().includes(t);return r?{code:xs.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}),supported:!0}:{code:e,supported:r}}const Ub=6e4;function md(e){return e}const Wb=md,{setTimeout:zb}=globalThis;function Vb(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=md,deserialize:i=Wb,resolver:a,timeout:c=Ub}=t,l=new Map;let d;const u=new Proxy({},{get(f,b){if(b==="$functions")return e;const m=(...S)=>{n(o({m:b,a:S,t:"q"}))};if(s.includes(b))return m.asEvent=m,m;const T=async(...S)=>(await d,new Promise((w,h)=>{const v=qb();l.set(v,{resolve:w,reject:h}),n(o({m:b,a:S,i:v,t:"q"})),c>=0&&zb(()=>{h(new Error(`[birpc] timeout on calling "${b}"`)),l.delete(v)},c)}));return T.asEvent=m,T}});return d=r(async(f,...b)=>{const m=i(f);if(m.t==="q"){const{m:T,a:S}=m;let w,h;const v=a?a(T,e[T]):e[T];if(!v)h=new Error(`[birpc] function "${T}" not found`);else try{w=await v.apply(u,S)}catch(P){h=P}m.i&&(h&&t.onError&&t.onError(h,T,S),n(o({t:"s",i:m.i,r:w,e:h}),...b))}else{const{i:T,r:S,e:w}=m,h=l.get(T);h&&(w?h.reject(w):h.resolve(S)),l.delete(T)}}),u}const Gb="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function qb(e=21){let t="",n=e;for(;n--;)t+=Gb[Math.random()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:Kb,stringify:Jb}=JSON,{keys:Xb}=Object,is=String,gd="string",ac={},Zs="object",_d=(e,t)=>t,Yb=e=>e instanceof is?is(e):e,Qb=(e,t)=>typeof t===gd?new is(t):t,yd=(e,t,n,r)=>{const s=[];for(let o=Xb(n),{length:i}=o,a=0;a<i;a++){const c=o[a],l=n[c];if(l instanceof is){const d=e[l];typeof d===Zs&&!t.has(d)?(t.add(d),n[c]=ac,s.push({k:c,a:[e,t,d,r]})):n[c]=r.call(n,c,d)}else n[c]!==ac&&(n[c]=r.call(n,c,l))}for(let{length:o}=s,i=0;i<o;i++){const{k:a,a:c}=s[i];n[a]=r.call(n,a,yd.apply(null,c))}return n},lc=(e,t,n)=>{const r=is(t.push(n)-1);return e.set(n,r),r},Zb=(e,t)=>{const n=Kb(e,Qb).map(Yb),r=n[0],s=t||_d,o=typeof r===Zs&&r?yd(n,new Set,r,s):r;return s.call({"":o},"",o)},e0=(e,t,n)=>{const r=t&&typeof t===Zs?(d,u)=>d===""||-1<t.indexOf(d)?u:void 0:t||_d,s=new Map,o=[],i=[];let a=+lc(s,o,r.call({"":e},"",e)),c=!a;for(;a<o.length;)c=!0,i[a]=Jb(o[a++],l,n);return"["+i.join(",")+"]";function l(d,u){if(c)return c=!c,u;const f=r.call(this,d,u);switch(typeof f){case Zs:if(f===null)return f;case gd:return s.get(f)||lc(s,o,f)}return f}},t0=2e3,Gr=te(!0),eo=te();let vd=Td(),bd=()=>{};const wd={},kd=new Map,Ve=Vb(wd,{post:async e=>{(await vd).send(e)},on:e=>{bd=e},serialize:e0,deserialize:Zb,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return kd.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)}});async function Td(){const e=new URL("ws://host/__nuxt_devtools__/entry");e.protocol=location.protocol==="https:"?"wss:":"ws:",e.host=location.host;const t=new WebSocket(e.toString());return t.addEventListener("message",n=>bd(String(n.data))),t.addEventListener("error",n=>{console.error(n),eo.value=n}),t.addEventListener("close",()=>{console.log("[nuxt-devtools] WebSocket closed, reconnecting..."),Gr.value=!0,setTimeout(async()=>{vd=Td()},t0)}),Gr.value=!0,t.readyState!==WebSocket.OPEN&&await new Promise(n=>t.addEventListener("open",n)),console.log("[nuxt-devtools] WebSocket connected."),Gr.value=!1,eo.value=null,t}function Ke(){return or("devtools-client")}function TP(){const e=Ke();return ue(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Pd(){const e=Ke();return ue(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function PP(){const e=Ke();return ue(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function n0(){return or("devtools-component-inspector-data")}const Sd=te(!1);setTimeout(()=>{Sd.value=!0},2e3);const r0=ue(()=>Sd.value&&!Ke().value);function s0(){const e=Ke(),t=Aa();return ue(()=>({host:e.value,devtools:{rpc:Ve,colorMode:t.value,renderCodeHighlight(n,r){return Hb(n,r)},renderMarkdown(n){return cb(n)},extendClientRpc(n,r){return kd.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return Ve[`${n}:${o}`]}})}}}))}const kr={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>!!Ke().value},Tr={icon:"carbon-information",title:"Overview",order:-100},Pr={icon:"carbon-tree-view-alt",title:"Pages",show:()=>!!Ke().value,order:1},Sr={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>!!Ke().value,order:7},xr={icon:"carbon-plug",title:"Plugins",category:"analyze"},Er={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>!!Ke().value,order:6};function o0(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const i0=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function a0(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const cc=function(...e){e=e.map(r=>o0(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:a0();!s||s.length===0||(t=`${s}/${t}`,n=uc(s))}return t=l0(t,!n),n&&!uc(t)?`/${t}`:t.length>0?t:"."};function l0(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 c=n.lastIndexOf("/");c===-1?(n="",r=0):(n=n.slice(0,c),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 uc=function(e){return i0.test(e)},c0=function(e,t){const n=cc(e).split("/"),r=cc(t).split("/"),s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function SP(e){return!!e.match(/[/\\]node_modules[/\\]/)||$a(e)}function $a(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function u0(e){if($a(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 f0(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function xP(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function EP(e,t){if(e=e.replace(/\\/g,"/"),$a(e))return{moduleName:e,path:e};const n=u0(e),r=f0(e);if(n&&r)return{moduleName:n,path:r};try{let s=c0(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function AP(e){return e.split(/(:\w+[\?\*]?)/).filter(Boolean)}function dt(e,t,n){const r=$e();return r.payload.unique||(r.payload.unique={}),r.payload.unique[e]||(r.payload.unique[e]=rd(e,t,n)),r.payload.unique[e].data}function $P(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const fc={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 RP(e){return fc[e.toLowerCase()]||fc.default}function on(e){return fu()?(Lp(e),!0):!1}function ze(e){return typeof e=="function"?e():Q(e)}const kn=typeof window<"u",d0=e=>typeof e<"u",Ra=()=>{},p0=h0();function h0(){var e;return kn&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function m0(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 xd=e=>e();function g0(e=xd){const t=te(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:nr(t),pause:n,resume:r,eventFilter:s}}function dc(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}var _0=Object.defineProperty,y0=Object.defineProperties,v0=Object.getOwnPropertyDescriptors,pc=Object.getOwnPropertySymbols,b0=Object.prototype.hasOwnProperty,w0=Object.prototype.propertyIsEnumerable,hc=(e,t,n)=>t in e?_0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k0=(e,t)=>{for(var n in t||(t={}))b0.call(t,n)&&hc(e,n,t[n]);if(pc)for(var n of pc(t))w0.call(t,n)&&hc(e,n,t[n]);return e},T0=(e,t)=>y0(e,v0(t));function P0(e){if(!Le(e))return uh(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=ch(()=>({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=T0(k0({},e.value),{[n]:r});Object.setPrototypeOf(s,e.value),e.value=s}}}));return t}function Ed(e,t=!0){rt()?Ft(e):t?e():Dt(e)}function Di(e,t=!1){function n(u,{flush:f="sync",deep:b=!1,timeout:m,throwOnTimeout:T}={}){let S=null;const h=[new Promise(v=>{S=Ie(e,P=>{u(P)!==t&&(S?.(),v(P))},{flush:f,deep:b,immediate:!0})})];return m!=null&&h.push(dc(m,T).then(()=>ze(e)).finally(()=>S?.())),Promise.race(h)}function r(u,f){if(!Le(u))return n(P=>P===u,f);const{flush:b="sync",deep:m=!1,timeout:T,throwOnTimeout:S}=f??{};let w=null;const v=[new Promise(P=>{w=Ie([e,u],([k,p])=>{t!==(k===p)&&(w?.(),P(k))},{flush:b,deep:m,immediate:!0})})];return T!=null&&v.push(dc(T,S).then(()=>ze(e)).finally(()=>(w?.(),ze(e)))),Promise.race(v)}function s(u){return n(f=>!!f,u)}function o(u){return r(null,u)}function i(u){return r(void 0,u)}function a(u){return n(Number.isNaN,u)}function c(u,f){return n(b=>{const m=Array.from(b);return m.includes(u)||m.includes(ze(u))},f)}function l(u){return d(1,u)}function d(u=1,f){let b=-1;return n(()=>(b+=1,b>=u),f)}return Array.isArray(ze(e))?{toMatch:n,toContains:c,changed:l,changedTimes:d,get not(){return Di(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:l,changedTimes:d,get not(){return Di(e,!t)}}}function OP(e){return Di(e)}function S0(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 c(){i.value=!1,a()}function l(){const d=ze(t);d<=0||(i.value=!0,s&&e(),a(),o=setInterval(e,d))}if(r&&kn&&l(),Le(t)||typeof t=="function"){const d=Ie(t,()=>{i.value&&kn&&l()});on(d)}return on(c),{isActive:i,pause:c,resume:l}}function x0(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 c(...l){i(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...l)},ze(t))}return r&&(s.value=!0,kn&&c()),on(a),{isPending:nr(s),start:c,stop:a}}function E0(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,s=Le(e),o=te(e);function i(a){if(arguments.length)return o.value=a,o.value;{const c=ze(n);return o.value=o.value===c?ze(r):c,o.value}}return s?i:[o,i]}var mc=Object.getOwnPropertySymbols,A0=Object.prototype.hasOwnProperty,$0=Object.prototype.propertyIsEnumerable,R0=(e,t)=>{var n={};for(var r in e)A0.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&mc)for(var r of mc(e))t.indexOf(r)<0&&$0.call(e,r)&&(n[r]=e[r]);return n};function O0(e,t,n={}){const r=n,{eventFilter:s=xd}=r,o=R0(r,["eventFilter"]);return Ie(e,m0(s,t),o)}var L0=Object.defineProperty,N0=Object.defineProperties,C0=Object.getOwnPropertyDescriptors,to=Object.getOwnPropertySymbols,Ad=Object.prototype.hasOwnProperty,$d=Object.prototype.propertyIsEnumerable,gc=(e,t,n)=>t in e?L0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I0=(e,t)=>{for(var n in t||(t={}))Ad.call(t,n)&&gc(e,n,t[n]);if(to)for(var n of to(t))$d.call(t,n)&&gc(e,n,t[n]);return e},j0=(e,t)=>N0(e,C0(t)),M0=(e,t)=>{var n={};for(var r in e)Ad.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&to)for(var r of to(e))t.indexOf(r)<0&&$d.call(e,r)&&(n[r]=e[r]);return n};function D0(e,t,n={}){const r=n,{eventFilter:s}=r,o=M0(r,["eventFilter"]),{eventFilter:i,pause:a,resume:c,isActive:l}=g0(s);return{stop:O0(e,t,j0(I0({},o),{eventFilter:i})),pause:a,resume:c,isActive:l}}function LP(e,t,n){let r;Le(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:a=Ra}=r,c=te(!s),l=i?es(t):te(t);let d=0;return Us(async u=>{if(!c.value)return;d++;const f=d;let b=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const m=await e(T=>{u(()=>{o&&(o.value=!1),b||T()})});f===d&&(l.value=m)}catch(m){a(m)}finally{o&&f===d&&(o.value=!1),b=!0}}),s?ue(()=>(c.value=!0,l.value)):l}function B0(e={}){let t=0;const n=te([]);function r(...i){const a=ku({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((c,l)=>{a.resolve=d=>(a.isResolving=!0,c(d)),a.reject=l}).finally(()=>{a.promise=void 0;const c=n.value.indexOf(a);c!==-1&&n.value.splice(c,1)}),a.promise}function s(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const o=Te((i,{slots:a})=>{const c=()=>n.value.map(l=>{var d;return Ue(je,{key:l.key},(d=a.default)==null?void 0:d.call(a,l))});return e.transition?()=>Ue(Bm,e.transition,c):c});return o.start=s,o}function nt(e){var t;const n=ze(e);return(t=n?.$el)!=null?t:n}const It=kn?window:void 0,F0=kn?window.document:void 0,H0=kn?window.navigator:void 0;function Ot(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=It):[t,n,r,s]=e,!t)return Ra;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(d=>d()),o.length=0},a=(d,u,f,b)=>(d.addEventListener(u,f,b),()=>d.removeEventListener(u,f,b)),c=Ie(()=>[nt(t),ze(s)],([d,u])=>{i(),d&&o.push(...n.flatMap(f=>r.map(b=>a(d,f,b,u))))},{immediate:!0,flush:"post"}),l=()=>{c(),i()};return on(l),l}let _c=!1;function U0(e,t,n={}){const{window:r=It,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;p0&&!_c&&(_c=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",Ra)));let a=!0;const c=f=>s.some(b=>{if(typeof b=="string")return Array.from(r.document.querySelectorAll(b)).some(m=>m===f.target||f.composedPath().includes(m));{const m=nt(b);return m&&(f.target===m||f.composedPath().includes(m))}}),d=[Ot(r,"click",f=>{const b=nt(e);if(!(!b||b===f.target||f.composedPath().includes(b))){if(f.detail===0&&(a=!c(f)),!a){a=!0;return}t(f)}},{passive:!0,capture:o}),Ot(r,"pointerdown",f=>{const b=nt(e);b&&(a=!f.composedPath().includes(b)&&!c(f))},{passive:!0}),i&&Ot(r,"blur",f=>{var b;const m=nt(e);((b=r.document.activeElement)==null?void 0:b.tagName)==="IFRAME"&&!m?.contains(r.document.activeElement)&&t(f)})].filter(Boolean);return()=>d.forEach(f=>f())}var W0=Object.defineProperty,z0=Object.defineProperties,V0=Object.getOwnPropertyDescriptors,yc=Object.getOwnPropertySymbols,G0=Object.prototype.hasOwnProperty,q0=Object.prototype.propertyIsEnumerable,vc=(e,t,n)=>t in e?W0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K0=(e,t)=>{for(var n in t||(t={}))G0.call(t,n)&&vc(e,n,t[n]);if(yc)for(var n of yc(t))q0.call(t,n)&&vc(e,n,t[n]);return e},J0=(e,t)=>z0(e,V0(t));function X0(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Y0(...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=It,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,c=X0(t);return Ot(s,o,d=>{d.repeat&&ze(a)||c(d)&&n(d)},i)}function NP(e,t,n={}){return Y0(e,t,J0(K0({},n),{eventName:"keydown"}))}function Q0(){const e=te(!1);return rt()&&Ft(()=>{e.value=!0}),e}function Rd(e){const t=Q0();return ue(()=>(t.value,!!e()))}function Z0(e,t={}){const{immediate:n=!0,window:r=It}=t,s=te(!1);let o=0,i=null;function a(d){if(!s.value||!r)return;const u=d-o;e({delta:u,timestamp:d}),o=d,i=r.requestAnimationFrame(a)}function c(){!s.value&&r&&(s.value=!0,i=r.requestAnimationFrame(a))}function l(){s.value=!1,i!=null&&r&&(r.cancelAnimationFrame(i),i=null)}return n&&c(),on(l),{isActive:nr(s),pause:l,resume:c}}function CP(e={}){const{navigator:t=H0,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=["copy","cut"],a=Rd(()=>t&&"clipboard"in t),c=ue(()=>a.value||o),l=te(""),d=te(!1),u=x0(()=>d.value=!1,s);function f(){a.value?t.clipboard.readText().then(S=>{l.value=S}):l.value=T()}if(c.value&&n)for(const S of i)Ot(S,f);async function b(S=ze(r)){c.value&&S!=null&&(a.value?await t.clipboard.writeText(S):m(S),l.value=S,d.value=!0,u.start())}function m(S){const w=document.createElement("textarea");w.value=S??"",w.style.position="absolute",w.style.opacity="0",document.body.appendChild(w),w.select(),document.execCommand("copy"),w.remove()}function T(){var S,w,h;return(h=(w=(S=document?.getSelection)==null?void 0:S.call(document))==null?void 0:w.toString())!=null?h:""}return{isSupported:c,text:l,copied:d,copy:b}}function ew(e){return JSON.parse(JSON.stringify(e))}const Es=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},As="__vueuse_ssr_handlers__",tw=nw();function nw(){return As in Es||(Es[As]=Es[As]||{}),Es[As]}function rw(e,t){return tw[e]||t}function sw(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 ow=Object.defineProperty,bc=Object.getOwnPropertySymbols,iw=Object.prototype.hasOwnProperty,aw=Object.prototype.propertyIsEnumerable,wc=(e,t,n)=>t in e?ow(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kc=(e,t)=>{for(var n in t||(t={}))iw.call(t,n)&&wc(e,n,t[n]);if(bc)for(var n of bc(t))aw.call(t,n)&&wc(e,n,t[n]);return e};const lw={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()}},Tc="vueuse-storage";function cw(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:c=!0,mergeDefaults:l=!1,shallow:d,window:u=It,eventFilter:f,onError:b=_=>{console.error(_)}}=r,m=(d?es:te)(t);if(!n)try{n=rw("getDefaultStorage",()=>{var _;return(_=It)==null?void 0:_.localStorage})()}catch(_){b(_)}if(!n)return m;const T=ze(t),S=sw(T),w=(s=r.serializer)!=null?s:lw[S],{pause:h,resume:v}=D0(m,()=>P(m.value),{flush:o,deep:i,eventFilter:f});return u&&a&&(Ot(u,"storage",g),Ot(u,Tc,p)),g(),m;function P(_){try{if(_==null)n.removeItem(e);else{const y=w.write(_),x=n.getItem(e);x!==y&&(n.setItem(e,y),u&&u.dispatchEvent(new CustomEvent(Tc,{detail:{key:e,oldValue:x,newValue:y,storageArea:n}})))}}catch(y){b(y)}}function k(_){const y=_?_.newValue:n.getItem(e);if(y==null)return c&&T!==null&&n.setItem(e,w.write(T)),T;if(!_&&l){const x=w.read(y);return typeof l=="function"?l(x,T):S==="object"&&!Array.isArray(x)?kc(kc({},T),x):x}else return typeof y!="string"?y:w.read(y)}function p(_){g(_.detail)}function g(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){m.value=T;return}if(!(_&&_.key!==e)){h();try{m.value=k(_)}catch(y){b(y)}finally{_?Dt(v):v()}}}}}var Pc=Object.getOwnPropertySymbols,uw=Object.prototype.hasOwnProperty,fw=Object.prototype.propertyIsEnumerable,dw=(e,t)=>{var n={};for(var r in e)uw.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Pc)for(var r of Pc(e))t.indexOf(r)<0&&fw.call(e,r)&&(n[r]=e[r]);return n};function Od(e,t,n={}){const r=n,{window:s=It}=r,o=dw(r,["window"]);let i;const a=Rd(()=>s&&"ResizeObserver"in s),c=()=>{i&&(i.disconnect(),i=void 0)},l=ue(()=>Array.isArray(e)?e.map(f=>nt(f)):[nt(e)]),d=Ie(l,f=>{if(c(),a.value&&s){i=new ResizeObserver(t);for(const b of f)b&&i.observe(b,o)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{c(),d()};return on(u),{isSupported:a,stop:u}}function IP(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=te(0),a=te(0),c=te(0),l=te(0),d=te(0),u=te(0),f=te(0),b=te(0);function m(){const T=nt(e);if(!T){n&&(i.value=0,a.value=0,c.value=0,l.value=0,d.value=0,u.value=0,f.value=0,b.value=0);return}const S=T.getBoundingClientRect();i.value=S.height,a.value=S.bottom,c.value=S.left,l.value=S.right,d.value=S.top,u.value=S.width,f.value=S.x,b.value=S.y}return Od(e,m),Ie(()=>nt(e),T=>!T&&m()),s&&Ot("scroll",m,{capture:!0,passive:!0}),r&&Ot("resize",m,{passive:!0}),Ed(()=>{o&&m()}),{height:i,bottom:a,left:c,right:l,top:d,width:u,x:f,y:b,update:m}}function jP(e,t={width:0,height:0},n={}){const{window:r=It,box:s="content-box"}=n,o=ue(()=>{var c,l;return(l=(c=nt(e))==null?void 0:c.namespaceURI)==null?void 0:l.includes("svg")}),i=te(t.width),a=te(t.height);return Od(e,([c])=>{const l=s==="border-box"?c.borderBoxSize:s==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(r&&o.value){const d=nt(e);if(d){const u=r.getComputedStyle(d);i.value=parseFloat(u.width),a.value=parseFloat(u.height)}}else if(l){const d=Array.isArray(l)?l:[l];i.value=d.reduce((u,{inlineSize:f})=>u+f,0),a.value=d.reduce((u,{blockSize:f})=>u+f,0)}else i.value=c.contentRect.width,a.value=c.contentRect.height},n),Ie(()=>nt(e),c=>{i.value=c?t.width:0,a.value=c?t.height:0}),{width:i,height:a}}function Oo(e,t,n={}){const{window:r=It}=n;return cw(e,t,r?.localStorage,n)}var pw=Object.defineProperty,Sc=Object.getOwnPropertySymbols,hw=Object.prototype.hasOwnProperty,mw=Object.prototype.propertyIsEnumerable,xc=(e,t,n)=>t in e?pw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gw=(e,t)=>{for(var n in t||(t={}))hw.call(t,n)&&xc(e,n,t[n]);if(Sc)for(var n of Sc(t))mw.call(t,n)&&xc(e,n,t[n]);return e};function _w(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=te(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?Z0(s,{immediate:!0}):S0(s,n,{immediate:!0});return t?gw({now:r},o):r}let yw=0;function MP(e,t={}){const n=te(!1),{document:r=F0,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++yw}`}=t,a=te(e);let c=()=>{};const l=()=>{if(!r)return;const u=r.getElementById(i)||r.createElement("style");u.isConnected||(u.type="text/css",u.id=i,t.media&&(u.media=t.media),r.head.appendChild(u)),!n.value&&(c=Ie(a,f=>{u.textContent=f},{immediate:!0}),n.value=!0)},d=()=>{!r||!n.value||(c(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&Ed(l),o||on(d),{id:i,css:a,unload:d,load:l,isLoaded:nr(n)}}var vw=Object.defineProperty,no=Object.getOwnPropertySymbols,Ld=Object.prototype.hasOwnProperty,Nd=Object.prototype.propertyIsEnumerable,Ec=(e,t,n)=>t in e?vw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bw=(e,t)=>{for(var n in t||(t={}))Ld.call(t,n)&&Ec(e,n,t[n]);if(no)for(var n of no(t))Nd.call(t,n)&&Ec(e,n,t[n]);return e},ww=(e,t)=>{var n={};for(var r in e)Ld.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&no)for(var r of no(e))t.indexOf(r)<0&&Nd.call(e,r)&&(n[r]=e[r]);return n};const kw=[{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"}],Tw={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 Pw(e){return e.toISOString().slice(0,10)}function DP(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,s=_w({interval:r,controls:!0}),{now:o}=s,i=ww(s,["now"]),a=ue(()=>Sw(new Date(ze(e)),t,ze(o.value)));return n?bw({timeAgo:a},i):a}function Sw(e,t={},n=Date.now()){var r;const{max:s,messages:o=Tw,fullDateFormatter:i=Pw,units:a=kw,showSecond:c=!1,rounding:l="round"}=t,d=typeof l=="number"?S=>+S.toFixed(l):Math[l],u=+n-+e,f=Math.abs(u);function b(S,w){return d(Math.abs(S)/w.value)}function m(S,w){const h=b(S,w),v=S>0,P=T(w.name,h,v);return T(v?"past":"future",P,v)}function T(S,w,h){const v=o[S];return typeof v=="function"?v(w,h):v.replace("{0}",w.toString())}if(f<6e4&&!c)return o.justNow;if(typeof s=="number"&&f>s)return i(new Date(e));if(typeof s=="string"){const S=(r=a.find(w=>w.name===s))==null?void 0:r.max;if(S&&f>S)return i(new Date(e))}for(const[S,w]of a.entries()){if(b(u,w)<=0&&a[S-1])return m(u,a[S-1]);if(f<w.max)return m(u,w)}return o.invalid}function xw(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:c=!1,eventName:l,deep:d=!1,defaultValue:u,shouldEmit:f}=r,b=rt(),m=n||b?.emit||((s=b?.$emit)==null?void 0:s.bind(b))||((i=(o=b?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(b?.proxy));let T=l;t||(t="modelValue"),T=l||T||`update:${t.toString()}`;const S=v=>a?typeof a=="function"?a(v):ew(v):v,w=()=>d0(e[t])?S(e[t]):u,h=v=>{f?f(v)&&m(T,v):m(T,v)};if(c){const v=w(),P=te(v);return Ie(()=>e[t],k=>P.value=S(k)),Ie(P,k=>{(k!==e[t]||d)&&h(k)},{deep:d}),P}else return ue({get(){return w()},set(v){h(v)}})}const Ew=Oo("nuxt-devtools-first-visit",!0),Aw=Oo("nuxt-devtools-settings",{componentsView:"list",componentsGraphShowNodeModules:!1,componentsGraphShowPages:!1,componentsGraphShowLayouts:!1,componentsGraphShowWorkspace:!0,interactionCloseOnOutsideClick:!1,showExperimentalFeatures:!1,showHelpButtons:!0,scale:1,hiddenTabs:[],hiddenTabCategories:[]},{mergeDefaults:!0}),$w=P0(Aw),Rw=Oo("nuxt-devtools-frame-state",{},{listenToStorageChanges:!1}),Ow=Oo("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1});function Lo(){return $w}function Lw(){return Rw}function BP(){return Ow}function Cd(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}let $s;async function FP(){return $s||($s=await Af("https://cdn.jsdelivr.net/npm/@nuxt/modules@latest/modules.json"),$s)}function HP(){const e=Ke(),t=dt("getComponents",()=>Ve.getComponents()),n=ue(()=>Object.entries(e.value?.nuxt?.vueApp._context.components||{}).map(([r])=>({pascalName:r,global:!0})).filter(r=>!/^Lazy[A-Z]/.test(r.pascalName)).filter(r=>!(t.value||[]).find(s=>s.pascalName===r.pascalName)));return ue(()=>[...n.value,...t.value||[]].sort((r,s)=>r.pascalName.localeCompare(s.pascalName)))}function Id(){return dt("getServerPages",()=>Ve.getServerPages())}function Nw(){return dt("getServerRoutes",()=>Ve.getServerRoutes())}function UP(){return dt("getComponentsRelationships",()=>Ve.getComponentsRelationships())}function WP(){return dt("getServerHooks",()=>Ve.getServerHooks(),{default:()=>[]})}function zP(){return dt("getServerLayouts",()=>Ve.getServerLayouts())}function VP(){return dt("getAutoImports",()=>Ve.getAutoImports())}function GP(){return dt("getStaticAssets",()=>Ve.getStaticAssets())}function qP(){return dt("getServerConfig",()=>Ve.getServerConfig())}function KP(){return dt("getServerApp",()=>Ve.getServerApp())}function Cw(){return dt("getCustomTabs",()=>Ve.getCustomTabs())}function Ac(){return dt("getTerminals",()=>Ve.getTerminals())}function jd(){const e=Cw(),t=Lo(),n=ft(),r=ue(()=>[...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=ue(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return ue(()=>[...r.value,...s.value])}function Iw(e=!0){const t=e?jw():jd(),n=Lo();return ue(()=>{const r={app:[],server:[],analyze:[],modules:[],documentation:[],advanced:[]};for(const s of t.value){const o=s.category||"app";e&&n.hiddenTabCategories.value.includes(o)||(r[o]?r[o].push(s):console.warn(`Unknown tab category: ${o}`))}return Object.entries(r)})}function jw(){const e=jd(),t=Lo();return ue(()=>e.value.filter(n=>{const r=n;return!(r.show&&!r.show()||t.hiddenTabs.value.includes(r.name))}))}function JP(){const e=Pd(),t=Id();return ue(()=>(e.value?.getRoutes()||[]).map(n=>Cd(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}function Mw(){return or("devtools:restart-dialogs",()=>[])}function XP(){const{data:e}=Hv("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function YP(){const e=Id(),t=Pd();return ue(()=>(t.value?.getRoutes()||[]).map(n=>Cd(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const Ar={icon:"carbon-cloud",title:"Server Routes",layout:"full",experimental:!0,category:"server",show(){return Nw().value?.length}},$r={icon:"carbon-data-base",title:"Storage",experimental:!0,layout:"full",category:"server"},Rr={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){return!!Ac().value?.length},badge(){return Ac().value?.filter(e=>!e.isTerminated).length}},Or={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},Lr={layout:"full"},$c=[{name:dr?.name??"__inspecting",path:dr?.path??"/__inspecting",meta:dr||{},alias:dr?.alias||[],redirect:dr?.redirect||void 0,component:()=>Ee(()=>import("./__inspecting.f21fc4ff.js"),["./__inspecting.f21fc4ff.js","./NPanelGrids.c52bd29c.js"],import.meta.url).then(e=>e.default||e)},{name:pr?.name??"index",path:pr?.path??"/",meta:pr||{},alias:pr?.alias||[],redirect:pr?.redirect||void 0,component:()=>Ee(()=>import("./index.113a4cc6.js"),["./index.113a4cc6.js","./NuxtLogo.d17ca3c5.js","./Badge.21478015.js"],import.meta.url).then(e=>e.default||e)},{name:hr?.name??"modules-assets",path:hr?.path??"/modules/assets",meta:hr||{},alias:hr?.alias||[],redirect:hr?.redirect||void 0,component:()=>Ee(()=>import("./assets.97af363e.js"),["./assets.97af363e.js","./Navbar.vue.e1117ac7.js","./NTextInput.vue.f5b2276f.js","./NIconButton.vue.61149d03.js","./NSectionBlock.77e830ae.js","./NIconTitle.vue.636dd062.js","./NSectionBlock.83ecb54a.css","./FilepathItem.vue.1374ae6e.js","./editor.4c6382c7.js","./CodeSnippets.vue.cf956c68.js","./NCodeBlock.vue.8fd682f9.js","./client.44af506c.js","./NCodeBlock.cf3ce05b.css","./DrawerRight.vue.7d712780.js","./constants.d7bcda3c.js","./fuse.esm.88e2763d.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:mr?.name??"modules-components",path:mr?.path??"/modules/components",meta:mr||{},alias:mr?.alias||[],redirect:mr?.redirect||void 0,component:()=>Ee(()=>import("./components.0339ba8e.js"),["./components.0339ba8e.js","./HelpFab.vue.8e13a60e.js","./NIconButton.vue.61149d03.js","./HelpFab.f179afc3.css","./NCheckbox.vue.002c643b.js","./Navbar.vue.e1117ac7.js","./NTextInput.vue.f5b2276f.js","./Badge.21478015.js","./FilepathItem.vue.1374ae6e.js","./editor.4c6382c7.js","./DrawerRight.vue.7d712780.js","./NSectionBlock.77e830ae.js","./NIconTitle.vue.636dd062.js","./NSectionBlock.83ecb54a.css","./constants.d7bcda3c.js","./fuse.esm.88e2763d.js"],import.meta.url).then(e=>e.default||e)},{name:gr?.name??"modules-custom-name",path:gr?.path??"/modules/custom-:name()",meta:gr||{},alias:gr?.alias||[],redirect:gr?.redirect||void 0,component:()=>Ee(()=>import("./custom-_name_.aba84e7f.js"),["./custom-_name_.aba84e7f.js","./NPanelGrids.c52bd29c.js","./LaunchPage.vue.e8117060.js","./NMarkdown.vue.8cf88cf5.js","./client.44af506c.js"],import.meta.url).then(e=>e.default||e)},{name:_r?.name??"modules-hooks",path:_r?.path??"/modules/hooks",meta:_r||{},alias:_r?.alias||[],redirect:_r?.redirect||void 0,component:()=>Ee(()=>import("./hooks.073b884c.js"),["./hooks.073b884c.js","./DurationDisplay.vue.d28a01f2.js","./NSectionBlock.77e830ae.js","./NIconTitle.vue.636dd062.js","./NSectionBlock.83ecb54a.css","./HelpFab.vue.8e13a60e.js","./NIconButton.vue.61149d03.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:yr?.name??"modules-imports",path:yr?.path??"/modules/imports",meta:yr||{},alias:yr?.alias||[],redirect:yr?.redirect||void 0,component:()=>Ee(()=>import("./imports.ba566562.js"),["./imports.ba566562.js","./NSwitch.vue.1b0e3364.js","./Navbar.vue.e1117ac7.js","./NTextInput.vue.f5b2276f.js","./FilepathItem.vue.1374ae6e.js","./editor.4c6382c7.js","./NMarkdown.vue.8cf88cf5.js","./client.44af506c.js","./constants.d7bcda3c.js","./NSectionBlock.77e830ae.js","./NIconTitle.vue.636dd062.js","./NSectionBlock.83ecb54a.css","./HelpFab.vue.8e13a60e.js","./NIconButton.vue.61149d03.js","./HelpFab.f179afc3.css","./fuse.esm.88e2763d.js"],import.meta.url).then(e=>e.default||e)},{name:vr?.name??"modules-middleware",path:vr?.path??"/modules/middleware",meta:vr||{},alias:vr?.alias||[],redirect:vr?.redirect||void 0,component:()=>Ee(()=>import("./middleware.a8c2264e.js"),[],import.meta.url).then(e=>e.default||e)},{name:br?.name??"modules-modules",path:br?.path??"/modules/modules",meta:br||{},alias:br?.alias||[],redirect:br?.redirect||void 0,component:()=>Ee(()=>import("./modules.b147b11c.js"),["./modules.b147b11c.js","./FilepathItem.vue.1374ae6e.js","./editor.4c6382c7.js","./NpmVersionCheck.vue.80a75d57.js","./Badge.21478015.js","./NCodeBlock.vue.8fd682f9.js","./client.44af506c.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.002c643b.js","./NSectionBlock.77e830ae.js","./NIconTitle.vue.636dd062.js","./NSectionBlock.83ecb54a.css","./HelpFab.vue.8e13a60e.js","./NIconButton.vue.61149d03.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:kr?.name??"modules-open-graph",path:kr?.path??"/modules/open-graph",meta:kr||{},alias:kr?.alias||[],redirect:kr?.redirect||void 0,component:()=>Ee(()=>import("./open-graph.cac96c16.js"),["./open-graph.cac96c16.js","./NTextInput.vue.f5b2276f.js","./Navbar.vue.e1117ac7.js","./NLink.vue.5e75761d.js","./NSectionBlock.77e830ae.js","./NIconTitle.vue.636dd062.js","./NSectionBlock.83ecb54a.css","./NCodeBlock.vue.8fd682f9.js","./client.44af506c.js","./NCodeBlock.cf3ce05b.css","./editor.4c6382c7.js","./HelpFab.vue.8e13a60e.js","./NIconButton.vue.61149d03.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Tr?.name??"modules-overview",path:Tr?.path??"/modules/overview",meta:Tr||{},alias:Tr?.alias||[],redirect:Tr?.redirect||void 0,component:()=>Ee(()=>import("./overview.848f0d2c.js"),["./overview.848f0d2c.js","./NuxtLogo.d17ca3c5.js","./Badge.21478015.js","./NpmVersionCheck.vue.80a75d57.js","./NCodeBlock.vue.8fd682f9.js","./client.44af506c.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.002c643b.js","./NPanelGrids.c52bd29c.js"],import.meta.url).then(e=>e.default||e)},{name:Pr?.name??"modules-pages",path:Pr?.path??"/modules/pages",meta:Pr||{},alias:Pr?.alias||[],redirect:Pr?.redirect||void 0,component:()=>Ee(()=>import("./pages.58612073.js"),["./pages.58612073.js","./NTextInput.vue.f5b2276f.js","./Badge.21478015.js","./FilepathItem.vue.1374ae6e.js","./editor.4c6382c7.js","./NSectionBlock.77e830ae.js","./NIconTitle.vue.636dd062.js","./NSectionBlock.83ecb54a.css","./LaunchPage.vue.e8117060.js","./NMarkdown.vue.8cf88cf5.js","./client.44af506c.js","./NPanelGrids.c52bd29c.js","./HelpFab.vue.8e13a60e.js","./NIconButton.vue.61149d03.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Sr?.name??"modules-payload",path:Sr?.path??"/modules/payload",meta:Sr||{},alias:Sr?.alias||[],redirect:Sr?.redirect||void 0,component:()=>Ee(()=>import("./payload.351fcd36.js"),["./payload.351fcd36.js","./StateEditor.vue.b3ad6a2d.js","./NIconButton.vue.61149d03.js","./json-editor-vue.c66387bd.js","./NSectionBlock.77e830ae.js","./NIconTitle.vue.636dd062.js","./NSectionBlock.83ecb54a.css","./HelpFab.vue.8e13a60e.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:xr?.name??"modules-plugins",path:xr?.path??"/modules/plugins",meta:xr||{},alias:xr?.alias||[],redirect:xr?.redirect||void 0,component:()=>Ee(()=>import("./plugins.14197f41.js"),["./plugins.14197f41.js","./FilepathItem.vue.1374ae6e.js","./editor.4c6382c7.js","./Badge.21478015.js","./DurationDisplay.vue.d28a01f2.js","./NSectionBlock.77e830ae.js","./NIconTitle.vue.636dd062.js","./NSectionBlock.83ecb54a.css","./HelpFab.vue.8e13a60e.js","./NIconButton.vue.61149d03.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Er?.name??"modules-runtime-configs",path:Er?.path??"/modules/runtime-configs",meta:Er||{},alias:Er?.alias||[],redirect:Er?.redirect||void 0,component:()=>Ee(()=>import("./runtime-configs.2908e02a.js"),["./runtime-configs.2908e02a.js","./StateEditor.vue.b3ad6a2d.js","./NIconButton.vue.61149d03.js","./json-editor-vue.c66387bd.js","./NSectionBlock.77e830ae.js","./NIconTitle.vue.636dd062.js","./NSectionBlock.83ecb54a.css","./HelpFab.vue.8e13a60e.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ar?.name??"modules-server-routes",path:Ar?.path??"/modules/server-routes",meta:Ar||{},alias:Ar?.alias||[],redirect:Ar?.redirect||void 0,component:()=>Ee(()=>import("./server-routes.bf183192.js"),["./server-routes.bf183192.js","./Navbar.vue.e1117ac7.js","./NTextInput.vue.f5b2276f.js","./Badge.21478015.js","./NSelect.vue.90e01b18.js","./CodeSnippets.vue.cf956c68.js","./NCodeBlock.vue.8fd682f9.js","./client.44af506c.js","./NCodeBlock.cf3ce05b.css","./editor.4c6382c7.js","./NPanelGrids.c52bd29c.js","./constants.d7bcda3c.js","./PanelLeftRight.vue.8adf1a04.js","./fuse.esm.88e2763d.js"],import.meta.url).then(e=>e.default||e)},{name:$r?.name??"modules-storage",path:$r?.path??"/modules/storage",meta:$r||{},alias:$r?.alias||[],redirect:$r?.redirect||void 0,component:()=>Ee(()=>import("./storage.76e0a760.js"),["./storage.76e0a760.js","./NIconButton.vue.61149d03.js","./NSelect.vue.90e01b18.js","./NTextInput.vue.f5b2276f.js","./NLink.vue.5e75761d.js","./NPanelGrids.c52bd29c.js","./PanelLeftRight.vue.8adf1a04.js","./FilepathItem.vue.1374ae6e.js","./editor.4c6382c7.js","./json-editor-vue.c66387bd.js"],import.meta.url).then(e=>e.default||e)},{name:Rr?.name??"modules-terminals",path:Rr?.path??"/modules/terminals",meta:Rr||{},alias:Rr?.alias||[],redirect:Rr?.redirect||void 0,component:()=>Ee(()=>import("./terminals.339eac8e.js"),["./terminals.339eac8e.js","./NIconButton.vue.61149d03.js","./terminals.d1dcf297.css"],import.meta.url).then(e=>e.default||e)},{name:Or?.name??"modules-virtual-files",path:Or?.path??"/modules/virtual-files",meta:Or||{},alias:Or?.alias||[],redirect:Or?.redirect||void 0,component:()=>Ee(()=>import("./virtual-files.0b362e16.js"),["./virtual-files.0b362e16.js","./Navbar.vue.e1117ac7.js","./NTextInput.vue.f5b2276f.js","./NCodeBlock.vue.8fd682f9.js","./client.44af506c.js","./NCodeBlock.cf3ce05b.css","./NPanelGrids.c52bd29c.js","./PanelLeftRight.vue.8adf1a04.js","./HelpFab.vue.8e13a60e.js","./NIconButton.vue.61149d03.js","./HelpFab.f179afc3.css","./fuse.esm.88e2763d.js","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:Lr?.name??"settings",path:Lr?.path??"/settings",meta:Lr||{},alias:Lr?.alias||[],redirect:Lr?.redirect||void 0,component:()=>Ee(()=>import("./settings.59b94bec.js"),["./settings.59b94bec.js","./NIconTitle.vue.636dd062.js","./NSwitch.vue.1b0e3364.js","./NSelect.vue.90e01b18.js","./NCheckbox.vue.002c643b.js"],import.meta.url).then(e=>e.default||e)}],Dw={scrollBehavior(e,t,n){const r=$e();let s=n||void 0;if(!s&&t&&e&&e.meta.scrollToTop!==!1&&Bw(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:Rc(e.hash)}}const o=a=>!!(a.meta.pageTransition??Ai),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(a=>{r.hooks.hookOnce(i,async()=>{await Dt(),e.hash&&(s={el:e.hash,top:Rc(e.hash)}),a(s)})})}};function Rc(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Bw(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Fw={},Nr={...Fw,...Dw},Hw=td(async e=>{let t,n;if(!e.meta?.validate)return;const r=$e(),s=ft();if(([t,n]=xi(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=xa({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=s.beforeResolve(c=>{if(a(),c===e){const l=s.afterEach(async()=>{l(),await At(r,$n,[i]),window.history.pushState({},"",e.fullPath)});return!1}})}),Uw=td(e=>{if(e.path==="/"&&!Ew.value)return nd("/modules/overview")}),Ww=[Hw,Uw],Bi={};function zw(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 c=s.slice(a);return c[0]!=="/"&&(c="/"+c),Pl(c,"")}return Pl(n,e)+r+s}const Vw=vt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=wa().app.baseURL;Nr.hashMode&&!r.includes("#")&&(r+="#");const s=Nr.history?.(r)??(Nr.hashMode?Ry(r):zf(r)),o=Nr.routes?.($c)??$c,i=zw(r,window.location),a=pv({...Nr,history:s,routes:o});e.vueApp.use(a);const c=es(a.currentRoute.value);a.afterEach((m,T)=>{c.value=T}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const l=es(a.resolve(i)),d=()=>{l.value=a.currentRoute.value};e.hook("page:finish",d),a.afterEach((m,T)=>{m.matched[0]?.components?.default===T.matched[0]?.components?.default&&d()});const u={};for(const m in l.value)u[m]=ue(()=>l.value[m]);e._route=ct(u),e._middleware=e._middleware||{global:[],named:{}};const f=$o();try{[t,n]=xi(()=>a.isReady()),await t,n()}catch(m){[t,n]=xi(()=>At(e,$n,[m])),await t,n()}const b=or("_layout");return a.beforeEach(async(m,T)=>{m.meta=ct(m.meta),e.isHydrating&&b.value&&!wn(m.meta.layout)&&(m.meta.layout=b.value),e._processingMiddleware=!0;const S=new Set([...Ww,...e._middleware.global]);for(const w of m.matched){const h=w.meta.middleware;if(h)if(Array.isArray(h))for(const v of h)S.add(v);else S.add(h)}for(const w of S){const h=typeof w=="string"?e._middleware.named[w]||await Bi[w]?.().then(P=>P.default||P):w;if(!h)throw new Error(`Unknown route middleware: '${w}'.`);const v=await At(e,h,[m,T]);if(!e.payload.serverRendered&&e.isHydrating&&(v===!1||v instanceof Error)){const P=v||Ci({statusCode:404,statusMessage:`Page Not Found: ${i}`});return await At(e,$n,[P]),!1}if(v||v===!1)return v}}),a.onError(()=>{delete e._processingMiddleware}),a.afterEach(async(m,T,S)=>{delete e._processingMiddleware,!e.isHydrating&&f.value&&await At(e,wv),m.matched.length===0&&await At(e,$n,[Ci({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`})])}),e.hooks.hookOnce("app:created",async()=>{try{await a.replace({...a.resolve(i),name:void 0,force:!0})}catch(m){await At(e,$n,[m])}}),{provide:{router:a}}}},1),Rn={default:()=>Ee(()=>import("./default.d59c7459.js"),[],import.meta.url).then(e=>e.default||e),full:()=>Ee(()=>import("./full.e43d885f.js"),[],import.meta.url).then(e=>e.default||e),none:()=>Ee(()=>import("./none.dd2b9c08.js"),[],import.meta.url).then(e=>e.default||e)},Gw=vt({name:"nuxt:prefetch",setup(e){const t=ft();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Rn[r]=="function"&&await Rn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(us(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 Bi[i]=="function"&&Bi[i]();s&&typeof Rn[s]=="function"&&Rn[s]()})}}),qw="__NUXT_COLOR_MODE__",Kw="ColorScheme",Jw="nuxt-color-mode",St=window[qw],Xw=vt(e=>{const t=or("color-mode",()=>ct({preference:St.preference,value:St.value,unknown:!1,forced:!1})).value;ft().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"?St.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=St.getColorScheme())}))}Ie(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=St.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(Jw,s))},{immediate:!0}),Ie(()=>t.value,(s,o)=>{St.removeColorScheme(o),St.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=St.preference,t.value=St.value,t.unknown=!1)}),e.provide("colorMode",t)});const Yw=vt(()=>{}),Qw=vt({name:"nuxt:chunk-reload",setup(e){const t=ft(),n=wa(),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:So(n.app.baseURL,o.fullPath);nb({path:a,persistState:!0})}})}}),Zw=vt({name:"nuxt:payload",setup(e){eb()&&(e.hooks.hook("link:prefetch",async t=>{xo(t).protocol||await Xl(t)}),ft().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Xl(t.path);r&&Object.assign(e.static.data,r.data)}))}});function Ht(e){return e.split("-")[0]}function Dn(e){return e.split("-")[1]}function fs(e){return["top","bottom"].includes(Ht(e))?"x":"y"}function Oa(e){return e==="y"?"height":"width"}function Oc(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(Ht(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=fs(r),c=Oa(a);switch(Dn(r)){case"start":i[a]=i[a]-(t[c]/2-n[c]/2);break;case"end":i[a]=i[a]+(t[c]/2-n[c]/2);break}return i}const e1=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:c,y:l}=Oc({...a,placement:r}),d=r,u={};for(let f=0;f<o.length;f++){const{name:b,fn:m}=o[f],{x:T,y:S,data:w,reset:h}=await m({x:c,y:l,initialPlacement:r,placement:d,strategy:s,middlewareData:u,rects:a,platform:i,elements:{reference:e,floating:t}});if(c=T??c,l=S??l,u={...u,[b]:w??{}},h){typeof h=="object"&&(h.placement&&(d=h.placement),h.rects&&(a=h.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):h.rects),{x:c,y:l}=Oc({...a,placement:d})),f=-1;continue}}return{x:c,y:l,placement:d,strategy:s,middlewareData:u}};function t1(e){return{top:0,right:0,bottom:0,left:0,...e}}function Md(e){return typeof e!="number"?t1(e):{top:e,right:e,bottom:e,left:e}}function Fi(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function No(e,t){t===void 0&&(t={});const{x:n,y:r,platform:s,rects:o,elements:i,strategy:a}=e,{boundary:c="clippingParents",rootBoundary:l="viewport",elementContext:d="floating",altBoundary:u=!1,padding:f=0}=t,b=Md(f),T=i[u?d==="floating"?"reference":"floating":d],S=await s.getClippingClientRect({element:await s.isElement(T)?T:T.contextElement||await s.getDocumentElement({element:i.floating}),boundary:c,rootBoundary:l}),w=Fi(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:S.top-w.top+b.top,bottom:w.bottom-S.bottom+b.bottom,left:S.left-w.left+b.left,right:w.right-S.right+b.right}}const n1=Math.min,hn=Math.max;function Hi(e,t,n){return hn(e,n1(t,n))}const r1=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:s,y:o,placement:i,rects:a,platform:c}=t;if(n==null)return{};const l=Md(r),d={x:s,y:o},u=Ht(i),f=fs(u),b=Oa(f),m=await c.getDimensions({element:n}),T=f==="y"?"top":"left",S=f==="y"?"bottom":"right",w=a.reference[b]+a.reference[f]-d[f]-a.floating[b],h=d[f]-a.reference[f],v=await c.getOffsetParent({element:n}),P=v?f==="y"?v.clientHeight||0:v.clientWidth||0:0,k=w/2-h/2,p=l[T],g=P-m[b]-l[S],_=P/2-m[b]/2+k,y=Hi(p,_,g);return{data:{[f]:y,centerOffset:_-y}}}}),s1={left:"right",right:"left",bottom:"top",top:"bottom"};function ro(e){return e.replace(/left|right|bottom|top/g,t=>s1[t])}function Dd(e,t){const n=Dn(e)==="start",r=fs(e),s=Oa(r);let o=r==="x"?n?"right":"left":n?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=ro(o)),{main:o,cross:ro(o)}}const o1={start:"end",end:"start"};function Ui(e){return e.replace(/start|end/g,t=>o1[t])}const i1=["top","right","bottom","left"],a1=i1.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);function l1(e,t,n){return(e?[...n.filter(s=>Dn(s)===e),...n.filter(s=>Dn(s)!==e)]:n.filter(s=>Ht(s)===s)).filter(s=>e?Dn(s)===e||(t?Ui(s)!==s:!1):!0)}const c1=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,s,o,i,a;const{x:c,y:l,rects:d,middlewareData:u,placement:f}=t,{alignment:b=null,allowedPlacements:m=a1,autoAlignment:T=!0,...S}=e;if((n=u.autoPlacement)!=null&&n.skip)return{};const w=l1(b,T,m),h=await No(t,S),v=(r=(s=u.autoPlacement)==null?void 0:s.index)!=null?r:0,P=w[v],{main:k,cross:p}=Dd(P,d);if(f!==P)return{x:c,y:l,reset:{placement:w[0]}};const g=[h[Ht(P)],h[k],h[p]],_=[...(o=(i=u.autoPlacement)==null?void 0:i.overflows)!=null?o:[],{placement:P,overflows:g}],y=w[v+1];if(y)return{data:{index:v+1,overflows:_},reset:{placement:y}};const x=_.slice().sort((A,O)=>A.overflows[0]-O.overflows[0]),E=(a=x.find(A=>{let{overflows:O}=A;return O.every(L=>L<=0)}))==null?void 0:a.placement;return{data:{skip:!0},reset:{placement:E??x[0].placement}}}}};function u1(e){const t=ro(e);return[Ui(e),t,Ui(t)]}const f1=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:c=!0,crossAxis:l=!0,fallbackPlacements:d,fallbackStrategy:u="bestFit",flipAlignment:f=!0,...b}=e,m=Ht(s),S=d||(m===a||!f?[ro(a)]:u1(a)),w=[a,...S],h=await No(t,b),v=[];let P=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&v.push(h[m]),l){const{main:_,cross:y}=Dd(s,i);v.push(h[_],h[y])}if(P=[...P,{placement:s,overflows:v}],!v.every(_=>_<=0)){var k,p;const _=((k=(p=o.flip)==null?void 0:p.index)!=null?k:0)+1,y=w[_];if(y)return{data:{index:_,overflows:P},reset:{placement:y}};let x="bottom";switch(u){case"bestFit":{var g;const E=(g=P.slice().sort((A,O)=>A.overflows.filter(L=>L>0).reduce((L,W)=>L+W,0)-O.overflows.filter(L=>L>0).reduce((L,W)=>L+W,0))[0])==null?void 0:g.placement;E&&(x=E);break}case"initialPlacement":x=a;break}return{data:{skip:!0},reset:{placement:x}}}return{}}}};function d1(e){let{placement:t,rects:n,value:r}=e;const s=Ht(t),o=["left","top"].includes(s)?-1:1,i=typeof r=="function"?r({...n,placement:t}):r,{mainAxis:a,crossAxis:c}=typeof i=="number"?{mainAxis:i,crossAxis:0}:{mainAxis:0,crossAxis:0,...i};return fs(s)==="x"?{x:c,y:a*o}:{x:a*o,y:c}}const p1=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=d1({placement:s,rects:o,value:e});return{x:n+i.x,y:r+i.y,data:i}}}};function h1(e){return e==="x"?"y":"x"}const m1=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:S=>{let{x:w,y:h}=S;return{x:w,y:h}}},...c}=e,l={x:n,y:r},d=await No(t,c),u=fs(Ht(s)),f=h1(u);let b=l[u],m=l[f];if(o){const S=u==="y"?"top":"left",w=u==="y"?"bottom":"right",h=b+d[S],v=b-d[w];b=Hi(h,b,v)}if(i){const S=f==="y"?"top":"left",w=f==="y"?"bottom":"right",h=m+d[S],v=m-d[w];m=Hi(h,m,v)}const T=a.fn({...t,[u]:b,[f]:m});return{...T,data:{x:T.x-n,y:T.y-r}}}}},g1=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 c=await No(t,a),l=Ht(r),d=Dn(r)==="end";let u,f;l==="top"||l==="bottom"?(u=l,f=d?"left":"right"):(f=l,u=d?"top":"bottom");const b=hn(c.left,0),m=hn(c.right,0),T=hn(c.top,0),S=hn(c.bottom,0),w={height:s.floating.height-(["left","right"].includes(r)?2*(T!==0||S!==0?T+S:hn(c.top,c.bottom)):c[u]),width:s.floating.width-(["top","bottom"].includes(r)?2*(b!==0||m!==0?b+m:hn(c.left,c.right)):c[f])};return i?.({...w,...s}),{data:{skip:!0},reset:{rects:!0}}}}};function La(e){return e?.toString()==="[object Window]"}function an(e){if(e==null)return window;if(!La(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Co(e){return an(e).getComputedStyle(e)}function jt(e){return La(e)?"":e?(e.nodeName||"").toLowerCase():""}function Mt(e){return e instanceof an(e).HTMLElement}function so(e){return e instanceof an(e).Element}function _1(e){return e instanceof an(e).Node}function Bd(e){const t=an(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Io(e){const{overflow:t,overflowX:n,overflowY:r}=Co(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function y1(e){return["table","td","th"].includes(jt(e))}function Fd(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=Co(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 Lc=Math.min,qr=Math.max,oo=Math.round;function Xn(e,t){t===void 0&&(t=!1);const n=e.getBoundingClientRect();let r=1,s=1;return t&&Mt(e)&&(r=e.offsetWidth>0&&oo(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&oo(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 ln(e){return((_1(e)?e.ownerDocument:e.document)||window.document).documentElement}function jo(e){return La(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Hd(e){return Xn(ln(e)).left+jo(e).scrollLeft}function v1(e){const t=Xn(e);return oo(t.width)!==e.offsetWidth||oo(t.height)!==e.offsetHeight}function b1(e,t,n){const r=Mt(t),s=ln(t),o=Xn(e,r&&v1(t));let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((jt(t)!=="body"||Io(s))&&(i=jo(t)),Mt(t)){const c=Xn(t,!0);a.x=c.x+t.clientLeft,a.y=c.y+t.clientTop}else s&&(a.x=Hd(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}function Mo(e){return jt(e)==="html"?e:e.assignedSlot||e.parentNode||(Bd(e)?e.host:null)||ln(e)}function Nc(e){return!Mt(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function w1(e){let t=Mo(e);for(;Mt(t)&&!["html","body"].includes(jt(t));){if(Fd(t))return t;t=t.parentNode}return null}function Wi(e){const t=an(e);let n=Nc(e);for(;n&&y1(n)&&getComputedStyle(n).position==="static";)n=Nc(n);return n&&(jt(n)==="html"||jt(n)==="body"&&getComputedStyle(n).position==="static"&&!Fd(n))?t:n||w1(e)||t}function Cc(e){return{width:e.offsetWidth,height:e.offsetHeight}}function k1(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=Mt(n),o=ln(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((s||!s&&r!=="fixed")&&((jt(n)!=="body"||Io(o))&&(i=jo(n)),Mt(n))){const c=Xn(n,!0);a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{...t,x:t.x-i.scrollLeft+a.x,y:t.y-i.scrollTop+a.y}}function T1(e){const t=an(e),n=ln(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 P1(e){var t;const n=ln(e),r=jo(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=qr(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),i=qr(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let a=-r.scrollLeft+Hd(e);const c=-r.scrollTop;return Co(s||n).direction==="rtl"&&(a+=qr(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:i,x:a,y:c}}function Ud(e){return["html","body","#document"].includes(jt(e))?e.ownerDocument.body:Mt(e)&&Io(e)?e:Ud(Mo(e))}function io(e,t){var n;t===void 0&&(t=[]);const r=Ud(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=an(r),i=s?[o].concat(o.visualViewport||[],Io(r)?r:[]):r,a=t.concat(i);return s?a:a.concat(io(Mo(i)))}function S1(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Bd(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function x1(e){const t=Xn(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 Ic(e,t){return t==="viewport"?Fi(T1(e)):so(t)?x1(t):Fi(P1(ln(e)))}function E1(e){const t=io(Mo(e)),r=["absolute","fixed"].includes(Co(e).position)&&Mt(e)?Wi(e):e;return so(r)?t.filter(s=>so(s)&&S1(s,r)&&jt(s)!=="body"):[]}function A1(e){let{element:t,boundary:n,rootBoundary:r}=e;const o=[...n==="clippingParents"?E1(t):[].concat(n),r],i=o[0],a=o.reduce((c,l)=>{const d=Ic(t,l);return c.top=qr(d.top,c.top),c.right=Lc(d.right,c.right),c.bottom=Lc(d.bottom,c.bottom),c.left=qr(d.left,c.left),c},Ic(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 $1={getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:b1(t,Wi(n),r),floating:{...Cc(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>k1(e),getOffsetParent:e=>{let{element:t}=e;return Wi(t)},isElement:e=>so(e),getDocumentElement:e=>{let{element:t}=e;return ln(t)},getClippingClientRect:e=>A1(e),getDimensions:e=>{let{element:t}=e;return Cc(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},R1=(e,t,n)=>e1(e,t,{platform:$1,...n});var O1=Object.defineProperty,L1=Object.defineProperties,N1=Object.getOwnPropertyDescriptors,jc=Object.getOwnPropertySymbols,C1=Object.prototype.hasOwnProperty,I1=Object.prototype.propertyIsEnumerable,Mc=(e,t,n)=>t in e?O1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rt=(e,t)=>{for(var n in t||(t={}))C1.call(t,n)&&Mc(e,n,t[n]);if(jc)for(var n of jc(t))I1.call(t,n)&&Mc(e,n,t[n]);return e},ds=(e,t)=>L1(e,N1(t));function Wd(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Wd(e[n],t[n]):e[n]=t[n])}const Lt={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 Yn(e,t){let n=Lt.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Lt.themes[n.$extend]||{}:(n=null,r=Lt[t]):n=null;while(n);return r}function j1(e){const t=[e];let n=Lt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Lt.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Dc(e){const t=[e];let n=Lt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Lt.themes[n.$extend]||{}):n=null;while(n);return t}let Tn=!1;if(typeof window<"u"){Tn=!1;try{const e=Object.defineProperty({},"passive",{get(){Tn=!0}});window.addEventListener("test",null,e)}catch{}}let zd=!1;typeof window<"u"&&typeof navigator<"u"&&(zd=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Vd=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Bc={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},Fc={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function Hc(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function ii(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const mt=[];let dn=null;const Uc={};function Wc(e){let t=Uc[e];return t||(t=Uc[e]=[]),t}let zi=function(){};typeof window<"u"&&(zi=window.Element);function we(e){return function(t){return Yn(t.theme,e)}}const ai="__floating-vue__popper";var Gd=()=>Te({name:"VPopper",provide(){return{[ai]:{parentPopper:this}}},inject:{[ai]:{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:we("disabled")},positioningDisabled:{type:Boolean,default:we("positioningDisabled")},placement:{type:String,default:we("placement"),validator:e=>Vd.includes(e)},delay:{type:[String,Number,Object],default:we("delay")},distance:{type:[Number,String],default:we("distance")},skidding:{type:[Number,String],default:we("skidding")},triggers:{type:Array,default:we("triggers")},showTriggers:{type:[Array,Function],default:we("showTriggers")},hideTriggers:{type:[Array,Function],default:we("hideTriggers")},popperTriggers:{type:Array,default:we("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:we("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:we("popperHideTriggers")},container:{type:[String,Object,zi,Boolean],default:we("container")},boundary:{type:[String,zi],default:we("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:we("strategy")},autoHide:{type:[Boolean,Function],default:we("autoHide")},handleResize:{type:Boolean,default:we("handleResize")},instantMove:{type:Boolean,default:we("instantMove")},eagerMount:{type:Boolean,default:we("eagerMount")},popperClass:{type:[String,Array,Object],default:we("popperClass")},computeTransformOrigin:{type:Boolean,default:we("computeTransformOrigin")},autoMinSize:{type:Boolean,default:we("autoMinSize")},autoSize:{type:[Boolean,String],default:we("autoSize")},autoMaxSize:{type:Boolean,default:we("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:we("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:we("preventOverflow")},overflowPadding:{type:[Number,String],default:we("overflowPadding")},arrowPadding:{type:[Number,String],default:we("arrowPadding")},arrowOverflow:{type:Boolean,default:we("arrowOverflow")},flip:{type:Boolean,default:we("flip")},shift:{type:Boolean,default:we("shift")},shiftCrossAxis:{type:Boolean,default:we("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:we("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:ds(Rt({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ai])==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:Rt(Rt({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(p1({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?t.middleware.push(c1({alignment:(e=this.placement.split("-")[1])!=null?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(m1({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&t.middleware.push(f1({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(r1({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:o,middlewareData:i})=>{let a;const{centerOffset:c}=i.arrow;return s.startsWith("top")||s.startsWith("bottom")?a=Math.abs(c)>o.reference.width/2:a=Math.abs(c)>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 c;if((c=a.autoSize)!=null&&c.skip)return{};let l,d;return i.startsWith("top")||i.startsWith("bottom")?l=o.reference.width:d=o.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=l!=null?`${l}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(g1({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 R1(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:r.x,y:r.y,placement:r.placement,strategy:r.strategy,arrow:Rt(Rt({},r.middlewareData.arrow),r.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),dn&&this.instantMove&&dn.instantMove&&dn!==this.parentPopper){dn.$_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&&(dn=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 ii(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...io(this.$_referenceNode),...io(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<mt.length;n++)t=mt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}mt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Dc(this.theme))Wc(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 ii(),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,Hc(mt,this),mt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Dc(this.theme)){const r=Wc(n);Hc(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}dn===this&&(dn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=Yn(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 ii(),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,Bc,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Bc,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Fc,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Fc,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,Tn?{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(Kr>=e.left&&Kr<=e.right&&Jr>=e.top&&Jr<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Kr-qt,r=Jr-Kt,o=t.left+t.width/2-qt+(t.top+t.height/2)-Kt+t.width+t.height,i=qt+n*o,a=Kt+r*o;return Rs(qt,Kt,i,a,t.left,t.top,t.left,t.bottom)||Rs(qt,Kt,i,a,t.left,t.top,t.right,t.top)||Rs(qt,Kt,i,a,t.right,t.top,t.right,t.bottom)||Rs(qt,Kt,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"&&(zd?(document.addEventListener("touchstart",zc,Tn?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",D1,Tn?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",zc,!0),window.addEventListener("click",M1,!0)),window.addEventListener("resize",H1));function zc(e){for(let t=0;t<mt.length;t++){const n=mt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function M1(e){qd(e)}function D1(e){qd(e,!0)}function qd(e,t=!1){const n={};for(let r=mt.length-1;r>=0;r--){const s=mt[r];try{const o=s.$_containsGlobalTarget=B1(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&Vc(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&&Vc(i,i.$_containsGlobalTarget,e);){i.$_handleGlobalClose(e,t);i=i.parentPopper}}})}catch{}}}function B1(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Vc(e,t,n){return n.closeAllPopover||n.closePopover&&t||F1(e,n)&&!t}function F1(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function H1(e){for(let t=0;t<mt.length;t++)mt[t].$_computePosition(e)}let qt=0,Kt=0,Kr=0,Jr=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{qt=Kr,Kt=Jr,Kr=e.clientX,Jr=e.clientY},Tn?{passive:!0}:void 0);function Rs(e,t,n,r,s,o,i,a){const c=((i-s)*(t-o)-(a-o)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t)),l=((n-e)*(t-o)-(r-t)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t));return c>=0&&c<=1&&l>=0&&l<=1}var Do=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const U1={extends:Gd()};function W1(e,t,n,r,s,o){return ie(),Se("div",{ref:"reference",class:Me(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[_t(e.$slots,"default",ou(va(e.slotData)))],2)}var z1=Do(U1,[["render",W1]]);function V1(){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 Is;function Vi(){Vi.init||(Vi.init=!0,Is=V1()!==-1)}var Bo={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Vi(),Dt(()=>{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",Is&&this.$el.appendChild(e),e.data="about:blank",Is||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&&(!Is&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const G1=wh();vh("data-v-b329ee4c");const q1={class:"resize-observer",tabindex:"-1"};bh();const K1=G1((e,t,n,r,s,o)=>(ie(),Ne("div",q1)));Bo.render=K1;Bo.__scopeId="data-v-b329ee4c";Bo.__file="src/components/ResizeObserver.vue";var Kd=(e="theme")=>({computed:{themeClass(){return j1(this[e])}}});const J1=Te({name:"VPopperContent",components:{ResizeObserver:Bo},mixins:[Kd()],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}}}),X1=["id","aria-hidden","tabindex","data-popper-placement"],Y1={ref:"inner",class:"v-popper__inner"},Q1=he("div",{class:"v-popper__arrow-outer"},null,-1),Z1=he("div",{class:"v-popper__arrow-inner"},null,-1),ek=[Q1,Z1];function tk(e,t,n,r,s,o){const i=nn("ResizeObserver");return ie(),Se("div",{id:e.popperId,ref:"popover",class:Me(["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:Yt(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]=Qm(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[he("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),he("div",{class:"v-popper__wrapper",style:Yt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[he("div",Y1,[e.mounted?(ie(),Se(je,{key:0},[he("div",null,[_t(e.$slots,"default")]),e.handleResize?(ie(),Ne(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):ut("",!0)],64)):ut("",!0)],512),he("div",{ref:"arrow",class:"v-popper__arrow-container",style:Yt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},ek,4)],4)],46,X1)}var Jd=Do(J1,[["render",tk]]),Xd={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 nk=Te({name:"VPopperWrapper",components:{Popper:z1,PopperContent:Jd},mixins:[Xd,Kd("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 rk(e,t,n,r,s,o){const i=nn("PopperContent"),a=nn("Popper");return ie(),Ne(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Me([e.themeClass])},{default:xe(({popperId:c,isShown:l,shouldMountContent:d,skipTransition:u,autoHide:f,show:b,hide:m,handleResize:T,onResize:S,classes:w,result:h})=>[_t(e.$slots,"default",{shown:l,show:b,hide:m}),le(i,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:l,mounted:d,"skip-transition":u,"auto-hide":f,"handle-resize":T,classes:w,result:h,onHide:m,onResize:S},{default:xe(()=>[_t(e.$slots,"popper",{shown:l,hide:m})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}var Na=Do(nk,[["render",rk]]);const sk=Te(ds(Rt({},Na),{name:"VDropdown",vPopperTheme:"dropdown"})),ok=Te(ds(Rt({},Na),{name:"VMenu",vPopperTheme:"menu"})),ik=Te(ds(Rt({},Na),{name:"VTooltip",vPopperTheme:"tooltip"})),ak=Te({name:"VTooltipDirective",components:{Popper:Gd(),PopperContent:Jd},mixins:[Xd],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Yn(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Yn(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}}}),lk=["innerHTML"],ck=["textContent"];function uk(e,t,n,r,s,o){const i=nn("PopperContent"),a=nn("Popper");return ie(),Ne(a,zn({ref:"popper"},e.$attrs,{theme:e.theme,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:xe(({popperId:c,isShown:l,shouldMountContent:d,skipTransition:u,autoHide:f,hide:b,handleResize:m,onResize:T,classes:S,result:w})=>[le(i,{ref:"popperContent",class:Me({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:l,mounted:d,"skip-transition":u,"auto-hide":f,"handle-resize":m,classes:S,result:w,onHide:b,onResize:T},{default:xe(()=>[e.html?(ie(),Se("div",{key:0,innerHTML:e.finalContent},null,8,lk)):(ie(),Se("div",{key:1,textContent:Bn(e.finalContent)},null,8,ck))]),_: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 fk=Do(ak,[["render",uk]]);const Yd="v-popper--has-tooltip";function dk(e,t){let n=e.placement;if(!n&&t)for(const r of Vd)t[r]&&(n=r);return n||(n=Yn(e.theme||"tooltip","placement")),n}function Qd(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=dk(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let li,as,pk=0;function hk(){if(li)return;as=te([]),li=bf({name:"VTooltipDirectiveApp",setup(){return{directives:as}},render(){return this.directives.map(t=>Ue(fk,ds(Rt({},t.options),{shown:t.shown||t.options.shown,key:t.id})))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),li.mount(e)}function mk(e,t,n){hk();const r=te(Qd(e,t,n)),s=te(!1),o={id:pk++,options:r,shown:s};return as.value.push(o),e.classList&&e.classList.add(Yd),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function Zd(e){if(e.$_popper){const t=as.value.indexOf(e.$_popper.item);t!==-1&&as.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Yd)}function Gc(e,{value:t,modifiers:n}){const r=Qd(e,t,n);if(!r.content||Yn(r.theme||"tooltip","disabled"))Zd(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=mk(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}var gk={beforeMount:Gc,updated:Gc,beforeUnmount(e){Zd(e)}};function qc(e){e.addEventListener("click",ep),e.addEventListener("touchstart",tp,Tn?{passive:!0}:!1)}function Kc(e){e.removeEventListener("click",ep),e.removeEventListener("touchstart",tp),e.removeEventListener("touchend",np),e.removeEventListener("touchcancel",rp)}function ep(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function tp(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",np),t.addEventListener("touchcancel",rp)}}function np(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 rp(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var _k={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&qc(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?qc(e):Kc(e))},beforeUnmount(e){Kc(e)}};function yk(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Wd(Lt,t),e.directive("tooltip",gk),e.directive("close-popper",_k),e.component("VTooltip",ik),e.component("VDropdown",sk),e.component("VMenu",ok))}const vk={version:"2.0.0-beta.20",install:yk,options:Lt},bk=vt(e=>{e.vueApp.use(vk)}),wk=vt(()=>{const e=Ke(),t=n0(),n=ft();window.__NUXT_DEVTOOLS_VIEW__={setClient(r){e.value!==r&&(e.value=r,r.hooks.hook("host:update:reactivity",()=>{e.value&&(e.value={...e.value})}),r.hooks.hook("host:inspector:close",()=>{n.currentRoute.value.path==="/__inspecting"&&n.replace("/modules/components")}),r.hooks.hook("host:inspector:update",s=>{t.value=s}),r.hooks.hook("host:inspector:click",async(s,o,i,a)=>{const c=`./${o}:${i}:${a}`;await Ve.openInEditor(c)}),console.log("[nuxt-devtools] Client connected",r))}},n.afterEach(()=>{const r=n.currentRoute.value.path;r.includes("__")||e.value?.hooks.callHook("devtools:navigate",r)})}),kk=[b_,dy,Vw,Gw,Xw,Yw,Qw,Zw,bk,wk],Tk=Te({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=Pk({duration:e.duration,throttle:e.throttle}),r=$e();return r.hook("page:start",n.start),r.hook("page:finish",n.finish),sr(n.clear),()=>Ue("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 Pk(e){const t=te(0),n=te(!1),r=ue(()=>1e4/e.duration);let s=null,o=null;function i(){c(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,u()},e.throttle):(n.value=!0,u())}function a(){t.value=100,d()}function c(){clearInterval(s),clearTimeout(o),s=null,o=null}function l(f){t.value=Math.min(100,t.value+f)}function d(){c(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function u(){s=setInterval(()=>{l(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:c}}function Sk(){const e=Symbol("singleton");return[function(n){rt()?.appContext.app.provide(e,n)},function(n){return Ye(e,n)}]}const[xk,QP]=Sk(),Ek=Te({__name:"Notification",setup(e){const t=te(!1),n=te(),r=te();return xk((s,o,i=1500)=>{r.value=s,n.value=o,t.value=!0,setTimeout(()=>{t.value=!1},i)}),(s,o)=>(ie(),Se("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-50":"","text-center":"",class:Me(Q(t)?"":"pointer-events-none overflow-hidden")},[he("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","text-primary":"","transition-all":"","duration-300":"","bg-base":"",style:Yt(Q(t)?{}:{transform:"translateY(-300%)"}),class:Me(Q(t)?"shadow":"shadow-none")},[Q(n)?(ie(),Se("div",{key:0,class:Me(Q(n))},null,2)):ut("",!0),he("div",null,Bn(Q(r)),1)],6)],2))}}),Fo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Ak={},$k={class:"n-loading n-panel-grids-center"},Rk={class:"flex flex-col animate-pulse items-center text-lg"},Ok=he("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function Lk(e,t){return ie(),Se("div",$k,[he("div",Rk,[Ok,_t(e.$slots,"default",{},()=>[at(" Loading... ")])])])}const Nk=Fo(Ak,[["render",Lk]]),sp=Te({__name:"NIcon",props:{icon:null},setup(e){return(t,n)=>(ie(),Se("div",{class:Me(["n-icon",e.icon])},null,2))}}),op=Te({__name:"NButton",props:{to:null,icon:null},setup(e){return(t,n)=>{const r=sp;return ie(),Ne(ma(e.to?Q(Ea):"button"),zn({to:e.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:xe(()=>[_t(t.$slots,"icon",{},()=>[e.icon?(ie(),Ne(r,{key:0,icon:e.icon,class:"n-button-icon"},null,8,["icon"])):ut("",!0)]),_t(t.$slots,"default")]),_:3},16,["to"])}}}),Ck=Te({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=te(!1);return Ft(()=>{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 Se(a,n,i)}}}),Ik={name:Kw,props:{placeholder:String,tag:{type:String,default:"span"}}};function jk(e,t,n,r,s,o){const i=Ck;return ie(),Ne(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:xe(()=>[_t(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const Mk=Fo(Ik,[["render",jk]]),Dk=Te({__name:"NDarkToggle",setup(e){const t=Aa(),n=ue({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),r=E0(n),s={mode:t,isDark:n,toggle:r};return(o,i)=>{const a=Mk;return ie(),Ne(a,{tag:"span"},{default:xe(()=>[_t(o.$slots,"default",ou(va(s)))]),_:3})}}}),Bk={key:0,px3:"",py2:"",border:"b base",flex:"~ col gap-1"},Fk=he("div",{"text-sm":"",op50:""}," Dock devtools to ",-1),Hk={flex:"~ gap-1","text-lg":""},Uk={px3:"",py2:"",border:"b base",flex:"~ gap-2"},Wk=he("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),zk=he("div",{"carbon-settings-adjust":"","translate-y--1px":""},null,-1),Vk={px3:"",py2:"",flex:"~ gap2"},Gk=Te({__name:"DockingPanel",setup(e){const t=Lw(),n=Ke(),r=$e();function s(){r.hooks.callHookParallel("app:data:refresh",Object.keys(r.payload.data)),n.value&&(n.value={...n.value})}function o(){location.reload()}return(i,a)=>{const c=op,l=Dk;return ie(),Se("div",null,[Q(n)?(ie(),Se("div",Bk,[Fk,he("div",Hk,[he("button",{"i-carbon-open-panel-filled-bottom":"",class:Me(Q(t).position==="bottom"?"text-primary":"op50"),onClick:a[0]||(a[0]=d=>Q(t).position="bottom")},null,2),he("button",{"i-carbon-open-panel-filled-right":"",class:Me(Q(t).position==="right"?"text-primary":"op50"),onClick:a[1]||(a[1]=d=>Q(t).position="right")},null,2),he("button",{"i-carbon-open-panel-filled-left":"",class:Me(Q(t).position==="left"?"text-primary":"op50"),onClick:a[2]||(a[2]=d=>Q(t).position="left")},null,2),he("button",{"i-carbon-open-panel-filled-top":"",class:Me(Q(t).position==="top"?"text-primary":"op50"),onClick:a[3]||(a[3]=d=>Q(t).position="top")},null,2)])])):ut("",!0),he("div",Uk,[le(l,null,{default:xe(({toggle:d,isDark:u})=>[le(c,{n:"sm primary",onClick:f=>d()},{default:xe(()=>[Wk,at(" "+Bn(u.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),le(c,{n:"sm primary",to:"/settings"},{default:xe(()=>[zk,at(" Settings ")]),_:1})]),he("div",Vk,[le(c,{n:"solid primary xs",onClick:s},{default:xe(()=>[at(" Refetch Data ")]),_:1}),le(c,{n:"solid primary xs",onClick:o},{default:xe(()=>[at(" Refresh Page ")]),_:1})])])}}}),qk=["src","alt"],Kk=["title"],ip=Te({__name:"TabIcon",props:{icon:null,title:null,showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>e.icon&&(e.icon.startsWith("/")||e.icon.match(/^https?:/))?(ie(),Se("img",zn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:e.icon,alt:e.title}),null,16,qk)):(ie(),Se("div",zn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:e.icon||"carbon-bring-forward",title:e.showTitle?e.title:void 0}),null,16,Kk))}}),Jk={"translate-y-0.5px":""},Xk={key:0,hidden:"","lg:block":""},Yk=Te({__name:"SideNavItem",props:{tab:null},setup(e){const t=e,n=Ao(),r=ue(()=>"badge"in t.tab&&t.tab.badge?.()),s=ue(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=ue(()=>n.path.startsWith(s.value));return(i,a)=>{const c=ip,l=Ea,d=nn("VTooltip");return ie(),Ne(d,{placement:"right"},{popper:xe(()=>[he("div",null,Bn(e.tab.title),1),"extraTabVNode"in e.tab&&e.tab.extraTabVNode?(ie(),Se("div",Xk,[(ie(),Ne(ma(e.tab.extraTabVNode)))])):ut("",!0)]),default:xe(()=>[le(l,{to:Q(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"},{default:xe(()=>[le(c,{"text-xl":"",icon:e.tab.icon,title:e.tab.title,"show-title":!1},null,8,["icon","title"]),Q(r)?(ie(),Se("div",{key:0,absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Me(Q(o)?"bg-primary":"bg-gray")},[he("span",Jk,Bn(Q(r)),1)],2)):ut("",!0)]),_:1},8,["to"])]),_:1})}}}),Qk={border:"r base",flex:"~ col","z-100":"","h-full":"","items-center":"","of-hidden":"","bg-base":""},Zk={flex:"~ none col items-center"},eT=["title"],tT=he("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),nT={flex:"~ auto col gap-0.5 items-center","of-auto":"",class:"no-scrollbar",py1:""},rT={key:0,my1:"","h-1px":"","w-8":"",border:"b base"},sT=he("div",{"flex-auto":""},null,-1),oT={flex:"~ none col items-center"},iT=he("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),aT=Te({__name:"SideNav",setup(e){const t=Ke(),n=Iw(),r=te(!1),s=te();return U0(s,()=>{r.value=!1},{detectIframe:!0}),(o,i)=>{const a=Gk,c=nn("VDropdown"),l=Yk,d=ip,u=Ea;return ie(),Se("div",Qk,[he("div",Zk,[le(c,{placement:"left-start",distance:20,triggers:[],shown:Q(r),"auto-hide":!1},{popper:xe(()=>[le(a,{ref_key:"panel",ref:s},null,512)]),default:xe(()=>[he("button",{"i-logos-nuxt-icon":"",my3:"","h-6":"","w-6":"","pb-2":"","text-lg":"",class:Me(Q(t)?"":"saturate-0"),title:Q(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:i[0]||(i[0]=f=>r.value=!Q(r))},null,10,eT)]),_:1},8,["shown"]),tT]),he("div",nT,[(ie(!0),Se(je,null,Xa(Q(n),([f,b],m)=>(ie(),Se(je,{key:f},[b.length?(ie(),Se(je,{key:0},[m?(ie(),Se("div",rT)):ut("",!0),(ie(!0),Se(je,null,Xa(b,T=>(ie(),Ne(l,{key:T.name,tab:T},null,8,["tab"]))),128))],64)):ut("",!0)],64))),128)),sT]),he("div",oT,[iT,le(u,{to:"/settings",flex:"~ items-center justify-center",hover:"bg-active",relative:"",my1:"",block:"","h-10":"","w-10":"","select-none":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active"},{default:xe(()=>[le(d,{"text-xl":"",icon:"i-carbon-settings-adjust",title:"Settings","show-title":!1})]),_:1})])])}}}),lT=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),cT=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&lT(e.route,n));return typeof r=="function"?r(e.route):r},uT=(e,t)=>({default:()=>e?Ue(Ih,e===!0?{}:e,t):t}),fT=Te({name:"FragmentWrapper",setup(e,{slots:t}){return()=>t.default?.()}}),Gi=(e,t,n)=>({default:()=>t?Ue(e,t===!0?{}:t,n):Ue(fT,{},n)}),dT=Te({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=$e();return()=>Ue(Zf,{name:e.name,route:e.route,...t},{default:r=>{if(!r.Component)return;const s=cT(r,e.pageKey),o=n.deferHydration(),i=!!(e.transition??r.route.meta.pageTransition??Ai),a=i&&hT([e.transition,r.route.meta.pageTransition,Ai,{onAfterLeave:()=>{n.callHook("page:transition:finish",r.Component)}}].filter(Boolean));return Gi(Po,i&&a,uT(e.keepalive??r.route.meta.keepalive??cy,Ue(Cu,{onPending:()=>n.callHook("page:start",r.Component),onResolve:()=>{Dt(()=>n.callHook("page:finish",r.Component).finally(o))}},{default:()=>Ue(mT,{key:s,routeProps:r,pageKey:s,hasTransition:i})}))).default()}})}});function pT(e){return Array.isArray(e)?e:e?[e]:[]}function hT(e){const t=e.map(n=>({...n,onAfterLeave:pT(n.onAfterLeave)}));return _v(...t)}const mT=Te({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]=ue(()=>t===e.pageKey?e.routeProps.route[s]:n[s]);return Mn("_route",ct(r)),()=>Ue(e.routeProps.Component)}}),gT=Te({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(e,t){const n=await Rn[e.name]().then(r=>r.default||r);return()=>Ue(n,t.attrs,t.slots)}}),_T=Te({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Ye("_route"),r=n===Ao()?mv():n,s=ue(()=>Q(e.name)??r.meta.layout??"default");return()=>{const o=s.value&&s.value in Rn,i=r.meta.layoutTransition??ly;return Gi(Po,o&&i,{default:()=>Gi(gT,o&&{key:s.value,name:s.value,...t.attrs},t.slots).default()}).default()}}}),yT={},vT={key:0,border:"t base",fixed:"","bottom-0":"","left-0":"","right-0":"","z-2147483646":"",p5:"","glass-effect":""},bT={key:0,flex:"~ gap-2","items-center":"","text-rose":""},wT={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function kT(e,t){const n=sp;return ie(),Ne(nf,{to:"body"},[("wsError"in e?e.wsError:Q(eo))||("wsConnecting"in e?e.wsConnecting:Q(Gr))?(ie(),Se("div",vT,[("wsError"in e?e.wsError:Q(eo))?(ie(),Se("div",bT,[le(n,{icon:"i-carbon-wifi-off"}),at(" WebSocket disconnected ")])):("wsConnecting"in e?e.wsConnecting:Q(Gr))?(ie(),Se("div",wT,[le(n,{icon:"i-carbon-circle-dash","animate-spin":""}),at(" Connecting to the server... ")])):ut("",!0)])):ut("",!0)])}const TT=Fo(yT,[["render",kT]]),PT={},ST={class:"n-card n-card-base"};function xT(e,t){return ie(),Se("div",ST,[_t(e.$slots,"default")])}const ET=Fo(PT,[["render",xT]]);/*!
14
- * tabbable 6.1.1
15
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
16
- */var ap=["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])"],ao=ap.join(","),lp=typeof Element>"u",Pn=lp?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,lo=!lp&&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},co=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},AT=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},cp=function(t,n,r){if(co(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(ao));return n&&Pn.call(t,ao)&&s.unshift(t),s=s.filter(r),s},up=function e(t,n,r){for(var s=[],o=Array.from(t);o.length;){var i=o.shift();if(!co(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),c=a.length?a:i.children,l=e(c,!0,r);r.flatten?s.push.apply(s,l):s.push({scopeParent:i,candidates:l})}else{var d=Pn.call(i,ao);d&&r.filter(i)&&(n||!t.includes(i))&&s.push(i);var u=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),f=!co(u,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(u&&f){var b=e(u===!0?i.children:u.children,!0,r);r.flatten?s.push.apply(s,b):s.push({scopeParent:i,candidates:b})}else o.unshift.apply(o,i.children)}}return s},fp=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||AT(t))&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},$T=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},dp=function(t){return t.tagName==="INPUT"},RT=function(t){return dp(t)&&t.type==="hidden"},OT=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},LT=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},NT=function(t){if(!t.name)return!0;var n=t.form||lo(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=LT(s,t.form);return!o||o===t},CT=function(t){return dp(t)&&t.type==="radio"},IT=function(t){return CT(t)&&!NT(t)},jT=function(t){var n,r=t&&lo(t),s=(n=r)===null||n===void 0?void 0:n.host,o=!1;if(r&&r!==t){var i,a,c;for(o=!!((i=s)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(s)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!o&&s;){var l,d,u;r=lo(s),s=(l=r)===null||l===void 0?void 0:l.host,o=!!((d=s)!==null&&d!==void 0&&(u=d.ownerDocument)!==null&&u!==void 0&&u.contains(s))}}return o},Jc=function(t){var n=t.getBoundingClientRect(),r=n.width,s=n.height;return r===0&&s===0},MT=function(t,n){var r=n.displayCheck,s=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=Pn.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(Pn.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof s=="function"){for(var a=t;t;){var c=t.parentElement,l=lo(t);if(c&&!c.shadowRoot&&s(c)===!0)return Jc(t);t.assignedSlot?t=t.assignedSlot:!c&&l!==t.ownerDocument?t=l.host:t=c}t=a}if(jT(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Jc(t);return!1},DT=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 Pn.call(n,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}n=n.parentElement}return!1},uo=function(t,n){return!(n.disabled||co(n)||RT(n)||MT(n,t)||OT(n)||DT(n))},qi=function(t,n){return!(IT(n)||fp(n)<0||!uo(t,n))},BT=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},FT=function e(t){var n=[],r=[];return t.forEach(function(s,o){var i=!!s.scopeParent,a=i?s.scopeParent:s,c=fp(a,i),l=i?e(s.candidates):a;c===0?i?n.push.apply(n,l):n.push(a):r.push({documentOrder:o,tabIndex:c,item:s,isScope:i,content:l})}),r.sort($T).reduce(function(s,o){return o.isScope?s.push.apply(s,o.content):s.push(o.content),s},[]).concat(n)},HT=function(t,n){n=n||{};var r;return n.getShadowRoot?r=up([t],n.includeContainer,{filter:qi.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:BT}):r=cp(t,n.includeContainer,qi.bind(null,n)),FT(r)},UT=function(t,n){n=n||{};var r;return n.getShadowRoot?r=up([t],n.includeContainer,{filter:uo.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=cp(t,n.includeContainer,uo.bind(null,n)),r},Os=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Pn.call(t,ao)===!1?!1:qi(n,t)},WT=ap.concat("iframe").join(","),Xc=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Pn.call(t,WT)===!1?!1:uo(n,t)};/*!
17
- * focus-trap 7.4.0
18
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
19
- */function Yc(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 Qc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Yc(Object(n),!0).forEach(function(r){zT(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function zT(e,t,n){return t=GT(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function VT(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 GT(e){var t=VT(e,"string");return typeof t=="symbol"?t:String(t)}var Zc={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()}},qT=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},KT=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},Xr=function(t){return t.key==="Tab"||t.keyCode===9},JT=function(t){return Xr(t)&&!t.shiftKey},XT=function(t){return Xr(t)&&t.shiftKey},eu=function(t){return setTimeout(t,0)},tu=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},Cr=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},Ls=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},YT=[],QT=function(t,n){var r=n?.document||document,s=n?.trapStack||YT,o=Qc({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:JT,isKeyBackward:XT},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a,c=function(g,_,y){return g&&g[_]!==void 0?g[_]:o[y||_]},l=function(g){return i.containerGroups.findIndex(function(_){var y=_.container,x=_.tabbableNodes;return y.contains(g)||x.find(function(E){return E===g})})},d=function(g){var _=o[g];if(typeof _=="function"){for(var y=arguments.length,x=new Array(y>1?y-1:0),E=1;E<y;E++)x[E-1]=arguments[E];_=_.apply(void 0,x)}if(_===!0&&(_=void 0),!_){if(_===void 0||_===!1)return _;throw new Error("`".concat(g,"` was specified but was not a node, or did not return a node"))}var A=_;if(typeof _=="string"&&(A=r.querySelector(_),!A))throw new Error("`".concat(g,"` as selector refers to no known node"));return A},u=function(){var g=d("initialFocus");if(g===!1)return!1;if(g===void 0)if(l(r.activeElement)>=0)g=r.activeElement;else{var _=i.tabbableGroups[0],y=_&&_.firstTabbableNode;g=y||d("fallbackFocus")}if(!g)throw new Error("Your focus-trap needs to have at least one focusable element");return g},f=function(){if(i.containerGroups=i.containers.map(function(g){var _=HT(g,o.tabbableOptions),y=UT(g,o.tabbableOptions);return{container:g,tabbableNodes:_,focusableNodes:y,firstTabbableNode:_.length>0?_[0]:null,lastTabbableNode:_.length>0?_[_.length-1]:null,nextTabbableNode:function(E){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=y.findIndex(function(L){return L===E});if(!(O<0))return A?y.slice(O+1).find(function(L){return Os(L,o.tabbableOptions)}):y.slice(0,O).reverse().find(function(L){return Os(L,o.tabbableOptions)})}}}),i.tabbableGroups=i.containerGroups.filter(function(g){return g.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")},b=function p(g){if(g!==!1&&g!==r.activeElement){if(!g||!g.focus){p(u());return}g.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=g,qT(g)&&g.select()}},m=function(g){var _=d("setReturnFocus",g);return _||(_===!1?!1:g)},T=function(g){var _=Ls(g);if(!(l(_)>=0)){if(Cr(o.clickOutsideDeactivates,g)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}Cr(o.allowOutsideClick,g)||g.preventDefault()}},S=function(g){var _=Ls(g),y=l(_)>=0;y||_ instanceof Document?y&&(i.mostRecentlyFocusedNode=_):(g.stopImmediatePropagation(),b(i.mostRecentlyFocusedNode||u()))},w=function(g){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,y=Ls(g);f();var x=null;if(i.tabbableGroups.length>0){var E=l(y),A=E>=0?i.containerGroups[E]:void 0;if(E<0)_?x=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:x=i.tabbableGroups[0].firstTabbableNode;else if(_){var O=tu(i.tabbableGroups,function(oe){var me=oe.firstTabbableNode;return y===me});if(O<0&&(A.container===y||Xc(y,o.tabbableOptions)&&!Os(y,o.tabbableOptions)&&!A.nextTabbableNode(y,!1))&&(O=E),O>=0){var L=O===0?i.tabbableGroups.length-1:O-1,W=i.tabbableGroups[L];x=W.lastTabbableNode}else Xr(g)||(x=A.nextTabbableNode(y,!1))}else{var z=tu(i.tabbableGroups,function(oe){var me=oe.lastTabbableNode;return y===me});if(z<0&&(A.container===y||Xc(y,o.tabbableOptions)&&!Os(y,o.tabbableOptions)&&!A.nextTabbableNode(y))&&(z=E),z>=0){var re=z===i.tabbableGroups.length-1?0:z+1,Z=i.tabbableGroups[re];x=Z.firstTabbableNode}else Xr(g)||(x=A.nextTabbableNode(y))}}else x=d("fallbackFocus");x&&(Xr(g)&&g.preventDefault(),b(x))},h=function(g){if(KT(g)&&Cr(o.escapeDeactivates,g)!==!1){g.preventDefault(),a.deactivate();return}(o.isKeyForward(g)||o.isKeyBackward(g))&&w(g,o.isKeyBackward(g))},v=function(g){var _=Ls(g);l(_)>=0||Cr(o.clickOutsideDeactivates,g)||Cr(o.allowOutsideClick,g)||(g.preventDefault(),g.stopImmediatePropagation())},P=function(){if(i.active)return Zc.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?eu(function(){b(u())}):b(u()),r.addEventListener("focusin",S,!0),r.addEventListener("mousedown",T,{capture:!0,passive:!1}),r.addEventListener("touchstart",T,{capture:!0,passive:!1}),r.addEventListener("click",v,{capture:!0,passive:!1}),r.addEventListener("keydown",h,{capture:!0,passive:!1}),a},k=function(){if(i.active)return r.removeEventListener("focusin",S,!0),r.removeEventListener("mousedown",T,!0),r.removeEventListener("touchstart",T,!0),r.removeEventListener("click",v,!0),r.removeEventListener("keydown",h,!0),a};return a={get active(){return i.active},get paused(){return i.paused},activate:function(g){if(i.active)return this;var _=c(g,"onActivate"),y=c(g,"onPostActivate"),x=c(g,"checkCanFocusTrap");x||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,_?.();var E=function(){x&&f(),P(),y?.()};return x?(x(i.containers.concat()).then(E,E),this):(E(),this)},deactivate:function(g){if(!i.active)return this;var _=Qc({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},g);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,k(),i.active=!1,i.paused=!1,Zc.deactivateTrap(s,a);var y=c(_,"onDeactivate"),x=c(_,"onPostDeactivate"),E=c(_,"checkCanReturnFocus"),A=c(_,"returnFocus","returnFocusOnDeactivate");y?.();var O=function(){eu(function(){A&&b(m(i.nodeFocusedBeforeActivation)),x?.()})};return A&&E?(E(m(i.nodeFocusedBeforeActivation)).then(O,O),this):(O(),this)},pause:function(g){if(i.paused||!i.active)return this;var _=c(g,"onPause"),y=c(g,"onPostPause");return i.paused=!0,_?.(),k(),y?.(),this},unpause:function(g){if(!i.paused||!i.active)return this;var _=c(g,"onUnpause"),y=c(g,"onPostUnpause");return i.paused=!1,_?.(),f(),P(),y?.(),this},updateContainerElements:function(g){var _=[].concat(g).filter(Boolean);return i.containers=_.map(function(y){return typeof y=="string"?r.querySelector(y):y}),i.active&&f(),this}},a.updateContainerElements(t),a},ZT=Object.defineProperty,eP=Object.defineProperties,tP=Object.getOwnPropertyDescriptors,fo=Object.getOwnPropertySymbols,pp=Object.prototype.hasOwnProperty,hp=Object.prototype.propertyIsEnumerable,nu=(e,t,n)=>t in e?ZT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nP=(e,t)=>{for(var n in t||(t={}))pp.call(t,n)&&nu(e,n,t[n]);if(fo)for(var n of fo(t))hp.call(t,n)&&nu(e,n,t[n]);return e},rP=(e,t)=>eP(e,tP(t)),sP=(e,t)=>{var n={};for(var r in e)pp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&fo)for(var r of fo(e))t.indexOf(r)<0&&hp.call(e,r)&&(n[r]=e[r]);return n};function oP(e,t={}){let n;const r=t,{immediate:s}=r,o=sP(r,["immediate"]),i=te(!1),a=te(!1),c=f=>n&&n.activate(f),l=f=>n&&n.deactivate(f),d=()=>{n&&(n.pause(),a.value=!0)},u=()=>{n&&(n.unpause(),a.value=!1)};return Ie(()=>nt(e),f=>{f&&(n=QT(f,rP(nP({},o),{onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}})),s&&c())},{flush:"post"}),on(()=>l()),{hasFocus:i,isPaused:a,activate:c,deactivate:l,pause:d,unpause:u}}const iP={inheritAttrs:!1},aP=Te({...iP,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const r=xw(e,"modelValue",t,{passive:!0}),s=te(null),{activate:o,deactivate:i}=oP(s,{immediate:!1});Ft(()=>{Ie(r,c=>{c?o():i()},{immediate:!0})});function a(){r.value=!1,t("close")}return(c,l)=>{const d=ET;return Q(r)?(ie(),Ne(nf,{key:0,to:"body"},[he("div",{class:Me(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[Q(r)?"":"op0 pointer-events-none visibility-none"]])},[he("div",{class:Me(["absolute inset-0 -z-1",[e.dim?"bg-black/50":""]]),onClick:l[0]||(l[0]=u=>a())},null,2),le(d,zn(c.$attrs,{ref_key:"card",ref:s}),{default:xe(()=>[_t(c.$slots,"default")]),_:3},16)],2)])):ut("",!0)}}}),lP={p4:"",flex:"~ col gap-1"},cP=he("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),uP={op50:""},fP={flex:"~ gap-3",mt2:"","justify-end":""},dP=Te({__name:"RestartDialogs",setup(e){const t=$e(),n=Mw(),r=Ke(),s=B0();return t.hook("devtools:terminal:exit",({id:o,code:i})=>{if(i===0){const a=n.value.find(c=>c.id===o);a&&(n.value=n.value.filter(c=>c.id!==o),s.start(a.message).then(c=>{c&&(Ve.restartNuxt(),setTimeout(()=>{r.value?.reloadPage()},500))}))}}),(o,i)=>{const a=op,c=aP;return ie(),Ne(Q(s),null,{default:xe(({resolve:l,args:d})=>[le(c,{"model-value":!0,onClose:u=>l(!1)},{default:xe(()=>[he("div",lP,[cP,he("p",uP,Bn(d[0]),1),he("div",fP,[le(a,{onClick:u=>l(!1)},{default:xe(()=>[at(" Cancel ")]),_:2},1032,["onClick"]),le(a,{n:"solid primary",onClick:u=>l(!0)},{default:xe(()=>[at(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function pP(){const e=$e(),t=ft();Object.assign(wd,{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)},async navigateTo(n){t.currentRoute.value.path!==n&&t.push(n)}})}const hP={fixed:"","inset-0":"","h-screen":"","w-screen":""},mP=["grid"],gP=Te({__name:"app",setup(e){Ee(()=>import("./unocss-runtime.6bcc481a.js"),[],import.meta.url),iy({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),pP();const t=Ke(),n=Ao(),r=ue(()=>n.path.startsWith("/__")),s=ue(()=>!t.value&&!r0.value);addEventListener("keydown",i=>{i.code==="KeyD"&&i.altKey&&(t.value?.closeDevTools(),i.preventDefault())});const{scale:o}=Lo();return Ft(()=>{const i=s0();Us(()=>{window.__NUXT_DEVTOOLS__=i.value}),Us(()=>{document.body.style.fontSize=`${o.value*15}px`})}),(i,a)=>{const c=Tk,l=Ek,d=Nk,u=aT,f=dT,b=_T,m=TT,T=dP;return ie(),Se("div",hP,[le(c),le(l),Q(s)?(ie(),Ne(d,{key:0},{default:xe(()=>[at(" Connecting.... ")]),_:1})):(ie(),Se("div",{key:1,grid:Q(r)?"flex":"~ cols-[50px_1fr]","h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[Hh(le(u,{"of-x-hidden":"","of-y-auto":""},null,512),[[Zm,!Q(r)]]),le(b,null,{default:xe(()=>[le(f)]),_:1})],8,mP)),le(m),le(T)])}}}),ru={__name:"nuxt-root",setup(e){const t=Nh(()=>Ee(()=>import("./error-component.bf406d2b.js"),[],import.meta.url).then(c=>c.default||c)),n=()=>null,r=$e(),s=r.deferHydration(),o=!1;Mn("_route",Ao()),r.hooks.callHookWith(c=>c.map(l=>l()),"vue:setup");const i=$o();zu((c,l,d)=>{if(r.hooks.callHook("vue:error",c,l,d).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),kv(c)&&(c.fatal||c.unhandled))return At(r,$n,[c]),!1});const{islandContext:a}=!1;return(c,l)=>(ie(),Ne(Cu,{onResolve:Q(s)},{default:xe(()=>[Q(i)?(ie(),Ne(Q(t),{key:0,error:Q(i)},null,8,["error"])):Q(a)?(ie(),Ne(Q(n),{key:1,context:Q(a)},null,8,["context"])):Q(o)?(ie(),Ne(ma(Q(o)),{key:2})):(ie(),Ne(Q(gP),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=Af.create({baseURL:r_()}));let su;const _P=v_(kk);su=async function(){const n=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?ng(ru):bf(ru),r=g_({vueApp:n});try{await y_(r,_P)}catch(s){await r.callHook("app:error",s),r.payload.error=r.payload.error||s}try{await r.hooks.callHook("app:created",n),await r.hooks.callHook("app:beforeMount",n),n.mount("#"+uy),await r.hooks.callHook("app:mounted",n),await Dt()}catch(s){await r.callHook("app:error",s),r.payload.error=r.payload.error||s}},su().catch(e=>{console.error("Error while mounting app:",e)});export{Af as $,Fv as A,MP as B,Yt as C,Bn as D,LP as E,je as F,qP as G,DP as H,GP as I,NP as J,Le as K,_t as L,Aa as M,Id as N,zP as O,UP as P,Ft as Q,Ie as R,Lo as S,nn as T,SP as U,u0 as V,ft as W,HP as X,ma as Y,jP as Z,Ee as _,Te as a,qm as a$,U0 as a0,Po as a1,zn as a2,ct as a3,IP as a4,Dt as a5,Us as a6,Ws as a7,s0 as a8,Ao as a9,AP as aA,kP as aB,KP as aC,ip as aD,xw as aE,D0 as aF,Hh as aG,Zm as aH,vh as aI,bh as aJ,RP as aK,Nk as aL,Nw as aM,Ih as aN,es as aO,yl as aP,rt as aQ,Ue as aR,XP as aS,CP as aT,Ac as aU,yP as aV,BP as aW,wP as aX,Iw as aY,Dk as aZ,Vm as a_,jd as aa,ET as ab,WP as ac,VP as ad,xP as ae,EP as af,bP as ag,FP as ah,Ea as ai,_v as aj,vP as ak,PP as al,Pd as am,TP as an,YP as ao,OP as ap,Qm as aq,JP as ar,$P as as,r0 as at,Fo as au,$e as av,rd as aw,Mw as ax,B0 as ay,aP as az,Ke as b,iy as b0,Ne as c,Nh as d,Ot as e,he as f,va as g,Se as h,le as i,Ew as j,op as k,at as l,QP as m,ou as n,ie as o,Xa as p,ut as q,te as r,Me as s,Gr as t,Q as u,eo as v,xe as w,Ve as x,sp as y,ue as z};