nuxt-link-checker 3.1.3 → 3.2.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 (190) hide show
  1. package/LICENSE.md +9 -0
  2. package/README.md +26 -17
  3. package/dist/client/200.html +90 -85
  4. package/dist/client/404.html +90 -85
  5. package/dist/client/_nuxt/{CE0v8NN9.js → 0qbUsQ6_.js} +1 -1
  6. package/dist/client/_nuxt/2aygx1xg.js +1 -0
  7. package/dist/client/_nuxt/{DBxrVw_D.js → 5Vw9JATd.js} +1 -1
  8. package/dist/client/_nuxt/6RUVFG9U.js +1 -0
  9. package/dist/client/_nuxt/B1Z2YEe0.js +1 -0
  10. package/dist/client/_nuxt/{OiuHoWY5.js → B1rsb5QC.js} +1 -1
  11. package/dist/client/_nuxt/B2uSYIFn.js +1 -0
  12. package/dist/client/_nuxt/BA1ndEPy.js +1 -0
  13. package/dist/client/_nuxt/BCUAspaU.js +41 -0
  14. package/dist/client/_nuxt/{p-youoOz.js → BCawSwWi.js} +1 -1
  15. package/dist/client/_nuxt/{rAPcFIiw.js → BYqZ7etr.js} +1 -1
  16. package/dist/client/_nuxt/{BjE2mIY4.js → BbalPOsb.js} +1 -1
  17. package/dist/client/_nuxt/{DwFwdhDE.js → Bcw97oti.js} +1 -1
  18. package/dist/client/_nuxt/{aPBkmDv4.js → BfjtVDDH.js} +1 -1
  19. package/dist/client/_nuxt/{CiXlrwC7.js → BhC5s0V7.js} +1 -1
  20. package/dist/client/_nuxt/{BVLG6Y-w.js → Bmb0A568.js} +1 -1
  21. package/dist/client/_nuxt/{DpVQgTom.js → BoZcIFWd.js} +1 -1
  22. package/dist/client/_nuxt/BqtQrzRp.js +1 -0
  23. package/dist/client/_nuxt/BrbOHqWv.js +1 -0
  24. package/dist/client/_nuxt/{BWgb8Pxw.js → Bv_sPlCv.js} +1 -1
  25. package/dist/client/_nuxt/BwpQXVS2.js +1 -0
  26. package/dist/client/_nuxt/BzaEo2Du.js +1 -0
  27. package/dist/client/_nuxt/C-_shW-Y.js +1 -0
  28. package/dist/client/_nuxt/{nkNqggyT.js → CBzZD_Xh.js} +1 -1
  29. package/dist/client/_nuxt/CD_QflpE.js +1 -0
  30. package/dist/client/_nuxt/{Bpo8LMpD.js → CI15r38m.js} +1 -1
  31. package/dist/client/_nuxt/{JbneklYT.js → CK7S-5jS.js} +1 -1
  32. package/dist/client/_nuxt/{B9hcNGex.js → CKfqYE_r.js} +1 -1
  33. package/dist/client/_nuxt/CLXkKSjS.js +1 -0
  34. package/dist/client/_nuxt/CM4fc1WH.js +1 -0
  35. package/dist/client/_nuxt/CVESyXxo.js +1 -0
  36. package/dist/client/_nuxt/{vFtNXPBc.js → CWJejSyX.js} +1 -1
  37. package/dist/client/_nuxt/{Bt50SWsh.js → CY2R9RuK.js} +1 -1
  38. package/dist/client/_nuxt/{Ckz-YMxz.js → CeZwWGti.js} +1 -1
  39. package/dist/client/_nuxt/CjDtw9vr.js +1 -0
  40. package/dist/client/_nuxt/{BhLNiG9c.js → ClV7KpCc.js} +1 -1
  41. package/dist/client/_nuxt/{D7z58M2W.js → Cm25um3E.js} +1 -1
  42. package/dist/client/_nuxt/CmCqftbK.js +1 -0
  43. package/dist/client/_nuxt/Cmhojp3q.js +1 -0
  44. package/dist/client/_nuxt/{BwojPDJW.js → CnsmiicP.js} +1 -1
  45. package/dist/client/_nuxt/{DCRAZVCM.js → CodIOJDM.js} +1 -1
  46. package/dist/client/_nuxt/{0e7srHXh.js → Csvi84BS.js} +1 -1
  47. package/dist/client/_nuxt/{CHZeBJpW.js → CuIYtGag.js} +1 -1
  48. package/dist/client/_nuxt/{cVkK16_y.js → Cuk6v7N8.js} +1 -1
  49. package/dist/client/_nuxt/{I1uqSxRv.js → Cv3cJnDV.js} +1 -1
  50. package/dist/client/_nuxt/Cv7ZOjGq.js +1 -0
  51. package/dist/client/_nuxt/{Da_8ueAw.js → CyEc264g.js} +1 -1
  52. package/dist/client/_nuxt/{3sscvOTR.js → CyIlscnE.js} +1 -1
  53. package/dist/client/_nuxt/{Bx0W9Nc2.js → D0xWnrgR.js} +1 -1
  54. package/dist/client/_nuxt/{CRR3mLlZ.js → D2O4HAMr.js} +1 -1
  55. package/dist/client/_nuxt/{B7-uoU3n.js → D7oLnXFd.js} +1 -1
  56. package/dist/client/_nuxt/{Bexp5DGn.js → DFQ4Xr-4.js} +1 -1
  57. package/dist/client/_nuxt/{DLSxEyHP.js → DH5Ifo-i.js} +1 -1
  58. package/dist/client/_nuxt/DMFdBl0X.js +1 -0
  59. package/dist/client/_nuxt/DNgb01dh.js +1 -0
  60. package/dist/client/_nuxt/DRW-0cLl.js +1 -0
  61. package/dist/client/_nuxt/{Xse1gjxk.js → DRhUEtVu.js} +1 -1
  62. package/dist/client/_nuxt/{BGdveAQA.js → DUdzsfxe.js} +1 -1
  63. package/dist/client/_nuxt/{CYyBA3kJ.js → Db-JQHi3.js} +1 -1
  64. package/dist/client/_nuxt/DepYB8Ml.js +1 -0
  65. package/dist/client/_nuxt/{ChEme8PX.js → DhG9BCpW.js} +1 -1
  66. package/dist/client/_nuxt/{BxJadH_W.js → DhqJCFIX.js} +1 -1
  67. package/dist/client/_nuxt/DqpEK-75.js +1 -0
  68. package/dist/client/_nuxt/Ds-gbosJ.js +1 -0
  69. package/dist/client/_nuxt/{D4O64OTH.js → DvA-6Bhw.js} +1 -1
  70. package/dist/client/_nuxt/{CV1i-Amj.js → E3gJ1_iC.js} +1 -1
  71. package/dist/client/_nuxt/{B66eQrDP.js → FMvz1E70.js} +1 -1
  72. package/dist/client/_nuxt/GBQ2dnAY.js +1 -0
  73. package/dist/client/_nuxt/{CJrM-UL-.js → JJNjxVar.js} +1 -1
  74. package/dist/client/_nuxt/{D_QQB6Yv.js → KUYRHWK4.js} +1 -1
  75. package/dist/client/_nuxt/LGGdnPYs.js +1 -0
  76. package/dist/client/_nuxt/Lp17StYA.js +1 -0
  77. package/dist/client/_nuxt/RXHOmnpW.js +1 -0
  78. package/dist/client/_nuxt/{4NJYcRSJ.js → W2lx4xae.js} +1 -1
  79. package/dist/client/_nuxt/YurBl9Qv.js +1 -0
  80. package/dist/client/_nuxt/{qPKfeiLE.js → aDoct50J.js} +1 -1
  81. package/dist/client/_nuxt/builds/latest.json +1 -1
  82. package/dist/client/_nuxt/builds/meta/2259ca4d-d009-41be-acfd-fea8f1d19525.json +1 -0
  83. package/dist/client/_nuxt/{D0ybgVpa.js → dwbxrGt_.js} +1 -1
  84. package/dist/client/_nuxt/{D3CL8VSI.js → eACALr6E.js} +1 -1
  85. package/dist/client/_nuxt/error-404.fx_5-qn-.css +1 -0
  86. package/dist/client/_nuxt/error-500.dWWWhQqD.css +1 -0
  87. package/dist/client/_nuxt/{B8E_5cfo.js → gOa3Yz9U.js} +1 -1
  88. package/dist/client/_nuxt/{BbzkbZ9e.js → i22b9gbM.js} +1 -1
  89. package/dist/client/_nuxt/{D4-7YDmO.js → mDBYJdpO.js} +1 -1
  90. package/dist/client/_nuxt/{g_GSZ1hr.js → u4bm_LMz.js} +1 -1
  91. package/dist/client/_nuxt/{A13Lx_ye.js → vocl-2a6.js} +1 -1
  92. package/dist/client/_nuxt/{CN6rGqjK.js → xfgw03QH.js} +1 -1
  93. package/dist/client/_nuxt/zchoCBdH.js +1 -0
  94. package/dist/client/index.html +90 -85
  95. package/dist/module.json +1 -1
  96. package/dist/module.mjs +13 -12
  97. package/dist/runtime/{nuxt/plugin → app/plugins}/view/client.js +3 -2
  98. package/dist/runtime/{nitro → server}/routes/__link-checker__/inspect.js +1 -1
  99. package/dist/runtime/{pure → shared}/inspect.js +26 -15
  100. package/dist/runtime/shared/inspections/no-baseless.d.ts +1 -0
  101. package/dist/runtime/{pure → shared}/inspections/no-baseless.js +3 -2
  102. package/dist/runtime/shared/inspections/no-double-slashes.d.ts +1 -0
  103. package/dist/runtime/shared/inspections/no-double-slashes.js +25 -0
  104. package/dist/runtime/shared/inspections/no-duplicate-query-params.d.ts +1 -0
  105. package/dist/runtime/shared/inspections/no-duplicate-query-params.js +28 -0
  106. package/dist/runtime/shared/inspections/no-missing-href.d.ts +1 -0
  107. package/dist/runtime/shared/inspections/no-missing-href.js +17 -0
  108. package/dist/runtime/shared/inspections/no-non-ascii-chars.d.ts +1 -0
  109. package/dist/runtime/shared/inspections/no-non-ascii-chars.js +18 -0
  110. package/dist/runtime/shared/inspections/no-underscores.d.ts +1 -0
  111. package/dist/runtime/shared/inspections/no-underscores.js +17 -0
  112. package/dist/runtime/shared/inspections/no-uppercase-chars.d.ts +1 -0
  113. package/dist/runtime/shared/inspections/no-uppercase-chars.js +17 -0
  114. package/dist/runtime/shared/inspections/no-whitespace.d.ts +1 -0
  115. package/dist/runtime/shared/inspections/no-whitespace.js +25 -0
  116. package/dist/runtime/types.d.ts +2 -1
  117. package/package.json +17 -17
  118. package/dist/client/_nuxt/35JD59R_.js +0 -1
  119. package/dist/client/_nuxt/9xzcv9xf.js +0 -1
  120. package/dist/client/_nuxt/B-GI89LT.js +0 -1
  121. package/dist/client/_nuxt/BStEqDGx.js +0 -1
  122. package/dist/client/_nuxt/BT8b6B_-.js +0 -1
  123. package/dist/client/_nuxt/BTo9ix6S.js +0 -1
  124. package/dist/client/_nuxt/BeSffZBD.js +0 -1
  125. package/dist/client/_nuxt/Begb3drz.js +0 -1
  126. package/dist/client/_nuxt/C3t61SNw.js +0 -1
  127. package/dist/client/_nuxt/C8UtRc_0.js +0 -1
  128. package/dist/client/_nuxt/COtMjVi7.js +0 -1
  129. package/dist/client/_nuxt/C_OO3DVV.js +0 -1
  130. package/dist/client/_nuxt/D5gt1ch3.js +0 -1
  131. package/dist/client/_nuxt/D6HQHXJE.js +0 -1
  132. package/dist/client/_nuxt/DIvA8ll9.js +0 -1
  133. package/dist/client/_nuxt/DQJjjPvk.js +0 -1
  134. package/dist/client/_nuxt/DWt6wkI-.js +0 -1
  135. package/dist/client/_nuxt/DanlQboj.js +0 -1
  136. package/dist/client/_nuxt/DateCQAz.js +0 -1
  137. package/dist/client/_nuxt/Dt1_zKdO.js +0 -1
  138. package/dist/client/_nuxt/Jwd9j1ay.js +0 -1
  139. package/dist/client/_nuxt/NfFGm2lL.js +0 -1
  140. package/dist/client/_nuxt/S_yhxdK1.js +0 -1
  141. package/dist/client/_nuxt/builds/meta/a7c8a30a-3ea4-4de2-86d6-222b22c319d7.json +0 -1
  142. package/dist/client/_nuxt/eCoydtrh.js +0 -1
  143. package/dist/client/_nuxt/error-404.Duvxb_5r.css +0 -1
  144. package/dist/client/_nuxt/error-500.Z382q3xB.css +0 -1
  145. package/dist/client/_nuxt/keK8bHwS.js +0 -1
  146. package/dist/client/_nuxt/r6G1lJlc.js +0 -40
  147. package/dist/runtime/pure/inspections/no-baseless.d.ts +0 -1
  148. /package/dist/client/_nuxt/{entry.BbNPsueF.css → entry.CzbW4W9L.css} +0 -0
  149. /package/dist/runtime/{nuxt/plugin → app/plugins}/ui.client.d.ts +0 -0
  150. /package/dist/runtime/{nuxt/plugin → app/plugins}/ui.client.js +0 -0
  151. /package/dist/runtime/{nuxt/plugin → app/plugins}/view/Main.vue +0 -0
  152. /package/dist/runtime/{nuxt/plugin → app/plugins}/view/Squiggle.vue +0 -0
  153. /package/dist/runtime/{nuxt/plugin → app/plugins}/view/client.d.ts +0 -0
  154. /package/dist/runtime/{nuxt/plugin → app/plugins}/view/state.d.ts +0 -0
  155. /package/dist/runtime/{nuxt/plugin → app/plugins}/view/state.js +0 -0
  156. /package/dist/runtime/{nuxt/plugin → app/plugins}/view/utils.d.ts +0 -0
  157. /package/dist/runtime/{nuxt/plugin → app/plugins}/view/utils.js +0 -0
  158. /package/dist/runtime/{nitro → server}/composables/content-mock.d.ts +0 -0
  159. /package/dist/runtime/{nitro → server}/composables/content-mock.js +0 -0
  160. /package/dist/runtime/{nitro → server}/routes/__link-checker__/debug.d.ts +0 -0
  161. /package/dist/runtime/{nitro → server}/routes/__link-checker__/debug.js +0 -0
  162. /package/dist/runtime/{nitro → server}/routes/__link-checker__/inspect.d.ts +0 -0
  163. /package/dist/runtime/{nitro → server}/routes/__link-checker__/links.d.ts +0 -0
  164. /package/dist/runtime/{nitro → server}/routes/__link-checker__/links.js +0 -0
  165. /package/dist/runtime/{nitro → server}/tsconfig.json +0 -0
  166. /package/dist/runtime/{pure → shared}/crawl.d.ts +0 -0
  167. /package/dist/runtime/{pure → shared}/crawl.js +0 -0
  168. /package/dist/runtime/{pure → shared}/diff.d.ts +0 -0
  169. /package/dist/runtime/{pure → shared}/diff.js +0 -0
  170. /package/dist/runtime/{pure → shared}/index.d.ts +0 -0
  171. /package/dist/runtime/{pure → shared}/index.js +0 -0
  172. /package/dist/runtime/{pure → shared}/inspect.d.ts +0 -0
  173. /package/dist/runtime/{pure → shared}/inspections/absolute-site-urls.d.ts +0 -0
  174. /package/dist/runtime/{pure → shared}/inspections/absolute-site-urls.js +0 -0
  175. /package/dist/runtime/{pure/inspections/descriptive-link-text.d.ts → shared/inspections/link-text.d.ts} +0 -0
  176. /package/dist/runtime/{pure/inspections/descriptive-link-text.js → shared/inspections/link-text.js} +0 -0
  177. /package/dist/runtime/{pure → shared}/inspections/missing-hash.d.ts +0 -0
  178. /package/dist/runtime/{pure → shared}/inspections/missing-hash.js +0 -0
  179. /package/dist/runtime/{pure/inspections/no-error-response-status.d.ts → shared/inspections/no-error-response.d.ts} +0 -0
  180. /package/dist/runtime/{pure/inspections/no-error-response-status.js → shared/inspections/no-error-response.js} +0 -0
  181. /package/dist/runtime/{pure → shared}/inspections/no-javascript.d.ts +0 -0
  182. /package/dist/runtime/{pure → shared}/inspections/no-javascript.js +0 -0
  183. /package/dist/runtime/{pure → shared}/inspections/trailing-slash.d.ts +0 -0
  184. /package/dist/runtime/{pure → shared}/inspections/trailing-slash.js +0 -0
  185. /package/dist/runtime/{pure → shared}/inspections/util.d.ts +0 -0
  186. /package/dist/runtime/{pure → shared}/inspections/util.js +0 -0
  187. /package/dist/runtime/{pure → shared}/redirects.d.ts +0 -0
  188. /package/dist/runtime/{pure → shared}/redirects.js +0 -0
  189. /package/dist/runtime/{pure → shared}/sharedUtils.d.ts +0 -0
  190. /package/dist/runtime/{pure → shared}/sharedUtils.js +0 -0
@@ -0,0 +1,41 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./B1rsb5QC.js","./dwbxrGt_.js","./DNgb01dh.js","./u4bm_LMz.js","./gOa3Yz9U.js","./eACALr6E.js","./CyEc264g.js","./CkqQx3Va.js","./BN40hmum.js","./DWmkr0yC.js","./vocl-2a6.js","./CVESyXxo.js","./DmF4-xLG.js","./Bmb0A568.js","./D8nBeWSR.js","./BA1ndEPy.js","./Cv3cJnDV.js","./CcPoRNJz.js","./DoiKbUTj.js","./CbUnruJU.js","./BhsLqr-4.js","./W2lx4xae.js","./HNM5thJl.js","./Bv_sPlCv.js","./FMvz1E70.js","./DhqJCFIX.js","./BzAMEn9Z.js","./5Vw9JATd.js","./DhG9BCpW.js","./BKbjiiqg.js","./IqKf4WGj.js","./B3Z_eaxm.js","./BaLI2h1d.js","./CNXuF1yM.js","./0qbUsQ6_.js","./BSHf-0eb.js","./Cmhojp3q.js","./BSPpinrx.js","./Dnfm4U7b.js","./s1PdnzAn.js","./BhC5s0V7.js","./DvA-6Bhw.js","./ClV7KpCc.js","./CM4fc1WH.js","./DqpEK-75.js","./CeZwWGti.js","./BbalPOsb.js","./BYqZ7etr.js","./CIiI48o2.js","./DRhUEtVu.js","./L9-HYnaW.js","./BgqZeg96.js","./BoZcIFWd.js","./BCawSwWi.js","./CK7S-5jS.js","./DUdzsfxe.js","./CK56Z9cH.js","./Cqv5JV-q.js","./DFW6HATB.js","./BJNXdUBN.js","./Cm25um3E.js","./CodIOJDM.js","./Dk1rBueR.js","./CLXkKSjS.js","./BjXeLqNd.js","./CuIYtGag.js","./D2O4HAMr.js","./CI15r38m.js","./i22b9gbM.js","./xfgw03QH.js","./KUYRHWK4.js","./D7v6OrNy.js","./CnsmiicP.js","./DbXoA79R.js","./i5HCB2tm.js","./bGS5FTDY.js","./DkpUthgY.js","./BTbGKmhu.js","./CY2R9RuK.js","./8Uu6eIa-.js","./C0hdQUNN.js","./-ALZ4IvE.js","./JJNjxVar.js","./Csvi84BS.js","./Cv7ZOjGq.js","./Db-JQHi3.js","./CWJejSyX.js","./CBzZD_Xh.js","./CKfqYE_r.js","./Bnbw1zOw.js","./CyIlscnE.js","./mDBYJdpO.js","./error-404.fx_5-qn-.css","./aDoct50J.js","./error-500.dWWWhQqD.css"])))=>i.map(i=>d[i]);
2
+ var fh=Object.defineProperty;var dh=(e,t,n)=>t in e?fh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Re=(e,t,n)=>dh(e,typeof t!="symbol"?t+"":t,n);/**
3
+ * @vue/shared v3.5.10
4
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
+ * @license MIT
6
+ **//*! #__NO_SIDE_EFFECTS__ */function Ca(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const _e={},Kn=[],wt=()=>{},ph=()=>!1,Zr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Sa=e=>e.startsWith("onUpdate:"),Oe=Object.assign,Aa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hh=Object.prototype.hasOwnProperty,de=(e,t)=>hh.call(e,t),ee=Array.isArray,Jn=e=>eo(e)==="[object Map]",Pu=e=>eo(e)==="[object Set]",Cl=e=>eo(e)==="[object Date]",ne=e=>typeof e=="function",Te=e=>typeof e=="string",Ct=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",xa=e=>(ge(e)||ne(e))&&ne(e.then)&&ne(e.catch),Ru=Object.prototype.toString,eo=e=>Ru.call(e),mh=e=>eo(e).slice(8,-1),ku=e=>eo(e)==="[object Object]",Pa=e=>Te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xn=Ca(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Li=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},gh=/-(\w)/g,at=Li(e=>e.replace(gh,(t,n)=>n?n.toUpperCase():"")),_h=/\B([A-Z])/g,sn=Li(e=>e.replace(_h,"-$1").toLowerCase()),Oi=Li(e=>e.charAt(0).toUpperCase()+e.slice(1)),es=Li(e=>e?`on${Oi(e)}`:""),tn=(e,t)=>!Object.is(e,t),No=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Lu=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},yh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ou=e=>{const t=Te(e)?Number(e):NaN;return isNaN(t)?e:t};let Sl;const Iu=()=>Sl||(Sl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Dt(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Te(r)?Eh(r):Dt(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(Te(e)||ge(e))return e}const vh=/;(?![^(]*\))/g,bh=/:([^]+)/,wh=/\/\*[^]*?\*\//g;function Eh(e){const t={};return e.replace(wh,"").split(vh).forEach(n=>{if(n){const r=n.split(bh);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ae(e){let t="";if(Te(e))t=e;else if(ee(e))for(let n=0;n<e.length;n++){const r=Ae(e[n]);r&&(t+=r+" ")}else if(ge(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Nu(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Te(t)&&(e.class=Ae(t)),n&&(e.style=Dt(n)),e}const Th="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ch=Ca(Th);function Du(e){return!!e||e===""}function Sh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=zo(e[r],t[r]);return n}function zo(e,t){if(e===t)return!0;let n=Cl(e),r=Cl(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ct(e),r=Ct(t),n||r)return e===t;if(n=ee(e),r=ee(t),n||r)return n&&r?Sh(e,t):!1;if(n=ge(e),r=ge(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const a=e.hasOwnProperty(s),l=t.hasOwnProperty(s);if(a&&!l||!a&&l||!zo(e[s],t[s]))return!1}}return String(e)===String(t)}const $u=e=>!!(e&&e.__v_isRef===!0),Se=e=>Te(e)?e:e==null?"":ee(e)||ge(e)&&(e.toString===Ru||!ne(e.toString))?$u(e)?Se(e.value):JSON.stringify(e,Mu,2):String(e),Mu=(e,t)=>$u(t)?Mu(e,t.value):Jn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[ts(r,i)+" =>"]=o,n),{})}:Pu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ts(n))}:Ct(t)?ts(t):ge(t)&&!ee(t)&&!ku(t)?String(t):t,ts=(e,t="")=>{var n;return Ct(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7
+ * @vue/reactivity v3.5.10
8
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
9
+ * @license MIT
10
+ **/let Ge;class Vu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ge,!t&&Ge&&(this.index=(Ge.scopes||(Ge.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ge;try{return Ge=this,t()}finally{Ge=n}}}on(){Ge=this}off(){Ge=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 Ah(e){return new Vu(e)}function Ra(){return Ge}function xh(e,t=!1){Ge&&Ge.cleanups.push(e)}let Ee;const ns=new WeakSet;class Hu{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ge&&Ge.active&&Ge.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ns.has(this)&&(ns.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Bu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Al(this),ju(this);const t=Ee,n=dt;Ee=this,dt=!0;try{return this.fn()}finally{Uu(this),Ee=t,dt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Oa(t);this.deps=this.depsTail=void 0,Al(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ns.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ps(this)&&this.run()}get dirty(){return Ps(this)}}let Fu=0,Gn;function Bu(e){e.flags|=8,e.next=Gn,Gn=e}function ka(){Fu++}function La(){if(--Fu>0)return;let e;for(;Gn;){let t=Gn,n;for(;t;)t.flags&1||(t.flags&=-9),t=t.next;for(t=Gn,Gn=void 0;t;){if(n=t.next,t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function ju(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Uu(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Oa(r),Ph(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Ps(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Wu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Wu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Vr))return;e.globalVersion=Vr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ps(e)){e.flags&=-3;return}const n=Ee,r=dt;Ee=e,dt=!0;try{ju(e);const o=e.fn(e._value);(t.version===0||tn(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ee=n,dt=r,Uu(e),e.flags&=-3}}function Oa(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r),!n.subs&&n.computed){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Oa(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ph(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let dt=!0;const Gu=[];function an(){Gu.push(dt),dt=!1}function ln(){const e=Gu.pop();dt=e===void 0?!0:e}function Al(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ee;Ee=void 0;try{t()}finally{Ee=n}}}let Vr=0;class Rh{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ia{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Ee||!dt||Ee===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ee)n=this.activeLink=new Rh(Ee,this),Ee.deps?(n.prevDep=Ee.depsTail,Ee.depsTail.nextDep=n,Ee.depsTail=n):Ee.deps=Ee.depsTail=n,zu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ee.depsTail,n.nextDep=void 0,Ee.depsTail.nextDep=n,Ee.depsTail=n,Ee.deps===n&&(Ee.deps=r)}return n}trigger(t){this.version++,Vr++,this.notify(t)}notify(t){ka();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{La()}}}function zu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)zu(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const qo=new WeakMap,xn=Symbol(""),Rs=Symbol(""),Hr=Symbol("");function Ue(e,t,n){if(dt&&Ee){let r=qo.get(e);r||qo.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Ia),o.target=e,o.map=r,o.key=n),o.track()}}function $t(e,t,n,r,o,i){const s=qo.get(e);if(!s){Vr++;return}const a=l=>{l&&l.trigger()};if(ka(),t==="clear")s.forEach(a);else{const l=ee(e),c=l&&Pa(n);if(l&&n==="length"){const u=Number(r);s.forEach((f,d)=>{(d==="length"||d===Hr||!Ct(d)&&d>=u)&&a(f)})}else switch(n!==void 0&&a(s.get(n)),c&&a(s.get(Hr)),t){case"add":l?c&&a(s.get("length")):(a(s.get(xn)),Jn(e)&&a(s.get(Rs)));break;case"delete":l||(a(s.get(xn)),Jn(e)&&a(s.get(Rs)));break;case"set":Jn(e)&&a(s.get(xn));break}}La()}function kh(e,t){const n=qo.get(e);return n&&n.get(t)}function Hn(e){const t=fe(e);return t===e?t:(Ue(t,"iterate",Hr),st(e)?t:t.map(je))}function Ii(e){return Ue(e=fe(e),"iterate",Hr),e}const Lh={__proto__:null,[Symbol.iterator](){return rs(this,Symbol.iterator,je)},concat(...e){return Hn(this).concat(...e.map(t=>ee(t)?Hn(t):t))},entries(){return rs(this,"entries",e=>(e[1]=je(e[1]),e))},every(e,t){return Pt(this,"every",e,t,void 0,arguments)},filter(e,t){return Pt(this,"filter",e,t,n=>n.map(je),arguments)},find(e,t){return Pt(this,"find",e,t,je,arguments)},findIndex(e,t){return Pt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Pt(this,"findLast",e,t,je,arguments)},findLastIndex(e,t){return Pt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Pt(this,"forEach",e,t,void 0,arguments)},includes(...e){return os(this,"includes",e)},indexOf(...e){return os(this,"indexOf",e)},join(e){return Hn(this).join(e)},lastIndexOf(...e){return os(this,"lastIndexOf",e)},map(e,t){return Pt(this,"map",e,t,void 0,arguments)},pop(){return mr(this,"pop")},push(...e){return mr(this,"push",e)},reduce(e,...t){return xl(this,"reduce",e,t)},reduceRight(e,...t){return xl(this,"reduceRight",e,t)},shift(){return mr(this,"shift")},some(e,t){return Pt(this,"some",e,t,void 0,arguments)},splice(...e){return mr(this,"splice",e)},toReversed(){return Hn(this).toReversed()},toSorted(e){return Hn(this).toSorted(e)},toSpliced(...e){return Hn(this).toSpliced(...e)},unshift(...e){return mr(this,"unshift",e)},values(){return rs(this,"values",je)}};function rs(e,t,n){const r=Ii(e),o=r[t]();return r!==e&&!st(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const Oh=Array.prototype;function Pt(e,t,n,r,o,i){const s=Ii(e),a=s!==e&&!st(e),l=s[t];if(l!==Oh[t]){const f=l.apply(e,i);return a?je(f):f}let c=n;s!==e&&(a?c=function(f,d){return n.call(this,je(f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(s,c,r);return a&&o?o(u):u}function xl(e,t,n,r){const o=Ii(e);let i=n;return o!==e&&(st(e)?n.length>3&&(i=function(s,a,l){return n.call(this,s,a,l,e)}):i=function(s,a,l){return n.call(this,s,je(a),l,e)}),o[t](i,...r)}function os(e,t,n){const r=fe(e);Ue(r,"iterate",Hr);const o=r[t](...n);return(o===-1||o===!1)&&Va(n[0])?(n[0]=fe(n[0]),r[t](...n)):o}function mr(e,t,n=[]){an(),ka();const r=fe(e)[t].apply(e,n);return La(),ln(),r}const Ih=Ca("__proto__,__v_isRef,__isVue"),qu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ct));function Nh(e){Ct(e)||(e=String(e));const t=fe(this);return Ue(t,"has",e),t.hasOwnProperty(e)}class Ku{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?qh:Qu:i?Yu:Xu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=ee(t);if(!o){let l;if(s&&(l=Lh[n]))return l;if(n==="hasOwnProperty")return Nh}const a=Reflect.get(t,n,He(t)?t:r);return(Ct(n)?qu.has(n):Ih(n))||(o||Ue(t,"get",n),i)?a:He(a)?s&&Pa(n)?a:a.value:ge(a)?o?$a(a):nn(a):a}}class Ju extends Ku{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const l=rn(i);if(!st(r)&&!rn(r)&&(i=fe(i),r=fe(r)),!ee(t)&&He(i)&&!He(r))return l?!1:(i.value=r,!0)}const s=ee(t)&&Pa(n)?Number(n)<t.length:de(t,n),a=Reflect.set(t,n,r,He(t)?t:o);return t===fe(o)&&(s?tn(r,i)&&$t(t,"set",n,r):$t(t,"add",n,r)),a}deleteProperty(t,n){const r=de(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&$t(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Ct(n)||!qu.has(n))&&Ue(t,"has",n),r}ownKeys(t){return Ue(t,"iterate",ee(t)?"length":xn),Reflect.ownKeys(t)}}class Dh extends Ku{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const $h=new Ju,Mh=new Dh,Vh=new Ju(!0);const Na=e=>e,Ni=e=>Reflect.getPrototypeOf(e);function co(e,t,n=!1,r=!1){e=e.__v_raw;const o=fe(e),i=fe(t);n||(tn(t,i)&&Ue(o,"get",t),Ue(o,"get",i));const{has:s}=Ni(o),a=r?Na:n?Ha:je;if(s.call(o,t))return a(e.get(t));if(s.call(o,i))return a(e.get(i));e!==o&&e.get(t)}function uo(e,t=!1){const n=this.__v_raw,r=fe(n),o=fe(e);return t||(tn(e,o)&&Ue(r,"has",e),Ue(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function fo(e,t=!1){return e=e.__v_raw,!t&&Ue(fe(e),"iterate",xn),Reflect.get(e,"size",e)}function Pl(e,t=!1){!t&&!st(e)&&!rn(e)&&(e=fe(e));const n=fe(this);return Ni(n).has.call(n,e)||(n.add(e),$t(n,"add",e,e)),this}function Rl(e,t,n=!1){!n&&!st(t)&&!rn(t)&&(t=fe(t));const r=fe(this),{has:o,get:i}=Ni(r);let s=o.call(r,e);s||(e=fe(e),s=o.call(r,e));const a=i.call(r,e);return r.set(e,t),s?tn(t,a)&&$t(r,"set",e,t):$t(r,"add",e,t),this}function kl(e){const t=fe(this),{has:n,get:r}=Ni(t);let o=n.call(t,e);o||(e=fe(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&$t(t,"delete",e,void 0),i}function Ll(){const e=fe(this),t=e.size!==0,n=e.clear();return t&&$t(e,"clear",void 0,void 0),n}function po(e,t){return function(r,o){const i=this,s=i.__v_raw,a=fe(s),l=t?Na:e?Ha:je;return!e&&Ue(a,"iterate",xn),s.forEach((c,u)=>r.call(o,l(c),l(u),i))}}function ho(e,t,n){return function(...r){const o=this.__v_raw,i=fe(o),s=Jn(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=o[e](...r),u=n?Na:t?Ha:je;return!t&&Ue(i,"iterate",l?Rs:xn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Ut(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Hh(){const e={get(i){return co(this,i)},get size(){return fo(this)},has:uo,add:Pl,set:Rl,delete:kl,clear:Ll,forEach:po(!1,!1)},t={get(i){return co(this,i,!1,!0)},get size(){return fo(this)},has:uo,add(i){return Pl.call(this,i,!0)},set(i,s){return Rl.call(this,i,s,!0)},delete:kl,clear:Ll,forEach:po(!1,!0)},n={get(i){return co(this,i,!0)},get size(){return fo(this,!0)},has(i){return uo.call(this,i,!0)},add:Ut("add"),set:Ut("set"),delete:Ut("delete"),clear:Ut("clear"),forEach:po(!0,!1)},r={get(i){return co(this,i,!0,!0)},get size(){return fo(this,!0)},has(i){return uo.call(this,i,!0)},add:Ut("add"),set:Ut("set"),delete:Ut("delete"),clear:Ut("clear"),forEach:po(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=ho(i,!1,!1),n[i]=ho(i,!0,!1),t[i]=ho(i,!1,!0),r[i]=ho(i,!0,!0)}),[e,n,t,r]}const[Fh,Bh,jh,Uh]=Hh();function Da(e,t){const n=t?e?Uh:jh:e?Bh:Fh;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(de(n,o)&&o in r?n:r,o,i)}const Wh={get:Da(!1,!1)},Gh={get:Da(!1,!0)},zh={get:Da(!0,!1)};const Xu=new WeakMap,Yu=new WeakMap,Qu=new WeakMap,qh=new WeakMap;function Kh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Jh(e){return e.__v_skip||!Object.isExtensible(e)?0:Kh(mh(e))}function nn(e){return rn(e)?e:Ma(e,!1,$h,Wh,Xu)}function Cn(e){return Ma(e,!1,Vh,Gh,Yu)}function $a(e){return Ma(e,!0,Mh,zh,Qu)}function Ma(e,t,n,r,o){if(!ge(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=Jh(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function Pn(e){return rn(e)?Pn(e.__v_raw):!!(e&&e.__v_isReactive)}function rn(e){return!!(e&&e.__v_isReadonly)}function st(e){return!!(e&&e.__v_isShallow)}function Va(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Xh(e){return!de(e,"__v_skip")&&Object.isExtensible(e)&&Lu(e,"__v_skip",!0),e}const je=e=>ge(e)?nn(e):e,Ha=e=>ge(e)?$a(e):e;function He(e){return e?e.__v_isRef===!0:!1}function ae(e){return Zu(e,!1)}function ks(e){return Zu(e,!0)}function Zu(e,t){return He(e)?e:new Yh(e,t)}class Yh{constructor(t,n){this.dep=new Ia,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:fe(t),this._value=n?t:je(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||st(t)||rn(t);t=r?t:fe(t),tn(t,n)&&(this._rawValue=t,this._value=r?t:je(t),this.dep.trigger())}}function se(e){return He(e)?e.value:e}function Qh(e){return ne(e)?e():se(e)}const Zh={get:(e,t,n)=>t==="__v_raw"?e:se(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return He(o)&&!He(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function ef(e){return Pn(e)?e:new Proxy(e,Zh)}class em{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return kh(fe(this._object),this._key)}}class tm{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function nm(e,t,n){return He(e)?e:ne(e)?new tm(e):ge(e)&&arguments.length>1?rm(e,t,n):ae(e)}function rm(e,t,n){const r=e[t];return He(r)?r:new em(e,t,n)}class om{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ia(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Vr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ee!==this)return Bu(this),!0}get value(){const t=this.dep.track();return Wu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function im(e,t,n=!1){let r,o;return ne(e)?r=e:(r=e.get,o=e.set),new om(r,o,n)}const mo={},Ko=new WeakMap;let vn;function sm(e,t=!1,n=vn){if(n){let r=Ko.get(n);r||Ko.set(n,r=[]),r.push(e)}}function am(e,t,n=_e){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:a,call:l}=n,c=w=>o?w:st(w)||o===!1||o===0?Lt(w,1):Lt(w);let u,f,d,p,h=!1,m=!1;if(He(e)?(f=()=>e.value,h=st(e)):Pn(e)?(f=()=>c(e),h=!0):ee(e)?(m=!0,h=e.some(w=>Pn(w)||st(w)),f=()=>e.map(w=>{if(He(w))return w.value;if(Pn(w))return c(w);if(ne(w))return l?l(w,2):w()})):ne(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){an();try{d()}finally{ln()}}const w=vn;vn=u;try{return l?l(e,3,[p]):e(p)}finally{vn=w}}:f=wt,t&&o){const w=f,C=o===!0?1/0:o;f=()=>Lt(w(),C)}const _=Ra(),v=()=>{u.stop(),_&&Aa(_.effects,u)};if(i&&t){const w=t;t=(...C)=>{w(...C),v()}}let E=m?new Array(e.length).fill(mo):mo;const g=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(t){const C=u.run();if(o||h||(m?C.some((R,I)=>tn(R,E[I])):tn(C,E))){d&&d();const R=vn;vn=u;try{const I=[C,E===mo?void 0:m&&E[0]===mo?[]:E,p];l?l(t,3,I):t(...I),E=C}finally{vn=R}}}else u.run()};return a&&a(g),u=new Hu(f),u.scheduler=s?()=>s(g,!1):g,p=w=>sm(w,!1,u),d=u.onStop=()=>{const w=Ko.get(u);if(w){if(l)l(w,4);else for(const C of w)C();Ko.delete(u)}},t?r?g(!0):E=u.run():s?s(g.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function Lt(e,t=1/0,n){if(t<=0||!ge(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,He(e))Lt(e.value,t,n);else if(ee(e))for(let r=0;r<e.length;r++)Lt(e[r],t,n);else if(Pu(e)||Jn(e))e.forEach(r=>{Lt(r,t,n)});else if(ku(e)){for(const r in e)Lt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Lt(e[r],t,n)}return e}/**
11
+ * @vue/runtime-core v3.5.10
12
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
13
+ * @license MIT
14
+ **/function to(e,t,n,r){try{return r?e(...r):e()}catch(o){fr(o,t,n)}}function mt(e,t,n,r){if(ne(e)){const o=to(e,t,n,r);return o&&xa(o)&&o.catch(i=>{fr(i,t,n)}),o}if(ee(e)){const o=[];for(let i=0;i<e.length;i++)o.push(mt(e[i],t,n,r));return o}}function fr(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||_e;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(i){an(),to(i,null,10,[e,l,c]),ln();return}}lm(e,n,o,r,s)}function lm(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}let Fr=!1,Ls=!1;const ze=[];let vt=0;const Yn=[];let Kt=null,Un=0;const tf=Promise.resolve();let Fa=null;function cn(e){const t=Fa||tf;return e?t.then(this?e.bind(this):e):t}function cm(e){let t=Fr?vt+1:0,n=ze.length;for(;t<n;){const r=t+n>>>1,o=ze[r],i=Br(o);i<e||i===e&&o.flags&2?t=r+1:n=r}return t}function Ba(e){if(!(e.flags&1)){const t=Br(e),n=ze[ze.length-1];!n||!(e.flags&2)&&t>=Br(n)?ze.push(e):ze.splice(cm(t),0,e),e.flags|=1,nf()}}function nf(){!Fr&&!Ls&&(Ls=!0,Fa=tf.then(rf))}function Os(e){ee(e)?Yn.push(...e):Kt&&e.id===-1?Kt.splice(Un+1,0,e):e.flags&1||(Yn.push(e),e.flags|=1),nf()}function Ol(e,t,n=Fr?vt+1:0){for(;n<ze.length;n++){const r=ze[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;ze.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Jo(e){if(Yn.length){const t=[...new Set(Yn)].sort((n,r)=>Br(n)-Br(r));if(Yn.length=0,Kt){Kt.push(...t);return}for(Kt=t,Un=0;Un<Kt.length;Un++){const n=Kt[Un];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Kt=null,Un=0}}const Br=e=>e.id==null?e.flags&2?-1:1/0:e.id;function rf(e){Ls=!1,Fr=!0;try{for(vt=0;vt<ze.length;vt++){const t=ze[vt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),to(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;vt<ze.length;vt++){const t=ze[vt];t&&(t.flags&=-2)}vt=0,ze.length=0,Jo(),Fr=!1,Fa=null,(ze.length||Yn.length)&&rf()}}let De=null,Di=null;function Xo(e){const t=De;return De=e,Di=e&&e.type.__scopeId||null,t}function um(e){Di=e}function fm(){Di=null}const dm=e=>oe;function oe(e,t=De,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ql(-1);const i=Xo(t);let s;try{s=e(...o)}finally{Xo(i),r._d&&ql(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function of(e,t){if(De===null)return e;const n=Hi(De),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,a,l=_e]=t[o];i&&(ne(i)&&(i={mounted:i,updated:i}),i.deep&&Lt(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function bt(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let l=a.dir[r];l&&(an(),mt(l,n,8,[e.el,a,e,t]),ln())}}const sf=Symbol("_vte"),pm=e=>e.__isTeleport,Cr=e=>e&&(e.disabled||e.disabled===""),hm=e=>e&&(e.defer||e.defer===""),Il=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Nl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Is=(e,t)=>{const n=e&&e.to;return Te(n)?t?t(n):null:n},mm={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:_}}=c,v=Cr(t.props);let{shapeFlag:E,children:g,dynamicChildren:w}=t;if(e==null){const C=t.el=m(""),R=t.anchor=m("");p(C,n,r),p(R,n,r);const I=(L,S)=>{E&16&&(o&&o.isCE&&(o.ce._teleportTarget=L),u(g,L,S,o,i,s,a,l))},U=()=>{const L=t.target=Is(t.props,h),S=af(L,t,m,p);L&&(s!=="svg"&&Il(L)?s="svg":s!=="mathml"&&Nl(L)&&(s="mathml"),v||(I(L,S),Do(t)))};v&&(I(n,R),Do(t)),hm(t.props)?Je(U,i):U()}else{t.el=e.el,t.targetStart=e.targetStart;const C=t.anchor=e.anchor,R=t.target=e.target,I=t.targetAnchor=e.targetAnchor,U=Cr(e.props),L=U?n:R,S=U?C:I;if(s==="svg"||Il(R)?s="svg":(s==="mathml"||Nl(R))&&(s="mathml"),w?(d(e.dynamicChildren,w,L,o,i,s,a),qa(e,t,!0)):l||f(e,t,L,S,o,i,s,a,!1),v)U?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):go(t,n,C,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=Is(t.props,h);O&&go(t,O,null,c,0)}else U&&go(t,R,I,c,1);Do(t)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:c,targetAnchor:u,target:f,props:d}=e;if(f&&(o(c),o(u)),i&&o(l),s&16){const p=i||!Cr(d);for(let h=0;h<a.length;h++){const m=a[h];r(m,t,n,p,!!m.dynamicChildren)}}},move:go,hydrate:gm};function go(e,t,n,{o:{insert:r},m:o},i=2){i===0&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,f=i===2;if(f&&r(s,t,n),(!f||Cr(u))&&l&16)for(let d=0;d<c.length;d++)o(c[d],t,n,2);f&&r(a,t,n)}function gm(e,t,n,r,o,i,{o:{nextSibling:s,parentNode:a,querySelector:l,insert:c,createText:u}},f){const d=t.target=Is(t.props,l);if(d){const p=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Cr(t.props))t.anchor=f(s(e),t,a(e),n,r,o,i),t.targetStart=p,t.targetAnchor=p&&s(p);else{t.anchor=s(e);let h=p;for(;h;){if(h&&h.nodeType===8){if(h.data==="teleport start anchor")t.targetStart=h;else if(h.data==="teleport anchor"){t.targetAnchor=h,d._lpa=t.targetAnchor&&s(t.targetAnchor);break}}h=s(h)}t.targetAnchor||af(d,t,u,c),f(p&&s(p),t,d,n,r,o,i)}Do(t)}return t.anchor&&s(t.anchor)}const _m=mm;function Do(e){const t=e.ctx;if(t&&t.ut){let n=e.targetStart;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function af(e,t,n,r){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[sf]=i,e&&(r(o,e),r(i,e)),i}const Fn=Symbol("_leaveCb"),_o=Symbol("_enterCb");function ym(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Mi(()=>{e.isMounted=!0}),Wa(()=>{e.isUnmounting=!0}),e}const nt=[Function,Array],vm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:nt,onEnter:nt,onAfterEnter:nt,onEnterCancelled:nt,onBeforeLeave:nt,onLeave:nt,onAfterLeave:nt,onLeaveCancelled:nt,onBeforeAppear:nt,onAppear:nt,onAfterAppear:nt,onAppearCancelled:nt};function bm(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 Ns(e,t,n,r,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:_,onAppear:v,onAfterAppear:E,onAppearCancelled:g}=t,w=String(e.key),C=bm(n,e),R=(L,S)=>{L&&mt(L,r,9,S)},I=(L,S)=>{const O=S[1];R(L,S),ee(L)?L.every(P=>P.length<=1)&&O():L.length<=1&&O()},U={mode:s,persisted:a,beforeEnter(L){let S=l;if(!n.isMounted)if(i)S=_||l;else return;L[Fn]&&L[Fn](!0);const O=C[w];O&&It(e,O)&&O.el[Fn]&&O.el[Fn](),R(S,[L])},enter(L){let S=c,O=u,P=f;if(!n.isMounted)if(i)S=v||c,O=E||u,P=g||f;else return;let A=!1;const x=L[_o]=B=>{A||(A=!0,B?R(P,[L]):R(O,[L]),U.delayedLeave&&U.delayedLeave(),L[_o]=void 0)};S?I(S,[L,x]):x()},leave(L,S){const O=String(e.key);if(L[_o]&&L[_o](!0),n.isUnmounting)return S();R(d,[L]);let P=!1;const A=L[Fn]=x=>{P||(P=!0,S(),x?R(m,[L]):R(h,[L]),L[Fn]=void 0,C[O]===e&&delete C[O])};C[O]=e,p?I(p,[L,A]):A()},clone(L){return Ns(L,t,n,r)}};return U}function jr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,jr(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 lf(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let s=e[i];const a=n==null?s.key:String(n)+String(s.key!=null?s.key:i);s.type===me?(s.patchFlag&128&&o++,r=r.concat(lf(s.children,t,a))):(t||s.type!==lt)&&r.push(a!=null?On(s,{key:a}):s)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function xe(e,t){return ne(e)?Oe({name:e.name},t,{setup:e}):e}function ja(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Yo(e,t,n,r,o=!1){if(ee(e)){e.forEach((h,m)=>Yo(h,t&&(ee(t)?t[m]:t),n,r,o));return}if(Rn(r)&&!o)return;const i=r.shapeFlag&4?Hi(r.component):r.el,s=o?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===_e?a.refs={}:a.refs,f=a.setupState,d=fe(f),p=f===_e?()=>!1:h=>de(d,h);if(c!=null&&c!==l&&(Te(c)?(u[c]=null,p(c)&&(f[c]=null)):He(c)&&(c.value=null)),ne(l))to(l,a,12,[s,u]);else{const h=Te(l),m=He(l);if(h||m){const _=()=>{if(e.f){const v=h?p(l)?f[l]:u[l]:l.value;o?ee(v)&&Aa(v,i):ee(v)?v.includes(i)||v.push(i):h?(u[l]=[i],p(l)&&(f[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else h?(u[l]=s,p(l)&&(f[l]=s)):m&&(l.value=s,e.k&&(u[e.k]=s))};s?(_.id=-1,Je(_,n)):_()}}}let Dl=!1;const Bn=()=>{Dl||(console.error("Hydration completed but contains mismatches."),Dl=!0)},wm=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Em=e=>e.namespaceURI.includes("MathML"),yo=e=>{if(e.nodeType===1){if(wm(e))return"svg";if(Em(e))return"mathml"}},zn=e=>e.nodeType===8;function Tm(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:c}}=e,u=(g,w)=>{if(!w.hasChildNodes()){n(null,g,w),Jo(),w._vnode=g;return}f(w.firstChild,g,null,null,null),Jo(),w._vnode=g},f=(g,w,C,R,I,U=!1)=>{U=U||!!w.dynamicChildren;const L=zn(g)&&g.data==="[",S=()=>m(g,w,C,R,I,L),{type:O,ref:P,shapeFlag:A,patchFlag:x}=w;let B=g.nodeType;w.el=g,x===-2&&(U=!1,w.dynamicChildren=null);let D=null;switch(O){case Ln:B!==3?w.children===""?(l(w.el=o(""),s(g),g),D=g):D=S():(g.data!==w.children&&(Bn(),g.data=w.children),D=i(g));break;case lt:E(g)?(D=i(g),v(w.el=g.content.firstChild,g,C)):B!==8||L?D=S():D=i(g);break;case Ar:if(L&&(g=i(g),B=g.nodeType),B===1||B===3){D=g;const q=!w.children.length;for(let W=0;W<w.staticCount;W++)q&&(w.children+=D.nodeType===1?D.outerHTML:D.data),W===w.staticCount-1&&(w.anchor=D),D=i(D);return L?i(D):D}else S();break;case me:L?D=h(g,w,C,R,I,U):D=S();break;default:if(A&1)(B!==1||w.type.toLowerCase()!==g.tagName.toLowerCase())&&!E(g)?D=S():D=d(g,w,C,R,I,U);else if(A&6){w.slotScopeIds=I;const q=s(g);if(L?D=_(g):zn(g)&&g.data==="teleport start"?D=_(g,g.data,"teleport end"):D=i(g),t(w,q,null,C,R,yo(q),U),Rn(w)){let W;L?(W=J(me),W.anchor=D?D.previousSibling:q.lastChild):W=g.nodeType===3?ue(""):J("div"),W.el=g,w.component.subTree=W}}else A&64?B!==8?D=S():D=w.type.hydrate(g,w,C,R,I,U,e,p):A&128&&(D=w.type.hydrate(g,w,C,R,yo(s(g)),I,U,e,f))}return P!=null&&Yo(P,null,R,w),D},d=(g,w,C,R,I,U)=>{U=U||!!w.dynamicChildren;const{type:L,props:S,patchFlag:O,shapeFlag:P,dirs:A,transition:x}=w,B=L==="input"||L==="option";if(B||O!==-1){A&&bt(w,null,C,"created");let D=!1;if(E(g)){D=Of(R,x)&&C&&C.vnode.props&&C.vnode.props.appear;const W=g.content.firstChild;D&&x.beforeEnter(W),v(W,g,C),w.el=g=W}if(P&16&&!(S&&(S.innerHTML||S.textContent))){let W=p(g.firstChild,w,g,C,R,I,U);for(;W;){vo(g,1)||Bn();const Y=W;W=W.nextSibling,a(Y)}}else if(P&8){let W=w.children;W[0]===`
15
+ `&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(W=W.slice(1)),g.textContent!==W&&(vo(g,0)||Bn(),g.textContent=w.children)}if(S){if(B||!U||O&48){const W=g.tagName.includes("-");for(const Y in S)(B&&(Y.endsWith("value")||Y==="indeterminate")||Zr(Y)&&!Xn(Y)||Y[0]==="."||W)&&r(g,Y,null,S[Y],void 0,C)}else if(S.onClick)r(g,"onClick",null,S.onClick,void 0,C);else if(O&4&&Pn(S.style))for(const W in S.style)S.style[W]}let q;(q=S&&S.onVnodeBeforeMount)&&ot(q,C,w),A&&bt(w,null,C,"beforeMount"),((q=S&&S.onVnodeMounted)||A||D)&&Vf(()=>{q&&ot(q,C,w),D&&x.enter(g),A&&bt(w,null,C,"mounted")},R)}return g.nextSibling},p=(g,w,C,R,I,U,L)=>{L=L||!!w.dynamicChildren;const S=w.children,O=S.length;for(let P=0;P<O;P++){const A=L?S[P]:S[P]=tt(S[P]),x=A.type===Ln;g?(x&&!L&&P+1<O&&tt(S[P+1]).type===Ln&&(l(o(g.data.slice(A.children.length)),C,i(g)),g.data=A.children),g=f(g,A,R,I,U,L)):x&&!A.children?l(A.el=o(""),C):(vo(C,1)||Bn(),n(null,A,C,null,R,I,yo(C),U))}return g},h=(g,w,C,R,I,U)=>{const{slotScopeIds:L}=w;L&&(I=I?I.concat(L):L);const S=s(g),O=p(i(g),w,S,C,R,I,U);return O&&zn(O)&&O.data==="]"?i(w.anchor=O):(Bn(),l(w.anchor=c("]"),S,O),O)},m=(g,w,C,R,I,U)=>{if(vo(g.parentElement,1)||Bn(),w.el=null,U){const O=_(g);for(;;){const P=i(g);if(P&&P!==O)a(P);else break}}const L=i(g),S=s(g);return a(g),n(null,w,S,L,C,R,yo(S),I),L},_=(g,w="[",C="]")=>{let R=0;for(;g;)if(g=i(g),g&&zn(g)&&(g.data===w&&R++,g.data===C)){if(R===0)return i(g);R--}return g},v=(g,w,C)=>{const R=w.parentNode;R&&R.replaceChild(g,w);let I=C;for(;I;)I.vnode.el===w&&(I.vnode.el=I.subTree.el=g),I=I.parent},E=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,f]}const $l="data-allow-mismatch",Cm={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function vo(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute($l);)e=e.parentElement;const n=e&&e.getAttribute($l);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(Cm[t])}}function Sm(e,t){if(zn(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(zn(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Rn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ml(e){ne(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let c=null,u,f=0;const d=()=>(f++,c=null,p()),p=()=>{let h;return c||(h=c=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((_,v)=>{l(m,()=>_(d()),()=>v(m),f+1)});throw m}).then(m=>h!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return xe({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(h,m,_){const v=i?()=>{const E=i(_,g=>Sm(h,g));E&&(m.bum||(m.bum=[])).push(E)}:_;u?v():p().then(()=>!m.isUnmounted&&v())},get __asyncResolved(){return u},setup(){const h=Ne;if(ja(h),u)return()=>is(u,h);const m=g=>{c=null,fr(g,h,13,!r)};if(a&&h.suspense||ro)return p().then(g=>()=>is(g,h)).catch(g=>(m(g),()=>r?J(r,{error:g}):null));const _=ae(!1),v=ae(),E=ae(!!o);return o&&setTimeout(()=>{E.value=!1},o),s!=null&&setTimeout(()=>{if(!_.value&&!v.value){const g=new Error(`Async component timed out after ${s}ms.`);m(g),v.value=g}},s),p().then(()=>{_.value=!0,h.parent&&Ua(h.parent.vnode)&&h.parent.update()}).catch(g=>{m(g),v.value=g}),()=>{if(_.value&&u)return is(u,h);if(v.value&&r)return J(r,{error:v.value});if(n&&!E.value)return J(n)}}})}function is(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=J(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Ua=e=>e.type.__isKeepAlive;function Am(e,t){cf(e,"a",t)}function xm(e,t){cf(e,"da",t)}function cf(e,t,n=Ne){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if($i(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ua(o.parent.vnode)&&Pm(r,t,n,o),o=o.parent}}function Pm(e,t,n,r){const o=$i(t,e,r,!0);ff(()=>{Aa(r[t],o)},n)}function $i(e,t,n=Ne,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{an();const a=In(n),l=mt(t,n,e,s);return a(),ln(),l});return r?o.unshift(i):o.push(i),i}}const Ht=e=>(t,n=Ne)=>{(!ro||e==="sp")&&$i(e,(...r)=>t(...r),n)},Rm=Ht("bm"),Mi=Ht("m"),km=Ht("bu"),uf=Ht("u"),Wa=Ht("bum"),ff=Ht("um"),Lm=Ht("sp"),Om=Ht("rtg"),Im=Ht("rtc");function df(e,t=Ne){$i("ec",e,t)}const pf="components";function Vt(e,t){return gf(pf,e,!0,t)||e}const hf=Symbol.for("v-ndc");function mf(e){return Te(e)?gf(pf,e,!1)||e:e||hf}function gf(e,t,n=!0,r=!1){const o=De||Ne;if(o){const i=o.type;{const a=Cg(i,!1);if(a&&(a===t||a===at(t)||a===Oi(at(t))))return i}const s=Vl(o[e]||i[e],t)||Vl(o.appContext[e],t);return!s&&r?i:s}}function Vl(e,t){return e&&(e[t]||e[at(t)]||e[Oi(at(t))])}function Ot(e,t,n,r){let o;const i=n,s=ee(e);if(s||Te(e)){const a=s&&Pn(e);let l=!1;a&&(l=!st(e),e=Ii(e)),o=new Array(e.length);for(let c=0,u=e.length;c<u;c++)o[c]=t(l?je(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,i)}else if(ge(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,i));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,i)}}else o=[];return o}function Le(e,t,n={},r,o){if(De.ce||De.parent&&Rn(De.parent)&&De.parent.ce)return t!=="default"&&(n.name=t),j(),pe(me,null,[J("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),j();const s=i&&_f(i(n)),a=pe(me,{key:(n.key||s&&s.key||`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function _f(e){return e.some(t=>or(t)?!(t.type===lt||t.type===me&&!_f(t.children)):!0)?e:null}const Ds=e=>e?jf(e)?Hi(e):Ds(e.parent):null,Sr=Oe(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=>Ds(e.parent),$root:e=>Ds(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ga(e),$forceUpdate:e=>e.f||(e.f=()=>{Ba(e.update)}),$nextTick:e=>e.n||(e.n=cn.bind(e.proxy)),$watch:e=>tg.bind(e)}),ss=(e,t)=>e!==_e&&!e.__isScriptSetup&&de(e,t),Nm={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(ss(r,t))return s[t]=1,r[t];if(o!==_e&&de(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&de(c,t))return s[t]=3,i[t];if(n!==_e&&de(n,t))return s[t]=4,n[t];$s&&(s[t]=0)}}const u=Sr[t];let f,d;if(u)return t==="$attrs"&&Ue(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==_e&&de(n,t))return s[t]=4,n[t];if(d=l.config.globalProperties,de(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return ss(o,t)?(o[t]=n,!0):r!==_e&&de(r,t)?(r[t]=n,!0):de(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let a;return!!n[s]||e!==_e&&de(e,s)||ss(t,s)||(a=i[0])&&de(a,s)||de(r,s)||de(Sr,s)||de(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:de(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Hl(e){return ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Dm(e){const t=no();let n=e();return Bs(),xa(n)&&(n=n.catch(r=>{throw In(t),r})),[n,()=>In(t)]}let $s=!0;function $m(e){const t=Ga(e),n=e.proxy,r=e.ctx;$s=!1,t.beforeCreate&&Fl(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:_,beforeDestroy:v,beforeUnmount:E,destroyed:g,unmounted:w,render:C,renderTracked:R,renderTriggered:I,errorCaptured:U,serverPrefetch:L,expose:S,inheritAttrs:O,components:P,directives:A,filters:x}=t;if(c&&Mm(c,r,null),s)for(const q in s){const W=s[q];ne(W)&&(r[q]=W.bind(n))}if(o){const q=o.call(n,n);ge(q)&&(e.data=nn(q))}if($s=!0,i)for(const q in i){const W=i[q],Y=ne(W)?W.bind(n,n):ne(W.get)?W.get.bind(n,n):wt,ye=!ne(W)&&ne(W.set)?W.set.bind(n):wt,ve=Pe({get:Y,set:ye});Object.defineProperty(r,q,{enumerable:!0,configurable:!0,get:()=>ve.value,set:Me=>ve.value=Me})}if(a)for(const q in a)yf(a[q],r,n,q);if(l){const q=ne(l)?l.call(n):l;Reflect.ownKeys(q).forEach(W=>{bf(W,q[W])})}u&&Fl(u,e,"c");function D(q,W){ee(W)?W.forEach(Y=>q(Y.bind(n))):W&&q(W.bind(n))}if(D(Rm,f),D(Mi,d),D(km,p),D(uf,h),D(Am,m),D(xm,_),D(df,U),D(Im,R),D(Om,I),D(Wa,E),D(ff,w),D(Lm,L),ee(S))if(S.length){const q=e.exposed||(e.exposed={});S.forEach(W=>{Object.defineProperty(q,W,{get:()=>n[W],set:Y=>n[W]=Y})})}else e.exposed||(e.exposed={});C&&e.render===wt&&(e.render=C),O!=null&&(e.inheritAttrs=O),P&&(e.components=P),A&&(e.directives=A),L&&ja(e)}function Mm(e,t,n=wt){ee(e)&&(e=Ms(e));for(const r in e){const o=e[r];let i;ge(o)?"default"in o?i=Qn(o.from||r,o.default,!0):i=Qn(o.from||r):i=Qn(o),He(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function Fl(e,t,n){mt(ee(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function yf(e,t,n,r){let o=r.includes(".")?Nf(n,r):()=>n[r];if(Te(e)){const i=t[e];ne(i)&&Yt(o,i)}else if(ne(e))Yt(o,e.bind(n));else if(ge(e))if(ee(e))e.forEach(i=>yf(i,t,n,r));else{const i=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(i)&&Yt(o,i,e)}}function Ga(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Qo(l,c,s,!0)),Qo(l,t,s)),ge(t)&&i.set(t,l),l}function Qo(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Qo(e,i,n,!0),o&&o.forEach(s=>Qo(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=Vm[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const Vm={data:Bl,props:jl,emits:jl,methods:wr,computed:wr,beforeCreate:We,created:We,beforeMount:We,mounted:We,beforeUpdate:We,updated:We,beforeDestroy:We,beforeUnmount:We,destroyed:We,unmounted:We,activated:We,deactivated:We,errorCaptured:We,serverPrefetch:We,components:wr,directives:wr,watch:Fm,provide:Bl,inject:Hm};function Bl(e,t){return t?e?function(){return Oe(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function Hm(e,t){return wr(Ms(e),Ms(t))}function Ms(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function We(e,t){return e?[...new Set([].concat(e,t))]:t}function wr(e,t){return e?Oe(Object.create(null),e,t):t}function jl(e,t){return e?ee(e)&&ee(t)?[...new Set([...e,...t])]:Oe(Object.create(null),Hl(e),Hl(t??{})):t}function Fm(e,t){if(!e)return t;if(!t)return e;const n=Oe(Object.create(null),e);for(const r in t)n[r]=We(e[r],t[r]);return n}function vf(){return{app:null,config:{isNativeTag:ph,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 Bm=0;function jm(e,t){return function(r,o=null){ne(r)||(r=Oe({},r)),o!=null&&!ge(o)&&(o=null);const i=vf(),s=new WeakSet,a=[];let l=!1;const c=i.app={_uid:Bm++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Wf,get config(){return i.config},set config(u){},use(u,...f){return s.has(u)||(u&&ne(u.install)?(s.add(u),u.install(c,...f)):ne(u)&&(s.add(u),u(c,...f))),c},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),c},component(u,f){return f?(i.components[u]=f,c):i.components[u]},directive(u,f){return f?(i.directives[u]=f,c):i.directives[u]},mount(u,f,d){if(!l){const p=c._ceVNode||J(r,o);return p.appContext=i,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(p,u):e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,Hi(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(mt(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return i.provides[u]=f,c},runWithContext(u){const f=kn;kn=c;try{return u()}finally{kn=f}}};return c}}let kn=null;function bf(e,t){if(Ne){let n=Ne.provides;const r=Ne.parent&&Ne.parent.provides;r===n&&(n=Ne.provides=Object.create(r)),n[e]=t}}function Qn(e,t,n=!1){const r=Ne||De;if(r||kn){const o=kn?kn._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&&ne(t)?t.call(r&&r.proxy):t}}function wf(){return!!(Ne||De||kn)}const Ef={},Tf=()=>Object.create(Ef),Cf=e=>Object.getPrototypeOf(e)===Ef;function Um(e,t,n,r=!1){const o={},i=Tf();e.propsDefaults=Object.create(null),Sf(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:Cn(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Wm(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=fe(o),[l]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Vi(e.emitsOptions,d))continue;const p=t[d];if(l)if(de(i,d))p!==i[d]&&(i[d]=p,c=!0);else{const h=at(d);o[h]=Vs(l,a,h,p,e,!1)}else p!==i[d]&&(i[d]=p,c=!0)}}}else{Sf(e,t,o,i)&&(c=!0);let u;for(const f in a)(!t||!de(t,f)&&((u=sn(f))===f||!de(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Vs(l,a,f,void 0,e,!0)):delete o[f]);if(i!==a)for(const f in i)(!t||!de(t,f))&&(delete i[f],c=!0)}c&&$t(e.attrs,"set","")}function Sf(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,a;if(t)for(let l in t){if(Xn(l))continue;const c=t[l];let u;o&&de(o,u=at(l))?!i||!i.includes(u)?n[u]=c:(a||(a={}))[u]=c:Vi(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,s=!0)}if(i){const l=fe(n),c=a||_e;for(let u=0;u<i.length;u++){const f=i[u];n[f]=Vs(o,l,f,c[f],e,!de(c,f))}}return s}function Vs(e,t,n,r,o,i){const s=e[n];if(s!=null){const a=de(s,"default");if(a&&r===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&ne(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=In(o);r=c[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}s[0]&&(i&&!a?r=!1:s[1]&&(r===""||r===sn(n))&&(r=!0))}return r}const Gm=new WeakMap;function Af(e,t,n=!1){const r=n?Gm:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},a=[];let l=!1;if(!ne(e)){const u=f=>{l=!0;const[d,p]=Af(f,t,!0);Oe(s,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return ge(e)&&r.set(e,Kn),Kn;if(ee(i))for(let u=0;u<i.length;u++){const f=at(i[u]);Ul(f)&&(s[f]=_e)}else if(i)for(const u in i){const f=at(u);if(Ul(f)){const d=i[u],p=s[f]=ee(d)||ne(d)?{type:d}:Oe({},d),h=p.type;let m=!1,_=!0;if(ee(h))for(let v=0;v<h.length;++v){const E=h[v],g=ne(E)&&E.name;if(g==="Boolean"){m=!0;break}else g==="String"&&(_=!1)}else m=ne(h)&&h.name==="Boolean";p[0]=m,p[1]=_,(m||de(p,"default"))&&a.push(f)}}const c=[s,a];return ge(e)&&r.set(e,c),c}function Ul(e){return e[0]!=="$"&&!Xn(e)}const xf=e=>e[0]==="_"||e==="$stable",za=e=>ee(e)?e.map(tt):[tt(e)],zm=(e,t,n)=>{if(t._n)return t;const r=oe((...o)=>za(t(...o)),n);return r._c=!1,r},Pf=(e,t,n)=>{const r=e._ctx;for(const o in e){if(xf(o))continue;const i=e[o];if(ne(i))t[o]=zm(o,i,r);else if(i!=null){const s=za(i);t[o]=()=>s}}},Rf=(e,t)=>{const n=za(t);e.slots.default=()=>n},kf=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},qm=(e,t,n)=>{const r=e.slots=Tf();if(e.vnode.shapeFlag&32){const o=t._;o?(kf(r,t,n),n&&Lu(r,"_",o,!0)):Pf(t,r)}else t&&Rf(e,t)},Km=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=_e;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:kf(o,t,n):(i=!t.$stable,Pf(t,o)),s=t}else t&&(Rf(e,t),s={default:1});if(i)for(const a in o)!xf(a)&&s[a]==null&&delete o[a]},Je=Vf;function Jm(e){return Lf(e)}function Xm(e){return Lf(e,Tm)}function Lf(e,t){const n=Iu();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=wt,insertStaticContent:h}=e,m=(b,T,k,V=null,N=null,$=null,K=void 0,z=null,G=!!T.dynamicChildren)=>{if(b===T)return;b&&!It(b,T)&&(V=jt(b),Me(b,N,$,!0),b=null),T.patchFlag===-2&&(G=!1,T.dynamicChildren=null);const{type:H,ref:te,shapeFlag:X}=T;switch(H){case Ln:_(b,T,k,V);break;case lt:v(b,T,k,V);break;case Ar:b==null&&E(T,k,V,K);break;case me:P(b,T,k,V,N,$,K,z,G);break;default:X&1?C(b,T,k,V,N,$,K,z,G):X&6?A(b,T,k,V,N,$,K,z,G):(X&64||X&128)&&H.process(b,T,k,V,N,$,K,z,G,Vn)}te!=null&&N&&Yo(te,b&&b.ref,$,T||b,!T)},_=(b,T,k,V)=>{if(b==null)r(T.el=a(T.children),k,V);else{const N=T.el=b.el;T.children!==b.children&&c(N,T.children)}},v=(b,T,k,V)=>{b==null?r(T.el=l(T.children||""),k,V):T.el=b.el},E=(b,T,k,V)=>{[b.el,b.anchor]=h(b.children,T,k,V,b.el,b.anchor)},g=({el:b,anchor:T},k,V)=>{let N;for(;b&&b!==T;)N=d(b),r(b,k,V),b=N;r(T,k,V)},w=({el:b,anchor:T})=>{let k;for(;b&&b!==T;)k=d(b),o(b),b=k;o(T)},C=(b,T,k,V,N,$,K,z,G)=>{T.type==="svg"?K="svg":T.type==="math"&&(K="mathml"),b==null?R(T,k,V,N,$,K,z,G):L(b,T,N,$,K,z,G)},R=(b,T,k,V,N,$,K,z)=>{let G,H;const{props:te,shapeFlag:X,transition:Z,dirs:re}=b;if(G=b.el=s(b.type,$,te&&te.is,te),X&8?u(G,b.children):X&16&&U(b.children,G,null,V,N,as(b,$),K,z),re&&bt(b,null,V,"created"),I(G,b,b.scopeId,K,V),te){for(const be in te)be!=="value"&&!Xn(be)&&i(G,be,null,te[be],$,V);"value"in te&&i(G,"value",null,te.value,$),(H=te.onVnodeBeforeMount)&&ot(H,V,b)}re&&bt(b,null,V,"beforeMount");const le=Of(N,Z);le&&Z.beforeEnter(G),r(G,T,k),((H=te&&te.onVnodeMounted)||le||re)&&Je(()=>{H&&ot(H,V,b),le&&Z.enter(G),re&&bt(b,null,V,"mounted")},N)},I=(b,T,k,V,N)=>{if(k&&p(b,k),V)for(let $=0;$<V.length;$++)p(b,V[$]);if(N){let $=N.subTree;if(T===$||$f($.type)&&($.ssContent===T||$.ssFallback===T)){const K=N.vnode;I(b,K,K.scopeId,K.slotScopeIds,N.parent)}}},U=(b,T,k,V,N,$,K,z,G=0)=>{for(let H=G;H<b.length;H++){const te=b[H]=z?Jt(b[H]):tt(b[H]);m(null,te,T,k,V,N,$,K,z)}},L=(b,T,k,V,N,$,K)=>{const z=T.el=b.el;let{patchFlag:G,dynamicChildren:H,dirs:te}=T;G|=b.patchFlag&16;const X=b.props||_e,Z=T.props||_e;let re;if(k&&hn(k,!1),(re=Z.onVnodeBeforeUpdate)&&ot(re,k,T,b),te&&bt(T,b,k,"beforeUpdate"),k&&hn(k,!0),(X.innerHTML&&Z.innerHTML==null||X.textContent&&Z.textContent==null)&&u(z,""),H?S(b.dynamicChildren,H,z,k,V,as(T,N),$):K||W(b,T,z,null,k,V,as(T,N),$,!1),G>0){if(G&16)O(z,X,Z,k,N);else if(G&2&&X.class!==Z.class&&i(z,"class",null,Z.class,N),G&4&&i(z,"style",X.style,Z.style,N),G&8){const le=T.dynamicProps;for(let be=0;be<le.length;be++){const he=le[be],Ye=X[he],Fe=Z[he];(Fe!==Ye||he==="value")&&i(z,he,Ye,Fe,N,k)}}G&1&&b.children!==T.children&&u(z,T.children)}else!K&&H==null&&O(z,X,Z,k,N);((re=Z.onVnodeUpdated)||te)&&Je(()=>{re&&ot(re,k,T,b),te&&bt(T,b,k,"updated")},V)},S=(b,T,k,V,N,$,K)=>{for(let z=0;z<T.length;z++){const G=b[z],H=T[z],te=G.el&&(G.type===me||!It(G,H)||G.shapeFlag&70)?f(G.el):k;m(G,H,te,null,V,N,$,K,!0)}},O=(b,T,k,V,N)=>{if(T!==k){if(T!==_e)for(const $ in T)!Xn($)&&!($ in k)&&i(b,$,T[$],null,N,V);for(const $ in k){if(Xn($))continue;const K=k[$],z=T[$];K!==z&&$!=="value"&&i(b,$,z,K,N,V)}"value"in k&&i(b,"value",T.value,k.value,N)}},P=(b,T,k,V,N,$,K,z,G)=>{const H=T.el=b?b.el:a(""),te=T.anchor=b?b.anchor:a("");let{patchFlag:X,dynamicChildren:Z,slotScopeIds:re}=T;re&&(z=z?z.concat(re):re),b==null?(r(H,k,V),r(te,k,V),U(T.children||[],k,te,N,$,K,z,G)):X>0&&X&64&&Z&&b.dynamicChildren?(S(b.dynamicChildren,Z,k,N,$,K,z),(T.key!=null||N&&T===N.subTree)&&qa(b,T,!0)):W(b,T,k,te,N,$,K,z,G)},A=(b,T,k,V,N,$,K,z,G)=>{T.slotScopeIds=z,b==null?T.shapeFlag&512?N.ctx.activate(T,k,V,K,G):x(T,k,V,N,$,K,G):B(b,T,G)},x=(b,T,k,V,N,$,K)=>{const z=b.component=vg(b,V,N);if(Ua(b)&&(z.ctx.renderer=Vn),bg(z,!1,K),z.asyncDep){if(N&&N.registerDep(z,D,K),!b.el){const G=z.subTree=J(lt);v(null,G,T,k)}}else D(z,b,T,k,N,$,K)},B=(b,T,k)=>{const V=T.component=b.component;if(ag(b,T,k))if(V.asyncDep&&!V.asyncResolved){q(V,T,k);return}else V.next=T,V.update();else T.el=b.el,V.vnode=T},D=(b,T,k,V,N,$,K)=>{const z=()=>{if(b.isMounted){let{next:X,bu:Z,u:re,parent:le,vnode:be}=b;{const Qe=If(b);if(Qe){X&&(X.el=be.el,q(b,X,K)),Qe.asyncDep.then(()=>{b.isUnmounted||z()});return}}let he=X,Ye;hn(b,!1),X?(X.el=be.el,q(b,X,K)):X=be,Z&&No(Z),(Ye=X.props&&X.props.onVnodeBeforeUpdate)&&ot(Ye,le,X,be),hn(b,!0);const Fe=ls(b),ut=b.subTree;b.subTree=Fe,m(ut,Fe,f(ut.el),jt(ut),b,N,$),X.el=Fe.el,he===null&&Ja(b,Fe.el),re&&Je(re,N),(Ye=X.props&&X.props.onVnodeUpdated)&&Je(()=>ot(Ye,le,X,be),N)}else{let X;const{el:Z,props:re}=T,{bm:le,m:be,parent:he,root:Ye,type:Fe}=b,ut=Rn(T);if(hn(b,!1),le&&No(le),!ut&&(X=re&&re.onVnodeBeforeMount)&&ot(X,he,T),hn(b,!0),Z&&Zi){const Qe=()=>{b.subTree=ls(b),Zi(Z,b.subTree,b,N,null)};ut&&Fe.__asyncHydrate?Fe.__asyncHydrate(Z,b,Qe):Qe()}else{Ye.ce&&Ye.ce._injectChildStyle(Fe);const Qe=b.subTree=ls(b);m(null,Qe,k,V,b,N,$),T.el=Qe.el}if(be&&Je(be,N),!ut&&(X=re&&re.onVnodeMounted)){const Qe=T;Je(()=>ot(X,he,Qe),N)}(T.shapeFlag&256||he&&Rn(he.vnode)&&he.vnode.shapeFlag&256)&&b.a&&Je(b.a,N),b.isMounted=!0,T=k=V=null}};b.scope.on();const G=b.effect=new Hu(z);b.scope.off();const H=b.update=G.run.bind(G),te=b.job=G.runIfDirty.bind(G);te.i=b,te.id=b.uid,G.scheduler=()=>Ba(te),hn(b,!0),H()},q=(b,T,k)=>{T.component=b;const V=b.vnode.props;b.vnode=T,b.next=null,Wm(b,T.props,V,k),Km(b,T.children,k),an(),Ol(b),ln()},W=(b,T,k,V,N,$,K,z,G=!1)=>{const H=b&&b.children,te=b?b.shapeFlag:0,X=T.children,{patchFlag:Z,shapeFlag:re}=T;if(Z>0){if(Z&128){ye(H,X,k,V,N,$,K,z,G);return}else if(Z&256){Y(H,X,k,V,N,$,K,z,G);return}}re&8?(te&16&&Bt(H,N,$),X!==H&&u(k,X)):te&16?re&16?ye(H,X,k,V,N,$,K,z,G):Bt(H,N,$,!0):(te&8&&u(k,""),re&16&&U(X,k,V,N,$,K,z,G))},Y=(b,T,k,V,N,$,K,z,G)=>{b=b||Kn,T=T||Kn;const H=b.length,te=T.length,X=Math.min(H,te);let Z;for(Z=0;Z<X;Z++){const re=T[Z]=G?Jt(T[Z]):tt(T[Z]);m(b[Z],re,k,null,N,$,K,z,G)}H>te?Bt(b,N,$,!0,!1,X):U(T,k,V,N,$,K,z,G,X)},ye=(b,T,k,V,N,$,K,z,G)=>{let H=0;const te=T.length;let X=b.length-1,Z=te-1;for(;H<=X&&H<=Z;){const re=b[H],le=T[H]=G?Jt(T[H]):tt(T[H]);if(It(re,le))m(re,le,k,null,N,$,K,z,G);else break;H++}for(;H<=X&&H<=Z;){const re=b[X],le=T[Z]=G?Jt(T[Z]):tt(T[Z]);if(It(re,le))m(re,le,k,null,N,$,K,z,G);else break;X--,Z--}if(H>X){if(H<=Z){const re=Z+1,le=re<te?T[re].el:V;for(;H<=Z;)m(null,T[H]=G?Jt(T[H]):tt(T[H]),k,le,N,$,K,z,G),H++}}else if(H>Z)for(;H<=X;)Me(b[H],N,$,!0),H++;else{const re=H,le=H,be=new Map;for(H=le;H<=Z;H++){const Ze=T[H]=G?Jt(T[H]):tt(T[H]);Ze.key!=null&&be.set(Ze.key,H)}let he,Ye=0;const Fe=Z-le+1;let ut=!1,Qe=0;const hr=new Array(Fe);for(H=0;H<Fe;H++)hr[H]=0;for(H=re;H<=X;H++){const Ze=b[H];if(Ye>=Fe){Me(Ze,N,$,!0);continue}let _t;if(Ze.key!=null)_t=be.get(Ze.key);else for(he=le;he<=Z;he++)if(hr[he-le]===0&&It(Ze,T[he])){_t=he;break}_t===void 0?Me(Ze,N,$,!0):(hr[_t-le]=H+1,_t>=Qe?Qe=_t:ut=!0,m(Ze,T[_t],k,null,N,$,K,z,G),Ye++)}const El=ut?Ym(hr):Kn;for(he=El.length-1,H=Fe-1;H>=0;H--){const Ze=le+H,_t=T[Ze],Tl=Ze+1<te?T[Ze+1].el:V;hr[H]===0?m(null,_t,k,Tl,N,$,K,z,G):ut&&(he<0||H!==El[he]?ve(_t,k,Tl,2):he--)}}},ve=(b,T,k,V,N=null)=>{const{el:$,type:K,transition:z,children:G,shapeFlag:H}=b;if(H&6){ve(b.component.subTree,T,k,V);return}if(H&128){b.suspense.move(T,k,V);return}if(H&64){K.move(b,T,k,Vn);return}if(K===me){r($,T,k);for(let X=0;X<G.length;X++)ve(G[X],T,k,V);r(b.anchor,T,k);return}if(K===Ar){g(b,T,k);return}if(V!==2&&H&1&&z)if(V===0)z.beforeEnter($),r($,T,k),Je(()=>z.enter($),N);else{const{leave:X,delayLeave:Z,afterLeave:re}=z,le=()=>r($,T,k),be=()=>{X($,()=>{le(),re&&re()})};Z?Z($,le,be):be()}else r($,T,k)},Me=(b,T,k,V=!1,N=!1)=>{const{type:$,props:K,ref:z,children:G,dynamicChildren:H,shapeFlag:te,patchFlag:X,dirs:Z,cacheIndex:re}=b;if(X===-2&&(N=!1),z!=null&&Yo(z,null,k,b,!0),re!=null&&(T.renderCache[re]=void 0),te&256){T.ctx.deactivate(b);return}const le=te&1&&Z,be=!Rn(b);let he;if(be&&(he=K&&K.onVnodeBeforeUnmount)&&ot(he,T,b),te&6)dn(b.component,k,V);else{if(te&128){b.suspense.unmount(k,V);return}le&&bt(b,null,T,"beforeUnmount"),te&64?b.type.remove(b,T,k,Vn,V):H&&!H.hasOnce&&($!==me||X>0&&X&64)?Bt(H,T,k,!1,!0):($===me&&X&384||!N&&te&16)&&Bt(G,T,k),V&&Ft(b)}(be&&(he=K&&K.onVnodeUnmounted)||le)&&Je(()=>{he&&ot(he,T,b),le&&bt(b,null,T,"unmounted")},k)},Ft=b=>{const{type:T,el:k,anchor:V,transition:N}=b;if(T===me){gt(k,V);return}if(T===Ar){w(b);return}const $=()=>{o(k),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(b.shapeFlag&1&&N&&!N.persisted){const{leave:K,delayLeave:z}=N,G=()=>K(k,$);z?z(b.el,$,G):G()}else $()},gt=(b,T)=>{let k;for(;b!==T;)k=d(b),o(b),b=k;o(T)},dn=(b,T,k)=>{const{bum:V,scope:N,job:$,subTree:K,um:z,m:G,a:H}=b;Wl(G),Wl(H),V&&No(V),N.stop(),$&&($.flags|=8,Me(K,b,T,k)),z&&Je(z,T),Je(()=>{b.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},Bt=(b,T,k,V=!1,N=!1,$=0)=>{for(let K=$;K<b.length;K++)Me(b[K],T,k,V,N)},jt=b=>{if(b.shapeFlag&6)return jt(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const T=d(b.anchor||b.el),k=T&&T[sf];return k?d(k):T};let pn=!1;const wl=(b,T,k)=>{b==null?T._vnode&&Me(T._vnode,null,null,!0):m(T._vnode||null,b,T,null,null,null,k),T._vnode=b,pn||(pn=!0,Ol(),Jo(),pn=!1)},Vn={p:m,um:Me,m:ve,r:Ft,mt:x,mc:U,pc:W,pbc:S,n:jt,o:e};let Qi,Zi;return t&&([Qi,Zi]=t(Vn)),{render:wl,hydrate:Qi,createApp:jm(wl,Qi)}}function as({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 hn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Of(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qa(e,t,n=!1){const r=e.children,o=t.children;if(ee(r)&&ee(o))for(let i=0;i<r.length;i++){const s=r[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=Jt(o[i]),a.el=s.el),!n&&a.patchFlag!==-2&&qa(s,a)),a.type===Ln&&(a.el=s.el)}}function Ym(e){const t=e.slice(),n=[0];let r,o,i,s,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(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<c?i=a+1:s=a;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function If(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:If(t)}function Wl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Qm=Symbol.for("v-scx"),Zm=()=>Qn(Qm);function eg(e,t){return Ka(e,null,t)}function Yt(e,t,n){return Ka(e,t,n)}function Ka(e,t,n=_e){const{immediate:r,deep:o,flush:i,once:s}=n,a=Oe({},n);let l;if(ro)if(i==="sync"){const d=Zm();l=d.__watcherHandles||(d.__watcherHandles=[])}else if(!t||r)a.once=!0;else{const d=()=>{};return d.stop=wt,d.resume=wt,d.pause=wt,d}const c=Ne;a.call=(d,p,h)=>mt(d,c,p,h);let u=!1;i==="post"?a.scheduler=d=>{Je(d,c&&c.suspense)}:i!=="sync"&&(u=!0,a.scheduler=(d,p)=>{p?d():Ba(d)}),a.augmentJob=d=>{t&&(d.flags|=4),u&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const f=am(e,t,a);return l&&l.push(f),f}function tg(e,t,n){const r=this.proxy,o=Te(e)?e.includes(".")?Nf(r,e):()=>r[e]:e.bind(r,r);let i;ne(t)?i=t:(i=t.handler,n=t);const s=In(this),a=Ka(o,i.bind(r),n);return s(),a}function Nf(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}}const ng=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${at(t)}Modifiers`]||e[`${sn(t)}Modifiers`];function rg(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||_e;let o=n;const i=t.startsWith("update:"),s=i&&ng(r,t.slice(7));s&&(s.trim&&(o=n.map(u=>Te(u)?u.trim():u)),s.number&&(o=n.map(yh)));let a,l=r[a=es(t)]||r[a=es(at(t))];!l&&i&&(l=r[a=es(sn(t))]),l&&mt(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,mt(c,e,6,o)}}function Df(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!ne(e)){const l=c=>{const u=Df(c,t,!0);u&&(a=!0,Oe(s,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(ge(e)&&r.set(e,null),null):(ee(i)?i.forEach(l=>s[l]=null):Oe(s,i),ge(e)&&r.set(e,s),s)}function Vi(e,t){return!e||!Zr(t)?!1:(t=t.slice(2).replace(/Once$/,""),de(e,t[0].toLowerCase()+t.slice(1))||de(e,sn(t))||de(e,t))}function ls(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e,_=Xo(e);let v,E;try{if(n.shapeFlag&4){const w=o||r,C=w;v=tt(c.call(C,w,u,f,p,d,h)),E=a}else{const w=t;v=tt(w.length>1?w(f,{attrs:a,slots:s,emit:l}):w(f,null)),E=t.props?a:ig(a)}}catch(w){xr.length=0,fr(w,e,1),v=J(lt)}let g=v;if(E&&m!==!1){const w=Object.keys(E),{shapeFlag:C}=g;w.length&&C&7&&(i&&w.some(Sa)&&(E=sg(E,i)),g=On(g,E,!1,!0))}return n.dirs&&(g=On(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&jr(g,n.transition),v=g,Xo(_),v}function og(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(or(o)){if(o.type!==lt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const ig=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zr(n))&&((t||(t={}))[n]=e[n]);return t},sg=(e,t)=>{const n={};for(const r in e)(!Sa(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ag(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Gl(r,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(s[d]!==r[d]&&!Vi(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?Gl(r,s,c):!0:!!s;return!1}function Gl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Vi(n,i))return!0}return!1}function Ja({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 $f=e=>e.__isSuspense;let Hs=0;const lg={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,c){if(e==null)ug(t,n,r,o,i,s,a,l,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}fg(e,t,n,r,o,s,a,l,c)}},hydrate:dg,normalize:pg},cg=lg;function Ur(e,t){const n=e.props&&e.props[t];ne(n)&&n()}function ug(e,t,n,r,o,i,s,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=Mf(e,o,r,t,f,n,i,s,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,i,s),d.deps>0?(Ur(e,"onPending"),Ur(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),Zn(d,e.ssFallback)):d.resolve(!1,!0)}function fg(e,t,n,r,o,i,s,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:_,isHydrating:v}=f;if(m)f.pendingBranch=d,It(d,m)?(l(m,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():_&&(v||(l(h,p,n,r,o,null,i,s,a),Zn(f,p)))):(f.pendingId=Hs++,v?(f.isHydrating=!1,f.activeBranch=m):c(m,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),_?(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():(l(h,p,n,r,o,null,i,s,a),Zn(f,p))):h&&It(d,h)?(l(h,d,n,r,o,f,i,s,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0&&f.resolve()));else if(h&&It(d,h))l(h,d,n,r,o,f,i,s,a),Zn(f,d);else if(Ur(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Hs++,l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:E,pendingId:g}=f;E>0?setTimeout(()=>{f.pendingId===g&&f.fallback(p)},E):E===0&&f.fallback(p)}}function Mf(e,t,n,r,o,i,s,a,l,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:m,remove:_}}=c;let v;const E=hg(e);E&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const g=e.props?Ou(e.props.timeout):void 0,w=i,C={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:Hs++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(R=!1,I=!1){const{vnode:U,activeBranch:L,pendingBranch:S,pendingId:O,effects:P,parentComponent:A,container:x}=C;let B=!1;C.isHydrating?C.isHydrating=!1:R||(B=L&&S.transition&&S.transition.mode==="out-in",B&&(L.transition.afterLeave=()=>{O===C.pendingId&&(d(S,x,i===w?h(L):i,0),Os(P))}),L&&(m(L.el)===x&&(i=h(L)),p(L,A,C,!0)),B||d(S,x,i,0)),Zn(C,S),C.pendingBranch=null,C.isInFallback=!1;let D=C.parent,q=!1;for(;D;){if(D.pendingBranch){D.effects.push(...P),q=!0;break}D=D.parent}!q&&!B&&Os(P),C.effects=[],E&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!I&&t.resolve()),Ur(U,"onResolve")},fallback(R){if(!C.pendingBranch)return;const{vnode:I,activeBranch:U,parentComponent:L,container:S,namespace:O}=C;Ur(I,"onFallback");const P=h(U),A=()=>{C.isInFallback&&(f(null,R,S,P,L,null,O,a,l),Zn(C,R))},x=R.transition&&R.transition.mode==="out-in";x&&(U.transition.afterLeave=A),C.isInFallback=!0,p(U,L,null,!0),x||A()},move(R,I,U){C.activeBranch&&d(C.activeBranch,R,I,U),C.container=R},next(){return C.activeBranch&&h(C.activeBranch)},registerDep(R,I,U){const L=!!C.pendingBranch;L&&C.deps++;const S=R.vnode.el;R.asyncDep.catch(O=>{fr(O,R,0)}).then(O=>{if(R.isUnmounted||C.isUnmounted||C.pendingId!==R.suspenseId)return;R.asyncResolved=!0;const{vnode:P}=R;js(R,O,!1),S&&(P.el=S);const A=!S&&R.subTree.el;I(R,P,m(S||R.subTree.el),S?null:h(R.subTree),C,s,U),A&&_(A),Ja(R,P.el),L&&--C.deps===0&&C.resolve()})},unmount(R,I){C.isUnmounted=!0,C.activeBranch&&p(C.activeBranch,n,R,I),C.pendingBranch&&p(C.pendingBranch,n,R,I)}};return C}function dg(e,t,n,r,o,i,s,a,l){const c=t.suspense=Mf(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function pg(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=zl(r?n.default:n),e.ssFallback=r?zl(n.fallback):J(lt)}function zl(e){let t;if(ne(e)){const n=rr&&e._c;n&&(e._d=!1,j()),e=e(),n&&(e._d=!0,t=Xe,Hf())}return ee(e)&&(e=og(e)),e=tt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Vf(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):Os(e)}function Zn(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,Ja(r,o))}function hg(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const me=Symbol.for("v-fgt"),Ln=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),Ar=Symbol.for("v-stc"),xr=[];let Xe=null;function j(e=!1){xr.push(Xe=e?null:[])}function Hf(){xr.pop(),Xe=xr[xr.length-1]||null}let rr=1;function ql(e){rr+=e,e<0&&Xe&&(Xe.hasOnce=!0)}function Ff(e){return e.dynamicChildren=rr>0?Xe||Kn:null,Hf(),rr>0&&Xe&&Xe.push(e),e}function Q(e,t,n,r,o,i){return Ff(M(e,t,n,r,o,i,!0))}function pe(e,t,n,r,o){return Ff(J(e,t,n,r,o,!0))}function or(e){return e?e.__v_isVNode===!0:!1}function It(e,t){return e.type===t.type&&e.key===t.key}const Bf=({key:e})=>e??null,$o=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Te(e)||He(e)||ne(e)?{i:De,r:e,k:t,f:!!n}:e:null);function M(e,t=null,n=null,r=0,o=null,i=e===me?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bf(t),ref:t&&$o(t),scopeId:Di,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:De};return a?(Ya(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Te(n)?8:16),rr>0&&!s&&Xe&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Xe.push(l),l}const J=mg;function mg(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===hf)&&(e=lt),or(e)){const a=On(e,t,!0);return n&&Ya(a,n),rr>0&&!i&&Xe&&(a.shapeFlag&6?Xe[Xe.indexOf(e)]=a:Xe.push(a)),a.patchFlag=-2,a}if(Sg(e)&&(e=e.__vccOpts),t){t=Xa(t);let{class:a,style:l}=t;a&&!Te(a)&&(t.class=Ae(a)),ge(l)&&(Va(l)&&!ee(l)&&(l=Oe({},l)),t.style=Dt(l))}const s=Te(e)?1:$f(e)?128:pm(e)?64:ge(e)?4:ne(e)?2:0;return M(e,t,n,r,o,s,i,!0)}function Xa(e){return e?Va(e)||Cf(e)?Oe({},e):e:null}function On(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,c=t?un(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Bf(c),ref:t&&t.ref?n&&i?ee(i)?i.concat($o(t)):[i,$o(t)]:$o(t):i,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!==me?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&On(e.ssContent),ssFallback:e.ssFallback&&On(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&jr(u,l.clone(u)),u}function ue(e=" ",t=0){return J(Ln,null,e,t)}function gg(e,t){const n=J(Ar,null,e);return n.staticCount=t,n}function Ce(e="",t=!1){return t?(j(),pe(lt,null,e)):J(lt,null,e)}function tt(e){return e==null||typeof e=="boolean"?J(lt):ee(e)?J(me,null,e.slice()):or(e)?Jt(e):J(Ln,null,String(e))}function Jt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:On(e)}function Ya(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Ya(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Cf(t)?t._ctx=De:o===3&&De&&(De.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:De},n=32):(t=String(t),r&64?(n=16,t=[ue(t)]):n=8);e.children=t,e.shapeFlag|=n}function un(...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=Ae([t.class,r.class]));else if(o==="style")t.style=Dt([t.style,r.style]);else if(Zr(o)){const i=t[o],s=r[o];s&&i!==s&&!(ee(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function ot(e,t,n,r=null){mt(e,t,7,[n,r])}const _g=vf();let yg=0;function vg(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||_g,i={uid:yg++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Vu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Af(r,o),emitsOptions:Df(r,o),emit:null,emitted:null,propsDefaults:_e,inheritAttrs:r.inheritAttrs,ctx:_e,data:_e,props:_e,attrs:_e,slots:_e,refs:_e,setupState:_e,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=rg.bind(null,i),e.ce&&e.ce(i),i}let Ne=null;const no=()=>Ne||De;let Zo,Fs;{const e=Iu(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};Zo=t("__VUE_INSTANCE_SETTERS__",n=>Ne=n),Fs=t("__VUE_SSR_SETTERS__",n=>ro=n)}const In=e=>{const t=Ne;return Zo(e),e.scope.on(),()=>{e.scope.off(),Zo(t)}},Bs=()=>{Ne&&Ne.scope.off(),Zo(null)};function jf(e){return e.vnode.shapeFlag&4}let ro=!1;function bg(e,t=!1,n=!1){t&&Fs(t);const{props:r,children:o}=e.vnode,i=jf(e);Um(e,r,i,t),qm(e,o,n);const s=i?wg(e,t):void 0;return t&&Fs(!1),s}function wg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Nm);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Tg(e):null,i=In(e);an();const s=to(r,e,0,[e.props,o]);if(ln(),i(),xa(s)){if(Rn(e)||ja(e),s.then(Bs,Bs),t)return s.then(a=>{js(e,a,t)}).catch(a=>{fr(a,e,0)});e.asyncDep=s}else js(e,s,t)}else Uf(e,t)}function js(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ge(t)&&(e.setupState=ef(t)),Uf(e,n)}let Kl;function Uf(e,t,n){const r=e.type;if(!e.render){if(!t&&Kl&&!r.render){const o=r.template||Ga(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Oe(Oe({isCustomElement:i,delimiters:a},s),l);r.render=Kl(o,c)}}e.render=r.render||wt}{const o=In(e);an();try{$m(e)}finally{ln(),o()}}}const Eg={get(e,t){return Ue(e,"get",""),e[t]}};function Tg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Eg),slots:e.slots,emit:e.emit,expose:t}}function Hi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ef(Xh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Sr)return Sr[n](e)},has(t,n){return n in t||n in Sr}})):e.proxy}function Cg(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function Sg(e){return ne(e)&&"__vccOpts"in e}const Pe=(e,t)=>im(e,t,ro);function ir(e,t,n){const r=arguments.length;return r===2?ge(t)&&!ee(t)?or(t)?J(e,null,[t]):J(e,t):J(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&or(n)&&(n=[n]),J(e,t,n))}const Wf="3.5.10";/**
16
+ * @vue/runtime-dom v3.5.10
17
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
18
+ * @license MIT
19
+ **/let Us;const Jl=typeof window<"u"&&window.trustedTypes;if(Jl)try{Us=Jl.createPolicy("vue",{createHTML:e=>e})}catch{}const Gf=Us?e=>Us.createHTML(e):e=>e,Ag="http://www.w3.org/2000/svg",xg="http://www.w3.org/1998/Math/MathML",kt=typeof document<"u"?document:null,Xl=kt&&kt.createElement("template"),Pg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?kt.createElementNS(Ag,e):t==="mathml"?kt.createElementNS(xg,e):n?kt.createElement(e,{is:n}):kt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>kt.createTextNode(e),createComment:e=>kt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>kt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Xl.innerHTML=Gf(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Xl.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[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Wt="transition",gr="animation",sr=Symbol("_vtc"),zf={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},Rg=Oe({},vm,zf),mn=(e,t=[])=>{ee(e)?e.forEach(n=>n(...t)):e&&e(...t)},Yl=e=>e?ee(e)?e.some(t=>t.length>1):e.length>1:!1;function kg(e){const t={};for(const P in e)P in zf||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Lg(o),m=h&&h[0],_=h&&h[1],{onBeforeEnter:v,onEnter:E,onEnterCancelled:g,onLeave:w,onLeaveCancelled:C,onBeforeAppear:R=v,onAppear:I=E,onAppearCancelled:U=g}=t,L=(P,A,x)=>{Gt(P,A?u:a),Gt(P,A?c:s),x&&x()},S=(P,A)=>{P._isLeaving=!1,Gt(P,f),Gt(P,p),Gt(P,d),A&&A()},O=P=>(A,x)=>{const B=P?I:E,D=()=>L(A,P,x);mn(B,[A,D]),Ql(()=>{Gt(A,P?l:i),Rt(A,P?u:a),Yl(B)||Zl(A,r,m,D)})};return Oe(t,{onBeforeEnter(P){mn(v,[P]),Rt(P,i),Rt(P,s)},onBeforeAppear(P){mn(R,[P]),Rt(P,l),Rt(P,c)},onEnter:O(!1),onAppear:O(!0),onLeave(P,A){P._isLeaving=!0;const x=()=>S(P,A);Rt(P,f),Rt(P,d),Kf(),Ql(()=>{P._isLeaving&&(Gt(P,f),Rt(P,p),Yl(w)||Zl(P,r,_,x))}),mn(w,[P,x])},onEnterCancelled(P){L(P,!1),mn(g,[P])},onAppearCancelled(P){L(P,!0),mn(U,[P])},onLeaveCancelled(P){S(P),mn(C,[P])}})}function Lg(e){if(e==null)return null;if(ge(e))return[cs(e.enter),cs(e.leave)];{const t=cs(e);return[t,t]}}function cs(e){return Ou(e)}function Rt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[sr]||(e[sr]=new Set)).add(t)}function Gt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[sr];n&&(n.delete(t),n.size||(e[sr]=void 0))}function Ql(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Og=0;function Zl(e,t,n,r){const o=e._endId=++Og,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=qf(e,t);if(!s)return r();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),i()},d=p=>{p.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function qf(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Wt}Delay`),i=r(`${Wt}Duration`),s=ec(o,i),a=r(`${gr}Delay`),l=r(`${gr}Duration`),c=ec(a,l);let u=null,f=0,d=0;t===Wt?s>0&&(u=Wt,f=s,d=i.length):t===gr?c>0&&(u=gr,f=c,d=l.length):(f=Math.max(s,c),u=f>0?s>c?Wt:gr:null,d=u?u===Wt?i.length:l.length:0);const p=u===Wt&&/\b(transform|all)(,|$)/.test(r(`${Wt}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function ec(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>tc(n)+tc(e[r])))}function tc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Kf(){return document.body.offsetHeight}function Ig(e,t,n){const r=e[sr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ei=Symbol("_vod"),Jf=Symbol("_vsh"),Ng={beforeMount(e,{value:t},{transition:n}){e[ei]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):_r(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),_r(e,!0),r.enter(e)):r.leave(e,()=>{_r(e,!1)}):_r(e,t))},beforeUnmount(e,{value:t}){_r(e,t)}};function _r(e,t){e.style.display=t?e[ei]:"none",e[Jf]=!t}const Dg=Symbol(""),$g=/(^|;)\s*display\s*:/;function Mg(e,t,n){const r=e.style,o=Te(n);let i=!1;if(n&&!o){if(t)if(Te(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&Mo(r,a,"")}else for(const s in t)n[s]==null&&Mo(r,s,"");for(const s in n)s==="display"&&(i=!0),Mo(r,s,n[s])}else if(o){if(t!==n){const s=r[Dg];s&&(n+=";"+s),r.cssText=n,i=$g.test(n)}}else t&&e.removeAttribute("style");ei in e&&(e[ei]=i?r.display:"",e[Jf]&&(r.display="none"))}const nc=/\s*!important$/;function Mo(e,t,n){if(ee(n))n.forEach(r=>Mo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Vg(e,t);nc.test(n)?e.setProperty(sn(r),n.replace(nc,""),"important"):e[r]=n}}const rc=["Webkit","Moz","ms"],us={};function Vg(e,t){const n=us[t];if(n)return n;let r=at(t);if(r!=="filter"&&r in e)return us[t]=r;r=Oi(r);for(let o=0;o<rc.length;o++){const i=rc[o]+r;if(i in e)return us[t]=i}return t}const oc="http://www.w3.org/1999/xlink";function ic(e,t,n,r,o,i=Ch(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(oc,t.slice(6,t.length)):e.setAttributeNS(oc,t,n):n==null||i&&!Du(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ct(n)?String(n):n)}function sc(e,t,n,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Gf(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const s=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(s!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=Du(n):n==null&&s==="string"?(n="",i=!0):s==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function Xf(e,t,n,r){e.addEventListener(t,n,r)}function Hg(e,t,n,r){e.removeEventListener(t,n,r)}const ac=Symbol("_vei");function Fg(e,t,n,r,o=null){const i=e[ac]||(e[ac]={}),s=i[t];if(r&&s)s.value=r;else{const[a,l]=Bg(t);if(r){const c=i[t]=Wg(r,o);Xf(e,a,c,l)}else s&&(Hg(e,a,s,l),i[t]=void 0)}}const lc=/(?:Once|Passive|Capture)$/;function Bg(e){let t;if(lc.test(e)){t={};let r;for(;r=e.match(lc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):sn(e.slice(2)),t]}let fs=0;const jg=Promise.resolve(),Ug=()=>fs||(jg.then(()=>fs=0),fs=Date.now());function Wg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;mt(Gg(r,n.value),t,5,[r])};return n.value=e,n.attached=Ug(),n}function Gg(e,t){if(ee(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 cc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,zg=(e,t,n,r,o,i)=>{const s=o==="svg";t==="class"?Ig(e,r,s):t==="style"?Mg(e,n,r):Zr(t)?Sa(t)||Fg(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qg(e,t,r,s))?(sc(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ic(e,t,r,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Te(r))?sc(e,at(t),r):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ic(e,t,r,s))};function qg(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&cc(t)&&ne(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 cc(t)&&Te(n)?!1:t in e}const Yf=new WeakMap,Qf=new WeakMap,ti=Symbol("_moveCb"),uc=Symbol("_enterCb"),Kg=e=>(delete e.props.mode,e),Jg=Kg({name:"TransitionGroup",props:Oe({},Rg,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=no(),r=ym();let o,i;return uf(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!e_(o[0].el,n.vnode.el,s))return;o.forEach(Yg),o.forEach(Qg);const a=o.filter(Zg);Kf(),a.forEach(l=>{const c=l.el,u=c.style;Rt(c,s),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[ti]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[ti]=null,Gt(c,s))};c.addEventListener("transitionend",f)})}),()=>{const s=fe(e),a=kg(s);let l=s.tag||me;if(o=[],i)for(let c=0;c<i.length;c++){const u=i[c];u.el&&u.el instanceof Element&&(o.push(u),jr(u,Ns(u,a,r,n)),Yf.set(u,u.el.getBoundingClientRect()))}i=t.default?lf(t.default()):[];for(let c=0;c<i.length;c++){const u=i[c];u.key!=null&&jr(u,Ns(u,a,r,n))}return J(l,null,i)}}}),Xg=Jg;function Yg(e){const t=e.el;t[ti]&&t[ti](),t[uc]&&t[uc]()}function Qg(e){Qf.set(e,e.el.getBoundingClientRect())}function Zg(e){const t=Yf.get(e),n=Qf.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${o}px)`,i.transitionDuration="0s",e}}function e_(e,t,n){const r=e.cloneNode(),o=e[sr];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 i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=qf(r);return i.removeChild(r),s}const fc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ee(t)?n=>No(t,n):t},ds=Symbol("_assign"),t_={created(e,{value:t},n){e.checked=zo(t,n.props.value),e[ds]=fc(n),Xf(e,"change",()=>{e[ds](n_(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ds]=fc(r),t!==n&&(e.checked=zo(t,r.props.value))}};function n_(e){return"_value"in e?e._value:e.value}const r_=["ctrl","shift","alt","meta"],o_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>r_.some(n=>e[`${n}Key`]&&!t.includes(n))},i_=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...i)=>{for(let s=0;s<t.length;s++){const a=o_[t[s]];if(a&&a(o,t))return}return e(o,...i)})},s_={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},a_=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=sn(o.key);if(t.some(s=>s===i||s_[s]===i))return e(o)})},Zf=Oe({patchProp:zg},Pg);let Pr,dc=!1;function l_(){return Pr||(Pr=Jm(Zf))}function c_(){return Pr=dc?Pr:Xm(Zf),dc=!0,Pr}const ed=(...e)=>{const t=l_().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=nd(r);if(!o)return;const i=t._component;!ne(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,td(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},u_=(...e)=>{const t=c_().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=nd(r);if(o)return n(o,!0,td(o))},t};function td(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function nd(e){return Te(e)?document.querySelector(e):e}const f_=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,d_=/"(?: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*:/,p_=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function h_(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){m_(e);return}return t}function m_(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ni(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(!p_.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(f_.test(e)||d_.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,h_)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const g_=/#/g,__=/&/g,y_=/\//g,v_=/=/g,Qa=/\+/g,b_=/%5e/gi,w_=/%60/gi,E_=/%7c/gi,T_=/%20/gi;function C_(e){return encodeURI(""+e).replace(E_,"|")}function Ws(e){return C_(typeof e=="string"?e:JSON.stringify(e)).replace(Qa,"%2B").replace(T_,"+").replace(g_,"%23").replace(__,"%26").replace(w_,"`").replace(b_,"^").replace(y_,"%2F")}function ps(e){return Ws(e).replace(v_,"%3D")}function ri(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function S_(e){return ri(e.replace(Qa," "))}function A_(e){return ri(e.replace(Qa," "))}function Fi(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=S_(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=A_(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function x_(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ps(e)}=${Ws(n)}`).join("&"):`${ps(e)}=${Ws(t)}`:ps(e)}function rd(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>x_(t,e[t])).filter(Boolean).join("&")}const P_=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,R_=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,k_=/^([/\\]\s*){2,}[^/\\]/,L_=/^[\s\0]*(blob|data|javascript|vbscript):$/i,O_=/\/$|\/\?|\/#/,I_=/^\.?\//;function fn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?P_.test(e):R_.test(e)||(t.acceptRelative?k_.test(e):!1)}function N_(e){return!!e&&L_.test(e)}function Gs(e="",t){return t?O_.test(e):e.endsWith("/")}function Bi(e="",t){if(!t)return(Gs(e)?e.slice(0,-1):e)||"/";if(!Gs(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function oi(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Gs(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function D_(e=""){return e.startsWith("/")}function pc(e=""){return D_(e)?e:"/"+e}function $_(e,t){if(id(t)||fn(e))return e;const n=Bi(t);return e.startsWith(n)?e:oo(n,e)}function M_(e,t){if(id(t))return e;const n=Bi(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function od(e,t){const n=Za(e),r={...Fi(n.search),...t};return n.search=rd(r),ld(n)}function V_(e){return Fi(Za(e).search)}function id(e){return!e||e==="/"}function H_(e){return e&&e!=="/"}function oo(e,...t){let n=e||"";for(const r of t.filter(o=>H_(o)))if(n){const o=r.replace(I_,"");n=oi(n)+o}else n=r;return n}function sd(...e){var s,a,l,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&fn(r[0]))continue;r.pop(),o--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),o++}}let i=r.join("/");return o>=0?(a=n[0])!=null&&a.startsWith("/")&&!i.startsWith("/")?i="/"+i:(l=n[0])!=null&&l.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,(c=n[n.length-1])!=null&&c.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function F_(e,t,n={}){return n.trailingSlash||(e=oi(e),t=oi(t)),n.leadingSlash||(e=pc(e),t=pc(t)),n.encoding||(e=ri(e),t=ri(t)),e===t}const ad=Symbol.for("ufo:protocolRelative");function Za(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!fn(e,{acceptRelative:!0}))return t?Za(t+e):hc(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=hc(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:l,search:c,hash:u,[ad]:!r}}function hc(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function ld(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[ad]?(e.protocol||"")+"//":"")+o+i+t+n+r}class B_ extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function j_(e){var l,c,u,f,d;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,a=new B_(s,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(a,p,{get(){return e[p]}});for(const[p,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,p,{get(){return e.response&&e.response[h]}});return a}const U_=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function mc(e="GET"){return U_.has(e.toUpperCase())}function W_(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 G_=new Set(["image/svg","application/xml","application/xhtml","application/html"]),z_=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function q_(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return z_.test(t)?"json":G_.has(t)||t.startsWith("text/")?"text":"blob"}function K_(e,t,n,r){const o=J_((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let i;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(i={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:i,params:i,headers:o}}function J_(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,i);return r}async function bo(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const X_=new Set([408,409,425,429,500,502,503,504]),Y_=new Set([101,204,205,304]);function cd(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 u;typeof a.options.retry=="number"?u=a.options.retry:u=mc(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):X_.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(a.request,{...a.options,retry:u-1})}}const c=j_(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(l,c={}){const u={request:l,options:K_(l,c,e.defaults,n),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await bo(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=$_(u.request,u.options.baseURL)),u.options.query&&(u.request=od(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&mc(u.options.method)&&(W_(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const p=new r;f=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,p.abort(h)},u.options.timeout),u.options.signal=p.signal}try{u.response=await t(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await bo(u,u.options.onRequestError),await o(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!Y_.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||q_(u.response.headers.get("content-type")||"");switch(p){case"json":{const h=await u.response.text(),m=u.options.parseResponse||ni;u.response._data=m(h);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await bo(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await bo(u,u.options.onResponseError),await o(u)):u.response},s=async function(l,c){return(await i(l,c))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={},l={})=>cd({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),s}const ii=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")}(),Q_=ii.fetch?(...e)=>ii.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Z_=ii.Headers,e0=ii.AbortController,t0=cd({fetch:Q_,Headers:Z_,AbortController:e0}),n0=t0,r0=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},si=r0().app,o0=()=>si.baseURL,i0=()=>si.buildAssetsDir,el=(...e)=>sd(ud(),i0(),...e),ud=(...e)=>{const t=si.cdnURL||si.baseURL;return e.length?sd(t,...e):t};globalThis.__buildAssetsURL=el,globalThis.__publicAssetsURL=ud;globalThis.$fetch||(globalThis.$fetch=n0.create({baseURL:o0()}));function zs(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?zs(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const s0={run:e=>e()},a0=()=>s0,fd=typeof console.createTask<"u"?console.createTask:a0;function l0(e,t){const n=t.shift(),r=fd(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function c0(e,t){const n=t.shift(),r=fd(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function hs(e,t){for(const n of[...e])n(t)}class u0{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=zs(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=zs(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(l0,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(c0,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&hs(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&hs(this._after,o)}):(this._after&&o&&hs(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function dd(){return new u0}function f0(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&t===void 0){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,a)=>{r(s),t=s;try{return o?o.run(s,a):a()}finally{n||(t=void 0)}},async callAsync(s,a){t=s;const l=()=>{t=s},c=()=>t===s?l:void 0;qs.add(c);try{const u=o?o.run(s,a):a();return n||(t=void 0),await u}finally{qs.delete(c)}}}}function d0(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=f0({...e,...r})),t[n],t[n]}}}const ai=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},gc="__unctx__",p0=ai[gc]||(ai[gc]=d0()),h0=(e,t={})=>p0.get(e,t),_c="__unctx_async_handlers__",qs=ai[_c]||(ai[_c]=new Set);function pd(e){const t=[];for(const o of qs){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const m0={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},g0=null,_0="#__nuxt",hd="nuxt-app",yc=36e5,y0="vite:preloadError";function md(e=hd){return h0(e,{asyncContext:!1})}const v0="__nuxt_plugin";function b0(e){var o;let t=0;const n={_id:e.id||hd||"nuxt-app",_scope:Ah(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.14.1592"},get vue(){return n.vueApp.version}},payload:Cn({...((o=e.ssrContext)==null?void 0:o.payload)||{},data:Cn({}),state:nn({}),once:new Set,_errors:Cn({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!Ra()?n._scope.run(()=>vc(n,i)):vc(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let i=!1;return()=>{if(!i&&(i=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Cn({}),_payloadRevivers:{},...e};{const i=window.__NUXT__;if(i)for(const s in i)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],i[s]);break;default:n.payload[s]=i[s]}}n.hooks=dd(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,s)=>{const a="$"+i;wo(n,a,s),wo(n.vueApp.config.globalProperties,a,s)},wo(n.vueApp,"$nuxt",n),wo(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(y0,s=>{n.callHook("app:chunkError",{error:s.payload}),(n.isHydrating||s.payload.message.includes("Unable to preload CSS"))&&s.preventDefault()}),window.useNuxtApp=window.useNuxtApp||Ie;const i=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",i)}const r=n.payload.config;return n.provide("config",r),n}function w0(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function E0(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 T0(e,t){const n=[],r=[],o=[],i=[];let s=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),l]);else{const f=E0(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([d,p])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(s++,await a(p)))})))});l.parallel?o.push(f.catch(d=>i.push(d))):await f}}for(const l of t)w0(e,l);for(const l of t)await a(l);if(await Promise.all(o),s)for(let l=0;l<s;l++)await Promise.all(o);if(i.length)throw i[0]}function xt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[v0]:!0,_name:t})}function vc(e,t,n){const r=()=>t();return md(e._id).set(e),e.vueApp.runWithContext(r)}function C0(e){var n;let t;return wf()&&(t=(n=no())==null?void 0:n.appContext.app.$nuxt),t=t||md(e).tryUse(),t||null}function Ie(e){const t=C0(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function ar(e){return Ie().$config}function wo(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function S0(e,t){return{ctx:{table:e},matchAll:n=>_d(n,e)}}function gd(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,gd(o)])):new Map(Object.entries(e[n]));return t}function A0(e){return S0(gd(e))}function _d(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of bc(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of bc(t.dynamic))if(e.startsWith(i+"/")){const a="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(..._d(a,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function bc(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ms(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 Ks(e,t,n=".",r){if(!ms(t))return Ks(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:ms(s)&&ms(o[i])?o[i]=Ks(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function x0(e){return(...t)=>t.reduce((n,r)=>Ks(n,r,"",e),{})}const P0=x0();function R0(e,t){try{return t in e}catch{return!1}}var k0=Object.defineProperty,L0=(e,t,n)=>t in e?k0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bn=(e,t,n)=>(L0(e,typeof t!="symbol"?t+"":t,n),n);class Js extends Error{constructor(t,n={}){super(t,n),bn(this,"statusCode",500),bn(this,"fatal",!1),bn(this,"unhandled",!1),bn(this,"statusMessage"),bn(this,"data"),bn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Xs(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=yd(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}bn(Js,"__h3_error__",!0);function O0(e){if(typeof e=="string")return new Js(e);if(I0(e))return e;const t=new Js(e.message??e.statusMessage??"",{cause:e.cause||e});if(R0(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=Xs(e.statusCode,t.statusCode):e.status&&(t.statusCode=Xs(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;yd(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 I0(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const N0=/[^\u0009\u0020-\u007E]/g;function yd(e=""){return e.replace(N0,"")}function Xs(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const vd=Symbol("route"),St=()=>{var e;return(e=Ie())==null?void 0:e.$router},bd=()=>wf()?Qn(vd,Ie()._route):Ie()._route;const D0=()=>{try{if(Ie()._processingMiddleware)return!0}catch{return!1}return!1},wd=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Ys(e):St().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const r=fn(n,{acceptRelative:!0}),o=(t==null?void 0:t.external)||r;if(o){if(!(t!=null&&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&&N_(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const i=D0();if(!o&&i)return e;const s=St(),a=Ie();return o?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)};function Ys(e){return od(e.path||"",e.query||{})+(e.hash||"")}const Ed="__nuxt_error",tl=()=>nm(Ie().payload,"error"),$0=e=>{const t=nl(e);try{const n=Ie(),r=tl();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},M0=async(e={})=>{const t=Ie(),n=tl();t.callHook("app:error:cleared",e),e.redirect&&await St().replace(e.redirect),n.value=g0},V0=e=>!!e&&typeof e=="object"&&Ed in e,nl=e=>{const t=O0(e);return Object.defineProperty(t,Ed,{value:!0,configurable:!1,writable:!1}),t};function wc(e){const t=F0(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let o=0;o<n.byteLength;o++)r.setUint8(o,t.charCodeAt(o));return n}const H0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function F0(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let o=0;o<e.length;o++)n<<=6,n|=H0.indexOf(e[o]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const B0=-1,j0=-2,U0=-3,W0=-4,G0=-5,z0=-6;function q0(e,t){return K0(JSON.parse(e),t)}function K0(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(i,s=!1){if(i===B0)return;if(i===U0)return NaN;if(i===W0)return 1/0;if(i===G0)return-1/0;if(i===z0)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t==null?void 0:t[l];if(c)return r[i]=c(o(a[1]));switch(l){case"Date":r[i]=new Date(a[1]);break;case"Set":const u=new Set;r[i]=u;for(let p=1;p<a.length;p+=1)u.add(o(a[p]));break;case"Map":const f=new Map;r[i]=f;for(let p=1;p<a.length;p+=2)f.set(o(a[p]),o(a[p+1]));break;case"RegExp":r[i]=new RegExp(a[1],a[2]);break;case"Object":r[i]=Object(a[1]);break;case"BigInt":r[i]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let p=1;p<a.length;p+=2)d[a[p]]=o(a[p+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const p=globalThis[l],h=a[1],m=wc(h),_=new p(m);r[i]=_;break}case"ArrayBuffer":{const p=a[1],h=wc(p);r[i]=h;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[i]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==j0&&(l[c]=o(u))}}else{const l={};r[i]=l;for(const c in a){const u=a[c];l[c]=o(u)}}return r[i]}return o(0)}const J0=new Set(["title","titleTemplate","script","style","noscript"]),Vo=new Set(["base","meta","link","style","script","noscript"]),X0=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Y0=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Td=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Q0=typeof window<"u";function li(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 Qs(e){if(e._h)return e._h;if(e._d)return li(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return li(t)}function Z0(e,t){return e instanceof Promise?e.then(t):t(e)}function Zs(e,t,n,r){const o=r||Sd(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(s=>Zs(e,t,n,s));const i={tag:e,props:o};for(const s of Td){const a=i.props[s]!==void 0?i.props[s]:n[s];a!==void 0&&((!(s==="innerHTML"||s==="textContent"||s==="children")||J0.has(i.tag))&&(i[s==="children"?"innerHTML":s]=a),delete i.props[s])}return i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(s=>({...i,props:{...i.props,content:s}})):i}function ey(e,t){var r;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,i])=>e==="style"?`${o}:${i}`:o)),(r=String(Array.isArray(t)?t.join(n):t))==null?void 0:r.split(n).filter(o=>!!o.trim()).join(n)}function Cd(e,t,n,r){for(let o=r;o<n.length;o+=1){const i=n[o];if(i==="class"||i==="style"){e[i]=ey(i,e[i]);continue}if(e[i]instanceof Promise)return e[i].then(s=>(e[i]=s,Cd(e,t,n,o)));if(!t&&!Td.has(i)){const s=String(e[i]),a=i.startsWith("data-");s==="true"||s===""?e[i]=a?"true":!0:e[i]||(a&&s==="false"?e[i]="false":delete e[i])}}}function Sd(e,t=!1){const n=Cd(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const ty=10;function Ad(e,t,n){for(let r=n;r<t.length;r+=1){const o=t[r];if(o instanceof Promise)return o.then(i=>(t[r]=i,Ad(e,t,r)));Array.isArray(o)?e.push(...o):e.push(o)}}function ny(e){const t=[],n=e.resolvedInput;for(const o in n){if(!Object.prototype.hasOwnProperty.call(n,o))continue;const i=n[o];if(!(i===void 0||!X0.has(o))){if(Array.isArray(i)){for(const s of i)t.push(Zs(o,s,e));continue}t.push(Zs(o,i,e))}}if(t.length===0)return[];const r=[];return Z0(Ad(r,t,0),()=>r.map((o,i)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<<ty)+i,o)))}const Ec=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),Tc={base:-10,title:10},Cc={critical:-80,high:-10,low:20};function ci(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 Tc&&(n=Tc[e.tag]),t&&t in Cc?n+Cc[t]:n}const ry=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],oy=["name","property","http-equiv"];function xd(e){const{props:t,tag:n}=e;if(Y0.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 oy)if(t[r]!==void 0)return`${n}:${r}:${t[r]}`;return!1}const Xt="%separator";function iy(e,t,n=!1){var o;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const i=t.indexOf(".");r=(o=e[t.substring(0,i)])==null?void 0:o[t.substring(i+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/"/g,'\\"'):r||""}const sy=new RegExp(`${Xt}(?:\\s*${Xt})*`,"g");function Eo(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const i=o.match(/%\w+(?:\.\w+)?/g);if(!i)return e;const s=e.includes(Xt);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Xt||!i.includes(a))return a;const l=iy(t,a.slice(1),r);return l!==void 0?l:a}).trim(),s&&(e.endsWith(Xt)&&(e=e.slice(0,-Xt.length)),e.startsWith(Xt)&&(e=e.slice(Xt.length)),e=e.replace(sy,n).trim()),e}function Sc(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Pd(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 e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var f;const i=(await e.resolveTags()).map(d=>({tag:d,id:Vo.has(d.tag)?Qs(d):d.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const p of["body","head"]){const h=(f=n[p])==null?void 0:f.children;for(const m of h){const _=m.tagName.toLowerCase();if(!Vo.has(_))continue;const v={tag:_,props:await Sd(m.getAttributeNames().reduce((C,R)=>({...C,[R]:m.getAttribute(R)}),{})),innerHTML:m.innerHTML},E=xd(v);let g=E,w=1;for(;g&&d.has(g);)g=`${E}:${w++}`;g&&(v._d=g,d.add(g)),s.elMap[m.getAttribute("data-hid")||Qs(v)]=m}}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};function a(d,p,h){const m=`${d}:${p}`;s.sideEffects[m]=h,delete s.pendingSideEffects[m]}function l({id:d,$el:p,tag:h}){const m=h.tag.endsWith("Attrs");if(s.elMap[d]=p,m||(h.textContent&&h.textContent!==p.textContent&&(p.textContent=h.textContent),h.innerHTML&&h.innerHTML!==p.innerHTML&&(p.innerHTML=h.innerHTML),a(d,"el",()=>{var _;(_=s.elMap[d])==null||_.remove(),delete s.elMap[d]})),h._eventHandlers)for(const _ in h._eventHandlers)Object.prototype.hasOwnProperty.call(h._eventHandlers,_)&&p.getAttribute(`data-${_}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:p).addEventListener(_.substring(2),h._eventHandlers[_].bind(p)),p.setAttribute(`data-${_}`,""));for(const _ in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,_))continue;const v=h.props[_],E=`attr:${_}`;if(_==="class"){if(!v)continue;for(const g of v.split(" "))m&&a(d,`${E}:${g}`,()=>p.classList.remove(g)),!p.classList.contains(g)&&p.classList.add(g)}else if(_==="style"){if(!v)continue;for(const g of v.split(";")){const w=g.indexOf(":"),C=g.substring(0,w).trim(),R=g.substring(w+1).trim();a(d,`${E}:${C}`,()=>{p.style.removeProperty(C)}),p.style.setProperty(C,R)}}else p.getAttribute(_)!==v&&p.setAttribute(_,v===!0?"":String(v)),m&&a(d,E,()=>p.removeAttribute(_))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of i){const{tag:p,shouldRender:h,id:m}=d;if(h){if(p.tag==="title"){n.title=p.textContent;continue}d.$el=d.$el||s.elMap[m],d.$el?l(d):Vo.has(p.tag)&&c.push(d)}}for(const d of c){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),l(d),u[p]=u[p]||n.createDocumentFragment(),u[p].appendChild(d.$el)}for(const d of i)await e.hooks.callHook("dom:renderTag",d,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const d in s.pendingSideEffects)s.pendingSideEffects[d]();e._dom=s,await e.hooks.callHook("dom:rendered",{renders:i}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function ay(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(r=>n(()=>Pd(e,t).then(()=>{delete e._domDebouncedUpdatePromise,r()})))}function ly(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":i=>{ay(i,e)}}}}}const cy=new Set(["templateParams","htmlAttrs","bodyAttrs"]),uy={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 t=xd(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(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)||Qs(r),i=t[o];if(i){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&cy.has(r.tag)&&(a="merge"),a==="merge"){const l=i.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===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);continue}else if(ci(r)>ci(i))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&Vo.has(r.tag)){delete t[o];continue}t[o]=r}const n=[];for(const r in t){const o=t[r],i=o._duped;n.push(o),i&&(delete o._duped,n.push(...i))}e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},fy=new Set(["script","link","bodyAttrs"]),dy=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!fy.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 i=r[o];typeof i=="function"&&(e.ssr&&Ec.has(o)?r[o]=`this.dataset.${o}fired = true`:delete r[o],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[o]=i)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||li(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var o,i;const r=t==null?void 0:t.dataset;if(r)for(const s in r){if(!s.endsWith("fired"))continue;const a=s.slice(0,-5);Ec.has(a)&&((i=(o=n._eventHandlers)==null?void 0:o[a])==null||i.call(t,new Event(a.substring(2))))}}}}),py=new Set(["link","style","script","noscript"]),hy={hooks:{"tag:normalise":({tag:e})=>{e.key&&py.has(e.tag)&&(e.props["data-hid"]=e._h=li(e.key))}}},my={mode:"server",hooks:{"tags:beforeResolve":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"}})}}},gy={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:r,offset:o}of ry){if(!n.tagPriority.startsWith(r))continue;const i=n.tagPriority.substring(r.length),s=(t=e.tags.find(a=>a._d===i))==null?void 0:t._p;if(s!==void 0){n._p=s+o;break}}e.tags.sort((n,r)=>{const o=ci(n),i=ci(r);return o<i?-1:o>i?1:n._p-r._p})}}},_y={meta:"content",link:"href",htmlAttrs:"lang"},yy=["innerHTML","textContent"],vy=e=>({hooks:{"tags:resolve":t=>{var s;const{tags:n}=t;let r;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(r=t.tags.splice(a,1)[0].props,a-=1);const o=r||{},i=o.separator||"|";delete o.separator,o.pageTitle=Eo(o.pageTitle||((s=n.find(a=>a.tag==="title"))==null?void 0:s.textContent)||"",o,i);for(const a of n){if(a.processTemplateParams===!1)continue;const l=_y[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=Eo(a.props[l],o,i);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const c of yy)typeof a[c]=="string"&&(a[c]=Eo(a[c],o,i,a.tag==="script"&&a.props.type.endsWith("json")))}e._templateParams=o,e._separator=i},"tags:afterResolve":({tags:t})=>{let n;for(let r=0;r<t.length;r+=1){const o=t[r];o.tag==="title"&&o.processTemplateParams!==!1&&(n=o)}n!=null&&n.textContent&&(n.textContent=Eo(n.textContent,e._templateParams,e._separator))}}}),by={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,r;for(let o=0;o<t.length;o+=1){const i=t[o];i.tag==="title"?n=i:i.tag==="titleTemplate"&&(r=i)}if(r&&n){const o=Sc(r.textContent,n.textContent);o!==null?n.textContent=o||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(r){const o=Sc(r.textContent);o!==null&&(r.textContent=o,r.tag="title",r=void 0)}r&&e.tags.splice(e.tags.indexOf(r),1)}}},wy={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 Rd;function Ey(e={}){const t=Ty(e);return t.use(ly()),Rd=t}function Ac(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Ty(e={}){const t=dd();t.addHooks(e.hooks||{}),e.document=e.document||(Q0?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,i=[];const s=[],a={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),Ac(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:o++,input:l,...c};return Ac(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),r()},patch(f){for(const d of i)d._i===u._i&&(d.input=u.input=f);r()}}},async resolveTags(){const l={tags:[],entries:[...i]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await ny(c)){const d={tag:f,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[uy,my,dy,hy,gy,vy,by,wy,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Cy(){return Rd}const Sy=Wf[0]==="3";function Ay(e){return typeof e=="function"?e():se(e)}function ea(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=Ay(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>ea(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]=se(t[r]);continue}n[r]=ea(t[r])}return n}return t}const xy={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=ea(t.input)}}},kd="usehead";function Py(e){return{install(n){Sy&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(kd,e))}}.install}function Ry(e={}){e.domDelayFn=e.domDelayFn||(n=>cn(()=>setTimeout(()=>n(),0)));const t=Ey(e);return t.use(xy),t.install=Py(t),t}const ta=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},na="__unhead_injection_handler__";function ky(e){ta[na]=e}function ES(){if(na in ta)return ta[na]();const e=Qn(kd);return e||Cy()}let Ho,Fo;function Ly(){return Ho=$fetch(el(`builds/meta/${ar().app.buildId}.json`),{responseType:"json"}),Ho.then(e=>{Fo=A0(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ho}function ji(){return Ho||Ly()}async function rl(e){if(await ji(),!Fo)return console.error("[nuxt] Error creating app manifest matcher.",Fo),{};try{return P0({},...Fo.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function xc(e,t={}){const n=await Iy(e,t),r=Ie(),o=r._payloadCache=r._payloadCache||{};return n in o?o[n]||null:(o[n]=Od(e).then(i=>i?Ld(n).then(s=>s||(delete o[n],null)):(o[n]=null,null)),o[n])}const Oy="_payload.json";async function Iy(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||fn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=ar(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await Od(e)?i:r.app.baseURL;return oo(s,n.pathname,Oy+(o?`?${o}`:""))}async function Ld(e){const t=fetch(e).then(n=>n.text().then(Id));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Od(e=bd().path){if(e=Bi(e),(await ji()).prerendered.includes(e))return!0;const n=await rl(e);return!!n.prerender&&!n.redirect}let gn=null;async function Ny(){var r;if(gn)return gn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Id(e.textContent||""),n=e.dataset.src?await Ld(e.dataset.src):void 0;return gn={...t,...n,...window.__NUXT__},(r=gn.config)!=null&&r.public&&(gn.config.public=nn(gn.config.public)),gn}async function Id(e){return await q0(e,Ie()._payloadRevivers)}function Dy(e,t){Ie()._payloadRevivers[e]=t}const $y=[["NuxtError",e=>nl(e)],["EmptyShallowRef",e=>ks(e==="_"?void 0:e==="0n"?BigInt(0):ni(e))],["EmptyRef",e=>ae(e==="_"?void 0:e==="0n"?BigInt(0):ni(e))],["ShallowRef",e=>ks(e)],["ShallowReactive",e=>Cn(e)],["Ref",e=>ae(e)],["Reactive",e=>nn(e)]],My=xt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of $y)Dy(r,o);Object.assign(e.payload,([t,n]=pd(()=>e.runWithContext(Ny)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Vy=[],Hy=xt({name:"nuxt:head",enforce:"pre",setup(e){const t=Ry({plugins:Vy});ky(()=>Ie().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Pd(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)}}}),Fy=async e=>{let t,n;const r=([t,n]=pd(()=>rl(e.path)),t=await t,n(),t);if(r.redirect)return fn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},By=[Fy];function gs(e){typeof e=="object"&&(e=ld({pathname:e.path||"",search:rd(e.query||{}),hash:e.hash||""}));const t=new URL(e.toString(),window.location.href);return{path:t.pathname,fullPath:e,query:Fi(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const jy=xt({name:"nuxt:router",enforce:"pre",setup(e){const t=M_(window.location.pathname,ar().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),i=ar().app.baseURL,s=nn(gs(t));async function a(f,d){try{const p=gs(f);for(const h of r["navigate:before"]){const m=await h(p,s);if(m===!1||m instanceof Error)return;if(typeof m=="string"&&m.length)return a(m,!0)}for(const h of r["resolve:before"])await h(p,s);Object.assign(s,p),window.history[d?"replaceState":"pushState"]({},"",oo(i,p.fullPath)),e.isHydrating||await e.runWithContext(M0);for(const h of r["navigate:after"])await h(p,s)}catch(p){for(const h of r.error)await h(p)}}const c={currentRoute:Pe(()=>s),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>a(f,!1),replace:f=>a(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>o("resolve:before",f),beforeEach:f=>o("navigate:before",f),afterEach:f=>o("navigate:after",f),onError:f=>o("error",f),resolve:gs,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(p=>p.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",xe({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const p=()=>a(f.to,f.replace);return()=>{var m;const h=c.resolve(f.to);return f.custom?(m=d.default)==null?void 0:m.call(d,{href:f.to,navigate:p,route:h}):ir("a",{href:f.to,onClick:_=>(_.preventDefault(),p())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=nn(f.meta||{}),e.isHydrating&&u&&!rn(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const p=new Set([...By,...e._middleware.global]);{const h=await e.runWithContext(()=>rl(f.path));if(h.appMiddleware)for(const m in h.appMiddleware){const _=e._middleware.named[m];if(!_)return;h.appMiddleware[m]?p.add(_):p.delete(_)}}for(const h of p){const m=await e.runWithContext(()=>h(f,d));if(m!==!0&&(m||m===!1))return m}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),F_(s.fullPath,t)||await e.runWithContext(()=>wd(s.fullPath))}),{provide:{route:s,router:c}}}}),ra=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Uy=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ui=e=>{const t=Ie();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ra(()=>e())}):ra(()=>e())},Wy=xt({name:"nuxt:payload",setup(e){St().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await xc(t.path);r&&Object.assign(e.static.data,r.data)}),Ui(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await xc(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(ji,1e3)})}}),Gy=xt(()=>{const e=St();Ui(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),zy=xt(e=>{let t;async function n(){const r=await ji();t&&clearTimeout(t),t=setTimeout(n,yc);try{const o=await $fetch(el("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}Ui(()=>{t=setTimeout(n,yc)})});function qy(e={}){const t=e.path||window.location.pathname;let n={};try{n=ni(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Ie().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Ky=xt({name:"nuxt:chunk-reload",setup(e){const t=St(),n=ar(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const a="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:oo(n.app.baseURL,i.fullPath);qy({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),Jy=xt({name:"nuxt:global-components"}),Xy=xt(()=>{}),Yy=["top","right","bottom","left"],Pc=["start","end"],Rc=Yy.reduce((e,t)=>e.concat(t,t+"-"+Pc[0],t+"-"+Pc[1]),[]),Wr=Math.min,wn=Math.max,Qy={left:"right",right:"left",bottom:"top",top:"bottom"},Zy={start:"end",end:"start"};function oa(e,t,n){return wn(e,Wr(t,n))}function $n(e,t){return typeof e=="function"?e(t):e}function At(e){return e.split("-")[0]}function pt(e){return e.split("-")[1]}function Nd(e){return e==="x"?"y":"x"}function ol(e){return e==="y"?"height":"width"}function Nn(e){return["top","bottom"].includes(At(e))?"y":"x"}function il(e){return Nd(Nn(e))}function Dd(e,t,n){n===void 0&&(n=!1);const r=pt(e),o=il(e),i=ol(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=fi(s)),[s,fi(s)]}function ev(e){const t=fi(e);return[ui(e),t,ui(t)]}function ui(e){return e.replace(/start|end/g,t=>Zy[t])}function tv(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function nv(e,t,n,r){const o=pt(e);let i=tv(At(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(ui)))),i}function fi(e){return e.replace(/left|right|bottom|top/g,t=>Qy[t])}function rv(e){return{top:0,right:0,bottom:0,left:0,...e}}function $d(e){return typeof e!="number"?rv(e):{top:e,right:e,bottom:e,left:e}}function Rr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function kc(e,t,n){let{reference:r,floating:o}=e;const i=Nn(t),s=il(t),a=ol(s),l=At(t),c=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(pt(t)){case"start":p[s]-=d*(n&&c?-1:1);break;case"end":p[s]+=d*(n&&c?-1:1);break}return p}const ov=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=kc(c,r,l),d=r,p={},h=0;for(let m=0;m<a.length;m++){const{name:_,fn:v}=a[m],{x:E,y:g,data:w,reset:C}=await v({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=E??u,f=g??f,p={...p,[_]:{...p[_],...w}},C&&h<=50&&(h++,typeof C=="object"&&(C.placement&&(d=C.placement),C.rects&&(c=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:u,y:f}=kc(c,d,l)),m=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}};async function Wi(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=$n(t,e),h=$d(p),_=a[d?f==="floating"?"reference":"floating":f],v=Rr(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(_)))==null||n?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),E=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,g=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),w=await(i.isElement==null?void 0:i.isElement(g))?await(i.getScale==null?void 0:i.getScale(g))||{x:1,y:1}:{x:1,y:1},C=Rr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:E,offsetParent:g,strategy:l}):E);return{top:(v.top-C.top+h.top)/w.y,bottom:(C.bottom-v.bottom+h.bottom)/w.y,left:(v.left-C.left+h.left)/w.x,right:(C.right-v.right+h.right)/w.x}}const iv=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=$n(e,t)||{};if(c==null)return{};const f=$d(u),d={x:n,y:r},p=il(o),h=ol(p),m=await s.getDimensions(c),_=p==="y",v=_?"top":"left",E=_?"bottom":"right",g=_?"clientHeight":"clientWidth",w=i.reference[h]+i.reference[p]-d[p]-i.floating[h],C=d[p]-i.reference[p],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let I=R?R[g]:0;(!I||!await(s.isElement==null?void 0:s.isElement(R)))&&(I=a.floating[g]||i.floating[h]);const U=w/2-C/2,L=I/2-m[h]/2-1,S=Wr(f[v],L),O=Wr(f[E],L),P=S,A=I-m[h]-O,x=I/2-m[h]/2+U,B=oa(P,x,A),D=!l.arrow&&pt(o)!=null&&x!==B&&i.reference[h]/2-(x<P?S:O)-m[h]/2<0,q=D?x<P?x-P:x-A:0;return{[p]:d[p]+q,data:{[p]:B,centerOffset:x-B-q,...D&&{alignmentOffset:q}},reset:D}}});function sv(e,t,n){return(e?[...n.filter(o=>pt(o)===e),...n.filter(o=>pt(o)!==e)]:n.filter(o=>At(o)===o)).filter(o=>e?pt(o)===e||(t?ui(o)!==o:!1):!0)}const av=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:s,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=Rc,autoAlignment:p=!0,...h}=$n(e,t),m=f!==void 0||d===Rc?sv(f||null,p,d):d,_=await Wi(t,h),v=((n=s.autoPlacement)==null?void 0:n.index)||0,E=m[v];if(E==null)return{};const g=Dd(E,i,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==E)return{reset:{placement:m[0]}};const w=[_[At(E)],_[g[0]],_[g[1]]],C=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:E,overflows:w}],R=m[v+1];if(R)return{data:{index:v+1,overflows:C},reset:{placement:R}};const I=C.map(S=>{const O=pt(S.placement);return[S.placement,O&&u?S.overflows.slice(0,2).reduce((P,A)=>P+A,0):S.overflows[0],S.overflows]}).sort((S,O)=>S[1]-O[1]),L=((o=I.filter(S=>S[2].slice(0,pt(S[0])?2:3).every(O=>O<=0))[0])==null?void 0:o[0])||I[0][0];return L!==a?{data:{index:v+1,overflows:C},reset:{placement:L}}:{}}}},lv=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,..._}=$n(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=At(o),E=Nn(a),g=At(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),C=d||(g||!m?[fi(a)]:ev(a)),R=h!=="none";!d&&R&&C.push(...nv(a,m,h,w));const I=[a,...C],U=await Wi(t,_),L=[];let S=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&L.push(U[v]),f){const x=Dd(o,s,w);L.push(U[x[0]],U[x[1]])}if(S=[...S,{placement:o,overflows:L}],!L.every(x=>x<=0)){var O,P;const x=(((O=i.flip)==null?void 0:O.index)||0)+1,B=I[x];if(B)return{data:{index:x,overflows:S},reset:{placement:B}};let D=(P=S.filter(q=>q.overflows[0]<=0).sort((q,W)=>q.overflows[1]-W.overflows[1])[0])==null?void 0:P.placement;if(!D)switch(p){case"bestFit":{var A;const q=(A=S.filter(W=>{if(R){const Y=Nn(W.placement);return Y===E||Y==="y"}return!0}).map(W=>[W.placement,W.overflows.filter(Y=>Y>0).reduce((Y,ye)=>Y+ye,0)]).sort((W,Y)=>W[1]-Y[1])[0])==null?void 0:A[0];q&&(D=q);break}case"initialPlacement":D=a;break}if(o!==D)return{reset:{placement:D}}}return{}}}};async function cv(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=At(n),a=pt(n),l=Nn(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,f=$n(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const uv=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await cv(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},fv=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:_=>{let{x:v,y:E}=_;return{x:v,y:E}}},...l}=$n(e,t),c={x:n,y:r},u=await Wi(t,l),f=Nn(At(o)),d=Nd(f);let p=c[d],h=c[f];if(i){const _=d==="y"?"top":"left",v=d==="y"?"bottom":"right",E=p+u[_],g=p-u[v];p=oa(E,p,g)}if(s){const _=f==="y"?"top":"left",v=f==="y"?"bottom":"right",E=h+u[_],g=h-u[v];h=oa(E,h,g)}const m=a.fn({...t,[d]:p,[f]:h});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[d]:i,[f]:s}}}}}},dv=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...c}=$n(e,t),u=await Wi(t,c),f=At(o),d=pt(o),p=Nn(o)==="y",{width:h,height:m}=i.floating;let _,v;f==="top"||f==="bottom"?(_=f,v=d===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(v=f,_=d==="end"?"top":"bottom");const E=m-u.top-u.bottom,g=h-u.left-u.right,w=Wr(m-u[_],E),C=Wr(h-u[v],g),R=!t.middlewareData.shift;let I=w,U=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(U=g),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(I=E),R&&!d){const S=wn(u.left,0),O=wn(u.right,0),P=wn(u.top,0),A=wn(u.bottom,0);p?U=h-2*(S!==0||O!==0?S+O:wn(u.left,u.right)):I=m-2*(P!==0||A!==0?P+A:wn(u.top,u.bottom))}await l({...t,availableWidth:U,availableHeight:I});const L=await s.getDimensions(a.floating);return h!==L.width||m!==L.height?{reset:{rects:!0}}:{}}}};function it(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Et(e){return it(e).getComputedStyle(e)}const Lc=Math.min,kr=Math.max,di=Math.round;function Md(e){const t=Et(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,i=e.offsetHeight,s=di(n)!==o||di(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function on(e){return Hd(e)?(e.nodeName||"").toLowerCase():""}let To;function Vd(){if(To)return To;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(To=e.brands.map(t=>t.brand+"/"+t.version).join(" "),To):navigator.userAgent}function Tt(e){return e instanceof it(e).HTMLElement}function Qt(e){return e instanceof it(e).Element}function Hd(e){return e instanceof it(e).Node}function Oc(e){return typeof ShadowRoot>"u"?!1:e instanceof it(e).ShadowRoot||e instanceof ShadowRoot}function Gi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Et(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function pv(e){return["table","td","th"].includes(on(e))}function ia(e){const t=/firefox/i.test(Vd()),n=Et(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const i=n.contain;return i!=null&&i.includes(o)})}function Fd(){return!/^((?!chrome|android).)*safari/i.test(Vd())}function sl(e){return["html","body","#document"].includes(on(e))}function Bd(e){return Qt(e)?e:e.contextElement}const jd={x:1,y:1};function er(e){const t=Bd(e);if(!Tt(t))return jd;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:i}=Md(t);let s=(i?di(n.width):n.width)/r,a=(i?di(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function Gr(e,t,n,r){var o,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),a=Bd(e);let l=jd;t&&(r?Qt(r)&&(l=er(r)):l=er(e));const c=a?it(a):window,u=!Fd()&&n;let f=(s.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/l.x,d=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,p=s.width/l.x,h=s.height/l.y;if(a){const m=it(a),_=r&&Qt(r)?it(r):r;let v=m.frameElement;for(;v&&r&&_!==m;){const E=er(v),g=v.getBoundingClientRect(),w=getComputedStyle(v);g.x+=(v.clientLeft+parseFloat(w.paddingLeft))*E.x,g.y+=(v.clientTop+parseFloat(w.paddingTop))*E.y,f*=E.x,d*=E.y,p*=E.x,h*=E.y,f+=g.x,d+=g.y,v=it(v).frameElement}}return{width:p,height:h,top:d,right:f+p,bottom:d+h,left:f,x:f,y:d}}function Zt(e){return((Hd(e)?e.ownerDocument:e.document)||window.document).documentElement}function zi(e){return Qt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ud(e){return Gr(Zt(e)).left+zi(e).scrollLeft}function zr(e){if(on(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Oc(e)&&e.host||Zt(e);return Oc(t)?t.host:t}function Wd(e){const t=zr(e);return sl(t)?t.ownerDocument.body:Tt(t)&&Gi(t)?t:Wd(t)}function pi(e,t){var n;t===void 0&&(t=[]);const r=Wd(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=it(r);return o?t.concat(i,i.visualViewport||[],Gi(r)?r:[]):t.concat(r,pi(r))}function Ic(e,t,n){return t==="viewport"?Rr(function(r,o){const i=it(r),s=Zt(r),a=i.visualViewport;let l=s.clientWidth,c=s.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=Fd();(d||!d&&o==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):Qt(t)?Rr(function(r,o){const i=Gr(r,!0,o==="fixed"),s=i.top+r.clientTop,a=i.left+r.clientLeft,l=Tt(r)?er(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:s*l.y}}(t,n)):Rr(function(r){const o=Zt(r),i=zi(r),s=r.ownerDocument.body,a=kr(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),l=kr(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+Ud(r);const u=-i.scrollTop;return Et(s).direction==="rtl"&&(c+=kr(o.clientWidth,s.clientWidth)-a),{width:a,height:l,x:c,y:u}}(Zt(e)))}function Nc(e){return Tt(e)&&Et(e).position!=="fixed"?e.offsetParent:null}function Dc(e){const t=it(e);let n=Nc(e);for(;n&&pv(n)&&Et(n).position==="static";)n=Nc(n);return n&&(on(n)==="html"||on(n)==="body"&&Et(n).position==="static"&&!ia(n))?t:n||function(r){let o=zr(r);for(;Tt(o)&&!sl(o);){if(ia(o))return o;o=zr(o)}return null}(e)||t}function hv(e,t,n){const r=Tt(t),o=Zt(t),i=Gr(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((on(t)!=="body"||Gi(o))&&(s=zi(t)),Tt(t)){const l=Gr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else o&&(a.x=Ud(o));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}const mv={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=pi(c).filter(_=>Qt(_)&&on(_)!=="body"),p=null;const h=Et(c).position==="fixed";let m=h?zr(c):c;for(;Qt(m)&&!sl(m);){const _=Et(m),v=ia(m);(h?v||p:v||_.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=_:d=d.filter(E=>E!==m),m=zr(m)}return u.set(c,d),d}(t,this._c):[].concat(n),s=[...i,r],a=s[0],l=s.reduce((c,u)=>{const f=Ic(t,u,o);return c.top=kr(f.top,c.top),c.right=Lc(f.right,c.right),c.bottom=Lc(f.bottom,c.bottom),c.left=kr(f.left,c.left),c},Ic(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=Tt(n),i=Zt(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((o||!o&&r!=="fixed")&&((on(n)!=="body"||Gi(i))&&(s=zi(n)),Tt(n))){const c=Gr(n);a=er(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-s.scrollLeft*a.x+l.x,y:t.y*a.y-s.scrollTop*a.y+l.y}},isElement:Qt,getDimensions:function(e){return Tt(e)?Md(e):e.getBoundingClientRect()},getOffsetParent:Dc,getDocumentElement:Zt,getScale:er,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Dc,i=this.getDimensions;return{reference:hv(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Et(e).direction==="rtl"},gv=(e,t,n)=>{const r=new Map,o={platform:mv,...n},i={...o.platform,_c:r};return ov(e,t,{...o,platform:i})};function Gd(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Gd(e[n],t[n]):e[n]=t[n])}const ht={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function qr(e,t){let n=ht.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=ht.themes[n.$extend]||{}:(n=null,r=ht[t]):n=null;while(n);return r}function _v(e){const t=[e];let n=ht.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=ht.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function $c(e){const t=[e];let n=ht.themes[e]||{};do n.$extend?(t.push(n.$extend),n=ht.themes[n.$extend]||{}):n=null;while(n);return t}let lr=!1;if(typeof window<"u"){lr=!1;try{const e=Object.defineProperty({},"passive",{get(){lr=!0}});window.addEventListener("test",null,e)}catch{}}let zd=!1;typeof window<"u"&&typeof navigator<"u"&&(zd=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const qd=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Mc={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Vc={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Hc(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function _s(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const ft=[];let _n=null;const Fc={};function Bc(e){let t=Fc[e];return t||(t=Fc[e]=[]),t}let sa=function(){};typeof window<"u"&&(sa=window.Element);function ce(e){return function(t){return qr(t.theme,e)}}const ys="__floating-vue__popper",Kd=()=>xe({name:"VPopper",provide(){return{[ys]:{parentPopper:this}}},inject:{[ys]:{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:ce("disabled")},positioningDisabled:{type:Boolean,default:ce("positioningDisabled")},placement:{type:String,default:ce("placement"),validator:e=>qd.includes(e)},delay:{type:[String,Number,Object],default:ce("delay")},distance:{type:[Number,String],default:ce("distance")},skidding:{type:[Number,String],default:ce("skidding")},triggers:{type:Array,default:ce("triggers")},showTriggers:{type:[Array,Function],default:ce("showTriggers")},hideTriggers:{type:[Array,Function],default:ce("hideTriggers")},popperTriggers:{type:Array,default:ce("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ce("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ce("popperHideTriggers")},container:{type:[String,Object,sa,Boolean],default:ce("container")},boundary:{type:[String,sa],default:ce("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ce("strategy")},autoHide:{type:[Boolean,Function],default:ce("autoHide")},handleResize:{type:Boolean,default:ce("handleResize")},instantMove:{type:Boolean,default:ce("instantMove")},eagerMount:{type:Boolean,default:ce("eagerMount")},popperClass:{type:[String,Array,Object],default:ce("popperClass")},computeTransformOrigin:{type:Boolean,default:ce("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ce("autoMinSize")},autoSize:{type:[Boolean,String],default:ce("autoSize")},autoMaxSize:{type:Boolean,default:ce("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ce("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ce("preventOverflow")},overflowPadding:{type:[Number,String],default:ce("overflowPadding")},arrowPadding:{type:[Number,String],default:ce("arrowPadding")},arrowOverflow:{type:Boolean,default:ce("arrowOverflow")},flip:{type:Boolean,default:ce("flip")},shift:{type:Boolean,default:ce("shift")},shiftCrossAxis:{type:Boolean,default:ce("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ce("noAutoFocus")},disposeTimeout:{type:Number,default:ce("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ys])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(uv({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(av({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(fv({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(lv({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(iv({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let s;const{centerOffset:a}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(a)>o.reference.width/2:s=Math.abs(a)>o.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:s})=>{var a;if((a=s.autoSize)!=null&&a.skip)return{};let l,c;return i.startsWith("top")||i.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(dv({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 gv(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),_n&&this.instantMove&&_n.instantMove&&_n!==this.parentPopper){_n.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(_n=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 _s(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...pi(this.$_referenceNode),...pi(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(r.left+n.offsetLeft),i=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<ft.length;n++)t=ft[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}ft.push(this),document.body.classList.add("v-popper--some-open");for(const t of $c(this.theme))Bc(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 _s(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Hc(ft,this),ft.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of $c(this.theme)){const r=Bc(n);Hc(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}_n===this&&(_n=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 _s(),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,Mc,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Mc,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Vc,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Vc,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,lr?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const a=t[s];a&&this.$_registerEventListeners(e,a,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!e||e===o?r.forEach(s=>s.removeEventListener(o,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Lr>=e.left&&Lr<=e.right&&Or>=e.top&&Or<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Lr-zt,r=Or-qt,o=t.left+t.width/2-zt+(t.top+t.height/2)-qt+t.width+t.height,i=zt+n*o,s=qt+r*o;return Co(zt,qt,i,s,t.left,t.top,t.left,t.bottom)||Co(zt,qt,i,s,t.left,t.top,t.right,t.top)||Co(zt,qt,i,s,t.right,t.top,t.right,t.bottom)||Co(zt,qt,i,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(zd){const e=lr?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>jc(t,!0),e),document.addEventListener("touchend",t=>Uc(t,!0),e)}else window.addEventListener("mousedown",e=>jc(e,!1),!0),window.addEventListener("click",e=>Uc(e,!1),!0);window.addEventListener("resize",vv)}function jc(e,t){if(ht.autoHideOnMousedown)Jd(e,t);else for(let n=0;n<ft.length;n++){const r=ft[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function Uc(e,t){ht.autoHideOnMousedown||Jd(e,t)}function Jd(e,t){const n={};for(let r=ft.length-1;r>=0;r--){const o=ft[r];try{const i=o.containsGlobalTarget=o.mouseDownContains||o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&Wc(o,i,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let a=o.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let s=o.parentPopper;for(;s&&Wc(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function Wc(e,t,n){return n.closeAllPopover||n.closePopover&&t||yv(e,n)&&!t}function yv(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function vv(){for(let e=0;e<ft.length;e++)ft[e].$_computePosition()}let zt=0,qt=0,Lr=0,Or=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{zt=Lr,qt=Or,Lr=e.clientX,Or=e.clientY},lr?{passive:!0}:void 0);function Co(e,t,n,r,o,i,s,a){const l=((s-o)*(t-i)-(a-i)*(e-o))/((a-i)*(n-e)-(s-o)*(r-t)),c=((n-e)*(t-i)-(r-t)*(e-o))/((a-i)*(n-e)-(s-o)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const bv={extends:Kd()},qi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function wv(e,t,n,r,o,i){return j(),Q("div",{ref:"reference",class:Ae(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Le(e.$slots,"default",Nu(Xa(e.slotData)))],2)}const Ev=qi(bv,[["render",wv]]);function Tv(){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 Bo;function aa(){aa.init||(aa.init=!0,Bo=Tv()!==-1)}var Ki={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){aa(),cn(()=>{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",Bo&&this.$el.appendChild(e),e.data="about:blank",Bo||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&&(!Bo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Cv=dm();um("data-v-b329ee4c");const Sv={class:"resize-observer",tabindex:"-1"};fm();const Av=Cv((e,t,n,r,o,i)=>(j(),pe("div",Sv)));Ki.render=Av;Ki.__scopeId="data-v-b329ee4c";Ki.__file="src/components/ResizeObserver.vue";const Xd=(e="theme")=>({computed:{themeClass(){return _v(this[e])}}}),xv=xe({name:"VPopperContent",components:{ResizeObserver:Ki},mixins:[Xd()],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}}}),Pv=["id","aria-hidden","tabindex","data-popper-placement"],Rv={ref:"inner",class:"v-popper__inner"},kv=M("div",{class:"v-popper__arrow-outer"},null,-1),Lv=M("div",{class:"v-popper__arrow-inner"},null,-1),Ov=[kv,Lv];function Iv(e,t,n,r,o,i){const s=Vt("ResizeObserver");return j(),Q("div",{id:e.popperId,ref:"popover",class:Ae(["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:Dt(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]=a_(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[M("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),M("div",{class:"v-popper__wrapper",style:Dt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[M("div",Rv,[e.mounted?(j(),Q(me,{key:0},[M("div",null,[Le(e.$slots,"default")]),e.handleResize?(j(),pe(s,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ce("",!0)],64)):Ce("",!0)],512),M("div",{ref:"arrow",class:"v-popper__arrow-container",style:Dt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Ov,4)],4)],46,Pv)}const Yd=qi(xv,[["render",Iv]]),Qd={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 la=function(){};typeof window<"u"&&(la=window.Element);const Nv=xe({name:"VPopperWrapper",components:{Popper:Ev,PopperContent:Yd},mixins:[Qd,Xd("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,la,Boolean],default:void 0},boundary:{type:[String,la],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 Dv(e,t,n,r,o,i){const s=Vt("PopperContent"),a=Vt("Popper");return j(),pe(a,un({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:oe(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:m,onResize:_,classes:v,result:E})=>[Le(e.$slots,"default",{shown:c,show:p,hide:h}),J(s,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:v,result:E,onHide:h,onResize:_},{default:oe(()=>[Le(e.$slots,"popper",{shown:c,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const al=qi(Nv,[["render",Dv]]),$v={...al,name:"VDropdown",vPopperTheme:"dropdown"},Mv={...al,name:"VMenu",vPopperTheme:"menu"},Vv={...al,name:"VTooltip",vPopperTheme:"tooltip"},Hv=xe({name:"VTooltipDirective",components:{Popper:Kd(),PopperContent:Yd},mixins:[Qd],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>qr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>qr(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}}}),Fv=["innerHTML"],Bv=["textContent"];function jv(e,t,n,r,o,i){const s=Vt("PopperContent"),a=Vt("Popper");return j(),pe(a,un({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:oe(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:m,classes:_,result:v})=>[J(s,{ref:"popperContent",class:Ae({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":h,classes:_,result:v,onHide:p,onResize:m},{default:oe(()=>[e.html?(j(),Q("div",{key:0,innerHTML:e.finalContent},null,8,Fv)):(j(),Q("div",{key:1,textContent:Se(e.finalContent)},null,8,Bv))]),_: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 Uv=qi(Hv,[["render",jv]]),Zd="v-popper--has-tooltip";function Wv(e,t){let n=e.placement;if(!n&&t)for(const r of qd)t[r]&&(n=r);return n||(n=qr(e.theme||"tooltip","placement")),n}function ep(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=Wv(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let vs,Kr,Gv=0;function zv(){if(vs)return;Kr=ae([]),vs=ed({name:"VTooltipDirectiveApp",setup(){return{directives:Kr}},render(){return this.directives.map(t=>ir(Uv,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),vs.mount(e)}function qv(e,t,n){zv();const r=ae(ep(e,t,n)),o=ae(!1),i={id:Gv++,options:r,shown:o};return Kr.value.push(i),e.classList&&e.classList.add(Zd),e.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function tp(e){if(e.$_popper){const t=Kr.value.indexOf(e.$_popper.item);t!==-1&&Kr.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Zd)}function Gc(e,{value:t,modifiers:n}){const r=ep(e,t,n);if(!r.content||qr(r.theme||"tooltip","disabled"))tp(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=qv(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const Kv={beforeMount:Gc,updated:Gc,beforeUnmount(e){tp(e)}};function zc(e){e.addEventListener("mousedown",hi),e.addEventListener("click",hi),e.addEventListener("touchstart",np,lr?{passive:!0}:!1)}function qc(e){e.removeEventListener("mousedown",hi),e.removeEventListener("click",hi),e.removeEventListener("touchstart",np),e.removeEventListener("touchend",rp),e.removeEventListener("touchcancel",op)}function hi(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function np(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",rp),t.addEventListener("touchcancel",op)}}function rp(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 op(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Jv={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&zc(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?zc(e):qc(e))},beforeUnmount(e){qc(e)}};function Xv(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Gd(ht,t),e.directive("tooltip",Kv),e.directive("close-popper",Jv),e.component("VTooltip",Vv),e.component("VDropdown",$v),e.component("VMenu",Mv))}const Yv={version:"5.2.2",install:Xv,options:ht},Qv=xt(e=>{e.vueApp.use(Yv)}),Zv=[My,Hy,jy,Wy,Gy,zy,Ky,Jy,Xy,Qv],eb="modulepreload",tb=function(e,t){return new URL(e,t).href},Kc={},y=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.allSettled(n.map(c=>{if(c=tb(c,r),c in Kc)return;Kc[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!r)for(let h=s.length-1;h>=0;h--){const m=s[h];if(m.href===c&&(!u||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${f}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":eb,u||(p.as="script"),p.crossOrigin="",p.href=c,l&&p.setAttribute("nonce",l),document.head.appendChild(p),u)return new Promise((h,m)=>{p.addEventListener("load",h),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},io=xe({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(j(),Q("div",{class:Ae(["n-icon",t.icon])},null,2))}}),so=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},nb={},rb={class:"n-badge"};function ob(e,t){return j(),Q("span",rb,[Le(e.$slots,"default")])}const ib=so(nb,[["render",ob]]);async function ip(e,t=St()){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(()=>ip(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var a;return(a=s.components)==null?void 0:a.default}).filter(s=>typeof s=="function");for(const s of i){const a=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const sb=(...e)=>e.find(t=>t!==void 0);function ab(e){const t=e.componentName||"NuxtLink";function n(o,i){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return Jc(o,e.trailingSlash);const s="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Jc(s,e.trailingSlash)}}function r(o){const i=St(),s=ar(),a=Pe(()=>!!o.target&&o.target!=="_self"),l=Pe(()=>{const m=o.to||o.href||"";return typeof m=="string"&&fn(m,{acceptRelative:!0})}),c=Vt("RouterLink"),u=c&&typeof c!="string"?c.useLink:void 0,f=Pe(()=>{if(o.external)return!0;const m=o.to||o.href||"";return typeof m=="object"?!1:m===""||l.value}),d=Pe(()=>{const m=o.to||o.href||"";return f.value?m:n(m,i.resolve)}),p=f.value||u==null?void 0:u({...o,to:d}),h=Pe(()=>{var m;if(!d.value||l.value)return d.value;if(f.value){const _=typeof d.value=="object"&&"path"in d.value?Ys(d.value):d.value,v=typeof _=="object"?i.resolve(_).href:_;return n(v,i.resolve)}return typeof d.value=="object"?((m=i.resolve(d.value))==null?void 0:m.href)??null:n(oo(s.app.baseURL,d.value),i.resolve)});return{to:d,hasTarget:a,isAbsoluteUrl:l,isExternal:f,href:h,isActive:(p==null?void 0:p.isActive)??Pe(()=>d.value===i.currentRoute.value.path),isExactActive:(p==null?void 0:p.isExactActive)??Pe(()=>d.value===i.currentRoute.value.path),route:(p==null?void 0:p.route)??Pe(()=>i.resolve(d.value)),async navigate(){await wd(h.value,{replace:o.replace,external:f.value||a.value})}}}return xe({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:i}){const s=St(),{to:a,href:l,navigate:c,isExternal:u,hasTarget:f,isAbsoluteUrl:d}=r(o),p=ae(!1),h=ae(null),m=E=>{var g;h.value=o.custom?(g=E==null?void 0:E.$el)==null?void 0:g.nextElementSibling:E==null?void 0:E.$el};function _(E){var g,w;return!p.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===E:((g=o.prefetchOn)==null?void 0:g[E])??((w=e.prefetchOn)==null?void 0:w[E]))&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!ub()}async function v(E=Ie()){if(p.value)return;p.value=!0;const g=typeof a.value=="string"?a.value:u.value?Ys(a.value):s.resolve(a.value).fullPath,w=u.value?new URL(g,window.location.href).href:g;await Promise.all([E.hooks.callHook("link:prefetch",w).catch(()=>{}),!u.value&&!f.value&&ip(a.value,s).catch(()=>{})])}if(_("visibility")){const E=Ie();let g,w=null;Mi(()=>{const C=lb();Ui(()=>{g=ra(()=>{var R;(R=h==null?void 0:h.value)!=null&&R.tagName&&(w=C.observe(h.value,async()=>{w==null||w(),w=null,await v(E)}))})})}),Wa(()=>{g&&Uy(g),w==null||w(),w=null})}return()=>{var w;if(!u.value&&!f.value){const C={ref:m,to:a.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(_("interaction")&&(C.onPointerenter=v.bind(null,void 0),C.onFocus=v.bind(null,void 0)),p.value&&(C.class=o.prefetchedClass||e.prefetchedClass),C.rel=o.rel||void 0),ir(Vt("RouterLink"),C,i.default)}const E=o.target||null,g=sb(o.noRel?"":o.rel,e.externalRelAttribute,d.value||f.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:l.value,navigate:c,prefetch:v,get route(){if(!l.value)return;const C=new URL(l.value,window.location.href);return{path:C.pathname,fullPath:C.pathname,get query(){return Fi(C.search)},hash:C.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:g,target:E,isExternal:u.value||f.value,isActive:!1,isExactActive:!1}):null:ir("a",{ref:h,href:l.value||null,rel:g,target:E},(w=i.default)==null?void 0:w.call(i))}}})}const sp=ab(m0);function Jc(e,t){const n=t==="append"?oi:Bi;return fn(e)&&!e.startsWith("http")?e:n(e,!0)}function lb(){const e=Ie();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(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(i,s),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}const cb=/2g/;function ub(){const e=navigator.connection;return!!(e&&(e.saveData||cb.test(e.effectiveType)))}const fb={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},ll=xe({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Pe(()=>t.href||t.to);return(r,o)=>{const i=sp;return j(),pe(i,un(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:oe(()=>[Le(r.$slots,"default"),n.value&&r.target==="_blank"?(j(),Q("div",fb)):Ce("",!0)]),_:3},16,["class"])}}}),db={},pb={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function hb(e,t){return j(),Q("svg",pb,t[0]||(t[0]=[gg('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8)]))}const mb=so(db,[["render",hb]]),gb={},_b={class:"n-loading n-panel-grids-center"},yb={class:"flex flex-col animate-pulse items-center text-lg"};function vb(e,t){return j(),Q("div",_b,[M("div",yb,[t[1]||(t[1]=M("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1)),Le(e.$slots,"default",{},()=>[t[0]||(t[0]=ue(" Loading... "))])])])}const bb=so(gb,[["render",vb]]),ap=xe({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=io;return j(),pe(mf(t.to?se(sp):"button"),un({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:oe(()=>[Le(t.$slots,"icon",{},()=>[t.icon?(j(),pe(r,{key:0,icon:t.icon,class:Ae({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):Ce("",!0)]),Le(t.$slots,"default")]),_:3},16,["to","class"])}}}),lp=[{id:"abap",name:"ABAP",import:()=>y(()=>import("./BwpQXVS2.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>y(()=>import("./Ci-La1BS.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>y(()=>import("./DOAn35dn.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>y(()=>import("./B1rsb5QC.js").then(e=>e.f),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>y(()=>import("./gOa3Yz9U.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>y(()=>import("./Dn00JSTd.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>y(()=>import("./BzwtH5UL.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>y(()=>import("./CyEc264g.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>y(()=>import("./DIt9OTko.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>y(()=>import("./CJxt7p29.js"),[],import.meta.url)},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>y(()=>import("./CcSEeikT.js"),[],import.meta.url)},{id:"asm",name:"Assembly",import:()=>y(()=>import("./DPTZissz.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>y(()=>import("./vocl-2a6.js"),__vite__mapDeps([10,9,2,11,3,12]),import.meta.url)},{id:"awk",name:"AWK",import:()=>y(()=>import("./BINKOAKH.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>y(()=>import("./DCcCncrU.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>y(()=>import("./B9Vj0mJK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>y(()=>import("./DDUKAZWS.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>y(()=>import("./DnyWjya5.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>y(()=>import("./CpWBKVjh.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>y(()=>import("./BWkuYGGO.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>y(()=>import("./Bmb0A568.js"),__vite__mapDeps([13,1,2,3,7,8,14,9]),import.meta.url)},{id:"c",name:"C",import:()=>y(()=>import("./BhsLqr-4.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>y(()=>import("./CEjiMJLT.js"),[],import.meta.url)},{id:"cairo",name:"Cairo",import:()=>y(()=>import("./DMFdBl0X.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>y(()=>import("./CXmV_HiI.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>y(()=>import("./mLcCfA0-.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>y(()=>import("./DbXoA79R.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>y(()=>import("./BA1ndEPy.js"),__vite__mapDeps([15,1,2,3,8]),import.meta.url)},{id:"codeowners",name:"CODEOWNERS",import:()=>y(()=>import("./Bp6g37R7.js"),[],import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>y(()=>import("./Bdprqoiu.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>y(()=>import("./Cv3cJnDV.js"),__vite__mapDeps([16,2]),import.meta.url)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>y(()=>import("./CQO4gZEw.js"),[],import.meta.url)},{id:"coq",name:"Coq",import:()=>y(()=>import("./B1Z2YEe0.js"),[],import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>y(()=>import("./CcPoRNJz.js"),__vite__mapDeps([17,18,19,20,14]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>y(()=>import("./W2lx4xae.js"),__vite__mapDeps([21,1,2,3,14,20,22]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>y(()=>import("./D7v6OrNy.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>y(()=>import("./u4bm_LMz.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>y(()=>import("./B0qRVHPH.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>y(()=>import("./DmZ-uG0V.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>y(()=>import("./DfpIq38s.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>y(()=>import("./B5L7zzq-.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>y(()=>import("./D9W_gRNE.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>y(()=>import("./yA8e6OR-.js"),[],import.meta.url)},{id:"desktop",name:"Desktop",import:()=>y(()=>import("./DEIpsLCJ.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>y(()=>import("./Dnfm4U7b.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>y(()=>import("./BHpzmqOf.js"),[],import.meta.url)},{id:"dotenv",name:"dotEnv",import:()=>y(()=>import("./DQxx3LPD.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>y(()=>import("./BMwgFBEQ.js"),[],import.meta.url)},{id:"edge",name:"Edge",import:()=>y(()=>import("./Bv_sPlCv.js"),__vite__mapDeps([23,11,1,2,3,24]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>y(()=>import("./DhqJCFIX.js"),__vite__mapDeps([25,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>y(()=>import("./BzAMEn9Z.js"),__vite__mapDeps([26,19,20]),import.meta.url)},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>y(()=>import("./CMz7PuSU.js"),[],import.meta.url)},{id:"erb",name:"ERB",import:()=>y(()=>import("./5Vw9JATd.js"),__vite__mapDeps([27,1,2,3,28,7,8,14,20,22,29]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>y(()=>import("./CMOi41r9.js"),[],import.meta.url)},{id:"fennel",name:"Fennel",import:()=>y(()=>import("./dZn0vQkf.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>y(()=>import("./CQzXS8_C.js"),[],import.meta.url)},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>y(()=>import("./CNRQ974Q.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>y(()=>import("./IqKf4WGj.js"),__vite__mapDeps([30,31]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>y(()=>import("./B3Z_eaxm.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>y(()=>import("./BaLI2h1d.js"),__vite__mapDeps([32,33]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>y(()=>import("./0qbUsQ6_.js"),__vite__mapDeps([34,35,36]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>y(()=>import("./Cmhojp3q.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>y(()=>import("./BSHf-0eb.js"),[],import.meta.url)},{id:"genie",name:"Genie",import:()=>y(()=>import("./DJEtsjbi.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>y(()=>import("./-30QC5Em.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>y(()=>import("./BSPpinrx.js"),__vite__mapDeps([37,38]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>y(()=>import("./s1PdnzAn.js"),__vite__mapDeps([39,22]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>y(()=>import("./C30t_gpS.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>y(()=>import("./BhC5s0V7.js"),__vite__mapDeps([40,2,11,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>y(()=>import("./DvA-6Bhw.js"),__vite__mapDeps([41,11,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>y(()=>import("./CbUnruJU.js"),__vite__mapDeps([19,20]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>y(()=>import("./CmWLV2bY.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>y(()=>import("./Cv7ZOjGq.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>y(()=>import("./ClV7KpCc.js"),__vite__mapDeps([42,2,11,43,44]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>y(()=>import("./BWslPs4p.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>y(()=>import("./CeZwWGti.js"),__vite__mapDeps([45,1,2,3,14]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>y(()=>import("./BbalPOsb.js"),__vite__mapDeps([46,2,3]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>y(()=>import("./BYqZ7etr.js"),__vite__mapDeps([47,1,2,3,48]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>y(()=>import("./ChDww4um.js"),[],import.meta.url)},{id:"haxe",name:"Haxe",import:()=>y(()=>import("./BgqZeg96.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>y(()=>import("./Cztwc-HH.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>y(()=>import("./D9Bn7OQI.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>y(()=>import("./DkpUthgY.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>y(()=>import("./dwbxrGt_.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>y(()=>import("./FMvz1E70.js"),__vite__mapDeps([24,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>y(()=>import("./DRhUEtVu.js"),__vite__mapDeps([49,22,9,7,8,42,2,11,43,44]),import.meta.url)},{id:"hxml",name:"HXML",import:()=>y(()=>import("./L9-HYnaW.js"),__vite__mapDeps([50,51]),import.meta.url)},{id:"hy",name:"Hy",import:()=>y(()=>import("./YurBl9Qv.js"),[],import.meta.url)},{id:"imba",name:"Imba",import:()=>y(()=>import("./BoZcIFWd.js"),__vite__mapDeps([52,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>y(()=>import("./BjABl1g7.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>y(()=>import("./BN40hmum.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>y(()=>import("./DNgb01dh.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>y(()=>import("./BCawSwWi.js"),__vite__mapDeps([53,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>y(()=>import("./CK7S-5jS.js"),__vite__mapDeps([54,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>y(()=>import("./DWmkr0yC.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>y(()=>import("./BDjtpMT8.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>y(()=>import("./B8E-_56i.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>y(()=>import("./NKd-Y1zG.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>y(()=>import("./CpRrwcwt.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>y(()=>import("./DlYXzDlu.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>y(()=>import("./CM4fc1WH.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>y(()=>import("./DUdzsfxe.js"),__vite__mapDeps([55,17,18,19,20,14,56,2,57]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>y(()=>import("./BZRbnyjI.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>y(()=>import("./plSVBvJQ.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>y(()=>import("./DFW6HATB.js"),__vite__mapDeps([58,59,57]),import.meta.url)},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>y(()=>import("./yLioyJ2E.js"),[],import.meta.url)},{id:"less",name:"Less",import:()=>y(()=>import("./Dk1rBueR.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>y(()=>import("./Cm25um3E.js"),__vite__mapDeps([60,1,2,3,9]),import.meta.url)},{id:"log",name:"Log file",import:()=>y(()=>import("./B4_rEpOs.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>y(()=>import("./Dtn98rcr.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>y(()=>import("./BKbjiiqg.js"),__vite__mapDeps([29,20]),import.meta.url)},{id:"luau",name:"Luau",import:()=>y(()=>import("./DepYB8Ml.js"),[],import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>y(()=>import("./DNDvMORL.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>y(()=>import("./CNXuF1yM.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>y(()=>import("./CodIOJDM.js"),__vite__mapDeps([61,3,62,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>y(()=>import("./Kxp7UmFj.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>y(()=>import("./CLXkKSjS.js"),__vite__mapDeps([63,33,48,24,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>y(()=>import("./Bcw97oti.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>y(()=>import("./D0xWnrgR.js"),[],import.meta.url)},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>y(()=>import("./BzaEo2Du.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>y(()=>import("./B2bjgU-v.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>y(()=>import("./EZUUsui8.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>y(()=>import("./DLbgOhZU.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>y(()=>import("./B2uSYIFn.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>y(()=>import("./BjXeLqNd.js"),__vite__mapDeps([64,29,20]),import.meta.url)},{id:"nim",name:"Nim",import:()=>y(()=>import("./CuIYtGag.js"),__vite__mapDeps([65,20,1,2,3,7,8,19,33]),import.meta.url)},{id:"nix",name:"Nix",import:()=>y(()=>import("./DVWcdiGS.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>y(()=>import("./ZJvK9Z2N.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>y(()=>import("./B6NdQBKR.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>y(()=>import("./BkG9CdHo.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>y(()=>import("./CLmbwNS9.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>y(()=>import("./JqZropPD.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>y(()=>import("./D2O4HAMr.js"),__vite__mapDeps([66,1,2,3,7,8,14]),import.meta.url)},{id:"php",name:"PHP",import:()=>y(()=>import("./CI15r38m.js"),__vite__mapDeps([67,1,2,3,7,8,14,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>y(()=>import("./LKU2TuZ1.js"),[],import.meta.url)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>y(()=>import("./BFLt1xDp.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>y(()=>import("./DmF4-xLG.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>y(()=>import("./ByY1Guvr.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>y(()=>import("./DES0gjzB.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>y(()=>import("./DFIOpqzz.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>y(()=>import("./BNxDCkIA.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>y(()=>import("./hdsyEllQ.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>y(()=>import("./i22b9gbM.js"),__vite__mapDeps([68,2,3,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>y(()=>import("./DWMP3yrW.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>y(()=>import("./DvQyZZSe.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>y(()=>import("./CK56Z9cH.js"),[],import.meta.url)},{id:"qml",name:"QML",import:()=>y(()=>import("./xfgw03QH.js"),__vite__mapDeps([69,2]),import.meta.url)},{id:"qmldir",name:"QML Directory",import:()=>y(()=>import("./C8lEn-DE.js"),[],import.meta.url)},{id:"qss",name:"Qt Style Sheets",import:()=>y(()=>import("./DhMKtDLN.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>y(()=>import("./Cqv5JV-q.js"),[],import.meta.url)},{id:"racket",name:"Racket",import:()=>y(()=>import("./CwIbMU3B.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>y(()=>import("./DZ4hUExO.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>y(()=>import("./KUYRHWK4.js"),__vite__mapDeps([70,1,2,3,71]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>y(()=>import("./CrOfvjVs.js"),[],import.meta.url)},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>y(()=>import("./DoiKbUTj.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>y(()=>import("./Dzwn3p-3.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>y(()=>import("./BGct0Hx7.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>y(()=>import("./CnsmiicP.js"),__vite__mapDeps([72,24,1,2,3,17,18,19,20,14,56,22,48,73,28,7,8,29]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>y(()=>import("./DhG9BCpW.js"),__vite__mapDeps([28,1,2,3,7,8,14,20,22,29]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>y(()=>import("./Bjs2cL5p.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>y(()=>import("./i5HCB2tm.js"),__vite__mapDeps([74,14]),import.meta.url)},{id:"sass",name:"Sass",import:()=>y(()=>import("./BrbOHqWv.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>y(()=>import("./Lp17StYA.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>y(()=>import("./BbccZ3y2.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>y(()=>import("./eACALr6E.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>y(()=>import("./bGS5FTDY.js"),__vite__mapDeps([75,76]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>y(()=>import("./HNM5thJl.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>y(()=>import("./BTbGKmhu.js"),__vite__mapDeps([77,22]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>y(()=>import("./DsCg8CPl.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>y(()=>import("./DymQr0nX.js"),[],import.meta.url)},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>y(()=>import("./CY2R9RuK.js"),__vite__mapDeps([78,1,2,3]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>y(()=>import("./8Uu6eIa-.js"),__vite__mapDeps([79,80]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>y(()=>import("./j_FrBdja.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>y(()=>import("./D8nBeWSR.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>y(()=>import("./D-RymO5g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>y(()=>import("./-ALZ4IvE.js"),__vite__mapDeps([81,14]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>y(()=>import("./DwU8c_yx.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>y(()=>import("./JJNjxVar.js"),__vite__mapDeps([82,2,11,3,12]),import.meta.url)},{id:"swift",name:"Swift",import:()=>y(()=>import("./D2TqM893.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>y(()=>import("./DFQ4Xr-4.js"),[],import.meta.url)},{id:"systemd",name:"Systemd Units",import:()=>y(()=>import("./DA0ESIWO.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>y(()=>import("./CQjiPCtT.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>y(()=>import("./NUI3YrRW.js"),[],import.meta.url)},{id:"templ",name:"Templ",import:()=>y(()=>import("./Csvi84BS.js"),__vite__mapDeps([83,84,2,3]),import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>y(()=>import("./rf8nNrOk.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>y(()=>import("./BJNXdUBN.js"),__vite__mapDeps([59,57]),import.meta.url)},{id:"toml",name:"TOML",import:()=>y(()=>import("./Dwo6uFCY.js"),[],import.meta.url)},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>y(()=>import("./Db-JQHi3.js"),__vite__mapDeps([85,11,3,2,19,20,1,14,7,8]),import.meta.url)},{id:"tsv",name:"TSV",import:()=>y(()=>import("./B_m7g4N7.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>y(()=>import("./DqpEK-75.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>y(()=>import("./C0hdQUNN.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>y(()=>import("./CWJejSyX.js"),__vite__mapDeps([86,3,2,5,67,1,7,8,14,9,56,28,20,22,29]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>y(()=>import("./CVESyXxo.js"),[],import.meta.url)},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>y(()=>import("./B_R80ZlN.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>y(()=>import("./F89DG-fP.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>y(()=>import("./DH4N8IuU.js"),[],import.meta.url)},{id:"vala",name:"Vala",import:()=>y(()=>import("./C8pgRvQH.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>y(()=>import("./Bv-mwDEg.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>y(()=>import("./6RUVFG9U.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>y(()=>import("./IBB5Tl9j.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>y(()=>import("./CIxipgmy.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>y(()=>import("./CBzZD_Xh.js"),__vite__mapDeps([87,1,2,3,11,9,24]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>y(()=>import("./CKfqYE_r.js"),__vite__mapDeps([88,87,1,2,3,11,9,24]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>y(()=>import("./DzaHHFTY.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>y(()=>import("./sH2JAGjN.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>y(()=>import("./7A4Fjokl.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>y(()=>import("./CSoQzgif.js"),[],import.meta.url)},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>y(()=>import("./BqtQrzRp.js"),[],import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>y(()=>import("./aeT0-ak7.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>y(()=>import("./CkqQx3Va.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>y(()=>import("./Bnbw1zOw.js"),__vite__mapDeps([89,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>y(()=>import("./CIiI48o2.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>y(()=>import("./NgWrSVUg.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>y(()=>import("./D44NvAEk.js"),[],import.meta.url)}],wb=Object.fromEntries(lp.map(e=>[e.id,e.import])),Eb=Object.fromEntries(lp.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),Tb={...wb,...Eb},Cb=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>y(()=>import("./C3khCPGq.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>y(()=>import("./D-2ljcwZ.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>y(()=>import("./Cv9koXgw.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>y(()=>import("./CD_QflpE.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>y(()=>import("./DRW-0cLl.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>y(()=>import("./C-_shW-Y.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>y(()=>import("./LGGdnPYs.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>y(()=>import("./B74Y8nHz.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>y(()=>import("./BzJJZx-M.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>y(()=>import("./BXkSAIEj.js"),[],import.meta.url)},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>y(()=>import("./BgDCqdQA.js"),[],import.meta.url)},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>y(()=>import("./C8M2exoo.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>y(()=>import("./DHJKELXO.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>y(()=>import("./Cuk6v7N8.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>y(()=>import("./DH5Ifo-i.js"),[],import.meta.url)},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>y(()=>import("./E3gJ1_iC.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>y(()=>import("./DAi9KRSo.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>y(()=>import("./D7oLnXFd.js"),[],import.meta.url)},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>y(()=>import("./BfjtVDDH.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>y(()=>import("./DnULxvSX.js"),[],import.meta.url)},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>y(()=>import("./RXHOmnpW.js"),[],import.meta.url)},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>y(()=>import("./zchoCBdH.js"),[],import.meta.url)},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>y(()=>import("./2aygx1xg.js"),[],import.meta.url)},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>y(()=>import("./DUszq2jm.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>y(()=>import("./w1el_4yc.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>y(()=>import("./D5KoaKCx.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>y(()=>import("./BfHTSMKl.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>y(()=>import("./B0m2ddpp.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>y(()=>import("./CyktbL80.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>y(()=>import("./Csfq5Kiy.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>y(()=>import("./CafNBF8u.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>y(()=>import("./CTRr51gU.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>y(()=>import("./CQWsIgnU.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>y(()=>import("./C6J8XiCD.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>y(()=>import("./Ddv68eIx.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>y(()=>import("./GBQ2dnAY.js"),[],import.meta.url)},{id:"one-light",displayName:"One Light",type:"light",import:()=>y(()=>import("./PoHY5YXO.js"),[],import.meta.url)},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>y(()=>import("./3e1v2bzS.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>y(()=>import("./CS3Unz2-.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>y(()=>import("./2pWuV6-S.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>y(()=>import("./CmCqftbK.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>y(()=>import("./Ds-gbosJ.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>y(()=>import("./CjDtw9vr.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>y(()=>import("./BthQWCQV.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>y(()=>import("./DqwNpetd.js"),[],import.meta.url)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>y(()=>import("./Bw305WKR.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>y(()=>import("./CmY0Y6Yh.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>y(()=>import("./DZQMDcrx.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>y(()=>import("./CbfX1IO0.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>y(()=>import("./DBQeEorK.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>y(()=>import("./BEBZ7ncR.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>y(()=>import("./Bkuqu6BP.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>y(()=>import("./D0r3Knsf.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>y(()=>import("./CVO1_9PV.js"),[],import.meta.url)}],Sb=Object.fromEntries(Cb.map(e=>[e.id,e.import]));let Mt=class extends Error{constructor(t){super(t),this.name="ShikiError"}},cl=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Ab(){return 2147483648}function xb(){return typeof performance<"u"?performance.now():Date.now()}const Pb=(e,t)=>e+(t-e%t)%t;async function Rb(e){let t,n;const r={};function o(p){n=p,r.HEAPU8=new Uint8Array(p),r.HEAPU32=new Uint32Array(p)}function i(p,h,m){r.HEAPU8.copyWithin(p,h,h+m)}function s(p){try{return t.grow(p-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function a(p){const h=r.HEAPU8.length;p=p>>>0;const m=Ab();if(p>m)return!1;for(let _=1;_<=4;_*=2){let v=h*(1+.2/_);v=Math.min(v,p+100663296);const E=Math.min(m,Pb(Math.max(p,v),65536));if(s(E))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(p,h,m=1024){const _=h+m;let v=h;for(;p[v]&&!(v>=_);)++v;if(v-h>16&&p.buffer&&l)return l.decode(p.subarray(h,v));let E="";for(;h<v;){let g=p[h++];if(!(g&128)){E+=String.fromCharCode(g);continue}const w=p[h++]&63;if((g&224)===192){E+=String.fromCharCode((g&31)<<6|w);continue}const C=p[h++]&63;if((g&240)===224?g=(g&15)<<12|w<<6|C:g=(g&7)<<18|w<<12|C<<6|p[h++]&63,g<65536)E+=String.fromCharCode(g);else{const R=g-65536;E+=String.fromCharCode(55296|R>>10,56320|R&1023)}}return E}function u(p,h){return p?c(r.HEAPU8,p,h):""}const f={emscripten_get_now:xb,emscripten_memcpy_big:i,emscripten_resize_heap:a,fd_write:()=>0};async function d(){const h=await e({env:f,wasi_snapshot_preview1:f});t=h.memory,o(t.buffer),Object.assign(r,h),r.UTF8ToString=u}return await d(),r}let Ve=null;function kb(e){throw new cl(e.UTF8ToString(e.getLastOnigError()))}class Ji{constructor(t){Re(this,"utf16Length");Re(this,"utf8Length");Re(this,"utf16Value");Re(this,"utf8Value");Re(this,"utf16OffsetToUtf8");Re(this,"utf8OffsetToUtf16");const n=t.length,r=Ji._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[r]=n);const a=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}o&&(i[c]=l,d&&(i[c+1]=l),f<=127?s[l+0]=c:f<=2047?(s[l+0]=c,s[l+1]=c):f<=65535?(s[l+0]=c,s[l+1]=c,s[l+2]=c):(s[l+0]=c,s[l+1]=c,s[l+2]=c,s[l+3]=c)),f<=127?a[l++]=f:f<=2047?(a[l++]=192|(f&1984)>>>6,a[l++]=128|(f&63)>>>0):f<=65535?(a[l++]=224|(f&61440)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0):(a[l++]=240|(f&1835008)>>>18,a[l++]=128|(f&258048)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,a=!1;if(i>=55296&&i<=56319&&r+1<o){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(s=(i-55296<<10)+65536|l-56320,a=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,a&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Ke=class Ke{constructor(t){Re(this,"id",++Ke.LAST_ID);Re(this,"_onigBinding");Re(this,"content");Re(this,"utf16Length");Re(this,"utf8Length");Re(this,"utf16OffsetToUtf8");Re(this,"utf8OffsetToUtf16");Re(this,"ptr");if(!Ve)throw new cl("Must invoke loadWasm first.");this._onigBinding=Ve,this.content=t;const n=new Ji(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Ke._sharedPtrInUse?(Ke._sharedPtr||(Ke._sharedPtr=Ve.omalloc(1e4)),Ke._sharedPtrInUse=!0,Ve.HEAPU8.set(n.utf8Value,Ke._sharedPtr),this.ptr=Ke._sharedPtr):this.ptr=n.createString(Ve)}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===Ke._sharedPtr?Ke._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Re(Ke,"LAST_ID",0),Re(Ke,"_sharedPtr",0),Re(Ke,"_sharedPtrInUse",!1);let mi=Ke;class Lb{constructor(t){Re(this,"_onigBinding");Re(this,"_ptr");if(!Ve)throw new cl("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const c=new Ji(t[a]);n[a]=c.createString(Ve),r[a]=c.utf8Length}const o=Ve.omalloc(4*t.length);Ve.HEAPU32.set(n,o/4);const i=Ve.omalloc(4*t.length);Ve.HEAPU32.set(r,i/4);const s=Ve.createOnigScanner(o,i,t.length);for(let a=0,l=t.length;a<l;a++)Ve.ofree(n[a]);Ve.ofree(i),Ve.ofree(o),s===0&&kb(Ve),this._onigBinding=Ve,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=0;if(typeof r=="number"&&(o=r),typeof t=="string"){t=new mi(t);const i=this._findNextMatchSync(t,n,!1,o);return t.dispose(),i}return this._findNextMatchSync(t,n,!1,o)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding,s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o);if(s===0)return null;const a=i.HEAPU32;let l=s/4;const c=a[l++],u=a[l++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(a[l++]),h=t.convertUtf8OffsetToUtf16(a[l++]);f[d]={start:p,end:h,length:h-p}}return{index:c,captureIndices:f}}}function Ob(e){return typeof e.instantiator=="function"}function Ib(e){return typeof e.default=="function"}function Nb(e){return typeof e.data<"u"}function Db(e){return typeof Response<"u"&&e instanceof Response}function $b(e){var t;return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&((t=Buffer.isBuffer)==null?void 0:t.call(Buffer,e))||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let So;function Mb(e){if(So)return So;async function t(){Ve=await Rb(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),Ob(r)?r=await r.instantiator(n):Ib(r)?r=await r.default(n):(Nb(r)&&(r=r.data),Db(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await Vb(r)(n):r=await Hb(r)(n):$b(r)?r=await bs(r)(n):r instanceof WebAssembly.Module?r=await bs(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await bs(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return So=t(),So}function bs(e){return t=>WebAssembly.instantiate(e,t)}function Vb(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Hb(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}let Fb;function Bb(){return Fb}async function cp(e){return e&&await Mb(e),{createScanner(t){return new Lb(t)},createString(t){return new mi(t)}}}function jb(e){return ul(e)}function ul(e){return Array.isArray(e)?Ub(e):typeof e=="object"?Wb(e):e}function Ub(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=ul(e[n]);return t}function Wb(e){let t={};for(let n in e)t[n]=ul(e[n]);return t}function up(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function fp(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?fp(e.substring(0,e.length-1)):e.substr(~t+1)}var ws=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ao=class{static hasCaptures(e){return e===null?!1:(ws.lastIndex=0,ws.test(e))}static replaceCaptures(e,t,n){return e.replace(ws,(r,o,i,s)=>{let a=n[parseInt(o||i,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(s){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function dp(e,t){return e<t?-1:e>t?1:0}function pp(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let o=0;o<n;o++){let i=dp(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function Xc(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 hp(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var mp=class{constructor(e){this.fn=e,this.cache=new Map}get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},gi=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n,this._cachedMatchRoot=new mp(r=>this._root.match(r))}static createFromRawTheme(e,t){return this.createFromParsedTheme(qb(e),t)}static createFromParsedTheme(e,t){return Jb(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(o=>Gb(e.parent,o.parentScopes));return r?new gp(r.fontStyle,r.foreground,r.background):null}},Es=class jo{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new jo(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new jo(n,t[r]);return n}push(t){return new jo(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 Gb(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],o=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],o=!0}for(;e&&!zb(e.scopeName,r);){if(o)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function zb(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var gp=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function qb(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let s=t[o];if(!s.settings)continue;let a;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(s.scope)?a=s.scope:a=[""];let l=-1;if(typeof s.settings.fontStyle=="string"){l=0;let f=s.settings.fontStyle.split(" ");for(let d=0,p=f.length;d<p;d++)switch(f[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 s.settings.foreground=="string"&&Xc(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&Xc(s.settings.background)&&(u=s.settings.background);for(let f=0,d=a.length;f<d;f++){let h=a[f].trim().split(" "),m=h[h.length-1],_=null;h.length>1&&(_=h.slice(0,h.length-1),_.reverse()),n[r++]=new Kb(m,_,o,l,c,u)}}return n}var Kb=class{constructor(e,t,n,r,o,i){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=o,this.background=i}},Nt=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(Nt||{});function Jb(e,t){e.sort((l,c)=>{let u=dp(l.scope,c.scope);return u!==0||(u=pp(l.parentScopes,c.parentScopes),u!==0)?u: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 i=new Xb(t),s=new gp(n,i.getId(r),i.getId(o)),a=new Qb(new ca(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let u=e[l];a.insert(0,u.scope,u.parentScopes,u.fontStyle,i.getId(u.foreground),i.getId(u.background))}return new gi(i,s,a)}var Xb=class{constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},Yb=Object.freeze([]),ca=class _p{constructor(t,n,r,o,i){this.scopeDepth=t,this.parentScopes=n||Yb,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new _p(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)}},Qb=class ua{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,o=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[o]===">"&&o++,!(r>=t.parentScopes.length||o>=n.parentScopes.length);){const i=n.parentScopes[o].length-t.parentScopes[r].length;if(i!==0)return i;r++,o++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),o,i;if(r===-1?(o=t,i=""):(o=t.substring(0,r),i=t.substring(r+1)),this._children.hasOwnProperty(o))return this._children[o].match(i)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(ua._cmpBySpecificity),n}insert(t,n,r,o,i,s){if(n===""){this._doInsertHere(t,r,o,i,s);return}let a=n.indexOf("."),l,c;a===-1?(l=n,c=""):(l=n.substring(0,a),c=n.substring(a+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new ua(this._mainRule.clone(),ca.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,r,o,i,s)}_doInsertHere(t,n,r,o,i){if(n===null){this._mainRule.acceptOverwrite(t,r,o,i);return}for(let s=0,a=this._rulesWithParentScopes.length;s<a;s++){let l=this._rulesWithParentScopes[s];if(pp(l.parentScopes,n)===0){l.acceptOverwrite(t,r,o,i);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new ca(t,n,r,o,i))}},cr=class rt{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=rt.getLanguageId(t),r=rt.getTokenType(t),o=rt.getFontStyle(t),i=rt.getForeground(t),s=rt.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:o,foreground:i,background:s})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,o,i,s,a){let l=rt.getLanguageId(t),c=rt.getTokenType(t),u=rt.containsBalancedBrackets(t)?1:0,f=rt.getFontStyle(t),d=rt.getForeground(t),p=rt.getBackground(t);return n!==0&&(l=n),r!==8&&(c=r),o!==null&&(u=o?1:0),i!==-1&&(f=i),s!==0&&(d=s),a!==0&&(p=a),(l<<0|c<<8|u<<10|f<<11|d<<15|p<<24)>>>0}};function _i(e,t){const n=[],r=Zb(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=s();if(n.push({matcher:c,priority:l}),o!==",")break;o=r.next()}return n;function i(){if(o==="-"){o=r.next();const l=i();return c=>!!l&&!l(c)}if(o==="("){o=r.next();const l=a();return o===")"&&(o=r.next()),l}if(Yc(o)){const l=[];do l.push(o),o=r.next();while(Yc(o));return c=>t(l,c)}return null}function s(){const l=[];let c=i();for(;c;)l.push(c),c=i();return u=>l.every(f=>f(u))}function a(){const l=[];let c=s();for(;c&&(l.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=s()}return u=>l.some(f=>f(u))}}function Yc(e){return!!e&&!!e.match(/[\w\.:]+/)}function Zb(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 yp(e){typeof e.dispose=="function"&&e.dispose()}var Jr=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},ew=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},tw=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},nw=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Jr(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new tw;for(const n of e)rw(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Jr){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function rw(e,t,n,r){const o=n.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=n.lookup(t);e instanceof Jr?Uo({baseGrammar:i,selfGrammar:o},r):fa(e.ruleName,{baseGrammar:i,selfGrammar:o,repository:o.repository},r);const s=n.injections(e.scopeName);if(s)for(const a of s)r.add(new Jr(a))}function fa(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];yi([r],t,n)}}function Uo(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&yi(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&yi(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function yi(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?up({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&yi(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=vp(i);switch(s.kind){case 0:Uo({...t,selfGrammar:t.baseGrammar},n);break;case 1:Uo(t,n);break;case 2:fa(s.ruleName,{...t,repository:o},n);break;case 3:case 4:const a=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:o};s.kind===4?fa(s.ruleName,l,n):Uo(l,n)}else s.kind===4?n.add(new ew(s.scopeName,s.ruleName)):n.add(new Jr(s.scopeName));break}}}var ow=class{constructor(){this.kind=0}},iw=class{constructor(){this.kind=1}},sw=class{constructor(e){this.ruleName=e,this.kind=2}},aw=class{constructor(e){this.scopeName=e,this.kind=3}},lw=class{constructor(e,t){this.scopeName=e,this.ruleName=t,this.kind=4}};function vp(e){if(e==="$base")return new ow;if(e==="$self")return new iw;const t=e.indexOf("#");if(t===-1)return new aw(e);if(t===0)return new sw(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new lw(n,r)}}var cw=/\\(\d+)/,Qc=/\\(\d+)/g,uw=-1,bp=-2;var ao=class{constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Ao.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Ao.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${fp(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Ao.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ao.replaceCaptures(this._contentName,e,t)}},fw=class extends ao{constructor(e,t,n,r,o){super(e,t,n,r),this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},dw=class extends ao{constructor(e,t,n,r,o){super(e,t,n,null),this._match=new Xr(r,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Yr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Zc=class extends ao{constructor(e,t,n,r,o){super(e,t,n,r),this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Yr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},da=class extends ao{constructor(e,t,n,r,o,i,s,a,l,c){super(e,t,n,r),this._begin=new Xr(o,this.id),this.beginCaptures=i,this._end=new Xr(s||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=l||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.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(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Yr;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},vi=class extends ao{constructor(e,t,n,r,o,i,s,a,l){super(e,t,n,r),this._begin=new Xr(o,this.id),this.beginCaptures=i,this.whileCaptures=a,this._while=new Xr(s,bp),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Yr;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Yr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}},wp=class Be{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new fw(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new dw(t.$vscodeTextmateLocation,t.id,t.name,t.match,Be._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=up({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new Zc(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Be._compilePatterns(i,n,r))}return t.while?new vi(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Be._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Be._compileCaptures(t.whileCaptures||t.captures,n,r),Be._compilePatterns(t.patterns,n,r)):new da(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Be._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Be._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Be._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let i=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const a=parseInt(s,10);a>i&&(i=a)}for(let s=0;s<=i;s++)o[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const a=parseInt(s,10);let l=0;t[s].patterns&&(l=Be.getCompiledRuleId(t[s],n,r)),o[a]=Be.createCaptureRule(n,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,l)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let i=0,s=t.length;i<s;i++){const a=t[i];let l=-1;if(a.include){const c=vp(a.include);switch(c.kind){case 0:case 1:l=Be.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=Be.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(f,r);if(p)if(d){let h=p.repository[d];h&&(l=Be.getCompiledRuleId(h,n,p.repository))}else l=Be.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else l=Be.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof Zc||c instanceof da||c instanceof vi)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(l)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}},Xr=class Ep{constructor(t,n){if(t){const r=t.length;let o=0,i=[],s=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(i.push(t.substring(o,a)),i.push("$(?!\\n)(?<!\\n)"),o=a+2):(c==="A"||c==="G")&&(s=!0),a++}this.hasAnchor=s,o===0?this.source=t:(i.push(t.substring(o,r)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=cw.test(this.source)}clone(){return new Ep(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 Qc.lastIndex=0,this.source.replace(Qc,(o,i)=>hp(r[parseInt(i,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],i,s,a,l;for(i=0,s=this.source.length;i<s;i++)a=this.source.charAt(i),t[i]=a,n[i]=a,r[i]=a,o[i]=a,a==="\\"&&i+1<s&&(l=this.source.charAt(i+1),l==="A"?(t[i+1]="￿",n[i+1]="￿",r[i+1]="A",o[i+1]="A"):l==="G"?(t[i+1]="￿",n[i+1]="G",r[i+1]="￿",o[i+1]="G"):(t[i+1]=l,n[i+1]=l,r[i+1]=l,o[i+1]=l),i++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Yr=class{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(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new eu(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(o=>o.resolveAnchors(t,n));return new eu(e,r,this._items.map(o=>o.ruleId))}},eu=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
20
+ `)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},pa=class{constructor(e,t){this.languageId=e,this.tokenType=t}},fl=class ha{constructor(t,n){this._getBasicScopeAttributes=new mp(r=>{const o=this._scopeToLanguage(r),i=this._toStandardTokenType(r);return new pa(o,i)}),this._defaultAttributes=new pa(t,8),this._embeddedLanguagesMatcher=new hw(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?ha._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(ha.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!")}};fl._NULL_SCOPE_METADATA=new pa(0,0);fl.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var pw=fl,hw=class{constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>hp(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},tu=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function Tp(e,t,n,r,o,i,s,a){const l=t.content.length;let c=!1,u=-1;if(s){const p=mw(e,t,n,r,o,i);o=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new tu(o,!0);d()}return new tu(o,!1);function d(){const p=gw(e,t,n,r,o,u);if(!p){i.produce(o,l),c=!0;return}const h=p.captureIndices,m=p.matchedRuleId,_=h&&h.length>0?h[0].end>r:!1;if(m===uw){const v=o.getRule(e);i.produce(o,h[0].start),o=o.withContentNameScopesList(o.nameScopesList),Er(e,t,n,o,i,v.endCaptures,h),i.produce(o,h[0].end);const E=o;if(o=o.parent,u=E.getAnchorPos(),!_&&E.getEnterPos()===r){o=E,i.produce(o,l),c=!0;return}}else{const v=e.getRule(m);i.produce(o,h[0].start);const E=o,g=v.getName(t.content,h),w=o.contentNameScopesList.pushAttributed(g,e);if(o=o.push(m,r,u,h[0].end===l,null,w,w),v instanceof da){const C=v;Er(e,t,n,o,i,C.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const R=C.getContentName(t.content,h),I=w.pushAttributed(R,e);if(o=o.withContentNameScopesList(I),C.endHasBackReferences&&(o=o.withEndRule(C.getEndWithResolvedBackReferences(t.content,h))),!_&&E.hasSameRuleAs(o)){o=o.pop(),i.produce(o,l),c=!0;return}}else if(v instanceof vi){const C=v;Er(e,t,n,o,i,C.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const R=C.getContentName(t.content,h),I=w.pushAttributed(R,e);if(o=o.withContentNameScopesList(I),C.whileHasBackReferences&&(o=o.withEndRule(C.getWhileWithResolvedBackReferences(t.content,h))),!_&&E.hasSameRuleAs(o)){o=o.pop(),i.produce(o,l),c=!0;return}}else if(Er(e,t,n,o,i,v.captures,h),i.produce(o,h[0].end),o=o.pop(),!_){o=o.safePop(),i.produce(o,l),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function mw(e,t,n,r,o,i){let s=o.beginRuleCapturedEOL?0:-1;const a=[];for(let l=o;l;l=l.pop()){const c=l.getRule(e);c instanceof vi&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=vw(l.rule,e,l.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==bp){o=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(l.stack,f.captureIndices[0].start),Er(e,t,n,l.stack,i,l.rule.whileCaptures,f.captureIndices),i.produce(l.stack,f.captureIndices[0].end),s=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{o=l.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:s,isFirstLine:n}}function gw(e,t,n,r,o,i){const s=_w(e,t,n,r,o,i),a=e.getInjections();if(a.length===0)return s;const l=yw(a,e,t,n,r,o,i);if(!l)return s;if(!s)return l;const c=s.captureIndices[0].start,u=l.captureIndices[0].start;return u<c||l.priorityMatch&&u===c?l:s}function _w(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:a,findOptions:l}=Cp(s,e,o.endRule,n,r===i),c=a.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function yw(e,t,n,r,o,i,s){let a=Number.MAX_VALUE,l=null,c,u=0;const f=i.contentNameScopesList.getScopeNames();for(let d=0,p=e.length;d<p;d++){const h=e[d];if(!h.matcher(f))continue;const m=t.getRule(h.ruleId),{ruleScanner:_,findOptions:v}=Cp(m,t,null,r,o===s),E=_.findNextMatchSync(n,o,v);if(!E)continue;const g=E.captureIndices[0].start;if(!(g>=a)&&(a=g,l=E.captureIndices,c=E.ruleId,u=h.priority,a===o))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function Cp(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function vw(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function Er(e,t,n,r,o,i,s){if(i.length===0)return;const a=t.content,l=Math.min(i.length,s.length),c=[],u=s[0].end;for(let f=0;f<l;f++){const d=i[f];if(d===null)continue;const p=s[f];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,p.start):o.produce(r,p.start),d.retokenizeCapturedWithRuleId){const m=d.getName(a,s),_=r.contentNameScopesList.pushAttributed(m,e),v=d.getContentName(a,s),E=_.pushAttributed(v,e),g=r.push(d.retokenizeCapturedWithRuleId,p.start,-1,!1,null,_,E),w=e.createOnigString(a.substring(0,p.end));Tp(e,w,n&&p.start===0,p.start,g,o,!1,0),yp(w);continue}const h=d.getName(a,s);if(h!==null){const _=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);c.push(new bw(_,p.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var bw=class{constructor(e,t){this.scopes=e,this.endPos=t}};function ww(e,t,n,r,o,i,s,a){return new Tw(e,t,n,r,o,i,s,a)}function nu(e,t,n,r,o){const i=_i(t,bi),s=wp.getCompiledRuleId(n,r,o.repository);for(const a of i)e.push({debugSelector:t,matcher:a.matcher,ruleId:s,grammar:o,priority:a.priority})}function bi(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(Ew(t[o],r))return n=o+1,!0;return!1})}function Ew(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]==="."}var Tw=class{constructor(e,t,n,r,o,i,s,a){if(this._rootScopeName=e,this.balancedBracketSelectors=i,this._onigLib=a,this._basicScopeAttributesProvider=new pw(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=ru(t,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const l of Object.keys(o)){const c=_i(l,bi);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:o[l]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:o=>o===this._rootScopeName?this._grammar:this.getExternalGrammar(o),injections:o=>this._grammarRepository.injections(o)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const o=r.injections;if(o)for(let s in o)nu(t,s,o[s],this,r);const i=this._grammarRepository.injections(n);i&&i.forEach(s=>{const a=this.getExternalGrammar(s);if(a){const l=a.injectionSelector;l&&nu(t,l,a,this,a)}})}return t.sort((o,i)=>o.priority-i.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=ru(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=wp.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!t||t===ga.NULL){o=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),f=cr.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),d=this.getRule(this._rootId).getName(null,null);let p;d?p=Ir.createRootAndLookUpScopeName(d,f,this):p=Ir.createRoot("unknown",f),t=new ga(null,this._rootId,-1,-1,!1,null,p,p)}else o=!1,t.reset();e=e+`
21
+ `;const i=this.createOnigString(e),s=i.content.length,a=new Sw(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=Tp(this,i,o,0,t,a,!0,r);return yp(i),{lineLength:s,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function ru(e,t){return e=jb(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}var Ir=class yt{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,o=(t==null?void 0:t.scopePath)??null;for(const i of n)o=Es.push(o,i.scopeNames),r=new yt(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new yt(null,new Es(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new Es(null,t),s=r.themeProvider.themeMatch(i),a=yt.mergeAttributes(n,o,s);return new yt(null,i,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return yt.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let o=-1,i=0,s=0;return r!==null&&(o=r.fontStyle,i=r.foregroundId,s=r.backgroundId),cr.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return yt._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=yt._pushAttributed(o,i,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),i=t.scopePath.push(n),s=r.themeProvider.themeMatch(i),a=yt.mergeAttributes(t.tokenAttributes,o,s);return new yt(t,i,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((o=r.parent)==null?void 0:o.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}},ma=class Wn{constructor(t,n,r,o,i,s,a,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=a,this.contentNameScopesList=l,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:Wn._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Ir.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(){Wn._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,a){return new Wn(this,t,n,r,o,i,s,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){var r,o;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new Wn(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=Ir.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new Wn(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Ir.fromExtension(r,n.contentNameScopesList))}};ma.NULL=new ma(null,0,0,0,!1,null,null,null);var ga=ma,Cw=class{constructor(e,t){this.allowAny=!1,this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):_i(n,bi).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>_i(n,bi).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},Sw=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var r;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let o=(e==null?void 0:e.tokenAttributes)??0,i=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const s=(e==null?void 0:e.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(s)&&(o=cr.set(o,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(s))}if(i&&(o=cr.set(o,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===o){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(o),this._lastTokenEndIndex=t;return}const n=(e==null?void 0:e.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,o=this._binaryTokens.length;r<o;r++)n[r]=this._binaryTokens[r];return n}},Aw=class{constructor(e,t){this._onigLib=t,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=e}dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,o){if(!this._grammars.has(e)){let i=this._rawGrammars.get(e);if(!i)return null;this._grammars.set(e,ww(e,i,t,n,r,o,this,this._onigLib))}return this._grammars.get(e)}},xw=class{constructor(t){this._options=t,this._syncRegistry=new Aw(gi.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(gi.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 Cw(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,o,i){const s=new nw(this._syncRegistry,t);for(;s.Q.length>0;)s.Q.map(a=>this._loadSingleGrammar(a.scopeName)),s.processQueue();return this._grammarForScopeName(t,n,r,o,i)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,i)}},_a=ga.NULL;const Pw=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class lo{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}lo.prototype.property={};lo.prototype.normal={};lo.prototype.space=null;function Sp(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 lo(n,r,t)}function ya(e){return e.toLowerCase()}class ct{constructor(t,n){this.property=t,this.attribute=n}}ct.prototype.space=null;ct.prototype.boolean=!1;ct.prototype.booleanish=!1;ct.prototype.overloadedBoolean=!1;ct.prototype.number=!1;ct.prototype.commaSeparated=!1;ct.prototype.spaceSeparated=!1;ct.prototype.commaOrSpaceSeparated=!1;ct.prototype.mustUseProperty=!1;ct.prototype.defined=!1;let Rw=0;const ie=Mn(),ke=Mn(),Ap=Mn(),F=Mn(),we=Mn(),tr=Mn(),et=Mn();function Mn(){return 2**++Rw}const va=Object.freeze(Object.defineProperty({__proto__:null,boolean:ie,booleanish:ke,commaOrSpaceSeparated:et,commaSeparated:tr,number:F,overloadedBoolean:Ap,spaceSeparated:we},Symbol.toStringTag,{value:"Module"})),Ts=Object.keys(va);class dl extends ct{constructor(t,n,r,o){let i=-1;if(super(t,n),ou(this,"space",o),typeof r=="number")for(;++i<Ts.length;){const s=Ts[i];ou(this,Ts[i],(r&va[s])===va[s])}}}dl.prototype.defined=!0;function ou(e,t,n){n&&(e[t]=n)}const kw={}.hasOwnProperty;function dr(e){const t={},n={};let r;for(r in e.properties)if(kw.call(e.properties,r)){const o=e.properties[r],i=new dl(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[ya(r)]=r,n[ya(i.attribute)]=r}return new lo(t,n,e.space)}const xp=dr({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}}),Pp=dr({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Rp(e,t){return t in e?e[t]:t}function kp(e,t){return Rp(e,t.toLowerCase())}const Lp=dr({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:kp,properties:{xmlns:null,xmlnsXLink:null}}),Op=dr({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ke,ariaAutoComplete:null,ariaBusy:ke,ariaChecked:ke,ariaColCount:F,ariaColIndex:F,ariaColSpan:F,ariaControls:we,ariaCurrent:null,ariaDescribedBy:we,ariaDetails:null,ariaDisabled:ke,ariaDropEffect:we,ariaErrorMessage:null,ariaExpanded:ke,ariaFlowTo:we,ariaGrabbed:ke,ariaHasPopup:null,ariaHidden:ke,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:we,ariaLevel:F,ariaLive:null,ariaModal:ke,ariaMultiLine:ke,ariaMultiSelectable:ke,ariaOrientation:null,ariaOwns:we,ariaPlaceholder:null,ariaPosInSet:F,ariaPressed:ke,ariaReadOnly:ke,ariaRelevant:null,ariaRequired:ke,ariaRoleDescription:we,ariaRowCount:F,ariaRowIndex:F,ariaRowSpan:F,ariaSelected:ke,ariaSetSize:F,ariaSort:null,ariaValueMax:F,ariaValueMin:F,ariaValueNow:F,ariaValueText:null,role:null}}),Lw=dr({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:kp,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:tr,acceptCharset:we,accessKey:we,action:null,allow:null,allowFullScreen:ie,allowPaymentRequest:ie,allowUserMedia:ie,alt:null,as:null,async:ie,autoCapitalize:null,autoComplete:we,autoFocus:ie,autoPlay:ie,blocking:we,capture:null,charSet:null,checked:ie,cite:null,className:we,cols:F,colSpan:null,content:null,contentEditable:ke,controls:ie,controlsList:we,coords:F|tr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ie,defer:ie,dir:null,dirName:null,disabled:ie,download:Ap,draggable:ke,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ie,formTarget:null,headers:we,height:F,hidden:ie,high:F,href:null,hrefLang:null,htmlFor:we,httpEquiv:we,id:null,imageSizes:null,imageSrcSet:null,inert:ie,inputMode:null,integrity:null,is:null,isMap:ie,itemId:null,itemProp:we,itemRef:we,itemScope:ie,itemType:we,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ie,low:F,manifest:null,max:null,maxLength:F,media:null,method:null,min:null,minLength:F,multiple:ie,muted:ie,name:null,nonce:null,noModule:ie,noValidate:ie,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:ie,optimum:F,pattern:null,ping:we,placeholder:null,playsInline:ie,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ie,referrerPolicy:null,rel:we,required:ie,reversed:ie,rows:F,rowSpan:F,sandbox:we,scope:null,scoped:ie,seamless:ie,selected:ie,shadowRootClonable:ie,shadowRootDelegatesFocus:ie,shadowRootMode:null,shape:null,size:F,sizes:null,slot:null,span:F,spellCheck:ke,src:null,srcDoc:null,srcLang:null,srcSet:null,start:F,step:null,style:null,tabIndex:F,target:null,title:null,translate:null,type:null,typeMustMatch:ie,useMap:null,value:ke,width:F,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:we,axis:null,background:null,bgColor:null,border:F,borderColor:null,bottomMargin:F,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ie,declare:ie,event:null,face:null,frame:null,frameBorder:null,hSpace:F,leftMargin:F,link:null,longDesc:null,lowSrc:null,marginHeight:F,marginWidth:F,noResize:ie,noHref:ie,noShade:ie,noWrap:ie,object:null,profile:null,prompt:null,rev:null,rightMargin:F,rules:null,scheme:null,scrolling:ke,standby:null,summary:null,text:null,topMargin:F,valueType:null,version:null,vAlign:null,vLink:null,vSpace:F,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ie,disableRemotePlayback:ie,prefix:null,property:null,results:F,security:null,unselectable:null}}),Ow=dr({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:Rp,properties:{about:et,accentHeight:F,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:F,amplitude:F,arabicForm:null,ascent:F,attributeName:null,attributeType:null,azimuth:F,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:F,by:null,calcMode:null,capHeight:F,className:we,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:F,diffuseConstant:F,direction:null,display:null,dur:null,divisor:F,dominantBaseline:null,download:ie,dx:null,dy:null,edgeMode:null,editable:null,elevation:F,enableBackground:null,end:null,event:null,exponent:F,externalResourcesRequired:null,fill:null,fillOpacity:F,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:tr,g2:tr,glyphName:tr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:F,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:F,horizOriginX:F,horizOriginY:F,id:null,ideographic:F,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:F,k:F,k1:F,k2:F,k3:F,k4:F,kernelMatrix:et,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:F,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:F,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:F,overlineThickness:F,paintOrder:null,panose1:null,path:null,pathLength:F,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:we,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:F,pointsAtY:F,pointsAtZ:F,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:et,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:et,rev:et,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:et,requiredFeatures:et,requiredFonts:et,requiredFormats:et,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:F,specularExponent:F,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:F,strikethroughThickness:F,string:null,stroke:null,strokeDashArray:et,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:F,strokeOpacity:F,strokeWidth:null,style:null,surfaceScale:F,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:et,tabIndex:F,tableValues:null,target:null,targetX:F,targetY:F,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:et,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:F,underlineThickness:F,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:F,values:null,vAlphabetic:F,vMathematical:F,vectorEffect:null,vHanging:F,vIdeographic:F,version:null,vertAdvY:F,vertOriginX:F,vertOriginY:F,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:F,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Iw=/^data[-\w.:]+$/i,iu=/-[a-z]/g,Nw=/[A-Z]/g;function Dw(e,t){const n=ya(t);let r=t,o=ct;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Iw.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(iu,Mw);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!iu.test(i)){let s=i.replace(Nw,$w);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=dl}return new o(r,t)}function $w(e){return"-"+e.toLowerCase()}function Mw(e){return e.charAt(1).toUpperCase()}const Vw=Sp([Pp,xp,Lp,Op,Lw],"html"),Ip=Sp([Pp,xp,Lp,Op,Ow],"svg"),su={}.hasOwnProperty;function Hw(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const a=r.handlers;if(o&&su.call(o,e)){const l=String(o[e]);s=su.call(a,l)?a[l]:r.unknown}if(s)return s.call(this,o,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Fw=/["&'<>`]/g,Bw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jw=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Uw=/[|\\{}()[\]^$+*?.]/g,au=new WeakMap;function Ww(e,t){if(e=e.replace(t.subset?Gw(t.subset):Fw,r),t.subset||t.escapeOnly)return e;return e.replace(Bw,n).replace(jw,r);function n(o,i,s){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),t)}function r(o,i,s){return t.format(o.charCodeAt(0),s.charCodeAt(i+1),t)}}function Gw(e){let t=au.get(e);return t||(t=zw(e),au.set(e,t)),t}function zw(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Uw,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const qw=/[\dA-Fa-f]/;function Kw(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!qw.test(String.fromCharCode(t))?r:r+";"}const Jw=/\d/;function Xw(e,t,n){const r="&#"+String(e);return n&&t&&!Jw.test(String.fromCharCode(t))?r:r+";"}const Yw=["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"],Cs={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:"€"},Qw=["cent","copy","divide","gt","lt","not","para","times"],Np={}.hasOwnProperty,ba={};let xo;for(xo in Cs)Np.call(Cs,xo)&&(ba[Cs[xo]]=xo);const Zw=/[^\dA-Za-z]/;function e1(e,t,n,r){const o=String.fromCharCode(e);if(Np.call(ba,o)){const i=ba[o],s="&"+i;return n&&Yw.includes(i)&&!Qw.includes(i)&&(!r||t&&t!==61&&Zw.test(String.fromCharCode(t)))?s:s+";"}return""}function t1(e,t,n){let r=Kw(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=e1(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=Xw(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function nr(e,t){return Ww(e,Object.assign({format:t1},t))}const n1=/^>|^->|<!--|-->|--!>|<!-$/g,r1=[">"],o1=["<",">"];function i1(e,t,n,r){return r.settings.bogusComments?"<?"+nr(e.value,Object.assign({},r.settings.characterReferences,{subset:r1}))+">":"<!--"+e.value.replace(n1,o)+"-->";function o(i){return nr(i,Object.assign({},r.settings.characterReferences,{subset:o1}))}}function s1(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function lu(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 a1(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function l1(e){return e.join(" ").trim()}const c1=/[ \t\n\f\r]/g;function pl(e){return typeof e=="object"?e.type==="text"?cu(e.value):!1:cu(e)}function cu(e){return e.replace(c1,"")===""}const $e=$p(1),Dp=$p(-1),u1=[];function $p(e){return t;function t(n,r,o){const i=n?n.children:u1;let s=(r||0)+e,a=i[s];if(!o)for(;a&&pl(a);)s+=e,a=i[s];return a}}const f1={}.hasOwnProperty;function Mp(e){return t;function t(n,r,o){return f1.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const hl=Mp({body:p1,caption:Ss,colgroup:Ss,dd:_1,dt:g1,head:Ss,html:d1,li:m1,optgroup:y1,option:v1,p:h1,rp:uu,rt:uu,tbody:w1,td:fu,tfoot:E1,th:fu,thead:b1,tr:T1});function Ss(e,t,n){const r=$e(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&pl(r.value.charAt(0)))}function d1(e,t,n){const r=$e(n,t);return!r||r.type!=="comment"}function p1(e,t,n){const r=$e(n,t);return!r||r.type!=="comment"}function h1(e,t,n){const r=$e(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 m1(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&r.tagName==="li"}function g1(e,t,n){const r=$e(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function _1(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function uu(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function y1(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function v1(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function b1(e,t,n){const r=$e(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function w1(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function E1(e,t,n){return!$e(n,t)}function T1(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function fu(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const C1=Mp({body:x1,colgroup:P1,head:A1,html:S1,tbody:R1});function S1(e){const t=$e(e,-1);return!t||t.type!=="comment"}function A1(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function x1(e){const t=$e(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&pl(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function P1(e,t,n){const r=Dp(n,t),o=$e(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&hl(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function R1(e,t,n){const r=Dp(n,t),o=$e(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&hl(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Po={name:[[`
22
+ \f\r &/=>`.split(""),`
23
+ \f\r "&'/=>\``.split("")],[`\0
24
+ \f\r "&'/<=>`.split(""),`\0
25
+ \f\r "&'/<=>\``.split("")]],unquoted:[[`
26
+ \f\r &>`.split(""),`\0
27
+ \f\r "&'<=>\``.split("")],[`\0
28
+ \f\r "&'<=>\``.split(""),`\0
29
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function k1(e,t,n,r){const o=r.schema,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let s=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;o.space==="html"&&e.tagName==="svg"&&(r.schema=Ip);const c=L1(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!C1(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),s&&(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(u),!s&&(!i||!hl(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function L1(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=O1(e,o,t[o]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function O1(e,t,n){const r=Dw(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let s=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=nr(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Po.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?a1:l1)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=nr(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Po.unquoted[o][i]}))),a!==n&&(e.settings.quoteSmart&&lu(n,s)>lu(n,e.alternative)&&(s=e.alternative),a=s+nr(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Po.single:Po.double)[o][i],attribute:!0}))+s),l+(a&&"="+a))}const I1=["<","&"];function Vp(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:nr(e.value,Object.assign({},r.settings.characterReferences,{subset:I1}))}function N1(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Vp(e,t,n,r)}function D1(e,t,n,r){return r.all(e)}const $1=Hw("type",{invalid:M1,unknown:V1,handlers:{comment:i1,doctype:s1,element:k1,raw:N1,root:D1,text:Vp}});function M1(e){throw new Error("Expected node, not `"+e+"`")}function V1(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const H1={},F1={},B1=[];function j1(e,t){const n=H1,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:U1,all:W1,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||Pw,characterReferences:n.characterReferences||F1,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Ip:Vw,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function U1(e,t,n){return $1(e,t,n,this)}function W1(e){const t=[],n=e&&e.children||B1;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function G1(e){return Array.isArray(e)?e:[e]}function Xi(e,t=!1){var i;const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let s=0;s<n.length;s+=2){const a=t?n[s]+(n[s+1]||""):n[s];o.push([a,r]),r+=n[s].length,r+=((i=n[s+1])==null?void 0:i.length)||0}return o}function ml(e){return!e||["plaintext","txt","text","plain"].includes(e)}function Hp(e){return e==="ansi"||ml(e)}function gl(e){return e==="none"}function Fp(e){return gl(e)}function Bp(e,t){var n;if(!t)return e;e.properties||(e.properties={}),(n=e.properties).class||(n.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const r=Array.isArray(t)?t:t.split(/\s+/g);for(const o of r)o&&!e.properties.class.includes(o)&&e.properties.class.push(o);return e}function z1(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 q1(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,o)=>r-o);return n.length?e.map(r=>r.flatMap(o=>{const i=n.filter(s=>o.offset<s&&s<o.offset+o.content.length).map(s=>s-o.offset).sort((s,a)=>s-a);return i.length?z1(o,i):o})):e}async function jp(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function wi(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[o,i]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof i=="string"?n[o]=i:o===r&&Object.assign(n,i);return n}function Sn(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function Up(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Nt.Italic&&(t["font-style"]="italic"),e.fontStyle&Nt.Bold&&(t["font-weight"]="bold"),e.fontStyle&Nt.Underline&&(t["text-decoration"]="underline")),t}function K1(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function J1(e){const t=Xi(e,!0).map(([o])=>o);function n(o){if(o===e.length)return{line:t.length-1,character:t[t.length-1].length};let i=o,s=0;for(const a of t){if(i<a.length)break;i-=a.length,s++}return{line:s,character:i}}function r(o,i){let s=0;for(let a=0;a<o;a++)s+=t[a].length;return s+=i,s}return{lines:t,indexToPos:n,posToIndex:r}}class qe extends Error{constructor(t){super(t),this.name="ShikiError"}}var X1=Object.defineProperty,Y1=(e,t,n)=>t in e?X1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,du=(e,t,n)=>(Y1(e,typeof t!="symbol"?t+"":t,n),n);const Wp=new WeakMap;function Yi(e,t){Wp.set(e,t)}function Qr(e){return Wp.get(e)}class pr{constructor(...t){if(du(this,"_stacks",{}),du(this,"lang"),t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,o]=t;this.lang=r,this._stacks={[o]:n}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new pr(Object.fromEntries(G1(n).map(r=>[r,_a])),t)}getInternalStack(t=this.theme){return this._stacks[t]}get scopes(){return pu(this._stacks[this.theme])}getScopes(t=this.theme){return pu(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.scopes}}}function pu(e){const t=[],n=new Set;function r(o){var s;if(n.has(o))return;n.add(o);const i=(s=o==null?void 0:o.nameScopesList)==null?void 0:s.scopeName;i&&t.push(i),o.parent&&r(o.parent)}return r(e),t}function Q1(e,t){if(!(e instanceof pr))throw new qe("Invalid grammar state");return e.getInternalStack(t)}function Z1(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(s){if(typeof s=="number"){if(s<0||s>n.source.length)throw new qe(`Invalid decoration offset: ${s}. Code length: ${n.source.length}`);return{...o.indexToPos(s),offset:s}}else{const a=o.lines[s.line];if(a===void 0)throw new qe(`Invalid decoration position ${JSON.stringify(s)}. Lines length: ${o.lines.length}`);if(s.character<0||s.character>a.length)throw new qe(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${a.length}`);return{...s,offset:o.posToIndex(s.line,s.character)}}};const o=J1(n.source),i=(n.options.decorations||[]).map(s=>({...s,start:r(s.start),end:r(s.end)}));eE(i),e.set(n.meta,{decorations:i,converter:o,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){var s;if(!((s=this.options.decorations)!=null&&s.length))return;const o=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return q1(n,o)},code(n){var u;if(!((u=this.options.decorations)!=null&&u.length))return;const r=t(this),o=Array.from(n.children).filter(f=>f.type==="element"&&f.tagName==="span");if(o.length!==r.converter.lines.length)throw new qe(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function i(f,d,p,h){const m=o[f];let _="",v=-1,E=-1;if(d===0&&(v=0),p===0&&(E=0),p===Number.POSITIVE_INFINITY&&(E=m.children.length),v===-1||E===-1)for(let w=0;w<m.children.length;w++)_+=Gp(m.children[w]),v===-1&&_.length===d&&(v=w+1),E===-1&&_.length===p&&(E=w+1);if(v===-1)throw new qe(`Failed to find start index for decoration ${JSON.stringify(h.start)}`);if(E===-1)throw new qe(`Failed to find end index for decoration ${JSON.stringify(h.end)}`);const g=m.children.slice(v,E);if(!h.alwaysWrap&&g.length===m.children.length)a(m,h,"line");else if(!h.alwaysWrap&&g.length===1&&g[0].type==="element")a(g[0],h,"token");else{const w={type:"element",tagName:"span",properties:{},children:g};a(w,h,"wrapper"),m.children.splice(v,g.length,w)}}function s(f,d){o[f]=a(o[f],d,"line")}function a(f,d,p){var _;const h=d.properties||{},m=d.transform||(v=>v);return f.tagName=d.tagName||"span",f.properties={...f.properties,...h,class:f.properties.class},(_=d.properties)!=null&&_.class&&Bp(f,d.properties.class),f=m(f,p)||f,f}const l=[],c=r.decorations.sort((f,d)=>d.start.offset-f.start.offset);for(const f of c){const{start:d,end:p}=f;if(d.line===p.line)i(d.line,d.character,p.character,f);else if(d.line<p.line){i(d.line,d.character,Number.POSITIVE_INFINITY,f);for(let h=d.line+1;h<p.line;h++)l.unshift(()=>s(h,f));i(p.line,0,p.character,f)}}l.forEach(f=>f())}}}function eE(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new qe(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const o=e[r],i=n.start.offset<o.start.offset&&o.start.offset<n.end.offset,s=n.start.offset<o.end.offset&&o.end.offset<n.end.offset,a=o.start.offset<n.start.offset&&n.start.offset<o.end.offset,l=o.start.offset<n.end.offset&&n.end.offset<o.end.offset;if(i||s||a||l){if(s&&s||a&&l)continue;throw new qe(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(o.start)} intersect.`)}}}}function Gp(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(Gp).join(""):""}const tE=[Z1()];function Ei(e){return[...e.transformers||[],...tE]}var An=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],As={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function nE(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 hu(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const i=[e[t+n++],e[t+n++],e[t+n]].map(s=>Number.parseInt(s));i.length===3&&!i.some(s=>Number.isNaN(s))&&(o={type:"rgb",rgb:i})}else if(r==="5"){const i=Number.parseInt(e[t+n]);Number.isNaN(i)||(o={type:"table",index:Number(i)})}return[n,o]}function rE(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)As[o]&&t.push({type:"setDecoration",value:As[o]});else if(o<=29){const i=As[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:An[o-30]}});else if(o===38){const[i,s]=hu(e,n);s&&t.push({type:"setForegroundColor",value:s}),n+=i}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:An[o-40]}});else if(o===48){const[i,s]=hu(e,n);s&&t.push({type:"setBackgroundColor",value:s}),n+=i}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:An[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:An[o-100+8]}})}return t}function oE(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=nE(r,i),a=s.sequence?r.substring(i,s.startPosition):r.substring(i);if(a.length>0&&o.push({value:a,foreground:e,background:t,decorations:new Set(n)}),s.sequence){const l=rE(s.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)}i=s.position}while(i<r.length);return o}}}var iE={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 sE(e=iE){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<An.length;c++)r.push(t(An[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([a[c],a[u],a[f]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}function i(a){return o()[a]}function s(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return i(a.index)}}return{value:s}}function aE(e,t,n){const r=wi(e,n),o=Xi(t),i=sE(Object.fromEntries(An.map(a=>{var l;return[a,(l=e.colors)==null?void 0:l[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]}))),s=oE();return o.map(a=>s.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?i.value(l.background):e.bg,u=l.foreground?i.value(l.foreground):e.fg):(c=l.foreground?i.value(l.foreground):e.fg,u=l.background?i.value(l.background):void 0),c=Sn(c,r),u=Sn(u,r),l.decorations.has("dim")&&(c=lE(c));let f=Nt.None;return l.decorations.has("bold")&&(f|=Nt.Bold),l.decorations.has("italic")&&(f|=Nt.Italic),l.decorations.has("underline")&&(f|=Nt.Underline),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:f}}))}function lE(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function _l(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(ml(r)||gl(o))return Xi(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return aE(i,t,n);const a=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==a.name)throw new Mt(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${a.name}"`);if(!n.grammarState.themes.includes(i.name))throw new Mt(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return uE(t,a,i,s,n)}function cE(...e){if(e.length===2)return Qr(e[1]);const[t,n,r={}]=e,{lang:o="text",theme:i=t.getLoadedThemes()[0]}=r;if(ml(o)||gl(i))throw new Mt("Plain language does not have grammar state");if(o==="ansi")throw new Mt("ANSI language does not have grammar state");const{theme:s,colorMap:a}=t.setTheme(i),l=t.getLanguage(o);return new pr(Ti(n,l,s,a,r).stateStack,l.name,s.name)}function uE(e,t,n,r,o){const i=Ti(e,t,n,r,o),s=new pr(Ti(e,t,n,r,o).stateStack,t.name,n.name);return Yi(i.tokens,s),i.tokens}function Ti(e,t,n,r,o){const i=wi(n,o),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:a=500}=o,l=Xi(e);let c=o.grammarState?Q1(o.grammarState,n.name)??_a:o.grammarContextCode!=null?Ti(o.grammarContextCode,t,n,r,{...o,grammarState:void 0,grammarContextCode:void 0}).stateStack:_a,u=[];const f=[];for(let d=0,p=l.length;d<p;d++){const[h,m]=l[d];if(h===""){u=[],f.push([]);continue}if(s>0&&h.length>=s){u=[],f.push([{content:h,offset:m,color:"",fontStyle:0}]);continue}let _,v,E;o.includeExplanation&&(_=t.tokenizeLine(h,c),v=_.tokens,E=0);const g=t.tokenizeLine2(h,c,a),w=g.tokens.length/2;for(let C=0;C<w;C++){const R=g.tokens[2*C],I=C+1<w?g.tokens[2*C+2]:h.length;if(R===I)continue;const U=g.tokens[2*C+1],L=Sn(r[cr.getForeground(U)],i),S=cr.getFontStyle(U),O={content:h.substring(R,I),offset:m+R,color:L,fontStyle:S};if(o.includeExplanation){const P=[];if(o.includeExplanation!=="scopeName")for(const x of n.settings){let B;switch(typeof x.scope){case"string":B=x.scope.split(/,/).map(D=>D.trim());break;case"object":B=x.scope;break;default:continue}P.push({settings:x,selectors:B.map(D=>D.split(/ /))})}O.explanation=[];let A=0;for(;R+A<I;){const x=v[E],B=h.substring(x.startIndex,x.endIndex);A+=B.length,O.explanation.push({content:B,scopes:o.includeExplanation==="scopeName"?fE(x.scopes):dE(P,x.scopes)}),E+=1}}u.push(O)}f.push(u),u=[],c=g.ruleStack}return{tokens:f,stateStack:c}}function fE(e){return e.map(t=>({scopeName:t}))}function dE(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const i=t[r];n[r]={scopeName:i,themeMatches:hE(e,i,t.slice(0,r))}}return n}function mu(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function pE(e,t,n){if(!mu(e[e.length-1],t))return!1;let r=e.length-2,o=n.length-1;for(;r>=0&&o>=0;)mu(e[r],n[o])&&(r-=1),o-=1;return r===-1}function hE(e,t,n){const r=[];for(const{selectors:o,settings:i}of e)for(const s of o)if(pE(s,t,n)){r.push(i);break}return r}function zp(e,t,n){const r=Object.entries(n.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),o=r.map(l=>{const c=_l(e,t,{...n,theme:l.theme}),u=Qr(c),f=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:c,state:u,theme:f}}),i=mE(...o.map(l=>l.tokens)),s=i[0].map((l,c)=>l.map((u,f)=>{const d={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in n&&n.includeExplanation&&(d.explanation=u.explanation),i.forEach((p,h)=>{const{content:m,explanation:_,offset:v,...E}=p[c][f];d.variants[r[h].color]=E}),d})),a=o[0].state?new pr(Object.fromEntries(o.map(l=>{var c;return[l.theme,(c=l.state)==null?void 0:c.getInternalStack(l.theme)]})),o[0].state.lang):void 0;return a&&Yi(s,a),s}function mE(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(l=>l[r]),i=t.map(()=>[]);t.forEach((l,c)=>l.push(i[c]));const s=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 u=a[c];u.content.length===l?(i[c].push(u),s[c]+=1,a[c]=o[c][s[c]]):(i[c].push({...u,content:u.content.slice(0,l)}),a[c]={...u,content:u.content.slice(l),offset:u.offset+l})}}}return t}function Ci(e,t,n){let r,o,i,s,a,l;if("themes"in n){const{defaultColor:c="light",cssVariablePrefix:u="--shiki-"}=n,f=Object.entries(n.themes).filter(_=>_[1]).map(_=>({color:_[0],theme:_[1]})).sort((_,v)=>_.color===c?-1:v.color===c?1:0);if(f.length===0)throw new Mt("`themes` option must not be empty");const d=zp(e,t,n);if(l=Qr(d),c&&!f.find(_=>_.color===c))throw new Mt(`\`themes\` option must contain the defaultColor key \`${c}\``);const p=f.map(_=>e.getTheme(_.theme)),h=f.map(_=>_.color);i=d.map(_=>_.map(v=>gE(v,h,u,c))),l&&Yi(i,l);const m=f.map(_=>wi(_.theme,n));o=f.map((_,v)=>(v===0&&c?"":`${u+_.color}:`)+(Sn(p[v].fg,m[v])||"inherit")).join(";"),r=f.map((_,v)=>(v===0&&c?"":`${u+_.color}-bg:`)+(Sn(p[v].bg,m[v])||"inherit")).join(";"),s=`shiki-themes ${p.map(_=>_.name).join(" ")}`,a=c?void 0:[o,r].join(";")}else if("theme"in n){const c=wi(n.theme,n);i=_l(e,t,n);const u=e.getTheme(n.theme);r=Sn(u.bg,c),o=Sn(u.fg,c),s=u.name,l=Qr(i)}else throw new Mt("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:a,grammarState:l}}function gE(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(l=>Up(e.variants[l])),s=new Set(i.flatMap(l=>Object.keys(l))),a={};return i.forEach((l,c)=>{for(const u of s){const f=l[u]||"inherit";if(c===0&&r)a[u]=f;else{const d=u==="color"?"":u==="background-color"?"-bg":`-${u}`,p=n+t[c]+(u==="color"?"":d);a[p]=f}}}),o.htmlStyle=a,o}function Si(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>Si(e,o,i),codeToTokens:(o,i)=>Ci(e,o,i)}){var p,h;let o=t;for(const m of Ei(n))o=((p=m.preprocess)==null?void 0:p.call(r,o,n))||o;let{tokens:i,fg:s,bg:a,themeName:l,rootStyle:c,grammarState:u}=Ci(e,o,n);const{mergeWhitespaces:f=!0}=n;f===!0?i=yE(i):f==="never"&&(i=vE(i));const d={...r,get source(){return o}};for(const m of Ei(n))i=((h=m.tokens)==null?void 0:h.call(d,i))||i;return _E(i,{...n,fg:s,bg:a,themeName:l,rootStyle:c},d,u)}function _E(e,t,n,r=Qr(e)){var h,m,_;const o=Ei(t),i=[],s={type:"root",children:[]},{structure:a="classic",tabindex:l="0"}=t;let c={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...l!==!1&&l!=null?{tabindex:l.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([v])=>!v.startsWith("_")))},children:[]},u={type:"element",tagName:"code",properties:{},children:i};const f=[],d={...n,structure:a,addClassToHast:Bp,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return c},get code(){return u},get lines(){return f}};if(e.forEach((v,E)=>{var C,R;E&&(a==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&i.push({type:"text",value:`
30
+ `}));let g={type:"element",tagName:"span",properties:{class:"line"},children:[]},w=0;for(const I of v){let U={type:"element",tagName:"span",properties:{...I.htmlAttrs},children:[{type:"text",value:I.content}]};I.htmlStyle;const L=K1(I.htmlStyle||Up(I));L&&(U.properties.style=L);for(const S of o)U=((C=S==null?void 0:S.span)==null?void 0:C.call(d,U,E+1,w,g,I))||U;a==="inline"?s.children.push(U):a==="classic"&&g.children.push(U),w+=I.content.length}if(a==="classic"){for(const I of o)g=((R=I==null?void 0:I.line)==null?void 0:R.call(d,g,E+1))||g;f.push(g),i.push(g)}}),a==="classic"){for(const v of o)u=((h=v==null?void 0:v.code)==null?void 0:h.call(d,u))||u;c.children.push(u);for(const v of o)c=((m=v==null?void 0:v.pre)==null?void 0:m.call(d,c))||c;s.children.push(c)}let p=s;for(const v of o)p=((_=v==null?void 0:v.root)==null?void 0:_.call(d,p))||p;return r&&Yi(p,r),p}function yE(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const l=!(i.fontStyle&&i.fontStyle&Nt.Underline);l&&i.content.match(/^\s+$/)&&t[s+1]?(o||(o=i.offset),r+=i.content):r?(l?n.push({...i,offset:o,content:r+i.content}):n.push({content:r,offset:o},i),o=0,r=""):n.push(i)}),n})}function vE(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,o,i,s]=r;if(!o&&!s)return n;const a=[{...n,offset:n.offset+o.length,content:i}];return o&&a.unshift({content:o,offset:n.offset}),s&&a.push({content:s,offset:n.offset+o.length+i.length}),a}))}function bE(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,a)=>Si(e,s,a),codeToTokens:(s,a)=>Ci(e,s,a)};let o=j1(Si(e,t,n,r));for(const s of Ei(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}const gu={light:"#333333",dark:"#bbbbbb"},_u={light:"#fffffe",dark:"#1e1e1e"},yu="__shiki_resolved";function yl(e){var a,l,c,u,f;if(e!=null&&e[yu])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const d=t.settings?t.settings.find(p=>!p.name&&!p.scope):void 0;(a=d==null?void 0:d.settings)!=null&&a.foreground&&(r=d.settings.foreground),(l=d==null?void 0:d.settings)!=null&&l.background&&(n=d.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?gu.light:gu.dark),n||(n=t.type==="light"?_u.light:_u.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const i=new Map;function s(d){var h;if(i.has(d))return i.get(d);o+=1;const p=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(h=t.colorReplacements)!=null&&h[`#${p}`]?s(d):(i.set(d,p),p)}t.settings=t.settings.map(d=>{var _,v;const p=((_=d.settings)==null?void 0:_.foreground)&&!d.settings.foreground.startsWith("#"),h=((v=d.settings)==null?void 0:v.background)&&!d.settings.background.startsWith("#");if(!p&&!h)return d;const m={...d,settings:{...d.settings}};if(p){const E=s(d.settings.foreground);t.colorReplacements[E]=d.settings.foreground,m.settings.foreground=E}if(h){const E=s(d.settings.background);t.colorReplacements[E]=d.settings.background,m.settings.background=E}return m});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const p=s(t.colors[d]);t.colorReplacements[p]=t.colors[d],t.colors[d]=p}return Object.defineProperty(t,yu,{enumerable:!1,writable:!1,value:!0}),t}async function qp(e){return Array.from(new Set((await Promise.all(e.filter(t=>!Hp(t)).map(async t=>await jp(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function Kp(e){return(await Promise.all(e.map(async n=>Fp(n)?null:yl(await jp(n))))).filter(n=>!!n)}var wE=Object.defineProperty,EE=(e,t,n)=>t in e?wE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yn=(e,t,n)=>(EE(e,typeof t!="symbol"?t+"":t,n),n);class TE extends xw{constructor(t,n,r,o={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=o,yn(this,"_resolvedThemes",new Map),yn(this,"_resolvedGrammars",new Map),yn(this,"_langMap",new Map),yn(this,"_langGraph",new Map),yn(this,"_textmateThemeCache",new WeakMap),yn(this,"_loadedThemesCache",null),yn(this,"_loadedLanguagesCache",null),this._themes.map(i=>this.loadTheme(i)),this.loadLanguages(this._langs)}getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const n=yl(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=gi.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 qe(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars.get(t)}loadLanguage(t){var i,s,a,l;if(this.getGrammar(t.name))return;const n=new Set([...this._langMap.values()].filter(c=>{var u;return(u=c.embeddedLangsLazy)==null?void 0:u.includes(t.name)}));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const o=this.loadGrammarWithConfiguration(t.scopeName,1,r);if(o.name=t.name,this._resolvedGrammars.set(t.name,o),t.aliases&&t.aliases.forEach(c=>{this._alias[c]=t.name}),this._loadedLanguagesCache=null,n.size)for(const c of n)this._resolvedGrammars.delete(c.name),this._loadedLanguagesCache=null,(s=(i=this._syncRegistry)==null?void 0:i._injectionGrammars)==null||s.delete(c.scopeName),(l=(a=this._syncRegistry)==null?void 0:a._grammars)==null||l.delete(c.scopeName),this.loadLanguage(this._langMap.get(c.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const o of t)this.resolveEmbeddedLanguages(o);const n=Array.from(this._langGraph.entries()),r=n.filter(([o,i])=>!i);if(r.length){const o=n.filter(([i,s])=>{var a;return s&&((a=s.embeddedLangs)==null?void 0:a.some(l=>r.map(([c])=>c).includes(l)))}).filter(i=>!r.includes(i));throw new qe(`Missing languages ${r.map(([i])=>`\`${i}\``).join(", ")}, required by ${o.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[o,i]of n)this._resolver.addLanguage(i);for(const[o,i]of n)this.loadLanguage(i)}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))}}var CE=Object.defineProperty,SE=(e,t,n)=>t in e?CE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ro=(e,t,n)=>(SE(e,typeof t!="symbol"?t+"":t,n),n);class AE{constructor(t,n){Ro(this,"_langs",new Map),Ro(this,"_scopeToLang",new Map),Ro(this,"_injections",new Map),Ro(this,"_onigLib"),this._onigLib={createOnigScanner:r=>t.createScanner(r),createOnigString:r=>t.createString(r)},n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let o=1;o<=n.length;o++){const i=n.slice(0,o).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let yr=0;function xE(e){yr+=1,e.warnings!==!1&&yr>=10&&yr%10===0&&console.warn(`[Shiki] ${yr} 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;if(!e.engine)throw new qe("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(yl),o=new AE(e.engine,n),i=new TE(o,r,n,e.langAlias);let s;function a(E){_();const g=i.getGrammar(typeof E=="string"?E:E.name);if(!g)throw new qe(`Language \`${E}\` not found, you may need to load it first`);return g}function l(E){if(E==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};_();const g=i.getTheme(E);if(!g)throw new qe(`Theme \`${E}\` not found, you may need to load it first`);return g}function c(E){_();const g=l(E);s!==E&&(i.setTheme(g),s=E);const w=i.getColorMap();return{theme:g,colorMap:w}}function u(){return _(),i.getLoadedThemes()}function f(){return _(),i.getLoadedLanguages()}function d(...E){_(),i.loadLanguages(E.flat(1))}async function p(...E){return d(await qp(E))}function h(...E){_();for(const g of E.flat(1))i.loadTheme(g)}async function m(...E){return _(),h(await Kp(E))}function _(){if(t)throw new qe("Shiki instance has been disposed")}function v(){t||(t=!0,i.dispose(),yr-=1)}return{setTheme:c,getTheme:l,getLanguage:a,getLoadedThemes:u,getLoadedLanguages:f,loadLanguage:p,loadLanguageSync:d,loadTheme:m,loadThemeSync:h,dispose:v,[Symbol.dispose]:v}}async function PE(e={}){e.loadWasm;const[t,n,r]=await Promise.all([Kp(e.themes||[]),qp(e.langs||[]),e.engine||cp(e.loadWasm||Bb())]);return xE({...e,loadWasm:void 0,themes:t,langs:n,engine:r})}async function RE(e={}){const t=await PE(e);return{getLastGrammarState:(...n)=>cE(t,...n),codeToTokensBase:(n,r)=>_l(t,n,r),codeToTokensWithThemes:(n,r)=>zp(t,n,r),codeToTokens:(n,r)=>Ci(t,n,r),codeToHast:(n,r)=>Si(t,n,r),codeToHtml:(n,r)=>bE(t,n,r),...t,getInternalContext:()=>t}}function kE(e,t,n){let r,o,i;{const a=e;r=a.langs,o=a.themes,i=a.engine}async function s(a){function l(p){if(typeof p=="string"){if(Hp(p))return[];const h=r[p];if(!h)throw new Mt(`Language \`${p}\` is not included in this bundle. You may want to load it from external source.`);return h}return p}function c(p){if(Fp(p))return"none";if(typeof p=="string"){const h=o[p];if(!h)throw new Mt(`Theme \`${p}\` is not included in this bundle. You may want to load it from external source.`);return h}return p}const u=(a.themes??[]).map(p=>c(p)),f=(a.langs??[]).map(p=>l(p)),d=await RE({engine:a.engine??i(),...a,themes:u,langs:f});return{...d,loadLanguage(...p){return d.loadLanguage(...p.map(l))},loadTheme(...p){return d.loadTheme(...p.map(c))}}}return s}const LE=kE({langs:Tb,themes:Sb,engine:()=>cp(y(()=>import("./CG6Dc4jp.js"),[],import.meta.url))}),OE=e=>LE(e);let IE;const vr=[];function NE(e){if(vr.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&vr.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&vr.forEach(n=>n(t))},get(){return IE.value},configurable:!0}),()=>{vr.splice(vr.indexOf(e),1)}}function Jp(e){return Ra()?(xh(e),!0):!1}function en(e){return typeof e=="function"?e():se(e)}const Xp=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const DE=e=>typeof e<"u",$E=e=>e!=null,ME=Object.prototype.toString,VE=e=>ME.call(e)==="[object Object]",Wo=()=>{},HE=FE();function FE(){var e,t;return Xp&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function BE(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const Yp=e=>e();function jE(e=Yp){const t=ae(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...i)=>{t.value&&e(...i)};return{isActive:$a(t),pause:n,resume:r,eventFilter:o}}function UE(e){return no()}function WE(e,t,n={}){const{eventFilter:r=Yp,...o}=n;return Yt(e,BE(r,t),o)}function GE(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:i,pause:s,resume:a,isActive:l}=jE(r);return{stop:WE(e,t,{...o,eventFilter:i}),pause:s,resume:a,isActive:l}}function zE(e,t=!0,n){UE()?Mi(e,n):t?e():cn(e)}function qE(e={}){let t=0;const n=ae([]);function r(...s){const a=Cn({key:t++,args:s,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=u=>(a.isResolving=!0,l(u)),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(...s){return e.singleton&&n.value.length>0?n.value[0].promise:r(...s)}const i=xe((s,{slots:a})=>{const l=()=>n.value.map(c=>{var u;return ir(me,{key:c.key},(u=a.default)==null?void 0:u.call(a,c))});return e.transition?()=>ir(Xg,e.transition,l):l});return i.start=o,i}const Ai=Xp?window:void 0;function qn(e){var t;const n=en(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Nr(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Ai):[t,n,r,o]=e,!t)return Wo;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},a=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),l=Yt(()=>[qn(t),en(o)],([u,f])=>{if(s(),!u)return;const d=VE(f)?{...f}:f;i.push(...n.flatMap(p=>r.map(h=>a(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return Jp(c),c}let vu=!1;function KE(e,t,n={}){const{window:r=Ai,ignore:o=[],capture:i=!0,detectIframe:s=!1}=n;if(!r)return Wo;HE&&!vu&&(vu=!0,Array.from(r.document.body.children).forEach(m=>m.addEventListener("click",Wo)),r.document.documentElement.addEventListener("click",Wo));let a=!0;const l=m=>en(o).some(_=>{if(typeof _=="string")return Array.from(r.document.querySelectorAll(_)).some(v=>v===m.target||m.composedPath().includes(v));{const v=qn(_);return v&&(m.target===v||m.composedPath().includes(v))}});function c(m){const _=en(m);return _&&_.$.subTree.shapeFlag===16}function u(m,_){const v=en(m),E=v.$.subTree&&v.$.subTree.children;return E==null||!Array.isArray(E)?!1:E.some(g=>g.el===_.target||_.composedPath().includes(g.el))}const f=m=>{const _=qn(e);if(m.target!=null&&!(!(_ instanceof Element)&&c(e)&&u(e,m))&&!(!_||_===m.target||m.composedPath().includes(_))){if(m.detail===0&&(a=!l(m)),!a){a=!0;return}t(m)}};let d=!1;const p=[Nr(r,"click",m=>{d||(d=!0,setTimeout(()=>{d=!1},0),f(m))},{passive:!0,capture:i}),Nr(r,"pointerdown",m=>{const _=qn(e);a=!l(m)&&!!(_&&!m.composedPath().includes(_))},{passive:!0}),s&&Nr(r,"blur",m=>{setTimeout(()=>{var _;const v=qn(e);((_=r.document.activeElement)==null?void 0:_.tagName)==="IFRAME"&&!(v!=null&&v.contains(r.document.activeElement))&&t(m)},0)})].filter(Boolean);return()=>p.forEach(m=>m())}function JE(e){return JSON.parse(JSON.stringify(e))}const ko=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Lo="__vueuse_ssr_handlers__",XE=YE();function YE(){return Lo in ko||(ko[Lo]=ko[Lo]||{}),ko[Lo]}function QE(e,t){return XE[e]||t}function ZE(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 eT={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()}},bu="vueuse-storage";function tT(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=Ai,eventFilter:d,onError:p=S=>{console.error(S)},initOnMounted:h}=r,m=(u?ks:ae)(t);if(!n)try{n=QE("getDefaultStorage",()=>{var S;return(S=Ai)==null?void 0:S.localStorage})()}catch(S){p(S)}if(!n)return m;const _=en(t),v=ZE(_),E=(o=r.serializer)!=null?o:eT[v],{pause:g,resume:w}=GE(m,()=>R(m.value),{flush:i,deep:s,eventFilter:d});f&&a&&zE(()=>{n instanceof Storage?Nr(f,"storage",U):Nr(f,bu,L),h&&U()}),h||U();function C(S,O){if(f){const P={key:e,oldValue:S,newValue:O,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",P):new CustomEvent(bu,{detail:P}))}}function R(S){try{const O=n.getItem(e);if(S==null)C(O,null),n.removeItem(e);else{const P=E.write(S);O!==P&&(n.setItem(e,P),C(O,P))}}catch(O){p(O)}}function I(S){const O=S?S.newValue:n.getItem(e);if(O==null)return l&&_!=null&&n.setItem(e,E.write(_)),_;if(!S&&c){const P=E.read(O);return typeof c=="function"?c(P,_):v==="object"&&!Array.isArray(P)?{..._,...P}:P}else return typeof O!="string"?O:E.read(O)}function U(S){if(!(S&&S.storageArea!==n)){if(S&&S.key==null){m.value=_;return}if(!(S&&S.key!==e)){g();try{(S==null?void 0:S.newValue)!==E.write(m.value)&&(m.value=I(S))}catch(O){p(O)}finally{S?cn(w):w()}}}}function L(S){U(S.detail)}return m}function Qp(e,t,n,r={}){var o,i,s;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=no(),h=n||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const _=g=>a?typeof a=="function"?a(g):JE(g):g,v=()=>DE(e[t])?_(e[t]):f,E=g=>{d?d(g)&&h(m,g):h(m,g)};if(l){const g=v(),w=ae(g);let C=!1;return Yt(()=>e[t],R=>{C||(C=!0,w.value=_(R),cn(()=>C=!1))}),Yt(w,R=>{!C&&(R!==e[t]||u)&&E(R)},{deep:u}),w}else return Pe({get(){return v()},set(g){E(g)}})}const Dr=ae([]),Oo=tT("nuxt-link-checker:show-live-inspections",!0),$r=ae([]),Tr=ae(0),En=ae(""),Go=ae(null);async function Zp(){wa.value&&(Go.value=await wa.value("/__link-checker__/debug.json"))}const nT="nuxt-link-checker-rpc",wa=ae(),eh=ae(),ur=ae(),vl=ae();NE(async e=>{var r,o;wa.value=e.host.app.$fetch;const n=(r=e.host.nuxt.vueApp._instance)==null?void 0:r.appContext.provides.linkChecker;Dr.value=n.linkDb.value,$r.value=[...n.visibleLinks],vl.value=e.devtools.rpc,eh.value=e.devtools,En.value=V_(((o=e.host.getIframe())==null?void 0:o.src)||"").link,ur.value=e.devtools.extendClientRpc(nT,{queueWorking(i){Tr.value=i.queueLength,Dr.value=se(n.linkDb),$r.value=[...n.visibleLinks]},updated(){Dr.value=se(n.linkDb),$r.value=[...n.visibleLinks]},filter(i){En.value=i.link}}),ur.value.connected(),Zp()});const th=ae();function rT(){return OE({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{th.value=e})}function nh(e,t){return Pe(()=>{var r;const n=((r=eh.value)==null?void 0:r.colorMode)||"light";return th.value.codeToHtml(Qh(e),{lang:t||"text",theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const oT=["innerHTML"],rh=xe({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=Pe(()=>{const r=nh(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(j(),Q("pre",{class:Ae(["n-code-block w-full",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,oT))}}),iT=xe({__name:"CodeHighlight",props:{code:{},lang:{},link:{}},setup(e){const t=e;function n(o){return o.replace(t.link,`<span class="highlight">${t.link}</span>`)}const r=ae();return(o,i)=>{const s=rh;return j(),pe(s,un({ref_key:"elRef",ref:r,code:o.code,lang:o.lang,"transform-rendered":n},o.$attrs),null,16,["code","lang"])}}}),sT={},aT={class:"n-card n-card-base"};function lT(e,t){return j(),Q("div",aT,[Le(e.$slots,"default")])}const bl=so(sT,[["render",lT]]),oh=qE(),cT={key:0,"text-sm":"",class:"lg:flex w-full gap-5"},uT={class:"flex-shrink"},fT={style:{"min-width":"600px"}},dT={class:"flex space-x-2"},pT={class:"opacity-90 truncate",style:{"max-width":"150px"}},hT={class:""},mT={class:"flex gap-2 w-full"},gT={style:{"min-width":"150px","margin-top":"1px"}},_T={key:0,class:"text-red-800 text-xs flex items-center font-medium dark:text-red-300"},yT={key:1,class:"text-yellow-800 flex items-center text-xs font-medium dark:text-yellow-300"},vT={class:"text-gray-500"},bT={class:"flex-grow"},wT={key:0},ET={op60:""},TT={key:0},CT={key:0,class:"flex gap-2 items-center w-full"},ST={key:1,class:"flex flex-col w-full"},AT={key:0},xT={flex:"",mb1:"","items-center":""},PT=xe({__name:"LinkInspection",props:{item:{}},setup(e){const t=e;function n(i){var s;(s=vl.value)==null||s.openInEditor(i)}async function r(){await oh.start(t.item)&&await ur.value.applyLinkFixes(t.item.diff,t.item.link,t.item.fix)}async function o(){await ur.value.scrollToLink(t.item.link)}return(i,s)=>{var p;const a=io,l=ap,c=Vt("VTooltip"),u=ll,f=iT,d=bl;return i.item?(j(),Q("div",cT,[M("div",uT,[J(l,{class:"px-2 py-1",onClick:o},{default:oe(()=>[J(a,{icon:"carbon:cursor-2",class:"text-gray-500"})]),_:1})]),M("div",fT,[M("div",dT,[J(c,null,{popper:oe(()=>[ue(Se(i.item.textContent),1)]),default:oe(()=>[M("div",pT,Se(i.item.textContent),1)]),_:1}),J(u,{external:"",target:"_blank",to:i.item.link,"font-mono":"",mb3:"",class:"truncate"},{default:oe(()=>[ue(Se(i.item.link),1)]),_:1},8,["to"])]),M("div",hT,[(j(!0),Q(me,null,Ot([...i.item.error,...i.item.warning],(h,m)=>(j(),Q("div",{key:m,flex:"~ row gap-2 items-center",mb2:""},[M("div",mT,[M("div",gT,[h.scope==="error"?(j(),Q("div",_T,s[0]||(s[0]=[M("span",{"i-carbon-error":"","mr-1":"","text-xs":""},null,-1),ue(" Error ")]))):(j(),Q("div",yT,s[1]||(s[1]=[M("span",{"i-carbon-warning":"","mr-1":"","text-xs":""},null,-1),ue(" Warning ")]))),M("span",vT,Se(h.name),1)]),M("div",bT,[M("div",null,Se(h.message),1),h.tip?(j(),Q("div",wT,[M("span",ET,Se(h.tip),1)])):Ce("",!0),h.fix?(j(),Q("button",{key:1,class:"hover:shadow-lg transition mt-2 items-center gap-2 inline-flex border-green-500/50 border-1 rounded-lg shadow-sm px-3 py-1",onClick:r},[J(a,{icon:"carbon:magic-wand"}),h.fixDescription?(j(),Q("div",TT,Se(h.fixDescription),1)):Ce("",!0)])):Ce("",!0)])])]))),128))])]),i.item.passes?(j(),Q("div",CT,s[2]||(s[2]=[M("div",{style:{"flex-basis":"4rem"}},[M("span",{class:"text-green-800 text-xs flex items-center font-medium dark:text-green-300"},[M("span",{"i-carbon-checkmark-outline":"","mr-1":"","text-xs":""}),ue(" Pass ")])],-1)]))):(j(),Q("div",ST,[(p=i.item.sources)!=null&&p.length?Ce("",!0):(j(),Q("div",AT,s[3]||(s[3]=[M("div",{class:"text-gray-500"}," No source code found. ",-1)]))),(j(!0),Q(me,null,Ot(i.item.sources,(h,m)=>(j(),Q("div",{key:m,mb4:""},[M("div",xT,[J(u,{external:"",type:"button",op50:"","text-xs":"","font-mono":"",link:h.filepath,class:"cursor-pointer",onClick:i_(_=>n(h.filepath),["prevent"])},{default:oe(()=>[ue(Se(h.filepath),1)]),_:2},1032,["link","onClick"])]),(j(!0),Q(me,null,Ot(h.previews,(_,v)=>(j(),pe(d,{key:v,"items-center":"","justify-between":"","of-hidden":""},{default:oe(()=>[J(f,{link:i.item.link,code:_.code,lang:"vue-html",class:"overflow-auto",style:Dt({"--start":Math.max(_.lineNumber-2,1)})},null,8,["link","code","style"])]),_:2},1024))),128))]))),128))]))])):Ce("",!0)}}}),RT={"text-sm":"",class:"flex w-full gap-5"},kT={style:{"min-width":"600px"}},LT=xe({__name:"LinkPassing",props:{item:{}},setup(e){return(t,n)=>{const r=ll;return j(),Q("div",RT,[M("div",kT,[J(r,{external:"",target:"_blank",to:t.item.link,"font-mono":"",mb3:""},{default:oe(()=>[ue(Se(t.item.link),1)]),_:1},8,["to"])]),n[0]||(n[0]=M("div",{class:"flex gap-2 items-center w-full"},[M("div",{style:{"flex-basis":"4rem"}},[M("span",{class:"text-green-800 text-xs flex items-center font-medium dark:text-green-300"},[M("span",{"i-carbon-checkmark-outline":"","mr-1":"","text-xs":""}),ue(" Pass ")])])],-1))])}}}),OT={flex:"~ gap-3","items-center":""},IT=xe({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(j(),Q("div",OT,[t.icon?(j(),Q("div",{key:0,class:Ae(t.icon)},null,2)):Ce("",!0),Le(t.$slots,"default",{},()=>[M("div",null,Se(t.text),1)])]))}}),NT=["open"],DT={"text-base":""},$T={key:0,"text-sm":"",op50:""},MT=xe({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=Qp(e,"open");function r(o){n.value=o.target.open}return(o,i)=>{const s=io,a=IT;return j(),Q(me,null,[M("details",{open:se(n),onToggle:r},[M("summary",{class:Ae(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[J(a,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Ae([se(n)?"op100":"op60",o.headerClass])},{default:oe(()=>[M("div",null,[M("div",DT,[Le(o.$slots,"text",{},()=>[ue(Se(o.text),1)],!0)]),o.description||o.$slots.description?(j(),Q("div",$T,[Le(o.$slots,"description",{},()=>[ue(Se(o.description),1)],!0)])):Ce("",!0)]),i[0]||(i[0]=M("div",{class:"flex-auto"},null,-1)),Le(o.$slots,"actions",{},void 0,!0),o.collapse?(j(),pe(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):Ce("",!0)]),_:3},8,["icon","text","class"])],2),M("div",{class:Ae(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[Le(o.$slots,"details",{},void 0,!0),M("div",{class:Ae([o.containerClass,"mt1"])},[Le(o.$slots,"default",{},void 0,!0)],2),Le(o.$slots,"footer",{},void 0,!0)],2)],40,NT),i[1]||(i[1]=M("div",{class:"x-divider"},null,-1))],64)}}}),VT=so(MT,[["__scopeId","data-v-348c1d92"]]),HT=xe({__name:"CodeDiff",props:{code:{},lang:{},diff:{}},setup(e){const t=e,n=ae(t.diff.added[0]-2);function r(i){let s=0;const a=new Set;return i.replace(/class="shiki/,'class="shiki diff').replace(/class="line"/g,c=>{s++;const u=t.diff.added.includes(s-1),f=t.diff.removed.includes(s-1);if(u||f)for(let d=s-3;d<s+3;d++)d>=0&&a.add(d);return u?'class="line line-added"':f?'class="line line-removed"':c}).replace(/<code>([\s\S]*)<\/code>/,(c,u)=>`<code>${u.split(`
31
+ `).filter((p,h)=>a.has(h+1)).join(`
32
+ `)}</code>`)}const o=ae();return(i,s)=>{const a=rh;return j(),pe(a,{ref_key:"elRef",ref:o,code:i.diff.result,lang:i.lang,"transform-rendered":r,style:Dt(`--start: ${n.value};`)},null,8,["code","lang","style"])}}}),FT={class:"n-tip n-tip-base"},BT=xe({__name:"NTip",props:{icon:{}},setup(e){return(t,n)=>{const r=io;return j(),Q("div",FT,[Le(t.$slots,"icon",{},()=>[t.icon?(j(),pe(r,{key:0,icon:t.icon,class:"n-tip-icon"},null,8,["icon"])):Ce("",!0)]),M("div",null,[Le(t.$slots,"default")])])}}});/*!
33
+ * tabbable 6.2.0
34
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
35
+ */var ih=["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])"],xi=ih.join(","),sh=typeof Element>"u",Dn=sh?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Pi=!sh&&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==null?void 0:e.ownerDocument},Ri=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"),i=o===""||o==="true",s=i||n&&t&&e(t.parentNode);return s},jT=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},ah=function(t,n,r){if(Ri(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(xi));return n&&Dn.call(t,xi)&&o.unshift(t),o=o.filter(r),o},lh=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var s=i.shift();if(!Ri(s,!1))if(s.tagName==="SLOT"){var a=s.assignedElements(),l=a.length?a:s.children,c=e(l,!0,r);r.flatten?o.push.apply(o,c):o.push({scopeParent:s,candidates:c})}else{var u=Dn.call(s,xi);u&&r.filter(s)&&(n||!t.includes(s))&&o.push(s);var f=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),d=!Ri(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(s));if(f&&d){var p=e(f===!0?s.children:f.children,!0,r);r.flatten?o.push.apply(o,p):o.push({scopeParent:s,candidates:p})}else i.unshift.apply(i,s.children)}}return o},ch=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Tn=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||jT(t))&&!ch(t)?0:t.tabIndex},UT=function(t,n){var r=Tn(t);return r<0&&n&&!ch(t)?0:r},WT=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},uh=function(t){return t.tagName==="INPUT"},GT=function(t){return uh(t)&&t.type==="hidden"},zT=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},qT=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},KT=function(t){if(!t.name)return!0;var n=t.form||Pi(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(s){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",s.message),!1}var i=qT(o,t.form);return!i||i===t},JT=function(t){return uh(t)&&t.type==="radio"},XT=function(t){return JT(t)&&!KT(t)},YT=function(t){var n,r=t&&Pi(t),o=(n=r)===null||n===void 0?void 0:n.host,i=!1;if(r&&r!==t){var s,a,l;for(i=!!((s=o)!==null&&s!==void 0&&(a=s.ownerDocument)!==null&&a!==void 0&&a.contains(o)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!i&&o;){var c,u,f;r=Pi(o),o=(c=r)===null||c===void 0?void 0:c.host,i=!!((u=o)!==null&&u!==void 0&&(f=u.ownerDocument)!==null&&f!==void 0&&f.contains(o))}}return i},wu=function(t){var n=t.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},QT=function(t,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var i=Dn.call(t,"details>summary:first-of-type"),s=i?t.parentElement:t;if(Dn.call(s,"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=Pi(t);if(l&&!l.shadowRoot&&o(l)===!0)return wu(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(YT(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return wu(t);return!1},ZT=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 Dn.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},ki=function(t,n){return!(n.disabled||Ri(n)||GT(n)||QT(n,t)||zT(n)||ZT(n))},Ea=function(t,n){return!(XT(n)||Tn(n)<0||!ki(t,n))},eC=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},tC=function e(t){var n=[],r=[];return t.forEach(function(o,i){var s=!!o.scopeParent,a=s?o.scopeParent:o,l=UT(a,s),c=s?e(o.candidates):a;l===0?s?n.push.apply(n,c):n.push(a):r.push({documentOrder:i,tabIndex:l,item:o,isScope:s,content:c})}),r.sort(WT).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},nC=function(t,n){n=n||{};var r;return n.getShadowRoot?r=lh([t],n.includeContainer,{filter:Ea.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:eC}):r=ah(t,n.includeContainer,Ea.bind(null,n)),tC(r)},rC=function(t,n){n=n||{};var r;return n.getShadowRoot?r=lh([t],n.includeContainer,{filter:ki.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=ah(t,n.includeContainer,ki.bind(null,n)),r},jn=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Dn.call(t,xi)===!1?!1:Ea(n,t)},oC=ih.concat("iframe").join(","),xs=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Dn.call(t,oC)===!1?!1:ki(n,t)};/*!
36
+ * focus-trap 7.6.2
37
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
38
+ */function Ta(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function iC(e){if(Array.isArray(e))return Ta(e)}function sC(e,t,n){return(t=fC(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
39
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Eu(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 Tu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Eu(Object(n),!0).forEach(function(r){sC(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eu(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function cC(e){return iC(e)||aC(e)||dC(e)||lC()}function uC(e,t){if(typeof e!="object"||!e)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 fC(e){var t=uC(e,"string");return typeof t=="symbol"?t:t+""}function dC(e,t){if(e){if(typeof e=="string")return Ta(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ta(e,t):void 0}}var Cu={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()}},pC=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},hC=function(t){return(t==null?void 0:t.key)==="Escape"||(t==null?void 0:t.key)==="Esc"||(t==null?void 0:t.keyCode)===27},Mr=function(t){return(t==null?void 0:t.key)==="Tab"||(t==null?void 0:t.keyCode)===9},mC=function(t){return Mr(t)&&!t.shiftKey},gC=function(t){return Mr(t)&&t.shiftKey},Su=function(t){return setTimeout(t,0)},br=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},Io=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},_C=[],yC=function(t,n){var r=(n==null?void 0:n.document)||document,o=(n==null?void 0:n.trapStack)||_C,i=Tu({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:mC,isKeyBackward:gC},n),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function(A,x,B){return A&&A[x]!==void 0?A[x]:i[B||x]},c=function(A,x){var B=typeof(x==null?void 0:x.composedPath)=="function"?x.composedPath():void 0;return s.containerGroups.findIndex(function(D){var q=D.container,W=D.tabbableNodes;return q.contains(A)||(B==null?void 0:B.includes(q))||W.find(function(Y){return Y===A})})},u=function(A){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=x.hasFallback,D=B===void 0?!1:B,q=x.params,W=q===void 0?[]:q,Y=i[A];if(typeof Y=="function"&&(Y=Y.apply(void 0,cC(W))),Y===!0&&(Y=void 0),!Y){if(Y===void 0||Y===!1)return Y;throw new Error("`".concat(A,"` was specified but was not a node, or did not return a node"))}var ye=Y;if(typeof Y=="string"){try{ye=r.querySelector(Y)}catch(ve){throw new Error("`".concat(A,'` appears to be an invalid selector; error="').concat(ve.message,'"'))}if(!ye&&!D)throw new Error("`".concat(A,"` as selector refers to no known node"))}return ye},f=function(){var A=u("initialFocus",{hasFallback:!0});if(A===!1)return!1;if(A===void 0||A&&!xs(A,i.tabbableOptions))if(c(r.activeElement)>=0)A=r.activeElement;else{var x=s.tabbableGroups[0],B=x&&x.firstTabbableNode;A=B||u("fallbackFocus")}else A===null&&(A=u("fallbackFocus"));if(!A)throw new Error("Your focus-trap needs to have at least one focusable element");return A},d=function(){if(s.containerGroups=s.containers.map(function(A){var x=nC(A,i.tabbableOptions),B=rC(A,i.tabbableOptions),D=x.length>0?x[0]:void 0,q=x.length>0?x[x.length-1]:void 0,W=B.find(function(ve){return jn(ve)}),Y=B.slice().reverse().find(function(ve){return jn(ve)}),ye=!!x.find(function(ve){return Tn(ve)>0});return{container:A,tabbableNodes:x,focusableNodes:B,posTabIndexesFound:ye,firstTabbableNode:D,lastTabbableNode:q,firstDomTabbableNode:W,lastDomTabbableNode:Y,nextTabbableNode:function(Me){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,gt=x.indexOf(Me);return gt<0?Ft?B.slice(B.indexOf(Me)+1).find(function(dn){return jn(dn)}):B.slice(0,B.indexOf(Me)).reverse().find(function(dn){return jn(dn)}):x[gt+(Ft?1:-1)]}}}),s.tabbableGroups=s.containerGroups.filter(function(A){return A.tabbableNodes.length>0}),s.tabbableGroups.length<=0&&!u("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(s.containerGroups.find(function(A){return A.posTabIndexesFound})&&s.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.")},p=function(A){var x=A.activeElement;if(x)return x.shadowRoot&&x.shadowRoot.activeElement!==null?p(x.shadowRoot):x},h=function(A){if(A!==!1&&A!==p(document)){if(!A||!A.focus){h(f());return}A.focus({preventScroll:!!i.preventScroll}),s.mostRecentlyFocusedNode=A,pC(A)&&A.select()}},m=function(A){var x=u("setReturnFocus",{params:[A]});return x||(x===!1?!1:A)},_=function(A){var x=A.target,B=A.event,D=A.isBackward,q=D===void 0?!1:D;x=x||Io(B),d();var W=null;if(s.tabbableGroups.length>0){var Y=c(x,B),ye=Y>=0?s.containerGroups[Y]:void 0;if(Y<0)q?W=s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:W=s.tabbableGroups[0].firstTabbableNode;else if(q){var ve=s.tabbableGroups.findIndex(function(jt){var pn=jt.firstTabbableNode;return x===pn});if(ve<0&&(ye.container===x||xs(x,i.tabbableOptions)&&!jn(x,i.tabbableOptions)&&!ye.nextTabbableNode(x,!1))&&(ve=Y),ve>=0){var Me=ve===0?s.tabbableGroups.length-1:ve-1,Ft=s.tabbableGroups[Me];W=Tn(x)>=0?Ft.lastTabbableNode:Ft.lastDomTabbableNode}else Mr(B)||(W=ye.nextTabbableNode(x,!1))}else{var gt=s.tabbableGroups.findIndex(function(jt){var pn=jt.lastTabbableNode;return x===pn});if(gt<0&&(ye.container===x||xs(x,i.tabbableOptions)&&!jn(x,i.tabbableOptions)&&!ye.nextTabbableNode(x))&&(gt=Y),gt>=0){var dn=gt===s.tabbableGroups.length-1?0:gt+1,Bt=s.tabbableGroups[dn];W=Tn(x)>=0?Bt.firstTabbableNode:Bt.firstDomTabbableNode}else Mr(B)||(W=ye.nextTabbableNode(x))}}else W=u("fallbackFocus");return W},v=function(A){var x=Io(A);if(!(c(x,A)>=0)){if(br(i.clickOutsideDeactivates,A)){a.deactivate({returnFocus:i.returnFocusOnDeactivate});return}br(i.allowOutsideClick,A)||A.preventDefault()}},E=function(A){var x=Io(A),B=c(x,A)>=0;if(B||x instanceof Document)B&&(s.mostRecentlyFocusedNode=x);else{A.stopImmediatePropagation();var D,q=!0;if(s.mostRecentlyFocusedNode)if(Tn(s.mostRecentlyFocusedNode)>0){var W=c(s.mostRecentlyFocusedNode),Y=s.containerGroups[W].tabbableNodes;if(Y.length>0){var ye=Y.findIndex(function(ve){return ve===s.mostRecentlyFocusedNode});ye>=0&&(i.isKeyForward(s.recentNavEvent)?ye+1<Y.length&&(D=Y[ye+1],q=!1):ye-1>=0&&(D=Y[ye-1],q=!1))}}else s.containerGroups.some(function(ve){return ve.tabbableNodes.some(function(Me){return Tn(Me)>0})})||(q=!1);else q=!1;q&&(D=_({target:s.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(s.recentNavEvent)})),h(D||s.mostRecentlyFocusedNode||f())}s.recentNavEvent=void 0},g=function(A){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;s.recentNavEvent=A;var B=_({event:A,isBackward:x});B&&(Mr(A)&&A.preventDefault(),h(B))},w=function(A){(i.isKeyForward(A)||i.isKeyBackward(A))&&g(A,i.isKeyBackward(A))},C=function(A){hC(A)&&br(i.escapeDeactivates,A)!==!1&&(A.preventDefault(),a.deactivate())},R=function(A){var x=Io(A);c(x,A)>=0||br(i.clickOutsideDeactivates,A)||br(i.allowOutsideClick,A)||(A.preventDefault(),A.stopImmediatePropagation())},I=function(){if(s.active)return Cu.activateTrap(o,a),s.delayInitialFocusTimer=i.delayInitialFocus?Su(function(){h(f())}):h(f()),r.addEventListener("focusin",E,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{capture:!0,passive:!1}),r.addEventListener("click",R,{capture:!0,passive:!1}),r.addEventListener("keydown",w,{capture:!0,passive:!1}),r.addEventListener("keydown",C),a},U=function(){if(s.active)return r.removeEventListener("focusin",E,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!0),r.removeEventListener("click",R,!0),r.removeEventListener("keydown",w,!0),r.removeEventListener("keydown",C),a},L=function(A){var x=A.some(function(B){var D=Array.from(B.removedNodes);return D.some(function(q){return q===s.mostRecentlyFocusedNode})});x&&h(f())},S=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(L):void 0,O=function(){S&&(S.disconnect(),s.active&&!s.paused&&s.containers.map(function(A){S.observe(A,{subtree:!0,childList:!0})}))};return a={get active(){return s.active},get paused(){return s.paused},activate:function(A){if(s.active)return this;var x=l(A,"onActivate"),B=l(A,"onPostActivate"),D=l(A,"checkCanFocusTrap");D||d(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=r.activeElement,x==null||x();var q=function(){D&&d(),I(),O(),B==null||B()};return D?(D(s.containers.concat()).then(q,q),this):(q(),this)},deactivate:function(A){if(!s.active)return this;var x=Tu({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},A);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,U(),s.active=!1,s.paused=!1,O(),Cu.deactivateTrap(o,a);var B=l(x,"onDeactivate"),D=l(x,"onPostDeactivate"),q=l(x,"checkCanReturnFocus"),W=l(x,"returnFocus","returnFocusOnDeactivate");B==null||B();var Y=function(){Su(function(){W&&h(m(s.nodeFocusedBeforeActivation)),D==null||D()})};return W&&q?(q(m(s.nodeFocusedBeforeActivation)).then(Y,Y),this):(Y(),this)},pause:function(A){if(s.paused||!s.active)return this;var x=l(A,"onPause"),B=l(A,"onPostPause");return s.paused=!0,x==null||x(),U(),O(),B==null||B(),this},unpause:function(A){if(!s.paused||!s.active)return this;var x=l(A,"onUnpause"),B=l(A,"onPostUnpause");return s.paused=!1,x==null||x(),d(),I(),O(),B==null||B(),this},updateContainerElements:function(A){var x=[].concat(A).filter(Boolean);return s.containers=x.map(function(B){return typeof B=="string"?r.querySelector(B):B}),s.active&&d(),O(),this}},a.updateContainerElements(t),a};function vC(e,t={}){let n;const{immediate:r,...o}=t,i=ae(!1),s=ae(!1),a=d=>n&&n.activate(d),l=d=>n&&n.deactivate(d),c=()=>{n&&(n.pause(),s.value=!0)},u=()=>{n&&(n.unpause(),s.value=!1)},f=Pe(()=>{const d=en(e);return(Array.isArray(d)?d:[d]).map(p=>{const h=en(p);return typeof h=="string"?h:qn(h)}).filter($E)});return Yt(f,d=>{d.length&&(n=yC(d,{...o,onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),Jp(()=>l()),{hasFocus:i,isPaused:s,activate:a,deactivate:l,pause:c,unpause:u}}const bC={inheritAttrs:!1},wC=xe({...bC,__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=Qp(n,"modelValue",r,{passive:!0}),i=ae(null),s=ae(!1),{activate:a,deactivate:l}=vC(Pe(()=>i.value||document.body),{immediate:!1});return eg(()=>{!s.value&&o.value&&(s.value=!0),o.value&&i.value?cn(a):l()}),KE(i,()=>{n.modelValue&&n.autoClose&&(o.value=!1,r("close"))},{ignore:["a","button","summary"]}),(c,u)=>{const f=bl;return s.value?(j(),pe(_m,{key:0,to:"body"},[of(M("div",{class:Ae(["fixed inset-0 z-100 flex items-center justify-center n-transition n-glass-effect",[se(o)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[M("div",{class:Ae(["absolute inset-0 -z-1",[c.dim?"glass-effect":""]])},null,2),J(f,un(c.$attrs,{ref_key:"card",ref:i,class:"max-h-screen of-auto"}),{default:oe(()=>[Le(c.$slots,"default")]),_:3},16)],2),[[Ng,se(o)]])])):Ce("",!0)}}}),EC={"my-10":""},TC={flex:"~ col gap-2","w-200":"",p4:"",border:"t base"},CC={flex:"","items-center":"","gap-2":"",mb1:""},SC={"text-sm":"","gap-2":"",flex:"","flex-row":"",mb1:"","justify-end":""},AC={class:"text-green-500"},xC={class:"text-red-500"},PC=["onClick"],RC={flex:"~ col gap-1 items-start",px4:"",py2:""},kC={flex:"~ gap-3",mt2:"","justify-end":""},LC=xe({__name:"FixActionDialog",setup(e){function t(r){var o;(o=vl.value)==null||o.openInEditor(r)}function n(r,o){o(!1)}return(r,o)=>{const i=HT,s=bl,a=BT,l=ap,c=wC;return j(),pe(se(oh),null,{default:oe(({resolve:u,args:f})=>[M("div",EC,[J(c,{"model-value":!0,style:{"max-height":"80vh"},"onUpdate:modelValue":d=>n("a",u),onClose:d=>n("b",u)},{default:oe(()=>[M("div",TC,[o[3]||(o[3]=M("h2",{"text-xl":"",class:"text-primary"}," Confirm Code Diff ",-1)),(j(!0),Q(me,null,Ot(f[0].diff,(d,p)=>(j(),Q("div",{key:p},[M("div",CC,[M("div",SC,[M("span",AC,"+"+Se(d.diff.added.length),1),M("span",xC,"-"+Se(d.diff.removed.length),1)]),M("button",{type:"button",op50:"","text-xs":"","font-mono":"",onClick:h=>t(d.filepath)},Se(d.filepath),9,PC)]),(j(),pe(s,{key:p,"items-center":"","justify-between":"","of-hidden":"","max-h-50":"",style:{overflow:"auto"}},{default:oe(()=>[M("div",RC,[J(i,un({ref_for:!0},d,{lang:"vue-html",class:"overflow-auto"}),null,16)])]),_:2},1024))]))),128)),M("div",kC,[J(a,{n:"sm purple","flex-auto":"",icon:"carbon-chemistry"},{default:oe(()=>o[0]||(o[0]=[ue(" Experimental. ")])),_:1}),J(l,{onClick:d=>u(!1)},{default:oe(()=>o[1]||(o[1]=[ue(" Cancel ")])),_:2},1032,["onClick"]),J(l,{n:"solid",capitalize:"",class:"n-blue",onClick:d=>u(!0)},{default:oe(()=>o[2]||(o[2]=[ue(" Apply Fix ")])),_:2},1032,["onClick"])])])]),_:2},1032,["onUpdate:modelValue","onClose"])])]),_:1})}}}),OC=window.setInterval,IC={class:"relative n-bg-base flex flex-col"},NC={class:"sticky top-0 z-2 px-4 pt-4"},DC={class:"flex justify-between items-start",mb2:""},$C={class:"flex space-x-5"},MC={"text-xl":"",flex:"","items-center":"","gap-2":""},VC={class:"flex items-center space-x-3 text-xl"},HC={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},FC={class:"px-5 py-2"},BC={"text-lg":"",flex:"","items-center":""},jC={class:"px-5 py-2"},UC={"text-lg":"",flex:"","items-center":""},WC={class:"px-5 py-2"},GC={"text-lg":"",flex:"","items-center":""},zC={class:"px-5 py-2"},qC={"text-lg":"",flex:"","items-center":""},KC=["value","title"],JC={class:"items-center space-x-3 hidden lg:flex"},XC={class:"opacity-80 text-sm"},YC={class:"opacity-80 text-sm"},QC={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},ZC={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},eS={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},tS={key:1},nS={key:0,"text-sm":"",flex:"","items-center":"","gap-1":"",mb6:""},rS={key:1,class:""},oS={flex:"","items-center":"",p3:"","gap-3":"","text-sm":""},iS={key:0,mr5:""},sS={key:1,"text-xs":"",flex:"","items-center":"","gap-1":""},aS={key:2,"text-xs":"",flex:"","items-center":"","gap-1":""},lS={key:3,class:"flex items-center gap-1"},cS={key:2},uS={key:2},fS={class:"opacity-80 text-base mb-1"},dS={class:"opacity-80 text-base mb-1"},pS={key:3},hS={class:"opacity-80 text-base mb-1"},mS={class:"px-3 py-2 space-y-5"},gS=["innerHTML"],_S={key:4,class:"h-full max-h-full overflow-hidden"},yS=xe({__name:"app",async setup(e){let t,n;[t,n]=Dm(()=>rT()),await t,n();const r=ae(0),o=OC(()=>{r.value++,r.value>=3&&clearInterval(o)},2e3),i=Pe(()=>{const m=$r.value;let _=[...Dr.value];return En.value?_=_.filter(v=>v.link===En.value):_=_.filter(v=>m.includes(v.link)),_.sort((v,E)=>v.fix&&!E.fix?1:-1)}),s=Pe(()=>{let m=0;return i.value.map(_=>_.error.length).forEach(_=>{m+=_}),m}),a=Pe(()=>{let m=0;return i.value.map(_=>_.warning.length).forEach(_=>{m+=_}),m}),l=Pe(()=>$r.value.length),c=Pe(()=>i.value.filter(m=>m.passes).length);async function u(){Dr.value=[],Tr.value=0,await ur.value.reset()}async function f(){Oo.value=!Oo.value,await ur.value.toggleLiveInspections(Oo.value)}const d=ae("inspections"),p=ae(!1);async function h(){p.value=!0,Go.value=null,await u(),await Zp(),setTimeout(()=>{p.value=!1},300)}return(m,_)=>{const v=io,E=ib,g=Vt("VTooltip"),w=ll,C=mb,R=bb,I=PT,U=LT,L=VT;return j(),Q("div",IC,[M("header",NC,[M("div",DC,[M("div",$C,[M("h1",MC,[J(v,{icon:"carbon:cloud-satellite-link",class:"text-blue-300 hidden md:block"}),_[2]||(_[2]=ue(" Link Checker ")),J(E,{class:"hidden md:block text-sm"},{default:oe(()=>{var S,O;return[ue(Se((O=(S=se(Go))==null?void 0:S.runtimeConfig)==null?void 0:O.version),1)]}),_:1})])]),M("div",VC,[M("fieldset",HC,[(j(),Q(me,null,Ot(["inspections","links","debug","docs"],(S,O)=>M("label",{key:O,class:Ae(["relative n-border-base hover:n-bg-active cursor-pointer",[O?"border-l n-border-base ml--1px":"",S===d.value?"n-bg-active":""]])},[S==="inspections"?(j(),Q("div",{key:0,class:Ae([S===d.value?"":"op35"])},[J(g,null,{popper:oe(()=>_[3]||(_[3]=[ue(" Inspections ")])),default:oe(()=>[M("div",FC,[M("h2",BC,[J(v,{icon:"carbon:warning-diamond opacity-50"}),J(E,{class:"text-sm"},{default:oe(()=>[ue(Se(s.value+a.value),1)]),_:1})])])]),_:1})],2)):Ce("",!0),S==="links"?(j(),Q("div",{key:1,class:Ae([S===d.value?"":"op35"])},[J(g,null,{popper:oe(()=>_[4]||(_[4]=[ue(" Valid Links ")])),default:oe(()=>[M("div",jC,[M("h2",UC,[J(v,{icon:"carbon:checkmark-outline opacity-50"}),J(E,{class:"text-sm"},{default:oe(()=>[ue(Se(c.value),1)]),_:1})])])]),_:1})],2)):S==="debug"?(j(),Q("div",{key:2,class:Ae([S===d.value?"":"op35"])},[J(g,null,{popper:oe(()=>_[5]||(_[5]=[ue(" Debug ")])),default:oe(()=>[M("div",WC,[M("h2",GC,[J(v,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):S==="docs"?(j(),Q("div",{key:3,class:Ae([S===d.value?"":"op35"])},[J(g,null,{popper:oe(()=>_[6]||(_[6]=[ue(" Documentation ")])),default:oe(()=>[M("div",zC,[M("h2",qC,[J(v,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):Ce("",!0),of(M("input",{"onUpdate:modelValue":_[0]||(_[0]=P=>d.value=P),type:"radio",value:S,title:S,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,KC),[[t_,d.value]])],2)),64))]),J(g,null,{popper:oe(()=>_[7]||(_[7]=[ue(" Refresh ")])),default:oe(()=>[M("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:h},[J(v,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1}),M("button",{class:"mr-5 hover:shadow-lg text-sm transition items-center gap-2 inline-flex border-green-500/50 border-1 rounded-lg shadow-sm px-3 py-1",onClick:f},[J(v,{icon:`${se(Oo)?"carbon:view-off":"carbon:view"}`},null,8,["icon"]),_[8]||(_[8]=M("div",{class:"hidden md:block"}," Inspections ",-1))])]),M("div",JC,[M("div",XC,[J(w,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:oe(()=>[J(v,{icon:"carbon:favorite",class:"mr-[2px]"}),_[9]||(_[9]=ue(" Sponsor "))]),_:1})]),M("div",YC,[J(w,{href:"https://github.com/harlan-zw/nuxt-link-checker",target:"_blank"},{default:oe(()=>[J(v,{icon:"logos:github-icon",class:"mr-[2px]"}),_[10]||(_[10]=ue(" Submit an issue "))]),_:1})]),M("a",QC,[J(C)])])])]),M("div",ZC,[M("main",eS,[p.value?(j(),pe(R,{key:0})):d.value==="inspections"?(j(),Q("div",tS,[se(En)?(j(),Q("p",nS,[se(Tr)?(j(),pe(v,{key:0,icon:"carbon:progress-bar-round",class:"animated animate-spin op50 text-xs"})):Ce("",!0),J(v,{icon:"carbon:filter"}),_[11]||(_[11]=ue(" Filtering Results. ")),M("button",{type:"button",underline:"",onClick:_[1]||(_[1]=S=>En.value=!1)}," Show All ")])):Ce("",!0),se(En)?(j(),Q("div",cS,[(j(!0),Q(me,null,Ot(i.value,(S,O)=>(j(),pe(I,{key:O,item:S},null,8,["item"]))),128))])):(j(),Q("div",rS,[M("div",oS,[se(Tr)?(j(),Q("div",iS,[J(v,{icon:"carbon:progress-bar-round",class:"animated animate-spin op50 text-xs"}),ue(" "+Se(Math.round(Math.abs(se(Tr)-l.value)/l.value*100))+"% ",1)])):Ce("",!0),s.value?(j(),Q("div",sS,[J(v,{icon:"carbon:error","h-4":"","w-4":"","text-red-500":""}),M("div",null,Se(s.value)+" Errors ",1)])):Ce("",!0),a.value?(j(),Q("div",aS,[J(v,{icon:"carbon:warning","h-4":"","w-4":"","text-yellow-500":""}),M("div",null,Se(a.value)+" Warnings ",1)])):Ce("",!0),!a.value&&!s.value?(j(),Q("div",lS,[J(v,{icon:"carbon:checkmark-outline","h-4":"","w-4":"","text-green-500":""}),_[12]||(_[12]=M("div",null,"All links passing",-1))])):Ce("",!0)]),M("div",null,[(j(!0),Q(me,null,Ot([...i.value.filter(S=>S.error.length),...i.value.filter(S=>S.warning.length)],(S,O)=>(j(),pe(I,{key:O,item:S,class:"odd:bg-white dark:odd:bg-[#151515] even:bg-slate-50 dark:even:bg-[#222223] p-2"},null,8,["item"]))),128))])])),J(LC)])):d.value==="links"?(j(),Q("div",uS,[J(L,null,{text:oe(()=>[M("h3",fS,[J(v,{icon:"carbon:chart-network",class:"mr-1"}),_[13]||(_[13]=ue(" Internal Links "))])]),default:oe(()=>[(j(!0),Q(me,null,Ot(i.value.filter(S=>S.passes&&S.link.startsWith("/")),(S,O)=>(j(),pe(U,{key:O,item:S},null,8,["item"]))),128))]),_:1}),J(L,null,{text:oe(()=>[M("h3",dS,[J(v,{icon:"carbon:launch",class:"mr-1"}),_[14]||(_[14]=ue(" External Links "))])]),default:oe(()=>[(j(!0),Q(me,null,Ot(i.value.filter(S=>S.passes&&!S.link.startsWith("/")),(S,O)=>(j(),pe(U,{key:O,item:S},null,8,["item"]))),128))]),_:1})])):d.value==="debug"?(j(),Q("div",pS,[J(L,null,{text:oe(()=>[M("h3",hS,[J(v,{icon:"carbon:settings",class:"mr-1"}),_[15]||(_[15]=ue(" Runtime Config "))])]),default:oe(()=>{var S;return[M("div",mS,[M("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:se(nh)(JSON.stringify(((S=se(Go))==null?void 0:S.runtimeConfig)||{},null,2),"json").value},null,8,gS)])]}),_:1})])):d.value==="docs"?(j(),Q("div",_S,_[16]||(_[16]=[M("iframe",{src:"https://nuxtseo.com/link-checker",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1)]))):Ce("",!0),_[17]||(_[17]=M("div",{class:"flex-auto"},null,-1))])])])}}}),vS={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
40
+ `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
41
+ `);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),a=void 0,u=o?Ml(()=>y(()=>import("./CyIlscnE.js"),__vite__mapDeps([90,91,92]),import.meta.url)):Ml(()=>y(()=>import("./aDoct50J.js"),__vite__mapDeps([93,91,94]),import.meta.url));return(f,d)=>(j(),pe(se(u),Nu(Xa({statusCode:se(r),statusMessage:se(i),description:se(s),stack:se(a)})),null,16))}},bS={key:0},Au={__name:"nuxt-root",setup(e){const t=()=>null,n=Ie(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);St().beforeEach(l)}const o=!1;bf(vd,bd()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const i=tl(),s=!1;df((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),V0(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>$0(l)),!1});const a=!1;return(l,c)=>(j(),pe(cg,{onResolve:se(r)},{default:oe(()=>[se(s)?(j(),Q("div",bS)):se(i)?(j(),pe(se(vS),{key:1,error:se(i)},null,8,["error"])):se(a)?(j(),pe(se(t),{key:2,context:se(a)},null,8,["context"])):se(o)?(j(),pe(mf(se(o)),{key:3})):(j(),pe(se(yS),{key:4}))]),_:1},8,["onResolve"]))}};let xu;{let e;xu=async function(){var s,a;if(e)return e;const r=!!(((s=window.__NUXT__)==null?void 0:s.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?u_(Au):ed(Au),o=b0({vueApp:r});async function i(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||nl(l)}r.config.errorHandler=i,o.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)});try{await T0(o,Zv)}catch(l){i(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(_0),await o.hooks.callHook("app:mounted",r),await cn()}catch(l){i(l)}return r},e=xu().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{so as _,M as a,J as b,Q as c,ue as d,sp as e,eg as f,ea as g,Yt as h,ES as i,Wa as j,xm as k,Am as l,no as m,j as o,ae as r,Se as t,oe as w};