@nuxt/devtools 1.4.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/chunks/analyze-build.mjs +1 -1
  2. package/dist/chunks/module-main.mjs +648 -648
  3. package/dist/chunks/vite-inspect.mjs +1 -1
  4. package/dist/chunks/vscode.mjs +15 -15
  5. package/dist/client/200.html +18 -34
  6. package/dist/client/404.html +18 -34
  7. package/dist/client/_nuxt/__blank-c3ogaker.js +1 -0
  8. package/dist/client/_nuxt/analyze-build-ea1eck8p.js +1 -0
  9. package/dist/client/_nuxt/assets-n3kfhorl.js +16 -0
  10. package/dist/client/_nuxt/builds/latest.json +1 -1
  11. package/dist/client/_nuxt/builds/meta/9a9f67ed-5b9a-4514-bf49-62859c510bf6.json +1 -0
  12. package/dist/client/_nuxt/client-klf75x38.js +1 -0
  13. package/dist/client/_nuxt/code-diff.vue-3ei6zne1.js +8 -0
  14. package/dist/client/_nuxt/code-snippets.vue-jr6ih8m7.js +1 -0
  15. package/dist/client/_nuxt/components-c38lzacq.js +1 -0
  16. package/dist/client/_nuxt/components-tree-ihs546mg.js +1 -0
  17. package/dist/client/_nuxt/composable-item.vue-fyg5hnt4.js +1 -0
  18. package/dist/client/_nuxt/custom-_name_-eeczuiaf.js +1 -0
  19. package/dist/client/_nuxt/default-iofn16rr.js +1 -0
  20. package/dist/client/_nuxt/duration-display.vue-h3qa2740.js +1 -0
  21. package/dist/client/_nuxt/entry.css-bgn3dvs3.css +1 -0
  22. package/dist/client/_nuxt/error-404-m1rb28qo.js +1 -0
  23. package/dist/client/_nuxt/error-404.css-l9hojrit.css +1 -0
  24. package/dist/client/_nuxt/error-500-diual75d.js +1 -0
  25. package/dist/client/_nuxt/error-500.css-jiufalsw.css +1 -0
  26. package/dist/client/_nuxt/error-j0kod4j7.js +9 -0
  27. package/dist/client/_nuxt/filepath-item.vue-gspuql6t.js +1 -0
  28. package/dist/client/_nuxt/full-gbkjzbjn.js +1 -0
  29. package/dist/client/_nuxt/help-fab.vue-hr5z89ai.js +1 -0
  30. package/dist/client/_nuxt/hooks-bmqjn5uk.js +1 -0
  31. package/dist/client/_nuxt/imports-bpqh8uz0.js +1 -0
  32. package/dist/client/_nuxt/index-i6v3sxsq.js +1 -0
  33. package/dist/client/_nuxt/index-kk8qg4i0.js +2 -0
  34. package/dist/client/_nuxt/l4ouzdbv.js +16 -0
  35. package/dist/client/_nuxt/launch-page.vue-o72v57lt.js +1 -0
  36. package/dist/client/_nuxt/modules-hfiy1oig.js +1 -0
  37. package/dist/client/_nuxt/nbadge-nscxg0ea.js +1 -0
  38. package/dist/client/_nuxt/ncheckbox.vue-e9ud9j5x.js +1 -0
  39. package/dist/client/_nuxt/ncode-block.vue-bfbbo3c9.js +2 -0
  40. package/dist/client/_nuxt/ndrawer.vue-mplxtid5.js +1 -0
  41. package/dist/client/_nuxt/ndropdown.vue-e87kxadx.js +1 -0
  42. package/dist/client/_nuxt/nicon-title.vue-g9trlv29.js +1 -0
  43. package/dist/client/_nuxt/nlink.vue-eiz3iwjv.js +1 -0
  44. package/dist/client/_nuxt/nmarkdown.vue-nnge8mex.js +1 -0
  45. package/dist/client/_nuxt/nnavbar.vue-g8533enj.js +1 -0
  46. package/dist/client/_nuxt/none-e5nk9q3m.js +1 -0
  47. package/dist/client/_nuxt/nsection-block-mvrkafth.js +1 -0
  48. package/dist/client/_nuxt/nselect-tabs.vue-fwkap4uo.js +1 -0
  49. package/dist/client/_nuxt/nselect.vue-fw7xtqj5.js +1 -0
  50. package/dist/client/_nuxt/open-graph-mg0wvem5.js +3 -0
  51. package/dist/client/_nuxt/{open-graph.-BQyihv8.css → open-graph.css-np61an3p.css} +1 -1
  52. package/dist/client/_nuxt/overview-dwng171y.js +1 -0
  53. package/dist/client/_nuxt/pages-dw5vn1ay.js +1 -0
  54. package/dist/client/_nuxt/payload-n5bpui5g.js +1 -0
  55. package/dist/client/_nuxt/pinia-hflvu3wk.js +1 -0
  56. package/dist/client/_nuxt/plugins-is0jalvz.js +1 -0
  57. package/dist/client/_nuxt/runtime-configs-j2weq3a8.js +1 -0
  58. package/dist/client/_nuxt/server-route-inputs.vue-f12vix3z.js +1 -0
  59. package/dist/client/_nuxt/server-routes-fukasdvq.js +9 -0
  60. package/dist/client/_nuxt/server-tasks-k1h90jj9.js +1 -0
  61. package/dist/client/_nuxt/settings-bwoka9ty.js +1 -0
  62. package/dist/client/_nuxt/stacktrace-list.vue-ctsox658.js +1 -0
  63. package/dist/client/_nuxt/state-components-3qxyvdiu.js +1 -0
  64. package/dist/client/_nuxt/state-editor.vue-mh0eij72.js +1 -0
  65. package/dist/client/_nuxt/state-modules-fxsj7vyw.js +1 -0
  66. package/dist/client/_nuxt/storage-i7qr12jo.js +1 -0
  67. package/dist/client/_nuxt/terminals-elxq15i6.js +1 -0
  68. package/dist/client/_nuxt/terminals.css-o071tnq5.css +1 -0
  69. package/dist/client/_nuxt/timeline-o2dlglei.js +31 -0
  70. package/dist/client/_nuxt/timeline.css-i7fpg75n.css +1 -0
  71. package/dist/client/_nuxt/unocss-runtime-ks657l4w.js +1 -0
  72. package/dist/client/_nuxt/vendor/json-editor-vue-mdfcgt41.js +124 -0
  73. package/dist/client/_nuxt/vendor/json-editor-vue.css-o0jf01nd.css +1 -0
  74. package/dist/client/_nuxt/vendor/shiki-fpe2sz4h.js +87 -0
  75. package/dist/client/_nuxt/vendor/unocss-mnpxkox6.js +2 -0
  76. package/dist/client/_nuxt/vendor/unocss.css-na153c8v.css +1 -0
  77. package/dist/client/_nuxt/vendor/vis-cum19y28.js +98 -0
  78. package/dist/client/_nuxt/{BMmGYe_n.js → vendor/xterm-h0ftnevm.js} +6 -6
  79. package/dist/client/_nuxt/{terminals.BIEho_Pa.css → vendor/xterm.css-egivkam7.css} +1 -1
  80. package/dist/client/_nuxt/virtual-files-j88ybqgt.js +1 -0
  81. package/dist/client/_nuxt/vue-virtual-scroller.esm-k82i9hy2.js +2 -0
  82. package/dist/client/index.html +18 -34
  83. package/dist/module.json +1 -1
  84. package/dist/runtime/function-metrics-helpers.d.ts +1 -1
  85. package/dist/runtime/function-metrics-helpers.js +1 -1
  86. package/dist/runtime/plugins/view/FrameBox.vue +1 -1
  87. package/dist/runtime/plugins/view/Main.vue +3 -3
  88. package/dist/runtime/plugins/view/client.d.ts +1 -2
  89. package/dist/runtime/plugins/view/client.js +2 -2
  90. package/dist/runtime/plugins/view/state.d.ts +1 -2
  91. package/dist/runtime/plugins/view/utils.d.ts +12 -12
  92. package/dist/runtime/settings.d.ts +1 -1
  93. package/dist/runtime/shared/hooks.d.ts +0 -1
  94. package/dist/runtime/use-nuxt-devtools.d.ts +1 -1
  95. package/dist/runtime/use-nuxt-devtools.js +1 -1
  96. package/dist/runtime/vue-devtools/overlay.js +1 -1
  97. package/package.json +35 -35
  98. package/dist/client/_nuxt/32IlS-eL.js +0 -15
  99. package/dist/client/_nuxt/6ngNN4Yp.js +0 -1
  100. package/dist/client/_nuxt/7oK7PdYH.js +0 -1
  101. package/dist/client/_nuxt/B1veJI6T.js +0 -1
  102. package/dist/client/_nuxt/B3uNdhXb.js +0 -100
  103. package/dist/client/_nuxt/B6E6ObS_.js +0 -8
  104. package/dist/client/_nuxt/BECRlsCL.js +0 -1
  105. package/dist/client/_nuxt/BHh_UM9T.js +0 -1
  106. package/dist/client/_nuxt/BI3hykgO.js +0 -1
  107. package/dist/client/_nuxt/BKeomq25.js +0 -1
  108. package/dist/client/_nuxt/BKukfVLl.js +0 -1
  109. package/dist/client/_nuxt/BLmvGqlk.js +0 -1
  110. package/dist/client/_nuxt/BMbUeBqv.js +0 -74
  111. package/dist/client/_nuxt/BOV_C5BD.js +0 -1
  112. package/dist/client/_nuxt/BYelj_cE.js +0 -1
  113. package/dist/client/_nuxt/BZfs-ost.js +0 -1
  114. package/dist/client/_nuxt/BiRcA7Ly.js +0 -1
  115. package/dist/client/_nuxt/BiWblMbN.js +0 -505
  116. package/dist/client/_nuxt/BiWf_U1D.js +0 -1
  117. package/dist/client/_nuxt/BkwfBuTq.js +0 -1
  118. package/dist/client/_nuxt/BopA0WYG.js +0 -1
  119. package/dist/client/_nuxt/Br6ll-O0.js +0 -1
  120. package/dist/client/_nuxt/BsEGx9wN.js +0 -1
  121. package/dist/client/_nuxt/Bu2gNcUf.js +0 -1
  122. package/dist/client/_nuxt/Bxkoe-BC.js +0 -1
  123. package/dist/client/_nuxt/ByTwm2ax.js +0 -1
  124. package/dist/client/_nuxt/C1fpCDlE.js +0 -1
  125. package/dist/client/_nuxt/C2HmjCtb.js +0 -1
  126. package/dist/client/_nuxt/C8RrL2-P.js +0 -1
  127. package/dist/client/_nuxt/C9bF3W-8.js +0 -1032
  128. package/dist/client/_nuxt/CCJYS4Qc.js +0 -4
  129. package/dist/client/_nuxt/CCXTpRMt.js +0 -1
  130. package/dist/client/_nuxt/CCfUy938.js +0 -2
  131. package/dist/client/_nuxt/CEL3Rl_8.js +0 -1
  132. package/dist/client/_nuxt/CHuuZgn4.js +0 -699
  133. package/dist/client/_nuxt/CIvuwNIv.js +0 -2
  134. package/dist/client/_nuxt/CNzQK24q.js +0 -1
  135. package/dist/client/_nuxt/CO7Eo6nF.js +0 -1
  136. package/dist/client/_nuxt/CTKqK4eG.js +0 -2002
  137. package/dist/client/_nuxt/CUZJ8tqD.js +0 -1
  138. package/dist/client/_nuxt/CWDIGLyg.js +0 -1
  139. package/dist/client/_nuxt/C_n3_iyW.js +0 -16
  140. package/dist/client/_nuxt/C_tLznPO.js +0 -43
  141. package/dist/client/_nuxt/CbViG2Xw.js +0 -74
  142. package/dist/client/_nuxt/CbYhyuC0.js +0 -505
  143. package/dist/client/_nuxt/CoNBQO3e.js +0 -1
  144. package/dist/client/_nuxt/CsTmP73Z.js +0 -1
  145. package/dist/client/_nuxt/CupVZNk8.js +0 -25
  146. package/dist/client/_nuxt/D4C_EO1O.js +0 -9
  147. package/dist/client/_nuxt/D4FLysGE.js +0 -1
  148. package/dist/client/_nuxt/D4V9JMY9.js +0 -1
  149. package/dist/client/_nuxt/D5Dg5B9b.js +0 -1
  150. package/dist/client/_nuxt/D86udNSS.js +0 -1
  151. package/dist/client/_nuxt/DAg81ukK.js +0 -30
  152. package/dist/client/_nuxt/DC8MraHL.js +0 -666
  153. package/dist/client/_nuxt/DDDCUP5E.js +0 -3
  154. package/dist/client/_nuxt/DDMtKJxh.js +0 -1
  155. package/dist/client/_nuxt/DHFOa8tC.js +0 -200
  156. package/dist/client/_nuxt/DHZqFavZ.js +0 -2
  157. package/dist/client/_nuxt/DHsLiygU.js +0 -1
  158. package/dist/client/_nuxt/DJg41Obz.js +0 -1
  159. package/dist/client/_nuxt/DJn5wykB.js +0 -1
  160. package/dist/client/_nuxt/DK4oFTHQ.js +0 -200
  161. package/dist/client/_nuxt/DMjsYTya.js +0 -1
  162. package/dist/client/_nuxt/DOv5BRyJ.js +0 -1
  163. package/dist/client/_nuxt/DajZvwFy.js +0 -1
  164. package/dist/client/_nuxt/Dch3xQiY.js +0 -699
  165. package/dist/client/_nuxt/Di-fSNio.js +0 -1
  166. package/dist/client/_nuxt/DiyNht5f.js +0 -9
  167. package/dist/client/_nuxt/Dm9RYIcI.js +0 -1
  168. package/dist/client/_nuxt/DockxStG.js +0 -1
  169. package/dist/client/_nuxt/DpYuRYxj.js +0 -2072
  170. package/dist/client/_nuxt/DqpvVAaa.js +0 -1
  171. package/dist/client/_nuxt/DrswlxM3.js +0 -1
  172. package/dist/client/_nuxt/DtfHoqTV.js +0 -1
  173. package/dist/client/_nuxt/DvyTQcux.js +0 -1
  174. package/dist/client/_nuxt/J0gvLlTF.js +0 -1
  175. package/dist/client/_nuxt/L3q7etZW.js +0 -1
  176. package/dist/client/_nuxt/Q9LIRUci.js +0 -25
  177. package/dist/client/_nuxt/QxrU7fRC.js +0 -1
  178. package/dist/client/_nuxt/RBAD4-dW.js +0 -1
  179. package/dist/client/_nuxt/T8d8zkkH.js +0 -1
  180. package/dist/client/_nuxt/U0su7k1z.js +0 -1
  181. package/dist/client/_nuxt/UI0GwUC_.js +0 -1
  182. package/dist/client/_nuxt/YWCqik9X.js +0 -98
  183. package/dist/client/_nuxt/_ECCzcZq.js +0 -666
  184. package/dist/client/_nuxt/builds/meta/1766755b-b307-4775-82c4-edb6a4a7e185.json +0 -1
  185. package/dist/client/_nuxt/entry.eFSfOpqI.css +0 -1
  186. package/dist/client/_nuxt/error-404.HYsbWGh9.css +0 -1
  187. package/dist/client/_nuxt/error-500.BwPFg8q2.css +0 -1
  188. package/dist/client/_nuxt/nhLZZe93.js +0 -1
  189. package/dist/client/_nuxt/timeline.BVVcTKn-.css +0 -1
  190. /package/dist/client/_nuxt/{assets.DGT3vQsf.css → assets.css-l0xw7n9m.css} +0 -0
  191. /package/dist/client/_nuxt/{BcJws1i5.js → constants-b32h69zq.js} +0 -0
  192. /package/dist/client/_nuxt/{HelpFab.DHTsX8io.css → help-fab.css-l22fo390.css} +0 -0
  193. /package/dist/client/_nuxt/{NCodeBlock.BJ-XAY5s.css → ncode-block.css-enx2fys6.css} +0 -0
  194. /package/dist/client/_nuxt/{NSectionBlock.Dnwb6MN5.css → nsection-block.css-nz74xks7.css} +0 -0
  195. /package/dist/client/_nuxt/{Blr6EMNg.js → vendor/markdown-it-fvu08dbs.js} +0 -0
  196. /package/dist/client/_nuxt/{virtual-files.CWZEM3J4.css → virtual-files.css-i6taatd1.css} +0 -0
@@ -1,43 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DpYuRYxj.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./DC8MraHL.js","./CupVZNk8.js","./DK4oFTHQ.js","./C8RrL2-P.js","./C2HmjCtb.js","./Dm9RYIcI.js","./BKeomq25.js","./D86udNSS.js","./BI3hykgO.js","./CIvuwNIv.js","./CO7Eo6nF.js","./NCodeBlock.BJ-XAY5s.css","./BOV_C5BD.js","./HelpFab.DHTsX8io.css","./C_n3_iyW.js","./DJg41Obz.js","./BHh_UM9T.js","./DqpvVAaa.js","./B1veJI6T.js","./NSectionBlock.Dnwb6MN5.css","./BopA0WYG.js","./DrswlxM3.js","./BcJws1i5.js","./assets.DGT3vQsf.css","./RBAD4-dW.js","./32IlS-eL.js","./YWCqik9X.js","./D4FLysGE.js","./D4V9JMY9.js","./BECRlsCL.js","./ByTwm2ax.js","./nhLZZe93.js","./CNzQK24q.js","./DiyNht5f.js","./U0su7k1z.js","./L3q7etZW.js","./CoNBQO3e.js","./DajZvwFy.js","./BKukfVLl.js","./DHZqFavZ.js","./BiWf_U1D.js","./CCJYS4Qc.js","./DDDCUP5E.js","./open-graph.-BQyihv8.css","./Di-fSNio.js","./C1fpCDlE.js","./CEL3Rl_8.js","./DJn5wykB.js","./BkwfBuTq.js","./B3uNdhXb.js","./UI0GwUC_.js","./DockxStG.js","./CUZJ8tqD.js","./D4C_EO1O.js","./BiRcA7Ly.js","./7oK7PdYH.js","./DHsLiygU.js","./CCXTpRMt.js","./BMmGYe_n.js","./terminals.BIEho_Pa.css","./DAg81ukK.js","./timeline.BVVcTKn-.css","./D5Dg5B9b.js","./virtual-files.CWZEM3J4.css","./QxrU7fRC.js","./DtfHoqTV.js","./C9bF3W-8.js","./DMjsYTya.js","./error-404.HYsbWGh9.css","./BsEGx9wN.js","./error-500.BwPFg8q2.css"])))=>i.map(i=>d[i]);
2
- /**
3
- * @vue/shared v3.4.38
4
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
- * @license MIT
6
- **//*! #__NO_SIDE_EFFECTS__ */function $u(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const Ge={},ho=[],jt=()=>{},ub=()=>!1,Ks=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Lu=e=>e.startsWith("onUpdate:"),rt=Object.assign,Du=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fb=Object.prototype.hasOwnProperty,Ne=(e,t)=>fb.call(e,t),de=Array.isArray,po=e=>Bo(e)==="[object Map]",Fo=e=>Bo(e)==="[object Set]",sd=e=>Bo(e)==="[object Date]",db=e=>Bo(e)==="[object RegExp]",be=e=>typeof e=="function",Ze=e=>typeof e=="string",bn=e=>typeof e=="symbol",Ke=e=>e!==null&&typeof e=="object",Mu=e=>(Ke(e)||be(e))&&be(e.then)&&be(e.catch),Og=Object.prototype.toString,Bo=e=>Og.call(e),hb=e=>Bo(e).slice(8,-1),Pg=e=>Bo(e)==="[object Object]",Fu=e=>Ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,mo=$u(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ha=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},pb=/-(\w)/g,Wt=Ha(e=>e.replace(pb,(t,n)=>n?n.toUpperCase():"")),mb=/\B([A-Z])/g,Mn=Ha(e=>e.replace(mb,"-$1").toLowerCase()),ja=Ha(e=>e.charAt(0).toUpperCase()+e.slice(1)),Mi=Ha(e=>e?`on${ja(e)}`:""),Rt=(e,t)=>!Object.is(e,t),go=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},kg=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Xi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ig=e=>{const t=Ze(e)?Number(e):NaN;return isNaN(t)?e:t};let id;const Ng=()=>id||(id=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _n(e){if(de(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ze(r)?yb(r):_n(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ze(e)||Ke(e))return e}const gb=/;(?![^(]*\))/g,_b=/:([^]+)/,vb=/\/\*[^]*?\*\//g;function yb(e){const t={};return e.replace(vb,"").split(gb).forEach(n=>{if(n){const r=n.split(_b);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function nt(e){let t="";if(Ze(e))t=e;else if(de(e))for(let n=0;n<e.length;n++){const r=nt(e[n]);r&&(t+=r+" ")}else if(Ke(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Bu(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ze(t)&&(e.class=nt(t)),n&&(e.style=_n(n)),e}const bb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wb=$u(bb);function $g(e){return!!e||e===""}function Eb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Gr(e[r],t[r]);return n}function Gr(e,t){if(e===t)return!0;let n=sd(e),r=sd(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=bn(e),r=bn(t),n||r)return e===t;if(n=de(e),r=de(t),n||r)return n&&r?Eb(e,t):!1;if(n=Ke(e),r=Ke(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Gr(e[i],t[i]))return!1}}return String(e)===String(t)}function Vu(e,t){return e.findIndex(n=>Gr(n,t))}const Lg=e=>!!(e&&e.__v_isRef===!0),gt=e=>Ze(e)?e:e==null?"":de(e)||Ke(e)&&(e.toString===Og||!be(e.toString))?Lg(e)?gt(e.value):JSON.stringify(e,Dg,2):String(e),Dg=(e,t)=>Lg(t)?Dg(e,t.value):po(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Ol(r,s)+" =>"]=o,n),{})}:Fo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ol(n))}:bn(t)?Ol(t):Ke(t)&&!de(t)&&!Pg(t)?String(t):t,Ol=(e,t="")=>{var n;return bn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7
- * @vue/reactivity v3.4.38
8
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
9
- * @license MIT
10
- **/let Lt;class Mg{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Lt,!t&&Lt&&(this.index=(Lt.scopes||(Lt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Lt;try{return Lt=this,t()}finally{Lt=n}}}on(){Lt=this}off(){Lt=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 Sb(e){return new Mg(e)}function Tb(e,t=Lt){t&&t.active&&t.effects.push(e)}function Ws(){return Lt}function Yi(e){Lt&&Lt.cleanups.push(e)}let Mr;class Uu{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,Tb(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,gr();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Cb(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),_r()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=rr,n=Mr;try{return rr=!0,Mr=this,this._runnings++,ad(this),this.fn()}finally{ld(this),this._runnings--,Mr=n,rr=t}}stop(){this.active&&(ad(this),ld(this),this.onStop&&this.onStop(),this.active=!1)}}function Cb(e){return e.value}function ad(e){e._trackId++,e._depsLength=0}function ld(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Fg(e.deps[t],e);e.deps.length=e._depsLength}}function Fg(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let rr=!0,_c=0;const Bg=[];function gr(){Bg.push(rr),rr=!1}function _r(){const e=Bg.pop();rr=e===void 0?!0:e}function Hu(){_c++}function ju(){for(_c--;!_c&&vc.length;)vc.shift()()}function Vg(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Fg(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const vc=[];function Ug(e,t,n){Hu();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&&vc.push(r.scheduler)))}ju()}const Hg=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Zi=new WeakMap,Fr=Symbol(""),yc=Symbol("");function kt(e,t,n){if(rr&&Mr){let r=Zi.get(e);r||Zi.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Hg(()=>r.delete(n))),Vg(Mr,o)}}function Pn(e,t,n,r,o,s){const i=Zi.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&de(e)){const l=Number(r);i.forEach((c,f)=>{(f==="length"||!bn(f)&&f>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":de(e)?Fu(n)&&a.push(i.get("length")):(a.push(i.get(Fr)),po(e)&&a.push(i.get(yc)));break;case"delete":de(e)||(a.push(i.get(Fr)),po(e)&&a.push(i.get(yc)));break;case"set":po(e)&&a.push(i.get(Fr));break}Hu();for(const l of a)l&&Ug(l,4);ju()}function xb(e,t){const n=Zi.get(e);return n&&n.get(t)}const Ab=$u("__proto__,__v_isRef,__isVue"),jg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(bn)),cd=Rb();function Rb(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ie(this);for(let s=0,i=this.length;s<i;s++)kt(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(Ie)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){gr(),Hu();const r=Ie(this)[t].apply(this,n);return ju(),_r(),r}}),e}function Ob(e){bn(e)||(e=String(e));const t=Ie(this);return kt(t,"has",e),t.hasOwnProperty(e)}class zg{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Hb:qg:s?Wg:Kg).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=de(t);if(!o){if(i&&Ne(cd,n))return Reflect.get(cd,n,r);if(n==="hasOwnProperty")return Ob}const a=Reflect.get(t,n,r);return(bn(n)?jg.has(n):Ab(n))||(o||kt(t,"get",n),s)?a:ze(a)?i&&Fu(n)?a:a.value:Ke(a)?o?eo(a):Ft(a):a}}class Gg extends zg{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=fr(s);if(!Co(r)&&!fr(r)&&(s=Ie(s),r=Ie(r)),!de(t)&&ze(s)&&!ze(r))return l?!1:(s.value=r,!0)}const i=de(t)&&Fu(n)?Number(n)<t.length:Ne(t,n),a=Reflect.set(t,n,r,o);return t===Ie(o)&&(i?Rt(r,s)&&Pn(t,"set",n,r):Pn(t,"add",n,r)),a}deleteProperty(t,n){const r=Ne(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Pn(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!bn(n)||!jg.has(n))&&kt(t,"has",n),r}ownKeys(t){return kt(t,"iterate",de(t)?"length":Fr),Reflect.ownKeys(t)}}class Pb extends zg{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const kb=new Gg,Ib=new Pb,Nb=new Gg(!0);const zu=e=>e,za=e=>Reflect.getPrototypeOf(e);function ii(e,t,n=!1,r=!1){e=e.__v_raw;const o=Ie(e),s=Ie(t);n||(Rt(t,s)&&kt(o,"get",t),kt(o,"get",s));const{has:i}=za(o),a=r?zu:n?Wu:Ss;if(i.call(o,t))return a(e.get(t));if(i.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function ai(e,t=!1){const n=this.__v_raw,r=Ie(n),o=Ie(e);return t||(Rt(e,o)&&kt(r,"has",e),kt(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function li(e,t=!1){return e=e.__v_raw,!t&&kt(Ie(e),"iterate",Fr),Reflect.get(e,"size",e)}function ud(e,t=!1){!t&&!Co(e)&&!fr(e)&&(e=Ie(e));const n=Ie(this);return za(n).has.call(n,e)||(n.add(e),Pn(n,"add",e,e)),this}function fd(e,t,n=!1){!n&&!Co(t)&&!fr(t)&&(t=Ie(t));const r=Ie(this),{has:o,get:s}=za(r);let i=o.call(r,e);i||(e=Ie(e),i=o.call(r,e));const a=s.call(r,e);return r.set(e,t),i?Rt(t,a)&&Pn(r,"set",e,t):Pn(r,"add",e,t),this}function dd(e){const t=Ie(this),{has:n,get:r}=za(t);let o=n.call(t,e);o||(e=Ie(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&Pn(t,"delete",e,void 0),s}function hd(){const e=Ie(this),t=e.size!==0,n=e.clear();return t&&Pn(e,"clear",void 0,void 0),n}function ci(e,t){return function(r,o){const s=this,i=s.__v_raw,a=Ie(i),l=t?zu:e?Wu:Ss;return!e&&kt(a,"iterate",Fr),i.forEach((c,f)=>r.call(o,l(c),l(f),s))}}function ui(e,t,n){return function(...r){const o=this.__v_raw,s=Ie(o),i=po(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),f=n?zu:t?Wu:Ss;return!t&&kt(s,"iterate",l?yc:Fr),{next(){const{value:u,done:d}=c.next();return d?{value:u,done:d}:{value:a?[f(u[0]),f(u[1])]:f(u),done:d}},[Symbol.iterator](){return this}}}}function Un(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function $b(){const e={get(s){return ii(this,s)},get size(){return li(this)},has:ai,add:ud,set:fd,delete:dd,clear:hd,forEach:ci(!1,!1)},t={get(s){return ii(this,s,!1,!0)},get size(){return li(this)},has:ai,add(s){return ud.call(this,s,!0)},set(s,i){return fd.call(this,s,i,!0)},delete:dd,clear:hd,forEach:ci(!1,!0)},n={get(s){return ii(this,s,!0)},get size(){return li(this,!0)},has(s){return ai.call(this,s,!0)},add:Un("add"),set:Un("set"),delete:Un("delete"),clear:Un("clear"),forEach:ci(!0,!1)},r={get(s){return ii(this,s,!0,!0)},get size(){return li(this,!0)},has(s){return ai.call(this,s,!0)},add:Un("add"),set:Un("set"),delete:Un("delete"),clear:Un("clear"),forEach:ci(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=ui(s,!1,!1),n[s]=ui(s,!0,!1),t[s]=ui(s,!1,!0),r[s]=ui(s,!0,!0)}),[e,n,t,r]}const[Lb,Db,Mb,Fb]=$b();function Gu(e,t){const n=t?e?Fb:Mb:e?Db:Lb;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Ne(n,o)&&o in r?n:r,o,s)}const Bb={get:Gu(!1,!1)},Vb={get:Gu(!1,!0)},Ub={get:Gu(!0,!1)};const Kg=new WeakMap,Wg=new WeakMap,qg=new WeakMap,Hb=new WeakMap;function jb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zb(e){return e.__v_skip||!Object.isExtensible(e)?0:jb(hb(e))}function Ft(e){return fr(e)?e:Ku(e,!1,kb,Bb,Kg)}function pn(e){return Ku(e,!1,Nb,Vb,Wg)}function eo(e){return Ku(e,!0,Ib,Ub,qg)}function Ku(e,t,n,r,o){if(!Ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=zb(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function _o(e){return fr(e)?_o(e.__v_raw):!!(e&&e.__v_isReactive)}function fr(e){return!!(e&&e.__v_isReadonly)}function Co(e){return!!(e&&e.__v_isShallow)}function Xg(e){return e?!!e.__v_raw:!1}function Ie(e){const t=e&&e.__v_raw;return t?Ie(t):e}function Gb(e){return Object.isExtensible(e)&&kg(e,"__v_skip",!0),e}const Ss=e=>Ke(e)?Ft(e):e,Wu=e=>Ke(e)?eo(e):e;class Yg{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 Uu(()=>t(this._value),()=>vo(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=Ie(this);return(!t._cacheable||t.effect.dirty)&&Rt(t._value,t._value=t.effect.run())&&vo(t,4),qu(t),t.effect._dirtyLevel>=2&&vo(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Kb(e,t,n=!1){let r,o;const s=be(e);return s?(r=e,o=jt):(r=e.get,o=e.set),new Yg(r,o,s||!o,n)}function qu(e){var t;rr&&Mr&&(e=Ie(e),Vg(Mr,(t=e.dep)!=null?t:e.dep=Hg(()=>e.dep=void 0,e instanceof Yg?e:void 0)))}function vo(e,t=4,n,r){e=Ie(e);const o=e.dep;o&&Ug(o,t)}function ze(e){return!!(e&&e.__v_isRef===!0)}function z(e){return Zg(e,!1)}function Bt(e){return Zg(e,!0)}function Zg(e,t){return ze(e)?e:new Wb(e,t)}class Wb{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ie(t),this._value=n?t:Ss(t)}get value(){return qu(this),this._value}set value(t){const n=this.__v_isShallow||Co(t)||fr(t);t=n?t:Ie(t),Rt(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Ss(t),vo(this,4))}}function Jg(e){vo(e,4)}function V(e){return ze(e)?e.value:e}function fn(e){return be(e)?e():V(e)}const qb={get:(e,t,n)=>V(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return ze(o)&&!ze(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Qg(e){return _o(e)?e:new Proxy(e,qb)}class Xb{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>qu(this),()=>vo(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Xu(e){return new Xb(e)}function Yb(e){const t=de(e)?new Array(e.length):{};for(const n in e)t[n]=e_(e,n);return t}class Zb{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 xb(Ie(this._object),this._key)}}class Jb{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ga(e,t,n){return ze(e)?e:be(e)?new Jb(e):Ke(e)&&arguments.length>1?e_(e,t,n):z(e)}function e_(e,t,n){const r=e[t];return ze(r)?r:new Zb(e,t,n)}/**
11
- * @vue/runtime-core v3.4.38
12
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
13
- * @license MIT
14
- **/function or(e,t,n,r){try{return r?e(...r):e()}catch(o){Vo(o,t,n)}}function Gt(e,t,n,r){if(be(e)){const o=or(e,t,n,r);return o&&Mu(o)&&o.catch(s=>{Vo(s,t,n)}),o}if(de(e)){const o=[];for(let s=0;s<e.length;s++)o.push(Gt(e[s],t,n,r));return o}}function Vo(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,i,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){gr(),or(l,null,10,[e,i,a]),_r();return}}Qb(e,n,o,r)}function Qb(e,t,n,r=!0){console.error(e)}let Ts=!1,bc=!1;const mt=[];let dn=0;const yo=[];let Wn=null,Ir=0;const t_=Promise.resolve();let Yu=null;function Tt(e){const t=Yu||t_;return e?t.then(this?e.bind(this):e):t}function ew(e){let t=dn+1,n=mt.length;for(;t<n;){const r=t+n>>>1,o=mt[r],s=Cs(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function Ka(e){(!mt.length||!mt.includes(e,Ts&&e.allowRecurse?dn+1:dn))&&(e.id==null?mt.push(e):mt.splice(ew(e.id),0,e),n_())}function n_(){!Ts&&!bc&&(bc=!0,Yu=t_.then(r_))}function tw(e){const t=mt.indexOf(e);t>dn&&mt.splice(t,1)}function wc(e){de(e)?yo.push(...e):(!Wn||!Wn.includes(e,e.allowRecurse?Ir+1:Ir))&&yo.push(e),n_()}function pd(e,t,n=Ts?dn+1:0){for(;n<mt.length;n++){const r=mt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;mt.splice(n,1),n--,r()}}}function Ji(e){if(yo.length){const t=[...new Set(yo)].sort((n,r)=>Cs(n)-Cs(r));if(yo.length=0,Wn){Wn.push(...t);return}for(Wn=t,Ir=0;Ir<Wn.length;Ir++){const n=Wn[Ir];n.active!==!1&&n()}Wn=null,Ir=0}}const Cs=e=>e.id==null?1/0:e.id,nw=(e,t)=>{const n=Cs(e)-Cs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function r_(e){bc=!1,Ts=!0,mt.sort(nw);try{for(dn=0;dn<mt.length;dn++){const t=mt[dn];t&&t.active!==!1&&or(t,t.i,t.i?15:14)}}finally{dn=0,mt.length=0,Ji(),Ts=!1,Yu=null,(mt.length||yo.length)&&r_()}}let st=null,Wa=null;function Qi(e){const t=st;return st=e,Wa=e&&e.type.__scopeId||null,t}function rw(e){Wa=e}function ow(){Wa=null}const sw=e=>fe;function fe(e,t=st,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&xd(-1);const s=Qi(t);let i;try{i=e(...o)}finally{Qi(s),r._d&&xd(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function xs(e,t){if(st===null)return e;const n=Qa(st),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Ge]=t[o];s&&(be(s)&&(s={mounted:s,updated:s}),s.deep&&Jn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function cn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(gr(),Gt(l,n,8,[e.el,a,e,t]),_r())}}const qn=Symbol("_leaveCb"),fi=Symbol("_enterCb");function o_(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Bn(()=>{e.isMounted=!0}),Xs(()=>{e.isUnmounting=!0}),e}const Ut=[Function,Array],s_={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ut,onEnter:Ut,onAfterEnter:Ut,onEnterCancelled:Ut,onBeforeLeave:Ut,onLeave:Ut,onAfterLeave:Ut,onLeaveCancelled:Ut,onBeforeAppear:Ut,onAppear:Ut,onAfterAppear:Ut,onAppearCancelled:Ut},i_=e=>{const t=e.subTree;return t.component?i_(t.component):t},iw={name:"BaseTransition",props:s_,setup(e,{slots:t}){const n=qt(),r=o_();return()=>{const o=t.default&&Zu(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const d of o)if(d.type!==ft){s=d;break}}const i=Ie(e),{mode:a}=i;if(r.isLeaving)return Pl(s);const l=md(s);if(!l)return Pl(s);let c=As(l,i,r,n,d=>c=d);Kr(l,c);const f=n.subTree,u=f&&md(f);if(u&&u.type!==ft&&!Zt(l,u)&&i_(n).type!==ft){const d=As(u,i,r,n);if(Kr(u,d),a==="out-in"&&l.type!==ft)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Pl(s);a==="in-out"&&l.type!==ft&&(d.delayLeave=(h,p,m)=>{const _=a_(r,u);_[String(u.key)]=u,h[qn]=()=>{p(),h[qn]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return s}}},aw=iw;function a_(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function As(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:_,onAppear:b,onAfterAppear:v,onAppearCancelled:g}=t,y=String(e.key),w=a_(n,e),C=(L,R)=>{L&&Gt(L,r,9,R)},k=(L,R)=>{const $=R[1];C(L,R),de(L)?L.every(T=>T.length<=1)&&$():L.length<=1&&$()},M={mode:i,persisted:a,beforeEnter(L){let R=l;if(!n.isMounted)if(s)R=_||l;else return;L[qn]&&L[qn](!0);const $=w[y];$&&Zt(e,$)&&$.el[qn]&&$.el[qn](),C(R,[L])},enter(L){let R=c,$=f,T=u;if(!n.isMounted)if(s)R=b||c,$=v||f,T=g||u;else return;let x=!1;const A=L[fi]=I=>{x||(x=!0,I?C(T,[L]):C($,[L]),M.delayedLeave&&M.delayedLeave(),L[fi]=void 0)};R?k(R,[L,A]):A()},leave(L,R){const $=String(e.key);if(L[fi]&&L[fi](!0),n.isUnmounting)return R();C(d,[L]);let T=!1;const x=L[qn]=A=>{T||(T=!0,R(),A?C(m,[L]):C(p,[L]),L[qn]=void 0,w[$]===e&&delete w[$])};w[$]=e,h?k(h,[L,x]):x()},clone(L){const R=As(L,t,n,r,o);return o&&o(R),R}};return M}function Pl(e){if(qs(e))return e=Nn(e),e.children=null,e}function md(e){if(!qs(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&be(n.default))return n.default()}}function Kr(e,t){e.shapeFlag&6&&e.component?Kr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Zu(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===$e?(i.patchFlag&128&&o++,r=r.concat(Zu(i.children,t,a))):(t||i.type!==ft)&&r.push(a!=null?Nn(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Re(e,t){return be(e)?rt({name:e.name},t,{setup:e}):e}const Br=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function ea(e){be(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:a}=e;let l=null,c,f=0;const u=()=>(f++,l=null,d()),d=()=>{let h;return l||(h=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((m,_)=>{a(p,()=>m(u()),()=>_(p),f+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return Re({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const h=ot;if(c)return()=>kl(c,h);const p=v=>{l=null,Vo(v,h,13,!r)};if(i&&h.suspense||Ys)return d().then(v=>()=>kl(v,h)).catch(v=>(p(v),()=>r?Y(r,{error:v}):null));const m=z(!1),_=z(),b=z(!!o);return o&&setTimeout(()=>{b.value=!1},o),s!=null&&setTimeout(()=>{if(!m.value&&!_.value){const v=new Error(`Async component timed out after ${s}ms.`);p(v),_.value=v}},s),d().then(()=>{m.value=!0,h.parent&&qs(h.parent.vnode)&&(h.parent.effect.dirty=!0,Ka(h.parent.update))}).catch(v=>{p(v),_.value=v}),()=>{if(m.value&&c)return kl(c,h);if(_.value&&r)return Y(r,{error:_.value});if(n&&!b.value)return Y(n)}}})}function kl(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=Y(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const qs=e=>e.type.__isKeepAlive,lw={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=qt(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:f,o:{createElement:u}}}=r,d=u("div");r.activate=(v,g,y,w,C)=>{const k=v.component;c(v,g,y,0,a),l(k.vnode,v,g,y,k,a,w,v.slotScopeIds,C),ut(()=>{k.isDeactivated=!1,k.a&&go(k.a);const M=v.props&&v.props.onVnodeMounted;M&&At(M,k.parent,v)},a)},r.deactivate=v=>{const g=v.component;oa(g.m),oa(g.a),c(v,d,null,1,a),ut(()=>{g.da&&go(g.da);const y=v.props&&v.props.onVnodeUnmounted;y&&At(y,g.parent,v),g.isDeactivated=!0},a)};function h(v){Il(v),f(v,n,a,!0)}function p(v){o.forEach((g,y)=>{const w=Ic(g.type);w&&(!v||!v(w))&&m(y)})}function m(v){const g=o.get(v);g&&(!i||!Zt(g,i))?h(g):i&&Il(i),o.delete(v),s.delete(v)}Fe(()=>[e.include,e.exclude],([v,g])=>{v&&p(y=>os(v,y)),g&&p(y=>!os(g,y))},{flush:"post",deep:!0});let _=null;const b=()=>{_!=null&&(Ac(n.subTree.type)?ut(()=>{o.set(_,di(n.subTree))},n.subTree.suspense):o.set(_,di(n.subTree)))};return Bn(b),Ju(b),Xs(()=>{o.forEach(v=>{const{subTree:g,suspense:y}=n,w=di(g);if(v.type===w.type&&v.key===w.key){Il(w);const C=w.component.da;C&&ut(C,y);return}h(v)})}),()=>{if(_=null,!t.default)return null;const v=t.default(),g=v[0];if(v.length>1)return i=null,v;if(!Ro(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return i=null,g;let y=di(g);if(y.type===ft)return i=null,y;const w=y.type,C=Ic(Br(y)?y.type.__asyncResolved||{}:w),{include:k,exclude:M,max:L}=e;if(k&&(!C||!os(k,C))||M&&C&&os(M,C))return i=y,g;const R=y.key==null?w:y.key,$=o.get(R);return y.el&&(y=Nn(y),g.shapeFlag&128&&(g.ssContent=y)),_=R,$?(y.el=$.el,y.component=$.component,y.transition&&Kr(y,y.transition),y.shapeFlag|=512,s.delete(R),s.add(R)):(s.add(R),L&&s.size>parseInt(L,10)&&m(s.values().next().value)),y.shapeFlag|=256,i=y,Ac(g.type)?g:y}}},cw=lw;function os(e,t){return de(e)?e.some(n=>os(n,t)):Ze(e)?e.split(",").includes(t):db(e)?e.test(t):!1}function l_(e,t){u_(e,"a",t)}function c_(e,t){u_(e,"da",t)}function u_(e,t,n=ot){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(qa(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qs(o.parent.vnode)&&uw(r,t,n,o),o=o.parent}}function uw(e,t,n,r){const o=qa(t,e,r,!0);Xa(()=>{Du(r[t],o)},n)}function Il(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function di(e){return e.shapeFlag&128?e.ssContent:e}function qa(e,t,n=ot,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{gr();const a=qr(n),l=Gt(t,n,e,i);return a(),_r(),l});return r?o.unshift(s):o.push(s),s}}const Fn=e=>(t,n=ot)=>{(!Ys||e==="sp")&&qa(e,(...r)=>t(...r),n)},f_=Fn("bm"),Bn=Fn("m"),fw=Fn("bu"),Ju=Fn("u"),Xs=Fn("bum"),Xa=Fn("um"),dw=Fn("sp"),hw=Fn("rtg"),pw=Fn("rtc");function d_(e,t=ot){qa("ec",e,t)}const Qu="components",mw="directives";function wn(e,t){return ef(Qu,e,!0,t)||e}const h_=Symbol.for("v-ndc");function xo(e){return Ze(e)?ef(Qu,e,!1)||e:e||h_}function gw(e){return ef(mw,e)}function ef(e,t,n=!0,r=!1){const o=st||ot;if(o){const s=o.type;if(e===Qu){const a=Ic(s,!1);if(a&&(a===t||a===Wt(t)||a===ja(Wt(t))))return s}const i=gd(o[e]||s[e],t)||gd(o.appContext[e],t);return!i&&r?s:i}}function gd(e,t){return e&&(e[t]||e[Wt(t)]||e[ja(Wt(t))])}function Rs(e,t,n,r){let o;const s=n;if(de(e)||Ze(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(e[i],i,void 0,s)}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,s)}else if(Ke(e))if(e[Symbol.iterator])o=Array.from(e,(i,a)=>t(i,a,void 0,s));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];o[a]=t(e[c],c,a,s)}}else o=[];return o}function _w(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(de(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function it(e,t,n={},r,o){if(st.isCE||st.parent&&Br(st.parent)&&st.parent.isCE)return t!=="default"&&(n.name=t),Y("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),Z();const i=s&&p_(s(n)),a=Ae($e,{key:(n.key||i&&i.key||`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function p_(e){return e.some(t=>Ro(t)?!(t.type===ft||t.type===$e&&!p_(t.children)):!0)?e:null}function iV(e,t){const n={};for(const r in e)n[Mi(r)]=e[r];return n}const Ec=e=>e?j_(e)?Qa(e):Ec(e.parent):null,ls=rt(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=>Ec(e.parent),$root:e=>Ec(e.root),$emit:e=>e.emit,$options:e=>tf(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Ka(e.update)}),$nextTick:e=>e.n||(e.n=Tt.bind(e.proxy)),$watch:e=>zw.bind(e)}),Nl=(e,t)=>e!==Ge&&!e.__isScriptSetup&&Ne(e,t),vw={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Nl(r,t))return i[t]=1,r[t];if(o!==Ge&&Ne(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&Ne(c,t))return i[t]=3,s[t];if(n!==Ge&&Ne(n,t))return i[t]=4,n[t];Sc&&(i[t]=0)}}const f=ls[t];let u,d;if(f)return t==="$attrs"&&kt(e.attrs,"get",""),f(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Ge&&Ne(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Ne(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Nl(o,t)?(o[t]=n,!0):r!==Ge&&Ne(r,t)?(r[t]=n,!0):Ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==Ge&&Ne(e,i)||Nl(t,i)||(a=s[0])&&Ne(a,i)||Ne(r,i)||Ne(ls,i)||Ne(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function aV(){return m_().slots}function lV(){return m_().attrs}function m_(){const e=qt();return e.setupContext||(e.setupContext=G_(e))}function ta(e){return de(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function cV(e,t){return!e||!t?e||t:de(e)&&de(t)?e.concat(t):rt({},ta(e),ta(t))}function uV(e){const t=qt();let n=e();return Pc(),Mu(n)&&(n=n.catch(r=>{throw qr(t),r})),[n,()=>qr(t)]}let Sc=!0;function yw(e){const t=tf(e),n=e.proxy,r=e.ctx;Sc=!1,t.beforeCreate&&_d(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:f,beforeMount:u,mounted:d,beforeUpdate:h,updated:p,activated:m,deactivated:_,beforeDestroy:b,beforeUnmount:v,destroyed:g,unmounted:y,render:w,renderTracked:C,renderTriggered:k,errorCaptured:M,serverPrefetch:L,expose:R,inheritAttrs:$,components:T,directives:x,filters:A}=t;if(c&&bw(c,r,null),i)for(const P in i){const D=i[P];be(D)&&(r[P]=D.bind(n))}if(o){const P=o.call(n,n);Ke(P)&&(e.data=Ft(P))}if(Sc=!0,s)for(const P in s){const D=s[P],H=be(D)?D.bind(n,n):be(D.get)?D.get.bind(n,n):jt,ne=!be(D)&&be(D.set)?D.set.bind(n):jt,he=le({get:H,set:ne});Object.defineProperty(r,P,{enumerable:!0,configurable:!0,get:()=>he.value,set:re=>he.value=re})}if(a)for(const P in a)g_(a[P],r,n,P);if(l){const P=be(l)?l.call(n):l;Reflect.ownKeys(P).forEach(D=>{sr(D,P[D])})}f&&_d(f,e,"c");function O(P,D){de(D)?D.forEach(H=>P(H.bind(n))):D&&P(D.bind(n))}if(O(f_,u),O(Bn,d),O(fw,h),O(Ju,p),O(l_,m),O(c_,_),O(d_,M),O(pw,C),O(hw,k),O(Xs,v),O(Xa,y),O(dw,L),de(R))if(R.length){const P=e.exposed||(e.exposed={});R.forEach(D=>{Object.defineProperty(P,D,{get:()=>n[D],set:H=>n[D]=H})})}else e.exposed||(e.exposed={});w&&e.render===jt&&(e.render=w),$!=null&&(e.inheritAttrs=$),T&&(e.components=T),x&&(e.directives=x)}function bw(e,t,n=jt){de(e)&&(e=Tc(e));for(const r in e){const o=e[r];let s;Ke(o)?"default"in o?s=vt(o.from||r,o.default,!0):s=vt(o.from||r):s=vt(o),ze(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function _d(e,t,n){Gt(de(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function g_(e,t,n,r){const o=r.includes(".")?L_(n,r):()=>n[r];if(Ze(e)){const s=t[e];be(s)&&Fe(o,s)}else if(be(e))Fe(o,e.bind(n));else if(Ke(e))if(de(e))e.forEach(s=>g_(s,t,n,r));else{const s=be(e.handler)?e.handler.bind(n):t[e.handler];be(s)&&Fe(o,s,e)}}function tf(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>na(l,c,i,!0)),na(l,t,i)),Ke(t)&&s.set(t,l),l}function na(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&na(e,s,n,!0),o&&o.forEach(i=>na(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=ww[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const ww={data:vd,props:yd,emits:yd,methods:ss,computed:ss,beforeCreate:bt,created:bt,beforeMount:bt,mounted:bt,beforeUpdate:bt,updated:bt,beforeDestroy:bt,beforeUnmount:bt,destroyed:bt,unmounted:bt,activated:bt,deactivated:bt,errorCaptured:bt,serverPrefetch:bt,components:ss,directives:ss,watch:Sw,provide:vd,inject:Ew};function vd(e,t){return t?e?function(){return rt(be(e)?e.call(this,this):e,be(t)?t.call(this,this):t)}:t:e}function Ew(e,t){return ss(Tc(e),Tc(t))}function Tc(e){if(de(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function bt(e,t){return e?[...new Set([].concat(e,t))]:t}function ss(e,t){return e?rt(Object.create(null),e,t):t}function yd(e,t){return e?de(e)&&de(t)?[...new Set([...e,...t])]:rt(Object.create(null),ta(e),ta(t??{})):t}function Sw(e,t){if(!e)return t;if(!t)return e;const n=rt(Object.create(null),e);for(const r in t)n[r]=bt(e[r],t[r]);return n}function __(){return{app:null,config:{isNativeTag:ub,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 Tw=0;function Cw(e,t){return function(r,o=null){be(r)||(r=rt({},r)),o!=null&&!Ke(o)&&(o=null);const s=__(),i=new WeakSet;let a=!1;const l=s.app={_uid:Tw++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:K_,get config(){return s.config},set config(c){},use(c,...f){return i.has(c)||(c&&be(c.install)?(i.add(c),c.install(l,...f)):be(c)&&(i.add(c),c(l,...f))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,f){return f?(s.components[c]=f,l):s.components[c]},directive(c,f){return f?(s.directives[c]=f,l):s.directives[c]},mount(c,f,u){if(!a){const d=Y(r,o);return d.appContext=s,u===!0?u="svg":u===!1&&(u=void 0),f&&t?t(d,c):e(d,c,u),a=!0,l._container=c,c.__vue_app__=l,Qa(d.component)}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,f){return s.provides[c]=f,l},runWithContext(c){const f=Vr;Vr=l;try{return c()}finally{Vr=f}}};return l}}let Vr=null;function sr(e,t){if(ot){let n=ot.provides;const r=ot.parent&&ot.parent.provides;r===n&&(n=ot.provides=Object.create(r)),n[e]=t}}function vt(e,t,n=!1){const r=ot||st;if(r||Vr){const o=Vr?Vr._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&be(t)?t.call(r&&r.proxy):t}}function v_(){return!!(ot||st||Vr)}const y_={},b_=()=>Object.create(y_),w_=e=>Object.getPrototypeOf(e)===y_;function xw(e,t,n,r=!1){const o={},s=b_();e.propsDefaults=Object.create(null),E_(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:pn(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function Aw(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Ie(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let u=0;u<f.length;u++){let d=f[u];if(Za(e.emitsOptions,d))continue;const h=t[d];if(l)if(Ne(s,d))h!==s[d]&&(s[d]=h,c=!0);else{const p=Wt(d);o[p]=Cc(l,a,p,h,e,!1)}else h!==s[d]&&(s[d]=h,c=!0)}}}else{E_(e,t,o,s)&&(c=!0);let f;for(const u in a)(!t||!Ne(t,u)&&((f=Mn(u))===u||!Ne(t,f)))&&(l?n&&(n[u]!==void 0||n[f]!==void 0)&&(o[u]=Cc(l,a,u,void 0,e,!0)):delete o[u]);if(s!==a)for(const u in s)(!t||!Ne(t,u))&&(delete s[u],c=!0)}c&&Pn(e.attrs,"set","")}function E_(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(mo(l))continue;const c=t[l];let f;o&&Ne(o,f=Wt(l))?!s||!s.includes(f)?n[f]=c:(a||(a={}))[f]=c:Za(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=Ie(n),c=a||Ge;for(let f=0;f<s.length;f++){const u=s[f];n[u]=Cc(o,l,u,c[u],e,!Ne(c,u))}}return i}function Cc(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=Ne(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&be(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const f=qr(o);r=c[n]=l.call(null,t),f()}}else r=l}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===Mn(n))&&(r=!0))}return r}const Rw=new WeakMap;function S_(e,t,n=!1){const r=n?Rw:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!be(e)){const f=u=>{l=!0;const[d,h]=S_(u,t,!0);rt(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!s&&!l)return Ke(e)&&r.set(e,ho),ho;if(de(s))for(let f=0;f<s.length;f++){const u=Wt(s[f]);bd(u)&&(i[u]=Ge)}else if(s)for(const f in s){const u=Wt(f);if(bd(u)){const d=s[f],h=i[u]=de(d)||be(d)?{type:d}:rt({},d),p=h.type;let m=!1,_=!0;if(de(p))for(let b=0;b<p.length;++b){const v=p[b],g=be(v)&&v.name;if(g==="Boolean"){m=!0;break}else g==="String"&&(_=!1)}else m=be(p)&&p.name==="Boolean";h[0]=m,h[1]=_,(m||Ne(h,"default"))&&a.push(u)}}const c=[i,a];return Ke(e)&&r.set(e,c),c}function bd(e){return e[0]!=="$"&&!mo(e)}const T_=e=>e[0]==="_"||e==="$stable",nf=e=>de(e)?e.map(Dt):[Dt(e)],Ow=(e,t,n)=>{if(t._n)return t;const r=fe((...o)=>nf(t(...o)),n);return r._c=!1,r},C_=(e,t,n)=>{const r=e._ctx;for(const o in e){if(T_(o))continue;const s=e[o];if(be(s))t[o]=Ow(o,s,r);else if(s!=null){const i=nf(s);t[o]=()=>i}}},x_=(e,t)=>{const n=nf(t);e.slots.default=()=>n},A_=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Pw=(e,t,n)=>{const r=e.slots=b_();if(e.vnode.shapeFlag&32){const o=t._;o?(A_(r,t,n),n&&kg(r,"_",o,!0)):C_(t,r)}else t&&x_(e,t)},kw=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Ge;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:A_(o,t,n):(s=!t.$stable,C_(t,o)),i=t}else t&&(x_(e,t),i={default:1});if(s)for(const a in o)!T_(a)&&i[a]==null&&delete o[a]};function ra(e,t,n,r,o=!1){if(de(e)){e.forEach((d,h)=>ra(d,t&&(de(t)?t[h]:t),n,r,o));return}if(Br(r)&&!o)return;const s=r.shapeFlag&4?Qa(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,f=a.refs===Ge?a.refs={}:a.refs,u=a.setupState;if(c!=null&&c!==l&&(Ze(c)?(f[c]=null,Ne(u,c)&&(u[c]=null)):ze(c)&&(c.value=null)),be(l))or(l,a,12,[i,f]);else{const d=Ze(l),h=ze(l);if(d||h){const p=()=>{if(e.f){const m=d?Ne(u,l)?u[l]:f[l]:l.value;o?de(m)&&Du(m,s):de(m)?m.includes(s)||m.push(s):d?(f[l]=[s],Ne(u,l)&&(u[l]=f[l])):(l.value=[s],e.k&&(f[e.k]=l.value))}else d?(f[l]=i,Ne(u,l)&&(u[l]=i)):h&&(l.value=i,e.k&&(f[e.k]=i))};i?(p.id=-1,ut(p,n)):p()}}}const R_=Symbol("_vte"),Iw=e=>e.__isTeleport,cs=e=>e&&(e.disabled||e.disabled===""),wd=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ed=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,xc=(e,t)=>{const n=e&&e.to;return Ze(n)?t?t(n):null:n},Nw={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,c){const{mc:f,pc:u,pbc:d,o:{insert:h,querySelector:p,createText:m,createComment:_}}=c,b=cs(t.props);let{shapeFlag:v,children:g,dynamicChildren:y}=t;if(e==null){const w=t.el=m(""),C=t.anchor=m("");h(w,n,r),h(C,n,r);const k=t.target=xc(t.props,p),M=k_(k,t,m,h);k&&(i==="svg"||wd(k)?i="svg":(i==="mathml"||Ed(k))&&(i="mathml"));const L=(R,$)=>{v&16&&f(g,R,$,o,s,i,a,l)};b?L(n,C):k&&L(k,M)}else{t.el=e.el,t.targetStart=e.targetStart;const w=t.anchor=e.anchor,C=t.target=e.target,k=t.targetAnchor=e.targetAnchor,M=cs(e.props),L=M?n:C,R=M?w:k;if(i==="svg"||wd(C)?i="svg":(i==="mathml"||Ed(C))&&(i="mathml"),y?(d(e.dynamicChildren,y,L,o,s,i,a),rf(e,t,!0)):l||u(e,t,L,R,o,s,i,a,!1),b)M?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):hi(t,n,w,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=xc(t.props,p);$&&hi(t,$,null,c,0)}else M&&hi(t,C,k,c,1)}P_(t)},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:c,targetAnchor:f,target:u,props:d}=e;if(u&&(o(c),o(f)),s&&o(l),i&16){const h=s||!cs(d);for(let p=0;p<a.length;p++){const m=a[p];r(m,t,n,h,!!m.dynamicChildren)}}},move:hi,hydrate:$w};function hi(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:f}=e,u=s===2;if(u&&r(i,t,n),(!u||cs(f))&&l&16)for(let d=0;d<c.length;d++)o(c[d],t,n,2);u&&r(a,t,n)}function $w(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:c,createText:f}},u){const d=t.target=xc(t.props,l);if(d){const h=d._lpa||d.firstChild;if(t.shapeFlag&16)if(cs(t.props))t.anchor=u(i(e),t,a(e),n,r,o,s),t.targetStart=h,t.targetAnchor=h&&i(h);else{t.anchor=i(e);let p=h;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}p=i(p)}t.targetAnchor||k_(d,t,f,c),u(h&&i(h),t,d,n,r,o,s)}P_(t)}return t.anchor&&i(t.anchor)}const O_=Nw;function P_(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function k_(e,t,n,r){const o=t.targetStart=n(""),s=t.targetAnchor=n("");return o[R_]=s,e&&(r(o,e),r(s,e)),s}let Sd=!1;const oo=()=>{Sd||(console.error("Hydration completed but contains mismatches."),Sd=!0)},Lw=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Dw=e=>e.namespaceURI.includes("MathML"),pi=e=>{if(Lw(e))return"svg";if(Dw(e))return"mathml"},mi=e=>e.nodeType===8;function Mw(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:c}}=e,f=(g,y)=>{if(!y.hasChildNodes()){n(null,g,y),Ji(),y._vnode=g;return}u(y.firstChild,g,null,null,null),Ji(),y._vnode=g},u=(g,y,w,C,k,M=!1)=>{M=M||!!y.dynamicChildren;const L=mi(g)&&g.data==="[",R=()=>m(g,y,w,C,k,L),{type:$,ref:T,shapeFlag:x,patchFlag:A}=y;let I=g.nodeType;y.el=g,A===-2&&(M=!1,y.dynamicChildren=null);let O=null;switch($){case Ur:I!==3?y.children===""?(l(y.el=o(""),i(g),g),O=g):O=R():(g.data!==y.children&&(oo(),g.data=y.children),O=s(g));break;case ft:v(g)?(O=s(g),b(y.el=g.content.firstChild,g,w)):I!==8||L?O=R():O=s(g);break;case us:if(L&&(g=s(g),I=g.nodeType),I===1||I===3){O=g;const P=!y.children.length;for(let D=0;D<y.staticCount;D++)P&&(y.children+=O.nodeType===1?O.outerHTML:O.data),D===y.staticCount-1&&(y.anchor=O),O=s(O);return L?s(O):O}else R();break;case $e:L?O=p(g,y,w,C,k,M):O=R();break;default:if(x&1)(I!==1||y.type.toLowerCase()!==g.tagName.toLowerCase())&&!v(g)?O=R():O=d(g,y,w,C,k,M);else if(x&6){y.slotScopeIds=k;const P=i(g);if(L?O=_(g):mi(g)&&g.data==="teleport start"?O=_(g,g.data,"teleport end"):O=s(g),t(y,P,null,w,C,pi(P),M),Br(y)){let D;L?(D=Y($e),D.anchor=O?O.previousSibling:P.lastChild):D=g.nodeType===3?Pe(""):Y("div"),D.el=g,y.component.subTree=D}}else x&64?I!==8?O=R():O=y.type.hydrate(g,y,w,C,k,M,e,h):x&128&&(O=y.type.hydrate(g,y,w,C,pi(i(g)),k,M,e,u))}return T!=null&&ra(T,null,C,y),O},d=(g,y,w,C,k,M)=>{M=M||!!y.dynamicChildren;const{type:L,props:R,patchFlag:$,shapeFlag:T,dirs:x,transition:A}=y,I=L==="input"||L==="option";if(I||$!==-1){x&&cn(y,null,w,"created");let O=!1;if(v(g)){O=N_(C,A)&&w&&w.vnode.props&&w.vnode.props.appear;const D=g.content.firstChild;O&&A.beforeEnter(D),b(D,g,w),y.el=g=D}if(T&16&&!(R&&(R.innerHTML||R.textContent))){let D=h(g.firstChild,y,g,w,C,k,M);for(;D;){oo();const H=D;D=D.nextSibling,a(H)}}else T&8&&g.textContent!==y.children&&(oo(),g.textContent=y.children);if(R){if(I||!M||$&48){const D=g.tagName.includes("-");for(const H in R)(I&&(H.endsWith("value")||H==="indeterminate")||Ks(H)&&!mo(H)||H[0]==="."||D)&&r(g,H,null,R[H],void 0,w)}else if(R.onClick)r(g,"onClick",null,R.onClick,void 0,w);else if($&4&&_o(R.style))for(const D in R.style)R.style[D]}let P;(P=R&&R.onVnodeBeforeMount)&&At(P,w,y),x&&cn(y,null,w,"beforeMount"),((P=R&&R.onVnodeMounted)||x||O)&&B_(()=>{P&&At(P,w,y),O&&A.enter(g),x&&cn(y,null,w,"mounted")},C)}return g.nextSibling},h=(g,y,w,C,k,M,L)=>{L=L||!!y.dynamicChildren;const R=y.children,$=R.length;for(let T=0;T<$;T++){const x=L?R[T]:R[T]=Dt(R[T]),A=x.type===Ur;if(g){if(A&&!L){let I=R[T+1];I&&(I=Dt(I)).type===Ur&&(l(o(g.data.slice(x.children.length)),w,s(g)),g.data=x.children)}g=u(g,x,C,k,M,L)}else A&&!x.children?l(x.el=o(""),w):(oo(),n(null,x,w,null,C,k,pi(w),M))}return g},p=(g,y,w,C,k,M)=>{const{slotScopeIds:L}=y;L&&(k=k?k.concat(L):L);const R=i(g),$=h(s(g),y,R,w,C,k,M);return $&&mi($)&&$.data==="]"?s(y.anchor=$):(oo(),l(y.anchor=c("]"),R,$),$)},m=(g,y,w,C,k,M)=>{if(oo(),y.el=null,M){const $=_(g);for(;;){const T=s(g);if(T&&T!==$)a(T);else break}}const L=s(g),R=i(g);return a(g),n(null,y,R,L,w,C,pi(R),k),L},_=(g,y="[",w="]")=>{let C=0;for(;g;)if(g=s(g),g&&mi(g)&&(g.data===y&&C++,g.data===w)){if(C===0)return s(g);C--}return g},b=(g,y,w)=>{const C=y.parentNode;C&&C.replaceChild(g,y);let k=w;for(;k;)k.vnode.el===y&&(k.vnode.el=k.subTree.el=g),k=k.parent},v=g=>g.nodeType===1&&g.tagName.toLowerCase()==="template";return[f,u]}const ut=B_;function Fw(e){return I_(e)}function Bw(e){return I_(e,Mw)}function I_(e,t){const n=Ng();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:f,parentNode:u,nextSibling:d,setScopeId:h=jt,insertStaticContent:p}=e,m=(E,S,N,j=null,F=null,K=null,se=void 0,Q=null,ee=!!S.dynamicChildren)=>{if(E===S)return;E&&!Zt(E,S)&&(j=B(E),re(E,F,K,!0),E=null),S.patchFlag===-2&&(ee=!1,S.dynamicChildren=null);const{type:U,ref:ie,shapeFlag:pe}=S;switch(U){case Ur:_(E,S,N,j);break;case ft:b(E,S,N,j);break;case us:E==null&&v(S,N,j,se);break;case $e:T(E,S,N,j,F,K,se,Q,ee);break;default:pe&1?w(E,S,N,j,F,K,se,Q,ee):pe&6?x(E,S,N,j,F,K,se,Q,ee):(pe&64||pe&128)&&U.process(E,S,N,j,F,K,se,Q,ee,ue)}ie!=null&&F&&ra(ie,E&&E.ref,K,S||E,!S)},_=(E,S,N,j)=>{if(E==null)r(S.el=a(S.children),N,j);else{const F=S.el=E.el;S.children!==E.children&&c(F,S.children)}},b=(E,S,N,j)=>{E==null?r(S.el=l(S.children||""),N,j):S.el=E.el},v=(E,S,N,j)=>{[E.el,E.anchor]=p(E.children,S,N,j,E.el,E.anchor)},g=({el:E,anchor:S},N,j)=>{let F;for(;E&&E!==S;)F=d(E),r(E,N,j),E=F;r(S,N,j)},y=({el:E,anchor:S})=>{let N;for(;E&&E!==S;)N=d(E),o(E),E=N;o(S)},w=(E,S,N,j,F,K,se,Q,ee)=>{S.type==="svg"?se="svg":S.type==="math"&&(se="mathml"),E==null?C(S,N,j,F,K,se,Q,ee):L(E,S,F,K,se,Q,ee)},C=(E,S,N,j,F,K,se,Q)=>{let ee,U;const{props:ie,shapeFlag:pe,transition:q,dirs:ae}=E;if(ee=E.el=i(E.type,K,ie&&ie.is,ie),pe&8?f(ee,E.children):pe&16&&M(E.children,ee,null,j,F,$l(E,K),se,Q),ae&&cn(E,null,j,"created"),k(ee,E,E.scopeId,se,j),ie){for(const ge in ie)ge!=="value"&&!mo(ge)&&s(ee,ge,null,ie[ge],K,j);"value"in ie&&s(ee,"value",null,ie.value,K),(U=ie.onVnodeBeforeMount)&&At(U,j,E)}ae&&cn(E,null,j,"beforeMount");const te=N_(F,q);te&&q.beforeEnter(ee),r(ee,S,N),((U=ie&&ie.onVnodeMounted)||te||ae)&&ut(()=>{U&&At(U,j,E),te&&q.enter(ee),ae&&cn(E,null,j,"mounted")},F)},k=(E,S,N,j,F)=>{if(N&&h(E,N),j)for(let K=0;K<j.length;K++)h(E,j[K]);if(F){let K=F.subTree;if(S===K){const se=F.vnode;k(E,se,se.scopeId,se.slotScopeIds,F.parent)}}},M=(E,S,N,j,F,K,se,Q,ee=0)=>{for(let U=ee;U<E.length;U++){const ie=E[U]=Q?Xn(E[U]):Dt(E[U]);m(null,ie,S,N,j,F,K,se,Q)}},L=(E,S,N,j,F,K,se)=>{const Q=S.el=E.el;let{patchFlag:ee,dynamicChildren:U,dirs:ie}=S;ee|=E.patchFlag&16;const pe=E.props||Ge,q=S.props||Ge;let ae;if(N&&Er(N,!1),(ae=q.onVnodeBeforeUpdate)&&At(ae,N,S,E),ie&&cn(S,E,N,"beforeUpdate"),N&&Er(N,!0),(pe.innerHTML&&q.innerHTML==null||pe.textContent&&q.textContent==null)&&f(Q,""),U?R(E.dynamicChildren,U,Q,N,j,$l(S,F),K):se||D(E,S,Q,null,N,j,$l(S,F),K,!1),ee>0){if(ee&16)$(Q,pe,q,N,F);else if(ee&2&&pe.class!==q.class&&s(Q,"class",null,q.class,F),ee&4&&s(Q,"style",pe.style,q.style,F),ee&8){const te=S.dynamicProps;for(let ge=0;ge<te.length;ge++){const xe=te[ge],Ve=pe[xe],Se=q[xe];(Se!==Ve||xe==="value")&&s(Q,xe,Ve,Se,F,N)}}ee&1&&E.children!==S.children&&f(Q,S.children)}else!se&&U==null&&$(Q,pe,q,N,F);((ae=q.onVnodeUpdated)||ie)&&ut(()=>{ae&&At(ae,N,S,E),ie&&cn(S,E,N,"updated")},j)},R=(E,S,N,j,F,K,se)=>{for(let Q=0;Q<S.length;Q++){const ee=E[Q],U=S[Q],ie=ee.el&&(ee.type===$e||!Zt(ee,U)||ee.shapeFlag&70)?u(ee.el):N;m(ee,U,ie,null,j,F,K,se,!0)}},$=(E,S,N,j,F)=>{if(S!==N){if(S!==Ge)for(const K in S)!mo(K)&&!(K in N)&&s(E,K,S[K],null,F,j);for(const K in N){if(mo(K))continue;const se=N[K],Q=S[K];se!==Q&&K!=="value"&&s(E,K,Q,se,F,j)}"value"in N&&s(E,"value",S.value,N.value,F)}},T=(E,S,N,j,F,K,se,Q,ee)=>{const U=S.el=E?E.el:a(""),ie=S.anchor=E?E.anchor:a("");let{patchFlag:pe,dynamicChildren:q,slotScopeIds:ae}=S;ae&&(Q=Q?Q.concat(ae):ae),E==null?(r(U,N,j),r(ie,N,j),M(S.children||[],N,ie,F,K,se,Q,ee)):pe>0&&pe&64&&q&&E.dynamicChildren?(R(E.dynamicChildren,q,N,F,K,se,Q),(S.key!=null||F&&S===F.subTree)&&rf(E,S,!0)):D(E,S,N,ie,F,K,se,Q,ee)},x=(E,S,N,j,F,K,se,Q,ee)=>{S.slotScopeIds=Q,E==null?S.shapeFlag&512?F.ctx.activate(S,N,j,se,ee):A(S,N,j,F,K,se,ee):I(E,S,ee)},A=(E,S,N,j,F,K,se)=>{const Q=E.component=iE(E,j,F);if(qs(E)&&(Q.ctx.renderer=ue),aE(Q,!1,se),Q.asyncDep){if(F&&F.registerDep(Q,O,se),!E.el){const ee=Q.subTree=Y(ft);b(null,ee,S,N)}}else O(Q,E,S,N,F,K,se)},I=(E,S,N)=>{const j=S.component=E.component;if(Xw(E,S,N))if(j.asyncDep&&!j.asyncResolved){P(j,S,N);return}else j.next=S,tw(j.update),j.effect.dirty=!0,j.update();else S.el=E.el,j.vnode=S},O=(E,S,N,j,F,K,se)=>{const Q=()=>{if(E.isMounted){let{next:ie,bu:pe,u:q,parent:ae,vnode:te}=E;{const _e=$_(E);if(_e){ie&&(ie.el=te.el,P(E,ie,se)),_e.asyncDep.then(()=>{E.isUnmounted||Q()});return}}let ge=ie,xe;Er(E,!1),ie?(ie.el=te.el,P(E,ie,se)):ie=te,pe&&go(pe),(xe=ie.props&&ie.props.onVnodeBeforeUpdate)&&At(xe,ae,ie,te),Er(E,!0);const Ve=Ll(E),Se=E.subTree;E.subTree=Ve,m(Se,Ve,u(Se.el),B(Se),E,F,K),ie.el=Ve.el,ge===null&&of(E,Ve.el),q&&ut(q,F),(xe=ie.props&&ie.props.onVnodeUpdated)&&ut(()=>At(xe,ae,ie,te),F)}else{let ie;const{el:pe,props:q}=S,{bm:ae,m:te,parent:ge}=E,xe=Br(S);if(Er(E,!1),ae&&go(ae),!xe&&(ie=q&&q.onVnodeBeforeMount)&&At(ie,ge,S),Er(E,!0),pe&&Be){const Ve=()=>{E.subTree=Ll(E),Be(pe,E.subTree,E,F,null)};xe?S.type.__asyncLoader().then(()=>!E.isUnmounted&&Ve()):Ve()}else{const Ve=E.subTree=Ll(E);m(null,Ve,N,j,E,F,K),S.el=Ve.el}if(te&&ut(te,F),!xe&&(ie=q&&q.onVnodeMounted)){const Ve=S;ut(()=>At(ie,ge,Ve),F)}(S.shapeFlag&256||ge&&Br(ge.vnode)&&ge.vnode.shapeFlag&256)&&E.a&&ut(E.a,F),E.isMounted=!0,S=N=j=null}},ee=E.effect=new Uu(Q,jt,()=>Ka(U),E.scope),U=E.update=()=>{ee.dirty&&ee.run()};U.i=E,U.id=E.uid,Er(E,!0),U()},P=(E,S,N)=>{S.component=E;const j=E.vnode.props;E.vnode=S,E.next=null,Aw(E,S.props,j,N),kw(E,S.children,N),gr(),pd(E),_r()},D=(E,S,N,j,F,K,se,Q,ee=!1)=>{const U=E&&E.children,ie=E?E.shapeFlag:0,pe=S.children,{patchFlag:q,shapeFlag:ae}=S;if(q>0){if(q&128){ne(U,pe,N,j,F,K,se,Q,ee);return}else if(q&256){H(U,pe,N,j,F,K,se,Q,ee);return}}ae&8?(ie&16&&We(U,F,K),pe!==U&&f(N,pe)):ie&16?ae&16?ne(U,pe,N,j,F,K,se,Q,ee):We(U,F,K,!0):(ie&8&&f(N,""),ae&16&&M(pe,N,j,F,K,se,Q,ee))},H=(E,S,N,j,F,K,se,Q,ee)=>{E=E||ho,S=S||ho;const U=E.length,ie=S.length,pe=Math.min(U,ie);let q;for(q=0;q<pe;q++){const ae=S[q]=ee?Xn(S[q]):Dt(S[q]);m(E[q],ae,N,null,F,K,se,Q,ee)}U>ie?We(E,F,K,!0,!1,pe):M(S,N,j,F,K,se,Q,ee,pe)},ne=(E,S,N,j,F,K,se,Q,ee)=>{let U=0;const ie=S.length;let pe=E.length-1,q=ie-1;for(;U<=pe&&U<=q;){const ae=E[U],te=S[U]=ee?Xn(S[U]):Dt(S[U]);if(Zt(ae,te))m(ae,te,N,null,F,K,se,Q,ee);else break;U++}for(;U<=pe&&U<=q;){const ae=E[pe],te=S[q]=ee?Xn(S[q]):Dt(S[q]);if(Zt(ae,te))m(ae,te,N,null,F,K,se,Q,ee);else break;pe--,q--}if(U>pe){if(U<=q){const ae=q+1,te=ae<ie?S[ae].el:j;for(;U<=q;)m(null,S[U]=ee?Xn(S[U]):Dt(S[U]),N,te,F,K,se,Q,ee),U++}}else if(U>q)for(;U<=pe;)re(E[U],F,K,!0),U++;else{const ae=U,te=U,ge=new Map;for(U=te;U<=q;U++){const Nt=S[U]=ee?Xn(S[U]):Dt(S[U]);Nt.key!=null&&ge.set(Nt.key,U)}let xe,Ve=0;const Se=q-te+1;let _e=!1,It=0;const Tn=new Array(Se);for(U=0;U<Se;U++)Tn[U]=0;for(U=ae;U<=pe;U++){const Nt=E[U];if(Ve>=Se){re(Nt,F,K,!0);continue}let on;if(Nt.key!=null)on=ge.get(Nt.key);else for(xe=te;xe<=q;xe++)if(Tn[xe-te]===0&&Zt(Nt,S[xe])){on=xe;break}on===void 0?re(Nt,F,K,!0):(Tn[on-te]=U+1,on>=It?It=on:_e=!0,m(Nt,S[on],N,null,F,K,se,Q,ee),Ve++)}const Yo=_e?Vw(Tn):ho;for(xe=Yo.length-1,U=Se-1;U>=0;U--){const Nt=te+U,on=S[Nt],od=Nt+1<ie?S[Nt+1].el:j;Tn[U]===0?m(null,on,N,od,F,K,se,Q,ee):_e&&(xe<0||U!==Yo[xe]?he(on,N,od,2):xe--)}}},he=(E,S,N,j,F=null)=>{const{el:K,type:se,transition:Q,children:ee,shapeFlag:U}=E;if(U&6){he(E.component.subTree,S,N,j);return}if(U&128){E.suspense.move(S,N,j);return}if(U&64){se.move(E,S,N,ue);return}if(se===$e){r(K,S,N);for(let pe=0;pe<ee.length;pe++)he(ee[pe],S,N,j);r(E.anchor,S,N);return}if(se===us){g(E,S,N);return}if(j!==2&&U&1&&Q)if(j===0)Q.beforeEnter(K),r(K,S,N),ut(()=>Q.enter(K),F);else{const{leave:pe,delayLeave:q,afterLeave:ae}=Q,te=()=>r(K,S,N),ge=()=>{pe(K,()=>{te(),ae&&ae()})};q?q(K,te,ge):ge()}else r(K,S,N)},re=(E,S,N,j=!1,F=!1)=>{const{type:K,props:se,ref:Q,children:ee,dynamicChildren:U,shapeFlag:ie,patchFlag:pe,dirs:q,cacheIndex:ae}=E;if(pe===-2&&(F=!1),Q!=null&&ra(Q,null,N,E,!0),ae!=null&&(S.renderCache[ae]=void 0),ie&256){S.ctx.deactivate(E);return}const te=ie&1&&q,ge=!Br(E);let xe;if(ge&&(xe=se&&se.onVnodeBeforeUnmount)&&At(xe,S,E),ie&6)Oe(E.component,N,j);else{if(ie&128){E.suspense.unmount(N,j);return}te&&cn(E,null,S,"beforeUnmount"),ie&64?E.type.remove(E,S,N,ue,j):U&&!U.hasOnce&&(K!==$e||pe>0&&pe&64)?We(U,S,N,!1,!0):(K===$e&&pe&384||!F&&ie&16)&&We(ee,S,N),j&&ve(E)}(ge&&(xe=se&&se.onVnodeUnmounted)||te)&&ut(()=>{xe&&At(xe,S,E),te&&cn(E,null,S,"unmounted")},N)},ve=E=>{const{type:S,el:N,anchor:j,transition:F}=E;if(S===$e){De(N,j);return}if(S===us){y(E);return}const K=()=>{o(N),F&&!F.persisted&&F.afterLeave&&F.afterLeave()};if(E.shapeFlag&1&&F&&!F.persisted){const{leave:se,delayLeave:Q}=F,ee=()=>se(N,K);Q?Q(E.el,K,ee):ee()}else K()},De=(E,S)=>{let N;for(;E!==S;)N=d(E),o(E),E=N;o(S)},Oe=(E,S,N)=>{const{bum:j,scope:F,update:K,subTree:se,um:Q,m:ee,a:U}=E;oa(ee),oa(U),j&&go(j),F.stop(),K&&(K.active=!1,re(se,E,S,N)),Q&&ut(Q,S),ut(()=>{E.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&E.asyncDep&&!E.asyncResolved&&E.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},We=(E,S,N,j=!1,F=!1,K=0)=>{for(let se=K;se<E.length;se++)re(E[se],S,N,j,F)},B=E=>{if(E.shapeFlag&6)return B(E.component.subTree);if(E.shapeFlag&128)return E.suspense.next();const S=d(E.anchor||E.el),N=S&&S[R_];return N?d(N):S};let ce=!1;const oe=(E,S,N)=>{E==null?S._vnode&&re(S._vnode,null,null,!0):m(S._vnode||null,E,S,null,null,null,N),S._vnode=E,ce||(ce=!0,pd(),Ji(),ce=!1)},ue={p:m,um:re,m:he,r:ve,mt:A,mc:M,pc:D,pbc:R,n:B,o:e};let Me,Be;return t&&([Me,Be]=t(ue)),{render:oe,hydrate:Me,createApp:Cw(oe,Me)}}function $l({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 Er({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function N_(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rf(e,t,n=!1){const r=e.children,o=t.children;if(de(r)&&de(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=Xn(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&rf(i,a)),a.type===Ur&&(a.el=i.el)}}function Vw(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;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(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function $_(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:$_(t)}function oa(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const Uw=Symbol.for("v-scx"),Hw=()=>vt(Uw);function Wr(e,t){return Ya(e,null,t)}function jw(e,t){return Ya(e,null,{flush:"sync"})}const gi={};function Fe(e,t,n){return Ya(e,t,n)}function Ya(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:i,onTrigger:a}=Ge){if(t&&s){const C=t;t=(...k)=>{C(...k),w()}}const l=ot,c=C=>r===!0?C:Jn(C,r===!1?1:void 0);let f,u=!1,d=!1;if(ze(e)?(f=()=>e.value,u=Co(e)):_o(e)?(f=()=>c(e),u=!0):de(e)?(d=!0,u=e.some(C=>_o(C)||Co(C)),f=()=>e.map(C=>{if(ze(C))return C.value;if(_o(C))return c(C);if(be(C))return or(C,l,2)})):be(e)?t?f=()=>or(e,l,2):f=()=>(h&&h(),Gt(e,l,3,[p])):f=jt,t&&r){const C=f;f=()=>Jn(C())}let h,p=C=>{h=g.onStop=()=>{or(C,l,4),h=g.onStop=void 0}},m;if(Ys)if(p=jt,t?n&&Gt(t,l,3,[f(),d?[]:void 0,p]):f(),o==="sync"){const C=Hw();m=C.__watcherHandles||(C.__watcherHandles=[])}else return jt;let _=d?new Array(e.length).fill(gi):gi;const b=()=>{if(!(!g.active||!g.dirty))if(t){const C=g.run();(r||u||(d?C.some((k,M)=>Rt(k,_[M])):Rt(C,_)))&&(h&&h(),Gt(t,l,3,[C,_===gi?void 0:d&&_[0]===gi?[]:_,p]),_=C)}else g.run()};b.allowRecurse=!!t;let v;o==="sync"?v=b:o==="post"?v=()=>ut(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),v=()=>Ka(b));const g=new Uu(f,jt,v),y=Ws(),w=()=>{g.stop(),y&&Du(y.effects,g)};return t?n?b():_=g.run():o==="post"?ut(g.run.bind(g),l&&l.suspense):g.run(),m&&m.push(w),w}function zw(e,t,n){const r=this.proxy,o=Ze(e)?e.includes(".")?L_(r,e):()=>r[e]:e.bind(r,r);let s;be(t)?s=t:(s=t.handler,n=t);const i=qr(this),a=Ya(o,s.bind(r),n);return i(),a}function L_(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 Jn(e,t=1/0,n){if(t<=0||!Ke(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ze(e))Jn(e.value,t,n);else if(de(e))for(let r=0;r<e.length;r++)Jn(e[r],t,n);else if(Fo(e)||po(e))e.forEach(r=>{Jn(r,t,n)});else if(Pg(e)){for(const r in e)Jn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Jn(e[r],t,n)}return e}function fV(e,t,n=Ge){const r=qt(),o=Wt(t),s=Mn(t),i=D_(e,t),a=Xu((l,c)=>{let f,u=Ge,d;return jw(()=>{const h=e[t];Rt(f,h)&&(f=h,c())}),{get(){return l(),n.get?n.get(f):f},set(h){const p=n.set?n.set(h):h;if(!Rt(p,f)&&!(u!==Ge&&Rt(h,u)))return;const m=r.vnode.props;m&&(t in m||o in m||s in m)&&(`onUpdate:${t}`in m||`onUpdate:${o}`in m||`onUpdate:${s}`in m)||(f=h,c()),r.emit(`update:${t}`,p),Rt(h,p)&&Rt(h,u)&&!Rt(p,d)&&c(),u=h,d=p}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||Ge:a,done:!1}:{done:!0}}}},a}const D_=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Wt(t)}Modifiers`]||e[`${Mn(t)}Modifiers`];function Gw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ge;let o=n;const s=t.startsWith("update:"),i=s&&D_(r,t.slice(7));i&&(i.trim&&(o=n.map(f=>Ze(f)?f.trim():f)),i.number&&(o=n.map(Xi)));let a,l=r[a=Mi(t)]||r[a=Mi(Wt(t))];!l&&s&&(l=r[a=Mi(Mn(t))]),l&&Gt(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Gt(c,e,6,o)}}function M_(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!be(e)){const l=c=>{const f=M_(c,t,!0);f&&(a=!0,rt(i,f))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Ke(e)&&r.set(e,null),null):(de(s)?s.forEach(l=>i[l]=null):rt(i,s),Ke(e)&&r.set(e,i),i)}function Za(e,t){return!e||!Ks(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ne(e,t[0].toLowerCase()+t.slice(1))||Ne(e,Mn(t))||Ne(e,t))}function Ll(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:c,renderCache:f,props:u,data:d,setupState:h,ctx:p,inheritAttrs:m}=e,_=Qi(e);let b,v;try{if(n.shapeFlag&4){const y=o||r,w=y;b=Dt(c.call(w,y,f,u,h,d,p)),v=a}else{const y=t;b=Dt(y.length>1?y(u,{attrs:a,slots:i,emit:l}):y(u,null)),v=t.props?a:Ww(a)}}catch(y){fs.length=0,Vo(y,e,1),b=Y(ft)}let g=b;if(v&&m!==!1){const y=Object.keys(v),{shapeFlag:w}=g;y.length&&w&7&&(s&&y.some(Lu)&&(v=qw(v,s)),g=Nn(g,v,!1,!0))}return n.dirs&&(g=Nn(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),b=g,Qi(_),b}function Kw(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Ro(o)){if(o.type!==ft||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Ww=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ks(n))&&((t||(t={}))[n]=e[n]);return t},qw=(e,t)=>{const n={};for(const r in e)(!Lu(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Xw(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Td(r,i,c):!!i;if(l&8){const f=t.dynamicProps;for(let u=0;u<f.length;u++){const d=f[u];if(i[d]!==r[d]&&!Za(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Td(r,i,c):!0:!!i;return!1}function Td(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 s=r[o];if(t[s]!==e[s]&&!Za(n,s))return!0}return!1}function of({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 Ac=e=>e.__isSuspense;let Rc=0;const Yw={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,c){if(e==null)Zw(t,n,r,o,s,i,a,l,c);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Jw(e,t,n,r,o,i,a,l,c)}},hydrate:Qw,normalize:eE},sf=Yw;function Os(e,t){const n=e.props&&e.props[t];be(n)&&n()}function Zw(e,t,n,r,o,s,i,a,l){const{p:c,o:{createElement:f}}=l,u=f("div"),d=e.suspense=F_(e,o,r,t,u,n,s,i,a,l);c(null,d.pendingBranch=e.ssContent,u,null,r,d,s,i),d.deps>0?(Os(e,"onPending"),Os(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,s,i),bo(d,e.ssFallback)):d.resolve(!1,!0)}function Jw(e,t,n,r,o,s,i,a,{p:l,um:c,o:{createElement:f}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:_,isHydrating:b}=u;if(m)u.pendingBranch=d,Zt(d,m)?(l(m,d,u.hiddenContainer,null,o,u,s,i,a),u.deps<=0?u.resolve():_&&(b||(l(p,h,n,r,o,null,s,i,a),bo(u,h)))):(u.pendingId=Rc++,b?(u.isHydrating=!1,u.activeBranch=m):c(m,o,u),u.deps=0,u.effects.length=0,u.hiddenContainer=f("div"),_?(l(null,d,u.hiddenContainer,null,o,u,s,i,a),u.deps<=0?u.resolve():(l(p,h,n,r,o,null,s,i,a),bo(u,h))):p&&Zt(d,p)?(l(p,d,n,r,o,u,s,i,a),u.resolve(!0)):(l(null,d,u.hiddenContainer,null,o,u,s,i,a),u.deps<=0&&u.resolve()));else if(p&&Zt(d,p))l(p,d,n,r,o,u,s,i,a),bo(u,d);else if(Os(t,"onPending"),u.pendingBranch=d,d.shapeFlag&512?u.pendingId=d.component.suspenseId:u.pendingId=Rc++,l(null,d,u.hiddenContainer,null,o,u,s,i,a),u.deps<=0)u.resolve();else{const{timeout:v,pendingId:g}=u;v>0?setTimeout(()=>{u.pendingId===g&&u.fallback(h)},v):v===0&&u.fallback(h)}}function F_(e,t,n,r,o,s,i,a,l,c,f=!1){const{p:u,m:d,um:h,n:p,o:{parentNode:m,remove:_}}=c;let b;const v=tE(e);v&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const g=e.props?Ig(e.props.timeout):void 0,y=s,w={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:Rc++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(C=!1,k=!1){const{vnode:M,activeBranch:L,pendingBranch:R,pendingId:$,effects:T,parentComponent:x,container:A}=w;let I=!1;w.isHydrating?w.isHydrating=!1:C||(I=L&&R.transition&&R.transition.mode==="out-in",I&&(L.transition.afterLeave=()=>{$===w.pendingId&&(d(R,A,s===y?p(L):s,0),wc(T))}),L&&(m(L.el)!==w.hiddenContainer&&(s=p(L)),h(L,x,w,!0)),I||d(R,A,s,0)),bo(w,R),w.pendingBranch=null,w.isInFallback=!1;let O=w.parent,P=!1;for(;O;){if(O.pendingBranch){O.effects.push(...T),P=!0;break}O=O.parent}!P&&!I&&wc(T),w.effects=[],v&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),Os(M,"onResolve")},fallback(C){if(!w.pendingBranch)return;const{vnode:k,activeBranch:M,parentComponent:L,container:R,namespace:$}=w;Os(k,"onFallback");const T=p(M),x=()=>{w.isInFallback&&(u(null,C,R,T,L,null,$,a,l),bo(w,C))},A=C.transition&&C.transition.mode==="out-in";A&&(M.transition.afterLeave=x),w.isInFallback=!0,h(M,L,null,!0),A||x()},move(C,k,M){w.activeBranch&&d(w.activeBranch,C,k,M),w.container=C},next(){return w.activeBranch&&p(w.activeBranch)},registerDep(C,k,M){const L=!!w.pendingBranch;L&&w.deps++;const R=C.vnode.el;C.asyncDep.catch($=>{Vo($,C,0)}).then($=>{if(C.isUnmounted||w.isUnmounted||w.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:T}=C;kc(C,$,!1),R&&(T.el=R);const x=!R&&C.subTree.el;k(C,T,m(R||C.subTree.el),R?null:p(C.subTree),w,i,M),x&&_(x),of(C,T.el),L&&--w.deps===0&&w.resolve()})},unmount(C,k){w.isUnmounted=!0,w.activeBranch&&h(w.activeBranch,n,C,k),w.pendingBranch&&h(w.pendingBranch,n,C,k)}};return w}function Qw(e,t,n,r,o,s,i,a,l){const c=t.suspense=F_(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),f=l(e,c.pendingBranch=t.ssContent,n,c,s,i);return c.deps===0&&c.resolve(!1,!0),f}function eE(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Cd(r?n.default:n),e.ssFallback=r?Cd(n.fallback):Y(ft)}function Cd(e){let t;if(be(e)){const n=Ao&&e._c;n&&(e._d=!1,Z()),e=e(),n&&(e._d=!0,t=Pt,V_())}return de(e)&&(e=Kw(e)),e=Dt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function B_(e,t){t&&t.pendingBranch?de(e)?t.effects.push(...e):t.effects.push(e):wc(e)}function bo(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,of(r,o))}function tE(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const $e=Symbol.for("v-fgt"),Ur=Symbol.for("v-txt"),ft=Symbol.for("v-cmt"),us=Symbol.for("v-stc"),fs=[];let Pt=null;function Z(e=!1){fs.push(Pt=e?null:[])}function V_(){fs.pop(),Pt=fs[fs.length-1]||null}let Ao=1;function xd(e){Ao+=e,e<0&&Pt&&(Pt.hasOnce=!0)}function U_(e){return e.dynamicChildren=Ao>0?Pt||ho:null,V_(),Ao>0&&Pt&&Pt.push(e),e}function ye(e,t,n,r,o,s){return U_(W(e,t,n,r,o,s,!0))}function Ae(e,t,n,r,o){return U_(Y(e,t,n,r,o,!0))}function Ro(e){return e?e.__v_isVNode===!0:!1}function Zt(e,t){return e.type===t.type&&e.key===t.key}const H_=({key:e})=>e??null,Fi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ze(e)||ze(e)||be(e)?{i:st,r:e,k:t,f:!!n}:e:null);function W(e,t=null,n=null,r=0,o=null,s=e===$e?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&H_(t),ref:t&&Fi(t),scopeId:Wa,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:st};return a?(af(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ze(n)?8:16),Ao>0&&!i&&Pt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Pt.push(l),l}const Y=nE;function nE(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===h_)&&(e=ft),Ro(e)){const a=Nn(e,t,!0);return n&&af(a,n),Ao>0&&!s&&Pt&&(a.shapeFlag&6?Pt[Pt.indexOf(e)]=a:Pt.push(a)),a.patchFlag=-2,a}if(uE(e)&&(e=e.__vccOpts),t){t=Ja(t);let{class:a,style:l}=t;a&&!Ze(a)&&(t.class=nt(a)),Ke(l)&&(Xg(l)&&!de(l)&&(l=rt({},l)),t.style=_n(l))}const i=Ze(e)?1:Ac(e)?128:Iw(e)?64:Ke(e)?4:be(e)?2:0;return W(e,t,n,r,o,i,s,!0)}function Ja(e){return e?Xg(e)||w_(e)?rt({},e):e:null}function Nn(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?$n(o||{},t):o,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&H_(c),ref:t&&t.ref?n&&s?de(s)?s.concat(Fi(t)):[s,Fi(t)]:Fi(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==$e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Nn(e.ssContent),ssFallback:e.ssFallback&&Nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Kr(f,l.clone(f)),f}function Pe(e=" ",t=0){return Y(Ur,null,e,t)}function rE(e,t){const n=Y(us,null,e);return n.staticCount=t,n}function Ye(e="",t=!1){return t?(Z(),Ae(ft,null,e)):Y(ft,null,e)}function Dt(e){return e==null||typeof e=="boolean"?Y(ft):de(e)?Y($e,null,e.slice()):typeof e=="object"?Xn(e):Y(Ur,null,String(e))}function Xn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Nn(e)}function af(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(de(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),af(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!w_(t)?t._ctx=st:o===3&&st&&(st.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else be(t)?(t={default:t,_ctx:st},n=32):(t=String(t),r&64?(n=16,t=[Pe(t)]):n=8);e.children=t,e.shapeFlag|=n}function $n(...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=nt([t.class,r.class]));else if(o==="style")t.style=_n([t.style,r.style]);else if(Ks(o)){const s=t[o],i=r[o];i&&s!==i&&!(de(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function At(e,t,n,r=null){Gt(e,t,7,[n,r])}const oE=__();let sE=0;function iE(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||oE,s={uid:sE++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Mg(!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:S_(r,o),emitsOptions:M_(r,o),emit:null,emitted:null,propsDefaults:Ge,inheritAttrs:r.inheritAttrs,ctx:Ge,data:Ge,props:Ge,attrs:Ge,slots:Ge,refs:Ge,setupState:Ge,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Gw.bind(null,s),e.ce&&e.ce(s),s}let ot=null;const qt=()=>ot||st;let sa,Oc;{const e=Ng(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};sa=t("__VUE_INSTANCE_SETTERS__",n=>ot=n),Oc=t("__VUE_SSR_SETTERS__",n=>Ys=n)}const qr=e=>{const t=ot;return sa(e),e.scope.on(),()=>{e.scope.off(),sa(t)}},Pc=()=>{ot&&ot.scope.off(),sa(null)};function j_(e){return e.vnode.shapeFlag&4}let Ys=!1;function aE(e,t=!1,n=!1){t&&Oc(t);const{props:r,children:o}=e.vnode,s=j_(e);xw(e,r,s,t),Pw(e,o,n);const i=s?lE(e,t):void 0;return t&&Oc(!1),i}function lE(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,vw);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?G_(e):null,s=qr(e);gr();const i=or(r,e,0,[e.props,o]);if(_r(),s(),Mu(i)){if(i.then(Pc,Pc),t)return i.then(a=>{kc(e,a,t)}).catch(a=>{Vo(a,e,0)});e.asyncDep=i}else kc(e,i,t)}else z_(e,t)}function kc(e,t,n){be(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ke(t)&&(e.setupState=Qg(t)),z_(e,n)}let Ad;function z_(e,t,n){const r=e.type;if(!e.render){if(!t&&Ad&&!r.render){const o=r.template||tf(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=rt(rt({isCustomElement:s,delimiters:a},i),l);r.render=Ad(o,c)}}e.render=r.render||jt}{const o=qr(e);gr();try{yw(e)}finally{_r(),o()}}}const cE={get(e,t){return kt(e,"get",""),e[t]}};function G_(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,cE),slots:e.slots,emit:e.emit,expose:t}}function Qa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Qg(Gb(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ls)return ls[n](e)},has(t,n){return n in t||n in ls}})):e.proxy}function Ic(e,t=!0){return be(e)?e.displayName||e.name:e.name||t&&e.__name}function uE(e){return be(e)&&"__vccOpts"in e}const le=(e,t)=>Kb(e,t,Ys);function Qe(e,t,n){const r=arguments.length;return r===2?Ke(t)&&!de(t)?Ro(t)?Y(e,null,[t]):Y(e,t):Y(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ro(n)&&(n=[n]),Y(e,t,n))}const K_="3.4.38";/**
15
- * @vue/runtime-dom v3.4.38
16
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
17
- * @license MIT
18
- **/const fE="http://www.w3.org/2000/svg",dE="http://www.w3.org/1998/Math/MathML",An=typeof document<"u"?document:null,Rd=An&&An.createElement("template"),hE={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"?An.createElementNS(fE,e):t==="mathml"?An.createElementNS(dE,e):n?An.createElement(e,{is:n}):An.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>An.createTextNode(e),createComment:e=>An.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>An.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Rd.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=Rd.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Hn="transition",Zo="animation",Oo=Symbol("_vtc"),el=(e,{slots:t})=>Qe(aw,q_(e),t);el.displayName="Transition";const W_={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},pE=el.props=rt({},s_,W_),Sr=(e,t=[])=>{de(e)?e.forEach(n=>n(...t)):e&&e(...t)},Od=e=>e?de(e)?e.some(t=>t.length>1):e.length>1:!1;function q_(e){const t={};for(const T in e)T in W_||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=i,appearToClass:f=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=mE(o),m=p&&p[0],_=p&&p[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:g,onLeave:y,onLeaveCancelled:w,onBeforeAppear:C=b,onAppear:k=v,onAppearCancelled:M=g}=t,L=(T,x,A)=>{jn(T,x?f:a),jn(T,x?c:i),A&&A()},R=(T,x)=>{T._isLeaving=!1,jn(T,u),jn(T,h),jn(T,d),x&&x()},$=T=>(x,A)=>{const I=T?k:v,O=()=>L(x,T,A);Sr(I,[x,O]),Pd(()=>{jn(x,T?l:s),xn(x,T?f:a),Od(I)||kd(x,r,m,O)})};return rt(t,{onBeforeEnter(T){Sr(b,[T]),xn(T,s),xn(T,i)},onBeforeAppear(T){Sr(C,[T]),xn(T,l),xn(T,c)},onEnter:$(!1),onAppear:$(!0),onLeave(T,x){T._isLeaving=!0;const A=()=>R(T,x);xn(T,u),xn(T,d),Y_(),Pd(()=>{T._isLeaving&&(jn(T,u),xn(T,h),Od(y)||kd(T,r,_,A))}),Sr(y,[T,A])},onEnterCancelled(T){L(T,!1),Sr(g,[T])},onAppearCancelled(T){L(T,!0),Sr(M,[T])},onLeaveCancelled(T){R(T),Sr(w,[T])}})}function mE(e){if(e==null)return null;if(Ke(e))return[Dl(e.enter),Dl(e.leave)];{const t=Dl(e);return[t,t]}}function Dl(e){return Ig(e)}function xn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Oo]||(e[Oo]=new Set)).add(t)}function jn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Oo];n&&(n.delete(t),n.size||(e[Oo]=void 0))}function Pd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let gE=0;function kd(e,t,n,r){const o=e._endId=++gE,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=X_(e,t);if(!i)return r();const c=i+"end";let f=0;const u=()=>{e.removeEventListener(c,d),s()},d=h=>{h.target===e&&++f>=l&&u()};setTimeout(()=>{f<l&&u()},a+1),e.addEventListener(c,d)}function X_(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),o=r(`${Hn}Delay`),s=r(`${Hn}Duration`),i=Id(o,s),a=r(`${Zo}Delay`),l=r(`${Zo}Duration`),c=Id(a,l);let f=null,u=0,d=0;t===Hn?i>0&&(f=Hn,u=i,d=s.length):t===Zo?c>0&&(f=Zo,u=c,d=l.length):(u=Math.max(i,c),f=u>0?i>c?Hn:Zo:null,d=f?f===Hn?s.length:l.length:0);const h=f===Hn&&/\b(transform|all)(,|$)/.test(r(`${Hn}Property`).toString());return{type:f,timeout:u,propCount:d,hasTransform:h}}function Id(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Nd(n)+Nd(e[r])))}function Nd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Y_(){return document.body.offsetHeight}function _E(e,t,n){const r=e[Oo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ia=Symbol("_vod"),Z_=Symbol("_vsh"),Nc={beforeMount(e,{value:t},{transition:n}){e[ia]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Jo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Jo(e,!0),r.enter(e)):r.leave(e,()=>{Jo(e,!1)}):Jo(e,t))},beforeUnmount(e,{value:t}){Jo(e,t)}};function Jo(e,t){e.style.display=t?e[ia]:"none",e[Z_]=!t}const vE=Symbol(""),yE=/(^|;)\s*display\s*:/;function bE(e,t,n){const r=e.style,o=Ze(n);let s=!1;if(n&&!o){if(t)if(Ze(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Bi(r,a,"")}else for(const i in t)n[i]==null&&Bi(r,i,"");for(const i in n)i==="display"&&(s=!0),Bi(r,i,n[i])}else if(o){if(t!==n){const i=r[vE];i&&(n+=";"+i),r.cssText=n,s=yE.test(n)}}else t&&e.removeAttribute("style");ia in e&&(e[ia]=s?r.display:"",e[Z_]&&(r.display="none"))}const $d=/\s*!important$/;function Bi(e,t,n){if(de(n))n.forEach(r=>Bi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=wE(e,t);$d.test(n)?e.setProperty(Mn(r),n.replace($d,""),"important"):e[r]=n}}const Ld=["Webkit","Moz","ms"],Ml={};function wE(e,t){const n=Ml[t];if(n)return n;let r=Wt(t);if(r!=="filter"&&r in e)return Ml[t]=r;r=ja(r);for(let o=0;o<Ld.length;o++){const s=Ld[o]+r;if(s in e)return Ml[t]=s}return t}const Dd="http://www.w3.org/1999/xlink";function Md(e,t,n,r,o,s=wb(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Dd,t.slice(6,t.length)):e.setAttributeNS(Dd,t,n):n==null||s&&!$g(n)?e.removeAttribute(t):e.setAttribute(t,s?"":bn(n)?String(n):n)}function EE(e,t,n,r){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const i=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?"":String(n);(i!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=$g(n):n==null&&i==="string"?(n="",s=!0):i==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(t)}function On(e,t,n,r){e.addEventListener(t,n,r)}function SE(e,t,n,r){e.removeEventListener(t,n,r)}const Fd=Symbol("_vei");function TE(e,t,n,r,o=null){const s=e[Fd]||(e[Fd]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=CE(t);if(r){const c=s[t]=RE(r,o);On(e,a,c,l)}else i&&(SE(e,a,i,l),s[t]=void 0)}}const Bd=/(?:Once|Passive|Capture)$/;function CE(e){let t;if(Bd.test(e)){t={};let r;for(;r=e.match(Bd);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Mn(e.slice(2)),t]}let Fl=0;const xE=Promise.resolve(),AE=()=>Fl||(xE.then(()=>Fl=0),Fl=Date.now());function RE(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Gt(OE(r,n.value),t,5,[r])};return n.value=e,n.attached=AE(),n}function OE(e,t){if(de(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 Vd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,PE=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?_E(e,r,i):t==="style"?bE(e,n,r):Ks(t)?Lu(t)||TE(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):kE(e,t,r,i))?(EE(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Md(e,t,r,i,s,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Md(e,t,r,i))};function kE(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Vd(t)&&be(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 Vd(t)&&Ze(n)?!1:t in e}const J_=new WeakMap,Q_=new WeakMap,aa=Symbol("_moveCb"),Ud=Symbol("_enterCb"),e0={name:"TransitionGroup",props:rt({},pE,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=qt(),r=o_();let o,s;return Ju(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!ME(o[0].el,n.vnode.el,i))return;o.forEach($E),o.forEach(LE);const a=o.filter(DE);Y_(),a.forEach(l=>{const c=l.el,f=c.style;xn(c,i),f.transform=f.webkitTransform=f.transitionDuration="";const u=c[aa]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",u),c[aa]=null,jn(c,i))};c.addEventListener("transitionend",u)})}),()=>{const i=Ie(e),a=q_(i);let l=i.tag||$e;if(o=[],s)for(let c=0;c<s.length;c++){const f=s[c];f.el&&f.el instanceof Element&&(o.push(f),Kr(f,As(f,a,r,n)),J_.set(f,f.el.getBoundingClientRect()))}s=t.default?Zu(t.default()):[];for(let c=0;c<s.length;c++){const f=s[c];f.key!=null&&Kr(f,As(f,a,r,n))}return Y(l,null,s)}}},IE=e=>delete e.mode;e0.props;const NE=e0;function $E(e){const t=e.el;t[aa]&&t[aa](),t[Ud]&&t[Ud]()}function LE(e){Q_.set(e,e.el.getBoundingClientRect())}function DE(e){const t=J_.get(e),n=Q_.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function ME(e,t,n){const r=e.cloneNode(),o=e[Oo];o&&o.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=X_(r);return s.removeChild(r),i}const dr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return de(t)?n=>go(t,n):t};function FE(e){e.target.composing=!0}function Hd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Kt=Symbol("_assign"),jd={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Kt]=dr(o);const s=r||o.props&&o.props.type==="number";On(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=Xi(a)),e[Kt](a)}),n&&On(e,"change",()=>{e.value=e.value.trim()}),t||(On(e,"compositionstart",FE),On(e,"compositionend",Hd),On(e,"change",Hd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[Kt]=dr(i),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?Xi(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},BE={deep:!0,created(e,t,n){e[Kt]=dr(n),On(e,"change",()=>{const r=e._modelValue,o=Po(e),s=e.checked,i=e[Kt];if(de(r)){const a=Vu(r,o),l=a!==-1;if(s&&!l)i(r.concat(o));else if(!s&&l){const c=[...r];c.splice(a,1),i(c)}}else if(Fo(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(t0(e,s))})},mounted:zd,beforeUpdate(e,t,n){e[Kt]=dr(n),zd(e,t,n)}};function zd(e,{value:t,oldValue:n},r){e._modelValue=t,de(t)?e.checked=Vu(t,r.props.value)>-1:Fo(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Gr(t,t0(e,!0)))}const VE={created(e,{value:t},n){e.checked=Gr(t,n.props.value),e[Kt]=dr(n),On(e,"change",()=>{e[Kt](Po(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Kt]=dr(r),t!==n&&(e.checked=Gr(t,r.props.value))}},UE={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Fo(t);On(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Xi(Po(i)):Po(i));e[Kt](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,Tt(()=>{e._assigning=!1})}),e[Kt]=dr(r)},mounted(e,{value:t,modifiers:{number:n}}){Gd(e,t)},beforeUpdate(e,t,n){e[Kt]=dr(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Gd(e,t)}};function Gd(e,t,n){const r=e.multiple,o=de(t);if(!(r&&!o&&!Fo(t))){for(let s=0,i=e.options.length;s<i;s++){const a=e.options[s],l=Po(a);if(r)if(o){const c=typeof l;c==="string"||c==="number"?a.selected=t.some(f=>String(f)===String(l)):a.selected=Vu(t,l)>-1}else a.selected=t.has(l);else if(Gr(Po(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Po(e){return"_value"in e?e._value:e.value}function t0(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const HE={created(e,t,n){_i(e,t,n,null,"created")},mounted(e,t,n){_i(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){_i(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){_i(e,t,n,r,"updated")}};function jE(e,t){switch(e){case"SELECT":return UE;case"TEXTAREA":return jd;default:switch(t){case"checkbox":return BE;case"radio":return VE;default:return jd}}}function _i(e,t,n,r,o){const i=jE(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}const zE=["ctrl","shift","alt","meta"],GE={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>zE.some(n=>e[`${n}Key`]&&!t.includes(n))},KE=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i<t.length;i++){const a=GE[t[i]];if(a&&a(o,t))return}return e(o,...s)})},WE={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},n0=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=Mn(o.key);if(t.some(i=>i===s||WE[i]===s))return e(o)})},r0=rt({patchProp:PE},hE);let ds,Kd=!1;function qE(){return ds||(ds=Fw(r0))}function XE(){return ds=Kd?ds:Bw(r0),Kd=!0,ds}const o0=(...e)=>{const t=qE().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=i0(r);if(!o)return;const s=t._component;!be(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,s0(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},YE=(...e)=>{const t=XE().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=i0(r);if(o)return n(o,!0,s0(o))},t};function s0(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function i0(e){return Ze(e)?document.querySelector(e):e}const ZE=/"(?:_|\\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*:/,JE=/"(?: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*:/,QE=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function eS(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){tS(e);return}return t}function tS(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function la(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(!QE.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ZE.test(e)||JE.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,eS)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const nS=/#/g,rS=/&/g,oS=/\//g,sS=/=/g,lf=/\+/g,iS=/%5e/gi,aS=/%60/gi,lS=/%7c/gi,cS=/%20/gi;function uS(e){return encodeURI(""+e).replace(lS,"|")}function $c(e){return uS(typeof e=="string"?e:JSON.stringify(e)).replace(lf,"%2B").replace(cS,"+").replace(nS,"%23").replace(rS,"%26").replace(aS,"`").replace(iS,"^").replace(oS,"%2F")}function Bl(e){return $c(e).replace(sS,"%3D")}function ca(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function fS(e){return ca(e.replace(lf," "))}function dS(e){return ca(e.replace(lf," "))}function a0(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=fS(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=dS(r[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function hS(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Bl(e)}=${$c(n)}`).join("&"):`${Bl(e)}=${$c(t)}`:Bl(e)}function pS(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>hS(t,e[t])).filter(Boolean).join("&")}const mS=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,gS=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,_S=/^([/\\]\s*){2,}[^/\\]/,vS=/^[\s\0]*(blob|data|javascript|vbscript):$/i,yS=/\/$|\/\?|\/#/,bS=/^\.?\//;function Vn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?mS.test(e):gS.test(e)||(t.acceptRelative?_S.test(e):!1)}function wS(e){return!!e&&vS.test(e)}function Lc(e="",t){return t?yS.test(e):e.endsWith("/")}function tl(e="",t){if(!t)return(Lc(e)?e.slice(0,-1):e)||"/";if(!Lc(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[s,...i]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function ua(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Lc(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[s,...i]=n.split("?");return s+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function ES(e=""){return e.startsWith("/")}function Wd(e=""){return ES(e)?e:"/"+e}function SS(e,t){if(c0(t)||Vn(e))return e;const n=tl(t);return e.startsWith(n)?e:nl(n,e)}function qd(e,t){if(c0(t))return e;const n=tl(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function l0(e,t){const n=xS(e),r={...a0(n.search),...t};return n.search=pS(r),AS(n)}function c0(e){return!e||e==="/"}function TS(e){return e&&e!=="/"}function nl(e,...t){let n=e||"";for(const r of t.filter(o=>TS(o)))if(n){const o=r.replace(bS,"");n=ua(n)+o}else n=r;return n}function u0(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const i of n)if(!(!i||i==="/")){for(const[a,l]of i.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&Vn(r[0]))continue;r.pop(),o--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),o++}}let s=r.join("/");return o>=0?n[0]?.startsWith("/")&&!s.startsWith("/")?s="/"+s:n[0]?.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*o)+s,n[n.length-1]?.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function CS(e,t,n={}){return n.trailingSlash||(e=ua(e),t=ua(t)),n.leadingSlash||(e=Wd(e),t=Wd(t)),n.encoding||(e=ca(e),t=ca(t)),e===t}const f0=Symbol.for("ufo:protocolRelative");function xS(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,u,d=""]=n;return{protocol:u.toLowerCase(),pathname:d,href:u+d,auth:"",host:"",search:"",hash:""}}if(!Vn(e,{acceptRelative:!0}))return Xd(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:f}=Xd(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:c,hash:f,[f0]:!r}}function Xd(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function AS(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[f0]?(e.protocol||"")+"//":"")+o+s+t+n+r}class RS extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function OS(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${s}${t?` ${t}`:""}`,a=new RS(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[c]}});return a}const PS=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Yd(e="GET"){return PS.has(e.toUpperCase())}function kS(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 IS=new Set(["image/svg","application/xml","application/xhtml","application/html"]),NS=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function $S(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return NS.test(t)?"json":IS.has(t)||t.startsWith("text/")?"text":"blob"}function LS(e,t,n=globalThis.Headers){const r={...t,...e};if(t?.params&&e?.params&&(r.params={...t?.params,...e?.params}),t?.query&&e?.query&&(r.query={...t?.query,...e?.query}),t?.headers&&e?.headers){r.headers=new n(t?.headers||{});for(const[o,s]of new n(e?.headers||{}))r.headers.set(o,s)}return r}const DS=new Set([408,409,425,429,500,502,503,504]),MS=new Set([101,204,205,304]);function d0(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let f;typeof a.options.retry=="number"?f=a.options.retry:f=Yd(a.options.method)?0:1;const u=a.response&&a.response.status||500;if(f>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(u):DS.has(u))){const d=a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),s(a.request,{...a.options,retry:f-1})}}const c=OS(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,s),c}const s=async function(l,c={}){const f={request:l,options:LS(c,e.defaults,n),response:void 0,error:void 0};f.options.method=f.options.method?.toUpperCase(),f.options.onRequest&&await f.options.onRequest(f),typeof f.request=="string"&&(f.options.baseURL&&(f.request=SS(f.request,f.options.baseURL)),(f.options.query||f.options.params)&&(f.request=l0(f.request,{...f.options.params,...f.options.query}))),f.options.body&&Yd(f.options.method)&&(kS(f.options.body)?(f.options.body=typeof f.options.body=="string"?f.options.body:JSON.stringify(f.options.body),f.options.headers=new n(f.options.headers||{}),f.options.headers.has("content-type")||f.options.headers.set("content-type","application/json"),f.options.headers.has("accept")||f.options.headers.set("accept","application/json")):("pipeTo"in f.options.body&&typeof f.options.body.pipeTo=="function"||typeof f.options.body.pipe=="function")&&("duplex"in f.options||(f.options.duplex="half")));let u;if(!f.options.signal&&f.options.timeout){const h=new r;u=setTimeout(()=>h.abort(),f.options.timeout),f.options.signal=h.signal}try{f.response=await t(f.request,f.options)}catch(h){return f.error=h,f.options.onRequestError&&await f.options.onRequestError(f),await o(f)}finally{u&&clearTimeout(u)}if(f.response.body&&!MS.has(f.response.status)&&f.options.method!=="HEAD"){const h=(f.options.parseResponse?"json":f.options.responseType)||$S(f.response.headers.get("content-type")||"");switch(h){case"json":{const p=await f.response.text(),m=f.options.parseResponse||la;f.response._data=m(p);break}case"stream":{f.response._data=f.response.body;break}default:f.response._data=await f.response[h]()}}return f.options.onResponse&&await f.options.onResponse(f),!f.options.ignoreResponseError&&f.response.status>=400&&f.response.status<600?(f.options.onResponseError&&await f.options.onResponseError(f),await o(f)):f.response},i=async function(l,c){return(await s(l,c))._data};return i.raw=s,i.native=(...a)=>t(...a),i.create=(a={})=>d0({...e,defaults:{...e.defaults,...a}}),i}const cf=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")}(),FS=cf.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),BS=cf.Headers,VS=cf.AbortController,US=d0({fetch:FS,Headers:BS,AbortController:VS}),HS=US,jS=()=>window?.__NUXT__?.config||{},fa=jS().app,zS=()=>fa.baseURL,GS=()=>fa.buildAssetsDir,uf=(...e)=>u0(h0(),GS(),...e),h0=(...e)=>{const t=fa.cdnURL||fa.baseURL;return e.length?u0(t,...e):t};globalThis.__buildAssetsURL=uf,globalThis.__publicAssetsURL=h0;globalThis.$fetch||(globalThis.$fetch=HS.create({baseURL:zS()}));function Dc(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Dc(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const KS={run:e=>e()},WS=()=>KS,p0=typeof console.createTask<"u"?console.createTask:WS;function qS(e,t){const n=t.shift(),r=p0(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function XS(e,t){const n=t.shift(),r=p0(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Vl(e,t){for(const n of[...e])n(t)}let YS=class{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 s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));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=Dc(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=Dc(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(qS,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(XS,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Vl(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&Vl(this._after,o)}):(this._after&&o&&Vl(this._after,o),s)}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 rl(){return new YS}function ZS(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;Mc.add(c);try{const f=o?o.run(i,a):a();return n||(t=void 0),await f}finally{Mc.delete(c)}}}}function JS(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=ZS({...e,...r})),t[n],t[n]}}}const da=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Zd="__unctx__",QS=da[Zd]||(da[Zd]=JS()),eT=(e,t={})=>QS.get(e,t),Jd="__unctx_async_handlers__",Mc=da[Jd]||(da[Jd]=new Set);function wo(e){const t=[];for(const o of Mc){const s=o();s&&t.push(s)}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 tT=!1,Fc=!1,nT=!1,rT={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},co={value:null,errorValue:null,deep:!0},oT=null,sT={},iT="#__nuxt",m0="nuxt-app",Qd=36e5;function g0(e=m0){return eT(e,{asyncContext:!1})}const aT="__nuxt_plugin";function lT(e){let t=0;const n={_id:e.id||m0||"nuxt-app",_scope:Sb(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.13.0"},get vue(){return n.vueApp.version}},payload:pn({data:pn({}),state:Ft({}),once:new Set,_errors:pn({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!Ws()?n._scope.run(()=>eh(n,o)):eh(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:pn({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const s in o)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],o[s]);break;default:n.payload[s]=o[s]}}n.hooks=rl(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;vi(n,i,s),vi(n.vueApp.config.globalProperties,i,s)},vi(n.vueApp,"$nuxt",n),vi(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||Le;const o=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function cT(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function uT(e,t){if(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 fT(e,t){const n=[],r=[],o=[],s=[];let i=0;async function a(l){const c=l.dependsOn?.filter(f=>t.some(u=>u._name===f)&&!n.includes(f))??[];if(c.length>0)r.push([new Set(c),l]);else{const f=uT(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([u,d])=>{u.has(l._name)&&(u.delete(l._name),u.size===0&&(i++,await a(d)))})))});l.parallel?o.push(f.catch(u=>s.push(u))):await f}}for(const l of t)cT(e,l);for(const l of t)await a(l);if(await Promise.all(o),i)for(let l=0;l<i;l++)await Promise.all(o);if(s.length)throw s[0]}function Vt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[aT]:!0,_name:t})}function eh(e,t,n){const r=()=>t();return g0(e._id).set(e),e.vueApp.runWithContext(r)}function dT(e){let t;return v_()&&(t=qt()?.appContext.app.$nuxt),t=t||g0(e).tryUse(),t||null}function Le(e){const t=dT(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Zs(e){return Le().$config}function vi(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const th=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function Bc(e,t){t?t={...th,...t}:t=th;const n=_0(t);return n.dispatch(e),n.toString()}const hT=Object.freeze(["prototype","__proto__","constructor"]);function _0(e){let t="",n=new Map;const r=o=>{t+=o};return{toString(){return t},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this[o===null?"null":typeof o](o)},object(o){if(o&&typeof o.toJSON=="function")return this.object(o.toJSON());const s=Object.prototype.toString.call(o);let i="";const a=s.length;a<10?i="unknown:["+s+"]":i=s.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return r("buffer:"),r(o.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](o):e.ignoreUnknown||this.unkown(o,i);else{let c=Object.keys(o);e.unorderedObjects&&(c=c.sort());let f=[];e.respectType!==!1&&!nh(o)&&(f=hT),e.excludeKeys&&(c=c.filter(d=>!e.excludeKeys(d)),f=f.filter(d=>!e.excludeKeys(d))),r("object:"+(c.length+f.length)+":");const u=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(o[d]),r(",")};for(const d of c)u(d);for(const d of f)u(d)}},array(o,s){if(s=s===void 0?e.unorderedArrays!==!1:s,r("array:"+o.length+":"),!s||o.length<=1){for(const l of o)this.dispatch(l);return}const i=new Map,a=o.map(l=>{const c=_0(e);c.dispatch(l);for(const[f,u]of c.getContext())i.set(f,u);return c.toString()});return n=i,a.sort(),this.array(a,!1)},date(o){return r("date:"+o.toJSON())},symbol(o){return r("symbol:"+o.toString())},unkown(o,s){if(r(s),!!o&&(r(":"),o&&typeof o.entries=="function"))return this.array(Array.from(o.entries()),!0)},error(o){return r("error:"+o.toString())},boolean(o){return r("bool:"+o)},string(o){r("string:"+o.length+":"),r(o)},function(o){r("fn:"),nh(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this.object(o)},number(o){return r("number:"+o)},xml(o){return r("xml:"+o.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(o){return r("regex:"+o.toString())},uint8array(o){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},uint8clampedarray(o){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},int8array(o){return r("int8array:"),this.dispatch(Array.prototype.slice.call(o))},uint16array(o){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},int16array(o){return r("int16array:"),this.dispatch(Array.prototype.slice.call(o))},uint32array(o){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},int32array(o){return r("int32array:"),this.dispatch(Array.prototype.slice.call(o))},float32array(o){return r("float32array:"),this.dispatch(Array.prototype.slice.call(o))},float64array(o){return r("float64array:"),this.dispatch(Array.prototype.slice.call(o))},arraybuffer(o){return r("arraybuffer:"),this.dispatch(new Uint8Array(o))},url(o){return r("url:"+o.toString())},map(o){r("map:");const s=[...o];return this.array(s,e.unorderedSets!==!1)},set(o){r("set:");const s=[...o];return this.array(s,e.unorderedSets!==!1)},file(o){return r("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported
19
- Use "options.replacer" or "options.ignoreUnknown"
20
- `)},domwindow(){return r("domwindow")},bigint(o){return r("bigint:"+o.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const v0="[native code] }",pT=v0.length;function nh(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-pT)===v0}class ir{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||mT).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new ir([...this.words])}}const mT={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},gT={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const o=e.words[r>>>2]>>>24-r%4*8&255,s=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=o<<16|s<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(a>>>6*(3-l)&63))}return n.join("")}},_T={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new ir(n,t)}},vT={parse(e){return _T.parse(unescape(encodeURIComponent(e)))}};class yT{constructor(){this._data=new ir,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new ir,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=vT.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const o=r*this.blockSize,s=Math.min(o*4,this._data.sigBytes);if(o){for(let i=0;i<o;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,o),this._data.sigBytes-=s}return new ir(n,s)}}class bT extends yT{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const rh=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],wT=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Tr=[];class ET extends bT{constructor(){super(...arguments),this._hash=new ir([...rh])}reset(){super.reset(),this._hash=new ir([...rh])}_doProcessBlock(t,n){const r=this._hash.words;let o=r[0],s=r[1],i=r[2],a=r[3],l=r[4],c=r[5],f=r[6],u=r[7];for(let d=0;d<64;d++){if(d<16)Tr[d]=t[n+d]|0;else{const g=Tr[d-15],y=(g<<25|g>>>7)^(g<<14|g>>>18)^g>>>3,w=Tr[d-2],C=(w<<15|w>>>17)^(w<<13|w>>>19)^w>>>10;Tr[d]=y+Tr[d-7]+C+Tr[d-16]}const h=l&c^~l&f,p=o&s^o&i^s&i,m=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),_=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),b=u+_+h+wT[d]+Tr[d],v=m+p;u=f,f=c,c=l,l=a+b|0,a=i,i=s,s=o,o=b+v|0}r[0]=r[0]+o|0,r[1]=r[1]+s|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+f|0,r[7]=r[7]+u|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function ST(e){return new ET().finalize(e).toString(gT)}function TT(e,t={}){const n=typeof e=="string"?e:Bc(e,t);return ST(n).slice(0,10)}function hV(e,t,n={}){return e===t||Bc(e,n)===Bc(t,n)}function CT(e,t){return{ctx:{table:e},matchAll:n=>b0(n,e)}}function y0(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,y0(o)])):new Map(Object.entries(e[n]));return t}function xT(e){return CT(y0(e))}function b0(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[s,i]of oh(t.wildcard))(e===s||e.startsWith(s+"/"))&&r.push(i);for(const[s,i]of oh(t.dynamic))if(e.startsWith(s+"/")){const a="/"+e.slice(s.length).split("/").splice(2).join("/");r.push(...b0(a,i))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function oh(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Ul(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 Vc(e,t,n=".",r){if(!Ul(t))return Vc(e,{},n,r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:Ul(i)&&Ul(o[s])?o[s]=Vc(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function AT(e){return(...t)=>t.reduce((n,r)=>Vc(n,r,"",e),{})}const w0=AT();function RT(e,t){try{return t in e}catch{return!1}}var OT=Object.defineProperty,PT=(e,t,n)=>t in e?OT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pr=(e,t,n)=>(PT(e,typeof t!="symbol"?t+"":t,n),n);class Uc extends Error{constructor(t,n={}){super(t,n),Pr(this,"statusCode",500),Pr(this,"fatal",!1),Pr(this,"unhandled",!1),Pr(this,"statusMessage"),Pr(this,"data"),Pr(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:jc(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=E0(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Pr(Uc,"__h3_error__",!0);function Hc(e){if(typeof e=="string")return new Uc(e);if(kT(e))return e;const t=new Uc(e.message??e.statusMessage??"",{cause:e.cause||e});if(RT(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=jc(e.statusCode,t.statusCode):e.status&&(t.statusCode=jc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;E0(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 kT(e){return e?.constructor?.__h3_error__===!0}const IT=/[^\u0009\u0020-\u007E]/g;function E0(e=""){return e.replace(IT,"")}function jc(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const S0=Symbol("layout-meta"),Js=Symbol("route"),et=()=>Le()?.$router,Uo=()=>v_()?vt(Js,Le()._route):Le()._route;const NT=()=>{try{if(Le()._processingMiddleware)return!0}catch{return!1}return!1},zc=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Gc(e):et().resolve(e).href;if(t?.open){const{target:l="_blank",windowFeatures:c={}}=t.open,f=Object.entries(c).filter(([u,d])=>d!==void 0).map(([u,d])=>`${u.toLowerCase()}=${d}`).join(", ");return open(n,l,f),Promise.resolve()}const r=Vn(n,{acceptRelative:!0}),o=t?.external||r;if(o){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&wS(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const s=NT();if(!o&&s)return e;const i=et(),a=Le();return o?(a._scope.stop(),t?.replace?location.replace(n):location.href=n,s?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?i.replace(e):i.push(e)};function Gc(e){return l0(e.path||"",e.query||{})+(e.hash||"")}const T0="__nuxt_error",ol=()=>Ga(Le().payload,"error"),uo=e=>{const t=Qs(e);try{const n=Le(),r=ol();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},$T=async(e={})=>{const t=Le(),n=ol();t.callHook("app:error:cleared",e),e.redirect&&await et().replace(e.redirect),n.value=oT},LT=e=>!!e&&typeof e=="object"&&T0 in e,Qs=e=>{const t=Hc(e);return Object.defineProperty(t,T0,{value:!0,configurable:!1,writable:!1}),t},DT=-1,MT=-2,FT=-3,BT=-4,VT=-5,UT=-6;function HT(e,t){return jT(JSON.parse(e),t)}function jT(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(s,i=!1){if(s===DT)return;if(s===FT)return NaN;if(s===BT)return 1/0;if(s===VT)return-1/0;if(s===UT)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t?.[l];if(c)return r[s]=c(o(a[1]));switch(l){case"Date":r[s]=new Date(a[1]);break;case"Set":const f=new Set;r[s]=f;for(let h=1;h<a.length;h+=1)f.add(o(a[h]));break;case"Map":const u=new Map;r[s]=u;for(let h=1;h<a.length;h+=2)u.set(o(a[h]),o(a[h+1]));break;case"RegExp":r[s]=new RegExp(a[1],a[2]);break;case"Object":r[s]=Object(a[1]);break;case"BigInt":r[s]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[s]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=o(a[h+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[s]=l;for(let c=0;c<a.length;c+=1){const f=a[c];f!==MT&&(l[c]=o(f))}}else{const l={};r[s]=l;for(const c in a){const f=a[c];l[c]=o(f)}}return r[s]}return o(0)}const zT=new Set(["title","titleTemplate","script","style","noscript"]),Vi=new Set(["base","meta","link","style","script","noscript"]),GT=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),KT=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),C0=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),WT=typeof window<"u";function ha(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 sh(e){if(e._h)return e._h;if(e._d)return ha(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${e.props[n]},`;return ha(t)}const qT=["name","property","http-equiv"];function x0(e){const{props:t,tag:n}=e;if(KT.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const r of qT)if(t[r]!==void 0)return`${n}:${r}:${t[r]}`;return!1}function ih(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function XT(e,t){return e instanceof Promise?e.then(t):t(e)}function Kc(e,t,n,r){const o=r||R0(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(o instanceof Promise)return o.then(i=>Kc(e,t,n,i));const s={tag:e,props:o};for(const i of C0){const a=s.props[i]!==void 0?s.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||zT.has(s.tag))&&(s[i==="children"?"innerHTML":i]=a),delete s.props[i])}return s.props.body&&(s.tagPosition="bodyClose",delete s.props.body),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(i=>({...s,props:{...s.props,content:i}})):s}function YT(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)),String(Array.isArray(t)?t.join(n):t)?.split(n).filter(r=>!!r.trim()).join(n)}function A0(e,t,n,r){for(let o=r;o<n.length;o+=1){const s=n[o];if(s==="class"||s==="style"){e[s]=YT(s,e[s]);continue}if(e[s]instanceof Promise)return e[s].then(i=>(e[s]=i,A0(e,t,n,o)));if(!t&&!C0.has(s)){const i=String(e[s]),a=s.startsWith("data-");i==="true"||i===""?e[s]=a?"true":!0:e[s]||(a&&i==="false"?e[s]="false":delete e[s])}}}function R0(e,t=!1){const n=A0(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const ZT=10;function O0(e,t,n){for(let r=n;r<t.length;r+=1){const o=t[r];if(o instanceof Promise)return o.then(s=>(t[r]=s,O0(e,t,r)));Array.isArray(o)?e.push(...o):e.push(o)}}function JT(e){const t=[],n=e.resolvedInput;for(const o in n){if(!Object.prototype.hasOwnProperty.call(n,o))continue;const s=n[o];if(!(s===void 0||!GT.has(o))){if(Array.isArray(s)){for(const i of s)t.push(Kc(o,i,e));continue}t.push(Kc(o,s,e))}}if(t.length===0)return[];const r=[];return XT(O0(r,t,0),()=>r.map((o,s)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<<ZT)+s,o)))}const ah={base:-10,title:10},lh={critical:-80,high:-10,low:20};function pa(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in ah&&(n=ah[e.tag]),t&&t in lh?n+lh[t]:n}const QT=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],ch=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),Yn="%separator";function eC(e,t){let n;if(t==="s"||t==="pageTitle")n=e.pageTitle;else if(t.includes(".")){const r=t.indexOf(".");n=e[t.substring(0,r)]?.[t.substring(r+1)]}else n=e[t];return n!==void 0?(n||"").replace(/"/g,'\\"'):void 0}const tC=new RegExp(`${Yn}(?:\\s*${Yn})*`,"g");function Hl(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;let r=e;try{r=decodeURI(e)}catch{}const o=r.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const s=e.includes(Yn);return e=e.replace(/%\w+(?:\.\w+)?/g,i=>{if(i===Yn||!o.includes(i))return i;const a=eC(t,i.slice(1));return a!==void 0?a:i}).trim(),s&&(e.endsWith(Yn)&&(e=e.slice(0,-Yn.length)),e.startsWith(Yn)&&(e=e.slice(Yn.length)),e=e.replace(tC,n).trim()),e}async function P0(e,t={}){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:Vi.has(f.tag)?sh(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const f=new Set;for(const u of["body","head"]){const d=n[u]?.children;for(const h of d){const p=h.tagName.toLowerCase();if(!Vi.has(p))continue;const m={tag:p,props:await R0(h.getAttributeNames().reduce((g,y)=>({...g,[y]:h.getAttribute(y)}),{})),innerHTML:h.innerHTML},_=x0(m);let b=_,v=1;for(;b&&f.has(b);)b=`${_}:${v++}`;b&&(m._d=b,f.add(b)),s.elMap[h.getAttribute("data-hid")||sh(m)]=h}}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};function i(f,u,d){const h=`${f}:${u}`;s.sideEffects[h]=d,delete s.pendingSideEffects[h]}function a({id:f,$el:u,tag:d}){const h=d.tag.endsWith("Attrs");if(s.elMap[f]=u,h||(d.textContent&&d.textContent!==u.textContent&&(u.textContent=d.textContent),d.innerHTML&&d.innerHTML!==u.innerHTML&&(u.innerHTML=d.innerHTML),i(f,"el",()=>{s.elMap[f]?.remove(),delete s.elMap[f]})),d._eventHandlers)for(const p in d._eventHandlers)Object.prototype.hasOwnProperty.call(d._eventHandlers,p)&&u.getAttribute(`data-${p}`)!==""&&((d.tag==="bodyAttrs"?n.defaultView:u).addEventListener(p.substring(2),d._eventHandlers[p].bind(u)),u.setAttribute(`data-${p}`,""));for(const p in d.props){if(!Object.prototype.hasOwnProperty.call(d.props,p))continue;const m=d.props[p],_=`attr:${p}`;if(p==="class"){if(!m)continue;for(const b of m.split(" "))h&&i(f,`${_}:${b}`,()=>u.classList.remove(b)),!u.classList.contains(b)&&u.classList.add(b)}else if(p==="style"){if(!m)continue;for(const b of m.split(";")){const v=b.indexOf(":"),g=b.substring(0,v).trim(),y=b.substring(v+1).trim();i(f,`${_}:${g}`,()=>{u.style.removeProperty(g)}),u.style.setProperty(g,y)}}else u.getAttribute(p)!==m&&u.setAttribute(p,m===!0?"":String(m)),h&&i(f,_,()=>u.removeAttribute(p))}}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:u,shouldRender:d,id:h}=f;if(d){if(u.tag==="title"){n.title=u.textContent;continue}f.$el=f.$el||s.elMap[h],f.$el?a(f):Vi.has(u.tag)&&l.push(f)}}for(const f of l){const u=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),c[u]=c[u]||n.createDocumentFragment(),c[u].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose);for(const f in s.pendingSideEffects)s.pendingSideEffects[f]();e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}function nC(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(()=>P0(e,t).then(()=>{delete e._domUpdatePromise,r()})))}function rC(e){return t=>{const n=t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":r=>{nC(r,e)}}}}}const oC=new Set(["templateParams","htmlAttrs","bodyAttrs"]),sC={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const n=x0(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const r of e.tags){const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let a=r?.tagDuplicateStrategy;if(!a&&oC.has(r.tag)&&(a="merge"),a==="merge"){const l=s.props;l.style&&r.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),r.props.style=`${l.style} ${r.props.style}`),l.class&&r.props.class?r.props.class=`${l.class} ${r.props.class}`:l.class&&(r.props.class=l.class),t[o].props={...l,...r.props};continue}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);continue}else if(pa(r)>pa(s))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&Vi.has(r.tag)){delete t[o];continue}t[o]=r}const n=[];for(const r in t){const o=t[r],s=o._duped;n.push(o),s&&(delete o._duped,n.push(...s))}e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},iC={mode:"server",hooks:{"tags:resolve":e=>{const t={};let n=!1;for(const r of e.tags)r._m!=="server"||r.tag!=="titleTemplate"&&r.tag!=="templateParams"&&r.tag!=="title"||(t[r.tag]=r.tag==="title"||r.tag==="titleTemplate"?r.textContent:r.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},aC=new Set(["script","link","bodyAttrs"]),lC=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!aC.has(n.tag))continue;const r=n.props;for(const o in r){if(o[0]!=="o"||o[1]!=="n"||!Object.prototype.hasOwnProperty.call(r,o))continue;const s=r[o];typeof s=="function"&&(e.ssr&&ch.has(o)?r[o]=`this.dataset.${o}fired = true`:delete r[o],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[o]=s)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||ha(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{const r=t?.dataset;if(r)for(const o in r){if(!o.endsWith("fired"))continue;const s=o.slice(0,-5);ch.has(s)&&n._eventHandlers?.[s]?.call(t,new Event(s.substring(2)))}}}}),cC=new Set(["link","style","script","noscript"]),uC={hooks:{"tag:normalise":({tag:e})=>{e.key&&cC.has(e.tag)&&(e.props["data-hid"]=e._h=ha(e.key))}}},fC={hooks:{"tags:resolve":e=>{for(const t of e.tags)if(typeof t.tagPriority=="string")for(const{prefix:n,offset:r}of QT){if(!t.tagPriority.startsWith(n))continue;const o=t.tagPriority.substring(n.length),s=e.tags.find(i=>i._d===o)?._p;if(s!==void 0){t._p=s+r;break}}e.tags.sort((t,n)=>{const r=pa(t),o=pa(n);return r<o?-1:r>o?1:t._p-n._p})}}},dC={meta:"content",link:"href",htmlAttrs:"lang"},hC=["innerHTML","textContent"],pC=e=>({hooks:{"tags:resolve":t=>{const{tags:n}=t;let r;for(let i=0;i<n.length;i+=1)n[i].tag==="templateParams"&&(r=t.tags.splice(i,1)[0].props,i-=1);const o=r||{},s=o.separator||"|";delete o.separator,o.pageTitle=Hl(o.pageTitle||n.find(i=>i.tag==="title")?.textContent||"",o,s);for(const i of n){if(i.processTemplateParams===!1)continue;const a=dC[i.tag];if(a&&typeof i.props[a]=="string")i.props[a]=Hl(i.props[a],o,s);else if(i.processTemplateParams||i.tag==="titleTemplate"||i.tag==="title")for(const l of hC)typeof i[l]=="string"&&(i[l]=Hl(i[l],o,s))}e._templateParams=o,e._separator=s}}}),mC={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,r;for(let o=0;o<t.length;o+=1){const s=t[o];s.tag==="title"?n=s:s.tag==="titleTemplate"&&(r=s)}if(r&&n){const o=ih(r.textContent,n.textContent);o!==null?n.textContent=o||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(r){const o=ih(r.textContent);o!==null&&(r.textContent=o,r.tag="title",r=void 0)}r&&e.tags.splice(e.tags.indexOf(r),1)}}},gC={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let k0;function _C(e={}){const t=vC(e);return t.use(rC()),k0=t}function uh(e,t){return!e||e==="server"&&t||e==="client"&&!t}function vC(e={}){const t=rl();t.addHooks(e.hooks||{}),e.document=e.document||(WT?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,s=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!i.some(f=>f.key===c.key))&&(i.push(c),uh(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){delete c?.head;const f={_i:o++,input:l,...c};return uh(f.mode,n)&&(s.push(f),r()),{dispose(){s=s.filter(u=>u._i!==f._i),t.callHook("entries:updated",a),r()},patch(u){for(const d of s)d._i===f._i&&(d.input=f.input=u);r()}}},async resolveTags(){const l={tags:[],entries:[...s]};await t.callHook("entries:resolve",l);for(const c of l.entries){const f=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(f):f),c.resolvedInput)for(const u of await JT(c)){const d={tag:u,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[sC,iC,lC,uC,fC,pC,mC,gC,...e?.plugins||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function yC(){return k0}const bC=K_[0]==="3";function wC(e){return typeof e=="function"?e():V(e)}function ma(e){if(e instanceof Promise)return e;const t=wC(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>ma(n));if(typeof t=="object"){const n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(r==="titleTemplate"||r[0]==="o"&&r[1]==="n"){n[r]=V(t[r]);continue}n[r]=ma(t[r])}return n}return t}const EC={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=ma(t.input)}}},I0="usehead";function SC(e){return{install(n){bC&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(I0,e))}}.install}function TC(e={}){e.domDelayFn=e.domDelayFn||(n=>Tt(()=>setTimeout(()=>n(),0)));const t=_C(e);return t.use(EC),t.install=SC(t),t}const Wc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qc="__unhead_injection_handler__";function CC(e){Wc[qc]=e}function xC(){if(qc in Wc)return Wc[qc]();const e=vt(I0);return e||yC()}function AC(e,t={}){const n=t.head||xC();if(n)return n.ssr?n.push(e,t):RC(n,e,t)}function RC(e,t,n={}){const r=z(!1),o=z({});Wr(()=>{o.value=r.value?{}:ma(t)});const s=e.push(o.value,n);return Fe(o,a=>{s.patch(a)}),qt()&&(Xs(()=>{s.dispose()}),c_(()=>{r.value=!0}),l_(()=>{r.value=!1})),s}let Ui,Hi;function OC(){return Ui=$fetch(uf(`builds/meta/${Zs().app.buildId}.json`),{responseType:"json"}),Ui.then(e=>{Hi=xT(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ui}function sl(){return Ui||OC()}async function ff(e){if(await sl(),!Hi)return console.error("[nuxt] Error creating app manifest matcher.",Hi),{};try{return w0({},...Hi.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function fh(e,t={}){const n=await kC(e,t),r=Le(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=$0(e).then(s=>s?N0(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const PC="_payload.json";async function kC(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Vn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Zs(),o=t.hash||(t.fresh?Date.now():r.app.buildId),s=r.app.cdnURL,i=s&&await $0(e)?s:r.app.baseURL;return nl(i,n.pathname,PC+(o?`?${o}`:""))}async function N0(e){const t=fetch(e).then(n=>n.text().then(L0));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function $0(e=Uo().path){if(e=tl(e),(await sl()).prerendered.includes(e))return!0;const n=await ff(e);return!!n.prerender&&!n.redirect}let Cr=null;async function IC(){if(Cr)return Cr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await L0(e.textContent||""),n=e.dataset.src?await N0(e.dataset.src):void 0;return Cr={...t,...n,...window.__NUXT__},Cr.config?.public&&(Cr.config.public=Ft(Cr.config.public)),Cr}async function L0(e){return await HT(e,Le()._payloadRevivers)}function NC(e,t){Le()._payloadRevivers[e]=t}const dh={NuxtError:e=>Qs(e),EmptyShallowRef:e=>Bt(e==="_"?void 0:e==="0n"?BigInt(0):la(e)),EmptyRef:e=>z(e==="_"?void 0:e==="0n"?BigInt(0):la(e)),ShallowRef:e=>Bt(e),ShallowReactive:e=>pn(e),Ref:e=>z(e),Reactive:e=>Ft(e)},$C=Vt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in dh)NC(r,dh[r]);Object.assign(e.payload,([t,n]=wo(()=>e.runWithContext(IC)),t=await t,n(),t)),window.__NUXT__=e.payload}}),LC=[],DC=Vt({name:"nuxt:head",enforce:"pre",setup(e){const t=TC({plugins:LC});CC(()=>Le().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await P0(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)}}});/*!
21
- * vue-router v4.4.3
22
- * (c) 2024 Eduardo San Martin Morote
23
- * @license MIT
24
- */const ao=typeof document<"u";function MC(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ue=Object.assign;function jl(e,t){const n={};for(const r in t){const o=t[r];n[r]=tn(o)?o.map(e):e(o)}return n}const hs=()=>{},tn=Array.isArray,D0=/#/g,FC=/&/g,BC=/\//g,VC=/=/g,UC=/\?/g,M0=/\+/g,HC=/%5B/g,jC=/%5D/g,F0=/%5E/g,zC=/%60/g,B0=/%7B/g,GC=/%7C/g,V0=/%7D/g,KC=/%20/g;function df(e){return encodeURI(""+e).replace(GC,"|").replace(HC,"[").replace(jC,"]")}function WC(e){return df(e).replace(B0,"{").replace(V0,"}").replace(F0,"^")}function Xc(e){return df(e).replace(M0,"%2B").replace(KC,"+").replace(D0,"%23").replace(FC,"%26").replace(zC,"`").replace(B0,"{").replace(V0,"}").replace(F0,"^")}function qC(e){return Xc(e).replace(VC,"%3D")}function XC(e){return df(e).replace(D0,"%23").replace(UC,"%3F")}function YC(e){return e==null?"":XC(e).replace(BC,"%2F")}function Ps(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ZC=/\/$/,JC=e=>e.replace(ZC,"");function zl(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=nx(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:Ps(i)}}function QC(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function hh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ex(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ko(t.matched[r],n.matched[o])&&U0(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ko(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function U0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!tx(e[n],t[n]))return!1;return!0}function tx(e,t){return tn(e)?ph(e,t):tn(t)?ph(t,e):e===t}function ph(e,t){return tn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function nx(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Yt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ks;(function(e){e.pop="pop",e.push="push"})(ks||(ks={}));var ps;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ps||(ps={}));function rx(e){if(!e)if(ao){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),JC(e)}const ox=/^[^#]+#/;function sx(e,t){return e.replace(ox,"#")+t}function ix(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const il=()=>({left:window.scrollX,top:window.scrollY});function ax(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=ix(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function mh(e,t){return(history.state?history.state.position-t:-1)+e}const Yc=new Map;function lx(e,t){Yc.set(e,t)}function cx(e){const t=Yc.get(e);return Yc.delete(e),t}let ux=()=>location.protocol+"//"+location.host;function H0(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),hh(l,"")}return hh(n,e)+r+o}function fx(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const h=H0(e,location),p=n.value,m=t.value;let _=0;if(d){if(n.value=h,t.value=d,i&&i===p){i=null;return}_=m?d.position-m.position:0}else r(h);o.forEach(b=>{b(n.value,p,{delta:_,type:ks.pop,direction:_?_>0?ps.forward:ps.back:ps.unknown})})};function l(){i=n.value}function c(d){o.push(d);const h=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return s.push(h),h}function f(){const{history:d}=window;d.state&&d.replaceState(Ue({},d.state,{scroll:il()}),"")}function u(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:l,listen:c,destroy:u}}function gh(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?il():null}}function dx(e){const{history:t,location:n}=window,r={value:H0(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,f){const u=e.indexOf("#"),d=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+l:ux()+e+l;try{t[f?"replaceState":"pushState"](c,"",d),o.value=c}catch(h){console.error(h),n[f?"replace":"assign"](d)}}function i(l,c){const f=Ue({},t.state,gh(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});s(l,f,!0),r.value=l}function a(l,c){const f=Ue({},o.value,t.state,{forward:l,scroll:il()});s(f.current,f,!0);const u=Ue({},gh(r.value,l,null),{position:f.position+1},c);s(l,u,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function j0(e){e=rx(e);const t=dx(e),n=fx(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=Ue({location:"",base:e,go:r,createHref:sx.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function hx(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),j0(e)}function px(e){return typeof e=="string"||e&&typeof e=="object"}function z0(e){return typeof e=="string"||typeof e=="symbol"}const G0=Symbol("");var _h;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(_h||(_h={}));function Io(e,t){return Ue(new Error,{type:e,[G0]:!0},t)}function Cn(e,t){return e instanceof Error&&G0 in e&&(t==null||!!(e.type&t))}const vh="[^/]+?",mx={sensitive:!1,strict:!1,start:!0,end:!0},gx=/[.+*?^${}()[\]/\\]/g;function _x(e,t){const n=Ue({},mx,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const f=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let u=0;u<c.length;u++){const d=c[u];let h=40+(n.sensitive?.25:0);if(d.type===0)u||(o+="/"),o+=d.value.replace(gx,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:m,optional:_,regexp:b}=d;s.push({name:p,repeatable:m,optional:_});const v=b||vh;if(v!==vh){h+=10;try{new RegExp(`(${v})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${v}): `+y.message)}}let g=m?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;u||(g=_&&c.length<2?`(?:/${g})`:"/"+g),_&&(g+="?"),o+=g,h+=20,_&&(h+=-8),m&&(h+=-20),v===".*"&&(h+=-50)}f.push(h)}r.push(f)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(c){const f=c.match(i),u={};if(!f)return null;for(let d=1;d<f.length;d++){const h=f[d]||"",p=s[d-1];u[p.name]=h&&p.repeatable?h.split("/"):h}return u}function l(c){let f="",u=!1;for(const d of e){(!u||!f.endsWith("/"))&&(f+="/"),u=!1;for(const h of d)if(h.type===0)f+=h.value;else if(h.type===1){const{value:p,repeatable:m,optional:_}=h,b=p in c?c[p]:"";if(tn(b)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const v=tn(b)?b.join("/"):b;if(!v)if(_)d.length<2&&(f.endsWith("/")?f=f.slice(0,-1):u=!0);else throw new Error(`Missing required param "${p}"`);f+=v}}return f||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function vx(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function K0(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=vx(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(yh(r))return 1;if(yh(o))return-1}return o.length-r.length}function yh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const yx={type:0,value:""},bx=/[a-zA-Z0-9_]/;function wx(e){if(!e)return[[]];if(e==="/")return[[yx]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",f="";function u(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:f,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&u(),i()):l===":"?(u(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:bx.test(l)?d():(u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+l:n=3:f+=l;break;case 3:u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),u(),i(),o}function Ex(e,t,n){const r=_x(wx(e.path),n),o=Ue(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Sx(e,t){const n=[],r=new Map;t=Eh({strict:!1,end:!0,sensitive:!1},t);function o(u){return r.get(u)}function s(u,d,h){const p=!h,m=Tx(u);m.aliasOf=h&&h.record;const _=Eh(t,u),b=[m];if("alias"in u){const y=typeof u.alias=="string"?[u.alias]:u.alias;for(const w of y)b.push(Ue({},m,{components:h?h.record.components:m.components,path:w,aliasOf:h?h.record:m}))}let v,g;for(const y of b){const{path:w}=y;if(d&&w[0]!=="/"){const C=d.record.path,k=C[C.length-1]==="/"?"":"/";y.path=d.record.path+(w&&k+w)}if(v=Ex(y,d,_),h?h.alias.push(v):(g=g||v,g!==v&&g.alias.push(v),p&&u.name&&!wh(v)&&i(u.name)),W0(v)&&l(v),m.children){const C=m.children;for(let k=0;k<C.length;k++)s(C[k],v,h&&h.children[k])}h=h||v}return g?()=>{i(g)}:hs}function i(u){if(z0(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){const d=Ax(u,n);n.splice(d,0,u),u.record.name&&!wh(u)&&r.set(u.record.name,u)}function c(u,d){let h,p={},m,_;if("name"in u&&u.name){if(h=r.get(u.name),!h)throw Io(1,{location:u});_=h.record.name,p=Ue(bh(d.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&bh(u.params,h.keys.map(g=>g.name))),m=h.stringify(p)}else if(u.path!=null)m=u.path,h=n.find(g=>g.re.test(m)),h&&(p=h.parse(m),_=h.record.name);else{if(h=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!h)throw Io(1,{location:u,currentLocation:d});_=h.record.name,p=Ue({},d.params,u.params),m=h.stringify(p)}const b=[];let v=h;for(;v;)b.unshift(v.record),v=v.parent;return{name:_,path:m,params:p,matched:b,meta:xx(b)}}e.forEach(u=>s(u));function f(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:i,clearRoutes:f,getRoutes:a,getRecordMatcher:o}}function bh(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Tx(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Cx(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Cx(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function wh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function xx(e){return e.reduce((t,n)=>Ue(t,n.meta),{})}function Eh(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ax(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;K0(e,t[s])<0?r=s:n=s+1}const o=Rx(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Rx(e){let t=e;for(;t=t.parent;)if(W0(t)&&K0(e,t)===0)return t}function W0({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ox(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(M0," "),i=s.indexOf("="),a=Ps(i<0?s:s.slice(0,i)),l=i<0?null:Ps(s.slice(i+1));if(a in t){let c=t[a];tn(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Sh(e){let t="";for(let n in e){const r=e[n];if(n=qC(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(tn(r)?r.map(s=>s&&Xc(s)):[r&&Xc(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Px(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=tn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const kx=Symbol(""),Th=Symbol(""),hf=Symbol(""),pf=Symbol(""),Zc=Symbol("");function Qo(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Zn(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(Io(4,{from:n,to:t})):d instanceof Error?l(d):px(d)?l(Io(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},f=s(()=>e.call(r&&r.instances[o],t,n,c));let u=Promise.resolve(f);e.length<3&&(u=u.then(c)),u.catch(d=>l(d))})}function Gl(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Ix(l)){const f=(l.__vccOpts||l)[t];f&&s.push(Zn(f,n,r,i,a,o))}else{let c=l();s.push(()=>c.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const u=MC(f)?f.default:f;i.components[a]=u;const h=(u.__vccOpts||u)[t];return h&&Zn(h,n,r,i,a,o)()}))}}return s}function Ix(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ch(e){const t=vt(hf),n=vt(pf),r=le(()=>{const l=V(e.to);return t.resolve(l)}),o=le(()=>{const{matched:l}=r.value,{length:c}=l,f=l[c-1],u=n.matched;if(!f||!u.length)return-1;const d=u.findIndex(ko.bind(null,f));if(d>-1)return d;const h=xh(l[c-2]);return c>1&&xh(f)===h&&u[u.length-1].path!==h?u.findIndex(ko.bind(null,l[c-2])):d}),s=le(()=>o.value>-1&&Dx(n.params,r.value.params)),i=le(()=>o.value>-1&&o.value===n.matched.length-1&&U0(n.params,r.value.params));function a(l={}){return Lx(l)?t[V(e.replace)?"replace":"push"](V(e.to)).catch(hs):Promise.resolve()}return{route:r,href:le(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const Nx=Re({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ch,setup(e,{slots:t}){const n=Ft(Ch(e)),{options:r}=vt(hf),o=le(()=>({[Ah(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ah(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Qe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),$x=Nx;function Lx(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Dx(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!tn(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function xh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ah=(e,t,n)=>e??t??n,Mx=Re({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=vt(Zc),o=le(()=>e.route||r.value),s=vt(Th,0),i=le(()=>{let c=V(s);const{matched:f}=o.value;let u;for(;(u=f[c])&&!u.components;)c++;return c}),a=le(()=>o.value.matched[i.value]);sr(Th,le(()=>i.value+1)),sr(kx,a),sr(Zc,o);const l=z();return Fe(()=>[l.value,a.value,e.name],([c,f,u],[d,h,p])=>{f&&(f.instances[u]=c,h&&h!==f&&c&&c===d&&(f.leaveGuards.size||(f.leaveGuards=h.leaveGuards),f.updateGuards.size||(f.updateGuards=h.updateGuards))),c&&f&&(!h||!ko(f,h)||!d)&&(f.enterCallbacks[u]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=o.value,f=e.name,u=a.value,d=u&&u.components[f];if(!d)return Rh(n.default,{Component:d,route:c});const h=u.props[f],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,_=Qe(d,Ue({},p,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(u.instances[f]=null)},ref:l}));return Rh(n.default,{Component:_,route:c})||_}}});function Rh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const q0=Mx;function Fx(e){const t=Sx(e.routes,e),n=e.parseQuery||Ox,r=e.stringifyQuery||Sh,o=e.history,s=Qo(),i=Qo(),a=Qo(),l=Bt(Yt);let c=Yt;ao&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=jl.bind(null,B=>""+B),u=jl.bind(null,YC),d=jl.bind(null,Ps);function h(B,ce){let oe,ue;return z0(B)?(oe=t.getRecordMatcher(B),ue=ce):ue=B,t.addRoute(ue,oe)}function p(B){const ce=t.getRecordMatcher(B);ce&&t.removeRoute(ce)}function m(){return t.getRoutes().map(B=>B.record)}function _(B){return!!t.getRecordMatcher(B)}function b(B,ce){if(ce=Ue({},ce||l.value),typeof B=="string"){const S=zl(n,B,ce.path),N=t.resolve({path:S.path},ce),j=o.createHref(S.fullPath);return Ue(S,N,{params:d(N.params),hash:Ps(S.hash),redirectedFrom:void 0,href:j})}let oe;if(B.path!=null)oe=Ue({},B,{path:zl(n,B.path,ce.path).path});else{const S=Ue({},B.params);for(const N in S)S[N]==null&&delete S[N];oe=Ue({},B,{params:u(S)}),ce.params=u(ce.params)}const ue=t.resolve(oe,ce),Me=B.hash||"";ue.params=f(d(ue.params));const Be=QC(r,Ue({},B,{hash:WC(Me),path:ue.path})),E=o.createHref(Be);return Ue({fullPath:Be,hash:Me,query:r===Sh?Px(B.query):B.query||{}},ue,{redirectedFrom:void 0,href:E})}function v(B){return typeof B=="string"?zl(n,B,l.value.path):Ue({},B)}function g(B,ce){if(c!==B)return Io(8,{from:ce,to:B})}function y(B){return k(B)}function w(B){return y(Ue(v(B),{replace:!0}))}function C(B){const ce=B.matched[B.matched.length-1];if(ce&&ce.redirect){const{redirect:oe}=ce;let ue=typeof oe=="function"?oe(B):oe;return typeof ue=="string"&&(ue=ue.includes("?")||ue.includes("#")?ue=v(ue):{path:ue},ue.params={}),Ue({query:B.query,hash:B.hash,params:ue.path!=null?{}:B.params},ue)}}function k(B,ce){const oe=c=b(B),ue=l.value,Me=B.state,Be=B.force,E=B.replace===!0,S=C(oe);if(S)return k(Ue(v(S),{state:typeof S=="object"?Ue({},Me,S.state):Me,force:Be,replace:E}),ce||oe);const N=oe;N.redirectedFrom=ce;let j;return!Be&&ex(r,ue,oe)&&(j=Io(16,{to:N,from:ue}),he(ue,ue,!0,!1)),(j?Promise.resolve(j):R(N,ue)).catch(F=>Cn(F)?Cn(F,2)?F:ne(F):D(F,N,ue)).then(F=>{if(F){if(Cn(F,2))return k(Ue({replace:E},v(F.to),{state:typeof F.to=="object"?Ue({},Me,F.to.state):Me,force:Be}),ce||N)}else F=T(N,ue,!0,E,Me);return $(N,ue,F),F})}function M(B,ce){const oe=g(B,ce);return oe?Promise.reject(oe):Promise.resolve()}function L(B){const ce=De.values().next().value;return ce&&typeof ce.runWithContext=="function"?ce.runWithContext(B):B()}function R(B,ce){let oe;const[ue,Me,Be]=Bx(B,ce);oe=Gl(ue.reverse(),"beforeRouteLeave",B,ce);for(const S of ue)S.leaveGuards.forEach(N=>{oe.push(Zn(N,B,ce))});const E=M.bind(null,B,ce);return oe.push(E),We(oe).then(()=>{oe=[];for(const S of s.list())oe.push(Zn(S,B,ce));return oe.push(E),We(oe)}).then(()=>{oe=Gl(Me,"beforeRouteUpdate",B,ce);for(const S of Me)S.updateGuards.forEach(N=>{oe.push(Zn(N,B,ce))});return oe.push(E),We(oe)}).then(()=>{oe=[];for(const S of Be)if(S.beforeEnter)if(tn(S.beforeEnter))for(const N of S.beforeEnter)oe.push(Zn(N,B,ce));else oe.push(Zn(S.beforeEnter,B,ce));return oe.push(E),We(oe)}).then(()=>(B.matched.forEach(S=>S.enterCallbacks={}),oe=Gl(Be,"beforeRouteEnter",B,ce,L),oe.push(E),We(oe))).then(()=>{oe=[];for(const S of i.list())oe.push(Zn(S,B,ce));return oe.push(E),We(oe)}).catch(S=>Cn(S,8)?S:Promise.reject(S))}function $(B,ce,oe){a.list().forEach(ue=>L(()=>ue(B,ce,oe)))}function T(B,ce,oe,ue,Me){const Be=g(B,ce);if(Be)return Be;const E=ce===Yt,S=ao?history.state:{};oe&&(ue||E?o.replace(B.fullPath,Ue({scroll:E&&S&&S.scroll},Me)):o.push(B.fullPath,Me)),l.value=B,he(B,ce,oe,E),ne()}let x;function A(){x||(x=o.listen((B,ce,oe)=>{if(!Oe.listening)return;const ue=b(B),Me=C(ue);if(Me){k(Ue(Me,{replace:!0}),ue).catch(hs);return}c=ue;const Be=l.value;ao&&lx(mh(Be.fullPath,oe.delta),il()),R(ue,Be).catch(E=>Cn(E,12)?E:Cn(E,2)?(k(E.to,ue).then(S=>{Cn(S,20)&&!oe.delta&&oe.type===ks.pop&&o.go(-1,!1)}).catch(hs),Promise.reject()):(oe.delta&&o.go(-oe.delta,!1),D(E,ue,Be))).then(E=>{E=E||T(ue,Be,!1),E&&(oe.delta&&!Cn(E,8)?o.go(-oe.delta,!1):oe.type===ks.pop&&Cn(E,20)&&o.go(-1,!1)),$(ue,Be,E)}).catch(hs)}))}let I=Qo(),O=Qo(),P;function D(B,ce,oe){ne(B);const ue=O.list();return ue.length?ue.forEach(Me=>Me(B,ce,oe)):console.error(B),Promise.reject(B)}function H(){return P&&l.value!==Yt?Promise.resolve():new Promise((B,ce)=>{I.add([B,ce])})}function ne(B){return P||(P=!B,A(),I.list().forEach(([ce,oe])=>B?oe(B):ce()),I.reset()),B}function he(B,ce,oe,ue){const{scrollBehavior:Me}=e;if(!ao||!Me)return Promise.resolve();const Be=!oe&&cx(mh(B.fullPath,0))||(ue||!oe)&&history.state&&history.state.scroll||null;return Tt().then(()=>Me(B,ce,Be)).then(E=>E&&ax(E)).catch(E=>D(E,B,ce))}const re=B=>o.go(B);let ve;const De=new Set,Oe={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:m,resolve:b,options:e,push:y,replace:w,go:re,back:()=>re(-1),forward:()=>re(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:O.add,isReady:H,install(B){const ce=this;B.component("RouterLink",$x),B.component("RouterView",q0),B.config.globalProperties.$router=ce,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>V(l)}),ao&&!ve&&l.value===Yt&&(ve=!0,y(o.location).catch(Me=>{}));const oe={};for(const Me in Yt)Object.defineProperty(oe,Me,{get:()=>l.value[Me],enumerable:!0});B.provide(hf,ce),B.provide(pf,pn(oe)),B.provide(Zc,l);const ue=B.unmount;De.add(B),B.unmount=function(){De.delete(B),De.size<1&&(c=Yt,x&&x(),x=null,l.value=Yt,ve=!1,P=!1),ue()}}};function We(B){return B.reduce((ce,oe)=>ce.then(()=>L(oe)),Promise.resolve())}return Oe}function Bx(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(c=>ko(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>ko(c,l))||o.push(l))}return[n,r,o]}function Vx(e){return vt(pf)}const Ux=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),Jc=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&Ux(e.route,n));return typeof r=="function"?r(e.route):r},Hx=(e,t)=>({default:()=>e?Qe(cw,e===!0?{}:e,t):t});function mf(e){return Array.isArray(e)?e:[e]}const jx="modulepreload",zx=function(e,t){return new URL(e,t).href},Oh={},Gx=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=i?.nonce||i?.getAttribute("nonce");o=Promise.all(n.map(l=>{if(l=zx(l,r),l in Oh)return;Oh[l]=!0;const c=l.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(!!r)for(let h=s.length-1;h>=0;h--){const p=s[h];if(p.href===l&&(!c||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${f}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":jx,c||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((h,p)=>{d.addEventListener("load",h),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},we=(...e)=>Gx(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Kx={layout:"none"},Wx={layout:"none"},Qc=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),qx=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),al=e=>{const t=Le();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Qc(()=>e())}):Qc(()=>e())},Xx=e=>e==="defer"||e===!1;function X0(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,o={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const s=Le(),i=r,a=()=>co.value,l=()=>s.isHydrating?s.payload.data[n]:s.static.data[n];o.server=o.server??!0,o.default=o.default??a,o.getCachedData=o.getCachedData??l,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??co.deep,o.dedupe=o.dedupe??"cancel";const c=o.getCachedData(n,s),f=c!=null;if(!s._asyncData[n]||!o.immediate){s.payload._errors[n]??=co.errorValue;const m=o.deep?z:Bt;s._asyncData[n]={data:m(f?c:o.default()),pending:z(!f),error:Ga(s.payload._errors,n),status:z("idle"),_default:o.default}}const u={...s._asyncData[n]};delete u._default,u.refresh=u.execute=(m={})=>{if(s._asyncDataPromises[n]){if(Xx(m.dedupe??o.dedupe))return s._asyncDataPromises[n];s._asyncDataPromises[n].cancelled=!0}if(m._initial||s.isHydrating&&m._initial!==!1){const b=m._initial?c:o.getCachedData(n,s);if(b!=null)return Promise.resolve(b)}u.pending.value=!0,u.status.value="pending";const _=new Promise((b,v)=>{try{b(i(s))}catch(g){v(g)}}).then(async b=>{if(_.cancelled)return s._asyncDataPromises[n];let v=b;o.transform&&(v=await o.transform(b)),o.pick&&(v=Zx(v,o.pick)),s.payload.data[n]=v,u.data.value=v,u.error.value=co.errorValue,u.status.value="success"}).catch(b=>{if(_.cancelled)return s._asyncDataPromises[n];u.error.value=Qs(b),u.data.value=V(o.default()),u.status.value="error"}).finally(()=>{_.cancelled||(u.pending.value=!1,delete s._asyncDataPromises[n])});return s._asyncDataPromises[n]=_,s._asyncDataPromises[n]},u.clear=()=>Yx(s,n);const d=()=>u.refresh({_initial:!0}),h=o.server!==!1&&s.payload.serverRendered;{const m=qt();if(m&&!m._nuxtOnBeforeMountCbs){m._nuxtOnBeforeMountCbs=[];const v=m._nuxtOnBeforeMountCbs;f_(()=>{v.forEach(g=>{g()}),v.splice(0,v.length)}),Xa(()=>v.splice(0,v.length))}h&&s.isHydrating&&(u.error.value||c!=null)?(u.pending.value=!1,u.status.value=u.error.value?"error":"success"):m&&(s.payload.serverRendered&&s.isHydrating||o.lazy)&&o.immediate?m._nuxtOnBeforeMountCbs.push(d):o.immediate&&d();const _=Ws();if(o.watch){const v=Fe(o.watch,()=>u.refresh());_&&Yi(v)}const b=s.hook("app:data:refresh",async v=>{(!v||v.includes(n))&&await u.refresh()});_&&Yi(b)}const p=Promise.resolve(s._asyncDataPromises[n]).then(()=>u);return Object.assign(p,u),p}function Yx(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=co.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=co.errorValue,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function Zx(e,t){const n={};for(const r of t)n[r]=e[r];return n}const Jx="$s";function ll(...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=Jx+n,s=Le(),i=Ga(s.payload.state,o);if(i.value===void 0&&r){const a=r();if(ze(a))return s.payload.state[o]=a,a;i.value=a}return i}function En(e){return Ws()?(Yi(e),!0):!1}function Qx(e,t){if(typeof Symbol<"u"){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let r=0;return{next:()=>({value:t[r++],done:r>t.length})}}}),n}else return Object.assign([...t],e)}function je(e){return typeof e=="function"?e():V(e)}function eA(e){if(!ze(e))return Ft(e);const t=new Proxy({},{get(n,r,o){return V(Reflect.get(e.value,r,o))},set(n,r,o){return ze(e.value[r])&&!ze(o)?e.value[r].value=o:e.value[r]=o,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Ft(t)}function pV(e){return eA(le(e))}const Xr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const tA=e=>typeof e<"u",Y0=e=>e!=null,nA=Object.prototype.toString,rA=e=>nA.call(e)==="[object Object]",ar=()=>{},oA=sA();function sA(){var e,t;return Xr&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Z0(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const J0=e=>e();function Q0(e,t={}){let n,r,o=ar;const s=a=>{clearTimeout(a),o(),o=ar};return a=>{const l=je(e),c=je(t.maxWait);return n&&s(n),l<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((f,u)=>{o=t.rejectOnCancel?u:f,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,f(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,f(a())},l)})}}function iA(e=J0){const t=z(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:eo(t),pause:n,resume:r,eventFilter:o}}function aA(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const lA=/-(\w)/g,cA=aA(e=>e.replace(lA,(t,n)=>n?n.toUpperCase():""));function Ph(e,t=!1,n="Timeout"){return new Promise((r,o)=>{setTimeout(t?()=>o(n):r,e)})}function uA(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function fA(e){return Object.entries(e)}function dA(e){return qt()}function hA(...e){if(e.length!==1)return Ga(...e);const t=e[0];return typeof t=="function"?eo(Xu(()=>({get:t,set:ar}))):z(t)}function pA(e,t=200,n={}){return Z0(Q0(t,n),e)}function mA(e,t=200,n={}){const r=z(e.value),o=pA(()=>{r.value=e.value},t,n);return Fe(e,()=>o()),r}function ev(e,t,n={}){const{eventFilter:r=J0,...o}=n;return Fe(e,Z0(r,t),o)}function gA(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:i,resume:a,isActive:l}=iA(r);return{stop:ev(e,t,{...o,eventFilter:s}),pause:i,resume:a,isActive:l}}function cl(e,t={}){if(!ze(e))return Yb(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=Xu(()=>({get(){return e.value[r]},set(o){var s;if((s=je(t.replaceRef))!=null?s:!0)if(Array.isArray(e.value)){const a=[...e.value];a[r]=o,e.value=a}else{const a={...e.value,[r]:o};Object.setPrototypeOf(a,Object.getPrototypeOf(e.value)),e.value=a}else e.value[r]=o}}));return n}function Ho(e,t=!0,n){dA()?Bn(e,n):t?e():Tt(e)}function eu(e,t=!1){function n(u,{flush:d="sync",deep:h=!1,timeout:p,throwOnTimeout:m}={}){let _=null;const v=[new Promise(g=>{_=Fe(e,y=>{u(y)!==t&&(_?_():Tt(()=>_?.()),g(y))},{flush:d,deep:h,immediate:!0})})];return p!=null&&v.push(Ph(p,m).then(()=>je(e)).finally(()=>_?.())),Promise.race(v)}function r(u,d){if(!ze(u))return n(y=>y===u,d);const{flush:h="sync",deep:p=!1,timeout:m,throwOnTimeout:_}=d??{};let b=null;const g=[new Promise(y=>{b=Fe([e,u],([w,C])=>{t!==(w===C)&&(b?b():Tt(()=>b?.()),y(w))},{flush:h,deep:p,immediate:!0})})];return m!=null&&g.push(Ph(m,_).then(()=>je(e)).finally(()=>(b?.(),je(e)))),Promise.race(g)}function o(u){return n(d=>!!d,u)}function s(u){return r(null,u)}function i(u){return r(void 0,u)}function a(u){return n(Number.isNaN,u)}function l(u,d){return n(h=>{const p=Array.from(h);return p.includes(u)||p.includes(je(u))},d)}function c(u){return f(1,u)}function f(u=1,d){let h=-1;return n(()=>(h+=1,h>=u),d)}return Array.isArray(je(e))?{toMatch:n,toContains:l,changed:c,changedTimes:f,get not(){return eu(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:o,toBeNull:s,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:f,get not(){return eu(e,!t)}}}function _A(e){return eu(e)}const vA=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,yA=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function bA(e,t,n,r){let o=e<12?"AM":"PM";return r&&(o=o.split("").reduce((s,i)=>s+=`${i}.`,"")),n?o.toLowerCase():o}function xr(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function wA(e,t,n={}){var r;const o=e.getFullYear(),s=e.getMonth(),i=e.getDate(),a=e.getHours(),l=e.getMinutes(),c=e.getSeconds(),f=e.getMilliseconds(),u=e.getDay(),d=(r=n.customMeridiem)!=null?r:bA,h={Yo:()=>xr(o),YY:()=>String(o).slice(-2),YYYY:()=>o,M:()=>s+1,Mo:()=>xr(s+1),MM:()=>`${s+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(je(n.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(je(n.locales),{month:"long"}),D:()=>String(i),Do:()=>xr(i),DD:()=>`${i}`.padStart(2,"0"),H:()=>String(a),Ho:()=>xr(a),HH:()=>`${a}`.padStart(2,"0"),h:()=>`${a%12||12}`.padStart(1,"0"),ho:()=>xr(a%12||12),hh:()=>`${a%12||12}`.padStart(2,"0"),m:()=>String(l),mo:()=>xr(l),mm:()=>`${l}`.padStart(2,"0"),s:()=>String(c),so:()=>xr(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${f}`.padStart(3,"0"),d:()=>u,dd:()=>e.toLocaleDateString(je(n.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(je(n.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(je(n.locales),{weekday:"long"}),A:()=>d(a,l),AA:()=>d(a,l,!1,!0),a:()=>d(a,l,!0),aa:()=>d(a,l,!0,!0)};return t.replace(yA,(p,m)=>{var _,b;return(b=m??((_=h[p])==null?void 0:_.call(h)))!=null?b:p})}function EA(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const t=e.match(vA);if(t){const n=t[2]-1||0,r=(t[7]||"0").substring(0,3);return new Date(t[1],n,t[3]||1,t[4]||0,t[5]||0,t[6]||0,r)}}return new Date(e)}function mV(e,t="HH:mm:ss",n={}){return le(()=>wA(EA(je(e)),je(t),n))}function SA(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n;let s=null;const i=z(!1);function a(){s&&(clearInterval(s),s=null)}function l(){i.value=!1,a()}function c(){const f=je(t);f<=0||(i.value=!0,o&&e(),a(),s=setInterval(e,f))}if(r&&Xr&&c(),ze(t)||typeof t=="function"){const f=Fe(t,()=>{i.value&&Xr&&c()});En(f)}return En(l),{isActive:i,pause:l,resume:c}}function TA(e,t,n={}){const{immediate:r=!0}=n,o=z(!1);let s=null;function i(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,i()}function l(...c){i(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...c)},je(t))}return r&&(o.value=!0,Xr&&l()),En(a),{isPending:eo(o),start:l,stop:a}}function gf(e,t,n={}){const{debounce:r=0,maxWait:o=void 0,...s}=n;return ev(e,t,{...s,eventFilter:Q0(r,{maxWait:o})})}function gV(e,t,n){let r;ze(n)?r={evaluating:n}:r={};const{lazy:o=!1,evaluating:s=void 0,shallow:i=!0,onError:a=ar}=r,l=z(!o),c=i?Bt(t):z(t);let f=0;return Wr(async u=>{if(!l.value)return;f++;const d=f;let h=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const p=await e(m=>{u(()=>{s&&(s.value=!1),h||m()})});d===f&&(c.value=p)}catch(p){a(p)}finally{s&&d===f&&(s.value=!1),h=!0}}),o?le(()=>(l.value=!0,c.value)):c}function _V(e={}){const{inheritAttrs:t=!0}=e,n=Bt(),r=Re({setup(s,{slots:i}){return()=>{n.value=i.default}}}),o=Re({inheritAttrs:t,setup(s,{attrs:i,slots:a}){return()=>{var l;n.value;const c=(l=n.value)==null?void 0:l.call(n,{...CA(i),$slots:a});return t&&c?.length===1?c[0]:c}}});return Qx({define:r,reuse:o},[r,o])}function CA(e){const t={};for(const n in e)t[cA(n)]=e[n];return t}function _f(e={}){let t=0;const n=z([]);function r(...i){const a=pn({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=f=>(a.isResolving=!0,l(f)),a.reject=c}).finally(()=>{a.promise=void 0;const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}),a.promise}function o(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const s=Re((i,{slots:a})=>{const l=()=>n.value.map(c=>{var f;return Qe($e,{key:c.key},(f=a.default)==null?void 0:f.call(a,c))});return e.transition?()=>Qe(NE,e.transition,l):l});return s.start=o,s}function _t(e){var t;const n=je(e);return(t=n?.$el)!=null?t:n}const Ct=Xr?window:void 0,xA=Xr?window.document:void 0,tv=Xr?window.navigator:void 0;function St(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Ct):[t,n,r,o]=e,!t)return ar;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(f=>f()),s.length=0},a=(f,u,d,h)=>(f.addEventListener(u,d,h),()=>f.removeEventListener(u,d,h)),l=Fe(()=>[_t(t),je(o)],([f,u])=>{if(i(),!f)return;const d=rA(u)?{...u}:u;s.push(...n.flatMap(h=>r.map(p=>a(f,h,p,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return En(c),c}let kh=!1;function vf(e,t,n={}){const{window:r=Ct,ignore:o=[],capture:s=!0,detectIframe:i=!1}=n;if(!r)return ar;oA&&!kh&&(kh=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",ar)),r.document.documentElement.addEventListener("click",ar));let a=!0;const l=d=>o.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(p=>p===d.target||d.composedPath().includes(p));{const p=_t(h);return p&&(d.target===p||d.composedPath().includes(p))}}),f=[St(r,"click",d=>{const h=_t(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(a=!l(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:s}),St(r,"pointerdown",d=>{const h=_t(e);a=!l(d)&&!!(h&&!d.composedPath().includes(h))},{passive:!0}),i&&St(r,"blur",d=>{setTimeout(()=>{var h;const p=_t(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!p?.contains(r.document.activeElement)&&t(d)},0)})].filter(Boolean);return()=>f.forEach(d=>d())}function AA(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function RA(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=Ct,eventName:s="keydown",passive:i=!1,dedupe:a=!1}=r,l=AA(t);return St(o,s,f=>{f.repeat&&je(a)||l(f)&&n(f)},i)}function vV(e,t,n={}){return RA(e,t,{...n,eventName:"keydown"})}function OA(){const e=z(!1),t=qt();return t&&Bn(()=>{e.value=!0},t),e}function jo(e){const t=OA();return le(()=>(t.value,!!e()))}function PA(e,t,n={}){const{window:r=Ct,...o}=n;let s;const i=jo(()=>r&&"MutationObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=le(()=>{const d=je(e),h=(Array.isArray(d)?d:[d]).map(_t).filter(Y0);return new Set(h)}),c=Fe(()=>l.value,d=>{a(),i.value&&d.size&&(s=new MutationObserver(t),d.forEach(h=>s.observe(h,o)))},{immediate:!0,flush:"post"}),f=()=>s?.takeRecords(),u=()=>{c(),a()};return En(u),{isSupported:i,stop:u,takeRecords:f}}function kA(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:o=Ct}=t,s=z(!1),i=r?1e3/r:null;let a=0,l=null;function c(d){if(!s.value||!o)return;a||(a=d);const h=d-a;if(i&&h<i){l=o.requestAnimationFrame(c);return}a=d,e({delta:h,timestamp:d}),l=o.requestAnimationFrame(c)}function f(){!s.value&&o&&(s.value=!0,a=0,l=o.requestAnimationFrame(c))}function u(){s.value=!1,l!=null&&o&&(o.cancelAnimationFrame(l),l=null)}return n&&f(),En(u),{isActive:eo(s),pause:u,resume:f}}function nv(e,t={}){const{window:n=Ct}=t,r=jo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=z(!1),i=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i))},l=Wr(()=>{r.value&&(a(),o=n.matchMedia(je(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),s.value=o.matches)});return En(()=>{l(),a(),o=void 0}),s}const Ih=["hash","host","hostname","href","pathname","port","protocol","search"];function yV(e={}){const{window:t=Ct}=e,n=Object.fromEntries(Ih.map(s=>[s,z()]));for(const[s,i]of fA(n))Fe(i,a=>{!t?.location||t.location[s]===a||(t.location[s]=a)});const r=s=>{var i;const{state:a,length:l}=t?.history||{},{origin:c}=t?.location||{};for(const f of Ih)n[f].value=(i=t?.location)==null?void 0:i[f];return Ft({trigger:s,state:a,length:l,origin:c,...n})},o=z(r("load"));return t&&(St(t,"popstate",()=>o.value=r("popstate"),{passive:!0}),St(t,"hashchange",()=>o.value=r("hashchange"),{passive:!0})),o}function Nh(e,t={}){const{controls:n=!1,navigator:r=tv}=t,o=jo(()=>r&&"permissions"in r),s=Bt(),i=typeof e=="string"?{name:e}:e,a=Bt(),l=()=>{var f,u;a.value=(u=(f=s.value)==null?void 0:f.state)!=null?u:"prompt"};St(s,"change",l);const c=uA(async()=>{if(o.value){if(!s.value)try{s.value=await r.permissions.query(i)}catch{s.value=void 0}finally{l()}if(n)return Ie(s.value)}});return c(),n?{state:a,isSupported:o,query:c}:a}function IA(e={}){const{navigator:t=tv,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,i=jo(()=>t&&"clipboard"in t),a=Nh("clipboard-read"),l=Nh("clipboard-write"),c=le(()=>i.value||s),f=z(""),u=z(!1),d=TA(()=>u.value=!1,o);function h(){i.value&&b(a.value)?t.clipboard.readText().then(v=>{f.value=v}):f.value=_()}c.value&&n&&St(["copy","cut"],h);async function p(v=je(r)){c.value&&v!=null&&(i.value&&b(l.value)?await t.clipboard.writeText(v):m(v),f.value=v,u.value=!0,d.start())}function m(v){const g=document.createElement("textarea");g.value=v??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function _(){var v,g,y;return(y=(g=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:g.toString())!=null?y:""}function b(v){return v==="granted"||v==="prompt"}return{isSupported:c,text:f,copied:u,copy:p}}function NA(e){return JSON.parse(JSON.stringify(e))}const yi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bi="__vueuse_ssr_handlers__",$A=LA();function LA(){return bi in yi||(yi[bi]=yi[bi]||{}),yi[bi]}function rv(e,t){return $A[e]||t}function DA(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const MA={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},$h="vueuse-storage";function yf(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:f,window:u=Ct,eventFilter:d,onError:h=R=>{console.error(R)},initOnMounted:p}=r,m=(f?Bt:z)(typeof t=="function"?t():t);if(!n)try{n=rv("getDefaultStorage",()=>{var R;return(R=Ct)==null?void 0:R.localStorage})()}catch(R){h(R)}if(!n)return m;const _=je(t),b=DA(_),v=(o=r.serializer)!=null?o:MA[b],{pause:g,resume:y}=gA(m,()=>C(m.value),{flush:s,deep:i,eventFilter:d});u&&a&&Ho(()=>{n instanceof Storage?St(u,"storage",M):St(u,$h,L),p&&M()}),p||M();function w(R,$){if(u){const T={key:e,oldValue:R,newValue:$,storageArea:n};u.dispatchEvent(n instanceof Storage?new StorageEvent("storage",T):new CustomEvent($h,{detail:T}))}}function C(R){try{const $=n.getItem(e);if(R==null)w($,null),n.removeItem(e);else{const T=v.write(R);$!==T&&(n.setItem(e,T),w($,T))}}catch($){h($)}}function k(R){const $=R?R.newValue:n.getItem(e);if($==null)return l&&_!=null&&n.setItem(e,v.write(_)),_;if(!R&&c){const T=v.read($);return typeof c=="function"?c(T,_):b==="object"&&!Array.isArray(T)?{..._,...T}:T}else return typeof $!="string"?$:v.read($)}function M(R){if(!(R&&R.storageArea!==n)){if(R&&R.key==null){m.value=_;return}if(!(R&&R.key!==e)){g();try{R?.newValue!==v.write(m.value)&&(m.value=k(R))}catch($){h($)}finally{R?Tt(y):y()}}}}function L(R){M(R.detail)}return m}function FA(e){return nv("(prefers-color-scheme: dark)",e)}const BA="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ov(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=Ct,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:f=!0}=e,u={auto:"",light:"light",dark:"dark",...e.modes||{}},d=FA({window:o}),h=le(()=>d.value?"dark":"light"),p=l||(i==null?hA(r):yf(i,r,s,{window:o,listenToStorageChanges:a})),m=le(()=>p.value==="auto"?h.value:p.value),_=rv("updateHTMLAttrs",(y,w,C)=>{const k=typeof y=="string"?o?.document.querySelector(y):_t(y);if(!k)return;const M=new Set,L=new Set;let R=null;if(w==="class"){const T=C.split(/\s/g);Object.values(u).flatMap(x=>(x||"").split(/\s/g)).filter(Boolean).forEach(x=>{T.includes(x)?M.add(x):L.add(x)})}else R={key:w,value:C};if(M.size===0&&L.size===0&&R===null)return;let $;f&&($=o.document.createElement("style"),$.appendChild(document.createTextNode(BA)),o.document.head.appendChild($));for(const T of M)k.classList.add(T);for(const T of L)k.classList.remove(T);R&&k.setAttribute(R.key,R.value),f&&(o.getComputedStyle($).opacity,document.head.removeChild($))});function b(y){var w;_(t,n,(w=u[y])!=null?w:y)}function v(y){e.onChanged?e.onChanged(y,b):b(y)}Fe(m,v,{flush:"post",immediate:!0}),Ho(()=>v(m.value));const g=le({get(){return c?p.value:m.value},set(y){p.value=y}});try{return Object.assign(g,{store:p,system:h,state:m})}catch{return g}}function sv(e,t,n={}){const{window:r=Ct,...o}=n;let s;const i=jo(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=le(()=>{const u=je(e);return Array.isArray(u)?u.map(d=>_t(d)):[_t(u)]}),c=Fe(l,u=>{if(a(),i.value&&r){s=new ResizeObserver(t);for(const d of u)d&&s.observe(d,o)}},{immediate:!0,flush:"post"}),f=()=>{a(),c()};return En(f),{isSupported:i,stop:f}}function bV(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:s=!0,updateTiming:i="sync"}=t,a=z(0),l=z(0),c=z(0),f=z(0),u=z(0),d=z(0),h=z(0),p=z(0);function m(){const b=_t(e);if(!b){n&&(a.value=0,l.value=0,c.value=0,f.value=0,u.value=0,d.value=0,h.value=0,p.value=0);return}const v=b.getBoundingClientRect();a.value=v.height,l.value=v.bottom,c.value=v.left,f.value=v.right,u.value=v.top,d.value=v.width,h.value=v.x,p.value=v.y}function _(){i==="sync"?m():i==="next-frame"&&requestAnimationFrame(()=>m())}return sv(e,_),Fe(()=>_t(e),b=>!b&&_()),PA(e,_,{attributeFilter:["style","class"]}),o&&St("scroll",_,{capture:!0,passive:!0}),r&&St("resize",_,{passive:!0}),Ho(()=>{s&&_()}),{height:a,bottom:l,left:c,right:f,top:u,width:d,x:h,y:p,update:_}}function wV(e,t={width:0,height:0},n={}){const{window:r=Ct,box:o="content-box"}=n,s=le(()=>{var u,d;return(d=(u=_t(e))==null?void 0:u.namespaceURI)==null?void 0:d.includes("svg")}),i=z(t.width),a=z(t.height),{stop:l}=sv(e,([u])=>{const d=o==="border-box"?u.borderBoxSize:o==="content-box"?u.contentBoxSize:u.devicePixelContentBoxSize;if(r&&s.value){const h=_t(e);if(h){const p=h.getBoundingClientRect();i.value=p.width,a.value=p.height}}else if(d){const h=Array.isArray(d)?d:[d];i.value=h.reduce((p,{inlineSize:m})=>p+m,0),a.value=h.reduce((p,{blockSize:m})=>p+m,0)}else i.value=u.contentRect.width,a.value=u.contentRect.height},n);Ho(()=>{const u=_t(e);u&&(i.value="offsetWidth"in u?u.offsetWidth:t.width,a.value="offsetHeight"in u?u.offsetHeight:t.height)});const c=Fe(()=>_t(e),u=>{i.value=u?t.width:0,a.value=u?t.height:0});function f(){l(),c()}return{width:i,height:a,stop:f}}function VA(e={}){const{initialValue:t=""}=e,n=jo(()=>typeof window<"u"&&"EyeDropper"in window),r=z(t);async function o(s){if(!n.value)return;const a=await new window.EyeDropper().open(s);return r.value=a.sRGBHex,a}return{isSupported:n,sRGBHex:r,open:o}}function zo(e,t,n={}){const{window:r=Ct}=n;return yf(e,t,r?.localStorage,n)}function UA(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=z(new Date),o=()=>r.value=new Date,s=n==="requestAnimationFrame"?kA(o,{immediate:!0}):SA(o,n,{immediate:!0});return t?{now:r,...s}:r}function HA(e,t,n={}){const{window:r=Ct}=n;return yf(e,t,r?.sessionStorage,n)}let jA=0;function EV(e,t={}){const n=z(!1),{document:r=xA,immediate:o=!0,manual:s=!1,id:i=`vueuse_styletag_${++jA}`}=t,a=z(e);let l=()=>{};const c=()=>{if(!r)return;const u=r.getElementById(i)||r.createElement("style");u.isConnected||(u.id=i,t.media&&(u.media=t.media),r.head.appendChild(u)),!n.value&&(l=Fe(a,d=>{u.textContent=d},{immediate:!0}),n.value=!0)},f=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return o&&!s&&Ho(c),s||En(f),{id:i,css:a,unload:f,load:c,isLoaded:eo(n)}}const zA=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],GA={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function KA(e){return e.toISOString().slice(0,10)}function SV(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:o,...s}=UA({interval:r,controls:!0}),i=le(()=>WA(new Date(je(e)),t,je(o)));return n?{timeAgo:i,...s}:i}function WA(e,t={},n=Date.now()){var r;const{max:o,messages:s=GA,fullDateFormatter:i=KA,units:a=zA,showSecond:l=!1,rounding:c="round"}=t,f=typeof c=="number"?_=>+_.toFixed(c):Math[c],u=+n-+e,d=Math.abs(u);function h(_,b){return f(Math.abs(_)/b.value)}function p(_,b){const v=h(_,b),g=_>0,y=m(b.name,v,g);return m(g?"past":"future",y,g)}function m(_,b,v){const g=s[_];return typeof g=="function"?g(b,v):g.replace("{0}",b.toString())}if(d<6e4&&!l)return s.justNow;if(typeof o=="number"&&d>o)return i(new Date(e));if(typeof o=="string"){const _=(r=a.find(b=>b.name===o))==null?void 0:r.max;if(_&&d>_)return i(new Date(e))}for(const[_,b]of a.entries()){if(h(u,b)<=0&&a[_-1])return p(u,a[_-1]);if(d<b.max)return p(u,b)}return s.invalid}function iv(e,t,n,r={}){var o,s,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:f=!1,defaultValue:u,shouldEmit:d}=r,h=qt(),p=n||h?.emit||((o=h?.$emit)==null?void 0:o.bind(h))||((i=(s=h?.proxy)==null?void 0:s.$emit)==null?void 0:i.bind(h?.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const _=g=>a?typeof a=="function"?a(g):NA(g):g,b=()=>tA(e[t])?_(e[t]):u,v=g=>{d?d(g)&&p(m,g):p(m,g)};if(l){const g=b(),y=z(g);let w=!1;return Fe(()=>e[t],C=>{w||(w=!0,y.value=_(C),Tt(()=>w=!1))}),Fe(y,C=>{!w&&(C!==e[t]||f)&&v(C)},{deep:f}),y}else return le({get(){return b()},set(g){v(g)}})}function av(e={}){const{window:t=Ct,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0,type:i="inner"}=e,a=z(n),l=z(r),c=()=>{t&&(i==="outer"?(a.value=t.outerWidth,l.value=t.outerHeight):s?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Ho(c),St("resize",c,{passive:!0}),o){const f=nv("(orientation: portrait)");Fe(f,()=>c())}return{width:a,height:l}}const tu=z();let Lh;function qA(){Lh||(Lh=(async()=>{const{default:e}=await we(async()=>{const{default:t}=await import("./Blr6EMNg.js");return{default:t}},[],import.meta.url);tu.value=new e({html:!0,linkify:!0,breaks:!0})})())}function XA(e){return qA(),tu.value?tu.value.render(e):e}var Qt;(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"})(Qt||(Qt={}));var No;(function(e){function t(f){return f.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(f){const u=e.getLanguageId(f),d=e.getTokenType(f),h=e.getFontStyle(f),p=e.getForeground(f),m=e.getBackground(f);console.log({languageId:u,tokenType:d,fontStyle:h,foreground:p,background:m})}e.print=n;function r(f){return(f&255)>>>0}e.getLanguageId=r;function o(f){return(f&768)>>>8}e.getTokenType=o;function s(f){return(f&1024)!==0}e.containsBalancedBrackets=s;function i(f){return(f&30720)>>>11}e.getFontStyle=i;function a(f){return(f&16744448)>>>15}e.getForeground=a;function l(f){return(f&4278190080)>>>24}e.getBackground=l;function c(f,u,d,h,p,m,_){let b=e.getLanguageId(f),v=e.getTokenType(f),g=e.containsBalancedBrackets(f)?1:0,y=e.getFontStyle(f),w=e.getForeground(f),C=e.getBackground(f);return u!==0&&(b=u),d!==8&&(v=d),h!==null&&(g=h?1:0),p!==-1&&(y=p),m!==0&&(w=m),_!==0&&(C=_),(b<<0|v<<8|g<<10|y<<11|w<<15|C<<24)>>>0}e.set=c})(No||(No={}));function ga(e,t){const n=[],r=YA(e);let o=r.next();for(;o!==null;){let l=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let c=i();if(n.push({matcher:c,priority:l}),o!==",")break;o=r.next()}return n;function s(){if(o==="-"){o=r.next();const l=s();return c=>!!l&&!l(c)}if(o==="("){o=r.next();const l=a();return o===")"&&(o=r.next()),l}if(Dh(o)){const l=[];do l.push(o),o=r.next();while(Dh(o));return c=>t(l,c)}return null}function i(){const l=[];let c=s();for(;c;)l.push(c),c=s();return f=>l.every(u=>u(f))}function a(){const l=[];let c=i();for(;c&&(l.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=i()}return f=>l.some(u=>u(f))}}function Dh(e){return!!e&&!!e.match(/[\w\.:]+/)}function YA(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 lv(e){typeof e.dispose=="function"&&e.dispose()}function ZA(e){return bf(e)}function bf(e){return Array.isArray(e)?JA(e):typeof e=="object"?QA(e):e}function JA(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=bf(e[n]);return t}function QA(e){let t={};for(let n in e)t[n]=bf(e[n]);return t}function cv(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function uv(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?uv(e.substring(0,e.length-1)):e.substr(~t+1)}let Kl=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class wi{static hasCaptures(t){return t===null?!1:(Kl.lastIndex=0,Kl.test(t))}static replaceCaptures(t,n,r){return t.replace(Kl,(o,s,i,a)=>{let l=r[parseInt(s||i,10)];if(l){let c=n.substring(l.start,l.end);for(;c[0]===".";)c=c.substring(1);switch(a){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return o})}}function fv(e,t){return e<t?-1:e>t?1:0}function dv(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 s=fv(e[o],t[o]);if(s!==0)return s}return 0}return n-r}function Mh(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 hv(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class pv{fn;cache=new Map;constructor(t){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 Is{scopeName;constructor(t){this.scopeName=t}toKey(){return this.scopeName}}class eR{scopeName;ruleName;constructor(t,n){this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class tR{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class nR{repo;initialScopeName;seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;constructor(t,n){this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Is(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new tR;for(const r of t)rR(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof Is){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 rR(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 s=n.lookup(t);e instanceof Is?ji({baseGrammar:s,selfGrammar:o},r):nu(e.ruleName,{baseGrammar:s,selfGrammar:o,repository:o.repository},r);const i=n.injections(e.scopeName);if(i)for(const a of i)r.add(new Is(a))}function nu(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];_a([r],t,n)}}function ji(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&_a(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&_a(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function _a(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?cv({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&_a(r.patterns,{...t,repository:o},n);const s=r.include;if(!s)continue;const i=mv(s);switch(i.kind){case 0:ji({...t,selfGrammar:t.baseGrammar},n);break;case 1:ji(t,n);break;case 2:nu(i.ruleName,{...t,repository:o},n);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:o};i.kind===4?nu(i.ruleName,l,n):ji(l,n)}else i.kind===4?n.add(new eR(i.scopeName,i.ruleName)):n.add(new Is(i.scopeName));break}}}class oR{kind=0}class sR{kind=1}class iR{ruleName;kind=2;constructor(t){this.ruleName=t}}class aR{scopeName;kind=3;constructor(t){this.scopeName=t}}class lR{scopeName;ruleName;kind=4;constructor(t,n){this.scopeName=t,this.ruleName=n}}function mv(e){if(e==="$base")return new oR;if(e==="$self")return new sR;const t=e.indexOf("#");if(t===-1)return new aR(e);if(t===0)return new iR(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new lR(n,r)}}const cR=/\\(\d+)/,Fh=/\\(\d+)/g,uR=-1,gv=-2;class ei{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,n,r,o){this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=wi.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=wi.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${uv(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:wi.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:wi.replaceCaptures(this._contentName,t,n)}}class fR extends ei{retokenizeCapturedWithRuleId;constructor(t,n,r,o,s){super(t,n,r,o),this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,r,o){throw new Error("Not supported!")}}class dR extends ei{_match;captures;_cachedCompiledPatterns;constructor(t,n,r,o,s){super(t,n,r,null),this._match=new Yr(o,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,o){return this._getCachedCompiledPatterns(t).compileAG(t,r,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Ns,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Bh extends ei{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,n,r,o,s){super(t,n,r,o),this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const r of this.patterns)t.getRule(r).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,o){return this._getCachedCompiledPatterns(t).compileAG(t,r,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Ns,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class ru extends ei{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,n,r,o,s,i,a,l,c,f){super(t,n,r,o),this._begin=new Yr(s,this.id),this.beginCaptures=i,this._end=new Yr(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!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(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,r,o){return this._getCachedCompiledPatterns(t,n).compileAG(t,r,o)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Ns;for(const r of this.patterns)t.getRule(r).collectPatterns(t,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,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}}class va extends ei{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(t,n,r,o,s,i,a,l,c){super(t,n,r,o),this._begin=new Yr(s,this.id),this.beginCaptures=i,this.whileCaptures=l,this._while=new Yr(a,gv),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.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(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,o){return this._getCachedCompiledPatterns(t).compileAG(t,r,o)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Ns;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,r,o){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,r,o)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Ns,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||"￿"),this._cachedCompiledWhilePatterns}}class lt{static createCaptureRule(t,n,r,o,s){return t.registerRule(i=>new fR(n,i,r,o,s))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new dR(t.$vscodeTextmateLocation,t.id,t.name,t.match,lt._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=cv({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new Bh(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,lt._compilePatterns(s,n,r))}return t.while?new va(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,lt._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,lt._compileCaptures(t.whileCaptures||t.captures,n,r),lt._compilePatterns(t.patterns,n,r)):new ru(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,lt._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,lt._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,lt._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let s=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>s&&(s=a)}for(let i=0;i<=s;i++)o[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=lt.getCompiledRuleId(t[i],n,r)),o[a]=lt.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let s=0,i=t.length;s<i;s++){const a=t[s];let l=-1;if(a.include){const c=mv(a.include);switch(c.kind){case 0:case 1:l=lt.getCompiledRuleId(r[a.include],n,r);break;case 2:let f=r[c.ruleName];f&&(l=lt.getCompiledRuleId(f,n,r));break;case 3:case 4:const u=c.scopeName,d=c.kind===4?c.ruleName:null,h=n.getExternalGrammar(u,r);if(h)if(d){let p=h.repository[d];p&&(l=lt.getCompiledRuleId(p,n,h.repository))}else l=lt.getCompiledRuleId(h.repository.$self,n,h.repository);break}}else l=lt.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let f=!1;if((c instanceof Bh||c instanceof ru||c instanceof va)&&c.hasMissingPatterns&&c.patterns.length===0&&(f=!0),f)continue;o.push(l)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class Yr{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t){const r=t.length;let o=0,s=[],i=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(s.push(t.substring(o,a)),s.push("$(?!\\n)(?<!\\n)"),o=a+2):(c==="A"||c==="G")&&(i=!0),a++}this.hasAnchor=i,o===0?this.source=t:(s.push(t.substring(o,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=cR.test(this.source)}clone(){return new Yr(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 Fh.lastIndex=0,this.source.replace(Fh,(o,s)=>hv(r[parseInt(s,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],s,i,a,l;for(s=0,i=this.source.length;s<i;s++)a=this.source.charAt(s),t[s]=a,n[s]=a,r[s]=a,o[s]=a,a==="\\"&&s+1<i&&(l=this.source.charAt(s+1),l==="A"?(t[s+1]="￿",n[s+1]="￿",r[s+1]="A",o[s+1]="A"):l==="G"?(t[s+1]="￿",n[s+1]="G",r[s+1]="￿",o[s+1]="G"):(t[s+1]=l,n[s+1]=l,r[s+1]=l,o[s+1]=l),s++);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 Ns{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(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 Vh(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(s=>s.resolveAnchors(n,r));return new Vh(t,o,this._items.map(s=>s.ruleId))}}class Vh{regExps;rules;scanner;constructor(t,n,r){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(`
25
- `)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class ya{_colorMap;_defaults;_root;static createFromRawTheme(t,n){return this.createFromParsedTheme(mR(t),n)}static createFromParsedTheme(t,n){return _R(t,n)}_cachedMatchRoot=new pv(t=>this._root.match(t));constructor(t,n,r){this._colorMap=t,this._defaults=n,this._root=r}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(s=>hR(t.parent,s.parentScopes));return o?new _v(o.fontStyle,o.foreground,o.background):null}}class Hr{parent;scopeName;static push(t,n){for(const r of n)t=new Hr(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Hr(n,t[r]);return n}constructor(t,n){this.parent=t,this.scopeName=n}push(t){return new Hr(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 hR(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(pR(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function pR(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class _v{fontStyle;foregroundId;backgroundId;constructor(t,n,r){this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function mR(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,s=t.length;o<s;o++){let i=t[o];if(!i.settings)continue;let a;if(typeof i.scope=="string"){let u=i.scope;u=u.replace(/^[,]+/,""),u=u.replace(/[,]+$/,""),a=u.split(",")}else Array.isArray(i.scope)?a=i.scope:a=[""];let l=-1;if(typeof i.settings.fontStyle=="string"){l=0;let u=i.settings.fontStyle.split(" ");for(let d=0,h=u.length;d<h;d++)switch(u[d]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof i.settings.foreground=="string"&&Mh(i.settings.foreground)&&(c=i.settings.foreground);let f=null;typeof i.settings.background=="string"&&Mh(i.settings.background)&&(f=i.settings.background);for(let u=0,d=a.length;u<d;u++){let p=a[u].trim().split(" "),m=p[p.length-1],_=null;p.length>1&&(_=p.slice(0,p.length-1),_.reverse()),n[r++]=new gR(m,_,o,l,c,f)}}return n}class gR{scope;parentScopes;index;fontStyle;foreground;background;constructor(t,n,r,o,s,i){this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=s,this.background=i}}function _R(e,t){e.sort((l,c)=>{let f=fv(l.scope,c.scope);return f!==0||(f=dv(l.parentScopes,c.parentScopes),f!==0)?f:l.index-c.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(o=l.background)}let s=new vR(t),i=new _v(n,s.getId(r),s.getId(o)),a=new ms(new $s(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let f=e[l];a.insert(0,f.scope,f.parentScopes,f.fontStyle,s.getId(f.foreground),s.getId(f.background))}return new ya(s,i,a)}class vR{_isFrozen;_lastColorId;_id2color;_color2id;constructor(t){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 $s{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,o,s){this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=s}clone(){return new $s(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 ms{_mainRule;_children;_rulesWithParentScopes;constructor(t,n=[],r={}){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 s=r===null?0:r.length,i=o===null?0:o.length;if(s===i)for(let a=0;a<s;a++){const l=r[a].length,c=o[a].length;if(l!==c)return c-l}return i-s}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return ms._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):ms._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,o,s,i){if(n===""){this._doInsertHere(t,r,o,s,i);return}let a=n.indexOf("."),l,c;a===-1?(l=n,c=""):(l=n.substring(0,a),c=n.substring(a+1));let f;this._children.hasOwnProperty(l)?f=this._children[l]:(f=new ms(this._mainRule.clone(),$s.cloneArr(this._rulesWithParentScopes)),this._children[l]=f),f.insert(t+1,c,r,o,s,i)}_doInsertHere(t,n,r,o,s){if(n===null){this._mainRule.acceptOverwrite(t,r,o,s);return}for(let i=0,a=this._rulesWithParentScopes.length;i<a;i++){let l=this._rulesWithParentScopes[i];if(dv(l.parentScopes,n)===0){l.acceptOverwrite(t,r,o,s);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new $s(t,n,r,o,s))}}class Wl{languageId;tokenType;constructor(t,n){this.languageId=t,this.tokenType=n}}class ba{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new Wl(t,8),this._embeddedLanguagesMatcher=new yR(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?ba._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Wl(0,0);_getBasicScopeAttributes=new pv(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new Wl(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(ba.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!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/}class yR{values;scopesRegExp;constructor(t){if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>hv(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 Uh{stack;stoppedEarly;constructor(t,n){this.stack=t,this.stoppedEarly=n}}function vv(e,t,n,r,o,s,i,a){const l=t.content.length;let c=!1,f=-1;if(i){const h=bR(e,t,n,r,o,s);o=h.stack,r=h.linePos,n=h.isFirstLine,f=h.anchorPosition}const u=Date.now();for(;!c;){if(a!==0&&Date.now()-u>a)return new Uh(o,!0);d()}return new Uh(o,!1);function d(){const h=wR(e,t,n,r,o,f);if(!h){s.produce(o,l),c=!0;return}const p=h.captureIndices,m=h.matchedRuleId,_=p&&p.length>0?p[0].end>r:!1;if(m===uR){const b=o.getRule(e);s.produce(o,p[0].start),o=o.withContentNameScopesList(o.nameScopesList),is(e,t,n,o,s,b.endCaptures,p),s.produce(o,p[0].end);const v=o;if(o=o.parent,f=v.getAnchorPos(),!_&&v.getEnterPos()===r){o=v,s.produce(o,l),c=!0;return}}else{const b=e.getRule(m);s.produce(o,p[0].start);const v=o,g=b.getName(t.content,p),y=o.contentNameScopesList.pushAttributed(g,e);if(o=o.push(m,r,f,p[0].end===l,null,y,y),b instanceof ru){const w=b;is(e,t,n,o,s,w.beginCaptures,p),s.produce(o,p[0].end),f=p[0].end;const C=w.getContentName(t.content,p),k=y.pushAttributed(C,e);if(o=o.withContentNameScopesList(k),w.endHasBackReferences&&(o=o.withEndRule(w.getEndWithResolvedBackReferences(t.content,p))),!_&&v.hasSameRuleAs(o)){o=o.pop(),s.produce(o,l),c=!0;return}}else if(b instanceof va){const w=b;is(e,t,n,o,s,w.beginCaptures,p),s.produce(o,p[0].end),f=p[0].end;const C=w.getContentName(t.content,p),k=y.pushAttributed(C,e);if(o=o.withContentNameScopesList(k),w.whileHasBackReferences&&(o=o.withEndRule(w.getWhileWithResolvedBackReferences(t.content,p))),!_&&v.hasSameRuleAs(o)){o=o.pop(),s.produce(o,l),c=!0;return}}else if(is(e,t,n,o,s,b.captures,p),s.produce(o,p[0].end),o=o.pop(),!_){o=o.safePop(),s.produce(o,l),c=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function bR(e,t,n,r,o,s){let i=o.beginRuleCapturedEOL?0:-1;const a=[];for(let l=o;l;l=l.pop()){const c=l.getRule(e);c instanceof va&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:f}=TR(l.rule,e,l.stack.endRule,n,r===i),u=c.findNextMatchSync(t,r,f);if(u){if(u.ruleId!==gv){o=l.stack.pop();break}u.captureIndices&&u.captureIndices.length&&(s.produce(l.stack,u.captureIndices[0].start),is(e,t,n,l.stack,s,l.rule.whileCaptures,u.captureIndices),s.produce(l.stack,u.captureIndices[0].end),i=u.captureIndices[0].end,u.captureIndices[0].end>r&&(r=u.captureIndices[0].end,n=!1))}else{o=l.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:i,isFirstLine:n}}function wR(e,t,n,r,o,s){const i=ER(e,t,n,r,o,s),a=e.getInjections();if(a.length===0)return i;const l=SR(a,e,t,n,r,o,s);if(!l)return i;if(!i)return l;const c=i.captureIndices[0].start,f=l.captureIndices[0].start;return f<c||l.priorityMatch&&f===c?l:i}function ER(e,t,n,r,o,s){const i=o.getRule(e),{ruleScanner:a,findOptions:l}=yv(i,e,o.endRule,n,r===s),c=a.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function SR(e,t,n,r,o,s,i){let a=Number.MAX_VALUE,l=null,c,f=0;const u=s.contentNameScopesList.getScopeNames();for(let d=0,h=e.length;d<h;d++){const p=e[d];if(!p.matcher(u))continue;const m=t.getRule(p.ruleId),{ruleScanner:_,findOptions:b}=yv(m,t,null,r,o===i),v=_.findNextMatchSync(n,o,b);if(!v)continue;const g=v.captureIndices[0].start;if(!(g>=a)&&(a=g,l=v.captureIndices,c=v.ruleId,f=p.priority,a===o))break}return l?{priorityMatch:f===-1,captureIndices:l,matchedRuleId:c}:null}function yv(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function TR(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function is(e,t,n,r,o,s,i){if(s.length===0)return;const a=t.content,l=Math.min(s.length,i.length),c=[],f=i[0].end;for(let u=0;u<l;u++){const d=s[u];if(d===null)continue;const h=i[u];if(h.length===0)continue;if(h.start>f)break;for(;c.length>0&&c[c.length-1].endPos<=h.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,h.start):o.produce(r,h.start),d.retokenizeCapturedWithRuleId){const m=d.getName(a,i),_=r.contentNameScopesList.pushAttributed(m,e),b=d.getContentName(a,i),v=_.pushAttributed(b,e),g=r.push(d.retokenizeCapturedWithRuleId,h.start,-1,!1,null,_,v),y=e.createOnigString(a.substring(0,h.end));vv(e,y,n&&h.start===0,h.start,g,o,!1,0),lv(y);continue}const p=d.getName(a,i);if(p!==null){const _=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(p,e);c.push(new CR(_,h.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class CR{scopes;endPos;constructor(t,n){this.scopes=t,this.endPos=n}}function xR(e,t,n,r,o,s,i,a){return new RR(e,t,n,r,o,s,i,a)}function Hh(e,t,n,r,o){const s=ga(t,wa),i=lt.getCompiledRuleId(n,r,o.repository);for(const a of s)e.push({debugSelector:t,matcher:a.matcher,ruleId:i,grammar:o,priority:a.priority})}function wa(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(AR(t[o],r))return n=o+1,!0;return!1})}function AR(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 RR{_rootScopeName;balancedBracketSelectors;_onigLib;_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}constructor(t,n,r,o,s,i,a,l){if(this._rootScopeName=t,this.balancedBracketSelectors=i,this._onigLib=l,this._basicScopeAttributesProvider=new ba(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=jh(n,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const c of Object.keys(s)){const f=ga(c,wa);for(const u of f)this._tokenTypeMatchers.push({matcher:u.matcher,type:s[c]})}}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:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},n=[],r=this._rootScopeName,o=t.lookup(r);if(o){const s=o.injections;if(s)for(let a in s)Hh(n,a,s[a],this,o);const i=this._grammarRepository.injections(r);i&&i.forEach(a=>{const l=this.getExternalGrammar(a);if(l){const c=l.injectionSelector;c&&Hh(n,c,l,this,l)}})}return n.sort((s,i)=>s.priority-i.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]=jh(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=lt.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!n||n===un.NULL){s=!0;const f=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),d=No.set(0,f.languageId,f.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),h=this.getRule(this._rootId).getName(null,null);let p;h?p=wt.createRootAndLookUpScopeName(h,d,this):p=wt.createRoot("unknown",d),n=new un(null,this._rootId,-1,-1,!1,null,p,p)}else s=!1,n.reset();t=t+`
26
- `;const i=this.createOnigString(t),a=i.content.length,l=new PR(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=vv(this,i,s,0,n,l,!0,o);return lv(i),{lineLength:a,lineTokens:l,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function jh(e,t){return e=ZA(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 wt{parent;scopePath;tokenAttributes;static fromExtension(t,n){let r=t,o=t?.scopePath??null;for(const s of n)o=Hr.push(o,s.scopeNames),r=new wt(r,o,s.encodedTokenAttributes);return r}static createRoot(t,n){return new wt(null,new Hr(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),s=new Hr(null,t),i=r.themeProvider.themeMatch(s),a=wt.mergeAttributes(n,o,i);return new wt(null,s,a)}get scopeName(){return this.scopePath.scopeName}constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}toString(){return this.getScopeNames().join(" ")}equals(t){return wt.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,s=0,i=0;return r!==null&&(o=r.fontStyle,s=r.foregroundId,i=r.backgroundId),No.set(t,n.languageId,n.tokenType,null,o,s,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return wt._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const s of r)o=wt._pushAttributed(o,s,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),s=t.scopePath.push(n),i=r.themeProvider.themeMatch(s),a=wt.mergeAttributes(t.tokenAttributes,o,i);return new wt(t,s,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}}class un{parent;ruleId;beginRuleCapturedEOL;endRule;nameScopesList;contentNameScopesList;_stackElementBrand=void 0;static NULL=new un(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;constructor(t,n,r,o,s,i,a,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=i,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:un._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?wt.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(){un._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,s,i,a){return new un(this,t,n,r,o,s,i,a)}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){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.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 un(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(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=wt.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new un(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,wt.fromExtension(r,n.contentNameScopesList))}}class OR{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,n){this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):ga(r,wa).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>ga(r,wa).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 PR{balancedBracketSelectors;_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;constructor(t,n,r,o){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){if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let o=t?.tokenAttributes??0,s=!1;if(this.balancedBracketSelectors?.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=t?.getScopeNames()??[];for(const a of this._tokenTypeOverrides)a.matcher(i)&&(o=No.set(o,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(i))}if(s&&(o=No.set(o,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===o){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(o),this._lastTokenEndIndex=n;return}const r=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,s=this._binaryTokens.length;o<s;o++)r[o]=this._binaryTokens[o];return r}}class kR{_onigLibPromise;_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;constructor(t,n){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,s){if(!this._grammars.has(t)){let i=this._rawGrammars.get(t);if(!i)return null;this._grammars.set(t,xR(t,i,n,r,o,s,this,await this._onigLibPromise))}return this._grammars.get(t)}}let IR=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new kR(ya.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(ya.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 OR(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,s){const i=new nR(this._syncRegistry,t);for(;i.Q.length>0;)await Promise.all(i.Q.map(a=>this._loadSingleGrammar(a.scopeName))),i.processQueue();return this._grammarForScopeName(t,n,r,o,s)}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,s=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,s)}};const bv=un.NULL,ht={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 Rn{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&ht.LANGUAGEID_MASK)>>>ht.LANGUAGEID_OFFSET}static getTokenType(t){return(t&ht.TOKEN_TYPE_MASK)>>>ht.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&ht.FONT_STYLE_MASK)>>>ht.FONT_STYLE_OFFSET}static getForeground(t){return(t&ht.FOREGROUND_MASK)>>>ht.FOREGROUND_OFFSET}static getBackground(t){return(t&ht.BACKGROUND_MASK)>>>ht.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&ht.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,s,i){let a=Rn.getLanguageId(t),l=Rn.getTokenType(t),c=Rn.getFontStyle(t),f=Rn.getForeground(t),u=Rn.getBackground(t);const d=Rn.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),o!==Qt.NotSet&&(c=o),s!==0&&(f=s),i!==0&&(u=i),(a<<ht.LANGUAGEID_OFFSET|l<<ht.TOKEN_TYPE_OFFSET|c<<ht.FONT_STYLE_OFFSET|d<<ht.BALANCED_BRACKETS_OFFSET|f<<ht.FOREGROUND_OFFSET|u<<ht.BACKGROUND_OFFSET)>>>0}}function ul(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let s=0;s<n.length;s+=2){const i=t?n[s]+(n[s+1]||""):n[s];o.push([i,r]),r+=n[s].length,r+=n[s+1]?.length||0}return o}function wf(e){return!e||["plaintext","txt","text","plain"].includes(e)}function NR(e){return e==="ansi"||wf(e)}function Ef(e){return e==="none"}function $R(e){return Ef(e)}function wv(e,t){if(!t)return e;e.properties||={},e.properties.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 r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}function LR(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 DR(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 s=n.filter(i=>o.offset<i&&i<o.offset+o.content.length).map(i=>i-o.offset).sort((i,a)=>i-a);return s.length?LR(o,s):o})):e}function Ea(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[o,s]of Object.entries(t?.colorReplacements||{}))typeof s=="string"?n[o]=s:o===r&&Object.assign(n,s);return n}function Lr(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function Ev(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Qt.Italic&&(t["font-style"]="italic"),e.fontStyle&Qt.Bold&&(t["font-weight"]="bold"),e.fontStyle&Qt.Underline&&(t["text-decoration"]="underline")),t}function Sv(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function MR(e){const t=ul(e,!0).map(([o])=>o);function n(o){if(o===e.length)return{line:t.length-1,character:t[t.length-1].length};let s=o,i=0;for(const a of t){if(s<a.length)break;s-=a.length,i++}return{line:i,character:s}}function r(o,s){let i=0;for(let a=0;a<o;a++)i+=t[a].length;return i+=s,i}return{lines:t,indexToPos:n,posToIndex:r}}var Dr=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],ql={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function FR(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 zh(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const s=[e[t+n++],e[t+n++],e[t+n]].map(i=>Number.parseInt(i));s.length===3&&!s.some(i=>Number.isNaN(i))&&(o={type:"rgb",rgb:s})}else if(r==="5"){const s=Number.parseInt(e[t+n]);Number.isNaN(s)||(o={type:"table",index:Number(s)})}return[n,o]}function BR(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)ql[o]&&t.push({type:"setDecoration",value:ql[o]});else if(o<=29){const s=ql[o-20];s&&t.push({type:"resetDecoration",value:s})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Dr[o-30]}});else if(o===38){const[s,i]=zh(e,n);i&&t.push({type:"setForegroundColor",value:i}),n+=s}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Dr[o-40]}});else if(o===48){const[s,i]=zh(e,n);i&&t.push({type:"setBackgroundColor",value:i}),n+=s}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Dr[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Dr[o-100+8]}})}return t}function VR(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let s=0;do{const i=FR(r,s),a=i.sequence?r.substring(s,i.startPosition):r.substring(s);if(a.length>0&&o.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const l=BR(i.sequence);for(const c of l)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 l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}s=i.position}while(s<r.length);return o}}}var UR={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 HR(e=UR){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let c=0;c<Dr.length;c++)r.push(t(Dr[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let f=0;f<6;f++)for(let u=0;u<6;u++)r.push(n([a[c],a[f],a[u]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}function s(a){return o()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return s(a.index)}}return{value:i}}function jR(e,t,n){const r=Ea(e,n),o=ul(t),s=HR(Object.fromEntries(Dr.map(a=>[a,e.colors?.[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]))),i=VR();return o.map(a=>i.parse(a[0]).map(l=>{let c,f;l.decorations.has("reverse")?(c=l.background?s.value(l.background):e.bg,f=l.foreground?s.value(l.foreground):e.fg):(c=l.foreground?s.value(l.foreground):e.fg,f=l.background?s.value(l.background):void 0),c=Lr(c,r),f=Lr(f,r),l.decorations.has("dim")&&(c=zR(c));let u=Qt.None;return l.decorations.has("bold")&&(u|=Qt.Bold),l.decorations.has("italic")&&(u|=Qt.Italic),l.decorations.has("underline")&&(u|=Qt.Underline),{content:l.value,offset:a[1],color:c,bgColor:f,fontStyle:u}}))}function zR(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}class Xe extends Error{constructor(t){super(t),this.name="ShikiError"}}class fl{_stack;lang;theme;static initial(t,n){return new fl(bv,t,n)}constructor(t,n,r){this._stack=t,this.lang=n,this.theme=r}get scopes(){return GR(this._stack)}toJSON(){return{lang:this.lang,theme:this.theme,scopes:this.scopes}}}function GR(e){const t=[],n=new Set;function r(o){if(n.has(o))return;n.add(o);const s=o?.nameScopesList?.scopeName;s&&t.push(s),o.parent&&r(o.parent)}return r(e),t}function KR(e){if(!(e instanceof fl))throw new Xe("Invalid grammar state");return e._stack}function Sf(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(wf(r)||Ef(o))return ul(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:s,colorMap:i}=e.setTheme(o);if(r==="ansi")return jR(s,t,n);const a=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==a.name)throw new Xe(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${a.name}"`);if(n.grammarState.theme!==o)throw new Xe(`Grammar state theme "${n.grammarState.theme}" does not match highlight theme "${o}"`)}return qR(t,a,s,i,n)}function WR(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(wf(r)||Ef(o))throw new Xe("Plain language does not have grammar state");if(r==="ansi")throw new Xe("ANSI language does not have grammar state");const{theme:s,colorMap:i}=e.setTheme(o),a=e.getLanguage(r);return new fl(Tf(t,a,s,i,n).stateStack,a.name,s.name)}function qR(e,t,n,r,o){return Tf(e,t,n,r,o).tokens}function Tf(e,t,n,r,o){const s=Ea(n,o),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=o,l=ul(e);let c=o.grammarState?KR(o.grammarState):o.grammarContextCode!=null?Tf(o.grammarContextCode,t,n,r,{...o,grammarState:void 0,grammarContextCode:void 0}).stateStack:bv,f=[];const u=[];for(let d=0,h=l.length;d<h;d++){const[p,m]=l[d];if(p===""){f=[],u.push([]);continue}if(i>0&&p.length>=i){f=[],u.push([{content:p,offset:m,color:"",fontStyle:0}]);continue}let _,b,v;o.includeExplanation&&(_=t.tokenizeLine(p,c),b=_.tokens,v=0);const g=t.tokenizeLine2(p,c,a),y=g.tokens.length/2;for(let w=0;w<y;w++){const C=g.tokens[2*w],k=w+1<y?g.tokens[2*w+2]:p.length;if(C===k)continue;const M=g.tokens[2*w+1],L=Lr(r[Rn.getForeground(M)],s),R=Rn.getFontStyle(M),$={content:p.substring(C,k),offset:m+C,color:L,fontStyle:R};if(o.includeExplanation){const T=[];if(o.includeExplanation!=="scopeName")for(const A of n.settings){let I;switch(typeof A.scope){case"string":I=A.scope.split(/,/).map(O=>O.trim());break;case"object":I=A.scope;break;default:continue}T.push({settings:A,selectors:I.map(O=>O.split(/ /))})}$.explanation=[];let x=0;for(;C+x<k;){const A=b[v],I=p.substring(A.startIndex,A.endIndex);x+=I.length,$.explanation.push({content:I,scopes:o.includeExplanation==="scopeName"?XR(A.scopes):YR(T,A.scopes)}),v+=1}}f.push($)}u.push(f),f=[],c=g.ruleStack}return{tokens:u,stateStack:c}}function XR(e){return e.map(t=>({scopeName:t}))}function YR(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const s=t[r];n[r]={scopeName:s,themeMatches:JR(e,s,t.slice(0,r))}}return n}function Gh(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function ZR(e,t,n){if(!Gh(e[e.length-1],t))return!1;let r=e.length-2,o=n.length-1;for(;r>=0&&o>=0;)Gh(e[r],n[o])&&(r-=1),o-=1;return r===-1}function JR(e,t,n){const r=[];for(const{selectors:o,settings:s}of e)for(const i of o)if(ZR(i,t,n)){r.push(s);break}return r}function Tv(e,t,n){const r=Object.entries(n.themes).filter(i=>i[1]).map(i=>({color:i[0],theme:i[1]})),o=QR(...r.map(i=>Sf(e,t,{...n,theme:i.theme})));return o[0].map((i,a)=>i.map((l,c)=>{const f={content:l.content,variants:{},offset:l.offset};return"includeExplanation"in n&&n.includeExplanation&&(f.explanation=l.explanation),o.forEach((u,d)=>{const{content:h,explanation:p,offset:m,..._}=u[a][c];f.variants[r[d].color]=_}),f}))}function QR(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(l=>l[r]),s=t.map(()=>[]);t.forEach((l,c)=>l.push(s[c]));const i=o.map(()=>0),a=o.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const f=a[c];f.content.length===l?(s[c].push(f),i[c]+=1,a[c]=o[c][i[c]]):(s[c].push({...f,content:f.content.slice(0,l)}),a[c]={...f,content:f.content.slice(l),offset:f.offset+l})}}}return t}function Sa(e,t,n){let r,o,s,i,a;if("themes"in n){const{defaultColor:l="light",cssVariablePrefix:c="--shiki-"}=n,f=Object.entries(n.themes).filter(m=>m[1]).map(m=>({color:m[0],theme:m[1]})).sort((m,_)=>m.color===l?-1:_.color===l?1:0);if(f.length===0)throw new Xe("`themes` option must not be empty");const u=Tv(e,t,n);if(l&&!f.find(m=>m.color===l))throw new Xe(`\`themes\` option must contain the defaultColor key \`${l}\``);const d=f.map(m=>e.getTheme(m.theme)),h=f.map(m=>m.color);s=u.map(m=>m.map(_=>eO(_,h,c,l)));const p=f.map(m=>Ea(m.theme,n));o=f.map((m,_)=>(_===0&&l?"":`${c+m.color}:`)+(Lr(d[_].fg,p[_])||"inherit")).join(";"),r=f.map((m,_)=>(_===0&&l?"":`${c+m.color}-bg:`)+(Lr(d[_].bg,p[_])||"inherit")).join(";"),i=`shiki-themes ${d.map(m=>m.name).join(" ")}`,a=l?void 0:[o,r].join(";")}else if("theme"in n){const l=Ea(n.theme,n);s=Sf(e,t,n);const c=e.getTheme(n.theme);r=Lr(c.bg,l),o=Lr(c.fg,l),i=c.name}else throw new Xe("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:o,bg:r,themeName:i,rootStyle:a}}function eO(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(l=>Ev(e.variants[l])),i=new Set(s.flatMap(l=>Object.keys(l))),a=s.reduce((l,c,f)=>{for(const u of i){const d=c[u]||"inherit";if(f===0&&r)l[u]=d;else{const h=u==="color"?"":u==="background-color"?"-bg":`-${u}`,p=n+t[f]+(u==="color"?"":h);l[u]?l[u]+=`;${p}:${d}`:l[u]=`${p}:${d}`}}return l},{});return o.htmlStyle=r?Sv(a):Object.values(a).join(";"),o}function tO(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let s=function(a){if(typeof a=="number"){if(a<0||a>r.source.length)throw new Xe(`Invalid decoration offset: ${a}. Code length: ${r.source.length}`);return{...o.indexToPos(a),offset:a}}else{const l=o.lines[a.line];if(l===void 0)throw new Xe(`Invalid decoration position ${JSON.stringify(a)}. Lines length: ${o.lines.length}`);if(a.character<0||a.character>l.length)throw new Xe(`Invalid decoration position ${JSON.stringify(a)}. Line ${a.line} length: ${l.length}`);return{...a,offset:o.posToIndex(a.line,a.character)}}};const o=MR(r.source),i=(r.options.decorations||[]).map(a=>({...a,start:s(a.start),end:s(a.end)}));n(i),e.set(r.meta,{decorations:i,converter:o,source:r.source})}return e.get(r.meta)}function n(r){for(let o=0;o<r.length;o++){const s=r[o];if(s.start.offset>s.end.offset)throw new Xe(`Invalid decoration range: ${JSON.stringify(s.start)} - ${JSON.stringify(s.end)}`);for(let i=o+1;i<r.length;i++){const a=r[i],l=s.start.offset<a.start.offset&&a.start.offset<s.end.offset,c=s.start.offset<a.end.offset&&a.end.offset<s.end.offset,f=a.start.offset<s.start.offset&&s.start.offset<a.end.offset,u=a.start.offset<s.end.offset&&s.end.offset<a.end.offset;if(l||c||f||u){if(c&&c||f&&u)continue;throw new Xe(`Decorations ${JSON.stringify(s.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(r){if(!this.options.decorations?.length)return;const s=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return DR(r,s)},code(r){if(!this.options.decorations?.length)return;const o=t(this),s=Array.from(r.children).filter(u=>u.type==="element"&&u.tagName==="span");if(s.length!==o.converter.lines.length)throw new Xe(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${o.converter.lines.length}). Failed to apply decorations.`);function i(u,d,h,p){const m=s[u];let _="",b=-1,v=-1;function g(w){return w.type==="text"?w.value:w.type==="element"?w.children.map(g).join(""):""}if(d===0&&(b=0),h===0&&(v=0),h===Number.POSITIVE_INFINITY&&(v=m.children.length),b===-1||v===-1)for(let w=0;w<m.children.length;w++)_+=g(m.children[w]),b===-1&&_.length===d&&(b=w+1),v===-1&&_.length===h&&(v=w+1);if(b===-1)throw new Xe(`Failed to find start index for decoration ${JSON.stringify(p.start)}`);if(v===-1)throw new Xe(`Failed to find end index for decoration ${JSON.stringify(p.end)}`);const y=m.children.slice(b,v);if(!p.alwaysWrap&&y.length===m.children.length)l(m,p,"line");else if(!p.alwaysWrap&&y.length===1&&y[0].type==="element")l(y[0],p,"token");else{const w={type:"element",tagName:"span",properties:{},children:y};l(w,p,"wrapper"),m.children.splice(b,y.length,w)}}function a(u,d){s[u]=l(s[u],d,"line")}function l(u,d,h){const p=d.properties||{},m=d.transform||(_=>_);return u.tagName=d.tagName||"span",u.properties={...u.properties,...p,class:u.properties.class},d.properties?.class&&wv(u,d.properties.class),u=m(u,h)||u,u}const c=[],f=o.decorations.sort((u,d)=>d.start.offset-u.start.offset);for(const u of f){const{start:d,end:h}=u;if(d.line===h.line)i(d.line,d.character,h.character,u);else if(d.line<h.line){i(d.line,d.character,Number.POSITIVE_INFINITY,u);for(let p=d.line+1;p<h.line;p++)c.unshift(()=>a(p,u));i(h.line,0,h.character,u)}}c.forEach(u=>u())}}}const nO=[tO()];function Ta(e){return[...e.transformers||[],...nO]}function Ca(e,t,n,r={meta:{},options:n,codeToHast:(o,s)=>Ca(e,o,s),codeToTokens:(o,s)=>Sa(e,o,s)}){let o=t;for(const d of Ta(n))o=d.preprocess?.call(r,o,n)||o;let{tokens:s,fg:i,bg:a,themeName:l,rootStyle:c}=Sa(e,o,n);const{mergeWhitespaces:f=!0}=n;f===!0?s=oO(s):f==="never"&&(s=sO(s));const u={...r,get source(){return o}};for(const d of Ta(n))s=d.tokens?.call(u,s)||s;return rO(s,{...n,fg:i,bg:a,themeName:l,rootStyle:c},u)}function rO(e,t,n){const r=Ta(t),o=[],s={type:"root",children:[]},{structure:i="classic"}=t;let a={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(([d])=>!d.startsWith("_")))},children:[]},l={type:"element",tagName:"code",properties:{},children:o};const c=[],f={...n,structure:i,addClassToHast:wv,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return a},get code(){return l},get lines(){return c}};if(e.forEach((d,h)=>{h&&(i==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):i==="classic"&&o.push({type:"text",value:`
27
- `}));let p={type:"element",tagName:"span",properties:{class:"line"},children:[]},m=0;for(const _ of d){let b={type:"element",tagName:"span",properties:{},children:[{type:"text",value:_.content}]};const v=_.htmlStyle||Sv(Ev(_));v&&(b.properties.style=v);for(const g of r)b=g?.span?.call(f,b,h+1,m,p)||b;i==="inline"?s.children.push(b):i==="classic"&&p.children.push(b),m+=_.content.length}if(i==="classic"){for(const _ of r)p=_?.line?.call(f,p,h+1)||p;c.push(p),o.push(p)}}),i==="classic"){for(const d of r)l=d?.code?.call(f,l)||l;a.children.push(l);for(const d of r)a=d?.pre?.call(f,a)||a;s.children.push(a)}let u=s;for(const d of r)u=d?.root?.call(f,u)||u;return u}function oO(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((s,i)=>{const l=!(s.fontStyle&&s.fontStyle&Qt.Underline);l&&s.content.match(/^\s+$/)&&t[i+1]?(o||(o=s.offset),r+=s.content):r?(l?n.push({...s,offset:o,content:r+s.content}):n.push({content:r,offset:o},s),o=0,r=""):n.push(s)}),n})}function sO(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,s,i]=r;if(!o&&!i)return n;const a=[{...n,offset:n.offset+o.length,content:s}];return o&&a.unshift({content:o,offset:n.offset}),i&&a.push({content:i,offset:n.offset+o.length+s.length}),a}))}const iO=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ti{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}ti.prototype.property={};ti.prototype.normal={};ti.prototype.space=null;function Cv(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 ti(n,r,t)}function ou(e){return e.toLowerCase()}class Xt{constructor(t,n){this.property=t,this.attribute=n}}Xt.prototype.space=null;Xt.prototype.boolean=!1;Xt.prototype.booleanish=!1;Xt.prototype.overloadedBoolean=!1;Xt.prototype.number=!1;Xt.prototype.commaSeparated=!1;Xt.prototype.spaceSeparated=!1;Xt.prototype.commaOrSpaceSeparated=!1;Xt.prototype.mustUseProperty=!1;Xt.prototype.defined=!1;let aO=0;const Ce=to(),tt=to(),xv=to(),X=to(),qe=to(),Eo=to(),$t=to();function to(){return 2**++aO}var su=Object.freeze({__proto__:null,boolean:Ce,booleanish:tt,commaOrSpaceSeparated:$t,commaSeparated:Eo,number:X,overloadedBoolean:xv,spaceSeparated:qe});const Xl=Object.keys(su);class Cf extends Xt{constructor(t,n,r,o){let s=-1;if(super(t,n),Kh(this,"space",o),typeof r=="number")for(;++s<Xl.length;){const i=Xl[s];Kh(this,Xl[s],(r&su[i])===su[i])}}}Cf.prototype.defined=!0;function Kh(e,t,n){n&&(e[t]=n)}const lO={}.hasOwnProperty;function Go(e){const t={},n={};let r;for(r in e.properties)if(lO.call(e.properties,r)){const o=e.properties[r],s=new Cf(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[ou(r)]=r,n[ou(s.attribute)]=r}return new ti(t,n,e.space)}const Av=Go({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}}),Rv=Go({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ov(e,t){return t in e?e[t]:t}function Pv(e,t){return Ov(e,t.toLowerCase())}const kv=Go({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Pv,properties:{xmlns:null,xmlnsXLink:null}}),Iv=Go({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:tt,ariaAutoComplete:null,ariaBusy:tt,ariaChecked:tt,ariaColCount:X,ariaColIndex:X,ariaColSpan:X,ariaControls:qe,ariaCurrent:null,ariaDescribedBy:qe,ariaDetails:null,ariaDisabled:tt,ariaDropEffect:qe,ariaErrorMessage:null,ariaExpanded:tt,ariaFlowTo:qe,ariaGrabbed:tt,ariaHasPopup:null,ariaHidden:tt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:qe,ariaLevel:X,ariaLive:null,ariaModal:tt,ariaMultiLine:tt,ariaMultiSelectable:tt,ariaOrientation:null,ariaOwns:qe,ariaPlaceholder:null,ariaPosInSet:X,ariaPressed:tt,ariaReadOnly:tt,ariaRelevant:null,ariaRequired:tt,ariaRoleDescription:qe,ariaRowCount:X,ariaRowIndex:X,ariaRowSpan:X,ariaSelected:tt,ariaSetSize:X,ariaSort:null,ariaValueMax:X,ariaValueMin:X,ariaValueNow:X,ariaValueText:null,role:null}}),cO=Go({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Pv,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Eo,acceptCharset:qe,accessKey:qe,action:null,allow:null,allowFullScreen:Ce,allowPaymentRequest:Ce,allowUserMedia:Ce,alt:null,as:null,async:Ce,autoCapitalize:null,autoComplete:qe,autoFocus:Ce,autoPlay:Ce,blocking:qe,capture:null,charSet:null,checked:Ce,cite:null,className:qe,cols:X,colSpan:null,content:null,contentEditable:tt,controls:Ce,controlsList:qe,coords:X|Eo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ce,defer:Ce,dir:null,dirName:null,disabled:Ce,download:xv,draggable:tt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ce,formTarget:null,headers:qe,height:X,hidden:Ce,high:X,href:null,hrefLang:null,htmlFor:qe,httpEquiv:qe,id:null,imageSizes:null,imageSrcSet:null,inert:Ce,inputMode:null,integrity:null,is:null,isMap:Ce,itemId:null,itemProp:qe,itemRef:qe,itemScope:Ce,itemType:qe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ce,low:X,manifest:null,max:null,maxLength:X,media:null,method:null,min:null,minLength:X,multiple:Ce,muted:Ce,name:null,nonce:null,noModule:Ce,noValidate:Ce,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:Ce,optimum:X,pattern:null,ping:qe,placeholder:null,playsInline:Ce,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ce,referrerPolicy:null,rel:qe,required:Ce,reversed:Ce,rows:X,rowSpan:X,sandbox:qe,scope:null,scoped:Ce,seamless:Ce,selected:Ce,shadowRootDelegatesFocus:Ce,shadowRootMode:null,shape:null,size:X,sizes:null,slot:null,span:X,spellCheck:tt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:X,step:null,style:null,tabIndex:X,target:null,title:null,translate:null,type:null,typeMustMatch:Ce,useMap:null,value:tt,width:X,wrap:null,align:null,aLink:null,archive:qe,axis:null,background:null,bgColor:null,border:X,borderColor:null,bottomMargin:X,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ce,declare:Ce,event:null,face:null,frame:null,frameBorder:null,hSpace:X,leftMargin:X,link:null,longDesc:null,lowSrc:null,marginHeight:X,marginWidth:X,noResize:Ce,noHref:Ce,noShade:Ce,noWrap:Ce,object:null,profile:null,prompt:null,rev:null,rightMargin:X,rules:null,scheme:null,scrolling:tt,standby:null,summary:null,text:null,topMargin:X,valueType:null,version:null,vAlign:null,vLink:null,vSpace:X,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ce,disableRemotePlayback:Ce,prefix:null,property:null,results:X,security:null,unselectable:null}}),uO=Go({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:Ov,properties:{about:$t,accentHeight:X,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:X,amplitude:X,arabicForm:null,ascent:X,attributeName:null,attributeType:null,azimuth:X,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:X,by:null,calcMode:null,capHeight:X,className:qe,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:X,diffuseConstant:X,direction:null,display:null,dur:null,divisor:X,dominantBaseline:null,download:Ce,dx:null,dy:null,edgeMode:null,editable:null,elevation:X,enableBackground:null,end:null,event:null,exponent:X,externalResourcesRequired:null,fill:null,fillOpacity:X,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:Eo,g2:Eo,glyphName:Eo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:X,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:X,horizOriginX:X,horizOriginY:X,id:null,ideographic:X,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:X,k:X,k1:X,k2:X,k3:X,k4:X,kernelMatrix:$t,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:X,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:X,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:X,overlineThickness:X,paintOrder:null,panose1:null,path:null,pathLength:X,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:qe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:X,pointsAtY:X,pointsAtZ:X,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$t,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$t,rev:$t,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$t,requiredFeatures:$t,requiredFonts:$t,requiredFormats:$t,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:X,specularExponent:X,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:X,strikethroughThickness:X,string:null,stroke:null,strokeDashArray:$t,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:X,strokeOpacity:X,strokeWidth:null,style:null,surfaceScale:X,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$t,tabIndex:X,tableValues:null,target:null,targetX:X,targetY:X,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$t,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:X,underlineThickness:X,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:X,values:null,vAlphabetic:X,vMathematical:X,vectorEffect:null,vHanging:X,vIdeographic:X,version:null,vertAdvY:X,vertOriginX:X,vertOriginY:X,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:X,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),fO=/^data[-\w.:]+$/i,Wh=/-[a-z]/g,dO=/[A-Z]/g;function hO(e,t){const n=ou(t);let r=t,o=Xt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&fO.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(Wh,mO);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!Wh.test(s)){let i=s.replace(dO,pO);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}o=Cf}return new o(r,t)}function pO(e){return"-"+e.toLowerCase()}function mO(e){return e.charAt(1).toUpperCase()}const gO=Cv([Rv,Av,kv,Iv,cO],"html"),Nv=Cv([Rv,Av,kv,Iv,uO],"svg"),qh={}.hasOwnProperty;function _O(e,t){const n=t||{};function r(o,...s){let i=r.invalid;const a=r.handlers;if(o&&qh.call(o,e)){const l=String(o[e]);i=qh.call(a,l)?a[l]:r.unknown}if(i)return i.call(this,o,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function vO(e,t){if(e=e.replace(t.subset?yO(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,s,i){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,i.charCodeAt(s+2),t)}function r(o,s,i){return t.format(o.charCodeAt(0),i.charCodeAt(s+1),t)}}function yO(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function bO(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function wO(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const EO=["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"],Yl={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:"€"},SO=["cent","copy","divide","gt","lt","not","para","times"],$v={}.hasOwnProperty,iu={};let Ei;for(Ei in Yl)$v.call(Yl,Ei)&&(iu[Yl[Ei]]=Ei);function TO(e,t,n,r){const o=String.fromCharCode(e);if($v.call(iu,o)){const s=iu[o],i="&"+s;return n&&EO.includes(s)&&!SO.includes(s)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}function CO(e,t,n){let r=bO(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=TO(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const s=wO(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function So(e,t){return vO(e,Object.assign({format:CO},t))}const xO=/^>|^->|<!--|-->|--!>|<!-$/g,AO=[">"],RO=["<",">"];function OO(e,t,n,r){return r.settings.bogusComments?"<?"+So(e.value,Object.assign({},r.settings.characterReferences,{subset:AO}))+">":"<!--"+e.value.replace(xO,o)+"-->";function o(s){return So(s,Object.assign({},r.settings.characterReferences,{subset:RO}))}}function PO(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Xh(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 kO(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function IO(e){return e.join(" ").trim()}const NO=/[ \t\n\f\r]/g;function xf(e){return typeof e=="object"?e.type==="text"?Yh(e.value):!1:Yh(e)}function Yh(e){return e.replace(NO,"")===""}const at=Dv(1),Lv=Dv(-1),$O=[];function Dv(e){return t;function t(n,r,o){const s=n?n.children:$O;let i=(r||0)+e,a=s[i];if(!o)for(;a&&xf(a);)i+=e,a=s[i];return a}}const LO={}.hasOwnProperty;function Mv(e){return t;function t(n,r,o){return LO.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Af=Mv({body:MO,caption:Zl,colgroup:Zl,dd:UO,dt:VO,head:Zl,html:DO,li:BO,optgroup:HO,option:jO,p:FO,rp:Zh,rt:Zh,tbody:GO,td:Jh,tfoot:KO,th:Jh,thead:zO,tr:WO});function Zl(e,t,n){const r=at(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&xf(r.value.charAt(0)))}function DO(e,t,n){const r=at(n,t);return!r||r.type!=="comment"}function MO(e,t,n){const r=at(n,t);return!r||r.type!=="comment"}function FO(e,t,n){const r=at(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 BO(e,t,n){const r=at(n,t);return!r||r.type==="element"&&r.tagName==="li"}function VO(e,t,n){const r=at(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function UO(e,t,n){const r=at(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Zh(e,t,n){const r=at(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function HO(e,t,n){const r=at(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function jO(e,t,n){const r=at(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function zO(e,t,n){const r=at(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function GO(e,t,n){const r=at(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function KO(e,t,n){return!at(n,t)}function WO(e,t,n){const r=at(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Jh(e,t,n){const r=at(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const qO=Mv({body:ZO,colgroup:JO,head:YO,html:XO,tbody:QO});function XO(e){const t=at(e,-1);return!t||t.type!=="comment"}function YO(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 ZO(e){const t=at(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&xf(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function JO(e,t,n){const r=Lv(n,t),o=at(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Af(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function QO(e,t,n){const r=Lv(n,t),o=at(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Af(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Si={name:[[`
28
- \f\r &/=>`.split(""),`
29
- \f\r "&'/=>\``.split("")],[`\0
30
- \f\r "&'/<=>`.split(""),`\0
31
- \f\r "&'/<=>\``.split("")]],unquoted:[[`
32
- \f\r &>`.split(""),`\0
33
- \f\r "&'<=>\``.split("")],[`\0
34
- \f\r "&'<=>\``.split(""),`\0
35
- \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function eP(e,t,n,r){const o=r.schema,s=o.space==="svg"?!1:r.settings.omitOptionalTags;let i=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;o.space==="html"&&e.tagName==="svg"&&(r.schema=Nv);const c=tP(r,e.properties),f=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,f&&(i=!1),(c||!s||!qO(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),i&&(o.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(f),!i&&(!s||!Af(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function tP(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const s=nP(e,o,t[o]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}function nP(e,t,n){const r=hO(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let i=e.quote,a;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 l=So(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Si.name[o][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?kO:IO)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=So(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Si.unquoted[o][s]}))),a!==n&&(e.settings.quoteSmart&&Xh(n,i)>Xh(n,e.alternative)&&(i=e.alternative),a=i+So(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?Si.single:Si.double)[o][s],attribute:!0}))+i),l+(a&&"="+a))}const rP=["<","&"];function Fv(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:So(e.value,Object.assign({},r.settings.characterReferences,{subset:rP}))}function oP(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Fv(e,t,n,r)}function sP(e,t,n,r){return r.all(e)}const iP=_O("type",{invalid:aP,unknown:lP,handlers:{comment:OO,doctype:PO,element:eP,raw:oP,root:sP,text:Fv}});function aP(e){throw new Error("Expected node, not `"+e+"`")}function lP(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const cP={},uP={},fP=[];function dP(e,t){const n=cP,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:hP,all:pP,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||iO,characterReferences:n.characterReferences||uP,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Nv:gO,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function hP(e,t,n){return iP(e,t,n,this)}function pP(e){const t=[],n=e&&e.children||fP;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function mP(e,t,n){const r={meta:{},options:n,codeToHast:(s,i)=>Ca(e,s,i),codeToTokens:(s,i)=>Sa(e,s,i)};let o=dP(Ca(e,t,n,r));for(const s of Ta(n))o=s.postprocess?.call(r,o,n)||o;return o}async function gP(e){let t,n;const r={};function o(m){n=m,r.HEAPU8=new Uint8Array(m),r.HEAPU32=new Uint32Array(m)}function s(){return typeof performance<"u"?performance.now():Date.now()}function i(m,_,b){r.HEAPU8.copyWithin(m,_,_+b)}function a(){return 2147483648}function l(m){try{return t.grow(m-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(m){const _=r.HEAPU8.length;m=m>>>0;const b=a();if(m>b)return!1;const v=(g,y)=>g+(y-g%y)%y;for(let g=1;g<=4;g*=2){let y=_*(1+.2/g);y=Math.min(y,m+100663296);const w=Math.min(b,v(Math.max(m,y),65536));if(l(w))return!0}return!1}const f=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function u(m,_,b=1024){const v=_+b;let g=_;for(;m[g]&&!(g>=v);)++g;if(g-_>16&&m.buffer&&f)return f.decode(m.subarray(_,g));let y="";for(;_<g;){let w=m[_++];if(!(w&128)){y+=String.fromCharCode(w);continue}const C=m[_++]&63;if((w&224)===192){y+=String.fromCharCode((w&31)<<6|C);continue}const k=m[_++]&63;if((w&240)===224?w=(w&15)<<12|C<<6|k:w=(w&7)<<18|C<<12|k<<6|m[_++]&63,w<65536)y+=String.fromCharCode(w);else{const M=w-65536;y+=String.fromCharCode(55296|M>>10,56320|M&1023)}}return y}function d(m,_){return m?u(r.HEAPU8,m,_):""}const h={emscripten_get_now:s,emscripten_memcpy_big:i,emscripten_resize_heap:c,fd_write:()=>0};async function p(){const _=await e({env:h,wasi_snapshot_preview1:h});t=_.memory,o(t.buffer),Object.assign(r,_),r.UTF8ToString=d}return await p(),r}let ct=null,_P=!1;function vP(e){throw new Xe(e.UTF8ToString(e.getLastOnigError()))}class dl{static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const s=t.charCodeAt(r);let i=s,a=!1;if(s>=55296&&s<=56319&&r+1<o){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(i=(s-55296<<10)+65536|l-56320,a=!0)}i<=127?n+=1:i<=2047?n+=2:i<=65535?n+=3:n+=4,a&&r++}return n}utf16Length;utf8Length;utf16Value;utf8Value;utf16OffsetToUtf8;utf8OffsetToUtf16;constructor(t){const n=t.length,r=dl._utf8ByteLength(t),o=r!==n,s=o?new Uint32Array(n+1):null;o&&(s[n]=r);const i=o?new Uint32Array(r+1):null;o&&(i[r]=n);const a=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const f=t.charCodeAt(c);let u=f,d=!1;if(f>=55296&&f<=56319&&c+1<n){const h=t.charCodeAt(c+1);h>=56320&&h<=57343&&(u=(f-55296<<10)+65536|h-56320,d=!0)}o&&(s[c]=l,d&&(s[c+1]=l),u<=127?i[l+0]=c:u<=2047?(i[l+0]=c,i[l+1]=c):u<=65535?(i[l+0]=c,i[l+1]=c,i[l+2]=c):(i[l+0]=c,i[l+1]=c,i[l+2]=c,i[l+3]=c)),u<=127?a[l++]=u:u<=2047?(a[l++]=192|(u&1984)>>>6,a[l++]=128|(u&63)>>>0):u<=65535?(a[l++]=224|(u&61440)>>>12,a[l++]=128|(u&4032)>>>6,a[l++]=128|(u&63)>>>0):(a[l++]=240|(u&1835008)>>>18,a[l++]=128|(u&258048)>>>12,a[l++]=128|(u&4032)>>>6,a[l++]=128|(u&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=i}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}class Ht{static LAST_ID=0;static _sharedPtr=0;static _sharedPtrInUse=!1;id=++Ht.LAST_ID;_onigBinding;content;utf16Length;utf8Length;utf16OffsetToUtf8;utf8OffsetToUtf16;ptr;constructor(t){if(!ct)throw new Xe("Must invoke loadWasm first.");this._onigBinding=ct,this.content=t;const n=new dl(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Ht._sharedPtrInUse?(Ht._sharedPtr||(Ht._sharedPtr=ct.omalloc(1e4)),Ht._sharedPtrInUse=!0,ct.HEAPU8.set(n.utf8Value,Ht._sharedPtr),this.ptr=Ht._sharedPtr):this.ptr=n.createString(ct)}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===Ht._sharedPtr?Ht._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}}class yP{_onigBinding;_ptr;constructor(t){if(!ct)throw new Xe("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const c=new dl(t[a]);n[a]=c.createString(ct),r[a]=c.utf8Length}const o=ct.omalloc(4*t.length);ct.HEAPU32.set(n,o/4);const s=ct.omalloc(4*t.length);ct.HEAPU32.set(r,s/4);const i=ct.createOnigScanner(o,s,t.length);for(let a=0,l=t.length;a<l;a++)ct.ofree(n[a]);ct.ofree(s),ct.ofree(o),i===0&&vP(ct),this._onigBinding=ct,this._ptr=i}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=_P,s=0;if(typeof r=="number"?(r&8&&(o=!0),s=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Ht(t);const i=this._findNextMatchSync(t,n,o,s);return t.dispose(),i}return this._findNextMatchSync(t,n,o,s)}_findNextMatchSync(t,n,r,o){const s=this._onigBinding;let i;if(r?i=s.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):i=s.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),i===0)return null;const a=s.HEAPU32;let l=i/4;const c=a[l++],f=a[l++],u=[];for(let d=0;d<f;d++){const h=t.convertUtf8OffsetToUtf16(a[l++]),p=t.convertUtf8OffsetToUtf16(a[l++]);u[d]={start:h,end:p,length:p-h}}return{index:c,captureIndices:u}}}function bP(e){return typeof e.instantiator=="function"}function wP(e){return typeof e.default=="function"}function EP(e){return typeof e.data<"u"}function SP(e){return typeof Response<"u"&&e instanceof Response}function TP(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 Ti;function CP(e){if(Ti)return Ti;async function t(){ct=await gP(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),bP(r)?r=await r.instantiator(n):wP(r)?r=await r.default(n):(EP(r)&&(r=r.data),SP(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await xP(r)(n):r=await AP(r)(n):TP(r)?r=await Jl(r)(n):r instanceof WebAssembly.Module?r=await Jl(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Jl(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Ti=t(),Ti}function Jl(e){return t=>WebAssembly.instantiate(e,t)}function xP(e){return t=>WebAssembly.instantiateStreaming(e,t)}function AP(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function RP(e){return new Ht(e)}function OP(e){return new yP(e)}const Qh={light:"#333333",dark:"#bbbbbb"},ep={light:"#fffffe",dark:"#1e1e1e"},tp="__shiki_resolved";function Bv(e){if(e?.[tp])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const a=t.settings?t.settings.find(l=>!l.name&&!l.scope):void 0;a?.settings?.foreground&&(r=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Qh.light:Qh.dark),n||(n=t.type==="light"?ep.light:ep.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 s=new Map;function i(a){if(s.has(a))return s.get(a);o+=1;const l=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${l}`]?i(a):(s.set(a,l),l)}t.settings=t.settings.map(a=>{const l=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),c=a.settings?.background&&!a.settings.background.startsWith("#");if(!l&&!c)return a;const f={...a,settings:{...a.settings}};if(l){const u=i(a.settings.foreground);t.colorReplacements[u]=a.settings.foreground,f.settings.foreground=u}if(c){const u=i(a.settings.background);t.colorReplacements[u]=a.settings.background,f.settings.background=u}return f});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const l=i(t.colors[a]);t.colorReplacements[l]=t.colors[a],t.colors[a]=l}return Object.defineProperty(t,tp,{enumerable:!1,writable:!1,value:!0}),t}let PP=class extends IR{_resolver;_themes;_langs;_alias;_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(t,n,r,o={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=o,n.forEach(s=>this.loadTheme(s)),r.forEach(s=>this.loadLanguage(s))}getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const n=Bv(t);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=ya.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new Xe(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars.get(t)}async loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set([...this._langMap.values()].filter(s=>s.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const o=await this.loadGrammarWithConfiguration(t.scopeName,1,r);if(o.name=t.name,this._resolvedGrammars.set(t.name,o),t.aliases&&t.aliases.forEach(s=>{this._alias[s]=t.name}),this._loadedLanguagesCache=null,n.size)for(const s of n)this._resolvedGrammars.delete(s.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),await this.loadLanguage(this._langMap.get(s.name))}async init(){this._themes.map(t=>this.loadTheme(t)),await this.loadLanguages(this._langs)}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}async loadLanguages(t){for(const o of t)this.resolveEmbeddedLanguages(o);const n=Array.from(this._langGraph.entries()),r=n.filter(([o,s])=>!s);if(r.length){const o=n.filter(([s,i])=>i&&i.embeddedLangs?.some(a=>r.map(([l])=>l).includes(a))).filter(s=>!r.includes(s));throw new Xe(`Missing languages ${r.map(([s])=>`\`${s}\``).join(", ")}, required by ${o.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[o,s]of n)this._resolver.addLanguage(s);for(const[o,s]of n)await this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap.set(t.name,t),this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap.get(n))}};class kP{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLibPromise;constructor(t,n){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 s=n.slice(0,o).join(".");r=[...r,...this._injections.get(s)||[]]}return r}}let IP,es=0;async function NP(e={}){es+=1,e.warnings!==!1&&es>=10&&es%10===0&&console.warn(`[Shiki] ${es} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;async function n(g){return Promise.resolve(typeof g=="function"?g():g).then(y=>y.default||y)}async function r(g){return Array.from(new Set((await Promise.all(g.filter(y=>!NR(y)).map(async y=>await n(y).then(w=>Array.isArray(w)?w:[w])))).flat()))}const o=e.loadWasm||IP,[s,i]=await Promise.all([Promise.all((e.themes||[]).map(n)).then(g=>g.map(Bv)),r(e.langs||[]),o?CP(o):void 0]),a=new kP(Promise.resolve({createOnigScanner(g){return OP(g)},createOnigString(g){return RP(g)}}),i),l=new PP(a,s,i,e.langAlias);await l.init();let c;function f(g){b();const y=l.getGrammar(typeof g=="string"?g:g.name);if(!y)throw new Xe(`Language \`${g}\` not found, you may need to load it first`);return y}function u(g){if(g==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};b();const y=l.getTheme(g);if(!y)throw new Xe(`Theme \`${g}\` not found, you may need to load it first`);return y}function d(g){b();const y=u(g);c!==g&&(l.setTheme(y),c=g);const w=l.getColorMap();return{theme:y,colorMap:w}}function h(){return b(),l.getLoadedThemes()}function p(){return b(),l.getLoadedLanguages()}async function m(...g){b(),await l.loadLanguages(await r(g))}async function _(...g){b(),await Promise.all(g.map(async y=>$R(y)?null:l.loadTheme(await n(y))))}function b(){if(t)throw new Xe("Shiki instance has been disposed")}function v(){t||(t=!0,l.dispose(),es-=1)}return{setTheme:d,getTheme:u,getLanguage:f,getLoadedThemes:h,getLoadedLanguages:p,loadLanguage:m,loadTheme:_,dispose:v,[Symbol.dispose]:v}}async function $P(e={}){const t=await NP(e);return{getLastGrammarState:(n,r)=>WR(t,n,r),codeToTokensBase:(n,r)=>Sf(t,n,r),codeToTokensWithThemes:(n,r)=>Tv(t,n,r),codeToTokens:(n,r)=>Sa(t,n,r),codeToHast:(n,r)=>Ca(t,n,r),codeToHtml:(n,r)=>mP(t,n,r),...t,getInternalContext:()=>t}}const Ci=Bt();let np=null;function LP(e,t="text"){!np&&!Ci.value&&(np=$P({themes:[we(()=>import("./BLmvGqlk.js"),[],import.meta.url),we(()=>import("./BYelj_cE.js"),[],import.meta.url)],langs:[we(()=>import("./CupVZNk8.js"),[],import.meta.url),we(()=>import("./DK4oFTHQ.js"),[],import.meta.url),we(()=>import("./CbYhyuC0.js"),[],import.meta.url),we(()=>import("./Dch3xQiY.js"),[],import.meta.url),we(()=>import("./DC8MraHL.js"),[],import.meta.url),we(()=>import("./DpYuRYxj.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),we(()=>import("./C8RrL2-P.js"),__vite__mapDeps([7,0,1,2,3,4,5,6]),import.meta.url),we(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url),we(()=>import("./DvyTQcux.js"),[],import.meta.url),we(()=>import("./DOv5BRyJ.js"),[],import.meta.url)],loadWasm:we(()=>import("./CsTmP73Z.js"),[],import.meta.url)}).then(r=>{Ci.value=r}));const n=Ci.value?.getLoadedLanguages().includes(t);return n?{code:Ci.value.codeToHtml(e,{lang:t,themes:{dark:"vitesse-dark",light:"vitesse-light"}}),supported:!0}:{code:e,supported:n}}const DP=6e4;function Vv(e){return e}const MP=Vv,{clearTimeout:FP,setTimeout:BP}=globalThis,VP=Math.random.bind(Math);function Uv(e,t){const{post:n,on:r,eventNames:o=[],serialize:s=Vv,deserialize:i=MP,resolver:a,timeout:l=DP}=t,c=new Map;let f;const u=new Proxy({},{get(d,h){if(h==="$functions")return e;if(h==="then"&&!o.includes("then")&&!("then"in e))return;const p=(..._)=>{n(s({m:h,a:_,t:"q"}))};if(o.includes(h))return p.asEvent=p,p;const m=async(..._)=>(await f,new Promise((b,v)=>{const g=HP();let y;l>=0&&(y=BP(()=>{try{throw t.onTimeoutError?.(h,_),new Error(`[birpc] timeout on calling "${h}"`)}catch(w){v(w)}c.delete(g)},l),typeof y=="object"&&(y=y.unref?.())),c.set(g,{resolve:b,reject:v,timeoutId:y}),n(s({m:h,a:_,i:g,t:"q"}))}));return m.asEvent=p,m}});return f=r(async(d,...h)=>{const p=i(d);if(p.t==="q"){const{m,a:_}=p;let b,v;const g=a?a(m,e[m]):e[m];if(!g)v=new Error(`[birpc] function "${m}" not found`);else try{b=await g.apply(u,_)}catch(y){v=y}p.i&&(v&&t.onError&&t.onError(v,m,_),n(s({t:"s",i:p.i,r:b,e:v}),...h))}else{const{i:m,r:_,e:b}=p,v=c.get(m);v&&(FP(v.timeoutId),b?v.reject(b):v.resolve(_)),c.delete(m)}}),u}const UP="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function HP(e=21){let t="",n=e;for(;n--;)t+=UP[VP()*64|0];return t}const{parse:jP,stringify:zP}=JSON,{keys:GP}=Object,Ls=String,Hv="string",rp={},xa="object",jv=(e,t)=>t,KP=e=>e instanceof Ls?Ls(e):e,WP=(e,t)=>typeof t===Hv?new Ls(t):t,zv=(e,t,n,r)=>{const o=[];for(let s=GP(n),{length:i}=s,a=0;a<i;a++){const l=s[a],c=n[l];if(c instanceof Ls){const f=e[c];typeof f===xa&&!t.has(f)?(t.add(f),n[l]=rp,o.push({k:l,a:[e,t,f,r]})):n[l]=r.call(n,l,f)}else n[l]!==rp&&(n[l]=r.call(n,l,c))}for(let{length:s}=o,i=0;i<s;i++){const{k:a,a:l}=o[i];n[a]=r.call(n,a,zv.apply(null,l))}return n},op=(e,t,n)=>{const r=Ls(t.push(n)-1);return e.set(n,r),r},qP=(e,t)=>{const n=jP(e,WP).map(KP),r=n[0],o=t||jv,s=typeof r===xa&&r?zv(n,new Set,r,o):r;return o.call({"":s},"",s)},XP=(e,t,n)=>{const r=t&&typeof t===xa?(f,u)=>f===""||-1<t.indexOf(f)?u:void 0:t||jv,o=new Map,s=[],i=[];let a=+op(o,s,r.call({"":e},"",e)),l=!a;for(;a<s.length;)l=!0,i[a]=zP(s[a++],c,n);return"["+i.join(",")+"]";function c(f,u){if(l)return l=!l,u;const d=r.call(this,f,u);switch(typeof d){case xa:if(d===null)return d;case Hv:return o.get(d)||op(o,s,d)}return d}};async function YP(e="/",t=!0){try{const n=`${e}@vite/client`,r=await fetch(n);if((await r.text()).startsWith("<")||!r.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await import(n)}catch{t&&console.error(`[vite-hot-client] Failed to import "${e}@vite/client"`)}}function ZP(e=window.location.pathname){return e.split("/").map((t,n,r)=>r.slice(0,n+1).join("/")||"/")}async function JP(e="/___",t){t=t??ZP();for(const n of t){const o=(await YP(n,!1))?.createHotContext(e);if(o)return o}console.error("[vite-hot-client] Failed to import vite client, tried with:",t)}const Gv="nuxt:devtools:rpc",lo=z(!1),xV=z(),QP=mA(lo,2e3),ek=tk();let Kv=()=>{};const Wv={},qv=new Map,Te=Uv(Wv,{post:async e=>{(await ek).send(Gv,e)},on:e=>{Kv=e},serialize:XP,deserialize:qP,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return qv.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function tk(){let e=window.parent?.__NUXT__?.config?.app?.baseURL??"/";const t=window.parent?.__NUXT__?.config?.app.buildAssetsDir.replace(/^\/|\/$/g,"")??"_nuxt";e&&!e.endsWith("/")&&(e+="/");const n=window.location.href.replace(/\/__nuxt_devtools__\/client\/.*$/,"/"),r=await JP(void 0,Array.from(new Set([`${e}${t}/`,`${e}_nuxt/`,e,`${n}${t}/`,`${n}_nuxt/`,n])));if(!r)throw lo.value=!0,new Error("Unable to connect to devtools");return r.on(Gv,o=>{lo.value=!1,Kv(o)}),lo.value=!0,r.on("vite:ws:connect",()=>{lo.value=!1}),r.on("vite:ws:disconnect",()=>{lo.value=!0}),r}function dt(){return ll("devtools-client")}function AV(){const e=dt();return le(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Xv(){const e=dt();return le(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function RV(){const e=dt();return le(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function nk(){return ll("devtools-component-inspector-data")}const Yv=z(!1);setTimeout(()=>{Yv.value=!0},2e3);const rk=le(()=>Yv.value&&!dt().value);function Zv(){return ov({storageKey:"nuxt-devtools-color-mode"})}function ok(){const e=dt(),t=Zv();return le(()=>({host:e.value,devtools:{rpc:Te,colorMode:t.value,renderCodeHighlight(n,r){return LP(n,r)},renderMarkdown(n){return XA(n)},extendClientRpc(n,r){return qv.set(n,r),new Proxy({},{get(o,s){if(typeof s=="string")return Te[`${n}:${s}`]}})}}}))}const sk=/^[A-Za-z]:\//;function ik(e=""){return e&&e.replace(/\\/g,"/").replace(sk,t=>t.toUpperCase())}const ak=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,sp=/^\/([A-Za-z]:)?$/;function lk(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}const ip=function(...e){e=e.map(r=>ik(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const o=r>=0?e[r]:lk();!o||o.length===0||(t=`${o}/${t}`,n=ap(o))}return t=ck(t,!n),n&&!ap(t)?`/${t}`:t.length>0?t:"."};function ck(e,t){let n="",r=0,o=-1,s=0,i=null;for(let a=0;a<=e.length;++a){if(a<e.length)i=e[a];else{if(i==="/")break;i="/"}if(i==="/"){if(!(o===a-1||s===1))if(s===2){if(n.length<2||r!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const l=n.lastIndexOf("/");l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),o=a,s=0;continue}else if(n.length>0){n="",r=0,o=a,s=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(o+1,a)}`:n=e.slice(o+1,a),r=a-o-1;o=a,s=0}else i==="."&&s!==-1?++s:s=-1}return n}const ap=function(e){return ak.test(e)},uk=function(e,t){const n=ip(e).replace(sp,"$1").split("/"),r=ip(t).replace(sp,"$1").split("/");if(r[0][1]===":"&&n[0][1]===":"&&n[0]!==r[0])return r.join("/");const o=[...n];for(const s of o){if(r[0]!==s)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function OV(e){return!!e.match(/[/\\]node_modules[/\\]/)||Rf(e)}function Rf(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function fk(e){if(Rf(e))return e;const t=e.replace(/\\/g,"/").match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t.startsWith("@")?t.split("/").slice(0,2).join("/"):t.split("/")[0]}function dk(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function PV(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function kV(e,t){if(e=e.replace(/\\/g,"/"),Rf(e))return{moduleName:e,path:e};const n=fk(e),r=dk(e);if(n&&r)return{moduleName:n,path:r};try{let o=uk(t,e);return!o.startsWith("./")&&!o.startsWith("../")&&(o=`./${o}`),o.startsWith("./.nuxt/")&&(o=`#build${o.slice(7)}`),{path:o}}catch{return{path:e}}}function yt(e,t,n){const r=Le(),o=r.payload.unique=r.payload.unique||{};return o[e]||(o[e]=X0(e,t,n)),o[e].data}function IV(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const lp={get:"n-green",post:"n-blue",put:"n-orange",delete:"n-red",patch:"n-purple",head:"n-teal",default:"n-gray"};function NV(e){return lp[e.toLowerCase()]||lp.default}function $V(e,t){const n={};for(const[r,o]of Object.entries(t))for(const s of o){const i=e.find(a=>a.tag===s.tag&&(s.name?a.name===s.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}function LV(e){return Number.isNaN(e)||e<0?"-":e<1?"<1ms":e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function DV(e,t=65,n=50,r=1){let o=0;for(let i=0;i<e.length;i++)o=e.charCodeAt(i)+((o<<5)-o);return`hsla(${o%360}, ${t}%, ${n}%, ${r})`}function ni(e,t){return ll(e,()=>HA(e,t,{listenToStorageChanges:!1}))}function MV(e,t){const n=t?.find(o=>o.id===e.filePath)?.deps?.map(o=>t?.find(s=>s.id===o)?.id).filter(Boolean),r=t?.filter(o=>o.deps.includes(e.filePath)).map(o=>o.id);return{component:e,dependencies:n,dependents:r}}function FV(e,t,n=`${t}s`){return`${e} ${e<=1?t:n}`}function Jv(){const e=dt(),t=Le();t.hooks.callHookParallel("app:data:refresh",Object.keys(t.payload.data)),Jg(e),e.value.revision.value+=1}function Qv(){location.reload()}let ey;function Of(e){ey?.(e)}function hk(e){ey=e}const BV=_f(),ty=_f();function pk(){return ll("devtools:restart-dialogs",()=>[])}var mk=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gk(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function VV(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var au={exports:{}};(function(e,t){(function(n,r){var o="1.0.38",s="",i="?",a="function",l="undefined",c="object",f="string",u="major",d="model",h="name",p="type",m="vendor",_="version",b="architecture",v="console",g="mobile",y="tablet",w="smarttv",C="wearable",k="embedded",M=500,L="Amazon",R="Apple",$="ASUS",T="BlackBerry",x="Browser",A="Chrome",I="Edge",O="Firefox",P="Google",D="Huawei",H="LG",ne="Microsoft",he="Motorola",re="Opera",ve="Samsung",De="Sharp",Oe="Sony",We="Xiaomi",B="Zebra",ce="Facebook",oe="Chromium OS",ue="Mac OS",Me=function(q,ae){var te={};for(var ge in q)ae[ge]&&ae[ge].length%2===0?te[ge]=ae[ge].concat(q[ge]):te[ge]=q[ge];return te},Be=function(q){for(var ae={},te=0;te<q.length;te++)ae[q[te].toUpperCase()]=q[te];return ae},E=function(q,ae){return typeof q===f?S(ae).indexOf(S(q))!==-1:!1},S=function(q){return q.toLowerCase()},N=function(q){return typeof q===f?q.replace(/[^\d\.]/g,s).split(".")[0]:r},j=function(q,ae){if(typeof q===f)return q=q.replace(/^\s\s*/,s),typeof ae===l?q:q.substring(0,M)},F=function(q,ae){for(var te=0,ge,xe,Ve,Se,_e,It;te<ae.length&&!_e;){var Tn=ae[te],Yo=ae[te+1];for(ge=xe=0;ge<Tn.length&&!_e&&Tn[ge];)if(_e=Tn[ge++].exec(q),_e)for(Ve=0;Ve<Yo.length;Ve++)It=_e[++xe],Se=Yo[Ve],typeof Se===c&&Se.length>0?Se.length===2?typeof Se[1]==a?this[Se[0]]=Se[1].call(this,It):this[Se[0]]=Se[1]:Se.length===3?typeof Se[1]===a&&!(Se[1].exec&&Se[1].test)?this[Se[0]]=It?Se[1].call(this,It,Se[2]):r:this[Se[0]]=It?It.replace(Se[1],Se[2]):r:Se.length===4&&(this[Se[0]]=It?Se[3].call(this,It.replace(Se[1],Se[2])):r):this[Se]=It||r;te+=2}},K=function(q,ae){for(var te in ae)if(typeof ae[te]===c&&ae[te].length>0){for(var ge=0;ge<ae[te].length;ge++)if(E(ae[te][ge],q))return te===i?r:te}else if(E(ae[te],q))return te===i?r:te;return q},se={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Q={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ee={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[_,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[_,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,_],[/opios[\/ ]+([\w\.]+)/i],[_,[h,re+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[_,[h,re+" GX"]],[/\bopr\/([\w\.]+)/i],[_,[h,re]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[_,[h,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,_],[/\bddg\/([\w\.]+)/i],[_,[h,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[_,[h,"UC"+x]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[_,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[_,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[_,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[_,[h,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[_,[h,"Smart Lenovo "+x]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+x],_],[/\bfocus\/([\w\.]+)/i],[_,[h,O+" Focus"]],[/\bopt\/([\w\.]+)/i],[_,[h,re+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[_,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[_,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[_,[h,re+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[_,[h,"MIUI "+x]],[/fxios\/([-\w\.]+)/i],[_,[h,O]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+x]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+x],_],[/samsungbrowser\/([\w\.]+)/i],[_,[h,ve+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],_],[/metasr[\/ ]?([\d\.]+)/i],[_,[h,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[h,"Sogou Mobile"],_],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[h,_],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,ce],_],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[h,_],[/\bgsa\/([\w\.]+) .*safari\//i],[_,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[_,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[_,[h,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,A+" WebView"],_],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[_,[h,"Android "+x]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,_],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[_,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[_,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[_,K,se]],[/(webkit|khtml)\/([\w\.]+)/i],[h,_],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],_],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[_,[h,O+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,_],[/(cobalt)\/([\w\.]+)/i],[h,[_,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,S]],[/((?:i[346]|x)86)[;\)]/i],[[b,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[b,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[b,"armhf"]],[/windows (ce|mobile); ppc;/i],[[b,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[b,/ower/,s,S]],[/(sun4\w)[;\)]/i],[[b,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[b,S]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[m,ve],[p,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[m,ve],[p,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[m,R],[p,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[m,R],[p,y]],[/(macintosh);/i],[d,[m,R]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[m,De],[p,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[m,D],[p,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[m,D],[p,g]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[m,We],[p,g]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[m,We],[p,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[m,"OPPO"],[p,g]],[/\b(opd2\d{3}a?) bui/i],[d,[m,"OPPO"],[p,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[m,"Vivo"],[p,g]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[m,"Realme"],[p,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[m,he],[p,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[m,he],[p,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[m,H],[p,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[m,H],[p,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[m,"Lenovo"],[p,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[m,"Nokia"],[p,g]],[/(pixel c)\b/i],[d,[m,P],[p,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[m,P],[p,g]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[m,Oe],[p,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[m,Oe],[p,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[m,"OnePlus"],[p,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[m,L],[p,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[m,L],[p,g]],[/(playbook);[-\w\),; ]+(rim)/i],[d,m,[p,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[m,T],[p,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[m,$],[p,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[m,$],[p,g]],[/(nexus 9)/i],[d,[m,"HTC"],[p,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[m,[d,/_/g," "],[p,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[m,"Acer"],[p,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[m,"Meizu"],[p,g]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[m,"Ulefone"],[p,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[m,d,[p,g]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[m,d,[p,y]],[/(surface duo)/i],[d,[m,ne],[p,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[m,"Fairphone"],[p,g]],[/(u304aa)/i],[d,[m,"AT&T"],[p,g]],[/\bsie-(\w*)/i],[d,[m,"Siemens"],[p,g]],[/\b(rct\w+) b/i],[d,[m,"RCA"],[p,y]],[/\b(venue[\d ]{2,7}) b/i],[d,[m,"Dell"],[p,y]],[/\b(q(?:mv|ta)\w+) b/i],[d,[m,"Verizon"],[p,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[m,"Barnes & Noble"],[p,y]],[/\b(tm\d{3}\w+) b/i],[d,[m,"NuVision"],[p,y]],[/\b(k88) b/i],[d,[m,"ZTE"],[p,y]],[/\b(nx\d{3}j) b/i],[d,[m,"ZTE"],[p,g]],[/\b(gen\d{3}) b.+49h/i],[d,[m,"Swiss"],[p,g]],[/\b(zur\d{3}) b/i],[d,[m,"Swiss"],[p,y]],[/\b((zeki)?tb.*\b) b/i],[d,[m,"Zeki"],[p,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,"Dragon Touch"],d,[p,y]],[/\b(ns-?\w{0,9}) b/i],[d,[m,"Insignia"],[p,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[m,"NextBook"],[p,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,"Voice"],d,[p,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,"LvTel"],d,[p,g]],[/\b(ph-1) /i],[d,[m,"Essential"],[p,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[m,"Envizen"],[p,y]],[/\b(trio[-\w\. ]+) b/i],[d,[m,"MachSpeed"],[p,y]],[/\btu_(1491) b/i],[d,[m,"Rotor"],[p,y]],[/(shield[\w ]+) b/i],[d,[m,"Nvidia"],[p,y]],[/(sprint) (\w+)/i],[m,d,[p,g]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[m,ne],[p,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[m,B],[p,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[m,B],[p,g]],[/smart-tv.+(samsung)/i],[m,[p,w]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[m,ve],[p,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,H],[p,w]],[/(apple) ?tv/i],[m,[d,R+" TV"],[p,w]],[/crkey/i],[[d,A+"cast"],[m,P],[p,w]],[/droid.+aft(\w+)( bui|\))/i],[d,[m,L],[p,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[m,De],[p,w]],[/(bravia[\w ]+)( bui|\))/i],[d,[m,Oe],[p,w]],[/(mitv-\w{5}) bui/i],[d,[m,We],[p,w]],[/Hbbtv.*(technisat) (.*);/i],[m,d,[p,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,j],[d,j],[p,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,d,[p,v]],[/droid.+; (shield) bui/i],[d,[m,"Nvidia"],[p,v]],[/(playstation [345portablevi]+)/i],[d,[m,Oe],[p,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[m,ne],[p,v]],[/((pebble))app/i],[m,d,[p,C]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[m,R],[p,C]],[/droid.+; (glass) \d/i],[d,[m,P],[p,C]],[/droid.+; (wt63?0{2,3})\)/i],[d,[m,B],[p,C]],[/(quest( \d| pro)?)/i],[d,[m,ce],[p,C]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[p,k]],[/(aeobc)\b/i],[d,[m,L],[p,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[p,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[p,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,g]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[_,[h,I+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[_,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,_],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[_,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,_],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[h,[_,K,Q]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[_,K,Q],[h,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[_,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,ue],[_,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[_,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,_],[/\(bb(10);/i],[_,[h,T]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[_,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[_,[h,O+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[_,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[_,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[_,[h,A+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,oe],_],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,_],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],_],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,_]]},U=function(q,ae){if(typeof q===c&&(ae=q,q=r),!(this instanceof U))return new U(q,ae).getResult();var te=typeof n!==l&&n.navigator?n.navigator:r,ge=q||(te&&te.userAgent?te.userAgent:s),xe=te&&te.userAgentData?te.userAgentData:r,Ve=ae?Me(ee,ae):ee,Se=te&&te.userAgent==ge;return this.getBrowser=function(){var _e={};return _e[h]=r,_e[_]=r,F.call(_e,ge,Ve.browser),_e[u]=N(_e[_]),Se&&te&&te.brave&&typeof te.brave.isBrave==a&&(_e[h]="Brave"),_e},this.getCPU=function(){var _e={};return _e[b]=r,F.call(_e,ge,Ve.cpu),_e},this.getDevice=function(){var _e={};return _e[m]=r,_e[d]=r,_e[p]=r,F.call(_e,ge,Ve.device),Se&&!_e[p]&&xe&&xe.mobile&&(_e[p]=g),Se&&_e[d]=="Macintosh"&&te&&typeof te.standalone!==l&&te.maxTouchPoints&&te.maxTouchPoints>2&&(_e[d]="iPad",_e[p]=y),_e},this.getEngine=function(){var _e={};return _e[h]=r,_e[_]=r,F.call(_e,ge,Ve.engine),_e},this.getOS=function(){var _e={};return _e[h]=r,_e[_]=r,F.call(_e,ge,Ve.os),Se&&!_e[h]&&xe&&xe.platform&&xe.platform!="Unknown"&&(_e[h]=xe.platform.replace(/chrome os/i,oe).replace(/macos/i,ue)),_e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return ge},this.setUA=function(_e){return ge=typeof _e===f&&_e.length>M?j(_e,M):_e,this},this.setUA(ge),this};U.VERSION=o,U.BROWSER=Be([h,_,u]),U.CPU=Be([b]),U.DEVICE=Be([d,m,p,v,g,w,y,C,k]),U.ENGINE=U.OS=Be([h,_]),e.exports&&(t=e.exports=U),t.UAParser=U;var ie=typeof n!==l&&(n.jQuery||n.Zepto);if(ie&&!ie.ua){var pe=new U;ie.ua=pe.getResult(),ie.ua.get=function(){return pe.getUA()},ie.ua.set=function(q){pe.setUA(q);var ae=pe.getResult();for(var te in ae)ie.ua[te]=ae[te]}}})(typeof window=="object"?window:mk)})(au,au.exports);var _k=au.exports;const Et=z(localStorage.getItem("__nuxt_dev_token__")),Ot=z(!1),ny=new BroadcastChannel("__nuxt_dev_token__");ny.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===Et.value)return;const t=e.data.data;Te.verifyAuthToken(t).then(n=>{Et.value=n?t:null,Ot.value=n})}});function vk(e){Et.value=e,Ot.value=!0,localStorage.setItem("__nuxt_dev_token__",e),ny.postMessage({event:"new-token",data:e})}async function lu(){if(Ot.value)return Et.value;if(Et.value||await cp(),Ot.value=await Te.verifyAuthToken(Et.value),!Ot.value)throw Et.value=null,Of({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),await cp(),new Error("Invalid auth token");return Et.value}const hn=new _k.UAParser(navigator.userAgent).getResult();async function ry(){const e=[hn.browser.name,hn.browser.version,"|",hn.os.name,hn.os.version,hn.device.type].filter(t=>t).join(" ");return await Te.requestForAuth(e,window.location.origin)}async function cp(){if(Et.value||ry(),await Promise.race([ty.start(),_A(Et.value).toBeTruthy()])===!1)throw Of({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}var cu={exports:{}};const yk="2.0.0",oy=256,bk=Number.MAX_SAFE_INTEGER||9007199254740991,wk=16,Ek=oy-6,Sk=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var hl={MAX_LENGTH:oy,MAX_SAFE_COMPONENT_LENGTH:wk,MAX_SAFE_BUILD_LENGTH:Ek,MAX_SAFE_INTEGER:bk,RELEASE_TYPES:Sk,SEMVER_SPEC_VERSION:yk,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Ql={};const Tk=typeof process=="object"&&Ql&&Ql.NODE_DEBUG&&/\bsemver\b/i.test(Ql.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var pl=Tk;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:o}=hl,s=pl;t=e.exports={};const i=t.re=[],a=t.safeRe=[],l=t.src=[],c=t.t={};let f=0;const u="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",o],[u,r]],h=m=>{for(const[_,b]of d)m=m.split(`${_}*`).join(`${_}{0,${b}}`).split(`${_}+`).join(`${_}{1,${b}}`);return m},p=(m,_,b)=>{const v=h(_),g=f++;s(m,g,_),c[m]=g,l[g]=_,i[g]=new RegExp(_,b?"g":void 0),a[g]=new RegExp(v,b?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u}*`),p("MAINVERSION",`(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${l[c.NUMERICIDENTIFIER]}|${l[c.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${l[c.NUMERICIDENTIFIERLOOSE]}|${l[c.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${u}+`),p("BUILD",`(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`),p("FULL",`^${l[c.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`),p("LOOSE",`^${l[c.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${l[c.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?)?)?`),p("XRANGE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),p("COERCE",`${l[c.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",l[c.COERCEPLAIN]+`(?:${l[c.PRERELEASE]})?(?:${l[c.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",l[c.COERCE],!0),p("COERCERTLFULL",l[c.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${l[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",p("TILDE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${l[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",p("CARET",`^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${l[c.XRANGEPLAIN]})\\s+-\\s+(${l[c.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${l[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[c.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(cu,cu.exports);var ri=cu.exports;const Ck=Object.freeze({loose:!0}),xk=Object.freeze({}),Ak=e=>e?typeof e!="object"?Ck:e:xk;var Pf=Ak;const up=/^[0-9]+$/,sy=(e,t)=>{const n=up.test(e),r=up.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},Rk=(e,t)=>sy(t,e);var iy={compareIdentifiers:sy,rcompareIdentifiers:Rk};const xi=pl,{MAX_LENGTH:fp,MAX_SAFE_INTEGER:Ai}=hl,{safeRe:dp,t:hp}=ri,Ok=Pf,{compareIdentifiers:so}=iy;let Pk=class ln{constructor(t,n){if(n=Ok(n),t instanceof ln){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>fp)throw new TypeError(`version is longer than ${fp} characters`);xi("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?dp[hp.LOOSE]:dp[hp.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Ai||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ai||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ai||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){const s=+o;if(s>=0&&s<Ai)return s}return o}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(xi("SemVer.compare",this.version,this.options,t),!(t instanceof ln)){if(typeof t=="string"&&t===this.version)return 0;t=new ln(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof ln||(t=new ln(t,this.options)),so(this.major,t.major)||so(this.minor,t.minor)||so(this.patch,t.patch)}comparePre(t){if(t instanceof ln||(t=new ln(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],o=t.prerelease[n];if(xi("prerelease compare",n,r,o),r===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(r===void 0)return-1;if(r===o)continue;return so(r,o)}while(++n)}compareBuild(t){t instanceof ln||(t=new ln(t,this.options));let n=0;do{const r=this.build[n],o=t.build[n];if(xi("build compare",n,r,o),r===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(r===void 0)return-1;if(r===o)continue;return so(r,o)}while(++n)}inc(t,n,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const o=Number(r)?1:0;if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[o];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(n){let s=[n,o];r===!1&&(s=[n]),so(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var xt=Pk;const pp=xt,kk=(e,t,n=!1)=>{if(e instanceof pp)return e;try{return new pp(e,t)}catch(r){if(!n)return null;throw r}};var Ko=kk;const Ik=Ko,Nk=(e,t)=>{const n=Ik(e,t);return n?n.version:null};var $k=Nk;const Lk=Ko,Dk=(e,t)=>{const n=Lk(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var Mk=Dk;const mp=xt,Fk=(e,t,n,r,o)=>{typeof n=="string"&&(o=r,r=n,n=void 0);try{return new mp(e instanceof mp?e.version:e,n).inc(t,r,o).version}catch{return null}};var Bk=Fk;const gp=Ko,Vk=(e,t)=>{const n=gp(e,null,!0),r=gp(t,null,!0),o=n.compare(r);if(o===0)return null;const s=o>0,i=s?n:r,a=s?r:n,l=!!i.prerelease.length;if(!!a.prerelease.length&&!l)return!a.patch&&!a.minor?"major":i.patch?"patch":i.minor?"minor":"major";const f=l?"pre":"";return n.major!==r.major?f+"major":n.minor!==r.minor?f+"minor":n.patch!==r.patch?f+"patch":"prerelease"};var Uk=Vk;const Hk=xt,jk=(e,t)=>new Hk(e,t).major;var zk=jk;const Gk=xt,Kk=(e,t)=>new Gk(e,t).minor;var Wk=Kk;const qk=xt,Xk=(e,t)=>new qk(e,t).patch;var Yk=Xk;const Zk=Ko,Jk=(e,t)=>{const n=Zk(e,t);return n&&n.prerelease.length?n.prerelease:null};var Qk=Jk;const _p=xt,eI=(e,t,n)=>new _p(e,n).compare(new _p(t,n));var nn=eI;const tI=nn,nI=(e,t,n)=>tI(t,e,n);var rI=nI;const oI=nn,sI=(e,t)=>oI(e,t,!0);var iI=sI;const vp=xt,aI=(e,t,n)=>{const r=new vp(e,n),o=new vp(t,n);return r.compare(o)||r.compareBuild(o)};var kf=aI;const lI=kf,cI=(e,t)=>e.sort((n,r)=>lI(n,r,t));var uI=cI;const fI=kf,dI=(e,t)=>e.sort((n,r)=>fI(r,n,t));var hI=dI;const pI=nn,mI=(e,t,n)=>pI(e,t,n)>0;var ml=mI;const gI=nn,_I=(e,t,n)=>gI(e,t,n)<0;var If=_I;const vI=nn,yI=(e,t,n)=>vI(e,t,n)===0;var ay=yI;const bI=nn,wI=(e,t,n)=>bI(e,t,n)!==0;var ly=wI;const EI=nn,SI=(e,t,n)=>EI(e,t,n)>=0;var Nf=SI;const TI=nn,CI=(e,t,n)=>TI(e,t,n)<=0;var $f=CI;const xI=ay,AI=ly,RI=ml,OI=Nf,PI=If,kI=$f,II=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return xI(e,n,r);case"!=":return AI(e,n,r);case">":return RI(e,n,r);case">=":return OI(e,n,r);case"<":return PI(e,n,r);case"<=":return kI(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var cy=II;const NI=xt,$I=Ko,{safeRe:Ri,t:Oi}=ri,LI=(e,t)=>{if(e instanceof NI)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(t.includePrerelease?Ri[Oi.COERCEFULL]:Ri[Oi.COERCE]);else{const l=t.includePrerelease?Ri[Oi.COERCERTLFULL]:Ri[Oi.COERCERTL];let c;for(;(c=l.exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||c.index+c[0].length!==n.index+n[0].length)&&(n=c),l.lastIndex=c.index+c[1].length+c[2].length;l.lastIndex=-1}if(n===null)return null;const r=n[2],o=n[3]||"0",s=n[4]||"0",i=t.includePrerelease&&n[5]?`-${n[5]}`:"",a=t.includePrerelease&&n[6]?`+${n[6]}`:"";return $I(`${r}.${o}.${s}${i}${a}`,t)};var DI=LI;class MI{constructor(){this.max=1e3,this.map=new Map}get(t){const n=this.map.get(t);if(n!==void 0)return this.map.delete(t),this.map.set(t,n),n}delete(t){return this.map.delete(t)}set(t,n){if(!this.delete(t)&&n!==void 0){if(this.map.size>=this.max){const o=this.map.keys().next().value;this.delete(o)}this.map.set(t,n)}return this}}var FI=MI,ec,yp;function rn(){if(yp)return ec;yp=1;const e=/\s+/g;class t{constructor(I,O){if(O=o(O),I instanceof t)return I.loose===!!O.loose&&I.includePrerelease===!!O.includePrerelease?I:new t(I.raw,O);if(I instanceof s)return this.raw=I.value,this.set=[[I]],this.formatted=void 0,this;if(this.options=O,this.loose=!!O.loose,this.includePrerelease=!!O.includePrerelease,this.raw=I.trim().replace(e," "),this.set=this.raw.split("||").map(P=>this.parseRange(P.trim())).filter(P=>P.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const P=this.set[0];if(this.set=this.set.filter(D=>!m(D[0])),this.set.length===0)this.set=[P];else if(this.set.length>1){for(const D of this.set)if(D.length===1&&_(D[0])){this.set=[D];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let I=0;I<this.set.length;I++){I>0&&(this.formatted+="||");const O=this.set[I];for(let P=0;P<O.length;P++)P>0&&(this.formatted+=" "),this.formatted+=O[P].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(I){const P=((this.options.includePrerelease&&h)|(this.options.loose&&p))+":"+I,D=r.get(P);if(D)return D;const H=this.options.loose,ne=H?l[c.HYPHENRANGELOOSE]:l[c.HYPHENRANGE];I=I.replace(ne,T(this.options.includePrerelease)),i("hyphen replace",I),I=I.replace(l[c.COMPARATORTRIM],f),i("comparator trim",I),I=I.replace(l[c.TILDETRIM],u),i("tilde trim",I),I=I.replace(l[c.CARETTRIM],d),i("caret trim",I);let he=I.split(" ").map(Oe=>v(Oe,this.options)).join(" ").split(/\s+/).map(Oe=>$(Oe,this.options));H&&(he=he.filter(Oe=>(i("loose invalid filter",Oe,this.options),!!Oe.match(l[c.COMPARATORLOOSE])))),i("range list",he);const re=new Map,ve=he.map(Oe=>new s(Oe,this.options));for(const Oe of ve){if(m(Oe))return[Oe];re.set(Oe.value,Oe)}re.size>1&&re.has("")&&re.delete("");const De=[...re.values()];return r.set(P,De),De}intersects(I,O){if(!(I instanceof t))throw new TypeError("a Range is required");return this.set.some(P=>b(P,O)&&I.set.some(D=>b(D,O)&&P.every(H=>D.every(ne=>H.intersects(ne,O)))))}test(I){if(!I)return!1;if(typeof I=="string")try{I=new a(I,this.options)}catch{return!1}for(let O=0;O<this.set.length;O++)if(x(this.set[O],I,this.options))return!0;return!1}}ec=t;const n=FI,r=new n,o=Pf,s=gl(),i=pl,a=xt,{safeRe:l,t:c,comparatorTrimReplace:f,tildeTrimReplace:u,caretTrimReplace:d}=ri,{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:p}=hl,m=A=>A.value==="<0.0.0-0",_=A=>A.value==="",b=(A,I)=>{let O=!0;const P=A.slice();let D=P.pop();for(;O&&P.length;)O=P.every(H=>D.intersects(H,I)),D=P.pop();return O},v=(A,I)=>(i("comp",A,I),A=C(A,I),i("caret",A),A=y(A,I),i("tildes",A),A=M(A,I),i("xrange",A),A=R(A,I),i("stars",A),A),g=A=>!A||A.toLowerCase()==="x"||A==="*",y=(A,I)=>A.trim().split(/\s+/).map(O=>w(O,I)).join(" "),w=(A,I)=>{const O=I.loose?l[c.TILDELOOSE]:l[c.TILDE];return A.replace(O,(P,D,H,ne,he)=>{i("tilde",A,P,D,H,ne,he);let re;return g(D)?re="":g(H)?re=`>=${D}.0.0 <${+D+1}.0.0-0`:g(ne)?re=`>=${D}.${H}.0 <${D}.${+H+1}.0-0`:he?(i("replaceTilde pr",he),re=`>=${D}.${H}.${ne}-${he} <${D}.${+H+1}.0-0`):re=`>=${D}.${H}.${ne} <${D}.${+H+1}.0-0`,i("tilde return",re),re})},C=(A,I)=>A.trim().split(/\s+/).map(O=>k(O,I)).join(" "),k=(A,I)=>{i("caret",A,I);const O=I.loose?l[c.CARETLOOSE]:l[c.CARET],P=I.includePrerelease?"-0":"";return A.replace(O,(D,H,ne,he,re)=>{i("caret",A,D,H,ne,he,re);let ve;return g(H)?ve="":g(ne)?ve=`>=${H}.0.0${P} <${+H+1}.0.0-0`:g(he)?H==="0"?ve=`>=${H}.${ne}.0${P} <${H}.${+ne+1}.0-0`:ve=`>=${H}.${ne}.0${P} <${+H+1}.0.0-0`:re?(i("replaceCaret pr",re),H==="0"?ne==="0"?ve=`>=${H}.${ne}.${he}-${re} <${H}.${ne}.${+he+1}-0`:ve=`>=${H}.${ne}.${he}-${re} <${H}.${+ne+1}.0-0`:ve=`>=${H}.${ne}.${he}-${re} <${+H+1}.0.0-0`):(i("no pr"),H==="0"?ne==="0"?ve=`>=${H}.${ne}.${he}${P} <${H}.${ne}.${+he+1}-0`:ve=`>=${H}.${ne}.${he}${P} <${H}.${+ne+1}.0-0`:ve=`>=${H}.${ne}.${he} <${+H+1}.0.0-0`),i("caret return",ve),ve})},M=(A,I)=>(i("replaceXRanges",A,I),A.split(/\s+/).map(O=>L(O,I)).join(" ")),L=(A,I)=>{A=A.trim();const O=I.loose?l[c.XRANGELOOSE]:l[c.XRANGE];return A.replace(O,(P,D,H,ne,he,re)=>{i("xRange",A,P,D,H,ne,he,re);const ve=g(H),De=ve||g(ne),Oe=De||g(he),We=Oe;return D==="="&&We&&(D=""),re=I.includePrerelease?"-0":"",ve?D===">"||D==="<"?P="<0.0.0-0":P="*":D&&We?(De&&(ne=0),he=0,D===">"?(D=">=",De?(H=+H+1,ne=0,he=0):(ne=+ne+1,he=0)):D==="<="&&(D="<",De?H=+H+1:ne=+ne+1),D==="<"&&(re="-0"),P=`${D+H}.${ne}.${he}${re}`):De?P=`>=${H}.0.0${re} <${+H+1}.0.0-0`:Oe&&(P=`>=${H}.${ne}.0${re} <${H}.${+ne+1}.0-0`),i("xRange return",P),P})},R=(A,I)=>(i("replaceStars",A,I),A.trim().replace(l[c.STAR],"")),$=(A,I)=>(i("replaceGTE0",A,I),A.trim().replace(l[I.includePrerelease?c.GTE0PRE:c.GTE0],"")),T=A=>(I,O,P,D,H,ne,he,re,ve,De,Oe,We)=>(g(P)?O="":g(D)?O=`>=${P}.0.0${A?"-0":""}`:g(H)?O=`>=${P}.${D}.0${A?"-0":""}`:ne?O=`>=${O}`:O=`>=${O}${A?"-0":""}`,g(ve)?re="":g(De)?re=`<${+ve+1}.0.0-0`:g(Oe)?re=`<${ve}.${+De+1}.0-0`:We?re=`<=${ve}.${De}.${Oe}-${We}`:A?re=`<${ve}.${De}.${+Oe+1}-0`:re=`<=${re}`,`${O} ${re}`.trim()),x=(A,I,O)=>{for(let P=0;P<A.length;P++)if(!A[P].test(I))return!1;if(I.prerelease.length&&!O.includePrerelease){for(let P=0;P<A.length;P++)if(i(A[P].semver),A[P].semver!==s.ANY&&A[P].semver.prerelease.length>0){const D=A[P].semver;if(D.major===I.major&&D.minor===I.minor&&D.patch===I.patch)return!0}return!1}return!0};return ec}var tc,bp;function gl(){if(bp)return tc;bp=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(f,u){if(u=n(u),f instanceof t){if(f.loose===!!u.loose)return f;f=f.value}f=f.trim().split(/\s+/).join(" "),i("comparator",f,u),this.options=u,this.loose=!!u.loose,this.parse(f),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(f){const u=this.options.loose?r[o.COMPARATORLOOSE]:r[o.COMPARATOR],d=f.match(u);if(!d)throw new TypeError(`Invalid comparator: ${f}`);this.operator=d[1]!==void 0?d[1]:"",this.operator==="="&&(this.operator=""),d[2]?this.semver=new a(d[2],this.options.loose):this.semver=e}toString(){return this.value}test(f){if(i("Comparator.test",f,this.options.loose),this.semver===e||f===e)return!0;if(typeof f=="string")try{f=new a(f,this.options)}catch{return!1}return s(f,this.operator,this.semver,this.options)}intersects(f,u){if(!(f instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(f.value,u).test(this.value):f.operator===""?f.value===""?!0:new l(this.value,u).test(f.semver):(u=n(u),u.includePrerelease&&(this.value==="<0.0.0-0"||f.value==="<0.0.0-0")||!u.includePrerelease&&(this.value.startsWith("<0.0.0")||f.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&f.operator.startsWith(">")||this.operator.startsWith("<")&&f.operator.startsWith("<")||this.semver.version===f.semver.version&&this.operator.includes("=")&&f.operator.includes("=")||s(this.semver,"<",f.semver,u)&&this.operator.startsWith(">")&&f.operator.startsWith("<")||s(this.semver,">",f.semver,u)&&this.operator.startsWith("<")&&f.operator.startsWith(">")))}}tc=t;const n=Pf,{safeRe:r,t:o}=ri,s=cy,i=pl,a=xt,l=rn();return tc}const BI=rn(),VI=(e,t,n)=>{try{t=new BI(t,n)}catch{return!1}return t.test(e)};var _l=VI;const UI=rn(),HI=(e,t)=>new UI(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var jI=HI;const zI=xt,GI=rn(),KI=(e,t,n)=>{let r=null,o=null,s=null;try{s=new GI(t,n)}catch{return null}return e.forEach(i=>{s.test(i)&&(!r||o.compare(i)===-1)&&(r=i,o=new zI(r,n))}),r};var WI=KI;const qI=xt,XI=rn(),YI=(e,t,n)=>{let r=null,o=null,s=null;try{s=new XI(t,n)}catch{return null}return e.forEach(i=>{s.test(i)&&(!r||o.compare(i)===1)&&(r=i,o=new qI(r,n))}),r};var ZI=YI;const nc=xt,JI=rn(),wp=ml,QI=(e,t)=>{e=new JI(e,t);let n=new nc("0.0.0");if(e.test(n)||(n=new nc("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const o=e.set[r];let s=null;o.forEach(i=>{const a=new nc(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!s||wp(a,s))&&(s=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),s&&(!n||wp(n,s))&&(n=s)}return n&&e.test(n)?n:null};var e2=QI;const t2=rn(),n2=(e,t)=>{try{return new t2(e,t).range||"*"}catch{return null}};var r2=n2;const o2=xt,uy=gl(),{ANY:s2}=uy,i2=rn(),a2=_l,Ep=ml,Sp=If,l2=$f,c2=Nf,u2=(e,t,n,r)=>{e=new o2(e,r),t=new i2(t,r);let o,s,i,a,l;switch(n){case">":o=Ep,s=l2,i=Sp,a=">",l=">=";break;case"<":o=Sp,s=c2,i=Ep,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a2(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const f=t.set[c];let u=null,d=null;if(f.forEach(h=>{h.semver===s2&&(h=new uy(">=0.0.0")),u=u||h,d=d||h,o(h.semver,u.semver,r)?u=h:i(h.semver,d.semver,r)&&(d=h)}),u.operator===a||u.operator===l||(!d.operator||d.operator===a)&&s(e,d.semver))return!1;if(d.operator===l&&i(e,d.semver))return!1}return!0};var Lf=u2;const f2=Lf,d2=(e,t,n)=>f2(e,t,">",n);var h2=d2;const p2=Lf,m2=(e,t,n)=>p2(e,t,"<",n);var g2=m2;const Tp=rn(),_2=(e,t,n)=>(e=new Tp(e,n),t=new Tp(t,n),e.intersects(t,n));var v2=_2;const y2=_l,b2=nn;var w2=(e,t,n)=>{const r=[];let o=null,s=null;const i=e.sort((f,u)=>b2(f,u,n));for(const f of i)y2(f,t,n)?(s=f,o||(o=f)):(s&&r.push([o,s]),s=null,o=null);o&&r.push([o,null]);const a=[];for(const[f,u]of r)f===u?a.push(f):!u&&f===i[0]?a.push("*"):u?f===i[0]?a.push(`<=${u}`):a.push(`${f} - ${u}`):a.push(`>=${f}`);const l=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t};const Cp=rn(),Df=gl(),{ANY:rc}=Df,ts=_l,Mf=nn,E2=(e,t,n={})=>{if(e===t)return!0;e=new Cp(e,n),t=new Cp(t,n);let r=!1;e:for(const o of e.set){for(const s of t.set){const i=T2(o,s,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},S2=[new Df(">=0.0.0-0")],xp=[new Df(">=0.0.0")],T2=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===rc){if(t.length===1&&t[0].semver===rc)return!0;n.includePrerelease?e=S2:e=xp}if(t.length===1&&t[0].semver===rc){if(n.includePrerelease)return!0;t=xp}const r=new Set;let o,s;for(const h of e)h.operator===">"||h.operator===">="?o=Ap(o,h,n):h.operator==="<"||h.operator==="<="?s=Rp(s,h,n):r.add(h.semver);if(r.size>1)return null;let i;if(o&&s){if(i=Mf(o.semver,s.semver,n),i>0)return null;if(i===0&&(o.operator!==">="||s.operator!=="<="))return null}for(const h of r){if(o&&!ts(h,String(o),n)||s&&!ts(h,String(s),n))return null;for(const p of t)if(!ts(h,String(p),n))return!1;return!0}let a,l,c,f,u=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1,d=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1;u&&u.prerelease.length===1&&s.operator==="<"&&u.prerelease[0]===0&&(u=!1);for(const h of t){if(f=f||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",o){if(d&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===d.major&&h.semver.minor===d.minor&&h.semver.patch===d.patch&&(d=!1),h.operator===">"||h.operator===">="){if(a=Ap(o,h,n),a===h&&a!==o)return!1}else if(o.operator===">="&&!ts(o.semver,String(h),n))return!1}if(s){if(u&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===u.major&&h.semver.minor===u.minor&&h.semver.patch===u.patch&&(u=!1),h.operator==="<"||h.operator==="<="){if(l=Rp(s,h,n),l===h&&l!==s)return!1}else if(s.operator==="<="&&!ts(s.semver,String(h),n))return!1}if(!h.operator&&(s||o)&&i!==0)return!1}return!(o&&c&&!s&&i!==0||s&&f&&!o&&i!==0||d||u)},Ap=(e,t,n)=>{if(!e)return t;const r=Mf(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},Rp=(e,t,n)=>{if(!e)return t;const r=Mf(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var C2=E2;const oc=ri,Op=hl,x2=xt,Pp=iy,A2=Ko,R2=$k,O2=Mk,P2=Bk,k2=Uk,I2=zk,N2=Wk,$2=Yk,L2=Qk,D2=nn,M2=rI,F2=iI,B2=kf,V2=uI,U2=hI,H2=ml,j2=If,z2=ay,G2=ly,K2=Nf,W2=$f,q2=cy,X2=DI,Y2=gl(),Z2=rn(),J2=_l,Q2=jI,eN=WI,tN=ZI,nN=e2,rN=r2,oN=Lf,sN=h2,iN=g2,aN=v2,lN=w2,cN=C2;var uN={parse:A2,valid:R2,clean:O2,inc:P2,diff:k2,major:I2,minor:N2,patch:$2,prerelease:L2,compare:D2,rcompare:M2,compareLoose:F2,compareBuild:B2,sort:V2,rsort:U2,gt:H2,lt:j2,eq:z2,neq:G2,gte:K2,lte:W2,cmp:q2,coerce:X2,Comparator:Y2,Range:Z2,satisfies:J2,toComparators:Q2,maxSatisfying:eN,minSatisfying:tN,minVersion:nN,validRange:rN,outside:oN,gtr:sN,ltr:iN,intersects:aN,simplifyRange:lN,subset:cN,SemVer:x2,re:oc.re,src:oc.src,tokens:oc.t,SEMVER_SPEC_VERSION:Op.SEMVER_SPEC_VERSION,RELEASE_TYPES:Op.RELEASE_TYPES,compareIdentifiers:Pp.compareIdentifiers,rcompareIdentifiers:Pp.rcompareIdentifiers};const fN=gk(uN),sc=new Map;function UV(e,t){const n=e;return sc.has(n)||sc.set(n,pN(e,t)),sc.get(n)}function dN(){return yt("npm:check:nuxt",()=>Te.checkForUpdateFor("nuxt"))}function hN(e){const t=dN();return le(()=>t?.value?.current?fN.satisfies(t.value.current,e):!1)}function pN(e,t){const n=Le(),r=yt(`npm:check:${e}`,()=>Te.checkForUpdateFor(e)),o=z("idle"),s=z();n.hook("devtools:terminal:exit",({id:l,code:c})=>{l!==s||!s||(o.value=c===0?"updated":"idle")});async function i(l){if(o.value!=="idle")return;const c=await Te.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return o.value="running",s.value=(await Te.runNpmCommand(await lu(),"update",e,t))?.processId,s.value}async function a(){o.value==="updated"&&await Te.restartNuxt(await lu())}return{info:r,state:o,update:i,restart:a,processId:s}}const mN={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return hN("^3.5.0")}},gN={icon:"carbon-image-copy",title:"Assets",layout:"full"},_N={icon:"i-carbon-category",title:"Components Tree",layout:"full",show:()=>{const e=dt();return()=>!!e.value},order:3},vN={icon:"i-carbon-assembly-cluster",title:"Components",order:2},yN={layout:"full"},bN={icon:"i-carbon-warning-alt-filled text-red",title:"Error",category:"app",show(){const e=dt();return()=>e.value?.nuxt?.payload?.error}},wN={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},EN={icon:"carbon-function",title:"Imports",order:4},SN={icon:"carbon-3d-mpr-toggle",title:"Modules",order:5},TN={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=dt();return()=>!!e.value}},CN={icon:"carbon-information",title:"Overview",order:-100},xN={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=dt();return()=>!!e.value},order:1},AN={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=dt();return()=>!!e.value},order:7};function RN(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n],s=le(()=>fn(e)),i=r.key||TT([o,typeof s.value=="string"?s.value:"",...ON(r)]);if(!i||typeof i!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+i);const a=i===o?"$f"+i:i;if(!r.baseURL&&typeof s.value=="string"&&s.value[0]==="/"&&s.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:f,transform:u,pick:d,watch:h,immediate:p,getCachedData:m,deep:_,dedupe:b,...v}=r,g=Ft({...sT,...v,cache:typeof r.cache=="boolean"?void 0:r.cache}),y={server:l,lazy:c,default:f,transform:u,pick:d,immediate:p,getCachedData:m,deep:_,dedupe:b,watch:h===!1?[]:[g,s,...h||[]]};let w;return X0(a,()=>{w?.abort?.("Request aborted as another request to the same endpoint was initiated."),w=typeof AbortController<"u"?new AbortController:{};const k=fn(r.timeout);let M;return k&&(M=setTimeout(()=>w.abort("Request aborted due to timeout."),k),w.signal.onabort=()=>clearTimeout(M)),(r.$fetch||globalThis.$fetch)(s.value,{signal:w.signal,...g}).finally(()=>{clearTimeout(M)})},y)}function ON(e){const t=[fn(e.method)?.toUpperCase()||"GET",fn(e.baseURL)];for(const n of[e.params||e.query]){const r=fn(n);if(!r)continue;const o={};for(const[s,i]of Object.entries(r))o[fn(s)]=fn(i);t.push(o)}return t}function HV(e,t,n){return Math.min(n,Math.max(t,e))}const PN="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function kN(e=16,t=PN){let n="",r=e;const o=t.length;for(;r--;)n+=t[Math.random()*o|0];return n}function fy(e,t,n=!1){return t.reduce((r,o)=>(o in e&&(!n||e[o]!==void 0)&&(r[o]=e[o]),r),{})}function dy(){return yt("getServerPages",()=>Te.getServerPages())}function IN(){return yt("getServerRoutes",()=>Te.getServerRoutes())}function NN(){return yt("getServerTasks",()=>Te.getServerTasks())}function jV(){return yt("getServerHooks",()=>Te.getServerHooks())}function zV(){return yt("getServerLayouts",()=>Te.getServerLayouts())}function GV(){return yt("getAutoImports",()=>Te.getAutoImports())}function KV(){return yt("getStaticAssets",()=>Te.getStaticAssets())}function hy(){return yt("getServerConfig",()=>Te.getServerConfig())}function WV(){return yt("getServerRuntimeConfig",()=>Te.getServerRuntimeConfig())}function qV(){return yt("getModuleOptions",()=>Te.getModuleOptions())}function XV(){return yt("getServerApp",()=>Te.getServerApp())}function $N(){return yt("getCustomTabs",()=>Te.getCustomTabs())}function kp(){return yt("getTerminals",()=>Te.getTerminals())}function YV(){return yt("getAnalyzeBuildInfo",()=>Te.getAnalyzeBuildInfo())}function LN(){const{data:e}=RN("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function ZV(){const e=dy(),t=Xv();return le(()=>(t.value?.getRoutes()||[]).map(n=>fy(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const DN={icon:"i-logos-pinia",title:"Pinia",layout:"full",show(){const e=hy();return()=>e.value?.modules?.some(t=>t?.includes("@pinia/nuxt"))}},MN={icon:"carbon-plug",title:"Plugins",category:"analyze"},FN={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=dt();return()=>!!e.value},order:6},BN={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=IN();return()=>e.value?.length}},py=z(await Te.getOptions("assets")),VN=cl(py);gf(py,async e=>{Te.updateOptions("assets",e)},{deep:!0,flush:"post",debounce:500,maxWait:1e3});const my=z(await Te.getOptions("serverRoutes")),UN=cl(my);gf(my,async e=>{Te.updateOptions("serverRoutes",e)},{deep:!0,flush:"post",debounce:500,maxWait:1e3});const gy=z(await Te.getOptions("serverTasks")),HN=cl(gy);gf(gy,async e=>{Te.updateOptions("serverTasks",e)},{deep:!0,flush:"post",debounce:500,maxWait:1e3});const jN={serverRoutes:UN,serverTasks:HN,assets:VN};function zN(e){return jN[e]}const GN={icon:"codicon-run-all",title:"Server Tasks",layout:"full",category:"server",show(){const{enabled:e}=zN("serverTasks"),t=NN();return()=>e.value?Object.keys(t.value?.tasks??{}).length:!1}},KN={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},WN={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=kp();return()=>!!e.value?.length},badge(){const e=kp();return()=>e.value?.filter(t=>!t.isTerminated).length}},qN={icon:"i-carbon-roadmap",title:"Timeline",category:"analyze"},XN={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},YN={layout:"full"},ic=[{name:"__blank",path:"/__blank",meta:Kx||{},component:()=>we(()=>import("./T8d8zkkH.js"),[],import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",meta:Wx||{},component:()=>we(()=>import("./C2HmjCtb.js"),__vite__mapDeps([8,9,10]),import.meta.url).then(e=>e.default||e)},{name:"modules-analyze-build",path:"/modules/analyze-build",meta:mN||{},component:()=>we(()=>import("./D86udNSS.js"),__vite__mapDeps([11,12,13,14,15,10,16,17]),import.meta.url).then(e=>e.default||e)},{name:"modules-assets",path:"/modules/assets",meta:gN||{},component:()=>we(()=>import("./C_n3_iyW.js"),__vite__mapDeps([18,10,19,20,21,22,23,12,24,13,14,15,25,26,27]),import.meta.url).then(e=>e.default||e)},{name:"modules-components-tree",path:"/modules/components-tree",meta:_N||{},component:()=>we(()=>import("./RBAD4-dW.js"),__vite__mapDeps([28,29]),import.meta.url).then(e=>e.default||e)},{name:"modules-components",path:"/modules/components",meta:vN||{},component:()=>we(()=>import("./YWCqik9X.js"),__vite__mapDeps([30,16,17,31,10,20,32,12,25,33,21,22,23,26]),import.meta.url).then(e=>e.default||e)},{name:"modules-custom-name",path:"/modules/custom-:name()",meta:yN||{},component:()=>we(()=>import("./ByTwm2ax.js"),__vite__mapDeps([34,35,36,14]),import.meta.url).then(e=>e.default||e)},{name:"modules-error",path:"/modules/error",meta:bN||{},component:()=>we(()=>import("./DiyNht5f.js"),__vite__mapDeps([37,38,12]),import.meta.url).then(e=>e.default||e)},{name:"modules-hooks",path:"/modules/hooks",meta:wN||{},component:()=>we(()=>import("./L3q7etZW.js"),__vite__mapDeps([39,40,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:"modules-imports",path:"/modules/imports",meta:EN||{},component:()=>we(()=>import("./DajZvwFy.js"),__vite__mapDeps([41,33,20,12,42,36,14,26,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:"modules-modules",path:"/modules/modules",meta:SN||{},component:()=>we(()=>import("./DHZqFavZ.js"),__vite__mapDeps([43,12,44,32,13,14,15,10,21,22,23,19,20,9,45,16,17]),import.meta.url).then(e=>e.default||e)},{name:"modules-open-graph",path:"/modules/open-graph",meta:TN||{},component:()=>we(()=>import("./DDDCUP5E.js"),__vite__mapDeps([46,20,9,21,22,23,13,14,15,16,17,47]),import.meta.url).then(e=>e.default||e)},{name:"modules-overview",path:"/modules/overview",meta:CN||{},component:()=>we(()=>import("./Di-fSNio.js"),__vite__mapDeps([48,44,32,13,14,15,10,31]),import.meta.url).then(e=>e.default||e)},{name:"modules-pages",path:"/modules/pages",meta:xN||{},component:()=>we(()=>import("./C1fpCDlE.js"),__vite__mapDeps([49,32,12,21,22,23,35,36,14,16,17]),import.meta.url).then(e=>e.default||e)},{name:"modules-payload",path:"/modules/payload",meta:AN||{},component:()=>we(()=>import("./CEL3Rl_8.js"),__vite__mapDeps([50,51,52,53,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:"modules-pinia",path:"/modules/pinia",meta:DN||{},component:()=>we(()=>import("./UI0GwUC_.js"),__vite__mapDeps([54,29]),import.meta.url).then(e=>e.default||e)},{name:"modules-plugins",path:"/modules/plugins",meta:MN||{},component:()=>we(()=>import("./DockxStG.js"),__vite__mapDeps([55,12,32,40,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:"modules-runtime-configs",path:"/modules/runtime-configs",meta:FN||{},component:()=>we(()=>import("./CUZJ8tqD.js"),__vite__mapDeps([56,51,52,53,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:"modules-server-routes",path:"/modules/server-routes",meta:BN||{},component:()=>we(()=>import("./D4C_EO1O.js"),__vite__mapDeps([57,20,32,58,59,10,24,13,14,15,52,26,53,21,22,23,25]),import.meta.url).then(e=>e.default||e)},{name:"modules-server-tasks",path:"/modules/server-tasks",meta:GN||{},component:()=>we(()=>import("./DHsLiygU.js"),__vite__mapDeps([60,20,32,59,10,58,13,14,15,26,53,21,22,23,25]),import.meta.url).then(e=>e.default||e)},{name:"modules-storage",path:"/modules/storage",meta:KN||{},component:()=>we(()=>import("./CCXTpRMt.js"),__vite__mapDeps([61,58,9,12,53]),import.meta.url).then(e=>e.default||e)},{name:"modules-terminals",path:"/modules/terminals",meta:WN||{},component:()=>we(()=>import("./BMmGYe_n.js"),__vite__mapDeps([62,63]),import.meta.url).then(e=>e.default||e)},{name:"modules-timeline",path:"/modules/timeline",meta:qN||{},component:()=>we(()=>import("./DAg81ukK.js"),__vite__mapDeps([64,40,32,42,36,14,12,26,53,38,25,35,9,45,13,15,16,17,65]),import.meta.url).then(e=>e.default||e)},{name:"modules-virtual-files",path:"/modules/virtual-files",meta:XN||{},component:()=>we(()=>import("./D5Dg5B9b.js"),__vite__mapDeps([66,20,13,14,15,16,17,67]),import.meta.url).then(e=>e.default||e)},{name:"settings",path:"/settings",meta:YN||{},component:()=>we(()=>import("./QxrU7fRC.js"),__vite__mapDeps([68,22,69,58,10,9]),import.meta.url).then(e=>e.default||e)}],_y=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Qe(e,t,n):n.default?.()});function Ip(e){const t=e?.meta.key??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function ZN(e,t){return e===t||t===Yt?!1:Ip(e)!==Ip(t)?!0:!e.matched.every((r,o)=>r.components&&r.components.default===t.matched[o]?.components?.default)}const JN={scrollBehavior(e,t,n){const r=Le(),o=et().options?.scrollBehaviorType??"auto";let s=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&i!==!1&&ZN(e,t)&&(s={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Np(e.hash),behavior:o}:!1;const a=c=>!!(c.meta.pageTransition??Fc),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(l,async()=>{await new Promise(f=>setTimeout(f,0)),e.hash&&(s={el:e.hash,top:Np(e.hash),behavior:o}),c(s)})})}};function Np(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const QN={hashMode:!1,scrollBehaviorType:"auto"},sn={...QN,...JN},e$=async e=>{let t,n;if(!e.meta?.validate)return;const r=Le(),o=et(),s=([t,n]=wo(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(s===!0)return;const i=Qs({statusCode:s&&s.statusCode||404,statusMessage:s&&s.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(l=>{if(a(),l===e){const c=o.afterEach(async()=>{c(),await r.runWithContext(()=>uo(i)),window?.history.pushState({},"",e.fullPath)});return!1}})},t$=zo("nuxt-devtools-first-visit",!0),n$=av(),uu=le(()=>n$.width.value>1080),Qn=zo("nuxt-devtools-split-screen",!1),vy=zo("nuxt-devtools-split-screen-view","overview"),r$=zo("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0});zo("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1});const Ff=z(await Te.getOptions("ui")),o$=cl(Ff);Fe(Ff,async e=>{Te.updateOptions("ui",e)},{deep:!0,flush:"post"});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(Ff.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function no(){return o$}function s$(){return r$}const Aa=z(await Te.getOptions("behavior").then(e=>e.telemetry));Fe(Aa,async e=>{await Te.updateOptions("behavior",{telemetry:e})});function vl(e,t,n=!1){Aa.value!==!1&&Te.telemetryEvent({event:e,browser:hn.browser.name,browserVersion:hn.browser.version,os:hn.os.name,osVersion:hn.os.version,deviceType:hn.device.type,inPopup:!!window.__NUXT_DEVTOOLS_IS_POPUP__,...t},n)}const i$=e=>{if(e.path==="/"&&!(t$.value||Aa.value==null))return zc("/modules/overview");if(e.path!=="/"&&Aa.value==null)return zc("/")},a$=async e=>{let t,n;const r=([t,n]=wo(()=>ff(e.path)),t=await t,n(),t);if(r.redirect)return Vn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},l$=[e$,i$,a$],fu={};function c$(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const c=s.includes(e.slice(i))?e.slice(i).length:1;let f=s.slice(c);return f[0]!=="/"&&(f="/"+f),qd(f,"")}const a=qd(r,e),l=!n||CS(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+s}const u$=Vt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Zs().app.baseURL;sn.hashMode&&!r.includes("#")&&(r+="#");const o=sn.history?.(r)??(sn.hashMode?hx(r):j0(r)),s=sn.routes?([t,n]=wo(()=>sn.routes(ic)),t=await t,n(),t??ic):ic;let i;const a=Fx({...sn,scrollBehavior:(_,b,v)=>{if(b===Yt){i=v;return}if(sn.scrollBehavior){if(a.options.scrollBehavior=sn.scrollBehavior,"scrollRestoration"in window.history){const g=a.beforeEach(()=>{g(),window.history.scrollRestoration="manual"})}return sn.scrollBehavior(_,Yt,i||v)}},history:o,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=Bt(a.currentRoute.value);a.afterEach((_,b)=>{l.value=b}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=c$(r,window.location,e.payload.path),f=Bt(a.currentRoute.value),u=()=>{f.value=a.currentRoute.value};e.hook("page:finish",u),a.afterEach((_,b)=>{_.matched[0]?.components?.default===b.matched[0]?.components?.default&&u()});const d={};for(const _ in f.value)Object.defineProperty(d,_,{get:()=>f.value[_]});e._route=pn(d),e._middleware=e._middleware||{global:[],named:{}};const h=ol();a.afterEach(async(_,b,v)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext($T),v&&await e.callHook("page:loading:end"),_.matched.length===0&&await e.runWithContext(()=>uo(Hc({statusCode:404,fatal:!1,statusMessage:`Page not found: ${_.fullPath}`,data:{path:_.fullPath}})))});try{[t,n]=wo(()=>a.isReady()),await t,n()}catch(_){[t,n]=wo(()=>e.runWithContext(()=>uo(_))),await t,n()}const p=c!==a.currentRoute.value.fullPath?a.resolve(c):a.currentRoute.value;u();const m=e.payload.state._layout;return a.beforeEach(async(_,b)=>{await e.callHook("page:loading:start"),_.meta=Ft(_.meta),e.isHydrating&&m&&!fr(_.meta.layout)&&(_.meta.layout=m),e._processingMiddleware=!0;{const v=new Set([...l$,...e._middleware.global]);for(const g of _.matched){const y=g.meta.middleware;if(y)for(const w of mf(y))v.add(w)}{const g=await e.runWithContext(()=>ff(_.path));if(g.appMiddleware)for(const y in g.appMiddleware)g.appMiddleware[y]?v.add(y):v.delete(y)}for(const g of v){const y=typeof g=="string"?e._middleware.named[g]||await fu[g]?.().then(C=>C.default||C):g;if(!y)throw new Error(`Unknown route middleware: '${g}'.`);const w=await e.runWithContext(()=>y(_,b));if(!e.payload.serverRendered&&e.isHydrating&&(w===!1||w instanceof Error)){const C=w||Hc({statusCode:404,statusMessage:`Page Not Found: ${c}`});return await e.runWithContext(()=>uo(C)),!1}if(w!==!0&&(w||w===!1))return w}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=sn.scrollBehavior}catch(_){await e.runWithContext(()=>uo(_))}}),{provide:{router:a}}}}),f$=Vt({name:"nuxt:payload",setup(e){et().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await fh(t.path);r&&Object.assign(e.static.data,r.data)}),al(()=>{e.hooks.hook("link:prefetch",async t=>{const{hostname:n}=new URL(t,window.location.href);n===window.location.hostname&&await fh(t)}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(sl,1e3)})}}),d$=Vt(()=>{const e=et();al(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),h$=Vt(e=>{let t;async function n(){const r=await sl();t&&clearTimeout(t),t=setTimeout(n,Qd);try{const o=await $fetch(uf("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}al(()=>{t=setTimeout(n,Qd)})});function p$(e={}){const t=e.path||window.location.pathname;let n={};try{n=la(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Le().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const m$=Vt({name:"nuxt:chunk-reload",setup(e){const t=et(),n=Zs(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function o(s){const a="href"in s&&s.href[0]==="#"?n.app.baseURL+s.href:nl(n.app.baseURL,s.fullPath);p$({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((s,i)=>{r.has(s)&&o(i)})}}),g$=Vt({name:"nuxt:global-components"}),er={default:()=>we(()=>import("./J0gvLlTF.js"),[],import.meta.url).then(e=>e.default||e),full:()=>we(()=>import("./6ngNN4Yp.js"),[],import.meta.url).then(e=>e.default||e),none:()=>we(()=>import("./Bu2gNcUf.js"),[],import.meta.url).then(e=>e.default||e)},_$=Vt({name:"nuxt:prefetch",setup(e){const t=et();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof er[r]=="function"&&await er[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Vn(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let s=mf(r.meta.middleware);s=s.filter(i=>typeof i=="string");for(const i of s)typeof fu[i]=="function"&&fu[i]();o&&typeof er[o]=="function"&&er[o]()})}}),v$=Vt(()=>{}),y$=["top","right","bottom","left"],$p=["start","end"],Lp=y$.reduce((e,t)=>e.concat(t,t+"-"+$p[0],t+"-"+$p[1]),[]),Ds=Math.min,kr=Math.max,b$={left:"right",right:"left",bottom:"top",top:"bottom"},w$={start:"end",end:"start"};function du(e,t,n){return kr(e,Ds(t,n))}function ro(e,t){return typeof e=="function"?e(t):e}function Sn(e){return e.split("-")[0]}function en(e){return e.split("-")[1]}function yy(e){return e==="x"?"y":"x"}function Bf(e){return e==="y"?"height":"width"}function oi(e){return["top","bottom"].includes(Sn(e))?"y":"x"}function Vf(e){return yy(oi(e))}function by(e,t,n){n===void 0&&(n=!1);const r=en(e),o=Vf(e),s=Bf(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Oa(i)),[i,Oa(i)]}function E$(e){const t=Oa(e);return[Ra(e),t,Ra(t)]}function Ra(e){return e.replace(/start|end/g,t=>w$[t])}function S$(e,t,n){const r=["left","right"],o=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?s:i;default:return[]}}function T$(e,t,n,r){const o=en(e);let s=S$(Sn(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Ra)))),s}function Oa(e){return e.replace(/left|right|bottom|top/g,t=>b$[t])}function C$(e){return{top:0,right:0,bottom:0,left:0,...e}}function wy(e){return typeof e!="number"?C$(e):{top:e,right:e,bottom:e,left:e}}function gs(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Dp(e,t,n){let{reference:r,floating:o}=e;const s=oi(t),i=Vf(t),a=Bf(i),l=Sn(t),c=s==="y",f=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let h;switch(l){case"top":h={x:f,y:r.y-o.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:u};break;case"left":h={x:r.x-o.width,y:u};break;default:h={x:r.x,y:r.y}}switch(en(t)){case"start":h[i]-=d*(n&&c?-1:1);break;case"end":h[i]+=d*(n&&c?-1:1);break}return h}const x$=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:u}=Dp(c,r,l),d=r,h={},p=0;for(let m=0;m<a.length;m++){const{name:_,fn:b}=a[m],{x:v,y:g,data:y,reset:w}=await b({x:f,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});if(f=v??f,u=g??u,h={...h,[_]:{...h[_],...y}},w&&p<=50){p++,typeof w=="object"&&(w.placement&&(d=w.placement),w.rects&&(c=w.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:f,y:u}=Dp(c,d,l)),m=-1;continue}}return{x:f,y:u,placement:d,strategy:o,middlewareData:h}};async function yl(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:h=0}=ro(t,e),p=wy(h),_=a[d?u==="floating"?"reference":"floating":u],b=gs(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(_)))==null||n?_:_.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:f,strategy:l})),v=u==="floating"?{...i.floating,x:r,y:o}:i.reference,g=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),y=await(s.isElement==null?void 0:s.isElement(g))?await(s.getScale==null?void 0:s.getScale(g))||{x:1,y:1}:{x:1,y:1},w=gs(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:g,strategy:l}):v);return{top:(b.top-w.top+p.top)/y.y,bottom:(w.bottom-b.bottom+p.bottom)/y.y,left:(b.left-w.left+p.left)/y.x,right:(w.right-b.right+p.right)/y.x}}const A$=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a}=t,{element:l,padding:c=0}=ro(e,t)||{};if(l==null)return{};const f=wy(c),u={x:n,y:r},d=Vf(o),h=Bf(d),p=await i.getDimensions(l),m=d==="y",_=m?"top":"left",b=m?"bottom":"right",v=m?"clientHeight":"clientWidth",g=s.reference[h]+s.reference[d]-u[d]-s.floating[h],y=u[d]-s.reference[d],w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let C=w?w[v]:0;(!C||!await(i.isElement==null?void 0:i.isElement(w)))&&(C=a.floating[v]||s.floating[h]);const k=g/2-y/2,M=C/2-p[h]/2-1,L=Ds(f[_],M),R=Ds(f[b],M),$=L,T=C-p[h]-R,x=C/2-p[h]/2+k,A=du($,x,T),O=en(o)!=null&&x!=A&&s.reference[h]/2-(x<$?L:R)-p[h]/2<0?x<$?$-x:T-x:0;return{[d]:u[d]-O,data:{[d]:A,centerOffset:x-A+O}}}});function R$(e,t,n){return(e?[...n.filter(o=>en(o)===e),...n.filter(o=>en(o)!==e)]:n.filter(o=>Sn(o)===o)).filter(o=>e?en(o)===e||(t?Ra(o)!==o:!1):!0)}const O$=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:s,middlewareData:i,placement:a,platform:l,elements:c}=t,{crossAxis:f=!1,alignment:u,allowedPlacements:d=Lp,autoAlignment:h=!0,...p}=ro(e,t),m=u!==void 0||d===Lp?R$(u||null,h,d):d,_=await yl(t,p),b=((n=i.autoPlacement)==null?void 0:n.index)||0,v=m[b];if(v==null)return{};const g=by(v,s,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:m[0]}};const y=[_[Sn(v)],_[g[0]],_[g[1]]],w=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:v,overflows:y}],C=m[b+1];if(C)return{data:{index:b+1,overflows:w},reset:{placement:C}};const k=w.map(R=>{const $=en(R.placement);return[R.placement,$&&f?R.overflows.slice(0,2).reduce((T,x)=>T+x,0):R.overflows[0],R.overflows]}).sort((R,$)=>R[1]-$[1]),L=((o=k.filter(R=>R[2].slice(0,en(R[0])?2:3).every($=>$<=0))[0])==null?void 0:o[0])||k[0][0];return L!==a?{data:{index:b+1,overflows:w},reset:{placement:L}}:{}}}},P$=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:s,initialPlacement:i,platform:a,elements:l}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...m}=ro(e,t),_=Sn(r),b=Sn(i)===i,v=await(a.isRTL==null?void 0:a.isRTL(l.floating)),g=u||(b||!p?[Oa(i)]:E$(i));!u&&h!=="none"&&g.push(...T$(i,p,h,v));const y=[i,...g],w=await yl(t,m),C=[];let k=((n=o.flip)==null?void 0:n.overflows)||[];if(c&&C.push(w[_]),f){const $=by(r,s,v);C.push(w[$[0]],w[$[1]])}if(k=[...k,{placement:r,overflows:C}],!C.every($=>$<=0)){var M,L;const $=(((M=o.flip)==null?void 0:M.index)||0)+1,T=y[$];if(T)return{data:{index:$,overflows:k},reset:{placement:T}};let x=(L=k.filter(A=>A.overflows[0]<=0).sort((A,I)=>A.overflows[1]-I.overflows[1])[0])==null?void 0:L.placement;if(!x)switch(d){case"bestFit":{var R;const A=(R=k.map(I=>[I.placement,I.overflows.filter(O=>O>0).reduce((O,P)=>O+P,0)]).sort((I,O)=>I[1]-O[1])[0])==null?void 0:R[0];A&&(x=A);break}case"initialPlacement":x=i;break}if(r!==x)return{reset:{placement:x}}}return{}}}};async function k$(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Sn(n),a=en(n),l=oi(n)==="y",c=["left","top"].includes(i)?-1:1,f=s&&l?-1:1,u=ro(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return a&&typeof p=="number"&&(h=a==="end"?p*-1:p),l?{x:h*f,y:d*c}:{x:d*c,y:h*f}}const I$=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await k$(t,e);return{x:n+o.x,y:r+o.y,data:o}}}},N$=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:_=>{let{x:b,y:v}=_;return{x:b,y:v}}},...l}=ro(e,t),c={x:n,y:r},f=await yl(t,l),u=oi(Sn(o)),d=yy(u);let h=c[d],p=c[u];if(s){const _=d==="y"?"top":"left",b=d==="y"?"bottom":"right",v=h+f[_],g=h-f[b];h=du(v,h,g)}if(i){const _=u==="y"?"top":"left",b=u==="y"?"bottom":"right",v=p+f[_],g=p-f[b];p=du(v,p,g)}const m=a.fn({...t,[d]:h,[u]:p});return{...m,data:{x:m.x-n,y:m.y-r}}}}},$$=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:s}=t,{apply:i=()=>{},...a}=ro(e,t),l=await yl(t,a),c=Sn(n),f=en(n),u=oi(n)==="y",{width:d,height:h}=r.floating;let p,m;c==="top"||c==="bottom"?(p=c,m=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(m=c,p=f==="end"?"top":"bottom");const _=h-l[p],b=d-l[m],v=!t.middlewareData.shift;let g=_,y=b;if(u){const C=d-l.left-l.right;y=f||v?Ds(b,C):C}else{const C=h-l.top-l.bottom;g=f||v?Ds(_,C):C}if(v&&!f){const C=kr(l.left,0),k=kr(l.right,0),M=kr(l.top,0),L=kr(l.bottom,0);u?y=d-2*(C!==0||k!==0?C+k:kr(l.left,l.right)):g=h-2*(M!==0||L!==0?M+L:kr(l.top,l.bottom))}await i({...t,availableWidth:y,availableHeight:g});const w=await o.getDimensions(s.floating);return d!==w.width||h!==w.height?{reset:{rects:!0}}:{}}}};function zt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function vn(e){return zt(e).getComputedStyle(e)}const Mp=Math.min,_s=Math.max,Pa=Math.round;function Ey(e){const t=vn(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,s=e.offsetHeight,i=Pa(n)!==o||Pa(r)!==s;return i&&(n=o,r=s),{width:n,height:r,fallback:i}}function hr(e){return Ty(e)?(e.nodeName||"").toLowerCase():""}let Pi;function Sy(){if(Pi)return Pi;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Pi=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Pi):navigator.userAgent}function yn(e){return e instanceof zt(e).HTMLElement}function lr(e){return e instanceof zt(e).Element}function Ty(e){return e instanceof zt(e).Node}function Fp(e){return typeof ShadowRoot>"u"?!1:e instanceof zt(e).ShadowRoot||e instanceof ShadowRoot}function bl(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=vn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function L$(e){return["table","td","th"].includes(hr(e))}function hu(e){const t=/firefox/i.test(Sy()),n=vn(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 s=n.contain;return s!=null&&s.includes(o)})}function Cy(){return!/^((?!chrome|android).)*safari/i.test(Sy())}function Uf(e){return["html","body","#document"].includes(hr(e))}function xy(e){return lr(e)?e:e.contextElement}const Ay={x:1,y:1};function To(e){const t=xy(e);if(!yn(t))return Ay;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:s}=Ey(t);let i=(s?Pa(n.width):n.width)/r,a=(s?Pa(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Ms(e,t,n,r){var o,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=xy(e);let l=Ay;t&&(r?lr(r)&&(l=To(r)):l=To(e));const c=a?zt(a):window,f=!Cy()&&n;let u=(i.left+(f&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/l.x,d=(i.top+(f&&((s=c.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,h=i.width/l.x,p=i.height/l.y;if(a){const m=zt(a),_=r&&lr(r)?zt(r):r;let b=m.frameElement;for(;b&&r&&_!==m;){const v=To(b),g=b.getBoundingClientRect(),y=getComputedStyle(b);g.x+=(b.clientLeft+parseFloat(y.paddingLeft))*v.x,g.y+=(b.clientTop+parseFloat(y.paddingTop))*v.y,u*=v.x,d*=v.y,h*=v.x,p*=v.y,u+=g.x,d+=g.y,b=zt(b).frameElement}}return{width:h,height:p,top:d,right:u+h,bottom:d+p,left:u,x:u,y:d}}function cr(e){return((Ty(e)?e.ownerDocument:e.document)||window.document).documentElement}function wl(e){return lr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ry(e){return Ms(cr(e)).left+wl(e).scrollLeft}function Fs(e){if(hr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Fp(e)&&e.host||cr(e);return Fp(t)?t.host:t}function Oy(e){const t=Fs(e);return Uf(t)?t.ownerDocument.body:yn(t)&&bl(t)?t:Oy(t)}function ka(e,t){var n;t===void 0&&(t=[]);const r=Oy(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=zt(r);return o?t.concat(s,s.visualViewport||[],bl(r)?r:[]):t.concat(r,ka(r))}function Bp(e,t,n){return t==="viewport"?gs(function(r,o){const s=zt(r),i=cr(r),a=s.visualViewport;let l=i.clientWidth,c=i.clientHeight,f=0,u=0;if(a){l=a.width,c=a.height;const d=Cy();(d||!d&&o==="fixed")&&(f=a.offsetLeft,u=a.offsetTop)}return{width:l,height:c,x:f,y:u}}(e,n)):lr(t)?gs(function(r,o){const s=Ms(r,!0,o==="fixed"),i=s.top+r.clientTop,a=s.left+r.clientLeft,l=yn(r)?To(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:i*l.y}}(t,n)):gs(function(r){const o=cr(r),s=wl(r),i=r.ownerDocument.body,a=_s(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=_s(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let c=-s.scrollLeft+Ry(r);const f=-s.scrollTop;return vn(i).direction==="rtl"&&(c+=_s(o.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:f}}(cr(e)))}function Vp(e){return yn(e)&&vn(e).position!=="fixed"?e.offsetParent:null}function Up(e){const t=zt(e);let n=Vp(e);for(;n&&L$(n)&&vn(n).position==="static";)n=Vp(n);return n&&(hr(n)==="html"||hr(n)==="body"&&vn(n).position==="static"&&!hu(n))?t:n||function(r){let o=Fs(r);for(;yn(o)&&!Uf(o);){if(hu(o))return o;o=Fs(o)}return null}(e)||t}function D$(e,t,n){const r=yn(t),o=cr(t),s=Ms(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((hr(t)!=="body"||bl(o))&&(i=wl(t)),yn(t)){const l=Ms(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else o&&(a.x=Ry(o));return{x:s.left+i.scrollLeft-a.x,y:s.top+i.scrollTop-a.y,width:s.width,height:s.height}}const M$={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=n==="clippingAncestors"?function(c,f){const u=f.get(c);if(u)return u;let d=ka(c).filter(_=>lr(_)&&hr(_)!=="body"),h=null;const p=vn(c).position==="fixed";let m=p?Fs(c):c;for(;lr(m)&&!Uf(m);){const _=vn(m),b=hu(m);(p?b||h:b||_.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=_:d=d.filter(v=>v!==m),m=Fs(m)}return f.set(c,d),d}(t,this._c):[].concat(n),i=[...s,r],a=i[0],l=i.reduce((c,f)=>{const u=Bp(t,f,o);return c.top=_s(u.top,c.top),c.right=Mp(u.right,c.right),c.bottom=Mp(u.bottom,c.bottom),c.left=_s(u.left,c.left),c},Bp(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=yn(n),s=cr(n);if(n===s)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((o||!o&&r!=="fixed")&&((hr(n)!=="body"||bl(s))&&(i=wl(n)),yn(n))){const c=Ms(n);a=To(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+l.x,y:t.y*a.y-i.scrollTop*a.y+l.y}},isElement:lr,getDimensions:function(e){return yn(e)?Ey(e):e.getBoundingClientRect()},getOffsetParent:Up,getDocumentElement:cr,getScale:To,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Up,s=this.getDimensions;return{reference:D$(t,await o(n),r),floating:{x:0,y:0,...await s(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>vn(e).direction==="rtl"},F$=(e,t,n)=>{const r=new Map,o={platform:M$,...n},s={...o.platform,_c:r};return x$(e,t,{...o,platform:s})};function Py(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Py(e[n],t[n]):e[n]=t[n])}const kn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:0,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Bs(e,t){let n=kn.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=kn.themes[n.$extend]||{}:(n=null,r=kn[t]):n=null;while(n);return r}function B$(e){const t=[e];let n=kn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=kn.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Hp(e){const t=[e];let n=kn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=kn.themes[n.$extend]||{}):n=null;while(n);return t}let Zr=!1;if(typeof window<"u"){Zr=!1;try{const e=Object.defineProperty({},"passive",{get(){Zr=!0}});window.addEventListener("test",null,e)}catch{}}let ky=!1;typeof window<"u"&&typeof navigator<"u"&&(ky=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Iy=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),jp={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},zp={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Gp(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function ac(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Jt=[];let Ar=null;const Kp={};function Wp(e){let t=Kp[e];return t||(t=Kp[e]=[]),t}let pu=function(){};typeof window<"u"&&(pu=window.Element);function ke(e){return function(t){return Bs(t.theme,e)}}const lc="__floating-vue__popper",Ny=()=>Re({name:"VPopper",provide(){return{[lc]:{parentPopper:this}}},inject:{[lc]:{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:ke("disabled")},positioningDisabled:{type:Boolean,default:ke("positioningDisabled")},placement:{type:String,default:ke("placement"),validator:e=>Iy.includes(e)},delay:{type:[String,Number,Object],default:ke("delay")},distance:{type:[Number,String],default:ke("distance")},skidding:{type:[Number,String],default:ke("skidding")},triggers:{type:Array,default:ke("triggers")},showTriggers:{type:[Array,Function],default:ke("showTriggers")},hideTriggers:{type:[Array,Function],default:ke("hideTriggers")},popperTriggers:{type:Array,default:ke("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ke("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ke("popperHideTriggers")},container:{type:[String,Object,pu,Boolean],default:ke("container")},boundary:{type:[String,pu],default:ke("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ke("strategy")},autoHide:{type:[Boolean,Function],default:ke("autoHide")},handleResize:{type:Boolean,default:ke("handleResize")},instantMove:{type:Boolean,default:ke("instantMove")},eagerMount:{type:Boolean,default:ke("eagerMount")},popperClass:{type:[String,Array,Object],default:ke("popperClass")},computeTransformOrigin:{type:Boolean,default:ke("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ke("autoMinSize")},autoSize:{type:[Boolean,String],default:ke("autoSize")},autoMaxSize:{type:Boolean,default:ke("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ke("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ke("preventOverflow")},overflowPadding:{type:[Number,String],default:ke("overflowPadding")},arrowPadding:{type:[Number,String],default:ke("arrowPadding")},arrowOverflow:{type:Boolean,default:ke("arrowOverflow")},flip:{type:Boolean,default:ke("flip")},shift:{type:Boolean,default:ke("shift")},shiftCrossAxis:{type:Boolean,default:ke("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ke("noAutoFocus")},disposeTimeout:{type:Number,default:ke("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},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[lc])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,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(I$({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(O$({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(N$({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(P$({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:s})=>{let i;const{centerOffset:a}=s.arrow;return r.startsWith("top")||r.startsWith("bottom")?i=Math.abs(a)>o.reference.width/2:i=Math.abs(a)>o.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:s,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let l,c;return s.startsWith("top")||s.startsWith("bottom")?l=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}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($$({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 F$(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ar&&this.instantMove&&Ar.instantMove&&Ar!==this.parentPopper){Ar.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ar=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 ac(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ka(this.$_referenceNode),...ka(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),s=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${s}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<Jt.length;n++)t=Jt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Jt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Hp(this.theme))Wp(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 ac(),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,Gp(Jt,this),Jt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Hp(this.theme)){const r=Wp(n);Gp(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ar===this&&(Ar=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 ac(),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,jp,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],jp,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,zp,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],zp,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,Zr?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let s=n;r!=null&&(s=typeof r=="function"?r(s):r),s.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:s}=n;!e||e===o?r.forEach(i=>i.removeEventListener(o,s)):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(vs>=e.left&&vs<=e.right&&ys>=e.top&&ys<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=vs-zn,r=ys-Gn,o=t.left+t.width/2-zn+(t.top+t.height/2)-Gn+t.width+t.height,s=zn+n*o,i=Gn+r*o;return ki(zn,Gn,s,i,t.left,t.top,t.left,t.bottom)||ki(zn,Gn,s,i,t.left,t.top,t.right,t.top)||ki(zn,Gn,s,i,t.right,t.top,t.right,t.bottom)||ki(zn,Gn,s,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(ky?(document.addEventListener("touchstart",qp,Zr?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",U$,Zr?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",qp,!0),window.addEventListener("click",V$,!0)),window.addEventListener("resize",z$));function qp(e){for(let t=0;t<Jt.length;t++){const n=Jt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function V$(e){$y(e)}function U$(e){$y(e,!0)}function $y(e,t=!1){const n={};for(let r=Jt.length-1;r>=0;r--){const o=Jt[r];try{const s=o.$_containsGlobalTarget=H$(o,e);o.$_pendingHide=!1,requestAnimationFrame(()=>{if(o.$_pendingHide=!1,!n[o.randomId]&&Xp(o,s,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let a=o.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=o.parentPopper;for(;i&&Xp(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function H$(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Xp(e,t,n){return n.closeAllPopover||n.closePopover&&t||j$(e,n)&&!t}function j$(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function z$(e){for(let t=0;t<Jt.length;t++)Jt[t].$_computePosition(e)}let zn=0,Gn=0,vs=0,ys=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{zn=vs,Gn=ys,vs=e.clientX,ys=e.clientY},Zr?{passive:!0}:void 0);function ki(e,t,n,r,o,s,i,a){const l=((i-o)*(t-s)-(a-s)*(e-o))/((a-s)*(n-e)-(i-o)*(r-t)),c=((n-e)*(t-s)-(r-t)*(e-o))/((a-s)*(n-e)-(i-o)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const G$={extends:Ny()},El=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function K$(e,t,n,r,o,s){return Z(),ye("div",{ref:"reference",class:nt(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[it(e.$slots,"default",Bu(Ja(e.slotData)))],2)}const W$=El(G$,[["render",K$]]);function q$(){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 zi;function mu(){mu.init||(mu.init=!0,zi=q$()!==-1)}var Sl={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){mu(),Tt(()=>{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",zi&&this.$el.appendChild(e),e.data="about:blank",zi||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&&(!zi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const X$=sw();rw("data-v-b329ee4c");const Y$={class:"resize-observer",tabindex:"-1"};ow();const Z$=X$((e,t,n,r,o,s)=>(Z(),Ae("div",Y$)));Sl.render=Z$;Sl.__scopeId="data-v-b329ee4c";Sl.__file="src/components/ResizeObserver.vue";const Ly=(e="theme")=>({computed:{themeClass(){return B$(this[e])}}}),J$=Re({name:"VPopperContent",components:{ResizeObserver:Sl},mixins:[Ly()],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}}}),Q$=["id","aria-hidden","tabindex","data-popper-placement"],eL={ref:"inner",class:"v-popper__inner"},tL=W("div",{class:"v-popper__arrow-outer"},null,-1),nL=W("div",{class:"v-popper__arrow-inner"},null,-1),rL=[tL,nL];function oL(e,t,n,r,o,s){const i=wn("ResizeObserver");return Z(),ye("div",{id:e.popperId,ref:"popover",class:nt(["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:_n(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]=n0(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[W("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),W("div",{class:"v-popper__wrapper",style:_n(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[W("div",eL,[e.mounted?(Z(),ye($e,{key:0},[W("div",null,[it(e.$slots,"default")]),e.handleResize?(Z(),Ae(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ye("",!0)],64)):Ye("",!0)],512),W("div",{ref:"arrow",class:"v-popper__arrow-container",style:_n(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},rL,4)],4)],46,Q$)}const Dy=El(J$,[["render",oL]]),My={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 gu=function(){};typeof window<"u"&&(gu=window.Element);const sL=Re({name:"VPopperWrapper",components:{Popper:W$,PopperContent:Dy},mixins:[My,Ly("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,gu,Boolean],default:void 0},boundary:{type:[String,gu],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 iL(e,t,n,r,o,s){const i=wn("PopperContent"),a=wn("Popper");return Z(),Ae(a,$n({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]=l=>e.$emit("update:shown",l)),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:fe(({popperId:l,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:d,show:h,hide:p,handleResize:m,onResize:_,classes:b,result:v})=>[it(e.$slots,"default",{shown:c,show:h,hide:p}),Y(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:f,"skip-transition":u,"auto-hide":d,"handle-resize":m,classes:b,result:v,onHide:p,onResize:_},{default:fe(()=>[it(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Hf=El(sL,[["render",iL]]),aL={...Hf,name:"VDropdown",vPopperTheme:"dropdown"},lL={...Hf,name:"VMenu",vPopperTheme:"menu"},cL={...Hf,name:"VTooltip",vPopperTheme:"tooltip"},uL=Re({name:"VTooltipDirective",components:{Popper:Ny(),PopperContent:Dy},mixins:[My],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Bs(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Bs(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}}}),fL=["innerHTML"],dL=["textContent"];function hL(e,t,n,r,o,s){const i=wn("PopperContent"),a=wn("Popper");return Z(),Ae(a,$n({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:fe(({popperId:l,isShown:c,shouldMountContent:f,skipTransition:u,autoHide:d,hide:h,handleResize:p,onResize:m,classes:_,result:b})=>[Y(i,{ref:"popperContent",class:nt({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:f,"skip-transition":u,"auto-hide":d,"handle-resize":p,classes:_,result:b,onHide:h,onResize:m},{default:fe(()=>[e.html?(Z(),ye("div",{key:0,innerHTML:e.finalContent},null,8,fL)):(Z(),ye("div",{key:1,textContent:gt(e.finalContent)},null,8,dL))]),_: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 pL=El(uL,[["render",hL]]),Fy="v-popper--has-tooltip";function mL(e,t){let n=e.placement;if(!n&&t)for(const r of Iy)t[r]&&(n=r);return n||(n=Bs(e.theme||"tooltip","placement")),n}function By(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=mL(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let cc,Vs,gL=0;function _L(){if(cc)return;Vs=z([]),cc=o0({name:"VTooltipDirectiveApp",setup(){return{directives:Vs}},render(){return this.directives.map(t=>Qe(pL,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),cc.mount(e)}function vL(e,t,n){_L();const r=z(By(e,t,n)),o=z(!1),s={id:gL++,options:r,shown:o};return Vs.value.push(s),e.classList&&e.classList.add(Fy),e.$_popper={options:r,item:s,show(){o.value=!0},hide(){o.value=!1}}}function Vy(e){if(e.$_popper){const t=Vs.value.indexOf(e.$_popper.item);t!==-1&&Vs.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Fy)}function Yp(e,{value:t,modifiers:n}){const r=By(e,t,n);if(!r.content||Bs(r.theme||"tooltip","disabled"))Vy(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=vL(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const yL={beforeMount:Yp,updated:Yp,beforeUnmount(e){Vy(e)}};function Zp(e){e.addEventListener("click",Uy),e.addEventListener("touchstart",Hy,Zr?{passive:!0}:!1)}function Jp(e){e.removeEventListener("click",Uy),e.removeEventListener("touchstart",Hy),e.removeEventListener("touchend",jy),e.removeEventListener("touchcancel",zy)}function Uy(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Hy(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",jy),t.addEventListener("touchcancel",zy)}}function jy(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 zy(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const bL={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Zp(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Zp(e):Jp(e))},beforeUnmount(e){Jp(e)}};function wL(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Py(kn,t),e.directive("tooltip",yL),e.directive("close-popper",bL),e.component("VTooltip",cL),e.component("VDropdown",aL),e.component("VMenu",lL))}const EL={version:"5.0.2",install:wL,options:kn},SL=Vt(e=>{e.vueApp.use(EL)}),TL=Vt(()=>{const e=dt(),t=nk(),n=et();function r(){Jg(e),e.value.revision.value+=1}function o(i){t.value=i}function s(i){const a=i.searchParams.get("file");a?Te.openInEditor(a):console.error("[nuxt-devtools] Failed to open file from Vue Inspector",i)}Object.defineProperty(window,"__NUXT_DEVTOOLS_VIEW__",{value:{setClient(i){e.value!==i&&(e.value=i,i.hooks.hook("host:update:reactivity",r),i.hooks.hook("host:inspector:update",o),i.hooks.hook("host:inspector:click",s),i.hooks.hook("host:action:reload",()=>location.reload()),i.hooks.hook("host:action:navigate",a=>n.push(a)),console.log("[nuxt-devtools] Client connected",i))}},enumerable:!1,configurable:!0}),n.afterEach(()=>{const i=n.currentRoute.value?.path;!i||i.includes("__")||e.value?.hooks.callHook("devtools:navigate",i)})});var CL=Object.create,Gy=Object.defineProperty,xL=Object.getOwnPropertyDescriptor,jf=Object.getOwnPropertyNames,AL=Object.getPrototypeOf,RL=Object.prototype.hasOwnProperty,OL=(e,t)=>function(){return e&&(t=(0,e[jf(e)[0]])(e=0)),t},PL=(e,t)=>function(){return t||(0,e[jf(e)[0]])((t={exports:{}}).exports,t),t.exports},kL=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of jf(t))!RL.call(e,o)&&o!==n&&Gy(e,o,{get:()=>t[o],enumerable:!(r=xL(t,o))||r.enumerable});return e},IL=(e,t,n)=>(n=e!=null?CL(AL(e)):{},kL(Gy(n,"default",{value:e,enumerable:!0}),e)),si=OL({"../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.43.0_@types+node@20.14.5__@swc+core@1.5.29_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"(){}}),NL=PL({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){si(),t.exports=r;function n(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function r(s){if(s=s||{},s.circles)return o(s);const i=new Map;if(i.set(Date,u=>new Date(u)),i.set(Map,(u,d)=>new Map(l(Array.from(u),d))),i.set(Set,(u,d)=>new Set(l(Array.from(u),d))),s.constructorHandlers)for(const u of s.constructorHandlers)i.set(u[0],u[1]);let a=null;return s.proto?f:c;function l(u,d){const h=Object.keys(u),p=new Array(h.length);for(let m=0;m<h.length;m++){const _=h[m],b=u[_];typeof b!="object"||b===null?p[_]=b:b.constructor!==Object&&(a=i.get(b.constructor))?p[_]=a(b,d):ArrayBuffer.isView(b)?p[_]=n(b):p[_]=d(b)}return p}function c(u){if(typeof u!="object"||u===null)return u;if(Array.isArray(u))return l(u,c);if(u.constructor!==Object&&(a=i.get(u.constructor)))return a(u,c);const d={};for(const h in u){if(Object.hasOwnProperty.call(u,h)===!1)continue;const p=u[h];typeof p!="object"||p===null?d[h]=p:p.constructor!==Object&&(a=i.get(p.constructor))?d[h]=a(p,c):ArrayBuffer.isView(p)?d[h]=n(p):d[h]=c(p)}return d}function f(u){if(typeof u!="object"||u===null)return u;if(Array.isArray(u))return l(u,f);if(u.constructor!==Object&&(a=i.get(u.constructor)))return a(u,f);const d={};for(const h in u){const p=u[h];typeof p!="object"||p===null?d[h]=p:p.constructor!==Object&&(a=i.get(p.constructor))?d[h]=a(p,f):ArrayBuffer.isView(p)?d[h]=n(p):d[h]=f(p)}return d}}function o(s){const i=[],a=[],l=new Map;if(l.set(Date,h=>new Date(h)),l.set(Map,(h,p)=>new Map(f(Array.from(h),p))),l.set(Set,(h,p)=>new Set(f(Array.from(h),p))),s.constructorHandlers)for(const h of s.constructorHandlers)l.set(h[0],h[1]);let c=null;return s.proto?d:u;function f(h,p){const m=Object.keys(h),_=new Array(m.length);for(let b=0;b<m.length;b++){const v=m[b],g=h[v];if(typeof g!="object"||g===null)_[v]=g;else if(g.constructor!==Object&&(c=l.get(g.constructor)))_[v]=c(g,p);else if(ArrayBuffer.isView(g))_[v]=n(g);else{const y=i.indexOf(g);y!==-1?_[v]=a[y]:_[v]=p(g)}}return _}function u(h){if(typeof h!="object"||h===null)return h;if(Array.isArray(h))return f(h,u);if(h.constructor!==Object&&(c=l.get(h.constructor)))return c(h,u);const p={};i.push(h),a.push(p);for(const m in h){if(Object.hasOwnProperty.call(h,m)===!1)continue;const _=h[m];if(typeof _!="object"||_===null)p[m]=_;else if(_.constructor!==Object&&(c=l.get(_.constructor)))p[m]=c(_,u);else if(ArrayBuffer.isView(_))p[m]=n(_);else{const b=i.indexOf(_);b!==-1?p[m]=a[b]:p[m]=u(_)}}return i.pop(),a.pop(),p}function d(h){if(typeof h!="object"||h===null)return h;if(Array.isArray(h))return f(h,d);if(h.constructor!==Object&&(c=l.get(h.constructor)))return c(h,d);const p={};i.push(h),a.push(p);for(const m in h){const _=h[m];if(typeof _!="object"||_===null)p[m]=_;else if(_.constructor!==Object&&(c=l.get(_.constructor)))p[m]=c(_,d);else if(ArrayBuffer.isView(_))p[m]=n(_);else{const b=i.indexOf(_);b!==-1?p[m]=a[b]:p[m]=d(_)}}return i.pop(),a.pop(),p}}}});si();si();var zf=typeof navigator<"u",J=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof J.chrome<"u"&&J.chrome.devtools;zf&&(J.self,J.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");var $L=typeof window<"u"&&!!window.__NUXT__;si();var LL=IL(NL()),DL=/(?:^|[-_/])(\w)/g,ML=/-(\w)/g,FL=/([a-z0-9])([A-Z])/g;function Ky(e,t){return t?t.toUpperCase():""}function Wy(e){return e&&`${e}`.replace(DL,Ky)}function BL(e){return e&&e.replace(ML,Ky)}function VL(e){return e&&e.replace(FL,(t,n,r)=>`${n}-${r}`).toLowerCase()}function UL(e,t){const n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/"),r=n.lastIndexOf("/"),o=n.substring(r+1);{const s=o.lastIndexOf(t);return o.substring(0,s)}}var Qp=(0,LL.default)({circles:!0});si();const HL={trailing:!0};function $o(e,t=25,n={}){if(n={...HL,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,s=[],i,a;const l=(c,f)=>(i=jL(e,c,f),i.finally(()=>{if(i=null,n.trailing&&a&&!o){const u=l(c,a);return a=null,u}}),i);return function(...c){return i?(n.trailing&&(a=c),i):new Promise(f=>{const u=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const d=n.leading?r:l(this,c);for(const h of s)h(d);s=[]},t),u?(r=l(this,c),f(r)):s.push(f)})}}async function jL(e,t,n){return await e.apply(t,n)}var zL=Object.create,qy=Object.defineProperty,GL=Object.getOwnPropertyDescriptor,Gf=Object.getOwnPropertyNames,KL=Object.getPrototypeOf,WL=Object.prototype.hasOwnProperty,qL=(e,t)=>function(){return e&&(t=(0,e[Gf(e)[0]])(e=0)),t},Xy=(e,t)=>function(){return t||(0,e[Gf(e)[0]])((t={exports:{}}).exports,t),t.exports},XL=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Gf(t))!WL.call(e,o)&&o!==n&&qy(e,o,{get:()=>t[o],enumerable:!(r=GL(t,o))||r.enumerable});return e},YL=(e,t,n)=>(n=e!=null?zL(KL(e)):{},XL(qy(n,"default",{value:e,enumerable:!0}),e)),G=qL({"../../node_modules/.pnpm/tsup@8.1.0_@microsoft+api-extractor@7.43.0_@types+node@20.14.5__@swc+core@1.5.29_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"(){}}),ZL=Xy({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){G(),function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},o=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},a={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),f=[".","!","~","*","'","(",")"].join(""),u=function(_,b){var v="-",g="",y="",w=!0,C={},k,M,L,R,$,T,x,A,I,O,P,D,H,ne,he="";if(typeof _!="string")return"";if(typeof b=="string"&&(v=b),x=a.en,A=i.en,typeof b=="object"){k=b.maintainCase||!1,C=b.custom&&typeof b.custom=="object"?b.custom:C,L=+b.truncate>1&&b.truncate||!1,R=b.uric||!1,$=b.uricNoSlash||!1,T=b.mark||!1,w=!(b.symbols===!1||b.lang===!1),v=b.separator||v,R&&(he+=l),$&&(he+=c),T&&(he+=f),x=b.lang&&a[b.lang]&&w?a[b.lang]:w?a.en:{},A=b.lang&&i[b.lang]?i[b.lang]:b.lang===!1||b.lang===!0?{}:i.en,b.titleCase&&typeof b.titleCase.length=="number"&&Array.prototype.toString.call(b.titleCase)?(b.titleCase.forEach(function(re){C[re+""]=re+""}),M=!0):M=!!b.titleCase,b.custom&&typeof b.custom.length=="number"&&Array.prototype.toString.call(b.custom)&&b.custom.forEach(function(re){C[re+""]=re+""}),Object.keys(C).forEach(function(re){var ve;re.length>1?ve=new RegExp("\\b"+h(re)+"\\b","gi"):ve=new RegExp(h(re),"gi"),_=_.replace(ve,C[re])});for(P in C)he+=P}for(he+=v,he=h(he),_=_.replace(/(^\s+|\s+$)/g,""),H=!1,ne=!1,O=0,D=_.length;O<D;O++)P=_[O],p(P,C)?H=!1:A[P]?(P=H&&A[P].match(/[A-Za-z0-9]/)?" "+A[P]:A[P],H=!1):P in r?(O+1<D&&o.indexOf(_[O+1])>=0?(y+=P,P=""):ne===!0?(P=s[y]+r[P],y=""):P=H&&r[P].match(/[A-Za-z0-9]/)?" "+r[P]:r[P],H=!1,ne=!1):P in s?(y+=P,P="",O===D-1&&(P=s[y]),ne=!0):x[P]&&!(R&&l.indexOf(P)!==-1)&&!($&&c.indexOf(P)!==-1)?(P=H||g.substr(-1).match(/[A-Za-z0-9]/)?v+x[P]:x[P],P+=_[O+1]!==void 0&&_[O+1].match(/[A-Za-z0-9]/)?v:"",H=!0):(ne===!0?(P=s[y]+P,y="",ne=!1):H&&(/[A-Za-z0-9]/.test(P)||g.substr(-1).match(/A-Za-z0-9]/))&&(P=" "+P),H=!1),g+=P.replace(new RegExp("[^\\w\\s"+he+"_-]","g"),v);return M&&(g=g.replace(/(\w)(\S*)/g,function(re,ve,De){var Oe=ve.toUpperCase()+(De!==null?De:"");return Object.keys(C).indexOf(Oe.toLowerCase())<0?Oe:Oe.toLowerCase()})),g=g.replace(/\s+/g,v).replace(new RegExp("\\"+v+"+","g"),v).replace(new RegExp("(^\\"+v+"+|\\"+v+"+$)","g"),""),L&&g.length>L&&(I=g.charAt(L)===v,g=g.slice(0,L),I||(g=g.slice(0,g.lastIndexOf(v)))),!k&&!M&&(g=g.toLowerCase()),g},d=function(_){return function(v){return u(v,_)}},h=function(_){return _.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},p=function(m,_){for(var b in _)if(_[b]===m)return!0};if(typeof t<"u"&&t.exports)t.exports=u,t.exports.createSlug=d;else if(typeof define<"u"&&define.amd)define([],function(){return u});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=u,n.createSlug=d}catch{}}(e)}}),JL=Xy({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){G(),t.exports=ZL()}});G();G();G();G();G();G();G();G();G();G();G();G();G();var em,tm,pt=(tm=(em=J).__VUE_DEVTOOLS_HOOK)!=null?tm:em.__VUE_DEVTOOLS_HOOK=rl(),QL={vueAppInit(e){pt.hook("app:init",e)},vueAppUnmount(e){pt.hook("app:unmount",e)},vueAppConnected(e){pt.hook("app:connected",e)},componentAdded(e){return pt.hook("component:added",e)},componentUpdated(e){return pt.hook("component:updated",e)},componentRemoved(e){return pt.hook("component:removed",e)},setupDevtoolsPlugin(e){pt.hook("devtools-plugin:setup",e)}};function nm(){return{id:"vue-devtools-next",devtoolsVersion:"7.0",enabled:!1,appRecords:[],apps:[],events:new Map,on(e,t){var n;return this.events.has(e)||this.events.set(e,[]),(n=this.events.get(e))==null||n.push(t),()=>this.off(e,t)},once(e,t){const n=(...r)=>{this.off(e,n),t(...r)};return this.on(e,n),[e,n]},off(e,t){if(this.events.has(e)){const n=this.events.get(e),r=n.indexOf(t);r!==-1&&n.splice(r,1)}},emit(e,...t){this.events.has(e)&&this.events.get(e).forEach(n=>n(...t))}}}function eD(){const e=J.__VUE_DEVTOOLS_GLOBAL_HOOK__;e.on("app:init",(t,n)=>{var r,o,s;(s=(o=(r=t?._instance)==null?void 0:r.type)==null?void 0:o.devtools)!=null&&s.hide||pt.callHook("app:init",t,n)}),e.on("app:unmount",t=>{pt.callHook("app:unmount",t)}),e.on("component:added",async(t,n,r,o)=>{var s,i,a;(a=(i=(s=t?._instance)==null?void 0:s.type)==null?void 0:i.devtools)!=null&&a.hide||!t||typeof n!="number"&&!n||!o||pt.callHook("component:added",t,n,r,o)}),e.on("component:updated",(t,n,r,o)=>{!t||typeof n!="number"&&!n||!o||pt.callHook("component:updated",t,n,r,o)}),e.on("component:removed",async(t,n,r,o)=>{!t||typeof n!="number"&&!n||!o||pt.callHook("component:removed",t,n,r,o)}),e.on("devtools-plugin:setup",(t,n,r)=>{r?.target!=="legacy"&&pt.callHook("devtools-plugin:setup",t,n)})}var In={on:QL,setupDevToolsPlugin(e,t){return pt.callHook("devtools-plugin:setup",e,t)}};G();G();G();G();G();function tD(e){return!!(e&&e.__v_isReadonly)}function Yy(e){return tD(e)?Yy(e.__v_raw):!!(e&&e.__v_isReactive)}function uc(e){return!!(e&&e.__v_isRef===!0)}function as(e){const t=e&&e.__v_raw;return t?as(t):e}var nD=Symbol.for("v-fgt");function rD(e){return e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name}function Zy(e){const t=e.__file;if(t)return Wy(UL(t,".vue"))}function oD(e){const t=e.displayName||e.name||e._componentTag;return t||Zy(e)}function rm(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function jr(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}async function Gi(e){const{app:t,uid:n,instance:r}=e;try{if(r.__VUE_DEVTOOLS_NEXT_UID__)return r.__VUE_DEVTOOLS_NEXT_UID__;const o=await jr(t);if(!o)return null;const s=o.rootInstance===r;return`${o.id}:${s?"root":n}`}catch{}}function Kf(e){var t;return((t=e.subTree)==null?void 0:t.type)===nD}function fc(e){return e._isBeingDestroyed||e.isUnmounted}function vr(e){var t,n,r;const o=rD(e?.type||{});if(o)return o;if(e?.root===e)return"Root";for(const i in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[i]===e?.type)return rm(e,i);for(const i in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[i]===e?.type)return rm(e,i);const s=Zy(e?.type||{});return s||"Anonymous Component"}function Jy(e){var t,n,r;const o=(r=(n=(t=e?.appContext)==null?void 0:t.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?r:0,s=e===e?.root?"root":e.uid;return`${o}:${s}`}function sD(e){return e==null?"":typeof e=="number"?e:typeof e=="string"?`'${e}'`:Array.isArray(e)?"Array":"Object"}function yr(e){try{return e()}catch(t){return t}}function Lo(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}G();function Us(e){return Kf(e)?iD(e.subTree):e.subTree?[e.subTree.el]:[]}function iD(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...Us(n.component)):n?.el&&t.push(n.el)}),t}G();function aD(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var Ii;function lD(e){return Ii||(Ii=document.createRange()),Ii.selectNode(e),Ii.getBoundingClientRect()}function cD(e){const t=aD();if(!e.children)return t;for(let n=0,r=e.children.length;n<r;n++){const o=e.children[n];let s;if(o.component)s=Jr(o.component);else if(o.el){const i=o.el;i.nodeType===1||i.getBoundingClientRect?s=i.getBoundingClientRect():i.nodeType===3&&i.data.trim()&&(s=lD(i))}s&&uD(t,s)}return t}function uD(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var om={top:0,left:0,right:0,bottom:0,width:0,height:0};function Jr(e){const t=e.subTree.el;return typeof window>"u"?om:Kf(e)?cD(e.subTree):t?.nodeType===1?t?.getBoundingClientRect():e.subTree.component?Jr(e.subTree.component):om}var Qy="__vue-devtools-component-inspector__",e1="__vue-devtools-component-inspector__card__",t1="__vue-devtools-component-inspector__name__",n1="__vue-devtools-component-inspector__indicator__",r1={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},fD={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},dD={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function Wo(){return document.getElementById(Qy)}function hD(){return document.getElementById(e1)}function pD(){return document.getElementById(n1)}function mD(){return document.getElementById(t1)}function Wf(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function qf(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:Qy,Object.assign(n.style,{...r1,...Wf(e.bounds),...e.style});const r=document.createElement("span");r.id=e1,Object.assign(r.style,{...fD,top:e.bounds.top<35?0:"-35px"});const o=document.createElement("span");o.id=t1,o.innerHTML=`&lt;${e.name}&gt;&nbsp;&nbsp;`;const s=document.createElement("i");return s.id=n1,s.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(s.style,dD),r.appendChild(o),r.appendChild(s),n.appendChild(r),document.body.appendChild(n),n}function Xf(e){const t=Wo(),n=hD(),r=mD(),o=pD();t&&(Object.assign(t.style,{...r1,...Wf(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),r.innerHTML=`&lt;${e.name}&gt;&nbsp;&nbsp;`,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function gD(e){const t=Jr(e),n=vr(e);Wo()?Xf({bounds:t,name:n}):qf({bounds:t,name:n})}function o1(){const e=Wo();e&&(e.style.display="none")}var _u=null;function vu(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(_u=n,n.vnode.el)){const o=Jr(n),s=vr(n);Wo()?Xf({bounds:o,name:s}):qf({bounds:o,name:s})}}}function _D(e,t){var n;if(e.preventDefault(),e.stopPropagation(),_u){const r=(n=He.value)==null?void 0:n.app;Gi({app:r,uid:r.uid,instance:_u}).then(o=>{t(o)})}}var Ia=null;function vD(){o1(),window.removeEventListener("mouseover",vu),window.removeEventListener("click",Ia,!0),Ia=null}function yD(){return window.addEventListener("mouseover",vu),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),_D(n,r=>{window.removeEventListener("click",t,!0),Ia=null,window.removeEventListener("mouseover",vu);const o=Wo();o&&(o.style.display="none"),e(JSON.stringify({id:r}))})}Ia=t,window.addEventListener("click",t,!0)})}function bD(e){const t=Lo(He.value,e.id);if(t){const[n]=Us(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=Jr(t),o=document.createElement("div"),s={...Wf(r),position:"absolute"};Object.assign(o.style,s),document.body.appendChild(o),o.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(o)},2e3)}setTimeout(()=>{const r=Jr(t);if(r.width||r.height){const o=vr(t),s=Wo();s?Xf({...e,name:o,bounds:r}):qf({...e,name:o,bounds:r}),setTimeout(()=>{s&&(s.style.display="none")},1500)}},1200)}}G();G();var sm,im;(im=(sm=J).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(sm.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var am,lm;(lm=(am=J).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(am.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var cm,um;(um=(cm=J).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(cm.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var fm,dm;(dm=(fm=J).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(fm.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var hm,pm;(pm=(hm=J).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(hm.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var mn="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function wD(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!1}}var mm,gm;(gm=(mm=J)[mn])!=null||(mm[mn]=wD());var ED=$o(e=>{Ln.hooks.callHook("devtoolsStateUpdated",{state:e})}),SD=$o((e,t)=>{Ln.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})}),pr=new Proxy(globalThis.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?globalThis.__VUE_DEVTOOLS_KIT_APP_RECORDS__:globalThis.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),TD=e=>{J.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[...J.__VUE_DEVTOOLS_KIT_APP_RECORDS__,e]},CD=e=>{J.__VUE_DEVTOOLS_KIT_APP_RECORDS__=pr.value.filter(t=>t.app!==e)},He=new Proxy(globalThis.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?globalThis.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?globalThis.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:globalThis.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function Yf(){ED({...J[mn],appRecords:pr.value,activeAppRecordId:He.id,tabs:J.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:J.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function yu(e){J.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,Yf()}function s1(e){J.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,Yf()}var zr=new Proxy(J[mn],{get(e,t){return t==="appRecords"?pr:t==="activeAppRecordId"?He.id:t==="tabs"?globalThis.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?globalThis.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:J[mn][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...J[mn]},e[t]=n,J[mn][t]=n,!0}});function Ki(e){const t={...J[mn],appRecords:pr.value,activeAppRecordId:He.id};(t.connected!==e.connected&&e.connected||t.clientConnected!==e.clientConnected&&e.clientConnected)&&SD(J[mn],t),Object.assign(J[mn],e),Yf()}function xD(e){Ki({clientConnected:e})}G();var _m,vm;(vm=(_m=J).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(_m.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var i1=new Proxy(J.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function AD(e,t){i1.push({...e,descriptorId:t.id,appRecord:jr(t.app)})}var ym,bm;(bm=(ym=J).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(ym.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var Zf=new Proxy(J.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),a1=$o(()=>{Ln.hooks.callHook("sendInspectorToClient",Jf())});function RD(e,t){Zf.push({options:e,descriptor:t,treeFilter:"",selectedNodeId:"",appRecord:jr(t.app)}),a1()}function Jf(){return Zf.filter(e=>e.descriptor.app===He.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,r=e.options;return{id:r.id,label:r.label,logo:n.logo,icon:`i-ic-baseline-${(t=r?.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage}})}function OD(e){const t=ur(e,He.value.app);if(!t)return;const n=t.descriptor,r=t.options,o=i1.filter(s=>s.descriptorId===n.id).map(s=>({id:s.id,label:s.label,color:s.color}));return{id:r.id,label:r.label,logo:n.logo,packageName:n.packageName,homepage:n.homepage,timelineLayers:o}}function ur(e,t){return Zf.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function wm(e){const t=ur(e);return t?.options.actions}function Em(e){const t=ur(e);return t?.options.nodeActions}var l1=(e=>(e.ADD_INSPECTOR="addInspector",e.SEND_INSPECTOR_TREE="sendInspectorTree",e.SEND_INSPECTOR_STATE="sendInspectorState",e.CUSTOM_INSPECTOR_SELECT_NODE="customInspectorSelectNode",e.TIMELINE_LAYER_ADDED="timelineLayerAdded",e.TIMELINE_EVENT_ADDED="timelineEventAdded",e.GET_COMPONENT_INSTANCES="getComponentInstances",e.GET_COMPONENT_BOUNDS="getComponentBounds",e.GET_COMPONENT_NAME="getComponentName",e.COMPONENT_HIGHLIGHT="componentHighlight",e.COMPONENT_UNHIGHLIGHT="componentUnhighlight",e))(l1||{}),Kn=(e=>(e.SEND_INSPECTOR_TREE_TO_CLIENT="sendInspectorTreeToClient",e.SEND_INSPECTOR_STATE_TO_CLIENT="sendInspectorStateToClient",e.SEND_TIMELINE_EVENT_TO_CLIENT="sendTimelineEventToClient",e.SEND_INSPECTOR_TO_CLIENT="sendInspectorToClient",e.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT="sendActiveAppUpdatedToClient",e.DEVTOOLS_STATE_UPDATED="devtoolsStateUpdated",e.DEVTOOLS_CONNECTED_UPDATED="devtoolsConnectedUpdated",e.ROUTER_INFO_UPDATED="routerInfoUpdated",e))(Kn||{});function PD(){const e=rl();return e.hook("addInspector",({inspector:t,plugin:n})=>{RD(t,n.descriptor)}),e.hook("sendInspectorTree",async({inspectorId:t,plugin:n})=>{var r;if(!t||!((r=n?.descriptor)!=null&&r.app))return;const o=ur(t,n.descriptor.app),s={app:n.descriptor.app,inspectorId:t,filter:o?.treeFilter||"",rootNodes:[]};await new Promise(i=>{e.callHookWith(async a=>{await Promise.all(a.map(l=>l(s))),i()},"getInspectorTree")}),e.callHookWith(async i=>{await Promise.all(i.map(a=>a({inspectorId:t,rootNodes:s.rootNodes})))},"sendInspectorTreeToClient")}),e.hook("sendInspectorState",async({inspectorId:t,plugin:n})=>{var r;if(!t||!((r=n?.descriptor)!=null&&r.app))return;const o=ur(t,n.descriptor.app),s={app:n.descriptor.app,inspectorId:t,nodeId:o?.selectedNodeId||"",state:null},i={currentTab:`custom-inspector:${t}`};s.nodeId&&await new Promise(a=>{e.callHookWith(async l=>{await Promise.all(l.map(c=>c(s,i))),a()},"getInspectorState")}),e.callHookWith(async a=>{await Promise.all(a.map(l=>l({inspectorId:t,nodeId:s.nodeId,state:s.state})))},"sendInspectorStateToClient")}),e.hook("customInspectorSelectNode",({inspectorId:t,nodeId:n,plugin:r})=>{const o=ur(t,r.descriptor.app);o&&(o.selectedNodeId=n)}),e.hook("timelineLayerAdded",({options:t,plugin:n})=>{AD(t,n.descriptor)}),e.hook("timelineEventAdded",({options:t,plugin:n})=>{e.callHookWith(async r=>{await Promise.all(r.map(o=>o(t)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:t})=>{const n=t.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!n)return null;const r=n.id.toString();return[...n.instanceMap].filter(([s])=>s.split(":")[0]===r).map(([,s])=>s)}),e.hook("getComponentBounds",async({instance:t})=>Jr(t)),e.hook("getComponentName",({instance:t})=>vr(t)),e.hook("componentHighlight",({uid:t})=>{const n=He.value.instanceMap.get(t);n&&gD(n)}),e.hook("componentUnhighlight",()=>{o1()}),e}G();G();var c1=class{constructor(){this.refEditor=new kD}set(e,t,n,r){const o=Array.isArray(t)?t:t.split(".");for(;o.length>1;){const a=o.shift();e instanceof Map&&(e=e.get(a)),e instanceof Set?e=Array.from(e.values())[a]:e=e[a],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const s=o[0],i=this.refEditor.get(e)[s];r?r(e,s,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[s]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let r=0;r<n.length;r++)if(e instanceof Map?e=e.get(n[r]):e=e[n[r]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const r=Array.isArray(t)?t.slice():t.split("."),o=n?2:1;for(;e&&r.length>o;){const s=r.shift();e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,r[0])}createDefaultSetCallback(e){return(t,n,r)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):as(t)instanceof Map?t.delete(n):as(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const o=t[e.newKey||n];this.refEditor.isRef(o)?this.refEditor.set(o,r):as(t)instanceof Map?t.set(e.newKey||n,r):as(t)instanceof Set?t.add(r):t[e.newKey||n]=r}}}},kD=class{set(e,t){if(uc(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(o=>e.add(o));return}const n=Object.keys(t);if(e instanceof Map){const o=new Set(e.keys());n.forEach(s=>{e.set(s,Reflect.get(t,s)),o.delete(s)}),o.forEach(s=>e.delete(s));return}const r=new Set(Object.keys(e));n.forEach(o=>{Reflect.set(e,o,Reflect.get(t,o)),r.delete(o)}),r.forEach(o=>Reflect.deleteProperty(e,o))}}get(e){return uc(e)?e.value:e}isRef(e){return uc(e)||Yy(e)}};async function ID(e,t){const{path:n,nodeId:r,state:o,type:s}=e,i=Lo(He.value,r);if(!i)return;const a=n.slice();let l;i.devtoolsRawSetupState&&Object.keys(i.devtoolsRawSetupState).includes(n[0])&&(l=i.devtoolsRawSetupState),i.data&&Object.keys(i.data).includes(n[0])&&(l=i.data),l&&a&&(o.type,t.set(l,a,o.value,t.createDefaultSetCallback(o)))}var ND=new c1;async function $D(e){ID(e,ND)}G();function LD(e={}){var t;const{file:n,baseUrl:r=window.location.origin,line:o=0,column:s=0}=e;if(n&&zr.vitePluginDetected){const i=(t=J.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?t:r;J.__VUE_INSPECTOR__.openInEditor(i,n,o,s)}}G();G();var Hs="__VUE_DEVTOOLS_ROUTER__",Do="__VUE_DEVTOOLS_ROUTER_INFO__",Sm,Tm;(Tm=(Sm=J)[Do])!=null||(Sm[Do]={currentRoute:null,routes:[]});var Cm,xm;(xm=(Cm=J)[Hs])!=null||(Cm[Hs]={});var DD=new Proxy(J[Do],{get(e,t){return J[Do][t]}}),Am=new Proxy(J[Hs],{get(e,t){if(t==="value")return J[Hs]}});function MD(e){const t=new Map;return(e?.getRoutes()||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function Qf(e){return e.map(t=>{let{path:n,name:r,children:o}=t;return o?.length&&(o=Qf(o)),{path:n,name:r,children:o}})}function FD(e){if(e){const{fullPath:t,hash:n,href:r,path:o,name:s,matched:i,params:a,query:l}=e;return{fullPath:t,hash:n,href:r,path:o,name:s,params:a,query:l,matched:Qf(i)}}return e}function u1(e,t){function n(){var r;const o=(r=e.app)==null?void 0:r.config.globalProperties.$router,s=FD(o?.currentRoute.value),i=Qf(MD(o)),a=console.warn;console.warn=()=>{},J[Do]={currentRoute:s?Qp(s):{},routes:Qp(i)},J[Hs]=o,console.warn=a}n(),In.on.componentUpdated($o(()=>{var r;((r=t.value)==null?void 0:r.app)===e.app&&(n(),Ln.hooks.callHook("routerInfoUpdated",{state:J[Do]}))},200))}G();var Rm,Om;(Om=(Rm=J).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(Rm.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function BD(e){let t=0;const n=setInterval(()=>{J.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function VD(){const e=J.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function UD(){return new Promise(e=>{function t(){VD(),e(J.__VUE_INSPECTOR__)}J.__VUE_INSPECTOR__?t():BD(()=>{t()})})}G();G();G();G();var Pm,km;(km=(Pm=J).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(Pm.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var Tl=new Proxy(J.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function HD(e,t){Tl.push([e,t])}var jD=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;const n=Jf().find(r=>r.packageName===this.plugin.descriptor.packageName);if(n?.id){if(e){const r=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];pt.callHook("component:updated",...r)}else pt.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin})}sendInspectorTree(e){this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}now(){return Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){var t,n,r;function o(s){const i={};return Object.keys(s).forEach(a=>{i[a]=s[a].defaultValue}),i}if(e){const s=(n=(t=Tl.find(i=>i[0].id===e))==null?void 0:t[0])!=null?n:null;return(r=o(s?.settings))!=null?r:o(this.plugin.descriptor.settings)}else return o(this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},zD=jD;G();G();G();var GD=class{constructor(e){this.filter=e||""}isQualified(e){const t=vr(e);return Wy(t).toLowerCase().includes(this.filter)||VL(t).toLowerCase().includes(this.filter)}};function KD(e){return new GD(e)}var WD=class{constructor(e){this.captureIds=new Map;const{filterText:t="",maxDepth:n,recursively:r}=e;this.componentFilter=KD(t),this.maxDepth=n,this.recursively=r}getComponentTree(e){return this.captureIds=new Map,this.findQualifiedChildren(e,0)}getComponentParents(e){this.captureIds=new Map;const t=[];this.captureId(e);let n=e;for(;n=n.parent;)this.captureId(n),t.push(n);return t}captureId(e){if(!e)return null;const t=e.__VUE_DEVTOOLS_NEXT_UID__!=null?e.__VUE_DEVTOOLS_NEXT_UID__:Jy(e);return e.__VUE_DEVTOOLS_NEXT_UID__=t,this.captureIds.has(t)?null:(this.captureIds.set(t,void 0),this.mark(e),t)}async capture(e,t){var n;if(!e)return null;const r=this.captureId(e),o=vr(e),s=this.getInternalInstanceChildren(e.subTree).filter(u=>!fc(u)),i=this.getComponentParents(e)||[],a=!!e.isDeactivated||i.some(u=>u.isDeactivated),l={uid:e.uid,id:r,name:o,renderKey:sD(e.vnode?e.vnode.key:null),inactive:a,children:[],isFragment:Kf(e),tags:typeof e.type!="function"?[]:[{label:"functional",textColor:5592405,backgroundColor:15658734}],autoOpen:this.recursively,file:e.type.__file||""};if((t<this.maxDepth||e.type.__isKeepAlive||i.some(u=>u.type.__isKeepAlive))&&(l.children=await Promise.all(s.map(u=>this.capture(u,t+1)).filter(Boolean))),this.isKeepAlive(e)){const u=this.getKeepAliveCachedInstances(e),d=s.map(h=>h.__VUE_DEVTOOLS_NEXT_UID__);for(const h of u)if(!d.includes(h.__VUE_DEVTOOLS_NEXT_UID__)){const p=await this.capture({...h,isDeactivated:!0},t+1);p&&l.children.push(p)}}const f=Us(e)[0];if(f?.parentElement){const u=e.parent,d=u?Us(u):[];let h=f;const p=[];do p.push(Array.from(h.parentElement.childNodes).indexOf(h)),h=h.parentElement;while(h.parentElement&&d.length&&!d.includes(h));l.domOrder=p.reverse()}else l.domOrder=[-1];return(n=e.suspense)!=null&&n.suspenseKey&&(l.tags.push({label:e.suspense.suspenseKey,backgroundColor:14979812,textColor:16777215}),this.mark(e,!0)),l}async findQualifiedChildren(e,t){var n;if(this.componentFilter.isQualified(e)&&!((n=e.type.devtools)!=null&&n.hide))return[await this.capture(e,t)];if(e.subTree){const r=this.isKeepAlive(e)?this.getKeepAliveCachedInstances(e):this.getInternalInstanceChildren(e.subTree);return this.findQualifiedChildrenFromList(r,t)}else return[]}async findQualifiedChildrenFromList(e,t){return e=e.filter(n=>{var r;return!fc(n)&&!((r=n.type.devtools)!=null&&r.hide)}),this.componentFilter.filter?Array.prototype.concat.apply([],await Promise.all(e.map(n=>this.findQualifiedChildren(n,t)))):Promise.all(e.map(n=>this.capture(n,t)))}getInternalInstanceChildren(e,t=null){const n=[];if(e)if(e.component)t?n.push({...e.component,suspense:t}):n.push(e.component);else if(e.suspense){const r=e.suspense.isInFallback?"suspense fallback":"suspense default";n.push(...this.getInternalInstanceChildren(e.suspense.activeBranch,{...e.suspense,suspenseKey:r}))}else Array.isArray(e.children)&&e.children.forEach(r=>{r.component?t?n.push({...r.component,suspense:t}):n.push(r.component):n.push(...this.getInternalInstanceChildren(r,t))});return n.filter(r=>{var o;return!fc(r)&&!((o=r.type.devtools)!=null&&o.hide)})}mark(e,t=!1){const n=jr(e).instanceMap;(t||!n.has(e.__VUE_DEVTOOLS_NEXT_UID__))&&(n.set(e.__VUE_DEVTOOLS_NEXT_UID__,e),He.value.instanceMap=n)}isKeepAlive(e){return e.type.__isKeepAlive&&e.__v_cache}getKeepAliveCachedInstances(e){return Array.from(e.__v_cache.values()).map(t=>t.component).filter(Boolean)}};G();G();G();var qD=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),XD=/^(?:function|class) (\w+)/,Im=1e4,Nm=5e3,f1="__vue_devtool_undefined__",d1="__vue_devtool_infinity__",h1="__vue_devtool_negative_infinity__",p1="__vue_devtool_nan__",YD={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};G();G();function m1(e){return e._&&Object.keys(e._).includes("vnode")}function ZD(e){return Object.prototype.toString.call(e)==="[object Object]"}function JD(e){if(e==null)return!0;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}function g1(e){return!!e.__v_isRef}function QD(e){return g1(e)&&!!e.effect}function e4(e){return!!e.__v_isReactive}function t4(e){return!!e.__v_isReadonly}var n4={[f1]:"undefined",[p1]:"NaN",[d1]:"Infinity",[h1]:"-Infinity"};Object.entries(n4).reduce((e,[t,n])=>(e[n]=t,e),{});function _1(e){if(Array.isArray(e))return e.map(n=>_1(n)).join(" or ");if(e==null)return"null";const t=e.toString().match(XD);return typeof e=="function"&&t&&t[1]||"any"}function r4(e){return!JD(e)&&!Array.isArray(e)&&!ZD(e)?Object.prototype.toString.call(e):e}function v1(e){return{ref:g1(e),computed:QD(e),reactive:e4(e),readonly:t4(e)}}function y1(e){return e?.__v_raw?e.__v_raw:e}function o4(e){return e.replace(/[<>"&]/g,t=>YD[t]||t)}function Na(e,t,n){if(typeof t=="function"&&(t=t.options),!t)return e;const{mixins:r,extends:o}=t;o&&Na(e,o),r&&r.forEach(s=>Na(e,s));for(const s of["computed","inject"])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]?Object.assign(e[s],t[s]):e[s]=t[s]);return e}function s4(e){const t=e?.type;if(!t)return{};const{mixins:n,extends:r}=t,o=e.appContext.mixins;if(!o.length&&!n&&!r)return t;const s={};return o.forEach(i=>Na(s,i)),Na(s,t),s}function i4(e){const t=[],n=e.type.props;for(const r in e.props){const o=n?n[r]:null,s=BL(r);t.push({type:"props",key:s,value:yr(()=>e.props[r]),meta:o?{type:o.type?_1(o.type):"any",required:!!o.required,...o.default?{default:o.default.toString()}:{}}:{type:"invalid"}})}return t}function a4(e){const t=e.type,n=t.props,r=t.vuex&&t.vuex.getters,o=t.computed,s={...e.data,...e.renderContext};return Object.keys(s).filter(i=>!(n&&i in n)&&!(r&&i in r)&&!(o&&i in o)).map(i=>({key:i,type:"data",value:yr(()=>s[i]),editable:!0}))}function l4(e){const t=e.computed?"computed":e.ref?"ref":e.reactive?"reactive":null,n=t?`${t.charAt(0).toUpperCase()}${t.slice(1)}`:null;return{stateType:t,stateTypeName:n}}function c4(e){const t=e.devtoolsRawSetupState||{};return Object.keys(e.setupState).filter(n=>!qD.has(n)&&n.split(/(?=[A-Z])/)[0]!=="use").map(n=>{var r,o,s,i;const a=yr(()=>y1(e.setupState[n])),l=t[n];let c,f=typeof a=="function"||typeof a?.render=="function"||typeof a?.__asyncLoader=="function"||typeof a=="object"&&a&&("setup"in a||"props"in a)||/^v[A-Z]/.test(n);if(l){const d=v1(l),{stateType:h,stateTypeName:p}=l4(d),m=d.ref||d.computed||d.reactive,_=((o=(r=l.effect)==null?void 0:r.raw)==null?void 0:o.toString())||((i=(s=l.effect)==null?void 0:s.fn)==null?void 0:i.toString());h&&(f=!1),c={...h?{stateType:h,stateTypeName:p}:{},..._?{raw:_}:{},editable:m&&!d.readonly}}return{key:n,value:a,type:f?"setup (other)":"setup",...c}})}function u4(e,t){const n=t,r=[],o=n.computed||{};for(const s in o){const i=o[s],a=typeof i=="function"&&i.vuex?"vuex bindings":"computed";r.push({type:a,key:s,value:yr(()=>{var l;return(l=e?.proxy)==null?void 0:l[s]}),editable:typeof i.set=="function"})}return r}function f4(e){return Object.keys(e.attrs).map(t=>({type:"attrs",key:t,value:yr(()=>e.attrs[t])}))}function d4(e){return Reflect.ownKeys(e.provides).map(t=>({type:"provided",key:t.toString(),value:yr(()=>e.provides[t])}))}function h4(e,t){if(!t?.inject)return[];let n=[],r;return Array.isArray(t.inject)?n=t.inject.map(o=>({key:o,originalKey:o})):n=Reflect.ownKeys(t.inject).map(o=>{const s=t.inject[o];let i;return typeof s=="string"||typeof s=="symbol"?i=s:(i=s.from,r=s.default),{key:o,originalKey:i}}),n.map(({key:o,originalKey:s})=>({type:"injected",key:s&&o!==s?`${s.toString()} ➞ ${o.toString()}`:o.toString(),value:yr(()=>e.ctx.hasOwnProperty(o)?e.ctx[o]:e.provides.hasOwnProperty(s)?e.provides[s]:r)}))}function p4(e){return Object.keys(e.refs).map(t=>({type:"template refs",key:t,value:yr(()=>e.refs[t])}))}function m4(e){var t;const n=e.type.emits,r=Array.isArray(n)?n:Object.keys(n??{}),o=Object.keys((t=e.vnode.props)!=null?t:{}),s=[];for(const i of o){const[a,...l]=i.split(/(?=[A-Z])/);if(a==="on"){const c=l.join("-").toLowerCase(),f=r.includes(c);s.push({type:"event listeners",key:c,value:{_custom:{displayText:f?"✅ Declared":"⚠️ Not declared",key:f?"✅ Declared":"⚠️ Not declared",value:f?"✅ Declared":"⚠️ Not declared",tooltipText:f?null:`The event <code>${c}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return s}function b1(e){const t=s4(e);return i4(e).concat(a4(e),c4(e),u4(e,t),f4(e),d4(e),h4(e,t),p4(e),m4(e))}function g4(e){var t;const n=Lo(He.value,e.instanceId),r=Jy(n),o=vr(n),s=(t=n?.type)==null?void 0:t.__file,i=b1(n);return{id:r,name:o,file:s,state:i,instance:n}}G();var _4=10,Rr=[];function v4(e){const t=window;if(!(typeof t>"u")&&e&&(t.$vm=e,Rr[0]!==e)){Rr.length>=_4&&Rr.pop();for(let n=Rr.length;n>0;n--)t[`$vm${n}`]=Rr[n]=Rr[n-1];t.$vm0=Rr[0]=e}}var Or="components";function y4(e){return[{id:Or,label:"Components",app:e},r=>{r.addInspector({id:Or,label:"Components",treeFilterPlaceholder:"Search components"}),r.on.getInspectorTree(async i=>{if(i.app===e&&i.inspectorId===Or){const a=Lo(He.value,i.instanceId);if(a){const l=new WD({filterText:i.filter,maxDepth:100,recursively:!1});i.rootNodes=await l.getComponentTree(a)}}}),r.on.getInspectorState(async i=>{var a;if(i.app===e&&i.inspectorId===Or){const l=g4({instanceId:i.nodeId}),c=l.instance,f=(a=l.instance)==null?void 0:a.appContext.app,u={componentInstance:c,app:f,instanceData:l};Ln.hooks.callHookWith(d=>{d.forEach(h=>h(u))},"inspectComponent"),i.state=l,v4(c)}}),r.on.editInspectorState(async i=>{i.app===e&&i.inspectorId===Or&&($D(i),await r.sendInspectorState("components"))});const o=$o(()=>{r.sendInspectorTree(Or)},120),s=$o(()=>{r.sendInspectorState(Or)},120);In.on.componentAdded(async(i,a,l,c)=>{var f,u,d;if(zr.highPerfModeEnabled||(d=(u=(f=i?._instance)==null?void 0:f.type)==null?void 0:u.devtools)!=null&&d.hide||!i||typeof a!="number"&&!a||!c)return;const h=await Gi({app:i,uid:a,instance:c}),p=await jr(i);c&&(c.__VUE_DEVTOOLS_NEXT_UID__==null&&(c.__VUE_DEVTOOLS_NEXT_UID__=h),p?.instanceMap.has(h)||(p?.instanceMap.set(h,c),He.value.id===p?.id&&(He.value.instanceMap=p.instanceMap))),p&&o()}),In.on.componentUpdated(async(i,a,l,c)=>{var f,u,d;if(zr.highPerfModeEnabled||(d=(u=(f=i?._instance)==null?void 0:f.type)==null?void 0:u.devtools)!=null&&d.hide||!i||typeof a!="number"&&!a||!c)return;const h=await Gi({app:i,uid:a,instance:c}),p=await jr(i);c&&(c.__VUE_DEVTOOLS_NEXT_UID__==null&&(c.__VUE_DEVTOOLS_NEXT_UID__=h),p?.instanceMap.has(h)||(p?.instanceMap.set(h,c),He.value.id===p?.id&&(He.value.instanceMap=p.instanceMap))),p&&(o(),s())}),In.on.componentRemoved(async(i,a,l,c)=>{var f,u,d;if(zr.highPerfModeEnabled||(d=(u=(f=i?._instance)==null?void 0:f.type)==null?void 0:u.devtools)!=null&&d.hide||!i||typeof a!="number"&&!a||!c)return;const h=await jr(i);if(!h)return;const p=await Gi({app:i,uid:a,instance:c});h?.instanceMap.delete(p),He.value.id===h?.id&&(He.value.instanceMap=h.instanceMap),o()})}]}var $m,Lm;(Lm=($m=J).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||($m.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function b4(e,t){return In.setupDevToolsPlugin(e,t)}function w1(e,t){const[n,r]=e;if(n.app!==t)return;const o=new zD({plugin:{setupFn:r,descriptor:n},ctx:Ln});n.packageName==="vuex"&&o.on.editInspectorState(s=>{o.sendInspectorState(s.inspectorId)}),r(o)}function w4(e){J.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.delete(e)}function E1(e){J.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||(J.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),Tl.forEach(t=>{w1(t,e)}))}function E4(e){return{async getInspectorTree(t){const n={...t,app:He.value.app,rootNodes:[]};return await new Promise(r=>{e.callHookWith(async o=>{await Promise.all(o.map(s=>s(n))),r()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:He.value.app,state:null},r={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(o=>{e.callHookWith(async s=>{await Promise.all(s.map(i=>i(n,r))),o()},"getInspectorState")}),n.state},editInspectorState(t){const n=new c1,r={...t,app:He.value.app,set:(o,s=t.path,i=t.state.value,a)=>{n.set(o,s,i,a||n.createDefaultSetCallback(t.state))}};e.callHookWith(o=>{o.forEach(s=>s(r))},"editInspectorState")},sendInspectorState(t){const n=ur(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return yD()},cancelInspectComponentInspector(){return vD()},getComponentRenderCode(t){const n=Lo(He.value,t);if(n)return n?.type instanceof Function?n.type.toString():n.render.toString()},scrollToComponent(t){return bD({id:t})},openInEditor:LD,getVueInspector:UD,toggleApp(t){const n=pr.value.find(r=>r.id===t);n&&(s1(t),yu(n),u1(n,He),a1(),E1(n.app))},inspectDOM(t){const n=Lo(He.value,t);if(n){const[r]=Us(n);r&&(J.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}}}}G();var Dm,Mm;(Mm=(Dm=J).__VUE_DEVTOOLS_ENV__)!=null||(Dm.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});function S4(){return J.__VUE_DEVTOOLS_ENV__}var Fm=PD(),Bm,Vm;(Vm=(Bm=J).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(Bm.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:Fm,get state(){return{...zr,activeAppRecordId:He.id,activeAppRecord:He.value,appRecords:pr.value}},api:E4(Fm)});var Ln=J.__VUE_DEVTOOLS_KIT_CONTEXT__;G();function T4(e){if(J.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__){e();return}Object.defineProperty(J,"__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__",{set(t){t&&e()},configurable:!0})}G();var C4=YL(JL()),Um,Hm,tr=(Hm=(Um=J).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null?Hm:Um.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set};function x4(e,t){var n;return((n=e?._component)==null?void 0:n.name)||`App ${t}`}function A4(e){var t,n,r,o;if(e._instance)return e._instance;if((n=(t=e._container)==null?void 0:t._vnode)!=null&&n.component)return(o=(r=e._container)==null?void 0:r._vnode)==null?void 0:o.component}function R4(e){const t=e.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__;t!=null&&(tr.appIds.delete(t),tr.id--)}function O4(e,t){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__!=null)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__;let n=t??(tr.id++).toString();if(t&&tr.appIds.has(n)){let r=1;for(;tr.appIds.has(`${t}_${r}`);)r++;n=`${t}_${r}`}return tr.appIds.add(n),e.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__=n,n}function P4(e){const t=A4(e);if(t){tr.id++;const n=x4(e,tr.id.toString()),o={id:O4(e,(0,C4.default)(n)),name:n,instanceMap:new Map,rootInstance:t};e.__VUE_DEVTOOLS_NEXT_APP_RECORD__=o;const s=`${o.id}:root`;return o.instanceMap.set(s,o.rootInstance),o.rootInstance.__VUE_DEVTOOLS_NEXT_UID__=s,o}else return{}}function k4(){var e;Ki({vitePluginDetected:S4().vitePluginDetected});const t=((e=J.__VUE_DEVTOOLS_GLOBAL_HOOK__)==null?void 0:e.id)==="vue-devtools-next";J.__VUE_DEVTOOLS_GLOBAL_HOOK__&&t||(J.__VUE_DEVTOOLS_GLOBAL_HOOK__?$L||Object.assign(__VUE_DEVTOOLS_GLOBAL_HOOK__,nm()):J.__VUE_DEVTOOLS_GLOBAL_HOOK__=nm(),In.on.setupDevtoolsPlugin((n,r)=>{var o;HD(n,r);const{app:s}=(o=He)!=null?o:{};s&&w1([n,r],s)}),T4(()=>{Tl.filter(([r])=>r.id!=="components").forEach(([r,o])=>{J.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("devtools-plugin:setup",r,o,{target:"legacy"})})}),In.on.vueAppInit(async(n,r)=>{const s={...P4(n),app:n,version:r};TD(s),pr.value.length===1&&(yu(s),s1(s.id),u1(s,He),E1(s.app)),b4(...y4(s.app)),Ki({connected:!0}),J.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.push(n)}),In.on.vueAppUnmount(async n=>{const r=pr.value.filter(o=>o.app!==n);r.length===0&&Ki({connected:!1}),CD(n),R4(n),He.value.app===n&&(yu(r[0]),Ln.hooks.callHook("sendActiveAppUpdatedToClient")),J.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.splice(J.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.indexOf(n),1),w4(n)}),eD())}G();function jm(e){zr.highPerfModeEnabled=e??!zr.highPerfModeEnabled}G();G();G();G();G();G();G();G();var I4=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},S1=class{constructor(e){this.generateIdentifier=e,this.kv=new I4}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},N4=class extends S1{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};G();G();function $4(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function L4(e,t){const n=$4(e);if("find"in n)return n.find(t);const r=n;for(let o=0;o<r.length;o++){const s=r[o];if(t(s))return s}}function Mo(e,t){Object.entries(e).forEach(([n,r])=>t(r,n))}function Wi(e,t){return e.indexOf(t)!==-1}function zm(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(t(r))return r}}var D4=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return L4(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};G();G();var M4=e=>Object.prototype.toString.call(e).slice(8,-1),T1=e=>typeof e>"u",F4=e=>e===null,js=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,bu=e=>js(e)&&Object.keys(e).length===0,mr=e=>Array.isArray(e),B4=e=>typeof e=="string",V4=e=>typeof e=="number"&&!isNaN(e),U4=e=>typeof e=="boolean",H4=e=>e instanceof RegExp,zs=e=>e instanceof Map,Gs=e=>e instanceof Set,C1=e=>M4(e)==="Symbol",j4=e=>e instanceof Date&&!isNaN(e.valueOf()),z4=e=>e instanceof Error,Gm=e=>typeof e=="number"&&isNaN(e),G4=e=>U4(e)||F4(e)||T1(e)||V4(e)||B4(e)||C1(e),K4=e=>typeof e=="bigint",W4=e=>e===1/0||e===-1/0,q4=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),X4=e=>e instanceof URL;G();var x1=e=>e.replace(/\./g,"\\."),dc=e=>e.map(String).map(x1).join("."),bs=e=>{const t=[];let n="";for(let o=0;o<e.length;o++){let s=e.charAt(o);if(s==="\\"&&e.charAt(o+1)==="."){n+=".",o++;continue}if(s==="."){t.push(n),n="";continue}n+=s}const r=n;return t.push(r),t};G();function an(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var A1=[an(T1,"undefined",()=>null,()=>{}),an(K4,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),an(j4,"Date",e=>e.toISOString(),e=>new Date(e)),an(z4,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n}),an(H4,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),an(Gs,"set",e=>[...e.values()],e=>new Set(e)),an(zs,"map",e=>[...e.entries()],e=>new Map(e)),an(e=>Gm(e)||W4(e),"number",e=>Gm(e)?"NaN":e>0?"Infinity":"-Infinity",Number),an(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),an(X4,"URL",e=>e.toString(),e=>new URL(e))];function Cl(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var R1=Cl((e,t)=>C1(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),Y4=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),O1=Cl(q4,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=Y4[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function P1(e,t){return e?.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var k1=Cl(P1,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(o=>{r[o]=e[o]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),I1=Cl((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),Z4=[k1,R1,I1,O1],Km=(e,t)=>{const n=zm(Z4,o=>o.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=zm(A1,o=>o.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation}},N1={};A1.forEach(e=>{N1[e.annotation]=e});var J4=(e,t,n)=>{if(mr(t))switch(t[0]){case"symbol":return R1.untransform(e,t,n);case"class":return k1.untransform(e,t,n);case"custom":return I1.untransform(e,t,n);case"typed-array":return O1.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const r=N1[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}};G();var fo=(e,t)=>{const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function $1(e){if(Wi(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Wi(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Wi(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Q4=(e,t)=>{$1(t);for(let n=0;n<t.length;n++){const r=t[n];if(Gs(e))e=fo(e,+r);else if(zs(e)){const o=+r,s=+t[++n]==0?"key":"value",i=fo(e,o);switch(s){case"key":e=i;break;case"value":e=e.get(i);break}}else e=e[r]}return e},wu=(e,t,n)=>{if($1(t),t.length===0)return n(e);let r=e;for(let s=0;s<t.length-1;s++){const i=t[s];if(mr(r)){const a=+i;r=r[a]}else if(js(r))r=r[i];else if(Gs(r)){const a=+i;r=fo(r,a)}else if(zs(r)){if(s===t.length-2)break;const l=+i,c=+t[++s]==0?"key":"value",f=fo(r,l);switch(c){case"key":r=f;break;case"value":r=r.get(f);break}}}const o=t[t.length-1];if(mr(r)?r[+o]=n(r[+o]):js(r)&&(r[o]=n(r[o])),Gs(r)){const s=fo(r,+o),i=n(s);s!==i&&(r.delete(s),r.add(i))}if(zs(r)){const s=+t[t.length-2],i=fo(r,s);switch(+o==0?"key":"value"){case"key":{const l=n(i);r.set(l,r.get(i)),l!==i&&r.delete(i);break}case"value":{r.set(i,n(r.get(i)));break}}}return e};function Eu(e,t,n=[]){if(!e)return;if(!mr(e)){Mo(e,(s,i)=>Eu(s,t,[...n,...bs(i)]));return}const[r,o]=e;o&&Mo(o,(s,i)=>{Eu(s,t,[...n,...bs(i)])}),t(r,n)}function eM(e,t,n){return Eu(t,(r,o)=>{e=wu(e,o,s=>J4(s,r,n))}),e}function tM(e,t){function n(r,o){const s=Q4(e,bs(o));r.map(bs).forEach(i=>{e=wu(e,i,()=>s)})}if(mr(t)){const[r,o]=t;r.forEach(s=>{e=wu(e,bs(s),()=>e)}),o&&Mo(o,n)}else Mo(t,n);return e}var nM=(e,t)=>js(e)||mr(e)||zs(e)||Gs(e)||P1(e,t);function rM(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}function oM(e,t){const n={};let r;return e.forEach(o=>{if(o.length<=1)return;t||(o=o.map(a=>a.map(String)).sort((a,l)=>a.length-l.length));const[s,...i]=o;s.length===0?r=i.map(dc):n[dc(s)]=i.map(dc)}),r?bu(n)?[r]:[r,n]:bu(n)?void 0:n}var L1=(e,t,n,r,o=[],s=[],i=new Map)=>{var a;const l=G4(e);if(!l){rM(e,o,t);const p=i.get(e);if(p)return r?{transformedValue:null}:p}if(!nM(e,n)){const p=Km(e,n),m=p?{transformedValue:p.value,annotations:[p.type]}:{transformedValue:e};return l||i.set(e,m),m}if(Wi(s,e))return{transformedValue:null};const c=Km(e,n),f=(a=c?.value)!=null?a:e,u=mr(f)?[]:{},d={};Mo(f,(p,m)=>{if(m==="__proto__"||m==="constructor"||m==="prototype")throw new Error(`Detected property ${m}. This is a prototype pollution risk, please remove it from your object.`);const _=L1(p,t,n,r,[...o,m],[...s,e],i);u[m]=_.transformedValue,mr(_.annotations)?d[m]=_.annotations:js(_.annotations)&&Mo(_.annotations,(b,v)=>{d[x1(m)+"."+v]=b})});const h=bu(d)?{transformedValue:u,annotations:c?[c.type]:void 0}:{transformedValue:u,annotations:c?[c.type,d]:d};return l||i.set(e,h),h};G();G();function D1(e){return Object.prototype.toString.call(e).slice(8,-1)}function Wm(e){return D1(e)==="Array"}function sM(e){if(D1(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function iM(e,t,n,r,o){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),o&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function Su(e,t={}){if(Wm(e))return e.map(o=>Su(o,t));if(!sM(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((o,s)=>{if(Wm(t.props)&&!t.props.includes(s))return o;const i=e[s],a=Su(i,t);return iM(o,s,a,e,t.nonenumerable),o},{})}var me=class{constructor({dedupe:e=!1}={}){this.classRegistry=new N4,this.symbolRegistry=new S1(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new D4,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=L1(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const o=oM(t,this.dedupe);return o&&(r.meta={...r.meta,referentialEqualities:o}),r}deserialize(e){const{json:t,meta:n}=e;let r=Su(t);return n?.values&&(r=eM(r,n.values,this)),n?.referentialEqualities&&(r=tM(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};me.defaultInstance=new me;me.serialize=me.defaultInstance.serialize.bind(me.defaultInstance);me.deserialize=me.defaultInstance.deserialize.bind(me.defaultInstance);me.stringify=me.defaultInstance.stringify.bind(me.defaultInstance);me.parse=me.defaultInstance.parse.bind(me.defaultInstance);me.registerClass=me.defaultInstance.registerClass.bind(me.defaultInstance);me.registerSymbol=me.defaultInstance.registerSymbol.bind(me.defaultInstance);me.registerCustom=me.defaultInstance.registerCustom.bind(me.defaultInstance);me.allowErrorProps=me.defaultInstance.allowErrorProps.bind(me.defaultInstance);me.serialize;me.deserialize;me.stringify;me.parse;me.registerClass;me.registerCustom;me.registerSymbol;me.allowErrorProps;G();var $a="__devtools-kit-iframe-messaging-event-key__",aM="iframe:server-context";function qm(){return J[aM]}function lM(){return zf?{post:e=>window.parent.postMessage(me.stringify({event:$a,data:e}),"*"),on:e=>window.addEventListener("message",t=>{try{const n=me.parse(t.data);t.source===window.parent&&n.event===$a&&e(n.data)}catch{}})}:{post:e=>{},on:e=>{}}}G();function cM(){return zf?{post:e=>{var t;const n=qm();(t=n?.contentWindow)==null||t.postMessage(me.stringify({event:$a,data:e}),"*")},on:e=>{window.addEventListener("message",t=>{const n=qm();try{const r=me.parse(t.data);t.source===n?.contentWindow&&r.event===$a&&e(r.data)}catch{}})}}:{post:e=>{},on:e=>{}}}G();G();var Xm="__devtools-kit-broadcast-messaging-event-key__",uM="__devtools-kit:broadcast-channel__";function Ym(){const e=new BroadcastChannel(uM);return{post:t=>{e.postMessage(me.stringify({event:Xm,data:t}))},on:t=>{e.onmessage=n=>{const r=me.parse(n.data);r.event===Xm&&t(r.data)}}}}G();G();G();var La="__devtools-kit-vite-messaging-event-key__",fM="vite:client-context",dM="vite:server-context";function hM(){return J[fM]}function pM(){return J[dM]}function mM(){const e=hM();return{post:t=>{e?.send(La,me.stringify(t))},on:t=>{e?.on(La,n=>{t(me.parse(n))})}}}G();function gM(){var e;const t=pM(),n=(e=t.hot)!=null?e:t.ws;return{post:r=>n?.send(La,me.stringify(r)),on:r=>n?.on(La,o=>{r(me.parse(o))})}}G();G();G();G();G();G();var _M="electron:client-context",vM="electron:proxy-context",yM="electron:server-context",nr={CLIENT_TO_PROXY:"client->proxy",PROXY_TO_CLIENT:"proxy->client",PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function bM(){return J[_M]}function wM(){return J[vM]}function EM(){return J[yM]}G();function SM(){const e=bM();return{post:t=>{e.emit(nr.CLIENT_TO_PROXY,me.stringify(t))},on:t=>{e.on(nr.PROXY_TO_CLIENT,n=>{t(me.parse(n))})}}}G();function TM(){const e=wM();return{post:t=>{},on:t=>{e.on(nr.SERVER_TO_PROXY,n=>{e.broadcast.emit(nr.PROXY_TO_CLIENT,n)}),e.on(nr.CLIENT_TO_PROXY,n=>{e.broadcast.emit(nr.PROXY_TO_SERVER,n)})}}}G();function CM(){const e=EM();return{post:t=>{e.emit(nr.SERVER_TO_PROXY,me.stringify(t))},on:t=>{e.on(nr.PROXY_TO_SERVER,n=>{t(me.parse(n))})}}}G();G();var xM="electron:client-context",Da={CLIENT_TO_PROXY:"client->proxy",PROXY_TO_CLIENT:"proxy->client",PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function AM(e){J[xM]=e}G();function RM(){let e=!1,t=null,n=null,r=null;function o(){try{clearTimeout(n),t=chrome.runtime.connect({name:`${chrome.devtools.inspectedWindow.tabId}`}),AM(t),e=!1,t?.onMessage.addListener(r),t.onDisconnect.addListener(()=>{e=!0,t?.onMessage.removeListener(r),n=setTimeout(o,1e3)})}catch{e=!0}}return o(),{post:s=>{e||t?.postMessage(me.stringify(s))},on:s=>{r=i=>{e||s(me.parse(i))},t?.onMessage.addListener(r)}}}G();function OM(){const e=chrome.runtime.connect({name:"content-script"});function t(r){window.postMessage({source:Da.PROXY_TO_SERVER,payload:r},"*")}function n(r){if(r.data&&r.data.source===Da.SERVER_TO_PROXY)try{e.postMessage(r.data.payload)}catch{}}return e.onMessage.addListener(t),window.addEventListener("message",n),e.onDisconnect.addListener(()=>{window.removeEventListener("message",n),t(me.stringify({event:"shutdown"}))}),t(me.stringify({event:"init"})),{post:r=>{},on:r=>{}}}G();function PM(){return{post:e=>{window.postMessage({source:Da.SERVER_TO_PROXY,payload:me.stringify(e)},"*")},on:e=>{const t=n=>{n.data.source===Da.PROXY_TO_SERVER&&n.data.payload&&e(me.parse(n.data.payload))};return window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}}}}var Zm,Jm;(Jm=(Zm=J).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(Zm.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var Qm,eg;(eg=(Qm=J).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(Qm.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var tg,ng;(ng=(tg=J).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(tg.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var rg,og;(og=(rg=J).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(rg.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var sg,ig;(ig=(sg=J).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(sg.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var ag,lg;(lg=(ag=J).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(ag.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);function kM(e){J.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=e}function IM(){return J.__VUE_DEVTOOLS_KIT_RPC_CLIENT__}function M1(){return J.__VUE_DEVTOOLS_KIT_RPC_SERVER__}function NM(e){J.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=e}function $M(){return J.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__}function LM(e,t="client"){const n={iframe:{client:lM,server:cM}[t],electron:{client:SM,proxy:TM,server:CM}[t],vite:{client:mM,server:gM}[t],broadcast:{client:Ym,server:Ym}[t],extension:{client:RM,proxy:OM,server:PM}[t]}[e];return n()}function DM(e,t={}){const{channel:n,options:r,preset:o}=t,s=o?LM(o):n,i=Uv(e,{...r,...s,timeout:-1});if(o==="vite"){NM(i);return}return kM(i),i}G();G();G();G();function MM(e){let t="",n=null;try{t=Function.prototype.toString.call(e),n=String.prototype.match.call(t,/\([\s\S]*?\)/)}catch{}const r=n&&n[0],o=typeof r=="string"?r:"(?)",s=typeof e.name=="string"?e.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;margin-right:5px;">function</span> <span style="white-space:nowrap;">${o4(s)}${o}</span>`,tooltipText:t.trim()?`<pre>${t}</pre>`:null}}}function FM(e){const t=BigInt.prototype.toString.call(e);return{_custom:{type:"bigint",displayText:`BigInt(${t})`,value:t}}}function BM(e){const t=new Date(e.getTime());return t.setMinutes(t.getMinutes()-t.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(e),value:t.toISOString().slice(0,-1)}}}function VM(e){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(e),readOnly:!0,fields:{abstract:!0}}}}function UM(e){const t=Array.from(e);return{_custom:{type:"set",displayText:`Set[${t.length}]`,value:t,readOnly:!0}}}function HM(e){const t={},n=e.getters||{},r=Object.keys(n);for(let o=0;o<r.length;o++){const s=r[o];Object.defineProperty(t,s,{enumerable:!0,get:()=>{try{return n[s]}catch(i){return i}}})}return t}function jM(e){if(e.length)return e.reduce((t,n)=>{const r=n.type||"data",o=t[r]=t[r]||{};return o[n.key]=n.value,t},{})}function zM(e){const t={},n=e.length;for(let r=0;r<n;r++){const o=e.item(r);t[o.name]=o.value}return t}function GM(e){return{_custom:{type:"store",displayText:"Store",value:{state:e.state,getters:HM(e)},fields:{abstract:!0}}}}function KM(e){return{_custom:{type:"router",displayText:"VueRouter",value:{options:e.options,currentRoute:e.currentRoute},fields:{abstract:!0}}}}function WM(e){e._&&(e=e._);const t=b1(e);return{_custom:{type:"component",id:e.__VUE_DEVTOOLS_NEXT_UID__,displayText:vr(e),tooltipText:"Component instance",value:jM(t),fields:{abstract:!0}}}}function qM(e){let t=oD(e);return t?e.name&&e.__file&&(t+=` <span>(${e.__file})</span>`):t="<i>Unknown Component</i>",{_custom:{type:"component-definition",displayText:t,tooltipText:"Component definition",...e.__file?{file:e.__file}:{}}}}function XM(e){try{return{_custom:{type:"HTMLElement",displayText:`<span class="opacity-30">&lt;</span><span class="text-blue-500">${e.tagName.toLowerCase()}</span><span class="opacity-30">&gt;</span>`,value:zM(e.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(e)}</span>`}}}}function YM(e){var t,n,r,o;const s=v1(e);if(s.ref||s.computed||s.reactive){const a=s.computed?"Computed":s.ref?"Ref":s.reactive?"Reactive":null,l=y1(s.reactive?e:e._value),c=((n=(t=e.effect)==null?void 0:t.raw)==null?void 0:n.toString())||((o=(r=e.effect)==null?void 0:r.fn)==null?void 0:o.toString());return{_custom:{type:a?.toLowerCase(),stateTypeName:a,value:l,...c?{tooltipText:`<span class="font-mono">${c}</span>`}:{}}}}if(typeof e.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function ZM(e,t,n,r){var o;if(e==="compilerOptions")return;const s=this[e],i=typeof s;if(Array.isArray(s)){const a=s.length;return a>Nm?{_isArray:!0,length:a,items:s.slice(0,Nm)}:s}else{if(typeof s=="string")return s.length>Im?`${s.substring(0,Im)}... (${s.length} total length)`:s;if(i==="undefined")return f1;if(s===Number.POSITIVE_INFINITY)return d1;if(s===Number.NEGATIVE_INFINITY)return h1;if(typeof s=="function")return MM(s);if(i==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(s)}]`;if(typeof s=="bigint")return FM(s);if(s!==null&&typeof s=="object"){const a=Object.prototype.toString.call(s);if(a==="[object Map]")return VM(s);if(a==="[object Set]")return UM(s);if(a==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(s)}]`;if(a==="[object Date]")return BM(s);if(a==="[object Error]")return`[native Error ${s.message}<>${s.stack}]`;if(s.state&&s._vm)return GM(s);if(s.constructor&&s.constructor.name==="VueRouter")return KM(s);if(m1(s)){const c=WM(s),f=r?.get(s);return f&&f<n?`[[CircularRef]] <${c._custom.displayText}>`:(r?.set(s,n),c)}else{if(typeof s.render=="function")return qM(s);if(s.constructor&&s.constructor.name==="VNode")return`[native VNode <${s.tag}>]`;if(typeof HTMLElement<"u"&&s instanceof HTMLElement)return XM(s);if(((o=s.constructor)==null?void 0:o.name)==="Store"&&s._wrappedGetters)return"[object Store]";if(s.currentRoute)return"[object Router]"}const l=YM(s);if(l!=null)return l}else if(Number.isNaN(s))return p1}return r4(s)}G();G();var Ni=2*1024*1024;function cg(e,t){return t==="[object Object]"}function JM(e,t){return t==="[object Array]"}function Tu(e,t,n,r,o=0,s=new Map){let i,a,l,c,f;const u=r.get(e);if(u!=null)return u;const d=n.length,h=Object.prototype.toString.call(e);if(cg(e,h)){i={},r.set(e,d),n.push(i);const p=Object.keys(e);for(c=0,f=p.length;c<f;c++){a=p[c],l=e[a];const m=l!=null&&cg(l,Object.prototype.toString.call(e))&&m1(l);try{if(a==="compilerOptions")return d;t&&(l=t.call(e,a,l,o,s))}catch(_){l=_}i[a]=Tu(l,t,n,r,o+1,s),m&&s.delete(l)}}else if(JM(e,h))for(i=[],r.set(e,d),n.push(i),c=0,f=e.length;c<f;c++){try{l=e[c],t&&(l=t.call(e,c,l,o,s))}catch(p){l=p}i[c]=Tu(l,t,n,r,o+1,s)}else n.push(e);return d}function QM(e,t=null,n=null){let r;try{r=arguments.length===1?JSON.stringify(e):JSON.stringify(e,(o,s)=>t?.(o,s),n)}catch{r=e6(e,t,n)}if(r.length>Ni){const o=Math.ceil(r.length/Ni),s=[];for(let i=0;i<o;i++)s.push(r.slice(i*Ni,(i+1)*Ni));return s}return r}function e6(e,t=null,n=null){const r=[];return Tu(e,t,r,new Map),n?` ${JSON.stringify(r,null,n)}`:` ${JSON.stringify(r)}`}G();function ns(e){return QM(e,ZM)}G();G();var Je={hook:In,init:()=>{k4()},get ctx(){return Ln},get api(){return Ln.api}};function Cu(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Cu(o,t,s):typeof o=="function"&&(t[s]=o)}return t}var t6={run:e=>e()},n6=()=>t6,F1=typeof console.createTask<"u"?console.createTask:n6;function r6(e,t){const n=t.shift(),r=F1(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function o6(e,t){const n=t.shift(),r=F1(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function hc(e,t){for(const n of[...e])n(t)}var s6=class{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(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!n.allowDeprecated){let s=o.message;s||(s=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...o)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...o));return n=this.hook(e,r),n}removeHook(e,t){if(this._hooks[e]){const n=this._hooks[e].indexOf(t);n!==-1&&this._hooks[e].splice(n,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];delete this._hooks[e];for(const r of n)this.hook(e,r)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Cu(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n.splice(0,n.length))r()}}removeHooks(e){const t=Cu(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(r6,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(o6,e,...t)}callHookWith(e,t,...n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&hc(this._before,r);const o=e(t in this._hooks?[...this._hooks[t]]:[],n);return o instanceof Promise?o.finally(()=>{this._after&&r&&hc(this._after,r)}):(this._after&&r&&hc(this._after,r),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function B1(){return new s6}var $i=B1();function ug(){var e;const t=Je.ctx.state;return{connected:t.connected,clientConnected:!0,vueVersion:((e=t?.activeAppRecord)==null?void 0:e.version)||"",tabs:t.tabs,commands:t.commands,vitePluginDetected:t.vitePluginDetected,appRecords:t.appRecords.map(n=>({id:n.id,name:n.name,version:n.version,routerId:n.routerId})),activeAppRecordId:t.activeAppRecordId}}var i6={on:(e,t)=>{$i.hook(e,t)},off:(e,t)=>{$i.removeHook(e,t)},once:(e,t)=>{$i.hookOnce(e,t)},emit:(e,...t)=>{$i.callHook(e,...t)},heartbeat:()=>!0,devtoolsState:()=>ug(),async getInspectorTree(e){const t=await Je.ctx.api.getInspectorTree(e);return ns(t)},async getInspectorState(e){const t=ur(e.inspectorId);t&&(t.selectedNodeId=e.nodeId);const n=await Je.ctx.api.getInspectorState(e);return ns(n)},async editInspectorState(e){return await Je.ctx.api.editInspectorState(e)},sendInspectorState(e){return Je.ctx.api.sendInspectorState(e)},inspectComponentInspector(){return Je.ctx.api.inspectComponentInspector()},cancelInspectComponentInspector(){return Je.ctx.api.cancelInspectComponentInspector()},getComponentRenderCode(e){return Je.ctx.api.getComponentRenderCode(e)},scrollToComponent(e){return Je.ctx.api.scrollToComponent(e)},inspectDOM(e){return Je.ctx.api.inspectDOM(e)},getInspectorNodeActions(e){return Em(e)},getInspectorActions(e){return wm(e)},callInspectorNodeAction(e,t,n){var r;const o=Em(e);if(o?.length){const s=o[t];(r=s.action)==null||r.call(s,n)}},callInspectorAction(e,t){var n;const r=wm(e);if(r?.length){const o=r[t];(n=o.action)==null||n.call(o)}},openInEditor(e){return Je.ctx.api.openInEditor(e)},async checkVueInspectorDetected(){return!!await Je.ctx.api.getVueInspector()},async enableVueInspector(){var e,t,n;const r=await((n=(t=(e=Je)==null?void 0:e.api)==null?void 0:t.getVueInspector)==null?void 0:n.call(t));r&&await r.enable()},async toggleApp(e){return Je.ctx.api.toggleApp(e)},getRouterInfo(){return DD},navigate(e){var t;return(t=Am.value)==null?void 0:t.push(e).catch(()=>({}))},getMatchedRoutes(e){var t,n;const r=console.warn;console.warn=()=>{};const o=(n=(t=Am.value)==null?void 0:t.resolve({path:e||"/"}).matched)!=null?n:[];return console.warn=r,o},toggleClientConnected(e){xD(e)},getCustomInspector(){return Jf()},getInspectorInfo(e){return OD(e)},unhighlight(){Je.ctx.hooks.callHook(l1.COMPONENT_UNHIGHLIGHT)},initDevToolsServerListener(){const t=M1().broadcast;Je.ctx.hooks.hook(Kn.SEND_INSPECTOR_TREE_TO_CLIENT,n=>{t.emit("inspector-tree-updated",ns(n))}),Je.ctx.hooks.hook(Kn.SEND_INSPECTOR_STATE_TO_CLIENT,n=>{t.emit("inspector-state-updated",ns(n))}),Je.ctx.hooks.hook(Kn.DEVTOOLS_STATE_UPDATED,()=>{t.emit("devtools-state-updated",ug())}),Je.ctx.hooks.hook(Kn.ROUTER_INFO_UPDATED,({state:n})=>{t.emit("router-info-updated",n)}),Je.ctx.hooks.hook(Kn.SEND_TIMELINE_EVENT_TO_CLIENT,n=>{t.emit("timeline-event-updated",ns(n))}),Je.ctx.hooks.hook(Kn.SEND_INSPECTOR_TO_CLIENT,n=>{t.emit("inspector-updated",n)}),Je.ctx.hooks.hook(Kn.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT,()=>{t.emit("active-app-updated")})}},ws=new Proxy({value:{},functions:{}},{get(e,t){const n=IM();if(t==="value")return n;if(t==="functions")return n.$functions}});new Proxy({value:{},functions:{}},{get(e,t){const n=M1();if(t==="value")return n;if(t==="functions")return n.functions}});function V1(e){let t=null,n=0;function r(){var o,s;(s=(o=ws.value)==null?void 0:o.heartbeat)==null||s.call(o).then(()=>{e(),clearTimeout(t)}).catch(()=>{})}t=setInterval(()=>{n>=30&&clearTimeout(t),n++,r()},n*200+200),r()}B1();new Proxy({value:{},functions:{}},{get(e,t){const n=$M();if(t==="value")return n;if(t==="functions")return n?.$functions}});var U1=Symbol.for("__VueDevToolsStateSymbol__");function a6(){return{install(e){const t=l6();t.getDevToolsState(),e.provide(U1,t),e.config.globalProperties.$getDevToolsState=t.getDevToolsState,e.config.globalProperties.$disconnectDevToolsClient=()=>{t.clientConnected.value=!1,t.connected.value=!1}}}}function l6(){const e=z(!1),t=z(!1),n=z(""),r=z([]),o=z([]),s=z(!1),i=z([]),a=z("");function l(f){e.value=f.connected,t.value=f.clientConnected,n.value=f.vueVersion||"",r.value=f.tabs,o.value=f.commands,s.value=f.vitePluginDetected,i.value=f.appRecords,a.value=f.activeAppRecordId}function c(){V1(()=>{ws.value.devtoolsState().then(f=>{l(f)}),ws.functions.off("devtools-state-updated",l),ws.functions.on("devtools-state-updated",l)})}return{getDevToolsState:c,connected:e,clientConnected:t,vueVersion:n,tabs:r,commands:o,vitePluginDetected:s,appRecords:i,activeAppRecordId:a}}function JV(){return vt(U1)}const c6=Vt(e=>{e.vueApp.use(a6())}),u6=[$C,DC,u$,f$,d$,h$,m$,g$,_$,v$,SL,TL,c6];function f6(e,t){const n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function d6(e={}){const{duration:t=2e3,throttle:n=200,hideDelay:r=500,resetDelay:o=400}=e,s=e.estimatedProgress||f6,i=Le(),a=z(0),l=z(!1),c=z(!1);let f=!1,u,d,h,p;const m=()=>{c.value=!1,_(0)};function _(k=0){if(!i.isHydrating){if(k>=100)return v();y(),a.value=k<0?0:k,n?d=setTimeout(()=>{l.value=!0,w()},n):(l.value=!0,w())}}function b(){h=setTimeout(()=>{l.value=!1,p=setTimeout(()=>{a.value=0},o)},r)}function v(k={}){a.value=100,f=!0,y(),g(),k.error&&(c.value=!0),k.force?(a.value=0,l.value=!1):b()}function g(){clearTimeout(h),clearTimeout(p)}function y(){clearTimeout(d),cancelAnimationFrame(u)}function w(){f=!1;let k;function M(L){if(f)return;k??=L;const R=L-k;a.value=Math.max(0,Math.min(100,s(t,R))),u=requestAnimationFrame(M)}u=requestAnimationFrame(M)}let C=()=>{};{const k=i.hook("page:loading:start",()=>{m()}),M=i.hook("page:loading:end",()=>{v()}),L=i.hook("vue:error",()=>v());C=()=>{L(),k(),M(),y()}}return{_cleanup:C,progress:le(()=>a.value),isLoading:le(()=>l.value),error:le(()=>c.value),start:m,set:_,finish:v,clear:y}}function h6(e={}){const t=Le(),n=t._loadingIndicator=t._loadingIndicator||d6(e);return Ws()&&(t._loadingIndicatorDeps=t._loadingIndicatorDeps||0,t._loadingIndicatorDeps++,Yi(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}const p6=Re({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"},errorColor:{type:String,default:"repeating-linear-gradient(to right,#f87171 0%,#ef4444 100%)"},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){const{progress:r,isLoading:o,error:s,start:i,finish:a,clear:l}=h6({duration:e.duration,throttle:e.throttle,estimatedProgress:e.estimatedProgress});return n({progress:r,isLoading:o,error:s,start:i,finish:a,clear:l}),()=>Qe("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:o.value?1:0,background:s.value?e.errorColor:e.color||void 0,backgroundSize:`${100/r.value*100}% auto`,transform:`scaleX(${r.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}}),m6=Re({__name:"NNotification",setup(e){const t=z(!1),n=z(),r=z(),o=z(),s=z("top-center");return hk(i=>{r.value=i.message,n.value=i.icon,o.value=i.classes??"text-primary border-primary",n.value=i.icon,t.value=!0,s.value=i.position??"top-center",setTimeout(()=>{t.value=!1},i.duration??1500)}),(i,a)=>(Z(),ye("div",{fixed:"","left-0":"","right-0":"","z-999":"","text-center":"",class:nt([{"pointer-events-none overflow-hidden":!t.value},{"top-0":s.value.startsWith("top")},{"bottom-0":s.value.startsWith("bottom")}])},[W("div",{flex:"",style:_n({justifyContent:s.value.includes("right")?"right":s.value.includes("left")?"left":"center"})},[W("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:_n(t.value?{}:{transform:`translateY(${s.value.startsWith("top")?"-":""}300%)`}),class:nt([t.value?"shadow":"shadow-none",o.value])},[n.value?(Z(),ye("div",{key:0,class:nt(n.value)},null,2)):Ye("",!0),W("div",null,gt(r.value),1)],6)],4)],2))}}),xl=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},g6={},_6={class:"n-loading n-panel-grids-center"},v6={class:"flex flex-col animate-pulse items-center text-lg"},y6=W("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function b6(e,t){return Z(),ye("div",_6,[W("div",v6,[y6,it(e.$slots,"default",{},()=>[Pe(" Loading... ")])])])}const w6=xl(g6,[["render",b6]]),qo=Re({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Z(),ye("div",{class:nt(["n-icon",t.icon])},null,2))}});async function H1(e,t=et()){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(()=>H1(e,t));t._routePreloaded.add(n);const s=r.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of s){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const E6=(...e)=>e.find(t=>t!==void 0);function S6(e){const t=e.componentName||"NuxtLink";function n(o,s){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return fg(o,e.trailingSlash);const i="path"in o&&o.path!==void 0?o.path:s(o).path;return{...o,name:void 0,path:fg(i,e.trailingSlash)}}function r(o){const s=et(),i=Zs(),a=le(()=>!!o.target&&o.target!=="_self"),l=le(()=>{const m=o.to||o.href||"";return typeof m=="string"&&Vn(m,{acceptRelative:!0})}),c=wn("RouterLink"),f=c&&typeof c!="string"?c.useLink:void 0,u=le(()=>{if(o.external)return!0;const m=o.to||o.href||"";return typeof m=="object"?!1:m===""||l.value}),d=le(()=>{const m=o.to||o.href||"";return u.value?m:n(m,s.resolve)}),h=u.value?void 0:f?.({...o,to:d}),p=le(()=>{if(!d.value||l.value)return d.value;if(u.value){const m=typeof d.value=="object"&&"path"in d.value?Gc(d.value):d.value,_=typeof m=="object"?s.resolve(m).href:m;return n(_,s.resolve)}return typeof d.value=="object"?s.resolve(d.value)?.href??null:n(nl(i.app.baseURL,d.value),s.resolve)});return{to:d,hasTarget:a,isAbsoluteUrl:l,isExternal:u,href:p,isActive:h?.isActive??le(()=>d.value===s.currentRoute.value.path),isExactActive:h?.isExactActive??le(()=>d.value===s.currentRoute.value.path),route:h?.route??le(()=>s.resolve(d.value)),async navigate(){await zc(p.value,{replace:o.replace,external:u.value||a.value})}}}return Re({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},prefetchOn:{type:[String,Object],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}},useLink:r,setup(o,{slots:s}){const i=et(),{to:a,href:l,navigate:c,isExternal:f,hasTarget:u,isAbsoluteUrl:d}=r(o),h=z(!1),p=z(null),m=v=>{p.value=o.custom?v?.$el?.nextElementSibling:v?.$el};function _(v){return!h.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===v:o.prefetchOn?.[v]??e.prefetchOn?.[v])&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!C6()}async function b(v=Le()){if(h.value)return;h.value=!0;const g=typeof a.value=="string"?a.value:f.value?Gc(a.value):i.resolve(a.value).fullPath;await Promise.all([v.hooks.callHook("link:prefetch",g).catch(()=>{}),!f.value&&!u.value&&H1(a.value,i).catch(()=>{})])}if(_("visibility")){const v=Le();let g,y=null;Bn(()=>{const w=T6();al(()=>{g=Qc(()=>{p?.value?.tagName&&(y=w.observe(p.value,async()=>{y?.(),y=null,await b(v)}))})})}),Xs(()=>{g&&qx(g),y?.(),y=null})}return()=>{if(!f.value&&!u.value){const y={ref:m,to:a.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom,onPointerenter:_("interaction")?b.bind(null,void 0):void 0,onFocus:_("interaction")?b.bind(null,void 0):void 0};return o.custom||(h.value&&(y.class=o.prefetchedClass||e.prefetchedClass),y.rel=o.rel||void 0),Qe(wn("RouterLink"),y,s.default)}const v=o.target||null,g=E6(o.noRel?"":o.rel,e.externalRelAttribute,d.value||u.value?"noopener noreferrer":"")||null;return o.custom?s.default?s.default({href:l.value,navigate:c,get route(){if(!l.value)return;const y=new URL(l.value,window.location.href);return{path:y.pathname,fullPath:y.pathname,get query(){return a0(y.search)},hash:y.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:g,target:v,isExternal:f.value||u.value,isActive:!1,isExactActive:!1}):null:Qe("a",{ref:p,href:l.value||null,rel:g,target:v},s.default?.())}}})}const ed=S6(rT);function fg(e,t){const n=t==="append"?ua:tl;return Vn(e)&&!e.startsWith("http")?e:n(e,!0)}function T6(){const e=Le();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(s,i),t.observe(s),()=>{n.delete(s),t.unobserve(s),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function C6(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const br=Re({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=qo;return Z(),Ae(xo(t.to?V(ed):"button"),$n({to:t.to},{...t.$attrs,...!t.to&&{type:t.type},...t.disabled?{disabled:!0}:{tabindex:0}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:fe(()=>[it(t.$slots,"icon",{},()=>[t.icon?(Z(),Ae(r,{key:0,icon:t.icon,class:nt({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):Ye("",!0)]),it(t.$slots,"default")]),_:3},16,["to","class"])}}}),x6=Symbol.for("nuxt:client-only"),A6=Re({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=z(!1);return Bn(()=>{r.value=!0}),sr(x6,!0),o=>{if(r.value)return t.default?.();const s=t.fallback||t.placeholder;if(s)return s();const i=o.fallback||o.placeholder||"",a=o.fallbackTag||o.placeholderTag||"span";return ye(a,n,i)}}}),R6=Re({__name:"NDarkToggle",setup(e){const t=ov({storageKey:"nuxt-devtools-color-mode"}),n=le({get(){return t.value==="dark"},set(){t.value=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function o(i){if(!r||!i){n.value=!n.value;return}const a=i.clientX,l=i.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(l,innerHeight-l));document.startViewTransition(async()=>{n.value=!n.value,await Tt()}).ready.then(()=>{const u=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:n.value?[...u].reverse():u},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const s={mode:t,isDark:n,toggle:o};return(i,a)=>{const l=A6;return Z(),Ae(l,{"placeholder-tag":"span"},{default:fe(()=>[it(i.$slots,"default",Bu(Ja(s)))]),_:3})}}}),O6={class:"n-tip n-tip-base"},P6=Re({__name:"NTip",props:{icon:{}},setup(e){return(t,n)=>{const r=qo;return Z(),ye("div",O6,[it(t.$slots,"icon",{},()=>[t.icon?(Z(),Ae(r,{key:0,icon:t.icon,class:"n-tip-icon"},null,8,["icon"])):Ye("",!0)]),W("div",null,[it(t.$slots,"default")])])}}}),k6={},I6={class:"n-card n-card-base"};function N6(e,t){return Z(),ye("div",I6,[it(e.$slots,"default")])}const td=xl(k6,[["render",N6]]);/*!
36
- * tabbable 6.2.0
37
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
38
- */var j1=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ma=j1.join(","),z1=typeof Element>"u",Qr=z1?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Fa=!z1&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},Ba=function e(t,n){var r;n===void 0&&(n=!0);var o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),s=o===""||o==="true",i=s||n&&t&&e(t.parentNode);return i},$6=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},G1=function(t,n,r){if(Ba(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Ma));return n&&Qr.call(t,Ma)&&o.unshift(t),o=o.filter(r),o},K1=function e(t,n,r){for(var o=[],s=Array.from(t);s.length;){var i=s.shift();if(!Ba(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),l=a.length?a:i.children,c=e(l,!0,r);r.flatten?o.push.apply(o,c):o.push({scopeParent:i,candidates:c})}else{var f=Qr.call(i,Ma);f&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);var u=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),d=!Ba(u,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(u&&d){var h=e(u===!0?i.children:u.children,!0,r);r.flatten?o.push.apply(o,h):o.push({scopeParent:i,candidates:h})}else s.unshift.apply(s,i.children)}}return o},W1=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Nr=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||$6(t))&&!W1(t)?0:t.tabIndex},L6=function(t,n){var r=Nr(t);return r<0&&n&&!W1(t)?0:r},D6=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},q1=function(t){return t.tagName==="INPUT"},M6=function(t){return q1(t)&&t.type==="hidden"},F6=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},B6=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},V6=function(t){if(!t.name)return!0;var n=t.form||Fa(t),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(t.name));else try{o=r(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var s=B6(o,t.form);return!s||s===t},U6=function(t){return q1(t)&&t.type==="radio"},H6=function(t){return U6(t)&&!V6(t)},j6=function(t){var n,r=t&&Fa(t),o=(n=r)===null||n===void 0?void 0:n.host,s=!1;if(r&&r!==t){var i,a,l;for(s=!!((i=o)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(o)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!s&&o;){var c,f,u;r=Fa(o),o=(c=r)===null||c===void 0?void 0:c.host,s=!!((f=o)!==null&&f!==void 0&&(u=f.ownerDocument)!==null&&u!==void 0&&u.contains(o))}}return s},dg=function(t){var n=t.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},z6=function(t,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var s=Qr.call(t,"details>summary:first-of-type"),i=s?t.parentElement:t;if(Qr.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof o=="function"){for(var a=t;t;){var l=t.parentElement,c=Fa(t);if(l&&!l.shadowRoot&&o(l)===!0)return dg(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(j6(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return dg(t);return!1},G6=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var o=n.children.item(r);if(o.tagName==="LEGEND")return Qr.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},Va=function(t,n){return!(n.disabled||Ba(n)||M6(n)||z6(n,t)||F6(n)||G6(n))},xu=function(t,n){return!(H6(n)||Nr(n)<0||!Va(t,n))},K6=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},W6=function e(t){var n=[],r=[];return t.forEach(function(o,s){var i=!!o.scopeParent,a=i?o.scopeParent:o,l=L6(a,i),c=i?e(o.candidates):a;l===0?i?n.push.apply(n,c):n.push(a):r.push({documentOrder:s,tabIndex:l,item:o,isScope:i,content:c})}),r.sort(D6).reduce(function(o,s){return s.isScope?o.push.apply(o,s.content):o.push(s.content),o},[]).concat(n)},q6=function(t,n){n=n||{};var r;return n.getShadowRoot?r=K1([t],n.includeContainer,{filter:xu.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:K6}):r=G1(t,n.includeContainer,xu.bind(null,n)),W6(r)},X6=function(t,n){n=n||{};var r;return n.getShadowRoot?r=K1([t],n.includeContainer,{filter:Va.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=G1(t,n.includeContainer,Va.bind(null,n)),r},io=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Qr.call(t,Ma)===!1?!1:xu(n,t)},Y6=j1.concat("iframe").join(","),pc=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Qr.call(t,Y6)===!1?!1:Va(n,t)};/*!
39
- * focus-trap 7.5.4
40
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
41
- */function hg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function pg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hg(Object(n),!0).forEach(function(r){Z6(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Z6(e,t,n){return t=Q6(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J6(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Q6(e){var t=J6(e,"string");return typeof t=="symbol"?t:String(t)}var mg={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var o=t.indexOf(n);o===-1||t.splice(o,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},e3=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},t3=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},Es=function(t){return t?.key==="Tab"||t?.keyCode===9},n3=function(t){return Es(t)&&!t.shiftKey},r3=function(t){return Es(t)&&t.shiftKey},gg=function(t){return setTimeout(t,0)},_g=function(t,n){var r=-1;return t.every(function(o,s){return n(o)?(r=s,!1):!0}),r},rs=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return typeof t=="function"?t.apply(void 0,r):t},Li=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},o3=[],s3=function(t,n){var r=n?.document||document,o=n?.trapStack||o3,s=pg({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:n3,isKeyBackward:r3},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function(T,x,A){return T&&T[x]!==void 0?T[x]:s[A||x]},c=function(T,x){var A=typeof x?.composedPath=="function"?x.composedPath():void 0;return i.containerGroups.findIndex(function(I){var O=I.container,P=I.tabbableNodes;return O.contains(T)||A?.includes(O)||P.find(function(D){return D===T})})},f=function(T){var x=s[T];if(typeof x=="function"){for(var A=arguments.length,I=new Array(A>1?A-1:0),O=1;O<A;O++)I[O-1]=arguments[O];x=x.apply(void 0,I)}if(x===!0&&(x=void 0),!x){if(x===void 0||x===!1)return x;throw new Error("`".concat(T,"` was specified but was not a node, or did not return a node"))}var P=x;if(typeof x=="string"&&(P=r.querySelector(x),!P))throw new Error("`".concat(T,"` as selector refers to no known node"));return P},u=function(){var T=f("initialFocus");if(T===!1)return!1;if(T===void 0||!pc(T,s.tabbableOptions))if(c(r.activeElement)>=0)T=r.activeElement;else{var x=i.tabbableGroups[0],A=x&&x.firstTabbableNode;T=A||f("fallbackFocus")}if(!T)throw new Error("Your focus-trap needs to have at least one focusable element");return T},d=function(){if(i.containerGroups=i.containers.map(function(T){var x=q6(T,s.tabbableOptions),A=X6(T,s.tabbableOptions),I=x.length>0?x[0]:void 0,O=x.length>0?x[x.length-1]:void 0,P=A.find(function(ne){return io(ne)}),D=A.slice().reverse().find(function(ne){return io(ne)}),H=!!x.find(function(ne){return Nr(ne)>0});return{container:T,tabbableNodes:x,focusableNodes:A,posTabIndexesFound:H,firstTabbableNode:I,lastTabbableNode:O,firstDomTabbableNode:P,lastDomTabbableNode:D,nextTabbableNode:function(he){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ve=x.indexOf(he);return ve<0?re?A.slice(A.indexOf(he)+1).find(function(De){return io(De)}):A.slice(0,A.indexOf(he)).reverse().find(function(De){return io(De)}):x[ve+(re?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(T){return T.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(T){return T.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function $(T){var x=T.activeElement;if(x)return x.shadowRoot&&x.shadowRoot.activeElement!==null?$(x.shadowRoot):x},p=function $(T){if(T!==!1&&T!==h(document)){if(!T||!T.focus){$(u());return}T.focus({preventScroll:!!s.preventScroll}),i.mostRecentlyFocusedNode=T,e3(T)&&T.select()}},m=function(T){var x=f("setReturnFocus",T);return x||(x===!1?!1:T)},_=function(T){var x=T.target,A=T.event,I=T.isBackward,O=I===void 0?!1:I;x=x||Li(A),d();var P=null;if(i.tabbableGroups.length>0){var D=c(x,A),H=D>=0?i.containerGroups[D]:void 0;if(D<0)O?P=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:P=i.tabbableGroups[0].firstTabbableNode;else if(O){var ne=_g(i.tabbableGroups,function(We){var B=We.firstTabbableNode;return x===B});if(ne<0&&(H.container===x||pc(x,s.tabbableOptions)&&!io(x,s.tabbableOptions)&&!H.nextTabbableNode(x,!1))&&(ne=D),ne>=0){var he=ne===0?i.tabbableGroups.length-1:ne-1,re=i.tabbableGroups[he];P=Nr(x)>=0?re.lastTabbableNode:re.lastDomTabbableNode}else Es(A)||(P=H.nextTabbableNode(x,!1))}else{var ve=_g(i.tabbableGroups,function(We){var B=We.lastTabbableNode;return x===B});if(ve<0&&(H.container===x||pc(x,s.tabbableOptions)&&!io(x,s.tabbableOptions)&&!H.nextTabbableNode(x))&&(ve=D),ve>=0){var De=ve===i.tabbableGroups.length-1?0:ve+1,Oe=i.tabbableGroups[De];P=Nr(x)>=0?Oe.firstTabbableNode:Oe.firstDomTabbableNode}else Es(A)||(P=H.nextTabbableNode(x))}}else P=f("fallbackFocus");return P},b=function(T){var x=Li(T);if(!(c(x,T)>=0)){if(rs(s.clickOutsideDeactivates,T)){a.deactivate({returnFocus:s.returnFocusOnDeactivate});return}rs(s.allowOutsideClick,T)||T.preventDefault()}},v=function(T){var x=Li(T),A=c(x,T)>=0;if(A||x instanceof Document)A&&(i.mostRecentlyFocusedNode=x);else{T.stopImmediatePropagation();var I,O=!0;if(i.mostRecentlyFocusedNode)if(Nr(i.mostRecentlyFocusedNode)>0){var P=c(i.mostRecentlyFocusedNode),D=i.containerGroups[P].tabbableNodes;if(D.length>0){var H=D.findIndex(function(ne){return ne===i.mostRecentlyFocusedNode});H>=0&&(s.isKeyForward(i.recentNavEvent)?H+1<D.length&&(I=D[H+1],O=!1):H-1>=0&&(I=D[H-1],O=!1))}}else i.containerGroups.some(function(ne){return ne.tabbableNodes.some(function(he){return Nr(he)>0})})||(O=!1);else O=!1;O&&(I=_({target:i.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(i.recentNavEvent)})),p(I||i.mostRecentlyFocusedNode||u())}i.recentNavEvent=void 0},g=function(T){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=T;var A=_({event:T,isBackward:x});A&&(Es(T)&&T.preventDefault(),p(A))},y=function(T){if(t3(T)&&rs(s.escapeDeactivates,T)!==!1){T.preventDefault(),a.deactivate();return}(s.isKeyForward(T)||s.isKeyBackward(T))&&g(T,s.isKeyBackward(T))},w=function(T){var x=Li(T);c(x,T)>=0||rs(s.clickOutsideDeactivates,T)||rs(s.allowOutsideClick,T)||(T.preventDefault(),T.stopImmediatePropagation())},C=function(){if(i.active)return mg.activateTrap(o,a),i.delayInitialFocusTimer=s.delayInitialFocus?gg(function(){p(u())}):p(u()),r.addEventListener("focusin",v,!0),r.addEventListener("mousedown",b,{capture:!0,passive:!1}),r.addEventListener("touchstart",b,{capture:!0,passive:!1}),r.addEventListener("click",w,{capture:!0,passive:!1}),r.addEventListener("keydown",y,{capture:!0,passive:!1}),a},k=function(){if(i.active)return r.removeEventListener("focusin",v,!0),r.removeEventListener("mousedown",b,!0),r.removeEventListener("touchstart",b,!0),r.removeEventListener("click",w,!0),r.removeEventListener("keydown",y,!0),a},M=function(T){var x=T.some(function(A){var I=Array.from(A.removedNodes);return I.some(function(O){return O===i.mostRecentlyFocusedNode})});x&&p(u())},L=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(M):void 0,R=function(){L&&(L.disconnect(),i.active&&!i.paused&&i.containers.map(function(T){L.observe(T,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(T){if(i.active)return this;var x=l(T,"onActivate"),A=l(T,"onPostActivate"),I=l(T,"checkCanFocusTrap");I||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,x?.();var O=function(){I&&d(),C(),R(),A?.()};return I?(I(i.containers.concat()).then(O,O),this):(O(),this)},deactivate:function(T){if(!i.active)return this;var x=pg({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},T);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,k(),i.active=!1,i.paused=!1,R(),mg.deactivateTrap(o,a);var A=l(x,"onDeactivate"),I=l(x,"onPostDeactivate"),O=l(x,"checkCanReturnFocus"),P=l(x,"returnFocus","returnFocusOnDeactivate");A?.();var D=function(){gg(function(){P&&p(m(i.nodeFocusedBeforeActivation)),I?.()})};return P&&O?(O(m(i.nodeFocusedBeforeActivation)).then(D,D),this):(D(),this)},pause:function(T){if(i.paused||!i.active)return this;var x=l(T,"onPause"),A=l(T,"onPostPause");return i.paused=!0,x?.(),k(),R(),A?.(),this},unpause:function(T){if(!i.paused||!i.active)return this;var x=l(T,"onUnpause"),A=l(T,"onPostUnpause");return i.paused=!1,x?.(),d(),C(),R(),A?.(),this},updateContainerElements:function(T){var x=[].concat(T).filter(Boolean);return i.containers=x.map(function(A){return typeof A=="string"?r.querySelector(A):A}),i.active&&d(),R(),this}},a.updateContainerElements(t),a};function i3(e,t={}){let n;const{immediate:r,...o}=t,s=z(!1),i=z(!1),a=d=>n&&n.activate(d),l=d=>n&&n.deactivate(d),c=()=>{n&&(n.pause(),i.value=!0)},f=()=>{n&&(n.unpause(),i.value=!1)},u=le(()=>{const d=je(e);return(Array.isArray(d)?d:[d]).map(h=>{const p=je(h);return typeof p=="string"?p:_t(p)}).filter(Y0)});return Fe(u,d=>{d.length&&(n=s3(d,{...o,onActivate(){s.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){s.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),En(()=>l()),{hasFocus:s,isPaused:i,activate:a,deactivate:l,pause:c,unpause:f}}const a3={inheritAttrs:!1},Al=Re({...a3,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0},autoClose:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=iv(n,"modelValue",r,{passive:!0}),s=z(null),i=z(!1),{activate:a,deactivate:l}=i3(le(()=>s.value||document.body),{immediate:!1});return Wr(()=>{!i.value&&o.value&&(i.value=!0),o.value&&s.value?Tt(a):l()}),vf(s,()=>{n.modelValue&&n.autoClose&&(o.value=!1,r("close"))},{ignore:["a","button","summary"]}),(c,f)=>{const u=td;return i.value?(Z(),Ae(O_,{key:0,to:"body"},[xs(W("div",{class:nt(["fixed inset-0 z-100 flex items-center justify-center n-transition n-glass-effect",[V(o)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[W("div",{class:nt(["absolute inset-0 -z-1",[c.dim?"glass-effect":""]])},null,2),Y(u,$n(c.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:fe(()=>[it(c.$slots,"default")]),_:3},16)],2),[[Nc,V(o)]])])):Ye("",!0)}}});function l3(){return ni("virtual-files:current","")}function QV(){return ni("terminals:current","")}function eU(){return ni("server-routes:current","")}function tU(){return ni("server-tasks:current","")}function nU(){const e=hy(),t=LN(),n=et(),r=l3();return async o=>{const s=e.value?.buildDir,i=s&&o.startsWith(s)?`#build${o.slice(s.length)}`:o,[a,l=1,c=0]=i.split(/:/g),f=t.value?.entries.find(u=>u.path===a||u.id===a)||t.value?.entries.find(u=>u.path===o||u.id===o);f?(r.value=f.id,n.push("/modules/virtual-files")):await Te.openInEditor(o)}}function X1(){const e=IA();return(t,n)=>{e.copy(t),vl("copy",{copyType:n}),Of({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const c3=W("div",{"carbon-launch":""},null,-1),u3=W("div",{"carbon-launch":""},null,-1),f3=W("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),d3=W("h1",{"text-3xl":""}," Popup is not Supported ",-1),h3=W("p",null,[Pe(" To popup the DevTools, it requires the "),W("a",{href:"https://developer.chrome.com/docs/web-platform/document-picture-in-picture/",target:"_blank"},"Document Picture-in-Picture API"),Pe(" which is currently in experimental state. ")],-1),p3=W("p",null,[Pe(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),W("code",null,"#document-picture-in-picture-api"),Pe(". ")],-1),m3=Re({__name:"PictureInPictureButton",setup(e){const t=dt(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,r=le(()=>window.isSecureContext),o=z(!1),s=X1();function i(){const a=t.value?.devtools?.popup;a&&(vl("popup"),a())}return(a,l)=>{const c=br,f=ed,u=P6,d=Al;return V(n)?Ye("",!0):(Z(),ye($e,{key:0},[V(t)?.devtools.popup&&V(r)?(Z(),Ae(c,{key:0,n:"sm primary",onClick:l[0]||(l[0]=h=>i())},{default:fe(()=>[c3,Pe(" Popup ")]),_:1})):(Z(),ye($e,{key:1},[Y(c,{n:"sm primary",onClick:l[1]||(l[1]=h=>o.value=!0)},{default:fe(()=>[u3,Pe(" Popup "),f3]),_:1}),Y(d,{modelValue:V(o),"onUpdate:modelValue":l[4]||(l[4]=h=>ze(o)?o.value=h:null),class:"max-w-150 p6 pt-2 prose",onClose:l[5]||(l[5]=h=>o.value=!1)},{default:fe(()=>[d3,h3,p3,W("p",null,[Pe(" Your current browser does not seem to support the API, or the flag is not enabled yet. You can try enabling the flag by visiting "),Y(c,{n:"xs primary",title:"Click to Copy",onClick:l[2]||(l[2]=h=>V(s)("chrome://flags/#document-picture-in-picture-api","external-docs"))},{default:fe(()=>[Pe(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Pe(" and restart the browser. ")]),V(r)?Ye("",!0):(Z(),Ae(u,{key:0,class:"mb-4",n:"orange"},{default:fe(()=>[Pe(" Please note that the popup feature only works when your server is running under HTTPS. "),Y(f,{to:"https://nuxt.com/docs/api/nuxt-config#https",target:"_blank"},{default:fe(()=>[Pe(" Learn how to run your server with https on Nuxt's Documentation ")]),_:1})]),_:1})),W("div",null,[Y(c,{onClick:l[3]||(l[3]=h=>o.value=!1)},{default:fe(()=>[Pe(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),g3={px3:"",py2:"",border:"b base",flex:"~ gap-2"},_3=W("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),v3=W("div",{"i-carbon-settings-adjust":""},null,-1),y3={px3:"",py2:"",border:"b base",flex:"~ gap-2"},b3=W("div",{"i-carbon-split-screen":""},null,-1),w3={px3:"",py2:"",flex:"~ gap2"},E3=Re({__name:"DockingPanel",setup(e){const{sidebarExpanded:t}=no();function n(){Qn.value=!Qn.value}return(r,o)=>{const s=br,i=R6,a=qo,l=m3;return Z(),ye("div",null,[W("div",g3,[Y(i,null,{default:fe(({toggle:c,isDark:f})=>[Y(s,{n:"sm primary",onClick:c},{default:fe(()=>[_3,Pe(" "+gt(f.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),Y(s,{n:"sm primary",onClick:o[0]||(o[0]=c=>t.value=!V(t))},{default:fe(()=>[Y(a,{icon:V(t)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),Pe(" "+gt(V(t)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),Y(s,{n:"sm primary",to:"/settings"},{default:fe(()=>[v3,Pe(" Settings ")]),_:1})]),W("div",y3,[("splitScreenAvailable"in r?r.splitScreenAvailable:V(uu))?(Z(),Ae(s,{key:0,n:"sm primary",onClick:n},{default:fe(()=>[b3,Pe(" "+gt(("splitScreenEnabled"in r?r.splitScreenEnabled:V(Qn))?"Close Split Screen":"Split Screen"),1)]),_:1})):Ye("",!0),Y(l)]),W("div",w3,[Y(s,{n:"primary sm",onClick:"refreshData"in r?r.refreshData:V(Jv)},{default:fe(()=>[Pe(" Refetch Data ")]),_:1},8,["onClick"]),Y(s,{n:"primary sm",onClick:"reloadPage"in r?r.reloadPage:V(Qv)},{default:fe(()=>[Pe(" Reload Page ")]),_:1},8,["onClick"])])])}}}),S3=["src","alt"],T3=["title"],Rl=Re({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(Z(),ye("img",$n({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,S3)):(Z(),ye("div",$n({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,T3))}}),C3={flex:"~ items-center gap-3"},x3={key:0,"overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},A3={"translate-y-0.5px":""},R3={key:0,hidden:"","lg:block":""},Y1=Re({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(e){const t=e,n=Uo(),r=le(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=le(()=>"badge"in t.tab&&t.tab.badge?.()),s=le(()=>n.path.startsWith(r.value));function i(){vl("tab-click",{tab:t.tab.name,tabPosition:t.target}),"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(vy.value=t.tab.name)}return(a,l)=>{const c=Rl,f=wn("VTooltip");return Z(),Ae(f,{disabled:!a.minimized,placement:"right",class:nt({"w-full":!a.minimized})},{popper:fe(()=>[W("div",null,gt(a.tab.title),1),"extraTabVNode"in a.tab&&a.tab.extraTabVNode?(Z(),ye("div",R3,[(Z(),Ae(xo(a.tab.extraTabVNode)))])):Ye("",!0)]),default:fe(()=>[(Z(),Ae(xo(a.target==="main"?V(ed):"button"),{to:V(r),flex:`~ items-center ${a.minimized?"justify-center":"justify-between"}`,hover:"bg-active",relative:"",block:"","h-10":"",w:a.minimized?"10":"full","select-none":"",rounded:a.minimized?"xl":"",p:a.minimized?"1":"x3","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:i},{default:fe(()=>[W("div",C3,[Y(c,{"text-xl":"",icon:a.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),a.minimized?Ye("",!0):(Z(),ye("span",x3,gt(a.tab.title),1))]),V(o)?(Z(),ye("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:nt([V(s)?"bg-primary":"bg-gray",{"absolute bottom-0 right-0":a.minimized}])},[W("span",A3,gt(("toValue"in a?a.toValue:V(fn))(V(o))),1)],2)):Ye("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}});function O3(){const e=$N(),t=no(),n=et(),r=le(()=>[...n.getRoutes().filter(s=>s.path.startsWith("/modules/")&&s.meta.title&&!s.meta.wip).filter(s=>!s.meta.experimental||s.meta.experimental&&t.showExperimentalFeatures.value).sort((s,i)=>(s.meta.order||100)-(i.meta.order||100)).map(s=>({name:s.name,path:s.path,...s.meta})),...(e.value||[]).filter(s=>s.name.startsWith("builtin-"))]),o=le(()=>(e.value||[]).filter(s=>!s.name.startsWith("builtin-")));return le(()=>[...r.value,...o.value])}function Z1(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function qi(e){const{pinnedTabs:t}=no();return le(()=>{const n=Z1();for(const r of V(e)){let o=r.category||"app";t.value.includes(r.name)&&(o="pinned"),n[o]?n[o].push(r):console.warn(`Unknown tab category: ${o}`)}for(const r of Object.keys(n))n[r].length===0&&delete n[r];return n.pinned?.length&&n.pinned.sort((r,o)=>t.value.indexOf(r.name)-t.value.indexOf(o.name)),Object.entries(n)})}function nd(){const e=O3(),t=no(),n=Object.keys(Z1()),r=e.value.map(o=>o?.show?.());return le(()=>e.value.filter((o,s)=>{const i=o,a=t.pinnedTabs.value.includes(i.name);return!(a&&t.hiddenTabCategories.value.includes("pinned")||r[s]&&!fn(r[s])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(o.category||"app")&&!a)}).sort((o,s)=>n.indexOf(o.category||"app")-n.indexOf(s.category||"app")))}function rU(){const e=Xv(),t=dy();return le(()=>(e.value?.getRoutes()||[]).map(n=>fy(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const P3={flex:"~ col gap-1","max-w-80":"",py1:""},k3={key:0,"h-1px":"",border:"b base"},I3={flex:"~ wrap",px1:""},J1=Re({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,n)=>{const r=Y1;return Z(),ye("div",P3,[(Z(!0),ye($e,null,Rs(t.categories,([o,s],i)=>(Z(),ye($e,{key:o},[s.length?(Z(),ye($e,{key:0},[i?(Z(),ye("div",k3)):Ye("",!0),W("div",I3,[(Z(!0),ye($e,null,Rs(s,a=>(Z(),Ae(r,{key:a.name,target:t.target,tab:a},null,8,["target","tab"]))),128))])],64)):Ye("",!0)],64))),128))])}}}),N3={id:"nuxt-devtools-side-nav",border:"r base",flex:"~ col","z-100":"","h-full":"","items-start":"","of-hidden":"","bg-base":""},$3={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},L3=["title"],D3=W("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),M3=W("span",{text:"lg black dark:white","font-600":""}," DevTools ",-1),F3=W("div",{"flex-auto":""},null,-1),B3=W("div",{"i-carbon-overflow-menu-vertical":""},null,-1),V3={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},U3=W("div",{"flex-auto":""},null,-1),H3=["flex"],j3={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},z3={"translate-y-0.5px":""},G3=45,K3=Re({__name:"SideNav",setup(e){const t=dt(),n=nd(),{sidebarExpanded:r,sidebarScrollable:o}=no(),s=z(!1),i=z(!1),a=z(),l=z(),c=z();function f(){s.value=!s.value}function u(){i.value=!i.value}const{height:d}=av(),h=le(()=>{const y=d.value-130;return Math.max(0,Math.floor(y/G3))}),p=le(()=>n.value.slice(0,h.value)),m=le(()=>n.value.slice(h.value)),_=qi(n),b=qi(p),v=qi(m),g=le(()=>o.value||r.value?_.value:b.value);return vf(a,y=>{l.value&&y.composedPath().includes(l.value)||c.value&&y.composedPath().includes(c.value)||(s.value=!1,i.value=!1)},{detectIframe:!0}),(y,w)=>{const C=E3,k=wn("VDropdown"),M=Y1,L=Rl;return Z(),ye("div",N3,[W("div",$3,[Y(k,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:V(s),"auto-hide":!0},{popper:fe(()=>[Y(C,{ref_key:"panel",ref:a},null,512)]),default:fe(()=>[W("button",{ref_key:"buttonDocking",ref:l,flex:"~ items-center justify-center gap-2",hover:"bg-active",relative:"","h-10":"","select-none":"",p2:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:nt([V(t)?"":"saturate-0",V(r)?"w-full rounded pl2.5":"w-10 rounded-xl"]),title:V(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:f},[D3,V(r)?(Z(),ye($e,{key:0},[M3,F3,B3],64)):Ye("",!0)],10,L3)]),_:1},8,["shown"])]),W("div",{flex:"~ auto col gap-0.5 items-center","w-full":"",p1:"",class:nt(["no-scrollbar",{"of-x-hidden of-y-auto":V(r)||V(o)}])},[(Z(!0),ye($e,null,Rs(V(g),([R,$],T)=>(Z(),ye($e,{key:R},[$.length?(Z(),ye($e,{key:0},[T?(Z(),ye("div",V3)):Ye("",!0),(Z(!0),ye($e,null,Rs($,x=>(Z(),Ae(M,{key:x.name,tab:x,minimized:!V(r)},null,8,["tab","minimized"]))),128))],64)):Ye("",!0)],64))),128)),U3],2),W("div",{flex:`~ items-center gap-1 ${V(r)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":""},[V(m).length&&!V(o)&&!V(r)?(Z(),Ae(k,{key:0,placement:"left-end",distance:12,triggers:[],shown:V(i),"auto-hide":!0},{popper:fe(()=>[Y(J1,{categories:V(v),"max-w-80":"",target:"main"},null,8,["categories"])]),default:fe(()=>[W("button",{ref_key:"buttonMoreTabs",ref:c,flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:u},[Y(L,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),W("div",j3,[W("span",z3,gt(V(m).length),1)])],512)]),_:1},8,["shown"])):Ye("",!0),Y(M,{minimized:!V(r),tab:{icon:"i-carbon:settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,H3)])}}}),W3=Re({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return sr(Js,pn(r)),()=>Qe(e.vnode,{ref:e.vnodeRef})}}),q3=Re({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const o=Le(),s=z(),i=vt(Js,null);let a;r({pageRef:s});const l=vt(S0,null);let c;const f=o.deferHydration();if(o.isHydrating){const u=o.hooks.hookOnce("app:error",f);et().beforeEach(u)}return e.pageKey&&Fe(()=>e.pageKey,(u,d)=>{u!==d&&o.callHook("page:loading:start")}),()=>Qe(q0,{name:e.name,route:e.route,...t},{default:u=>{const d=Y3(i,u.route,u.Component),h=i&&i.matched.length===u.route.matched.length;if(!u.Component){if(c&&!h)return c;f();return}if(c&&l&&!l.isCurrent(u.route))return c;if(d&&i&&(!l||l?.isCurrent(i)))return h?c:null;const p=Jc(u,e.pageKey);!o.isHydrating&&!Z3(i,u.route,u.Component)&&a===p&&o.callHook("page:loading:end"),a=p;const m=!!(e.transition??u.route.meta.pageTransition??Fc),_=m&&X3([e.transition,u.route.meta.pageTransition,Fc,{onAfterLeave:()=>{o.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),b=e.keepalive??u.route.meta.keepalive??nT;return c=_y(el,m&&_,Hx(b,Qe(sf,{suspensible:!0,onPending:()=>o.callHook("page:start",u.Component),onResolve:()=>{Tt(()=>o.callHook("page:finish",u.Component).then(()=>o.callHook("page:loading:end")).finally(f))}},{default:()=>{const v=Qe(W3,{key:p||void 0,vnode:n.default?Qe($e,void 0,n.default(u)):u.Component,route:u.route,renderKey:p||void 0,trackRootNodes:m,vnodeRef:s});return b&&(v.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),v}}))).default(),c}})}});function X3(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?mf(n.onAfterLeave):void 0}));return w0(...t)}function Y3(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>o.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((o,s)=>o.components?.default!==e.matched[s]?.components?.default)||n&&Jc({route:t,Component:n})!==Jc({route:e,Component:n})}function Z3(e,t,n){return e?t.matched.findIndex(o=>o.components?.default===n?.type)<t.matched.length-1:!1}const J3={},Q3={class:"n-panel-grids-center"};function eF(e,t){return Z(),ye("div",Q3,[it(e.$slots,"default")])}const Q1=xl(J3,[["render",eF]]),tF={"h-full":"","h-screen":"","of-hidden":""},nF={border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","n-navbar-glass":""},rF=W("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),oF=W("div",{"flex-auto":""},null,-1),sF={key:0,"of-auto":"",style:{height:"calc(100% - 50px)"}},iF=W("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),aF=Re({__name:"SplitScreen",setup(e){const t=nd(),n=Bt(),r=Uo(),o=et(),s=le(()=>t.value.filter(d=>d.name!==r.name&&d.name!==r.params?.name)),i=qi(s),a=le(()=>s.value.find(d=>d.name===vy.value));Fe(()=>a.value,d=>{if(!d)return;const h=o.getRoutes(),p=d&&"path"in d?h.find(_=>_.path===d.path):h.find(_=>_.name==="modules-custom-name");if(p?.path===r.path||r.params?.name===d.name){n.value=void 0;return}const m=p?.components?.default;typeof m=="function"?n.value=ea(m):n.value=m},{immediate:!0});function l(){Qn.value=!1}const c=z(),f=z(),u=z(!1);return vf(c,d=>{f.value&&d.composedPath().includes(f.value)||(u.value=!1)},{detectIframe:!0}),(d,h)=>{const p=Rl,m=J1,_=wn("VDropdown"),b=br,v=td,g=Q1,y=gw("tooltip");return Z(),ye("div",tF,[W("div",nF,[Y(_,{placement:"bottom-start",distance:12,skidding:5,triggers:[],shown:V(u),"auto-hide":!0},{popper:fe(()=>[Y(m,{ref_key:"gridPanel",ref:c,categories:V(i),target:"side"},null,8,["categories"])]),default:fe(()=>[W("div",{ref_key:"gridPanelButton",ref:f,flex:"~ gap-2 items-center","cursor-pointer":"","select-none":"",onClick:h[0]||(h[0]=w=>u.value=!V(u))},[rF,V(a)?(Z(),ye($e,{key:0},[Y(p,{"text-xl":"",icon:V(a).icon,title:V(a).title,"show-title":!1},null,8,["icon","title"]),W("span",null,gt(V(a).title),1)],64)):(Z(),ye($e,{key:1},[Pe(" Select a tab ")],64))],512)]),_:1},8,["shown"]),oF,xs(Y(b,{icon:"i-carbon:side-panel-open",title:"Close split screen",border:!1,onClick:l},null,512),[[y,"Close split screen"]])]),V(n)&&V(a)?(Z(),ye("div",sF,["view"in V(a)?(Z(),Ae(xo(V(n)),{key:V(a).name,name:V(a).name},null,8,["name"])):(Z(),Ae(xo(V(n)),{key:`tab-${V(a).name}`}))])):(Z(),Ae(g,{key:1},{default:fe(()=>[iF,Y(v,{px4:"",py2:""},{default:fe(()=>[Y(m,{categories:V(i),target:"side"},null,8,["categories"])]),_:1}),Y(b,{n:"sm orange",mt2:"",onClick:l},{default:fe(()=>[Pe(" Close Split Screen ")]),_:1})]),_:1}))])}}}),lF={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((r,o)=>(r.size=o===t?r.max:r.min,o!==t&&(n+=r.min),r)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:r}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:r-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const r=0+(this.pushOtherPanes?0:n.prevPanesSize),o=100-(this.pushOtherPanes?0:n.nextPanesSize),s=Math.max(Math.min(this.getCurrentDragPercentage(e),o),r);let i=[t,t+1],a=this.panes[i[0]]||null,l=this.panes[i[1]]||null;const c=a.max<100&&s>=a.max+n.prevPanesSize,f=l.max<100&&s<=100-(l.max+this.sumNextPanesSize(t+1));if(c||f){c?(a.size=a.max,l.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-l.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),l.size=l.max);return}if(this.pushOtherPanes){const u=this.doPushOtherPanes(n,s);if(!u)return;({sums:n,panesToResize:i}=u),a=this.panes[i[0]]||null,l=this.panes[i[1]]||null}a!==null&&(a.size=Math.min(Math.max(s-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),l!==null&&(l.size=Math.min(Math.max(100-s-n.nextPanesSize-n.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,r=[n,n+1];return t<e.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,r[0]<n&&this.panes.forEach((o,s)=>{s>r[0]&&s<=n&&(o.size=o.min,e.prevReachedMinPanes+=o.min)}),e.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((o,s)=>{s>0&&s<=n&&(o.size=o.min,e.prevReachedMinPanes+=o.min)}),this.panes[r[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&this.panes.forEach((o,s)=>{s>n&&s<r[1]&&(o.size=o.min,e.nextReachedMinPanes+=o.min)}),e.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((o,s)=>{s<this.panesCount-1&&s>=n+1&&(o.size=o.min,e.nextReachedMinPanes+=o.min)}),this.panes[r[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:r}},sumPrevPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const r=e-1,o=document.createElement("div");o.classList.add("splitpanes__splitter"),n||(o.onmousedown=s=>this.onMouseDown(s,r),typeof window<"u"&&"ontouchstart"in window&&(o.ontouchstart=s=>this.onMouseDown(s,r)),o.onclick=s=>this.onSplitterClick(s,r+1)),this.dblClickSplitter&&(o.ondblclick=s=>this.onSplitterDblClick(s,r+1)),t.parentNode.insertBefore(o,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([r,o])=>n[r]=o)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(o=>(o.className.includes("splitpanes__pane")&&t++,o===e.$el));const n=parseFloat(e.minSize),r=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(r)?100:r,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((o,s)=>o.index=s),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(o=>({min:o.min,max:o.max,size:o.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(r=>r.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((r,o)=>r.index=o),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],r=[];this.panes.forEach(o=>{o.size=Math.max(Math.min(e,o.max),o.min),t-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&r.push(o.id)}),t>.1&&this.readjustSizes(t,n,r)},initialPanesSizing(){let e=100;const t=[],n=[];let r=0;this.panes.forEach(s=>{e-=s.size,s.size!==null&&r++,s.size>=s.max&&t.push(s.id),s.size<=s.min&&n.push(s.id)});let o=100;e>.1&&(this.panes.forEach(s=>{s.size===null&&(s.size=Math.max(Math.min(e/(this.panesCount-r),s.max),s.min)),o-=s.size}),o>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,r=0;const o=[],s=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(i=>{r-=i.size,i.size>=i.max&&o.push(i.id),i.size<=i.min&&s.push(i.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(i=>{e&&e.givenSize!==null&&e.id===i.id||(i.size=Math.max(Math.min(n,i.max),i.min)),r-=i.size,i.size>=i.max&&o.push(i.id),i.size<=i.min&&s.push(i.id)}),r>.1&&this.readjustSizes(r,o,s))},readjustSizes(e,t,n){let r;e>0?r=e/(this.panesCount-t.length):r=e/(this.panesCount-n.length),this.panes.forEach((o,s)=>{if(e>0&&!t.includes(o.id)){const i=Math.max(Math.min(o.size+r,o.max),o.min),a=i-o.size;e-=a,o.size=i}else if(!n.includes(o.id)){const i=Math.max(Math.min(o.size+r,o.max),o.min),a=i-o.size;e-=a,o.size=i}o.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[o.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?r=>this.onSplitterDblClick(r,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Qe("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},cF=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},uF={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function fF(e,t,n,r,o,s){return Z(),ye("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=i=>s.onPaneClick(i,e._.uid)),style:_n(e.style)},[it(e.$slots,"default")],4)}const vg=cF(uF,[["render",fF]]),yg=30,dF=Re({__name:"NSplitPane",props:{storageKey:{},stateKey:{default:"nuxt-devtools-panels-state"},leftSize:{},minSize:{},horizontal:{type:Boolean}},setup(e){const t=e,n=zo(t.stateKey,{},{listenToStorageChanges:!1}),r=t.storageKey,o=r?le({get:()=>n.value[r]||t.leftSize||yg,set:s=>{n.value[r]=s}}):z(t.leftSize||yg);return(s,i)=>(Z(),Ae(V(lF),{horizontal:s.horizontal,"h-full":"","of-hidden":"",onResize:i[0]||(i[0]=a=>o.value=a[0].size)},{default:fe(()=>[Y(V(vg),{"h-full":"",class:"of-auto!",size:V(o),"min-size":s.$slots.right?s.minSize||10:100},{default:fe(()=>[it(s.$slots,"left")]),_:3},8,["size","min-size"]),s.$slots.right?(Z(),Ae(V(vg),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":s.minSize||10},{default:fe(()=>[it(s.$slots,"right")]),_:3},8,["min-size"])):Ye("",!0)]),_:3},8,["horizontal"]))}}),hF=Re({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await er[e.name]().then(r=>r.default||r);return()=>Qe(n,e.layoutProps,t.slots)}}),pF=Re({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=Le(),r=vt(Js),o=r===Uo()?Vx():r,s=le(()=>{let l=V(e.name)??o.meta.layout??"default";return l&&!(l in er)&&e.fallback&&(l=V(e.fallback)),l}),i=z();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);et().beforeEach(l)}return()=>{const l=s.value&&s.value in er,c=o.meta.layoutTransition??tT;return _y(el,l&&c,{default:()=>Qe(sf,{suspensible:!0,onResolve:()=>{Tt(a)}},{default:()=>Qe(mF,{layoutProps:$n(t.attrs,{ref:i}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),mF=Re({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&sr(S0,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>!n||typeof n=="string"&&!(n in er)?t.slots.default?.():Qe(hF,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),gF={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},eb=Re({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},autocomplete:{},readonly:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const o=iv(e,"modelValue",t,{passive:!0});return(s,i)=>{const a=qo;return Z(),ye("div",gF,[it(s.$slots,"icon",{},()=>[s.icon?(Z(),Ae(a,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Ye("",!0)]),xs(W("input",$n({"onUpdate:modelValue":i[0]||(i[0]=l=>ze(o)?o.value=l:null)},s.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[HE,V(o)]])])}}}),Au=Ft(new Map);function _F(){const e=nd(),t=et(),n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Nuxt Documentations",icon:"logos-nuxt-icon",action:()=>yF()}],r=le(()=>e.value.map(o=>({id:`tab:${o.name}`,title:o.title||o.name,icon:o.icon,action:()=>{"onClick"in o&&o.onClick?o.onClick():t.push("path"in o&&o.path?o.path:`/modules/custom-${o.name}`)}})));return le(()=>[...n,...r.value,...Array.from(Au.values()).flatMap(o=>fn(o))])}function vF(e){const t=kN();Au.set(t,e),Xa(()=>{Au.delete(t)})}let mc;async function yF(){return mc||(mc=(await $fetch("https://nuxt.com/api/search.json",{query:{select:"_path,title,description,navigation"}})).map(t=>({id:t._path,title:t.title,description:t.description,icon:t.navigation?.icon??"i-carbon-document-multiple-01",action:()=>{window.open(`https://nuxt.com/${t._path}`,"_blank")}}))),mc}function Dn(e){return Array.isArray?Array.isArray(e):rb(e)==="[object Array]"}const bF=1/0;function wF(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-bF?"-0":t}function EF(e){return e==null?"":wF(e)}function gn(e){return typeof e=="string"}function tb(e){return typeof e=="number"}function SF(e){return e===!0||e===!1||TF(e)&&rb(e)=="[object Boolean]"}function nb(e){return typeof e=="object"}function TF(e){return nb(e)&&e!==null}function Mt(e){return e!=null}function gc(e){return!e.trim().length}function rb(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const CF="Incorrect 'index' type",xF=e=>`Invalid value for key ${e}`,AF=e=>`Pattern length exceeds max of ${e}.`,RF=e=>`Missing ${e} property in key`,OF=e=>`Property 'weight' in key '${e}' must be a positive integer`,bg=Object.prototype.hasOwnProperty;class PF{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let o=ob(r);this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function ob(e){let t=null,n=null,r=null,o=1,s=null;if(gn(e)||Dn(e))r=e,t=wg(e),n=Ru(e);else{if(!bg.call(e,"name"))throw new Error(RF("name"));const i=e.name;if(r=i,bg.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(OF(i));t=wg(i),n=Ru(i),s=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:s}}function wg(e){return Dn(e)?e:e.split(".")}function Ru(e){return Dn(e)?e.join("."):e}function kF(e,t){let n=[],r=!1;const o=(s,i,a)=>{if(Mt(s))if(!i[a])n.push(s);else{let l=i[a];const c=s[l];if(!Mt(c))return;if(a===i.length-1&&(gn(c)||tb(c)||SF(c)))n.push(EF(c));else if(Dn(c)){r=!0;for(let f=0,u=c.length;f<u;f+=1)o(c[f],i,a+1)}else i.length&&o(c,i,a+1)}};return o(e,gn(t)?t.split("."):t,0),r?n:n[0]}const IF={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},NF={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},$F={location:0,threshold:.6,distance:100},LF={useExtendedSearch:!1,getFn:kF,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Ee={...NF,...IF,...$F,...LF};const DF=/[^ ]+/g;function MF(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(o){const s=o.match(DF).length;if(n.has(s))return n.get(s);const i=1/Math.pow(s,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(s,a),a},clear(){n.clear()}}}class rd{constructor({getFn:t=Ee.getFn,fieldNormWeight:n=Ee.fieldNormWeight}={}){this.norm=MF(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,gn(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();gn(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!Mt(t)||gc(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((o,s)=>{let i=o.getFn?o.getFn(t):this.getFn(t,o.path);if(Mt(i)){if(Dn(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:f}=l.pop();if(Mt(f))if(gn(f)&&!gc(f)){let u={v:f,i:c,n:this.norm.get(f)};a.push(u)}else Dn(f)&&f.forEach((u,d)=>{l.push({nestedArrIndex:d,value:u})})}r.$[s]=a}else if(gn(i)&&!gc(i)){let a={v:i,n:this.norm.get(i)};r.$[s]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function sb(e,t,{getFn:n=Ee.getFn,fieldNormWeight:r=Ee.fieldNormWeight}={}){const o=new rd({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(ob)),o.setSources(t),o.create(),o}function FF(e,{getFn:t=Ee.getFn,fieldNormWeight:n=Ee.fieldNormWeight}={}){const{keys:r,records:o}=e,s=new rd({getFn:t,fieldNormWeight:n});return s.setKeys(r),s.setIndexRecords(o),s}function Di(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=Ee.distance,ignoreLocation:s=Ee.ignoreLocation}={}){const i=t/e.length;if(s)return i;const a=Math.abs(r-n);return o?i+a/o:a?1:i}function BF(e=[],t=Ee.minMatchCharLength){let n=[],r=-1,o=-1,s=0;for(let i=e.length;s<i;s+=1){let a=e[s];a&&r===-1?r=s:!a&&r!==-1&&(o=s-1,o-r+1>=t&&n.push([r,o]),r=-1)}return e[s-1]&&s-r>=t&&n.push([r,s-1]),n}const $r=32;function VF(e,t,n,{location:r=Ee.location,distance:o=Ee.distance,threshold:s=Ee.threshold,findAllMatches:i=Ee.findAllMatches,minMatchCharLength:a=Ee.minMatchCharLength,includeMatches:l=Ee.includeMatches,ignoreLocation:c=Ee.ignoreLocation}={}){if(t.length>$r)throw new Error(AF($r));const f=t.length,u=e.length,d=Math.max(0,Math.min(r,u));let h=s,p=d;const m=a>1||l,_=m?Array(u):[];let b;for(;(b=e.indexOf(t,p))>-1;){let k=Di(t,{currentLocation:b,expectedLocation:d,distance:o,ignoreLocation:c});if(h=Math.min(k,h),p=b+f,m){let M=0;for(;M<f;)_[b+M]=1,M+=1}}p=-1;let v=[],g=1,y=f+u;const w=1<<f-1;for(let k=0;k<f;k+=1){let M=0,L=y;for(;M<L;)Di(t,{errors:k,currentLocation:d+L,expectedLocation:d,distance:o,ignoreLocation:c})<=h?M=L:y=L,L=Math.floor((y-M)/2+M);y=L;let R=Math.max(1,d-L+1),$=i?u:Math.min(d+L,u)+f,T=Array($+2);T[$+1]=(1<<k)-1;for(let A=$;A>=R;A-=1){let I=A-1,O=n[e.charAt(I)];if(m&&(_[I]=+!!O),T[A]=(T[A+1]<<1|1)&O,k&&(T[A]|=(v[A+1]|v[A])<<1|1|v[A+1]),T[A]&w&&(g=Di(t,{errors:k,currentLocation:I,expectedLocation:d,distance:o,ignoreLocation:c}),g<=h)){if(h=g,p=I,p<=d)break;R=Math.max(1,2*d-p)}}if(Di(t,{errors:k+1,currentLocation:d,expectedLocation:d,distance:o,ignoreLocation:c})>h)break;v=T}const C={isMatch:p>=0,score:Math.max(.001,g)};if(m){const k=BF(_,a);k.length?l&&(C.indices=k):C.isMatch=!1}return C}function UF(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}class ib{constructor(t,{location:n=Ee.location,threshold:r=Ee.threshold,distance:o=Ee.distance,includeMatches:s=Ee.includeMatches,findAllMatches:i=Ee.findAllMatches,minMatchCharLength:a=Ee.minMatchCharLength,isCaseSensitive:l=Ee.isCaseSensitive,ignoreLocation:c=Ee.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const f=(d,h)=>{this.chunks.push({pattern:d,alphabet:UF(d),startIndex:h})},u=this.pattern.length;if(u>$r){let d=0;const h=u%$r,p=u-h;for(;d<p;)f(this.pattern.substr(d,$r),d),d+=$r;if(h){const m=u-$r;f(this.pattern.substr(m),m)}}else f(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return r&&(p.indices=[[0,t.length-1]]),p}const{location:o,distance:s,threshold:i,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let f=[],u=0,d=!1;this.chunks.forEach(({pattern:p,alphabet:m,startIndex:_})=>{const{isMatch:b,score:v,indices:g}=VF(t,p,m,{location:o+_,distance:s,threshold:i,findAllMatches:a,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});b&&(d=!0),u+=v,b&&g&&(f=[...f,...g])});let h={isMatch:d,score:d?u/this.chunks.length:1};return d&&r&&(h.indices=f),h}}class wr{constructor(t){this.pattern=t}static isMultiMatch(t){return Eg(t,this.multiRegex)}static isSingleMatch(t){return Eg(t,this.singleRegex)}search(){}}function Eg(e,t){const n=e.match(t);return n?n[1]:null}class HF extends wr{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class jF extends wr{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class zF extends wr{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class GF extends wr{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class KF extends wr{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class WF extends wr{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class ab extends wr{constructor(t,{location:n=Ee.location,threshold:r=Ee.threshold,distance:o=Ee.distance,includeMatches:s=Ee.includeMatches,findAllMatches:i=Ee.findAllMatches,minMatchCharLength:a=Ee.minMatchCharLength,isCaseSensitive:l=Ee.isCaseSensitive,ignoreLocation:c=Ee.ignoreLocation}={}){super(t),this._bitapSearch=new ib(t,{location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class lb extends wr{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const o=[],s=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+s,o.push([r,n-1]);const i=!!o.length;return{isMatch:i,score:i?0:1,indices:o}}}const Ou=[HF,lb,zF,GF,WF,KF,jF,ab],Sg=Ou.length,qF=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,XF="|";function YF(e,t={}){return e.split(XF).map(n=>{let r=n.trim().split(qF).filter(s=>s&&!!s.trim()),o=[];for(let s=0,i=r.length;s<i;s+=1){const a=r[s];let l=!1,c=-1;for(;!l&&++c<Sg;){const f=Ou[c];let u=f.isMultiMatch(a);u&&(o.push(new f(u,t)),l=!0)}if(!l)for(c=-1;++c<Sg;){const f=Ou[c];let u=f.isSingleMatch(a);if(u){o.push(new f(u,t));break}}}return o})}const ZF=new Set([ab.type,lb.type]);class JF{constructor(t,{isCaseSensitive:n=Ee.isCaseSensitive,includeMatches:r=Ee.includeMatches,minMatchCharLength:o=Ee.minMatchCharLength,ignoreLocation:s=Ee.ignoreLocation,findAllMatches:i=Ee.findAllMatches,location:a=Ee.location,threshold:l=Ee.threshold,distance:c=Ee.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:o,findAllMatches:i,ignoreLocation:s,location:a,threshold:l,distance:c},this.pattern=n?t:t.toLowerCase(),this.query=YF(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:o}=this.options;t=o?t:t.toLowerCase();let s=0,i=[],a=0;for(let l=0,c=n.length;l<c;l+=1){const f=n[l];i.length=0,s=0;for(let u=0,d=f.length;u<d;u+=1){const h=f[u],{isMatch:p,indices:m,score:_}=h.search(t);if(p){if(s+=1,a+=_,r){const b=h.constructor.type;ZF.has(b)?i=[...i,...m]:i.push(m)}}else{a=0,s=0,i.length=0;break}}if(s){let u={isMatch:!0,score:a/s};return r&&(u.indices=i),u}}return{isMatch:!1,score:1}}}const Pu=[];function QF(...e){Pu.push(...e)}function ku(e,t){for(let n=0,r=Pu.length;n<r;n+=1){let o=Pu[n];if(o.condition(e,t))return new o(e,t)}return new ib(e,t)}const Ua={AND:"$and",OR:"$or"},Iu={PATH:"$path",PATTERN:"$val"},Nu=e=>!!(e[Ua.AND]||e[Ua.OR]),eB=e=>!!e[Iu.PATH],tB=e=>!Dn(e)&&nb(e)&&!Nu(e),Tg=e=>({[Ua.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function cb(e,t,{auto:n=!0}={}){const r=o=>{let s=Object.keys(o);const i=eB(o);if(!i&&s.length>1&&!Nu(o))return r(Tg(o));if(tB(o)){const l=i?o[Iu.PATH]:s[0],c=i?o[Iu.PATTERN]:o[l];if(!gn(c))throw new Error(xF(l));const f={keyId:Ru(l),pattern:c};return n&&(f.searcher=ku(c,t)),f}let a={children:[],operator:s[0]};return s.forEach(l=>{const c=o[l];Dn(c)&&c.forEach(f=>{a.children.push(r(f))})}),a};return Nu(e)||(e=Tg(e)),r(e)}function nB(e,{ignoreFieldNorm:t=Ee.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:o,norm:s,score:i})=>{const a=o?o.weight:null;r*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:s))}),n.score=r})}function rB(e,t){const n=e.matches;t.matches=[],Mt(n)&&n.forEach(r=>{if(!Mt(r.indices)||!r.indices.length)return;const{indices:o,value:s}=r;let i={indices:o,value:s};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function oB(e,t){t.score=e.score}function sB(e,t,{includeMatches:n=Ee.includeMatches,includeScore:r=Ee.includeScore}={}){const o=[];return n&&o.push(rB),r&&o.push(oB),e.map(s=>{const{idx:i}=s,a={item:t[i],refIndex:i};return o.length&&o.forEach(l=>{l(s,a)}),a})}class Xo{constructor(t,n={},r){this.options={...Ee,...n},this.options.useExtendedSearch,this._keyStore=new PF(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof rd))throw new Error(CF);this._myIndex=n||sb(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Mt(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,o=this._docs.length;r<o;r+=1){const s=this._docs[r];t(s,r)&&(this.removeAt(r),r-=1,o-=1,n.push(s))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:o,shouldSort:s,sortFn:i,ignoreFieldNorm:a}=this.options;let l=gn(t)?gn(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return nB(l,{ignoreFieldNorm:a}),s&&l.sort(i),tb(n)&&n>-1&&(l=l.slice(0,n)),sB(l,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(t){const n=ku(t,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:s,i,n:a})=>{if(!Mt(s))return;const{isMatch:l,score:c,indices:f}=n.searchIn(s);l&&o.push({item:s,idx:i,matches:[{score:c,value:s,norm:a,indices:f}]})}),o}_searchLogical(t){const n=cb(t,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:u,searcher:d}=a,h=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(l,u),searcher:d});return h&&h.length?[{idx:c,item:l,matches:h}]:[]}const f=[];for(let u=0,d=a.children.length;u<d;u+=1){const h=a.children[u],p=r(h,l,c);if(p.length)f.push(...p);else if(a.operator===Ua.AND)return[]}return f},o=this._myIndex.records,s={},i=[];return o.forEach(({$:a,i:l})=>{if(Mt(a)){let c=r(n,a,l);c.length&&(s[l]||(s[l]={idx:l,item:a,matches:[]},i.push(s[l])),c.forEach(({matches:f})=>{s[l].matches.push(...f)}))}}),i}_searchObjectList(t){const n=ku(t,this.options),{keys:r,records:o}=this._myIndex,s=[];return o.forEach(({$:i,i:a})=>{if(!Mt(i))return;let l=[];r.forEach((c,f)=>{l.push(...this._findMatches({key:c,value:i[f],searcher:n}))}),l.length&&s.push({idx:a,item:i,matches:l})}),s}_findMatches({key:t,value:n,searcher:r}){if(!Mt(n))return[];let o=[];if(Dn(n))n.forEach(({v:s,i,n:a})=>{if(!Mt(s))return;const{isMatch:l,score:c,indices:f}=r.searchIn(s);l&&o.push({score:c,key:t,value:s,idx:i,norm:a,indices:f})});else{const{v:s,n:i}=n,{isMatch:a,score:l,indices:c}=r.searchIn(s);a&&o.push({score:l,key:t,value:s,norm:i,indices:c})}return o}}Xo.version="7.0.0";Xo.createIndex=sb;Xo.parseIndex=FF;Xo.config=Ee;Xo.parseQuery=cb;QF(JF);const iB={"h-full":"",flex:"~ col"},aB={border:"b base","flex-none":""},lB={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},cB=["id","onClick","onMouseover"],uB={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},fB={"ws-nowrap":""},dB={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},hB={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},pB=W("span",{op50:""},"No results for",-1),mB={"text-primary":""},gB={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},_B={"text-xs":"",flex:"~ items-center gap2"},vB=W("span",{op75:""},"to navigate",-1),yB={"text-xs":"",flex:"~ items-center gap2"},bB={op75:""},wB={"text-xs":"",flex:"~ items-center gap2"},EB=W("span",{op75:""},"to select",-1),SB=Re({__name:"CommandPalette",setup(e){const t=z(!1),n=z(""),r=_F(),o=z(),s=le(()=>o.value||r.value),i=le(()=>new Xo(s.value,{keys:["id","title"],distance:50})),a=le(()=>n.value?i.value.search(n.value).map(h=>h.item):s.value||[]),l=z(0);Fe(n,()=>{l.value=0,f()});function c(h){l.value=(l.value+h+a.value.length)%a.value.length,f()}function f(){document.getElementById(a.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function u(h){const p=await h.action();p?(o.value=p,n.value=""):(o.value=void 0,n.value="",t.value=!1)}St("keydown",h=>{if((h.ctrlKey||h.metaKey)&&h.key==="k"){h.preventDefault(),o.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),c(h.key==="ArrowDown"?1:-1);break;case"Enter":{const p=a.value[l.value];p&&(h.preventDefault(),u(p));break}case"Escape":{h.preventDefault(),o.value?(o.value=void 0,n.value=""):t.value=!1;break}}});function d(h){h.key==="Backspace"&&!n.value&&o.value&&(h.preventDefault(),o.value=void 0,n.value="")}return(h,p)=>{const m=eb,_=Rl,b=qo,v=br,g=Al;return Z(),Ae(g,{modelValue:V(t),"onUpdate:modelValue":p[1]||(p[1]=y=>ze(t)?t.value=y:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:fe(()=>[W("div",iB,[W("header",aB,[Y(m,{modelValue:V(n),"onUpdate:modelValue":p[0]||(p[0]=y=>ze(n)?n.value=y:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:d},null,8,["modelValue"])]),W("div",lB,[(Z(!0),ye($e,null,Rs(V(a),(y,w)=>(Z(),ye("button",{id:y.id,key:y.id,onClick:C=>u(y),onMouseover:C=>l.value=w},[W("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:nt(V(l)===w?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[Y(_,{icon:y.icon,title:y.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),W("span",uB,[W("span",fB,gt(y.title),1),W("span",dB,gt(y.description),1)]),V(l)===w?(Z(),Ae(b,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):Ye("",!0)],2)],40,cB))),128)),V(a).length?Ye("",!0):(Z(),ye("div",hB,[Y(b,{op50:"",icon:"carbon-search"}),W("div",null,[pB,W("strong",mB,' "'+gt(V(n))+'" ',1)])]))]),W("footer",gB,[W("div",_B,[Y(v,{n:"xs",px1:""},{default:fe(()=>[Y(b,{icon:"carbon-arrow-down"})]),_:1}),Y(v,{n:"xs",px1:""},{default:fe(()=>[Y(b,{icon:"carbon-arrow-up"})]),_:1}),vB]),W("div",yB,[Y(v,{n:"xs",px1:""},{default:fe(()=>[Pe(" Esc ")]),_:1}),W("span",bB,"to "+gt(V(o)?"go back":"close"),1)]),W("div",wB,[Y(v,{n:"xs",px1:""},{default:fe(()=>[Y(b,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),EB])])])]),_:1},8,["modelValue"])}}}),TB=W("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[W("span",{class:"i-carbon-information-square"}),Pe(" Permissions required ")],-1),CB=W("p",null," This operation requires permissions for running command and access files from the browser. ",-1),xB=W("p",null,[Pe(" A request is sent to the server."),W("br"),Pe(" Please check your terminal for the instructions and then come back. ")],-1),AB={flex:"~ gap-3",mt5:"","justify-between":""},RB=W("p",{"text-xs":"","op-50":""}," Or you can manually paste the token below: ",-1),OB={flex:"~ inline gap-2 items-center"},PB={flex:"~ gap-2 items-end"},kB=Re({__name:"AuthRequiredPanel",setup(e){Bn(async()=>{Ot.value||Et.value&&await Te.verifyAuthToken(Et.value)&&(Ot.value=!0),Ot.value||ry()});const t=z(""),n=z(!1);async function r(){const o=t.value.trim();n.value=!1,await Te.verifyAuthToken(o).then(s=>{s?(Ot.value=!0,vk(o)):n.value=!0})}return(o,s)=>{const i=eb,a=br,l=td,c=Q1;return("isDevAuthed"in o?o.isDevAuthed:V(Ot))?it(o.$slots,"default",{key:1}):(Z(),Ae(c,{key:0},{default:fe(()=>[Y(l,{flex:"~ col gap-2",mxa:"",p6:""},{default:fe(()=>[TB,CB,xB,W("div",AB,[W("form",{relative:"",flex:"~ col gap-2",onSubmit:KE(r,["prevent"])},[RB,W("div",OB,[Y(i,{modelValue:V(t),"onUpdate:modelValue":s[0]||(s[0]=f=>ze(t)?t.value=f:null),placeholder:"Enter token here",n:V(n)?"red":void 0,onKeydown:n0(r,["enter"])},null,8,["modelValue","n"]),Y(a,{n:"green","h-full":"",icon:"i-carbon-arrow-right",onClick:r})])],32),W("div",PB,[it(o.$slots,"actions"),Y(a,{disabled:"",icon:"i-carbon-time"},{default:fe(()=>[Pe(" Waiting for authorization... ")]),_:1})])])]),_:3})]),_:3}))}}}),IB=Re({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=br,o=kB,s=Al;return Z(),Ae(V(ty),null,{default:fe(({resolve:i})=>[Y(s,{"model-value":!("isDevAuthed"in t?t.isDevAuthed:V(Ot)),class:"border-none",onClose:a=>i(!1)},{default:fe(()=>[Y(o,null,{actions:fe(()=>[Y(r,{onClick:a=>i(!1)},{default:fe(()=>[Pe(" Cancel ")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["model-value","onClose"])]),_:1})}}}),NB={},$B={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 197 24",fill:"none"},LB=rE('<path fill="currentColor" d="M45.74 24c.26 0 .48-.215.48-.48V12.36s.6 1.08 1.68 2.88l4.68 8.04c.214.449.69.72 1.08.72h3.24V6h-3.24c-.216 0-.48.18-.48.48v11.28l-2.16-3.84L46.7 6.6c-.21-.373-.663-.6-1.08-.6H42.5v18h3.24ZM87.62 11.04h1.56a.72.72 0 0 0 .72-.72V7.2h3.36v3.84h3.24v2.88h-3.24v5.16c0 1.26.607 1.8 1.68 1.8h1.56V24h-2.04c-2.766 0-4.56-1.791-4.56-4.8v-5.28h-2.28v-2.88ZM71.42 11.04v7.44c0 1.68-.63 3.097-1.56 4.08-.93.983-2.212 1.44-3.96 1.44-1.748 0-3.15-.457-4.08-1.44-.913-.983-1.56-2.4-1.56-4.08v-7.44h1.92c.41 0 .812.075 1.08.36.268.27.36.428.36.84v6.24c0 .967.055 1.564.48 2.04.425.46.95.6 1.8.6.866 0 1.255-.14 1.68-.6.425-.476.48-1.073.48-2.04v-6.24c0-.412.092-.675.36-.96.235-.25.483-.245.84-.24h2.16ZM81.62 17.28l4.08-6.24h-3.12c-.393 0-.743.141-.96.48L79.7 14.4l-1.8-2.76c-.217-.339-.687-.6-1.08-.6h-3l4.08 6.12L73.46 24h3.12c.39 0 .742-.386.96-.72l2.16-3.24 2.28 3.36c.218.335.57.6.96.6h3.12l-4.44-6.72Z"></path><path fill="#00DC82" d="M20.66 24h13.32c.425 0 .832-.15 1.2-.36s.748-.475.96-.84c.212-.365.36-.779.36-1.2 0-.421-.147-.835-.36-1.2l-9-15.48a2.189 2.189 0 0 0-.84-.84 2.9 2.9 0 0 0-1.32-.36c-.425 0-.832.15-1.2.36s-.628.475-.84.84l-2.28 3.96L16.1 1.2c-.213-.365-.472-.75-.84-.96-.368-.21-.775-.24-1.2-.24-.425 0-.832.03-1.2.24s-.747.595-.96.96L.74 20.4c-.213.365-.24.779-.24 1.2 0 .421.028.835.24 1.2s.592.63.96.84c.368.21.775.36 1.2.36h8.4c3.328 0 5.751-1.493 7.44-4.32l4.08-7.08 2.16-3.72 6.6 11.28h-8.76L20.66 24Zm-9.48-3.84H5.3l8.76-15.12 4.44 7.56-2.941 5.127c-1.122 1.834-2.4 2.433-4.379 2.433Z"></path><path fill="#00DC82" fill-rule="evenodd" d="M101.3 24V8.64c0-.795.645-1.44 1.44-1.44h4.2c1.58 0 3.011.341 4.32.96 1.309.619 2.338 1.506 3.12 2.76.782 1.238 1.2 2.855 1.2 4.68 0 1.809-.418 3.306-1.2 4.56-.782 1.254-1.811 2.141-3.12 2.76-1.309.619-2.74 1.08-4.32 1.08h-5.64Zm5.28-3.24c1.548 0 2.819-.375 3.84-1.2 1.021-.841 1.44-2.135 1.44-3.96 0-1.825-.419-3.239-1.44-4.08-1.021-.841-2.292-1.2-3.84-1.2h-1.68v10.44h1.68ZM128.66 19.68c-.239 1.285-.867 2.342-1.92 3.12s-2.356 1.2-3.84 1.2a6.232 6.232 0 0 1-3.36-.96 5.619 5.619 0 0 1-2.04-2.28 6.593 6.593 0 0 1-.72-3c0-1.063.169-2.064.6-3 .447-.936 1.146-1.693 2.04-2.28.91-.587 1.947-.84 3.24-.84 1.341 0 2.466.269 3.36.84.894.571 1.625 1.271 2.04 2.16.431.889.6 1.776.6 2.76l-.001.209c0 .129-.001.251.001.391a.501.501 0 0 1-.48.48h-8.28c.128.857.449 1.548.96 2.04.527.476 1.21.72 2.04.72.67 0 1.249-.106 1.68-.36.431-.27.712-.692.84-1.2h3.24Zm-6-5.64c-.766 0-1.353.203-1.8.6-.447.38-.696.975-.84 1.8h5.28c-.048-.698-.257-1.356-.72-1.8-.463-.46-1.138-.6-1.92-.6Z" clip-rule="evenodd"></path><path fill="#00DC82" d="M128.78 11.88 133.22 24h3.12l4.32-12.12h-2.28c-.625 0-1.248.365-1.44.96l-2.16 6.84-2.16-6.84c-.192-.595-.815-.96-1.44-.96h-2.4Z"></path><path fill="#00DC82" fill-rule="evenodd" d="M159.14 24c-1.213 0-2.266-.316-3.24-.84-.974-.54-1.737-1.224-2.28-2.16a6.53 6.53 0 0 1-.84-3.24c0-1.174.297-2.184.84-3.12.543-.952 1.306-1.756 2.28-2.28.974-.54 2.027-.72 3.24-.72s2.386.18 3.36.72c.974.524 1.737 1.328 2.28 2.28.543.936.72 1.946.72 3.12 0 1.174-.177 2.288-.72 3.24-.543.936-1.306 1.62-2.28 2.16a7.167 7.167 0 0 1-3.36.84Zm0-2.88c.894 0 1.601-.341 2.16-.96.559-.619.84-1.416.84-2.4 0-1-.189-1.758-.748-2.377a3 3 0 0 0-2.252-.983c-.894 0-1.601.341-2.16.96-.559.619-.84 1.4-.84 2.4 0 .984.281 1.781.84 2.4.559.619 1.266.96 2.16.96ZM169.82 23.16c.974.524 2.027.84 3.24.84a7.167 7.167 0 0 0 3.36-.84c.974-.54 1.737-1.224 2.28-2.16.543-.952.72-2.066.72-3.24 0-1.174-.177-2.184-.72-3.12-.543-.952-1.306-1.756-2.28-2.28-.974-.54-2.147-.84-3.36-.84a6.52 6.52 0 0 0-3.24.84c-.974.524-1.737 1.328-2.28 2.28a6.044 6.044 0 0 0-.84 3.12 6.53 6.53 0 0 0 .84 3.24c.543.936 1.306 1.62 2.28 2.16Zm5.4-3c-.559.619-1.266.96-2.16.96-.894 0-1.601-.341-2.16-.96-.559-.619-.84-1.416-.84-2.4 0-1 .281-1.781.84-2.4.559-.619 1.266-.96 2.16-.96.894 0 1.601.341 2.16.96.559.619.84 1.4.84 2.4 0 .984-.281 1.781-.84 2.4Z" clip-rule="evenodd"></path><path fill="#00DC82" d="M184.82 24h-3.36V8.4h3.36V24ZM188.18 22.8c.926.762 2.236 1.2 3.72 1.2 1.42 0 2.514-.398 3.36-1.08.862-.698 1.32-1.617 1.32-2.76 0-1-.305-1.756-.72-2.28-.415-.524-.865-.905-1.44-1.08-.559-.19-1.282-.353-2.16-.48-.814-.111-1.417-.217-1.8-.36-.367-.159-.48-.396-.48-.84 0-.365.073-.634.36-.84.287-.206.721-.36 1.2-.36s.937.194 1.32.48c.399.27.536.588.6 1.08h2.373c.276 0 .497-.232.453-.504-.156-.955-.61-1.767-1.386-2.376-.894-.714-2.028-1.08-3.48-1.08-.814 0-1.506.163-2.16.48a3.842 3.842 0 0 0-1.56 1.32c-.367.54-.6 1.222-.6 1.92 0 .92.217 1.532.6 2.04.399.492.897.89 1.44 1.08.543.19 1.178.321 2.04.48.83.143 1.417.305 1.8.48s.6.516.6.96c0 .333-.145.618-.48.84-.319.222-.689.36-1.2.36-.622 0-1.161-.178-1.56-.48a2.022 2.022 0 0 1-.72-1.32h-2.376a.449.449 0 0 0-.457.502c.149 1.06.605 1.944 1.393 2.618ZM145.58 24h3.6V10.32h3.6a1.44 1.44 0 0 0 1.44-1.44V7.2H142.1a1.44 1.44 0 0 0-1.44 1.44v1.68h4.92V24Z"></path>',6),DB=[LB];function MB(e,t){return Z(),ye("svg",$B,DB)}const FB=xl(NB,[["render",MB]]),BB={key:0,flex:"~ col justify-center items-center gap-4",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-4":"","n-glass-effect":""},VB=W("div",{"flex-auto":""},null,-1),UB={flex:"~","mt-8":"","items-center":"","justify-center":""},HB={flex:"~ gap-2","items-center":"",op50:""},jB=W("div",{border:"t base",my2:"","h-1px":"","w-10":""},null,-1),zB={flex:"~ gap-2","animate-pulse":"","items-center":"","text-xl":"","text-yellow":""},GB=W("div",{"flex-auto":""},null,-1),KB=Re({__name:"DisconnectIndicator",setup(e){function t(){window.location.reload()}return(n,r)=>{const o=FB,s=qo,i=br;return Z(),Ae(O_,{to:"body"},[("wsConnectingDebounced"in n?n.wsConnectingDebounced:V(QP))?(Z(),ye("div",BB,[VB,W("div",UB,[Y(o,{"h-8":""})]),W("div",HB,[Y(s,{icon:"i-carbon-wifi-off"}),Pe(" Disconnected from Server ")]),jB,W("div",zB,[Y(s,{icon:"i-carbon-circle-dash","animate-spin":""}),Pe(" Retrying... ")]),GB,Y(i,{n:"sm yellow",px2:"",py0:"",op40:"",onClick:r[0]||(r[0]=a=>t())},{default:fe(()=>[Pe(" Reload DevTools Page ")]),_:1})])):Ye("",!0)])}}}),WB={p4:"",flex:"~ col gap-1"},qB=W("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),XB={op50:""},YB={flex:"~ gap-3",mt2:"","justify-end":""},ZB=Re({__name:"RestartDialogs",setup(e){const t=Le(),n=pk(),r=dt(),o=_f();return t.hook("devtools:terminal:exit",({id:s,code:i})=>{if(i===0){const a=n.value.find(l=>l.id===s);a&&(n.value=n.value.filter(l=>l.id!==s),o.start(a.message).then(async l=>{l&&(Te.restartNuxt(await lu()),setTimeout(()=>{r.value?.app.reload()},500))}))}}),(s,i)=>{const a=br,l=Al;return Z(),Ae(V(o),null,{default:fe(({resolve:c,args:f})=>[Y(l,{"model-value":!0,onClose:u=>c(!1)},{default:fe(()=>[W("div",WB,[qB,W("p",XB,gt(f[0]),1),W("div",YB,[Y(a,{onClick:u=>c(!1)},{default:fe(()=>[Pe(" Cancel ")]),_:2},1032,["onClick"]),Y(a,{n:"solid primary",onClick:u=>c(!0)},{default:fe(()=>[Pe(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function JB(){return ni("schema:input",null)}const Cg=z([]),xg=z();function QB(){const e=Le(),t=dt(),n=et();Object.assign(Wv,{async refresh(s){e.hooks.callHookParallel("app:data:refresh",[s])},async callHook(s,...i){e.hooks.callHookParallel(s,...i)},async onTerminalData(s){e.hooks.callHookParallel("devtools:terminal:data",s)},async onTerminalExit(s){e.hooks.callHookParallel("devtools:terminal:exit",s);const i=Cg.value.findIndex(a=>a.processId===s.id);i!==-1&&Cg.value.splice(i,1),xg.value?.processId===s.id&&(xg.value=void 0)},async navigateTo(s){t.value.devtools.open(),n.currentRoute.value?.path!==s&&n.push(s)}}),Te.getModuleOptions().then(s=>{s.disableAuthorization&&(Ot.value=!0,Et.value||="disabled")});const{hiddenTabs:r,pinnedTabs:o}=no();vl("open",{hiddenTabs:r.value.join(","),pinnedTabs:o.value.join(",")},!0)}function eV(){const e=s$(),t=window.__NUXT_DEVTOOLS_IS_POPUP__;Wr(()=>{jm(t?!1:!e.value?.open)}),DM(i6,{preset:"iframe"}),V1(()=>{ws.value.initDevToolsServerListener()})}const tV=ea(()=>we(()=>import("./C9bF3W-8.js"),__vite__mapDeps([70,58,69,19,13,14,15,25]),import.meta.url).then(e=>e.default||e)),nV={fixed:"","inset-0":"","h-screen":"","w-screen":"","font-sans":""},rV=Re({__name:"app",setup(e){we(()=>import("./CCfUy938.js"),[],import.meta.url),AC({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),eV(),QB();const t=dt(),n=Uo(),r=Zv(),o=le(()=>n.path.startsWith("/__")||n.path==="/"),s=le(()=>!t.value&&!rk.value);Fe(()=>t.value?.app.colorMode.value,u=>{u&&(r.value=u)},{immediate:!0}),St("keydown",u=>{u.code==="KeyD"&&u.altKey&&(t.value?.devtools.close(),u.preventDefault())});const{scale:i,sidebarExpanded:a}=no(),l=JB();Bn(async()=>{const u=ok();Wr(()=>{window.__NUXT_DEVTOOLS__=u.value}),Wr(()=>{document.body.style.fontSize=`${i.value*15}px`}),Ot.value||Et.value&&await Te.verifyAuthToken(Et.value)&&(Ot.value=!0)});const c=X1(),f=VA({});return vF(()=>[...uu.value?[{id:"action:split-screen",title:`${Qn.value?"Close":"Open"} Split Screen`,icon:"i-carbon-split-screen",action:()=>{Qn.value=!Qn.value}}]:[],...f.isSupported.value?[{id:"action:eye-dropper",title:"Color Picker",icon:"i-carbon-eyedropper",action:async()=>{const{sRGBHex:u}=await f.open()||{};u&&c(u)}}]:[],{id:"action:refresh-data",title:"Refresh Data",icon:"i-carbon-data-backup",action:Jv},{id:"action:reload-page",title:"Reload Page",icon:"i-carbon-reset",action:Qv}]),(u,d)=>{const h=p6,p=m6,m=w6,_=K3,b=q3,v=aF,g=dF,y=pF,w=SB,C=IB,k=KB,M=ZB,L=tV;return Z(),ye("div",nV,[Y(h),Y(p),V(s)?(Z(),Ae(m,{key:0},{default:fe(()=>[Pe(" Connecting.... ")]),_:1})):(Z(),ye("div",{key:1,class:nt(V(o)?"flex":V(a)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"),"h-full":"","h-screen":"","of-hidden":"","rounded-xl":"","font-sans":"","bg-base":""},[xs(Y(_,{"of-x-hidden":"","of-y-auto":""},null,512),[[Nc,!V(o)]]),Y(y,null,{default:fe(()=>[Y(g,{"storage-key":"devtools:split-screen-mode","min-size":20},_w({left:fe(()=>[Y(b)]),_:2},[!V(o)&&("splitScreenEnabled"in u?u.splitScreenEnabled:V(Qn))&&V(uu)?{name:"right",fn:fe(()=>[Y(v)]),key:"0"}:void 0]),1024)]),_:1}),Y(w),Y(C)],2)),Y(k),Y(M),d._lazyshow1||V(l)?(d._lazyshow1=!0,Z(),ye($e,null,[xs(W("div",null,[Y(L)],512),[[Nc,V(l)]])],64)):Ye("v-show-if",!0)])}}}),oV={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
42
- `).splice(1).map(u=>({text:u.replace("webpack:/","").replace(".vue",".js").trim(),internal:u.includes("node_modules")&&!u.includes(".cache")||u.includes("internal")||u.includes("new Promise")})).map(u=>`<span class="stack${u.internal?" internal":""}">${u.text}</span>`).join(`
43
- `);const r=Number(n.statusCode||500),o=r===404,s=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,f=o?ea(()=>we(()=>import("./DMjsYTya.js"),__vite__mapDeps([71,72]),import.meta.url).then(u=>u.default||u)):ea(()=>we(()=>import("./BsEGx9wN.js"),__vite__mapDeps([73,74]),import.meta.url).then(u=>u.default||u));return(u,d)=>(Z(),Ae(V(f),Bu(Ja({statusCode:V(r),statusMessage:V(s),description:V(i),stack:V(a)})),null,16))}},sV={key:0},Ag={__name:"nuxt-root",setup(e){const t=()=>null,n=Le(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);et().beforeEach(l)}const o=!1;sr(Js,Uo()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const s=ol(),i=!1;d_((l,c,f)=>{if(n.hooks.callHook("vue:error",l,c,f).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),LT(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>uo(l)),!1});const a=!1;return(l,c)=>(Z(),Ae(sf,{onResolve:V(r)},{default:fe(()=>[V(i)?(Z(),ye("div",sV)):V(s)?(Z(),Ae(V(oV),{key:1,error:V(s)},null,8,["error"])):V(a)?(Z(),Ae(V(t),{key:2,context:V(a)},null,8,["context"])):V(o)?(Z(),Ae(xo(V(o)),{key:3})):(Z(),Ae(V(rV),{key:4}))]),_:1},8,["onResolve"]))}};let Rg;{let e;Rg=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?YE(Ag):o0(Ag),o=lT({vueApp:r});async function s(i){await o.callHook("app:error",i),o.payload.error=o.payload.error||Qs(i)}r.config.errorHandler=s;try{await fT(o,u6)}catch(i){s(i)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(iT),await o.hooks.callHook("app:mounted",r),await Tt()}catch(i){s(i)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},e=Rg().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{HS as $,Q1 as A,no as B,Aa as C,t$ as D,FB as E,$e as F,nt as G,WA as H,xs as I,Nc as J,Zs as K,Te as L,lu as M,_f as N,YV as O,et as P,ni as Q,QV as R,vF as S,O_ as T,dF as U,vl as V,xg as W,eb as X,P6 as Y,Al as Z,br as _,le as a,yV as a$,iv as a0,St as a1,gw as a2,lo as a3,xV as a4,Of as a5,qo as a6,TT as a7,EV as a8,_n as a9,Ft as aA,bV as aB,Tt as aC,Wr as aD,Xa as aE,ok as aF,Uo as aG,O3 as aH,Ot as aI,ry as aJ,kB as aK,DV as aL,jV as aM,GV as aN,PV as aO,VE as aP,_w as aQ,BV as aR,Cg as aS,sw as aT,Gb as aU,pn as aV,iV as aW,el as aX,vf as aY,w0 as aZ,$V as a_,it as aa,hy as ab,nU as ac,SV as ad,n0 as ae,jd as af,KV as ag,Xo as ah,pV as ai,vV as aj,zN as ak,JV as al,dt as am,w6 as an,Zv as ao,dy as ap,zV as aq,mA as ar,Bn as as,td as at,wn as au,MV as av,OV as aw,fk as ax,$n as ay,xo as az,gV as b,LN as b$,mV as b0,UA as b1,zo as b2,rE as b3,RV as b4,Xv as b5,AV as b6,ZV as b7,_A as b8,rU as b9,Ga as bA,eo as bB,qt as bC,we as bD,o0 as bE,Ie as bF,WV as bG,eU as bH,NV as bI,la as bJ,hV as bK,_V as bL,gf as bM,IN as bN,cw as bO,gk as bP,tU as bQ,NN as bR,Le as bS,uV as bT,X0 as bU,kp as bV,HV as bW,qV as bX,_t as bY,Rl as bZ,wV as b_,IV as ba,FV as bb,LV as bc,rk as bd,yt as be,UV as bf,pk as bg,ll as bh,kV as bi,KE as bj,XV as bk,Bt as bl,fn as bm,sr as bn,Qe as bo,vt as bp,Bu as bq,Ja as br,lV as bs,aV as bt,HE as bu,cV as bv,fV as bw,Xu as bx,Ws as by,Yi as bz,mk as c,l3 as c0,Jg as c1,qi as c2,R6 as c3,BE as c4,UE as c5,Re as d,X1 as e,V as f,VV as g,Ae as h,Y as i,fe as j,W as k,ze as l,ye as m,Rs as n,Z as o,Ye as p,xl as q,z as r,AC as s,gt as t,JB as u,Pe as v,Fe as w,ed as x,rw as y,ow as z};