@nuxtjs/sitemap 7.2.5 → 7.2.7

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 (295) hide show
  1. package/dist/client/200.html +10 -280
  2. package/dist/client/404.html +10 -280
  3. package/dist/client/_nuxt/BQoSv7ci.js +1 -0
  4. package/dist/client/_nuxt/{AObogYnP.js → D5OmRZJK.js} +1 -1
  5. package/dist/client/_nuxt/{HnIlIngO.js → UpqtqjC-.js} +1 -1
  6. package/dist/client/_nuxt/builds/latest.json +1 -1
  7. package/dist/client/_nuxt/builds/meta/e2ca61c6-a49f-4324-86cb-aaf8d771020f.json +1 -0
  8. package/dist/client/_nuxt/error-404.DK2ABND1.css +1 -0
  9. package/dist/client/_nuxt/error-500.DRdMe9zL.css +1 -0
  10. package/dist/client/_nuxt/xoiLthSu.js +171 -0
  11. package/dist/client/index.html +10 -280
  12. package/dist/module.cjs +3 -0
  13. package/dist/module.json +1 -1
  14. package/dist/module.mjs +3 -0
  15. package/dist/runtime/server/routes/sitemap_index.xml.js +2 -2
  16. package/dist/runtime/server/sitemap/builder/sitemap-index.js +2 -1
  17. package/dist/runtime/server/sitemap/builder/sitemap.js +2 -1
  18. package/dist/runtime/server/sitemap/nitro.js +3 -2
  19. package/dist/runtime/types.d.ts +7 -4
  20. package/package.json +17 -17
  21. package/dist/client/_nuxt/-30QC5Em.js +0 -1
  22. package/dist/client/_nuxt/-71hrkjd.js +0 -1
  23. package/dist/client/_nuxt/0BrjI7ue.js +0 -1
  24. package/dist/client/_nuxt/2V0Ap-uE.js +0 -1
  25. package/dist/client/_nuxt/3e1v2bzS.js +0 -1
  26. package/dist/client/_nuxt/3xVqZejG.js +0 -1
  27. package/dist/client/_nuxt/5LuOXUq_.js +0 -1
  28. package/dist/client/_nuxt/727ZlQH0.js +0 -1
  29. package/dist/client/_nuxt/7A4Fjokl.js +0 -1
  30. package/dist/client/_nuxt/8jXJkYXT.js +0 -1
  31. package/dist/client/_nuxt/9C6ErRqt.js +0 -1
  32. package/dist/client/_nuxt/B-_AxZdj.js +0 -1
  33. package/dist/client/_nuxt/B0XVJmRM.js +0 -1
  34. package/dist/client/_nuxt/B0m2ddpp.js +0 -1
  35. package/dist/client/_nuxt/B0qRVHPH.js +0 -1
  36. package/dist/client/_nuxt/B14Poo8t.js +0 -1
  37. package/dist/client/_nuxt/B1bQXN8T.js +0 -1
  38. package/dist/client/_nuxt/B3ZDOciz.js +0 -1
  39. package/dist/client/_nuxt/B430Bg39.js +0 -1
  40. package/dist/client/_nuxt/B48N-Iqd.js +0 -1
  41. package/dist/client/_nuxt/B5lbUyaz.js +0 -1
  42. package/dist/client/_nuxt/B6U2uXNT.js +0 -1
  43. package/dist/client/_nuxt/B6W0miNI.js +0 -1
  44. package/dist/client/_nuxt/B7mTdjB0.js +0 -1
  45. package/dist/client/_nuxt/B9wLZaAG.js +0 -1
  46. package/dist/client/_nuxt/BAng5TT0.js +0 -1
  47. package/dist/client/_nuxt/BAxNRJcx.js +0 -1
  48. package/dist/client/_nuxt/BBT0u3iQ.js +0 -1
  49. package/dist/client/_nuxt/BCMa2Tx6.js +0 -1
  50. package/dist/client/_nuxt/BDiHrqA7.js +0 -1
  51. package/dist/client/_nuxt/BEBZ7ncR.js +0 -1
  52. package/dist/client/_nuxt/BFOHcciG.js +0 -1
  53. package/dist/client/_nuxt/BHyGnp0Z.js +0 -1
  54. package/dist/client/_nuxt/BLCLeV30.js +0 -1
  55. package/dist/client/_nuxt/BLmoVg8f.js +0 -1
  56. package/dist/client/_nuxt/BMR_PYu6.js +0 -1
  57. package/dist/client/_nuxt/BMj5Y0dO.js +0 -1
  58. package/dist/client/_nuxt/BNioltXt.js +0 -1
  59. package/dist/client/_nuxt/BPhBrDlE.js +0 -1
  60. package/dist/client/_nuxt/BR4n0CG2.js +0 -1
  61. package/dist/client/_nuxt/BSxZ-RaX.js +0 -1
  62. package/dist/client/_nuxt/BWx0ALLs.js +0 -1
  63. package/dist/client/_nuxt/BX77sIaO.js +0 -1
  64. package/dist/client/_nuxt/BXW1EomU.js +0 -1
  65. package/dist/client/_nuxt/BXkSAIEj.js +0 -1
  66. package/dist/client/_nuxt/BXl-Qilg.js +0 -1
  67. package/dist/client/_nuxt/BY-TUvya.js +0 -1
  68. package/dist/client/_nuxt/BZ4qjH1z.js +0 -1
  69. package/dist/client/_nuxt/B_7mSSNY.js +0 -1
  70. package/dist/client/_nuxt/B_m7g4N7.js +0 -1
  71. package/dist/client/_nuxt/Ba6QCfRf.js +0 -1
  72. package/dist/client/_nuxt/Bbt-fWo2.js +0 -1
  73. package/dist/client/_nuxt/BcOcwvcX.js +0 -1
  74. package/dist/client/_nuxt/BceOnUsB.js +0 -1
  75. package/dist/client/_nuxt/BekpkmYp.js +0 -1
  76. package/dist/client/_nuxt/BfHTSMKl.js +0 -1
  77. package/dist/client/_nuxt/BfivnA6A.js +0 -1
  78. package/dist/client/_nuxt/BfjtVDDH.js +0 -1
  79. package/dist/client/_nuxt/Bg-kzb6g.js +0 -1
  80. package/dist/client/_nuxt/BgDCqdQA.js +0 -1
  81. package/dist/client/_nuxt/Bi2Xjx-o.js +0 -1
  82. package/dist/client/_nuxt/Bid6LQhH.js +0 -1
  83. package/dist/client/_nuxt/BixDBq5F.js +0 -1
  84. package/dist/client/_nuxt/BjABl1g7.js +0 -1
  85. package/dist/client/_nuxt/Bjjh7dxw.js +0 -1
  86. package/dist/client/_nuxt/BkR1g5rb.js +0 -1
  87. package/dist/client/_nuxt/BknIz3MU.js +0 -1
  88. package/dist/client/_nuxt/Bkuqu6BP.js +0 -1
  89. package/dist/client/_nuxt/Bl1h29GH.js +0 -1
  90. package/dist/client/_nuxt/Blx2zv3z.js +0 -1
  91. package/dist/client/_nuxt/BnLMxUhr.js +0 -1
  92. package/dist/client/_nuxt/BnZ6J9ez.js +0 -1
  93. package/dist/client/_nuxt/BoXegm-a.js +0 -1
  94. package/dist/client/_nuxt/Bp6g37R7.js +0 -1
  95. package/dist/client/_nuxt/BpWG_bgh.js +0 -1
  96. package/dist/client/_nuxt/BthQWCQV.js +0 -1
  97. package/dist/client/_nuxt/Bvotw-X0.js +0 -1
  98. package/dist/client/_nuxt/Bw1r3vCz.js +0 -1
  99. package/dist/client/_nuxt/Bw305WKR.js +0 -1
  100. package/dist/client/_nuxt/BxugDVxS.js +0 -1
  101. package/dist/client/_nuxt/BzEH12SI.js +0 -1
  102. package/dist/client/_nuxt/BzJJZx-M.js +0 -1
  103. package/dist/client/_nuxt/C-_shW-Y.js +0 -1
  104. package/dist/client/_nuxt/C1YtDkjL.js +0 -1
  105. package/dist/client/_nuxt/C1w2a3ep.js +0 -1
  106. package/dist/client/_nuxt/C39BiMTA.js +0 -1
  107. package/dist/client/_nuxt/C3FkfJm5.js +0 -1
  108. package/dist/client/_nuxt/C3TFZlTA.js +0 -1
  109. package/dist/client/_nuxt/C3khCPGq.js +0 -1
  110. package/dist/client/_nuxt/C3mMm8J8.js +0 -1
  111. package/dist/client/_nuxt/C3t2pwGQ.js +0 -1
  112. package/dist/client/_nuxt/C4-SGcC-.js +0 -1
  113. package/dist/client/_nuxt/C5AohmeQ.js +0 -1
  114. package/dist/client/_nuxt/C5wWYbrZ.js +0 -1
  115. package/dist/client/_nuxt/C7L56vO4.js +0 -1
  116. package/dist/client/_nuxt/C7gG9l05.js +0 -1
  117. package/dist/client/_nuxt/C8E1IXHE.js +0 -1
  118. package/dist/client/_nuxt/C8M2exoo.js +0 -1
  119. package/dist/client/_nuxt/C8lEn-DE.js +0 -1
  120. package/dist/client/_nuxt/C9e09xm7.js +0 -1
  121. package/dist/client/_nuxt/CAQ2eGtk.js +0 -1
  122. package/dist/client/_nuxt/CCQEdssC.js +0 -1
  123. package/dist/client/_nuxt/CCbUEAxs.js +0 -1
  124. package/dist/client/_nuxt/CD_QflpE.js +0 -1
  125. package/dist/client/_nuxt/CG6Dc4jp.js +0 -1
  126. package/dist/client/_nuxt/CHVitPdg.js +0 -1
  127. package/dist/client/_nuxt/CJaU5se_.js +0 -1
  128. package/dist/client/_nuxt/CLEBXJYW.js +0 -1
  129. package/dist/client/_nuxt/CM8KxXT1.js +0 -1
  130. package/dist/client/_nuxt/COJ4H7py.js +0 -1
  131. package/dist/client/_nuxt/COl1u60l.js +0 -1
  132. package/dist/client/_nuxt/COyJrUc7.js +0 -1
  133. package/dist/client/_nuxt/CQ5q8R2W.js +0 -1
  134. package/dist/client/_nuxt/CQPZbkWf.js +0 -1
  135. package/dist/client/_nuxt/CQjiPCtT.js +0 -1
  136. package/dist/client/_nuxt/CR_dl2Bk.js +0 -1
  137. package/dist/client/_nuxt/CS3Unz2-.js +0 -1
  138. package/dist/client/_nuxt/CSHBycmS.js +0 -1
  139. package/dist/client/_nuxt/CSHvh9SD.js +0 -1
  140. package/dist/client/_nuxt/CTRr51gU.js +0 -1
  141. package/dist/client/_nuxt/CUnW07Te.js +0 -1
  142. package/dist/client/_nuxt/CV3OApzZ.js +0 -32
  143. package/dist/client/_nuxt/CVw76BM1.js +0 -1
  144. package/dist/client/_nuxt/CWGUrYGm.js +0 -1
  145. package/dist/client/_nuxt/CWgbWrzg.js +0 -1
  146. package/dist/client/_nuxt/CX-D33aM.js +0 -1
  147. package/dist/client/_nuxt/CXkZqcqC.js +0 -1
  148. package/dist/client/_nuxt/CafNBF8u.js +0 -1
  149. package/dist/client/_nuxt/CbfX1IO0.js +0 -1
  150. package/dist/client/_nuxt/Cbu_jgUK.js +0 -1
  151. package/dist/client/_nuxt/Cc5clBb7.js +0 -1
  152. package/dist/client/_nuxt/CdO5JTpU.js +0 -1
  153. package/dist/client/_nuxt/CeaQPKDP.js +0 -1
  154. package/dist/client/_nuxt/CfQXZHmo.js +0 -1
  155. package/dist/client/_nuxt/Cg69lM4A.js +0 -1
  156. package/dist/client/_nuxt/CiNAsHKU.js +0 -1
  157. package/dist/client/_nuxt/CjDtw9vr.js +0 -1
  158. package/dist/client/_nuxt/CjTSRSzG.js +0 -1
  159. package/dist/client/_nuxt/CkXjmgJE.js +0 -1
  160. package/dist/client/_nuxt/Cksrkzhi.js +0 -1
  161. package/dist/client/_nuxt/Cl11rDh_.js +0 -1
  162. package/dist/client/_nuxt/ClJifeiK.js +0 -1
  163. package/dist/client/_nuxt/CmCqftbK.js +0 -1
  164. package/dist/client/_nuxt/CsSk9TLD.js +0 -1
  165. package/dist/client/_nuxt/Csfq5Kiy.js +0 -1
  166. package/dist/client/_nuxt/CsiB4_CF.js +0 -1
  167. package/dist/client/_nuxt/CucaAMjX.js +0 -1
  168. package/dist/client/_nuxt/Cuk6v7N8.js +0 -1
  169. package/dist/client/_nuxt/Cv9koXgw.js +0 -1
  170. package/dist/client/_nuxt/CwjWoCRV.js +0 -1
  171. package/dist/client/_nuxt/CyZx4btO.js +0 -1
  172. package/dist/client/_nuxt/CyktbL80.js +0 -1
  173. package/dist/client/_nuxt/CzouJOBO.js +0 -1
  174. package/dist/client/_nuxt/D-2ljcwZ.js +0 -1
  175. package/dist/client/_nuxt/D08_rs9c.js +0 -1
  176. package/dist/client/_nuxt/D33VVPhb.js +0 -1
  177. package/dist/client/_nuxt/D3T736Ml.js +0 -1
  178. package/dist/client/_nuxt/D4h5O-jR.js +0 -1
  179. package/dist/client/_nuxt/D5KoaKCx.js +0 -1
  180. package/dist/client/_nuxt/D7oLnXFd.js +0 -1
  181. package/dist/client/_nuxt/D8P4R8x9.js +0 -1
  182. package/dist/client/_nuxt/DAi9KRSo.js +0 -1
  183. package/dist/client/_nuxt/DBPt_AfP.js +0 -1
  184. package/dist/client/_nuxt/DBtIRQT_.js +0 -1
  185. package/dist/client/_nuxt/DCE3LsBG.js +0 -1
  186. package/dist/client/_nuxt/DDhM2Lry.js +0 -1
  187. package/dist/client/_nuxt/DEEqWFGm.js +0 -1
  188. package/dist/client/_nuxt/DEIpsLCJ.js +0 -1
  189. package/dist/client/_nuxt/DERFIACx.js +0 -1
  190. package/dist/client/_nuxt/DFAwn6Qs.js +0 -1
  191. package/dist/client/_nuxt/DFERiEu9.js +0 -1
  192. package/dist/client/_nuxt/DH5Ifo-i.js +0 -1
  193. package/dist/client/_nuxt/DHJKELXO.js +0 -1
  194. package/dist/client/_nuxt/DHo0CJ0O.js +0 -1
  195. package/dist/client/_nuxt/DJlmqQ1C.js +0 -1
  196. package/dist/client/_nuxt/DKOGybHv.js +0 -1
  197. package/dist/client/_nuxt/DLbgOhZU.js +0 -1
  198. package/dist/client/_nuxt/DLdrzW0n.js +0 -1
  199. package/dist/client/_nuxt/DNTbO5Kf.js +0 -1
  200. package/dist/client/_nuxt/DPWDxuKt.js +0 -1
  201. package/dist/client/_nuxt/DPvbFsQx.js +0 -1
  202. package/dist/client/_nuxt/DRW-0cLl.js +0 -1
  203. package/dist/client/_nuxt/DSrUkfvF.js +0 -1
  204. package/dist/client/_nuxt/DTAJTTim.js +0 -1
  205. package/dist/client/_nuxt/DUszq2jm.js +0 -1
  206. package/dist/client/_nuxt/DVMEJ2y_.js +0 -1
  207. package/dist/client/_nuxt/DWedfzmr.js +0 -1
  208. package/dist/client/_nuxt/DXbdFlpD.js +0 -1
  209. package/dist/client/_nuxt/DYoNaHQp.js +0 -1
  210. package/dist/client/_nuxt/D_iqerNF.js +0 -1
  211. package/dist/client/_nuxt/DaDNKYhP.js +0 -1
  212. package/dist/client/_nuxt/Dayu4EKP.js +0 -1
  213. package/dist/client/_nuxt/DbcauaCG.js +0 -1
  214. package/dist/client/_nuxt/Dbxjm_CC.js +0 -1
  215. package/dist/client/_nuxt/Ddn3lr0y.js +0 -1
  216. package/dist/client/_nuxt/Ddv68eIx.js +0 -1
  217. package/dist/client/_nuxt/DhMKtDLN.js +0 -1
  218. package/dist/client/_nuxt/Dhn9LcZ4.js +0 -1
  219. package/dist/client/_nuxt/Dj6nwHGl.js +0 -1
  220. package/dist/client/_nuxt/DjCbjd0V.js +0 -1
  221. package/dist/client/_nuxt/DjP-tqRL.js +0 -1
  222. package/dist/client/_nuxt/DlaVQbPD.js +0 -1
  223. package/dist/client/_nuxt/DlqU7Mzb.js +0 -1
  224. package/dist/client/_nuxt/Dn00JSTd.js +0 -1
  225. package/dist/client/_nuxt/DnAB7knh.js +0 -1
  226. package/dist/client/_nuxt/DnULxvSX.js +0 -1
  227. package/dist/client/_nuxt/Dp08fnRF.js +0 -1
  228. package/dist/client/_nuxt/DpGQfXhQ.js +0 -1
  229. package/dist/client/_nuxt/DqDt7uUl.js +0 -1
  230. package/dist/client/_nuxt/DqwNpetd.js +0 -1
  231. package/dist/client/_nuxt/Ds-gbosJ.js +0 -1
  232. package/dist/client/_nuxt/DsBKuouk.js +0 -1
  233. package/dist/client/_nuxt/DtFQj3wx.js +0 -1
  234. package/dist/client/_nuxt/Dtn5OO9k.js +0 -1
  235. package/dist/client/_nuxt/Du268qiB.js +0 -1
  236. package/dist/client/_nuxt/Du5NY7AG.js +0 -1
  237. package/dist/client/_nuxt/DxSadP1t.js +0 -1
  238. package/dist/client/_nuxt/DyGSH8sA.js +0 -1
  239. package/dist/client/_nuxt/E3gJ1_iC.js +0 -1
  240. package/dist/client/_nuxt/ISJeQQUc.js +0 -1
  241. package/dist/client/_nuxt/IuBKFhSY.js +0 -1
  242. package/dist/client/_nuxt/JqZropPD.js +0 -1
  243. package/dist/client/_nuxt/L9t79GZl.js +0 -1
  244. package/dist/client/_nuxt/LGGdnPYs.js +0 -1
  245. package/dist/client/_nuxt/LKU2TuZ1.js +0 -1
  246. package/dist/client/_nuxt/MxEea5SM.js +0 -1
  247. package/dist/client/_nuxt/Olw6fvns.js +0 -1
  248. package/dist/client/_nuxt/PoHY5YXO.js +0 -1
  249. package/dist/client/_nuxt/R5DMG1SI.js +0 -1
  250. package/dist/client/_nuxt/RJ4jLoVH.js +0 -1
  251. package/dist/client/_nuxt/RvZl2ZSs.js +0 -1
  252. package/dist/client/_nuxt/SKMF96pI.js +0 -1
  253. package/dist/client/_nuxt/SPD3sf1n.js +0 -1
  254. package/dist/client/_nuxt/T-Tgc4AT.js +0 -1
  255. package/dist/client/_nuxt/UP2u2qKn.js +0 -1
  256. package/dist/client/_nuxt/WlOKAcJ7.js +0 -1
  257. package/dist/client/_nuxt/XBlWyCtg.js +0 -1
  258. package/dist/client/_nuxt/YJb9dmdj.js +0 -1
  259. package/dist/client/_nuxt/YSxxb8je.js +0 -1
  260. package/dist/client/_nuxt/a8RH-YUw.js +0 -1
  261. package/dist/client/_nuxt/aBZrgJR0.js +0 -1
  262. package/dist/client/_nuxt/ahYVQIuB.js +0 -1
  263. package/dist/client/_nuxt/ajMbGru0.js +0 -1
  264. package/dist/client/_nuxt/bCA53EVm.js +0 -1
  265. package/dist/client/_nuxt/bN70gL4F.js +0 -1
  266. package/dist/client/_nuxt/builds/meta/fde9927c-67b7-46e2-bc4b-f2cf5fcca69b.json +0 -1
  267. package/dist/client/_nuxt/cPjAOO0u.js +0 -1
  268. package/dist/client/_nuxt/eHy1PpK4.js +0 -1
  269. package/dist/client/_nuxt/eg146-Ew.js +0 -1
  270. package/dist/client/_nuxt/error-404.CGmvdXdH.css +0 -1
  271. package/dist/client/_nuxt/error-500.DloGOj8k.css +0 -1
  272. package/dist/client/_nuxt/fje9CFhw.js +0 -1
  273. package/dist/client/_nuxt/hegEt444.js +0 -1
  274. package/dist/client/_nuxt/ifBTmRxC.js +0 -1
  275. package/dist/client/_nuxt/jOnvO7K6.js +0 -1
  276. package/dist/client/_nuxt/jY9aw0fr.js +0 -1
  277. package/dist/client/_nuxt/kP2iUUCn.js +0 -1
  278. package/dist/client/_nuxt/k_46elR7.js +0 -1
  279. package/dist/client/_nuxt/m4uW47V2.js +0 -1
  280. package/dist/client/_nuxt/mD5xMClh.js +0 -1
  281. package/dist/client/_nuxt/otdIdbsQ.js +0 -1
  282. package/dist/client/_nuxt/qVXJnTkO.js +0 -1
  283. package/dist/client/_nuxt/qmhIZ77x.js +0 -1
  284. package/dist/client/_nuxt/rAlqSFiP.js +0 -1
  285. package/dist/client/_nuxt/s0gpj0oJ.js +0 -1
  286. package/dist/client/_nuxt/sY1Cc3Se.js +0 -1
  287. package/dist/client/_nuxt/sdHcTMYB.js +0 -1
  288. package/dist/client/_nuxt/tpHetfZQ.js +0 -1
  289. package/dist/client/_nuxt/ulE5f4OK.js +0 -1
  290. package/dist/client/_nuxt/xI-RfyKK.js +0 -1
  291. package/dist/client/_nuxt/xW4inM5L.js +0 -1
  292. package/dist/client/_nuxt/yNdrVPqT.js +0 -1
  293. package/dist/client/_nuxt/ySlJ1b_l.js +0 -1
  294. package/dist/client/_nuxt/z307i-ZX.js +0 -1
  295. package/dist/client/_nuxt/zocC4JxJ.js +0 -1
@@ -0,0 +1,171 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./UpqtqjC-.js","./error-404.DK2ABND1.css","./D5OmRZJK.js","./error-500.DRdMe9zL.css"])))=>i.map(i=>d[i]);
2
+ var vp=Object.defineProperty;var Cp=Object.getPrototypeOf;var Sp=Reflect.get;var Al=e=>{throw TypeError(e)};var xp=(e,t,n)=>t in e?vp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var k=(e,t,n)=>xp(e,typeof t!="symbol"?t+"":t,n),Yo=(e,t,n)=>t.has(e)||Al("Cannot "+n);var qe=(e,t,n)=>(Yo(e,t,"read from private field"),n?n.call(e):t.get(e)),vn=(e,t,n)=>t.has(e)?Al("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),yt=(e,t,n,r)=>(Yo(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Zo=(e,t,n)=>(Yo(e,t,"access private method"),n);var El=(e,t,n)=>Sp(Cp(e),n,t);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();/**
3
+ * @vue/shared v3.5.13
4
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
+ * @license MIT
6
+ **//*! #__NO_SIDE_EFFECTS__ */function Ta(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ye={},tr=[],$t=()=>{},kp=()=>!1,is=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ra=e=>e.startsWith("onUpdate:"),Ve=Object.assign,Pa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ap=Object.prototype.hasOwnProperty,ge=(e,t)=>Ap.call(e,t),te=Array.isArray,nr=e=>as(e)==="[object Map]",$u=e=>as(e)==="[object Set]",Tl=e=>as(e)==="[object Date]",ee=e=>typeof e=="function",ke=e=>typeof e=="string",St=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",$a=e=>(_e(e)||ee(e))&&ee(e.then)&&ee(e.catch),Nu=Object.prototype.toString,as=e=>Nu.call(e),Ep=e=>as(e).slice(8,-1),Iu=e=>as(e)==="[object Object]",Na=e=>ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rr=Ta(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Tp=/-(\w)/g,gt=vo(e=>e.replace(Tp,(t,n)=>n?n.toUpperCase():"")),Rp=/\B([A-Z])/g,gn=vo(e=>e.replace(Rp,"-$1").toLowerCase()),Co=vo(e=>e.charAt(0).toUpperCase()+e.slice(1)),ei=vo(e=>e?`on${Co(e)}`:""),sn=(e,t)=>!Object.is(e,t),$s=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ou=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Pp=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$p=e=>{const t=ke(e)?Number(e):NaN;return isNaN(t)?e:t};let Rl;const So=()=>Rl||(Rl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nn(e){if(te(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ke(r)?Lp(r):Nn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(ke(e)||_e(e))return e}const Np=/;(?![^(]*\))/g,Ip=/:([^]+)/,Op=/\/\*[^]*?\*\//g;function Lp(e){const t={};return e.replace(Op,"").split(Np).forEach(n=>{if(n){const r=n.split(Ip);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Pe(e){let t="";if(ke(e))t=e;else if(te(e))for(let n=0;n<e.length;n++){const r=Pe(e[n]);r&&(t+=r+" ")}else if(_e(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Lu(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ke(t)&&(e.class=Pe(t)),n&&(e.style=Nn(n)),e}const Mp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Dp=Ta(Mp);function Mu(e){return!!e||e===""}function Fp(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Bs(e[r],t[r]);return n}function Bs(e,t){if(e===t)return!0;let n=Tl(e),r=Tl(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=St(e),r=St(t),n||r)return e===t;if(n=te(e),r=te(t),n||r)return n&&r?Fp(e,t):!1;if(n=_e(e),r=_e(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Bs(e[i],t[i]))return!1}}return String(e)===String(t)}const Du=e=>!!(e&&e.__v_isRef===!0),De=e=>ke(e)?e:e==null?"":te(e)||_e(e)&&(e.toString===Nu||!ee(e.toString))?Du(e)?De(e.value):JSON.stringify(e,Fu,2):String(e),Fu=(e,t)=>Du(t)?Fu(e,t.value):nr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ti(r,o)+" =>"]=s,n),{})}:$u(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ti(n))}:St(t)?ti(t):_e(t)&&!te(t)&&!Iu(t)?String(t):t,ti=(e,t="")=>{var n;return St(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7
+ * @vue/reactivity v3.5.13
8
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
9
+ * @license MIT
10
+ **/let Xe;class Hu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Xe,!t&&Xe&&(this.index=(Xe.scopes||(Xe.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=Xe;try{return Xe=this,t()}finally{Xe=n}}}on(){Xe=this}off(){Xe=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Hp(e){return new Hu(e)}function Ia(){return Xe}function Bp(e,t=!1){Xe&&Xe.cleanups.push(e)}let Ce;const ni=new WeakSet;class Bu{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,Xe&&Xe.active&&Xe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ni.has(this)&&(ni.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Gu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Pl(this),Uu(this);const t=Ce,n=wt;Ce=this,wt=!0;try{return this.fn()}finally{Wu(this),Ce=t,wt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ma(t);this.deps=this.depsTail=void 0,Pl(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ni.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Oi(this)&&this.run()}get dirty(){return Oi(this)}}let ju=0,$r,Nr;function Gu(e,t=!1){if(e.flags|=8,t){e.next=Nr,Nr=e;return}e.next=$r,$r=e}function Oa(){ju++}function La(){if(--ju>0)return;if(Nr){let t=Nr;for(Nr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;$r;){let t=$r;for($r=void 0;t;){const n=t.next;if(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 Uu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Wu(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Ma(r),jp(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Oi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(zu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function zu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Wr))return;e.globalVersion=Wr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Oi(e)){e.flags&=-3;return}const n=Ce,r=wt;Ce=e,wt=!0;try{Uu(e);const s=e.fn(e._value);(t.version===0||sn(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Ce=n,wt=r,Wu(e),e.flags&=-3}}function Ma(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Ma(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function jp(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let wt=!0;const Vu=[];function mn(){Vu.push(wt),wt=!1}function yn(){const e=Vu.pop();wt=e===void 0?!0:e}function Pl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ce;Ce=void 0;try{t()}finally{Ce=n}}}let Wr=0;class Gp{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 xo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Ce||!wt||Ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ce)n=this.activeLink=new Gp(Ce,this),Ce.deps?(n.prevDep=Ce.depsTail,Ce.depsTail.nextDep=n,Ce.depsTail=n):Ce.deps=Ce.depsTail=n,qu(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=Ce.depsTail,n.nextDep=void 0,Ce.depsTail.nextDep=n,Ce.depsTail=n,Ce.deps===n&&(Ce.deps=r)}return n}trigger(t){this.version++,Wr++,this.notify(t)}notify(t){Oa();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{La()}}}function qu(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)qu(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const js=new WeakMap,In=Symbol(""),Li=Symbol(""),zr=Symbol("");function Ue(e,t,n){if(wt&&Ce){let r=js.get(e);r||js.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new xo),s.map=r,s.key=n),s.track()}}function Wt(e,t,n,r,s,o){const i=js.get(e);if(!i){Wr++;return}const a=l=>{l&&l.trigger()};if(Oa(),t==="clear")i.forEach(a);else{const l=te(e),c=l&&Na(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,h)=>{(h==="length"||h===zr||!St(h)&&h>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(zr)),t){case"add":l?c&&a(i.get("length")):(a(i.get(In)),nr(e)&&a(i.get(Li)));break;case"delete":l||(a(i.get(In)),nr(e)&&a(i.get(Li)));break;case"set":nr(e)&&a(i.get(In));break}}La()}function Up(e,t){const n=js.get(e);return n&&n.get(t)}function Vn(e){const t=pe(e);return t===e?t:(Ue(t,"iterate",zr),pt(e)?t:t.map(We))}function ko(e){return Ue(e=pe(e),"iterate",zr),e}const Wp={__proto__:null,[Symbol.iterator](){return ri(this,Symbol.iterator,We)},concat(...e){return Vn(this).concat(...e.map(t=>te(t)?Vn(t):t))},entries(){return ri(this,"entries",e=>(e[1]=We(e[1]),e))},every(e,t){return Ht(this,"every",e,t,void 0,arguments)},filter(e,t){return Ht(this,"filter",e,t,n=>n.map(We),arguments)},find(e,t){return Ht(this,"find",e,t,We,arguments)},findIndex(e,t){return Ht(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ht(this,"findLast",e,t,We,arguments)},findLastIndex(e,t){return Ht(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ht(this,"forEach",e,t,void 0,arguments)},includes(...e){return si(this,"includes",e)},indexOf(...e){return si(this,"indexOf",e)},join(e){return Vn(this).join(e)},lastIndexOf(...e){return si(this,"lastIndexOf",e)},map(e,t){return Ht(this,"map",e,t,void 0,arguments)},pop(){return kr(this,"pop")},push(...e){return kr(this,"push",e)},reduce(e,...t){return $l(this,"reduce",e,t)},reduceRight(e,...t){return $l(this,"reduceRight",e,t)},shift(){return kr(this,"shift")},some(e,t){return Ht(this,"some",e,t,void 0,arguments)},splice(...e){return kr(this,"splice",e)},toReversed(){return Vn(this).toReversed()},toSorted(e){return Vn(this).toSorted(e)},toSpliced(...e){return Vn(this).toSpliced(...e)},unshift(...e){return kr(this,"unshift",e)},values(){return ri(this,"values",We)}};function ri(e,t,n){const r=ko(e),s=r[t]();return r!==e&&!pt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const zp=Array.prototype;function Ht(e,t,n,r,s,o){const i=ko(e),a=i!==e&&!pt(e),l=i[t];if(l!==zp[t]){const f=l.apply(e,o);return a?We(f):f}let c=n;i!==e&&(a?c=function(f,h){return n.call(this,We(f),h,e)}:n.length>2&&(c=function(f,h){return n.call(this,f,h,e)}));const u=l.call(i,c,r);return a&&s?s(u):u}function $l(e,t,n,r){const s=ko(e);let o=n;return s!==e&&(pt(e)?n.length>3&&(o=function(i,a,l){return n.call(this,i,a,l,e)}):o=function(i,a,l){return n.call(this,i,We(a),l,e)}),s[t](o,...r)}function si(e,t,n){const r=pe(e);Ue(r,"iterate",zr);const s=r[t](...n);return(s===-1||s===!1)&&Ha(n[0])?(n[0]=pe(n[0]),r[t](...n)):s}function kr(e,t,n=[]){mn(),Oa();const r=pe(e)[t].apply(e,n);return La(),yn(),r}const Vp=Ta("__proto__,__v_isRef,__isVue"),Ku=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(St));function qp(e){St(e)||(e=String(e));const t=pe(this);return Ue(t,"has",e),t.hasOwnProperty(e)}class Ju{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?rg:Zu:o?Yu:Qu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=te(t);if(!s){let l;if(i&&(l=Wp[n]))return l;if(n==="hasOwnProperty")return qp}const a=Reflect.get(t,n,$e(t)?t:r);return(St(n)?Ku.has(n):Vp(n))||(s||Ue(t,"get",n),o)?a:$e(a)?i&&Na(n)?a:a.value:_e(a)?s?Ao(a):fn(a):a}}class Xu extends Ju{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=hn(o);if(!pt(r)&&!hn(r)&&(o=pe(o),r=pe(r)),!te(t)&&$e(o)&&!$e(r))return l?!1:(o.value=r,!0)}const i=te(t)&&Na(n)?Number(n)<t.length:ge(t,n),a=Reflect.set(t,n,r,$e(t)?t:s);return t===pe(s)&&(i?sn(r,o)&&Wt(t,"set",n,r):Wt(t,"add",n,r)),a}deleteProperty(t,n){const r=ge(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Wt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!St(n)||!Ku.has(n))&&Ue(t,"has",n),r}ownKeys(t){return Ue(t,"iterate",te(t)?"length":In),Reflect.ownKeys(t)}}class Kp extends Ju{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Jp=new Xu,Xp=new Kp,Qp=new Xu(!0);const Mi=e=>e,ps=e=>Reflect.getPrototypeOf(e);function Yp(e,t,n){return function(...r){const s=this.__v_raw,o=pe(s),i=nr(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),u=n?Mi:t?Di:We;return!t&&Ue(o,"iterate",l?Li:In),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:a?[u(f[0]),u(f[1])]:u(f),done:h}},[Symbol.iterator](){return this}}}}function gs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Zp(e,t){const n={get(s){const o=this.__v_raw,i=pe(o),a=pe(s);e||(sn(s,a)&&Ue(i,"get",s),Ue(i,"get",a));const{has:l}=ps(i),c=t?Mi:e?Di:We;if(l.call(i,s))return c(o.get(s));if(l.call(i,a))return c(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ue(pe(s),"iterate",In),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=pe(o),a=pe(s);return e||(sn(s,a)&&Ue(i,"has",s),Ue(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=pe(a),c=t?Mi:e?Di:We;return!e&&Ue(l,"iterate",In),a.forEach((u,f)=>s.call(o,c(u),c(f),i))}};return Ve(n,e?{add:gs("add"),set:gs("set"),delete:gs("delete"),clear:gs("clear")}:{add(s){!t&&!pt(s)&&!hn(s)&&(s=pe(s));const o=pe(this);return ps(o).has.call(o,s)||(o.add(s),Wt(o,"add",s,s)),this},set(s,o){!t&&!pt(o)&&!hn(o)&&(o=pe(o));const i=pe(this),{has:a,get:l}=ps(i);let c=a.call(i,s);c||(s=pe(s),c=a.call(i,s));const u=l.call(i,s);return i.set(s,o),c?sn(o,u)&&Wt(i,"set",s,o):Wt(i,"add",s,o),this},delete(s){const o=pe(this),{has:i,get:a}=ps(o);let l=i.call(o,s);l||(s=pe(s),l=i.call(o,s)),a&&a.call(o,s);const c=o.delete(s);return l&&Wt(o,"delete",s,void 0),c},clear(){const s=pe(this),o=s.size!==0,i=s.clear();return o&&Wt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Yp(s,e,t)}),n}function Da(e,t){const n=Zp(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ge(n,s)&&s in r?n:r,s,o)}const eg={get:Da(!1,!1)},tg={get:Da(!1,!0)},ng={get:Da(!0,!1)};const Qu=new WeakMap,Yu=new WeakMap,Zu=new WeakMap,rg=new WeakMap;function sg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function og(e){return e.__v_skip||!Object.isExtensible(e)?0:sg(Ep(e))}function fn(e){return hn(e)?e:Fa(e,!1,Jp,eg,Qu)}function Yn(e){return Fa(e,!1,Qp,tg,Yu)}function Ao(e){return Fa(e,!0,Xp,ng,Zu)}function Fa(e,t,n,r,s){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=og(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function On(e){return hn(e)?On(e.__v_raw):!!(e&&e.__v_isReactive)}function hn(e){return!!(e&&e.__v_isReadonly)}function pt(e){return!!(e&&e.__v_isShallow)}function Ha(e){return e?!!e.__v_raw:!1}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function ig(e){return!ge(e,"__v_skip")&&Object.isExtensible(e)&&Ou(e,"__v_skip",!0),e}const We=e=>_e(e)?fn(e):e,Di=e=>_e(e)?Ao(e):e;function $e(e){return e?e.__v_isRef===!0:!1}function Ee(e){return ef(e,!1)}function Fi(e){return ef(e,!0)}function ef(e,t){return $e(e)?e:new ag(e,t)}class ag{constructor(t,n){this.dep=new xo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:pe(t),this._value=n?t:We(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||pt(t)||hn(t);t=r?t:pe(t),sn(t,n)&&(this._rawValue=t,this._value=r?t:We(t),this.dep.trigger())}}function ae(e){return $e(e)?e.value:e}function on(e){return ee(e)?e():ae(e)}const lg={get:(e,t,n)=>t==="__v_raw"?e:ae(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return $e(s)&&!$e(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function tf(e){return On(e)?e:new Proxy(e,lg)}class cg{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new xo,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function ug(e){return new cg(e)}class fg{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 Up(pe(this._object),this._key)}}class hg{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 nf(e,t,n){return $e(e)?e:ee(e)?new hg(e):_e(e)&&arguments.length>1?dg(e,t,n):Ee(e)}function dg(e,t,n){const r=e[t];return $e(r)?r:new fg(e,t,n)}class pg{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new xo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Wr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ce!==this)return Gu(this,!0),!0}get value(){const t=this.dep.track();return zu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function gg(e,t,n=!1){let r,s;return ee(e)?r=e:(r=e.get,s=e.set),new pg(r,s,n)}const ms={},Gs=new WeakMap;let An;function mg(e,t=!1,n=An){if(n){let r=Gs.get(n);r||Gs.set(n,r=[]),r.push(e)}}function yg(e,t,n=ye){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,c=w=>s?w:pt(w)||s===!1||s===0?zt(w,1):zt(w);let u,f,h,d,p=!1,g=!1;if($e(e)?(f=()=>e.value,p=pt(e)):On(e)?(f=()=>c(e),p=!0):te(e)?(g=!0,p=e.some(w=>On(w)||pt(w)),f=()=>e.map(w=>{if($e(w))return w.value;if(On(w))return c(w);if(ee(w))return l?l(w,2):w()})):ee(e)?t?f=l?()=>l(e,2):e:f=()=>{if(h){mn();try{h()}finally{yn()}}const w=An;An=u;try{return l?l(e,3,[d]):e(d)}finally{An=w}}:f=$t,t&&s){const w=f,C=s===!0?1/0:s;f=()=>zt(w(),C)}const y=Ia(),_=()=>{u.stop(),y&&y.active&&Pa(y.effects,u)};if(o&&t){const w=t;t=(...C)=>{w(...C),_()}}let v=g?new Array(e.length).fill(ms):ms;const m=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(t){const C=u.run();if(s||p||(g?C.some((E,x)=>sn(E,v[x])):sn(C,v))){h&&h();const E=An;An=u;try{const x=[C,v===ms?void 0:g&&v[0]===ms?[]:v,d];l?l(t,3,x):t(...x),v=C}finally{An=E}}}else u.run()};return a&&a(m),u=new Bu(f),u.scheduler=i?()=>i(m,!1):m,d=w=>mg(w,!1,u),h=u.onStop=()=>{const w=Gs.get(u);if(w){if(l)l(w,4);else for(const C of w)C();Gs.delete(u)}},t?r?m(!0):v=u.run():i?i(m.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}function zt(e,t=1/0,n){if(t<=0||!_e(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,$e(e))zt(e.value,t,n);else if(te(e))for(let r=0;r<e.length;r++)zt(e[r],t,n);else if($u(e)||nr(e))e.forEach(r=>{zt(r,t,n)});else if(Iu(e)){for(const r in e)zt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&zt(e[r],t,n)}return e}/**
11
+ * @vue/runtime-core v3.5.13
12
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
13
+ * @license MIT
14
+ **/function ls(e,t,n,r){try{return r?e(...r):e()}catch(s){br(s,t,n)}}function Lt(e,t,n,r){if(ee(e)){const s=ls(e,t,n,r);return s&&$a(s)&&s.catch(o=>{br(o,t,n)}),s}if(te(e)){const s=[];for(let o=0;o<e.length;o++)s.push(Lt(e[o],t,n,r));return s}}function br(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ye;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(o){mn(),ls(o,null,10,[e,l,c]),yn();return}}_g(e,n,s,r,i)}function _g(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Qe=[];let Tt=-1;const sr=[];let Yt=null,Kn=0;const rf=Promise.resolve();let Us=null;function jn(e){const t=Us||rf;return e?t.then(this?e.bind(this):e):t}function bg(e){let t=Tt+1,n=Qe.length;for(;t<n;){const r=t+n>>>1,s=Qe[r],o=Vr(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Ba(e){if(!(e.flags&1)){const t=Vr(e),n=Qe[Qe.length-1];!n||!(e.flags&2)&&t>=Vr(n)?Qe.push(e):Qe.splice(bg(t),0,e),e.flags|=1,sf()}}function sf(){Us||(Us=rf.then(of))}function Hi(e){te(e)?sr.push(...e):Yt&&e.id===-1?Yt.splice(Kn+1,0,e):e.flags&1||(sr.push(e),e.flags|=1),sf()}function Nl(e,t,n=Tt+1){for(;n<Qe.length;n++){const r=Qe[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Qe.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Ws(e){if(sr.length){const t=[...new Set(sr)].sort((n,r)=>Vr(n)-Vr(r));if(sr.length=0,Yt){Yt.push(...t);return}for(Yt=t,Kn=0;Kn<Yt.length;Kn++){const n=Yt[Kn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Yt=null,Kn=0}}const Vr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function of(e){try{for(Tt=0;Tt<Qe.length;Tt++){const t=Qe[Tt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ls(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Tt<Qe.length;Tt++){const t=Qe[Tt];t&&(t.flags&=-2)}Tt=-1,Qe.length=0,Ws(),Us=null,(Qe.length||sr.length)&&of()}}let Le=null,Eo=null;function zs(e){const t=Le;return Le=e,Eo=e&&e.type.__scopeId||null,t}function wg(e){Eo=e}function vg(){Eo=null}const Cg=e=>ie;function ie(e,t=Le,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&zl(-1);const o=zs(t);let i;try{i=e(...s)}finally{zs(o),r._d&&zl(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Sg(e,t){if(Le===null)return e;const n=Io(Le),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=ye]=t[s];o&&(ee(o)&&(o={mounted:o,updated:o}),o.deep&&zt(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Rt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(mn(),Lt(l,n,8,[e.el,a,e,t]),yn())}}const xg=Symbol("_vte"),kg=e=>e.__isTeleport;function ja(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ja(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function et(e,t){return ee(e)?Ve({name:e.name},t,{setup:e}):e}function Ga(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function qr(e,t,n,r,s=!1){if(te(e)){e.forEach((p,g)=>qr(p,t&&(te(t)?t[g]:t),n,r,s));return}if(Ln(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&qr(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Io(r.component):r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===ye?a.refs={}:a.refs,f=a.setupState,h=pe(f),d=f===ye?()=>!1:p=>ge(h,p);if(c!=null&&c!==l&&(ke(c)?(u[c]=null,d(c)&&(f[c]=null)):$e(c)&&(c.value=null)),ee(l))ls(l,a,12,[i,u]);else{const p=ke(l),g=$e(l);if(p||g){const y=()=>{if(e.f){const _=p?d(l)?f[l]:u[l]:l.value;s?te(_)&&Pa(_,o):te(_)?_.includes(o)||_.push(o):p?(u[l]=[o],d(l)&&(f[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else p?(u[l]=i,d(l)&&(f[l]=i)):g&&(l.value=i,e.k&&(u[e.k]=i))};i?(y.id=-1,it(y,n)):y()}}}let Il=!1;const qn=()=>{Il||(console.error("Hydration completed but contains mismatches."),Il=!0)},Ag=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Eg=e=>e.namespaceURI.includes("MathML"),ys=e=>{if(e.nodeType===1){if(Ag(e))return"svg";if(Eg(e))return"mathml"}},Zn=e=>e.nodeType===8;function Tg(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(m,w)=>{if(!w.hasChildNodes()){n(null,m,w),Ws(),w._vnode=m;return}f(w.firstChild,m,null,null,null),Ws(),w._vnode=m},f=(m,w,C,E,x,M=!1)=>{M=M||!!w.dynamicChildren;const F=Zn(m)&&m.data==="[",I=()=>g(m,w,C,E,x,F),{type:D,ref:G,shapeFlag:X,patchFlag:re}=w;let he=m.nodeType;w.el=m,re===-2&&(M=!1,w.dynamicChildren=null);let W=null;switch(D){case Fn:he!==3?w.children===""?(l(w.el=s(""),i(m),m),W=m):W=I():(m.data!==w.children&&(qn(),m.data=w.children),W=o(m));break;case xt:v(m)?(W=o(m),_(w.el=m.content.firstChild,m,C)):he!==8||F?W=I():W=o(m);break;case Or:if(F&&(m=o(m),he=m.nodeType),he===1||he===3){W=m;const Y=!w.children.length;for(let V=0;V<w.staticCount;V++)Y&&(w.children+=W.nodeType===1?W.outerHTML:W.data),V===w.staticCount-1&&(w.anchor=W),W=o(W);return F?o(W):W}else I();break;case Se:F?W=p(m,w,C,E,x,M):W=I();break;default:if(X&1)(he!==1||w.type.toLowerCase()!==m.tagName.toLowerCase())&&!v(m)?W=I():W=h(m,w,C,E,x,M);else if(X&6){w.slotScopeIds=x;const Y=i(m);if(F?W=y(m):Zn(m)&&m.data==="teleport start"?W=y(m,m.data,"teleport end"):W=o(m),t(w,Y,null,C,E,ys(Y),M),Ln(w)&&!w.type.__asyncResolved){let V;F?(V=K(Se),V.anchor=W?W.previousSibling:Y.lastChild):V=m.nodeType===3?ce(""):K("div"),V.el=m,w.component.subTree=V}}else X&64?he!==8?W=I():W=w.type.hydrate(m,w,C,E,x,M,e,d):X&128&&(W=w.type.hydrate(m,w,C,E,ys(i(m)),x,M,e,f))}return G!=null&&qr(G,null,E,w),W},h=(m,w,C,E,x,M)=>{M=M||!!w.dynamicChildren;const{type:F,props:I,patchFlag:D,shapeFlag:G,dirs:X,transition:re}=w,he=F==="input"||F==="option";if(he||D!==-1){X&&Rt(w,null,C,"created");let W=!1;if(v(m)){W=Pf(null,re)&&C&&C.vnode.props&&C.vnode.props.appear;const V=m.content.firstChild;W&&re.beforeEnter(V),_(V,m,C),w.el=m=V}if(G&16&&!(I&&(I.innerHTML||I.textContent))){let V=d(m.firstChild,w,m,C,E,x,M);for(;V;){_s(m,1)||qn();const be=V;V=V.nextSibling,a(be)}}else if(G&8){let V=w.children;V[0]===`
15
+ `&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&(V=V.slice(1)),m.textContent!==V&&(_s(m,0)||qn(),m.textContent=w.children)}if(I){if(he||!M||D&48){const V=m.tagName.includes("-");for(const be in I)(he&&(be.endsWith("value")||be==="indeterminate")||is(be)&&!rr(be)||be[0]==="."||V)&&r(m,be,null,I[be],void 0,C)}else if(I.onClick)r(m,"onClick",null,I.onClick,void 0,C);else if(D&4&&On(I.style))for(const V in I.style)I.style[V]}let Y;(Y=I&&I.onVnodeBeforeMount)&&ct(Y,C,w),X&&Rt(w,null,C,"beforeMount"),((Y=I&&I.onVnodeMounted)||X||W)&&Ff(()=>{Y&&ct(Y,C,w),W&&re.enter(m),X&&Rt(w,null,C,"mounted")},E)}return m.nextSibling},d=(m,w,C,E,x,M,F)=>{F=F||!!w.dynamicChildren;const I=w.children,D=I.length;for(let G=0;G<D;G++){const X=F?I[G]:I[G]=at(I[G]),re=X.type===Fn;m?(re&&!F&&G+1<D&&at(I[G+1]).type===Fn&&(l(s(m.data.slice(X.children.length)),C,o(m)),m.data=X.children),m=f(m,X,E,x,M,F)):re&&!X.children?l(X.el=s(""),C):(_s(C,1)||qn(),n(null,X,C,null,E,x,ys(C),M))}return m},p=(m,w,C,E,x,M)=>{const{slotScopeIds:F}=w;F&&(x=x?x.concat(F):F);const I=i(m),D=d(o(m),w,I,C,E,x,M);return D&&Zn(D)&&D.data==="]"?o(w.anchor=D):(qn(),l(w.anchor=c("]"),I,D),D)},g=(m,w,C,E,x,M)=>{if(_s(m.parentElement,1)||qn(),w.el=null,M){const D=y(m);for(;;){const G=o(m);if(G&&G!==D)a(G);else break}}const F=o(m),I=i(m);return a(m),n(null,w,I,F,C,E,ys(I),x),C&&(C.vnode.el=w.el,$o(C,w.el)),F},y=(m,w="[",C="]")=>{let E=0;for(;m;)if(m=o(m),m&&Zn(m)&&(m.data===w&&E++,m.data===C)){if(E===0)return o(m);E--}return m},_=(m,w,C)=>{const E=w.parentNode;E&&E.replaceChild(m,w);let x=C;for(;x;)x.vnode.el===w&&(x.vnode.el=x.subTree.el=m),x=x.parent},v=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[u,f]}const Ol="data-allow-mismatch",Rg={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function _s(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ol);)e=e.parentElement;const n=e&&e.getAttribute(Ol);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(Rg[t])}}So().requestIdleCallback;So().cancelIdleCallback;function Pg(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 Ln=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ll(e){ee(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:l}=e;let c=null,u,f=0;const h=()=>(f++,c=null,d()),d=()=>{let p;return c||(p=c=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((y,_)=>{l(g,()=>y(h()),()=>_(g),f+1)});throw g}).then(g=>p!==c&&c?c:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),u=g,g)))};return et({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(p,g,y){const _=o?()=>{const v=o(y,m=>Pg(p,m));v&&(g.bum||(g.bum=[])).push(v)}:y;u?_():d().then(()=>!g.isUnmounted&&_())},get __asyncResolved(){return u},setup(){const p=Oe;if(Ga(p),u)return()=>oi(u,p);const g=m=>{c=null,br(m,p,13,!r)};if(a&&p.suspense||dr)return d().then(m=>()=>oi(m,p)).catch(m=>(g(m),()=>r?K(r,{error:m}):null));const y=Ee(!1),_=Ee(),v=Ee(!!s);return s&&setTimeout(()=>{v.value=!1},s),i!=null&&setTimeout(()=>{if(!y.value&&!_.value){const m=new Error(`Async component timed out after ${i}ms.`);g(m),_.value=m}},i),d().then(()=>{y.value=!0,p.parent&&Ua(p.parent.vnode)&&p.parent.update()}).catch(m=>{g(m),_.value=m}),()=>{if(y.value&&u)return oi(u,p);if(_.value&&r)return K(r,{error:_.value});if(n&&!v.value)return K(n)}}})}function oi(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=K(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Ua=e=>e.type.__isKeepAlive;function af(e,t){cf(e,"a",t)}function lf(e,t){cf(e,"da",t)}function cf(e,t,n=Oe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(To(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ua(s.parent.vnode)&&$g(r,t,n,s),s=s.parent}}function $g(e,t,n,r){const s=To(t,e,r,!0);uf(()=>{Pa(r[t],s)},n)}function To(e,t,n=Oe,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{mn();const a=Hn(n),l=Lt(t,n,e,i);return a(),yn(),l});return r?s.unshift(o):s.push(o),o}}const Kt=e=>(t,n=Oe)=>{(!dr||e==="sp")&&To(e,(...r)=>t(...r),n)},Ng=Kt("bm"),Wa=Kt("m"),Ig=Kt("bu"),Og=Kt("u"),za=Kt("bum"),uf=Kt("um"),Lg=Kt("sp"),Mg=Kt("rtg"),Dg=Kt("rtc");function ff(e,t=Oe){To("ec",e,t)}const hf="components";function dn(e,t){return pf(hf,e,!0,t)||e}const df=Symbol.for("v-ndc");function Fg(e){return ke(e)?pf(hf,e,!1)||e:e||df}function pf(e,t,n=!0,r=!1){const s=Le||Oe;if(s){const o=s.type;{const a=Tm(o,!1);if(a&&(a===t||a===gt(t)||a===Co(gt(t))))return o}const i=Ml(s[e]||o[e],t)||Ml(s.appContext[e],t);return!i&&r?o:i}}function Ml(e,t){return e&&(e[t]||e[gt(t)]||e[Co(gt(t))])}function Jn(e,t,n,r){let s;const o=n,i=te(e);if(i||ke(e)){const a=i&&On(e);let l=!1;a&&(l=!pt(e),e=ko(e)),s=new Array(e.length);for(let c=0,u=e.length;c<u;c++)s[c]=t(l?We(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(_e(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];s[l]=t(e[u],u,l,o)}}else s=[];return s}function Ye(e,t,n={},r,s){if(Le.ce||Le.parent&&Ln(Le.parent)&&Le.parent.ce)return t!=="default"&&(n.name=t),U(),xe(Se,null,[K("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),U();const i=o&&gf(o(n)),a=n.key||i&&i.key,l=xe(Se,{key:(a&&!St(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function gf(e){return e.some(t=>fr(t)?!(t.type===xt||t.type===Se&&!gf(t.children)):!0)?e:null}const Bi=e=>e?Gf(e)?Io(e):Bi(e.parent):null,Ir=Ve(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=>Bi(e.parent),$root:e=>Bi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>yf(e),$forceUpdate:e=>e.f||(e.f=()=>{Ba(e.update)}),$nextTick:e=>e.n||(e.n=jn.bind(e.proxy)),$watch:e=>om.bind(e)}),ii=(e,t)=>e!==ye&&!e.__isScriptSetup&&ge(e,t),Hg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(ii(r,t))return i[t]=1,r[t];if(s!==ye&&ge(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&ge(c,t))return i[t]=3,o[t];if(n!==ye&&ge(n,t))return i[t]=4,n[t];ji&&(i[t]=0)}}const u=Ir[t];let f,h;if(u)return t==="$attrs"&&Ue(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ye&&ge(n,t))return i[t]=4,n[t];if(h=l.config.globalProperties,ge(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return ii(s,t)?(s[t]=n,!0):r!==ye&&ge(r,t)?(r[t]=n,!0):ge(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==ye&&ge(e,i)||ii(t,i)||(a=o[0])&&ge(a,i)||ge(r,i)||ge(Ir,i)||ge(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ge(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Dl(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Bg(e){const t=cs();let n=e();return Vi(),$a(n)&&(n=n.catch(r=>{throw Hn(t),r})),[n,()=>Hn(t)]}let ji=!0;function jg(e){const t=yf(e),n=e.proxy,r=e.ctx;ji=!1,t.beforeCreate&&Fl(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:g,deactivated:y,beforeDestroy:_,beforeUnmount:v,destroyed:m,unmounted:w,render:C,renderTracked:E,renderTriggered:x,errorCaptured:M,serverPrefetch:F,expose:I,inheritAttrs:D,components:G,directives:X,filters:re}=t;if(c&&Gg(c,r,null),i)for(const Y in i){const V=i[Y];ee(V)&&(r[Y]=V.bind(n))}if(s){const Y=s.call(n,n);_e(Y)&&(e.data=fn(Y))}if(ji=!0,o)for(const Y in o){const V=o[Y],be=ee(V)?V.bind(n,n):ee(V.get)?V.get.bind(n,n):$t,Wn=!ee(V)&&ee(V.set)?V.set.bind(n):$t,wn=Re({get:be,set:Wn});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>wn.value,set:kt=>wn.value=kt})}if(a)for(const Y in a)mf(a[Y],r,n,Y);if(l){const Y=ee(l)?l.call(n):l;Reflect.ownKeys(Y).forEach(V=>{bf(V,Y[V])})}u&&Fl(u,e,"c");function W(Y,V){te(V)?V.forEach(be=>Y(be.bind(n))):V&&Y(V.bind(n))}if(W(Ng,f),W(Wa,h),W(Ig,d),W(Og,p),W(af,g),W(lf,y),W(ff,M),W(Dg,E),W(Mg,x),W(za,v),W(uf,w),W(Lg,F),te(I))if(I.length){const Y=e.exposed||(e.exposed={});I.forEach(V=>{Object.defineProperty(Y,V,{get:()=>n[V],set:be=>n[V]=be})})}else e.exposed||(e.exposed={});C&&e.render===$t&&(e.render=C),D!=null&&(e.inheritAttrs=D),G&&(e.components=G),X&&(e.directives=X),F&&Ga(e)}function Gg(e,t,n=$t){te(e)&&(e=Gi(e));for(const r in e){const s=e[r];let o;_e(s)?"default"in s?o=Dn(s.from||r,s.default,!0):o=Dn(s.from||r):o=Dn(s),$e(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Fl(e,t,n){Lt(te(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function mf(e,t,n,r){let s=r.includes(".")?Of(n,r):()=>n[r];if(ke(e)){const o=t[e];ee(o)&&an(s,o)}else if(ee(e))an(s,e.bind(n));else if(_e(e))if(te(e))e.forEach(o=>mf(o,t,n,r));else{const o=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(o)&&an(s,o,e)}}function yf(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>Vs(l,c,i,!0)),Vs(l,t,i)),_e(t)&&o.set(t,l),l}function Vs(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Vs(e,o,n,!0),s&&s.forEach(i=>Vs(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Ug[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Ug={data:Hl,props:Bl,emits:Bl,methods:Rr,computed:Rr,beforeCreate:Ke,created:Ke,beforeMount:Ke,mounted:Ke,beforeUpdate:Ke,updated:Ke,beforeDestroy:Ke,beforeUnmount:Ke,destroyed:Ke,unmounted:Ke,activated:Ke,deactivated:Ke,errorCaptured:Ke,serverPrefetch:Ke,components:Rr,directives:Rr,watch:zg,provide:Hl,inject:Wg};function Hl(e,t){return t?e?function(){return Ve(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function Wg(e,t){return Rr(Gi(e),Gi(t))}function Gi(e){if(te(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ke(e,t){return e?[...new Set([].concat(e,t))]:t}function Rr(e,t){return e?Ve(Object.create(null),e,t):t}function Bl(e,t){return e?te(e)&&te(t)?[...new Set([...e,...t])]:Ve(Object.create(null),Dl(e),Dl(t??{})):t}function zg(e,t){if(!e)return t;if(!t)return e;const n=Ve(Object.create(null),e);for(const r in t)n[r]=Ke(e[r],t[r]);return n}function _f(){return{app:null,config:{isNativeTag:kp,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Vg=0;function qg(e,t){return function(r,s=null){ee(r)||(r=Ve({},r)),s!=null&&!_e(s)&&(s=null);const o=_f(),i=new WeakSet,a=[];let l=!1;const c=o.app={_uid:Vg++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Pm,get config(){return o.config},set config(u){},use(u,...f){return i.has(u)||(u&&ee(u.install)?(i.add(u),u.install(c,...f)):ee(u)&&(i.add(u),u(c,...f))),c},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),c},component(u,f){return f?(o.components[u]=f,c):o.components[u]},directive(u,f){return f?(o.directives[u]=f,c):o.directives[u]},mount(u,f,h){if(!l){const d=c._ceVNode||K(r,s);return d.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),f&&t?t(d,u):e(d,u,h),l=!0,c._container=u,u.__vue_app__=c,Io(d.component)}},onUnmount(u){a.push(u)},unmount(){l&&(Lt(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return o.provides[u]=f,c},runWithContext(u){const f=Mn;Mn=c;try{return u()}finally{Mn=f}}};return c}}let Mn=null;function bf(e,t){if(Oe){let n=Oe.provides;const r=Oe.parent&&Oe.parent.provides;r===n&&(n=Oe.provides=Object.create(r)),n[e]=t}}function Dn(e,t,n=!1){const r=Oe||Le;if(r||Mn){const s=Mn?Mn._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ee(t)?t.call(r&&r.proxy):t}}function Ro(){return!!(Oe||Le||Mn)}const wf={},vf=()=>Object.create(wf),Cf=e=>Object.getPrototypeOf(e)===wf;function Kg(e,t,n,r=!1){const s={},o=vf();e.propsDefaults=Object.create(null),Sf(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Yn(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Jg(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=pe(s),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let h=u[f];if(Po(e.emitsOptions,h))continue;const d=t[h];if(l)if(ge(o,h))d!==o[h]&&(o[h]=d,c=!0);else{const p=gt(h);s[p]=Ui(l,a,p,d,e,!1)}else d!==o[h]&&(o[h]=d,c=!0)}}}else{Sf(e,t,s,o)&&(c=!0);let u;for(const f in a)(!t||!ge(t,f)&&((u=gn(f))===f||!ge(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=Ui(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!ge(t,f))&&(delete o[f],c=!0)}c&&Wt(e.attrs,"set","")}function Sf(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(rr(l))continue;const c=t[l];let u;s&&ge(s,u=gt(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:Po(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=pe(n),c=a||ye;for(let u=0;u<o.length;u++){const f=o[u];n[f]=Ui(s,l,f,c[f],e,!ge(c,f))}}return i}function Ui(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=ge(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ee(l)){const{propsDefaults:c}=s;if(n in c)r=c[n];else{const u=Hn(s);r=c[n]=l.call(null,t),u()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===gn(n))&&(r=!0))}return r}const Xg=new WeakMap;function xf(e,t,n=!1){const r=n?Xg:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!ee(e)){const u=f=>{l=!0;const[h,d]=xf(f,t,!0);Ve(i,h),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return _e(e)&&r.set(e,tr),tr;if(te(o))for(let u=0;u<o.length;u++){const f=gt(o[u]);jl(f)&&(i[f]=ye)}else if(o)for(const u in o){const f=gt(u);if(jl(f)){const h=o[u],d=i[f]=te(h)||ee(h)?{type:h}:Ve({},h),p=d.type;let g=!1,y=!0;if(te(p))for(let _=0;_<p.length;++_){const v=p[_],m=ee(v)&&v.name;if(m==="Boolean"){g=!0;break}else m==="String"&&(y=!1)}else g=ee(p)&&p.name==="Boolean";d[0]=g,d[1]=y,(g||ge(d,"default"))&&a.push(f)}}const c=[i,a];return _e(e)&&r.set(e,c),c}function jl(e){return e[0]!=="$"&&!rr(e)}const kf=e=>e[0]==="_"||e==="$stable",Va=e=>te(e)?e.map(at):[at(e)],Qg=(e,t,n)=>{if(t._n)return t;const r=ie((...s)=>Va(t(...s)),n);return r._c=!1,r},Af=(e,t,n)=>{const r=e._ctx;for(const s in e){if(kf(s))continue;const o=e[s];if(ee(o))t[s]=Qg(s,o,r);else if(o!=null){const i=Va(o);t[s]=()=>i}}},Ef=(e,t)=>{const n=Va(t);e.slots.default=()=>n},Tf=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Yg=(e,t,n)=>{const r=e.slots=vf();if(e.vnode.shapeFlag&32){const s=t._;s?(Tf(r,t,n),n&&Ou(r,"_",s,!0)):Af(t,r)}else t&&Ef(e,t)},Zg=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ye;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Tf(s,t,n):(o=!t.$stable,Af(t,s)),i=t}else t&&(Ef(e,t),i={default:1});if(o)for(const a in s)!kf(a)&&i[a]==null&&delete s[a]},it=Ff;function em(e){return Rf(e)}function tm(e){return Rf(e,Tg)}function Rf(e,t){const n=So();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:d=$t,insertStaticContent:p}=e,g=(b,S,A,$=null,T=null,P=null,j=void 0,B=null,H=!!S.dynamicChildren)=>{if(b===S)return;b&&!tn(b,S)&&($=ds(b),kt(b,T,P,!0),b=null),S.patchFlag===-2&&(H=!1,S.dynamicChildren=null);const{type:N,ref:Z,shapeFlag:z}=S;switch(N){case Fn:y(b,S,A,$);break;case xt:_(b,S,A,$);break;case Or:b==null&&v(S,A,$,j);break;case Se:G(b,S,A,$,T,P,j,B,H);break;default:z&1?C(b,S,A,$,T,P,j,B,H):z&6?X(b,S,A,$,T,P,j,B,H):(z&64||z&128)&&N.process(b,S,A,$,T,P,j,B,H,zn)}Z!=null&&T&&qr(Z,b&&b.ref,P,S||b,!S)},y=(b,S,A,$)=>{if(b==null)r(S.el=a(S.children),A,$);else{const T=S.el=b.el;S.children!==b.children&&c(T,S.children)}},_=(b,S,A,$)=>{b==null?r(S.el=l(S.children||""),A,$):S.el=b.el},v=(b,S,A,$)=>{[b.el,b.anchor]=p(b.children,S,A,$,b.el,b.anchor)},m=({el:b,anchor:S},A,$)=>{let T;for(;b&&b!==S;)T=h(b),r(b,A,$),b=T;r(S,A,$)},w=({el:b,anchor:S})=>{let A;for(;b&&b!==S;)A=h(b),s(b),b=A;s(S)},C=(b,S,A,$,T,P,j,B,H)=>{S.type==="svg"?j="svg":S.type==="math"&&(j="mathml"),b==null?E(S,A,$,T,P,j,B,H):F(b,S,T,P,j,B,H)},E=(b,S,A,$,T,P,j,B)=>{let H,N;const{props:Z,shapeFlag:z,transition:Q,dirs:se}=b;if(H=b.el=i(b.type,P,Z&&Z.is,Z),z&8?u(H,b.children):z&16&&M(b.children,H,null,$,T,ai(b,P),j,B),se&&Rt(b,null,$,"created"),x(H,b,b.scopeId,j,$),Z){for(const we in Z)we!=="value"&&!rr(we)&&o(H,we,null,Z[we],P,$);"value"in Z&&o(H,"value",null,Z.value,P),(N=Z.onVnodeBeforeMount)&&ct(N,$,b)}se&&Rt(b,null,$,"beforeMount");const ue=Pf(T,Q);ue&&Q.beforeEnter(H),r(H,S,A),((N=Z&&Z.onVnodeMounted)||ue||se)&&it(()=>{N&&ct(N,$,b),ue&&Q.enter(H),se&&Rt(b,null,$,"mounted")},T)},x=(b,S,A,$,T)=>{if(A&&d(b,A),$)for(let P=0;P<$.length;P++)d(b,$[P]);if(T){let P=T.subTree;if(S===P||Mf(P.type)&&(P.ssContent===S||P.ssFallback===S)){const j=T.vnode;x(b,j,j.scopeId,j.slotScopeIds,T.parent)}}},M=(b,S,A,$,T,P,j,B,H=0)=>{for(let N=H;N<b.length;N++){const Z=b[N]=B?Zt(b[N]):at(b[N]);g(null,Z,S,A,$,T,P,j,B)}},F=(b,S,A,$,T,P,j)=>{const B=S.el=b.el;let{patchFlag:H,dynamicChildren:N,dirs:Z}=S;H|=b.patchFlag&16;const z=b.props||ye,Q=S.props||ye;let se;if(A&&Cn(A,!1),(se=Q.onVnodeBeforeUpdate)&&ct(se,A,S,b),Z&&Rt(S,b,A,"beforeUpdate"),A&&Cn(A,!0),(z.innerHTML&&Q.innerHTML==null||z.textContent&&Q.textContent==null)&&u(B,""),N?I(b.dynamicChildren,N,B,A,$,ai(S,T),P):j||V(b,S,B,null,A,$,ai(S,T),P,!1),H>0){if(H&16)D(B,z,Q,A,T);else if(H&2&&z.class!==Q.class&&o(B,"class",null,Q.class,T),H&4&&o(B,"style",z.style,Q.style,T),H&8){const ue=S.dynamicProps;for(let we=0;we<ue.length;we++){const me=ue[we],nt=z[me],Be=Q[me];(Be!==nt||me==="value")&&o(B,me,nt,Be,T,A)}}H&1&&b.children!==S.children&&u(B,S.children)}else!j&&N==null&&D(B,z,Q,A,T);((se=Q.onVnodeUpdated)||Z)&&it(()=>{se&&ct(se,A,S,b),Z&&Rt(S,b,A,"updated")},$)},I=(b,S,A,$,T,P,j)=>{for(let B=0;B<S.length;B++){const H=b[B],N=S[B],Z=H.el&&(H.type===Se||!tn(H,N)||H.shapeFlag&70)?f(H.el):A;g(H,N,Z,null,$,T,P,j,!0)}},D=(b,S,A,$,T)=>{if(S!==A){if(S!==ye)for(const P in S)!rr(P)&&!(P in A)&&o(b,P,S[P],null,T,$);for(const P in A){if(rr(P))continue;const j=A[P],B=S[P];j!==B&&P!=="value"&&o(b,P,B,j,T,$)}"value"in A&&o(b,"value",S.value,A.value,T)}},G=(b,S,A,$,T,P,j,B,H)=>{const N=S.el=b?b.el:a(""),Z=S.anchor=b?b.anchor:a("");let{patchFlag:z,dynamicChildren:Q,slotScopeIds:se}=S;se&&(B=B?B.concat(se):se),b==null?(r(N,A,$),r(Z,A,$),M(S.children||[],A,Z,T,P,j,B,H)):z>0&&z&64&&Q&&b.dynamicChildren?(I(b.dynamicChildren,Q,A,T,P,j,B),(S.key!=null||T&&S===T.subTree)&&$f(b,S,!0)):V(b,S,A,Z,T,P,j,B,H)},X=(b,S,A,$,T,P,j,B,H)=>{S.slotScopeIds=B,b==null?S.shapeFlag&512?T.ctx.activate(S,A,$,j,H):re(S,A,$,T,P,j,H):he(b,S,H)},re=(b,S,A,$,T,P,j)=>{const B=b.component=Sm(b,$,T);if(Ua(b)&&(B.ctx.renderer=zn),xm(B,!1,j),B.asyncDep){if(T&&T.registerDep(B,W,j),!b.el){const H=B.subTree=K(xt);_(null,H,S,A)}}else W(B,b,S,A,T,P,j)},he=(b,S,A)=>{const $=S.component=b.component;if(fm(b,S,A))if($.asyncDep&&!$.asyncResolved){Y($,S,A);return}else $.next=S,$.update();else S.el=b.el,$.vnode=S},W=(b,S,A,$,T,P,j)=>{const B=()=>{if(b.isMounted){let{next:z,bu:Q,u:se,parent:ue,vnode:we}=b;{const rt=Nf(b);if(rt){z&&(z.el=we.el,Y(b,z,j)),rt.asyncDep.then(()=>{b.isUnmounted||B()});return}}let me=z,nt;Cn(b,!1),z?(z.el=we.el,Y(b,z,j)):z=we,Q&&$s(Q),(nt=z.props&&z.props.onVnodeBeforeUpdate)&&ct(nt,ue,z,we),Cn(b,!0);const Be=li(b),mt=b.subTree;b.subTree=Be,g(mt,Be,f(mt.el),ds(mt),b,T,P),z.el=Be.el,me===null&&$o(b,Be.el),se&&it(se,T),(nt=z.props&&z.props.onVnodeUpdated)&&it(()=>ct(nt,ue,z,we),T)}else{let z;const{el:Q,props:se}=S,{bm:ue,m:we,parent:me,root:nt,type:Be}=b,mt=Ln(S);if(Cn(b,!1),ue&&$s(ue),!mt&&(z=se&&se.onVnodeBeforeMount)&&ct(z,me,S),Cn(b,!0),Q&&Qo){const rt=()=>{b.subTree=li(b),Qo(Q,b.subTree,b,T,null)};mt&&Be.__asyncHydrate?Be.__asyncHydrate(Q,b,rt):rt()}else{nt.ce&&nt.ce._injectChildStyle(Be);const rt=b.subTree=li(b);g(null,rt,A,$,b,T,P),S.el=rt.el}if(we&&it(we,T),!mt&&(z=se&&se.onVnodeMounted)){const rt=S;it(()=>ct(z,me,rt),T)}(S.shapeFlag&256||me&&Ln(me.vnode)&&me.vnode.shapeFlag&256)&&b.a&&it(b.a,T),b.isMounted=!0,S=A=$=null}};b.scope.on();const H=b.effect=new Bu(B);b.scope.off();const N=b.update=H.run.bind(H),Z=b.job=H.runIfDirty.bind(H);Z.i=b,Z.id=b.uid,H.scheduler=()=>Ba(Z),Cn(b,!0),N()},Y=(b,S,A)=>{S.component=b;const $=b.vnode.props;b.vnode=S,b.next=null,Jg(b,S.props,$,A),Zg(b,S.children,A),mn(),Nl(b),yn()},V=(b,S,A,$,T,P,j,B,H=!1)=>{const N=b&&b.children,Z=b?b.shapeFlag:0,z=S.children,{patchFlag:Q,shapeFlag:se}=S;if(Q>0){if(Q&128){Wn(N,z,A,$,T,P,j,B,H);return}else if(Q&256){be(N,z,A,$,T,P,j,B,H);return}}se&8?(Z&16&&Sr(N,T,P),z!==N&&u(A,z)):Z&16?se&16?Wn(N,z,A,$,T,P,j,B,H):Sr(N,T,P,!0):(Z&8&&u(A,""),se&16&&M(z,A,$,T,P,j,B,H))},be=(b,S,A,$,T,P,j,B,H)=>{b=b||tr,S=S||tr;const N=b.length,Z=S.length,z=Math.min(N,Z);let Q;for(Q=0;Q<z;Q++){const se=S[Q]=H?Zt(S[Q]):at(S[Q]);g(b[Q],se,A,null,T,P,j,B,H)}N>Z?Sr(b,T,P,!0,!1,z):M(S,A,$,T,P,j,B,H,z)},Wn=(b,S,A,$,T,P,j,B,H)=>{let N=0;const Z=S.length;let z=b.length-1,Q=Z-1;for(;N<=z&&N<=Q;){const se=b[N],ue=S[N]=H?Zt(S[N]):at(S[N]);if(tn(se,ue))g(se,ue,A,null,T,P,j,B,H);else break;N++}for(;N<=z&&N<=Q;){const se=b[z],ue=S[Q]=H?Zt(S[Q]):at(S[Q]);if(tn(se,ue))g(se,ue,A,null,T,P,j,B,H);else break;z--,Q--}if(N>z){if(N<=Q){const se=Q+1,ue=se<Z?S[se].el:$;for(;N<=Q;)g(null,S[N]=H?Zt(S[N]):at(S[N]),A,ue,T,P,j,B,H),N++}}else if(N>Q)for(;N<=z;)kt(b[N],T,P,!0),N++;else{const se=N,ue=N,we=new Map;for(N=ue;N<=Q;N++){const st=S[N]=H?Zt(S[N]):at(S[N]);st.key!=null&&we.set(st.key,N)}let me,nt=0;const Be=Q-ue+1;let mt=!1,rt=0;const xr=new Array(Be);for(N=0;N<Be;N++)xr[N]=0;for(N=se;N<=z;N++){const st=b[N];if(nt>=Be){kt(st,T,P,!0);continue}let At;if(st.key!=null)At=we.get(st.key);else for(me=ue;me<=Q;me++)if(xr[me-ue]===0&&tn(st,S[me])){At=me;break}At===void 0?kt(st,T,P,!0):(xr[At-ue]=N+1,At>=rt?rt=At:mt=!0,g(st,S[At],A,null,T,P,j,B,H),nt++)}const xl=mt?nm(xr):tr;for(me=xl.length-1,N=Be-1;N>=0;N--){const st=ue+N,At=S[st],kl=st+1<Z?S[st+1].el:$;xr[N]===0?g(null,At,A,kl,T,P,j,B,H):mt&&(me<0||N!==xl[me]?wn(At,A,kl,2):me--)}}},wn=(b,S,A,$,T=null)=>{const{el:P,type:j,transition:B,children:H,shapeFlag:N}=b;if(N&6){wn(b.component.subTree,S,A,$);return}if(N&128){b.suspense.move(S,A,$);return}if(N&64){j.move(b,S,A,zn);return}if(j===Se){r(P,S,A);for(let z=0;z<H.length;z++)wn(H[z],S,A,$);r(b.anchor,S,A);return}if(j===Or){m(b,S,A);return}if($!==2&&N&1&&B)if($===0)B.beforeEnter(P),r(P,S,A),it(()=>B.enter(P),T);else{const{leave:z,delayLeave:Q,afterLeave:se}=B,ue=()=>r(P,S,A),we=()=>{z(P,()=>{ue(),se&&se()})};Q?Q(P,ue,we):we()}else r(P,S,A)},kt=(b,S,A,$=!1,T=!1)=>{const{type:P,props:j,ref:B,children:H,dynamicChildren:N,shapeFlag:Z,patchFlag:z,dirs:Q,cacheIndex:se}=b;if(z===-2&&(T=!1),B!=null&&qr(B,null,A,b,!0),se!=null&&(S.renderCache[se]=void 0),Z&256){S.ctx.deactivate(b);return}const ue=Z&1&&Q,we=!Ln(b);let me;if(we&&(me=j&&j.onVnodeBeforeUnmount)&&ct(me,S,b),Z&6)wp(b.component,A,$);else{if(Z&128){b.suspense.unmount(A,$);return}ue&&Rt(b,null,S,"beforeUnmount"),Z&64?b.type.remove(b,S,A,zn,$):N&&!N.hasOnce&&(P!==Se||z>0&&z&64)?Sr(N,S,A,!1,!0):(P===Se&&z&384||!T&&Z&16)&&Sr(H,S,A),$&&Cl(b)}(we&&(me=j&&j.onVnodeUnmounted)||ue)&&it(()=>{me&&ct(me,S,b),ue&&Rt(b,null,S,"unmounted")},A)},Cl=b=>{const{type:S,el:A,anchor:$,transition:T}=b;if(S===Se){bp(A,$);return}if(S===Or){w(b);return}const P=()=>{s(A),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(b.shapeFlag&1&&T&&!T.persisted){const{leave:j,delayLeave:B}=T,H=()=>j(A,P);B?B(b.el,P,H):H()}else P()},bp=(b,S)=>{let A;for(;b!==S;)A=h(b),s(b),b=A;s(S)},wp=(b,S,A)=>{const{bum:$,scope:T,job:P,subTree:j,um:B,m:H,a:N}=b;Gl(H),Gl(N),$&&$s($),T.stop(),P&&(P.flags|=8,kt(j,b,S,A)),B&&it(B,S),it(()=>{b.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},Sr=(b,S,A,$=!1,T=!1,P=0)=>{for(let j=P;j<b.length;j++)kt(b[j],S,A,$,T)},ds=b=>{if(b.shapeFlag&6)return ds(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const S=h(b.anchor||b.el),A=S&&S[xg];return A?h(A):S};let Jo=!1;const Sl=(b,S,A)=>{b==null?S._vnode&&kt(S._vnode,null,null,!0):g(S._vnode||null,b,S,null,null,null,A),S._vnode=b,Jo||(Jo=!0,Nl(),Ws(),Jo=!1)},zn={p:g,um:kt,m:wn,r:Cl,mt:re,mc:M,pc:V,pbc:I,n:ds,o:e};let Xo,Qo;return t&&([Xo,Qo]=t(zn)),{render:Sl,hydrate:Xo,createApp:qg(Sl,Xo)}}function ai({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 Cn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Pf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $f(e,t,n=!1){const r=e.children,s=t.children;if(te(r)&&te(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Zt(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&$f(i,a)),a.type===Fn&&(a.el=i.el)}}function nm(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Nf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Nf(t)}function Gl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const rm=Symbol.for("v-scx"),sm=()=>Dn(rm);function If(e,t){return qa(e,null,t)}function an(e,t,n){return qa(e,t,n)}function qa(e,t,n=ye){const{immediate:r,deep:s,flush:o,once:i}=n,a=Ve({},n),l=t&&r||!t&&o!=="post";let c;if(dr){if(o==="sync"){const d=sm();c=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=$t,d.resume=$t,d.pause=$t,d}}const u=Oe;a.call=(d,p,g)=>Lt(d,u,p,g);let f=!1;o==="post"?a.scheduler=d=>{it(d,u&&u.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(d,p)=>{p?d():Ba(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,u&&(d.id=u.uid,d.i=u))};const h=yg(e,t,a);return dr&&(c?c.push(h):l&&h()),h}function om(e,t,n){const r=this.proxy,s=ke(e)?e.includes(".")?Of(r,e):()=>r[e]:e.bind(r,r);let o;ee(t)?o=t:(o=t.handler,n=t);const i=Hn(this),a=qa(s,o.bind(r),n);return i(),a}function Of(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const im=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${gt(t)}Modifiers`]||e[`${gn(t)}Modifiers`];function am(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ye;let s=n;const o=t.startsWith("update:"),i=o&&im(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>ke(u)?u.trim():u)),i.number&&(s=n.map(Pp)));let a,l=r[a=ei(t)]||r[a=ei(gt(t))];!l&&o&&(l=r[a=ei(gn(t))]),l&&Lt(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Lt(c,e,6,s)}}function Lf(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!ee(e)){const l=c=>{const u=Lf(c,t,!0);u&&(a=!0,Ve(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(_e(e)&&r.set(e,null),null):(te(o)?o.forEach(l=>i[l]=null):Ve(i,o),_e(e)&&r.set(e,i),i)}function Po(e,t){return!e||!is(t)?!1:(t=t.slice(2).replace(/Once$/,""),ge(e,t[0].toLowerCase()+t.slice(1))||ge(e,gn(t))||ge(e,t))}function li(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:h,setupState:d,ctx:p,inheritAttrs:g}=e,y=zs(e);let _,v;try{if(n.shapeFlag&4){const w=s||r,C=w;_=at(c.call(C,w,u,f,d,h,p)),v=a}else{const w=t;_=at(w.length>1?w(f,{attrs:a,slots:i,emit:l}):w(f,null)),v=t.props?a:cm(a)}}catch(w){Lr.length=0,br(w,e,1),_=K(xt)}let m=_;if(v&&g!==!1){const w=Object.keys(v),{shapeFlag:C}=m;w.length&&C&7&&(o&&w.some(Ra)&&(v=um(v,o)),m=hr(m,v,!1,!0))}return n.dirs&&(m=hr(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&ja(m,n.transition),_=m,zs(y),_}function lm(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(fr(s)){if(s.type!==xt||s.children==="v-if"){if(n)return;n=s}}else return}return n}const cm=e=>{let t;for(const n in e)(n==="class"||n==="style"||is(n))&&((t||(t={}))[n]=e[n]);return t},um=(e,t)=>{const n={};for(const r in e)(!Ra(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function fm(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ul(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const h=u[f];if(i[h]!==r[h]&&!Po(c,h))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Ul(r,i,c):!0:!!i;return!1}function Ul(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Po(n,o))return!0}return!1}function $o({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 Mf=e=>e.__isSuspense;let Wi=0;const hm={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){if(e==null)pm(t,n,r,s,o,i,a,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}gm(e,t,n,r,s,i,a,l,c)}},hydrate:mm,normalize:ym},dm=hm;function Kr(e,t){const n=e.props&&e.props[t];ee(n)&&n()}function pm(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),h=e.suspense=Df(e,s,r,t,f,n,o,i,a,l);c(null,h.pendingBranch=e.ssContent,f,null,r,h,o,i),h.deps>0?(Kr(e,"onPending"),Kr(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),or(h,e.ssFallback)):h.resolve(!1,!0)}function gm(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,d=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:y,isHydrating:_}=f;if(g)f.pendingBranch=h,tn(h,g)?(l(g,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():y&&(_||(l(p,d,n,r,s,null,o,i,a),or(f,d)))):(f.pendingId=Wi++,_?(f.isHydrating=!1,f.activeBranch=g):c(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),y?(l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(p,d,n,r,s,null,o,i,a),or(f,d))):p&&tn(h,p)?(l(p,h,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(p&&tn(h,p))l(p,h,n,r,s,f,o,i,a),or(f,h);else if(Kr(t,"onPending"),f.pendingBranch=h,h.shapeFlag&512?f.pendingId=h.component.suspenseId:f.pendingId=Wi++,l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:v,pendingId:m}=f;v>0?setTimeout(()=>{f.pendingId===m&&f.fallback(d)},v):v===0&&f.fallback(d)}}function Df(e,t,n,r,s,o,i,a,l,c,u=!1){const{p:f,m:h,um:d,n:p,o:{parentNode:g,remove:y}}=c;let _;const v=_m(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);const m=e.props?$p(e.props.timeout):void 0,w=o,C={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Wi++,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(E=!1,x=!1){const{vnode:M,activeBranch:F,pendingBranch:I,pendingId:D,effects:G,parentComponent:X,container:re}=C;let he=!1;C.isHydrating?C.isHydrating=!1:E||(he=F&&I.transition&&I.transition.mode==="out-in",he&&(F.transition.afterLeave=()=>{D===C.pendingId&&(h(I,re,o===w?p(F):o,0),Hi(G))}),F&&(g(F.el)===re&&(o=p(F)),d(F,X,C,!0)),he||h(I,re,o,0)),or(C,I),C.pendingBranch=null,C.isInFallback=!1;let W=C.parent,Y=!1;for(;W;){if(W.pendingBranch){W.effects.push(...G),Y=!0;break}W=W.parent}!Y&&!he&&Hi(G),C.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!x&&t.resolve()),Kr(M,"onResolve")},fallback(E){if(!C.pendingBranch)return;const{vnode:x,activeBranch:M,parentComponent:F,container:I,namespace:D}=C;Kr(x,"onFallback");const G=p(M),X=()=>{C.isInFallback&&(f(null,E,I,G,F,null,D,a,l),or(C,E))},re=E.transition&&E.transition.mode==="out-in";re&&(M.transition.afterLeave=X),C.isInFallback=!0,d(M,F,null,!0),re||X()},move(E,x,M){C.activeBranch&&h(C.activeBranch,E,x,M),C.container=E},next(){return C.activeBranch&&p(C.activeBranch)},registerDep(E,x,M){const F=!!C.pendingBranch;F&&C.deps++;const I=E.vnode.el;E.asyncDep.catch(D=>{br(D,E,0)}).then(D=>{if(E.isUnmounted||C.isUnmounted||C.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:G}=E;qi(E,D),I&&(G.el=I);const X=!I&&E.subTree.el;x(E,G,g(I||E.subTree.el),I?null:p(E.subTree),C,i,M),X&&y(X),$o(E,G.el),F&&--C.deps===0&&C.resolve()})},unmount(E,x){C.isUnmounted=!0,C.activeBranch&&d(C.activeBranch,n,E,x),C.pendingBranch&&d(C.pendingBranch,n,E,x)}};return C}function mm(e,t,n,r,s,o,i,a,l){const c=t.suspense=Df(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),u}function ym(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Wl(r?n.default:n),e.ssFallback=r?Wl(n.fallback):K(xt)}function Wl(e){let t;if(ee(e)){const n=ur&&e._c;n&&(e._d=!1,U()),e=e(),n&&(e._d=!0,t=Ze,Hf())}return te(e)&&(e=lm(e)),e=at(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ff(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):Hi(e)}function or(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,$o(r,s))}function _m(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Se=Symbol.for("v-fgt"),Fn=Symbol.for("v-txt"),xt=Symbol.for("v-cmt"),Or=Symbol.for("v-stc"),Lr=[];let Ze=null;function U(e=!1){Lr.push(Ze=e?null:[])}function Hf(){Lr.pop(),Ze=Lr[Lr.length-1]||null}let ur=1;function zl(e,t=!1){ur+=e,e<0&&Ze&&t&&(Ze.hasOnce=!0)}function Bf(e){return e.dynamicChildren=ur>0?Ze||tr:null,Hf(),ur>0&&Ze&&Ze.push(e),e}function ne(e,t,n,r,s,o){return Bf(L(e,t,n,r,s,o,!0))}function xe(e,t,n,r,s){return Bf(K(e,t,n,r,s,!0))}function fr(e){return e?e.__v_isVNode===!0:!1}function tn(e,t){return e.type===t.type&&e.key===t.key}const jf=({key:e})=>e??null,Ns=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ke(e)||$e(e)||ee(e)?{i:Le,r:e,k:t,f:!!n}:e:null);function L(e,t=null,n=null,r=0,s=null,o=e===Se?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jf(t),ref:t&&Ns(t),scopeId:Eo,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Le};return a?(Ja(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=ke(n)?8:16),ur>0&&!i&&Ze&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ze.push(l),l}const K=bm;function bm(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===df)&&(e=xt),fr(e)){const a=hr(e,t,!0);return n&&Ja(a,n),ur>0&&!o&&Ze&&(a.shapeFlag&6?Ze[Ze.indexOf(e)]=a:Ze.push(a)),a.patchFlag=-2,a}if(Rm(e)&&(e=e.__vccOpts),t){t=Ka(t);let{class:a,style:l}=t;a&&!ke(a)&&(t.class=Pe(a)),_e(l)&&(Ha(l)&&!te(l)&&(l=Ve({},l)),t.style=Nn(l))}const i=ke(e)?1:Mf(e)?128:kg(e)?64:_e(e)?4:ee(e)?2:0;return L(e,t,n,r,s,i,o,!0)}function Ka(e){return e?Ha(e)||Cf(e)?Ve({},e):e:null}function hr(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,c=t?No(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&jf(c),ref:t&&t.ref?n&&o?te(o)?o.concat(Ns(t)):[o,Ns(t)]:Ns(t):o,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!==Se?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&hr(e.ssContent),ssFallback:e.ssFallback&&hr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&ja(u,l.clone(u)),u}function ce(e=" ",t=0){return K(Fn,null,e,t)}function wm(e,t){const n=K(Or,null,e);return n.staticCount=t,n}function Fe(e="",t=!1){return t?(U(),xe(xt,null,e)):K(xt,null,e)}function at(e){return e==null||typeof e=="boolean"?K(xt):te(e)?K(Se,null,e.slice()):fr(e)?Zt(e):K(Fn,null,String(e))}function Zt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:hr(e)}function Ja(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Ja(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Cf(t)?t._ctx=Le:s===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ee(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),r&64?(n=16,t=[ce(t)]):n=8);e.children=t,e.shapeFlag|=n}function No(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Pe([t.class,r.class]));else if(s==="style")t.style=Nn([t.style,r.style]);else if(is(s)){const o=t[s],i=r[s];i&&o!==i&&!(te(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function ct(e,t,n,r=null){Lt(e,t,7,[n,r])}const vm=_f();let Cm=0;function Sm(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||vm,o={uid:Cm++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Hu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xf(r,s),emitsOptions:Lf(r,s),emit:null,emitted:null,propsDefaults:ye,inheritAttrs:r.inheritAttrs,ctx:ye,data:ye,props:ye,attrs:ye,slots:ye,refs:ye,setupState:ye,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=am.bind(null,o),e.ce&&e.ce(o),o}let Oe=null;const cs=()=>Oe||Le;let qs,zi;{const e=So(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};qs=t("__VUE_INSTANCE_SETTERS__",n=>Oe=n),zi=t("__VUE_SSR_SETTERS__",n=>dr=n)}const Hn=e=>{const t=Oe;return qs(e),e.scope.on(),()=>{e.scope.off(),qs(t)}},Vi=()=>{Oe&&Oe.scope.off(),qs(null)};function Gf(e){return e.vnode.shapeFlag&4}let dr=!1;function xm(e,t=!1,n=!1){t&&zi(t);const{props:r,children:s}=e.vnode,o=Gf(e);Kg(e,r,o,t),Yg(e,s,n);const i=o?km(e,t):void 0;return t&&zi(!1),i}function km(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Hg);const{setup:r}=n;if(r){mn();const s=e.setupContext=r.length>1?Em(e):null,o=Hn(e),i=ls(r,e,0,[e.props,s]),a=$a(i);if(yn(),o(),(a||e.sp)&&!Ln(e)&&Ga(e),a){if(i.then(Vi,Vi),t)return i.then(l=>{qi(e,l)}).catch(l=>{br(l,e,0)});e.asyncDep=i}else qi(e,i)}else Uf(e)}function qi(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=tf(t)),Uf(e)}function Uf(e,t,n){const r=e.type;e.render||(e.render=r.render||$t);{const s=Hn(e);mn();try{jg(e)}finally{yn(),s()}}}const Am={get(e,t){return Ue(e,"get",""),e[t]}};function Em(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Am),slots:e.slots,emit:e.emit,expose:t}}function Io(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(tf(ig(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ir)return Ir[n](e)},has(t,n){return n in t||n in Ir}})):e.proxy}function Tm(e,t=!0){return ee(e)?e.displayName||e.name:e.name||t&&e.__name}function Rm(e){return ee(e)&&"__vccOpts"in e}const Re=(e,t)=>gg(e,t,dr);function Ks(e,t,n){const r=arguments.length;return r===2?_e(t)&&!te(t)?fr(t)?K(e,null,[t]):K(e,t):K(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&fr(n)&&(n=[n]),K(e,t,n))}const Pm="3.5.13";/**
16
+ * @vue/runtime-dom v3.5.13
17
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
18
+ * @license MIT
19
+ **/let Ki;const Vl=typeof window<"u"&&window.trustedTypes;if(Vl)try{Ki=Vl.createPolicy("vue",{createHTML:e=>e})}catch{}const Wf=Ki?e=>Ki.createHTML(e):e=>e,$m="http://www.w3.org/2000/svg",Nm="http://www.w3.org/1998/Math/MathML",jt=typeof document<"u"?document:null,ql=jt&&jt.createElement("template"),Im={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?jt.createElementNS($m,e):t==="mathml"?jt.createElementNS(Nm,e):n?jt.createElement(e,{is:n}):jt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>jt.createTextNode(e),createComment:e=>jt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{ql.innerHTML=Wf(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=ql.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Om=Symbol("_vtc");function Lm(e,t,n){const r=e[Om];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Kl=Symbol("_vod"),Mm=Symbol("_vsh"),Dm=Symbol(""),Fm=/(^|;)\s*display\s*:/;function Hm(e,t,n){const r=e.style,s=ke(n);let o=!1;if(n&&!s){if(t)if(ke(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Is(r,a,"")}else for(const i in t)n[i]==null&&Is(r,i,"");for(const i in n)i==="display"&&(o=!0),Is(r,i,n[i])}else if(s){if(t!==n){const i=r[Dm];i&&(n+=";"+i),r.cssText=n,o=Fm.test(n)}}else t&&e.removeAttribute("style");Kl in e&&(e[Kl]=o?r.display:"",e[Mm]&&(r.display="none"))}const Jl=/\s*!important$/;function Is(e,t,n){if(te(n))n.forEach(r=>Is(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Bm(e,t);Jl.test(n)?e.setProperty(gn(r),n.replace(Jl,""),"important"):e[r]=n}}const Xl=["Webkit","Moz","ms"],ci={};function Bm(e,t){const n=ci[t];if(n)return n;let r=gt(t);if(r!=="filter"&&r in e)return ci[t]=r;r=Co(r);for(let s=0;s<Xl.length;s++){const o=Xl[s]+r;if(o in e)return ci[t]=o}return t}const Ql="http://www.w3.org/1999/xlink";function Yl(e,t,n,r,s,o=Dp(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ql,t.slice(6,t.length)):e.setAttributeNS(Ql,t,n):n==null||o&&!Mu(n)?e.removeAttribute(t):e.setAttribute(t,o?"":St(n)?String(n):n)}function Zl(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Wf(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Mu(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function zf(e,t,n,r){e.addEventListener(t,n,r)}function jm(e,t,n,r){e.removeEventListener(t,n,r)}const ec=Symbol("_vei");function Gm(e,t,n,r,s=null){const o=e[ec]||(e[ec]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=Um(t);if(r){const c=o[t]=Vm(r,s);zf(e,a,c,l)}else i&&(jm(e,a,i,l),o[t]=void 0)}}const tc=/(?:Once|Passive|Capture)$/;function Um(e){let t;if(tc.test(e)){t={};let r;for(;r=e.match(tc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):gn(e.slice(2)),t]}let ui=0;const Wm=Promise.resolve(),zm=()=>ui||(Wm.then(()=>ui=0),ui=Date.now());function Vm(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Lt(qm(r,n.value),t,5,[r])};return n.value=e,n.attached=zm(),n}function qm(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const nc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Km=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Lm(e,r,i):t==="style"?Hm(e,n,r):is(t)?Ra(t)||Gm(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jm(e,t,r,i))?(Zl(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Yl(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ke(r))?Zl(e,gt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Yl(e,t,r,i))};function Jm(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&nc(t)&&ee(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 s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return nc(t)&&ke(n)?!1:t in e}const rc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return te(t)?n=>$s(t,n):t},fi=Symbol("_assign"),Xm={created(e,{value:t},n){e.checked=Bs(t,n.props.value),e[fi]=rc(n),zf(e,"change",()=>{e[fi](Qm(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[fi]=rc(r),t!==n&&(e.checked=Bs(t,r.props.value))}};function Qm(e){return"_value"in e?e._value:e.value}const Ym={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Zm=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=gn(s.key);if(t.some(i=>i===o||Ym[i]===o))return e(s)})},Vf=Ve({patchProp:Km},Im);let Mr,sc=!1;function ey(){return Mr||(Mr=em(Vf))}function ty(){return Mr=sc?Mr:tm(Vf),sc=!0,Mr}const qf=(...e)=>{const t=ey().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Jf(r);if(!s)return;const o=t._component;!ee(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Kf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},ny=(...e)=>{const t=ty().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Jf(r);if(s)return n(s,!0,Kf(s))},t};function Kf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Jf(e){return ke(e)?document.querySelector(e):e}const ry=/"(?:_|\\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*:/,sy=/"(?: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*:/,oy=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function iy(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){ay(e);return}return t}function ay(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Js(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(!oy.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ry.test(e)||sy.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,iy)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const ly=/#/g,cy=/&/g,uy=/\//g,fy=/=/g,Xa=/\+/g,hy=/%5e/gi,dy=/%60/gi,py=/%7c/gi,gy=/%20/gi;function my(e){return encodeURI(""+e).replace(py,"|")}function Ji(e){return my(typeof e=="string"?e:JSON.stringify(e)).replace(Xa,"%2B").replace(gy,"+").replace(ly,"%23").replace(cy,"%26").replace(dy,"`").replace(hy,"^").replace(uy,"%2F")}function hi(e){return Ji(e).replace(fy,"%3D")}function Xs(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function yy(e){return Xs(e.replace(Xa," "))}function _y(e){return Xs(e.replace(Xa," "))}function Oo(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=yy(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=_y(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function by(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${hi(e)}=${Ji(n)}`).join("&"):`${hi(e)}=${Ji(t)}`:hi(e)}function Xf(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>by(t,e[t])).filter(Boolean).join("&")}const wy=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,vy=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Cy=/^([/\\]\s*){2,}[^/\\]/,Sy=/^[\s\0]*(blob|data|javascript|vbscript):$/i,xy=/\/$|\/\?|\/#/,ky=/^\.?\//;function _n(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?wy.test(e):vy.test(e)||(t.acceptRelative?Cy.test(e):!1)}function Ay(e){return!!e&&Sy.test(e)}function Xi(e="",t){return t?xy.test(e):e.endsWith("/")}function Lo(e="",t){if(!t)return(Xi(e)?e.slice(0,-1):e)||"/";if(!Xi(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Qs(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Xi(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Ey(e=""){return e.startsWith("/")}function oc(e=""){return Ey(e)?e:"/"+e}function Ty(e,t){if(Yf(t)||_n(e))return e;const n=Lo(t);return e.startsWith(n)?e:wr(n,e)}function Ry(e,t){if(Yf(t))return e;const n=Lo(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Qf(e,t){const n=th(e),r={...Oo(n.search),...t};return n.search=Xf(r),nh(n)}function Yf(e){return!e||e==="/"}function Py(e){return e&&e!=="/"}function wr(e,...t){let n=e||"";for(const r of t.filter(s=>Py(s)))if(n){const s=r.replace(ky,"");n=Qs(n)+s}else n=r;return n}function Zf(...e){var i,a,l,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const u of n)if(!(!u||u==="/")){for(const[f,h]of u.split(t).entries())if(!(!h||h===".")){if(h===".."){if(r.length===1&&_n(r[0]))continue;r.pop(),s--;continue}if(f===1&&((i=r[r.length-1])!=null&&i.endsWith(":/"))){r[r.length-1]+="/"+h;continue}r.push(h),s++}}let o=r.join("/");return s>=0?(a=n[0])!=null&&a.startsWith("/")&&!o.startsWith("/")?o="/"+o:(l=n[0])!=null&&l.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,(c=n[n.length-1])!=null&&c.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function $y(e,t,n={}){return n.trailingSlash||(e=Qs(e),t=Qs(t)),n.leadingSlash||(e=oc(e),t=oc(t)),n.encoding||(e=Xs(e),t=Xs(t)),e===t}const eh=Symbol.for("ufo:protocolRelative");function th(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,h=""]=n;return{protocol:f.toLowerCase(),pathname:h,href:f+h,auth:"",host:"",search:"",hash:""}}if(!_n(e,{acceptRelative:!0}))return ic(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=ic(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:c,hash:u,[eh]:!r}}function ic(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function nh(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[eh]?(e.protocol||"")+"//":"")+s+o+t+n+r}class Ny extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Iy(e){var l,c,u,f,h;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=((h=e.request)==null?void 0:h.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new Ny(i,e.error?{cause:e.error}:void 0);for(const d of["request","options","response"])Object.defineProperty(a,d,{get(){return e[d]}});for(const[d,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,d,{get(){return e.response&&e.response[p]}});return a}const Oy=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ac(e="GET"){return Oy.has(e.toUpperCase())}function Ly(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 My=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Dy=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Fy(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Dy.test(t)?"json":My.has(t)||t.startsWith("text/")?"text":"blob"}function Hy(e,t,n,r){const s=By((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let o;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(o={...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:o,params:o,headers:s}}function By(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function bs(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const jy=new Set([408,409,425,429,500,502,503,504]),Gy=new Set([101,204,205,304]);function rh(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(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=ac(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):jy.has(f))){const h=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return h>0&&await new Promise(d=>setTimeout(d,h)),o(a.request,{...a.options,retry:u-1})}}const c=Iy(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const u={request:l,options:Hy(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 bs(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Ty(u.request,u.options.baseURL)),u.options.query&&(u.request=Qf(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&&ac(u.options.method)&&(Ly(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 d=new r;f=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,d.abort(p)},u.options.timeout),u.options.signal=d.signal}try{u.response=await t(u.request,u.options)}catch(d){return u.error=d,u.options.onRequestError&&await bs(u,u.options.onRequestError),await s(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!Gy.has(u.response.status)&&u.options.method!=="HEAD"){const d=(u.options.parseResponse?"json":u.options.responseType)||Fy(u.response.headers.get("content-type")||"");switch(d){case"json":{const p=await u.response.text(),g=u.options.parseResponse||Js;u.response._data=g(p);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[d]()}}return u.options.onResponse&&await bs(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await bs(u,u.options.onResponseError),await s(u)):u.response},i=async function(l,c){return(await o(l,c))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},l={})=>rh({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const Ys=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")}(),Uy=Ys.fetch?(...e)=>Ys.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Wy=Ys.Headers,zy=Ys.AbortController,Vy=rh({fetch:Uy,Headers:Wy,AbortController:zy}),qy=Vy,Ky=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Zs=Ky().app,Jy=()=>Zs.baseURL,Xy=()=>Zs.buildAssetsDir,Qa=(...e)=>Zf(sh(),Xy(),...e),sh=(...e)=>{const t=Zs.cdnURL||Zs.baseURL;return e.length?Zf(t,...e):t};globalThis.__buildAssetsURL=Qa,globalThis.__publicAssetsURL=sh;globalThis.$fetch||(globalThis.$fetch=qy.create({baseURL:Jy()}));function Qi(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Qi(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Qy={run:e=>e()},Yy=()=>Qy,oh=typeof console.createTask<"u"?console.createTask:Yy;function Zy(e,t){const n=t.shift(),r=oh(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function e_(e,t){const n=t.shift(),r=oh(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function di(e,t){for(const n of[...e])n(t)}class t_{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Qi(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Qi(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(Zy,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(e_,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&di(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&di(this._after,s)}):(this._after&&s&&di(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function ih(){return new t_}function n_(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;Yi.add(c);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{Yi.delete(c)}}}}function r_(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=n_({...e,...r})),t[n]}}}const eo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},lc="__unctx__",s_=eo[lc]||(eo[lc]=r_()),o_=(e,t={})=>s_.get(e,t),cc="__unctx_async_handlers__",Yi=eo[cc]||(eo[cc]=new Set);function ah(e){const t=[];for(const s of Yi){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const i_={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},a_=null,l_="#__nuxt",lh="nuxt-app",uc=36e5,c_="vite:preloadError";function ch(e=lh){return o_(e,{asyncContext:!1})}const u_="__nuxt_plugin";function f_(e){var s;let t=0;const n={_id:e.id||lh||"nuxt-app",_scope:Hp(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.16.0"},get vue(){return n.vueApp.version}},payload:Yn({...((s=e.ssrContext)==null?void 0:s.payload)||{},data:Yn({}),state:fn({}),once:new Set,_errors:Yn({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!Ia()?n._scope.run(()=>fc(n,o)):fc(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Yn({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const i in o)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],o[i]);break;default:n.payload[i]=o[i]}}n.hooks=ih(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const a="$"+o;ws(n,a,i),ws(n.vueApp.config.globalProperties,a,i)},ws(n.vueApp,"$nuxt",n),ws(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(c_,i=>{n.callHook("app:chunkError",{error:i.payload}),(n.isHydrating||i.payload.message.includes("Unable to preload CSS"))&&i.preventDefault()}),window.useNuxtApp||(window.useNuxtApp=Ne);const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function h_(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function d_(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 p_(e,t){const n=[],r=[],s=[],o=[];let i=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(f=>t.some(h=>h._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),l]);else{const f=d_(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([h,d])=>{h.has(l._name)&&(h.delete(l._name),h.size===0&&(i++,await a(d)))})))});l.parallel?s.push(f.catch(h=>o.push(h))):await f}}for(const l of t)h_(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(o.length)throw o[0]}function Ft(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[u_]:!0,_name:t})}function fc(e,t,n){const r=()=>t();return ch(e._id).set(e),e.vueApp.runWithContext(r)}function uh(e){var n;let t;return Ro()&&(t=(n=cs())==null?void 0:n.appContext.app.$nuxt),t||(t=ch(e).tryUse()),t||null}function Ne(e){const t=uh(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function pr(e){return Ne().$config}function ws(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function g_(e,t){return{ctx:{table:e},matchAll:n=>hh(n,e)}}function fh(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,fh(s)])):new Map(Object.entries(e[n]));return t}function m_(e){return g_(fh(e))}function hh(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of hc(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of hc(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...hh(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function hc(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function pi(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 Zi(e,t,n=".",r){if(!pi(t))return Zi(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:pi(i)&&pi(s[o])?s[o]=Zi(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function y_(e){return(...t)=>t.reduce((n,r)=>Zi(n,r,"",e),{})}const __=y_();function b_(e,t){try{return t in e}catch{return!1}}class ea extends Error{constructor(n,r={}){super(n,r);k(this,"statusCode",500);k(this,"fatal",!1);k(this,"unhandled",!1);k(this,"statusMessage");k(this,"data");k(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:ta(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=dh(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}k(ea,"__h3_error__",!0);function w_(e){if(typeof e=="string")return new ea(e);if(v_(e))return e;const t=new ea(e.message??e.statusMessage??"",{cause:e.cause||e});if(b_(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=ta(e.statusCode,t.statusCode):e.status&&(t.statusCode=ta(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;dh(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 v_(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const C_=/[^\u0009\u0020-\u007E]/g;function dh(e=""){return e.replace(C_,"")}function ta(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const ph=Symbol("route"),Mt=()=>{var e;return(e=Ne())==null?void 0:e.$router},gh=()=>Ro()?Dn(ph,Ne()._route):Ne()._route;const S_=()=>{try{if(Ne()._processingMiddleware)return!0}catch{return!1}return!1},mh=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?na(e):Mt().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([f,h])=>h!==void 0).map(([f,h])=>`${f.toLowerCase()}=${h}`).join(", ");return open(n,l,u),Promise.resolve()}const r=_n(n,{acceptRelative:!0}),s=(t==null?void 0:t.external)||r;if(s){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&&Ay(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=S_();if(!s&&o){if(t!=null&&t.replace){if(typeof e=="string"){const{pathname:l,search:c,hash:u}=th(e);return{path:l,...c&&{query:Oo(c)},...u&&{hash:u},replace:!0}}return{...e,replace:!0}}return e}const i=Mt(),a=Ne();return s?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)};function na(e){return Qf(e.path||"",e.query||{})+(e.hash||"")}const yh="__nuxt_error",Ya=()=>nf(Ne().payload,"error"),x_=e=>{const t=Za(e);try{const n=Ne(),r=Ya();n.hooks.callHook("app:error",t),r.value||(r.value=t)}catch{throw t}return t},k_=async(e={})=>{const t=Ne(),n=Ya();t.callHook("app:error:cleared",e),e.redirect&&await Mt().replace(e.redirect),n.value=a_},A_=e=>!!e&&typeof e=="object"&&yh in e,Za=e=>{const t=w_(e);return Object.defineProperty(t,yh,{value:!0,configurable:!1,writable:!1}),t};function dc(e){const t=T_(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const E_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function T_(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=E_.indexOf(e[s]),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 R_=-1,P_=-2,$_=-3,N_=-4,I_=-5,O_=-6;function L_(e,t){return M_(JSON.parse(e),t)}function M_(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===R_)return;if(o===$_)return NaN;if(o===N_)return 1/0;if(o===I_)return-1/0;if(o===O_)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t==null?void 0:t[l];if(c)return r[o]=c(s(a[1]));switch(l){case"Date":r[o]=new Date(a[1]);break;case"Set":const u=new Set;r[o]=u;for(let d=1;d<a.length;d+=1)u.add(s(a[d]));break;case"Map":const f=new Map;r[o]=f;for(let d=1;d<a.length;d+=2)f.set(s(a[d]),s(a[d+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const h=Object.create(null);r[o]=h;for(let d=1;d<a.length;d+=2)h[a[d]]=s(a[d+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 d=globalThis[l],p=a[1],g=dc(p),y=new d(g);r[o]=y;break}case"ArrayBuffer":{const d=a[1],p=dc(d);r[o]=p;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[o]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==P_&&(l[c]=s(u))}}else{const l={};r[o]=l;for(const c in a){const u=a[c];l[c]=s(u)}}return r[o]}return s(0)}const D_=new Set(["link","style","script","noscript"]),F_=new Set(["title","titleTemplate","script","style","noscript"]),pc=new Set(["base","meta","link","style","script","noscript"]),H_=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),B_=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),j_=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),G_=new Set(["templateParams","htmlAttrs","bodyAttrs"]),U_=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);const W_=["name","property","http-equiv"];function _h(e){const t=e.split(":")[1];return U_.has(t)}function ra(e){const{props:t,tag:n}=e;if(B_.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of W_)if(t[r]!==void 0)return`${n}:${t[r]}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(F_.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function gc(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function to(e,t,n){const r=typeof e;let s;if(!t||!n?s=r==="function"?e():e:t&&(n==="titleTemplate"||n[0]==="o"&&n[1]==="n")?s=t(n,e):t&&(s=r==="function"?t(n,e()):t(n,e)),Array.isArray(s))return s.map(o=>to(o,t));if((s==null?void 0:s.constructor)===Object){const o={};for(const i of Object.keys(s))o[i]=to(s[i],t,i);return o}return s}function z_(e,t){const n=e==="style"?new Map:new Set;function r(s){const o=s.trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>l.trim());i&&a.length&&n.set(i,a.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(s.trim(),o):r(s))}),n}function bh(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=z_(n,r);return}if(j_.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let i=t.type;if(t.type||(i="application/json"),!(i!=null&&i.endsWith("json"))&&i!=="speculationrules")return;t.type=i,e.props.type=i,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),o=n.startsWith("data-");s==="true"||s===""?e.props[n]=o?"true":!0:!r&&o&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e}function V_(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=bh({tag:e,props:{}},n);return r.key&&D_.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function wh(e,t){if(!e)return[];const n=[];return typeof e=="function"?wh(e(),t):(e=to(e,(r,s)=>{let o=s;for(let i=0;i<t.length;i++){const a=t[i](r,o);a!==void 0&&(o=a)}return o}),Object.entries(e).forEach(([r,s])=>{if(s!==void 0)for(const o of Array.isArray(s)?s:[s])n.push(V_(r,o))}),n.flat())}const sa=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,mc={base:-10,title:10},q_={critical:-8,high:-1,low:2},yc={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},K_=/@import/,Ar=e=>e===""||e===!0;function J_(e,t){var o;if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=q_[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:yc;if(t.tag in mc)n=mc[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=yc.meta[i])}else t.tag==="link"&&t.props.rel?n=s.link[t.props.rel]:t.tag==="script"?Ar(t.props.async)?n=s.script.async:t.props.src&&!Ar(t.props.defer)&&!Ar(t.props.async)&&t.props.type!=="module"&&!((o=t.props.type)!=null&&o.endsWith("json"))?n=s.script.sync:Ar(t.props.defer)&&t.props.src&&!Ar(t.props.async)&&(n=s.script.defer):t.tag==="style"&&(n=t.innerHTML&&K_.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function _c(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function X_(e={}){var a;const t=ih();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=[],i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>_c(i,l),push(l,c){const u={...c||{}};delete u.head;const f=u._index??i._entryCount++,h={_i:f,input:l,options:u},d={_poll(p=!1){i.dirty=!0,!p&&o.push(f),t.callHook("entries:updated",i)},dispose(){r.delete(f)&&d._poll(!0)},patch(p){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(h.input=p,r.set(f,h),d._poll())}};return d.patch(l),d},async resolveTags(){var d;const l={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",l);o.length;){const p=o.shift(),g=r.get(p);if(g){const y={tags:wh(g.input,e.propResolvers||[]).map(_=>Object.assign(_,g.options)),entry:g};await t.callHook("entries:normalize",y),g._tags=y.tags.map((_,v)=>(_._w=J_(i,_),_._p=(g._i<<10)+v,_._d=ra(_),_))}}let c=!1;l.entries.flatMap(p=>(p._tags||[]).map(g=>({...g,props:{...g.props}}))).sort(sa).reduce((p,g)=>{const y=String(g._d||g._p);if(!p.has(y))return p.set(y,g);const _=p.get(y);if(((g==null?void 0:g.tagDuplicateStrategy)||(G_.has(g.tag)?"merge":null)||(g.key&&g.key===_.key?"merge":null))==="merge"){const m={..._.props};Object.entries(g.props).forEach(([w,C])=>m[w]=w==="style"?new Map([..._.props.style||new Map,...C]):w==="class"?new Set([..._.props.class||new Set,...C]):C),p.set(y,{...g,props:m})}else g._p>>10===_._p>>10&&_h(g._d)?(p.set(y,Object.assign([...Array.isArray(_)?_:[_],g],g)),c=!0):(g._w===_._w?g._p>_._p:(g==null?void 0:g._w)<(_==null?void 0:_._w))&&p.set(y,g);return p},l.tagMap);const u=l.tagMap.get("title"),f=l.tagMap.get("titleTemplate");if(i._title=u==null?void 0:u.textContent,f){const p=f==null?void 0:f.textContent;if(i._titleTemplate=typeof p=="string"?p:void 0,p){let g=typeof p=="function"?p(u==null?void 0:u.textContent):p;typeof g=="string"&&!i.plugins.has("template-params")&&(g=g.replace("%s",(u==null?void 0:u.textContent)||"")),u?g===null?l.tagMap.delete("title"):l.tagMap.set("title",{...u,textContent:g}):(f.tag="title",f.textContent=g)}}l.tags=Array.from(l.tagMap.values()),c&&(l.tags=l.tags.flat().sort(sa)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const h=[];for(const p of l.tags){const{innerHTML:g,tag:y,props:_}=p;if(H_.has(y)&&!(Object.keys(_).length===0&&!p.innerHTML&&!p.textContent)&&!(y==="meta"&&!_.content&&!_["http-equiv"]&&!_.charset)){if(y==="script"&&g){if((d=_.type)!=null&&d.endsWith("json")){const v=typeof g=="string"?g:JSON.stringify(g);p.innerHTML=v.replace(/</g,"\\u003C")}else typeof g=="string"&&(p.innerHTML=g.replace(new RegExp(`</${y}`,"g"),`<\\/${y}`));p._d=ra(p)}h.push(p)}}return h}};return((e==null?void 0:e.plugins)||[]).forEach(l=>_c(i,l)),i.hooks.callHook("init",i),(a=e.init)==null||a.forEach(l=>l&&i.push(l)),i}const en="%separator",Q_=new RegExp(`${en}(?:\\s*${en})*`,"g");function Y_(e,t,n=!1){var s;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");r=(s=e[t.substring(0,o)])==null?void 0:s[t.substring(o+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function vs(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(en);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===en||!o.includes(a))return a;const l=Y_(t,a.slice(1),r);return l!==void 0?l:a}).trim(),i&&(e.endsWith(en)&&(e=e.slice(0,-en.length)),e.startsWith(en)&&(e=e.slice(en.length)),e=e.replace(Q_,n||"").trim()),e}const bc=e=>e.includes(":key")?e:e.split(":").join(":key:"),Z_={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const s=String(r);if(s.startsWith("before:")){const o=bc(s.slice(7)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p-1,t=!0)}else if(s.startsWith("after:")){const o=bc(s.slice(6)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p+1,t=!0)}}t&&(e.tags=e.tags.sort(sa))}}},e0={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function oa(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>oa(n)));if((e==null?void 0:e.constructor)===Object){const n={};for(const r of Object.keys(e))n[r]=await oa(e[r]);return n}return e}const t0={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(oa(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},n0={meta:"content",link:"href",htmlAttrs:"lang"},r0=["innerHTML","textContent"],s0=e=>({key:"template-params",hooks:{"tags:resolve":({tagMap:t,tags:n})=>{var o;const r=((o=t.get("templateParams"))==null?void 0:o.props)||{},s=r.separator||"|";delete r.separator,r.pageTitle=vs(r.pageTitle||e._title||"",r,s);for(const i of n){if(i.processTemplateParams===!1)continue;const a=n0[i.tag];if(a&&typeof i.props[a]=="string")i.props[a]=vs(i.props[a],r,s);else if(i.processTemplateParams||i.tag==="titleTemplate"||i.tag==="title")for(const l of r0)typeof i[l]=="string"&&(i[l]=vs(i[l],r,s,i.tag==="script"&&i.props.type.endsWith("json")))}e._templateParams=r,e._separator=s},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n!=null&&n.textContent&&n.processTemplateParams!==!1&&(n.textContent=vs(n.textContent,e._templateParams,e._separator))}}}),o0=(e,t)=>$e(t)?on(t):t,el="usehead";function i0(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(el,e)}}.install}function a0(){if(Ro()){const e=Dn(el);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function l0(e,t={}){const n=t.head||a0();return n.ssr?n.push(e||{},t):c0(n,e,t)}function c0(e,t,n={}){const r=Ee(!1);let s;return If(()=>{const i=r.value?{}:to(t,o0);s?s.patch(i):s=e.push(i,n)}),cs()&&(za(()=>{s.dispose()}),lf(()=>{r.value=!0}),af(()=>{r.value=!1})),s}function u0(e){var n;const t=e||uh();return((n=t==null?void 0:t.ssrContext)==null?void 0:n.head)||(t==null?void 0:t.runWithContext(()=>{if(Ro())return Dn(el)}))}function f0(e,t={}){const n=u0(t.nuxt);if(n)return l0(e,{head:n,...t})}const h0="modulepreload",d0=function(e,t){return new URL(e,t).href},wc={},Dr=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=Promise.allSettled(n.map(c=>{if(c=d0(c,r),c in wc)return;wc[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!r)for(let p=i.length-1;p>=0;p--){const g=i[p];if(g.href===c&&(!u||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":h0,u||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),u)return new Promise((p,g)=>{d.addEventListener("load",p),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};let Os,Ls;function p0(){return Os=$fetch(Qa(`builds/meta/${pr().app.buildId}.json`),{responseType:"json"}),Os.then(e=>{Ls=m_(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Os}function Mo(){return Os||p0()}async function tl(e){const t=typeof e=="string"?e:e.path;if(await Mo(),!Ls)return console.error("[nuxt] Error creating app manifest matcher.",Ls),{};try{return __({},...Ls.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function vc(e,t={}){const n=await m0(e,t),r=Ne(),s=r._payloadCache||(r._payloadCache={});return n in s?s[n]||null:(s[n]=Ch(e).then(o=>o?vh(n).then(i=>i||(delete s[n],null)):(s[n]=null,null)),s[n])}const g0="_payload.json";async function m0(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||_n(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=pr(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await Ch(e)?o:r.app.baseURL;return wr(i,n.pathname,g0+(s?`?${s}`:""))}async function vh(e){const t=fetch(e).then(n=>n.text().then(Sh));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Ch(e=gh().path){const t=Ne();return e=Lo(e),(await Mo()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await tl({path:e});return!!r.prerender&&!r.redirect})}let Sn=null;async function y0(){var r;if(Sn)return Sn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Sh(e.textContent||""),n=e.dataset.src?await vh(e.dataset.src):void 0;return Sn={...t,...n,...window.__NUXT__},(r=Sn.config)!=null&&r.public&&(Sn.config.public=fn(Sn.config.public)),Sn}async function Sh(e){return await L_(e,Ne()._payloadRevivers)}function _0(e,t){Ne()._payloadRevivers[e]=t}const b0=[["NuxtError",e=>Za(e)],["EmptyShallowRef",e=>Fi(e==="_"?void 0:e==="0n"?BigInt(0):Js(e))],["EmptyRef",e=>Ee(e==="_"?void 0:e==="0n"?BigInt(0):Js(e))],["ShallowRef",e=>Fi(e)],["ShallowReactive",e=>Yn(e)],["Ref",e=>Ee(e)],["Reactive",e=>fn(e)]],w0=Ft({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of b0)_0(r,s);Object.assign(e.payload,([t,n]=ah(()=>e.runWithContext(y0)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function nl(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 s=>{var d;const o=new Map,i=new Promise(p=>{e.resolveTags().then(g=>{p(g.map(y=>{const _=o.get(y._d)||0,v={tag:y,id:(_?`${y._d}:${_}`:y._d)||gc(y),shouldRender:!0};return y._d&&_h(y._d)&&o.set(y._d,_+1),v}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const p of["body","head"]){const g=(d=n[p])==null?void 0:d.children;for(const y of g){const _=y.tagName.toLowerCase();if(!pc.has(_))continue;const v=bh({tag:_,props:{}},{innerHTML:y.innerHTML,...y.getAttributeNames().reduce((m,w)=>(m[w]=y.getAttribute(w),m),{})||{}});if(v.key=y.getAttribute("data-hid")||void 0,v._d=ra(v)||gc(v),a.elMap.has(v._d)){let m=1,w=v._d;for(;a.elMap.has(w);)w=`${v._d}:${m++}`;a.elMap.set(w,y)}else a.elMap.set(v._d,y)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(p,g,y){const _=`${p}:${g}`;a.sideEffects[_]=y,delete a.pendingSideEffects[_]}function c({id:p,$el:g,tag:y}){const _=y.tag.endsWith("Attrs");a.elMap.set(p,g),_||(y.textContent&&y.textContent!==g.textContent&&(g.textContent=y.textContent),y.innerHTML&&y.innerHTML!==g.innerHTML&&(g.innerHTML=y.innerHTML),l(p,"el",()=>{g==null||g.remove(),a.elMap.delete(p)}));for(const v in y.props){if(!Object.hasOwn(y.props,v))continue;const m=y.props[v];if(v.startsWith("on")&&typeof m=="function"){const C=g==null?void 0:g.dataset;if(C&&C[`${v}fired`]){const E=v.slice(0,-5);m.call(g,new Event(E.substring(2)))}g.getAttribute(`data-${v}`)!==""&&((y.tag==="bodyAttrs"?n.defaultView:g).addEventListener(v.substring(2),m.bind(g)),g.setAttribute(`data-${v}`,""));continue}const w=`attr:${v}`;if(v==="class"){if(!m)continue;for(const C of m)_&&l(p,`${w}:${C}`,()=>g.classList.remove(C)),!g.classList.contains(C)&&g.classList.add(C)}else if(v==="style"){if(!m)continue;for(const[C,E]of m)l(p,`${w}:${C}`,()=>{g.style.removeProperty(C)}),g.style.setProperty(C,E)}else m!==!1&&m!==null&&(g.getAttribute(v)!==m&&g.setAttribute(v,m===!0?"":String(m)),_&&l(p,w,()=>g.removeAttribute(v)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await i;for(const p of h){const{tag:g,shouldRender:y,id:_}=p;if(y){if(g.tag==="title"){n.title=g.textContent,l("title","",()=>n.title=a.title);continue}p.$el=p.$el||a.elMap.get(_),p.$el?c(p):pc.has(g.tag)&&u.push(p)}}for(const p of u){const g=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),c(p),f[g]=f[g]||n.createDocumentFragment(),f[g].appendChild(p.$el)}for(const p of h)await e.hooks.callHook("dom:renderTag",p,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const p in a.pendingSideEffects)a.pendingSideEffects[p]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:h}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function v0(e={}){var r,s,o;const t=((r=e.domOptions)==null?void 0:r.render)||nl;e.document=e.document||(typeof window<"u"?document:void 0);const n=((o=(s=e.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return X_({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function C0(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function S0(e={}){const t=v0({domOptions:{render:C0(()=>nl(t),jn)},...e});return t.install=i0(t),t}const x0={disableDefaults:!0,disableCapoSorting:!1,plugins:[e0,t0,s0,Z_]},k0=Ft({name:"nuxt:head",enforce:"pre",setup(e){const t=S0(x0);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await nl(t)};t.hooks.hook("dom:beforeRender",s=>{s.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)}}}),A0=async e=>{let t,n;const r=([t,n]=ah(()=>tl({path:e.path})),t=await t,n(),t);if(r.redirect)return _n(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},E0=[A0];function gi(e){typeof e=="object"&&(e=nh({pathname:e.path||"",search:Xf(e.query||{}),hash:e.hash||""}));const t=new URL(e.toString(),window.location.href);return{path:t.pathname,fullPath:e,query:Oo(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const T0=Ft({name:"nuxt:router",enforce:"pre",setup(e){const t=Ry(window.location.pathname,pr().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},s=(f,h)=>(r[f].push(h),()=>r[f].splice(r[f].indexOf(h),1)),o=pr().app.baseURL,i=fn(gi(t));async function a(f,h){try{const d=gi(f);for(const p of r["navigate:before"]){const g=await p(d,i);if(g===!1||g instanceof Error)return;if(typeof g=="string"&&g.length)return a(g,!0)}for(const p of r["resolve:before"])await p(d,i);Object.assign(i,d),window.history[h?"replaceState":"pushState"]({},"",wr(o,d.fullPath)),e.isHydrating||await e.runWithContext(k_);for(const p of r["navigate:after"])await p(d,i)}catch(d){for(const p of r.error)await p(d)}}const c={currentRoute:Re(()=>i),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=>s("resolve:before",f),beforeEach:f=>s("navigate:before",f),afterEach:f=>s("navigate:after",f),onError:f=>s("error",f),resolve:gi,addRoute:(f,h)=>{n.push(h)},getRoutes:()=>n,hasRoute:f=>n.some(h=>h.name===f),removeRoute:f=>{const h=n.findIndex(d=>d.name===f);h!==-1&&n.splice(h,1)}};e.vueApp.component("RouterLink",et({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:h})=>{const d=()=>a(f.to,f.replace);return()=>{var g;const p=c.resolve(f.to);return f.custom?(g=h.default)==null?void 0:g.call(h,{href:f.to,navigate:d,route:p}):Ks("a",{href:f.to,onClick:y=>(y.preventDefault(),d())},h)}}})),window.addEventListener("popstate",f=>{const h=f.target.location;c.replace(h.href.replace(h.origin,""))}),e._route=i,e._middleware||(e._middleware={global:[],named:{}});const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,h)=>{f.meta=fn(f.meta||{}),e.isHydrating&&u&&!hn(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const d=new Set([...E0,...e._middleware.global]);{const p=await e.runWithContext(()=>tl({path:f.path}));if(p.appMiddleware)for(const g in p.appMiddleware){const y=e._middleware.named[g];if(!y)return;p.appMiddleware[g]?d.add(y):d.delete(y)}}for(const p of d){const g=await e.runWithContext(()=>p(f,h));if(g!==!0&&(g||g===!1))return g}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),$y(i.fullPath,t)||await e.runWithContext(()=>mh(i.fullPath))}),{provide:{route:i,router:c}}}}),ia=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),R0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Do=e=>{const t=Ne();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ia(()=>e())}):ia(()=>e())},P0=Ft({name:"nuxt:payload",setup(e){Mt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await vc(t.path);r&&Object.assign(e.static.data,r.data)}),Do(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await vc(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Mo,1e3)})}}),$0=Ft(()=>{const e=Mt();Do(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),N0=Ft(e=>{let t;async function n(){const r=await Mo();t&&clearTimeout(t),t=setTimeout(n,uc);try{const s=await $fetch(Qa("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}Do(()=>{t=setTimeout(n,uc)})});function I0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Js(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:Ne().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const O0=Ft({name:"nuxt:chunk-reload",setup(e){const t=Mt(),n=pr(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const a="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:wr(n.app.baseURL,o.fullPath);I0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),L0=Ft({name:"nuxt:global-components"}),M0=Ft(()=>{}),D0=["top","right","bottom","left"],Cc=["start","end"],Sc=D0.reduce((e,t)=>e.concat(t,t+"-"+Cc[0],t+"-"+Cc[1]),[]),Jr=Math.min,En=Math.max,F0={left:"right",right:"left",bottom:"top",top:"bottom"},H0={start:"end",end:"start"};function aa(e,t,n){return En(e,Jr(t,n))}function Gn(e,t){return typeof e=="function"?e(t):e}function Dt(e){return e.split("-")[0]}function vt(e){return e.split("-")[1]}function xh(e){return e==="x"?"y":"x"}function rl(e){return e==="y"?"height":"width"}function Bn(e){return["top","bottom"].includes(Dt(e))?"y":"x"}function sl(e){return xh(Bn(e))}function kh(e,t,n){n===void 0&&(n=!1);const r=vt(e),s=sl(e),o=rl(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=ro(i)),[i,ro(i)]}function B0(e){const t=ro(e);return[no(e),t,no(t)]}function no(e){return e.replace(/start|end/g,t=>H0[t])}function j0(e,t,n){const r=["left","right"],s=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:r:t?r:s;case"left":case"right":return t?o:i;default:return[]}}function G0(e,t,n,r){const s=vt(e);let o=j0(Dt(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(no)))),o}function ro(e){return e.replace(/left|right|bottom|top/g,t=>F0[t])}function U0(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ah(e){return typeof e!="number"?U0(e):{top:e,right:e,bottom:e,left:e}}function Fr(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function xc(e,t,n){let{reference:r,floating:s}=e;const o=Bn(t),i=sl(t),a=rl(i),l=Dt(t),c=o==="y",u=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[a]/2-s[a]/2;let d;switch(l){case"top":d={x:u,y:r.y-s.height};break;case"bottom":d={x:u,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-s.width,y:f};break;default:d={x:r.x,y:r.y}}switch(vt(t)){case"start":d[i]-=h*(n&&c?-1:1);break;case"end":d[i]+=h*(n&&c?-1:1);break}return d}const W0=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:u,y:f}=xc(c,r,l),h=r,d={},p=0;for(let g=0;g<a.length;g++){const{name:y,fn:_}=a[g],{x:v,y:m,data:w,reset:C}=await _({x:u,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:d,rects:c,platform:i,elements:{reference:e,floating:t}});u=v??u,f=m??f,d={...d,[y]:{...d[y],...w}},C&&p<=50&&(p++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(c=C.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):C.rects),{x:u,y:f}=xc(c,h,l)),g=-1)}return{x:u,y:f,placement:h,strategy:s,middlewareData:d}};async function Fo(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Gn(t,e),p=Ah(d),y=a[h?f==="floating"?"reference":"floating":f],_=Fr(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(y)))==null||n?y:y.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),v=f==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,m=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),w=await(o.isElement==null?void 0:o.isElement(m))?await(o.getScale==null?void 0:o.getScale(m))||{x:1,y:1}:{x:1,y:1},C=Fr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:m,strategy:l}):v);return{top:(_.top-C.top+p.top)/w.y,bottom:(C.bottom-_.bottom+p.bottom)/w.y,left:(_.left-C.left+p.left)/w.x,right:(C.right-_.right+p.right)/w.x}}const z0=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=Gn(e,t)||{};if(c==null)return{};const f=Ah(u),h={x:n,y:r},d=sl(s),p=rl(d),g=await i.getDimensions(c),y=d==="y",_=y?"top":"left",v=y?"bottom":"right",m=y?"clientHeight":"clientWidth",w=o.reference[p]+o.reference[d]-h[d]-o.floating[p],C=h[d]-o.reference[d],E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let x=E?E[m]:0;(!x||!await(i.isElement==null?void 0:i.isElement(E)))&&(x=a.floating[m]||o.floating[p]);const M=w/2-C/2,F=x/2-g[p]/2-1,I=Jr(f[_],F),D=Jr(f[v],F),G=I,X=x-g[p]-D,re=x/2-g[p]/2+M,he=aa(G,re,X),W=!l.arrow&&vt(s)!=null&&re!==he&&o.reference[p]/2-(re<G?I:D)-g[p]/2<0,Y=W?re<G?re-G:re-X:0;return{[d]:h[d]+Y,data:{[d]:he,centerOffset:re-he-Y,...W&&{alignmentOffset:Y}},reset:W}}});function V0(e,t,n){return(e?[...n.filter(s=>vt(s)===e),...n.filter(s=>vt(s)!==e)]:n.filter(s=>Dt(s)===s)).filter(s=>e?vt(s)===e||(t?no(s)!==s:!1):!0)}const q0=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,s;const{rects:o,middlewareData:i,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:h=Sc,autoAlignment:d=!0,...p}=Gn(e,t),g=f!==void 0||h===Sc?V0(f||null,d,h):h,y=await Fo(t,p),_=((n=i.autoPlacement)==null?void 0:n.index)||0,v=g[_];if(v==null)return{};const m=kh(v,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:g[0]}};const w=[y[Dt(v)],y[m[0]],y[m[1]]],C=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:v,overflows:w}],E=g[_+1];if(E)return{data:{index:_+1,overflows:C},reset:{placement:E}};const x=C.map(I=>{const D=vt(I.placement);return[I.placement,D&&u?I.overflows.slice(0,2).reduce((G,X)=>G+X,0):I.overflows[0],I.overflows]}).sort((I,D)=>I[1]-D[1]),F=((s=x.filter(I=>I[2].slice(0,vt(I[0])?2:3).every(D=>D<=0))[0])==null?void 0:s[0])||x[0][0];return F!==a?{data:{index:_+1,overflows:C},reset:{placement:F}}:{}}}},K0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...y}=Gn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const _=Dt(s),v=Bn(a),m=Dt(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),C=h||(m||!g?[ro(a)]:B0(a)),E=p!=="none";!h&&E&&C.push(...G0(a,g,p,w));const x=[a,...C],M=await Fo(t,y),F=[];let I=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&F.push(M[_]),f){const re=kh(s,i,w);F.push(M[re[0]],M[re[1]])}if(I=[...I,{placement:s,overflows:F}],!F.every(re=>re<=0)){var D,G;const re=(((D=o.flip)==null?void 0:D.index)||0)+1,he=x[re];if(he)return{data:{index:re,overflows:I},reset:{placement:he}};let W=(G=I.filter(Y=>Y.overflows[0]<=0).sort((Y,V)=>Y.overflows[1]-V.overflows[1])[0])==null?void 0:G.placement;if(!W)switch(d){case"bestFit":{var X;const Y=(X=I.filter(V=>{if(E){const be=Bn(V.placement);return be===v||be==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(be=>be>0).reduce((be,Wn)=>be+Wn,0)]).sort((V,be)=>V[1]-be[1])[0])==null?void 0:X[0];Y&&(W=Y);break}case"initialPlacement":W=a;break}if(s!==W)return{reset:{placement:W}}}return{}}}};async function J0(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=Dt(n),a=vt(n),l=Bn(n)==="y",c=["left","top"].includes(i)?-1:1,u=o&&l?-1:1,f=Gn(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(d=a==="end"?p*-1:p),l?{x:d*u,y:h*c}:{x:h*c,y:d*u}}const X0=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:i,middlewareData:a}=t,l=await J0(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+l.x,y:o+l.y,data:{...l,placement:i}}}}},Q0=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:y=>{let{x:_,y:v}=y;return{x:_,y:v}}},...l}=Gn(e,t),c={x:n,y:r},u=await Fo(t,l),f=Bn(Dt(s)),h=xh(f);let d=c[h],p=c[f];if(o){const y=h==="y"?"top":"left",_=h==="y"?"bottom":"right",v=d+u[y],m=d-u[_];d=aa(v,d,m)}if(i){const y=f==="y"?"top":"left",_=f==="y"?"bottom":"right",v=p+u[y],m=p-u[_];p=aa(v,p,m)}const g=a.fn({...t,[h]:d,[f]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[h]:o,[f]:i}}}}}},Y0=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:i,elements:a}=t,{apply:l=()=>{},...c}=Gn(e,t),u=await Fo(t,c),f=Dt(s),h=vt(s),d=Bn(s)==="y",{width:p,height:g}=o.floating;let y,_;f==="top"||f==="bottom"?(y=f,_=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(_=f,y=h==="end"?"top":"bottom");const v=g-u.top-u.bottom,m=p-u.left-u.right,w=Jr(g-u[y],v),C=Jr(p-u[_],m),E=!t.middlewareData.shift;let x=w,M=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(M=m),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(x=v),E&&!h){const I=En(u.left,0),D=En(u.right,0),G=En(u.top,0),X=En(u.bottom,0);d?M=p-2*(I!==0||D!==0?I+D:En(u.left,u.right)):x=g-2*(G!==0||X!==0?G+X:En(u.top,u.bottom))}await l({...t,availableWidth:M,availableHeight:x});const F=await i.getDimensions(a.floating);return p!==F.width||g!==F.height?{reset:{rects:!0}}:{}}}};function ht(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Nt(e){return ht(e).getComputedStyle(e)}const kc=Math.min,Hr=Math.max,so=Math.round;function Eh(e){const t=Nt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=so(n)!==s||so(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function pn(e){return Rh(e)?(e.nodeName||"").toLowerCase():""}let Cs;function Th(){if(Cs)return Cs;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Cs=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Cs):navigator.userAgent}function It(e){return e instanceof ht(e).HTMLElement}function ln(e){return e instanceof ht(e).Element}function Rh(e){return e instanceof ht(e).Node}function Ac(e){return typeof ShadowRoot>"u"?!1:e instanceof ht(e).ShadowRoot||e instanceof ShadowRoot}function Ho(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Nt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function Z0(e){return["table","td","th"].includes(pn(e))}function la(e){const t=/firefox/i.test(Th()),n=Nt(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(s=>n.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const o=n.contain;return o!=null&&o.includes(s)})}function Ph(){return!/^((?!chrome|android).)*safari/i.test(Th())}function ol(e){return["html","body","#document"].includes(pn(e))}function $h(e){return ln(e)?e:e.contextElement}const Nh={x:1,y:1};function ir(e){const t=$h(e);if(!It(t))return Nh;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=Eh(t);let i=(o?so(n.width):n.width)/r,a=(o?so(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Xr(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=$h(e);let l=Nh;t&&(r?ln(r)&&(l=ir(r)):l=ir(e));const c=a?ht(a):window,u=!Ph()&&n;let f=(i.left+(u&&((s=c.visualViewport)==null?void 0:s.offsetLeft)||0))/l.x,h=(i.top+(u&&((o=c.visualViewport)==null?void 0:o.offsetTop)||0))/l.y,d=i.width/l.x,p=i.height/l.y;if(a){const g=ht(a),y=r&&ln(r)?ht(r):r;let _=g.frameElement;for(;_&&r&&y!==g;){const v=ir(_),m=_.getBoundingClientRect(),w=getComputedStyle(_);m.x+=(_.clientLeft+parseFloat(w.paddingLeft))*v.x,m.y+=(_.clientTop+parseFloat(w.paddingTop))*v.y,f*=v.x,h*=v.y,d*=v.x,p*=v.y,f+=m.x,h+=m.y,_=ht(_).frameElement}}return{width:d,height:p,top:h,right:f+d,bottom:h+p,left:f,x:f,y:h}}function cn(e){return((Rh(e)?e.ownerDocument:e.document)||window.document).documentElement}function Bo(e){return ln(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ih(e){return Xr(cn(e)).left+Bo(e).scrollLeft}function Qr(e){if(pn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ac(e)&&e.host||cn(e);return Ac(t)?t.host:t}function Oh(e){const t=Qr(e);return ol(t)?t.ownerDocument.body:It(t)&&Ho(t)?t:Oh(t)}function oo(e,t){var n;t===void 0&&(t=[]);const r=Oh(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=ht(r);return s?t.concat(o,o.visualViewport||[],Ho(r)?r:[]):t.concat(r,oo(r))}function Ec(e,t,n){return t==="viewport"?Fr(function(r,s){const o=ht(r),i=cn(r),a=o.visualViewport;let l=i.clientWidth,c=i.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const h=Ph();(h||!h&&s==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):ln(t)?Fr(function(r,s){const o=Xr(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,l=It(r)?ir(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:i*l.y}}(t,n)):Fr(function(r){const s=cn(r),o=Bo(r),i=r.ownerDocument.body,a=Hr(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),l=Hr(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let c=-o.scrollLeft+Ih(r);const u=-o.scrollTop;return Nt(i).direction==="rtl"&&(c+=Hr(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(cn(e)))}function Tc(e){return It(e)&&Nt(e).position!=="fixed"?e.offsetParent:null}function Rc(e){const t=ht(e);let n=Tc(e);for(;n&&Z0(n)&&Nt(n).position==="static";)n=Tc(n);return n&&(pn(n)==="html"||pn(n)==="body"&&Nt(n).position==="static"&&!la(n))?t:n||function(r){let s=Qr(r);for(;It(s)&&!ol(s);){if(la(s))return s;s=Qr(s)}return null}(e)||t}function eb(e,t,n){const r=It(t),s=cn(t),o=Xr(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((pn(t)!=="body"||Ho(s))&&(i=Bo(t)),It(t)){const l=Xr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=Ih(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const tb={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let h=oo(c).filter(y=>ln(y)&&pn(y)!=="body"),d=null;const p=Nt(c).position==="fixed";let g=p?Qr(c):c;for(;ln(g)&&!ol(g);){const y=Nt(g),_=la(g);(p?_||d:_||y.position!=="static"||!d||!["absolute","fixed"].includes(d.position))?d=y:h=h.filter(v=>v!==g),g=Qr(g)}return u.set(c,h),h}(t,this._c):[].concat(n),i=[...o,r],a=i[0],l=i.reduce((c,u)=>{const f=Ec(t,u,s);return c.top=Hr(f.top,c.top),c.right=kc(f.right,c.right),c.bottom=kc(f.bottom,c.bottom),c.left=Hr(f.left,c.left),c},Ec(t,a,s));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 s=It(n),o=cn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((s||!s&&r!=="fixed")&&((pn(n)!=="body"||Ho(o))&&(i=Bo(n)),It(n))){const c=Xr(n);a=ir(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+l.x,y:t.y*a.y-i.scrollTop*a.y+l.y}},isElement:ln,getDimensions:function(e){return It(e)?Eh(e):e.getBoundingClientRect()},getOffsetParent:Rc,getDocumentElement:cn,getScale:ir,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||Rc,o=this.getDimensions;return{reference:eb(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Nt(e).direction==="rtl"},nb=(e,t,n)=>{const r=new Map,s={platform:tb,...n},o={...s.platform,_c:r};return W0(e,t,{...s,platform:o})};function Lh(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Lh(e[n],t[n]):e[n]=t[n])}const Ct={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 Yr(e,t){let n=Ct.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Ct.themes[n.$extend]||{}:(n=null,r=Ct[t]):n=null;while(n);return r}function rb(e){const t=[e];let n=Ct.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Ct.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Pc(e){const t=[e];let n=Ct.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Ct.themes[n.$extend]||{}):n=null;while(n);return t}let gr=!1;if(typeof window<"u"){gr=!1;try{const e=Object.defineProperty({},"passive",{get(){gr=!0}});window.addEventListener("test",null,e)}catch{}}let Mh=!1;typeof window<"u"&&typeof navigator<"u"&&(Mh=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Dh=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),$c={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Nc={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Ic(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function mi(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const bt=[];let xn=null;const Oc={};function Lc(e){let t=Oc[e];return t||(t=Oc[e]=[]),t}let ca=function(){};typeof window<"u"&&(ca=window.Element);function fe(e){return function(t){return Yr(t.theme,e)}}const yi="__floating-vue__popper",Fh=()=>et({name:"VPopper",provide(){return{[yi]:{parentPopper:this}}},inject:{[yi]:{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:fe("disabled")},positioningDisabled:{type:Boolean,default:fe("positioningDisabled")},placement:{type:String,default:fe("placement"),validator:e=>Dh.includes(e)},delay:{type:[String,Number,Object],default:fe("delay")},distance:{type:[Number,String],default:fe("distance")},skidding:{type:[Number,String],default:fe("skidding")},triggers:{type:Array,default:fe("triggers")},showTriggers:{type:[Array,Function],default:fe("showTriggers")},hideTriggers:{type:[Array,Function],default:fe("hideTriggers")},popperTriggers:{type:Array,default:fe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:fe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:fe("popperHideTriggers")},container:{type:[String,Object,ca,Boolean],default:fe("container")},boundary:{type:[String,ca],default:fe("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:fe("strategy")},autoHide:{type:[Boolean,Function],default:fe("autoHide")},handleResize:{type:Boolean,default:fe("handleResize")},instantMove:{type:Boolean,default:fe("instantMove")},eagerMount:{type:Boolean,default:fe("eagerMount")},popperClass:{type:[String,Array,Object],default:fe("popperClass")},computeTransformOrigin:{type:Boolean,default:fe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:fe("autoMinSize")},autoSize:{type:[Boolean,String],default:fe("autoSize")},autoMaxSize:{type:Boolean,default:fe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:fe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:fe("preventOverflow")},overflowPadding:{type:[Number,String],default:fe("overflowPadding")},arrowPadding:{type:[Number,String],default:fe("arrowPadding")},arrowOverflow:{type:Boolean,default:fe("arrowOverflow")},flip:{type:Boolean,default:fe("flip")},shift:{type:Boolean,default:fe("shift")},shiftCrossAxis:{type:Boolean,default:fe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:fe("noAutoFocus")},disposeTimeout:{type:Number,default:fe("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[yi])==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,s;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},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(X0({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(q0({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Q0({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(K0({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(z0({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:s,middlewareData:o})=>{let i;const{centerOffset:a}=o.arrow;return r.startsWith("top")||r.startsWith("bottom")?i=Math.abs(a)>s.reference.width/2:i=Math.abs(a)>s.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:o,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let l,c;return o.startsWith("top")||o.startsWith("bottom")?l=s.reference.width:c=s.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(Y0({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:s})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await nb(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),xn&&this.instantMove&&xn.instantMove&&xn!==this.parentPopper){xn.$_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&&(xn=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 mi(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...oo(this.$_referenceNode),...oo(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(r.left+n.offsetLeft),o=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${s}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<bt.length;n++)t=bt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}bt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Pc(this.theme))Lc(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 mi(),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,Ic(bt,this),bt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Pc(this.theme)){const r=Lc(n);Ic(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}xn===this&&(xn=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 mi(),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,$c,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],$c,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Nc,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Nc,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,gr?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,s){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:s,handler:o}=n;!e||e===s?r.forEach(i=>i.removeEventListener(s,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Br>=e.left&&Br<=e.right&&jr>=e.top&&jr<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Br-Jt,r=jr-Xt,s=t.left+t.width/2-Jt+(t.top+t.height/2)-Xt+t.width+t.height,o=Jt+n*s,i=Xt+r*s;return Ss(Jt,Xt,o,i,t.left,t.top,t.left,t.bottom)||Ss(Jt,Xt,o,i,t.left,t.top,t.right,t.top)||Ss(Jt,Xt,o,i,t.right,t.top,t.right,t.bottom)||Ss(Jt,Xt,o,i,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(Mh){const e=gr?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Mc(t,!0),e),document.addEventListener("touchend",t=>Dc(t,!0),e)}else window.addEventListener("mousedown",e=>Mc(e,!1),!0),window.addEventListener("click",e=>Dc(e,!1),!0);window.addEventListener("resize",ob)}function Mc(e,t){if(Ct.autoHideOnMousedown)Hh(e,t);else for(let n=0;n<bt.length;n++){const r=bt[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function Dc(e,t){Ct.autoHideOnMousedown||Hh(e,t)}function Hh(e,t){const n={};for(let r=bt.length-1;r>=0;r--){const s=bt[r];try{const o=s.containsGlobalTarget=s.mouseDownContains||s.popperNode().contains(e.target);s.pendingHide=!1,requestAnimationFrame(()=>{if(s.pendingHide=!1,!n[s.randomId]&&Fc(s,o,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=s.parentPopper;for(;i&&Fc(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function Fc(e,t,n){return n.closeAllPopover||n.closePopover&&t||sb(e,n)&&!t}function sb(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function ob(){for(let e=0;e<bt.length;e++)bt[e].$_computePosition()}let Jt=0,Xt=0,Br=0,jr=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Jt=Br,Xt=jr,Br=e.clientX,jr=e.clientY},gr?{passive:!0}:void 0);function Ss(e,t,n,r,s,o,i,a){const l=((i-s)*(t-o)-(a-o)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t)),c=((n-e)*(t-o)-(r-t)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const ib={extends:Fh()},jo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function ab(e,t,n,r,s,o){return U(),ne("div",{ref:"reference",class:Pe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Ye(e.$slots,"default",Lu(Ka(e.slotData)))],2)}const lb=jo(ib,[["render",ab]]);function cb(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let Ms;function ua(){ua.init||(ua.init=!0,Ms=cb()!==-1)}var Go={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ua(),jn(()=>{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",Ms&&this.$el.appendChild(e),e.data="about:blank",Ms||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&&(!Ms&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const ub=Cg();wg("data-v-b329ee4c");const fb={class:"resize-observer",tabindex:"-1"};vg();const hb=ub((e,t,n,r,s,o)=>(U(),xe("div",fb)));Go.render=hb;Go.__scopeId="data-v-b329ee4c";Go.__file="src/components/ResizeObserver.vue";const Bh=(e="theme")=>({computed:{themeClass(){return rb(this[e])}}}),db=et({name:"VPopperContent",components:{ResizeObserver:Go},mixins:[Bh()],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}}}),pb=["id","aria-hidden","tabindex","data-popper-placement"],gb={ref:"inner",class:"v-popper__inner"},mb=L("div",{class:"v-popper__arrow-outer"},null,-1),yb=L("div",{class:"v-popper__arrow-inner"},null,-1),_b=[mb,yb];function bb(e,t,n,r,s,o){const i=dn("ResizeObserver");return U(),ne("div",{id:e.popperId,ref:"popover",class:Pe(["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:Nn(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]=Zm(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[L("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),L("div",{class:"v-popper__wrapper",style:Nn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[L("div",gb,[e.mounted?(U(),ne(Se,{key:0},[L("div",null,[Ye(e.$slots,"default")]),e.handleResize?(U(),xe(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Fe("",!0)],64)):Fe("",!0)],512),L("div",{ref:"arrow",class:"v-popper__arrow-container",style:Nn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},_b,4)],4)],46,pb)}const jh=jo(db,[["render",bb]]),Gh={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 fa=function(){};typeof window<"u"&&(fa=window.Element);const wb=et({name:"VPopperWrapper",components:{Popper:lb,PopperContent:jh},mixins:[Gh,Bh("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,fa,Boolean],default:void 0},boundary:{type:[String,fa],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 vb(e,t,n,r,s,o){const i=dn("PopperContent"),a=dn("Popper");return U(),xe(a,No({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:ie(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,show:d,hide:p,handleResize:g,onResize:y,classes:_,result:v})=>[Ye(e.$slots,"default",{shown:c,show:d,hide:p}),K(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":g,classes:_,result:v,onHide:p,onResize:y},{default:ie(()=>[Ye(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const il=jo(wb,[["render",vb]]),Cb={...il,name:"VDropdown",vPopperTheme:"dropdown"},Sb={...il,name:"VMenu",vPopperTheme:"menu"},xb={...il,name:"VTooltip",vPopperTheme:"tooltip"},kb=et({name:"VTooltipDirective",components:{Popper:Fh(),PopperContent:jh},mixins:[Gh],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Yr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Yr(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}}}),Ab=["innerHTML"],Eb=["textContent"];function Tb(e,t,n,r,s,o){const i=dn("PopperContent"),a=dn("Popper");return U(),xe(a,No({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:ie(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,hide:d,handleResize:p,onResize:g,classes:y,result:_})=>[K(i,{ref:"popperContent",class:Pe({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":p,classes:y,result:_,onHide:d,onResize:g},{default:ie(()=>[e.html?(U(),ne("div",{key:0,innerHTML:e.finalContent},null,8,Ab)):(U(),ne("div",{key:1,textContent:De(e.finalContent)},null,8,Eb))]),_: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 Rb=jo(kb,[["render",Tb]]),Uh="v-popper--has-tooltip";function Pb(e,t){let n=e.placement;if(!n&&t)for(const r of Dh)t[r]&&(n=r);return n||(n=Yr(e.theme||"tooltip","placement")),n}function Wh(e,t,n){let r;const s=typeof t;return s==="string"?r={content:t}:t&&s==="object"?r=t:r={content:!1},r.placement=Pb(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let _i,Zr,$b=0;function Nb(){if(_i)return;Zr=Ee([]),_i=qf({name:"VTooltipDirectiveApp",setup(){return{directives:Zr}},render(){return this.directives.map(t=>Ks(Rb,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),_i.mount(e)}function Ib(e,t,n){Nb();const r=Ee(Wh(e,t,n)),s=Ee(!1),o={id:$b++,options:r,shown:s};return Zr.value.push(o),e.classList&&e.classList.add(Uh),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function zh(e){if(e.$_popper){const t=Zr.value.indexOf(e.$_popper.item);t!==-1&&Zr.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Uh)}function Hc(e,{value:t,modifiers:n}){const r=Wh(e,t,n);if(!r.content||Yr(r.theme||"tooltip","disabled"))zh(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=Ib(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const Ob={beforeMount:Hc,updated:Hc,beforeUnmount(e){zh(e)}};function Bc(e){e.addEventListener("mousedown",io),e.addEventListener("click",io),e.addEventListener("touchstart",Vh,gr?{passive:!0}:!1)}function jc(e){e.removeEventListener("mousedown",io),e.removeEventListener("click",io),e.removeEventListener("touchstart",Vh),e.removeEventListener("touchend",qh),e.removeEventListener("touchcancel",Kh)}function io(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Vh(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",qh),t.addEventListener("touchcancel",Kh)}}function qh(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 Kh(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Lb={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Bc(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Bc(e):jc(e))},beforeUnmount(e){jc(e)}};function Mb(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Lh(Ct,t),e.directive("tooltip",Ob),e.directive("close-popper",Lb),e.component("VTooltip",xb),e.component("VDropdown",Cb),e.component("VMenu",Sb))}const Db={version:"5.2.2",install:Mb,options:Ct},Fb=Ft(e=>{e.vueApp.use(Db)}),Hb=[w0,k0,T0,P0,$0,N0,O0,L0,M0,Fb],al=et({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(U(),ne("div",{class:Pe(["n-icon",t.icon])},null,2))}}),Uo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Bb={},jb={class:"n-badge"};function Gb(e,t){return U(),ne("span",jb,[Ye(e.$slots,"default")])}const Jh=Uo(Bb,[["render",Gb]]);async function Xh(e,t=Mt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises||(t._preloadPromises=[]);if(s.length>4)return Promise.all(s).then(()=>Xh(e,t));t._routePreloaded.add(n);const o=r.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}const Ub=(...e)=>e.find(t=>t!==void 0);function Wb(e){const t=e.componentName||"NuxtLink";function n(o){return typeof o=="string"&&o.startsWith("#")}function r(o,i){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return Gc(o,e.trailingSlash);const a="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Gc(a,e.trailingSlash)}}function s(o){const i=Mt(),a=pr(),l=Re(()=>!!o.target&&o.target!=="_self"),c=Re(()=>{const y=o.to||o.href||"";return typeof y=="string"&&_n(y,{acceptRelative:!0})}),u=dn("RouterLink"),f=u&&typeof u!="string"?u.useLink:void 0,h=Re(()=>{if(o.external)return!0;const y=o.to||o.href||"";return typeof y=="object"?!1:y===""||c.value}),d=Re(()=>{const y=o.to||o.href||"";return h.value?y:r(y,i.resolve)}),p=h.value||f==null?void 0:f({...o,to:d}),g=Re(()=>{var y;if(!d.value||c.value||n(d.value))return d.value;if(h.value){const _=typeof d.value=="object"&&"path"in d.value?na(d.value):d.value,v=typeof _=="object"?i.resolve(_).href:_;return r(v,i.resolve)}return typeof d.value=="object"?((y=i.resolve(d.value))==null?void 0:y.href)??null:r(wr(a.app.baseURL,d.value),i.resolve)});return{to:d,hasTarget:l,isAbsoluteUrl:c,isExternal:h,href:g,isActive:(p==null?void 0:p.isActive)??Re(()=>d.value===i.currentRoute.value.path),isExactActive:(p==null?void 0:p.isExactActive)??Re(()=>d.value===i.currentRoute.value.path),route:(p==null?void 0:p.route)??Re(()=>i.resolve(d.value)),async navigate(y){await mh(g.value,{replace:o.replace,external:h.value||l.value})}}}return et({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:s,setup(o,{slots:i}){const a=Mt(),{to:l,href:c,navigate:u,isExternal:f,hasTarget:h,isAbsoluteUrl:d}=s(o),p=Ee(!1),g=Ee(null),y=m=>{var w;g.value=o.custom?(w=m==null?void 0:m.$el)==null?void 0:w.nextElementSibling:m==null?void 0:m.$el};function _(m){var w,C;return!p.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===m:((w=o.prefetchOn)==null?void 0:w[m])??((C=e.prefetchOn)==null?void 0:C[m]))&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!Kb()}async function v(m=Ne()){if(p.value)return;p.value=!0;const w=typeof l.value=="string"?l.value:f.value?na(l.value):a.resolve(l.value).fullPath,C=f.value?new URL(w,window.location.href).href:w;await Promise.all([m.hooks.callHook("link:prefetch",C).catch(()=>{}),!f.value&&!h.value&&Xh(l.value,a).catch(()=>{})])}if(_("visibility")){const m=Ne();let w,C=null;Wa(()=>{const E=Vb();Do(()=>{w=ia(()=>{var x;(x=g==null?void 0:g.value)!=null&&x.tagName&&(C=E.observe(g.value,async()=>{C==null||C(),C=null,await v(m)}))})})}),za(()=>{w&&R0(w),C==null||C(),C=null})}return()=>{var C;if(!f.value&&!h.value&&!n(l.value)){const E={ref:y,to:l.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(_("interaction")&&(E.onPointerenter=v.bind(null,void 0),E.onFocus=v.bind(null,void 0)),p.value&&(E.class=o.prefetchedClass||e.prefetchedClass),E.rel=o.rel||void 0),Ks(dn("RouterLink"),E,i.default)}const m=o.target||null,w=Ub(o.noRel?"":o.rel,e.externalRelAttribute,d.value||h.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:c.value,navigate:u,prefetch:v,get route(){if(!c.value)return;const E=new URL(c.value,window.location.href);return{path:E.pathname,fullPath:E.pathname,get query(){return Oo(E.search)},hash:E.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:w,target:m,isExternal:f.value||h.value,isActive:!1,isExactActive:!1}):null:Ks("a",{ref:g,href:c.value||null,rel:w,target:m},(C=i.default)==null?void 0:C.call(i))}}})}const zb=Wb(i_);function Gc(e,t){const n=t==="append"?Qs:Lo;return _n(e)&&!e.startsWith("http")?e:n(e,!0)}function Vb(){const e=Ne();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t==null||t.unobserve(o),n.size===0&&(t==null||t.disconnect(),t=null)});return e._observer={observe:r}}const qb=/2g/;function Kb(){const e=navigator.connection;return!!(e&&(e.saveData||qb.test(e.effectiveType)))}const Jb={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},Qh=et({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Re(()=>t.href||t.to);return(r,s)=>{const o=zb;return U(),xe(o,No(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:ie(()=>[Ye(r.$slots,"default"),n.value&&r.target==="_blank"?(U(),ne("div",Jb)):Fe("",!0)]),_:3},16,["class"])}}}),Xb={},Qb={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Yb(e,t){return U(),ne("svg",Qb,t[0]||(t[0]=[wm('<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 Zb=Uo(Xb,[["render",Yb]]),ew={},tw={class:"n-loading n-panel-grids-center"},nw={class:"flex flex-col animate-pulse items-center text-lg"};function rw(e,t){return U(),ne("div",tw,[L("div",nw,[t[1]||(t[1]=L("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1)),Ye(e.$slots,"default",{},()=>[t[0]||(t[0]=ce(" Loading... "))])])])}const sw=Uo(ew,[["render",rw]]);let ze=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function ow(e){return ll(e)}function ll(e){return Array.isArray(e)?iw(e):e instanceof RegExp?e:typeof e=="object"?aw(e):e}function iw(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=ll(e[n]);return t}function aw(e){let t={};for(let n in e)t[n]=ll(e[n]);return t}function Yh(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Zh(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Zh(e.substring(0,e.length-1)):e.substr(~t+1)}var bi=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,xs=class{static hasCaptures(e){return e===null?!1:(bi.lastIndex=0,bi.test(e))}static replaceCaptures(e,t,n){return e.replace(bi,(r,s,o,i)=>{let a=n[parseInt(s||o,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(i){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function ed(e,t){return e<t?-1:e>t?1:0}function td(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 s=0;s<n;s++){let o=ed(e[s],t[s]);if(o!==0)return o}return 0}return n-r}function Uc(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 nd(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var rd=class{constructor(e){k(this,"cache",new Map);this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},ao=class{constructor(e,t,n){k(this,"_cachedMatchRoot",new rd(e=>this._root.match(e)));this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(uw(e),t)}static createFromParsedTheme(e,t){return hw(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(s=>lw(e.parent,s.parentScopes));return r?new sd(r.fontStyle,r.foreground,r.background):null}},wi=class Ds{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Ds(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Ds(n,t[r]);return n}push(t){return new Ds(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 lw(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],s=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],s=!0}for(;e&&!cw(e.scopeName,r);){if(s)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function cw(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var sd=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function uw(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let s=0,o=t.length;s<o;s++){let i=t[s];if(!i.settings)continue;let a;if(typeof i.scope=="string"){let f=i.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(i.scope)?a=i.scope:a=[""];let l=-1;if(typeof i.settings.fontStyle=="string"){l=0;let f=i.settings.fontStyle.split(" ");for(let h=0,d=f.length;h<d;h++)switch(f[h]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof i.settings.foreground=="string"&&Uc(i.settings.foreground)&&(c=i.settings.foreground);let u=null;typeof i.settings.background=="string"&&Uc(i.settings.background)&&(u=i.settings.background);for(let f=0,h=a.length;f<h;f++){let p=a[f].trim().split(" "),g=p[p.length-1],y=null;p.length>1&&(y=p.slice(0,p.length-1),y.reverse()),n[r++]=new fw(g,y,s,l,c,u)}}return n}var fw=class{constructor(e,t,n,r,s,o){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=s,this.background=o}},qt=(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))(qt||{});function hw(e,t){e.sort((l,c)=>{let u=ed(l.scope,c.scope);return u!==0||(u=td(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let n=0,r="#000000",s="#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&&(s=l.background)}let o=new dw(t),i=new sd(n,o.getId(r),o.getId(s)),a=new gw(new ha(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,o.getId(u.foreground),o.getId(u.background))}return new ao(o,i,a)}var dw=class{constructor(e){k(this,"_isFrozen");k(this,"_lastColorId");k(this,"_id2color");k(this,"_color2id");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)}},pw=Object.freeze([]),ha=class od{constructor(t,n,r,s,o){k(this,"scopeDepth");k(this,"parentScopes");k(this,"fontStyle");k(this,"foreground");k(this,"background");this.scopeDepth=t,this.parentScopes=n||pw,this.fontStyle=r,this.foreground=s,this.background=o}clone(){return new od(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,s=t.length;r<s;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,s){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),s!==0&&(this.background=s)}},gw=class da{constructor(t,n=[],r={}){k(this,"_rulesWithParentScopes");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,s=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[s]===">"&&s++,!(r>=t.parentScopes.length||s>=n.parentScopes.length);){const o=n.parentScopes[s].length-t.parentScopes[r].length;if(o!==0)return o;r++,s++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),s,o;if(r===-1?(s=t,o=""):(s=t.substring(0,r),o=t.substring(r+1)),this._children.hasOwnProperty(s))return this._children[s].match(o)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(da._cmpBySpecificity),n}insert(t,n,r,s,o,i){if(n===""){this._doInsertHere(t,r,s,o,i);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 da(this._mainRule.clone(),ha.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,r,s,o,i)}_doInsertHere(t,n,r,s,o){if(n===null){this._mainRule.acceptOverwrite(t,r,s,o);return}for(let i=0,a=this._rulesWithParentScopes.length;i<a;i++){let l=this._rulesWithParentScopes[i];if(td(l.parentScopes,n)===0){l.acceptOverwrite(t,r,s,o);return}}r===-1&&(r=this._mainRule.fontStyle),s===0&&(s=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new ha(t,n,r,s,o))}},mr=class lt{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=lt.getLanguageId(t),r=lt.getTokenType(t),s=lt.getFontStyle(t),o=lt.getForeground(t),i=lt.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:s,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static 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,s,o,i,a){let l=lt.getLanguageId(t),c=lt.getTokenType(t),u=lt.containsBalancedBrackets(t)?1:0,f=lt.getFontStyle(t),h=lt.getForeground(t),d=lt.getBackground(t);return n!==0&&(l=n),r!==8&&(c=r),s!==null&&(u=s?1:0),o!==-1&&(f=o),i!==0&&(h=i),a!==0&&(d=a),(l<<0|c<<8|u<<10|f<<11|h<<15|d<<24)>>>0}};function lo(e,t){const n=[],r=mw(e);let s=r.next();for(;s!==null;){let l=0;if(s.length===2&&s.charAt(1)===":"){switch(s.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${s} in scope selector`)}s=r.next()}let c=i();if(n.push({matcher:c,priority:l}),s!==",")break;s=r.next()}return n;function o(){if(s==="-"){s=r.next();const l=o();return c=>!!l&&!l(c)}if(s==="("){s=r.next();const l=a();return s===")"&&(s=r.next()),l}if(Wc(s)){const l=[];do l.push(s),s=r.next();while(Wc(s));return c=>t(l,c)}return null}function i(){const l=[];let c=o();for(;c;)l.push(c),c=o();return u=>l.every(f=>f(u))}function a(){const l=[];let c=i();for(;c&&(l.push(c),s==="|"||s===",");){do s=r.next();while(s==="|"||s===",");c=i()}return u=>l.some(f=>f(u))}}function Wc(e){return!!e&&!!e.match(/[\w\.:]+/)}function mw(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 id(e){typeof e.dispose=="function"&&e.dispose()}var es=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},yw=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},_w=class{constructor(){k(this,"_references",[]);k(this,"_seenReferenceKeys",new Set);k(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))}},bw=class{constructor(e,t){k(this,"seenFullScopeRequests",new Set);k(this,"seenPartialScopeRequests",new Set);k(this,"Q");this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new es(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new _w;for(const n of e)ww(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof es){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 ww(e,t,n,r){const s=n.lookup(e.scopeName);if(!s){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const o=n.lookup(t);e instanceof es?Fs({baseGrammar:o,selfGrammar:s},r):pa(e.ruleName,{baseGrammar:o,selfGrammar:s,repository:s.repository},r);const i=n.injections(e.scopeName);if(i)for(const a of i)r.add(new es(a))}function pa(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];co([r],t,n)}}function Fs(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&co(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&co(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function co(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const s=r.repository?Yh({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&co(r.patterns,{...t,repository:s},n);const o=r.include;if(!o)continue;const i=ad(o);switch(i.kind){case 0:Fs({...t,selfGrammar:t.baseGrammar},n);break;case 1:Fs(t,n);break;case 2:pa(i.ruleName,{...t,repository:s},n);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:s};i.kind===4?pa(i.ruleName,l,n):Fs(l,n)}else i.kind===4?n.add(new yw(i.scopeName,i.ruleName)):n.add(new es(i.scopeName));break}}}var vw=class{constructor(){k(this,"kind",0)}},Cw=class{constructor(){k(this,"kind",1)}},Sw=class{constructor(e){k(this,"kind",2);this.ruleName=e}},xw=class{constructor(e){k(this,"kind",3);this.scopeName=e}},kw=class{constructor(e,t){k(this,"kind",4);this.scopeName=e,this.ruleName=t}};function ad(e){if(e==="$base")return new vw;if(e==="$self")return new Cw;const t=e.indexOf("#");if(t===-1)return new xw(e);if(t===0)return new Sw(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new kw(n,r)}}var Aw=/\\(\d+)/,zc=/\\(\d+)/g,Ew=-1,ld=-2;var us=class{constructor(e,t,n,r){k(this,"$location");k(this,"id");k(this,"_nameIsCapturing");k(this,"_name");k(this,"_contentNameIsCapturing");k(this,"_contentName");this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=xs.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=xs.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${Zh(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:xs.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:xs.replaceCaptures(this._contentName,e,t)}},Tw=class extends us{constructor(t,n,r,s,o){super(t,n,r,s);k(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,r,s){throw new Error("Not supported!")}},Rw=class extends us{constructor(t,n,r,s,o){super(t,n,r,null);k(this,"_match");k(this,"captures");k(this,"_cachedCompiledPatterns");this._match=new ts(s,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ns,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Vc=class extends us{constructor(t,n,r,s,o){super(t,n,r,s);k(this,"hasMissingPatterns");k(this,"patterns");k(this,"_cachedCompiledPatterns");this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const r of this.patterns)t.getRule(r).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ns,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ga=class extends us{constructor(t,n,r,s,o,i,a,l,c,u){super(t,n,r,s);k(this,"_begin");k(this,"beginCaptures");k(this,"_end");k(this,"endHasBackReferences");k(this,"endCaptures");k(this,"applyEndPatternLast");k(this,"hasMissingPatterns");k(this,"patterns");k(this,"_cachedCompiledPatterns");this._begin=new ts(o,this.id),this.beginCaptures=i,this._end=new ts(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t,n).compileAG(t,r,s)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ns;for(const r of this.patterns)t.getRule(r).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}},uo=class extends us{constructor(t,n,r,s,o,i,a,l,c){super(t,n,r,s);k(this,"_begin");k(this,"beginCaptures");k(this,"whileCaptures");k(this,"_while");k(this,"whileHasBackReferences");k(this,"hasMissingPatterns");k(this,"patterns");k(this,"_cachedCompiledPatterns");k(this,"_cachedCompiledWhilePatterns");this._begin=new ts(o,this.id),this.beginCaptures=i,this.whileCaptures=l,this._while=new ts(a,ld),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ns;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,r,s){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,r,s)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ns,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||"￿"),this._cachedCompiledWhilePatterns}},cd=class je{static createCaptureRule(t,n,r,s,o){return t.registerRule(i=>new Tw(n,i,r,s,o))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(s=>{if(t.id=s,t.match)return new Rw(t.$vscodeTextmateLocation,t.id,t.name,t.match,je._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Yh({},r,t.repository));let o=t.patterns;return typeof o>"u"&&t.include&&(o=[{include:t.include}]),new Vc(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,je._compilePatterns(o,n,r))}return t.while?new uo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,je._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,je._compileCaptures(t.whileCaptures||t.captures,n,r),je._compilePatterns(t.patterns,n,r)):new ga(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,je._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,je._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,je._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let s=[];if(t){let o=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>o&&(o=a)}for(let i=0;i<=o;i++)s[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=je.getCompiledRuleId(t[i],n,r)),s[a]=je.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return s}static _compilePatterns(t,n,r){let s=[];if(t)for(let o=0,i=t.length;o<i;o++){const a=t[o];let l=-1;if(a.include){const c=ad(a.include);switch(c.kind){case 0:case 1:l=je.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=je.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,h=c.kind===4?c.ruleName:null,d=n.getExternalGrammar(f,r);if(d)if(h){let p=d.repository[h];p&&(l=je.getCompiledRuleId(p,n,d.repository))}else l=je.getCompiledRuleId(d.repository.$self,n,d.repository);break}}else l=je.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof Vc||c instanceof ga||c instanceof uo)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;s.push(l)}}return{patterns:s,hasMissingPatterns:(t?t.length:0)!==s.length}}},ts=class ud{constructor(t,n){k(this,"source");k(this,"ruleId");k(this,"hasAnchor");k(this,"hasBackReferences");k(this,"_anchorCache");if(t&&typeof t=="string"){const r=t.length;let s=0,o=[],i=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(o.push(t.substring(s,a)),o.push("$(?!\\n)(?<!\\n)"),s=a+2):(c==="A"||c==="G")&&(i=!0),a++}this.hasAnchor=i,s===0?this.source=t:(o.push(t.substring(s,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=Aw.test(this.source):this.hasBackReferences=!1}clone(){return new ud(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(s=>t.substring(s.start,s.end));return zc.lastIndex=0,this.source.replace(zc,(s,o)=>nd(r[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],s=[],o,i,a,l;for(o=0,i=this.source.length;o<i;o++)a=this.source.charAt(o),t[o]=a,n[o]=a,r[o]=a,s[o]=a,a==="\\"&&o+1<i&&(l=this.source.charAt(o+1),l==="A"?(t[o+1]="￿",n[o+1]="￿",r[o+1]="A",s[o+1]="A"):l==="G"?(t[o+1]="￿",n[o+1]="G",r[o+1]="￿",s[o+1]="G"):(t[o+1]=l,n[o+1]=l,r[o+1]=l,s[o+1]=l),o++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:s.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},ns=class{constructor(){k(this,"_items");k(this,"_hasAnchors");k(this,"_cached");k(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(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 qc(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(s=>s.resolveAnchors(t,n));return new qc(e,r,this._items.map(s=>s.ruleId))}},qc=class{constructor(e,t,n){k(this,"scanner");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}},vi=class{constructor(e,t){this.languageId=e,this.tokenType=t}},Vt,Pw=(Vt=class{constructor(t,n){k(this,"_defaultAttributes");k(this,"_embeddedLanguagesMatcher");k(this,"_getBasicScopeAttributes",new rd(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new vi(n,r)}));this._defaultAttributes=new vi(t,8),this._embeddedLanguagesMatcher=new $w(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Vt._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(Vt.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!")}},k(Vt,"_NULL_SCOPE_METADATA",new vi(0,0)),k(Vt,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),Vt),$w=class{constructor(e){k(this,"values");k(this,"scopesRegExp");if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>nd(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])}},Kc=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function fd(e,t,n,r,s,o,i,a){const l=t.content.length;let c=!1,u=-1;if(i){const d=Nw(e,t,n,r,s,o);s=d.stack,r=d.linePos,n=d.isFirstLine,u=d.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new Kc(s,!0);h()}return new Kc(s,!1);function h(){const d=Iw(e,t,n,r,s,u);if(!d){o.produce(s,l),c=!0;return}const p=d.captureIndices,g=d.matchedRuleId,y=p&&p.length>0?p[0].end>r:!1;if(g===Ew){const _=s.getRule(e);o.produce(s,p[0].start),s=s.withContentNameScopesList(s.nameScopesList),Pr(e,t,n,s,o,_.endCaptures,p),o.produce(s,p[0].end);const v=s;if(s=s.parent,u=v.getAnchorPos(),!y&&v.getEnterPos()===r){s=v,o.produce(s,l),c=!0;return}}else{const _=e.getRule(g);o.produce(s,p[0].start);const v=s,m=_.getName(t.content,p),w=s.contentNameScopesList.pushAttributed(m,e);if(s=s.push(g,r,u,p[0].end===l,null,w,w),_ instanceof ga){const C=_;Pr(e,t,n,s,o,C.beginCaptures,p),o.produce(s,p[0].end),u=p[0].end;const E=C.getContentName(t.content,p),x=w.pushAttributed(E,e);if(s=s.withContentNameScopesList(x),C.endHasBackReferences&&(s=s.withEndRule(C.getEndWithResolvedBackReferences(t.content,p))),!y&&v.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),c=!0;return}}else if(_ instanceof uo){const C=_;Pr(e,t,n,s,o,C.beginCaptures,p),o.produce(s,p[0].end),u=p[0].end;const E=C.getContentName(t.content,p),x=w.pushAttributed(E,e);if(s=s.withContentNameScopesList(x),C.whileHasBackReferences&&(s=s.withEndRule(C.getWhileWithResolvedBackReferences(t.content,p))),!y&&v.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),c=!0;return}}else if(Pr(e,t,n,s,o,_.captures,p),o.produce(s,p[0].end),s=s.pop(),!y){s=s.safePop(),o.produce(s,l),c=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function Nw(e,t,n,r,s,o){let i=s.beginRuleCapturedEOL?0:-1;const a=[];for(let l=s;l;l=l.pop()){const c=l.getRule(e);c instanceof uo&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=Mw(l.rule,e,l.stack.endRule,n,r===i),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==ld){s=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(o.produce(l.stack,f.captureIndices[0].start),Pr(e,t,n,l.stack,o,l.rule.whileCaptures,f.captureIndices),o.produce(l.stack,f.captureIndices[0].end),i=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{s=l.stack.pop();break}}return{stack:s,linePos:r,anchorPosition:i,isFirstLine:n}}function Iw(e,t,n,r,s,o){const i=Ow(e,t,n,r,s,o),a=e.getInjections();if(a.length===0)return i;const l=Lw(a,e,t,n,r,s,o);if(!l)return i;if(!i)return l;const c=i.captureIndices[0].start,u=l.captureIndices[0].start;return u<c||l.priorityMatch&&u===c?l:i}function Ow(e,t,n,r,s,o){const i=s.getRule(e),{ruleScanner:a,findOptions:l}=hd(i,e,s.endRule,n,r===o),c=a.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Lw(e,t,n,r,s,o,i){let a=Number.MAX_VALUE,l=null,c,u=0;const f=o.contentNameScopesList.getScopeNames();for(let h=0,d=e.length;h<d;h++){const p=e[h];if(!p.matcher(f))continue;const g=t.getRule(p.ruleId),{ruleScanner:y,findOptions:_}=hd(g,t,null,r,s===i),v=y.findNextMatchSync(n,s,_);if(!v)continue;const m=v.captureIndices[0].start;if(!(m>=a)&&(a=m,l=v.captureIndices,c=v.ruleId,u=p.priority,a===s))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function hd(e,t,n,r,s){return{ruleScanner:e.compileAG(t,n,r,s),findOptions:0}}function Mw(e,t,n,r,s){return{ruleScanner:e.compileWhileAG(t,n,r,s),findOptions:0}}function Pr(e,t,n,r,s,o,i){if(o.length===0)return;const a=t.content,l=Math.min(o.length,i.length),c=[],u=i[0].end;for(let f=0;f<l;f++){const h=o[f];if(h===null)continue;const d=i[f];if(d.length===0)continue;if(d.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=d.start;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?s.produceFromScopes(c[c.length-1].scopes,d.start):s.produce(r,d.start),h.retokenizeCapturedWithRuleId){const g=h.getName(a,i),y=r.contentNameScopesList.pushAttributed(g,e),_=h.getContentName(a,i),v=y.pushAttributed(_,e),m=r.push(h.retokenizeCapturedWithRuleId,d.start,-1,!1,null,y,v),w=e.createOnigString(a.substring(0,d.end));fd(e,w,n&&d.start===0,d.start,m,s,!1,0),id(w);continue}const p=h.getName(a,i);if(p!==null){const y=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(p,e);c.push(new Dw(y,d.end))}}for(;c.length>0;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var Dw=class{constructor(e,t){k(this,"scopes");k(this,"endPos");this.scopes=e,this.endPos=t}};function Fw(e,t,n,r,s,o,i,a){return new Bw(e,t,n,r,s,o,i,a)}function Jc(e,t,n,r,s){const o=lo(t,fo),i=cd.getCompiledRuleId(n,r,s.repository);for(const a of o)e.push({debugSelector:t,matcher:a.matcher,ruleId:i,grammar:s,priority:a.priority})}function fo(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let s=n;s<t.length;s++)if(Hw(t[s],r))return n=s+1,!0;return!1})}function Hw(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 Bw=class{constructor(e,t,n,r,s,o,i,a){k(this,"_rootId");k(this,"_lastRuleId");k(this,"_ruleId2desc");k(this,"_includedGrammars");k(this,"_grammarRepository");k(this,"_grammar");k(this,"_injections");k(this,"_basicScopeAttributesProvider");k(this,"_tokenTypeMatchers");if(this._rootScopeName=e,this.balancedBracketSelectors=o,this._onigLib=a,this._basicScopeAttributesProvider=new Pw(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=Xc(t,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const l of Object.keys(s)){const c=lo(l,fo);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:s[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:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const s=r.injections;if(s)for(let i in s)Jc(t,i,s[i],this,r);const o=this._grammarRepository.injections(n);o&&o.forEach(i=>{const a=this.getExternalGrammar(i);if(a){const l=a.injectionSelector;l&&Jc(t,l,a,this,a)}})}return t.sort((s,o)=>s.priority-o.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]=Xc(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=cd.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!t||t===ma.NULL){s=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),f=mr.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),h=this.getRule(this._rootId).getName(null,null);let d;h?d=Gr.createRootAndLookUpScopeName(h,f,this):d=Gr.createRoot("unknown",f),t=new ma(null,this._rootId,-1,-1,!1,null,d,d)}else s=!1,t.reset();e=e+`
21
+ `;const o=this.createOnigString(e),i=o.content.length,a=new Gw(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=fd(this,o,s,0,t,a,!0,r);return id(o),{lineLength:i,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function Xc(e,t){return e=ow(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 Gr=class Et{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,s=(t==null?void 0:t.scopePath)??null;for(const o of n)s=wi.push(s,o.scopeNames),r=new Et(r,s,o.encodedTokenAttributes);return r}static createRoot(t,n){return new Et(null,new wi(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const s=r.getMetadataForScope(t),o=new wi(null,t),i=r.themeProvider.themeMatch(o),a=Et.mergeAttributes(n,s,i);return new Et(null,o,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Et.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 s=-1,o=0,i=0;return r!==null&&(s=r.fontStyle,o=r.foregroundId,i=r.backgroundId),mr.set(t,n.languageId,n.tokenType,null,s,o,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Et._pushAttributed(this,t,n);const r=t.split(/ /g);let s=this;for(const o of r)s=Et._pushAttributed(s,o,n);return s}static _pushAttributed(t,n,r){const s=r.getMetadataForScope(n),o=t.scopePath.push(n),i=r.themeProvider.themeMatch(o),a=Et.mergeAttributes(t.tokenAttributes,s,i);return new Et(t,o,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var s;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((s=r.parent)==null?void 0:s.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}},ut,ma=(ut=class{constructor(t,n,r,s,o,i,a,l){k(this,"_stackElementBrand");k(this,"_enterPos");k(this,"_anchorPos");k(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=o,this.endRule=i,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=s}equals(t){return t===null?!1:ut._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Gr.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(){ut._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,s,o,i,a){return new ut(this,t,n,r,s,o,i,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){var r,s;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(s=this.contentNameScopesList)==null?void 0:s.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 ut(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=Gr.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new ut(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Gr.fromExtension(r,n.contentNameScopesList))}},k(ut,"NULL",new ut(null,0,0,0,!1,null,null,null)),ut),jw=class{constructor(e,t){k(this,"balancedBracketScopes");k(this,"unbalancedBracketScopes");k(this,"allowAny",!1);this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):lo(n,fo).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>lo(n,fo).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}},Gw=class{constructor(e,t,n,r){k(this,"_emitBinaryTokens");k(this,"_lineText");k(this,"_tokens");k(this,"_binaryTokens");k(this,"_lastTokenEndIndex");k(this,"_tokenTypeOverrides");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 s=(e==null?void 0:e.tokenAttributes)??0,o=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=(e==null?void 0:e.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(i)&&(s=mr.set(s,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(i))}if(o&&(s=mr.set(s,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===s){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(s),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,s=this._binaryTokens.length;r<s;r++)n[r]=this._binaryTokens[r];return n}},Uw=class{constructor(e,t){k(this,"_grammars",new Map);k(this,"_rawGrammars",new Map);k(this,"_injectionGrammars",new Map);k(this,"_theme");this._onigLib=t,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,s){if(!this._grammars.has(e)){let o=this._rawGrammars.get(e);if(!o)return null;this._grammars.set(e,Fw(e,o,t,n,r,s,this,this._onigLib))}return this._grammars.get(e)}},Ww=class{constructor(t){k(this,"_options");k(this,"_syncRegistry");k(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new Uw(ao.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(ao.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 jw(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,s,o){const i=new bw(this._syncRegistry,t);for(;i.Q.length>0;)i.Q.map(a=>this._loadSingleGrammar(a.scopeName)),i.processQueue();return this._grammarForScopeName(t,n,r,s,o)}_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,s=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,s)}_grammarForScopeName(t,n=0,r=null,s=null,o=null){return this._syncRegistry.grammarForScopeName(t,n,r,s,o)}},ya=ma.NULL;const zw=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class fs{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}fs.prototype.normal={};fs.prototype.property={};fs.prototype.space=void 0;function dd(e,t){const n={},r={};for(const s of e)Object.assign(n,s.property),Object.assign(r,s.normal);return new fs(n,r,t)}function _a(e){return e.toLowerCase()}class tt{constructor(t,n){this.attribute=n,this.property=t}}tt.prototype.attribute="";tt.prototype.booleanish=!1;tt.prototype.boolean=!1;tt.prototype.commaOrSpaceSeparated=!1;tt.prototype.commaSeparated=!1;tt.prototype.defined=!1;tt.prototype.mustUseProperty=!1;tt.prototype.number=!1;tt.prototype.overloadedBoolean=!1;tt.prototype.property="";tt.prototype.spaceSeparated=!1;tt.prototype.space=void 0;let Vw=0;const oe=Un(),Te=Un(),pd=Un(),O=Un(),ve=Un(),ar=Un(),ot=Un();function Un(){return 2**++Vw}const ba=Object.freeze(Object.defineProperty({__proto__:null,boolean:oe,booleanish:Te,commaOrSpaceSeparated:ot,commaSeparated:ar,number:O,overloadedBoolean:pd,spaceSeparated:ve},Symbol.toStringTag,{value:"Module"})),Ci=Object.keys(ba);class cl extends tt{constructor(t,n,r,s){let o=-1;if(super(t,n),Qc(this,"space",s),typeof r=="number")for(;++o<Ci.length;){const i=Ci[o];Qc(this,Ci[o],(r&ba[i])===ba[i])}}}cl.prototype.defined=!0;function Qc(e,t,n){n&&(e[t]=n)}function vr(e){const t={},n={};for(const[r,s]of Object.entries(e.properties)){const o=new cl(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[_a(r)]=r,n[_a(o.attribute)]=r}return new fs(t,n,e.space)}const gd=vr({properties:{ariaActiveDescendant:null,ariaAtomic:Te,ariaAutoComplete:null,ariaBusy:Te,ariaChecked:Te,ariaColCount:O,ariaColIndex:O,ariaColSpan:O,ariaControls:ve,ariaCurrent:null,ariaDescribedBy:ve,ariaDetails:null,ariaDisabled:Te,ariaDropEffect:ve,ariaErrorMessage:null,ariaExpanded:Te,ariaFlowTo:ve,ariaGrabbed:Te,ariaHasPopup:null,ariaHidden:Te,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ve,ariaLevel:O,ariaLive:null,ariaModal:Te,ariaMultiLine:Te,ariaMultiSelectable:Te,ariaOrientation:null,ariaOwns:ve,ariaPlaceholder:null,ariaPosInSet:O,ariaPressed:Te,ariaReadOnly:Te,ariaRelevant:null,ariaRequired:Te,ariaRoleDescription:ve,ariaRowCount:O,ariaRowIndex:O,ariaRowSpan:O,ariaSelected:Te,ariaSetSize:O,ariaSort:null,ariaValueMax:O,ariaValueMin:O,ariaValueNow:O,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function md(e,t){return t in e?e[t]:t}function yd(e,t){return md(e,t.toLowerCase())}const qw=vr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ar,acceptCharset:ve,accessKey:ve,action:null,allow:null,allowFullScreen:oe,allowPaymentRequest:oe,allowUserMedia:oe,alt:null,as:null,async:oe,autoCapitalize:null,autoComplete:ve,autoFocus:oe,autoPlay:oe,blocking:ve,capture:null,charSet:null,checked:oe,cite:null,className:ve,cols:O,colSpan:null,content:null,contentEditable:Te,controls:oe,controlsList:ve,coords:O|ar,crossOrigin:null,data:null,dateTime:null,decoding:null,default:oe,defer:oe,dir:null,dirName:null,disabled:oe,download:pd,draggable:Te,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:oe,formTarget:null,headers:ve,height:O,hidden:oe,high:O,href:null,hrefLang:null,htmlFor:ve,httpEquiv:ve,id:null,imageSizes:null,imageSrcSet:null,inert:oe,inputMode:null,integrity:null,is:null,isMap:oe,itemId:null,itemProp:ve,itemRef:ve,itemScope:oe,itemType:ve,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:oe,low:O,manifest:null,max:null,maxLength:O,media:null,method:null,min:null,minLength:O,multiple:oe,muted:oe,name:null,nonce:null,noModule:oe,noValidate:oe,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:oe,optimum:O,pattern:null,ping:ve,placeholder:null,playsInline:oe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:oe,referrerPolicy:null,rel:ve,required:oe,reversed:oe,rows:O,rowSpan:O,sandbox:ve,scope:null,scoped:oe,seamless:oe,selected:oe,shadowRootClonable:oe,shadowRootDelegatesFocus:oe,shadowRootMode:null,shape:null,size:O,sizes:null,slot:null,span:O,spellCheck:Te,src:null,srcDoc:null,srcLang:null,srcSet:null,start:O,step:null,style:null,tabIndex:O,target:null,title:null,translate:null,type:null,typeMustMatch:oe,useMap:null,value:Te,width:O,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ve,axis:null,background:null,bgColor:null,border:O,borderColor:null,bottomMargin:O,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:oe,declare:oe,event:null,face:null,frame:null,frameBorder:null,hSpace:O,leftMargin:O,link:null,longDesc:null,lowSrc:null,marginHeight:O,marginWidth:O,noResize:oe,noHref:oe,noShade:oe,noWrap:oe,object:null,profile:null,prompt:null,rev:null,rightMargin:O,rules:null,scheme:null,scrolling:Te,standby:null,summary:null,text:null,topMargin:O,valueType:null,version:null,vAlign:null,vLink:null,vSpace:O,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:oe,disableRemotePlayback:oe,prefix:null,property:null,results:O,security:null,unselectable:null},space:"html",transform:yd}),Kw=vr({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"},properties:{about:ot,accentHeight:O,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:O,amplitude:O,arabicForm:null,ascent:O,attributeName:null,attributeType:null,azimuth:O,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:O,by:null,calcMode:null,capHeight:O,className:ve,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:O,diffuseConstant:O,direction:null,display:null,dur:null,divisor:O,dominantBaseline:null,download:oe,dx:null,dy:null,edgeMode:null,editable:null,elevation:O,enableBackground:null,end:null,event:null,exponent:O,externalResourcesRequired:null,fill:null,fillOpacity:O,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ar,g2:ar,glyphName:ar,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:O,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:O,horizOriginX:O,horizOriginY:O,id:null,ideographic:O,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:O,k:O,k1:O,k2:O,k3:O,k4:O,kernelMatrix:ot,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:O,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:O,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:O,overlineThickness:O,paintOrder:null,panose1:null,path:null,pathLength:O,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ve,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:O,pointsAtY:O,pointsAtZ:O,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ot,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ot,rev:ot,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ot,requiredFeatures:ot,requiredFonts:ot,requiredFormats:ot,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:O,specularExponent:O,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:O,strikethroughThickness:O,string:null,stroke:null,strokeDashArray:ot,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:O,strokeOpacity:O,strokeWidth:null,style:null,surfaceScale:O,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ot,tabIndex:O,tableValues:null,target:null,targetX:O,targetY:O,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ot,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:O,underlineThickness:O,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:O,values:null,vAlphabetic:O,vMathematical:O,vectorEffect:null,vHanging:O,vIdeographic:O,version:null,vertAdvY:O,vertOriginX:O,vertOriginY:O,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:O,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:md}),_d=vr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),bd=vr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:yd}),wd=vr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Jw=/[A-Z]/g,Yc=/-[a-z]/g,Xw=/^data[-\w.:]+$/i;function Qw(e,t){const n=_a(t);let r=t,s=tt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Xw.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Yc,Zw);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Yc.test(o)){let i=o.replace(Jw,Yw);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=cl}return new s(r,t)}function Yw(e){return"-"+e.toLowerCase()}function Zw(e){return e.charAt(1).toUpperCase()}const ev=dd([gd,qw,_d,bd,wd],"html"),vd=dd([gd,Kw,_d,bd,wd],"svg"),Zc={}.hasOwnProperty;function tv(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&Zc.call(s,e)){const l=String(s[e]);i=Zc.call(a,l)?a[l]:r.unknown}if(i)return i.call(this,s,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const nv=/["&'<>`]/g,rv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sv=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,ov=/[|\\{}()[\]^$+*?.]/g,eu=new WeakMap;function iv(e,t){if(e=e.replace(t.subset?av(t.subset):nv,r),t.subset||t.escapeOnly)return e;return e.replace(rv,n).replace(sv,r);function n(s,o,i){return t.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,i.charCodeAt(o+2),t)}function r(s,o,i){return t.format(s.charCodeAt(0),i.charCodeAt(o+1),t)}}function av(e){let t=eu.get(e);return t||(t=lv(e),eu.set(e,t)),t}function lv(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(ov,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const cv=/[\dA-Fa-f]/;function uv(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!cv.test(String.fromCharCode(t))?r:r+";"}const fv=/\d/;function hv(e,t,n){const r="&#"+String(e);return n&&t&&!fv.test(String.fromCharCode(t))?r:r+";"}const dv=["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"],Si={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:"€"},pv=["cent","copy","divide","gt","lt","not","para","times"],Cd={}.hasOwnProperty,wa={};let ks;for(ks in Si)Cd.call(Si,ks)&&(wa[Si[ks]]=ks);const gv=/[^\dA-Za-z]/;function mv(e,t,n,r){const s=String.fromCharCode(e);if(Cd.call(wa,s)){const o=wa[s],i="&"+o;return n&&dv.includes(o)&&!pv.includes(o)&&(!r||t&&t!==61&&gv.test(String.fromCharCode(t)))?i:i+";"}return""}function yv(e,t,n){let r=uv(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=mv(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=hv(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function lr(e,t){return iv(e,Object.assign({format:yv},t))}const _v=/^>|^->|<!--|-->|--!>|<!-$/g,bv=[">"],wv=["<",">"];function vv(e,t,n,r){return r.settings.bogusComments?"<?"+lr(e.value,Object.assign({},r.settings.characterReferences,{subset:bv}))+">":"<!--"+e.value.replace(_v,s)+"-->";function s(o){return lr(o,Object.assign({},r.settings.characterReferences,{subset:wv}))}}function Cv(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function tu(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=n.indexOf(t);for(;s!==-1;)r++,s=n.indexOf(t,s+t.length);return r}function Sv(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function xv(e){return e.join(" ").trim()}const kv=/[ \t\n\f\r]/g;function ul(e){return typeof e=="object"?e.type==="text"?nu(e.value):!1:nu(e)}function nu(e){return e.replace(kv,"")===""}const Me=xd(1),Sd=xd(-1),Av=[];function xd(e){return t;function t(n,r,s){const o=n?n.children:Av;let i=(r||0)+e,a=o[i];if(!s)for(;a&&ul(a);)i+=e,a=o[i];return a}}const Ev={}.hasOwnProperty;function kd(e){return t;function t(n,r,s){return Ev.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const fl=kd({body:Rv,caption:xi,colgroup:xi,dd:Iv,dt:Nv,head:xi,html:Tv,li:$v,optgroup:Ov,option:Lv,p:Pv,rp:ru,rt:ru,tbody:Dv,td:su,tfoot:Fv,th:su,thead:Mv,tr:Hv});function xi(e,t,n){const r=Me(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&ul(r.value.charAt(0)))}function Tv(e,t,n){const r=Me(n,t);return!r||r.type!=="comment"}function Rv(e,t,n){const r=Me(n,t);return!r||r.type!=="comment"}function Pv(e,t,n){const r=Me(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 $v(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Nv(e,t,n){const r=Me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Iv(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function ru(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Ov(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Lv(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Mv(e,t,n){const r=Me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Dv(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Fv(e,t,n){return!Me(n,t)}function Hv(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function su(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Bv=kd({body:Uv,colgroup:Wv,head:Gv,html:jv,tbody:zv});function jv(e){const t=Me(e,-1);return!t||t.type!=="comment"}function Gv(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 Uv(e){const t=Me(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&ul(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Wv(e,t,n){const r=Sd(n,t),s=Me(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&fl(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function zv(e,t,n){const r=Sd(n,t),s=Me(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&fl(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const As={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 Vv(e,t,n,r){const s=r.schema,o=s.space==="svg"?!1:r.settings.omitOptionalTags;let i=s.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;s.space==="html"&&e.tagName==="svg"&&(r.schema=vd);const c=qv(r,e.properties),u=r.all(s.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=s,u&&(i=!1),(c||!o||!Bv(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),i&&(s.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),!i&&(!o||!fl(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function qv(e,t){const n=[];let r=-1,s;if(t){for(s in t)if(t[s]!==null&&t[s]!==void 0){const o=Kv(e,s,t[s]);o&&n.push(o)}}for(;++r<n.length;){const o=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&o!=='"'&&o!=="'"&&(n[r]+=" ")}return n.join("")}function Kv(e,t,n){const r=Qw(e.schema,t),s=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,o=e.settings.allowDangerousCharacters?0:1;let i=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=lr(r.attribute,Object.assign({},e.settings.characterReferences,{subset:As.name[s][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Sv:xv)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=lr(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:As.unquoted[s][o]}))),a!==n&&(e.settings.quoteSmart&&tu(n,i)>tu(n,e.alternative)&&(i=e.alternative),a=i+lr(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?As.single:As.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}const Jv=["<","&"];function Ad(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:lr(e.value,Object.assign({},r.settings.characterReferences,{subset:Jv}))}function Xv(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Ad(e,t,n,r)}function Qv(e,t,n,r){return r.all(e)}const Yv=tv("type",{invalid:Zv,unknown:eC,handlers:{comment:vv,doctype:Cv,element:Vv,raw:Xv,root:Qv,text:Ad}});function Zv(e){throw new Error("Expected node, not `"+e+"`")}function eC(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const tC={},nC={},rC=[];function sC(e,t){const n=t||tC,r=n.quote||'"',s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:oC,all:iC,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||zw,characterReferences:n.characterReferences||nC,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?vd:ev,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function oC(e,t,n){return Yv(e,t,n,this)}function iC(e){const t=[],n=e&&e.children||rC;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function ho(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[s,o]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof o=="string"?n[s]=o:s===r&&Object.assign(n,o);return n}function Tn(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function aC(e){return Array.isArray(e)?e:[e]}async function Ed(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function hl(e){return!e||["plaintext","txt","text","plain"].includes(e)}function lC(e){return e==="ansi"||hl(e)}function dl(e){return e==="none"}function cC(e){return dl(e)}function Td(e,t){var r;if(!t)return e;e.properties||(e.properties={}),(r=e.properties).class||(r.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const s of n)s&&!e.properties.class.includes(s)&&e.properties.class.push(s);return e}function Wo(e,t=!1){var o;const n=e.split(/(\r?\n)/g);let r=0;const s=[];for(let i=0;i<n.length;i+=2){const a=t?n[i]+(n[i+1]||""):n[i];s.push([a,r]),r+=n[i].length,r+=((o=n[i+1])==null?void 0:o.length)||0}return s}function uC(e){const t=Wo(e,!0).map(([s])=>s);function n(s){if(s===e.length)return{line:t.length-1,character:t[t.length-1].length};let o=s,i=0;for(const a of t){if(o<a.length)break;o-=a.length,i++}return{line:i,character:o}}function r(s,o){let i=0;for(let a=0;a<s;a++)i+=t[a].length;return i+=o,i}return{lines:t,indexToPos:n,posToIndex:r}}function fC(e,t){let n=0;const r=[];for(const s of t)s>n&&r.push({...e,content:e.content.slice(n,s),offset:e.offset+n}),n=s;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function hC(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,s)=>r-s);return n.length?e.map(r=>r.flatMap(s=>{const o=n.filter(i=>s.offset<i&&i<s.offset+s.content.length).map(i=>i-s.offset).sort((i,a)=>i-a);return o.length?fC(s,o):s})):e}function dC(e,t,n,r){const s={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(l=>Rd(e.variants[l])),i=new Set(o.flatMap(l=>Object.keys(l))),a={};return o.forEach((l,c)=>{for(const u of i){const f=l[u]||"inherit";if(c===0&&r)a[u]=f;else{const h=u==="color"?"":u==="background-color"?"-bg":`-${u}`,d=n+t[c]+(u==="color"?"":h);a[d]=f}}}),s.htmlStyle=a,s}function Rd(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&qt.Italic&&(t["font-style"]="italic"),e.fontStyle&qt.Bold&&(t["font-weight"]="bold"),e.fontStyle&qt.Underline&&(t["text-decoration"]="underline")),t}function pC(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}const Pd=new WeakMap;function zo(e,t){Pd.set(e,t)}function rs(e){return Pd.get(e)}class Cr{constructor(...t){k(this,"_stacks",{});k(this,"lang");if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,s]=t;this.lang=r,this._stacks={[s]: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 Cr(Object.fromEntries(aC(n).map(r=>[r,ya])),t)}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return gC(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function gC(e){const t=[],n=new Set;function r(s){var i;if(n.has(s))return;n.add(s);const o=(i=s==null?void 0:s.nameScopesList)==null?void 0:i.scopeName;o&&t.push(o),s.parent&&r(s.parent)}return r(e),t}function mC(e,t){if(!(e instanceof Cr))throw new ze("Invalid grammar state");return e.getInternalStack(t)}function yC(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(i){if(typeof i=="number"){if(i<0||i>n.source.length)throw new ze(`Invalid decoration offset: ${i}. Code length: ${n.source.length}`);return{...s.indexToPos(i),offset:i}}else{const a=s.lines[i.line];if(a===void 0)throw new ze(`Invalid decoration position ${JSON.stringify(i)}. Lines length: ${s.lines.length}`);if(i.character<0||i.character>a.length)throw new ze(`Invalid decoration position ${JSON.stringify(i)}. Line ${i.line} length: ${a.length}`);return{...i,offset:s.posToIndex(i.line,i.character)}}};const s=uC(n.source),o=(n.options.decorations||[]).map(i=>({...i,start:r(i.start),end:r(i.end)}));_C(o),e.set(n.meta,{decorations:o,converter:s,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){var i;if(!((i=this.options.decorations)!=null&&i.length))return;const s=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return hC(n,s)},code(n){var u;if(!((u=this.options.decorations)!=null&&u.length))return;const r=t(this),s=Array.from(n.children).filter(f=>f.type==="element"&&f.tagName==="span");if(s.length!==r.converter.lines.length)throw new ze(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function o(f,h,d,p){const g=s[f];let y="",_=-1,v=-1;if(h===0&&(_=0),d===0&&(v=0),d===Number.POSITIVE_INFINITY&&(v=g.children.length),_===-1||v===-1)for(let w=0;w<g.children.length;w++)y+=$d(g.children[w]),_===-1&&y.length===h&&(_=w+1),v===-1&&y.length===d&&(v=w+1);if(_===-1)throw new ze(`Failed to find start index for decoration ${JSON.stringify(p.start)}`);if(v===-1)throw new ze(`Failed to find end index for decoration ${JSON.stringify(p.end)}`);const m=g.children.slice(_,v);if(!p.alwaysWrap&&m.length===g.children.length)a(g,p,"line");else if(!p.alwaysWrap&&m.length===1&&m[0].type==="element")a(m[0],p,"token");else{const w={type:"element",tagName:"span",properties:{},children:m};a(w,p,"wrapper"),g.children.splice(_,m.length,w)}}function i(f,h){s[f]=a(s[f],h,"line")}function a(f,h,d){var y;const p=h.properties||{},g=h.transform||(_=>_);return f.tagName=h.tagName||"span",f.properties={...f.properties,...p,class:f.properties.class},(y=h.properties)!=null&&y.class&&Td(f,h.properties.class),f=g(f,d)||f,f}const l=[],c=r.decorations.sort((f,h)=>h.start.offset-f.start.offset||f.end.offset-h.end.offset);for(const f of c){const{start:h,end:d}=f;if(h.line===d.line)o(h.line,h.character,d.character,f);else if(h.line<d.line){o(h.line,h.character,Number.POSITIVE_INFINITY,f);for(let p=h.line+1;p<d.line;p++)l.unshift(()=>i(p,f));o(d.line,0,d.character,f)}}l.forEach(f=>f())}}}function _C(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new ze(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const s=e[r],o=n.start.offset<=s.start.offset&&s.start.offset<n.end.offset,i=n.start.offset<s.end.offset&&s.end.offset<=n.end.offset,a=s.start.offset<=n.start.offset&&n.start.offset<s.end.offset,l=s.start.offset<n.end.offset&&n.end.offset<=s.end.offset;if(o||i||a||l){if(o&&i||a&&l)continue;throw new ze(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(s.start)} intersect.`)}}}}function $d(e){return e.type==="text"?e.value:e.type==="element"?e.children.map($d).join(""):""}const bC=[yC()];function po(e){return[...e.transformers||[],...bC]}var Rn=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],ki={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function wC(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function ou(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function vC(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)ki[r]&&t.push({type:"setDecoration",value:ki[r]});else if(r<=29){const s=ki[r-20];s&&(t.push({type:"resetDecoration",value:s}),s==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Rn[r-30]}});else if(r===38){const s=ou(e);s&&t.push({type:"setForegroundColor",value:s})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Rn[r-40]}});else if(r===48){const s=ou(e);s&&t.push({type:"setBackgroundColor",value:s})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Rn[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Rn[r-100+8]}})}return t}function CC(){let e=null,t=null,n=new Set;return{parse(r){const s=[];let o=0;do{const i=wC(r,o),a=i.sequence?r.substring(o,i.startPosition):r.substring(o);if(a.length>0&&s.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const l=vC(i.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}o=i.position}while(o<r.length);return s}}}var SC={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 xC(e=SC){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 s(){if(r)return r;r=[];for(let c=0;c<Rn.length;c++)r.push(t(Rn[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 o(a){return s()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:i}}function kC(e,t,n){const r=ho(e,n),s=Wo(t),o=xC(Object.fromEntries(Rn.map(a=>{var l;return[a,(l=e.colors)==null?void 0:l[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]}))),i=CC();return s.map(a=>i.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?o.value(l.background):e.bg,u=l.foreground?o.value(l.foreground):e.fg):(c=l.foreground?o.value(l.foreground):e.fg,u=l.background?o.value(l.background):void 0),c=Tn(c,r),u=Tn(u,r),l.decorations.has("dim")&&(c=AC(c));let f=qt.None;return l.decorations.has("bold")&&(f|=qt.Bold),l.decorations.has("italic")&&(f|=qt.Italic),l.decorations.has("underline")&&(f|=qt.Underline),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:f}}))}function AC(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 pl(e,t,n={}){const{lang:r="text",theme:s=e.getLoadedThemes()[0]}=n;if(hl(r)||dl(s))return Wo(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:o,colorMap:i}=e.setTheme(s);if(r==="ansi")return kC(o,t,n);const a=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==a.name)throw new ze(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${a.name}"`);if(!n.grammarState.themes.includes(o.name))throw new ze(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${o.name}"`)}return TC(t,a,o,i,n)}function EC(...e){if(e.length===2)return rs(e[1]);const[t,n,r={}]=e,{lang:s="text",theme:o=t.getLoadedThemes()[0]}=r;if(hl(s)||dl(o))throw new ze("Plain language does not have grammar state");if(s==="ansi")throw new ze("ANSI language does not have grammar state");const{theme:i,colorMap:a}=t.setTheme(o),l=t.getLanguage(s);return new Cr(go(n,l,i,a,r).stateStack,l.name,i.name)}function TC(e,t,n,r,s){const o=go(e,t,n,r,s),i=new Cr(go(e,t,n,r,s).stateStack,t.name,n.name);return zo(o.tokens,i),o.tokens}function go(e,t,n,r,s){const o=ho(n,s),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=s,l=Wo(e);let c=s.grammarState?mC(s.grammarState,n.name)??ya:s.grammarContextCode!=null?go(s.grammarContextCode,t,n,r,{...s,grammarState:void 0,grammarContextCode:void 0}).stateStack:ya,u=[];const f=[];for(let h=0,d=l.length;h<d;h++){const[p,g]=l[h];if(p===""){u=[],f.push([]);continue}if(i>0&&p.length>=i){u=[],f.push([{content:p,offset:g,color:"",fontStyle:0}]);continue}let y,_,v;s.includeExplanation&&(y=t.tokenizeLine(p,c,a),_=y.tokens,v=0);const m=t.tokenizeLine2(p,c,a),w=m.tokens.length/2;for(let C=0;C<w;C++){const E=m.tokens[2*C],x=C+1<w?m.tokens[2*C+2]:p.length;if(E===x)continue;const M=m.tokens[2*C+1],F=Tn(r[mr.getForeground(M)],o),I=mr.getFontStyle(M),D={content:p.substring(E,x),offset:g+E,color:F,fontStyle:I};if(s.includeExplanation){const G=[];if(s.includeExplanation!=="scopeName")for(const re of n.settings){let he;switch(typeof re.scope){case"string":he=re.scope.split(/,/).map(W=>W.trim());break;case"object":he=re.scope;break;default:continue}G.push({settings:re,selectors:he.map(W=>W.split(/ /))})}D.explanation=[];let X=0;for(;E+X<x;){const re=_[v],he=p.substring(re.startIndex,re.endIndex);X+=he.length,D.explanation.push({content:he,scopes:s.includeExplanation==="scopeName"?RC(re.scopes):PC(G,re.scopes)}),v+=1}}u.push(D)}f.push(u),u=[],c=m.ruleStack}return{tokens:f,stateStack:c}}function RC(e){return e.map(t=>({scopeName:t}))}function PC(e,t){const n=[];for(let r=0,s=t.length;r<s;r++){const o=t[r];n[r]={scopeName:o,themeMatches:NC(e,o,t.slice(0,r))}}return n}function iu(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function $C(e,t,n){if(!iu(e[e.length-1],t))return!1;let r=e.length-2,s=n.length-1;for(;r>=0&&s>=0;)iu(e[r],n[s])&&(r-=1),s-=1;return r===-1}function NC(e,t,n){const r=[];for(const{selectors:s,settings:o}of e)for(const i of s)if($C(i,t,n)){r.push(o);break}return r}function Nd(e,t,n){const r=Object.entries(n.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),s=r.map(l=>{const c=pl(e,t,{...n,theme:l.theme}),u=rs(c),f=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:c,state:u,theme:f}}),o=IC(...s.map(l=>l.tokens)),i=o[0].map((l,c)=>l.map((u,f)=>{const h={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in n&&n.includeExplanation&&(h.explanation=u.explanation),o.forEach((d,p)=>{const{content:g,explanation:y,offset:_,...v}=d[c][f];h.variants[r[p].color]=v}),h})),a=s[0].state?new Cr(Object.fromEntries(s.map(l=>{var c;return[l.theme,(c=l.state)==null?void 0:c.getInternalStack(l.theme)]})),s[0].state.lang):void 0;return a&&zo(i,a),i}function IC(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const s=e.map(l=>l[r]),o=t.map(()=>[]);t.forEach((l,c)=>l.push(o[c]));const i=s.map(()=>0),a=s.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?(o[c].push(u),i[c]+=1,a[c]=s[c][i[c]]):(o[c].push({...u,content:u.content.slice(0,l)}),a[c]={...u,content:u.content.slice(l),offset:u.offset+l})}}}return t}function mo(e,t,n){let r,s,o,i,a,l;if("themes"in n){const{defaultColor:c="light",cssVariablePrefix:u="--shiki-"}=n,f=Object.entries(n.themes).filter(y=>y[1]).map(y=>({color:y[0],theme:y[1]})).sort((y,_)=>y.color===c?-1:_.color===c?1:0);if(f.length===0)throw new ze("`themes` option must not be empty");const h=Nd(e,t,n);if(l=rs(h),c&&!f.find(y=>y.color===c))throw new ze(`\`themes\` option must contain the defaultColor key \`${c}\``);const d=f.map(y=>e.getTheme(y.theme)),p=f.map(y=>y.color);o=h.map(y=>y.map(_=>dC(_,p,u,c))),l&&zo(o,l);const g=f.map(y=>ho(y.theme,n));s=f.map((y,_)=>(_===0&&c?"":`${u+y.color}:`)+(Tn(d[_].fg,g[_])||"inherit")).join(";"),r=f.map((y,_)=>(_===0&&c?"":`${u+y.color}-bg:`)+(Tn(d[_].bg,g[_])||"inherit")).join(";"),i=`shiki-themes ${d.map(y=>y.name).join(" ")}`,a=c?void 0:[s,r].join(";")}else if("theme"in n){const c=ho(n.theme,n);o=pl(e,t,n);const u=e.getTheme(n.theme);r=Tn(u.bg,c),s=Tn(u.fg,c),i=u.name,l=rs(o)}else throw new ze("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:s,bg:r,themeName:i,rootStyle:a,grammarState:l}}function yo(e,t,n,r={meta:{},options:n,codeToHast:(s,o)=>yo(e,s,o),codeToTokens:(s,o)=>mo(e,s,o)}){var d,p;let s=t;for(const g of po(n))s=((d=g.preprocess)==null?void 0:d.call(r,s,n))||s;let{tokens:o,fg:i,bg:a,themeName:l,rootStyle:c,grammarState:u}=mo(e,s,n);const{mergeWhitespaces:f=!0}=n;f===!0?o=LC(o):f==="never"&&(o=MC(o));const h={...r,get source(){return s}};for(const g of po(n))o=((p=g.tokens)==null?void 0:p.call(h,o))||o;return OC(o,{...n,fg:i,bg:a,themeName:l,rootStyle:c},h,u)}function OC(e,t,n,r=rs(e)){var p,g,y;const s=po(t),o=[],i={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(([_])=>!_.startsWith("_")))},children:[]},u={type:"element",tagName:"code",properties:{},children:o};const f=[],h={...n,structure:a,addClassToHast:Td,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return c},get code(){return u},get lines(){return f}};if(e.forEach((_,v)=>{var C,E;v&&(a==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&o.push({type:"text",value:`
30
+ `}));let m={type:"element",tagName:"span",properties:{class:"line"},children:[]},w=0;for(const x of _){let M={type:"element",tagName:"span",properties:{...x.htmlAttrs},children:[{type:"text",value:x.content}]};const F=pC(x.htmlStyle||Rd(x));F&&(M.properties.style=F);for(const I of s)M=((C=I==null?void 0:I.span)==null?void 0:C.call(h,M,v+1,w,m,x))||M;a==="inline"?i.children.push(M):a==="classic"&&m.children.push(M),w+=x.content.length}if(a==="classic"){for(const x of s)m=((E=x==null?void 0:x.line)==null?void 0:E.call(h,m,v+1))||m;f.push(m),o.push(m)}}),a==="classic"){for(const _ of s)u=((p=_==null?void 0:_.code)==null?void 0:p.call(h,u))||u;c.children.push(u);for(const _ of s)c=((g=_==null?void 0:_.pre)==null?void 0:g.call(h,c))||c;i.children.push(c)}let d=i;for(const _ of s)d=((y=_==null?void 0:_.root)==null?void 0:y.call(h,d))||d;return r&&zo(d,r),d}function LC(e){return e.map(t=>{const n=[];let r="",s=0;return t.forEach((o,i)=>{const l=!(o.fontStyle&&o.fontStyle&qt.Underline);l&&o.content.match(/^\s+$/)&&t[i+1]?(s||(s=o.offset),r+=o.content):r?(l?n.push({...o,offset:s,content:r+o.content}):n.push({content:r,offset:s},o),s=0,r=""):n.push(o)}),n})}function MC(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[,s,o,i]=r;if(!s&&!i)return n;const a=[{...n,offset:n.offset+s.length,content:o}];return s&&a.unshift({content:s,offset:n.offset}),i&&a.push({content:i,offset:n.offset+s.length+o.length}),a}))}const DC=sC;function FC(e,t,n){var o;const r={meta:{},options:n,codeToHast:(i,a)=>yo(e,i,a),codeToTokens:(i,a)=>mo(e,i,a)};let s=DC(yo(e,t,n,r));for(const i of po(n))s=((o=i.postprocess)==null?void 0:o.call(r,s,n))||s;return s}const au={light:"#333333",dark:"#bbbbbb"},lu={light:"#fffffe",dark:"#1e1e1e"},cu="__shiki_resolved";function gl(e){var a,l,c,u,f;if(e!=null&&e[cu])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 h=t.settings?t.settings.find(d=>!d.name&&!d.scope):void 0;(a=h==null?void 0:h.settings)!=null&&a.foreground&&(r=h.settings.foreground),(l=h==null?void 0:h.settings)!=null&&l.background&&(n=h.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"?au.light:au.dark),n||(n=t.type==="light"?lu.light:lu.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 s=0;const o=new Map;function i(h){var p;if(o.has(h))return o.get(h);s+=1;const d=`#${s.toString(16).padStart(8,"0").toLowerCase()}`;return(p=t.colorReplacements)!=null&&p[`#${d}`]?i(h):(o.set(h,d),d)}t.settings=t.settings.map(h=>{var y,_;const d=((y=h.settings)==null?void 0:y.foreground)&&!h.settings.foreground.startsWith("#"),p=((_=h.settings)==null?void 0:_.background)&&!h.settings.background.startsWith("#");if(!d&&!p)return h;const g={...h,settings:{...h.settings}};if(d){const v=i(h.settings.foreground);t.colorReplacements[v]=h.settings.foreground,g.settings.foreground=v}if(p){const v=i(h.settings.background);t.colorReplacements[v]=h.settings.background,g.settings.background=v}return g});for(const h of Object.keys(t.colors||{}))if((h==="editor.foreground"||h==="editor.background"||h.startsWith("terminal.ansi"))&&!((f=t.colors[h])!=null&&f.startsWith("#"))){const d=i(t.colors[h]);t.colorReplacements[d]=t.colors[h],t.colors[h]=d}return Object.defineProperty(t,cu,{enumerable:!1,writable:!1,value:!0}),t}async function Id(e){return Array.from(new Set((await Promise.all(e.filter(t=>!lC(t)).map(async t=>await Ed(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function Od(e){return(await Promise.all(e.map(async n=>cC(n)?null:gl(await Ed(n))))).filter(n=>!!n)}let HC=3;function BC(e,t=3){t>HC||console.trace(`[SHIKI DEPRECATE]: ${e}`)}class er extends Error{constructor(t){super(t),this.name="ShikiError"}}class jC extends Ww{constructor(n,r,s,o={}){super(n);k(this,"_resolvedThemes",new Map);k(this,"_resolvedGrammars",new Map);k(this,"_langMap",new Map);k(this,"_langGraph",new Map);k(this,"_textmateThemeCache",new WeakMap);k(this,"_loadedThemesCache",null);k(this,"_loadedLanguagesCache",null);this._resolver=n,this._themes=r,this._langs=s,this._alias=o,this._themes.map(i=>this.loadTheme(i)),this.loadLanguages(this._langs)}getTheme(n){return typeof n=="string"?this._resolvedThemes.get(n):this.loadTheme(n)}loadTheme(n){const r=gl(n);return r.name&&(this._resolvedThemes.set(r.name,r),this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(n){let r=this._textmateThemeCache.get(n);r||(r=ao.createFromRawTheme(n),this._textmateThemeCache.set(n,r)),this._syncRegistry.setTheme(r)}getGrammar(n){if(this._alias[n]){const r=new Set([n]);for(;this._alias[n];){if(n=this._alias[n],r.has(n))throw new er(`Circular alias \`${Array.from(r).join(" -> ")} -> ${n}\``);r.add(n)}}return this._resolvedGrammars.get(n)}loadLanguage(n){var i,a,l,c;if(this.getGrammar(n.name))return;const r=new Set([...this._langMap.values()].filter(u=>{var f;return(f=u.embeddedLangsLazy)==null?void 0:f.includes(n.name)}));this._resolver.addLanguage(n);const s={balancedBracketSelectors:n.balancedBracketSelectors||["*"],unbalancedBracketSelectors:n.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(n.scopeName,n);const o=this.loadGrammarWithConfiguration(n.scopeName,1,s);if(o.name=n.name,this._resolvedGrammars.set(n.name,o),n.aliases&&n.aliases.forEach(u=>{this._alias[u]=n.name}),this._loadedLanguagesCache=null,r.size)for(const u of r)this._resolvedGrammars.delete(u.name),this._loadedLanguagesCache=null,(a=(i=this._syncRegistry)==null?void 0:i._injectionGrammars)==null||a.delete(u.scopeName),(c=(l=this._syncRegistry)==null?void 0:l._grammars)==null||c.delete(u.scopeName),this.loadLanguage(this._langMap.get(u.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(n){for(const o of n)this.resolveEmbeddedLanguages(o);const r=Array.from(this._langGraph.entries()),s=r.filter(([o,i])=>!i);if(s.length){const o=r.filter(([i,a])=>{var l;return a&&((l=a.embeddedLangs)==null?void 0:l.some(c=>s.map(([u])=>u).includes(c)))}).filter(i=>!s.includes(i));throw new er(`Missing languages ${s.map(([i])=>`\`${i}\``).join(", ")}, required by ${o.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[o,i]of r)this._resolver.addLanguage(i);for(const[o,i]of r)this.loadLanguage(i)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(n){if(this._langMap.set(n.name,n),this._langGraph.set(n.name,n),n.embeddedLangs)for(const r of n.embeddedLangs)this._langGraph.set(r,this._langMap.get(r))}}class GC{constructor(t,n){k(this,"_langs",new Map);k(this,"_scopeToLang",new Map);k(this,"_injections",new Map);k(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 s=1;s<=n.length;s++){const o=n.slice(0,s).join(".");r=[...r,...this._injections.get(o)||[]]}return r}}let Er=0;function UC(e){Er+=1,e.warnings!==!1&&Er>=10&&Er%10===0&&console.warn(`[Shiki] ${Er} 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 er("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(gl),s=new GC(e.engine,n),o=new jC(s,r,n,e.langAlias);let i;function a(v){y();const m=o.getGrammar(typeof v=="string"?v:v.name);if(!m)throw new er(`Language \`${v}\` not found, you may need to load it first`);return m}function l(v){if(v==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};y();const m=o.getTheme(v);if(!m)throw new er(`Theme \`${v}\` not found, you may need to load it first`);return m}function c(v){y();const m=l(v);i!==v&&(o.setTheme(m),i=v);const w=o.getColorMap();return{theme:m,colorMap:w}}function u(){return y(),o.getLoadedThemes()}function f(){return y(),o.getLoadedLanguages()}function h(...v){y(),o.loadLanguages(v.flat(1))}async function d(...v){return h(await Id(v))}function p(...v){y();for(const m of v.flat(1))o.loadTheme(m)}async function g(...v){return y(),p(await Od(v))}function y(){if(t)throw new er("Shiki instance has been disposed")}function _(){t||(t=!0,o.dispose(),Er-=1)}return{setTheme:c,getTheme:l,getLanguage:a,getLoadedThemes:u,getLoadedLanguages:f,loadLanguage:d,loadLanguageSync:h,loadTheme:g,loadThemeSync:p,dispose:_,[Symbol.dispose]:_}}async function WC(e){e.engine||BC("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([Od(e.themes||[]),Id(e.langs||[]),e.engine]);return UC({...e,themes:t,langs:n,engine:r})}async function zC(e){const t=await WC(e);return{getLastGrammarState:(...n)=>EC(t,...n),codeToTokensBase:(n,r)=>pl(t,n,r),codeToTokensWithThemes:(n,r)=>Nd(t,n,r),codeToTokens:(n,r)=>mo(t,n,r),codeToHast:(n,r)=>yo(t,n,r),codeToHtml:(n,r)=>FC(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}const ml=String.raw,uu=ml`(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation})`,fu=ml`\u{E0061}-\u{E007A}`,VC=()=>new RegExp(ml`[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[${fu}]{2}[\u{E0030}-\u{E0039}${fu}]{1,3}\u{E007F}|${uu}(?:\u200D${uu})*`,"gu"),qC=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function KC(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function JC(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}const dt=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function yl(e,t,n,r){const s=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),o=[!1];let i=0,a="";for(const l of e.matchAll(s)){const{0:c,groups:{$skip:u}}=l;if(!u&&(!r||r===dt.DEFAULT==!i)){n instanceof Function?a+=n(l,{context:i?dt.CHAR_CLASS:dt.DEFAULT,negated:o[o.length-1]}):a+=n;continue}c[0]==="["?(i++,o.push(c[1]==="^")):c==="]"&&i&&(i--,o.pop()),a+=c}return a}function Ld(e,t,n,r){yl(e,t,n,r)}function XC(e,t,n=0,r){if(!new RegExp(t,"su").test(e))return null;const s=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");s.lastIndex=n;let o=0,i;for(;i=s.exec(e);){const{0:a,groups:{$skip:l}}=i;if(!l&&(!r||r===dt.DEFAULT==!o))return i;a==="["?o++:a==="]"&&o&&o--,s.lastIndex==i.index&&s.lastIndex++}return null}function Es(e,t,n){return!!XC(e,t,0,n)}function QC(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,s=0,o=1,i;for(;i=n.exec(e);){const[a]=i;if(a==="[")s++;else if(s)a==="]"&&s--;else if(a==="(")o++;else if(a===")"&&(o--,!o)){r=i.index;break}}return e.slice(t,r)}const hu=new RegExp(String.raw`(?<noncapturingStart>${qC})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function YC(e,t){const n=(t==null?void 0:t.hiddenCaptures)??[];let r=(t==null?void 0:t.captureTransfers)??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};const s="(?>",o="(?:(?=(",i=[0],a=[];let l=0,c=0,u=NaN,f;do{f=!1;let h=0,d=0,p=!1,g;for(hu.lastIndex=Number.isNaN(u)?0:u+o.length;g=hu.exec(e);){const{0:y,index:_,groups:{capturingStart:v,noncapturingStart:m}}=g;if(y==="[")h++;else if(h)y==="]"&&h--;else if(y===s&&!p)u=_,p=!0;else if(p&&m)d++;else if(v)p?d++:(l++,i.push(l+c));else if(y===")"&&p){if(!d){c++;const w=l+c;if(e=`${e.slice(0,u)}${o}${e.slice(u+s.length,_)}))<$$${w}>)${e.slice(_+1)}`,f=!0,a.push(w),KC(n,w),r.size){const C=new Map;r.forEach((E,x)=>{C.set(x>=w?x+1:x,E.map(M=>M>=w?M+1:M))}),r=C}break}d--}}}while(f);return n.push(...a),e=yl(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:h,groups:{backrefNum:d,wrappedBackrefNum:p}})=>{if(d){const g=+d;if(g>i.length-1)throw new Error(`Backref "${h}" greater than number of captures`);return`\\${i[g]}`}return`\\${p}`},dt.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}const Md=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,Ai=new RegExp(String.raw`
31
+ \\(?: \d+
32
+ | c[A-Za-z]
33
+ | [gk]<[^>]+>
34
+ | [pPu]\{[^\}]+\}
35
+ | u[A-Fa-f\d]{4}
36
+ | x[A-Fa-f\d]{2}
37
+ )
38
+ | \((?: \? (?: [:=!>]
39
+ | <(?:[=!]|[^>]+>)
40
+ | [A-Za-z\-]+:
41
+ | \(DEFINE\)
42
+ ))?
43
+ | (?<qBase>${Md})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
44
+ | \\?.
45
+ `.replace(/\s+/g,""),"gsu");function ZC(e){if(!new RegExp(`${Md}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,s="",o=0,i;for(Ai.lastIndex=0;i=Ai.exec(e);){const{0:a,index:l,groups:{qBase:c,qMod:u,invalidQ:f}}=i;if(a==="[")o||(r=l),o++;else if(a==="]")o?o--:r=null;else if(!o)if(u==="+"&&s&&!s.startsWith("(")){if(f)throw new Error(`Invalid quantifier "${a}"`);let h=-1;if(/^\{\d+\}$/.test(c))e=JC(e,l+c.length,u,"");else{if(s===")"||s==="]"){const d=s===")"?n:r;if(d===null)throw new Error(`Invalid unmatched "${s}"`);e=`${e.slice(0,d)}(?>${e.slice(d,l)}${c})${e.slice(l+a.length)}`}else e=`${e.slice(0,l-s.length)}(?>${s}${c})${e.slice(l+a.length)}`;h+=4}Ai.lastIndex+=h}else a[0]==="("?t.push(l):a===")"&&(n=t.length?t.pop():null);s=a}return{pattern:e}}const ft=String.raw,e1=ft`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,va=ft`\(\?R=(?<rDepth>[^\)]+)\)|${e1}`,Vo=ft`\(\?<(?![=!])(?<captureName>[^>]+)>`,Dd=ft`${Vo}|(?<unnamed>\()(?!\?)`,kn=new RegExp(ft`${Vo}|${va}|\(\?|\\?.`,"gsu"),Ei="Cannot use multiple overlapping recursions";function t1(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let s=(t==null?void 0:t.captureTransfers)??new Map;if(!new RegExp(va,"su").test(e))return{pattern:e,captureTransfers:s,hiddenCaptures:n};if(r==="plugin"&&Es(e,ft`\(\?\(DEFINE\)`,dt.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const o=[],i=Es(e,ft`\\[1-9]`,dt.DEFAULT),a=new Map,l=[];let c=!1,u=0,f=0,h;for(kn.lastIndex=0;h=kn.exec(e);){const{0:d,groups:{captureName:p,rDepth:g,gRNameOrNum:y,gRDepth:_}}=h;if(d==="[")u++;else if(u)d==="]"&&u--;else if(g){if(du(g),c)throw new Error(Ei);if(i)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const v=e.slice(0,h.index),m=e.slice(kn.lastIndex);if(Es(m,va,dt.DEFAULT))throw new Error(Ei);const w=+g-1;e=pu(v,m,w,!1,n,o,f),s=mu(s,v,w,o.length,0,f);break}else if(y){du(_);let v=!1;for(const G of l)if(G.name===y||G.num===+y){if(v=!0,G.hasRecursedWithin)throw new Error(Ei);break}if(!v)throw new Error(ft`Recursive \g cannot be used outside the referenced group "${r==="external"?y:ft`\g<${y}&R=${_}>`}"`);const m=a.get(y),w=QC(e,m);if(i&&Es(w,ft`${Vo}|\((?!\?)`,dt.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const C=e.slice(m,h.index),E=w.slice(C.length+d.length),x=o.length,M=+_-1,F=pu(C,E,M,!0,n,o,f);s=mu(s,C,M,o.length-x,x,f);const I=e.slice(0,m),D=e.slice(m+w.length);e=`${I}${F}${D}`,kn.lastIndex+=F.length-d.length-C.length-E.length,l.forEach(G=>G.hasRecursedWithin=!0),c=!0}else if(p)f++,a.set(String(f),kn.lastIndex),a.set(p,kn.lastIndex),l.push({num:f,name:p});else if(d[0]==="("){const v=d==="(";v&&(f++,a.set(String(f),kn.lastIndex)),l.push(v?{num:f}:{})}else d===")"&&l.pop()}return n.push(...o),{pattern:e,captureTransfers:s,hiddenCaptures:n}}function du(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function pu(e,t,n,r,s,o,i){const a=new Set;r&&Ld(e+t,Vo,({groups:{captureName:c}})=>{a.add(c)},dt.DEFAULT);const l=[n,r?a:null,s,o,i];return`${e}${gu(`(?:${e}`,"forward",...l)}(?:)${gu(`${t})`,"backward",...l)}${t}`}function gu(e,t,n,r,s,o,i){const l=u=>t==="forward"?u+2:n-u+2-1;let c="";for(let u=0;u<n;u++){const f=l(u);c+=yl(e,ft`${Dd}|\\k<(?<backref>[^>]+)>`,({0:h,groups:{captureName:d,unnamed:p,backref:g}})=>{if(g&&r&&!r.has(g))return h;const y=`_$${f}`;if(p||d){const _=i+o.length+1;return o.push(_),n1(s,_),p?h:`(?<${d}${y}>`}return ft`\k<${g}${y}>`},dt.DEFAULT)}return c}function n1(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function mu(e,t,n,r,s,o){if(e.size&&r){let i=0;Ld(t,Dd,()=>i++,dt.DEFAULT);const a=o-i+s,l=new Map;return e.forEach((c,u)=>{const f=(r-i*n)/n,h=i*n,d=u>a+i?u+r:u,p=[];for(const g of c)if(g<=a)p.push(g);else if(g>a+i+f)p.push(g+r);else if(g<=a+i)for(let y=0;y<=n;y++)p.push(g+i*y);else for(let y=0;y<=n;y++)p.push(g+h+f*y);l.set(d,p)}),l}return e}var Ie=String.fromCodePoint,q=String.raw,yr={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};yr.literalHyphenIncorrectlyCreatesRange=(()=>{if(!yr.unicodeSets)return!1;try{new RegExp(q`[\d\-a]`,"v")}catch{return!0}return!1})();function _o(e,{enable:t,disable:n}){return{dotAll:!(n!=null&&n.dotAll)&&!!(t!=null&&t.dotAll||e.dotAll),ignoreCase:!(n!=null&&n.ignoreCase)&&!!(t!=null&&t.ignoreCase||e.ignoreCase)}}function _r(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function Ca(e,t){return yu[e]>=yu[t]}function Ot(e,t){if(!e)throw new Error(t??"Value expected");return e}var yu={ES2025:2025,ES2024:2024,ES2018:2018},r1={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function Fd(e){if((e==null?void 0:e.target)!==void 0&&!r1[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e==null?void 0:e.rules}};return t.target==="auto"&&(t.target=yr.flagGroups?"ES2025":yr.unicodeSets?"ES2024":"ES2018"),t}var s1=new Set([Ie(304),Ie(305)]);function Hd(e){if(s1.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),s=l1.get(n),o=i1.get(n),i=a1.get(n);return[...r].length===1&&t.add(r),i&&t.add(i),s&&t.add(s),t.add(n),o&&t.add(o),[...t]}var Bd=new Set(`C Other
46
+ Cc Control cntrl
47
+ Cf Format
48
+ Cn Unassigned
49
+ Co Private_Use
50
+ Cs Surrogate
51
+ L Letter
52
+ LC Cased_Letter
53
+ Ll Lowercase_Letter
54
+ Lm Modifier_Letter
55
+ Lo Other_Letter
56
+ Lt Titlecase_Letter
57
+ Lu Uppercase_Letter
58
+ M Mark Combining_Mark
59
+ Mc Spacing_Mark
60
+ Me Enclosing_Mark
61
+ Mn Nonspacing_Mark
62
+ N Number
63
+ Nd Decimal_Number digit
64
+ Nl Letter_Number
65
+ No Other_Number
66
+ P Punctuation punct
67
+ Pc Connector_Punctuation
68
+ Pd Dash_Punctuation
69
+ Pe Close_Punctuation
70
+ Pf Final_Punctuation
71
+ Pi Initial_Punctuation
72
+ Po Other_Punctuation
73
+ Ps Open_Punctuation
74
+ S Symbol
75
+ Sc Currency_Symbol
76
+ Sk Modifier_Symbol
77
+ Sm Math_Symbol
78
+ So Other_Symbol
79
+ Z Separator
80
+ Zl Line_Separator
81
+ Zp Paragraph_Separator
82
+ Zs Space_Separator
83
+ ASCII
84
+ ASCII_Hex_Digit AHex
85
+ Alphabetic Alpha
86
+ Any
87
+ Assigned
88
+ Bidi_Control Bidi_C
89
+ Bidi_Mirrored Bidi_M
90
+ Case_Ignorable CI
91
+ Cased
92
+ Changes_When_Casefolded CWCF
93
+ Changes_When_Casemapped CWCM
94
+ Changes_When_Lowercased CWL
95
+ Changes_When_NFKC_Casefolded CWKCF
96
+ Changes_When_Titlecased CWT
97
+ Changes_When_Uppercased CWU
98
+ Dash
99
+ Default_Ignorable_Code_Point DI
100
+ Deprecated Dep
101
+ Diacritic Dia
102
+ Emoji
103
+ Emoji_Component EComp
104
+ Emoji_Modifier EMod
105
+ Emoji_Modifier_Base EBase
106
+ Emoji_Presentation EPres
107
+ Extended_Pictographic ExtPict
108
+ Extender Ext
109
+ Grapheme_Base Gr_Base
110
+ Grapheme_Extend Gr_Ext
111
+ Hex_Digit Hex
112
+ IDS_Binary_Operator IDSB
113
+ IDS_Trinary_Operator IDST
114
+ ID_Continue IDC
115
+ ID_Start IDS
116
+ Ideographic Ideo
117
+ Join_Control Join_C
118
+ Logical_Order_Exception LOE
119
+ Lowercase Lower
120
+ Math
121
+ Noncharacter_Code_Point NChar
122
+ Pattern_Syntax Pat_Syn
123
+ Pattern_White_Space Pat_WS
124
+ Quotation_Mark QMark
125
+ Radical
126
+ Regional_Indicator RI
127
+ Sentence_Terminal STerm
128
+ Soft_Dotted SD
129
+ Terminal_Punctuation Term
130
+ Unified_Ideograph UIdeo
131
+ Uppercase Upper
132
+ Variation_Selector VS
133
+ White_Space space
134
+ XID_Continue XIDC
135
+ XID_Start XIDS`.split(/\s/)),jd=new Map;for(const e of Bd)jd.set(qo(e),e);var o1=new Set(["Basic_Emoji","Emoji_Keycap_Sequence","RGI_Emoji","RGI_Emoji_Flag_Sequence","RGI_Emoji_Modifier_Sequence","RGI_Emoji_Tag_Sequence","RGI_Emoji_ZWJ_Sequence"]),Gd=new Map;for(const e of o1)Gd.set(qo(e),e);var i1=new Map([["s",Ie(383)],[Ie(383),"s"]]),a1=new Map([[Ie(223),Ie(7838)],[Ie(107),Ie(8490)],[Ie(229),Ie(8491)],[Ie(969),Ie(8486)]]),l1=new Map([Qt(453),Qt(456),Qt(459),Qt(498),...Ti(8072,8079),...Ti(8088,8095),...Ti(8104,8111),Qt(8124),Qt(8140),Qt(8188)]),Ud=new Map([["alnum",q`[\p{Alpha}\p{Nd}]`],["alpha",q`\p{Alpha}`],["ascii",q`\p{ASCII}`],["blank",q`[\p{Zs}\t]`],["cntrl",q`\p{cntrl}`],["digit",q`\p{Nd}`],["graph",q`[\P{space}&&\P{cntrl}&&\P{Cn}&&\P{Cs}]`],["lower",q`\p{Lower}`],["print",q`[[\P{space}&&\P{cntrl}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",q`[\p{P}\p{S}]`],["space",q`\p{space}`],["upper",q`\p{Upper}`],["word",q`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",q`\p{AHex}`]]),c1=new Set(["alnum","blank","graph","print","word","xdigit"]);function u1(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function qo(e){return e.replace(/[- _]+/g,"").toLowerCase()}function Qt(e){const t=Ie(e);return[t.toLowerCase(),t]}function Ti(e,t){return u1(e,t).map(n=>Qt(n))}var Wd=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]),J={Alternator:"Alternator",Assertion:"Assertion",Backreference:"Backreference",Character:"Character",CharacterClassClose:"CharacterClassClose",CharacterClassHyphen:"CharacterClassHyphen",CharacterClassIntersector:"CharacterClassIntersector",CharacterClassOpen:"CharacterClassOpen",CharacterSet:"CharacterSet",Directive:"Directive",GroupClose:"GroupClose",GroupOpen:"GroupOpen",Subroutine:"Subroutine",Quantifier:"Quantifier",VariableLengthCharacterSet:"VariableLengthCharacterSet",EscapedNumber:"EscapedNumber"},He={any:"any",digit:"digit",dot:"dot",hex:"hex",non_newline:"non_newline",posix:"posix",property:"property",space:"space",word:"word"},Ko={flags:"flags",keep:"keep"},Ge={absent_repeater:"absent_repeater",atomic:"atomic",capturing:"capturing",group:"group",lookahead:"lookahead",lookbehind:"lookbehind"},_u=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]),zd=q`\[\^?`,Vd=`c.? | C(?:-.?)?|${q`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${q`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${q`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${q`o\{[^\}]*\}?`}|${q`\d{1,3}`}`,qd=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Ts=new RegExp(q`
136
+ \\ (?:
137
+ ${Vd}
138
+ | [gk]<[^>]*>?
139
+ | [gk]'[^']*'?
140
+ | .
141
+ )
142
+ | \( (?:
143
+ \? (?:
144
+ [:=!>({]
145
+ | <[=!]
146
+ | <[^>]*>
147
+ | '[^']*'
148
+ | ~\|?
149
+ | #(?:[^)\\]|\\.?)*
150
+ | [^:)]*[:)]
151
+ )?
152
+ | \*
153
+ )?
154
+ | ${qd.source}
155
+ | ${zd}
156
+ | .
157
+ `.replace(/\s+/g,""),"gsu"),Ri=new RegExp(q`
158
+ \\ (?:
159
+ ${Vd}
160
+ | .
161
+ )
162
+ | \[:(?:\^?\p{Alpha}+|\^):\]
163
+ | ${zd}
164
+ | &&
165
+ | .
166
+ `.replace(/\s+/g,""),"gsu");function Kd(e,t="",n){if(n={captureGroup:!1,singleline:!1,...n},typeof e!="string")throw new Error("String expected as pattern");if(!/^[imxDSW]*$/.test(t))throw new Error(`Flags "${t}" includes unsupported value`);const r=t.includes("x"),s=[r],o={captureGroup:n.captureGroup,getCurrentModX:()=>s.at(-1),numOpenGroups:0,popModX(){s.pop()},pushModX(f){s.push(f)},replaceCurrentModX(f){s[s.length-1]=f},singleline:n.singleline};let i=[],a;for(Ts.lastIndex=0;a=Ts.exec(e);){const f=f1(o,e,a[0],Ts.lastIndex);f.tokens?i.push(...f.tokens):f.token&&i.push(f.token),f.lastIndex!==void 0&&(Ts.lastIndex=f.lastIndex)}const l=[];let c=0;i.forEach(f=>{f.type===J.GroupOpen&&(f.kind===Ge.capturing?f.number=++c:f.raw==="("&&l.push(f))}),c||l.forEach((f,h)=>{f.kind=Ge.capturing,f.number=h+1});const u=c||l.length;return i=i.map(f=>f.type===J.EscapedNumber?w1(f,u):f).flat(),{tokens:i,flags:{ignoreCase:t.includes("i"),dotAll:t.includes("m"),extended:r,digitIsAscii:t.includes("D"),spaceIsAscii:t.includes("S"),wordIsAscii:t.includes("W")},rules:n}}function f1(e,t,n,r){const[s,o]=n;if(s==="["){const i=h1(t,n,r);return{tokens:i.tokens,lastIndex:i.lastIndex}}if(s==="\\"){if("AbBGzZ".includes(o))return{token:le(J.Assertion,n,{kind:n})};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:le(J.Subroutine,n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:le(J.Backreference,n)}}if(o==="K")return{token:le(J.Directive,n,{kind:Ko.keep})};if(o==="N")return{token:le(J.CharacterSet,n,{kind:He.non_newline})};if(o==="O")return{token:le(J.CharacterSet,n,{kind:He.any})};if("RX".includes(o))return{token:le(J.VariableLengthCharacterSet,n,{kind:n})};if("yY".includes(o))throw new Error(`Unsupported grapheme boundary "${n}"`);const i=Jd(n,{inCharClass:!1});return Array.isArray(i)?{tokens:i}:{token:i}}if(s==="("){if(n==="(*")throw new Error(`Unsupported named callout "${n}"`);if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n==="(?#"){if(t[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:g1(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:le(J.GroupOpen,n,{kind:Ge.group})};if(n==="(?>")return{token:le(J.GroupOpen,n,{kind:Ge.atomic})};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:le(J.GroupOpen,n,{kind:n[2]==="<"?Ge.lookbehind:Ge.lookahead,negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'")){const i=le(J.GroupOpen,n,{kind:Ge.capturing});return n!=="("&&(i.name=n.slice(3,-1)),{token:i}}if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absent function kind "${n}"`);return{token:le(J.GroupOpen,n,{kind:Ge.absent_repeater})}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:le(J.GroupClose,n)}}if(n==="#"&&e.getCurrentModX()){const i=t.indexOf(`
167
+ `,r);return{lastIndex:i===-1?t.length:i}}if(/^\s$/.test(n)&&e.getCurrentModX()){const i=/\s+/y;return i.lastIndex=r,{lastIndex:i.exec(t)?i.lastIndex:r}}if(n===".")return{token:le(J.CharacterSet,n,{kind:He.dot})};if(n==="^"||n==="$"){const i=e.singleline?{"^":q`\A`,$:q`\Z`}[n]:n;return{token:le(J.Assertion,n,{kind:i})}}return n==="|"?{token:le(J.Alternator,n)}:qd.test(n)?{token:m1(n)}:(Xd(n),{token:le(J.Character,n,{value:n.codePointAt(0)})})}function h1(e,t,n){const r=[le(J.CharacterClassOpen,t,{negate:t[1]==="^"})];let s=1,o;for(Ri.lastIndex=n;o=Ri.exec(e);){const i=o[0];if(i[0]==="["&&i[1]!==":")s++,r.push(le(J.CharacterClassOpen,i,{negate:i[1]==="^"}));else if(i==="]"){if(r.at(-1).type===J.CharacterClassOpen)r.push(le(J.Character,i,{value:93}));else if(s--,r.push(le(J.CharacterClassClose,i)),!s)break}else{const a=d1(i);Array.isArray(a)?r.push(...a):r.push(a)}}return{tokens:r,lastIndex:Ri.lastIndex||e.length}}function d1(e){if(e[0]==="\\")return Jd(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!Ud.get(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return le(J.CharacterSet,e,{kind:He.posix,negate:!!t.groups.negate,value:t.groups.name})}return e==="-"?le(J.CharacterClassHyphen,e):e==="&&"?le(J.CharacterClassIntersector,e):(Xd(e),le(J.Character,e,{value:e.codePointAt(0)}))}function Jd(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return p1(e);if("dDhHsSwW".includes(n))return y1(e);if(e.startsWith(q`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return _1(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const r=e.split(/\\x/).slice(1).map(a=>parseInt(a,16)),s=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),o=new TextEncoder;return[...s].map(a=>{const l=[...o.encode(a)].map(c=>`\\x${c.toString(16)}`).join("");return le(J.Character,l,{value:a.codePointAt(0)})})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return le(J.Character,e,{value:b1(e)});if(_u.has(n))return le(J.Character,e,{value:_u.get(n)});if(/\d/.test(n))return le(J.EscapedNumber,e,{inCharClass:t});if(e==="\\")throw new Error(q`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return le(J.Character,e,{value:e.codePointAt(1)});throw new Error(`Unexpected escape "${e}"`)}function le(e,t,n){return{type:e,raw:t,...n}}function p1(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return le(J.Character,e,{value:t.toUpperCase().codePointAt(0)-64})}function g1(e,t){let{on:n,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;r??(r="");const s=(t.getCurrentModX()||n.includes("x"))&&!r.includes("x"),o=bu(n),i=bu(r),a={};if(o&&(a.enable=o),i&&(a.disable=i),e.endsWith(")"))return t.replaceCurrentModX(s),le(J.Directive,e,{kind:Ko.flags,flags:a});if(e.endsWith(":")){t.pushModX(s),t.numOpenGroups++;const l=le(J.GroupOpen,e,{kind:Ge.group});return(o||i)&&(l.flags=a),l}throw new Error(`Unexpected flag modifier "${e}"`)}function m1(e){const t={};if(e[0]==="{"){const{min:n,max:r}=/^\{(?<min>\d*)(?:,(?<max>\d*))?/.exec(e).groups,s=1e5;if(+n>s||+r>s)throw new Error("Quantifier value unsupported in Oniguruma");t.min=+n,t.max=r===void 0?+n:r===""?1/0:+r,t.greedy=!e.endsWith("?"),t.possessive=!1}else t.min=e[0]==="+"?1:0,t.max=e[0]==="?"?1:1/0,t.greedy=e[1]!=="?",t.possessive=e[1]==="+";return le(J.Quantifier,e,t)}function y1(e){const t=e[1].toLowerCase();return le(J.CharacterSet,e,{kind:{d:He.digit,h:He.hex,s:He.space,w:He.word}[t],negate:e[1]!==t})}function _1(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups,s=t==="P"&&!n||t==="p"&&!!n;return le(J.CharacterSet,e,{kind:He.property,negate:s,value:r})}function bu(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function b1(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function w1(e,t){const{raw:n,inCharClass:r}=e,s=n.slice(1);if(!r&&(s!=="0"&&s.length===1||s[0]!=="0"&&+s<=t))return[le(J.Backreference,n)];const o=[],i=s.match(/^[0-7]+|\d/g);for(let a=0;a<i.length;a++){const l=i[a];let c;if(a===0&&l!=="8"&&l!=="9"){if(c=parseInt(l,8),c>127)throw new Error(q`Octal encoded byte above 177 unsupported "${n}"`)}else c=l.codePointAt(0);o.push(le(J.Character,(a===0?"\\":"")+l,{value:c}))}return o}function Xd(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`)}function _l({alternatives:e},t){return e.length===1&&e[0].elements.length===1&&(!t||t(e[0].elements[0]))}function v1({type:e}){return e===R.Assertion||e===R.Directive}function C1(e){const t=[R.Character,R.CharacterClass,R.CharacterSet];return t.includes(e.type)||e.type===R.Quantifier&&e.min&&t.includes(e.element.type)}function Qd({type:e}){return e===R.CapturingGroup||e===R.Group}function hs({type:e,kind:t}){return e===R.Assertion&&(t===de.lookahead||t===de.lookbehind)}function cr(e,t,n){let r=e.node;for(;r.parent;)r=r.parent;function s(i,a){for(let l=0;l<i.length;l++){const c=o(i[l],a,l,i);l=Math.max(-1,l+c)}}function o(i,a=null,l=null,c=null){let u=0,f=!1;const h={node:i,parent:a,key:l,container:c,ast:r,remove(){Ot(c,"Container expected").splice(Math.max(0,l+u),1),u-=1},removeAllNextSiblings(){return Ot(c,"Container expected").splice(l+1)},removeAllPrevSiblings(){const _=l+u;return u-=_,Ot(c,"Container expected").splice(0,Math.max(0,_))},replaceWith(_){x1(_,a),c?c[Math.max(0,l+u)]=_:a[l]=_},skip(){f=!0}},d=S1(i).find(_=>!!n[_]),p=d&&n[d],g=typeof p=="function"?p:p==null?void 0:p.enter,y=p==null?void 0:p.exit;if(g==null||g(h,t),!f)switch(i.type){case R.Regex:o(i.pattern,i,"pattern"),o(i.flags,i,"flags");break;case R.Alternative:case R.CharacterClass:s(i.elements,i);break;case R.Assertion:hs(i)&&s(i.alternatives,i);break;case R.Backreference:case R.Character:case R.CharacterSet:case R.Directive:case R.Flags:case R.Recursion:case R.Subroutine:case R.VariableLengthCharacterSet:break;case R.AbsentFunction:case R.CapturingGroup:case R.Group:case R.Pattern:s(i.alternatives,i);break;case R.CharacterClassIntersection:s(i.classes,i);break;case R.CharacterClassRange:o(i.min,i,"min"),o(i.max,i,"max");break;case R.Quantifier:o(i.element,i,"element");break;default:throw new Error(`Unexpected node type "${i.type}"`)}return y==null||y(h,t),u}o(e.node,e.parent,e.key,e.container)}var wu={AnyGroup:"AnyGroup",AnyNode:"AnyNode"};function S1(e){const t=[wu.AnyNode];return(Qd(e)||hs(e))&&t.push(wu.AnyGroup),t.push(e.type),t}function x1(e,t){"parent"in t&&(e.parent=t)}var R={AbsentFunction:"AbsentFunction",Alternative:"Alternative",Assertion:"Assertion",Backreference:"Backreference",CapturingGroup:"CapturingGroup",Character:"Character",CharacterClass:"CharacterClass",CharacterClassIntersection:"CharacterClassIntersection",CharacterClassRange:"CharacterClassRange",CharacterSet:"CharacterSet",Directive:"Directive",Flags:"Flags",Group:"Group",Pattern:"Pattern",Quantifier:"Quantifier",Regex:"Regex",Subroutine:"Subroutine",VariableLengthCharacterSet:"VariableLengthCharacterSet",Recursion:"Recursion"},k1={repeater:"repeater"},de={line_end:"line_end",line_start:"line_start",lookahead:"lookahead",lookbehind:"lookbehind",search_start:"search_start",string_end:"string_end",string_end_newline:"string_end_newline",string_start:"string_start",word_boundary:"word_boundary"},Ae=He,Hs=Ko,bo={grapheme:"grapheme",newline:"newline"};function Yd({tokens:e,flags:t,rules:n},r){const s={skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,verbose:!1,...r},o={capturingGroups:[],current:0,hasNumberedRef:!1,namedGroupsByName:new Map,parent:null,skipBackrefValidation:s.skipBackrefValidation,skipLookbehindValidation:s.skipLookbehindValidation,skipPropertyNameValidation:s.skipPropertyNameValidation,subroutines:[],token:null,tokens:e,verbose:s.verbose,walk:i};function i(d,p){const g=e[o.current];switch(o.parent=d,o.token=g,o.current++,g.type){case J.Alternator:return bn();case J.Assertion:return O1(g);case J.Backreference:return A1(o);case J.Character:return bl(g.value,{useLastValid:!!p.isCheckingRangeEnd});case J.CharacterClassHyphen:return E1(o,p);case J.CharacterClassOpen:return T1(o,p);case J.CharacterSet:return R1(o);case J.Directive:return F1(g);case J.GroupOpen:return P1(o,p);case J.Quantifier:return $1(o);case J.Subroutine:return N1(o);case J.VariableLengthCharacterSet:return U1(g.kind);default:throw new Error(`Unexpected token type "${g.type}"`)}}const a=j1(B1(),H1(t));let l=a.pattern.alternatives[0];for(;o.current<e.length;){const d=i(l,{});d.type===R.Alternative?(a.pattern.alternatives.push(d),l=d):l.elements.push(d)}const{capturingGroups:c,hasNumberedRef:u,namedGroupsByName:f,subroutines:h}=o;if(u&&f.size&&!n.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:d}of h)if(typeof d=="number"){if(d>c.length)throw new Error("Subroutine uses a group number that's not defined")}else if(f.has(d)){if(f.get(d).length>1)throw new Error(q`Subroutine uses a duplicate group name "\g<${d}>"`)}else throw new Error(q`Subroutine uses a group name that's not defined "\g<${d}>"`);return cr({node:a},null,{AnyNode({node:d,parent:p}){d.parent=p}}),a}function A1(e){const{raw:t}=e.token,n=/^\\k[<']/.test(t),r=n?t.slice(3,-1):t.slice(1),s=(o,i=!1)=>{const a=e.capturingGroups.length;let l=!1;if(o>a)if(e.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${t}"`);return e.hasNumberedRef=!0,Sa(i?a+1-o:o,{orphan:l})};if(n){const o=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(o)return s(+o.groups.num,!!o.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${t}"`);if(!e.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${t}"`);return Sa(r)}return s(+r)}function E1(e,t){const{parent:n,tokens:r,walk:s}=e,o=n.elements.at(-1),i=r[e.current];if(!t.isCheckingRangeEnd&&o&&o.type!==R.CharacterClass&&o.type!==R.CharacterClassRange&&i&&i.type!==J.CharacterClassOpen&&i.type!==J.CharacterClassClose&&i.type!==J.CharacterClassIntersector){const a=s(n,{...t,isCheckingRangeEnd:!0});if(o.type===R.Character&&a.type===R.Character)return n.elements.pop(),D1(o,a);throw new Error("Invalid character class range")}return bl(45)}function T1(e,t){const{token:n,tokens:r,verbose:s,walk:o}=e,i=r[e.current];let a=xa({negate:n.negate});const l=a.elements[0];let c=vu(i);for(;c.type!==J.CharacterClassClose;){if(c.type===J.CharacterClassIntersector)l.classes.push(xa({negate:!1,baseOnly:!0})),e.current++;else{const u=l.classes.at(-1);u.elements.push(o(u,t))}c=vu(r[e.current],i)}if(s||q1(l),l.classes.length===1){const u=l.classes[0];u.negate=a.negate!==u.negate,a=u}return e.current++,a}function R1({token:e,skipPropertyNameValidation:t}){let{kind:n,negate:r,value:s}=e;if(n===He.property){const o=qo(s);if(c1.has(o))n=He.posix,s=o;else return Xn(s,{negate:r,skipPropertyNameValidation:t})}return n===He.posix?{type:R.CharacterSet,kind:Ae.posix,negate:r,value:s}:ka(n,{negate:r})}function P1(e,t){const{token:n,tokens:r,capturingGroups:s,namedGroupsByName:o,skipLookbehindValidation:i,verbose:a,walk:l}=e;let c=L1(n);const u=c.type===R.AbsentFunction,f=c.kind===de.lookbehind,h=f&&c.negate;if(c.type===R.CapturingGroup&&(s.push(c),c.name&&_r(o,c.name,[]).push(c)),u&&t.isInAbsentFunction)throw new Error("Nested absent function not supported by Oniguruma");let d=Cu(r[e.current]);for(;d.type!==J.GroupClose;){if(d.type===J.Alternator)c.alternatives.push(bn()),e.current++;else{const p=c.alternatives.at(-1),g=l(p,{...t,isInAbsentFunction:t.isInAbsentFunction||u,isInLookbehind:t.isInLookbehind||f,isInNegLookbehind:t.isInNegLookbehind||h});if(p.elements.push(g),(f||t.isInLookbehind)&&!i){const y="Lookbehind includes a pattern not allowed by Oniguruma";if(h||t.isInNegLookbehind){if(g.kind===de.lookahead||g.type===R.CapturingGroup)throw new Error(y)}else if(g.kind===de.lookahead||g.kind===de.lookbehind&&g.negate)throw new Error(y)}}d=Cu(r[e.current])}return a||(c=z1(c)),e.current++,c}function $1({token:e,parent:t}){const{min:n,max:r,greedy:s,possessive:o}=e,i=t.elements.at(-1);if(!i||i.type===R.Assertion||i.type===R.Directive)throw new Error("Quantifier requires a repeatable token");const a=tp(i,n,r,s,o);return t.elements.pop(),a}function N1(e){const{token:t,capturingGroups:n,subroutines:r}=e;let s=t.raw.slice(3,-1);const o=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(s);if(o){const a=+o.groups.num,l=n.length;if(e.hasNumberedRef=!0,s={"":a,"+":l+a,"-":l+1-a}[o.groups.sign],s<1)throw new Error("Invalid subroutine number")}else s==="0"&&(s=0);const i=G1(s);return r.push(i),i}function I1(e){return{type:R.AbsentFunction,kind:e,alternatives:[bn()]}}function bn(){return{type:R.Alternative,elements:[]}}function Zd(e,t){const n=!!(t!=null&&t.negate);return{type:R.Assertion,kind:e,...e===de.word_boundary&&{negate:n}}}function O1({kind:e}){return Zd(Ot({"^":de.line_start,$:de.line_end,"\\A":de.string_start,"\\b":de.word_boundary,"\\B":de.word_boundary,"\\G":de.search_start,"\\z":de.string_end,"\\Z":de.string_end_newline}[e],`Unexpected assertion kind "${e}"`),{negate:e===q`\B`})}function Sa(e,t){const n=!!(t!=null&&t.orphan);return{type:R.Backreference,...n&&{orphan:n},ref:e}}function L1({flags:e,kind:t,name:n,negate:r,number:s}){switch(t){case Ge.absent_repeater:return I1(k1.repeater);case Ge.atomic:return Pt({atomic:!0});case Ge.capturing:return ep(s,n);case Ge.group:return Pt({flags:e});case Ge.lookahead:case Ge.lookbehind:return Ur({behind:t===Ge.lookbehind,negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}function ep(e,t){const n=t!==void 0;if(n&&!V1(t))throw new Error(`Group name "${t}" invalid in Oniguruma`);return{type:R.CapturingGroup,number:e,...n&&{name:t},alternatives:[bn()]}}function bl(e,t){const n={useLastValid:!1,...t};if(e>1114111){const r=e.toString(16);if(n.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:R.Character,value:e}}function xa(e){const t={baseOnly:!1,negate:!1,...e};return{type:R.CharacterClass,negate:t.negate,elements:t.baseOnly?[]:[M1()]}}function M1(){return{type:R.CharacterClassIntersection,classes:[xa({negate:!1,baseOnly:!0})]}}function D1(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:R.CharacterClassRange,min:e,max:t}}function ka(e,{negate:t}){const n={type:R.CharacterSet,kind:Ot(Ae[e],`Unexpected character set kind "${e}"`)};return(e===He.digit||e===He.hex||e===He.space||e===He.word)&&(n.negate=t),n}function F1({kind:e,flags:t}){const n={type:R.Directive,kind:Ot(Hs[e],`Unexpected directive kind "${e}"`)};return e===Ko.flags&&(n.flags=t),n}function H1({ignoreCase:e,dotAll:t,extended:n,digitIsAscii:r,spaceIsAscii:s,wordIsAscii:o}){return{type:R.Flags,ignoreCase:e,dotAll:t,extended:n,digitIsAscii:r,spaceIsAscii:s,wordIsAscii:o}}function Pt(e){const t=e==null?void 0:e.atomic,n=e==null?void 0:e.flags;return{type:R.Group,...t&&{atomic:t},...n&&{flags:n},alternatives:[bn()]}}function Ur(e){const t={behind:!1,negate:!1,...e};return{type:R.Assertion,kind:t.behind?de.lookbehind:de.lookahead,negate:t.negate,alternatives:[bn()]}}function B1(){return{type:R.Pattern,alternatives:[bn()]}}function tp(e,t,n,r=!0,s=!1){const o={type:R.Quantifier,min:t,max:n,greedy:r,possessive:s,element:e};return n<t?{...o,min:n,max:t,possessive:!0}:o}function j1(e,t){return{type:R.Regex,pattern:e,flags:t}}function G1(e){return{type:R.Subroutine,ref:e}}function Xn(e,t){const n={negate:!1,skipPropertyNameValidation:!1,...t};return{type:R.CharacterSet,kind:Ae.property,value:n.skipPropertyNameValidation?e:W1(e),negate:n.negate}}function U1(e){return{type:R.VariableLengthCharacterSet,kind:Ot({"\\R":bo.newline,"\\X":bo.grapheme}[e],`Unexpected varcharset kind "${e}"`)}}function W1(e){const t=qo(e);if(Gd.has(t))throw new Error(q`Unicode property "\p{${e}}" unsupported in Oniguruma`);const n=jd.get(t);return n||e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}function z1(e){const t=e.alternatives[0].elements[0];return e.type===R.Group&&_l(e,n=>n.type===R.Group)&&!(e.atomic&&t.flags)&&!(e.flags&&(t.atomic||t.flags))?(e.atomic?t.atomic=!0:e.flags&&(t.flags=e.flags),t):e}function V1(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function q1(e){for(let t=0;t<e.classes.length;t++){const n=e.classes[t],r=n.elements[0];n.elements.length===1&&r.type===R.CharacterClass&&(e.classes[t]=r,r.negate=n.negate!==r.negate)}}function vu(e,t){return Ot(e,`${(t==null?void 0:t.value)===93?"Empty":"Unclosed"} character class`)}function Cu(e){return Ot(e,"Unclosed group")}function K1(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t},r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:Ca(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};cr({node:e},r,np);const s={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},o={currentFlags:s,prevFlags:null,globalFlags:s,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};cr({node:e},o,rp);const i={groupsByName:o.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:o.reffedNodesByReferencer};return cr({node:e},i,J1),e._originMap=o.groupOriginByCopy,e._strategy=r.strategy,e}var np={AbsentFunction({node:e,replaceWith:t}){const n=Gt(Pt(),[ss(Ur({negate:!0}),e.alternatives),Xn("Any")]),r=tp(n,0,1/0);n.parent=r,t(Gt(Pt(),[r]))},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:r}){const s=e.elements.filter(o=>o.kind===Hs.flags);for(let o=n+1;o<t.alternatives.length;o++){const i=t.alternatives[o];_r(r,i,[]).push(...s)}},exit({node:e},{flagDirectivesByAlt:t}){var n;if((n=t.get(e))!=null&&n.length){const r=op(t.get(e));if(r){const s=Gt(Pt({flags:r}),e.elements);s.parent=e,e.elements=[s]}}}},Assertion({node:e,key:t,container:n,ast:r,remove:s,replaceWith:o},i){const{kind:a,negate:l}=e,{asciiWordBoundaries:c,avoidSubclass:u,supportedGNodes:f,wordIsAscii:h}=i;if(a===de.line_end)o(_t(q`(?=\z|\n)`));else if(a===de.line_start)o(_t(q`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}));else if(a===de.lookbehind)i.passedLookbehind=!0;else if(a===de.search_start)if(f.has(e))r.flags.sticky=!0,s();else{const d=n[t-1];if(d&&C1(d))o(Gt(Ur({negate:!0})));else{if(u)throw new Error(q`Uses "\G" in a way that requires a subclass`);o(Zd(de.string_start)),i.strategy="clip_search"}}else if(a===de.string_end_newline)o(_t(q`(?=\n?\z)`));else if(a===de.word_boundary&&!h&&!c){const d=`(?:(?<=${Bt})(?!${Bt})|(?<!${Bt})(?=${Bt}))`,p=`(?:(?<=${Bt})(?=${Bt})|(?<!${Bt})(?!${Bt}))`;o(_t(l?p:d))}},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!$i(n)&&(n=Pi(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!$i(r)&&(r=Pi(r,t),e.name=r),n.set(e.number,e),r&&n.set(r,e)},CharacterSet({node:e,replaceWith:t},{accuracy:n,minTargetEs2024:r,digitIsAscii:s,spaceIsAscii:o,wordIsAscii:i}){const{kind:a,negate:l,value:c}=e;if(s&&(a===Ae.digit||c==="digit")){t(ka(Ae.digit,{negate:l}));return}if(o&&(a===Ae.space||c==="space")){t(Ni(_t(X1),l));return}if(i&&(a===Ae.word||c==="word")){t(ka(Ae.word,{negate:l}));return}if(a===Ae.any)t(Xn("Any"));else if(a===Ae.digit)t(Xn("Nd",{negate:l}));else if(a===Ae.hex)t(Xn("AHex",{negate:l}));else if(a===Ae.non_newline)t(_t(q`[^\n]`));else if(a===Ae.space)t(Xn("space",{negate:l}));else if(a===Ae.word)t(Ni(_t(Bt),l));else if(a===Ae.property)Bd.has(c)||(e.key="sc");else if(a===Ae.posix)if(!r&&(c==="graph"||c==="print")){if(n==="strict")throw new Error(`POSIX class "${c}" requires min target ES2024 or non-strict accuracy`);let u={graph:"!-~",print:" -~"}[c];l&&(u=`\0-${Ie(u.codePointAt(0)-1)}${Ie(u.codePointAt(2)+1)}-􏿿`),t(_t(`[${u}]`))}else t(Ni(_t(Ud.get(c)),l))},Directive(e,t){const{node:n,parent:r,ast:s,remove:o,replaceWith:i,removeAllPrevSiblings:a,removeAllNextSiblings:l}=e,{kind:c,flags:u}=n;if(c===Hs.flags)if(!u.enable&&!u.disable)o();else{const f=Gt(Pt({flags:u}),l());i(f),cp(f,e,t,np)}else if(c===Hs.keep){const f=s.pattern.alternatives[0].elements[0],d=_l(s.pattern,p=>p.type===R.Group)&&f.alternatives.length===1?f:s.pattern;if(r.parent!==d||d.alternatives.length>1)throw new Error(q`Uses "\K" in a way that's unsupported`);i(Gt(Ur({behind:!0}),a()))}},Flags({node:e,parent:t}){["digitIsAscii","extended","spaceIsAscii","wordIsAscii"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:n}=e.flags;t!=null&&t.extended&&delete t.extended,n!=null&&n.extended&&delete n.extended,t!=null&&t.dotAll&&(n!=null&&n.dotAll)&&delete t.dotAll,t!=null&&t.ignoreCase&&(n!=null&&n.ignoreCase)&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},Pattern:{enter({node:e},{supportedGNodes:t}){const n=[];let r=!1,s=!1;for(const o of e.alternatives)if(o.elements.length===1&&o.elements[0].kind===de.search_start)o.elements.pop();else{const i=ap(o.elements);i?(r=!0,Array.isArray(i)?n.push(...i):n.push(i)):s=!0}r&&!s&&n.forEach(o=>t.add(o))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t==="strict"&&n&&r)throw new Error(q`Uses "\G" in a way that requires non-strict accuracy`)}},Quantifier({node:e}){if(e.element.type===R.Quantifier){const t=Gt(Pt(),[e.element]);t.parent=e,e.element=t}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!$i(n)&&(n=Pi(n,t),e.ref=n)},VariableLengthCharacterSet({node:e,replaceWith:t},{accuracy:n,minTargetEs2024:r}){const{kind:s}=e;if(s===bo.newline)t(_t(`(?>\r
168
+ ?|[
169
+ \v\f…\u2028\u2029])`));else if(s===bo.grapheme){if(n==="strict")throw new Error(q`Use of "\X" requires non-strict accuracy`);const o=r?q`\p{RGI_Emoji}`:VC().source.replace(/\\u\{/g,"\\x{");t(_t(q`(?>\r\n|${o}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}))}else throw new Error(`Unexpected varcharset kind "${s}"`)}},rp={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:r,ref:s}=e;r||n.set(e,[...t.get(s).map(({node:o})=>o)])},CapturingGroup:{enter({node:e,replaceWith:t,skip:n},{groupOriginByCopy:r,groupsByName:s,multiplexCapturesToLeftByRef:o,openRefs:i,reffedNodesByReferencer:a}){const l=r.get(e);if(l&&i.has(e.number)){const u=Su(e.number);a.set(u,i.get(e.number)),t(u),n();return}i.set(e.number,e),o.set(e.number,[]),e.name&&_r(o,e.name,[]);const c=o.get(e.name??e.number);for(let u=0;u<c.length;u++){const f=c[u];if(l===f.node||l&&l===f.origin||e===f.origin){c.splice(u,1);break}}if(o.get(e.number).push({node:e,origin:l}),e.name&&o.get(e.name).push({node:e,origin:l}),e.name){const u=_r(s,e.name,new Map);let f=!1;if(l)f=!0;else for(const h of u.values())if(!h.hasDuplicateNameToRemove){f=!0;break}s.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:f})}},exit({node:e},{openRefs:t}){t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=_o(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Recursion({node:e,parent:t},{reffedNodesByReferencer:n}){const{ref:r}=e;let s=t;for(;(s=s.parent)&&!(s.type===R.CapturingGroup&&(s.name===r||s.number===r)););n.set(e,s)},Subroutine(e,t){const{node:n,replaceWith:r}=e,{ref:s}=n,o=t.subroutineRefMap.get(s),i=s===0,a=i?Su(0):sp(o,t.groupOriginByCopy,null);let l=a;if(!i){const c=op(Z1(o,f=>f.type===R.Group&&!!f.flags)),u=c?_o(t.globalFlags,c):t.globalFlags;Q1(u,t.currentFlags)||(l=Gt(Pt({flags:eS(u)}),[a]))}r(l),i||cp(l,e,t,rp)}},J1={Backreference({node:e,replaceWith:t},n){if(e.orphan){n.highestOrphanBackref=Math.max(n.highestOrphanBackref,e.ref);return}const s=n.reffedNodesByReferencer.get(e).filter(o=>Y1(o,e));if(!s.length)t(Gt(Ur({negate:!0})));else if(s.length>1){const o=s.map(i=>ss(bn(),[Sa(i.number)]));t(ss(Pt(),o))}else e.ref=s[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Recursion({node:e},t){e.ref!==0&&(e.ref=t.reffedNodesByReferencer.get(e).number)},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let r=0;r<n;r++){const s=ep();e.pattern.alternatives.at(-1).elements.push(s)}}}},X1="[ -\r ]",Bt=q`[\p{L}\p{M}\p{N}\p{Pc}]`;function ss(e,t){return t.forEach(n=>n.parent=e),e[wl(e)]=t,e}function Q1(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function Y1(e,t){let n=t;do{if(n.type===R.Pattern)return!1;if(n.type===R.Alternative)continue;if(n===e)return!1;const r=ip(n.parent);for(const s of r){if(s===n)break;if(s===e||lp(s,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function sp(e,t,n,r){const s=Array.isArray(e)?[]:{};for(const[o,i]of Object.entries(e))o==="parent"?s.parent=Array.isArray(n)?r:n:i&&typeof i=="object"?s[o]=sp(i,t,s,n):(o==="type"&&i===R.CapturingGroup&&t.set(s,t.get(e)??e),s[o]=i);return s}function Su(e){return{type:R.Recursion,ref:e}}function Z1(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function Pi(e,t){if(t.has(e))return t.get(e);const n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,n),n}function wl(e){for(const t of["alternatives","classes","elements"])if(e[t])return t;return null}function op(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:r})=>{t.forEach(s=>{var o,i;(o=r.enable)!=null&&o[s]&&(delete n.disable[s],n.enable[s]=!0),(i=r.disable)!=null&&i[s]&&(n.disable[s]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function eS({dotAll:e,ignoreCase:t}){const n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}function ip(e){if(!e)throw new Error("Node expected");if(e.type===R.Quantifier)return[e.element];const t=wl(e);return t&&e[t]}function ap(e){const t=e.find(n=>n.kind===de.search_start||tS(n,{negate:!1})||!v1(n));if(!t)return null;if(t.kind===de.search_start)return t;if(hs(t))return t.alternatives[0].elements[0];if(Qd(t)){const n=[];for(const r of t.alternatives){const s=ap(r.elements);if(!s)return null;Array.isArray(s)?n.push(...s):n.push(s)}return n}return null}function lp(e,t){const n=ip(e)??[];for(const r of n)if(r===t||lp(r,t))return!0;return!1}function tS(e,t){const n={negate:null,...t};return hs(e)&&(n.negate===null||e.negate===n.negate)&&_l(e,r=>r.kind===de.search_start)}function $i(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function _t(e,t){const r=Yd(Kd(e),t).pattern.alternatives;return r.length>1||r[0].elements.length>1?ss(Pt(),r):r[0].elements[0]}function Gt(e,t){const n=wl(e);return e[n][0].parent=e,t&&ss(e[n][0],t),e}function Ni(e,t){return e.negate=t,e}function cp(e,{parent:t,key:n,container:r},s,o){cr({node:e,parent:t,key:n,container:r},s,o)}function nS(e,t){const n=Fd(t),r=Ca(n.target,"ES2024"),s=Ca(n.target,"ES2025"),o=n.rules.recursionLimit;if(!Number.isInteger(o)||o<2||o>20)throw new Error("Invalid recursionLimit; use 2-20");let i=null,a=null;if(!s){const d=[e.flags.ignoreCase];cr({node:e},{getCurrentModI:()=>d.at(-1),popModI(){d.pop()},pushModI(p){d.push(p)},setHasCasedChar(){d.at(-1)?i=!0:a=!0}},rS)}const l={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||i)&&!a)};let c=null;const u={accuracy:n.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:c,originMap:e._originMap,recursionLimit:o,useAppliedIgnoreCase:!!(!s&&i&&a),useFlagMods:s,useFlagV:r,verbose:n.verbose};function f(d){switch(u.lastNode=c,c=d,d.type){case R.Regex:return{pattern:f(d.pattern),flags:f(d.flags),options:{...d.options}};case R.Alternative:return d.elements.map(f).join("");case R.Assertion:return lS(d,u,f);case R.Backreference:return cS(d,u);case R.CapturingGroup:return uS(d,u,f);case R.Character:return fS(d,u);case R.CharacterClass:return hS(d,u,f);case R.CharacterClassIntersection:if(!u.useFlagV)throw new Error("Use of class intersection requires min target ES2024");return d.classes.map(f).join("&&");case R.CharacterClassRange:return dS(d,u);case R.CharacterSet:return pS(d,u);case R.Flags:return gS(d,u);case R.Group:return mS(d,u,f);case R.Pattern:return d.alternatives.map(f).join("|");case R.Quantifier:return f(d.element)+wS(d);case R.Recursion:return yS(d,u);default:throw new Error(`Unexpected node type "${d.type}"`)}}const h=f(e);return r||(delete h.options.force.v,h.options.disable.v=!0,h.options.unicodeSetsPlugin=null),h._captureTransfers=new Map,h._hiddenCaptures=[],u.captureMap.forEach((d,p)=>{d.hidden&&h._hiddenCaptures.push(p),d.transferTo&&_r(h._captureTransfers,d.transferTo,[]).push(p)}),h}var rS={AnyGroup:{enter({node:e},t){const n=t.getCurrentModI();t.pushModI(e.flags?_o({ignoreCase:n},e.flags).ignoreCase:n)},exit(e,t){t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){vl(Ie(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),up(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind===Ae.property&&Wd.has(e.value)&&t.setHasCasedChar()}},sS=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),oS=new Set(["-","\\","]","^","["]),iS=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),xu=new Map([[9,q`\t`],[10,q`\n`],[11,q`\v`],[12,q`\f`],[13,q`\r`],[8232,q`\u2028`],[8233,q`\u2029`],[65279,q`\uFEFF`]]),aS=new RegExp("^\\p{Cased}$","u");function vl(e){return aS.test(e)}function lS(e,t,n){const{kind:r,negate:s,alternatives:o}=e;if(hs(e))return`(?${`${r===de.lookahead?"":"<"}${s?"!":"="}`}${o.map(n).join("|")})`;if(r===de.string_end)return"$";if(r===de.string_start)return"^";if(r===de.word_boundary)return s?q`\B`:q`\b`;throw new Error(`Unexpected assertion kind "${r}"`)}function cS({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e}function uS(e,t,n){const{name:r,number:s,alternatives:o}=e,i={ignoreCase:t.currentFlags.ignoreCase},a=t.originMap.get(e);return a&&(i.hidden=!0,s>a.number&&(i.transferTo=a.number)),t.captureMap.set(s,i),`(${r?`?<${r}>`:""}${o.map(n).join("|")})`}function fS({value:e},t){const n=Ie(e),r=Qn(e,{isAfterBackref:t.lastNode.type===R.Backreference,inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&vl(n)){const s=Hd(n);return t.inCharClass?s.join(""):s.length>1?`[${s.join("")}]`:s[0]}return n}function hS({negate:e,parent:t,elements:n},r,s){var a;yr.literalHyphenIncorrectlyCreatesRange&&r.useFlagV&&n.some(ku)&&(n=n.filter(l=>!ku(l)),n.push(bl(45)));const o=()=>`[${e?"^":""}${n.map(s).join("")}]`;if(!r.inCharClass){r.inCharClass=!0;const l=o();return r.inCharClass=!1,l}const i=(a=n[0])==null?void 0:a.type;if(!e&&i&&((!r.useFlagV||!r.verbose)&&t.type===R.CharacterClass&&i!==R.CharacterClassIntersection&&!(yr.literalHyphenIncorrectlyCreatesRange&&r.useFlagV)||!r.verbose&&t.type===R.CharacterClassIntersection&&n.length===1&&i!==R.CharacterClass&&i!==R.CharacterClassRange))return n.map(s).join("");if(!r.useFlagV&&t.type===R.CharacterClass)throw new Error("Use of nested character class requires min target ES2024");return o()}function dS(e,t){const n=e.min.value,r=e.max.value,s={isAfterBackref:!1,inCharClass:!0,useFlagV:t.useFlagV},o=Qn(n,s),i=Qn(r,s),a=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const l=up(e);_S(l).forEach(u=>{a.add(Array.isArray(u)?`${Qn(u[0],s)}-${Qn(u[1],s)}`:Qn(u,s))})}return`${o}-${i}${[...a].join("")}`}function pS({kind:e,negate:t,value:n,key:r},s){if(e===Ae.dot)return s.currentFlags.dotAll?s.appliedGlobalFlags.dotAll||s.useFlagMods?".":"[^]":q`[^\n]`;if(e===Ae.digit)return t?q`\D`:q`\d`;if(e===Ae.property){if(s.useAppliedIgnoreCase&&s.currentFlags.ignoreCase&&Wd.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?q`\P`:q`\p`}{${r?`${r}=`:""}${n}}`}if(e===Ae.word)return t?q`\W`:q`\w`;throw new Error(`Unexpected character set kind "${e}"`)}function gS(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")}function mS({atomic:e,flags:t,parent:n,alternatives:r},s,o){const i=s.currentFlags;t&&(s.currentFlags=_o(i,t));const a=r.map(o).join("|"),l=!s.verbose&&r.length===1&&n.type!==R.Quantifier&&!e&&(!s.useFlagMods||!t)?a:`(?${bS(e,t,s.useFlagMods)}${a})`;return s.currentFlags=i,l}function yS({ref:e},t){const n=t.recursionLimit;return e===0?`(?R=${n})`:q`\g<${e}&R=${n}>`}function up(e,t){const n=!!(t!=null&&t.firstOnly),r=e.min.value,s=e.max.value,o=[];if(r<65&&(s===65535||s>=131071)||r===65536&&s>=131071)return o;for(let i=r;i<=s;i++){const a=Ie(i);if(!vl(a))continue;const l=Hd(a).filter(c=>{const u=c.codePointAt(0);return u<r||u>s});if(l.length&&(o.push(...l),n))break}return o}function Qn(e,{isAfterBackref:t,inCharClass:n,useFlagV:r}){if(xu.has(e))return xu.get(e);if(e<32||e>126&&e<160||e>262143||t&&vS(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const s=n?r?iS:oS:sS,o=Ie(e);return(s.has(o)?"\\":"")+o}function _S(e){const t=e.map(s=>s.codePointAt(0)).sort((s,o)=>s-o),n=[];let r=null;for(let s=0;s<t.length;s++)t[s+1]===t[s]+1?r??(r=t[s]):r===null?n.push(t[s]):(n.push([r,t[s]]),r=null);return n}function bS(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:s,disable:o}=t;r=(s!=null&&s.ignoreCase?"i":"")+(s!=null&&s.dotAll?"s":"")+(o?"-":"")+(o!=null&&o.ignoreCase?"i":"")+(o!=null&&o.dotAll?"s":"")}return`${r}:`}function wS({min:e,max:t,greedy:n,possessive:r}){let s;return!e&&t===1?s="?":!e&&t===1/0?s="*":e===1&&t===1/0?s="+":e===t?s=`{${e}}`:s=`{${e},${t===1/0?"":t}}`,s+(r?"+":n?"":"?")}function vS(e){return e>47&&e<58}function ku({type:e,value:t}){return e===R.Character&&t===45}var nn,Ut,Pn,rn,$n,os,Aa,un,CS=(un=class extends RegExp{constructor(n,r,s){var t=(...Qk)=>(super(...Qk),vn(this,os),vn(this,nn,new Map),vn(this,Ut,null),vn(this,Pn),vn(this,rn,null),vn(this,$n,null),k(this,"rawOptions",{}),this);const o=!!(s!=null&&s.lazyCompile);if(n instanceof RegExp){if(s)throw new Error("Cannot provide options when copying a regexp");const i=n;t(i,r),yt(this,Pn,i.source),i instanceof un&&(yt(this,nn,qe(i,nn)),yt(this,rn,qe(i,rn)),yt(this,$n,qe(i,$n)),this.rawOptions=i.rawOptions)}else{const i={hiddenCaptures:[],strategy:null,transfers:[],...s};t(o?"":n,r),yt(this,Pn,n),yt(this,nn,xS(i.hiddenCaptures,i.transfers)),yt(this,$n,i.strategy),this.rawOptions=s??{}}o||yt(this,Ut,this)}get source(){return qe(this,Pn)||"(?:)"}exec(n){if(!qe(this,Ut)){const{lazyCompile:o,...i}=this.rawOptions;yt(this,Ut,new un(qe(this,Pn),this.flags,i))}const r=this.global||this.sticky,s=this.lastIndex;if(qe(this,$n)==="clip_search"&&r&&s){this.lastIndex=0;const o=Zo(this,os,Aa).call(this,n.slice(s));return o&&(SS(o,s,n,this.hasIndices),this.lastIndex+=s),o}return Zo(this,os,Aa).call(this,n)}},nn=new WeakMap,Ut=new WeakMap,Pn=new WeakMap,rn=new WeakMap,$n=new WeakMap,os=new WeakSet,Aa=function(n){qe(this,Ut).lastIndex=this.lastIndex;const r=El(un.prototype,this,"exec").call(qe(this,Ut),n);if(this.lastIndex=qe(this,Ut).lastIndex,!r||!qe(this,nn).size)return r;const s=[...r];r.length=1;let o;this.hasIndices&&(o=[...r.indices],r.indices.length=1);const i=[0];for(let a=1;a<s.length;a++){const{hidden:l,transferTo:c}=qe(this,nn).get(a)??{};if(l?i.push(null):(i.push(r.length),r.push(s[a]),this.hasIndices&&r.indices.push(o[a])),c&&s[a]!==void 0){const u=Ot(i[c]);if(r[u]=s[a],this.hasIndices&&(r.indices[u]=o[a]),r.groups){qe(this,rn)||yt(this,rn,kS(this.source));const f=qe(this,rn).get(c);f&&(r.groups[f]=s[a],this.hasIndices&&(r.indices.groups[f]=o[a]))}}}return r},un);function SS(e,t,n,r){if(e.index+=t,e.input=n,r){const s=e.indices;for(let i=0;i<s.length;i++){const a=s[i];a&&(s[i]=[a[0]+t,a[1]+t])}const o=s.groups;o&&Object.keys(o).forEach(i=>{const a=o[i];a&&(o[i]=[a[0]+t,a[1]+t])})}}function xS(e,t){const n=new Map;for(const r of e)n.set(r,{hidden:!0});for(const[r,s]of t)for(const o of s)_r(n,o,{}).transferTo=r;return n}function kS(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,s=0,o;for(;o=t.exec(e);){const{0:i,groups:{capture:a,name:l}}=o;i==="["?r++:r?i==="]"&&r--:a&&(s++,l&&n.set(s,l))}return n}function AS(e,t){const n=ES(e,t);return n.options?new CS(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function ES(e,t){const n=Fd(t),r=Kd(e,n.flags,{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}),s=Yd(r,{skipBackrefValidation:n.rules.allowOrphanBackrefs,verbose:n.verbose}),o=K1(s,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),i=nS(o,n),a=t1(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:"external"}),l=ZC(a.pattern),c=YC(l.pattern,{captureTransfers:a.captureTransfers,hiddenCaptures:a.hiddenCaptures}),u={pattern:c.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${i.flags}${i.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const f=c.hiddenCaptures.sort((g,y)=>g-y),h=Array.from(c.captureTransfers),d=o._strategy,p=u.pattern.length>=n.lazyCompileLength;(f.length||h.length||d||p)&&(u.options={...f.length&&{hiddenCaptures:f},...h.length&&{transfers:h},...d&&{strategy:d},...p&&{lazyCompile:p}})}return u}const Au=4294967295;class TS{constructor(t,n={}){k(this,"regexps");this.patterns=t,this.options=n;const{forgiving:r=!1,cache:s,regexConstructor:o}=n;if(!o)throw new Error("Option `regexConstructor` is not provided");this.regexps=t.map(i=>{if(typeof i!="string")return i;const a=s==null?void 0:s.get(i);if(a){if(a instanceof RegExp)return a;if(r)return null;throw a}try{const l=o(i);return s==null||s.set(i,l),l}catch(l){if(s==null||s.set(i,l),r)return null;throw l}})}findNextMatchSync(t,n,r){const s=typeof t=="string"?t:t.content,o=[];function i(a,l,c=0){return{index:a,captureIndices:l.indices.map(u=>u==null?{start:Au,end:Au,length:0}:{start:u[0]+c,end:u[1]+c,length:u[1]-u[0]})}}for(let a=0;a<this.regexps.length;a++){const l=this.regexps[a];if(l)try{l.lastIndex=n;const c=l.exec(s);if(!c)continue;if(c.index===n)return i(a,c,0);o.push([a,c,0])}catch(c){if(this.options.forgiving)continue;throw c}}if(o.length){const a=Math.min(...o.map(l=>l[1].index));for(const[l,c,u]of o)if(c.index===a)return i(l,c,u)}return null}}function RS(e,t){return AS(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function PS(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||(t.regexConstructor=n=>RS(n,{target:t.target})),{createScanner(n){return new TS(n,t)},createString(n){return{content:n}}}}let $S;const Tr=[];function NS(e){if(Tr.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Tr.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&Tr.forEach(n=>n(t))},get(){return $S.value},configurable:!0}),()=>{Tr.splice(Tr.indexOf(e),1)}}const Je=Ee(null);async function fp(){Ea.value&&(Je.value=await Ea.value("/__sitemap__/debug.json"))}const Ea=Ee(),hp=Ee(),dp=Ee();NS(async e=>{Ea.value=e.host.app.$fetch,If(()=>{dp.value=e.host.app.colorMode.value}),hp.value=e.devtools,fp()});const pp=Ee();function IS(){return zC({themes:[Dr(()=>import("./CVO1_9PV.js"),[],import.meta.url),Dr(()=>import("./D0r3Knsf.js"),[],import.meta.url)],langs:[Dr(()=>import("./BQoSv7ci.js"),[],import.meta.url)],engine:PS()}).then(e=>{pp.value=e})}function gp(e,t){return Re(()=>{var r;const n=((r=hp.value)==null?void 0:r.colorMode)||"light";return pp.value.codeToHtml(on(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const OS=["innerHTML"],mp=et({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=Re(()=>{const r=gp(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,s)=>(U(),ne("pre",{class:Pe(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,OS))}}),LS={flex:"~ gap-3","items-center":""},MS=et({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(U(),ne("div",LS,[t.icon?(U(),ne("div",{key:0,class:Pe(t.icon)},null,2)):Fe("",!0),Ye(t.$slots,"default",{},()=>[L("div",null,De(t.text),1)])]))}});function DS(e){return Ia()?(Bp(e),!0):!1}const FS=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const HS=e=>typeof e<"u",BS=Object.prototype.toString,jS=e=>BS.call(e)==="[object Object]",GS=()=>{};function US(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const yp=e=>e();function WS(e=yp,t={}){const{initialState:n="active"}=t,r=VS(n==="active");function s(){r.value=!1}function o(){r.value=!0}const i=(...a)=>{r.value&&e(...a)};return{isActive:Ao(r),pause:s,resume:o,eventFilter:i}}function zS(e){return cs()}function Ii(e){return Array.isArray(e)?e:[e]}function VS(...e){if(e.length!==1)return nf(...e);const t=e[0];return typeof t=="function"?Ao(ug(()=>({get:t,set:GS}))):Ee(t)}function qS(e,t,n={}){const{eventFilter:r=yp,...s}=n;return an(e,US(r,t),s)}function KS(e,t,n={}){const{eventFilter:r,initialState:s="active",...o}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=WS(r,{initialState:s});return{stop:qS(e,t,{...o,eventFilter:i}),pause:a,resume:l,isActive:c}}function JS(e,t=!0,n){zS()?Wa(e,n):t?e():jn(e)}function XS(e,t,n){return an(e,t,{...n,immediate:!0})}const wo=FS?window:void 0;function QS(e){var t;const n=on(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Eu(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},r=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),s=Re(()=>{const a=Ii(on(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),o=XS(()=>{var a,l;return[(l=(a=s.value)==null?void 0:a.map(c=>QS(c)))!=null?l:[wo].filter(c=>c!=null),Ii(on(s.value?e[1]:e[0])),Ii(ae(s.value?e[2]:e[1])),on(s.value?e[3]:e[2])]},([a,l,c,u])=>{if(n(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(c!=null&&c.length))return;const f=jS(u)?{...u}:u;t.push(...a.flatMap(h=>l.flatMap(d=>c.map(p=>r(h,d,p,f)))))},{flush:"post"}),i=()=>{o(),n()};return DS(n),i}function YS(e){return JSON.parse(JSON.stringify(e))}const Rs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ps="__vueuse_ssr_handlers__",ZS=ex();function ex(){return Ps in Rs||(Rs[Ps]=Rs[Ps]||{}),Rs[Ps]}function tx(e,t){return ZS[e]||t}function nx(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 rx={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()}},Tu="vueuse-storage";function sx(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=wo,eventFilter:h,onError:d=D=>{console.error(D)},initOnMounted:p}=r,g=(u?Fi:Ee)(t),y=Re(()=>on(e));if(!n)try{n=tx("getDefaultStorage",()=>{var D;return(D=wo)==null?void 0:D.localStorage})()}catch(D){d(D)}if(!n)return g;const _=on(t),v=nx(_),m=(s=r.serializer)!=null?s:rx[v],{pause:w,resume:C}=KS(g,()=>x(g.value),{flush:o,deep:i,eventFilter:h});an(y,()=>F(),{flush:o}),f&&a&&JS(()=>{n instanceof Storage?Eu(f,"storage",F,{passive:!0}):Eu(f,Tu,I),p&&F()}),p||F();function E(D,G){if(f){const X={key:y.value,oldValue:D,newValue:G,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",X):new CustomEvent(Tu,{detail:X}))}}function x(D){try{const G=n.getItem(y.value);if(D==null)E(G,null),n.removeItem(y.value);else{const X=m.write(D);G!==X&&(n.setItem(y.value,X),E(G,X))}}catch(G){d(G)}}function M(D){const G=D?D.newValue:n.getItem(y.value);if(G==null)return l&&_!=null&&n.setItem(y.value,m.write(_)),_;if(!D&&c){const X=m.read(G);return typeof c=="function"?c(X,_):v==="object"&&!Array.isArray(X)?{..._,...X}:X}else return typeof G!="string"?G:m.read(G)}function F(D){if(!(D&&D.storageArea!==n)){if(D&&D.key==null){g.value=_;return}if(!(D&&D.key!==y.value)){w();try{(D==null?void 0:D.newValue)!==m.write(g.value)&&(g.value=M(D))}catch(G){d(G)}finally{D?jn(C):C()}}}}function I(D){F(D.detail)}return g}function ox(e,t,n={}){const{window:r=wo}=n;return sx(e,t,r==null?void 0:r.localStorage,n)}function ix(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:h}=r,d=cs(),p=(d==null?void 0:d.emit)||((s=d==null?void 0:d.$emit)==null?void 0:s.bind(d))||((i=(o=d==null?void 0:d.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(d==null?void 0:d.proxy));let g=c;g=g||`update:${t.toString()}`;const y=m=>a?typeof a=="function"?a(m):YS(m):m,_=()=>HS(e[t])?y(e[t]):f,v=m=>{h?h(m)&&p(g,m):p(g,m)};if(l){const m=_(),w=Ee(m);let C=!1;return an(()=>e[t],E=>{C||(C=!0,w.value=y(E),jn(()=>C=!1))}),an(w,E=>{!C&&(E!==e[t]||u)&&v(E)},{deep:u}),w}else return Re({get(){return _()},set(m){v(m)}})}const ax=["open"],lx={"text-base":""},cx={key:0,"text-sm":"",op50:""},ux=et({__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=ix(e,"open");function r(s){n.value=s.target.open}return(s,o)=>{const i=al,a=MS;return U(),ne(Se,null,[L("details",{open:ae(n),onToggle:r},[L("summary",{class:Pe(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",s.collapse?"":"pointer-events-none"])},[K(a,{icon:s.icon,text:s.text,"text-xl":"",transition:"",class:Pe([ae(n)?"op100":"op60",s.headerClass])},{default:ie(()=>[L("div",null,[L("div",lx,[Ye(s.$slots,"text",{},()=>[ce(De(s.text),1)],!0)]),s.description||s.$slots.description?(U(),ne("div",cx,[Ye(s.$slots,"description",{},()=>[ce(De(s.description),1)],!0)])):Fe("",!0)]),o[0]||(o[0]=L("div",{class:"flex-auto"},null,-1)),Ye(s.$slots,"actions",{},void 0,!0),s.collapse?(U(),xe(i,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):Fe("",!0)]),_:3},8,["icon","text","class"])],2),L("div",{class:Pe(["flex flex-col flex-gap2 pb6 pt2",typeof s.padding=="string"?s.padding:s.padding?"px4":""])},[Ye(s.$slots,"details",{},void 0,!0),L("div",{class:Pe([s.containerClass,"mt1"])},[Ye(s.$slots,"default",{},void 0,!0)],2),Ye(s.$slots,"footer",{},void 0,!0)],2)],40,ax),o[1]||(o[1]=L("div",{class:"x-divider"},null,-1))],64)}}}),_p=Uo(ux,[["__scopeId","data-v-1b9488bc"]]),fx={class:"flex space-x-5"},hx={class:"opacity-80 text-base mb-1 flex space-x-3 items-center"},dx={key:0,class:"flex space-x-2"},px={key:0,class:"opacity-60 text-sm"},gx={class:"flex items-center space-x-3"},mx={key:0},yx={key:1,class:"text-xs mt-1 opacity-70"},_x={key:0},bx={key:2,class:"px-3 py-3 mt-2 dark:bg-gray-900/50 bg-gray-50/50 opacity-70"},wx={class:"list-disc ml-5"},vx=["innerHTML"],Cx=et({__name:"Source",props:{source:{},showContext:{type:Boolean}},setup(e){const t=e,n=Re(()=>{var o;const s=typeof t.source.fetch=="string"?t.source.fetch:t.source.fetch[0];return s.includes("http")?s:wr(((o=Je.value)==null?void 0:o.nitroOrigin)||"localhost",s)});function r(s){return s.replace(/`([^`]+)`/g,"<code>$1</code>")}return(s,o)=>{const i=al,a=Jh,l=Qh,c=mp,u=_p;return U(),xe(u,null,{text:ie(()=>[L("div",fx,[L("h3",hx,[s.source.fetch?(U(),ne("div",dx,[K(i,{icon:"carbon:api-1",class:"opacity-50 text-lg"}),s.source.timeTakenMs?(U(),ne("div",px,De(s.source.timeTakenMs)+"ms ",1)):Fe("",!0)])):Fe("",!0),L("div",null,De(s.source.context.name),1),L("div",null,[K(a,null,{default:ie(()=>{var f;return[ce(De(((f=s.source.urls)==null?void 0:f.length)||0),1)]}),_:1})])])])]),description:ie(()=>[L("div",gx,[s.source.fetch?(U(),ne("div",mx,[K(l,{href:ae(n),target:"_blank"},{default:ie(()=>[ce(De(s.source.fetch),1)]),_:1},8,["href"])])):Fe("",!0),s.source.context.description?(U(),ne("div",yx,De(s.source.context.description),1)):Fe("",!0)])]),default:ie(()=>{var f;return[s.source.error?(U(),ne("div",_x,[K(i,{icon:"carbon:warning",class:"text-red-500"}),ce(" "+De(s.source.error),1)])):(U(),xe(c,{key:1,class:"max-h-[250px] overflow-y-auto",code:JSON.stringify(s.source.urls,null,2),lang:"json"},null,8,["code"])),(f=s.source.context.tips)!=null&&f.length?(U(),ne("div",bx,[o[0]||(o[0]=L("h3",{class:"text-sm font-bold mb-1"}," Hints ",-1)),L("ul",wx,[(U(!0),ne(Se,null,Jn(s.source.context.tips,(h,d)=>(U(),ne("li",{key:d,class:"text-sm opacity-80 mb-1",innerHTML:r(h)},null,8,vx))),128))])])):Fe("",!0)]}),_:1})}}}),Sx={class:"relative n-bg-base flex flex-col"},xx={class:"sticky top-0 z-2 px-4 pt-4"},kx={class:"flex justify-between items-start",mb2:""},Ax={class:"flex space-x-5"},Ex={"text-xl":"",flex:"","items-center":"","gap-2":""},Tx={class:"flex items-center space-x-3 text-xl"},Rx={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},Px={class:"px-5 py-2"},$x={"text-lg":"",flex:"","items-center":""},Nx={class:"px-5 py-2"},Ix={"text-lg":"",flex:"","items-center":""},Ox={class:"px-5 py-2"},Lx={"text-lg":"",flex:"","items-center":""},Mx={class:"px-5 py-2"},Dx={"text-lg":"",flex:"","items-center":""},Fx={class:"px-5 py-2"},Hx={"text-lg":"",flex:"","items-center":""},Bx=["value","title"],jx={class:"items-center space-x-3 hidden lg:flex"},Gx={class:"opacity-80 text-sm"},Ux={class:"opacity-80 text-sm"},Wx={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},zx={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},Vx={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},qx={key:0,class:"space-y-5"},Kx={class:"opacity-80 text-base mb-1"},Jx={class:"px-3 py-2 space-y-5"},Xx={key:0},Qx={class:"text-sm opacity-70"},Yx={key:0,class:"flex space-x-5"},Zx={class:"flex-grow"},ek={class:"flex space-x-5"},tk={class:"flex-grow flex flex-col justify-center"},nk={key:0,class:"opacity-70"},rk={key:1,class:"opacity-70"},sk={class:"opacity-50 text-xs mt-2"},ok={class:"flex space-x-5"},ik={class:"n-bg-base/20 flex-grow"},ak={key:1,class:"space-y-5"},lk={key:2,class:"space-y-5"},ck={key:3,class:"h-full max-h-full overflow-hidden"},uk={class:"opacity-80 text-base mb-1"},fk={class:"px-3 py-2 space-y-5"},hk={key:4,class:"h-full max-h-full overflow-hidden"},dk=et({__name:"app",async setup(e){let t,n;[t,n]=Bg(()=>IS()),await t,n();const r=Ee(!1);async function s(){r.value=!0,Je.value=null,await fp(),setTimeout(()=>{r.value=!1},300)}const o=ox("@nuxtjs/sitemap:tab","sitemaps");function i(f){return Je.value?f==="sitemap"||f==="sitemap.xml"?`${Je.value.nitroOrigin}sitemap.xml`:f==="index"?`${Je.value.nitroOrigin}sitemap_index.xml`:`${Je.value.nitroOrigin}${f}-sitemap.xml`:""}function a(f){const h={};return Object.entries(f).forEach(([d,p])=>{p!==void 0&&(!Array.isArray(p)||p.length>0)&&d!=="includeAppSources"&&(h[d]=p)}),h}f0({htmlAttrs:{class:()=>dp.value||""}});const l=Re(()=>{var f,h;return((h=(f=Je.value)==null?void 0:f.runtimeConfig)==null?void 0:h.excludeAppSources)||[]}),c=Re(()=>{var f;return(((f=Je.value)==null?void 0:f.globalSources)||[]).filter(h=>h.sourceType==="app")}),u=Re(()=>{var f;return(((f=Je.value)==null?void 0:f.globalSources)||[]).filter(h=>h.sourceType==="user")});return(f,h)=>{var E;const d=al,p=Jh,g=dn("VTooltip"),y=Qh,_=Zb,v=sw,m=Cx,w=mp,C=_p;return U(),ne("div",Sx,[L("header",xx,[L("div",kx,[L("div",Ax,[L("h1",Ex,[K(d,{icon:"carbon:load-balancer-application",class:"text-blue-300"}),h[2]||(h[2]=ce(" Sitemap ")),K(p,{class:"text-sm"},{default:ie(()=>{var x,M;return[ce(De((M=(x=ae(Je))==null?void 0:x.runtimeConfig)==null?void 0:M.version),1)]}),_:1})])]),L("div",Tx,[L("fieldset",Rx,[(U(),ne(Se,null,Jn(["sitemaps","user-sources","app-sources","debug","docs"],(x,M)=>L("label",{key:M,class:Pe(["relative n-border-base hover:n-bg-active cursor-pointer",[M?"border-l n-border-base ml--1px":"",x===ae(o)?"n-bg-active":""]])},[x==="sitemaps"?(U(),ne("div",{key:0,class:Pe([x===ae(o)?"":"op35"])},[K(g,null,{popper:ie(()=>h[3]||(h[3]=[ce(" Sitemaps ")])),default:ie(()=>[L("div",Px,[L("h2",$x,[K(d,{icon:"carbon:load-balancer-application opacity-50"}),K(p,{class:"text-sm"},{default:ie(()=>{var F;return[ce(De(Object.keys(((F=ae(Je))==null?void 0:F.sitemaps)||{}).length||0),1)]}),_:1})])])]),_:1})],2)):Fe("",!0),x==="user-sources"?(U(),ne("div",{key:1,class:Pe([x===ae(o)?"":"op35"])},[K(g,null,{popper:ie(()=>h[4]||(h[4]=[ce(" User Sources ")])),default:ie(()=>[L("div",Nx,[L("h2",Ix,[K(d,{icon:"carbon:group-account opacity-50"}),K(p,{class:"text-sm"},{default:ie(()=>[ce(De(u.value.length),1)]),_:1})])])]),_:1})],2)):Fe("",!0),x==="app-sources"?(U(),ne("div",{key:2,class:Pe([x===ae(o)?"":"op35"])},[K(g,null,{popper:ie(()=>h[5]||(h[5]=[ce(" App Sources ")])),default:ie(()=>[L("div",Ox,[L("h2",Lx,[K(d,{icon:"carbon:bot opacity-50"}),K(p,{class:"text-sm"},{default:ie(()=>[ce(De(c.value.length),1)]),_:1})])])]),_:1})],2)):x==="debug"?(U(),ne("div",{key:3,class:Pe([x===ae(o)?"":"op35"])},[K(g,null,{popper:ie(()=>h[6]||(h[6]=[ce(" Debug ")])),default:ie(()=>[L("div",Mx,[L("h2",Dx,[K(d,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):x==="docs"?(U(),ne("div",{key:4,class:Pe([x===ae(o)?"":"op35"])},[K(g,null,{popper:ie(()=>h[7]||(h[7]=[ce(" Documentation ")])),default:ie(()=>[L("div",Fx,[L("h2",Hx,[K(d,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):Fe("",!0),Sg(L("input",{"onUpdate:modelValue":h[0]||(h[0]=F=>$e(o)?o.value=F:null),type:"radio",value:x,title:x,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,Bx),[[Xm,ae(o)]])],2)),64))]),K(g,null,{popper:ie(()=>h[8]||(h[8]=[ce(" Refresh ")])),default:ie(()=>[L("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:s},[K(d,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),L("div",jx,[L("div",Gx,[K(y,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:ie(()=>[K(d,{icon:"carbon:favorite",class:"mr-[2px]"}),h[9]||(h[9]=ce(" Sponsor "))]),_:1})]),L("div",Ux,[K(y,{href:"https://github.com/nuxt-modules/sitemap",target:"_blank"},{default:ie(()=>[K(d,{icon:"logos:github-icon",class:"mr-[2px]"}),h[10]||(h[10]=ce(" Submit an issue "))]),_:1})]),L("a",Wx,[K(_)])])])]),L("div",zx,[L("main",Vx,[!((E=ae(Je))!=null&&E.globalSources)||r.value?(U(),xe(v,{key:0})):(U(),ne(Se,{key:1},[ae(o)==="sitemaps"?(U(),ne("div",qx,[h[23]||(h[23]=L("div",null,[L("h2",{class:"text-lg mb-1"}," Sitemaps "),L("p",{"text-xs":"",op60:""}," The sitemaps generated from your site. ")],-1)),(U(!0),ne(Se,null,Jn(ae(Je).sitemaps,(x,M)=>(U(),xe(C,{key:M},{text:ie(()=>[L("h3",Kx,[ce(De(x.sitemapName)+" ",1),(x.sources||[]).some(F=>!!F.error)?(U(),xe(d,{key:0,icon:"carbon:warning",class:"text-red-500"})):Fe("",!0)])]),description:ie(()=>[K(y,{target:"_blank",href:i(x.sitemapName)},{default:ie(()=>[ce(De(i(x.sitemapName)),1)]),_:2},1032,["href"])]),default:ie(()=>[L("div",Jx,[x.sitemapName==="index"?(U(),ne("div",Xx,[h[14]||(h[14]=L("div",{class:"text-sm mb-1 opacity-80"}," This is a special sitemap file that links to your other sitemaps. ",-1)),L("div",Qx,[h[12]||(h[12]=ce(" You can learn about this on the ")),K(y,{underline:"",target:"_blank",href:"https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps"},{default:ie(()=>h[11]||(h[11]=[ce(" Google Search Central ")])),_:1}),h[13]||(h[13]=ce(". "))])])):(U(),ne(Se,{key:1},[x.sources&&x.sources.length?(U(),ne("div",Yx,[h[15]||(h[15]=L("div",{class:"w-40"},[L("div",{class:"font-bold text-sm mb-1"}," Sources "),L("div",{class:"opacity-40 text-xs max-w-60"},[ce(" Local sources associated with just this sitemap."),L("br"),ce("Example: Load in a dynamic list of URLs from an API endpoint. ")])],-1)),L("div",Zx,[(U(!0),ne(Se,null,Jn(x.sources,(F,I)=>(U(),xe(m,{key:I,source:F},null,8,["source"]))),128))])])):Fe("",!0),L("div",ek,[h[21]||(h[21]=L("div",{class:"w-40"},[L("div",{class:"font-bold text-sm mb-1"}," App Sources "),L("div",{class:"opacity-40 text-xs max-w-60"},[ce(" Configured with the "),L("code",null,"includeAppSources"),ce(" option. ")])],-1)),L("div",tk,[x.includeAppSources&&l.value!==!0?(U(),ne("div",nk,[K(d,{icon:"carbon:checkmark",class:"text-green-500 text-lg"}),h[16]||(h[16]=ce(" Enabled "))])):(U(),ne("div",rk,[K(d,{icon:"carbon:close",class:"text-red-500 text-lg"}),h[17]||(h[17]=ce(" Disabled "))])),L("div",sk,[h[19]||(h[19]=ce(" Switch to ")),K(y,{underline:"",class:"cursor-pointer",onClick:h[1]||(h[1]=F=>o.value="app-sources")},{default:ie(()=>h[18]||(h[18]=[ce(" App sources ")])),_:1}),h[20]||(h[20]=ce(" to learn more. "))])])]),L("div",ok,[h[22]||(h[22]=L("div",{class:"w-40"},[L("div",{class:"font-bold text-sm mb-1"}," Sitemap Options "),L("div",{class:"opacity-40 text-xs max-w-60"}," Extra options used to filter the URLs on the final sitemap and set defaults. ")],-1)),L("div",ik,[K(w,{class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(a(x),null,2),lang:"json"},null,8,["code"])])])],64))])]),_:2},1024))),128))])):ae(o)==="app-sources"?(U(),ne("div",ak,[h[24]||(h[24]=L("div",null,[L("h2",{class:"text-lg mb-1"}," App Sources "),L("p",{"text-xs":"",op60:""}," Automatic global sources generated from your application. ")],-1)),(U(!0),ne(Se,null,Jn(c.value,(x,M)=>(U(),xe(m,{key:M,source:x},null,8,["source"]))),128))])):ae(o)==="user-sources"?(U(),ne("div",lk,[h[25]||(h[25]=L("div",null,[L("h2",{class:"text-lg mb-1"}," User Sources "),L("p",{"text-xs":"",op60:""}," Manually provided global sources provided by you. ")],-1)),(U(!0),ne(Se,null,Jn(u.value,(x,M)=>(U(),xe(m,{key:M,source:x},null,8,["source"]))),128))])):ae(o)==="debug"?(U(),ne("div",ck,[K(C,null,{text:ie(()=>[L("h3",uk,[K(d,{icon:"carbon:settings",class:"mr-1"}),h[26]||(h[26]=ce(" Runtime Config "))])]),default:ie(()=>{var x;return[L("div",fk,[K(w,{code:ae(gp)(JSON.stringify((x=ae(Je))==null?void 0:x.runtimeConfig,null,2),"json").value,lang:"json"},null,8,["code"])])]}),_:1})])):ae(o)==="docs"?(U(),ne("div",hk,h[27]||(h[27]=[L("iframe",{src:"https://nuxtseo.com/sitemap",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1)]))):Fe("",!0)],64))])])])}}}),pk={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
170
+ `).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(`
171
+ `);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=s?Ll(()=>Dr(()=>import("./UpqtqjC-.js"),__vite__mapDeps([0,1]),import.meta.url)):Ll(()=>Dr(()=>import("./D5OmRZJK.js"),__vite__mapDeps([2,3]),import.meta.url));return(f,h)=>(U(),xe(ae(u),Lu(Ka({statusCode:ae(r),statusMessage:ae(o),description:ae(i),stack:ae(a)})),null,16))}},gk={key:0},Ru={__name:"nuxt-root",setup(e){const t=()=>null,n=Ne(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Mt().beforeEach(l)}const s=!1;bf(ph,gh()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const o=Ya(),i=!1;ff((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),A_(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>x_(l)),!1});const a=!1;return(l,c)=>(U(),xe(dm,{onResolve:ae(r)},{default:ie(()=>[ae(i)?(U(),ne("div",gk)):ae(o)?(U(),xe(ae(pk),{key:1,error:ae(o)},null,8,["error"])):ae(a)?(U(),xe(ae(t),{key:2,context:ae(a)},null,8,["context"])):ae(s)?(U(),xe(Fg(ae(s)),{key:3})):(U(),xe(ae(dk),{key:4}))]),_:1},8,["onResolve"]))}};let Pu;{let e;Pu=async function(){var i,a;if(e)return e;const r=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?ny(Ru):qf(Ru),s=f_({vueApp:r});async function o(l){var c;await s.callHook("app:error",l),(c=s.payload).error||(c.error=Za(l))}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)});try{await p_(s,Hb)}catch(l){o(l)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(l_),await s.hooks.callHook("app:mounted",r),await jn()}catch(l){o(l)}return r},e=Pu().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Uo as _,L as a,K as b,ne as c,ce as d,zb as e,U as o,De as t,f0 as u,ie as w};