@ghfs/cli 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/README.md +41 -1
  2. package/dist/cli.mjs +5718 -559
  3. package/dist/factory-UMSInaa_.mjs +1166 -0
  4. package/dist/index.d.mts +363 -2
  5. package/dist/index.mjs +1 -1
  6. package/dist/ui/200.html +1 -1
  7. package/dist/ui/404.html +1 -1
  8. package/dist/ui/_nuxt/2UxHyX5q.js +1 -0
  9. package/dist/ui/_nuxt/32ctXXKs.js +1 -0
  10. package/dist/ui/_nuxt/3e1v2bzS.js +1 -0
  11. package/dist/ui/_nuxt/3t-6YNGz.js +1 -0
  12. package/dist/ui/_nuxt/4A_iFExJ.js +1 -0
  13. package/dist/ui/_nuxt/5VeTt0Ye.js +1 -0
  14. package/dist/ui/_nuxt/5i3qLPDT.js +1 -0
  15. package/dist/ui/_nuxt/85-TOEBH.js +1 -0
  16. package/dist/ui/_nuxt/B0m2ddpp.js +1 -0
  17. package/dist/ui/_nuxt/B0tHio-l.js +1 -0
  18. package/dist/ui/_nuxt/B1dDrJ26.js +1 -0
  19. package/dist/ui/_nuxt/B1yitclQ.js +1 -0
  20. package/dist/ui/_nuxt/B5q1GTce.js +1 -0
  21. package/dist/ui/_nuxt/B6aJPvgy.js +1 -0
  22. package/dist/ui/_nuxt/B7c-h3xW.js +1 -0
  23. package/dist/ui/_nuxt/B7mTdjB0.js +1 -0
  24. package/dist/ui/_nuxt/BA47KaF1.js +1 -0
  25. package/dist/ui/_nuxt/BBf5iR-q.js +1 -0
  26. package/dist/ui/_nuxt/BBxLfTx_.js +1 -0
  27. package/dist/ui/_nuxt/BDEKrZIi.js +1 -0
  28. package/dist/ui/_nuxt/BEDo0Tqx.js +1 -0
  29. package/dist/ui/_nuxt/BERRCDM3.js +1 -0
  30. package/dist/ui/_nuxt/BETggiCN.js +1 -0
  31. package/dist/ui/_nuxt/BEwlwnbL.js +1 -0
  32. package/dist/ui/_nuxt/BFfxhgS-.js +1 -0
  33. package/dist/ui/_nuxt/BGJmEYvX.js +1 -0
  34. package/dist/ui/_nuxt/BH7IYjvW.js +1 -0
  35. package/dist/ui/_nuxt/BIGW1oBm.js +1 -0
  36. package/dist/ui/_nuxt/BIv1doCn.js +1 -0
  37. package/dist/ui/_nuxt/BJDFO7_C.js +1 -0
  38. package/dist/ui/_nuxt/BM1_JUlF.js +1 -0
  39. package/dist/ui/_nuxt/BMKCr1FU.js +1 -0
  40. package/dist/ui/_nuxt/BMWR74SV.js +1 -0
  41. package/dist/ui/_nuxt/BO53GVu8.js +1 -0
  42. package/dist/ui/_nuxt/BPQ3VLAy.js +1 -0
  43. package/dist/ui/_nuxt/BQ8w6xss.js +1 -0
  44. package/dist/ui/_nuxt/BRHolxvo.js +1 -0
  45. package/dist/ui/_nuxt/BRZ36xJF.js +1 -0
  46. package/dist/ui/_nuxt/BTJTHyun.js +1 -0
  47. package/dist/ui/_nuxt/BTifaqeh.js +1 -0
  48. package/dist/ui/_nuxt/BUtzH8cE.js +1 -0
  49. package/dist/ui/_nuxt/BUw7H-hv.js +1 -0
  50. package/dist/ui/_nuxt/BV7otONQ.js +1 -0
  51. package/dist/ui/_nuxt/BVQ-GDCI.js +1 -0
  52. package/dist/ui/_nuxt/BVkGXMyj.js +1 -0
  53. package/dist/ui/_nuxt/BWvSN4gD.js +1 -0
  54. package/dist/ui/_nuxt/BXkSAIEj.js +1 -0
  55. package/dist/ui/_nuxt/BYunw83y.js +1 -0
  56. package/dist/ui/_nuxt/BZvkOJ9d.js +1 -0
  57. package/dist/ui/_nuxt/B_m7g4N7.js +1 -0
  58. package/dist/ui/_nuxt/BcOcwvcX.js +1 -0
  59. package/dist/ui/_nuxt/BcVCzyr7.js +1 -0
  60. package/dist/ui/_nuxt/BcllPdc-.js +1 -0
  61. package/dist/ui/_nuxt/BdImnpbu.js +1 -0
  62. package/dist/ui/_nuxt/BdnUsdx6.js +1 -0
  63. package/dist/ui/_nuxt/BeJSdlF9.js +1 -0
  64. package/dist/ui/_nuxt/BfHTSMKl.js +1 -0
  65. package/dist/ui/_nuxt/BfSCyJF4.js +1 -0
  66. package/dist/ui/_nuxt/BfjtVDDH.js +1 -0
  67. package/dist/ui/_nuxt/BgDCqdQA.js +1 -0
  68. package/dist/ui/_nuxt/BhOHFoWU.js +1 -0
  69. package/dist/ui/_nuxt/BkioyH1T.js +1 -0
  70. package/dist/ui/_nuxt/Bkuqu6BP.js +1 -0
  71. package/dist/ui/_nuxt/BmXAJ9_W.js +1 -0
  72. package/dist/ui/_nuxt/Bmn6On1c.js +1 -0
  73. package/dist/ui/_nuxt/Bp6g37R7.js +1 -0
  74. package/dist/ui/_nuxt/BqNa2AkI.js +1 -0
  75. package/dist/ui/_nuxt/BqTXFGrv.js +1 -0
  76. package/dist/ui/_nuxt/BqYA7rlc.js +1 -0
  77. package/dist/ui/_nuxt/Br6cN0cg.js +1 -0
  78. package/dist/ui/_nuxt/BsS91CYL.js +1 -0
  79. package/dist/ui/_nuxt/BshV_Xbc.js +1 -0
  80. package/dist/ui/_nuxt/BspZqrRM.js +1 -0
  81. package/dist/ui/_nuxt/BtCnVYZw.js +1 -0
  82. package/dist/ui/_nuxt/BtOb2qkB.js +1 -0
  83. package/dist/ui/_nuxt/BthQWCQV.js +1 -0
  84. package/dist/ui/_nuxt/BtqSS_iP.js +1 -0
  85. package/dist/ui/_nuxt/Buea-lGh.js +1 -0
  86. package/dist/ui/_nuxt/BvOdM423.js +1 -0
  87. package/dist/ui/_nuxt/Bv_4Rxtq.js +1 -0
  88. package/dist/ui/_nuxt/BvzEVeQv.js +1 -0
  89. package/dist/ui/_nuxt/Bw305WKR.js +1 -0
  90. package/dist/ui/_nuxt/BxgE0vQu.js +1 -0
  91. package/dist/ui/_nuxt/BzJJZx-M.js +1 -0
  92. package/dist/ui/_nuxt/Bzq9aFVy.js +1 -0
  93. package/dist/ui/_nuxt/C-SQnVFl.js +1 -0
  94. package/dist/ui/_nuxt/C0HS_06l.js +1 -0
  95. package/dist/ui/_nuxt/C0hk2d4L.js +1 -0
  96. package/dist/ui/_nuxt/C151Ov-r.js +1 -0
  97. package/dist/ui/_nuxt/C27-OAKa.js +1 -0
  98. package/dist/ui/_nuxt/C2t-YnRu.js +1 -0
  99. package/dist/ui/_nuxt/C39BiMTA.js +1 -0
  100. package/dist/ui/_nuxt/C3B-1QV4.js +1 -0
  101. package/dist/ui/_nuxt/C3Wv6jpd.js +1 -0
  102. package/dist/ui/_nuxt/C3mMm8J8.js +1 -0
  103. package/dist/ui/_nuxt/C4EeE6gA.js +1 -0
  104. package/dist/ui/_nuxt/C4IJs8-o.js +1 -0
  105. package/dist/ui/_nuxt/C4gqWexZ.js +1 -0
  106. package/dist/ui/_nuxt/C5BYcBs_.js +1 -0
  107. package/dist/ui/_nuxt/C5YyOfLZ.js +1 -0
  108. package/dist/ui/_nuxt/C7zT0LnQ.js +1 -0
  109. package/dist/ui/_nuxt/C8M2exoo.js +1 -0
  110. package/dist/ui/_nuxt/C8lEn-DE.js +1 -0
  111. package/dist/ui/_nuxt/C98Dy4si.js +1 -0
  112. package/dist/ui/_nuxt/C9dUb6Cb.js +1 -0
  113. package/dist/ui/_nuxt/C9oPPf7i.js +1 -0
  114. package/dist/ui/_nuxt/C9tS-k6U.js +1 -0
  115. package/dist/ui/_nuxt/CAFt9gP4.js +1 -0
  116. package/dist/ui/_nuxt/CBaQQc7g.js +1 -0
  117. package/dist/ui/_nuxt/CDBrVQLm.js +1 -0
  118. package/dist/ui/_nuxt/CDVJQ6XC.js +1 -0
  119. package/dist/ui/_nuxt/CDx5xZoG.js +1 -0
  120. package/dist/ui/_nuxt/CEL-wOlO.js +1 -0
  121. package/dist/ui/_nuxt/CEu0bR-o.js +1 -0
  122. package/dist/ui/_nuxt/CFHQjOhq.js +1 -0
  123. package/dist/ui/_nuxt/CG6Dc4jp.js +1 -0
  124. package/dist/ui/_nuxt/CH1njM8p.js +1 -0
  125. package/dist/ui/_nuxt/CHLpvVh8.js +1 -0
  126. package/dist/ui/_nuxt/CHM0blh-.js +1 -0
  127. package/dist/ui/_nuxt/CJc9bBzg.js +1 -0
  128. package/dist/ui/_nuxt/CKIfxQSi.js +1 -0
  129. package/dist/ui/_nuxt/CLj8gQPS.js +1 -0
  130. package/dist/ui/_nuxt/CLxacb5B.js +1 -0
  131. package/dist/ui/_nuxt/CMTm3GFP.js +1 -0
  132. package/dist/ui/_nuxt/CO1LY3CK.js +1 -0
  133. package/dist/ui/_nuxt/COkxafJQ.js +1 -0
  134. package/dist/ui/_nuxt/COt5Ahok.js +1 -0
  135. package/dist/ui/_nuxt/CRqJ_cUM.js +1 -0
  136. package/dist/ui/_nuxt/CS3Unz2-.js +1 -0
  137. package/dist/ui/_nuxt/CSXwinHm.js +1 -0
  138. package/dist/ui/_nuxt/CTRr51gU.js +1 -0
  139. package/dist/ui/_nuxt/CUuTKBJd.js +1 -0
  140. package/dist/ui/_nuxt/CV3vykTa.js +1 -0
  141. package/dist/ui/_nuxt/CVO1_9PV.js +1 -0
  142. package/dist/ui/_nuxt/CVdnzihN.js +1 -0
  143. package/dist/ui/_nuxt/CXtECtnM.js +1 -0
  144. package/dist/ui/_nuxt/CXvaQtF9.js +1 -0
  145. package/dist/ui/_nuxt/CYsAdtH9.js +1 -0
  146. package/dist/ui/_nuxt/CafNBF8u.js +1 -0
  147. package/dist/ui/_nuxt/CbFg5uaA.js +1 -0
  148. package/dist/ui/_nuxt/CbfX1IO0.js +1 -0
  149. package/dist/ui/_nuxt/CcsQSqEB.js +1 -0
  150. package/dist/ui/_nuxt/CeAyd5Ju.js +1 -0
  151. package/dist/ui/_nuxt/CeZK1NFH.js +1 -0
  152. package/dist/ui/_nuxt/CenWIFCC.js +1 -0
  153. package/dist/ui/_nuxt/CfQXZHmo.js +1 -0
  154. package/dist/ui/_nuxt/Cg-RD9OK.js +1 -0
  155. package/dist/ui/_nuxt/ChMvpjG-.js +1 -0
  156. package/dist/ui/_nuxt/ChS_g7wu.js +1 -0
  157. package/dist/ui/_nuxt/ChgxH8nk.js +1 -0
  158. package/dist/ui/_nuxt/Cj5Yp3dK.js +1 -0
  159. package/dist/ui/_nuxt/CkByrt1z.js +1 -0
  160. package/dist/ui/_nuxt/CkXjmgJE.js +1 -0
  161. package/dist/ui/_nuxt/CklMAg4u.js +1 -0
  162. package/dist/ui/_nuxt/Cmh6b_Ma.js +1 -0
  163. package/dist/ui/_nuxt/CnnmHF94.js +1 -0
  164. package/dist/ui/_nuxt/CnsnAmq5.js +1 -0
  165. package/dist/ui/_nuxt/Co6uUVPk.js +1 -0
  166. package/dist/ui/_nuxt/CoDkCxhg.js +1 -0
  167. package/dist/ui/_nuxt/Cp-IABpG.js +1 -0
  168. package/dist/ui/_nuxt/Cp8Y5tLI.js +1 -0
  169. package/dist/ui/_nuxt/Cq5zzVJU.js +1 -0
  170. package/dist/ui/_nuxt/CquLrc37.js +1 -0
  171. package/dist/ui/_nuxt/CrQuFoFY.js +1 -0
  172. package/dist/ui/_nuxt/Cs0ovY-E.js +1 -0
  173. package/dist/ui/_nuxt/CsfeWuGM.js +1 -0
  174. package/dist/ui/_nuxt/Csfq5Kiy.js +1 -0
  175. package/dist/ui/_nuxt/CuPHTKiy.js +1 -0
  176. package/dist/ui/_nuxt/CufHLc7y.js +1 -0
  177. package/dist/ui/_nuxt/Cuk6v7N8.js +1 -0
  178. package/dist/ui/_nuxt/Cvjx9yec.js +1 -0
  179. package/dist/ui/_nuxt/CwoSXNpI.js +1 -0
  180. package/dist/ui/_nuxt/CxGSJlkm.js +1 -0
  181. package/dist/ui/_nuxt/CxbxFI8M.js +1 -0
  182. package/dist/ui/_nuxt/CyktbL80.js +1 -0
  183. package/dist/ui/_nuxt/CylS5w8V.js +1 -0
  184. package/dist/ui/_nuxt/Cz2AlsmD.js +1 -0
  185. package/dist/ui/_nuxt/CzTSHFRz.js +1 -0
  186. package/dist/ui/_nuxt/D-2ljcwZ.js +1 -0
  187. package/dist/ui/_nuxt/D0YGMca9.js +1 -0
  188. package/dist/ui/_nuxt/D0jeqgqx.js +1 -0
  189. package/dist/ui/_nuxt/D0r3Knsf.js +1 -0
  190. package/dist/ui/_nuxt/D17OF-Vu.js +1 -0
  191. package/dist/ui/_nuxt/D1j8_8rp.js +1 -0
  192. package/dist/ui/_nuxt/D2j5LXpq.js +1 -0
  193. package/dist/ui/_nuxt/D3apom_0.js +1 -0
  194. package/dist/ui/_nuxt/D3lLCCz7.js +1 -0
  195. package/dist/ui/_nuxt/D4_iv3hh.js +1 -0
  196. package/dist/ui/_nuxt/D4h5O-jR.js +1 -0
  197. package/dist/ui/_nuxt/D5-asLiD.js +1 -0
  198. package/dist/ui/_nuxt/D53aC0YG.js +1 -0
  199. package/dist/ui/_nuxt/D5KoaKCx.js +1 -0
  200. package/dist/ui/_nuxt/D7o27uSR.js +1 -0
  201. package/dist/ui/_nuxt/D7oLnXFd.js +1 -0
  202. package/dist/ui/_nuxt/D82EKSYY.js +1 -0
  203. package/dist/ui/_nuxt/D82vCrfD.js +1 -0
  204. package/dist/ui/_nuxt/D87Tk5Gz.js +1 -0
  205. package/dist/ui/_nuxt/D8l8udqQ.js +1 -0
  206. package/dist/ui/_nuxt/D93ZcfNL.js +1 -0
  207. package/dist/ui/_nuxt/D97Zzqfu.js +1 -0
  208. package/dist/ui/_nuxt/DAi9KRSo.js +1 -0
  209. package/dist/ui/_nuxt/DCJHYwE6.js +67 -0
  210. package/dist/ui/_nuxt/DFQXde-d.js +1 -0
  211. package/dist/ui/_nuxt/DFWUc33u.js +1 -0
  212. package/dist/ui/_nuxt/DFXneXwc.js +1 -0
  213. package/dist/ui/_nuxt/DGztddWO.js +1 -0
  214. package/dist/ui/_nuxt/DH5Ifo-i.js +1 -0
  215. package/dist/ui/_nuxt/DHCkPAjA.js +1 -0
  216. package/dist/ui/_nuxt/DHJKELXO.js +1 -0
  217. package/dist/ui/_nuxt/DHQR4-dF.js +1 -0
  218. package/dist/ui/_nuxt/DMk3OuwW.js +1 -0
  219. package/dist/ui/_nuxt/DMkUaiYH.js +1 -0
  220. package/dist/ui/_nuxt/DMzUqQB5.js +1 -0
  221. package/dist/ui/_nuxt/DQyhUUbL.js +1 -0
  222. package/dist/ui/_nuxt/DRcdqDVD.js +1 -0
  223. package/dist/ui/_nuxt/DRg8JJMk.js +1 -0
  224. package/dist/ui/_nuxt/DRje8inN.js +1 -0
  225. package/dist/ui/_nuxt/DRw_LuNl.js +1 -0
  226. package/dist/ui/_nuxt/DS2KJUFh.js +1 -0
  227. package/dist/ui/_nuxt/DSSpBswy.js +1 -0
  228. package/dist/ui/_nuxt/DSvCPggb.js +1 -0
  229. package/dist/ui/_nuxt/DT3CNIhV.js +1 -0
  230. package/dist/ui/_nuxt/DToHIG1N.js +1 -0
  231. package/dist/ui/_nuxt/DUszq2jm.js +1 -0
  232. package/dist/ui/_nuxt/DV7GczEv.js +1 -0
  233. package/dist/ui/_nuxt/DVFEvuxE.js +1 -0
  234. package/dist/ui/_nuxt/DVMEJ2y_.js +1 -0
  235. package/dist/ui/_nuxt/DVxCFoDh.js +1 -0
  236. package/dist/ui/_nuxt/{BXG6gk4R.js → DWbelWgw.js} +1 -1
  237. package/dist/ui/_nuxt/DWedfzmr.js +1 -0
  238. package/dist/ui/_nuxt/DWrx1Km3.js +1 -0
  239. package/dist/ui/_nuxt/DXbdFlpD.js +1 -0
  240. package/dist/ui/_nuxt/DXmwc3jG.js +1 -0
  241. package/dist/ui/_nuxt/DXvB9xmW.js +1 -0
  242. package/dist/ui/_nuxt/DYE7WIF3.js +1 -0
  243. package/dist/ui/_nuxt/DZ9PSxVF.js +1 -0
  244. package/dist/ui/_nuxt/DZxFcAj9.js +1 -0
  245. package/dist/ui/_nuxt/D_Q5rh1f.js +1 -0
  246. package/dist/ui/_nuxt/Da5cRb03.js +1 -0
  247. package/dist/ui/_nuxt/Dc-5oQ3p.js +1 -0
  248. package/dist/ui/_nuxt/Dc-i7Zfu.js +1 -0
  249. package/dist/ui/_nuxt/DcWK9jms.js +1 -0
  250. package/dist/ui/_nuxt/DcaNXYhu.js +1 -0
  251. package/dist/ui/_nuxt/Dd19v3D-.js +1 -0
  252. package/dist/ui/_nuxt/DdkO51Og.js +1 -0
  253. package/dist/ui/_nuxt/Ddv68eIx.js +1 -0
  254. package/dist/ui/_nuxt/Des-eS-w.js +1 -0
  255. package/dist/ui/_nuxt/Df2X-ZUM.js +1 -0
  256. package/dist/ui/_nuxt/Df6bDoY_.js +1 -0
  257. package/dist/ui/_nuxt/DfNjGIrv.js +1 -0
  258. package/dist/ui/_nuxt/DhaVEd23.js +1 -0
  259. package/dist/ui/_nuxt/DhaYTIfE.js +1 -0
  260. package/dist/ui/_nuxt/DiuiI0_S.js +1 -0
  261. package/dist/ui/_nuxt/DjAJT7YJ.js +1 -0
  262. package/dist/ui/_nuxt/DkFqJrB1.js +1 -0
  263. package/dist/ui/_nuxt/DkwncUOv.js +1 -0
  264. package/dist/ui/_nuxt/Dl1uYT3n.js +15 -0
  265. package/dist/ui/_nuxt/DnULxvSX.js +1 -0
  266. package/dist/ui/_nuxt/Dpen1YoG.js +1 -0
  267. package/dist/ui/_nuxt/Dph4kLrZ.js +1 -0
  268. package/dist/ui/_nuxt/DqQDbK_p.js +1 -0
  269. package/dist/ui/_nuxt/Dqspr-GT.js +1 -0
  270. package/dist/ui/_nuxt/DqwNpetd.js +1 -0
  271. package/dist/ui/_nuxt/DsOJ9woJ.js +1 -0
  272. package/dist/ui/_nuxt/Dsmy0J62.js +1 -0
  273. package/dist/ui/_nuxt/Dspwwk_N.js +1 -0
  274. package/dist/ui/_nuxt/Dx-B1_4e.js +1 -0
  275. package/dist/ui/_nuxt/DyxjwDmM.js +1 -0
  276. package/dist/ui/_nuxt/E3gJ1_iC.js +1 -0
  277. package/dist/ui/_nuxt/GsRaNv29.js +1 -0
  278. package/dist/ui/_nuxt/HgPamjhh.js +1 -0
  279. package/dist/ui/_nuxt/IF9eRakj.js +1 -0
  280. package/dist/ui/_nuxt/IeuSbFQv.js +1 -0
  281. package/dist/ui/_nuxt/KW6xsasC.js +1 -0
  282. package/dist/ui/_nuxt/L9t79GZl.js +1 -0
  283. package/dist/ui/_nuxt/LYj2JSs-.js +1 -0
  284. package/dist/ui/_nuxt/MRO5bC_T.js +1 -0
  285. package/dist/ui/_nuxt/MzD3tlZU.js +1 -0
  286. package/dist/ui/_nuxt/P80f7IUj.js +1 -0
  287. package/dist/ui/_nuxt/Pmp26Uib.js +1 -0
  288. package/dist/ui/_nuxt/Project.BMA756E4.css +1 -0
  289. package/dist/ui/_nuxt/QIJgUcNo.js +1 -0
  290. package/dist/ui/_nuxt/VOosw3JB.js +1 -0
  291. package/dist/ui/_nuxt/Ve4PFQV2.js +1 -0
  292. package/dist/ui/_nuxt/W70NOuRA.js +1 -0
  293. package/dist/ui/_nuxt/Yzrsuije.js +1 -0
  294. package/dist/ui/_nuxt/_H4v1dQx.js +1 -0
  295. package/dist/ui/_nuxt/_ykCGR6B.js +1 -0
  296. package/dist/ui/_nuxt/bCR0ucgS.js +1 -0
  297. package/dist/ui/_nuxt/bE4Kk8sk.js +1 -0
  298. package/dist/ui/_nuxt/bN70gL4F.js +1 -0
  299. package/dist/ui/_nuxt/builds/latest.json +1 -1
  300. package/dist/ui/_nuxt/builds/meta/283a6ae8-b1fa-4a56-aab5-927ed1779674.json +1 -0
  301. package/dist/ui/_nuxt/dwOrl1Do.js +1 -0
  302. package/dist/ui/_nuxt/e9S_qqu4.js +1 -0
  303. package/dist/ui/_nuxt/entry.DnCs62PI.css +1 -0
  304. package/dist/ui/_nuxt/error-404.CiGdHkfa.css +1 -0
  305. package/dist/ui/_nuxt/error-500.DrZuPeVU.css +1 -0
  306. package/dist/ui/_nuxt/fuZLfV_i.js +1 -0
  307. package/dist/ui/_nuxt/g9-lgVsj.js +1 -0
  308. package/dist/ui/_nuxt/gcz8RCvz.js +1 -0
  309. package/dist/ui/_nuxt/hJgmCMqR.js +1 -0
  310. package/dist/ui/_nuxt/hegEt444.js +1 -0
  311. package/dist/ui/_nuxt/index.C3E0NnSu.css +1 -0
  312. package/dist/ui/_nuxt/ivQhLDHX.js +11 -0
  313. package/dist/ui/_nuxt/k_qm7-4y.js +1 -0
  314. package/dist/ui/_nuxt/ka8bt-K2.js +153 -0
  315. package/dist/ui/_nuxt/lBpI9LM0.js +1 -0
  316. package/dist/ui/_nuxt/lXgVvXCa.js +1 -0
  317. package/dist/ui/_nuxt/mWjccvbQ.js +1 -0
  318. package/dist/ui/_nuxt/n2N0HUVH.js +1 -0
  319. package/dist/ui/_nuxt/qdsjHGoJ.js +1 -0
  320. package/dist/ui/_nuxt/rGO070M0.js +1 -0
  321. package/dist/ui/_nuxt/rZm6bMo-.js +1 -0
  322. package/dist/ui/_nuxt/rgL8RFrC.js +1 -0
  323. package/dist/ui/_nuxt/u5AG7uiY.js +1 -0
  324. package/dist/ui/_nuxt/uYugtg8r.js +1 -0
  325. package/dist/ui/_nuxt/vE_lwT2v.js +1 -0
  326. package/dist/ui/_nuxt/vGWfd6FD.js +1 -0
  327. package/dist/ui/_nuxt/wDzz0qaB.js +1 -0
  328. package/dist/ui/_nuxt/wEQ09or8.js +1 -0
  329. package/dist/ui/_nuxt/yv6CvBhz.js +1 -0
  330. package/dist/ui/_nuxt/zinMudAE.js +1 -0
  331. package/dist/ui/hub/index.html +1 -0
  332. package/dist/ui/hub/queue/index.html +1 -0
  333. package/dist/ui/hub/recent/index.html +1 -0
  334. package/dist/ui/index.html +1 -1
  335. package/dist/ui/queue/index.html +1 -0
  336. package/dist/ui/recent/index.html +1 -0
  337. package/package.json +27 -24
  338. package/skills/ghfs/SKILL.md +10 -0
  339. package/dist/factory-DypZ8oi9.mjs +0 -570
  340. package/dist/provider-BFJGpjCs.d.mts +0 -203
  341. package/dist/server/index.d.mts +0 -287
  342. package/dist/server/index.mjs +0 -2
  343. package/dist/server-n1FLF8Xo.mjs +0 -3331
  344. package/dist/ui/_nuxt/BMIwt_GL.js +0 -1
  345. package/dist/ui/_nuxt/DA9k4Rdg.js +0 -69
  346. package/dist/ui/_nuxt/builds/meta/64045338-3c37-4c7d-a0df-5b21000f8b0a.json +0 -1
  347. package/dist/ui/_nuxt/entry.B5oa46-c.css +0 -1
  348. package/dist/ui/_nuxt/error-404.CktHaldI.css +0 -1
  349. package/dist/ui/_nuxt/error-500.DVdbZfrj.css +0 -1
@@ -1,69 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BMIwt_GL.js","./DlAUqK2U.js","./error-404.CktHaldI.css","./BXG6gk4R.js","./error-500.DVdbZfrj.css"])))=>i.map(i=>d[i]);
2
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function Ii(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const $e={},Jn=[],Ht=()=>{},Dc=()=>!1,Zs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ro=e=>e.startsWith("onUpdate:"),ze=Object.assign,Ni=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Kd=Object.prototype.hasOwnProperty,xe=(e,t)=>Kd.call(e,t),re=Array.isArray,Xn=e=>er(e)==="[object Map]",oo=e=>er(e)==="[object Set]",Rl=e=>er(e)==="[object Date]",ue=e=>typeof e=="function",Pe=e=>typeof e=="string",at=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",Ic=e=>(we(e)||ue(e))&&ue(e.then)&&ue(e.catch),Nc=Object.prototype.toString,er=e=>Nc.call(e),Gd=e=>er(e).slice(8,-1),zc=e=>er(e)==="[object Object]",io=e=>Pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Dn=Ii(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lo=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Qd=/-\w/g,Qe=lo(e=>e.replace(Qd,t=>t.slice(1).toUpperCase())),Jd=/\B([A-Z])/g,bn=lo(e=>e.replace(Jd,"-$1").toLowerCase()),ao=lo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cr=lo(e=>e?`on${ao(e)}`:""),Nt=(e,t)=>!Object.is(e,t),Ar=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Hc=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},zi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Fc=e=>{const t=Pe(e)?Number(e):NaN;return isNaN(t)?e:t};let Ml;const co=()=>Ml||(Ml=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function mt(e){if(re(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Pe(s)?ep(s):mt(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(Pe(e)||we(e))return e}const Xd=/;(?![^(]*\))/g,Yd=/:([^]+)/,Zd=/\/\*[^]*?\*\//g;function ep(e){const t={};return e.replace(Zd,"").split(Xd).forEach(n=>{if(n){const s=n.split(Yd);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Re(e){let t="";if(Pe(e))t=e;else if(re(e))for(let n=0;n<e.length;n++){const s=Re(e[n]);s&&(t+=s+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Hi(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Pe(t)&&(e.class=Re(t)),n&&(e.style=mt(n)),e}const tp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",np=Ii(tp);function Bc(e){return!!e||e===""}function sp(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=tr(e[s],t[s]);return n}function tr(e,t){if(e===t)return!0;let n=Rl(e),s=Rl(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=at(e),s=at(t),n||s)return e===t;if(n=re(e),s=re(t),n||s)return n&&s?sp(e,t):!1;if(n=we(e),s=we(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!tr(e[i],t[i]))return!1}}return String(e)===String(t)}function jc(e,t){return e.findIndex(n=>tr(n,t))}const qc=e=>!!(e&&e.__v_isRef===!0),oe=e=>Pe(e)?e:e==null?"":re(e)||we(e)&&(e.toString===Nc||!ue(e.toString))?qc(e)?oe(e.value):JSON.stringify(e,Uc,2):String(e),Uc=(e,t)=>qc(t)?Uc(e,t.value):Xn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Po(s,o)+" =>"]=r,n),{})}:oo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Po(n))}:at(t)?Po(t):we(t)&&!re(t)&&!zc(t)?String(t):t,Po=(e,t="")=>{var n;return at(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ve;class Wc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.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=Ve;try{return Ve=this,t()}finally{Ve=n}}}on(){++this._on===1&&(this.prevScope=Ve,Ve=this)}off(){this._on>0&&--this._on===0&&(Ve=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Fi(e){return new Wc(e)}function uo(){return Ve}function rp(e,t=!1){Ve&&Ve.cleanups.push(e)}let Ce;const Oo=new WeakSet;class Vc{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,Ve&&Ve.active&&Ve.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Oo.has(this)&&(Oo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Gc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ll(this),Qc(this);const t=Ce,n=St;Ce=this,St=!0;try{return this.fn()}finally{Jc(this),Ce=t,St=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)qi(t);this.deps=this.depsTail=void 0,Ll(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Oo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ni(this)&&this.run()}get dirty(){return ni(this)}}let Kc=0,Cs,As;function Gc(e,t=!1){if(e.flags|=8,t){e.next=As,As=e;return}e.next=Cs,Cs=e}function Bi(){Kc++}function ji(){if(--Kc>0)return;if(As){let t=As;for(As=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Cs;){let t=Cs;for(Cs=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Qc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Jc(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),qi(s),op(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ni(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Xc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Xc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Hs)||(e.globalVersion=Hs,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ni(e))))return;e.flags|=2;const t=e.dep,n=Ce,s=St;Ce=e,St=!0;try{Qc(e);const r=e.fn(e._value);(t.version===0||Nt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Ce=n,St=s,Jc(e),e.flags&=-3}}function qi(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)qi(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function op(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let St=!0;const Yc=[];function Zt(){Yc.push(St),St=!1}function en(){const e=Yc.pop();St=e===void 0?!0:e}function Ll(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ce;Ce=void 0;try{t()}finally{Ce=n}}}let Hs=0;class ip{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 fo{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,this.__v_skip=!0}track(t){if(!Ce||!St||Ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ce)n=this.activeLink=new ip(Ce,this),Ce.deps?(n.prevDep=Ce.depsTail,Ce.depsTail.nextDep=n,Ce.depsTail=n):Ce.deps=Ce.depsTail=n,Zc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Ce.depsTail,n.nextDep=void 0,Ce.depsTail.nextDep=n,Ce.depsTail=n,Ce.deps===n&&(Ce.deps=s)}return n}trigger(t){this.version++,Hs++,this.notify(t)}notify(t){Bi();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ji()}}}function Zc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Zc(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Lr=new WeakMap,In=Symbol(""),si=Symbol(""),Fs=Symbol("");function Ke(e,t,n){if(St&&Ce){let s=Lr.get(e);s||Lr.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new fo),r.map=s,r.key=n),r.track()}}function Qt(e,t,n,s,r,o){const i=Lr.get(e);if(!i){Hs++;return}const l=a=>{a&&a.trigger()};if(Bi(),t==="clear")i.forEach(l);else{const a=re(e),u=a&&io(n);if(a&&n==="length"){const c=Number(s);i.forEach((f,p)=>{(p==="length"||p===Fs||!at(p)&&p>=c)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(Fs)),t){case"add":a?u&&l(i.get("length")):(l(i.get(In)),Xn(e)&&l(i.get(si)));break;case"delete":a||(l(i.get(In)),Xn(e)&&l(i.get(si)));break;case"set":Xn(e)&&l(i.get(In));break}}ji()}function lp(e,t){const n=Lr.get(e);return n&&n.get(t)}function Un(e){const t=_e(e);return t===e?t:(Ke(t,"iterate",Fs),lt(e)?t:t.map(Et))}function po(e){return Ke(e=_e(e),"iterate",Fs),e}function It(e,t){return qt(e)?ss(dn(e)?Et(t):t):Et(t)}const ap={__proto__:null,[Symbol.iterator](){return Ro(this,Symbol.iterator,e=>It(this,e))},concat(...e){return Un(this).concat(...e.map(t=>re(t)?Un(t):t))},entries(){return Ro(this,"entries",e=>(e[1]=It(this,e[1]),e))},every(e,t){return Wt(this,"every",e,t,void 0,arguments)},filter(e,t){return Wt(this,"filter",e,t,n=>n.map(s=>It(this,s)),arguments)},find(e,t){return Wt(this,"find",e,t,n=>It(this,n),arguments)},findIndex(e,t){return Wt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Wt(this,"findLast",e,t,n=>It(this,n),arguments)},findLastIndex(e,t){return Wt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Wt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Mo(this,"includes",e)},indexOf(...e){return Mo(this,"indexOf",e)},join(e){return Un(this).join(e)},lastIndexOf(...e){return Mo(this,"lastIndexOf",e)},map(e,t){return Wt(this,"map",e,t,void 0,arguments)},pop(){return ys(this,"pop")},push(...e){return ys(this,"push",e)},reduce(e,...t){return Dl(this,"reduce",e,t)},reduceRight(e,...t){return Dl(this,"reduceRight",e,t)},shift(){return ys(this,"shift")},some(e,t){return Wt(this,"some",e,t,void 0,arguments)},splice(...e){return ys(this,"splice",e)},toReversed(){return Un(this).toReversed()},toSorted(e){return Un(this).toSorted(e)},toSpliced(...e){return Un(this).toSpliced(...e)},unshift(...e){return ys(this,"unshift",e)},values(){return Ro(this,"values",e=>It(this,e))}};function Ro(e,t,n){const s=po(e),r=s[t]();return s!==e&&!lt(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const cp=Array.prototype;function Wt(e,t,n,s,r,o){const i=po(e),l=i!==e&&!lt(e),a=i[t];if(a!==cp[t]){const f=a.apply(e,o);return l?Et(f):f}let u=n;i!==e&&(l?u=function(f,p){return n.call(this,It(e,f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const c=a.call(i,u,s);return l&&r?r(c):c}function Dl(e,t,n,s){const r=po(e),o=r!==e&&!lt(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(u,c,f){return l&&(l=!1,u=It(e,u)),n.call(this,u,It(e,c),f,e)}):n.length>3&&(i=function(u,c,f){return n.call(this,u,c,f,e)}));const a=r[t](i,...s);return l?It(e,a):a}function Mo(e,t,n){const s=_e(e);Ke(s,"iterate",Fs);const r=s[t](...n);return(r===-1||r===!1)&&ho(n[0])?(n[0]=_e(n[0]),s[t](...n)):r}function ys(e,t,n=[]){Zt(),Bi();const s=_e(e)[t].apply(e,n);return ji(),en(),s}const up=Ii("__proto__,__v_isRef,__isVue"),eu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(at));function fp(e){at(e)||(e=String(e));const t=_e(this);return Ke(t,"has",e),t.hasOwnProperty(e)}class tu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?wp:ou:o?ru:su).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=re(t);if(!r){let a;if(i&&(a=ap[n]))return a;if(n==="hasOwnProperty")return fp}const l=Reflect.get(t,n,Ae(t)?t:s);if((at(n)?eu.has(n):up(n))||(r||Ke(t,"get",n),o))return l;if(Ae(l)){const a=i&&io(n)?l:l.value;return r&&we(a)?Bs(a):a}return we(l)?r?Bs(l):yt(l):l}}class nu extends tu{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=re(t)&&io(n);if(!this._isShallow){const u=qt(o);if(!lt(s)&&!qt(s)&&(o=_e(o),s=_e(s)),!i&&Ae(o)&&!Ae(s))return u||(o.value=s),!0}const l=i?Number(n)<t.length:xe(t,n),a=Reflect.set(t,n,s,Ae(t)?t:r);return t===_e(r)&&(l?Nt(s,o)&&Qt(t,"set",n,s):Qt(t,"add",n,s)),a}deleteProperty(t,n){const s=xe(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Qt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!at(n)||!eu.has(n))&&Ke(t,"has",n),s}ownKeys(t){return Ke(t,"iterate",re(t)?"length":In),Reflect.ownKeys(t)}}class dp extends tu{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const pp=new nu,hp=new dp,gp=new nu(!0);const ri=e=>e,ar=e=>Reflect.getPrototypeOf(e);function mp(e,t,n){return function(...s){const r=this.__v_raw,o=_e(r),i=Xn(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=r[e](...s),c=n?ri:t?ss:Et;return!t&&Ke(o,"iterate",a?si:In),ze(Object.create(u),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:l?[c(f[0]),c(f[1])]:c(f),done:p}}})}}function cr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function yp(e,t){const n={get(r){const o=this.__v_raw,i=_e(o),l=_e(r);e||(Nt(r,l)&&Ke(i,"get",r),Ke(i,"get",l));const{has:a}=ar(i),u=t?ri:e?ss:Et;if(a.call(i,r))return u(o.get(r));if(a.call(i,l))return u(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Ke(_e(r),"iterate",In),r.size},has(r){const o=this.__v_raw,i=_e(o),l=_e(r);return e||(Nt(r,l)&&Ke(i,"has",r),Ke(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,a=_e(l),u=t?ri:e?ss:Et;return!e&&Ke(a,"iterate",In),l.forEach((c,f)=>r.call(o,u(c),u(f),i))}};return ze(n,e?{add:cr("add"),set:cr("set"),delete:cr("delete"),clear:cr("clear")}:{add(r){const o=_e(this),i=ar(o),l=_e(r),a=!t&&!lt(r)&&!qt(r)?l:r;return i.has.call(o,a)||Nt(r,a)&&i.has.call(o,r)||Nt(l,a)&&i.has.call(o,l)||(o.add(a),Qt(o,"add",a,a)),this},set(r,o){!t&&!lt(o)&&!qt(o)&&(o=_e(o));const i=_e(this),{has:l,get:a}=ar(i);let u=l.call(i,r);u||(r=_e(r),u=l.call(i,r));const c=a.call(i,r);return i.set(r,o),u?Nt(o,c)&&Qt(i,"set",r,o):Qt(i,"add",r,o),this},delete(r){const o=_e(this),{has:i,get:l}=ar(o);let a=i.call(o,r);a||(r=_e(r),a=i.call(o,r)),l&&l.call(o,r);const u=o.delete(r);return a&&Qt(o,"delete",r,void 0),u},clear(){const r=_e(this),o=r.size!==0,i=r.clear();return o&&Qt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=mp(r,e,t)}),n}function Ui(e,t){const n=yp(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(xe(n,r)&&r in s?n:s,r,o)}const vp={get:Ui(!1,!1)},bp={get:Ui(!1,!0)},_p={get:Ui(!0,!1)};const su=new WeakMap,ru=new WeakMap,ou=new WeakMap,wp=new WeakMap;function xp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function kp(e){return e.__v_skip||!Object.isExtensible(e)?0:xp(Gd(e))}function yt(e){return qt(e)?e:Wi(e,!1,pp,vp,su)}function On(e){return Wi(e,!1,gp,bp,ru)}function Bs(e){return Wi(e,!0,hp,_p,ou)}function Wi(e,t,n,s,r){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=kp(e);if(o===0)return e;const i=r.get(e);if(i)return i;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function dn(e){return qt(e)?dn(e.__v_raw):!!(e&&e.__v_isReactive)}function qt(e){return!!(e&&e.__v_isReadonly)}function lt(e){return!!(e&&e.__v_isShallow)}function ho(e){return e?!!e.__v_raw:!1}function _e(e){const t=e&&e.__v_raw;return t?_e(t):e}function Sp(e){return!xe(e,"__v_skip")&&Object.isExtensible(e)&&Hc(e,"__v_skip",!0),e}const Et=e=>we(e)?yt(e):e,ss=e=>we(e)?Bs(e):e;function Ae(e){return e?e.__v_isRef===!0:!1}function ae(e){return iu(e,!1)}function Ft(e){return iu(e,!0)}function iu(e,t){return Ae(e)?e:new Tp(e,t)}class Tp{constructor(t,n){this.dep=new fo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:_e(t),this._value=n?t:Et(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||lt(t)||qt(t);t=s?t:_e(t),Nt(t,n)&&(this._rawValue=t,this._value=s?t:Et(t),this.dep.trigger())}}function $p(e){e.dep&&e.dep.trigger()}function v(e){return Ae(e)?e.value:e}function je(e){return ue(e)?e():v(e)}const Ep={get:(e,t,n)=>t==="__v_raw"?e:v(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ae(r)&&!Ae(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function lu(e){return dn(e)?e:new Proxy(e,Ep)}class Cp{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new fo,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Ap(e){return new Cp(e)}function au(e){const t=re(e)?new Array(e.length):{};for(const n in e)t[n]=uu(e,n);return t}class Pp{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=at(n)?n:String(n),this._raw=_e(t);let r=!0,o=t;if(!re(t)||at(this._key)||!io(this._key))do r=!ho(o)||lt(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=v(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ae(this._raw[this._key])){const n=this._object[this._key];if(Ae(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return lp(this._raw,this._key)}}class Op{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 cu(e,t,n){return Ae(e)?e:ue(e)?new Op(e):we(e)&&arguments.length>1?uu(e,t,n):ae(e)}function uu(e,t,n){return new Pp(e,t,n)}class Rp{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new fo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Hs-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Ce!==this)return Gc(this,!0),!0}get value(){const t=this.dep.track();return Xc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Mp(e,t,n=!1){let s,r;return ue(e)?s=e:(s=e.get,r=e.set),new Rp(s,r,n)}const ur={},Dr=new WeakMap;let An;function Lp(e,t=!1,n=An){if(n){let s=Dr.get(n);s||Dr.set(n,s=[]),s.push(e)}}function Dp(e,t,n=$e){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:a}=n,u=w=>r?w:lt(w)||r===!1||r===0?Jt(w,1):Jt(w);let c,f,p,d,h=!1,g=!1;if(Ae(e)?(f=()=>e.value,h=lt(e)):dn(e)?(f=()=>u(e),h=!0):re(e)?(g=!0,h=e.some(w=>dn(w)||lt(w)),f=()=>e.map(w=>{if(Ae(w))return w.value;if(dn(w))return u(w);if(ue(w))return a?a(w,2):w()})):ue(e)?t?f=a?()=>a(e,2):e:f=()=>{if(p){Zt();try{p()}finally{en()}}const w=An;An=c;try{return a?a(e,3,[d]):e(d)}finally{An=w}}:f=Ht,t&&r){const w=f,S=r===!0?1/0:r;f=()=>Jt(w(),S)}const b=uo(),y=()=>{c.stop(),b&&b.active&&Ni(b.effects,c)};if(o&&t){const w=t;t=(...S)=>{w(...S),y()}}let x=g?new Array(e.length).fill(ur):ur;const _=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(t){const S=c.run();if(r||h||(g?S.some(($,M)=>Nt($,x[M])):Nt(S,x))){p&&p();const $=An;An=c;try{const M=[S,x===ur?void 0:g&&x[0]===ur?[]:x,d];x=S,a?a(t,3,M):t(...M)}finally{An=$}}}else c.run()};return l&&l(_),c=new Vc(f),c.scheduler=i?()=>i(_,!1):_,d=w=>Lp(w,!1,c),p=c.onStop=()=>{const w=Dr.get(c);if(w){if(a)a(w,4);else for(const S of w)S();Dr.delete(c)}},t?s?_(!0):x=c.run():i?i(_.bind(null,!0),!0):c.run(),y.pause=c.pause.bind(c),y.resume=c.resume.bind(c),y.stop=y,y}function Jt(e,t=1/0,n){if(t<=0||!we(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ae(e))Jt(e.value,t,n);else if(re(e))for(let s=0;s<e.length;s++)Jt(e[s],t,n);else if(oo(e)||Xn(e))e.forEach(s=>{Jt(s,t,n)});else if(zc(e)){for(const s in e)Jt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Jt(e[s],t,n)}return e}function nr(e,t,n,s){try{return s?e(...s):e()}catch(r){us(r,t,n)}}function Ct(e,t,n,s){if(ue(e)){const r=nr(e,t,n,s);return r&&Ic(r)&&r.catch(o=>{us(o,t,n)}),r}if(re(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Ct(e[o],t,n,s));return r}}function us(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||$e;if(t){let l=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,a,u)===!1)return}l=l.parent}if(o){Zt(),nr(o,null,10,[e,a,u]),en();return}}Ip(e,n,r,s,i)}function Ip(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Ye=[];let Rt=-1;const Yn=[];let fn=null,Gn=0;const fu=Promise.resolve();let Ir=null;function qe(e){const t=Ir||fu;return e?t.then(this?e.bind(this):e):t}function Np(e){let t=Rt+1,n=Ye.length;for(;t<n;){const s=t+n>>>1,r=Ye[s],o=js(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Vi(e){if(!(e.flags&1)){const t=js(e),n=Ye[Ye.length-1];!n||!(e.flags&2)&&t>=js(n)?Ye.push(e):Ye.splice(Np(t),0,e),e.flags|=1,du()}}function du(){Ir||(Ir=fu.then(pu))}function oi(e){re(e)?Yn.push(...e):fn&&e.id===-1?fn.splice(Gn+1,0,e):e.flags&1||(Yn.push(e),e.flags|=1),du()}function Il(e,t,n=Rt+1){for(;n<Ye.length;n++){const s=Ye[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ye.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Nr(e){if(Yn.length){const t=[...new Set(Yn)].sort((n,s)=>js(n)-js(s));if(Yn.length=0,fn){fn.push(...t);return}for(fn=t,Gn=0;Gn<fn.length;Gn++){const n=fn[Gn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}fn=null,Gn=0}}const js=e=>e.id==null?e.flags&2?-1:1/0:e.id;function pu(e){try{for(Rt=0;Rt<Ye.length;Rt++){const t=Ye[Rt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),nr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Rt<Ye.length;Rt++){const t=Ye[Rt];t&&(t.flags&=-2)}Rt=-1,Ye.length=0,Nr(),Ir=null,(Ye.length||Yn.length)&&pu()}}let Be=null,go=null;function zr(e){const t=Be;return Be=e,go=e&&e.type.__scopeId||null,t}function zp(e){go=e}function Hp(){go=null}const Fp=e=>le;function le(e,t=Be,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&jr(-1);const o=zr(t);let i;try{i=e(...r)}finally{zr(o),s._d&&jr(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Hr(e,t){if(Be===null)return e;const n=wo(Be),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,a=$e]=t[r];o&&(ue(o)&&(o={mounted:o,updated:o}),o.deep&&Jt(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function Mt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let a=l.dir[s];a&&(Zt(),Ct(a,n,8,[e.el,l,e,t]),en())}}function Lt(e,t){if(Fe){let n=Fe.provides;const s=Fe.parent&&Fe.parent.provides;s===n&&(n=Fe.provides=Object.create(s)),n[e]=t}}function Ze(e,t,n=!1){const s=et();if(s||zn){let r=zn?zn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ue(t)?t.call(s&&s.proxy):t}}function fs(){return!!(et()||zn)}const Bp=Symbol.for("v-scx"),jp=()=>Ze(Bp);function yn(e,t){return Ki(e,null,t)}function Oe(e,t,n){return Ki(e,t,n)}function Ki(e,t,n=$e){const{immediate:s,deep:r,flush:o,once:i}=n,l=ze({},n),a=t&&s||!t&&o!=="post";let u;if(is){if(o==="sync"){const d=jp();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!a){const d=()=>{};return d.stop=Ht,d.resume=Ht,d.pause=Ht,d}}const c=Fe;l.call=(d,h,g)=>Ct(d,c,h,g);let f=!1;o==="post"?l.scheduler=d=>{We(d,c&&c.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(d,h)=>{h?d():Vi(d)}),l.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const p=Dp(e,t,l);return is&&(u?u.push(p):a&&p()),p}function qp(e,t,n){const s=this.proxy,r=Pe(e)?e.includes(".")?hu(s,e):()=>s[e]:e.bind(s,s);let o;ue(t)?o=t:(o=t.handler,n=t);const i=rr(this),l=Ki(r,o.bind(s),n);return i(),l}function hu(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const kn=new WeakMap,gu=Symbol("_vte"),mu=e=>e.__isTeleport,Rn=e=>e&&(e.disabled||e.disabled===""),Up=e=>e&&(e.defer||e.defer===""),Nl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,zl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ii=(e,t)=>{const n=e&&e.to;return Pe(n)?t?t(n):null:n},Wp={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,a,u){const{mc:c,pc:f,pbc:p,o:{insert:d,querySelector:h,createText:g,createComment:b}}=u,y=Rn(t.props);let{dynamicChildren:x}=t;const _=($,M,D)=>{$.shapeFlag&16&&c($.children,M,D,r,o,i,l,a)},w=($=t)=>{const M=Rn($.props),D=$.target=ii($.props,h),O=li(D,$,g,d);D&&(i!=="svg"&&Nl(D)?i="svg":i!=="mathml"&&zl(D)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(D),M||(_($,D,O),Ss($,!1)))},S=$=>{const M=()=>{kn.get($)===M&&(kn.delete($),Rn($.props)&&(_($,n,$.anchor),Ss($,!0)),w($))};kn.set($,M),We(M,o)};if(e==null){const $=t.el=g(""),M=t.anchor=g("");if(d($,n,s),d(M,n,s),Up(t.props)||o&&o.pendingBranch){S(t);return}y&&(_(t,n,M),Ss(t,!0)),w()}else{t.el=e.el;const $=t.anchor=e.anchor,M=kn.get(e);if(M){M.flags|=8,kn.delete(e),S(t);return}t.targetStart=e.targetStart;const D=t.target=e.target,O=t.targetAnchor=e.targetAnchor,P=Rn(e.props),I=P?n:D,A=P?$:O;if(i==="svg"||Nl(D)?i="svg":(i==="mathml"||zl(D))&&(i="mathml"),x?(p(e.dynamicChildren,x,I,r,o,i,l),Zi(e,t,!0)):a||f(e,t,I,A,r,o,i,l,!1),y)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fr(t,n,$,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const G=t.target=ii(t.props,h);G&&fr(t,G,null,u,0)}else P&&fr(t,D,O,u,1);Ss(t,y)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:a,targetStart:u,targetAnchor:c,target:f,props:p}=e;let d=o||!Rn(p);const h=kn.get(e);if(h&&(h.flags|=8,kn.delete(e),d=!1),f&&(r(u),r(c)),o&&r(a),i&16)for(let g=0;g<l.length;g++){const b=l[g];s(b,t,n,d,!!b.dynamicChildren)}},move:fr,hydrate:Vp};function fr(e,t,n,{o:{insert:s},m:r},o=2){o===0&&s(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:a,children:u,props:c}=e,f=o===2;if(f&&s(i,t,n),(!f||Rn(c))&&a&16)for(let p=0;p<u.length;p++)r(u[p],t,n,2);f&&s(l,t,n)}function Vp(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:l,querySelector:a,insert:u,createText:c}},f){function p(b,y){let x=y;for(;x;){if(x&&x.nodeType===8){if(x.data==="teleport start anchor")t.targetStart=x;else if(x.data==="teleport anchor"){t.targetAnchor=x,b._lpa=t.targetAnchor&&i(t.targetAnchor);break}}x=i(x)}}function d(b,y){y.anchor=f(i(b),y,l(b),n,s,r,o)}const h=t.target=ii(t.props,a),g=Rn(t.props);if(h){const b=h._lpa||h.firstChild;t.shapeFlag&16&&(g?(d(e,t),p(h,b),t.targetAnchor||li(h,t,c,u,l(e)===h?e:null)):(t.anchor=i(e),p(h,b),t.targetAnchor||li(h,t,c,u),f(b&&i(b),t,h,n,s,r,o))),Ss(t,g)}else g&&t.shapeFlag&16&&(d(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const Kp=Wp;function Ss(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function li(e,t,n,s,r=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[gu]=i,e&&(s(o,e,r),s(i,e,r)),i}const Dt=Symbol("_leaveCb"),vs=Symbol("_enterCb");function Gp(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Bn(()=>{e.isMounted=!0}),ds(()=>{e.isUnmounting=!0}),e}const ft=[Function,Array],yu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ft,onEnter:ft,onAfterEnter:ft,onEnterCancelled:ft,onBeforeLeave:ft,onLeave:ft,onAfterLeave:ft,onLeaveCancelled:ft,onBeforeAppear:ft,onAppear:ft,onAfterAppear:ft,onAppearCancelled:ft},vu=e=>{const t=e.subTree;return t.component?vu(t.component):t},Qp={name:"BaseTransition",props:yu,setup(e,{slots:t}){const n=et(),s=Gp();return()=>{const r=t.default&&wu(t.default(),!0);if(!r||!r.length)return;const o=bu(r),i=_e(e),{mode:l}=i;if(s.isLeaving)return Lo(o);const a=Hl(o);if(!a)return Lo(o);let u=ai(a,i,s,n,f=>u=f);a.type!==Ie&&qs(a,u);let c=n.subTree&&Hl(n.subTree);if(c&&c.type!==Ie&&!zt(c,a)&&vu(n).type!==Ie){let f=ai(c,i,s,n);if(qs(c,f),l==="out-in"&&a.type!==Ie)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Lo(o);l==="in-out"&&a.type!==Ie?f.delayLeave=(p,d,h)=>{const g=_u(s,c);g[String(c.key)]=c,p[Dt]=()=>{d(),p[Dt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{h(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function bu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ie){t=n;break}}return t}const Jp=Qp;function _u(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ai(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:p,onLeave:d,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:b,onAppear:y,onAfterAppear:x,onAppearCancelled:_}=t,w=String(e.key),S=_u(n,e),$=(O,P)=>{O&&Ct(O,s,9,P)},M=(O,P)=>{const I=P[1];$(O,P),re(O)?O.every(A=>A.length<=1)&&I():O.length<=1&&I()},D={mode:i,persisted:l,beforeEnter(O){let P=a;if(!n.isMounted)if(o)P=b||a;else return;O[Dt]&&O[Dt](!0);const I=S[w];I&&zt(e,I)&&I.el[Dt]&&I.el[Dt](),$(P,[O])},enter(O){if(S[w]===e)return;let P=u,I=c,A=f;if(!n.isMounted)if(o)P=y||u,I=x||c,A=_||f;else return;let G=!1;O[vs]=ne=>{G||(G=!0,ne?$(A,[O]):$(I,[O]),D.delayedLeave&&D.delayedLeave(),O[vs]=void 0)};const H=O[vs].bind(null,!1);P?M(P,[O,H]):H()},leave(O,P){const I=String(e.key);if(O[vs]&&O[vs](!0),n.isUnmounting)return P();$(p,[O]);let A=!1;O[Dt]=H=>{A||(A=!0,P(),H?$(g,[O]):$(h,[O]),O[Dt]=void 0,S[I]===e&&delete S[I])};const G=O[Dt].bind(null,!1);S[I]=e,d?M(d,[O,G]):G()},clone(O){const P=ai(O,t,n,s,r);return r&&r(P),P}};return D}function Lo(e){if(sr(e))return e=tn(e),e.children=null,e}function Hl(e){if(!sr(e))return mu(e.type)&&e.children?bu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ue(n.default))return n.default()}}function qs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,qs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function wu(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===ge?(i.patchFlag&128&&r++,s=s.concat(wu(i.children,t,l))):(t||i.type!==Ie)&&s.push(l!=null?tn(i,{key:l}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function ve(e,t){return ue(e)?ze({name:e.name},t,{setup:e}):e}function Xp(){const e=et();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Gi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Fl(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Fr=new WeakMap;function Zn(e,t,n,s,r=!1){if(re(e)){e.forEach((g,b)=>Zn(g,t&&(re(t)?t[b]:t),n,s,r));return}if(Nn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Zn(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?wo(s.component):s.el,i=r?null:o,{i:l,r:a}=e,u=t&&t.r,c=l.refs===$e?l.refs={}:l.refs,f=l.setupState,p=_e(f),d=f===$e?Dc:g=>Fl(c,g)?!1:xe(p,g),h=(g,b)=>!(b&&Fl(c,b));if(u!=null&&u!==a){if(Bl(t),Pe(u))c[u]=null,d(u)&&(f[u]=null);else if(Ae(u)){const g=t;h(u,g.k)&&(u.value=null),g.k&&(c[g.k]=null)}}if(ue(a))nr(a,l,12,[i,c]);else{const g=Pe(a),b=Ae(a);if(g||b){const y=()=>{if(e.f){const x=g?d(a)?f[a]:c[a]:h()||!e.k?a.value:c[e.k];if(r)re(x)&&Ni(x,o);else if(re(x))x.includes(o)||x.push(o);else if(g)c[a]=[o],d(a)&&(f[a]=c[a]);else{const _=[o];h(a,e.k)&&(a.value=_),e.k&&(c[e.k]=_)}}else g?(c[a]=i,d(a)&&(f[a]=i)):b&&(h(a,e.k)&&(a.value=i),e.k&&(c[e.k]=i))};if(i){const x=()=>{y(),Fr.delete(e)};x.id=-1,Fr.set(e,x),We(x,n)}else Bl(e),y()}}}function Bl(e){const t=Fr.get(e);t&&(t.flags|=8,Fr.delete(e))}let jl=!1;const Wn=()=>{jl||(console.error("Hydration completed but contains mismatches."),jl=!0)},Yp=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Zp=e=>e.namespaceURI.includes("MathML"),dr=e=>{if(e.nodeType===1){if(Yp(e))return"svg";if(Zp(e))return"mathml"}},Qn=e=>e.nodeType===8;function eh(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:o,parentNode:i,remove:l,insert:a,createComment:u}}=e,c=(_,w)=>{if(!w.hasChildNodes()){n(null,_,w),Nr(),w._vnode=_;return}f(w.firstChild,_,null,null,null),Nr(),w._vnode=_},f=(_,w,S,$,M,D=!1)=>{D=D||!!w.dynamicChildren;const O=Qn(_)&&_.data==="[",P=()=>g(_,w,S,$,M,O),{type:I,ref:A,shapeFlag:G,patchFlag:H}=w;let ne=_.nodeType;w.el=_,H===-2&&(D=!1,w.dynamicChildren=null);let q=null;switch(I){case Hn:ne!==3?w.children===""?(a(w.el=r(""),i(_),_),q=_):q=P():(_.data!==w.children&&(Wn(),_.data=w.children),q=o(_));break;case Ie:x(_)?(q=o(_),y(w.el=_.content.firstChild,_,S)):ne!==8||O?q=P():q=o(_);break;case Os:if(O&&(_=o(_),ne=_.nodeType),ne===1||ne===3){q=_;const N=!w.children.length;for(let E=0;E<w.staticCount;E++)N&&(w.children+=q.nodeType===1?q.outerHTML:q.data),E===w.staticCount-1&&(w.anchor=q),q=o(q);return O?o(q):q}else P();break;case ge:O?q=h(_,w,S,$,M,D):q=P();break;default:if(G&1)(ne!==1||w.type.toLowerCase()!==_.tagName.toLowerCase())&&!x(_)?q=P():q=p(_,w,S,$,M,D);else if(G&6){w.slotScopeIds=M;const N=i(_);if(O?q=b(_):Qn(_)&&_.data==="teleport start"?q=b(_,_.data,"teleport end"):q=o(_),t(w,N,null,S,$,dr(N),D),Nn(w)&&!w.type.__asyncResolved){let E;O?(E=ee(ge),E.anchor=q?q.previousSibling:N.lastChild):E=_.nodeType===3?De(""):ee("div"),E.el=_,w.component.subTree=E}}else G&64?ne!==8?q=P():q=w.type.hydrate(_,w,S,$,M,D,e,d):G&128&&(q=w.type.hydrate(_,w,S,$,dr(i(_)),M,D,e,f))}return A!=null&&Zn(A,null,$,w),q},p=(_,w,S,$,M,D)=>{D=D||!!w.dynamicChildren;const{type:O,props:P,patchFlag:I,shapeFlag:A,dirs:G,transition:H}=w,ne=O==="input"||O==="option";if(ne||I!==-1){G&&Mt(w,null,S,"created");let q=!1;if(x(_)){q=Uu(null,H)&&S&&S.vnode.props&&S.vnode.props.appear;const E=_.content.firstChild;if(q){const fe=E.getAttribute("class");fe&&(E.$cls=fe),H.beforeEnter(E)}y(E,_,S),w.el=_=E}if(A&16&&!(P&&(P.innerHTML||P.textContent))){let E=d(_.firstChild,w,_,S,$,M,D);for(;E;){pr(_,1)||Wn();const fe=E;E=E.nextSibling,l(fe)}}else if(A&8){let E=w.children;E[0]===`
3
- `&&(_.tagName==="PRE"||_.tagName==="TEXTAREA")&&(E=E.slice(1));const{textContent:fe}=_;fe!==E&&fe!==E.replace(/\r\n|\r/g,`
4
- `)&&(pr(_,0)||Wn(),_.textContent=w.children)}if(P){if(ne||!D||I&48){const E=_.tagName.includes("-");for(const fe in P)(ne&&(fe.endsWith("value")||fe==="indeterminate")||Zs(fe)&&!Dn(fe)||fe[0]==="."||E&&!Dn(fe))&&s(_,fe,null,P[fe],void 0,S)}else if(P.onClick)s(_,"onClick",null,P.onClick,void 0,S);else if(I&4&&dn(P.style))for(const E in P.style)P.style[E]}let N;(N=P&&P.onVnodeBeforeMount)&&pt(N,S,w),G&&Mt(w,null,S,"beforeMount"),((N=P&&P.onVnodeMounted)||G||q)&&Qu(()=>{N&&pt(N,S,w),q&&H.enter(_),G&&Mt(w,null,S,"mounted")},$)}return _.nextSibling},d=(_,w,S,$,M,D,O)=>{O=O||!!w.dynamicChildren;const P=w.children,I=P.length;for(let A=0;A<I;A++){const G=O?P[A]:P[A]=it(P[A]),H=G.type===Hn;_?(H&&!O&&A+1<I&&it(P[A+1]).type===Hn&&(a(r(_.data.slice(G.children.length)),S,o(_)),_.data=G.children),_=f(_,G,$,M,D,O)):H&&!G.children?a(G.el=r(""),S):(pr(S,1)||Wn(),n(null,G,S,null,$,M,dr(S),D))}return _},h=(_,w,S,$,M,D)=>{const{slotScopeIds:O}=w;O&&(M=M?M.concat(O):O);const P=i(_),I=d(o(_),w,P,S,$,M,D);return I&&Qn(I)&&I.data==="]"?o(w.anchor=I):(Wn(),a(w.anchor=u("]"),P,I),I)},g=(_,w,S,$,M,D)=>{if(pr(_.parentElement,1)||Wn(),w.el=null,D){const I=b(_);for(;;){const A=o(_);if(A&&A!==I)l(A);else break}}const O=o(_),P=i(_);return l(_),n(null,w,P,O,S,$,dr(P),M),S&&(S.vnode.el=w.el,bo(S,w.el)),O},b=(_,w="[",S="]")=>{let $=0;for(;_;)if(_=o(_),_&&Qn(_)&&(_.data===w&&$++,_.data===S)){if($===0)return o(_);$--}return _},y=(_,w,S)=>{const $=w.parentNode;$&&$.replaceChild(_,w);let M=S;for(;M;)M.vnode.el===w&&(M.vnode.el=M.subTree.el=_),M=M.parent},x=_=>_.nodeType===1&&_.tagName==="TEMPLATE";return[c,f]}const ql="data-allow-mismatch",th={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function pr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ql);)e=e.parentElement;const n=e&&e.getAttribute(ql);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(th[t])}}co().requestIdleCallback;co().cancelIdleCallback;function nh(e,t){if(Qn(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Qn(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const Nn=e=>!!e.type.__asyncLoader;function Ul(e){ue(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:o,timeout:i,suspensible:l=!0,onError:a}=e;let u=null,c,f=0;const p=()=>(f++,u=null,d()),d=()=>{let h;return u||(h=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),a)return new Promise((b,y)=>{a(g,()=>b(p()),()=>y(g),f+1)});throw g}).then(g=>h!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return ve({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(h,g,b){let y=!1;(g.bu||(g.bu=[])).push(()=>y=!0);const x=()=>{y||b()},_=o?()=>{const w=o(x,S=>nh(h,S));w&&(g.bum||(g.bum=[])).push(w)}:x;c?_():d().then(()=>!g.isUnmounted&&_())},get __asyncResolved(){return c},setup(){const h=Fe;if(Gi(h),c)return()=>hr(c,h);const g=_=>{u=null,us(_,h,13,!s)};if(l&&h.suspense||is)return d().then(_=>()=>hr(_,h)).catch(_=>(g(_),()=>s?ee(s,{error:_}):null));const b=ae(!1),y=ae(),x=ae(!!r);return r&&setTimeout(()=>{x.value=!1},r),i!=null&&setTimeout(()=>{if(!b.value&&!y.value){const _=new Error(`Async component timed out after ${i}ms.`);g(_),y.value=_}},i),d().then(()=>{b.value=!0,h.parent&&sr(h.parent.vnode)&&h.parent.update()}).catch(_=>{g(_),y.value=_}),()=>{if(b.value&&c)return hr(c,h);if(y.value&&s)return ee(s,{error:y.value});if(n&&!x.value)return hr(n,h)}}})}function hr(e,t){const{ref:n,props:s,children:r,ce:o}=t.vnode,i=ee(e,s,r);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const sr=e=>e.type.__isKeepAlive;function xu(e,t){Su(e,"a",t)}function ku(e,t){Su(e,"da",t)}function Su(e,t,n=Fe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(mo(t,s,n),n){let r=n.parent;for(;r&&r.parent;)sr(r.parent.vnode)&&sh(s,t,n,r),r=r.parent}}function sh(e,t,n,s){const r=mo(t,e,s,!0);yo(()=>{Ni(s[t],r)},n)}function mo(e,t,n=Fe,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Zt();const l=rr(n),a=Ct(t,n,e,i);return l(),en(),a});return s?r.unshift(o):r.push(o),o}}const nn=e=>(t,n=Fe)=>{(!is||e==="sp")&&mo(e,(...s)=>t(...s),n)},rh=nn("bm"),Bn=nn("m"),oh=nn("bu"),Tu=nn("u"),ds=nn("bum"),yo=nn("um"),ih=nn("sp"),lh=nn("rtg"),ah=nn("rtc");function $u(e,t=Fe){mo("ec",e,t)}const Qi="components",ch="directives";function Us(e,t){return Ji(Qi,e,!0,t)||e}const Eu=Symbol.for("v-ndc");function Cu(e){return Pe(e)?Ji(Qi,e,!1)||e:e||Eu}function uh(e){return Ji(ch,e)}function Ji(e,t,n=!0,s=!1){const r=Be||Fe;if(r){const o=r.type;if(e===Qi){const l=Yh(o,!1);if(l&&(l===t||l===Qe(t)||l===ao(Qe(t))))return o}const i=Wl(r[e]||o[e],t)||Wl(r.appContext[e],t);return!i&&s?o:i}}function Wl(e,t){return e&&(e[t]||e[Qe(t)]||e[ao(Qe(t))])}function kt(e,t,n,s){let r;const o=n,i=re(e);if(i||Pe(e)){const l=i&&dn(e);let a=!1,u=!1;l&&(a=!lt(e),u=qt(e),e=po(e)),r=new Array(e.length);for(let c=0,f=e.length;c<f;c++)r[c]=t(a?u?ss(Et(e[c])):Et(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,o)}else if(we(e))if(e[Symbol.iterator])r=Array.from(e,(l,a)=>t(l,a,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let a=0,u=l.length;a<u;a++){const c=l[a];r[a]=t(e[c],c,a,o)}}else r=[];return r}function Me(e,t,n={},s,r){if(Be.ce||Be.parent&&Nn(Be.parent)&&Be.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),R(),he(ge,null,[ee("slot",n,s)],u?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),R();const i=o&&Au(o(n)),l=n.key||i&&i.key,a=he(ge,{key:(l&&!at(l)?l:`_${t}`)+(!i&&s?"_fb":"")},i||[],i&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Au(e){return e.some(t=>os(t)?!(t.type===Ie||t.type===ge&&!Au(t.children)):!0)?e:null}const ci=e=>e?Zu(e)?wo(e):ci(e.parent):null,Ps=ze(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=>ci(e.parent),$root:e=>ci(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ou(e),$forceUpdate:e=>e.f||(e.f=()=>{Vi(e.update)}),$nextTick:e=>e.n||(e.n=qe.bind(e.proxy)),$watch:e=>qp.bind(e)}),Do=(e,t)=>e!==$e&&!e.__isScriptSetup&&xe(e,t),fh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Do(s,t))return i[t]=1,s[t];if(r!==$e&&xe(r,t))return i[t]=2,r[t];if(xe(o,t))return i[t]=3,o[t];if(n!==$e&&xe(n,t))return i[t]=4,n[t];ui&&(i[t]=0)}}const u=Ps[t];let c,f;if(u)return t==="$attrs"&&Ke(e.attrs,"get",""),u(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==$e&&xe(n,t))return i[t]=4,n[t];if(f=a.config.globalProperties,xe(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Do(r,t)?(r[t]=n,!0):s!==$e&&xe(s,t)?(s[t]=n,!0):xe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:o,type:i}},l){let a;return!!(n[l]||e!==$e&&l[0]!=="$"&&xe(e,l)||Do(t,l)||xe(o,l)||xe(s,l)||xe(Ps,l)||xe(r.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:xe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function dh(){return ph().slots}function ph(e){const t=et();return t.setupContext||(t.setupContext=tf(t))}function Vl(e){return re(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ui=!0;function hh(e){const t=Ou(e),n=e.proxy,s=e.ctx;ui=!1,t.beforeCreate&&Kl(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:u,created:c,beforeMount:f,mounted:p,beforeUpdate:d,updated:h,activated:g,deactivated:b,beforeDestroy:y,beforeUnmount:x,destroyed:_,unmounted:w,render:S,renderTracked:$,renderTriggered:M,errorCaptured:D,serverPrefetch:O,expose:P,inheritAttrs:I,components:A,directives:G,filters:H}=t;if(u&&gh(u,s,null),i)for(const N in i){const E=i[N];ue(E)&&(s[N]=E.bind(n))}if(r){const N=r.call(n,n);we(N)&&(e.data=yt(N))}if(ui=!0,o)for(const N in o){const E=o[N],fe=ue(E)?E.bind(n,n):ue(E.get)?E.get.bind(n,n):Ht,He=!ue(E)&&ue(E.set)?E.set.bind(n):Ht,nt=U({get:fe,set:He});Object.defineProperty(s,N,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Ue=>nt.value=Ue})}if(l)for(const N in l)Pu(l[N],s,n,N);if(a){const N=ue(a)?a.call(n):a;Reflect.ownKeys(N).forEach(E=>{Lt(E,N[E])})}c&&Kl(c,e,"c");function q(N,E){re(E)?E.forEach(fe=>N(fe.bind(n))):E&&N(E.bind(n))}if(q(rh,f),q(Bn,p),q(oh,d),q(Tu,h),q(xu,g),q(ku,b),q($u,D),q(ah,$),q(lh,M),q(ds,x),q(yo,w),q(ih,O),re(P))if(P.length){const N=e.exposed||(e.exposed={});P.forEach(E=>{Object.defineProperty(N,E,{get:()=>n[E],set:fe=>n[E]=fe,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===Ht&&(e.render=S),I!=null&&(e.inheritAttrs=I),A&&(e.components=A),G&&(e.directives=G),O&&Gi(e)}function gh(e,t,n=Ht){re(e)&&(e=fi(e));for(const s in e){const r=e[s];let o;we(r)?"default"in r?o=Ze(r.from||s,r.default,!0):o=Ze(r.from||s):o=Ze(r),Ae(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Kl(e,t,n){Ct(re(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Pu(e,t,n,s){let r=s.includes(".")?hu(n,s):()=>n[s];if(Pe(e)){const o=t[e];ue(o)&&Oe(r,o)}else if(ue(e))Oe(r,e.bind(n));else if(we(e))if(re(e))e.forEach(o=>Pu(o,t,n,s));else{const o=ue(e.handler)?e.handler.bind(n):t[e.handler];ue(o)&&Oe(r,o,e)}}function Ou(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(u=>Br(a,u,i,!0)),Br(a,t,i)),we(t)&&o.set(t,a),a}function Br(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Br(e,o,n,!0),r&&r.forEach(i=>Br(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=mh[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const mh={data:Gl,props:Ql,emits:Ql,methods:Ts,computed:Ts,beforeCreate:Xe,created:Xe,beforeMount:Xe,mounted:Xe,beforeUpdate:Xe,updated:Xe,beforeDestroy:Xe,beforeUnmount:Xe,destroyed:Xe,unmounted:Xe,activated:Xe,deactivated:Xe,errorCaptured:Xe,serverPrefetch:Xe,components:Ts,directives:Ts,watch:vh,provide:Gl,inject:yh};function Gl(e,t){return t?e?function(){return ze(ue(e)?e.call(this,this):e,ue(t)?t.call(this,this):t)}:t:e}function yh(e,t){return Ts(fi(e),fi(t))}function fi(e){if(re(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Xe(e,t){return e?[...new Set([].concat(e,t))]:t}function Ts(e,t){return e?ze(Object.create(null),e,t):t}function Ql(e,t){return e?re(e)&&re(t)?[...new Set([...e,...t])]:ze(Object.create(null),Vl(e),Vl(t??{})):t}function vh(e,t){if(!e)return t;if(!t)return e;const n=ze(Object.create(null),e);for(const s in t)n[s]=Xe(e[s],t[s]);return n}function Ru(){return{app:null,config:{isNativeTag:Dc,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 bh=0;function _h(e,t){return function(s,r=null){ue(s)||(s=ze({},s)),r!=null&&!we(r)&&(r=null);const o=Ru(),i=new WeakSet,l=[];let a=!1;const u=o.app={_uid:bh++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:eg,get config(){return o.config},set config(c){},use(c,...f){return i.has(c)||(c&&ue(c.install)?(i.add(c),c.install(u,...f)):ue(c)&&(i.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,p){if(!a){const d=u._ceVNode||ee(s,r);return d.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),f&&t?t(d,c):e(d,c,p),a=!0,u._container=c,c.__vue_app__=u,wo(d.component)}},onUnmount(c){l.push(c)},unmount(){a&&(Ct(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=zn;zn=u;try{return c()}finally{zn=f}}};return u}}let zn=null;const wh=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Qe(t)}Modifiers`]||e[`${bn(t)}Modifiers`];function xh(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||$e;let r=n;const o=t.startsWith("update:"),i=o&&wh(s,t.slice(7));i&&(i.trim&&(r=n.map(c=>Pe(c)?c.trim():c)),i.number&&(r=n.map(zi)));let l,a=s[l=Cr(t)]||s[l=Cr(Qe(t))];!a&&o&&(a=s[l=Cr(bn(t))]),a&&Ct(a,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ct(u,e,6,r)}}const kh=new WeakMap;function Mu(e,t,n=!1){const s=n?kh:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!ue(e)){const a=u=>{const c=Mu(u,t,!0);c&&(l=!0,ze(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(we(e)&&s.set(e,null),null):(re(o)?o.forEach(a=>i[a]=null):ze(i,o),we(e)&&s.set(e,i),i)}function vo(e,t){return!e||!Zs(t)?!1:(t=t.slice(2).replace(/Once$/,""),xe(e,t[0].toLowerCase()+t.slice(1))||xe(e,bn(t))||xe(e,t))}function Io(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:a,render:u,renderCache:c,props:f,data:p,setupState:d,ctx:h,inheritAttrs:g}=e,b=zr(e);let y,x;try{if(n.shapeFlag&4){const w=r||s,S=w;y=it(u.call(S,w,c,f,d,p,h)),x=l}else{const w=t;y=it(w.length>1?w(f,{attrs:l,slots:i,emit:a}):w(f,null)),x=t.props?l:Th(l)}}catch(w){Rs.length=0,us(w,e,1),y=ee(Ie)}let _=y;if(x&&g!==!1){const w=Object.keys(x),{shapeFlag:S}=_;w.length&&S&7&&(o&&w.some(ro)&&(x=$h(x,o)),_=tn(_,x,!1,!0))}return n.dirs&&(_=tn(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&qs(_,n.transition),y=_,zr(b),y}function Sh(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(os(r)){if(r.type!==Ie||r.children==="v-if"){if(n)return;n=r}}else return}return n}const Th=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zs(n))&&((t||(t={}))[n]=e[n]);return t},$h=(e,t)=>{const n={};for(const s in e)(!ro(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Eh(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:a}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Jl(s,i,u):!!i;if(a&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const p=c[f];if(Lu(i,s,p)&&!vo(u,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?Jl(s,i,u):!0:!!i;return!1}function Jl(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(Lu(t,e,o)&&!vo(n,o))return!0}return!1}function Lu(e,t,n){const s=e[n],r=t[n];return n==="style"&&we(s)&&we(r)?!tr(s,r):s!==r}function bo({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const Du={},Iu=()=>Object.create(Du),Nu=e=>Object.getPrototypeOf(e)===Du;function Ch(e,t,n,s=!1){const r={},o=Iu();e.propsDefaults=Object.create(null),zu(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:On(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Ah(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=_e(r),[a]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let p=c[f];if(vo(e.emitsOptions,p))continue;const d=t[p];if(a)if(xe(o,p))d!==o[p]&&(o[p]=d,u=!0);else{const h=Qe(p);r[h]=di(a,l,h,d,e,!1)}else d!==o[p]&&(o[p]=d,u=!0)}}}else{zu(e,t,r,o)&&(u=!0);let c;for(const f in l)(!t||!xe(t,f)&&((c=bn(f))===f||!xe(t,c)))&&(a?n&&(n[f]!==void 0||n[c]!==void 0)&&(r[f]=di(a,l,f,void 0,e,!0)):delete r[f]);if(o!==l)for(const f in o)(!t||!xe(t,f))&&(delete o[f],u=!0)}u&&Qt(e.attrs,"set","")}function zu(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(Dn(a))continue;const u=t[a];let c;r&&xe(r,c=Qe(a))?!o||!o.includes(c)?n[c]=u:(l||(l={}))[c]=u:vo(e.emitsOptions,a)||(!(a in s)||u!==s[a])&&(s[a]=u,i=!0)}if(o){const a=_e(n),u=l||$e;for(let c=0;c<o.length;c++){const f=o[c];n[f]=di(r,a,f,u[f],e,!xe(u,f))}}return i}function di(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=xe(i,"default");if(l&&s===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&ue(a)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const c=rr(r);s=u[n]=a.call(null,t),c()}}else s=a;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===bn(n))&&(s=!0))}return s}const Ph=new WeakMap;function Hu(e,t,n=!1){const s=n?Ph:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let a=!1;if(!ue(e)){const c=f=>{a=!0;const[p,d]=Hu(f,t,!0);ze(i,p),d&&l.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!a)return we(e)&&s.set(e,Jn),Jn;if(re(o))for(let c=0;c<o.length;c++){const f=Qe(o[c]);Xl(f)&&(i[f]=$e)}else if(o)for(const c in o){const f=Qe(c);if(Xl(f)){const p=o[c],d=i[f]=re(p)||ue(p)?{type:p}:ze({},p),h=d.type;let g=!1,b=!0;if(re(h))for(let y=0;y<h.length;++y){const x=h[y],_=ue(x)&&x.name;if(_==="Boolean"){g=!0;break}else _==="String"&&(b=!1)}else g=ue(h)&&h.name==="Boolean";d[0]=g,d[1]=b,(g||xe(d,"default"))&&l.push(f)}}const u=[i,l];return we(e)&&s.set(e,u),u}function Xl(e){return e[0]!=="$"&&!Dn(e)}const Xi=e=>e==="_"||e==="_ctx"||e==="$stable",Yi=e=>re(e)?e.map(it):[it(e)],Oh=(e,t,n)=>{if(t._n)return t;const s=le((...r)=>Yi(t(...r)),n);return s._c=!1,s},Fu=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Xi(r))continue;const o=e[r];if(ue(o))t[r]=Oh(r,o,s);else if(o!=null){const i=Yi(o);t[r]=()=>i}}},Bu=(e,t)=>{const n=Yi(t);e.slots.default=()=>n},ju=(e,t,n)=>{for(const s in t)(n||!Xi(s))&&(e[s]=t[s])},Rh=(e,t,n)=>{const s=e.slots=Iu();if(e.vnode.shapeFlag&32){const r=t._;r?(ju(s,t,n),n&&Hc(s,"_",r,!0)):Fu(t,s)}else t&&Bu(e,t)},Mh=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=$e;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:ju(r,t,n):(o=!t.$stable,Fu(t,r)),i=t}else t&&(Bu(e,t),i={default:1});if(o)for(const l in r)!Xi(l)&&i[l]==null&&delete r[l]},We=Qu;function Lh(e){return qu(e)}function Dh(e){return qu(e,eh)}function qu(e,t){const n=co();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:a,setText:u,setElementText:c,parentNode:f,nextSibling:p,setScopeId:d=Ht,insertStaticContent:h}=e,g=(m,k,C,B=null,z=null,F=null,Z=void 0,X=null,Q=!!k.dynamicChildren)=>{if(m===k)return;m&&!zt(m,k)&&(B=L(m),Ue(m,z,F,!0),m=null),k.patchFlag===-2&&(Q=!1,k.dynamicChildren=null);const{type:j,ref:ce,shapeFlag:te}=k;switch(j){case Hn:b(m,k,C,B);break;case Ie:y(m,k,C,B);break;case Os:m==null&&x(k,C,B,Z);break;case ge:A(m,k,C,B,z,F,Z,X,Q);break;default:te&1?S(m,k,C,B,z,F,Z,X,Q):te&6?G(m,k,C,B,z,F,Z,X,Q):(te&64||te&128)&&j.process(m,k,C,B,z,F,Z,X,Q,K)}ce!=null&&z?Zn(ce,m&&m.ref,F,k||m,!k):ce==null&&m&&m.ref!=null&&Zn(m.ref,null,F,m,!0)},b=(m,k,C,B)=>{if(m==null)s(k.el=l(k.children),C,B);else{const z=k.el=m.el;k.children!==m.children&&u(z,k.children)}},y=(m,k,C,B)=>{m==null?s(k.el=a(k.children||""),C,B):k.el=m.el},x=(m,k,C,B)=>{[m.el,m.anchor]=h(m.children,k,C,B,m.el,m.anchor)},_=({el:m,anchor:k},C,B)=>{let z;for(;m&&m!==k;)z=p(m),s(m,C,B),m=z;s(k,C,B)},w=({el:m,anchor:k})=>{let C;for(;m&&m!==k;)C=p(m),r(m),m=C;r(k)},S=(m,k,C,B,z,F,Z,X,Q)=>{if(k.type==="svg"?Z="svg":k.type==="math"&&(Z="mathml"),m==null)$(k,C,B,z,F,Z,X,Q);else{const j=m.el&&m.el._isVueCE?m.el:null;try{j&&j._beginPatch(),O(m,k,z,F,Z,X,Q)}finally{j&&j._endPatch()}}},$=(m,k,C,B,z,F,Z,X)=>{let Q,j;const{props:ce,shapeFlag:te,transition:se,dirs:de}=m;if(Q=m.el=i(m.type,F,ce&&ce.is,ce),te&8?c(Q,m.children):te&16&&D(m.children,Q,null,B,z,No(m,F),Z,X),de&&Mt(m,null,B,"created"),M(Q,m,m.scopeId,Z,B),ce){for(const Te in ce)Te!=="value"&&!Dn(Te)&&o(Q,Te,null,ce[Te],F,B);"value"in ce&&o(Q,"value",null,ce.value,F),(j=ce.onVnodeBeforeMount)&&pt(j,B,m)}de&&Mt(m,null,B,"beforeMount");const be=Uu(z,se);be&&se.beforeEnter(Q),s(Q,k,C),((j=ce&&ce.onVnodeMounted)||be||de)&&We(()=>{j&&pt(j,B,m),be&&se.enter(Q),de&&Mt(m,null,B,"mounted")},z)},M=(m,k,C,B,z)=>{if(C&&d(m,C),B)for(let F=0;F<B.length;F++)d(m,B[F]);if(z){let F=z.subTree;if(k===F||Ku(F.type)&&(F.ssContent===k||F.ssFallback===k)){const Z=z.vnode;M(m,Z,Z.scopeId,Z.slotScopeIds,z.parent)}}},D=(m,k,C,B,z,F,Z,X,Q=0)=>{for(let j=Q;j<m.length;j++){const ce=m[j]=X?Gt(m[j]):it(m[j]);g(null,ce,k,C,B,z,F,Z,X)}},O=(m,k,C,B,z,F,Z)=>{const X=k.el=m.el;let{patchFlag:Q,dynamicChildren:j,dirs:ce}=k;Q|=m.patchFlag&16;const te=m.props||$e,se=k.props||$e;let de;if(C&&Sn(C,!1),(de=se.onVnodeBeforeUpdate)&&pt(de,C,k,m),ce&&Mt(k,m,C,"beforeUpdate"),C&&Sn(C,!0),(te.innerHTML&&se.innerHTML==null||te.textContent&&se.textContent==null)&&c(X,""),j?P(m.dynamicChildren,j,X,C,B,No(k,z),F):Z||E(m,k,X,null,C,B,No(k,z),F,!1),Q>0){if(Q&16)I(X,te,se,C,z);else if(Q&2&&te.class!==se.class&&o(X,"class",null,se.class,z),Q&4&&o(X,"style",te.style,se.style,z),Q&8){const be=k.dynamicProps;for(let Te=0;Te<be.length;Te++){const Ee=be[Te],Le=te[Ee],Ne=se[Ee];(Ne!==Le||Ee==="value")&&o(X,Ee,Le,Ne,z,C)}}Q&1&&m.children!==k.children&&c(X,k.children)}else!Z&&j==null&&I(X,te,se,C,z);((de=se.onVnodeUpdated)||ce)&&We(()=>{de&&pt(de,C,k,m),ce&&Mt(k,m,C,"updated")},B)},P=(m,k,C,B,z,F,Z)=>{for(let X=0;X<k.length;X++){const Q=m[X],j=k[X],ce=Q.el&&(Q.type===ge||!zt(Q,j)||Q.shapeFlag&198)?f(Q.el):C;g(Q,j,ce,null,B,z,F,Z,!0)}},I=(m,k,C,B,z)=>{if(k!==C){if(k!==$e)for(const F in k)!Dn(F)&&!(F in C)&&o(m,F,k[F],null,z,B);for(const F in C){if(Dn(F))continue;const Z=C[F],X=k[F];Z!==X&&F!=="value"&&o(m,F,X,Z,z,B)}"value"in C&&o(m,"value",k.value,C.value,z)}},A=(m,k,C,B,z,F,Z,X,Q)=>{const j=k.el=m?m.el:l(""),ce=k.anchor=m?m.anchor:l("");let{patchFlag:te,dynamicChildren:se,slotScopeIds:de}=k;de&&(X=X?X.concat(de):de),m==null?(s(j,C,B),s(ce,C,B),D(k.children||[],C,ce,z,F,Z,X,Q)):te>0&&te&64&&se&&m.dynamicChildren&&m.dynamicChildren.length===se.length?(P(m.dynamicChildren,se,C,z,F,Z,X),(k.key!=null||z&&k===z.subTree)&&Zi(m,k,!0)):E(m,k,C,ce,z,F,Z,X,Q)},G=(m,k,C,B,z,F,Z,X,Q)=>{k.slotScopeIds=X,m==null?k.shapeFlag&512?z.ctx.activate(k,C,B,Z,Q):H(k,C,B,z,F,Z,Q):ne(m,k,Q)},H=(m,k,C,B,z,F,Z)=>{const X=m.component=Gh(m,B,z);if(sr(m)&&(X.ctx.renderer=K),Qh(X,!1,Z),X.asyncDep){if(z&&z.registerDep(X,q,Z),!m.el){const Q=X.subTree=ee(Ie);y(null,Q,k,C),m.placeholder=Q.el}}else q(X,m,k,C,z,F,Z)},ne=(m,k,C)=>{const B=k.component=m.component;if(Eh(m,k,C))if(B.asyncDep&&!B.asyncResolved){N(B,k,C);return}else B.next=k,B.update();else k.el=m.el,B.vnode=k},q=(m,k,C,B,z,F,Z)=>{const X=()=>{if(m.isMounted){let{next:te,bu:se,u:de,parent:be,vnode:Te}=m;{const rt=Wu(m);if(rt){te&&(te.el=Te.el,N(m,te,Z)),rt.asyncDep.then(()=>{We(()=>{m.isUnmounted||j()},z)});return}}let Ee=te,Le;Sn(m,!1),te?(te.el=Te.el,N(m,te,Z)):te=Te,se&&Ar(se),(Le=te.props&&te.props.onVnodeBeforeUpdate)&&pt(Le,be,te,Te),Sn(m,!0);const Ne=Io(m),vt=m.subTree;m.subTree=Ne,g(vt,Ne,f(vt.el),L(vt),m,z,F),te.el=Ne.el,Ee===null&&bo(m,Ne.el),de&&We(de,z),(Le=te.props&&te.props.onVnodeUpdated)&&We(()=>pt(Le,be,te,Te),z)}else{let te;const{el:se,props:de}=k,{bm:be,m:Te,parent:Ee,root:Le,type:Ne}=m,vt=Nn(k);if(Sn(m,!1),be&&Ar(be),!vt&&(te=de&&de.onVnodeBeforeMount)&&pt(te,Ee,k),Sn(m,!0),se&&ie){const rt=()=>{m.subTree=Io(m),ie(se,m.subTree,m,z,null)};vt&&Ne.__asyncHydrate?Ne.__asyncHydrate(se,m,rt):rt()}else{Le.ce&&Le.ce._hasShadowRoot()&&Le.ce._injectChildStyle(Ne,m.parent?m.parent.type:void 0);const rt=m.subTree=Io(m);g(null,rt,C,B,m,z,F),k.el=rt.el}if(Te&&We(Te,z),!vt&&(te=de&&de.onVnodeMounted)){const rt=k;We(()=>pt(te,Ee,rt),z)}(k.shapeFlag&256||Ee&&Nn(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&m.a&&We(m.a,z),m.isMounted=!0,k=C=B=null}};m.scope.on();const Q=m.effect=new Vc(X);m.scope.off();const j=m.update=Q.run.bind(Q),ce=m.job=Q.runIfDirty.bind(Q);ce.i=m,ce.id=m.uid,Q.scheduler=()=>Vi(ce),Sn(m,!0),j()},N=(m,k,C)=>{k.component=m;const B=m.vnode.props;m.vnode=k,m.next=null,Ah(m,k.props,B,C),Mh(m,k.children,C),Zt(),Il(m),en()},E=(m,k,C,B,z,F,Z,X,Q=!1)=>{const j=m&&m.children,ce=m?m.shapeFlag:0,te=k.children,{patchFlag:se,shapeFlag:de}=k;if(se>0){if(se&128){He(j,te,C,B,z,F,Z,X,Q);return}else if(se&256){fe(j,te,C,B,z,F,Z,X,Q);return}}de&8?(ce&16&&xn(j,z,F),te!==j&&c(C,te)):ce&16?de&16?He(j,te,C,B,z,F,Z,X,Q):xn(j,z,F,!0):(ce&8&&c(C,""),de&16&&D(te,C,B,z,F,Z,X,Q))},fe=(m,k,C,B,z,F,Z,X,Q)=>{m=m||Jn,k=k||Jn;const j=m.length,ce=k.length,te=Math.min(j,ce);let se;for(se=0;se<te;se++){const de=k[se]=Q?Gt(k[se]):it(k[se]);g(m[se],de,C,null,z,F,Z,X,Q)}j>ce?xn(m,z,F,!0,!1,te):D(k,C,B,z,F,Z,X,Q,te)},He=(m,k,C,B,z,F,Z,X,Q)=>{let j=0;const ce=k.length;let te=m.length-1,se=ce-1;for(;j<=te&&j<=se;){const de=m[j],be=k[j]=Q?Gt(k[j]):it(k[j]);if(zt(de,be))g(de,be,C,null,z,F,Z,X,Q);else break;j++}for(;j<=te&&j<=se;){const de=m[te],be=k[se]=Q?Gt(k[se]):it(k[se]);if(zt(de,be))g(de,be,C,null,z,F,Z,X,Q);else break;te--,se--}if(j>te){if(j<=se){const de=se+1,be=de<ce?k[de].el:B;for(;j<=se;)g(null,k[j]=Q?Gt(k[j]):it(k[j]),C,be,z,F,Z,X,Q),j++}}else if(j>se)for(;j<=te;)Ue(m[j],z,F,!0),j++;else{const de=j,be=j,Te=new Map;for(j=be;j<=se;j++){const ot=k[j]=Q?Gt(k[j]):it(k[j]);ot.key!=null&&Te.set(ot.key,j)}let Ee,Le=0;const Ne=se-be+1;let vt=!1,rt=0;const ms=new Array(Ne);for(j=0;j<Ne;j++)ms[j]=0;for(j=de;j<=te;j++){const ot=m[j];if(Le>=Ne){Ue(ot,z,F,!0);continue}let Pt;if(ot.key!=null)Pt=Te.get(ot.key);else for(Ee=be;Ee<=se;Ee++)if(ms[Ee-be]===0&&zt(ot,k[Ee])){Pt=Ee;break}Pt===void 0?Ue(ot,z,F,!0):(ms[Pt-be]=j+1,Pt>=rt?rt=Pt:vt=!0,g(ot,k[Pt],C,null,z,F,Z,X,Q),Le++)}const Al=vt?Ih(ms):Jn;for(Ee=Al.length-1,j=Ne-1;j>=0;j--){const ot=be+j,Pt=k[ot],Pl=k[ot+1],Ol=ot+1<ce?Pl.el||Vu(Pl):B;ms[j]===0?g(null,Pt,C,Ol,z,F,Z,X,Q):vt&&(Ee<0||j!==Al[Ee]?nt(Pt,C,Ol,2):Ee--)}}},nt=(m,k,C,B,z=null)=>{const{el:F,type:Z,transition:X,children:Q,shapeFlag:j}=m;if(j&6){nt(m.component.subTree,k,C,B);return}if(j&128){m.suspense.move(k,C,B);return}if(j&64){Z.move(m,k,C,K);return}if(Z===ge){s(F,k,C);for(let te=0;te<Q.length;te++)nt(Q[te],k,C,B);s(m.anchor,k,C);return}if(Z===Os){_(m,k,C);return}if(B!==2&&j&1&&X)if(B===0)X.beforeEnter(F),s(F,k,C),We(()=>X.enter(F),z);else{const{leave:te,delayLeave:se,afterLeave:de}=X,be=()=>{m.ctx.isUnmounted?r(F):s(F,k,C)},Te=()=>{F._isLeaving&&F[Dt](!0),te(F,()=>{be(),de&&de()})};se?se(F,be,Te):Te()}else s(F,k,C)},Ue=(m,k,C,B=!1,z=!1)=>{const{type:F,props:Z,ref:X,children:Q,dynamicChildren:j,shapeFlag:ce,patchFlag:te,dirs:se,cacheIndex:de,memo:be}=m;if(te===-2&&(z=!1),X!=null&&(Zt(),Zn(X,null,C,m,!0),en()),de!=null&&(k.renderCache[de]=void 0),ce&256){k.ctx.deactivate(m);return}const Te=ce&1&&se,Ee=!Nn(m);let Le;if(Ee&&(Le=Z&&Z.onVnodeBeforeUnmount)&&pt(Le,k,m),ce&6)st(m.component,C,B);else{if(ce&128){m.suspense.unmount(C,B);return}Te&&Mt(m,null,k,"beforeUnmount"),ce&64?m.type.remove(m,k,C,K,B):j&&!j.hasOnce&&(F!==ge||te>0&&te&64)?xn(j,k,C,!1,!0):(F===ge&&te&384||!z&&ce&16)&&xn(Q,k,C),B&&ke(m)}const Ne=be!=null&&de==null;(Ee&&(Le=Z&&Z.onVnodeUnmounted)||Te||Ne)&&We(()=>{Le&&pt(Le,k,m),Te&&Mt(m,null,k,"unmounted"),Ne&&(m.el=null)},C)},ke=m=>{const{type:k,el:C,anchor:B,transition:z}=m;if(k===ge){wn(C,B);return}if(k===Os){w(m);return}const F=()=>{r(C),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(m.shapeFlag&1&&z&&!z.persisted){const{leave:Z,delayLeave:X}=z,Q=()=>Z(C,F);X?X(m.el,F,Q):Q()}else F()},wn=(m,k)=>{let C;for(;m!==k;)C=p(m),r(m),m=C;r(k)},st=(m,k,C)=>{const{bum:B,scope:z,job:F,subTree:Z,um:X,m:Q,a:j}=m;Yl(Q),Yl(j),B&&Ar(B),z.stop(),F&&(F.flags|=8,Ue(Z,m,k,C)),X&&We(X,k),We(()=>{m.isUnmounted=!0},k)},xn=(m,k,C,B=!1,z=!1,F=0)=>{for(let Z=F;Z<m.length;Z++)Ue(m[Z],k,C,B,z)},L=m=>{if(m.shapeFlag&6)return L(m.component.subTree);if(m.shapeFlag&128)return m.suspense.next();const k=p(m.anchor||m.el),C=k&&k[gu];return C?p(C):k};let V=!1;const Y=(m,k,C)=>{let B;m==null?k._vnode&&(Ue(k._vnode,null,null,!0),B=k._vnode.component):g(k._vnode||null,m,k,null,null,null,C),k._vnode=m,V||(V=!0,Il(B),Nr(),V=!1)},K={p:g,um:Ue,m:nt,r:ke,mt:H,mc:D,pc:E,pbc:P,n:L,o:e};let J,ie;return t&&([J,ie]=t(K)),{render:Y,hydrate:J,createApp:_h(Y,J)}}function No({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 Sn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Uu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zi(e,t,n=!1){const s=e.children,r=t.children;if(re(s)&&re(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=Gt(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&Zi(i,l)),l.type===Hn&&(l.patchFlag===-1&&(l=r[o]=Gt(l)),l.el=i.el),l.type===Ie&&!l.el&&(l.el=i.el)}}function Ih(e){const t=e.slice(),n=[0];let s,r,o,i,l;const a=e.length;for(s=0;s<a;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<u?o=l+1:i=l;u<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Wu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Wu(t)}function Yl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Vu(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Vu(t.subTree):null}const Ku=e=>e.__isSuspense;let pi=0;const Nh={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,i,l,a,u){if(e==null)Hh(t,n,s,r,o,i,l,a,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Fh(e,t,n,s,r,i,l,a,u)}},hydrate:Bh,normalize:jh},zh=Nh;function Ws(e,t){const n=e.props&&e.props[t];ue(n)&&n()}function Hh(e,t,n,s,r,o,i,l,a){const{p:u,o:{createElement:c}}=a,f=c("div"),p=e.suspense=Gu(e,r,s,t,f,n,o,i,l,a);u(null,p.pendingBranch=e.ssContent,f,null,s,p,o,i),p.deps>0?(Ws(e,"onPending"),Ws(e,"onFallback"),u(null,e.ssFallback,t,n,s,null,o,i),es(p,e.ssFallback)):p.resolve(!1,!0)}function Fh(e,t,n,s,r,o,i,l,{p:a,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:g,isInFallback:b,isHydrating:y}=f;if(g)f.pendingBranch=p,zt(g,p)?(a(g,p,f.hiddenContainer,null,r,f,o,i,l),f.deps<=0?f.resolve():b&&(y||(a(h,d,n,s,r,null,o,i,l),es(f,d)))):(f.pendingId=pi++,y?(f.isHydrating=!1,f.activeBranch=g):u(g,r,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),b?(a(null,p,f.hiddenContainer,null,r,f,o,i,l),f.deps<=0?f.resolve():(a(h,d,n,s,r,null,o,i,l),es(f,d))):h&&zt(h,p)?(a(h,p,n,s,r,f,o,i,l),f.resolve(!0)):(a(null,p,f.hiddenContainer,null,r,f,o,i,l),f.deps<=0&&f.resolve()));else if(h&&zt(h,p))a(h,p,n,s,r,f,o,i,l),es(f,p);else if(Ws(t,"onPending"),f.pendingBranch=p,p.shapeFlag&512?f.pendingId=p.component.suspenseId:f.pendingId=pi++,a(null,p,f.hiddenContainer,null,r,f,o,i,l),f.deps<=0)f.resolve();else{const{timeout:x,pendingId:_}=f;x>0?setTimeout(()=>{f.pendingId===_&&f.fallback(d)},x):x===0&&f.fallback(d)}}function Gu(e,t,n,s,r,o,i,l,a,u,c=!1){const{p:f,m:p,um:d,n:h,o:{parentNode:g,remove:b}}=u;let y;const x=qh(e);x&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const _=e.props?Fc(e.props.timeout):void 0,w=o,S={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:r,deps:0,pendingId:pi++,timeout:typeof _=="number"?_:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve($=!1,M=!1){const{vnode:D,activeBranch:O,pendingBranch:P,pendingId:I,effects:A,parentComponent:G,container:H,isInFallback:ne}=S;let q=!1;S.isHydrating?S.isHydrating=!1:$||(q=O&&P.transition&&P.transition.mode==="out-in",q&&(O.transition.afterLeave=()=>{I===S.pendingId&&(p(P,H,o===w?h(O):o,0),oi(A),ne&&D.ssFallback&&(D.ssFallback.el=null))}),O&&!S.isFallbackMountPending&&(g(O.el)===H&&(o=h(O)),d(O,G,S,!0),!q&&ne&&D.ssFallback&&We(()=>D.ssFallback.el=null,S)),q||p(P,H,o,0)),S.isFallbackMountPending=!1,es(S,P),S.pendingBranch=null,S.isInFallback=!1;let N=S.parent,E=!1;for(;N;){if(N.pendingBranch){N.effects.push(...A),E=!0;break}N=N.parent}!E&&!q&&oi(A),S.effects=[],x&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!M&&t.resolve()),Ws(D,"onResolve")},fallback($){if(!S.pendingBranch)return;const{vnode:M,activeBranch:D,parentComponent:O,container:P,namespace:I}=S;Ws(M,"onFallback");const A=h(D),G=()=>{S.isFallbackMountPending=!1,S.isInFallback&&(f(null,$,P,A,O,null,I,l,a),es(S,$))},H=$.transition&&$.transition.mode==="out-in";H&&(S.isFallbackMountPending=!0,D.transition.afterLeave=G),S.isInFallback=!0,d(D,O,null,!0),H||G()},move($,M,D){S.activeBranch&&p(S.activeBranch,$,M,D),S.container=$},next(){return S.activeBranch&&h(S.activeBranch)},registerDep($,M,D){const O=!!S.pendingBranch;O&&S.deps++;const P=$.vnode.el;$.asyncDep.catch(I=>{us(I,$,0)}).then(I=>{if($.isUnmounted||S.isUnmounted||S.pendingId!==$.suspenseId)return;gi(),$.asyncResolved=!0;const{vnode:A}=$;mi($,I),P&&(A.el=P);const G=!P&&$.subTree.el;M($,A,g(P||$.subTree.el),P?null:h($.subTree),S,i,D),G&&(A.placeholder=null,b(G)),bo($,A.el),O&&--S.deps===0&&S.resolve()})},unmount($,M){S.isUnmounted=!0,S.activeBranch&&d(S.activeBranch,n,$,M),S.pendingBranch&&d(S.pendingBranch,n,$,M)}};return S}function Bh(e,t,n,s,r,o,i,l,a){const u=t.suspense=Gu(t,s,n,e.parentNode,document.createElement("div"),null,r,o,i,l,!0),c=a(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(!1,!0),c}function jh(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Zl(s?n.default:n),e.ssFallback=s?Zl(n.fallback):ee(Ie)}function Zl(e){let t;if(ue(e)){const n=rs&&e._c;n&&(e._d=!1,R()),e=e(),n&&(e._d=!0,t=tt,Ju())}return re(e)&&(e=Sh(e)),e=it(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Qu(e,t){t&&t.pendingBranch?re(e)?t.effects.push(...e):t.effects.push(e):oi(e)}function es(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,bo(s,r))}function qh(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ge=Symbol.for("v-fgt"),Hn=Symbol.for("v-txt"),Ie=Symbol.for("v-cmt"),Os=Symbol.for("v-stc"),Rs=[];let tt=null;function R(e=!1){Rs.push(tt=e?null:[])}function Ju(){Rs.pop(),tt=Rs[Rs.length-1]||null}let rs=1;function jr(e,t=!1){rs+=e,e<0&&tt&&t&&(tt.hasOnce=!0)}function Xu(e){return e.dynamicChildren=rs>0?tt||Jn:null,Ju(),rs>0&&tt&&tt.push(e),e}function W(e,t,n,s,r,o){return Xu(T(e,t,n,s,r,o,!0))}function he(e,t,n,s,r){return Xu(ee(e,t,n,s,r,!0))}function os(e){return e?e.__v_isVNode===!0:!1}function zt(e,t){return e.type===t.type&&e.key===t.key}const Yu=({key:e})=>e??null,Pr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Pe(e)||Ae(e)||ue(e)?{i:Be,r:e,k:t,f:!!n}:e:null);function T(e,t=null,n=null,s=0,r=null,o=e===ge?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yu(t),ref:t&&Pr(t),scopeId:go,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:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Be};return l?(el(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=Pe(n)?8:16),rs>0&&!i&&tt&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&tt.push(a),a}const ee=Uh;function Uh(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Eu)&&(e=Ie),os(e)){const l=tn(e,t,!0);return n&&el(l,n),rs>0&&!o&&tt&&(l.shapeFlag&6?tt[tt.indexOf(e)]=l:tt.push(l)),l.patchFlag=-2,l}if(Zh(e)&&(e=e.__vccOpts),t){t=_o(t);let{class:l,style:a}=t;l&&!Pe(l)&&(t.class=Re(l)),we(a)&&(ho(a)&&!re(a)&&(a=ze({},a)),t.style=mt(a))}const i=Pe(e)?1:Ku(e)?128:mu(e)?64:we(e)?4:ue(e)?2:0;return T(e,t,n,s,r,i,o,!0)}function _o(e){return e?ho(e)||Nu(e)?ze({},e):e:null}function tn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:a}=e,u=t?ct(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Yu(u),ref:t&&t.ref?n&&o?re(o)?o.concat(Pr(t)):[o,Pr(t)]:Pr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&tn(e.ssContent),ssFallback:e.ssFallback&&tn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&qs(c,a.clone(c)),c}function De(e=" ",t=0){return ee(Hn,null,e,t)}function Wh(e,t){const n=ee(Os,null,e);return n.staticCount=t,n}function pe(e="",t=!1){return t?(R(),he(Ie,null,e)):ee(Ie,null,e)}function it(e){return e==null||typeof e=="boolean"?ee(Ie):re(e)?ee(ge,null,e.slice()):os(e)?Gt(e):ee(Hn,null,String(e))}function Gt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:tn(e)}function el(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(re(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),el(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Nu(t)?t._ctx=Be:r===3&&Be&&(Be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ue(t)?(t={default:t,_ctx:Be},n=32):(t=String(t),s&64?(n=16,t=[De(t)]):n=8);e.children=t,e.shapeFlag|=n}function ct(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Re([t.class,s.class]));else if(r==="style")t.style=mt([t.style,s.style]);else if(Zs(r)){const o=t[r],i=s[r];i&&o!==i&&!(re(o)&&o.includes(i))?t[r]=o?[].concat(o,i):i:i==null&&o==null&&!ro(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function pt(e,t,n,s=null){Ct(e,t,7,[n,s])}const Vh=Ru();let Kh=0;function Gh(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Vh,o={uid:Kh++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Wc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Hu(s,r),emitsOptions:Mu(s,r),emit:null,emitted:null,propsDefaults:$e,inheritAttrs:s.inheritAttrs,ctx:$e,data:$e,props:$e,attrs:$e,slots:$e,refs:$e,setupState:$e,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=xh.bind(null,o),e.ce&&e.ce(o),o}let Fe=null;const et=()=>Fe||Be;let qr,hi;{const e=co(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};qr=t("__VUE_INSTANCE_SETTERS__",n=>Fe=n),hi=t("__VUE_SSR_SETTERS__",n=>is=n)}const rr=e=>{const t=Fe;return qr(e),e.scope.on(),()=>{e.scope.off(),qr(t)}},gi=()=>{Fe&&Fe.scope.off(),qr(null)};function Zu(e){return e.vnode.shapeFlag&4}let is=!1;function Qh(e,t=!1,n=!1){t&&hi(t);const{props:s,children:r}=e.vnode,o=Zu(e);Ch(e,s,o,t),Rh(e,r,n||t);const i=o?Jh(e,t):void 0;return t&&hi(!1),i}function Jh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fh);const{setup:s}=n;if(s){Zt();const r=e.setupContext=s.length>1?tf(e):null,o=rr(e),i=nr(s,e,0,[e.props,r]),l=Ic(i);if(en(),o(),(l||e.sp)&&!Nn(e)&&Gi(e),l){if(i.then(gi,gi),t)return i.then(a=>{mi(e,a)}).catch(a=>{us(a,e,0)});e.asyncDep=i}else mi(e,i)}else ef(e)}function mi(e,t,n){ue(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=lu(t)),ef(e)}function ef(e,t,n){const s=e.type;e.render||(e.render=s.render||Ht);{const r=rr(e);Zt();try{hh(e)}finally{en(),r()}}}const Xh={get(e,t){return Ke(e,"get",""),e[t]}};function tf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Xh),slots:e.slots,emit:e.emit,expose:t}}function wo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(lu(Sp(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ps)return Ps[n](e)},has(t,n){return n in t||n in Ps}})):e.proxy}function Yh(e,t=!0){return ue(e)?e.displayName||e.name:e.name||t&&e.__name}function Zh(e){return ue(e)&&"__vccOpts"in e}const U=(e,t)=>Mp(e,t,is);function pn(e,t,n){try{jr(-1);const s=arguments.length;return s===2?we(t)&&!re(t)?os(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&os(n)&&(n=[n]),ee(e,t,n))}finally{jr(1)}}const eg="3.5.32";let yi;const ea=typeof window<"u"&&window.trustedTypes;if(ea)try{yi=ea.createPolicy("vue",{createHTML:e=>e})}catch{}const nf=yi?e=>yi.createHTML(e):e=>e,tg="http://www.w3.org/2000/svg",ng="http://www.w3.org/1998/Math/MathML",Kt=typeof document<"u"?document:null,ta=Kt&&Kt.createElement("template"),sg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Kt.createElementNS(tg,e):t==="mathml"?Kt.createElementNS(ng,e):n?Kt.createElement(e,{is:n}):Kt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Kt.createTextNode(e),createComment:e=>Kt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Kt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{ta.innerHTML=nf(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=ta.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},on="transition",bs="animation",Vs=Symbol("_vtc"),sf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},rg=ze({},yu,sf),og=e=>(e.displayName="Transition",e.props=rg,e),rf=og((e,{slots:t})=>pn(Jp,ig(e),t)),Tn=(e,t=[])=>{re(e)?e.forEach(n=>n(...t)):e&&e(...t)},na=e=>e?re(e)?e.some(t=>t.length>1):e.length>1:!1;function ig(e){const t={};for(const A in e)A in sf||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:u=i,appearToClass:c=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,h=lg(r),g=h&&h[0],b=h&&h[1],{onBeforeEnter:y,onEnter:x,onEnterCancelled:_,onLeave:w,onLeaveCancelled:S,onBeforeAppear:$=y,onAppear:M=x,onAppearCancelled:D=_}=t,O=(A,G,H,ne)=>{A._enterCancelled=ne,$n(A,G?c:l),$n(A,G?u:i),H&&H()},P=(A,G)=>{A._isLeaving=!1,$n(A,f),$n(A,d),$n(A,p),G&&G()},I=A=>(G,H)=>{const ne=A?M:x,q=()=>O(G,A,H);Tn(ne,[G,q]),sa(()=>{$n(G,A?a:o),Vt(G,A?c:l),na(ne)||ra(G,s,g,q)})};return ze(t,{onBeforeEnter(A){Tn(y,[A]),Vt(A,o),Vt(A,i)},onBeforeAppear(A){Tn($,[A]),Vt(A,a),Vt(A,u)},onEnter:I(!1),onAppear:I(!0),onLeave(A,G){A._isLeaving=!0;const H=()=>P(A,G);Vt(A,f),A._enterCancelled?(Vt(A,p),la(A)):(la(A),Vt(A,p)),sa(()=>{A._isLeaving&&($n(A,f),Vt(A,d),na(w)||ra(A,s,b,H))}),Tn(w,[A,H])},onEnterCancelled(A){O(A,!1,void 0,!0),Tn(_,[A])},onAppearCancelled(A){O(A,!0,void 0,!0),Tn(D,[A])},onLeaveCancelled(A){P(A),Tn(S,[A])}})}function lg(e){if(e==null)return null;if(we(e))return[zo(e.enter),zo(e.leave)];{const t=zo(e);return[t,t]}}function zo(e){return Fc(e)}function Vt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Vs]||(e[Vs]=new Set)).add(t)}function $n(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Vs];n&&(n.delete(t),n.size||(e[Vs]=void 0))}function sa(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ag=0;function ra(e,t,n,s){const r=e._endId=++ag,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:a}=cg(e,t);if(!i)return s();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,p),o()},p=d=>{d.target===e&&++c>=a&&f()};setTimeout(()=>{c<a&&f()},l+1),e.addEventListener(u,p)}function cg(e,t){const n=window.getComputedStyle(e),s=h=>(n[h]||"").split(", "),r=s(`${on}Delay`),o=s(`${on}Duration`),i=oa(r,o),l=s(`${bs}Delay`),a=s(`${bs}Duration`),u=oa(l,a);let c=null,f=0,p=0;t===on?i>0&&(c=on,f=i,p=o.length):t===bs?u>0&&(c=bs,f=u,p=a.length):(f=Math.max(i,u),c=f>0?i>u?on:bs:null,p=c?c===on?o.length:a.length:0);const d=c===on&&/\b(?:transform|all)(?:,|$)/.test(s(`${on}Property`).toString());return{type:c,timeout:f,propCount:p,hasTransform:d}}function oa(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>ia(n)+ia(e[s])))}function ia(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function la(e){return(e?e.ownerDocument:document).body.offsetHeight}function ug(e,t,n){const s=e[Vs];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const aa=Symbol("_vod"),fg=Symbol("_vsh"),dg=Symbol(""),pg=/(?:^|;)\s*display\s*:/;function hg(e,t,n){const s=e.style,r=Pe(n);let o=!1;if(n&&!r){if(t)if(Pe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Or(s,l,"")}else for(const i in t)n[i]==null&&Or(s,i,"");for(const i in n)i==="display"&&(o=!0),Or(s,i,n[i])}else if(r){if(t!==n){const i=s[dg];i&&(n+=";"+i),s.cssText=n,o=pg.test(n)}}else t&&e.removeAttribute("style");aa in e&&(e[aa]=o?s.display:"",e[fg]&&(s.display="none"))}const ca=/\s*!important$/;function Or(e,t,n){if(re(n))n.forEach(s=>Or(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=gg(e,t);ca.test(n)?e.setProperty(bn(s),n.replace(ca,""),"important"):e[s]=n}}const ua=["Webkit","Moz","ms"],Ho={};function gg(e,t){const n=Ho[t];if(n)return n;let s=Qe(t);if(s!=="filter"&&s in e)return Ho[t]=s;s=ao(s);for(let r=0;r<ua.length;r++){const o=ua[r]+s;if(o in e)return Ho[t]=o}return t}const fa="http://www.w3.org/1999/xlink";function da(e,t,n,s,r,o=np(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(fa,t.slice(6,t.length)):e.setAttributeNS(fa,t,n):n==null||o&&!Bc(n)?e.removeAttribute(t):e.setAttribute(t,o?"":at(n)?String(n):n)}function pa(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?nf(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Bc(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function Mn(e,t,n,s){e.addEventListener(t,n,s)}function mg(e,t,n,s){e.removeEventListener(t,n,s)}const ha=Symbol("_vei");function yg(e,t,n,s,r=null){const o=e[ha]||(e[ha]={}),i=o[t];if(s&&i)i.value=s;else{const[l,a]=vg(t);if(s){const u=o[t]=wg(s,r);Mn(e,l,u,a)}else i&&(mg(e,l,i,a),o[t]=void 0)}}const ga=/(?:Once|Passive|Capture)$/;function vg(e){let t;if(ga.test(e)){t={};let s;for(;s=e.match(ga);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):bn(e.slice(2)),t]}let Fo=0;const bg=Promise.resolve(),_g=()=>Fo||(bg.then(()=>Fo=0),Fo=Date.now());function wg(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ct(xg(s,n.value),t,5,[s])};return n.value=e,n.attached=_g(),n}function xg(e,t){if(re(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const ma=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,kg=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?ug(e,s,i):t==="style"?hg(e,n,s):Zs(t)?ro(t)||yg(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Sg(e,t,s,i))?(pa(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&da(e,t,s,i,o,t!=="value")):e._isVueCE&&(Tg(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Pe(s)))?pa(e,Qe(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),da(e,t,s,i))};function Sg(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&ma(t)&&ue(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ma(t)&&Pe(n)?!1:t in e}function Tg(e,t){const n=e._def.props;if(!n)return!1;const s=Qe(t);return Array.isArray(n)?n.some(r=>Qe(r)===s):Object.keys(n).some(r=>Qe(r)===s)}const Ur=e=>{const t=e.props["onUpdate:modelValue"]||!1;return re(t)?n=>Ar(t,n):t};function $g(e){e.target.composing=!0}function ya(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ts=Symbol("_assign");function va(e,t,n){return t&&(e=e.trim()),n&&(e=zi(e)),e}const of={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ts]=Ur(r);const o=s||r.props&&r.props.type==="number";Mn(e,t?"change":"input",i=>{i.target.composing||e[ts](va(e.value,n,o))}),(n||o)&&Mn(e,"change",()=>{e.value=va(e.value,n,o)}),t||(Mn(e,"compositionstart",$g),Mn(e,"compositionend",ya),Mn(e,"change",ya))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[ts]=Ur(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?zi(e.value):e.value,a=t??"";if(l===a)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===a)||(e.value=a)}},Eg={deep:!0,created(e,t,n){e[ts]=Ur(n),Mn(e,"change",()=>{const s=e._modelValue,r=Cg(e),o=e.checked,i=e[ts];if(re(s)){const l=jc(s,r),a=l!==-1;if(o&&!a)i(s.concat(r));else if(!o&&a){const u=[...s];u.splice(l,1),i(u)}}else if(oo(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(lf(e,o))})},mounted:ba,beforeUpdate(e,t,n){e[ts]=Ur(n),ba(e,t,n)}};function ba(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(re(t))r=jc(t,s.props.value)>-1;else if(oo(t))r=t.has(s.props.value);else{if(t===n)return;r=tr(t,lf(e,!0))}e.checked!==r&&(e.checked=r)}function Cg(e){return"_value"in e?e._value:e.value}function lf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ag=["ctrl","shift","alt","meta"],Pg={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ag.some(n=>e[`${n}Key`]&&!t.includes(n))},Og=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...o)=>{for(let i=0;i<t.length;i++){const l=Pg[t[i]];if(l&&l(r,t))return}return e(r,...o)}))},Rg={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Mg=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const o=bn(r.key);if(t.some(i=>i===o||Rg[i]===o))return e(r)}))},af=ze({patchProp:kg},sg);let Ms,_a=!1;function Lg(){return Ms||(Ms=Lh(af))}function Dg(){return Ms=_a?Ms:Dh(af),_a=!0,Ms}const cf=((...e)=>{const t=Lg().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ff(s);if(!r)return;const o=t._component;!ue(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,uf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t}),Ig=((...e)=>{const t=Dg().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ff(s);if(r)return n(r,!0,uf(r))},t});function uf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ff(e){return Pe(e)?document.querySelector(e):e}const Ng=/"(?:_|\\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*:/,zg=/"(?: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*:/,Hg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Fg(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Bg(e);return}return t}function Bg(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function jg(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Hg.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ng.test(e)||zg.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Fg)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const df=/#/g,pf=/&/g,qg=/\//g,Ug=/=/g,Wg=/\?/g,xo=/\+/g,Vg=/%5e/gi,Kg=/%60/gi,Gg=/%7c/gi,Qg=/%20/gi,Jg=/%2f/gi,Xg=/%252f/gi;function hf(e){return encodeURI(""+e).replace(Gg,"|")}function vi(e){return hf(typeof e=="string"?e:JSON.stringify(e)).replace(xo,"%2B").replace(Qg,"+").replace(df,"%23").replace(pf,"%26").replace(Kg,"`").replace(Vg,"^").replace(qg,"%2F")}function Bo(e){return vi(e).replace(Ug,"%3D")}function Yg(e){return hf(e).replace(df,"%23").replace(Wg,"%3F").replace(Xg,"%2F").replace(pf,"%26").replace(xo,"%2B")}function Ks(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Zg(e){return Ks(e.replace(Jg,"%252F"))}function em(e){return Ks(e.replace(xo," "))}function tm(e){return Ks(e.replace(xo," "))}function tl(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const r=em(s[1]);if(r==="__proto__"||r==="constructor")continue;const o=tm(s[2]||"");t[r]===void 0?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]}return t}function nm(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Bo(e)}=${vi(n)}`).join("&"):`${Bo(e)}=${vi(t)}`:Bo(e)}function gf(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>nm(t,e[t])).filter(Boolean).join("&")}const sm=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,rm=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,om=/^([/\\]\s*){2,}[^/\\]/,im=/^[\s\0]*(blob|data|javascript|vbscript):$/i,lm=/\/$|\/\?|\/#/,am=/^\.?\//;function or(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?sm.test(e):rm.test(e)||(t.acceptRelative?om.test(e):!1)}function cm(e){return!!e&&im.test(e)}function bi(e="",t){return t?lm.test(e):e.endsWith("/")}function mf(e="",t){if(!t)return(bi(e)?e.slice(0,-1):e)||"/";if(!bi(e,!0))return e||"/";let n=e,s="";const r=e.indexOf("#");r!==-1&&(n=e.slice(0,r),s=e.slice(r));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+s}function _i(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(bi(e,!0))return e||"/";let n=e,s="";const r=e.indexOf("#");if(r!==-1&&(n=e.slice(0,r),s=e.slice(r),!n))return s;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+s}function um(e=""){return e.startsWith("/")}function wa(e=""){return um(e)?e:"/"+e}function fm(e,t){if(vf(t)||or(e))return e;const n=mf(t);if(e.startsWith(n)){const s=e[n.length];if(!s||s==="/"||s==="?")return e}return nl(n,e)}function dm(e,t){if(vf(t))return e;const n=mf(t);if(!e.startsWith(n))return e;const s=e[n.length];if(s&&s!=="/"&&s!=="?")return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function yf(e,t){const n=sl(e),s={...tl(n.search),...t};return n.search=gf(s),wf(n)}function vf(e){return!e||e==="/"}function pm(e){return e&&e!=="/"}function nl(e,...t){let n=e||"";for(const s of t.filter(r=>pm(r)))if(n){const r=s.replace(am,"");n=_i(n)+r}else n=s;return n}function bf(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),s=[];let r=0;for(const i of n)if(!(!i||i==="/")){for(const[l,a]of i.split(t).entries())if(!(!a||a===".")){if(a===".."){if(s.length===1&&or(s[0]))continue;s.pop(),r--;continue}if(l===1&&s[s.length-1]?.endsWith(":/")){s[s.length-1]+="/"+a;continue}s.push(a),r++}}let o=s.join("/");return r>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*r)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function hm(e,t,n={}){return n.trailingSlash||(e=_i(e),t=_i(t)),n.leadingSlash||(e=wa(e),t=wa(t)),n.encoding||(e=Ks(e),t=Ks(t)),e===t}const _f=Symbol.for("ufo:protocolRelative");function sl(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,p=""]=n;return{protocol:f.toLowerCase(),pathname:p,href:f+p,auth:"",host:"",search:"",hash:""}}if(!or(e,{acceptRelative:!0}))return xa(e);const[,s="",r,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",l=""]=o.match(/([^#/?]*)(.*)?/)||[];s==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:a,search:u,hash:c}=xa(l);return{protocol:s.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:i,pathname:a,search:u,hash:c,[_f]:!s}}function xa(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function wf(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",r=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[_f]?(e.protocol||"")+"//":"")+r+o+t+n+s}class gm extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function mm(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",s=e.request?.url||String(e.request)||"/",r=`[${n}] ${JSON.stringify(s)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${r}: ${o}${t?` ${t}`:""}`,l=new gm(i,e.error?{cause:e.error}:void 0);for(const a of["request","options","response"])Object.defineProperty(l,a,{get(){return e[a]}});for(const[a,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,a,{get(){return e.response&&e.response[u]}});return l}const ym=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ka(e="GET"){return ym.has(e.toUpperCase())}function vm(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||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const bm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),_m=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function wm(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return _m.test(t)?"json":t==="text/event-stream"?"stream":bm.has(t)||t.startsWith("text/")?"text":"blob"}function xm(e,t,n,s){const r=km(t?.headers??e?.headers,n?.headers,s);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:r}}function km(e,t,n){if(!t)return new n(e);const s=new n(t);if(e)for(const[r,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))s.set(r,o);return s}async function gr(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Sm=new Set([408,409,425,429,500,502,503,504]),Tm=new Set([101,204,205,304]);function xf(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function r(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let c;typeof l.options.retry=="number"?c=l.options.retry:c=ka(l.options.method)?0:1;const f=l.response&&l.response.status||500;if(c>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(f):Sm.has(f))){const p=typeof l.options.retryDelay=="function"?l.options.retryDelay(l):l.options.retryDelay||0;return p>0&&await new Promise(d=>setTimeout(d,p)),o(l.request,{...l.options,retry:c-1})}}const u=mm(l);throw Error.captureStackTrace&&Error.captureStackTrace(u,o),u}const o=async function(a,u={}){const c={request:a,options:xm(a,u,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await gr(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=fm(c.request,c.options.baseURL)),c.options.query&&(c.request=yf(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&ka(c.options.method))if(vm(c.options.body)){const d=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),d||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let f;if(!c.options.signal&&c.options.timeout){const d=new s;f=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,d.abort(h)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await gr(c,c.options.onRequestError),await r(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!Tm.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||wm(c.response.headers.get("content-type")||"");switch(d){case"json":{const h=await c.response.text(),g=c.options.parseResponse||jg;c.response._data=g(h);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await gr(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await gr(c,c.options.onResponseError),await r(c)):c.response},i=async function(a,u){return(await o(a,u))._data};return i.raw=o,i.native=(...l)=>t(...l),i.create=(l={},a={})=>xf({...e,...a,defaults:{...e.defaults,...a.defaults,...l}}),i}const Wr=(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")})(),$m=Wr.fetch?(...e)=>Wr.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Em=Wr.Headers,Cm=Wr.AbortController,Am=xf({fetch:$m,Headers:Em,AbortController:Cm}),Pm=Am,Om=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,rl=()=>Om().app,Rm=()=>rl().baseURL,Mm=()=>rl().buildAssetsDir,ol=(...e)=>bf(kf(),Mm(),...e),kf=(...e)=>{const t=rl(),n=t.cdnURL||t.baseURL;return e.length?bf(n,...e):n};globalThis.__buildAssetsURL=ol,globalThis.__publicAssetsURL=kf;globalThis.$fetch||(globalThis.$fetch=Pm.create({baseURL:Rm()}));"global"in globalThis||(globalThis.global=globalThis);function wi(e,t={},n){for(const s in e){const r=e[s],o=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?wi(r,t,o):typeof r=="function"&&(t[o]=r)}return t}const Sf=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Tf(e,t,n,s){for(let r=n;r<e.length;r+=1)try{const o=s?s.run(()=>e[r](...t)):e[r](...t);if(o&&typeof o.then=="function")return Promise.resolve(o).then(()=>Tf(e,t,r+1,s))}catch(o){return Promise.reject(o)}}function Lm(e,t,n){if(e.length>0)return Tf(e,t,0,Sf(n))}function Dm(e,t,n){if(e.length>0){const s=Sf(n);return Promise.all(e.map(r=>s.run(()=>r(...t))))}}function jo(e,t){for(const n of[...e])n(t)}var Im=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const s=e;let r;for(;this._deprecatedHooks[e];)r=this._deprecatedHooks[e],e=r.to;if(r&&!n.allowDeprecated){let o=r.message;o||(o=`${s} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,s=(...r)=>(typeof n=="function"&&n(),n=void 0,s=void 0,t(...r));return n=this.hook(e,s),n}removeHook(e,t){const n=this._hooks[e];if(n){const s=n.indexOf(t);s!==-1&&n.splice(s,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const s of n)this.hook(e,s)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=wi(e),n=Object.keys(t).map(s=>this.hook(s,t[s]));return()=>{for(const s of n)s();n.length=0}}removeHooks(e){const t=wi(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(Lm,e,t)}callHookParallel(e,...t){return this.callHookWith(Dm,e,t)}callHookWith(e,t,n){const s=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&jo(this._before,s);const r=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return r instanceof Promise?r.finally(()=>{this._after&&s&&jo(this._after,s)}):(this._after&&s&&jo(this._after,s),r)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function $f(){return new Im}function Nm(e={}){let t,n=!1;const s=i=>{if(t&&t!==i)throw new Error("Context conflict")};let r;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?r=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(r){const i=r.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,l)=>{l||s(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,l)=>{s(i),t=i;try{return r?r.run(i,l):l()}finally{n||(t=void 0)}},async callAsync(i,l){t=i;const a=()=>{t=i},u=()=>t===i?a:void 0;xi.add(u);try{const c=r?r.run(i,l):l();return n||(t=void 0),await c}finally{xi.delete(u)}}}}function zm(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=Nm({...e,...s})),t[n]}}}const Vr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Sa="__unctx__",Hm=Vr[Sa]||(Vr[Sa]=zm()),Fm=(e,t={})=>Hm.get(e,t),Ta="__unctx_async_handlers__",xi=Vr[Ta]||(Vr[Ta]=new Set);function Bm(e){const t=[];for(const r of xi){const o=r();o&&t.push(o)}const n=()=>{for(const r of t)r()};let s=e();return s&&typeof s=="object"&&"catch"in s&&(s=s.catch(r=>{throw n(),r})),[s,n]}const $a={id:"__nuxt-loader"},d1={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},jm="#__nuxt",Ef="nuxt-app",Ea=36e5,qm="vite:preloadError";function Cf(e=Ef){return Fm(e,{asyncContext:!1})}const Um="__nuxt_plugin";function Wm(e){let t=0;const n={_id:e.id||Ef||"nuxt-app",_scope:Fi(),provide:void 0,versions:{get nuxt(){return"4.4.2"},get vue(){return n.vueApp.version}},payload:On({...e.ssrContext?.payload||{},data:On({}),state:yt({}),once:new Set,_errors:On({})}),static:{data:{}},runWithContext(r){return n._scope.active&&!uo()?n._scope.run(()=>Ca(n,r)):Ca(n,r)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:On({}),_state:On({}),_payloadRevivers:{},...e};{const r=window.__NUXT__;if(r)for(const o in r)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],r[o]);break;default:n.payload[o]=r[o]}}n.hooks=$f(),n.hook=n.hooks.hook;{const r=n.hooks.callHook;n.hooks.callHook=(o,...i)=>Promise.resolve().then(()=>r(o,...i))}n.callHook=n.hooks.callHook,n.provide=(r,o)=>{const i="$"+r;mr(n,i,o),mr(n.vueApp.config.globalProperties,i,o)},mr(n.vueApp,"$nuxt",n),mr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(qm,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=Je;const r=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",r)}const s=n.payload.config;return n.provide("config",s),n}function Vm(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Km(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const s in n)e.provide(s,n[s])}}async function Gm(e,t){const n=new Set,s=[],r=[];let o,i=0;async function l(a){const u=a.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!n.has(c))??[];if(u.length>0)s.push([new Set(u),a]);else{const c=Km(e,a).then(async()=>{a._name&&(n.add(a._name),await Promise.all(s.map(async([f,p])=>{f.has(a._name)&&(f.delete(a._name),f.size===0&&(i++,await l(p)))})))}).catch(f=>{if(!a.parallel&&!e.payload.error)throw f;o||=f});a.parallel?r.push(c):await c}}for(const a of t)Vm(e,a);for(const a of t)await l(a);if(await Promise.all(r),i)for(let a=0;a<i;a++)await Promise.all(r);if(o)throw e.payload.error||o}function sn(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Um]:!0,_name:t})}function Ca(e,t,n){const s=()=>t();return Cf(e._id).set(e),e.vueApp.runWithContext(s)}function Qm(e){let t;return fs()&&(t=et()?.appContext.app.$nuxt),t||=Cf(e).tryUse(),t||null}function Je(e){const t=Qm(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Kr(e){return Je().$config}function mr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function qo(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 ki(e,t,n=".",s){if(!qo(t))return ki(e,{},n,s);const r={...t};for(const o of Object.keys(e)){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(s&&s(r,o,i,n)||(Array.isArray(i)&&Array.isArray(r[o])?r[o]=[...i,...r[o]]:qo(i)&&qo(r[o])?r[o]=ki(i,r[o],(n?`${n}.`:"")+o.toString(),s):r[o]=i))}return r}function Jm(e){return(...t)=>t.reduce((n,s)=>ki(n,s,"",e),{})}const Af=Jm();function Xm(e,t){try{return t in e}catch{return!1}}class Aa extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Si(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Pf(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function Ym(e){if(typeof e=="string")return new Aa(e);if(Zm(e))return e;const t=new Aa(e.message??e.statusMessage??"",{cause:e.cause||e});if(Xm(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=Si(e.statusCode,t.statusCode):e.status&&(t.statusCode=Si(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Pf(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 Zm(e){return e?.constructor?.__h3_error__===!0}const ey=/[^\u0009\u0020-\u007E]/g;function Pf(e=""){return e.replace(ey,"")}function Si(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Of=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const ls=()=>Je()?.$router,ty=()=>fs()?Ze(Of,Je()._route):Je()._route;const ny=()=>{try{if(Je()._processingMiddleware)return!0}catch{return!1}return!1},sy=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?ry(e):ls().resolve(e).href;if(t?.open){const{target:u="_blank",windowFeatures:c={}}=t.open,f=[];for(const[p,d]of Object.entries(c))d!==void 0&&f.push(`${p.toLowerCase()}=${d}`);return open(n,u,f.join(", ")),Promise.resolve()}const s=or(n,{acceptRelative:!0}),r=t?.external||s;if(r){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:u}=new URL(n,window.location.href);if(u&&cm(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const o=ny();if(!r&&o){if(t?.replace){if(typeof e=="string"){const{pathname:u,search:c,hash:f}=sl(e);return{path:u,...c&&{query:tl(c)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const i=ls(),l=Je();if(r)return l._scope.stop(),t?.replace?location.replace(n):location.href=n,o?l.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const a=typeof e=="string"?oy(e):e;return t?.replace?i.replace(a):i.push(a)};function ry(e){return yf(e.path||"",e.query||{})+(e.hash||"")}function oy(e){const t=sl(e);return Yg(Zg(t.pathname))+t.search+t.hash}const Rf="__nuxt_error",il=()=>cu(Je().payload,"error"),iy=e=>{const t=ll(e);try{const n=il();Je().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},ly=async(e={})=>{const t=Je(),n=il();t.callHook("app:error:cleared",e),e.redirect&&await ls().replace(e.redirect),n.value=void 0},ay=e=>!!e&&typeof e=="object"&&Rf in e,ll=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=Ym(e);return Object.defineProperty(t,Rf,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function cy(e){return Uint8Array.fromBase64(e).buffer}function uy(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function fy(e){const t=atob(e),n=t.length,s=new Uint8Array(n);for(let r=0;r<n;r++)s[r]=t.charCodeAt(r);return s.buffer}const dy=typeof Uint8Array.fromBase64=="function",py=typeof process=="object"&&process.versions?.node!==void 0,hy=dy?cy:py?uy:fy,gy=-1,my=-2,yy=-3,vy=-4,by=-5,_y=-6,wy=-7;function xy(e,t){return ky(JSON.parse(e),t)}function ky(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,s=Array(n.length);let r=null;function o(i,l=!1){if(i===gy)return;if(i===yy)return NaN;if(i===vy)return 1/0;if(i===by)return-1/0;if(i===_y)return-0;if(l||typeof i!="number")throw new Error("Invalid input");if(i in s)return s[i];const a=n[i];if(!a||typeof a!="object")s[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const u=a[0],c=t&&Object.hasOwn(t,u)?t[u]:void 0;if(c){let f=a[1];if(typeof f!="number"&&(f=n.push(a[1])-1),r??=new Set,r.has(f))throw new Error("Invalid circular reference");return r.add(f),s[i]=c(o(f)),r.delete(f),s[i]}switch(u){case"Date":s[i]=new Date(a[1]);break;case"Set":const f=new Set;s[i]=f;for(let h=1;h<a.length;h+=1)f.add(o(a[h]));break;case"Map":const p=new Map;s[i]=p;for(let h=1;h<a.length;h+=2)p.set(o(a[h]),o(a[h+1]));break;case"RegExp":s[i]=new RegExp(a[1],a[2]);break;case"Object":{const h=a[1];if(typeof n[h]=="object"&&n[h][0]!=="BigInt")throw new Error("Invalid input");s[i]=Object(o(h));break}case"BigInt":s[i]=BigInt(a[1]);break;case"null":const d=Object.create(null);s[i]=d;for(let h=1;h<a.length;h+=2){if(a[h]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");d[a[h]]=o(a[h+1])}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(n[a[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const h=globalThis[u],g=o(a[1]);s[i]=a[2]!==void 0?new h(g,a[2],a[3]):new h(g);break}case"ArrayBuffer":{const h=a[1];if(typeof h!="string")throw new Error("Invalid ArrayBuffer encoding");const g=hy(h);s[i]=g;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const h=u.slice(9);s[i]=Temporal[h].from(a[1]);break}case"URL":{const h=new URL(a[1]);s[i]=h;break}case"URLSearchParams":{const h=new URLSearchParams(a[1]);s[i]=h;break}default:throw new Error(`Unknown type ${u}`)}}else if(a[0]===wy){const u=a[1];if(!Number.isInteger(u)||u<0)throw new Error("Invalid input");const c=new Array(u);s[i]=c;for(let f=2;f<a.length;f+=2){const p=a[f];if(!Number.isInteger(p)||p<0||p>=u)throw new Error("Invalid input");c[p]=o(a[f+1])}}else{const u=new Array(a.length);s[i]=u;for(let c=0;c<a.length;c+=1){const f=a[c];f!==my&&(u[c]=o(f))}}else{const u={};s[i]=u;for(const c of Object.keys(a)){if(c==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=a[c];u[c]=o(f)}}return s[i]}return o(0)}const Sy=new Set(["link","style","script","noscript"]),Ty=new Set(["title","titleTemplate","script","style","noscript"]),Ti=new Set(["base","meta","link","style","script","noscript"]),$y=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Ey=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Cy=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Ay=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Py=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Oy=["name","property","http-equiv"],Ry=new Set(["viewport","description","keywords","robots"]);function Mf(e){const t=e.split(":");return t.length?Py.has(t[1]):!1}function $i(e){const{props:t,tag:n}=e;if(Ey.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){const s=t.hreflang||t.type;if(s)return`alternate:${s}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const s of Oy)if(t[s]!==void 0){const r=t[s],o=r&&typeof r=="string"&&r.includes(":"),i=r&&Ry.has(r),a=!(o||i)&&e.key?`:key:${e.key}`:"";return`${n}:${r}${a}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(Ty.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function Lf(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(([s,r])=>`${s}:${String(r)}`).join(",")}`}function Gr(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const r=t?t(n,e):e;if(Array.isArray(r))return r.map(o=>Gr(o,t));if(r?.constructor===Object){const o={};for(const i of Object.keys(r))o[i]=Gr(r[i],t,i);return o}return r}function My(e,t){const n=e==="style"?new Map:new Set;function s(r){if(r==null||r===void 0)return;const o=String(r).trim();if(o)if(e==="style"){const[i,...l]=o.split(":").map(a=>a?a.trim():"");i&&l.length&&n.set(i,l.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(s):s(t):Array.isArray(t)?t.forEach(r=>s(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,o])=>{o&&o!=="false"&&(e==="style"?n.set(String(r).trim(),String(o)):s(r))}),n}function Df(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=Ti.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([s,r])=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;if(r===null){e.props[s]=null;return}if(s==="class"||s==="style"){e.props[s]=My(s,r);return}if(Cy.has(s)){if((s==="textContent"||s==="innerHTML")&&typeof r=="object"){let u=t.type;if(t.type||(u="application/json"),!u?.endsWith("json")&&u!=="speculationrules")return;t.type=u,e.props.type=u,e[s]=JSON.stringify(r)}else e[s]=r;return}const o=s.startsWith("data-"),i=n&&!o?s.toLowerCase():s,l=String(r),a=e.tag==="meta"&&i==="content";l==="true"||l===""?e.props[i]=o||a?l:!0:!r&&o&&l==="false"?e.props[i]="false":r!==void 0&&(e.props[i]=r)}),e}function Ly(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=Df({tag:e,props:{}},n);return s.key&&Sy.has(s.tag)&&(s.props["data-hid"]=s._h=s.key),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(r=>({...s,props:{...s.props,content:r}})):s}function Dy(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(r,o)=>{for(let i=0;i<t.length;i++)o=t[i](r,o);return o};e=n(void 0,e);const s=[];return e=Gr(e,n),Object.entries(e||{}).forEach(([r,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])s.push(Ly(r,i))}),s.flat()}const Pa=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Oa={base:-10,title:10},Iy={critical:-8,high:-1,low:2},Ra={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}},Ny=/@import/,_s=e=>e===""||e===!0;function zy(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const s=Iy[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Ra;if(t.tag in Oa)n=Oa[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=Ra.meta[o])}else if(t.tag==="link"&&t.props.rel)n=r.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);_s(t.props.async)?n=r.script.async:t.props.src&&!_s(t.props.defer)&&!_s(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=r.script.sync:(_s(t.props.defer)&&t.props.src&&!_s(t.props.async)||o==="module")&&(n=r.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&Ny.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+s}function Ma(e,t){const n=typeof t=="function"?t(e):t,s=n.key||String(e.plugins.size+1);e.plugins.get(s)||(e.plugins.set(s,n),e.hooks.addHooks(n.hooks||{}))}function Hy(e={}){const t=$f();t.addHooks(e.hooks||{});const n=!e.document,s=new Map,r=new Map,o=new Set,i={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:s,headEntries(){return[...s.values()]},use:l=>Ma(i,l),push(l,a){const u={...a||{}};delete u.head;const c=u._index??i._entryCount++,f={_i:c,input:l,options:u},p={_poll(d=!1){i.dirty=!0,!d&&o.add(c),t.callHook("entries:updated",i)},dispose(){s.delete(c)&&i.invalidate()},patch(d){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=d,s.set(c,f),p._poll())}};return p.patch(l),p},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",l);o.size;){const p=o.values().next().value;o.delete(p);const d=s.get(p);if(d){const h={tags:Dy(d.input,e.propResolvers||[]).map(g=>Object.assign(g,d.options)),entry:d};await t.callHook("entries:normalize",h),d._tags=h.tags.map((g,b)=>(g._w=zy(i,g),g._p=(d._i<<10)+b,g._d=$i(g),g._d||(g._h=Lf(g)),g))}}let a=!1;l.entries.flatMap(p=>(p._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Pa).reduce((p,d)=>{const h=d._d||d._h;if(!p.has(h))return p.set(h,d);const g=p.get(h);if((d?.tagDuplicateStrategy||(Ay.has(d.tag)?"merge":null)||(d.key&&d.key===g.key?"merge":null))==="merge"){const y={...g.props};Object.entries(d.props).forEach(([x,_])=>y[x]=x==="style"?new Map([...g.props.style||new Map,..._]):x==="class"?new Set([...g.props.class||new Set,..._]):_),p.set(h,{...d,props:y})}else d._p>>10===g._p>>10&&d.tag==="meta"&&Mf(h)?(p.set(h,Object.assign([...Array.isArray(g)?g:[g],d],d)),a=!0):(d._w===g._w?d._p>g._p:d?._w<g?._w)&&p.set(h,d);return p},l.tagMap);const u=l.tagMap.get("title"),c=l.tagMap.get("titleTemplate");if(i._title=u?.textContent,c){const p=c?.textContent;if(i._titleTemplate=p,p){let d=typeof p=="function"?p(u?.textContent):p;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?l.tagMap.delete("title"):l.tagMap.set("title",{...u,textContent:d}):(c.tag="title",c.textContent=d)}}l.tags=Array.from(l.tagMap.values()),a&&(l.tags=l.tags.flat().sort(Pa)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const f=[];for(const p of l.tags){const{innerHTML:d,tag:h,props:g}=p;if($y.has(h)&&!(Object.keys(g).length===0&&!p.innerHTML&&!p.textContent)&&!(h==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(h==="script"&&d){if(String(g.type).endsWith("json")){const b=typeof d=="string"?d:JSON.stringify(d);p.innerHTML=b.replace(/</g,"\\u003C")}else typeof d=="string"&&(p.innerHTML=d.replace(new RegExp(`</${h}`,"g"),`<\\/${h}`));p._d=$i(p)}f.push(p)}}return f},invalidate(){for(const l of s.values())o.add(l._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(l=>Ma(i,l)),i.hooks.callHook("init",i),e.init?.forEach(l=>l&&i.push(l)),i}const Fy=(e,t)=>Ae(t)?je(t):t,al="usehead";function By(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(al,e)}}.install}function jy(){if(fs()){const e=Ze(al);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function qy(e,t={}){const n=t.head||jy();return n.ssr?n.push(e||{},t):Uy(n,e,t)}function Uy(e,t,n={}){const s=ae(!1);let r;return yn(()=>{const i=s.value?{}:Gr(t,Fy);r?r.patch(i):r=e.push(i,n)}),et()&&(ds(()=>{r.dispose()}),ku(()=>{s.value=!0}),xu(()=>{s.value=!1})),r}function Wy(e){const t=e||Je();return t.ssrContext?.head||t.runWithContext(()=>{if(fs()){const n=Ze(al);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function Vy(e,t={}){const n=t.head||Wy(t.nuxt);return qy(e,{head:n,...t})}const Ky=(e,t)=>[],Gy=e=>Af({},...Ky().map(t=>t.data).reverse()),Qy=Gy;let Rr;function Jy(){return Rr=$fetch(ol(`builds/meta/${Kr().app.buildId}.json`),{responseType:"json"}),Rr.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Rr}function Xy(){return Rr||Jy()}function If(e){const t=typeof e=="string"?e:e.path;try{return Qy(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Yy(e){return null}let En=null;async function Zy(){if(En)return En;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await ev(e.textContent||""),n=e.dataset.src?await Yy(e.dataset.src):void 0;return En={...t,...n,...window.__NUXT__},En.config?.public&&(En.config.public=yt(En.config.public)),En}async function ev(e){return await xy(e,Je()._payloadRevivers)}function tv(e,t){Je()._payloadRevivers[e]=t}function La(e){try{return JSON.parse(e)}catch{return e}}const nv=[["NuxtError",e=>ll(e)],["EmptyShallowRef",e=>Ft(e==="_"?void 0:e==="0n"?BigInt(0):La(e))],["EmptyRef",e=>ae(e==="_"?void 0:e==="0n"?BigInt(0):La(e))],["ShallowRef",e=>Ft(e)],["ShallowReactive",e=>On(e)],["Ref",e=>ae(e)],["Reactive",e=>yt(e)]],sv=sn({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[s,r]of nv)tv(s,r);Object.assign(e.payload,([t,n]=Bm(()=>e.runWithContext(Zy)),t=await t,n(),t)),delete window.__NUXT__}});async function cl(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{const o=new Map,i=new Promise(d=>{e.resolveTags().then(h=>{d(h.map(g=>{const b=o.get(g._d)||0,y={tag:g,id:(b?`${g._d}:${b}`:g._d)||g._h,shouldRender:!0};return g._d&&Mf(g._d)&&o.set(g._d,b+1),y}))})});let l=e._dom;if(!l){l={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const h=n[d]?.children;for(const g of h){const b=g.tagName.toLowerCase();if(!Ti.has(b))continue;const y=Df({tag:b,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((x,_)=>(x[_]=g.getAttribute(_),x),{})||{}});if(y.key=g.getAttribute("data-hid")||void 0,y._d=$i(y)||Lf(y),l.elMap.has(y._d)){let x=1,_=y._d;for(;l.elMap.has(_);)_=`${y._d}:${x++}`;l.elMap.set(_,g)}else l.elMap.set(y._d,g)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function a(d,h,g){const b=`${d}:${h}`;l.sideEffects[b]=g,delete l.pendingSideEffects[b]}function u({id:d,$el:h,tag:g}){const b=g.tag.endsWith("Attrs");l.elMap.set(d,h),b||(g.textContent&&g.textContent!==h.textContent&&(h.textContent=g.textContent),g.innerHTML&&g.innerHTML!==h.innerHTML&&(h.innerHTML=g.innerHTML),a(d,"el",()=>{h?.remove(),l.elMap.delete(d)}));for(const y in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,y))continue;const x=g.props[y];if(y.startsWith("on")&&typeof x=="function"){const w=h?.dataset;if(w&&w[`${y}fired`]){const S=y.slice(0,-5);x.call(h,new Event(S.substring(2)))}h.getAttribute(`data-${y}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:h).addEventListener(y.substring(2),x.bind(h)),h.setAttribute(`data-${y}`,""));continue}const _=`attr:${y}`;if(y==="class"){if(!x)continue;for(const w of x)b&&a(d,`${_}:${w}`,()=>h.classList.remove(w)),!h.classList.contains(w)&&h.classList.add(w)}else if(y==="style"){if(!x)continue;for(const[w,S]of x)a(d,`${_}:${w}`,()=>{h.style.removeProperty(w)}),h.style.setProperty(w,S)}else x!==!1&&x!==null&&(h.getAttribute(y)!==x&&h.setAttribute(y,x===!0?"":String(x)),b&&a(d,_,()=>h.removeAttribute(y)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await i;for(const d of p){const{tag:h,shouldRender:g,id:b}=d;if(g){if(h.tag==="title"){n.title=h.textContent,a("title","",()=>n.title=l.title);continue}d.$el=d.$el||l.elMap.get(b),d.$el?u(d):Ti.has(h.tag)&&c.push(d)}}for(const d of c){const h=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[h]=f[h]||n.createDocumentFragment(),f[h].appendChild(d.$el)}for(const d of p)await e.hooks.callHook("dom:renderTag",d,n,a);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 d in l.pendingSideEffects)l.pendingSideEffects[d]();e._dom=l,await e.hooks.callHook("dom:rendered",{renders:p}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function rv(e={}){const t=e.domOptions?.render||cl;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Hy({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function ov(e,t){let n=0;return()=>{const s=++n;t(()=>{n===s&&e()})}}function iv(e={}){const t=rv({domOptions:{render:ov(()=>cl(t),n=>setTimeout(n,0))},...e});return t.install=By(t),t}const lv={disableDefaults:!0},av=sn({name:"nuxt:head",enforce:"pre",setup(e){const t=iv(lv);e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await cl(t)};t.hooks.hook("dom:beforeRender",r=>{r.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||s()}),e.hooks.hook("app:error",s),e.hooks.hook("app:suspense:resolve",s)}}}),cv=e=>{const t=If({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return or(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},uv=[cv];function Uo(e){const t=e&&typeof e=="object"?e:{};typeof e=="object"&&(e=wf({pathname:e.path||"",search:gf(e.query||{}),hash:e.hash||""}));const n=new URL(e.toString(),window.location.href);return{path:n.pathname,fullPath:e,query:tl(n.search),hash:n.hash,params:t.params||{},name:void 0,matched:t.matched||[],redirectedFrom:void 0,meta:t.meta||{},href:e}}const fv=sn({name:"nuxt:router",enforce:"pre",setup(e){const t=dm(window.location.pathname,Kr().app.baseURL)+window.location.search+window.location.hash,n=[],s={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},r=(p,d)=>(s[p].push(d),()=>s[p].splice(s[p].indexOf(d),1)),o=Kr().app.baseURL,i=yt(Uo(t));async function l(p,d){try{const h=Uo(p);for(const g of s["navigate:before"]){const b=await g(h,i);if(b===!1||b instanceof Error)return;if(typeof b=="string"&&b.length)return await l(b,!0)}for(const g of s["resolve:before"])await g(h,i);Object.assign(i,h),window.history[d?"replaceState":"pushState"]({},"",nl(o,h.fullPath)),e.isHydrating||await e.runWithContext(ly);for(const g of s["navigate:after"])await g(h,i)}catch(h){for(const g of s.error)await g(h)}}const u={currentRoute:U(()=>i),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:p=>l(p,!1),replace:p=>l(p,!0),back:()=>window.history.go(-1),go:p=>window.history.go(p),forward:()=>window.history.go(1),beforeResolve:p=>r("resolve:before",p),beforeEach:p=>r("navigate:before",p),afterEach:p=>r("navigate:after",p),onError:p=>r("error",p),resolve:Uo,addRoute:(p,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:p=>n.some(d=>d.name===p),removeRoute:p=>{const d=n.findIndex(h=>h.name===p);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",ve({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(p,{slots:d})=>{const h=()=>l(p.to,p.replace);return()=>{const g=u.resolve(p.to);return p.custom?d.default?.({href:p.to,navigate:h,route:g}):pn("a",{href:p.to,onClick:b=>(b.preventDefault(),h())},d)}}})),window.addEventListener("popstate",p=>{const d=p.target.location;u.replace(d.href.replace(d.origin,""))}),e._route=i,e._middleware||={global:[],named:{}};const c=e.payload.state._layout,f=e.payload.state._layoutProps;return e.hooks.hookOnce("app:created",async()=>{u.beforeEach(async(p,d)=>{p.meta=yt(p.meta||{}),e.isHydrating&&c&&!qt(p.meta.layout)&&(p.meta.layout=c,p.meta.layoutProps=f),e._processingMiddleware=!0;{const h=new Set([...uv,...e._middleware.global]),g=If({path:p.path});if(g.appMiddleware)for(const b in g.appMiddleware){const y=e._middleware.named[b];y&&(g.appMiddleware[b]?h.add(y):h.delete(y))}for(const b of h){const y=await e.runWithContext(()=>b(p,d));if(y!==!0&&(y||y===!1))return y}}}),u.afterEach(()=>{delete e._processingMiddleware}),await u.replace(t),hm(i.fullPath,t)||await e.runWithContext(()=>sy(i.fullPath))}),{provide:{route:i,router:u}}}}),Da=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),p1=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Nf=e=>{const t=Je();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Da(()=>e())}):Da(()=>e())},dv=sn(()=>{const e=ls();Nf(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),pv=sn(e=>{let t;async function n(){let s;try{s=await Xy()}catch(r){const o=r;if(!("status"in o&&(o.status===404||o.status===403)))throw o}t&&clearTimeout(t),t=setTimeout(n,Ea);try{const r=await $fetch(ol("builds/latest.json")+`?${Date.now()}`);r.id!==s?.id&&(e.hooks.callHook("app:manifest:update",r),t&&clearTimeout(t))}catch{}}Nf(()=>{t=setTimeout(n,Ea)})});function hv(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Je().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const gv=sn({name:"nuxt:chunk-reload",setup(e){const t=ls(),n=Kr(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:o})=>{s.add(o)});function r(o){const i=nl(n.app.baseURL,o.fullPath);hv({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(r)}),t.onError((o,i)=>{s.has(o)&&r(i)})}}),mv=sn({name:"nuxt:global-components"}),yv=sn(()=>{}),vv=["top","right","bottom","left"],Ia=["start","end"],Na=vv.reduce((e,t)=>e.concat(t,t+"-"+Ia[0],t+"-"+Ia[1]),[]),Gs=Math.min,Pn=Math.max,bv={left:"right",right:"left",bottom:"top",top:"bottom"};function Ei(e,t,n){return Pn(e,Gs(t,n))}function jn(e,t){return typeof e=="function"?e(t):e}function Ut(e){return e.split("-")[0]}function Tt(e){return e.split("-")[1]}function zf(e){return e==="x"?"y":"x"}function ul(e){return e==="y"?"height":"width"}function Xt(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function fl(e){return zf(Xt(e))}function Hf(e,t,n){n===void 0&&(n=!1);const s=Tt(e),r=fl(e),o=ul(r);let i=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=Jr(i)),[i,Jr(i)]}function _v(e){const t=Jr(e);return[Qr(e),t,Qr(t)]}function Qr(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const za=["left","right"],Ha=["right","left"],wv=["top","bottom"],xv=["bottom","top"];function kv(e,t,n){switch(e){case"top":case"bottom":return n?t?Ha:za:t?za:Ha;case"left":case"right":return t?wv:xv;default:return[]}}function Sv(e,t,n,s){const r=Tt(e);let o=kv(Ut(e),n==="start",s);return r&&(o=o.map(i=>i+"-"+r),t&&(o=o.concat(o.map(Qr)))),o}function Jr(e){const t=Ut(e);return bv[t]+e.slice(t.length)}function Tv(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ff(e){return typeof e!="number"?Tv(e):{top:e,right:e,bottom:e,left:e}}function Ls(e){const{x:t,y:n,width:s,height:r}=e;return{width:s,height:r,top:n,left:t,right:t+s,bottom:n+r,x:t,y:n}}function Fa(e,t,n){let{reference:s,floating:r}=e;const o=Xt(t),i=fl(t),l=ul(i),a=Ut(t),u=o==="y",c=s.x+s.width/2-r.width/2,f=s.y+s.height/2-r.height/2,p=s[l]/2-r[l]/2;let d;switch(a){case"top":d={x:c,y:s.y-r.height};break;case"bottom":d={x:c,y:s.y+s.height};break;case"right":d={x:s.x+s.width,y:f};break;case"left":d={x:s.x-r.width,y:f};break;default:d={x:s.x,y:s.y}}switch(Tt(t)){case"start":d[i]-=p*(n&&u?-1:1);break;case"end":d[i]+=p*(n&&u?-1:1);break}return d}async function $v(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:o,rects:i,elements:l,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=jn(t,e),h=Ff(d),b=l[p?f==="floating"?"reference":"floating":f],y=Ls(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(b)))==null||n?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:a})),x=f==="floating"?{x:s,y:r,width:i.floating.width,height:i.floating.height}:i.reference,_=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),w=await(o.isElement==null?void 0:o.isElement(_))?await(o.getScale==null?void 0:o.getScale(_))||{x:1,y:1}:{x:1,y:1},S=Ls(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:_,strategy:a}):x);return{top:(y.top-S.top+h.top)/w.y,bottom:(S.bottom-y.bottom+h.bottom)/w.y,left:(y.left-S.left+h.left)/w.x,right:(S.right-y.right+h.right)/w.x}}const Ev=50,Cv=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:o=[],platform:i}=n,l=i.detectOverflow?i:{...i,detectOverflow:$v},a=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:f}=Fa(u,s,a),p=s,d=0;const h={};for(let g=0;g<o.length;g++){const b=o[g];if(!b)continue;const{name:y,fn:x}=b,{x:_,y:w,data:S,reset:$}=await x({x:c,y:f,initialPlacement:s,placement:p,strategy:r,middlewareData:h,rects:u,platform:l,elements:{reference:e,floating:t}});c=_??c,f=w??f,h[y]={...h[y],...S},$&&d<Ev&&(d++,typeof $=="object"&&($.placement&&(p=$.placement),$.rects&&(u=$.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):$.rects),{x:c,y:f}=Fa(u,p,a)),g=-1)}return{x:c,y:f,placement:p,strategy:r,middlewareData:h}},Av=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:o,platform:i,elements:l,middlewareData:a}=t,{element:u,padding:c=0}=jn(e,t)||{};if(u==null)return{};const f=Ff(c),p={x:n,y:s},d=fl(r),h=ul(d),g=await i.getDimensions(u),b=d==="y",y=b?"top":"left",x=b?"bottom":"right",_=b?"clientHeight":"clientWidth",w=o.reference[h]+o.reference[d]-p[d]-o.floating[h],S=p[d]-o.reference[d],$=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let M=$?$[_]:0;(!M||!await(i.isElement==null?void 0:i.isElement($)))&&(M=l.floating[_]||o.floating[h]);const D=w/2-S/2,O=M/2-g[h]/2-1,P=Gs(f[y],O),I=Gs(f[x],O),A=P,G=M-g[h]-I,H=M/2-g[h]/2+D,ne=Ei(A,H,G),q=!a.arrow&&Tt(r)!=null&&H!==ne&&o.reference[h]/2-(H<A?P:I)-g[h]/2<0,N=q?H<A?H-A:H-G:0;return{[d]:p[d]+N,data:{[d]:ne,centerOffset:H-ne-N,...q&&{alignmentOffset:N}},reset:q}}});function Pv(e,t,n){return(e?[...n.filter(r=>Tt(r)===e),...n.filter(r=>Tt(r)!==e)]:n.filter(r=>Ut(r)===r)).filter(r=>e?Tt(r)===e||(t?Qr(r)!==r:!1):!0)}const Ov=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:o,middlewareData:i,placement:l,platform:a,elements:u}=t,{crossAxis:c=!1,alignment:f,allowedPlacements:p=Na,autoAlignment:d=!0,...h}=jn(e,t),g=f!==void 0||p===Na?Pv(f||null,d,p):p,b=await a.detectOverflow(t,h),y=((n=i.autoPlacement)==null?void 0:n.index)||0,x=g[y];if(x==null)return{};const _=Hf(x,o,await(a.isRTL==null?void 0:a.isRTL(u.floating)));if(l!==x)return{reset:{placement:g[0]}};const w=[b[Ut(x)],b[_[0]],b[_[1]]],S=[...((s=i.autoPlacement)==null?void 0:s.overflows)||[],{placement:x,overflows:w}],$=g[y+1];if($)return{data:{index:y+1,overflows:S},reset:{placement:$}};const M=S.map(P=>{const I=Tt(P.placement);return[P.placement,I&&c?P.overflows.slice(0,2).reduce((A,G)=>A+G,0):P.overflows[0],P.overflows]}).sort((P,I)=>P[1]-I[1]),O=((r=M.filter(P=>P[2].slice(0,Tt(P[0])?2:3).every(I=>I<=0))[0])==null?void 0:r[0])||M[0][0];return O!==l?{data:{index:y+1,overflows:S},reset:{placement:O}}:{}}}},Rv=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,s;const{placement:r,middlewareData:o,rects:i,initialPlacement:l,platform:a,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...b}=jn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const y=Ut(r),x=Xt(l),_=Ut(l)===l,w=await(a.isRTL==null?void 0:a.isRTL(u.floating)),S=p||(_||!g?[Jr(l)]:_v(l)),$=h!=="none";!p&&$&&S.push(...Sv(l,g,h,w));const M=[l,...S],D=await a.detectOverflow(t,b),O=[];let P=((s=o.flip)==null?void 0:s.overflows)||[];if(c&&O.push(D[y]),f){const H=Hf(r,i,w);O.push(D[H[0]],D[H[1]])}if(P=[...P,{placement:r,overflows:O}],!O.every(H=>H<=0)){var I,A;const H=(((I=o.flip)==null?void 0:I.index)||0)+1,ne=M[H];if(ne&&(!(f==="alignment"?x!==Xt(ne):!1)||P.every(E=>Xt(E.placement)===x?E.overflows[0]>0:!0)))return{data:{index:H,overflows:P},reset:{placement:ne}};let q=(A=P.filter(N=>N.overflows[0]<=0).sort((N,E)=>N.overflows[1]-E.overflows[1])[0])==null?void 0:A.placement;if(!q)switch(d){case"bestFit":{var G;const N=(G=P.filter(E=>{if($){const fe=Xt(E.placement);return fe===x||fe==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(fe=>fe>0).reduce((fe,He)=>fe+He,0)]).sort((E,fe)=>E[1]-fe[1])[0])==null?void 0:G[0];N&&(q=N);break}case"initialPlacement":q=l;break}if(r!==q)return{reset:{placement:q}}}return{}}}},Mv=new Set(["left","top"]);async function Lv(e,t){const{placement:n,platform:s,elements:r}=e,o=await(s.isRTL==null?void 0:s.isRTL(r.floating)),i=Ut(n),l=Tt(n),a=Xt(n)==="y",u=Mv.has(i)?-1:1,c=o&&a?-1:1,f=jn(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof h=="number"&&(d=l==="end"?h*-1:h),a?{x:d*c,y:p*u}:{x:p*u,y:d*c}}const Dv=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,s;const{x:r,y:o,placement:i,middlewareData:l}=t,a=await Lv(t,e);return i===((n=l.offset)==null?void 0:n.placement)&&(s=l.arrow)!=null&&s.alignmentOffset?{}:{x:r+a.x,y:o+a.y,data:{...a,placement:i}}}}},Iv=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:r,platform:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:y=>{let{x,y:_}=y;return{x,y:_}}},...u}=jn(e,t),c={x:n,y:s},f=await o.detectOverflow(t,u),p=Xt(Ut(r)),d=zf(p);let h=c[d],g=c[p];if(i){const y=d==="y"?"top":"left",x=d==="y"?"bottom":"right",_=h+f[y],w=h-f[x];h=Ei(_,h,w)}if(l){const y=p==="y"?"top":"left",x=p==="y"?"bottom":"right",_=g+f[y],w=g-f[x];g=Ei(_,g,w)}const b=a.fn({...t,[d]:h,[p]:g});return{...b,data:{x:b.x-n,y:b.y-s,enabled:{[d]:i,[p]:l}}}}}},Nv=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,s;const{placement:r,rects:o,platform:i,elements:l}=t,{apply:a=()=>{},...u}=jn(e,t),c=await i.detectOverflow(t,u),f=Ut(r),p=Tt(r),d=Xt(r)==="y",{width:h,height:g}=o.floating;let b,y;f==="top"||f==="bottom"?(b=f,y=p===(await(i.isRTL==null?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(y=f,b=p==="end"?"top":"bottom");const x=g-c.top-c.bottom,_=h-c.left-c.right,w=Gs(g-c[b],x),S=Gs(h-c[y],_),$=!t.middlewareData.shift;let M=w,D=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(D=_),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(M=x),$&&!p){const P=Pn(c.left,0),I=Pn(c.right,0),A=Pn(c.top,0),G=Pn(c.bottom,0);d?D=h-2*(P!==0||I!==0?P+I:Pn(c.left,c.right)):M=g-2*(A!==0||G!==0?A+G:Pn(c.top,c.bottom))}await a({...t,availableWidth:D,availableHeight:M});const O=await i.getDimensions(l.floating);return h!==O.width||g!==O.height?{reset:{rects:!0}}:{}}}};function gt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Bt(e){return gt(e).getComputedStyle(e)}const Ba=Math.min,Ds=Math.max,Xr=Math.round;function Bf(e){const t=Bt(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,o=e.offsetHeight,i=Xr(n)!==r||Xr(s)!==o;return i&&(n=r,s=o),{width:n,height:s,fallback:i}}function vn(e){return qf(e)?(e.nodeName||"").toLowerCase():""}let yr;function jf(){if(yr)return yr;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(yr=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),yr):navigator.userAgent}function jt(e){return e instanceof gt(e).HTMLElement}function hn(e){return e instanceof gt(e).Element}function qf(e){return e instanceof gt(e).Node}function ja(e){return typeof ShadowRoot>"u"?!1:e instanceof gt(e).ShadowRoot||e instanceof ShadowRoot}function ko(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=Bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function zv(e){return["table","td","th"].includes(vn(e))}function Ci(e){const t=/firefox/i.test(jf()),n=Bt(e),s=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!s&&s!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some((r=>n.willChange.includes(r)))||["paint","layout","strict","content"].some((r=>{const o=n.contain;return o!=null&&o.includes(r)}))}function Uf(){return!/^((?!chrome|android).)*safari/i.test(jf())}function dl(e){return["html","body","#document"].includes(vn(e))}function Wf(e){return hn(e)?e:e.contextElement}const Vf={x:1,y:1};function ns(e){const t=Wf(e);if(!jt(t))return Vf;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:o}=Bf(t);let i=(o?Xr(n.width):n.width)/s,l=(o?Xr(n.height):n.height)/r;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}function Qs(e,t,n,s){var r,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),l=Wf(e);let a=Vf;t&&(s?hn(s)&&(a=ns(s)):a=ns(e));const u=l?gt(l):window,c=!Uf()&&n;let f=(i.left+(c&&((r=u.visualViewport)==null?void 0:r.offsetLeft)||0))/a.x,p=(i.top+(c&&((o=u.visualViewport)==null?void 0:o.offsetTop)||0))/a.y,d=i.width/a.x,h=i.height/a.y;if(l){const g=gt(l),b=s&&hn(s)?gt(s):s;let y=g.frameElement;for(;y&&s&&b!==g;){const x=ns(y),_=y.getBoundingClientRect(),w=getComputedStyle(y);_.x+=(y.clientLeft+parseFloat(w.paddingLeft))*x.x,_.y+=(y.clientTop+parseFloat(w.paddingTop))*x.y,f*=x.x,p*=x.y,d*=x.x,h*=x.y,f+=_.x,p+=_.y,y=gt(y).frameElement}}return{width:d,height:h,top:p,right:f+d,bottom:p+h,left:f,x:f,y:p}}function gn(e){return((qf(e)?e.ownerDocument:e.document)||window.document).documentElement}function So(e){return hn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Kf(e){return Qs(gn(e)).left+So(e).scrollLeft}function Js(e){if(vn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ja(e)&&e.host||gn(e);return ja(t)?t.host:t}function Gf(e){const t=Js(e);return dl(t)?t.ownerDocument.body:jt(t)&&ko(t)?t:Gf(t)}function Yr(e,t){var n;t===void 0&&(t=[]);const s=Gf(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),o=gt(s);return r?t.concat(o,o.visualViewport||[],ko(s)?s:[]):t.concat(s,Yr(s))}function qa(e,t,n){return t==="viewport"?Ls((function(s,r){const o=gt(s),i=gn(s),l=o.visualViewport;let a=i.clientWidth,u=i.clientHeight,c=0,f=0;if(l){a=l.width,u=l.height;const p=Uf();(p||!p&&r==="fixed")&&(c=l.offsetLeft,f=l.offsetTop)}return{width:a,height:u,x:c,y:f}})(e,n)):hn(t)?Ls((function(s,r){const o=Qs(s,!0,r==="fixed"),i=o.top+s.clientTop,l=o.left+s.clientLeft,a=jt(s)?ns(s):{x:1,y:1};return{width:s.clientWidth*a.x,height:s.clientHeight*a.y,x:l*a.x,y:i*a.y}})(t,n)):Ls((function(s){const r=gn(s),o=So(s),i=s.ownerDocument.body,l=Ds(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),a=Ds(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let u=-o.scrollLeft+Kf(s);const c=-o.scrollTop;return Bt(i).direction==="rtl"&&(u+=Ds(r.clientWidth,i.clientWidth)-l),{width:l,height:a,x:u,y:c}})(gn(e)))}function Ua(e){return jt(e)&&Bt(e).position!=="fixed"?e.offsetParent:null}function Wa(e){const t=gt(e);let n=Ua(e);for(;n&&zv(n)&&Bt(n).position==="static";)n=Ua(n);return n&&(vn(n)==="html"||vn(n)==="body"&&Bt(n).position==="static"&&!Ci(n))?t:n||(function(s){let r=Js(s);for(;jt(r)&&!dl(r);){if(Ci(r))return r;r=Js(r)}return null})(e)||t}function Hv(e,t,n){const s=jt(t),r=gn(t),o=Qs(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(s||!s&&n!=="fixed")if((vn(t)!=="body"||ko(r))&&(i=So(t)),jt(t)){const a=Qs(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else r&&(l.x=Kf(r));return{x:o.left+i.scrollLeft-l.x,y:o.top+i.scrollTop-l.y,width:o.width,height:o.height}}const Fv={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const o=n==="clippingAncestors"?(function(u,c){const f=c.get(u);if(f)return f;let p=Yr(u).filter((b=>hn(b)&&vn(b)!=="body")),d=null;const h=Bt(u).position==="fixed";let g=h?Js(u):u;for(;hn(g)&&!dl(g);){const b=Bt(g),y=Ci(g);(h?y||d:y||b.position!=="static"||!d||!["absolute","fixed"].includes(d.position))?d=b:p=p.filter((x=>x!==g)),g=Js(g)}return c.set(u,p),p})(t,this._c):[].concat(n),i=[...o,s],l=i[0],a=i.reduce(((u,c)=>{const f=qa(t,c,r);return u.top=Ds(f.top,u.top),u.right=Ba(f.right,u.right),u.bottom=Ba(f.bottom,u.bottom),u.left=Ds(f.left,u.left),u}),qa(t,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=jt(n),o=gn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},l={x:1,y:1};const a={x:0,y:0};if((r||!r&&s!=="fixed")&&((vn(n)!=="body"||ko(o))&&(i=So(n)),jt(n))){const u=Qs(n);l=ns(n),a.x=u.x+n.clientLeft,a.y=u.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-i.scrollLeft*l.x+a.x,y:t.y*l.y-i.scrollTop*l.y+a.y}},isElement:hn,getDimensions:function(e){return jt(e)?Bf(e):e.getBoundingClientRect()},getOffsetParent:Wa,getDocumentElement:gn,getScale:ns,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||Wa,o=this.getDimensions;return{reference:Hv(t,await r(n),s),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Bt(e).direction==="rtl"},Bv=(e,t,n)=>{const s=new Map,r={platform:Fv,...n},o={...r.platform,_c:s};return Cv(e,t,{...r,platform:o})};function Qf(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Qf(e[n],t[n]):e[n]=t[n])}const $t={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 Xs(e,t){let n=$t.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=$t.themes[n.$extend]||{}:(n=null,s=$t[t]):n=null;while(n);return s}function jv(e){const t=[e];let n=$t.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=$t.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function Va(e){const t=[e];let n=$t.themes[e]||{};do n.$extend?(t.push(n.$extend),n=$t.themes[n.$extend]||{}):n=null;while(n);return t}let as=!1;if(typeof window<"u"){as=!1;try{const e=Object.defineProperty({},"passive",{get(){as=!0}});window.addEventListener("test",null,e)}catch{}}let Jf=!1;typeof window<"u"&&typeof navigator<"u"&&(Jf=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Xf=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Ka={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Ga={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Qa(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Wo(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const xt=[];let Cn=null;const Ja={};function Xa(e){let t=Ja[e];return t||(t=Ja[e]=[]),t}let Ai=function(){};typeof window<"u"&&(Ai=window.Element);function me(e){return function(t){return Xs(t.theme,e)}}const Vo="__floating-vue__popper",Yf=()=>ve({name:"VPopper",provide(){return{[Vo]:{parentPopper:this}}},inject:{[Vo]:{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:me("disabled")},positioningDisabled:{type:Boolean,default:me("positioningDisabled")},placement:{type:String,default:me("placement"),validator:e=>Xf.includes(e)},delay:{type:[String,Number,Object],default:me("delay")},distance:{type:[Number,String],default:me("distance")},skidding:{type:[Number,String],default:me("skidding")},triggers:{type:Array,default:me("triggers")},showTriggers:{type:[Array,Function],default:me("showTriggers")},hideTriggers:{type:[Array,Function],default:me("hideTriggers")},popperTriggers:{type:Array,default:me("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:me("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:me("popperHideTriggers")},container:{type:[String,Object,Ai,Boolean],default:me("container")},boundary:{type:[String,Ai],default:me("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:me("strategy")},autoHide:{type:[Boolean,Function],default:me("autoHide")},handleResize:{type:Boolean,default:me("handleResize")},instantMove:{type:Boolean,default:me("instantMove")},eagerMount:{type:Boolean,default:me("eagerMount")},popperClass:{type:[String,Array,Object],default:me("popperClass")},computeTransformOrigin:{type:Boolean,default:me("computeTransformOrigin")},autoMinSize:{type:Boolean,default:me("autoMinSize")},autoSize:{type:[Boolean,String],default:me("autoSize")},autoMaxSize:{type:Boolean,default:me("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:me("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:me("preventOverflow")},overflowPadding:{type:[Number,String],default:me("overflowPadding")},arrowPadding:{type:[Number,String],default:me("arrowPadding")},arrowOverflow:{type:Boolean,default:me("arrowOverflow")},flip:{type:Boolean,default:me("flip")},shift:{type:Boolean,default:me("shift")},shiftCrossAxis:{type:Boolean,default:me("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:me("noAutoFocus")},disposeTimeout:{type:Number,default:me("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[Vo])==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 s,r;(s=this.parentPopper)!=null&&s.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.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(Dv({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Ov({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Iv({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Rv({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Av({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:r,middlewareData:o})=>{let i;const{centerOffset:l}=o.arrow;return s.startsWith("top")||s.startsWith("bottom")?i=Math.abs(l)>r.reference.width/2:i=Math.abs(l)>r.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const s=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:o,middlewareData:i})=>{var l;if((l=i.autoSize)!=null&&l.skip)return{};let a,u;return o.startsWith("top")||o.startsWith("bottom")?a=r.reference.width:u=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=a!=null?`${a}px`:null,this.$_innerNode.style[s==="min"?"minHeight":s==="max"?"maxHeight":"height"]=u!=null?`${u}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(Nv({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:s,availableHeight:r})=>{this.$_innerNode.style.maxWidth=s!=null?`${s}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const n=await Bv(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),Cn&&this.instantMove&&Cn.instantMove&&Cn!==this.parentPopper){Cn.$_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&&(Cn=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 Wo(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Yr(this.$_referenceNode),...Yr(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"),s=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(s.left+n.offsetLeft),o=t.y+t.height/2-(s.top+n.offsetTop);this.result.transformOrigin=`${r}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<xt.length;n++)t=xt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}xt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Va(this.theme))Xa(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 Wo(),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,Qa(xt,this),xt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Va(this.theme)){const s=Xa(n);Qa(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Cn===this&&(Cn=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 Wo(),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,Ka,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ka,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Ga,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Ga,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(s=>s.addEventListener(t,n,as?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,s,r){let o=n;s!=null&&(o=typeof s=="function"?s(o):s),o.forEach(i=>{const l=t[i];l&&this.$_registerEventListeners(e,l,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:s,eventType:r,handler:o}=n;!e||e===r?s.forEach(i=>i.removeEventListener(r,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 s=n.getAttribute(e);s&&(n.removeAttribute(e),n.setAttribute(t,s))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const s=e[n];s==null?t.removeAttribute(n):t.setAttribute(n,s)}},$_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(Is>=e.left&&Is<=e.right&&Ns>=e.top&&Ns<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Is-an,s=Ns-cn,r=t.left+t.width/2-an+(t.top+t.height/2)-cn+t.width+t.height,o=an+n*r,i=cn+s*r;return vr(an,cn,o,i,t.left,t.top,t.left,t.bottom)||vr(an,cn,o,i,t.left,t.top,t.right,t.top)||vr(an,cn,o,i,t.right,t.top,t.right,t.bottom)||vr(an,cn,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(Jf){const e=as?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Ya(t,!0),e),document.addEventListener("touchend",t=>Za(t,!0),e)}else window.addEventListener("mousedown",e=>Ya(e,!1),!0),window.addEventListener("click",e=>Za(e,!1),!0);window.addEventListener("resize",Uv)}function Ya(e,t){if($t.autoHideOnMousedown)Zf(e,t);else for(let n=0;n<xt.length;n++){const s=xt[n];try{s.mouseDownContains=s.popperNode().contains(e.target)}catch{}}}function Za(e,t){$t.autoHideOnMousedown||Zf(e,t)}function Zf(e,t){const n={};for(let s=xt.length-1;s>=0;s--){const r=xt[s];try{const o=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&ec(r,o,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let l=r.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let i=r.parentPopper;for(;i&&ec(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function ec(e,t,n){return n.closeAllPopover||n.closePopover&&t||qv(e,n)&&!t}function qv(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Uv(){for(let e=0;e<xt.length;e++)xt[e].$_computePosition()}let an=0,cn=0,Is=0,Ns=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{an=Is,cn=Ns,Is=e.clientX,Ns=e.clientY},as?{passive:!0}:void 0);function vr(e,t,n,s,r,o,i,l){const a=((i-r)*(t-o)-(l-o)*(e-r))/((l-o)*(n-e)-(i-r)*(s-t)),u=((n-e)*(t-o)-(s-t)*(e-r))/((l-o)*(n-e)-(i-r)*(s-t));return a>=0&&a<=1&&u>=0&&u<=1}const Wv={extends:Yf()},To=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function Vv(e,t,n,s,r,o){return R(),W("div",{ref:"reference",class:Re(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Me(e.$slots,"default",Hi(_o(e.slotData)))],2)}const Kv=To(Wv,[["render",Vv]]);function Gv(){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 s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let Mr;function Pi(){Pi.init||(Pi.init=!0,Mr=Gv()!==-1)}var $o={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Pi(),qe(()=>{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",Mr&&this.$el.appendChild(e),e.data="about:blank",Mr||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&&(!Mr&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Qv=Fp();zp("data-v-b329ee4c");const Jv={class:"resize-observer",tabindex:"-1"};Hp();const Xv=Qv((e,t,n,s,r,o)=>(R(),he("div",Jv)));$o.render=Xv;$o.__scopeId="data-v-b329ee4c";$o.__file="src/components/ResizeObserver.vue";const ed=(e="theme")=>({computed:{themeClass(){return jv(this[e])}}}),Yv=ve({name:"VPopperContent",components:{ResizeObserver:$o},mixins:[ed()],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}}}),Zv=["id","aria-hidden","tabindex","data-popper-placement"],eb={ref:"inner",class:"v-popper__inner"},tb=T("div",{class:"v-popper__arrow-outer"},null,-1),nb=T("div",{class:"v-popper__arrow-inner"},null,-1),sb=[tb,nb];function rb(e,t,n,s,r,o){const i=Us("ResizeObserver");return R(),W("div",{id:e.popperId,ref:"popover",class:Re(["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:mt(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]=Mg(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[T("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),T("div",{class:"v-popper__wrapper",style:mt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[T("div",eb,[e.mounted?(R(),W(ge,{key:0},[T("div",null,[Me(e.$slots,"default")]),e.handleResize?(R(),he(i,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):pe("",!0)],64)):pe("",!0)],512),T("div",{ref:"arrow",class:"v-popper__arrow-container",style:mt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},sb,4)],4)],46,Zv)}const td=To(Yv,[["render",rb]]),nd={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 Oi=function(){};typeof window<"u"&&(Oi=window.Element);const ob=ve({name:"VPopperWrapper",components:{Popper:Kv,PopperContent:td},mixins:[nd,ed("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,Oi,Boolean],default:void 0},boundary:{type:[String,Oi],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 ib(e,t,n,s,r,o){const i=Us("PopperContent"),l=Us("Popper");return R(),he(l,ct({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=a=>e.$emit("update:shown",a)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:le(({popperId:a,isShown:u,shouldMountContent:c,skipTransition:f,autoHide:p,show:d,hide:h,handleResize:g,onResize:b,classes:y,result:x})=>[Me(e.$slots,"default",{shown:u,show:d,hide:h}),ee(i,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:u,mounted:c,"skip-transition":f,"auto-hide":p,"handle-resize":g,classes:y,result:x,onHide:h,onResize:b},{default:le(()=>[Me(e.$slots,"popper",{shown:u,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const pl=To(ob,[["render",ib]]),lb={...pl,name:"VDropdown",vPopperTheme:"dropdown"},ab={...pl,name:"VMenu",vPopperTheme:"menu"},cb={...pl,name:"VTooltip",vPopperTheme:"tooltip"},ub=ve({name:"VTooltipDirective",components:{Popper:Yf(),PopperContent:td},mixins:[nd],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Xs(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Xs(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(s=>this.onResult(t,s)):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}}}),fb=["innerHTML"],db=["textContent"];function pb(e,t,n,s,r,o){const i=Us("PopperContent"),l=Us("Popper");return R(),he(l,ct({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:le(({popperId:a,isShown:u,shouldMountContent:c,skipTransition:f,autoHide:p,hide:d,handleResize:h,onResize:g,classes:b,result:y})=>[ee(i,{ref:"popperContent",class:Re({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:u,mounted:c,"skip-transition":f,"auto-hide":p,"handle-resize":h,classes:b,result:y,onHide:d,onResize:g},{default:le(()=>[e.html?(R(),W("div",{key:0,innerHTML:e.finalContent},null,8,fb)):(R(),W("div",{key:1,textContent:oe(e.finalContent)},null,8,db))]),_: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 hb=To(ub,[["render",pb]]),sd="v-popper--has-tooltip";function gb(e,t){let n=e.placement;if(!n&&t)for(const s of Xf)t[s]&&(n=s);return n||(n=Xs(e.theme||"tooltip","placement")),n}function rd(e,t,n){let s;const r=typeof t;return r==="string"?s={content:t}:t&&r==="object"?s=t:s={content:!1},s.placement=gb(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let Ko,Ys,mb=0;function yb(){if(Ko)return;Ys=ae([]),Ko=cf({name:"VTooltipDirectiveApp",setup(){return{directives:Ys}},render(){return this.directives.map(t=>pn(hb,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Ko.mount(e)}function vb(e,t,n){yb();const s=ae(rd(e,t,n)),r=ae(!1),o={id:mb++,options:s,shown:r};return Ys.value.push(o),e.classList&&e.classList.add(sd),e.$_popper={options:s,item:o,show(){r.value=!0},hide(){r.value=!1}}}function od(e){if(e.$_popper){const t=Ys.value.indexOf(e.$_popper.item);t!==-1&&Ys.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(sd)}function tc(e,{value:t,modifiers:n}){const s=rd(e,t,n);if(!s.content||Xs(s.theme||"tooltip","disabled"))od(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=vb(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const bb={beforeMount:tc,updated:tc,beforeUnmount(e){od(e)}};function nc(e){e.addEventListener("mousedown",Zr),e.addEventListener("click",Zr),e.addEventListener("touchstart",id,as?{passive:!0}:!1)}function sc(e){e.removeEventListener("mousedown",Zr),e.removeEventListener("click",Zr),e.removeEventListener("touchstart",id),e.removeEventListener("touchend",ld),e.removeEventListener("touchcancel",ad)}function Zr(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function id(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",ld),t.addEventListener("touchcancel",ad)}}function ld(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],s=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-s.screenY)<20&&Math.abs(n.screenX-s.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function ad(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const _b={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&nc(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?nc(e):sc(e))},beforeUnmount(e){sc(e)}};function wb(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Qf($t,t),e.directive("tooltip",bb),e.directive("close-popper",_b),e.component("VTooltip",cb),e.component("VDropdown",lb),e.component("VMenu",ab))}const xb={version:"5.2.2",install:wb,options:$t},kb=sn(e=>{e.vueApp.use(xb,{overflowPadding:20})}),Sb=[sv,av,fv,dv,pv,gv,mv,yv,kb];function Tb(e,t){return uo()?(rp(e,t),!0):!1}function $b(e){let t=!1,n;const s=Fi(!0);return((...r)=>(t||(n=s.run(()=>e(...r)),t=!0),n))}const Go=new WeakMap,Eb=(...e)=>{var t;const n=e[0],s=(t=et())===null||t===void 0?void 0:t.proxy,r=s??uo();if(r==null&&!fs())throw new Error("injectLocal must be called in setup");return r&&Go.has(r)&&n in Go.get(r)?Go.get(r)[n]:Ze(...e)},_n=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Cb=e=>typeof e<"u",Ab=Object.prototype.toString,Pb=e=>Ab.call(e)==="[object Object]",Ri=()=>{},rc=Ob();function Ob(){var e,t,n;return _n&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function cd(...e){if(e.length!==1)return cu(...e);const t=e[0];return typeof t=="function"?Bs(Ap(()=>({get:t,set:Ri}))):ae(t)}function ud(e,t){function n(...s){return new Promise((r,o)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(o)})}return n}const fd=e=>e();function Rb(e,t={}){let n,s,r=Ri;const o=a=>{clearTimeout(a),r(),r=Ri};let i;return a=>{const u=je(e),c=je(t.maxWait);return n&&o(n),u<=0||c!==void 0&&c<=0?(s&&(o(s),s=void 0),Promise.resolve(a())):new Promise((f,p)=>{r=t.rejectOnCancel?p:f,i=a,c&&!s&&(s=setTimeout(()=>{n&&o(n),s=void 0,f(i())},c)),n=setTimeout(()=>{s&&o(s),s=void 0,f(a())},u)})}}function Mb(e=fd,t={}){const{initialState:n="active"}=t,s=cd(n==="active");function r(){s.value=!1}function o(){s.value=!0}return{isActive:Bs(s),pause:r,resume:o,eventFilter:(...l)=>{s.value&&e(...l)}}}function oc(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Qo(e){return Array.isArray(e)?e:[e]}function dd(e){return et()}function Lb(e){if(!_n)return e;let t=0,n,s;const r=()=>{t-=1,s&&t<=0&&(s.stop(),n=void 0,s=void 0)};return((...o)=>(t+=1,s||(s=Fi(!0),n=s.run(()=>e(...o))),Tb(r),n))}function Db(e,t=200,n={}){return ud(Rb(t,n),e)}function Ib(e,t,n={}){const{eventFilter:s=fd,...r}=n;return Oe(e,ud(s,t),r)}function Nb(e,t,n={}){const{eventFilter:s,initialState:r="active",...o}=n,{eventFilter:i,pause:l,resume:a,isActive:u}=Mb(s,{initialState:r});return{stop:Ib(e,t,{...o,eventFilter:i}),pause:l,resume:a,isActive:u}}function zb(e,t){dd()&&ds(e,t)}function pd(e,t=!0,n){dd()?Bn(e,n):t?e():qe(e)}function Hb(e,t,n){return Oe(e,t,{...n,immediate:!0})}const Yt=_n?window:void 0;function ir(e){var t;const n=je(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function cs(...e){const t=(s,r,o,i)=>(s.addEventListener(r,o,i),()=>s.removeEventListener(r,o,i)),n=U(()=>{const s=Qo(je(e[0])).filter(r=>r!=null);return s.every(r=>typeof r!="string")?s:void 0});return Hb(()=>{var s,r;return[(s=(r=n.value)===null||r===void 0?void 0:r.map(o=>ir(o)))!==null&&s!==void 0?s:[Yt].filter(o=>o!=null),Qo(je(n.value?e[1]:e[0])),Qo(v(n.value?e[2]:e[1])),je(n.value?e[3]:e[2])]},([s,r,o,i],l,a)=>{if(!s?.length||!r?.length||!o?.length)return;const u=Pb(i)?{...i}:i,c=s.flatMap(f=>r.flatMap(p=>o.map(d=>t(f,p,d,u))));a(()=>{c.forEach(f=>f())})},{flush:"post"})}function hd(){const e=Ft(!1),t=et();return t&&Bn(()=>{e.value=!0},t),e}function Fb(e){const t=hd();return U(()=>(t.value,!!e()))}function Bb(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function jb(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Yt,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=s,a=Bb(t);return cs(r,o,c=>{c.repeat&&je(l)||a(c)&&n(c)},i)}const qb=Symbol("vueuse-ssr-width");function Ub(){const e=fs()?Eb(qb,null):null;return typeof e=="number"?e:void 0}function Wb(e,t={}){const{window:n=Yt,ssrWidth:s=Ub()}=t,r=Fb(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=Ft(typeof s=="number"),i=Ft(),l=Ft(!1),a=u=>{l.value=u.matches};return yn(()=>{if(o.value){o.value=!r.value,l.value=je(e).split(",").some(u=>{const c=u.includes("not all"),f=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let d=!!(f||p);return f&&d&&(d=s>=oc(f[1])),p&&d&&(d=s<=oc(p[1])),c?!d:d});return}r.value&&(i.value=n.matchMedia(je(e)),l.value=i.value.matches)}),cs(i,"change",a,{passive:!0}),U(()=>l.value)}function Vb(e){return JSON.parse(JSON.stringify(e))}const br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},_r="__vueuse_ssr_handlers__",Kb=Gb();function Gb(){return _r in br||(br[_r]=br[_r]||{}),br[_r]}function gd(e,t){return Kb[e]||t}function Qb(e){return Wb("(prefers-color-scheme: dark)",e)}function Jb(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 Xb={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()}},ic="vueuse-storage";function Yb(e,t,n,s={}){var r;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:u=!1,shallow:c,window:f=Yt,eventFilter:p,onError:d=H=>{console.error(H)},initOnMounted:h}=s,g=(c?Ft:ae)(typeof t=="function"?t():t),b=U(()=>je(e));if(!n)try{n=gd("getDefaultStorage",()=>Yt?.localStorage)()}catch(H){d(H)}if(!n)return g;const y=je(t),x=Jb(y),_=(r=s.serializer)!==null&&r!==void 0?r:Xb[x],{pause:w,resume:S}=Nb(g,H=>P(H),{flush:o,deep:i,eventFilter:p});Oe(b,()=>A(),{flush:o});let $=!1;const M=H=>{h&&!$||A(H)},D=H=>{h&&!$||G(H)};f&&l&&(n instanceof Storage?cs(f,"storage",M,{passive:!0}):cs(f,ic,D)),h?pd(()=>{$=!0,A()}):A();function O(H,ne){if(f){const q={key:b.value,oldValue:H,newValue:ne,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",q):new CustomEvent(ic,{detail:q}))}}function P(H){try{const ne=n.getItem(b.value);if(H==null)O(ne,null),n.removeItem(b.value);else{const q=_.write(H);ne!==q&&(n.setItem(b.value,q),O(ne,q))}}catch(ne){d(ne)}}function I(H){const ne=H?H.newValue:n.getItem(b.value);if(ne==null)return a&&y!=null&&n.setItem(b.value,_.write(y)),y;if(!H&&u){const q=_.read(ne);return typeof u=="function"?u(q,y):x==="object"&&!Array.isArray(q)?{...y,...q}:q}else return typeof ne!="string"?ne:_.read(ne)}function A(H){if(!(H&&H.storageArea!==n)){if(H&&H.key==null){g.value=y;return}if(!(H&&H.key!==b.value)){w();try{const ne=_.write(g.value);(H===void 0||H?.newValue!==ne)&&(g.value=I(H))}catch(ne){d(ne)}finally{H?qe(S):S()}}}}function G(H){A(H.detail)}return g}const Zb="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function e_(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Yt,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:a,emitAuto:u,disableTransition:c=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},p=Qb({window:r}),d=U(()=>p.value?"dark":"light"),h=a||(i==null?cd(s):Yb(i,s,o,{window:r,listenToStorageChanges:l})),g=U(()=>h.value==="auto"?d.value:h.value),b=gd("updateHTMLAttrs",(w,S,$)=>{const M=typeof w=="string"?r?.document.querySelector(w):ir(w);if(!M)return;const D=new Set,O=new Set;let P=null;if(S==="class"){const A=$.split(/\s/g);Object.values(f).flatMap(G=>(G||"").split(/\s/g)).filter(Boolean).forEach(G=>{A.includes(G)?D.add(G):O.add(G)})}else P={key:S,value:$};if(D.size===0&&O.size===0&&P===null)return;let I;c&&(I=r.document.createElement("style"),I.appendChild(document.createTextNode(Zb)),r.document.head.appendChild(I));for(const A of D)M.classList.add(A);for(const A of O)M.classList.remove(A);P&&M.setAttribute(P.key,P.value),c&&(r.getComputedStyle(I).opacity,document.head.removeChild(I))});function y(w){var S;b(t,n,(S=f[w])!==null&&S!==void 0?S:w)}function x(w){e.onChanged?e.onChanged(w,y):y(w)}Oe(g,x,{flush:"post",immediate:!0}),pd(()=>x(g.value));const _=U({get(){return u?h.value:g.value},set(w){h.value=w}});return Object.assign(_,{store:h,system:d,state:g})}function md(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=e_({...e,onChanged:(o,i)=>{var l;e.onChanged?(l=e.onChanged)===null||l===void 0||l.call(e,o==="dark",i,o):i(o)},modes:{dark:t,light:n}}),r=U(()=>s.system.value);return U({get(){return s.value==="dark"},set(o){const i=o?"dark":"light";r.value===i?s.value="auto":s.value=i}})}function t_(e,t,n,s={}){var r,o;const{clone:i=!1,passive:l=!1,eventName:a,deep:u=!1,defaultValue:c,shouldEmit:f}=s,p=et(),d=n||p?.emit||(p==null||(r=p.$emit)===null||r===void 0?void 0:r.bind(p))||(p==null||(o=p.proxy)===null||o===void 0||(o=o.$emit)===null||o===void 0?void 0:o.bind(p?.proxy));let h=a;h=h||`update:${t.toString()}`;const g=x=>i?typeof i=="function"?i(x):Vb(x):x,b=()=>Cb(e[t])?g(e[t]):c,y=x=>{f?f(x)&&d(h,x):d(h,x)};if(l){const x=ae(b());let _=!1;return Oe(()=>e[t],w=>{_||(_=!0,x.value=g(w),qe(()=>_=!1))}),Oe(x,w=>{!_&&(w!==e[t]||u)&&y(w)},{deep:u}),x}else return U({get(){return b()},set(x){y(x)}})}const hl=Ft([]);function n_(e){hl.value=e}function s_(){if(typeof document>"u")return;const e=[];let t=null;cs(document,"keydown",n=>{const s=n.target,r=!!s&&(s.tagName==="INPUT"||s.tagName==="TEXTAREA"||s.isContentEditable);if(n.key==="Escape"&&r){s.blur();return}if(r||n.metaKey||n.ctrlKey||n.altKey)return;const o=n.key;if(!o)return;e.push(o),e.length>8&&e.shift(),t&&clearTimeout(t),t=setTimeout(()=>{e.length=0},800);const i=[...hl.value].sort((l,a)=>a.keys.length-l.keys.length);for(const l of i)if(r_(e,l.keys)&&!(l.enabled&&!l.enabled())){n.preventDefault(),e.length=0;try{const a=l.run();a&&typeof a=="object"&&"catch"in a&&a.catch(u=>{console.error("[shortcut]",l.id,u)})}catch(a){console.error("[shortcut]",l.id,a)}return}})}function r_(e,t){if(t.length>e.length)return!1;const n=e.length-t.length;for(let s=0;s<t.length;s+=1)if(e[n+s]!==t[s])return!1;return!0}function o_(e){const t=U(()=>hl.value.find(r=>r.id===e)),n=U(()=>{const r=t.value;return r?r.label??r.keys.map(i_):[]}),s=U(()=>{const r=t.value;return r?r.enabled?!!r.enabled():!0:!1});return{shortcut:t,label:n,active:s}}function i_(e){return e==="Escape"?"Esc":e==="Enter"?"↵":e==="ArrowUp"?"↑":e==="ArrowDown"?"↓":e===" "?"Space":e}const l_=ve({__name:"Kbd",props:{shortcutId:{},keys:{},active:{type:Boolean,default:!0},tone:{default:"default"}},setup(e){const t=e,n=U(()=>t.shortcutId?o_(t.shortcutId):null),s=U(()=>n.value?n.value.label.value:Array.isArray(t.keys)?t.keys:t.keys?[t.keys]:[]),r=U(()=>n.value?n.value.active.value:t.active);return(o,i)=>v(s).length?(R(),W("span",{key:0,class:Re(["inline-flex items-center gap-0.5 align-middle transition-opacity",[v(r)?"":"op30",e.tone==="muted"?"op60":""]])},[(R(!0),W(ge,null,kt(v(s),(l,a)=>(R(),W("kbd",{key:a,class:"kbd"},oe(l),1))),128))],2)):pe("",!0)}}),gl=Object.assign(l_,{__name:"Kbd"}),a_={class:"inline-flex"},c_=ve({__name:"TooltipButton",props:{tooltip:{},side:{default:"bottom"}},setup(e){const t=e;return(n,s)=>{const r=uh("tooltip");return Hr((R(),W("span",a_,[Me(n.$slots,"default")])),[[r,t.tooltip?{content:t.tooltip,placement:t.side}:void 0]])}}}),Eo=Object.assign(c_,{__name:"TooltipButton"}),bt=Ft(null),lc=ae(!1),ac=ae(!1),cc=Ft(null),wr=ae(!1),uc=ae(!1),fc=ae(null),dc=ae(null),u_=yt({state:"open",kind:"issue",search:""});function ut(){return{payload:bt,syncing:lc,executing:ac,progress:cc,queueOpen:wr,executeConfirmOpen:uc,selectedNumber:fc,lastError:dc,filters:u_,setPayload(e){bt.value=e},patchSyncState(e){bt.value&&(bt.value={...bt.value,syncState:e})},patchQueue(e){bt.value&&(bt.value={...bt.value,queue:e})},patchRemote(e){bt.value&&(bt.value={...bt.value,remote:e})},setSyncing(e){lc.value=e},setExecuting(e){ac.value=e},setProgress(e){cc.value=e},setError(e){dc.value=e},selectItem(e){fc.value=e},openQueue(){wr.value=!0},closeQueue(){wr.value=!1},askExecute(){wr.value=!0,uc.value=!0}}}const pc="q",hc="s";function f_(){let e,t;return{promise:new Promise((n,s)=>{e=n,t=s}),resolve:e,reject:t}}const d_=Math.random.bind(Math),p_="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function h_(e=21){let t="",n=e;for(;n--;)t+=p_[d_()*64|0];return t}const g_=6e4,yd=e=>e,m_=yd,{clearTimeout:gc,setTimeout:y_}=globalThis;function v_(e,t){const{post:n,on:s,off:r=()=>{},eventNames:o=[],serialize:i=yd,deserialize:l=m_,resolver:a,bind:u="rpc",timeout:c=g_,proxify:f=!0}=t;let p=!1;const d=new Map;let h,g;async function b(S,$,M,D){if(p)throw new Error(`[birpc] rpc is closed, cannot call "${S}"`);const O={m:S,a:$,t:pc};D&&(O.o=!0);const P=async N=>n(i(N));if(M){await P(O);return}if(h)try{await h}finally{h=void 0}let{promise:I,resolve:A,reject:G}=f_();const H=h_();O.i=H;let ne;async function q(N=O){return c>=0&&(ne=y_(()=>{try{if(t.onTimeoutError?.call(g,S,$)!==!0)throw new Error(`[birpc] timeout on calling "${S}"`)}catch(E){G(E)}d.delete(H)},c),typeof ne=="object"&&(ne=ne.unref?.())),d.set(H,{resolve:A,reject:G,timeoutId:ne,method:S}),await P(N),I}try{t.onRequest?await t.onRequest.call(g,O,q,A):await q()}catch(N){if(t.onGeneralError?.call(g,N)!==!0)throw N;return}finally{gc(ne),d.delete(H)}return I}const y={$call:(S,...$)=>b(S,$,!1),$callOptional:(S,...$)=>b(S,$,!1,!0),$callEvent:(S,...$)=>b(S,$,!0),$callRaw:S=>b(S.method,S.args,S.event,S.optional),$rejectPendingCalls:_,get $closed(){return p},get $meta(){return t.meta},$close:x,$functions:e};f?g=new Proxy({},{get(S,$){if(Object.prototype.hasOwnProperty.call(y,$))return y[$];if($==="then"&&!o.includes("then")&&!("then"in e))return;const M=(...O)=>b($,O,!0);if(o.includes($))return M.asEvent=M,M;const D=(...O)=>b($,O,!1);return D.asEvent=M,D}}):g=y;function x(S){p=!0,d.forEach(({reject:$,method:M})=>{const D=new Error(`[birpc] rpc is closed, cannot call "${M}"`);if(S)return S.cause??=D,$(S);$(D)}),d.clear(),r(w)}function _(S){const $=Array.from(d.values()).map(({method:M,reject:D})=>S?S({method:M,reject:D}):D(new Error(`[birpc]: rejected pending call "${M}".`)));return d.clear(),$}async function w(S,...$){let M;try{M=l(S)}catch(D){if(t.onGeneralError?.call(g,D)!==!0)throw D;return}if(M.t===pc){const{m:D,a:O,o:P}=M;let I,A,G=await(a?a.call(g,D,e[D]):e[D]);if(P&&(G||=()=>{}),!G)A=new Error(`[birpc] function "${D}" not found`);else try{I=await G.apply(u==="rpc"?g:e,O)}catch(H){A=H}if(M.i){if(A&&t.onFunctionError&&t.onFunctionError.call(g,A,D,O)===!0)return;if(!A)try{await n(i({t:hc,i:M.i,r:I}),...$);return}catch(H){if(A=H,t.onGeneralError?.call(g,H,D,O)!==!0)throw H}try{await n(i({t:hc,i:M.i,e:A}),...$)}catch(H){if(t.onGeneralError?.call(g,H,D,O)!==!0)throw H}}}else{const{i:D,r:O,e:P}=M,I=d.get(D);I&&(gc(I.timeoutId),P?I.reject(P):I.resolve(O)),d.delete(D)}}return h=s(w),g}const mc=typeof self=="object"?self:globalThis;function b_(e,t){const n=(r,o)=>(e.set(o,r),r),s=r=>{if(e.has(r))return e.get(r);const[o,i]=t[r];switch(o){case 0:case-1:return n(i,r);case 1:{const l=n([],r);for(const a of i)l.push(s(a));return l}case 2:{const l=n({},r);for(const[a,u]of i)l[s(a)]=s(u);return l}case 3:return n(new Date(i),r);case 4:{const{source:l,flags:a}=i;return n(new RegExp(l,a),r)}case 5:{const l=n(new Map,r);for(const[a,u]of i)l.set(s(a),s(u));return l}case 6:{const l=n(new Set,r);for(const a of i)l.add(s(a));return l}case 7:{const{name:l,message:a}=i;return n(new mc[l](a),r)}case 8:return n(BigInt(i),r);case"BigInt":return n(Object(BigInt(i)),r);case"ArrayBuffer":return n(new Uint8Array(i).buffer,i);case"DataView":{const{buffer:l}=new Uint8Array(i);return n(new DataView(l),i)}}return n(new mc[o](i),r)};return s}function __(e){return b_(new Map,e)(0)}const Vn="",{toString:w_}={},{keys:x_}=Object;function ws(e){const t=typeof e;if(t!=="object"||!e)return[0,t];const n=w_.call(e).slice(8,-1);switch(n){case"Array":return[1,Vn];case"Object":return[2,Vn];case"Date":return[3,Vn];case"RegExp":return[4,Vn];case"Map":return[5,Vn];case"Set":return[6,Vn];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]}function xr([e,t]){return e===0&&(t==="function"||t==="symbol")}function k_(e,t,n,s){const r=(i,l)=>{const a=s.push(i)-1;return n.set(l,a),a},o=i=>{if(n.has(i))return n.get(i);let[l,a]=ws(i);switch(l){case 0:{let c=i;switch(a){case"bigint":l=8,c=i.toString();break;case"function":case"symbol":if(e)throw new TypeError(`unable to serialize ${a}`);c=null;break;case"undefined":return r([-1],i)}return r([l,c],i)}case 1:{if(a){let p=i;return a==="DataView"?p=new Uint8Array(i.buffer):a==="ArrayBuffer"&&(p=new Uint8Array(i)),r([a,[...p]],i)}const c=[],f=r([l,c],i);for(const p of i)c.push(o(p));return f}case 2:{if(a)switch(a){case"BigInt":return r([a,i.toString()],i);case"Boolean":case"Number":case"String":return r([a,i.valueOf()],i)}if(t&&"toJSON"in i)return o(i.toJSON());const c=[],f=r([l,c],i);for(const p of x_(i))(e||!xr(ws(i[p])))&&c.push([o(p),o(i[p])]);return f}case 3:return r([l,i.toISOString()],i);case 4:{const{source:c,flags:f}=i;return r([l,{source:c,flags:f}],i)}case 5:{const c=[],f=r([l,c],i);for(const[p,d]of i)(e||!(xr(ws(p))||xr(ws(d))))&&c.push([o(p),o(d)]);return f}case 6:{const c=[],f=r([l,c],i);for(const p of i)(e||!xr(ws(p)))&&c.push(o(p));return f}}const{message:u}=i;return r([l,{name:a,message:u}],i)};return o}function S_(e,t={}){const n=[];return k_(!(t.json||t.lossy),!!t.json,new Map,n)(e),n}const{parse:T_,stringify:$_}=JSON,E_={json:!0,lossy:!0};function C_(e){return __(T_(e))}function A_(e){return $_(S_(e,E_))}const ht=yt({drafts:{}});let vd=!1,kr=null;function yc(){if(kr)return kr;const e=ps();return kr=Db(()=>{vd&&e.saveUiState({drafts:{...ht.drafts},listPaneSize:ht.listPaneSize}).catch(t=>{console.error("[useUiState] saveUiState failed:",t)})},700),kr}function eo(){function e(o){const i=o&&typeof o=="object"&&o.drafts&&typeof o.drafts=="object"?{...o.drafts}:{};ht.drafts=i,ht.listPaneSize=typeof o?.listPaneSize=="number"?o.listPaneSize:void 0,vd=!0}function t(o){return o==null?"":ht.drafts[String(o)]??""}function n(o,i){const l=String(o);if(i===""){if(!(l in ht.drafts))return;delete ht.drafts[l]}else{if(ht.drafts[l]===i)return;ht.drafts[l]=i}yc()()}function s(o){n(o,"")}function r(o){const i=Math.round(o*10)/10;ht.listPaneSize!==i&&(ht.listPaneSize=i,yc()())}return{uiState:ht,hydrate:e,getDraft:t,setDraft:n,clearDraft:s,setListPaneSize:r}}let Jo=null,zs=null,bd=null,Xo=0;function ps(){return Jo||(Jo=P_()),Jo}function P_(){const e=ut(),n=v_({onSyncStageStart({stage:s,message:r}){e.setSyncing(!0),e.setProgress({kind:"sync",stage:s,message:r})},onSyncProgress(s){const r=s.snapshot.selected||s.snapshot.scanned,o=r>0?Math.min(1,s.snapshot.processed/r):void 0;e.setProgress({kind:"sync",stage:s.stage,message:s.message,processed:s.snapshot.processed,total:s.snapshot.selected,percent:o})},onSyncStageEnd(){},onSyncComplete(){e.setProgress(null),e.setSyncing(!1)},onSyncError(s){e.setError(`Sync failed: ${s}`),e.setProgress(null),e.setSyncing(!1)},onExecuteStart({planned:s}){e.setExecuting(!0),e.setProgress({kind:"execute",message:s>0?`Executing ${s} ops…`:"Executing…",processed:0,total:s,percent:0})},onExecuteProgress({completed:s,planned:r,detail:o}){e.setProgress({kind:"execute",message:o.message,processed:s,total:r,percent:r>0?s/r:void 0})},onExecuteComplete(){e.setProgress(null),e.setExecuting(!1)},onExecuteError(s){e.setError(`Execute failed: ${s}`),e.setProgress(null),e.setExecuting(!1)},onSyncStateChange(s){e.patchSyncState(s)},onQueueChange(s){e.patchQueue(s)},onRemoteStatusChange(s){e.patchRemote(s)}},{post:s=>{zs?.readyState===WebSocket.OPEN&&zs.send(s)},on:s=>{bd=s},serialize:s=>A_(s),deserialize:s=>C_(typeof s=="string"?s:String(s)),timeout:12e4});return typeof window<"u"&&_d(n),n}function _d(e){if(typeof window>"u")return;const t=new WebSocket(O_());t.addEventListener("open",async()=>{zs=t,Xo=0;try{const n=await e.getInitialPayload();ut().setPayload(n);try{eo().hydrate(n.uiState)}catch(s){console.warn("[useRpc] uiState hydrate skipped:",s),eo().hydrate(void 0)}}catch(n){ut().setError(`Failed to hydrate: ${n.message}`)}}),t.addEventListener("message",n=>{bd?.(n.data)}),t.addEventListener("close",()=>{zs===t&&(zs=null),Xo+=1;const n=Math.min(1e3*2**Math.min(Xo,5),3e4);window.setTimeout(()=>_d(e),n)}),t.addEventListener("error",()=>{})}function O_(){const e=window.location.protocol==="https:"?"wss:":"ws:",t=window.location.host;return`${e}//${t}/__ws`}function ml(){const e=ut(),t=U(()=>{const r=e.payload.value?.syncState;return r?Object.values(r.items).sort((o,i)=>i.data.item.updatedAt.localeCompare(o.data.item.updatedAt)):[]}),n=U(()=>{const r=e.filters.search.trim().toLowerCase(),o=r.length>0;return t.value.filter(i=>{const l=i.data.item;if(e.filters.state!=="all"&&l.state!==e.filters.state||!o&&e.filters.kind!==l.kind)return!1;if(o){const a=l.body??"",u=(l.labels??[]).join(" "),c=(l.assignees??[]).join(" ");if(!`${l.number} ${l.title} ${u} ${c} ${l.author??""} ${a}`.toLowerCase().includes(r))return!1}return!0})}),s=U(()=>{let r=0,o=0;for(const i of t.value)i.data.item.kind==="issue"?r+=1:o+=1;return{issues:r,pulls:o}});return{allEntries:t,filteredEntries:n,counts:s}}const R_={class:"sticky top-0 z-30 bg-glass flex items-center gap-3 px-4 h-14 border-b border-x-0 border-base"},M_={class:"flex items-center gap-2 min-w-0 flex-none"},L_={class:"font-mono text-sm truncate max-w-60"},D_={class:"flex items-center gap-0 flex-none","aria-label":"Kind"},I_=["disabled"],N_={class:"font-mono tabular-nums"},z_=["disabled"],H_={class:"font-mono tabular-nums"},F_={class:"flex items-center gap-0.5 bg-secondary rounded p-0.5 flex-none"},B_=["onClick"],j_={class:"flex-1 min-w-40 flex items-center gap-2 border border-base rounded bg-base px-2 py-1 focus-within:border-active transition max-w-xl"},q_={class:"flex items-center gap-0.5 flex-none"},U_=["disabled"],W_={class:"flex items-center gap-0.5 flex-none"},V_={key:0,class:"absolute -top-1 -right-1 badge-color-green !px-1 !py-0 font-mono tabular-nums text-[10px] leading-none min-w-4 h-4 justify-center"},K_={class:"flex items-center gap-0.5 flex-none"},G_=ve({__name:"Navbar",setup(e){const t=ut(),n=ps(),s=md(),{counts:r}=ml(),o=U(()=>t.payload.value?.repo.repo??"connecting…"),i=U(()=>t.payload.value?.queue.upCount??0),l=U(()=>t.payload.value?.repo.hasToken??!1),a=U(()=>t.filters.search.trim().length>0),u=[{value:"open",label:"Open"},{value:"closed",label:"Closed"},{value:"all",label:"All"}];async function c(){t.setError(null),t.setSyncing(!0);try{await n.triggerSync({})}catch(p){t.setError(`Sync failed: ${p.message}`),t.setSyncing(!1)}}function f(){t.queueOpen.value?t.closeQueue():t.openQueue()}return(p,d)=>{const h=gl,g=Eo;return R(),W("header",R_,[T("div",M_,[d[5]||(d[5]=T("span",{class:"i-octicon-mark-github-16 text-lg color-base shrink-0"},null,-1)),T("span",L_,oe(v(o)),1)]),d[13]||(d[13]=T("div",{class:"h-6 w-px bg-neutral-200 dark:bg-neutral-800 mx-1 flex-none"},null,-1)),T("nav",D_,[T("button",{type:"button",class:Re(["px-3 py-1.5 text-xs flex items-center gap-1.5 border-b-2 transition",[!v(a)&&v(t).filters.kind==="issue"?"border-active color-active font-medium":"border-transparent color-muted hover:color-base",v(a)?"op50 cursor-default":""]]),disabled:v(a),onClick:d[0]||(d[0]=b=>v(t).filters.kind="issue")},[d[6]||(d[6]=T("span",{class:"i-octicon-issue-opened-16"},null,-1)),T("span",N_,oe(v(r).issues),1),d[7]||(d[7]=T("span",null,"Issues",-1)),ee(h,{"shortcut-id":"tab.issues"})],10,I_),T("button",{type:"button",class:Re(["px-3 py-1.5 text-xs flex items-center gap-1.5 border-b-2 transition",[!v(a)&&v(t).filters.kind==="pull"?"border-active color-active font-medium":"border-transparent color-muted hover:color-base",v(a)?"op50 cursor-default":""]]),disabled:v(a),onClick:d[1]||(d[1]=b=>v(t).filters.kind="pull")},[d[8]||(d[8]=T("span",{class:"i-octicon-git-pull-request-16"},null,-1)),T("span",H_,oe(v(r).pulls),1),d[9]||(d[9]=T("span",null,"Pull requests",-1)),ee(h,{"shortcut-id":"tab.pulls"})],10,z_)]),d[14]||(d[14]=T("div",{class:"h-6 w-px bg-neutral-200 dark:bg-neutral-800 mx-1 flex-none"},null,-1)),T("div",F_,[(R(),W(ge,null,kt(u,b=>T("button",{key:b.value,class:Re(["px-2 py-1 rounded text-xs transition",v(t).filters.state===b.value?"bg-base shadow-sm color-active font-medium":"color-muted hover:color-base"]),onClick:y=>v(t).filters.state=b.value},oe(b.label),11,B_)),64))]),T("label",j_,[d[11]||(d[11]=T("span",{class:"i-octicon-search-16 color-muted shrink-0"},null,-1)),Hr(T("input",{"onUpdate:modelValue":d[2]||(d[2]=b=>v(t).filters.search=b),"data-shortcut":"search",type:"text",placeholder:"Search title, body, author, labels…",class:"bg-transparent outline-none w-full font-sans text-sm"},null,512),[[of,v(t).filters.search]]),v(t).filters.search?(R(),W("button",{key:1,class:"color-muted hover:color-base shrink-0","aria-label":"Clear",onClick:d[3]||(d[3]=b=>v(t).filters.search="")},[...d[10]||(d[10]=[T("span",{class:"i-octicon-x-16 text-sm"},null,-1)])])):(R(),he(h,{key:0,"shortcut-id":"search.focus",class:"shrink-0"}))]),d[15]||(d[15]=T("div",{class:"flex-auto"},null,-1)),d[16]||(d[16]=T("div",{class:"h-6 w-px bg-neutral-200 dark:bg-neutral-800 mx-1 flex-none"},null,-1)),T("div",q_,[ee(g,{tooltip:v(l)?"Sync from GitHub":"No GitHub token available"},{default:le(()=>[T("button",{class:"btn-icon",disabled:v(t).syncing.value||!v(l),onClick:c},[T("span",{class:Re(["i-octicon-sync-16",{"animate-spin":v(t).syncing.value}])},null,2)],8,U_)]),_:1},8,["tooltip"]),ee(h,{"shortcut-id":"action.sync"})]),T("div",W_,[ee(g,{tooltip:"Queue"},{default:le(()=>[T("button",{class:"btn-icon relative",onClick:f},[d[12]||(d[12]=T("span",{class:"i-octicon-list-unordered-16"},null,-1)),v(i)>0?(R(),W("span",V_,oe(v(i)),1)):pe("",!0)])]),_:1}),ee(h,{"shortcut-id":"action.queue"})]),T("div",K_,[ee(g,{tooltip:v(s)?"Light mode":"Dark mode"},{default:le(()=>[T("button",{class:"btn-icon",onClick:d[4]||(d[4]=b=>s.value=!v(s))},[T("span",{class:Re(v(s)?"i-octicon-sun-16":"i-octicon-moon-16")},null,2)])]),_:1},8,["tooltip"]),ee(h,{"shortcut-id":"action.theme"})])])}}}),Q_=Object.assign(G_,{__name:"Navbar"}),J_={class:"relative inline-flex items-center justify-center"},X_=["aria-label"],Y_={key:0,class:"absolute -bottom-0.5 -right-0.5 w-2 h-2 rounded-full bg-yellow-500 ring-2 ring-base",title:"Pending change"},Z_=ve({__name:"ItemStateIcon",props:{item:{},pull:{},pending:{},size:{default:"md"}},setup(e){const t=e,n=U(()=>t.pending==="close"?"closed":t.pending==="reopen"?"open":t.item.state),s=U(()=>{const{item:o,pull:i}=t,l=n.value;return o.kind==="pull"?l==="open"?i?.isDraft?{icon:"i-octicon-git-pull-request-draft-16",color:"color-neutral-500 dark:color-neutral-400",label:"Draft"}:{icon:"i-octicon-git-pull-request-16",color:"color-green-600 dark:color-green-500",label:"Open"}:i?.merged?{icon:"i-octicon-git-merge-16",color:"color-purple-600 dark:color-purple-400",label:"Merged"}:{icon:"i-octicon-git-pull-request-closed-16",color:"color-red-600 dark:color-red-400",label:"Closed"}:l==="closed"?o.stateReason==="not_planned"?{icon:"i-octicon-skip-16",color:"color-neutral-500 dark:color-neutral-400",label:"Closed as not planned"}:{icon:"i-octicon-issue-closed-16",color:"color-purple-600 dark:color-purple-400",label:"Closed as completed"}:{icon:"i-octicon-issue-opened-16",color:"color-green-600 dark:color-green-500",label:"Open"}}),r=U(()=>t.size==="sm"?"text-sm":t.size==="lg"?"text-xl":"text-base");return(o,i)=>(R(),W("span",J_,[T("span",{class:Re([v(s).icon,v(s).color,v(r)]),"aria-label":v(s).label},null,10,X_),e.pending?(R(),W("span",Y_)):pe("",!0)]))}}),wd=Object.assign(Z_,{__name:"ItemStateIcon"}),ew=["src","alt","width","height"],tw={key:1},nw=ve({__name:"Avatar",props:{login:{},size:{default:20}},setup(e){const t=e,n=U(()=>{if(!t.login)return"";const o=Math.ceil(t.size*2);return`https://avatars.githubusercontent.com/${t.login}?size=${o}`}),s=U(()=>(t.login?.[0]??"?").toUpperCase()),r=ae(!1);return Oe(()=>t.login,()=>{r.value=!1}),(o,i)=>(R(),W("span",{style:mt({width:`${t.size}px`,height:`${t.size}px`}),class:"inline-flex shrink-0 items-center justify-center rounded-full overflow-hidden bg-secondary color-muted font-mono text-[10px] select-none align-middle"},[t.login&&!v(r)?(R(),W("img",{key:0,src:v(n),alt:`@${t.login}`,width:t.size,height:t.size,loading:"lazy",class:"h-full w-full object-cover",onError:i[0]||(i[0]=l=>r.value=!0)},null,40,ew)):(R(),W("span",tw,oe(v(s)),1))],4))}}),xd=Object.assign(nw,{__name:"Avatar"});function $s(e){if(!e)return"never";try{const t=Date.now()-new Date(e).getTime(),n=Math.round(t/1e3),s=Math.round(n/60),r=Math.round(s/60),o=Math.round(r/24);if(n<60)return`${n}s ago`;if(s<60)return`${s}m ago`;if(r<24)return`${r}h ago`;if(o<60)return`${o}d ago`;const i=Math.round(o/30);return i<24?`${i}mo ago`:`${Math.round(o/365)}y ago`}catch{return e}}const sw=new Set(["close","close-with-comment"]);function kd(e){const t=ut(),n=U(()=>{const a=e.value;return a==null?[]:(t.payload.value?.queue.entries??[]).filter(c=>c.op.number===a)}),s=U(()=>{const a=n.value;return a.some(u=>sw.has(u.op.action))?"close":a.some(u=>u.op.action==="reopen")?"reopen":null}),r=U(()=>n.value.filter(a=>a.op.action==="add-comment"||a.op.action==="close-with-comment")),o=U(()=>n.value.find(a=>a.op.action==="set-title")??null),i=U(()=>{const a=new Set(["close","reopen","close-with-comment","add-comment","set-title"]);return n.value.filter(u=>!a.has(u.op.action))}),l=U(()=>n.value.length>0);return{entries:n,direction:s,pendingComments:r,pendingTitle:o,pendingOther:i,hasPending:l}}function Yo(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function rw(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Sd(e,t){const n=e??"";if(!n)return"";const s=t.trim();if(!s)return Yo(n);try{const r=new RegExp(`(${rw(s)})`,"ig");return Yo(n).replace(r,'<mark class="bg-yellow-300/60 dark:bg-yellow-400/30 rounded-sm px-0.5">$1</mark>')}catch{return Yo(n)}}function ow(e,t,n=60){const s=e??"",r=t.trim();if(!s||!r)return"";const o=s.toLowerCase(),i=r.toLowerCase(),l=o.indexOf(i);if(l<0)return"";const a=Math.max(0,l-n),u=Math.min(s.length,l+r.length+n),c=a>0?"…":"",f=u<s.length?"…":"",p=s.slice(a,u).replace(/\s+/g," ");return`${c}${Sd(p,r)}${f}`}function yl(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var qn=yl();function Td(e){qn=e}var Ln={exec:()=>null};function ye(e,t=""){let n=typeof e=="string"?e:e.source,s={replace:(r,o)=>{let i=typeof o=="string"?o:o.source;return i=i.replace(Ge.caret,"$1"),n=n.replace(r,i),s},getRegex:()=>new RegExp(n,t)};return s}var iw=((e="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+e)}catch{return!1}})(),Ge={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}>`)},lw=/^(?:[ \t]*(?:\n|$))+/,aw=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,cw=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,lr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,uw=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,vl=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,$d=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Ed=ye($d).replace(/bull/g,vl).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),fw=ye($d).replace(/bull/g,vl).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),bl=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,dw=/^[^\n]+/,_l=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,pw=ye(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",_l).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),hw=ye(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,vl).getRegex(),Co="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",wl=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,gw=ye("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",wl).replace("tag",Co).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Cd=ye(bl).replace("hr",lr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Co).getRegex(),mw=ye(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Cd).getRegex(),xl={blockquote:mw,code:aw,def:pw,fences:cw,heading:uw,hr:lr,html:gw,lheading:Ed,list:hw,newline:lw,paragraph:Cd,table:Ln,text:dw},vc=ye("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",lr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Co).getRegex(),yw={...xl,lheading:fw,table:vc,paragraph:ye(bl).replace("hr",lr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",vc).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Co).getRegex()},vw={...xl,html:ye(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",wl).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ln,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ye(bl).replace("hr",lr).replace("heading",` *#{1,6} *[^
5
- ]`).replace("lheading",Ed).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},bw=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,_w=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ad=/^( {2,}|\\)\n(?!\s*$)/,ww=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,hs=/[\p{P}\p{S}]/u,Ao=/[\s\p{P}\p{S}]/u,kl=/[^\s\p{P}\p{S}]/u,xw=ye(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Ao).getRegex(),Pd=/(?!~)[\p{P}\p{S}]/u,kw=/(?!~)[\s\p{P}\p{S}]/u,Sw=/(?:[^\s\p{P}\p{S}]|~)/u,Tw=ye(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",iw?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Od=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,$w=ye(Od,"u").replace(/punct/g,hs).getRegex(),Ew=ye(Od,"u").replace(/punct/g,Pd).getRegex(),Rd="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Cw=ye(Rd,"gu").replace(/notPunctSpace/g,kl).replace(/punctSpace/g,Ao).replace(/punct/g,hs).getRegex(),Aw=ye(Rd,"gu").replace(/notPunctSpace/g,Sw).replace(/punctSpace/g,kw).replace(/punct/g,Pd).getRegex(),Pw=ye("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,kl).replace(/punctSpace/g,Ao).replace(/punct/g,hs).getRegex(),Ow=ye(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,hs).getRegex(),Rw="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",Mw=ye(Rw,"gu").replace(/notPunctSpace/g,kl).replace(/punctSpace/g,Ao).replace(/punct/g,hs).getRegex(),Lw=ye(/\\(punct)/,"gu").replace(/punct/g,hs).getRegex(),Dw=ye(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Iw=ye(wl).replace("(?:-->|$)","-->").getRegex(),Nw=ye("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Iw).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),to=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,zw=ye(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",to).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Md=ye(/^!?\[(label)\]\[(ref)\]/).replace("label",to).replace("ref",_l).getRegex(),Ld=ye(/^!?\[(ref)\](?:\[\])?/).replace("ref",_l).getRegex(),Hw=ye("reflink|nolink(?!\\()","g").replace("reflink",Md).replace("nolink",Ld).getRegex(),bc=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Sl={_backpedal:Ln,anyPunctuation:Lw,autolink:Dw,blockSkip:Tw,br:Ad,code:_w,del:Ln,delLDelim:Ln,delRDelim:Ln,emStrongLDelim:$w,emStrongRDelimAst:Cw,emStrongRDelimUnd:Pw,escape:bw,link:zw,nolink:Ld,punctuation:xw,reflink:Md,reflinkSearch:Hw,tag:Nw,text:ww,url:Ln},Fw={...Sl,link:ye(/^!?\[(label)\]\((.*?)\)/).replace("label",to).getRegex(),reflink:ye(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",to).getRegex()},Mi={...Sl,emStrongRDelimAst:Aw,emStrongLDelim:Ew,delLDelim:Ow,delRDelim:Mw,url:ye(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",bc).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:ye(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",bc).getRegex()},Bw={...Mi,br:ye(Ad).replace("{2,}","*").getRegex(),text:ye(Mi.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Sr={normal:xl,gfm:yw,pedantic:vw},xs={normal:Sl,gfm:Mi,breaks:Bw,pedantic:Fw},jw={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},_c=e=>jw[e];function Ot(e,t){if(t){if(Ge.escapeTest.test(e))return e.replace(Ge.escapeReplace,_c)}else if(Ge.escapeTestNoEncode.test(e))return e.replace(Ge.escapeReplaceNoEncode,_c);return e}function wc(e){try{e=encodeURI(e).replace(Ge.percentDecode,"%")}catch{return null}return e}function xc(e,t){let n=e.replace(Ge.findPipe,(o,i,l)=>{let a=!1,u=i;for(;--u>=0&&l[u]==="\\";)a=!a;return a?"|":" |"}),s=n.split(Ge.splitPipe),r=0;if(s[0].trim()||s.shift(),s.length>0&&!s.at(-1)?.trim()&&s.pop(),t)if(s.length>t)s.splice(t);else for(;s.length<t;)s.push("");for(;r<s.length;r++)s[r]=s[r].trim().replace(Ge.slashPipe,"|");return s}function ln(e,t,n){let s=e.length;if(s===0)return"";let r=0;for(;r<s&&e.charAt(s-r-1)===t;)r++;return e.slice(0,s-r)}function kc(e){let t=e.split(`
6
- `),n=t.length-1;for(;n>=0&&Ge.blankLine.test(t[n]);)n--;return t.length-n<=2?e:t.slice(0,n+1).join(`
7
- `)}function qw(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let s=0;s<e.length;s++)if(e[s]==="\\")s++;else if(e[s]===t[0])n++;else if(e[s]===t[1]&&(n--,n<0))return s;return n>0?-2:-1}function Uw(e,t=0){let n=t,s="";for(let r of e)if(r===" "){let o=4-n%4;s+=" ".repeat(o),n+=o}else s+=r,n++;return s}function Sc(e,t,n,s,r){let o=t.href,i=t.title||null,l=e[1].replace(r.other.outputLinkReplace,"$1");s.state.inLink=!0;let a={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:o,title:i,text:l,tokens:s.inlineTokens(l)};return s.state.inLink=!1,a}function Ww(e,t,n){let s=e.match(n.other.indentCodeCompensation);if(s===null)return t;let r=s[1];return t.split(`
8
- `).map(o=>{let i=o.match(n.other.beginningSpace);if(i===null)return o;let[l]=i;return l.length>=r.length?o.slice(r.length):o}).join(`
9
- `)}var no=class{options;rules;lexer;constructor(e){this.options=e||qn}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=this.options.pedantic?t[0]:kc(t[0]),s=n.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:n,codeBlockStyle:"indented",text:s}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],s=Ww(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:s}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){let s=ln(n,"#");(this.options.pedantic||!s||this.rules.other.endingSpaceChar.test(s))&&(n=s.trim())}return{type:"heading",raw:ln(t[0],`
10
- `),depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:ln(t[0],`
11
- `)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let n=ln(t[0],`
12
- `).split(`
13
- `),s="",r="",o=[];for(;n.length>0;){let i=!1,l=[],a;for(a=0;a<n.length;a++)if(this.rules.other.blockquoteStart.test(n[a]))l.push(n[a]),i=!0;else if(!i)l.push(n[a]);else break;n=n.slice(a);let u=l.join(`
14
- `),c=u.replace(this.rules.other.blockquoteSetextReplace,`
15
- $1`).replace(this.rules.other.blockquoteSetextReplace2,"");s=s?`${s}
16
- ${u}`:u,r=r?`${r}
17
- ${c}`:c;let f=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,o,!0),this.lexer.state.top=f,n.length===0)break;let p=o.at(-1);if(p?.type==="code")break;if(p?.type==="blockquote"){let d=p,h=d.raw+`
18
- `+n.join(`
19
- `),g=this.blockquote(h);o[o.length-1]=g,s=s.substring(0,s.length-d.raw.length)+g.raw,r=r.substring(0,r.length-d.text.length)+g.text;break}else if(p?.type==="list"){let d=p,h=d.raw+`
20
- `+n.join(`
21
- `),g=this.list(h);o[o.length-1]=g,s=s.substring(0,s.length-p.raw.length)+g.raw,r=r.substring(0,r.length-d.raw.length)+g.raw,n=h.substring(o.at(-1).raw.length).split(`
22
- `);continue}}return{type:"blockquote",raw:s,tokens:o,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),s=n.length>1,r={type:"list",raw:"",ordered:s,start:s?+n.slice(0,-1):"",loose:!1,items:[]};n=s?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=s?n:"[*+-]");let o=this.rules.other.listItemRegex(n),i=!1;for(;e;){let a=!1,u="",c="";if(!(t=o.exec(e))||this.rules.block.hr.test(e))break;u=t[0],e=e.substring(u.length);let f=Uw(t[2].split(`
23
- `,1)[0],t[1].length),p=e.split(`
24
- `,1)[0],d=!f.trim(),h=0;if(this.options.pedantic?(h=2,c=f.trimStart()):d?h=t[1].length+1:(h=f.search(this.rules.other.nonSpaceChar),h=h>4?1:h,c=f.slice(h),h+=t[1].length),d&&this.rules.other.blankLine.test(p)&&(u+=p+`
25
- `,e=e.substring(p.length+1),a=!0),!a){let g=this.rules.other.nextBulletRegex(h),b=this.rules.other.hrRegex(h),y=this.rules.other.fencesBeginRegex(h),x=this.rules.other.headingBeginRegex(h),_=this.rules.other.htmlBeginRegex(h),w=this.rules.other.blockquoteBeginRegex(h);for(;e;){let S=e.split(`
26
- `,1)[0],$;if(p=S,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),$=p):$=p.replace(this.rules.other.tabCharGlobal," "),y.test(p)||x.test(p)||_.test(p)||w.test(p)||g.test(p)||b.test(p))break;if($.search(this.rules.other.nonSpaceChar)>=h||!p.trim())c+=`
27
- `+$.slice(h);else{if(d||f.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||y.test(f)||x.test(f)||b.test(f))break;c+=`
28
- `+p}d=!p.trim(),u+=S+`
29
- `,e=e.substring(S.length+1),f=$.slice(h)}}r.loose||(i?r.loose=!0:this.rules.other.doubleBlankLine.test(u)&&(i=!0)),r.items.push({type:"list_item",raw:u,task:!!this.options.gfm&&this.rules.other.listIsTask.test(c),loose:!1,text:c,tokens:[]}),r.raw+=u}let l=r.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;r.raw=r.raw.trimEnd();for(let a of r.items){if(this.lexer.state.top=!1,a.tokens=this.lexer.blockTokens(a.text,[]),a.task){if(a.text=a.text.replace(this.rules.other.listReplaceTask,""),a.tokens[0]?.type==="text"||a.tokens[0]?.type==="paragraph"){a.tokens[0].raw=a.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),a.tokens[0].text=a.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let c=this.lexer.inlineQueue.length-1;c>=0;c--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[c].src)){this.lexer.inlineQueue[c].src=this.lexer.inlineQueue[c].src.replace(this.rules.other.listReplaceTask,"");break}}let u=this.rules.other.listTaskCheckbox.exec(a.raw);if(u){let c={type:"checkbox",raw:u[0]+" ",checked:u[0]!=="[ ]"};a.checked=c.checked,r.loose?a.tokens[0]&&["paragraph","text"].includes(a.tokens[0].type)&&"tokens"in a.tokens[0]&&a.tokens[0].tokens?(a.tokens[0].raw=c.raw+a.tokens[0].raw,a.tokens[0].text=c.raw+a.tokens[0].text,a.tokens[0].tokens.unshift(c)):a.tokens.unshift({type:"paragraph",raw:c.raw,text:c.raw,tokens:[c]}):a.tokens.unshift(c)}}if(!r.loose){let u=a.tokens.filter(f=>f.type==="space"),c=u.length>0&&u.some(f=>this.rules.other.anyLine.test(f.raw));r.loose=c}}if(r.loose)for(let a of r.items){a.loose=!0;for(let u of a.tokens)u.type==="text"&&(u.type="paragraph")}return r}}html(e){let t=this.rules.block.html.exec(e);if(t){let n=kc(t[0]);return{type:"html",block:!0,raw:n,pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:n}}}def(e){let t=this.rules.block.def.exec(e);if(t){let n=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),s=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:ln(t[0],`
30
- `),href:s,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=xc(t[1]),s=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
31
- `):[],o={type:"table",raw:ln(t[0],`
32
- `),header:[],align:[],rows:[]};if(n.length===s.length){for(let i of s)this.rules.other.tableAlignRight.test(i)?o.align.push("right"):this.rules.other.tableAlignCenter.test(i)?o.align.push("center"):this.rules.other.tableAlignLeft.test(i)?o.align.push("left"):o.align.push(null);for(let i=0;i<n.length;i++)o.header.push({text:n[i],tokens:this.lexer.inline(n[i]),header:!0,align:o.align[i]});for(let i of r)o.rows.push(xc(i,o.header.length).map((l,a)=>({text:l,tokens:this.lexer.inline(l),header:!1,align:o.align[a]})));return o}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let n=t[1].trim();return{type:"heading",raw:ln(t[0],`
33
- `),depth:t[2].charAt(0)==="="?1:2,text:n,tokens:this.lexer.inline(n)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let n=t[1].charAt(t[1].length-1)===`
34
- `?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let o=ln(n.slice(0,-1),"\\");if((n.length-o.length)%2===0)return}else{let o=qw(t[2],"()");if(o===-2)return;if(o>-1){let i=(t[0].indexOf("!")===0?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,i).trim(),t[3]=""}}let s=t[2],r="";if(this.options.pedantic){let o=this.rules.other.pedanticHrefTitle.exec(s);o&&(s=o[1],r=o[3])}else r=t[3]?t[3].slice(1,-1):"";return s=s.trim(),this.rules.other.startAngleBracket.test(s)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?s=s.slice(1):s=s.slice(1,-1)),Sc(t,{href:s&&s.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let s=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),r=t[s.toLowerCase()];if(!r){let o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return Sc(n,r,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let s=this.rules.inline.emStrongLDelim.exec(e);if(!(!s||!s[1]&&!s[2]&&!s[3]&&!s[4]||s[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(s[1]||s[3])||!n||this.rules.inline.punctuation.exec(n))){let r=[...s[0]].length-1,o,i,l=r,a=0,u=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+r);(s=u.exec(t))!==null;){if(o=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!o)continue;if(i=[...o].length,s[3]||s[4]){l+=i;continue}else if((s[5]||s[6])&&r%3&&!((r+i)%3)){a+=i;continue}if(l-=i,l>0)continue;i=Math.min(i,i+l+a);let c=[...s[0]][0].length,f=e.slice(0,r+s.index+c+i);if(Math.min(r,i)%2){let d=f.slice(1,-1);return{type:"em",raw:f,text:d,tokens:this.lexer.inlineTokens(d)}}let p=f.slice(2,-2);return{type:"strong",raw:f,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," "),s=this.rules.other.nonSpaceChar.test(n),r=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return s&&r&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t,n=""){let s=this.rules.inline.delLDelim.exec(e);if(s&&(!s[1]||!n||this.rules.inline.punctuation.exec(n))){let r=[...s[0]].length-1,o,i,l=r,a=this.rules.inline.delRDelim;for(a.lastIndex=0,t=t.slice(-1*e.length+r);(s=a.exec(t))!==null;){if(o=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!o||(i=[...o].length,i!==r))continue;if(s[3]||s[4]){l+=i;continue}if(l-=i,l>0)continue;i=Math.min(i,i+l);let u=[...s[0]][0].length,c=e.slice(0,r+s.index+u+i),f=c.slice(r,-r);return{type:"del",raw:c,text:f,tokens:this.lexer.inlineTokens(f)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let n,s;return t[2]==="@"?(n=t[1],s="mailto:"+n):(n=t[1],s=n),{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,s;if(t[2]==="@")n=t[0],s="mailto:"+n;else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(r!==t[0]);n=t[0],t[1]==="www."?s="http://"+t[0]:s=t[0]}return{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}},_t=class Li{tokens;options;state;inlineQueue;tokenizer;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||qn,this.options.tokenizer=this.options.tokenizer||new no,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:Ge,block:Sr.normal,inline:xs.normal};this.options.pedantic?(n.block=Sr.pedantic,n.inline=xs.pedantic):this.options.gfm&&(n.block=Sr.gfm,this.options.breaks?n.inline=xs.breaks:n.inline=xs.gfm),this.tokenizer.rules=n}static get rules(){return{block:Sr,inline:xs}}static lex(t,n){return new Li(n).lex(t)}static lexInline(t,n){return new Li(n).inlineTokens(t)}lex(t){t=t.replace(Ge.carriageReturn,`
35
- `),this.blockTokens(t,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){let s=this.inlineQueue[n];this.inlineTokens(s.src,s.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[],s=!1){this.tokenizer.lexer=this,this.options.pedantic&&(t=t.replace(Ge.tabCharGlobal," ").replace(Ge.spaceLine,""));let r=1/0;for(;t;){if(t.length<r)r=t.length;else{this.infiniteLoopError(t.charCodeAt(0));break}let o;if(this.options.extensions?.block?.some(l=>(o=l.call({lexer:this},t,n))?(t=t.substring(o.raw.length),n.push(o),!0):!1))continue;if(o=this.tokenizer.space(t)){t=t.substring(o.raw.length);let l=n.at(-1);o.raw.length===1&&l!==void 0?l.raw+=`
36
- `:n.push(o);continue}if(o=this.tokenizer.code(t)){t=t.substring(o.raw.length);let l=n.at(-1);l?.type==="paragraph"||l?.type==="text"?(l.raw+=(l.raw.endsWith(`
37
- `)?"":`
38
- `)+o.raw,l.text+=`
39
- `+o.text,this.inlineQueue.at(-1).src=l.text):n.push(o);continue}if(o=this.tokenizer.fences(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.heading(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.hr(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.blockquote(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.list(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.html(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.def(t)){t=t.substring(o.raw.length);let l=n.at(-1);l?.type==="paragraph"||l?.type==="text"?(l.raw+=(l.raw.endsWith(`
40
- `)?"":`
41
- `)+o.raw,l.text+=`
42
- `+o.raw,this.inlineQueue.at(-1).src=l.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title},n.push(o));continue}if(o=this.tokenizer.table(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.lheading(t)){t=t.substring(o.raw.length),n.push(o);continue}let i=t;if(this.options.extensions?.startBlock){let l=1/0,a=t.slice(1),u;this.options.extensions.startBlock.forEach(c=>{u=c.call({lexer:this},a),typeof u=="number"&&u>=0&&(l=Math.min(l,u))}),l<1/0&&l>=0&&(i=t.substring(0,l+1))}if(this.state.top&&(o=this.tokenizer.paragraph(i))){let l=n.at(-1);s&&l?.type==="paragraph"?(l.raw+=(l.raw.endsWith(`
43
- `)?"":`
44
- `)+o.raw,l.text+=`
45
- `+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(o),s=i.length!==t.length,t=t.substring(o.raw.length);continue}if(o=this.tokenizer.text(t)){t=t.substring(o.raw.length);let l=n.at(-1);l?.type==="text"?(l.raw+=(l.raw.endsWith(`
46
- `)?"":`
47
- `)+o.raw,l.text+=`
48
- `+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(o);continue}if(t){this.infiniteLoopError(t.charCodeAt(0));break}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){this.tokenizer.lexer=this;let s=t,r=null;if(this.tokens.links){let u=Object.keys(this.tokens.links);if(u.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(s))!==null;)u.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(s))!==null;)s=s.slice(0,r.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let o;for(;(r=this.tokenizer.rules.inline.blockSkip.exec(s))!==null;)o=r[2]?r[2].length:0,s=s.slice(0,r.index+o)+"["+"a".repeat(r[0].length-o-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);s=this.options.hooks?.emStrongMask?.call({lexer:this},s)??s;let i=!1,l="",a=1/0;for(;t;){if(t.length<a)a=t.length;else{this.infiniteLoopError(t.charCodeAt(0));break}i||(l=""),i=!1;let u;if(this.options.extensions?.inline?.some(f=>(u=f.call({lexer:this},t,n))?(t=t.substring(u.raw.length),n.push(u),!0):!1))continue;if(u=this.tokenizer.escape(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.tag(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.link(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(u.raw.length);let f=n.at(-1);u.type==="text"&&f?.type==="text"?(f.raw+=u.raw,f.text+=u.text):n.push(u);continue}if(u=this.tokenizer.emStrong(t,s,l)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.codespan(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.br(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.del(t,s,l)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.autolink(t)){t=t.substring(u.raw.length),n.push(u);continue}if(!this.state.inLink&&(u=this.tokenizer.url(t))){t=t.substring(u.raw.length),n.push(u);continue}let c=t;if(this.options.extensions?.startInline){let f=1/0,p=t.slice(1),d;this.options.extensions.startInline.forEach(h=>{d=h.call({lexer:this},p),typeof d=="number"&&d>=0&&(f=Math.min(f,d))}),f<1/0&&f>=0&&(c=t.substring(0,f+1))}if(u=this.tokenizer.inlineText(c)){t=t.substring(u.raw.length),u.raw.slice(-1)!=="_"&&(l=u.raw.slice(-1)),i=!0;let f=n.at(-1);f?.type==="text"?(f.raw+=u.raw,f.text+=u.text):n.push(u);continue}if(t){this.infiniteLoopError(t.charCodeAt(0));break}}return n}infiniteLoopError(t){let n="Infinite loop on byte: "+t;if(this.options.silent)console.error(n);else throw new Error(n)}},so=class{options;parser;constructor(e){this.options=e||qn}space(e){return""}code({text:e,lang:t,escaped:n}){let s=(t||"").match(Ge.notSpaceStart)?.[0],r=e.replace(Ge.endingNewline,"")+`
49
- `;return s?'<pre><code class="language-'+Ot(s)+'">'+(n?r:Ot(r,!0))+`</code></pre>
50
- `:"<pre><code>"+(n?r:Ot(r,!0))+`</code></pre>
51
- `}blockquote({tokens:e}){return`<blockquote>
52
- ${this.parser.parse(e)}</blockquote>
53
- `}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
54
- `}hr(e){return`<hr>
55
- `}list(e){let t=e.ordered,n=e.start,s="";for(let i=0;i<e.items.length;i++){let l=e.items[i];s+=this.listitem(l)}let r=t?"ol":"ul",o=t&&n!==1?' start="'+n+'"':"";return"<"+r+o+`>
56
- `+s+"</"+r+`>
57
- `}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
58
- `}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
59
- `}table(e){let t="",n="";for(let r=0;r<e.header.length;r++)n+=this.tablecell(e.header[r]);t+=this.tablerow({text:n});let s="";for(let r=0;r<e.rows.length;r++){let o=e.rows[r];n="";for(let i=0;i<o.length;i++)n+=this.tablecell(o[i]);s+=this.tablerow({text:n})}return s&&(s=`<tbody>${s}</tbody>`),`<table>
60
- <thead>
61
- `+t+`</thead>
62
- `+s+`</table>
63
- `}tablerow({text:e}){return`<tr>
64
- ${e}</tr>
65
- `}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
66
- `}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${Ot(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let s=this.parser.parseInline(n),r=wc(e);if(r===null)return s;e=r;let o='<a href="'+e+'"';return t&&(o+=' title="'+Ot(t)+'"'),o+=">"+s+"</a>",o}image({href:e,title:t,text:n,tokens:s}){s&&(n=this.parser.parseInline(s,this.parser.textRenderer));let r=wc(e);if(r===null)return Ot(n);e=r;let o=`<img src="${e}" alt="${Ot(n)}"`;return t&&(o+=` title="${Ot(t)}"`),o+=">",o}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:Ot(e.text)}},Tl=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},wt=class Di{options;renderer;textRenderer;constructor(t){this.options=t||qn,this.options.renderer=this.options.renderer||new so,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Tl}static parse(t,n){return new Di(n).parse(t)}static parseInline(t,n){return new Di(n).parseInline(t)}parse(t){this.renderer.parser=this;let n="";for(let s=0;s<t.length;s++){let r=t[s];if(this.options.extensions?.renderers?.[r.type]){let i=r,l=this.options.extensions.renderers[i.type].call({parser:this},i);if(l!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(i.type)){n+=l||"";continue}}let o=r;switch(o.type){case"space":{n+=this.renderer.space(o);break}case"hr":{n+=this.renderer.hr(o);break}case"heading":{n+=this.renderer.heading(o);break}case"code":{n+=this.renderer.code(o);break}case"table":{n+=this.renderer.table(o);break}case"blockquote":{n+=this.renderer.blockquote(o);break}case"list":{n+=this.renderer.list(o);break}case"checkbox":{n+=this.renderer.checkbox(o);break}case"html":{n+=this.renderer.html(o);break}case"def":{n+=this.renderer.def(o);break}case"paragraph":{n+=this.renderer.paragraph(o);break}case"text":{n+=this.renderer.text(o);break}default:{let i='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(i),"";throw new Error(i)}}}return n}parseInline(t,n=this.renderer){this.renderer.parser=this;let s="";for(let r=0;r<t.length;r++){let o=t[r];if(this.options.extensions?.renderers?.[o.type]){let l=this.options.extensions.renderers[o.type].call({parser:this},o);if(l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){s+=l||"";continue}}let i=o;switch(i.type){case"escape":{s+=n.text(i);break}case"html":{s+=n.html(i);break}case"link":{s+=n.link(i);break}case"image":{s+=n.image(i);break}case"checkbox":{s+=n.checkbox(i);break}case"strong":{s+=n.strong(i);break}case"em":{s+=n.em(i);break}case"codespan":{s+=n.codespan(i);break}case"br":{s+=n.br(i);break}case"del":{s+=n.del(i);break}case"text":{s+=n.text(i);break}default:{let l='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return s}},Es=class{options;block;constructor(e){this.options=e||qn}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?_t.lex:_t.lexInline}provideParser(e=this.block){return e?wt.parse:wt.parseInline}},Dd=class{defaults=yl();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=wt;Renderer=so;TextRenderer=Tl;Lexer=_t;Tokenizer=no;Hooks=Es;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let s of e)switch(n=n.concat(t.call(this,s)),s.type){case"table":{let r=s;for(let o of r.header)n=n.concat(this.walkTokens(o.tokens,t));for(let o of r.rows)for(let i of o)n=n.concat(this.walkTokens(i.tokens,t));break}case"list":{let r=s;n=n.concat(this.walkTokens(r.items,t));break}default:{let r=s;this.defaults.extensions?.childTokens?.[r.type]?this.defaults.extensions.childTokens[r.type].forEach(o=>{let i=r[o].flat(1/0);n=n.concat(this.walkTokens(i,t))}):r.tokens&&(n=n.concat(this.walkTokens(r.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let s={...n};if(s.async=this.defaults.async||s.async||!1,n.extensions&&(n.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){let o=t.renderers[r.name];o?t.renderers[r.name]=function(...i){let l=r.renderer.apply(this,i);return l===!1&&(l=o.apply(this,i)),l}:t.renderers[r.name]=r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let o=t[r.level];o?o.unshift(r.tokenizer):t[r.level]=[r.tokenizer],r.start&&(r.level==="block"?t.startBlock?t.startBlock.push(r.start):t.startBlock=[r.start]:r.level==="inline"&&(t.startInline?t.startInline.push(r.start):t.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(t.childTokens[r.name]=r.childTokens)}),s.extensions=t),n.renderer){let r=this.defaults.renderer||new so(this.defaults);for(let o in n.renderer){if(!(o in r))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;let i=o,l=n.renderer[i],a=r[i];r[i]=(...u)=>{let c=l.apply(r,u);return c===!1&&(c=a.apply(r,u)),c||""}}s.renderer=r}if(n.tokenizer){let r=this.defaults.tokenizer||new no(this.defaults);for(let o in n.tokenizer){if(!(o in r))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;let i=o,l=n.tokenizer[i],a=r[i];r[i]=(...u)=>{let c=l.apply(r,u);return c===!1&&(c=a.apply(r,u)),c}}s.tokenizer=r}if(n.hooks){let r=this.defaults.hooks||new Es;for(let o in n.hooks){if(!(o in r))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;let i=o,l=n.hooks[i],a=r[i];Es.passThroughHooks.has(o)?r[i]=u=>{if(this.defaults.async&&Es.passThroughHooksRespectAsync.has(o))return(async()=>{let f=await l.call(r,u);return a.call(r,f)})();let c=l.call(r,u);return a.call(r,c)}:r[i]=(...u)=>{if(this.defaults.async)return(async()=>{let f=await l.apply(r,u);return f===!1&&(f=await a.apply(r,u)),f})();let c=l.apply(r,u);return c===!1&&(c=a.apply(r,u)),c}}s.hooks=r}if(n.walkTokens){let r=this.defaults.walkTokens,o=n.walkTokens;s.walkTokens=function(i){let l=[];return l.push(o.call(this,i)),r&&(l=l.concat(r.call(this,i))),l}}this.defaults={...this.defaults,...s}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return _t.lex(e,t??this.defaults)}parser(e,t){return wt.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let s={...n},r={...this.defaults,...s},o=this.onError(!!r.silent,!!r.async);if(this.defaults.async===!0&&s.async===!1)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return o(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(r.hooks&&(r.hooks.options=r,r.hooks.block=e),r.async)return(async()=>{let i=r.hooks?await r.hooks.preprocess(t):t,l=await(r.hooks?await r.hooks.provideLexer(e):e?_t.lex:_t.lexInline)(i,r),a=r.hooks?await r.hooks.processAllTokens(l):l;r.walkTokens&&await Promise.all(this.walkTokens(a,r.walkTokens));let u=await(r.hooks?await r.hooks.provideParser(e):e?wt.parse:wt.parseInline)(a,r);return r.hooks?await r.hooks.postprocess(u):u})().catch(o);try{r.hooks&&(t=r.hooks.preprocess(t));let i=(r.hooks?r.hooks.provideLexer(e):e?_t.lex:_t.lexInline)(t,r);r.hooks&&(i=r.hooks.processAllTokens(i)),r.walkTokens&&this.walkTokens(i,r.walkTokens);let l=(r.hooks?r.hooks.provideParser(e):e?wt.parse:wt.parseInline)(i,r);return r.hooks&&(l=r.hooks.postprocess(l)),l}catch(i){return o(i)}}}onError(e,t){return n=>{if(n.message+=`
67
- Please report this to https://github.com/markedjs/marked.`,e){let s="<p>An error occurred:</p><pre>"+Ot(n.message+"",!0)+"</pre>";return t?Promise.resolve(s):s}if(t)return Promise.reject(n);throw n}}},Fn=new Dd;function Se(e,t){return Fn.parse(e,t)}Se.options=Se.setOptions=function(e){return Fn.setOptions(e),Se.defaults=Fn.defaults,Td(Se.defaults),Se};Se.getDefaults=yl;Se.defaults=qn;Se.use=function(...e){return Fn.use(...e),Se.defaults=Fn.defaults,Td(Se.defaults),Se};Se.walkTokens=function(e,t){return Fn.walkTokens(e,t)};Se.parseInline=Fn.parseInline;Se.Parser=wt;Se.parser=wt.parse;Se.Renderer=so;Se.TextRenderer=Tl;Se.Lexer=_t;Se.lexer=_t.lex;Se.Tokenizer=no;Se.Hooks=Es;Se.parse=Se;Se.options;Se.setOptions;Se.use;Se.walkTokens;Se.parseInline;wt.parse;_t.lex;const Vw={"+1":"👍","-1":"👎",tada:"🎉",rocket:"🚀",heart:"❤️",eyes:"👀",fire:"🔥",sparkles:"✨",star:"⭐",star2:"🌟",boom:"💥",zap:"⚡",check:"✔️",white_check_mark:"✅",heavy_check_mark:"✔️",x:"❌",heavy_multiplication_x:"✖️",warning:"⚠️",question:"❓",grey_question:"❔",exclamation:"❗",grey_exclamation:"❕",bulb:"💡",bug:"🐛",beetle:"🪲",wrench:"🔧",hammer:"🔨",hammer_and_wrench:"🛠️",lock:"🔒",unlock:"🔓",key:"🔑",mag:"🔍",mag_right:"🔎",pencil2:"✏️",memo:"📝",pencil:"📝",page_with_curl:"📃",page_facing_up:"📄",clipboard:"📋",scroll:"📜",book:"📖",books:"📚",notebook:"📓",ledger:"📒",package:"📦",file_folder:"📁",open_file_folder:"📂",link:"🔗",paperclip:"📎",paperclips:"🖇️",pushpin:"📌",round_pushpin:"📍",triangular_flag_on_post:"🚩",checkered_flag:"🏁",bookmark:"🔖",clock1:"🕐",clock2:"🕑",clock3:"🕒",hourglass:"⌛",hourglass_flowing_sand:"⏳",clock:"🕐",alarm_clock:"⏰",stopwatch:"⏱️",date:"📅",calendar:"📆",bell:"🔔",no_bell:"🔕",musical_note:"🎵",notes:"🎶",arrow_up:"⬆️",arrow_down:"⬇️",arrow_left:"⬅️",arrow_right:"➡️",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrow_lower_right:"↘️",arrow_lower_left:"↙️",arrow_backward:"◀️",arrow_forward:"▶️",arrow_heading_up:"⤴️",arrow_heading_down:"⤵️",leftwards_arrow_with_hook:"↩️",arrow_right_hook:"↪️",repeat:"🔁",repeat_one:"🔂",arrows_counterclockwise:"🔄",arrows_clockwise:"🔃",thumbsup:"👍",thumbsdown:"👎",ok_hand:"👌",v:"✌️",fist:"✊",raised_hand:"✋",wave:"👋",clap:"👏",muscle:"💪",pray:"🙏",point_up:"☝️",point_down:"👇",point_left:"👈",point_right:"👉",raised_hands:"🙌",handshake:"🤝",writing_hand:"✍️",speech_balloon:"💬",thought_balloon:"💭",bangbang:"‼️",interrobang:"⁉️",100:"💯",hash:"#️⃣",asterisk:"*️⃣",smile:"😄",smiley:"😃",grinning:"😀",grin:"😁",joy:"😂",laughing:"😆",sweat_smile:"😅",rofl:"🤣",blush:"😊",relaxed:"☺️",wink:"😉",yum:"😋",sunglasses:"😎",nerd_face:"🤓",thinking:"🤔",neutral_face:"😐",expressionless:"😑",no_mouth:"😶",confused:"😕",worried:"😟",cry:"😢",sob:"😭",angry:"😠",rage:"😡",triumph:"😤",fearful:"😨",scream:"😱",flushed:"😳",sleeping:"😴",zzz:"💤",hugs:"🤗",heart_eyes:"😍",kissing_heart:"😘",kissing:"😗",slightly_smiling_face:"🙂",slightly_frowning_face:"🙁",upside_down_face:"🙃",face_with_head_bandage:"🤕",mask:"😷",robot:"🤖",ghost:"👻",skull:"💀",imp:"👿",alien:"👽",poop:"💩",smiling_imp:"😈",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",sunny:"☀️",partly_sunny:"⛅",cloud:"☁️",rainbow:"🌈",zap_lightning:"⚡",snowflake:"❄️",snowman:"☃️",umbrella:"☔",earth_americas:"🌎",earth_africa:"🌍",earth_asia:"🌏",moon:"🌙",crescent_moon:"🌙",computer:"💻",desktop_computer:"🖥️",keyboard:"⌨️",mouse:"🖱️",hammer_and_pick:"⚒️",gear:"⚙️",tools:"🛠️",shield:"🛡️",telescope:"🔭",microscope:"🔬",satellite:"🛰️",clapper:"🎬",headphones:"🎧",microphone:"🎤",video_camera:"📹",camera:"📷",movie_camera:"🎥",tv:"📺",mobile_phone:"📱",battery:"🔋",electric_plug:"🔌",email:"📧",envelope:"✉️",inbox_tray:"📥",outbox_tray:"📤",mailbox:"📫",package_delivered:"📬",dollar:"💵",money_with_wings:"💸",credit_card:"💳",moneybag:"💰",gem:"💎",balloon:"🎈",gift:"🎁",trophy:"🏆",medal_sports:"🏅",medal_military:"🎖️",crown:"👑",cake:"🍰",birthday:"🎂",coffee:"☕",beer:"🍺",beers:"🍻",cocktail:"🍸",wine_glass:"🍷",pizza:"🍕",hamburger:"🍔",spaghetti:"🍝",sushi:"🍣",taco:"🌮",burrito:"🌯",corn:"🌽",bread:"🍞",egg:"🥚",cheese:"🧀",apple:"🍎",green_apple:"🍏",banana:"🍌",grapes:"🍇",watermelon:"🍉",tangerine:"🍊",lemon:"🍋",strawberry:"🍓",cherries:"🍒",peach:"🍑",pear:"🍐",kiwi_fruit:"🥝",tomato:"🍅",eggplant:"🍆",avocado:"🥑",carrot:"🥕",mushroom:"🍄",dog:"🐶",cat:"🐱",cat2:"🐈",dog2:"🐕",fox:"🦊",wolf:"🐺",horse:"🐴",unicorn:"🦄",zebra:"🦓",tiger:"🐯",lion:"🦁",cow:"🐮",pig:"🐷",mouse_face:"🐭",rabbit:"🐰",bear:"🐻",panda_face:"🐼",koala:"🐨",monkey_face:"🐵",gorilla:"🦍",hatched_chick:"🐥",hatching_chick:"🐣",chicken:"🐔",rooster:"🐓",duck:"🦆",eagle:"🦅",owl:"🦉",parrot:"🦜",bat:"🦇",dove:"🕊️",frog:"🐸",octopus:"🐙",fish:"🐟",tropical_fish:"🐠",blowfish:"🐡",dolphin:"🐬",whale:"🐳",whale2:"🐋",shark:"🦈",crab:"🦀",lobster:"🦞",shrimp:"🦐",squid:"🦑",snail:"🐌",butterfly:"🦋",spider:"🕷️",snake:"🐍",lizard:"🦎",turtle:"🐢",evergreen_tree:"🌲",deciduous_tree:"🌳",palm_tree:"🌴",cactus:"🌵",seedling:"🌱",four_leaf_clover:"🍀",shamrock:"☘️",maple_leaf:"🍁",fallen_leaf:"🍂",leaves:"🍃",rose:"🌹",sunflower:"🌻",tulip:"🌷",cherry_blossom:"🌸",bouquet:"💐",art:"🎨",circus_tent:"🎪",ticket:"🎫",tickets:"🎟️",construction:"🚧",traffic_light:"🚦",vertical_traffic_light:"🚥",no_entry:"⛔",no_entry_sign:"🚫",radioactive:"☢️",biohazard:"☣️",recycle:"♻️",heart_decoration:"💟",peace_symbol:"☮️",yin_yang:"☯️",om:"🕉️",menorah:"🕎",six_pointed_star:"✡️",latin_cross:"✝️",star_of_david:"✡️"},$l=new Dd({gfm:!0,breaks:!0});$l.use({renderer:{link({href:e,title:t,tokens:n}){const r=this.parser?.parseInline(n)??"",o=t?` title="${ks(t)}"`:"",l=/^https?:\/\//i.test(e)?' target="_blank" rel="noreferrer noopener"':"";return`<a href="${ks(e)}"${o}${l}>${r}</a>`},image({href:e,title:t,text:n}){const s=t?` title="${ks(t)}"`:"";return`<img src="${ks(e)}" alt="${ks(n)}"${s} loading="lazy">`}},extensions:[{name:"emoji",level:"inline",start(e){return e.match(/:[a-z0-9_+-]+:/i)?.index},tokenizer(e){const t=/^:([a-z0-9_+-]+):/i.exec(e);if(!t)return;const n=Vw[t[1].toLowerCase()];if(n)return{type:"emoji",raw:t[0],emoji:n}},renderer(e){return`<g-emoji class="emoji">${e.emoji??""}</g-emoji>`}}]});function Tc(e){if(!e)return"";try{return $l.parse(e,{async:!1})}catch{return Nd(e)}}function Id(e){if(!e)return"";try{return $l.parseInline(e,{async:!1})}catch{return Nd(e)}}function Nd(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function ks(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}const Kw={class:"flex-1 min-w-0"},Gw={class:"flex items-baseline gap-2 flex-wrap"},Qw=["innerHTML"],Jw=["href","aria-label"],Xw=["title"],Yw={key:0,class:"flex items-center gap-1 flex-wrap mt-1"},Zw={key:0,class:"text-[10px] color-faint"},e0=["innerHTML"],t0={class:"flex items-center gap-2 flex-wrap text-xs color-muted mt-1.5"},n0={class:"font-mono"},s0={class:"flex items-center gap-1"},r0={key:0,class:"font-mono"},o0={class:"font-mono"},i0=ve({__name:"ItemRow",props:{entry:{},selected:{type:Boolean}},setup(e){const t=e,n=ut(),s=U(()=>t.entry.data.item),r=U(()=>t.entry.data.pull),o=U(()=>n.filters.search),i=U(()=>s.value.labels??[]),l=U(()=>s.value.assignees??[]),a=kd(U(()=>s.value.number)),u=U(()=>a.pendingTitle.value?.op.action==="set-title"?a.pendingTitle.value.op.title:s.value.title),c=U(()=>o.value.trim()?Sd(u.value,o.value):Id(u.value)),f=U(()=>{const h=o.value.trim();return!h||(u.value??"").toLowerCase().includes(h.toLowerCase())?"":ow(s.value.body,h,80)});function p(){n.selectItem(s.value.number)}const d=ae(null);return Oe(()=>t.selected,h=>{h&&d.value?.scrollIntoView({block:"nearest"})},{immediate:!0,flush:"post"}),(h,g)=>{const b=wd,y=xd;return R(),W("button",{ref_key:"rowRef",ref:d,type:"button",class:Re(["group w-full text-left flex items-start gap-3 px-4 py-3 border-b border-base transition",t.selected?"bg-active":"hover:bg-subtle"]),onClick:p},[ee(b,{item:v(s),pull:v(r),pending:v(a).direction.value,class:"mt-0.5 shrink-0"},null,8,["item","pull","pending"]),T("div",Kw,[T("div",Gw,[T("span",{class:Re(["font-medium truncate",{italic:v(a).pendingTitle.value}]),innerHTML:v(c)},null,10,Qw),T("a",{href:v(s).url||`#${v(s).number}`,target:"_blank",rel:"noreferrer",tabindex:"-1",class:"font-mono text-xs color-muted hover:color-active tabular-nums","aria-label":`Open #${v(s).number} on GitHub`,onClick:g[0]||(g[0]=Og(()=>{},["stop"]))},"#"+oe(v(s).number),9,Jw),v(a).hasPending.value?(R(),W("span",{key:0,class:"badge-color-yellow text-[10px] uppercase tracking-wide",title:`${v(a).entries.value.length} pending change(s)`},[...g[1]||(g[1]=[T("span",{class:"i-octicon-hourglass-16 text-[10px] mr-0.5"},null,-1),De(" pending ",-1)])],8,Xw)):pe("",!0)]),v(i).length?(R(),W("div",Yw,[(R(!0),W(ge,null,kt(v(i).slice(0,5),x=>(R(),W("span",{key:x,class:"badge-color-neutral text-[10px]"},oe(x),1))),128)),v(i).length>5?(R(),W("span",Zw,"+"+oe(v(i).length-5),1)):pe("",!0)])):pe("",!0),v(f)?(R(),W("div",{key:1,class:"text-xs color-muted mt-1.5 leading-relaxed",innerHTML:v(f)},null,8,e0)):pe("",!0),T("div",t0,[v(s).author?(R(),W(ge,{key:0},[ee(y,{login:v(s).author,size:16},null,8,["login"]),T("span",n0,"@"+oe(v(s).author),1)],64)):pe("",!0),g[4]||(g[4]=T("span",{class:"color-faint"},"·",-1)),T("span",null,oe(("formatRelative"in h?h.formatRelative:v($s))(v(s).updatedAt)),1),v(l).length?(R(),W(ge,{key:1},[g[2]||(g[2]=T("span",{class:"color-faint"},"·",-1)),T("span",s0,[(R(!0),W(ge,null,kt(v(l).slice(0,3),x=>(R(),he(y,{key:x,login:x,size:16},null,8,["login"]))),128)),v(l).length>3?(R(),W("span",r0,"+"+oe(v(l).length-3),1)):pe("",!0)])],64)):pe("",!0),v(s).reactions&&v(s).reactions.totalCount>0?(R(),W(ge,{key:2},[g[3]||(g[3]=T("span",{class:"color-faint"},"·",-1)),T("span",o0,oe(v(s).reactions.totalCount),1)],64)):pe("",!0)])])],2)}}}),l0=Object.assign(i0,{__name:"ItemRow"}),a0={key:0,class:"flex flex-col items-center justify-center py-24 color-muted"},c0={key:1},u0=ve({__name:"ItemList",props:{entries:{}},setup(e){const t=ut();return(n,s)=>{const r=l0;return e.entries.length===0?(R(),W("div",a0,[...s[0]||(s[0]=[T("span",{class:"i-octicon-inbox-16 text-4xl mb-3 op-fade"},null,-1),T("p",{class:"text-sm"},"No items match the current filter.",-1),T("p",{class:"text-xs mt-1 color-faint"},[De(" Change filters, or click "),T("span",{class:"i-octicon-download-16 inline-block align-middle mx-0.5"}),De(" to sync from GitHub. ")],-1)])])):(R(),W("div",c0,[(R(!0),W(ge,null,kt(e.entries,o=>(R(),he(r,{key:`${o.kind}-${o.number}`,entry:o,selected:v(t).selectedNumber.value===o.number},null,8,["entry","selected"]))),128))]))}}}),f0=Object.assign(u0,{__name:"ItemList"}),d0={key:0,class:"h-full flex flex-col items-center justify-center color-muted"},p0={key:1,class:"h-full flex flex-col min-h-0 bg-base"},h0={class:"flex items-start gap-3 px-6 py-4 border-b border-base"},g0={class:"flex-1 min-w-0"},m0={class:"flex items-baseline gap-2 flex-wrap"},y0=["innerHTML"],v0=["href","aria-label"],b0={key:1,class:"font-mono text-base color-muted tabular-nums"},_0={class:"flex items-center gap-2 flex-wrap text-xs color-muted mt-2"},w0={class:"badge-color-neutral uppercase tracking-wide text-[10px]"},x0={key:0,class:"badge-color-yellow uppercase tracking-wide text-[10px] flex items-center gap-1"},k0={key:2,class:"font-mono"},S0={key:3,class:"color-faint"},T0={key:4},$0={class:"flex items-center gap-1 shrink-0"},E0=["href"],C0={key:0,class:"px-6 py-2 border-b border-base flex items-center gap-2 flex-wrap text-xs"},A0={class:"font-mono"},P0={class:"font-mono italic"},O0={key:1,class:"px-6 py-3 border-b border-yellow-500/30 bg-yellow-500/10 flex items-center gap-3 text-sm"},R0={class:"flex-1 min-w-0"},M0={class:"font-medium"},L0={class:"color-muted"},D0=["disabled","title"],I0={class:"px-6 py-5"},N0={class:"rounded-lg border border-base bg-base overflow-hidden"},z0={class:"flex items-center gap-2 px-4 py-2 border-b border-base bg-subtle"},H0={class:"text-sm"},F0={class:"font-medium"},B0={class:"color-muted"},j0={class:"px-4 py-4"},q0=["innerHTML"],U0={key:1,class:"text-sm color-muted italic"},W0={key:0,class:"px-6 pb-6"},V0={class:"text-xs color-muted uppercase tracking-wide font-medium mb-3 flex items-center gap-1.5"},K0={key:0,class:"color-faint"},G0={class:"space-y-4"},Q0={class:"flex items-center gap-2 px-4 py-2 border-b border-base bg-subtle"},J0={class:"text-sm"},X0={class:"font-medium"},Y0={class:"color-muted"},Z0={class:"px-4 py-3"},ex=["innerHTML"],tx={key:1,class:"text-sm color-muted italic"},nx={class:"flex items-center gap-2 px-4 py-2 border-b border-dashed border-yellow-500/40"},sx={class:"text-sm"},rx={key:0,class:"color-muted"},ox=["onClick"],ix=["onClick"],lx={class:"px-4 py-3"},ax={class:"text-sm whitespace-pre-wrap font-sans"},cx={class:"border-t border-base px-6 py-3 bg-base flex flex-col gap-3"},ux=["placeholder"],fx={class:"flex items-center gap-2 px-2 py-1.5 border-t border-base"},dx={key:0,class:"flex items-center gap-1.5 text-xs color-muted cursor-pointer select-none"},px={key:1,class:"text-xs color-muted"},hx=["disabled"],gx={key:0},mx={key:1},yx={key:2},vx=ve({__name:"DetailPanel",setup(e){const t=ut(),n=ps(),s=eo(),r=U(()=>{const N=t.selectedNumber.value;return N==null?null:t.payload.value?.syncState.items[String(N)]??null}),o=U(()=>r.value?.data.item??null),i=U(()=>r.value?.data.comments??[]),l=U(()=>r.value?.data.pull),a=U(()=>o.value?.labels??[]),u=U(()=>o.value?.assignees??[]),c=kd(U(()=>o.value?.number??null)),f=U(()=>o.value?c.direction.value==="close"?"closed":c.direction.value==="reopen"?"open":o.value.state:"open"),p=U(()=>{if(!o.value)return"open";const N=f.value;return o.value.kind==="pull"?N==="open"?l.value?.isDraft?"draft":"open":l.value?.merged?"merged":"closed":N==="closed"?o.value.stateReason==="not_planned"?"not planned":"closed":"open"}),d=U(()=>o.value?.kind==="pull"?"pull request":"issue"),h=U(()=>t.payload.value?.repo.hasToken??!1),g=U(()=>{const N=c.pendingTitle.value?.op;return N&&N.action==="set-title"?N.title:o.value?.title??""}),b=U(()=>!!c.pendingTitle.value),y=U(()=>Id(g.value)),x=U(()=>Tc(o.value?.body)),_=ae(!1),w=ae(!1),S=ae(null),$=ae(""),M=U({get(){return S.value?$.value:s.getDraft(o.value?.number)},set(N){if(S.value){$.value=N;return}o.value?.number!=null&&s.setDraft(o.value.number,N)}}),D=ae(null);Oe(()=>t.selectedNumber.value,()=>{_.value=!1,S.value=null,$.value="",qe(()=>{D.value&&(D.value.scrollTop=0)})});async function O(){if(o.value){t.setError(null);try{await n.addQueueOp({action:"close",number:o.value.number})}catch(N){t.setError(N.message)}}}async function P(){if(o.value){t.setError(null);try{await n.addQueueOp({action:"reopen",number:o.value.number})}catch(N){t.setError(N.message)}}}async function I(){if(!o.value)return;const N=(S.value?$.value:s.getDraft(o.value.number)).trim();if(N){w.value=!0,t.setError(null);try{if(S.value){const E=c.pendingComments.value.find(fe=>fe.id===S.value);if(E){const fe=E.op;await n.updateQueueOp(E.id,{...fe,body:N})}S.value=null,$.value=""}else _.value&&f.value==="open"?(await n.addQueueOp({action:"close-with-comment",number:o.value.number,body:N}),s.clearDraft(o.value.number),_.value=!1):(await n.addQueueOp({action:"add-comment",number:o.value.number,body:N}),s.clearDraft(o.value.number))}catch(E){t.setError(E.message)}finally{w.value=!1}}}function A(N){const E=N.op;$.value=E.body??"",S.value=N.id,_.value=!1,qe(()=>{document.querySelector('[data-shortcut="comment-draft"]')?.focus()})}function G(){S.value=null,$.value=""}async function H(N){t.setError(null);try{await n.removeQueueOp(N.id),S.value===N.id&&G()}catch(E){t.setError(E.message)}}async function ne(){if(!o.value||t.executing.value)return;const N=c.entries.value.map(E=>E.id);if(N.length){t.setError(null),t.setExecuting(!0);try{await n.executeQueue({entryIds:N,continueOnError:!0})}catch(E){t.setError(`Execute failed: ${E.message}`),t.setExecuting(!1)}}}async function q(){t.setError(null);const N=c.entries.value,E=[];for(const fe of N){if(fe.source==="per-item"){E.push(fe.filePath??"(per-item)");continue}try{await n.removeQueueOp(fe.id)}catch(He){t.setError(He.message);return}}E.length&&t.setError(`Left ${E.length} frontmatter edit(s) in place; edit the markdown to undo them.`)}return(N,E)=>{const fe=wd,He=xd,nt=Eo,Ue=gl;return v(o)?(R(),W("article",p0,[T("header",h0,[ee(fe,{item:v(o),pull:v(l),pending:v(c).direction.value,size:"lg",class:"mt-0.5 shrink-0"},null,8,["item","pull","pending"]),T("div",g0,[T("div",m0,[T("h2",{class:Re(["font-medium text-xl leading-tight",{italic:v(b)}]),innerHTML:v(y)},null,10,y0),v(o).url?(R(),W("a",{key:0,href:v(o).url,target:"_blank",rel:"noreferrer",tabindex:"-1",class:"font-mono text-base color-muted hover:color-active tabular-nums","aria-label":`Open #${v(o).number} on GitHub`},"#"+oe(v(o).number),9,v0)):(R(),W("span",b0,"#"+oe(v(o).number),1))]),T("div",_0,[T("span",w0,oe(v(p)),1),v(c).direction.value?(R(),W("span",x0,[...E[3]||(E[3]=[T("span",{class:"i-octicon-hourglass-16 text-[10px]"},null,-1),De(" pending ",-1)])])):pe("",!0),v(o).author?(R(),he(He,{key:1,login:v(o).author,size:16},null,8,["login"])):pe("",!0),v(o).author?(R(),W("span",k0,"@"+oe(v(o).author),1)):pe("",!0),E[4]||(E[4]=T("span",{class:"color-faint"},"·",-1)),T("span",null,"opened "+oe(("formatRelative"in N?N.formatRelative:v($s))(v(o).createdAt)),1),v(o).updatedAt!==v(o).createdAt?(R(),W("span",S0,"·")):pe("",!0),v(o).updatedAt!==v(o).createdAt?(R(),W("span",T0,"updated "+oe(("formatRelative"in N?N.formatRelative:v($s))(v(o).updatedAt)),1)):pe("",!0)])]),T("div",$0,[v(o).url?(R(),he(nt,{key:0,tooltip:"Open on GitHub"},{default:le(()=>[T("a",{href:v(o).url,target:"_blank",rel:"noreferrer",class:"btn-icon","aria-label":"Open on GitHub"},[...E[5]||(E[5]=[T("span",{class:"i-octicon-link-external-16"},null,-1)])],8,E0)]),_:1})):pe("",!0),ee(Ue,{"shortcut-id":"list.open"})])]),v(a).length||v(u).length||v(o).milestone?(R(),W("div",C0,[v(a).length?(R(),W(ge,{key:0},[E[6]||(E[6]=T("span",{class:"i-octicon-tag-16 color-muted"},null,-1)),(R(!0),W(ge,null,kt(v(a),ke=>(R(),W("span",{key:ke,class:"badge-color-neutral"},oe(ke),1))),128))],64)):pe("",!0),v(u).length?(R(),W(ge,{key:1},[E[7]||(E[7]=T("span",{class:"i-octicon-person-16 color-muted ml-2"},null,-1)),(R(!0),W(ge,null,kt(v(u),ke=>(R(),W("span",{key:ke,class:"flex items-center gap-1"},[ee(He,{login:ke,size:14},null,8,["login"]),T("span",A0,"@"+oe(ke),1)]))),128))],64)):pe("",!0),v(o).milestone?(R(),W(ge,{key:2},[E[8]||(E[8]=T("span",{class:"i-octicon-milestone-16 color-muted ml-2"},null,-1)),T("span",P0,oe(v(o).milestone),1)],64)):pe("",!0)])):pe("",!0),v(c).hasPending.value?(R(),W("div",O0,[E[11]||(E[11]=T("span",{class:"i-octicon-hourglass-16 color-yellow-600 dark:color-yellow-400 shrink-0"},null,-1)),T("div",R0,[T("span",M0,oe(v(c).entries.value.length)+" pending change"+oe(v(c).entries.value.length===1?"":"s"),1),T("span",L0," queued for this "+oe(v(d)),1)]),T("button",{type:"button",class:"btn-action text-sm",disabled:v(t).executing.value||!v(h),title:v(h)?"Execute the pending changes for this item only":"No GitHub token available",onClick:ne},[T("span",{class:Re(v(t).executing.value?"i-octicon-sync-16 animate-spin":"i-octicon-play-16")},null,2),E[9]||(E[9]=De(" Execute ",-1))],8,D0),T("button",{type:"button",class:"btn-action text-sm",onClick:q},[...E[10]||(E[10]=[T("span",{class:"i-octicon-trash-16"},null,-1),De(" Discard ",-1)])])])):pe("",!0),T("div",{ref_key:"scrollContainer",ref:D,class:"flex-1 overflow-y-auto"},[T("section",I0,[T("div",N0,[T("div",z0,[ee(He,{login:v(o).author,size:20},null,8,["login"]),T("span",H0,[T("span",F0,"@"+oe(v(o).author||"ghost"),1),T("span",B0," commented "+oe(("formatRelative"in N?N.formatRelative:v($s))(v(o).createdAt)),1)])]),T("div",j0,[v(o).body?(R(),W("div",{key:0,class:"markdown-body text-sm",innerHTML:v(x)},null,8,q0)):(R(),W("p",U0,"No description provided."))])])]),v(i).length||v(c).pendingComments.value.length?(R(),W("section",W0,[T("div",V0,[E[12]||(E[12]=T("span",{class:"i-octicon-comment-discussion-16"},null,-1)),De(" "+oe(v(i).length)+" comment"+oe(v(i).length===1?"":"s")+" ",1),v(c).pendingComments.value.length?(R(),W("span",K0," · "+oe(v(c).pendingComments.value.length)+" pending ",1)):pe("",!0)]),T("div",G0,[(R(!0),W(ge,null,kt(v(i),ke=>(R(),W("div",{key:`real-${ke.id}`,class:"border border-base rounded-lg bg-base overflow-hidden"},[T("div",Q0,[ee(He,{login:ke.author,size:20},null,8,["login"]),T("span",J0,[T("span",X0,"@"+oe(ke.author||"ghost"),1),T("span",Y0," commented "+oe(("formatRelative"in N?N.formatRelative:v($s))(ke.createdAt)),1)])]),T("div",Z0,[ke.body?(R(),W("div",{key:0,class:"markdown-body text-sm",innerHTML:("renderMarkdown"in N?N.renderMarkdown:v(Tc))(ke.body)},null,8,ex)):(R(),W("p",tx,"Empty comment."))])]))),128)),(R(!0),W(ge,null,kt(v(c).pendingComments.value,ke=>(R(),W("div",{key:`pending-${ke.id}`,class:Re(["rounded-lg border-2 border-dashed border-yellow-500/60 bg-yellow-500/5",{"ring-2 ring-yellow-500/60":v(S)===ke.id}])},[T("div",nx,[E[16]||(E[16]=T("span",{class:"i-octicon-hourglass-16 color-yellow-600 dark:color-yellow-400"},null,-1)),T("span",sx,[E[13]||(E[13]=T("span",{class:"font-medium"},"Pending comment",-1)),ke.op.action==="close-with-comment"?(R(),W("span",rx," · will also close")):pe("",!0)]),E[17]||(E[17]=T("div",{class:"flex-1"},null,-1)),ee(nt,{tooltip:"Edit"},{default:le(()=>[T("button",{type:"button",class:"btn-icon !w-7 !h-7","aria-label":"Edit pending comment",onClick:wn=>A(ke)},[...E[14]||(E[14]=[T("span",{class:"i-octicon-pencil-16 text-sm"},null,-1)])],8,ox)]),_:2},1024),ee(nt,{tooltip:"Remove"},{default:le(()=>[T("button",{type:"button",class:"btn-icon !w-7 !h-7","aria-label":"Remove pending comment",onClick:wn=>H(ke)},[...E[15]||(E[15]=[T("span",{class:"i-octicon-trash-16 text-sm"},null,-1)])],8,ix)]),_:2},1024)]),T("div",lx,[T("p",ax,oe(ke.op.body||"(empty)"),1)])],2))),128))])])):pe("",!0)],512),T("footer",cx,[T("div",{class:Re(["border border-base rounded-lg bg-base",{"ring-2 ring-yellow-500/60 border-yellow-500/60":v(S)}])},[Hr(T("textarea",{"onUpdate:modelValue":E[0]||(E[0]=ke=>Ae(M)?M.value=ke:null),"data-shortcut":"comment-draft",placeholder:v(S)?"Editing pending comment…":`Leave a comment on this ${v(d)}`,rows:"3",class:"w-full bg-transparent outline-none px-3 py-2 text-sm resize-none font-sans"},null,8,ux),[[of,v(M)]]),T("div",fx,[!v(S)&&v(f)==="open"?(R(),W("label",dx,[Hr(T("input",{"onUpdate:modelValue":E[1]||(E[1]=ke=>Ae(_)?_.value=ke:null),type:"checkbox",class:"accent-primary-500"},null,512),[[Eg,v(_)]]),E[18]||(E[18]=De(" Close with comment ",-1))])):v(S)?(R(),W("span",px,"Editing a queued comment")):pe("",!0),E[22]||(E[22]=T("div",{class:"flex-1"},null,-1)),v(S)?(R(),W("button",{key:2,type:"button",class:"btn-action text-sm",onClick:G}," Cancel ")):pe("",!0),v(f)==="open"?(R(),W("button",{key:3,type:"button",class:"btn-action text-sm",onClick:O},[E[19]||(E[19]=T("span",{class:"i-octicon-x-circle-16 color-red-500 dark:color-red-400"},null,-1)),De(" "+oe(v(c).direction.value==="reopen"?"Cancel reopen":`Close ${v(d)}`)+" ",1),ee(Ue,{"shortcut-id":"item.close"})])):(R(),W("button",{key:4,type:"button",class:"btn-action text-sm",onClick:P},[E[20]||(E[20]=T("span",{class:"i-octicon-issue-opened-16 color-green-500 dark:color-green-400"},null,-1)),De(" "+oe(v(c).direction.value==="close"?"Cancel close":`Reopen ${v(d)}`)+" ",1),ee(Ue,{"shortcut-id":"item.reopen"})])),T("button",{class:"btn-primary text-sm",disabled:!v(M).trim()||v(w),onClick:I},[E[21]||(E[21]=T("span",{class:"i-octicon-comment-16"},null,-1)),v(S)?(R(),W("span",gx,"Update comment")):v(_)&&v(f)==="open"?(R(),W("span",mx,"Close with comment")):(R(),W("span",yx,"Comment"))],8,hx)])],2)])])):(R(),W("div",d0,[...E[2]||(E[2]=[Wh('<span class="i-octicon-inbox-16 text-5xl mb-4 op-fade"></span><p class="text-sm">Select an item on the left to view it here.</p><p class="text-xs mt-2 color-faint">Use <span class="kbd">j</span> <span class="kbd">k</span> or <span class="kbd">↑</span> <span class="kbd">↓</span> to navigate.</p>',3)])]))}}}),bx=Object.assign(vx,{__name:"DetailPanel"});function zd(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,s=Symbol(n);return[i=>{const l=Ze(s,i);if(l||l===null)return l;throw new Error(`Injection \`${s.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},i=>(Lt(s,i),i)]}function mn(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function Hd(e,t,n){const s=n.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),s.dispatchEvent(r)}function _x(e){return e==null}function El(e){return e?e.flatMap(t=>t.type===ge?El(t.children):[t]):[]}const[wx]=zd("ConfigProvider"),xx=Lb(()=>{const e=ae(new Map),t=ae(),n=U(()=>{for(const i of e.value.values())if(i)return!0;return!1}),s=wx({scrollBody:ae(!0)});let r=null;const o=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",rc&&r?.(),t.value=void 0};return Oe(n,(i,l)=>{if(!_n)return;if(!i){l&&o();return}t.value===void 0&&(t.value=document.body.style.overflow);const a=window.innerWidth-document.documentElement.clientWidth,u={padding:a,margin:0},c=s.scrollBody?.value?typeof s.scrollBody.value=="object"?Af({padding:s.scrollBody.value.padding===!0?a:s.scrollBody.value.padding,margin:s.scrollBody.value.margin===!0?a:s.scrollBody.value.margin},u):u:{padding:0,margin:0};a>0&&(document.body.style.paddingRight=typeof c.padding=="number"?`${c.padding}px`:String(c.padding),document.body.style.marginRight=typeof c.margin=="number"?`${c.margin}px`:String(c.margin),document.documentElement.style.setProperty("--scrollbar-width",`${a}px`),document.body.style.overflow="hidden"),rc&&(r=cs(document,"touchmove",f=>Sx(f),{passive:!1})),qe(()=>{n.value&&(document.body.style.pointerEvents="none",document.body.style.overflow="hidden")})},{immediate:!0,flush:"sync"}),e});function kx(e){const t=Math.random().toString(36).substring(2,7),n=xx();n.value.set(t,e);const s=U({get:()=>n.value.get(t)??!1,set:r=>n.value.set(t,r)});return zb(()=>{n.value.delete(t)}),s}function Fd(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:Fd(n)}}function Sx(e){const t=e||window.event,n=t.target;return n instanceof Element&&Fd(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function Cl(e){const t=et(),n=t?.type.emits,s={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(r=>{s[Cr(Qe(r))]=(...o)=>e(r,...o)}),s}function At(){const e=et(),t=ae(),n=U(()=>s());Tu(()=>{n.value!==s()&&$p(t)});function s(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:ir(t)}const r=Object.assign({},e.exposed),o={};for(const l in e.props)Object.defineProperty(o,l,{enumerable:!0,configurable:!0,get:()=>e.props[l]});if(Object.keys(r).length>0)for(const l in r)Object.defineProperty(o,l,{enumerable:!0,configurable:!0,get:()=>r[l]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=o;function i(l){if(t.value=l,!!l&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>l instanceof Element?l:l.$el}),!(l instanceof Element)&&!Object.hasOwn(l,"$el"))){const a=l.$.exposed,u=Object.assign({},o);for(const c in a)Object.defineProperty(u,c,{enumerable:!0,configurable:!0,get:()=>a[c]});e.exposed=u}}return{forwardRef:i,currentRef:t,currentElement:n}}var Tx=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Kn=new WeakMap,Tr=new WeakMap,$r={},Zo=0,Bd=function(e){return e&&(e.host||Bd(e.parentNode))},$x=function(e,t){return t.map(function(n){if(e.contains(n))return n;var s=Bd(n);return s&&e.contains(s)?s:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Ex=function(e,t,n,s){var r=$x(t,Array.isArray(e)?e:[e]);$r[n]||($r[n]=new WeakMap);var o=$r[n],i=[],l=new Set,a=new Set(r),u=function(f){!f||l.has(f)||(l.add(f),u(f.parentNode))};r.forEach(u);var c=function(f){!f||a.has(f)||Array.prototype.forEach.call(f.children,function(p){if(l.has(p))c(p);else try{var d=p.getAttribute(s),h=d!==null&&d!=="false",g=(Kn.get(p)||0)+1,b=(o.get(p)||0)+1;Kn.set(p,g),o.set(p,b),i.push(p),g===1&&h&&Tr.set(p,!0),b===1&&p.setAttribute(n,"true"),h||p.setAttribute(s,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return c(t),l.clear(),Zo++,function(){i.forEach(function(f){var p=Kn.get(f)-1,d=o.get(f)-1;Kn.set(f,p),o.set(f,d),p||(Tr.has(f)||f.removeAttribute(s),Tr.delete(f)),d||f.removeAttribute(n)}),Zo--,Zo||(Kn=new WeakMap,Kn=new WeakMap,Tr=new WeakMap,$r={})}},Cx=function(e,t,n){n===void 0&&(n="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),r=Tx(e);return r?(s.push.apply(s,Array.from(r.querySelectorAll("[aria-live], script"))),Ex(s,r,n,"aria-hidden")):function(){return null}};function Ax(e){let t;Oe(()=>ir(e),n=>{let s=!1;try{s=!!n?.closest("[popover]:not(:popover-open)")}catch{}n&&!s?t=Cx(n):t&&t()}),yo(()=>{t&&t()})}function $c(e,t="reka"){let n;return n=Xp?.(),t?`${t}-${n}`:n}function Px(e,t){const n=ae(e);function s(o){return t[n.value][o]??n.value}return{state:n,dispatch:o=>{n.value=s(o)}}}function Ox(e,t){const n=ae({}),s=ae("none"),r=ae(e),o=e.value?"mounted":"unmounted";let i;const l=t.value?.ownerDocument.defaultView??Yt,{state:a,dispatch:u}=Px(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=b=>{if(_n){const y=new CustomEvent(b,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(y)}};Oe(e,async(b,y)=>{const x=y!==b;if(await qe(),x){const _=s.value,w=Er(t.value);b?(u("MOUNT"),c("enter"),w==="none"&&c("after-enter")):w==="none"||w==="undefined"||n.value?.display==="none"?(u("UNMOUNT"),c("leave"),c("after-leave")):y&&_!==w?(u("ANIMATION_OUT"),c("leave")):(u("UNMOUNT"),c("after-leave"))}},{immediate:!0});const f=b=>{const y=Er(t.value),x=y.includes(CSS.escape(b.animationName)),_=a.value==="mounted"?"enter":"leave";if(b.target===t.value&&x&&(c(`after-${_}`),u("ANIMATION_END"),!r.value)){const w=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",i=l?.setTimeout(()=>{t.value?.style.animationFillMode==="forwards"&&(t.value.style.animationFillMode=w)})}b.target===t.value&&y==="none"&&u("ANIMATION_END")},p=b=>{b.target===t.value&&(s.value=Er(t.value))},d=Oe(t,(b,y)=>{b?(n.value=getComputedStyle(b),b.addEventListener("animationstart",p),b.addEventListener("animationcancel",f),b.addEventListener("animationend",f)):(u("ANIMATION_END"),i!==void 0&&l?.clearTimeout(i),y?.removeEventListener("animationstart",p),y?.removeEventListener("animationcancel",f),y?.removeEventListener("animationend",f))},{immediate:!0}),h=Oe(a,()=>{const b=Er(t.value);s.value=a.value==="mounted"?b:"none"});return yo(()=>{d(),h()}),{isPresent:U(()=>["mounted","unmountSuspended"].includes(a.value))}}function Er(e){return e&&getComputedStyle(e).animationName||"none"}var jd=ve({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){const{present:s,forceMount:r}=au(e),o=ae(),{isPresent:i}=Ox(s,o);n({present:i});let l=t.default({present:i.value});l=El(l||[]);const a=et();if(l&&l?.length>1){const u=a?.parent?.type.name?`<${a.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(c=>` - ${c}`).join(`
68
- `)].join(`
69
- `))}return()=>r.value||s.value||i.value?pn(t.default({present:i.value})[0],{ref:u=>{const c=ir(u);return typeof c?.hasAttribute>"u"||(c?.hasAttribute("data-reka-popper-content-wrapper")?o.value=c.firstElementChild:o.value=c),c}}):null}});const Rx=ve({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;const s=El(n.default()),r=s.findIndex(a=>a.type!==Ie);if(r===-1)return s;const o=s[r];delete o.props?.ref;const i=o.props?ct(t,o.props):t,l=tn({...o,props:{}},i);return s.length===1?l:(s[r]=l,s)}}}),Mx=["area","img","input"],gs=ve({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const s=e.asChild?"template":e.as;return typeof s=="string"&&Mx.includes(s)?()=>pn(s,t):s!=="template"?()=>pn(e.as,t,{default:n.default}):()=>pn(Rx,t,{default:n.default})}}),[rn,Lx]=zd("DialogRoot");var Dx=ve({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t_(n,"open",t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),o=ae(),i=ae(),{modal:l}=au(n);return Lx({open:r,modal:l,openModal:()=>{r.value=!0},onOpenChange:a=>{r.value=a},onOpenToggle:()=>{r.value=!r.value},contentId:"",titleId:"",descriptionId:"",triggerElement:o,contentElement:i}),(a,u)=>Me(a.$slots,"default",{open:v(r),close:()=>r.value=!1})}}),Ix=Dx,Nx=ve({__name:"DialogClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;At();const n=rn();return(s,r)=>(R(),he(v(gs),ct(t,{type:s.as==="button"?"button":void 0,onClick:r[0]||(r[0]=o=>v(n).onOpenChange(!1))}),{default:le(()=>[Me(s.$slots,"default")]),_:3},16,["type"]))}}),zx=Nx;const Hx="dismissableLayer.pointerDownOutside",Fx="dismissableLayer.focusOutside";function qd(e,t){if(!(t instanceof Element))return!1;const n=t.closest("[data-dismissable-layer]"),s=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),r=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(s===n||r.indexOf(s)<r.indexOf(n)))}function Bx(e,t,n=!0){const s=t?.value?.ownerDocument??globalThis?.document,r=ae(!1),o=ae(()=>{});return yn(i=>{if(!_n||!je(n))return;const l=async u=>{const c=u.target;if(!(!t?.value||!c)){if(qd(t.value,c)){r.value=!1;return}if(u.target&&!r.value){let p=function(){Hd(Hx,e,f)};const f={originalEvent:u};u.pointerType==="touch"?(s.removeEventListener("click",o.value),o.value=p,s.addEventListener("click",o.value,{once:!0})):p()}else s.removeEventListener("click",o.value);r.value=!1}},a=window.setTimeout(()=>{s.addEventListener("pointerdown",l)},0);i(()=>{window.clearTimeout(a),s.removeEventListener("pointerdown",l),s.removeEventListener("click",o.value)})}),{onPointerDownCapture:()=>{je(n)&&(r.value=!0)}}}function jx(e,t,n=!0){const s=t?.value?.ownerDocument??globalThis?.document,r=ae(!1);return yn(o=>{if(!_n||!je(n))return;const i=async l=>{if(!t?.value)return;await qe(),await qe();const a=l.target;!t.value||!a||qd(t.value,a)||l.target&&!r.value&&Hd(Fx,e,{originalEvent:l})};s.addEventListener("focusin",i),o(()=>s.removeEventListener("focusin",i))}),{onFocusCapture:()=>{je(n)&&(r.value=!0)},onBlurCapture:()=>{je(n)&&(r.value=!1)}}}const dt=yt({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var qx=ve({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,s=t,{forwardRef:r,currentElement:o}=At(),i=U(()=>o.value?.ownerDocument??globalThis.document),l=U(()=>dt.layersRoot),a=U(()=>o.value?Array.from(l.value).indexOf(o.value):-1),u=U(()=>dt.layersWithOutsidePointerEventsDisabled.size>0),c=U(()=>{const d=Array.from(l.value),[h]=[...dt.layersWithOutsidePointerEventsDisabled].slice(-1),g=d.indexOf(h);return a.value>=g}),f=Bx(async d=>{const h=[...dt.branches].some(g=>g?.contains(d.target));!c.value||h||(s("pointerDownOutside",d),s("interactOutside",d),await qe(),d.defaultPrevented||s("dismiss"))},o),p=jx(d=>{[...dt.branches].some(g=>g?.contains(d.target))||(s("focusOutside",d),s("interactOutside",d),d.defaultPrevented||s("dismiss"))},o);return jb("Escape",d=>{a.value===l.value.size-1&&(s("escapeKeyDown",d),d.defaultPrevented||s("dismiss"))}),yn(d=>{o.value&&(n.disableOutsidePointerEvents&&(dt.layersWithOutsidePointerEventsDisabled.size===0&&(dt.originalBodyPointerEvents=i.value.body.style.pointerEvents,i.value.body.style.pointerEvents="none"),dt.layersWithOutsidePointerEventsDisabled.add(o.value)),l.value.add(o.value),d(()=>{n.disableOutsidePointerEvents&&dt.layersWithOutsidePointerEventsDisabled.size===1&&!_x(dt.originalBodyPointerEvents)&&(i.value.body.style.pointerEvents=dt.originalBodyPointerEvents)}))}),yn(d=>{d(()=>{o.value&&(l.value.delete(o.value),dt.layersWithOutsidePointerEventsDisabled.delete(o.value))})}),(d,h)=>(R(),he(v(gs),{ref:v(r),"as-child":d.asChild,as:d.as,"data-dismissable-layer":"",style:mt({pointerEvents:u.value?c.value?"auto":"none":void 0}),onFocusCapture:v(p).onFocusCapture,onBlurCapture:v(p).onBlurCapture,onPointerdownCapture:v(f).onPointerDownCapture},{default:le(()=>[Me(d.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),Ux=qx;const Wx=$b(()=>ae([]));function Vx(){const e=Wx();return{add(t){const n=e.value[0];t!==n&&n?.pause(),e.value=Ec(e.value,t),e.value.unshift(t)},remove(t){e.value=Ec(e.value,t),e.value[0]?.resume()}}}function Ec(e,t){const n=[...e],s=n.indexOf(t);return s!==-1&&n.splice(s,1),n}const ei="focusScope.autoFocusOnMount",ti="focusScope.autoFocusOnUnmount",Cc={bubbles:!1,cancelable:!0};function Kx(e,{select:t=!1}={}){const n=mn();for(const s of e)if(un(s,{select:t}),mn()!==n)return!0}function Gx(e){const t=Ud(e),n=Ac(t,e),s=Ac(t.reverse(),e);return[n,s]}function Ud(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const r=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||r?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ac(e,t){for(const n of e)if(!Qx(n,{upTo:t}))return n}function Qx(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Jx(e){return e instanceof HTMLInputElement&&"select"in e}function un(e,{select:t=!1}={}){if(e&&e.focus){const n=mn();e.focus({preventScroll:!0}),e!==n&&Jx(e)&&t&&e.select()}}var Xx=ve({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,s=t,{currentRef:r,currentElement:o}=At(),i=ae(null),l=Vx(),a=yt({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});yn(c=>{if(!_n)return;const f=o.value;if(!n.trapped)return;function p(b){if(a.paused||!f)return;const y=b.target;f.contains(y)?i.value=y:un(i.value,{select:!0})}function d(b){if(a.paused||!f)return;const y=b.relatedTarget;y!==null&&(f.contains(y)||un(i.value,{select:!0}))}function h(b){const y=i.value;if(y===null||!b.some(w=>w.removedNodes.length>0))return;f.contains(y)||un(f)}document.addEventListener("focusin",p),document.addEventListener("focusout",d);const g=new MutationObserver(h);f&&g.observe(f,{childList:!0,subtree:!0}),c(()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",d),g.disconnect()})}),yn(async c=>{const f=o.value;if(await qe(),!f)return;l.add(a);const p=mn();if(!f.contains(p)){const h=new CustomEvent(ei,Cc);f.addEventListener(ei,g=>s("mountAutoFocus",g)),f.dispatchEvent(h),h.defaultPrevented||(Kx(Ud(f),{select:!0}),mn()===p&&un(f))}c(()=>{f.removeEventListener(ei,b=>s("mountAutoFocus",b));const h=new CustomEvent(ti,Cc),g=b=>{s("unmountAutoFocus",b)};f.addEventListener(ti,g),f.dispatchEvent(h),setTimeout(()=>{h.defaultPrevented||un(p??document.body,{select:!0}),f.removeEventListener(ti,g),l.remove(a)},0)})});function u(c){if(!n.loop&&!n.trapped||a.paused)return;const f=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,p=mn();if(f&&p){const d=c.currentTarget,[h,g]=Gx(d);h&&g?!c.shiftKey&&p===g?(c.preventDefault(),n.loop&&un(h,{select:!0})):c.shiftKey&&p===h&&(c.preventDefault(),n.loop&&un(g,{select:!0})):p===d&&c.preventDefault()}}return(c,f)=>(R(),he(v(gs),{ref_key:"currentRef",ref:r,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:u},{default:le(()=>[Me(c.$slots,"default")]),_:3},8,["as-child","as"]))}}),Yx=Xx;function Zx(e){return e?"open":"closed"}var ek=ve({__name:"DialogContentImpl",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,s=t,r=rn(),{forwardRef:o,currentElement:i}=At();return r.titleId||=$c(void 0,"reka-dialog-title"),r.descriptionId||=$c(void 0,"reka-dialog-description"),Bn(()=>{r.contentElement=i,mn()!==document.body&&(r.triggerElement.value=mn())}),(l,a)=>(R(),he(v(Yx),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:a[5]||(a[5]=u=>s("openAutoFocus",u)),onUnmountAutoFocus:a[6]||(a[6]=u=>s("closeAutoFocus",u))},{default:le(()=>[ee(v(Ux),ct({id:v(r).contentId,ref:v(o),as:l.as,"as-child":l.asChild,"disable-outside-pointer-events":l.disableOutsidePointerEvents,role:"dialog","aria-describedby":v(r).descriptionId,"aria-labelledby":v(r).titleId,"data-state":v(Zx)(v(r).open.value)},l.$attrs,{onDismiss:a[0]||(a[0]=u=>v(r).onOpenChange(!1)),onEscapeKeyDown:a[1]||(a[1]=u=>s("escapeKeyDown",u)),onFocusOutside:a[2]||(a[2]=u=>s("focusOutside",u)),onInteractOutside:a[3]||(a[3]=u=>s("interactOutside",u)),onPointerDownOutside:a[4]||(a[4]=u=>s("pointerDownOutside",u))}),{default:le(()=>[Me(l.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),Wd=ek,tk=ve({__name:"DialogContentModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,s=t,r=rn(),o=Cl(s),{forwardRef:i,currentElement:l}=At();return Ax(l),(a,u)=>(R(),he(Wd,ct({...n,...v(o)},{ref:v(i),"trap-focus":v(r).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:u[0]||(u[0]=c=>{c.defaultPrevented||(c.preventDefault(),v(r).triggerElement.value?.focus())}),onPointerDownOutside:u[1]||(u[1]=c=>{const f=c.detail.originalEvent,p=f.button===0&&f.ctrlKey===!0;(f.button===2||p)&&c.preventDefault()}),onFocusOutside:u[2]||(u[2]=c=>{c.preventDefault()})}),{default:le(()=>[Me(a.$slots,"default")]),_:3},16,["trap-focus"]))}}),nk=tk,sk=ve({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=Cl(t);At();const o=rn(),i=ae(!1),l=ae(!1);return(a,u)=>(R(),he(Wd,ct({...n,...v(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:u[0]||(u[0]=c=>{c.defaultPrevented||(i.value||v(o).triggerElement.value?.focus(),c.preventDefault()),i.value=!1,l.value=!1}),onInteractOutside:u[1]||(u[1]=c=>{c.defaultPrevented||(i.value=!0,c.detail.originalEvent.type==="pointerdown"&&(l.value=!0));const f=c.target;v(o).triggerElement.value?.contains(f)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&l.value&&c.preventDefault()})}),{default:le(()=>[Me(a.$slots,"default")]),_:3},16))}}),rk=sk,ok=ve({__name:"DialogContent",props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,s=t,r=rn(),o=Cl(s),{forwardRef:i}=At();return(l,a)=>(R(),he(v(jd),{present:l.forceMount||v(r).open.value},{default:le(()=>[v(r).modal.value?(R(),he(nk,ct({key:0,ref:v(i)},{...n,...v(o),...l.$attrs}),{default:le(()=>[Me(l.$slots,"default")]),_:3},16)):(R(),he(rk,ct({key:1,ref:v(i)},{...n,...v(o),...l.$attrs}),{default:le(()=>[Me(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),ik=ok,lk=ve({__name:"DialogDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"p"}},setup(e){const t=e;At();const n=rn();return(s,r)=>(R(),he(v(gs),ct(t,{id:v(n).descriptionId}),{default:le(()=>[Me(s.$slots,"default")]),_:3},16,["id"]))}}),ak=lk,ck=ve({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=rn();return kx(!0),At(),(n,s)=>(R(),he(v(gs),{as:n.as,"as-child":n.asChild,"data-state":v(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:le(()=>[Me(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),uk=ck,fk=ve({__name:"DialogOverlay",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=rn(),{forwardRef:n}=At();return(s,r)=>v(t)?.modal.value?(R(),he(v(jd),{key:0,present:s.forceMount||v(t).open.value},{default:le(()=>[ee(uk,ct(s.$attrs,{ref:v(n),as:s.as,"as-child":s.asChild}),{default:le(()=>[Me(s.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):pe("v-if",!0)}}),dk=fk,pk=ve({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=hd();return(n,s)=>v(t)||n.forceMount?(R(),he(Kp,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[Me(n.$slots,"default")],8,["to","disabled","defer"])):pe("v-if",!0)}}),hk=pk,gk=ve({__name:"DialogPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,s)=>(R(),he(v(hk),Hi(_o(t)),{default:le(()=>[Me(n.$slots,"default")]),_:3},16))}}),mk=gk,yk=ve({__name:"DialogTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h2"}},setup(e){const t=e,n=rn();return At(),(s,r)=>(R(),he(v(gs),ct(t,{id:v(n).titleId}),{default:le(()=>[Me(s.$slots,"default")]),_:3},16,["id"]))}}),vk=yk;const Vd=["close","close-with-comment","reopen","set-title","set-body","add-comment","add-labels","remove-labels","set-labels","add-assignees","remove-assignees","set-assignees","set-milestone","clear-milestone","lock","unlock","request-reviewers","remove-reviewers","mark-ready-for-review","convert-to-draft"],bk={open:"reopen",closes:"close","close-comment":"close-with-comment","comment-close":"close-with-comment","close-and-comment":"close-with-comment","comment-and-close":"close-with-comment",label:"add-labels",labels:"add-labels",tag:"add-labels",tags:"add-labels","add-tag":"add-labels",assign:"add-assignees",assignee:"add-assignees",assignees:"add-assignees",body:"set-body",title:"set-title",retitle:"set-title",ready:"mark-ready-for-review",undraft:"mark-ready-for-review",draft:"convert-to-draft",comment:"add-comment"},_k={close:"#ef4444","close-with-comment":"#fb7185",reopen:"#22c55e","set-title":"#3b82f6","set-body":"#06b6d4","add-comment":"#f97316","add-labels":"#84cc16","remove-labels":"#f43f5e","set-labels":"#eab308","add-assignees":"#10b981","remove-assignees":"#fb7185","set-assignees":"#0ea5e9","set-milestone":"#6366f1","clear-milestone":"#f59e0b",lock:"#a855f7",unlock:"#14b8a6","request-reviewers":"#38bdf8","remove-reviewers":"#e879f9","mark-ready-for-review":"#34d399","convert-to-draft":"#f472b6"};new Set(Vd);const wk=Object.keys(bk);[...Vd,...wk];const xk={key:0,class:"fixed top-18 right-4 bottom-4 w-[30rem] max-w-[calc(100vw-2rem)] bg-glass rounded-lg shadow-xl z-40 flex flex-col overflow-hidden"},kk={class:"flex items-center gap-2 px-4 py-3 border-b border-base"},Sk={class:"color-muted text-sm font-mono tabular-nums"},Tk=["disabled"],$k={key:0,class:"px-4 py-2 bg-yellow-500/10 border-b border-base text-xs color-muted"},Ek={class:"flex-1 overflow-y-auto"},Ck={key:0,class:"px-6 py-16 color-muted text-sm text-center"},Ak={key:1,class:"divide-y divide-neutral-200 dark:divide-neutral-800"},Pk={class:"flex-1 min-w-0"},Ok={class:"font-mono text-sm"},Rk={key:0,class:"text-xs color-muted truncate mt-0.5"},Mk={class:"text-[10px] color-faint font-mono mt-0.5 uppercase tracking-wide"},Lk={class:"hover-fade flex items-center gap-1"},Dk=["onClick"],Ik=["onClick"],Nk={class:"border-t border-base px-4 py-3 bg-base/50 flex items-center gap-2"},zk=["disabled","title"],Hk={class:"flex justify-end gap-2"},Fk={class:"flex justify-end gap-2"},Bk=["disabled"],jk=ve({__name:"QueuePanel",setup(e){const t=ut(),n=ps(),s=U(()=>t.payload.value?.queue.entries??[]),r=U(()=>t.payload.value?.queue.warnings??[]),o=U(()=>t.payload.value?.repo.hasToken??!1),i=ae(!1),l=U({get(){return t.executeConfirmOpen.value},set(b){t.executeConfirmOpen.value=b}});function a(b){return b==="execute.yml"?"yml":b==="execute.md"?"md":"frontmatter"}function u(b){return _k[b]??"#6b7280"}function c(b){const y=b.op,x=[];return"labels"in y&&Array.isArray(y.labels)&&x.push(y.labels.join(", ")),"assignees"in y&&Array.isArray(y.assignees)&&x.push(y.assignees.map(_=>`@${_}`).join(", ")),"title"in y&&typeof y.title=="string"&&x.push(`"${y.title}"`),"body"in y&&typeof y.body=="string"&&x.push(`"${y.body.slice(0,60)}${y.body.length>60?"…":""}"`),"milestone"in y&&y.milestone!=null&&x.push(String(y.milestone)),x.join(" ")}async function f(b){t.setError(null);try{await n.removeQueueOp(b.id)}catch(y){t.setError(`${y.message}`)}}async function p(b){if(b.filePath)try{await n.openInEditor(b.filePath)}catch(y){t.setError(`${y.message}`)}}async function d(){i.value=!1,t.setError(null);try{await n.clearQueue()}catch(b){t.setError(`${b.message}`)}}function h(){!o.value||s.value.length===0||t.executing.value||(l.value=!0)}async function g(){if(l.value=!1,s.value.length!==0){t.setError(null),t.setExecuting(!0);try{await n.executeQueue({continueOnError:!0})}catch(b){t.setError(`Execute failed: ${b.message}`),t.setExecuting(!1)}}}return(b,y)=>{const x=Eo,_=gl,w=dk,S=vk,$=ak,M=zx,D=ik,O=mk,P=Ix;return R(),W(ge,null,[ee(rf,{"enter-active-class":"transition duration-200","enter-from-class":"op0 translate-x-4","enter-to-class":"op100 translate-x-0","leave-active-class":"transition duration-150","leave-from-class":"op100 translate-x-0","leave-to-class":"op0 translate-x-4"},{default:le(()=>[v(t).queueOpen.value?(R(),W("aside",xk,[T("header",kk,[y[6]||(y[6]=T("span",{class:"i-octicon-list-unordered-16 color-active"},null,-1)),y[7]||(y[7]=T("h2",{class:"font-medium"},"Queue",-1)),T("span",Sk,oe(v(s).length),1),y[8]||(y[8]=T("div",{class:"flex-1"},null,-1)),ee(x,{tooltip:"Clear execute.yml"},{default:le(()=>[T("button",{class:"btn-action text-xs",disabled:v(s).length===0,onClick:y[0]||(y[0]=I=>i.value=!0)},[...y[4]||(y[4]=[T("span",{class:"i-octicon-trash-16"},null,-1),T("span",null,"Clear",-1)])],8,Tk)]),_:1}),ee(x,{tooltip:"Close panel"},{default:le(()=>[T("button",{class:"btn-icon","aria-label":"Close panel",onClick:y[1]||(y[1]=I=>v(t).closeQueue())},[...y[5]||(y[5]=[T("span",{class:"i-octicon-x-16"},null,-1)])])]),_:1})]),v(r).length?(R(),W("div",$k,[(R(!0),W(ge,null,kt(v(r),(I,A)=>(R(),W("div",{key:A,class:"flex items-start gap-2 py-0.5"},[y[9]||(y[9]=T("span",{class:"i-octicon-alert-16 mt-0.5 flex-none color-yellow-600"},null,-1)),T("span",null,oe(I),1)]))),128))])):pe("",!0),T("div",Ek,[v(s).length===0?(R(),W("div",Ck,[...y[10]||(y[10]=[T("span",{class:"i-octicon-inbox-16 text-3xl block mb-3 op-fade mx-auto"},null,-1),De(" No operations queued.",-1),T("br",null,null,-1),T("span",{class:"text-xs color-faint"},"Open an item and use the footer actions to queue close/reopen/comment.",-1)])])):(R(),W("div",Ak,[(R(!0),W(ge,null,kt(v(s),I=>(R(),W("div",{key:I.id,class:"group flex items-start gap-3 px-4 py-2.5 hover:bg-active transition"},[T("span",{class:"badge font-mono text-xs flex-none",style:mt({backgroundColor:`${u(I.op.action)}22`,color:u(I.op.action)})},oe(I.op.action),5),T("div",Pk,[T("div",Ok,"#"+oe(I.op.number),1),c(I)?(R(),W("div",Rk,oe(c(I)),1)):pe("",!0),T("div",Mk,oe(a(I.source)),1)]),T("div",Lk,[I.source==="per-item"&&I.filePath?(R(),he(x,{key:0,tooltip:"Open file"},{default:le(()=>[T("button",{class:"btn-icon",onClick:A=>p(I)},[...y[11]||(y[11]=[T("span",{class:"i-octicon-link-external-16"},null,-1)])],8,Dk)]),_:2},1024)):(R(),he(x,{key:1,tooltip:"Remove from queue"},{default:le(()=>[T("button",{class:"btn-icon",onClick:A=>f(I)},[...y[12]||(y[12]=[T("span",{class:"i-octicon-trash-16"},null,-1)])],8,Ik)]),_:2},1024))])]))),128))]))]),T("footer",Nk,[y[13]||(y[13]=T("div",{class:"text-xs color-muted flex-1"}," Runs every op against GitHub. ",-1)),T("button",{class:"btn-primary text-sm",disabled:v(s).length===0||v(t).executing.value||!v(o),title:v(o)?void 0:"No GitHub token available",onClick:h},[T("span",{class:Re(v(t).executing.value?"i-octicon-sync-16 animate-spin":"i-octicon-play-16")},null,2),T("span",null,"Execute "+oe(v(s).length)+" op"+oe(v(s).length===1?"":"s"),1),ee(_,{"shortcut-id":"action.execute"})],8,zk)])])):pe("",!0)]),_:1}),ee(P,{open:v(i),"onUpdate:open":y[2]||(y[2]=I=>Ae(i)?i.value=I:null)},{default:le(()=>[ee(O,null,{default:le(()=>[ee(w,{class:"fixed inset-0 bg-black/40 backdrop-blur-sm z-60"}),ee(D,{class:"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-base border border-base rounded-lg shadow-xl p-6 w-[min(90vw,24rem)] z-60"},{default:le(()=>[ee(S,{class:"font-medium text-base mb-2"},{default:le(()=>[...y[14]||(y[14]=[De("Clear execute.yml?",-1)])]),_:1}),ee($,{class:"text-sm color-muted mb-4"},{default:le(()=>[...y[15]||(y[15]=[De(" This removes all operations in ",-1),T("span",{class:"font-mono"},".ghfs/execute.yml",-1),De(". ",-1),T("span",{class:"font-mono"},"execute.md",-1),De(" and per-item edits are not affected. ",-1)])]),_:1}),T("div",Hk,[ee(M,{"as-child":""},{default:le(()=>[...y[16]||(y[16]=[T("button",{class:"btn-action"},"Cancel",-1)])]),_:1}),T("button",{class:"btn-primary",onClick:d},"Clear")])]),_:1})]),_:1})]),_:1},8,["open"]),ee(P,{open:v(l),"onUpdate:open":y[3]||(y[3]=I=>Ae(l)?l.value=I:null)},{default:le(()=>[ee(O,null,{default:le(()=>[ee(w,{class:"fixed inset-0 bg-black/40 backdrop-blur-sm z-60"}),ee(D,{class:"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-base border border-base rounded-lg shadow-xl p-6 w-[min(92vw,28rem)] z-60"},{default:le(()=>[ee(S,{class:"font-medium text-base mb-2 flex items-center gap-2"},{default:le(()=>[y[17]||(y[17]=T("span",{class:"i-octicon-play-16 color-primary-500"},null,-1)),De(" Execute "+oe(v(s).length)+" operation"+oe(v(s).length===1?"":"s")+"? ",1)]),_:1}),ee($,{class:"text-sm color-muted mb-4"},{default:le(()=>[...y[18]||(y[18]=[De(" These changes will be applied to GitHub immediately. This cannot be undone from here — you'll need to revert on GitHub if needed. ",-1)])]),_:1}),T("div",Fk,[ee(M,{"as-child":""},{default:le(()=>[...y[19]||(y[19]=[T("button",{class:"btn-action"},"Cancel",-1)])]),_:1}),T("button",{class:"btn-primary",disabled:v(t).executing.value,onClick:g},[...y[20]||(y[20]=[T("span",{class:"i-octicon-play-16"},null,-1),De(" Execute ",-1)])],8,Bk)])]),_:1})]),_:1})]),_:1},8,["open"])],64)}}}),qk=Object.assign(jk,{__name:"QueuePanel"}),Uk={key:0,class:"fixed bottom-4 left-1/2 -translate-x-1/2 z-50 min-w-80 max-w-lg bg-glass rounded-lg shadow-lg"},Wk={key:0,class:"flex items-start gap-3 px-4 py-3"},Vk={class:"flex-1 text-sm"},Kk={key:1,class:"flex items-start gap-3 px-4 py-3"},Gk={class:"flex-1"},Qk={class:"text-sm flex items-center gap-2"},Jk={class:"font-mono uppercase tracking-wide text-xs color-muted"},Xk={key:0,class:"font-mono text-xs color-faint"},Yk={key:0,class:"text-xs color-muted truncate mt-0.5"},Zk={key:1,class:"w-full h-1 bg-secondary rounded mt-2 overflow-hidden"},e1=ve({__name:"ProgressToast",setup(e){const t=ut(),n=U(()=>t.progress.value!==null||t.lastError.value!==null);return(s,r)=>{const o=Eo;return R(),he(rf,{"enter-active-class":"transition duration-200","enter-from-class":"op0 translate-y-2","enter-to-class":"op100 translate-y-0","leave-active-class":"transition duration-150","leave-from-class":"op100 translate-y-0","leave-to-class":"op0 translate-y-2"},{default:le(()=>[v(n)?(R(),W("div",Uk,[v(t).lastError.value?(R(),W("div",Wk,[r[2]||(r[2]=T("span",{class:"i-octicon-alert-16 color-red-500 mt-0.5 flex-none"},null,-1)),T("div",Vk,oe(v(t).lastError.value),1),ee(o,{tooltip:"Dismiss"},{default:le(()=>[T("button",{class:"btn-icon shrink-0","aria-label":"Dismiss",onClick:r[0]||(r[0]=i=>v(t).setError(null))},[...r[1]||(r[1]=[T("span",{class:"i-octicon-x-16"},null,-1)])])]),_:1})])):v(t).progress.value?(R(),W("div",Kk,[r[3]||(r[3]=T("span",{class:"i-octicon-sync-16 animate-spin mt-0.5 color-active flex-none"},null,-1)),T("div",Gk,[T("div",Qk,[T("span",Jk,oe(v(t).progress.value.kind),1),v(t).progress.value.stage?(R(),W("span",Xk,oe(v(t).progress.value.stage),1)):pe("",!0)]),v(t).progress.value.message?(R(),W("div",Yk,oe(v(t).progress.value.message),1)):pe("",!0),v(t).progress.value.percent!=null?(R(),W("div",Zk,[T("div",{class:"h-full bg-primary-500 transition-all duration-300",style:mt({width:`${Math.round((v(t).progress.value.percent??0)*100)}%`})},null,4)])):pe("",!0)])])):pe("",!0)])):pe("",!0)]),_:1})}}}),t1=Object.assign(e1,{__name:"ProgressToast"}),n1={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(e,{emit:t}){const n=t,s=e,r=dh(),o=ae([]),i=U(()=>o.value.reduce((L,V)=>(L[~~V.id]=V)&&L,{})),l=U(()=>o.value.length),a=ae(null),u=ae(!1),c=ae({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),f=ae({splitter:null,timeoutId:null}),p=U(()=>({[`splitpanes splitpanes--${s.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":c.value.dragging})),d=()=>{document.addEventListener("mousemove",b,{passive:!1}),document.addEventListener("mouseup",y),"ontouchstart"in window&&(document.addEventListener("touchmove",b,{passive:!1}),document.addEventListener("touchend",y))},h=()=>{document.removeEventListener("mousemove",b,{passive:!1}),document.removeEventListener("mouseup",y),"ontouchstart"in window&&(document.removeEventListener("touchmove",b,{passive:!1}),document.removeEventListener("touchend",y))},g=(L,V)=>{const Y=L.target.closest(".splitpanes__splitter");if(Y){const{left:K,top:J}=Y.getBoundingClientRect(),{clientX:ie,clientY:m}="ontouchstart"in window&&L.touches?L.touches[0]:L;c.value.cursorOffset=s.horizontal?m-J:ie-K}d(),c.value.mouseDown=!0,c.value.activeSplitter=V},b=L=>{c.value.mouseDown&&(L.preventDefault(),c.value.dragging=!0,requestAnimationFrame(()=>{M(S(L)),st("resize",{event:L},!0)}))},y=L=>{c.value.dragging&&(window.getSelection().removeAllRanges(),st("resized",{event:L},!0)),c.value.mouseDown=!1,c.value.activeSplitter=null,setTimeout(()=>{c.value.dragging=!1,h()},100)},x=(L,V)=>{"ontouchstart"in window&&(L.preventDefault(),f.value.splitter===V?(clearTimeout(f.value.timeoutId),f.value.timeoutId=null,_(L,V),f.value.splitter=null):(f.value.splitter=V,f.value.timeoutId=setTimeout(()=>f.value.splitter=null,500))),c.value.dragging||st("splitter-click",{event:L,index:V},!0)},_=(L,V)=>{if(st("splitter-dblclick",{event:L,index:V},!0),s.maximizePanes){let Y=0;o.value=o.value.map((K,J)=>(K.size=J===V?K.max:K.min,J!==V&&(Y+=K.min),K)),o.value[V].size-=Y,st("pane-maximize",{event:L,index:V,pane:o.value[V]}),st("resized",{event:L,index:V},!0)}},w=(L,V)=>{st("pane-click",{event:L,index:i.value[V].index,pane:i.value[V]})},S=L=>{const V=a.value.getBoundingClientRect(),{clientX:Y,clientY:K}="ontouchstart"in window&&L.touches?L.touches[0]:L;return{x:Y-(s.horizontal?0:c.value.cursorOffset)-V.left,y:K-(s.horizontal?c.value.cursorOffset:0)-V.top}},$=L=>{L=L[s.horizontal?"y":"x"];const V=a.value[s.horizontal?"clientHeight":"clientWidth"];return s.rtl&&!s.horizontal&&(L=V-L),L*100/V},M=L=>{const V=c.value.activeSplitter;let Y={prevPanesSize:O(V),nextPanesSize:P(V),prevReachedMinPanes:0,nextReachedMinPanes:0};const K=0+(s.pushOtherPanes?0:Y.prevPanesSize),J=100-(s.pushOtherPanes?0:Y.nextPanesSize),ie=Math.max(Math.min($(L),J),K);let m=[V,V+1],k=o.value[m[0]]||null,C=o.value[m[1]]||null;const B=k.max<100&&ie>=k.max+Y.prevPanesSize,z=C.max<100&&ie<=100-(C.max+P(V+1));if(B||z){B?(k.size=k.max,C.size=Math.max(100-k.max-Y.prevPanesSize-Y.nextPanesSize,0)):(k.size=Math.max(100-C.max-Y.prevPanesSize-P(V+1),0),C.size=C.max);return}if(s.pushOtherPanes){const F=D(Y,ie);if(!F)return;({sums:Y,panesToResize:m}=F),k=o.value[m[0]]||null,C=o.value[m[1]]||null}k!==null&&(k.size=Math.min(Math.max(ie-Y.prevPanesSize-Y.prevReachedMinPanes,k.min),k.max)),C!==null&&(C.size=Math.min(Math.max(100-ie-Y.nextPanesSize-Y.nextReachedMinPanes,C.min),C.max))},D=(L,V)=>{const Y=c.value.activeSplitter,K=[Y,Y+1];return V<L.prevPanesSize+o.value[K[0]].min&&(K[0]=I(Y).index,L.prevReachedMinPanes=0,K[0]<Y&&o.value.forEach((J,ie)=>{ie>K[0]&&ie<=Y&&(J.size=J.min,L.prevReachedMinPanes+=J.min)}),L.prevPanesSize=O(K[0]),K[0]===void 0)?(L.prevReachedMinPanes=0,o.value[0].size=o.value[0].min,o.value.forEach((J,ie)=>{ie>0&&ie<=Y&&(J.size=J.min,L.prevReachedMinPanes+=J.min)}),o.value[K[1]].size=100-L.prevReachedMinPanes-o.value[0].min-L.prevPanesSize-L.nextPanesSize,null):V>100-L.nextPanesSize-o.value[K[1]].min&&(K[1]=A(Y).index,L.nextReachedMinPanes=0,K[1]>Y+1&&o.value.forEach((J,ie)=>{ie>Y&&ie<K[1]&&(J.size=J.min,L.nextReachedMinPanes+=J.min)}),L.nextPanesSize=P(K[1]-1),K[1]===void 0)?(L.nextReachedMinPanes=0,o.value.forEach((J,ie)=>{ie<l.value-1&&ie>=Y+1&&(J.size=J.min,L.nextReachedMinPanes+=J.min)}),o.value[K[0]].size=100-L.prevPanesSize-P(K[0]-1),null):{sums:L,panesToResize:K}},O=L=>o.value.reduce((V,Y,K)=>V+(K<L?Y.size:0),0),P=L=>o.value.reduce((V,Y,K)=>V+(K>L+1?Y.size:0),0),I=L=>[...o.value].reverse().find(V=>V.index<L&&V.size>V.min)||{},A=L=>o.value.find(V=>V.index>L+1&&V.size>V.min)||{},G=()=>{var L;const V=Array.from(((L=a.value)==null?void 0:L.children)||[]);for(const Y of V){const K=Y.classList.contains("splitpanes__pane"),J=Y.classList.contains("splitpanes__splitter");!K&&!J&&(Y.remove(),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))}},H=(L,V,Y=!1)=>{const K=L-1,J=document.createElement("div");J.classList.add("splitpanes__splitter"),Y||(J.onmousedown=ie=>g(ie,K),typeof window<"u"&&"ontouchstart"in window&&(J.ontouchstart=ie=>g(ie,K)),J.onclick=ie=>x(ie,K+1)),J.ondblclick=ie=>_(ie,K+1),V.parentNode.insertBefore(J,V)},ne=L=>{L.onmousedown=void 0,L.onclick=void 0,L.ondblclick=void 0,L.remove()},q=()=>{var L;const V=Array.from(((L=a.value)==null?void 0:L.children)||[]);for(const K of V)K.className.includes("splitpanes__splitter")&&ne(K);let Y=0;for(const K of V)K.className.includes("splitpanes__pane")&&(!Y&&s.firstSplitter?H(Y,K,!0):Y&&H(Y,K),Y++)},N=({uid:L,...V})=>{const Y=i.value[L];for(const[K,J]of Object.entries(V))Y[K]=J},E=L=>{var V;let Y=-1;Array.from(((V=a.value)==null?void 0:V.children)||[]).some(K=>(K.className.includes("splitpanes__pane")&&Y++,K.isSameNode(L.el))),o.value.splice(Y,0,{...L,index:Y}),o.value.forEach((K,J)=>K.index=J),u.value&&qe(()=>{q(),He({addedPane:o.value[Y]}),st("pane-add",{pane:o.value[Y]})})},fe=L=>{const V=o.value.findIndex(K=>K.id===L);o.value[V].el=null;const Y=o.value.splice(V,1)[0];o.value.forEach((K,J)=>K.index=J),qe(()=>{q(),st("pane-remove",{pane:Y}),He({removedPane:{...Y}})})},He=(L={})=>{!L.addedPane&&!L.removedPane?Ue():o.value.some(V=>V.givenSize!==null||V.min||V.max<100)?ke(L):nt(),u.value&&st("resized")},nt=()=>{const L=100/l.value;let V=0;const Y=[],K=[];for(const J of o.value)J.size=Math.max(Math.min(L,J.max),J.min),V-=J.size,J.size>=J.max&&Y.push(J.id),J.size<=J.min&&K.push(J.id);V>.1&&wn(V,Y,K)},Ue=()=>{let L=100;const V=[],Y=[];let K=0;for(const ie of o.value)L-=ie.size,ie.givenSize!==null&&K++,ie.size>=ie.max&&V.push(ie.id),ie.size<=ie.min&&Y.push(ie.id);let J=100;if(L>.1){for(const ie of o.value)ie.givenSize===null&&(ie.size=Math.max(Math.min(L/(l.value-K),ie.max),ie.min)),J-=ie.size;J>.1&&wn(J,V,Y)}},ke=({addedPane:L,removedPane:V}={})=>{let Y=100/l.value,K=0;const J=[],ie=[];(L?.givenSize??null)!==null&&(Y=(100-L.givenSize)/(l.value-1));for(const m of o.value)K-=m.size,m.size>=m.max&&J.push(m.id),m.size<=m.min&&ie.push(m.id);if(!(Math.abs(K)<.1)){for(const m of o.value)L?.givenSize!==null&&L?.id===m.id||(m.size=Math.max(Math.min(Y,m.max),m.min)),K-=m.size,m.size>=m.max&&J.push(m.id),m.size<=m.min&&ie.push(m.id);K>.1&&wn(K,J,ie)}},wn=(L,V,Y)=>{let K;L>0?K=L/(l.value-V.length):K=L/(l.value-Y.length),o.value.forEach((J,ie)=>{if(L>0&&!V.includes(J.id)){const m=Math.max(Math.min(J.size+K,J.max),J.min),k=m-J.size;L-=k,J.size=m}else if(!Y.includes(J.id)){const m=Math.max(Math.min(J.size+K,J.max),J.min),k=m-J.size;L-=k,J.size=m}}),Math.abs(L)>.1&&qe(()=>{u.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},st=(L,V=void 0,Y=!1)=>{const K=V?.index??c.value.activeSplitter??null;n(L,{...V,...K!==null&&{index:K},...Y&&K!==null&&{prevPane:o.value[K-(s.firstSplitter?1:0)],nextPane:o.value[K+(s.firstSplitter?0:1)]},panes:o.value.map(J=>({min:J.min,max:J.max,size:J.size}))})};Oe(()=>s.firstSplitter,()=>q()),Bn(()=>{G(),q(),He(),st("ready"),u.value=!0}),ds(()=>u.value=!1);const xn=()=>{var L;return pn("div",{ref:a,class:p.value},(L=r.default)==null?void 0:L.call(r))};return Lt("panes",o),Lt("indexedPanes",i),Lt("horizontal",U(()=>s.horizontal)),Lt("requestUpdate",N),Lt("onPaneAdd",E),Lt("onPaneRemove",fe),Lt("onPaneClick",w),(L,V)=>(R(),he(Cu(xn)))}},Pc={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(e){var t;const n=e,s=Ze("requestUpdate"),r=Ze("onPaneAdd"),o=Ze("horizontal"),i=Ze("onPaneRemove"),l=Ze("onPaneClick"),a=(t=et())==null?void 0:t.uid,u=Ze("indexedPanes"),c=U(()=>u.value[a]),f=ae(null),p=U(()=>{const b=isNaN(n.size)||n.size===void 0?0:parseFloat(n.size);return Math.max(Math.min(b,h.value),d.value)}),d=U(()=>{const b=parseFloat(n.minSize);return isNaN(b)?0:b}),h=U(()=>{const b=parseFloat(n.maxSize);return isNaN(b)?100:b}),g=U(()=>{var b;return`${o.value?"height":"width"}: ${(b=c.value)==null?void 0:b.size}%`});return Oe(()=>p.value,b=>s({uid:a,size:b})),Oe(()=>d.value,b=>s({uid:a,min:b})),Oe(()=>h.value,b=>s({uid:a,max:b})),Bn(()=>{r({id:a,el:f.value,min:d.value,max:h.value,givenSize:n.size===void 0?null:p.value,size:p.value})}),ds(()=>i(a)),(b,y)=>(R(),W("div",{ref_key:"paneEl",ref:f,class:"splitpanes__pane",onClick:y[0]||(y[0]=x=>v(l)(x,b._.uid)),style:mt(g.value)},[Me(b.$slots,"default")],4))}};function s1(){const e=ut(),t=ps(),n=md(),{filteredEntries:s}=ml(),r=U(()=>{const x=e.selectedNumber.value;return x==null?null:e.payload.value?.syncState.items[String(x)]?.data.item??null}),o=U(()=>e.filters.search.trim().length>0),i=U(()=>e.payload.value?.repo.hasToken??!1),l=U(()=>e.payload.value?.queue.upCount??0),a=U(()=>s.value.length>0);function u(x){const _=s.value;if(!_.length)return;const w=e.selectedNumber.value==null?-1:_.findIndex($=>$.number===e.selectedNumber.value),S=w<0?x>0?0:_.length-1:Math.max(0,Math.min(_.length-1,w+x));e.selectItem(_[S].number)}function c(){s.value.length&&e.selectItem(s.value[0].number)}function f(){s.value.length&&e.selectItem(s.value[s.value.length-1].number)}function p(){const x=document.querySelector('[data-shortcut="search"]');x&&(x.focus(),x.select())}async function d(){if(!e.syncing.value){e.setSyncing(!0),e.setError(null);try{await t.triggerSync({})}catch(x){e.setError(`Sync failed: ${x.message}`),e.setSyncing(!1)}}}function h(){e.executing.value||l.value!==0&&e.askExecute()}function g(){e.queueOpen.value?e.closeQueue():e.openQueue()}async function b(){const x=r.value?.number;if(x!=null)try{await t.addQueueOp({action:"close",number:x})}catch(_){e.setError(_.message)}}async function y(){const x=r.value?.number;if(x!=null)try{await t.addQueueOp({action:"reopen",number:x})}catch(_){e.setError(_.message)}}return[{id:"list.next",keys:["j"],description:"Next item",enabled:()=>a.value,run:()=>u(1)},{id:"list.prev",keys:["k"],description:"Previous item",enabled:()=>a.value,run:()=>u(-1)},{id:"list.next-arrow",keys:["ArrowDown"],description:"Next item",enabled:()=>a.value,run:()=>u(1)},{id:"list.prev-arrow",keys:["ArrowUp"],description:"Previous item",enabled:()=>a.value,run:()=>u(-1)},{id:"list.first",keys:["g","g"],description:"First item",enabled:()=>a.value,run:c},{id:"list.last",keys:["G"],description:"Last item",enabled:()=>a.value,run:f},{id:"list.open",keys:["g"],description:"Open on GitHub",enabled:()=>!!r.value?.url,run:()=>{const x=r.value?.url;x&&window.open(x,"_blank","noreferrer")}},{id:"tab.issues",keys:["i"],description:"Issues tab",enabled:()=>!o.value,run:()=>{e.filters.kind="issue"}},{id:"tab.pulls",keys:["p"],description:"Pull requests tab",enabled:()=>!o.value,run:()=>{e.filters.kind="pull"}},{id:"search.focus",keys:["/"],description:"Focus search",run:p},{id:"action.sync",keys:["s"],description:"Sync from GitHub",enabled:()=>i.value&&!e.syncing.value,run:d},{id:"action.queue",keys:["q"],description:"Toggle queue",run:g},{id:"action.execute",keys:["x"],description:"Execute queue",enabled:()=>i.value&&l.value>0&&!e.executing.value,run:h},{id:"action.theme",keys:["d"],description:"Toggle theme",run:()=>{n.value=!n.value}},{id:"panel.close",keys:["Escape"],description:"Close queue",enabled:()=>e.queueOpen.value||e.executeConfirmOpen.value,run:()=>{if(e.executeConfirmOpen.value){e.executeConfirmOpen.value=!1;return}e.queueOpen.value&&e.closeQueue()}},{id:"item.close",keys:["c"],description:"Queue close",enabled:()=>!!r.value&&r.value.state==="open",run:b},{id:"item.reopen",keys:["r"],description:"Queue reopen",enabled:()=>!!r.value&&r.value.state==="closed",run:y}]}const r1={class:"h-screen flex flex-col bg-base color-base font-sans overflow-hidden"},o1={class:"flex-1 min-h-0"},i1={key:0,class:"flex flex-col items-center justify-center py-32 color-muted"},l1=ve({__name:"app",setup(e){Vy({htmlAttrs:{lang:"en"},title:"ghfs"}),ps();const t=ut(),n=eo(),{filteredEntries:s}=ml();n_(s1()),s_();const r=U(()=>n.uiState.listPaneSize??30);function o(i){const l=i[0]?.size;typeof l=="number"&&n.setListPaneSize(l)}return Oe(s,i=>{t.selectedNumber.value!=null&&(i.some(l=>l.number===t.selectedNumber.value)||t.selectItem(null))},{flush:"post"}),(i,l)=>{const a=Q_,u=f0,c=bx,f=qk,p=t1;return R(),W("div",r1,[ee(a),T("main",o1,[ee(v(n1),{class:"h-full w-full ghfs-splitpanes","dbl-click-splitter":!1,onResize:o},{default:le(()=>[ee(v(Pc),{size:v(r),"min-size":"20","max-size":"60",class:"overflow-y-auto bg-base"},{default:le(()=>[v(t).payload.value?(R(),he(u,{key:1,entries:v(s)},null,8,["entries"])):(R(),W("div",i1,[...l[0]||(l[0]=[T("span",{class:"i-octicon-sync-16 animate-spin text-2xl mb-3 color-active"},null,-1),T("p",{class:"text-sm"},"Connecting…",-1)])]))]),_:1},8,["size"]),ee(v(Pc),{size:100-v(r),class:"overflow-y-auto bg-secondary/30"},{default:le(()=>[ee(c)]),_:1},8,["size"])]),_:1})]),ee(f),ee(p)])}}}),a1="modulepreload",c1=function(e,t){return new URL(e,t).href},Oc={},Rc=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const i=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=l?.nonce||l?.getAttribute("nonce");r=u(n.map(c=>{if(c=c1(c,s),c in Oc)return;Oc[c]=!0;const f=c.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(s)for(let h=i.length-1;h>=0;h--){const g=i[h];if(g.href===c&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${p}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":a1,f||(d.as="script"),d.crossOrigin="",d.href=c,a&&d.setAttribute("nonce",a),document.head.appendChild(d),f)return new Promise((h,g)=>{d.addEventListener("load",h),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},u1={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,s=Number(n.statusCode||500),r=s===404,o=n.statusMessage??(r?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),l=void 0,c=r?Ul(()=>Rc(()=>import("./BMIwt_GL.js"),__vite__mapDeps([0,1,2]),import.meta.url)):Ul(()=>Rc(()=>import("./BXG6gk4R.js"),__vite__mapDeps([3,1,4]),import.meta.url));return(f,p)=>(R(),he(v(c),Hi(_o({status:v(s),statusText:v(o),statusCode:v(s),statusMessage:v(o),description:v(i),stack:v(l)})),null,16))}},f1={key:0},Mc={__name:"nuxt-root",setup(e){const t=()=>null,n=Je(),s=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",s);ls().beforeEach(u)}const r=!1;Lt(Of,ty()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const o=il(),i=!1,l=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;$u((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,f)?.catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),l.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(ay(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>iy(u)),!1});const a=!1;return(u,c)=>(R(),he(zh,{onResolve:v(s)},{default:le(()=>[v(i)?(R(),W("div",f1)):v(o)?(R(),he(v(u1),{key:1,error:v(o)},null,8,["error"])):v(a)?(R(),he(v(t),{key:2,context:v(a)},null,8,["context"])):v(r)?(R(),he(Cu(v(r)),{key:3})):(R(),he(v(l1),{key:4}))]),_:1},8,["onResolve"]))}};let Lc;{let e;Lc=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),s=n?Ig(Mc):cf(Mc),r=Wm({vueApp:s});async function o(i){await r.callHook("app:error",i),r.payload.error||=ll(i)}s.config.errorHandler=o,r.hook("app:suspense:resolve",()=>{s.config.errorHandler===o&&(s.config.errorHandler=void 0)}),!n&&$a.id&&r.hook("app:suspense:resolve",()=>{document.getElementById($a.id)?.remove()});try{await Gm(r,Sb)}catch(i){o(i)}try{await r.hooks.callHook("app:created",s),await r.hooks.callHook("app:beforeMount",s),s.mount(jm),await r.hooks.callHook("app:mounted",s),await qe()}catch(i){o(i)}return s},e=Lc().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{W as A,T as B,oe as C,ee as D,le as E,De as F,Je as a,Nf as b,ds as c,ve as d,p1 as e,Us as f,oy as g,pn as h,ae as i,ry as j,v as k,U as l,nl as m,sy as n,Bn as o,tl as p,or as q,Da as r,Ft as s,Kr as t,ls as u,mf as v,_i as w,d1 as x,Vy as y,R as z};