@nuxt/devtools 0.6.2 → 0.6.4

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 (143) hide show
  1. package/README.md +2 -4
  2. package/dist/chunks/module-main.mjs +32 -137
  3. package/dist/client/200.html +2 -2
  4. package/dist/client/404.html +2 -2
  5. package/dist/client/__blank/index.html +2 -2
  6. package/dist/client/_nuxt/AuthRequiredPanel.vue.fa96c108.js +1 -0
  7. package/dist/client/_nuxt/Badge.6957c09f.js +1 -0
  8. package/dist/client/_nuxt/CodeSnippets.vue.c709c5db.js +1 -0
  9. package/dist/client/_nuxt/DrawerRight.vue.1af2d3b5.js +1 -0
  10. package/dist/client/_nuxt/DurationDisplay.vue.5ef8c229.js +1 -0
  11. package/dist/client/_nuxt/FilepathItem.vue.b9c2f241.js +1 -0
  12. package/dist/client/_nuxt/HelpFab.vue.517eb06f.js +1 -0
  13. package/dist/client/_nuxt/{LaunchPage.vue.b85270dd.js → LaunchPage.vue.f67f57a2.js} +1 -1
  14. package/dist/client/_nuxt/NCheckbox.vue.1647e69d.js +1 -0
  15. package/dist/client/_nuxt/{NCodeBlock.vue.de2cd5a6.js → NCodeBlock.vue.09bc830f.js} +1 -1
  16. package/dist/client/_nuxt/NIconButton.vue.ac0edffe.js +1 -0
  17. package/dist/client/_nuxt/NIconTitle.vue.c43a6ad4.js +1 -0
  18. package/dist/client/_nuxt/NLink.vue.cd078056.js +1 -0
  19. package/dist/client/_nuxt/NMarkdown.vue.7e390ca1.js +1 -0
  20. package/dist/client/_nuxt/{NPanelGrids.fc7166ff.js → NPanelGrids.017932a3.js} +1 -1
  21. package/dist/client/_nuxt/NSectionBlock.82d7dd64.js +1 -0
  22. package/dist/client/_nuxt/NSelect.vue.bf162e70.js +1 -0
  23. package/dist/client/_nuxt/NSwitch.vue.27d90ab4.js +1 -0
  24. package/dist/client/_nuxt/NTip.vue.b3e13fa6.js +1 -0
  25. package/dist/client/_nuxt/Navbar.vue.73274a4d.js +1 -0
  26. package/dist/client/_nuxt/PanelLeftRight.vue.747d389a.js +1 -0
  27. package/dist/client/_nuxt/StateEditor.vue.e676b88f.js +1 -0
  28. package/dist/client/_nuxt/__blank.a90b7fd4.js +1 -0
  29. package/dist/client/_nuxt/analyze-build.3e750a33.js +1 -0
  30. package/dist/client/_nuxt/{assets.cea82447.js → assets.a88c9236.js} +3 -3
  31. package/dist/client/_nuxt/{client.aa60153e.js → client.0c1ac957.js} +1 -1
  32. package/dist/client/_nuxt/{components.67be79c1.js → components.55400a43.js} +27 -27
  33. package/dist/client/_nuxt/custom-_name_.00651de5.js +1 -0
  34. package/dist/client/_nuxt/default.c2fcd4ff.js +1 -0
  35. package/dist/client/_nuxt/entry.51f9b393.js +21 -0
  36. package/dist/client/_nuxt/entry.eeaf510e.css +1 -0
  37. package/dist/client/_nuxt/error-404.1de0812a.js +1 -0
  38. package/dist/client/_nuxt/error-404.91003ceb.css +1 -0
  39. package/dist/client/_nuxt/error-500.33274ff0.js +1 -0
  40. package/dist/client/_nuxt/error-500.7e02f53c.css +1 -0
  41. package/dist/client/_nuxt/full.cc6d1947.js +1 -0
  42. package/dist/client/_nuxt/hooks.2e0543da.js +1 -0
  43. package/dist/client/_nuxt/imports.93e9a9ad.js +1 -0
  44. package/dist/client/_nuxt/index.7921977f.js +1 -0
  45. package/dist/client/_nuxt/{index.31423b81.js → index.e3bac72d.js} +1 -1
  46. package/dist/client/_nuxt/{json-editor-vue.0e484aeb.js → json-editor-vue.63210eab.js} +1 -1
  47. package/dist/client/_nuxt/middleware.22e645cd.js +1 -0
  48. package/dist/client/_nuxt/{modules.b435656d.js → modules.0d588e7f.js} +3 -3
  49. package/dist/client/_nuxt/{none.548277ee.js → none.d965e114.js} +1 -1
  50. package/dist/client/_nuxt/open-graph.015a8911.js +3 -0
  51. package/dist/client/_nuxt/overview.87a2d84e.js +1 -0
  52. package/dist/client/_nuxt/pages.22e71687.js +1 -0
  53. package/dist/client/_nuxt/payload.e7e17f38.js +1 -0
  54. package/dist/client/_nuxt/plugins.c012cd51.js +1 -0
  55. package/dist/client/_nuxt/{runtime-configs.c19cf62e.js → runtime-configs.dcd39c80.js} +1 -1
  56. package/dist/client/_nuxt/server-routes.b7bff39c.js +9 -0
  57. package/dist/client/_nuxt/{settings.223347c0.js → settings.8cd632fb.js} +1 -1
  58. package/dist/client/_nuxt/{state-components.7a725a3e.js → state-components.2e9cbedc.js} +1 -1
  59. package/dist/client/_nuxt/state-modules.c1d4a518.js +1 -0
  60. package/dist/client/_nuxt/storage.2e3e1567.js +1 -0
  61. package/dist/client/_nuxt/{terminals.838c617b.js → terminals.5d5e540d.js} +2 -2
  62. package/dist/client/_nuxt/{unocss-runtime.8cb4743c.js → unocss-runtime.9b1d4e8a.js} +1 -1
  63. package/dist/client/_nuxt/virtual-files.e4f10f72.js +1 -0
  64. package/dist/client/index.html +2 -2
  65. package/dist/client/modules/analyze-build/index.html +2 -2
  66. package/dist/client/modules/assets/index.html +2 -2
  67. package/dist/client/modules/components/index.html +2 -2
  68. package/dist/client/modules/hooks/index.html +2 -2
  69. package/dist/client/modules/imports/index.html +2 -2
  70. package/dist/client/modules/middleware/index.html +2 -2
  71. package/dist/client/modules/modules/index.html +2 -2
  72. package/dist/client/modules/open-graph/index.html +2 -2
  73. package/dist/client/modules/overview/index.html +2 -2
  74. package/dist/client/modules/pages/index.html +2 -2
  75. package/dist/client/modules/payload/index.html +2 -2
  76. package/dist/client/modules/plugins/index.html +2 -2
  77. package/dist/client/modules/runtime-configs/index.html +2 -2
  78. package/dist/client/modules/server-routes/index.html +2 -2
  79. package/dist/client/modules/storage/index.html +2 -2
  80. package/dist/client/modules/terminals/index.html +2 -2
  81. package/dist/client/modules/virtual-files/index.html +2 -2
  82. package/dist/client/settings/index.html +2 -2
  83. package/dist/global-20ccb74c.d.ts +52 -0
  84. package/dist/module.d.ts +2 -0
  85. package/dist/module.json +1 -1
  86. package/dist/runtime/plugins/devtools.client.d.ts +0 -8
  87. package/dist/runtime/plugins/devtools.client.mjs +10 -84
  88. package/dist/runtime/plugins/view/FrameBox.vue +80 -48
  89. package/dist/runtime/plugins/view/Main.vue +82 -28
  90. package/dist/runtime/plugins/view/client.d.ts +8 -0
  91. package/dist/runtime/plugins/view/client.mjs +209 -1
  92. package/dist/runtime/plugins/view/state.d.ts +1 -4
  93. package/dist/runtime/plugins/view/state.mjs +2 -20
  94. package/dist/runtime/plugins/view/utils.d.ts +12 -0
  95. package/dist/runtime/plugins/view/utils.mjs +32 -0
  96. package/dist/types.d.ts +2 -0
  97. package/package.json +18 -18
  98. package/dist/client/_nuxt/AuthRequiredPanel.vue.4f66b5dd.js +0 -1
  99. package/dist/client/_nuxt/Badge.2cc4687e.js +0 -1
  100. package/dist/client/_nuxt/CodeSnippets.vue.1e158b8f.js +0 -1
  101. package/dist/client/_nuxt/DrawerRight.vue.d80827fd.js +0 -1
  102. package/dist/client/_nuxt/DurationDisplay.vue.a48b74dd.js +0 -1
  103. package/dist/client/_nuxt/FilepathItem.vue.df9b46ef.js +0 -1
  104. package/dist/client/_nuxt/HelpFab.vue.49173e4b.js +0 -1
  105. package/dist/client/_nuxt/NCheckbox.vue.df53e265.js +0 -1
  106. package/dist/client/_nuxt/NIconButton.vue.e211c1b6.js +0 -1
  107. package/dist/client/_nuxt/NIconTitle.vue.4e3340eb.js +0 -1
  108. package/dist/client/_nuxt/NLink.vue.53529111.js +0 -1
  109. package/dist/client/_nuxt/NMarkdown.vue.26c114a8.js +0 -1
  110. package/dist/client/_nuxt/NSectionBlock.0eaaa956.js +0 -1
  111. package/dist/client/_nuxt/NSelect.vue.94ec8f3c.js +0 -1
  112. package/dist/client/_nuxt/NSwitch.vue.7f4e43b3.js +0 -1
  113. package/dist/client/_nuxt/NTip.vue.c99855ad.js +0 -1
  114. package/dist/client/_nuxt/Navbar.vue.a50c38bf.js +0 -1
  115. package/dist/client/_nuxt/NpmVersionCheck.vue.029b0cde.js +0 -1
  116. package/dist/client/_nuxt/PanelLeftRight.vue.1e85c7f2.js +0 -1
  117. package/dist/client/_nuxt/StateEditor.vue.4e5aa888.js +0 -1
  118. package/dist/client/_nuxt/__blank.8e143dfc.js +0 -1
  119. package/dist/client/_nuxt/analyze-build.d94a4835.js +0 -1
  120. package/dist/client/_nuxt/custom-_name_.ed0df2f5.js +0 -1
  121. package/dist/client/_nuxt/default.29185309.js +0 -1
  122. package/dist/client/_nuxt/editor.24e006dd.js +0 -1
  123. package/dist/client/_nuxt/entry.ea777320.css +0 -1
  124. package/dist/client/_nuxt/entry.f3de3eb8.js +0 -19
  125. package/dist/client/_nuxt/error-404.09e25f4a.js +0 -1
  126. package/dist/client/_nuxt/error-404.2618a69f.css +0 -1
  127. package/dist/client/_nuxt/error-500.0bde1cc6.js +0 -1
  128. package/dist/client/_nuxt/error-500.12a2683b.css +0 -1
  129. package/dist/client/_nuxt/error-component.753dcd89.js +0 -3
  130. package/dist/client/_nuxt/full.e7e50a56.js +0 -1
  131. package/dist/client/_nuxt/hooks.c5f385b4.js +0 -1
  132. package/dist/client/_nuxt/imports.ab8bf33a.js +0 -1
  133. package/dist/client/_nuxt/index.686c37b5.js +0 -1
  134. package/dist/client/_nuxt/middleware.08e999fd.js +0 -1
  135. package/dist/client/_nuxt/open-graph.a806949f.js +0 -3
  136. package/dist/client/_nuxt/overview.08fa2255.js +0 -1
  137. package/dist/client/_nuxt/pages.9797a06b.js +0 -1
  138. package/dist/client/_nuxt/payload.f6049d4c.js +0 -1
  139. package/dist/client/_nuxt/plugins.7ff70558.js +0 -1
  140. package/dist/client/_nuxt/server-routes.34b80486.js +0 -9
  141. package/dist/client/_nuxt/storage.446005cc.js +0 -1
  142. package/dist/client/_nuxt/virtual-files.0f8a6122.js +0 -1
  143. package/dist/runtime/plugins/view/Frame.vue +0 -105
@@ -1,19 +0,0 @@
1
- function cl(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const Be={},ar=[],At=()=>{},Ym=()=>!1,Jm=/^on[^a-z]/,Xs=e=>Jm.test(e),ul=e=>e.startsWith("onUpdate:"),Ue=Object.assign,fl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qm=Object.prototype.hasOwnProperty,$e=(e,t)=>Qm.call(e,t),he=Array.isArray,lr=e=>Rr(e)==="[object Map]",Ar=e=>Rr(e)==="[object Set]",mc=e=>Rr(e)==="[object Date]",Zm=e=>Rr(e)==="[object RegExp]",ve=e=>typeof e=="function",He=e=>typeof e=="string",Os=e=>typeof e=="symbol",Ce=e=>e!==null&&typeof e=="object",dl=e=>Ce(e)&&ve(e.then)&&ve(e.catch),bd=Object.prototype.toString,Rr=e=>bd.call(e),eg=e=>Rr(e).slice(8,-1),wd=e=>Rr(e)==="[object Object]",hl=e=>He(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_s=cl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),li=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},tg=/-(\w)/g,Gt=li(e=>e.replace(tg,(t,n)=>n?n.toUpperCase():"")),ng=/\B([A-Z])/g,Yn=li(e=>e.replace(ng,"-$1").toLowerCase()),ci=li(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ao=li(e=>e?`on${ci(e)}`:""),Cs=(e,t)=>!Object.is(e,t),cr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Oo=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Co=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ed=e=>{const t=He(e)?Number(e):NaN;return isNaN(t)?e:t};let gc;const _a=()=>gc||(gc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function gn(e){if(he(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=He(r)?ig(r):gn(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(He(e))return e;if(Ce(e))return e}}const rg=/;(?![^(]*\))/g,sg=/:([^]+)/,og=/\/\*[^]*?\*\//g;function ig(e){const t={};return e.replace(og,"").split(rg).forEach(n=>{if(n){const r=n.split(sg);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ke(e){let t="";if(He(e))t=e;else if(he(e))for(let n=0;n<e.length;n++){const r=Ke(e[n]);r&&(t+=r+" ")}else if(Ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function xd(e){if(!e)return null;let{class:t,style:n}=e;return t&&!He(t)&&(e.class=Ke(t)),n&&(e.style=gn(n)),e}const ag="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",lg=cl(ag);function Td(e){return!!e||e===""}function cg(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Un(e[r],t[r]);return n}function Un(e,t){if(e===t)return!0;let n=mc(e),r=mc(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Os(e),r=Os(t),n||r)return e===t;if(n=he(e),r=he(t),n||r)return n&&r?cg(e,t):!1;if(n=Ce(e),r=Ce(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||!Un(e[i],t[i]))return!1}}return String(e)===String(t)}function pl(e,t){return e.findIndex(n=>Un(n,t))}const $t=e=>He(e)?e:e==null?"":he(e)||Ce(e)&&(e.toString===bd||!ve(e.toString))?JSON.stringify(e,Sd,2):String(e),Sd=(e,t)=>t&&t.__v_isRef?Sd(e,t.value):lr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Ar(t)?{[`Set(${t.size})`]:[...t.values()]}:Ce(t)&&!he(t)&&!wd(t)?String(t):t;let ct;class ug{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ct,!t&&ct&&(this.index=(ct.scopes||(ct.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ct;try{return ct=this,t()}finally{ct=n}}}on(){ct=this}off(){ct=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 fg(e,t=ct){t&&t.active&&t.effects.push(e)}function kd(){return ct}function dg(e){ct&&ct.cleanups.push(e)}const ml=e=>{const t=new Set(e);return t.w=0,t.n=0,t},$d=e=>(e.w&En)>0,Ad=e=>(e.n&En)>0,hg=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=En},pg=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];$d(s)&&!Ad(s)?s.delete(e):t[n++]=s,s.w&=~En,s.n&=~En}t.length=n}},Io=new WeakMap;let ps=0,En=1;const ya=30;let xt;const Bn=Symbol(""),ba=Symbol("");class gl{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,fg(this,r)}run(){if(!this.active)return this.fn();let t=xt,n=vn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=xt,xt=this,vn=!0,En=1<<++ps,ps<=ya?hg(this):vc(this),this.fn()}finally{ps<=ya&&pg(this),En=1<<--ps,xt=this.parent,vn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){xt===this?this.deferStop=!0:this.active&&(vc(this),this.onStop&&this.onStop(),this.active=!1)}}function vc(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let vn=!0;const Rd=[];function Pr(){Rd.push(vn),vn=!1}function Nr(){const e=Rd.pop();vn=e===void 0?!0:e}function it(e,t,n){if(vn&&xt){let r=Io.get(e);r||Io.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=ml()),Pd(s)}}function Pd(e,t){let n=!1;ps<=ya?Ad(e)||(e.n|=En,n=!$d(e)):n=!e.has(xt),n&&(e.add(xt),xt.deps.push(e))}function tn(e,t,n,r,s,o){const i=Io.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&he(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":he(e)?hl(n)&&a.push(i.get("length")):(a.push(i.get(Bn)),lr(e)&&a.push(i.get(ba)));break;case"delete":he(e)||(a.push(i.get(Bn)),lr(e)&&a.push(i.get(ba)));break;case"set":lr(e)&&a.push(i.get(Bn));break}if(a.length===1)a[0]&&wa(a[0]);else{const c=[];for(const l of a)l&&c.push(...l);wa(ml(c))}}function wa(e,t){const n=he(e)?e:[...e];for(const r of n)r.computed&&_c(r);for(const r of n)r.computed||_c(r)}function _c(e,t){(e!==xt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function mg(e,t){var n;return(n=Io.get(e))==null?void 0:n.get(t)}const gg=cl("__proto__,__v_isRef,__isVue"),Nd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Os)),vg=vl(),_g=vl(!1,!0),yg=vl(!0),yc=bg();function bg(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ke(this);for(let o=0,i=this.length;o<i;o++)it(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(ke)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Pr();const r=ke(this)[t].apply(this,n);return Nr(),r}}),e}function wg(e){const t=ke(this);return it(t,"has",e),t.hasOwnProperty(e)}function vl(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?Mg:jd:t?Id:Cd).get(r))return r;const i=he(r);if(!e){if(i&&$e(yc,s))return Reflect.get(yc,s,o);if(s==="hasOwnProperty")return wg}const a=Reflect.get(r,s,o);return(Os(s)?Nd.has(s):gg(s))||(e||it(r,"get",s),t)?a:De(a)?i&&hl(s)?a:a.value:Ce(a)?e?Jn(a):at(a):a}}const Eg=Ld(),xg=Ld(!0);function Ld(e=!1){return function(n,r,s,o){let i=n[r];if(Wn(i)&&De(i)&&!De(s))return!1;if(!e&&(!jo(s)&&!Wn(s)&&(i=ke(i),s=ke(s)),!he(n)&&De(i)&&!De(s)))return i.value=s,!0;const a=he(n)&&hl(r)?Number(r)<n.length:$e(n,r),c=Reflect.set(n,r,s,o);return n===ke(o)&&(a?Cs(s,i)&&tn(n,"set",r,s):tn(n,"add",r,s)),c}}function Tg(e,t){const n=$e(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&tn(e,"delete",t,void 0),r}function Sg(e,t){const n=Reflect.has(e,t);return(!Os(t)||!Nd.has(t))&&it(e,"has",t),n}function kg(e){return it(e,"iterate",he(e)?"length":Bn),Reflect.ownKeys(e)}const Od={get:vg,set:Eg,deleteProperty:Tg,has:Sg,ownKeys:kg},$g={get:yg,set(e,t){return!0},deleteProperty(e,t){return!0}},Ag=Ue({},Od,{get:_g,set:xg}),_l=e=>e,ui=e=>Reflect.getPrototypeOf(e);function to(e,t,n=!1,r=!1){e=e.__v_raw;const s=ke(e),o=ke(t);n||(t!==o&&it(s,"get",t),it(s,"get",o));const{has:i}=ui(s),a=r?_l:n?El:Is;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 no(e,t=!1){const n=this.__v_raw,r=ke(n),s=ke(e);return t||(e!==s&&it(r,"has",e),it(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function ro(e,t=!1){return e=e.__v_raw,!t&&it(ke(e),"iterate",Bn),Reflect.get(e,"size",e)}function bc(e){e=ke(e);const t=ke(this);return ui(t).has.call(t,e)||(t.add(e),tn(t,"add",e,e)),this}function wc(e,t){t=ke(t);const n=ke(this),{has:r,get:s}=ui(n);let o=r.call(n,e);o||(e=ke(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Cs(t,i)&&tn(n,"set",e,t):tn(n,"add",e,t),this}function Ec(e){const t=ke(this),{has:n,get:r}=ui(t);let s=n.call(t,e);s||(e=ke(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&tn(t,"delete",e,void 0),o}function xc(){const e=ke(this),t=e.size!==0,n=e.clear();return t&&tn(e,"clear",void 0,void 0),n}function so(e,t){return function(r,s){const o=this,i=o.__v_raw,a=ke(i),c=t?_l:e?El:Is;return!e&&it(a,"iterate",Bn),i.forEach((l,d)=>r.call(s,c(l),c(d),o))}}function oo(e,t,n){return function(...r){const s=this.__v_raw,o=ke(s),i=lr(o),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=s[e](...r),d=n?_l:t?El:Is;return!t&&it(o,"iterate",c?ba:Bn),{next(){const{value:f,done:u}=l.next();return u?{value:f,done:u}:{value:a?[d(f[0]),d(f[1])]:d(f),done:u}},[Symbol.iterator](){return this}}}}function an(e){return function(...t){return e==="delete"?!1:this}}function Rg(){const e={get(o){return to(this,o)},get size(){return ro(this)},has:no,add:bc,set:wc,delete:Ec,clear:xc,forEach:so(!1,!1)},t={get(o){return to(this,o,!1,!0)},get size(){return ro(this)},has:no,add:bc,set:wc,delete:Ec,clear:xc,forEach:so(!1,!0)},n={get(o){return to(this,o,!0)},get size(){return ro(this,!0)},has(o){return no.call(this,o,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:so(!0,!1)},r={get(o){return to(this,o,!0,!0)},get size(){return ro(this,!0)},has(o){return no.call(this,o,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:so(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=oo(o,!1,!1),n[o]=oo(o,!0,!1),t[o]=oo(o,!1,!0),r[o]=oo(o,!0,!0)}),[e,n,t,r]}const[Pg,Ng,Lg,Og]=Rg();function yl(e,t){const n=t?e?Og:Lg:e?Ng:Pg;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get($e(n,s)&&s in r?n:r,s,o)}const Cg={get:yl(!1,!1)},Ig={get:yl(!1,!0)},jg={get:yl(!0,!1)},Cd=new WeakMap,Id=new WeakMap,jd=new WeakMap,Mg=new WeakMap;function Dg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fg(e){return e.__v_skip||!Object.isExtensible(e)?0:Dg(eg(e))}function at(e){return Wn(e)?e:wl(e,!1,Od,Cg,Cd)}function bl(e){return wl(e,!1,Ag,Ig,Id)}function Jn(e){return wl(e,!0,$g,jg,jd)}function wl(e,t,n,r,s){if(!Ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Fg(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function ur(e){return Wn(e)?ur(e.__v_raw):!!(e&&e.__v_isReactive)}function Wn(e){return!!(e&&e.__v_isReadonly)}function jo(e){return!!(e&&e.__v_isShallow)}function Md(e){return ur(e)||Wn(e)}function ke(e){const t=e&&e.__v_raw;return t?ke(t):e}function Dd(e){return Oo(e,"__v_skip",!0),e}const Is=e=>Ce(e)?at(e):e,El=e=>Ce(e)?Jn(e):e;function xl(e){vn&&xt&&(e=ke(e),Pd(e.dep||(e.dep=ml())))}function fi(e,t){e=ke(e);const n=e.dep;n&&wa(n)}function De(e){return!!(e&&e.__v_isRef===!0)}function ne(e){return Fd(e,!1)}function Vn(e){return Fd(e,!0)}function Fd(e,t){return De(e)?e:new Bg(e,t)}class Bg{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ke(t),this._value=n?t:Is(t)}get value(){return xl(this),this._value}set value(t){const n=this.__v_isShallow||jo(t)||Wn(t);t=n?t:ke(t),Cs(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Is(t),fi(this))}}function Bd(e){fi(e)}function ue(e){return De(e)?e.value:e}function Tl(e){return ve(e)?e():ue(e)}const Hg={get:(e,t,n)=>ue(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return De(s)&&!De(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Hd(e){return ur(e)?e:new Proxy(e,Hg)}class Ug{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>xl(this),()=>fi(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Ud(e){return new Ug(e)}function Wg(e){const t=he(e)?new Array(e.length):{};for(const n in e)t[n]=Wd(e,n);return t}class Vg{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 mg(ke(this._object),this._key)}}class zg{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function di(e,t,n){return De(e)?e:ve(e)?new zg(e):Ce(e)&&arguments.length>1?Wd(e,t,n):ne(e)}function Wd(e,t,n){const r=e[t];return De(r)?r:new Vg(e,t,n)}class Gg{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new gl(t,()=>{this._dirty||(this._dirty=!0,fi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ke(this);return xl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function qg(e,t,n=!1){let r,s;const o=ve(e);return o?(r=e,s=At):(r=e.get,s=e.set),new Gg(r,s,o||!s,n)}function _n(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){Lr(o,t,n)}return s}function yt(e,t,n,r){if(ve(e)){const o=_n(e,t,n,r);return o&&dl(o)&&o.catch(i=>{Lr(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(yt(e[o],t,n,r));return s}function Lr(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){_n(c,null,10,[e,i,a]);return}}Kg(e,n,s,r)}function Kg(e,t,n,r=!0){console.error(e)}let js=!1,Ea=!1;const Je=[];let Ht=0;const fr=[];let Yt=null,Cn=0;const Vd=Promise.resolve();let Sl=null;function Lt(e){const t=Sl||Vd;return e?t.then(this?e.bind(this):e):t}function Xg(e){let t=Ht+1,n=Je.length;for(;t<n;){const r=t+n>>>1;Ms(Je[r])<e?t=r+1:n=r}return t}function hi(e){(!Je.length||!Je.includes(e,js&&e.allowRecurse?Ht+1:Ht))&&(e.id==null?Je.push(e):Je.splice(Xg(e.id),0,e),zd())}function zd(){!js&&!Ea&&(Ea=!0,Sl=Vd.then(qd))}function Yg(e){const t=Je.indexOf(e);t>Ht&&Je.splice(t,1)}function Gd(e){he(e)?fr.push(...e):(!Yt||!Yt.includes(e,e.allowRecurse?Cn+1:Cn))&&fr.push(e),zd()}function Tc(e,t=js?Ht+1:0){for(;t<Je.length;t++){const n=Je[t];n&&n.pre&&(Je.splice(t,1),t--,n())}}function Mo(e){if(fr.length){const t=[...new Set(fr)];if(fr.length=0,Yt){Yt.push(...t);return}for(Yt=t,Yt.sort((n,r)=>Ms(n)-Ms(r)),Cn=0;Cn<Yt.length;Cn++)Yt[Cn]();Yt=null,Cn=0}}const Ms=e=>e.id==null?1/0:e.id,Jg=(e,t)=>{const n=Ms(e)-Ms(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function qd(e){Ea=!1,js=!0,Je.sort(Jg);const t=At;try{for(Ht=0;Ht<Je.length;Ht++){const n=Je[Ht];n&&n.active!==!1&&_n(n,null,14)}}finally{Ht=0,Je.length=0,Mo(),js=!1,Sl=null,(Je.length||fr.length)&&qd()}}function Qg(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Be;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:f,trim:u}=r[d]||Be;u&&(s=n.map(h=>He(h)?h.trim():h)),f&&(s=n.map(Co))}let a,c=r[a=Ao(t)]||r[a=Ao(Gt(t))];!c&&o&&(c=r[a=Ao(Yn(t))]),c&&yt(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,yt(l,e,6,s)}}function Kd(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(!ve(e)){const c=l=>{const d=Kd(l,t,!0);d&&(a=!0,Ue(i,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(Ce(e)&&r.set(e,null),null):(he(o)?o.forEach(c=>i[c]=null):Ue(i,o),Ce(e)&&r.set(e,i),i)}function pi(e,t){return!e||!Xs(t)?!1:(t=t.slice(2).replace(/Once$/,""),$e(e,t[0].toLowerCase()+t.slice(1))||$e(e,Yn(t))||$e(e,t))}let ze=null,mi=null;function Do(e){const t=ze;return ze=e,mi=e&&e.type.__scopeId||null,t}function Zg(e){mi=e}function ev(){mi=null}const tv=e=>xe;function xe(e,t=ze,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Dc(-1);const o=Do(t);let i;try{i=e(...s)}finally{Do(o),r._d&&Dc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Fi(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:c,emit:l,render:d,renderCache:f,data:u,setupState:h,ctx:p,inheritAttrs:v}=e;let E,_;const g=Do(e);try{if(n.shapeFlag&4){const y=s||r;E=gt(d.call(y,y,f,o,h,u,p)),_=c}else{const y=t;E=gt(y.length>1?y(o,{attrs:c,slots:a,emit:l}):y(o,null)),_=t.props?c:rv(c)}}catch(y){Es.length=0,Lr(y,e,1),E=ae(nt)}let b=E;if(_&&v!==!1){const y=Object.keys(_),{shapeFlag:T}=b;y.length&&T&7&&(i&&y.some(ul)&&(_=sv(_,i)),b=nn(b,_))}return n.dirs&&(b=nn(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),E=b,Do(g),E}function nv(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(wr(r)){if(r.type!==nt||r.children==="v-if"){if(t)return;t=r}}else return}return t}const rv=e=>{let t;for(const n in e)(n==="class"||n==="style"||Xs(n))&&((t||(t={}))[n]=e[n]);return t},sv=(e,t)=>{const n={};for(const r in e)(!ul(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ov(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?Sc(r,i,l):!!i;if(c&8){const d=t.dynamicProps;for(let f=0;f<d.length;f++){const u=d[f];if(i[u]!==r[u]&&!pi(l,u))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Sc(r,i,l):!0:!!i;return!1}function Sc(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]&&!pi(n,o))return!0}return!1}function kl({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Xd=e=>e.__isSuspense,iv={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,c,l){e==null?av(t,n,r,s,o,i,a,c,l):lv(e,t,n,r,s,i,a,c,l)},hydrate:cv,create:$l,normalize:uv},Yd=iv;function Ds(e,t){const n=e.props&&e.props[t];ve(n)&&n()}function av(e,t,n,r,s,o,i,a,c){const{p:l,o:{createElement:d}}=c,f=d("div"),u=e.suspense=$l(e,s,r,t,f,n,o,i,a,c);l(null,u.pendingBranch=e.ssContent,f,null,r,u,o,i),u.deps>0?(Ds(e,"onPending"),Ds(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,o,i),dr(u,e.ssFallback)):u.resolve(!1,!0)}function lv(e,t,n,r,s,o,i,a,{p:c,um:l,o:{createElement:d}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const u=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:E,isHydrating:_}=f;if(v)f.pendingBranch=u,Tt(u,v)?(c(v,u,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():E&&(c(p,h,n,r,s,null,o,i,a),dr(f,h))):(f.pendingId++,_?(f.isHydrating=!1,f.activeBranch=v):l(v,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=d("div"),E?(c(null,u,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(c(p,h,n,r,s,null,o,i,a),dr(f,h))):p&&Tt(u,p)?(c(p,u,n,r,s,f,o,i,a),f.resolve(!0)):(c(null,u,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(p&&Tt(u,p))c(p,u,n,r,s,f,o,i,a),dr(f,u);else if(Ds(t,"onPending"),f.pendingBranch=u,f.pendingId++,c(null,u,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:g,pendingId:b}=f;g>0?setTimeout(()=>{f.pendingId===b&&f.fallback(h)},g):g===0&&f.fallback(h)}}function $l(e,t,n,r,s,o,i,a,c,l,d=!1){const{p:f,m:u,um:h,n:p,o:{parentNode:v,remove:E}}=l;let _;const g=fv(e);g&&t?.pendingBranch&&(_=t.pendingId,t.deps++);const b=e.props?Ed(e.props.timeout):void 0,y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(T=!1,m=!1){const{vnode:S,activeBranch:x,pendingBranch:w,pendingId:k,effects:$,parentComponent:A,container:R}=y;if(y.isHydrating)y.isHydrating=!1;else if(!T){const j=x&&w.transition&&w.transition.mode==="out-in";j&&(x.transition.afterLeave=()=>{k===y.pendingId&&u(w,R,F,0)});let{anchor:F}=y;x&&(F=p(x),h(x,A,y,!0)),j||u(w,R,F,0)}dr(y,w),y.pendingBranch=null,y.isInFallback=!1;let P=y.parent,I=!1;for(;P;){if(P.pendingBranch){P.effects.push(...$),I=!0;break}P=P.parent}I||Gd($),y.effects=[],g&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!m&&t.resolve()),Ds(S,"onResolve")},fallback(T){if(!y.pendingBranch)return;const{vnode:m,activeBranch:S,parentComponent:x,container:w,isSVG:k}=y;Ds(m,"onFallback");const $=p(S),A=()=>{y.isInFallback&&(f(null,T,w,$,x,null,k,a,c),dr(y,T))},R=T.transition&&T.transition.mode==="out-in";R&&(S.transition.afterLeave=A),y.isInFallback=!0,h(S,x,null,!0),R||A()},move(T,m,S){y.activeBranch&&u(y.activeBranch,T,m,S),y.container=T},next(){return y.activeBranch&&p(y.activeBranch)},registerDep(T,m){const S=!!y.pendingBranch;S&&y.deps++;const x=T.vnode.el;T.asyncDep.catch(w=>{Lr(w,T,0)}).then(w=>{if(T.isUnmounted||y.isUnmounted||y.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:k}=T;Aa(T,w,!1),x&&(k.el=x);const $=!x&&T.subTree.el;m(T,k,v(x||T.subTree.el),x?null:p(T.subTree),y,i,c),$&&E($),kl(T,k.el),S&&--y.deps===0&&y.resolve()})},unmount(T,m){y.isUnmounted=!0,y.activeBranch&&h(y.activeBranch,n,T,m),y.pendingBranch&&h(y.pendingBranch,n,T,m)}};return y}function cv(e,t,n,r,s,o,i,a,c){const l=t.suspense=$l(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(!1,!0),d}function uv(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=kc(r?n.default:n),e.ssFallback=r?kc(n.fallback):ae(nt)}function kc(e){let t;if(ve(e)){const n=br&&e._c;n&&(e._d=!1,le()),e=e(),n&&(e._d=!0,t=vt,bh())}return he(e)&&(e=nv(e)),e=gt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Jd(e,t){t&&t.pendingBranch?he(e)?t.effects.push(...e):t.effects.push(e):Gd(e)}function dr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,kl(r,s))}function fv(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function vr(e,t){return Al(e,null,t)}const io={};function je(e,t,n){return Al(e,t,n)}function Al(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=Be){var a;const c=kd()===((a=We)==null?void 0:a.scope)?We:null;let l,d=!1,f=!1;if(De(e)?(l=()=>e.value,d=jo(e)):ur(e)?(l=()=>e,r=!0):he(e)?(f=!0,d=e.some(y=>ur(y)||jo(y)),l=()=>e.map(y=>{if(De(y))return y.value;if(ur(y))return Dn(y);if(ve(y))return _n(y,c,2)})):ve(e)?t?l=()=>_n(e,c,2):l=()=>{if(!(c&&c.isUnmounted))return u&&u(),yt(e,c,3,[h])}:l=At,t&&r){const y=l;l=()=>Dn(y())}let u,h=y=>{u=g.onStop=()=>{_n(y,c,4)}},p;if(Er)if(h=At,t?n&&yt(t,c,3,[l(),f?[]:void 0,h]):l(),s==="sync"){const y=e_();p=y.__watcherHandles||(y.__watcherHandles=[])}else return At;let v=f?new Array(e.length).fill(io):io;const E=()=>{if(g.active)if(t){const y=g.run();(r||d||(f?y.some((T,m)=>Cs(T,v[m])):Cs(y,v)))&&(u&&u(),yt(t,c,3,[y,v===io?void 0:f&&v[0]===io?[]:v,h]),v=y)}else g.run()};E.allowRecurse=!!t;let _;s==="sync"?_=E:s==="post"?_=()=>qe(E,c&&c.suspense):(E.pre=!0,c&&(E.id=c.uid),_=()=>hi(E));const g=new gl(l,_);t?n?E():v=g.run():s==="post"?qe(g.run.bind(g),c&&c.suspense):g.run();const b=()=>{g.stop(),c&&c.scope&&fl(c.scope.effects,g)};return p&&p.push(b),b}function dv(e,t,n){const r=this.proxy,s=He(e)?e.includes(".")?Qd(r,e):()=>r[e]:e.bind(r,r);let o;ve(t)?o=t:(o=t.handler,n=t);const i=We;Tn(this);const a=Al(s,o.bind(r),n);return i?Tn(i):yn(),a}function Qd(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 Dn(e,t){if(!Ce(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),De(e))Dn(e.value,t);else if(he(e))for(let n=0;n<e.length;n++)Dn(e[n],t);else if(Ar(e)||lr(e))e.forEach(n=>{Dn(n,t)});else if(wd(e))for(const n in e)Dn(e[n],t);return e}function Rl(e,t){const n=ze;if(n===null)return e;const r=_i(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,c,l=Be]=t[o];i&&(ve(i)&&(i={mounted:i,updated:i}),i.deep&&Dn(a),s.push({dir:i,instance:r,value:a,oldValue:void 0,arg:c,modifiers:l}))}return e}function Ft(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let c=a.dir[r];c&&(Pr(),yt(c,n,8,[e.el,a,e,t]),Nr())}}function Zd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return $n(()=>{e.isMounted=!0}),Or(()=>{e.isUnmounting=!0}),e}const mt=[Function,Array],eh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:mt,onEnter:mt,onAfterEnter:mt,onEnterCancelled:mt,onBeforeLeave:mt,onLeave:mt,onAfterLeave:mt,onLeaveCancelled:mt,onBeforeAppear:mt,onAppear:mt,onAfterAppear:mt,onAppearCancelled:mt},hv={name:"BaseTransition",props:eh,setup(e,{slots:t}){const n=Ot(),r=Zd();let s;return()=>{const o=t.default&&Pl(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const v of o)if(v.type!==nt){i=v;break}}const a=ke(e),{mode:c}=a;if(r.isLeaving)return Bi(i);const l=$c(i);if(!l)return Bi(i);const d=Fs(l,a,r,n);_r(l,d);const f=n.subTree,u=f&&$c(f);let h=!1;const{getTransitionKey:p}=l.type;if(p){const v=p();s===void 0?s=v:v!==s&&(s=v,h=!0)}if(u&&u.type!==nt&&(!Tt(l,u)||h)){const v=Fs(u,a,r,n);if(_r(u,v),c==="out-in")return r.isLeaving=!0,v.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Bi(i);c==="in-out"&&l.type!==nt&&(v.delayLeave=(E,_,g)=>{const b=th(r,u);b[String(u.key)]=u,E._leaveCb=()=>{_(),E._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=g})}return i}}},pv=hv;function th(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 Fs(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:d,onBeforeLeave:f,onLeave:u,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:v,onAppear:E,onAfterAppear:_,onAppearCancelled:g}=t,b=String(e.key),y=th(n,e),T=(x,w)=>{x&&yt(x,r,9,w)},m=(x,w)=>{const k=w[1];T(x,w),he(x)?x.every($=>$.length<=1)&&k():x.length<=1&&k()},S={mode:o,persisted:i,beforeEnter(x){let w=a;if(!n.isMounted)if(s)w=v||a;else return;x._leaveCb&&x._leaveCb(!0);const k=y[b];k&&Tt(e,k)&&k.el._leaveCb&&k.el._leaveCb(),T(w,[x])},enter(x){let w=c,k=l,$=d;if(!n.isMounted)if(s)w=E||c,k=_||l,$=g||d;else return;let A=!1;const R=x._enterCb=P=>{A||(A=!0,P?T($,[x]):T(k,[x]),S.delayedLeave&&S.delayedLeave(),x._enterCb=void 0)};w?m(w,[x,R]):R()},leave(x,w){const k=String(e.key);if(x._enterCb&&x._enterCb(!0),n.isUnmounting)return w();T(f,[x]);let $=!1;const A=x._leaveCb=R=>{$||($=!0,w(),R?T(p,[x]):T(h,[x]),x._leaveCb=void 0,y[k]===e&&delete y[k])};y[k]=e,u?m(u,[x,A]):A()},clone(x){return Fs(x,t,n,r)}};return S}function Bi(e){if(Ys(e))return e=nn(e),e.children=null,e}function $c(e){return Ys(e)?e.children?e.children[0]:void 0:e}function _r(e,t){e.shapeFlag&6&&e.component?_r(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 Pl(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===Me?(i.patchFlag&128&&s++,r=r.concat(Pl(i.children,t,a))):(t||i.type!==nt)&&r.push(a!=null?nn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Le(e,t){return ve(e)?(()=>Ue({name:e.name},t,{setup:e}))():e}const Hn=e=>!!e.type.__asyncLoader;function mv(e){ve(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 f=()=>(d++,c=null,u()),u=()=>{let h;return c||(h=c=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((v,E)=>{a(p,()=>v(f()),()=>E(p),d+1)});throw p}).then(p=>h!==c&&c?c:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),l=p,p)))};return Le({name:"AsyncComponentWrapper",__asyncLoader:u,get __asyncResolved(){return l},setup(){const h=We;if(l)return()=>Hi(l,h);const p=g=>{c=null,Lr(g,h,13,!r)};if(i&&h.suspense||Er)return u().then(g=>()=>Hi(g,h)).catch(g=>(p(g),()=>r?ae(r,{error:g}):null));const v=ne(!1),E=ne(),_=ne(!!s);return s&&setTimeout(()=>{_.value=!1},s),o!=null&&setTimeout(()=>{if(!v.value&&!E.value){const g=new Error(`Async component timed out after ${o}ms.`);p(g),E.value=g}},o),u().then(()=>{v.value=!0,h.parent&&Ys(h.parent.vnode)&&hi(h.parent.update)}).catch(g=>{p(g),E.value=g}),()=>{if(v.value&&l)return Hi(l,h);if(E.value&&r)return ae(r,{error:E.value});if(n&&!_.value)return ae(n)}}})}function Hi(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=ae(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Ys=e=>e.type.__isKeepAlive,gv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ot(),r=n.ctx;if(!r.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:d,o:{createElement:f}}}=r,u=f("div");r.activate=(g,b,y,T,m)=>{const S=g.component;l(g,b,y,0,a),c(S.vnode,g,b,y,S,a,T,g.slotScopeIds,m),qe(()=>{S.isDeactivated=!1,S.a&&cr(S.a);const x=g.props&&g.props.onVnodeMounted;x&&ot(x,S.parent,g)},a)},r.deactivate=g=>{const b=g.component;l(g,u,null,1,a),qe(()=>{b.da&&cr(b.da);const y=g.props&&g.props.onVnodeUnmounted;y&&ot(y,b.parent,g),b.isDeactivated=!0},a)};function h(g){Ui(g),d(g,n,a,!0)}function p(g){s.forEach((b,y)=>{const T=Ra(b.type);T&&(!g||!g(T))&&v(y)})}function v(g){const b=s.get(g);!i||!Tt(b,i)?h(b):i&&Ui(i),s.delete(g),o.delete(g)}je(()=>[e.include,e.exclude],([g,b])=>{g&&p(y=>ms(g,y)),b&&p(y=>!ms(b,y))},{flush:"post",deep:!0});let E=null;const _=()=>{E!=null&&s.set(E,Wi(n.subTree))};return $n(_),Nl(_),Or(()=>{s.forEach(g=>{const{subTree:b,suspense:y}=n,T=Wi(b);if(g.type===T.type&&g.key===T.key){Ui(T);const m=T.component.da;m&&qe(m,y);return}h(g)})}),()=>{if(E=null,!t.default)return null;const g=t.default(),b=g[0];if(g.length>1)return i=null,g;if(!wr(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return i=null,b;let y=Wi(b);const T=y.type,m=Ra(Hn(y)?y.type.__asyncResolved||{}:T),{include:S,exclude:x,max:w}=e;if(S&&(!m||!ms(S,m))||x&&m&&ms(x,m))return i=y,b;const k=y.key==null?T:y.key,$=s.get(k);return y.el&&(y=nn(y),b.shapeFlag&128&&(b.ssContent=y)),E=k,$?(y.el=$.el,y.component=$.component,y.transition&&_r(y,y.transition),y.shapeFlag|=512,o.delete(k),o.add(k)):(o.add(k),w&&o.size>parseInt(w,10)&&v(o.values().next().value)),y.shapeFlag|=256,i=y,Xd(b.type)?b:y}}},vv=gv;function ms(e,t){return he(e)?e.some(n=>ms(n,t)):He(e)?e.split(",").includes(t):Zm(e)?e.test(t):!1}function nh(e,t){sh(e,"a",t)}function rh(e,t){sh(e,"da",t)}function sh(e,t,n=We){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(gi(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ys(s.parent.vnode)&&_v(r,t,n,s),s=s.parent}}function _v(e,t,n,r){const s=gi(t,e,r,!0);Bs(()=>{fl(r[t],s)},n)}function Ui(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Wi(e){return e.shapeFlag&128?e.ssContent:e}function gi(e,t,n=We,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Pr(),Tn(n);const a=yt(t,n,e,i);return yn(),Nr(),a});return r?s.unshift(o):s.push(o),o}}const on=e=>(t,n=We)=>(!Er||e==="sp")&&gi(e,(...r)=>t(...r),n),oh=on("bm"),$n=on("m"),yv=on("bu"),Nl=on("u"),Or=on("bum"),Bs=on("um"),bv=on("sp"),wv=on("rtg"),Ev=on("rtc");function ih(e,t=We){gi("ec",e,t)}const Ll="components",xv="directives";function xn(e,t){return Cl(Ll,e,!0,t)||e}const ah=Symbol.for("v-ndc");function Ol(e){return He(e)?Cl(Ll,e,!1)||e:e||ah}function a2(e){return Cl(xv,e)}function Cl(e,t,n=!0,r=!1){const s=ze||We;if(s){const o=s.type;if(e===Ll){const a=Ra(o,!1);if(a&&(a===t||a===Gt(t)||a===ci(Gt(t))))return o}const i=Ac(s[e]||o[e],t)||Ac(s.appContext[e],t);return!i&&r?o:i}}function Ac(e,t){return e&&(e[t]||e[Gt(t)]||e[ci(Gt(t))])}function gs(e,t,n,r){let s;const o=n&&n[r];if(he(e)||He(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(Ce(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 l2(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(he(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function bt(e,t,n={},r,s){if(ze.isCE||ze.parent&&Hn(ze.parent)&&ze.parent.isCE)return t!=="default"&&(n.name=t),ae("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),le();const i=o&&lh(o(n)),a=Oe(Me,{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 lh(e){return e.some(t=>wr(t)?!(t.type===nt||t.type===Me&&!lh(t.children)):!0)?e:null}function c2(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Ao(r)]=e[r];return n}const xa=e=>e?xh(e)?_i(e)||e.proxy:xa(e.parent):null,ys=Ue(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=>xa(e.parent),$root:e=>xa(e.root),$emit:e=>e.emit,$options:e=>Il(e),$forceUpdate:e=>e.f||(e.f=()=>hi(e.update)),$nextTick:e=>e.n||(e.n=Lt.bind(e.proxy)),$watch:e=>dv.bind(e)}),Vi=(e,t)=>e!==Be&&!e.__isScriptSetup&&$e(e,t),Tv={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 h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Vi(r,t))return i[t]=1,r[t];if(s!==Be&&$e(s,t))return i[t]=2,s[t];if((l=e.propsOptions[0])&&$e(l,t))return i[t]=3,o[t];if(n!==Be&&$e(n,t))return i[t]=4,n[t];Ta&&(i[t]=0)}}const d=ys[t];let f,u;if(d)return t==="$attrs"&&it(e,"get",t),d(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Be&&$e(n,t))return i[t]=4,n[t];if(u=c.config.globalProperties,$e(u,t))return u[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Vi(s,t)?(s[t]=n,!0):r!==Be&&$e(r,t)?(r[t]=n,!0):$e(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!==Be&&$e(e,i)||Vi(t,i)||(a=o[0])&&$e(a,i)||$e(r,i)||$e(ys,i)||$e(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$e(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Rc(e){return he(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function u2(e){const t=Ot();let n=e();return yn(),dl(n)&&(n=n.catch(r=>{throw Tn(t),r})),[n,()=>Tn(t)]}let Ta=!0;function Sv(e){const t=Il(e),n=e.proxy,r=e.ctx;Ta=!1,t.beforeCreate&&Pc(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:c,inject:l,created:d,beforeMount:f,mounted:u,beforeUpdate:h,updated:p,activated:v,deactivated:E,beforeDestroy:_,beforeUnmount:g,destroyed:b,unmounted:y,render:T,renderTracked:m,renderTriggered:S,errorCaptured:x,serverPrefetch:w,expose:k,inheritAttrs:$,components:A,directives:R,filters:P}=t;if(l&&kv(l,r,null),i)for(const F in i){const B=i[F];ve(B)&&(r[F]=B.bind(n))}if(s){const F=s.call(n,n);Ce(F)&&(e.data=at(F))}if(Ta=!0,o)for(const F in o){const B=o[F],G=ve(B)?B.bind(n,n):ve(B.get)?B.get.bind(n,n):At,oe=!ve(B)&&ve(B.set)?B.set.bind(n):At,ee=pe({get:G,set:oe});Object.defineProperty(r,F,{enumerable:!0,configurable:!0,get:()=>ee.value,set:re=>ee.value=re})}if(a)for(const F in a)ch(a[F],r,n,F);if(c){const F=ve(c)?c.call(n):c;Reflect.ownKeys(F).forEach(B=>{hr(B,F[B])})}d&&Pc(d,e,"c");function j(F,B){he(B)?B.forEach(G=>F(G.bind(n))):B&&F(B.bind(n))}if(j(oh,f),j($n,u),j(yv,h),j(Nl,p),j(nh,v),j(rh,E),j(ih,x),j(Ev,m),j(wv,S),j(Or,g),j(Bs,y),j(bv,w),he(k))if(k.length){const F=e.exposed||(e.exposed={});k.forEach(B=>{Object.defineProperty(F,B,{get:()=>n[B],set:G=>n[B]=G})})}else e.exposed||(e.exposed={});T&&e.render===At&&(e.render=T),$!=null&&(e.inheritAttrs=$),A&&(e.components=A),R&&(e.directives=R)}function kv(e,t,n=At){he(e)&&(e=Sa(e));for(const r in e){const s=e[r];let o;Ce(s)?"default"in s?o=dt(s.from||r,s.default,!0):o=dt(s.from||r):o=dt(s),De(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Pc(e,t,n){yt(he(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ch(e,t,n,r){const s=r.includes(".")?Qd(n,r):()=>n[r];if(He(e)){const o=t[e];ve(o)&&je(s,o)}else if(ve(e))je(s,e.bind(n));else if(Ce(e))if(he(e))e.forEach(o=>ch(o,t,n,r));else{const o=ve(e.handler)?e.handler.bind(n):t[e.handler];ve(o)&&je(s,o,e)}}function Il(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=>Fo(c,l,i,!0)),Fo(c,t,i)),Ce(t)&&o.set(t,c),c}function Fo(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Fo(e,o,n,!0),s&&s.forEach(i=>Fo(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=$v[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const $v={data:Nc,props:Lc,emits:Lc,methods:vs,computed:vs,beforeCreate:tt,created:tt,beforeMount:tt,mounted:tt,beforeUpdate:tt,updated:tt,beforeDestroy:tt,beforeUnmount:tt,destroyed:tt,unmounted:tt,activated:tt,deactivated:tt,errorCaptured:tt,serverPrefetch:tt,components:vs,directives:vs,watch:Rv,provide:Nc,inject:Av};function Nc(e,t){return t?e?function(){return Ue(ve(e)?e.call(this,this):e,ve(t)?t.call(this,this):t)}:t:e}function Av(e,t){return vs(Sa(e),Sa(t))}function Sa(e){if(he(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function tt(e,t){return e?[...new Set([].concat(e,t))]:t}function vs(e,t){return e?Ue(Object.create(null),e,t):t}function Lc(e,t){return e?he(e)&&he(t)?[...new Set([...e,...t])]:Ue(Object.create(null),Rc(e),Rc(t??{})):t}function Rv(e,t){if(!e)return t;if(!t)return e;const n=Ue(Object.create(null),e);for(const r in t)n[r]=tt(e[r],t[r]);return n}function uh(){return{app:null,config:{isNativeTag:Ym,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 Pv=0;function Nv(e,t){return function(r,s=null){ve(r)||(r=Ue({},r)),s!=null&&!Ce(s)&&(s=null);const o=uh(),i=new Set;let a=!1;const c=o.app={_uid:Pv++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Sh,get config(){return o.config},set config(l){},use(l,...d){return i.has(l)||(l&&ve(l.install)?(i.add(l),l.install(c,...d)):ve(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,f){if(!a){const u=ae(r,s);return u.appContext=o,d&&t?t(u,l):e(u,l,f),a=!0,c._container=l,l.__vue_app__=c,_i(u.component)||u.component.proxy}},unmount(){a&&(e(null,c._container),delete c._container.__vue_app__)},provide(l,d){return o.provides[l]=d,c},runWithContext(l){Hs=c;try{return l()}finally{Hs=null}}};return c}}let Hs=null;function hr(e,t){if(We){let n=We.provides;const r=We.parent&&We.parent.provides;r===n&&(n=We.provides=Object.create(r)),n[e]=t}}function dt(e,t,n=!1){const r=We||ze;if(r||Hs){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Hs._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ve(t)?t.call(r&&r.proxy):t}}function fh(){return!!(We||ze||Hs)}function Lv(e,t,n,r=!1){const s={},o={};Oo(o,vi,1),e.propsDefaults=Object.create(null),dh(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:bl(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Ov(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=ke(s),[c]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let f=0;f<d.length;f++){let u=d[f];if(pi(e.emitsOptions,u))continue;const h=t[u];if(c)if($e(o,u))h!==o[u]&&(o[u]=h,l=!0);else{const p=Gt(u);s[p]=ka(c,a,p,h,e,!1)}else h!==o[u]&&(o[u]=h,l=!0)}}}else{dh(e,t,s,o)&&(l=!0);let d;for(const f in a)(!t||!$e(t,f)&&((d=Yn(f))===f||!$e(t,d)))&&(c?n&&(n[f]!==void 0||n[d]!==void 0)&&(s[f]=ka(c,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!$e(t,f))&&(delete o[f],l=!0)}l&&tn(e,"set","$attrs")}function dh(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let c in t){if(_s(c))continue;const l=t[c];let d;s&&$e(s,d=Gt(c))?!o||!o.includes(d)?n[d]=l:(a||(a={}))[d]=l:pi(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,i=!0)}if(o){const c=ke(n),l=a||Be;for(let d=0;d<o.length;d++){const f=o[d];n[f]=ka(s,c,f,l[f],e,!$e(l,f))}}return i}function ka(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=$e(i,"default");if(a&&r===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&ve(c)){const{propsDefaults:l}=s;n in l?r=l[n]:(Tn(s),r=l[n]=c.call(null,t),yn())}else r=c}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===Yn(n))&&(r=!0))}return r}function hh(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(!ve(e)){const d=f=>{c=!0;const[u,h]=hh(f,t,!0);Ue(i,u),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!c)return Ce(e)&&r.set(e,ar),ar;if(he(o))for(let d=0;d<o.length;d++){const f=Gt(o[d]);Oc(f)&&(i[f]=Be)}else if(o)for(const d in o){const f=Gt(d);if(Oc(f)){const u=o[d],h=i[f]=he(u)||ve(u)?{type:u}:Ue({},u);if(h){const p=jc(Boolean,h.type),v=jc(String,h.type);h[0]=p>-1,h[1]=v<0||p<v,(p>-1||$e(h,"default"))&&a.push(f)}}}const l=[i,a];return Ce(e)&&r.set(e,l),l}function Oc(e){return e[0]!=="$"}function Cc(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Ic(e,t){return Cc(e)===Cc(t)}function jc(e,t){return he(t)?t.findIndex(n=>Ic(n,e)):ve(t)&&Ic(t,e)?0:-1}const ph=e=>e[0]==="_"||e==="$stable",jl=e=>he(e)?e.map(gt):[gt(e)],Cv=(e,t,n)=>{if(t._n)return t;const r=xe((...s)=>jl(t(...s)),n);return r._c=!1,r},mh=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ph(s))continue;const o=e[s];if(ve(o))t[s]=Cv(s,o,r);else if(o!=null){const i=jl(o);t[s]=()=>i}}},gh=(e,t)=>{const n=jl(t);e.slots.default=()=>n},Iv=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ke(t),Oo(t,"_",n)):mh(t,e.slots={})}else e.slots={},t&&gh(e,t);Oo(e.slots,vi,1)},jv=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Be;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Ue(s,t),!n&&a===1&&delete s._):(o=!t.$stable,mh(t,s)),i=t}else t&&(gh(e,t),i={default:1});if(o)for(const a in s)!ph(a)&&!(a in i)&&delete s[a]};function Bo(e,t,n,r,s=!1){if(he(e)){e.forEach((u,h)=>Bo(u,t&&(he(t)?t[h]:t),n,r,s));return}if(Hn(r)&&!s)return;const o=r.shapeFlag&4?_i(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:c}=e,l=t&&t.r,d=a.refs===Be?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==c&&(He(l)?(d[l]=null,$e(f,l)&&(f[l]=null)):De(l)&&(l.value=null)),ve(c))_n(c,a,12,[i,d]);else{const u=He(c),h=De(c);if(u||h){const p=()=>{if(e.f){const v=u?$e(f,c)?f[c]:d[c]:c.value;s?he(v)&&fl(v,o):he(v)?v.includes(o)||v.push(o):u?(d[c]=[o],$e(f,c)&&(f[c]=d[c])):(c.value=[o],e.k&&(d[e.k]=c.value))}else u?(d[c]=i,$e(f,c)&&(f[c]=i)):h&&(c.value=i,e.k&&(d[e.k]=i))};i?(p.id=-1,qe(p,n)):p()}}}let ln=!1;const ao=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",lo=e=>e.nodeType===8;function Mv(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:c,createComment:l}}=e,d=(_,g)=>{if(!g.hasChildNodes()){n(null,_,g),Mo(),g._vnode=_;return}ln=!1,f(g.firstChild,_,null,null,null),Mo(),g._vnode=_,ln&&console.error("Hydration completed but contains mismatches.")},f=(_,g,b,y,T,m=!1)=>{const S=lo(_)&&_.data==="[",x=()=>v(_,g,b,y,T,S),{type:w,ref:k,shapeFlag:$,patchFlag:A}=g;let R=_.nodeType;g.el=_,A===-2&&(m=!1,g.dynamicChildren=null);let P=null;switch(w){case yr:R!==3?g.children===""?(c(g.el=s(""),i(_),_),P=_):P=x():(_.data!==g.children&&(ln=!0,_.data=g.children),P=o(_));break;case nt:R!==8||S?P=x():P=o(_);break;case ws:if(S&&(_=o(_),R=_.nodeType),R===1||R===3){P=_;const I=!g.children.length;for(let j=0;j<g.staticCount;j++)I&&(g.children+=P.nodeType===1?P.outerHTML:P.data),j===g.staticCount-1&&(g.anchor=P),P=o(P);return S?o(P):P}else x();break;case Me:S?P=p(_,g,b,y,T,m):P=x();break;default:if($&1)R!==1||g.type.toLowerCase()!==_.tagName.toLowerCase()?P=x():P=u(_,g,b,y,T,m);else if($&6){g.slotScopeIds=T;const I=i(_);if(t(g,I,null,b,y,ao(I),m),P=S?E(_):o(_),P&&lo(P)&&P.data==="teleport end"&&(P=o(P)),Hn(g)){let j;S?(j=ae(Me),j.anchor=P?P.previousSibling:I.lastChild):j=_.nodeType===3?Ge(""):ae("div"),j.el=_,g.component.subTree=j}}else $&64?R!==8?P=x():P=g.type.hydrate(_,g,b,y,T,m,e,h):$&128&&(P=g.type.hydrate(_,g,b,y,ao(i(_)),T,m,e,f))}return k!=null&&Bo(k,null,y,g),P},u=(_,g,b,y,T,m)=>{m=m||!!g.dynamicChildren;const{type:S,props:x,patchFlag:w,shapeFlag:k,dirs:$}=g,A=S==="input"&&$||S==="option";if(A||w!==-1){if($&&Ft(g,null,b,"created"),x)if(A||!m||w&48)for(const P in x)(A&&P.endsWith("value")||Xs(P)&&!_s(P))&&r(_,P,null,x[P],!1,void 0,b);else x.onClick&&r(_,"onClick",null,x.onClick,!1,void 0,b);let R;if((R=x&&x.onVnodeBeforeMount)&&ot(R,b,g),$&&Ft(g,null,b,"beforeMount"),((R=x&&x.onVnodeMounted)||$)&&Jd(()=>{R&&ot(R,b,g),$&&Ft(g,null,b,"mounted")},y),k&16&&!(x&&(x.innerHTML||x.textContent))){let P=h(_.firstChild,g,_,b,y,T,m);for(;P;){ln=!0;const I=P;P=P.nextSibling,a(I)}}else k&8&&_.textContent!==g.children&&(ln=!0,_.textContent=g.children)}return _.nextSibling},h=(_,g,b,y,T,m,S)=>{S=S||!!g.dynamicChildren;const x=g.children,w=x.length;for(let k=0;k<w;k++){const $=S?x[k]:x[k]=gt(x[k]);if(_)_=f(_,$,y,T,m,S);else{if($.type===yr&&!$.children)continue;ln=!0,n(null,$,b,null,y,T,ao(b),m)}}return _},p=(_,g,b,y,T,m)=>{const{slotScopeIds:S}=g;S&&(T=T?T.concat(S):S);const x=i(_),w=h(o(_),g,x,b,y,T,m);return w&&lo(w)&&w.data==="]"?o(g.anchor=w):(ln=!0,c(g.anchor=l("]"),x,w),w)},v=(_,g,b,y,T,m)=>{if(ln=!0,g.el=null,m){const w=E(_);for(;;){const k=o(_);if(k&&k!==w)a(k);else break}}const S=o(_),x=i(_);return a(_),n(null,g,x,S,b,y,ao(x),T),S},E=_=>{let g=0;for(;_;)if(_=o(_),_&&lo(_)&&(_.data==="["&&g++,_.data==="]")){if(g===0)return o(_);g--}return _};return[d,f]}const qe=Jd;function Dv(e){return vh(e)}function Fv(e){return vh(e,Mv)}function vh(e,t){const n=_a();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:c,setText:l,setElementText:d,parentNode:f,nextSibling:u,setScopeId:h=At,insertStaticContent:p}=e,v=(N,L,C,D=null,H=null,U=null,Z=!1,Y=null,K=!!L.dynamicChildren)=>{if(N===L)return;N&&!Tt(N,L)&&(D=O(N),re(N,H,U,!0),N=null),L.patchFlag===-2&&(K=!1,L.dynamicChildren=null);const{type:z,ref:se,shapeFlag:M}=L;switch(z){case yr:E(N,L,C,D);break;case nt:_(N,L,C,D);break;case ws:N==null&&g(L,C,D,Z);break;case Me:A(N,L,C,D,H,U,Z,Y,K);break;default:M&1?T(N,L,C,D,H,U,Z,Y,K):M&6?R(N,L,C,D,H,U,Z,Y,K):(M&64||M&128)&&z.process(N,L,C,D,H,U,Z,Y,K,V)}se!=null&&H&&Bo(se,N&&N.ref,U,L||N,!L)},E=(N,L,C,D)=>{if(N==null)r(L.el=a(L.children),C,D);else{const H=L.el=N.el;L.children!==N.children&&l(H,L.children)}},_=(N,L,C,D)=>{N==null?r(L.el=c(L.children||""),C,D):L.el=N.el},g=(N,L,C,D)=>{[N.el,N.anchor]=p(N.children,L,C,D,N.el,N.anchor)},b=({el:N,anchor:L},C,D)=>{let H;for(;N&&N!==L;)H=u(N),r(N,C,D),N=H;r(L,C,D)},y=({el:N,anchor:L})=>{let C;for(;N&&N!==L;)C=u(N),s(N),N=C;s(L)},T=(N,L,C,D,H,U,Z,Y,K)=>{Z=Z||L.type==="svg",N==null?m(L,C,D,H,U,Z,Y,K):w(N,L,H,U,Z,Y,K)},m=(N,L,C,D,H,U,Z,Y)=>{let K,z;const{type:se,props:M,shapeFlag:W,transition:q,dirs:te}=N;if(K=N.el=i(N.type,U,M&&M.is,M),W&8?d(K,N.children):W&16&&x(N.children,K,null,D,H,U&&se!=="foreignObject",Z,Y),te&&Ft(N,null,D,"created"),S(K,N,N.scopeId,Z,D),M){for(const Q in M)Q!=="value"&&!_s(Q)&&o(K,Q,null,M[Q],U,N.children,D,H,we);"value"in M&&o(K,"value",null,M.value),(z=M.onVnodeBeforeMount)&&ot(z,D,N)}te&&Ft(N,null,D,"beforeMount");const X=(!H||H&&!H.pendingBranch)&&q&&!q.persisted;X&&q.beforeEnter(K),r(K,L,C),((z=M&&M.onVnodeMounted)||X||te)&&qe(()=>{z&&ot(z,D,N),X&&q.enter(K),te&&Ft(N,null,D,"mounted")},H)},S=(N,L,C,D,H)=>{if(C&&h(N,C),D)for(let U=0;U<D.length;U++)h(N,D[U]);if(H){let U=H.subTree;if(L===U){const Z=H.vnode;S(N,Z,Z.scopeId,Z.slotScopeIds,H.parent)}}},x=(N,L,C,D,H,U,Z,Y,K=0)=>{for(let z=K;z<N.length;z++){const se=N[z]=Y?pn(N[z]):gt(N[z]);v(null,se,L,C,D,H,U,Z,Y)}},w=(N,L,C,D,H,U,Z)=>{const Y=L.el=N.el;let{patchFlag:K,dynamicChildren:z,dirs:se}=L;K|=N.patchFlag&16;const M=N.props||Be,W=L.props||Be;let q;C&&Rn(C,!1),(q=W.onVnodeBeforeUpdate)&&ot(q,C,L,N),se&&Ft(L,N,C,"beforeUpdate"),C&&Rn(C,!0);const te=H&&L.type!=="foreignObject";if(z?k(N.dynamicChildren,z,Y,C,D,te,U):Z||B(N,L,Y,null,C,D,te,U,!1),K>0){if(K&16)$(Y,L,M,W,C,D,H);else if(K&2&&M.class!==W.class&&o(Y,"class",null,W.class,H),K&4&&o(Y,"style",M.style,W.style,H),K&8){const X=L.dynamicProps;for(let Q=0;Q<X.length;Q++){const ge=X[Q],Pe=M[ge],be=W[ge];(be!==Pe||ge==="value")&&o(Y,ge,Pe,be,H,N.children,C,D,we)}}K&1&&N.children!==L.children&&d(Y,L.children)}else!Z&&z==null&&$(Y,L,M,W,C,D,H);((q=W.onVnodeUpdated)||se)&&qe(()=>{q&&ot(q,C,L,N),se&&Ft(L,N,C,"updated")},D)},k=(N,L,C,D,H,U,Z)=>{for(let Y=0;Y<L.length;Y++){const K=N[Y],z=L[Y],se=K.el&&(K.type===Me||!Tt(K,z)||K.shapeFlag&70)?f(K.el):C;v(K,z,se,null,D,H,U,Z,!0)}},$=(N,L,C,D,H,U,Z)=>{if(C!==D){if(C!==Be)for(const Y in C)!_s(Y)&&!(Y in D)&&o(N,Y,C[Y],null,Z,L.children,H,U,we);for(const Y in D){if(_s(Y))continue;const K=D[Y],z=C[Y];K!==z&&Y!=="value"&&o(N,Y,z,K,Z,L.children,H,U,we)}"value"in D&&o(N,"value",C.value,D.value)}},A=(N,L,C,D,H,U,Z,Y,K)=>{const z=L.el=N?N.el:a(""),se=L.anchor=N?N.anchor:a("");let{patchFlag:M,dynamicChildren:W,slotScopeIds:q}=L;q&&(Y=Y?Y.concat(q):q),N==null?(r(z,C,D),r(se,C,D),x(L.children,C,se,H,U,Z,Y,K)):M>0&&M&64&&W&&N.dynamicChildren?(k(N.dynamicChildren,W,C,H,U,Z,Y),(L.key!=null||H&&L===H.subTree)&&Ml(N,L,!0)):B(N,L,C,se,H,U,Z,Y,K)},R=(N,L,C,D,H,U,Z,Y,K)=>{L.slotScopeIds=Y,N==null?L.shapeFlag&512?H.ctx.activate(L,C,D,Z,K):P(L,C,D,H,U,Z,K):I(N,L,K)},P=(N,L,C,D,H,U,Z)=>{const Y=N.component=qv(N,D,H);if(Ys(N)&&(Y.ctx.renderer=V),Kv(Y),Y.asyncDep){if(H&&H.registerDep(Y,j),!N.el){const K=Y.subTree=ae(nt);_(null,K,L,C)}return}j(Y,N,L,C,H,U,Z)},I=(N,L,C)=>{const D=L.component=N.component;if(ov(N,L,C))if(D.asyncDep&&!D.asyncResolved){F(D,L,C);return}else D.next=L,Yg(D.update),D.update();else L.el=N.el,D.vnode=L},j=(N,L,C,D,H,U,Z)=>{const Y=()=>{if(N.isMounted){let{next:se,bu:M,u:W,parent:q,vnode:te}=N,X=se,Q;Rn(N,!1),se?(se.el=te.el,F(N,se,Z)):se=te,M&&cr(M),(Q=se.props&&se.props.onVnodeBeforeUpdate)&&ot(Q,q,se,te),Rn(N,!0);const ge=Fi(N),Pe=N.subTree;N.subTree=ge,v(Pe,ge,f(Pe.el),O(Pe),N,H,U),se.el=ge.el,X===null&&kl(N,ge.el),W&&qe(W,H),(Q=se.props&&se.props.onVnodeUpdated)&&qe(()=>ot(Q,q,se,te),H)}else{let se;const{el:M,props:W}=L,{bm:q,m:te,parent:X}=N,Q=Hn(L);if(Rn(N,!1),q&&cr(q),!Q&&(se=W&&W.onVnodeBeforeMount)&&ot(se,X,L),Rn(N,!0),M&&Ee){const ge=()=>{N.subTree=Fi(N),Ee(M,N.subTree,N,H,null)};Q?L.type.__asyncLoader().then(()=>!N.isUnmounted&&ge()):ge()}else{const ge=N.subTree=Fi(N);v(null,ge,C,D,N,H,U),L.el=ge.el}if(te&&qe(te,H),!Q&&(se=W&&W.onVnodeMounted)){const ge=L;qe(()=>ot(se,X,ge),H)}(L.shapeFlag&256||X&&Hn(X.vnode)&&X.vnode.shapeFlag&256)&&N.a&&qe(N.a,H),N.isMounted=!0,L=C=D=null}},K=N.effect=new gl(Y,()=>hi(z),N.scope),z=N.update=()=>K.run();z.id=N.uid,Rn(N,!0),z()},F=(N,L,C)=>{L.component=N;const D=N.vnode.props;N.vnode=L,N.next=null,Ov(N,L.props,D,C),jv(N,L.children,C),Pr(),Tc(),Nr()},B=(N,L,C,D,H,U,Z,Y,K=!1)=>{const z=N&&N.children,se=N?N.shapeFlag:0,M=L.children,{patchFlag:W,shapeFlag:q}=L;if(W>0){if(W&128){oe(z,M,C,D,H,U,Z,Y,K);return}else if(W&256){G(z,M,C,D,H,U,Z,Y,K);return}}q&8?(se&16&&we(z,H,U),M!==z&&d(C,M)):se&16?q&16?oe(z,M,C,D,H,U,Z,Y,K):we(z,H,U,!0):(se&8&&d(C,""),q&16&&x(M,C,D,H,U,Z,Y,K))},G=(N,L,C,D,H,U,Z,Y,K)=>{N=N||ar,L=L||ar;const z=N.length,se=L.length,M=Math.min(z,se);let W;for(W=0;W<M;W++){const q=L[W]=K?pn(L[W]):gt(L[W]);v(N[W],q,C,null,H,U,Z,Y,K)}z>se?we(N,H,U,!0,!1,M):x(L,C,D,H,U,Z,Y,K,M)},oe=(N,L,C,D,H,U,Z,Y,K)=>{let z=0;const se=L.length;let M=N.length-1,W=se-1;for(;z<=M&&z<=W;){const q=N[z],te=L[z]=K?pn(L[z]):gt(L[z]);if(Tt(q,te))v(q,te,C,null,H,U,Z,Y,K);else break;z++}for(;z<=M&&z<=W;){const q=N[M],te=L[W]=K?pn(L[W]):gt(L[W]);if(Tt(q,te))v(q,te,C,null,H,U,Z,Y,K);else break;M--,W--}if(z>M){if(z<=W){const q=W+1,te=q<se?L[q].el:D;for(;z<=W;)v(null,L[z]=K?pn(L[z]):gt(L[z]),C,te,H,U,Z,Y,K),z++}}else if(z>W)for(;z<=M;)re(N[z],H,U,!0),z++;else{const q=z,te=z,X=new Map;for(z=te;z<=W;z++){const Ye=L[z]=K?pn(L[z]):gt(L[z]);Ye.key!=null&&X.set(Ye.key,z)}let Q,ge=0;const Pe=W-te+1;let be=!1,me=0;const Xe=new Array(Pe);for(z=0;z<Pe;z++)Xe[z]=0;for(z=q;z<=M;z++){const Ye=N[z];if(ge>=Pe){re(Ye,H,U,!0);continue}let jt;if(Ye.key!=null)jt=X.get(Ye.key);else for(Q=te;Q<=W;Q++)if(Xe[Q-te]===0&&Tt(Ye,L[Q])){jt=Q;break}jt===void 0?re(Ye,H,U,!0):(Xe[jt-te]=z+1,jt>=me?me=jt:be=!0,v(Ye,L[jt],C,null,H,U,Z,Y,K),ge++)}const Zn=be?Bv(Xe):ar;for(Q=Zn.length-1,z=Pe-1;z>=0;z--){const Ye=te+z,jt=L[Ye],pc=Ye+1<se?L[Ye+1].el:D;Xe[z]===0?v(null,jt,C,pc,H,U,Z,Y,K):be&&(Q<0||z!==Zn[Q]?ee(jt,C,pc,2):Q--)}}},ee=(N,L,C,D,H=null)=>{const{el:U,type:Z,transition:Y,children:K,shapeFlag:z}=N;if(z&6){ee(N.component.subTree,L,C,D);return}if(z&128){N.suspense.move(L,C,D);return}if(z&64){Z.move(N,L,C,V);return}if(Z===Me){r(U,L,C);for(let M=0;M<K.length;M++)ee(K[M],L,C,D);r(N.anchor,L,C);return}if(Z===ws){b(N,L,C);return}if(D!==2&&z&1&&Y)if(D===0)Y.beforeEnter(U),r(U,L,C),qe(()=>Y.enter(U),H);else{const{leave:M,delayLeave:W,afterLeave:q}=Y,te=()=>r(U,L,C),X=()=>{M(U,()=>{te(),q&&q()})};W?W(U,te,X):X()}else r(U,L,C)},re=(N,L,C,D=!1,H=!1)=>{const{type:U,props:Z,ref:Y,children:K,dynamicChildren:z,shapeFlag:se,patchFlag:M,dirs:W}=N;if(Y!=null&&Bo(Y,null,C,N,!0),se&256){L.ctx.deactivate(N);return}const q=se&1&&W,te=!Hn(N);let X;if(te&&(X=Z&&Z.onVnodeBeforeUnmount)&&ot(X,L,N),se&6)_e(N.component,C,D);else{if(se&128){N.suspense.unmount(C,D);return}q&&Ft(N,null,L,"beforeUnmount"),se&64?N.type.remove(N,L,C,H,V,D):z&&(U!==Me||M>0&&M&64)?we(z,L,C,!1,!0):(U===Me&&M&384||!H&&se&16)&&we(K,L,C),D&&de(N)}(te&&(X=Z&&Z.onVnodeUnmounted)||q)&&qe(()=>{X&&ot(X,L,N),q&&Ft(N,null,L,"unmounted")},C)},de=N=>{const{type:L,el:C,anchor:D,transition:H}=N;if(L===Me){fe(C,D);return}if(L===ws){y(N);return}const U=()=>{s(C),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(N.shapeFlag&1&&H&&!H.persisted){const{leave:Z,delayLeave:Y}=H,K=()=>Z(C,U);Y?Y(N.el,U,K):K()}else U()},fe=(N,L)=>{let C;for(;N!==L;)C=u(N),s(N),N=C;s(L)},_e=(N,L,C)=>{const{bum:D,scope:H,update:U,subTree:Z,um:Y}=N;D&&cr(D),H.stop(),U&&(U.active=!1,re(Z,N,L,C)),Y&&qe(Y,L),qe(()=>{N.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&N.asyncDep&&!N.asyncResolved&&N.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},we=(N,L,C,D=!1,H=!1,U=0)=>{for(let Z=U;Z<N.length;Z++)re(N[Z],L,C,D,H)},O=N=>N.shapeFlag&6?O(N.component.subTree):N.shapeFlag&128?N.suspense.next():u(N.anchor||N.el),J=(N,L,C)=>{N==null?L._vnode&&re(L._vnode,null,null,!0):v(L._vnode||null,N,L,null,null,null,C),Tc(),Mo(),L._vnode=N},V={p:v,um:re,m:ee,r:de,mt:P,mc:x,pc:B,pbc:k,n:O,o:e};let ie,Ee;return t&&([ie,Ee]=t(V)),{render:J,hydrate:ie,createApp:Nv(J,ie)}}function Rn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ml(e,t,n=!1){const r=e.children,s=t.children;if(he(r)&&he(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=pn(s[o]),a.el=i.el),n||Ml(i,a)),a.type===yr&&(a.el=i.el)}}function Bv(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 Hv=e=>e.__isTeleport,bs=e=>e&&(e.disabled||e.disabled===""),Mc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,$a=(e,t)=>{const n=e&&e.to;return He(n)?t?t(n):null:n},Uv={__isTeleport:!0,process(e,t,n,r,s,o,i,a,c,l){const{mc:d,pc:f,pbc:u,o:{insert:h,querySelector:p,createText:v,createComment:E}}=l,_=bs(t.props);let{shapeFlag:g,children:b,dynamicChildren:y}=t;if(e==null){const T=t.el=v(""),m=t.anchor=v("");h(T,n,r),h(m,n,r);const S=t.target=$a(t.props,p),x=t.targetAnchor=v("");S&&(h(x,S),i=i||Mc(S));const w=(k,$)=>{g&16&&d(b,k,$,s,o,i,a,c)};_?w(n,m):S&&w(S,x)}else{t.el=e.el;const T=t.anchor=e.anchor,m=t.target=e.target,S=t.targetAnchor=e.targetAnchor,x=bs(e.props),w=x?n:m,k=x?T:S;if(i=i||Mc(m),y?(u(e.dynamicChildren,y,w,s,o,i,a),Ml(e,t,!0)):c||f(e,t,w,k,s,o,i,a,!1),_)x||co(t,n,T,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=$a(t.props,p);$&&co(t,$,null,l,0)}else x&&co(t,m,S,l,1)}yh(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:c,anchor:l,targetAnchor:d,target:f,props:u}=e;if(f&&o(d),(i||!bs(u))&&(o(l),a&16))for(let h=0;h<c.length;h++){const p=c[h];s(p,t,n,!0,!!p.dynamicChildren)}},move:co,hydrate:Wv};function co(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,f=o===2;if(f&&r(i,t,n),(!f||bs(d))&&c&16)for(let u=0;u<l.length;u++)s(l[u],t,n,2);f&&r(a,t,n)}function Wv(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:c}},l){const d=t.target=$a(t.props,c);if(d){const f=d._lpa||d.firstChild;if(t.shapeFlag&16)if(bs(t.props))t.anchor=l(i(e),t,a(e),n,r,s,o),t.targetAnchor=f;else{t.anchor=i(e);let u=f;for(;u;)if(u=i(u),u&&u.nodeType===8&&u.data==="teleport anchor"){t.targetAnchor=u,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}l(f,t,d,n,r,s,o)}yh(t)}return t.anchor&&i(t.anchor)}const _h=Uv;function yh(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 Me=Symbol.for("v-fgt"),yr=Symbol.for("v-txt"),nt=Symbol.for("v-cmt"),ws=Symbol.for("v-stc"),Es=[];let vt=null;function le(e=!1){Es.push(vt=e?null:[])}function bh(){Es.pop(),vt=Es[Es.length-1]||null}let br=1;function Dc(e){br+=e}function wh(e){return e.dynamicChildren=br>0?vt||ar:null,bh(),br>0&&vt&&vt.push(e),e}function Te(e,t,n,r,s,o){return wh(ce(e,t,n,r,s,o,!0))}function Oe(e,t,n,r,s){return wh(ae(e,t,n,r,s,!0))}function wr(e){return e?e.__v_isVNode===!0:!1}function Tt(e,t){return e.type===t.type&&e.key===t.key}const vi="__vInternal",Eh=({key:e})=>e??null,Ro=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?He(e)||De(e)||ve(e)?{i:ze,r:e,k:t,f:!!n}:e:null);function ce(e,t=null,n=null,r=0,s=null,o=e===Me?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Eh(t),ref:t&&Ro(t),scopeId:mi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ze};return a?(Fl(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=He(n)?8:16),br>0&&!i&&vt&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&vt.push(c),c}const ae=Vv;function Vv(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===ah)&&(e=nt),wr(e)){const a=nn(e,t,!0);return n&&Fl(a,n),br>0&&!o&&vt&&(a.shapeFlag&6?vt[vt.indexOf(e)]=a:vt.push(a)),a.patchFlag|=-2,a}if(Qv(e)&&(e=e.__vccOpts),t){t=Dl(t);let{class:a,style:c}=t;a&&!He(a)&&(t.class=Ke(a)),Ce(c)&&(Md(c)&&!he(c)&&(c=Ue({},c)),t.style=gn(c))}const i=He(e)?1:Xd(e)?128:Hv(e)?64:Ce(e)?4:ve(e)?2:0;return ce(e,t,n,r,s,i,o,!0)}function Dl(e){return e?Md(e)||vi in e?Ue({},e):e:null}function nn(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&&Eh(a),ref:t&&t.ref?n&&s?he(s)?s.concat(Ro(t)):[s,Ro(t)]:Ro(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!==Me?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ge(e=" ",t=0){return ae(yr,null,e,t)}function f2(e,t){const n=ae(ws,null,e);return n.staticCount=t,n}function Qe(e="",t=!1){return t?(le(),Oe(nt,null,e)):ae(nt,null,e)}function gt(e){return e==null||typeof e=="boolean"?ae(nt):he(e)?ae(Me,null,e.slice()):typeof e=="object"?pn(e):ae(yr,null,String(e))}function pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function Fl(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(he(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Fl(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(vi in t)?t._ctx=ze:s===3&&ze&&(ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ve(t)?(t={default:t,_ctx:ze},n=32):(t=String(t),r&64?(n=16,t=[Ge(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=Ke([t.class,r.class]));else if(s==="style")t.style=gn([t.style,r.style]);else if(Xs(s)){const o=t[s],i=r[s];i&&o!==i&&!(he(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function ot(e,t,n,r=null){yt(e,t,7,[n,r])}const zv=uh();let Gv=0;function qv(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||zv,o={uid:Gv++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new ug(!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:hh(r,s),emitsOptions:Kd(r,s),emit:null,emitted:null,propsDefaults:Be,inheritAttrs:r.inheritAttrs,ctx:Be,data:Be,props:Be,attrs:Be,slots:Be,refs:Be,setupState:Be,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Qg.bind(null,o),e.ce&&e.ce(o),o}let We=null;const Ot=()=>We||ze;let Bl,er,Fc="__VUE_INSTANCE_SETTERS__";(er=_a()[Fc])||(er=_a()[Fc]=[]),er.push(e=>We=e),Bl=e=>{er.length>1?er.forEach(t=>t(e)):er[0](e)};const Tn=e=>{Bl(e),e.scope.on()},yn=()=>{We&&We.scope.off(),Bl(null)};function xh(e){return e.vnode.shapeFlag&4}let Er=!1;function Kv(e,t=!1){Er=t;const{props:n,children:r}=e.vnode,s=xh(e);Lv(e,n,s,t),Iv(e,r);const o=s?Xv(e,t):void 0;return Er=!1,o}function Xv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Dd(new Proxy(e.ctx,Tv));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Jv(e):null;Tn(e),Pr();const o=_n(r,e,0,[e.props,s]);if(Nr(),yn(),dl(o)){if(o.then(yn,yn),t)return o.then(i=>{Aa(e,i,t)}).catch(i=>{Lr(i,e,0)});e.asyncDep=o}else Aa(e,o,t)}else Th(e,t)}function Aa(e,t,n){ve(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ce(t)&&(e.setupState=Hd(t)),Th(e,n)}let Bc;function Th(e,t,n){const r=e.type;if(!e.render){if(!t&&Bc&&!r.render){const s=r.template||Il(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,l=Ue(Ue({isCustomElement:o,delimiters:a},i),c);r.render=Bc(s,l)}}e.render=r.render||At}Tn(e),Pr(),Sv(e),Nr(),yn()}function Yv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return it(e,"get","$attrs"),t[n]}}))}function Jv(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Yv(e)},slots:e.slots,emit:e.emit,expose:t}}function _i(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Hd(Dd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ys)return ys[n](e)},has(t,n){return n in t||n in ys}}))}function Ra(e,t=!0){return ve(e)?e.displayName||e.name:e.name||t&&e.__name}function Qv(e){return ve(e)&&"__vccOpts"in e}const pe=(e,t)=>qg(e,t,Er);function et(e,t,n){const r=arguments.length;return r===2?Ce(t)&&!he(t)?wr(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&wr(n)&&(n=[n]),ae(e,t,n))}const Zv=Symbol.for("v-scx"),e_=()=>dt(Zv),Sh="3.3.4",t_="http://www.w3.org/2000/svg",In=typeof document<"u"?document:null,Hc=In&&In.createElement("template"),n_={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?In.createElementNS(t_,e):In.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>In.createTextNode(e),createComment:e=>In.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>In.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{Hc.innerHTML=r?`<svg>${e}</svg>`:e;const a=Hc.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 r_(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 s_(e,t,n){const r=e.style,s=He(n);if(n&&!s){if(t&&!He(t))for(const o in t)n[o]==null&&Pa(r,o,"");for(const o in n)Pa(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 Uc=/\s*!important$/;function Pa(e,t,n){if(he(n))n.forEach(r=>Pa(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=o_(e,t);Uc.test(n)?e.setProperty(Yn(r),n.replace(Uc,""),"important"):e[r]=n}}const Wc=["Webkit","Moz","ms"],zi={};function o_(e,t){const n=zi[t];if(n)return n;let r=Gt(t);if(r!=="filter"&&r in e)return zi[t]=r;r=ci(r);for(let s=0;s<Wc.length;s++){const o=Wc[s]+r;if(o in e)return zi[t]=o}return t}const Vc="http://www.w3.org/1999/xlink";function i_(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Vc,t.slice(6,t.length)):e.setAttributeNS(Vc,t,n);else{const o=lg(t);n==null||o&&!Td(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function a_(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const l=a==="OPTION"?e.getAttribute("value"):e.value,d=n??"";l!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Td(n):n==null&&l==="string"?(n="",c=!0):l==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function Zt(e,t,n,r){e.addEventListener(t,n,r)}function l_(e,t,n,r){e.removeEventListener(t,n,r)}function c_(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]=u_(t);if(r){const l=o[t]=h_(r,s);Zt(e,a,l,c)}else i&&(l_(e,a,i,c),o[t]=void 0)}}const zc=/(?:Once|Passive|Capture)$/;function u_(e){let t;if(zc.test(e)){t={};let r;for(;r=e.match(zc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Yn(e.slice(2)),t]}let Gi=0;const f_=Promise.resolve(),d_=()=>Gi||(f_.then(()=>Gi=0),Gi=Date.now());function h_(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;yt(p_(r,n.value),t,5,[r])};return n.value=e,n.attached=d_(),n}function p_(e,t){if(he(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Gc=/^on[a-z]/,m_=(e,t,n,r,s=!1,o,i,a,c)=>{t==="class"?r_(e,r,s):t==="style"?s_(e,n,r):Xs(t)?ul(t)||c_(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):g_(e,t,r,s))?a_(e,t,r,o,i,a,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),i_(e,t,r,s))};function g_(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Gc.test(t)&&ve(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Gc.test(t)&&He(n)?!1:t in e}const cn="transition",Fr="animation",yi=(e,{slots:t})=>et(pv,$h(e),t);yi.displayName="Transition";const kh={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},v_=yi.props=Ue({},eh,kh),Pn=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},qc=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function $h(e){const t={};for(const A in e)A in kh||(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:f=`${n}-leave-from`,leaveActiveClass:u=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=__(s),v=p&&p[0],E=p&&p[1],{onBeforeEnter:_,onEnter:g,onEnterCancelled:b,onLeave:y,onLeaveCancelled:T,onBeforeAppear:m=_,onAppear:S=g,onAppearCancelled:x=b}=t,w=(A,R,P)=>{fn(A,R?d:a),fn(A,R?l:i),P&&P()},k=(A,R)=>{A._isLeaving=!1,fn(A,f),fn(A,h),fn(A,u),R&&R()},$=A=>(R,P)=>{const I=A?S:g,j=()=>w(R,A,P);Pn(I,[R,j]),Kc(()=>{fn(R,A?c:o),Xt(R,A?d:a),qc(I)||Xc(R,r,v,j)})};return Ue(t,{onBeforeEnter(A){Pn(_,[A]),Xt(A,o),Xt(A,i)},onBeforeAppear(A){Pn(m,[A]),Xt(A,c),Xt(A,l)},onEnter:$(!1),onAppear:$(!0),onLeave(A,R){A._isLeaving=!0;const P=()=>k(A,R);Xt(A,f),Rh(),Xt(A,u),Kc(()=>{A._isLeaving&&(fn(A,f),Xt(A,h),qc(y)||Xc(A,r,E,P))}),Pn(y,[A,P])},onEnterCancelled(A){w(A,!1),Pn(b,[A])},onAppearCancelled(A){w(A,!0),Pn(x,[A])},onLeaveCancelled(A){k(A),Pn(T,[A])}})}function __(e){if(e==null)return null;if(Ce(e))return[qi(e.enter),qi(e.leave)];{const t=qi(e);return[t,t]}}function qi(e){return Ed(e)}function Xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function fn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Kc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let y_=0;function Xc(e,t,n,r){const s=e._endId=++y_,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:c}=Ah(e,t);if(!i)return r();const l=i+"end";let d=0;const f=()=>{e.removeEventListener(l,u),o()},u=h=>{h.target===e&&++d>=c&&f()};setTimeout(()=>{d<c&&f()},a+1),e.addEventListener(l,u)}function Ah(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),s=r(`${cn}Delay`),o=r(`${cn}Duration`),i=Yc(s,o),a=r(`${Fr}Delay`),c=r(`${Fr}Duration`),l=Yc(a,c);let d=null,f=0,u=0;t===cn?i>0&&(d=cn,f=i,u=o.length):t===Fr?l>0&&(d=Fr,f=l,u=c.length):(f=Math.max(i,l),d=f>0?i>l?cn:Fr:null,u=d?d===cn?o.length:c.length:0);const h=d===cn&&/\b(transform|all)(,|$)/.test(r(`${cn}Property`).toString());return{type:d,timeout:f,propCount:u,hasTransform:h}}function Yc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Jc(n)+Jc(e[r])))}function Jc(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Rh(){return document.body.offsetHeight}const Ph=new WeakMap,Nh=new WeakMap,Lh={name:"TransitionGroup",props:Ue({},v_,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ot(),r=Zd();let s,o;return Nl(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!S_(s[0].el,n.vnode.el,i))return;s.forEach(E_),s.forEach(x_);const a=s.filter(T_);Rh(),a.forEach(c=>{const l=c.el,d=l.style;Xt(l,i),d.transform=d.webkitTransform=d.transitionDuration="";const f=l._moveCb=u=>{u&&u.target!==l||(!u||/transform$/.test(u.propertyName))&&(l.removeEventListener("transitionend",f),l._moveCb=null,fn(l,i))};l.addEventListener("transitionend",f)})}),()=>{const i=ke(e),a=$h(i);let c=i.tag||Me;s=o,o=t.default?Pl(t.default()):[];for(let l=0;l<o.length;l++){const d=o[l];d.key!=null&&_r(d,Fs(d,a,r,n))}if(s)for(let l=0;l<s.length;l++){const d=s[l];_r(d,Fs(d,a,r,n)),Ph.set(d,d.el.getBoundingClientRect())}return ae(c,null,o)}}},b_=e=>delete e.mode;Lh.props;const w_=Lh;function E_(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function x_(e){Nh.set(e,e.el.getBoundingClientRect())}function T_(e){const t=Ph.get(e),n=Nh.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 S_(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}=Ah(r);return s.removeChild(r),o}const Sn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return he(t)?n=>cr(t,n):t};function k_(e){e.target.composing=!0}function Qc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Zc={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=Sn(s);const o=r||s.props&&s.props.type==="number";Zt(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Co(a)),e._assign(a)}),n&&Zt(e,"change",()=>{e.value=e.value.trim()}),t||(Zt(e,"compositionstart",k_),Zt(e,"compositionend",Qc),Zt(e,"change",Qc))},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")&&Co(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},$_={deep:!0,created(e,t,n){e._assign=Sn(n),Zt(e,"change",()=>{const r=e._modelValue,s=xr(e),o=e.checked,i=e._assign;if(he(r)){const a=pl(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(Ar(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Oh(e,o))})},mounted:eu,beforeUpdate(e,t,n){e._assign=Sn(n),eu(e,t,n)}};function eu(e,{value:t,oldValue:n},r){e._modelValue=t,he(t)?e.checked=pl(t,r.props.value)>-1:Ar(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Un(t,Oh(e,!0)))}const A_={created(e,{value:t},n){e.checked=Un(t,n.props.value),e._assign=Sn(n),Zt(e,"change",()=>{e._assign(xr(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Sn(r),t!==n&&(e.checked=Un(t,r.props.value))}},R_={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Ar(t);Zt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Co(xr(i)):xr(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=Sn(r)},mounted(e,{value:t}){tu(e,t)},beforeUpdate(e,t,n){e._assign=Sn(n)},updated(e,{value:t}){tu(e,t)}};function tu(e,t){const n=e.multiple;if(!(n&&!he(t)&&!Ar(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=xr(o);if(n)he(t)?o.selected=pl(t,i)>-1:o.selected=t.has(i);else if(Un(xr(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function xr(e){return"_value"in e?e._value:e.value}function Oh(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const P_={created(e,t,n){uo(e,t,n,null,"created")},mounted(e,t,n){uo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){uo(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){uo(e,t,n,r,"updated")}};function N_(e,t){switch(e){case"SELECT":return R_;case"TEXTAREA":return Zc;default:switch(t){case"checkbox":return $_;case"radio":return A_;default:return Zc}}}function uo(e,t,n,r,s){const i=N_(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const L_=["ctrl","shift","alt","meta"],O_={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)=>L_.some(n=>e[`${n}Key`]&&!t.includes(n))},d2=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=O_[t[s]];if(o&&o(n,t))return}return e(n,...r)},C_={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},I_=(e,t)=>n=>{if(!("key"in n))return;const r=Yn(n.key);if(t.some(s=>s===r||C_[s]===r))return e(n)},Ch={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Br(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),Br(e,!0),r.enter(e)):r.leave(e,()=>{Br(e,!1)}):Br(e,t))},beforeUnmount(e,{value:t}){Br(e,t)}};function Br(e,t){e.style.display=t?e._vod:"none"}const Ih=Ue({patchProp:m_},n_);let xs,nu=!1;function j_(){return xs||(xs=Dv(Ih))}function M_(){return xs=nu?xs:Fv(Ih),nu=!0,xs}const jh=(...e)=>{const t=j_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Mh(r);if(!s)return;const o=t._component;!ve(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},D_=(...e)=>{const t=M_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Mh(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function Mh(e){return He(e)?document.querySelector(e):e}const F_=/"(?:_|\\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*:/,B_=/"(?: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*:/,H_=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function U_(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){W_(e);return}return t}function W_(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function V_(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')return n.slice(1,-1);const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r!=="undefined"){if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY;if(!H_.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(F_.test(e)||B_.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,U_)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}}const z_=/#/g,G_=/&/g,q_=/=/g,Dh=/\+/g,K_=/%5e/gi,X_=/%60/gi,Y_=/%7c/gi,J_=/%20/gi;function Q_(e){return encodeURI(""+e).replace(Y_,"|")}function Na(e){return Q_(typeof e=="string"?e:JSON.stringify(e)).replace(Dh,"%2B").replace(J_,"+").replace(z_,"%23").replace(G_,"%26").replace(X_,"`").replace(K_,"^")}function Ki(e){return Na(e).replace(q_,"%3D")}function Fh(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Z_(e){return Fh(e.replace(Dh," "))}function Bh(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=Fh(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Z_(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 ey(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ki(e)}=${Na(n)}`).join("&"):`${Ki(e)}=${Na(t)}`:Ki(e)}function ty(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ey(t,e[t])).join("&")}const ny=/^\w{2,}:([/\\]{1,2})/,ry=/^\w{2,}:([/\\]{2})?/,sy=/^([/\\]\s*){2,}[^/\\]/;function Cr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?ny.test(e):ry.test(e)||(t.acceptRelative?sy.test(e):!1)}const oy=/\/$|\/\?/;function La(e="",t=!1){return t?oy.test(e):e.endsWith("/")}function Hl(e="",t=!1){if(!t)return(La(e)?e.slice(0,-1):e)||"/";if(!La(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function Hh(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(La(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function iy(e=""){return e.startsWith("/")}function ay(e=""){return(iy(e)?e.slice(1):e)||"/"}function ly(e,t){if(Uh(t)||Cr(e))return e;const n=Hl(t);return e.startsWith(n)?e:Js(n,e)}function ru(e,t){if(Uh(t))return e;const n=Hl(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function cy(e,t){const n=Qs(e),r={...Bh(n.search),...t};return n.search=ty(r),fy(n)}function Uh(e){return!e||e==="/"}function uy(e){return e&&e!=="/"}function Js(e,...t){let n=e||"";for(const r of t.filter(s=>uy(s)))n=n?Hh(n)+ay(r):r;return n}function Qs(e="",t){if(!Cr(e,{acceptRelative:!0}))return t?Qs(t+e):su(e);const[n="",r,s=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[o="",i=""]=(s.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:c,hash:l}=su(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 su(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function fy(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 dy extends Error{constructor(){super(...arguments),this.name="FetchError"}}function hy(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 dy(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 py=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ou(e="GET"){return py.has(e.toUpperCase())}function my(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 gy=new Set(["image/svg","application/xml","application/xhtml","application/html"]),vy=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function _y(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return vy.test(t)?"json":gy.has(t)||t.startsWith("text/")?"text":"blob"}function yy(e,t,n=globalThis.Headers){const r={...t,...e};if(t?.params&&e?.params&&(r.params={...t?.params,...e?.params}),t?.query&&e?.query&&(r.query={...t?.query,...e?.query}),t?.headers&&e?.headers){r.headers=new n(t?.headers||{});for(const[s,o]of new n(e?.headers||{}))r.headers.set(s,o)}return r}const by=new Set([408,409,425,429,500,502,503,504]);function Wh(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=ou(i.options.method)?0:1;const d=i.response&&i.response.status||500;if(l>0&&by.has(d))return s(i.request,{...i.options,retry:l-1})}const c=hy(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:yy(c,e.defaults,n),response:void 0,error:void 0};l.options.onRequest&&await l.options.onRequest(l),typeof l.request=="string"&&(l.options.baseURL&&(l.request=ly(l.request,l.options.baseURL)),(l.options.query||l.options.params)&&(l.request=cy(l.request,{...l.options.params,...l.options.query})),l.options.body&&ou(l.options.method)&&my(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")));try{l.response=await t(l.request,l.options)}catch(f){return l.error=f,l.options.onRequestError&&await l.options.onRequestError(l),await r(l)}const d=(l.options.parseResponse?"json":l.options.responseType)||_y(l.response.headers.get("content-type")||"");if(d==="json"){const f=await l.response.text(),u=l.options.parseResponse||V_;l.response._data=u(f)}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.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await l.options.onResponseError(l),await r(l)):l.response},o=async function(a,c){return(await s(a,c))._data};return o.raw=s,o.native=t,o.create=(i={})=>Wh({...e,defaults:{...e.defaults,...i}}),o}const Vh=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")}(),wy=Vh.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Ey=Vh.Headers,xy=Wh({fetch:wy,Headers:Ey}),Ty=xy,Sy=()=>window?.__NUXT__?.config||{},Ho=Sy().app,ky=()=>Ho.baseURL,$y=()=>Ho.buildAssetsDir,Ay=(...e)=>Js(zh(),$y(),...e),zh=(...e)=>{const t=Ho.cdnURL||Ho.baseURL;return e.length?Js(t,...e):t};globalThis.__buildAssetsURL=Ay,globalThis.__publicAssetsURL=zh;function Oa(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Oa(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Ry={run:e=>e()},Py=()=>Ry,Gh=typeof console.createTask<"u"?console.createTask:Py;function Ny(e,t){const n=t.shift(),r=Gh(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function Ly(e,t){const n=t.shift(),r=Gh(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Xi(e,t){for(const n of[...e])n(t)}class Oy{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=Oa(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=Oa(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(Ny,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Ly,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Xi(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Xi(this._after,s)}):(this._after&&s&&Xi(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 qh(){return new Oy}function Cy(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;Ca.add(l);try{const d=s?s.run(i,a):a();return n||(t=void 0),await d}finally{Ca.delete(l)}}}}function Iy(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Cy({...e,...r})),t[n],t[n]}}}const Uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},iu="__unctx__",jy=Uo[iu]||(Uo[iu]=Iy()),My=(e,t={})=>jy.get(e,t),au="__unctx_async_handlers__",Ca=Uo[au]||(Uo[au]=new Set);function Wo(e){const t=[];for(const s of Ca){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 Kh=My("nuxt-app"),Dy="__nuxt_plugin";function Fy(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.5.3"},get vue(){return n.vueApp.version}},payload:at({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>Wy(n,s),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=qh(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;fo(n,i,o),fo(n.vueApp.config.globalProperties,i,o)},fo(n.vueApp,"$nuxt",n),fo(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})});const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=at(n.payload.config);return n.provide("config",r),n}async function By(e,t){if(typeof t!="function")return;const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}async function Hy(e,t){const n=[],r=[];for(const s of t){const o=By(e,s);s.meta?.parallel?n.push(o.catch(i=>r.push(i))):await o}if(await Promise.all(n),r.length)throw r[0]}function Uy(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||Vo.default)-(r.meta?.order||Vo.default)),t}const Vo={pre:-20,default:0,post:20};function wt(e,t){if(typeof e=="function")return wt({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,parallel:e.parallel,order:t?.order||e.order||Vo[e.enforce||"default"]||Vo.default},n[Dy]=!0,n}function Wy(e,t,n){const r=()=>n?t(...n):t();return Kh.set(e),e.vueApp.runWithContext(r)}function Ie(){let e;if(fh()&&(e=Ot()?.appContext.app.$nuxt),e=e||Kh.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}function Ul(){return Ie().$config}function fo(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Vy="modulepreload",zy=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},lu={},Gy=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=zy(o,r),o in lu)return;lu[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let d=s.length-1;d>=0;d--){const f=s[d];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":Vy,i||(l.as="script",l.crossOrigin=""),l.href=o,document.head.appendChild(l),i)return new Promise((d,f)=>{l.addEventListener("load",d),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())},Re=(...e)=>Gy(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),qy=-1,Ky=-2,Xy=-3,Yy=-4,Jy=-5,Qy=-6;function Zy(e,t){return e0(JSON.parse(e),t)}function e0(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===qy)return;if(o===Xy)return NaN;if(o===Yy)return 1/0;if(o===Jy)return-1/0;if(o===Qy)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 h=1;h<a.length;h+=1)d.add(s(a[h]));break;case"Map":const f=new Map;r[o]=f;for(let h=1;h<a.length;h+=2)f.set(s(a[h]),s(a[h+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const u=Object.create(null);r[o]=u;for(let h=1;h<a.length;h+=2)u[a[h]]=s(a[h+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!==Ky&&(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 t0(e){return Array.isArray(e)?e:[e]}const Xh=["title","script","style","noscript"],Yh=["base","meta","link","style","script","noscript"],n0=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],r0=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],s0=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"];function Jh(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 Ia(e){return Jh(`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function o0(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 Qh(e,t){const{props:n,tag:r}=e;if(r0.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 cu(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function ho(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)}),Xh.includes(r.tag)&&(r.textContent&&r.textContent!==s.textContent?s.textContent=r.textContent:r.innerHTML&&r.innerHTML!==s.innerHTML&&(s.innerHTML=r.innerHTML)))}let Hr=!1;async function i0(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&&(Hr=Hr||e._hash||!1,Hr)){const u=o0(s.map(h=>h.tag._h));if(Hr===u)return;Hr=u}const o=e._popSideEffectQueue();e.headEntries().map(u=>u._sde).forEach(u=>{Object.entries(u).forEach(([h,p])=>{o[h]=p})});const i=(u,h,p)=>{h=`${u.renderId}:${h}`,u.entry&&(u.entry._sde[h]=p),delete o[h]};function a(u){const h=e.headEntries().find(v=>v._i===u._e),p={renderId:u._d||Ia(u),$el:null,shouldRender:!0,tag:u,entry:h,markSideEffect:(v,E)=>i(p,v,E)};return p}const c=[],l={body:[],head:[]},d=u=>{e._elMap[u.renderId]=u.$el,c.push(u),i(u,"el",()=>{u.$el?.remove(),delete e._elMap[u.renderId]})};for(const u of s){if(await e.hooks.callHook("dom:beforeRenderTag",u),!u.shouldRender)continue;const{tag:h}=u;if(h.tag==="title"){r.title=h.textContent||"",c.push(u);continue}if(h.tag==="htmlAttrs"||h.tag==="bodyAttrs"){u.$el=r[h.tag==="htmlAttrs"?"documentElement":"body"],ho(u,!1,i),c.push(u);continue}if(u.$el=e._elMap[u.renderId],!u.$el&&h.key&&(u.$el=r.querySelector(`${h.tagPosition?.startsWith("body")?"body":"head"} > ${h.tag}[data-h-${h._h}]`)),u.$el){u.tag._d&&ho(u),d(u);continue}l[h.tagPosition?.startsWith("body")?"body":"head"].push(u)}const f={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(l).forEach(([u,h])=>{if(!h.length)return;const p=r?.[u]?.children;if(p){for(const v of[...p].reverse()){const E=v.tagName.toLowerCase();if(!Yh.includes(E))continue;const _=v.getAttributeNames().reduce((T,m)=>({...T,[m]:v.getAttribute(m)}),{}),g={tag:E,props:_};v.innerHTML&&(g.innerHTML=v.innerHTML);const b=Ia(g);let y=h.findIndex(T=>T?.renderId===b);if(y===-1){const T=Qh(g);y=h.findIndex(m=>m?.tag._d&&m.tag._d===T)}if(y!==-1){const T=h[y];T.$el=v,ho(T),d(T),delete h[y]}}h.forEach(v=>{const E=v.tag.tagPosition||"head";f[E]=f[E]||r.createDocumentFragment(),v.$el||(v.$el=r.createElement(v.tag.tag),ho(v,!0)),f[E].appendChild(v.$el),d(v)})}}),f.head&&r.head.appendChild(f.head),f.bodyOpen&&r.body.insertBefore(f.bodyOpen,r.body.firstChild),f.bodyClose&&r.body.appendChild(f.bodyClose);for(const u of c)await e.hooks.callHook("dom:renderTag",u);Object.values(o).forEach(u=>u())}let Yi=null;async function a0(e,t={}){function n(){return Yi=null,i0(e,t)}const r=t.delayFn||(s=>setTimeout(s,10));return Yi=Yi||new Promise(s=>r(()=>s(n())))}function l0(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),a0(t,{document:e?.document||window.document,delayFn:n})}}}}function c0(e){return e?.head.querySelector('meta[name="unhead:ssr"]')?.getAttribute("content")||!1}const uu={critical:2,high:9,low:12,base:-1,title:1,meta:10};function fu(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 uu?uu[t]:10}const u0=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function f0(){return{hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const{prefix:n,offset:r}of u0)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)=>fu(n)-fu(r))}}}}function d0(){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=cu(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=cu(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 h0(){return{hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}}const p0=["link","style","script","noscript"];function m0(){return{hooks:{"tag:normalise":({tag:e,resolvedOptions:t})=>{t.experimentalHashHydration===!0&&(e._h=Ia(e)),e.key&&p0.includes(e.tag)&&(e._h=Jh(e.key),e.props[`data-h-${e._h}`]="")}}}}const du=["script","link","bodyAttrs"];function g0(){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=>(!du.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(!du.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 v0=["templateParams","htmlAttrs","bodyAttrs"];function _0(){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=Qh(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&&v0.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(Yh.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 po(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.replace(new RegExp(`\\${o}(\\W|$)`,"g"),`${i}$1`).trim())}),t.separator&&(e.endsWith(t.separator)&&(e=e.slice(0,-t.separator.length).trim()),e.startsWith(t.separator)&&(e=e.slice(t.separator.length).trim()),e=e.replace(new RegExp(`\\${t.separator}\\s*\\${t.separator}`,"g"),t.separator)),e}function y0(){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=po(o.textContent,s);else if(o.tag==="meta"&&typeof o.props.content=="string")o.props.content=po(o.props.content,s);else if(o.tag==="link"&&typeof o.props.href=="string")o.props.href=po(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"?po(a,s):a)}catch{}e.tags=t.filter(o=>o.tag!=="templateParams")}}}}const b0=typeof window<"u";let Zh;function w0(e){return Zh=e}function E0(){return Zh}async function x0(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 S0(e,{...t}),n.props.children&&(n.props.innerHTML=n.props.children),delete n.props.children,Object.keys(n.props).filter(r=>s0.includes(r)).forEach(r=>{(!["innerHTML","textContent"].includes(r)||Xh.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=T0(n.props.class)),n.props.content&&Array.isArray(n.props.content)?n.props.content.map(r=>({...n,props:{...n.props,content:r}})):n)}function T0(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 S0(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 k0=10;async function $0(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&n0.includes(n)).forEach(([n,r])=>{const s=t0(r);t.push(...s.map(o=>x0(n,o)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,n._p=(e._i<<k0)+r,n))}function A0(){return[_0(),f0(),y0(),d0(),m0(),g0(),h0()]}function R0(e={}){return[l0({document:e?.document,delayFn:e?.domDelayFn})]}function P0(e={}){const t=N0({...e,plugins:[...R0(e),...e?.plugins||[]]});return e.experimentalHashHydration&&t.resolvedOptions.document&&(t._hash=c0(t.resolvedOptions.document)),w0(t),t}function N0(e={}){let t=[],n={},r=0;const s=qh();e?.hooks&&s.addHooks(e.hooks),e.plugins=[...A0(),...e?.plugins||[]],e.plugins.forEach(a=>a.hooks&&s.addHooks(a.hooks)),e.document=e.document||(b0?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(f=>(f._i===l._i&&(l.input=f.input=d,o()),f))}}},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 $0(c)){const f={tag:d,entry:c,resolvedOptions:i.resolvedOptions};await s.callHook("tag:normalise",f),a.tags.push(f.tag)}}return await s.callHook("tags:resolve",a),a.tags},_popSideEffectQueue(){const a={...n};return n={},a},_elMap:{}};return i.hooks.callHook("init",i),i}function L0(e){return typeof e=="function"?e():ue(e)}function zo(e,t=""){if(e instanceof Promise)return e;const n=L0(e);return!e||!n?n:Array.isArray(n)?n.map(r=>zo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,ue(s)]:[r,zo(s,r)])):n}const O0=Sh.startsWith("3"),C0=typeof window<"u",ep="usehead";function Wl(){return Ot()&&dt(ep)||E0()}function I0(e){return{install(n){O0&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ep,e))}}.install}function j0(e={}){const t=P0({...e,domDelayFn:n=>setTimeout(()=>Lt(()=>n()),10),plugins:[M0(),...e?.plugins||[]]});return t.install=I0(t),t}function M0(){return{hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=zo(t.input)}}}}function D0(e,t={}){const n=Wl(),r=ne(!1),s=ne({});vr(()=>{s.value=r.value?{}:zo(e)});const o=n.push(s.value,t);return je(s,a=>{o.patch(a)}),Ot()&&(Or(()=>{o.dispose()}),rh(()=>{r.value=!0}),nh(()=>{r.value=!1})),o}function F0(e,t={}){return Wl().push(e,t)}function B0(e,t={}){const n=Wl();if(n){const r=C0||!!n.resolvedOptions?.document;return t.mode==="server"&&r||t.mode==="client"&&!r?void 0:r?D0(e,t):F0(e,t)}}const H0={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[],style:[],script:[],noscript:[]},U0=!1,ja=!1,W0=!1,V0="__nuxt",z0=!0;function hu(e,t={}){const n=G0(e,t),r=Ie(),s=r._payloadCache=r._payloadCache||{};return s[n]||(s[n]=tp(n).then(o=>o||(delete s[n],null))),s[n]}const pu="json";function G0(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"||Cr(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return Js(Ul().app.baseURL,n.pathname,r?`_payload.${r}.${pu}`:`_payload.${pu}`)}async function tp(e){try{return z0?np(await fetch(e).then(t=>t.text())):await Re(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}function q0(){return!!Ie().payload.prerenderedAt}let mo=null;async function K0(){if(mo)return mo;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=np(e.textContent||""),n=e.dataset.src?await tp(e.dataset.src):void 0;return mo={...t,...n,...window.__NUXT__},mo}function np(e){return Zy(e,Ie()._payloadRevivers)}function X0(e,t){Ie()._payloadRevivers[e]=t}function Ji(e){return e!==null&&typeof e=="object"}function Ma(e,t,n=".",r){if(!Ji(t))return Ma(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]]:Ji(i)&&Ji(s[o])?s[o]=Ma(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Y0(e){return(...t)=>t.reduce((n,r)=>Ma(n,r,"",e),{})}const J0=Y0();class Da 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:Ba(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=rp(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Da.__h3_error__=!0;function Fa(e){if(typeof e=="string")return new Da(e);if(Q0(e))return e;const t=new Da(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=Ba(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ba(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;rp(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 Q0(e){return e?.constructor?.__h3_error__===!0}const Z0=/[^\u0009\u0020-\u007E]/g;function rp(e=""){return e.replace(Z0,"")}function Ba(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}function Ir(...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=Ie(),i=di(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(De(a))return o.payload.state[s]=a,a;i.value=a}return i}const ht=()=>Ie()?.$router,bi=()=>fh()?dt("_route",Ie()._route):Ie()._route,sp=e=>e,eb=()=>{try{if(Ie()._processingMiddleware)return!0}catch{return!0}return!1},op=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:e.path||"/",r=t?.external||Cr(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&&Qs(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const s=eb();if(!r&&s)return e;const o=ht();return r?(t?.replace?location.replace(n):location.href=n,Promise.resolve()):t?.replace?o.replace(e):o.push(e)},wi=()=>di(Ie().payload,"error"),or=e=>{const t=Ei(e);try{const n=Ie(),r=wi();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},tb=async(e={})=>{const t=Ie(),n=wi();t.callHook("app:error:cleared",e),e.redirect&&await ht().replace(e.redirect),n.value=null},nb=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Ei=e=>{const t=Fa(e);return t.__nuxt_error=!0,t},mu={NuxtError:e=>Ei(e),EmptyShallowRef:e=>Vn(e==="_"?void 0:e==="0n"?0n:JSON.parse(e)),EmptyRef:e=>ne(e==="_"?void 0:e==="0n"?0n:JSON.parse(e)),ShallowRef:e=>Vn(e),ShallowReactive:e=>bl(e),Ref:e=>ne(e),Reactive:e=>at(e)},rb=wt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in mu)X0(r,mu[r]);Object.assign(e.payload,([t,n]=Wo(()=>e.runWithContext(K0)),t=await t,n(),t)),window.__NUXT__=e.payload}},1),sb=wt({name:"nuxt:global-components"}),ob=wt({name:"nuxt:head",setup(e){const n=j0();n.push(H0),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.2.2
3
- * (c) 2023 Eduardo San Martin Morote
4
- * @license MIT
5
- */const sr=typeof window<"u";function ib(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ne=Object.assign;function Qi(e,t){const n={};for(const r in t){const s=t[r];n[r]=Pt(s)?s.map(e):e(s)}return n}const Ts=()=>{},Pt=Array.isArray,ab=/\/$/,lb=e=>e.replace(ab,"");function Zi(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=db(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function cb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function gu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ub(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Tr(t.matched[r],n.matched[s])&&ip(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Tr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ip(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!fb(e[n],t[n]))return!1;return!0}function fb(e,t){return Pt(e)?vu(e,t):Pt(t)?vu(t,e):e===t}function vu(e,t){return Pt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function db(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Us;(function(e){e.pop="pop",e.push="push"})(Us||(Us={}));var Ss;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ss||(Ss={}));function hb(e){if(!e)if(sr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),lb(e)}const pb=/^[^#]+#/;function mb(e,t){return e.replace(pb,"#")+t}function gb(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const xi=()=>({left:window.pageXOffset,top:window.pageYOffset});function vb(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=gb(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function _u(e,t){return(history.state?history.state.position-t:-1)+e}const Ha=new Map;function _b(e,t){Ha.set(e,t)}function yb(e){const t=Ha.get(e);return Ha.delete(e),t}let bb=()=>location.protocol+"//"+location.host;function ap(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),gu(c,"")}return gu(n,e)+r+s}function wb(e,t,n,r){let s=[],o=[],i=null;const a=({state:u})=>{const h=ap(e,location),p=n.value,v=t.value;let E=0;if(u){if(n.value=h,t.value=u,i&&i===p){i=null;return}E=v?u.position-v.position:0}else r(h);s.forEach(_=>{_(n.value,p,{delta:E,type:Us.pop,direction:E?E>0?Ss.forward:Ss.back:Ss.unknown})})};function c(){i=n.value}function l(u){s.push(u);const h=()=>{const p=s.indexOf(u);p>-1&&s.splice(p,1)};return o.push(h),h}function d(){const{history:u}=window;u.state&&u.replaceState(Ne({},u.state,{scroll:xi()}),"")}function f(){for(const u of o)u();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:c,listen:l,destroy:f}}function yu(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?xi():null}}function Eb(e){const{history:t,location:n}=window,r={value:ap(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 f=e.indexOf("#"),u=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:bb()+e+c;try{t[d?"replaceState":"pushState"](l,"",u),s.value=l}catch(h){console.error(h),n[d?"replace":"assign"](u)}}function i(c,l){const d=Ne({},t.state,yu(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=Ne({},s.value,t.state,{forward:c,scroll:xi()});o(d.current,d,!0);const f=Ne({},yu(r.value,c,null),{position:d.position+1},l);o(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function lp(e){e=hb(e);const t=Eb(e),n=wb(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Ne({location:"",base:e,go:r,createHref:mb.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function xb(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),lp(e)}function Tb(e){return typeof e=="string"||e&&typeof e=="object"}function cp(e){return typeof e=="string"||typeof e=="symbol"}const Dt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},up=Symbol("");var bu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(bu||(bu={}));function Sr(e,t){return Ne(new Error,{type:e,[up]:!0},t)}function qt(e,t){return e instanceof Error&&up in e&&(t==null||!!(e.type&t))}const wu="[^/]+?",Sb={sensitive:!1,strict:!1,start:!0,end:!0},kb=/[.+*?^${}()[\]/\\]/g;function $b(e,t){const n=Ne({},Sb,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 f=0;f<l.length;f++){const u=l[f];let h=40+(n.sensitive?.25:0);if(u.type===0)f||(s+="/"),s+=u.value.replace(kb,"\\$&"),h+=40;else if(u.type===1){const{value:p,repeatable:v,optional:E,regexp:_}=u;o.push({name:p,repeatable:v,optional:E});const g=_||wu;if(g!==wu){h+=10;try{new RegExp(`(${g})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${g}): `+y.message)}}let b=v?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;f||(b=E&&l.length<2?`(?:/${b})`:"/"+b),E&&(b+="?"),s+=b,h+=20,E&&(h+=-8),v&&(h+=-20),g===".*"&&(h+=-50)}d.push(h)}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),f={};if(!d)return null;for(let u=1;u<d.length;u++){const h=d[u]||"",p=o[u-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function c(l){let d="",f=!1;for(const u of e){(!f||!d.endsWith("/"))&&(d+="/"),f=!1;for(const h of u)if(h.type===0)d+=h.value;else if(h.type===1){const{value:p,repeatable:v,optional:E}=h,_=p in l?l[p]:"";if(Pt(_)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const g=Pt(_)?_.join("/"):_;if(!g)if(E)u.length<2&&(d.endsWith("/")?d=d.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);d+=g}}return d||"/"}return{re:i,score:r,keys:o,parse:a,stringify:c}}function Ab(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Rb(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=Ab(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Eu(r))return 1;if(Eu(s))return-1}return s.length-r.length}function Eu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Pb={type:0,value:""},Nb=/[a-zA-Z0-9_]/;function Lb(e){if(!e)return[[]];if(e==="/")return[[Pb]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${l}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,l="",d="";function f(){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 u(){l+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(l&&f(),i()):c===":"?(f(),n=1):u();break;case 4:u(),n=r;break;case 1:c==="("?n=2:Nb.test(c)?u():(f(),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:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),f(),i(),s}function Ob(e,t,n){const r=$b(Lb(e.path),n),s=Ne(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Cb(e,t){const n=[],r=new Map;t=Su({strict:!1,end:!0,sensitive:!1},t);function s(d){return r.get(d)}function o(d,f,u){const h=!u,p=Ib(d);p.aliasOf=u&&u.record;const v=Su(t,d),E=[p];if("alias"in d){const b=typeof d.alias=="string"?[d.alias]:d.alias;for(const y of b)E.push(Ne({},p,{components:u?u.record.components:p.components,path:y,aliasOf:u?u.record:p}))}let _,g;for(const b of E){const{path:y}=b;if(f&&y[0]!=="/"){const T=f.record.path,m=T[T.length-1]==="/"?"":"/";b.path=f.record.path+(y&&m+y)}if(_=Ob(b,f,v),u?u.alias.push(_):(g=g||_,g!==_&&g.alias.push(_),h&&d.name&&!Tu(_)&&i(d.name)),p.children){const T=p.children;for(let m=0;m<T.length;m++)o(T[m],_,u&&u.children[m])}u=u||_,(_.record.components&&Object.keys(_.record.components).length||_.record.name||_.record.redirect)&&c(_)}return g?()=>{i(g)}:Ts}function i(d){if(cp(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function c(d){let f=0;for(;f<n.length&&Rb(d,n[f])>=0&&(d.record.path!==n[f].record.path||!fp(d,n[f]));)f++;n.splice(f,0,d),d.record.name&&!Tu(d)&&r.set(d.record.name,d)}function l(d,f){let u,h={},p,v;if("name"in d&&d.name){if(u=r.get(d.name),!u)throw Sr(1,{location:d});v=u.record.name,h=Ne(xu(f.params,u.keys.filter(g=>!g.optional).map(g=>g.name)),d.params&&xu(d.params,u.keys.map(g=>g.name))),p=u.stringify(h)}else if("path"in d)p=d.path,u=n.find(g=>g.re.test(p)),u&&(h=u.parse(p),v=u.record.name);else{if(u=f.name?r.get(f.name):n.find(g=>g.re.test(f.path)),!u)throw Sr(1,{location:d,currentLocation:f});v=u.record.name,h=Ne({},f.params,d.params),p=u.stringify(h)}const E=[];let _=u;for(;_;)E.unshift(_.record),_=_.parent;return{name:v,path:p,params:h,matched:E,meta:Mb(E)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function xu(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ib(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:jb(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function jb(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Tu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Mb(e){return e.reduce((t,n)=>Ne(t,n.meta),{})}function Su(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function fp(e,t){return t.children.some(n=>n===e||fp(e,n))}const dp=/#/g,Db=/&/g,Fb=/\//g,Bb=/=/g,Hb=/\?/g,hp=/\+/g,Ub=/%5B/g,Wb=/%5D/g,pp=/%5E/g,Vb=/%60/g,mp=/%7B/g,zb=/%7C/g,gp=/%7D/g,Gb=/%20/g;function Vl(e){return encodeURI(""+e).replace(zb,"|").replace(Ub,"[").replace(Wb,"]")}function qb(e){return Vl(e).replace(mp,"{").replace(gp,"}").replace(pp,"^")}function Ua(e){return Vl(e).replace(hp,"%2B").replace(Gb,"+").replace(dp,"%23").replace(Db,"%26").replace(Vb,"`").replace(mp,"{").replace(gp,"}").replace(pp,"^")}function Kb(e){return Ua(e).replace(Bb,"%3D")}function Xb(e){return Vl(e).replace(dp,"%23").replace(Hb,"%3F")}function Yb(e){return e==null?"":Xb(e).replace(Fb,"%2F")}function Go(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Jb(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(hp," "),i=o.indexOf("="),a=Go(i<0?o:o.slice(0,i)),c=i<0?null:Go(o.slice(i+1));if(a in t){let l=t[a];Pt(l)||(l=t[a]=[l]),l.push(c)}else t[a]=c}return t}function ku(e){let t="";for(let n in e){const r=e[n];if(n=Kb(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Pt(r)?r.map(o=>o&&Ua(o)):[r&&Ua(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Qb(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Pt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Zb=Symbol(""),$u=Symbol(""),zl=Symbol(""),Gl=Symbol(""),Wa=Symbol("");function Ur(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function mn(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const c=f=>{f===!1?a(Sr(4,{from:n,to:t})):f instanceof Error?a(f):Tb(f)?a(Sr(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),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(f=>a(f))})}function ea(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(e1(a)){const l=(a.__vccOpts||a)[t];l&&s.push(mn(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=ib(l)?l.default:l;o.components[i]=d;const u=(d.__vccOpts||d)[t];return u&&mn(u,n,r,o,i)()}))}}return s}function e1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Au(e){const t=dt(zl),n=dt(Gl),r=pe(()=>t.resolve(ue(e.to))),s=pe(()=>{const{matched:c}=r.value,{length:l}=c,d=c[l-1],f=n.matched;if(!d||!f.length)return-1;const u=f.findIndex(Tr.bind(null,d));if(u>-1)return u;const h=Ru(c[l-2]);return l>1&&Ru(d)===h&&f[f.length-1].path!==h?f.findIndex(Tr.bind(null,c[l-2])):u}),o=pe(()=>s.value>-1&&s1(n.params,r.value.params)),i=pe(()=>s.value>-1&&s.value===n.matched.length-1&&ip(n.params,r.value.params));function a(c={}){return r1(c)?t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(Ts):Promise.resolve()}return{route:r,href:pe(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const t1=Le({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:Au,setup(e,{slots:t}){const n=at(Au(e)),{options:r}=dt(zl),s=pe(()=>({[Pu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Pu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:et("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),n1=t1;function r1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function s1(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Pt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Ru(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Pu=(e,t,n)=>e??t??n,o1=Le({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=dt(Wa),s=pe(()=>e.route||r.value),o=dt($u,0),i=pe(()=>{let l=ue(o);const{matched:d}=s.value;let f;for(;(f=d[l])&&!f.components;)l++;return l}),a=pe(()=>s.value.matched[i.value]);hr($u,pe(()=>i.value+1)),hr(Zb,a),hr(Wa,s);const c=ne();return je(()=>[c.value,a.value,e.name],([l,d,f],[u,h,p])=>{d&&(d.instances[f]=l,h&&h!==d&&l&&l===u&&(d.leaveGuards.size||(d.leaveGuards=h.leaveGuards),d.updateGuards.size||(d.updateGuards=h.updateGuards))),l&&d&&(!h||!Tr(d,h)||!u)&&(d.enterCallbacks[f]||[]).forEach(v=>v(l))},{flush:"post"}),()=>{const l=s.value,d=e.name,f=a.value,u=f&&f.components[d];if(!u)return Nu(n.default,{Component:u,route:l});const h=f.props[d],p=h?h===!0?l.params:typeof h=="function"?h(l):h:null,E=et(u,Ne({},p,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[d]=null)},ref:c}));return Nu(n.default,{Component:E,route:l})||E}}});function Nu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const vp=o1;function i1(e){const t=Cb(e.routes,e),n=e.parseQuery||Jb,r=e.stringifyQuery||ku,s=e.history,o=Ur(),i=Ur(),a=Ur(),c=Vn(Dt);let l=Dt;sr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Qi.bind(null,O=>""+O),f=Qi.bind(null,Yb),u=Qi.bind(null,Go);function h(O,J){let V,ie;return cp(O)?(V=t.getRecordMatcher(O),ie=J):ie=O,t.addRoute(ie,V)}function p(O){const J=t.getRecordMatcher(O);J&&t.removeRoute(J)}function v(){return t.getRoutes().map(O=>O.record)}function E(O){return!!t.getRecordMatcher(O)}function _(O,J){if(J=Ne({},J||c.value),typeof O=="string"){const C=Zi(n,O,J.path),D=t.resolve({path:C.path},J),H=s.createHref(C.fullPath);return Ne(C,D,{params:u(D.params),hash:Go(C.hash),redirectedFrom:void 0,href:H})}let V;if("path"in O)V=Ne({},O,{path:Zi(n,O.path,J.path).path});else{const C=Ne({},O.params);for(const D in C)C[D]==null&&delete C[D];V=Ne({},O,{params:f(C)}),J.params=f(J.params)}const ie=t.resolve(V,J),Ee=O.hash||"";ie.params=d(u(ie.params));const N=cb(r,Ne({},O,{hash:qb(Ee),path:ie.path})),L=s.createHref(N);return Ne({fullPath:N,hash:Ee,query:r===ku?Qb(O.query):O.query||{}},ie,{redirectedFrom:void 0,href:L})}function g(O){return typeof O=="string"?Zi(n,O,c.value.path):Ne({},O)}function b(O,J){if(l!==O)return Sr(8,{from:J,to:O})}function y(O){return S(O)}function T(O){return y(Ne(g(O),{replace:!0}))}function m(O){const J=O.matched[O.matched.length-1];if(J&&J.redirect){const{redirect:V}=J;let ie=typeof V=="function"?V(O):V;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=g(ie):{path:ie},ie.params={}),Ne({query:O.query,hash:O.hash,params:"path"in ie?{}:O.params},ie)}}function S(O,J){const V=l=_(O),ie=c.value,Ee=O.state,N=O.force,L=O.replace===!0,C=m(V);if(C)return S(Ne(g(C),{state:typeof C=="object"?Ne({},Ee,C.state):Ee,force:N,replace:L}),J||V);const D=V;D.redirectedFrom=J;let H;return!N&&ub(r,ie,V)&&(H=Sr(16,{to:D,from:ie}),ee(ie,ie,!0,!1)),(H?Promise.resolve(H):k(D,ie)).catch(U=>qt(U)?qt(U,2)?U:oe(U):B(U,D,ie)).then(U=>{if(U){if(qt(U,2))return S(Ne({replace:L},g(U.to),{state:typeof U.to=="object"?Ne({},Ee,U.to.state):Ee,force:N}),J||D)}else U=A(D,ie,!0,L,Ee);return $(D,ie,U),U})}function x(O,J){const V=b(O,J);return V?Promise.reject(V):Promise.resolve()}function w(O){const J=fe.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(O):O()}function k(O,J){let V;const[ie,Ee,N]=a1(O,J);V=ea(ie.reverse(),"beforeRouteLeave",O,J);for(const C of ie)C.leaveGuards.forEach(D=>{V.push(mn(D,O,J))});const L=x.bind(null,O,J);return V.push(L),we(V).then(()=>{V=[];for(const C of o.list())V.push(mn(C,O,J));return V.push(L),we(V)}).then(()=>{V=ea(Ee,"beforeRouteUpdate",O,J);for(const C of Ee)C.updateGuards.forEach(D=>{V.push(mn(D,O,J))});return V.push(L),we(V)}).then(()=>{V=[];for(const C of O.matched)if(C.beforeEnter&&!J.matched.includes(C))if(Pt(C.beforeEnter))for(const D of C.beforeEnter)V.push(mn(D,O,J));else V.push(mn(C.beforeEnter,O,J));return V.push(L),we(V)}).then(()=>(O.matched.forEach(C=>C.enterCallbacks={}),V=ea(N,"beforeRouteEnter",O,J),V.push(L),we(V))).then(()=>{V=[];for(const C of i.list())V.push(mn(C,O,J));return V.push(L),we(V)}).catch(C=>qt(C,8)?C:Promise.reject(C))}function $(O,J,V){for(const ie of a.list())w(()=>ie(O,J,V))}function A(O,J,V,ie,Ee){const N=b(O,J);if(N)return N;const L=J===Dt,C=sr?history.state:{};V&&(ie||L?s.replace(O.fullPath,Ne({scroll:L&&C&&C.scroll},Ee)):s.push(O.fullPath,Ee)),c.value=O,ee(O,J,V,L),oe()}let R;function P(){R||(R=s.listen((O,J,V)=>{if(!_e.listening)return;const ie=_(O),Ee=m(ie);if(Ee){S(Ne(Ee,{replace:!0}),ie).catch(Ts);return}l=ie;const N=c.value;sr&&_b(_u(N.fullPath,V.delta),xi()),k(ie,N).catch(L=>qt(L,12)?L:qt(L,2)?(S(L.to,ie).then(C=>{qt(C,20)&&!V.delta&&V.type===Us.pop&&s.go(-1,!1)}).catch(Ts),Promise.reject()):(V.delta&&s.go(-V.delta,!1),B(L,ie,N))).then(L=>{L=L||A(ie,N,!1),L&&(V.delta&&!qt(L,8)?s.go(-V.delta,!1):V.type===Us.pop&&qt(L,20)&&s.go(-1,!1)),$(ie,N,L)}).catch(Ts)}))}let I=Ur(),j=Ur(),F;function B(O,J,V){oe(O);const ie=j.list();return ie.length?ie.forEach(Ee=>Ee(O,J,V)):console.error(O),Promise.reject(O)}function G(){return F&&c.value!==Dt?Promise.resolve():new Promise((O,J)=>{I.add([O,J])})}function oe(O){return F||(F=!O,P(),I.list().forEach(([J,V])=>O?V(O):J()),I.reset()),O}function ee(O,J,V,ie){const{scrollBehavior:Ee}=e;if(!sr||!Ee)return Promise.resolve();const N=!V&&yb(_u(O.fullPath,0))||(ie||!V)&&history.state&&history.state.scroll||null;return Lt().then(()=>Ee(O,J,N)).then(L=>L&&vb(L)).catch(L=>B(L,O,J))}const re=O=>s.go(O);let de;const fe=new Set,_e={currentRoute:c,listening:!0,addRoute:h,removeRoute:p,hasRoute:E,getRoutes:v,resolve:_,options:e,push:y,replace:T,go:re,back:()=>re(-1),forward:()=>re(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:j.add,isReady:G,install(O){const J=this;O.component("RouterLink",n1),O.component("RouterView",vp),O.config.globalProperties.$router=J,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(c)}),sr&&!de&&c.value===Dt&&(de=!0,y(s.location).catch(Ee=>{}));const V={};for(const Ee in Dt)V[Ee]=pe(()=>c.value[Ee]);O.provide(zl,J),O.provide(Gl,at(V)),O.provide(Wa,c);const ie=O.unmount;fe.add(O),O.unmount=function(){fe.delete(O),fe.size<1&&(l=Dt,R&&R(),R=null,c.value=Dt,de=!1,F=!1),ie()}}};function we(O){return O.reduce((J,V)=>J.then(()=>w(V)),Promise.resolve())}return _e}function a1(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(l=>Tr(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>Tr(l,c))||s.push(c))}return[n,r,s]}function l1(){return dt(Gl)}const Wr={layout:"none"},Vr={layout:"none"},Va=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),c1=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),u1=e=>{const t=Ie();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Va(e)}):Va(e)},f1=()=>null;function _p(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");s.server=s.server??!0,s.default=s.default??f1,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0;const o=Ie(),i=()=>o.isHydrating?o.payload.data[n]:o.static.data[n],a=()=>i()!==void 0;o._asyncData[n]||(o._asyncData[n]={data:ne(i()??s.default()),pending:ne(!a()),error:di(o.payload._errors,n)});const c={...o._asyncData[n]};c.refresh=c.execute=(u={})=>{if(o._asyncDataPromises[n]){if(u.dedupe===!1)return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((u._initial||o.isHydrating&&u._initial!==!1)&&a())return i();c.pending.value=!0;const h=new Promise((p,v)=>{try{p(r(o))}catch(E){v(E)}}).then(p=>{if(h.cancelled)return o._asyncDataPromises[n];let v=p;s.transform&&(v=s.transform(p)),s.pick&&(v=d1(v,s.pick)),c.data.value=v,c.error.value=null}).catch(p=>{if(h.cancelled)return o._asyncDataPromises[n];c.error.value=p,c.data.value=ue(s.default())}).finally(()=>{h.cancelled||(c.pending.value=!1,o.payload.data[n]=c.data.value,c.error.value&&(o.payload._errors[n]=Ei(c.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=h,o._asyncDataPromises[n]};const l=()=>c.refresh({_initial:!0}),d=s.server!==!1&&o.payload.serverRendered;{const u=Ot();if(u&&!u._nuxtOnBeforeMountCbs){u._nuxtOnBeforeMountCbs=[];const p=u._nuxtOnBeforeMountCbs;u&&(oh(()=>{p.forEach(v=>{v()}),p.splice(0,p.length)}),Bs(()=>p.splice(0,p.length)))}d&&o.isHydrating&&a()?c.pending.value=!1:u&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?u._nuxtOnBeforeMountCbs.push(l):s.immediate&&l(),s.watch&&je(s.watch,()=>c.refresh());const h=o.hook("app:data:refresh",p=>{if(!p||p.includes(n))return c.refresh()});u&&Bs(h)}const f=Promise.resolve(o._asyncDataPromises[n]).then(()=>c);return Object.assign(f,c),f}function d1(e,t){const n={};for(const r of t)n[r]=e[r];return n}const h1={ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1};function p1(e,t={}){t={...h1,...t};const n=yp(t);return n.dispatch(e),n.toString()}function yp(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&&!Lu(s)&&d.splice(0,0,"prototype","__proto__","letructor"),e.excludeKeys&&(d=d.filter(function(f){return!e.excludeKeys(f)})),r("object:"+d.length+":");for(const f of d)this.dispatch(f),r(":"),e.excludeValues||this.dispatch(s[f]),r(",")}},_array(s,o){if(o=typeof o<"u"?o:e.unorderedArrays!==!1,r("array:"+s.length+":"),!o||s.length<=1){for(const c of s)this.dispatch(c);return}const i=[],a=s.map(c=>{const l=yp(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:"),Lu(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 Lu(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 kr{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||m1).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new kr([...this.words])}}const m1={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},g1={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const s=e.words[r>>>2]>>>24-r%4*8&255,o=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=s<<16|o<<8|i;for(let c=0;c<4&&r*8+c*6<e.sigBytes*8;c++)n.push(t.charAt(a>>>6*(3-c)&63))}return n.join("")}},v1={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new kr(n,t)}},_1={parse(e){return v1.parse(unescape(encodeURIComponent(e)))}};class y1{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new kr,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=_1.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*this.blockSize,o=Math.min(s*4,this._data.sigBytes);if(s){for(let i=0;i<s;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,s),this._data.sigBytes-=o}return new kr(n,o)}}class b1 extends y1{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const w1=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],E1=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Nn=[];class x1 extends b1{constructor(){super(),this.reset()}reset(){super.reset(),this._hash=new kr([...w1])}_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],f=r[7];for(let u=0;u<64;u++){if(u<16)Nn[u]=t[n+u]|0;else{const b=Nn[u-15],y=(b<<25|b>>>7)^(b<<14|b>>>18)^b>>>3,T=Nn[u-2],m=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;Nn[u]=y+Nn[u-7]+m+Nn[u-16]}const h=c&l^~c&d,p=s&o^s&i^o&i,v=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),E=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),_=f+E+h+E1[u]+Nn[u],g=v+p;f=d,d=l,l=c,c=a+_|0,a=i,i=o,o=s,s=_+g|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0,r[5]=r[5]+l|0,r[6]=r[6]+d|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function T1(e){return new x1().finalize(e).toString(g1)}function S1(e,t={}){const n=typeof e=="string"?e:p1(e,t);return T1(n).slice(0,10)}function k1(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=r.key||S1([s,ue(r.baseURL),typeof e=="string"?e:"",ue(r.params||r.query)]);if(!o||typeof o!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+o);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const i=o===s?"$f"+o:o,a=pe(()=>{let y=e;return typeof y=="function"&&(y=y()),ue(y)});if(!r.baseURL&&typeof a.value=="string"&&a.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:c,lazy:l,default:d,transform:f,pick:u,watch:h,immediate:p,...v}=r,E=at({...v,cache:typeof r.cache=="boolean"?void 0:r.cache}),_={server:c,lazy:l,default:d,transform:f,pick:u,immediate:p,watch:h===!1?[]:[E,a,...h||[]]};let g;return _p(i,()=>(g?.abort?.(),g=typeof AbortController<"u"?new AbortController:{},typeof a.value=="string"&&a.value.startsWith("/"),(r.$fetch||globalThis.$fetch)(a.value,{signal:g.signal,...E})),_)}async function bp(e,t=ht()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>bp(e,t));t._routePreloaded.add(n);const o=r.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}function $1(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Ie().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const A1=(...e)=>e.find(t=>t!==void 0),R1="noopener noreferrer";function P1(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?Hh:Hl;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 Le({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:s}){const o=ht(),i=pe(()=>{const f=r.to||r.href||"";return n(f,o.resolve)}),a=pe(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Cr(i.value,{acceptRelative:!0})),c=ne(!1),l=ne(null),d=f=>{l.value=r.custom?f?.$el?.nextElementSibling:f?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!L1()){const u=Ie();let h,p=null;$n(()=>{const v=N1();u1(()=>{h=Va(()=>{l?.value?.tagName&&(p=v.observe(l.value,async()=>{p?.(),p=null;const E=typeof i.value=="string"?i.value:o.resolve(i.value).fullPath;await Promise.all([u.hooks.callHook("link:prefetch",E).catch(()=>{}),!a.value&&bp(i.value,o).catch(()=>{})]),c.value=!0}))})})}),Or(()=>{h&&c1(h),p?.(),p=null})}return()=>{if(!a.value){const v={ref:d,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(c.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel),et(xn("RouterLink"),v,s.default)}const f=typeof i.value=="object"?o.resolve(i.value)?.href??null:i.value||null,u=r.target||null,h=r.noRel?null:A1(r.rel,e.externalRelAttribute,f?R1:"")||null,p=()=>op(f,{replace:r.replace});return r.custom?s.default?s.default({href:f,navigate:p,get route(){if(!f)return;const v=Qs(f);return{path:v.pathname,fullPath:v.pathname,get query(){return Bh(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f}},rel:h,target:u,isExternal:a.value,isActive:!1,isExactActive:!1}):null:et("a",{ref:l,href:f,rel:h,target:u},s.default?.())}}})}const ql=P1({componentName:"NuxtLink"});function N1(){const e=Ie();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const 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 L1(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function O1(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const C1=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function I1(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const Ou=function(...e){e=e.map(r=>O1(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:I1();!s||s.length===0||(t=`${s}/${t}`,n=Cu(s))}return t=j1(t,!n),n&&!Cu(t)?`/${t}`:t.length>0?t:"."};function j1(e,t){let n="",r=0,s=-1,o=0,i=null;for(let a=0;a<=e.length;++a){if(a<e.length)i=e[a];else{if(i==="/")break;i="/"}if(i==="/"){if(!(s===a-1||o===1))if(o===2){if(n.length<2||r!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const 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 Cu=function(e){return C1.test(e)},M1=function(e,t){const n=Ou(e).split("/"),r=Ou(t).split("/"),s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function h2(e){return!!e.match(/[/\\]node_modules[/\\]/)||Kl(e)}function Kl(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function D1(e){if(Kl(e))return e;const t=e.replace(/\\/g,"/").match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t.startsWith("@")?t.split("/").slice(0,2).join("/"):t.split("/")[0]}function F1(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function p2(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function m2(e,t){if(e=e.replace(/\\/g,"/"),Kl(e))return{moduleName:e,path:e};const n=D1(e),r=F1(e);if(n&&r)return{moduleName:n,path:r};try{let s=M1(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function pt(e,t,n){const r=Ie();return r.payload.unique||(r.payload.unique={}),r.payload.unique[e]||(r.payload.unique[e]=_p(e,t,n)),r.payload.unique[e].data}function g2(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Iu={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 v2(e){return Iu[e.toLowerCase()]||Iu.default}function _2(e,t){const n={};for(const[r,s]of Object.entries(t))for(const o of s){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}function y2(e){return Number.isNaN(e)||e<0?"-":e<1?"<1ms":e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function rn(e){return kd()?(dg(e),!0):!1}function Ze(e){return typeof e=="function"?e():ue(e)}const Gn=typeof window<"u",B1=e=>typeof e<"u",$r=()=>{},H1=U1();function U1(){var e;return Gn&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function wp(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 Ep=e=>e();function W1(e,t={}){let n,r,s=$r;const o=a=>{clearTimeout(a),s(),s=$r};return a=>{const c=Ze(e),l=Ze(t.maxWait);return n&&o(n),c<=0||l!==void 0&&l<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((d,f)=>{s=t.rejectOnCancel?f:d,l&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,d(a())},l)),n=setTimeout(()=>{r&&o(r),r=null,d(a())},c)})}}function V1(e=Ep){const t=ne(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Jn(t),pause:n,resume:r,eventFilter:s}}function ju(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function z1(...e){if(e.length!==1)return di(...e);const t=e[0];return typeof t=="function"?Jn(Ud(()=>({get:t,set:$r}))):ne(t)}function G1(e,t=200,n={}){return wp(W1(t,n),e)}function q1(e,t=200,n={}){const r=ne(e.value),s=G1(()=>{r.value=e.value},t,n);return je(e,()=>s()),r}var K1=Object.defineProperty,X1=Object.defineProperties,Y1=Object.getOwnPropertyDescriptors,Mu=Object.getOwnPropertySymbols,J1=Object.prototype.hasOwnProperty,Q1=Object.prototype.propertyIsEnumerable,Du=(e,t,n)=>t in e?K1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Z1=(e,t)=>{for(var n in t||(t={}))J1.call(t,n)&&Du(e,n,t[n]);if(Mu)for(var n of Mu(t))Q1.call(t,n)&&Du(e,n,t[n]);return e},ew=(e,t)=>X1(e,Y1(t));function tw(e){if(!De(e))return Wg(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=Ud(()=>({get(){return e.value[n]},set(r){if(Array.isArray(e.value)){const s=[...e.value];s[n]=r,e.value=s}else{const s=ew(Z1({},e.value),{[n]:r});Object.setPrototypeOf(s,e.value),e.value=s}}}));return t}function Xl(e,t=!0){Ot()?$n(e):t?e():Lt(e)}function za(e,t=!1){function n(f,{flush:u="sync",deep:h=!1,timeout:p,throwOnTimeout:v}={}){let E=null;const g=[new Promise(b=>{E=je(e,y=>{f(y)!==t&&(E?.(),b(y))},{flush:u,deep:h,immediate:!0})})];return p!=null&&g.push(ju(p,v).then(()=>Ze(e)).finally(()=>E?.())),Promise.race(g)}function r(f,u){if(!De(f))return n(y=>y===f,u);const{flush:h="sync",deep:p=!1,timeout:v,throwOnTimeout:E}=u??{};let _=null;const b=[new Promise(y=>{_=je([e,f],([T,m])=>{t!==(T===m)&&(_?.(),y(T))},{flush:h,deep:p,immediate:!0})})];return v!=null&&b.push(ju(v,E).then(()=>Ze(e)).finally(()=>(_?.(),Ze(e)))),Promise.race(b)}function s(f){return n(u=>!!u,f)}function o(f){return r(null,f)}function i(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function c(f,u){return n(h=>{const p=Array.from(h);return p.includes(f)||p.includes(Ze(f))},u)}function l(f){return d(1,f)}function d(f=1,u){let h=-1;return n(()=>(h+=1,h>=f),u)}return Array.isArray(Ze(e))?{toMatch:n,toContains:c,changed:l,changedTimes:d,get not(){return za(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:l,changedTimes:d,get not(){return za(e,!t)}}}function nw(e){return za(e)}function rw(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let o=null;const i=ne(!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&&Gn&&l(),De(t)||typeof t=="function"){const d=je(t,()=>{i.value&&Gn&&l()});rn(d)}return rn(c),{isActive:i,pause:c,resume:l}}function sw(e,t,n={}){const{immediate:r=!0}=n,s=ne(!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,Gn&&c()),rn(a),{isPending:Jn(s),start:c,stop:a}}var Fu=Object.getOwnPropertySymbols,ow=Object.prototype.hasOwnProperty,iw=Object.prototype.propertyIsEnumerable,aw=(e,t)=>{var n={};for(var r in e)ow.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Fu)for(var r of Fu(e))t.indexOf(r)<0&&iw.call(e,r)&&(n[r]=e[r]);return n};function lw(e,t,n={}){const r=n,{eventFilter:s=Ep}=r,o=aw(r,["eventFilter"]);return je(e,wp(s,t),o)}var cw=Object.defineProperty,uw=Object.defineProperties,fw=Object.getOwnPropertyDescriptors,qo=Object.getOwnPropertySymbols,xp=Object.prototype.hasOwnProperty,Tp=Object.prototype.propertyIsEnumerable,Bu=(e,t,n)=>t in e?cw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dw=(e,t)=>{for(var n in t||(t={}))xp.call(t,n)&&Bu(e,n,t[n]);if(qo)for(var n of qo(t))Tp.call(t,n)&&Bu(e,n,t[n]);return e},hw=(e,t)=>uw(e,fw(t)),pw=(e,t)=>{var n={};for(var r in e)xp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&qo)for(var r of qo(e))t.indexOf(r)<0&&Tp.call(e,r)&&(n[r]=e[r]);return n};function mw(e,t,n={}){const r=n,{eventFilter:s}=r,o=pw(r,["eventFilter"]),{eventFilter:i,pause:a,resume:c,isActive:l}=V1(s);return{stop:lw(e,t,hw(dw({},o),{eventFilter:i})),pause:a,resume:c,isActive:l}}function b2(e,t,n){let r;De(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:a=$r}=r,c=ne(!s),l=i?Vn(t):ne(t);let d=0;return vr(async f=>{if(!c.value)return;d++;const u=d;let h=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const p=await e(v=>{f(()=>{o&&(o.value=!1),h||v()})});u===d&&(l.value=p)}catch(p){a(p)}finally{o&&u===d&&(o.value=!1),h=!0}}),s?pe(()=>(c.value=!0,l.value)):l}function Yl(e={}){let t=0;const n=ne([]);function r(...i){const a=bl({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=Le((i,{slots:a})=>{const c=()=>n.value.map(l=>{var d;return et(Me,{key:l.key},(d=a.default)==null?void 0:d.call(a,l))});return e.transition?()=>et(w_,e.transition,c):c});return o.start=s,o}function ft(e){var t;const n=Ze(e);return(t=n?.$el)!=null?t:n}const Nt=Gn?window:void 0,gw=Gn?window.document:void 0,vw=Gn?window.navigator:void 0;function Rt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Nt):[t,n,r,s]=e,!t)return $r;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(d=>d()),o.length=0},a=(d,f,u,h)=>(d.addEventListener(f,u,h),()=>d.removeEventListener(f,u,h)),c=je(()=>[ft(t),Ze(s)],([d,f])=>{i(),d&&o.push(...n.flatMap(u=>r.map(h=>a(d,u,h,f))))},{immediate:!0,flush:"post"}),l=()=>{c(),i()};return rn(l),l}let Hu=!1;function _w(e,t,n={}){const{window:r=Nt,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;H1&&!Hu&&(Hu=!0,Array.from(r.document.body.children).forEach(u=>u.addEventListener("click",$r)));let a=!0;const c=u=>s.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(p=>p===u.target||u.composedPath().includes(p));{const p=ft(h);return p&&(u.target===p||u.composedPath().includes(p))}}),d=[Rt(r,"click",u=>{const h=ft(e);if(!(!h||h===u.target||u.composedPath().includes(h))){if(u.detail===0&&(a=!c(u)),!a){a=!0;return}t(u)}},{passive:!0,capture:o}),Rt(r,"pointerdown",u=>{const h=ft(e);h&&(a=!u.composedPath().includes(h)&&!c(u))},{passive:!0}),i&&Rt(r,"blur",u=>{setTimeout(()=>{var h;const p=ft(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!p?.contains(r.document.activeElement)&&t(u)},0)})].filter(Boolean);return()=>d.forEach(u=>u())}var yw=Object.defineProperty,bw=Object.defineProperties,ww=Object.getOwnPropertyDescriptors,Uu=Object.getOwnPropertySymbols,Ew=Object.prototype.hasOwnProperty,xw=Object.prototype.propertyIsEnumerable,Wu=(e,t,n)=>t in e?yw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tw=(e,t)=>{for(var n in t||(t={}))Ew.call(t,n)&&Wu(e,n,t[n]);if(Uu)for(var n of Uu(t))xw.call(t,n)&&Wu(e,n,t[n]);return e},Sw=(e,t)=>bw(e,ww(t));function kw(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function $w(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Nt,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,c=kw(t);return Rt(s,o,d=>{d.repeat&&Ze(a)||c(d)&&n(d)},i)}function w2(e,t,n={}){return $w(e,t,Sw(Tw({},n),{eventName:"keydown"}))}function Aw(){const e=ne(!1);return Ot()&&$n(()=>{e.value=!0}),e}function Jl(e){const t=Aw();return pe(()=>(t.value,!!e()))}function Rw(e,t={}){const{immediate:n=!0,window:r=Nt}=t,s=ne(!1);let o=0,i=null;function a(d){if(!s.value||!r)return;const f=d-o;e({delta:f,timestamp:d}),o=d,i=r.requestAnimationFrame(a)}function 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(),rn(l),{isActive:Jn(s),pause:l,resume:c}}function Pw(e,t={}){const{window:n=Nt}=t,r=Jl(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=ne(!1),i=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},a=()=>{r.value&&(i(),s=n.matchMedia(z1(e).value),o.value=!!s?.matches,s&&("addEventListener"in s?s.addEventListener("change",a):s.addListener(a)))};return vr(a),rn(()=>i()),o}function E2(e={}){const{navigator:t=vw,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=["copy","cut"],a=Jl(()=>t&&"clipboard"in t),c=pe(()=>a.value||o),l=ne(""),d=ne(!1),f=sw(()=>d.value=!1,s);function u(){a.value?t.clipboard.readText().then(E=>{l.value=E}):l.value=v()}if(c.value&&n)for(const E of i)Rt(E,u);async function h(E=Ze(r)){c.value&&E!=null&&(a.value?await t.clipboard.writeText(E):p(E),l.value=E,d.value=!0,f.start())}function p(E){const _=document.createElement("textarea");_.value=E??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function v(){var E,_,g;return(g=(_=(E=document?.getSelection)==null?void 0:E.call(document))==null?void 0:_.toString())!=null?g:""}return{isSupported:c,text:l,copied:d,copy:h}}function Nw(e){return JSON.parse(JSON.stringify(e))}const go=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vo="__vueuse_ssr_handlers__",Lw=Ow();function Ow(){return vo in go||(go[vo]=go[vo]||{}),go[vo]}function Cw(e,t){return Lw[e]||t}function Iw(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 jw=Object.defineProperty,Vu=Object.getOwnPropertySymbols,Mw=Object.prototype.hasOwnProperty,Dw=Object.prototype.propertyIsEnumerable,zu=(e,t,n)=>t in e?jw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gu=(e,t)=>{for(var n in t||(t={}))Mw.call(t,n)&&zu(e,n,t[n]);if(Vu)for(var n of Vu(t))Dw.call(t,n)&&zu(e,n,t[n]);return e};const Fw={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()}},qu="vueuse-storage";function Bw(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:f=Nt,eventFilter:u,onError:h=x=>{console.error(x)}}=r,p=(d?Vn:ne)(t);if(!n)try{n=Cw("getDefaultStorage",()=>{var x;return(x=Nt)==null?void 0:x.localStorage})()}catch(x){h(x)}if(!n)return p;const v=Ze(t),E=Iw(v),_=(s=r.serializer)!=null?s:Fw[E],{pause:g,resume:b}=mw(p,()=>y(p.value),{flush:o,deep:i,eventFilter:u});return f&&a&&(Rt(f,"storage",S),Rt(f,qu,m)),S(),p;function y(x){try{if(x==null)n.removeItem(e);else{const w=_.write(x),k=n.getItem(e);k!==w&&(n.setItem(e,w),f&&f.dispatchEvent(new CustomEvent(qu,{detail:{key:e,oldValue:k,newValue:w,storageArea:n}})))}}catch(w){h(w)}}function T(x){const w=x?x.newValue:n.getItem(e);if(w==null)return c&&v!==null&&n.setItem(e,_.write(v)),v;if(!x&&l){const k=_.read(w);return typeof l=="function"?l(k,v):E==="object"&&!Array.isArray(k)?Gu(Gu({},v),k):k}else return typeof w!="string"?w:_.read(w)}function m(x){S(x.detail)}function S(x){if(!(x&&x.storageArea!==n)){if(x&&x.key==null){p.value=v;return}if(!(x&&x.key!==e)){g();try{p.value=T(x)}catch(w){h(w)}finally{x?Lt(b):b()}}}}}var Ku=Object.getOwnPropertySymbols,Hw=Object.prototype.hasOwnProperty,Uw=Object.prototype.propertyIsEnumerable,Ww=(e,t)=>{var n={};for(var r in e)Hw.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ku)for(var r of Ku(e))t.indexOf(r)<0&&Uw.call(e,r)&&(n[r]=e[r]);return n};function Sp(e,t,n={}){const r=n,{window:s=Nt}=r,o=Ww(r,["window"]);let i;const a=Jl(()=>s&&"ResizeObserver"in s),c=()=>{i&&(i.disconnect(),i=void 0)},l=pe(()=>Array.isArray(e)?e.map(u=>ft(u)):[ft(e)]),d=je(l,u=>{if(c(),a.value&&s){i=new ResizeObserver(t);for(const h of u)h&&i.observe(h,o)}},{immediate:!0,flush:"post",deep:!0}),f=()=>{c(),d()};return rn(f),{isSupported:a,stop:f}}function x2(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=ne(0),a=ne(0),c=ne(0),l=ne(0),d=ne(0),f=ne(0),u=ne(0),h=ne(0);function p(){const v=ft(e);if(!v){n&&(i.value=0,a.value=0,c.value=0,l.value=0,d.value=0,f.value=0,u.value=0,h.value=0);return}const E=v.getBoundingClientRect();i.value=E.height,a.value=E.bottom,c.value=E.left,l.value=E.right,d.value=E.top,f.value=E.width,u.value=E.x,h.value=E.y}return Sp(e,p),je(()=>ft(e),v=>!v&&p()),s&&Rt("scroll",p,{capture:!0,passive:!0}),r&&Rt("resize",p,{passive:!0}),Xl(()=>{o&&p()}),{height:i,bottom:a,left:c,right:l,top:d,width:f,x:u,y:h,update:p}}function T2(e,t={width:0,height:0},n={}){const{window:r=Nt,box:s="content-box"}=n,o=pe(()=>{var c,l;return(l=(c=ft(e))==null?void 0:c.namespaceURI)==null?void 0:l.includes("svg")}),i=ne(t.width),a=ne(t.height);return Sp(e,([c])=>{const l=s==="border-box"?c.borderBoxSize:s==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(r&&o.value){const d=ft(e);if(d){const f=r.getComputedStyle(d);i.value=Number.parseFloat(f.width),a.value=Number.parseFloat(f.height)}}else if(l){const d=Array.isArray(l)?l:[l];i.value=d.reduce((f,{inlineSize:u})=>f+u,0),a.value=d.reduce((f,{blockSize:u})=>f+u,0)}else i.value=c.contentRect.width,a.value=c.contentRect.height},n),je(()=>ft(e),c=>{i.value=c?t.width:0,a.value=c?t.height:0}),{width:i,height:a}}function Ql(e,t,n={}){const{window:r=Nt}=n;return Bw(e,t,r?.localStorage,n)}var Vw=Object.defineProperty,Xu=Object.getOwnPropertySymbols,zw=Object.prototype.hasOwnProperty,Gw=Object.prototype.propertyIsEnumerable,Yu=(e,t,n)=>t in e?Vw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qw=(e,t)=>{for(var n in t||(t={}))zw.call(t,n)&&Yu(e,n,t[n]);if(Xu)for(var n of Xu(t))Gw.call(t,n)&&Yu(e,n,t[n]);return e};function Kw(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=ne(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?Rw(s,{immediate:!0}):rw(s,n,{immediate:!0});return t?qw({now:r},o):r}let Xw=0;function S2(e,t={}){const n=ne(!1),{document:r=gw,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++Xw}`}=t,a=ne(e);let c=()=>{};const l=()=>{if(!r)return;const f=r.getElementById(i)||r.createElement("style");f.isConnected||(f.type="text/css",f.id=i,t.media&&(f.media=t.media),r.head.appendChild(f)),!n.value&&(c=je(a,u=>{f.textContent=u},{immediate:!0}),n.value=!0)},d=()=>{!r||!n.value||(c(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&Xl(l),o||rn(d),{id:i,css:a,unload:d,load:l,isLoaded:Jn(n)}}var Yw=Object.defineProperty,Ko=Object.getOwnPropertySymbols,kp=Object.prototype.hasOwnProperty,$p=Object.prototype.propertyIsEnumerable,Ju=(e,t,n)=>t in e?Yw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jw=(e,t)=>{for(var n in t||(t={}))kp.call(t,n)&&Ju(e,n,t[n]);if(Ko)for(var n of Ko(t))$p.call(t,n)&&Ju(e,n,t[n]);return e},Qw=(e,t)=>{var n={};for(var r in e)kp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ko)for(var r of Ko(e))t.indexOf(r)<0&&$p.call(e,r)&&(n[r]=e[r]);return n};const Zw=[{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"}],eE={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 tE(e){return e.toISOString().slice(0,10)}function k2(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,s=Kw({interval:r,controls:!0}),{now:o}=s,i=Qw(s,["now"]),a=pe(()=>nE(new Date(Ze(e)),t,Ze(o)));return n?Jw({timeAgo:a},i):a}function nE(e,t={},n=Date.now()){var r;const{max:s,messages:o=eE,fullDateFormatter:i=tE,units:a=Zw,showSecond:c=!1,rounding:l="round"}=t,d=typeof l=="number"?E=>+E.toFixed(l):Math[l],f=+n-+e,u=Math.abs(f);function h(E,_){return d(Math.abs(E)/_.value)}function p(E,_){const g=h(E,_),b=E>0,y=v(_.name,g,b);return v(b?"past":"future",y,b)}function v(E,_,g){const b=o[E];return typeof b=="function"?b(_,g):b.replace("{0}",_.toString())}if(u<6e4&&!c)return o.justNow;if(typeof s=="number"&&u>s)return i(new Date(e));if(typeof s=="string"){const E=(r=a.find(_=>_.name===s))==null?void 0:r.max;if(E&&u>E)return i(new Date(e))}for(const[E,_]of a.entries()){if(h(f,_)<=0&&a[E-1])return p(f,a[E-1]);if(u<_.max)return p(f,_)}return o.invalid}function Ap(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:c=!1,eventName:l,deep:d=!1,defaultValue:f,shouldEmit:u}=r,h=Ot(),p=n||h?.emit||((s=h?.$emit)==null?void 0:s.bind(h))||((i=(o=h?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(h?.proxy));let v=l;t||(t="modelValue"),v=v||`update:${t.toString()}`;const E=b=>a?typeof a=="function"?a(b):Nw(b):b,_=()=>B1(e[t])?E(e[t]):f,g=b=>{u?u(b)&&p(v,b):p(v,b)};if(c){const b=_(),y=ne(b);return je(()=>e[t],T=>y.value=E(T)),je(y,T=>{(T!==e[t]||d)&&g(T)},{deep:d}),y}else return pe({get(){return _()},set(b){g(b)}})}function rE(e={}){const{window:t=Nt,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=ne(n),a=ne(r),c=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(c(),Xl(c),Rt("resize",c,{passive:!0}),s){const l=Pw("(orientation: portrait)");je(l,()=>c())}return{width:i,height:a}}const sE=6e4;function Rp(e){return e}const oE=Rp,{setTimeout:iE}=globalThis,aE=Math.random.bind(Math);function lE(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=Rp,deserialize:i=oE,resolver:a,timeout:c=sE}=t,l=new Map;let d;const f=new Proxy({},{get(u,h){if(h==="$functions")return e;const p=(...E)=>{n(o({m:h,a:E,t:"q"}))};if(s.includes(h))return p.asEvent=p,p;const v=async(...E)=>(await d,new Promise((_,g)=>{const b=uE();l.set(b,{resolve:_,reject:g}),n(o({m:h,a:E,i:b,t:"q"})),c>=0&&iE(()=>{g(new Error(`[birpc] timeout on calling "${h}"`)),l.delete(b)},c)}));return v.asEvent=p,v}});return d=r(async(u,...h)=>{const p=i(u);if(p.t==="q"){const{m:v,a:E}=p;let _,g;const b=a?a(v,e[v]):e[v];if(!b)g=new Error(`[birpc] function "${v}" not found`);else try{_=await b.apply(f,E)}catch(y){g=y}p.i&&(g&&t.onError&&t.onError(g,v,E),n(o({t:"s",i:p.i,r:_,e:g}),...h))}else{const{i:v,r:E,e:_}=p,g=l.get(v);g&&(_?g.reject(_):g.resolve(E)),l.delete(v)}}),f}const cE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function uE(e=21){let t="",n=e;for(;n--;)t+=cE[aE()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:fE,stringify:dE}=JSON,{keys:hE}=Object,Ws=String,Pp="string",Qu={},Xo="object",Np=(e,t)=>t,pE=e=>e instanceof Ws?Ws(e):e,mE=(e,t)=>typeof t===Pp?new Ws(t):t,Lp=(e,t,n,r)=>{const s=[];for(let o=hE(n),{length:i}=o,a=0;a<i;a++){const c=o[a],l=n[c];if(l instanceof Ws){const d=e[l];typeof d===Xo&&!t.has(d)?(t.add(d),n[c]=Qu,s.push({k:c,a:[e,t,d,r]})):n[c]=r.call(n,c,d)}else n[c]!==Qu&&(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,Lp.apply(null,c))}return n},Zu=(e,t,n)=>{const r=Ws(t.push(n)-1);return e.set(n,r),r},gE=(e,t)=>{const n=fE(e,mE).map(pE),r=n[0],s=t||Np,o=typeof r===Xo&&r?Lp(n,new Set,r,s):r;return s.call({"":o},"",o)},vE=(e,t,n)=>{const r=t&&typeof t===Xo?(d,f)=>d===""||-1<t.indexOf(d)?f:void 0:t||Np,s=new Map,o=[],i=[];let a=+Zu(s,o,r.call({"":e},"",e)),c=!a;for(;a<o.length;)c=!0,i[a]=dE(o[a++],l,n);return"["+i.join(",")+"]";function l(d,f){if(c)return c=!c,f;const u=r.call(this,d,f);switch(typeof u){case Xo:if(u===null)return u;case Pp:return s.get(u)||Zu(s,o,u)}return u}};async function _E(e="/",t=!0){try{return await Re(()=>import(`${e}@vite/client`),[],import.meta.url)}catch{t&&console.error(`[vite-plugin-hot] Failed to import "${e}@vite/client"`)}}async function yE(e="/____",t="/"){return(await _E(t))?.createHotContext(e)}const Op="nuxt:devtools:rpc",bE=ne(!1),wE=ne(),EE=q1(bE,2e3),xE=TE();let Cp=()=>{};const Ip={},jp=new Map,Fe=lE(Ip,{post:async e=>{(await xE).send(Op,e)},on:e=>{Cp=e},serialize:vE,deserialize:gE,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return jp.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function TE(){const e=await yE();if(!e)throw new Error("Unable to connect to devtools");return e.on(Op,t=>{Cp(t)}),e}const $2=Yl(),Mp=Yl();function SE(){return Ir("devtools:restart-dialogs",()=>[])}let Dp;function ef(e){Dp?.(e)}function kE(e){Dp=e}var $E=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function AE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function A2(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var s=[null];s.push.apply(s,arguments);var o=Function.bind.apply(t,s);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var Ga={exports:{}};(function(e,t){(function(n,r){var s="1.0.35",o="",i="?",a="function",c="undefined",l="object",d="string",f="major",u="model",h="name",p="type",v="vendor",E="version",_="architecture",g="console",b="mobile",y="tablet",T="smarttv",m="wearable",S="embedded",x=350,w="Amazon",k="Apple",$="ASUS",A="BlackBerry",R="Browser",P="Chrome",I="Edge",j="Firefox",F="Google",B="Huawei",G="LG",oe="Microsoft",ee="Motorola",re="Opera",de="Samsung",fe="Sharp",_e="Sony",we="Xiaomi",O="Zebra",J="Facebook",V="Chromium OS",ie="Mac OS",Ee=function(q,te){var X={};for(var Q in q)te[Q]&&te[Q].length%2===0?X[Q]=te[Q].concat(q[Q]):X[Q]=q[Q];return X},N=function(q){for(var te={},X=0;X<q.length;X++)te[q[X].toUpperCase()]=q[X];return te},L=function(q,te){return typeof q===d?C(te).indexOf(C(q))!==-1:!1},C=function(q){return q.toLowerCase()},D=function(q){return typeof q===d?q.replace(/[^\d\.]/g,o).split(".")[0]:r},H=function(q,te){if(typeof q===d)return q=q.replace(/^\s\s*/,o),typeof te===c?q:q.substring(0,x)},U=function(q,te){for(var X=0,Q,ge,Pe,be,me,Xe;X<te.length&&!me;){var Zn=te[X],Ye=te[X+1];for(Q=ge=0;Q<Zn.length&&!me&&Zn[Q];)if(me=Zn[Q++].exec(q),me)for(Pe=0;Pe<Ye.length;Pe++)Xe=me[++ge],be=Ye[Pe],typeof be===l&&be.length>0?be.length===2?typeof be[1]==a?this[be[0]]=be[1].call(this,Xe):this[be[0]]=be[1]:be.length===3?typeof be[1]===a&&!(be[1].exec&&be[1].test)?this[be[0]]=Xe?be[1].call(this,Xe,be[2]):r:this[be[0]]=Xe?Xe.replace(be[1],be[2]):r:be.length===4&&(this[be[0]]=Xe?be[3].call(this,Xe.replace(be[1],be[2])):r):this[be]=Xe||r;X+=2}},Z=function(q,te){for(var X in te)if(typeof te[X]===l&&te[X].length>0){for(var Q=0;Q<te[X].length;Q++)if(L(te[X][Q],q))return X===i?r:X}else if(L(te[X],q))return X===i?r:X;return q},Y={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},K={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},z={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[E,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[E,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,E],[/opios[\/ ]+([\w\.]+)/i],[E,[h,re+" Mini"]],[/\bopr\/([\w\.]+)/i],[E,[h,re]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,E],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[E,[h,"UC"+R]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[E,[h,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[E,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[E,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[E,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[E,[h,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+R],E],[/\bfocus\/([\w\.]+)/i],[E,[h,j+" Focus"]],[/\bopt\/([\w\.]+)/i],[E,[h,re+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[E,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[E,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[E,[h,re+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[E,[h,"MIUI "+R]],[/fxios\/([-\w\.]+)/i],[E,[h,j]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+R]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+R],E],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],E],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[h,E],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,J],E],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[h,E],[/\bgsa\/([\w\.]+) .*safari\//i],[E,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[E,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[E,[h,P+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,P+" WebView"],E],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[E,[h,"Android "+R]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,E],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[E,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[E,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[E,Z,Y]],[/(webkit|khtml)\/([\w\.]+)/i],[h,E],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],E],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[E,[h,j+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,E],[/(cobalt)\/([\w\.]+)/i],[h,[E,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[_,"amd64"]],[/(ia32(?=;))/i],[[_,C]],[/((?:i[346]|x)86)[;\)]/i],[[_,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[_,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[_,"armhf"]],[/windows (ce|mobile); ppc;/i],[[_,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[_,/ower/,o,C]],[/(sun4\w)[;\)]/i],[[_,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[_,C]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[v,de],[p,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[v,de],[p,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[u,[v,k],[p,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[v,k],[p,y]],[/(macintosh);/i],[u,[v,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[v,fe],[p,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[v,B],[p,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[u,[v,B],[p,b]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[v,we],[p,b]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[v,we],[p,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[v,"OPPO"],[p,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[v,"Vivo"],[p,b]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[u,[v,"Realme"],[p,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[v,ee],[p,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[v,ee],[p,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[v,G],[p,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[v,G],[p,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[v,"Lenovo"],[p,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[v,"Nokia"],[p,b]],[/(pixel c)\b/i],[u,[v,F],[p,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[v,F],[p,b]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[v,_e],[p,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[v,_e],[p,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[v,"OnePlus"],[p,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[v,w],[p,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[v,w],[p,b]],[/(playbook);[-\w\),; ]+(rim)/i],[u,v,[p,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[v,A],[p,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[v,$],[p,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[v,$],[p,b]],[/(nexus 9)/i],[u,[v,"HTC"],[p,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[u,/_/g," "],[p,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[v,"Acer"],[p,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[v,"Meizu"],[p,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,u,[p,b]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,u,[p,y]],[/(surface duo)/i],[u,[v,oe],[p,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[v,"Fairphone"],[p,b]],[/(u304aa)/i],[u,[v,"AT&T"],[p,b]],[/\bsie-(\w*)/i],[u,[v,"Siemens"],[p,b]],[/\b(rct\w+) b/i],[u,[v,"RCA"],[p,y]],[/\b(venue[\d ]{2,7}) b/i],[u,[v,"Dell"],[p,y]],[/\b(q(?:mv|ta)\w+) b/i],[u,[v,"Verizon"],[p,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[v,"Barnes & Noble"],[p,y]],[/\b(tm\d{3}\w+) b/i],[u,[v,"NuVision"],[p,y]],[/\b(k88) b/i],[u,[v,"ZTE"],[p,y]],[/\b(nx\d{3}j) b/i],[u,[v,"ZTE"],[p,b]],[/\b(gen\d{3}) b.+49h/i],[u,[v,"Swiss"],[p,b]],[/\b(zur\d{3}) b/i],[u,[v,"Swiss"],[p,y]],[/\b((zeki)?tb.*\b) b/i],[u,[v,"Zeki"],[p,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],u,[p,y]],[/\b(ns-?\w{0,9}) b/i],[u,[v,"Insignia"],[p,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[v,"NextBook"],[p,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],u,[p,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],u,[p,b]],[/\b(ph-1) /i],[u,[v,"Essential"],[p,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[v,"Envizen"],[p,y]],[/\b(trio[-\w\. ]+) b/i],[u,[v,"MachSpeed"],[p,y]],[/\btu_(1491) b/i],[u,[v,"Rotor"],[p,y]],[/(shield[\w ]+) b/i],[u,[v,"Nvidia"],[p,y]],[/(sprint) (\w+)/i],[v,u,[p,b]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[v,oe],[p,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[v,O],[p,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[v,O],[p,b]],[/smart-tv.+(samsung)/i],[v,[p,T]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[v,de],[p,T]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,G],[p,T]],[/(apple) ?tv/i],[v,[u,k+" TV"],[p,T]],[/crkey/i],[[u,P+"cast"],[v,F],[p,T]],[/droid.+aft(\w)( bui|\))/i],[u,[v,w],[p,T]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[u,[v,fe],[p,T]],[/(bravia[\w ]+)( bui|\))/i],[u,[v,_e],[p,T]],[/(mitv-\w{5}) bui/i],[u,[v,we],[p,T]],[/Hbbtv.*(technisat) (.*);/i],[v,u,[p,T]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,H],[u,H],[p,T]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,T]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,u,[p,g]],[/droid.+; (shield) bui/i],[u,[v,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[u,[v,_e],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[v,oe],[p,g]],[/((pebble))app/i],[v,u,[p,m]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[u,[v,k],[p,m]],[/droid.+; (glass) \d/i],[u,[v,F],[p,m]],[/droid.+; (wt63?0{2,3})\)/i],[u,[v,O],[p,m]],[/(quest( 2| pro)?)/i],[u,[v,J],[p,m]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[p,S]],[/(aeobc)\b/i],[u,[v,w],[p,S]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[u,[p,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[p,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,b]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[E,[h,I+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[E,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,E],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[E,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,E],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[h,[E,Z,K]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,"Windows"],[E,Z,K]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[E,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,ie],[E,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[E,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,E],[/\(bb(10);/i],[E,[h,A]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[E,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[E,[h,j+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[E,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[E,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[E,[h,P+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,V],E],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,E],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],E],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,E]]},se=function(q,te){if(typeof q===l&&(te=q,q=r),!(this instanceof se))return new se(q,te).getResult();var X=typeof n!==c&&n.navigator?n.navigator:r,Q=q||(X&&X.userAgent?X.userAgent:o),ge=X&&X.userAgentData?X.userAgentData:r,Pe=te?Ee(z,te):z,be=X&&X.userAgent==Q;return this.getBrowser=function(){var me={};return me[h]=r,me[E]=r,U.call(me,Q,Pe.browser),me[f]=D(me[E]),be&&X&&X.brave&&typeof X.brave.isBrave==a&&(me[h]="Brave"),me},this.getCPU=function(){var me={};return me[_]=r,U.call(me,Q,Pe.cpu),me},this.getDevice=function(){var me={};return me[v]=r,me[u]=r,me[p]=r,U.call(me,Q,Pe.device),be&&!me[p]&&ge&&ge.mobile&&(me[p]=b),be&&me[u]=="Macintosh"&&X&&typeof X.standalone!==c&&X.maxTouchPoints&&X.maxTouchPoints>2&&(me[u]="iPad",me[p]=y),me},this.getEngine=function(){var me={};return me[h]=r,me[E]=r,U.call(me,Q,Pe.engine),me},this.getOS=function(){var me={};return me[h]=r,me[E]=r,U.call(me,Q,Pe.os),be&&!me[h]&&ge&&ge.platform!="Unknown"&&(me[h]=ge.platform.replace(/chrome os/i,V).replace(/macos/i,ie)),me},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Q},this.setUA=function(me){return Q=typeof me===d&&me.length>x?H(me,x):me,this},this.setUA(Q),this};se.VERSION=s,se.BROWSER=N([h,E,f]),se.CPU=N([_]),se.DEVICE=N([u,v,p,g,b,T,y,m,S]),se.ENGINE=se.OS=N([h,E]),e.exports&&(t=e.exports=se),t.UAParser=se;var M=typeof n!==c&&(n.jQuery||n.Zepto);if(M&&!M.ua){var W=new se;M.ua=W.getResult(),M.ua.get=function(){return W.getUA()},M.ua.set=function(q){W.setUA(q);var te=W.getResult();for(var X in te)M.ua[X]=te[X]}}})(typeof window=="object"?window:$E)})(Ga,Ga.exports);var RE=Ga.exports;const Bt=ne(localStorage.getItem("__nuxt_dev_token__")),pr=ne(!1),Fp=new BroadcastChannel("__nuxt_dev_token__");Fp.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===Bt.value)return;const t=e.data.data;Fe.verifyAuthToken(t).then(n=>{Bt.value=n?t:null,pr.value=n})}});function R2(e){Bt.value=e,pr.value=!0,localStorage.setItem("__nuxt_dev_token__",e),Fp.postMessage({event:"new-token",data:e})}async function PE(){if(pr.value)return Bt.value;if(!Bt.value){const e=new RE.UAParser(navigator.userAgent).getResult(),t=[e.browser.name,e.browser.version,"|",e.os.name,e.os.version,e.device.type].filter(r=>r).join(" ");if(Fe.requestForAuth(t),await Promise.race([Mp.start(),nw(Bt.value).toBeTruthy()])===!1)throw ef({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}if(pr.value=await Fe.verifyAuthToken(Bt.value),!pr.value)throw Bt.value=null,ef({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),new Error("Invalid auth token");return Bt.value}var qa={exports:{}};const NE="2.0.0",LE=256,OE=Number.MAX_SAFE_INTEGER||9007199254740991,CE=16,IE=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Ti={MAX_LENGTH:LE,MAX_SAFE_COMPONENT_LENGTH:CE,MAX_SAFE_INTEGER:OE,RELEASE_TYPES:IE,SEMVER_SPEC_VERSION:NE,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const jE=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Si=jE;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=Ti,r=Si;t=e.exports={};const s=t.re=[],o=t.safeRe=[],i=t.src=[],a=t.t={};let c=0;const l=(d,f,u)=>{const h=f.split("\\s*").join("\\s{0,1}").split("\\s+").join("\\s"),p=c++;r(d,p,f),a[d]=p,i[p]=f,s[p]=new RegExp(f,u?"g":void 0),o[p]=new RegExp(h,u?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${i[a.NUMERICIDENTIFIER]}|${i[a.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${i[a.NUMERICIDENTIFIERLOOSE]}|${i[a.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${i[a.PRERELEASEIDENTIFIER]}(?:\\.${i[a.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${i[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[a.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${i[a.BUILDIDENTIFIER]}(?:\\.${i[a.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${i[a.MAINVERSION]}${i[a.PRERELEASE]}?${i[a.BUILD]}?`),l("FULL",`^${i[a.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${i[a.MAINVERSIONLOOSE]}${i[a.PRERELEASELOOSE]}?${i[a.BUILD]}?`),l("LOOSE",`^${i[a.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${i[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${i[a.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:${i[a.PRERELEASE]})?${i[a.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:${i[a.PRERELEASELOOSE]})?${i[a.BUILD]}?)?)?`),l("XRANGE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),l("COERCERTL",i[a.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${i[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${i[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${i[a.LONECARET]}${i[a.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${i[a.LONECARET]}${i[a.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${i[a.GTLT]}\\s*(${i[a.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]}|${i[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${i[a.XRANGEPLAIN]})\\s+-\\s+(${i[a.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${i[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[a.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(qa,qa.exports);var Zs=qa.exports;const ME=Object.freeze({loose:!0}),DE=Object.freeze({}),FE=e=>e?typeof e!="object"?ME:e:DE;var Zl=FE;const tf=/^[0-9]+$/,Bp=(e,t)=>{const n=tf.test(e),r=tf.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},BE=(e,t)=>Bp(t,e);var Hp={compareIdentifiers:Bp,rcompareIdentifiers:BE};const _o=Si,{MAX_LENGTH:nf,MAX_SAFE_INTEGER:yo}=Ti,{safeRe:rf,t:sf}=Zs,HE=Zl,{compareIdentifiers:tr}=Hp;let UE=class Mt{constructor(t,n){if(n=HE(n),t instanceof Mt){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>nf)throw new TypeError(`version is longer than ${nf} characters`);_o("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?rf[sf.LOOSE]:rf[sf.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>yo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>yo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>yo||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){const o=+s;if(o>=0&&o<yo)return o}return s}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(_o("SemVer.compare",this.version,this.options,t),!(t instanceof Mt)){if(typeof t=="string"&&t===this.version)return 0;t=new Mt(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof Mt||(t=new Mt(t,this.options)),tr(this.major,t.major)||tr(this.minor,t.minor)||tr(this.patch,t.patch)}comparePre(t){if(t instanceof Mt||(t=new Mt(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],s=t.prerelease[n];if(_o("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return tr(r,s)}while(++n)}compareBuild(t){t instanceof Mt||(t=new Mt(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(_o("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return tr(r,s)}while(++n)}inc(t,n,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const s=Number(r)?1:0;if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[s];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(n){let o=[n,s];r===!1&&(o=[n]),tr(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var rt=UE;const of=rt,WE=(e,t,n=!1)=>{if(e instanceof of)return e;try{return new of(e,t)}catch(r){if(!n)return null;throw r}};var jr=WE;const VE=jr,zE=(e,t)=>{const n=VE(e,t);return n?n.version:null};var GE=zE;const qE=jr,KE=(e,t)=>{const n=qE(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var XE=KE;const af=rt,YE=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new af(e instanceof af?e.version:e,n).inc(t,r,s).version}catch{return null}};var JE=YE;const lf=jr,QE=(e,t)=>{const n=lf(e,null,!0),r=lf(t,null,!0),s=n.compare(r);if(s===0)return null;const o=s>0,i=o?n:r,a=o?r:n,c=!!i.prerelease.length;if(!!a.prerelease.length&&!c)return!a.patch&&!a.minor?"major":i.patch?"patch":i.minor?"minor":"major";const d=c?"pre":"";return n.major!==r.major?d+"major":n.minor!==r.minor?d+"minor":n.patch!==r.patch?d+"patch":"prerelease"};var ZE=QE;const ex=rt,tx=(e,t)=>new ex(e,t).major;var nx=tx;const rx=rt,sx=(e,t)=>new rx(e,t).minor;var ox=sx;const ix=rt,ax=(e,t)=>new ix(e,t).patch;var lx=ax;const cx=jr,ux=(e,t)=>{const n=cx(e,t);return n&&n.prerelease.length?n.prerelease:null};var fx=ux;const cf=rt,dx=(e,t,n)=>new cf(e,n).compare(new cf(t,n));var Ct=dx;const hx=Ct,px=(e,t,n)=>hx(t,e,n);var mx=px;const gx=Ct,vx=(e,t)=>gx(e,t,!0);var _x=vx;const uf=rt,yx=(e,t,n)=>{const r=new uf(e,n),s=new uf(t,n);return r.compare(s)||r.compareBuild(s)};var ec=yx;const bx=ec,wx=(e,t)=>e.sort((n,r)=>bx(n,r,t));var Ex=wx;const xx=ec,Tx=(e,t)=>e.sort((n,r)=>xx(r,n,t));var Sx=Tx;const kx=Ct,$x=(e,t,n)=>kx(e,t,n)>0;var ki=$x;const Ax=Ct,Rx=(e,t,n)=>Ax(e,t,n)<0;var tc=Rx;const Px=Ct,Nx=(e,t,n)=>Px(e,t,n)===0;var Up=Nx;const Lx=Ct,Ox=(e,t,n)=>Lx(e,t,n)!==0;var Wp=Ox;const Cx=Ct,Ix=(e,t,n)=>Cx(e,t,n)>=0;var nc=Ix;const jx=Ct,Mx=(e,t,n)=>jx(e,t,n)<=0;var rc=Mx;const Dx=Up,Fx=Wp,Bx=ki,Hx=nc,Ux=tc,Wx=rc,Vx=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return Dx(e,n,r);case"!=":return Fx(e,n,r);case">":return Bx(e,n,r);case">=":return Hx(e,n,r);case"<":return Ux(e,n,r);case"<=":return Wx(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var Vp=Vx;const zx=rt,Gx=jr,{safeRe:bo,t:wo}=Zs,qx=(e,t)=>{if(e instanceof zx)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(bo[wo.COERCE]);else{let r;for(;(r=bo[wo.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),bo[wo.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;bo[wo.COERCERTL].lastIndex=-1}return n===null?null:Gx(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var Kx=qx,ta,ff;function Xx(){return ff||(ff=1,ta=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),ta}var Yx=Ae;Ae.Node=qn;Ae.create=Ae;function Ae(e){var t=this;if(t instanceof Ae||(t=new Ae),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(s){t.push(s)});else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}Ae.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Ae.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Ae.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Ae.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)Qx(this,arguments[e]);return this.length};Ae.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)Zx(this,arguments[e]);return this.length};Ae.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Ae.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Ae.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next};Ae.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev};Ae.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};Ae.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};Ae.prototype.map=function(e,t){t=t||this;for(var n=new Ae,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};Ae.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Ae,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};Ae.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;r!==null;s++)n=e(n,r.value,s),r=r.next;return n};Ae.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=this.length-1;r!==null;s--)n=e(n,r.value,s),r=r.prev;return n};Ae.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};Ae.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};Ae.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Ae;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(;s!==null&&r<t;r++,s=s.next)n.push(s.value);return n};Ae.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Ae;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,s=this.tail;s!==null&&r>t;r--)s=s.prev;for(;s!==null&&r>e;r--,s=s.prev)n.push(s.value);return n};Ae.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(var o=[],r=0;s&&r<t;r++)o.push(s.value),s=this.removeNode(s);s===null&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev);for(var r=0;r<n.length;r++)s=Jx(this,s,n[r]);return o};Ae.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function Jx(e,t,n){var r=t===e.head?new qn(n,null,t,e):new qn(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function Qx(e,t){e.tail=new qn(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function Zx(e,t){e.head=new qn(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function qn(e,t,n,r){if(!(this instanceof qn))return new qn(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{Xx()(Ae)}catch{}const eT=Yx,jn=Symbol("max"),Qt=Symbol("length"),nr=Symbol("lengthCalculator"),ks=Symbol("allowStale"),Fn=Symbol("maxAge"),Jt=Symbol("dispose"),df=Symbol("noDisposeOnSet"),Ve=Symbol("lruList"),Et=Symbol("cache"),zp=Symbol("updateAgeOnGet"),na=()=>1;class tT{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[jn]=t.max||1/0;const n=t.length||na;if(this[nr]=typeof n!="function"?na:n,this[ks]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Fn]=t.maxAge||0,this[Jt]=t.dispose,this[df]=t.noDisposeOnSet||!1,this[zp]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[jn]=t||1/0,zr(this)}get max(){return this[jn]}set allowStale(t){this[ks]=!!t}get allowStale(){return this[ks]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Fn]=t,zr(this)}get maxAge(){return this[Fn]}set lengthCalculator(t){typeof t!="function"&&(t=na),t!==this[nr]&&(this[nr]=t,this[Qt]=0,this[Ve].forEach(n=>{n.length=this[nr](n.value,n.key),this[Qt]+=n.length})),zr(this)}get lengthCalculator(){return this[nr]}get length(){return this[Qt]}get itemCount(){return this[Ve].length}rforEach(t,n){n=n||this;for(let r=this[Ve].tail;r!==null;){const s=r.prev;hf(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[Ve].head;r!==null;){const s=r.next;hf(this,t,r,n),r=s}}keys(){return this[Ve].toArray().map(t=>t.key)}values(){return this[Ve].toArray().map(t=>t.value)}reset(){this[Jt]&&this[Ve]&&this[Ve].length&&this[Ve].forEach(t=>this[Jt](t.key,t.value)),this[Et]=new Map,this[Ve]=new eT,this[Qt]=0}dump(){return this[Ve].map(t=>Yo(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Ve]}set(t,n,r){if(r=r||this[Fn],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,o=this[nr](n,t);if(this[Et].has(t)){if(o>this[jn])return mr(this,this[Et].get(t)),!1;const c=this[Et].get(t).value;return this[Jt]&&(this[df]||this[Jt](t,c.value)),c.now=s,c.maxAge=r,c.value=n,this[Qt]+=o-c.length,c.length=o,this.get(t),zr(this),!0}const i=new nT(t,n,o,s,r);return i.length>this[jn]?(this[Jt]&&this[Jt](t,n),!1):(this[Qt]+=i.length,this[Ve].unshift(i),this[Et].set(t,this[Ve].head),zr(this),!0)}has(t){if(!this[Et].has(t))return!1;const n=this[Et].get(t).value;return!Yo(this,n)}get(t){return ra(this,t,!0)}peek(t){return ra(this,t,!1)}pop(){const t=this[Ve].tail;return t?(mr(this,t),t.value):null}del(t){mr(this,this[Et].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const s=t[r],o=s.e||0;if(o===0)this.set(s.k,s.v);else{const i=o-n;i>0&&this.set(s.k,s.v,i)}}}prune(){this[Et].forEach((t,n)=>ra(this,n,!1))}}const ra=(e,t,n)=>{const r=e[Et].get(t);if(r){const s=r.value;if(Yo(e,s)){if(mr(e,r),!e[ks])return}else n&&(e[zp]&&(r.value.now=Date.now()),e[Ve].unshiftNode(r));return s.value}},Yo=(e,t)=>{if(!t||!t.maxAge&&!e[Fn])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[Fn]&&n>e[Fn]},zr=e=>{if(e[Qt]>e[jn])for(let t=e[Ve].tail;e[Qt]>e[jn]&&t!==null;){const n=t.prev;mr(e,t),t=n}},mr=(e,t)=>{if(t){const n=t.value;e[Jt]&&e[Jt](n.key,n.value),e[Qt]-=n.length,e[Et].delete(n.key),e[Ve].removeNode(t)}};class nT{constructor(t,n,r,s,o){this.key=t,this.value=n,this.length=r,this.now=s,this.maxAge=o||0}}const hf=(e,t,n,r)=>{let s=n.value;Yo(e,s)&&(mr(e,n),e[ks]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var rT=tT,sa,pf;function It(){if(pf)return sa;pf=1;class e{constructor(P,I){if(I=r(I),P instanceof e)return P.loose===!!I.loose&&P.includePrerelease===!!I.includePrerelease?P:new e(P.raw,I);if(P instanceof s)return this.raw=P.value,this.set=[[P]],this.format(),this;if(this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease,this.raw=P.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(j=>this.parseRange(j)).filter(j=>j.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const j=this.set[0];if(this.set=this.set.filter(F=>!p(F[0])),this.set.length===0)this.set=[j];else if(this.set.length>1){for(const F of this.set)if(F.length===1&&v(F[0])){this.set=[F];break}}}this.format()}format(){return this.range=this.set.map(P=>P.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(P){const j=((this.options.includePrerelease&&u)|(this.options.loose&&h))+":"+P,F=n.get(j);if(F)return F;const B=this.options.loose,G=B?a[c.HYPHENRANGELOOSE]:a[c.HYPHENRANGE];P=P.replace(G,$(this.options.includePrerelease)),o("hyphen replace",P),P=P.replace(a[c.COMPARATORTRIM],l),o("comparator trim",P),P=P.replace(a[c.TILDETRIM],d),P=P.replace(a[c.CARETTRIM],f);let oe=P.split(" ").map(fe=>_(fe,this.options)).join(" ").split(/\s+/).map(fe=>k(fe,this.options));B&&(oe=oe.filter(fe=>(o("loose invalid filter",fe,this.options),!!fe.match(a[c.COMPARATORLOOSE])))),o("range list",oe);const ee=new Map,re=oe.map(fe=>new s(fe,this.options));for(const fe of re){if(p(fe))return[fe];ee.set(fe.value,fe)}ee.size>1&&ee.has("")&&ee.delete("");const de=[...ee.values()];return n.set(j,de),de}intersects(P,I){if(!(P instanceof e))throw new TypeError("a Range is required");return this.set.some(j=>E(j,I)&&P.set.some(F=>E(F,I)&&j.every(B=>F.every(G=>B.intersects(G,I)))))}test(P){if(!P)return!1;if(typeof P=="string")try{P=new i(P,this.options)}catch{return!1}for(let I=0;I<this.set.length;I++)if(A(this.set[I],P,this.options))return!0;return!1}}sa=e;const t=rT,n=new t({max:1e3}),r=Zl,s=$i(),o=Si,i=rt,{safeRe:a,t:c,comparatorTrimReplace:l,tildeTrimReplace:d,caretTrimReplace:f}=Zs,{FLAG_INCLUDE_PRERELEASE:u,FLAG_LOOSE:h}=Ti,p=R=>R.value==="<0.0.0-0",v=R=>R.value==="",E=(R,P)=>{let I=!0;const j=R.slice();let F=j.pop();for(;I&&j.length;)I=j.every(B=>F.intersects(B,P)),F=j.pop();return I},_=(R,P)=>(o("comp",R,P),R=T(R,P),o("caret",R),R=b(R,P),o("tildes",R),R=S(R,P),o("xrange",R),R=w(R,P),o("stars",R),R),g=R=>!R||R.toLowerCase()==="x"||R==="*",b=(R,P)=>R.trim().split(/\s+/).map(I=>y(I,P)).join(" "),y=(R,P)=>{const I=P.loose?a[c.TILDELOOSE]:a[c.TILDE];return R.replace(I,(j,F,B,G,oe)=>{o("tilde",R,j,F,B,G,oe);let ee;return g(F)?ee="":g(B)?ee=`>=${F}.0.0 <${+F+1}.0.0-0`:g(G)?ee=`>=${F}.${B}.0 <${F}.${+B+1}.0-0`:oe?(o("replaceTilde pr",oe),ee=`>=${F}.${B}.${G}-${oe} <${F}.${+B+1}.0-0`):ee=`>=${F}.${B}.${G} <${F}.${+B+1}.0-0`,o("tilde return",ee),ee})},T=(R,P)=>R.trim().split(/\s+/).map(I=>m(I,P)).join(" "),m=(R,P)=>{o("caret",R,P);const I=P.loose?a[c.CARETLOOSE]:a[c.CARET],j=P.includePrerelease?"-0":"";return R.replace(I,(F,B,G,oe,ee)=>{o("caret",R,F,B,G,oe,ee);let re;return g(B)?re="":g(G)?re=`>=${B}.0.0${j} <${+B+1}.0.0-0`:g(oe)?B==="0"?re=`>=${B}.${G}.0${j} <${B}.${+G+1}.0-0`:re=`>=${B}.${G}.0${j} <${+B+1}.0.0-0`:ee?(o("replaceCaret pr",ee),B==="0"?G==="0"?re=`>=${B}.${G}.${oe}-${ee} <${B}.${G}.${+oe+1}-0`:re=`>=${B}.${G}.${oe}-${ee} <${B}.${+G+1}.0-0`:re=`>=${B}.${G}.${oe}-${ee} <${+B+1}.0.0-0`):(o("no pr"),B==="0"?G==="0"?re=`>=${B}.${G}.${oe}${j} <${B}.${G}.${+oe+1}-0`:re=`>=${B}.${G}.${oe}${j} <${B}.${+G+1}.0-0`:re=`>=${B}.${G}.${oe} <${+B+1}.0.0-0`),o("caret return",re),re})},S=(R,P)=>(o("replaceXRanges",R,P),R.split(/\s+/).map(I=>x(I,P)).join(" ")),x=(R,P)=>{R=R.trim();const I=P.loose?a[c.XRANGELOOSE]:a[c.XRANGE];return R.replace(I,(j,F,B,G,oe,ee)=>{o("xRange",R,j,F,B,G,oe,ee);const re=g(B),de=re||g(G),fe=de||g(oe),_e=fe;return F==="="&&_e&&(F=""),ee=P.includePrerelease?"-0":"",re?F===">"||F==="<"?j="<0.0.0-0":j="*":F&&_e?(de&&(G=0),oe=0,F===">"?(F=">=",de?(B=+B+1,G=0,oe=0):(G=+G+1,oe=0)):F==="<="&&(F="<",de?B=+B+1:G=+G+1),F==="<"&&(ee="-0"),j=`${F+B}.${G}.${oe}${ee}`):de?j=`>=${B}.0.0${ee} <${+B+1}.0.0-0`:fe&&(j=`>=${B}.${G}.0${ee} <${B}.${+G+1}.0-0`),o("xRange return",j),j})},w=(R,P)=>(o("replaceStars",R,P),R.trim().replace(a[c.STAR],"")),k=(R,P)=>(o("replaceGTE0",R,P),R.trim().replace(a[P.includePrerelease?c.GTE0PRE:c.GTE0],"")),$=R=>(P,I,j,F,B,G,oe,ee,re,de,fe,_e,we)=>(g(j)?I="":g(F)?I=`>=${j}.0.0${R?"-0":""}`:g(B)?I=`>=${j}.${F}.0${R?"-0":""}`:G?I=`>=${I}`:I=`>=${I}${R?"-0":""}`,g(re)?ee="":g(de)?ee=`<${+re+1}.0.0-0`:g(fe)?ee=`<${re}.${+de+1}.0-0`:_e?ee=`<=${re}.${de}.${fe}-${_e}`:R?ee=`<${re}.${de}.${+fe+1}-0`:ee=`<=${ee}`,`${I} ${ee}`.trim()),A=(R,P,I)=>{for(let j=0;j<R.length;j++)if(!R[j].test(P))return!1;if(P.prerelease.length&&!I.includePrerelease){for(let j=0;j<R.length;j++)if(o(R[j].semver),R[j].semver!==s.ANY&&R[j].semver.prerelease.length>0){const F=R[j].semver;if(F.major===P.major&&F.minor===P.minor&&F.patch===P.patch)return!0}return!1}return!0};return sa}var oa,mf;function $i(){if(mf)return oa;mf=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(d,f){if(f=n(f),d instanceof t){if(d.loose===!!f.loose)return d;d=d.value}d=d.trim().split(/\s+/).join(" "),i("comparator",d,f),this.options=f,this.loose=!!f.loose,this.parse(d),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(d){const f=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],u=d.match(f);if(!u)throw new TypeError(`Invalid comparator: ${d}`);this.operator=u[1]!==void 0?u[1]:"",this.operator==="="&&(this.operator=""),u[2]?this.semver=new a(u[2],this.options.loose):this.semver=e}toString(){return this.value}test(d){if(i("Comparator.test",d,this.options.loose),this.semver===e||d===e)return!0;if(typeof d=="string")try{d=new a(d,this.options)}catch{return!1}return o(d,this.operator,this.semver,this.options)}intersects(d,f){if(!(d instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new c(d.value,f).test(this.value):d.operator===""?d.value===""?!0:new c(this.value,f).test(d.semver):(f=n(f),f.includePrerelease&&(this.value==="<0.0.0-0"||d.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||d.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&d.operator.startsWith(">")||this.operator.startsWith("<")&&d.operator.startsWith("<")||this.semver.version===d.semver.version&&this.operator.includes("=")&&d.operator.includes("=")||o(this.semver,"<",d.semver,f)&&this.operator.startsWith(">")&&d.operator.startsWith("<")||o(this.semver,">",d.semver,f)&&this.operator.startsWith("<")&&d.operator.startsWith(">")))}}oa=t;const n=Zl,{safeRe:r,t:s}=Zs,o=Vp,i=Si,a=rt,c=It();return oa}const sT=It(),oT=(e,t,n)=>{try{t=new sT(t,n)}catch{return!1}return t.test(e)};var Ai=oT;const iT=It(),aT=(e,t)=>new iT(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var lT=aT;const cT=rt,uT=It(),fT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new uT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new cT(r,n))}),r};var dT=fT;const hT=rt,pT=It(),mT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new pT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new hT(r,n))}),r};var gT=mT;const ia=rt,vT=It(),gf=ki,_T=(e,t)=>{e=new vT(e,t);let n=new ia("0.0.0");if(e.test(n)||(n=new ia("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const s=e.set[r];let o=null;s.forEach(i=>{const a=new ia(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||gf(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||gf(n,o))&&(n=o)}return n&&e.test(n)?n:null};var yT=_T;const bT=It(),wT=(e,t)=>{try{return new bT(e,t).range||"*"}catch{return null}};var ET=wT;const xT=rt,Gp=$i(),{ANY:TT}=Gp,ST=It(),kT=Ai,vf=ki,_f=tc,$T=rc,AT=nc,RT=(e,t,n,r)=>{e=new xT(e,r),t=new ST(t,r);let s,o,i,a,c;switch(n){case">":s=vf,o=$T,i=_f,a=">",c=">=";break;case"<":s=_f,o=AT,i=vf,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(kT(e,t,r))return!1;for(let l=0;l<t.set.length;++l){const d=t.set[l];let f=null,u=null;if(d.forEach(h=>{h.semver===TT&&(h=new Gp(">=0.0.0")),f=f||h,u=u||h,s(h.semver,f.semver,r)?f=h:i(h.semver,u.semver,r)&&(u=h)}),f.operator===a||f.operator===c||(!u.operator||u.operator===a)&&o(e,u.semver))return!1;if(u.operator===c&&i(e,u.semver))return!1}return!0};var sc=RT;const PT=sc,NT=(e,t,n)=>PT(e,t,">",n);var LT=NT;const OT=sc,CT=(e,t,n)=>OT(e,t,"<",n);var IT=CT;const yf=It(),jT=(e,t,n)=>(e=new yf(e,n),t=new yf(t,n),e.intersects(t,n));var MT=jT;const DT=Ai,FT=Ct;var BT=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((d,f)=>FT(d,f,n));for(const d of i)DT(d,t,n)?(o=d,s||(s=d)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const a=[];for(const[d,f]of r)d===f?a.push(d):!f&&d===i[0]?a.push("*"):f?d===i[0]?a.push(`<=${f}`):a.push(`${d} - ${f}`):a.push(`>=${d}`);const c=a.join(" || "),l=typeof t.raw=="string"?t.raw:String(t);return c.length<l.length?c:t};const bf=It(),oc=$i(),{ANY:aa}=oc,Gr=Ai,ic=Ct,HT=(e,t,n={})=>{if(e===t)return!0;e=new bf(e,n),t=new bf(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const i=WT(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},UT=[new oc(">=0.0.0-0")],wf=[new oc(">=0.0.0")],WT=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===aa){if(t.length===1&&t[0].semver===aa)return!0;n.includePrerelease?e=UT:e=wf}if(t.length===1&&t[0].semver===aa){if(n.includePrerelease)return!0;t=wf}const r=new Set;let s,o;for(const h of e)h.operator===">"||h.operator===">="?s=Ef(s,h,n):h.operator==="<"||h.operator==="<="?o=xf(o,h,n):r.add(h.semver);if(r.size>1)return null;let i;if(s&&o){if(i=ic(s.semver,o.semver,n),i>0)return null;if(i===0&&(s.operator!==">="||o.operator!=="<="))return null}for(const h of r){if(s&&!Gr(h,String(s),n)||o&&!Gr(h,String(o),n))return null;for(const p of t)if(!Gr(h,String(p),n))return!1;return!0}let a,c,l,d,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,u=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;f&&f.prerelease.length===1&&o.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(const h of t){if(d=d||h.operator===">"||h.operator===">=",l=l||h.operator==="<"||h.operator==="<=",s){if(u&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===u.major&&h.semver.minor===u.minor&&h.semver.patch===u.patch&&(u=!1),h.operator===">"||h.operator===">="){if(a=Ef(s,h,n),a===h&&a!==s)return!1}else if(s.operator===">="&&!Gr(s.semver,String(h),n))return!1}if(o){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator==="<"||h.operator==="<="){if(c=xf(o,h,n),c===h&&c!==o)return!1}else if(o.operator==="<="&&!Gr(o.semver,String(h),n))return!1}if(!h.operator&&(o||s)&&i!==0)return!1}return!(s&&l&&!o&&i!==0||o&&d&&!s&&i!==0||u||f)},Ef=(e,t,n)=>{if(!e)return t;const r=ic(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},xf=(e,t,n)=>{if(!e)return t;const r=ic(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var VT=HT;const la=Zs,Tf=Ti,zT=rt,Sf=Hp,GT=jr,qT=GE,KT=XE,XT=JE,YT=ZE,JT=nx,QT=ox,ZT=lx,eS=fx,tS=Ct,nS=mx,rS=_x,sS=ec,oS=Ex,iS=Sx,aS=ki,lS=tc,cS=Up,uS=Wp,fS=nc,dS=rc,hS=Vp,pS=Kx,mS=$i(),gS=It(),vS=Ai,_S=lT,yS=dT,bS=gT,wS=yT,ES=ET,xS=sc,TS=LT,SS=IT,kS=MT,$S=BT,AS=VT;var RS={parse:GT,valid:qT,clean:KT,inc:XT,diff:YT,major:JT,minor:QT,patch:ZT,prerelease:eS,compare:tS,rcompare:nS,compareLoose:rS,compareBuild:sS,sort:oS,rsort:iS,gt:aS,lt:lS,eq:cS,neq:uS,gte:fS,lte:dS,cmp:hS,coerce:pS,Comparator:mS,Range:gS,satisfies:vS,toComparators:_S,maxSatisfying:yS,minSatisfying:bS,minVersion:wS,validRange:ES,outside:xS,gtr:TS,ltr:SS,intersects:kS,simplifyRange:$S,subset:AS,SemVer:zT,re:la.re,src:la.src,tokens:la.t,SEMVER_SPEC_VERSION:Tf.SEMVER_SPEC_VERSION,RELEASE_TYPES:Tf.RELEASE_TYPES,compareIdentifiers:Sf.compareIdentifiers,rcompareIdentifiers:Sf.rcompareIdentifiers};const PS=AE(RS),ca=new Map;function P2(e,t){const n=e;return ca.has(n)||ca.set(n,OS(e,t)),ca.get(n)}function NS(){return pt("npm:check:nuxt",()=>Fe.checkForUpdateFor("nuxt"))}function LS(e){const t=NS();return pe(()=>t?.value?.current?PS.satisfies(t.value.current,e):!1)}function OS(e,t){const n=Ie(),r=pt(`npm:check:${e}`,()=>Fe.checkForUpdateFor(e)),s=ne("idle"),o=ne();n.hook("devtools:terminal:exit",({id:c,code:l})=>{c!==o||!o||(s.value=l===0?"updated":"idle")});async function i(c){if(s.value!=="idle")return;const l=await Fe.getNpmCommand("update",e,t);if(l&&await c(l.join(" ")))return s.value="running",o.value=(await Fe.runNpmCommand(await PE(),"update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await Fe.restartNuxt()}return{info:r,state:s,update:i,restart:a,processId:o}}const qr={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return LS("^3.5.0")}},Kr={icon:"carbon-image-copy",title:"Assets",layout:"full"},Xr={icon:"i-carbon-assembly-cluster",title:"Components",order:2},Yr={layout:"full"},Jr={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},Qr={icon:"carbon-function",title:"Imports",order:3},Zr={icon:"carbon-layers",title:"Middleware",wip:!0},es={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},Ri=()=>Ir("color-mode").value,Ka=ne();let kf;function CS(){kf||(kf=(async()=>{const{default:e}=await Re(()=>import("./index.31423b81.js").then(t=>t.i),[],import.meta.url);Ka.value=new e({html:!0,linkify:!0,breaks:!0})})())}function IS(e){return CS(),Ka.value?Ka.value.render(e):e}var qp=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},$s={},jS={get exports(){return $s},set exports(e){$s=e}};(function(e,t){(function(n,r){e.exports=r()})(qp,()=>{return n={770:function(s,o,i){var a=this&&this.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};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 f{static _utf8ByteLength(_){let g=0;for(let b=0,y=_.length;b<y;b++){const T=_.charCodeAt(b);let m=T,S=!1;if(T>=55296&&T<=56319&&b+1<y){const x=_.charCodeAt(b+1);x>=56320&&x<=57343&&(m=65536+(T-55296<<10)|x-56320,S=!0)}g+=m<=127?1:m<=2047?2:m<=65535?3:4,S&&b++}return g}constructor(_){const g=_.length,b=f._utf8ByteLength(_),y=b!==g,T=y?new Uint32Array(g+1):null;y&&(T[g]=b);const m=y?new Uint32Array(b+1):null;y&&(m[b]=g);const S=new Uint8Array(b);let x=0;for(let w=0;w<g;w++){const k=_.charCodeAt(w);let $=k,A=!1;if(k>=55296&&k<=56319&&w+1<g){const R=_.charCodeAt(w+1);R>=56320&&R<=57343&&($=65536+(k-55296<<10)|R-56320,A=!0)}y&&(T[w]=x,A&&(T[w+1]=x),$<=127?m[x+0]=w:$<=2047?(m[x+0]=w,m[x+1]=w):$<=65535?(m[x+0]=w,m[x+1]=w,m[x+2]=w):(m[x+0]=w,m[x+1]=w,m[x+2]=w,m[x+3]=w)),$<=127?S[x++]=$:$<=2047?(S[x++]=192|(1984&$)>>>6,S[x++]=128|(63&$)>>>0):$<=65535?(S[x++]=224|(61440&$)>>>12,S[x++]=128|(4032&$)>>>6,S[x++]=128|(63&$)>>>0):(S[x++]=240|(1835008&$)>>>18,S[x++]=128|(258048&$)>>>12,S[x++]=128|(4032&$)>>>6,S[x++]=128|(63&$)>>>0),A&&w++}this.utf16Length=g,this.utf8Length=b,this.utf16Value=_,this.utf8Value=S,this.utf16OffsetToUtf8=T,this.utf8OffsetToUtf16=m}createString(_){const g=_._omalloc(this.utf8Length);return _.HEAPU8.set(this.utf8Value,g),g}}class u{constructor(_){if(this.id=++u.LAST_ID,!l)throw new Error("Must invoke loadWASM first.");this._onigBinding=l,this.content=_;const g=new f(_);this.utf16Length=g.utf16Length,this.utf8Length=g.utf8Length,this.utf16OffsetToUtf8=g.utf16OffsetToUtf8,this.utf8OffsetToUtf16=g.utf8OffsetToUtf16,this.utf8Length<1e4&&!u._sharedPtrInUse?(u._sharedPtr||(u._sharedPtr=l._omalloc(1e4)),u._sharedPtrInUse=!0,l.HEAPU8.set(g.utf8Value,u._sharedPtr),this.ptr=u._sharedPtr):this.ptr=g.createString(l)}convertUtf8OffsetToUtf16(_){return this.utf8OffsetToUtf16?_<0?0:_>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[_]:_}convertUtf16OffsetToUtf8(_){return this.utf16OffsetToUtf8?_<0?0:_>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[_]:_}dispose(){this.ptr===u._sharedPtr?u._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}o.OnigString=u,u.LAST_ID=0,u._sharedPtr=0,u._sharedPtrInUse=!1;class h{constructor(_){if(!l)throw new Error("Must invoke loadWASM first.");const g=[],b=[];for(let S=0,x=_.length;S<x;S++){const w=new f(_[S]);g[S]=w.createString(l),b[S]=w.utf8Length}const y=l._omalloc(4*_.length);l.HEAPU32.set(g,y/4);const T=l._omalloc(4*_.length);l.HEAPU32.set(b,T/4);const m=l._createOnigScanner(y,T,_.length);for(let S=0,x=_.length;S<x;S++)l._ofree(g[S]);l._ofree(T),l._ofree(y),m===0&&function(S){throw new Error(S.UTF8ToString(S._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=m}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(_,g,b){let y=d,T=0;if(typeof b=="number"?(8&b&&(y=!0),T=b):typeof b=="boolean"&&(y=b),typeof _=="string"){_=new u(_);const m=this._findNextMatchSync(_,g,y,T);return _.dispose(),m}return this._findNextMatchSync(_,g,y,T)}_findNextMatchSync(_,g,b,y){const T=this._onigBinding;let m;if(m=b?T._findNextOnigScannerMatchDbg(this._ptr,_.id,_.ptr,_.utf8Length,_.convertUtf16OffsetToUtf8(g),y):T._findNextOnigScannerMatch(this._ptr,_.id,_.ptr,_.utf8Length,_.convertUtf16OffsetToUtf8(g),y),m===0)return null;const S=T.HEAPU32;let x=m/4;const w=S[x++],k=S[x++];let $=[];for(let A=0;A<k;A++){const R=_.convertUtf8OffsetToUtf16(S[x++]),P=_.convertUtf8OffsetToUtf16(S[x++]);$[A]={start:R,end:P,length:P-R}}return{index:w,captureIndices:$}}}o.OnigScanner=h;let p=!1,v=null;o.loadWASM=function(E){if(p)return v;let _,g,b,y;if(p=!0,function(T){return typeof T.instantiator=="function"}(E))_=E.instantiator,g=E.print;else{let T;(function(m){return m.data!==void 0})(E)?(T=E.data,g=E.print):T=E,_=function(m){return typeof Response<"u"&&m instanceof Response}(T)?typeof WebAssembly.instantiateStreaming=="function"?function(m){return S=>WebAssembly.instantiateStreaming(m,S)}(T):function(m){return async S=>{const x=await m.arrayBuffer();return WebAssembly.instantiate(x,S)}}(T):function(m){return S=>WebAssembly.instantiate(m,S)}(T)}return v=new Promise((T,m)=>{b=T,y=m}),function(T,m,S,x){(0,c.default)({print:m,instantiateWasm:(w,k)=>{if(typeof performance>"u"){const $=()=>Date.now();w.env.emscripten_get_now=$,w.wasi_snapshot_preview1.emscripten_get_now=$}return T(w).then($=>k($.instance),x),{}}}).then(w=>{l=w,S()})}(_,g,b,y),v},o.createOnigString=function(E){return new u(E)},o.createOnigScanner=function(E){return new h(E)},o.setDefaultDebugCall=function(E){d=E}},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(M,W){a=M,c=W});var d,f=Object.assign({},l),u=!1,h="";function p(M){return l.locateFile?l.locateFile(M,h):h+M}d=function(M){let W;return typeof readbuffer=="function"?new Uint8Array(readbuffer(M)):(W=read(M,"binary"),y(typeof W=="object"),W)},typeof scriptArgs<"u"&&scriptArgs,typeof onig_print<"u"&&(typeof console>"u"&&(console={}),console.log=onig_print,console.warn=console.error=typeof printErr<"u"?printErr:onig_print);var v,E,_=l.print||console.log.bind(console),g=l.printErr||console.warn.bind(console);Object.assign(l,f),f=null,l.arguments&&l.arguments,l.thisProgram&&l.thisProgram,l.quit&&l.quit,l.wasmBinary&&(v=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&_e("no native wasm support detected");var b=!1;function y(M,W){M||_e(W)}var T,m,S,x=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function w(M,W,q){for(var te=W+q,X=W;M[X]&&!(X>=te);)++X;if(X-W>16&&M.buffer&&x)return x.decode(M.subarray(W,X));for(var Q="";W<X;){var ge=M[W++];if(128&ge){var Pe=63&M[W++];if((224&ge)!=192){var be=63&M[W++];if((ge=(240&ge)==224?(15&ge)<<12|Pe<<6|be:(7&ge)<<18|Pe<<12|be<<6|63&M[W++])<65536)Q+=String.fromCharCode(ge);else{var me=ge-65536;Q+=String.fromCharCode(55296|me>>10,56320|1023&me)}}else Q+=String.fromCharCode((31&ge)<<6|Pe)}else Q+=String.fromCharCode(ge)}return Q}function k(M,W){return M?w(m,M,W):""}function $(M){T=M,l.HEAP8=new Int8Array(M),l.HEAP16=new Int16Array(M),l.HEAP32=new Int32Array(M),l.HEAPU8=m=new Uint8Array(M),l.HEAPU16=new Uint16Array(M),l.HEAPU32=S=new Uint32Array(M),l.HEAPF32=new Float32Array(M),l.HEAPF64=new Float64Array(M)}l.INITIAL_MEMORY;var A=[],R=[],P=[];function I(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)B(l.preRun.shift());L(A)}function j(){L(R)}function F(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)oe(l.postRun.shift());L(P)}function B(M){A.unshift(M)}function G(M){R.unshift(M)}function oe(M){P.unshift(M)}var ee=0,re=null;function de(M){ee++,l.monitorRunDependencies&&l.monitorRunDependencies(ee)}function fe(M){if(ee--,l.monitorRunDependencies&&l.monitorRunDependencies(ee),ee==0&&re){var W=re;re=null,W()}}function _e(M){l.onAbort&&l.onAbort(M),g(M="Aborted("+M+")"),b=!0,M+=". Build with -sASSERTIONS for more info.";var W=new WebAssembly.RuntimeError(M);throw c(W),W}var we,O,J="data:application/octet-stream;base64,";function V(M){return M.startsWith(J)}function ie(M){try{if(M==we&&v)return new Uint8Array(v);if(d)return d(M);throw"both async and sync fetching of the wasm failed"}catch(W){_e(W)}}function Ee(){return v||!u||typeof fetch!="function"?Promise.resolve().then(function(){return ie(we)}):fetch(we,{credentials:"same-origin"}).then(function(M){if(!M.ok)throw"failed to load wasm binary file at '"+we+"'";return M.arrayBuffer()}).catch(function(){return ie(we)})}function N(){var M={env:z,wasi_snapshot_preview1:z};function W(X,Q){var ge=X.exports;l.asm=ge,$((E=l.asm.memory).buffer),l.asm.__indirect_function_table,G(l.asm.__wasm_call_ctors),fe()}function q(X){W(X.instance)}function te(X){return Ee().then(function(Q){return WebAssembly.instantiate(Q,M)}).then(function(Q){return Q}).then(X,function(Q){g("failed to asynchronously prepare wasm: "+Q),_e(Q)})}if(de(),l.instantiateWasm)try{return l.instantiateWasm(M,W)}catch(X){g("Module.instantiateWasm callback failed with error: "+X),c(X)}return(v||typeof WebAssembly.instantiateStreaming!="function"||V(we)||typeof fetch!="function"?te(q):fetch(we,{credentials:"same-origin"}).then(function(X){return WebAssembly.instantiateStreaming(X,M).then(q,function(Q){return g("wasm streaming compile failed: "+Q),g("falling back to ArrayBuffer instantiation"),te(q)})})).catch(c),{}}function L(M){for(;M.length>0;)M.shift()(l)}function C(M,W,q){m.copyWithin(M,W,W+q)}function D(M){try{return E.grow(M-T.byteLength+65535>>>16),$(E.buffer),1}catch{}}function H(M){var W,q=m.length,te=2147483648;if((M>>>=0)>te)return!1;for(var X=1;X<=4;X*=2){var Q=q*(1+.2/X);if(Q=Math.min(Q,M+100663296),D(Math.min(te,(W=Math.max(M,Q))+(65536-W%65536)%65536)))return!0}return!1}V(we="onig.wasm")||(we=p(we)),O=typeof dateNow<"u"?dateNow:()=>performance.now();var U=[null,[],[]];function Z(M,W){var q=U[M];W===0||W===10?((M===1?_:g)(w(q,0)),q.length=0):q.push(W)}function Y(M,W,q,te){for(var X=0,Q=0;Q<q;Q++){var ge=S[W>>2],Pe=S[W+4>>2];W+=8;for(var be=0;be<Pe;be++)Z(M,m[ge+be]);X+=Pe}return S[te>>2]=X,0}var K,z={emscripten_get_now:O,emscripten_memcpy_big:C,emscripten_resize_heap:H,fd_write:Y};function se(M){function W(){K||(K=!0,l.calledRun=!0,b||(j(),a(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),F()))}ee>0||(I(),ee>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),W()},1)):W()))}if(N(),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=k,re=function M(){K||se(),K||(re=M)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return se(),i.ready});s.exports=o}},r={},function s(o){var i=r[o];if(i!==void 0)return i.exports;var a=r[o]={exports:{}};return n[o].call(a.exports,a,a.exports,s),a.exports}(770);var n,r})})(jS);var Jo={},MS={get exports(){return Jo},set exports(e){Jo=e}};(function(e,t){(function(n,r){e.exports=r()})(qp,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),f=i.getForeground(a),u=i.getBackground(a);console.log({languageId:c,tokenType:l,fontStyle:d,foreground:f,background:u})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,c,l,d,f,u,h){let p=i.getLanguageId(a),v=i.getTokenType(a),E=i.containsBalancedBrackets(a)?1:0,_=i.getFontStyle(a),g=i.getForeground(a),b=i.getBackground(a);return c!==0&&(p=c),l!==8&&(v=l),d!==null&&(E=d?1:0),f!==-1&&(_=f),u!==0&&(g=u),h!==0&&(b=h),(p<<0|v<<8|E<<10|_<<11|g<<15|b<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class c{constructor(u,h){this.languageId=u,this.tokenType=h}}o.BasicScopeAttributes=c;class l{constructor(u,h){this._getBasicScopeAttributes=new a.CachedFn(p=>{const v=this._scopeToLanguage(p),E=this._toStandardTokenType(p);return new c(v,E)}),this._defaultAttributes=new c(u,8),this._embeddedLanguagesMatcher=new d(Object.entries(h||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(u){return u===null?l._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(u)}_scopeToLanguage(u){return this._embeddedLanguagesMatcher.match(u)||0}_toStandardTokenType(u){const h=u.match(l.STANDARD_TOKEN_TYPE_REGEXP);if(!h)return 8;switch(h[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}o.BasicScopeAttributesProvider=l,l._NULL_SCOPE_METADATA=new c(0,0),l.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class d{constructor(u){if(u.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(u);const h=u.map(([p,v])=>a.escapeRegExpCharacters(p));h.sort(),h.reverse(),this.scopesRegExp=new RegExp(`^((${h.join(")|(")}))($|\\.)`,"")}}match(u){if(!this.scopesRegExp)return;const h=u.match(this.scopesRegExp);return h?this.values.get(h[1]):void 0}}},947:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStack=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),c=i(36),l=i(736),d=i(44),f=i(792),u=i(583),h=i(878),p=i(996),v=i(47);function E(x,w,k,$,A){const R=l.createMatchers(w,_),P=f.RuleFactory.getCompiledRuleId(k,$,A.repository);for(const I of R)x.push({debugSelector:w,matcher:I.matcher,ruleId:P,grammar:A,priority:I.priority})}function _(x,w){if(w.length<x.length)return!1;let k=0;return x.every($=>{for(let A=k;A<w.length;A++)if(g(w[A],$))return k=A+1,!0;return!1})}function g(x,w){if(!x)return!1;if(x===w)return!0;const k=w.length;return x.length>k&&x.substr(0,k)===w&&x[k]==="."}o.createGrammar=function(x,w,k,$,A,R,P,I){return new b(x,w,k,$,A,R,P,I)};class b{constructor(w,k,$,A,R,P,I,j){if(this._rootScopeName=w,this.balancedBracketSelectors=P,this._onigLib=j,this._basicScopeAttributesProvider=new p.BasicScopeAttributesProvider($,A),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=I,this._grammar=y(k,null),this._injections=null,this._tokenTypeMatchers=[],R)for(const F of Object.keys(R)){const B=l.createMatchers(F,_);for(const G of B)this._tokenTypeMatchers.push({matcher:G.matcher,type:R[F]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const w of this._ruleId2desc)w&&w.dispose()}createOnigScanner(w){return this._onigLib.createOnigScanner(w)}createOnigString(w){return this._onigLib.createOnigString(w)}getMetadataForScope(w){return this._basicScopeAttributesProvider.getBasicScopeAttributes(w)}_collectInjections(){const w=[],k=this._rootScopeName,$=(A=>A===this._rootScopeName?this._grammar:this.getExternalGrammar(A))(k);if($){const A=$.injections;if(A)for(let P in A)E(w,P,A[P],this,$);const R=this._grammarRepository.injections(k);R&&R.forEach(P=>{const I=this.getExternalGrammar(P);if(I){const j=I.injectionSelector;j&&E(w,j,I,this,I)}})}return w.sort((A,R)=>A.priority-R.priority),w}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const w of this._injections)console.log(` - ${w.debugSelector}`)}return this._injections}registerRule(w){const k=++this._lastRuleId,$=w(f.ruleIdFromNumber(k));return this._ruleId2desc[k]=$,$}getRule(w){return this._ruleId2desc[f.ruleIdToNumber(w)]}getExternalGrammar(w,k){if(this._includedGrammars[w])return this._includedGrammars[w];if(this._grammarRepository){const $=this._grammarRepository.lookup(w);if($)return this._includedGrammars[w]=y($,k&&k.$base),this._includedGrammars[w]}}tokenizeLine(w,k,$=0){const A=this._tokenize(w,k,!1,$);return{tokens:A.lineTokens.getResult(A.ruleStack,A.lineLength),ruleStack:A.ruleStack,stoppedEarly:A.stoppedEarly}}tokenizeLine2(w,k,$=0){const A=this._tokenize(w,k,!0,$);return{tokens:A.lineTokens.getBinaryResult(A.ruleStack,A.lineLength),ruleStack:A.ruleStack,stoppedEarly:A.stoppedEarly}}_tokenize(w,k,$,A){let R;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),k&&k!==m.NULL)R=!1,k.reset();else{R=!0;const B=this._basicScopeAttributesProvider.getDefaultAttributes(),G=this.themeProvider.getDefaults(),oe=c.EncodedTokenAttributes.set(0,B.languageId,B.tokenType,null,G.fontStyle,G.foregroundId,G.backgroundId),ee=this.getRule(this._rootId).getName(null,null);let re;re=ee?T.createRootAndLookUpScopeName(ee,oe,this):T.createRoot("unknown",oe),k=new m(null,this._rootId,-1,-1,!1,null,re,re)}w+=`
8
- `;const P=this.createOnigString(w),I=P.content.length,j=new S($,w,this._tokenTypeMatchers,this.balancedBracketSelectors),F=v._tokenizeString(this,P,R,0,k,j,!0,A);return d.disposeOnigString(P),{lineLength:I,lineTokens:j,ruleStack:F.stack,stoppedEarly:F.stoppedEarly}}}function y(x,w){return(x=h.clone(x)).repository=x.repository||{},x.repository.$self={$vscodeTextmateLocation:x.$vscodeTextmateLocation,patterns:x.patterns,name:x.scopeName},x.repository.$base=w||x.repository.$self,x}o.Grammar=b;class T{constructor(w,k,$){this.parent=w,this.scopePath=k,this.tokenAttributes=$}static createRoot(w,k){return new T(null,new u.ScopeStack(null,w),k)}static createRootAndLookUpScopeName(w,k,$){const A=$.getMetadataForScope(w),R=new u.ScopeStack(null,w),P=$.themeProvider.themeMatch(R),I=T.mergeAttributes(k,A,P);return new T(null,R,I)}get scopeName(){return this.scopePath.scopeName}equals(w){return T._equals(this,w)}static _equals(w,k){for(;;){if(w===k||!w&&!k)return!0;if(!w||!k||w.scopeName!==k.scopeName||w.tokenAttributes!==k.tokenAttributes)return!1;w=w.parent,k=k.parent}}static mergeAttributes(w,k,$){let A=-1,R=0,P=0;return $!==null&&(A=$.fontStyle,R=$.foregroundId,P=$.backgroundId),c.EncodedTokenAttributes.set(w,k.languageId,k.tokenType,null,A,R,P)}pushAttributed(w,k){if(w===null)return this;if(w.indexOf(" ")===-1)return T._pushAttributed(this,w,k);const $=w.split(/ /g);let A=this;for(const R of $)A=T._pushAttributed(A,R,k);return A}static _pushAttributed(w,k,$){const A=$.getMetadataForScope(k),R=w.scopePath.push(k),P=$.themeProvider.themeMatch(R),I=T.mergeAttributes(w.tokenAttributes,A,P);return new T(w,R,I)}getScopeNames(){return this.scopePath.getSegments()}}o.AttributedScopeStack=T;class m{constructor(w,k,$,A,R,P,I,j){this.parent=w,this.ruleId=k,this.beginRuleCapturedEOL=R,this.endRule=P,this.nameScopesList=I,this.contentNameScopesList=j,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=$,this._anchorPos=A}equals(w){return w!==null&&m._equals(this,w)}static _equals(w,k){return w===k||!!this._structuralEquals(w,k)&&w.contentNameScopesList.equals(k.contentNameScopesList)}static _structuralEquals(w,k){for(;;){if(w===k||!w&&!k)return!0;if(!w||!k||w.depth!==k.depth||w.ruleId!==k.ruleId||w.endRule!==k.endRule)return!1;w=w.parent,k=k.parent}}clone(){return this}static _reset(w){for(;w;)w._enterPos=-1,w._anchorPos=-1,w=w.parent}reset(){m._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(w,k,$,A,R,P,I){return new m(this,w,k,$,A,R,P,I)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(w){return w.getRule(this.ruleId)}toString(){const w=[];return this._writeString(w,0),"["+w.join(",")+"]"}_writeString(w,k){return this.parent&&(k=this.parent._writeString(w,k)),w[k++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,k}withContentNameScopesList(w){return this.contentNameScopesList===w?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,w)}withEndRule(w){return this.endRule===w?this:new m(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,w,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(w){let k=this;for(;k&&k._enterPos===w._enterPos;){if(k.ruleId===w.ruleId)return!0;k=k.parent}return!1}}o.StateStack=m,m.NULL=new m(null,0,0,0,!1,null,null,null),o.BalancedBracketSelectors=class{constructor(x,w){this.allowAny=!1,this.balancedBracketScopes=x.flatMap(k=>k==="*"?(this.allowAny=!0,[]):l.createMatchers(k,_).map($=>$.matcher)),this.unbalancedBracketScopes=w.flatMap(k=>l.createMatchers(k,_).map($=>$.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(x){for(const w of this.unbalancedBracketScopes)if(w(x))return!1;for(const w of this.balancedBracketScopes)if(w(x))return!0;return this.allowAny}};class S{constructor(w,k,$,A){this.balancedBracketSelectors=A,this._emitBinaryTokens=w,this._tokenTypeOverrides=$,a.DebugFlags.InDebugMode?this._lineText=k:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(w,k){this.produceFromScopes(w.contentNameScopesList,k)}produceFromScopes(w,k){if(this._lastTokenEndIndex>=k)return;if(this._emitBinaryTokens){let A=w.tokenAttributes,R=!1;if(this.balancedBracketSelectors?.matchesAlways&&(R=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const P=w.getScopeNames();for(const I of this._tokenTypeOverrides)I.matcher(P)&&(A=c.EncodedTokenAttributes.set(A,0,c.toOptionalTokenType(I.type),null,-1,0,0));this.balancedBracketSelectors&&(R=this.balancedBracketSelectors.match(P))}if(R&&(A=c.EncodedTokenAttributes.set(A,0,8,R,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===A)return void(this._lastTokenEndIndex=k);if(a.DebugFlags.InDebugMode){const P=w.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,k).replace(/\n$/,"\\n")+"|");for(let I=0;I<P.length;I++)console.log(" * "+P[I])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(A),void(this._lastTokenEndIndex=k)}const $=w.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,k).replace(/\n$/,"\\n")+"|");for(let A=0;A<$.length;A++)console.log(" * "+$[A])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:k,scopes:$}),this._lastTokenEndIndex=k}getResult(w,k){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===k-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(w,k),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(w,k){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===k-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(w,k),this._binaryTokens[this._binaryTokens.length-2]=0);const $=new Uint32Array(this._binaryTokens.length);for(let A=0,R=this._binaryTokens.length;A<R;A++)$[A]=this._binaryTokens[A];return $}}o.LineTokens=S},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(m){this.scopeName=m}toKey(){return this.scopeName}}o.TopLevelRuleReference=c;class l{constructor(m,S){this.scopeName=m,this.ruleName=S}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(m){const S=m.toKey();this._seenReferenceKeys.has(S)||(this._seenReferenceKeys.add(S),this._references.push(m))}}function f(T,m,S,x){const w=S.lookup(T.scopeName);if(!w){if(T.scopeName===m)throw new Error(`No grammar provided for <${m}>`);return}const k=S.lookup(m);T instanceof c?h({baseGrammar:k,selfGrammar:w},x):u(T.ruleName,{baseGrammar:k,selfGrammar:w,repository:w.repository},x);const $=S.injections(T.scopeName);if($)for(const A of $)x.add(new c(A))}function u(T,m,S){m.repository&&m.repository[T]&&p([m.repository[T]],m,S)}function h(T,m){T.selfGrammar.patterns&&Array.isArray(T.selfGrammar.patterns)&&p(T.selfGrammar.patterns,{...T,repository:T.selfGrammar.repository},m),T.selfGrammar.injections&&p(Object.values(T.selfGrammar.injections),{...T,repository:T.selfGrammar.repository},m)}function p(T,m,S){for(const x of T){if(S.visitedRule.has(x))continue;S.visitedRule.add(x);const w=x.repository?a.mergeObjects({},m.repository,x.repository):m.repository;Array.isArray(x.patterns)&&p(x.patterns,{...m,repository:w},S);const k=x.include;if(!k)continue;const $=y(k);switch($.kind){case 0:h({...m,selfGrammar:m.baseGrammar},S);break;case 1:h(m,S);break;case 2:u($.ruleName,{...m,repository:w},S);break;case 3:case 4:const A=$.scopeName===m.selfGrammar.scopeName?m.selfGrammar:$.scopeName===m.baseGrammar.scopeName?m.baseGrammar:void 0;if(A){const R={baseGrammar:m.baseGrammar,selfGrammar:A,repository:w};$.kind===4?u($.ruleName,R,S):h(R,S)}else $.kind===4?S.add(new l($.scopeName,$.ruleName)):S.add(new c($.scopeName))}}}o.ExternalReferenceCollector=d,o.ScopeDependencyProcessor=class{constructor(T,m){this.repo=T,this.initialScopeName=m,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new c(this.initialScopeName)]}processQueue(){const T=this.Q;this.Q=[];const m=new d;for(const S of T)f(S,this.initialScopeName,this.repo,m);for(const S of m.references)if(S instanceof c){if(this.seenFullScopeRequests.has(S.scopeName))continue;this.seenFullScopeRequests.add(S.scopeName),this.Q.push(S)}else{if(this.seenFullScopeRequests.has(S.scopeName)||this.seenPartialScopeRequests.has(S.toKey()))continue;this.seenPartialScopeRequests.add(S.toKey()),this.Q.push(S)}}};class v{constructor(){this.kind=0}}o.BaseReference=v;class E{constructor(){this.kind=1}}o.SelfReference=E;class _{constructor(m){this.ruleName=m,this.kind=2}}o.RelativeReference=_;class g{constructor(m){this.scopeName=m,this.kind=3}}o.TopLevelReference=g;class b{constructor(m,S){this.scopeName=m,this.ruleName=S,this.kind=4}}function y(T){if(T==="$base")return new v;if(T==="$self")return new E;const m=T.indexOf("#");if(m===-1)return new g(T);if(m===0)return new _(T.substring(1));{const S=T.substring(0,m),x=T.substring(m+1);return new b(S,x)}}o.TopLevelRepositoryReference=b,o.parseInclude=y},391:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(l,d,f,u){u===void 0&&(u=f),Object.defineProperty(l,u,{enumerable:!0,get:function(){return d[f]}})}:function(l,d,f,u){u===void 0&&(u=f),l[u]=d[f]}),c=this&&this.__exportStar||function(l,d){for(var f in l)f==="default"||Object.prototype.hasOwnProperty.call(d,f)||a(d,l,f)};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 f{constructor(b,y){this.stack=b,this.stoppedEarly=y}}function u(g,b,y,T,m,S,x,w){const k=b.content.length;let $=!1,A=-1;if(x){const I=function(j,F,B,G,oe,ee){let re=oe.beginRuleCapturedEOL?0:-1;const de=[];for(let fe=oe;fe;fe=fe.pop()){const _e=fe.getRule(j);_e instanceof l.BeginWhileRule&&de.push({rule:_e,stack:fe})}for(let fe=de.pop();fe;fe=de.pop()){const{ruleScanner:_e,findOptions:we}=p(fe.rule,j,fe.stack.endRule,B,G===re),O=_e.findNextMatchSync(F,G,we);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(_e.toString())),!O){a.DebugFlags.InDebugMode&&console.log(" popping "+fe.rule.debugName+" - "+fe.rule.debugWhileRegExp),oe=fe.stack.pop();break}if(O.ruleId!==l.whileRuleId){oe=fe.stack.pop();break}O.captureIndices&&O.captureIndices.length&&(ee.produce(fe.stack,O.captureIndices[0].start),E(j,F,B,fe.stack,ee,fe.rule.whileCaptures,O.captureIndices),ee.produce(fe.stack,O.captureIndices[0].end),re=O.captureIndices[0].end,O.captureIndices[0].end>G&&(G=O.captureIndices[0].end,B=!1))}return{stack:oe,linePos:G,anchorPosition:re,isFirstLine:B}}(g,b,y,T,m,S);m=I.stack,T=I.linePos,y=I.isFirstLine,A=I.anchorPosition}const R=Date.now();for(;!$;){if(w!==0&&Date.now()-R>w)return new f(m,!0);P()}return new f(m,!1);function P(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${T}: |${b.content.substr(T).replace(/\n$/,"\\n")}|`));const I=function(G,oe,ee,re,de,fe){const _e=function(ie,Ee,N,L,C,D){const H=C.getRule(ie),{ruleScanner:U,findOptions:Z}=h(H,ie,C.endRule,N,L===D);let Y=0;a.DebugFlags.InDebugMode&&(Y=d.performanceNow());const K=U.findNextMatchSync(Ee,L,Z);if(a.DebugFlags.InDebugMode){const z=d.performanceNow()-Y;z>5&&console.warn(`Rule ${H.debugName} (${H.id}) matching took ${z} against '${Ee}'`),console.log(` scanning for (linePos: ${L}, anchorPosition: ${D})`),console.log(U.toString()),K&&console.log(`matched rule id: ${K.ruleId} from ${K.captureIndices[0].start} to ${K.captureIndices[0].end}`)}return K?{captureIndices:K.captureIndices,matchedRuleId:K.ruleId}:null}(G,oe,ee,re,de,fe),we=G.getInjections();if(we.length===0)return _e;const O=function(ie,Ee,N,L,C,D,H){let U,Z=Number.MAX_VALUE,Y=null,K=0;const z=D.contentNameScopesList.getScopeNames();for(let se=0,M=ie.length;se<M;se++){const W=ie[se];if(!W.matcher(z))continue;const q=Ee.getRule(W.ruleId),{ruleScanner:te,findOptions:X}=h(q,Ee,null,L,C===H),Q=te.findNextMatchSync(N,C,X);if(!Q)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${W.debugSelector}`),console.log(te.toString()));const ge=Q.captureIndices[0].start;if(!(ge>=Z)&&(Z=ge,Y=Q.captureIndices,U=Q.ruleId,K=W.priority,Z===C))break}return Y?{priorityMatch:K===-1,captureIndices:Y,matchedRuleId:U}:null}(we,G,oe,ee,re,de,fe);if(!O)return _e;if(!_e)return O;const J=_e.captureIndices[0].start,V=O.captureIndices[0].start;return V<J||O.priorityMatch&&V===J?O:_e}(g,b,y,T,m,A);if(!I)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),S.produce(m,k),void($=!0);const j=I.captureIndices,F=I.matchedRuleId,B=!!(j&&j.length>0)&&j[0].end>T;if(F===l.endRuleId){const G=m.getRule(g);a.DebugFlags.InDebugMode&&console.log(" popping "+G.debugName+" - "+G.debugEndRegExp),S.produce(m,j[0].start),m=m.withContentNameScopesList(m.nameScopesList),E(g,b,y,m,S,G.endCaptures,j),S.produce(m,j[0].end);const oe=m;if(m=m.parent,A=oe.getAnchorPos(),!B&&oe.getEnterPos()===T)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),m=oe,S.produce(m,k),void($=!0)}else{const G=g.getRule(F);S.produce(m,j[0].start);const oe=m,ee=G.getName(b.content,j),re=m.contentNameScopesList.pushAttributed(ee,g);if(m=m.push(F,T,A,j[0].end===k,null,re,re),G instanceof l.BeginEndRule){const de=G;a.DebugFlags.InDebugMode&&console.log(" pushing "+de.debugName+" - "+de.debugBeginRegExp),E(g,b,y,m,S,de.beginCaptures,j),S.produce(m,j[0].end),A=j[0].end;const fe=de.getContentName(b.content,j),_e=re.pushAttributed(fe,g);if(m=m.withContentNameScopesList(_e),de.endHasBackReferences&&(m=m.withEndRule(de.getEndWithResolvedBackReferences(b.content,j))),!B&&oe.hasSameRuleAs(m))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),m=m.pop(),S.produce(m,k),void($=!0)}else if(G instanceof l.BeginWhileRule){const de=G;a.DebugFlags.InDebugMode&&console.log(" pushing "+de.debugName),E(g,b,y,m,S,de.beginCaptures,j),S.produce(m,j[0].end),A=j[0].end;const fe=de.getContentName(b.content,j),_e=re.pushAttributed(fe,g);if(m=m.withContentNameScopesList(_e),de.whileHasBackReferences&&(m=m.withEndRule(de.getWhileWithResolvedBackReferences(b.content,j))),!B&&oe.hasSameRuleAs(m))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),m=m.pop(),S.produce(m,k),void($=!0)}else{const de=G;if(a.DebugFlags.InDebugMode&&console.log(" matched "+de.debugName+" - "+de.debugMatchRegExp),E(g,b,y,m,S,de.captures,j),S.produce(m,j[0].end),m=m.pop(),!B)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),m=m.safePop(),S.produce(m,k),void($=!0)}}j[0].end>T&&(T=j[0].end,y=!1)}}function h(g,b,y,T,m){return a.UseOnigurumaFindOptions?{ruleScanner:g.compile(b,y),findOptions:v(T,m)}:{ruleScanner:g.compileAG(b,y,T,m),findOptions:0}}function p(g,b,y,T,m){return a.UseOnigurumaFindOptions?{ruleScanner:g.compileWhile(b,y),findOptions:v(T,m)}:{ruleScanner:g.compileWhileAG(b,y,T,m),findOptions:0}}function v(g,b){let y=0;return g||(y|=1),b||(y|=4),y}function E(g,b,y,T,m,S,x){if(S.length===0)return;const w=b.content,k=Math.min(S.length,x.length),$=[],A=x[0].end;for(let R=0;R<k;R++){const P=S[R];if(P===null)continue;const I=x[R];if(I.length===0)continue;if(I.start>A)break;for(;$.length>0&&$[$.length-1].endPos<=I.start;)m.produceFromScopes($[$.length-1].scopes,$[$.length-1].endPos),$.pop();if($.length>0?m.produceFromScopes($[$.length-1].scopes,I.start):m.produce(T,I.start),P.retokenizeCapturedWithRuleId){const F=P.getName(w,x),B=T.contentNameScopesList.pushAttributed(F,g),G=P.getContentName(w,x),oe=B.pushAttributed(G,g),ee=T.push(P.retokenizeCapturedWithRuleId,I.start,-1,!1,null,B,oe),re=g.createOnigString(w.substring(0,I.end));u(g,re,y&&I.start===0,I.start,ee,m,!1,0),c.disposeOnigString(re);continue}const j=P.getName(w,x);if(j!==null){const F=($.length>0?$[$.length-1].scopes:T.contentNameScopesList).pushAttributed(j,g);$.push(new _(F,I.end))}}for(;$.length>0;)m.produceFromScopes($[$.length-1].scopes,$[$.length-1].endPos),$.pop()}o._tokenizeString=u;class _{constructor(b,y){this.scopes=b,this.endPos=y}}o.LocalStackElement=_},974:(s,o)=>{function i(d,f){throw new Error("Near offset "+d.pos+": "+f+" ~~~"+d.source.substr(d.pos,50)+"~~~")}Object.defineProperty(o,"__esModule",{value:!0}),o.parseJSON=void 0,o.parseJSON=function(d,f,u){let h=new a(d),p=new c,v=0,E=null,_=[],g=[];function b(){_.push(v),g.push(E)}function y(){v=_.pop(),E=g.pop()}function T(m){i(h,m)}for(;l(h,p);){if(v===0){if(E!==null&&T("too many constructs in root"),p.type===3){E={},u&&(E.$vscodeTextmateLocation=p.toLocation(f)),b(),v=1;continue}if(p.type===2){E=[],b(),v=4;continue}T("unexpected token in root")}if(v===2){if(p.type===5){y();continue}if(p.type===7){v=3;continue}T("expected , or }")}if(v===1||v===3){if(v===1&&p.type===5){y();continue}if(p.type===1){let m=p.value;if(l(h,p)&&p.type===6||T("expected colon"),l(h,p)||T("expected value"),v=2,p.type===1){E[m]=p.value;continue}if(p.type===8){E[m]=null;continue}if(p.type===9){E[m]=!0;continue}if(p.type===10){E[m]=!1;continue}if(p.type===11){E[m]=parseFloat(p.value);continue}if(p.type===2){let S=[];E[m]=S,b(),v=4,E=S;continue}if(p.type===3){let S={};u&&(S.$vscodeTextmateLocation=p.toLocation(f)),E[m]=S,b(),v=1,E=S;continue}}T("unexpected token in dict")}if(v===5){if(p.type===4){y();continue}if(p.type===7){v=6;continue}T("expected , or ]")}if(v===4||v===6){if(v===4&&p.type===4){y();continue}if(v=5,p.type===1){E.push(p.value);continue}if(p.type===8){E.push(null);continue}if(p.type===9){E.push(!0);continue}if(p.type===10){E.push(!1);continue}if(p.type===11){E.push(parseFloat(p.value));continue}if(p.type===2){let m=[];E.push(m),b(),v=4,E=m;continue}if(p.type===3){let m={};u&&(m.$vscodeTextmateLocation=p.toLocation(f)),E.push(m),b(),v=1,E=m;continue}T("unexpected token in array")}T("unknown state")}return g.length!==0&&T("unclosed constructs"),E};class a{constructor(f){this.source=f,this.pos=0,this.len=f.length,this.line=1,this.char=0}}class c{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(f){return{filename:f,line:this.line,char:this.char}}}function l(d,f){f.value=null,f.type=0,f.offset=-1,f.len=-1,f.line=-1,f.char=-1;let u,h=d.source,p=d.pos,v=d.len,E=d.line,_=d.char;for(;;){if(p>=v)return!1;if(u=h.charCodeAt(p),u!==32&&u!==9&&u!==13){if(u!==10)break;p++,E++,_=0}else p++,_++}if(f.offset=p,f.line=E,f.char=_,u===34){for(f.type=1,p++,_++;;){if(p>=v)return!1;if(u=h.charCodeAt(p),p++,_++,u!==92){if(u===34)break}else p++,_++}f.value=h.substring(f.offset+1,p-1).replace(/\\u([0-9A-Fa-f]{4})/g,(g,b)=>String.fromCodePoint(parseInt(b,16))).replace(/\\(.)/g,(g,b)=>{switch(b){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
9
- `;case"r":return"\r";case"t":return" ";default:i(d,"invalid escape sequence")}throw new Error("unreachable")})}else if(u===91)f.type=2,p++,_++;else if(u===123)f.type=3,p++,_++;else if(u===93)f.type=4,p++,_++;else if(u===125)f.type=5,p++,_++;else if(u===58)f.type=6,p++,_++;else if(u===44)f.type=7,p++,_++;else if(u===110){if(f.type=8,p++,_++,u=h.charCodeAt(p),u!==117||(p++,_++,u=h.charCodeAt(p),u!==108)||(p++,_++,u=h.charCodeAt(p),u!==108))return!1;p++,_++}else if(u===116){if(f.type=9,p++,_++,u=h.charCodeAt(p),u!==114||(p++,_++,u=h.charCodeAt(p),u!==117)||(p++,_++,u=h.charCodeAt(p),u!==101))return!1;p++,_++}else if(u===102){if(f.type=10,p++,_++,u=h.charCodeAt(p),u!==97||(p++,_++,u=h.charCodeAt(p),u!==108)||(p++,_++,u=h.charCodeAt(p),u!==115)||(p++,_++,u=h.charCodeAt(p),u!==101))return!1;p++,_++}else for(f.type=11;;){if(p>=v)return!1;if(u=h.charCodeAt(p),!(u===46||u>=48&&u<=57||u===101||u===69||u===45||u===43))break;p++,_++}return f.len=p-f.offset,f.value===null&&(f.value=h.substr(f.offset,f.len)),d.pos=p,d.line=E,d.char=_,!0}},787:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(p,v,E,_){_===void 0&&(_=E),Object.defineProperty(p,_,{enumerable:!0,get:function(){return v[E]}})}:function(p,v,E,_){_===void 0&&(_=E),p[_]=v[E]}),c=this&&this.__exportStar||function(p,v){for(var E in p)E==="default"||Object.prototype.hasOwnProperty.call(v,E)||a(v,p,E)};Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=o.INITIAL=o.Registry=void 0;const l=i(391),d=i(50),f=i(652),u=i(583),h=i(965);c(i(44),o),o.Registry=class{constructor(p){this._options=p,this._syncRegistry=new f.SyncRegistry(u.Theme.createFromRawTheme(p.theme,p.colorMap),p.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(p,v){this._syncRegistry.setTheme(u.Theme.createFromRawTheme(p,v))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(p,v,E){return this.loadGrammarWithConfiguration(p,v,{embeddedLanguages:E})}loadGrammarWithConfiguration(p,v,E){return this._loadGrammar(p,v,E.embeddedLanguages,E.tokenTypes,new l.BalancedBracketSelectors(E.balancedBracketSelectors||[],E.unbalancedBracketSelectors||[]))}loadGrammar(p){return this._loadGrammar(p,0,null,null,null)}async _loadGrammar(p,v,E,_,g){const b=new h.ScopeDependencyProcessor(this._syncRegistry,p);for(;b.Q.length>0;)await Promise.all(b.Q.map(y=>this._loadSingleGrammar(y.scopeName))),b.processQueue();return this._grammarForScopeName(p,v,E,_,g)}async _loadSingleGrammar(p){return this._ensureGrammarCache.has(p)||this._ensureGrammarCache.set(p,this._doLoadSingleGrammar(p)),this._ensureGrammarCache.get(p)}async _doLoadSingleGrammar(p){const v=await this._options.loadGrammar(p);if(v){const E=typeof this._options.getInjections=="function"?this._options.getInjections(p):void 0;this._syncRegistry.addGrammar(v,E)}}async addGrammar(p,v=[],E=0,_=null){return this._syncRegistry.addGrammar(p,v),await this._grammarForScopeName(p.scopeName,E,_)}_grammarForScopeName(p,v=0,E=null,_=null,g=null){return this._syncRegistry.grammarForScopeName(p,v,E,_,g)}},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(p){let v=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,E=v.exec(p);return{next:()=>{if(!E)return null;const _=E[0];return E=v.exec(p),_}}}(a);let f=d.next();for(;f!==null;){let p=0;if(f.length===2&&f.charAt(1)===":"){switch(f.charAt(0)){case"R":p=1;break;case"L":p=-1;break;default:console.log(`Unknown priority ${f} in scope selector`)}f=d.next()}let v=h();if(l.push({matcher:v,priority:p}),f!==",")break;f=d.next()}return l;function u(){if(f==="-"){f=d.next();const p=u();return v=>!!p&&!p(v)}if(f==="("){f=d.next();const p=function(){const v=[];let E=h();for(;E&&(v.push(E),f==="|"||f===",");){do f=d.next();while(f==="|"||f===",");E=h()}return _=>v.some(g=>g(_))}();return f===")"&&(f=d.next()),p}if(i(f)){const p=[];do p.push(f),f=d.next();while(i(f));return v=>c(p,v)}return null}function h(){const p=[];let v=u();for(;v;)p.push(v),v=u();return E=>p.every(_=>_(E))}}},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,f=null){return f!==null&&/\.json$/.test(f)?(u=d,h=f,c.DebugFlags.InDebugMode?l.parseJSON(u,h,!0):JSON.parse(u)):function(p,v){return c.DebugFlags.InDebugMode?a.parseWithLocation(p,v,"$vscodeTextmateLocation"):a.parsePLIST(p)}(d,f);var u,h}},69:(s,o)=>{function i(a,c,l){const d=a.length;let f=0,u=1,h=0;function p(O){if(l===null)f+=O;else for(;O>0;)a.charCodeAt(f)===10?(f++,u++,h=0):(f++,h++),O--}function v(O){l===null?f=O:p(O-f)}function E(){for(;f<d;){let O=a.charCodeAt(f);if(O!==32&&O!==9&&O!==13&&O!==10)break;p(1)}}function _(O){return a.substr(f,O.length)===O&&(p(O.length),!0)}function g(O){let J=a.indexOf(O,f);v(J!==-1?J+O.length:d)}function b(O){let J=a.indexOf(O,f);if(J!==-1){let V=a.substring(f,J);return v(J+O.length),V}{let V=a.substr(f);return v(d),V}}d>0&&a.charCodeAt(0)===65279&&(f=1);let y=0,T=null,m=[],S=[],x=null;function w(O,J){m.push(y),S.push(T),y=O,T=J}function k(){if(m.length===0)return $("illegal state stack");y=m.pop(),T=S.pop()}function $(O){throw new Error("Near offset "+f+": "+O+" ~~~"+a.substr(f,50)+"~~~")}const A=function(){if(x===null)return $("missing <key>");let O={};l!==null&&(O[l]={filename:c,line:u,char:h}),T[x]=O,x=null,w(1,O)},R=function(){if(x===null)return $("missing <key>");let O=[];T[x]=O,x=null,w(2,O)},P=function(){let O={};l!==null&&(O[l]={filename:c,line:u,char:h}),T.push(O),w(1,O)},I=function(){let O=[];T.push(O),w(2,O)};function j(){if(y!==1)return $("unexpected </dict>");k()}function F(){return y===1||y!==2?$("unexpected </array>"):void k()}function B(O){if(y===1){if(x===null)return $("missing <key>");T[x]=O,x=null}else y===2?T.push(O):T=O}function G(O){if(isNaN(O))return $("cannot parse float");if(y===1){if(x===null)return $("missing <key>");T[x]=O,x=null}else y===2?T.push(O):T=O}function oe(O){if(isNaN(O))return $("cannot parse integer");if(y===1){if(x===null)return $("missing <key>");T[x]=O,x=null}else y===2?T.push(O):T=O}function ee(O){if(y===1){if(x===null)return $("missing <key>");T[x]=O,x=null}else y===2?T.push(O):T=O}function re(O){if(y===1){if(x===null)return $("missing <key>");T[x]=O,x=null}else y===2?T.push(O):T=O}function de(O){if(y===1){if(x===null)return $("missing <key>");T[x]=O,x=null}else y===2?T.push(O):T=O}function fe(){let O=b(">"),J=!1;return O.charCodeAt(O.length-1)===47&&(J=!0,O=O.substring(0,O.length-1)),{name:O.trim(),isClosed:J}}function _e(O){if(O.isClosed)return"";let J=b("</");return g(">"),J.replace(/&#([0-9]+);/g,function(V,ie){return String.fromCodePoint(parseInt(ie,10))}).replace(/&#x([0-9a-f]+);/g,function(V,ie){return String.fromCodePoint(parseInt(ie,16))}).replace(/&amp;|&lt;|&gt;|&quot;|&apos;/g,function(V){switch(V){case"&amp;":return"&";case"&lt;":return"<";case"&gt;":return">";case"&quot;":return'"';case"&apos;":return"'"}return V})}for(;f<d&&(E(),!(f>=d));){const O=a.charCodeAt(f);if(p(1),O!==60)return $("expected <");if(f>=d)return $("unexpected end of input");const J=a.charCodeAt(f);if(J===63){p(1),g("?>");continue}if(J===33){if(p(1),_("--")){g("-->");continue}g(">");continue}if(J===47){if(p(1),E(),_("plist")){g(">");continue}if(_("dict")){g(">"),j();continue}if(_("array")){g(">"),F();continue}return $("unexpected closed tag")}let V=fe();switch(V.name){case"dict":y===1?A():y===2?P():(T={},l!==null&&(T[l]={filename:c,line:u,char:h}),w(1,T)),V.isClosed&&j();continue;case"array":y===1?R():y===2?I():(T=[],w(2,T)),V.isClosed&&F();continue;case"key":we=_e(V),y!==1?$("unexpected <key>"):x!==null?$("too many <key>"):x=we;continue;case"string":B(_e(V));continue;case"real":G(parseFloat(_e(V)));continue;case"integer":oe(parseInt(_e(V),10));continue;case"date":ee(new Date(_e(V)));continue;case"data":re(_e(V));continue;case"true":_e(V),de(!0);continue;case"false":_e(V),de(!1);continue}if(!/^plist/.test(V.name))return $("unexpected opened tag "+V.name)}var we;return T}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,f,u){if(!this._grammars.has(c)){let h=this._rawGrammars.get(c);if(!h)return null;this._grammars.set(c,a.createGrammar(c,h,l,d,f,u,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(T){return T},o.ruleIdToNumber=function(T){return T};class f{constructor(m,S,x,w){this.$location=m,this.id=S,this._name=x||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=w||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const m=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${m}`}getName(m,S){return this._nameIsCapturing&&this._name!==null&&m!==null&&S!==null?a.RegexSource.replaceCaptures(this._name,m,S):this._name}getContentName(m,S){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,m,S):this._contentName}}o.Rule=f;class u extends f{constructor(m,S,x,w,k){super(m,S,x,w),this.retokenizeCapturedWithRuleId=k}dispose(){}collectPatterns(m,S){throw new Error("Not supported!")}compile(m,S){throw new Error("Not supported!")}compileAG(m,S,x,w){throw new Error("Not supported!")}}o.CaptureRule=u;class h extends f{constructor(m,S,x,w,k){super(m,S,x,null),this._match=new g(w,this.id),this.captures=k,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(m,S){S.push(this._match)}compile(m,S){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,S,x,w){return this._getCachedCompiledPatterns(m).compileAG(m,x,w)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new b,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.MatchRule=h;class p extends f{constructor(m,S,x,w,k){super(m,S,x,w),this.patterns=k.patterns,this.hasMissingPatterns=k.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(m,S){for(const x of this.patterns)m.getRule(x).collectPatterns(m,S)}compile(m,S){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,S,x,w){return this._getCachedCompiledPatterns(m).compileAG(m,x,w)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new b,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.IncludeOnlyRule=p;class v extends f{constructor(m,S,x,w,k,$,A,R,P,I){super(m,S,x,w),this._begin=new g(k,this.id),this.beginCaptures=$,this._end=new g(A||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=R,this.applyEndPatternLast=P||!1,this.patterns=I.patterns,this.hasMissingPatterns=I.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(m,S){return this._end.resolveBackReferences(m,S)}collectPatterns(m,S){S.push(this._begin)}compile(m,S){return this._getCachedCompiledPatterns(m,S).compile(m)}compileAG(m,S,x,w){return this._getCachedCompiledPatterns(m,S).compileAG(m,x,w)}_getCachedCompiledPatterns(m,S){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new b;for(const x of this.patterns)m.getRule(x).collectPatterns(m,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,S):this._cachedCompiledPatterns.setSource(0,S)),this._cachedCompiledPatterns}}o.BeginEndRule=v;class E extends f{constructor(m,S,x,w,k,$,A,R,P){super(m,S,x,w),this._begin=new g(k,this.id),this.beginCaptures=$,this.whileCaptures=R,this._while=new g(A,o.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=P.patterns,this.hasMissingPatterns=P.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(m,S){return this._while.resolveBackReferences(m,S)}collectPatterns(m,S){S.push(this._begin)}compile(m,S){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,S,x,w){return this._getCachedCompiledPatterns(m).compileAG(m,x,w)}_getCachedCompiledPatterns(m){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new b;for(const S of this.patterns)m.getRule(S).collectPatterns(m,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(m,S){return this._getCachedCompiledWhilePatterns(m,S).compile(m)}compileWhileAG(m,S,x,w){return this._getCachedCompiledWhilePatterns(m,S).compileAG(m,x,w)}_getCachedCompiledWhilePatterns(m,S){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new b,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,S||"￿"),this._cachedCompiledWhilePatterns}}o.BeginWhileRule=E;class _{static createCaptureRule(m,S,x,w,k){return m.registerRule($=>new u(S,$,x,w,k))}static getCompiledRuleId(m,S,x){return m.id||S.registerRule(w=>{if(m.id=w,m.match)return new h(m.$vscodeTextmateLocation,m.id,m.name,m.match,_._compileCaptures(m.captures,S,x));if(m.begin===void 0){m.repository&&(x=a.mergeObjects({},x,m.repository));let k=m.patterns;return k===void 0&&m.include&&(k=[{include:m.include}]),new p(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,_._compilePatterns(k,S,x))}return m.while?new E(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,_._compileCaptures(m.beginCaptures||m.captures,S,x),m.while,_._compileCaptures(m.whileCaptures||m.captures,S,x),_._compilePatterns(m.patterns,S,x)):new v(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,_._compileCaptures(m.beginCaptures||m.captures,S,x),m.end,_._compileCaptures(m.endCaptures||m.captures,S,x),m.applyEndPatternLast,_._compilePatterns(m.patterns,S,x))}),m.id}static _compileCaptures(m,S,x){let w=[];if(m){let k=0;for(const $ in m){if($==="$vscodeTextmateLocation")continue;const A=parseInt($,10);A>k&&(k=A)}for(let $=0;$<=k;$++)w[$]=null;for(const $ in m){if($==="$vscodeTextmateLocation")continue;const A=parseInt($,10);let R=0;m[$].patterns&&(R=_.getCompiledRuleId(m[$],S,x)),w[A]=_.createCaptureRule(S,m[$].$vscodeTextmateLocation,m[$].name,m[$].contentName,R)}}return w}static _compilePatterns(m,S,x){let w=[];if(m)for(let k=0,$=m.length;k<$;k++){const A=m[k];let R=-1;if(A.include){const P=c.parseInclude(A.include);switch(P.kind){case 0:case 1:R=_.getCompiledRuleId(x[A.include],S,x);break;case 2:let I=x[P.ruleName];I&&(R=_.getCompiledRuleId(I,S,x));break;case 3:case 4:const j=P.scopeName,F=P.kind===4?P.ruleName:null,B=S.getExternalGrammar(j,x);if(B)if(F){let G=B.repository[F];G&&(R=_.getCompiledRuleId(G,S,B.repository))}else R=_.getCompiledRuleId(B.repository.$self,S,B.repository)}}else R=_.getCompiledRuleId(A,S,x);if(R!==-1){const P=S.getRule(R);let I=!1;if((P instanceof p||P instanceof v||P instanceof E)&&P.hasMissingPatterns&&P.patterns.length===0&&(I=!0),I)continue;w.push(R)}}return{patterns:w,hasMissingPatterns:(m?m.length:0)!==w.length}}}o.RuleFactory=_;class g{constructor(m,S){if(m){const x=m.length;let w=0,k=[],$=!1;for(let A=0;A<x;A++)if(m.charAt(A)==="\\"&&A+1<x){const R=m.charAt(A+1);R==="z"?(k.push(m.substring(w,A)),k.push("$(?!\\n)(?<!\\n)"),w=A+2):R!=="A"&&R!=="G"||($=!0),A++}this.hasAnchor=$,w===0?this.source=m:(k.push(m.substring(w,x)),this.source=k.join(""))}else this.hasAnchor=!1,this.source=m;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=S,this.hasBackReferences=l.test(this.source)}clone(){return new g(this.source,this.ruleId)}setSource(m){this.source!==m&&(this.source=m,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(m,S){let x=S.map(w=>m.substring(w.start,w.end));return d.lastIndex=0,this.source.replace(d,(w,k)=>a.escapeRegExpCharacters(x[parseInt(k,10)]||""))}_buildAnchorCache(){let m,S,x,w,k=[],$=[],A=[],R=[];for(m=0,S=this.source.length;m<S;m++)x=this.source.charAt(m),k[m]=x,$[m]=x,A[m]=x,R[m]=x,x==="\\"&&m+1<S&&(w=this.source.charAt(m+1),w==="A"?(k[m+1]="￿",$[m+1]="￿",A[m+1]="A",R[m+1]="A"):w==="G"?(k[m+1]="￿",$[m+1]="G",A[m+1]="￿",R[m+1]="G"):(k[m+1]=w,$[m+1]=w,A[m+1]=w,R[m+1]=w),m++);return{A0_G0:k.join(""),A0_G1:$.join(""),A1_G0:A.join(""),A1_G1:R.join("")}}resolveAnchors(m,S){return this.hasAnchor&&this._anchorCache?m?S?this._anchorCache.A1_G1:this._anchorCache.A1_G0:S?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}o.RegExpSource=g;class b{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(m){this._items.push(m),this._hasAnchors=this._hasAnchors||m.hasAnchor}unshift(m){this._items.unshift(m),this._hasAnchors=this._hasAnchors||m.hasAnchor}length(){return this._items.length}setSource(m,S){this._items[m].source!==S&&(this._disposeCaches(),this._items[m].setSource(S))}compile(m){if(!this._cached){let S=this._items.map(x=>x.source);this._cached=new y(m,S,this._items.map(x=>x.ruleId))}return this._cached}compileAG(m,S,x){return this._hasAnchors?S?x?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(m,S,x)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(m,S,x)),this._anchorCache.A1_G0):x?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(m,S,x)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(m,S,x)),this._anchorCache.A0_G0):this.compile(m)}_resolveAnchors(m,S,x){let w=this._items.map(k=>k.resolveAnchors(S,x));return new y(m,w,this._items.map(k=>k.ruleId))}}o.RegExpSourceList=b;class y{constructor(m,S,x){this.regExps=S,this.rules=x,this.scanner=m.createOnigScanner(S)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const m=[];for(let S=0,x=this.rules.length;S<x;S++)m.push(" - "+this.rules[S]+": "+this.regExps[S]);return m.join(`
10
- `)}findNextMatchSync(m,S,x){const w=this.scanner.findNextMatchSync(m,S,x);return w?{ruleId:this.rules[w.index],captureIndices:w.captureIndices}:null}}o.CompiledRule=y},583:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.ThemeTrieElement=o.ThemeTrieElementRule=o.ColorMap=o.fontStyleToString=o.ParsedThemeRule=o.parseTheme=o.StyleAttributes=o.ScopeStack=o.Theme=void 0;const a=i(878);class c{constructor(g,b,y){this._colorMap=g,this._defaults=b,this._root=y,this._cachedMatchRoot=new a.CachedFn(T=>this._root.match(T))}static createFromRawTheme(g,b){return this.createFromParsedTheme(u(g),b)}static createFromParsedTheme(g,b){return function(y,T){y.sort((A,R)=>{let P=a.strcmp(A.scope,R.scope);return P!==0?P:(P=a.strArrCmp(A.parentScopes,R.parentScopes),P!==0?P:A.index-R.index)});let m=0,S="#000000",x="#ffffff";for(;y.length>=1&&y[0].scope==="";){let A=y.shift();A.fontStyle!==-1&&(m=A.fontStyle),A.foreground!==null&&(S=A.foreground),A.background!==null&&(x=A.background)}let w=new p(T),k=new f(m,w.getId(S),w.getId(x)),$=new E(new v(0,null,-1,0,0),[]);for(let A=0,R=y.length;A<R;A++){let P=y[A];$.insert(0,P.scope,P.parentScopes,P.fontStyle,w.getId(P.foreground),w.getId(P.background))}return new c(w,k,$)}(g,b)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(g){if(g===null)return this._defaults;const b=g.scopeName,y=this._cachedMatchRoot.get(b).find(T=>function(m,S){if(S===null)return!0;let x=0,w=S[x];for(;m;){if(d(m.scopeName,w)){if(x++,x===S.length)return!0;w=S[x]}m=m.parent}return!1}(g.parent,T.parentScopes));return y?new f(y.fontStyle,y.foreground,y.background):null}}o.Theme=c;class l{constructor(g,b){this.parent=g,this.scopeName=b}static from(...g){let b=null;for(let y=0;y<g.length;y++)b=new l(b,g[y]);return b}push(g){return new l(this,g)}getSegments(){let g=this;const b=[];for(;g;)b.push(g.scopeName),g=g.parent;return b.reverse(),b}toString(){return this.getSegments().join(" ")}}function d(_,g){return g===_||_.startsWith(g)&&_[g.length]==="."}o.ScopeStack=l;class f{constructor(g,b,y){this.fontStyle=g,this.foregroundId=b,this.backgroundId=y}}function u(_){if(!_)return[];if(!_.settings||!Array.isArray(_.settings))return[];let g=_.settings,b=[],y=0;for(let T=0,m=g.length;T<m;T++){let S,x=g[T];if(!x.settings)continue;if(typeof x.scope=="string"){let A=x.scope;A=A.replace(/^[,]+/,""),A=A.replace(/[,]+$/,""),S=A.split(",")}else S=Array.isArray(x.scope)?x.scope:[""];let w=-1;if(typeof x.settings.fontStyle=="string"){w=0;let A=x.settings.fontStyle.split(" ");for(let R=0,P=A.length;R<P;R++)switch(A[R]){case"italic":w|=1;break;case"bold":w|=2;break;case"underline":w|=4;break;case"strikethrough":w|=8}}let k=null;typeof x.settings.foreground=="string"&&a.isValidHexColor(x.settings.foreground)&&(k=x.settings.foreground);let $=null;typeof x.settings.background=="string"&&a.isValidHexColor(x.settings.background)&&($=x.settings.background);for(let A=0,R=S.length;A<R;A++){let P=S[A].trim().split(" "),I=P[P.length-1],j=null;P.length>1&&(j=P.slice(0,P.length-1),j.reverse()),b[y++]=new h(I,j,T,w,k,$)}}return b}o.StyleAttributes=f,o.parseTheme=u;class h{constructor(g,b,y,T,m,S){this.scope=g,this.parentScopes=b,this.index=y,this.fontStyle=T,this.foreground=m,this.background=S}}o.ParsedThemeRule=h,o.fontStyleToString=function(_){if(_===-1)return"not set";let g="";return 1&_&&(g+="italic "),2&_&&(g+="bold "),4&_&&(g+="underline "),8&_&&(g+="strikethrough "),g===""&&(g="none"),g.trim()};class p{constructor(g){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(g)){this._isFrozen=!0;for(let b=0,y=g.length;b<y;b++)this._color2id[g[b]]=b,this._id2color[b]=g[b]}else this._isFrozen=!1}getId(g){if(g===null)return 0;g=g.toUpperCase();let b=this._color2id[g];if(b)return b;if(this._isFrozen)throw new Error(`Missing color in color map - ${g}`);return b=++this._lastColorId,this._color2id[g]=b,this._id2color[b]=g,b}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=p;class v{constructor(g,b,y,T,m){this.scopeDepth=g,this.parentScopes=b,this.fontStyle=y,this.foreground=T,this.background=m}clone(){return new v(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(g){let b=[];for(let y=0,T=g.length;y<T;y++)b[y]=g[y].clone();return b}acceptOverwrite(g,b,y,T){this.scopeDepth>g?console.log("how did this happen?"):this.scopeDepth=g,b!==-1&&(this.fontStyle=b),y!==0&&(this.foreground=y),T!==0&&(this.background=T)}}o.ThemeTrieElementRule=v;class E{constructor(g,b=[],y={}){this._mainRule=g,this._children=y,this._rulesWithParentScopes=b}static _sortBySpecificity(g){return g.length===1||g.sort(this._cmpBySpecificity),g}static _cmpBySpecificity(g,b){if(g.scopeDepth===b.scopeDepth){const y=g.parentScopes,T=b.parentScopes;let m=y===null?0:y.length,S=T===null?0:T.length;if(m===S)for(let x=0;x<m;x++){const w=y[x].length,k=T[x].length;if(w!==k)return k-w}return S-m}return b.scopeDepth-g.scopeDepth}match(g){if(g==="")return E._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let b,y,T=g.indexOf(".");return T===-1?(b=g,y=""):(b=g.substring(0,T),y=g.substring(T+1)),this._children.hasOwnProperty(b)?this._children[b].match(y):E._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(g,b,y,T,m,S){if(b==="")return void this._doInsertHere(g,y,T,m,S);let x,w,k,$=b.indexOf(".");$===-1?(x=b,w=""):(x=b.substring(0,$),w=b.substring($+1)),this._children.hasOwnProperty(x)?k=this._children[x]:(k=new E(this._mainRule.clone(),v.cloneArr(this._rulesWithParentScopes)),this._children[x]=k),k.insert(g+1,w,y,T,m,S)}_doInsertHere(g,b,y,T,m){if(b!==null){for(let S=0,x=this._rulesWithParentScopes.length;S<x;S++){let w=this._rulesWithParentScopes[S];if(a.strArrCmp(w.parentScopes,b)===0)return void w.acceptOverwrite(g,y,T,m)}y===-1&&(y=this._mainRule.fontStyle),T===0&&(T=this._mainRule.foreground),m===0&&(m=this._mainRule.background),this._rulesWithParentScopes.push(new v(g,b,y,T,m))}else this._mainRule.acceptOverwrite(g,y,T,m)}}o.ThemeTrieElement=E},878:(s,o)=>{function i(l){return Array.isArray(l)?function(d){let f=[];for(let u=0,h=d.length;u<h;u++)f[u]=i(d[u]);return f}(l):typeof l=="object"?function(d){let f={};for(let u in d)f[u]=i(d[u]);return f}(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(f=>{for(let u in f)l[u]=f[u]}),l},o.basename=function l(d){const f=~d.lastIndexOf("/")||~d.lastIndexOf("\\");return f===0?d:~f==d.length-1?l(d.substring(0,d.length-1)):d.substr(1+~f)};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,f){return l.replace(a,(u,h,p,v)=>{let E=f[parseInt(h||p,10)];if(!E)return u;{let _=d.substring(E.start,E.end);for(;_[0]===".";)_=_.substring(1);switch(v){case"downcase":return _.toLowerCase();case"upcase":return _.toUpperCase();default:return _}}})}},o.strcmp=c,o.strArrCmp=function(l,d){if(l===null&&d===null)return 0;if(!l)return-1;if(!d)return 1;let f=l.length,u=d.length;if(f===u){for(let h=0;h<f;h++){let p=c(l[h],d[h]);if(p!==0)return p}return 0}return f-u},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)})()})})(MS);const Pi=[{id:"abap",scopeName:"source.abap",path:"abap.tmLanguage.json",samplePath:"abap.sample"},{id:"actionscript-3",scopeName:"source.actionscript.3",path:"actionscript-3.tmLanguage.json",samplePath:"actionscript-3.sample"},{id:"ada",scopeName:"source.ada",path:"ada.tmLanguage.json",samplePath:"ada.sample"},{id:"apache",scopeName:"source.apacheconf",path:"apache.tmLanguage.json"},{id:"apex",scopeName:"source.apex",path:"apex.tmLanguage.json",samplePath:"apex.sample"},{id:"apl",scopeName:"source.apl",path:"apl.tmLanguage.json",embeddedLangs:["html","xml","css","javascript","json"]},{id:"applescript",scopeName:"source.applescript",path:"applescript.tmLanguage.json",samplePath:"applescript.sample"},{id:"asm",scopeName:"source.asm.x86_64",path:"asm.tmLanguage.json",samplePath:"asm.sample"},{id:"astro",scopeName:"source.astro",path:"astro.tmLanguage.json",samplePath:"astro.sample",embeddedLangs:["json","javascript","typescript","tsx","css","less","sass","scss","stylus"]},{id:"awk",scopeName:"source.awk",path:"awk.tmLanguage.json",samplePath:"awk.sample"},{id:"ballerina",scopeName:"source.ballerina",path:"ballerina.tmLanguage.json",samplePath:"ballerina.sample"},{id:"bat",scopeName:"source.batchfile",path:"bat.tmLanguage.json",samplePath:"bat.sample",aliases:["batch"]},{id:"berry",scopeName:"source.berry",path:"berry.tmLanguage.json",samplePath:"berry.sample",aliases:["be"]},{id:"bibtex",scopeName:"text.bibtex",path:"bibtex.tmLanguage.json"},{id:"bicep",scopeName:"source.bicep",path:"bicep.tmLanguage.json",samplePath:"bicep.sample"},{id:"blade",scopeName:"text.html.php.blade",path:"blade.tmLanguage.json",samplePath:"blade.sample",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"c",scopeName:"source.c",path:"c.tmLanguage.json",samplePath:"c.sample"},{id:"cadence",scopeName:"source.cadence",path:"cadence.tmLanguage.json",samplePath:"cadence.sample",aliases:["cdc"]},{id:"clarity",scopeName:"source.clar",path:"clarity.tmLanguage.json",samplePath:"clarity.sample"},{id:"clojure",scopeName:"source.clojure",path:"clojure.tmLanguage.json",samplePath:"clojure.sample",aliases:["clj"]},{id:"cmake",scopeName:"source.cmake",path:"cmake.tmLanguage.json",samplePath:"cmake.sample"},{id:"cobol",scopeName:"source.cobol",path:"cobol.tmLanguage.json",samplePath:"cobol.sample",embeddedLangs:["sql","html","java"]},{id:"codeql",scopeName:"source.ql",path:"codeql.tmLanguage.json",samplePath:"codeql.sample",aliases:["ql"],embeddedLangs:["markdown"]},{id:"coffee",scopeName:"source.coffee",path:"coffee.tmLanguage.json",samplePath:"coffee.sample",embeddedLangs:["javascript"]},{id:"cpp",scopeName:"source.cpp",path:"cpp.tmLanguage.json",samplePath:"cpp.sample",embeddedLangs:["glsl","sql"]},{id:"crystal",scopeName:"source.crystal",path:"crystal.tmLanguage.json",samplePath:"crystal.sample",embeddedLangs:["html","sql","css","c","javascript","shellscript"]},{id:"csharp",scopeName:"source.cs",path:"csharp.tmLanguage.json",samplePath:"csharp.sample",aliases:["c#","cs"]},{id:"css",scopeName:"source.css",path:"css.tmLanguage.json",samplePath:"css.sample"},{id:"cue",scopeName:"source.cue",path:"cue.tmLanguage.json",samplePath:"cue.sample"},{id:"d",scopeName:"source.d",path:"d.tmLanguage.json",samplePath:"d.sample"},{id:"dart",scopeName:"source.dart",path:"dart.tmLanguage.json",samplePath:"dart.sample"},{id:"diff",scopeName:"source.diff",path:"diff.tmLanguage.json",samplePath:"diff.sample"},{id:"docker",scopeName:"source.dockerfile",path:"docker.tmLanguage.json",samplePath:"docker.sample"},{id:"dream-maker",scopeName:"source.dm",path:"dream-maker.tmLanguage.json"},{id:"elixir",scopeName:"source.elixir",path:"elixir.tmLanguage.json",samplePath:"elixir.sample",embeddedLangs:["html"]},{id:"elm",scopeName:"source.elm",path:"elm.tmLanguage.json",samplePath:"elm.sample",embeddedLangs:["glsl"]},{id:"erb",scopeName:"text.html.erb",path:"erb.tmLanguage.json",samplePath:"erb.sample",embeddedLangs:["html","ruby"]},{id:"erlang",scopeName:"source.erlang",path:"erlang.tmLanguage.json",samplePath:"erlang.sample",aliases:["erl"]},{id:"fish",scopeName:"source.fish",path:"fish.tmLanguage.json",samplePath:"fish.sample"},{id:"fsharp",scopeName:"source.fsharp",path:"fsharp.tmLanguage.json",samplePath:"fsharp.sample",aliases:["f#","fs"],embeddedLangs:["markdown"]},{id:"gherkin",scopeName:"text.gherkin.feature",path:"gherkin.tmLanguage.json"},{id:"git-commit",scopeName:"text.git-commit",path:"git-commit.tmLanguage.json",embeddedLangs:["diff"]},{id:"git-rebase",scopeName:"text.git-rebase",path:"git-rebase.tmLanguage.json",embeddedLangs:["shellscript"]},{id:"glsl",scopeName:"source.glsl",path:"glsl.tmLanguage.json",samplePath:"glsl.sample",embeddedLangs:["c"]},{id:"gnuplot",scopeName:"source.gnuplot",path:"gnuplot.tmLanguage.json"},{id:"go",scopeName:"source.go",path:"go.tmLanguage.json",samplePath:"go.sample"},{id:"graphql",scopeName:"source.graphql",path:"graphql.tmLanguage.json",embeddedLangs:["javascript","typescript","jsx","tsx"]},{id:"groovy",scopeName:"source.groovy",path:"groovy.tmLanguage.json"},{id:"hack",scopeName:"source.hack",path:"hack.tmLanguage.json",embeddedLangs:["html","sql"]},{id:"haml",scopeName:"text.haml",path:"haml.tmLanguage.json",embeddedLangs:["ruby","javascript","sass","coffee","markdown","css"]},{id:"handlebars",scopeName:"text.html.handlebars",path:"handlebars.tmLanguage.json",aliases:["hbs"],embeddedLangs:["html","css","javascript","yaml"]},{id:"haskell",scopeName:"source.haskell",path:"haskell.tmLanguage.json",aliases:["hs"]},{id:"hcl",scopeName:"source.hcl",path:"hcl.tmLanguage.json",samplePath:"hcl.sample"},{id:"hlsl",scopeName:"source.hlsl",path:"hlsl.tmLanguage.json"},{id:"html",scopeName:"text.html.basic",path:"html.tmLanguage.json",samplePath:"html.sample",embeddedLangs:["javascript","css"]},{id:"imba",scopeName:"source.imba",path:"imba.tmLanguage.json",samplePath:"imba.sample"},{id:"ini",scopeName:"source.ini",path:"ini.tmLanguage.json"},{id:"java",scopeName:"source.java",path:"java.tmLanguage.json",samplePath:"java.sample"},{id:"javascript",scopeName:"source.js",path:"javascript.tmLanguage.json",samplePath:"javascript.sample",aliases:["js"]},{id:"jinja-html",scopeName:"text.html.jinja",path:"jinja-html.tmLanguage.json",embeddedLangs:["html"]},{id:"json",scopeName:"source.json",path:"json.tmLanguage.json"},{id:"json5",scopeName:"source.json5",path:"json5.tmLanguage.json",samplePath:"json5.sample"},{id:"jsonc",scopeName:"source.json.comments",path:"jsonc.tmLanguage.json"},{id:"jsonnet",scopeName:"source.jsonnet",path:"jsonnet.tmLanguage.json"},{id:"jssm",scopeName:"source.jssm",path:"jssm.tmLanguage.json",samplePath:"jssm.sample",aliases:["fsl"]},{id:"jsx",scopeName:"source.js.jsx",path:"jsx.tmLanguage.json"},{id:"julia",scopeName:"source.julia",path:"julia.tmLanguage.json",embeddedLangs:["cpp","python","javascript","r","sql"]},{id:"kotlin",scopeName:"source.kotlin",path:"kotlin.tmLanguage.json"},{id:"latex",scopeName:"text.tex.latex",path:"latex.tmLanguage.json",embeddedLangs:["tex","css","haskell","html","xml","java","lua","julia","ruby","javascript","typescript","python","yaml","rust","scala","gnuplot"]},{id:"less",scopeName:"source.css.less",path:"less.tmLanguage.json",embeddedLangs:["css"]},{id:"liquid",scopeName:"text.html.liquid",path:"liquid.tmLanguage.json",samplePath:"liquid.sample",embeddedLangs:["html","css","json","javascript"]},{id:"lisp",scopeName:"source.lisp",path:"lisp.tmLanguage.json"},{id:"logo",scopeName:"source.logo",path:"logo.tmLanguage.json"},{id:"lua",scopeName:"source.lua",path:"lua.tmLanguage.json",embeddedLangs:["c"]},{id:"make",scopeName:"source.makefile",path:"make.tmLanguage.json",aliases:["makefile"]},{id:"markdown",scopeName:"text.html.markdown",path:"markdown.tmLanguage.json",aliases:["md"],embeddedLangs:["css","html","ini","java","lua","make","perl","r","ruby","php","sql","vb","xml","xsl","yaml","bat","clojure","coffee","c","cpp","diff","docker","git-commit","git-rebase","go","groovy","pug","javascript","json","jsonc","less","objective-c","swift","scss","raku","powershell","python","julia","rust","scala","shellscript","typescript","tsx","csharp","fsharp","dart","handlebars","erlang","elixir","latex","bibtex"]},{id:"marko",scopeName:"text.marko",path:"marko.tmLanguage.json",embeddedLangs:["css","less","scss","typescript"]},{id:"matlab",scopeName:"source.matlab",path:"matlab.tmLanguage.json"},{id:"mdx",scopeName:"text.html.markdown.jsx",path:"mdx.tmLanguage.json",embeddedLangs:["jsx","markdown"]},{id:"mermaid",scopeName:"source.mermaid",path:"mermaid.tmLanguage.json"},{id:"nginx",scopeName:"source.nginx",path:"nginx.tmLanguage.json",embeddedLangs:["lua"]},{id:"nim",scopeName:"source.nim",path:"nim.tmLanguage.json",embeddedLangs:["c","html","xml","javascript","css","glsl","markdown"]},{id:"nix",scopeName:"source.nix",path:"nix.tmLanguage.json"},{id:"objective-c",scopeName:"source.objc",path:"objective-c.tmLanguage.json",aliases:["objc"]},{id:"objective-cpp",scopeName:"source.objcpp",path:"objective-cpp.tmLanguage.json"},{id:"ocaml",scopeName:"source.ocaml",path:"ocaml.tmLanguage.json"},{id:"pascal",scopeName:"source.pascal",path:"pascal.tmLanguage.json"},{id:"perl",scopeName:"source.perl",path:"perl.tmLanguage.json",embeddedLangs:["html","xml","css","javascript","sql"]},{id:"php",scopeName:"source.php",path:"php.tmLanguage.json",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"plsql",scopeName:"source.plsql.oracle",path:"plsql.tmLanguage.json"},{id:"postcss",scopeName:"source.css.postcss",path:"postcss.tmLanguage.json"},{id:"powershell",scopeName:"source.powershell",path:"powershell.tmLanguage.json",aliases:["ps","ps1"]},{id:"prisma",scopeName:"source.prisma",path:"prisma.tmLanguage.json",samplePath:"prisma.sample"},{id:"prolog",scopeName:"source.prolog",path:"prolog.tmLanguage.json"},{id:"proto",scopeName:"source.proto",path:"proto.tmLanguage.json",samplePath:"proto.sample"},{id:"pug",scopeName:"text.pug",path:"pug.tmLanguage.json",aliases:["jade"],embeddedLangs:["javascript","css","sass","scss","stylus","coffee","html"]},{id:"puppet",scopeName:"source.puppet",path:"puppet.tmLanguage.json"},{id:"purescript",scopeName:"source.purescript",path:"purescript.tmLanguage.json"},{id:"python",scopeName:"source.python",path:"python.tmLanguage.json",samplePath:"python.sample",aliases:["py"]},{id:"r",scopeName:"source.r",path:"r.tmLanguage.json"},{id:"raku",scopeName:"source.perl.6",path:"raku.tmLanguage.json",aliases:["perl6"]},{id:"razor",scopeName:"text.aspnetcorerazor",path:"razor.tmLanguage.json",embeddedLangs:["html","csharp"]},{id:"rel",scopeName:"source.rel",path:"rel.tmLanguage.json",samplePath:"rel.sample"},{id:"riscv",scopeName:"source.riscv",path:"riscv.tmLanguage.json"},{id:"rst",scopeName:"source.rst",path:"rst.tmLanguage.json",embeddedLangs:["cpp","python","javascript","shellscript","yaml","cmake","ruby"]},{id:"ruby",scopeName:"source.ruby",path:"ruby.tmLanguage.json",samplePath:"ruby.sample",aliases:["rb"],embeddedLangs:["html","xml","sql","css","c","javascript","shellscript","lua"]},{id:"rust",scopeName:"source.rust",path:"rust.tmLanguage.json",aliases:["rs"]},{id:"sas",scopeName:"source.sas",path:"sas.tmLanguage.json",embeddedLangs:["sql"]},{id:"sass",scopeName:"source.sass",path:"sass.tmLanguage.json"},{id:"scala",scopeName:"source.scala",path:"scala.tmLanguage.json"},{id:"scheme",scopeName:"source.scheme",path:"scheme.tmLanguage.json"},{id:"scss",scopeName:"source.css.scss",path:"scss.tmLanguage.json",embeddedLangs:["css"]},{id:"shaderlab",scopeName:"source.shaderlab",path:"shaderlab.tmLanguage.json",aliases:["shader"],embeddedLangs:["hlsl"]},{id:"shellscript",scopeName:"source.shell",path:"shellscript.tmLanguage.json",aliases:["shell","bash","sh","zsh"]},{id:"smalltalk",scopeName:"source.smalltalk",path:"smalltalk.tmLanguage.json"},{id:"solidity",scopeName:"source.solidity",path:"solidity.tmLanguage.json"},{id:"sparql",scopeName:"source.sparql",path:"sparql.tmLanguage.json",samplePath:"sparql.sample",embeddedLangs:["turtle"]},{id:"sql",scopeName:"source.sql",path:"sql.tmLanguage.json"},{id:"ssh-config",scopeName:"source.ssh-config",path:"ssh-config.tmLanguage.json"},{id:"stata",scopeName:"source.stata",path:"stata.tmLanguage.json",samplePath:"stata.sample",embeddedLangs:["sql"]},{id:"stylus",scopeName:"source.stylus",path:"stylus.tmLanguage.json",aliases:["styl"]},{id:"svelte",scopeName:"source.svelte",path:"svelte.tmLanguage.json",embeddedLangs:["javascript","typescript","coffee","stylus","sass","css","scss","less","postcss","pug","markdown"]},{id:"swift",scopeName:"source.swift",path:"swift.tmLanguage.json"},{id:"system-verilog",scopeName:"source.systemverilog",path:"system-verilog.tmLanguage.json"},{id:"tasl",scopeName:"source.tasl",path:"tasl.tmLanguage.json",samplePath:"tasl.sample"},{id:"tcl",scopeName:"source.tcl",path:"tcl.tmLanguage.json"},{id:"tex",scopeName:"text.tex",path:"tex.tmLanguage.json",embeddedLangs:["r"]},{id:"toml",scopeName:"source.toml",path:"toml.tmLanguage.json"},{id:"tsx",scopeName:"source.tsx",path:"tsx.tmLanguage.json",samplePath:"tsx.sample"},{id:"turtle",scopeName:"source.turtle",path:"turtle.tmLanguage.json",samplePath:"turtle.sample"},{id:"twig",scopeName:"text.html.twig",path:"twig.tmLanguage.json",embeddedLangs:["css","javascript","php","python","ruby"]},{id:"typescript",scopeName:"source.ts",path:"typescript.tmLanguage.json",aliases:["ts"]},{id:"v",scopeName:"source.v",path:"v.tmLanguage.json",samplePath:"v.sample"},{id:"vb",scopeName:"source.asp.vb.net",path:"vb.tmLanguage.json",aliases:["cmd"]},{id:"verilog",scopeName:"source.verilog",path:"verilog.tmLanguage.json"},{id:"vhdl",scopeName:"source.vhdl",path:"vhdl.tmLanguage.json"},{id:"viml",scopeName:"source.viml",path:"viml.tmLanguage.json",aliases:["vim","vimscript"]},{id:"vue-html",scopeName:"text.html.vue-html",path:"vue-html.tmLanguage.json",embeddedLangs:["vue","javascript"]},{id:"vue",scopeName:"source.vue",path:"vue.tmLanguage.json",embeddedLangs:["html","markdown","pug","stylus","sass","css","scss","less","javascript","typescript","jsx","tsx","json","jsonc","yaml","toml","graphql"]},{id:"wasm",scopeName:"source.wat",path:"wasm.tmLanguage.json"},{id:"wenyan",scopeName:"source.wenyan",path:"wenyan.tmLanguage.json",aliases:["文言"]},{id:"xml",scopeName:"text.xml",path:"xml.tmLanguage.json",embeddedLangs:["java"]},{id:"xsl",scopeName:"text.xml.xsl",path:"xsl.tmLanguage.json",embeddedLangs:["xml"]},{id:"yaml",scopeName:"source.yaml",path:"yaml.tmLanguage.json"},{id:"zenscript",scopeName:"source.zenscript",path:"zenscript.tmLanguage.json",samplePath:"zenscript.sample"}];var Po=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e))(Po||{});class st{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=st.getLanguageId(t),r=st.getTokenType(t),s=st.getFontStyle(t),o=st.getForeground(t),i=st.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:s,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static getFontStyle(t){return(t&14336)>>>11}static getForeground(t){return(t&8372224)>>>15}static getBackground(t){return(t&4286578688)>>>24}static containsBalancedBrackets(t){return(t&1024)!==0}static set(t,n,r,s,o,i){let a=st.getLanguageId(t),c=st.getTokenType(t),l=st.getFontStyle(t),d=st.getForeground(t),f=st.getBackground(t),u=st.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&&(f=i),(a<<0|c<<8|l<<11|u<<10|d<<15|f<<24)>>>0}}function DS(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function FS(e){return e.startsWith("./")?e.slice(2):e}function Kp(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function Xp(...e){return e.map(DS).map(FS).join("/")}function BS(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 HS(e,t=!1){const n=e.length;let r=0,s="",o=0,i=16,a=0,c=0,l=0,d=0,f=0;function u(b,y){let T=0,m=0;for(;T<b||!y;){let S=e.charCodeAt(r);if(S>=48&&S<=57)m=m*16+S-48;else if(S>=65&&S<=70)m=m*16+S-65+10;else if(S>=97&&S<=102)m=m*16+S-97+10;else break;r++,T++}return T<b&&(m=-1),m}function h(b){r=b,s="",o=0,i=16,f=0}function p(){let b=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&rr(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&rr(e.charCodeAt(r)))for(r++;r<e.length&&rr(e.charCodeAt(r));)r++;else return f=3,e.substring(b,r);let y=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&rr(e.charCodeAt(r))){for(r++;r<e.length&&rr(e.charCodeAt(r));)r++;y=r}else f=3;return e.substring(b,y)}function v(){let b="",y=r;for(;;){if(r>=n){b+=e.substring(y,r),f=2;break}const T=e.charCodeAt(r);if(T===34){b+=e.substring(y,r),r++;break}if(T===92){if(b+=e.substring(y,r),r++,r>=n){f=2;break}switch(e.charCodeAt(r++)){case 34:b+='"';break;case 92:b+="\\";break;case 47:b+="/";break;case 98:b+="\b";break;case 102:b+="\f";break;case 110:b+=`
11
- `;break;case 114:b+="\r";break;case 116:b+=" ";break;case 117:const S=u(4,!0);S>=0?b+=String.fromCharCode(S):f=4;break;default:f=5}y=r;continue}if(T>=0&&T<=31)if(ts(T)){b+=e.substring(y,r),f=2;break}else f=6;r++}return b}function E(){if(s="",f=0,o=r,c=a,d=l,r>=n)return o=n,i=17;let b=e.charCodeAt(r);if(ua(b)){do r++,s+=String.fromCharCode(b),b=e.charCodeAt(r);while(ua(b));return i=15}if(ts(b))return r++,s+=String.fromCharCode(b),b===13&&e.charCodeAt(r)===10&&(r++,s+=`
12
- `),a++,l=r,i=14;switch(b){case 123:return r++,i=1;case 125:return r++,i=2;case 91:return r++,i=3;case 93:return r++,i=4;case 58:return r++,i=6;case 44:return r++,i=5;case 34:return r++,s=v(),i=10;case 47:const y=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!ts(e.charCodeAt(r));)r++;return s=e.substring(y,r),i=12}if(e.charCodeAt(r+1)===42){r+=2;const T=n-1;let m=!1;for(;r<T;){const S=e.charCodeAt(r);if(S===42&&e.charCodeAt(r+1)===47){r+=2,m=!0;break}r++,ts(S)&&(S===13&&e.charCodeAt(r)===10&&r++,a++,l=r)}return m||(r++,f=1),s=e.substring(y,r),i=13}return s+=String.fromCharCode(b),r++,i=16;case 45:if(s+=String.fromCharCode(b),r++,r===n||!rr(e.charCodeAt(r)))return i=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s+=p(),i=11;default:for(;r<n&&_(b);)r++,b=e.charCodeAt(r);if(o!==r){switch(s=e.substring(o,r),s){case"true":return i=8;case"false":return i=9;case"null":return i=7}return i=16}return s+=String.fromCharCode(b),r++,i=16}}function _(b){if(ua(b)||ts(b))return!1;switch(b){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function g(){let b;do b=E();while(b>=12&&b<=15);return b}return{setPosition:h,getPosition:()=>r,scan:t?g:E,getToken:()=>i,getTokenValue:()=>s,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>c,getTokenStartCharacter:()=>o-d,getTokenError:()=>f}}function ua(e){return e===32||e===9}function ts(e){return e===10||e===13}function rr(e){return e>=48&&e<=57}var $f;(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"})($f||($f={}));var Qo;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Qo||(Qo={}));function US(e,t=[],n=Qo.DEFAULT){let r=null,s=[];const o=[];function i(c){Array.isArray(s)?s.push(c):r!==null&&(s[r]=c)}return WS(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 WS(e,t,n=Qo.DEFAULT){const r=HS(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?R=>A(R,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function c(A){return A?R=>A(R,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>s.slice()):()=>!0}const l=i(t.onObjectBegin),d=c(t.onObjectProperty),f=o(t.onObjectEnd),u=i(t.onArrayBegin),h=o(t.onArrayEnd),p=c(t.onLiteralValue),v=a(t.onSeparator),E=o(t.onComment),_=a(t.onError),g=n&&n.disallowComments,b=n&&n.allowTrailingComma;function y(){for(;;){const A=r.scan();switch(r.getTokenError()){case 4:T(14);break;case 5:T(15);break;case 3:T(13);break;case 1:g||T(11);break;case 2:T(12);break;case 6:T(16);break}switch(A){case 12:case 13:g?T(10):E();break;case 16:T(1);break;case 15:case 14:break;default:return A}}}function T(A,R=[],P=[]){if(_(A),R.length+P.length>0){let I=r.getToken();for(;I!==17;){if(R.indexOf(I)!==-1){y();break}else if(P.indexOf(I)!==-1)break;I=y()}}}function m(A){const R=r.getTokenValue();return A?p(R):(d(R),s.push(R)),y(),!0}function S(){switch(r.getToken()){case 11:const A=r.getTokenValue();let R=Number(A);isNaN(R)&&(T(2),R=0),p(R);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return y(),!0}function x(){return r.getToken()!==10?(T(3,[],[2,5]),!1):(m(!1),r.getToken()===6?(v(":"),y(),$()||T(4,[],[2,5])):T(5,[],[2,5]),s.pop(),!0)}function w(){l(),y();let A=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(A||T(4,[],[]),v(","),y(),r.getToken()===2&&b)break}else A&&T(6,[],[]);x()||T(4,[],[2,5]),A=!0}return f(),r.getToken()!==2?T(7,[2],[]):y(),!0}function k(){u(),y();let A=!0,R=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(R||T(4,[],[]),v(","),y(),r.getToken()===4&&b)break}else R&&T(6,[],[]);A?(s.push(0),A=!1):s[s.length-1]++,$()||T(4,[],[4,5]),R=!0}return h(),A||s.pop(),r.getToken()!==4?T(8,[4],[]):y(),!0}function $(){switch(r.getToken()){case 3:return k();case 1:return w();case 10:return m(!0);default:return S()}}return y(),r.getToken()===17?n.allowEmptyContent?!0:(T(4,[],[]),!1):$()?(r.getToken()!==17&&T(9,[],[]),!0):(T(4,[],[]),!1)}var Af;(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"})(Af||(Af={}));var Rf;(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"})(Rf||(Rf={}));const VS=US;var Pf;(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"})(Pf||(Pf={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let Yp="";const zS="dist/";function GS(e){Yp=e.endsWith("/")?e:e+"/"}let fa=null;async function qS(e){if(!fa){let t;t=$s.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(Jp(Xp(...Kp(e),"onig.wasm")))}),fa=t.then(()=>({createOnigScanner(n){return $s.createOnigScanner(n)},createOnigString(n){return $s.createOnigString(n)}}))}return fa}function Jp(e){return`${Yp}${e}`}async function KS(e){const t=Jp(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function Qp(e){const t=[],n=VS(await KS(e),t,{allowTrailingComma:!0});if(t.length)throw t[0];return n}async function Zp(e){let t=await Qp(e);const n=em(t);if(n.include){const r=await Zp(Xp(...Kp(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 XS(e){return await Qp(e)}function YS(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 em(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...JS(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),YS(n),n}const Nf={light:"#333333",dark:"#bbbbbb"},Lf={light:"#fffffe",dark:"#1e1e1e"};function JS(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"?Nf.light:Nf.dark),n||(n=e.type==="light"?Lf.light:Lf.dark),{fg:t,bg:n}}class QS{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 XS(Pi.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 ZS(e,t,n,r,s){let o=n.split(/\r\n|\r|\n/),i=Jo.INITIAL,a=[],c=[];for(let l=0,d=o.length;l<d;l++){let f=o[l];if(f===""){a=[],c.push([]);continue}let u,h,p;s.includeExplanation&&(u=r.tokenizeLine(f,i),h=u.tokens,p=0);let v=r.tokenizeLine2(f,i),E=v.tokens.length/2;for(let _=0;_<E;_++){let g=v.tokens[2*_],b=_+1<E?v.tokens[2*_+2]:f.length;if(g===b)continue;let y=v.tokens[2*_+1],T=st.getForeground(y),m=t[T],S=st.getFontStyle(y),x=[];if(s.includeExplanation){let w=0;for(;g+w<b;){let k=h[p],$=f.substring(k.startIndex,k.endIndex);w+=$.length,x.push({content:$,scopes:ek(e,k.scopes)}),p++}}a.push({content:f.substring(g,b),color:m,fontStyle:S,explanation:x})}c.push(a),a=[],i=v.ruleStack}return c}function ek(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:nk(e,i,o)}}return n}function Of(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function tk(e,t,n,r){if(!Of(e,n))return!1;let s=t.length-1,o=r.length-1;for(;s>=0&&o>=0;)Of(t[s],r[o])&&s--,o--;return s===-1}function nk(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 u=c[l].split(/ /),h=u[u.length-1],p=u.slice(0,u.length-1);tk(h,p,t,n)&&(r[s++]=a,l=d)}}return r}const rk={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 sk(e,t={}){const n=t.bg||"#fff",r=BS(t.lineOptions??[],i=>i.line),s=t.elements||{};function o(i="",a={},c){const l=s[i]||rk[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=ak(l).join(" ");return o("line",{className:d,lines:e,line:i,index:a},i.map((f,u)=>{const h=[`color: ${f.color||t.fg}`];return f.fontStyle&Po.Italic&&h.push("font-style: italic"),f.fontStyle&Po.Bold&&h.push("font-weight: bold"),f.fontStyle&Po.Underline&&h.push("text-decoration: underline"),o("token",{style:h.join("; "),tokens:i,token:f,index:u},[ik(f.content)])}))}))])}const ok={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function ik(e){return e.replace(/[&<>"']/g,t=>ok[t])}function ak(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 lk extends Jo.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=Pi.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 Zp(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=em(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 tm(e){return typeof e=="string"?Pi.find(t=>t.id===e||t.aliases?.includes(e)):e}function ck(e){let t=Pi,n=e.themes||[],r=e.paths?.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":zS;return e.langs&&(t=e.langs.map(tm)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:r}}async function uk(e){const{_languages:t,_themes:n,_wasmPath:r}=ck(e),s=new QS(qS(r),"vscode-oniguruma"),o=new lk(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(m){l=m}function f(m,S){m.bg=l[m.bg]||m.bg,m.fg=l[m.fg]||m.fg,S.forEach((x,w)=>{S[w]=l[x]||x})}function u(m){const S=m?o.getTheme(m):a;if(!S)throw Error(`No theme registration for ${m}`);(!c||c.name!==S.name)&&(o.setTheme(S),c=S);const x=o.getColorMap();return S.type==="css"&&f(S,x),{_theme:S,_colorMap:x}}function h(m){const S=o.getGrammar(m);if(!S)throw Error(`No language registration for ${m}`);return{_grammar:S}}function p(m,S="text",x,w={includeExplanation:!0}){if(fk(S))return[...m.split(/\r\n|\r|\n/).map(P=>[{content:P}])];const{_grammar:k}=h(S),{_theme:$,_colorMap:A}=u(x);return ZS($,A,m,k,w)}function v(m,S="text",x){let w;typeof S=="object"?w=S:w={lang:S,theme:x};const k=p(m,w.lang,w.theme,{includeExplanation:!1}),{_theme:$}=u(w.theme);return sk(k,{fg:$.fg,bg:$.bg,lineOptions:w?.lineOptions,themeName:$.name})}async function E(m){await o.loadTheme(m)}async function _(m){const S=tm(m);s.addLanguage(S),await o.loadLanguage(S)}function g(){return o.getLoadedThemes()}function b(){return o.getLoadedLanguages()}function y(m){const{_theme:S}=u(m);return S.bg}function T(m){const{_theme:S}=u(m);return S.fg}return{codeToThemedTokens:p,codeToHtml:v,getTheme:m=>u(m)._theme,loadTheme:E,loadLanguage:_,getBackgroundColor:y,getForegroundColor:T,getLoadedThemes:g,getLoadedLanguages:b,setColorReplacements:d}}function fk(e){return!e||["plaintext","txt","text"].includes(e)}const dk="0.2.0";GS(`https://cdn.jsdelivr.net/npm/shiki-es@${dk}/dist/assets/`);const Eo=ne();let Cf=null;function hk(e,t){const n=Ri();!Cf&&!Eo.value&&(Cf=uk({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(s=>{Eo.value=s}));const r=Eo.value?.getLoadedLanguages().includes(t);return r?{code:Eo.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}),supported:!0}:{code:e,supported:r}}function lt(){return Ir("devtools-client")}function N2(){const e=lt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function nm(){const e=lt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function L2(){const e=lt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function pk(){return Ir("devtools-component-inspector-data")}const rm=ne(!1);setTimeout(()=>{rm.value=!0},2e3);const mk=pe(()=>rm.value&&!lt().value);function gk(){const e=lt(),t=Ri();return pe(()=>({host:e.value,devtools:{rpc:Fe,colorMode:t.value,renderCodeHighlight(n,r){return hk(n,r)},renderMarkdown(n){return IS(n)},extendClientRpc(n,r){return jp.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return Fe[`${n}:${o}`]}})}}}))}const ns={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=lt();return()=>!!e.value}},rs={icon:"carbon-information",title:"Overview",order:-100},ss={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=lt();return()=>!!e.value},order:1},os={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=lt();return()=>!!e.value},order:7},is={icon:"carbon-plug",title:"Plugins",category:"analyze"},as={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=lt();return()=>!!e.value},order:6},vk="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function _k(e=16,t=vk){let n="",r=e;const s=t.length;for(;r--;)n+=t[Math.random()*s|0];return n}function sm(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}function om(){return pt("getServerPages",()=>Fe.getServerPages())}function yk(){return pt("getServerRoutes",()=>Fe.getServerRoutes())}function O2(){return pt("getServerHooks",()=>Fe.getServerHooks())}function C2(){return pt("getServerLayouts",()=>Fe.getServerLayouts())}function I2(){return pt("getAutoImports",()=>Fe.getAutoImports())}function j2(){return pt("getStaticAssets",()=>Fe.getStaticAssets())}function M2(){return pt("getServerConfig",()=>Fe.getServerConfig())}function D2(){return pt("getServerApp",()=>Fe.getServerApp())}function bk(){return pt("getCustomTabs",()=>Fe.getCustomTabs())}function If(){return pt("getTerminals",()=>Fe.getTerminals())}function F2(){return pt("getAnalyzeBuildInfo",()=>Fe.getAnalyzeBuildInfo())}function B2(){const{data:e}=k1("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function H2(){const e=om(),t=nm();return pe(()=>(t.value?.getRoutes()||[]).map(n=>sm(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const ls={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=yk();return()=>e.value?.length}},cs={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},us={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=If();return()=>!!e.value?.length},badge(){const e=If();return()=>e.value?.filter(t=>!t.isTerminated).length}},fs={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},ds={layout:"full"},jf=[{name:Wr?.name??"__blank",path:Wr?.path??"/__blank",meta:Wr||{},alias:Wr?.alias||[],redirect:Wr?.redirect||void 0,component:()=>Re(()=>import("./__blank.8e143dfc.js"),["./__blank.8e143dfc.js","./NPanelGrids.fc7166ff.js"],import.meta.url).then(e=>e.default||e)},{name:Vr?.name??"index",path:Vr?.path??"/",meta:Vr||{},alias:Vr?.alias||[],redirect:Vr?.redirect||void 0,component:()=>Re(()=>import("./index.686c37b5.js"),["./index.686c37b5.js","./Badge.2cc4687e.js"],import.meta.url).then(e=>e.default||e)},{name:qr?.name??"modules-analyze-build",path:qr?.path??"/modules/analyze-build",meta:qr||{},alias:qr?.alias||[],redirect:qr?.redirect||void 0,component:()=>Re(()=>import("./analyze-build.d94a4835.js"),["./analyze-build.d94a4835.js","./FilepathItem.vue.df9b46ef.js","./editor.24e006dd.js","./NPanelGrids.fc7166ff.js","./PanelLeftRight.vue.1e85c7f2.js","./NTip.vue.c99855ad.js","./NCodeBlock.vue.de2cd5a6.js","./client.aa60153e.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.df53e265.js","./HelpFab.vue.49173e4b.js","./NIconButton.vue.e211c1b6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Kr?.name??"modules-assets",path:Kr?.path??"/modules/assets",meta:Kr||{},alias:Kr?.alias||[],redirect:Kr?.redirect||void 0,component:()=>Re(()=>import("./assets.cea82447.js"),["./assets.cea82447.js","./NIconButton.vue.e211c1b6.js","./Navbar.vue.a50c38bf.js","./NSectionBlock.0eaaa956.js","./NIconTitle.vue.4e3340eb.js","./NSectionBlock.012f83f1.css","./FilepathItem.vue.df9b46ef.js","./editor.24e006dd.js","./CodeSnippets.vue.1e158b8f.js","./NCodeBlock.vue.de2cd5a6.js","./client.aa60153e.js","./NCodeBlock.cf3ce05b.css","./DrawerRight.vue.d80827fd.js","./constants.d7bcda3c.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:Xr?.name??"modules-components",path:Xr?.path??"/modules/components",meta:Xr||{},alias:Xr?.alias||[],redirect:Xr?.redirect||void 0,component:()=>Re(()=>import("./components.67be79c1.js"),["./components.67be79c1.js","./NIconButton.vue.e211c1b6.js","./HelpFab.vue.49173e4b.js","./HelpFab.f179afc3.css","./state-components.7a725a3e.js","./NCheckbox.vue.df53e265.js","./Navbar.vue.a50c38bf.js","./Badge.2cc4687e.js","./FilepathItem.vue.df9b46ef.js","./editor.24e006dd.js","./DrawerRight.vue.d80827fd.js","./NSectionBlock.0eaaa956.js","./NIconTitle.vue.4e3340eb.js","./NSectionBlock.012f83f1.css","./constants.d7bcda3c.js"],import.meta.url).then(e=>e.default||e)},{name:Yr?.name??"modules-custom-name",path:Yr?.path??"/modules/custom-:name()",meta:Yr||{},alias:Yr?.alias||[],redirect:Yr?.redirect||void 0,component:()=>Re(()=>import("./custom-_name_.ed0df2f5.js"),["./custom-_name_.ed0df2f5.js","./NPanelGrids.fc7166ff.js","./AuthRequiredPanel.vue.4f66b5dd.js","./NIconButton.vue.e211c1b6.js","./LaunchPage.vue.b85270dd.js","./NMarkdown.vue.26c114a8.js","./client.aa60153e.js"],import.meta.url).then(e=>e.default||e)},{name:Jr?.name??"modules-hooks",path:Jr?.path??"/modules/hooks",meta:Jr||{},alias:Jr?.alias||[],redirect:Jr?.redirect||void 0,component:()=>Re(()=>import("./hooks.c5f385b4.js"),["./hooks.c5f385b4.js","./DurationDisplay.vue.a48b74dd.js","./NSectionBlock.0eaaa956.js","./NIconTitle.vue.4e3340eb.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.49173e4b.js","./NIconButton.vue.e211c1b6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Qr?.name??"modules-imports",path:Qr?.path??"/modules/imports",meta:Qr||{},alias:Qr?.alias||[],redirect:Qr?.redirect||void 0,component:()=>Re(()=>import("./imports.ab8bf33a.js"),["./imports.ab8bf33a.js","./NSwitch.vue.7f4e43b3.js","./Navbar.vue.a50c38bf.js","./FilepathItem.vue.df9b46ef.js","./editor.24e006dd.js","./NMarkdown.vue.26c114a8.js","./client.aa60153e.js","./constants.d7bcda3c.js","./NSectionBlock.0eaaa956.js","./NIconTitle.vue.4e3340eb.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.49173e4b.js","./NIconButton.vue.e211c1b6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Zr?.name??"modules-middleware",path:Zr?.path??"/modules/middleware",meta:Zr||{},alias:Zr?.alias||[],redirect:Zr?.redirect||void 0,component:()=>Re(()=>import("./middleware.08e999fd.js"),[],import.meta.url).then(e=>e.default||e)},{name:es?.name??"modules-modules",path:es?.path??"/modules/modules",meta:es||{},alias:es?.alias||[],redirect:es?.redirect||void 0,component:()=>Re(()=>import("./modules.b435656d.js"),["./modules.b435656d.js","./FilepathItem.vue.df9b46ef.js","./editor.24e006dd.js","./NpmVersionCheck.vue.029b0cde.js","./Badge.2cc4687e.js","./NCodeBlock.vue.de2cd5a6.js","./client.aa60153e.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.df53e265.js","./NTip.vue.c99855ad.js","./NSectionBlock.0eaaa956.js","./NIconTitle.vue.4e3340eb.js","./NSectionBlock.012f83f1.css","./NIconButton.vue.e211c1b6.js","./NLink.vue.53529111.js","./HelpFab.vue.49173e4b.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ns?.name??"modules-open-graph",path:ns?.path??"/modules/open-graph",meta:ns||{},alias:ns?.alias||[],redirect:ns?.redirect||void 0,component:()=>Re(()=>import("./open-graph.a806949f.js"),["./open-graph.a806949f.js","./NIconButton.vue.e211c1b6.js","./Navbar.vue.a50c38bf.js","./NLink.vue.53529111.js","./NSectionBlock.0eaaa956.js","./NIconTitle.vue.4e3340eb.js","./NSectionBlock.012f83f1.css","./NCodeBlock.vue.de2cd5a6.js","./client.aa60153e.js","./NCodeBlock.cf3ce05b.css","./editor.24e006dd.js","./HelpFab.vue.49173e4b.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:rs?.name??"modules-overview",path:rs?.path??"/modules/overview",meta:rs||{},alias:rs?.alias||[],redirect:rs?.redirect||void 0,component:()=>Re(()=>import("./overview.08fa2255.js"),["./overview.08fa2255.js","./Badge.2cc4687e.js","./NpmVersionCheck.vue.029b0cde.js","./NCodeBlock.vue.de2cd5a6.js","./client.aa60153e.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.df53e265.js","./NTip.vue.c99855ad.js","./NPanelGrids.fc7166ff.js","./state-components.7a725a3e.js"],import.meta.url).then(e=>e.default||e)},{name:ss?.name??"modules-pages",path:ss?.path??"/modules/pages",meta:ss||{},alias:ss?.alias||[],redirect:ss?.redirect||void 0,component:()=>Re(()=>import("./pages.9797a06b.js"),["./pages.9797a06b.js","./Badge.2cc4687e.js","./FilepathItem.vue.df9b46ef.js","./editor.24e006dd.js","./NSectionBlock.0eaaa956.js","./NIconTitle.vue.4e3340eb.js","./NSectionBlock.012f83f1.css","./LaunchPage.vue.b85270dd.js","./NMarkdown.vue.26c114a8.js","./client.aa60153e.js","./NPanelGrids.fc7166ff.js","./HelpFab.vue.49173e4b.js","./NIconButton.vue.e211c1b6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:os?.name??"modules-payload",path:os?.path??"/modules/payload",meta:os||{},alias:os?.alias||[],redirect:os?.redirect||void 0,component:()=>Re(()=>import("./payload.f6049d4c.js"),["./payload.f6049d4c.js","./StateEditor.vue.4e5aa888.js","./NIconButton.vue.e211c1b6.js","./json-editor-vue.0e484aeb.js","./NSectionBlock.0eaaa956.js","./NIconTitle.vue.4e3340eb.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.49173e4b.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:is?.name??"modules-plugins",path:is?.path??"/modules/plugins",meta:is||{},alias:is?.alias||[],redirect:is?.redirect||void 0,component:()=>Re(()=>import("./plugins.7ff70558.js"),["./plugins.7ff70558.js","./FilepathItem.vue.df9b46ef.js","./editor.24e006dd.js","./Badge.2cc4687e.js","./DurationDisplay.vue.a48b74dd.js","./NSectionBlock.0eaaa956.js","./NIconTitle.vue.4e3340eb.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.49173e4b.js","./NIconButton.vue.e211c1b6.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:as?.name??"modules-runtime-configs",path:as?.path??"/modules/runtime-configs",meta:as||{},alias:as?.alias||[],redirect:as?.redirect||void 0,component:()=>Re(()=>import("./runtime-configs.c19cf62e.js"),["./runtime-configs.c19cf62e.js","./StateEditor.vue.4e5aa888.js","./NIconButton.vue.e211c1b6.js","./json-editor-vue.0e484aeb.js","./NSectionBlock.0eaaa956.js","./NIconTitle.vue.4e3340eb.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.49173e4b.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ls?.name??"modules-server-routes",path:ls?.path??"/modules/server-routes",meta:ls||{},alias:ls?.alias||[],redirect:ls?.redirect||void 0,component:()=>Re(()=>import("./server-routes.34b80486.js"),["./server-routes.34b80486.js","./Navbar.vue.a50c38bf.js","./Badge.2cc4687e.js","./NSelect.vue.94ec8f3c.js","./CodeSnippets.vue.1e158b8f.js","./NCodeBlock.vue.de2cd5a6.js","./client.aa60153e.js","./NCodeBlock.cf3ce05b.css","./editor.24e006dd.js","./NPanelGrids.fc7166ff.js","./constants.d7bcda3c.js","./PanelLeftRight.vue.1e85c7f2.js"],import.meta.url).then(e=>e.default||e)},{name:cs?.name??"modules-storage",path:cs?.path??"/modules/storage",meta:cs||{},alias:cs?.alias||[],redirect:cs?.redirect||void 0,component:()=>Re(()=>import("./storage.446005cc.js"),["./storage.446005cc.js","./NIconButton.vue.e211c1b6.js","./NSelect.vue.94ec8f3c.js","./NLink.vue.53529111.js","./NPanelGrids.fc7166ff.js","./PanelLeftRight.vue.1e85c7f2.js","./FilepathItem.vue.df9b46ef.js","./editor.24e006dd.js","./json-editor-vue.0e484aeb.js","./AuthRequiredPanel.vue.4f66b5dd.js"],import.meta.url).then(e=>e.default||e)},{name:us?.name??"modules-terminals",path:us?.path??"/modules/terminals",meta:us||{},alias:us?.alias||[],redirect:us?.redirect||void 0,component:()=>Re(()=>import("./terminals.838c617b.js"),["./terminals.838c617b.js","./NIconButton.vue.e211c1b6.js","./AuthRequiredPanel.vue.4f66b5dd.js","./NPanelGrids.fc7166ff.js","./terminals.ae8c3544.css"],import.meta.url).then(e=>e.default||e)},{name:fs?.name??"modules-virtual-files",path:fs?.path??"/modules/virtual-files",meta:fs||{},alias:fs?.alias||[],redirect:fs?.redirect||void 0,component:()=>Re(()=>import("./virtual-files.0f8a6122.js"),["./virtual-files.0f8a6122.js","./Navbar.vue.a50c38bf.js","./NCodeBlock.vue.de2cd5a6.js","./client.aa60153e.js","./NCodeBlock.cf3ce05b.css","./NPanelGrids.fc7166ff.js","./PanelLeftRight.vue.1e85c7f2.js","./HelpFab.vue.49173e4b.js","./NIconButton.vue.e211c1b6.js","./HelpFab.f179afc3.css","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:ds?.name??"settings",path:ds?.path??"/settings",meta:ds||{},alias:ds?.alias||[],redirect:ds?.redirect||void 0,component:()=>Re(()=>import("./settings.223347c0.js"),["./settings.223347c0.js","./NIconTitle.vue.4e3340eb.js","./NSwitch.vue.7f4e43b3.js","./NSelect.vue.94ec8f3c.js","./NCheckbox.vue.df53e265.js"],import.meta.url).then(e=>e.default||e)}],wk={scrollBehavior(e,t,n){const r=Ie();let s=n||void 0;if(!s&&t&&e&&e.meta.scrollToTop!==!1&&Ek(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:Mf(e.hash)}}const o=a=>!!(a.meta.pageTransition??ja),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(a=>{r.hooks.hookOnce(i,async()=>{await Lt(),e.hash&&(s={el:e.hash,top:Mf(e.hash)}),a(s)})})}};function Mf(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Ek(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const xk={},un={...xk,...wk},Tk=sp(async e=>{let t,n;if(!e.meta?.validate)return;const r=Ie(),s=ht();if(([t,n]=Wo(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Ei({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=s.beforeResolve(c=>{if(a(),c===e){const l=s.afterEach(async()=>{l(),await r.runWithContext(()=>or(i)),window.history.pushState({},"",e.fullPath)});return!1}})}),Sk=Ql("nuxt-devtools-first-visit",!0),Df=Ql("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0}),kk=Ql("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1}),Ni=ne(await Fe.getUIOptions()),$k=tw(Ni);je(Ni,async e=>{Fe.updateUIOptions(e)},{deep:!0,flush:"post"});je(()=>Ni.value.interactionCloseOnOutsideClick,e=>{e!==Df.value.closeOnOutsideClick&&(Df.value.closeOnOutsideClick=e)});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(Ni.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function ac(){return $k}function U2(){return kk}const Ak=sp(e=>{if(e.path==="/"&&!Sk.value)return op("/modules/overview")}),Rk=[Tk,Ak],Xa={};function Pk(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),ru(c,"")}return ru(n,e)+r+s}const Nk=wt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Ul().app.baseURL;un.hashMode&&!r.includes("#")&&(r+="#");const s=un.history?.(r)??(un.hashMode?xb(r):lp(r)),o=un.routes?.(jf)??jf;let i;const a=Pk(r,window.location),c=i1({...un,scrollBehavior:(v,E,_)=>{if(E===Dt){i=_;return}return c.options.scrollBehavior=un.scrollBehavior,un.scrollBehavior?.(v,Dt,i||_)},history:s,routes:o});e.vueApp.use(c);const l=Vn(c.currentRoute.value);c.afterEach((v,E)=>{l.value=E}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const d=Vn(c.resolve(a)),f=()=>{d.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((v,E)=>{v.matched[0]?.components?.default===E.matched[0]?.components?.default&&f()});const u={};for(const v in d.value)u[v]=pe(()=>d.value[v]);e._route=at(u),e._middleware=e._middleware||{global:[],named:{}};const h=wi();try{[t,n]=Wo(()=>c.isReady()),await t,n()}catch(v){[t,n]=Wo(()=>e.runWithContext(()=>or(v))),await t,n()}const p=Ir("_layout");return c.beforeEach(async(v,E)=>{v.meta=at(v.meta),e.isHydrating&&p.value&&!Wn(v.meta.layout)&&(v.meta.layout=p.value),e._processingMiddleware=!0;{const _=new Set([...Rk,...e._middleware.global]);for(const g of v.matched){const b=g.meta.middleware;if(b)if(Array.isArray(b))for(const y of b)_.add(y);else _.add(b)}for(const g of _){const b=typeof g=="string"?e._middleware.named[g]||await Xa[g]?.().then(T=>T.default||T):g;if(!b)throw new Error(`Unknown route middleware: '${g}'.`);const y=await e.runWithContext(()=>b(v,E));if(!e.payload.serverRendered&&e.isHydrating&&(y===!1||y instanceof Error)){const T=y||Fa({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>or(T)),!1}if(y||y===!1)return y}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(v,E,_)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(tb),v.matched.length===0&&await e.runWithContext(()=>or(Fa({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(a),name:void 0,force:!0}),c.options.scrollBehavior=un.scrollBehavior}catch(v){await e.runWithContext(()=>or(v))}}),{provide:{router:c}}}},1),ir={default:()=>Re(()=>import("./default.29185309.js"),[],import.meta.url).then(e=>e.default||e),full:()=>Re(()=>import("./full.e7e50a56.js"),[],import.meta.url).then(e=>e.default||e),none:()=>Re(()=>import("./none.548277ee.js"),[],import.meta.url).then(e=>e.default||e)},Lk=wt({name:"nuxt:prefetch",setup(e){const t=ht();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof ir[r]=="function"&&await ir[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Cr(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 Xa[i]=="function"&&Xa[i]();s&&typeof ir[s]=="function"&&ir[s]()})}}),Ok="__NUXT_COLOR_MODE__",Ck="ColorScheme",Ik="nuxt-color-mode",Kt=window[Ok],jk=wt(e=>{const t=Ir("color-mode",()=>at({preference:Kt.preference,value:Kt.value,unknown:!1,forced:!1})).value;ht().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?Kt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Kt.getColorScheme())}))}je(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=Kt.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(Ik,s))},{immediate:!0}),je(()=>t.value,(s,o)=>{Kt.removeColorScheme(o),Kt.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Kt.preference,t.value=Kt.value,t.unknown=!1)}),e.provide("colorMode",t)});const Mk=wt(()=>{}),Dk=wt({name:"nuxt:chunk-reload",setup(e){const t=ht(),n=Ul(),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:Js(n.app.baseURL,o.fullPath);$1({path:a,persistState:!0})}})}}),Fk=wt({name:"nuxt:payload",setup(e){q0()&&(e.hooks.hook("link:prefetch",async t=>{Qs(t).protocol||await hu(t)}),ht().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await hu(t.path);r&&Object.assign(e.static.data,r.data)}))}});function St(e){return e.split("-")[1]}function lc(e){return e==="y"?"height":"width"}function Wt(e){return e.split("-")[0]}function Mr(e){return["top","bottom"].includes(Wt(e))?"x":"y"}function Ff(e,t,n){let{reference:r,floating:s}=e;const o=r.x+r.width/2-s.width/2,i=r.y+r.height/2-s.height/2,a=Mr(t),c=lc(a),l=r[c]/2-s[c]/2,d=a==="x";let f;switch(Wt(t)){case"top":f={x:o,y:r.y-s.height};break;case"bottom":f={x:o,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:i};break;case"left":f={x:r.x-s.width,y:i};break;default:f={x:r.x,y:r.y}}switch(St(t)){case"start":f[a]-=l*(n&&d?-1:1);break;case"end":f[a]+=l*(n&&d?-1:1)}return f}const Bk=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let l=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:f}=Ff(l,r,c),u=r,h={},p=0;for(let v=0;v<a.length;v++){const{name:E,fn:_}=a[v],{x:g,y:b,data:y,reset:T}=await _({x:d,y:f,initialPlacement:r,placement:u,strategy:s,middlewareData:h,rects:l,platform:i,elements:{reference:e,floating:t}});d=g??d,f=b??f,h={...h,[E]:{...h[E],...y}},T&&p<=50&&(p++,typeof T=="object"&&(T.placement&&(u=T.placement),T.rects&&(l=T.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):T.rects),{x:d,y:f}=Ff(l,u,c)),v=-1)}return{x:d,y:f,placement:u,strategy:s,middlewareData:h}};function Qn(e,t){return typeof e=="function"?e(t):e}function im(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function As(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Li(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:u=!1,padding:h=0}=Qn(t,e),p=im(h),v=a[u?f==="floating"?"reference":"floating":f],E=As(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:d,strategy:c})),_=f==="floating"?{...i.floating,x:r,y:s}:i.reference,g=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),b=await(o.isElement==null?void 0:o.isElement(g))&&await(o.getScale==null?void 0:o.getScale(g))||{x:1,y:1},y=As(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:g,strategy:c}):_);return{top:(E.top-y.top+p.top)/b.y,bottom:(y.bottom-E.bottom+p.bottom)/b.y,left:(E.left-y.left+p.left)/b.x,right:(y.right-E.right+p.right)/b.x}}const Vs=Math.min,On=Math.max;function Ya(e,t,n){return On(e,Vs(t,n))}const Hk=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a}=t,{element:c,padding:l=0}=Qn(e,t)||{};if(c==null)return{};const d=im(l),f={x:n,y:r},u=Mr(s),h=lc(u),p=await i.getDimensions(c),v=u==="y",E=v?"top":"left",_=v?"bottom":"right",g=v?"clientHeight":"clientWidth",b=o.reference[h]+o.reference[u]-f[u]-o.floating[h],y=f[u]-o.reference[u],T=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let m=T?T[g]:0;m&&await(i.isElement==null?void 0:i.isElement(T))||(m=a.floating[g]||o.floating[h]);const S=b/2-y/2,x=m/2-p[h]/2-1,w=Vs(d[E],x),k=Vs(d[_],x),$=w,A=m-p[h]-k,R=m/2-p[h]/2+S,P=Ya($,R,A),I=St(s)!=null&&R!=P&&o.reference[h]/2-(R<$?w:k)-p[h]/2<0?R<$?$-R:A-R:0;return{[u]:f[u]-I,data:{[u]:P,centerOffset:R-P+I}}}}),Uk=["top","right","bottom","left"],Bf=Uk.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),Wk={left:"right",right:"left",bottom:"top",top:"bottom"};function Zo(e){return e.replace(/left|right|bottom|top/g,t=>Wk[t])}function am(e,t,n){n===void 0&&(n=!1);const r=St(e),s=Mr(e),o=lc(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=Zo(i)),{main:i,cross:Zo(i)}}const Vk={start:"end",end:"start"};function No(e){return e.replace(/start|end/g,t=>Vk[t])}const zk=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,s;const{rects:o,middlewareData:i,placement:a,platform:c,elements:l}=t,{crossAxis:d=!1,alignment:f,allowedPlacements:u=Bf,autoAlignment:h=!0,...p}=Qn(e,t),v=f!==void 0||u===Bf?function(k,$,A){return(k?[...A.filter(R=>St(R)===k),...A.filter(R=>St(R)!==k)]:A.filter(R=>Wt(R)===R)).filter(R=>!k||St(R)===k||!!$&&No(R)!==R)}(f||null,h,u):u,E=await Li(t,p),_=((n=i.autoPlacement)==null?void 0:n.index)||0,g=v[_];if(g==null)return{};const{main:b,cross:y}=am(g,o,await(c.isRTL==null?void 0:c.isRTL(l.floating)));if(a!==g)return{reset:{placement:v[0]}};const T=[E[Wt(g)],E[b],E[y]],m=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:g,overflows:T}],S=v[_+1];if(S)return{data:{index:_+1,overflows:m},reset:{placement:S}};const x=m.map(k=>{const $=St(k.placement);return[k.placement,$&&d?k.overflows.slice(0,2).reduce((A,R)=>A+R,0):k.overflows[0],k.overflows]}).sort((k,$)=>k[1]-$[1]),w=((s=x.filter(k=>k[2].slice(0,St(k[0])?2:3).every($=>$<=0))[0])==null?void 0:s[0])||x[0][0];return w!==a?{data:{index:_+1,overflows:m},reset:{placement:w}}:{}}}},Gk=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:s,rects:o,initialPlacement:i,platform:a,elements:c}=t,{mainAxis:l=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...v}=Qn(e,t),E=Wt(r),_=Wt(i)===i,g=await(a.isRTL==null?void 0:a.isRTL(c.floating)),b=f||(_||!p?[Zo(i)]:function($){const A=Zo($);return[No($),A,No(A)]}(i));f||h==="none"||b.push(...function($,A,R,P){const I=St($);let j=function(F,B,G){const oe=["left","right"],ee=["right","left"],re=["top","bottom"],de=["bottom","top"];switch(F){case"top":case"bottom":return G?B?ee:oe:B?oe:ee;case"left":case"right":return B?re:de;default:return[]}}(Wt($),R==="start",P);return I&&(j=j.map(F=>F+"-"+I),A&&(j=j.concat(j.map(No)))),j}(i,p,h,g));const y=[i,...b],T=await Li(t,v),m=[];let S=((n=s.flip)==null?void 0:n.overflows)||[];if(l&&m.push(T[E]),d){const{main:$,cross:A}=am(r,o,g);m.push(T[$],T[A])}if(S=[...S,{placement:r,overflows:m}],!m.every($=>$<=0)){var x,w;const $=(((x=s.flip)==null?void 0:x.index)||0)+1,A=y[$];if(A)return{data:{index:$,overflows:S},reset:{placement:A}};let R=(w=S.filter(P=>P.overflows[0]<=0).sort((P,I)=>P.overflows[1]-I.overflows[1])[0])==null?void 0:w.placement;if(!R)switch(u){case"bestFit":{var k;const P=(k=S.map(I=>[I.placement,I.overflows.filter(j=>j>0).reduce((j,F)=>j+F,0)]).sort((I,j)=>I[1]-j[1])[0])==null?void 0:k[0];P&&(R=P);break}case"initialPlacement":R=i}if(r!==R)return{reset:{placement:R}}}return{}}}},qk=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,s=await async function(o,i){const{placement:a,platform:c,elements:l}=o,d=await(c.isRTL==null?void 0:c.isRTL(l.floating)),f=Wt(a),u=St(a),h=Mr(a)==="x",p=["left","top"].includes(f)?-1:1,v=d&&h?-1:1,E=Qn(i,o);let{mainAxis:_,crossAxis:g,alignmentAxis:b}=typeof E=="number"?{mainAxis:E,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...E};return u&&typeof b=="number"&&(g=u==="end"?-1*b:b),h?{x:g*v,y:_*p}:{x:_*p,y:g*v}}(t,e);return{x:n+s.x,y:r+s.y,data:s}}}};function Kk(e){return e==="x"?"y":"x"}const Xk=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:E=>{let{x:_,y:g}=E;return{x:_,y:g}}},...c}=Qn(e,t),l={x:n,y:r},d=await Li(t,c),f=Mr(Wt(s)),u=Kk(f);let h=l[f],p=l[u];if(o){const E=f==="y"?"bottom":"right";h=Ya(h+d[f==="y"?"top":"left"],h,h-d[E])}if(i){const E=u==="y"?"bottom":"right";p=Ya(p+d[u==="y"?"top":"left"],p,p-d[E])}const v=a.fn({...t,[f]:h,[u]:p});return{...v,data:{x:v.x-n,y:v.y-r}}}}},Yk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:s,elements:o}=t,{apply:i=()=>{},...a}=Qn(e,t),c=await Li(t,a),l=Wt(n),d=St(n),f=Mr(n)==="x",{width:u,height:h}=r.floating;let p,v;l==="top"||l==="bottom"?(p=l,v=d===(await(s.isRTL==null?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(v=l,p=d==="end"?"top":"bottom");const E=h-c[p],_=u-c[v],g=!t.middlewareData.shift;let b=E,y=_;if(f){const m=u-c.left-c.right;y=d||g?Vs(_,m):m}else{const m=h-c.top-c.bottom;b=d||g?Vs(E,m):m}if(g&&!d){const m=On(c.left,0),S=On(c.right,0),x=On(c.top,0),w=On(c.bottom,0);f?y=u-2*(m!==0||S!==0?m+S:On(c.left,c.right)):b=h-2*(x!==0||w!==0?x+w:On(c.top,c.bottom))}await i({...t,availableWidth:y,availableHeight:b});const T=await s.getDimensions(o.floating);return u!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function _t(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Vt(e){return _t(e).getComputedStyle(e)}const Hf=Math.min,Rs=Math.max,ei=Math.round;function lm(e){const t=Vt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=ei(n)!==s||ei(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function kn(e){return um(e)?(e.nodeName||"").toLowerCase():""}let xo;function cm(){if(xo)return xo;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(xo=e.brands.map(t=>t.brand+"/"+t.version).join(" "),xo):navigator.userAgent}function zt(e){return e instanceof _t(e).HTMLElement}function bn(e){return e instanceof _t(e).Element}function um(e){return e instanceof _t(e).Node}function Uf(e){return typeof ShadowRoot>"u"?!1:e instanceof _t(e).ShadowRoot||e instanceof ShadowRoot}function Oi(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Vt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function Jk(e){return["table","td","th"].includes(kn(e))}function Ja(e){const t=/firefox/i.test(cm()),n=Vt(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(s=>n.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const o=n.contain;return o!=null&&o.includes(s)})}function fm(){return!/^((?!chrome|android).)*safari/i.test(cm())}function cc(e){return["html","body","#document"].includes(kn(e))}function dm(e){return bn(e)?e:e.contextElement}const hm={x:1,y:1};function gr(e){const t=dm(e);if(!zt(t))return hm;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=lm(t);let i=(o?ei(n.width):n.width)/r,a=(o?ei(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function zs(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=dm(e);let c=hm;t&&(r?bn(r)&&(c=gr(r)):c=gr(e));const l=a?_t(a):window,d=!fm()&&n;let f=(i.left+(d&&((s=l.visualViewport)==null?void 0:s.offsetLeft)||0))/c.x,u=(i.top+(d&&((o=l.visualViewport)==null?void 0:o.offsetTop)||0))/c.y,h=i.width/c.x,p=i.height/c.y;if(a){const v=_t(a),E=r&&bn(r)?_t(r):r;let _=v.frameElement;for(;_&&r&&E!==v;){const g=gr(_),b=_.getBoundingClientRect(),y=getComputedStyle(_);b.x+=(_.clientLeft+parseFloat(y.paddingLeft))*g.x,b.y+=(_.clientTop+parseFloat(y.paddingTop))*g.y,f*=g.x,u*=g.y,h*=g.x,p*=g.y,f+=b.x,u+=b.y,_=_t(_).frameElement}}return{width:h,height:p,top:u,right:f+h,bottom:u+p,left:f,x:f,y:u}}function wn(e){return((um(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ci(e){return bn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function pm(e){return zs(wn(e)).left+Ci(e).scrollLeft}function Gs(e){if(kn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Uf(e)&&e.host||wn(e);return Uf(t)?t.host:t}function mm(e){const t=Gs(e);return cc(t)?t.ownerDocument.body:zt(t)&&Oi(t)?t:mm(t)}function ti(e,t){var n;t===void 0&&(t=[]);const r=mm(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=_t(r);return s?t.concat(o,o.visualViewport||[],Oi(r)?r:[]):t.concat(r,ti(r))}function Wf(e,t,n){return t==="viewport"?As(function(r,s){const o=_t(r),i=wn(r),a=o.visualViewport;let c=i.clientWidth,l=i.clientHeight,d=0,f=0;if(a){c=a.width,l=a.height;const u=fm();(u||!u&&s==="fixed")&&(d=a.offsetLeft,f=a.offsetTop)}return{width:c,height:l,x:d,y:f}}(e,n)):bn(t)?As(function(r,s){const o=zs(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,c=zt(r)?gr(r):{x:1,y:1};return{width:r.clientWidth*c.x,height:r.clientHeight*c.y,x:a*c.x,y:i*c.y}}(t,n)):As(function(r){const s=wn(r),o=Ci(r),i=r.ownerDocument.body,a=Rs(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),c=Rs(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let l=-o.scrollLeft+pm(r);const d=-o.scrollTop;return Vt(i).direction==="rtl"&&(l+=Rs(s.clientWidth,i.clientWidth)-a),{width:a,height:c,x:l,y:d}}(wn(e)))}function Vf(e){return zt(e)&&Vt(e).position!=="fixed"?e.offsetParent:null}function zf(e){const t=_t(e);let n=Vf(e);for(;n&&Jk(n)&&Vt(n).position==="static";)n=Vf(n);return n&&(kn(n)==="html"||kn(n)==="body"&&Vt(n).position==="static"&&!Ja(n))?t:n||function(r){let s=Gs(r);for(;zt(s)&&!cc(s);){if(Ja(s))return s;s=Gs(s)}return null}(e)||t}function Qk(e,t,n){const r=zt(t),s=wn(t),o=zs(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((kn(t)!=="body"||Oi(s))&&(i=Ci(t)),zt(t)){const c=zs(t,!0);a.x=c.x+t.clientLeft,a.y=c.y+t.clientTop}else s&&(a.x=pm(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const Zk={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=n==="clippingAncestors"?function(l,d){const f=d.get(l);if(f)return f;let u=ti(l).filter(E=>bn(E)&&kn(E)!=="body"),h=null;const p=Vt(l).position==="fixed";let v=p?Gs(l):l;for(;bn(v)&&!cc(v);){const E=Vt(v),_=Ja(v);(p?_||h:_||E.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=E:u=u.filter(g=>g!==v),v=Gs(v)}return d.set(l,u),u}(t,this._c):[].concat(n),i=[...o,r],a=i[0],c=i.reduce((l,d)=>{const f=Wf(t,d,s);return l.top=Rs(f.top,l.top),l.right=Hf(f.right,l.right),l.bottom=Hf(f.bottom,l.bottom),l.left=Rs(f.left,l.left),l},Wf(t,a,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=zt(n),o=wn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const c={x:0,y:0};if((s||!s&&r!=="fixed")&&((kn(n)!=="body"||Oi(o))&&(i=Ci(n)),zt(n))){const l=zs(n);a=gr(n),c.x=l.x+n.clientLeft,c.y=l.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+c.x,y:t.y*a.y-i.scrollTop*a.y+c.y}},isElement:bn,getDimensions:function(e){return zt(e)?lm(e):e.getBoundingClientRect()},getOffsetParent:zf,getDocumentElement:wn,getScale:gr,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||zf,o=this.getDimensions;return{reference:Qk(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Vt(e).direction==="rtl"},e$=(e,t,n)=>{const r=new Map,s={platform:Zk,...n},o={...s.platform,_c:r};return Bk(e,t,{...s,platform:o})};function gm(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?gm(e[n],t[n]):e[n]=t[n])}const en={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function qs(e,t){let n=en.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=en.themes[n.$extend]||{}:(n=null,r=en[t]):n=null;while(n);return r}function t$(e){const t=[e];let n=en.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=en.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Gf(e){const t=[e];let n=en.themes[e]||{};do n.$extend?(t.push(n.$extend),n=en.themes[n.$extend]||{}):n=null;while(n);return t}let Kn=!1;if(typeof window<"u"){Kn=!1;try{const e=Object.defineProperty({},"passive",{get(){Kn=!0}});window.addEventListener("test",null,e)}catch{}}let vm=!1;typeof window<"u"&&typeof navigator<"u"&&(vm=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const _m=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),qf={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Kf={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Xf(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function da(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const kt=[];let Ln=null;const Yf={};function Jf(e){let t=Yf[e];return t||(t=Yf[e]=[]),t}let Qa=function(){};typeof window<"u"&&(Qa=window.Element);function Se(e){return function(t){return qs(t.theme,e)}}const ha="__floating-vue__popper",ym=()=>Le({name:"VPopper",provide(){return{[ha]:{parentPopper:this}}},inject:{[ha]:{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:Se("disabled")},positioningDisabled:{type:Boolean,default:Se("positioningDisabled")},placement:{type:String,default:Se("placement"),validator:e=>_m.includes(e)},delay:{type:[String,Number,Object],default:Se("delay")},distance:{type:[Number,String],default:Se("distance")},skidding:{type:[Number,String],default:Se("skidding")},triggers:{type:Array,default:Se("triggers")},showTriggers:{type:[Array,Function],default:Se("showTriggers")},hideTriggers:{type:[Array,Function],default:Se("hideTriggers")},popperTriggers:{type:Array,default:Se("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Se("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Se("popperHideTriggers")},container:{type:[String,Object,Qa,Boolean],default:Se("container")},boundary:{type:[String,Qa],default:Se("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Se("strategy")},autoHide:{type:[Boolean,Function],default:Se("autoHide")},handleResize:{type:Boolean,default:Se("handleResize")},instantMove:{type:Boolean,default:Se("instantMove")},eagerMount:{type:Boolean,default:Se("eagerMount")},popperClass:{type:[String,Array,Object],default:Se("popperClass")},computeTransformOrigin:{type:Boolean,default:Se("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Se("autoMinSize")},autoSize:{type:[Boolean,String],default:Se("autoSize")},autoMaxSize:{type:Boolean,default:Se("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Se("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Se("preventOverflow")},overflowPadding:{type:[Number,String],default:Se("overflowPadding")},arrowPadding:{type:[Number,String],default:Se("arrowPadding")},arrowOverflow:{type:Boolean,default:Se("arrowOverflow")},flip:{type:Boolean,default:Se("flip")},shift:{type:Boolean,default:Se("shift")},shiftCrossAxis:{type:Boolean,default:Se("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Se("noAutoFocus")},disposeTimeout:{type:Number,default:Se("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ha])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,s;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(qk({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(zk({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Xk({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Gk({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Hk({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:s,middlewareData:o})=>{let i;const{centerOffset:a}=o.arrow;return r.startsWith("top")||r.startsWith("bottom")?i=Math.abs(a)>s.reference.width/2:i=Math.abs(a)>s.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:o,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let c,l;return o.startsWith("top")||o.startsWith("bottom")?c=s.reference.width:l=s.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=l!=null?`${l}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Yk({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:s})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await e$(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ln&&this.instantMove&&Ln.instantMove&&Ln!==this.parentPopper){Ln.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ln=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await da(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ti(this.$_referenceNode),...ti(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<kt.length;n++)t=kt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}kt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Gf(this.theme))Jf(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 da(),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,Xf(kt,this),kt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Gf(this.theme)){const r=Jf(n);Xf(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ln===this&&(Ln=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await da(),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,qf,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],qf,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Kf,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Kf,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,Kn?{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(Ps>=e.left&&Ps<=e.right&&Ns>=e.top&&Ns<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Ps-dn,r=Ns-hn,s=t.left+t.width/2-dn+(t.top+t.height/2)-hn+t.width+t.height,o=dn+n*s,i=hn+r*s;return To(dn,hn,o,i,t.left,t.top,t.left,t.bottom)||To(dn,hn,o,i,t.left,t.top,t.right,t.top)||To(dn,hn,o,i,t.right,t.top,t.right,t.bottom)||To(dn,hn,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(vm?(document.addEventListener("touchstart",Qf,Kn?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",r$,Kn?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Qf,!0),window.addEventListener("click",n$,!0)),window.addEventListener("resize",i$));function Qf(e){for(let t=0;t<kt.length;t++){const n=kt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function n$(e){bm(e)}function r$(e){bm(e,!0)}function bm(e,t=!1){const n={};for(let r=kt.length-1;r>=0;r--){const s=kt[r];try{const o=s.$_containsGlobalTarget=s$(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&Zf(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&&Zf(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function s$(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Zf(e,t,n){return n.closeAllPopover||n.closePopover&&t||o$(e,n)&&!t}function o$(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function i$(e){for(let t=0;t<kt.length;t++)kt[t].$_computePosition(e)}let dn=0,hn=0,Ps=0,Ns=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{dn=Ps,hn=Ns,Ps=e.clientX,Ns=e.clientY},Kn?{passive:!0}:void 0);function To(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}const a$={extends:ym()},Ii=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function l$(e,t,n,r,s,o){return le(),Te("div",{ref:"reference",class:Ke(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[bt(e.$slots,"default",xd(Dl(e.slotData)))],2)}const c$=Ii(a$,[["render",l$]]);function u$(){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 Lo;function Za(){Za.init||(Za.init=!0,Lo=u$()!==-1)}var ji={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Za(),Lt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Lo&&this.$el.appendChild(e),e.data="about:blank",Lo||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&&(!Lo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const f$=tv();Zg("data-v-b329ee4c");const d$={class:"resize-observer",tabindex:"-1"};ev();const h$=f$((e,t,n,r,s,o)=>(le(),Oe("div",d$)));ji.render=h$;ji.__scopeId="data-v-b329ee4c";ji.__file="src/components/ResizeObserver.vue";const wm=(e="theme")=>({computed:{themeClass(){return t$(this[e])}}}),p$=Le({name:"VPopperContent",components:{ResizeObserver:ji},mixins:[wm()],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}}}),m$=["id","aria-hidden","tabindex","data-popper-placement"],g$={ref:"inner",class:"v-popper__inner"},v$=ce("div",{class:"v-popper__arrow-outer"},null,-1),_$=ce("div",{class:"v-popper__arrow-inner"},null,-1),y$=[v$,_$];function b$(e,t,n,r,s,o){const i=xn("ResizeObserver");return le(),Te("div",{id:e.popperId,ref:"popover",class:Ke(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:gn(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=I_(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[ce("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),ce("div",{class:"v-popper__wrapper",style:gn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[ce("div",g$,[e.mounted?(le(),Te(Me,{key:0},[ce("div",null,[bt(e.$slots,"default")]),e.handleResize?(le(),Oe(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Qe("",!0)],64)):Qe("",!0)],512),ce("div",{ref:"arrow",class:"v-popper__arrow-container",style:gn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},y$,4)],4)],46,m$)}const Em=Ii(p$,[["render",b$]]),xm={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)}}},w$=Le({name:"VPopperWrapper",components:{Popper:c$,PopperContent:Em},mixins:[xm,wm("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function E$(e,t,n,r,s,o){const i=xn("PopperContent"),a=xn("Popper");return le(),Oe(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Ke([e.themeClass])},{default:xe(({popperId:c,isShown:l,shouldMountContent:d,skipTransition:f,autoHide:u,show:h,hide:p,handleResize:v,onResize:E,classes:_,result:g})=>[bt(e.$slots,"default",{shown:l,show:h,hide:p}),ae(i,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:l,mounted:d,"skip-transition":f,"auto-hide":u,"handle-resize":v,classes:_,result:g,onHide:p,onResize:E},{default:xe(()=>[bt(e.$slots,"popper",{shown:l,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const uc=Ii(w$,[["render",E$]]),x$={...uc,name:"VDropdown",vPopperTheme:"dropdown"},T$={...uc,name:"VMenu",vPopperTheme:"menu"},S$={...uc,name:"VTooltip",vPopperTheme:"tooltip"},k$=Le({name:"VTooltipDirective",components:{Popper:ym(),PopperContent:Em},mixins:[xm],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>qs(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>qs(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),$$=["innerHTML"],A$=["textContent"];function R$(e,t,n,r,s,o){const i=xn("PopperContent"),a=xn("Popper");return le(),Oe(a,zn({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:xe(({popperId:c,isShown:l,shouldMountContent:d,skipTransition:f,autoHide:u,hide:h,handleResize:p,onResize:v,classes:E,result:_})=>[ae(i,{ref:"popperContent",class:Ke({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:l,mounted:d,"skip-transition":f,"auto-hide":u,"handle-resize":p,classes:E,result:_,onHide:h,onResize:v},{default:xe(()=>[e.html?(le(),Te("div",{key:0,innerHTML:e.finalContent},null,8,$$)):(le(),Te("div",{key:1,textContent:$t(e.finalContent)},null,8,A$))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const P$=Ii(k$,[["render",R$]]),Tm="v-popper--has-tooltip";function N$(e,t){let n=e.placement;if(!n&&t)for(const r of _m)t[r]&&(n=r);return n||(n=qs(e.theme||"tooltip","placement")),n}function Sm(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=N$(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let pa,Ks,L$=0;function O$(){if(pa)return;Ks=ne([]),pa=jh({name:"VTooltipDirectiveApp",setup(){return{directives:Ks}},render(){return this.directives.map(t=>et(P$,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),pa.mount(e)}function C$(e,t,n){O$();const r=ne(Sm(e,t,n)),s=ne(!1),o={id:L$++,options:r,shown:s};return Ks.value.push(o),e.classList&&e.classList.add(Tm),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function km(e){if(e.$_popper){const t=Ks.value.indexOf(e.$_popper.item);t!==-1&&Ks.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Tm)}function ed(e,{value:t,modifiers:n}){const r=Sm(e,t,n);if(!r.content||qs(r.theme||"tooltip","disabled"))km(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=C$(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const I$={beforeMount:ed,updated:ed,beforeUnmount(e){km(e)}};function td(e){e.addEventListener("click",$m),e.addEventListener("touchstart",Am,Kn?{passive:!0}:!1)}function nd(e){e.removeEventListener("click",$m),e.removeEventListener("touchstart",Am),e.removeEventListener("touchend",Rm),e.removeEventListener("touchcancel",Pm)}function $m(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Am(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",Rm),t.addEventListener("touchcancel",Pm)}}function Rm(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 Pm(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const j$={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&td(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?td(e):nd(e))},beforeUnmount(e){nd(e)}};function M$(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,gm(en,t),e.directive("tooltip",I$),e.directive("close-popper",j$),e.component("VTooltip",S$),e.component("VDropdown",x$),e.component("VMenu",T$))}const D$={version:"2.0.0-beta.22",install:M$,options:en},F$=wt(e=>{e.vueApp.use(D$)}),B$=wt(()=>{const e=lt(),t=pk(),n=ht();window.__NUXT_DEVTOOLS_VIEW__={setClient(r){e.value!==r&&(e.value=r,r.hooks.hook("host:update:reactivity",()=>{Bd(e)}),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 Fe.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)})}),H$=[rb,sb,ob,Nk,Lk,jk,Mk,Dk,Fk,F$,B$],U$=Le({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=W$({duration:e.duration,throttle:e.throttle}),r=Ie();return r.hook("page:start",n.start),r.hook("page:finish",n.finish),r.hook("vue:error",n.finish),Or(n.clear),()=>et("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:n.isLoading.value?1:0,background:e.color||void 0,backgroundSize:`${100/n.progress.value*100}% auto`,transform:`scaleX(${n.progress.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function W$(e){const t=ne(0),n=ne(!1),r=pe(()=>1e4/e.duration);let s=null,o=null;function i(){c(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,f()},e.throttle):(n.value=!0,f())}function a(){t.value=100,d()}function c(){clearInterval(s),clearTimeout(o),s=null,o=null}function l(u){t.value=Math.min(100,t.value+u)}function d(){c(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function f(){s=setInterval(()=>{l(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:c}}const V$=Le({__name:"Notification",setup(e){const t=ne(!1),n=ne(),r=ne(),s=ne();return kE(o=>{r.value=o.message,n.value=o.icon,s.value=o.classes??"text-primary",t.value=!0,setTimeout(()=>{t.value=!1},o.duration??1500)}),(o,i)=>(le(),Te("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-50":"","text-center":"",class:Ke(ue(t)?"":"pointer-events-none overflow-hidden")},[ce("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:gn(ue(t)?{}:{transform:"translateY(-300%)"}),class:Ke([ue(t)?"shadow":"shadow-none",ue(s)])},[ue(n)?(le(),Te("div",{key:0,class:Ke(ue(n))},null,2)):Qe("",!0),ce("div",null,$t(ue(r)),1)],6)],2))}}),eo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},z$={},G$={class:"n-loading n-panel-grids-center"},q$={class:"flex flex-col animate-pulse items-center text-lg"},K$=ce("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function X$(e,t){return le(),Te("div",G$,[ce("div",q$,[K$,bt(e.$slots,"default",{},()=>[Ge(" Loading... ")])])])}const Y$=eo(z$,[["render",X$]]),Mi=Le({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(le(),Te("div",{class:Ke(["n-icon",t.icon])},null,2))}}),Di=Le({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const r=Mi;return le(),Oe(Ol(t.to?ue(ql):"button"),zn({to:t.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:xe(()=>[bt(t.$slots,"icon",{},()=>[t.icon?(le(),Oe(r,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):Qe("",!0)]),bt(t.$slots,"default")]),_:3},16,["to"])}}}),J$=Le({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=ne(!1);return $n(()=>{r.value=!0}),s=>{if(r.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=s.fallback||s.placeholder||"",a=s.fallbackTag||s.placeholderTag||"span";return Te(a,n,i)}}}),Q$={name:Ck,props:{placeholder:String,tag:{type:String,default:"span"}}};function Z$(e,t,n,r,s,o){const i=J$;return le(),Oe(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:xe(()=>[bt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const eA=eo(Q$,[["render",Z$]]),tA=Le({__name:"NDarkToggle",setup(e){const t=Ri(),n=pe({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function s(i){if(!r||!i){n.value=!n.value;return}const a=i.clientX,c=i.clientY,l=Math.hypot(Math.max(a,innerWidth-a),Math.max(c,innerHeight-c));document.startViewTransition(async()=>{n.value=!n.value,await Lt()}).ready.then(()=>{const f=[`circle(0px at ${a}px ${c}px)`,`circle(${l}px at ${a}px ${c}px)`];document.documentElement.animate({clipPath:n.value?[...f].reverse():f},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const o={mode:t,isDark:n,toggle:s};return(i,a)=>{const c=eA;return le(),Oe(c,{tag:"span"},{default:xe(()=>[bt(i.$slots,"default",xd(Dl(o)))]),_:3})}}}),nA={px3:"",py2:"",border:"b base",flex:"~ gap-2"},rA=ce("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),sA=ce("div",{"carbon-settings-adjust":"","translate-y--1px":""},null,-1),oA={px3:"",py2:"",flex:"~ gap2"},iA=Le({__name:"DockingPanel",setup(e){const t=lt(),n=Ie();function r(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),Bd(t)}function s(){location.reload()}return(o,i)=>{const a=Di,c=tA;return le(),Te("div",null,[ce("div",nA,[ae(c,null,{default:xe(({toggle:l,isDark:d})=>[ae(a,{n:"sm primary",onClick:l},{default:xe(()=>[rA,Ge(" "+$t(d.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),ae(a,{n:"sm primary",to:"/settings"},{default:xe(()=>[sA,Ge(" Settings ")]),_:1})]),ce("div",oA,[ae(a,{n:"solid primary xs",onClick:r},{default:xe(()=>[Ge(" Refetch Data ")]),_:1}),ae(a,{n:"solid primary xs",onClick:s},{default:xe(()=>[Ge(" Refresh Page ")]),_:1})])])}}}),aA=["src","alt"],lA=["title"],fc=Le({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(le(),Te("img",zn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,aA)):(le(),Te("div",zn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,lA))}}),cA={"translate-y-0.5px":""},uA={key:0,hidden:"","lg:block":""},fA=Le({__name:"SideNavItem",props:{tab:{}},setup(e){const t=e,n=bi(),r=pe(()=>"badge"in t.tab&&t.tab.badge?.()),s=pe(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=pe(()=>n.path.startsWith(s.value));return(i,a)=>{const c=fc,l=ql,d=xn("VTooltip");return le(),Oe(d,{placement:"right"},{popper:xe(()=>[ce("div",null,$t(i.tab.title),1),"extraTabVNode"in i.tab&&i.tab.extraTabVNode?(le(),Te("div",uA,[(le(),Oe(Ol(i.tab.extraTabVNode)))])):Qe("",!0)]),default:xe(()=>[ae(l,{to:ue(s),flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:a[0]||(a[0]=f=>"onClick"in i.tab&&i.tab.onClick?.())},{default:xe(()=>[ae(c,{"text-xl":"",icon:i.tab.icon,title:i.tab.title,"show-title":!1},null,8,["icon","title"]),ue(r)?(le(),Te("div",{key:0,absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Ke(ue(o)?"bg-primary":"bg-gray")},[ce("span",cA,$t(("toValue"in i?i.toValue:ue(Tl))(ue(r))),1)],2)):Qe("",!0)]),_:1},8,["to"])]),_:1})}}});function dA(){const e=bk(),t=ac(),n=ht(),r=pe(()=>[...n.getRoutes().filter(o=>o.path.startsWith("/modules/")&&o.meta.title&&!o.meta.wip).filter(o=>!o.meta.experimental||o.meta.experimental&&t.showExperimentalFeatures.value).sort((o,i)=>(o.meta.order||100)-(i.meta.order||100)).map(o=>({name:o.name,path:o.path,...o.meta})),...(e.value||[]).filter(o=>o.name.startsWith("builtin-"))]),s=pe(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return pe(()=>[...r.value,...s.value])}function Nm(){return{app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function rd(e){return pe(()=>{const t=Nm();for(const n of ue(e)){const r=n.category||"app";t[r]?t[r].push(n):console.warn(`Unknown tab category: ${r}`)}for(const n of Object.keys(t))t[n].length===0&&delete t[n];return Object.entries(t)})}function Lm(){const e=dA(),t=ac(),n=Object.keys(Nm()),r=e.value.map(s=>s?.show?.());return pe(()=>e.value.filter((s,o)=>{const i=s;return!(r[o]&&!Tl(r[o])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(s.category||"app"))}).sort((s,o)=>n.indexOf(s.category||"app")-n.indexOf(o.category||"app")))}function W2(){const e=nm(),t=om();return pe(()=>(e.value?.getRoutes()||[]).map(n=>sm(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const hA={border:"r base",flex:"~ col","z-100":"","h-full":"","items-center":"","of-hidden":"","bg-base":""},pA={flex:"~ none col items-center"},mA=["title"],gA=ce("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),vA=[gA],_A=ce("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),yA={flex:"~ auto col gap-0.5 items-center","of-hidden":"",py1:""},bA={key:0,my1:"","h-1px":"","w-8":"",border:"b base"},wA=ce("div",{"flex-auto":""},null,-1),EA={flex:"~ none col items-center gap-1",pb1:""},xA={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},TA={"translate-y-0.5px":""},SA={flex:"~ col gap-1","max-w-80":"",py1:""},kA={key:0,"h-1px":"",border:"b base"},$A={flex:"~ wrap",px1:""},AA=45,RA=Le({__name:"SideNav",setup(e){const t=lt(),n=Lm(),r=ne(!1),s=ne(!1),o=ne(),i=ne(),a=ne();function c(){r.value=!r.value}function l(){s.value=!s.value}const{height:d}=rE(),f=pe(()=>{const E=d.value-130;return Math.max(0,Math.floor(E/AA))}),u=pe(()=>n.value.slice(0,f.value)),h=pe(()=>n.value.slice(f.value)),p=rd(u),v=rd(h);return _w(o,E=>{i.value&&E.composedPath().includes(i.value)||a.value&&E.composedPath().includes(a.value)||(r.value=!1,s.value=!1)},{detectIframe:!0}),(E,_)=>{const g=iA,b=xn("VDropdown"),y=fA,T=fc,m=ql;return le(),Te("div",hA,[ce("div",pA,[ae(b,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:ue(r),"auto-hide":!0},{popper:xe(()=>[ae(g,{ref_key:"panel",ref:o},null,512)]),default:xe(()=>[ce("button",{ref_key:"buttonDocking",ref:i,flex:"~",hover:"bg-active",relative:"",my1:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:Ke(ue(t)?"":"saturate-0"),title:ue(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:c},vA,10,mA)]),_:1},8,["shown"]),_A]),ce("div",yA,[(le(!0),Te(Me,null,gs(ue(p),([S,x],w)=>(le(),Te(Me,{key:S},[x.length?(le(),Te(Me,{key:0},[w?(le(),Te("div",bA)):Qe("",!0),(le(!0),Te(Me,null,gs(x,k=>(le(),Oe(y,{key:k.name,tab:k},null,8,["tab"]))),128))],64)):Qe("",!0)],64))),128)),wA]),ce("div",EA,[ue(h).length?(le(),Oe(b,{key:0,placement:"left-end",distance:12,triggers:[],shown:ue(s),"auto-hide":!0},{popper:xe(()=>[ce("div",SA,[(le(!0),Te(Me,null,gs(ue(v),([S,x],w)=>(le(),Te(Me,{key:S},[x.length?(le(),Te(Me,{key:0},[w?(le(),Te("div",kA)):Qe("",!0),ce("div",$A,[(le(!0),Te(Me,null,gs(x,k=>(le(),Oe(y,{key:k.name,tab:k},null,8,["tab"]))),128))])],64)):Qe("",!0)],64))),128))])]),default:xe(()=>[ce("button",{ref_key:"buttonMoreTabs",ref:a,flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:l},[ae(T,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),ce("div",xA,[ce("span",TA,$t(ue(h).length),1)])],512)]),_:1},8,["shown"])):Qe("",!0),ae(m,{to:"/settings",flex:"~ items-center justify-center",hover:"bg-active",relative:"",block:"","h-10":"","w-10":"","select-none":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active"},{default:xe(()=>[ae(T,{"text-xl":"",icon:"i-carbon-settings-adjust",title:"Settings","show-title":!1})]),_:1})])])}}}),PA=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),NA=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&PA(e.route,n));return typeof r=="function"?r(e.route):r},LA=(e,t)=>({default:()=>e?et(vv,e===!0?{}:e,t):t}),el=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?et(e,t,n):n.default?.()}),OA=Le({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t}){const n=Ie();return()=>et(vp,{name:e.name,route:e.route,...t},{default:r=>{if(!r.Component)return;const s=NA(r,e.pageKey),o=n.deferHydration(),i=!!(e.transition??r.route.meta.pageTransition??ja),a=i&&IA([e.transition,r.route.meta.pageTransition,ja,{onAfterLeave:()=>{n.callHook("page:transition:finish",r.Component)}}].filter(Boolean));return el(yi,i&&a,LA(e.keepalive??r.route.meta.keepalive??W0,et(Yd,{suspensible:!0,onPending:()=>n.callHook("page:start",r.Component),onResolve:()=>{Lt(()=>n.callHook("page:finish",r.Component).finally(o))}},{default:()=>et(jA,{key:s,routeProps:r,pageKey:s,hasTransition:i})}))).default()}})}});function CA(e){return Array.isArray(e)?e:e?[e]:[]}function IA(e){const t=e.map(n=>({...n,onAfterLeave:CA(n.onAfterLeave)}));return J0(...t)}const jA=Le({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const s in e.routeProps.route)r[s]=pe(()=>t===e.pageKey?e.routeProps.route[s]:n[s]);return hr("_route",at(r)),()=>et(e.routeProps.Component)}}),MA=Le({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(e,t){const n=await ir[e.name]().then(r=>r.default||r);return()=>et(n,t.attrs,t.slots)}}),DA=Le({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=dt("_route"),r=n===bi()?l1():n,s=pe(()=>ue(e.name)??r.meta.layout??"default");return()=>{const o=s.value&&s.value in ir,i=r.meta.layoutTransition??U0;return el(yi,o&&i,{default:()=>el(MA,o&&{key:s.value,name:s.value,...t.attrs},t.slots).default()}).default()}}}),FA={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},BA=Le({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const r=Ap(e,"modelValue",t,{passive:!0});return(s,o)=>{const i=Mi;return le(),Te("div",FA,[bt(s.$slots,"icon",{},()=>[s.icon?(le(),Oe(i,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Qe("",!0)]),Rl(ce("input",zn({"onUpdate:modelValue":o[0]||(o[0]=a=>De(r)?r.value=a:null)},s.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[P_,ue(r)]])])}}}),HA={},UA={class:"n-card n-card-base"};function WA(e,t){return le(),Te("div",UA,[bt(e.$slots,"default")])}const VA=eo(HA,[["render",WA]]);/*!
14
- * tabbable 6.1.2
15
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
16
- */var Om=["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])"],ni=Om.join(","),Cm=typeof Element>"u",Xn=Cm?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ri=!Cm&&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},si=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},zA=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},Im=function(t,n,r){if(si(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(ni));return n&&Xn.call(t,ni)&&s.unshift(t),s=s.filter(r),s},jm=function e(t,n,r){for(var s=[],o=Array.from(t);o.length;){var i=o.shift();if(!si(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=Xn.call(i,ni);d&&r.filter(i)&&(n||!t.includes(i))&&s.push(i);var f=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),u=!si(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(f&&u){var h=e(f===!0?i.children:f.children,!0,r);r.flatten?s.push.apply(s,h):s.push({scopeParent:i,candidates:h})}else o.unshift.apply(o,i.children)}}return s},Mm=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||zA(t))&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},GA=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},Dm=function(t){return t.tagName==="INPUT"},qA=function(t){return Dm(t)&&t.type==="hidden"},KA=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},XA=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},YA=function(t){if(!t.name)return!0;var n=t.form||ri(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=XA(s,t.form);return!o||o===t},JA=function(t){return Dm(t)&&t.type==="radio"},QA=function(t){return JA(t)&&!YA(t)},ZA=function(t){var n,r=t&&ri(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,f;r=ri(s),s=(l=r)===null||l===void 0?void 0:l.host,o=!!((d=s)!==null&&d!==void 0&&(f=d.ownerDocument)!==null&&f!==void 0&&f.contains(s))}}return o},sd=function(t){var n=t.getBoundingClientRect(),r=n.width,s=n.height;return r===0&&s===0},eR=function(t,n){var r=n.displayCheck,s=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=Xn.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(Xn.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=ri(t);if(c&&!c.shadowRoot&&s(c)===!0)return sd(t);t.assignedSlot?t=t.assignedSlot:!c&&l!==t.ownerDocument?t=l.host:t=c}t=a}if(ZA(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return sd(t);return!1},tR=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 Xn.call(n,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}n=n.parentElement}return!1},oi=function(t,n){return!(n.disabled||si(n)||qA(n)||eR(n,t)||KA(n)||tR(n))},tl=function(t,n){return!(QA(n)||Mm(n)<0||!oi(t,n))},nR=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},rR=function e(t){var n=[],r=[];return t.forEach(function(s,o){var i=!!s.scopeParent,a=i?s.scopeParent:s,c=Mm(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(GA).reduce(function(s,o){return o.isScope?s.push.apply(s,o.content):s.push(o.content),s},[]).concat(n)},sR=function(t,n){n=n||{};var r;return n.getShadowRoot?r=jm([t],n.includeContainer,{filter:tl.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:nR}):r=Im(t,n.includeContainer,tl.bind(null,n)),rR(r)},oR=function(t,n){n=n||{};var r;return n.getShadowRoot?r=jm([t],n.includeContainer,{filter:oi.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=Im(t,n.includeContainer,oi.bind(null,n)),r},So=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Xn.call(t,ni)===!1?!1:tl(n,t)},iR=Om.concat("iframe").join(","),ma=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Xn.call(t,iR)===!1?!1:oi(n,t)};/*!
17
- * focus-trap 7.4.3
18
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
19
- */function od(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 id(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?od(Object(n),!0).forEach(function(r){aR(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):od(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function aR(e,t,n){return t=cR(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lR(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 cR(e){var t=lR(e,"string");return typeof t=="symbol"?t:String(t)}var ad={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()}},uR=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},fR=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},Ls=function(t){return t.key==="Tab"||t.keyCode===9},dR=function(t){return Ls(t)&&!t.shiftKey},hR=function(t){return Ls(t)&&t.shiftKey},ld=function(t){return setTimeout(t,0)},cd=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},hs=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},ko=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},pR=[],mR=function(t,n){var r=n?.document||document,s=n?.trapStack||pR,o=id({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:dR,isKeyBackward:hR},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a,c=function(k,$,A){return k&&k[$]!==void 0?k[$]:o[A||$]},l=function(k,$){var A=typeof $?.composedPath=="function"?$.composedPath():void 0;return i.containerGroups.findIndex(function(R){var P=R.container,I=R.tabbableNodes;return P.contains(k)||A?.includes(P)||I.find(function(j){return j===k})})},d=function(k){var $=o[k];if(typeof $=="function"){for(var A=arguments.length,R=new Array(A>1?A-1:0),P=1;P<A;P++)R[P-1]=arguments[P];$=$.apply(void 0,R)}if($===!0&&($=void 0),!$){if($===void 0||$===!1)return $;throw new Error("`".concat(k,"` was specified but was not a node, or did not return a node"))}var I=$;if(typeof $=="string"&&(I=r.querySelector($),!I))throw new Error("`".concat(k,"` as selector refers to no known node"));return I},f=function(){var k=d("initialFocus");if(k===!1)return!1;if(k===void 0||!ma(k,o.tabbableOptions))if(l(r.activeElement)>=0)k=r.activeElement;else{var $=i.tabbableGroups[0],A=$&&$.firstTabbableNode;k=A||d("fallbackFocus")}if(!k)throw new Error("Your focus-trap needs to have at least one focusable element");return k},u=function(){if(i.containerGroups=i.containers.map(function(k){var $=sR(k,o.tabbableOptions),A=oR(k,o.tabbableOptions);return{container:k,tabbableNodes:$,focusableNodes:A,firstTabbableNode:$.length>0?$[0]:null,lastTabbableNode:$.length>0?$[$.length-1]:null,nextTabbableNode:function(P){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,j=A.findIndex(function(F){return F===P});if(!(j<0))return I?A.slice(j+1).find(function(F){return So(F,o.tabbableOptions)}):A.slice(0,j).reverse().find(function(F){return So(F,o.tabbableOptions)})}}}),i.tabbableGroups=i.containerGroups.filter(function(k){return k.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},h=function w(k){if(k!==!1&&k!==r.activeElement){if(!k||!k.focus){w(f());return}k.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=k,uR(k)&&k.select()}},p=function(k){var $=d("setReturnFocus",k);return $||($===!1?!1:k)},v=function(k){var $=ko(k);if(!(l($,k)>=0)){if(hs(o.clickOutsideDeactivates,k)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}hs(o.allowOutsideClick,k)||k.preventDefault()}},E=function(k){var $=ko(k),A=l($,k)>=0;A||$ instanceof Document?A&&(i.mostRecentlyFocusedNode=$):(k.stopImmediatePropagation(),h(i.mostRecentlyFocusedNode||f()))},_=function(k){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,A=ko(k);u();var R=null;if(i.tabbableGroups.length>0){var P=l(A,k),I=P>=0?i.containerGroups[P]:void 0;if(P<0)$?R=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:R=i.tabbableGroups[0].firstTabbableNode;else if($){var j=cd(i.tabbableGroups,function(re){var de=re.firstTabbableNode;return A===de});if(j<0&&(I.container===A||ma(A,o.tabbableOptions)&&!So(A,o.tabbableOptions)&&!I.nextTabbableNode(A,!1))&&(j=P),j>=0){var F=j===0?i.tabbableGroups.length-1:j-1,B=i.tabbableGroups[F];R=B.lastTabbableNode}else Ls(k)||(R=I.nextTabbableNode(A,!1))}else{var G=cd(i.tabbableGroups,function(re){var de=re.lastTabbableNode;return A===de});if(G<0&&(I.container===A||ma(A,o.tabbableOptions)&&!So(A,o.tabbableOptions)&&!I.nextTabbableNode(A))&&(G=P),G>=0){var oe=G===i.tabbableGroups.length-1?0:G+1,ee=i.tabbableGroups[oe];R=ee.firstTabbableNode}else Ls(k)||(R=I.nextTabbableNode(A))}}else R=d("fallbackFocus");R&&(Ls(k)&&k.preventDefault(),h(R))},g=function(k){if(fR(k)&&hs(o.escapeDeactivates,k)!==!1){k.preventDefault(),a.deactivate();return}(o.isKeyForward(k)||o.isKeyBackward(k))&&_(k,o.isKeyBackward(k))},b=function(k){var $=ko(k);l($,k)>=0||hs(o.clickOutsideDeactivates,k)||hs(o.allowOutsideClick,k)||(k.preventDefault(),k.stopImmediatePropagation())},y=function(){if(i.active)return ad.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?ld(function(){h(f())}):h(f()),r.addEventListener("focusin",E,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{capture:!0,passive:!1}),r.addEventListener("click",b,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),a},T=function(){if(i.active)return r.removeEventListener("focusin",E,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!0),r.removeEventListener("click",b,!0),r.removeEventListener("keydown",g,!0),a},m=function(k){var $=k.some(function(A){var R=Array.from(A.removedNodes);return R.some(function(P){return P===i.mostRecentlyFocusedNode})});$&&h(f())},S=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(m):void 0,x=function(){S&&(S.disconnect(),i.active&&!i.paused&&i.containers.map(function(k){S.observe(k,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(k){if(i.active)return this;var $=c(k,"onActivate"),A=c(k,"onPostActivate"),R=c(k,"checkCanFocusTrap");R||u(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,$?.();var P=function(){R&&u(),y(),x(),A?.()};return R?(R(i.containers.concat()).then(P,P),this):(P(),this)},deactivate:function(k){if(!i.active)return this;var $=id({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},k);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,T(),i.active=!1,i.paused=!1,x(),ad.deactivateTrap(s,a);var A=c($,"onDeactivate"),R=c($,"onPostDeactivate"),P=c($,"checkCanReturnFocus"),I=c($,"returnFocus","returnFocusOnDeactivate");A?.();var j=function(){ld(function(){I&&h(p(i.nodeFocusedBeforeActivation)),R?.()})};return I&&P?(P(p(i.nodeFocusedBeforeActivation)).then(j,j),this):(j(),this)},pause:function(k){if(i.paused||!i.active)return this;var $=c(k,"onPause"),A=c(k,"onPostPause");return i.paused=!0,$?.(),T(),x(),A?.(),this},unpause:function(k){if(!i.paused||!i.active)return this;var $=c(k,"onUnpause"),A=c(k,"onPostUnpause");return i.paused=!1,$?.(),u(),y(),x(),A?.(),this},updateContainerElements:function(k){var $=[].concat(k).filter(Boolean);return i.containers=$.map(function(A){return typeof A=="string"?r.querySelector(A):A}),i.active&&u(),x(),this}},a.updateContainerElements(t),a},gR=Object.defineProperty,vR=Object.defineProperties,_R=Object.getOwnPropertyDescriptors,ii=Object.getOwnPropertySymbols,Fm=Object.prototype.hasOwnProperty,Bm=Object.prototype.propertyIsEnumerable,ud=(e,t,n)=>t in e?gR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yR=(e,t)=>{for(var n in t||(t={}))Fm.call(t,n)&&ud(e,n,t[n]);if(ii)for(var n of ii(t))Bm.call(t,n)&&ud(e,n,t[n]);return e},bR=(e,t)=>vR(e,_R(t)),wR=(e,t)=>{var n={};for(var r in e)Fm.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ii)for(var r of ii(e))t.indexOf(r)<0&&Bm.call(e,r)&&(n[r]=e[r]);return n};function ER(e,t={}){let n;const r=t,{immediate:s}=r,o=wR(r,["immediate"]),i=ne(!1),a=ne(!1),c=u=>n&&n.activate(u),l=u=>n&&n.deactivate(u),d=()=>{n&&(n.pause(),a.value=!0)},f=()=>{n&&(n.unpause(),a.value=!1)};return je(()=>ft(e),u=>{u&&(n=mR(u,bR(yR({},o),{onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}})),s&&c())},{flush:"post"}),rn(()=>l()),{hasFocus:i,isPaused:a,activate:c,deactivate:l,pause:d,unpause:f}}const xR={inheritAttrs:!1},dc=Le({...xR,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const r=Ap(e,"modelValue",t,{passive:!0}),s=ne(null),o=ne(!1),{activate:i,deactivate:a}=ER(pe(()=>s.value||document.body),{immediate:!1});vr(()=>{!o.value&&r.value&&(o.value=!0),r.value&&s.value?Lt(i):a()});function c(){r.value=!1,t("close")}return(l,d)=>{const f=VA;return o.value?(le(),Oe(_h,{key:0,to:"body"},[Rl(ce("div",{class:Ke(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[ue(r)?"":"op0 pointer-events-none visibility-none"]])},[ce("div",{class:Ke(["absolute inset-0 -z-1",[l.dim?"bg-black/50":""]]),onClick:d[0]||(d[0]=u=>c())},null,2),ae(f,zn(l.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:xe(()=>[bt(l.$slots,"default")]),_:3},16)],2),[[Ch,ue(r)]])])):Qe("",!0)}}}),nl=at(new Map);function TR(){const e=Lm(),t=ht(),n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Nuxt Documentations",icon:"logos-nuxt-icon",action:()=>kR()}],r=pe(()=>e.value.map(s=>({id:`tab:${s.name}`,title:s.title||s.name,icon:s.icon,action:()=>{"onClick"in s&&s.onClick?s.onClick():t.push("path"in s&&s.path?s.path:`/modules/custom-${s.name}`)}})));return pe(()=>[...n,...r.value,...Array.from(nl.values()).flatMap(s=>Tl(s))])}function V2(e){const t=_k();nl.set(t,e),Bs(()=>{nl.delete(t)})}let ga;const SR=[[":components:","i-carbon-assembly-cluster"],[":modules:","i-carbon-cube"],[":commands:","i-carbon-terminal"],[":directory-structure:","i-carbon-folder"],[":composables:","i-carbon-function"],[":getting-started:","i-carbon-idea"],[":api:","carbon-api-1"]];async function kR(){return ga||(ga=(await Re(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:SR.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),ga}function sn(e){return Array.isArray?Array.isArray(e):Wm(e)==="[object Array]"}const $R=1/0;function AR(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-$R?"-0":t}function RR(e){return e==null?"":AR(e)}function Ut(e){return typeof e=="string"}function Hm(e){return typeof e=="number"}function PR(e){return e===!0||e===!1||NR(e)&&Wm(e)=="[object Boolean]"}function Um(e){return typeof e=="object"}function NR(e){return Um(e)&&e!==null}function ut(e){return e!=null}function va(e){return!e.trim().length}function Wm(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const LR="Incorrect 'index' type",OR=e=>`Invalid value for key ${e}`,CR=e=>`Pattern length exceeds max of ${e}.`,IR=e=>`Missing ${e} property in key`,jR=e=>`Property 'weight' in key '${e}' must be a positive integer`,fd=Object.prototype.hasOwnProperty;class MR{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let s=Vm(r);n+=s.weight,this._keys.push(s),this._keyMap[s.id]=s,n+=s.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Vm(e){let t=null,n=null,r=null,s=1,o=null;if(Ut(e)||sn(e))r=e,t=dd(e),n=rl(e);else{if(!fd.call(e,"name"))throw new Error(IR("name"));const i=e.name;if(r=i,fd.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(jR(i));t=dd(i),n=rl(i),o=e.getFn}return{path:t,id:n,weight:s,src:r,getFn:o}}function dd(e){return sn(e)?e:e.split(".")}function rl(e){return sn(e)?e.join("."):e}function DR(e,t){let n=[],r=!1;const s=(o,i,a)=>{if(ut(o))if(!i[a])n.push(o);else{let c=i[a];const l=o[c];if(!ut(l))return;if(a===i.length-1&&(Ut(l)||Hm(l)||PR(l)))n.push(RR(l));else if(sn(l)){r=!0;for(let d=0,f=l.length;d<f;d+=1)s(l[d],i,a+1)}else i.length&&s(l,i,a+1)}};return s(e,Ut(t)?t.split("."):t,0),r?n:n[0]}const FR={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},BR={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},HR={location:0,threshold:.6,distance:100},UR={useExtendedSearch:!1,getFn:DR,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var ye={...BR,...FR,...HR,...UR};const WR=/[^ ]+/g;function VR(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(s){const o=s.match(WR).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}class hc{constructor({getFn:t=ye.getFn,fieldNormWeight:n=ye.fieldNormWeight}={}){this.norm=VR(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Ut(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Ut(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!ut(t)||va(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((s,o)=>{let i=s.getFn?s.getFn(t):this.getFn(t,s.path);if(ut(i)){if(sn(i)){let a=[];const c=[{nestedArrIndex:-1,value:i}];for(;c.length;){const{nestedArrIndex:l,value:d}=c.pop();if(ut(d))if(Ut(d)&&!va(d)){let f={v:d,i:l,n:this.norm.get(d)};a.push(f)}else sn(d)&&d.forEach((f,u)=>{c.push({nestedArrIndex:u,value:f})})}r.$[o]=a}else if(Ut(i)&&!va(i)){let a={v:i,n:this.norm.get(i)};r.$[o]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function zm(e,t,{getFn:n=ye.getFn,fieldNormWeight:r=ye.fieldNormWeight}={}){const s=new hc({getFn:n,fieldNormWeight:r});return s.setKeys(e.map(Vm)),s.setSources(t),s.create(),s}function zR(e,{getFn:t=ye.getFn,fieldNormWeight:n=ye.fieldNormWeight}={}){const{keys:r,records:s}=e,o=new hc({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(s),o}function $o(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:s=ye.distance,ignoreLocation:o=ye.ignoreLocation}={}){const i=t/e.length;if(o)return i;const a=Math.abs(r-n);return s?i+a/s:a?1:i}function GR(e=[],t=ye.minMatchCharLength){let n=[],r=-1,s=-1,o=0;for(let i=e.length;o<i;o+=1){let a=e[o];a&&r===-1?r=o:!a&&r!==-1&&(s=o-1,s-r+1>=t&&n.push([r,s]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}const Mn=32;function qR(e,t,n,{location:r=ye.location,distance:s=ye.distance,threshold:o=ye.threshold,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,includeMatches:c=ye.includeMatches,ignoreLocation:l=ye.ignoreLocation}={}){if(t.length>Mn)throw new Error(CR(Mn));const d=t.length,f=e.length,u=Math.max(0,Math.min(r,f));let h=o,p=u;const v=a>1||c,E=v?Array(f):[];let _;for(;(_=e.indexOf(t,p))>-1;){let S=$o(t,{currentLocation:_,expectedLocation:u,distance:s,ignoreLocation:l});if(h=Math.min(S,h),p=_+d,v){let x=0;for(;x<d;)E[_+x]=1,x+=1}}p=-1;let g=[],b=1,y=d+f;const T=1<<d-1;for(let S=0;S<d;S+=1){let x=0,w=y;for(;x<w;)$o(t,{errors:S,currentLocation:u+w,expectedLocation:u,distance:s,ignoreLocation:l})<=h?x=w:y=w,w=Math.floor((y-x)/2+x);y=w;let k=Math.max(1,u-w+1),$=i?f:Math.min(u+w,f)+d,A=Array($+2);A[$+1]=(1<<S)-1;for(let P=$;P>=k;P-=1){let I=P-1,j=n[e.charAt(I)];if(v&&(E[I]=+!!j),A[P]=(A[P+1]<<1|1)&j,S&&(A[P]|=(g[P+1]|g[P])<<1|1|g[P+1]),A[P]&T&&(b=$o(t,{errors:S,currentLocation:I,expectedLocation:u,distance:s,ignoreLocation:l}),b<=h)){if(h=b,p=I,p<=u)break;k=Math.max(1,2*u-p)}}if($o(t,{errors:S+1,currentLocation:u,expectedLocation:u,distance:s,ignoreLocation:l})>h)break;g=A}const m={isMatch:p>=0,score:Math.max(.001,b)};if(v){const S=GR(E,a);S.length?c&&(m.indices=S):m.isMatch=!1}return m}function KR(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const s=e.charAt(n);t[s]=(t[s]||0)|1<<r-n-1}return t}class Gm{constructor(t,{location:n=ye.location,threshold:r=ye.threshold,distance:s=ye.distance,includeMatches:o=ye.includeMatches,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,isCaseSensitive:c=ye.isCaseSensitive,ignoreLocation:l=ye.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const d=(u,h)=>{this.chunks.push({pattern:u,alphabet:KR(u),startIndex:h})},f=this.pattern.length;if(f>Mn){let u=0;const h=f%Mn,p=f-h;for(;u<p;)d(this.pattern.substr(u,Mn),u),u+=Mn;if(h){const v=f-Mn;d(this.pattern.substr(v),v)}}else d(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return r&&(p.indices=[[0,t.length-1]]),p}const{location:s,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:c,ignoreLocation:l}=this.options;let d=[],f=0,u=!1;this.chunks.forEach(({pattern:p,alphabet:v,startIndex:E})=>{const{isMatch:_,score:g,indices:b}=qR(t,p,v,{location:s+E,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:c,includeMatches:r,ignoreLocation:l});_&&(u=!0),f+=g,_&&b&&(d=[...d,...b])});let h={isMatch:u,score:u?f/this.chunks.length:1};return u&&r&&(h.indices=d),h}}class An{constructor(t){this.pattern=t}static isMultiMatch(t){return hd(t,this.multiRegex)}static isSingleMatch(t){return hd(t,this.singleRegex)}search(){}}function hd(e,t){const n=e.match(t);return n?n[1]:null}class XR extends An{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class YR extends An{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class JR extends An{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class QR extends An{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class ZR extends An{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class eP extends An{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class qm extends An{constructor(t,{location:n=ye.location,threshold:r=ye.threshold,distance:s=ye.distance,includeMatches:o=ye.includeMatches,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,isCaseSensitive:c=ye.isCaseSensitive,ignoreLocation:l=ye.ignoreLocation}={}){super(t),this._bitapSearch=new Gm(t,{location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Km extends An{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const s=[],o=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+o,s.push([r,n-1]);const i=!!s.length;return{isMatch:i,score:i?0:1,indices:s}}}const sl=[XR,Km,JR,QR,eP,ZR,YR,qm],pd=sl.length,tP=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,nP="|";function rP(e,t={}){return e.split(nP).map(n=>{let r=n.trim().split(tP).filter(o=>o&&!!o.trim()),s=[];for(let o=0,i=r.length;o<i;o+=1){const a=r[o];let c=!1,l=-1;for(;!c&&++l<pd;){const d=sl[l];let f=d.isMultiMatch(a);f&&(s.push(new d(f,t)),c=!0)}if(!c)for(l=-1;++l<pd;){const d=sl[l];let f=d.isSingleMatch(a);if(f){s.push(new d(f,t));break}}}return s})}const sP=new Set([qm.type,Km.type]);class oP{constructor(t,{isCaseSensitive:n=ye.isCaseSensitive,includeMatches:r=ye.includeMatches,minMatchCharLength:s=ye.minMatchCharLength,ignoreLocation:o=ye.ignoreLocation,findAllMatches:i=ye.findAllMatches,location:a=ye.location,threshold:c=ye.threshold,distance:l=ye.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:s,findAllMatches:i,ignoreLocation:o,location:a,threshold:c,distance:l},this.pattern=n?t:t.toLowerCase(),this.query=rP(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:s}=this.options;t=s?t:t.toLowerCase();let o=0,i=[],a=0;for(let c=0,l=n.length;c<l;c+=1){const d=n[c];i.length=0,o=0;for(let f=0,u=d.length;f<u;f+=1){const h=d[f],{isMatch:p,indices:v,score:E}=h.search(t);if(p){if(o+=1,a+=E,r){const _=h.constructor.type;sP.has(_)?i=[...i,...v]:i.push(v)}}else{a=0,o=0,i.length=0;break}}if(o){let f={isMatch:!0,score:a/o};return r&&(f.indices=i),f}}return{isMatch:!1,score:1}}}const ol=[];function iP(...e){ol.push(...e)}function il(e,t){for(let n=0,r=ol.length;n<r;n+=1){let s=ol[n];if(s.condition(e,t))return new s(e,t)}return new Gm(e,t)}const ai={AND:"$and",OR:"$or"},al={PATH:"$path",PATTERN:"$val"},ll=e=>!!(e[ai.AND]||e[ai.OR]),aP=e=>!!e[al.PATH],lP=e=>!sn(e)&&Um(e)&&!ll(e),md=e=>({[ai.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Xm(e,t,{auto:n=!0}={}){const r=s=>{let o=Object.keys(s);const i=aP(s);if(!i&&o.length>1&&!ll(s))return r(md(s));if(lP(s)){const c=i?s[al.PATH]:o[0],l=i?s[al.PATTERN]:s[c];if(!Ut(l))throw new Error(OR(c));const d={keyId:rl(c),pattern:l};return n&&(d.searcher=il(l,t)),d}let a={children:[],operator:o[0]};return o.forEach(c=>{const l=s[c];sn(l)&&l.forEach(d=>{a.children.push(r(d))})}),a};return ll(e)||(e=md(e)),r(e)}function cP(e,{ignoreFieldNorm:t=ye.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:s,norm:o,score:i})=>{const a=s?s.weight:null;r*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:o))}),n.score=r})}function uP(e,t){const n=e.matches;t.matches=[],ut(n)&&n.forEach(r=>{if(!ut(r.indices)||!r.indices.length)return;const{indices:s,value:o}=r;let i={indices:s,value:o};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function fP(e,t){t.score=e.score}function dP(e,t,{includeMatches:n=ye.includeMatches,includeScore:r=ye.includeScore}={}){const s=[];return n&&s.push(uP),r&&s.push(fP),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return s.length&&s.forEach(c=>{c(o,a)}),a})}class Dr{constructor(t,n={},r){this.options={...ye,...n},this.options.useExtendedSearch,this._keyStore=new MR(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof hc))throw new Error(LR);this._myIndex=n||zm(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){ut(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,s=this._docs.length;r<s;r+=1){const o=this._docs[r];t(o,r)&&(this.removeAt(r),r-=1,s-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:s,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let c=Ut(t)?Ut(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return cP(c,{ignoreFieldNorm:a}),o&&c.sort(i),Hm(n)&&n>-1&&(c=c.slice(0,n)),dP(c,this._docs,{includeMatches:r,includeScore:s})}_searchStringList(t){const n=il(t,this.options),{records:r}=this._myIndex,s=[];return r.forEach(({v:o,i,n:a})=>{if(!ut(o))return;const{isMatch:c,score:l,indices:d}=n.searchIn(o);c&&s.push({item:o,idx:i,matches:[{score:l,value:o,norm:a,indices:d}]})}),s}_searchLogical(t){const n=Xm(t,this.options),r=(a,c,l)=>{if(!a.children){const{keyId:f,searcher:u}=a,h=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(c,f),searcher:u});return h&&h.length?[{idx:l,item:c,matches:h}]:[]}const d=[];for(let f=0,u=a.children.length;f<u;f+=1){const h=a.children[f],p=r(h,c,l);if(p.length)d.push(...p);else if(a.operator===ai.AND)return[]}return d},s=this._myIndex.records,o={},i=[];return s.forEach(({$:a,i:c})=>{if(ut(a)){let l=r(n,a,c);l.length&&(o[c]||(o[c]={idx:c,item:a,matches:[]},i.push(o[c])),l.forEach(({matches:d})=>{o[c].matches.push(...d)}))}}),i}_searchObjectList(t){const n=il(t,this.options),{keys:r,records:s}=this._myIndex,o=[];return s.forEach(({$:i,i:a})=>{if(!ut(i))return;let c=[];r.forEach((l,d)=>{c.push(...this._findMatches({key:l,value:i[d],searcher:n}))}),c.length&&o.push({idx:a,item:i,matches:c})}),o}_findMatches({key:t,value:n,searcher:r}){if(!ut(n))return[];let s=[];if(sn(n))n.forEach(({v:o,i,n:a})=>{if(!ut(o))return;const{isMatch:c,score:l,indices:d}=r.searchIn(o);c&&s.push({score:l,key:t,value:o,idx:i,norm:a,indices:d})});else{const{v:o,n:i}=n,{isMatch:a,score:c,indices:l}=r.searchIn(o);a&&s.push({score:c,key:t,value:o,norm:i,indices:l})}return s}}Dr.version="6.6.2";Dr.createIndex=zm;Dr.parseIndex=zR;Dr.config=ye;Dr.parseQuery=Xm;iP(oP);const hP={"h-full":"",flex:"~ col"},pP={border:"b base","flex-none":""},mP={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},gP=["id","onClick","onMouseover"],vP={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},_P={"ws-nowrap":""},yP={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},bP={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},wP=ce("span",{op50:""},"No results for",-1),EP={"text-primary":""},xP={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},TP={"text-xs":"",flex:"~ items-center gap2"},SP=ce("span",{op75:""},"to navigate",-1),kP={"text-xs":"",flex:"~ items-center gap2"},$P={op75:""},AP={"text-xs":"",flex:"~ items-center gap2"},RP=ce("span",{op75:""},"to select",-1),PP=Le({__name:"CommandPalette",setup(e){const t=ne(!1),n=ne(""),r=TR(),s=ne(),o=pe(()=>s.value||r.value),i=pe(()=>new Dr(o.value,{keys:["id","title"],distance:50})),a=pe(()=>n.value?i.value.search(n.value).map(h=>h.item):o.value||[]),c=ne(0);je(n,()=>{c.value=0,d()});function l(h){c.value=(c.value+h+a.value.length)%a.value.length,d()}function d(){document.getElementById(a.value[c.value]?.id)?.scrollIntoView({block:"center"})}async function f(h){const p=await h.action();p?(s.value=p,n.value=""):(s.value=void 0,n.value="",t.value=!1)}Rt("keydown",h=>{if((h.ctrlKey||h.metaKey)&&h.key==="k"){h.preventDefault(),s.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),l(h.key==="ArrowDown"?1:-1);break;case"Enter":{const p=a.value[c.value];p&&(h.preventDefault(),f(p));break}case"Escape":{h.preventDefault(),s.value?(s.value=void 0,n.value=""):t.value=!1;break}}});function u(h){h.key==="Backspace"&&!n.value&&s.value&&(h.preventDefault(),s.value=void 0,n.value="")}return(h,p)=>{const v=BA,E=fc,_=Mi,g=Di,b=dc;return le(),Oe(b,{modelValue:ue(t),"onUpdate:modelValue":p[1]||(p[1]=y=>De(t)?t.value=y:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:xe(()=>[ce("div",hP,[ce("header",pP,[ae(v,{modelValue:ue(n),"onUpdate:modelValue":p[0]||(p[0]=y=>De(n)?n.value=y:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:u},null,8,["modelValue"])]),ce("div",mP,[(le(!0),Te(Me,null,gs(ue(a),(y,T)=>(le(),Te("button",{id:y.id,key:y.id,onClick:m=>f(y),onMouseover:m=>c.value=T},[ce("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Ke(ue(c)===T?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[ae(E,{icon:y.icon,title:y.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),ce("span",vP,[ce("span",_P,$t(y.title),1),ce("span",yP,$t(y.description),1)]),ue(c)===T?(le(),Oe(_,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):Qe("",!0)],2)],40,gP))),128)),ue(a).length?Qe("",!0):(le(),Te("div",bP,[ae(_,{op50:"",icon:"carbon-search"}),ce("div",null,[wP,ce("strong",EP,' "'+$t(ue(n))+'" ',1)])]))]),ce("footer",xP,[ce("div",TP,[ae(g,{n:"xs",px1:""},{default:xe(()=>[ae(_,{icon:"carbon-arrow-down"})]),_:1}),ae(g,{n:"xs",px1:""},{default:xe(()=>[ae(_,{icon:"carbon-arrow-up"})]),_:1}),SP]),ce("div",kP,[ae(g,{n:"xs",px1:""},{default:xe(()=>[Ge(" Esc ")]),_:1}),ce("span",$P,"to "+$t(ue(s)?"go back":"close"),1)]),ce("div",AP,[ae(g,{n:"xs",px1:""},{default:xe(()=>[ae(_,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),RP])])])]),_:1},8,["modelValue"])}}}),NP={p4:"",flex:"~ col gap-2"},LP=ce("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[ce("span",{class:"i-carbon-information-square"}),Ge(" Permissions required ")],-1),OP=ce("p",null," This operation requires permissions for running command and access files from the browser. ",-1),CP=ce("p",null,[Ge(" A request is sent to the server."),ce("br"),Ge(" Please check your terminal for the instructions and then come back. ")],-1),IP={flex:"~ gap-3",mt2:"","justify-end":""},jP=Le({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=Di,s=dc;return le(),Oe(ue(Mp),null,{default:xe(({resolve:o})=>[ae(s,{"model-value":!0,onClose:i=>o(!1)},{default:xe(()=>[ce("div",NP,[LP,OP,CP,ce("div",IP,[ae(r,{onClick:i=>o(!1)},{default:xe(()=>[Ge(" Cancel ")]),_:2},1032,["onClick"]),ae(r,{disabled:"",icon:"i-carbon-time"},{default:xe(()=>[Ge(" Waiting for authorization... ")]),_:1})])])]),_:2},1032,["onClose"])]),_:1})}}}),MP={},DP={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},FP=ce("path",{d:"M74.2283 119.873H123.414C124.977 119.874 126.511 119.475 127.864 118.717C129.217 117.959 130.341 116.869 131.121 115.557C131.902 114.244 132.313 112.755 132.312 111.24C132.312 109.725 131.899 108.236 131.118 106.924L98.0856 51.4278C97.3048 50.1156 96.1817 49.0259 94.829 48.2683C93.4764 47.5107 91.942 47.1118 90.38 47.1118C88.8181 47.1118 87.2836 47.5107 85.931 48.2683C84.5784 49.0259 83.4552 50.1156 82.6745 51.4278L74.2283 65.6274L57.7148 37.8605C56.9334 36.5484 55.8097 35.4589 54.4567 34.7014C53.1037 33.9439 51.569 33.5451 50.0068 33.5451C48.4446 33.5451 46.9099 33.9439 45.5569 34.7014C44.2039 35.4589 43.0803 36.5484 42.2989 37.8605L1.1947 106.924C0.41273 108.236 0.000680577 109.725 8.42355e-07 111.24C-0.000678893 112.755 0.410035 114.244 1.19083 115.557C1.97163 116.869 3.09498 117.959 4.44789 118.717C5.80081 119.475 7.33558 119.874 8.89785 119.873H39.7727C52.0057 119.873 61.0271 114.661 67.2346 104.493L82.3054 79.1761L90.3776 65.6274L114.604 106.325H82.3054L74.2283 119.873ZM39.2694 106.311L17.7227 106.306L50.0212 52.0462L66.1369 79.1761L55.3468 97.3092C51.2244 103.907 46.5411 106.311 39.2694 106.311Z",fill:"#00DC82"},null,-1),BP=ce("path",{d:"M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z",fill:"currentColor"},null,-1),HP=[FP,BP];function UP(e,t){return le(),Te("svg",DP,HP)}const WP=eo(MP,[["render",UP]]),VP={},zP={key:0,flex:"~ col justify-center items-center gap-2",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-5":"","glass-effect":""},GP={flex:"~","mt--10":"","items-center":"","justify-center":""},qP={key:0,flex:"~ gap-2","items-center":"","text-rose":""},KP={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function XP(e,t){const n=WP,r=Mi;return le(),Oe(_h,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:ue(EE))?(le(),Te("div",zP,[ce("div",GP,[ae(n,{"h-14":""})]),("wsError"in e?e.wsError:ue(wE))?(le(),Te("div",qP,[ae(r,{icon:"i-carbon-wifi-off"}),Ge(" WebSocket disconnected ")])):(le(),Te("div",KP,[ae(r,{icon:"i-carbon-circle-dash","animate-spin":""}),Ge(" Connecting to the server... ")]))])):Qe("",!0)])}const YP=eo(VP,[["render",XP]]),JP={p4:"",flex:"~ col gap-1"},QP=ce("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),ZP={op50:""},e2={flex:"~ gap-3",mt2:"","justify-end":""},t2=Le({__name:"RestartDialogs",setup(e){const t=Ie(),n=SE(),r=lt(),s=Yl();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&&(Fe.restartNuxt(),setTimeout(()=>{r.value?.reloadPage()},500))}))}}),(o,i)=>{const a=Di,c=dc;return le(),Oe(ue(s),null,{default:xe(({resolve:l,args:d})=>[ae(c,{"model-value":!0,onClose:f=>l(!1)},{default:xe(()=>[ce("div",JP,[QP,ce("p",ZP,$t(d[0]),1),ce("div",e2,[ae(a,{onClick:f=>l(!1)},{default:xe(()=>[Ge(" Cancel ")]),_:2},1032,["onClick"]),ae(a,{n:"solid primary",onClick:f=>l(!0)},{default:xe(()=>[Ge(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});const gd=ne([]),vd=ne();function n2(){const e=Ie(),t=ht();Object.assign(Ip,{async refresh(n){e.hooks.callHookParallel("app:data:refresh",[n])},async callHook(n,...r){e.hooks.callHookParallel(n,...r)},async onTerminalData(n){e.hooks.callHookParallel("devtools:terminal:data",n)},async onTerminalExit(n){e.hooks.callHookParallel("devtools:terminal:exit",n);const r=gd.value.findIndex(s=>s.processId===n.id);r!==-1&&gd.value.splice(r,1),vd.value?.processId===n.id&&(vd.value=void 0)},async navigateTo(n){t.currentRoute.value.path!==n&&t.push(n)}}),Fe.getModuleOptions().then(n=>{n.disableAuthorization&&(pr.value=!0,Bt.value||="disabled")})}const r2={fixed:"","inset-0":"","h-screen":"","w-screen":""},s2=["grid"],o2=Le({__name:"app",setup(e){Re(()=>import("./unocss-runtime.8cb4743c.js"),[],import.meta.url),B0({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),n2();const t=lt(),n=bi(),r=Ri(),s=pe(()=>n.path.startsWith("/__")),o=pe(()=>!t.value&&!mk.value);je(()=>t.value?.colorMode.value,a=>{a&&(r.value=a)},{immediate:!0}),addEventListener("keydown",a=>{a.code==="KeyD"&&a.altKey&&(t.value?.closeDevTools(),a.preventDefault())});const{scale:i}=ac();return $n(()=>{const a=gk();vr(()=>{window.__NUXT_DEVTOOLS__=a.value}),vr(()=>{document.body.style.fontSize=`${i.value*15}px`})}),(a,c)=>{const l=U$,d=V$,f=Y$,u=RA,h=OA,p=DA,v=PP,E=jP,_=YP,g=t2;return le(),Te("div",r2,[ae(l),ae(d),ue(o)?(le(),Oe(f,{key:0},{default:xe(()=>[Ge(" Connecting.... ")]),_:1})):(le(),Te("div",{key:1,grid:ue(s)?"flex":"~ cols-[50px_1fr]","h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[Rl(ae(u,{"of-x-hidden":"","of-y-auto":""},null,512),[[Ch,!ue(s)]]),ae(p,null,{default:xe(()=>[ae(h)]),_:1}),ae(v),ae(E)],8,s2)),ae(_),ae(g)])}}}),_d={__name:"nuxt-root",setup(e){const t=mv(()=>Re(()=>import("./error-component.753dcd89.js"),[],import.meta.url).then(c=>c.default||c)),n=()=>null,r=Ie(),s=r.deferHydration(),o=!1;hr("_route",bi()),r.hooks.callHookWith(c=>c.map(l=>l()),"vue:setup");const i=wi();ih((c,l,d)=>{if(r.hooks.callHook("vue:error",c,l,d).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),nb(c)&&(c.fatal||c.unhandled))return r.runWithContext(()=>or(c)),!1});const{islandContext:a}=!1;return(c,l)=>(le(),Oe(Yd,{onResolve:ue(s)},{default:xe(()=>[ue(i)?(le(),Oe(ue(t),{key:0,error:ue(i)},null,8,["error"])):ue(a)?(le(),Oe(ue(n),{key:1,context:ue(a)},null,8,["context"])):ue(o)?(le(),Oe(Ol(ue(o)),{key:2})):(le(),Oe(ue(o2),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=Ty.create({baseURL:ky()}));let yd;const i2=Uy(H$);{let e;yd=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?D_(_d):jh(_d),s=Fy({vueApp:r});try{await Hy(s,i2)}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount("#"+V0),await s.hooks.callHook("app:mounted",r),await Lt()}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}return r},e=yd().catch(t=>{console.error("Error while mounting app:",t)})}export{Ty as $,Yl as A,F2 as B,ht as C,bi as D,V2 as E,Me as F,vd as G,De as H,ql as I,BA as J,dc as K,Rt as L,ef as M,bE as N,wE as O,Mi as P,S1 as Q,S2 as R,gn as S,b2 as T,M2 as U,k2 as V,j2 as W,Dr as X,w2 as Y,bt as Z,Re as _,Le as a,v2 as a$,Ri as a0,om as a1,C2 as a2,$n as a3,je as a4,ac as a5,VA as a6,xn as a7,h2 as a8,D1 as a9,tv as aA,Dd as aB,bl as aC,a2 as aD,c2 as aE,ft as aF,J0 as aG,_2 as aH,f2 as aI,L2 as aJ,nm as aK,N2 as aL,H2 as aM,nw as aN,I_ as aO,W2 as aP,g2 as aQ,y2 as aR,mk as aS,P2 as aT,SE as aU,d2 as aV,D2 as aW,fc as aX,eo as aY,mw as aZ,Jn as a_,lt as aa,Ol as ab,T2 as ac,_w as ad,yi as ae,zn as af,at as ag,x2 as ah,Lt as ai,vr as aj,Bs as ak,gk as al,dA as am,pr as an,O2 as ao,I2 as ap,p2 as aq,Ap as ar,Ir as as,m2 as at,pt as au,l2 as av,$2 as aw,gd as ax,Zg as ay,ev as az,ce as b,Y$ as b0,yk as b1,vv as b2,Vn as b3,Ie as b4,u2 as b5,Zc as b6,_p as b7,Ot as b8,et as b9,B2 as ba,E2 as bb,If as bc,Bt as bd,R2 as be,Bd as bf,U2 as bg,rd as bh,tA as bi,$_ as bj,R_ as bk,A2 as bl,AE as bm,B0 as bn,Oe as c,mv as d,Te as e,ae as f,Dl as g,Di as h,Sk as i,Ge as j,WP as k,pe as l,gs as m,xd as n,le as o,Ke as p,Qe as q,ne as r,nE as s,$t as t,ue as u,Rl as v,xe as w,Ch as x,Fe as y,PE as z};