nuxt-site-config 2.2.12 → 2.2.13

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 (149) hide show
  1. package/dist/client/200.html +122 -95
  2. package/dist/client/404.html +122 -95
  3. package/dist/client/_nuxt/{BMaGx5A0.js → 4BhBu9RQ.js} +1 -1
  4. package/dist/client/_nuxt/B3g-KkBK.js +1 -0
  5. package/dist/client/_nuxt/B474tPdy.js +66 -0
  6. package/dist/client/_nuxt/{B6nY7VDA.js → B6bHXiXE.js} +1 -1
  7. package/dist/client/_nuxt/B7rNE5kf.js +1 -0
  8. package/dist/client/_nuxt/BEjL32p1.js +5754 -0
  9. package/dist/client/_nuxt/BJn7Ek5W.js +1 -0
  10. package/dist/client/_nuxt/BVGdgKAv.js +1 -0
  11. package/dist/client/_nuxt/{wORFcijT.js → BXR915QZ.js} +1 -1
  12. package/dist/client/_nuxt/{DCj4DH6i.js → BYdKNJ10.js} +1 -1
  13. package/dist/client/_nuxt/BZfs-ost.js +1 -0
  14. package/dist/client/_nuxt/{DCdPDLy4.js → BacI6-DX.js} +1 -1
  15. package/dist/client/_nuxt/{DCk2z-Tu.js → BdfWgkoX.js} +1 -1
  16. package/dist/client/_nuxt/Bfj2ThZ4.js +3 -0
  17. package/dist/client/_nuxt/{D6NljDpC.js → BigF1UXR.js} +1 -1
  18. package/dist/client/_nuxt/Bj0fF4lQ.js +1 -0
  19. package/dist/client/_nuxt/BmSZh3NL.js +1 -0
  20. package/dist/client/_nuxt/{A1WiD9SJ.js → Br6ll-O0.js} +1 -1
  21. package/dist/client/_nuxt/BscxmKrE.js +8 -0
  22. package/dist/client/_nuxt/Buoqr_Oi.js +2 -0
  23. package/dist/client/_nuxt/BvCdDh2R.js +1 -0
  24. package/dist/client/_nuxt/BwXNTs7T.js +1 -0
  25. package/dist/client/_nuxt/{DggdVF2v.js → Bxkoe-BC.js} +1 -1
  26. package/dist/client/_nuxt/C3qJFuQy.js +3 -0
  27. package/dist/client/_nuxt/C3qUB5O8.js +301 -0
  28. package/dist/client/_nuxt/C6XIsc4F.js +1 -0
  29. package/dist/client/_nuxt/CA9nliXM.js +1 -0
  30. package/dist/client/_nuxt/{BsfQk1vf.js → CEfge3mM.js} +1 -1
  31. package/dist/client/_nuxt/CGmujMTu.js +1 -0
  32. package/dist/client/_nuxt/{CQTpvb7m.js → CHCTrc3a.js} +1 -1
  33. package/dist/client/_nuxt/{B9E_xdxs.js → CNkYXcD4.js} +1 -1
  34. package/dist/client/_nuxt/CO5hpdkB.js +1 -0
  35. package/dist/client/_nuxt/{DsudziMp.js → COIrKlfF.js} +1 -1
  36. package/dist/client/_nuxt/{DZ3fVoEH.js → CSPeAESR.js} +1 -1
  37. package/dist/client/_nuxt/C_ZPRiAj.js +26 -0
  38. package/dist/client/_nuxt/{DCAtC51B.js → CarfVElc.js} +1 -1
  39. package/dist/client/_nuxt/{BgBwMnrY.js → CcYwH0AH.js} +1 -1
  40. package/dist/client/_nuxt/Cgl53LJQ.js +1 -0
  41. package/dist/client/_nuxt/{RgJsN3zu.js → ChMCFiS0.js} +1 -1
  42. package/dist/client/_nuxt/CiRxTSAc.js +1 -0
  43. package/dist/client/_nuxt/Cp2HGa90.js +353 -0
  44. package/dist/client/_nuxt/CpAANOdC.js +1 -0
  45. package/dist/client/_nuxt/{DfUNg_8t.js → CqYeW6XZ.js} +1 -1
  46. package/dist/client/_nuxt/{CL7Ixq1B.js → CrgTADc5.js} +1 -1
  47. package/dist/client/_nuxt/CuJfdYLG.js +1 -0
  48. package/dist/client/_nuxt/{CRWwmX0L.js → D4FSFK-1.js} +1 -1
  49. package/dist/client/_nuxt/D71BffLY.js +1 -0
  50. package/dist/client/_nuxt/DAP_O-zg.js +1 -0
  51. package/dist/client/_nuxt/DAfrLhwG.js +1 -0
  52. package/dist/client/_nuxt/{7fd6vGzb.js → DBeuZS66.js} +1 -1
  53. package/dist/client/_nuxt/DG8tVHNj.js +6 -0
  54. package/dist/client/_nuxt/{Bd7iooY8.js → DGDuLtS6.js} +1 -1
  55. package/dist/client/_nuxt/{DIr-ordK.js → DGEpfOTx.js} +1 -1
  56. package/dist/client/_nuxt/{j8KhMG0x.js → DGxQkqYo.js} +1 -1
  57. package/dist/client/_nuxt/DKb4lQY2.js +1 -0
  58. package/dist/client/_nuxt/DOHBU7tp.js +1 -0
  59. package/dist/client/_nuxt/{CUVblut_.js → DR5YgmI2.js} +1 -1
  60. package/dist/client/_nuxt/DS9ZWoKD.js +1 -0
  61. package/dist/client/_nuxt/DVC_qXWv.js +1 -0
  62. package/dist/client/_nuxt/{D-pQtGOP.js → DVLwECkk.js} +1 -1
  63. package/dist/client/_nuxt/DZLoTQm4.js +1 -0
  64. package/dist/client/_nuxt/{ZQC2c-5V.js → D_T9yQUo.js} +3 -3
  65. package/dist/client/_nuxt/Dd6f7Z5P.js +1 -0
  66. package/dist/client/_nuxt/Dit6kIrv.js +11 -0
  67. package/dist/client/_nuxt/{DXpYegZJ.js → Djqq6n-7.js} +1 -1
  68. package/dist/client/_nuxt/Dkb1Nx48.js +1 -0
  69. package/dist/client/_nuxt/{DywwDckn.js → Du6_OKDb.js} +1 -1
  70. package/dist/client/_nuxt/FJDVp-XM.js +1 -0
  71. package/dist/client/_nuxt/{IHMnEr_d.js → G-Jz5hiA.js} +1 -1
  72. package/dist/client/_nuxt/{NL97_oaV.js → GPY1wEXZ.js} +1 -1
  73. package/dist/client/_nuxt/HrnDn_2Q.js +1 -0
  74. package/dist/client/_nuxt/{CPHkTjfH.js → JgH_6NEN.js} +1 -1
  75. package/dist/client/_nuxt/KPqz0Sb3.js +1 -0
  76. package/dist/client/_nuxt/Ksn5IXup.js +1 -0
  77. package/dist/client/_nuxt/LE4U4ems.js +31 -0
  78. package/dist/client/_nuxt/{wPLeKH6q.js → Lpdzc9s2.js} +1 -1
  79. package/dist/client/_nuxt/MS3qTAOR.js +1 -0
  80. package/dist/client/_nuxt/VQMr7AbF.js +1 -0
  81. package/dist/client/_nuxt/{BILqrcpa.js → YdT6Gj0u.js} +1 -1
  82. package/dist/client/_nuxt/{BgnbiTu5.js → ai9EgatI.js} +1 -1
  83. package/dist/client/_nuxt/alpzPJ78.js +1 -0
  84. package/dist/client/_nuxt/builds/latest.json +1 -1
  85. package/dist/client/_nuxt/builds/meta/cb3e3ebf-8ee9-41a5-bca9-d40e69378e53.json +1 -0
  86. package/dist/client/_nuxt/cW9vKj3g.js +1 -0
  87. package/dist/client/_nuxt/{Bdb36Id5.js → dIHJ9UdL.js} +1 -1
  88. package/dist/client/_nuxt/entry.DxzXm3l6.css +1 -0
  89. package/dist/client/_nuxt/error-404.Dc8PmhNf.css +1 -0
  90. package/dist/client/_nuxt/error-500.DSlYyS2i.css +1 -0
  91. package/dist/client/_nuxt/{doGI2cFk.js → wKgfcFVx.js} +1 -1
  92. package/dist/client/_nuxt/xtV5iK4E.js +1 -0
  93. package/dist/client/_nuxt/zhgf4ixb.js +40 -0
  94. package/dist/client/index.html +122 -95
  95. package/dist/module.json +6 -2
  96. package/dist/module.mjs +1 -1
  97. package/dist/runtime/nitro/composables/index.d.ts +5 -5
  98. package/dist/runtime/nitro/composables/index.js +5 -0
  99. package/dist/runtime/nitro/composables/useSiteConfig.d.ts +1 -1
  100. package/dist/runtime/nitro/composables/utils.d.ts +4 -4
  101. package/dist/runtime/nuxt/component/SiteLink.vue +2 -2
  102. package/dist/runtime/nuxt/composables/useSiteConfig.d.ts +1 -1
  103. package/dist/runtime/nuxt/composables/utils.d.ts +1 -1
  104. package/dist/runtime/nuxt/composables/{utils.mjs → utils.js} +2 -2
  105. package/dist/runtime/nuxt/plugins/0.siteConfig.d.ts +0 -2
  106. package/dist/runtime/nuxt/plugins/i18n.server.d.ts +0 -2
  107. package/dist/types.d.mts +2 -9
  108. package/dist/types.d.ts +2 -9
  109. package/package.json +10 -10
  110. package/dist/client/_nuxt/BBv1LFm6.js +0 -6
  111. package/dist/client/_nuxt/BG_OyJVq.js +0 -1
  112. package/dist/client/_nuxt/BIMuYTWL.js +0 -3
  113. package/dist/client/_nuxt/BSyl5yf0.js +0 -1
  114. package/dist/client/_nuxt/Bsp1M94H.js +0 -1
  115. package/dist/client/_nuxt/BswfO-CF.js +0 -1
  116. package/dist/client/_nuxt/Bz4xi2rU.js +0 -1
  117. package/dist/client/_nuxt/C3YqBJkQ.js +0 -1
  118. package/dist/client/_nuxt/CGQbO34C.js +0 -1
  119. package/dist/client/_nuxt/CoEqzGFw.js +0 -44
  120. package/dist/client/_nuxt/CrjQeCwm.js +0 -1
  121. package/dist/client/_nuxt/D4LhxNOI.js +0 -1
  122. package/dist/client/_nuxt/D4k753MY.js +0 -1
  123. package/dist/client/_nuxt/DR4LWwVk.js +0 -36
  124. package/dist/client/_nuxt/DnhXxWz-.js +0 -1
  125. package/dist/client/_nuxt/Dszwcx0o.js +0 -1
  126. package/dist/client/_nuxt/Dz2Ca8U2.js +0 -1
  127. package/dist/client/_nuxt/DzPyIVdT.js +0 -9
  128. package/dist/client/_nuxt/TQ9oWRfF.js +0 -1
  129. package/dist/client/_nuxt/WoBtJUue.js +0 -1
  130. package/dist/client/_nuxt/bmJ2objS.js +0 -1
  131. package/dist/client/_nuxt/builds/meta/44db8727-ca5e-4bca-947f-087248f7cff6.json +0 -1
  132. package/dist/client/_nuxt/entry.XtGVrJCw.css +0 -1
  133. package/dist/client/_nuxt/error-404.BRldFSII.css +0 -1
  134. package/dist/client/_nuxt/error-500.D8yw_IbC.css +0 -1
  135. package/dist/runtime/nitro/composables/index.mjs +0 -5
  136. /package/dist/runtime/nitro/composables/{getSiteIndexable.mjs → getSiteIndexable.js} +0 -0
  137. /package/dist/runtime/nitro/composables/{updateSiteConfig.mjs → updateSiteConfig.js} +0 -0
  138. /package/dist/runtime/nitro/composables/{useNitroOrigin.mjs → useNitroOrigin.js} +0 -0
  139. /package/dist/runtime/nitro/composables/{useSiteConfig.mjs → useSiteConfig.js} +0 -0
  140. /package/dist/runtime/nitro/composables/{utils.mjs → utils.js} +0 -0
  141. /package/dist/runtime/nitro/middleware/{init.mjs → init.js} +0 -0
  142. /package/dist/runtime/nitro/plugins/{injectState.mjs → injectState.js} +0 -0
  143. /package/dist/runtime/nitro/routes/__site-config__/{debug.mjs → debug.js} +0 -0
  144. /package/dist/runtime/nuxt/composables/{updateSiteConfig.mjs → updateSiteConfig.js} +0 -0
  145. /package/dist/runtime/nuxt/composables/{useNitroOrigin.mjs → useNitroOrigin.js} +0 -0
  146. /package/dist/runtime/nuxt/composables/{useSiteConfig.mjs → useSiteConfig.js} +0 -0
  147. /package/dist/runtime/nuxt/plugins/{0.siteConfig.mjs → 0.siteConfig.js} +0 -0
  148. /package/dist/runtime/nuxt/plugins/{i18n.server.mjs → i18n.server.js} +0 -0
  149. /package/dist/runtime/{types.mjs → types.js} +0 -0
@@ -1,36 +0,0 @@
1
- function __vite__mapDeps(indexes) {
2
- if (!__vite__mapDeps.viteFileDeps) {
3
- __vite__mapDeps.viteFileDeps = ["./DsudziMp.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./B9E_xdxs.js","./BeX7Iu5M.js","./DC4hdoM9.js","./CsYA0RN7.js","./ClXEvkw9.js","./CupVZNk8.js","./wORFcijT.js","./DC8MraHL.js","./DSrLtGYv.js","./CMDmr8et.js","./DywwDckn.js","./DXT9h7v2.js","./BlxWTfDV.js","./C1DVX8_8.js","./DbK06e1c.js","./TQ9oWRfF.js","./Bg0wAK5a.js","./BOnd8D4O.js","./DouzTJIq.js","./RCJZWN-0.js","./B6nY7VDA.js","./D4k753MY.js","./BaNxgKSR.js","./RE3ujT-k.js","./RgJsN3zu.js","./DCAtC51B.js","./DnhXxWz-.js","./sQpxpyUs.js","./D6pmzCqS.js","./DXpYegZJ.js","./DCk2z-Tu.js","./NL97_oaV.js","./B_SUYfiV.js","./CoEqzGFw.js","./DAVo6uMX.js","./DvyTQcux.js","./CPHkTjfH.js","./Bbv8ARUV.js","./CQUCfALx.js","./BN4LRXf6.js","./CsyrCbsw.js","./BmCW-tYz.js","./IHMnEr_d.js","./DUdlC5k_.js","./C5gCGmDW.js","./BR6CMsBL.js","./DfUNg_8t.js","./DzwdaLuO.js","./D4LaosRr.js","./DY7_9Ga-.js","./ZQC2c-5V.js","./DwuVtWc2.js","./BXfENWL6.js","./BIMuYTWL.js","./CGQbO34C.js","./DAGYewaG.js","./j8KhMG0x.js","./vMsNTMhM.js","./nclm9rTJ.js","./Dg0DGYq4.js","./Bd7iooY8.js","./BgBwMnrY.js","./CUVblut_.js","./BILqrcpa.js","./Dwo2i-71.js","./Cthz8VOO.js","./DhFF74a2.js","./wPLeKH6q.js","./DISxKEhY.js","./CQTpvb7m.js","./DXZpi2gR.js","./8t4jSAMm.js","./BiDE021q.js","./DmDrTTlz.js","./Bdb36Id5.js","./DJZWsvj0.js","./C15OxdQ5.js","./DLP9ZvWb.js","./doGI2cFk.js","./DCdPDLy4.js","./BBv1LFm6.js","./DYI1rfmx.js","./Bh8mriwU.js","./BT9ZzGyQ.js","./CRWwmX0L.js","./CJQrLysU.js","./BMaGx5A0.js","./error-404.BRldFSII.css","./BgnbiTu5.js","./error-500.D8yw_IbC.css"]
4
- }
5
- return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
6
- }
7
- var Hf=Object.defineProperty;var Bf=(e,t,n)=>t in e?Hf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var b=(e,t,n)=>(Bf(e,typeof t!="symbol"?t+"":t,n),n);/**
8
- * @vue/shared v3.4.21
9
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
10
- * @license MIT
11
- **/function Xi(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const he={},gn=[],ze=()=>{},Vf=()=>!1,ur=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Qi=e=>e.startsWith("onUpdate:"),Le=Object.assign,Zi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},jf=Object.prototype.hasOwnProperty,oe=(e,t)=>jf.call(e,t),q=Array.isArray,_n=e=>fr(e)==="[object Map]",xa=e=>fr(e)==="[object Set]",Us=e=>fr(e)==="[object Date]",X=e=>typeof e=="function",ge=e=>typeof e=="string",Bt=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",es=e=>(de(e)||X(e))&&X(e.then)&&X(e.catch),Aa=Object.prototype.toString,fr=e=>Aa.call(e),Ff=e=>fr(e).slice(8,-1),La=e=>fr(e)==="[object Object]",ts=e=>ge(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yn=Xi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Co=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Uf=/-(\w)/g,pt=Co(e=>e.replace(Uf,(t,n)=>n?n.toUpperCase():"")),Gf=/\B([A-Z])/g,an=Co(e=>e.replace(Gf,"-$1").toLowerCase()),To=Co(e=>e.charAt(0).toUpperCase()+e.slice(1)),qo=Co(e=>e?`on${To(e)}`:""),Vt=(e,t)=>!Object.is(e,t),$r=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Wr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Wf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},zf=e=>{const t=ge(e)?Number(e):NaN;return isNaN(t)?e:t};let Gs;const Oa=()=>Gs||(Gs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zt(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ge(r)?Yf(r):Zt(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(ge(e)||de(e))return e}const qf=/;(?![^(]*\))/g,Kf=/:([^]+)/,Jf=/\/\*[^]*?\*\//g;function Yf(e){const t={};return e.replace(Jf,"").split(qf).forEach(n=>{if(n){const r=n.split(Kf);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ee(e){let t="";if(ge(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const r=Ee(e[n]);r&&(t+=r+" ")}else if(de(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ka(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ge(t)&&(e.class=Ee(t)),n&&(e.style=Zt(n)),e}const Xf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Qf=Xi(Xf);function Ia(e){return!!e||e===""}function Zf(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=zr(e[r],t[r]);return n}function zr(e,t){if(e===t)return!0;let n=Us(e),r=Us(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Bt(e),r=Bt(t),n||r)return e===t;if(n=q(e),r=q(t),n||r)return n&&r?Zf(e,t):!1;if(n=de(e),r=de(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const l=e.hasOwnProperty(s),a=t.hasOwnProperty(s);if(l&&!a||!l&&a||!zr(e[s],t[s]))return!1}}return String(e)===String(t)}const at=e=>ge(e)?e:e==null?"":q(e)||de(e)&&(e.toString===Aa||!X(e.toString))?JSON.stringify(e,Na,2):String(e),Na=(e,t)=>t&&t.__v_isRef?Na(e,t.value):_n(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[Ko(r,i)+" =>"]=o,n),{})}:xa(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ko(n))}:Bt(t)?Ko(t):de(t)&&!q(t)&&!La(t)?String(t):t,Ko=(e,t="")=>{var n;return Bt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
12
- * @vue/reactivity v3.4.21
13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
14
- * @license MIT
15
- **/let Qe;class Da{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Qe,!t&&Qe&&(this.index=(Qe.scopes||(Qe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Qe;try{return Qe=this,t()}finally{Qe=n}}}on(){Qe=this}off(){Qe=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 o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function ed(e){return new Da(e)}function td(e,t=Qe){t&&t.active&&t.effects.push(e)}function nd(){return Qe}let en;class ns{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,td(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,cn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(rd(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),un()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Nt,n=en;try{return Nt=!0,en=this,this._runnings++,Ws(this),this.fn()}finally{zs(this),this._runnings--,en=n,Nt=t}}stop(){var t;this.active&&(Ws(this),zs(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function rd(e){return e.value}function Ws(e){e._trackId++,e._depsLength=0}function zs(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)$a(e.deps[t],e);e.deps.length=e._depsLength}}function $a(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Nt=!0,gi=0;const Ma=[];function cn(){Ma.push(Nt),Nt=!1}function un(){const e=Ma.pop();Nt=e===void 0?!0:e}function rs(){gi++}function os(){for(gi--;!gi&&_i.length;)_i.shift()()}function Ha(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&$a(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const _i=[];function Ba(e,t,n){rs();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&_i.push(r.scheduler)))}os()}const Va=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},qr=new WeakMap,tn=Symbol(""),yi=Symbol("");function Ve(e,t,n){if(Nt&&en){let r=qr.get(e);r||qr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Va(()=>r.delete(n))),Ha(en,o)}}function Et(e,t,n,r,o,i){const s=qr.get(e);if(!s)return;let l=[];if(t==="clear")l=[...s.values()];else if(n==="length"&&q(e)){const a=Number(r);s.forEach((c,u)=>{(u==="length"||!Bt(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),t){case"add":q(e)?ts(n)&&l.push(s.get("length")):(l.push(s.get(tn)),_n(e)&&l.push(s.get(yi)));break;case"delete":q(e)||(l.push(s.get(tn)),_n(e)&&l.push(s.get(yi)));break;case"set":_n(e)&&l.push(s.get(tn));break}rs();for(const a of l)a&&Ba(a,4);os()}function od(e,t){var n;return(n=qr.get(e))==null?void 0:n.get(t)}const id=Xi("__proto__,__v_isRef,__isVue"),ja=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Bt)),qs=sd();function sd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=se(this);for(let i=0,s=this.length;i<s;i++)Ve(r,"get",i+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(se)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){cn(),rs();const r=se(this)[t].apply(this,n);return os(),un(),r}}),e}function ld(e){const t=se(this);return Ve(t,"has",e),t.hasOwnProperty(e)}class Fa{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?bd:za:i?Wa:Ga).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=q(t);if(!o){if(s&&oe(qs,n))return Reflect.get(qs,n,r);if(n==="hasOwnProperty")return ld}const l=Reflect.get(t,n,r);return(Bt(n)?ja.has(n):id(n))||(o||Ve(t,"get",n),i)?l:Oe(l)?s&&ts(n)?l:l.value:de(l)?o?Ka(l):Ct(l):l}}class Ua extends Fa{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const a=rn(i);if(!Kr(r)&&!rn(r)&&(i=se(i),r=se(r)),!q(t)&&Oe(i)&&!Oe(r))return a?!1:(i.value=r,!0)}const s=q(t)&&ts(n)?Number(n)<t.length:oe(t,n),l=Reflect.set(t,n,r,o);return t===se(o)&&(s?Vt(r,i)&&Et(t,"set",n,r):Et(t,"add",n,r)),l}deleteProperty(t,n){const r=oe(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Et(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Bt(n)||!ja.has(n))&&Ve(t,"has",n),r}ownKeys(t){return Ve(t,"iterate",q(t)?"length":tn),Reflect.ownKeys(t)}}class ad extends Fa{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const cd=new Ua,ud=new ad,fd=new Ua(!0),is=e=>e,Po=e=>Reflect.getPrototypeOf(e);function br(e,t,n=!1,r=!1){e=e.__v_raw;const o=se(e),i=se(t);n||(Vt(t,i)&&Ve(o,"get",t),Ve(o,"get",i));const{has:s}=Po(o),l=r?is:n?as:Jn;if(s.call(o,t))return l(e.get(t));if(s.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function wr(e,t=!1){const n=this.__v_raw,r=se(n),o=se(e);return t||(Vt(e,o)&&Ve(r,"has",e),Ve(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Er(e,t=!1){return e=e.__v_raw,!t&&Ve(se(e),"iterate",tn),Reflect.get(e,"size",e)}function Ks(e){e=se(e);const t=se(this);return Po(t).has.call(t,e)||(t.add(e),Et(t,"add",e,e)),this}function Js(e,t){t=se(t);const n=se(this),{has:r,get:o}=Po(n);let i=r.call(n,e);i||(e=se(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?Vt(t,s)&&Et(n,"set",e,t):Et(n,"add",e,t),this}function Ys(e){const t=se(this),{has:n,get:r}=Po(t);let o=n.call(t,e);o||(e=se(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&Et(t,"delete",e,void 0),i}function Xs(){const e=se(this),t=e.size!==0,n=e.clear();return t&&Et(e,"clear",void 0,void 0),n}function Cr(e,t){return function(r,o){const i=this,s=i.__v_raw,l=se(s),a=t?is:e?as:Jn;return!e&&Ve(l,"iterate",tn),s.forEach((c,u)=>r.call(o,a(c),a(u),i))}}function Tr(e,t,n){return function(...r){const o=this.__v_raw,i=se(o),s=_n(i),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=o[e](...r),u=n?is:t?as:Jn;return!t&&Ve(i,"iterate",a?yi:tn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Pt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function dd(){const e={get(i){return br(this,i)},get size(){return Er(this)},has:wr,add:Ks,set:Js,delete:Ys,clear:Xs,forEach:Cr(!1,!1)},t={get(i){return br(this,i,!1,!0)},get size(){return Er(this)},has:wr,add:Ks,set:Js,delete:Ys,clear:Xs,forEach:Cr(!1,!0)},n={get(i){return br(this,i,!0)},get size(){return Er(this,!0)},has(i){return wr.call(this,i,!0)},add:Pt("add"),set:Pt("set"),delete:Pt("delete"),clear:Pt("clear"),forEach:Cr(!0,!1)},r={get(i){return br(this,i,!0,!0)},get size(){return Er(this,!0)},has(i){return wr.call(this,i,!0)},add:Pt("add"),set:Pt("set"),delete:Pt("delete"),clear:Pt("clear"),forEach:Cr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Tr(i,!1,!1),n[i]=Tr(i,!0,!1),t[i]=Tr(i,!1,!0),r[i]=Tr(i,!0,!0)}),[e,n,t,r]}const[pd,hd,md,gd]=dd();function ss(e,t){const n=t?e?gd:md:e?hd:pd;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(oe(n,o)&&o in r?n:r,o,i)}const _d={get:ss(!1,!1)},yd={get:ss(!1,!0)},vd={get:ss(!0,!1)},Ga=new WeakMap,Wa=new WeakMap,za=new WeakMap,bd=new WeakMap;function wd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ed(e){return e.__v_skip||!Object.isExtensible(e)?0:wd(Ff(e))}function Ct(e){return rn(e)?e:ls(e,!1,cd,_d,Ga)}function qa(e){return ls(e,!1,fd,yd,Wa)}function Ka(e){return ls(e,!0,ud,vd,za)}function ls(e,t,n,r,o){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=Ed(e);if(s===0)return e;const l=new Proxy(e,s===2?r:n);return o.set(e,l),l}function vn(e){return rn(e)?vn(e.__v_raw):!!(e&&e.__v_isReactive)}function rn(e){return!!(e&&e.__v_isReadonly)}function Kr(e){return!!(e&&e.__v_isShallow)}function Ja(e){return vn(e)||rn(e)}function se(e){const t=e&&e.__v_raw;return t?se(t):e}function Ya(e){return Object.isExtensible(e)&&Wr(e,"__v_skip",!0),e}const Jn=e=>de(e)?Ct(e):e,as=e=>de(e)?Ka(e):e;class Xa{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ns(()=>t(this._value),()=>Mr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=se(this);return(!t._cacheable||t.effect.dirty)&&Vt(t._value,t._value=t.effect.run())&&Mr(t,4),Qa(t),t.effect._dirtyLevel>=2&&Mr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Cd(e,t,n=!1){let r,o;const i=X(e);return i?(r=e,o=ze):(r=e.get,o=e.set),new Xa(r,o,i||!o,n)}function Qa(e){var t;Nt&&en&&(e=se(e),Ha(en,(t=e.dep)!=null?t:e.dep=Va(()=>e.dep=void 0,e instanceof Xa?e:void 0)))}function Mr(e,t=4,n){e=se(e);const r=e.dep;r&&Ba(r,t)}function Oe(e){return!!(e&&e.__v_isRef===!0)}function _e(e){return Za(e,!1)}function Qs(e){return Za(e,!0)}function Za(e,t){return Oe(e)?e:new Td(e,t)}class Td{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:se(t),this._value=n?t:Jn(t)}get value(){return Qa(this),this._value}set value(t){const n=this.__v_isShallow||Kr(t)||rn(t);t=n?t:se(t),Vt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Jn(t),Mr(this,4))}}function fe(e){return Oe(e)?e.value:e}const Pd={get:(e,t,n)=>fe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Oe(o)&&!Oe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function ec(e){return vn(e)?e:new Proxy(e,Pd)}class Sd{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 od(se(this._object),this._key)}}class Rd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function tc(e,t,n){return Oe(e)?e:X(e)?new Rd(e):de(e)&&arguments.length>1?xd(e,t,n):_e(e)}function xd(e,t,n){const r=e[t];return Oe(r)?r:new Sd(e,t,n)}/**
16
- * @vue/runtime-core v3.4.21
17
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
18
- * @license MIT
19
- **/function Dt(e,t,n,r){try{return r?e(...r):e()}catch(o){In(o,t,n)}}function tt(e,t,n,r){if(X(e)){const i=Dt(e,t,n,r);return i&&es(i)&&i.catch(s=>{In(s,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(tt(e[i],t,n,r));return o}function In(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const s=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,s,l)===!1)return}i=i.parent}const a=t.appContext.config.errorHandler;if(a){Dt(a,null,10,[e,s,l]);return}}Ad(e,n,o,r)}function Ad(e,t,n,r=!0){console.error(e)}let Yn=!1,vi=!1;const Ie=[];let ct=0;const bn=[];let Lt=null,Jt=0;const nc=Promise.resolve();let cs=null;function dr(e){const t=cs||nc;return e?t.then(this?e.bind(this):e):t}function Ld(e){let t=ct+1,n=Ie.length;for(;t<n;){const r=t+n>>>1,o=Ie[r],i=Xn(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}function So(e){(!Ie.length||!Ie.includes(e,Yn&&e.allowRecurse?ct+1:ct))&&(e.id==null?Ie.push(e):Ie.splice(Ld(e.id),0,e),rc())}function rc(){!Yn&&!vi&&(vi=!0,cs=nc.then(oc))}function Od(e){const t=Ie.indexOf(e);t>ct&&Ie.splice(t,1)}function bi(e){q(e)?bn.push(...e):(!Lt||!Lt.includes(e,e.allowRecurse?Jt+1:Jt))&&bn.push(e),rc()}function Zs(e,t,n=Yn?ct+1:0){for(;n<Ie.length;n++){const r=Ie[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Ie.splice(n,1),n--,r()}}}function Jr(e){if(bn.length){const t=[...new Set(bn)].sort((n,r)=>Xn(n)-Xn(r));if(bn.length=0,Lt){Lt.push(...t);return}for(Lt=t,Jt=0;Jt<Lt.length;Jt++)Lt[Jt]();Lt=null,Jt=0}}const Xn=e=>e.id==null?1/0:e.id,kd=(e,t)=>{const n=Xn(e)-Xn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function oc(e){vi=!1,Yn=!0,Ie.sort(kd);try{for(ct=0;ct<Ie.length;ct++){const t=Ie[ct];t&&t.active!==!1&&Dt(t,null,14)}}finally{ct=0,Ie.length=0,Jr(),Yn=!1,cs=null,(Ie.length||bn.length)&&oc()}}function Id(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||he;let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:f,trim:d}=r[u]||he;d&&(o=n.map(p=>ge(p)?p.trim():p)),f&&(o=n.map(Wf))}let l,a=r[l=qo(t)]||r[l=qo(pt(t))];!a&&i&&(a=r[l=qo(an(t))]),a&&tt(a,e,6,o);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,tt(c,e,6,o)}}function ic(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},l=!1;if(!X(e)){const a=c=>{const u=ic(c,t,!0);u&&(l=!0,Le(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(de(e)&&r.set(e,null),null):(q(i)?i.forEach(a=>s[a]=null):Le(s,i),de(e)&&r.set(e,s),s)}function Ro(e,t){return!e||!ur(t)?!1:(t=t.slice(2).replace(/Once$/,""),oe(e,t[0].toLowerCase()+t.slice(1))||oe(e,an(t))||oe(e,t))}let be=null,xo=null;function Yr(e){const t=be;return be=e,xo=e&&e.type.__scopeId||null,t}function sc(e){xo=e}function lc(){xo=null}const Nd=e=>ue;function ue(e,t=be,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&dl(-1);const i=Yr(t);let s;try{s=e(...o)}finally{Yr(i),r._d&&dl(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Jo(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:y}=e;let v,E;const P=Yr(e);try{if(n.shapeFlag&4){const C=o||r,T=C;v=We(u.call(T,C,f,i,p,d,h)),E=a}else{const C=t;v=We(C.length>1?C(i,{attrs:a,slots:l,emit:c}):C(i,null)),E=t.props?a:$d(a)}}catch(C){Fn.length=0,In(C,e,1),v=J(ot)}let g=v;if(E&&y!==!1){const C=Object.keys(E),{shapeFlag:T}=g;C.length&&T&7&&(s&&C.some(Qi)&&(E=Md(E,s)),g=Ln(g,E))}return n.dirs&&(g=Ln(g),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),v=g,Yr(P),v}function Dd(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Zn(o)){if(o.type!==ot||o.children==="v-if"){if(n)return;n=o}}else return}return n}const $d=e=>{let t;for(const n in e)(n==="class"||n==="style"||ur(n))&&((t||(t={}))[n]=e[n]);return t},Md=(e,t)=>{const n={};for(const r in e)(!Qi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Hd(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?el(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(s[d]!==r[d]&&!Ro(c,d))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===s?!1:r?s?el(r,s,c):!0:!!s;return!1}function el(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Ro(n,i))return!0}return!1}function us({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const fs="components";function on(e,t){return cc(fs,e,!0,t)||e}const ac=Symbol.for("v-ndc");function Bd(e){return ge(e)?cc(fs,e,!1)||e:e||ac}function cc(e,t,n=!0,r=!1){const o=be||Ce;if(o){const i=o.type;if(e===fs){const l=Dp(i,!1);if(l&&(l===t||l===pt(t)||l===To(pt(t))))return i}const s=tl(o[e]||i[e],t)||tl(o.appContext[e],t);return!s&&r?i:s}}function tl(e,t){return e&&(e[t]||e[pt(t)]||e[To(pt(t))])}const Vd=e=>e.__isSuspense;let wi=0;const jd={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,l,a,c){if(e==null)Ud(t,n,r,o,i,s,l,a,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Gd(e,t,n,r,o,s,l,a,c)}},hydrate:Wd,create:ds,normalize:zd},Fd=jd;function Qn(e,t){const n=e.props&&e.props[t];X(n)&&n()}function Ud(e,t,n,r,o,i,s,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=ds(e,o,r,t,f,n,i,s,l,a);c(null,d.pendingBranch=e.ssContent,f,null,r,d,i,s),d.deps>0?(Qn(e,"onPending"),Qn(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),wn(d,e.ssFallback)):d.resolve(!1,!0)}function Gd(e,t,n,r,o,i,s,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:y,isInFallback:v,isHydrating:E}=f;if(y)f.pendingBranch=d,It(d,y)?(a(y,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():v&&(E||(a(h,p,n,r,o,null,i,s,l),wn(f,p)))):(f.pendingId=wi++,E?(f.isHydrating=!1,f.activeBranch=y):c(y,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),v?(a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():(a(h,p,n,r,o,null,i,s,l),wn(f,p))):h&&It(d,h)?(a(h,d,n,r,o,f,i,s,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0&&f.resolve()));else if(h&&It(d,h))a(h,d,n,r,o,f,i,s,l),wn(f,d);else if(Qn(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=wi++,a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0)f.resolve();else{const{timeout:P,pendingId:g}=f;P>0?setTimeout(()=>{f.pendingId===g&&f.fallback(p)},P):P===0&&f.fallback(p)}}function ds(e,t,n,r,o,i,s,l,a,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:y,remove:v}}=c;let E;const P=qd(e);P&&t!=null&&t.pendingBranch&&(E=t.pendingId,t.deps++);const g=e.props?zf(e.props.timeout):void 0,C=i,T={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:wi++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(S=!1,D=!1){const{vnode:j,activeBranch:V,pendingBranch:M,pendingId:Q,effects:K,parentComponent:te,container:ie}=T;let le=!1;T.isHydrating?T.isHydrating=!1:S||(le=V&&M.transition&&M.transition.mode==="out-in",le&&(V.transition.afterLeave=()=>{Q===T.pendingId&&(d(M,ie,i===C?h(V):i,0),bi(K))}),V&&(y(V.el)!==T.hiddenContainer&&(i=h(V)),p(V,te,T,!0)),le||d(M,ie,i,0)),wn(T,M),T.pendingBranch=null,T.isInFallback=!1;let H=T.parent,z=!1;for(;H;){if(H.pendingBranch){H.effects.push(...K),z=!0;break}H=H.parent}!z&&!le&&bi(K),T.effects=[],P&&t&&t.pendingBranch&&E===t.pendingId&&(t.deps--,t.deps===0&&!D&&t.resolve()),Qn(j,"onResolve")},fallback(S){if(!T.pendingBranch)return;const{vnode:D,activeBranch:j,parentComponent:V,container:M,namespace:Q}=T;Qn(D,"onFallback");const K=h(j),te=()=>{T.isInFallback&&(f(null,S,M,K,V,null,Q,l,a),wn(T,S))},ie=S.transition&&S.transition.mode==="out-in";ie&&(j.transition.afterLeave=te),T.isInFallback=!0,p(j,V,null,!0),ie||te()},move(S,D,j){T.activeBranch&&d(T.activeBranch,S,D,j),T.container=S},next(){return T.activeBranch&&h(T.activeBranch)},registerDep(S,D){const j=!!T.pendingBranch;j&&T.deps++;const V=S.vnode.el;S.asyncDep.catch(M=>{In(M,S,0)}).then(M=>{if(S.isUnmounted||T.isUnmounted||T.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:Q}=S;xi(S,M,!1),V&&(Q.el=V);const K=!V&&S.subTree.el;D(S,Q,y(V||S.subTree.el),V?null:h(S.subTree),T,s,a),K&&v(K),us(S,Q.el),j&&--T.deps===0&&T.resolve()})},unmount(S,D){T.isUnmounted=!0,T.activeBranch&&p(T.activeBranch,n,S,D),T.pendingBranch&&p(T.pendingBranch,n,S,D)}};return T}function Wd(e,t,n,r,o,i,s,l,a){const c=t.suspense=ds(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function zd(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=nl(r?n.default:n),e.ssFallback=r?nl(n.fallback):J(ot)}function nl(e){let t;if(X(e)){const n=An&&e._c;n&&(e._d=!1,Y()),e=e(),n&&(e._d=!0,t=qe,Ic())}return q(e)&&(e=Dd(e)),e=We(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function uc(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):bi(e)}function wn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,us(r,o))}function qd(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const Kd=Symbol.for("v-scx"),Jd=()=>Tn(Kd);function fc(e,t){return ps(e,null,t)}const Pr={};function $t(e,t,n){return ps(e,t,n)}function ps(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:s,onTrigger:l}=he){if(t&&i){const S=t;t=(...D)=>{S(...D),T()}}const a=Ce,c=S=>r===!0?S:Yt(S,r===!1?1:void 0);let u,f=!1,d=!1;if(Oe(e)?(u=()=>e.value,f=Kr(e)):vn(e)?(u=()=>c(e),f=!0):q(e)?(d=!0,f=e.some(S=>vn(S)||Kr(S)),u=()=>e.map(S=>{if(Oe(S))return S.value;if(vn(S))return c(S);if(X(S))return Dt(S,a,2)})):X(e)?t?u=()=>Dt(e,a,2):u=()=>(p&&p(),tt(e,a,3,[h])):u=ze,t&&r){const S=u;u=()=>Yt(S())}let p,h=S=>{p=g.onStop=()=>{Dt(S,a,4),p=g.onStop=void 0}},y;if(pr)if(h=ze,t?n&&tt(t,a,3,[u(),d?[]:void 0,h]):u(),o==="sync"){const S=Jd();y=S.__watcherHandles||(S.__watcherHandles=[])}else return ze;let v=d?new Array(e.length).fill(Pr):Pr;const E=()=>{if(!(!g.active||!g.dirty))if(t){const S=g.run();(r||f||(d?S.some((D,j)=>Vt(D,v[j])):Vt(S,v)))&&(p&&p(),tt(t,a,3,[S,v===Pr?void 0:d&&v[0]===Pr?[]:v,h]),v=S)}else g.run()};E.allowRecurse=!!t;let P;o==="sync"?P=E:o==="post"?P=()=>He(E,a&&a.suspense):(E.pre=!0,a&&(E.id=a.uid),P=()=>So(E));const g=new ns(u,ze,P),C=nd(),T=()=>{g.stop(),C&&Zi(C.effects,g)};return t?n?E():v=g.run():o==="post"?He(g.run.bind(g),a&&a.suspense):g.run(),y&&y.push(T),T}function Yd(e,t,n){const r=this.proxy,o=ge(e)?e.includes(".")?dc(r,e):()=>r[e]:e.bind(r,r);let i;X(t)?i=t:(i=t.handler,n=t);const s=sn(this),l=ps(o,i.bind(r),n);return s(),l}function dc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Yt(e,t,n=0,r){if(!de(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Oe(e))Yt(e.value,t,n,r);else if(q(e))for(let o=0;o<e.length;o++)Yt(e[o],t,n,r);else if(xa(e)||_n(e))e.forEach(o=>{Yt(o,t,n,r)});else if(La(e))for(const o in e)Yt(e[o],t,n,r);return e}function Xd(e,t){if(be===null)return e;const n=Io(be)||be.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,l,a=he]=t[o];i&&(X(i)&&(i={mounted:i,updated:i}),i.deep&&Yt(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:l,modifiers:a}))}return e}function lt(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const l=o[s];i&&(l.oldValue=i[s].value);let a=l.dir[r];a&&(cn(),tt(a,n,8,[e.el,l,e,t]),un())}}/*! #__NO_SIDE_EFFECTS__ */function Ue(e,t){return X(e)?Le({name:e.name},t,{setup:e}):e}const En=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function rl(e){X(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:l}=e;let a=null,c,u=0;const f=()=>(u++,a=null,d()),d=()=>{let p;return a||(p=a=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),l)return new Promise((y,v)=>{l(h,()=>y(f()),()=>v(h),u+1)});throw h}).then(h=>p!==a&&a?a:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return Ue({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=Ce;if(c)return()=>Yo(c,p);const h=P=>{a=null,In(P,p,13,!r)};if(s&&p.suspense||pr)return d().then(P=>()=>Yo(P,p)).catch(P=>(h(P),()=>r?J(r,{error:P}):null));const y=_e(!1),v=_e(),E=_e(!!o);return o&&setTimeout(()=>{E.value=!1},o),i!=null&&setTimeout(()=>{if(!y.value&&!v.value){const P=new Error(`Async component timed out after ${i}ms.`);h(P),v.value=P}},i),d().then(()=>{y.value=!0,p.parent&&hs(p.parent.vnode)&&(p.parent.effect.dirty=!0,So(p.parent.update))}).catch(P=>{h(P),v.value=P}),()=>{if(y.value&&c)return Yo(c,p);if(v.value&&r)return J(r,{error:v.value});if(n&&!E.value)return J(n)}}})}function Yo(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=J(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const hs=e=>e.type.__isKeepAlive;function pc(e,t){mc(e,"a",t)}function hc(e,t){mc(e,"da",t)}function mc(e,t,n=Ce){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ao(t,r,n),n){let o=n.parent;for(;o&&o.parent;)hs(o.parent.vnode)&&Qd(r,t,n,o),o=o.parent}}function Qd(e,t,n,r){const o=Ao(t,e,r,!0);_c(()=>{Zi(r[t],o)},n)}function Ao(e,t,n=Ce,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;cn();const l=sn(n),a=tt(t,n,e,s);return l(),un(),a});return r?o.unshift(i):o.push(i),i}}const Tt=e=>(t,n=Ce)=>(!pr||e==="sp")&&Ao(e,(...r)=>t(...r),n),Zd=Tt("bm"),gc=Tt("m"),ep=Tt("bu"),tp=Tt("u"),ms=Tt("bum"),_c=Tt("um"),np=Tt("sp"),rp=Tt("rtg"),op=Tt("rtc");function yc(e,t=Ce){Ao("ec",e,t)}function Xo(e,t,n,r){let o;const i=n&&n[r];if(q(e)||ge(e)){o=new Array(e.length);for(let s=0,l=e.length;s<l;s++)o[s]=t(e[s],s,void 0,i&&i[s])}else if(typeof e=="number"){o=new Array(e);for(let s=0;s<e;s++)o[s]=t(s+1,s,void 0,i&&i[s])}else if(de(e))if(e[Symbol.iterator])o=Array.from(e,(s,l)=>t(s,l,void 0,i&&i[l]));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,a=s.length;l<a;l++){const c=s[l];o[l]=t(e[c],c,l,i&&i[l])}}else o=[];return n&&(n[r]=o),o}function Be(e,t,n={},r,o){if(be.isCE||be.parent&&En(be.parent)&&be.parent.isCE)return t!=="default"&&(n.name=t),J("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),Y();const s=i&&vc(i(n)),l=Ne(we,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function vc(e){return e.some(t=>Zn(t)?!(t.type===ot||t.type===we&&!vc(t.children)):!0)?e:null}const Ei=e=>e?$c(e)?Io(e)||e.proxy:Ei(e.parent):null,Vn=Le(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=>Ei(e.parent),$root:e=>Ei(e.root),$emit:e=>e.emit,$options:e=>gs(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,So(e.update)}),$nextTick:e=>e.n||(e.n=dr.bind(e.proxy)),$watch:e=>Yd.bind(e)}),Qo=(e,t)=>e!==he&&!e.__isScriptSetup&&oe(e,t),ip={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Qo(r,t))return s[t]=1,r[t];if(o!==he&&oe(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&oe(c,t))return s[t]=3,i[t];if(n!==he&&oe(n,t))return s[t]=4,n[t];Ci&&(s[t]=0)}}const u=Vn[t];let f,d;if(u)return t==="$attrs"&&Ve(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==he&&oe(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,oe(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return Qo(o,t)?(o[t]=n,!0):r!==he&&oe(r,t)?(r[t]=n,!0):oe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let l;return!!n[s]||e!==he&&oe(e,s)||Qo(t,s)||(l=i[0])&&oe(l,s)||oe(r,s)||oe(Vn,s)||oe(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ol(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function sp(e){const t=ko();let n=e();return Ri(),es(n)&&(n=n.catch(r=>{throw sn(t),r})),[n,()=>sn(t)]}let Ci=!0;function lp(e){const t=gs(e),n=e.proxy,r=e.ctx;Ci=!1,t.beforeCreate&&il(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:y,deactivated:v,beforeDestroy:E,beforeUnmount:P,destroyed:g,unmounted:C,render:T,renderTracked:S,renderTriggered:D,errorCaptured:j,serverPrefetch:V,expose:M,inheritAttrs:Q,components:K,directives:te,filters:ie}=t;if(c&&ap(c,r,null),s)for(const z in s){const F=s[z];X(F)&&(r[z]=F.bind(n))}if(o){const z=o.call(n,n);de(z)&&(e.data=Ct(z))}if(Ci=!0,i)for(const z in i){const F=i[z],gt=X(F)?F.bind(n,n):X(F.get)?F.get.bind(n,n):ze,yr=!X(F)&&X(F.set)?F.set.bind(n):ze,Gt=Ke({get:gt,set:yr});Object.defineProperty(r,z,{enumerable:!0,configurable:!0,get:()=>Gt.value,set:it=>Gt.value=it})}if(l)for(const z in l)bc(l[z],r,n,z);if(a){const z=X(a)?a.call(n):a;Reflect.ownKeys(z).forEach(F=>{Ec(F,z[F])})}u&&il(u,e,"c");function H(z,F){q(F)?F.forEach(gt=>z(gt.bind(n))):F&&z(F.bind(n))}if(H(Zd,f),H(gc,d),H(ep,p),H(tp,h),H(pc,y),H(hc,v),H(yc,j),H(op,S),H(rp,D),H(ms,P),H(_c,C),H(np,V),q(M))if(M.length){const z=e.exposed||(e.exposed={});M.forEach(F=>{Object.defineProperty(z,F,{get:()=>n[F],set:gt=>n[F]=gt})})}else e.exposed||(e.exposed={});T&&e.render===ze&&(e.render=T),Q!=null&&(e.inheritAttrs=Q),K&&(e.components=K),te&&(e.directives=te)}function ap(e,t,n=ze){q(e)&&(e=Ti(e));for(const r in e){const o=e[r];let i;de(o)?"default"in o?i=Tn(o.from||r,o.default,!0):i=Tn(o.from||r):i=Tn(o),Oe(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function il(e,t,n){tt(q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function bc(e,t,n,r){const o=r.includes(".")?dc(n,r):()=>n[r];if(ge(e)){const i=t[e];X(i)&&$t(o,i)}else if(X(e))$t(o,e.bind(n));else if(de(e))if(q(e))e.forEach(i=>bc(i,t,n,r));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&$t(o,i,e)}}function gs(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>Xr(a,c,s,!0)),Xr(a,t,s)),de(t)&&i.set(t,a),a}function Xr(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Xr(e,i,n,!0),o&&o.forEach(s=>Xr(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=cp[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const cp={data:sl,props:ll,emits:ll,methods:Hn,computed:Hn,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:Hn,directives:Hn,watch:fp,provide:sl,inject:up};function sl(e,t){return t?e?function(){return Le(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function up(e,t){return Hn(Ti(e),Ti(t))}function Ti(e){if(q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function De(e,t){return e?[...new Set([].concat(e,t))]:t}function Hn(e,t){return e?Le(Object.create(null),e,t):t}function ll(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:Le(Object.create(null),ol(e),ol(t??{})):t}function fp(e,t){if(!e)return t;if(!t)return e;const n=Le(Object.create(null),e);for(const r in t)n[r]=De(e[r],t[r]);return n}function wc(){return{app:null,config:{isNativeTag:Vf,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 dp=0;function pp(e,t){return function(r,o=null){X(r)||(r=Le({},r)),o!=null&&!de(o)&&(o=null);const i=wc(),s=new WeakSet;let l=!1;const a=i.app={_uid:dp++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Hc,get config(){return i.config},set config(c){},use(c,...u){return s.has(c)||(c&&X(c.install)?(s.add(c),c.install(a,...u)):X(c)&&(s.add(c),c(a,...u))),a},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),a},component(c,u){return u?(i.components[c]=u,a):i.components[c]},directive(c,u){return u?(i.directives[c]=u,a):i.directives[c]},mount(c,u,f){if(!l){const d=J(r,o);return d.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),l=!0,a._container=c,c.__vue_app__=a,Io(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return i.provides[c]=u,a},runWithContext(c){const u=Cn;Cn=a;try{return c()}finally{Cn=u}}};return a}}let Cn=null;function Ec(e,t){if(Ce){let n=Ce.provides;const r=Ce.parent&&Ce.parent.provides;r===n&&(n=Ce.provides=Object.create(r)),n[e]=t}}function Tn(e,t,n=!1){const r=Ce||be;if(r||Cn){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Cn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&X(t)?t.call(r&&r.proxy):t}}function Cc(){return!!(Ce||be||Cn)}function hp(e,t,n,r=!1){const o={},i={};Wr(i,Lo,1),e.propsDefaults=Object.create(null),Tc(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:qa(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function mp(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=se(o),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Ro(e.emitsOptions,d))continue;const p=t[d];if(a)if(oe(i,d))p!==i[d]&&(i[d]=p,c=!0);else{const h=pt(d);o[h]=Pi(a,l,h,p,e,!1)}else p!==i[d]&&(i[d]=p,c=!0)}}}else{Tc(e,t,o,i)&&(c=!0);let u;for(const f in l)(!t||!oe(t,f)&&((u=an(f))===f||!oe(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Pi(a,l,f,void 0,e,!0)):delete o[f]);if(i!==l)for(const f in i)(!t||!oe(t,f))&&(delete i[f],c=!0)}c&&Et(e,"set","$attrs")}function Tc(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,l;if(t)for(let a in t){if(yn(a))continue;const c=t[a];let u;o&&oe(o,u=pt(a))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:Ro(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,s=!0)}if(i){const a=se(n),c=l||he;for(let u=0;u<i.length;u++){const f=i[u];n[f]=Pi(o,a,f,c[f],e,!oe(c,f))}}return s}function Pi(e,t,n,r,o,i){const s=e[n];if(s!=null){const l=oe(s,"default");if(l&&r===void 0){const a=s.default;if(s.type!==Function&&!s.skipFactory&&X(a)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=sn(o);r=c[n]=a.call(null,t),u()}}else r=a}s[0]&&(i&&!l?r=!1:s[1]&&(r===""||r===an(n))&&(r=!0))}return r}function Pc(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},l=[];let a=!1;if(!X(e)){const u=f=>{a=!0;const[d,p]=Pc(f,t,!0);Le(s,d),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return de(e)&&r.set(e,gn),gn;if(q(i))for(let u=0;u<i.length;u++){const f=pt(i[u]);al(f)&&(s[f]=he)}else if(i)for(const u in i){const f=pt(u);if(al(f)){const d=i[u],p=s[f]=q(d)||X(d)?{type:d}:Le({},d);if(p){const h=fl(Boolean,p.type),y=fl(String,p.type);p[0]=h>-1,p[1]=y<0||h<y,(h>-1||oe(p,"default"))&&l.push(f)}}}const c=[s,l];return de(e)&&r.set(e,c),c}function al(e){return e[0]!=="$"&&!yn(e)}function cl(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ul(e,t){return cl(e)===cl(t)}function fl(e,t){return q(t)?t.findIndex(n=>ul(n,e)):X(t)&&ul(t,e)?0:-1}const Sc=e=>e[0]==="_"||e==="$stable",_s=e=>q(e)?e.map(We):[We(e)],gp=(e,t,n)=>{if(t._n)return t;const r=ue((...o)=>_s(t(...o)),n);return r._c=!1,r},Rc=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Sc(o))continue;const i=e[o];if(X(i))t[o]=gp(o,i,r);else if(i!=null){const s=_s(i);t[o]=()=>s}}},xc=(e,t)=>{const n=_s(t);e.slots.default=()=>n},_p=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=se(t),Wr(t,"_",n)):Rc(t,e.slots={})}else e.slots={},t&&xc(e,t);Wr(e.slots,Lo,1)},yp=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=he;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Le(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Rc(t,o)),s=t}else t&&(xc(e,t),s={default:1});if(i)for(const l in o)!Sc(l)&&s[l]==null&&delete o[l]};function Qr(e,t,n,r,o=!1){if(q(e)){e.forEach((d,p)=>Qr(d,t&&(q(t)?t[p]:t),n,r,o));return}if(En(r)&&!o)return;const i=r.shapeFlag&4?Io(r.component)||r.component.proxy:r.el,s=o?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===he?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(ge(c)?(u[c]=null,oe(f,c)&&(f[c]=null)):Oe(c)&&(c.value=null)),X(a))Dt(a,l,12,[s,u]);else{const d=ge(a),p=Oe(a);if(d||p){const h=()=>{if(e.f){const y=d?oe(f,a)?f[a]:u[a]:a.value;o?q(y)&&Zi(y,i):q(y)?y.includes(i)||y.push(i):d?(u[a]=[i],oe(f,a)&&(f[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,oe(f,a)&&(f[a]=s)):p&&(a.value=s,e.k&&(u[e.k]=s))};s?(h.id=-1,He(h,n)):h()}}}let St=!1;const vp=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",bp=e=>e.namespaceURI.includes("MathML"),Sr=e=>{if(vp(e))return"svg";if(bp(e))return"mathml"},Rr=e=>e.nodeType===8;function wp(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:l,insert:a,createComment:c}}=e,u=(g,C)=>{if(!C.hasChildNodes()){n(null,g,C),Jr(),C._vnode=g;return}St=!1,f(C.firstChild,g,null,null,null),Jr(),C._vnode=g,St&&console.error("Hydration completed but contains mismatches.")},f=(g,C,T,S,D,j=!1)=>{const V=Rr(g)&&g.data==="[",M=()=>y(g,C,T,S,D,V),{type:Q,ref:K,shapeFlag:te,patchFlag:ie}=C;let le=g.nodeType;C.el=g,ie===-2&&(j=!1,C.dynamicChildren=null);let H=null;switch(Q){case xn:le!==3?C.children===""?(a(C.el=o(""),s(g),g),H=g):H=M():(g.data!==C.children&&(St=!0,g.data=C.children),H=i(g));break;case ot:P(g)?(H=i(g),E(C.el=g.content.firstChild,g,T)):le!==8||V?H=M():H=i(g);break;case jn:if(V&&(g=i(g),le=g.nodeType),le===1||le===3){H=g;const z=!C.children.length;for(let F=0;F<C.staticCount;F++)z&&(C.children+=H.nodeType===1?H.outerHTML:H.data),F===C.staticCount-1&&(C.anchor=H),H=i(H);return V?i(H):H}else M();break;case we:V?H=h(g,C,T,S,D,j):H=M();break;default:if(te&1)(le!==1||C.type.toLowerCase()!==g.tagName.toLowerCase())&&!P(g)?H=M():H=d(g,C,T,S,D,j);else if(te&6){C.slotScopeIds=D;const z=s(g);if(V?H=v(g):Rr(g)&&g.data==="teleport start"?H=v(g,g.data,"teleport end"):H=i(g),t(C,z,null,T,S,Sr(z),j),En(C)){let F;V?(F=J(we),F.anchor=H?H.previousSibling:z.lastChild):F=g.nodeType===3?ke(""):J("div"),F.el=g,C.component.subTree=F}}else te&64?le!==8?H=M():H=C.type.hydrate(g,C,T,S,D,j,e,p):te&128&&(H=C.type.hydrate(g,C,T,S,Sr(s(g)),D,j,e,f))}return K!=null&&Qr(K,null,S,C),H},d=(g,C,T,S,D,j)=>{j=j||!!C.dynamicChildren;const{type:V,props:M,patchFlag:Q,shapeFlag:K,dirs:te,transition:ie}=C,le=V==="input"||V==="option";if(le||Q!==-1){te&&lt(C,null,T,"created");let H=!1;if(P(g)){H=Lc(S,ie)&&T&&T.vnode.props&&T.vnode.props.appear;const F=g.content.firstChild;H&&ie.beforeEnter(F),E(F,g,T),C.el=g=F}if(K&16&&!(M&&(M.innerHTML||M.textContent))){let F=p(g.firstChild,C,g,T,S,D,j);for(;F;){St=!0;const gt=F;F=F.nextSibling,l(gt)}}else K&8&&g.textContent!==C.children&&(St=!0,g.textContent=C.children);if(M)if(le||!j||Q&48)for(const F in M)(le&&(F.endsWith("value")||F==="indeterminate")||ur(F)&&!yn(F)||F[0]===".")&&r(g,F,null,M[F],void 0,void 0,T);else M.onClick&&r(g,"onClick",null,M.onClick,void 0,void 0,T);let z;(z=M&&M.onVnodeBeforeMount)&&Ge(z,T,C),te&&lt(C,null,T,"beforeMount"),((z=M&&M.onVnodeMounted)||te||H)&&uc(()=>{z&&Ge(z,T,C),H&&ie.enter(g),te&&lt(C,null,T,"mounted")},S)}return g.nextSibling},p=(g,C,T,S,D,j,V)=>{V=V||!!C.dynamicChildren;const M=C.children,Q=M.length;for(let K=0;K<Q;K++){const te=V?M[K]:M[K]=We(M[K]);if(g)g=f(g,te,S,D,j,V);else{if(te.type===xn&&!te.children)continue;St=!0,n(null,te,T,null,S,D,Sr(T),j)}}return g},h=(g,C,T,S,D,j)=>{const{slotScopeIds:V}=C;V&&(D=D?D.concat(V):V);const M=s(g),Q=p(i(g),C,M,T,S,D,j);return Q&&Rr(Q)&&Q.data==="]"?i(C.anchor=Q):(St=!0,a(C.anchor=c("]"),M,Q),Q)},y=(g,C,T,S,D,j)=>{if(St=!0,C.el=null,j){const Q=v(g);for(;;){const K=i(g);if(K&&K!==Q)l(K);else break}}const V=i(g),M=s(g);return l(g),n(null,C,M,V,T,S,Sr(M),D),V},v=(g,C="[",T="]")=>{let S=0;for(;g;)if(g=i(g),g&&Rr(g)&&(g.data===C&&S++,g.data===T)){if(S===0)return i(g);S--}return g},E=(g,C,T)=>{const S=C.parentNode;S&&S.replaceChild(g,C);let D=T;for(;D;)D.vnode.el===C&&(D.vnode.el=D.subTree.el=g),D=D.parent},P=g=>g.nodeType===1&&g.tagName.toLowerCase()==="template";return[u,f]}const He=uc;function Ep(e){return Ac(e)}function Cp(e){return Ac(e,wp)}function Ac(e,t){const n=Oa();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=ze,insertStaticContent:h}=e,y=(_,w,R,x=null,A=null,I=null,$=void 0,k=null,N=!!w.dynamicChildren)=>{if(_===w)return;_&&!It(_,w)&&(x=vr(_),it(_,A,I,!0),_=null),w.patchFlag===-2&&(N=!1,w.dynamicChildren=null);const{type:L,ref:B,shapeFlag:W}=w;switch(L){case xn:v(_,w,R,x);break;case ot:E(_,w,R,x);break;case jn:_==null&&P(w,R,x,$);break;case we:K(_,w,R,x,A,I,$,k,N);break;default:W&1?T(_,w,R,x,A,I,$,k,N):W&6?te(_,w,R,x,A,I,$,k,N):(W&64||W&128)&&L.process(_,w,R,x,A,I,$,k,N,pn)}B!=null&&A&&Qr(B,_&&_.ref,I,w||_,!w)},v=(_,w,R,x)=>{if(_==null)r(w.el=l(w.children),R,x);else{const A=w.el=_.el;w.children!==_.children&&c(A,w.children)}},E=(_,w,R,x)=>{_==null?r(w.el=a(w.children||""),R,x):w.el=_.el},P=(_,w,R,x)=>{[_.el,_.anchor]=h(_.children,w,R,x,_.el,_.anchor)},g=({el:_,anchor:w},R,x)=>{let A;for(;_&&_!==w;)A=d(_),r(_,R,x),_=A;r(w,R,x)},C=({el:_,anchor:w})=>{let R;for(;_&&_!==w;)R=d(_),o(_),_=R;o(w)},T=(_,w,R,x,A,I,$,k,N)=>{w.type==="svg"?$="svg":w.type==="math"&&($="mathml"),_==null?S(w,R,x,A,I,$,k,N):V(_,w,A,I,$,k,N)},S=(_,w,R,x,A,I,$,k)=>{let N,L;const{props:B,shapeFlag:W,transition:U,dirs:Z}=_;if(N=_.el=s(_.type,I,B&&B.is,B),W&8?u(N,_.children):W&16&&j(_.children,N,null,x,A,Zo(_,I),$,k),Z&&lt(_,null,x,"created"),D(N,_,_.scopeId,$,x),B){for(const ce in B)ce!=="value"&&!yn(ce)&&i(N,ce,null,B[ce],I,_.children,x,A,_t);"value"in B&&i(N,"value",null,B.value,I),(L=B.onVnodeBeforeMount)&&Ge(L,x,_)}Z&&lt(_,null,x,"beforeMount");const ne=Lc(A,U);ne&&U.beforeEnter(N),r(N,w,R),((L=B&&B.onVnodeMounted)||ne||Z)&&He(()=>{L&&Ge(L,x,_),ne&&U.enter(N),Z&&lt(_,null,x,"mounted")},A)},D=(_,w,R,x,A)=>{if(R&&p(_,R),x)for(let I=0;I<x.length;I++)p(_,x[I]);if(A){let I=A.subTree;if(w===I){const $=A.vnode;D(_,$,$.scopeId,$.slotScopeIds,A.parent)}}},j=(_,w,R,x,A,I,$,k,N=0)=>{for(let L=N;L<_.length;L++){const B=_[L]=k?Ot(_[L]):We(_[L]);y(null,B,w,R,x,A,I,$,k)}},V=(_,w,R,x,A,I,$)=>{const k=w.el=_.el;let{patchFlag:N,dynamicChildren:L,dirs:B}=w;N|=_.patchFlag&16;const W=_.props||he,U=w.props||he;let Z;if(R&&Wt(R,!1),(Z=U.onVnodeBeforeUpdate)&&Ge(Z,R,w,_),B&&lt(w,_,R,"beforeUpdate"),R&&Wt(R,!0),L?M(_.dynamicChildren,L,k,R,x,Zo(w,A),I):$||F(_,w,k,null,R,x,Zo(w,A),I,!1),N>0){if(N&16)Q(k,w,W,U,R,x,A);else if(N&2&&W.class!==U.class&&i(k,"class",null,U.class,A),N&4&&i(k,"style",W.style,U.style,A),N&8){const ne=w.dynamicProps;for(let ce=0;ce<ne.length;ce++){const me=ne[ce],Pe=W[me],Xe=U[me];(Xe!==Pe||me==="value")&&i(k,me,Pe,Xe,A,_.children,R,x,_t)}}N&1&&_.children!==w.children&&u(k,w.children)}else!$&&L==null&&Q(k,w,W,U,R,x,A);((Z=U.onVnodeUpdated)||B)&&He(()=>{Z&&Ge(Z,R,w,_),B&&lt(w,_,R,"updated")},x)},M=(_,w,R,x,A,I,$)=>{for(let k=0;k<w.length;k++){const N=_[k],L=w[k],B=N.el&&(N.type===we||!It(N,L)||N.shapeFlag&70)?f(N.el):R;y(N,L,B,null,x,A,I,$,!0)}},Q=(_,w,R,x,A,I,$)=>{if(R!==x){if(R!==he)for(const k in R)!yn(k)&&!(k in x)&&i(_,k,R[k],null,$,w.children,A,I,_t);for(const k in x){if(yn(k))continue;const N=x[k],L=R[k];N!==L&&k!=="value"&&i(_,k,L,N,$,w.children,A,I,_t)}"value"in x&&i(_,"value",R.value,x.value,$)}},K=(_,w,R,x,A,I,$,k,N)=>{const L=w.el=_?_.el:l(""),B=w.anchor=_?_.anchor:l("");let{patchFlag:W,dynamicChildren:U,slotScopeIds:Z}=w;Z&&(k=k?k.concat(Z):Z),_==null?(r(L,R,x),r(B,R,x),j(w.children||[],R,B,A,I,$,k,N)):W>0&&W&64&&U&&_.dynamicChildren?(M(_.dynamicChildren,U,R,A,I,$,k),(w.key!=null||A&&w===A.subTree)&&Oc(_,w,!0)):F(_,w,R,B,A,I,$,k,N)},te=(_,w,R,x,A,I,$,k,N)=>{w.slotScopeIds=k,_==null?w.shapeFlag&512?A.ctx.activate(w,R,x,$,N):ie(w,R,x,A,I,$,N):le(_,w,N)},ie=(_,w,R,x,A,I,$)=>{const k=_.component=Lp(_,x,A);if(hs(_)&&(k.ctx.renderer=pn),Op(k),k.asyncDep){if(A&&A.registerDep(k,H),!_.el){const N=k.subTree=J(ot);E(null,N,w,R)}}else H(k,_,w,R,A,I,$)},le=(_,w,R)=>{const x=w.component=_.component;if(Hd(_,w,R))if(x.asyncDep&&!x.asyncResolved){z(x,w,R);return}else x.next=w,Od(x.update),x.effect.dirty=!0,x.update();else w.el=_.el,x.vnode=w},H=(_,w,R,x,A,I,$)=>{const k=()=>{if(_.isMounted){let{next:B,bu:W,u:U,parent:Z,vnode:ne}=_;{const hn=kc(_);if(hn){B&&(B.el=ne.el,z(_,B,$)),hn.asyncDep.then(()=>{_.isUnmounted||k()});return}}let ce=B,me;Wt(_,!1),B?(B.el=ne.el,z(_,B,$)):B=ne,W&&$r(W),(me=B.props&&B.props.onVnodeBeforeUpdate)&&Ge(me,Z,B,ne),Wt(_,!0);const Pe=Jo(_),Xe=_.subTree;_.subTree=Pe,y(Xe,Pe,f(Xe.el),vr(Xe),_,A,I),B.el=Pe.el,ce===null&&us(_,Pe.el),U&&He(U,A),(me=B.props&&B.props.onVnodeUpdated)&&He(()=>Ge(me,Z,B,ne),A)}else{let B;const{el:W,props:U}=w,{bm:Z,m:ne,parent:ce}=_,me=En(w);if(Wt(_,!1),Z&&$r(Z),!me&&(B=U&&U.onVnodeBeforeMount)&&Ge(B,ce,w),Wt(_,!0),W&&zo){const Pe=()=>{_.subTree=Jo(_),zo(W,_.subTree,_,A,null)};me?w.type.__asyncLoader().then(()=>!_.isUnmounted&&Pe()):Pe()}else{const Pe=_.subTree=Jo(_);y(null,Pe,R,x,_,A,I),w.el=Pe.el}if(ne&&He(ne,A),!me&&(B=U&&U.onVnodeMounted)){const Pe=w;He(()=>Ge(B,ce,Pe),A)}(w.shapeFlag&256||ce&&En(ce.vnode)&&ce.vnode.shapeFlag&256)&&_.a&&He(_.a,A),_.isMounted=!0,w=R=x=null}},N=_.effect=new ns(k,ze,()=>So(L),_.scope),L=_.update=()=>{N.dirty&&N.run()};L.id=_.uid,Wt(_,!0),L()},z=(_,w,R)=>{w.component=_;const x=_.vnode.props;_.vnode=w,_.next=null,mp(_,w.props,x,R),yp(_,w.children,R),cn(),Zs(_),un()},F=(_,w,R,x,A,I,$,k,N=!1)=>{const L=_&&_.children,B=_?_.shapeFlag:0,W=w.children,{patchFlag:U,shapeFlag:Z}=w;if(U>0){if(U&128){yr(L,W,R,x,A,I,$,k,N);return}else if(U&256){gt(L,W,R,x,A,I,$,k,N);return}}Z&8?(B&16&&_t(L,A,I),W!==L&&u(R,W)):B&16?Z&16?yr(L,W,R,x,A,I,$,k,N):_t(L,A,I,!0):(B&8&&u(R,""),Z&16&&j(W,R,x,A,I,$,k,N))},gt=(_,w,R,x,A,I,$,k,N)=>{_=_||gn,w=w||gn;const L=_.length,B=w.length,W=Math.min(L,B);let U;for(U=0;U<W;U++){const Z=w[U]=N?Ot(w[U]):We(w[U]);y(_[U],Z,R,null,A,I,$,k,N)}L>B?_t(_,A,I,!0,!1,W):j(w,R,x,A,I,$,k,N,W)},yr=(_,w,R,x,A,I,$,k,N)=>{let L=0;const B=w.length;let W=_.length-1,U=B-1;for(;L<=W&&L<=U;){const Z=_[L],ne=w[L]=N?Ot(w[L]):We(w[L]);if(It(Z,ne))y(Z,ne,R,null,A,I,$,k,N);else break;L++}for(;L<=W&&L<=U;){const Z=_[W],ne=w[U]=N?Ot(w[U]):We(w[U]);if(It(Z,ne))y(Z,ne,R,null,A,I,$,k,N);else break;W--,U--}if(L>W){if(L<=U){const Z=U+1,ne=Z<B?w[Z].el:x;for(;L<=U;)y(null,w[L]=N?Ot(w[L]):We(w[L]),R,ne,A,I,$,k,N),L++}}else if(L>U)for(;L<=W;)it(_[L],A,I,!0),L++;else{const Z=L,ne=L,ce=new Map;for(L=ne;L<=U;L++){const je=w[L]=N?Ot(w[L]):We(w[L]);je.key!=null&&ce.set(je.key,L)}let me,Pe=0;const Xe=U-ne+1;let hn=!1,Vs=0;const $n=new Array(Xe);for(L=0;L<Xe;L++)$n[L]=0;for(L=Z;L<=W;L++){const je=_[L];if(Pe>=Xe){it(je,A,I,!0);continue}let st;if(je.key!=null)st=ce.get(je.key);else for(me=ne;me<=U;me++)if($n[me-ne]===0&&It(je,w[me])){st=me;break}st===void 0?it(je,A,I,!0):($n[st-ne]=L+1,st>=Vs?Vs=st:hn=!0,y(je,w[st],R,null,A,I,$,k,N),Pe++)}const js=hn?Tp($n):gn;for(me=js.length-1,L=Xe-1;L>=0;L--){const je=ne+L,st=w[je],Fs=je+1<B?w[je+1].el:x;$n[L]===0?y(null,st,R,Fs,A,I,$,k,N):hn&&(me<0||L!==js[me]?Gt(st,R,Fs,2):me--)}}},Gt=(_,w,R,x,A=null)=>{const{el:I,type:$,transition:k,children:N,shapeFlag:L}=_;if(L&6){Gt(_.component.subTree,w,R,x);return}if(L&128){_.suspense.move(w,R,x);return}if(L&64){$.move(_,w,R,pn);return}if($===we){r(I,w,R);for(let W=0;W<N.length;W++)Gt(N[W],w,R,x);r(_.anchor,w,R);return}if($===jn){g(_,w,R);return}if(x!==2&&L&1&&k)if(x===0)k.beforeEnter(I),r(I,w,R),He(()=>k.enter(I),A);else{const{leave:W,delayLeave:U,afterLeave:Z}=k,ne=()=>r(I,w,R),ce=()=>{W(I,()=>{ne(),Z&&Z()})};U?U(I,ne,ce):ce()}else r(I,w,R)},it=(_,w,R,x=!1,A=!1)=>{const{type:I,props:$,ref:k,children:N,dynamicChildren:L,shapeFlag:B,patchFlag:W,dirs:U}=_;if(k!=null&&Qr(k,null,R,_,!0),B&256){w.ctx.deactivate(_);return}const Z=B&1&&U,ne=!En(_);let ce;if(ne&&(ce=$&&$.onVnodeBeforeUnmount)&&Ge(ce,w,_),B&6)Mf(_.component,R,x);else{if(B&128){_.suspense.unmount(R,x);return}Z&&lt(_,null,w,"beforeUnmount"),B&64?_.type.remove(_,w,R,A,pn,x):L&&(I!==we||W>0&&W&64)?_t(L,w,R,!1,!0):(I===we&&W&384||!A&&B&16)&&_t(N,w,R),x&&Hs(_)}(ne&&(ce=$&&$.onVnodeUnmounted)||Z)&&He(()=>{ce&&Ge(ce,w,_),Z&&lt(_,null,w,"unmounted")},R)},Hs=_=>{const{type:w,el:R,anchor:x,transition:A}=_;if(w===we){$f(R,x);return}if(w===jn){C(_);return}const I=()=>{o(R),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(_.shapeFlag&1&&A&&!A.persisted){const{leave:$,delayLeave:k}=A,N=()=>$(R,I);k?k(_.el,I,N):N()}else I()},$f=(_,w)=>{let R;for(;_!==w;)R=d(_),o(_),_=R;o(w)},Mf=(_,w,R)=>{const{bum:x,scope:A,update:I,subTree:$,um:k}=_;x&&$r(x),A.stop(),I&&(I.active=!1,it($,_,w,R)),k&&He(k,w),He(()=>{_.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},_t=(_,w,R,x=!1,A=!1,I=0)=>{for(let $=I;$<_.length;$++)it(_[$],w,R,x,A)},vr=_=>_.shapeFlag&6?vr(_.component.subTree):_.shapeFlag&128?_.suspense.next():d(_.anchor||_.el);let Go=!1;const Bs=(_,w,R)=>{_==null?w._vnode&&it(w._vnode,null,null,!0):y(w._vnode||null,_,w,null,null,null,R),Go||(Go=!0,Zs(),Jr(),Go=!1),w._vnode=_},pn={p:y,um:it,m:Gt,r:Hs,mt:ie,mc:j,pc:F,pbc:M,n:vr,o:e};let Wo,zo;return t&&([Wo,zo]=t(pn)),{render:Bs,hydrate:Wo,createApp:pp(Bs,Wo)}}function Zo({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Wt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Lc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Oc(e,t,n=!1){const r=e.children,o=t.children;if(q(r)&&q(o))for(let i=0;i<r.length;i++){const s=r[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=Ot(o[i]),l.el=s.el),n||Oc(s,l)),l.type===xn&&(l.el=s.el)}}function Tp(e){const t=e.slice(),n=[0];let r,o,i,s,l;const a=e.length;for(r=0;r<a;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)l=i+s>>1,e[n[l]]<c?i=l+1:s=l;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function kc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:kc(t)}const Pp=e=>e.__isTeleport,we=Symbol.for("v-fgt"),xn=Symbol.for("v-txt"),ot=Symbol.for("v-cmt"),jn=Symbol.for("v-stc"),Fn=[];let qe=null;function Y(e=!1){Fn.push(qe=e?null:[])}function Ic(){Fn.pop(),qe=Fn[Fn.length-1]||null}let An=1;function dl(e){An+=e}function Nc(e){return e.dynamicChildren=An>0?qe||gn:null,Ic(),An>0&&qe&&qe.push(e),e}function ae(e,t,n,r,o,i){return Nc(G(e,t,n,r,o,i,!0))}function Ne(e,t,n,r,o){return Nc(J(e,t,n,r,o,!0))}function Zn(e){return e?e.__v_isVNode===!0:!1}function It(e,t){return e.type===t.type&&e.key===t.key}const Lo="__vInternal",Dc=({key:e})=>e??null,Hr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ge(e)||Oe(e)||X(e)?{i:be,r:e,k:t,f:!!n}:e:null);function G(e,t=null,n=null,r=0,o=null,i=e===we?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Dc(t),ref:t&&Hr(t),scopeId:xo,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:be};return l?(vs(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=ge(n)?8:16),An>0&&!s&&qe&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&qe.push(a),a}const J=Sp;function Sp(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===ac)&&(e=ot),Zn(e)){const l=Ln(e,t,!0);return n&&vs(l,n),An>0&&!i&&qe&&(l.shapeFlag&6?qe[qe.indexOf(e)]=l:qe.push(l)),l.patchFlag|=-2,l}if($p(e)&&(e=e.__vccOpts),t){t=ys(t);let{class:l,style:a}=t;l&&!ge(l)&&(t.class=Ee(l)),de(a)&&(Ja(a)&&!q(a)&&(a=Le({},a)),t.style=Zt(a))}const s=ge(e)?1:Vd(e)?128:Pp(e)?64:de(e)?4:X(e)?2:0;return G(e,t,n,r,o,s,i,!0)}function ys(e){return e?Ja(e)||Lo in e?Le({},e):e:null}function Ln(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,l=t?Oo(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Dc(l),ref:t&&t.ref?n&&o?q(o)?o.concat(Hr(t)):[o,Hr(t)]:Hr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ln(e.ssContent),ssFallback:e.ssFallback&&Ln(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ke(e=" ",t=0){return J(xn,null,e,t)}function Rp(e,t){const n=J(jn,null,e);return n.staticCount=t,n}function ut(e="",t=!1){return t?(Y(),Ne(ot,null,e)):J(ot,null,e)}function We(e){return e==null||typeof e=="boolean"?J(ot):q(e)?J(we,null,e.slice()):typeof e=="object"?Ot(e):J(xn,null,String(e))}function Ot(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ln(e)}function vs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),vs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Lo in t)?t._ctx=be:o===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:be},n=32):(t=String(t),r&64?(n=16,t=[ke(t)]):n=8);e.children=t,e.shapeFlag|=n}function Oo(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Ee([t.class,r.class]));else if(o==="style")t.style=Zt([t.style,r.style]);else if(ur(o)){const i=t[o],s=r[o];s&&i!==s&&!(q(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function Ge(e,t,n,r=null){tt(e,t,7,[n,r])}const xp=wc();let Ap=0;function Lp(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||xp,i={uid:Ap++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Da(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Pc(r,o),emitsOptions:ic(r,o),emit:null,emitted:null,propsDefaults:he,inheritAttrs:r.inheritAttrs,ctx:he,data:he,props:he,attrs:he,slots:he,refs:he,setupState:he,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=Id.bind(null,i),e.ce&&e.ce(i),i}let Ce=null;const ko=()=>Ce||be;let Zr,Si;{const e=Oa(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};Zr=t("__VUE_INSTANCE_SETTERS__",n=>Ce=n),Si=t("__VUE_SSR_SETTERS__",n=>pr=n)}const sn=e=>{const t=Ce;return Zr(e),e.scope.on(),()=>{e.scope.off(),Zr(t)}},Ri=()=>{Ce&&Ce.scope.off(),Zr(null)};function $c(e){return e.vnode.shapeFlag&4}let pr=!1;function Op(e,t=!1){t&&Si(t);const{props:n,children:r}=e.vnode,o=$c(e);hp(e,n,o,t),_p(e,r);const i=o?kp(e,t):void 0;return t&&Si(!1),i}function kp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ya(new Proxy(e.ctx,ip));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Np(e):null,i=sn(e);cn();const s=Dt(r,e,0,[e.props,o]);if(un(),i(),es(s)){if(s.then(Ri,Ri),t)return s.then(l=>{xi(e,l,t)}).catch(l=>{In(l,e,0)});e.asyncDep=s}else xi(e,s,t)}else Mc(e,t)}function xi(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=ec(t)),Mc(e,n)}let pl;function Mc(e,t,n){const r=e.type;if(!e.render){if(!t&&pl&&!r.render){const o=r.template||gs(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Le(Le({isCustomElement:i,delimiters:l},s),a);r.render=pl(o,c)}}e.render=r.render||ze}{const o=sn(e);cn();try{lp(e)}finally{un(),o()}}}function Ip(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ve(e,"get","$attrs"),t[n]}}))}function Np(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Ip(e)},slots:e.slots,emit:e.emit,expose:t}}function Io(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ec(Ya(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Vn)return Vn[n](e)},has(t,n){return n in t||n in Vn}}))}function Dp(e,t=!0){return X(e)?e.displayName||e.name:e.name||t&&e.__name}function $p(e){return X(e)&&"__vccOpts"in e}const Ke=(e,t)=>Cd(e,t,pr);function eo(e,t,n){const r=arguments.length;return r===2?de(t)&&!q(t)?Zn(t)?J(e,null,[t]):J(e,t):J(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Zn(n)&&(n=[n]),J(e,t,n))}const Hc="3.4.21";/**
20
- * @vue/runtime-dom v3.4.21
21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
22
- * @license MIT
23
- **/const Mp="http://www.w3.org/2000/svg",Hp="http://www.w3.org/1998/Math/MathML",kt=typeof document<"u"?document:null,hl=kt&&kt.createElement("template"),Bp={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 o=t==="svg"?kt.createElementNS(Mp,e):t==="mathml"?kt.createElementNS(Hp,e):kt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>kt.createTextNode(e),createComment:e=>kt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>kt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{hl.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=hl.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Vp=Symbol("_vtc");function jp(e,t,n){const r=e[Vp];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ml=Symbol("_vod"),Fp=Symbol("_vsh"),Up=Symbol(""),Gp=/(^|;)\s*display\s*:/;function Wp(e,t,n){const r=e.style,o=ge(n);let i=!1;if(n&&!o){if(t)if(ge(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();n[l]==null&&Br(r,l,"")}else for(const s in t)n[s]==null&&Br(r,s,"");for(const s in n)s==="display"&&(i=!0),Br(r,s,n[s])}else if(o){if(t!==n){const s=r[Up];s&&(n+=";"+s),r.cssText=n,i=Gp.test(n)}}else t&&e.removeAttribute("style");ml in e&&(e[ml]=i?r.display:"",e[Fp]&&(r.display="none"))}const gl=/\s*!important$/;function Br(e,t,n){if(q(n))n.forEach(r=>Br(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=zp(e,t);gl.test(n)?e.setProperty(an(r),n.replace(gl,""),"important"):e[r]=n}}const _l=["Webkit","Moz","ms"],ei={};function zp(e,t){const n=ei[t];if(n)return n;let r=pt(t);if(r!=="filter"&&r in e)return ei[t]=r;r=To(r);for(let o=0;o<_l.length;o++){const i=_l[o]+r;if(i in e)return ei[t]=i}return t}const yl="http://www.w3.org/1999/xlink";function qp(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(yl,t.slice(6,t.length)):e.setAttributeNS(yl,t,n);else{const i=Qf(t);n==null||i&&!Ia(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Kp(e,t,n,r,o,i,s){if(t==="innerHTML"||t==="textContent"){r&&s(r,o,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const c=l==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Ia(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function Bc(e,t,n,r){e.addEventListener(t,n,r)}function Jp(e,t,n,r){e.removeEventListener(t,n,r)}const vl=Symbol("_vei");function Yp(e,t,n,r,o=null){const i=e[vl]||(e[vl]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=Xp(t);if(r){const c=i[t]=eh(r,o);Bc(e,l,c,a)}else s&&(Jp(e,l,s,a),i[t]=void 0)}}const bl=/(?:Once|Passive|Capture)$/;function Xp(e){let t;if(bl.test(e)){t={};let r;for(;r=e.match(bl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):an(e.slice(2)),t]}let ti=0;const Qp=Promise.resolve(),Zp=()=>ti||(Qp.then(()=>ti=0),ti=Date.now());function eh(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;tt(th(r,n.value),t,5,[r])};return n.value=e,n.attached=Zp(),n}function th(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const wl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,nh=(e,t,n,r,o,i,s,l,a)=>{const c=o==="svg";t==="class"?jp(e,r,c):t==="style"?Wp(e,n,r):ur(t)?Qi(t)||Yp(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rh(e,t,r,c))?Kp(e,t,r,i,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),qp(e,t,r,c))};function rh(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&wl(t)&&X(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return wl(t)&&ge(n)?!1:t in e}const El=e=>{const t=e.props["onUpdate:modelValue"]||!1;return q(t)?n=>$r(t,n):t},ni=Symbol("_assign"),oh={created(e,{value:t},n){e.checked=zr(t,n.props.value),e[ni]=El(n),Bc(e,"change",()=>{e[ni](ih(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ni]=El(r),t!==n&&(e.checked=zr(t,r.props.value))}};function ih(e){return"_value"in e?e._value:e.value}const sh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},lh=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=an(o.key);if(t.some(s=>s===i||sh[s]===i))return e(o)})},Vc=Le({patchProp:nh},Bp);let Un,Cl=!1;function ah(){return Un||(Un=Ep(Vc))}function ch(){return Un=Cl?Un:Cp(Vc),Cl=!0,Un}const jc=(...e)=>{const t=ah().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Uc(r);if(!o)return;const i=t._component;!X(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,Fc(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},uh=(...e)=>{const t=ch().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Uc(r);if(o)return n(o,!0,Fc(o))},t};function Fc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Uc(e){return ge(e)?document.querySelector(e):e}const fh=/"(?:_|\\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*:/,dh=/"(?: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*:/,ph=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function hh(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){mh(e);return}return t}function mh(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function to(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;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(!ph.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(fh.test(e)||dh.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,hh)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const gh=/#/g,_h=/&/g,yh=/\//g,vh=/=/g,bs=/\+/g,bh=/%5e/gi,wh=/%60/gi,Eh=/%7c/gi,Ch=/%20/gi;function Th(e){return encodeURI(""+e).replace(Eh,"|")}function Ai(e){return Th(typeof e=="string"?e:JSON.stringify(e)).replace(bs,"%2B").replace(Ch,"+").replace(gh,"%23").replace(_h,"%26").replace(wh,"`").replace(bh,"^").replace(yh,"%2F")}function ri(e){return Ai(e).replace(vh,"%3D")}function no(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Ph(e){return no(e.replace(bs," "))}function Sh(e){return no(e.replace(bs," "))}function ws(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 o=Ph(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=Sh(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function Rh(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ri(e)}=${Ai(n)}`).join("&"):`${ri(e)}=${Ai(t)}`:ri(e)}function Gc(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Rh(t,e[t])).filter(Boolean).join("&")}const xh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Ah=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Lh=/^([/\\]\s*){2,}[^/\\]/,Oh=/^[\s\0]*(blob|data|javascript|vbscript):$/i,kh=/\/$|\/\?|\/#/,Ih=/^\.?\//;function Ft(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?xh.test(e):Ah.test(e)||(t.acceptRelative?Lh.test(e):!1)}function Nh(e){return!!e&&Oh.test(e)}function Li(e="",t){return t?kh.test(e):e.endsWith("/")}function No(e="",t){if(!t)return(Li(e)?e.slice(0,-1):e)||"/";if(!Li(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function ro(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Li(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function Dh(e=""){return e.startsWith("/")}function Tl(e=""){return Dh(e)?e:"/"+e}function $h(e,t){if(zc(t)||Ft(e))return e;const n=No(t);return e.startsWith(n)?e:hr(n,e)}function Mh(e,t){if(zc(t))return e;const n=No(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Wc(e,t){const n=Nn(e),r={...ws(n.search),...t};return n.search=Gc(r),Jc(n)}function zc(e){return!e||e==="/"}function Hh(e){return e&&e!=="/"}function hr(e,...t){let n=e||"";for(const r of t.filter(o=>Hh(o)))if(n){const o=r.replace(Ih,"");n=ro(n)+o}else n=r;return n}function qc(...e){var s,l,a,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&Ft(r[0]))continue;r.pop(),o--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),o++}}let i=r.join("/");return o>=0?(l=n[0])!=null&&l.startsWith("/")&&!i.startsWith("/")?i="/"+i:(a=n[0])!=null&&a.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,(c=n[n.length-1])!=null&&c.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function Bh(e,t,n={}){return n.trailingSlash||(e=ro(e),t=ro(t)),n.leadingSlash||(e=Tl(e),t=Tl(t)),n.encoding||(e=no(e),t=no(t)),e===t}const Kc=Symbol.for("ufo:protocolRelative");function Nn(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Ft(e,{acceptRelative:!0}))return t?Nn(t+e):Pl(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=Pl(l.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:a,search:c,hash:u,[Kc]:!r}}function Pl(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Jc(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Kc]?(e.protocol||"")+"//":"")+o+i+t+n+r}class Vh extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function jh(e){var a,c,u,f,d;const t=((a=e.error)==null?void 0:a.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,l=new Vh(s,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(l,p,{get(){return e[p]}});for(const[p,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,p,{get(){return e.response&&e.response[h]}});return l}const Fh=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Sl(e="GET"){return Fh.has(e.toUpperCase())}function Uh(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.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Gh=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Wh=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function zh(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Wh.test(t)?"json":Gh.has(t)||t.startsWith("text/")?"text":"blob"}function qh(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,i]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,i)}return r}const Kh=new Set([408,409,425,429,500,502,503,504]),Jh=new Set([101,204,205,304]);function Yc(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let u;typeof l.options.retry=="number"?u=l.options.retry:u=Sl(l.options.method)?0:1;const f=l.response&&l.response.status||500;if(u>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(f):Kh.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(l.request,{...l.options,retry:u-1})}}const c=jh(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(a,c={}){var p;const u={request:a,options:qh(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(p=u.options.method)==null?void 0:p.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=$h(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Wc(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Sl(u.options.method)&&(Uh(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const h=new r;f=setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!Jh.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||zh(u.response.headers.get("content-type")||"");switch(h){case"json":{const y=await u.response.text(),v=u.options.parseResponse||to;u.response._data=v(y);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},s=async function(a,c){return(await i(a,c))._data};return s.raw=i,s.native=(...l)=>t(...l),s.create=(l={})=>Yc({...e,defaults:{...e.defaults,...l}}),s}const Es=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")}(),Yh=Es.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Xh=Es.Headers,Qh=Es.AbortController,Zh=Yc({fetch:Yh,Headers:Xh,AbortController:Qh}),em=Zh,tm=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},oo=tm().app,nm=()=>oo.baseURL,rm=()=>oo.buildAssetsDir,Cs=(...e)=>qc(Xc(),rm(),...e),Xc=(...e)=>{const t=oo.cdnURL||oo.baseURL;return e.length?qc(t,...e):t};globalThis.__buildAssetsURL=Cs,globalThis.__publicAssetsURL=Xc;globalThis.$fetch||(globalThis.$fetch=em.create({baseURL:nm()}));function Oi(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Oi(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const om={run:e=>e()},im=()=>om,Qc=typeof console.createTask<"u"?console.createTask:im;function sm(e,t){const n=t.shift(),r=Qc(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function lm(e,t){const n=t.shift(),r=Qc(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function oi(e,t){for(const n of[...e])n(t)}class am{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 o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}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,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),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 o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Oi(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Oi(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(sm,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(lm,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&oi(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&oi(this._after,o)}):(this._after&&o&&oi(this._after,o),i)}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 Zc(){return new am}function cm(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&t===void 0){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,l)=>{l||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,l)=>{r(s),t=s;try{return o?o.run(s,l):l()}finally{n||(t=void 0)}},async callAsync(s,l){t=s;const a=()=>{t=s},c=()=>t===s?a:void 0;ki.add(c);try{const u=o?o.run(s,l):l();return n||(t=void 0),await u}finally{ki.delete(c)}}}}function um(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=cm({...e,...r})),t[n],t[n]}}}const io=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Rl="__unctx__",fm=io[Rl]||(io[Rl]=um()),dm=(e,t={})=>fm.get(e,t),xl="__unctx_async_handlers__",ki=io[xl]||(io[xl]=new Set);function eu(e){const t=[];for(const o of ki){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const tu=dm("nuxt-app",{asyncContext:!1}),pm="__nuxt_plugin";function hm(e){let t=0;const n={_scope:ed(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:Ct({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>_m(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Zc(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;xr(n,s,i),xr(n.vueApp.config.globalProperties,s,i)},xr(n.vueApp,"$nuxt",n),xr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||ye;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}async function mm(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){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 gm(e,t){const n=[],r=[],o=[],i=[];let s=0;async function l(a){var u;const c=((u=a.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),a]);else{const f=mm(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([d,p])=>{d.has(a._name)&&(d.delete(a._name),d.size===0&&(s++,await l(p)))})))});a.parallel?o.push(f.catch(d=>i.push(d))):await f}}for(const a of t)await l(a);if(await Promise.all(o),s)for(let a=0;a<s;a++)await Promise.all(o);if(i.length)throw i[0]}function mt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[pm]:!0,_name:t})}function _m(e,t,n){const r=()=>n?t(...n):t();return tu.set(e),e.vueApp.runWithContext(r)}function ym(){var t;let e;return Cc()&&(e=(t=ko())==null?void 0:t.appContext.app.$nuxt),e=e||tu.tryUse(),e||null}function ye(){const e=ym();if(!e)throw new Error("[nuxt] instance unavailable");return e}function er(e){return ye().$config}function xr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function vm(e,t){return{ctx:{table:e},matchAll:n=>ru(n,e,t)}}function nu(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,nu(o)])):new Map(Object.entries(e[n]));return t}function bm(e){return vm(nu(e))}function ru(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of Al(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of Al(t.dynamic))if(e.startsWith(i+"/")){const l="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...ru(l,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function Al(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ii(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Ii(e,t,n=".",r){if(!ii(t))return Ii(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:ii(s)&&ii(o[i])?o[i]=Ii(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function ou(e){return(...t)=>t.reduce((n,r)=>Ii(n,r,"",e),{})}const wm=ou(),Em=ou((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Cm(e,t){try{return t in e}catch{return!1}}var Tm=Object.defineProperty,Pm=(e,t,n)=>t in e?Tm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qt=(e,t,n)=>(Pm(e,typeof t!="symbol"?t+"":t,n),n);class Ni extends Error{constructor(t,n={}){super(t,n),qt(this,"statusCode",500),qt(this,"fatal",!1),qt(this,"unhandled",!1),qt(this,"statusMessage"),qt(this,"data"),qt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Di(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=iu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}qt(Ni,"__h3_error__",!0);function Sm(e){if(typeof e=="string")return new Ni(e);if(Rm(e))return e;const t=new Ni(e.message??e.statusMessage??"",{cause:e.cause||e});if(Cm(e,"stack"))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=Di(e.statusCode,t.statusCode):e.status&&(t.statusCode=Di(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;iu(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 Rm(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const xm=/[^\u0009\u0020-\u007E]/g;function iu(e=""){return e.replace(xm,"")}function Di(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const su=Symbol("route"),Ut=()=>{var e;return(e=ye())==null?void 0:e.$router},lu=()=>Cc()?Tn(su,ye()._route):ye()._route;const Am=()=>{try{if(ye()._processingMiddleware)return!0}catch{return!1}return!1},au=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Wc(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){const{target:l="_blank",windowFeatures:a={}}=t.open,c=Object.entries(a).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");return open(n,l,c),Promise.resolve()}const r=(t==null?void 0:t.external)||Ft(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const l=Nn(n).protocol;if(l&&Nh(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=Am();if(!r&&o)return e;const i=Ut(),s=ye();return r?(s._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)},cu="__nuxt_error",Ts=()=>tc(ye().payload,"error"),Lm=e=>{const t=Ps(e);try{const n=ye(),r=Ts();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Om=async(e={})=>{const t=ye(),n=Ts();t.callHook("app:error:cleared",e),e.redirect&&await Ut().replace(e.redirect),n.value=null},km=e=>!!e&&typeof e=="object"&&cu in e,Ps=e=>{const t=Sm(e);return Object.defineProperty(t,cu,{value:!0,configurable:!1,writable:!1}),t},Im="modulepreload",Nm=function(e,t){return e[0]==="."?new URL(e,t).href:e},Ll={},Dm=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=Nm(a,r),a in Ll)return;Ll[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let p=i.length-1;p>=0;p--){const h=i[p];if(h.href===a&&(!c||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":Im,c||(d.as="script",d.crossOrigin=""),d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((p,h)=>{d.addEventListener("load",p),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})},m=(...e)=>Dm(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),$m=-1,Mm=-2,Hm=-3,Bm=-4,Vm=-5,jm=-6;function Fm(e,t){return Um(JSON.parse(e),t)}function Um(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(i,s=!1){if(i===$m)return;if(i===Hm)return NaN;if(i===Bm)return 1/0;if(i===Vm)return-1/0;if(i===jm)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],c=t==null?void 0:t[a];if(c)return r[i]=c(o(l[1]));switch(a){case"Date":r[i]=new Date(l[1]);break;case"Set":const u=new Set;r[i]=u;for(let p=1;p<l.length;p+=1)u.add(o(l[p]));break;case"Map":const f=new Map;r[i]=f;for(let p=1;p<l.length;p+=2)f.set(o(l[p]),o(l[p+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":r[i]=Object(l[1]);break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=o(l[p+1]);break;default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);r[i]=a;for(let c=0;c<l.length;c+=1){const u=l[c];u!==Mm&&(a[c]=o(u))}}else{const a={};r[i]=a;for(const c in l){const u=l[c];a[c]=o(u)}}return r[i]}return o(0)}function Gm(e){return Array.isArray(e)?e:[e]}const Wm=["title","titleTemplate","script","style","noscript"],Vr=["base","meta","link","style","script","noscript"],zm=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],qm=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],uu=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Km=typeof window<"u";function Ss(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 Ol(e){return e._h||Ss(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function fu(e,t){const{props:n,tag:r}=e;if(qm.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const i of o)if(typeof n[i]<"u"){const s=String(n[i]);return t&&!t(s)?!1:`${r}:${i}:${s}`}return!1}function kl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Jm(e,t,n){const r={tag:e,props:await du(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return uu.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||Wm.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=i),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function Ym(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,o])=>e==="style"?`${r}:${o}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function du(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Ym(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!uu.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const Xm=10;async function Qm(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&zm.includes(n)).forEach(([n,r])=>{const o=Gm(r);t.push(...o.map(i=>Jm(n,i,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<Xm)+r,n))}const Il={base:-10,title:10},Nl={critical:-80,high:-10,low:20};function so(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in Il&&(t=Il[e.tag]),typeof n=="string"&&n in Nl?t+Nl[n]:t)}const Zm=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Dl=["onload","onerror","onabort","onprogress","onloadstart"],Rt="%separator";function jr(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(s){let l;return["s","pageTitle"].includes(s)?l=t.pageTitle:s.includes(".")?l=s.split(".").reduce((a,c)=>a&&a[c]||void 0,t):l=t[s],typeof l<"u"?(l||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const l=r(s.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(a,c)=>`${l}${c}`).trim())}),e.includes(Rt)&&(e.endsWith(Rt)&&(e=e.slice(0,-Rt.length).trim()),e.startsWith(Rt)&&(e=e.slice(Rt.length).trim()),e=e.replace(new RegExp(`\\${Rt}\\s*\\${Rt}`,"g"),Rt),e=jr(e,{separator:n},n)),e}async function pu(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:Vr.includes(f.tag)?Ol(f):f.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,p=[];for(const h of[...d].filter(y=>Vr.includes(y.tagName.toLowerCase()))){const y={tag:h.tagName.toLowerCase(),props:await du(h.getAttributeNames().reduce((P,g)=>({...P,[g]:h.getAttribute(g)}),{})),innerHTML:h.innerHTML};let v=1,E=fu(y);for(;E&&p.find(P=>P._d===E);)E=`${E}:${v++}`;y._d=E||void 0,p.push(y),i.elMap[h.getAttribute("data-hid")||Ol(y)]=h}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,p){const h=`${f}:${d}`;i.sideEffects[h]=p,delete i.pendingSideEffects[h]}function l({id:f,$el:d,tag:p}){const h=p.tag.endsWith("Attrs");i.elMap[f]=d,h||(["textContent","innerHTML"].forEach(y=>{p[y]&&p[y]!==d[y]&&(d[y]=p[y])}),s(f,"el",()=>{var y;(y=i.elMap[f])==null||y.remove(),delete i.elMap[f]}));for(const[y,v]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${y}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(y.replace("on",""),v.bind(d)),d.setAttribute(`data-${y}`,""));Object.entries(p.props).forEach(([y,v])=>{const E=`attr:${y}`;if(y==="class")for(const P of(v||"").split(" ").filter(Boolean))h&&s(f,`${E}:${P}`,()=>d.classList.remove(P)),!d.classList.contains(P)&&d.classList.add(P);else if(y==="style")for(const P of(v||"").split(";").filter(Boolean)){const[g,...C]=P.split(":").map(T=>T.trim());s(f,`${E}:${P}:${g}`,()=>{d.style.removeProperty(g)}),d.style.setProperty(g,C.join(":"))}else d.getAttribute(y)!==v&&d.setAttribute(y,v===!0?"":String(v)),h&&s(f,E,()=>d.removeAttribute(y))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:h}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[h],f.$el?l(f):Vr.includes(d.tag)&&a.push(f)}}for(const f of a){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,s);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(i.pendingSideEffects).forEach(f=>f()),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function eg(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await pu(e,t),delete e._domUpdatePromise,r()}))}function tg(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(i){eg(i,e)}}}}}const ng=["templateParams","htmlAttrs","bodyAttrs"],rg={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=fu(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,i=t[o];if(i){let l=r==null?void 0:r.tagDuplicateStrategy;if(!l&&ng.includes(r.tag)&&(l="merge"),l==="merge"){const a=i.props;["class","style"].forEach(c=>{a[c]&&(r.props[c]?(c==="style"&&!a[c].endsWith(";")&&(a[c]+=";"),r.props[c]=`${a[c]} ${r.props[c]}`):r.props[c]=a[c])}),t[o].props={...a,...r.props};return}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);return}else if(so(r)>so(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Vr.includes(r.tag)&&s===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},og={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},ig=["script","link","bodyAttrs"],sg=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>ig.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&Dl.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Ss(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,o;for(const i of Object.keys((t==null?void 0:t.dataset)||{}).filter(s=>Dl.some(l=>`${l}fired`===s))){const s=i.replace("fired","");(o=(r=n._eventHandlers)==null?void 0:r[s])==null||o.call(t,new Event(s.replace("on","")))}}}}),lg=["link","style","script","noscript"],ag={hooks:{"tag:normalise":({tag:e})=>{e.key&&lg.includes(e.tag)&&(e.props["data-hid"]=e._h=Ss(e.key))}}},cg={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of Zm)for(const o of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=t(o.tagPriority.replace(n,""));typeof i<"u"&&(o._p=i+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>so(n)-so(r))}}},ug={meta:"content",link:"href",htmlAttrs:"lang"},fg=e=>({hooks:{"tags:resolve":t=>{var l;const{tags:n}=t,r=(l=n.find(a=>a.tag==="title"))==null?void 0:l.textContent,o=n.findIndex(a=>a.tag==="templateParams"),i=o!==-1?n[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=jr(i.pageTitle||r||"",i,s);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=ug[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=jr(a.props[c],i,s):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=jr(a[u],i,s))})}e._templateParams=i,e._separator=s,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),dg={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=kl(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=kl(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},pg={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let hu;function hg(e={}){const t=mg(e);return t.use(tg()),hu=t}function $l(e,t){return!e||e==="server"&&t||e==="client"&&!t}function mg(e={}){const t=Zc();t.addHooks(e.hooks||{}),e.document=e.document||(Km?document:void 0);const n=!e.document,r=()=>{l.dirty=!0,t.callHook("entries:updated",l)};let o=0,i=[];const s=[],l={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(a){const c=typeof a=="function"?a(l):a;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),$l(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return $l(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),t.callHook("entries:updated",l),r()},patch(f){i=i.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const a={tags:[],entries:[...i]};await t.callHook("entries:resolve",a);for(const c of a.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await Qm(c)){const d={tag:f,entry:c,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",d),a.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a),a.tags},ssr:n};return[rg,og,sg,ag,cg,fg,dg,pg,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function gg(){return hu}const _g=Hc.startsWith("3");function yg(e){return typeof e=="function"?e():fe(e)}function lo(e,t=""){if(e instanceof Promise)return e;const n=yg(e);return!e||!n?n:Array.isArray(n)?n.map(r=>lo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,fe(o)]:[r,lo(o,r)])):n}const vg={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=lo(t.input)}}},mu="usehead";function bg(e){return{install(n){_g&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(mu,e))}}.install}function wg(e={}){e.domDelayFn=e.domDelayFn||(n=>dr(()=>setTimeout(()=>n(),0)));const t=hg(e);return t.use(vg),t.install=bg(t),t}const $i=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Mi="__unhead_injection_handler__";function Eg(e){$i[Mi]=e}function Cg(){if(Mi in $i)return $i[Mi]();const e=Tn(mu);return e||gg()}function Tg(e,t={}){const n=t.head||Cg();if(n)return n.ssr?n.push(e,t):Pg(n,e,t)}function Pg(e,t,n={}){const r=_e(!1),o=_e({});fc(()=>{o.value=r.value?{}:lo(t)});const i=e.push(o.value,n);return $t(o,l=>{i.patch(l)}),ko()&&(ms(()=>{i.dispose()}),hc(()=>{r.value=!0}),pc(()=>{r.value=!1})),i}const Sg={nuxt:{buildId:"44db8727-ca5e-4bca-947f-087248f7cff6"}},Rg=Em(Sg);function gu(){const e=ye();return e._appConfig||(e._appConfig=Ct(Rg)),e._appConfig}const xg={componentName:"NuxtLink"},Ag="#__nuxt";let Fr,_u;function Lg(){var t;const e=(t=gu().nuxt)==null?void 0:t.buildId;return Fr=$fetch(Cs(`builds/meta/${e}.json`)),Fr.then(n=>{_u=bm(n.matcher)}),Fr}function Do(){return Fr||Lg()}async function Rs(e){return await Do(),wm({},..._u.matchAll(e).reverse())}function Ml(e,t={}){const n=kg(e,t),r=ye(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Ig(e).then(i=>i?yu(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const Og="_payload.json";function kg(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Ft(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=gu().nuxt)==null?void 0:o.buildId);return hr(er().app.baseURL,n.pathname,Og+(r?`?${r}`:""))}async function yu(e){const t=fetch(e).then(n=>n.text().then(vu));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Ig(e=lu().path){if(e=No(e),(await Do()).prerendered.includes(e))return!0;const n=await Rs(e);return!!n.prerender&&!n.redirect}let Ar=null;async function Ng(){if(Ar)return Ar;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await vu(e.textContent||""),n=e.dataset.src?await yu(e.dataset.src):void 0;return Ar={...t,...n,...window.__NUXT__},Ar}async function vu(e){return await Fm(e,ye()._payloadRevivers)}function Dg(e,t){ye()._payloadRevivers[e]=t}const Hl={NuxtError:e=>Ps(e),EmptyShallowRef:e=>Qs(e==="_"?void 0:e==="0n"?BigInt(0):to(e)),EmptyRef:e=>_e(e==="_"?void 0:e==="0n"?BigInt(0):to(e)),ShallowRef:e=>Qs(e),ShallowReactive:e=>qa(e),Ref:e=>_e(e),Reactive:e=>Ct(e)},$g=mt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Hl)Dg(r,Hl[r]);Object.assign(e.payload,([t,n]=eu(()=>e.runWithContext(Ng)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Mg=[],Hg=mt({name:"nuxt:head",enforce:"pre",setup(e){const t=wg({plugins:Mg});Eg(()=>ye().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await pu(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}}),Bg=async e=>{let t,n;const r=([t,n]=eu(()=>Rs(e.path)),t=await t,n(),t);if(r.redirect)return Ft(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Vg=[Bg];function si(e){typeof e=="object"&&(e=Jc({pathname:e.path||"",search:Gc(e.query||{}),hash:e.hash||""}));const t=Nn(e.toString());return{path:t.pathname,fullPath:e,query:ws(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const jg=mt({name:"nuxt:router",enforce:"pre",setup(e){const t=Mh(window.location.pathname,er().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),i=er().app.baseURL,s=Ct(si(t));async function l(f,d){try{const p=si(f);for(const h of r["navigate:before"]){const y=await h(p,s);if(y===!1||y instanceof Error)return;if(typeof y=="string"&&y.length)return l(y,!0)}for(const h of r["resolve:before"])await h(p,s);Object.assign(s,p),window.history[d?"replaceState":"pushState"]({},"",hr(i,p.fullPath)),e.isHydrating||await e.runWithContext(Om);for(const h of r["navigate:after"])await h(p,s)}catch(p){for(const h of r.error)await h(p)}}const c={currentRoute:Ke(()=>s),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>l(f,!1),replace:f=>l(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>o("resolve:before",f),beforeEach:f=>o("navigate:before",f),afterEach:f=>o("navigate:after",f),onError:f=>o("error",f),resolve:si,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(p=>p.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Ue({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const p=()=>l(f.to,f.replace);return()=>{var y;const h=c.resolve(f.to);return f.custom?(y=d.default)==null?void 0:y.call(d,{href:f.to,navigate:p,route:h}):eo("a",{href:f.to,onClick:v=>(v.preventDefault(),p())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=Ct(f.meta||{}),e.isHydrating&&u&&!rn(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const p=new Set([...Vg,...e._middleware.global]);{const h=await e.runWithContext(()=>Rs(f.path));if(h.appMiddleware)for(const y in h.appMiddleware){const v=e._middleware.named[y];if(!v)return;h.appMiddleware[y]?p.add(v):p.delete(v)}}for(const h of p){const y=await e.runWithContext(()=>h(f,d));if(y!==!0&&(y||y===!1))return y}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),Bh(s.fullPath,t)||await e.runWithContext(()=>au(s.fullPath))}),{provide:{route:s,router:c}}}}),Hi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Fg=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),xs=e=>{const t=ye();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Hi(e)}):Hi(e)},Ug=mt({name:"nuxt:payload",setup(e){Ut().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Ml(t.path);r&&Object.assign(e.static.data,r.data)}),xs(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Nn(n).protocol||await Ml(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Do,1e3)})}}),Gg=mt(e=>{let t;async function n(){const r=await Do();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const o=await $fetch(Cs("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}xs(()=>{t=setTimeout(n,1e3*60*60)})}),Wg=mt({name:"nuxt:global-components"}),zg="$s";function qg(...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 o=zg+n,i=ye(),s=tc(i.payload.state,o);if(s.value===void 0&&r){const l=r();if(Oe(l))return i.payload.state[o]=l,l;s.value=l}return s}const Kg="__NUXT_COLOR_MODE__",Jg="nuxt-color-mode",yt=window[Kg]||{},Yg=mt(e=>{const t=qg("color-mode",()=>Ct({preference:yt.preference,value:yt.value,unknown:!1,forced:!1})).value;Ut().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?yt.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=yt.getColorScheme())}))}$t(()=>t.preference,o=>{var i;t.forced||(o==="system"?(t.value=yt.getColorScheme(),r()):t.value=o,(i=window.localStorage)==null||i.setItem(Jg,o))},{immediate:!0}),$t(()=>t.value,(o,i)=>{yt.removeColorScheme(i),yt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=yt.preference,t.value=yt.value,t.unknown=!1)}),e.provide("colorMode",t)}),Xg=mt(()=>{});function Qg(e={}){const t=e.path||window.location.pathname;let n={};try{n=to(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0: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:ye().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Zg=mt({name:"nuxt:chunk-reload",setup(e){const t=Ut(),n=er(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const l="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:hr(n.app.baseURL,i.fullPath);Qg({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),e_=["top","right","bottom","left"],Bl=["start","end"],Vl=e_.reduce((e,t)=>e.concat(t,t+"-"+Bl[0],t+"-"+Bl[1]),[]),tr=Math.min,Kt=Math.max,t_={left:"right",right:"left",bottom:"top",top:"bottom"},n_={start:"end",end:"start"};function Bi(e,t,n){return Kt(e,tr(t,n))}function fn(e,t){return typeof e=="function"?e(t):e}function ht(e){return e.split("-")[0]}function nt(e){return e.split("-")[1]}function bu(e){return e==="x"?"y":"x"}function As(e){return e==="y"?"height":"width"}function mr(e){return["top","bottom"].includes(ht(e))?"y":"x"}function Ls(e){return bu(mr(e))}function wu(e,t,n){n===void 0&&(n=!1);const r=nt(e),o=Ls(e),i=As(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=co(s)),[s,co(s)]}function r_(e){const t=co(e);return[ao(e),t,ao(t)]}function ao(e){return e.replace(/start|end/g,t=>n_[t])}function o_(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function i_(e,t,n,r){const o=nt(e);let i=o_(ht(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(ao)))),i}function co(e){return e.replace(/left|right|bottom|top/g,t=>t_[t])}function s_(e){return{top:0,right:0,bottom:0,left:0,...e}}function Eu(e){return typeof e!="number"?s_(e):{top:e,right:e,bottom:e,left:e}}function Gn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function jl(e,t,n){let{reference:r,floating:o}=e;const i=mr(t),s=Ls(t),l=As(s),a=ht(t),c=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[l]/2-o[l]/2;let p;switch(a){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(nt(t)){case"start":p[s]-=d*(n&&c?-1:1);break;case"end":p[s]+=d*(n&&c?-1:1);break}return p}const l_=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=jl(c,r,a),d=r,p={},h=0;for(let y=0;y<l.length;y++){const{name:v,fn:E}=l[y],{x:P,y:g,data:C,reset:T}=await E({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=P??u,f=g??f,p={...p,[v]:{...p[v],...C}},T&&h<=50&&(h++,typeof T=="object"&&(T.placement&&(d=T.placement),T.rects&&(c=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:u,y:f}=jl(c,d,a)),y=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}};async function $o(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=fn(t,e),h=Eu(p),v=l[d?f==="floating"?"reference":"floating":f],E=Gn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),P=f==="floating"?{...s.floating,x:r,y:o}:s.reference,g=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),C=await(i.isElement==null?void 0:i.isElement(g))?await(i.getScale==null?void 0:i.getScale(g))||{x:1,y:1}:{x:1,y:1},T=Gn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:P,offsetParent:g,strategy:a}):P);return{top:(E.top-T.top+h.top)/C.y,bottom:(T.bottom-E.bottom+h.bottom)/C.y,left:(E.left-T.left+h.left)/C.x,right:(T.right-E.right+h.right)/C.x}}const a_=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:c,padding:u=0}=fn(e,t)||{};if(c==null)return{};const f=Eu(u),d={x:n,y:r},p=Ls(o),h=As(p),y=await s.getDimensions(c),v=p==="y",E=v?"top":"left",P=v?"bottom":"right",g=v?"clientHeight":"clientWidth",C=i.reference[h]+i.reference[p]-d[p]-i.floating[h],T=d[p]-i.reference[p],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let D=S?S[g]:0;(!D||!await(s.isElement==null?void 0:s.isElement(S)))&&(D=l.floating[g]||i.floating[h]);const j=C/2-T/2,V=D/2-y[h]/2-1,M=tr(f[E],V),Q=tr(f[P],V),K=M,te=D-y[h]-Q,ie=D/2-y[h]/2+j,le=Bi(K,ie,te),H=!a.arrow&&nt(o)!=null&&ie!==le&&i.reference[h]/2-(ie<K?M:Q)-y[h]/2<0,z=H?ie<K?ie-K:ie-te:0;return{[p]:d[p]+z,data:{[p]:le,centerOffset:ie-le-z,...H&&{alignmentOffset:z}},reset:H}}});function c_(e,t,n){return(e?[...n.filter(o=>nt(o)===e),...n.filter(o=>nt(o)!==e)]:n.filter(o=>ht(o)===o)).filter(o=>e?nt(o)===e||(t?ao(o)!==o:!1):!0)}const u_=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:s,placement:l,platform:a,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=Vl,autoAlignment:p=!0,...h}=fn(e,t),y=f!==void 0||d===Vl?c_(f||null,p,d):d,v=await $o(t,h),E=((n=s.autoPlacement)==null?void 0:n.index)||0,P=y[E];if(P==null)return{};const g=wu(P,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==P)return{reset:{placement:y[0]}};const C=[v[ht(P)],v[g[0]],v[g[1]]],T=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:P,overflows:C}],S=y[E+1];if(S)return{data:{index:E+1,overflows:T},reset:{placement:S}};const D=T.map(M=>{const Q=nt(M.placement);return[M.placement,Q&&u?M.overflows.slice(0,2).reduce((K,te)=>K+te,0):M.overflows[0],M.overflows]}).sort((M,Q)=>M[1]-Q[1]),V=((o=D.filter(M=>M[2].slice(0,nt(M[0])?2:3).every(Q=>Q<=0))[0])==null?void 0:o[0])||D[0][0];return V!==l?{data:{index:E+1,overflows:T},reset:{placement:V}}:{}}}},f_=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:y=!0,...v}=fn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const E=ht(o),P=ht(l)===l,g=await(a.isRTL==null?void 0:a.isRTL(c.floating)),C=d||(P||!y?[co(l)]:r_(l));!d&&h!=="none"&&C.push(...i_(l,y,h,g));const T=[l,...C],S=await $o(t,v),D=[];let j=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&D.push(S[E]),f){const K=wu(o,s,g);D.push(S[K[0]],S[K[1]])}if(j=[...j,{placement:o,overflows:D}],!D.every(K=>K<=0)){var V,M;const K=(((V=i.flip)==null?void 0:V.index)||0)+1,te=T[K];if(te)return{data:{index:K,overflows:j},reset:{placement:te}};let ie=(M=j.filter(le=>le.overflows[0]<=0).sort((le,H)=>le.overflows[1]-H.overflows[1])[0])==null?void 0:M.placement;if(!ie)switch(p){case"bestFit":{var Q;const le=(Q=j.map(H=>[H.placement,H.overflows.filter(z=>z>0).reduce((z,F)=>z+F,0)]).sort((H,z)=>H[1]-z[1])[0])==null?void 0:Q[0];le&&(ie=le);break}case"initialPlacement":ie=l;break}if(o!==ie)return{reset:{placement:ie}}}return{}}}};async function d_(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=ht(n),l=nt(n),a=mr(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&a?-1:1,f=fn(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof h=="number"&&(p=l==="end"?h*-1:h),a?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const p_=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await d_(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},h_=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:v=>{let{x:E,y:P}=v;return{x:E,y:P}}},...a}=fn(e,t),c={x:n,y:r},u=await $o(t,a),f=mr(ht(o)),d=bu(f);let p=c[d],h=c[f];if(i){const v=d==="y"?"top":"left",E=d==="y"?"bottom":"right",P=p+u[v],g=p-u[E];p=Bi(P,p,g)}if(s){const v=f==="y"?"top":"left",E=f==="y"?"bottom":"right",P=h+u[v],g=h-u[E];h=Bi(P,h,g)}const y=l.fn({...t,[d]:p,[f]:h});return{...y,data:{x:y.x-n,y:y.y-r}}}}},m_=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...l}=fn(e,t),a=await $o(t,l),c=ht(n),u=nt(n),f=mr(n)==="y",{width:d,height:p}=r.floating;let h,y;c==="top"||c==="bottom"?(h=c,y=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(y=c,h=u==="end"?"top":"bottom");const v=p-a[h],E=d-a[y],P=!t.middlewareData.shift;let g=v,C=E;if(f){const S=d-a.left-a.right;C=u||P?tr(E,S):S}else{const S=p-a.top-a.bottom;g=u||P?tr(v,S):S}if(P&&!u){const S=Kt(a.left,0),D=Kt(a.right,0),j=Kt(a.top,0),V=Kt(a.bottom,0);f?C=d-2*(S!==0||D!==0?S+D:Kt(a.left,a.right)):g=p-2*(j!==0||V!==0?j+V:Kt(a.top,a.bottom))}await s({...t,availableWidth:C,availableHeight:g});const T=await o.getDimensions(i.floating);return d!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function Je(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ft(e){return Je(e).getComputedStyle(e)}const Fl=Math.min,Wn=Math.max,uo=Math.round;function Cu(e){const t=ft(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,i=e.offsetHeight,s=uo(n)!==o||uo(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function jt(e){return Pu(e)?(e.nodeName||"").toLowerCase():""}let Lr;function Tu(){if(Lr)return Lr;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Lr=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Lr):navigator.userAgent}function dt(e){return e instanceof Je(e).HTMLElement}function Mt(e){return e instanceof Je(e).Element}function Pu(e){return e instanceof Je(e).Node}function Ul(e){return typeof ShadowRoot>"u"?!1:e instanceof Je(e).ShadowRoot||e instanceof ShadowRoot}function Mo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ft(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function g_(e){return["table","td","th"].includes(jt(e))}function Vi(e){const t=/firefox/i.test(Tu()),n=ft(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(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const i=n.contain;return i!=null&&i.includes(o)})}function Su(){return!/^((?!chrome|android).)*safari/i.test(Tu())}function Os(e){return["html","body","#document"].includes(jt(e))}function Ru(e){return Mt(e)?e:e.contextElement}const xu={x:1,y:1};function Pn(e){const t=Ru(e);if(!dt(t))return xu;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:i}=Cu(t);let s=(i?uo(n.width):n.width)/r,l=(i?uo(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}function nr(e,t,n,r){var o,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),l=Ru(e);let a=xu;t&&(r?Mt(r)&&(a=Pn(r)):a=Pn(e));const c=l?Je(l):window,u=!Su()&&n;let f=(s.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/a.x,d=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,p=s.width/a.x,h=s.height/a.y;if(l){const y=Je(l),v=r&&Mt(r)?Je(r):r;let E=y.frameElement;for(;E&&r&&v!==y;){const P=Pn(E),g=E.getBoundingClientRect(),C=getComputedStyle(E);g.x+=(E.clientLeft+parseFloat(C.paddingLeft))*P.x,g.y+=(E.clientTop+parseFloat(C.paddingTop))*P.y,f*=P.x,d*=P.y,p*=P.x,h*=P.y,f+=g.x,d+=g.y,E=Je(E).frameElement}}return{width:p,height:h,top:d,right:f+p,bottom:d+h,left:f,x:f,y:d}}function Ht(e){return((Pu(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ho(e){return Mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Au(e){return nr(Ht(e)).left+Ho(e).scrollLeft}function rr(e){if(jt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ul(e)&&e.host||Ht(e);return Ul(t)?t.host:t}function Lu(e){const t=rr(e);return Os(t)?t.ownerDocument.body:dt(t)&&Mo(t)?t:Lu(t)}function fo(e,t){var n;t===void 0&&(t=[]);const r=Lu(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Je(r);return o?t.concat(i,i.visualViewport||[],Mo(r)?r:[]):t.concat(r,fo(r))}function Gl(e,t,n){return t==="viewport"?Gn(function(r,o){const i=Je(r),s=Ht(r),l=i.visualViewport;let a=s.clientWidth,c=s.clientHeight,u=0,f=0;if(l){a=l.width,c=l.height;const d=Su();(d||!d&&o==="fixed")&&(u=l.offsetLeft,f=l.offsetTop)}return{width:a,height:c,x:u,y:f}}(e,n)):Mt(t)?Gn(function(r,o){const i=nr(r,!0,o==="fixed"),s=i.top+r.clientTop,l=i.left+r.clientLeft,a=dt(r)?Pn(r):{x:1,y:1};return{width:r.clientWidth*a.x,height:r.clientHeight*a.y,x:l*a.x,y:s*a.y}}(t,n)):Gn(function(r){const o=Ht(r),i=Ho(r),s=r.ownerDocument.body,l=Wn(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),a=Wn(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+Au(r);const u=-i.scrollTop;return ft(s).direction==="rtl"&&(c+=Wn(o.clientWidth,s.clientWidth)-l),{width:l,height:a,x:c,y:u}}(Ht(e)))}function Wl(e){return dt(e)&&ft(e).position!=="fixed"?e.offsetParent:null}function zl(e){const t=Je(e);let n=Wl(e);for(;n&&g_(n)&&ft(n).position==="static";)n=Wl(n);return n&&(jt(n)==="html"||jt(n)==="body"&&ft(n).position==="static"&&!Vi(n))?t:n||function(r){let o=rr(r);for(;dt(o)&&!Os(o);){if(Vi(o))return o;o=rr(o)}return null}(e)||t}function __(e,t,n){const r=dt(t),o=Ht(t),i=nr(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&n!=="fixed")if((jt(t)!=="body"||Mo(o))&&(s=Ho(t)),dt(t)){const a=nr(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else o&&(l.x=Au(o));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}const y_={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=fo(c).filter(v=>Mt(v)&&jt(v)!=="body"),p=null;const h=ft(c).position==="fixed";let y=h?rr(c):c;for(;Mt(y)&&!Os(y);){const v=ft(y),E=Vi(y);(h?E||p:E||v.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=v:d=d.filter(P=>P!==y),y=rr(y)}return u.set(c,d),d}(t,this._c):[].concat(n),s=[...i,r],l=s[0],a=s.reduce((c,u)=>{const f=Gl(t,u,o);return c.top=Wn(f.top,c.top),c.right=Fl(f.right,c.right),c.bottom=Fl(f.bottom,c.bottom),c.left=Wn(f.left,c.left),c},Gl(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=dt(n),i=Ht(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const a={x:0,y:0};if((o||!o&&r!=="fixed")&&((jt(n)!=="body"||Mo(i))&&(s=Ho(n)),dt(n))){const c=nr(n);l=Pn(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+a.x,y:t.y*l.y-s.scrollTop*l.y+a.y}},isElement:Mt,getDimensions:function(e){return dt(e)?Cu(e):e.getBoundingClientRect()},getOffsetParent:zl,getDocumentElement:Ht,getScale:Pn,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||zl,i=this.getDimensions;return{reference:__(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ft(e).direction==="rtl"},v_=(e,t,n)=>{const r=new Map,o={platform:y_,...n},i={...o.platform,_c:r};return l_(e,t,{...o,platform:i})};function Ou(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Ou(e[n],t[n]):e[n]=t[n])}const rt={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,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"],delay:{show:0,hide:400}}}};function or(e,t){let n=rt.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=rt.themes[n.$extend]||{}:(n=null,r=rt[t]):n=null;while(n);return r}function b_(e){const t=[e];let n=rt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=rt.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function ql(e){const t=[e];let n=rt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=rt.themes[n.$extend]||{}):n=null;while(n);return t}let On=!1;if(typeof window<"u"){On=!1;try{const e=Object.defineProperty({},"passive",{get(){On=!0}});window.addEventListener("test",null,e)}catch{}}let ku=!1;typeof window<"u"&&typeof navigator<"u"&&(ku=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Iu=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Kl={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Jl={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Yl(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function li(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Ze=[];let zt=null;const Xl={};function Ql(e){let t=Xl[e];return t||(t=Xl[e]=[]),t}let ji=function(){};typeof window<"u"&&(ji=window.Element);function re(e){return function(t){return or(t.theme,e)}}const ai="__floating-vue__popper",Nu=()=>Ue({name:"VPopper",provide(){return{[ai]:{parentPopper:this}}},inject:{[ai]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:re("disabled")},positioningDisabled:{type:Boolean,default:re("positioningDisabled")},placement:{type:String,default:re("placement"),validator:e=>Iu.includes(e)},delay:{type:[String,Number,Object],default:re("delay")},distance:{type:[Number,String],default:re("distance")},skidding:{type:[Number,String],default:re("skidding")},triggers:{type:Array,default:re("triggers")},showTriggers:{type:[Array,Function],default:re("showTriggers")},hideTriggers:{type:[Array,Function],default:re("hideTriggers")},popperTriggers:{type:Array,default:re("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:re("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:re("popperHideTriggers")},container:{type:[String,Object,ji,Boolean],default:re("container")},boundary:{type:[String,ji],default:re("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:re("strategy")},autoHide:{type:[Boolean,Function],default:re("autoHide")},handleResize:{type:Boolean,default:re("handleResize")},instantMove:{type:Boolean,default:re("instantMove")},eagerMount:{type:Boolean,default:re("eagerMount")},popperClass:{type:[String,Array,Object],default:re("popperClass")},computeTransformOrigin:{type:Boolean,default:re("computeTransformOrigin")},autoMinSize:{type:Boolean,default:re("autoMinSize")},autoSize:{type:[Boolean,String],default:re("autoSize")},autoMaxSize:{type:Boolean,default:re("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:re("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:re("preventOverflow")},overflowPadding:{type:[Number,String],default:re("overflowPadding")},arrowPadding:{type:[Number,String],default:re("arrowPadding")},arrowOverflow:{type:Boolean,default:re("arrowOverflow")},flip:{type:Boolean,default:re("flip")},shift:{type:Boolean,default:re("shift")},shiftCrossAxis:{type:Boolean,default:re("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:re("noAutoFocus")},disposeTimeout:{type:Number,default:re("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},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},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},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[ai])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){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,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;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"))},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(p_({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(u_({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(h_({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(f_({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(a_({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let s;const{centerOffset:l}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(l)>o.reference.width/2:s=Math.abs(l)>o.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:s})=>{var l;if((l=s.autoSize)!=null&&l.skip)return{};let a,c;return i.startsWith("top")||i.startsWith("bottom")?a=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=a!=null?`${a}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}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(m_({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await v_(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,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),zt&&this.instantMove&&zt.instantMove&&zt!==this.parentPopper){zt.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(zt=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 li(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...fo(this.$_referenceNode),...fo(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(),o=t.x+t.width/2-(r.left+n.offsetLeft),i=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${i}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<Ze.length;n++)t=Ze[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Ze.push(this),document.body.classList.add("v-popper--some-open");for(const t of ql(this.theme))Ql(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 li(),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,Yl(Ze,this),Ze.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of ql(this.theme)){const r=Ql(n);Yl(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}zt===this&&(zt=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 li(),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,Kl,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Kl,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Jl,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Jl,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,On?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const l=t[s];l&&this.$_registerEventListeners(e,l,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!e||e===o?r.forEach(s=>s.removeEventListener(o,i)):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(zn>=e.left&&zn<=e.right&&qn>=e.top&&qn<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=zn-xt,r=qn-At,o=t.left+t.width/2-xt+(t.top+t.height/2)-At+t.width+t.height,i=xt+n*o,s=At+r*o;return Or(xt,At,i,s,t.left,t.top,t.left,t.bottom)||Or(xt,At,i,s,t.left,t.top,t.right,t.top)||Or(xt,At,i,s,t.right,t.top,t.right,t.bottom)||Or(xt,At,i,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(ku){const e=On?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Zl(t,!0),e),document.addEventListener("touchend",t=>ea(t,!0),e)}else window.addEventListener("mousedown",e=>Zl(e,!1),!0),window.addEventListener("click",e=>ea(e,!1),!0);window.addEventListener("resize",E_)}function Zl(e,t){if(rt.autoHideOnMousedown)Du(e,t);else for(let n=0;n<Ze.length;n++){const r=Ze[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function ea(e,t){rt.autoHideOnMousedown||Du(e,t)}function Du(e,t){const n={};for(let r=Ze.length-1;r>=0;r--){const o=Ze[r];try{const i=o.containsGlobalTarget=o.mouseDownContains||o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&ta(o,i,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let l=o.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let s=o.parentPopper;for(;s&&ta(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function ta(e,t,n){return n.closeAllPopover||n.closePopover&&t||w_(e,n)&&!t}function w_(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function E_(){for(let e=0;e<Ze.length;e++)Ze[e].$_computePosition()}let xt=0,At=0,zn=0,qn=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{xt=zn,At=qn,zn=e.clientX,qn=e.clientY},On?{passive:!0}:void 0);function Or(e,t,n,r,o,i,s,l){const a=((s-o)*(t-i)-(l-i)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t)),c=((n-e)*(t-i)-(r-t)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t));return a>=0&&a<=1&&c>=0&&c<=1}const C_={extends:Nu()},Bo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function T_(e,t,n,r,o,i){return Y(),ae("div",{ref:"reference",class:Ee(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Be(e.$slots,"default",ka(ys(e.slotData)))],2)}const P_=Bo(C_,[["render",T_]]);function S_(){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 o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let Ur;function Fi(){Fi.init||(Fi.init=!0,Ur=S_()!==-1)}var Vo={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Fi(),dr(()=>{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",Ur&&this.$el.appendChild(e),e.data="about:blank",Ur||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&&(!Ur&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const R_=Nd();sc("data-v-b329ee4c");const x_={class:"resize-observer",tabindex:"-1"};lc();const A_=R_((e,t,n,r,o,i)=>(Y(),Ne("div",x_)));Vo.render=A_;Vo.__scopeId="data-v-b329ee4c";Vo.__file="src/components/ResizeObserver.vue";const $u=(e="theme")=>({computed:{themeClass(){return b_(this[e])}}}),L_=Ue({name:"VPopperContent",components:{ResizeObserver:Vo},mixins:[$u()],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}}}),O_=["id","aria-hidden","tabindex","data-popper-placement"],k_={ref:"inner",class:"v-popper__inner"},I_=G("div",{class:"v-popper__arrow-outer"},null,-1),N_=G("div",{class:"v-popper__arrow-inner"},null,-1),D_=[I_,N_];function $_(e,t,n,r,o,i){const s=on("ResizeObserver");return Y(),ae("div",{id:e.popperId,ref:"popover",class:Ee(["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:Zt(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]=lh(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[G("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),G("div",{class:"v-popper__wrapper",style:Zt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[G("div",k_,[e.mounted?(Y(),ae(we,{key:0},[G("div",null,[Be(e.$slots,"default")]),e.handleResize?(Y(),Ne(s,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):ut("",!0)],64)):ut("",!0)],512),G("div",{ref:"arrow",class:"v-popper__arrow-container",style:Zt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},D_,4)],4)],46,O_)}const Mu=Bo(L_,[["render",$_]]),Hu={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)}}};let Ui=function(){};typeof window<"u"&&(Ui=window.Element);const M_=Ue({name:"VPopperWrapper",components:{Popper:P_,PopperContent:Mu},mixins:[Hu,$u("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Ui,Boolean],default:void 0},boundary:{type:[String,Ui],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function H_(e,t,n,r,o,i){const s=on("PopperContent"),l=on("Popper");return Y(),Ne(l,Oo({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=a=>e.$emit("update:shown",a)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:ue(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:y,onResize:v,classes:E,result:P})=>[Be(e.$slots,"default",{shown:c,show:p,hide:h}),J(s,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":y,classes:E,result:P,onHide:h,onResize:v},{default:ue(()=>[Be(e.$slots,"popper",{shown:c,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const ks=Bo(M_,[["render",H_]]),B_={...ks,name:"VDropdown",vPopperTheme:"dropdown"},V_={...ks,name:"VMenu",vPopperTheme:"menu"},j_={...ks,name:"VTooltip",vPopperTheme:"tooltip"},F_=Ue({name:"VTooltipDirective",components:{Popper:Nu(),PopperContent:Mu},mixins:[Hu],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>or(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>or(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}}}),U_=["innerHTML"],G_=["textContent"];function W_(e,t,n,r,o,i){const s=on("PopperContent"),l=on("Popper");return Y(),Ne(l,Oo({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:ue(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:y,classes:v,result:E})=>[J(s,{ref:"popperContent",class:Ee({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":h,classes:v,result:E,onHide:p,onResize:y},{default:ue(()=>[e.html?(Y(),ae("div",{key:0,innerHTML:e.finalContent},null,8,U_)):(Y(),ae("div",{key:1,textContent:at(e.finalContent)},null,8,G_))]),_: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 z_=Bo(F_,[["render",W_]]),Bu="v-popper--has-tooltip";function q_(e,t){let n=e.placement;if(!n&&t)for(const r of Iu)t[r]&&(n=r);return n||(n=or(e.theme||"tooltip","placement")),n}function Vu(e,t,n){let r;const o=typeof t;return o==="string"?r={content:t}:t&&o==="object"?r=t:r={content:!1},r.placement=q_(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let ci,ir,K_=0;function J_(){if(ci)return;ir=_e([]),ci=jc({name:"VTooltipDirectiveApp",setup(){return{directives:ir}},render(){return this.directives.map(t=>eo(z_,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ci.mount(e)}function Y_(e,t,n){J_();const r=_e(Vu(e,t,n)),o=_e(!1),i={id:K_++,options:r,shown:o};return ir.value.push(i),e.classList&&e.classList.add(Bu),e.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function ju(e){if(e.$_popper){const t=ir.value.indexOf(e.$_popper.item);t!==-1&&ir.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Bu)}function na(e,{value:t,modifiers:n}){const r=Vu(e,t,n);if(!r.content||or(r.theme||"tooltip","disabled"))ju(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=Y_(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const X_={beforeMount:na,updated:na,beforeUnmount(e){ju(e)}};function ra(e){e.addEventListener("mousedown",po),e.addEventListener("click",po),e.addEventListener("touchstart",Fu,On?{passive:!0}:!1)}function oa(e){e.removeEventListener("mousedown",po),e.removeEventListener("click",po),e.removeEventListener("touchstart",Fu),e.removeEventListener("touchend",Uu),e.removeEventListener("touchcancel",Gu)}function po(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Fu(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",Uu),t.addEventListener("touchcancel",Gu)}}function Uu(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 Gu(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Q_={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&ra(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?ra(e):oa(e))},beforeUnmount(e){oa(e)}};function Z_(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Ou(rt,t),e.directive("tooltip",X_),e.directive("close-popper",Q_),e.component("VTooltip",j_),e.component("VDropdown",B_),e.component("VMenu",V_))}const e0={version:"5.2.2",install:Z_,options:rt},t0=mt(e=>{e.vueApp.use(e0)}),n0=[$g,Hg,jg,Ug,Gg,Wg,Yg,Xg,Zg,t0],Wu=Ue({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Y(),ae("div",{class:Ee(["n-icon",t.icon])},null,2))}}),jo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},r0={},o0={class:"n-badge"};function i0(e,t){return Y(),ae("span",o0,[Be(e.$slots,"default")])}const s0=jo(r0,[["render",i0]]);async function zu(e,t=Ut()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>zu(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var l;return(l=s.components)==null?void 0:l.default}).filter(s=>typeof s=="function");for(const s of i){const l=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(l)));o.push(l)}await Promise.all(o)}const l0=(...e)=>e.find(t=>t!==void 0);function a0(e){const t=e.componentName||"NuxtLink";function n(r,o){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return ia(r,e.trailingSlash);const i="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:ia(i,e.trailingSlash)}}return Ue({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:o}){const i=Ut(),s=er(),l=Ke(()=>{const h=r.to||r.href||"";return n(h,i.resolve)}),a=Ke(()=>typeof l.value=="string"&&Ft(l.value,{acceptRelative:!0})),c=Ke(()=>r.target&&r.target!=="_self"),u=Ke(()=>r.external||c.value?!0:typeof l.value=="object"?!1:l.value===""||a.value),f=_e(!1),d=_e(null),p=h=>{var y;d.value=r.custom?(y=h==null?void 0:h.$el)==null?void 0:y.nextElementSibling:h==null?void 0:h.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!f0()){const y=ye();let v,E=null;gc(()=>{const P=u0();xs(()=>{v=Hi(()=>{var g;(g=d==null?void 0:d.value)!=null&&g.tagName&&(E=P.observe(d.value,async()=>{E==null||E(),E=null;const C=typeof l.value=="string"?l.value:i.resolve(l.value).fullPath;await Promise.all([y.hooks.callHook("link:prefetch",C).catch(()=>{}),!u.value&&zu(l.value,i).catch(()=>{})]),f.value=!0}))})})}),ms(()=>{v&&Fg(v),E==null||E(),E=null})}return()=>{var E,P;if(!u.value){const g={ref:p,to:l.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(f.value&&(g.class=r.prefetchedClass||e.prefetchedClass),g.rel=r.rel||void 0),eo(on("RouterLink"),g,o.default)}const h=typeof l.value=="object"?((E=i.resolve(l.value))==null?void 0:E.href)??null:l.value&&!r.external&&!a.value?n(hr(s.app.baseURL,l.value),i.resolve):l.value||null,y=r.target||null,v=l0(r.noRel?"":r.rel,e.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const g=()=>au(h,{replace:r.replace,external:r.external});return o.default({href:h,navigate:g,get route(){if(!h)return;const C=Nn(h);return{path:C.pathname,fullPath:C.pathname,get query(){return ws(C.search)},hash:C.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:v,target:y,isExternal:u.value,isActive:!1,isExactActive:!1})}return eo("a",{ref:d,href:h,rel:v,target:y},(P=o.default)==null?void 0:P.call(o))}}})}const c0=a0(xg);function ia(e,t){const n=t==="append"?ro:No;return Ft(e)&&!e.startsWith("http")?e:n(e,!0)}function u0(){const e=ye();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||(t=new IntersectionObserver(l=>{for(const a of l){const c=n.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&c&&c()}})),n.set(i,s),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function f0(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const d0={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},p0=Ue({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Ke(()=>t.href||t.to);return(r,o)=>{const i=c0;return Y(),Ne(i,Oo(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:ue(()=>[Be(r.$slots,"default"),n.value&&r.target==="_blank"?(Y(),ae("div",d0)):ut("",!0)]),_:3},16,["class"])}}}),h0={},m0={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g0=Rp('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8),_0=[g0];function y0(e,t){return Y(),ae("svg",m0,_0)}const v0=jo(h0,[["render",y0]]),b0={},w0={class:"n-loading n-panel-grids-center"},E0={class:"flex flex-col animate-pulse items-center text-lg"},C0=G("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function T0(e,t){return Y(),ae("div",w0,[G("div",E0,[C0,Be(e.$slots,"default",{},()=>[ke(" Loading... ")])])])}const P0=jo(b0,[["render",T0]]),qu=[{id:"abap",name:"ABAP",import:()=>m(()=>import("./DXFkqnOI.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>m(()=>import("./D6NljDpC.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>m(()=>import("./CowR2XfX.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>m(()=>import("./DsudziMp.js").then(e=>e.e),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>m(()=>import("./B9E_xdxs.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>m(()=>import("./rS0jd3Ly.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>m(()=>import("./Sfo2eW0G.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>m(()=>import("./DC4hdoM9.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>m(()=>import("./B4yE-MfL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>m(()=>import("./CG4fK2Nq.js"),[],import.meta.url)},{id:"asm",name:"Assembly",import:()=>m(()=>import("./PWN5J14X.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>m(()=>import("./wORFcijT.js"),__vite__mapDeps([10,9,2,11,12,13,3,5,14,15,16]),import.meta.url)},{id:"awk",name:"AWK",import:()=>m(()=>import("./i0IPvypD.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>m(()=>import("./T9ysyp6P.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>m(()=>import("./BPiaQZfK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>m(()=>import("./Urb1RsFe.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>m(()=>import("./CxrokwfH.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>m(()=>import("./BaedD2tq.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>m(()=>import("./3ghuYFLd.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>m(()=>import("./C1DVX8_8.js"),__vite__mapDeps([17,1,2,3,7,8,18,9]),import.meta.url)},{id:"c",name:"C",import:()=>m(()=>import("./RCJZWN-0.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>m(()=>import("./Bgpqy2XC.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>m(()=>import("./CIekO_uJ.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>m(()=>import("./BF6G6X0H.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>m(()=>import("./DXZpi2gR.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>m(()=>import("./TQ9oWRfF.js"),__vite__mapDeps([19,18,1,2,3,8]),import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>m(()=>import("./BOpLLL-w.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>m(()=>import("./Bg0wAK5a.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>m(()=>import("./BOnd8D4O.js"),__vite__mapDeps([21,22,23,18]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>m(()=>import("./B6nY7VDA.js"),__vite__mapDeps([24,1,2,3,18,23,25]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>m(()=>import("./DISxKEhY.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>m(()=>import("./CbYhyuC0.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>m(()=>import("./B2DkETJQ.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>m(()=>import("./C6Aznpr-.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>m(()=>import("./ByMv4Xf1.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>m(()=>import("./PifQWv0n.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>m(()=>import("./BswfO-CF.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>m(()=>import("./DsfXcHUZ.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>m(()=>import("./DvyTQcux.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>m(()=>import("./DNR26wTC.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>m(()=>import("./Eh5U-gDp.js"),[],import.meta.url)},{id:"elixir",name:"Elixir",import:()=>m(()=>import("./BaNxgKSR.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>m(()=>import("./RE3ujT-k.js"),__vite__mapDeps([27,22,23]),import.meta.url)},{id:"erb",name:"ERB",import:()=>m(()=>import("./RgJsN3zu.js"),__vite__mapDeps([28,1,2,3,29,7,8,18,23,25,30]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>m(()=>import("./C3YqBJkQ.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>m(()=>import("./DfeQjIbs.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>m(()=>import("./sQpxpyUs.js"),__vite__mapDeps([31,32]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>m(()=>import("./D6pmzCqS.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>m(()=>import("./DXpYegZJ.js"),__vite__mapDeps([33,34]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>m(()=>import("./NL97_oaV.js"),__vite__mapDeps([35,36,37]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>m(()=>import("./CoEqzGFw.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>m(()=>import("./B_SUYfiV.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>m(()=>import("./DjTlIhuc.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>m(()=>import("./DAVo6uMX.js"),__vite__mapDeps([38,39]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>m(()=>import("./CPHkTjfH.js"),__vite__mapDeps([40,25]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>m(()=>import("./Dz2Ca8U2.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>m(()=>import("./Bbv8ARUV.js"),__vite__mapDeps([41,2,11,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>m(()=>import("./CQUCfALx.js"),__vite__mapDeps([42,11,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>m(()=>import("./DouzTJIq.js"),__vite__mapDeps([22,23]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>m(()=>import("./nclm9rTJ.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>m(()=>import("./WoBtJUue.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>m(()=>import("./BN4LRXf6.js"),__vite__mapDeps([43,2,11,44,16]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>m(()=>import("./wChcbJ1V.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>m(()=>import("./BmCW-tYz.js"),__vite__mapDeps([45,1,2,3,18]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>m(()=>import("./IHMnEr_d.js"),__vite__mapDeps([46,29,1,2,3,7,8,18,23,25,30,13,20,34]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>m(()=>import("./DUdlC5k_.js"),__vite__mapDeps([47,1,2,3,48]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>m(()=>import("./DAGYewaG.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>m(()=>import("./BG_OyJVq.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>m(()=>import("./DZqG9GXz.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>m(()=>import("./DmDrTTlz.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>m(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>m(()=>import("./BR6CMsBL.js"),__vite__mapDeps([49,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>m(()=>import("./DfUNg_8t.js"),__vite__mapDeps([50,25,9,7,8,43,2,11,44,16]),import.meta.url)},{id:"imba",name:"Imba",import:()=>m(()=>import("./DzwdaLuO.js"),__vite__mapDeps([51,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>m(()=>import("./DeVv6D4_.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>m(()=>import("./ClXEvkw9.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>m(()=>import("./Dch3xQiY.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>m(()=>import("./D4LaosRr.js"),__vite__mapDeps([52,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>m(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([53,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>m(()=>import("./CupVZNk8.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>m(()=>import("./Bh8mriwU.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>m(()=>import("./DYI1rfmx.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>m(()=>import("./BUpeXbsf.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>m(()=>import("./C9d3aiqh.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>m(()=>import("./Dble9ECP.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>m(()=>import("./CsyrCbsw.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>m(()=>import("./ZQC2c-5V.js"),__vite__mapDeps([54,21,22,23,18,55,2,56]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>m(()=>import("./BIxS-Weu.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>m(()=>import("./DIr-ordK.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>m(()=>import("./BIMuYTWL.js"),__vite__mapDeps([57,58,56,3,59,1,2,7,8,30,23,54,21,22,18,55,29,25,11,48,60,61,62]),import.meta.url)},{id:"less",name:"Less",import:()=>m(()=>import("./DywwDckn.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>m(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([63,1,2,3,9]),import.meta.url)},{id:"lisp",name:"Lisp",import:()=>m(()=>import("./D4LhxNOI.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>m(()=>import("./DdacRhvC.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>m(()=>import("./DnhXxWz-.js"),__vite__mapDeps([30,23]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>m(()=>import("./B9S9BZZh.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>m(()=>import("./DCk2z-Tu.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>m(()=>import("./Bd7iooY8.js"),__vite__mapDeps([64,3,14,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>m(()=>import("./Btshr8M_.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>m(()=>import("./BgBwMnrY.js"),__vite__mapDeps([65,34,48,49,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>m(()=>import("./CBPJd_fO.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>m(()=>import("./BSyl5yf0.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>m(()=>import("./-7WWnkdy.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>m(()=>import("./bmJ2objS.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>m(()=>import("./B9CT-1u6.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>m(()=>import("./DBxHOdLe.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>m(()=>import("./CUVblut_.js"),__vite__mapDeps([66,30,23]),import.meta.url)},{id:"nim",name:"Nim",import:()=>m(()=>import("./BILqrcpa.js"),__vite__mapDeps([67,23,1,2,3,7,8,22,34]),import.meta.url)},{id:"nix",name:"Nix",import:()=>m(()=>import("./Dszwcx0o.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>m(()=>import("./CL7Ixq1B.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>m(()=>import("./DHmGyzbM.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>m(()=>import("./BWKJ1FCf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>m(()=>import("./RqY_Nz63.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>m(()=>import("./Bz4xi2rU.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>m(()=>import("./Dwo2i-71.js"),__vite__mapDeps([68,1,2,3,7,8,18]),import.meta.url)},{id:"php",name:"PHP",import:()=>m(()=>import("./Cthz8VOO.js"),__vite__mapDeps([69,1,2,3,7,8,18,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>m(()=>import("./BbJj1K1w.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>m(()=>import("./DXT9h7v2.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>m(()=>import("./CApMHEaB.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>m(()=>import("./9ZOzOPqN.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>m(()=>import("./BBJYjQ0k.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>m(()=>import("./BH_RS3WO.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>m(()=>import("./DOtRmeXT.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>m(()=>import("./DhFF74a2.js"),__vite__mapDeps([70,2,3,13,5,12,20,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>m(()=>import("./37ic6j3l.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>m(()=>import("./CfPQhs6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>m(()=>import("./DwuVtWc2.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>m(()=>import("./BXfENWL6.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>m(()=>import("./D384ylkT.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>m(()=>import("./wPLeKH6q.js"),__vite__mapDeps([71,1,2,3,72]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>m(()=>import("./CrhH3_Og.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>m(()=>import("./6Kuza3Wr.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>m(()=>import("./AgnqFTPX.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>m(()=>import("./CQTpvb7m.js"),__vite__mapDeps([73,49,1,2,3,21,22,23,18,55,25,48,74,29,7,8,30]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>m(()=>import("./DCAtC51B.js"),__vite__mapDeps([29,1,2,3,7,8,18,23,25,30]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>m(()=>import("./j8KhMG0x.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>m(()=>import("./8t4jSAMm.js"),__vite__mapDeps([75,18]),import.meta.url)},{id:"sass",name:"Sass",import:()=>m(()=>import("./CMDmr8et.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>m(()=>import("./vMsNTMhM.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>m(()=>import("./1Je9_Reo.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>m(()=>import("./BeX7Iu5M.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>m(()=>import("./BiDE021q.js"),__vite__mapDeps([76,77]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>m(()=>import("./D4k753MY.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>m(()=>import("./Bdb36Id5.js"),__vite__mapDeps([78,25]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>m(()=>import("./DSsji4Hu.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>m(()=>import("./CThH5sBG.js"),[],import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>m(()=>import("./DJZWsvj0.js"),__vite__mapDeps([79,80]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>m(()=>import("./6XBPEST2.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>m(()=>import("./DbK06e1c.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>m(()=>import("./BH1M7C1g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>m(()=>import("./DLP9ZvWb.js"),__vite__mapDeps([81,18]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>m(()=>import("./DSrLtGYv.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>m(()=>import("./doGI2cFk.js"),__vite__mapDeps([82,2,11,20,12,13,3,5,14,15,70,1,34]),import.meta.url)},{id:"swift",name:"Swift",import:()=>m(()=>import("./Dez-Qvcc.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>m(()=>import("./DzPyIVdT.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>m(()=>import("./BxwAa5i0.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>m(()=>import("./C_8Fx7bH.js"),[],import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>m(()=>import("./7fd6vGzb.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>m(()=>import("./CGQbO34C.js"),__vite__mapDeps([58,56]),import.meta.url)},{id:"toml",name:"TOML",import:()=>m(()=>import("./BT9ZzGyQ.js"),[],import.meta.url)},{id:"tsv",name:"TSV",import:()=>m(()=>import("./DnLUQrgA.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>m(()=>import("./BlxWTfDV.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>m(()=>import("./C15OxdQ5.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>m(()=>import("./DCdPDLy4.js"),__vite__mapDeps([83,3,2,5,69,1,7,8,18,9,55,29,23,25,30]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>m(()=>import("./DC8MraHL.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>m(()=>import("./I4qd5QHW.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>m(()=>import("./C2TBxDwV.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>m(()=>import("./beD-FUib.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>m(()=>import("./DVfdqzEq.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>m(()=>import("./QZ3jNtnE.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>m(()=>import("./BLluXI4E.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>m(()=>import("./BBv1LFm6.js"),__vite__mapDeps([84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>m(()=>import("./CRWwmX0L.js"),__vite__mapDeps([88,84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>m(()=>import("./o-cPXEvd.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>m(()=>import("./Cicx_DS6.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>m(()=>import("./D3VXSfF0.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>m(()=>import("./BZz1Hhek.js"),[],import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>m(()=>import("./BICIrM8O.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>m(()=>import("./CsYA0RN7.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>m(()=>import("./CJQrLysU.js"),__vite__mapDeps([89,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>m(()=>import("./C5gCGmDW.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>m(()=>import("./B1nm99XP.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>m(()=>import("./Bsp1M94H.js"),[],import.meta.url)}],S0=Object.fromEntries(qu.map(e=>[e.id,e.import])),R0=Object.fromEntries(qu.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),x0={...S0,...R0},A0=async e=>m(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(t=>t.default(e)),L0=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>m(()=>import("./YxQm0tCS.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>m(()=>import("./BaWyeHV_.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>m(()=>import("./Bn5gmY5k.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>m(()=>import("./DZ3fVoEH.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>m(()=>import("./DCj4DH6i.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>m(()=>import("./D-pQtGOP.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>m(()=>import("./BsfQk1vf.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>m(()=>import("./KEYLhlmT.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>m(()=>import("./DGO8GyiP.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>m(()=>import("./9B1nZgL-.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>m(()=>import("./CzPA46E-.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>m(()=>import("./BXF7Vm5l.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>m(()=>import("./CRDKj6ck.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>m(()=>import("./CRlnGVMD.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>m(()=>import("./UREJT2Bw.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>m(()=>import("./CZZ6oYdA.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>m(()=>import("./BsvsQ1iS.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>m(()=>import("./B2BuIiKK.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>m(()=>import("./BrGg7AAd.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>m(()=>import("./DDRuGeQH.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>m(()=>import("./CBL0qBdF.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>m(()=>import("./D7gg1Usp.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>m(()=>import("./iSbrOpM4.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>m(()=>import("./BITGhEdf.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>m(()=>import("./sMI-pExk.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>m(()=>import("./BeocmOPF.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>m(()=>import("./CsyjKwr8.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>m(()=>import("./BTtaZsq5.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>m(()=>import("./Cda-MJFk.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>m(()=>import("./jaXbsbtS.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>m(()=>import("./CX_FIdg1.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>m(()=>import("./Bj5xdiaE.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>m(()=>import("./CdedUr_-.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>m(()=>import("./C7oZ9nno.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>m(()=>import("./hXH8Gyq8.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>m(()=>import("./C86elO-m.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>m(()=>import("./xPNGhBYe.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>m(()=>import("./BBDuFDsq.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>m(()=>import("./eJfcURhx.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>m(()=>import("./BSB_bK09.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>m(()=>import("./CrjQeCwm.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>m(()=>import("./DggdVF2v.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>m(()=>import("./A1WiD9SJ.js"),[],import.meta.url)}],O0=Object.fromEntries(L0.map(e=>[e.id,e.import]));var et;(function(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"})(et||(et={}));var kn;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),p=e.getFontStyle(u),h=e.getForeground(u),y=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:p,foreground:h,background:y})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function o(u){return(u&768)>>>8}e.getTokenType=o;function i(u){return(u&1024)!==0}e.containsBalancedBrackets=i;function s(u){return(u&30720)>>>11}e.getFontStyle=s;function l(u){return(u&16744448)>>>15}e.getForeground=l;function a(u){return(u&4278190080)>>>24}e.getBackground=a;function c(u,f,d,p,h,y,v){let E=e.getLanguageId(u),P=e.getTokenType(u),g=e.containsBalancedBrackets(u)?1:0,C=e.getFontStyle(u),T=e.getForeground(u),S=e.getBackground(u);return f!==0&&(E=f),d!==8&&(P=d),p!==null&&(g=p?1:0),h!==-1&&(C=h),y!==0&&(T=y),v!==0&&(S=v),(E<<0|P<<8|g<<10|C<<11|T<<15|S<<24)>>>0}e.set=c})(kn||(kn={}));function ho(e,t){const n=[],r=k0(e);let o=r.next();for(;o!==null;){let a=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let c=s();if(n.push({matcher:c,priority:a}),o!==",")break;o=r.next()}return n;function i(){if(o==="-"){o=r.next();const a=i();return c=>!!a&&!a(c)}if(o==="("){o=r.next();const a=l();return o===")"&&(o=r.next()),a}if(sa(o)){const a=[];do a.push(o),o=r.next();while(sa(o));return c=>t(a,c)}return null}function s(){const a=[];let c=i();for(;c;)a.push(c),c=i();return u=>a.every(f=>f(u))}function l(){const a=[];let c=s();for(;c&&(a.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=s()}return u=>a.some(f=>f(u))}}function sa(e){return!!e&&!!e.match(/[\w\.:]+/)}function k0(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function Ku(e){typeof e.dispose=="function"&&e.dispose()}function I0(e){return Is(e)}function Is(e){return Array.isArray(e)?N0(e):typeof e=="object"?D0(e):e}function N0(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Is(e[n]);return t}function D0(e){let t={};for(let n in e)t[n]=Is(e[n]);return t}function Ju(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Yu(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Yu(e.substring(0,e.length-1)):e.substr(~t+1)}let ui=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class kr{static hasCaptures(t){return t===null?!1:(ui.lastIndex=0,ui.test(t))}static replaceCaptures(t,n,r){return t.replace(ui,(o,i,s,l)=>{let a=r[parseInt(i||s,10)];if(a){let c=n.substring(a.start,a.end);for(;c[0]===".";)c=c.substring(1);switch(l){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return o})}}function Xu(e,t){return e<t?-1:e>t?1:0}function Qu(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let o=0;o<n;o++){let i=Xu(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function la(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Zu(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class ef{constructor(t){b(this,"fn");b(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class sr{constructor(t){b(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class $0{constructor(t,n){b(this,"scopeName");b(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class M0{constructor(){b(this,"_references",[]);b(this,"_seenReferenceKeys",new Set);b(this,"visitedRule",new Set)}get references(){return this._references}add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class H0{constructor(t,n){b(this,"repo");b(this,"initialScopeName");b(this,"seenFullScopeRequests",new Set);b(this,"seenPartialScopeRequests",new Set);b(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new sr(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new M0;for(const r of t)B0(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof sr){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function B0(e,t,n,r){const o=n.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=n.lookup(t);e instanceof sr?Gr({baseGrammar:i,selfGrammar:o},r):Gi(e.ruleName,{baseGrammar:i,selfGrammar:o,repository:o.repository},r);const s=n.injections(e.scopeName);if(s)for(const l of s)r.add(new sr(l))}function Gi(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];mo([r],t,n)}}function Gr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&mo(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&mo(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function mo(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?Ju({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&mo(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=tf(i);switch(s.kind){case 0:Gr({...t,selfGrammar:t.baseGrammar},n);break;case 1:Gr(t,n);break;case 2:Gi(s.ruleName,{...t,repository:o},n);break;case 3:case 4:const l=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){const a={baseGrammar:t.baseGrammar,selfGrammar:l,repository:o};s.kind===4?Gi(s.ruleName,a,n):Gr(a,n)}else s.kind===4?n.add(new $0(s.scopeName,s.ruleName)):n.add(new sr(s.scopeName));break}}}class V0{constructor(){b(this,"kind",0)}}class j0{constructor(){b(this,"kind",1)}}class F0{constructor(t){b(this,"ruleName");b(this,"kind",2);this.ruleName=t}}class U0{constructor(t){b(this,"scopeName");b(this,"kind",3);this.scopeName=t}}class G0{constructor(t,n){b(this,"scopeName");b(this,"ruleName");b(this,"kind",4);this.scopeName=t,this.ruleName=n}}function tf(e){if(e==="$base")return new V0;if(e==="$self")return new j0;const t=e.indexOf("#");if(t===-1)return new U0(e);if(t===0)return new F0(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new G0(n,r)}}const W0=/\\(\d+)/,aa=/\\(\d+)/g,z0=-1,nf=-2;class gr{constructor(t,n,r,o){b(this,"$location");b(this,"id");b(this,"_nameIsCapturing");b(this,"_name");b(this,"_contentNameIsCapturing");b(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=kr.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=kr.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${Yu(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:kr.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:kr.replaceCaptures(this._contentName,t,n)}}class q0 extends gr{constructor(n,r,o,i,s){super(n,r,o,i);b(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(n,r){throw new Error("Not supported!")}compile(n,r){throw new Error("Not supported!")}compileAG(n,r,o,i){throw new Error("Not supported!")}}class K0 extends gr{constructor(n,r,o,i,s){super(n,r,o,null);b(this,"_match");b(this,"captures");b(this,"_cachedCompiledPatterns");this._match=new ln(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,r){r.push(this._match)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new lr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class ca extends gr{constructor(n,r,o,i,s){super(n,r,o,i);b(this,"hasMissingPatterns");b(this,"patterns");b(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,r){for(const o of this.patterns)n.getRule(o).collectPatterns(n,r)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new lr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Wi extends gr{constructor(n,r,o,i,s,l,a,c,u,f){super(n,r,o,i);b(this,"_begin");b(this,"beginCaptures");b(this,"_end");b(this,"endHasBackReferences");b(this,"endCaptures");b(this,"applyEndPatternLast");b(this,"hasMissingPatterns");b(this,"patterns");b(this,"_cachedCompiledPatterns");this._begin=new ln(s,this.id),this.beginCaptures=l,this._end=new ln(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.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(n,r){return this._end.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n,r).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n,r).compileAG(n,o,i)}_getCachedCompiledPatterns(n,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new lr;for(const o of this.patterns)n.getRule(o).collectPatterns(n,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,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}}class go extends gr{constructor(n,r,o,i,s,l,a,c,u){super(n,r,o,i);b(this,"_begin");b(this,"beginCaptures");b(this,"whileCaptures");b(this,"_while");b(this,"whileHasBackReferences");b(this,"hasMissingPatterns");b(this,"patterns");b(this,"_cachedCompiledPatterns");b(this,"_cachedCompiledWhilePatterns");this._begin=new ln(s,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new ln(a,nf),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.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(n,r){return this._while.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new lr;for(const r of this.patterns)n.getRule(r).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,r){return this._getCachedCompiledWhilePatterns(n,r).compile(n)}compileWhileAG(n,r,o,i){return this._getCachedCompiledWhilePatterns(n,r).compileAG(n,o,i)}_getCachedCompiledWhilePatterns(n,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new lr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||"￿"),this._cachedCompiledWhilePatterns}}class Se{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new q0(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new K0(t.$vscodeTextmateLocation,t.id,t.name,t.match,Se._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Ju({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new ca(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Se._compilePatterns(i,n,r))}return t.while?new go(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Se._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Se._compileCaptures(t.whileCaptures||t.captures,n,r),Se._compilePatterns(t.patterns,n,r)):new Wi(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Se._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Se._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Se._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let i=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);l>i&&(i=l)}for(let s=0;s<=i;s++)o[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);let a=0;t[s].patterns&&(a=Se.getCompiledRuleId(t[s],n,r)),o[l]=Se.createCaptureRule(n,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,a)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let i=0,s=t.length;i<s;i++){const l=t[i];let a=-1;if(l.include){const c=tf(l.include);switch(c.kind){case 0:case 1:a=Se.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=Se.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(f,r);if(p)if(d){let h=p.repository[d];h&&(a=Se.getCompiledRuleId(h,n,p.repository))}else a=Se.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else a=Se.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof ca||c instanceof Wi||c instanceof go)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class ln{constructor(t,n){b(this,"source");b(this,"ruleId");b(this,"hasAnchor");b(this,"hasBackReferences");b(this,"_anchorCache");if(t){const r=t.length;let o=0,i=[],s=!1;for(let l=0;l<r;l++)if(t.charAt(l)==="\\"&&l+1<r){const c=t.charAt(l+1);c==="z"?(i.push(t.substring(o,l)),i.push("$(?!\\n)(?<!\\n)"),o=l+2):(c==="A"||c==="G")&&(s=!0),l++}this.hasAnchor=s,o===0?this.source=t:(i.push(t.substring(o,r)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=W0.test(this.source)}clone(){return new ln(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){let r=n.map(o=>t.substring(o.start,o.end));return aa.lastIndex=0,this.source.replace(aa,(o,i)=>Zu(r[parseInt(i,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],i,s,l,a;for(i=0,s=this.source.length;i<s;i++)l=this.source.charAt(i),t[i]=l,n[i]=l,r[i]=l,o[i]=l,l==="\\"&&i+1<s&&(a=this.source.charAt(i+1),a==="A"?(t[i+1]="￿",n[i+1]="￿",r[i+1]="A",o[i+1]="A"):a==="G"?(t[i+1]="￿",n[i+1]="G",r[i+1]="￿",o[i+1]="G"):(t[i+1]=a,n[i+1]=a,r[i+1]=a,o[i+1]=a),i++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class lr{constructor(){b(this,"_items");b(this,"_hasAnchors");b(this,"_cached");b(this,"_anchorCache");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(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new ua(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let o=this._items.map(i=>i.resolveAnchors(n,r));return new ua(t,o,this._items.map(i=>i.ruleId))}}class ua{constructor(t,n,r){b(this,"regExps");b(this,"rules");b(this,"scanner");this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
24
- `)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class _o{constructor(t,n,r){b(this,"_colorMap");b(this,"_defaults");b(this,"_root");b(this,"_cachedMatchRoot",new ef(t=>this._root.match(t)));this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(t,n){return this.createFromParsedTheme(X0(t),n)}static createFromParsedTheme(t,n){return Z0(t,n)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const n=t.scopeName,o=this._cachedMatchRoot.get(n).find(i=>J0(t.parent,i.parentScopes));return o?new rf(o.fontStyle,o.foreground,o.background):null}}class nn{constructor(t,n){b(this,"parent");b(this,"scopeName");this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new nn(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new nn(n,t[r]);return n}push(t){return new nn(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}}function J0(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(Y0(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function Y0(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class rf{constructor(t,n,r){b(this,"fontStyle");b(this,"foregroundId");b(this,"backgroundId");this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function X0(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let s=t[o];if(!s.settings)continue;let l;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),l=f.split(",")}else Array.isArray(s.scope)?l=s.scope:l=[""];let a=-1;if(typeof s.settings.fontStyle=="string"){a=0;let f=s.settings.fontStyle.split(" ");for(let d=0,p=f.length;d<p;d++)switch(f[d]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let c=null;typeof s.settings.foreground=="string"&&la(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&la(s.settings.background)&&(u=s.settings.background);for(let f=0,d=l.length;f<d;f++){let h=l[f].trim().split(" "),y=h[h.length-1],v=null;h.length>1&&(v=h.slice(0,h.length-1),v.reverse()),n[r++]=new Q0(y,v,o,a,c,u)}}return n}class Q0{constructor(t,n,r,o,i,s){b(this,"scope");b(this,"parentScopes");b(this,"index");b(this,"fontStyle");b(this,"foreground");b(this,"background");this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=i,this.background=s}}function Z0(e,t){e.sort((a,c)=>{let u=Xu(a.scope,c.scope);return u!==0||(u=Qu(a.parentScopes,c.parentScopes),u!==0)?u:a.index-c.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let a=e.shift();a.fontStyle!==-1&&(n=a.fontStyle),a.foreground!==null&&(r=a.foreground),a.background!==null&&(o=a.background)}let i=new ey(t),s=new rf(n,i.getId(r),i.getId(o)),l=new Kn(new ar(0,null,-1,0,0),[]);for(let a=0,c=e.length;a<c;a++){let u=e[a];l.insert(0,u.scope,u.parentScopes,u.fontStyle,i.getId(u.foreground),i.getId(u.background))}return new _o(i,s,l)}class ey{constructor(t){b(this,"_isFrozen");b(this,"_lastColorId");b(this,"_id2color");b(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class ar{constructor(t,n,r,o,i){b(this,"scopeDepth");b(this,"parentScopes");b(this,"fontStyle");b(this,"foreground");b(this,"background");this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new ar(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,o=t.length;r<o;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,o){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),o!==0&&(this.background=o)}}class Kn{constructor(t,n=[],r={}){b(this,"_mainRule");b(this,"_children");b(this,"_rulesWithParentScopes");this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,o=n.parentScopes;let i=r===null?0:r.length,s=o===null?0:o.length;if(i===s)for(let l=0;l<i;l++){const a=r[l].length,c=o[l].length;if(a!==c)return c-a}return s-i}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return Kn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,o;return n===-1?(r=t,o=""):(r=t.substring(0,n),o=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(o):Kn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,o,i,s){if(n===""){this._doInsertHere(t,r,o,i,s);return}let l=n.indexOf("."),a,c;l===-1?(a=n,c=""):(a=n.substring(0,l),c=n.substring(l+1));let u;this._children.hasOwnProperty(a)?u=this._children[a]:(u=new Kn(this._mainRule.clone(),ar.cloneArr(this._rulesWithParentScopes)),this._children[a]=u),u.insert(t+1,c,r,o,i,s)}_doInsertHere(t,n,r,o,i){if(n===null){this._mainRule.acceptOverwrite(t,r,o,i);return}for(let s=0,l=this._rulesWithParentScopes.length;s<l;s++){let a=this._rulesWithParentScopes[s];if(Qu(a.parentScopes,n)===0){a.acceptOverwrite(t,r,o,i);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new ar(t,n,r,o,i))}}class fi{constructor(t,n){b(this,"languageId");b(this,"tokenType");this.languageId=t,this.tokenType=n}}const mn=class mn{constructor(t,n){b(this,"_defaultAttributes");b(this,"_embeddedLanguagesMatcher");b(this,"_getBasicScopeAttributes",new ef(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new fi(n,r)}));this._defaultAttributes=new fi(t,8),this._embeddedLanguagesMatcher=new ty(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?mn._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(mn.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[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!")}};b(mn,"_NULL_SCOPE_METADATA",new fi(0,0)),b(mn,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let zi=mn;class ty{constructor(t){b(this,"values");b(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>Zu(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class fa{constructor(t,n){b(this,"stack");b(this,"stoppedEarly");this.stack=t,this.stoppedEarly=n}}function of(e,t,n,r,o,i,s,l){const a=t.content.length;let c=!1,u=-1;if(s){const p=ny(e,t,n,r,o,i);o=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const f=Date.now();for(;!c;){if(l!==0&&Date.now()-f>l)return new fa(o,!0);d()}return new fa(o,!1);function d(){const p=ry(e,t,n,r,o,u);if(!p){i.produce(o,a),c=!0;return}const h=p.captureIndices,y=p.matchedRuleId,v=h&&h.length>0?h[0].end>r:!1;if(y===z0){const E=o.getRule(e);i.produce(o,h[0].start),o=o.withContentNameScopesList(o.nameScopesList),Bn(e,t,n,o,i,E.endCaptures,h),i.produce(o,h[0].end);const P=o;if(o=o.parent,u=P.getAnchorPos(),!v&&P.getEnterPos()===r){o=P,i.produce(o,a),c=!0;return}}else{const E=e.getRule(y);i.produce(o,h[0].start);const P=o,g=E.getName(t.content,h),C=o.contentNameScopesList.pushAttributed(g,e);if(o=o.push(y,r,u,h[0].end===a,null,C,C),E instanceof Wi){const T=E;Bn(e,t,n,o,i,T.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const S=T.getContentName(t.content,h),D=C.pushAttributed(S,e);if(o=o.withContentNameScopesList(D),T.endHasBackReferences&&(o=o.withEndRule(T.getEndWithResolvedBackReferences(t.content,h))),!v&&P.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(E instanceof go){const T=E;Bn(e,t,n,o,i,T.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const S=T.getContentName(t.content,h),D=C.pushAttributed(S,e);if(o=o.withContentNameScopesList(D),T.whileHasBackReferences&&(o=o.withEndRule(T.getWhileWithResolvedBackReferences(t.content,h))),!v&&P.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(Bn(e,t,n,o,i,E.captures,h),i.produce(o,h[0].end),o=o.pop(),!v){o=o.safePop(),i.produce(o,a),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function ny(e,t,n,r,o,i){let s=o.beginRuleCapturedEOL?0:-1;const l=[];for(let a=o;a;a=a.pop()){const c=a.getRule(e);c instanceof go&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=sy(a.rule,e,a.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==nf){o=a.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(a.stack,f.captureIndices[0].start),Bn(e,t,n,a.stack,i,a.rule.whileCaptures,f.captureIndices),i.produce(a.stack,f.captureIndices[0].end),s=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{o=a.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:s,isFirstLine:n}}function ry(e,t,n,r,o,i){const s=oy(e,t,n,r,o,i),l=e.getInjections();if(l.length===0)return s;const a=iy(l,e,t,n,r,o,i);if(!a)return s;if(!s)return a;const c=s.captureIndices[0].start,u=a.captureIndices[0].start;return u<c||a.priorityMatch&&u===c?a:s}function oy(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:l,findOptions:a}=sf(s,e,o.endRule,n,r===i),c=l.findNextMatchSync(t,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function iy(e,t,n,r,o,i,s){let l=Number.MAX_VALUE,a=null,c,u=0;const f=i.contentNameScopesList.getScopeNames();for(let d=0,p=e.length;d<p;d++){const h=e[d];if(!h.matcher(f))continue;const y=t.getRule(h.ruleId),{ruleScanner:v,findOptions:E}=sf(y,t,null,r,o===s),P=v.findNextMatchSync(n,o,E);if(!P)continue;const g=P.captureIndices[0].start;if(!(g>=l)&&(l=g,a=P.captureIndices,c=P.ruleId,u=h.priority,l===o))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function sf(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function sy(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function Bn(e,t,n,r,o,i,s){if(i.length===0)return;const l=t.content,a=Math.min(i.length,s.length),c=[],u=s[0].end;for(let f=0;f<a;f++){const d=i[f];if(d===null)continue;const p=s[f];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,p.start):o.produce(r,p.start),d.retokenizeCapturedWithRuleId){const y=d.getName(l,s),v=r.contentNameScopesList.pushAttributed(y,e),E=d.getContentName(l,s),P=v.pushAttributed(E,e),g=r.push(d.retokenizeCapturedWithRuleId,p.start,-1,!1,null,v,P),C=e.createOnigString(l.substring(0,p.end));of(e,C,n&&p.start===0,p.start,g,o,!1,0),Ku(C);continue}const h=d.getName(l,s);if(h!==null){const v=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);c.push(new ly(v,p.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class ly{constructor(t,n){b(this,"scopes");b(this,"endPos");this.scopes=t,this.endPos=n}}function ay(e,t,n,r,o,i,s,l){return new uy(e,t,n,r,o,i,s,l)}function da(e,t,n,r,o){const i=ho(t,yo),s=Se.getCompiledRuleId(n,r,o.repository);for(const l of i)e.push({debugSelector:t,matcher:l.matcher,ruleId:s,grammar:o,priority:l.priority})}function yo(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let o=n;o<t.length;o++)if(cy(t[o],r))return n=o+1,!0;return!1})}function cy(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}class uy{constructor(t,n,r,o,i,s,l,a){b(this,"_rootScopeName");b(this,"balancedBracketSelectors");b(this,"_onigLib");b(this,"_rootId");b(this,"_lastRuleId");b(this,"_ruleId2desc");b(this,"_includedGrammars");b(this,"_grammarRepository");b(this,"_grammar");b(this,"_injections");b(this,"_basicScopeAttributesProvider");b(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new zi(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=pa(n,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const c of Object.keys(i)){const u=ho(c,yo);for(const f of u)this._tokenTypeMatchers.push({matcher:f.matcher,type:i[c]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},n=[],r=this._rootScopeName,o=t.lookup(r);if(o){const i=o.injections;if(i)for(let l in i)da(n,l,i[l],this,o);const s=this._grammarRepository.injections(r);s&&s.forEach(l=>{const a=this.getExternalGrammar(l);if(a){const c=a.injectionSelector;c&&da(n,c,a,this,a)}})}return n.sort((i,s)=>i.priority-s.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const n=++this._lastRuleId,r=t(n);return this._ruleId2desc[n]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,n){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=pa(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const o=this._tokenize(t,n,!1,r);return{tokens:o.lineTokens.getResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}tokenizeLine2(t,n,r=0){const o=this._tokenize(t,n,!0,r);return{tokens:o.lineTokens.getBinaryResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}_tokenize(t,n,r,o){this._rootId===-1&&(this._rootId=Se.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!n||n===cr.NULL){i=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=kn.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),p=this.getRule(this._rootId).getName(null,null);let h;p?h=$e.createRootAndLookUpScopeName(p,d,this):h=$e.createRoot("unknown",d),n=new cr(null,this._rootId,-1,-1,!1,null,h,h)}else i=!1,n.reset();t=t+`
25
- `;const s=this.createOnigString(t),l=s.content.length,a=new dy(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=of(this,s,i,0,n,a,!0,o);return Ku(s),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function pa(e,t){return e=I0(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}class $e{constructor(t,n,r){b(this,"parent");b(this,"scopePath");b(this,"tokenAttributes");this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,o=(t==null?void 0:t.scopePath)??null;for(const i of n)o=nn.push(o,i.scopeNames),r=new $e(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new $e(null,new nn(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new nn(null,t),s=r.themeProvider.themeMatch(i),l=$e.mergeAttributes(n,o,s);return new $e(null,i,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return $e.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let o=-1,i=0,s=0;return r!==null&&(o=r.fontStyle,i=r.foregroundId,s=r.backgroundId),kn.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return $e._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=$e._pushAttributed(o,i,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),i=t.scopePath.push(n),s=r.themeProvider.themeMatch(i),l=$e.mergeAttributes(t.tokenAttributes,o,s);return new $e(t,i,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((o=r.parent)==null?void 0:o.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}}const bt=class bt{constructor(t,n,r,o,i,s,l,a){b(this,"parent");b(this,"ruleId");b(this,"beginRuleCapturedEOL");b(this,"endRule");b(this,"nameScopesList");b(this,"contentNameScopesList");b(this,"_stackElementBrand");b(this,"_enterPos");b(this,"_anchorPos");b(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:bt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?$e.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){bt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,l){return new bt(this,t,n,r,o,i,s,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){var r,o;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new bt(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=$e.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new bt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,$e.fromExtension(r,n.contentNameScopesList))}};b(bt,"NULL",new bt(null,0,0,0,!1,null,null,null));let cr=bt;class fy{constructor(t,n){b(this,"balancedBracketScopes");b(this,"unbalancedBracketScopes");b(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):ho(r,yo).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>ho(r,yo).map(o=>o.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class dy{constructor(t,n,r,o){b(this,"balancedBracketSelectors");b(this,"_emitBinaryTokens");b(this,"_lineText");b(this,"_tokens");b(this,"_binaryTokens");b(this,"_lastTokenEndIndex");b(this,"_tokenTypeOverrides");this.balancedBracketSelectors=o,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){var o;if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let i=(t==null?void 0:t.tokenAttributes)??0,s=!1;if((o=this.balancedBracketSelectors)!=null&&o.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const l=(t==null?void 0:t.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(l)&&(i=kn.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(l))}if(s&&(i=kn.set(i,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=n;return}const r=(t==null?void 0:t.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let o=0,i=this._binaryTokens.length;o<i;o++)r[o]=this._binaryTokens[o];return r}}class py{constructor(t,n){b(this,"_onigLibPromise");b(this,"_grammars",new Map);b(this,"_rawGrammars",new Map);b(this,"_injectionGrammars",new Map);b(this,"_theme");this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,o,i){if(!this._grammars.has(t)){let s=this._rawGrammars.get(t);if(!s)return null;this._grammars.set(t,ay(t,s,n,r,o,i,this,await this._onigLibPromise))}return this._grammars.get(t)}}let hy=class{constructor(t){b(this,"_options");b(this,"_syncRegistry");b(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new py(_o.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(_o.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new fy(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,i){const s=new H0(this._syncRegistry,t);for(;s.Q.length>0;)await Promise.all(s.Q.map(l=>this._loadSingleGrammar(l.scopeName))),s.processQueue();return this._grammarForScopeName(t,n,r,o,i)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,i)}};const my=cr.NULL,xe={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class wt{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&xe.LANGUAGEID_MASK)>>>xe.LANGUAGEID_OFFSET}static getTokenType(t){return(t&xe.TOKEN_TYPE_MASK)>>>xe.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&xe.FONT_STYLE_MASK)>>>xe.FONT_STYLE_OFFSET}static getForeground(t){return(t&xe.FOREGROUND_MASK)>>>xe.FOREGROUND_OFFSET}static getBackground(t){return(t&xe.BACKGROUND_MASK)>>>xe.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&xe.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,i,s){let l=wt.getLanguageId(t),a=wt.getTokenType(t),c=wt.getFontStyle(t),u=wt.getForeground(t),f=wt.getBackground(t);const d=wt.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==et.NotSet&&(c=o),i!==0&&(u=i),s!==0&&(f=s),(l<<xe.LANGUAGEID_OFFSET|a<<xe.TOKEN_TYPE_OFFSET|c<<xe.FONT_STYLE_OFFSET|d<<xe.BALANCED_BRACKETS_OFFSET|u<<xe.FOREGROUND_OFFSET|f<<xe.BACKGROUND_OFFSET)>>>0}}function Fo(e,t=!1){var i;const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let s=0;s<n.length;s+=2){const l=t?n[s]+(n[s+1]||""):n[s];o.push([l,r]),r+=n[s].length,r+=((i=n[s+1])==null?void 0:i.length)||0}return o}function lf(e){return!e||["plaintext","txt","text","plain"].includes(e)}function af(e){return e==="ansi"||lf(e)}function cf(e){return e==="none"}function uf(e){return cf(e)}function ff(e,t){var r;if(!t)return e;e.properties||(e.properties={}),(r=e.properties).class||(r.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const o of n)o&&!e.properties.class.includes(o)&&e.properties.class.push(o);return e}function gy(e,t){let n=0;const r=[];for(const o of t)o>n&&r.push({...e,content:e.content.slice(n,o),offset:e.offset+n}),n=o;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function _y(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,o)=>r-o);return n.length?e.map(r=>r.flatMap(o=>{const i=n.filter(s=>o.offset<s&&s<o.offset+o.content.length).map(s=>s-o.offset).sort((s,l)=>s-l);return i.length?gy(o,i):o})):e}function Xt(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function df(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&et.Italic&&(t["font-style"]="italic"),e.fontStyle&et.Bold&&(t["font-weight"]="bold"),e.fontStyle&et.Underline&&(t["text-decoration"]="underline")),t}function pf(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function yy(e){const t=Fo(e,!0).map(([o])=>o);function n(o){let i=o,s=0;for(const l of t){if(i<l.length)break;i-=l.length,s++}return{line:s,character:i}}function r(o,i){let s=0;for(let l=0;l<o;l++)s+=t[l].length;return s+=i,s}return{lines:t,indexToPos:n,posToIndex:r}}var Qt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],di={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function vy(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function ha(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const i=[e[t+n++],e[t+n++],e[t+n]].map(s=>Number.parseInt(s));i.length===3&&!i.some(s=>Number.isNaN(s))&&(o={type:"rgb",rgb:i})}else if(r==="5"){const i=Number.parseInt(e[t+n]);Number.isNaN(i)||(o={type:"table",index:Number(i)})}return[n,o]}function by(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],o=Number.parseInt(r);if(!Number.isNaN(o))if(o===0)t.push({type:"resetAll"});else if(o<=9)di[o]&&t.push({type:"setDecoration",value:di[o]});else if(o<=29){const i=di[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Qt[o-30]}});else if(o===38){const[i,s]=ha(e,n);s&&t.push({type:"setForegroundColor",value:s}),n+=i}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Qt[o-40]}});else if(o===48){const[i,s]=ha(e,n);s&&t.push({type:"setBackgroundColor",value:s}),n+=i}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Qt[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Qt[o-100+8]}})}return t}function wy(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=vy(r,i),l=s.sequence?r.substring(i,s.startPosition):r.substring(i);if(l.length>0&&o.push({value:l,foreground:e,background:t,decorations:new Set(n)}),s.sequence){const a=by(s.sequence);for(const c of a)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of a)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}i=s.position}while(i<r.length);return o}}}var Ey={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Cy(e=Ey){function t(l){return e[l]}function n(l){return`#${l.map(a=>Math.max(0,Math.min(a,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let c=0;c<Qt.length;c++)r.push(t(Qt[c]));let l=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([l[c],l[u],l[f]]));let a=8;for(let c=0;c<24;c++,a+=10)r.push(n([a,a,a]));return r}function i(l){return o()[l]}function s(l){switch(l.type){case"named":return t(l.name);case"rgb":return n(l.rgb);case"table":return i(l.index)}}return{value:s}}function Ty(e,t,n){const r={...e.colorReplacements,...n==null?void 0:n.colorReplacements},o=Fo(t),i=Cy(Object.fromEntries(Qt.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),s=wy();return o.map(l=>s.parse(l[0]).map(a=>{let c,u;a.decorations.has("reverse")?(c=a.background?i.value(a.background):e.bg,u=a.foreground?i.value(a.foreground):e.fg):(c=a.foreground?i.value(a.foreground):e.fg,u=a.background?i.value(a.background):void 0),c=Xt(c,r),u=Xt(u,r),a.decorations.has("dim")&&(c=Py(c));let f=et.None;return a.decorations.has("bold")&&(f|=et.Bold),a.decorations.has("italic")&&(f|=et.Italic),a.decorations.has("underline")&&(f|=et.Underline),{content:a.value,offset:l[1],color:c,bgColor:u,fontStyle:f}}))}function Py(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function Ns(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(lf(r)||cf(o))return Fo(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return Ty(i,t,n);const l=e.getLanguage(r);return Sy(t,l,i,s,n)}function Sy(e,t,n,r,o){const i={...n.colorReplacements,...o==null?void 0:o.colorReplacements},{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:l=500}=o,a=Fo(e);let c=my,u=[];const f=[];for(let d=0,p=a.length;d<p;d++){const[h,y]=a[d];if(h===""){u=[],f.push([]);continue}if(s>0&&h.length>=s){u=[],f.push([{content:h,offset:y,color:"",fontStyle:0}]);continue}let v,E,P;o.includeExplanation&&(v=t.tokenizeLine(h,c),E=v.tokens,P=0);const g=t.tokenizeLine2(h,c,l),C=g.tokens.length/2;for(let T=0;T<C;T++){const S=g.tokens[2*T],D=T+1<C?g.tokens[2*T+2]:h.length;if(S===D)continue;const j=g.tokens[2*T+1],V=Xt(r[wt.getForeground(j)],i),M=wt.getFontStyle(j),Q={content:h.substring(S,D),offset:y+S,color:V,fontStyle:M};if(o.includeExplanation){Q.explanation=[];let K=0;for(;S+K<D;){const te=E[P],ie=h.substring(te.startIndex,te.endIndex);K+=ie.length,Q.explanation.push({content:ie,scopes:Ry(n,te.scopes)}),P+=1}}u.push(Q)}f.push(u),u=[],c=g.ruleStack}return f}function Ry(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const i=t.slice(0,r),s=t[r];n[r]={scopeName:s,themeMatches:Ay(e,s,i)}}return n}function ma(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function xy(e,t,n,r){if(!ma(e,n))return!1;let o=t.length-1,i=r.length-1;for(;o>=0&&i>=0;)ma(t[o],r[i])&&(o-=1),i-=1;return o===-1}function Ay(e,t,n){const r=[];let o=0;for(let i=0,s=e.settings.length;i<s;i++){const l=e.settings[i];let a;if(typeof l.scope=="string")a=l.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(l.scope))a=l.scope;else continue;for(let c=0,u=a.length;c<u;c++){const d=a[c].split(/ /),p=d[d.length-1],h=d.slice(0,d.length-1);xy(p,h,t,n)&&(r[o++]=l,c=u)}}return r}function hf(e,t,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=Ly(...r.map(s=>Ns(e,t,{...n,theme:s.theme})));return o[0].map((s,l)=>s.map((a,c)=>{const u={content:a.content,variants:{},offset:a.offset};return o.forEach((f,d)=>{const{content:p,explanation:h,offset:y,...v}=f[l][c];u.variants[r[d].color]=v}),u}))}function Ly(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(a=>a[r]),i=t.map(()=>[]);t.forEach((a,c)=>a.push(i[c]));const s=o.map(()=>0),l=o.map(a=>a[0]);for(;l.every(a=>a);){const a=Math.min(...l.map(c=>c.content.length));for(let c=0;c<n;c++){const u=l[c];u.content.length===a?(i[c].push(u),s[c]+=1,l[c]=o[c][s[c]]):(i[c].push({...u,content:u.content.slice(0,a)}),l[c]={...u,content:u.content.slice(a),offset:u.offset+a})}}}return t}class Ae extends Error{constructor(t){super(t),this.name="ShikiError"}}function vo(e,t,n){let r,o,i,s,l;if("themes"in n){const{defaultColor:a="light",cssVariablePrefix:c="--shiki-",colorReplacements:u}=n,f=Object.entries(n.themes).filter(y=>y[1]).map(y=>({color:y[0],theme:y[1]})).sort((y,v)=>y.color===a?-1:v.color===a?1:0);if(f.length===0)throw new Ae("`themes` option must not be empty");const d=hf(e,t,n);if(a&&!f.find(y=>y.color===a))throw new Ae(`\`themes\` option must contain the defaultColor key \`${a}\``);const p=f.map(y=>e.getTheme(y.theme)),h=f.map(y=>y.color);i=d.map(y=>y.map(v=>Oy(v,h,c,a))),o=f.map((y,v)=>(v===0&&a?"":`${c+y.color}:`)+(Xt(p[v].fg,u)||"inherit")).join(";"),r=f.map((y,v)=>(v===0&&a?"":`${c+y.color}-bg:`)+(Xt(p[v].bg,u)||"inherit")).join(";"),s=`shiki-themes ${p.map(y=>y.name).join(" ")}`,l=a?void 0:[o,r].join(";")}else if("theme"in n){const{colorReplacements:a}=n;i=Ns(e,t,n);const c=e.getTheme(n.theme);r=Xt(c.bg,a),o=Xt(c.fg,a),s=c.name}else throw new Ae("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:l}}function Oy(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(a=>df(e.variants[a])),s=new Set(i.flatMap(a=>Object.keys(a))),l=i.reduce((a,c,u)=>{for(const f of s){const d=c[f]||"inherit";if(u===0&&r)a[f]=d;else{const p=f==="color"?"":f==="background-color"?"-bg":`-${f}`,h=n+t[u]+(f==="color"?"":p);a[f]?a[f]+=`;${h}:${d}`:a[f]=`${h}:${d}`}}return a},{});return o.htmlStyle=r?pf(l):Object.values(l).join(";"),o}function ky(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let i=function(l){return typeof l=="number"?{...o.indexToPos(l),offset:l}:{...l,offset:o.posToIndex(l.line,l.character)}};const o=yy(r.source),s=(r.options.decorations||[]).map(l=>({...l,start:i(l.start),end:i(l.end)}));n(s),e.set(r.meta,{decorations:s,converter:o,source:r.source})}return e.get(r.meta)}function n(r){for(let o=0;o<r.length;o++){const i=r[o];if(i.start.offset>i.end.offset)throw new Ae(`Invalid decoration range: ${JSON.stringify(i.start)} - ${JSON.stringify(i.end)}`);for(let s=o+1;s<r.length;s++){const l=r[s],a=i.start.offset<l.start.offset&&l.start.offset<i.end.offset,c=i.start.offset<l.end.offset&&l.end.offset<i.end.offset,u=l.start.offset<i.start.offset&&i.start.offset<l.end.offset,f=l.start.offset<i.end.offset&&i.end.offset<l.end.offset;if(a||c||u||f){if(c&&c||u&&f)continue;throw new Ae(`Decorations ${JSON.stringify(i.start)} and ${JSON.stringify(l.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(r){var l;if(!((l=this.options.decorations)!=null&&l.length))return;const i=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return _y(r,i)},code(r){var f;if(!((f=this.options.decorations)!=null&&f.length))return;const o=t(this),i=Array.from(r.children).filter(d=>d.type==="element"&&d.tagName==="span");if(i.length!==o.converter.lines.length)throw new Ae(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${o.converter.lines.length}). Failed to apply decorations.`);function s(d,p,h,y){const v=i[d];let E="",P=-1,g=-1;function C(S){return S.type==="text"?S.value:S.type==="element"?S.children.map(C).join(""):""}if(p===0&&(P=0),h===0&&(g=0),h===Number.POSITIVE_INFINITY&&(g=v.children.length),P===-1||g===-1)for(let S=0;S<v.children.length;S++)E+=C(v.children[S]),P===-1&&E.length===p&&(P=S+1),g===-1&&E.length===h&&(g=S+1);if(P===-1)throw new Ae(`Failed to find start index for decoration ${JSON.stringify(y.start)}`);if(g===-1)throw new Ae(`Failed to find end index for decoration ${JSON.stringify(y.end)}`);const T=v.children.slice(P,g);if(!y.alwaysWrap&&T.length===v.children.length)a(v,y,"line");else if(!y.alwaysWrap&&T.length===1&&T[0].type==="element")a(T[0],y,"token");else{const S={type:"element",tagName:"span",properties:{},children:T};a(S,y,"wrapper"),v.children.splice(P,T.length,S)}}function l(d,p){i[d]=a(i[d],p,"line")}function a(d,p,h){var E;const y=p.properties||{},v=p.transform||(P=>P);return d.tagName=p.tagName||"span",d.properties={...d.properties,...y,class:d.properties.class},(E=p.properties)!=null&&E.class&&ff(d,p.properties.class),d=v(d,h)||d,d}const c=[],u=o.decorations.sort((d,p)=>p.start.offset-d.start.offset);for(const d of u){const{start:p,end:h}=d;if(p.line===h.line)s(p.line,p.character,h.character,d);else if(p.line<h.line){s(p.line,p.character,Number.POSITIVE_INFINITY,d);for(let y=p.line+1;y<h.line;y++)c.unshift(()=>l(y,d));s(h.line,0,h.character,d)}}c.forEach(d=>d())}}}const Iy=[ky()];function bo(e){return[...e.transformers||[],...Iy]}function wo(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>wo(e,o,i),codeToTokens:(o,i)=>vo(e,o,i)}){var d,p;let o=t;for(const h of bo(n))o=((d=h.preprocess)==null?void 0:d.call(r,o,n))||o;let{tokens:i,fg:s,bg:l,themeName:a,rootStyle:c}=vo(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?i=Dy(i):u==="never"&&(i=$y(i));const f={...r,get source(){return o}};for(const h of bo(n))i=((p=h.tokens)==null?void 0:p.call(f,i))||i;return Ny(i,{...n,fg:s,bg:l,themeName:a,rootStyle:c},f)}function Ny(e,t,n){var f,d,p;const r=bo(t),o=[],i={type:"root",children:[]};let s={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([h])=>!h.startsWith("_")))},children:[]},l={type:"element",tagName:"code",properties:{},children:o};const a=[],c={...n,addClassToHast:ff,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return s},get code(){return l},get lines(){return a}};e.forEach((h,y)=>{var P,g;y&&o.push({type:"text",value:`
26
- `});let v={type:"element",tagName:"span",properties:{class:"line"},children:[]},E=0;for(const C of h){let T={type:"element",tagName:"span",properties:{},children:[{type:"text",value:C.content}]};const S=C.htmlStyle||pf(df(C));S&&(T.properties.style=S);for(const D of r)T=((P=D==null?void 0:D.span)==null?void 0:P.call(c,T,y+1,E,v))||T;v.children.push(T),E+=C.content.length}for(const C of r)v=((g=C==null?void 0:C.line)==null?void 0:g.call(c,v,y+1))||v;a.push(v),o.push(v)});for(const h of r)l=((f=h==null?void 0:h.code)==null?void 0:f.call(c,l))||l;s.children.push(l);for(const h of r)s=((d=h==null?void 0:h.pre)==null?void 0:d.call(c,s))||s;i.children.push(s);let u=i;for(const h of r)u=((p=h==null?void 0:h.root)==null?void 0:p.call(c,u))||u;return u}function Dy(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const a=!(i.fontStyle&&i.fontStyle&et.Underline);a&&i.content.match(/^\s+$/)&&t[s+1]?(o||(o=i.offset),r+=i.content):r?(a?n.push({...i,offset:o,content:r+i.content}):n.push({content:r,offset:o},i),o=0,r=""):n.push(i)}),n})}function $y(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,o,i,s]=r;if(!o&&!s)return n;const l=[{...n,offset:n.offset+o.length,content:i}];return o&&l.unshift({content:o,offset:n.offset}),s&&l.push({content:s,offset:n.offset+o.length+i.length}),l}))}const My=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class _r{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}_r.prototype.property={};_r.prototype.normal={};_r.prototype.space=null;function mf(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new _r(n,r,t)}function qi(e){return e.toLowerCase()}class Ye{constructor(t,n){this.property=t,this.attribute=n}}Ye.prototype.space=null;Ye.prototype.boolean=!1;Ye.prototype.booleanish=!1;Ye.prototype.overloadedBoolean=!1;Ye.prototype.number=!1;Ye.prototype.commaSeparated=!1;Ye.prototype.spaceSeparated=!1;Ye.prototype.commaOrSpaceSeparated=!1;Ye.prototype.mustUseProperty=!1;Ye.prototype.defined=!1;let Hy=0;const ee=dn(),ve=dn(),gf=dn(),O=dn(),pe=dn(),Sn=dn(),Fe=dn();function dn(){return 2**++Hy}var Ki=Object.freeze({__proto__:null,boolean:ee,booleanish:ve,commaOrSpaceSeparated:Fe,commaSeparated:Sn,number:O,overloadedBoolean:gf,spaceSeparated:pe});const pi=Object.keys(Ki);class Ds extends Ye{constructor(t,n,r,o){let i=-1;if(super(t,n),ga(this,"space",o),typeof r=="number")for(;++i<pi.length;){const s=pi[i];ga(this,pi[i],(r&Ki[s])===Ki[s])}}}Ds.prototype.defined=!0;function ga(e,t,n){n&&(e[t]=n)}const By={}.hasOwnProperty;function Dn(e){const t={},n={};let r;for(r in e.properties)if(By.call(e.properties,r)){const o=e.properties[r],i=new Ds(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[qi(r)]=r,n[qi(i.attribute)]=r}return new _r(t,n,e.space)}const _f=Dn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),yf=Dn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function vf(e,t){return t in e?e[t]:t}function bf(e,t){return vf(e,t.toLowerCase())}const wf=Dn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:bf,properties:{xmlns:null,xmlnsXLink:null}}),Ef=Dn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ve,ariaAutoComplete:null,ariaBusy:ve,ariaChecked:ve,ariaColCount:O,ariaColIndex:O,ariaColSpan:O,ariaControls:pe,ariaCurrent:null,ariaDescribedBy:pe,ariaDetails:null,ariaDisabled:ve,ariaDropEffect:pe,ariaErrorMessage:null,ariaExpanded:ve,ariaFlowTo:pe,ariaGrabbed:ve,ariaHasPopup:null,ariaHidden:ve,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pe,ariaLevel:O,ariaLive:null,ariaModal:ve,ariaMultiLine:ve,ariaMultiSelectable:ve,ariaOrientation:null,ariaOwns:pe,ariaPlaceholder:null,ariaPosInSet:O,ariaPressed:ve,ariaReadOnly:ve,ariaRelevant:null,ariaRequired:ve,ariaRoleDescription:pe,ariaRowCount:O,ariaRowIndex:O,ariaRowSpan:O,ariaSelected:ve,ariaSetSize:O,ariaSort:null,ariaValueMax:O,ariaValueMin:O,ariaValueNow:O,ariaValueText:null,role:null}}),Vy=Dn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:bf,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Sn,acceptCharset:pe,accessKey:pe,action:null,allow:null,allowFullScreen:ee,allowPaymentRequest:ee,allowUserMedia:ee,alt:null,as:null,async:ee,autoCapitalize:null,autoComplete:pe,autoFocus:ee,autoPlay:ee,blocking:pe,capture:null,charSet:null,checked:ee,cite:null,className:pe,cols:O,colSpan:null,content:null,contentEditable:ve,controls:ee,controlsList:pe,coords:O|Sn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ee,defer:ee,dir:null,dirName:null,disabled:ee,download:gf,draggable:ve,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ee,formTarget:null,headers:pe,height:O,hidden:ee,high:O,href:null,hrefLang:null,htmlFor:pe,httpEquiv:pe,id:null,imageSizes:null,imageSrcSet:null,inert:ee,inputMode:null,integrity:null,is:null,isMap:ee,itemId:null,itemProp:pe,itemRef:pe,itemScope:ee,itemType:pe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ee,low:O,manifest:null,max:null,maxLength:O,media:null,method:null,min:null,minLength:O,multiple:ee,muted:ee,name:null,nonce:null,noModule:ee,noValidate:ee,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ee,optimum:O,pattern:null,ping:pe,placeholder:null,playsInline:ee,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ee,referrerPolicy:null,rel:pe,required:ee,reversed:ee,rows:O,rowSpan:O,sandbox:pe,scope:null,scoped:ee,seamless:ee,selected:ee,shadowRootDelegatesFocus:ee,shadowRootMode:null,shape:null,size:O,sizes:null,slot:null,span:O,spellCheck:ve,src:null,srcDoc:null,srcLang:null,srcSet:null,start:O,step:null,style:null,tabIndex:O,target:null,title:null,translate:null,type:null,typeMustMatch:ee,useMap:null,value:ve,width:O,wrap:null,align:null,aLink:null,archive:pe,axis:null,background:null,bgColor:null,border:O,borderColor:null,bottomMargin:O,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ee,declare:ee,event:null,face:null,frame:null,frameBorder:null,hSpace:O,leftMargin:O,link:null,longDesc:null,lowSrc:null,marginHeight:O,marginWidth:O,noResize:ee,noHref:ee,noShade:ee,noWrap:ee,object:null,profile:null,prompt:null,rev:null,rightMargin:O,rules:null,scheme:null,scrolling:ve,standby:null,summary:null,text:null,topMargin:O,valueType:null,version:null,vAlign:null,vLink:null,vSpace:O,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ee,disableRemotePlayback:ee,prefix:null,property:null,results:O,security:null,unselectable:null}}),jy=Dn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:vf,properties:{about:Fe,accentHeight:O,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:O,amplitude:O,arabicForm:null,ascent:O,attributeName:null,attributeType:null,azimuth:O,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:O,by:null,calcMode:null,capHeight:O,className:pe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:O,diffuseConstant:O,direction:null,display:null,dur:null,divisor:O,dominantBaseline:null,download:ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:O,enableBackground:null,end:null,event:null,exponent:O,externalResourcesRequired:null,fill:null,fillOpacity:O,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Sn,g2:Sn,glyphName:Sn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:O,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:O,horizOriginX:O,horizOriginY:O,id:null,ideographic:O,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:O,k:O,k1:O,k2:O,k3:O,k4:O,kernelMatrix:Fe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:O,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:O,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:O,overlineThickness:O,paintOrder:null,panose1:null,path:null,pathLength:O,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:pe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:O,pointsAtY:O,pointsAtZ:O,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Fe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Fe,rev:Fe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Fe,requiredFeatures:Fe,requiredFonts:Fe,requiredFormats:Fe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:O,specularExponent:O,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:O,strikethroughThickness:O,string:null,stroke:null,strokeDashArray:Fe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:O,strokeOpacity:O,strokeWidth:null,style:null,surfaceScale:O,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Fe,tabIndex:O,tableValues:null,target:null,targetX:O,targetY:O,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Fe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:O,underlineThickness:O,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:O,values:null,vAlphabetic:O,vMathematical:O,vectorEffect:null,vHanging:O,vIdeographic:O,version:null,vertAdvY:O,vertOriginX:O,vertOriginY:O,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:O,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Fy=/^data[-\w.:]+$/i,_a=/-[a-z]/g,Uy=/[A-Z]/g;function Gy(e,t){const n=qi(t);let r=t,o=Ye;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Fy.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(_a,zy);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!_a.test(i)){let s=i.replace(Uy,Wy);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=Ds}return new o(r,t)}function Wy(e){return"-"+e.toLowerCase()}function zy(e){return e.charAt(1).toUpperCase()}const qy=mf([yf,_f,wf,Ef,Vy],"html"),Cf=mf([yf,_f,wf,Ef,jy],"svg"),ya={}.hasOwnProperty;function Ky(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const l=r.handlers;if(o&&ya.call(o,e)){const a=String(o[e]);s=ya.call(l,a)?l[a]:r.unknown}if(s)return s.call(this,o,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function Jy(e,t){if(e=e.replace(t.subset?Yy(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(o,i,s){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),t)}function r(o,i,s){return t.format(o.charCodeAt(0),s.charCodeAt(i+1),t)}}function Yy(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function Xy(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function Qy(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const Zy=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],hi={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},ev=["cent","copy","divide","gt","lt","not","para","times"],Tf={}.hasOwnProperty,Ji={};let Ir;for(Ir in hi)Tf.call(hi,Ir)&&(Ji[hi[Ir]]=Ir);function tv(e,t,n,r){const o=String.fromCharCode(e);if(Tf.call(Ji,o)){const i=Ji[o],s="&"+i;return n&&Zy.includes(i)&&!ev.includes(i)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?s:s+";"}return""}function nv(e,t,n){let r=Xy(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=tv(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=Qy(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function Rn(e,t){return Jy(e,Object.assign({format:nv},t))}function rv(e,t,n,r){return r.settings.bogusComments?"<?"+Rn(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,o)+"-->";function o(i){return Rn(i,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function ov(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function va(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;o!==-1;)r++,o=n.indexOf(t,o+t.length);return r}function iv(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function sv(e){return e.join(" ").trim()}const lv=/[ \t\n\f\r]/g;function $s(e){return typeof e=="object"?e.type==="text"?ba(e.value):!1:ba(e)}function ba(e){return e.replace(lv,"")===""}const Te=Sf(1),Pf=Sf(-1),av=[];function Sf(e){return t;function t(n,r,o){const i=n?n.children:av;let s=(r||0)+e,l=i[s];if(!o)for(;l&&$s(l);)s+=e,l=i[s];return l}}const cv={}.hasOwnProperty;function Rf(e){return t;function t(n,r,o){return cv.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Ms=Rf({body:fv,caption:mi,colgroup:mi,dd:mv,dt:hv,head:mi,html:uv,li:pv,optgroup:gv,option:_v,p:dv,rp:wa,rt:wa,tbody:vv,td:Ea,tfoot:bv,th:Ea,thead:yv,tr:wv});function mi(e,t,n){const r=Te(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&$s(r.value.charAt(0)))}function uv(e,t,n){const r=Te(n,t);return!r||r.type!=="comment"}function fv(e,t,n){const r=Te(n,t);return!r||r.type!=="comment"}function dv(e,t,n){const r=Te(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function pv(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&r.tagName==="li"}function hv(e,t,n){const r=Te(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function mv(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function wa(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function gv(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function _v(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function yv(e,t,n){const r=Te(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function vv(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function bv(e,t,n){return!Te(n,t)}function wv(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Ea(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Ev=Rf({body:Pv,colgroup:Sv,head:Tv,html:Cv,tbody:Rv});function Cv(e){const t=Te(e,-1);return!t||t.type!=="comment"}function Tv(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const o=t[r];if(o.type==="element"&&(o.tagName==="title"||o.tagName==="base")){if(n.includes(o.tagName))return!1;n.push(o.tagName)}}return t.length>0}function Pv(e){const t=Te(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&$s(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Sv(e,t,n){const r=Pf(n,t),o=Te(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Ms(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function Rv(e,t,n){const r=Pf(n,t),o=Te(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Ms(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Nr={name:[[`
27
- \f\r &/=>`.split(""),`
28
- \f\r "&'/=>\``.split("")],[`\0
29
- \f\r "&'/<=>`.split(""),`\0
30
- \f\r "&'/<=>\``.split("")]],unquoted:[[`
31
- \f\r &>`.split(""),`\0
32
- \f\r "&'<=>\``.split("")],[`\0
33
- \f\r "&'<=>\``.split(""),`\0
34
- \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function xv(e,t,n,r){const o=r.schema,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let s=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let a;o.space==="html"&&e.tagName==="svg"&&(r.schema=Cf);const c=Av(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!Ev(e,t,n))&&(l.push("<",e.tagName,c?" "+c:""),s&&(o.space==="svg"||r.settings.closeSelfClosing)&&(a=c.charAt(c.length-1),(!r.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(u),!s&&(!i||!Ms(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function Av(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=Lv(e,o,t[o]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function Lv(e,t,n){const r=Gy(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let s=e.quote,l;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const a=Rn(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Nr.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?iv:sv)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=Rn(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Nr.unquoted[o][i]}))),l!==n&&(e.settings.quoteSmart&&va(n,s)>va(n,e.alternative)&&(s=e.alternative),l=s+Rn(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Nr.single:Nr.double)[o][i],attribute:!0}))+s),a+(l&&"="+l))}function xf(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Rn(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function Ov(e,t,n,r){return r.settings.allowDangerousHtml?e.value:xf(e,t,n,r)}function kv(e,t,n,r){return r.all(e)}const Iv=Ky("type",{invalid:Nv,unknown:Dv,handlers:{comment:rv,doctype:ov,element:xv,raw:Ov,root:kv,text:xf}});function Nv(e){throw new Error("Expected node, not `"+e+"`")}function Dv(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const $v={},Mv={},Hv=[];function Bv(e,t){const n=t||$v,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Vv,all:jv,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||My,characterReferences:n.characterReferences||Mv,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Cf:qy,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Vv(e,t,n){return Iv(e,t,n,this)}function jv(e){const t=[],n=e&&e.children||Hv;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Fv(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,l)=>wo(e,s,l),codeToTokens:(s,l)=>vo(e,s,l)};let o=Bv(wo(e,t,n,r));for(const s of bo(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function Uv(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function i(){return typeof performance<"u"?performance.now():Date.now()}function s(d,p,h){r.HEAPU8.copyWithin(d,p,p+h)}function l(){return 2147483648}function a(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(d){const p=r.HEAPU8.length;d=d>>>0;const h=l();if(d>h)return!1;const y=(v,E)=>v+(E-v%E)%E;for(let v=1;v<=4;v*=2){let E=p*(1+.2/v);E=Math.min(E,d+100663296);const P=Math.min(h,y(Math.max(d,E),65536));if(a(P))return!0}return!1}const u={emscripten_get_now:i,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const p=await e({env:u,wasi_snapshot_preview1:u});t=p.memory,o(t.buffer),Object.assign(r,p)}return await f(),r}let Re=null,Gv=!1;function Wv(e){throw new Ae(e.UTF8ToString(e.getLastOnigError()))}class Uo{constructor(t){b(this,"utf16Length");b(this,"utf8Length");b(this,"utf16Value");b(this,"utf8Value");b(this,"utf16OffsetToUtf8");b(this,"utf8OffsetToUtf16");const n=t.length,r=Uo._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[r]=n);const l=new Uint8Array(r);let a=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}o&&(i[c]=a,d&&(i[c+1]=a),f<=127?s[a+0]=c:f<=2047?(s[a+0]=c,s[a+1]=c):f<=65535?(s[a+0]=c,s[a+1]=c,s[a+2]=c):(s[a+0]=c,s[a+1]=c,s[a+2]=c,s[a+3]=c)),f<=127?l[a++]=f:f<=2047?(l[a++]=192|(f&1984)>>>6,l[a++]=128|(f&63)>>>0):f<=65535?(l[a++]=224|(f&61440)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0):(l[a++]=240|(f&1835008)>>>18,l[a++]=128|(f&258048)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=l,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,l=!1;if(i>=55296&&i<=56319&&r+1<o){const a=t.charCodeAt(r+1);a>=56320&&a<=57343&&(s=(i-55296<<10)+65536|a-56320,l=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,l&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Me=class Me{constructor(t){b(this,"id",++Me.LAST_ID);b(this,"_onigBinding");b(this,"content");b(this,"utf16Length");b(this,"utf8Length");b(this,"utf16OffsetToUtf8");b(this,"utf8OffsetToUtf16");b(this,"ptr");if(!Re)throw new Ae("Must invoke loadWasm first.");this._onigBinding=Re,this.content=t;const n=new Uo(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Me._sharedPtrInUse?(Me._sharedPtr||(Me._sharedPtr=Re.omalloc(1e4)),Me._sharedPtrInUse=!0,Re.HEAPU8.set(n.utf8Value,Me._sharedPtr),this.ptr=Me._sharedPtr):this.ptr=n.createString(Re)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Me._sharedPtr?Me._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};b(Me,"LAST_ID",0),b(Me,"_sharedPtr",0),b(Me,"_sharedPtrInUse",!1);let Eo=Me;class zv{constructor(t){b(this,"_onigBinding");b(this,"_ptr");if(!Re)throw new Ae("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new Uo(t[l]);n[l]=c.createString(Re),r[l]=c.utf8Length}const o=Re.omalloc(4*t.length);Re.HEAPU32.set(n,o/4);const i=Re.omalloc(4*t.length);Re.HEAPU32.set(r,i/4);const s=Re.createOnigScanner(o,i,t.length);for(let l=0,a=t.length;l<a;l++)Re.ofree(n[l]);Re.ofree(i),Re.ofree(o),s===0&&Wv(Re),this._onigBinding=Re,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=Gv,i=0;if(typeof r=="number"?(r&8&&(o=!0),i=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Eo(t);const s=this._findNextMatchSync(t,n,o,i);return t.dispose(),s}return this._findNextMatchSync(t,n,o,i)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding;let s;if(r?s=i.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),s===0)return null;const l=i.HEAPU32;let a=s/4;const c=l[a++],u=l[a++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(l[a++]),h=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:p,end:h,length:h-p}}return{index:c,captureIndices:f}}}function qv(e){return typeof e.instantiator=="function"}function Kv(e){return typeof e.default=="function"}function Jv(e){return typeof e.data<"u"}function Yv(e){return typeof Response<"u"&&e instanceof Response}function Xv(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Dr;function Qv(e){if(Dr)return Dr;async function t(){Re=await Uv(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),qv(r)?r=await r.instantiator(n):Kv(r)?r=await r.default(n):(Jv(r)&&(r=r.data),Yv(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await eb(r)(n):r=await tb(r)(n):Xv(r)&&(r=await Zv(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Dr=t(),Dr}function Zv(e){return t=>WebAssembly.instantiate(e,t)}function eb(e){return t=>WebAssembly.instantiateStreaming(e,t)}function tb(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function nb(e){return new Eo(e)}function rb(e){return new zv(e)}const Ca={light:"#333333",dark:"#bbbbbb"},Ta={light:"#fffffe",dark:"#1e1e1e"},Pa="__shiki_resolved";function Af(e){var l,a,c,u,f;if(e!=null&&e[Pa])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const d=t.settings?t.settings.find(p=>!p.name&&!p.scope):void 0;(l=d==null?void 0:d.settings)!=null&&l.foreground&&(r=d.settings.foreground),(a=d==null?void 0:d.settings)!=null&&a.background&&(n=d.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Ca.light:Ca.dark),n||(n=t.type==="light"?Ta.light:Ta.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const i=new Map;function s(d){var h;if(i.has(d))return i.get(d);o+=1;const p=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(h=t.colorReplacements)!=null&&h[`#${p}`]?s(d):(i.set(d,p),p)}t.settings=t.settings.map(d=>{var v,E;const p=((v=d.settings)==null?void 0:v.foreground)&&!d.settings.foreground.startsWith("#"),h=((E=d.settings)==null?void 0:E.background)&&!d.settings.background.startsWith("#");if(!p&&!h)return d;const y={...d,settings:{...d.settings}};if(p){const P=s(d.settings.foreground);t.colorReplacements[P]=d.settings.foreground,y.settings.foreground=P}if(h){const P=s(d.settings.background);t.colorReplacements[P]=d.settings.background,y.settings.background=P}return y});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const p=s(t.colors[d]);t.colorReplacements[p]=t.colors[d],t.colors[d]=p}return Object.defineProperty(t,Pa,{enumerable:!1,writable:!1,value:!0}),t}class ob extends hy{constructor(n,r,o,i={}){super(n);b(this,"_resolver");b(this,"_themes");b(this,"_langs");b(this,"_alias");b(this,"_resolvedThemes",{});b(this,"_resolvedGrammars",{});b(this,"_langMap",{});b(this,"_langGraph",new Map);b(this,"_textmateThemeCache",new WeakMap);b(this,"_loadedThemesCache",null);b(this,"_loadedLanguagesCache",null);this._resolver=n,this._themes=r,this._langs=o,this._alias=i,r.forEach(s=>this.loadTheme(s)),o.forEach(s=>this.loadLanguage(s))}getTheme(n){return typeof n=="string"?this._resolvedThemes[n]:this.loadTheme(n)}loadTheme(n){const r=Af(n);return r.name&&(this._resolvedThemes[r.name]=r,this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=Object.keys(this._resolvedThemes)),this._loadedThemesCache}setTheme(n){let r=this._textmateThemeCache.get(n);r||(r=_o.createFromRawTheme(n),this._textmateThemeCache.set(n,r)),this._syncRegistry.setTheme(r)}getGrammar(n){if(this._alias[n]){const r=new Set([n]);for(;this._alias[n];){if(n=this._alias[n],r.has(n))throw new Ae(`Circular alias \`${Array.from(r).join(" -> ")} -> ${n}\``);r.add(n)}}return this._resolvedGrammars[n]}async loadLanguage(n){var s,l,a,c;if(this.getGrammar(n.name))return;const r=new Set(Object.values(this._langMap).filter(u=>{var f;return(f=u.embeddedLangsLazy)==null?void 0:f.includes(n.name)}));this._resolver.addLanguage(n);const o={balancedBracketSelectors:n.balancedBracketSelectors||["*"],unbalancedBracketSelectors:n.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(n.scopeName,n);const i=await this.loadGrammarWithConfiguration(n.scopeName,1,o);if(this._resolvedGrammars[n.name]=i,n.aliases&&n.aliases.forEach(u=>{this._alias[u]=n.name}),this._loadedLanguagesCache=null,r.size)for(const u of r)delete this._resolvedGrammars[u.name],this._loadedLanguagesCache=null,(l=(s=this._syncRegistry)==null?void 0:s._injectionGrammars)==null||l.delete(u.scopeName),(c=(a=this._syncRegistry)==null?void 0:a._grammars)==null||c.delete(u.scopeName),await this.loadLanguage(this._langMap[u.name])}async init(){this._themes.map(n=>this.loadTheme(n)),await this.loadLanguages(this._langs)}async loadLanguages(n){for(const i of n)this.resolveEmbeddedLanguages(i);const r=Array.from(this._langGraph.entries()),o=r.filter(([i,s])=>!s);if(o.length){const i=r.filter(([s,l])=>{var a;return l&&((a=l.embeddedLangs)==null?void 0:a.some(c=>o.map(([u])=>u).includes(c)))}).filter(s=>!o.includes(s));throw new Ae(`Missing languages ${o.map(([s])=>`\`${s}\``).join(", ")}, required by ${i.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[i,s]of r)this._resolver.addLanguage(s);for(const[i,s]of r)await this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=Object.keys({...this._resolvedGrammars,...this._alias})),this._loadedLanguagesCache}resolveEmbeddedLanguages(n){if(this._langMap[n.name]=n,this._langGraph.set(n.name,n),n.embeddedLangs)for(const r of n.embeddedLangs)this._langGraph.set(r,this._langMap[r])}}class ib{constructor(t,n){b(this,"_langs",new Map);b(this,"_scopeToLang",new Map);b(this,"_injections",new Map);b(this,"_onigLibPromise");this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let o=1;o<=n.length;o++){const i=n.slice(0,o).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let sb;async function lb(e={}){async function t(v){return Promise.resolve(typeof v=="function"?v():v).then(E=>E.default||E)}async function n(v){return Array.from(new Set((await Promise.all(v.filter(E=>!af(E)).map(async E=>await t(E).then(P=>Array.isArray(P)?P:[P])))).flat()))}const r=e.loadWasm||sb,[o,i]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(v=>v.map(Af)),n(e.langs||[]),r?Qv(r):void 0]),s=new ib(Promise.resolve({createOnigScanner(v){return rb(v)},createOnigString(v){return nb(v)}}),i),l=new ob(s,o,i,e.langAlias);await l.init();let a;function c(v){const E=l.getGrammar(typeof v=="string"?v:v.name);if(!E)throw new Ae(`Language \`${v}\` not found, you may need to load it first`);return E}function u(v){if(v==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const E=l.getTheme(v);if(!E)throw new Ae(`Theme \`${v}\` not found, you may need to load it first`);return E}function f(v){const E=u(v);a!==v&&(l.setTheme(E),a=v);const P=l.getColorMap();return{theme:E,colorMap:P}}function d(){return l.getLoadedThemes()}function p(){return l.getLoadedLanguages()}async function h(...v){await l.loadLanguages(await n(v))}async function y(...v){await Promise.all(v.map(async E=>uf(E)?null:l.loadTheme(await t(E))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:p,loadLanguage:h,loadTheme:y}}async function ab(e={}){const t=await lb(e);return{codeToTokensBase:(n,r)=>Ns(t,n,r),codeToTokensWithThemes:(n,r)=>hf(t,n,r),codeToTokens:(n,r)=>vo(t,n,r),codeToHast:(n,r)=>wo(t,n,r),codeToHtml:(n,r)=>Fv(t,n,r),...t,getInternalContext:()=>t}}function cb(e,t,n){async function r(o){function i(u){if(typeof u=="string"){if(af(u))return[];const f=e[u];if(!f)throw new Ae(`Language \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}function s(u){if(uf(u))return"none";if(typeof u=="string"){const f=t[u];if(!f)throw new Ae(`Theme \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}const l=(o.themes??[]).map(u=>s(u)),a=(o.langs??[]).map(u=>i(u)),c=await ab({...o,themes:l,langs:a,loadWasm:n});return{...c,loadLanguage(...u){return c.loadLanguage(...u.map(i))},loadTheme(...u){return c.loadTheme(...u.map(s))}}}return r}const ub=cb(x0,O0,A0);let fb;const Mn=[];function db(e){if(Mn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Mn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&Mn.forEach(n=>n(t))},get(){return fb.value},configurable:!0}),()=>{Mn.splice(Mn.indexOf(e),1)}}const vt=_e(null);async function Lf(){Yi.value&&(vt.value=await Yi.value("/__site-config__/debug.json"))}const Yi=_e(),Of=_e(),kf=_e();db(async e=>{Yi.value=e.host.app.$fetch,fc(()=>{kf.value=e.host.app.colorMode.value}),Of.value=e.devtools,Lf()});const If=_e();function pb(){return ub({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{If.value=e})}function Nf(e,t){return Ke(()=>{var r;const n=((r=Of.value)==null?void 0:r.colorMode)||"light";return If.value.codeToHtml(fe(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const hb=["innerHTML"],mb=Ue({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=Ke(()=>{const r=Nf(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(Y(),ae("pre",{class:Ee(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,hb))}}),gb={flex:"~ gap-3","items-center":""},_b=Ue({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(Y(),ae("div",gb,[t.icon?(Y(),ae("div",{key:0,class:Ee(t.icon)},null,2)):ut("",!0),Be(t.$slots,"default",{},()=>[G("div",null,at(t.text),1)])]))}});typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const yb=e=>typeof e<"u";function vb(e){return JSON.parse(JSON.stringify(e))}function bb(e,t,n,r={}){var o,i,s;const{clone:l=!1,passive:a=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=ko(),h=n||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let y=c;t||(t="modelValue"),y=y||`update:${t.toString()}`;const v=g=>l?typeof l=="function"?l(g):vb(g):g,E=()=>yb(e[t])?v(e[t]):f,P=g=>{d?d(g)&&h(y,g):h(y,g)};if(a){const g=E(),C=_e(g);let T=!1;return $t(()=>e[t],S=>{T||(T=!0,C.value=v(S),dr(()=>T=!1))}),$t(C,S=>{!T&&(S!==e[t]||u)&&P(S)},{deep:u}),C}else return Ke({get(){return E()},set(g){P(g)}})}const Df=e=>(sc("data-v-348c1d92"),e=e(),lc(),e),wb=["open"],Eb={"text-base":""},Cb={key:0,"text-sm":"",op50:""},Tb=Df(()=>G("div",{class:"flex-auto"},null,-1)),Pb=Df(()=>G("div",{class:"x-divider"},null,-1)),Sb=Ue({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=bb(e,"open");function r(o){n.value=o.target.open}return(o,i)=>{const s=Wu,l=_b;return Y(),ae(we,null,[G("details",{open:fe(n),onToggle:r},[G("summary",{class:Ee(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[J(l,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Ee([fe(n)?"op100":"op60",o.headerClass])},{default:ue(()=>[G("div",null,[G("div",Eb,[Be(o.$slots,"text",{},()=>[ke(at(o.text),1)],!0)]),o.description||o.$slots.description?(Y(),ae("div",Cb,[Be(o.$slots,"description",{},()=>[ke(at(o.description),1)],!0)])):ut("",!0)]),Tb,Be(o.$slots,"actions",{},void 0,!0),o.collapse?(Y(),Ne(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):ut("",!0)]),_:3},8,["icon","text","class"])],2),G("div",{class:Ee(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[Be(o.$slots,"details",{},void 0,!0),G("div",{class:Ee([o.containerClass,"mt1"])},[Be(o.$slots,"default",{},void 0,!0)],2),Be(o.$slots,"footer",{},void 0,!0)],2)],40,wb),Pb],64)}}}),Rb=jo(Sb,[["__scopeId","data-v-348c1d92"]]),xb={class:"relative n-bg-base flex flex-col"},Ab={class:"sticky top-0 z-2 px-4 pt-4"},Lb={class:"flex justify-between items-start",mb2:""},Ob={class:"flex space-x-5"},kb={"text-xl":"",flex:"","items-center":"","gap-2":""},Ib={class:"flex items-center space-x-3 text-xl"},Nb={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},Db={class:"px-5 py-2"},$b={"text-lg":"",flex:"","items-center":""},Mb={class:"px-5 py-2"},Hb={"text-lg":"",flex:"","items-center":""},Bb={class:"px-5 py-2"},Vb={"text-lg":"",flex:"","items-center":""},jb={class:"px-5 py-2"},Fb={"text-lg":"",flex:"","items-center":""},Ub=["value","title"],Gb={class:"items-center space-x-3 hidden lg:flex"},Wb={class:"opacity-80 text-sm"},zb={class:"opacity-80 text-sm"},qb={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},Kb={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},Jb={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},Yb={key:0},Xb={class:"space-y-3"},Qb={class:"col-span-2 opacity-80"},Zb={class:"col-span-7"},e1={key:0,class:"opacity-40"},t1={key:1,class:"space-y-5"},n1={class:"opacity-80 text-base mb-1"},r1={class:"opacity-60 text-xs"},o1={class:"px-3 py-2 space-y-5"},i1={key:2,class:"h-full max-h-full overflow-hidden"},s1={class:"opacity-80 text-base mb-1"},l1={class:"px-3 py-2 space-y-5"},a1=["innerHTML"],c1={key:3,class:"h-full max-h-full overflow-hidden"},u1=G("iframe",{src:"https://nuxtseo.com/site-config",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),f1=[u1],d1=Ue({__name:"app",async setup(e){let t,n;[t,n]=sp(()=>pb()),await t,n();const r=_e(!1);async function o(){r.value=!0,vt.value=null,await Lf(),setTimeout(()=>{r.value=!1},300)}const i=_e("config");Tg({htmlAttrs:{class:()=>kf.value||""}});const s=Ke(()=>{var c;return(((c=vt.value)==null?void 0:c.stack)||[]).toReversed()}),l=Ke(()=>{var u;const c={...((u=vt.value)==null?void 0:u.config)||{}};return delete c._context,Object.entries(c)});function a(c){const u={...c};return delete u._priority,delete u._context,u}return(c,u)=>{const f=Wu,d=s0,p=on("VTooltip"),h=p0,y=v0,v=P0,E=mb,P=Rb;return Y(),ae("div",xb,[G("header",Ab,[G("div",Lb,[G("div",Ob,[G("h1",kb,[J(f,{icon:"carbon:settings-check",class:"text-blue-300"}),ke(" Site Config "),J(d,{class:"text-sm"},{default:ue(()=>{var g;return[ke(at((g=fe(vt))==null?void 0:g.version),1)]}),_:1})])]),G("div",Ib,[G("fieldset",Nb,[(Y(),ae(we,null,Xo(["config","stack","debug","docs"],(g,C)=>G("label",{key:C,class:Ee(["relative n-border-base hover:n-bg-active cursor-pointer",[C?"border-l n-border-base ml--1px":"",g===i.value?"n-bg-active":""]])},[g==="config"?(Y(),ae("div",{key:0,class:Ee([g===i.value?"":"op35"])},[J(p,null,{popper:ue(()=>[ke(" Site Config ")]),default:ue(()=>[G("div",Db,[G("h2",$b,[J(f,{icon:"carbon:settings opacity-50"})])])]),_:1})],2)):g==="stack"?(Y(),ae("div",{key:1,class:Ee([g===i.value?"":"op35"])},[J(p,null,{popper:ue(()=>[ke(" Stack ")]),default:ue(()=>[G("div",Mb,[G("h2",Hb,[J(f,{icon:"carbon:stacked-scrolling-1 opacity-50"}),J(d,{class:"text-sm"},{default:ue(()=>[ke(at(s.value.length),1)]),_:1})])])]),_:1})],2)):g==="debug"?(Y(),ae("div",{key:2,class:Ee([g===i.value?"":"op35"])},[J(p,null,{popper:ue(()=>[ke(" Debug ")]),default:ue(()=>[G("div",Bb,[G("h2",Vb,[J(f,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):g==="docs"?(Y(),ae("div",{key:3,class:Ee([g===i.value?"":"op35"])},[J(p,null,{popper:ue(()=>[ke(" Documentation ")]),default:ue(()=>[G("div",jb,[G("h2",Fb,[J(f,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):ut("",!0),Xd(G("input",{"onUpdate:modelValue":u[0]||(u[0]=T=>i.value=T),type:"radio",value:g,title:g,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,Ub),[[oh,i.value]])],2)),64))]),J(p,null,{popper:ue(()=>[ke(" Refresh ")]),default:ue(()=>[G("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:o},[J(f,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),G("div",Gb,[G("div",Wb,[J(h,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:ue(()=>[J(f,{icon:"carbon:favorite",class:"mr-[2px]"}),ke(" Sponsor ")]),_:1})]),G("div",zb,[J(h,{href:"https://github.com/harlan-zw/nuxt-site-config",target:"_blank"},{default:ue(()=>[J(f,{icon:"logos:github-icon",class:"mr-[2px]"}),ke(" Submit an issue ")]),_:1})]),G("a",qb,[J(y)])])])]),G("div",Kb,[G("main",Jb,[!s.value||r.value?(Y(),Ne(v,{key:0})):(Y(),ae(we,{key:1},[i.value==="config"?(Y(),ae("div",Yb,[G("div",Xb,[(Y(!0),ae(we,null,Xo(l.value,([g,C])=>(Y(),ae("div",{key:g,class:"w-full grid grid-cols-12 items-center space-x-3 py-1.5 px-3 shadow-sm border-t-1 border-t-transparent border-b-1 border-b-gray-200/20"},[G("div",Qb,at(g),1),G("div",Zb,[J(E,{lines:!1,class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(C,null,2),lang:"json"},null,8,["code"])]),fe(vt).config._context&&g in fe(vt).config._context?(Y(),ae("div",e1,at(fe(vt).config._context[g]),1)):ut("",!0)]))),128))])])):ut("",!0),i.value==="stack"?(Y(),ae("div",t1,[(Y(!0),ae(we,null,Xo(s.value,(g,C)=>(Y(),Ne(P,{key:C},{text:ue(()=>[G("h3",n1,at(g._context),1)]),description:ue(()=>[G("div",r1," Priority: "+at(g._priority||0),1)]),default:ue(()=>[G("div",o1,[J(E,{class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(a(g),null,2),lang:"json"},null,8,["code"])])]),_:2},1024))),128))])):i.value==="debug"?(Y(),ae("div",i1,[J(P,null,{text:ue(()=>[G("h3",s1,[J(f,{icon:"carbon:settings",class:"mr-1"}),ke(" Runtime Config ")])]),default:ue(()=>[G("div",l1,[G("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:("renderCodeHighlight"in c?c.renderCodeHighlight:fe(Nf))(JSON.stringify(fe(vt),null,2),"json").value},null,8,a1)])]),_:1})])):i.value==="docs"?(Y(),ae("div",c1,f1)):ut("",!0)],64))])])])}}}),p1={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
35
- `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
36
- `);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),l=void 0,u=o?rl(()=>m(()=>import("./BMaGx5A0.js"),__vite__mapDeps([90,91]),import.meta.url).then(f=>f.default||f)):rl(()=>m(()=>import("./BgnbiTu5.js"),__vite__mapDeps([92,93]),import.meta.url).then(f=>f.default||f));return(f,d)=>(Y(),Ne(fe(u),ka(ys({statusCode:fe(r),statusMessage:fe(i),description:fe(s),stack:fe(l)})),null,16))}},Sa={__name:"nuxt-root",setup(e){const t=()=>null,n=ye(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Ut().beforeEach(l)}const o=!1;Ec(su,lu()),n.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const i=Ts();yc((l,a,c)=>{if(n.hooks.callHook("vue:error",l,a,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),km(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Lm(l)),!1});const s=!1;return(l,a)=>(Y(),Ne(Fd,{onResolve:fe(r)},{default:ue(()=>[fe(i)?(Y(),Ne(fe(p1),{key:0,error:fe(i)},null,8,["error"])):fe(s)?(Y(),Ne(fe(t),{key:1,context:fe(s)},null,8,["context"])):fe(o)?(Y(),Ne(Bd(fe(o)),{key:2})):(Y(),Ne(fe(d1),{key:3}))]),_:1},8,["onResolve"]))}};let Ra;{let e;Ra=async function(){var s,l;if(e)return e;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?uh(Sa):jc(Sa),o=hm({vueApp:r});async function i(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||Ps(a)}r.config.errorHandler=i;try{await gm(o,n0)}catch(a){i(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(Ag),await o.hooks.callHook("app:mounted",r),await dr()}catch(a){i(a)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},e=Ra().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{jo as _,G as a,J as b,ae as c,ke as d,c0 as e,lc as f,Y as o,sc as p,at as t,Tg as u,ue as w};