@openlist-frontend/openlist-frontend 4.1.9 → 4.1.10

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 (567) hide show
  1. package/dist/VERSION +1 -1
  2. package/dist/assets/2fa-eYyZXAAi.js +1 -0
  3. package/dist/assets/2fa-legacy-DIMYigpU.js +1 -0
  4. package/dist/{lite/assets/About-B2NSONt5.js → assets/About-CN1lANyC.js} +1 -1
  5. package/dist/{lite/assets/About-legacy-DMXEsn7a.js → assets/About-legacy-CX0wSoy6.js} +1 -1
  6. package/dist/assets/AddOrEdit-Bc21-IPh.js +1 -0
  7. package/dist/assets/AddOrEdit-CS5XHLGZ.js +1 -0
  8. package/dist/assets/AddOrEdit-DBOcF4lp.js +1 -0
  9. package/dist/assets/AddOrEdit-dt3x-Sdm.js +1 -0
  10. package/dist/assets/AddOrEdit-legacy-B80HR1Wc.js +1 -0
  11. package/dist/assets/AddOrEdit-legacy-BG5Lrn2s.js +1 -0
  12. package/dist/assets/{AddOrEdit-legacy-VVmiFXTi.js → AddOrEdit-legacy-BpS_IUjk.js} +1 -1
  13. package/dist/assets/AddOrEdit-legacy-CWXX6RMt.js +1 -0
  14. package/dist/assets/Common-6lepzY2T.js +1 -0
  15. package/dist/assets/Common-legacy-BjPiicdg.js +1 -0
  16. package/dist/assets/{Copy-rBkIM4l9.js → Copy-Bo5VUrDJ.js} +1 -1
  17. package/dist/assets/Copy-legacy-DPKvF9Za.js +1 -0
  18. package/dist/assets/Decompress-D0qEkGV7.js +1 -0
  19. package/dist/assets/{Decompress-legacy-CMwLXWKi.js → Decompress-legacy-C_yJJ2Es.js} +1 -1
  20. package/dist/assets/DeletePopover-2in-rlqm.js +1 -0
  21. package/dist/assets/DeletePopover-legacy-ibAyayIG.js +1 -0
  22. package/dist/assets/File-B_EEqmVs.js +2 -0
  23. package/dist/assets/File-legacy-BQ8rW125.js +1 -0
  24. package/dist/assets/{Folder-DcBQ9zJQ.js → Folder-Bh2xbHrn.js} +9 -9
  25. package/dist/{lite/assets/Folder-legacy-BmGzhL-l.js → assets/Folder-legacy-H1QshOuK.js} +4 -4
  26. package/dist/assets/FolderTree-CHsUuiQU.js +1 -0
  27. package/dist/assets/FolderTree-legacy-Dyjn4je6.js +1 -0
  28. package/dist/assets/Grid-Cuh1MgkV.js +1 -0
  29. package/dist/assets/Grid-legacy-CSfe2bh3.js +1 -0
  30. package/dist/assets/GridItem-DnK_J88P.js +1 -0
  31. package/dist/assets/GridItem-legacy-DrBerydn.js +1 -0
  32. package/dist/assets/{ImageWithError-BrDbbnYl.js → ImageWithError-JCdRxmqI.js} +1 -1
  33. package/dist/assets/ImageWithError-legacy-BbglNKhM.js +1 -0
  34. package/dist/assets/Images-BRxPC0wu.js +1 -0
  35. package/dist/assets/Images-legacy-CJdZI72O.js +1 -0
  36. package/dist/assets/Layout-CtHmJknm.js +6 -0
  37. package/dist/assets/Layout-legacy-aLmqKbgj.js +6 -0
  38. package/dist/assets/List-BSVXDida.js +1 -0
  39. package/dist/assets/List-legacy-D5_mt2hV.js +1 -0
  40. package/dist/assets/Messenger-B6-e9d4B.js +1 -0
  41. package/dist/assets/Messenger-legacy-B_h0JW5g.js +1 -0
  42. package/dist/assets/Metas-CDtj3NFI.js +1 -0
  43. package/dist/assets/Metas-legacy-DQO8AZVm.js +1 -0
  44. package/dist/assets/ModalInput-CTZQE0yv.js +1 -0
  45. package/dist/assets/ModalInput-legacy-Cw9-SN51.js +1 -0
  46. package/dist/assets/{Move-D4lALE_K.js → Move-CZbL3Yq1.js} +1 -1
  47. package/dist/assets/{Move-legacy-HHwNdyUy.js → Move-legacy-DgCCJ-N0.js} +1 -1
  48. package/dist/assets/Other-CyhrgZpi.js +1 -0
  49. package/dist/assets/Other-legacy-CgK7x_yn.js +1 -0
  50. package/dist/assets/PackageDownload-BnWbhWpm.js +1 -0
  51. package/dist/assets/PackageDownload-legacy-BHyuHDiC.js +1 -0
  52. package/dist/assets/Paginator-A3scL5t4.js +1 -0
  53. package/dist/assets/Paginator-legacy-CZo-P87F.js +1 -0
  54. package/dist/assets/Password-D5lAyFLG.js +1 -0
  55. package/dist/assets/Password-legacy-B4LjS6Wp.js +1 -0
  56. package/dist/assets/Profile-D4MWfqyR.js +1 -0
  57. package/dist/assets/Profile-legacy-D2qpUb9O.js +1 -0
  58. package/dist/assets/PublicKeys-CHL4Weir.js +1 -0
  59. package/dist/assets/PublicKeys-legacy-Ht1s9rqI.js +1 -0
  60. package/dist/assets/{ResponsiveGrid-vV_RulBc.js → ResponsiveGrid-BWMI6qdJ.js} +1 -1
  61. package/dist/assets/{ResponsiveGrid-legacy-uN8v6zqF.js → ResponsiveGrid-legacy-Bs3dvwiZ.js} +1 -1
  62. package/dist/assets/S3-CcBONzQu.js +1 -0
  63. package/dist/assets/S3-legacy-C-dTmA94.js +1 -0
  64. package/dist/assets/SettingItem-BYHwCQXr.js +1 -0
  65. package/dist/assets/SettingItem-legacy-CqXPZP9T.js +1 -0
  66. package/dist/assets/Shares-DNueL1Vb.js +1 -0
  67. package/dist/assets/Shares-legacy-C3zYier4.js +1 -0
  68. package/dist/assets/Storages-FnUWCIej.js +1 -0
  69. package/dist/assets/Storages-legacy-DVuGoGdE.js +1 -0
  70. package/dist/assets/{Upload-B_TfUqoe.js → Upload-BvXbqvo5.js} +2 -2
  71. package/dist/assets/Upload-h05228FM.js +1 -0
  72. package/dist/assets/{Upload-legacy-DB0nVZEa.js → Upload-legacy-BkwJbv-Y.js} +1 -1
  73. package/dist/assets/{Upload-legacy-QI_0gxU8.js → Upload-legacy-DqhKbdPg.js} +2 -2
  74. package/dist/assets/Users-Bo9MsWeg.js +1 -0
  75. package/dist/assets/Users-legacy-k1xravPD.js +1 -0
  76. package/dist/assets/{Wether-BwfUVrt3.js → Wether-CqoguY0b.js} +1 -1
  77. package/dist/assets/{Wether-legacy-ZbNEcL-H.js → Wether-legacy-BvdJdjA-.js} +1 -1
  78. package/dist/assets/aliyun_video-hq9gwtiM.js +1 -0
  79. package/dist/assets/aliyun_video-legacy-Cq7jFE5E.js +1 -0
  80. package/dist/assets/archive-GDa8UM4A.js +1 -0
  81. package/dist/assets/archive-legacy-klFUvFpZ.js +1 -0
  82. package/dist/assets/{artplayer-DkFbP4R2.js → artplayer-DmFKhX_E.js} +1 -1
  83. package/dist/assets/{artplayer-legacy-DXBLu5b1.js → artplayer-legacy-Dla5Uka6.js} +1 -1
  84. package/dist/assets/asciinema-legacy-B5Ojza5K.js +1 -0
  85. package/dist/assets/asciinema-sW_f-Coa.js +1 -0
  86. package/dist/assets/audio-B1kEDMrE.js +1 -0
  87. package/dist/assets/audio-legacy-CCxb-r2g.js +1 -0
  88. package/dist/assets/backup-restore-COPQ3fsb.js +1 -0
  89. package/dist/assets/backup-restore-legacy-DaIbjY3e.js +1 -0
  90. package/dist/{lite/assets/doc-DcFlJH_N.js → assets/doc---EGcI0r.js} +1 -1
  91. package/dist/assets/doc-legacy-hXr5HVHC.js +1 -0
  92. package/dist/assets/entry-Ct4P7v3b.js +1 -0
  93. package/dist/assets/entry-Dl4FUo3S.js +1 -0
  94. package/dist/assets/entry-DoLkXYqU.js +1 -0
  95. package/dist/assets/entry-legacy-BEj2GEKp.js +1 -0
  96. package/dist/assets/entry-legacy-CEEjG6dv.js +1 -0
  97. package/dist/assets/entry-legacy-D2_R5u0L.js +1 -0
  98. package/dist/assets/{flash-K7VBmn26.js → flash-BJm0EI0q.js} +1 -1
  99. package/dist/assets/{flash-legacy-BI5XDhsb.js → flash-legacy-BpWSbDkQ.js} +1 -1
  100. package/dist/assets/heic-2c7uWv-O.js +1 -0
  101. package/dist/assets/{heic-legacy-CZbBrIvV.js → heic-legacy-06bSzSko.js} +1 -1
  102. package/dist/assets/{helper-BbREDs7J.js → helper-BVeNNIE1.js} +1 -1
  103. package/dist/assets/helper-legacy-BZ5XRZbT.js +1 -0
  104. package/dist/{lite/assets/helper-legacy-NlkQpCXx.js → assets/helper-legacy-DwTNtj0A.js} +1 -1
  105. package/dist/assets/helper-ouPZ1Yuq.js +1 -0
  106. package/dist/assets/{html-DrkrdlF4.js → html-CQ98kCGP.js} +1 -1
  107. package/dist/assets/{html-legacy-CMx7slBs.js → html-legacy-MNPZ897v.js} +1 -1
  108. package/dist/{lite/assets/icon-B010QmQx.js → assets/icon-DqPtjxiZ.js} +1 -1
  109. package/dist/{lite/assets/icon-legacy-wUB58Ean.js → assets/icon-legacy-DKxdZoDZ.js} +1 -1
  110. package/dist/assets/image-CNgcKsam.js +1 -0
  111. package/dist/assets/image-legacy-B5ytwDHe.js +1 -0
  112. package/dist/assets/{index-LpOJCJG0.js → index-BITHMkw5.js} +1 -1
  113. package/dist/assets/index-BeiVR93z.js +1 -0
  114. package/dist/{lite/assets/index-BCCJwa7B.js → assets/index-BelfiY12.js} +1 -1
  115. package/dist/assets/{index-BFcje_PK.js → index-Bl5KfUKm.js} +3 -3
  116. package/dist/{lite/assets/index-kC6eq0EZ.js → assets/index-BxffqFMa.js} +1 -1
  117. package/dist/assets/index-CSLMu7OW.js +2 -0
  118. package/dist/assets/index-C_xnhf0Z.js +1 -0
  119. package/dist/assets/{index-exAwIFx3.js → index-CtpQFOKH.js} +1 -1
  120. package/dist/assets/index-DRra1eYY.js +1 -0
  121. package/dist/{lite/assets/index-Dz8yejb1.js → assets/index-S6P6XS8L.js} +1 -1
  122. package/dist/{lite/assets/index-J-RBfu6p.js → assets/index-fAEGil0n.js} +1 -1
  123. package/dist/assets/index-legacy-B3Z6-3VM.js +1 -0
  124. package/dist/assets/{index-legacy-BDar3pOh.js → index-legacy-BCogrmWH.js} +1 -1
  125. package/dist/assets/{index-legacy-C7GeLJzS.js → index-legacy-BzvznpU_.js} +3 -3
  126. package/dist/assets/index-legacy-CzxmC-2d.js +1 -0
  127. package/dist/assets/{index-legacy-DDwAqkY0.js → index-legacy-DBa2Tzo0.js} +1 -1
  128. package/dist/assets/{index-legacy-B6VOG1Er.js → index-legacy-DUD5FLI1.js} +1 -1
  129. package/dist/assets/index-legacy-Dlq_vK-8.js +1 -0
  130. package/dist/assets/index-legacy-QH22Qod0.js +1 -0
  131. package/dist/{lite/assets/index-legacy-DN9161zw.js → assets/index-legacy-f2eHFB4O.js} +1 -1
  132. package/dist/assets/{index-legacy-B3HW6xxC.js → index-legacy-gN47jRuq.js} +1 -1
  133. package/dist/{lite/assets/index-legacy-CodQIWl8.js → assets/index-legacy-moMaHu9d.js} +1 -1
  134. package/dist/assets/index_page-BvukBtmz.js +1 -0
  135. package/dist/assets/index_page-legacy-ChGXQd3N.js +1 -0
  136. package/dist/assets/ipa-legacy-CqhiCn62.js +1 -0
  137. package/dist/assets/ipa-yZfjQ2EG.js +1 -0
  138. package/dist/assets/markdown-Dbc-HOjw.js +1 -0
  139. package/dist/assets/markdown-legacy-CQkVFFQp.js +1 -0
  140. package/dist/assets/markdown_with_word_wrap-legacy-Xrnx7JaZ.js +1 -0
  141. package/dist/assets/markdown_with_word_wrap-wfj_h8U7.js +1 -0
  142. package/dist/assets/offline_download-BahPqp5Z.js +1 -0
  143. package/dist/assets/{offline_download-legacy-DEWNMRFJ.js → offline_download-legacy-om3E9Dim.js} +1 -1
  144. package/dist/assets/plist-72wsKdOI.js +1 -0
  145. package/dist/assets/plist-legacy-HGDKwois.js +1 -0
  146. package/dist/{lite/assets/ppt-XbK6F4DI.js → assets/ppt-CbEEvVHF.js} +1 -1
  147. package/dist/{lite/assets/ppt-legacy-BOOjm0M1.js → assets/ppt-legacy-jFluCTFA.js} +1 -1
  148. package/dist/assets/{share-BynbuRzK.js → share-BJOZaU2H.js} +1 -1
  149. package/dist/assets/{share-legacy-CbQXMBg4.js → share-legacy-C9Fe59Iz.js} +1 -1
  150. package/dist/assets/storage-B8Wc9tdG.js +1 -0
  151. package/dist/assets/storage-legacy-BCAHdrPO.js +1 -0
  152. package/dist/assets/style-C2-n-Tf3.js +1 -0
  153. package/dist/assets/style-legacy-CAQ10iBS.js +1 -0
  154. package/dist/assets/text-editor-BGS5fq5A.js +1 -0
  155. package/dist/assets/text-editor-legacy-CIP6GWuB.js +1 -0
  156. package/dist/assets/url-DA5lZnmJ.js +1 -0
  157. package/dist/assets/url-legacy-D3-kYAyK.js +1 -0
  158. package/dist/assets/useTitle-COa73MJx.js +1 -0
  159. package/dist/assets/useTitle-legacy-bcKFIeMP.js +1 -0
  160. package/dist/assets/video-D5PJvYYf.js +7 -0
  161. package/dist/assets/video-legacy-BeKPgISv.js +9 -0
  162. package/dist/assets/{video360-legacy-Br55M3FM.js → video360-legacy-DdIDHmZm.js} +1 -1
  163. package/dist/{lite/assets/video360-bbB0P8jR.js → assets/video360-s7fHeRTy.js} +2 -2
  164. package/dist/{lite/assets/video_box-CuzfybQN.js → assets/video_box-DpaXh14X.js} +2 -2
  165. package/dist/assets/video_box-legacy-Cla-LHhl.js +1 -0
  166. package/dist/{lite/assets/xls-BtNsIbf_.js → assets/xls-DzY8tx31.js} +1 -1
  167. package/dist/{lite/assets/xls-legacy-DHJxplEk.js → assets/xls-legacy-C65XsuTR.js} +1 -1
  168. package/dist/i18n.tar.gz +0 -0
  169. package/dist/index.html +2 -2
  170. package/dist/lite/VERSION +1 -1
  171. package/dist/lite/assets/2fa-BeIx_GJ8.js +1 -0
  172. package/dist/lite/assets/2fa-legacy-yXU6PiE1.js +1 -0
  173. package/dist/{assets/About-CCGRlrzH.js → lite/assets/About-DuKMiBKv.js} +1 -1
  174. package/dist/{assets/About-legacy-vJHfPQ-v.js → lite/assets/About-legacy-Detlcob5.js} +1 -1
  175. package/dist/lite/assets/AddOrEdit-CFEu3HxG.js +1 -0
  176. package/dist/lite/assets/AddOrEdit-CPjltKVa.js +1 -0
  177. package/dist/lite/assets/AddOrEdit-Or0Pag9x.js +1 -0
  178. package/dist/lite/assets/AddOrEdit-jF_-pa08.js +1 -0
  179. package/dist/lite/assets/AddOrEdit-legacy-BqEo39Pd.js +1 -0
  180. package/dist/lite/assets/AddOrEdit-legacy-BreSLMNX.js +1 -0
  181. package/dist/lite/assets/AddOrEdit-legacy-DemlSyxA.js +1 -0
  182. package/dist/lite/assets/{AddOrEdit-legacy-FCI9HEpS.js → AddOrEdit-legacy-nJ3B0Um3.js} +1 -1
  183. package/dist/lite/assets/Common-6ZqG1kU4.js +1 -0
  184. package/dist/lite/assets/Common-legacy-Cfz-Xl2D.js +1 -0
  185. package/dist/lite/assets/{Copy-D_6EGrTT.js → Copy-XxgwYujB.js} +1 -1
  186. package/dist/lite/assets/Copy-legacy-CGOb9X2b.js +1 -0
  187. package/dist/lite/assets/Decompress-Bz3SB5eP.js +1 -0
  188. package/dist/lite/assets/{Decompress-legacy-C3Bam154.js → Decompress-legacy-exmrYe82.js} +1 -1
  189. package/dist/lite/assets/DeletePopover-CHFTmaky.js +1 -0
  190. package/dist/lite/assets/DeletePopover-legacy-WEiMszHw.js +1 -0
  191. package/dist/lite/assets/File-DTiakF7K.js +2 -0
  192. package/dist/lite/assets/File-legacy-Dsn-QAhV.js +1 -0
  193. package/dist/lite/assets/{Folder-C0ZOJO3W.js → Folder-CRrI-tCk.js} +9 -9
  194. package/dist/{assets/Folder-legacy-DVHBVb0p.js → lite/assets/Folder-legacy-UMBKc4TX.js} +4 -4
  195. package/dist/lite/assets/FolderTree-DcncXbkV.js +1 -0
  196. package/dist/lite/assets/FolderTree-legacy-BQhDCMv4.js +1 -0
  197. package/dist/lite/assets/Grid-EYqWsuZ3.js +1 -0
  198. package/dist/lite/assets/Grid-legacy-C30vGNNd.js +1 -0
  199. package/dist/lite/assets/GridItem-CNYGVdMd.js +1 -0
  200. package/dist/lite/assets/GridItem-legacy-DWmAgUaq.js +1 -0
  201. package/dist/lite/assets/{ImageWithError-iiCi3GtE.js → ImageWithError-COeB8gFc.js} +1 -1
  202. package/dist/lite/assets/ImageWithError-legacy-CMsub6a6.js +1 -0
  203. package/dist/lite/assets/Images-CbMYx3_i.js +1 -0
  204. package/dist/lite/assets/Images-legacy-DezRvm5M.js +1 -0
  205. package/dist/lite/assets/Layout-CDyc_0Sw.js +6 -0
  206. package/dist/lite/assets/Layout-legacy-C9GRVlgR.js +6 -0
  207. package/dist/lite/assets/List-Lbv6Mvod.js +1 -0
  208. package/dist/lite/assets/List-legacy-pM5i_O2m.js +1 -0
  209. package/dist/lite/assets/Messenger-Dvcw2_PA.js +1 -0
  210. package/dist/lite/assets/Messenger-legacy-B2tURSum.js +1 -0
  211. package/dist/lite/assets/Metas-l6uB1ZqV.js +1 -0
  212. package/dist/lite/assets/Metas-legacy-BhuiWhqy.js +1 -0
  213. package/dist/lite/assets/ModalInput-DxinbNP5.js +1 -0
  214. package/dist/lite/assets/ModalInput-legacy-BiucwmWN.js +1 -0
  215. package/dist/lite/assets/{Move-DTiAezlq.js → Move-DfpBPO7W.js} +1 -1
  216. package/dist/lite/assets/{Move-legacy-BEm3UG_k.js → Move-legacy-BlTvvRPg.js} +1 -1
  217. package/dist/lite/assets/Other-j6rVc8K3.js +1 -0
  218. package/dist/lite/assets/Other-legacy-wxot7B4r.js +1 -0
  219. package/dist/lite/assets/PackageDownload-XXsanaEp.js +1 -0
  220. package/dist/lite/assets/PackageDownload-legacy-CH0kgu1c.js +1 -0
  221. package/dist/lite/assets/Paginator-BctNCwBy.js +1 -0
  222. package/dist/lite/assets/Paginator-legacy-CFHtYl-C.js +1 -0
  223. package/dist/lite/assets/Password-ClA6VQY7.js +1 -0
  224. package/dist/lite/assets/Password-legacy-BxRyqC67.js +1 -0
  225. package/dist/lite/assets/Profile-8zCBOOTI.js +1 -0
  226. package/dist/lite/assets/Profile-legacy-DEAmD_3m.js +1 -0
  227. package/dist/lite/assets/PublicKeys-PHAapjAA.js +1 -0
  228. package/dist/lite/assets/PublicKeys-legacy-0ACLzjft.js +1 -0
  229. package/dist/lite/assets/{ResponsiveGrid-Bk7RaVQa.js → ResponsiveGrid-Cz1_Eark.js} +1 -1
  230. package/dist/lite/assets/{ResponsiveGrid-legacy-B4-3DyEi.js → ResponsiveGrid-legacy-DP4mYOAz.js} +1 -1
  231. package/dist/lite/assets/S3-2tw2d7Qp.js +1 -0
  232. package/dist/lite/assets/S3-legacy-BVFT34ht.js +1 -0
  233. package/dist/lite/assets/SettingItem-HSnS7ja1.js +1 -0
  234. package/dist/lite/assets/SettingItem-legacy-1qbq5ORz.js +1 -0
  235. package/dist/lite/assets/Shares-Bb57erTR.js +1 -0
  236. package/dist/lite/assets/Shares-legacy-BA7foq6P.js +1 -0
  237. package/dist/lite/assets/Storages-Be5afA1_.js +1 -0
  238. package/dist/lite/assets/Storages-legacy-oQRVCh01.js +1 -0
  239. package/dist/lite/assets/{Upload-Cp13HTJJ.js → Upload-CpyA1Wv1.js} +2 -2
  240. package/dist/lite/assets/{Upload-DeV8V8fu.js → Upload-DyKJhDQK.js} +1 -1
  241. package/dist/lite/assets/{Upload-legacy-DPvxaATM.js → Upload-legacy-DMXuYAtu.js} +1 -1
  242. package/dist/lite/assets/{Upload-legacy-DL_3gOry.js → Upload-legacy-W2PZVb9I.js} +2 -2
  243. package/dist/lite/assets/Users-BVJIYjZX.js +1 -0
  244. package/dist/lite/assets/Users-legacy-CnUL-u22.js +1 -0
  245. package/dist/lite/assets/{Wether-B_tH1sp4.js → Wether-C1XD_iaw.js} +1 -1
  246. package/dist/lite/assets/{Wether-legacy-CiXYQWcl.js → Wether-legacy-DhCvhRbq.js} +1 -1
  247. package/dist/lite/assets/aliyun_video-CyUaIxZk.js +1 -0
  248. package/dist/lite/assets/aliyun_video-legacy-BJV634mc.js +1 -0
  249. package/dist/lite/assets/archive-Bli9-5UM.js +1 -0
  250. package/dist/lite/assets/archive-legacy-CHvqEeFr.js +1 -0
  251. package/dist/lite/assets/{artplayer-ChU5x8mk.js → artplayer-DEgNxz4T.js} +1 -1
  252. package/dist/lite/assets/{artplayer-legacy-WqWpylQT.js → artplayer-legacy-ysVgVDOo.js} +1 -1
  253. package/dist/lite/assets/asciinema-PjhhB9WR.js +1 -0
  254. package/dist/lite/assets/asciinema-legacy-Bzp4HaNY.js +1 -0
  255. package/dist/lite/assets/audio-ClyfnJhc.js +1 -0
  256. package/dist/lite/assets/audio-legacy-J-aewUXR.js +1 -0
  257. package/dist/lite/assets/backup-restore-DUGKN8E3.js +1 -0
  258. package/dist/lite/assets/backup-restore-legacy-DbMDagf2.js +1 -0
  259. package/dist/{assets/doc-v9TxwChk.js → lite/assets/doc-CMTlg4SZ.js} +1 -1
  260. package/dist/lite/assets/doc-legacy-BeBCOd10.js +1 -0
  261. package/dist/lite/assets/entry-DX_gC4oS.js +1 -0
  262. package/dist/lite/assets/entry-DbjzOXML.js +1 -0
  263. package/dist/lite/assets/entry-LDl6mCyz.js +1 -0
  264. package/dist/lite/assets/entry-legacy-BctkQQxu.js +1 -0
  265. package/dist/lite/assets/entry-legacy-Bms12nNS.js +1 -0
  266. package/dist/lite/assets/entry-legacy-ChF3ksFW.js +1 -0
  267. package/dist/lite/assets/{flash-CiAn095A.js → flash-D1r2KiuX.js} +1 -1
  268. package/dist/lite/assets/{flash-legacy-Coq6fD8j.js → flash-legacy-Ce6pLSek.js} +1 -1
  269. package/dist/lite/assets/heic-A0ApY_mO.js +1 -0
  270. package/dist/lite/assets/{heic-legacy-B8AubmqH.js → heic-legacy-B933Pz3w.js} +1 -1
  271. package/dist/lite/assets/{helper-BeGPRQNv.js → helper-CLiDqmie.js} +1 -1
  272. package/dist/lite/assets/helper-ClVQv5Cj.js +1 -0
  273. package/dist/lite/assets/helper-legacy-7N0QWXz4.js +1 -0
  274. package/dist/{assets/helper-legacy-CfKt6vc_.js → lite/assets/helper-legacy-C-B0V45f.js} +1 -1
  275. package/dist/lite/assets/{html-legacy-DwBgpITB.js → html-legacy-cyktnrv5.js} +1 -1
  276. package/dist/lite/assets/{html-XY2CK9wp.js → html-nRyUoybs.js} +1 -1
  277. package/dist/{assets/icon-GBF7AwS-.js → lite/assets/icon-BzG2iOlK.js} +1 -1
  278. package/dist/{assets/icon-legacy-BAXJTbLN.js → lite/assets/icon-legacy-t3U3NC3K.js} +1 -1
  279. package/dist/lite/assets/image-Qz4AaEhk.js +1 -0
  280. package/dist/lite/assets/image-legacy-S5SWjQ01.js +1 -0
  281. package/dist/lite/assets/{index-Ca6fj6bj.js → index-BGq-KEkm.js} +1 -1
  282. package/dist/lite/assets/index-BUYt7a_q.js +1 -0
  283. package/dist/lite/assets/{index-BwkEd7kX.js → index-C0SsaXJz.js} +1 -1
  284. package/dist/lite/assets/{index-SQ0wiswX.js → index-CHTaZlKo.js} +3 -3
  285. package/dist/{assets/index-CrmJXdfg.js → lite/assets/index-C_b0gevr.js} +1 -1
  286. package/dist/{assets/index-DQyboMGi.js → lite/assets/index-CbYWOyPS.js} +1 -1
  287. package/dist/lite/assets/index-CiNKf0kZ.js +2 -0
  288. package/dist/lite/assets/index-Dku4wCAp.js +1 -0
  289. package/dist/{assets/index-DQFO1fUw.js → lite/assets/index-h48yrOMU.js} +1 -1
  290. package/dist/{assets/index-CC_EEPDO.js → lite/assets/index-kDIHuttQ.js} +1 -1
  291. package/dist/lite/assets/index-legacy-6zOnAN2v.js +1 -0
  292. package/dist/lite/assets/index-legacy-B0-4GMl1.js +1 -0
  293. package/dist/lite/assets/{index-legacy-YtBw8_E8.js → index-legacy-B0qrObMQ.js} +3 -3
  294. package/dist/lite/assets/index-legacy-Bq56gQqB.js +1 -0
  295. package/dist/lite/assets/{index-legacy-Bc7wsd3y.js → index-legacy-CJXi8fEv.js} +1 -1
  296. package/dist/lite/assets/{index-legacy-tTHD5mew.js → index-legacy-CX_AQpjx.js} +1 -1
  297. package/dist/lite/assets/{index-legacy-BgVPHdCi.js → index-legacy-Di2lVOIe.js} +1 -1
  298. package/dist/lite/assets/index-legacy-DpVNzRBU.js +1 -0
  299. package/dist/{assets/index-legacy-LqdxT-Xx.js → lite/assets/index-legacy-QZyktHxH.js} +1 -1
  300. package/dist/lite/assets/{index-legacy-BfXIvhZP.js → index-legacy-cxNXXGyr.js} +1 -1
  301. package/dist/{assets/index-legacy-Cyob4gap.js → lite/assets/index-legacy-g_-wBB9d.js} +1 -1
  302. package/dist/lite/assets/index-sVgwh4Hr.js +1 -0
  303. package/dist/lite/assets/index_page-CZh4cllO.js +1 -0
  304. package/dist/lite/assets/index_page-legacy-DsVUsnom.js +1 -0
  305. package/dist/lite/assets/ipa-B1Mdd0WC.js +1 -0
  306. package/dist/lite/assets/ipa-legacy-D0XO5Zlb.js +1 -0
  307. package/dist/lite/assets/markdown-6p_D8JPD.js +1 -0
  308. package/dist/lite/assets/markdown-legacy-DiJ2YpIR.js +1 -0
  309. package/dist/lite/assets/markdown_with_word_wrap-Che-GKM7.js +1 -0
  310. package/dist/lite/assets/markdown_with_word_wrap-legacy-Ci23vI-z.js +1 -0
  311. package/dist/lite/assets/{offline_download-legacy-DpRsyHr3.js → offline_download-legacy-DUDbDkqP.js} +1 -1
  312. package/dist/lite/assets/offline_download-rOvW2E2f.js +1 -0
  313. package/dist/lite/assets/plist-B3sT_zft.js +1 -0
  314. package/dist/lite/assets/plist-legacy-MjBAU8VH.js +1 -0
  315. package/dist/{assets/ppt-eYGvWIm7.js → lite/assets/ppt-CAkn8zPw.js} +1 -1
  316. package/dist/{assets/ppt-legacy-DMfcaFPk.js → lite/assets/ppt-legacy-CffA2Hs2.js} +1 -1
  317. package/dist/lite/assets/{share-legacy-Bus1Fcf2.js → share-legacy-jXbKF6bG.js} +1 -1
  318. package/dist/lite/assets/{share-Dca-Hljw.js → share-mAwAQnfO.js} +1 -1
  319. package/dist/lite/assets/storage-B8Wc9tdG.js +1 -0
  320. package/dist/lite/assets/storage-legacy-BCAHdrPO.js +1 -0
  321. package/dist/lite/assets/style-B-h4p_Si.js +1 -0
  322. package/dist/lite/assets/style-legacy-BP5fJoTz.js +1 -0
  323. package/dist/lite/assets/text-editor-B5Um278-.js +1 -0
  324. package/dist/lite/assets/text-editor-legacy-b4Hwuk6P.js +1 -0
  325. package/dist/lite/assets/url-D9YBVrDj.js +1 -0
  326. package/dist/lite/assets/url-legacy-DPHWQ0uJ.js +1 -0
  327. package/dist/lite/assets/useTitle-OB90Q8xV.js +1 -0
  328. package/dist/lite/assets/useTitle-legacy-BlUoIbCG.js +1 -0
  329. package/dist/lite/assets/video-DvkFlULJ.js +7 -0
  330. package/dist/lite/assets/video-legacy-BfhGQT14.js +9 -0
  331. package/dist/{assets/video360-jtFkAjzt.js → lite/assets/video360-DLwON173.js} +2 -2
  332. package/dist/lite/assets/{video360-legacy-CC2fz650.js → video360-legacy-Nl-v_LxC.js} +1 -1
  333. package/dist/{assets/video_box-Cx22wNyi.js → lite/assets/video_box-Bnht-7s1.js} +2 -2
  334. package/dist/lite/assets/video_box-legacy-C-3Dj7oZ.js +1 -0
  335. package/dist/{assets/xls-Ca7j-Kfy.js → lite/assets/xls-Cftta4BE.js} +1 -1
  336. package/dist/{assets/xls-legacy-BHXiF443.js → lite/assets/xls-legacy-CgQ0slCv.js} +1 -1
  337. package/dist/lite/i18n.tar.gz +0 -0
  338. package/dist/lite/index.html +2 -2
  339. package/dist/static/ruffle/core.ruffle.4ca82b563e9711217164.js +2 -0
  340. package/dist/static/ruffle/core.ruffle.9efd15e310cd86757dff.js +2 -0
  341. package/dist/static/ruffle/{7cc6fda0a502634810a4.wasm → f2a570ccf4468b20d95a.wasm} +0 -0
  342. package/dist/static/ruffle/{b829d6fa340571bf40af.wasm → f8df2d4d9386fa89b025.wasm} +0 -0
  343. package/dist/static/ruffle/ruffle.js +1 -1
  344. package/package.json +3 -3
  345. package/dist/assets/2fa-Cii0jY1h.js +0 -1
  346. package/dist/assets/2fa-legacy-BrQyqqzs.js +0 -1
  347. package/dist/assets/AddOrEdit-BKrQQIXG.js +0 -1
  348. package/dist/assets/AddOrEdit-BojvSR14.js +0 -1
  349. package/dist/assets/AddOrEdit-Cp0_Nlj7.js +0 -1
  350. package/dist/assets/AddOrEdit-legacy-BJGGUWDc.js +0 -1
  351. package/dist/assets/AddOrEdit-legacy-Bx2RD9iz.js +0 -1
  352. package/dist/assets/AddOrEdit-legacy-C9lHD5eG.js +0 -1
  353. package/dist/assets/AddOrEdit-mV2Td2gS.js +0 -1
  354. package/dist/assets/Common-Bg8ffi3l.js +0 -1
  355. package/dist/assets/Common-legacy-CZUhu1t1.js +0 -1
  356. package/dist/assets/Copy-legacy-Dja8xUIb.js +0 -1
  357. package/dist/assets/Decompress-sOa7xLtv.js +0 -1
  358. package/dist/assets/DeletePopover-legacy-Cq9n-oOq.js +0 -1
  359. package/dist/assets/DeletePopover-yGIXq3eQ.js +0 -1
  360. package/dist/assets/File-CzSir5-J.js +0 -2
  361. package/dist/assets/File-legacy-BnjpUgLi.js +0 -1
  362. package/dist/assets/FolderTree-Za4fY-tT.js +0 -1
  363. package/dist/assets/FolderTree-legacy-C9HuwRat.js +0 -1
  364. package/dist/assets/Grid-B_1cnw_e.js +0 -1
  365. package/dist/assets/Grid-legacy-CsZCc79i.js +0 -1
  366. package/dist/assets/GridItem-DjDKu8ao.js +0 -1
  367. package/dist/assets/GridItem-legacy-Cbz0Tc9a.js +0 -1
  368. package/dist/assets/ImageWithError-legacy-qhrJnU61.js +0 -1
  369. package/dist/assets/Images-BvOjl7c4.js +0 -1
  370. package/dist/assets/Images-legacy-W1xePj9L.js +0 -1
  371. package/dist/assets/Layout-B7gk9ufY.js +0 -6
  372. package/dist/assets/Layout-legacy-1iblh3kn.js +0 -6
  373. package/dist/assets/List-DOD55AgZ.js +0 -1
  374. package/dist/assets/List-legacy-Bqx66p40.js +0 -1
  375. package/dist/assets/Messenger-B-8HoSJ9.js +0 -1
  376. package/dist/assets/Messenger-legacy-DL5INWy9.js +0 -1
  377. package/dist/assets/Metas-BVn9y-fw.js +0 -1
  378. package/dist/assets/Metas-legacy-DQ_dYdel.js +0 -1
  379. package/dist/assets/Other-C-eDe53Q.js +0 -1
  380. package/dist/assets/Other-legacy-C_FDihT_.js +0 -1
  381. package/dist/assets/PackageDownload-hc_fJfF-.js +0 -1
  382. package/dist/assets/PackageDownload-legacy-DZz7m-CO.js +0 -1
  383. package/dist/assets/Paginator-CIf0itlq.js +0 -1
  384. package/dist/assets/Paginator-legacy-BjS5_TQf.js +0 -1
  385. package/dist/assets/Password-legacy-l-rCLVqH.js +0 -1
  386. package/dist/assets/Password-v7DJypDI.js +0 -1
  387. package/dist/assets/Profile-Cq40MOjg.js +0 -1
  388. package/dist/assets/Profile-legacy-BVD-GqzD.js +0 -1
  389. package/dist/assets/PublicKeys-CiJ41s50.js +0 -1
  390. package/dist/assets/PublicKeys-legacy-Dzlf2qSQ.js +0 -1
  391. package/dist/assets/S3-BuiyDD07.js +0 -1
  392. package/dist/assets/S3-legacy-sliM89Wa.js +0 -1
  393. package/dist/assets/SettingItem-CNVSYbWM.js +0 -1
  394. package/dist/assets/SettingItem-legacy-DdBPcWkM.js +0 -1
  395. package/dist/assets/Shares-CWGbhZPY.js +0 -1
  396. package/dist/assets/Shares-legacy-BzKaW5wi.js +0 -1
  397. package/dist/assets/Storages-CxgOmfKo.js +0 -1
  398. package/dist/assets/Storages-legacy-D0YSyAkw.js +0 -1
  399. package/dist/assets/Upload-B-WCvDY4.js +0 -1
  400. package/dist/assets/Users-BdqRk9qM.js +0 -1
  401. package/dist/assets/Users-legacy-C2harPPA.js +0 -1
  402. package/dist/assets/aliyun_video-Bz30fUHI.js +0 -1
  403. package/dist/assets/aliyun_video-legacy-BRURJJlj.js +0 -1
  404. package/dist/assets/archive-DX5Wgw4r.js +0 -1
  405. package/dist/assets/archive-legacy-BN8VhDUd.js +0 -1
  406. package/dist/assets/asciinema-BpJWyi-x.js +0 -1
  407. package/dist/assets/asciinema-legacy-BXJR5wxs.js +0 -1
  408. package/dist/assets/audio-BTC6W41y.js +0 -1
  409. package/dist/assets/audio-legacy-BZDCAyod.js +0 -1
  410. package/dist/assets/backup-restore-B0FvdKYp.js +0 -1
  411. package/dist/assets/backup-restore-legacy-CCjdWEl8.js +0 -1
  412. package/dist/assets/doc-legacy-BLVUFXHN.js +0 -1
  413. package/dist/assets/entry-AkG8S-14.js +0 -1
  414. package/dist/assets/entry-BqxbeBxO.js +0 -1
  415. package/dist/assets/entry-DYncxDuL.js +0 -1
  416. package/dist/assets/entry-legacy-BaEHY7FV.js +0 -1
  417. package/dist/assets/entry-legacy-D9DTYqVA.js +0 -1
  418. package/dist/assets/entry-legacy-Dd_dDD14.js +0 -1
  419. package/dist/assets/heic-CkfvJSIg.js +0 -1
  420. package/dist/assets/helper-Debz5g7W.js +0 -1
  421. package/dist/assets/helper-legacy-oiw7hDuY.js +0 -1
  422. package/dist/assets/image-CBYMuT1a.js +0 -1
  423. package/dist/assets/image-legacy-DruYJECW.js +0 -1
  424. package/dist/assets/index-Bc8AvkXv.js +0 -1
  425. package/dist/assets/index-CujSWyj5.js +0 -1
  426. package/dist/assets/index-DZCuhf81.js +0 -2
  427. package/dist/assets/index-DZd0opwe.js +0 -1
  428. package/dist/assets/index-legacy-BfhvY8g1.js +0 -1
  429. package/dist/assets/index-legacy-Bfi-fZ_7.js +0 -1
  430. package/dist/assets/index-legacy-CZLTffVI.js +0 -1
  431. package/dist/assets/index-legacy-DZgSLdmj.js +0 -1
  432. package/dist/assets/index_page-legacy-D_qJ4gd0.js +0 -1
  433. package/dist/assets/index_page-tcP4kGKf.js +0 -1
  434. package/dist/assets/ipa-Dcujs8kk.js +0 -1
  435. package/dist/assets/ipa-legacy-BNugEAez.js +0 -1
  436. package/dist/assets/markdown-CGidJ2rU.js +0 -1
  437. package/dist/assets/markdown-legacy-B7mnRU0c.js +0 -1
  438. package/dist/assets/markdown_with_word_wrap-41SfNbPI.js +0 -1
  439. package/dist/assets/markdown_with_word_wrap-legacy-CbJ5l30u.js +0 -1
  440. package/dist/assets/offline_download-DL6WAPNG.js +0 -1
  441. package/dist/assets/plist-DzhVBmn8.js +0 -1
  442. package/dist/assets/plist-legacy-D0m2W_kS.js +0 -1
  443. package/dist/assets/storage-BWbNxF5o.js +0 -1
  444. package/dist/assets/storage-legacy-DkpoUQ7j.js +0 -1
  445. package/dist/assets/style-C-fe3_ER.js +0 -1
  446. package/dist/assets/style-legacy-CoBzhmVO.js +0 -1
  447. package/dist/assets/text-editor-kF3cPvSn.js +0 -1
  448. package/dist/assets/text-editor-legacy-DjLINJtk.js +0 -1
  449. package/dist/assets/url-D8uQvks8.js +0 -1
  450. package/dist/assets/url-legacy-BIx3IIft.js +0 -1
  451. package/dist/assets/useTitle-D5uVo66S.js +0 -1
  452. package/dist/assets/useTitle-legacy-HTPH2TsG.js +0 -1
  453. package/dist/assets/video-B5EHgJr7.js +0 -7
  454. package/dist/assets/video-legacy-jzW7__fa.js +0 -9
  455. package/dist/assets/video_box-legacy-BczWrRtY.js +0 -1
  456. package/dist/lite/assets/2fa--9LlEsiO.js +0 -1
  457. package/dist/lite/assets/2fa-legacy-Bs5kOi56.js +0 -1
  458. package/dist/lite/assets/AddOrEdit-1M2RIW9q.js +0 -1
  459. package/dist/lite/assets/AddOrEdit-CbUXaWrU.js +0 -1
  460. package/dist/lite/assets/AddOrEdit-De3CPN5M.js +0 -1
  461. package/dist/lite/assets/AddOrEdit-legacy-B1nxbE8_.js +0 -1
  462. package/dist/lite/assets/AddOrEdit-legacy-COCdvuGt.js +0 -1
  463. package/dist/lite/assets/AddOrEdit-legacy-CS9nrTys.js +0 -1
  464. package/dist/lite/assets/AddOrEdit-zEirVQQs.js +0 -1
  465. package/dist/lite/assets/Common-DHzsKMes.js +0 -1
  466. package/dist/lite/assets/Common-legacy-C-mIHWXL.js +0 -1
  467. package/dist/lite/assets/Copy-legacy-WDwDGSVn.js +0 -1
  468. package/dist/lite/assets/Decompress-C3EbKtMI.js +0 -1
  469. package/dist/lite/assets/DeletePopover-b63Uv_eU.js +0 -1
  470. package/dist/lite/assets/DeletePopover-legacy-sqk9_quU.js +0 -1
  471. package/dist/lite/assets/File-Dd45njQI.js +0 -2
  472. package/dist/lite/assets/File-legacy-CIMaABvX.js +0 -1
  473. package/dist/lite/assets/FolderTree-BOlKTcTt.js +0 -1
  474. package/dist/lite/assets/FolderTree-legacy-D5UPa63X.js +0 -1
  475. package/dist/lite/assets/Grid-Bbye5S7v.js +0 -1
  476. package/dist/lite/assets/Grid-legacy-CxoTtQQk.js +0 -1
  477. package/dist/lite/assets/GridItem-DMb8Tn4N.js +0 -1
  478. package/dist/lite/assets/GridItem-legacy-BJu0c2zg.js +0 -1
  479. package/dist/lite/assets/ImageWithError-legacy-C9qS_Giq.js +0 -1
  480. package/dist/lite/assets/Images-BQ4FZaf6.js +0 -1
  481. package/dist/lite/assets/Images-legacy-D9Wg9UgC.js +0 -1
  482. package/dist/lite/assets/Layout-DVI2b1mH.js +0 -6
  483. package/dist/lite/assets/Layout-legacy-JMAfDI_v.js +0 -6
  484. package/dist/lite/assets/List-BqKo5LfI.js +0 -1
  485. package/dist/lite/assets/List-legacy-DRKyOwga.js +0 -1
  486. package/dist/lite/assets/Messenger-DtvRwdd9.js +0 -1
  487. package/dist/lite/assets/Messenger-legacy-C-KfD8N0.js +0 -1
  488. package/dist/lite/assets/Metas-B24SHurc.js +0 -1
  489. package/dist/lite/assets/Metas-legacy-9Yg9nSnW.js +0 -1
  490. package/dist/lite/assets/Other-DCaLDpIa.js +0 -1
  491. package/dist/lite/assets/Other-legacy-DSjX7kGk.js +0 -1
  492. package/dist/lite/assets/PackageDownload-CYxNlZZN.js +0 -1
  493. package/dist/lite/assets/PackageDownload-legacy-DNIjGZS0.js +0 -1
  494. package/dist/lite/assets/Paginator-CylSZfO8.js +0 -1
  495. package/dist/lite/assets/Paginator-legacy-CVRrlBuc.js +0 -1
  496. package/dist/lite/assets/Password-Dow7G4mZ.js +0 -1
  497. package/dist/lite/assets/Password-legacy-DMbssFIk.js +0 -1
  498. package/dist/lite/assets/Profile-KunQ6IDU.js +0 -1
  499. package/dist/lite/assets/Profile-legacy-ArwCiiDP.js +0 -1
  500. package/dist/lite/assets/PublicKeys-DA6v7c37.js +0 -1
  501. package/dist/lite/assets/PublicKeys-legacy-D9CBA_Nw.js +0 -1
  502. package/dist/lite/assets/S3-BIlFSirf.js +0 -1
  503. package/dist/lite/assets/S3-legacy-Cvmms7MN.js +0 -1
  504. package/dist/lite/assets/SettingItem-BKw5vOs_.js +0 -1
  505. package/dist/lite/assets/SettingItem-legacy-DjPltV9z.js +0 -1
  506. package/dist/lite/assets/Shares-BNiGOxxk.js +0 -1
  507. package/dist/lite/assets/Shares-legacy-CCjmA45k.js +0 -1
  508. package/dist/lite/assets/Storages-BqGOWzO9.js +0 -1
  509. package/dist/lite/assets/Storages-legacy-Wp4Y2m4V.js +0 -1
  510. package/dist/lite/assets/Users-DBBS4bQx.js +0 -1
  511. package/dist/lite/assets/Users-legacy-VFU_iXR_.js +0 -1
  512. package/dist/lite/assets/aliyun_video-legacy-CFXqoNv4.js +0 -1
  513. package/dist/lite/assets/aliyun_video-x5cV7CVL.js +0 -1
  514. package/dist/lite/assets/archive-CKNkGU5T.js +0 -1
  515. package/dist/lite/assets/archive-legacy-BFsFykMv.js +0 -1
  516. package/dist/lite/assets/asciinema-CHGGca6v.js +0 -1
  517. package/dist/lite/assets/asciinema-legacy-SP6MCZwH.js +0 -1
  518. package/dist/lite/assets/audio-legacy-CgObp1EM.js +0 -1
  519. package/dist/lite/assets/audio-phNp0uKI.js +0 -1
  520. package/dist/lite/assets/backup-restore-CS8UC8gz.js +0 -1
  521. package/dist/lite/assets/backup-restore-legacy-BeHFJYVr.js +0 -1
  522. package/dist/lite/assets/doc-legacy-COglpPzQ.js +0 -1
  523. package/dist/lite/assets/entry-CBgjo0U_.js +0 -1
  524. package/dist/lite/assets/entry-CVEFOIYw.js +0 -1
  525. package/dist/lite/assets/entry-DB1Tx2uY.js +0 -1
  526. package/dist/lite/assets/entry-legacy-C9ScQCgh.js +0 -1
  527. package/dist/lite/assets/entry-legacy-EYZwI1h8.js +0 -1
  528. package/dist/lite/assets/entry-legacy-h6ZtvCJY.js +0 -1
  529. package/dist/lite/assets/heic-nYbEs4Si.js +0 -1
  530. package/dist/lite/assets/helper-DNM6ch59.js +0 -1
  531. package/dist/lite/assets/helper-legacy-CTd0Cu3l.js +0 -1
  532. package/dist/lite/assets/image-LK4lH-g9.js +0 -1
  533. package/dist/lite/assets/image-legacy-D7_wGD8Q.js +0 -1
  534. package/dist/lite/assets/index-B28UVcAI.js +0 -2
  535. package/dist/lite/assets/index-BnFdlNsy.js +0 -1
  536. package/dist/lite/assets/index-C2GjSfkp.js +0 -1
  537. package/dist/lite/assets/index-CVFT_iIN.js +0 -1
  538. package/dist/lite/assets/index-legacy--bd90SwZ.js +0 -1
  539. package/dist/lite/assets/index-legacy-CGtpoXFO.js +0 -1
  540. package/dist/lite/assets/index-legacy-CHKOYcCB.js +0 -1
  541. package/dist/lite/assets/index-legacy-CrAsVjr2.js +0 -1
  542. package/dist/lite/assets/index_page-FMqVPTWw.js +0 -1
  543. package/dist/lite/assets/index_page-legacy-I7pdrcLn.js +0 -1
  544. package/dist/lite/assets/ipa-DHEwO2Y5.js +0 -1
  545. package/dist/lite/assets/ipa-legacy-C9GDV49-.js +0 -1
  546. package/dist/lite/assets/markdown-BGWRaw7N.js +0 -1
  547. package/dist/lite/assets/markdown-legacy-BjdWkZY6.js +0 -1
  548. package/dist/lite/assets/markdown_with_word_wrap-DLQLkq4M.js +0 -1
  549. package/dist/lite/assets/markdown_with_word_wrap-legacy-BV4JLWWx.js +0 -1
  550. package/dist/lite/assets/offline_download-C_psjHiy.js +0 -1
  551. package/dist/lite/assets/plist-Blci3qUL.js +0 -1
  552. package/dist/lite/assets/plist-legacy-C1ZGMHXr.js +0 -1
  553. package/dist/lite/assets/storage-BWbNxF5o.js +0 -1
  554. package/dist/lite/assets/storage-legacy-DkpoUQ7j.js +0 -1
  555. package/dist/lite/assets/style-CLkOeWIM.js +0 -1
  556. package/dist/lite/assets/style-legacy-BHk5rjB8.js +0 -1
  557. package/dist/lite/assets/text-editor-Bw5DGkNo.js +0 -1
  558. package/dist/lite/assets/text-editor-legacy-CPWj8_7r.js +0 -1
  559. package/dist/lite/assets/url-DVmTiZsS.js +0 -1
  560. package/dist/lite/assets/url-legacy-qTjqzzGY.js +0 -1
  561. package/dist/lite/assets/useTitle-IRe1t_ks.js +0 -1
  562. package/dist/lite/assets/useTitle-legacy-BP2WuzW6.js +0 -1
  563. package/dist/lite/assets/video-C3xzGFCx.js +0 -7
  564. package/dist/lite/assets/video-legacy-BJCbkEeJ.js +0 -9
  565. package/dist/lite/assets/video_box-legacy-B_qlDScM.js +0 -1
  566. package/dist/static/ruffle/core.ruffle.25e0a3b40004f9fa3157.js +0 -2
  567. package/dist/static/ruffle/core.ruffle.882d77828f3a16cd244b.js +0 -2
@@ -1,11 +1,11 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Layout-B7gk9ufY.js","assets/useTitle-D5uVo66S.js","assets/index-CujSWyj5.js","assets/FolderTree-Za4fY-tT.js","assets/index-DQFO1fUw.js","assets/index-CC_EEPDO.js","assets/share-BynbuRzK.js","assets/index-DZCuhf81.js","assets/index-CrmJXdfg.js","assets/index-Bc8AvkXv.js","assets/webauthn-json.browser-ponyfill-CVZeZdny.js","assets/index-DZd0opwe.js","assets/Upload-B_TfUqoe.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Layout-CtHmJknm.js","assets/useTitle-COa73MJx.js","assets/index-C_xnhf0Z.js","assets/FolderTree-CHsUuiQU.js","assets/index-BelfiY12.js","assets/ModalInput-CTZQE0yv.js","assets/index-fAEGil0n.js","assets/share-BJOZaU2H.js","assets/index-CSLMu7OW.js","assets/index-S6P6XS8L.js","assets/index-DRra1eYY.js","assets/webauthn-json.browser-ponyfill-CVZeZdny.js","assets/index-BeiVR93z.js","assets/Upload-BvXbqvo5.js"])))=>i.map(i=>d[i]);
2
2
  function NF(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();const $e={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return Kf(this.context.count)},getNextContextId(){return Kf(this.context.count++)}};function Kf(e){const t=String(e),n=t.length-1;return $e.context.id+(n?String.fromCharCode(96+n):"")+t}function ca(e){$e.context=e}const Z1=!1,Z_=(e,t)=>e===t,Dr=Symbol("solid-proxy"),J1=typeof Proxy=="function",ms=Symbol("solid-track"),gu={equals:Z_};let is=null,em=om;const xr=1,xs=2,tm={owned:null,cleanups:null,context:null,owner:null},Gc={};var Ke=null;let Ee=null,J_=null,bt=null,Tn=null,gn=null,Wu=0;function da(e,t){const n=bt,r=Ke,a=e.length===0,i=t===void 0?r:t,o=a?tm:{owned:null,cleanups:null,context:i?i.context:null,owner:i},s=a?e:()=>e(()=>Et(()=>Ma(o)));Ke=o,bt=null;try{return ar(s,!0)}finally{bt=n,Ke=r}}function Ie(e,t){t=t?Object.assign({},gu,t):gu;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=a=>(typeof a=="function"&&(Ee&&Ee.running&&Ee.sources.has(n)?a=a(n.tValue):a=a(n.value)),im(n,a));return[am.bind(n),r]}function q0(e,t,n){const r=Ps(e,t,!0,xr);lo(r)}function Pn(e,t,n){const r=Ps(e,t,!1,xr);lo(r)}function Kt(e,t,n){em=oy;const r=Ps(e,t,!1,xr),a=mi&&It(mi);a&&(r.suspense=a),(!n||!n.render)&&(r.user=!0),gn?gn.push(r):lo(r)}function Ue(e,t,n){n=n?Object.assign({},gu,n):gu;const r=Ps(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,lo(r),am.bind(r)}function ey(e){return e&&typeof e=="object"&&"then"in e}function $d(e,t,n){let r,a,i;typeof t=="function"?(r=e,a=t,i={}):(r=!0,a=e,i=t||{});let o=null,s=Gc,l=null,u=!1,d=!1,p="initialValue"in i,f=typeof r=="function"&&Ue(r);const h=new Set,[c,g]=(i.storage||Ie)(i.initialValue),[m,x]=Ie(void 0),[v,y]=Ie(void 0,{equals:!1}),[_,S]=Ie(p?"ready":"unresolved");$e.context&&(l=$e.getNextContextId(),i.ssrLoadFrom==="initial"?s=i.initialValue:$e.load&&$e.has(l)&&(s=$e.load(l)));function C(I,$,W,G){return o===I&&(o=null,G!==void 0&&(p=!0),(I===s||$===s)&&i.onHydrated&&queueMicrotask(()=>i.onHydrated(G,{value:$})),s=Gc,Ee&&I&&u?(Ee.promises.delete(I),u=!1,ar(()=>{Ee.running=!0,T($,W)},!1)):T($,W)),$}function T(I,$){ar(()=>{$===void 0&&g(()=>I),S($!==void 0?"errored":p?"ready":"unresolved"),x($);for(const W of h.keys())W.decrement();h.clear()},!1)}function R(){const I=mi&&It(mi),$=c(),W=m();if(W!==void 0&&!o)throw W;return bt&&!bt.user&&I&&q0(()=>{v(),o&&(I.resolved&&Ee&&u?Ee.promises.add(o):h.has(I)||(I.increment(),h.add(I)))}),$}function P(I=!0){if(I!==!1&&d)return;d=!1;const $=f?f():r;if(u=Ee&&Ee.running,$==null||$===!1){C(o,Et(c));return}Ee&&o&&Ee.promises.delete(o);let W;const G=s!==Gc?s:Et(()=>{try{return a($,{value:c(),refetching:I})}catch(ae){W=ae}});if(W!==void 0){C(o,void 0,Zl(W),$);return}else if(!ey(G))return C(o,G,void 0,$),G;return o=G,"v"in G?(G.s===1?C(o,G.v,void 0,$):C(o,void 0,Zl(G.v),$),G):(d=!0,queueMicrotask(()=>d=!1),ar(()=>{S(p?"refreshing":"pending"),y()},!1),G.then(ae=>C(G,ae,void 0,$),ae=>C(G,void 0,Zl(ae),$)))}Object.defineProperties(R,{state:{get:()=>_()},error:{get:()=>m()},loading:{get(){const I=_();return I==="pending"||I==="refreshing"}},latest:{get(){if(!p)return R();const I=m();if(I&&!o)throw I;return c()}}});let A=Ke;return f?q0(()=>(A=Ke,P(!1))):P(!1),[R,{refetch:I=>Hd(A,()=>P(I)),mutate:g}]}function bs(e){return ar(e,!1)}function Et(e){if(bt===null)return e();const t=bt;bt=null;try{return e()}finally{bt=t}}function fa(e,t,n){const r=Array.isArray(e);let a,i=n&&n.defer;return o=>{let s;if(r){s=Array(e.length);for(let u=0;u<e.length;u++)s[u]=e[u]()}else s=e();if(i)return i=!1,o;const l=Et(()=>t(s,a,o));return a=s,l}}function wn(e){Kt(()=>Et(e))}function wt(e){return Ke===null||(Ke.cleanups===null?Ke.cleanups=[e]:Ke.cleanups.push(e)),e}function ty(e,t){is||(is=Symbol("error")),Ke=Ps(void 0,void 0,!0),Ke.context={...Ke.context,[is]:[t]},Ee&&Ee.running&&Ee.sources.add(Ke);try{return e()}catch(n){Ds(n)}finally{Ke=Ke.owner}}function W0(){return bt}function mu(){return Ke}function Hd(e,t){const n=Ke,r=bt;Ke=e,bt=null;try{return ar(t,!0)}catch(a){Ds(a)}finally{Ke=n,bt=r}}function nm(e){if(Ee&&Ee.running)return e(),Ee.done;const t=bt,n=Ke;return Promise.resolve().then(()=>{bt=t,Ke=n;let r;return mi&&(r=Ee||(Ee={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),r.done||(r.done=new Promise(a=>r.resolve=a)),r.running=!0),ar(e,!1),bt=Ke=null,r?r.done:void 0})}const[ny,Yf]=Ie(!1);function rm(){return[ny,nm]}function ry(e){gn.push.apply(gn,e),e.length=0}function Lt(e,t){const n=Symbol("context");return{id:n,Provider:sy(n),defaultValue:e}}function It(e){let t;return Ke&&Ke.context&&(t=Ke.context[e.id])!==void 0?t:e.defaultValue}function ba(e){const t=Ue(e),n=Ue(()=>V0(t()));return n.toArray=()=>{const r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}let mi;function ay(){return mi||(mi=Lt())}function am(){const e=Ee&&Ee.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===xr)lo(this);else{const t=Tn;Tn=null,ar(()=>bu(this),!1),Tn=t}if(bt){const t=this.observers?this.observers.length:0;bt.sources?(bt.sources.push(this),bt.sourceSlots.push(t)):(bt.sources=[this],bt.sourceSlots=[t]),this.observers?(this.observers.push(bt),this.observerSlots.push(bt.sources.length-1)):(this.observers=[bt],this.observerSlots=[bt.sources.length-1])}return e&&Ee.sources.has(this)?this.tValue:this.value}function im(e,t,n){let r=Ee&&Ee.running&&Ee.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(Ee){const a=Ee.running;(a||!n&&Ee.sources.has(e))&&(Ee.sources.add(e),e.tValue=t),a||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&ar(()=>{for(let a=0;a<e.observers.length;a+=1){const i=e.observers[a],o=Ee&&Ee.running;o&&Ee.disposed.has(i)||((o?!i.tState:!i.state)&&(i.pure?Tn.push(i):gn.push(i),i.observers&&sm(i)),o?i.tState=xr:i.state=xr)}if(Tn.length>1e6)throw Tn=[],new Error},!1)}return t}function lo(e){if(!e.fn)return;Ma(e);const t=Wu;Xf(e,Ee&&Ee.running&&Ee.sources.has(e)?e.tValue:e.value,t),Ee&&!Ee.running&&Ee.sources.has(e)&&queueMicrotask(()=>{ar(()=>{Ee&&(Ee.running=!0),bt=Ke=e,Xf(e,e.tValue,t),bt=Ke=null},!1)})}function Xf(e,t,n){let r;const a=Ke,i=bt;bt=Ke=e;try{r=e.fn(t)}catch(o){return e.pure&&(Ee&&Ee.running?(e.tState=xr,e.tOwned&&e.tOwned.forEach(Ma),e.tOwned=void 0):(e.state=xr,e.owned&&e.owned.forEach(Ma),e.owned=null)),e.updatedAt=n+1,Ds(o)}finally{bt=i,Ke=a}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?im(e,r,!0):Ee&&Ee.running&&e.pure?(Ee.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function Ps(e,t,n,r=xr,a){const i={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:Ke,context:Ke?Ke.context:null,pure:n};return Ee&&Ee.running&&(i.state=0,i.tState=r),Ke===null||Ke!==tm&&(Ee&&Ee.running&&Ke.pure?Ke.tOwned?Ke.tOwned.push(i):Ke.tOwned=[i]:Ke.owned?Ke.owned.push(i):Ke.owned=[i]),i}function xu(e){const t=Ee&&Ee.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===xs)return bu(e);if(e.suspense&&Et(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<Wu);){if(t&&Ee.disposed.has(e))return;(t?e.tState:e.state)&&n.push(e)}for(let r=n.length-1;r>=0;r--){if(e=n[r],t){let a=e,i=n[r+1];for(;(a=a.owner)&&a!==i;)if(Ee.disposed.has(a))return}if((t?e.tState:e.state)===xr)lo(e);else if((t?e.tState:e.state)===xs){const a=Tn;Tn=null,ar(()=>bu(e,n[0]),!1),Tn=a}}}function ar(e,t){if(Tn)return e();let n=!1;t||(Tn=[]),gn?n=!0:gn=[],Wu++;try{const r=e();return iy(n),r}catch(r){n||(gn=null),Tn=null,Ds(r)}}function iy(e){if(Tn&&(om(Tn),Tn=null),e)return;let t;if(Ee){if(!Ee.promises.size&&!Ee.queue.size){const r=Ee.sources,a=Ee.disposed;gn.push.apply(gn,Ee.effects),t=Ee.resolve;for(const i of gn)"tState"in i&&(i.state=i.tState),delete i.tState;Ee=null,ar(()=>{for(const i of a)Ma(i);for(const i of r){if(i.value=i.tValue,i.owned)for(let o=0,s=i.owned.length;o<s;o++)Ma(i.owned[o]);i.tOwned&&(i.owned=i.tOwned),delete i.tValue,delete i.tOwned,i.tState=0}Yf(!1)},!1)}else if(Ee.running){Ee.running=!1,Ee.effects.push.apply(Ee.effects,gn),gn=null,Yf(!0);return}}const n=gn;gn=null,n.length&&ar(()=>em(n),!1),t&&t()}function om(e){for(let t=0;t<e.length;t++)xu(e[t])}function oy(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:xu(r)}if($e.context){if($e.count){$e.effects||($e.effects=[]),$e.effects.push(...e.slice(0,n));return}ca()}for($e.effects&&($e.done||!$e.count)&&(e=[...$e.effects,...e],n+=$e.effects.length,delete $e.effects),t=0;t<n;t++)xu(e[t])}function bu(e,t){const n=Ee&&Ee.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){const a=e.sources[r];if(a.sources){const i=n?a.tState:a.state;i===xr?a!==t&&(!a.updatedAt||a.updatedAt<Wu)&&xu(a):i===xs&&bu(a,t)}}}function sm(e){const t=Ee&&Ee.running;for(let n=0;n<e.observers.length;n+=1){const r=e.observers[n];(t?!r.tState:!r.state)&&(t?r.tState=xs:r.state=xs,r.pure?Tn.push(r):gn.push(r),r.observers&&sm(r))}}function Ma(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),r=e.sourceSlots.pop(),a=n.observers;if(a&&a.length){const i=a.pop(),o=n.observerSlots.pop();r<a.length&&(i.sourceSlots[o]=r,a[r]=i,n.observerSlots[r]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)Ma(e.tOwned[t]);delete e.tOwned}if(Ee&&Ee.running&&e.pure)lm(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)Ma(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}Ee&&Ee.running?e.tState=0:e.state=0}function lm(e,t){if(t||(e.tState=0,Ee.disposed.add(e)),e.owned)for(let n=0;n<e.owned.length;n++)lm(e.owned[n])}function Zl(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function Qf(e,t,n){try{for(const r of t)r(e)}catch(r){Ds(r,n&&n.owner||null)}}function Ds(e,t=Ke){const n=is&&t&&t.context&&t.context[is],r=Zl(e);if(!n)throw r;gn?gn.push({fn(){Qf(r,n,t)},state:xr}):Qf(r,n,t)}function V0(e){if(typeof e=="function"&&!e.length)return V0(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=V0(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function sy(e,t){return function(r){let a;return Pn(()=>a=Et(()=>(Ke.context={...Ke.context,[e]:r.value},ba(()=>r.children))),void 0),a}}const G0=Symbol("fallback");function vu(e){for(let t=0;t<e.length;t++)e[t]()}function ly(e,t,n={}){let r=[],a=[],i=[],o=0,s=t.length>1?[]:null;return wt(()=>vu(i)),()=>{let l=e()||[],u=l.length,d,p;return l[ms],Et(()=>{let h,c,g,m,x,v,y,_,S;if(u===0)o!==0&&(vu(i),i=[],r=[],a=[],o=0,s&&(s=[])),n.fallback&&(r=[G0],a[0]=da(C=>(i[0]=C,n.fallback())),o=1);else if(o===0){for(a=new Array(u),p=0;p<u;p++)r[p]=l[p],a[p]=da(f);o=u}else{for(g=new Array(u),m=new Array(u),s&&(x=new Array(u)),v=0,y=Math.min(o,u);v<y&&r[v]===l[v];v++);for(y=o-1,_=u-1;y>=v&&_>=v&&r[y]===l[_];y--,_--)g[_]=a[y],m[_]=i[y],s&&(x[_]=s[y]);for(h=new Map,c=new Array(_+1),p=_;p>=v;p--)S=l[p],d=h.get(S),c[p]=d===void 0?-1:d,h.set(S,p);for(d=v;d<=y;d++)S=r[d],p=h.get(S),p!==void 0&&p!==-1?(g[p]=a[d],m[p]=i[d],s&&(x[p]=s[d]),p=c[p],h.set(S,p)):i[d]();for(p=v;p<u;p++)p in g?(a[p]=g[p],i[p]=m[p],s&&(s[p]=x[p],s[p](p))):a[p]=da(f);a=a.slice(0,o=u),r=l.slice(0)}return a});function f(h){if(i[p]=h,s){const[c,g]=Ie(p);return s[p]=g,t(l[p],c)}return t(l[p])}}}function uy(e,t,n={}){let r=[],a=[],i=[],o=[],s=0,l;return wt(()=>vu(i)),()=>{const u=e()||[],d=u.length;return u[ms],Et(()=>{if(d===0)return s!==0&&(vu(i),i=[],r=[],a=[],s=0,o=[]),n.fallback&&(r=[G0],a[0]=da(f=>(i[0]=f,n.fallback())),s=1),a;for(r[0]===G0&&(i[0](),i=[],r=[],a=[],s=0),l=0;l<d;l++)l<r.length&&r[l]!==u[l]?o[l](()=>u[l]):l>=r.length&&(a[l]=da(p));for(;l<r.length;l++)i[l]();return s=o.length=i.length=d,r=u.slice(0),a=a.slice(0,s)});function p(f){i[l]=f;const[h,c]=Ie(u[l]);return o[l]=c,t(h,l)}}}function w(e,t){return Et(()=>e(t||{}))}function ul(){return!0}const K0={get(e,t,n){return t===Dr?n:e.get(t)},has(e,t){return t===Dr?!0:e.has(t)},set:ul,deleteProperty:ul,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:ul,deleteProperty:ul}},ownKeys(e){return e.keys()}};function Kc(e){return(e=typeof e=="function"?e():e)?e:{}}function cy(){for(let e=0,t=this.length;e<t;++e){const n=this[e]();if(n!==void 0)return n}}function X(...e){let t=!1;for(let o=0;o<e.length;o++){const s=e[o];t=t||!!s&&Dr in s,e[o]=typeof s=="function"?(t=!0,Ue(s)):s}if(J1&&t)return new Proxy({get(o){for(let s=e.length-1;s>=0;s--){const l=Kc(e[s])[o];if(l!==void 0)return l}},has(o){for(let s=e.length-1;s>=0;s--)if(o in Kc(e[s]))return!0;return!1},keys(){const o=[];for(let s=0;s<e.length;s++)o.push(...Object.keys(Kc(e[s])));return[...new Set(o)]}},K0);const n={},r=Object.create(null);for(let o=e.length-1;o>=0;o--){const s=e[o];if(!s)continue;const l=Object.getOwnPropertyNames(s);for(let u=l.length-1;u>=0;u--){const d=l[u];if(d==="__proto__"||d==="constructor")continue;const p=Object.getOwnPropertyDescriptor(s,d);if(!r[d])r[d]=p.get?{enumerable:!0,configurable:!0,get:cy.bind(n[d]=[p.get.bind(s)])}:p.value!==void 0?p:void 0;else{const f=n[d];f&&(p.get?f.push(p.get.bind(s)):p.value!==void 0&&f.push(()=>p.value))}}}const a={},i=Object.keys(r);for(let o=i.length-1;o>=0;o--){const s=i[o],l=r[s];l&&l.get?Object.defineProperty(a,s,l):a[s]=l?l.value:void 0}return a}function fe(e,...t){const n=t.length;if(J1&&Dr in e){const a=n>1?t.flat():t[0],i=t.map(o=>new Proxy({get(s){return o.includes(s)?e[s]:void 0},has(s){return o.includes(s)&&s in e},keys(){return o.filter(s=>s in e)}},K0));return i.push(new Proxy({get(o){return a.includes(o)?void 0:e[o]},has(o){return a.includes(o)?!1:o in e},keys(){return Object.keys(e).filter(o=>!a.includes(o))}},K0)),i}const r=[];for(let a=0;a<=n;a++)r[a]={};for(const a of Object.getOwnPropertyNames(e)){let i=n;for(let l=0;l<t.length;l++)if(t[l].includes(a)){i=l;break}const o=Object.getOwnPropertyDescriptor(e,a);!o.get&&!o.set&&o.enumerable&&o.writable&&o.configurable?r[i][a]=o.value:Object.defineProperty(r[i],a,o)}return r}function Vu(e){let t,n;const r=a=>{const i=$e.context;if(i){const[s,l]=Ie();$e.count||($e.count=0),$e.count++,(n||(n=e())).then(u=>{!$e.done&&ca(i),$e.count--,l(()=>u.default),ca()}),t=s}else if(!t){const[s]=$d(()=>(n||(n=e())).then(l=>l.default));t=s}let o;return Ue(()=>(o=t())?Et(()=>{if(!i||$e.done)return o(a);const s=$e.context;ca(i);const l=o(a);return ca(s),l}):"")};return r.preload=()=>n||((n=e()).then(a=>t=()=>a.default),n),r}let dy=0;function or(){return $e.context?$e.getNextContextId():"cl-".concat(dy++)}const um=e=>"Stale read from <".concat(e,">.");function uo(e){const t="fallback"in e&&{fallback:()=>e.fallback};return Ue(ly(()=>e.each,e.children,t||void 0))}function LF(e){const t="fallback"in e&&{fallback:()=>e.fallback};return Ue(uy(()=>e.each,e.children,t||void 0))}function Re(e){const t=e.keyed,n=Ue(()=>e.when,void 0,void 0),r=t?n:Ue(n,void 0,{equals:(a,i)=>!a==!i});return Ue(()=>{const a=r();if(a){const i=e.children;return typeof i=="function"&&i.length>0?Et(()=>i(t?a:()=>{if(!Et(r))throw um("Show");return n()})):i}return e.fallback},void 0,void 0)}function Ms(e){const t=ba(()=>e.children),n=Ue(()=>{const r=t(),a=Array.isArray(r)?r:[r];let i=()=>{};for(let o=0;o<a.length;o++){const s=o,l=a[o],u=i,d=Ue(()=>u()?void 0:l.when,void 0,void 0),p=l.keyed?d:Ue(d,void 0,{equals:(f,h)=>!f==!h});i=()=>u()||(p()?[s,d,l]:void 0)}return i});return Ue(()=>{const r=n()();if(!r)return e.fallback;const[a,i,o]=r,s=o.children;return typeof s=="function"&&s.length>0?Et(()=>s(o.keyed?i():()=>{var u;if(((u=Et(n)())==null?void 0:u[0])!==a)throw um("Match");return i()})):s},void 0,void 0)}function Xr(e){return e}let Hi;function fy(){Hi&&[...Hi].forEach(e=>e())}function hy(e){let t;$e.context&&$e.load&&(t=$e.load($e.getContextId()));const[n,r]=Ie(t,void 0);return Hi||(Hi=new Set),Hi.add(r),wt(()=>Hi.delete(r)),Ue(()=>{let a;if(a=n()){const i=e.fallback;return typeof i=="function"&&i.length?Et(()=>i(a,()=>r())):i}return ty(()=>e.children,r)},void 0,void 0)}const py=Lt();function gy(e){let t=0,n,r,a,i,o;const[s,l]=Ie(!1),u=ay(),d={increment:()=>{++t===1&&l(!0)},decrement:()=>{--t===0&&l(!1)},inFallback:s,effects:[],resolved:!1},p=mu();if($e.context&&$e.load){const c=$e.getContextId();let g=$e.load(c);if(g&&(typeof g!="object"||g.s!==1?a=g:$e.gather(c)),a&&a!=="$$f"){const[m,x]=Ie(void 0,{equals:!1});i=m,a.then(()=>{if($e.done)return x();$e.gather(c),ca(r),x(),ca()},v=>{o=v,x()})}}const f=It(py);f&&(n=f.register(d.inFallback));let h;return wt(()=>h&&h()),w(u.Provider,{value:d,get children(){return Ue(()=>{if(o)throw o;if(r=$e.context,i)return i(),i=void 0;r&&a==="$$f"&&ca();const c=Ue(()=>e.children);return Ue(g=>{const m=d.inFallback(),{showContent:x=!0,showFallback:v=!0}=n?n():{};if((!m||a&&a!=="$$f")&&x)return d.resolved=!0,h&&h(),h=r=a=void 0,ry(d.effects),c();if(v)return h?g:da(y=>(h=y,r&&(ca({id:r.id+"F",count:0}),r=void 0),e.fallback),p)})})}})}const my=["allowfullscreen","async","alpha","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","adauctionheaders","browsingtopics","credentialless","defaultchecked","defaultmuted","defaultselected","defer","disablepictureinpicture","disableremoteplayback","preservespitch","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootserializable","sharedstoragewritable"],xy=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","adAuctionHeaders","allowFullscreen","browsingTopics","defaultChecked","defaultMuted","defaultSelected","disablePictureInPicture","disableRemotePlayback","preservesPitch","shadowRootClonable","shadowRootCustomElementRegistry","shadowRootDelegatesFocus","shadowRootSerializable","sharedStorageWritable",...my]),by=new Set(["innerHTML","textContent","innerText","children"]),vy=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),_y=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1},adauctionheaders:{$:"adAuctionHeaders",IFRAME:1},allowfullscreen:{$:"allowFullscreen",IFRAME:1},browsingtopics:{$:"browsingTopics",IMG:1},defaultchecked:{$:"defaultChecked",INPUT:1},defaultmuted:{$:"defaultMuted",AUDIO:1,VIDEO:1},defaultselected:{$:"defaultSelected",OPTION:1},disablepictureinpicture:{$:"disablePictureInPicture",VIDEO:1},disableremoteplayback:{$:"disableRemotePlayback",AUDIO:1,VIDEO:1},preservespitch:{$:"preservesPitch",AUDIO:1,VIDEO:1},shadowrootclonable:{$:"shadowRootClonable",TEMPLATE:1},shadowrootdelegatesfocus:{$:"shadowRootDelegatesFocus",TEMPLATE:1},shadowrootserializable:{$:"shadowRootSerializable",TEMPLATE:1},sharedstoragewritable:{$:"sharedStorageWritable",IFRAME:1,IMG:1}});function yy(e,t){const n=_y[e];return typeof n=="object"?n[t]?n.$:void 0:n}const Ey=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Sy=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Cy={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},ir=e=>Ue(()=>e());function Ty(e,t,n){let r=n.length,a=t.length,i=r,o=0,s=0,l=t[a-1].nextSibling,u=null;for(;o<a||s<i;){if(t[o]===n[s]){o++,s++;continue}for(;t[a-1]===n[i-1];)a--,i--;if(a===o){const d=i<r?s?n[s-1].nextSibling:n[i-s]:l;for(;s<i;)e.insertBefore(n[s++],d)}else if(i===s)for(;o<a;)(!u||!u.has(t[o]))&&t[o].remove(),o++;else if(t[o]===n[i-1]&&n[s]===t[a-1]){const d=t[--a].nextSibling;e.insertBefore(n[s++],t[o++].nextSibling),e.insertBefore(n[--i],d),t[a]=n[i]}else{if(!u){u=new Map;let p=s;for(;p<i;)u.set(n[p],p++)}const d=u.get(t[o]);if(d!=null)if(s<d&&d<i){let p=o,f=1,h;for(;++p<a&&p<i&&!((h=u.get(t[p]))==null||h!==d+f);)f++;if(f>d-s){const c=t[o];for(;s<d;)e.insertBefore(n[s++],c)}else e.replaceChild(n[s++],t[o++])}else o++;else t[o++].remove()}}}const Zf="_$DX_DELEGATE";function wy(e,t,n,r={}){let a;return da(i=>{a=i,t===document?e():ma(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{a(),t.textContent=""}}function Bt(e,t,n,r){let a;const i=()=>{const s=document.createElement("template");return s.innerHTML=e,n?s.content.firstChild.firstChild:s.content.firstChild},o=t?()=>Et(()=>document.importNode(a||(a=i()),!0)):()=>(a||(a=i())).cloneNode(!0);return o.cloneNode=o,o}function cm(e,t=window.document){const n=t[Zf]||(t[Zf]=new Set);for(let r=0,a=e.length;r<a;r++){const i=e[r];n.has(i)||(n.add(i),t.addEventListener(i,My))}}function ht(e,t,n){_i(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function Ay(e,t,n,r){_i(e)||(r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}function ky(e,t,n){_i(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}function dm(e,t){_i(e)||(t==null?e.removeAttribute("class"):e.className=t)}function Oy(e,t,n,r){if(r)Array.isArray(n)?(e["$$".concat(t)]=n[0],e["$$".concat(t,"Data")]=n[1]):e["$$".concat(t)]=n;else if(Array.isArray(n)){const a=n[0];e.addEventListener(t,n[0]=i=>a.call(e,n[1],i))}else e.addEventListener(t,n,typeof n!="function"&&n)}function Iy(e,t,n={}){const r=Object.keys(t||{}),a=Object.keys(n);let i,o;for(i=0,o=a.length;i<o;i++){const s=a[i];!s||s==="undefined"||t[s]||(Jf(e,s,!1),delete n[s])}for(i=0,o=r.length;i<o;i++){const s=r[i],l=!!t[s];!s||s==="undefined"||n[s]===l||!l||(Jf(e,s,!0),n[s]=l)}return n}function Ny(e,t,n){if(!t)return n?ht(e,"style"):t;const r=e.style;if(typeof t=="string")return r.cssText=t;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let a,i;for(i in n)t[i]==null&&r.removeProperty(i),delete n[i];for(i in t)a=t[i],a!==n[i]&&(r.setProperty(i,a),n[i]=a);return n}function RF(e,t,n){n!=null?e.style.setProperty(t,n):e.style.removeProperty(t)}function Ud(e,t={},n,r){const a={};return r||Pn(()=>a.children=vs(e,t.children,a.children)),Pn(()=>typeof t.ref=="function"&&Ly(t.ref,e)),Pn(()=>Ry(e,t,n,!0,a,!0)),a}function Ly(e,t,n){return Et(()=>e(t,n))}function ma(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return vs(e,t,r,n);Pn(a=>vs(e,t(),a,n),r)}function Ry(e,t,n,r,a={},i=!1){t||(t={});for(const o in a)if(!(o in t)){if(o==="children")continue;a[o]=eh(e,o,null,a[o],n,i,t)}for(const o in t){if(o==="children")continue;const s=t[o];a[o]=eh(e,o,s,a[o],n,i,t)}}function Py(e){let t,n;return!_i()||!(t=$e.registry.get(n=By()))?e():($e.completed&&$e.completed.add(t),$e.registry.delete(n),t)}function _i(e){return!!$e.context&&!$e.done&&(!e||e.isConnected)}function Dy(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function Jf(e,t,n){const r=t.trim().split(/\s+/);for(let a=0,i=r.length;a<i;a++)e.classList.toggle(r[a],n)}function eh(e,t,n,r,a,i,o){let s,l,u,d,p;if(t==="style")return Ny(e,n,r);if(t==="classList")return Iy(e,n,r);if(n===r)return r;if(t==="ref")i||n(e);else if(t.slice(0,3)==="on:"){const f=t.slice(3);r&&e.removeEventListener(f,r,typeof r!="function"&&r),n&&e.addEventListener(f,n,typeof n!="function"&&n)}else if(t.slice(0,10)==="oncapture:"){const f=t.slice(10);r&&e.removeEventListener(f,r,!0),n&&e.addEventListener(f,n,!0)}else if(t.slice(0,2)==="on"){const f=t.slice(2).toLowerCase(),h=Ey.has(f);if(!h&&r){const c=Array.isArray(r)?r[0]:r;e.removeEventListener(f,c)}(h||n)&&(Oy(e,f,n,h),h&&cm([f]))}else if(t.slice(0,5)==="attr:")ht(e,t.slice(5),n);else if(t.slice(0,5)==="bool:")ky(e,t.slice(5),n);else if((p=t.slice(0,5)==="prop:")||(u=by.has(t))||!a&&((d=yy(t,e.tagName))||(l=xy.has(t)))||(s=e.nodeName.includes("-")||"is"in o)){if(p)t=t.slice(5),l=!0;else if(_i(e))return n;t==="class"||t==="className"?dm(e,n):s&&!l&&!u?e[Dy(t)]=n:e[d||t]=n}else{const f=a&&t.indexOf(":")>-1&&Cy[t.split(":")[0]];f?Ay(e,f,t,n):ht(e,vy[t]||t,n)}return n}function My(e){if($e.registry&&$e.events&&$e.events.find(([l,u])=>u===e))return;let t=e.target;const n="$$".concat(e.type),r=e.target,a=e.currentTarget,i=l=>Object.defineProperty(e,"target",{configurable:!0,value:l}),o=()=>{const l=t[n];if(l&&!t.disabled){const u=t["".concat(n,"Data")];if(u!==void 0?l.call(t,u,e):l.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&i(t.host),!0},s=()=>{for(;o()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return t||document}}),$e.registry&&!$e.done&&($e.done=_$HY.done=!0),e.composedPath){const l=e.composedPath();i(l[0]);for(let u=0;u<l.length-2&&(t=l[u],!!o());u++){if(t._$host){t=t._$host,s();break}if(t.parentNode===a)break}}else s();i(r)}function vs(e,t,n,r,a){const i=_i(e);if(i){!n&&(n=[...e.childNodes]);let l=[];for(let u=0;u<n.length;u++){const d=n[u];d.nodeType===8&&d.data.slice(0,2)==="!$"?d.remove():l.push(d)}n=l}for(;typeof n=="function";)n=n();if(t===n)return n;const o=typeof t,s=r!==void 0;if(e=s&&n[0]&&n[0].parentNode||e,o==="string"||o==="number"){if(i||o==="number"&&(t=t.toString(),t===n))return n;if(s){let l=n[0];l&&l.nodeType===3?l.data!==t&&(l.data=t):l=document.createTextNode(t),n=Ii(e,n,r,l)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||o==="boolean"){if(i)return n;n=Ii(e,n,r)}else{if(o==="function")return Pn(()=>{let l=t();for(;typeof l=="function";)l=l();n=vs(e,l,n,r)}),()=>n;if(Array.isArray(t)){const l=[],u=n&&Array.isArray(n);if(Y0(l,t,n,a))return Pn(()=>n=vs(e,l,n,r,!0)),()=>n;if(i){if(!l.length)return n;if(r===void 0)return n=[...e.childNodes];let d=l[0];if(d.parentNode!==e)return n;const p=[d];for(;(d=d.nextSibling)!==r;)p.push(d);return n=p}if(l.length===0){if(n=Ii(e,n,r),s)return n}else u?n.length===0?th(e,l,r):Ty(e,n,l):(n&&Ii(e),th(e,l));n=l}else if(t.nodeType){if(i&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=Ii(e,n,r,t);Ii(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function Y0(e,t,n,r){let a=!1;for(let i=0,o=t.length;i<o;i++){let s=t[i],l=n&&n[e.length],u;if(!(s==null||s===!0||s===!1))if((u=typeof s)=="object"&&s.nodeType)e.push(s);else if(Array.isArray(s))a=Y0(e,s,l)||a;else if(u==="function")if(r){for(;typeof s=="function";)s=s();a=Y0(e,Array.isArray(s)?s:[s],Array.isArray(l)?l:[l])||a}else e.push(s),a=!0;else{const d=String(s);l&&l.nodeType===3&&l.data===d?e.push(l):e.push(document.createTextNode(d))}}return a}function th(e,t,n=null){for(let r=0,a=t.length;r<a;r++)e.insertBefore(t[r],n)}function Ii(e,t,n,r){if(n===void 0)return e.textContent="";const a=r||document.createTextNode("");if(t.length){let i=!1;for(let o=t.length-1;o>=0;o--){const s=t[o];if(a!==s){const l=s.parentNode===e;!i&&!o?l?e.replaceChild(a,s):e.insertBefore(a,n):l&&s.remove()}else i=!0}}else e.insertBefore(a,n);return[a]}function By(){return $e.getNextContextId()}const fm=!1,Fy="http://www.w3.org/2000/svg";function hm(e,t=!1,n=void 0){return t?document.createElementNS(Fy,e):document.createElement(e,{is:n})}function Ha(e){const{useShadow:t}=e,n=document.createTextNode(""),r=()=>e.mount||document.body,a=mu();let i,o=!!$e.context;return Kt(()=>{o&&(mu().user=o=!1),i||(i=Hd(a,()=>Ue(()=>e.children)));const s=r();if(s instanceof HTMLHeadElement){const[l,u]=Ie(!1),d=()=>u(!0);da(p=>ma(s,()=>l()?p():i(),null)),wt(d)}else{const l=hm(e.isSVG?"g":"div",e.isSVG),u=t&&l.attachShadow?l.attachShadow({mode:"open"}):l;Object.defineProperty(l,"_$host",{get(){return n.parentNode},configurable:!0}),ma(u,i),s.appendChild(l),e.ref&&e.ref(l),wt(()=>s.removeChild(l))}},void 0,{render:!o}),n}function $y(e,t){const n=Ue(e);return Ue(()=>{const r=n();switch(typeof r){case"function":return Et(()=>r(t));case"string":const a=Sy.has(r),i=$e.context?Py():hm(r,a,Et(()=>t.is));return Ud(i,t,a),i}})}function zd(e){const[,t]=fe(e,["component"]);return $y(()=>e.component,t)}function Hy(e,t,n){return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}function Uy([e,t],n,r){return[e,r?a=>t(r(a)):t]}function zy(e){if(e==="#")return null;try{return document.querySelector(e)}catch(t){return null}}function jy(e,t){const n=zy("#".concat(e));n?n.scrollIntoView():t&&window.scrollTo(0,0)}function qy(e,t,n,r){let a=!1;const i=s=>typeof s=="string"?{value:s}:s,o=Uy(Ie(i(e()),{equals:(s,l)=>s.value===l.value}),void 0,s=>(!a&&t(s),s));return n&&wt(n((s=e())=>{a=!0,o[1](i(s)),a=!1})),{signal:o,utils:r}}function Wy(e){if(e){if(Array.isArray(e))return{signal:e}}else return{signal:Ie({value:""})};return e}function Vy(){return qy(()=>({value:window.location.pathname+window.location.search+window.location.hash,state:history.state}),({value:e,replace:t,scroll:n,state:r})=>{t?window.history.replaceState(r,"",e):window.history.pushState(r,"",e),jy(window.location.hash.slice(1),n)},e=>Hy(window,"popstate",()=>e()),{go:e=>window.history.go(e)})}function Gy(){let e=new Set;function t(a){return e.add(a),()=>e.delete(a)}let n=!1;function r(a,i){if(n)return!(n=!1);const o={to:a,options:i,defaultPrevented:!1,preventDefault:()=>o.defaultPrevented=!0};for(const s of e)s.listener({...o,from:s.location,retry:l=>{l&&(n=!0),s.navigate(a,i)}});return!o.defaultPrevented}return{subscribe:t,confirm:r}}const Ky=/^(?:[a-z0-9]+:)?\/\//i,Yy=/^\/+|(\/)\/+$/g;function ui(e,t=!1){const n=e.replace(Yy,"$1");return n?t||/^[?#]/.test(n)?n:"/"+n:""}function Jl(e,t,n){if(Ky.test(t))return;const r=ui(e),a=n&&ui(n);let i="";return!a||t.startsWith("/")?i=r:a.toLowerCase().indexOf(r.toLowerCase())!==0?i=r+a:i=a,(i||"/")+ui(t,!i)}function Xy(e,t){if(e==null)throw new Error(t);return e}function pm(e,t){return ui(e).replace(/\/*(\*.*)?$/g,"")+ui(t)}function Qy(e){const t={};return e.searchParams.forEach((n,r)=>{t[r]=n}),t}function Zy(e,t,n){const[r,a]=e.split("/*",2),i=r.split("/").filter(Boolean),o=i.length;return s=>{const l=s.split("/").filter(Boolean),u=l.length-o;if(u<0||u>0&&a===void 0&&!t)return null;const d={path:o?"":"/",params:{}},p=f=>n===void 0?void 0:n[f];for(let f=0;f<o;f++){const h=i[f],c=l[f],g=h[0]===":",m=g?h.slice(1):h;if(g&&Yc(c,p(m)))d.params[m]=c;else if(g||!Yc(c,h))return null;d.path+="/".concat(c)}if(a){const f=u?l.slice(-u).join("/"):"";if(Yc(f,p(a)))d.params[a]=f;else return null}return d}}function Yc(e,t){const n=r=>r.localeCompare(e,void 0,{sensitivity:"base"})===0;return t===void 0?!0:typeof t=="string"?n(t):typeof t=="function"?t(e):Array.isArray(t)?t.some(n):t instanceof RegExp?t.test(e):!1}function Jy(e){const[t,n]=e.pattern.split("/*",2),r=t.split("/").filter(Boolean);return r.reduce((a,i)=>a+(i.startsWith(":")?2:3),r.length-(n===void 0?0:1))}function gm(e){const t=new Map,n=mu();return new Proxy({},{get(r,a){return t.has(a)||Hd(n,()=>t.set(a,Ue(()=>e()[a]))),t.get(a)()},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},ownKeys(){return Reflect.ownKeys(e())}})}function eE(e,t){const n=new URLSearchParams(e);Object.entries(t).forEach(([a,i])=>{i==null||i===""?n.delete(a):n.set(a,String(i))});const r=n.toString();return r?"?".concat(r):""}function mm(e){let t=/(\/?\:[^\/]+)\?/.exec(e);if(!t)return[e];let n=e.slice(0,t.index),r=e.slice(t.index+t[0].length);const a=[n,n+=t[1]];for(;t=/^(\/\:[^\/]+)\?/.exec(r);)a.push(n+=t[1]),r=r.slice(t[0].length);return mm(r).reduce((i,o)=>[...i,...a.map(s=>s+o)],[])}const tE=100,xm=Lt(),Gu=Lt(),co=()=>Xy(It(xm),"Make sure your app is wrapped in a <Router />");let _s;const Ku=()=>_s||It(Gu)||co().base,nE=e=>{const t=Ku();return Ue(()=>t.resolvePath(e()))},rE=e=>{const t=co();return Ue(()=>{const n=e();return n!==void 0?t.renderPath(n):n})},aE=()=>co().navigatorFactory(),bm=()=>co().location,iE=()=>co().isRouting,oE=()=>Ku().params;function sE(e,t="",n){const{component:r,data:a,children:i}=e,o=!i||Array.isArray(i)&&!i.length,s={key:e,element:r?()=>w(r,{}):()=>{const{element:l}=e;return l===void 0&&n?w(n,{}):l},preload:e.component?r.preload:e.preload,data:a};return vm(e.path).reduce((l,u)=>{for(const d of mm(u)){const p=pm(t,d),f=o?p:p.split("/*",1)[0];l.push({...s,originalPath:d,pattern:f,matcher:Zy(f,!o,e.matchFilters)})}return l},[])}function lE(e,t=0){return{routes:e,score:Jy(e[e.length-1])*1e4-t,matcher(n){const r=[];for(let a=e.length-1;a>=0;a--){const i=e[a],o=i.matcher(n);if(!o)return null;r.unshift({...o,route:i})}return r}}}function vm(e){return Array.isArray(e)?e:[e]}function _m(e,t="",n,r=[],a=[]){const i=vm(e);for(let o=0,s=i.length;o<s;o++){const l=i[o];if(l&&typeof l=="object"&&l.hasOwnProperty("path")){const u=sE(l,t,n);for(const d of u){r.push(d);const p=Array.isArray(l.children)&&l.children.length===0;if(l.children&&!p)_m(l.children,d.pattern,n,r,a);else{const f=lE([...r],a.length);a.push(f)}r.pop()}}}return r.length?a:a.sort((o,s)=>s.score-o.score)}function uE(e,t){for(let n=0,r=e.length;n<r;n++){const a=e[n].matcher(t);if(a)return a}return[]}function cE(e,t){const n=new URL("http://sar"),r=Ue(l=>{const u=e();try{return new URL(u,n)}catch(d){return console.error("Invalid path ".concat(u)),l}},n,{equals:(l,u)=>l.href===u.href}),a=Ue(()=>r().pathname),i=Ue(()=>r().search,!0),o=Ue(()=>r().hash),s=Ue(()=>"");return{get pathname(){return a()},get search(){return i()},get hash(){return o()},get state(){return t()},get key(){return s()},query:gm(fa(i,()=>Qy(r())))}}function dE(e,t="",n,r){const{signal:[a,i],utils:o={}}=Wy(e),s=o.parsePath||(P=>P),l=o.renderPath||(P=>P),u=o.beforeLeave||Gy(),d=Jl("",t),p=void 0;if(d===void 0)throw new Error("".concat(d," is not a valid base path"));d&&!a().value&&i({value:d,replace:!0,scroll:!1});const[f,h]=Ie(!1),c=async P=>{h(!0);try{await nm(P)}finally{h(!1)}},[g,m]=Ie(a().value),[x,v]=Ie(a().state),y=cE(g,x),_=[],S={pattern:d,params:{},path:()=>d,outlet:()=>null,resolvePath(P){return Jl(d,P)}};if(n)try{_s=S,S.data=n({data:void 0,params:{},location:y,navigate:T(S)})}finally{_s=void 0}function C(P,A,I){Et(()=>{if(typeof A=="number"){A&&(o.go?u.confirm(A,I)&&o.go(A):console.warn("Router integration does not support relative routing"));return}const{replace:$,resolve:W,scroll:G,state:ae}={replace:!1,resolve:!0,scroll:!0,...I},ie=W?P.resolvePath(A):Jl("",A);if(ie===void 0)throw new Error("Path '".concat(A,"' is not a routable path"));if(_.length>=tE)throw new Error("Too many redirects");const Te=g();if((ie!==Te||ae!==x())&&!fm){if(u.confirm(ie,I)){const te=_.push({value:Te,replace:$,scroll:G,state:x()});c(()=>{m(ie),v(ae),fy()}).then(()=>{_.length===te&&R({value:ie,state:ae})})}}})}function T(P){return P=P||It(Gu)||S,(A,I)=>C(P,A,I)}function R(P){const A=_[0];A&&((P.value!==A.value||P.state!==A.state)&&i({...P,replace:A.replace,scroll:A.scroll}),_.length=0)}Pn(()=>{const{value:P,state:A}=a();Et(()=>{P!==g()&&c(()=>{m(P),v(A)})})});{let P=function(A){if(A.defaultPrevented||A.button!==0||A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)return;const I=A.composedPath().find(Te=>Te instanceof Node&&Te.nodeName.toUpperCase()==="A");if(!I||!I.hasAttribute("link"))return;const $=I.href;if(I.target||!$&&!I.hasAttribute("state"))return;const W=(I.getAttribute("rel")||"").split(/\s+/);if(I.hasAttribute("download")||W&&W.includes("external"))return;const G=new URL($);if(G.origin!==window.location.origin||d&&G.pathname&&!G.pathname.toLowerCase().startsWith(d.toLowerCase()))return;const ae=s(G.pathname+G.search+G.hash),ie=I.getAttribute("state");A.preventDefault(),C(S,ae,{resolve:!1,replace:I.hasAttribute("replace"),scroll:!I.hasAttribute("noscroll"),state:ie&&JSON.parse(ie)})};cm(["click"]),document.addEventListener("click",P),wt(()=>document.removeEventListener("click",P))}return{base:S,out:p,location:y,isRouting:f,renderPath:l,parsePath:s,navigatorFactory:T,beforeLeave:u}}function fE(e,t,n,r,a){const{base:i,location:o,navigatorFactory:s}=e,{pattern:l,element:u,preload:d,data:p}=r().route,f=Ue(()=>r().path);d&&d();const h={parent:t,pattern:l,get child(){return n()},path:f,params:a,data:t.data,outlet:u,resolvePath(c){return Jl(i.path(),c,f())}};if(p)try{_s=h,h.data=p({data:t.data,params:a,location:o,navigate:s(h)})}finally{_s=void 0}return h}var hE=Bt("<a link>");const pE=e=>{const{source:t,url:n,base:r,data:a,out:i}=e,o=t||Vy(),s=dE(o,r,a);return w(xm.Provider,{value:s,get children(){return e.children}})},gE=e=>{const t=co(),n=Ku(),r=ba(()=>e.children),a=Ue(()=>_m(r(),pm(n.pattern,e.base||""),mE)),i=Ue(()=>uE(a(),t.location.pathname)),o=gm(()=>{const d=i(),p={};for(let f=0;f<d.length;f++)Object.assign(p,d[f].params);return p});t.out&&t.out.matches.push(i().map(({route:d,path:p,params:f})=>({originalPath:d.originalPath,pattern:d.pattern,path:p,params:f})));const s=[];let l;const u=Ue(fa(i,(d,p,f)=>{let h=p&&d.length===p.length;const c=[];for(let g=0,m=d.length;g<m;g++){const x=p&&p[g],v=d[g];f&&x&&v.route.key===x.route.key?c[g]=f[g]:(h=!1,s[g]&&s[g](),da(y=>{s[g]=y,c[g]=fE(t,c[g-1]||n,()=>u()[g+1],()=>i()[g],o)}))}return s.splice(d.length).forEach(g=>g()),f&&h?f:(l=c[0],c)}));return w(Re,{get when(){return u()&&l},keyed:!0,children:d=>w(Gu.Provider,{value:d,get children(){return d.outlet()}})})},Do=e=>{const t=ba(()=>e.children);return X(e,{get children(){return t()}})},mE=()=>{const e=Ku();return w(Re,{get when(){return e.child},keyed:!0,children:t=>w(Gu.Provider,{value:t,get children(){return t.outlet()}})})};function PF(e){e=X({inactiveClass:"inactive",activeClass:"active"},e);const[,t]=fe(e,["href","state","class","activeClass","inactiveClass","end"]),n=nE(()=>e.href),r=rE(n),a=bm(),i=Ue(()=>{const o=n();if(o===void 0)return!1;const s=ui(o.split(/[?#]/,1)[0]).toLowerCase(),l=ui(a.pathname).toLowerCase();return e.end?s===l:l.startsWith(s)});return(()=>{var o=hE();return Ud(o,X(t,{get href(){return r()||e.href},get state(){return JSON.stringify(e.state)},get classList(){return{...e.class&&{[e.class]:!0},[e.inactiveClass]:!i(),[e.activeClass]:i(),...t.classList}},get"aria-current"(){return i()?"page":void 0}}),!1,!1),o})()}const _u=Symbol("store-raw"),Wi=Symbol("store-node"),oa=Symbol("store-has"),ym=Symbol("store-self");function Em(e){let t=e[Dr];if(!t&&(Object.defineProperty(e,Dr,{value:t=new Proxy(e,vE)}),!Array.isArray(e))){const n=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let a=0,i=n.length;a<i;a++){const o=n[a];r[o].get&&Object.defineProperty(e,o,{enumerable:r[o].enumerable,get:r[o].get.bind(t)})}}return t}function Ji(e){let t;return e!=null&&typeof e=="object"&&(e[Dr]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function eo(e,t=new Set){let n,r,a,i;if(n=e!=null&&e[_u])return n;if(!Ji(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let o=0,s=e.length;o<s;o++)a=e[o],(r=eo(a,t))!==a&&(e[o]=r)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const o=Object.keys(e),s=Object.getOwnPropertyDescriptors(e);for(let l=0,u=o.length;l<u;l++)i=o[l],!s[i].get&&(a=e[i],(r=eo(a,t))!==a&&(e[i]=r))}return e}function yu(e,t){let n=e[t];return n||Object.defineProperty(e,t,{value:n=Object.create(null)}),n}function ys(e,t,n){if(e[t])return e[t];const[r,a]=Ie(n,{equals:!1,internal:!0});return r.$=a,e[t]=r}function xE(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return!n||n.get||!n.configurable||t===Dr||t===Wi||(delete n.value,delete n.writable,n.get=()=>e[Dr][t]),n}function Sm(e){W0()&&ys(yu(e,Wi),ym)()}function bE(e){return Sm(e),Reflect.ownKeys(e)}const vE={get(e,t,n){if(t===_u)return e;if(t===Dr)return n;if(t===ms)return Sm(e),n;const r=yu(e,Wi),a=r[t];let i=a?a():e[t];if(t===Wi||t===oa||t==="__proto__")return i;if(!a){const o=Object.getOwnPropertyDescriptor(e,t);W0()&&(typeof i!="function"||e.hasOwnProperty(t))&&!(o&&o.get)&&(i=ys(r,t,i)())}return Ji(i)?Em(i):i},has(e,t){return t===_u||t===Dr||t===ms||t===Wi||t===oa||t==="__proto__"?!0:(W0()&&ys(yu(e,oa),t)(),t in e)},set(){return!0},deleteProperty(){return!0},ownKeys:bE,getOwnPropertyDescriptor:xE};function to(e,t,n,r=!1){if(!r&&e[t]===n)return;const a=e[t],i=e.length;n===void 0?(delete e[t],e[oa]&&e[oa][t]&&a!==void 0&&e[oa][t].$()):(e[t]=n,e[oa]&&e[oa][t]&&a===void 0&&e[oa][t].$());let o=yu(e,Wi),s;if((s=ys(o,t,a))&&s.$(()=>n),Array.isArray(e)&&e.length!==i){for(let l=e.length;l<i;l++)(s=o[l])&&s.$();(s=ys(o,"length",i))&&s.$(e.length)}(s=o[ym])&&s.$()}function Cm(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r+=1){const a=n[r];to(e,a,t[a])}}function _E(e,t){if(typeof t=="function"&&(t=t(e)),t=eo(t),Array.isArray(t)){if(e===t)return;let n=0,r=t.length;for(;n<r;n++){const a=t[n];e[n]!==a&&to(e,n,a)}to(e,"length",r)}else Cm(e,t)}function Zo(e,t,n=[]){let r,a=e;if(t.length>1){r=t.shift();const o=typeof r,s=Array.isArray(e);if(Array.isArray(r)){for(let l=0;l<r.length;l++)Zo(e,[r[l]].concat(t),n);return}else if(s&&o==="function"){for(let l=0;l<e.length;l++)r(e[l],l)&&Zo(e,[l].concat(t),n);return}else if(s&&o==="object"){const{from:l=0,to:u=e.length-1,by:d=1}=r;for(let p=l;p<=u;p+=d)Zo(e,[p].concat(t),n);return}else if(t.length>1){Zo(e[r],t,[r].concat(n));return}a=e[r],n=[r].concat(n)}let i=t[0];typeof i=="function"&&(i=i(a,n),i===a)||r===void 0&&i==null||(i=eo(i),r===void 0||Ji(a)&&Ji(i)&&!Array.isArray(i)?Cm(a,i):to(e,r,i))}function bn(...[e,t]){const n=eo(e||{}),r=Array.isArray(n),a=Em(n);function i(...o){bs(()=>{r&&o.length===1?_E(n,o[0]):Zo(n,o)})}return[a,i]}const Eu=new WeakMap,Tm={get(e,t){if(t===_u)return e;const n=e[t];let r;return Ji(n)?Eu.get(n)||(Eu.set(n,r=new Proxy(n,Tm)),r):n},set(e,t,n){return to(e,t,eo(n)),!0},deleteProperty(e,t){return to(e,t,void 0,!0),!0}};function wm(e){return t=>{if(Ji(t)){let n;(n=Eu.get(t))||Eu.set(t,n=new Proxy(t,Tm)),e(n)}return t}}var Tt="colors",In="sizes",Le="space",Am={gap:Le,gridGap:Le,columnGap:Le,gridColumnGap:Le,rowGap:Le,gridRowGap:Le,inset:Le,insetBlock:Le,insetBlockEnd:Le,insetBlockStart:Le,insetInline:Le,insetInlineEnd:Le,insetInlineStart:Le,margin:Le,marginTop:Le,marginRight:Le,marginBottom:Le,marginLeft:Le,marginBlock:Le,marginBlockEnd:Le,marginBlockStart:Le,marginInline:Le,marginInlineEnd:Le,marginInlineStart:Le,padding:Le,paddingTop:Le,paddingRight:Le,paddingBottom:Le,paddingLeft:Le,paddingBlock:Le,paddingBlockEnd:Le,paddingBlockStart:Le,paddingInline:Le,paddingInlineEnd:Le,paddingInlineStart:Le,top:Le,right:Le,bottom:Le,left:Le,scrollMargin:Le,scrollMarginTop:Le,scrollMarginRight:Le,scrollMarginBottom:Le,scrollMarginLeft:Le,scrollMarginX:Le,scrollMarginY:Le,scrollMarginBlock:Le,scrollMarginBlockEnd:Le,scrollMarginBlockStart:Le,scrollMarginInline:Le,scrollMarginInlineEnd:Le,scrollMarginInlineStart:Le,scrollPadding:Le,scrollPaddingTop:Le,scrollPaddingRight:Le,scrollPaddingBottom:Le,scrollPaddingLeft:Le,scrollPaddingX:Le,scrollPaddingY:Le,scrollPaddingBlock:Le,scrollPaddingBlockEnd:Le,scrollPaddingBlockStart:Le,scrollPaddingInline:Le,scrollPaddingInlineEnd:Le,scrollPaddingInlineStart:Le,fontSize:"fontSizes",background:Tt,backgroundColor:Tt,backgroundImage:Tt,borderImage:Tt,border:Tt,borderBlock:Tt,borderBlockEnd:Tt,borderBlockStart:Tt,borderBottom:Tt,borderBottomColor:Tt,borderColor:Tt,borderInline:Tt,borderInlineEnd:Tt,borderInlineStart:Tt,borderLeft:Tt,borderLeftColor:Tt,borderRight:Tt,borderRightColor:Tt,borderTop:Tt,borderTopColor:Tt,caretColor:Tt,color:Tt,columnRuleColor:Tt,fill:Tt,outline:Tt,outlineColor:Tt,stroke:Tt,textDecorationColor:Tt,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:In,minBlockSize:In,maxBlockSize:In,inlineSize:In,minInlineSize:In,maxInlineSize:In,width:In,minWidth:In,maxWidth:In,height:In,minHeight:In,maxHeight:In,flexBasis:In,gridTemplateColumns:In,gridTemplateRows:In,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},yE=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,Bs=()=>{const e=Object.create(null);return(t,n,...r)=>{const a=(i=>JSON.stringify(i,yE))(t);return a in e?e[a]:e[a]=n(t,...r)}},eu=Symbol.for("sxs.internal"),jd=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),nh=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:EE}=Object.prototype,X0=e=>e.includes("-")?e:e.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase())),SE=/\s+(?![^()]*\))/,Ni=e=>t=>e(...typeof t=="string"?String(t).split(SE):[t]),rh={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:'"'.concat(e,'"')}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:Ni(((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e}))),marginInline:Ni(((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e}))),maxSize:Ni(((e,t)=>({maxBlockSize:e,maxInlineSize:t||e}))),minSize:Ni(((e,t)=>({minBlockSize:e,minInlineSize:t||e}))),paddingBlock:Ni(((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e}))),paddingInline:Ni(((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e})))},Xc=/([\d.]+)([^]*)/,CE=(e,t)=>e.length?e.reduce(((n,r)=>(n.push(...t.map((a=>a.includes("&")?a.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(a)?":is(".concat(r,")"):r):r+" "+a))),n)),[]):t,TE=(e,t)=>e in wE&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,((n,r,a,i)=>r+(a==="stretch"?"-moz-available".concat(i,";").concat(X0(e),":").concat(r,"-webkit-fill-available"):"-moz-fit-content".concat(i,";").concat(X0(e),":").concat(r,"fit-content"))+i)):String(t),wE={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},xa=e=>e?e+"-":"",km=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,((r,a,i,o,s)=>o=="$"==!!i?r:(a||o=="--"?"calc(":"")+"var(--"+(o==="$"?xa(t)+(s.includes("$")?"":xa(n))+s.replace(/\$/g,"-"):s)+")"+(a||o=="--"?"*"+(a||"")+(i||"1")+")":""))),AE=/\s*,\s*(?![^()]*\))/,kE=Object.prototype.toString,Ui=(e,t,n,r,a)=>{let i,o,s;const l=(u,d,p)=>{let f,h;const c=g=>{for(f in g){const v=f.charCodeAt(0)===64,y=v&&Array.isArray(g[f])?g[f]:[g[f]];for(h of y){const _=/[A-Z]/.test(x=f)?x:x.replace(/-[^]/g,(C=>C[1].toUpperCase())),S=typeof h=="object"&&h&&h.toString===kE&&(!r.utils[_]||!d.length);if(_ in r.utils&&!S){const C=r.utils[_];if(C!==o){o=C,c(C(h)),o=null;continue}}else if(_ in rh){const C=rh[_];if(C!==s){s=C,c(C(h)),s=null;continue}}if(v&&(m=f.slice(1)in r.media?"@media "+r.media[f.slice(1)]:f,f=m.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,((C,T,R,P,A,I)=>{const $=Xc.test(T),W=.0625*($?-1:1),[G,ae]=$?[P,T]:[T,P];return"("+(R[0]==="="?"":R[0]===">"===$?"max-":"min-")+G+":"+(R[0]!=="="&&R.length===1?ae.replace(Xc,((ie,Te,te)=>Number(Te)+W*(R===">"?1:-1)+te)):ae)+(A?") and ("+(A[0]===">"?"min-":"max-")+G+":"+(A.length===1?I.replace(Xc,((ie,Te,te)=>Number(Te)+W*(A===">"?-1:1)+te)):I):"")+")"}))),S){const C=v?p.concat(f):[...p],T=v?[...d]:CE(d,f.split(AE));i!==void 0&&a(ah(...i)),i=void 0,l(h,T,C)}else i===void 0&&(i=[[],d,p]),f=v||f.charCodeAt(0)!==36?f:"--".concat(xa(r.prefix)).concat(f.slice(1).replace(/\$/g,"-")),h=S?h:typeof h=="number"?h&&_ in OE?String(h)+"px":String(h):km(TE(_,h==null?"":h),r.prefix,r.themeMap[_]),i[0].push("".concat(v?"".concat(f," "):"".concat(X0(f),":")).concat(h))}}var m,x};c(u),i!==void 0&&a(ah(...i)),i=void 0};l(e,t,n)},ah=(e,t,n)=>"".concat(n.map((r=>"".concat(r,"{"))).join("")).concat(t.length?"".concat(t.join(","),"{"):"").concat(e.join(";")).concat(t.length?"}":"").concat(Array(n.length?n.length+1:0).join("}")),OE={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},ih=e=>String.fromCharCode(e+(e>25?39:97)),ci=e=>(t=>{let n,r="";for(n=Math.abs(t);n>52;n=n/52|0)r=ih(n%52)+r;return ih(n%52)+r})(((t,n)=>{let r=n.length;for(;r;)t=33*t^n.charCodeAt(--r);return t})(5381,JSON.stringify(e))>>>0),Jo=["themed","global","styled","onevar","resonevar","allvar","inline"],IE=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch(t){return!1}},NE=e=>{let t;const n=()=>{const{cssRules:a}=t.sheet;return[].map.call(a,((i,o)=>{const{cssText:s}=i;let l="";if(s.startsWith("--sxs"))return"";if(a[o-1]&&(l=a[o-1].cssText).startsWith("--sxs")){if(!i.cssRules.length)return"";for(const u in t.rules)if(t.rules[u].group===i)return"--sxs{--sxs:".concat([...t.rules[u].cache].join(" "),"}").concat(s);return i.cssRules.length?"".concat(l).concat(s):""}return s})).join("")},r=()=>{if(t){const{rules:s,sheet:l}=t;if(!l.deleteRule){for(;Object(Object(l.cssRules)[0]).type===3;)l.cssRules.splice(0,1);l.cssRules=[]}for(const u in s)delete s[u]}const a=Object(e).styleSheets||[];for(const s of a)if(IE(s)){for(let l=0,u=s.cssRules;u[l];++l){const d=Object(u[l]);if(d.type!==1)continue;const p=Object(u[l+1]);if(p.type!==4)continue;++l;const{cssText:f}=d;if(!f.startsWith("--sxs"))continue;const h=f.slice(14,-3).trim().split(/\s+/),c=Jo[h[0]];c&&(t||(t={sheet:s,reset:r,rules:{},toString:n}),t.rules[c]={group:p,index:l,cache:new Set(h)})}if(t)break}if(!t){const s=(l,u)=>({type:u,cssRules:[],insertRule(d,p){this.cssRules.splice(p,0,s(d,{import:3,undefined:1}[(d.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return l==="@media{}"?"@media{".concat([].map.call(this.cssRules,(d=>d.cssText)).join(""),"}"):l}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:s("","text/css"),rules:{},reset:r,toString:n}}const{sheet:i,rules:o}=t;for(let s=Jo.length-1;s>=0;--s){const l=Jo[s];if(!o[l]){const u=Jo[s+1],d=o[u]?o[u].index:i.cssRules.length;i.insertRule("@media{}",d),i.insertRule("--sxs{--sxs:".concat(s,"}"),d),o[l]={group:i.cssRules[d+1],index:d,cache:new Set([s])}}LE(o[l])}};return r(),t},LE=e=>{const t=e.group;let n=t.cssRules.length;e.apply=r=>{try{t.insertRule(r,n),++n}catch(a){}}},Mo=Symbol(),RE=Bs(),PE=(e,t)=>RE(e,(()=>(...n)=>{let r={type:null,composers:new Set};for(const a of n)if(a!=null)if(a[eu]){r.type==null&&(r.type=a[eu].type);for(const i of a[eu].composers)r.composers.add(i)}else a.constructor!==Object||a.$$typeof?r.type==null&&(r.type=a):r.composers.add(DE(a,e));return r.type==null&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),ME(e,r,t)})),DE=({variants:e,compoundVariants:t,defaultVariants:n,...r},a)=>{const i="".concat(xa(a.prefix),"c-").concat(ci(r)),o=[],s=[],l=Object.create(null),u=[];for(const f in n)l[f]=String(n[f]);if(typeof e=="object"&&e)for(const f in e){d=l,p=f,EE.call(d,p)||(l[f]="undefined");const h=e[f];for(const c in h){const g={[f]:String(c)};String(c)==="undefined"&&u.push(f);const m=h[c],x=[g,m,!nh(m)];o.push(x)}}var d,p;if(typeof t=="object"&&t)for(const f of t){let{css:h,...c}=f;h=typeof h=="object"&&h||{};for(const m in c)c[m]=String(c[m]);const g=[c,h,!nh(h)];s.push(g)}return[i,r,o,s,l,u]},ME=(e,t,n)=>{const[r,a,i,o]=BE(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(p=>{function f(){for(let h=0;h<f[Mo].length;h++){const[c,g]=f[Mo][h];p.rules[c].apply(g)}return f[Mo]=[],null}return f[Mo]=[],f.rules={},Jo.forEach((h=>f.rules[h]={apply:c=>f[Mo].push([h,c])})),f})(n):null,l=(s||n).rules,u=".".concat(r).concat(a.length>1?":where(.".concat(a.slice(1).join("."),")"):""),d=p=>{p=typeof p=="object"&&p||FE;const{css:f,...h}=p,c={};for(const x in i)if(delete h[x],x in p){let v=p[x];typeof v=="object"&&v?c[x]={"@initial":i[x],...v}:(v=String(v),c[x]=v!=="undefined"||o.has(x)?v:i[x])}else c[x]=i[x];const g=new Set([...a]);for(const[x,v,y,_]of t.composers){n.rules.styled.cache.has(x)||(n.rules.styled.cache.add(x),Ui(v,[".".concat(x)],[],e,(T=>{l.styled.apply(T)})));const S=oh(y,c,e.media),C=oh(_,c,e.media,!0);for(const T of S)if(T!==void 0)for(const[R,P,A]of T){const I="".concat(x,"-").concat(ci(P),"-").concat(R);g.add(I);const $=(A?n.rules.resonevar:n.rules.onevar).cache,W=A?l.resonevar:l.onevar;$.has(I)||($.add(I),Ui(P,[".".concat(I)],[],e,(G=>{W.apply(G)})))}for(const T of C)if(T!==void 0)for(const[R,P]of T){const A="".concat(x,"-").concat(ci(P),"-").concat(R);g.add(A),n.rules.allvar.cache.has(A)||(n.rules.allvar.cache.add(A),Ui(P,[".".concat(A)],[],e,(I=>{l.allvar.apply(I)})))}}if(typeof f=="object"&&f){const x="".concat(r,"-i").concat(ci(f),"-css");g.add(x),n.rules.inline.cache.has(x)||(n.rules.inline.cache.add(x),Ui(f,[".".concat(x)],[],e,(v=>{l.inline.apply(v)})))}for(const x of String(p.className||"").trim().split(/\s+/))x&&g.add(x);const m=h.className=[...g].join(" ");return{type:t.type,className:m,selector:u,props:h,toString:()=>m,deferredInjector:s}};return jd(d,{className:r,selector:u,[eu]:t,toString:()=>(n.rules.styled.cache.has(r)||d(),r)})},BE=e=>{let t="";const n=[],r={},a=[];for(const[i,,,,o,s]of e){t===""&&(t=i),n.push(i),a.push(...s);for(const l in o){const u=o[l];(r[l]===void 0||u!=="undefined"||s.includes(u))&&(r[l]=u)}}return[t,n,r,new Set(a)]},oh=(e,t,n,r)=>{const a=[];e:for(let[i,o,s]of e){if(s)continue;let l,u=0,d=!1;for(l in i){const p=i[l];let f=t[l];if(f!==p){if(typeof f!="object"||!f)continue e;{let h,c,g=0;for(const m in f){if(p===String(f[m])){if(m!=="@initial"){const x=m.slice(1);(c=c||[]).push(x in n?n[x]:m.replace(/^@media ?/,"")),d=!0}u+=g,h=!0}++g}if(c&&c.length&&(o={["@media "+c.join(", ")]:o}),!h)continue e}}}(a[u]=a[u]||[]).push([r?"cv":"".concat(l,"-").concat(i[l]),o,d])}return a},FE={},$E=Bs(),HE=(e,t)=>$E(e,(()=>(...n)=>{const r=()=>{for(let a of n){a=typeof a=="object"&&a||{};let i=ci(a);if(!t.rules.global.cache.has(i)){if(t.rules.global.cache.add(i),"@import"in a){let o=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let s of[].concat(a["@import"]))s=s.includes('"')||s.includes("'")?s:'"'.concat(s,'"'),t.sheet.insertRule("@import ".concat(s,";"),o++);delete a["@import"]}Ui(a,[],[],e,(o=>{t.rules.global.apply(o)}))}}return""};return jd(r,{toString:r})})),UE=Bs(),zE=(e,t)=>UE(e,(()=>n=>{const r="".concat(xa(e.prefix),"k-").concat(ci(n)),a=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const i=[];Ui(n,[],[],e,(s=>i.push(s)));const o="@keyframes ".concat(r,"{").concat(i.join(""),"}");t.rules.global.apply(o)}return r};return jd(a,{get name(){return a()},toString:a})})),jE=class{constructor(e,t,n,r){this.token=e==null?"":String(e),this.value=t==null?"":String(t),this.scale=n==null?"":String(n),this.prefix=r==null?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+xa(this.prefix)+xa(this.scale)+this.token}toString(){return this.computedValue}},qE=Bs(),WE=(e,t)=>qE(e,(()=>(n,r)=>{r=typeof n=="object"&&n||Object(r);const a=".".concat(n=(n=typeof n=="string"?n:"")||"".concat(xa(e.prefix),"t-").concat(ci(r))),i={},o=[];for(const l in r){i[l]={};for(const u in r[l]){const d="--".concat(xa(e.prefix)).concat(l,"-").concat(u),p=km(String(r[l][u]),e.prefix,l);i[l][u]=new jE(u,p,l,e.prefix),o.push("".concat(d,":").concat(p))}}const s=()=>{if(o.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const l="".concat(r===e.theme?":root,":"",".").concat(n,"{").concat(o.join(";"),"}");t.rules.themed.apply(l)}return n};return{...i,get className(){return s()},selector:a,toString:s}})),VE=Bs(),GE=e=>{let t=!1;const n=VE(e,(r=>{t=!0;const a="prefix"in(r=typeof r=="object"&&r||{})?String(r.prefix):"",i=typeof r.media=="object"&&r.media||{},o=typeof r.root=="object"?r.root||null:globalThis.document||null,s=typeof r.theme=="object"&&r.theme||{},l={prefix:a,media:i,theme:s,themeMap:typeof r.themeMap=="object"&&r.themeMap||{...Am},utils:typeof r.utils=="object"&&r.utils||{}},u=NE(o),d={css:PE(l,u),globalCss:HE(l,u),keyframes:zE(l,u),createTheme:WE(l,u),reset(){u.reset(),d.theme.toString()},theme:{},sheet:u,config:l,prefix:a,getCssText:u.toString,toString:u.toString};return String(d.theme=d.createTheme(s)),d}));return t||n.reset(),n},cl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function DF(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var es={exports:{}};es.exports;var sh;function KE(){return sh||(sh=1,(function(e,t){var n=200,r="__lodash_hash_undefined__",a=800,i=16,o=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",p="[object Date]",f="[object Error]",h="[object Function]",c="[object GeneratorFunction]",g="[object Map]",m="[object Number]",x="[object Null]",v="[object Object]",y="[object Proxy]",_="[object RegExp]",S="[object Set]",C="[object String]",T="[object Undefined]",R="[object WeakMap]",P="[object ArrayBuffer]",A="[object DataView]",I="[object Float32Array]",$="[object Float64Array]",W="[object Int8Array]",G="[object Int16Array]",ae="[object Int32Array]",ie="[object Uint8Array]",Te="[object Uint8ClampedArray]",te="[object Uint16Array]",Fe="[object Uint32Array]",Oe=/[\\^$.*+?()[\]{}|]/g,O=/^\[object .+?Constructor\]$/,B=/^(?:0|[1-9]\d*)$/,xe={};xe[I]=xe[$]=xe[W]=xe[G]=xe[ae]=xe[ie]=xe[Te]=xe[te]=xe[Fe]=!0,xe[s]=xe[l]=xe[P]=xe[d]=xe[A]=xe[p]=xe[f]=xe[h]=xe[g]=xe[m]=xe[v]=xe[_]=xe[S]=xe[C]=xe[R]=!1;var Pe=typeof cl=="object"&&cl&&cl.Object===Object&&cl,ct=typeof self=="object"&&self&&self.Object===Object&&self,nt=Pe||ct||Function("return this")(),rt=t&&!t.nodeType&&t,lt=rt&&!0&&e&&!e.nodeType&&e,vt=lt&&lt.exports===rt,se=vt&&Pe.process,we=(function(){try{var M=lt&&lt.require&&lt.require("util").types;return M||se&&se.binding&&se.binding("util")}catch(U){}})(),Qe=we&&we.isTypedArray;function pt(M,U,Y){switch(Y.length){case 0:return M.call(U);case 1:return M.call(U,Y[0]);case 2:return M.call(U,Y[0],Y[1]);case 3:return M.call(U,Y[0],Y[1],Y[2])}return M.apply(U,Y)}function Dn(M,U){for(var Y=-1,Me=Array(M);++Y<M;)Me[Y]=U(Y);return Me}function Er(M){return function(U){return M(U)}}function qe(M,U){return M==null?void 0:M[U]}function fn(M,U){return function(Y){return M(U(Y))}}var Kn=Array.prototype,Sr=Function.prototype,Qt=Object.prototype,vn=nt["__core-js_shared__"],Mn=Sr.toString,dn=Qt.hasOwnProperty,On=(function(){var M=/[^.]+$/.exec(vn&&vn.keys&&vn.keys.IE_PROTO||"");return M?"Symbol(src)_1."+M:""})(),sr=Qt.toString,$r=Mn.call(Object),J=RegExp("^"+Mn.call(dn).replace(Oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=vt?nt.Buffer:void 0,L=nt.Symbol,ne=nt.Uint8Array;j&&j.allocUnsafe;var le=fn(Object.getPrototypeOf,Object),Ae=Object.create,Vt=Qt.propertyIsEnumerable,Yt=Kn.splice,Ft=L?L.toStringTag:void 0,hn=(function(){try{var M=Ur(Object,"defineProperty");return M({},"",{}),M}catch(U){}})(),St=j?j.isBuffer:void 0,lr=Math.max,dt=Date.now,Ca=Ur(nt,"Map"),Cr=Ur(Object,"create"),ea=(function(){function M(){}return function(U){if(!Va(U))return{};if(Ae)return Ae(U);M.prototype=U;var Y=new M;return M.prototype=void 0,Y}})();function ta(M){var U=-1,Y=M==null?0:M.length;for(this.clear();++U<Y;){var Me=M[U];this.set(Me[0],Me[1])}}function ko(){this.__data__=Cr?Cr(null):{},this.size=0}function rl(M){var U=this.has(M)&&delete this.__data__[M];return this.size-=U?1:0,U}function Uc(M){var U=this.__data__;if(Cr){var Y=U[M];return Y===r?void 0:Y}return dn.call(U,M)?U[M]:void 0}function zc(M){var U=this.__data__;return Cr?U[M]!==void 0:dn.call(U,M)}function al(M,U){var Y=this.__data__;return this.size+=this.has(M)?0:1,Y[M]=Cr&&U===void 0?r:U,this}ta.prototype.clear=ko,ta.prototype.delete=rl,ta.prototype.get=Uc,ta.prototype.has=zc,ta.prototype.set=al;function ur(M){var U=-1,Y=M==null?0:M.length;for(this.clear();++U<Y;){var Me=M[U];this.set(Me[0],Me[1])}}function il(){this.__data__=[],this.size=0}function Oo(M){var U=this.__data__,Y=ye(U,M);if(Y<0)return!1;var Me=U.length-1;return Y==Me?U.pop():Yt.call(U,Y,1),--this.size,!0}function ol(M){var U=this.__data__,Y=ye(U,M);return Y<0?void 0:U[Y][1]}function Ai(M){return ye(this.__data__,M)>-1}function Tr(M,U){var Y=this.__data__,Me=ye(Y,M);return Me<0?(++this.size,Y.push([M,U])):Y[Me][1]=U,this}ur.prototype.clear=il,ur.prototype.delete=Oo,ur.prototype.get=ol,ur.prototype.has=Ai,ur.prototype.set=Tr;function Hr(M){var U=-1,Y=M==null?0:M.length;for(this.clear();++U<Y;){var Me=M[U];this.set(Me[0],Me[1])}}function jc(){this.size=0,this.__data__={hash:new ta,map:new(Ca||ur),string:new ta}}function qc(M){var U=cr(this,M).delete(M);return this.size-=U?1:0,U}function sl(M){return cr(this,M).get(M)}function ll(M){return cr(this,M).has(M)}function E(M,U){var Y=cr(this,M),Me=Y.size;return Y.set(M,U),this.size+=Y.size==Me?0:1,this}Hr.prototype.clear=jc,Hr.prototype.delete=qc,Hr.prototype.get=sl,Hr.prototype.has=ll,Hr.prototype.set=E;function k(M){var U=this.__data__=new ur(M);this.size=U.size}function H(){this.__data__=new ur,this.size=0}function V(M){var U=this.__data__,Y=U.delete(M);return this.size=U.size,Y}function oe(M){return this.__data__.get(M)}function z(M){return this.__data__.has(M)}function re(M,U){var Y=this.__data__;if(Y instanceof ur){var Me=Y.__data__;if(!Ca||Me.length<n-1)return Me.push([M,U]),this.size=++Y.size,this;Y=this.__data__=new Hr(Me)}return Y.set(M,U),this.size=Y.size,this}k.prototype.clear=H,k.prototype.delete=V,k.prototype.get=oe,k.prototype.has=z,k.prototype.set=re;function ee(M,U){var Y=ft(M),Me=!Y&&mt(M),ut=!Y&&!Me&&dr(M),kt=!Y&&!Me&&!ut&&qf(M),jt=Y||Me||ut||kt,xt=jt?Dn(M.length,String):[],qt=xt.length;for(var kr in M)jt&&(kr=="length"||ut&&(kr=="offset"||kr=="parent")||kt&&(kr=="buffer"||kr=="byteLength"||kr=="byteOffset")||ot(kr,qt))||xt.push(kr);return xt}function he(M,U,Y){(Y!==void 0&&!ze(M[U],Y)||Y===void 0&&!(U in M))&&ke(M,U,Y)}function _e(M,U,Y){var Me=M[U];(!(dn.call(M,U)&&ze(Me,Y))||Y===void 0&&!(U in M))&&ke(M,U,Y)}function ye(M,U){for(var Y=M.length;Y--;)if(ze(M[Y][0],U))return Y;return-1}function ke(M,U,Y){U=="__proto__"&&hn?hn(M,U,{configurable:!0,enumerable:!0,value:Y,writable:!0}):M[U]=Y}var je=nn();function it(M){return M==null?M===void 0?T:x:Ft&&Ft in Object(M)?wr(M):At(M)}function Ge(M){return Ro(M)&&it(M)==s}function Rt(M){if(!Va(M)||Ve(M))return!1;var U=qa(M)?J:O;return U.test(Ne(M))}function _n(M){return Ro(M)&&Wa(M.length)&&!!xe[it(M)]}function yn(M){if(!Va(M))return rn(M);var U=Io(M),Y=[];for(var Me in M)Me=="constructor"&&(U||!dn.call(M,Me))||Y.push(Me);return Y}function tn(M,U,Y,Me,ut){M!==U&&je(U,function(kt,jt){if(ut||(ut=new k),Va(kt))Se(M,U,jt,Y,tn,Me,ut);else{var xt=Me?Me(Ar(M,jt),kt,jt+"",M,U,ut):void 0;xt===void 0&&(xt=kt),he(M,jt,xt)}},Wf)}function Se(M,U,Y,Me,ut,kt,jt){var xt=Ar(M,Y),qt=Ar(U,Y),kr=jt.get(qt);if(kr){he(M,Y,kr);return}var Yn=kt?kt(xt,qt,Y+"",M,U,jt):void 0,Po=Yn===void 0;if(Po){var Wc=ft(qt),Vc=!Wc&&dr(qt),Gf=!Wc&&!Vc&&qf(qt);Yn=qt,Wc||Vc||Gf?ft(xt)?Yn=xt:En(xt)?Yn=zt(xt):Vc?(Po=!1,Yn=Pt(qt)):Gf?(Po=!1,Yn=gt(qt)):Yn=[]:G_(qt)||mt(qt)?(Yn=xt,mt(xt)?Yn=K_(xt):(!Va(xt)||qa(xt))&&(Yn=Ta(qt))):Po=!1}Po&&(jt.set(qt,Yn),ut(Yn,qt,Me,kt,jt),jt.delete(qt)),he(M,Y,Yn)}function De(M,U){return No(Oi(M,U,Vf),M+"")}var We=hn?function(M,U){return hn(M,"toString",{configurable:!0,enumerable:!1,value:X_(U),writable:!0})}:Vf;function Pt(M,U){return M.slice()}function Ct(M){var U=new M.constructor(M.byteLength);return new ne(U).set(new ne(M)),U}function gt(M,U){var Y=Ct(M.buffer);return new M.constructor(Y,M.byteOffset,M.length)}function zt(M,U){var Y=-1,Me=M.length;for(U||(U=Array(Me));++Y<Me;)U[Y]=M[Y];return U}function Gt(M,U,Y,Me){var ut=!Y;Y||(Y={});for(var kt=-1,jt=U.length;++kt<jt;){var xt=U[kt],qt=void 0;qt===void 0&&(qt=M[xt]),ut?ke(Y,xt,qt):_e(Y,xt,qt)}return Y}function _t(M){return De(function(U,Y){var Me=-1,ut=Y.length,kt=ut>1?Y[ut-1]:void 0,jt=ut>2?Y[2]:void 0;for(kt=M.length>3&&typeof kt=="function"?(ut--,kt):void 0,jt&&ki(Y[0],Y[1],jt)&&(kt=ut<3?void 0:kt,ut=1),U=Object(U);++Me<ut;){var xt=Y[Me];xt&&M(U,xt,Me,kt)}return U})}function nn(M){return function(U,Y,Me){for(var ut=-1,kt=Object(U),jt=Me(U),xt=jt.length;xt--;){var qt=jt[++ut];if(Y(kt[qt],qt,kt)===!1)break}return U}}function cr(M,U){var Y=M.__data__;return wa(U)?Y[typeof U=="string"?"string":"hash"]:Y.map}function Ur(M,U){var Y=qe(M,U);return Rt(Y)?Y:void 0}function wr(M){var U=dn.call(M,Ft),Y=M[Ft];try{M[Ft]=void 0;var Me=!0}catch(kt){}var ut=sr.call(M);return Me&&(U?M[Ft]=Y:delete M[Ft]),ut}function Ta(M){return typeof M.constructor=="function"&&!Io(M)?ea(le(M)):{}}function ot(M,U){var Y=typeof M;return U=U==null?o:U,!!U&&(Y=="number"||Y!="symbol"&&B.test(M))&&M>-1&&M%1==0&&M<U}function ki(M,U,Y){if(!Va(Y))return!1;var Me=typeof U;return(Me=="number"?yt(Y)&&ot(U,Y.length):Me=="string"&&U in Y)?ze(Y[U],M):!1}function wa(M){var U=typeof M;return U=="string"||U=="number"||U=="symbol"||U=="boolean"?M!=="__proto__":M===null}function Ve(M){return!!On&&On in M}function Io(M){var U=M&&M.constructor,Y=typeof U=="function"&&U.prototype||Qt;return M===Y}function rn(M){var U=[];if(M!=null)for(var Y in Object(M))U.push(Y);return U}function At(M){return sr.call(M)}function Oi(M,U,Y){return U=lr(U===void 0?M.length-1:U,0),function(){for(var Me=arguments,ut=-1,kt=lr(Me.length-U,0),jt=Array(kt);++ut<kt;)jt[ut]=Me[U+ut];ut=-1;for(var xt=Array(U+1);++ut<U;)xt[ut]=Me[ut];return xt[U]=Y(jt),pt(M,this,xt)}}function Ar(M,U){if(!(U==="constructor"&&typeof M[U]=="function")&&U!="__proto__")return M[U]}var No=Lo(We);function Lo(M){var U=0,Y=0;return function(){var Me=dt(),ut=i-(Me-Y);if(Y=Me,ut>0){if(++U>=a)return arguments[0]}else U=0;return M.apply(void 0,arguments)}}function Ne(M){if(M!=null){try{return Mn.call(M)}catch(U){}try{return M+""}catch(U){}}return""}function ze(M,U){return M===U||M!==M&&U!==U}var mt=Ge((function(){return arguments})())?Ge:function(M){return Ro(M)&&dn.call(M,"callee")&&!Vt.call(M,"callee")},ft=Array.isArray;function yt(M){return M!=null&&Wa(M.length)&&!qa(M)}function En(M){return Ro(M)&&yt(M)}var dr=St||Q_;function qa(M){if(!Va(M))return!1;var U=it(M);return U==h||U==c||U==u||U==y}function Wa(M){return typeof M=="number"&&M>-1&&M%1==0&&M<=o}function Va(M){var U=typeof M;return M!=null&&(U=="object"||U=="function")}function Ro(M){return M!=null&&typeof M=="object"}function G_(M){if(!Ro(M)||it(M)!=v)return!1;var U=le(M);if(U===null)return!0;var Y=dn.call(U,"constructor")&&U.constructor;return typeof Y=="function"&&Y instanceof Y&&Mn.call(Y)==$r}var qf=Qe?Er(Qe):_n;function K_(M){return Gt(M,Wf(M))}function Wf(M){return yt(M)?ee(M):yn(M)}var Y_=_t(function(M,U,Y){tn(M,U,Y)});function X_(M){return function(){return M}}function Vf(M){return M}function Q_(){return!1}e.exports=Y_})(es,es.exports)),es.exports}var YE=KE();const lh=fo(YE),XE=()=>{},uh=(e,t)=>t();function Om(e,t){const n=Et(e),r=n?[n]:[],{onEnter:a=uh,onExit:i=uh}=t,[o,s]=Ie(t.appear?[]:r),[l]=rm();let u,d=!1;function p(c,g){if(!c)return g&&g();d=!0,i(c,()=>{bs(()=>{d=!1,s(m=>m.filter(x=>x!==c)),g&&g()})})}function f(c){const g=u;if(!g)return c&&c();u=void 0,s(m=>[g,...m]),a(g,c!=null?c:XE)}const h=t.mode==="out-in"?c=>d||p(c,f):t.mode==="in-out"?c=>f(()=>p(c)):c=>{p(c),f()};return q0(c=>{const g=e();return Et(l)?(l(),c):(g!==c&&(u=g,bs(()=>Et(()=>h(c)))),g)},t.appear?void 0:n),o}function QE(e,t){const n=Et(e),{onChange:r}=t;let a=new Set(t.appear?void 0:n);const i=new WeakSet,[o,s]=Ie([],{equals:!1}),[l]=rm(),u=p=>{s(f=>(f.push.apply(f,p),f));for(const f of p)i.delete(f)},d=(p,f,h)=>p.splice(h,0,f);return Ue(p=>{const f=o(),h=e();if(h[ms],Et(l))return l(),p;if(f.length){const c=p.filter(g=>!f.includes(g));return f.length=0,r({list:c,added:[],removed:[],unchanged:c,finishRemoved:u}),c}return Et(()=>{const c=new Set(h),g=h.slice(),m=[],x=[],v=[];for(const _ of h)(a.has(_)?v:m).push(_);let y=!m.length;for(let _=0;_<p.length;_++){const S=p[_];c.has(S)||(i.has(S)||(x.push(S),i.add(S)),d(g,S,_)),y&&S!==g[_]&&(y=!1)}return!x.length&&y?p:(r({list:g,added:m,removed:x,unchanged:v,finishRemoved:u}),a=c,g)})},t.appear?[]:n.slice())}const Su=e=>e instanceof Element;function Q0(e,t){if(t(e))return e;if(typeof e=="function"&&!e.length)return Q0(e(),t);if(Array.isArray(e)){const n=[];for(const r of e){const a=Q0(r,t);a&&(Array.isArray(a)?n.push.apply(n,a):n.push(a))}return n.length?n:null}return null}function ZE(e,t=Su,n=Su){const r=Ue(e),a=Ue(()=>Q0(r(),t));return a.toArray=()=>{const i=a();return Array.isArray(i)?i:i?[i]:[]},a}function Z0(e,t){if(t(e))return e;if(typeof e=="function"&&!e.length)return Z0(e(),t);if(Array.isArray(e))for(const n of e){const r=Z0(n,t);if(r)return r}return null}function Im(e,t=Su,n=Su){const r=Ue(e);return Ue(()=>Z0(r(),t))}function Nm(e){return Ue(()=>{const t=e.name||"s";return{enterActive:(e.enterActiveClass||t+"-enter-active").split(" "),enter:(e.enterClass||t+"-enter").split(" "),enterTo:(e.enterToClass||t+"-enter-to").split(" "),exitActive:(e.exitActiveClass||t+"-exit-active").split(" "),exit:(e.exitClass||t+"-exit").split(" "),exitTo:(e.exitToClass||t+"-exit-to").split(" "),move:(e.moveClass||t+"-move").split(" ")}})}function Lm(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function Rm(e,t,n,r){const{onBeforeEnter:a,onEnter:i,onAfterEnter:o}=t;a==null||a(n),n.classList.add(...e.enter),n.classList.add(...e.enterActive),queueMicrotask(()=>{if(!n.parentNode)return r==null?void 0:r();i==null||i(n,()=>s())}),Lm(()=>{n.classList.remove(...e.enter),n.classList.add(...e.enterTo),(!i||i.length<2)&&(n.addEventListener("transitionend",s),n.addEventListener("animationend",s))});function s(l){(!l||l.target===n)&&(r==null||r(),n.removeEventListener("transitionend",s),n.removeEventListener("animationend",s),n.classList.remove(...e.enterActive),n.classList.remove(...e.enterTo),o==null||o(n))}}function Pm(e,t,n,r){const{onBeforeExit:a,onExit:i,onAfterExit:o}=t;if(!n.parentNode)return r==null?void 0:r();a==null||a(n),n.classList.add(...e.exit),n.classList.add(...e.exitActive),i==null||i(n,()=>s()),Lm(()=>{n.classList.remove(...e.exit),n.classList.add(...e.exitTo),(!i||i.length<2)&&(n.addEventListener("transitionend",s),n.addEventListener("animationend",s))});function s(l){(!l||l.target===n)&&(r==null||r(),n.removeEventListener("transitionend",s),n.removeEventListener("animationend",s),n.classList.remove(...e.exitActive),n.classList.remove(...e.exitTo),o==null||o(n))}}const JE={inout:"in-out",outin:"out-in"},Ua=e=>{const t=Nm(e);return Om(Im(()=>e.children),{mode:JE[e.mode],appear:e.appear,onEnter(n,r){Rm(t(),e,n,r)},onExit(n,r){Pm(t(),e,n,r)}})},e3=e=>{const t=Nm(e);return QE(ZE(()=>e.children).toArray,{appear:e.appear,onChange({added:n,removed:r,finishRemoved:a,list:i}){const o=t();for(const l of n)Rm(o,e,l);const s=[];for(const l of i)l.isConnected&&(l instanceof HTMLElement||l instanceof SVGElement)&&s.push({el:l,rect:l.getBoundingClientRect()});queueMicrotask(()=>{const l=[];for(const{el:u,rect:d}of s)if(u.isConnected){const p=u.getBoundingClientRect(),f=d.left-p.left,h=d.top-p.top;(f||h)&&(u.style.transform="translate(".concat(f,"px, ").concat(h,"px)"),u.style.transitionDuration="0s",l.push(u))}document.body.offsetHeight;for(const u of l){let d=function(p){(p.target===u||/transform$/.test(p.propertyName))&&(u.removeEventListener("transitionend",d),u.classList.remove(...o.move))};u.classList.add(...o.move),u.style.transform=u.style.transitionDuration="",u.addEventListener("transitionend",d)}});for(const l of r)Pm(o,e,l,()=>a([l]))}})};/*!
3
3
  * tabbable 5.3.3
4
4
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
5
5
  */var Dm=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Cu=Dm.join(","),Mm=typeof Element>"u",xi=Mm?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,J0=!Mm&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},Bm=function(t,n,r){var a=Array.prototype.slice.apply(t.querySelectorAll(Cu));return n&&xi.call(t,Cu)&&a.unshift(t),a=a.filter(r),a},Fm=function e(t,n,r){for(var a=[],i=Array.from(t);i.length;){var o=i.shift();if(o.tagName==="SLOT"){var s=o.assignedElements(),l=s.length?s:o.children,u=e(l,!0,r);r.flatten?a.push.apply(a,u):a.push({scope:o,candidates:u})}else{var d=xi.call(o,Cu);d&&r.filter(o)&&(n||!t.includes(o))&&a.push(o);var p=o.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(o),f=!r.shadowRootFilter||r.shadowRootFilter(o);if(p&&f){var h=e(p===!0?o.children:p.children,!0,r);r.flatten?a.push.apply(a,h):a.push({scope:o,candidates:h})}else i.unshift.apply(i,o.children)}}return a},$m=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||t.isContentEditable)&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},t3=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},Hm=function(t){return t.tagName==="INPUT"},n3=function(t){return Hm(t)&&t.type==="hidden"},r3=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},a3=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},i3=function(t){if(!t.name)return!0;var n=t.form||J0(t),r=function(s){return n.querySelectorAll('input[type="radio"][name="'+s+'"]')},a;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")a=r(window.CSS.escape(t.name));else try{a=r(t.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var i=a3(a,t.form);return!i||i===t},o3=function(t){return Hm(t)&&t.type==="radio"},s3=function(t){return o3(t)&&!i3(t)},ch=function(t){var n=t.getBoundingClientRect(),r=n.width,a=n.height;return r===0&&a===0},l3=function(t,n){var r=n.displayCheck,a=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var i=xi.call(t,"details>summary:first-of-type"),o=i?t.parentElement:t;if(xi.call(o,"details:not([open]) *"))return!0;var s=J0(t).host,l=(s==null?void 0:s.ownerDocument.contains(s))||t.ownerDocument.contains(t);if(!r||r==="full"){if(typeof a=="function"){for(var u=t;t;){var d=t.parentElement,p=J0(t);if(d&&!d.shadowRoot&&a(d)===!0)return ch(t);t.assignedSlot?t=t.assignedSlot:!d&&p!==t.ownerDocument?t=p.host:t=d}t=u}if(l)return!t.getClientRects().length}else if(r==="non-zero-area")return ch(t);return!1},u3=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var a=n.children.item(r);if(a.tagName==="LEGEND")return xi.call(n,"fieldset[disabled] *")?!0:!a.contains(t)}return!0}n=n.parentElement}return!1},Tu=function(t,n){return!(n.disabled||n3(n)||l3(n,t)||r3(n)||u3(n))},ed=function(t,n){return!(s3(n)||$m(n)<0||!Tu(t,n))},c3=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},d3=function e(t){var n=[],r=[];return t.forEach(function(a,i){var o=!!a.scope,s=o?a.scope:a,l=$m(s,o),u=o?e(a.candidates):s;l===0?o?n.push.apply(n,u):n.push(s):r.push({documentOrder:i,tabIndex:l,item:a,isScope:o,content:u})}),r.sort(t3).reduce(function(a,i){return i.isScope?a.push.apply(a,i.content):a.push(i.content),a},[]).concat(n)},f3=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Fm([t],n.includeContainer,{filter:ed.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:c3}):r=Bm(t,n.includeContainer,ed.bind(null,n)),d3(r)},h3=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Fm([t],n.includeContainer,{filter:Tu.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=Bm(t,n.includeContainer,Tu.bind(null,n)),r},dl=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return xi.call(t,Cu)===!1?!1:ed(n,t)},p3=Dm.concat("iframe").join(","),Qc=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return xi.call(t,p3)===!1?!1:Tu(n,t)};/*!
6
6
  * focus-trap 6.7.3
7
7
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
8
- */function dh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function g3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dh(Object(n),!0).forEach(function(r){m3(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function m3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fh=(function(){var e=[];return{activateTrap:function(n){if(e.length>0){var r=e[e.length-1];r!==n&&r.pause()}var a=e.indexOf(n);a===-1||e.splice(a,1),e.push(n)},deactivateTrap:function(n){var r=e.indexOf(n);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}}})(),x3=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},b3=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},v3=function(t){return t.key==="Tab"||t.keyCode===9},hh=function(t){return setTimeout(t,0)},Zc=function(t,n){var r=-1;return t.every(function(a,i){return n(a)?(r=i,!1):!0}),r},Bo=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return typeof t=="function"?t.apply(void 0,r):t},fl=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},Um=function(t,n){var r=(n==null?void 0:n.document)||document,a=g3({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},n),i={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},o,s=function(C,T,R){return C&&C[T]!==void 0?C[T]:a[R||T]},l=function(C){return!!(C&&i.containers.some(function(T){return T.contains(C)}))},u=function(C){var T=a[C];if(typeof T=="function"){for(var R=arguments.length,P=new Array(R>1?R-1:0),A=1;A<R;A++)P[A-1]=arguments[A];T=T.apply(void 0,P)}if(!T){if(T===void 0||T===!1)return T;throw new Error("`".concat(C,"` was specified but was not a node, or did not return a node"))}var I=T;if(typeof T=="string"&&(I=r.querySelector(T),!I))throw new Error("`".concat(C,"` as selector refers to no known node"));return I},d=function(){var C=u("initialFocus");if(C===!1)return!1;if(C===void 0)if(l(r.activeElement))C=r.activeElement;else{var T=i.tabbableGroups[0],R=T&&T.firstTabbableNode;C=R||u("fallbackFocus")}if(!C)throw new Error("Your focus-trap needs to have at least one focusable element");return C},p=function(){if(i.tabbableGroups=i.containers.map(function(C){var T=f3(C),R=h3(C);if(T.length>0)return{container:C,firstTabbableNode:T[0],lastTabbableNode:T[T.length-1],nextTabbableNode:function(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,$=R.findIndex(function(W){return W===A});return I?R.slice($+1).find(function(W){return dl(W)}):R.slice(0,$).reverse().find(function(W){return dl(W)})}}}).filter(function(C){return!!C}),i.tabbableGroups.length<=0&&!u("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},f=function S(C){if(C!==!1&&C!==r.activeElement){if(!C||!C.focus){S(d());return}C.focus({preventScroll:!!a.preventScroll}),i.mostRecentlyFocusedNode=C,x3(C)&&C.select()}},h=function(C){var T=u("setReturnFocus",C);return T||(T===!1?!1:C)},c=function(C){var T=fl(C);if(!l(T)){if(Bo(a.clickOutsideDeactivates,C)){o.deactivate({returnFocus:a.returnFocusOnDeactivate&&!Qc(T)});return}Bo(a.allowOutsideClick,C)||C.preventDefault()}},g=function(C){var T=fl(C),R=l(T);R||T instanceof Document?R&&(i.mostRecentlyFocusedNode=T):(C.stopImmediatePropagation(),f(i.mostRecentlyFocusedNode||d()))},m=function(C){var T=fl(C);p();var R=null;if(i.tabbableGroups.length>0){var P=Zc(i.tabbableGroups,function(Te){var te=Te.container;return te.contains(T)}),A=P>=0?i.tabbableGroups[P]:void 0;if(P<0)C.shiftKey?R=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:R=i.tabbableGroups[0].firstTabbableNode;else if(C.shiftKey){var I=Zc(i.tabbableGroups,function(Te){var te=Te.firstTabbableNode;return T===te});if(I<0&&(A.container===T||Qc(T)&&!dl(T)&&!A.nextTabbableNode(T,!1))&&(I=P),I>=0){var $=I===0?i.tabbableGroups.length-1:I-1,W=i.tabbableGroups[$];R=W.lastTabbableNode}}else{var G=Zc(i.tabbableGroups,function(Te){var te=Te.lastTabbableNode;return T===te});if(G<0&&(A.container===T||Qc(T)&&!dl(T)&&!A.nextTabbableNode(T))&&(G=P),G>=0){var ae=G===i.tabbableGroups.length-1?0:G+1,ie=i.tabbableGroups[ae];R=ie.firstTabbableNode}}}else R=u("fallbackFocus");R&&(C.preventDefault(),f(R))},x=function(C){if(b3(C)&&Bo(a.escapeDeactivates,C)!==!1){C.preventDefault(),o.deactivate();return}if(v3(C)){m(C);return}},v=function(C){if(!Bo(a.clickOutsideDeactivates,C)){var T=fl(C);l(T)||Bo(a.allowOutsideClick,C)||(C.preventDefault(),C.stopImmediatePropagation())}},y=function(){if(i.active)return fh.activateTrap(o),i.delayInitialFocusTimer=a.delayInitialFocus?hh(function(){f(d())}):f(d()),r.addEventListener("focusin",g,!0),r.addEventListener("mousedown",c,{capture:!0,passive:!1}),r.addEventListener("touchstart",c,{capture:!0,passive:!1}),r.addEventListener("click",v,{capture:!0,passive:!1}),r.addEventListener("keydown",x,{capture:!0,passive:!1}),o},_=function(){if(i.active)return r.removeEventListener("focusin",g,!0),r.removeEventListener("mousedown",c,!0),r.removeEventListener("touchstart",c,!0),r.removeEventListener("click",v,!0),r.removeEventListener("keydown",x,!0),o};return o={activate:function(C){if(i.active)return this;var T=s(C,"onActivate"),R=s(C,"onPostActivate"),P=s(C,"checkCanFocusTrap");P||p(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,T&&T();var A=function(){P&&p(),y(),R&&R()};return P?(P(i.containers.concat()).then(A,A),this):(A(),this)},deactivate:function(C){if(!i.active)return this;clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,_(),i.active=!1,i.paused=!1,fh.deactivateTrap(o);var T=s(C,"onDeactivate"),R=s(C,"onPostDeactivate"),P=s(C,"checkCanReturnFocus");T&&T();var A=s(C,"returnFocus","returnFocusOnDeactivate"),I=function(){hh(function(){A&&f(h(i.nodeFocusedBeforeActivation)),R&&R()})};return A&&P?(P(h(i.nodeFocusedBeforeActivation)).then(I,I),this):(I(),this)},pause:function(){return i.paused||!i.active?this:(i.paused=!0,_(),this)},unpause:function(){return!i.paused||!i.active?this:(i.paused=!1,p(),y(),this)},updateContainerElements:function(C){var T=[].concat(C).filter(Boolean);return i.containers=T.map(function(R){return typeof R=="string"?r.querySelector(R):R}),i.active&&p(),this}},o.updateContainerElements(t),o},tu={exports:{}},_3=tu.exports,ph;function y3(){return ph||(ph=1,(function(e,t){(function(r,a){e.exports=a()})(_3,function(){return(function(n){var r={};function a(i){if(r[i])return r[i].exports;var o=r[i]={i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=n,a.c=r,a.d=function(i,o,s){a.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:s})},a.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},a.t=function(i,o){if(o&1&&(i=a(i)),o&8||o&4&&typeof i=="object"&&i&&i.__esModule)return i;var s=Object.create(null);if(a.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:i}),o&2&&typeof i!="string")for(var l in i)a.d(s,l,(function(u){return i[u]}).bind(null,l));return s},a.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(o,"a",o),o},a.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},a.p="",a(a.s=0)})([(function(n,r,a){a.r(r);var i=function(L){return Array.isArray(L)?L:[L]},o=function(L){return L instanceof Node},s=function(L){return L instanceof NodeList},l=function(L,ne){if(L&&ne){L=s(L)?L:[L];for(var le=0;le<L.length&&ne(L[le],le,L.length)!==!0;le++);}},u=function(L){return console.error("[scroll-lock] ".concat(L))},d=function(L){if(Array.isArray(L)){var ne=L.join(", ");return ne}},p=function(L){var ne=[];return l(L,function(le){return ne.push(le)}),ne},f=function(L,ne){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:document;if(le&&p(Ae.querySelectorAll(ne)).indexOf(L)!==-1)return L;for(;(L=L.parentElement)&&p(Ae.querySelectorAll(ne)).indexOf(L)===-1;);return L},h=function(L,ne){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:document,Ae=p(le.querySelectorAll(ne)).indexOf(L)!==-1;return Ae},c=function(L){if(L){var ne=getComputedStyle(L),le=ne.overflow==="hidden";return le}},g=function(L){if(L){if(c(L))return!0;var ne=L.scrollTop;return ne<=0}},m=function(L){if(L){if(c(L))return!0;var ne=L.scrollTop,le=L.scrollHeight,Ae=ne+L.offsetHeight;return Ae>=le}},x=function(L){if(L){if(c(L))return!0;var ne=L.scrollLeft;return ne<=0}},v=function(L){if(L){if(c(L))return!0;var ne=L.scrollLeft,le=L.scrollWidth,Ae=ne+L.offsetWidth;return Ae>=le}},y=function(L){var ne='textarea, [contenteditable="true"]';return h(L,ne)},_=function(L){var ne='input[type="range"]';return h(L,ne)};a.d(r,"disablePageScroll",function(){return A}),a.d(r,"enablePageScroll",function(){return I}),a.d(r,"getScrollState",function(){return $}),a.d(r,"clearQueueScrollLocks",function(){return W}),a.d(r,"getTargetScrollBarWidth",function(){return G}),a.d(r,"getCurrentTargetScrollBarWidth",function(){return ae}),a.d(r,"getPageScrollBarWidth",function(){return ie}),a.d(r,"getCurrentPageScrollBarWidth",function(){return Te}),a.d(r,"addScrollableTarget",function(){return te}),a.d(r,"removeScrollableTarget",function(){return Fe}),a.d(r,"addScrollableSelector",function(){return Oe}),a.d(r,"removeScrollableSelector",function(){return O}),a.d(r,"addLockableTarget",function(){return B}),a.d(r,"addLockableSelector",function(){return xe}),a.d(r,"setFillGapMethod",function(){return Pe}),a.d(r,"addFillGapTarget",function(){return ct}),a.d(r,"removeFillGapTarget",function(){return nt}),a.d(r,"addFillGapSelector",function(){return rt}),a.d(r,"removeFillGapSelector",function(){return lt}),a.d(r,"refillGaps",function(){return vt});function S(j){for(var L=1;L<arguments.length;L++){var ne=arguments[L]!=null?arguments[L]:{},le=Object.keys(ne);typeof Object.getOwnPropertySymbols=="function"&&(le=le.concat(Object.getOwnPropertySymbols(ne).filter(function(Ae){return Object.getOwnPropertyDescriptor(ne,Ae).enumerable}))),le.forEach(function(Ae){C(j,Ae,ne[Ae])})}return j}function C(j,L,ne){return L in j?Object.defineProperty(j,L,{value:ne,enumerable:!0,configurable:!0,writable:!0}):j[L]=ne,j}var T=["padding","margin","width","max-width","none"],R=3,P={scroll:!0,queue:0,scrollableSelectors:["[data-scroll-lock-scrollable]"],lockableSelectors:["body","[data-scroll-lock-lockable]"],fillGapSelectors:["body","[data-scroll-lock-fill-gap]","[data-scroll-lock-lockable]"],fillGapMethod:T[0],startTouchY:0,startTouchX:0},A=function(L){P.queue<=0&&(P.scroll=!1,se(),qe()),te(L),P.queue++},I=function(L){P.queue>0&&P.queue--,P.queue<=0&&(P.scroll=!0,we(),fn()),Fe(L)},$=function(){return P.scroll},W=function(){P.queue=0},G=function(L){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o(L)){var le=L.style.overflowY;ne?$()||(L.style.overflowY=L.getAttribute("data-scroll-lock-saved-overflow-y-property")):L.style.overflowY="scroll";var Ae=ae(L);return L.style.overflowY=le,Ae}else return 0},ae=function(L){if(o(L))if(L===document.body){var ne=document.documentElement.clientWidth,le=window.innerWidth,Ae=le-ne;return Ae}else{var Vt=L.style.borderLeftWidth,Yt=L.style.borderRightWidth;L.style.borderLeftWidth="0px",L.style.borderRightWidth="0px";var Ft=L.offsetWidth-L.clientWidth;return L.style.borderLeftWidth=Vt,L.style.borderRightWidth=Yt,Ft}else return 0},ie=function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return G(document.body,L)},Te=function(){return ae(document.body)},te=function(L){if(L){var ne=i(L);ne.map(function(le){l(le,function(Ae){o(Ae)?Ae.setAttribute("data-scroll-lock-scrollable",""):u('"'.concat(Ae,'" is not a Element.'))})})}},Fe=function(L){if(L){var ne=i(L);ne.map(function(le){l(le,function(Ae){o(Ae)?Ae.removeAttribute("data-scroll-lock-scrollable"):u('"'.concat(Ae,'" is not a Element.'))})})}},Oe=function(L){if(L){var ne=i(L);ne.map(function(le){P.scrollableSelectors.push(le)})}},O=function(L){if(L){var ne=i(L);ne.map(function(le){P.scrollableSelectors=P.scrollableSelectors.filter(function(Ae){return Ae!==le})})}},B=function(L){if(L){var ne=i(L);ne.map(function(le){l(le,function(Ae){o(Ae)?Ae.setAttribute("data-scroll-lock-lockable",""):u('"'.concat(Ae,'" is not a Element.'))})}),$()||se()}},xe=function(L){if(L){var ne=i(L);ne.map(function(le){P.lockableSelectors.push(le)}),$()||se(),rt(L)}},Pe=function(L){if(L)if(T.indexOf(L)!==-1)P.fillGapMethod=L,vt();else{var ne=T.join(", ");u('"'.concat(L,'" method is not available!\nAvailable fill gap methods: ').concat(ne,"."))}},ct=function(L){if(L){var ne=i(L);ne.map(function(le){l(le,function(Ae){o(Ae)?(Ae.setAttribute("data-scroll-lock-fill-gap",""),P.scroll||Sr(Ae)):u('"'.concat(Ae,'" is not a Element.'))})})}},nt=function(L){if(L){var ne=i(L);ne.map(function(le){l(le,function(Ae){o(Ae)?(Ae.removeAttribute("data-scroll-lock-fill-gap"),P.scroll||vn(Ae)):u('"'.concat(Ae,'" is not a Element.'))})})}},rt=function(L){if(L){var ne=i(L);ne.map(function(le){P.fillGapSelectors.indexOf(le)===-1&&(P.fillGapSelectors.push(le),P.scroll||Kn(le))})}},lt=function(L){if(L){var ne=i(L);ne.map(function(le){P.fillGapSelectors=P.fillGapSelectors.filter(function(Ae){return Ae!==le}),P.scroll||Qt(le)})}},vt=function(){P.scroll||qe()},se=function(){var L=d(P.lockableSelectors);Qe(L)},we=function(){var L=d(P.lockableSelectors);pt(L)},Qe=function(L){var ne=document.querySelectorAll(L);l(ne,function(le){Dn(le)})},pt=function(L){var ne=document.querySelectorAll(L);l(ne,function(le){Er(le)})},Dn=function(L){if(o(L)&&L.getAttribute("data-scroll-lock-locked")!=="true"){var ne=window.getComputedStyle(L);L.setAttribute("data-scroll-lock-saved-overflow-y-property",ne.overflowY),L.setAttribute("data-scroll-lock-saved-inline-overflow-property",L.style.overflow),L.setAttribute("data-scroll-lock-saved-inline-overflow-y-property",L.style.overflowY),L.style.overflow="hidden",L.setAttribute("data-scroll-lock-locked","true")}},Er=function(L){o(L)&&L.getAttribute("data-scroll-lock-locked")==="true"&&(L.style.overflow=L.getAttribute("data-scroll-lock-saved-inline-overflow-property"),L.style.overflowY=L.getAttribute("data-scroll-lock-saved-inline-overflow-y-property"),L.removeAttribute("data-scroll-lock-saved-overflow-property"),L.removeAttribute("data-scroll-lock-saved-inline-overflow-property"),L.removeAttribute("data-scroll-lock-saved-inline-overflow-y-property"),L.removeAttribute("data-scroll-lock-locked"))},qe=function(){P.fillGapSelectors.map(function(L){Kn(L)})},fn=function(){P.fillGapSelectors.map(function(L){Qt(L)})},Kn=function(L){var ne=document.querySelectorAll(L),le=P.lockableSelectors.indexOf(L)!==-1;l(ne,function(Ae){Sr(Ae,le)})},Sr=function(L){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o(L)){var le;if(L.getAttribute("data-scroll-lock-lockable")===""||ne)le=G(L,!0);else{var Ae=f(L,d(P.lockableSelectors));le=G(Ae,!0)}L.getAttribute("data-scroll-lock-filled-gap")==="true"&&vn(L);var Vt=window.getComputedStyle(L);if(L.setAttribute("data-scroll-lock-filled-gap","true"),L.setAttribute("data-scroll-lock-current-fill-gap-method",P.fillGapMethod),P.fillGapMethod==="margin"){var Yt=parseFloat(Vt.marginRight);L.style.marginRight="".concat(Yt+le,"px")}else if(P.fillGapMethod==="width")L.style.width="calc(100% - ".concat(le,"px)");else if(P.fillGapMethod==="max-width")L.style.maxWidth="calc(100% - ".concat(le,"px)");else if(P.fillGapMethod==="padding"){var Ft=parseFloat(Vt.paddingRight);L.style.paddingRight="".concat(Ft+le,"px")}}},Qt=function(L){var ne=document.querySelectorAll(L);l(ne,function(le){vn(le)})},vn=function(L){if(o(L)&&L.getAttribute("data-scroll-lock-filled-gap")==="true"){var ne=L.getAttribute("data-scroll-lock-current-fill-gap-method");L.removeAttribute("data-scroll-lock-filled-gap"),L.removeAttribute("data-scroll-lock-current-fill-gap-method"),ne==="margin"?L.style.marginRight="":ne==="width"?L.style.width="":ne==="max-width"?L.style.maxWidth="":ne==="padding"&&(L.style.paddingRight="")}},Mn=function(L){vt()},dn=function(L){P.scroll||(P.startTouchY=L.touches[0].clientY,P.startTouchX=L.touches[0].clientX)},On=function(L){if(!P.scroll){var ne=P.startTouchY,le=P.startTouchX,Ae=L.touches[0].clientY,Vt=L.touches[0].clientX;if(L.touches.length<2){var Yt=d(P.scrollableSelectors),Ft={up:ne<Ae,down:ne>Ae,left:le<Vt,right:le>Vt},hn={up:ne+R<Ae,down:ne-R>Ae,left:le+R<Vt,right:le-R>Vt},St=function lr(dt){var Ca=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(dt){var Cr=f(dt,Yt,!1);if(_(dt))return!1;if(Ca||y(dt)&&f(dt,Yt)||h(dt,Yt)){var ea=!1;x(dt)&&v(dt)?(Ft.up&&g(dt)||Ft.down&&m(dt))&&(ea=!0):g(dt)&&m(dt)?(Ft.left&&x(dt)||Ft.right&&v(dt))&&(ea=!0):(hn.up&&g(dt)||hn.down&&m(dt)||hn.left&&x(dt)||hn.right&&v(dt))&&(ea=!0),ea&&(Cr?lr(Cr,!0):L.cancelable&&L.preventDefault())}else lr(Cr)}else L.cancelable&&L.preventDefault()};St(L.target)}}},sr=function(L){P.scroll||(P.startTouchY=0,P.startTouchX=0)};typeof window<"u"&&window.addEventListener("resize",Mn),typeof document<"u"&&(document.addEventListener("touchstart",dn),document.addEventListener("touchmove",On,{passive:!1}),document.addEventListener("touchend",sr));var $r={hide:function(L){u('"hide" is deprecated! Use "disablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget'),A(L)},show:function(L){u('"show" is deprecated! Use "enablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#enablepagescrollscrollabletarget'),I(L)},toggle:function(L){u('"toggle" is deprecated! Do not use it.'),$()?A():I(L)},getState:function(){return u('"getState" is deprecated! Use "getScrollState" instead. \n https://github.com/FL3NKEY/scroll-lock#getscrollstate'),$()},getWidth:function(){return u('"getWidth" is deprecated! Use "getPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getpagescrollbarwidth'),ie()},getCurrentWidth:function(){return u('"getCurrentWidth" is deprecated! Use "getCurrentPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getcurrentpagescrollbarwidth'),Te()},setScrollableTargets:function(L){u('"setScrollableTargets" is deprecated! Use "addScrollableTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addscrollabletargetscrollabletarget'),te(L)},setFillGapSelectors:function(L){u('"setFillGapSelectors" is deprecated! Use "addFillGapSelector" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgapselectorfillgapselector'),rt(L)},setFillGapTargets:function(L){u('"setFillGapTargets" is deprecated! Use "addFillGapTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgaptargetfillgaptarget'),ct(L)},clearQueue:function(){u('"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead. \n https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks'),W()}},J=S({disablePageScroll:A,enablePageScroll:I,getScrollState:$,clearQueueScrollLocks:W,getTargetScrollBarWidth:G,getCurrentTargetScrollBarWidth:ae,getPageScrollBarWidth:ie,getCurrentPageScrollBarWidth:Te,addScrollableSelector:Oe,removeScrollableSelector:O,addScrollableTarget:te,removeScrollableTarget:Fe,addLockableSelector:xe,addLockableTarget:B,addFillGapSelector:rt,removeFillGapSelector:lt,addFillGapTarget:ct,removeFillGapTarget:nt,setFillGapMethod:Pe,refillGaps:vt,_state:P},$r);r.default=J})]).default})})(tu)),tu.exports}var Fo=y3();function Ba(e){return e.split("-")[0]}function Yu(e){return e.split("-")[1]}function ho(e){return["top","bottom"].includes(Ba(e))?"x":"y"}function qd(e){return e==="y"?"height":"width"}function gh(e,t,n){let{reference:r,floating:a}=e;const i=r.x+r.width/2-a.width/2,o=r.y+r.height/2-a.height/2,s=ho(t),l=qd(s),u=r[l]/2-a[l]/2,d=s==="x";let p;switch(Ba(t)){case"top":p={x:i,y:r.y-a.height};break;case"bottom":p={x:i,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:o};break;case"left":p={x:r.x-a.width,y:o};break;default:p={x:r.x,y:r.y}}switch(Yu(t)){case"start":p[s]-=u*(n&&d?-1:1);break;case"end":p[s]+=u*(n&&d?-1:1)}return p}const E3=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:o}=n,s=await(o.isRTL==null?void 0:o.isRTL(t));let l=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:d}=gh(l,r,s),p=r,f={};for(let h=0;h<i.length;h++){const{name:c,fn:g}=i[h],{x:m,y:x,data:v,reset:y}=await g({x:u,y:d,initialPlacement:r,placement:p,strategy:a,middlewareData:f,rects:l,platform:o,elements:{reference:e,floating:t}});u=m!=null?m:u,d=x!=null?x:d,f={...f,[c]:{...f[c],...v}},y&&(typeof y=="object"&&(y.placement&&(p=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:a}):y.rects),{x:u,y:d}=gh(l,p,s)),h=-1)}return{x:u,y:d,placement:p,strategy:a,middlewareData:f}};function Wd(e){return typeof e!="number"?(function(t){return{top:0,right:0,bottom:0,left:0,...t}})(e):{top:e,right:e,bottom:e,left:e}}function Es(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Ss(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:i,rects:o,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:f=!1,padding:h=0}=t,c=Wd(h),g=s[f?p==="floating"?"reference":"floating":p],m=Es(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),x=Es(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:p==="floating"?{...o.floating,x:r,y:a}:o.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):o[p]);return{top:m.top-x.top+c.top,bottom:x.bottom-m.bottom+c.bottom,left:m.left-x.left+c.left,right:x.right-m.right+c.right}}const zm=Math.min,Ia=Math.max;function td(e,t,n){return Ia(e,zm(t,n))}const jm=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:a,y:i,placement:o,rects:s,platform:l}=t;if(n==null)return{};const u=Wd(r),d={x:a,y:i},p=ho(o),f=qd(p),h=await l.getDimensions(n),c=p==="y"?"top":"left",g=p==="y"?"bottom":"right",m=s.reference[f]+s.reference[p]-d[p]-s.floating[f],x=d[p]-s.reference[p],v=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n)),y=v?p==="y"?v.clientHeight||0:v.clientWidth||0:0,_=m/2-x/2,S=u[c],C=y-h[f]-u[g],T=y/2-h[f]/2+_,R=td(S,T,C);return{data:{[p]:R,centerOffset:T-R}}}}),S3={left:"right",right:"left",bottom:"top",top:"bottom"};function wu(e){return e.replace(/left|right|bottom|top/g,(t=>S3[t]))}function C3(e,t,n){n===void 0&&(n=!1);const r=Yu(e),a=ho(e),i=qd(a);let o=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=wu(o)),{main:o,cross:wu(o)}}const T3={start:"end",end:"start"};function mh(e){return e.replace(/start|end/g,(t=>T3[t]))}const qm=["top","right","bottom","left"];qm.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);const Xu=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:a,rects:i,initialPlacement:o,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",flipAlignment:h=!0,...c}=e,g=Ba(r),m=p||(g===o||!h?[wu(o)]:(function(R){const P=wu(R);return[mh(R),P,mh(P)]})(o)),x=[o,...m],v=await Ss(t,c),y=[];let _=((n=a.flip)==null?void 0:n.overflows)||[];if(u&&y.push(v[g]),d){const{main:R,cross:P}=C3(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));y.push(v[R],v[P])}if(_=[..._,{placement:r,overflows:y}],!y.every((R=>R<=0))){var S,C;const R=((S=(C=a.flip)==null?void 0:C.index)!=null?S:0)+1,P=x[R];if(P)return{data:{index:R,overflows:_},reset:{placement:P}};let A="bottom";switch(f){case"bestFit":{var T;const I=(T=_.map(($=>[$,$.overflows.filter((W=>W>0)).reduce(((W,G)=>W+G),0)])).sort((($,W)=>$[1]-W[1]))[0])==null?void 0:T[0].placement;I&&(A=I);break}case"initialPlacement":A=o}if(r!==A)return{reset:{placement:A}}}return{}}}};function xh(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function bh(e){return qm.some((t=>e[t]>=0))}const Wm=function(e){let{strategy:t="referenceHidden",...n}={};return{name:"hide",async fn(r){const{rects:a}=r;switch(t){case"referenceHidden":{const i=xh(await Ss(r,{...n,elementContext:"reference"}),a.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:bh(i)}}}case"escaped":{const i=xh(await Ss(r,{...n,altBoundary:!0}),a.floating);return{data:{escapedOffsets:i,escaped:bh(i)}}}default:return{}}}}},Qu=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r,placement:a,rects:i,platform:o,elements:s}=t,l=(function(u,d,p,f){f===void 0&&(f=!1);const h=Ba(u),c=Yu(u),g=ho(u)==="x",m=["left","top"].includes(h)?-1:1,x=f&&g?-1:1,v=typeof p=="function"?p({...d,placement:u}):p;let{mainAxis:y,crossAxis:_,alignmentAxis:S}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return c&&typeof S=="number"&&(_=c==="end"?-1*S:S),g?{x:_*x,y:y*m}:{x:y*m,y:_*x}})(a,i,e,await(o.isRTL==null?void 0:o.isRTL(s.floating)));return{x:n+l.x,y:r+l.y,data:l}}}};function w3(e){return e==="x"?"y":"x"}const Zu=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:s={fn:m=>{let{x,y:v}=m;return{x,y:v}}},...l}=e,u={x:n,y:r},d=await Ss(t,l),p=ho(Ba(a)),f=w3(p);let h=u[p],c=u[f];if(i){const m=p==="y"?"bottom":"right";h=td(h+d[p==="y"?"top":"left"],h,h-d[m])}if(o){const m=f==="y"?"bottom":"right";c=td(c+d[f==="y"?"top":"left"],c,c-d[m])}const g=s.fn({...t,[p]:h,[f]:c});return{...g,data:{x:g.x-n,y:g.y-r}}}}},A3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:a,elements:i}=t,{apply:o,...s}=e,l=await Ss(t,s),u=Ba(n),d=Yu(n);let p,f;u==="top"||u==="bottom"?(p=u,f=d===(await(a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(f=u,p=d==="end"?"top":"bottom");const h=Ia(l.left,0),c=Ia(l.right,0),g=Ia(l.top,0),m=Ia(l.bottom,0),x={height:r.floating.height-(["left","right"].includes(n)?2*(g!==0||m!==0?g+m:Ia(l.top,l.bottom)):l[p]),width:r.floating.width-(["top","bottom"].includes(n)?2*(h!==0||c!==0?h+c:Ia(l.left,l.right)):l[f])},v=await a.getDimensions(i.floating);o==null||o({...x,...r});const y=await a.getDimensions(i.floating);return v.width!==y.width||v.height!==y.height?{reset:{rects:!0}}:{}}}},Vm=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){var n;const{placement:r,elements:a,rects:i,platform:o,strategy:s}=t,{padding:l=2,x:u,y:d}=e,p=Es(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:i.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:s}):i.reference),f=(n=await(o.getClientRects==null?void 0:o.getClientRects(a.reference)))!=null?n:[],h=Wd(l),c=await o.getElementRects({reference:{getBoundingClientRect:function(){var g;if(f.length===2&&f[0].left>f[1].right&&u!=null&&d!=null)return(g=f.find((m=>u>m.left-h.left&&u<m.right+h.right&&d>m.top-h.top&&d<m.bottom+h.bottom)))!=null?g:p;if(f.length>=2){if(ho(r)==="x"){const C=f[0],T=f[f.length-1],R=Ba(r)==="top",P=C.top,A=T.bottom,I=R?C.left:T.left,$=R?C.right:T.right;return{top:P,bottom:A,left:I,right:$,width:$-I,height:A-P,x:I,y:P}}const m=Ba(r)==="left",x=Ia(...f.map((C=>C.right))),v=zm(...f.map((C=>C.left))),y=f.filter((C=>m?C.left===v:C.right===x)),_=y[0].top,S=y[y.length-1].bottom;return{top:_,bottom:S,left:v,right:x,width:x-v,height:S-_,x:v,y:_}}return p}},floating:a.floating,strategy:s});return i.reference.x!==c.reference.x||i.reference.y!==c.reference.y||i.reference.width!==c.reference.width||i.reference.height!==c.reference.height?{reset:{rects:c}}:{}}}};function Gm(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function va(e){if(e==null)return window;if(!Gm(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Fs(e){return va(e).getComputedStyle(e)}function ha(e){return Gm(e)?"":e?(e.nodeName||"").toLowerCase():""}function Qr(e){return e instanceof va(e).HTMLElement}function Fa(e){return e instanceof va(e).Element}function Vd(e){return e instanceof va(e).ShadowRoot||e instanceof ShadowRoot}function Ju(e){const{overflow:t,overflowX:n,overflowY:r}=Fs(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function k3(e){return["table","td","th"].includes(ha(e))}function vh(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=Fs(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Km(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}const _h=Math.min,os=Math.max,Au=Math.round;function pa(e,t,n){var r,a,i,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&Qr(e)&&(l=e.offsetWidth>0&&Au(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Au(s.height)/e.offsetHeight||1);const d=Fa(e)?va(e):window,p=!Km()&&n,f=(s.left+(p&&(r=(a=d.visualViewport)==null?void 0:a.offsetLeft)!=null?r:0))/l,h=(s.top+(p&&(i=(o=d.visualViewport)==null?void 0:o.offsetTop)!=null?i:0))/u,c=s.width/l,g=s.height/u;return{width:c,height:g,top:h,right:f+c,bottom:h+g,left:f,x:f,y:h}}function Ra(e){return(t=e,(t instanceof va(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function ec(e){return Fa(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ym(e){return pa(Ra(e)).left+ec(e).scrollLeft}function O3(e,t,n){const r=Qr(t),a=Ra(t),i=pa(e,r&&(function(l){const u=pa(l);return Au(u.width)!==l.offsetWidth||Au(u.height)!==l.offsetHeight})(t),n==="fixed");let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((ha(t)!=="body"||Ju(a))&&(o=ec(t)),Qr(t)){const l=pa(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else a&&(s.x=Ym(a));return{x:i.left+o.scrollLeft-s.x,y:i.top+o.scrollTop-s.y,width:i.width,height:i.height}}function Xm(e){return ha(e)==="html"?e:e.assignedSlot||e.parentNode||(Vd(e)?e.host:null)||Ra(e)}function yh(e){return Qr(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function nd(e){const t=va(e);let n=yh(e);for(;n&&k3(n)&&getComputedStyle(n).position==="static";)n=yh(n);return n&&(ha(n)==="html"||ha(n)==="body"&&getComputedStyle(n).position==="static"&&!vh(n))?t:n||(function(r){let a=Xm(r);for(Vd(a)&&(a=a.host);Qr(a)&&!["html","body"].includes(ha(a));){if(vh(a))return a;a=a.parentNode}return null})(e)||t}function Eh(e){if(Qr(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=pa(e);return{width:t.width,height:t.height}}function Qm(e){const t=Xm(e);return["html","body","#document"].includes(ha(t))?e.ownerDocument.body:Qr(t)&&Ju(t)?t:Qm(t)}function ku(e,t){var n;t===void 0&&(t=[]);const r=Qm(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=va(r),o=a?[i].concat(i.visualViewport||[],Ju(r)?r:[]):r,s=t.concat(o);return a?s:s.concat(ku(o))}function Sh(e,t,n){return t==="viewport"?Es((function(r,a){const i=va(r),o=Ra(r),s=i.visualViewport;let l=o.clientWidth,u=o.clientHeight,d=0,p=0;if(s){l=s.width,u=s.height;const f=Km();(f||!f&&a==="fixed")&&(d=s.offsetLeft,p=s.offsetTop)}return{width:l,height:u,x:d,y:p}})(e,n)):Fa(t)?(function(r,a){const i=pa(r,!1,a==="fixed"),o=i.top+r.clientTop,s=i.left+r.clientLeft;return{top:o,left:s,x:s,y:o,right:s+r.clientWidth,bottom:o+r.clientHeight,width:r.clientWidth,height:r.clientHeight}})(t,n):Es((function(r){var a;const i=Ra(r),o=ec(r),s=(a=r.ownerDocument)==null?void 0:a.body,l=os(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=os(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let d=-o.scrollLeft+Ym(r);const p=-o.scrollTop;return Fs(s||i).direction==="rtl"&&(d+=os(i.clientWidth,s?s.clientWidth:0)-l),{width:l,height:u,x:d,y:p}})(Ra(e)))}function I3(e){const t=ku(e),n=["absolute","fixed"].includes(Fs(e).position)&&Qr(e)?nd(e):e;return Fa(n)?t.filter((r=>Fa(r)&&(function(a,i){const o=i==null||i.getRootNode==null?void 0:i.getRootNode();if(a!=null&&a.contains(i))return!0;if(o&&Vd(o)){let s=i;do{if(s&&a===s)return!0;s=s.parentNode||s.host}while(s)}return!1})(r,n)&&ha(r)!=="body")):[]}const N3={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const i=[...n==="clippingAncestors"?I3(t):[].concat(n),r],o=i[0],s=i.reduce(((l,u)=>{const d=Sh(t,u,a);return l.top=os(d.top,l.top),l.right=_h(d.right,l.right),l.bottom=_h(d.bottom,l.bottom),l.left=os(d.left,l.left),l}),Sh(t,o,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const a=Qr(n),i=Ra(n);if(n===i)return t;let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((a||!a&&r!=="fixed")&&((ha(n)!=="body"||Ju(i))&&(o=ec(n)),Qr(n))){const l=pa(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-o.scrollLeft+s.x,y:t.y-o.scrollTop+s.y}},isElement:Fa,getDimensions:Eh,getOffsetParent:nd,getDocumentElement:Ra,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:O3(t,nd(n),r),floating:{...Eh(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Fs(e).direction==="rtl"};function tc(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=!0,animationFrame:s=!1}=r;let l=!1;const u=a&&!s,d=i&&!s,p=o&&!s,f=u||d?[...Fa(e)?ku(e):[],...ku(t)]:[];f.forEach((m=>{u&&m.addEventListener("scroll",n,{passive:!0}),d&&m.addEventListener("resize",n)}));let h,c=null;p&&(c=new ResizeObserver(n),Fa(e)&&c.observe(e),c.observe(t));let g=s?pa(e):null;return s&&(function m(){if(l)return;const x=pa(e);!g||x.x===g.x&&x.y===g.y&&x.width===g.width&&x.height===g.height||n(),g=x,h=requestAnimationFrame(m)})(),()=>{var m;l=!0,f.forEach((x=>{u&&x.removeEventListener("scroll",n),d&&x.removeEventListener("resize",n)})),(m=c)==null||m.disconnect(),c=null,s&&cancelAnimationFrame(h)}}const nc=(e,t,n)=>E3(e,t,{platform:N3,...n});var L3=Object.defineProperty,R3=Object.defineProperties,P3=Object.getOwnPropertyDescriptors,Ch=Object.getOwnPropertySymbols,D3=Object.prototype.hasOwnProperty,M3=Object.prototype.propertyIsEnumerable,Th=(e,t,n)=>t in e?L3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ve=(e,t)=>{for(var n in t||(t={}))D3.call(t,n)&&Th(e,n,t[n]);if(Ch)for(var n of Ch(t))M3.call(t,n)&&Th(e,n,t[n]);return e},Yr=(e,t)=>R3(e,P3(t));function B3(e){return typeof e=="number"}function nu(e){return Array.isArray(e)}function rc(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!nu(e)}function An(e){return typeof e=="function"}function Zm(e){return e==null}function F3(e){return Object.prototype.toString.call(e)==="[object String]"}function $3(e,t){return rc(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}function xn(e,t){return e&&(An(e)?e(t):e[0](e[1],t)),t==null?void 0:t.defaultPrevented}function Cn(...e){return function(t){e.some(n=>xn(n,t))}}const Jm=()=>typeof Storage<"u",e2="hope-ui-color-mode",no={light:"hope-ui-light",dark:"hope-ui-dark"};function H3(){if(!Jm())return null;try{return localStorage.getItem(e2)}catch(e){return null}}function U3(e){if(Jm())try{localStorage.setItem(e2,e)}catch(t){}}function z3(e){const t=H3();return t||(e==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e)}function j3(e){return e?no.dark:no.light}function q3(e){const t=document.body;t.classList.add(j3(e)),t.classList.remove(e?no.light:no.dark)}const t2={px:"1px","0_5":"0.125rem",1:"0.25rem","1_5":"0.375rem",2:"0.5rem","2_5":"0.625rem",3:"0.75rem","3_5":"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Fi=Yr(ve({},t2),{prose:"65ch",max:"max-content",min:"min-content",full:"100%",screenW:"100vw",screenH:"100vh",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",containerSm:"640px",containerMd:"768px",containerLg:"1024px",containerXl:"1280px",container2xl:"1536px"}),W3={sm:"(min-width: ".concat(Fi.containerSm,")"),md:"(min-width: ".concat(Fi.containerMd,")"),lg:"(min-width: ".concat(Fi.containerLg,")"),xl:"(min-width: ".concat(Fi.containerXl,")"),"2xl":"(min-width: ".concat(Fi.container2xl,")"),"reduce-motion":"(prefers-reduced-motion: reduce)",light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"},V3={bg:e=>({background:e}),bgColor:e=>({backgroundColor:e})},G3={borderX:e=>({borderLeft:e,borderRight:e}),borderY:e=>({borderTop:e,borderBottom:e})},K3={d:e=>({display:e})},Y3={m:e=>({margin:e}),mt:e=>({marginTop:e}),mr:e=>({marginRight:e}),marginStart:e=>({marginInlineStart:e}),ms:e=>({marginInlineStart:e}),mb:e=>({marginBottom:e}),ml:e=>({marginLeft:e}),marginEnd:e=>({marginInlineEnd:e}),me:e=>({marginInlineEnd:e}),mx:e=>({marginInlineStart:e,marginInlineEnd:e}),my:e=>({marginTop:e,marginBottom:e}),spaceX:e=>({"& > * + *":{marginLeft:e}}),spaceY:e=>({"& > * + *":{marginTop:e}})},X3={p:e=>({padding:e}),pt:e=>({paddingTop:e}),pr:e=>({paddingRight:e}),paddingStart:e=>({paddingInlineStart:e}),ps:e=>({paddingInlineStart:e}),pb:e=>({paddingBottom:e}),pl:e=>({paddingLeft:e}),pe:e=>({paddingInlineEnd:e}),paddingEnd:e=>({paddingInlineEnd:e}),px:e=>({paddingInlineStart:e,paddingInlineEnd:e}),py:e=>({paddingTop:e,paddingBottom:e})},Q3={pos:e=>({position:e})};function na(...e){return e.map(t=>"[role=group]".concat(t," &, [data-group]").concat(t," &, .group").concat(t," &")).join(", ")}function zr(...e){return e.map(t=>"[data-peer]".concat(t," ~ &, .peer").concat(t," ~ &")).join(", ")}const Z3={_hover:e=>({"&:hover, &[data-hover]":e}),_active:e=>({"&:active, &[data-active]":e}),_focus:e=>({"&:focus, &[data-focus]":e}),_highlighted:e=>({"&[data-highlighted]":e}),_focusWithin:e=>({"&:focus-within":e}),_focusVisible:e=>({"&:focus-visible":e}),_disabled:e=>({"&[disabled], &[aria-disabled=true], &[data-disabled]":e}),_readOnly:e=>({"&[aria-readonly=true], &[readonly], &[data-readonly]":e}),_before:e=>({"&::before":e}),_after:e=>({"&::after":e}),_empty:e=>({"&:empty":e}),_expanded:e=>({"&[aria-expanded=true], &[data-expanded]":e}),_checked:e=>({"&[aria-checked=true], &[data-checked]":e}),_grabbed:e=>({"&[aria-grabbed=true], &[data-grabbed]":e}),_pressed:e=>({"&[aria-pressed=true], &[data-pressed]":e}),_invalid:e=>({"&[aria-invalid=true], &[data-invalid]":e}),_valid:e=>({"&[data-valid], &[data-state=valid]":e}),_loading:e=>({"&[data-loading], &[aria-busy=true]":e}),_selected:e=>({"&[aria-selected=true], &[data-selected]":e}),_hidden:e=>({"&[hidden], &[data-hidden]":e}),_even:e=>({"&:nth-of-type(even)":e}),_odd:e=>({"&:nth-of-type(odd)":e}),_first:e=>({"&:first-of-type":e}),_last:e=>({"&:last-of-type":e}),_notFirst:e=>({"&:not(:first-of-type)":e}),_notLast:e=>({"&:not(:last-of-type)":e}),_visited:e=>({"&:visited":e}),_activeLink:e=>({"&[aria-current=page]":e}),_activeStep:e=>({"&[aria-current=step]":e}),_indeterminate:e=>({"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]":e}),_groupHover:e=>({[na(":hover","[data-hover]")]:e}),_peerHover:e=>({[zr(":hover","[data-hover]")]:e}),_groupFocus:e=>({[na(":focus","[data-focus]")]:e}),_peerFocus:e=>({[zr(":focus","[data-focus]")]:e}),_groupFocusVisible:e=>({[na(":focus-visible")]:e}),_peerFocusVisible:e=>({[zr(":focus-visible")]:e}),_groupActive:e=>({[na(":active","[data-active]")]:e}),_peerActive:e=>({[zr(":active","[data-active]")]:e}),_groupSelected:e=>({[na("[aria-selected=true]","[data-selected]")]:e}),_peerSelected:e=>({[zr("[aria-selected=true]","[data-selected]")]:e}),_groupDisabled:e=>({[na(":disabled","[data-disabled]")]:e}),_peerDisabled:e=>({[zr(":disabled","[data-disabled]")]:e}),_groupInvalid:e=>({[na(":invalid","[data-invalid]")]:e}),_peerInvalid:e=>({[zr(":invalid","[data-invalid]")]:e}),_groupChecked:e=>({[na(":checked","[data-checked]")]:e}),_peerChecked:e=>({[zr(":checked","[data-checked]")]:e}),_groupFocusWithin:e=>({[na(":focus-within")]:e}),_peerFocusWithin:e=>({[zr(":focus-within")]:e}),_peerPlaceholderShown:e=>({[zr(":placeholder-shown")]:e}),_placeholder:e=>({"&::placeholder":e}),_placeholderShown:e=>({"&:placeholder-shown":e}),_fullScreen:e=>({"&:fullscreen":e}),_selection:e=>({"&::selection":e}),_mediaDark:e=>({"@media (prefers-color-scheme: dark)":e}),_mediaReduceMotion:e=>({"@media (prefers-reduced-motion: reduce)":e}),_dark:e=>({".hope-ui-dark &":e}),_light:e=>({".hope-ui-light &":e})},J3={borderTopRadius:e=>({borderTopLeftRadius:e,borderTopRightRadius:e}),borderRightRadius:e=>({borderTopRightRadius:e,borderBottomRightRadius:e}),borderStartRadius:e=>({borderStartStartRadius:e,borderEndStartRadius:e}),borderBottomRadius:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e}),borderLeftRadius:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e}),borderEndRadius:e=>({borderStartEndRadius:e,borderEndEndRadius:e}),rounded:e=>({borderRadius:e}),roundedTop:e=>({borderTopLeftRadius:e,borderTopRightRadius:e}),roundedRight:e=>({borderTopRightRadius:e,borderBottomRightRadius:e}),roundedStart:e=>({borderStartStartRadius:e,borderEndStartRadius:e}),roundedBottom:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e}),roundedLeft:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e}),roundedEnd:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},e5={shadow:e=>({boxShadow:e})},t5={w:e=>({width:e}),minW:e=>({minWidth:e}),maxW:e=>({maxWidth:e}),h:e=>({height:e}),minH:e=>({minHeight:e}),maxH:e=>({maxHeight:e}),boxSize:e=>({width:e,height:e})},n5={noOfLines:e=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e})},r5=ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve({},V3),G3),K3),Q3),Z3),J3),Y3),X3),e5),t5),n5),a5={blackAlpha1:"#00000003",blackAlpha2:"#00000007",blackAlpha3:"#0000000c",blackAlpha4:"#00000012",blackAlpha5:"#00000017",blackAlpha6:"#0000001d",blackAlpha7:"#00000024",blackAlpha8:"#00000038",blackAlpha9:"#00000070",blackAlpha10:"#0000007a",blackAlpha11:"#00000090",blackAlpha12:"#000000e8"},i5={whiteAlpha1:"#ffffff00",whiteAlpha2:"#ffffff03",whiteAlpha3:"#ffffff09",whiteAlpha4:"#ffffff0e",whiteAlpha5:"#ffffff16",whiteAlpha6:"#ffffff20",whiteAlpha7:"#ffffff2d",whiteAlpha8:"#ffffff3f",whiteAlpha9:"#ffffff62",whiteAlpha10:"#ffffff72",whiteAlpha11:"#ffffff97",whiteAlpha12:"#ffffffeb"},o5=ve(ve({},a5),i5),s5={primary1:"#fafdfe",primary2:"#f2fcfd",primary3:"#e7f9fb",primary4:"#d8f3f6",primary5:"#c4eaef",primary6:"#aadee6",primary7:"#84cdda",primary8:"#3db9cf",primary9:"#05a2c2",primary10:"#0894b3",primary11:"#0c7792",primary12:"#04313c"},l5={accent1:"#fdfcfe",accent2:"#fbfaff",accent3:"#f5f2ff",accent4:"#ede9fe",accent5:"#e4defc",accent6:"#d7cff9",accent7:"#c4b8f3",accent8:"#aa99ec",accent9:"#6e56cf",accent10:"#644fc1",accent11:"#5746af",accent12:"#20134b"},u5={neutral1:"#fbfcfd",neutral2:"#f8f9fa",neutral3:"#f1f3f5",neutral4:"#eceef0",neutral5:"#e6e8eb",neutral6:"#dfe3e6",neutral7:"#d7dbdf",neutral8:"#c1c8cd",neutral9:"#889096",neutral10:"#7e868c",neutral11:"#687076",neutral12:"#11181c"},c5={success1:"#fbfefc",success2:"#f2fcf5",success3:"#e9f9ee",success4:"#ddf3e4",success5:"#ccebd7",success6:"#b4dfc4",success7:"#92ceac",success8:"#5bb98c",success9:"#30a46c",success10:"#299764",success11:"#18794e",success12:"#153226"},d5={info1:"#fbfdff",info2:"#f5faff",info3:"#edf6ff",info4:"#e1f0ff",info5:"#cee7fe",info6:"#b7d9f8",info7:"#96c7f2",info8:"#5eb0ef",info9:"#0091ff",info10:"#0081f1",info11:"#006adc",info12:"#00254d"},f5={warning1:"#fefdfb",warning2:"#fff9ed",warning3:"#fff4d5",warning4:"#ffecbc",warning5:"#ffe3a2",warning6:"#ffd386",warning7:"#f3ba63",warning8:"#ee9d2b",warning9:"#ffb224",warning10:"#ffa01c",warning11:"#ad5700",warning12:"#4e2009"},h5={danger1:"#fffcfc",danger2:"#fff8f8",danger3:"#ffefef",danger4:"#ffe5e5",danger5:"#fdd8d8",danger6:"#f9c6c6",danger7:"#f3aeaf",danger8:"#eb9091",danger9:"#e5484d",danger10:"#dc3d43",danger11:"#cd2b31",danger12:"#381316"},p5={loContrast:"white",background:"$loContrast",focusRing:"#96c7f2",closeButtonHoverBackground:"$blackAlpha4",closeButtonActiveBackground:"$blackAlpha5",progressStripe:"$whiteAlpha6"},g5=ve(ve(ve(ve(ve(ve(ve(ve({},s5),l5),u5),c5),d5),f5),h5),p5),m5={primary1:"#07191d",primary2:"#061e24",primary3:"#072830",primary4:"#07303b",primary5:"#073844",primary6:"#064150",primary7:"#045063",primary8:"#00647d",primary9:"#05a2c2",primary10:"#00b1cc",primary11:"#00c2d7",primary12:"#e1f8fa"},x5={accent1:"#17151f",accent2:"#1c172b",accent3:"#251e40",accent4:"#2c2250",accent5:"#32275f",accent6:"#392c72",accent7:"#443592",accent8:"#5842c3",accent9:"#6e56cf",accent10:"#7c66dc",accent11:"#9e8cfc",accent12:"#f1eefe"},b5={neutral1:"#151718",neutral2:"#1a1d1e",neutral3:"#202425",neutral4:"#26292b",neutral5:"#2b2f31",neutral6:"#313538",neutral7:"#3a3f42",neutral8:"#4c5155",neutral9:"#697177",neutral10:"#787f85",neutral11:"#9ba1a6",neutral12:"#ecedee"},v5={success1:"#0d1912",success2:"#0c1f17",success3:"#0f291e",success4:"#113123",success5:"#133929",success6:"#164430",success7:"#1b543a",success8:"#236e4a",success9:"#30a46c",success10:"#3cb179",success11:"#4cc38a",success12:"#e5fbeb"},_5={info1:"#0f1720",info2:"#0f1b2d",info3:"#10243e",info4:"#102a4c",info5:"#0f3058",info6:"#0d3868",info7:"#0a4481",info8:"#0954a5",info9:"#0091ff",info10:"#369eff",info11:"#52a9ff",info12:"#eaf6ff"},y5={warning1:"#1f1300",warning2:"#271700",warning3:"#341c00",warning4:"#3f2200",warning5:"#4a2900",warning6:"#573300",warning7:"#693f05",warning8:"#824e00",warning9:"#ffb224",warning10:"#ffcb47",warning11:"#f1a10d",warning12:"#fef3dd"},E5={danger1:"#1f1315",danger2:"#291415",danger3:"#3c181a",danger4:"#481a1d",danger5:"#541b1f",danger6:"#671e22",danger7:"#822025",danger8:"#aa2429",danger9:"#e5484d",danger10:"#f2555a",danger11:"#ff6369",danger12:"#feecee"},S5={loContrast:"$neutral1",background:"$loContrast",focusRing:"#0a4481",closeButtonHoverBackground:"$whiteAlpha4",closeButtonActiveBackground:"$whiteAlpha5",progressStripe:"$blackAlpha6"},C5=ve(ve(ve(ve(ve(ve(ve(ve({},m5),x5),b5),v5),_5),y5),E5),S5),T5={none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},w5={none:"0 0 #0000",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:"0 1px 3px 0 rgb(0 0 0 / 0.09), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.09), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.09), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.09), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.24)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.06)",outline:"0 0 0 3px $colors$focusRing"},A5={lg:"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},k5={sans:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol","Noto Color Emoji"',serif:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},O5={"2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},I5={hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},N5={normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:2,3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},L5={tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},R5={hide:-1,auto:"auto",base:0,docked:10,sticky:1e3,banner:1100,overlay:1200,modal:1300,dropdown:1400,popover:1500,tooltip:1600,skipLink:1700,notification:1800},P5={colors:ve(ve({},o5),g5),space:t2,sizes:Fi,fonts:k5,fontSizes:O5,fontWeights:I5,letterSpacings:L5,lineHeights:N5,radii:T5,shadows:w5,zIndices:R5},D5={colors:C5,shadows:A5},{theme:M5,css:Q,globalCss:_a,config:MF,createTheme:B5,getCssText:BF,keyframes:po}=GE({prefix:"hope",themeMap:Yr(ve({},Am),{borderWidth:"sizes",borderTopWidth:"sizes",borderRightWidth:"sizes",borderBottomWidth:"sizes",borderLeftWidth:"sizes",strokeWidth:"sizes"}),theme:P5,media:W3,utils:r5}),Jt={fade:"hope-modal-fade-transition",fadeInBottom:"hope-modal-fade-in-bottom-transition",scale:"hope-modal-scale-transition"},F5=_a({[".".concat(Jt.fade,"-enter, .").concat(Jt.fade,"-exit-to")]:{opacity:0},[".".concat(Jt.fade,"-enter-to, .").concat(Jt.fade,"-exit")]:{opacity:1},[".".concat(Jt.fade,"-enter-active")]:{transition:"opacity 300ms ease-out"},[".".concat(Jt.fade,"-exit-active")]:{transition:"opacity 200ms ease-in"},[".".concat(Jt.fadeInBottom,"-enter, .").concat(Jt.fadeInBottom,"-exit-to")]:{opacity:0,transform:"translateY(16px)"},[".".concat(Jt.fadeInBottom,"-enter-to, .").concat(Jt.fadeInBottom,"-exit")]:{opacity:1,transform:"translateY(0)"},[".".concat(Jt.fadeInBottom,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[".".concat(Jt.fadeInBottom,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"},[".".concat(Jt.scale,"-enter, .").concat(Jt.scale,"-exit-to")]:{opacity:0,transform:"scale(0.95)"},[".".concat(Jt.scale,"-enter-to, .").concat(Jt.scale,"-exit")]:{opacity:1,transform:"scale(1)"},[".".concat(Jt.scale,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[".".concat(Jt.scale,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"}}),n2=Q({zIndex:"$overlay",position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"hsl(0 0% 0% / 65%)"}),r2=Q({zIndex:"$modal",position:"fixed",top:0,left:0,display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},outline:"none","&:focus":{outline:"none"}}),$5=Q(r2,{justifyContent:"center",variants:{centered:{true:{alignItems:"center"},false:{alignItems:"flex-start"}},scrollBehavior:{inside:{overflow:"hidden"},outside:{overflow:"auto"}}}}),a2=Q({zIndex:"$modal",position:"relative",display:"flex",flexDirection:"column",width:"100%",outline:"none",boxShadow:"$lg",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),H5=Q(a2,{justifyContent:"center",my:"3.75rem",borderRadius:"$sm",variants:{size:{xs:{maxWidth:"$xs"},sm:{maxWidth:"$sm"},md:{maxWidth:"$md"},lg:{maxWidth:"$lg"},xl:{maxWidth:"$xl"},"2xl":{maxWidth:"$2xl"},"3xl":{maxWidth:"$3xl"},"4xl":{maxWidth:"$4xl"},"5xl":{maxWidth:"$5xl"},"6xl":{maxWidth:"$6xl"},"7xl":{maxWidth:"$7xl"},"8xl":{maxWidth:"$8xl"},full:{maxWidth:"100vw",minHeight:"100vh","@supports(min-height: -webkit-fill-available)":{minHeight:"-webkit-fill-available"},my:0,borderRadius:"$none"}},scrollBehavior:{inside:{maxHeight:"calc(100% - 7.5rem)"},outside:{maxHeight:"none"}}}}),U5=Q({flex:0,pt:"$5",px:"$5",pb:"$3",fontSize:"$lg",fontWeight:"$medium"}),z5=Q({flex:1,px:"$5",py:"$2",variants:{scrollBehavior:{inside:{overflow:"auto"},outside:{overflow:void 0}}}}),j5=Q({display:"flex",alignItems:"center",justifyContent:"flex-end",pt:"$3",px:"$5",pb:"$5"}),q5=Q({position:"absolute",top:"$4",insetInlineEnd:"$4"}),st={fade:"hope-drawer-fade-transition",slideInTop:"hope-drawer-slide-in-top-transition",slideInRight:"hope-drawer-slide-in-right-transition",slideInBottom:"hope-drawer-slide-in-bottom-transition",slideInLeft:"hope-drawer-slide-in-left-transition"},W5=_a({[".".concat(st.fade,"-enter, .").concat(st.fade,"-exit-to")]:{opacity:0},[".".concat(st.fade,"-enter-to, .").concat(st.fade,"-exit")]:{opacity:1},[".".concat(st.fade,"-enter-active, .").concat(st.fade,"-exit-active")]:{transition:"opacity 500ms ease-in-out"},[".".concat(st.slideInTop,"-enter-active, .").concat(st.slideInTop,"-exit-active,\n .").concat(st.slideInRight,"-enter-active, .").concat(st.slideInRight,"-exit-active,\n .").concat(st.slideInBottom,"-enter-active, .").concat(st.slideInBottom,"-exit-active,\n .").concat(st.slideInLeft,"-enter-active, .").concat(st.slideInLeft,"-exit-active")]:{transition:"transform 500ms ease-in-out"},[".".concat(st.slideInTop,"-enter, .").concat(st.slideInTop,"-exit-to")]:{transform:"translateY(-100%)"},[".".concat(st.slideInTop,"-enter-to, .").concat(st.slideInTop,"-exit")]:{transform:"translateY(0)"},[".".concat(st.slideInRight,"-enter, .").concat(st.slideInRight,"-exit-to")]:{transform:"translateX(100%)"},[".".concat(st.slideInRight,"-enter-to, .").concat(st.slideInRight,"-exit")]:{transform:"translateX(0)"},[".".concat(st.slideInBottom,"-enter, .").concat(st.slideInBottom,"-exit-to")]:{transform:"translateY(100%)"},[".".concat(st.slideInBottom,"-enter-to, .").concat(st.slideInBottom,"-exit")]:{transform:"translateY(0)"},[".".concat(st.slideInLeft,"-enter, .").concat(st.slideInLeft,"-exit-to")]:{transform:"translateX(-100%)"},[".".concat(st.slideInLeft,"-enter-to, .").concat(st.slideInLeft,"-exit")]:{transform:"translateX(0)"}}),V5=Q(r2,{overflow:"hidden",variants:{placement:{top:{alignItems:"flex-start",justifyContent:"stretch"},right:{alignItems:"stretch",justifyContent:"flex-end"},bottom:{alignItems:"flex-end",justifyContent:"stretch"},left:{alignItems:"stretch",justifyContent:"flex-start"}}}}),G5=Q(a2,{maxHeight:"100vh",variants:{size:{xs:{maxWidth:"$xs"},sm:{maxWidth:"$md"},md:{maxWidth:"$lg"},lg:{maxWidth:"$2xl"},xl:{maxWidth:"$4xl"},full:{maxWidth:"100vw",height:"100vh"}},placement:{top:{},right:{},bottom:{},left:{}},fullHeight:{true:{height:"100vh"},false:{}}},compoundVariants:[{placement:"top",size:"xs",css:{maxWidth:"100vw"}},{placement:"top",size:"sm",css:{maxWidth:"100vw"}},{placement:"top",size:"md",css:{maxWidth:"100vw"}},{placement:"top",size:"lg",css:{maxWidth:"100vw"}},{placement:"top",size:"xl",css:{maxWidth:"100vw"}},{placement:"bottom",size:"xs",css:{maxWidth:"100vw"}},{placement:"bottom",size:"sm",css:{maxWidth:"100vw"}},{placement:"bottom",size:"md",css:{maxWidth:"100vw"}},{placement:"bottom",size:"lg",css:{maxWidth:"100vw"}},{placement:"bottom",size:"xl",css:{maxWidth:"100vw"}}]}),Na={scaleTopLeft:"hope-menu-scale-top-left-transition",scaleTopRight:"hope-menu-scale-top-right-transition",scaleBottomLeft:"hope-menu-scale-bottom-left-transition",scaleBottomRight:"hope-menu-scale-bottom-right-transition"};function hl(e,t){return{[".".concat(e,"-enter, .").concat(e,"-exit-to")]:{opacity:0,transform:"scale(0.8)"},[".".concat(e,"-enter-to, .").concat(e,"-exit")]:{opacity:1,transform:"scale(1)"},[".".concat(e,"-enter-active")]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[".".concat(e,"-exit-active")]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}}}const K5=_a(ve(ve(ve(ve({},hl(Na.scaleTopLeft,"top left")),hl(Na.scaleTopRight,"top right")),hl(Na.scaleBottomLeft,"bottom left")),hl(Na.scaleBottomRight,"bottom right"))),Y5=Q({appearance:"none",display:"inline-flex",alignItems:"center",outline:"none"}),X5=Q({zIndex:"$dropdown",position:"absolute",left:0,top:"100%",display:"flex",flexDirection:"column",minWidth:"$56",overflowY:"auto",outline:"none",margin:0,boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",px:0,py:"$1","&:focus":{outline:"none"}});Q({});Q({display:"flex",alignItems:"center",mx:"$1",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",fontWeight:"$medium",lineHeight:"$4"});function Ga(e){return{color:e.color,"&[data-active]":{backgroundColor:e.bgColorActive}}}const Q5=Q({position:"relative",display:"flex",alignItems:"center",mx:"$1",borderRadius:"$sm",py:"$2",px:"$3",fontSize:"$base",fontWeight:"$normal",lineHeight:"$6",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms","&[data-disabled]":{color:"$neutral8",cursor:"not-allowed"},variants:{colorScheme:{primary:Ga({color:"$primary11",bgColorActive:"$primary3"}),accent:Ga({color:"$accent11",bgColorActive:"$accent3"}),neutral:Ga({color:"$neutral12",bgColorActive:"$neutral4"}),success:Ga({color:"$success11",bgColorActive:"$success3"}),info:Ga({color:"$info11",bgColorActive:"$info3"}),warning:Ga({color:"$warning11",bgColorActive:"$warning3"}),danger:Ga({color:"$danger11",bgColorActive:"$danger3"})}},defaultVariants:{colorScheme:"neutral"}}),Z5=Q({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),J5=Q({flexGrow:1}),e4=Q({flexShrink:0,color:"$neutral11",fontSize:"$sm",lineHeight:"$none"}),ac=po({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}});po({from:{opacity:0},to:{opacity:1}});const Lr={slideInTop:"hope-notification-slide-in-top-transition",slideInRight:"hope-notification-slide-in-right-transition",slideInBottom:"hope-notification-slide-in-bottom-transition",slideInLeft:"hope-notification-slide-in-left-transition"};function pl(e){return{[".".concat(e.name,"-enter, .").concat(e.name,"-exit-to")]:{opacity:0,transform:e.enterTransform},[".".concat(e.name,"-enter-to, .").concat(e.name,"-exit")]:{opacity:1,transform:e.leaveTransform},[".".concat(e.name,"-enter-active")]:{transitionProperty:"opacity, transform",transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21)",transitionDuration:"300ms"},[".".concat(e.name,"-exit-active")]:{transitionProperty:"opacity, transform",transitionTimingFunction:"ease-in",transitionDuration:"200ms"}}}const t4=_a(ve(ve(ve(ve({},pl({name:Lr.slideInTop,enterTransform:"translateY(-100%)",leaveTransform:"translateY(0)"})),pl({name:Lr.slideInRight,enterTransform:"translateX(100%)",leaveTransform:"translateX(0)"})),pl({name:Lr.slideInBottom,enterTransform:"translateY(100%)",leaveTransform:"translateY(0)"})),pl({name:Lr.slideInLeft,enterTransform:"translateX(-100%)",leaveTransform:"translateX(0)"}))),n4=Q({position:"fixed",zIndex:"$notification",display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"$4",width:"calc(100% - 32px)",maxWidth:"$md",variants:{placement:{"top-start":{top:"$4",left:"$4"},top:{top:"$4",left:"50%",transform:"translateX(-50%)"},"top-end":{top:"$4",right:"$4"},"bottom-start":{bottom:"$4",left:"$4"},bottom:{bottom:"$4",left:"50%",transform:"translateX(-50%)"},"bottom-end":{bottom:"$4",right:"$4"}}},defaultVariants:{placement:"top-end"}}),r4=Q({position:"relative",display:"flex",alignItems:"center",width:"100%",maxWidth:"$md",borderRadius:"$sm",border:"1px solid $colors$neutral5",boxShadow:"$lg",backgroundColor:"$loContrast",padding:"$3",fontSize:"$sm",lineHeight:"$5",variants:{status:{success:{},info:{},warning:{},danger:{}}}}),a4=Q({animation:"1s linear infinite ".concat(ac)}),i4=Q({flexShrink:0,variants:{status:{success:{color:"$success9"},info:{color:"$info9"},warning:{color:"$warning9"},danger:{color:"$danger9"}}}}),o4=Q({fontWeight:"$medium"}),s4=Q({display:"inline-block",color:"$neutral11"}),ai={scale:"hope-popover-scale-transition"},l4=_a({[".".concat(ai.scale,"-enter, .").concat(ai.scale,"-exit-to")]:{opacity:0,transform:"scale(0.95)"},[".".concat(ai.scale,"-enter-to, .").concat(ai.scale,"-exit")]:{opacity:1,transform:"scale(1)"},[".".concat(ai.scale,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease"},[".".concat(ai.scale,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in-out"}}),u4=Q({zIndex:"$popover",position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",maxWidth:"$xs",outline:"none",boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),c4=Q({display:"flex",alignItems:"center",flex:0,borderColor:"inherit",borderBottomWidth:"1px",px:"$3",py:"$2",fontSize:"$base",fontWeight:"$medium"}),d4=Q({flex:1,px:"$3",py:"$2"});Q({display:"flex",alignItems:"center",borderColor:"inherit",borderTopWidth:"1px",px:"$3",py:"$2"});Q({position:"absolute",top:"$2",insetInlineEnd:"$2"});const f4=Q({zIndex:"$popover",position:"absolute",boxSize:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:"inherit",backgroundColor:"inherit",transform:"rotate(45deg)",variants:{popoverPlacement:{left:{borderLeft:0,borderBottom:0},top:{borderLeft:0,borderTop:0},right:{borderTop:0,borderRight:0},bottom:{borderRight:0,borderBottom:0}}}});function gl(e){return{minHeight:e.minHeight,fontSize:e.fontSize,lineHeight:e.lineHeight}}const Wr={xs:gl({fontSize:"$xs",lineHeight:"$4",minHeight:"$6"}),sm:gl({fontSize:"$sm",lineHeight:"$5",minHeight:"$8"}),md:gl({fontSize:"$base",lineHeight:"$6",minHeight:"$10"}),lg:gl({fontSize:"$lg",lineHeight:"$7",minHeight:"$12"})},wh={"&:disabled":{opacity:.4,cursor:"not-allowed"},"&:focus":{boxShadow:"0 0 0 3px $colors$primary5",borderColor:"$primary8"},"&[aria-invalid=true]":{borderColor:"$danger8"},"&[aria-invalid=true]:focus":{boxShadow:"0 0 0 3px $colors$danger5"}},Gd=Q({appearance:"none",position:"relative",width:"100%",minWidth:0,outline:"none",borderRadius:"$sm",backgroundColor:"transparent",padding:0,color:"$neutral12",fontSize:"$base",lineHeight:"$base",transition:"color 250ms, border-color 250ms, background-color 250ms, box-shadow 250ms","&[readonly]":{boxShadow:"none !important",userSelect:"all",cursor:"default"},"&::placeholder":{color:"$neutral9",opacity:1},variants:{variant:{outline:ve({border:"1px solid $neutral7",backgroundColor:"transparent","&:hover":{borderColor:"$neutral8"}},wh),filled:ve({border:"1px solid transparent",backgroundColor:"$neutral3","&:hover, &:focus":{backgroundColor:"$neutral4"}},wh),unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:ve({},Wr)}});function fr(e){return[{variant:e.variant,size:e.size,css:{px:e.paddingX}},{withLeftElement:!0,variant:e.variant,size:e.size,css:{paddingInlineStart:e.paddingWithElement}},{withRightElement:!0,variant:e.variant,size:e.size,css:{paddingInlineEnd:e.paddingWithElement}}]}const h4=Q(Gd,{variants:{withLeftElement:{true:{}},withRightElement:{true:{}},withLeftAddon:{true:{borderLeftRadius:0}},withRightAddon:{true:{borderRightRadius:0}}},compoundVariants:[...fr({variant:"outline",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...fr({variant:"outline",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...fr({variant:"outline",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...fr({variant:"outline",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...fr({variant:"filled",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...fr({variant:"filled",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...fr({variant:"filled",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...fr({variant:"filled",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...fr({variant:"unstyled",size:"xs",paddingX:0,paddingWithElement:"$6"}),...fr({variant:"unstyled",size:"sm",paddingX:0,paddingWithElement:"$8"}),...fr({variant:"unstyled",size:"md",paddingX:0,paddingWithElement:"$10"}),...fr({variant:"unstyled",size:"lg",paddingX:0,paddingWithElement:"$12"})]});Q({position:"relative",display:"flex",width:"100%"});Q({position:"absolute",top:"0",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center",variants:{placement:{left:{insetInlineStart:"0"},right:{insetInlineEnd:"0"}},size:{xs:Yr(ve({},Wr.xs),{width:Wr.xs.minHeight}),sm:Yr(ve({},Wr.sm),{width:Wr.sm.minHeight}),md:Yr(ve({},Wr.md),{width:Wr.md.minHeight}),lg:Yr(ve({},Wr.lg),{width:Wr.lg.minHeight})}}});function hr(e){return{variant:e.variant,size:e.size,css:{px:e.paddingX}}}Q({display:"flex",alignItems:"center",flex:"0 0 auto",width:"auto",whiteSpace:"nowrap",variants:{placement:{left:{marginEnd:"-1px"},right:{marginStart:"-1px"}},variant:{outline:{borderRadius:"$sm",border:"1px solid $neutral7",backgroundColor:"$neutral3",color:"$neutral12"},filled:{borderRadius:"$sm",border:"1px solid transparent",backgroundColor:"$neutral3",color:"$neutral12"},unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:ve({},Wr)},compoundVariants:[{variant:"outline",placement:"left",css:{borderRightRadius:0,borderInlineEndColor:"transparent"}},{variant:"outline",placement:"right",css:{borderLeftRadius:0,borderInlineStartColor:"transparent"}},{variant:"filled",placement:"left",css:{borderStartEndRadius:0,borderEndEndRadius:0,borderInlineEndColor:"transparent"}},{variant:"filled",placement:"right",css:{borderStartStartRadius:0,borderEndStartRadius:0,borderInlineStartColor:"transparent"}},hr({variant:"outline",size:"xs",paddingX:"$2"}),hr({variant:"outline",size:"sm",paddingX:"$2_5"}),hr({variant:"outline",size:"md",paddingX:"$3"}),hr({variant:"outline",size:"lg",paddingX:"$4"}),hr({variant:"filled",size:"xs",paddingX:"$2"}),hr({variant:"filled",size:"sm",paddingX:"$2_5"}),hr({variant:"filled",size:"md",paddingX:"$3"}),hr({variant:"filled",size:"lg",paddingX:"$4"}),hr({variant:"unstyled",size:"xs",paddingX:0}),hr({variant:"unstyled",size:"sm",paddingX:0}),hr({variant:"unstyled",size:"md",paddingX:0}),hr({variant:"unstyled",size:"lg",paddingX:0})]});const ii={fadeInTop:"hope-select-fade-in-top-transition"},p4=_a({[".".concat(ii.fadeInTop,"-enter, .").concat(ii.fadeInTop,"-exit-to")]:{opacity:0,transform:"translateY(-16px)"},[".".concat(ii.fadeInTop,"-enter-to, .").concat(ii.fadeInTop,"-exit")]:{opacity:1,transform:"translateY(0)"},[".".concat(ii.fadeInTop,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[".".concat(ii.fadeInTop,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}});function Jc(e,t,n){return Object.entries({xs:{start:t!=null?t:"$2",end:n!=null?n:"$1"},sm:{start:t!=null?t:"$2_5",end:n!=null?n:"$1_5"},md:{start:t!=null?t:"$3",end:n!=null?n:"$2"},lg:{start:t!=null?t:"$4",end:n!=null?n:"$3"}}).map(([r,a])=>({variant:e,size:r,css:{paddingInlineStart:a.start,paddingInlineEnd:a.end}}))}const g4=Q(Gd,{appearance:"none",display:"inline-flex",alignItems:"center",outline:"none",cursor:"pointer","&:focus":{outline:"none"},compoundVariants:[...Jc("outline"),...Jc("filled"),...Jc("unstyled",0,0)]}),i2=Q({flexGrow:1,flexShrink:1,textAlign:"start",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),m4=Q({display:"inline-flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap",flexGrow:1,flexShrink:1,variants:{size:{xs:{gap:"$0_5",py:"$0_5"},sm:{gap:"$1",py:"$1"},md:{gap:"$1_5",py:"$1_5"},lg:{gap:"$2",py:"$2"}}}}),x4=Q({display:"inline-flex",justifyContent:"center",alignItems:"center",gap:"$0_5",borderRadius:"$sm",py:0,pl:"$2",lineHeight:"$none",variants:{variant:{subtle:{backgroundColor:"$neutral4",color:"$neutral12"},outline:{border:"1px solid $colors$neutral7",backgroundColor:"$loContrast",color:"$neutral12"}},size:{xs:{height:"$4",fontSize:"$2xs"},sm:{height:"$5",fontSize:"$xs"},md:{height:"$6",fontSize:"$sm"},lg:{height:"$7",fontSize:"$base"}}}}),b4=Q({appearance:"none",display:"inline-flex",justifyContent:"center",alignItems:"center",height:"100%",outline:"none",borderRightRadius:"$sm",backgroundColor:"transparent",px:"$1",color:"inherit",lineHeight:"$none",textDecoration:"none",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms, box-shadow 250ms","&:hover":{backgroundColor:"$neutral7"},"&:focus":{outline:"none",boxShadow:"$outline"}}),v4=Q(i2,{color:"$neutral9",opacity:1}),_4=Q({flexGrow:0,flexShrink:0,marginInlineStart:"auto",color:"$neutral11",fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{opened:{true:{transform:"rotate(-180deg)"}}}}),y4=Q({zIndex:"$dropdown",position:"absolute",left:0,top:"100%",display:"flex",flexDirection:"column",width:"100%",overflow:"hidden",margin:0,boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",padding:0}),E4=Q({position:"relative",display:"flex",flexDirection:"column",maxHeight:"$60",width:"100%",overflowY:"auto",margin:0,padding:"$1",listStyle:"none"});Q({});Q({display:"flex",alignItems:"center",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",lineHeight:"$4"});const S4=Q({position:"relative",display:"flex",alignItems:"center",borderRadius:"$sm",color:"$neutral12",fontSize:"$base",fontWeight:"$normal",lineHeight:"$6",cursor:"pointer",userSelect:"none","&[data-disabled]":{color:"$neutral8",cursor:"not-allowed"},"&[data-active]":{backgroundColor:"$neutral4"}}),C4=Q({display:"inline-flex",alignItems:"center",py:"$2",paddingInlineStart:"$3",paddingInlineEnd:"$6"}),T4=Q({position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",paddingInlineEnd:"$3",color:"$primary10",pointerEvents:"none"}),oi={scale:"hope-tooltip-scale-transition"},w4=_a({[".".concat(oi.scale,"-enter, .").concat(oi.scale,"-exit-to")]:{opacity:0,transform:"scale(0.90)"},[".".concat(oi.scale,"-enter-to, .").concat(oi.scale,"-exit")]:{opacity:1,transform:"scale(1)"},[".".concat(oi.scale,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease"},[".".concat(oi.scale,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"150ms",transitionTimingFunction:"ease-in-out"}}),A4=Q({zIndex:"$tooltip",position:"absolute",maxWidth:"$96",boxShadow:"$md",borderRadius:"$sm",backgroundColor:"$neutral12",px:"$2",py:"$1",color:"$neutral1",fontSize:"$sm",fontWeight:"$normal",lineHeight:"$4"}),k4=Q({zIndex:"$tooltip",position:"absolute",boxSize:"8px",backgroundColor:"inherit",transform:"rotate(45deg)"}),O4=_a({"*, ::before, ::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid"},"*":{margin:0},"html, body":{height:"100%"},html:{fontFamily:"$sans",lineHeight:"$base",fontSize:"16px"},body:{backgroundColor:"$background",color:"$neutral12",fontFamily:"inherit",lineHeight:"inherit","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},"h1, h2, h3, h4, h5, h6":{fontSize:"inherit",fontWeight:"inherit"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"img, picture, video, canvas, svg":{display:"block",maxWidth:"100%"},"button, input, textarea, select, optgroup":{fontFamily:"inherit",fontSize:"100%"},"button:focus":{outline:"5px auto -webkit-focus-ring-color"},fieldset:{margin:0,padding:0},"ol, ul":{margin:0,padding:0},a:{backgroundColor:"transparent",color:"inherit",textDecoration:"inherit"}});function Ah(e,t,n){Object.entries(e).forEach(([r,a])=>{if(rc(a))if(r in n){const i=r;n[i]=ve(ve({},n[i]),a)}else t[r]=ve(ve({},t[r]),a);else t[r]=a})}function I4(e,t){const n={},r={"@sm":{},"@md":{},"@lg":{},"@xl":{},"@2xl":{},"@reduce-motion":{},"@light":{},"@dark":{}};return t==null||t.forEach(a=>a&&Ah(a,n,r)),Object.entries(e).forEach(([a,i])=>{i!=null&&a!=="css"&&(a.startsWith("_")?n[a]=i:rc(i)?Object.keys(i).forEach(o=>{if(o==="@initial")n[a]=i[o];else if(o in r){const s=o;r[s]=Yr(ve({},r[s]),{[a]:i[s]})}}):n[a]=i)}),e.css&&Ah(e.css,n,r),ve(ve({},n),r)}function kh(e,t){const n=e==="dark",r=n?no.dark:no.light,a=n?lh({},D5,t):t,i=B5(r,a);return lh({},M5,i)}function o2(e,t){return rc(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}const ic=Q({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}),Kd=Lt();function N4(){W5(),K5(),F5(),t4(),l4(),p4(),w4()}function L4(e){var t,n,r,a,i,o,s,l;e=X({enableCssReset:!0},e);const d=kh("light",(n=(t=e.config)==null?void 0:t.lightTheme)!=null?n:{}),p=kh("dark",(a=(r=e.config)==null?void 0:r.darkTheme)!=null?a:{}),f=z3((o=(i=e.config)==null?void 0:i.initialColorMode)!=null?o:"light"),h=f==="dark"?p:d,[c,g]=Ie(f),[m,x]=Ie(h),v=()=>c()==="dark",y=C=>{g(C),U3(C)},_=()=>{y(v()?"light":"dark")},S={components:(l=(s=e.config)==null?void 0:s.components)!=null?l:{},theme:m,colorMode:c,setColorMode:y,toggleColorMode:_};return Kt(()=>{x(v()?p:d),q3(v())}),e.enableCssReset&&O4(),N4(),w(Kd.Provider,{value:S,get children(){return e.children}})}function Ce(){const e=It(Kd);if(!e)throw new Error("[Hope UI]: useStyleConfig must be used within a HopeProvider");return e.components}function s2(){const e=It(Kd);if(!e)throw new Error("[Hope UI]: useColorMode must be used within a HopeProvider");return{colorMode:e.colorMode,setColorMode:e.setColorMode,toggleColorMode:e.toggleColorMode}}function oc(e,t){const{colorMode:n}=s2();return()=>n()==="dark"?t:e}function be(e){return".".concat(e)}function ce(...e){return e.filter(Boolean).join(" ")}function R4(e,t,n){return(e-t)*100/(n-t)}const P4={border:!0,borderWidth:!0,borderStyle:!0,borderColor:!0,borderTop:!0,borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0,borderRight:!0,borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0,borderBottom:!0,borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0,borderLeft:!0,borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0,borderX:!0,borderY:!0},D4={color:!0,background:!0,bg:!0,backgroundColor:!0,bgColor:!0,opacity:!0},M4={css:!0},B4={alignItems:!0,alignContent:!0,alignSelf:!0,justifyItems:!0,justifyContent:!0,justifySelf:!0,flexDirection:!0,flexWrap:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,order:!0},F4={gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0,gridRow:!0,gridRowStart:!0,gridRowEnd:!0,gridColumn:!0,gridColumnStart:!0,gridColumnEnd:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:!0,rowGap:!0,columnGap:!0},$4={appearance:!0,userSelect:!0,pointerEvents:!0,resize:!0,cursor:!0,outline:!0,outlineOffset:!0,outlineColor:!0},H4={display:!0,d:!0,verticalAlign:!0,overflow:!0,overflowX:!0,overflowY:!0,objectFit:!0,objectPosition:!0},U4={margin:!0,m:!0,marginTop:!0,mt:!0,marginRight:!0,mr:!0,marginStart:!0,ms:!0,marginBottom:!0,mb:!0,marginLeft:!0,ml:!0,marginEnd:!0,me:!0,mx:!0,my:!0},z4={padding:!0,p:!0,paddingTop:!0,pt:!0,paddingRight:!0,pr:!0,paddingStart:!0,ps:!0,paddingBottom:!0,pb:!0,paddingLeft:!0,pl:!0,paddingEnd:!0,pe:!0,px:!0,py:!0},j4={position:!0,pos:!0,zIndex:!0,top:!0,right:!0,bottom:!0,left:!0},q4={_hover:!0,_active:!0,_focus:!0,_highlighted:!0,_focusWithin:!0,_focusVisible:!0,_disabled:!0,_readOnly:!0,_before:!0,_after:!0,_empty:!0,_expanded:!0,_checked:!0,_grabbed:!0,_pressed:!0,_invalid:!0,_valid:!0,_loading:!0,_selected:!0,_hidden:!0,_even:!0,_odd:!0,_first:!0,_last:!0,_notFirst:!0,_notLast:!0,_visited:!0,_activeLink:!0,_activeStep:!0,_indeterminate:!0,_groupHover:!0,_peerHover:!0,_groupFocus:!0,_peerFocus:!0,_groupFocusVisible:!0,_peerFocusVisible:!0,_groupActive:!0,_peerActive:!0,_groupSelected:!0,_peerSelected:!0,_groupDisabled:!0,_peerDisabled:!0,_groupInvalid:!0,_peerInvalid:!0,_groupChecked:!0,_peerChecked:!0,_groupFocusWithin:!0,_peerFocusWithin:!0,_peerPlaceholderShown:!0,_placeholder:!0,_placeholderShown:!0,_fullScreen:!0,_selection:!0,_mediaDark:!0,_mediaReduceMotion:!0,_dark:!0,_light:!0},W4={borderRadius:!0,borderTopRightRadius:!0,borderTopLeftRadius:!0,borderBottomRightRadius:!0,borderBottomLeftRadius:!0,borderTopRadius:!0,borderRightRadius:!0,borderStartRadius:!0,borderBottomRadius:!0,borderLeftRadius:!0,borderEndRadius:!0,rounded:!0,roundedTop:!0,roundedRight:!0,roundedStart:!0,roundedBottom:!0,roundedLeft:!0,roundedEnd:!0},V4={textShadow:!0,boxShadow:!0,shadow:!0},G4={width:!0,w:!0,minWidth:!0,minW:!0,maxWidth:!0,maxW:!0,height:!0,h:!0,minHeight:!0,minH:!0,maxHeight:!0,maxH:!0,boxSize:!0},K4={transform:!0,transformOrigin:!0,clipPath:!0},Y4={transition:!0,transitionProperty:!0,transitionTimingFunction:!0,transitionDuration:!0,transitionDelay:!0,animation:!0,willChange:!0},X4={fontFamily:!0,fontSize:!0,fontWeight:!0,lineHeight:!0,letterSpacing:!0,textAlign:!0,fontStyle:!0,textTransform:!0,textDecoration:!0,noOfLines:!0},Q4=ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve({},P4),D4),B4),F4),$4),H4),U4),z4),j4),W4),V4),G4),K4),Y4),X4),q4),M4),Z4=Q({});function J4(e,t){return Z4({css:I4(e,t)})}function eS(e){return Object.keys(e).filter(t=>t in Q4)}const e0=(e,t)=>{const n=r=>{const a=eS(r),i=X({as:e},r),[o,s,l]=fe(i,["as","class","className","__baseStyle"],a),u=Ue(()=>[An(t==null?void 0:t.baseStyle)?t==null?void 0:t.baseStyle(r):t==null?void 0:t.baseStyle,o.__baseStyle]),d=()=>ce(t==null?void 0:t.baseClass,o.class,o.className,J4(s,u()));return w(zd,X({get component(){var p;return(p=o.as)!=null?p:"div"},get class(){return d()}},l))};return n.toString=()=>t!=null&&t.baseClass?be(t.baseClass):"",n};function tS(){const e=new Map;return new Proxy(e0,{apply(t,n,r){return e0(...r)},get(t,n){return e.has(n)||e.set(n,e0(n)),e.get(n)}})}const Xe=tS(),Be=Xe.div;Q({borderTopWidth:"1px",borderColor:"$neutral7",overflowAnchor:"none","&:last-of-type":{borderBottomWidth:"1px"}});Q({appearance:"none",display:"flex",alignItems:"center",width:"100%",outline:"none",backgroundColor:"transparent",px:"$4",py:"$2",color:"inherit",fontSize:"$base",lineHeight:"$6",cursor:"pointer",transition:"background-color 250ms","&:disabled":{opacity:.4,cursor:"not-allowed"},"&:hover":{backgroundColor:"$neutral4"},"&:focus":{outline:"none",boxShadow:"$outline"}});Q({flexGrow:0,flexShrink:0,fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{expanded:{true:{transform:"rotate(-180deg)"}},disabled:{true:{opacity:.4}}}});Q({pt:"$2",px:"$4",pb:"$4"});function l2(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function nS(e){var t;if(!l2(e))return!1;const n=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof n.HTMLElement}function Ou(e){var t;return l2(e)&&(t=e.ownerDocument)!=null?t:document}function t0(e,t){const n=e.target;return e.button>0||n&&!Ou(n).body.contains(n)?!1:!(t!=null&&t.contains(n))}function rS(e){const t=Ou(e);return t==null?void 0:t.activeElement}function di(e,t){return e?e===t||e.contains(t):!1}function Iu(e){var t,n;const r=(t=e.target)!=null?t:e.currentTarget,a=rS(r);return(n=e.relatedTarget)!=null?n:a}function u2(e){return e&&e.clientHeight<e.scrollHeight}function c2(e,t){const{offsetHeight:n,offsetTop:r}=e,{offsetHeight:a,scrollTop:i}=t,o=r<i,s=r+n>i+a;o?t.scrollTo(0,r):s&&t.scrollTo(0,r-a+n)}function sc(e){const t=Object.getOwnPropertyDescriptor(e,"children");return t==null?!1:An(t.value)}const aS=Q({display:"inline-block",flexShrink:0,boxSize:"1em",color:"currentColor",lineHeight:"1em",verticalAlign:"middle"}),iS=Bt('<svg><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>',4,!0),Oh={viewBox:"0 0 24 24",path:()=>iS.cloneNode(!0)},Yd="hope-icon";function yi(e){const t={viewBox:Oh.viewBox},n=X(t,e),[r,a]=fe(n,["as","class","children","viewBox"]),i=()=>ce(r.class,Yd,aS()),o=()=>r.as&&!F3(r.as);return w(Re,{get when(){return o()},get fallback(){return w(Xe.svg,X({get class(){return i()},get viewBox(){return r.viewBox}},a,{get children(){return w(Re,{get when(){return r.children},get fallback(){return Oh.path},get children(){return r.children}})}}))},get children(){return w(Be,X({get as(){return r.as},get class(){return i()}},a))}})}yi.toString=()=>be(Yd);function br(e){const{viewBox:t="0 0 24 24",defaultProps:n={}}=e,r=a=>w(yi,X({viewBox:t},n,a,{get children(){return e.path}}));return r.toString=()=>be(Yd),r}const oS=Bt('<svg><path d="M4.18179 6.18181C4.35753 6.00608 4.64245 6.00608 4.81819 6.18181L7.49999 8.86362L10.1818 6.18181C10.3575 6.00608 10.6424 6.00608 10.8182 6.18181C10.9939 6.35755 10.9939 6.64247 10.8182 6.81821L7.81819 9.81821C7.73379 9.9026 7.61934 9.95001 7.49999 9.95001C7.38064 9.95001 7.26618 9.9026 7.18179 9.81821L4.18179 6.81821C4.00605 6.64247 4.00605 6.35755 4.18179 6.18181Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0);br({viewBox:"0 0 15 15",path:()=>oS.cloneNode(!0)});Q({overflow:"hidden"});const Zn=Q({flexShrink:0}),sS=Q({fontWeight:"$semibold"}),lS=Q({display:"inline-block"}),uS=Q({position:"relative",display:"flex",alignItems:"center",borderRadius:"$sm",px:"$4",py:"$3",fontSize:"$base",lineHeight:"$6",variants:{variant:{solid:{},subtle:{},"left-accent":{borderLeftStyle:"solid",borderLeftWidth:"$sizes$1"},"top-accent":{borderTopStyle:"solid",borderTopWidth:"$sizes$1"}},status:{success:{},info:{},warning:{},danger:{}}},compoundVariants:[{variant:"solid",status:"success",css:{backgroundColor:"$success9",color:"white"}},{variant:"solid",status:"info",css:{backgroundColor:"$info9",color:"white"}},{variant:"solid",status:"warning",css:{backgroundColor:"$warning9",color:"$blackAlpha12"}},{variant:"solid",status:"danger",css:{backgroundColor:"$danger9",color:"white"}},{variant:"subtle",status:"success",css:{backgroundColor:"$success3",color:"$success11",["& .".concat(Zn)]:{color:"$success9"}}},{variant:"subtle",status:"info",css:{backgroundColor:"$info3",color:"$info11",["& .".concat(Zn)]:{color:"$info9"}}},{variant:"subtle",status:"warning",css:{backgroundColor:"$warning3",color:"$warning11",["& .".concat(Zn)]:{color:"$warning9"}}},{variant:"subtle",status:"danger",css:{backgroundColor:"$danger3",color:"$danger11",["& .".concat(Zn)]:{color:"$danger9"}}},{variant:"left-accent",status:"success",css:{borderLeftColor:"$success9",backgroundColor:"$success3",color:"$success11",["& .".concat(Zn)]:{color:"$success9"}}},{variant:"left-accent",status:"info",css:{borderLeftColor:"$info9",backgroundColor:"$info3",color:"$info11",["& .".concat(Zn)]:{color:"$info9"}}},{variant:"left-accent",status:"warning",css:{borderLeftColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",["& .".concat(Zn)]:{color:"$warning9"}}},{variant:"left-accent",status:"danger",css:{borderLeftColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",["& .".concat(Zn)]:{color:"$danger9"}}},{variant:"top-accent",status:"success",css:{borderTopColor:"$success9",backgroundColor:"$success3",color:"$success11",["& .".concat(Zn)]:{color:"$success9"}}},{variant:"top-accent",status:"info",css:{borderTopColor:"$info9",backgroundColor:"$info3",color:"$info11",["& .".concat(Zn)]:{color:"$info9"}}},{variant:"top-accent",status:"warning",css:{borderTopColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",["& .".concat(Zn)]:{color:"$warning9"}}},{variant:"top-accent",status:"danger",css:{borderTopColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",["& .".concat(Zn)]:{color:"$danger9"}}}]}),d2="hope-alert";function cS(e){var t,n,r,a,i,o;const s=Ce().Alert,l={variant:(r=(n=(t=s==null?void 0:s.defaultProps)==null?void 0:t.root)==null?void 0:n.variant)!=null?r:"subtle",status:(o=(i=(a=s==null?void 0:s.defaultProps)==null?void 0:a.root)==null?void 0:i.status)!=null?o:"info"},u=X(l,e),[d,p]=fe(u,["class","variant","status"]),f=()=>ce(d.class,d2,uS({variant:d.variant,status:d.status})),c={status:()=>d.status};return w(f2.Provider,{value:c,get children(){return w(Be,X({role:"alert",get class(){return f()},get __baseStyle(){var g;return(g=s==null?void 0:s.baseStyle)==null?void 0:g.root}},p))}})}cS.toString=()=>be(d2);const f2=Lt();function dS(){const e=It(f2);if(!e)throw new Error("[Hope UI]: useAlertContext must be used within an `<Alert />` component");return e}const h2="hope-alert__description";function fS(e){const t=Ce().Alert,[n,r]=fe(e,["class"]),a=()=>ce(n.class,h2,lS());return w(Be,X({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.description}},r))}fS.toString=()=>be(h2);const hS=Bt('<svg><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm-2 19.59l-5-5L10.59 15L14 18.41L21.41 11l1.596 1.586Z"></path></svg>',4,!0),pS=Bt('<svg><path fill="none" d="m14 21.591l-5-5L10.591 15L14 18.409L21.41 11l1.595 1.585L14 21.591z"></path></svg>',4,!0),p2=br({viewBox:"0 0 32 32",path:()=>[hS.cloneNode(!0),pS.cloneNode(!0)]}),gS=Bt('<svg><path fill="currentColor" d="M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14s14-6.3 14-14S23.7 2 16 2zm-1.1 6h2.2v11h-2.2V8zM16 25c-.8 0-1.5-.7-1.5-1.5S15.2 22 16 22s1.5.7 1.5 1.5S16.8 25 16 25z"></path></svg>',4,!0),g2=br({viewBox:"0 0 32 32",path:()=>gS.cloneNode(!0)}),mS=Bt('<svg><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M29.4898 29.8706C29.3402 29.9548 29.1713 29.9991 28.9996 29.9993H2.99961C2.82787 29.9991 2.65905 29.9548 2.5094 29.8706C2.35976 29.7864 2.23433 29.665 2.14521 29.5182C2.05608 29.3713 2.00626 29.2041 2.00055 29.0325C1.99485 28.8608 2.03344 28.6907 2.1126 28.5382L15.1126 3.53821C15.1971 3.37598 15.3245 3.23999 15.4808 3.14514C15.6372 3.05017 15.8167 3 15.9996 3C16.1825 3 16.362 3.05017 16.5184 3.14514C16.6748 3.23999 16.8021 3.37598 16.8866 3.53821L29.8866 28.5382C29.9658 28.6907 30.0044 28.8608 29.9986 29.0325C29.9929 29.2041 29.9431 29.3713 29.854 29.5182C29.7649 29.665 29.6395 29.7864 29.4898 29.8706ZM16.0016 6.16919V6.17029H15.9976V6.16919H16.0016ZM15.9996 25.9993C15.7029 25.9993 15.4129 25.9113 15.1662 25.7465C14.9196 25.5817 14.7273 25.3474 14.6138 25.0734C14.5996 25.0391 14.5867 25.0044 14.5752 24.9694C14.4942 24.724 14.4778 24.4613 14.5284 24.2067C14.5863 23.9156 14.7292 23.6484 14.9389 23.4386C14.9652 23.4124 14.9923 23.3872 15.0202 23.3632C15.2159 23.1945 15.4524 23.0787 15.707 23.0281C15.7433 23.0209 15.7799 23.015 15.8165 23.0105C16.0723 22.979 16.3326 23.014 16.572 23.1129L16.5736 23.1135C16.8477 23.2271 17.082 23.4193 17.2468 23.6659C17.2674 23.6968 17.2868 23.7283 17.305 23.7604C17.4322 23.9852 17.4996 24.2397 17.4996 24.4993C17.4996 24.8971 17.3416 25.2787 17.0603 25.5599C16.7789 25.8413 16.3974 25.9993 15.9996 25.9993ZM17.1246 20.9993H14.8746V11.9993H17.1246V20.9993Z"></path></svg>',4,!0),m2=br({viewBox:"0 0 32 32",path:()=>mS.cloneNode(!0)}),xS=Bt('<svg><path fill="none" d="M16 8a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8Zm4 13.875h-2.875v-8H13v2.25h1.875v5.75H12v2.25h8Z"></path></svg>',4,!0),bS=Bt('<svg><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 6a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8Zm4 16.125h-8v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"></path></svg>',4,!0),x2=br({viewBox:"0 0 32 32",path:()=>[xS.cloneNode(!0),bS.cloneNode(!0)]}),b2="hope-alert__icon";function vS(e){const t=Ce().Alert,{status:n}=dS(),a=X({boxSize:"$6"},e),[i,o]=fe(a,["as","class"]),s=()=>ce(i.class,b2,Zn()),l=()=>{if(i.as)return i.as;switch(n()){case"success":return p2;case"info":return x2;case"warning":return m2;case"danger":return g2}};return w(yi,X({get as(){return l()},get class(){return s()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.icon}},o))}vS.toString=()=>be(b2);const v2="hope-alert__title";function _S(e){const t=Ce().Alert,[n,r]=fe(e,["class"]),a=()=>ce(n.class,v2,sS());return w(Be,X({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.title}},r))}_S.toString=()=>be(v2);const yS=Q({position:"relative",outline:"none",backgroundColor:"transparent",textDecoration:"none",cursor:"pointer",transition:"text-decoration 250ms","&:hover":{textDecoration:"underline"},"&:focus":{boxShadow:"$outline"}}),_2="hope-anchor";function y2(e){const t=Ce().Anchor,[n,r]=fe(e,["class","external"]),a=()=>ce(n.class,_2,yS());return w(Xe.a,X({get class(){return a()},get __baseStyle(){return t==null?void 0:t.baseStyle},get target(){return n.external?"_blank":void 0},get rel(){return n.external?"noopener noreferrer":void 0}},r))}y2.toString=()=>be(_2);Q({position:"relative","&::before":{height:0,content:"''",display:"block"},"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}});const lc="hope-icon-button",ES=Q({display:"inline-flex",alignSelf:"center",flexShrink:0}),SS=Q({position:"absolute",display:"flex",alignItems:"center",flexShrink:0,fontSize:"1em",lineHeight:"$normal",variants:{withLoadingText:{true:{position:"relative"}}}}),CS=Q({fontSize:"1.3em",animation:"1s linear infinite ".concat(ac)});function $o(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,["&.".concat(lc)]:{width:e.height,padding:"0"}}}function Ho(e){return{height:e.height,py:0,px:e.paddingX,["&.".concat(lc)]:{width:e.height,padding:"0"}}}function Ka(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover}}}function Ya(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function Bn(e){return{borderColor:e.borderColor,color:e.color,"&:hover":{borderColor:e.borderColorHover,backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function Xa(e){return{color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}const E2=Q({appearance:"none",position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",outline:"none",borderRadius:"$sm",padding:"0",fontWeight:"$medium",lineHeight:"$none",textDecoration:"none",cursor:"pointer",userSelect:"none",whiteSpace:"nowrap",verticalAlign:"middle",transition:"color 250ms, background-color 250ms, box-shadow 250ms","&:focus":{outline:"none",boxShadow:"$outline"},"&:disabled, &:hover:disabled":{color:"$neutral7",cursor:"not-allowed"},variants:{variant:{solid:{border:"1px solid transparent","&:disabled, &:hover:disabled":{backgroundColor:"$neutral3"}},subtle:{border:"1px solid transparent","&:disabled, &:hover:disabled":{backgroundColor:"$neutral3"}},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent","&:disabled, &:hover:disabled":{borderColor:"$neutral3"}},dashed:{borderStyle:"dashed",borderWidth:"1px",backgroundColor:"transparent","&:disabled, &:hover:disabled":{borderColor:"$neutral3"}},ghost:{border:"1px solid transparent",backgroundColor:"transparent"}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{xs:$o({height:"$6",paddingX:"$2",fontSize:"$xs"}),sm:$o({height:"$8",paddingX:"$3",fontSize:"$sm"}),md:$o({height:"$10",paddingX:"$4",fontSize:"$base"}),lg:$o({height:"$12",paddingX:"$6",fontSize:"$lg"}),xl:$o({height:"$16",paddingX:"$10",fontSize:"$xl"})},compact:{true:{},false:{}},fullWidth:{true:{display:"flex",width:"100%"},false:{display:"inline-flex",width:"auto"}},loading:{true:{opacity:"0.75",cursor:"default",pointerEvents:"none"},false:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:Ka({color:"white",bgColor:"$primary9",bgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:Ka({color:"white",bgColor:"$accent9",bgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:Ka({color:"white",bgColor:"$neutral9",bgColorHover:"$neutral10"})},{variant:"solid",colorScheme:"success",css:Ka({color:"white",bgColor:"$success9",bgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:Ka({color:"white",bgColor:"$info9",bgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:Ka({color:"$blackAlpha12",bgColor:"$warning9",bgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:Ka({color:"white",bgColor:"$danger9",bgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:Ya({color:"$primary11",bgColor:"$primary4",bgColorHover:"$primary5",bgColorActive:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:Ya({color:"$accent11",bgColor:"$accent4",bgColorHover:"$accent5",bgColorActive:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:Ya({color:"$neutral12",bgColor:"$neutral4",bgColorHover:"$neutral5",bgColorActive:"$neutral6"})},{variant:"subtle",colorScheme:"success",css:Ya({color:"$success11",bgColor:"$success4",bgColorHover:"$success5",bgColorActive:"$success6"})},{variant:"subtle",colorScheme:"info",css:Ya({color:"$info11",bgColor:"$info4",bgColorHover:"$info5",bgColorActive:"$info6"})},{variant:"subtle",colorScheme:"warning",css:Ya({color:"$warning11",bgColor:"$warning4",bgColorHover:"$warning5",bgColorActive:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:Ya({color:"$danger11",bgColor:"$danger4",bgColorHover:"$danger5",bgColorActive:"$danger6"})},{variant:"outline",colorScheme:"primary",css:Bn({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"outline",colorScheme:"accent",css:Bn({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"outline",colorScheme:"neutral",css:Bn({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"outline",colorScheme:"success",css:Bn({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"outline",colorScheme:"info",css:Bn({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"outline",colorScheme:"warning",css:Bn({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"outline",colorScheme:"danger",css:Bn({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"dashed",colorScheme:"primary",css:Bn({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"dashed",colorScheme:"accent",css:Bn({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"dashed",colorScheme:"neutral",css:Bn({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"dashed",colorScheme:"success",css:Bn({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"dashed",colorScheme:"info",css:Bn({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"dashed",colorScheme:"warning",css:Bn({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"dashed",colorScheme:"danger",css:Bn({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"ghost",colorScheme:"primary",css:Xa({color:"$primary11",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"ghost",colorScheme:"accent",css:Xa({color:"$accent11",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"ghost",colorScheme:"neutral",css:Xa({color:"$neutral12",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"ghost",colorScheme:"success",css:Xa({color:"$success11",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"ghost",colorScheme:"info",css:Xa({color:"$info11",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"ghost",colorScheme:"warning",css:Xa({color:"$warning11",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"ghost",colorScheme:"danger",css:Xa({color:"$danger11",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{size:"xs",compact:"true",css:Ho({height:"$5",paddingX:"$1"})},{size:"sm",compact:"true",css:Ho({height:"$6",paddingX:"$1_5"})},{size:"md",compact:"true",css:Ho({height:"$7",paddingX:"$2"})},{size:"lg",compact:"true",css:Ho({height:"$8",paddingX:"$2_5"})},{size:"xl",compact:"true",css:Ho({height:"$10",paddingX:"$3_5"})}]});Q({display:"inline-flex",["& .".concat(E2,":focus")]:{zIndex:1}});const TS=Lt();function S2(){return It(TS)}const C2="hope-button__icon";function rd(e){const[t,n]=fe(e,["class","children"]),r=()=>ce(t.class,C2,ES());return w(Xe.span,X({get class(){return r()}},n,{get children(){return t.children}}))}rd.toString=()=>be(C2);const wS=Bt('<svg><g fill="none"><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M12 19a7 7 0 1 0 0-14a7 7 0 0 0 0 14zm0 3c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10z" fill="currentColor"></path><path d="M2 12C2 6.477 6.477 2 12 2v3a7 7 0 0 0-7 7H2z" fill="currentColor"></path></g></svg>',8,!0),T2=br({path:()=>wS.cloneNode(!0)}),w2="hope-button__loader";function ad(e){const t={spacing:"0.5rem",children:w(T2,{get class(){return CS()}})},n=X(t,e),[r,a]=fe(n,["class","children","withLoadingText","placement","spacing"]),i=()=>r.placement==="start"?"marginEnd":"marginStart",o=()=>({[i()]:r.withLoadingText?r.spacing:0}),s=()=>ce(r.class,w2,SS({withLoadingText:r.withLoadingText}));return w(Xe.div,X({get class(){return s()}},o,a,{get children(){return r.children}}))}ad.toString=()=>be(w2);const A2="hope-button";function k2(e){var t,n,r;const a=Ce().Button,i=S2(),o={loaderPlacement:(r=(n=(t=a==null?void 0:a.defaultProps)==null?void 0:t.root)==null?void 0:n.loaderPlacement)!=null?r:"start",iconSpacing:"0.5rem",type:"button",role:"button"},s=X(o,e),[l,u,d]=fe(s,["class","disabled","loadingText","loader","loaderPlacement","variant","colorScheme","size","loading","compact","fullWidth"],["children","iconSpacing","leftIcon","rightIcon"]),p=()=>{var h;return(h=l.disabled)!=null?h:i==null?void 0:i.state.disabled},f=()=>{var h,c,g,m,x,v,y,_,S,C,T,R,P,A,I;return ce(l.class,A2,E2({variant:(x=(m=(h=l.variant)!=null?h:i==null?void 0:i.state.variant)!=null?m:(g=(c=a==null?void 0:a.defaultProps)==null?void 0:c.root)==null?void 0:g.variant)!=null?x:"solid",colorScheme:(C=(S=(v=l.colorScheme)!=null?v:i==null?void 0:i.state.colorScheme)!=null?S:(_=(y=a==null?void 0:a.defaultProps)==null?void 0:y.root)==null?void 0:_.colorScheme)!=null?C:"primary",size:(I=(A=(T=l.size)!=null?T:i==null?void 0:i.state.size)!=null?A:(P=(R=a==null?void 0:a.defaultProps)==null?void 0:R.root)==null?void 0:P.size)!=null?I:"md",loading:l.loading,compact:l.compact,fullWidth:l.fullWidth}))};return w(Xe.button,X({get class(){return f()},get disabled(){return p()},get __baseStyle(){var h;return(h=a==null?void 0:a.baseStyle)==null?void 0:h.root}},d,{get children(){return[w(Re,{get when(){return l.loading&&l.loaderPlacement==="start"},get children(){return w(ad,{class:"hope-button__loader--start",get withLoadingText(){return!!l.loadingText},placement:"start",get spacing(){return u.iconSpacing},get children(){return l.loader}})}}),w(Re,{get when(){return l.loading},get fallback(){return w(Ih,u)},get children(){return w(Re,{get when(){return l.loadingText},get fallback(){return w(Xe.span,{opacity:0,get children(){return w(Ih,u)}})},get children(){return l.loadingText}})}}),w(Re,{get when(){return l.loading&&l.loaderPlacement==="end"},get children(){return w(ad,{class:"hope-button__loader--end",get withLoadingText(){return!!l.loadingText},placement:"end",get spacing(){return u.iconSpacing},get children(){return l.loader}})}})]}}))}k2.toString=()=>be(A2);function Ih(e){return[w(Re,{get when(){return e.leftIcon},get children(){return w(rd,{get marginEnd(){return e.iconSpacing},get children(){return e.leftIcon}})}}),ir(()=>e.children),w(Re,{get when(){return e.rightIcon},get children(){return w(rd,{get marginStart(){return e.iconSpacing},get children(){return e.rightIcon}})}})]}function Qa(e){return{boxSize:e,fontSize:"calc(".concat(e," / 2.5)"),lineHeight:e}}const O2=Q({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,borderRadius:"$full",borderColor:"$loContrast",backgroundColor:"$neutral8",color:"$neutral12",fontWeight:"$medium",textAlign:"center",textTransform:"uppercase",verticalAlign:"top",variants:{size:{"2xs":Qa("$sizes$4"),xs:Qa("$sizes$6"),sm:Qa("$sizes$8"),md:Qa("$sizes$12"),lg:Qa("$sizes$16"),xl:Qa("$sizes$24"),"2xl":Qa("$sizes$32"),full:{boxSize:"$full",fontSize:"calc($sizes$full / 2.5)"}},withBorder:{true:{}}},compoundVariants:[{withBorder:!0,size:"2xs",css:{borderWidth:"1px"}},{withBorder:!0,size:"xs",css:{borderWidth:"1px"}},{withBorder:!0,size:"sm",css:{borderWidth:"2px"}},{withBorder:!0,size:"md",css:{borderWidth:"2px"}},{withBorder:!0,size:"lg",css:{borderWidth:"3px"}},{withBorder:!0,size:"xl",css:{borderWidth:"4px"}},{withBorder:!0,size:"2xl",css:{borderWidth:"5px"}},{withBorder:!0,size:"full",css:{borderWidth:"2px"}}]});Q(O2);Q({boxSize:"$full",borderRadius:"$full",objectFit:"cover"});Q({position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"$full",borderWidth:"0.2em",borderStyle:"solid",borderColor:"$loContrast",variants:{placement:{"top-start":{insetInlineStart:"0",top:"0",transform:"translate(-25%, -25%)"},"top-end":{insetInlineEnd:"0",top:"0",transform:"translate(25%, -25%)"},"bottom-start":{insetInlineStart:"0",bottom:"0",transform:"translate(-25%, 25%)"},"bottom-end":{insetInlineEnd:"0",bottom:"0",transform:"translate(25%, 25%)"}}}});Q({display:"flex",alignItems:"center",justifyContent:"flex-start",flexDirection:"row",["& .".concat(O2,":first-child")]:{marginStart:"0"}});function AS(e){const[t,n]=Ie("pending"),r=()=>e.ignoreFallback?"loaded":t();let a=null;const i=()=>{a&&(a.onload=null,a.onerror=null,a=null)},o=()=>{if(!e.src)return;i();const s=new Image;s.src=e.src,e.crossOrigin&&(s.crossOrigin=e.crossOrigin),e.srcSet&&(s.srcset=e.srcSet),e.sizes&&(s.sizes=e.sizes),e.loading&&(s.loading=e.loading),s.onload=l=>{i(),n("loaded"),xn(e.onLoad,l)},s.onerror=l=>{i(),n("failed"),xn(e.onError,l)},a=s};return Kt(()=>{n(e.src?"loading":"pending")}),Pn(()=>{e.ignoreFallback||(t()==="loading"&&o(),wt(()=>{i()}))}),r}const kS=Q({display:"inline-block",borderRadius:"$sm",py:"$0_5",px:"$1",fontSize:"$xs",fontWeight:"$bold",lineHeight:"$none",letterSpacing:"$wide",textTransform:"uppercase",whiteSpace:"nowrap",verticalAlign:"middle",variants:{variant:{solid:{border:"1px solid transparent",color:"white"},subtle:{border:"1px solid transparent"},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent"}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:{color:"white",bgColor:"$primary9"}},{variant:"solid",colorScheme:"accent",css:{color:"white",bgColor:"$accent9"}},{variant:"solid",colorScheme:"neutral",css:{color:"white",bgColor:"$neutral9"}},{variant:"solid",colorScheme:"success",css:{color:"white",bgColor:"$success9"}},{variant:"solid",colorScheme:"info",css:{color:"white",bgColor:"$info9"}},{variant:"solid",colorScheme:"warning",css:{color:"$blackAlpha12",bgColor:"$warning9"}},{variant:"solid",colorScheme:"danger",css:{color:"white",bgColor:"$danger9"}},{variant:"subtle",colorScheme:"primary",css:{color:"$primary11",bgColor:"$primary4"}},{variant:"subtle",colorScheme:"accent",css:{color:"$accent11",bgColor:"$accent4"}},{variant:"subtle",colorScheme:"neutral",css:{color:"$neutral12",bgColor:"$neutral4"}},{variant:"subtle",colorScheme:"success",css:{color:"$success11",bgColor:"$success4"}},{variant:"subtle",colorScheme:"info",css:{color:"$info11",bgColor:"$info4"}},{variant:"subtle",colorScheme:"warning",css:{color:"$warning11",bgColor:"$warning4"}},{variant:"subtle",colorScheme:"danger",css:{color:"$danger11",bgColor:"$danger4"}},{variant:"outline",colorScheme:"primary",css:{color:"$primary11",borderColor:"$primary7"}},{variant:"outline",colorScheme:"accent",css:{color:"$accent11",borderColor:"$accent7"}},{variant:"outline",colorScheme:"neutral",css:{color:"$neutral12",borderColor:"$neutral7"}},{variant:"outline",colorScheme:"success",css:{color:"$success11",borderColor:"$success7"}},{variant:"outline",colorScheme:"info",css:{color:"$info11",borderColor:"$info7"}},{variant:"outline",colorScheme:"warning",css:{color:"$warning11",borderColor:"$warning7"}},{variant:"outline",colorScheme:"danger",css:{color:"$danger11",borderColor:"$danger7"}}]}),I2="hope-badge";function OS(e){var t,n,r,a;const i=Ce().Badge,o={variant:(n=(t=i==null?void 0:i.defaultProps)==null?void 0:t.variant)!=null?n:"subtle",colorScheme:(a=(r=i==null?void 0:i.defaultProps)==null?void 0:r.colorScheme)!=null?a:"neutral"},s=X(o,e),[l,u,d]=fe(s,["class"],["variant","colorScheme"]),p=()=>ce(l.class,I2,kS(u));return w(Xe.span,X({get class(){return p()},get __baseStyle(){return i==null?void 0:i.baseStyle}},d))}OS.toString=()=>be(I2);const IS=Q({display:"block",fontSize:"$base",lineHeight:"$6"}),NS=Q({display:"flex",alignItems:"center",margin:0,padding:0,listStyle:"none"}),LS=Q({display:"inline-flex",alignItems:"center"}),RS=Q({display:"inline-flex",alignItems:"center",justifyContent:"center"}),PS=Q({position:"relative",display:"inline-flex",alignItems:"center",outline:"none",backgroundColor:"transparent",color:"$neutral11",textDecoration:"none",cursor:"pointer",transition:"color 250ms, text-decoration 250ms","&:focus":{boxShadow:"$outline"},variants:{currentPage:{true:{color:"$neutral12",cursor:"default"},false:{"&:hover":{color:"$primary11"}}}}}),N2=Lt(),L2="hope-breadcrumb",DS="hope-breadcrumb__list";function MS(e){const t=Ce().Breadcrumb,[n]=bn({get spacing(){var l,u,d,p;return(p=(d=e.spacing)!=null?d:(u=(l=t==null?void 0:t.defaultProps)==null?void 0:l.root)==null?void 0:u.spacing)!=null?p:"0.5rem"},get separator(){var l,u,d,p;return(p=(d=e.separator)!=null?d:(u=(l=t==null?void 0:t.defaultProps)==null?void 0:l.root)==null?void 0:u.separator)!=null?p:"/"}}),[r,a]=fe(e,["class","children","separator","spacing"]),i=()=>ce(r.class,L2,IS()),o=()=>ce(DS,NS()),s={state:n};return w(N2.Provider,{value:s,get children(){return w(Xe.nav,X({"aria-label":"breadcrumb",get class(){return i()},get __baseStyle(){var l;return(l=t==null?void 0:t.baseStyle)==null?void 0:l.root}},a,{get children(){return w(Xe.ol,{get class(){return o()},get gap(){return n.spacing},get children(){return r.children}})}}))}})}MS.toString=()=>be(L2);function R2(){const e=It(N2);if(!e)throw new Error("[Hope UI]: useBreadcrumbContext must be used within a `<Breadcrumb />` component");return e}const P2="hope-breadcrumb__item";function BS(e){const t=Ce().Breadcrumb,n=R2(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,P2,LS());return w(Xe.li,X({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.item},get gap(){return n.state.spacing}},a))}BS.toString=()=>be(P2);const D2="hope-breadcrumb__link";function FS(e){const t=Ce().Breadcrumb,[n,r]=fe(e,["class","currentPage","href"]),a=()=>ce(n.class,D2,PS({currentPage:n.currentPage===!0}));return w(Re,{get when(){return n.currentPage},get fallback(){return w(Xe.a,X({get href(){return n.href},get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.link}},r))},get children(){return w(Xe.span,X({"aria-current":"page",get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.link}},r))}})}FS.toString=()=>be(D2);const M2="hope-breadcrumb__separator";function $S(e){const t=Ce().Breadcrumb,n=R2(),[r,a]=fe(e,["class","children"]),i=()=>ce(r.class,M2,RS());return w(Xe.span,X({role:"presentation",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.separator}},a,{get children(){return w(Re,{get when(){return r.children},get fallback(){return n.state.separator},get children(){return r.children}})}}))}$S.toString=()=>be(M2);const HS=Q({display:"flex",justifyContent:"center",alignItems:"center"}),B2="hope-center";function go(e){const[t,n]=fe(e,["class"]),r=()=>ce(t.class,B2,HS());return w(Be,X({get class(){return r()}},n))}go.toString=()=>be(B2);function Za(e){return{color:e.color,"&[data-disabled]":{color:"$neutral10"},"&[data-focus]":{boxShadow:"0 0 0 3px $colors".concat(e.boxShadowColorFocus),borderColor:e.borderColorFocus}}}const Xd=Q({position:"relative",display:"inline-flex",alignItems:"center",gap:"$2",cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"},variants:{size:{sm:{fontSize:"$sm",lineHeight:"$5"},md:{fontSize:"$base",lineHeight:"$6"},lg:{fontSize:"$lg",lineHeight:"$7"}}}}),Qd=Q({cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"}}),Zd=Q({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,height:"100%",outline:"none",padding:0,verticalAlign:"middle",cursor:"pointer",userSelect:"none",transition:"border-color 250ms, box-shadow 250ms","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"},"&[data-invalid]":{borderColor:"$danger8",color:"$danger9"},"&[data-focus][data-invalid]":{boxShadow:"0 0 0 3px $colors$danger5",borderColor:"$danger8"},"&[data-checked], &[data-focus][data-checked]":{borderColor:"transparent",backgroundColor:"currentColor"},variants:{variant:{outline:{border:"1px solid $colors$neutral8",backgroundColor:"transparent"},filled:{border:"1px solid transparent",backgroundColor:"$neutral7"}},colorScheme:{primary:Za({color:"$primary9",boxShadowColorFocus:"$primary5",borderColorFocus:"$primary8"}),accent:Za({color:"$accent9",boxShadowColorFocus:"$accent5",borderColorFocus:"$accent8"}),neutral:Za({color:"$neutral9",boxShadowColorFocus:"$neutral5",borderColorFocus:"$neutral8"}),success:Za({color:"$success9",boxShadowColorFocus:"$success5",borderColorFocus:"$success8"}),info:Za({color:"$info9",boxShadowColorFocus:"$info5",borderColorFocus:"$info8"}),warning:Za({color:"$warning9",boxShadowColorFocus:"$warning5",borderColorFocus:"$warning8"}),danger:Za({color:"$danger9",boxShadowColorFocus:"$danger5",borderColorFocus:"$danger8"})},size:{sm:{boxSize:"$3"},md:{boxSize:"$4"},lg:{boxSize:"$5"}}}}),US=Q(Xd,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),zS=Q(Qd),jS=Q(Zd,{borderRadius:"$sm","& svg":{color:"$loContrast"},"&[data-indeterminate], &[data-focus][data-indeterminate]":{borderColor:"transparent",backgroundColor:"currentColor"}}),qS=Lt();function F2(){return It(qS)}const WS=Q({position:"relative",width:"$full"}),VS=Q({display:"inline-block",marginBottom:"$1",color:"$neutral12",fontWeight:"$medium",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}}),GS=Q({marginInlineStart:"$1",color:"$danger9",fontSize:"$base"}),KS=Q({display:"inline-block",marginTop:"$1",color:"$neutral11",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});Q({display:"inline-block",marginTop:"$1",color:"$danger9",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});const $2=Lt(),H2="hope-form-control";function YS(e){const t="hope-field-".concat(or()),n=Ce().FormControl,[r,a]=bn({get id(){var h;return(h=e.id)!=null?h:t},get labelId(){return"".concat(this.id,"-label")},get helperTextId(){return"".concat(this.id,"-helper-text")},get errorMessageId(){return"".concat(this.id,"-error-message")},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get"data-focus"(){return this.isFocused?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0},hasHelperText:!1,hasErrorMessage:!1,isFocused:!1}),[i,o]=fe(e,["id","required","disabled","invalid","readOnly","class"]),s=h=>a("hasHelperText",h),l=h=>a("hasErrorMessage",h),u=()=>a("isFocused",!0),d=()=>a("isFocused",!1),p=()=>({state:r,setHasHelperText:s,setHasErrorMessage:l,onFocus:u,onBlur:d}),f=()=>ce(i.class,H2,WS());return w($2.Provider,{get value(){return p()},get children(){return w(Be,X({role:"group",get class(){return f()},get __baseStyle(){var h;return(h=n==null?void 0:n.baseStyle)==null?void 0:h.root}},o))}})}YS.toString=()=>be(H2);function $s(){return It($2)}function mo(e){const t=$s(),n=Ue(()=>Cn(t==null?void 0:t.onFocus,e.onFocus)),r=Ue(()=>Cn(t==null?void 0:t.onBlur,e.onBlur)),[a]=bn({get id(){var i;return(i=e.id)!=null?i:t==null?void 0:t.state.id},get required(){var i;return(i=e.required)!=null?i:t==null?void 0:t.state.required},get disabled(){var i;return(i=e.disabled)!=null?i:t==null?void 0:t.state.disabled},get invalid(){var i;return(i=e.invalid)!=null?i:t==null?void 0:t.state.invalid},get readOnly(){var i;return(i=e.readOnly)!=null?i:t==null?void 0:t.state.readOnly},get"aria-required"(){return this.required?!0:void 0},get"aria-disabled"(){return this.disabled?!0:void 0},get"aria-invalid"(){return this.invalid?!0:void 0},get"aria-readonly"(){return this.readOnly?!0:void 0},get"aria-describedby"(){const i=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.state.hasErrorMessage&&(t!=null&&t.state.invalid)&&i.push(t.state.errorMessageId),t!=null&&t.state.hasHelperText&&i.push(t.state.helperTextId),i.join(" ")||void 0},get onFocus(){return n},get onBlur(){return r}});return a}const XS=Bt('<input type="checkbox">',1);function QS(e){const t="hope-checkbox-".concat(or()),n=$s(),r=F2(),a=mo(e),[i,o]=bn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return e.checked!==void 0},get checked(){if(r){const m=r.state.value;return m!=null?m.some(x=>String(e.value)===String(x)):!1}return this.isControlled?!!e.checked:this._checked},get id(){var m;return n&&!r?a.id:(m=e.id)!=null?m:t},get name(){var m;return(m=e.name)!=null?m:r==null?void 0:r.state.name},get value(){return e.value},get indeterminate(){return e.indeterminate},get required(){var m;return(m=a.required)!=null?m:r==null?void 0:r.state.required},get disabled(){var m;return(m=a.disabled)!=null?m:r==null?void 0:r.state.disabled},get invalid(){var m;return(m=a.invalid)!=null?m:r==null?void 0:r.state.invalid},get readOnly(){var m;return(m=a.readOnly)!=null?m:r==null?void 0:r.state.readOnly},get"aria-required"(){return this.required?!0:void 0},get"aria-disabled"(){return this.disabled?!0:void 0},get"aria-invalid"(){return this.invalid?!0:void 0},get"aria-readonly"(){return this.readOnly?!0:void 0},get"aria-label"(){return e["aria-label"]},get"aria-labelledby"(){return e["aria-labelledby"]},get"aria-describedby"(){return e["aria-describedby"]},get"data-indeterminate"(){return this.indeterminate?"":void 0},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[s,l,u]=fe(e,["inputClass","children","ref","tabIndex","onChange"],["id","name","value","indeterminate","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),d=m=>{if(i.readOnly||i.disabled){m.preventDefault();return}if(!i.isControlled){const x=m.target;o("_checked",x.checked)}Cn(r==null?void 0:r.onChange,s.onChange)(m)},p=m=>{o("isFocused",!0),xn(a.onFocus,m)},f=m=>{o("isFocused",!1),xn(a.onBlur,m)},h=()=>ce(s.inputClass,ic()),c=()=>i,g={state:i};return w(ZS.Provider,{value:g,get children(){return w(Xe.label,X({get for(){return i.id},"data-group":!0,get"data-indeterminate"(){return i["data-indeterminate"]},get"data-focus"(){return i["data-focus"]},get"data-checked"(){return i["data-checked"]},get"data-required"(){return i["data-required"]},get"data-disabled"(){return i["data-disabled"]},get"data-invalid"(){return i["data-invalid"]},get"data-readonly"(){return i["data-readonly"]}},u,{get children(){return[(()=>{const m=XS.cloneNode(!0);m.addEventListener("blur",f),m.addEventListener("focus",p),m.addEventListener("change",d);const x=s.ref;return typeof x=="function"?x(m):s.ref=m,Pn(v=>{const y=h(),_=s.tabIndex,S=i.value,C=i.id,T=i.name,R=i.checked,P=i.required,A=i.disabled,I=i.readOnly,$=i["aria-required"],W=i["aria-disabled"],G=i["aria-invalid"],ae=i["aria-readonly"],ie=i["aria-label"],Te=i["aria-labelledby"],te=i["aria-describedby"];return y!==v._v$&&(m.className=v._v$=y),_!==v._v$2&&ht(m,"tabindex",v._v$2=_),S!==v._v$3&&(m.value=v._v$3=S),C!==v._v$4&&ht(m,"id",v._v$4=C),T!==v._v$5&&ht(m,"name",v._v$5=T),R!==v._v$6&&(m.checked=v._v$6=R),P!==v._v$7&&(m.required=v._v$7=P),A!==v._v$8&&(m.disabled=v._v$8=A),I!==v._v$9&&(m.readOnly=v._v$9=I),$!==v._v$10&&ht(m,"aria-required",v._v$10=$),W!==v._v$11&&ht(m,"aria-disabled",v._v$11=W),G!==v._v$12&&ht(m,"aria-invalid",v._v$12=G),ae!==v._v$13&&ht(m,"aria-readonly",v._v$13=ae),ie!==v._v$14&&ht(m,"aria-label",v._v$14=ie),Te!==v._v$15&&ht(m,"aria-labelledby",v._v$15=Te),te!==v._v$16&&ht(m,"aria-describedby",v._v$16=te),v},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),m})(),w(Re,{get when(){return An(s.children)},get fallback(){return s.children},get children(){var m;return(m=s.children)==null?void 0:m.call(s,{state:c})}})]}}))}})}const ZS=Lt(),JS=Bt('<svg><path d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" fill="currentColor" stroke="currentColor" stroke-width="1" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),eC=Bt('<svg><path d="M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z" fill="currentColor" stroke="currentColor" stroke-width="1" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),U2="hope-checkbox",tC="hope-checkbox__input",nC="hope-checkbox__control",rC="hope-checkbox__label";function aC(e){var t,n,r,a,i,o,s,l,u,d,p,f,h,c,g,m,x,v,y,_;const S=Ce().Checkbox,C=F2(),T={variant:(i=(a=(t=C==null?void 0:C.state)==null?void 0:t.variant)!=null?a:(r=(n=S==null?void 0:S.defaultProps)==null?void 0:n.root)==null?void 0:r.variant)!=null?i:"outline",colorScheme:(d=(u=(o=C==null?void 0:C.state)==null?void 0:o.colorScheme)!=null?u:(l=(s=S==null?void 0:S.defaultProps)==null?void 0:s.root)==null?void 0:l.colorScheme)!=null?d:"primary",size:(g=(c=(p=C==null?void 0:C.state)==null?void 0:p.size)!=null?c:(h=(f=S==null?void 0:S.defaultProps)==null?void 0:f.root)==null?void 0:h.size)!=null?g:"md",labelPlacement:(_=(y=(m=C==null?void 0:C.state)==null?void 0:m.labelPlacement)!=null?y:(v=(x=S==null?void 0:S.defaultProps)==null?void 0:x.root)==null?void 0:v.labelPlacement)!=null?_:"end"},R=X(T,e),[P,A]=fe(R,["children","class","variant","colorScheme","size","labelPlacement","iconChecked","iconIndeterminate"]),I=()=>ce(P.class,U2,US({size:P.size,labelPlacement:P.labelPlacement})),$=()=>ce(nC,jS({variant:P.variant,colorScheme:P.colorScheme,size:P.size})),W=()=>ce(rC,zS());return w(QS,X({get class(){return I()},inputClass:tC,get __baseStyle(){var G;return(G=S==null?void 0:S.baseStyle)==null?void 0:G.root}},A,{children:({state:G})=>[w(Xe.span,{"aria-hidden":!0,get class(){return $()},get __baseStyle(){var ae;return(ae=S==null?void 0:S.baseStyle)==null?void 0:ae.control},get"data-indeterminate"(){return G()["data-indeterminate"]},get"data-focus"(){return G()["data-focus"]},get"data-checked"(){return G()["data-checked"]},get"data-required"(){return G()["data-required"]},get"data-disabled"(){return G()["data-disabled"]},get"data-invalid"(){return G()["data-invalid"]},get"data-readonly"(){return G()["data-readonly"]},get children(){return w(Ms,{get children(){return[w(Xr,{get when(){return G().indeterminate},get children(){return w(Re,{get when(){return P.iconIndeterminate},get fallback(){return w(oC,{})},get children(){return P.iconIndeterminate}})}}),w(Xr,{get when(){return ir(()=>!!G().checked)()&&!G().indeterminate},get children(){return w(Re,{get when(){return P.iconChecked},get fallback(){return w(iC,{})},get children(){return P.iconChecked}})}})]}})}}),w(Xe.span,{get class(){return W()},get __baseStyle(){var ae;return(ae=S==null?void 0:S.baseStyle)==null?void 0:ae.label},get"data-indeterminate"(){return G()["data-indeterminate"]},get"data-focus"(){return G()["data-focus"]},get"data-checked"(){return G()["data-checked"]},get"data-required"(){return G()["data-required"]},get"data-disabled"(){return G()["data-disabled"]},get"data-invalid"(){return G()["data-invalid"]},get"data-readonly"(){return G()["data-readonly"]},get children(){return P.children}})]}))}aC.toString=()=>be(U2);const iC=br({viewBox:"0 0 15 15",path:()=>JS.cloneNode(!0)}),oC=br({viewBox:"0 0 15 15",path:()=>eC.cloneNode(!0)}),sC=po({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}});Q({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"});Q({fill:"transparent",stroke:"currentColor"});Q({position:"absolute",top:0,left:0,variants:{spin:{true:{animation:"".concat(ac," 2s linear infinite")}}}});Q({fill:"transparent",stroke:"currentColor",opacity:1,variants:{hidden:{true:{opacity:0}},withRoundCaps:{true:{strokeLinecap:"round"}},indeterminate:{true:{animation:"".concat(sC," 2s linear infinite")},false:{strokeDashoffset:66,transitionProperty:"stroke-dasharray, stroke, opacity",transitionDuration:"600ms",transitionTimingFunction:"ease"}}}});Q({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",fontSize:"$xs",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"});const lC=Bt('<svg><path fill="currentColor" d="M2.64 1.27L7.5 6.13l4.84-4.84A.92.92 0 0 1 13 1a1 1 0 0 1 1 1a.9.9 0 0 1-.27.66L8.84 7.5l4.89 4.89A.9.9 0 0 1 14 13a1 1 0 0 1-1 1a.92.92 0 0 1-.69-.27L7.5 8.87l-4.85 4.85A.92.92 0 0 1 2 14a1 1 0 0 1-1-1a.9.9 0 0 1 .27-.66L6.16 7.5L1.27 2.61A.9.9 0 0 1 1 2a1 1 0 0 1 1-1c.24.003.47.1.64.27z"></path></svg>',4,!0),uC=br({viewBox:"0 0 15 15",path:()=>lC.cloneNode(!0)}),cC=Q({appearance:"none",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,outline:"none",borderWidth:0,borderRadius:"$sm",backgroundColor:"transparent",padding:0,color:"currentColor",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms","&:disbaled":{opacity:"0.5",cursor:"not-allowed",boxShadow:"none"},"&:hover":{backgroundColor:"$closeButtonHoverBackground"},"&:active":{backgroundColor:"$closeButtonActiveBackground"},"&:focus":{outline:"none",boxShadow:"$outline"},variants:{size:{sm:{boxSize:"24px",fontSize:"10px"},md:{boxSize:"32px",fontSize:"12px"},lg:{boxSize:"40px",fontSize:"16px"}}}}),z2="hope-close-button";function uc(e){var t,n,r,a,i,o;const s=Ce().CloseButton,l={"aria-label":(n=(t=s==null?void 0:s.defaultProps)==null?void 0:t["aria-label"])!=null?n:"Close",icon:(a=(r=s==null?void 0:s.defaultProps)==null?void 0:r.icon)!=null?a:w(uC,{}),size:(o=(i=s==null?void 0:s.defaultProps)==null?void 0:i.size)!=null?o:"md"},u=X(l,e),[d,p]=fe(u,["class","children","size","icon"]),f=()=>ce(d.class,z2,cC({size:d.size}));return w(Xe.button,X({type:"button",get class(){return f()},get __baseStyle(){return s==null?void 0:s.baseStyle}},p,{get children(){return w(Re,{get when(){return d.children},get fallback(){return d.icon},get children(){return d.children}})}}))}uc.toString=()=>be(z2);const dC=Q({width:"100%","@sm":{maxWidth:"$containerSm"},"@md":{maxWidth:"$containerMd"},"@lg":{maxWidth:"$containerLg"},"@xl":{maxWidth:"$containerXl"},"@2xl":{maxWidth:"$container2xl"},variants:{centered:{true:{mx:"auto"}},centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}}}}),j2="hope-container";function fC(e){const n=X({centered:!0,centerContent:!1},e),[r,a,i]=fe(n,["class"],["centered","centerContent"]),o=()=>ce(r.class,j2,dC(a));return w(Be,X({get class(){return o()}},i))}fC.toString=()=>be(j2);const hC=Q({border:0,borderColor:"currentColor",variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{height:"100%"},horizontal:{width:"100%"}}}}),q2="hope-divider";function pC(e){const n=X({as:"div",variant:"solid",orientation:"horizontal",color:"$neutral6",thickness:"1px"},e),[r,a]=fe(n,["class","variant","orientation","thickness"]),i=()=>ce(r.class,q2,hC({variant:r.variant,orientation:r.orientation,css:{borderLeftWidth:r.orientation==="vertical"?r.thickness:0,borderBottomWidth:r.orientation==="horizontal"?r.thickness:0}}));return w(Be,X({get class(){return i()}},a))}pC.toString=()=>be(q2);function gC(e){const t="hope-modal-".concat(or()),n=Ce().Modal,[r,a]=bn({headerMounted:!1,bodyMounted:!1,get opened(){return e.opened},get dialogId(){var m;return(m=e.id)!=null?m:t},get headerId(){return"".concat(this.dialogId,"--header")},get bodyId(){return"".concat(this.dialogId,"--body")},get initialFocus(){return e.initialFocus},get motionPreset(){var m,x,v,y;return(y=(v=e.motionPreset)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.motionPreset)!=null?y:"scale"},get size(){var m,x,v,y;return(y=(v=e.size)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.size)!=null?y:"md"},get centered(){var m,x,v,y;return(y=(v=e.centered)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.centered)!=null?y:!1},get scrollBehavior(){var m,x,v,y;return(y=(v=e.scrollBehavior)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.scrollBehavior)!=null?y:"outside"},get closeOnOverlayClick(){var m,x,v,y;return(y=(v=e.closeOnOverlayClick)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.closeOnOverlayClick)!=null?y:!0},get closeOnEsc(){var m,x,v,y;return(y=(v=e.closeOnEsc)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.closeOnEsc)!=null?y:!0},get trapFocus(){var m,x,v,y;return(y=(v=e.trapFocus)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.trapFocus)!=null?y:!0},get blockScrollOnMount(){var m,x,v,y;return(y=(v=e.blockScrollOnMount)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.blockScrollOnMount)!=null?y:!0},get preserveScrollBarGap(){var m,x,v,y;return(y=(v=e.preserveScrollBarGap)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.preserveScrollBarGap)!=null?y:!1}}),[i,o]=Ie(!1);Kt(()=>{r.opened?o(!0):r.motionPreset==="none"&&o(!1)});const s=()=>o(!1),l=()=>e.onClose(),u=m=>a("headerMounted",m),d=m=>a("bodyMounted",m);let p=null;const g={state:r,unmountPortal:s,onClose:l,onMouseDown:m=>{p=m.target},onKeyDown:m=>{var x;m.key==="Escape"&&(m.stopPropagation(),r.closeOnEsc&&l(),(x=e.onEsc)==null||x.call(e))},onOverlayClick:m=>{var x;m.stopPropagation(),p===m.target&&(r.closeOnOverlayClick&&l(),(x=e.onOverlayClick)==null||x.call(e))},setHeaderMounted:u,setBodyMounted:d};return w(Re,{get when(){return i()},get children(){return w(W2.Provider,{value:g,get children(){return w(Ha,{get children(){return e.children}})}})}})}const W2=Lt();function za(){const e=It(W2);if(!e)throw new Error("[Hope UI]: useModalContext must be used within a `<Modal />` component");return e}const V2="hope-modal__body";function G2(e){const t=Ce().Modal,n=za(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,V2,z5({scrollBehavior:n.state.scrollBehavior}));return wn(()=>n.setBodyMounted(!0)),wt(()=>n.setBodyMounted(!1)),w(Be,X({get class(){return i()},get id(){return n.state.bodyId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.body}},a))}G2.toString=()=>be(V2);const K2="hope-modal__close-button";function Y2(e){var t,n,r,a,i,o,s,l;const u=Ce().Modal,d=za(),p={"aria-label":(r=(n=(t=u==null?void 0:u.defaultProps)==null?void 0:t.closeButton)==null?void 0:n["aria-label"])!=null?r:"Close modal",size:(o=(i=(a=u==null?void 0:u.defaultProps)==null?void 0:a.closeButton)==null?void 0:i.size)!=null?o:"md",icon:(l=(s=u==null?void 0:u.defaultProps)==null?void 0:s.closeButton)==null?void 0:l.icon},f=X(p,e),[h,c]=fe(f,["class","onClick"]),g=()=>ce(h.class,K2,q5());return w(uc,X({get class(){return g()},get __baseStyle(){var x;return(x=u==null?void 0:u.baseStyle)==null?void 0:x.closeButton},onClick:x=>{Cn(h.onClick,v=>{v.stopPropagation(),d.onClose()})(x)}},c))}Y2.toString=()=>be(K2);const X2="hope-modal__footer";function mC(e){const t=Ce().Modal,[n,r]=fe(e,["class"]),a=()=>ce(n.class,X2,j5());return w(Be,X({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.footer}},r))}mC.toString=()=>be(X2);const Q2="hope-modal__header";function Z2(e){const t=Ce().Modal,n=za(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,Q2,U5());return wn(()=>n.setHeaderMounted(!0)),wt(()=>n.setHeaderMounted(!1)),w(Be,X({get class(){return i()},get id(){return n.state.headerId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.header}},a))}Z2.toString=()=>be(Q2);const J2=Lt();function FF(e){const t=Ce().Drawer,[,n]=fe(e,["opened","onClose","placement","size","fullHeight","disableMotion"]),[r]=bn({get placement(){var a,i,o,s;return(s=(o=e.placement)!=null?o:(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.placement)!=null?s:"right"},get size(){var a,i,o,s;return(s=(o=e.size)!=null?o:(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.size)!=null?s:"xs"},get fullHeight(){var a,i,o,s;return(s=(o=e.fullHeight)!=null?o:(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.fullHeight)!=null?s:!1},get disableMotion(){var a,i,o,s;return(s=(o=e.disableMotion)!=null?o:(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.disableMotion)!=null?s:!1}});return w(J2.Provider,{value:r,get children(){return w(gC,X({scrollBehavior:"inside",get blockScrollOnMount(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.blockScrollOnMount},get closeOnEsc(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.closeOnEsc},get closeOnOverlayClick(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.closeOnOverlayClick},get preserveScrollBarGap(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.preserveScrollBarGap},get trapFocus(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.trapFocus},get opened(){return e.opened},get onClose(){return e.onClose}},n))}})}function ex(){const e=It(J2);if(!e)throw new Error("[Hope UI]: useDrawerContext must be used within a `<Drawer />` component");return e}function $F(e){var t,n,r,a,i,o,s,l;const u=Ce().Drawer,d={"aria-label":(r=(n=(t=u==null?void 0:u.defaultProps)==null?void 0:t.closeButton)==null?void 0:n["aria-label"])!=null?r:"Close drawer",size:(o=(i=(a=u==null?void 0:u.defaultProps)==null?void 0:a.closeButton)==null?void 0:i.size)!=null?o:"md",icon:(l=(s=u==null?void 0:u.defaultProps)==null?void 0:s.closeButton)==null?void 0:l.icon},p=X(d,e);return w(Y2,X({get __baseStyle(){var f;return(f=u==null?void 0:u.baseStyle)==null?void 0:f.closeButton}},p))}function HF(e){const t=Ce().Drawer;return w(G2,X({get __baseStyle(){var n;return(n=t==null?void 0:t.baseStyle)==null?void 0:n.body}},e))}function UF(e){const t=Ce().Drawer;return w(Z2,X({get __baseStyle(){var n;return(n=t==null?void 0:t.baseStyle)==null?void 0:n.header}},e))}function tx(e){const t=za();let n,r;const a=f=>{n=f},i=()=>t.state.headerMounted?t.state.headerId:void 0,o=()=>t.state.bodyMounted?t.state.bodyId:void 0,s=f=>{Cn(e.onClick,h=>h.stopPropagation())(f)},l=()=>"[id='".concat(t.state.dialogId,"']"),u=()=>"".concat(l()," *"),d=()=>{n&&(t.state.trapFocus&&(r=Um(n,{initialFocus:t.state.initialFocus,fallbackFocus:l(),allowOutsideClick:!0}),r.activate()),t.state.blockScrollOnMount&&(Fo.addScrollableSelector(u()),Fo.disablePageScroll(n)))},p=()=>{r==null||r.deactivate(),Fo.removeScrollableSelector(u()),Fo.clearQueueScrollLocks(),Fo.enablePageScroll()};return wn(()=>{d()}),wt(()=>{p()}),{assignContainerRef:a,ariaLabelledBy:i,ariaDescribedBy:o,onDialogClick:s}}const xC="hope-modal__content-container",nx="hope-modal__content";function bC(e){const t=Ce().Modal,n=za(),[r,a]=fe(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:i,ariaLabelledBy:o,ariaDescribedBy:s,onDialogClick:l}=tx(r),u=()=>{const f=$5({centered:n.state.centered,scrollBehavior:n.state.scrollBehavior});return ce(xC,f)},d=()=>{const f=H5({size:n.state.size,scrollBehavior:n.state.scrollBehavior});return ce(r.class,nx,f)},p=()=>{switch(n.state.motionPreset){case"fade-in-bottom":return Jt.fadeInBottom;case"scale":return Jt.scale;case"none":return"hope-none"}};return w(Ua,{get name(){return p()},appear:!0,get onAfterExit(){return n.unmountPortal},get children(){return w(Re,{get when(){return n.state.opened},get children(){return w(Be,{ref:i,get class(){return u()},tabIndex:-1,get onMouseDown(){return n.onMouseDown},get onKeyDown(){return n.onKeyDown},get onClick(){return n.onOverlayClick},get children(){return w(Xe.section,X({get class(){return d()},get __baseStyle(){var f;return(f=t==null?void 0:t.baseStyle)==null?void 0:f.content},get id(){return n.state.dialogId},get role(){var f;return(f=r.role)!=null?f:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return o()},get"aria-describedby"(){return s()},onClick:l},a))}})}})}})}bC.toString=()=>be(nx);const rx="hope-modal__overlay";function vC(e){const t=Ce().Modal,n=za(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,rx,n2()),o=()=>n.state.motionPreset==="none"?"hope-none":Jt.fade;return w(Ua,{get name(){return o()},appear:!0,get children(){return w(Re,{get when(){return n.state.opened},get children(){return w(Be,X({get class(){return i()},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.overlay}},a))}})}})}vC.toString=()=>be(rx);const _C="hope-drawer__content-container",ax="hope-drawer__content";function yC(e){const t=Ce().Drawer,n=ex(),r=za(),[a,i]=fe(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:o,ariaLabelledBy:s,ariaDescribedBy:l,onDialogClick:u}=tx(a),d=()=>ce(_C,V5({placement:n.placement})),p=()=>{const h=G5({size:n.size,placement:n.placement,fullHeight:n.fullHeight});return ce(a.class,ax,h)},f=()=>{if(n.disableMotion)return"hope-none";switch(n.placement){case"top":return st.slideInTop;case"right":return st.slideInRight;case"bottom":return st.slideInBottom;case"left":return st.slideInLeft}};return w(Ua,{get name(){return f()},appear:!0,get onAfterExit(){return r.unmountPortal},get children(){return w(Re,{get when(){return r.state.opened},get children(){return w(Be,{ref:o,get class(){return d()},tabIndex:-1,get onMouseDown(){return r.onMouseDown},get onKeyDown(){return r.onKeyDown},get onClick(){return r.onOverlayClick},get children(){return w(Xe.section,X({get class(){return p()},get __baseStyle(){var h;return(h=t==null?void 0:t.baseStyle)==null?void 0:h.content},get id(){return r.state.dialogId},get role(){var h;return(h=a.role)!=null?h:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return s()},get"aria-describedby"(){return l()},onClick:u},i))}})}})}})}yC.toString=()=>be(ax);const ix="hope-drawer__overlay";function EC(e){const t=Ce().Drawer,n=ex(),r=za(),[a,i]=fe(e,["class"]),o=()=>ce(a.class,ix,n2()),s=()=>n.disableMotion?"hope-none":st.fade;return w(Ua,{get name(){return s()},appear:!0,get children(){return w(Re,{get when(){return r.state.opened},get children(){return w(Be,X({get class(){return o()},get __baseStyle(){var l;return(l=t==null?void 0:t.baseStyle)==null?void 0:l.overlay}},i))}})}})}EC.toString=()=>be(ix);const ox="hope-flex";function Nu(e){const[t,n]=fe(e,["class","direction","wrap"]),r=()=>ce(t.class,ox);return w(Be,X({get class(){return r()},display:"flex",get flexDirection(){return t.direction},get flexWrap(){return t.wrap}},n))}Nu.toString=()=>be(ox);const sx="hope-form-helper-text";function SC(e){const t=Ce().FormControl,n=$s(),[r,a]=fe(e,["ref","id","class"]),i=()=>{var s;return(s=r.id)!=null?s:n==null?void 0:n.state.helperTextId},o=()=>ce(r.class,sx,KS());return wn(()=>n==null?void 0:n.setHasHelperText(!0)),wt(()=>n==null?void 0:n.setHasHelperText(!1)),w(Be,X({get id(){return i()},get class(){return o()},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.helperText},get"data-disabled"(){return n==null?void 0:n.state["data-disabled"]},get"data-readonly"(){return n==null?void 0:n.state["data-readonly"]}},a))}SC.toString=()=>be(sx);const CC=Bt('<span role="presentation" aria-hidden="true">*</span>',2),lx="hope-form-label";function TC(e){var t,n,r;const a=Ce().FormControl,i=$s(),o={withRequiredIndicator:(r=(n=(t=a==null?void 0:a.defaultProps)==null?void 0:t.label)==null?void 0:n.withRequiredIndicator)!=null?r:!0},s=X(o,e),[l,u]=fe(s,["id","for","class","children","withRequiredIndicator"]),d=()=>{var h;return(h=l.id)!=null?h:i==null?void 0:i.state.labelId},p=()=>{var h;return(h=l.for)!=null?h:i==null?void 0:i.state.id},f=()=>ce(l.class,lx,VS());return w(Xe.label,X({get id(){return d()},get for(){return p()},get class(){return f()},get __baseStyle(){var h;return(h=a==null?void 0:a.baseStyle)==null?void 0:h.label},get"data-focus"(){return i==null?void 0:i.state["data-focus"]},get"data-disabled"(){return i==null?void 0:i.state["data-disabled"]},get"data-invalid"(){return i==null?void 0:i.state["data-invalid"]},get"data-readonly"(){return i==null?void 0:i.state["data-readonly"]}},u,{get children(){return[ir(()=>l.children),w(Re,{get when(){return(i==null?void 0:i.state.required)&&l.withRequiredIndicator},get children(){const h=CC.cloneNode(!0);return Pn(()=>h.className=GS()),h}})]}}))}TC.toString=()=>be(lx);const ux="hope-grid";function cx(e){const[t,n]=fe(e,["class","autoFlow","autoColumns","autoRows","templateAreas","templateColumns","templateRows"]),r=()=>ce(t.class,ux);return w(Be,X({get class(){return r()},display:"grid",get gridAutoFlow(){return t.autoFlow},get gridAutoColumns(){return t.autoColumns},get gridAutoRows(){return t.autoRows},get gridTemplateAreas(){return t.templateAreas},get gridTemplateColumns(){return t.templateColumns},get gridTemplateRows(){return t.templateRows}},n))}cx.toString=()=>be(ux);function Nh(e){if(e!=null)return $3(e,t=>{switch(t){case"auto":return"auto";case"full":return"1 / -1";default:return"span ".concat(t," / span ").concat(t)}})}const dx="hope-grid-item";function wC(e){const[t,n]=fe(e,["class","area","colSpan","colStart","colEnd","rowSpan","rowStart","rowEnd"]),r=()=>ce(t.class,dx);return w(Be,X({get class(){return r()},get gridArea(){return t.area},get gridColumn(){return Nh(t.colSpan)},get gridRow(){return Nh(t.rowSpan)},get gridColumnStart(){return t.colStart},get gridColumnEnd(){return t.colEnd},get gridRowStart(){return t.rowStart},get gridRowEnd(){return t.rowEnd}},n))}wC.toString=()=>be(dx);const fx="hope-simple-grid";function AC(e){return B3(e)?"".concat(e,"px"):e}function kC(e){return o2(e,t=>Zm(t)?null:"repeat(auto-fit, minmax(".concat(AC(t),", 1fr))"))}function OC(e){return o2(e,t=>Zm(t)?null:"repeat(".concat(t,", minmax(0, 1fr))"))}function IC(e){const[t,n]=fe(e,["class","minChildWidth","columns"]),r=()=>ce(t.class,fx),a=()=>t.minChildWidth?kC(t.minChildWidth):OC(t.columns);return w(cx,X({get class(){return r()},get templateColumns(){return a()}},n))}IC.toString=()=>be(fx);const hx=Q({variants:{size:{xs:{fontSize:"$xs",lineHeight:"$4"},sm:{fontSize:"$sm",lineHeight:"$5"},base:{fontSize:"$base",lineHeight:"$6"},lg:{fontSize:"$lg",lineHeight:"$7"},xl:{fontSize:"$xl",lineHeight:"$7"},"2xl":{fontSize:"$2xl",lineHeight:"$8"},"3xl":{fontSize:"$3xl",lineHeight:"$9"},"4xl":{fontSize:"$4xl",lineHeight:"$10"},"5xl":{fontSize:"$5xl",lineHeight:"$none"},"6xl":{fontSize:"$6xl",lineHeight:"$none"},"7xl":{fontSize:"$7xl",lineHeight:"$none"},"8xl":{fontSize:"$8xl",lineHeight:"$none"},"9xl":{fontSize:"$9xl",lineHeight:"$none"}}}}),NC=Q(hx,{fontWeight:"$semibold"}),px="hope-heading";function gx(e){var t,n;const r=Ce().Heading,a={as:"h2",level:(t=r==null?void 0:r.defaultProps)==null?void 0:t.level,size:(n=r==null?void 0:r.defaultProps)==null?void 0:n.size},i=X(a,e),[o,s]=fe(i,["class","as","level","size"]),l=()=>ce(o.class,px,NC({size:o.size})),u=()=>o.level?"h".concat(o.level):o.as;return w(Be,X({get as(){return u()},get class(){return l()},get __baseStyle(){return r==null?void 0:r.baseStyle}},s))}gx.toString=()=>be(px);function LC(e){const t=Ce().IconButton,n=S2(),[r,a]=fe(e,["class","children","icon","variant","colorScheme","size","disabled"]),i=()=>{var d,p,f,h;return(h=(f=(d=r.variant)!=null?d:n==null?void 0:n.state.variant)!=null?f:(p=t==null?void 0:t.defaultProps)==null?void 0:p.variant)!=null?h:"solid"},o=()=>{var d,p,f,h;return(h=(f=(d=r.colorScheme)!=null?d:n==null?void 0:n.state.colorScheme)!=null?f:(p=t==null?void 0:t.defaultProps)==null?void 0:p.colorScheme)!=null?h:"primary"},s=()=>{var d,p,f,h;return(h=(f=(d=r.size)!=null?d:n==null?void 0:n.state.size)!=null?f:(p=t==null?void 0:t.defaultProps)==null?void 0:p.size)!=null?h:"md"},l=()=>{var d;return(d=r.disabled)!=null?d:n==null?void 0:n.state.disabled},u=()=>ce(r.class,lc);return w(k2,X({get class(){return u()},get __baseStyle(){return t==null?void 0:t.baseStyle},get variant(){return i()},get colorScheme(){return o()},get size(){return s()},get disabled(){return l()}},a,{get children(){return w(Re,{get when(){return r.icon},get fallback(){return r.children},get children(){return r.icon}})}}))}LC.toString=()=>be(lc);const mx="hope-image";function RC(e){const[t,n,r]=fe(e,["class","htmlWidth","htmlHeight","fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],["onError","onLoad"]),a=()=>t.loading!=null||t.ignoreFallback||t.fallbackSrc===void 0&&t.fallback===void 0,i=Ue(()=>AS(Yr(ve({},e),{ignoreFallback:a()}))),o=()=>ve(ve({objectFit:t.fit,objectPosition:t.align,width:t.htmlWidth,height:t.htmlHeight},a()?n:{}),r),s=()=>ce(t.class,mx);return w(Re,{get when(){return i()()==="loaded"},get fallback(){return w(Re,{get when(){return t.fallback},get fallback(){return w(Be,X({as:"img",get src(){return t.fallbackSrc},class:"hope-image__placeholder"},o))},get children(){return t.fallback}})},get children(){return w(Be,X({as:"img",get src(){return t.src},get srcSet(){return t.srcSet},get crossOrigin(){return t.crossOrigin},get loading(){return t.loading},get class(){return s()}},o))}})}RC.toString=()=>be(mx);const PC=Lt();function DC(){return It(PC)}const xx="hope-input";function bx(e){const t=Ce().Input,n=DC(),r=mo(e),[a,i]=fe(e,["class","htmlSize","variant","size"]),o=()=>{var s,l,u,d,p,f,h,c,g,m,x,v,y,_;return ce(a.class,xx,h4({variant:(p=(d=(s=a.variant)!=null?s:n==null?void 0:n.state.variant)!=null?d:(u=(l=t==null?void 0:t.defaultProps)==null?void 0:l.input)==null?void 0:u.variant)!=null?p:"outline",size:(m=(g=(f=a.size)!=null?f:n==null?void 0:n.state.size)!=null?g:(c=(h=t==null?void 0:t.defaultProps)==null?void 0:h.input)==null?void 0:c.size)!=null?m:"md",withLeftElement:(x=n==null?void 0:n.state.hasLeftElement)!=null?x:!1,withRightElement:(v=n==null?void 0:n.state.hasRightElement)!=null?v:!1,withLeftAddon:(y=n==null?void 0:n.state.hasLeftAddon)!=null?y:!1,withRightAddon:(_=n==null?void 0:n.state.hasRightAddon)!=null?_:!1}))};return w(Xe.input,X({type:"text",get class(){return o()},get size(){return a.htmlSize},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.input}},r,i))}bx.toString=()=>be(xx);const MC=Q({borderRadius:"$md",borderColor:"$neutral7",borderWidth:"1px",borderBottomWidth:"3px",backgroundColor:"$neutral2",px:"0.4em",fontFamily:"$mono",fontSize:"0.8em",fontWeight:"$bold",lineHeight:"$normal",whiteSpace:"nowrap"}),vx="hope-kbd";function BC(e){const t=Ce().Kbd,[n,r]=fe(e,["class"]),a=()=>ce(n.class,vx,MC());return w(Xe.kbd,X({get class(){return a()},get __baseStyle(){return t==null?void 0:t.baseStyle}},r))}BC.toString=()=>be(vx);const FC=Q({listStyleType:"none"});Q({marginEnd:"0.5rem"});const _x="hope-list",$C="& > *:not(style) ~ *:not(style)";function yx(e){const[t,n]=fe(e,["class","styleType","stylePosition","spacing"]),r=()=>t.spacing?{[$C]:{mt:t.spacing}}:{},a=()=>ce(t.class,_x,FC({css:ve({listStyleType:t.styleType,listStylePosition:t.stylePosition},r())}));return w(Xe.ul,X({role:"list",get class(){return a()}},n))}yx.toString=()=>be(_x);const Ex="hope-list__item";function Sx(e){const[t,n]=fe(e,["class"]),r=()=>ce(t.class,Ex);return w(Xe.li,X({get class(){return r()}},n))}Sx.toString=()=>be(Ex);var qr=(e=>(e[e.Close=0]="Close",e[e.SelectAndClose=1]="SelectAndClose",e[e.First=2]="First",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Open=5]="Open",e[e.OpenAndFocusLast=6]="OpenAndFocusLast",e[e.Previous=7]="Previous",e[e.Select=8]="Select",e[e.Type=9]="Type",e))(qr||{});function Lh(e=[],t,n=[]){return e.filter(r=>r.disabled?!1:r.textValue.toLowerCase().indexOf(t.toLowerCase())===0&&n.indexOf(r.textValue)<0)}function HC(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],a=Lh(r,t)[0],i=o=>o.every(s=>s===o[0]);if(a)return e.indexOf(a);if(i(t.split(""))){const o=Lh(r,t[0]);return e.indexOf(o[0])}else return-1}function UC(e,t){const{key:n,altKey:r,ctrlKey:a,metaKey:i}=e;if(!t&&["ArrowDown","Enter"," "].includes(n))return 5;if(!t&&n==="ArrowUp")return 6;if(n==="Home")return 2;if(n==="End")return 3;if(n==="Backspace"||n==="Clear"||n.length===1&&n!==" "&&!r&&!a&&!i)return 9;if(t){if(n==="ArrowDown")return 4;if(n==="ArrowUp")return 7;if(n==="Escape")return 0;if(n==="Enter"||n===" ")return 1}}function Rh(e,t,n){switch(n){case 2:return 0;case 3:return t;case 7:return e-1<0?t:e-1;case 4:return e+1>t?0:e+1;default:return e}}function zC(e){const{currentIndex:t,maxIndex:n,initialAction:r,isItemDisabled:a}=e;let i=Rh(t,n,r);for(;a(i);){let o=r;const s=i===0,l=i===n;if(r===2&&(o=4),r===3&&(o=7),r===7&&s){i=t;break}if(r===4&&l){i=t;break}i=Rh(i,n,o)}return i}function jC(e){const t="hope-menu-".concat(or()),n=Ce().Menu,[r,a]=Ie([]),[i,o]=bn({get triggerId(){var te;return(te=e.id)!=null?te:"".concat(t,"-trigger")},get menuContentId(){return"".concat(t,"-content")},get labelIdPrefix(){return"".concat(t,"-label")},get itemIdPrefix(){return"".concat(t,"-item")},get activeDescendantId(){return this.opened?"".concat(this.itemIdPrefix,"-").concat(this.activeIndex):void 0},get closeOnSelect(){var te,Fe,Oe,O;return(O=(Oe=e.closeOnSelect)!=null?Oe:(Fe=(te=n==null?void 0:n.defaultProps)==null?void 0:te.root)==null?void 0:Fe.closeOnSelect)!=null?O:!0},get motionPreset(){var te,Fe,Oe,O,B;return e.motionPreset?e.motionPreset:(Fe=(te=n==null?void 0:n.defaultProps)==null?void 0:te.root)!=null&&Fe.motionPreset?(O=(Oe=n==null?void 0:n.defaultProps)==null?void 0:Oe.root)==null?void 0:O.motionPreset:(B=e.placement)!=null&&B.startsWith("top")?"scale-bottom-left":"scale-top-left"},get items(){return r()},opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let s,l,u;const d=async()=>{var te,Fe,Oe,O,B,xe,Pe,ct;if(!s||!l)return;const{x:nt,y:rt}=await nc(s,l,{placement:(O=(Oe=e.placement)!=null?Oe:(Fe=(te=n==null?void 0:n.defaultProps)==null?void 0:te.root)==null?void 0:Fe.placement)!=null?O:"bottom-start",middleware:[Qu((ct=(Pe=e.offset)!=null?Pe:(xe=(B=n==null?void 0:n.defaultProps)==null?void 0:B.root)==null?void 0:xe.offset)!=null?ct:5),Xu(),Zu()]});l&&Object.assign(l.style,{left:"".concat(Math.round(nt),"px"),top:"".concat(Math.round(rt),"px")})},p=te=>{i.searchTimeoutId&&window.clearTimeout(i.searchTimeoutId);const Fe=window.setTimeout(()=>{o("searchString","")},500);return o("searchTimeoutId",Fe),o("searchString",Oe=>Oe+=te),i.searchString},f=te=>{o("activeIndex",te)},h=te=>i.items[te].disabled,c=te=>{var Fe;f(te);const Oe=i.items[te];(Fe=Oe.onSelect)==null||Fe.call(Oe),Oe.closeOnSelect?R(!1):g()},g=()=>{s==null||s.focus()},m=te=>{if(!di(s,Iu(te))){if(i.ignoreBlur){o("ignoreBlur",!1);return}i.opened&&R(!1,!1)}},x=()=>{R(!i.opened,!1)},v=te=>{const{key:Fe}=te,Oe=i.items.length-1,O=UC(te,i.opened);switch(O){case qr.Last:case qr.First:case qr.Next:case qr.Previous:return te.preventDefault(),f(zC({currentIndex:i.activeIndex,maxIndex:Oe,initialAction:O,isItemDisabled:h}));case qr.SelectAndClose:te.preventDefault(),c(i.activeIndex);return;case qr.Close:return te.preventDefault(),R(!1);case qr.Type:return y(Fe);case qr.Open:return te.preventDefault(),R(!0);case qr.OpenAndFocusLast:return te.preventDefault(),R(!0,!0,!0)}},y=te=>{R(!0);const Fe=p(te),Oe=HC(i.items,Fe,i.activeIndex+1);Oe>=0?f(Oe):(window.clearTimeout(i.searchTimeoutId),o("searchString",""))},_=te=>{if(i.items[te].disabled){g();return}c(te)},S=te=>{i.activeIndex!==te&&f(te)},C=()=>{o("ignoreBlur",!0)},T=()=>{i.opened?(d(),s&&l&&(u=tc(s,l,d))):u==null||u()},R=(te,Fe=!0,Oe=!1)=>{i.opened!==te&&(o("opened",te),o("activeIndex",Oe?i.items.length-1:0),T(),Fe&&g())},P=()=>{f(-1)},A=te=>{di(s,te)||R(!1,!1)},I=te=>te===i.activeIndex,$=te=>{s=te},W=te=>{l=te},G=te=>{l&&u2(l)&&c2(te,l)},ae=te=>{const Fe=i.items.findIndex(O=>O.key===te.key);return Fe!=-1?Fe:a(O=>[...O,te]).length-1},ie=()=>i.opened,Te={state:i,isItemActiveDescendant:I,assignTriggerRef:$,assignContentRef:W,registerItem:ae,scrollToItem:G,onTriggerBlur:m,onTriggerClick:x,onTriggerKeyDown:v,onContentMouseLeave:P,onContentClickOutside:A,onItemClick:_,onItemMouseMove:S,onItemMouseDown:C};return w(Cx.Provider,{value:Te,get children(){return w(Re,{get when(){return sc(e)},get fallback(){return e.children},get children(){var te;return(te=e.children)==null?void 0:te.call(e,{opened:ie})}})}})}const Cx=Lt();function Jd(){const e=It(Cx);if(!e)throw new Error("[Hope UI]: useMenuContext must be used within a `<Menu />` component");return e}function qC(e){const[t,n]=bn({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),r=o=>{t0(o,e.element())&&n("isPointerDown",!0)},a=o=>{if(t.ignoreEmulatedMouseEvents){n("ignoreEmulatedMouseEvents",!1);return}t.isPointerDown&&e.handler&&t0(o,e.element())&&(n("isPointerDown",!1),e.handler(o))},i=o=>{n("ignoreEmulatedMouseEvents",!0),e.handler&&t.isPointerDown&&t0(o,e.element())&&(n("isPointerDown",!1),e.handler(o))};wn(()=>{const o=Ou(e.element());o.addEventListener("mousedown",r,!0),o.addEventListener("mouseup",a,!0),o.addEventListener("touchstart",r,!0),o.addEventListener("touchend",i,!0)}),wt(()=>{const o=Ou(e.element());o.removeEventListener("mousedown",r,!0),o.removeEventListener("mouseup",a,!0),o.removeEventListener("touchstart",r,!0),o.removeEventListener("touchend",i,!0)})}function Tx(e){const t=ba(()=>e.children);return qC({element:()=>t(),handler:n=>e.onClickOutside(n)}),t}const wx="hope-menu__content";function Ax(e){const t=Ce().Menu,n=Jd(),[r,a]=fe(e,["ref","class","children"]),[i,o]=Ie(!1);Kt(fa(()=>n.state.opened,()=>{n.state.opened?o(!0):n.state.motionPreset==="none"&&o(!1)}));const s=()=>o(!1),l=ba(()=>r.children),u=h=>{n.assignContentRef(h),An(r.ref)?r.ref(h):r.ref=h},d=h=>{n.onContentClickOutside(h.target)},p=()=>ce(r.class,wx,X5()),f=()=>{switch(n.state.motionPreset){case"scale-top-left":return Na.scaleTopLeft;case"scale-top-right":return Na.scaleTopRight;case"scale-bottom-left":return Na.scaleBottomLeft;case"scale-bottom-right":return Na.scaleBottomRight;case"none":return"hope-none"}};return w(Re,{get when(){return i()},get children(){return w(Ha,{get children(){return w(Ua,{get name(){return f()},appear:!0,onAfterExit:s,get children(){return w(Re,{get when(){return n.state.opened},get children(){return w(Tx,{onClickOutside:d,get children(){return w(Be,X({role:"menu",tabindex:"-1",ref:u,get id(){return n.state.menuContentId},get"aria-activedescendant"(){return n.state.activeDescendantId},get"aria-labelledby"(){return n.state.triggerId},"aria-orientation":"vertical",get class(){return p()},get __baseStyle(){var h;return(h=t==null?void 0:t.baseStyle)==null?void 0:h.content},get onMouseLeave(){return n.onContentMouseLeave}},a,{get children(){return l()}}))}})}})}})}})}})}Ax.toString=()=>be(wx);const kx="hope-menu__item",WC="hope-menu__item__icon-wrapper",VC="hope-menu__item__text",GC="hope-menu__item__command";function Ox(e){const t=or(),n=Ce().Menu,r=Jd(),[a,i]=Ie(-1);let o;const[s,l]=fe(e,["ref","class","children","colorScheme","icon","iconSpacing","command","commandSpacing","textValue","disabled","closeOnSelect","onSelect","onClick"]),u=()=>{var y,_;return{key:t,textValue:(_=(y=s.textValue)!=null?y:o==null?void 0:o.textContent)!=null?_:"",disabled:!!s.disabled,closeOnSelect:s.closeOnSelect!=null?!!s.closeOnSelect:r.state.closeOnSelect,onSelect:s.onSelect}},d=()=>"".concat(r.state.itemIdPrefix,"-").concat(a()),p=()=>r.isItemActiveDescendant(a()),f=y=>{o=y,An(s.ref)?s.ref(y):s.ref=y},h=y=>{y.stopPropagation(),r.onItemClick(a())},c=y=>{if(s.disabled&&r.onItemMouseMove(-1),p()||s.disabled){y.preventDefault(),y.stopPropagation();return}r.onItemMouseMove(a())},g=()=>ce(s.class,kx,Q5({colorScheme:s.colorScheme})),m=()=>ce(WC,Z5()),x=()=>ce(VC,J5()),v=()=>ce(GC,e4());return wn(()=>{i(r.registerItem(u()))}),Kt(()=>{p()&&o&&r.scrollToItem(o)}),w(Be,X({ref:f,role:"menuitem",get id(){return d()},get"data-active"(){return p()?"":void 0},get"data-disabled"(){return s.disabled?"":void 0},"data-group":!0,get class(){return g()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.item},onClick:h,onMouseMove:c,get onMouseDown(){return r.onItemMouseDown}},l,{get children(){return[w(Re,{get when(){return s.icon},get children(){return w(Xe.span,{"aria-hidden":"true",get class(){return m()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.itemIconWrapper},get mr(){var y;return(y=s.iconSpacing)!=null?y:"0.5rem"},get children(){return s.icon}})}}),w(Re,{get when(){return s.children},get children(){return w(Xe.span,{get class(){return x()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.itemText},get children(){return s.children}})}}),w(Re,{get when(){return s.command},get children(){return w(Xe.span,{get class(){return v()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.itemCommand},get ml(){var y;return(y=s.commandSpacing)!=null?y:"0.5rem"},get children(){return s.command}})}})]}}))}Ox.toString=()=>be(kx);const Ix="hope-menu__trigger";function Nx(e){const t=Ce().Menu,n=Jd(),[r,a]=fe(e,["ref","class","onClick","onKeyDown","onBlur"]),i=d=>{n.assignTriggerRef(d),An(r.ref)?r.ref(d):r.ref=d},o=d=>{Cn(n.onTriggerClick,r.onClick)(d)},s=d=>{Cn(n.onTriggerKeyDown,r.onKeyDown)(d)},l=d=>{Cn(n.onTriggerBlur,r.onBlur)(d)},u=()=>ce(r.class,Ix,Y5());return w(Xe.button,X({ref:i,get id(){return n.state.triggerId},type:"button","aria-haspopup":"menu",get"aria-controls"(){return n.state.menuContentId},get"aria-expanded"(){return n.state.opened},get class(){return u()},get __baseStyle(){var d;return(d=t==null?void 0:t.baseStyle)==null?void 0:d.trigger},onClick:o,onKeyDown:s,onBlur:l},a))}Nx.toString=()=>be(Ix);const Lx="hope-notification";function Rx(e){const t=Ce().Notification,r=X({},e),[a,i]=fe(r,["class","status"]),o=()=>ce(a.class,Lx,r4({status:a.status})),l={status:()=>a.status};return w(Px.Provider,{value:l,get children(){return w(Be,X({role:"alert",get class(){return o()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.root}},i))}})}Rx.toString=()=>be(Lx);const Px=Lt();function KC(){const e=It(Px);if(!e)throw new Error("[Hope UI]: useNotificationContext must be used within an `<Notification />` component");return e}const Rn={show:"hope-ui:show-notification",update:"hope-ui:update-notification",hide:"hope-ui:hide-notification",clear:"hope-ui:clear-notifications",clearQueue:"hope-ui:clear-notifications-queue"};function Hs(e,t){return new CustomEvent(e,{detail:t})}function YC(e){window.dispatchEvent(Hs(Rn.show,e))}function XC(e){window.dispatchEvent(Hs(Rn.update,e))}function QC(e){window.dispatchEvent(Hs(Rn.hide,e))}function ZC(){window.dispatchEvent(Hs(Rn.clear))}function JC(){window.dispatchEvent(Hs(Rn.clearQueue))}const Uo={show:YC,update:XC,hide:QC,clear:ZC,clearQueue:JC},Dx="hope-notification__description";function id(e){const t=Ce().Notification,[n,r]=fe(e,["class"]),a=()=>ce(n.class,Dx,s4());return w(Be,X({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.description}},r))}id.toString=()=>be(Dx);const Mx="hope-notification__icon";function Bx(e){const t=Ce().Notification,{status:n}=KC(),a=X({boxSize:"$7"},e),[i,o]=fe(a,["as","class"]),s=()=>ce(i.class,Mx,i4({status:n()})),l=()=>{if(i.as)return i.as;switch(n()){case"success":return p2;case"info":return x2;case"warning":return m2;case"danger":return g2}};return w(yi,X({get as(){return l()},get class(){return s()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.icon}},o))}Bx.toString=()=>be(Mx);const Fx="hope-notification__title";function od(e){const t=Ce().Notification,[n,r]=fe(e,["class"]),a=()=>ce(n.class,Fx,o4());return w(Be,X({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.title}},r))}od.toString=()=>be(Fx);function eT(e){var t,n,r,a;const[i,o]=Ie((n=(t=e.initialValues)==null?void 0:t.slice(0,e.limit))!=null?n:[]),[s,l]=Ie((a=(r=e.initialValues)==null?void 0:r.slice(e.limit))!=null?a:[]),u=()=>e.limit;return{state:{current:i,queue:s,limit:u},add:(...c)=>{const g=[...i(),...s(),...c];o(g.slice(0,u())),l(g.slice(u()))},update:c=>{const g=c([...i(),...s()]);o(g.slice(0,u())),l(g.slice(u()))},clearQueue:()=>{l([])}}}const tT=Q({display:"flex"}),cc="hope-stack";function ef(e){const[t,n]=fe(e,["class","direction","wrap","spacing"]),r=()=>ce(t.class,cc,tT());return w(Be,X({get class(){return r()},get flexDirection(){return t.direction},get flexWrap(){return t.wrap},get gap(){return t.spacing}},n))}ef.toString=()=>be(cc);function nT(e){const[t,n]=fe(e,["spacing"]);return w(ef,X({direction:"row",alignItems:"center",get columnGap(){return t.spacing}},n))}nT.toString=()=>be(cc);function $x(e){const[t,n]=fe(e,["spacing"]);return w(ef,X({direction:"column",alignItems:"center",get rowGap(){return t.spacing}},n))}$x.toString=()=>be(cc);const Hx=Lt();function rT(){const e=It(Hx);if(!e)throw new Error("[Hope UI]: useNotificationsProviderContext must be used within a `<NotificationsProvider />` component");return e}function aT(e){const t=rT(),[n]=fe(e,["render","id","status","title","description","duration","persistent","closable","loading","onMouseEnter","onMouseLeave"]);let r;const a=()=>{r&&window.clearTimeout(r)},i=()=>{a(),t.hideNotification(n.id)},o=()=>{n.persistent||n.duration==null||(r=window.setTimeout(i,n.duration))},s=()=>n.status&&!n.loading;return wn(()=>{o()}),wt(()=>{a()}),w(Re,{get when(){return n.render},get fallback(){return w(Rx,{get status(){return n.status},get pr(){return n.closable?"$9":"$3"},onMouseEnter:a,onMouseLeave:o,get children(){return[w(Re,{get when(){return s()},get children(){return w(Bx,{mr:"$2_5"})}}),w(Re,{get when(){return n.loading},get children(){return w(T2,{color:"$primary10",boxSize:"$8",mr:"$2_5",get class(){return a4()}})}}),w(Ms,{get children(){return[w(Xr,{get when(){return n.title&&n.description},get children(){return w($x,{alignItems:"flex-start",spacing:"$1",get children(){return[w(od,{get children(){return n.title}}),w(id,{get children(){return n.description}})]}})}}),w(Xr,{get when(){return n.title},get children(){return w(od,{get children(){return n.title}})}}),w(Xr,{get when(){return n.description},get children(){return w(id,{get children(){return n.description}})}})]}}),w(Re,{get when(){return n.closable},get children(){return w(uc,{size:"sm",position:"absolute",top:"$1_5",right:"$1_5",onClick:i})}})]}})},get children(){return w(Nu,{w:"$full",justifyContent:"flex-end",onMouseEnter:a,onMouseLeave:o,get children(){var l;return(l=n.render)==null?void 0:l.call(n,{id:n.id,close:i})}})}})}const iT="hope-notification__list",oT=5e3;function sT(e){const[t]=fe(e,["children","placement","duration","persistent","closable","limit","zIndex"]),n=Ue(()=>{var x;return eT({initialValues:[],limit:(x=t.limit)!=null?x:10})}),r=()=>{var x;return(x=t.placement)!=null?x:"top-end"},a=()=>n().state.current(),i=()=>n().state.queue(),o=x=>{var v,y,_,S,C,T,R;const P=(v=x.id)!=null?v:"hope-notification-".concat(or()),A=(_=(y=x.persistent)!=null?y:t.persistent)!=null?_:!1,I=(C=(S=x.duration)!=null?S:t.duration)!=null?C:oT,$=(R=(T=x.closable)!=null?T:t.closable)!=null?R:!0;return n().update(W=>{if(x.id&&W.some(ae=>ae.id===x.id))return W;const G=Yr(ve({},x),{id:P,persistent:A,duration:I,closable:$});return[...W,G]}),P},s=(x,v)=>{n().update(y=>{const _=y.findIndex(C=>C.id===x);if(_===-1)return y;const S=[...y];return S[_]=v,S})},l=x=>{n().update(v=>v.filter(y=>{var _;return y.id===x?((_=y.onClose)==null||_.call(y,y.id),!1):!0}))},u=()=>n().update(()=>[]),d=()=>n().clearQueue(),p=()=>ce(iT,n4({placement:r()})),f=()=>{switch(r()){case"top-start":return Lr.slideInLeft;case"top":return Lr.slideInTop;case"top-end":return Lr.slideInRight;case"bottom-start":return Lr.slideInLeft;case"bottom":return Lr.slideInBottom;case"bottom-end":return Lr.slideInRight;default:return Lr.slideInRight}},h={notifications:a,queue:i,showNotification:o,updateNotification:s,hideNotification:l,clear:u,clearQueue:d},c=x=>o(x.detail),g=x=>s(x.detail.id,x.detail),m=x=>l(x.detail);return wn(()=>{window.addEventListener(Rn.show,c),window.addEventListener(Rn.update,g),window.addEventListener(Rn.hide,m),window.addEventListener(Rn.clear,u),window.addEventListener(Rn.clearQueue,d)}),wt(()=>{window.removeEventListener(Rn.show,c),window.removeEventListener(Rn.update,g),window.removeEventListener(Rn.hide,m),window.removeEventListener(Rn.clear,u),window.removeEventListener(Rn.clearQueue,d)}),w(Hx.Provider,{value:h,get children(){return[w(Ha,{get children(){return w(Be,{get class(){return p()},get zIndex(){return t.zIndex},get children(){return w(e3,{get name(){return f()},get children(){return w(uo,{get each(){return h.notifications()},children:x=>w(aT,x)})}})}})}}),ir(()=>t.children)]}})}const lT=e=>e.hasAttribute("tabindex");function Ux(e){return e.parentElement&&Ux(e.parentElement)?!0:e.hidden}function uT(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function cT(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function dT(e){if(!nS(e)||Ux(e)||uT(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():cT(e)?!0:lT(e)}function zF(e){const t="hope-popover-".concat(or()),n=Ce().Popover,[r,a]=bn({_opened:!!e.defaultOpened,isHovering:!1,headerMounted:!1,bodyMounted:!1,finalPlacement:"bottom",get isControlled(){return e.opened!==void 0},get opened(){return this.isControlled?!!e.opened:this._opened},get contentId(){var O;return(O=e.id)!=null?O:t},get triggerId(){return"".concat(this.contentId,"--trigger")},get headerId(){return"".concat(this.contentId,"--header")},get bodyId(){return"".concat(this.contentId,"--body")},get triggerMode(){var O;return(O=e.triggerMode)!=null?O:"click"},get triggerOnClick(){return this.triggerMode==="click"},get triggerOnHover(){return this.triggerMode==="hover"},get initialFocus(){return e.initialFocus},get inline(){var O;return(O=e.inline)!=null?O:!1},get initialPlacement(){var O,B,xe,Pe;return(Pe=(xe=e.placement)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.placement)!=null?Pe:"bottom"},get offset(){var O,B,xe,Pe;return(Pe=(xe=e.offset)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.offset)!=null?Pe:8},get arrowPadding(){var O,B,xe,Pe;return(Pe=(xe=e.arrowPadding)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.arrowPadding)!=null?Pe:8},get openDelay(){var O,B,xe,Pe;return(Pe=(xe=e.openDelay)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.openDelay)!=null?Pe:0},get closeDelay(){var O,B,xe,Pe;return(Pe=(xe=e.closeDelay)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.closeDelay)!=null?Pe:100},get motionPreset(){var O,B,xe,Pe;return(Pe=(xe=e.motionPreset)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.motionPreset)!=null?Pe:"scale"},get closeOnBlur(){var O,B,xe,Pe;return(Pe=(xe=e.closeOnBlur)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.closeOnBlur)!=null?Pe:!0},get closeOnEsc(){var O,B,xe,Pe;return(Pe=(xe=e.closeOnEsc)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.closeOnEsc)!=null?Pe:!0},get trapFocus(){var O,B,xe,Pe;return(Pe=(xe=e.trapFocus)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.trapFocus)!=null?Pe:!1}});let i,o,s,l,u,d,p,f;const h=()=>"[id='".concat(r.contentId,"']"),c=O=>{i=O},g=O=>{o=O},m=O=>{s=O},x=O=>{l=O};async function v(){var O,B,xe;const Pe=i!=null?i:o;if(!Pe||!s)return;const ct=[Qu(r.offset)];r.inline&&ct.push(Vm()),ct.push(Xu()),ct.push(Zu({padding:e.shiftPadding})),l&&ct.push(jm({element:l,padding:r.arrowPadding})),ct.push(Wm());const{x:nt,y:rt,placement:lt,middlewareData:vt}=await nc(Pe,s,{placement:r.initialPlacement,middleware:ct});if(lt!==r.finalPlacement&&a("finalPlacement",lt),!s)return;const se=(O=vt.hide)==null?void 0:O.referenceHidden;if(Object.assign(s.style,{left:"".concat(Math.round(nt),"px"),top:"".concat(Math.round(rt),"px"),visibility:se?"hidden":"visible"}),!l)return;const we=(B=vt.arrow)==null?void 0:B.x,Qe=(xe=vt.arrow)==null?void 0:xe.y,pt={top:"bottom",right:"left",bottom:"top",left:"right"}[lt.split("-")[0]],Dn="".concat((Math.round(l.clientWidth/2)+1)*-1,"px");Object.assign(l.style,{left:we!=null?"".concat(Math.round(we),"px"):"",top:Qe!=null?"".concat(Math.round(Qe),"px"):"",right:"",bottom:"",[pt]:Dn})}const y=()=>{var O;r.isControlled||a("_opened",!0),(O=e.onOpen)==null||O.call(e),v()},_=()=>{var O;r.isControlled||a("_opened",!1),(O=e.onClose)==null||O.call(e)},S=()=>{!r.isHovering&&_()},C=()=>{d=window.setTimeout(y,r.openDelay)},T=()=>{d&&window.clearTimeout(d),p=window.setTimeout(_,r.closeDelay)},R=()=>{const O=i!=null?i:o;!O||!s||(f=tc(O,s,v))},P=()=>{if(!r.initialFocus){s==null||s.focus();return}const O=document.querySelector(r.initialFocus);O&&dT(O)&&(O==null||O.focus())},A=O=>{const B=Iu(O),xe=!di(s,B);r.opened&&r.closeOnBlur&&xe&&T()},I=()=>{ie(!1),d&&window.clearTimeout(d),p=window.setTimeout(S,r.closeDelay)},$=O=>{const B=Iu(O),xe=di(s,B),Pe=di(o,B),ct=!xe&&!Pe;r.opened&&r.closeOnBlur&&ct&&T()},W=I,G=()=>{R(),r.trapFocus&&s?(u=Um(s,{initialFocus:r.initialFocus,fallbackFocus:h(),allowOutsideClick:!1}),u.activate()):P()},ae=()=>{u==null||u.deactivate(),f==null||f()},ie=O=>a("isHovering",O),Te=O=>a("headerMounted",O),te=O=>a("bodyMounted",O),Fe=()=>r.opened;wt(()=>{window.clearTimeout(d),window.clearTimeout(p)});const Oe={state:r,assignAnchorRef:c,assignTriggerRef:g,assignPopoverRef:m,assignArrowRef:x,openWithDelay:C,closeWithDelay:T,onTriggerBlur:A,onTriggerMouseLeave:I,onPopoverFocusOut:$,onPopoverMouseLeave:W,updatePopoverPosition:v,afterPopoverOpen:G,afterPopoverClose:ae,setIsHovering:ie,setHeaderMounted:Te,setBodyMounted:te};return w(zx.Provider,{value:Oe,get children(){return w(Re,{get when(){return sc(e)},get fallback(){return e.children},get children(){var O;return(O=e.children)==null?void 0:O.call(e,{opened:Fe,onClose:T})}})}})}const zx=Lt();function Us(){const e=It(zx);if(!e)throw new Error("[Hope UI]: usePopoverContext must be used within a `<Popover />` component");return e}const jx="hope-popover__arrow";function fT(e){const t=Ce().Popover,n=Us(),[r,a]=fe(e,["class"]),i=Ue(()=>n.state.finalPlacement.split("-")[0]),o=()=>ce(r.class,jx,f4({popoverPlacement:i()}));return w(Be,X({ref(s){const l=n.assignArrowRef;typeof l=="function"?l(s):n.assignArrowRef=s},get class(){return o()},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.arrow}},a))}fT.toString=()=>be(jx);const qx="hope-popover__body";function hT(e){const t=Ce().Popover,n=Us(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,qx,d4());return wn(()=>n.setBodyMounted(!0)),wt(()=>n.setBodyMounted(!1)),w(Be,X({get class(){return i()},get id(){return n.state.bodyId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.body}},a))}hT.toString=()=>be(qx);const Wx="hope-popover__content";function pT(e){const t=Ce().Popover,n=Us(),[r,a]=Ie(!1),[i,o]=fe(e,["ref","class","onKeyDown","onFocusOut","onMouseEnter","onMouseLeave"]),s=x=>{n.assignPopoverRef(x),An(i.ref)?i.ref(x):i.ref=x},l=x=>{n.state.closeOnEsc&&x.key==="Escape"&&n.closeWithDelay()},u=x=>{Cn(i.onKeyDown,l)(x)},d=x=>{Cn(i.onFocusOut,n.onPopoverFocusOut)(x)},p=x=>{xn(i.onMouseEnter,x),n.setIsHovering(!0)},f=x=>{xn(i.onMouseLeave,x),n.onPopoverMouseLeave()},h=()=>{document.addEventListener("keydown",l),n.afterPopoverOpen()},c=()=>{document.removeEventListener("keydown",l),n.afterPopoverClose(),a(!1)},g=()=>ce(i.class,Wx,u4()),m=()=>{switch(n.state.motionPreset){case"scale":return ai.scale;case"none":return"hope-none"}};return Kt(()=>{n.state.opened?a(!0):n.state.motionPreset==="none"&&a(!1)}),w(Re,{get when(){return r()},get children(){return w(Ha,{get children(){return w(Ua,{get name(){return m()},appear:!0,get onBeforeEnter(){return n.updatePopoverPosition},onAfterEnter:h,onAfterExit:c,get children(){return w(Re,{get when(){return n.state.opened},get children(){return w(Xe.section,X({ref:s,tabIndex:-1,get id(){return n.state.contentId},get role(){return n.state.triggerOnHover?"tooltip":"dialog"},get"aria-labelledby"(){return n.state.headerMounted?n.state.headerId:void 0},get"aria-describedby"(){return n.state.bodyMounted?n.state.bodyId:void 0},get class(){return g()},get __baseStyle(){var x;return(x=t==null?void 0:t.baseStyle)==null?void 0:x.content},onKeyDown:u,onFocusOut:d,get onMouseEnter(){return n.state.triggerOnHover?p:void 0},get onMouseLeave(){return n.state.triggerOnHover?f:void 0}},o))}})}})}})}})}pT.toString=()=>be(Wx);const Vx="hope-popover__header";function gT(e){const t=Ce().Popover,n=Us(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,Vx,c4());return wn(()=>n.setHeaderMounted(!0)),wt(()=>n.setHeaderMounted(!1)),w(Be,X({get class(){return i()},get id(){return n.state.headerId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.header}},a))}gT.toString=()=>be(Vx);function jF(e){const t=Us(),[n,r]=fe(e,["ref","onClick","onKeyDown","onFocus","onBlur","onMouseEnter","onMouseLeave"]),a=p=>{t.assignTriggerRef(p),An(n.ref)?n.ref(p):n.ref=p},i=p=>{xn(n.onClick,p),t.state.opened?t.closeWithDelay():t.openWithDelay()},o=p=>{xn(n.onKeyDown,p),p.key==="Escape"&&t.closeWithDelay()},s=p=>{xn(n.onFocus,p),t.openWithDelay()},l=p=>{Cn(n.onBlur,t.onTriggerBlur)(p)},u=p=>{xn(n.onMouseEnter,p),t.setIsHovering(!0),t.openWithDelay()},d=p=>{xn(n.onMouseLeave,p),t.onTriggerMouseLeave()};return w(Xe.button,X({ref:a,get id(){return t.state.triggerId},type:"button","aria-haspopup":"dialog",get"aria-controls"(){return t.state.contentId},get"aria-expanded"(){return t.state.opened},get onClick(){return t.state.triggerOnClick?i:void 0},get onKeyDown(){return t.state.triggerOnHover?o:void 0},get onFocus(){return t.state.triggerOnHover?s:void 0},get onBlur(){return t.state.triggerOnHover?l:void 0},get onMouseEnter(){return t.state.triggerOnHover?u:void 0},get onMouseLeave(){return t.state.triggerOnHover?d:void 0}},r))}const mT=po({"0%":{left:"-40%"},"100%":{left:"100%"}}),xT=po({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}}),bT=Q({position:"relative",overflow:"hidden",variants:{size:{xs:{height:"$1",fontSize:"4px"},sm:{height:"$2",fontSize:"6px"},md:{height:"$3",fontSize:"8px"},lg:{height:"$4",fontSize:"10px"}}}}),vT=Q({position:"relative",height:"100%",transition:"width 600ms ease",variants:{striped:{true:{}},animated:{true:{}},indeterminate:{true:{position:"absolute",willChange:"left",minWidth:"50%",animation:"".concat(mT," 1200ms ease infinite normal none running")}}},compoundVariants:[{indeterminate:!1,striped:!0,css:{backgroundImage:"linear-gradient(45deg, $colors$progressStripe 25%, transparent 25%, transparent 50%, $colors$progressStripe 50%, $colors$progressStripe 75%, transparent 75%, transparent)",backgroundSize:"1rem 1rem"}},{indeterminate:!1,striped:!0,animated:!0,css:{animation:"".concat(xT," 750ms linear infinite")}}]}),_T=Q({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"}),Gx=Lt(),Kx="hope-progress";function Yx(e){var t,n,r,a,i,o;const s=Ce().Progress,[l]=bn({get min(){var m;return(m=e.min)!=null?m:0},get max(){var m;return(m=e.max)!=null?m:100},get value(){var m;return(m=e.value)!=null?m:0},get percent(){return R4(this.value,this.min,this.max)},get indeterminate(){var m;return(m=e.indeterminate)!=null?m:!1},get ariaValueText(){var m;if(!this.indeterminate)return An(this.getValueText)?this.getValueText(this.value,this.percent):(m=e.valueText)!=null?m:"".concat(this.percent,"%")},get getValueText(){return e.getValueText}}),u={size:(r=(n=(t=s==null?void 0:s.defaultProps)==null?void 0:t.root)==null?void 0:n.size)!=null?r:"md",trackColor:(o=(i=(a=s==null?void 0:s.defaultProps)==null?void 0:a.root)==null?void 0:i.trackColor)!=null?o:"$neutral4"},d=X(u,e),[p,f,h]=fe(d,["class","size","trackColor"],["min","max","value","indeterminate","valueText","getValueText"]),c=()=>ce(p.class,Kx,bT({size:p.size})),g={state:l};return w(Gx.Provider,{value:g,get children(){return w(Be,X({role:"progressbar",get"data-indeterminate"(){return l.indeterminate?"":void 0},get"aria-valuemin"(){return l.min},get"aria-valuemax"(){return l.max},get"aria-valuenow"(){return l.indeterminate?void 0:l.value},get"aria-valuetext"(){return l.ariaValueText},get class(){return c()},get __baseStyle(){var m;return(m=s==null?void 0:s.baseStyle)==null?void 0:m.root},get backgroundColor(){return p.trackColor}},h))}})}Yx.toString=()=>be(Kx);function Xx(){const e=It(Gx);if(!e)throw new Error("[Hope UI]: useProgressContext must be used within a `<Progress />` component");return e}const Qx="hope-progress__indicator";function Zx(e){const t=Ce().Progress,n=Xx(),a=X({color:"$primary9"},e),[i,o]=fe(a,["class","color","striped","animated"]),s=()=>n.state.indeterminate?{backgroundImage:"linear-gradient(to right, transparent 0%, ".concat(i.color," 50%, transparent 100%)")}:{backgroundColor:i.color},l=()=>ce(i.class,Qx,vT({striped:i.striped,animated:i.animated,indeterminate:n.state.indeterminate===!0,css:Yr(ve({},s()),{width:"".concat(n.state.percent,"%")})}));return w(Be,X({get class(){return l()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.indicator}},o))}Zx.toString=()=>be(Qx);const Jx="hope-progress__label";function yT(e){const t=Ce().Progress,n=Xx(),[r,a]=fe(e,["class","children"]),i=()=>ce(r.class,Jx,_T());return w(Be,X({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.label}},a,{get children(){return w(Re,{get when(){return r.children},get fallback(){return n.state.ariaValueText},get children(){return r.children}})}}))}yT.toString=()=>be(Jx);const ET=Q(Xd,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),ST=Q(Qd),CT=Q(Zd,{borderRadius:"$full","&[data-checked]::before":{content:"",display:"inline-block",position:"relative",boxSize:"calc(50% + 1px)",borderRadius:"$full",backgroundColor:"$loContrast"}}),eb="hope-radio-group";function TT(e){const t="hope-radio-group-".concat(or(),"--radio"),n=Ce().Radio,[r,a]=bn({_value:e.defaultValue,get isControlled(){return e.value!==void 0},get value(){return this.isControlled?e.value:this._value},get name(){var p;return(p=e.name)!=null?p:t},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get variant(){var p,f,h;return(h=e.variant)!=null?h:(f=(p=n==null?void 0:n.defaultProps)==null?void 0:p.group)==null?void 0:f.variant},get colorScheme(){var p,f,h;return(h=e.colorScheme)!=null?h:(f=(p=n==null?void 0:n.defaultProps)==null?void 0:p.group)==null?void 0:f.colorScheme},get size(){var p,f,h;return(h=e.size)!=null?h:(f=(p=n==null?void 0:n.defaultProps)==null?void 0:p.group)==null?void 0:f.size}}),[i,o,s]=fe(e,["class","onChange"],["value","defaultValue","name","required","disabled","readOnly","invalid"]),l=p=>{var f;const h=p.target.value;a("_value",h),(f=i.onChange)==null||f.call(i,String(h))},u=()=>ce(i.class,eb),d={state:r,onChange:l};return w(tb.Provider,{value:d,get children(){return w(Be,X({role:"radiogroup",get class(){return u()},get __baseStyle(){var p;return(p=n==null?void 0:n.baseStyle)==null?void 0:p.group}},s))}})}TT.toString=()=>be(eb);const tb=Lt();function wT(){return It(tb)}const AT=Bt('<input type="radio">',1),nb="hope-radio",kT="hope-radio__input",OT="hope-radio__control",IT="hope-radio__label";function NT(e){const t="hope-radio-".concat(or()),n=Ce().Radio,r=$s(),a=wT(),i=mo(e),[o,s]=bn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return e.checked!==void 0},get checked(){if(a){const y=a.state.value;return y!=null?String(e.value)===String(y):!1}return this.isControlled?!!e.checked:this._checked},get variant(){var y,_,S,C,T,R;return(R=(T=(_=e.variant)!=null?_:(y=a==null?void 0:a.state)==null?void 0:y.variant)!=null?T:(C=(S=n==null?void 0:n.defaultProps)==null?void 0:S.root)==null?void 0:C.variant)!=null?R:"outline"},get colorScheme(){var y,_,S,C,T,R;return(R=(T=(_=e.colorScheme)!=null?_:(y=a==null?void 0:a.state)==null?void 0:y.colorScheme)!=null?T:(C=(S=n==null?void 0:n.defaultProps)==null?void 0:S.root)==null?void 0:C.colorScheme)!=null?R:"primary"},get size(){var y,_,S,C,T,R;return(R=(T=(_=e.size)!=null?_:(y=a==null?void 0:a.state)==null?void 0:y.size)!=null?T:(C=(S=n==null?void 0:n.defaultProps)==null?void 0:S.root)==null?void 0:C.size)!=null?R:"md"},get labelPlacement(){var y,_,S,C,T,R;return(R=(T=(_=e.labelPlacement)!=null?_:(y=a==null?void 0:a.state)==null?void 0:y.labelPlacement)!=null?T:(C=(S=n==null?void 0:n.defaultProps)==null?void 0:S.root)==null?void 0:C.labelPlacement)!=null?R:"end"},get id(){var y;return r&&!a?i.id:(y=e.id)!=null?y:t},get name(){var y;return(y=e.name)!=null?y:a==null?void 0:a.state.name},get value(){return e.value},get required(){var y;return(y=i.required)!=null?y:a==null?void 0:a.state.required},get disabled(){var y;return(y=i.disabled)!=null?y:a==null?void 0:a.state.disabled},get invalid(){var y;return(y=i.invalid)!=null?y:a==null?void 0:a.state.invalid},get readOnly(){var y;return(y=i.readOnly)!=null?y:a==null?void 0:a.state.readOnly},get"aria-required"(){return this.required?!0:void 0},get"aria-disabled"(){return this.disabled?!0:void 0},get"aria-invalid"(){return this.invalid?!0:void 0},get"aria-readonly"(){return this.readOnly?!0:void 0},get"aria-label"(){return e["aria-label"]},get"aria-labelledby"(){return e["aria-labelledby"]},get"aria-describedby"(){return e["aria-describedby"]},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[l,u,d]=fe(e,["class","children","ref","tabIndex","onChange"],["variant","colorScheme","size","labelPlacement","id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),p=y=>{if(o.readOnly||o.disabled){y.preventDefault();return}if(!o.isControlled){const _=y.target;s("_checked",_.checked)}Cn(a==null?void 0:a.onChange,l.onChange)(y)},f=y=>{s("isFocused",!0),xn(i.onFocus,y)},h=y=>{s("isFocused",!1),xn(i.onBlur,y)},c=()=>ce(l.class,nb,ET({size:o.size,labelPlacement:o.labelPlacement})),g=()=>ce(kT,ic()),m=()=>ce(OT,CT({variant:o.variant,colorScheme:o.colorScheme,size:o.size})),x=()=>ce(IT,ST()),v={state:o,onChange:p,onFocus:f,onBlur:h};return w(LT.Provider,{value:v,get children(){return w(Xe.label,X({get class(){return c()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.root},get for(){return o.id},"data-group":!0,get"data-focus"(){return o["data-focus"]},get"data-checked"(){return o["data-checked"]},get"data-required"(){return o["data-required"]},get"data-disabled"(){return o["data-disabled"]},get"data-invalid"(){return o["data-invalid"]},get"data-readonly"(){return o["data-readonly"]}},d,{get children(){return[(()=>{const y=AT.cloneNode(!0);y.addEventListener("blur",h),y.addEventListener("focus",f),y.addEventListener("change",p);const _=l.ref;return typeof _=="function"?_(y):l.ref=y,Pn(S=>{const C=g(),T=l.tabIndex,R=o.value,P=o.id,A=o.name,I=o.checked,$=o.required,W=o.disabled,G=o.readOnly,ae=o["aria-required"],ie=o["aria-disabled"],Te=o["aria-invalid"],te=o["aria-readonly"],Fe=o["aria-label"],Oe=o["aria-labelledby"],O=o["aria-describedby"];return C!==S._v$&&(y.className=S._v$=C),T!==S._v$2&&ht(y,"tabindex",S._v$2=T),R!==S._v$3&&(y.value=S._v$3=R),P!==S._v$4&&ht(y,"id",S._v$4=P),A!==S._v$5&&ht(y,"name",S._v$5=A),I!==S._v$6&&(y.checked=S._v$6=I),$!==S._v$7&&(y.required=S._v$7=$),W!==S._v$8&&(y.disabled=S._v$8=W),G!==S._v$9&&(y.readOnly=S._v$9=G),ae!==S._v$10&&ht(y,"aria-required",S._v$10=ae),ie!==S._v$11&&ht(y,"aria-disabled",S._v$11=ie),Te!==S._v$12&&ht(y,"aria-invalid",S._v$12=Te),te!==S._v$13&&ht(y,"aria-readonly",S._v$13=te),Fe!==S._v$14&&ht(y,"aria-label",S._v$14=Fe),Oe!==S._v$15&&ht(y,"aria-labelledby",S._v$15=Oe),O!==S._v$16&&ht(y,"aria-describedby",S._v$16=O),S},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),y})(),w(Xe.span,X({"aria-hidden":!0,get class(){return m()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.control},get"data-focus"(){return o["data-focus"]},get"data-checked"(){return o["data-checked"]},get"data-required"(){return o["data-required"]},get"data-disabled"(){return o["data-disabled"]},get"data-invalid"(){return o["data-invalid"]},get"data-readonly"(){return o["data-readonly"]}},d)),w(Xe.span,{get class(){return x()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.label},get"data-focus"(){return o["data-focus"]},get"data-checked"(){return o["data-checked"]},get"data-required"(){return o["data-required"]},get"data-disabled"(){return o["data-disabled"]},get"data-invalid"(){return o["data-invalid"]},get"data-readonly"(){return o["data-readonly"]},get children(){return w(Re,{get when(){return sc(l)},get fallback(){return l.children},get children(){var y;return(y=l.children)==null?void 0:y.call(l,{checked:o.checked})}})}})]}}))}})}NT.toString=()=>be(nb);const LT=Lt();var aa=(e=>(e[e.Close=0]="Close",e[e.SelectAndClose=1]="SelectAndClose",e[e.First=2]="First",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Open=5]="Open",e[e.Previous=6]="Previous",e[e.Select=7]="Select",e[e.Type=8]="Type",e))(aa||{});function Ph(e=[],t,n=[]){return e.filter(r=>r.disabled?!1:r.textValue.toLowerCase().indexOf(t.toLowerCase())===0&&n.indexOf(r.textValue)<0)}function RT(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],a=Ph(r,t)[0],i=o=>o.every(s=>s===o[0]);if(a)return e.indexOf(a);if(i(t.split(""))){const o=Ph(r,t[0]);return e.indexOf(o[0])}else return-1}function PT(e,t){const{key:n,altKey:r,ctrlKey:a,metaKey:i}=e;if(!t&&["ArrowDown","ArrowUp","Enter"," "].includes(n))return 5;if(n==="Home"||n==="PageUp")return 2;if(n==="End"||n==="PageDown")return 3;if(n==="Backspace"||n==="Clear"||n.length===1&&n!==" "&&!r&&!a&&!i)return 8;if(t){if(n==="ArrowUp"&&r)return 1;if(n==="ArrowDown"&&!r)return 4;if(n==="ArrowUp")return 6;if(n==="Escape")return 0;if(n==="Enter"||n===" ")return 1}}function Dh(e,t,n){switch(n){case 2:return 0;case 3:return t;case 6:return Math.max(0,e-1);case 4:return Math.min(t,e+1);default:return e}}function DT(e){const{currentIndex:t,maxIndex:n,initialAction:r,isOptionDisabled:a}=e;let i=Dh(t,n,r);for(;a(i);){let o=r;const s=i===0,l=i===n;if(r===2&&(o=4),r===3&&(o=6),r===6&&s){i=t;break}if(r===4&&l){i=t;break}i=Dh(i,n,o)}return i}function ml(e,t){return String(e.value)===String(t.value)}function rb(e){const t="hope-select-".concat(or()),n=Ce().Select,r=mo(e),[a,i]=Ie(!1),[o,s]=Ie([]),[l,u]=bn({get isControlled(){return e.value!==void 0},get value(){var se;return this.isControlled?e.value:this.multiple?this.selectedOptions.map(we=>we.value):(se=this.selectedOptions[0].value)!=null?se:void 0},get multiple(){return e.multiple},get baseId(){var se,we;return(we=(se=e.id)!=null?se:r.id)!=null?we:t},get triggerId(){return"".concat(this.baseId,"-trigger")},get listboxId(){return"".concat(this.baseId,"-listbox")},get labelIdPrefix(){return"".concat(this.baseId,"-label")},get optionIdPrefix(){return"".concat(this.baseId,"-option")},get disabled(){var se;return(se=e.disabled)!=null?se:r.disabled},get invalid(){var se;return(se=e.invalid)!=null?se:r.invalid},get variant(){var se,we,Qe,pt;return(pt=(Qe=e.variant)!=null?Qe:(we=(se=n==null?void 0:n.defaultProps)==null?void 0:se.root)==null?void 0:we.variant)!=null?pt:"outline"},get size(){var se,we,Qe,pt;return(pt=(Qe=e.size)!=null?Qe:(we=(se=n==null?void 0:n.defaultProps)==null?void 0:se.root)==null?void 0:we.size)!=null?pt:"md"},get motionPreset(){var se,we,Qe,pt;return(pt=(Qe=e.motionPreset)!=null?Qe:(we=(se=n==null?void 0:n.defaultProps)==null?void 0:se.root)==null?void 0:we.motionPreset)!=null?pt:"fade-in-top"},get activeDescendantId(){return this.opened?"".concat(this.optionIdPrefix,"-").concat(this.activeIndex):void 0},get hasSelectedOptions(){return this.selectedOptions.length>0},get options(){return o()},selectedOptions:[],opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let d,p,f,h;const c=async()=>{var se,we,Qe,pt;if(!d||!p)return;const{x:Dn,y:Er}=await nc(d,p,{placement:"bottom",middleware:[Qu((pt=(Qe=e.offset)!=null?Qe:(we=(se=n==null?void 0:n.defaultProps)==null?void 0:se.root)==null?void 0:we.offset)!=null?pt:5),Xu(),Zu(),A3({apply({reference:qe}){p&&Object.assign(p.style,{width:"".concat(qe.width,"px")})}})]});p&&Object.assign(p.style,{left:"".concat(Math.round(Dn),"px"),top:"".concat(Math.round(Er),"px")})},g=se=>{l.searchTimeoutId&&window.clearTimeout(l.searchTimeoutId);const we=window.setTimeout(()=>{u("searchString","")},500);return u("searchTimeoutId",we),u("searchString",Qe=>Qe+=se),l.searchString},m=()=>{d==null||d.focus()},x=()=>l.isControlled?e.value==null?[]:nu(e.value)?e.value:[e.value]:e.defaultValue==null?[]:nu(e.defaultValue)?e.defaultValue:[e.defaultValue],v=()=>{if(a())return;const se=x().map(we=>l.options.find(Qe=>Qe.value===we)).filter(Boolean);u("selectedOptions",we=>[...we,...se]),i(!0)},y=se=>{u("activeIndex",se)},_=se=>l.selectedOptions.length<=0?!1:l.multiple?!!l.selectedOptions.find(we=>ml(se,we)):ml(se,l.selectedOptions[0]),S=se=>{u("selectedOptions",we=>we.filter(Qe=>!ml(se,Qe)))},C=se=>{const we=l.options[se];l.multiple?_(we)?S(we):u("selectedOptions",Qe=>[...Qe,we]):u("selectedOptions",[we])},T=()=>{var se;return l.multiple?l.selectedOptions.map(we=>we.value):(se=l.selectedOptions[0].value)!=null?se:void 0},R=se=>{var we;y(se),C(se),(we=e.onChange)==null||we.call(e,T())},P=se=>{var we;S(se),(we=e.onChange)==null||we.call(e,T()),m()},A=se=>l.options[se].disabled,I=se=>{if(!di(d,Iu(se))){if(l.ignoreBlur){u("ignoreBlur",!1);return}l.opened&&Oe(!1,!1)}},$=()=>{r.readOnly||Oe(!l.opened,!1)},W=se=>{if(r.readOnly)return;const{key:we}=se;if(l.hasSelectedOptions&&l.multiple&&we==="Backspace"){P(l.selectedOptions[l.selectedOptions.length-1]);return}const Qe=l.options.length-1,pt=PT(se,l.opened);switch(pt){case aa.Last:case aa.First:Oe(!0);case aa.Next:case aa.Previous:return se.preventDefault(),y(DT({currentIndex:l.activeIndex,maxIndex:Qe,initialAction:pt,isOptionDisabled:A}));case aa.SelectAndClose:return se.preventDefault(),R(l.activeIndex),l.multiple?void 0:Oe(!1);case aa.Close:return se.preventDefault(),Oe(!1);case aa.Type:return G(we);case aa.Open:return se.preventDefault(),Oe(!0)}},G=se=>{if(r.readOnly)return;Oe(!0);const we=g(se),Qe=RT(l.options,we,l.activeIndex+1);Qe>=0?y(Qe):(window.clearTimeout(l.searchTimeoutId),u("searchString",""))},ae=se=>{if(l.options[se].disabled){m();return}R(se),l.multiple?m():Oe(!1)},ie=se=>{l.activeIndex!==se&&y(se)},Te=()=>{u("ignoreBlur",!0)},te=()=>{l.selectedOptions.length>0?u("activeIndex",l.options.findIndex(se=>_(se))):u("activeIndex",0)},Fe=()=>{l.opened?(c(),d&&p&&(h=tc(d,p,c))):h==null||h()},Oe=(se,we=!0)=>{l.opened!==se&&(u("opened",se),te(),Fe(),we&&m())},O=()=>{y(-1)},B=se=>{di(d,se)||Oe(!1,!1)},xe=se=>se===l.activeIndex,Pe=se=>{d=se},ct=se=>{p=se},nt=se=>{f=se},rt=se=>{f&&u2(f)&&c2(se,f)},lt=se=>{const we=l.options.findIndex(pt=>ml(pt,se));return we!=-1?we:s(pt=>[...pt,se]).length-1};Kt(fa(()=>l.options,()=>v(),{defer:!0})),Kt(fa(()=>e.value,()=>{if(!l.isControlled)return;const we=(nu(e.value)?e.value:[e.value]).map(Qe=>l.options.find(pt=>pt.value===Qe)).filter(Boolean);u("selectedOptions",we)},{defer:!0})),Kt(fa(()=>l.opened,se=>{se&&setTimeout(()=>{const we=f==null?void 0:f.querySelector("[role='option'][aria-selected='true']");we&&rt(we)},0)}));const vt={state:l,isOptionSelected:_,unselectOption:P,isOptionActiveDescendant:xe,formControlProps:r,assignTriggerRef:Pe,assignContentRef:ct,assignListboxRef:nt,registerOption:lt,scrollToOption:rt,onContentClickOutside:B,onTriggerBlur:I,onTriggerClick:$,onTriggerKeyDown:W,onOptionClick:ae,onOptionMouseMove:ie,onOptionMouseDown:Te,onListboxMouseLeave:O};return w(ab.Provider,{value:vt,get children(){return e.children}})}const ab=Lt();function ya(){const e=It(ab);if(!e)throw new Error("[Hope UI]: useSelectContext must be used within a `<Select />` component");return e}const ib="hope-select__content";function dc(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["ref","class","children"]),[i,o]=Ie(!1);Kt(fa(()=>n.state.opened,()=>{n.state.opened?o(!0):n.state.motionPreset==="none"&&o(!1)}));const s=()=>o(!1),l=()=>ce(r.class,ib,y4()),u=ba(()=>r.children),d=h=>{n.assignContentRef(h),An(r.ref)?r.ref(h):r.ref=h},p=h=>{n.onContentClickOutside(h.target)},f=()=>{switch(n.state.motionPreset){case"fade-in-top":return ii.fadeInTop;case"none":return"hope-none"}};return w(Re,{get when(){return i()},get children(){return w(Ha,{get children(){return w(Ua,{get name(){return f()},appear:!0,onAfterExit:s,get children(){return w(Re,{get when(){return n.state.opened},get children(){return w(Tx,{onClickOutside:p,get children(){return w(Be,X({ref:d,get class(){return l()},get __baseStyle(){var h;return(h=t==null?void 0:t.baseStyle)==null?void 0:h.content}},a,{get children(){return u()}}))}})}})}})}})}})}dc.toString=()=>be(ib);const MT=Bt('<svg><path d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),BT=br({viewBox:"0 0 15 15",path:()=>MT.cloneNode(!0)}),ob="hope-select__icon";function Cs(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["class","rotateOnOpen"]),i=()=>ce(r.class,ob,_4(r.rotateOnOpen?{opened:n.state.opened}:void 0));return w(BT,X({"aria-hidden":!0,get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.icon}},a))}Cs.toString=()=>be(ob);const sb="hope-select__listbox";function fc(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["ref","class"]),i=()=>ce(r.class,sb,E4());return w(Be,X({ref:l=>{n.assignListboxRef(l),An(r.ref)?r.ref(l):r.ref=l},role:"listbox",tabindex:"-1",get id(){return n.state.listboxId},get class(){return i()},get __baseStyle(){var l;return(l=t==null?void 0:t.baseStyle)==null?void 0:l.listbox},get onMouseLeave(){return n.onListboxMouseLeave},onMouseDown:l=>{l.preventDefault()}},a))}fc.toString=()=>be(sb);const lb=Lt(),ub="hope-select__option";function hc(e){const t=Ce().Select,n=ya(),[r,a]=Ie(-1);let i;const[o,s]=fe(e,["ref","class","value","textValue","disabled"]),l=()=>{var x,v;return{value:o.value,textValue:(v=(x=o.textValue)!=null?x:i==null?void 0:i.textContent)!=null?v:String(o.value),disabled:!!o.disabled}},u=()=>"".concat(n.state.optionIdPrefix,"-").concat(r()),d=()=>n.isOptionSelected(l()),p=()=>n.isOptionActiveDescendant(r()),f=()=>ce(o.class,ub,S4()),h=x=>{i=x,An(o.ref)?o.ref(x):o.ref=x},c=x=>{x.stopPropagation(),n.onOptionClick(r())},g=x=>{if(o.disabled&&n.onOptionMouseMove(-1),p()||o.disabled){x.preventDefault(),x.stopPropagation();return}n.onOptionMouseMove(r())},m={selected:d};return wn(()=>{a(n.registerOption(l()))}),Kt(()=>{p()&&i&&n.scrollToOption(i)}),w(lb.Provider,{value:m,get children(){return w(Be,X({ref:h,role:"option",get id(){return u()},get"aria-selected"(){return d()},get"data-active"(){return p()?"":void 0},get"data-disabled"(){return o.disabled?"":void 0},"data-group":!0,get class(){return f()},get __baseStyle(){var x;return(x=t==null?void 0:t.baseStyle)==null?void 0:x.option},onClick:c,onMouseMove:g,get onMouseDown(){return n.onOptionMouseDown}},s))}})}hc.toString=()=>be(ub);function FT(){const e=It(lb);if(!e)throw new Error("[Hope UI]: useSelectOptionContext must be used within a `<Select.Option />` component");return e}const $T=Bt('<svg><g fill="none"><path d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></g></svg>',6,!0),HT=br({viewBox:"0 0 15 15",path:()=>$T.cloneNode(!0)}),cb="hope-select__option-indicator";function pc(e){const t=Ce().Select,n=FT(),[r,a]=fe(e,["class","children"]),i=()=>ce(r.class,cb,T4());return w(Re,{get when(){return n.selected()},get children(){return w(Xe.span,X({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.optionIndicator}},a,{get children(){return w(Re,{get when(){return r.children},get fallback(){return w(HT,{"aria-hidden":"true",boxSize:"$5"})},get children(){return r.children}})}}))}})}pc.toString=()=>be(cb);const db="hope-select__option-text";function gc(e){const t=Ce().Select,[n,r]=fe(e,["class"]),a=()=>ce(n.class,db,C4());return w(Xe.span,X({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.optionText}},r))}gc.toString=()=>be(db);const fb="hope-select__placeholder";function tf(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,fb,v4());return w(Re,{get when(){return!n.state.hasSelectedOptions},get children(){return w(Xe.span,X({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.placeholder}},a))}})}tf.toString=()=>be(fb);const hb="hope-select__tag";function pb(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["class","size","variant"]),i=()=>{var o,s,l;return ce(r.class,hb,x4({size:(s=(o=r.size)!=null?o:n.state.size)!=null?s:"md",variant:((l=r.variant)!=null?l:n.state.variant==="filled")?"outline":"subtle"}))};return w(Xe.span,X({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.tag}},a))}pb.toString=()=>be(hb);const UT=Bt('<svg><g fill="none"><path d="M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></g></svg>',6,!0),zT=br({viewBox:"0 0 15 15",path:()=>UT.cloneNode(!0)}),gb="hope-select__tag-close-button";function mb(e){const t=Ce().Select,[n,r]=fe(e,["class","children"]),a=()=>ce(n.class,gb,b4());return w(Xe.button,X({role:"button",type:"button","aria-label":"Delete",tabIndex:"-1",get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.tagCloseButton}},r,{get children(){return w(Re,{get when(){return n.children},get fallback(){return w(zT,{})},get children(){return n.children}})}}))}mb.toString=()=>be(gb);const xb="hope-select__trigger";function mc(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["ref","class","onClick","onKeyDown","onFocus","onBlur"]),i=()=>ce(r.class,xb,g4({variant:n.state.variant,size:n.state.size})),o=p=>{n.assignTriggerRef(p),An(r.ref)?r.ref(p):r.ref=p},s=p=>{Cn(n.onTriggerClick,r.onClick)(p)},l=p=>{Cn(n.onTriggerKeyDown,r.onKeyDown)(p)},u=p=>{Cn(n.formControlProps.onFocus,r.onFocus)(p)},d=p=>{Cn(n.onTriggerBlur,n.formControlProps.onBlur,r.onBlur)(p)};return w(Xe.button,X({ref:o,get id(){return n.state.triggerId},get disabled(){return n.state.disabled},role:"combobox",type:"button",tabindex:"0","aria-haspopup":"listbox",get"aria-activedescendant"(){return n.state.activeDescendantId},get"aria-controls"(){return n.state.listboxId},get"aria-expanded"(){return n.state.opened},get"aria-required"(){return n.formControlProps["aria-required"]},get"aria-invalid"(){return n.formControlProps["aria-invalid"]},get"aria-readonly"(){return n.formControlProps["aria-readonly"]},get"aria-describedby"(){return n.formControlProps["aria-describedby"]},get class(){return i()},get __baseStyle(){var p;return(p=t==null?void 0:t.baseStyle)==null?void 0:p.trigger},onClick:s,onKeyDown:l,onFocus:u,onBlur:d},a))}mc.toString=()=>be(xb);const jT=Bt("<span></span>",2),sd="hope-select__value";function xc(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["class","children"]),i=()=>ce(r.class,sd,i2()),o=()=>ce(r.class,sd,m4({size:n.state.size})),s=(u,d)=>{u.preventDefault(),u.stopPropagation(),n.unselectOption(d)},l=ba(()=>{var u;return sc(r)?(u=r.children)==null?void 0:u.call(r,{selectedOptions:n.state.selectedOptions}):r.children});return w(Re,{get when(){return n.state.hasSelectedOptions},get children(){return w(Re,{get when(){return!l()},get fallback(){return l()},get children(){return w(Re,{get when(){return n.state.multiple},get fallback(){return w(Be,X({get class(){return i()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.singleValue}},a,{get children(){return n.state.selectedOptions[0].textValue}}))},get children(){return w(Be,X({get class(){return o()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.multiValue}},a,{get children(){return w(uo,{get each(){return n.state.selectedOptions},children:u=>w(pb,{get children(){return[(()=>{const d=jT.cloneNode(!0);return ma(d,()=>u.textValue),d})(),w(mb,{onClick:d=>s(d,u)})]}})})}}))}})}})}})}xc.toString=()=>be(sd);function qF(e){const[t,n]=fe(e,["children","value"]);return w(hc,X({get value(){return t.value}},n,{get children(){return[w(gc,{get children(){return t.children}}),w(pc,{})]}}))}function WF(e){const[t,n,r]=fe(e,["children","placeholder"],["variant","size","offset","id","multiple","value","defaultValue","required","disabled","invalid","readOnly","onChange","onFocus","onBlur"]);return w(rb,X(n,{get children(){return[w(mc,X(r,{get children(){return[w(Re,{get when(){return t.placeholder},get children(){return w(tf,{get children(){return t.placeholder}})}}),w(xc,{}),w(Cs,{})]}})),w(dc,{get children(){return w(fc,{get children(){return t.children}})}})]}}))}const qT=po({from:{borderColor:"$$startColor",background:"$$startColor"},to:{borderColor:"$$endColor",background:"$$endColor"}});Q({$$startColor:"$colors$neutral2",$$endColor:"$colors$neutral8",opacity:"0.7",borderRadius:"2px",borderColor:"$$startColor",boxShadow:"$none",background:"$$endColor",backgroundClip:"padding-box",color:"transparent",cursor:"default",pointerEvents:"none",userSelect:"none",animationTimingFunction:"linear",animationIterationCount:"infinite",animationDirection:"alternate",animationName:"".concat(qT()),"&::before, &::after, *":{visibility:"hidden"}});const WT=Q({flex:1,justifySelf:"stretch",alignSelf:"stretch"}),bb="hope-spacer";function VT(e){const[t,n]=fe(e,["class"]),r=()=>ce(t.class,bb,WT());return w(Be,X({get class(){return r()}},n))}VT.toString=()=>be(bb);const GT=Q({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"$full",borderWidth:"2px",borderBottomColor:"transparent",borderLeftColor:"transparent",animationName:"".concat(ac),animationDuration:"0.45s",animationTimingFunction:"linear",animationIterationCount:"infinite",variants:{size:{xs:{boxSize:"0.75rem"},sm:{boxSize:"1rem"},md:{boxSize:"1.5rem"},lg:{boxSize:"2rem"},xl:{boxSize:"3rem"}}}}),KT=Bt("<span></span>",2),vb="hope-spinner";function zs(e){var t,n,r,a,i,o,s,l;const u=Ce().Spinner,d={label:(n=(t=u==null?void 0:u.defaultProps)==null?void 0:t.label)!=null?n:"Loading...",size:(a=(r=u==null?void 0:u.defaultProps)==null?void 0:r.size)!=null?a:"md",emptyColor:(i=u==null?void 0:u.defaultProps)==null?void 0:i.emptyColor,color:(o=u==null?void 0:u.defaultProps)==null?void 0:o.color,thickness:(s=u==null?void 0:u.defaultProps)==null?void 0:s.thickness,speed:(l=u==null?void 0:u.defaultProps)==null?void 0:l.speed},p=X(d,e),[f,h]=fe(p,["class","children","label","size","emptyColor","color","thickness","speed"]),c=()=>ce(f.class,vb,GT({size:f.size,css:{color:f.color,borderWidth:f.thickness,borderBottomColor:f.emptyColor,borderLeftColor:f.emptyColor,animationDuration:f.speed}}));return w(Be,X({get class(){return c()}},h,{get children(){return w(Re,{get when(){return f.label},get children(){const g=KT.cloneNode(!0);return ma(g,()=>f.label),Pn(()=>g.className=ic()),g}})}}))}zs.toString=()=>be(vb);const YT=Q(Xd,{variants:{labelPlacement:{start:{flexDirection:"row"},end:{flexDirection:"row-reverse"}}}}),XT=Q(Qd),QT=Q(Zd,{borderRadius:"$full",transition:"background-color 250ms, border-color 250ms, box-shadow 250ms","&::before":{content:"''",position:"absolute",top:"2px",left:"2px",zIndex:"1",borderRadius:"$full",boxShadow:"$sm",transition:"250ms"},variants:{variant:{outline:{"&::before":{backgroundColor:"$neutral7"},"&[data-checked]::before":{backgroundColor:"$loContrast"}},filled:{"&::before":{backgroundColor:"$loContrast"}}},size:{sm:{height:"16px",width:"26px","&::before":{boxSize:"10px"},"&[data-checked]::before":{transform:"translateX(10px)"}},md:{columnGap:"2px",height:"20px",width:"34px","&::before":{boxSize:"14px"},"&[data-checked]::before":{transform:"translateX(14px)"}},lg:{columnGap:"4px",height:"28px",width:"50px","&::before":{boxSize:"22px"},"&[data-checked]::before":{transform:"translateX(22px)"}}}}}),ZT=Bt('<input type="checkbox" role="switch">',1);function JT(e){const t="hope-switch-".concat(or()),n=mo(e),[r,a]=bn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return e.checked!==void 0},get checked(){return this.isControlled?!!e.checked:this._checked},get id(){var c;return(c=n.id)!=null?c:t},get name(){return e.name},get value(){return e.value},get required(){return n.required},get disabled(){return n.disabled},get invalid(){return n.invalid},get readOnly(){return n.readOnly},get"aria-required"(){return this.required?!0:void 0},get"aria-disabled"(){return this.disabled?!0:void 0},get"aria-invalid"(){return this.invalid?!0:void 0},get"aria-readonly"(){return this.readOnly?!0:void 0},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[i,o,s]=fe(e,["inputClass","children","ref","tabIndex","aria-label","aria-labelledby","aria-describedby","onChange"],["id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),l=c=>{if(r.readOnly||r.disabled){c.preventDefault();return}if(!r.isControlled){const g=c.target;a("_checked",g.checked)}xn(i.onChange,c)},u=c=>{a("isFocused",!0),xn(n.onFocus,c)},d=c=>{a("isFocused",!1),xn(n.onBlur,c)},p=()=>ce(i.inputClass,ic()),f=()=>r,h={state:r};return w(ew.Provider,{value:h,get children(){return w(Xe.label,X({get for(){return r.id},"data-group":!0,get"data-focus"(){return r["data-focus"]},get"data-checked"(){return r["data-checked"]},get"data-required"(){return r["data-required"]},get"data-disabled"(){return r["data-disabled"]},get"data-invalid"(){return r["data-invalid"]},get"data-readonly"(){return r["data-readonly"]}},s,{get children(){return[(()=>{const c=ZT.cloneNode(!0);c.addEventListener("blur",d),c.addEventListener("focus",u),c.addEventListener("change",l);const g=i.ref;return typeof g=="function"?g(c):i.ref=c,Pn(m=>{const x=p(),v=i.tabIndex,y=r.value,_=r.id,S=r.name,C=r.checked,T=r.required,R=r.disabled,P=r.readOnly,A=r["aria-required"],I=r["aria-disabled"],$=r["aria-invalid"],W=r["aria-readonly"],G=i["aria-label"],ae=i["aria-labelledby"],ie=i["aria-describedby"];return x!==m._v$&&(c.className=m._v$=x),v!==m._v$2&&ht(c,"tabindex",m._v$2=v),y!==m._v$3&&(c.value=m._v$3=y),_!==m._v$4&&ht(c,"id",m._v$4=_),S!==m._v$5&&ht(c,"name",m._v$5=S),C!==m._v$6&&(c.checked=m._v$6=C),T!==m._v$7&&(c.required=m._v$7=T),R!==m._v$8&&(c.disabled=m._v$8=R),P!==m._v$9&&(c.readOnly=m._v$9=P),A!==m._v$10&&ht(c,"aria-required",m._v$10=A),I!==m._v$11&&ht(c,"aria-disabled",m._v$11=I),$!==m._v$12&&ht(c,"aria-invalid",m._v$12=$),W!==m._v$13&&ht(c,"aria-readonly",m._v$13=W),G!==m._v$14&&ht(c,"aria-label",m._v$14=G),ae!==m._v$15&&ht(c,"aria-labelledby",m._v$15=ae),ie!==m._v$16&&ht(c,"aria-describedby",m._v$16=ie),m},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),c})(),w(Re,{get when(){return An(i.children)},get fallback(){return i.children},get children(){var c;return(c=i.children)==null?void 0:c.call(i,{state:f})}})]}}))}})}const ew=Lt(),_b="hope-switch",tw="hope-checkbox__input",nw="hope-switch__control",rw="hope-switch__label";function aw(e){var t,n,r,a,i,o,s,l,u,d,p,f;const h=Ce().Switch,c={variant:(r=(n=(t=h==null?void 0:h.defaultProps)==null?void 0:t.root)==null?void 0:n.variant)!=null?r:"filled",colorScheme:(o=(i=(a=h==null?void 0:h.defaultProps)==null?void 0:a.root)==null?void 0:i.colorScheme)!=null?o:"primary",size:(u=(l=(s=h==null?void 0:h.defaultProps)==null?void 0:s.root)==null?void 0:l.size)!=null?u:"md",labelPlacement:(f=(p=(d=h==null?void 0:h.defaultProps)==null?void 0:d.root)==null?void 0:p.labelPlacement)!=null?f:"start"},g=X(c,e),[m,x]=fe(g,["children","class","variant","colorScheme","size","labelPlacement"]),v=()=>ce(m.class,_b,YT({size:m.size,labelPlacement:m.labelPlacement})),y=()=>ce(nw,QT({variant:m.variant,colorScheme:m.colorScheme,size:m.size})),_=()=>ce(rw,XT());return w(JT,X({get class(){return v()},inputClass:tw,get __baseStyle(){var S;return(S=h==null?void 0:h.baseStyle)==null?void 0:S.root}},x,{children:({state:S})=>[w(Xe.span,{get class(){return _()},get __baseStyle(){var C;return(C=h==null?void 0:h.baseStyle)==null?void 0:C.label},get"data-focus"(){return S()["data-focus"]},get"data-checked"(){return S()["data-checked"]},get"data-required"(){return S()["data-required"]},get"data-disabled"(){return S()["data-disabled"]},get"data-invalid"(){return S()["data-invalid"]},get"data-readonly"(){return S()["data-readonly"]},get children(){return m.children}}),w(Xe.span,{"aria-hidden":!0,get class(){return y()},get __baseStyle(){var C;return(C=h==null?void 0:h.baseStyle)==null?void 0:C.control},get"data-focus"(){return S()["data-focus"]},get"data-checked"(){return S()["data-checked"]},get"data-required"(){return S()["data-required"]},get"data-disabled"(){return S()["data-disabled"]},get"data-invalid"(){return S()["data-invalid"]},get"data-readonly"(){return S()["data-readonly"]}})]}))}aw.toString=()=>be(_b);const iw=Q({width:"100%",borderCollapse:"collapse",fontVariantNumeric:"lining-nums tabular-nums"});Q({px:"$6",py:"$4",color:"$neutral11",fontSize:"$sm",fontWeight:"$medium",lineHeight:"$5",textAlign:"center",variants:{dense:{true:{px:"$4",py:"$3",fontSize:"$xs",lineHeight:"$4"}},placement:{top:{captionSide:"top"},bottom:{captionSide:"bottom"}}}});function Mh(e){return{"& td":{borderBottomWidth:0},"& tr:last-of-type td":{borderBottomWidth:"1px"},["& tr:nth-of-type(".concat(e,") td")]:{backgroundColor:"$neutral3"}}}const ow=Q({variants:{striped:{odd:Mh("odd"),even:Mh("even")},highlightOnHover:{true:{"& tr:hover td":{backgroundColor:"$neutral4"}}}},compoundVariants:[{striped:"odd",highlightOnHover:!0,css:{"& tr:nth-of-type(odd):hover td":{backgroundColor:"$neutral4"}}},{striped:"even",highlightOnHover:!0,css:{"& tr:nth-of-type(even):hover td":{backgroundColor:"$neutral4"}}}]});Q({"& tr:last-of-type th":{borderBottomWidth:0}});const sw=Q({borderBottom:"1px solid $colors$neutral6",px:"$6",py:"$3",fontSize:"$xs",fontWeight:"$semibold",lineHeight:"$4",letterSpacing:"$wider",textAlign:"start",textTransform:"uppercase",variants:{dense:{true:{px:"$4",py:"$1_5"}},numeric:{true:{textAlign:"end"}}}}),lw=Q({borderBottom:"1px solid $colors$neutral6",px:"$6",py:"$4",fontSize:"$base",lineHeight:"$6",textAlign:"start",transition:"background-color 250ms",variants:{dense:{true:{px:"$4",py:"$2",fontSize:"$sm",lineHeight:"$5"}},numeric:{true:{textAlign:"end"}}}}),yb=Lt(),Eb="hope-table";function uw(e){const t=Ce().Table,[n]=bn({get striped(){var o,s,l;return(l=e.striped)!=null?l:(s=(o=t==null?void 0:t.defaultProps)==null?void 0:o.root)==null?void 0:s.striped},get dense(){var o,s,l,u;return(u=(l=e.dense)!=null?l:(s=(o=t==null?void 0:t.defaultProps)==null?void 0:o.root)==null?void 0:s.dense)!=null?u:!1},get highlightOnHover(){var o,s,l,u;return(u=(l=e.highlightOnHover)!=null?l:(s=(o=t==null?void 0:t.defaultProps)==null?void 0:o.root)==null?void 0:s.highlightOnHover)!=null?u:!1}}),[r,a]=fe(e,["class","striped","dense","highlightOnHover"]),i=()=>ce(r.class,Eb,iw(n));return w(yb.Provider,{value:n,get children(){return w(Be,X({as:"table",role:"table",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.root}},a))}})}uw.toString=()=>be(Eb);function nf(){const e=It(yb);if(!e)throw new Error("[Hope UI]: useTableContext must be used within a `<Table/>` component");return e}const Sb="hope-tbody";function cw(e){const t=Ce().Table,n=nf(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,Sb,ow({striped:n.striped,highlightOnHover:n.highlightOnHover}));return w(Be,X({as:"tbody",role:"rowgroup",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.tbody}},a))}cw.toString=()=>be(Sb);const Cb="hope-td";function dw(e){const t=Ce().Table,n=nf(),[r,a]=fe(e,["class","numeric"]),i=()=>ce(r.class,Cb,lw({dense:n.dense,numeric:r.numeric}));return w(Be,X({as:"td",role:"cell",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.td}},a))}dw.toString=()=>be(Cb);const Tb="hope-th";function fw(e){const t=Ce().Table,n=nf(),[r,a]=fe(e,["class","numeric"]),i=()=>ce(r.class,Tb,sw({dense:n.dense,numeric:r.numeric}));return w(Be,X({as:"th",role:"columnheader",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.th}},a))}fw.toString=()=>be(Tb);const wb="hope-thead";function hw(e){const t=Ce().Table,[n,r]=fe(e,["class"]),a=()=>ce(n.class,wb);return w(Be,X({as:"thead",role:"rowgroup",get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.thead}},r))}hw.toString=()=>be(wb);const Ab="hope-tr";function pw(e){const t=Ce().Table,[n,r]=fe(e,["class"]),a=()=>ce(n.class,Ab);return w(Be,X({as:"tr",role:"row",get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.tr}},r))}pw.toString=()=>be(Ab);Q({variants:{orientation:{horizontal:{display:"block"},vertical:{display:"flex"}}}});Q({display:"flex",color:"$neutral11",fontWeight:"$normal",variants:{variant:{underline:{borderWidth:0,borderStyle:"solid",borderColor:"$neutral7"},outline:{borderStyle:"solid",borderColor:"$neutral7"},cards:{borderStyle:"solid",borderColor:"$neutral7"},pills:{gap:"$1_5"}},alignment:{start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},center:{justifyContent:"center"},apart:{justifyContent:"space-between"}},orientation:{horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}}},compoundVariants:[{variant:"underline",orientation:"horizontal",css:{borderBottomWidth:"1px"}},{variant:"underline",orientation:"vertical",css:{borderInlineEndWidth:"1px"}},{variant:"outline",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px"}},{variant:"outline",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px"}},{variant:"cards",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px"}},{variant:"cards",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px"}}]});function Zt(e){return{"&[aria-selected='true']":{color:e}}}function Ja(e){return{"&[aria-selected='true']":{color:e.color,backgroundColor:e.bgColor},"&[aria-selected='true']:hover":{backgroundColor:e.bgColorHover}}}Q({appearance:"none",display:"flex",alignItems:"center",justifyContent:"center",outline:"none",border:"$none",backgroundColor:"transparent",px:"$4",color:"inherit",fontWeight:"inherit",cursor:"pointer",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",transitionDuration:"250ms","&:focus":{zIndex:1,outline:"none",boxShadow:"$outline"},"&:disabled":{opacity:.4,cursor:"not-allowed"},variants:{variant:{underline:{borderWidth:0,borderStyle:"solid",borderColor:"transparent","&[aria-selected='true']":{borderColor:"currentColor"},"&:active":{backgroundColor:"$neutral4"}},outline:{borderWidth:"1px",borderStyle:"solid",borderColor:"transparent","&[aria-selected='true']":{borderColor:"inherit"}},cards:{borderWidth:"1px",borderStyle:"solid",borderColor:"inherit",backgroundColor:"$neutral3","&[aria-selected='true']":{borderColor:"inherit",backgroundColor:"$loContrast"}},pills:{borderRadius:"$sm","&:hover":{backgroundColor:"$neutral3"},"&:hover:disabled":{backgroundColor:"transparent"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:{py:"$1",fontSize:"$sm"},md:{py:"$2",fontSize:"$base"},lg:{py:"$3",fontSize:"$lg"}},orientation:{horizontal:{},vertical:{}},fitted:{true:{flex:1}}},compoundVariants:[{variant:"underline",colorScheme:"primary",css:Zt("$primary11")},{variant:"underline",colorScheme:"accent",css:Zt("$accent11")},{variant:"underline",colorScheme:"neutral",css:Zt("$neutral12")},{variant:"underline",colorScheme:"success",css:Zt("$success11")},{variant:"underline",colorScheme:"info",css:Zt("$info11")},{variant:"underline",colorScheme:"warning",css:Zt("$warning11")},{variant:"underline",colorScheme:"danger",css:Zt("$danger11")},{variant:"outline",colorScheme:"primary",css:Zt("$primary11")},{variant:"outline",colorScheme:"accent",css:Zt("$accent11")},{variant:"outline",colorScheme:"neutral",css:Zt("$neutral12")},{variant:"outline",colorScheme:"success",css:Zt("$success11")},{variant:"outline",colorScheme:"info",css:Zt("$info11")},{variant:"outline",colorScheme:"warning",css:Zt("$warning11")},{variant:"outline",colorScheme:"danger",css:Zt("$danger11")},{variant:"cards",colorScheme:"primary",css:Zt("$primary11")},{variant:"cards",colorScheme:"accent",css:Zt("$accent11")},{variant:"cards",colorScheme:"neutral",css:Zt("$neutral12")},{variant:"cards",colorScheme:"success",css:Zt("$success11")},{variant:"cards",colorScheme:"info",css:Zt("$info11")},{variant:"cards",colorScheme:"warning",css:Zt("$warning11")},{variant:"cards",colorScheme:"danger",css:Zt("$danger11")},{variant:"pills",colorScheme:"primary",css:Ja({color:"$primary11",bgColor:"$primary3",bgColorHover:"$primary4"})},{variant:"pills",colorScheme:"accent",css:Ja({color:"$accent11",bgColor:"$accent3",bgColorHover:"$accent4"})},{variant:"pills",colorScheme:"neutral",css:Ja({color:"$neutral12",bgColor:"$neutral3",bgColorHover:"$neutral4"})},{variant:"pills",colorScheme:"success",css:Ja({color:"$success11",bgColor:"$success3",bgColorHover:"$success4"})},{variant:"pills",colorScheme:"info",css:Ja({color:"$info11",bgColor:"$info3",bgColorHover:"$info4"})},{variant:"pills",colorScheme:"warning",css:Ja({color:"$warning11",bgColor:"$warning3",bgColorHover:"$warning4"})},{variant:"pills",colorScheme:"danger",css:Ja({color:"$danger11",bgColor:"$danger3",bgColorHover:"$danger4"})},{variant:"underline",orientation:"horizontal",css:{borderBottomWidth:"2px",marginBottom:"-1px"}},{variant:"underline",orientation:"vertical",css:{borderInlineEndWidth:"2px",marginInlineEnd:"-1px"}},{variant:"outline",orientation:"horizontal",css:{mb:"-1px",borderTopRadius:"$sm","&[aria-selected='true']":{borderBottomColor:"$loContrast"}}},{variant:"outline",orientation:"vertical",css:{marginInlineEnd:"-1px",borderStartRadius:"$radii$sm","&[aria-selected='true']":{borderInlineEndColor:"$colors$loContrast"}}},{variant:"cards",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px","&:not(:last-of-type)":{marginInlineEnd:"-1px"},"&[aria-selected='true']":{borderTopColor:"currentColor",borderBottomColor:"transparent"}}},{variant:"cards",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px","&:not(:last-of-type)":{mb:"-1px"},"&[aria-selected='true']":{borderInlineStartColor:"currentColor",borderInlineEndColor:"transparent"}}}]});Q({outline:"none",padding:"$4"});Q({marginInlineStart:"$2"});Q({marginInlineEnd:"$2"});Q({noOfLines:1});const ro=Q({appearance:"none",position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",outline:"none",border:"1px solid transparent",borderRadius:"$full",backgroundColor:"transparent",padding:"0",lineHeight:"$none",textDecoration:"none",color:"inherit",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms, opacity 250ms, box-shadow 250ms","&:focus":{outline:"none",boxShadow:"$outline"},"&:disabled":{border:"1px solid transparent",backgroundColor:"transparent",color:"$neutral3",cursor:"not-allowed"},variants:{size:{sm:{marginInlineStart:"0.35rem",marginInlineEnd:"-3px"},md:{marginInlineStart:"$1_5",marginInlineEnd:"calc(0.15rem * -1)"},lg:{marginInlineStart:"$1_5",marginInlineEnd:"calc($1 * -1)"}}}});function n0(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,lineHeight:e.lineHeight,["& .".concat(ro)]:{boxSize:e.closeButtonSize}}}function ei(e){return{backgroundColor:e.bgColor,color:e.color,["& .".concat(ro,":not(:disabled):hover")]:{backgroundColor:e.closeButtonBgColorHover}}}function ti(e){return{backgroundColor:e.bgColor,color:e.color,["& .".concat(ro,":not(:disabled):hover")]:{backgroundColor:e.closeButtonBgColorHover}}}function ni(e){return{borderColor:e.borderColor,color:e.color,["& .".concat(ro,":not(:disabled):hover")]:{backgroundColor:e.closeButtonBgColorHover}}}function r0(e){return{"&::before, &::after":{boxSize:e},"&::before":{marginRight:e},"&::after":{marginLeft:e}}}Q({display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"$full",fontWeight:"$medium",lineHeight:"$none",variants:{variant:{solid:{border:"1px solid transparent",color:"white"},subtle:{border:"1px solid transparent"},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent"},dot:{border:"1px solid $neutral7",backgroundColor:"transparent",color:"$neutral12","&::before, &::after":{content:"''",borderRadius:"$full"},"&::before":{display:"block"},"&::after":{display:"none"},["& .".concat(ro,":not(:disabled):hover")]:{backgroundColor:"$neutral4"},["& .".concat(ro,":not(:disabled):active")]:{backgroundColor:"$neutral5"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:n0({height:"$5",paddingX:"$2",fontSize:"$xs",lineHeight:"$4",closeButtonSize:"$4"}),md:n0({height:"$6",paddingX:"$2",fontSize:"$sm",lineHeight:"$5",closeButtonSize:"$5"}),lg:n0({height:"$8",paddingX:"$3",fontSize:"$base",lineHeight:"$6",closeButtonSize:"$6"})},dotPlacement:{start:{},end:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:ei({color:"white",bgColor:"$primary9",closeButtonBgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:ei({color:"white",bgColor:"$accent9",closeButtonBgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:ei({color:"white",bgColor:"$neutral9",closeButtonBgColorHover:"$neutral11"})},{variant:"solid",colorScheme:"success",css:ei({color:"white",bgColor:"$success9",closeButtonBgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:ei({color:"white",bgColor:"$info9",closeButtonBgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:ei({color:"$blackAlpha12",bgColor:"$warning9",closeButtonBgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:ei({color:"white",bgColor:"$danger9",closeButtonBgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:ti({color:"$primary11",bgColor:"$primary4",closeButtonBgColorHover:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:ti({color:"$accent11",bgColor:"$accent4",closeButtonBgColorHover:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:ti({color:"$neutral12",bgColor:"$neutral4",closeButtonBgColorHover:"$neutral7"})},{variant:"subtle",colorScheme:"success",css:ti({color:"$success11",bgColor:"$success4",closeButtonBgColorHover:"$success6"})},{variant:"subtle",colorScheme:"info",css:ti({color:"$info11",bgColor:"$info4",closeButtonBgColorHover:"$info6"})},{variant:"subtle",colorScheme:"warning",css:ti({color:"$warning11",bgColor:"$warning4",closeButtonBgColorHover:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:ti({color:"$danger11",bgColor:"$danger4",closeButtonBgColorHover:"$danger6"})},{variant:"outline",colorScheme:"primary",css:ni({color:"$primary11",borderColor:"$primary7",closeButtonBgColorHover:"$primary4"})},{variant:"outline",colorScheme:"accent",css:ni({color:"$accent11",borderColor:"$accent7",closeButtonBgColorHover:"$accent4"})},{variant:"outline",colorScheme:"neutral",css:ni({color:"$neutral12",borderColor:"$neutral7",closeButtonBgColorHover:"$neutral4"})},{variant:"outline",colorScheme:"success",css:ni({color:"$success11",borderColor:"$success7",closeButtonBgColorHover:"$success4"})},{variant:"outline",colorScheme:"info",css:ni({color:"$info11",borderColor:"$info7",closeButtonBgColorHover:"$info4"})},{variant:"outline",colorScheme:"warning",css:ni({color:"$warning11",borderColor:"$warning7",closeButtonBgColorHover:"$warning4"})},{variant:"outline",colorScheme:"danger",css:ni({color:"$danger11",borderColor:"$danger7",closeButtonBgColorHover:"$danger4"})},{variant:"dot",colorScheme:"primary",css:{"&::before, &::after":{backgroundColor:"$primary9"}}},{variant:"dot",colorScheme:"accent",css:{"&::before, &::after":{backgroundColor:"$accent9"}}},{variant:"dot",colorScheme:"neutral",css:{"&::before, &::after":{backgroundColor:"$neutral9"}}},{variant:"dot",colorScheme:"success",css:{"&::before, &::after":{backgroundColor:"$success9"}}},{variant:"dot",colorScheme:"info",css:{"&::before, &::after":{backgroundColor:"$info9"}}},{variant:"dot",colorScheme:"warning",css:{"&::before, &::after":{backgroundColor:"$warning9"}}},{variant:"dot",colorScheme:"danger",css:{"&::before, &::after":{backgroundColor:"$danger9"}}},{variant:"dot",size:"sm",css:r0("$1_5")},{variant:"dot",size:"md",css:r0("$2")},{variant:"dot",size:"lg",css:r0("$2_5")},{variant:"dot",dotPlacement:"start",css:{"&::before":{display:"block"},"&::after":{display:"none"}}},{variant:"dot",dotPlacement:"end",css:{"&::before":{display:"none"},"&::after":{display:"block"}}}]});const kb="hope-text";function gw(e){var t;const n=Ce().Text,r={size:(t=n==null?void 0:n.defaultProps)==null?void 0:t.size},a=X(r,e),[i,o]=fe(a,["class","size"]),s=()=>ce(i.class,kb,hx({size:i.size}));return w(Xe.p,X({get class(){return s()},get __baseStyle(){return n==null?void 0:n.baseStyle}},o))}gw.toString=()=>be(kb);function a0(e,t){return Object.entries({xs:t!=null?t:"$2",sm:t!=null?t:"$2_5",md:t!=null?t:"$3",lg:t!=null?t:"$4"}).map(([n,r])=>({variant:e,size:n,css:{px:r}}))}const mw=Q(Gd,{minHeight:"80px",py:"$2",compoundVariants:[...a0("outline"),...a0("filled"),...a0("unstyled",0)]}),Ob="hope-textarea";function xw(e){var t,n,r,a;const i=Ce().Textarea,o={variant:(n=(t=i==null?void 0:i.defaultProps)==null?void 0:t.variant)!=null?n:"outline",size:(a=(r=i==null?void 0:i.defaultProps)==null?void 0:r.size)!=null?a:"md"},s=X(o,e),[l,u]=fe(s,["class","variant","size"]),d=mo(e),p=()=>ce(l.class,Ob,mw({variant:l.variant,size:l.size}));return w(Be,X({as:"textarea",get class(){return p()},get __baseStyle(){return i==null?void 0:i.baseStyle}},d,u))}xw.toString=()=>be(Ob);const Ib="hope-tooltip",bw="hope-tooltip__arrow";function vw(e){var t,n,r,a,i,o,s,l,u,d,p,f,h,c,g,m,x,v;const y="hope-tooltip-".concat(or()),_=Ce().Tooltip,S={id:y,placement:(n=(t=_==null?void 0:_.defaultProps)==null?void 0:t.placement)!=null?n:"bottom",offset:(a=(r=_==null?void 0:_.defaultProps)==null?void 0:r.offset)!=null?a:8,withArrow:(o=(i=_==null?void 0:_.defaultProps)==null?void 0:i.withArrow)!=null?o:!1,arrowSize:(l=(s=_==null?void 0:_.defaultProps)==null?void 0:s.arrowSize)!=null?l:8,arrowPadding:(d=(u=_==null?void 0:_.defaultProps)==null?void 0:u.arrowPadding)!=null?d:8,openDelay:(f=(p=_==null?void 0:_.defaultProps)==null?void 0:p.openDelay)!=null?f:0,closeDelay:(c=(h=_==null?void 0:_.defaultProps)==null?void 0:h.closeDelay)!=null?c:0,closeOnClick:(m=(g=_==null?void 0:_.defaultProps)==null?void 0:g.closeOnClick)!=null?m:!0,closeOnMouseDown:(v=(x=_==null?void 0:_.defaultProps)==null?void 0:x.closeOnMouseDown)!=null?v:!1},C=X(S,e),[T,R]=fe(C,["class","children","id","label","opened","defaultOpened","inline","disabled","placement","offset","withArrow","arrowSize","arrowPadding","openDelay","closeDelay","closeOnClick","closeOnMouseDown","onOpen","onClose"]),[P,A]=Ie(!!T.defaultOpened),[I,$]=Ie(!1);let W,G,ae,ie;const Te=()=>T.opened!==void 0,te=()=>Te()?!!T.opened:P(),Fe=()=>ce(T.class,Ib,A4()),Oe=()=>ce(bw,k4());let O;const B=ba(()=>T.children),xe=Ue(()=>{let qe=B();for(;An(qe);)qe=qe();return qe});async function Pe(){var qe,fn,Kn;const Sr=xe();if(!Sr||!W)return;const Qt=[Qu(T.offset)];T.inline&&Qt.push(Vm()),Qt.push(Xu()),Qt.push(Zu()),T.withArrow&&G&&Qt.push(jm({element:G,padding:T.arrowPadding})),Qt.push(Wm());const{x:vn,y:Mn,placement:dn,middlewareData:On}=await nc(Sr,W,{placement:T.placement,middleware:Qt});if(!W)return;const sr=(qe=On.hide)==null?void 0:qe.referenceHidden;if(Object.assign(W.style,{left:"".concat(Math.round(vn),"px"),top:"".concat(Math.round(Mn),"px"),visibility:sr?"hidden":"visible"}),!G)return;const $r=(fn=On.arrow)==null?void 0:fn.x,J=(Kn=On.arrow)==null?void 0:Kn.y,j={top:"bottom",right:"left",bottom:"top",left:"right"}[dn.split("-")[0]],L="".concat(T.arrowSize?Math.round(T.arrowSize/2)*-1:-4,"px");Object.assign(G.style,{left:$r!=null?"".concat(Math.round($r),"px"):"",top:J!=null?"".concat(Math.round(J),"px"):"",right:"",bottom:"",[j]:L})}const ct=()=>{var qe;Te()||A(!0),(qe=T.onOpen)==null||qe.call(T),Pe()},nt=()=>{var qe;Te()||A(!1),(qe=T.onClose)==null||qe.call(T)},rt=()=>{T.disabled||(ae=window.setTimeout(ct,T.openDelay))},lt=()=>{ae&&window.clearTimeout(ae),ie=window.setTimeout(nt,T.closeDelay)},vt=()=>{T.closeOnClick&&lt()},se=()=>{T.closeOnMouseDown&&lt()},we=qe=>{te()&&qe.key==="Escape"&&lt()},Qe=()=>{const qe=xe();qe.addEventListener("mouseenter",rt),qe.addEventListener("focus",rt),qe.addEventListener("click",vt),qe.addEventListener("mousedown",se),qe.addEventListener("mouseleave",lt),qe.addEventListener("blur",lt)},pt=()=>{const qe=xe();qe.removeEventListener("mouseenter",rt),qe.removeEventListener("focus",rt),qe.removeEventListener("click",vt),qe.removeEventListener("mousedown",se),qe.removeEventListener("mouseleave",lt),qe.removeEventListener("blur",lt)},Dn=()=>{W&&(document.addEventListener("keydown",we),O=tc(xe(),W,Pe))},Er=()=>{document.removeEventListener("keydown",we),O==null||O(),$(!1)};return wn(()=>{Qe()}),wt(()=>{pt(),window.clearTimeout(ae),window.clearTimeout(ie)}),Kt(()=>{te()?($(!0),T.id&&xe().setAttribute("aria-describedby",T.id)):xe().removeAttribute("aria-describedby")}),[xe,w(Re,{get when(){return I()},get children(){return w(Ha,{get children(){return w(Ua,{get name(){return oi.scale},appear:!0,onBeforeEnter:Pe,onAfterEnter:Dn,onAfterExit:Er,get children(){return w(Re,{get when(){return te()},get children(){return w(Be,X({ref(qe){const fn=W;typeof fn=="function"?fn(qe):W=qe},role:"tooltip",get id(){return T.id},get class(){return Fe()},get __baseStyle(){return _==null?void 0:_.baseStyle}},R,{get children(){return[ir(()=>T.label),w(Re,{get when(){return T.withArrow},get children(){return w(Be,{ref(qe){const fn=G;typeof fn=="function"?fn(qe):G=qe},get class(){return Oe()},get boxSize(){return T.arrowSize}})}})]}}))}})}})}})}})]}vw.toString=()=>be(Ib);function _w(e={}){const t="disclosure-".concat(or()),[n,r]=Ie(e.defaultIsOpen||!1),a=()=>e.isOpen!==void 0,i=()=>a()?!!e.isOpen:n(),o=()=>{var p;a()||r(!1),(p=e.onClose)==null||p.call(e)},s=()=>{var p;a()||r(!0),(p=e.onOpen)==null||p.call(e)};return{isControlled:a,isOpen:i,onOpen:s,onClose:o,onToggle:()=>{i()?o():s()},triggerProps:()=>({"aria-expanded":i(),"aria-controls":t}),disclosureProps:()=>({id:t,hidden:!i()})}}var i0,Bh;function yw(){return Bh||(Bh=1,i0=function e(t,n){var r=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,i=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,o=/^0x[0-9a-f]+$/i,s=/^0/,l=function(y){return e.insensitive&&(""+y).toLowerCase()||""+y},u=l(t).replace(a,"")||"",d=l(n).replace(a,"")||"",p=u.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),f=d.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),h=parseInt(u.match(o),16)||p.length!==1&&u.match(i)&&Date.parse(u),c=parseInt(d.match(o),16)||h&&d.match(i)&&Date.parse(d)||null,g,m;if(c){if(h<c)return-1;if(h>c)return 1}for(var x=0,v=Math.max(p.length,f.length);x<v;x++){if(g=!(p[x]||"").match(s)&&parseFloat(p[x])||p[x]||0,m=!(f[x]||"").match(s)&&parseFloat(f[x])||f[x]||0,isNaN(g)!==isNaN(m))return isNaN(g)?1:-1;if(typeof g!=typeof m&&(g+="",m+=""),g<m)return-1;if(g>m)return 1}return 0}),i0}var Ew=yw();const Sw=fo(Ew);function Cw(e,t,n){if($e.context){const[r,a]=Ie(e,n);return wn(()=>a(()=>t())),[r,a]}return Ie(t(),n)}const Tw=Cw;function ww(e){const[t,n]=Ie(),r=e!=null&&e.throw?(f,h)=>{throw n(f instanceof Error?f:new Error(h)),f}:(f,h)=>{n(f instanceof Error?f:new Error(h))},a=e!=null&&e.api?Array.isArray(e.api)?e.api:[e.api]:[globalThis.localStorage].filter(Boolean),i=e!=null&&e.prefix?"".concat(e.prefix,"."):"",o=new Map,s=new Proxy({},{get(f,h){let c=o.get(h);c||(c=Ie(void 0,{equals:!1}),o.set(h,c)),c[0]();const g=a.reduce((m,x)=>{if(m!==null||!x)return m;try{return x.getItem("".concat(i).concat(h))}catch(v){return r(v,"Error reading ".concat(i).concat(h," from ").concat(x.name)),null}},null);return g!==null&&(e!=null&&e.deserializer)?e.deserializer(g,h,e.options):g}}),l=(f,h,c)=>{const g=e!=null&&e.serializer?e.serializer(h,f,c!=null?c:e.options):h,m="".concat(i).concat(f);a.forEach(v=>{try{v.getItem(m)!==g&&v.setItem(m,g)}catch(y){r(y,"Error setting ".concat(i).concat(f," to ").concat(g," in ").concat(v.name))}});const x=o.get(f);x&&x[1]()},u=f=>a.forEach(h=>{try{h.removeItem("".concat(i).concat(f))}catch(c){r(c,"Error removing ".concat(i).concat(f," from ").concat(h.name))}}),d=()=>a.forEach(f=>{try{f.clear()}catch(h){r(h,"Error clearing ".concat(f.name))}}),p=()=>{const f={},h=(c,g)=>{if(!f.hasOwnProperty(c)){const m=g&&(e!=null&&e.deserializer)?e.deserializer(g,c,e.options):g;m&&(f[c]=m)}};return a.forEach(c=>{if(typeof c.getAll=="function"){let g;try{g=c.getAll()}catch(m){r(m,"Error getting all values from in ".concat(c.name))}for(const m of g)h(m,g[m])}else{let g=0,m;try{for(;m=c.key(g++);)f.hasOwnProperty(m)||h(m,c.getItem(m))}catch(x){r(x,"Error getting all values from ".concat(c.name))}}}),f};return(e==null?void 0:e.sync)!==!1&&wn(()=>{const f=h=>{var g;let c=!1;a.forEach(m=>{try{m!==h.storageArea&&h.key&&h.newValue!==m.getItem(h.key)&&(h.newValue?m.setItem(h.key,h.newValue):m.removeItem(h.key),c=!0)}catch(x){r(x,"Error synching api ".concat(m.name," from storage event (").concat(h.key,"=").concat(h.newValue,")"))}}),c&&h.key&&((g=o.get(h.key))==null||g[1]())};"addEventListener"in globalThis?(globalThis.addEventListener("storage",f),wt(()=>globalThis.removeEventListener("storage",f))):(a.forEach(h=>{var c;return(c=h.addEventListener)==null?void 0:c.call(h,"storage",f)}),wt(()=>a.forEach(h=>{var c;return(c=h.removeEventListener)==null?void 0:c.call(h,"storage",f)})))}),[s,l,{clear:d,error:t,remove:u,toJSON:p}]}function Nb(e,t,n){const[r,a]=Ie(),i=n!=null&&n.api?Array.isArray(n.api)?n.api:[n.api]:[globalThis.localStorage].filter(Boolean),o=n!=null&&n.prefix?"".concat(n.prefix,"."):"",s=()=>i.reduce((p,f)=>{if(p!==null||!f)return p;let h=null;try{h=f.getItem("".concat(o).concat(e))}catch(c){if(a(c instanceof Error?c:new Error("Error reading ".concat(o).concat(e," from ").concat(f.name))),n!=null&&n.throw)throw c}return h!==null&&(n!=null&&n.deserializer)?n.deserializer(h+"",e,n.options):h},null),[l,u]=Tw(t,()=>{var p;return(p=s())!=null?p:t},n);Kt(()=>{const p=l(),f=n!=null&&n.serializer?n.serializer(p,e,n.options):p+"",h="".concat(o).concat(e);try{p===null?i.forEach(c=>c.getItem(h)!==null&&c.removeItem(h)):i.forEach(c=>c.getItem(h)!==f&&c.setItem(h,f,n==null?void 0:n.options))}catch(c){if(a(c instanceof Error?c:new Error("Error ".concat(p===null?"removing":"writing"," value"))),n!=null&&n.throw)throw c}});const d=()=>{const p=s();u(p)};return(n==null?void 0:n.sync)!==!1&&wn(()=>{const p=f=>{let h=!1;try{i.forEach(c=>{c!==f.storageArea&&f.key&&f.newValue!==c.getItem(f.key)&&(f.newValue?c.setItem(f.key,f.newValue):c.removeItem(f.key),h=!0)})}catch(c){if(a(c instanceof Error?c:new Error("Error synching api after event")),n!=null&&n.throw)throw c}h&&d()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",p),wt(()=>globalThis.removeEventListener("storage",p))):(i.forEach(f=>{var h;return(h=f.addEventListener)==null?void 0:h.call(f,"storage",p)}),wt(()=>i.forEach(f=>{var h;return(h=f.removeEventListener)==null?void 0:h.call(f,"storage",p)})))}),[Object.assign(l,{error:r}),u,d]}var Aw=ww,kw=e=>(typeof e.clear=="function"||(e.clear=()=>{let t;for(;t=e.key(0);)e.removeItem(t)}),e),Fh=e=>{if(!e)return"";let t="";for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];t+=r instanceof Date?"; ".concat(n,"=").concat(r.toUTCString()):typeof r=="boolean"?"; ".concat(n):"; ".concat(n,"=").concat(r)}return t},Ln=kw({_cookies:[globalThis.document,"cookie"],getItem:e=>{var t,n;return(n=(t=Ln._cookies[0][Ln._cookies[1]].match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)"))==null?void 0:t.pop())!=null?n:null},setItem:(e,t,n)=>{const r=Ln.getItem(e);Ln._cookies[0][Ln._cookies[1]]="".concat(e,"=").concat(t).concat(Fh(n));const a=Object.assign(new Event("storage"),{key:e,oldValue:r,newValue:t,url:globalThis.document.URL,storageArea:Ln});window.dispatchEvent(a)},removeItem:e=>{Ln._cookies[0][Ln._cookies[1]]="".concat(e,"=deleted").concat(Fh({expires:new Date(0)}))},key:e=>{let t=null,n=0;return Ln._cookies[0][Ln._cookies[1]].replace(/(?:^|;)\s*(.+?)\s*=\s*[^;]+/g,(r,a)=>(!t&&a&&n++===e&&(t=a),"")),t},get length(){let e=0;return Ln._cookies[0][Ln._cookies[1]].replace(/(?:^|;)\s*.+?\s*=\s*[^;]+/g,t=>(e+=t?1:0,"")),e}});let nr="";const Ow=e=>{nr=e,nr.startsWith("/")||(nr="/"+nr),nr.endsWith("/")&&(nr=nr.slice(0,-1))};window.OPENLIST_CONFIG.base_path&&Ow(window.OPENLIST_CONFIG.base_path);let Pr="/";window.OPENLIST_CONFIG.api&&(Pr=window.OPENLIST_CONFIG.api);Pr==="/"&&(Pr=location.origin+nr);Pr.endsWith("/")&&(Pr=Pr.slice(0,-1));function Iw(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(a){a(n)}),(r=e.get("*"))&&r.slice().map(function(a){a(t,n)})}}}const Vi=Iw(),Gi=(e,...t)=>{};var Nw=Bt("<div style=flex-grow:1;display:flex;align-items:center><div style=margin:auto>"),Lw=Bt("<div style=display:inline-block;padding:5px>");const Lu={render:e=>{Uo.show({render:t=>w(Be,{get css(){return{display:"flex",backdropFilter:"blur(8px)",backgroundColor:G8(),boxShadow:"$md",borderRadius:"$lg",padding:"$3"}},get children(){return[(()=>{var n=Nw(),r=n.firstChild;return ma(r,e),n})(),(()=>{var n=Lw();return ma(n,w(uc,{style:{float:"right"},right:"$2",top:"$2",get onClick(){return t.close}})),n})()]}})})},success:e=>{Uo.show({status:"success",title:ts(e)})},error:e=>{Uo.show({status:"danger",title:ts(e)})},info:e=>{Uo.show({status:"info",title:ts(e)})},warning:e=>{Uo.show({status:"warning",title:ts(e)})}},Rw=(e,t)=>(e.endsWith("/")&&(e=e.slice(0,-1)),e.startsWith("/")||(e="/"+e),e==="/"?"":e),Pw=(...e)=>new URL($a(...e),location.origin).pathname,$a=(...e)=>e.join("/").replace(/\/{2,}/g,"/"),ru=(...e)=>$a(nr,...e),Dw=e=>{const t=e.replace(nr,"");return t.startsWith("/")?t:"/"+t},VF=e=>e.split("/").pop(),rf=e=>e.split("/").slice(0,-1).join("/"),ss=(e,t)=>e.split("/").map(n=>t?encodeURIComponent(n):n.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23").replace(/ /g,"%20")).join("/"),Mw=e=>{var t;return(t=e.split(".").pop())!=null?t:""},GF=e=>e.split(".").slice(0,-1).join(".");function KF(e){const t=e.split("/").filter(Boolean),n=t.length;return r=>{const a=r.split("/").filter(Boolean);if(a.length-n<0)return null;let o=n?"":"/";for(let s=0;s<n;s++){const l=t[s],u=a[s];if(l.localeCompare(u,void 0,{sensitivity:"base"})!==0)return null;o+="/".concat(u)}return o}}const YF=e=>JSON.parse(JSON.stringify(e)),$h=e=>{const t=[];for(const n in e)t.push({key:n,value:e[n]});return t},Bw=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t.toLowerCase(),n!==null&&typeof n=="object"?Bw(n):n]));function Lb(e,t){return function(){return e.apply(t,arguments)}}const{toString:Fw}=Object.prototype,{getPrototypeOf:af}=Object,{iterator:bc,toStringTag:Rb}=Symbol,vc=(e=>t=>{const n=Fw.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Mr=e=>(e=e.toLowerCase(),t=>vc(t)===e),_c=e=>t=>typeof t===e,{isArray:xo}=Array,ao=_c("undefined");function js(e){return e!==null&&!ao(e)&&e.constructor!==null&&!ao(e.constructor)&&zn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Pb=Mr("ArrayBuffer");function $w(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Pb(e.buffer),t}const Hw=_c("string"),zn=_c("function"),Db=_c("number"),qs=e=>e!==null&&typeof e=="object",Uw=e=>e===!0||e===!1,au=e=>{if(vc(e)!=="object")return!1;const t=af(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Rb in e)&&!(bc in e)},zw=e=>{if(!qs(e)||js(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},jw=Mr("Date"),qw=Mr("File"),Ww=Mr("Blob"),Vw=Mr("FileList"),Gw=e=>qs(e)&&zn(e.pipe),Kw=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||zn(e.append)&&((t=vc(e))==="formdata"||t==="object"&&zn(e.toString)&&e.toString()==="[object FormData]"))},Yw=Mr("URLSearchParams"),[Xw,Qw,Zw,Jw]=["ReadableStream","Request","Response","Headers"].map(Mr),e7=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ws(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),xo(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{if(js(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let s;for(r=0;r<o;r++)s=i[r],t.call(null,e[s],s,e)}}function Mb(e,t){if(js(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const si=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Bb=e=>!ao(e)&&e!==si;function ld(){const{caseless:e,skipUndefined:t}=Bb(this)&&this||{},n={},r=(a,i)=>{const o=e&&Mb(n,i)||i;au(n[o])&&au(a)?n[o]=ld(n[o],a):au(a)?n[o]=ld({},a):xo(a)?n[o]=a.slice():(!t||!ao(a))&&(n[o]=a)};for(let a=0,i=arguments.length;a<i;a++)arguments[a]&&Ws(arguments[a],r);return n}const t7=(e,t,n,{allOwnKeys:r}={})=>(Ws(t,(a,i)=>{n&&zn(a)?e[i]=Lb(a,n):e[i]=a},{allOwnKeys:r}),e),n7=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),r7=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},a7=(e,t,n,r)=>{let a,i,o;const s={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)o=a[i],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&af(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},i7=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},o7=e=>{if(!e)return null;if(xo(e))return e;let t=e.length;if(!Db(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},s7=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&af(Uint8Array)),l7=(e,t)=>{const r=(e&&e[bc]).call(e);let a;for(;(a=r.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},u7=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},c7=Mr("HTMLFormElement"),d7=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),Hh=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),f7=Mr("RegExp"),Fb=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ws(n,(a,i)=>{let o;(o=t(a,i,e))!==!1&&(r[i]=o||a)}),Object.defineProperties(e,r)},h7=e=>{Fb(e,(t,n)=>{if(zn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(zn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},p7=(e,t)=>{const n={},r=a=>{a.forEach(i=>{n[i]=!0})};return xo(e)?r(e):r(String(e).split(t)),n},g7=()=>{},m7=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function x7(e){return!!(e&&zn(e.append)&&e[Rb]==="FormData"&&e[bc])}const b7=e=>{const t=new Array(10),n=(r,a)=>{if(qs(r)){if(t.indexOf(r)>=0)return;if(js(r))return r;if(!("toJSON"in r)){t[a]=r;const i=xo(r)?[]:{};return Ws(r,(o,s)=>{const l=n(o,a+1);!ao(l)&&(i[s]=l)}),t[a]=void 0,i}}return r};return n(e,0)},v7=Mr("AsyncFunction"),_7=e=>e&&(qs(e)||zn(e))&&zn(e.then)&&zn(e.catch),$b=((e,t)=>e?setImmediate:t?((n,r)=>(si.addEventListener("message",({source:a,data:i})=>{a===si&&i===n&&r.length&&r.shift()()},!1),a=>{r.push(a),si.postMessage(n,"*")}))("axios@".concat(Math.random()),[]):n=>setTimeout(n))(typeof setImmediate=="function",zn(si.postMessage)),y7=typeof queueMicrotask<"u"?queueMicrotask.bind(si):typeof process<"u"&&process.nextTick||$b,E7=e=>e!=null&&zn(e[bc]),K={isArray:xo,isArrayBuffer:Pb,isBuffer:js,isFormData:Kw,isArrayBufferView:$w,isString:Hw,isNumber:Db,isBoolean:Uw,isObject:qs,isPlainObject:au,isEmptyObject:zw,isReadableStream:Xw,isRequest:Qw,isResponse:Zw,isHeaders:Jw,isUndefined:ao,isDate:jw,isFile:qw,isBlob:Ww,isRegExp:f7,isFunction:zn,isStream:Gw,isURLSearchParams:Yw,isTypedArray:s7,isFileList:Vw,forEach:Ws,merge:ld,extend:t7,trim:e7,stripBOM:n7,inherits:r7,toFlatObject:a7,kindOf:vc,kindOfTest:Mr,endsWith:i7,toArray:o7,forEachEntry:l7,matchAll:u7,isHTMLForm:c7,hasOwnProperty:Hh,hasOwnProp:Hh,reduceDescriptors:Fb,freezeMethods:h7,toObjectSet:p7,toCamelCase:d7,noop:g7,toFiniteNumber:m7,findKey:Mb,global:si,isContextDefined:Bb,isSpecCompliantForm:x7,toJSONObject:b7,isAsyncFn:v7,isThenable:_7,setImmediate:$b,asap:y7,isIterable:E7};function Je(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a,this.status=a.status?a.status:null)}K.inherits(Je,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.status}}});const Hb=Je.prototype,Ub={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ub[e]={value:e}});Object.defineProperties(Je,Ub);Object.defineProperty(Hb,"isAxiosError",{value:!0});Je.from=(e,t,n,r,a,i)=>{const o=Object.create(Hb);K.toFlatObject(e,o,function(d){return d!==Error.prototype},u=>u!=="isAxiosError");const s=e&&e.message?e.message:"Error",l=t==null&&e?e.code:t;return Je.call(o,s,l,n,r,a),e&&o.cause==null&&Object.defineProperty(o,"cause",{value:e,configurable:!0}),o.name=e&&e.name||"Error",i&&Object.assign(o,i),o};const S7=null;function ud(e){return K.isPlainObject(e)||K.isArray(e)}function zb(e){return K.endsWith(e,"[]")?e.slice(0,-2):e}function Uh(e,t,n){return e?e.concat(t).map(function(a,i){return a=zb(a),!n&&i?"["+a+"]":a}).join(n?".":""):t}function C7(e){return K.isArray(e)&&!e.some(ud)}const T7=K.toFlatObject(K,{},null,function(t){return/^is[A-Z]/.test(t)});function yc(e,t,n){if(!K.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=K.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,m){return!K.isUndefined(m[g])});const r=n.metaTokens,a=n.visitor||d,i=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(t);if(!K.isFunction(a))throw new TypeError("visitor must be a function");function u(c){if(c===null)return"";if(K.isDate(c))return c.toISOString();if(K.isBoolean(c))return c.toString();if(!l&&K.isBlob(c))throw new Je("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(c)||K.isTypedArray(c)?l&&typeof Blob=="function"?new Blob([c]):Buffer.from(c):c}function d(c,g,m){let x=c;if(c&&!m&&typeof c=="object"){if(K.endsWith(g,"{}"))g=r?g:g.slice(0,-2),c=JSON.stringify(c);else if(K.isArray(c)&&C7(c)||(K.isFileList(c)||K.endsWith(g,"[]"))&&(x=K.toArray(c)))return g=zb(g),x.forEach(function(y,_){!(K.isUndefined(y)||y===null)&&t.append(o===!0?Uh([g],_,i):o===null?g:g+"[]",u(y))}),!1}return ud(c)?!0:(t.append(Uh(m,g,i),u(c)),!1)}const p=[],f=Object.assign(T7,{defaultVisitor:d,convertValue:u,isVisitable:ud});function h(c,g){if(!K.isUndefined(c)){if(p.indexOf(c)!==-1)throw Error("Circular reference detected in "+g.join("."));p.push(c),K.forEach(c,function(x,v){(!(K.isUndefined(x)||x===null)&&a.call(t,x,K.isString(v)?v.trim():v,g,f))===!0&&h(x,g?g.concat(v):[v])}),p.pop()}}if(!K.isObject(e))throw new TypeError("data must be an object");return h(e),t}function zh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function of(e,t){this._pairs=[],e&&yc(e,this,t)}const jb=of.prototype;jb.append=function(t,n){this._pairs.push([t,n])};jb.toString=function(t){const n=t?function(r){return t.call(this,r,zh)}:zh;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function w7(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function qb(e,t,n){if(!t)return e;const r=n&&n.encode||w7;K.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let i;if(a?i=a(t,n):i=K.isURLSearchParams(t)?t.toString():new of(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class jh{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){K.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Wb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},A7=typeof URLSearchParams<"u"?URLSearchParams:of,k7=typeof FormData<"u"?FormData:null,O7=typeof Blob<"u"?Blob:null,I7={isBrowser:!0,classes:{URLSearchParams:A7,FormData:k7,Blob:O7},protocols:["http","https","file","blob","url","data"]},sf=typeof window<"u"&&typeof document<"u",cd=typeof navigator=="object"&&navigator||void 0,N7=sf&&(!cd||["ReactNative","NativeScript","NS"].indexOf(cd.product)<0),L7=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",R7=sf&&window.location.href||"http://localhost",P7=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:sf,hasStandardBrowserEnv:N7,hasStandardBrowserWebWorkerEnv:L7,navigator:cd,origin:R7},Symbol.toStringTag,{value:"Module"})),Sn={...P7,...I7};function D7(e,t){return yc(e,new Sn.classes.URLSearchParams,{visitor:function(n,r,a,i){return Sn.isNode&&K.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function M7(e){return K.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function B7(e){const t={},n=Object.keys(e);let r;const a=n.length;let i;for(r=0;r<a;r++)i=n[r],t[i]=e[i];return t}function Vb(e){function t(n,r,a,i){let o=n[i++];if(o==="__proto__")return!0;const s=Number.isFinite(+o),l=i>=n.length;return o=!o&&K.isArray(a)?a.length:o,l?(K.hasOwnProp(a,o)?a[o]=[a[o],r]:a[o]=r,!s):((!a[o]||!K.isObject(a[o]))&&(a[o]=[]),t(n,r,a[o],i)&&K.isArray(a[o])&&(a[o]=B7(a[o])),!s)}if(K.isFormData(e)&&K.isFunction(e.entries)){const n={};return K.forEachEntry(e,(r,a)=>{t(M7(r),a,n,0)}),n}return null}function F7(e,t,n){if(K.isString(e))try{return(t||JSON.parse)(e),K.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Vs={transitional:Wb,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,i=K.isObject(t);if(i&&K.isHTMLForm(t)&&(t=new FormData(t)),K.isFormData(t))return a?JSON.stringify(Vb(t)):t;if(K.isArrayBuffer(t)||K.isBuffer(t)||K.isStream(t)||K.isFile(t)||K.isBlob(t)||K.isReadableStream(t))return t;if(K.isArrayBufferView(t))return t.buffer;if(K.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return D7(t,this.formSerializer).toString();if((s=K.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return yc(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||a?(n.setContentType("application/json",!1),F7(t)):t}],transformResponse:[function(t){const n=this.transitional||Vs.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(K.isResponse(t)||K.isReadableStream(t))return t;if(t&&K.isString(t)&&(r&&!this.responseType||a)){const o=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t,this.parseReviver)}catch(s){if(o)throw s.name==="SyntaxError"?Je.from(s,Je.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Sn.classes.FormData,Blob:Sn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],e=>{Vs.headers[e]={}});const $7=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),H7=e=>{const t={};let n,r,a;return e&&e.split("\n").forEach(function(o){a=o.indexOf(":"),n=o.substring(0,a).trim().toLowerCase(),r=o.substring(a+1).trim(),!(!n||t[n]&&$7[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},qh=Symbol("internals");function zo(e){return e&&String(e).trim().toLowerCase()}function iu(e){return e===!1||e==null?e:K.isArray(e)?e.map(iu):String(e)}function U7(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const z7=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function o0(e,t,n,r,a){if(K.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!K.isString(t)){if(K.isString(r))return t.indexOf(r)!==-1;if(K.isRegExp(r))return r.test(t)}}function j7(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function q7(e,t){const n=K.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,i,o){return this[r].call(this,t,a,i,o)},configurable:!0})})}let jn=class{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function i(s,l,u){const d=zo(l);if(!d)throw new Error("header name must be a non-empty string");const p=K.findKey(a,d);(!p||a[p]===void 0||u===!0||u===void 0&&a[p]!==!1)&&(a[p||l]=iu(s))}const o=(s,l)=>K.forEach(s,(u,d)=>i(u,d,l));if(K.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(K.isString(t)&&(t=t.trim())&&!z7(t))o(H7(t),n);else if(K.isObject(t)&&K.isIterable(t)){let s={},l,u;for(const d of t){if(!K.isArray(d))throw TypeError("Object iterator must return a key-value pair");s[u=d[0]]=(l=s[u])?K.isArray(l)?[...l,d[1]]:[l,d[1]]:d[1]}o(s,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=zo(t),t){const r=K.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return U7(a);if(K.isFunction(n))return n.call(this,a,r);if(K.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=zo(t),t){const r=K.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||o0(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function i(o){if(o=zo(o),o){const s=K.findKey(r,o);s&&(!n||o0(r,r[s],s,n))&&(delete r[s],a=!0)}}return K.isArray(t)?t.forEach(i):i(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const i=n[r];(!t||o0(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const n=this,r={};return K.forEach(this,(a,i)=>{const o=K.findKey(r,i);if(o){n[o]=iu(a),delete n[i];return}const s=t?j7(i):String(i).trim();s!==i&&delete n[i],n[s]=iu(a),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return K.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&K.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[qh]=this[qh]={accessors:{}}).accessors,a=this.prototype;function i(o){const s=zo(o);r[s]||(q7(a,o),r[s]=!0)}return K.isArray(t)?t.forEach(i):i(t),this}};jn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.reduceDescriptors(jn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});K.freezeMethods(jn);function s0(e,t){const n=this||Vs,r=t||n,a=jn.from(r.headers);let i=r.data;return K.forEach(e,function(s){i=s.call(n,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Gb(e){return!!(e&&e.__CANCEL__)}function bo(e,t,n){Je.call(this,e==null?"canceled":e,Je.ERR_CANCELED,t,n),this.name="CanceledError"}K.inherits(bo,Je,{__CANCEL__:!0});function Kb(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Je("Request failed with status code "+n.status,[Je.ERR_BAD_REQUEST,Je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function W7(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function V7(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[i];o||(o=u),n[a]=l,r[a]=u;let p=i,f=0;for(;p!==a;)f+=n[p++],p=p%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),u-o<t)return;const h=d&&u-d;return h?Math.round(f*1e3/h):void 0}}function G7(e,t){let n=0,r=1e3/t,a,i;const o=(u,d=Date.now())=>{n=d,a=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const d=Date.now(),p=d-n;p>=r?o(u,d):(a=u,i||(i=setTimeout(()=>{i=null,o(a)},r-p)))},()=>a&&o(a)]}const Ru=(e,t,n=3)=>{let r=0;const a=V7(50,250);return G7(i=>{const o=i.loaded,s=i.lengthComputable?i.total:void 0,l=o-r,u=a(l),d=o<=s;r=o;const p={loaded:o,total:s,progress:s?o/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&d?(s-o)/u:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(p)},n)},Wh=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Vh=e=>(...t)=>K.asap(()=>e(...t)),K7=Sn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Sn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Sn.origin),Sn.navigator&&/(msie|trident)/i.test(Sn.navigator.userAgent)):()=>!0,Y7=Sn.hasStandardBrowserEnv?{write(e,t,n,r,a,i,o){if(typeof document>"u")return;const s=["".concat(e,"=").concat(encodeURIComponent(t))];K.isNumber(n)&&s.push("expires=".concat(new Date(n).toUTCString())),K.isString(r)&&s.push("path=".concat(r)),K.isString(a)&&s.push("domain=".concat(a)),i===!0&&s.push("secure"),K.isString(o)&&s.push("SameSite=".concat(o)),document.cookie=s.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function X7(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Q7(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Yb(e,t,n){let r=!X7(t);return e&&(r||n==!1)?Q7(e,t):t}const Gh=e=>e instanceof jn?{...e}:e;function bi(e,t){t=t||{};const n={};function r(u,d,p,f){return K.isPlainObject(u)&&K.isPlainObject(d)?K.merge.call({caseless:f},u,d):K.isPlainObject(d)?K.merge({},d):K.isArray(d)?d.slice():d}function a(u,d,p,f){if(K.isUndefined(d)){if(!K.isUndefined(u))return r(void 0,u,p,f)}else return r(u,d,p,f)}function i(u,d){if(!K.isUndefined(d))return r(void 0,d)}function o(u,d){if(K.isUndefined(d)){if(!K.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function s(u,d,p){if(p in t)return r(u,d);if(p in e)return r(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(u,d,p)=>a(Gh(u),Gh(d),p,!0)};return K.forEach(Object.keys({...e,...t}),function(d){const p=l[d]||a,f=p(e[d],t[d],d);K.isUndefined(f)&&p!==s||(n[d]=f)}),n}const Xb=e=>{const t=bi({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:i,headers:o,auth:s}=t;if(t.headers=o=jn.from(o),t.url=qb(Yb(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),K.isFormData(n)){if(Sn.hasStandardBrowserEnv||Sn.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(K.isFunction(n.getHeaders)){const l=n.getHeaders(),u=["content-type","content-length"];Object.entries(l).forEach(([d,p])=>{u.includes(d.toLowerCase())&&o.set(d,p)})}}if(Sn.hasStandardBrowserEnv&&(r&&K.isFunction(r)&&(r=r(t)),r||r!==!1&&K7(t.url))){const l=a&&i&&Y7.read(i);l&&o.set(a,l)}return t},Z7=typeof XMLHttpRequest<"u",J7=Z7&&function(e){return new Promise(function(n,r){const a=Xb(e);let i=a.data;const o=jn.from(a.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=a,d,p,f,h,c;function g(){h&&h(),c&&c(),a.cancelToken&&a.cancelToken.unsubscribe(d),a.signal&&a.signal.removeEventListener("abort",d)}let m=new XMLHttpRequest;m.open(a.method.toUpperCase(),a.url,!0),m.timeout=a.timeout;function x(){if(!m)return;const y=jn.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),S={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:y,config:e,request:m};Kb(function(T){n(T),g()},function(T){r(T),g()},S),m=null}"onloadend"in m?m.onloadend=x:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(x)},m.onabort=function(){m&&(r(new Je("Request aborted",Je.ECONNABORTED,e,m)),m=null)},m.onerror=function(_){const S=_&&_.message?_.message:"Network Error",C=new Je(S,Je.ERR_NETWORK,e,m);C.event=_||null,r(C),m=null},m.ontimeout=function(){let _=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const S=a.transitional||Wb;a.timeoutErrorMessage&&(_=a.timeoutErrorMessage),r(new Je(_,S.clarifyTimeoutError?Je.ETIMEDOUT:Je.ECONNABORTED,e,m)),m=null},i===void 0&&o.setContentType(null),"setRequestHeader"in m&&K.forEach(o.toJSON(),function(_,S){m.setRequestHeader(S,_)}),K.isUndefined(a.withCredentials)||(m.withCredentials=!!a.withCredentials),s&&s!=="json"&&(m.responseType=a.responseType),u&&([f,c]=Ru(u,!0),m.addEventListener("progress",f)),l&&m.upload&&([p,h]=Ru(l),m.upload.addEventListener("progress",p),m.upload.addEventListener("loadend",h)),(a.cancelToken||a.signal)&&(d=y=>{m&&(r(!y||y.type?new bo(null,e,m):y),m.abort(),m=null)},a.cancelToken&&a.cancelToken.subscribe(d),a.signal&&(a.signal.aborted?d():a.signal.addEventListener("abort",d)));const v=W7(a.url);if(v&&Sn.protocols.indexOf(v)===-1){r(new Je("Unsupported protocol "+v+":",Je.ERR_BAD_REQUEST,e));return}m.send(i||null)})},e8=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,a;const i=function(u){if(!a){a=!0,s();const d=u instanceof Error?u:this.reason;r.abort(d instanceof Je?d:new bo(d instanceof Error?d.message:d))}};let o=t&&setTimeout(()=>{o=null,i(new Je("timeout ".concat(t," of ms exceeded"),Je.ETIMEDOUT))},t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:l}=r;return l.unsubscribe=()=>K.asap(s),l}},t8=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,a;for(;r<n;)a=r+t,yield e.slice(r,a),r=a},n8=async function*(e,t){for await(const n of r8(e))yield*t8(n,t)},r8=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Kh=(e,t,n,r)=>{const a=n8(e,t);let i=0,o,s=l=>{o||(o=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:d}=await a.next();if(u){s(),l.close();return}let p=d.byteLength;if(n){let f=i+=p;n(f)}l.enqueue(new Uint8Array(d))}catch(u){throw s(u),u}},cancel(l){return s(l),a.return()}},{highWaterMark:2})},Yh=64*1024,{isFunction:xl}=K,a8=(({Request:e,Response:t})=>({Request:e,Response:t}))(K.global),{ReadableStream:Xh,TextEncoder:Qh}=K.global,Zh=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},i8=e=>{e=K.merge.call({skipUndefined:!0},a8,e);const{fetch:t,Request:n,Response:r}=e,a=t?xl(t):typeof fetch=="function",i=xl(n),o=xl(r);if(!a)return!1;const s=a&&xl(Xh),l=a&&(typeof Qh=="function"?(c=>g=>c.encode(g))(new Qh):async c=>new Uint8Array(await new n(c).arrayBuffer())),u=i&&s&&Zh(()=>{let c=!1;const g=new n(Sn.origin,{body:new Xh,method:"POST",get duplex(){return c=!0,"half"}}).headers.has("Content-Type");return c&&!g}),d=o&&s&&Zh(()=>K.isReadableStream(new r("").body)),p={stream:d&&(c=>c.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(c=>{!p[c]&&(p[c]=(g,m)=>{let x=g&&g[c];if(x)return x.call(g);throw new Je("Response type '".concat(c,"' is not supported"),Je.ERR_NOT_SUPPORT,m)})});const f=async c=>{if(c==null)return 0;if(K.isBlob(c))return c.size;if(K.isSpecCompliantForm(c))return(await new n(Sn.origin,{method:"POST",body:c}).arrayBuffer()).byteLength;if(K.isArrayBufferView(c)||K.isArrayBuffer(c))return c.byteLength;if(K.isURLSearchParams(c)&&(c=c+""),K.isString(c))return(await l(c)).byteLength},h=async(c,g)=>{const m=K.toFiniteNumber(c.getContentLength());return m==null?f(g):m};return async c=>{let{url:g,method:m,data:x,signal:v,cancelToken:y,timeout:_,onDownloadProgress:S,onUploadProgress:C,responseType:T,headers:R,withCredentials:P="same-origin",fetchOptions:A}=Xb(c),I=t||fetch;T=T?(T+"").toLowerCase():"text";let $=e8([v,y&&y.toAbortSignal()],_),W=null;const G=$&&$.unsubscribe&&(()=>{$.unsubscribe()});let ae;try{if(C&&u&&m!=="get"&&m!=="head"&&(ae=await h(R,x))!==0){let O=new n(g,{method:"POST",body:x,duplex:"half"}),B;if(K.isFormData(x)&&(B=O.headers.get("content-type"))&&R.setContentType(B),O.body){const[xe,Pe]=Wh(ae,Ru(Vh(C)));x=Kh(O.body,Yh,xe,Pe)}}K.isString(P)||(P=P?"include":"omit");const ie=i&&"credentials"in n.prototype,Te={...A,signal:$,method:m.toUpperCase(),headers:R.normalize().toJSON(),body:x,duplex:"half",credentials:ie?P:void 0};W=i&&new n(g,Te);let te=await(i?I(W,A):I(g,Te));const Fe=d&&(T==="stream"||T==="response");if(d&&(S||Fe&&G)){const O={};["status","statusText","headers"].forEach(ct=>{O[ct]=te[ct]});const B=K.toFiniteNumber(te.headers.get("content-length")),[xe,Pe]=S&&Wh(B,Ru(Vh(S),!0))||[];te=new r(Kh(te.body,Yh,xe,()=>{Pe&&Pe(),G&&G()}),O)}T=T||"text";let Oe=await p[K.findKey(p,T)||"text"](te,c);return!Fe&&G&&G(),await new Promise((O,B)=>{Kb(O,B,{data:Oe,headers:jn.from(te.headers),status:te.status,statusText:te.statusText,config:c,request:W})})}catch(ie){throw G&&G(),ie&&ie.name==="TypeError"&&/Load failed|fetch/i.test(ie.message)?Object.assign(new Je("Network Error",Je.ERR_NETWORK,c,W),{cause:ie.cause||ie}):Je.from(ie,ie&&ie.code,c,W)}}},o8=new Map,Qb=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:a}=t,i=[r,a,n];let o=i.length,s=o,l,u,d=o8;for(;s--;)l=i[s],u=d.get(l),u===void 0&&d.set(l,u=s?new Map:i8(t)),d=u;return u};Qb();const lf={http:S7,xhr:J7,fetch:{get:Qb}};K.forEach(lf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}});const Jh=e=>"- ".concat(e),s8=e=>K.isFunction(e)||e===null||e===!1;function l8(e,t){e=K.isArray(e)?e:[e];const{length:n}=e;let r,a;const i={};for(let o=0;o<n;o++){r=e[o];let s;if(a=r,!s8(r)&&(a=lf[(s=String(r)).toLowerCase()],a===void 0))throw new Je("Unknown adapter '".concat(s,"'"));if(a&&(K.isFunction(a)||(a=a.get(t))))break;i[s||"#"+o]=a}if(!a){const o=Object.entries(i).map(([l,u])=>"adapter ".concat(l," ")+(u===!1?"is not supported by the environment":"is not available in the build"));let s=n?o.length>1?"since :\n"+o.map(Jh).join("\n"):" "+Jh(o[0]):"as no adapter specified";throw new Je("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return a}const Zb={getAdapter:l8,adapters:lf};function l0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new bo(null,e)}function ep(e){return l0(e),e.headers=jn.from(e.headers),e.data=s0.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Zb.getAdapter(e.adapter||Vs.adapter,e)(e).then(function(r){return l0(e),r.data=s0.call(e,e.transformResponse,r),r.headers=jn.from(r.headers),r},function(r){return Gb(r)||(l0(e),r&&r.response&&(r.response.data=s0.call(e,e.transformResponse,r.response),r.response.headers=jn.from(r.response.headers))),Promise.reject(r)})}const Jb="1.13.2",Ec={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ec[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const tp={};Ec.transitional=function(t,n,r){function a(i,o){return"[Axios v"+Jb+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,s)=>{if(t===!1)throw new Je(a(o," has been removed"+(n?" in "+n:"")),Je.ERR_DEPRECATED);return n&&!tp[o]&&(tp[o]=!0,console.warn(a(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,s):!0}};Ec.spelling=function(t){return(n,r)=>(console.warn("".concat(r," is likely a misspelling of ").concat(t)),!0)};function u8(e,t,n){if(typeof e!="object")throw new Je("options must be an object",Je.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const i=r[a],o=t[i];if(o){const s=e[i],l=s===void 0||o(s,i,e);if(l!==!0)throw new Je("option "+i+" must be "+l,Je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Je("Unknown option "+i,Je.ERR_BAD_OPTION)}}const ou={assertOptions:u8,validators:Ec},jr=ou.validators;let fi=class{constructor(t){this.defaults=t||{},this.interceptors={request:new jh,response:new jh}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+i):r.stack=i}catch(o){}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=bi(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:i}=n;r!==void 0&&ou.assertOptions(r,{silentJSONParsing:jr.transitional(jr.boolean),forcedJSONParsing:jr.transitional(jr.boolean),clarifyTimeoutError:jr.transitional(jr.boolean)},!1),a!=null&&(K.isFunction(a)?n.paramsSerializer={serialize:a}:ou.assertOptions(a,{encode:jr.function,serialize:jr.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ou.assertOptions(n,{baseUrl:jr.spelling("baseURL"),withXsrfToken:jr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&K.merge(i.common,i[n.method]);i&&K.forEach(["delete","get","head","post","put","patch","common"],c=>{delete i[c]}),n.headers=jn.concat(o,i);const s=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let d,p=0,f;if(!l){const c=[ep.bind(this),void 0];for(c.unshift(...s),c.push(...u),f=c.length,d=Promise.resolve(n);p<f;)d=d.then(c[p++],c[p++]);return d}f=s.length;let h=n;for(;p<f;){const c=s[p++],g=s[p++];try{h=c(h)}catch(m){g.call(this,m);break}}try{d=ep.call(this,h)}catch(c){return Promise.reject(c)}for(p=0,f=u.length;p<f;)d=d.then(u[p++],u[p++]);return d}getUri(t){t=bi(this.defaults,t);const n=Yb(t.baseURL,t.url,t.allowAbsoluteUrls);return qb(n,t.params,t.paramsSerializer)}};K.forEach(["delete","get","head","options"],function(t){fi.prototype[t]=function(n,r){return this.request(bi(r||{},{method:t,url:n,data:(r||{}).data}))}});K.forEach(["post","put","patch"],function(t){function n(r){return function(i,o,s){return this.request(bi(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}fi.prototype[t]=n(),fi.prototype[t+"Form"]=n(!0)});let c8=class e6{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(a=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](a);r._listeners=null}),this.promise.then=a=>{let i;const o=new Promise(s=>{r.subscribe(s),i=s}).then(a);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,s){r.reason||(r.reason=new bo(i,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new e6(function(a){t=a}),cancel:t}}};function d8(e){return function(n){return e.apply(null,n)}}function f8(e){return K.isObject(e)&&e.isAxiosError===!0}const dd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(dd).forEach(([e,t])=>{dd[t]=e});function t6(e){const t=new fi(e),n=Lb(fi.prototype.request,t);return K.extend(n,fi.prototype,t,{allOwnKeys:!0}),K.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return t6(bi(e,a))},n}const Ut=t6(Vs);Ut.Axios=fi;Ut.CanceledError=bo;Ut.CancelToken=c8;Ut.isCancel=Gb;Ut.VERSION=Jb;Ut.toFormData=yc;Ut.AxiosError=Je;Ut.Cancel=Ut.CanceledError;Ut.all=function(t){return Promise.all(t)};Ut.spread=d8;Ut.isAxiosError=f8;Ut.mergeConfig=bi;Ut.AxiosHeaders=jn;Ut.formToJSON=e=>Vb(K.isHTMLForm(e)?new FormData(e):e);Ut.getAdapter=Zb.getAdapter;Ut.HttpStatusCode=dd;Ut.default=Ut;const{Axios:ZF,AxiosError:JF,CanceledError:e$,isCancel:t$,CancelToken:n$,VERSION:r$,all:a$,Cancel:i$,isAxiosError:o$,spread:s$,toFormData:l$,AxiosHeaders:u$,HttpStatusCode:c$,formToJSON:d$,getAdapter:f$,mergeConfig:h$}=Ut,Nt=Ut.create({baseURL:Pr+"/api",headers:{"Content-Type":"application/json;charset=utf-8"},withCredentials:!1});Nt.interceptors.request.use(e=>e,e=>(console.log("Error: "+e.message),Promise.reject(e)));Nt.interceptors.response.use(e=>{const t=e.data;return Gi(),t},e=>{var t;return console.error(e),{code:Ut.isCancel(e)?-1:(t=e.response)==null?void 0:t.status,message:e.message}});Nt.defaults.headers.common.Authorization=localStorage.getItem("token")||"";const p$=e=>{Nt.defaults.headers.common.Authorization=e!=null?e:"",localStorage.setItem("token",e!=null?e:"")};var bl={exports:{}},vl={exports:{}},Or={},Fn={},np;function Vn(){if(np)return Fn;np=1,Fn.__esModule=!0,Fn.extend=a,Fn.indexOf=l,Fn.escapeExpression=u,Fn.isEmpty=d,Fn.createFrame=p,Fn.blockParams=f,Fn.appendContextPath=h;var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},t=/[&<>"'`=]/g,n=/[&<>"'`=]/;function r(c){return e[c]}function a(c){for(var g=1;g<arguments.length;g++)for(var m in arguments[g])Object.prototype.hasOwnProperty.call(arguments[g],m)&&(c[m]=arguments[g][m]);return c}var i=Object.prototype.toString;Fn.toString=i;var o=function(g){return typeof g=="function"};o(/x/)&&(Fn.isFunction=o=function(c){return typeof c=="function"&&i.call(c)==="[object Function]"}),Fn.isFunction=o;var s=Array.isArray||function(c){return c&&typeof c=="object"?i.call(c)==="[object Array]":!1};Fn.isArray=s;function l(c,g){for(var m=0,x=c.length;m<x;m++)if(c[m]===g)return m;return-1}function u(c){if(typeof c!="string"){if(c&&c.toHTML)return c.toHTML();if(c==null)return"";if(!c)return c+"";c=""+c}return n.test(c)?c.replace(t,r):c}function d(c){return!c&&c!==0?!0:!!(s(c)&&c.length===0)}function p(c){var g=a({},c);return g._parent=c,g}function f(c,g){return c.path=g,c}function h(c,g){return(c?c+".":"")+g}return Fn}var _l={exports:{}},rp;function Br(){return rp||(rp=1,(function(e,t){t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function r(a,i){var o=i&&i.loc,s=void 0,l=void 0,u=void 0,d=void 0;o&&(s=o.start.line,l=o.end.line,u=o.start.column,d=o.end.column,a+=" - "+s+":"+u);for(var p=Error.prototype.constructor.call(this,a),f=0;f<n.length;f++)this[n[f]]=p[n[f]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{o&&(this.lineNumber=s,this.endLineNumber=l,Object.defineProperty?(Object.defineProperty(this,"column",{value:u,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:d,enumerable:!0})):(this.column=u,this.endColumn=d))}catch(h){}}r.prototype=new Error,t.default=r,e.exports=t.default})(_l,_l.exports)),_l.exports}var jo={},yl={exports:{}},ap;function h8(){return ap||(ap=1,(function(e,t){t.__esModule=!0;var n=Vn();t.default=function(r){r.registerHelper("blockHelperMissing",function(a,i){var o=i.inverse,s=i.fn;if(a===!0)return s(this);if(a===!1||a==null)return o(this);if(n.isArray(a))return a.length>0?(i.ids&&(i.ids=[i.name]),r.helpers.each(a,i)):o(this);if(i.data&&i.ids){var l=n.createFrame(i.data);l.contextPath=n.appendContextPath(i.data.contextPath,i.name),i={data:l}}return s(a,i)})},e.exports=t.default})(yl,yl.exports)),yl.exports}var El={exports:{}},ip;function p8(){return ip||(ip=1,(function(e,t){t.__esModule=!0;function n(o){return o&&o.__esModule?o:{default:o}}var r=Vn(),a=Br(),i=n(a);t.default=function(o){o.registerHelper("each",function(s,l){if(!l)throw new i.default("Must pass iterator to #each");var u=l.fn,d=l.inverse,p=0,f="",h=void 0,c=void 0;l.data&&l.ids&&(c=r.appendContextPath(l.data.contextPath,l.ids[0])+"."),r.isFunction(s)&&(s=s.call(this)),l.data&&(h=r.createFrame(l.data));function g(_,S,C){h&&(h.key=_,h.index=S,h.first=S===0,h.last=!!C,c&&(h.contextPath=c+_)),f=f+u(s[_],{data:h,blockParams:r.blockParams([s[_],_],[c+_,null])})}if(s&&typeof s=="object")if(r.isArray(s))for(var m=s.length;p<m;p++)p in s&&g(p,p,p===s.length-1);else if(typeof Symbol=="function"&&s[Symbol.iterator]){for(var x=[],v=s[Symbol.iterator](),y=v.next();!y.done;y=v.next())x.push(y.value);s=x;for(var m=s.length;p<m;p++)g(p,p,p===s.length-1)}else(function(){var _=void 0;Object.keys(s).forEach(function(S){_!==void 0&&g(_,p-1),_=S,p++}),_!==void 0&&g(_,p-1,!0)})();return p===0&&(f=d(this)),f})},e.exports=t.default})(El,El.exports)),El.exports}var Sl={exports:{}},op;function g8(){return op||(op=1,(function(e,t){t.__esModule=!0;function n(i){return i&&i.__esModule?i:{default:i}}var r=Br(),a=n(r);t.default=function(i){i.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new a.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default})(Sl,Sl.exports)),Sl.exports}var Cl={exports:{}},sp;function m8(){return sp||(sp=1,(function(e,t){t.__esModule=!0;function n(o){return o&&o.__esModule?o:{default:o}}var r=Vn(),a=Br(),i=n(a);t.default=function(o){o.registerHelper("if",function(s,l){if(arguments.length!=2)throw new i.default("#if requires exactly one argument");return r.isFunction(s)&&(s=s.call(this)),!l.hash.includeZero&&!s||r.isEmpty(s)?l.inverse(this):l.fn(this)}),o.registerHelper("unless",function(s,l){if(arguments.length!=2)throw new i.default("#unless requires exactly one argument");return o.helpers.if.call(this,s,{fn:l.inverse,inverse:l.fn,hash:l.hash})})},e.exports=t.default})(Cl,Cl.exports)),Cl.exports}var Tl={exports:{}},lp;function x8(){return lp||(lp=1,(function(e,t){t.__esModule=!0,t.default=function(n){n.registerHelper("log",function(){for(var r=[void 0],a=arguments[arguments.length-1],i=0;i<arguments.length-1;i++)r.push(arguments[i]);var o=1;a.hash.level!=null?o=a.hash.level:a.data&&a.data.level!=null&&(o=a.data.level),r[0]=o,n.log.apply(n,r)})},e.exports=t.default})(Tl,Tl.exports)),Tl.exports}var wl={exports:{}},up;function b8(){return up||(up=1,(function(e,t){t.__esModule=!0,t.default=function(n){n.registerHelper("lookup",function(r,a,i){return r&&i.lookupProperty(r,a)})},e.exports=t.default})(wl,wl.exports)),wl.exports}var Al={exports:{}},cp;function v8(){return cp||(cp=1,(function(e,t){t.__esModule=!0;function n(o){return o&&o.__esModule?o:{default:o}}var r=Vn(),a=Br(),i=n(a);t.default=function(o){o.registerHelper("with",function(s,l){if(arguments.length!=2)throw new i.default("#with requires exactly one argument");r.isFunction(s)&&(s=s.call(this));var u=l.fn;if(r.isEmpty(s))return l.inverse(this);var d=l.data;return l.data&&l.ids&&(d=r.createFrame(l.data),d.contextPath=r.appendContextPath(l.data.contextPath,l.ids[0])),u(s,{data:d,blockParams:r.blockParams([s],[d&&d.contextPath])})})},e.exports=t.default})(Al,Al.exports)),Al.exports}var dp;function n6(){if(dp)return jo;dp=1,jo.__esModule=!0,jo.registerDefaultHelpers=g,jo.moveHelperToHooks=m;function e(x){return x&&x.__esModule?x:{default:x}}var t=h8(),n=e(t),r=p8(),a=e(r),i=g8(),o=e(i),s=m8(),l=e(s),u=x8(),d=e(u),p=b8(),f=e(p),h=v8(),c=e(h);function g(x){n.default(x),a.default(x),o.default(x),l.default(x),d.default(x),f.default(x),c.default(x)}function m(x,v,y){x.helpers[v]&&(x.hooks[v]=x.helpers[v],y||delete x.helpers[v])}return jo}var kl={},Ol={exports:{}},fp;function _8(){return fp||(fp=1,(function(e,t){t.__esModule=!0;var n=Vn();t.default=function(r){r.registerDecorator("inline",function(a,i,o,s){var l=a;return i.partials||(i.partials={},l=function(u,d){var p=o.partials;o.partials=n.extend({},p,i.partials);var f=a(u,d);return o.partials=p,f}),i.partials[s.args[0]]=s.fn,l})},e.exports=t.default})(Ol,Ol.exports)),Ol.exports}var hp;function y8(){if(hp)return kl;hp=1,kl.__esModule=!0,kl.registerDefaultDecorators=r;function e(a){return a&&a.__esModule?a:{default:a}}var t=_8(),n=e(t);function r(a){n.default(a)}return kl}var Il={exports:{}},pp;function r6(){return pp||(pp=1,(function(e,t){t.__esModule=!0;var n=Vn(),r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(i){if(typeof i=="string"){var o=n.indexOf(r.methodMap,i.toLowerCase());o>=0?i=o:i=parseInt(i,10)}return i},log:function(i){if(i=r.lookupLevel(i),typeof console<"u"&&r.lookupLevel(r.level)<=i){var o=r.methodMap[i];console[o]||(o="log");for(var s=arguments.length,l=Array(s>1?s-1:0),u=1;u<s;u++)l[u-1]=arguments[u];console[o].apply(console,l)}}};t.default=r,e.exports=t.default})(Il,Il.exports)),Il.exports}var Li={},Nl={},gp;function E8(){if(gp)return Nl;gp=1,Nl.__esModule=!0,Nl.createNewLookupObject=t;var e=Vn();function t(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return e.extend.apply(void 0,[Object.create(null)].concat(r))}return Nl}var mp;function a6(){if(mp)return Li;mp=1,Li.__esModule=!0,Li.createProtoAccessControl=i,Li.resultIsAllowed=o,Li.resetLoggedProperties=u;function e(d){return d&&d.__esModule?d:{default:d}}var t=E8(),n=r6(),r=e(n),a=Object.create(null);function i(d){var p=Object.create(null);p.constructor=!1,p.__defineGetter__=!1,p.__defineSetter__=!1,p.__lookupGetter__=!1;var f=Object.create(null);return f.__proto__=!1,{properties:{whitelist:t.createNewLookupObject(f,d.allowedProtoProperties),defaultValue:d.allowProtoPropertiesByDefault},methods:{whitelist:t.createNewLookupObject(p,d.allowedProtoMethods),defaultValue:d.allowProtoMethodsByDefault}}}function o(d,p,f){return s(typeof d=="function"?p.methods:p.properties,f)}function s(d,p){return d.whitelist[p]!==void 0?d.whitelist[p]===!0:d.defaultValue!==void 0?d.defaultValue:(l(p),!1)}function l(d){a[d]!==!0&&(a[d]=!0,r.default.log("error",'Handlebars: Access has been denied to resolve the property "'+d+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}function u(){Object.keys(a).forEach(function(d){delete a[d]})}return Li}var xp;function uf(){if(xp)return Or;xp=1,Or.__esModule=!0,Or.HandlebarsEnvironment=c;function e(m){return m&&m.__esModule?m:{default:m}}var t=Vn(),n=Br(),r=e(n),a=n6(),i=y8(),o=r6(),s=e(o),l=a6(),u="4.7.8";Or.VERSION=u;var d=8;Or.COMPILER_REVISION=d;var p=7;Or.LAST_COMPATIBLE_COMPILER_REVISION=p;var f={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};Or.REVISION_CHANGES=f;var h="[object Object]";function c(m,x,v){this.helpers=m||{},this.partials=x||{},this.decorators=v||{},a.registerDefaultHelpers(this),i.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:s.default,log:s.default.log,registerHelper:function(x,v){if(t.toString.call(x)===h){if(v)throw new r.default("Arg not supported with multiple helpers");t.extend(this.helpers,x)}else this.helpers[x]=v},unregisterHelper:function(x){delete this.helpers[x]},registerPartial:function(x,v){if(t.toString.call(x)===h)t.extend(this.partials,x);else{if(typeof v>"u")throw new r.default('Attempting to register a partial called "'+x+'" as undefined');this.partials[x]=v}},unregisterPartial:function(x){delete this.partials[x]},registerDecorator:function(x,v){if(t.toString.call(x)===h){if(v)throw new r.default("Arg not supported with multiple decorators");t.extend(this.decorators,x)}else this.decorators[x]=v},unregisterDecorator:function(x){delete this.decorators[x]},resetLoggedPropertyAccesses:function(){l.resetLoggedProperties()}};var g=s.default.log;return Or.log=g,Or.createFrame=t.createFrame,Or.logger=s.default,Or}var Ll={exports:{}},bp;function S8(){return bp||(bp=1,(function(e,t){t.__esModule=!0;function n(r){this.string=r}n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default})(Ll,Ll.exports)),Ll.exports}var ra={},Rl={},vp;function C8(){if(vp)return Rl;vp=1,Rl.__esModule=!0,Rl.wrapHelper=e;function e(t,n){if(typeof t!="function")return t;var r=function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=n(i),t.apply(this,arguments)};return r}return Rl}var _p;function T8(){if(_p)return ra;_p=1,ra.__esModule=!0,ra.checkRevision=d,ra.template=p,ra.wrapProgram=f,ra.resolvePartial=h,ra.invokePartial=c,ra.noop=g;function e(_){return _&&_.__esModule?_:{default:_}}function t(_){if(_&&_.__esModule)return _;var S={};if(_!=null)for(var C in _)Object.prototype.hasOwnProperty.call(_,C)&&(S[C]=_[C]);return S.default=_,S}var n=Vn(),r=t(n),a=Br(),i=e(a),o=uf(),s=n6(),l=C8(),u=a6();function d(_){var S=_&&_[0]||1,C=o.COMPILER_REVISION;if(!(S>=o.LAST_COMPATIBLE_COMPILER_REVISION&&S<=o.COMPILER_REVISION))if(S<o.LAST_COMPATIBLE_COMPILER_REVISION){var T=o.REVISION_CHANGES[C],R=o.REVISION_CHANGES[S];throw new i.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+T+") or downgrade your runtime to an older version ("+R+").")}else throw new i.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+_[1]+").")}function p(_,S){if(!S)throw new i.default("No environment passed to template");if(!_||!_.main)throw new i.default("Unknown template object: "+typeof _);_.main.decorator=_.main_d,S.VM.checkRevision(_.compiler);var C=_.compiler&&_.compiler[0]===7;function T(A,I,$){$.hash&&(I=r.extend({},I,$.hash),$.ids&&($.ids[0]=!0)),A=S.VM.resolvePartial.call(this,A,I,$);var W=r.extend({},$,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),G=S.VM.invokePartial.call(this,A,I,W);if(G==null&&S.compile&&($.partials[$.name]=S.compile(A,_.compilerOptions,S),G=$.partials[$.name](I,W)),G!=null){if($.indent){for(var ae=G.split("\n"),ie=0,Te=ae.length;ie<Te&&!(!ae[ie]&&ie+1===Te);ie++)ae[ie]=$.indent+ae[ie];G=ae.join("\n")}return G}else throw new i.default("The partial "+$.name+" could not be compiled when running in runtime-only mode")}var R={strict:function(I,$,W){if(!I||!($ in I))throw new i.default('"'+$+'" not defined in '+I,{loc:W});return R.lookupProperty(I,$)},lookupProperty:function(I,$){var W=I[$];if(W==null||Object.prototype.hasOwnProperty.call(I,$)||u.resultIsAllowed(W,R.protoAccessControl,$))return W},lookup:function(I,$){for(var W=I.length,G=0;G<W;G++){var ae=I[G]&&R.lookupProperty(I[G],$);if(ae!=null)return I[G][$]}},lambda:function(I,$){return typeof I=="function"?I.call($):I},escapeExpression:r.escapeExpression,invokePartial:T,fn:function(I){var $=_[I];return $.decorator=_[I+"_d"],$},programs:[],program:function(I,$,W,G,ae){var ie=this.programs[I],Te=this.fn(I);return $||ae||G||W?ie=f(this,I,Te,$,W,G,ae):ie||(ie=this.programs[I]=f(this,I,Te)),ie},data:function(I,$){for(;I&&$--;)I=I._parent;return I},mergeIfNeeded:function(I,$){var W=I||$;return I&&$&&I!==$&&(W=r.extend({},$,I)),W},nullContext:Object.seal({}),noop:S.VM.noop,compilerInfo:_.compiler};function P(A){var I=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],$=I.data;P._setup(I),!I.partial&&_.useData&&($=m(A,$));var W=void 0,G=_.useBlockParams?[]:void 0;_.useDepths&&(I.depths?W=A!=I.depths[0]?[A].concat(I.depths):I.depths:W=[A]);function ae(ie){return""+_.main(R,ie,R.helpers,R.partials,$,G,W)}return ae=x(_.main,ae,R,I.depths||[],$,G),ae(A,I)}return P.isTop=!0,P._setup=function(A){if(A.partial)R.protoAccessControl=A.protoAccessControl,R.helpers=A.helpers,R.partials=A.partials,R.decorators=A.decorators,R.hooks=A.hooks;else{var I=r.extend({},S.helpers,A.helpers);v(I,R),R.helpers=I,_.usePartial&&(R.partials=R.mergeIfNeeded(A.partials,S.partials)),(_.usePartial||_.useDecorators)&&(R.decorators=r.extend({},S.decorators,A.decorators)),R.hooks={},R.protoAccessControl=u.createProtoAccessControl(A);var $=A.allowCallsToHelperMissing||C;s.moveHelperToHooks(R,"helperMissing",$),s.moveHelperToHooks(R,"blockHelperMissing",$)}},P._child=function(A,I,$,W){if(_.useBlockParams&&!$)throw new i.default("must pass block params");if(_.useDepths&&!W)throw new i.default("must pass parent depths");return f(R,A,_[A],I,0,$,W)},P}function f(_,S,C,T,R,P,A){function I($){var W=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],G=A;return A&&$!=A[0]&&!($===_.nullContext&&A[0]===null)&&(G=[$].concat(A)),C(_,$,_.helpers,_.partials,W.data||T,P&&[W.blockParams].concat(P),G)}return I=x(C,I,_,A,T,P),I.program=S,I.depth=A?A.length:0,I.blockParams=R||0,I}function h(_,S,C){return _?!_.call&&!C.name&&(C.name=_,_=C.partials[_]):C.name==="@partial-block"?_=C.data["partial-block"]:_=C.partials[C.name],_}function c(_,S,C){var T=C.data&&C.data["partial-block"];C.partial=!0,C.ids&&(C.data.contextPath=C.ids[0]||C.data.contextPath);var R=void 0;if(C.fn&&C.fn!==g&&(function(){C.data=o.createFrame(C.data);var P=C.fn;R=C.data["partial-block"]=function(I){var $=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return $.data=o.createFrame($.data),$.data["partial-block"]=T,P(I,$)},P.partials&&(C.partials=r.extend({},C.partials,P.partials))})(),_===void 0&&R&&(_=R),_===void 0)throw new i.default("The partial "+C.name+" could not be found");if(_ instanceof Function)return _(S,C)}function g(){return""}function m(_,S){return(!S||!("root"in S))&&(S=S?o.createFrame(S):{},S.root=_),S}function x(_,S,C,T,R,P){if(_.decorator){var A={};S=_.decorator(S,A,C,T&&T[0],R,P,T),r.extend(S,A)}return S}function v(_,S){Object.keys(_).forEach(function(C){var T=_[C];_[C]=y(T,S)})}function y(_,S){var C=S.lookupProperty;return l.wrapHelper(_,function(T){return r.extend({lookupProperty:C},T)})}return ra}var Pl={exports:{}},yp;function i6(){return yp||(yp=1,(function(e,t){t.__esModule=!0,t.default=function(n){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var r=globalThis.Handlebars;n.noConflict=function(){return globalThis.Handlebars===n&&(globalThis.Handlebars=r),n}},e.exports=t.default})(Pl,Pl.exports)),Pl.exports}var Ep;function w8(){return Ep||(Ep=1,(function(e,t){t.__esModule=!0;function n(v){return v&&v.__esModule?v:{default:v}}function r(v){if(v&&v.__esModule)return v;var y={};if(v!=null)for(var _ in v)Object.prototype.hasOwnProperty.call(v,_)&&(y[_]=v[_]);return y.default=v,y}var a=uf(),i=r(a),o=S8(),s=n(o),l=Br(),u=n(l),d=Vn(),p=r(d),f=T8(),h=r(f),c=i6(),g=n(c);function m(){var v=new i.HandlebarsEnvironment;return p.extend(v,i),v.SafeString=s.default,v.Exception=u.default,v.Utils=p,v.escapeExpression=p.escapeExpression,v.VM=h,v.template=function(y){return h.template(y,v)},v}var x=m();x.create=m,g.default(x),x.default=x,t.default=x,e.exports=t.default})(vl,vl.exports)),vl.exports}var Dl={exports:{}},Sp;function o6(){return Sp||(Sp=1,(function(e,t){t.__esModule=!0;var n={helpers:{helperExpression:function(a){return a.type==="SubExpression"||(a.type==="MustacheStatement"||a.type==="BlockStatement")&&!!(a.params&&a.params.length||a.hash)},scopedId:function(a){return/^\.|this\b/.test(a.original)},simpleId:function(a){return a.parts.length===1&&!n.helpers.scopedId(a)&&!a.depth}}};t.default=n,e.exports=t.default})(Dl,Dl.exports)),Dl.exports}var Ri={},Ml={exports:{}},Cp;function A8(){return Cp||(Cp=1,(function(e,t){t.__esModule=!0;var n=(function(){var r={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(s,l,u,d,p,f,h){var c=f.length-1;switch(p){case 1:return f[c-1];case 2:this.$=d.prepareProgram(f[c]);break;case 3:this.$=f[c];break;case 4:this.$=f[c];break;case 5:this.$=f[c];break;case 6:this.$=f[c];break;case 7:this.$=f[c];break;case 8:this.$=f[c];break;case 9:this.$={type:"CommentStatement",value:d.stripComment(f[c]),strip:d.stripFlags(f[c],f[c]),loc:d.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:f[c],value:f[c],loc:d.locInfo(this._$)};break;case 11:this.$=d.prepareRawBlock(f[c-2],f[c-1],f[c],this._$);break;case 12:this.$={path:f[c-3],params:f[c-2],hash:f[c-1]};break;case 13:this.$=d.prepareBlock(f[c-3],f[c-2],f[c-1],f[c],!1,this._$);break;case 14:this.$=d.prepareBlock(f[c-3],f[c-2],f[c-1],f[c],!0,this._$);break;case 15:this.$={open:f[c-5],path:f[c-4],params:f[c-3],hash:f[c-2],blockParams:f[c-1],strip:d.stripFlags(f[c-5],f[c])};break;case 16:this.$={path:f[c-4],params:f[c-3],hash:f[c-2],blockParams:f[c-1],strip:d.stripFlags(f[c-5],f[c])};break;case 17:this.$={path:f[c-4],params:f[c-3],hash:f[c-2],blockParams:f[c-1],strip:d.stripFlags(f[c-5],f[c])};break;case 18:this.$={strip:d.stripFlags(f[c-1],f[c-1]),program:f[c]};break;case 19:var g=d.prepareBlock(f[c-2],f[c-1],f[c],f[c],!1,this._$),m=d.prepareProgram([g],f[c-1].loc);m.chained=!0,this.$={strip:f[c-2].strip,program:m,chain:!0};break;case 20:this.$=f[c];break;case 21:this.$={path:f[c-1],strip:d.stripFlags(f[c-2],f[c])};break;case 22:this.$=d.prepareMustache(f[c-3],f[c-2],f[c-1],f[c-4],d.stripFlags(f[c-4],f[c]),this._$);break;case 23:this.$=d.prepareMustache(f[c-3],f[c-2],f[c-1],f[c-4],d.stripFlags(f[c-4],f[c]),this._$);break;case 24:this.$={type:"PartialStatement",name:f[c-3],params:f[c-2],hash:f[c-1],indent:"",strip:d.stripFlags(f[c-4],f[c]),loc:d.locInfo(this._$)};break;case 25:this.$=d.preparePartialBlock(f[c-2],f[c-1],f[c],this._$);break;case 26:this.$={path:f[c-3],params:f[c-2],hash:f[c-1],strip:d.stripFlags(f[c-4],f[c])};break;case 27:this.$=f[c];break;case 28:this.$=f[c];break;case 29:this.$={type:"SubExpression",path:f[c-3],params:f[c-2],hash:f[c-1],loc:d.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:f[c],loc:d.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:d.id(f[c-2]),value:f[c],loc:d.locInfo(this._$)};break;case 32:this.$=d.id(f[c-1]);break;case 33:this.$=f[c];break;case 34:this.$=f[c];break;case 35:this.$={type:"StringLiteral",value:f[c],original:f[c],loc:d.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(f[c]),original:Number(f[c]),loc:d.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:f[c]==="true",original:f[c]==="true",loc:d.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:d.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:d.locInfo(this._$)};break;case 40:this.$=f[c];break;case 41:this.$=f[c];break;case 42:this.$=d.preparePath(!0,f[c],this._$);break;case 43:this.$=d.preparePath(!1,f[c],this._$);break;case 44:f[c-2].push({part:d.id(f[c]),original:f[c],separator:f[c-1]}),this.$=f[c-2];break;case 45:this.$=[{part:d.id(f[c]),original:f[c]}];break;case 46:this.$=[];break;case 47:f[c-1].push(f[c]);break;case 48:this.$=[];break;case 49:f[c-1].push(f[c]);break;case 50:this.$=[];break;case 51:f[c-1].push(f[c]);break;case 58:this.$=[];break;case 59:f[c-1].push(f[c]);break;case 64:this.$=[];break;case 65:f[c-1].push(f[c]);break;case 70:this.$=[];break;case 71:f[c-1].push(f[c]);break;case 78:this.$=[];break;case 79:f[c-1].push(f[c]);break;case 82:this.$=[];break;case 83:f[c-1].push(f[c]);break;case 86:this.$=[];break;case 87:f[c-1].push(f[c]);break;case 90:this.$=[];break;case 91:f[c-1].push(f[c]);break;case 94:this.$=[];break;case 95:f[c-1].push(f[c]);break;case 98:this.$=[f[c]];break;case 99:f[c-1].push(f[c]);break;case 100:this.$=[f[c]];break;case 101:f[c-1].push(f[c]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(s,l){throw new Error(s)},parse:function(s){var l=this,u=[0],d=[null],p=[],f=this.table,h="",c=0,g=0;this.lexer.setInput(s),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var m=this.lexer.yylloc;p.push(m);var x=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function v(){var W;return W=l.lexer.lex()||1,typeof W!="number"&&(W=l.symbols_[W]||W),W}for(var y,_,S,C,T={},R,P,A,I;;){if(_=u[u.length-1],this.defaultActions[_]?S=this.defaultActions[_]:((y===null||typeof y>"u")&&(y=v()),S=f[_]&&f[_][y]),typeof S>"u"||!S.length||!S[0]){var $="";{I=[];for(R in f[_])this.terminals_[R]&&R>2&&I.push("'"+this.terminals_[R]+"'");this.lexer.showPosition?$="Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[y]||y)+"'":$="Parse error on line "+(c+1)+": Unexpected "+(y==1?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError($,{text:this.lexer.match,token:this.terminals_[y]||y,line:this.lexer.yylineno,loc:m,expected:I})}}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+y);switch(S[0]){case 1:u.push(y),d.push(this.lexer.yytext),p.push(this.lexer.yylloc),u.push(S[1]),y=null,g=this.lexer.yyleng,h=this.lexer.yytext,c=this.lexer.yylineno,m=this.lexer.yylloc;break;case 2:if(P=this.productions_[S[1]][1],T.$=d[d.length-P],T._$={first_line:p[p.length-(P||1)].first_line,last_line:p[p.length-1].last_line,first_column:p[p.length-(P||1)].first_column,last_column:p[p.length-1].last_column},x&&(T._$.range=[p[p.length-(P||1)].range[0],p[p.length-1].range[1]]),C=this.performAction.call(T,h,g,c,this.yy,S[1],d,p),typeof C<"u")return C;P&&(u=u.slice(0,-1*P*2),d=d.slice(0,-1*P),p=p.slice(0,-1*P)),u.push(this.productions_[S[1]][0]),d.push(T.$),p.push(T._$),A=f[u[u.length-2]][u[u.length-1]],u.push(A);break;case 3:return!0}}return!0}},a=(function(){var o={EOF:1,parseError:function(l,u){if(this.yy.parser)this.yy.parser.parseError(l,u);else throw new Error(l)},setInput:function(l){return this._input=l,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var u=l.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},unput:function(l){var u=l.length,d=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u-1),this.offset-=u;var p=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===p.length?this.yylloc.first_column:0)+p[p.length-d.length].length-d[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-u]),this},more:function(){return this._more=!0,this},less:function(l){this.unput(this.match.slice(l))},pastInput:function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var l=this.pastInput(),u=new Array(l.length+1).join("-");return l+this.upcomingInput()+"\n"+u+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,u,d,p,f;this._more||(this.yytext="",this.match="");for(var h=this._currentRules(),c=0;c<h.length&&(d=this._input.match(this.rules[h[c]]),!(d&&(!u||d[0].length>u[0].length)&&(u=d,p=c,!this.options.flex)));c++);return u?(f=u[0].match(/(?:\r\n?|\n).*/g),f&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+u[0].length},this.yytext+=u[0],this.match+=u[0],this.matches=u,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(u[0].length),this.matched+=u[0],l=this.performAction.call(this,this.yy,this,h[p],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var l=this.next();return typeof l<"u"?l:this.lex()},begin:function(l){this.conditionStack.push(l)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(l){this.begin(l)}};return o.options={},o.performAction=function(l,u,d,p){function f(h,c){return u.yytext=u.yytext.substring(h,u.yyleng-c+h)}switch(d){case 0:if(u.yytext.slice(-2)==="\\\\"?(f(0,1),this.begin("mu")):u.yytext.slice(-1)==="\\"?(f(0,1),this.begin("emu")):this.begin("mu"),u.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(f(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(u.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return u.yytext=f(1,2).replace(/\\"/g,'"'),80;case 32:return u.yytext=f(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return u.yytext=u.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},o.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],o.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},o})();r.lexer=a;function i(){this.yy={}}return i.prototype=r,r.Parser=i,new i})();t.default=n,e.exports=t.default})(Ml,Ml.exports)),Ml.exports}var Bl={exports:{}},Fl={exports:{}},Tp;function s6(){return Tp||(Tp=1,(function(e,t){t.__esModule=!0;function n(u){return u&&u.__esModule?u:{default:u}}var r=Br(),a=n(r);function i(){this.parents=[]}i.prototype={constructor:i,mutating:!1,acceptKey:function(d,p){var f=this.accept(d[p]);if(this.mutating){if(f&&!i.prototype[f.type])throw new a.default('Unexpected node type "'+f.type+'" found when accepting '+p+" on "+d.type);d[p]=f}},acceptRequired:function(d,p){if(this.acceptKey(d,p),!d[p])throw new a.default(d.type+" requires "+p)},acceptArray:function(d){for(var p=0,f=d.length;p<f;p++)this.acceptKey(d,p),d[p]||(d.splice(p,1),p--,f--)},accept:function(d){if(d){if(!this[d.type])throw new a.default("Unknown type: "+d.type,d);this.current&&this.parents.unshift(this.current),this.current=d;var p=this[d.type](d);if(this.current=this.parents.shift(),!this.mutating||p)return p;if(p!==!1)return d}},Program:function(d){this.acceptArray(d.body)},MustacheStatement:o,Decorator:o,BlockStatement:s,DecoratorBlock:s,PartialStatement:l,PartialBlockStatement:function(d){l.call(this,d),this.acceptKey(d,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:o,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(d){this.acceptArray(d.pairs)},HashPair:function(d){this.acceptRequired(d,"value")}};function o(u){this.acceptRequired(u,"path"),this.acceptArray(u.params),this.acceptKey(u,"hash")}function s(u){o.call(this,u),this.acceptKey(u,"program"),this.acceptKey(u,"inverse")}function l(u){this.acceptRequired(u,"name"),this.acceptArray(u.params),this.acceptKey(u,"hash")}t.default=i,e.exports=t.default})(Fl,Fl.exports)),Fl.exports}var wp;function k8(){return wp||(wp=1,(function(e,t){t.__esModule=!0;function n(d){return d&&d.__esModule?d:{default:d}}var r=s6(),a=n(r);function i(){var d=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=d}i.prototype=new a.default,i.prototype.Program=function(d){var p=!this.options.ignoreStandalone,f=!this.isRootSeen;this.isRootSeen=!0;for(var h=d.body,c=0,g=h.length;c<g;c++){var m=h[c],x=this.accept(m);if(x){var v=o(h,c,f),y=s(h,c,f),_=x.openStandalone&&v,S=x.closeStandalone&&y,C=x.inlineStandalone&&v&&y;x.close&&l(h,c,!0),x.open&&u(h,c,!0),p&&C&&(l(h,c),u(h,c)&&m.type==="PartialStatement"&&(m.indent=/([ \t]+$)/.exec(h[c-1].original)[1])),p&&_&&(l((m.program||m.inverse).body),u(h,c)),p&&S&&(l(h,c),u((m.inverse||m.program).body))}}return d},i.prototype.BlockStatement=i.prototype.DecoratorBlock=i.prototype.PartialBlockStatement=function(d){this.accept(d.program),this.accept(d.inverse);var p=d.program||d.inverse,f=d.program&&d.inverse,h=f,c=f;if(f&&f.chained)for(h=f.body[0].program;c.chained;)c=c.body[c.body.length-1].program;var g={open:d.openStrip.open,close:d.closeStrip.close,openStandalone:s(p.body),closeStandalone:o((h||p).body)};if(d.openStrip.close&&l(p.body,null,!0),f){var m=d.inverseStrip;m.open&&u(p.body,null,!0),m.close&&l(h.body,null,!0),d.closeStrip.open&&u(c.body,null,!0),!this.options.ignoreStandalone&&o(p.body)&&s(h.body)&&(u(p.body),l(h.body))}else d.closeStrip.open&&u(p.body,null,!0);return g},i.prototype.Decorator=i.prototype.MustacheStatement=function(d){return d.strip},i.prototype.PartialStatement=i.prototype.CommentStatement=function(d){var p=d.strip||{};return{inlineStandalone:!0,open:p.open,close:p.close}};function o(d,p,f){p===void 0&&(p=d.length);var h=d[p-1],c=d[p-2];if(!h)return f;if(h.type==="ContentStatement")return(c||!f?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(h.original)}function s(d,p,f){p===void 0&&(p=-1);var h=d[p+1],c=d[p+2];if(!h)return f;if(h.type==="ContentStatement")return(c||!f?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(h.original)}function l(d,p,f){var h=d[p==null?0:p+1];if(!(!h||h.type!=="ContentStatement"||!f&&h.rightStripped)){var c=h.value;h.value=h.value.replace(f?/^\s+/:/^[ \t]*\r?\n?/,""),h.rightStripped=h.value!==c}}function u(d,p,f){var h=d[p==null?d.length-1:p-1];if(!(!h||h.type!=="ContentStatement"||!f&&h.leftStripped)){var c=h.value;return h.value=h.value.replace(f?/\s+$/:/[ \t]+$/,""),h.leftStripped=h.value!==c,h.leftStripped}}t.default=i,e.exports=t.default})(Bl,Bl.exports)),Bl.exports}var Xn={},Ap;function O8(){if(Ap)return Xn;Ap=1,Xn.__esModule=!0,Xn.SourceLocation=a,Xn.id=i,Xn.stripFlags=o,Xn.stripComment=s,Xn.preparePath=l,Xn.prepareMustache=u,Xn.prepareRawBlock=d,Xn.prepareBlock=p,Xn.prepareProgram=f,Xn.preparePartialBlock=h;function e(c){return c&&c.__esModule?c:{default:c}}var t=Br(),n=e(t);function r(c,g){if(g=g.path?g.path.original:g,c.path.original!==g){var m={loc:c.path.loc};throw new n.default(c.path.original+" doesn't match "+g,m)}}function a(c,g){this.source=c,this.start={line:g.first_line,column:g.first_column},this.end={line:g.last_line,column:g.last_column}}function i(c){return/^\[.*\]$/.test(c)?c.substring(1,c.length-1):c}function o(c,g){return{open:c.charAt(2)==="~",close:g.charAt(g.length-3)==="~"}}function s(c){return c.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function l(c,g,m){m=this.locInfo(m);for(var x=c?"@":"",v=[],y=0,_=0,S=g.length;_<S;_++){var C=g[_].part,T=g[_].original!==C;if(x+=(g[_].separator||"")+C,!T&&(C===".."||C==="."||C==="this")){if(v.length>0)throw new n.default("Invalid path: "+x,{loc:m});C===".."&&y++}else v.push(C)}return{type:"PathExpression",data:c,depth:y,parts:v,original:x,loc:m}}function u(c,g,m,x,v,y){var _=x.charAt(3)||x.charAt(2),S=_!=="{"&&_!=="&",C=/\*/.test(x);return{type:C?"Decorator":"MustacheStatement",path:c,params:g,hash:m,escaped:S,strip:v,loc:this.locInfo(y)}}function d(c,g,m,x){r(c,m),x=this.locInfo(x);var v={type:"Program",body:g,strip:{},loc:x};return{type:"BlockStatement",path:c.path,params:c.params,hash:c.hash,program:v,openStrip:{},inverseStrip:{},closeStrip:{},loc:x}}function p(c,g,m,x,v,y){x&&x.path&&r(c,x);var _=/\*/.test(c.open);g.blockParams=c.blockParams;var S=void 0,C=void 0;if(m){if(_)throw new n.default("Unexpected inverse block on decorator",m);m.chain&&(m.program.body[0].closeStrip=x.strip),C=m.strip,S=m.program}return v&&(v=S,S=g,g=v),{type:_?"DecoratorBlock":"BlockStatement",path:c.path,params:c.params,hash:c.hash,program:g,inverse:S,openStrip:c.strip,inverseStrip:C,closeStrip:x&&x.strip,loc:this.locInfo(y)}}function f(c,g){if(!g&&c.length){var m=c[0].loc,x=c[c.length-1].loc;m&&x&&(g={source:m.source,start:{line:m.start.line,column:m.start.column},end:{line:x.end.line,column:x.end.column}})}return{type:"Program",body:c,strip:{},loc:g}}function h(c,g,m,x){return r(c,m),{type:"PartialBlockStatement",name:c.path,params:c.params,hash:c.hash,program:g,openStrip:c.strip,closeStrip:m&&m.strip,loc:this.locInfo(x)}}return Xn}var kp;function I8(){if(kp)return Ri;kp=1,Ri.__esModule=!0,Ri.parseWithoutProcessing=d,Ri.parse=p;function e(f){if(f&&f.__esModule)return f;var h={};if(f!=null)for(var c in f)Object.prototype.hasOwnProperty.call(f,c)&&(h[c]=f[c]);return h.default=f,h}function t(f){return f&&f.__esModule?f:{default:f}}var n=A8(),r=t(n),a=k8(),i=t(a),o=O8(),s=e(o),l=Vn();Ri.parser=r.default;var u={};l.extend(u,s);function d(f,h){if(f.type==="Program")return f;r.default.yy=u,u.locInfo=function(g){return new u.SourceLocation(h&&h.srcName,g)};var c=r.default.parse(f);return c}function p(f,h){var c=d(f,h),g=new i.default(h);return g.accept(c)}return Ri}var Pi={},Op;function N8(){if(Op)return Pi;Op=1,Pi.__esModule=!0,Pi.Compiler=s,Pi.precompile=l,Pi.compile=u;function e(f){return f&&f.__esModule?f:{default:f}}var t=Br(),n=e(t),r=Vn(),a=o6(),i=e(a),o=[].slice;function s(){}s.prototype={compiler:s,equals:function(h){var c=this.opcodes.length;if(h.opcodes.length!==c)return!1;for(var g=0;g<c;g++){var m=this.opcodes[g],x=h.opcodes[g];if(m.opcode!==x.opcode||!d(m.args,x.args))return!1}c=this.children.length;for(var g=0;g<c;g++)if(!this.children[g].equals(h.children[g]))return!1;return!0},guid:0,compile:function(h,c){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=c,this.stringParams=c.stringParams,this.trackIds=c.trackIds,c.blockParams=c.blockParams||[],c.knownHelpers=r.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},c.knownHelpers),this.accept(h)},compileProgram:function(h){var c=new this.compiler,g=c.compile(h,this.options),m=this.guid++;return this.usePartial=this.usePartial||g.usePartial,this.children[m]=g,this.useDepths=this.useDepths||g.useDepths,m},accept:function(h){if(!this[h.type])throw new n.default("Unknown type: "+h.type,h);this.sourceNode.unshift(h);var c=this[h.type](h);return this.sourceNode.shift(),c},Program:function(h){this.options.blockParams.unshift(h.blockParams);for(var c=h.body,g=c.length,m=0;m<g;m++)this.accept(c[m]);return this.options.blockParams.shift(),this.isSimple=g===1,this.blockParams=h.blockParams?h.blockParams.length:0,this},BlockStatement:function(h){p(h);var c=h.program,g=h.inverse;c=c&&this.compileProgram(c),g=g&&this.compileProgram(g);var m=this.classifySexpr(h);m==="helper"?this.helperSexpr(h,c,g):m==="simple"?(this.simpleSexpr(h),this.opcode("pushProgram",c),this.opcode("pushProgram",g),this.opcode("emptyHash"),this.opcode("blockValue",h.path.original)):(this.ambiguousSexpr(h,c,g),this.opcode("pushProgram",c),this.opcode("pushProgram",g),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(h){var c=h.program&&this.compileProgram(h.program),g=this.setupFullMustacheParams(h,c,void 0),m=h.path;this.useDecorators=!0,this.opcode("registerDecorator",g.length,m.original)},PartialStatement:function(h){this.usePartial=!0;var c=h.program;c&&(c=this.compileProgram(h.program));var g=h.params;if(g.length>1)throw new n.default("Unsupported number of partial arguments: "+g.length,h);g.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):g.push({type:"PathExpression",parts:[],depth:0}));var m=h.name.original,x=h.name.type==="SubExpression";x&&this.accept(h.name),this.setupFullMustacheParams(h,c,void 0,!0);var v=h.indent||"";this.options.preventIndent&&v&&(this.opcode("appendContent",v),v=""),this.opcode("invokePartial",x,m,v),this.opcode("append")},PartialBlockStatement:function(h){this.PartialStatement(h)},MustacheStatement:function(h){this.SubExpression(h),h.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(h){this.DecoratorBlock(h)},ContentStatement:function(h){h.value&&this.opcode("appendContent",h.value)},CommentStatement:function(){},SubExpression:function(h){p(h);var c=this.classifySexpr(h);c==="simple"?this.simpleSexpr(h):c==="helper"?this.helperSexpr(h):this.ambiguousSexpr(h)},ambiguousSexpr:function(h,c,g){var m=h.path,x=m.parts[0],v=c!=null||g!=null;this.opcode("getContext",m.depth),this.opcode("pushProgram",c),this.opcode("pushProgram",g),m.strict=!0,this.accept(m),this.opcode("invokeAmbiguous",x,v)},simpleSexpr:function(h){var c=h.path;c.strict=!0,this.accept(c),this.opcode("resolvePossibleLambda")},helperSexpr:function(h,c,g){var m=this.setupFullMustacheParams(h,c,g),x=h.path,v=x.parts[0];if(this.options.knownHelpers[v])this.opcode("invokeKnownHelper",m.length,v);else{if(this.options.knownHelpersOnly)throw new n.default("You specified knownHelpersOnly, but used the unknown helper "+v,h);x.strict=!0,x.falsy=!0,this.accept(x),this.opcode("invokeHelper",m.length,x.original,i.default.helpers.simpleId(x))}},PathExpression:function(h){this.addDepth(h.depth),this.opcode("getContext",h.depth);var c=h.parts[0],g=i.default.helpers.scopedId(h),m=!h.depth&&!g&&this.blockParamIndex(c);m?this.opcode("lookupBlockParam",m,h.parts):c?h.data?(this.options.data=!0,this.opcode("lookupData",h.depth,h.parts,h.strict)):this.opcode("lookupOnContext",h.parts,h.falsy,h.strict,g):this.opcode("pushContext")},StringLiteral:function(h){this.opcode("pushString",h.value)},NumberLiteral:function(h){this.opcode("pushLiteral",h.value)},BooleanLiteral:function(h){this.opcode("pushLiteral",h.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(h){var c=h.pairs,g=0,m=c.length;for(this.opcode("pushHash");g<m;g++)this.pushParam(c[g].value);for(;g--;)this.opcode("assignToHash",c[g].key);this.opcode("popHash")},opcode:function(h){this.opcodes.push({opcode:h,args:o.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(h){h&&(this.useDepths=!0)},classifySexpr:function(h){var c=i.default.helpers.simpleId(h.path),g=c&&!!this.blockParamIndex(h.path.parts[0]),m=!g&&i.default.helpers.helperExpression(h),x=!g&&(m||c);if(x&&!m){var v=h.path.parts[0],y=this.options;y.knownHelpers[v]?m=!0:y.knownHelpersOnly&&(x=!1)}return m?"helper":x?"ambiguous":"simple"},pushParams:function(h){for(var c=0,g=h.length;c<g;c++)this.pushParam(h[c])},pushParam:function(h){var c=h.value!=null?h.value:h.original||"";if(this.stringParams)c.replace&&(c=c.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),h.depth&&this.addDepth(h.depth),this.opcode("getContext",h.depth||0),this.opcode("pushStringParam",c,h.type),h.type==="SubExpression"&&this.accept(h);else{if(this.trackIds){var g=void 0;if(h.parts&&!i.default.helpers.scopedId(h)&&!h.depth&&(g=this.blockParamIndex(h.parts[0])),g){var m=h.parts.slice(1).join(".");this.opcode("pushId","BlockParam",g,m)}else c=h.original||c,c.replace&&(c=c.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",h.type,c)}this.accept(h)}},setupFullMustacheParams:function(h,c,g,m){var x=h.params;return this.pushParams(x),this.opcode("pushProgram",c),this.opcode("pushProgram",g),h.hash?this.accept(h.hash):this.opcode("emptyHash",m),x},blockParamIndex:function(h){for(var c=0,g=this.options.blockParams.length;c<g;c++){var m=this.options.blockParams[c],x=m&&r.indexOf(m,h);if(m&&x>=0)return[c,x]}}};function l(f,h,c){if(f==null||typeof f!="string"&&f.type!=="Program")throw new n.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+f);h=h||{},"data"in h||(h.data=!0),h.compat&&(h.useDepths=!0);var g=c.parse(f,h),m=new c.Compiler().compile(g,h);return new c.JavaScriptCompiler().compile(m,h)}function u(f,h,c){if(h===void 0&&(h={}),f==null||typeof f!="string"&&f.type!=="Program")throw new n.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+f);h=r.extend({},h),"data"in h||(h.data=!0),h.compat&&(h.useDepths=!0);var g=void 0;function m(){var v=c.parse(f,h),y=new c.Compiler().compile(v,h),_=new c.JavaScriptCompiler().compile(y,h,void 0,!0);return c.template(_)}function x(v,y){return g||(g=m()),g.call(this,v,y)}return x._setup=function(v){return g||(g=m()),g._setup(v)},x._child=function(v,y,_,S){return g||(g=m()),g._child(v,y,_,S)},x}function d(f,h){if(f===h)return!0;if(r.isArray(f)&&r.isArray(h)&&f.length===h.length){for(var c=0;c<f.length;c++)if(!d(f[c],h[c]))return!1;return!0}}function p(f){if(!f.path.parts){var h=f.path;f.path={type:"PathExpression",data:!1,depth:0,parts:[h.original+""],original:h.original+"",loc:h.loc}}}return Pi}var $l={exports:{}},Hl={exports:{}},qo={},u0={},Ul={},zl={},Ip;function L8(){if(Ip)return zl;Ip=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return zl.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},zl.decode=function(t){var n=65,r=90,a=97,i=122,o=48,s=57,l=43,u=47,d=26,p=52;return n<=t&&t<=r?t-n:a<=t&&t<=i?t-a+d:o<=t&&t<=s?t-o+p:t==l?62:t==u?63:-1},zl}var Np;function l6(){if(Np)return Ul;Np=1;var e=L8(),t=5,n=1<<t,r=n-1,a=n;function i(s){return s<0?(-s<<1)+1:(s<<1)+0}function o(s){var l=(s&1)===1,u=s>>1;return l?-u:u}return Ul.encode=function(l){var u="",d,p=i(l);do d=p&r,p>>>=t,p>0&&(d|=a),u+=e.encode(d);while(p>0);return u},Ul.decode=function(l,u,d){var p=l.length,f=0,h=0,c,g;do{if(u>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(g=e.decode(l.charCodeAt(u++)),g===-1)throw new Error("Invalid base64 digit: "+l.charAt(u-1));c=!!(g&a),g&=r,f=f+(g<<h),h+=t}while(c);d.value=o(f),d.rest=u},Ul}var c0={},Lp;function Gs(){return Lp||(Lp=1,(function(e){function t(_,S,C){if(S in _)return _[S];if(arguments.length===3)return C;throw new Error('"'+S+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function a(_){var S=_.match(n);return S?{scheme:S[1],auth:S[2],host:S[3],port:S[4],path:S[5]}:null}e.urlParse=a;function i(_){var S="";return _.scheme&&(S+=_.scheme+":"),S+="//",_.auth&&(S+=_.auth+"@"),_.host&&(S+=_.host),_.port&&(S+=":"+_.port),_.path&&(S+=_.path),S}e.urlGenerate=i;function o(_){var S=_,C=a(_);if(C){if(!C.path)return _;S=C.path}for(var T=e.isAbsolute(S),R=S.split(/\/+/),P,A=0,I=R.length-1;I>=0;I--)P=R[I],P==="."?R.splice(I,1):P===".."?A++:A>0&&(P===""?(R.splice(I+1,A),A=0):(R.splice(I,2),A--));return S=R.join("/"),S===""&&(S=T?"/":"."),C?(C.path=S,i(C)):S}e.normalize=o;function s(_,S){_===""&&(_="."),S===""&&(S=".");var C=a(S),T=a(_);if(T&&(_=T.path||"/"),C&&!C.scheme)return T&&(C.scheme=T.scheme),i(C);if(C||S.match(r))return S;if(T&&!T.host&&!T.path)return T.host=S,i(T);var R=S.charAt(0)==="/"?S:o(_.replace(/\/+$/,"")+"/"+S);return T?(T.path=R,i(T)):R}e.join=s,e.isAbsolute=function(_){return _.charAt(0)==="/"||n.test(_)};function l(_,S){_===""&&(_="."),_=_.replace(/\/$/,"");for(var C=0;S.indexOf(_+"/")!==0;){var T=_.lastIndexOf("/");if(T<0||(_=_.slice(0,T),_.match(/^([^\/]+:\/)?\/*$/)))return S;++C}return Array(C+1).join("../")+S.substr(_.length+1)}e.relative=l;var u=(function(){var _=Object.create(null);return!("__proto__"in _)})();function d(_){return _}function p(_){return h(_)?"$"+_:_}e.toSetString=u?d:p;function f(_){return h(_)?_.slice(1):_}e.fromSetString=u?d:f;function h(_){if(!_)return!1;var S=_.length;if(S<9||_.charCodeAt(S-1)!==95||_.charCodeAt(S-2)!==95||_.charCodeAt(S-3)!==111||_.charCodeAt(S-4)!==116||_.charCodeAt(S-5)!==111||_.charCodeAt(S-6)!==114||_.charCodeAt(S-7)!==112||_.charCodeAt(S-8)!==95||_.charCodeAt(S-9)!==95)return!1;for(var C=S-10;C>=0;C--)if(_.charCodeAt(C)!==36)return!1;return!0}function c(_,S,C){var T=m(_.source,S.source);return T!==0||(T=_.originalLine-S.originalLine,T!==0)||(T=_.originalColumn-S.originalColumn,T!==0||C)||(T=_.generatedColumn-S.generatedColumn,T!==0)||(T=_.generatedLine-S.generatedLine,T!==0)?T:m(_.name,S.name)}e.compareByOriginalPositions=c;function g(_,S,C){var T=_.generatedLine-S.generatedLine;return T!==0||(T=_.generatedColumn-S.generatedColumn,T!==0||C)||(T=m(_.source,S.source),T!==0)||(T=_.originalLine-S.originalLine,T!==0)||(T=_.originalColumn-S.originalColumn,T!==0)?T:m(_.name,S.name)}e.compareByGeneratedPositionsDeflated=g;function m(_,S){return _===S?0:_===null?1:S===null?-1:_>S?1:-1}function x(_,S){var C=_.generatedLine-S.generatedLine;return C!==0||(C=_.generatedColumn-S.generatedColumn,C!==0)||(C=m(_.source,S.source),C!==0)||(C=_.originalLine-S.originalLine,C!==0)||(C=_.originalColumn-S.originalColumn,C!==0)?C:m(_.name,S.name)}e.compareByGeneratedPositionsInflated=x;function v(_){return JSON.parse(_.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=v;function y(_,S,C){if(S=S||"",_&&(_[_.length-1]!=="/"&&S[0]!=="/"&&(_+="/"),S=_+S),C){var T=a(C);if(!T)throw new Error("sourceMapURL could not be parsed");if(T.path){var R=T.path.lastIndexOf("/");R>=0&&(T.path=T.path.substring(0,R+1))}S=s(i(T),S)}return o(S)}e.computeSourceURL=y})(c0)),c0}var d0={},Rp;function u6(){if(Rp)return d0;Rp=1;var e=Gs(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(i,o){for(var s=new r,l=0,u=i.length;l<u;l++)s.add(i[l],o);return s},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(i,o){var s=n?i:e.toSetString(i),l=n?this.has(i):t.call(this._set,s),u=this._array.length;(!l||o)&&this._array.push(i),l||(n?this._set.set(i,u):this._set[s]=u)},r.prototype.has=function(i){if(n)return this._set.has(i);var o=e.toSetString(i);return t.call(this._set,o)},r.prototype.indexOf=function(i){if(n){var o=this._set.get(i);if(o>=0)return o}else{var s=e.toSetString(i);if(t.call(this._set,s))return this._set[s]}throw new Error('"'+i+'" is not in the set.')},r.prototype.at=function(i){if(i>=0&&i<this._array.length)return this._array[i];throw new Error("No element indexed by "+i)},r.prototype.toArray=function(){return this._array.slice()},d0.ArraySet=r,d0}var f0={},Pp;function R8(){if(Pp)return f0;Pp=1;var e=Gs();function t(r,a){var i=r.generatedLine,o=a.generatedLine,s=r.generatedColumn,l=a.generatedColumn;return o>i||o==i&&l>=s||e.compareByGeneratedPositionsInflated(r,a)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(a,i){this._array.forEach(a,i)},n.prototype.add=function(a){t(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},f0.MappingList=n,f0}var Dp;function c6(){if(Dp)return u0;Dp=1;var e=l6(),t=Gs(),n=u6().ArraySet,r=R8().MappingList;function a(i){i||(i={}),this._file=t.getArg(i,"file",null),this._sourceRoot=t.getArg(i,"sourceRoot",null),this._skipValidation=t.getArg(i,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return a.prototype._version=3,a.fromSourceMap=function(o){var s=o.sourceRoot,l=new a({file:o.file,sourceRoot:s});return o.eachMapping(function(u){var d={generated:{line:u.generatedLine,column:u.generatedColumn}};u.source!=null&&(d.source=u.source,s!=null&&(d.source=t.relative(s,d.source)),d.original={line:u.originalLine,column:u.originalColumn},u.name!=null&&(d.name=u.name)),l.addMapping(d)}),o.sources.forEach(function(u){var d=u;s!==null&&(d=t.relative(s,u)),l._sources.has(d)||l._sources.add(d);var p=o.sourceContentFor(u);p!=null&&l.setSourceContent(u,p)}),l},a.prototype.addMapping=function(o){var s=t.getArg(o,"generated"),l=t.getArg(o,"original",null),u=t.getArg(o,"source",null),d=t.getArg(o,"name",null);this._skipValidation||this._validateMapping(s,l,u,d),u!=null&&(u=String(u),this._sources.has(u)||this._sources.add(u)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:s.line,generatedColumn:s.column,originalLine:l!=null&&l.line,originalColumn:l!=null&&l.column,source:u,name:d})},a.prototype.setSourceContent=function(o,s){var l=o;this._sourceRoot!=null&&(l=t.relative(this._sourceRoot,l)),s!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(l)]=s):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(l)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(o,s,l){var u=s;if(s==null){if(o.file==null)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');u=o.file}var d=this._sourceRoot;d!=null&&(u=t.relative(d,u));var p=new n,f=new n;this._mappings.unsortedForEach(function(h){if(h.source===u&&h.originalLine!=null){var c=o.originalPositionFor({line:h.originalLine,column:h.originalColumn});c.source!=null&&(h.source=c.source,l!=null&&(h.source=t.join(l,h.source)),d!=null&&(h.source=t.relative(d,h.source)),h.originalLine=c.line,h.originalColumn=c.column,c.name!=null&&(h.name=c.name))}var g=h.source;g!=null&&!p.has(g)&&p.add(g);var m=h.name;m!=null&&!f.has(m)&&f.add(m)},this),this._sources=p,this._names=f,o.sources.forEach(function(h){var c=o.sourceContentFor(h);c!=null&&(l!=null&&(h=t.join(l,h)),d!=null&&(h=t.relative(d,h)),this.setSourceContent(h,c))},this)},a.prototype._validateMapping=function(o,s,l,u){if(s&&typeof s.line!="number"&&typeof s.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(o&&"line"in o&&"column"in o&&o.line>0&&o.column>=0&&!s&&!l&&!u)){if(o&&"line"in o&&"column"in o&&s&&"line"in s&&"column"in s&&o.line>0&&o.column>=0&&s.line>0&&s.column>=0&&l)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:o,source:l,original:s,name:u}))}},a.prototype._serializeMappings=function(){for(var o=0,s=1,l=0,u=0,d=0,p=0,f="",h,c,g,m,x=this._mappings.toArray(),v=0,y=x.length;v<y;v++){if(c=x[v],h="",c.generatedLine!==s)for(o=0;c.generatedLine!==s;)h+=";",s++;else if(v>0){if(!t.compareByGeneratedPositionsInflated(c,x[v-1]))continue;h+=","}h+=e.encode(c.generatedColumn-o),o=c.generatedColumn,c.source!=null&&(m=this._sources.indexOf(c.source),h+=e.encode(m-p),p=m,h+=e.encode(c.originalLine-1-u),u=c.originalLine-1,h+=e.encode(c.originalColumn-l),l=c.originalColumn,c.name!=null&&(g=this._names.indexOf(c.name),h+=e.encode(g-d),d=g)),f+=h}return f},a.prototype._generateSourcesContent=function(o,s){return o.map(function(l){if(!this._sourcesContents)return null;s!=null&&(l=t.relative(s,l));var u=t.toSetString(l);return Object.prototype.hasOwnProperty.call(this._sourcesContents,u)?this._sourcesContents[u]:null},this)},a.prototype.toJSON=function(){var o={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(o.file=this._file),this._sourceRoot!=null&&(o.sourceRoot=this._sourceRoot),this._sourcesContents&&(o.sourcesContent=this._generateSourcesContent(o.sources,o.sourceRoot)),o},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},u0.SourceMapGenerator=a,u0}var Wo={},h0={},Mp;function P8(){return Mp||(Mp=1,(function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,a,i,o,s){var l=Math.floor((r-n)/2)+n,u=o(a,i[l],!0);return u===0?l:u>0?r-l>1?t(l,r,a,i,o,s):s==e.LEAST_UPPER_BOUND?r<i.length?r:-1:l:l-n>1?t(n,l,a,i,o,s):s==e.LEAST_UPPER_BOUND?l:n<0?-1:n}e.search=function(r,a,i,o){if(a.length===0)return-1;var s=t(-1,a.length,r,a,i,o||e.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&i(a[s],a[s-1],!0)===0;)--s;return s}})(h0)),h0}var p0={},Bp;function D8(){if(Bp)return p0;Bp=1;function e(r,a,i){var o=r[a];r[a]=r[i],r[i]=o}function t(r,a){return Math.round(r+Math.random()*(a-r))}function n(r,a,i,o){if(i<o){var s=t(i,o),l=i-1;e(r,s,o);for(var u=r[o],d=i;d<o;d++)a(r[d],u)<=0&&(l+=1,e(r,l,d));e(r,l+1,d);var p=l+1;n(r,a,i,p-1),n(r,a,p+1,o)}}return p0.quickSort=function(r,a){n(r,a,0,r.length-1)},p0}var Fp;function M8(){if(Fp)return Wo;Fp=1;var e=Gs(),t=P8(),n=u6().ArraySet,r=l6(),a=D8().quickSort;function i(u,d){var p=u;return typeof u=="string"&&(p=e.parseSourceMapInput(u)),p.sections!=null?new l(p,d):new o(p,d)}i.fromSourceMap=function(u,d){return o.fromSourceMap(u,d)},i.prototype._version=3,i.prototype.__generatedMappings=null,Object.defineProperty(i.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),i.prototype.__originalMappings=null,Object.defineProperty(i.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),i.prototype._charIsMappingSeparator=function(d,p){var f=d.charAt(p);return f===";"||f===","},i.prototype._parseMappings=function(d,p){throw new Error("Subclasses must implement _parseMappings")},i.GENERATED_ORDER=1,i.ORIGINAL_ORDER=2,i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2,i.prototype.eachMapping=function(d,p,f){var h=p||null,c=f||i.GENERATED_ORDER,g;switch(c){case i.GENERATED_ORDER:g=this._generatedMappings;break;case i.ORIGINAL_ORDER:g=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var m=this.sourceRoot;g.map(function(x){var v=x.source===null?null:this._sources.at(x.source);return v=e.computeSourceURL(m,v,this._sourceMapURL),{source:v,generatedLine:x.generatedLine,generatedColumn:x.generatedColumn,originalLine:x.originalLine,originalColumn:x.originalColumn,name:x.name===null?null:this._names.at(x.name)}},this).forEach(d,h)},i.prototype.allGeneratedPositionsFor=function(d){var p=e.getArg(d,"line"),f={source:e.getArg(d,"source"),originalLine:p,originalColumn:e.getArg(d,"column",0)};if(f.source=this._findSourceIndex(f.source),f.source<0)return[];var h=[],c=this._findMapping(f,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(c>=0){var g=this._originalMappings[c];if(d.column===void 0)for(var m=g.originalLine;g&&g.originalLine===m;)h.push({line:e.getArg(g,"generatedLine",null),column:e.getArg(g,"generatedColumn",null),lastColumn:e.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++c];else for(var x=g.originalColumn;g&&g.originalLine===p&&g.originalColumn==x;)h.push({line:e.getArg(g,"generatedLine",null),column:e.getArg(g,"generatedColumn",null),lastColumn:e.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++c]}return h},Wo.SourceMapConsumer=i;function o(u,d){var p=u;typeof u=="string"&&(p=e.parseSourceMapInput(u));var f=e.getArg(p,"version"),h=e.getArg(p,"sources"),c=e.getArg(p,"names",[]),g=e.getArg(p,"sourceRoot",null),m=e.getArg(p,"sourcesContent",null),x=e.getArg(p,"mappings"),v=e.getArg(p,"file",null);if(f!=this._version)throw new Error("Unsupported version: "+f);g&&(g=e.normalize(g)),h=h.map(String).map(e.normalize).map(function(y){return g&&e.isAbsolute(g)&&e.isAbsolute(y)?e.relative(g,y):y}),this._names=n.fromArray(c.map(String),!0),this._sources=n.fromArray(h,!0),this._absoluteSources=this._sources.toArray().map(function(y){return e.computeSourceURL(g,y,d)}),this.sourceRoot=g,this.sourcesContent=m,this._mappings=x,this._sourceMapURL=d,this.file=v}o.prototype=Object.create(i.prototype),o.prototype.consumer=i,o.prototype._findSourceIndex=function(u){var d=u;if(this.sourceRoot!=null&&(d=e.relative(this.sourceRoot,d)),this._sources.has(d))return this._sources.indexOf(d);var p;for(p=0;p<this._absoluteSources.length;++p)if(this._absoluteSources[p]==u)return p;return-1},o.fromSourceMap=function(d,p){var f=Object.create(o.prototype),h=f._names=n.fromArray(d._names.toArray(),!0),c=f._sources=n.fromArray(d._sources.toArray(),!0);f.sourceRoot=d._sourceRoot,f.sourcesContent=d._generateSourcesContent(f._sources.toArray(),f.sourceRoot),f.file=d._file,f._sourceMapURL=p,f._absoluteSources=f._sources.toArray().map(function(C){return e.computeSourceURL(f.sourceRoot,C,p)});for(var g=d._mappings.toArray().slice(),m=f.__generatedMappings=[],x=f.__originalMappings=[],v=0,y=g.length;v<y;v++){var _=g[v],S=new s;S.generatedLine=_.generatedLine,S.generatedColumn=_.generatedColumn,_.source&&(S.source=c.indexOf(_.source),S.originalLine=_.originalLine,S.originalColumn=_.originalColumn,_.name&&(S.name=h.indexOf(_.name)),x.push(S)),m.push(S)}return a(f.__originalMappings,e.compareByOriginalPositions),f},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function s(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o.prototype._parseMappings=function(d,p){for(var f=1,h=0,c=0,g=0,m=0,x=0,v=d.length,y=0,_={},S={},C=[],T=[],R,P,A,I,$;y<v;)if(d.charAt(y)===";")f++,y++,h=0;else if(d.charAt(y)===",")y++;else{for(R=new s,R.generatedLine=f,I=y;I<v&&!this._charIsMappingSeparator(d,I);I++);if(P=d.slice(y,I),A=_[P],A)y+=P.length;else{for(A=[];y<I;)r.decode(d,y,S),$=S.value,y=S.rest,A.push($);if(A.length===2)throw new Error("Found a source, but no line and column");if(A.length===3)throw new Error("Found a source and line, but no column");_[P]=A}R.generatedColumn=h+A[0],h=R.generatedColumn,A.length>1&&(R.source=m+A[1],m+=A[1],R.originalLine=c+A[2],c=R.originalLine,R.originalLine+=1,R.originalColumn=g+A[3],g=R.originalColumn,A.length>4&&(R.name=x+A[4],x+=A[4])),T.push(R),typeof R.originalLine=="number"&&C.push(R)}a(T,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=T,a(C,e.compareByOriginalPositions),this.__originalMappings=C},o.prototype._findMapping=function(d,p,f,h,c,g){if(d[f]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+d[f]);if(d[h]<0)throw new TypeError("Column must be greater than or equal to 0, got "+d[h]);return t.search(d,p,c,g)},o.prototype.computeColumnSpans=function(){for(var d=0;d<this._generatedMappings.length;++d){var p=this._generatedMappings[d];if(d+1<this._generatedMappings.length){var f=this._generatedMappings[d+1];if(p.generatedLine===f.generatedLine){p.lastGeneratedColumn=f.generatedColumn-1;continue}}p.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(d){var p={generatedLine:e.getArg(d,"line"),generatedColumn:e.getArg(d,"column")},f=this._findMapping(p,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(d,"bias",i.GREATEST_LOWER_BOUND));if(f>=0){var h=this._generatedMappings[f];if(h.generatedLine===p.generatedLine){var c=e.getArg(h,"source",null);c!==null&&(c=this._sources.at(c),c=e.computeSourceURL(this.sourceRoot,c,this._sourceMapURL));var g=e.getArg(h,"name",null);return g!==null&&(g=this._names.at(g)),{source:c,line:e.getArg(h,"originalLine",null),column:e.getArg(h,"originalColumn",null),name:g}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(d){return d==null}):!1},o.prototype.sourceContentFor=function(d,p){if(!this.sourcesContent)return null;var f=this._findSourceIndex(d);if(f>=0)return this.sourcesContent[f];var h=d;this.sourceRoot!=null&&(h=e.relative(this.sourceRoot,h));var c;if(this.sourceRoot!=null&&(c=e.urlParse(this.sourceRoot))){var g=h.replace(/^file:\/\//,"");if(c.scheme=="file"&&this._sources.has(g))return this.sourcesContent[this._sources.indexOf(g)];if((!c.path||c.path=="/")&&this._sources.has("/"+h))return this.sourcesContent[this._sources.indexOf("/"+h)]}if(p)return null;throw new Error('"'+h+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(d){var p=e.getArg(d,"source");if(p=this._findSourceIndex(p),p<0)return{line:null,column:null,lastColumn:null};var f={source:p,originalLine:e.getArg(d,"line"),originalColumn:e.getArg(d,"column")},h=this._findMapping(f,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(d,"bias",i.GREATEST_LOWER_BOUND));if(h>=0){var c=this._originalMappings[h];if(c.source===f.source)return{line:e.getArg(c,"generatedLine",null),column:e.getArg(c,"generatedColumn",null),lastColumn:e.getArg(c,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Wo.BasicSourceMapConsumer=o;function l(u,d){var p=u;typeof u=="string"&&(p=e.parseSourceMapInput(u));var f=e.getArg(p,"version"),h=e.getArg(p,"sections");if(f!=this._version)throw new Error("Unsupported version: "+f);this._sources=new n,this._names=new n;var c={line:-1,column:0};this._sections=h.map(function(g){if(g.url)throw new Error("Support for url field in sections not implemented.");var m=e.getArg(g,"offset"),x=e.getArg(m,"line"),v=e.getArg(m,"column");if(x<c.line||x===c.line&&v<c.column)throw new Error("Section offsets must be ordered and non-overlapping.");return c=m,{generatedOffset:{generatedLine:x+1,generatedColumn:v+1},consumer:new i(e.getArg(g,"map"),d)}})}return l.prototype=Object.create(i.prototype),l.prototype.constructor=i,l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){for(var u=[],d=0;d<this._sections.length;d++)for(var p=0;p<this._sections[d].consumer.sources.length;p++)u.push(this._sections[d].consumer.sources[p]);return u}}),l.prototype.originalPositionFor=function(d){var p={generatedLine:e.getArg(d,"line"),generatedColumn:e.getArg(d,"column")},f=t.search(p,this._sections,function(c,g){var m=c.generatedLine-g.generatedOffset.generatedLine;return m||c.generatedColumn-g.generatedOffset.generatedColumn}),h=this._sections[f];return h?h.consumer.originalPositionFor({line:p.generatedLine-(h.generatedOffset.generatedLine-1),column:p.generatedColumn-(h.generatedOffset.generatedLine===p.generatedLine?h.generatedOffset.generatedColumn-1:0),bias:d.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(d){return d.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(d,p){for(var f=0;f<this._sections.length;f++){var h=this._sections[f],c=h.consumer.sourceContentFor(d,!0);if(c)return c}if(p)return null;throw new Error('"'+d+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(d){for(var p=0;p<this._sections.length;p++){var f=this._sections[p];if(f.consumer._findSourceIndex(e.getArg(d,"source"))!==-1){var h=f.consumer.generatedPositionFor(d);if(h){var c={line:h.line+(f.generatedOffset.generatedLine-1),column:h.column+(f.generatedOffset.generatedLine===h.line?f.generatedOffset.generatedColumn-1:0)};return c}}}return{line:null,column:null}},l.prototype._parseMappings=function(d,p){this.__generatedMappings=[],this.__originalMappings=[];for(var f=0;f<this._sections.length;f++)for(var h=this._sections[f],c=h.consumer._generatedMappings,g=0;g<c.length;g++){var m=c[g],x=h.consumer._sources.at(m.source);x=e.computeSourceURL(h.consumer.sourceRoot,x,this._sourceMapURL),this._sources.add(x),x=this._sources.indexOf(x);var v=null;m.name&&(v=h.consumer._names.at(m.name),this._names.add(v),v=this._names.indexOf(v));var y={source:x,generatedLine:m.generatedLine+(h.generatedOffset.generatedLine-1),generatedColumn:m.generatedColumn+(h.generatedOffset.generatedLine===m.generatedLine?h.generatedOffset.generatedColumn-1:0),originalLine:m.originalLine,originalColumn:m.originalColumn,name:v};this.__generatedMappings.push(y),typeof y.originalLine=="number"&&this.__originalMappings.push(y)}a(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),a(this.__originalMappings,e.compareByOriginalPositions)},Wo.IndexedSourceMapConsumer=l,Wo}var g0={},$p;function B8(){if($p)return g0;$p=1;var e=c6().SourceMapGenerator,t=Gs(),n=/(\r?\n)/,r=10,a="$$$isSourceNode$$$";function i(o,s,l,u,d){this.children=[],this.sourceContents={},this.line=o==null?null:o,this.column=s==null?null:s,this.source=l==null?null:l,this.name=d==null?null:d,this[a]=!0,u!=null&&this.add(u)}return i.fromStringWithSourceMap=function(s,l,u){var d=new i,p=s.split(n),f=0,h=function(){var v=_(),y=_()||"";return v+y;function _(){return f<p.length?p[f++]:void 0}},c=1,g=0,m=null;return l.eachMapping(function(v){if(m!==null)if(c<v.generatedLine)x(m,h()),c++,g=0;else{var y=p[f]||"",_=y.substr(0,v.generatedColumn-g);p[f]=y.substr(v.generatedColumn-g),g=v.generatedColumn,x(m,_),m=v;return}for(;c<v.generatedLine;)d.add(h()),c++;if(g<v.generatedColumn){var y=p[f]||"";d.add(y.substr(0,v.generatedColumn)),p[f]=y.substr(v.generatedColumn),g=v.generatedColumn}m=v},this),f<p.length&&(m&&x(m,h()),d.add(p.splice(f).join(""))),l.sources.forEach(function(v){var y=l.sourceContentFor(v);y!=null&&(u!=null&&(v=t.join(u,v)),d.setSourceContent(v,y))}),d;function x(v,y){if(v===null||v.source===void 0)d.add(y);else{var _=u?t.join(u,v.source):v.source;d.add(new i(v.originalLine,v.originalColumn,_,y,v.name))}}},i.prototype.add=function(s){if(Array.isArray(s))s.forEach(function(l){this.add(l)},this);else if(s[a]||typeof s=="string")s&&this.children.push(s);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+s);return this},i.prototype.prepend=function(s){if(Array.isArray(s))for(var l=s.length-1;l>=0;l--)this.prepend(s[l]);else if(s[a]||typeof s=="string")this.children.unshift(s);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+s);return this},i.prototype.walk=function(s){for(var l,u=0,d=this.children.length;u<d;u++)l=this.children[u],l[a]?l.walk(s):l!==""&&s(l,{source:this.source,line:this.line,column:this.column,name:this.name})},i.prototype.join=function(s){var l,u,d=this.children.length;if(d>0){for(l=[],u=0;u<d-1;u++)l.push(this.children[u]),l.push(s);l.push(this.children[u]),this.children=l}return this},i.prototype.replaceRight=function(s,l){var u=this.children[this.children.length-1];return u[a]?u.replaceRight(s,l):typeof u=="string"?this.children[this.children.length-1]=u.replace(s,l):this.children.push("".replace(s,l)),this},i.prototype.setSourceContent=function(s,l){this.sourceContents[t.toSetString(s)]=l},i.prototype.walkSourceContents=function(s){for(var l=0,u=this.children.length;l<u;l++)this.children[l][a]&&this.children[l].walkSourceContents(s);for(var d=Object.keys(this.sourceContents),l=0,u=d.length;l<u;l++)s(t.fromSetString(d[l]),this.sourceContents[d[l]])},i.prototype.toString=function(){var s="";return this.walk(function(l){s+=l}),s},i.prototype.toStringWithSourceMap=function(s){var l={code:"",line:1,column:0},u=new e(s),d=!1,p=null,f=null,h=null,c=null;return this.walk(function(g,m){l.code+=g,m.source!==null&&m.line!==null&&m.column!==null?((p!==m.source||f!==m.line||h!==m.column||c!==m.name)&&u.addMapping({source:m.source,original:{line:m.line,column:m.column},generated:{line:l.line,column:l.column},name:m.name}),p=m.source,f=m.line,h=m.column,c=m.name,d=!0):d&&(u.addMapping({generated:{line:l.line,column:l.column}}),p=null,d=!1);for(var x=0,v=g.length;x<v;x++)g.charCodeAt(x)===r?(l.line++,l.column=0,x+1===v?(p=null,d=!1):d&&u.addMapping({source:m.source,original:{line:m.line,column:m.column},generated:{line:l.line,column:l.column},name:m.name})):l.column++}),this.walkSourceContents(function(g,m){u.setSourceContent(g,m)}),{code:l.code,map:u}},g0.SourceNode=i,g0}var Hp;function F8(){return Hp||(Hp=1,qo.SourceMapGenerator=c6().SourceMapGenerator,qo.SourceMapConsumer=M8().SourceMapConsumer,qo.SourceNode=B8().SourceNode),qo}var Up;function $8(){return Up||(Up=1,(function(e,t){t.__esModule=!0;var n=Vn(),r=void 0;try{var a=F8();r=a.SourceNode}catch(s){}r||(r=function(s,l,u,d){this.src="",d&&this.add(d)},r.prototype={add:function(l){n.isArray(l)&&(l=l.join("")),this.src+=l},prepend:function(l){n.isArray(l)&&(l=l.join("")),this.src=l+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function i(s,l,u){if(n.isArray(s)){for(var d=[],p=0,f=s.length;p<f;p++)d.push(l.wrap(s[p],u));return d}else if(typeof s=="boolean"||typeof s=="number")return s+"";return s}function o(s){this.srcFile=s,this.source=[]}o.prototype={isEmpty:function(){return!this.source.length},prepend:function(l,u){this.source.unshift(this.wrap(l,u))},push:function(l,u){this.source.push(this.wrap(l,u))},merge:function(){var l=this.empty();return this.each(function(u){l.add([" ",u,"\n"])}),l},each:function(l){for(var u=0,d=this.source.length;u<d;u++)l(this.source[u])},empty:function(){var l=this.currentLocation||{start:{}};return new r(l.start.line,l.start.column,this.srcFile)},wrap:function(l){var u=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return l instanceof r?l:(l=i(l,this,u),new r(u.start.line,u.start.column,this.srcFile,l))},functionCall:function(l,u,d){return d=this.generateList(d),this.wrap([l,u?"."+u+"(":"(",d,")"])},quotedString:function(l){return'"'+(l+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(l){var u=this,d=[];Object.keys(l).forEach(function(f){var h=i(l[f],u);h!=="undefined"&&d.push([u.quotedString(f),":",h])});var p=this.generateList(d);return p.prepend("{"),p.add("}"),p},generateList:function(l){for(var u=this.empty(),d=0,p=l.length;d<p;d++)d&&u.add(","),u.add(i(l[d],this));return u},generateArray:function(l){var u=this.generateList(l);return u.prepend("["),u.add("]"),u}},t.default=o,e.exports=t.default})(Hl,Hl.exports)),Hl.exports}var zp;function H8(){return zp||(zp=1,(function(e,t){t.__esModule=!0;function n(f){return f&&f.__esModule?f:{default:f}}var r=uf(),a=Br(),i=n(a),o=Vn(),s=$8(),l=n(s);function u(f){this.value=f}function d(){}d.prototype={nameLookup:function(h,c){return this.internalNameLookup(h,c)},depthedLookup:function(h){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(h),")"]},compilerInfo:function(){var h=r.COMPILER_REVISION,c=r.REVISION_CHANGES[h];return[h,c]},appendToBuffer:function(h,c,g){return o.isArray(h)||(h=[h]),h=this.source.wrap(h,c),this.environment.isSimple?["return ",h,";"]:g?["buffer += ",h,";"]:(h.appendToBuffer=!0,h)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(h,c){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",h,",",JSON.stringify(c),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(h,c,g,m){this.environment=h,this.options=c,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!m,this.name=this.environment.name,this.isChild=!!g,this.context=g||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(h,c),this.useDepths=this.useDepths||h.useDepths||h.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||h.useBlockParams;var x=h.opcodes,v=void 0,y=void 0,_=void 0,S=void 0;for(_=0,S=x.length;_<S;_++)v=x[_],this.source.currentLocation=v.loc,y=y||v.loc,this[v.opcode].apply(this,v.args);if(this.source.currentLocation=y,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new i.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),m?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var C=this.createFunctionContext(m);if(this.isChild)return C;var T={compiler:this.compilerInfo(),main:C};this.decorators&&(T.main_d=this.decorators,T.useDecorators=!0);var R=this.context,P=R.programs,A=R.decorators;for(_=0,S=P.length;_<S;_++)P[_]&&(T[_]=P[_],A[_]&&(T[_+"_d"]=A[_],T.useDecorators=!0));return this.environment.usePartial&&(T.usePartial=!0),this.options.data&&(T.useData=!0),this.useDepths&&(T.useDepths=!0),this.useBlockParams&&(T.useBlockParams=!0),this.options.compat&&(T.compat=!0),m?T.compilerOptions=this.options:(T.compiler=JSON.stringify(T.compiler),this.source.currentLocation={start:{line:1,column:0}},T=this.objectLiteral(T),c.srcName?(T=T.toStringWithSourceMap({file:c.destName}),T.map=T.map&&T.map.toString()):T=T.toString()),T},preamble:function(){this.lastContext=0,this.source=new l.default(this.options.srcName),this.decorators=new l.default(this.options.srcName)},createFunctionContext:function(h){var c=this,g="",m=this.stackVars.concat(this.registers.list);m.length>0&&(g+=", "+m.join(", "));var x=0;Object.keys(this.aliases).forEach(function(_){var S=c.aliases[_];S.children&&S.referenceCount>1&&(g+=", alias"+ ++x+"="+_,S.children[0]="alias"+x)}),this.lookupPropertyFunctionIsUsed&&(g+=", "+this.lookupPropertyFunctionVarDeclaration());var v=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&v.push("blockParams"),this.useDepths&&v.push("depths");var y=this.mergeSource(g);return h?(v.push(y),Function.apply(this,v)):this.source.wrap(["function(",v.join(","),") {\n ",y,"}"])},mergeSource:function(h){var c=this.environment.isSimple,g=!this.forceBuffer,m=void 0,x=void 0,v=void 0,y=void 0;return this.source.each(function(_){_.appendToBuffer?(v?_.prepend(" + "):v=_,y=_):(v&&(x?v.prepend("buffer += "):m=!0,y.add(";"),v=y=void 0),x=!0,c||(g=!1))}),g?v?(v.prepend("return "),y.add(";")):x||this.source.push('return "";'):(h+=", buffer = "+(m?"":this.initializeBuffer()),v?(v.prepend("return buffer + "),y.add(";")):this.source.push("return buffer;")),h&&this.source.prepend("var "+h.substring(2)+(m?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(h){var c=this.aliasable("container.hooks.blockHelperMissing"),g=[this.contextName(0)];this.setupHelperArgs(h,0,g);var m=this.popStack();g.splice(1,0,m),this.push(this.source.functionCall(c,"call",g))},ambiguousBlockValue:function(){var h=this.aliasable("container.hooks.blockHelperMissing"),c=[this.contextName(0)];this.setupHelperArgs("",0,c,!0),this.flushInline();var g=this.topStack();c.splice(1,0,g),this.pushSource(["if (!",this.lastHelper,") { ",g," = ",this.source.functionCall(h,"call",c),"}"])},appendContent:function(h){this.pendingContent?h=this.pendingContent+h:this.pendingLocation=this.source.currentLocation,this.pendingContent=h},append:function(){if(this.isInline())this.replaceStack(function(c){return[" != null ? ",c,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var h=this.popStack();this.pushSource(["if (",h," != null) { ",this.appendToBuffer(h,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(h){this.lastContext=h},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(h,c,g,m){var x=0;!m&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(h[x++])):this.pushContext(),this.resolvePath("context",h,x,c,g)},lookupBlockParam:function(h,c){this.useBlockParams=!0,this.push(["blockParams[",h[0],"][",h[1],"]"]),this.resolvePath("context",c,1)},lookupData:function(h,c,g){h?this.pushStackLiteral("container.data(data, "+h+")"):this.pushStackLiteral("data"),this.resolvePath("data",c,0,!0,g)},resolvePath:function(h,c,g,m,x){var v=this;if(this.options.strict||this.options.assumeObjects){this.push(p(this.options.strict&&x,this,c,g,h));return}for(var y=c.length;g<y;g++)this.replaceStack(function(_){var S=v.nameLookup(_,c[g],h);return m?[" && ",S]:[" != null ? ",S," : ",_]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(h,c){this.pushContext(),this.pushString(c),c!=="SubExpression"&&(typeof h=="string"?this.pushString(h):this.pushStackLiteral(h))},emptyHash:function(h){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(h?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var h=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(h.ids)),this.stringParams&&(this.push(this.objectLiteral(h.contexts)),this.push(this.objectLiteral(h.types))),this.push(this.objectLiteral(h.values))},pushString:function(h){this.pushStackLiteral(this.quotedString(h))},pushLiteral:function(h){this.pushStackLiteral(h)},pushProgram:function(h){h!=null?this.pushStackLiteral(this.programExpression(h)):this.pushStackLiteral(null)},registerDecorator:function(h,c){var g=this.nameLookup("decorators",c,"decorator"),m=this.setupHelperArgs(c,h);this.decorators.push(["fn = ",this.decorators.functionCall(g,"",["fn","props","container",m])," || fn;"])},invokeHelper:function(h,c,g){var m=this.popStack(),x=this.setupHelper(h,c),v=[];g&&v.push(x.name),v.push(m),this.options.strict||v.push(this.aliasable("container.hooks.helperMissing"));var y=["(",this.itemsSeparatedBy(v,"||"),")"],_=this.source.functionCall(y,"call",x.callParams);this.push(_)},itemsSeparatedBy:function(h,c){var g=[];g.push(h[0]);for(var m=1;m<h.length;m++)g.push(c,h[m]);return g},invokeKnownHelper:function(h,c){var g=this.setupHelper(h,c);this.push(this.source.functionCall(g.name,"call",g.callParams))},invokeAmbiguous:function(h,c){this.useRegister("helper");var g=this.popStack();this.emptyHash();var m=this.setupHelper(0,h,c),x=this.lastHelper=this.nameLookup("helpers",h,"helper"),v=["(","(helper = ",x," || ",g,")"];this.options.strict||(v[0]="(helper = ",v.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",v,m.paramsInit?["),(",m.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",m.callParams)," : helper))"])},invokePartial:function(h,c,g){var m=[],x=this.setupParams(c,1,m);h&&(c=this.popStack(),delete x.name),g&&(x.indent=JSON.stringify(g)),x.helpers="helpers",x.partials="partials",x.decorators="container.decorators",h?m.unshift(c):m.unshift(this.nameLookup("partials",c,"partial")),this.options.compat&&(x.depths="depths"),x=this.objectLiteral(x),m.push(x),this.push(this.source.functionCall("container.invokePartial","",m))},assignToHash:function(h){var c=this.popStack(),g=void 0,m=void 0,x=void 0;this.trackIds&&(x=this.popStack()),this.stringParams&&(m=this.popStack(),g=this.popStack());var v=this.hash;g&&(v.contexts[h]=g),m&&(v.types[h]=m),x&&(v.ids[h]=x),v.values[h]=c},pushId:function(h,c,g){h==="BlockParam"?this.pushStackLiteral("blockParams["+c[0]+"].path["+c[1]+"]"+(g?" + "+JSON.stringify("."+g):"")):h==="PathExpression"?this.pushString(c):h==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:d,compileChildren:function(h,c){for(var g=h.children,m=void 0,x=void 0,v=0,y=g.length;v<y;v++){m=g[v],x=new this.compiler;var _=this.matchExistingProgram(m);if(_==null){this.context.programs.push("");var S=this.context.programs.length;m.index=S,m.name="program"+S,this.context.programs[S]=x.compile(m,c,this.context,!this.precompile),this.context.decorators[S]=x.decorators,this.context.environments[S]=m,this.useDepths=this.useDepths||x.useDepths,this.useBlockParams=this.useBlockParams||x.useBlockParams,m.useDepths=this.useDepths,m.useBlockParams=this.useBlockParams}else m.index=_.index,m.name="program"+_.index,this.useDepths=this.useDepths||_.useDepths,this.useBlockParams=this.useBlockParams||_.useBlockParams}},matchExistingProgram:function(h){for(var c=0,g=this.context.environments.length;c<g;c++){var m=this.context.environments[c];if(m&&m.equals(h))return m}},programExpression:function(h){var c=this.environment.children[h],g=[c.index,"data",c.blockParams];return(this.useBlockParams||this.useDepths)&&g.push("blockParams"),this.useDepths&&g.push("depths"),"container.program("+g.join(", ")+")"},useRegister:function(h){this.registers[h]||(this.registers[h]=!0,this.registers.list.push(h))},push:function(h){return h instanceof u||(h=this.source.wrap(h)),this.inlineStack.push(h),h},pushStackLiteral:function(h){this.push(new u(h))},pushSource:function(h){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),h&&this.source.push(h)},replaceStack:function(h){var c=["("],g=void 0,m=void 0,x=void 0;if(!this.isInline())throw new i.default("replaceStack on non-inline");var v=this.popStack(!0);if(v instanceof u)g=[v.value],c=["(",g],x=!0;else{m=!0;var y=this.incrStack();c=["((",this.push(y)," = ",v,")"],g=this.topStack()}var _=h.call(this,g);x||this.popStack(),m&&this.stackSlot--,this.push(c.concat(_,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var h=this.inlineStack;this.inlineStack=[];for(var c=0,g=h.length;c<g;c++){var m=h[c];if(m instanceof u)this.compileStack.push(m);else{var x=this.incrStack();this.pushSource([x," = ",m,";"]),this.compileStack.push(x)}}},isInline:function(){return this.inlineStack.length},popStack:function(h){var c=this.isInline(),g=(c?this.inlineStack:this.compileStack).pop();if(!h&&g instanceof u)return g.value;if(!c){if(!this.stackSlot)throw new i.default("Invalid stack pop");this.stackSlot--}return g},topStack:function(){var h=this.isInline()?this.inlineStack:this.compileStack,c=h[h.length-1];return c instanceof u?c.value:c},contextName:function(h){return this.useDepths&&h?"depths["+h+"]":"depth"+h},quotedString:function(h){return this.source.quotedString(h)},objectLiteral:function(h){return this.source.objectLiteral(h)},aliasable:function(h){var c=this.aliases[h];return c?(c.referenceCount++,c):(c=this.aliases[h]=this.source.wrap(h),c.aliasable=!0,c.referenceCount=1,c)},setupHelper:function(h,c,g){var m=[],x=this.setupHelperArgs(c,h,m,g),v=this.nameLookup("helpers",c,"helper"),y=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:m,paramsInit:x,name:v,callParams:[y].concat(m)}},setupParams:function(h,c,g){var m={},x=[],v=[],y=[],_=!g,S=void 0;_&&(g=[]),m.name=this.quotedString(h),m.hash=this.popStack(),this.trackIds&&(m.hashIds=this.popStack()),this.stringParams&&(m.hashTypes=this.popStack(),m.hashContexts=this.popStack());var C=this.popStack(),T=this.popStack();(T||C)&&(m.fn=T||"container.noop",m.inverse=C||"container.noop");for(var R=c;R--;)S=this.popStack(),g[R]=S,this.trackIds&&(y[R]=this.popStack()),this.stringParams&&(v[R]=this.popStack(),x[R]=this.popStack());return _&&(m.args=this.source.generateArray(g)),this.trackIds&&(m.ids=this.source.generateArray(y)),this.stringParams&&(m.types=this.source.generateArray(v),m.contexts=this.source.generateArray(x)),this.options.data&&(m.data="data"),this.useBlockParams&&(m.blockParams="blockParams"),m},setupHelperArgs:function(h,c,g,m){var x=this.setupParams(h,c,g);return x.loc=JSON.stringify(this.source.currentLocation),x=this.objectLiteral(x),m?(this.useRegister("options"),g.push("options"),["options=",x]):g?(g.push(x),""):x}},(function(){for(var f="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),h=d.RESERVED_WORDS={},c=0,g=f.length;c<g;c++)h[f[c]]=!0})(),d.isValidJavaScriptVariableName=function(f){return!d.RESERVED_WORDS[f]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(f)};function p(f,h,c,g,m){var x=h.popStack(),v=c.length;for(f&&v--;g<v;g++)x=h.nameLookup(x,c[g],m);return f?[h.aliasable("container.strict"),"(",x,", ",h.quotedString(c[g]),", ",JSON.stringify(h.source.currentLocation)," )"]:x}t.default=d,e.exports=t.default})($l,$l.exports)),$l.exports}var jp;function U8(){return jp||(jp=1,(function(e,t){t.__esModule=!0;function n(v){return v&&v.__esModule?v:{default:v}}var r=w8(),a=n(r),i=o6(),o=n(i),s=I8(),l=N8(),u=H8(),d=n(u),p=s6(),f=n(p),h=i6(),c=n(h),g=a.default.create;function m(){var v=g();return v.compile=function(y,_){return l.compile(y,_,v)},v.precompile=function(y,_){return l.precompile(y,_,v)},v.AST=o.default,v.Compiler=l.Compiler,v.JavaScriptCompiler=d.default,v.Parser=s.parser,v.parse=s.parse,v.parseWithoutProcessing=s.parseWithoutProcessing,v}var x=m();x.create=m,c.default(x),x.Visitor=f.default,x.default=x,t.default=x,e.exports=t.default})(bl,bl.exports)),bl.exports}var z8=U8();const Ea=fo(z8),ts=e=>!e||e.length===0?"":e.charAt(0).toUpperCase()+e.slice(1),g$=(e,t)=>e.startsWith(t)?e.slice(t.length):e;function m$(e){if(!e)return"-";const t=1024;return e<t?e+"B":e<Math.pow(t,2)?(e/t).toFixed(2)+"K":e<Math.pow(t,3)?(e/Math.pow(t,2)).toFixed(2)+"M":e<Math.pow(t,4)?(e/Math.pow(t,3)).toFixed(2)+"G":(e/Math.pow(t,4)).toFixed(2)+"T"}const Vo=e=>e<10?"0"+e:e;function x$(e){const t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,a=t.getDate(),i=t.getHours(),o=t.getMinutes(),s=t.getSeconds();return n+"-"+Vo(r)+"-"+Vo(a)+" "+Vo(i)+":"+Vo(o)+":"+Vo(s)}const b$=(e,t)=>{let n=e;if(n=n.replace("$name",t.name),t.ts){const r=new URL(t.d_url),a=Date.now();r.searchParams.set("openlist_ts",a.toString()),t.d_url=r.toString()}return n=n.replace(/\$[eb_]*url/,r=>{const a=r.match(/[eb]/g);let i=t.raw_url;if(a)for(const o of a.reverse())o==="e"?i=encodeURIComponent(i):o==="b"&&(i=window.btoa(i));return i}),n=n.replace(/\$[eb_]*durl/,r=>{const a=r.match(/[eb]/g);let i=t.d_url;if(a)for(const o of a.reverse())o==="e"?i=encodeURIComponent(i):o==="b"&&(i=window.btoa(i));return i}),n},j8=e=>{e=e.trim();let t=e.replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)},q8={"+":"-","/":"_","=":"."},W8=e=>e.replace(/[+/=]/g,t=>q8[t]),v$=e=>W8(window.btoa(e)),V8=(e,t)=>new TextDecoder(t).decode(e);Ea.registerHelper("dateLocaleString",e=>new Date(e).toLocaleString());Ea.registerHelper("add",(e,t)=>e+t);Ea.registerHelper("eq",(e,t)=>e===t);Ea.registerHelper("less",(e,t)=>e<t);Ea.registerHelper("and",(e,t)=>e&&t);Ea.registerHelper("or",(e,t)=>e||t);Ea.registerHelper("not",e=>!e);Ea.registerHelper("filename",e=>e.indexOf("/")===-1?e:e.slice(e.lastIndexOf("/")+1));const _$=(e,t)=>Ea.compile(e)(t),y$=e=>!e||e.trim().length===0?{valid:!1,error:"empty_input"}:/[\/\\?<>*:|"]/.test(e)?{valid:!1,error:"invalid_filename_chars"}:{valid:!0},Sc=(e,t,n,r=!0,a=!0,i)=>{if(e.code===200)i&&Lu.success(e.message),t==null||t(e.data);else{if(a&&Lu.error(e.message),r&&e.code===401){location.pathname==="/@manage"?Vi.emit("to","/"):Vi.emit("to","/@login?redirect=".concat(encodeURIComponent(location.pathname)));return}n==null||n(e.message,e.code)}},qp=(e,t,n,r=!0)=>Sc(e,t,n,r,!1),fd=(e,t,n)=>Sc(e,t,n,!1,!1),E$=(e,t,n,r=!0,a=!0)=>Sc(e,t,n,r,a,!0),d6=()=>"rgba(132,133,141,0.18)",G8=()=>oc("$whiteAlpha10","$blackAlpha11")(),K8=(e="/",t="",n)=>Nt.post("/fs/get",{path:e,password:t},{cancelToken:n}),Y8=(e="/",t="",n=1,r=0,a=!1,i)=>Nt.post("/fs/list",{path:e,password:t,page:n,per_page:r,refresh:a},{cancelToken:i}),S$=(e="/",t="",n=!1)=>Nt.post("/fs/dirs",{path:e,password:t,force_root:n}),C$=e=>Nt.post("/fs/mkdir",{path:e}),T$=(e,t,n)=>Nt.post("/fs/rename",{path:e,name:t,overwrite:n}),w$=(e,t)=>Nt.post("/fs/batch_rename",{src_dir:e,rename_objects:t}),A$=(e,t,n,r,a)=>Nt.post("/fs/move",{src_dir:e,dst_dir:t,names:n,overwrite:r,skip_existing:a}),k$=(e,t,n)=>Nt.post("/fs/recursive_move",{src_dir:e,dst_dir:t,conflict_policy:n}),O$=(e,t,n,r,a,i)=>Nt.post("/fs/copy",{src_dir:e,dst_dir:t,names:n,overwrite:r,skip_existing:a,merge:i}),I$=(e,t)=>Nt.post("/fs/remove",{dir:e,names:t}),N$=e=>Nt.post("/fs/remove_empty_directory",{src_dir:e}),L$=(e,t,n)=>Nt.put("/fs/put",void 0,{headers:{"File-Path":encodeURIComponent(e),Password:t,Overwrite:n.toString()}}),R$=(e="/",t="",n="",r=!1,a)=>Nt.post("/fs/archive/meta",{path:e,password:t,archive_pass:n,refresh:r},{cancelToken:a}),P$=(e="/",t="",n="",r="/",a=1,i=0,o=!1,s)=>Nt.post("/fs/archive/list",{path:e,password:t,archive_pass:n,inner_path:r,page:a,per_page:i,refresh:o},{cancelToken:s}),D$=(e,t,n,r="",a="/",i=!0,o=!1,s=!1)=>Nt.post("/fs/archive/decompress",{src_dir:e,dst_dir:t,name:n,archive_pass:r,inner_path:a,cache_full:i,put_into_new_dir:o,overwrite:s}),M$=(e,t,n,r)=>Nt.post("/fs/add_offline_download",{path:e,urls:t,tool:n,delete_policy:r}),f6=async(e,t=!0)=>{try{const n=await Ut.get(e,{responseType:"blob",params:t?{openlist_ts:new Date().getTime()}:void 0}),r=await n.data.arrayBuffer(),a=n.headers["content-type"];return{content:r,contentType:a}}catch(n){return t?await f6(e,!1):{content:"Failed to fetch ".concat(e,": ").concat(n),contentType:""}}},B$=async(e,t,n="",r=0,a=1,i=100)=>Nt.post("/fs/search",{parent:e,keywords:t,scope:r,page:a,per_page:i,password:n}),F$=async(e=["/"],t=-1)=>Nt.post("/admin/index/build",{paths:e,max_depth:t}),$$=async(e=[],t=-1)=>Nt.post("/admin/index/update",{paths:e,max_depth:t});var su={exports:{}},lu={exports:{}},X8=lu.exports,Wp;function Q8(){return Wp||(Wp=1,(function(e){(function(t){var n={bytesToHex:function(i){return r(i)},hexToBytes:function(i){if(i.length%2===1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return i.indexOf("0x")===0&&(i=i.slice(2)),i.match(/../g).map(function(o){return parseInt(o,16)})}};function r(i){return i.map(function(o){return a(o.toString(16),2)}).join("")}function a(i,o){return i.length>o?i:Array(o-i.length+1).join("0")+i}e.exports?e.exports=n:t.convertHex=n})(X8)})(lu)),lu.exports}var uu={exports:{}},Z8=uu.exports,Vp;function J8(){return Vp||(Vp=1,(function(e){(function(t){var n={bytesToString:function(r){return r.map(function(a){return String.fromCharCode(a)}).join("")},stringToBytes:function(r){return r.split("").map(function(a){return a.charCodeAt(0)})}};n.UTF8={bytesToString:function(r){return decodeURIComponent(escape(n.bytesToString(r)))},stringToBytes:function(r){return n.stringToBytes(unescape(encodeURIComponent(r)))}},e.exports?e.exports=n:t.convertString=n})(Z8)})(uu)),uu.exports}var eA=su.exports,Gp;function tA(){return Gp||(Gp=1,(function(e){(function(t){var n={};e.exports?(n.bytesToHex=Q8().bytesToHex,n.convertString=J8(),e.exports=l):(n.bytesToHex=t.convertHex.bytesToHex,n.convertString=t.convertString,t.sha256=l);var r=[];(function(){function u(h){for(var c=Math.sqrt(h),g=2;g<=c;g++)if(!(h%g))return!1;return!0}function d(h){return(h-(h|0))*4294967296|0}for(var p=2,f=0;f<64;)u(p)&&(r[f]=d(Math.pow(p,1/3)),f++),p++})();var a=function(u){for(var d=[],p=0,f=0;p<u.length;p++,f+=8)d[f>>>5]|=u[p]<<24-f%32;return d},i=function(u){for(var d=[],p=0;p<u.length*32;p+=8)d.push(u[p>>>5]>>>24-p%32&255);return d},o=[],s=function(u,d,p){for(var f=u[0],h=u[1],c=u[2],g=u[3],m=u[4],x=u[5],v=u[6],y=u[7],_=0;_<64;_++){if(_<16)o[_]=d[p+_]|0;else{var S=o[_-15],C=(S<<25|S>>>7)^(S<<14|S>>>18)^S>>>3,T=o[_-2],R=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;o[_]=C+o[_-7]+R+o[_-16]}var P=m&x^~m&v,A=f&h^f&c^h&c,I=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),$=(m<<26|m>>>6)^(m<<21|m>>>11)^(m<<7|m>>>25),W=y+$+P+r[_]+o[_],G=I+A;y=v,v=x,x=m,m=g+W|0,g=c,c=h,h=f,f=W+G|0}u[0]=u[0]+f|0,u[1]=u[1]+h|0,u[2]=u[2]+c|0,u[3]=u[3]+g|0,u[4]=u[4]+m|0,u[5]=u[5]+x|0,u[6]=u[6]+v|0,u[7]=u[7]+y|0};function l(u,d){u.constructor===String&&(u=n.convertString.UTF8.stringToBytes(u));var p=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],f=a(u),h=u.length*8;f[h>>5]|=128<<24-h%32,f[(h+64>>9<<4)+15]=h;for(var c=0;c<f.length;c+=16)s(p,f,c);var g=i(p);return d&&d.asBytes?g:d&&d.asString?n.convertString.bytesToString(g):n.bytesToHex(g)}l.x2=function(u,d){return l(l(u,{asBytes:!0}),d)}})(eA)})(su)),su.exports}var nA=tA();const H$=fo(nA),h6=typeof window<"u"?window.navigator.userAgent:"",p6=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(h6);var V1,G1,K1;const U$=(K1=(G1=(V1=window==null?void 0:window.navigator)==null?void 0:V1.platform)!=null?G1:"")==null?void 0:K1.includes("Mac"),z$=()=>{var n,r;const e=h6,t=(r=(n=window==null?void 0:window.navigator)==null?void 0:n.platform)!=null?r:"";return/android/i.test(e)?"Android":/iPad|iPhone|iPod/.test(e)||t.includes("Mac")&&navigator.maxTouchPoints>1?"iOS":/windows/i.test(e)?"Windows":/macintosh|mac os x/i.test(e)?"MacOS":/linux/i.test(e)?"Linux":"Unknown"},cf={};document.addEventListener("keydown",e=>{cf[e.key]=!0});document.addEventListener("keyup",e=>{delete cf[e.key]});const[df,rA,{remove:j$,clear:q$,toJSON:W$}]=Aw(),aA=[{key:"aria2_rpc_url",default:"http://localhost:6800/jsonrpc"},{key:"aria2_rpc_secret",default:""},{key:"global_default_layout",default:"list",type:"select",options:["list","grid","image"]},{key:"show_folder_in_image_view",default:"top",type:"select",options:["top","bottom","none"]},{key:"show_sidebar",default:"none",type:"select",options:["none","visible"]},{key:"show_count_msg",default:"none",type:"select",options:["none","visible"]},{key:"position_of_header_navbar",default:"static",type:"select",options:["static","sticky","only_navbar_sticky"]},{key:"grid_item_size",default:"90",type:"number"},{key:"list_item_filename_overflow",default:"ellipsis",type:"select",options:["ellipsis","scrollable","multi_line"]},{key:"open_item_on_checkbox",default:"direct",type:"select",options:["direct","dblclick","disable_while_checked"],hidden:!1},{key:"editor_font_size",default:"14",type:"number"}];for(const e of aA)df[e.key]||rA(e.key,e.default);const g6=(e,t,n)=>{const[r,a]=Ie(n);return[r,async(...i)=>{a(!0);const o=await e(...i);return(!t||o.code!==401)&&a(!1),o}]},Pu=(e,t)=>g6(e,!0,t),iA=(e,t,n)=>{const[r,a]=Ie(n);return[r,async(i,...o)=>{a(()=>i);const s=await e(i,...o);return s.code!==401&&a(void 0),s}]},V$=(e,t)=>iA(e,!0,t),Ks=()=>{const e=aE(),t=bm(),n=oE(),r=Ue(()=>Dw(decodeURIComponent(t.pathname))),a=Ue(()=>r().startsWith("/@s"));return{to:(i,o,s)=>{!o&&i.startsWith("/")&&(i=ru(i)),Gi("to:",i),Bu(decodeURIComponent(i)),e(i,s)},replace:i=>{const o=ru(ss($a(rf(r()),i),!0));Bu(decodeURIComponent(o)),e(o)},pushHref:i=>ss($a(r(),i)),back:()=>{e(-1)},forward:()=>{e(1)},pathname:r,isShare:a,search:t.search,searchParams:t.query,setSearchParams:(i,o)=>{const s=Et(()=>eE(t.search,i));e(ru(r()+s),{scroll:!1,...o,resolve:!0})},params:n}},oA="modulepreload",sA=function(e){return window.__dynamic_base__+"/"+e},Kp={},ga=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let o=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));a=o(n.map(u=>{if(u=sA(u),u in Kp)return;Kp[u]=!0;const d=u.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(document.querySelector('link[href="'.concat(u,'"]').concat(p)))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":oA,d||(f.as="script"),f.crossOrigin="",f.href=u,l&&f.setAttribute("nonce",l),document.head.appendChild(f),d)return new Promise((h,c)=>{f.addEventListener("load",h),f.addEventListener("error",()=>c(new Error("Unable to preload CSS for ".concat(u))))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return a.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},m6="English",G$={lang:m6},x6="简体中文",K$={lang:x6},b6="英語",Y$={lang:b6},lA=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((a,i)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(i.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})},v6=e=>e!=null&&(e=Object.getPrototypeOf(e),e===Array.prototype||e===Object.prototype);function _6(e,t,n){for(const[r,a]of Object.entries(t)){const i="".concat(n,".").concat(r);e[i]=a,v6(a)&&_6(e,a,i)}}function uA(e){const t={...e};for(const[n,r]of Object.entries(e))v6(r)&&_6(t,r,n);return t}const cA=(e,t)=>{if(t)for(const[n,r]of Object.entries(t))e=e.replace(new RegExp("{{\\s*".concat(n,"\\s*}}"),"g"),r);return e},dA=(e=>e);function fA(e,t=dA){return(n,...r)=>{var i;n[0]==="."&&(n=n.slice(1));const a=(i=e())==null?void 0:i[n];switch(typeof a){case"function":return a(...r);case"string":return t(a,r[0]);default:return a}}}const Yp=Object.assign({"/src/lang/en/index.json":m6,"/src/lang/zh-CN/index.json":x6,"/src/lang/zh-TW/index.json":b6}),Ts=Object.keys(Yp).map(e=>{const t=e.split("/")[3],n=Yp[e];return{code:t,lang:n}}),Xp=navigator.language.toLowerCase();var Y1,X1;const y6=((Y1=Ts.find(e=>e.code.toLowerCase()===Xp))==null?void 0:Y1.code)||((X1=Ts.find(e=>e.code.toLowerCase().split("-")[0]===Xp.split("-")[0]))==null?void 0:X1.code)||"en";var Q1;let hd=(Q1=localStorage.getItem("lang"))!=null?Q1:y6;Ts.some(e=>e.code===hd)||(hd=y6);const hA=async e=>{try{const t=(await lA(Object.assign({"../lang/en/entry.ts":()=>ga(()=>import("./entry-DYncxDuL.js"),[]),"../lang/zh-CN/entry.ts":()=>ga(()=>import("./entry-AkG8S-14.js"),[]),"../lang/zh-TW/entry.ts":()=>ga(()=>import("./entry-BqxbeBxO.js"),[])}),"../lang/".concat(e,"/entry.ts"),4)).dict;return uA(t)}catch(t){throw console.error("Error loading dictionary for locale: ".concat(e),t),new Error("Failed to load dictionary for ".concat(e))}},[pA,gA]=Ie(hd),[mA]=$d(pA,hA),xA=fA(mA),bA=(e,t)=>{const n=xA(e);if(typeof n=="string")return t&&cA(n,t)||n},Ys=()=>(e,t,n)=>{const r=bA(e,t);return r||n||vA(e)},vA=e=>{let t=e.lastIndexOf(".");t===e.length-1&&(t=e.lastIndexOf(".",t-1));const n=e.slice(t+1);return ts(n).split("_").join(" ")};let Qp=!0,jl,ql;const m0={};let ia=1;const _A=()=>ia,Du=e=>{ia=e},yA=()=>{Du(1)},X$=()=>{const{pathname:e,to:t,searchParams:n}=Ks(),[,r]=Pu(h=>K8(h,eg(),new Ut.CancelToken(c=>{jl=c}))),a=qA();a.type==="pagination"&&Du(parseInt(n.page)||1);const[,i]=Pu(h=>{const c={index:h==null?void 0:h.index,size:h==null?void 0:h.size};return Y8(h==null?void 0:h.path,eg(),c.index,c.size,h==null?void 0:h.force,new Ut.CancelToken(g=>{ql=g}))}),o=(h,c=!0,g=!1)=>{g&&(h=$a(e(),h)),c?m0[h]=!0:delete m0[h]};let s=!1;const l=(h,c,g,m)=>(jl==null||jl(),ql==null||ql(),s=g!=null?g:!1,Xt.setErr(""),C6(h,c)?(Gi("handle [".concat(pi(h,c),"] from history")),KA(h,c)):m0[h]?(Gi("handle [".concat(pi(h,c),"] as folder")),d(h,c,void 0,void 0,m)):(Gi("handle [".concat(pi(h,c),"] as obj")),u(h,c))),u=async(h,c)=>{Xt.setState(Un.FetchingObj);const g=await r(h);qp(g,m=>{var x;Xt.setObj(m),Xt.setProvider(m.provider),m.is_dir?(o(h),d(h,c)):(Xt.setReadme(m.readme),Xt.setHeader(m.header),Xt.setRelated((x=m.related)!=null?x:[]),Xt.setRawUrl(m.raw_url),Xt.setState(Un.File))},p)},d=async(h,c,g,m=!1,x,v=!1)=>{g||(g=a.size),g!==void 0&&a.type==="all"&&(g=void 0),!v&&Xt.setState(m?Un.FetchingMore:Un.FetchingObjs);const y=await i({path:h,index:c,size:g,force:x});qp(y,_=>{var S;Du(c!=null?c:1),m?RA(_.content):(Xt.setObjs((S=_.content)!=null?S:[]),Xt.setTotal(_.total)),!v&&(Xt.setReadme(_.readme),Xt.setHeader(_.header),Xt.setWrite(_.write),Xt.setProvider(_.provider),Xt.setDirectUploadTools(_.direct_upload_tools),Xt.setState(Un.Folder))},p)},p=(h,c)=>{if(c===403)Xt.setState(Un.NeedPassword),s&&Lu.error(h);else{const g=Cc().base_path;if(Qp&&g!="/"&&e().includes(g)&&h.endsWith("object not found")){Qp=!1,t(e().replace(g,""));return}(c===void 0||c>=0)&&Xt.setErr(h)}},f=()=>d(e(),ia+1,void 0,!0);return{handlePathChange:l,handleFolder:d,setPathAs:o,refresh:async(h,c)=>{const g=e(),m=window.scrollY;if(Bu(g,ia),a.type==="load_more"||a.type==="auto_load_more"){const x=ia;for(yA(),await l(g,ia,h,c);ia<x;)await f()}else await l(g,ia,h,c);window.scroll({top:m,behavior:"smooth"})},loadMore:f,allLoaded:()=>ia>=Math.ceil(qn.total/a.size)}},EA=(e,t,n="direct",r,a)=>{n!=="preview"&&(e=r?e.substring(3):$a(Cc().base_path,e)),e=Rw(e);let i="".concat(e,"/").concat(t.name);i=ss(i,a);let o=Pr,s=r?"/sd":n==="direct"?"/d":"/p";n==="preview"&&(s="",Pr.startsWith(location.origin+nr)||(o=location.origin+nr));const{inner_path:l,archive:u}=t;u&&(s="/ae",i="".concat(e,"/").concat(u.name),i=ss(i,a));let d="".concat(o).concat(s).concat(i);if(n!=="preview"&&!r&&t.sign&&(d+="?sign=".concat(t.sign)),n!=="preview"&&r){const p=Ln.getItem("browser-password")||"";p&&(d+="?pwd=".concat(p))}if(u){let p="".concat(l,"/").concat(t.name);d+="".concat(d.includes("?")?"&":"?","inner=").concat(ss(p,a))}return d},ff=()=>{const{pathname:e,isShare:t}=Ks(),n=(a,i,o)=>{const s=qn.state!==Un.File?e():rf(e());return EA(s,a,i,t(),o)},r=(a,i)=>n(a,"direct",i);return{getLinkByObj:n,rawLink:r,proxyLink:(a,i)=>n(a,"proxy",i),previewPage:(a,i)=>n(a,"preview",i),currentObjLink:a=>r(qn.obj,a)}},SA=()=>{const{previewPage:e,rawLink:t}=ff(),n=r=>ws().filter(a=>!a.is_dir).map(a=>t(a,r));return{rawLinks:n,previewPagesText:()=>ws().map(r=>e(r,!0)).join("\n"),rawLinksText:r=>n(r).join("\n")}},Q$=()=>{const{copy:e}=kA(),{previewPagesText:t,rawLinksText:n}=SA(),{currentObjLink:r}=ff();return{copySelectedPreviewPage:()=>{e(t())},copySelectedRawLink:a=>{e(n(a))},copyCurrentRawLink:a=>{e(r(a))}}};var x0,Zp;function CA(){return Zp||(Zp=1,x0=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||n.forEach(function(a){e.addRange(a)}),t&&t.focus()}}),x0}var b0,Jp;function TA(){if(Jp)return b0;Jp=1;var e=CA(),t={"text/plain":"Text","text/html":"Url",default:"Text"},n="Copy to clipboard: #{key}, Enter";function r(i){var o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return i.replace(/#{\s*key\s*}/g,o)}function a(i,o){var s,l,u,d,p,f,h=!1;o||(o={}),s=o.debug||!1;try{u=e(),d=document.createRange(),p=document.getSelection(),f=document.createElement("span"),f.textContent=i,f.ariaHidden="true",f.style.all="unset",f.style.position="fixed",f.style.top=0,f.style.clip="rect(0, 0, 0, 0)",f.style.whiteSpace="pre",f.style.webkitUserSelect="text",f.style.MozUserSelect="text",f.style.msUserSelect="text",f.style.userSelect="text",f.addEventListener("copy",function(g){if(g.stopPropagation(),o.format)if(g.preventDefault(),typeof g.clipboardData>"u"){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var m=t[o.format]||t.default;window.clipboardData.setData(m,i)}else g.clipboardData.clearData(),g.clipboardData.setData(o.format,i);o.onCopy&&(g.preventDefault(),o.onCopy(g.clipboardData))}),document.body.appendChild(f),d.selectNodeContents(f),p.addRange(d);var c=document.execCommand("copy");if(!c)throw new Error("copy command was unsuccessful");h=!0}catch(g){s&&console.error("unable to copy using execCommand: ",g),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(o.format||"text",i),o.onCopy&&o.onCopy(window.clipboardData),h=!0}catch(m){s&&console.error("unable to copy using clipboardData: ",m),s&&console.error("falling back to prompt"),l=r("message"in o?o.message:n),window.prompt(l,i)}}finally{p&&(typeof p.removeRange=="function"?p.removeRange(d):p.removeAllRanges()),f&&document.body.removeChild(f),u()}return h}return b0=a,b0}var wA=TA();const AA=fo(wA),kA=()=>{const e=Ys(),{pathname:t}=Ks();return{copy:n=>{AA(n),Lu.success(e("global.copied"))},isHide:n=>{const r=tg();for(const a of r)if(a.test($a(t(),n.name)))return!0;return!1},isHidePath:n=>{const r=tg();for(const a of r)if(a.test(n))return!0;return!1}}};function Z$(e){const{proxyLink:t}=ff();return $d("",async()=>{let r=t(qn.obj,!0);if(e){const a=r.includes("?")?"&":"?";r="".concat(r).concat(a,"raw=true")}return f6(r)})}function OA(e){const t=typeof e=="string";return{isString:t,text:(r="utf-8")=>e?t?e:V8(e,r):""}}const IA=()=>{const e=ru("static");return{npm:(u,d,p)=>"https://registry.npmmirror.com/".concat(u,"/").concat(d,"/files/").concat(p),monacoPath:()=>"".concat(e,"/monaco-editor/vs"),katexCSSPath:()=>"".concat(e,"/katex/katex.min.css"),mermaidJSPath:()=>"".concat(e,"/mermaid/mermaid.min.js"),ruffleJSPath:()=>"".concat(e,"/ruffle/ruffle.js"),libHeifPath:()=>"".concat(e,"/libheif"),libAssPath:()=>"".concat(e,"/libass-wasm"),fontsPath:()=>"".concat(e,"/fonts")}};var Un=(e=>(e[e.Initial=0]="Initial",e[e.FetchingObj=1]="FetchingObj",e[e.FetchingObjs=2]="FetchingObjs",e[e.FetchingMore=3]="FetchingMore",e[e.Folder=4]="Folder",e[e.File=5]="File",e[e.NeedPassword=6]="NeedPassword",e))(Un||{});const NA={obj:{},raw_url:"",related:[],objs:[],total:0,readme:"",header:"",provider:"",direct_upload_tools:void 0,state:0,err:""},[qn,un]=bn(NA),LA=e=>{an.start=-1,an.end=-1,un("objs",e),un("obj","is_dir",!0)},Xt={set:e=>{un(e)},setObj:e=>{un("obj",e)},setRawUrl:e=>{un("raw_url",e)},setProvider:e=>{un("provider",e)},setObjs:LA,setTotal:e=>{un("total",e)},setReadme:e=>un("readme",e),setHeader:e=>un("header",e),setRelated:e=>un("related",e),setWrite:e=>un("write",e),setState:e=>un("state",e),setDirectUploadTools:e=>un("direct_upload_tools",e),setErr:e=>un("err",e)},J$=(e,t)=>{Gi("sort:",e,t),un("objs",wm(n=>n.sort((r,a)=>(t?-1:1)*Sw(r[e],a[e]))))},RA=e=>{un("objs",wm(t=>t.push(...e)))},an={start:-1,end:-1},eH=(e,t,n)=>{var r,a;if(n&&PA(!1),cf.Shift){if(an.start<0){for(let u=0;u<Math.max(e+1,qn.objs.length-e);++u)if((r=qn.objs[e-u])!=null&&r.selected){an.start=e-u,an.end=e-u;break}else if((a=qn.objs[e+u])!=null&&a.selected){an.start=e+u,an.end=e+u;break}}const i=Math.abs(an.end-an.start),o=Math.sign(an.end-an.start);for(let u=1;u<=i;++u)un("objs",an.start+o*u,{selected:!1});const s=Math.abs(e-an.start),l=Math.sign(e-an.start);for(let u=0;u<=s;++u)un("objs",an.start+l*u,{selected:!0});an.end=e}else un("objs",e,{selected:t}),t?(an.start=e,an.end=e):(an.end=-1,an.start=-1)},PA=e=>{un("objs",{},t=>({selected:e}))},ws=()=>qn.objs.filter(e=>e.selected),tH=()=>qn.objs.length===As(),nH=()=>As()===1,rH=()=>As()>0,aH=()=>As()>0&&As()<qn.objs.length,As=Ue(()=>ws().length),[hf,DA]=Ie(location.pathname),Mu=(()=>{try{return JSON.parse(localStorage.getItem("layoutRecord")||"{}")}catch(e){return{}}})();Vi.on("pathname",e=>DA(e));const[MA,E6]=Ie(Mu[hf()]||df.global_default_layout),iH=()=>{const e=Mu[hf()];return E6(e||df.global_default_layout),MA()},oH=e=>{Mu[hf()]=e,localStorage.setItem("layoutRecord",JSON.stringify(Mu)),E6(e)},[BA,FA]=Nb("checkbox-open","false"),$A=()=>BA()==="true",sH=()=>{FA($A()?"false":"true")},[eg,HA]=Ie(Ln.getItem("browser-password")||""),lH=e=>{HA(e),Ln.setItem("browser-password",e)},pf=(e,t,n)=>{const r=Ys();if(n&&(e=e.filter(l=>l.is_dir||l.type===n)),e.length===0)return"";const a=e.filter(l=>l.is_dir).length,i=e.length-a,o={folders:a.toString(),files:i.toString()},s=a&&i?"".concat(t):a?"".concat(t,"_folders"):i?"".concat(t,"_files"):"";return s?r("home.obj.count.".concat(s),o):""},UA=e=>pf(qn.objs,"count",e),uH=e=>{const t=ws();return t.length>0?pf(t,"selected",e):""},cH=e=>{const t=ws();return t.length>0?pf(t,"selected",e):UA(e)},[dH,fH]=bn({asTask:!1,overwrite:!1,rapid:!0}),pd={},zA=e=>{Object.keys(e).forEach(n=>{pd[n]=e[n]});const t=pd.version||"Unknown";console.log("%c OpenList %c ".concat(t," %c https://github.com/OpenListTeam/OpenList"),"color: #fff; background: #5f5f5f","color: #fff; background: #70c6be","")},vo=e=>{var t;return(t=pd[e])!=null?t:""},hH=e=>{const t=vo(e);return t==="true"||t==="1"},jA=(e,t)=>{const n=vo(e);return n?Number(n):t},hi=()=>window.OPENLIST_CONFIG.main_color?window.OPENLIST_CONFIG.main_color:vo("main_color")||"#1890ff";let Wl={};const v0=e=>{if(!Wl[e])try{Wl[e]=JSON.parse(vo(e))}catch(t){console.error("failed parse ".concat(e,", use default"),t),Wl[e]={}}return Wl[e]},S6=(e,t)=>{const n=Mw(e).toLowerCase(),r=[];for(const a in v0(t))a.startsWith("/")?j8(a).test(n)&&r.push(...$h(v0(t)[a])):a.split(",").includes(n)&&r.push(...$h(v0(t)[a]));return r},pH=e=>S6(e,"external_previews"),gH=e=>S6(e,"iframe_previews"),qA=()=>({type:vo("pagination_type")||"all",size:jA("default_page_size",30)});let _0;const tg=()=>(_0||(_0=vo("hide_files").split(/\n/g).filter(e=>!!e.trim()).map(e=>{e=e.trim();let t=e.replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)})),_0);var WA=(e=>(e[e.GENERAL=0]="GENERAL",e[e.GUEST=1]="GUEST",e[e.ADMIN=2]="ADMIN",e))(WA||{});const VA=["see_hides","access_without_password","offline_download","write","rename","move","copy","delete","webdav_read","webdav_manage","ftp_read","ftp_manage","read_archives","decompress","share"],GA={is_guest:e=>e.role===1,is_admin:e=>e.role===2,is_general:e=>e.role===0,can:(e,t)=>(e.permission>>t&1)==1},[Cc,gd]=Ie({}),mH=e=>{const t=Cc();return GA.can(t,VA.indexOf(e))},ks=new Map,ng=()=>new Promise(e=>setTimeout(e)),pi=(e,t)=>{const n=e.split("?")[0];return t&&t>1?"".concat(n,"?page=").concat(t):n},xH=(e,t)=>{const n=JSON.parse(JSON.stringify(qn));if(![Un.FetchingMore,Un.Folder,Un.File].includes(qn.state))return;qn.state===Un.FetchingMore&&(n.state=Un.Folder);const r=pi(e,t),a={obj:n,page:t!=null?t:_A(),scroll:window.scrollY};ks.set(r,a),console.log("record history: [".concat(r,"]"))},KA=async(e,t)=>{const n=pi(e,t);if(!ks.has(n))return;const r=ks.get(n);Du(r.page),Xt.setState(Un.Initial),await ng(),Xt.set(JSON.parse(JSON.stringify(r.obj))),await ng(),window.scroll({top:r.scroll})},C6=(e,t)=>{const n=pi(e,t);return ks.has(n)},Bu=(e,t)=>{const n=pi(e,t);C6(e,t)&&(ks.delete(n),console.log("clear history: [".concat(n,"]")))};document.addEventListener("click",e=>{let n=e.target.closest("a"),r=n==null?void 0:n.getAttribute("href");r&&Bu(decodeURIComponent(r))},!0);let T6=[];const YA=e=>{T6=e},bH=e=>(e=e.toLowerCase(),T6.some(t=>e.endsWith(t))),Tc=()=>w(go,{h:"100vh",get children(){return w(zs,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",get color(){return hi()},size:"xl"})}}),XA=e=>{const t=X({py:"$8",size:"xl",thickness:4},e);return w(go,{ref(n){var r=e.ref;typeof r=="function"?r(n):e.ref=n},h:"$full",w:"$full",get py(){return t.py},get children(){return w(zs,{get thickness(){return"".concat(t.thickness,"px")},speed:"0.65s",emptyColor:"$neutral4",get color(){return hi()},get size(){return t.size}})}})},vH=e=>w(Re,{get when(){return!e.loading},get fallback(){return w(XA,{})},get children(){return e.children}}),_H=e=>w(go,{w:"$full",h:"$full",get children(){return w(zs,X({get color(){return hi()}},e))}});var QA=Bt("<svg stroke-width=0>");function He(e,t){const n=X(e.a,t),[r,a]=fe(n,["src"]),[i,o]=Ie(""),s=Ue(()=>t.title?"".concat(e.c,"<title>").concat(t.title,"</title>"):e.c);return Kt(()=>o(s())),wt(()=>{o("")}),(()=>{var l=QA();return Ud(l,X({get stroke(){var u;return(u=e.a)==null?void 0:u.stroke},get color(){return t.color||"currentColor"},get fill(){return t.color||"currentColor"},get style(){return{...t.style,overflow:"visible"}}},a,{get height(){return t.size||"1em"},get width(){return t.size||"1em"},xmlns:"http://www.w3.org/2000/svg",get innerHTML(){return i()}}),!0,!0),ma(l,()=>fm),l})()}function ZA(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M12 19 12 5"/><path d="M5 12 12 5 19 12"/>'},e)}function yH(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/>'},e)}function EH(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/><path d="M10 17 15 12 10 7"/><path d="M15 12 3 12"/>'},e)}function JA(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/>'},e)}function ek(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M12 7A5 5 0 1 0 12 17 5 5 0 1 0 12 7z"/><path d="M12 1 12 3"/><path d="M12 21 12 23"/><path d="M4.22 4.22 5.64 5.64"/><path d="M18.36 18.36 19.78 19.78"/><path d="M1 12 3 12"/><path d="M21 12 23 12"/><path d="M4.22 19.78 5.64 18.36"/><path d="M18.36 5.64 19.78 4.22"/>'},e)}const tk=()=>{const{toggleColorMode:e}=s2(),t=oc({size:"$8",component:JA,p:"$0_5"},{size:"$8",component:ek,p:"$0_5"});return w(yi,{cursor:"pointer",get boxSize(){return t().size},get as(){return t().component},onClick:e,get p(){return t().p}})};function SH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M408 480H184a72 72 0 0 1-72-72V184a72 72 0 0 1 72-72h224a72 72 0 0 1 72 72v224a72 72 0 0 1-72 72Z"/><path d="M160 80h235.88A72.12 72.12 0 0 0 328 32H104a72 72 0 0 0-72 72v224a72.12 72.12 0 0 0 48 67.88V160a80 80 0 0 1 80-80Z"/>'},e)}function CH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M336 376V272H191a16 16 0 0 1 0-32h145V136a56.06 56.06 0 0 0-56-56H88a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h192a56.06 56.06 0 0 0 56-56ZM425.37 272l-52.68 52.69a16 16 0 0 0 22.62 22.62l80-80a16 16 0 0 0 0-22.62l-80-80a16 16 0 0 0-22.62 22.62L425.37 240H336v32Z"/>'},e)}function TH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M63.28 202a15.29 15.29 0 0 1-7.7-2 14.84 14.84 0 0 1-5.52-20.46C69.34 147.36 128 72.25 256 72.25c55.47 0 104.12 14.57 144.53 43.29 33.26 23.57 51.9 50.25 60.78 63.1a14.79 14.79 0 0 1-4 20.79 15.52 15.52 0 0 1-21.24-4C420 172.32 371 102 256 102c-112.25 0-163 64.71-179.53 92.46A15 15 0 0 1 63.28 202Z"/><path d="M320.49 496a15.31 15.31 0 0 1-3.79-.43c-92.85-23-127.52-115.82-128.93-119.68l-.22-.85c-.76-2.68-19.39-66.33 9.21-103.61 13.11-17 33.05-25.72 59.38-25.72 24.48 0 42.14 7.61 54.28 23.36 10 12.86 14 28.72 17.87 44 8.13 31.82 14 48.53 47.79 50.25 14.84.75 24.59-7.93 30.12-15.32 14.95-20.15 17.55-53 6.28-82C398 228.57 346.61 158 256 158c-38.68 0-74.22 12.43-102.72 35.79-23.59 19.35-42.28 46.67-51.28 74.75-16.69 52.28 5.2 134.46 5.41 135.21A14.83 14.83 0 0 1 96.54 422a15.39 15.39 0 0 1-18.74-10.6c-1-3.75-24.38-91.4-5.1-151.82 21-65.47 85.81-131.47 183.33-131.47 45.07 0 87.65 15.32 123.19 44.25 27.52 22.5 50 52.72 61.76 82.93 14.95 38.57 10.94 81.86-10.19 110.14-14.08 18.86-34.13 28.72-56.34 27.65-57.86-2.9-68.26-43.29-75.84-72.75-7.8-30.22-12.79-44.79-42.58-44.79-16.36 0-27.85 4.5-35 13.82-9.75 12.75-10.51 32.68-9.43 47.14a152.44 152.44 0 0 0 5.1 29.79c2.38 6 33.37 82 107.59 100.39a14.88 14.88 0 0 1 11 18.11 15.36 15.36 0 0 1-14.8 11.21Z"/><path d="M201.31 489.14a15.5 15.5 0 0 1-11.16-4.71c-37.16-39-58.18-82.61-66.09-137.14V347c-4.44-36.1 2.06-87.21 33.91-122.35 23.51-25.93 56.56-39.11 98.06-39.11 49.08 0 87.65 22.82 111.7 65.89 17.45 31.29 20.91 62.47 21 63.75a15.07 15.07 0 0 1-13.65 16.4 15.26 15.26 0 0 1-16.79-13.29A154 154 0 0 0 340.43 265c-18.64-32.89-47-49.61-84.51-49.61-32.4 0-57.75 9.75-75.19 29-25.14 27.75-30 70.5-26.55 98.78 6.93 48.22 25.46 86.58 58.18 120.86a14.7 14.7 0 0 1-.76 21.11 15.44 15.44 0 0 1-10.29 4Z"/><path d="M372.5 446.18c-32.5 0-60.13-9-82.24-26.89-44.42-35.79-49.4-94.08-49.62-96.54a15.27 15.27 0 0 1 30.45-2.36c.11.86 4.55 48.54 38.79 76 20.26 16.18 47.34 22.6 80.71 18.85a15.2 15.2 0 0 1 16.91 13.18 14.92 14.92 0 0 1-13.44 16.5 187 187 0 0 1-21.56 1.26ZM398.18 48.79C385.5 40.54 340.54 16 256 16c-88.74 0-133.81 27.11-143.78 34a11.59 11.59 0 0 0-1.84 1.4.36.36 0 0 1-.22.1 14.87 14.87 0 0 0-5.09 11.15 15.06 15.06 0 0 0 15.31 14.85 15.56 15.56 0 0 0 8.88-2.79c.43-.32 39.22-28.82 126.77-28.82S382.58 74.29 383 74.5a15.25 15.25 0 0 0 9.21 3 15.06 15.06 0 0 0 15.29-14.89 14.9 14.9 0 0 0-9.32-13.82Z"/>'},e)}function wH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M496 152a56 56 0 0 0-56-56H220.11a23.89 23.89 0 0 1-13.31-4L179 73.41A55.77 55.77 0 0 0 147.89 64H72a56 56 0 0 0-56 56v48a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8ZM16 392a56 56 0 0 0 56 56h368a56 56 0 0 0 56-56V216a8 8 0 0 0-8-8H24a8 8 0 0 0-8 8Z"/>'},e)}function AH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M261.56 101.28a8 8 0 0 0-11.06 0L66.4 277.15a8 8 0 0 0-2.47 5.79L63.9 448a32 32 0 0 0 32 32H192a16 16 0 0 0 16-16V328a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8v136a16 16 0 0 0 16 16h96.06a32 32 0 0 0 32-32V282.94a8 8 0 0 0-2.47-5.79Z"/><path d="m490.91 244.15-74.8-71.56V64a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v32l-57.92-55.38C272.77 35.14 264.71 32 256 32c-8.68 0-16.72 3.14-22.14 8.63l-212.7 203.5c-6.22 6-7 15.87-1.34 22.37A16 16 0 0 0 43 267.56L250.5 69.28a8 8 0 0 1 11.06 0l207.52 198.28a16 16 0 0 0 22.59-.44c6.14-6.36 5.63-16.86-.76-22.97Z"/>'},e)}function nk(e){return He({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M48 112 336 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M192 64 192 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M272 448 368 224 464 448"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M301.5 384 434.5 384"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M281.3 112S257 206 199 277 80 384 80 384"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 336s-35-27-72-75-56-85-56-85"/>'},e)}function kH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M421.83 293.82A144 144 0 0 0 218.18 90.17"/><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M353.94 225.94a48 48 0 0 0-67.88-67.88"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M192 464 192 416"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M90.18 421.82 124.12 387.88"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M48 320 96 320"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M286.06 158.06 172.92 271.19a32 32 0 0 1-45.25 0L105 248.57a32 32 0 0 1 0-45.26L218.18 90.17M421.83 293.82 308.69 407a32 32 0 0 1-45.26 0l-22.62-22.63a32 32 0 0 1 0-45.26l113.13-113.17"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M139.6 169.98 207.48 237.87"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M275.36 305.75 343.25 373.63"/>'},e)}function OH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M176 112 256 32 336 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M255.98 32 256 480"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M176 400 256 480 336 400"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M400 176 480 256 400 336"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M112 176 32 256 112 336"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M32 256 480 256"/>'},e)}const[rk,IH]=Ie(!1),ak=e=>{const t=async n=>{gA(n),localStorage.setItem("lang",n)};return localStorage.getItem("lang")||t(Ts.find(n=>n.code===navigator.language)?navigator.language:"en"),[w(jC,{get children(){return[w(Nx,X({cursor:"pointer"},e)),w(Ax,{get children(){return w(uo,{each:Ts,children:(n,r)=>w(Ox,{onSelect:()=>{t(n.code)},get children(){return n.lang}})})}})]}}),w(Re,{get when(){return rk()},get children(){return w(Ha,{get children(){return w(go,{h:"$full",w:"$full",pos:"fixed",top:0,get bg(){return oc("$blackAlpha4","$whiteAlpha4")()},zIndex:"9000",get children(){return w(zs,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",color:"$info10",size:"xl"})}})}})}})]},NH=()=>w(ak,{as:nk,boxSize:"$8"});/*!
8
+ */function dh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function g3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dh(Object(n),!0).forEach(function(r){m3(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function m3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fh=(function(){var e=[];return{activateTrap:function(n){if(e.length>0){var r=e[e.length-1];r!==n&&r.pause()}var a=e.indexOf(n);a===-1||e.splice(a,1),e.push(n)},deactivateTrap:function(n){var r=e.indexOf(n);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}}})(),x3=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},b3=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},v3=function(t){return t.key==="Tab"||t.keyCode===9},hh=function(t){return setTimeout(t,0)},Zc=function(t,n){var r=-1;return t.every(function(a,i){return n(a)?(r=i,!1):!0}),r},Bo=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return typeof t=="function"?t.apply(void 0,r):t},fl=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},Um=function(t,n){var r=(n==null?void 0:n.document)||document,a=g3({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},n),i={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},o,s=function(C,T,R){return C&&C[T]!==void 0?C[T]:a[R||T]},l=function(C){return!!(C&&i.containers.some(function(T){return T.contains(C)}))},u=function(C){var T=a[C];if(typeof T=="function"){for(var R=arguments.length,P=new Array(R>1?R-1:0),A=1;A<R;A++)P[A-1]=arguments[A];T=T.apply(void 0,P)}if(!T){if(T===void 0||T===!1)return T;throw new Error("`".concat(C,"` was specified but was not a node, or did not return a node"))}var I=T;if(typeof T=="string"&&(I=r.querySelector(T),!I))throw new Error("`".concat(C,"` as selector refers to no known node"));return I},d=function(){var C=u("initialFocus");if(C===!1)return!1;if(C===void 0)if(l(r.activeElement))C=r.activeElement;else{var T=i.tabbableGroups[0],R=T&&T.firstTabbableNode;C=R||u("fallbackFocus")}if(!C)throw new Error("Your focus-trap needs to have at least one focusable element");return C},p=function(){if(i.tabbableGroups=i.containers.map(function(C){var T=f3(C),R=h3(C);if(T.length>0)return{container:C,firstTabbableNode:T[0],lastTabbableNode:T[T.length-1],nextTabbableNode:function(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,$=R.findIndex(function(W){return W===A});return I?R.slice($+1).find(function(W){return dl(W)}):R.slice(0,$).reverse().find(function(W){return dl(W)})}}}).filter(function(C){return!!C}),i.tabbableGroups.length<=0&&!u("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},f=function S(C){if(C!==!1&&C!==r.activeElement){if(!C||!C.focus){S(d());return}C.focus({preventScroll:!!a.preventScroll}),i.mostRecentlyFocusedNode=C,x3(C)&&C.select()}},h=function(C){var T=u("setReturnFocus",C);return T||(T===!1?!1:C)},c=function(C){var T=fl(C);if(!l(T)){if(Bo(a.clickOutsideDeactivates,C)){o.deactivate({returnFocus:a.returnFocusOnDeactivate&&!Qc(T)});return}Bo(a.allowOutsideClick,C)||C.preventDefault()}},g=function(C){var T=fl(C),R=l(T);R||T instanceof Document?R&&(i.mostRecentlyFocusedNode=T):(C.stopImmediatePropagation(),f(i.mostRecentlyFocusedNode||d()))},m=function(C){var T=fl(C);p();var R=null;if(i.tabbableGroups.length>0){var P=Zc(i.tabbableGroups,function(Te){var te=Te.container;return te.contains(T)}),A=P>=0?i.tabbableGroups[P]:void 0;if(P<0)C.shiftKey?R=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:R=i.tabbableGroups[0].firstTabbableNode;else if(C.shiftKey){var I=Zc(i.tabbableGroups,function(Te){var te=Te.firstTabbableNode;return T===te});if(I<0&&(A.container===T||Qc(T)&&!dl(T)&&!A.nextTabbableNode(T,!1))&&(I=P),I>=0){var $=I===0?i.tabbableGroups.length-1:I-1,W=i.tabbableGroups[$];R=W.lastTabbableNode}}else{var G=Zc(i.tabbableGroups,function(Te){var te=Te.lastTabbableNode;return T===te});if(G<0&&(A.container===T||Qc(T)&&!dl(T)&&!A.nextTabbableNode(T))&&(G=P),G>=0){var ae=G===i.tabbableGroups.length-1?0:G+1,ie=i.tabbableGroups[ae];R=ie.firstTabbableNode}}}else R=u("fallbackFocus");R&&(C.preventDefault(),f(R))},x=function(C){if(b3(C)&&Bo(a.escapeDeactivates,C)!==!1){C.preventDefault(),o.deactivate();return}if(v3(C)){m(C);return}},v=function(C){if(!Bo(a.clickOutsideDeactivates,C)){var T=fl(C);l(T)||Bo(a.allowOutsideClick,C)||(C.preventDefault(),C.stopImmediatePropagation())}},y=function(){if(i.active)return fh.activateTrap(o),i.delayInitialFocusTimer=a.delayInitialFocus?hh(function(){f(d())}):f(d()),r.addEventListener("focusin",g,!0),r.addEventListener("mousedown",c,{capture:!0,passive:!1}),r.addEventListener("touchstart",c,{capture:!0,passive:!1}),r.addEventListener("click",v,{capture:!0,passive:!1}),r.addEventListener("keydown",x,{capture:!0,passive:!1}),o},_=function(){if(i.active)return r.removeEventListener("focusin",g,!0),r.removeEventListener("mousedown",c,!0),r.removeEventListener("touchstart",c,!0),r.removeEventListener("click",v,!0),r.removeEventListener("keydown",x,!0),o};return o={activate:function(C){if(i.active)return this;var T=s(C,"onActivate"),R=s(C,"onPostActivate"),P=s(C,"checkCanFocusTrap");P||p(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,T&&T();var A=function(){P&&p(),y(),R&&R()};return P?(P(i.containers.concat()).then(A,A),this):(A(),this)},deactivate:function(C){if(!i.active)return this;clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,_(),i.active=!1,i.paused=!1,fh.deactivateTrap(o);var T=s(C,"onDeactivate"),R=s(C,"onPostDeactivate"),P=s(C,"checkCanReturnFocus");T&&T();var A=s(C,"returnFocus","returnFocusOnDeactivate"),I=function(){hh(function(){A&&f(h(i.nodeFocusedBeforeActivation)),R&&R()})};return A&&P?(P(h(i.nodeFocusedBeforeActivation)).then(I,I),this):(I(),this)},pause:function(){return i.paused||!i.active?this:(i.paused=!0,_(),this)},unpause:function(){return!i.paused||!i.active?this:(i.paused=!1,p(),y(),this)},updateContainerElements:function(C){var T=[].concat(C).filter(Boolean);return i.containers=T.map(function(R){return typeof R=="string"?r.querySelector(R):R}),i.active&&p(),this}},o.updateContainerElements(t),o},tu={exports:{}},_3=tu.exports,ph;function y3(){return ph||(ph=1,(function(e,t){(function(r,a){e.exports=a()})(_3,function(){return(function(n){var r={};function a(i){if(r[i])return r[i].exports;var o=r[i]={i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=n,a.c=r,a.d=function(i,o,s){a.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:s})},a.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},a.t=function(i,o){if(o&1&&(i=a(i)),o&8||o&4&&typeof i=="object"&&i&&i.__esModule)return i;var s=Object.create(null);if(a.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:i}),o&2&&typeof i!="string")for(var l in i)a.d(s,l,(function(u){return i[u]}).bind(null,l));return s},a.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(o,"a",o),o},a.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},a.p="",a(a.s=0)})([(function(n,r,a){a.r(r);var i=function(L){return Array.isArray(L)?L:[L]},o=function(L){return L instanceof Node},s=function(L){return L instanceof NodeList},l=function(L,ne){if(L&&ne){L=s(L)?L:[L];for(var le=0;le<L.length&&ne(L[le],le,L.length)!==!0;le++);}},u=function(L){return console.error("[scroll-lock] ".concat(L))},d=function(L){if(Array.isArray(L)){var ne=L.join(", ");return ne}},p=function(L){var ne=[];return l(L,function(le){return ne.push(le)}),ne},f=function(L,ne){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:document;if(le&&p(Ae.querySelectorAll(ne)).indexOf(L)!==-1)return L;for(;(L=L.parentElement)&&p(Ae.querySelectorAll(ne)).indexOf(L)===-1;);return L},h=function(L,ne){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:document,Ae=p(le.querySelectorAll(ne)).indexOf(L)!==-1;return Ae},c=function(L){if(L){var ne=getComputedStyle(L),le=ne.overflow==="hidden";return le}},g=function(L){if(L){if(c(L))return!0;var ne=L.scrollTop;return ne<=0}},m=function(L){if(L){if(c(L))return!0;var ne=L.scrollTop,le=L.scrollHeight,Ae=ne+L.offsetHeight;return Ae>=le}},x=function(L){if(L){if(c(L))return!0;var ne=L.scrollLeft;return ne<=0}},v=function(L){if(L){if(c(L))return!0;var ne=L.scrollLeft,le=L.scrollWidth,Ae=ne+L.offsetWidth;return Ae>=le}},y=function(L){var ne='textarea, [contenteditable="true"]';return h(L,ne)},_=function(L){var ne='input[type="range"]';return h(L,ne)};a.d(r,"disablePageScroll",function(){return A}),a.d(r,"enablePageScroll",function(){return I}),a.d(r,"getScrollState",function(){return $}),a.d(r,"clearQueueScrollLocks",function(){return W}),a.d(r,"getTargetScrollBarWidth",function(){return G}),a.d(r,"getCurrentTargetScrollBarWidth",function(){return ae}),a.d(r,"getPageScrollBarWidth",function(){return ie}),a.d(r,"getCurrentPageScrollBarWidth",function(){return Te}),a.d(r,"addScrollableTarget",function(){return te}),a.d(r,"removeScrollableTarget",function(){return Fe}),a.d(r,"addScrollableSelector",function(){return Oe}),a.d(r,"removeScrollableSelector",function(){return O}),a.d(r,"addLockableTarget",function(){return B}),a.d(r,"addLockableSelector",function(){return xe}),a.d(r,"setFillGapMethod",function(){return Pe}),a.d(r,"addFillGapTarget",function(){return ct}),a.d(r,"removeFillGapTarget",function(){return nt}),a.d(r,"addFillGapSelector",function(){return rt}),a.d(r,"removeFillGapSelector",function(){return lt}),a.d(r,"refillGaps",function(){return vt});function S(j){for(var L=1;L<arguments.length;L++){var ne=arguments[L]!=null?arguments[L]:{},le=Object.keys(ne);typeof Object.getOwnPropertySymbols=="function"&&(le=le.concat(Object.getOwnPropertySymbols(ne).filter(function(Ae){return Object.getOwnPropertyDescriptor(ne,Ae).enumerable}))),le.forEach(function(Ae){C(j,Ae,ne[Ae])})}return j}function C(j,L,ne){return L in j?Object.defineProperty(j,L,{value:ne,enumerable:!0,configurable:!0,writable:!0}):j[L]=ne,j}var T=["padding","margin","width","max-width","none"],R=3,P={scroll:!0,queue:0,scrollableSelectors:["[data-scroll-lock-scrollable]"],lockableSelectors:["body","[data-scroll-lock-lockable]"],fillGapSelectors:["body","[data-scroll-lock-fill-gap]","[data-scroll-lock-lockable]"],fillGapMethod:T[0],startTouchY:0,startTouchX:0},A=function(L){P.queue<=0&&(P.scroll=!1,se(),qe()),te(L),P.queue++},I=function(L){P.queue>0&&P.queue--,P.queue<=0&&(P.scroll=!0,we(),fn()),Fe(L)},$=function(){return P.scroll},W=function(){P.queue=0},G=function(L){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o(L)){var le=L.style.overflowY;ne?$()||(L.style.overflowY=L.getAttribute("data-scroll-lock-saved-overflow-y-property")):L.style.overflowY="scroll";var Ae=ae(L);return L.style.overflowY=le,Ae}else return 0},ae=function(L){if(o(L))if(L===document.body){var ne=document.documentElement.clientWidth,le=window.innerWidth,Ae=le-ne;return Ae}else{var Vt=L.style.borderLeftWidth,Yt=L.style.borderRightWidth;L.style.borderLeftWidth="0px",L.style.borderRightWidth="0px";var Ft=L.offsetWidth-L.clientWidth;return L.style.borderLeftWidth=Vt,L.style.borderRightWidth=Yt,Ft}else return 0},ie=function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return G(document.body,L)},Te=function(){return ae(document.body)},te=function(L){if(L){var ne=i(L);ne.map(function(le){l(le,function(Ae){o(Ae)?Ae.setAttribute("data-scroll-lock-scrollable",""):u('"'.concat(Ae,'" is not a Element.'))})})}},Fe=function(L){if(L){var ne=i(L);ne.map(function(le){l(le,function(Ae){o(Ae)?Ae.removeAttribute("data-scroll-lock-scrollable"):u('"'.concat(Ae,'" is not a Element.'))})})}},Oe=function(L){if(L){var ne=i(L);ne.map(function(le){P.scrollableSelectors.push(le)})}},O=function(L){if(L){var ne=i(L);ne.map(function(le){P.scrollableSelectors=P.scrollableSelectors.filter(function(Ae){return Ae!==le})})}},B=function(L){if(L){var ne=i(L);ne.map(function(le){l(le,function(Ae){o(Ae)?Ae.setAttribute("data-scroll-lock-lockable",""):u('"'.concat(Ae,'" is not a Element.'))})}),$()||se()}},xe=function(L){if(L){var ne=i(L);ne.map(function(le){P.lockableSelectors.push(le)}),$()||se(),rt(L)}},Pe=function(L){if(L)if(T.indexOf(L)!==-1)P.fillGapMethod=L,vt();else{var ne=T.join(", ");u('"'.concat(L,'" method is not available!\nAvailable fill gap methods: ').concat(ne,"."))}},ct=function(L){if(L){var ne=i(L);ne.map(function(le){l(le,function(Ae){o(Ae)?(Ae.setAttribute("data-scroll-lock-fill-gap",""),P.scroll||Sr(Ae)):u('"'.concat(Ae,'" is not a Element.'))})})}},nt=function(L){if(L){var ne=i(L);ne.map(function(le){l(le,function(Ae){o(Ae)?(Ae.removeAttribute("data-scroll-lock-fill-gap"),P.scroll||vn(Ae)):u('"'.concat(Ae,'" is not a Element.'))})})}},rt=function(L){if(L){var ne=i(L);ne.map(function(le){P.fillGapSelectors.indexOf(le)===-1&&(P.fillGapSelectors.push(le),P.scroll||Kn(le))})}},lt=function(L){if(L){var ne=i(L);ne.map(function(le){P.fillGapSelectors=P.fillGapSelectors.filter(function(Ae){return Ae!==le}),P.scroll||Qt(le)})}},vt=function(){P.scroll||qe()},se=function(){var L=d(P.lockableSelectors);Qe(L)},we=function(){var L=d(P.lockableSelectors);pt(L)},Qe=function(L){var ne=document.querySelectorAll(L);l(ne,function(le){Dn(le)})},pt=function(L){var ne=document.querySelectorAll(L);l(ne,function(le){Er(le)})},Dn=function(L){if(o(L)&&L.getAttribute("data-scroll-lock-locked")!=="true"){var ne=window.getComputedStyle(L);L.setAttribute("data-scroll-lock-saved-overflow-y-property",ne.overflowY),L.setAttribute("data-scroll-lock-saved-inline-overflow-property",L.style.overflow),L.setAttribute("data-scroll-lock-saved-inline-overflow-y-property",L.style.overflowY),L.style.overflow="hidden",L.setAttribute("data-scroll-lock-locked","true")}},Er=function(L){o(L)&&L.getAttribute("data-scroll-lock-locked")==="true"&&(L.style.overflow=L.getAttribute("data-scroll-lock-saved-inline-overflow-property"),L.style.overflowY=L.getAttribute("data-scroll-lock-saved-inline-overflow-y-property"),L.removeAttribute("data-scroll-lock-saved-overflow-property"),L.removeAttribute("data-scroll-lock-saved-inline-overflow-property"),L.removeAttribute("data-scroll-lock-saved-inline-overflow-y-property"),L.removeAttribute("data-scroll-lock-locked"))},qe=function(){P.fillGapSelectors.map(function(L){Kn(L)})},fn=function(){P.fillGapSelectors.map(function(L){Qt(L)})},Kn=function(L){var ne=document.querySelectorAll(L),le=P.lockableSelectors.indexOf(L)!==-1;l(ne,function(Ae){Sr(Ae,le)})},Sr=function(L){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o(L)){var le;if(L.getAttribute("data-scroll-lock-lockable")===""||ne)le=G(L,!0);else{var Ae=f(L,d(P.lockableSelectors));le=G(Ae,!0)}L.getAttribute("data-scroll-lock-filled-gap")==="true"&&vn(L);var Vt=window.getComputedStyle(L);if(L.setAttribute("data-scroll-lock-filled-gap","true"),L.setAttribute("data-scroll-lock-current-fill-gap-method",P.fillGapMethod),P.fillGapMethod==="margin"){var Yt=parseFloat(Vt.marginRight);L.style.marginRight="".concat(Yt+le,"px")}else if(P.fillGapMethod==="width")L.style.width="calc(100% - ".concat(le,"px)");else if(P.fillGapMethod==="max-width")L.style.maxWidth="calc(100% - ".concat(le,"px)");else if(P.fillGapMethod==="padding"){var Ft=parseFloat(Vt.paddingRight);L.style.paddingRight="".concat(Ft+le,"px")}}},Qt=function(L){var ne=document.querySelectorAll(L);l(ne,function(le){vn(le)})},vn=function(L){if(o(L)&&L.getAttribute("data-scroll-lock-filled-gap")==="true"){var ne=L.getAttribute("data-scroll-lock-current-fill-gap-method");L.removeAttribute("data-scroll-lock-filled-gap"),L.removeAttribute("data-scroll-lock-current-fill-gap-method"),ne==="margin"?L.style.marginRight="":ne==="width"?L.style.width="":ne==="max-width"?L.style.maxWidth="":ne==="padding"&&(L.style.paddingRight="")}},Mn=function(L){vt()},dn=function(L){P.scroll||(P.startTouchY=L.touches[0].clientY,P.startTouchX=L.touches[0].clientX)},On=function(L){if(!P.scroll){var ne=P.startTouchY,le=P.startTouchX,Ae=L.touches[0].clientY,Vt=L.touches[0].clientX;if(L.touches.length<2){var Yt=d(P.scrollableSelectors),Ft={up:ne<Ae,down:ne>Ae,left:le<Vt,right:le>Vt},hn={up:ne+R<Ae,down:ne-R>Ae,left:le+R<Vt,right:le-R>Vt},St=function lr(dt){var Ca=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(dt){var Cr=f(dt,Yt,!1);if(_(dt))return!1;if(Ca||y(dt)&&f(dt,Yt)||h(dt,Yt)){var ea=!1;x(dt)&&v(dt)?(Ft.up&&g(dt)||Ft.down&&m(dt))&&(ea=!0):g(dt)&&m(dt)?(Ft.left&&x(dt)||Ft.right&&v(dt))&&(ea=!0):(hn.up&&g(dt)||hn.down&&m(dt)||hn.left&&x(dt)||hn.right&&v(dt))&&(ea=!0),ea&&(Cr?lr(Cr,!0):L.cancelable&&L.preventDefault())}else lr(Cr)}else L.cancelable&&L.preventDefault()};St(L.target)}}},sr=function(L){P.scroll||(P.startTouchY=0,P.startTouchX=0)};typeof window<"u"&&window.addEventListener("resize",Mn),typeof document<"u"&&(document.addEventListener("touchstart",dn),document.addEventListener("touchmove",On,{passive:!1}),document.addEventListener("touchend",sr));var $r={hide:function(L){u('"hide" is deprecated! Use "disablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget'),A(L)},show:function(L){u('"show" is deprecated! Use "enablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#enablepagescrollscrollabletarget'),I(L)},toggle:function(L){u('"toggle" is deprecated! Do not use it.'),$()?A():I(L)},getState:function(){return u('"getState" is deprecated! Use "getScrollState" instead. \n https://github.com/FL3NKEY/scroll-lock#getscrollstate'),$()},getWidth:function(){return u('"getWidth" is deprecated! Use "getPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getpagescrollbarwidth'),ie()},getCurrentWidth:function(){return u('"getCurrentWidth" is deprecated! Use "getCurrentPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getcurrentpagescrollbarwidth'),Te()},setScrollableTargets:function(L){u('"setScrollableTargets" is deprecated! Use "addScrollableTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addscrollabletargetscrollabletarget'),te(L)},setFillGapSelectors:function(L){u('"setFillGapSelectors" is deprecated! Use "addFillGapSelector" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgapselectorfillgapselector'),rt(L)},setFillGapTargets:function(L){u('"setFillGapTargets" is deprecated! Use "addFillGapTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgaptargetfillgaptarget'),ct(L)},clearQueue:function(){u('"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead. \n https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks'),W()}},J=S({disablePageScroll:A,enablePageScroll:I,getScrollState:$,clearQueueScrollLocks:W,getTargetScrollBarWidth:G,getCurrentTargetScrollBarWidth:ae,getPageScrollBarWidth:ie,getCurrentPageScrollBarWidth:Te,addScrollableSelector:Oe,removeScrollableSelector:O,addScrollableTarget:te,removeScrollableTarget:Fe,addLockableSelector:xe,addLockableTarget:B,addFillGapSelector:rt,removeFillGapSelector:lt,addFillGapTarget:ct,removeFillGapTarget:nt,setFillGapMethod:Pe,refillGaps:vt,_state:P},$r);r.default=J})]).default})})(tu)),tu.exports}var Fo=y3();function Ba(e){return e.split("-")[0]}function Yu(e){return e.split("-")[1]}function ho(e){return["top","bottom"].includes(Ba(e))?"x":"y"}function qd(e){return e==="y"?"height":"width"}function gh(e,t,n){let{reference:r,floating:a}=e;const i=r.x+r.width/2-a.width/2,o=r.y+r.height/2-a.height/2,s=ho(t),l=qd(s),u=r[l]/2-a[l]/2,d=s==="x";let p;switch(Ba(t)){case"top":p={x:i,y:r.y-a.height};break;case"bottom":p={x:i,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:o};break;case"left":p={x:r.x-a.width,y:o};break;default:p={x:r.x,y:r.y}}switch(Yu(t)){case"start":p[s]-=u*(n&&d?-1:1);break;case"end":p[s]+=u*(n&&d?-1:1)}return p}const E3=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:o}=n,s=await(o.isRTL==null?void 0:o.isRTL(t));let l=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:d}=gh(l,r,s),p=r,f={};for(let h=0;h<i.length;h++){const{name:c,fn:g}=i[h],{x:m,y:x,data:v,reset:y}=await g({x:u,y:d,initialPlacement:r,placement:p,strategy:a,middlewareData:f,rects:l,platform:o,elements:{reference:e,floating:t}});u=m!=null?m:u,d=x!=null?x:d,f={...f,[c]:{...f[c],...v}},y&&(typeof y=="object"&&(y.placement&&(p=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:a}):y.rects),{x:u,y:d}=gh(l,p,s)),h=-1)}return{x:u,y:d,placement:p,strategy:a,middlewareData:f}};function Wd(e){return typeof e!="number"?(function(t){return{top:0,right:0,bottom:0,left:0,...t}})(e):{top:e,right:e,bottom:e,left:e}}function Es(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Ss(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:i,rects:o,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:f=!1,padding:h=0}=t,c=Wd(h),g=s[f?p==="floating"?"reference":"floating":p],m=Es(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),x=Es(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:p==="floating"?{...o.floating,x:r,y:a}:o.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):o[p]);return{top:m.top-x.top+c.top,bottom:x.bottom-m.bottom+c.bottom,left:m.left-x.left+c.left,right:x.right-m.right+c.right}}const zm=Math.min,Ia=Math.max;function td(e,t,n){return Ia(e,zm(t,n))}const jm=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:a,y:i,placement:o,rects:s,platform:l}=t;if(n==null)return{};const u=Wd(r),d={x:a,y:i},p=ho(o),f=qd(p),h=await l.getDimensions(n),c=p==="y"?"top":"left",g=p==="y"?"bottom":"right",m=s.reference[f]+s.reference[p]-d[p]-s.floating[f],x=d[p]-s.reference[p],v=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n)),y=v?p==="y"?v.clientHeight||0:v.clientWidth||0:0,_=m/2-x/2,S=u[c],C=y-h[f]-u[g],T=y/2-h[f]/2+_,R=td(S,T,C);return{data:{[p]:R,centerOffset:T-R}}}}),S3={left:"right",right:"left",bottom:"top",top:"bottom"};function wu(e){return e.replace(/left|right|bottom|top/g,(t=>S3[t]))}function C3(e,t,n){n===void 0&&(n=!1);const r=Yu(e),a=ho(e),i=qd(a);let o=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=wu(o)),{main:o,cross:wu(o)}}const T3={start:"end",end:"start"};function mh(e){return e.replace(/start|end/g,(t=>T3[t]))}const qm=["top","right","bottom","left"];qm.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);const Xu=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:a,rects:i,initialPlacement:o,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",flipAlignment:h=!0,...c}=e,g=Ba(r),m=p||(g===o||!h?[wu(o)]:(function(R){const P=wu(R);return[mh(R),P,mh(P)]})(o)),x=[o,...m],v=await Ss(t,c),y=[];let _=((n=a.flip)==null?void 0:n.overflows)||[];if(u&&y.push(v[g]),d){const{main:R,cross:P}=C3(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));y.push(v[R],v[P])}if(_=[..._,{placement:r,overflows:y}],!y.every((R=>R<=0))){var S,C;const R=((S=(C=a.flip)==null?void 0:C.index)!=null?S:0)+1,P=x[R];if(P)return{data:{index:R,overflows:_},reset:{placement:P}};let A="bottom";switch(f){case"bestFit":{var T;const I=(T=_.map(($=>[$,$.overflows.filter((W=>W>0)).reduce(((W,G)=>W+G),0)])).sort((($,W)=>$[1]-W[1]))[0])==null?void 0:T[0].placement;I&&(A=I);break}case"initialPlacement":A=o}if(r!==A)return{reset:{placement:A}}}return{}}}};function xh(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function bh(e){return qm.some((t=>e[t]>=0))}const Wm=function(e){let{strategy:t="referenceHidden",...n}={};return{name:"hide",async fn(r){const{rects:a}=r;switch(t){case"referenceHidden":{const i=xh(await Ss(r,{...n,elementContext:"reference"}),a.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:bh(i)}}}case"escaped":{const i=xh(await Ss(r,{...n,altBoundary:!0}),a.floating);return{data:{escapedOffsets:i,escaped:bh(i)}}}default:return{}}}}},Qu=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r,placement:a,rects:i,platform:o,elements:s}=t,l=(function(u,d,p,f){f===void 0&&(f=!1);const h=Ba(u),c=Yu(u),g=ho(u)==="x",m=["left","top"].includes(h)?-1:1,x=f&&g?-1:1,v=typeof p=="function"?p({...d,placement:u}):p;let{mainAxis:y,crossAxis:_,alignmentAxis:S}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...v};return c&&typeof S=="number"&&(_=c==="end"?-1*S:S),g?{x:_*x,y:y*m}:{x:y*m,y:_*x}})(a,i,e,await(o.isRTL==null?void 0:o.isRTL(s.floating)));return{x:n+l.x,y:r+l.y,data:l}}}};function w3(e){return e==="x"?"y":"x"}const Zu=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:s={fn:m=>{let{x,y:v}=m;return{x,y:v}}},...l}=e,u={x:n,y:r},d=await Ss(t,l),p=ho(Ba(a)),f=w3(p);let h=u[p],c=u[f];if(i){const m=p==="y"?"bottom":"right";h=td(h+d[p==="y"?"top":"left"],h,h-d[m])}if(o){const m=f==="y"?"bottom":"right";c=td(c+d[f==="y"?"top":"left"],c,c-d[m])}const g=s.fn({...t,[p]:h,[f]:c});return{...g,data:{x:g.x-n,y:g.y-r}}}}},A3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:a,elements:i}=t,{apply:o,...s}=e,l=await Ss(t,s),u=Ba(n),d=Yu(n);let p,f;u==="top"||u==="bottom"?(p=u,f=d===(await(a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(f=u,p=d==="end"?"top":"bottom");const h=Ia(l.left,0),c=Ia(l.right,0),g=Ia(l.top,0),m=Ia(l.bottom,0),x={height:r.floating.height-(["left","right"].includes(n)?2*(g!==0||m!==0?g+m:Ia(l.top,l.bottom)):l[p]),width:r.floating.width-(["top","bottom"].includes(n)?2*(h!==0||c!==0?h+c:Ia(l.left,l.right)):l[f])},v=await a.getDimensions(i.floating);o==null||o({...x,...r});const y=await a.getDimensions(i.floating);return v.width!==y.width||v.height!==y.height?{reset:{rects:!0}}:{}}}},Vm=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){var n;const{placement:r,elements:a,rects:i,platform:o,strategy:s}=t,{padding:l=2,x:u,y:d}=e,p=Es(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:i.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:s}):i.reference),f=(n=await(o.getClientRects==null?void 0:o.getClientRects(a.reference)))!=null?n:[],h=Wd(l),c=await o.getElementRects({reference:{getBoundingClientRect:function(){var g;if(f.length===2&&f[0].left>f[1].right&&u!=null&&d!=null)return(g=f.find((m=>u>m.left-h.left&&u<m.right+h.right&&d>m.top-h.top&&d<m.bottom+h.bottom)))!=null?g:p;if(f.length>=2){if(ho(r)==="x"){const C=f[0],T=f[f.length-1],R=Ba(r)==="top",P=C.top,A=T.bottom,I=R?C.left:T.left,$=R?C.right:T.right;return{top:P,bottom:A,left:I,right:$,width:$-I,height:A-P,x:I,y:P}}const m=Ba(r)==="left",x=Ia(...f.map((C=>C.right))),v=zm(...f.map((C=>C.left))),y=f.filter((C=>m?C.left===v:C.right===x)),_=y[0].top,S=y[y.length-1].bottom;return{top:_,bottom:S,left:v,right:x,width:x-v,height:S-_,x:v,y:_}}return p}},floating:a.floating,strategy:s});return i.reference.x!==c.reference.x||i.reference.y!==c.reference.y||i.reference.width!==c.reference.width||i.reference.height!==c.reference.height?{reset:{rects:c}}:{}}}};function Gm(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function va(e){if(e==null)return window;if(!Gm(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Fs(e){return va(e).getComputedStyle(e)}function ha(e){return Gm(e)?"":e?(e.nodeName||"").toLowerCase():""}function Qr(e){return e instanceof va(e).HTMLElement}function Fa(e){return e instanceof va(e).Element}function Vd(e){return e instanceof va(e).ShadowRoot||e instanceof ShadowRoot}function Ju(e){const{overflow:t,overflowX:n,overflowY:r}=Fs(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function k3(e){return["table","td","th"].includes(ha(e))}function vh(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=Fs(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Km(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}const _h=Math.min,os=Math.max,Au=Math.round;function pa(e,t,n){var r,a,i,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&Qr(e)&&(l=e.offsetWidth>0&&Au(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Au(s.height)/e.offsetHeight||1);const d=Fa(e)?va(e):window,p=!Km()&&n,f=(s.left+(p&&(r=(a=d.visualViewport)==null?void 0:a.offsetLeft)!=null?r:0))/l,h=(s.top+(p&&(i=(o=d.visualViewport)==null?void 0:o.offsetTop)!=null?i:0))/u,c=s.width/l,g=s.height/u;return{width:c,height:g,top:h,right:f+c,bottom:h+g,left:f,x:f,y:h}}function Ra(e){return(t=e,(t instanceof va(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function ec(e){return Fa(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ym(e){return pa(Ra(e)).left+ec(e).scrollLeft}function O3(e,t,n){const r=Qr(t),a=Ra(t),i=pa(e,r&&(function(l){const u=pa(l);return Au(u.width)!==l.offsetWidth||Au(u.height)!==l.offsetHeight})(t),n==="fixed");let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((ha(t)!=="body"||Ju(a))&&(o=ec(t)),Qr(t)){const l=pa(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else a&&(s.x=Ym(a));return{x:i.left+o.scrollLeft-s.x,y:i.top+o.scrollTop-s.y,width:i.width,height:i.height}}function Xm(e){return ha(e)==="html"?e:e.assignedSlot||e.parentNode||(Vd(e)?e.host:null)||Ra(e)}function yh(e){return Qr(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function nd(e){const t=va(e);let n=yh(e);for(;n&&k3(n)&&getComputedStyle(n).position==="static";)n=yh(n);return n&&(ha(n)==="html"||ha(n)==="body"&&getComputedStyle(n).position==="static"&&!vh(n))?t:n||(function(r){let a=Xm(r);for(Vd(a)&&(a=a.host);Qr(a)&&!["html","body"].includes(ha(a));){if(vh(a))return a;a=a.parentNode}return null})(e)||t}function Eh(e){if(Qr(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=pa(e);return{width:t.width,height:t.height}}function Qm(e){const t=Xm(e);return["html","body","#document"].includes(ha(t))?e.ownerDocument.body:Qr(t)&&Ju(t)?t:Qm(t)}function ku(e,t){var n;t===void 0&&(t=[]);const r=Qm(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=va(r),o=a?[i].concat(i.visualViewport||[],Ju(r)?r:[]):r,s=t.concat(o);return a?s:s.concat(ku(o))}function Sh(e,t,n){return t==="viewport"?Es((function(r,a){const i=va(r),o=Ra(r),s=i.visualViewport;let l=o.clientWidth,u=o.clientHeight,d=0,p=0;if(s){l=s.width,u=s.height;const f=Km();(f||!f&&a==="fixed")&&(d=s.offsetLeft,p=s.offsetTop)}return{width:l,height:u,x:d,y:p}})(e,n)):Fa(t)?(function(r,a){const i=pa(r,!1,a==="fixed"),o=i.top+r.clientTop,s=i.left+r.clientLeft;return{top:o,left:s,x:s,y:o,right:s+r.clientWidth,bottom:o+r.clientHeight,width:r.clientWidth,height:r.clientHeight}})(t,n):Es((function(r){var a;const i=Ra(r),o=ec(r),s=(a=r.ownerDocument)==null?void 0:a.body,l=os(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=os(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let d=-o.scrollLeft+Ym(r);const p=-o.scrollTop;return Fs(s||i).direction==="rtl"&&(d+=os(i.clientWidth,s?s.clientWidth:0)-l),{width:l,height:u,x:d,y:p}})(Ra(e)))}function I3(e){const t=ku(e),n=["absolute","fixed"].includes(Fs(e).position)&&Qr(e)?nd(e):e;return Fa(n)?t.filter((r=>Fa(r)&&(function(a,i){const o=i==null||i.getRootNode==null?void 0:i.getRootNode();if(a!=null&&a.contains(i))return!0;if(o&&Vd(o)){let s=i;do{if(s&&a===s)return!0;s=s.parentNode||s.host}while(s)}return!1})(r,n)&&ha(r)!=="body")):[]}const N3={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const i=[...n==="clippingAncestors"?I3(t):[].concat(n),r],o=i[0],s=i.reduce(((l,u)=>{const d=Sh(t,u,a);return l.top=os(d.top,l.top),l.right=_h(d.right,l.right),l.bottom=_h(d.bottom,l.bottom),l.left=os(d.left,l.left),l}),Sh(t,o,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const a=Qr(n),i=Ra(n);if(n===i)return t;let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((a||!a&&r!=="fixed")&&((ha(n)!=="body"||Ju(i))&&(o=ec(n)),Qr(n))){const l=pa(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-o.scrollLeft+s.x,y:t.y-o.scrollTop+s.y}},isElement:Fa,getDimensions:Eh,getOffsetParent:nd,getDocumentElement:Ra,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:O3(t,nd(n),r),floating:{...Eh(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Fs(e).direction==="rtl"};function tc(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=!0,animationFrame:s=!1}=r;let l=!1;const u=a&&!s,d=i&&!s,p=o&&!s,f=u||d?[...Fa(e)?ku(e):[],...ku(t)]:[];f.forEach((m=>{u&&m.addEventListener("scroll",n,{passive:!0}),d&&m.addEventListener("resize",n)}));let h,c=null;p&&(c=new ResizeObserver(n),Fa(e)&&c.observe(e),c.observe(t));let g=s?pa(e):null;return s&&(function m(){if(l)return;const x=pa(e);!g||x.x===g.x&&x.y===g.y&&x.width===g.width&&x.height===g.height||n(),g=x,h=requestAnimationFrame(m)})(),()=>{var m;l=!0,f.forEach((x=>{u&&x.removeEventListener("scroll",n),d&&x.removeEventListener("resize",n)})),(m=c)==null||m.disconnect(),c=null,s&&cancelAnimationFrame(h)}}const nc=(e,t,n)=>E3(e,t,{platform:N3,...n});var L3=Object.defineProperty,R3=Object.defineProperties,P3=Object.getOwnPropertyDescriptors,Ch=Object.getOwnPropertySymbols,D3=Object.prototype.hasOwnProperty,M3=Object.prototype.propertyIsEnumerable,Th=(e,t,n)=>t in e?L3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ve=(e,t)=>{for(var n in t||(t={}))D3.call(t,n)&&Th(e,n,t[n]);if(Ch)for(var n of Ch(t))M3.call(t,n)&&Th(e,n,t[n]);return e},Yr=(e,t)=>R3(e,P3(t));function B3(e){return typeof e=="number"}function nu(e){return Array.isArray(e)}function rc(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!nu(e)}function An(e){return typeof e=="function"}function Zm(e){return e==null}function F3(e){return Object.prototype.toString.call(e)==="[object String]"}function $3(e,t){return rc(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}function xn(e,t){return e&&(An(e)?e(t):e[0](e[1],t)),t==null?void 0:t.defaultPrevented}function Cn(...e){return function(t){e.some(n=>xn(n,t))}}const Jm=()=>typeof Storage<"u",e2="hope-ui-color-mode",no={light:"hope-ui-light",dark:"hope-ui-dark"};function H3(){if(!Jm())return null;try{return localStorage.getItem(e2)}catch(e){return null}}function U3(e){if(Jm())try{localStorage.setItem(e2,e)}catch(t){}}function z3(e){const t=H3();return t||(e==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e)}function j3(e){return e?no.dark:no.light}function q3(e){const t=document.body;t.classList.add(j3(e)),t.classList.remove(e?no.light:no.dark)}const t2={px:"1px","0_5":"0.125rem",1:"0.25rem","1_5":"0.375rem",2:"0.5rem","2_5":"0.625rem",3:"0.75rem","3_5":"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Fi=Yr(ve({},t2),{prose:"65ch",max:"max-content",min:"min-content",full:"100%",screenW:"100vw",screenH:"100vh",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",containerSm:"640px",containerMd:"768px",containerLg:"1024px",containerXl:"1280px",container2xl:"1536px"}),W3={sm:"(min-width: ".concat(Fi.containerSm,")"),md:"(min-width: ".concat(Fi.containerMd,")"),lg:"(min-width: ".concat(Fi.containerLg,")"),xl:"(min-width: ".concat(Fi.containerXl,")"),"2xl":"(min-width: ".concat(Fi.container2xl,")"),"reduce-motion":"(prefers-reduced-motion: reduce)",light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"},V3={bg:e=>({background:e}),bgColor:e=>({backgroundColor:e})},G3={borderX:e=>({borderLeft:e,borderRight:e}),borderY:e=>({borderTop:e,borderBottom:e})},K3={d:e=>({display:e})},Y3={m:e=>({margin:e}),mt:e=>({marginTop:e}),mr:e=>({marginRight:e}),marginStart:e=>({marginInlineStart:e}),ms:e=>({marginInlineStart:e}),mb:e=>({marginBottom:e}),ml:e=>({marginLeft:e}),marginEnd:e=>({marginInlineEnd:e}),me:e=>({marginInlineEnd:e}),mx:e=>({marginInlineStart:e,marginInlineEnd:e}),my:e=>({marginTop:e,marginBottom:e}),spaceX:e=>({"& > * + *":{marginLeft:e}}),spaceY:e=>({"& > * + *":{marginTop:e}})},X3={p:e=>({padding:e}),pt:e=>({paddingTop:e}),pr:e=>({paddingRight:e}),paddingStart:e=>({paddingInlineStart:e}),ps:e=>({paddingInlineStart:e}),pb:e=>({paddingBottom:e}),pl:e=>({paddingLeft:e}),pe:e=>({paddingInlineEnd:e}),paddingEnd:e=>({paddingInlineEnd:e}),px:e=>({paddingInlineStart:e,paddingInlineEnd:e}),py:e=>({paddingTop:e,paddingBottom:e})},Q3={pos:e=>({position:e})};function na(...e){return e.map(t=>"[role=group]".concat(t," &, [data-group]").concat(t," &, .group").concat(t," &")).join(", ")}function zr(...e){return e.map(t=>"[data-peer]".concat(t," ~ &, .peer").concat(t," ~ &")).join(", ")}const Z3={_hover:e=>({"&:hover, &[data-hover]":e}),_active:e=>({"&:active, &[data-active]":e}),_focus:e=>({"&:focus, &[data-focus]":e}),_highlighted:e=>({"&[data-highlighted]":e}),_focusWithin:e=>({"&:focus-within":e}),_focusVisible:e=>({"&:focus-visible":e}),_disabled:e=>({"&[disabled], &[aria-disabled=true], &[data-disabled]":e}),_readOnly:e=>({"&[aria-readonly=true], &[readonly], &[data-readonly]":e}),_before:e=>({"&::before":e}),_after:e=>({"&::after":e}),_empty:e=>({"&:empty":e}),_expanded:e=>({"&[aria-expanded=true], &[data-expanded]":e}),_checked:e=>({"&[aria-checked=true], &[data-checked]":e}),_grabbed:e=>({"&[aria-grabbed=true], &[data-grabbed]":e}),_pressed:e=>({"&[aria-pressed=true], &[data-pressed]":e}),_invalid:e=>({"&[aria-invalid=true], &[data-invalid]":e}),_valid:e=>({"&[data-valid], &[data-state=valid]":e}),_loading:e=>({"&[data-loading], &[aria-busy=true]":e}),_selected:e=>({"&[aria-selected=true], &[data-selected]":e}),_hidden:e=>({"&[hidden], &[data-hidden]":e}),_even:e=>({"&:nth-of-type(even)":e}),_odd:e=>({"&:nth-of-type(odd)":e}),_first:e=>({"&:first-of-type":e}),_last:e=>({"&:last-of-type":e}),_notFirst:e=>({"&:not(:first-of-type)":e}),_notLast:e=>({"&:not(:last-of-type)":e}),_visited:e=>({"&:visited":e}),_activeLink:e=>({"&[aria-current=page]":e}),_activeStep:e=>({"&[aria-current=step]":e}),_indeterminate:e=>({"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]":e}),_groupHover:e=>({[na(":hover","[data-hover]")]:e}),_peerHover:e=>({[zr(":hover","[data-hover]")]:e}),_groupFocus:e=>({[na(":focus","[data-focus]")]:e}),_peerFocus:e=>({[zr(":focus","[data-focus]")]:e}),_groupFocusVisible:e=>({[na(":focus-visible")]:e}),_peerFocusVisible:e=>({[zr(":focus-visible")]:e}),_groupActive:e=>({[na(":active","[data-active]")]:e}),_peerActive:e=>({[zr(":active","[data-active]")]:e}),_groupSelected:e=>({[na("[aria-selected=true]","[data-selected]")]:e}),_peerSelected:e=>({[zr("[aria-selected=true]","[data-selected]")]:e}),_groupDisabled:e=>({[na(":disabled","[data-disabled]")]:e}),_peerDisabled:e=>({[zr(":disabled","[data-disabled]")]:e}),_groupInvalid:e=>({[na(":invalid","[data-invalid]")]:e}),_peerInvalid:e=>({[zr(":invalid","[data-invalid]")]:e}),_groupChecked:e=>({[na(":checked","[data-checked]")]:e}),_peerChecked:e=>({[zr(":checked","[data-checked]")]:e}),_groupFocusWithin:e=>({[na(":focus-within")]:e}),_peerFocusWithin:e=>({[zr(":focus-within")]:e}),_peerPlaceholderShown:e=>({[zr(":placeholder-shown")]:e}),_placeholder:e=>({"&::placeholder":e}),_placeholderShown:e=>({"&:placeholder-shown":e}),_fullScreen:e=>({"&:fullscreen":e}),_selection:e=>({"&::selection":e}),_mediaDark:e=>({"@media (prefers-color-scheme: dark)":e}),_mediaReduceMotion:e=>({"@media (prefers-reduced-motion: reduce)":e}),_dark:e=>({".hope-ui-dark &":e}),_light:e=>({".hope-ui-light &":e})},J3={borderTopRadius:e=>({borderTopLeftRadius:e,borderTopRightRadius:e}),borderRightRadius:e=>({borderTopRightRadius:e,borderBottomRightRadius:e}),borderStartRadius:e=>({borderStartStartRadius:e,borderEndStartRadius:e}),borderBottomRadius:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e}),borderLeftRadius:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e}),borderEndRadius:e=>({borderStartEndRadius:e,borderEndEndRadius:e}),rounded:e=>({borderRadius:e}),roundedTop:e=>({borderTopLeftRadius:e,borderTopRightRadius:e}),roundedRight:e=>({borderTopRightRadius:e,borderBottomRightRadius:e}),roundedStart:e=>({borderStartStartRadius:e,borderEndStartRadius:e}),roundedBottom:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e}),roundedLeft:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e}),roundedEnd:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},e5={shadow:e=>({boxShadow:e})},t5={w:e=>({width:e}),minW:e=>({minWidth:e}),maxW:e=>({maxWidth:e}),h:e=>({height:e}),minH:e=>({minHeight:e}),maxH:e=>({maxHeight:e}),boxSize:e=>({width:e,height:e})},n5={noOfLines:e=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e})},r5=ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve({},V3),G3),K3),Q3),Z3),J3),Y3),X3),e5),t5),n5),a5={blackAlpha1:"#00000003",blackAlpha2:"#00000007",blackAlpha3:"#0000000c",blackAlpha4:"#00000012",blackAlpha5:"#00000017",blackAlpha6:"#0000001d",blackAlpha7:"#00000024",blackAlpha8:"#00000038",blackAlpha9:"#00000070",blackAlpha10:"#0000007a",blackAlpha11:"#00000090",blackAlpha12:"#000000e8"},i5={whiteAlpha1:"#ffffff00",whiteAlpha2:"#ffffff03",whiteAlpha3:"#ffffff09",whiteAlpha4:"#ffffff0e",whiteAlpha5:"#ffffff16",whiteAlpha6:"#ffffff20",whiteAlpha7:"#ffffff2d",whiteAlpha8:"#ffffff3f",whiteAlpha9:"#ffffff62",whiteAlpha10:"#ffffff72",whiteAlpha11:"#ffffff97",whiteAlpha12:"#ffffffeb"},o5=ve(ve({},a5),i5),s5={primary1:"#fafdfe",primary2:"#f2fcfd",primary3:"#e7f9fb",primary4:"#d8f3f6",primary5:"#c4eaef",primary6:"#aadee6",primary7:"#84cdda",primary8:"#3db9cf",primary9:"#05a2c2",primary10:"#0894b3",primary11:"#0c7792",primary12:"#04313c"},l5={accent1:"#fdfcfe",accent2:"#fbfaff",accent3:"#f5f2ff",accent4:"#ede9fe",accent5:"#e4defc",accent6:"#d7cff9",accent7:"#c4b8f3",accent8:"#aa99ec",accent9:"#6e56cf",accent10:"#644fc1",accent11:"#5746af",accent12:"#20134b"},u5={neutral1:"#fbfcfd",neutral2:"#f8f9fa",neutral3:"#f1f3f5",neutral4:"#eceef0",neutral5:"#e6e8eb",neutral6:"#dfe3e6",neutral7:"#d7dbdf",neutral8:"#c1c8cd",neutral9:"#889096",neutral10:"#7e868c",neutral11:"#687076",neutral12:"#11181c"},c5={success1:"#fbfefc",success2:"#f2fcf5",success3:"#e9f9ee",success4:"#ddf3e4",success5:"#ccebd7",success6:"#b4dfc4",success7:"#92ceac",success8:"#5bb98c",success9:"#30a46c",success10:"#299764",success11:"#18794e",success12:"#153226"},d5={info1:"#fbfdff",info2:"#f5faff",info3:"#edf6ff",info4:"#e1f0ff",info5:"#cee7fe",info6:"#b7d9f8",info7:"#96c7f2",info8:"#5eb0ef",info9:"#0091ff",info10:"#0081f1",info11:"#006adc",info12:"#00254d"},f5={warning1:"#fefdfb",warning2:"#fff9ed",warning3:"#fff4d5",warning4:"#ffecbc",warning5:"#ffe3a2",warning6:"#ffd386",warning7:"#f3ba63",warning8:"#ee9d2b",warning9:"#ffb224",warning10:"#ffa01c",warning11:"#ad5700",warning12:"#4e2009"},h5={danger1:"#fffcfc",danger2:"#fff8f8",danger3:"#ffefef",danger4:"#ffe5e5",danger5:"#fdd8d8",danger6:"#f9c6c6",danger7:"#f3aeaf",danger8:"#eb9091",danger9:"#e5484d",danger10:"#dc3d43",danger11:"#cd2b31",danger12:"#381316"},p5={loContrast:"white",background:"$loContrast",focusRing:"#96c7f2",closeButtonHoverBackground:"$blackAlpha4",closeButtonActiveBackground:"$blackAlpha5",progressStripe:"$whiteAlpha6"},g5=ve(ve(ve(ve(ve(ve(ve(ve({},s5),l5),u5),c5),d5),f5),h5),p5),m5={primary1:"#07191d",primary2:"#061e24",primary3:"#072830",primary4:"#07303b",primary5:"#073844",primary6:"#064150",primary7:"#045063",primary8:"#00647d",primary9:"#05a2c2",primary10:"#00b1cc",primary11:"#00c2d7",primary12:"#e1f8fa"},x5={accent1:"#17151f",accent2:"#1c172b",accent3:"#251e40",accent4:"#2c2250",accent5:"#32275f",accent6:"#392c72",accent7:"#443592",accent8:"#5842c3",accent9:"#6e56cf",accent10:"#7c66dc",accent11:"#9e8cfc",accent12:"#f1eefe"},b5={neutral1:"#151718",neutral2:"#1a1d1e",neutral3:"#202425",neutral4:"#26292b",neutral5:"#2b2f31",neutral6:"#313538",neutral7:"#3a3f42",neutral8:"#4c5155",neutral9:"#697177",neutral10:"#787f85",neutral11:"#9ba1a6",neutral12:"#ecedee"},v5={success1:"#0d1912",success2:"#0c1f17",success3:"#0f291e",success4:"#113123",success5:"#133929",success6:"#164430",success7:"#1b543a",success8:"#236e4a",success9:"#30a46c",success10:"#3cb179",success11:"#4cc38a",success12:"#e5fbeb"},_5={info1:"#0f1720",info2:"#0f1b2d",info3:"#10243e",info4:"#102a4c",info5:"#0f3058",info6:"#0d3868",info7:"#0a4481",info8:"#0954a5",info9:"#0091ff",info10:"#369eff",info11:"#52a9ff",info12:"#eaf6ff"},y5={warning1:"#1f1300",warning2:"#271700",warning3:"#341c00",warning4:"#3f2200",warning5:"#4a2900",warning6:"#573300",warning7:"#693f05",warning8:"#824e00",warning9:"#ffb224",warning10:"#ffcb47",warning11:"#f1a10d",warning12:"#fef3dd"},E5={danger1:"#1f1315",danger2:"#291415",danger3:"#3c181a",danger4:"#481a1d",danger5:"#541b1f",danger6:"#671e22",danger7:"#822025",danger8:"#aa2429",danger9:"#e5484d",danger10:"#f2555a",danger11:"#ff6369",danger12:"#feecee"},S5={loContrast:"$neutral1",background:"$loContrast",focusRing:"#0a4481",closeButtonHoverBackground:"$whiteAlpha4",closeButtonActiveBackground:"$whiteAlpha5",progressStripe:"$blackAlpha6"},C5=ve(ve(ve(ve(ve(ve(ve(ve({},m5),x5),b5),v5),_5),y5),E5),S5),T5={none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},w5={none:"0 0 #0000",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:"0 1px 3px 0 rgb(0 0 0 / 0.09), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.09), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.09), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.09), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.24)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.06)",outline:"0 0 0 3px $colors$focusRing"},A5={lg:"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},k5={sans:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol","Noto Color Emoji"',serif:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},O5={"2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},I5={hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},N5={normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:2,3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},L5={tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},R5={hide:-1,auto:"auto",base:0,docked:10,sticky:1e3,banner:1100,overlay:1200,modal:1300,dropdown:1400,popover:1500,tooltip:1600,skipLink:1700,notification:1800},P5={colors:ve(ve({},o5),g5),space:t2,sizes:Fi,fonts:k5,fontSizes:O5,fontWeights:I5,letterSpacings:L5,lineHeights:N5,radii:T5,shadows:w5,zIndices:R5},D5={colors:C5,shadows:A5},{theme:M5,css:Q,globalCss:_a,config:MF,createTheme:B5,getCssText:BF,keyframes:po}=GE({prefix:"hope",themeMap:Yr(ve({},Am),{borderWidth:"sizes",borderTopWidth:"sizes",borderRightWidth:"sizes",borderBottomWidth:"sizes",borderLeftWidth:"sizes",strokeWidth:"sizes"}),theme:P5,media:W3,utils:r5}),Jt={fade:"hope-modal-fade-transition",fadeInBottom:"hope-modal-fade-in-bottom-transition",scale:"hope-modal-scale-transition"},F5=_a({[".".concat(Jt.fade,"-enter, .").concat(Jt.fade,"-exit-to")]:{opacity:0},[".".concat(Jt.fade,"-enter-to, .").concat(Jt.fade,"-exit")]:{opacity:1},[".".concat(Jt.fade,"-enter-active")]:{transition:"opacity 300ms ease-out"},[".".concat(Jt.fade,"-exit-active")]:{transition:"opacity 200ms ease-in"},[".".concat(Jt.fadeInBottom,"-enter, .").concat(Jt.fadeInBottom,"-exit-to")]:{opacity:0,transform:"translateY(16px)"},[".".concat(Jt.fadeInBottom,"-enter-to, .").concat(Jt.fadeInBottom,"-exit")]:{opacity:1,transform:"translateY(0)"},[".".concat(Jt.fadeInBottom,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[".".concat(Jt.fadeInBottom,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"},[".".concat(Jt.scale,"-enter, .").concat(Jt.scale,"-exit-to")]:{opacity:0,transform:"scale(0.95)"},[".".concat(Jt.scale,"-enter-to, .").concat(Jt.scale,"-exit")]:{opacity:1,transform:"scale(1)"},[".".concat(Jt.scale,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[".".concat(Jt.scale,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"}}),n2=Q({zIndex:"$overlay",position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"hsl(0 0% 0% / 65%)"}),r2=Q({zIndex:"$modal",position:"fixed",top:0,left:0,display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},outline:"none","&:focus":{outline:"none"}}),$5=Q(r2,{justifyContent:"center",variants:{centered:{true:{alignItems:"center"},false:{alignItems:"flex-start"}},scrollBehavior:{inside:{overflow:"hidden"},outside:{overflow:"auto"}}}}),a2=Q({zIndex:"$modal",position:"relative",display:"flex",flexDirection:"column",width:"100%",outline:"none",boxShadow:"$lg",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),H5=Q(a2,{justifyContent:"center",my:"3.75rem",borderRadius:"$sm",variants:{size:{xs:{maxWidth:"$xs"},sm:{maxWidth:"$sm"},md:{maxWidth:"$md"},lg:{maxWidth:"$lg"},xl:{maxWidth:"$xl"},"2xl":{maxWidth:"$2xl"},"3xl":{maxWidth:"$3xl"},"4xl":{maxWidth:"$4xl"},"5xl":{maxWidth:"$5xl"},"6xl":{maxWidth:"$6xl"},"7xl":{maxWidth:"$7xl"},"8xl":{maxWidth:"$8xl"},full:{maxWidth:"100vw",minHeight:"100vh","@supports(min-height: -webkit-fill-available)":{minHeight:"-webkit-fill-available"},my:0,borderRadius:"$none"}},scrollBehavior:{inside:{maxHeight:"calc(100% - 7.5rem)"},outside:{maxHeight:"none"}}}}),U5=Q({flex:0,pt:"$5",px:"$5",pb:"$3",fontSize:"$lg",fontWeight:"$medium"}),z5=Q({flex:1,px:"$5",py:"$2",variants:{scrollBehavior:{inside:{overflow:"auto"},outside:{overflow:void 0}}}}),j5=Q({display:"flex",alignItems:"center",justifyContent:"flex-end",pt:"$3",px:"$5",pb:"$5"}),q5=Q({position:"absolute",top:"$4",insetInlineEnd:"$4"}),st={fade:"hope-drawer-fade-transition",slideInTop:"hope-drawer-slide-in-top-transition",slideInRight:"hope-drawer-slide-in-right-transition",slideInBottom:"hope-drawer-slide-in-bottom-transition",slideInLeft:"hope-drawer-slide-in-left-transition"},W5=_a({[".".concat(st.fade,"-enter, .").concat(st.fade,"-exit-to")]:{opacity:0},[".".concat(st.fade,"-enter-to, .").concat(st.fade,"-exit")]:{opacity:1},[".".concat(st.fade,"-enter-active, .").concat(st.fade,"-exit-active")]:{transition:"opacity 500ms ease-in-out"},[".".concat(st.slideInTop,"-enter-active, .").concat(st.slideInTop,"-exit-active,\n .").concat(st.slideInRight,"-enter-active, .").concat(st.slideInRight,"-exit-active,\n .").concat(st.slideInBottom,"-enter-active, .").concat(st.slideInBottom,"-exit-active,\n .").concat(st.slideInLeft,"-enter-active, .").concat(st.slideInLeft,"-exit-active")]:{transition:"transform 500ms ease-in-out"},[".".concat(st.slideInTop,"-enter, .").concat(st.slideInTop,"-exit-to")]:{transform:"translateY(-100%)"},[".".concat(st.slideInTop,"-enter-to, .").concat(st.slideInTop,"-exit")]:{transform:"translateY(0)"},[".".concat(st.slideInRight,"-enter, .").concat(st.slideInRight,"-exit-to")]:{transform:"translateX(100%)"},[".".concat(st.slideInRight,"-enter-to, .").concat(st.slideInRight,"-exit")]:{transform:"translateX(0)"},[".".concat(st.slideInBottom,"-enter, .").concat(st.slideInBottom,"-exit-to")]:{transform:"translateY(100%)"},[".".concat(st.slideInBottom,"-enter-to, .").concat(st.slideInBottom,"-exit")]:{transform:"translateY(0)"},[".".concat(st.slideInLeft,"-enter, .").concat(st.slideInLeft,"-exit-to")]:{transform:"translateX(-100%)"},[".".concat(st.slideInLeft,"-enter-to, .").concat(st.slideInLeft,"-exit")]:{transform:"translateX(0)"}}),V5=Q(r2,{overflow:"hidden",variants:{placement:{top:{alignItems:"flex-start",justifyContent:"stretch"},right:{alignItems:"stretch",justifyContent:"flex-end"},bottom:{alignItems:"flex-end",justifyContent:"stretch"},left:{alignItems:"stretch",justifyContent:"flex-start"}}}}),G5=Q(a2,{maxHeight:"100vh",variants:{size:{xs:{maxWidth:"$xs"},sm:{maxWidth:"$md"},md:{maxWidth:"$lg"},lg:{maxWidth:"$2xl"},xl:{maxWidth:"$4xl"},full:{maxWidth:"100vw",height:"100vh"}},placement:{top:{},right:{},bottom:{},left:{}},fullHeight:{true:{height:"100vh"},false:{}}},compoundVariants:[{placement:"top",size:"xs",css:{maxWidth:"100vw"}},{placement:"top",size:"sm",css:{maxWidth:"100vw"}},{placement:"top",size:"md",css:{maxWidth:"100vw"}},{placement:"top",size:"lg",css:{maxWidth:"100vw"}},{placement:"top",size:"xl",css:{maxWidth:"100vw"}},{placement:"bottom",size:"xs",css:{maxWidth:"100vw"}},{placement:"bottom",size:"sm",css:{maxWidth:"100vw"}},{placement:"bottom",size:"md",css:{maxWidth:"100vw"}},{placement:"bottom",size:"lg",css:{maxWidth:"100vw"}},{placement:"bottom",size:"xl",css:{maxWidth:"100vw"}}]}),Na={scaleTopLeft:"hope-menu-scale-top-left-transition",scaleTopRight:"hope-menu-scale-top-right-transition",scaleBottomLeft:"hope-menu-scale-bottom-left-transition",scaleBottomRight:"hope-menu-scale-bottom-right-transition"};function hl(e,t){return{[".".concat(e,"-enter, .").concat(e,"-exit-to")]:{opacity:0,transform:"scale(0.8)"},[".".concat(e,"-enter-to, .").concat(e,"-exit")]:{opacity:1,transform:"scale(1)"},[".".concat(e,"-enter-active")]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[".".concat(e,"-exit-active")]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}}}const K5=_a(ve(ve(ve(ve({},hl(Na.scaleTopLeft,"top left")),hl(Na.scaleTopRight,"top right")),hl(Na.scaleBottomLeft,"bottom left")),hl(Na.scaleBottomRight,"bottom right"))),Y5=Q({appearance:"none",display:"inline-flex",alignItems:"center",outline:"none"}),X5=Q({zIndex:"$dropdown",position:"absolute",left:0,top:"100%",display:"flex",flexDirection:"column",minWidth:"$56",overflowY:"auto",outline:"none",margin:0,boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",px:0,py:"$1","&:focus":{outline:"none"}});Q({});Q({display:"flex",alignItems:"center",mx:"$1",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",fontWeight:"$medium",lineHeight:"$4"});function Ga(e){return{color:e.color,"&[data-active]":{backgroundColor:e.bgColorActive}}}const Q5=Q({position:"relative",display:"flex",alignItems:"center",mx:"$1",borderRadius:"$sm",py:"$2",px:"$3",fontSize:"$base",fontWeight:"$normal",lineHeight:"$6",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms","&[data-disabled]":{color:"$neutral8",cursor:"not-allowed"},variants:{colorScheme:{primary:Ga({color:"$primary11",bgColorActive:"$primary3"}),accent:Ga({color:"$accent11",bgColorActive:"$accent3"}),neutral:Ga({color:"$neutral12",bgColorActive:"$neutral4"}),success:Ga({color:"$success11",bgColorActive:"$success3"}),info:Ga({color:"$info11",bgColorActive:"$info3"}),warning:Ga({color:"$warning11",bgColorActive:"$warning3"}),danger:Ga({color:"$danger11",bgColorActive:"$danger3"})}},defaultVariants:{colorScheme:"neutral"}}),Z5=Q({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),J5=Q({flexGrow:1}),e4=Q({flexShrink:0,color:"$neutral11",fontSize:"$sm",lineHeight:"$none"}),ac=po({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}});po({from:{opacity:0},to:{opacity:1}});const Lr={slideInTop:"hope-notification-slide-in-top-transition",slideInRight:"hope-notification-slide-in-right-transition",slideInBottom:"hope-notification-slide-in-bottom-transition",slideInLeft:"hope-notification-slide-in-left-transition"};function pl(e){return{[".".concat(e.name,"-enter, .").concat(e.name,"-exit-to")]:{opacity:0,transform:e.enterTransform},[".".concat(e.name,"-enter-to, .").concat(e.name,"-exit")]:{opacity:1,transform:e.leaveTransform},[".".concat(e.name,"-enter-active")]:{transitionProperty:"opacity, transform",transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21)",transitionDuration:"300ms"},[".".concat(e.name,"-exit-active")]:{transitionProperty:"opacity, transform",transitionTimingFunction:"ease-in",transitionDuration:"200ms"}}}const t4=_a(ve(ve(ve(ve({},pl({name:Lr.slideInTop,enterTransform:"translateY(-100%)",leaveTransform:"translateY(0)"})),pl({name:Lr.slideInRight,enterTransform:"translateX(100%)",leaveTransform:"translateX(0)"})),pl({name:Lr.slideInBottom,enterTransform:"translateY(100%)",leaveTransform:"translateY(0)"})),pl({name:Lr.slideInLeft,enterTransform:"translateX(-100%)",leaveTransform:"translateX(0)"}))),n4=Q({position:"fixed",zIndex:"$notification",display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"$4",width:"calc(100% - 32px)",maxWidth:"$md",variants:{placement:{"top-start":{top:"$4",left:"$4"},top:{top:"$4",left:"50%",transform:"translateX(-50%)"},"top-end":{top:"$4",right:"$4"},"bottom-start":{bottom:"$4",left:"$4"},bottom:{bottom:"$4",left:"50%",transform:"translateX(-50%)"},"bottom-end":{bottom:"$4",right:"$4"}}},defaultVariants:{placement:"top-end"}}),r4=Q({position:"relative",display:"flex",alignItems:"center",width:"100%",maxWidth:"$md",borderRadius:"$sm",border:"1px solid $colors$neutral5",boxShadow:"$lg",backgroundColor:"$loContrast",padding:"$3",fontSize:"$sm",lineHeight:"$5",variants:{status:{success:{},info:{},warning:{},danger:{}}}}),a4=Q({animation:"1s linear infinite ".concat(ac)}),i4=Q({flexShrink:0,variants:{status:{success:{color:"$success9"},info:{color:"$info9"},warning:{color:"$warning9"},danger:{color:"$danger9"}}}}),o4=Q({fontWeight:"$medium"}),s4=Q({display:"inline-block",color:"$neutral11"}),ai={scale:"hope-popover-scale-transition"},l4=_a({[".".concat(ai.scale,"-enter, .").concat(ai.scale,"-exit-to")]:{opacity:0,transform:"scale(0.95)"},[".".concat(ai.scale,"-enter-to, .").concat(ai.scale,"-exit")]:{opacity:1,transform:"scale(1)"},[".".concat(ai.scale,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease"},[".".concat(ai.scale,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in-out"}}),u4=Q({zIndex:"$popover",position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",maxWidth:"$xs",outline:"none",boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),c4=Q({display:"flex",alignItems:"center",flex:0,borderColor:"inherit",borderBottomWidth:"1px",px:"$3",py:"$2",fontSize:"$base",fontWeight:"$medium"}),d4=Q({flex:1,px:"$3",py:"$2"});Q({display:"flex",alignItems:"center",borderColor:"inherit",borderTopWidth:"1px",px:"$3",py:"$2"});Q({position:"absolute",top:"$2",insetInlineEnd:"$2"});const f4=Q({zIndex:"$popover",position:"absolute",boxSize:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:"inherit",backgroundColor:"inherit",transform:"rotate(45deg)",variants:{popoverPlacement:{left:{borderLeft:0,borderBottom:0},top:{borderLeft:0,borderTop:0},right:{borderTop:0,borderRight:0},bottom:{borderRight:0,borderBottom:0}}}});function gl(e){return{minHeight:e.minHeight,fontSize:e.fontSize,lineHeight:e.lineHeight}}const Wr={xs:gl({fontSize:"$xs",lineHeight:"$4",minHeight:"$6"}),sm:gl({fontSize:"$sm",lineHeight:"$5",minHeight:"$8"}),md:gl({fontSize:"$base",lineHeight:"$6",minHeight:"$10"}),lg:gl({fontSize:"$lg",lineHeight:"$7",minHeight:"$12"})},wh={"&:disabled":{opacity:.4,cursor:"not-allowed"},"&:focus":{boxShadow:"0 0 0 3px $colors$primary5",borderColor:"$primary8"},"&[aria-invalid=true]":{borderColor:"$danger8"},"&[aria-invalid=true]:focus":{boxShadow:"0 0 0 3px $colors$danger5"}},Gd=Q({appearance:"none",position:"relative",width:"100%",minWidth:0,outline:"none",borderRadius:"$sm",backgroundColor:"transparent",padding:0,color:"$neutral12",fontSize:"$base",lineHeight:"$base",transition:"color 250ms, border-color 250ms, background-color 250ms, box-shadow 250ms","&[readonly]":{boxShadow:"none !important",userSelect:"all",cursor:"default"},"&::placeholder":{color:"$neutral9",opacity:1},variants:{variant:{outline:ve({border:"1px solid $neutral7",backgroundColor:"transparent","&:hover":{borderColor:"$neutral8"}},wh),filled:ve({border:"1px solid transparent",backgroundColor:"$neutral3","&:hover, &:focus":{backgroundColor:"$neutral4"}},wh),unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:ve({},Wr)}});function fr(e){return[{variant:e.variant,size:e.size,css:{px:e.paddingX}},{withLeftElement:!0,variant:e.variant,size:e.size,css:{paddingInlineStart:e.paddingWithElement}},{withRightElement:!0,variant:e.variant,size:e.size,css:{paddingInlineEnd:e.paddingWithElement}}]}const h4=Q(Gd,{variants:{withLeftElement:{true:{}},withRightElement:{true:{}},withLeftAddon:{true:{borderLeftRadius:0}},withRightAddon:{true:{borderRightRadius:0}}},compoundVariants:[...fr({variant:"outline",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...fr({variant:"outline",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...fr({variant:"outline",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...fr({variant:"outline",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...fr({variant:"filled",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...fr({variant:"filled",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...fr({variant:"filled",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...fr({variant:"filled",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...fr({variant:"unstyled",size:"xs",paddingX:0,paddingWithElement:"$6"}),...fr({variant:"unstyled",size:"sm",paddingX:0,paddingWithElement:"$8"}),...fr({variant:"unstyled",size:"md",paddingX:0,paddingWithElement:"$10"}),...fr({variant:"unstyled",size:"lg",paddingX:0,paddingWithElement:"$12"})]});Q({position:"relative",display:"flex",width:"100%"});Q({position:"absolute",top:"0",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center",variants:{placement:{left:{insetInlineStart:"0"},right:{insetInlineEnd:"0"}},size:{xs:Yr(ve({},Wr.xs),{width:Wr.xs.minHeight}),sm:Yr(ve({},Wr.sm),{width:Wr.sm.minHeight}),md:Yr(ve({},Wr.md),{width:Wr.md.minHeight}),lg:Yr(ve({},Wr.lg),{width:Wr.lg.minHeight})}}});function hr(e){return{variant:e.variant,size:e.size,css:{px:e.paddingX}}}Q({display:"flex",alignItems:"center",flex:"0 0 auto",width:"auto",whiteSpace:"nowrap",variants:{placement:{left:{marginEnd:"-1px"},right:{marginStart:"-1px"}},variant:{outline:{borderRadius:"$sm",border:"1px solid $neutral7",backgroundColor:"$neutral3",color:"$neutral12"},filled:{borderRadius:"$sm",border:"1px solid transparent",backgroundColor:"$neutral3",color:"$neutral12"},unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:ve({},Wr)},compoundVariants:[{variant:"outline",placement:"left",css:{borderRightRadius:0,borderInlineEndColor:"transparent"}},{variant:"outline",placement:"right",css:{borderLeftRadius:0,borderInlineStartColor:"transparent"}},{variant:"filled",placement:"left",css:{borderStartEndRadius:0,borderEndEndRadius:0,borderInlineEndColor:"transparent"}},{variant:"filled",placement:"right",css:{borderStartStartRadius:0,borderEndStartRadius:0,borderInlineStartColor:"transparent"}},hr({variant:"outline",size:"xs",paddingX:"$2"}),hr({variant:"outline",size:"sm",paddingX:"$2_5"}),hr({variant:"outline",size:"md",paddingX:"$3"}),hr({variant:"outline",size:"lg",paddingX:"$4"}),hr({variant:"filled",size:"xs",paddingX:"$2"}),hr({variant:"filled",size:"sm",paddingX:"$2_5"}),hr({variant:"filled",size:"md",paddingX:"$3"}),hr({variant:"filled",size:"lg",paddingX:"$4"}),hr({variant:"unstyled",size:"xs",paddingX:0}),hr({variant:"unstyled",size:"sm",paddingX:0}),hr({variant:"unstyled",size:"md",paddingX:0}),hr({variant:"unstyled",size:"lg",paddingX:0})]});const ii={fadeInTop:"hope-select-fade-in-top-transition"},p4=_a({[".".concat(ii.fadeInTop,"-enter, .").concat(ii.fadeInTop,"-exit-to")]:{opacity:0,transform:"translateY(-16px)"},[".".concat(ii.fadeInTop,"-enter-to, .").concat(ii.fadeInTop,"-exit")]:{opacity:1,transform:"translateY(0)"},[".".concat(ii.fadeInTop,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[".".concat(ii.fadeInTop,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}});function Jc(e,t,n){return Object.entries({xs:{start:t!=null?t:"$2",end:n!=null?n:"$1"},sm:{start:t!=null?t:"$2_5",end:n!=null?n:"$1_5"},md:{start:t!=null?t:"$3",end:n!=null?n:"$2"},lg:{start:t!=null?t:"$4",end:n!=null?n:"$3"}}).map(([r,a])=>({variant:e,size:r,css:{paddingInlineStart:a.start,paddingInlineEnd:a.end}}))}const g4=Q(Gd,{appearance:"none",display:"inline-flex",alignItems:"center",outline:"none",cursor:"pointer","&:focus":{outline:"none"},compoundVariants:[...Jc("outline"),...Jc("filled"),...Jc("unstyled",0,0)]}),i2=Q({flexGrow:1,flexShrink:1,textAlign:"start",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),m4=Q({display:"inline-flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap",flexGrow:1,flexShrink:1,variants:{size:{xs:{gap:"$0_5",py:"$0_5"},sm:{gap:"$1",py:"$1"},md:{gap:"$1_5",py:"$1_5"},lg:{gap:"$2",py:"$2"}}}}),x4=Q({display:"inline-flex",justifyContent:"center",alignItems:"center",gap:"$0_5",borderRadius:"$sm",py:0,pl:"$2",lineHeight:"$none",variants:{variant:{subtle:{backgroundColor:"$neutral4",color:"$neutral12"},outline:{border:"1px solid $colors$neutral7",backgroundColor:"$loContrast",color:"$neutral12"}},size:{xs:{height:"$4",fontSize:"$2xs"},sm:{height:"$5",fontSize:"$xs"},md:{height:"$6",fontSize:"$sm"},lg:{height:"$7",fontSize:"$base"}}}}),b4=Q({appearance:"none",display:"inline-flex",justifyContent:"center",alignItems:"center",height:"100%",outline:"none",borderRightRadius:"$sm",backgroundColor:"transparent",px:"$1",color:"inherit",lineHeight:"$none",textDecoration:"none",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms, box-shadow 250ms","&:hover":{backgroundColor:"$neutral7"},"&:focus":{outline:"none",boxShadow:"$outline"}}),v4=Q(i2,{color:"$neutral9",opacity:1}),_4=Q({flexGrow:0,flexShrink:0,marginInlineStart:"auto",color:"$neutral11",fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{opened:{true:{transform:"rotate(-180deg)"}}}}),y4=Q({zIndex:"$dropdown",position:"absolute",left:0,top:"100%",display:"flex",flexDirection:"column",width:"100%",overflow:"hidden",margin:0,boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",padding:0}),E4=Q({position:"relative",display:"flex",flexDirection:"column",maxHeight:"$60",width:"100%",overflowY:"auto",margin:0,padding:"$1",listStyle:"none"});Q({});Q({display:"flex",alignItems:"center",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",lineHeight:"$4"});const S4=Q({position:"relative",display:"flex",alignItems:"center",borderRadius:"$sm",color:"$neutral12",fontSize:"$base",fontWeight:"$normal",lineHeight:"$6",cursor:"pointer",userSelect:"none","&[data-disabled]":{color:"$neutral8",cursor:"not-allowed"},"&[data-active]":{backgroundColor:"$neutral4"}}),C4=Q({display:"inline-flex",alignItems:"center",py:"$2",paddingInlineStart:"$3",paddingInlineEnd:"$6"}),T4=Q({position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",paddingInlineEnd:"$3",color:"$primary10",pointerEvents:"none"}),oi={scale:"hope-tooltip-scale-transition"},w4=_a({[".".concat(oi.scale,"-enter, .").concat(oi.scale,"-exit-to")]:{opacity:0,transform:"scale(0.90)"},[".".concat(oi.scale,"-enter-to, .").concat(oi.scale,"-exit")]:{opacity:1,transform:"scale(1)"},[".".concat(oi.scale,"-enter-active")]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease"},[".".concat(oi.scale,"-exit-active")]:{transitionProperty:"opacity, transform",transitionDuration:"150ms",transitionTimingFunction:"ease-in-out"}}),A4=Q({zIndex:"$tooltip",position:"absolute",maxWidth:"$96",boxShadow:"$md",borderRadius:"$sm",backgroundColor:"$neutral12",px:"$2",py:"$1",color:"$neutral1",fontSize:"$sm",fontWeight:"$normal",lineHeight:"$4"}),k4=Q({zIndex:"$tooltip",position:"absolute",boxSize:"8px",backgroundColor:"inherit",transform:"rotate(45deg)"}),O4=_a({"*, ::before, ::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid"},"*":{margin:0},"html, body":{height:"100%"},html:{fontFamily:"$sans",lineHeight:"$base",fontSize:"16px"},body:{backgroundColor:"$background",color:"$neutral12",fontFamily:"inherit",lineHeight:"inherit","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},"h1, h2, h3, h4, h5, h6":{fontSize:"inherit",fontWeight:"inherit"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"img, picture, video, canvas, svg":{display:"block",maxWidth:"100%"},"button, input, textarea, select, optgroup":{fontFamily:"inherit",fontSize:"100%"},"button:focus":{outline:"5px auto -webkit-focus-ring-color"},fieldset:{margin:0,padding:0},"ol, ul":{margin:0,padding:0},a:{backgroundColor:"transparent",color:"inherit",textDecoration:"inherit"}});function Ah(e,t,n){Object.entries(e).forEach(([r,a])=>{if(rc(a))if(r in n){const i=r;n[i]=ve(ve({},n[i]),a)}else t[r]=ve(ve({},t[r]),a);else t[r]=a})}function I4(e,t){const n={},r={"@sm":{},"@md":{},"@lg":{},"@xl":{},"@2xl":{},"@reduce-motion":{},"@light":{},"@dark":{}};return t==null||t.forEach(a=>a&&Ah(a,n,r)),Object.entries(e).forEach(([a,i])=>{i!=null&&a!=="css"&&(a.startsWith("_")?n[a]=i:rc(i)?Object.keys(i).forEach(o=>{if(o==="@initial")n[a]=i[o];else if(o in r){const s=o;r[s]=Yr(ve({},r[s]),{[a]:i[s]})}}):n[a]=i)}),e.css&&Ah(e.css,n,r),ve(ve({},n),r)}function kh(e,t){const n=e==="dark",r=n?no.dark:no.light,a=n?lh({},D5,t):t,i=B5(r,a);return lh({},M5,i)}function o2(e,t){return rc(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}const ic=Q({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}),Kd=Lt();function N4(){W5(),K5(),F5(),t4(),l4(),p4(),w4()}function L4(e){var t,n,r,a,i,o,s,l;e=X({enableCssReset:!0},e);const d=kh("light",(n=(t=e.config)==null?void 0:t.lightTheme)!=null?n:{}),p=kh("dark",(a=(r=e.config)==null?void 0:r.darkTheme)!=null?a:{}),f=z3((o=(i=e.config)==null?void 0:i.initialColorMode)!=null?o:"light"),h=f==="dark"?p:d,[c,g]=Ie(f),[m,x]=Ie(h),v=()=>c()==="dark",y=C=>{g(C),U3(C)},_=()=>{y(v()?"light":"dark")},S={components:(l=(s=e.config)==null?void 0:s.components)!=null?l:{},theme:m,colorMode:c,setColorMode:y,toggleColorMode:_};return Kt(()=>{x(v()?p:d),q3(v())}),e.enableCssReset&&O4(),N4(),w(Kd.Provider,{value:S,get children(){return e.children}})}function Ce(){const e=It(Kd);if(!e)throw new Error("[Hope UI]: useStyleConfig must be used within a HopeProvider");return e.components}function s2(){const e=It(Kd);if(!e)throw new Error("[Hope UI]: useColorMode must be used within a HopeProvider");return{colorMode:e.colorMode,setColorMode:e.setColorMode,toggleColorMode:e.toggleColorMode}}function oc(e,t){const{colorMode:n}=s2();return()=>n()==="dark"?t:e}function be(e){return".".concat(e)}function ce(...e){return e.filter(Boolean).join(" ")}function R4(e,t,n){return(e-t)*100/(n-t)}const P4={border:!0,borderWidth:!0,borderStyle:!0,borderColor:!0,borderTop:!0,borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0,borderRight:!0,borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0,borderBottom:!0,borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0,borderLeft:!0,borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0,borderX:!0,borderY:!0},D4={color:!0,background:!0,bg:!0,backgroundColor:!0,bgColor:!0,opacity:!0},M4={css:!0},B4={alignItems:!0,alignContent:!0,alignSelf:!0,justifyItems:!0,justifyContent:!0,justifySelf:!0,flexDirection:!0,flexWrap:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,order:!0},F4={gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0,gridRow:!0,gridRowStart:!0,gridRowEnd:!0,gridColumn:!0,gridColumnStart:!0,gridColumnEnd:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:!0,rowGap:!0,columnGap:!0},$4={appearance:!0,userSelect:!0,pointerEvents:!0,resize:!0,cursor:!0,outline:!0,outlineOffset:!0,outlineColor:!0},H4={display:!0,d:!0,verticalAlign:!0,overflow:!0,overflowX:!0,overflowY:!0,objectFit:!0,objectPosition:!0},U4={margin:!0,m:!0,marginTop:!0,mt:!0,marginRight:!0,mr:!0,marginStart:!0,ms:!0,marginBottom:!0,mb:!0,marginLeft:!0,ml:!0,marginEnd:!0,me:!0,mx:!0,my:!0},z4={padding:!0,p:!0,paddingTop:!0,pt:!0,paddingRight:!0,pr:!0,paddingStart:!0,ps:!0,paddingBottom:!0,pb:!0,paddingLeft:!0,pl:!0,paddingEnd:!0,pe:!0,px:!0,py:!0},j4={position:!0,pos:!0,zIndex:!0,top:!0,right:!0,bottom:!0,left:!0},q4={_hover:!0,_active:!0,_focus:!0,_highlighted:!0,_focusWithin:!0,_focusVisible:!0,_disabled:!0,_readOnly:!0,_before:!0,_after:!0,_empty:!0,_expanded:!0,_checked:!0,_grabbed:!0,_pressed:!0,_invalid:!0,_valid:!0,_loading:!0,_selected:!0,_hidden:!0,_even:!0,_odd:!0,_first:!0,_last:!0,_notFirst:!0,_notLast:!0,_visited:!0,_activeLink:!0,_activeStep:!0,_indeterminate:!0,_groupHover:!0,_peerHover:!0,_groupFocus:!0,_peerFocus:!0,_groupFocusVisible:!0,_peerFocusVisible:!0,_groupActive:!0,_peerActive:!0,_groupSelected:!0,_peerSelected:!0,_groupDisabled:!0,_peerDisabled:!0,_groupInvalid:!0,_peerInvalid:!0,_groupChecked:!0,_peerChecked:!0,_groupFocusWithin:!0,_peerFocusWithin:!0,_peerPlaceholderShown:!0,_placeholder:!0,_placeholderShown:!0,_fullScreen:!0,_selection:!0,_mediaDark:!0,_mediaReduceMotion:!0,_dark:!0,_light:!0},W4={borderRadius:!0,borderTopRightRadius:!0,borderTopLeftRadius:!0,borderBottomRightRadius:!0,borderBottomLeftRadius:!0,borderTopRadius:!0,borderRightRadius:!0,borderStartRadius:!0,borderBottomRadius:!0,borderLeftRadius:!0,borderEndRadius:!0,rounded:!0,roundedTop:!0,roundedRight:!0,roundedStart:!0,roundedBottom:!0,roundedLeft:!0,roundedEnd:!0},V4={textShadow:!0,boxShadow:!0,shadow:!0},G4={width:!0,w:!0,minWidth:!0,minW:!0,maxWidth:!0,maxW:!0,height:!0,h:!0,minHeight:!0,minH:!0,maxHeight:!0,maxH:!0,boxSize:!0},K4={transform:!0,transformOrigin:!0,clipPath:!0},Y4={transition:!0,transitionProperty:!0,transitionTimingFunction:!0,transitionDuration:!0,transitionDelay:!0,animation:!0,willChange:!0},X4={fontFamily:!0,fontSize:!0,fontWeight:!0,lineHeight:!0,letterSpacing:!0,textAlign:!0,fontStyle:!0,textTransform:!0,textDecoration:!0,noOfLines:!0},Q4=ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve(ve({},P4),D4),B4),F4),$4),H4),U4),z4),j4),W4),V4),G4),K4),Y4),X4),q4),M4),Z4=Q({});function J4(e,t){return Z4({css:I4(e,t)})}function eS(e){return Object.keys(e).filter(t=>t in Q4)}const e0=(e,t)=>{const n=r=>{const a=eS(r),i=X({as:e},r),[o,s,l]=fe(i,["as","class","className","__baseStyle"],a),u=Ue(()=>[An(t==null?void 0:t.baseStyle)?t==null?void 0:t.baseStyle(r):t==null?void 0:t.baseStyle,o.__baseStyle]),d=()=>ce(t==null?void 0:t.baseClass,o.class,o.className,J4(s,u()));return w(zd,X({get component(){var p;return(p=o.as)!=null?p:"div"},get class(){return d()}},l))};return n.toString=()=>t!=null&&t.baseClass?be(t.baseClass):"",n};function tS(){const e=new Map;return new Proxy(e0,{apply(t,n,r){return e0(...r)},get(t,n){return e.has(n)||e.set(n,e0(n)),e.get(n)}})}const Xe=tS(),Be=Xe.div;Q({borderTopWidth:"1px",borderColor:"$neutral7",overflowAnchor:"none","&:last-of-type":{borderBottomWidth:"1px"}});Q({appearance:"none",display:"flex",alignItems:"center",width:"100%",outline:"none",backgroundColor:"transparent",px:"$4",py:"$2",color:"inherit",fontSize:"$base",lineHeight:"$6",cursor:"pointer",transition:"background-color 250ms","&:disabled":{opacity:.4,cursor:"not-allowed"},"&:hover":{backgroundColor:"$neutral4"},"&:focus":{outline:"none",boxShadow:"$outline"}});Q({flexGrow:0,flexShrink:0,fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{expanded:{true:{transform:"rotate(-180deg)"}},disabled:{true:{opacity:.4}}}});Q({pt:"$2",px:"$4",pb:"$4"});function l2(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function nS(e){var t;if(!l2(e))return!1;const n=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof n.HTMLElement}function Ou(e){var t;return l2(e)&&(t=e.ownerDocument)!=null?t:document}function t0(e,t){const n=e.target;return e.button>0||n&&!Ou(n).body.contains(n)?!1:!(t!=null&&t.contains(n))}function rS(e){const t=Ou(e);return t==null?void 0:t.activeElement}function di(e,t){return e?e===t||e.contains(t):!1}function Iu(e){var t,n;const r=(t=e.target)!=null?t:e.currentTarget,a=rS(r);return(n=e.relatedTarget)!=null?n:a}function u2(e){return e&&e.clientHeight<e.scrollHeight}function c2(e,t){const{offsetHeight:n,offsetTop:r}=e,{offsetHeight:a,scrollTop:i}=t,o=r<i,s=r+n>i+a;o?t.scrollTo(0,r):s&&t.scrollTo(0,r-a+n)}function sc(e){const t=Object.getOwnPropertyDescriptor(e,"children");return t==null?!1:An(t.value)}const aS=Q({display:"inline-block",flexShrink:0,boxSize:"1em",color:"currentColor",lineHeight:"1em",verticalAlign:"middle"}),iS=Bt('<svg><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>',4,!0),Oh={viewBox:"0 0 24 24",path:()=>iS.cloneNode(!0)},Yd="hope-icon";function yi(e){const t={viewBox:Oh.viewBox},n=X(t,e),[r,a]=fe(n,["as","class","children","viewBox"]),i=()=>ce(r.class,Yd,aS()),o=()=>r.as&&!F3(r.as);return w(Re,{get when(){return o()},get fallback(){return w(Xe.svg,X({get class(){return i()},get viewBox(){return r.viewBox}},a,{get children(){return w(Re,{get when(){return r.children},get fallback(){return Oh.path},get children(){return r.children}})}}))},get children(){return w(Be,X({get as(){return r.as},get class(){return i()}},a))}})}yi.toString=()=>be(Yd);function br(e){const{viewBox:t="0 0 24 24",defaultProps:n={}}=e,r=a=>w(yi,X({viewBox:t},n,a,{get children(){return e.path}}));return r.toString=()=>be(Yd),r}const oS=Bt('<svg><path d="M4.18179 6.18181C4.35753 6.00608 4.64245 6.00608 4.81819 6.18181L7.49999 8.86362L10.1818 6.18181C10.3575 6.00608 10.6424 6.00608 10.8182 6.18181C10.9939 6.35755 10.9939 6.64247 10.8182 6.81821L7.81819 9.81821C7.73379 9.9026 7.61934 9.95001 7.49999 9.95001C7.38064 9.95001 7.26618 9.9026 7.18179 9.81821L4.18179 6.81821C4.00605 6.64247 4.00605 6.35755 4.18179 6.18181Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0);br({viewBox:"0 0 15 15",path:()=>oS.cloneNode(!0)});Q({overflow:"hidden"});const Zn=Q({flexShrink:0}),sS=Q({fontWeight:"$semibold"}),lS=Q({display:"inline-block"}),uS=Q({position:"relative",display:"flex",alignItems:"center",borderRadius:"$sm",px:"$4",py:"$3",fontSize:"$base",lineHeight:"$6",variants:{variant:{solid:{},subtle:{},"left-accent":{borderLeftStyle:"solid",borderLeftWidth:"$sizes$1"},"top-accent":{borderTopStyle:"solid",borderTopWidth:"$sizes$1"}},status:{success:{},info:{},warning:{},danger:{}}},compoundVariants:[{variant:"solid",status:"success",css:{backgroundColor:"$success9",color:"white"}},{variant:"solid",status:"info",css:{backgroundColor:"$info9",color:"white"}},{variant:"solid",status:"warning",css:{backgroundColor:"$warning9",color:"$blackAlpha12"}},{variant:"solid",status:"danger",css:{backgroundColor:"$danger9",color:"white"}},{variant:"subtle",status:"success",css:{backgroundColor:"$success3",color:"$success11",["& .".concat(Zn)]:{color:"$success9"}}},{variant:"subtle",status:"info",css:{backgroundColor:"$info3",color:"$info11",["& .".concat(Zn)]:{color:"$info9"}}},{variant:"subtle",status:"warning",css:{backgroundColor:"$warning3",color:"$warning11",["& .".concat(Zn)]:{color:"$warning9"}}},{variant:"subtle",status:"danger",css:{backgroundColor:"$danger3",color:"$danger11",["& .".concat(Zn)]:{color:"$danger9"}}},{variant:"left-accent",status:"success",css:{borderLeftColor:"$success9",backgroundColor:"$success3",color:"$success11",["& .".concat(Zn)]:{color:"$success9"}}},{variant:"left-accent",status:"info",css:{borderLeftColor:"$info9",backgroundColor:"$info3",color:"$info11",["& .".concat(Zn)]:{color:"$info9"}}},{variant:"left-accent",status:"warning",css:{borderLeftColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",["& .".concat(Zn)]:{color:"$warning9"}}},{variant:"left-accent",status:"danger",css:{borderLeftColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",["& .".concat(Zn)]:{color:"$danger9"}}},{variant:"top-accent",status:"success",css:{borderTopColor:"$success9",backgroundColor:"$success3",color:"$success11",["& .".concat(Zn)]:{color:"$success9"}}},{variant:"top-accent",status:"info",css:{borderTopColor:"$info9",backgroundColor:"$info3",color:"$info11",["& .".concat(Zn)]:{color:"$info9"}}},{variant:"top-accent",status:"warning",css:{borderTopColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",["& .".concat(Zn)]:{color:"$warning9"}}},{variant:"top-accent",status:"danger",css:{borderTopColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",["& .".concat(Zn)]:{color:"$danger9"}}}]}),d2="hope-alert";function cS(e){var t,n,r,a,i,o;const s=Ce().Alert,l={variant:(r=(n=(t=s==null?void 0:s.defaultProps)==null?void 0:t.root)==null?void 0:n.variant)!=null?r:"subtle",status:(o=(i=(a=s==null?void 0:s.defaultProps)==null?void 0:a.root)==null?void 0:i.status)!=null?o:"info"},u=X(l,e),[d,p]=fe(u,["class","variant","status"]),f=()=>ce(d.class,d2,uS({variant:d.variant,status:d.status})),c={status:()=>d.status};return w(f2.Provider,{value:c,get children(){return w(Be,X({role:"alert",get class(){return f()},get __baseStyle(){var g;return(g=s==null?void 0:s.baseStyle)==null?void 0:g.root}},p))}})}cS.toString=()=>be(d2);const f2=Lt();function dS(){const e=It(f2);if(!e)throw new Error("[Hope UI]: useAlertContext must be used within an `<Alert />` component");return e}const h2="hope-alert__description";function fS(e){const t=Ce().Alert,[n,r]=fe(e,["class"]),a=()=>ce(n.class,h2,lS());return w(Be,X({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.description}},r))}fS.toString=()=>be(h2);const hS=Bt('<svg><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm-2 19.59l-5-5L10.59 15L14 18.41L21.41 11l1.596 1.586Z"></path></svg>',4,!0),pS=Bt('<svg><path fill="none" d="m14 21.591l-5-5L10.591 15L14 18.409L21.41 11l1.595 1.585L14 21.591z"></path></svg>',4,!0),p2=br({viewBox:"0 0 32 32",path:()=>[hS.cloneNode(!0),pS.cloneNode(!0)]}),gS=Bt('<svg><path fill="currentColor" d="M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14s14-6.3 14-14S23.7 2 16 2zm-1.1 6h2.2v11h-2.2V8zM16 25c-.8 0-1.5-.7-1.5-1.5S15.2 22 16 22s1.5.7 1.5 1.5S16.8 25 16 25z"></path></svg>',4,!0),g2=br({viewBox:"0 0 32 32",path:()=>gS.cloneNode(!0)}),mS=Bt('<svg><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M29.4898 29.8706C29.3402 29.9548 29.1713 29.9991 28.9996 29.9993H2.99961C2.82787 29.9991 2.65905 29.9548 2.5094 29.8706C2.35976 29.7864 2.23433 29.665 2.14521 29.5182C2.05608 29.3713 2.00626 29.2041 2.00055 29.0325C1.99485 28.8608 2.03344 28.6907 2.1126 28.5382L15.1126 3.53821C15.1971 3.37598 15.3245 3.23999 15.4808 3.14514C15.6372 3.05017 15.8167 3 15.9996 3C16.1825 3 16.362 3.05017 16.5184 3.14514C16.6748 3.23999 16.8021 3.37598 16.8866 3.53821L29.8866 28.5382C29.9658 28.6907 30.0044 28.8608 29.9986 29.0325C29.9929 29.2041 29.9431 29.3713 29.854 29.5182C29.7649 29.665 29.6395 29.7864 29.4898 29.8706ZM16.0016 6.16919V6.17029H15.9976V6.16919H16.0016ZM15.9996 25.9993C15.7029 25.9993 15.4129 25.9113 15.1662 25.7465C14.9196 25.5817 14.7273 25.3474 14.6138 25.0734C14.5996 25.0391 14.5867 25.0044 14.5752 24.9694C14.4942 24.724 14.4778 24.4613 14.5284 24.2067C14.5863 23.9156 14.7292 23.6484 14.9389 23.4386C14.9652 23.4124 14.9923 23.3872 15.0202 23.3632C15.2159 23.1945 15.4524 23.0787 15.707 23.0281C15.7433 23.0209 15.7799 23.015 15.8165 23.0105C16.0723 22.979 16.3326 23.014 16.572 23.1129L16.5736 23.1135C16.8477 23.2271 17.082 23.4193 17.2468 23.6659C17.2674 23.6968 17.2868 23.7283 17.305 23.7604C17.4322 23.9852 17.4996 24.2397 17.4996 24.4993C17.4996 24.8971 17.3416 25.2787 17.0603 25.5599C16.7789 25.8413 16.3974 25.9993 15.9996 25.9993ZM17.1246 20.9993H14.8746V11.9993H17.1246V20.9993Z"></path></svg>',4,!0),m2=br({viewBox:"0 0 32 32",path:()=>mS.cloneNode(!0)}),xS=Bt('<svg><path fill="none" d="M16 8a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8Zm4 13.875h-2.875v-8H13v2.25h1.875v5.75H12v2.25h8Z"></path></svg>',4,!0),bS=Bt('<svg><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 6a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8Zm4 16.125h-8v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"></path></svg>',4,!0),x2=br({viewBox:"0 0 32 32",path:()=>[xS.cloneNode(!0),bS.cloneNode(!0)]}),b2="hope-alert__icon";function vS(e){const t=Ce().Alert,{status:n}=dS(),a=X({boxSize:"$6"},e),[i,o]=fe(a,["as","class"]),s=()=>ce(i.class,b2,Zn()),l=()=>{if(i.as)return i.as;switch(n()){case"success":return p2;case"info":return x2;case"warning":return m2;case"danger":return g2}};return w(yi,X({get as(){return l()},get class(){return s()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.icon}},o))}vS.toString=()=>be(b2);const v2="hope-alert__title";function _S(e){const t=Ce().Alert,[n,r]=fe(e,["class"]),a=()=>ce(n.class,v2,sS());return w(Be,X({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.title}},r))}_S.toString=()=>be(v2);const yS=Q({position:"relative",outline:"none",backgroundColor:"transparent",textDecoration:"none",cursor:"pointer",transition:"text-decoration 250ms","&:hover":{textDecoration:"underline"},"&:focus":{boxShadow:"$outline"}}),_2="hope-anchor";function y2(e){const t=Ce().Anchor,[n,r]=fe(e,["class","external"]),a=()=>ce(n.class,_2,yS());return w(Xe.a,X({get class(){return a()},get __baseStyle(){return t==null?void 0:t.baseStyle},get target(){return n.external?"_blank":void 0},get rel(){return n.external?"noopener noreferrer":void 0}},r))}y2.toString=()=>be(_2);Q({position:"relative","&::before":{height:0,content:"''",display:"block"},"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}});const lc="hope-icon-button",ES=Q({display:"inline-flex",alignSelf:"center",flexShrink:0}),SS=Q({position:"absolute",display:"flex",alignItems:"center",flexShrink:0,fontSize:"1em",lineHeight:"$normal",variants:{withLoadingText:{true:{position:"relative"}}}}),CS=Q({fontSize:"1.3em",animation:"1s linear infinite ".concat(ac)});function $o(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,["&.".concat(lc)]:{width:e.height,padding:"0"}}}function Ho(e){return{height:e.height,py:0,px:e.paddingX,["&.".concat(lc)]:{width:e.height,padding:"0"}}}function Ka(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover}}}function Ya(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function Bn(e){return{borderColor:e.borderColor,color:e.color,"&:hover":{borderColor:e.borderColorHover,backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function Xa(e){return{color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}const E2=Q({appearance:"none",position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",outline:"none",borderRadius:"$sm",padding:"0",fontWeight:"$medium",lineHeight:"$none",textDecoration:"none",cursor:"pointer",userSelect:"none",whiteSpace:"nowrap",verticalAlign:"middle",transition:"color 250ms, background-color 250ms, box-shadow 250ms","&:focus":{outline:"none",boxShadow:"$outline"},"&:disabled, &:hover:disabled":{color:"$neutral7",cursor:"not-allowed"},variants:{variant:{solid:{border:"1px solid transparent","&:disabled, &:hover:disabled":{backgroundColor:"$neutral3"}},subtle:{border:"1px solid transparent","&:disabled, &:hover:disabled":{backgroundColor:"$neutral3"}},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent","&:disabled, &:hover:disabled":{borderColor:"$neutral3"}},dashed:{borderStyle:"dashed",borderWidth:"1px",backgroundColor:"transparent","&:disabled, &:hover:disabled":{borderColor:"$neutral3"}},ghost:{border:"1px solid transparent",backgroundColor:"transparent"}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{xs:$o({height:"$6",paddingX:"$2",fontSize:"$xs"}),sm:$o({height:"$8",paddingX:"$3",fontSize:"$sm"}),md:$o({height:"$10",paddingX:"$4",fontSize:"$base"}),lg:$o({height:"$12",paddingX:"$6",fontSize:"$lg"}),xl:$o({height:"$16",paddingX:"$10",fontSize:"$xl"})},compact:{true:{},false:{}},fullWidth:{true:{display:"flex",width:"100%"},false:{display:"inline-flex",width:"auto"}},loading:{true:{opacity:"0.75",cursor:"default",pointerEvents:"none"},false:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:Ka({color:"white",bgColor:"$primary9",bgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:Ka({color:"white",bgColor:"$accent9",bgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:Ka({color:"white",bgColor:"$neutral9",bgColorHover:"$neutral10"})},{variant:"solid",colorScheme:"success",css:Ka({color:"white",bgColor:"$success9",bgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:Ka({color:"white",bgColor:"$info9",bgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:Ka({color:"$blackAlpha12",bgColor:"$warning9",bgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:Ka({color:"white",bgColor:"$danger9",bgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:Ya({color:"$primary11",bgColor:"$primary4",bgColorHover:"$primary5",bgColorActive:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:Ya({color:"$accent11",bgColor:"$accent4",bgColorHover:"$accent5",bgColorActive:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:Ya({color:"$neutral12",bgColor:"$neutral4",bgColorHover:"$neutral5",bgColorActive:"$neutral6"})},{variant:"subtle",colorScheme:"success",css:Ya({color:"$success11",bgColor:"$success4",bgColorHover:"$success5",bgColorActive:"$success6"})},{variant:"subtle",colorScheme:"info",css:Ya({color:"$info11",bgColor:"$info4",bgColorHover:"$info5",bgColorActive:"$info6"})},{variant:"subtle",colorScheme:"warning",css:Ya({color:"$warning11",bgColor:"$warning4",bgColorHover:"$warning5",bgColorActive:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:Ya({color:"$danger11",bgColor:"$danger4",bgColorHover:"$danger5",bgColorActive:"$danger6"})},{variant:"outline",colorScheme:"primary",css:Bn({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"outline",colorScheme:"accent",css:Bn({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"outline",colorScheme:"neutral",css:Bn({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"outline",colorScheme:"success",css:Bn({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"outline",colorScheme:"info",css:Bn({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"outline",colorScheme:"warning",css:Bn({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"outline",colorScheme:"danger",css:Bn({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"dashed",colorScheme:"primary",css:Bn({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"dashed",colorScheme:"accent",css:Bn({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"dashed",colorScheme:"neutral",css:Bn({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"dashed",colorScheme:"success",css:Bn({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"dashed",colorScheme:"info",css:Bn({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"dashed",colorScheme:"warning",css:Bn({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"dashed",colorScheme:"danger",css:Bn({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"ghost",colorScheme:"primary",css:Xa({color:"$primary11",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"ghost",colorScheme:"accent",css:Xa({color:"$accent11",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"ghost",colorScheme:"neutral",css:Xa({color:"$neutral12",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"ghost",colorScheme:"success",css:Xa({color:"$success11",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"ghost",colorScheme:"info",css:Xa({color:"$info11",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"ghost",colorScheme:"warning",css:Xa({color:"$warning11",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"ghost",colorScheme:"danger",css:Xa({color:"$danger11",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{size:"xs",compact:"true",css:Ho({height:"$5",paddingX:"$1"})},{size:"sm",compact:"true",css:Ho({height:"$6",paddingX:"$1_5"})},{size:"md",compact:"true",css:Ho({height:"$7",paddingX:"$2"})},{size:"lg",compact:"true",css:Ho({height:"$8",paddingX:"$2_5"})},{size:"xl",compact:"true",css:Ho({height:"$10",paddingX:"$3_5"})}]});Q({display:"inline-flex",["& .".concat(E2,":focus")]:{zIndex:1}});const TS=Lt();function S2(){return It(TS)}const C2="hope-button__icon";function rd(e){const[t,n]=fe(e,["class","children"]),r=()=>ce(t.class,C2,ES());return w(Xe.span,X({get class(){return r()}},n,{get children(){return t.children}}))}rd.toString=()=>be(C2);const wS=Bt('<svg><g fill="none"><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M12 19a7 7 0 1 0 0-14a7 7 0 0 0 0 14zm0 3c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10z" fill="currentColor"></path><path d="M2 12C2 6.477 6.477 2 12 2v3a7 7 0 0 0-7 7H2z" fill="currentColor"></path></g></svg>',8,!0),T2=br({path:()=>wS.cloneNode(!0)}),w2="hope-button__loader";function ad(e){const t={spacing:"0.5rem",children:w(T2,{get class(){return CS()}})},n=X(t,e),[r,a]=fe(n,["class","children","withLoadingText","placement","spacing"]),i=()=>r.placement==="start"?"marginEnd":"marginStart",o=()=>({[i()]:r.withLoadingText?r.spacing:0}),s=()=>ce(r.class,w2,SS({withLoadingText:r.withLoadingText}));return w(Xe.div,X({get class(){return s()}},o,a,{get children(){return r.children}}))}ad.toString=()=>be(w2);const A2="hope-button";function k2(e){var t,n,r;const a=Ce().Button,i=S2(),o={loaderPlacement:(r=(n=(t=a==null?void 0:a.defaultProps)==null?void 0:t.root)==null?void 0:n.loaderPlacement)!=null?r:"start",iconSpacing:"0.5rem",type:"button",role:"button"},s=X(o,e),[l,u,d]=fe(s,["class","disabled","loadingText","loader","loaderPlacement","variant","colorScheme","size","loading","compact","fullWidth"],["children","iconSpacing","leftIcon","rightIcon"]),p=()=>{var h;return(h=l.disabled)!=null?h:i==null?void 0:i.state.disabled},f=()=>{var h,c,g,m,x,v,y,_,S,C,T,R,P,A,I;return ce(l.class,A2,E2({variant:(x=(m=(h=l.variant)!=null?h:i==null?void 0:i.state.variant)!=null?m:(g=(c=a==null?void 0:a.defaultProps)==null?void 0:c.root)==null?void 0:g.variant)!=null?x:"solid",colorScheme:(C=(S=(v=l.colorScheme)!=null?v:i==null?void 0:i.state.colorScheme)!=null?S:(_=(y=a==null?void 0:a.defaultProps)==null?void 0:y.root)==null?void 0:_.colorScheme)!=null?C:"primary",size:(I=(A=(T=l.size)!=null?T:i==null?void 0:i.state.size)!=null?A:(P=(R=a==null?void 0:a.defaultProps)==null?void 0:R.root)==null?void 0:P.size)!=null?I:"md",loading:l.loading,compact:l.compact,fullWidth:l.fullWidth}))};return w(Xe.button,X({get class(){return f()},get disabled(){return p()},get __baseStyle(){var h;return(h=a==null?void 0:a.baseStyle)==null?void 0:h.root}},d,{get children(){return[w(Re,{get when(){return l.loading&&l.loaderPlacement==="start"},get children(){return w(ad,{class:"hope-button__loader--start",get withLoadingText(){return!!l.loadingText},placement:"start",get spacing(){return u.iconSpacing},get children(){return l.loader}})}}),w(Re,{get when(){return l.loading},get fallback(){return w(Ih,u)},get children(){return w(Re,{get when(){return l.loadingText},get fallback(){return w(Xe.span,{opacity:0,get children(){return w(Ih,u)}})},get children(){return l.loadingText}})}}),w(Re,{get when(){return l.loading&&l.loaderPlacement==="end"},get children(){return w(ad,{class:"hope-button__loader--end",get withLoadingText(){return!!l.loadingText},placement:"end",get spacing(){return u.iconSpacing},get children(){return l.loader}})}})]}}))}k2.toString=()=>be(A2);function Ih(e){return[w(Re,{get when(){return e.leftIcon},get children(){return w(rd,{get marginEnd(){return e.iconSpacing},get children(){return e.leftIcon}})}}),ir(()=>e.children),w(Re,{get when(){return e.rightIcon},get children(){return w(rd,{get marginStart(){return e.iconSpacing},get children(){return e.rightIcon}})}})]}function Qa(e){return{boxSize:e,fontSize:"calc(".concat(e," / 2.5)"),lineHeight:e}}const O2=Q({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,borderRadius:"$full",borderColor:"$loContrast",backgroundColor:"$neutral8",color:"$neutral12",fontWeight:"$medium",textAlign:"center",textTransform:"uppercase",verticalAlign:"top",variants:{size:{"2xs":Qa("$sizes$4"),xs:Qa("$sizes$6"),sm:Qa("$sizes$8"),md:Qa("$sizes$12"),lg:Qa("$sizes$16"),xl:Qa("$sizes$24"),"2xl":Qa("$sizes$32"),full:{boxSize:"$full",fontSize:"calc($sizes$full / 2.5)"}},withBorder:{true:{}}},compoundVariants:[{withBorder:!0,size:"2xs",css:{borderWidth:"1px"}},{withBorder:!0,size:"xs",css:{borderWidth:"1px"}},{withBorder:!0,size:"sm",css:{borderWidth:"2px"}},{withBorder:!0,size:"md",css:{borderWidth:"2px"}},{withBorder:!0,size:"lg",css:{borderWidth:"3px"}},{withBorder:!0,size:"xl",css:{borderWidth:"4px"}},{withBorder:!0,size:"2xl",css:{borderWidth:"5px"}},{withBorder:!0,size:"full",css:{borderWidth:"2px"}}]});Q(O2);Q({boxSize:"$full",borderRadius:"$full",objectFit:"cover"});Q({position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"$full",borderWidth:"0.2em",borderStyle:"solid",borderColor:"$loContrast",variants:{placement:{"top-start":{insetInlineStart:"0",top:"0",transform:"translate(-25%, -25%)"},"top-end":{insetInlineEnd:"0",top:"0",transform:"translate(25%, -25%)"},"bottom-start":{insetInlineStart:"0",bottom:"0",transform:"translate(-25%, 25%)"},"bottom-end":{insetInlineEnd:"0",bottom:"0",transform:"translate(25%, 25%)"}}}});Q({display:"flex",alignItems:"center",justifyContent:"flex-start",flexDirection:"row",["& .".concat(O2,":first-child")]:{marginStart:"0"}});function AS(e){const[t,n]=Ie("pending"),r=()=>e.ignoreFallback?"loaded":t();let a=null;const i=()=>{a&&(a.onload=null,a.onerror=null,a=null)},o=()=>{if(!e.src)return;i();const s=new Image;s.src=e.src,e.crossOrigin&&(s.crossOrigin=e.crossOrigin),e.srcSet&&(s.srcset=e.srcSet),e.sizes&&(s.sizes=e.sizes),e.loading&&(s.loading=e.loading),s.onload=l=>{i(),n("loaded"),xn(e.onLoad,l)},s.onerror=l=>{i(),n("failed"),xn(e.onError,l)},a=s};return Kt(()=>{n(e.src?"loading":"pending")}),Pn(()=>{e.ignoreFallback||(t()==="loading"&&o(),wt(()=>{i()}))}),r}const kS=Q({display:"inline-block",borderRadius:"$sm",py:"$0_5",px:"$1",fontSize:"$xs",fontWeight:"$bold",lineHeight:"$none",letterSpacing:"$wide",textTransform:"uppercase",whiteSpace:"nowrap",verticalAlign:"middle",variants:{variant:{solid:{border:"1px solid transparent",color:"white"},subtle:{border:"1px solid transparent"},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent"}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:{color:"white",bgColor:"$primary9"}},{variant:"solid",colorScheme:"accent",css:{color:"white",bgColor:"$accent9"}},{variant:"solid",colorScheme:"neutral",css:{color:"white",bgColor:"$neutral9"}},{variant:"solid",colorScheme:"success",css:{color:"white",bgColor:"$success9"}},{variant:"solid",colorScheme:"info",css:{color:"white",bgColor:"$info9"}},{variant:"solid",colorScheme:"warning",css:{color:"$blackAlpha12",bgColor:"$warning9"}},{variant:"solid",colorScheme:"danger",css:{color:"white",bgColor:"$danger9"}},{variant:"subtle",colorScheme:"primary",css:{color:"$primary11",bgColor:"$primary4"}},{variant:"subtle",colorScheme:"accent",css:{color:"$accent11",bgColor:"$accent4"}},{variant:"subtle",colorScheme:"neutral",css:{color:"$neutral12",bgColor:"$neutral4"}},{variant:"subtle",colorScheme:"success",css:{color:"$success11",bgColor:"$success4"}},{variant:"subtle",colorScheme:"info",css:{color:"$info11",bgColor:"$info4"}},{variant:"subtle",colorScheme:"warning",css:{color:"$warning11",bgColor:"$warning4"}},{variant:"subtle",colorScheme:"danger",css:{color:"$danger11",bgColor:"$danger4"}},{variant:"outline",colorScheme:"primary",css:{color:"$primary11",borderColor:"$primary7"}},{variant:"outline",colorScheme:"accent",css:{color:"$accent11",borderColor:"$accent7"}},{variant:"outline",colorScheme:"neutral",css:{color:"$neutral12",borderColor:"$neutral7"}},{variant:"outline",colorScheme:"success",css:{color:"$success11",borderColor:"$success7"}},{variant:"outline",colorScheme:"info",css:{color:"$info11",borderColor:"$info7"}},{variant:"outline",colorScheme:"warning",css:{color:"$warning11",borderColor:"$warning7"}},{variant:"outline",colorScheme:"danger",css:{color:"$danger11",borderColor:"$danger7"}}]}),I2="hope-badge";function OS(e){var t,n,r,a;const i=Ce().Badge,o={variant:(n=(t=i==null?void 0:i.defaultProps)==null?void 0:t.variant)!=null?n:"subtle",colorScheme:(a=(r=i==null?void 0:i.defaultProps)==null?void 0:r.colorScheme)!=null?a:"neutral"},s=X(o,e),[l,u,d]=fe(s,["class"],["variant","colorScheme"]),p=()=>ce(l.class,I2,kS(u));return w(Xe.span,X({get class(){return p()},get __baseStyle(){return i==null?void 0:i.baseStyle}},d))}OS.toString=()=>be(I2);const IS=Q({display:"block",fontSize:"$base",lineHeight:"$6"}),NS=Q({display:"flex",alignItems:"center",margin:0,padding:0,listStyle:"none"}),LS=Q({display:"inline-flex",alignItems:"center"}),RS=Q({display:"inline-flex",alignItems:"center",justifyContent:"center"}),PS=Q({position:"relative",display:"inline-flex",alignItems:"center",outline:"none",backgroundColor:"transparent",color:"$neutral11",textDecoration:"none",cursor:"pointer",transition:"color 250ms, text-decoration 250ms","&:focus":{boxShadow:"$outline"},variants:{currentPage:{true:{color:"$neutral12",cursor:"default"},false:{"&:hover":{color:"$primary11"}}}}}),N2=Lt(),L2="hope-breadcrumb",DS="hope-breadcrumb__list";function MS(e){const t=Ce().Breadcrumb,[n]=bn({get spacing(){var l,u,d,p;return(p=(d=e.spacing)!=null?d:(u=(l=t==null?void 0:t.defaultProps)==null?void 0:l.root)==null?void 0:u.spacing)!=null?p:"0.5rem"},get separator(){var l,u,d,p;return(p=(d=e.separator)!=null?d:(u=(l=t==null?void 0:t.defaultProps)==null?void 0:l.root)==null?void 0:u.separator)!=null?p:"/"}}),[r,a]=fe(e,["class","children","separator","spacing"]),i=()=>ce(r.class,L2,IS()),o=()=>ce(DS,NS()),s={state:n};return w(N2.Provider,{value:s,get children(){return w(Xe.nav,X({"aria-label":"breadcrumb",get class(){return i()},get __baseStyle(){var l;return(l=t==null?void 0:t.baseStyle)==null?void 0:l.root}},a,{get children(){return w(Xe.ol,{get class(){return o()},get gap(){return n.spacing},get children(){return r.children}})}}))}})}MS.toString=()=>be(L2);function R2(){const e=It(N2);if(!e)throw new Error("[Hope UI]: useBreadcrumbContext must be used within a `<Breadcrumb />` component");return e}const P2="hope-breadcrumb__item";function BS(e){const t=Ce().Breadcrumb,n=R2(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,P2,LS());return w(Xe.li,X({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.item},get gap(){return n.state.spacing}},a))}BS.toString=()=>be(P2);const D2="hope-breadcrumb__link";function FS(e){const t=Ce().Breadcrumb,[n,r]=fe(e,["class","currentPage","href"]),a=()=>ce(n.class,D2,PS({currentPage:n.currentPage===!0}));return w(Re,{get when(){return n.currentPage},get fallback(){return w(Xe.a,X({get href(){return n.href},get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.link}},r))},get children(){return w(Xe.span,X({"aria-current":"page",get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.link}},r))}})}FS.toString=()=>be(D2);const M2="hope-breadcrumb__separator";function $S(e){const t=Ce().Breadcrumb,n=R2(),[r,a]=fe(e,["class","children"]),i=()=>ce(r.class,M2,RS());return w(Xe.span,X({role:"presentation",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.separator}},a,{get children(){return w(Re,{get when(){return r.children},get fallback(){return n.state.separator},get children(){return r.children}})}}))}$S.toString=()=>be(M2);const HS=Q({display:"flex",justifyContent:"center",alignItems:"center"}),B2="hope-center";function go(e){const[t,n]=fe(e,["class"]),r=()=>ce(t.class,B2,HS());return w(Be,X({get class(){return r()}},n))}go.toString=()=>be(B2);function Za(e){return{color:e.color,"&[data-disabled]":{color:"$neutral10"},"&[data-focus]":{boxShadow:"0 0 0 3px $colors".concat(e.boxShadowColorFocus),borderColor:e.borderColorFocus}}}const Xd=Q({position:"relative",display:"inline-flex",alignItems:"center",gap:"$2",cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"},variants:{size:{sm:{fontSize:"$sm",lineHeight:"$5"},md:{fontSize:"$base",lineHeight:"$6"},lg:{fontSize:"$lg",lineHeight:"$7"}}}}),Qd=Q({cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"}}),Zd=Q({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,height:"100%",outline:"none",padding:0,verticalAlign:"middle",cursor:"pointer",userSelect:"none",transition:"border-color 250ms, box-shadow 250ms","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"},"&[data-invalid]":{borderColor:"$danger8",color:"$danger9"},"&[data-focus][data-invalid]":{boxShadow:"0 0 0 3px $colors$danger5",borderColor:"$danger8"},"&[data-checked], &[data-focus][data-checked]":{borderColor:"transparent",backgroundColor:"currentColor"},variants:{variant:{outline:{border:"1px solid $colors$neutral8",backgroundColor:"transparent"},filled:{border:"1px solid transparent",backgroundColor:"$neutral7"}},colorScheme:{primary:Za({color:"$primary9",boxShadowColorFocus:"$primary5",borderColorFocus:"$primary8"}),accent:Za({color:"$accent9",boxShadowColorFocus:"$accent5",borderColorFocus:"$accent8"}),neutral:Za({color:"$neutral9",boxShadowColorFocus:"$neutral5",borderColorFocus:"$neutral8"}),success:Za({color:"$success9",boxShadowColorFocus:"$success5",borderColorFocus:"$success8"}),info:Za({color:"$info9",boxShadowColorFocus:"$info5",borderColorFocus:"$info8"}),warning:Za({color:"$warning9",boxShadowColorFocus:"$warning5",borderColorFocus:"$warning8"}),danger:Za({color:"$danger9",boxShadowColorFocus:"$danger5",borderColorFocus:"$danger8"})},size:{sm:{boxSize:"$3"},md:{boxSize:"$4"},lg:{boxSize:"$5"}}}}),US=Q(Xd,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),zS=Q(Qd),jS=Q(Zd,{borderRadius:"$sm","& svg":{color:"$loContrast"},"&[data-indeterminate], &[data-focus][data-indeterminate]":{borderColor:"transparent",backgroundColor:"currentColor"}}),qS=Lt();function F2(){return It(qS)}const WS=Q({position:"relative",width:"$full"}),VS=Q({display:"inline-block",marginBottom:"$1",color:"$neutral12",fontWeight:"$medium",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}}),GS=Q({marginInlineStart:"$1",color:"$danger9",fontSize:"$base"}),KS=Q({display:"inline-block",marginTop:"$1",color:"$neutral11",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});Q({display:"inline-block",marginTop:"$1",color:"$danger9",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});const $2=Lt(),H2="hope-form-control";function YS(e){const t="hope-field-".concat(or()),n=Ce().FormControl,[r,a]=bn({get id(){var h;return(h=e.id)!=null?h:t},get labelId(){return"".concat(this.id,"-label")},get helperTextId(){return"".concat(this.id,"-helper-text")},get errorMessageId(){return"".concat(this.id,"-error-message")},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get"data-focus"(){return this.isFocused?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0},hasHelperText:!1,hasErrorMessage:!1,isFocused:!1}),[i,o]=fe(e,["id","required","disabled","invalid","readOnly","class"]),s=h=>a("hasHelperText",h),l=h=>a("hasErrorMessage",h),u=()=>a("isFocused",!0),d=()=>a("isFocused",!1),p=()=>({state:r,setHasHelperText:s,setHasErrorMessage:l,onFocus:u,onBlur:d}),f=()=>ce(i.class,H2,WS());return w($2.Provider,{get value(){return p()},get children(){return w(Be,X({role:"group",get class(){return f()},get __baseStyle(){var h;return(h=n==null?void 0:n.baseStyle)==null?void 0:h.root}},o))}})}YS.toString=()=>be(H2);function $s(){return It($2)}function mo(e){const t=$s(),n=Ue(()=>Cn(t==null?void 0:t.onFocus,e.onFocus)),r=Ue(()=>Cn(t==null?void 0:t.onBlur,e.onBlur)),[a]=bn({get id(){var i;return(i=e.id)!=null?i:t==null?void 0:t.state.id},get required(){var i;return(i=e.required)!=null?i:t==null?void 0:t.state.required},get disabled(){var i;return(i=e.disabled)!=null?i:t==null?void 0:t.state.disabled},get invalid(){var i;return(i=e.invalid)!=null?i:t==null?void 0:t.state.invalid},get readOnly(){var i;return(i=e.readOnly)!=null?i:t==null?void 0:t.state.readOnly},get"aria-required"(){return this.required?!0:void 0},get"aria-disabled"(){return this.disabled?!0:void 0},get"aria-invalid"(){return this.invalid?!0:void 0},get"aria-readonly"(){return this.readOnly?!0:void 0},get"aria-describedby"(){const i=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.state.hasErrorMessage&&(t!=null&&t.state.invalid)&&i.push(t.state.errorMessageId),t!=null&&t.state.hasHelperText&&i.push(t.state.helperTextId),i.join(" ")||void 0},get onFocus(){return n},get onBlur(){return r}});return a}const XS=Bt('<input type="checkbox">',1);function QS(e){const t="hope-checkbox-".concat(or()),n=$s(),r=F2(),a=mo(e),[i,o]=bn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return e.checked!==void 0},get checked(){if(r){const m=r.state.value;return m!=null?m.some(x=>String(e.value)===String(x)):!1}return this.isControlled?!!e.checked:this._checked},get id(){var m;return n&&!r?a.id:(m=e.id)!=null?m:t},get name(){var m;return(m=e.name)!=null?m:r==null?void 0:r.state.name},get value(){return e.value},get indeterminate(){return e.indeterminate},get required(){var m;return(m=a.required)!=null?m:r==null?void 0:r.state.required},get disabled(){var m;return(m=a.disabled)!=null?m:r==null?void 0:r.state.disabled},get invalid(){var m;return(m=a.invalid)!=null?m:r==null?void 0:r.state.invalid},get readOnly(){var m;return(m=a.readOnly)!=null?m:r==null?void 0:r.state.readOnly},get"aria-required"(){return this.required?!0:void 0},get"aria-disabled"(){return this.disabled?!0:void 0},get"aria-invalid"(){return this.invalid?!0:void 0},get"aria-readonly"(){return this.readOnly?!0:void 0},get"aria-label"(){return e["aria-label"]},get"aria-labelledby"(){return e["aria-labelledby"]},get"aria-describedby"(){return e["aria-describedby"]},get"data-indeterminate"(){return this.indeterminate?"":void 0},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[s,l,u]=fe(e,["inputClass","children","ref","tabIndex","onChange"],["id","name","value","indeterminate","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),d=m=>{if(i.readOnly||i.disabled){m.preventDefault();return}if(!i.isControlled){const x=m.target;o("_checked",x.checked)}Cn(r==null?void 0:r.onChange,s.onChange)(m)},p=m=>{o("isFocused",!0),xn(a.onFocus,m)},f=m=>{o("isFocused",!1),xn(a.onBlur,m)},h=()=>ce(s.inputClass,ic()),c=()=>i,g={state:i};return w(ZS.Provider,{value:g,get children(){return w(Xe.label,X({get for(){return i.id},"data-group":!0,get"data-indeterminate"(){return i["data-indeterminate"]},get"data-focus"(){return i["data-focus"]},get"data-checked"(){return i["data-checked"]},get"data-required"(){return i["data-required"]},get"data-disabled"(){return i["data-disabled"]},get"data-invalid"(){return i["data-invalid"]},get"data-readonly"(){return i["data-readonly"]}},u,{get children(){return[(()=>{const m=XS.cloneNode(!0);m.addEventListener("blur",f),m.addEventListener("focus",p),m.addEventListener("change",d);const x=s.ref;return typeof x=="function"?x(m):s.ref=m,Pn(v=>{const y=h(),_=s.tabIndex,S=i.value,C=i.id,T=i.name,R=i.checked,P=i.required,A=i.disabled,I=i.readOnly,$=i["aria-required"],W=i["aria-disabled"],G=i["aria-invalid"],ae=i["aria-readonly"],ie=i["aria-label"],Te=i["aria-labelledby"],te=i["aria-describedby"];return y!==v._v$&&(m.className=v._v$=y),_!==v._v$2&&ht(m,"tabindex",v._v$2=_),S!==v._v$3&&(m.value=v._v$3=S),C!==v._v$4&&ht(m,"id",v._v$4=C),T!==v._v$5&&ht(m,"name",v._v$5=T),R!==v._v$6&&(m.checked=v._v$6=R),P!==v._v$7&&(m.required=v._v$7=P),A!==v._v$8&&(m.disabled=v._v$8=A),I!==v._v$9&&(m.readOnly=v._v$9=I),$!==v._v$10&&ht(m,"aria-required",v._v$10=$),W!==v._v$11&&ht(m,"aria-disabled",v._v$11=W),G!==v._v$12&&ht(m,"aria-invalid",v._v$12=G),ae!==v._v$13&&ht(m,"aria-readonly",v._v$13=ae),ie!==v._v$14&&ht(m,"aria-label",v._v$14=ie),Te!==v._v$15&&ht(m,"aria-labelledby",v._v$15=Te),te!==v._v$16&&ht(m,"aria-describedby",v._v$16=te),v},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),m})(),w(Re,{get when(){return An(s.children)},get fallback(){return s.children},get children(){var m;return(m=s.children)==null?void 0:m.call(s,{state:c})}})]}}))}})}const ZS=Lt(),JS=Bt('<svg><path d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" fill="currentColor" stroke="currentColor" stroke-width="1" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),eC=Bt('<svg><path d="M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z" fill="currentColor" stroke="currentColor" stroke-width="1" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),U2="hope-checkbox",tC="hope-checkbox__input",nC="hope-checkbox__control",rC="hope-checkbox__label";function aC(e){var t,n,r,a,i,o,s,l,u,d,p,f,h,c,g,m,x,v,y,_;const S=Ce().Checkbox,C=F2(),T={variant:(i=(a=(t=C==null?void 0:C.state)==null?void 0:t.variant)!=null?a:(r=(n=S==null?void 0:S.defaultProps)==null?void 0:n.root)==null?void 0:r.variant)!=null?i:"outline",colorScheme:(d=(u=(o=C==null?void 0:C.state)==null?void 0:o.colorScheme)!=null?u:(l=(s=S==null?void 0:S.defaultProps)==null?void 0:s.root)==null?void 0:l.colorScheme)!=null?d:"primary",size:(g=(c=(p=C==null?void 0:C.state)==null?void 0:p.size)!=null?c:(h=(f=S==null?void 0:S.defaultProps)==null?void 0:f.root)==null?void 0:h.size)!=null?g:"md",labelPlacement:(_=(y=(m=C==null?void 0:C.state)==null?void 0:m.labelPlacement)!=null?y:(v=(x=S==null?void 0:S.defaultProps)==null?void 0:x.root)==null?void 0:v.labelPlacement)!=null?_:"end"},R=X(T,e),[P,A]=fe(R,["children","class","variant","colorScheme","size","labelPlacement","iconChecked","iconIndeterminate"]),I=()=>ce(P.class,U2,US({size:P.size,labelPlacement:P.labelPlacement})),$=()=>ce(nC,jS({variant:P.variant,colorScheme:P.colorScheme,size:P.size})),W=()=>ce(rC,zS());return w(QS,X({get class(){return I()},inputClass:tC,get __baseStyle(){var G;return(G=S==null?void 0:S.baseStyle)==null?void 0:G.root}},A,{children:({state:G})=>[w(Xe.span,{"aria-hidden":!0,get class(){return $()},get __baseStyle(){var ae;return(ae=S==null?void 0:S.baseStyle)==null?void 0:ae.control},get"data-indeterminate"(){return G()["data-indeterminate"]},get"data-focus"(){return G()["data-focus"]},get"data-checked"(){return G()["data-checked"]},get"data-required"(){return G()["data-required"]},get"data-disabled"(){return G()["data-disabled"]},get"data-invalid"(){return G()["data-invalid"]},get"data-readonly"(){return G()["data-readonly"]},get children(){return w(Ms,{get children(){return[w(Xr,{get when(){return G().indeterminate},get children(){return w(Re,{get when(){return P.iconIndeterminate},get fallback(){return w(oC,{})},get children(){return P.iconIndeterminate}})}}),w(Xr,{get when(){return ir(()=>!!G().checked)()&&!G().indeterminate},get children(){return w(Re,{get when(){return P.iconChecked},get fallback(){return w(iC,{})},get children(){return P.iconChecked}})}})]}})}}),w(Xe.span,{get class(){return W()},get __baseStyle(){var ae;return(ae=S==null?void 0:S.baseStyle)==null?void 0:ae.label},get"data-indeterminate"(){return G()["data-indeterminate"]},get"data-focus"(){return G()["data-focus"]},get"data-checked"(){return G()["data-checked"]},get"data-required"(){return G()["data-required"]},get"data-disabled"(){return G()["data-disabled"]},get"data-invalid"(){return G()["data-invalid"]},get"data-readonly"(){return G()["data-readonly"]},get children(){return P.children}})]}))}aC.toString=()=>be(U2);const iC=br({viewBox:"0 0 15 15",path:()=>JS.cloneNode(!0)}),oC=br({viewBox:"0 0 15 15",path:()=>eC.cloneNode(!0)}),sC=po({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}});Q({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"});Q({fill:"transparent",stroke:"currentColor"});Q({position:"absolute",top:0,left:0,variants:{spin:{true:{animation:"".concat(ac," 2s linear infinite")}}}});Q({fill:"transparent",stroke:"currentColor",opacity:1,variants:{hidden:{true:{opacity:0}},withRoundCaps:{true:{strokeLinecap:"round"}},indeterminate:{true:{animation:"".concat(sC," 2s linear infinite")},false:{strokeDashoffset:66,transitionProperty:"stroke-dasharray, stroke, opacity",transitionDuration:"600ms",transitionTimingFunction:"ease"}}}});Q({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",fontSize:"$xs",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"});const lC=Bt('<svg><path fill="currentColor" d="M2.64 1.27L7.5 6.13l4.84-4.84A.92.92 0 0 1 13 1a1 1 0 0 1 1 1a.9.9 0 0 1-.27.66L8.84 7.5l4.89 4.89A.9.9 0 0 1 14 13a1 1 0 0 1-1 1a.92.92 0 0 1-.69-.27L7.5 8.87l-4.85 4.85A.92.92 0 0 1 2 14a1 1 0 0 1-1-1a.9.9 0 0 1 .27-.66L6.16 7.5L1.27 2.61A.9.9 0 0 1 1 2a1 1 0 0 1 1-1c.24.003.47.1.64.27z"></path></svg>',4,!0),uC=br({viewBox:"0 0 15 15",path:()=>lC.cloneNode(!0)}),cC=Q({appearance:"none",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,outline:"none",borderWidth:0,borderRadius:"$sm",backgroundColor:"transparent",padding:0,color:"currentColor",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms","&:disbaled":{opacity:"0.5",cursor:"not-allowed",boxShadow:"none"},"&:hover":{backgroundColor:"$closeButtonHoverBackground"},"&:active":{backgroundColor:"$closeButtonActiveBackground"},"&:focus":{outline:"none",boxShadow:"$outline"},variants:{size:{sm:{boxSize:"24px",fontSize:"10px"},md:{boxSize:"32px",fontSize:"12px"},lg:{boxSize:"40px",fontSize:"16px"}}}}),z2="hope-close-button";function uc(e){var t,n,r,a,i,o;const s=Ce().CloseButton,l={"aria-label":(n=(t=s==null?void 0:s.defaultProps)==null?void 0:t["aria-label"])!=null?n:"Close",icon:(a=(r=s==null?void 0:s.defaultProps)==null?void 0:r.icon)!=null?a:w(uC,{}),size:(o=(i=s==null?void 0:s.defaultProps)==null?void 0:i.size)!=null?o:"md"},u=X(l,e),[d,p]=fe(u,["class","children","size","icon"]),f=()=>ce(d.class,z2,cC({size:d.size}));return w(Xe.button,X({type:"button",get class(){return f()},get __baseStyle(){return s==null?void 0:s.baseStyle}},p,{get children(){return w(Re,{get when(){return d.children},get fallback(){return d.icon},get children(){return d.children}})}}))}uc.toString=()=>be(z2);const dC=Q({width:"100%","@sm":{maxWidth:"$containerSm"},"@md":{maxWidth:"$containerMd"},"@lg":{maxWidth:"$containerLg"},"@xl":{maxWidth:"$containerXl"},"@2xl":{maxWidth:"$container2xl"},variants:{centered:{true:{mx:"auto"}},centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}}}}),j2="hope-container";function fC(e){const n=X({centered:!0,centerContent:!1},e),[r,a,i]=fe(n,["class"],["centered","centerContent"]),o=()=>ce(r.class,j2,dC(a));return w(Be,X({get class(){return o()}},i))}fC.toString=()=>be(j2);const hC=Q({border:0,borderColor:"currentColor",variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{height:"100%"},horizontal:{width:"100%"}}}}),q2="hope-divider";function pC(e){const n=X({as:"div",variant:"solid",orientation:"horizontal",color:"$neutral6",thickness:"1px"},e),[r,a]=fe(n,["class","variant","orientation","thickness"]),i=()=>ce(r.class,q2,hC({variant:r.variant,orientation:r.orientation,css:{borderLeftWidth:r.orientation==="vertical"?r.thickness:0,borderBottomWidth:r.orientation==="horizontal"?r.thickness:0}}));return w(Be,X({get class(){return i()}},a))}pC.toString=()=>be(q2);function gC(e){const t="hope-modal-".concat(or()),n=Ce().Modal,[r,a]=bn({headerMounted:!1,bodyMounted:!1,get opened(){return e.opened},get dialogId(){var m;return(m=e.id)!=null?m:t},get headerId(){return"".concat(this.dialogId,"--header")},get bodyId(){return"".concat(this.dialogId,"--body")},get initialFocus(){return e.initialFocus},get motionPreset(){var m,x,v,y;return(y=(v=e.motionPreset)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.motionPreset)!=null?y:"scale"},get size(){var m,x,v,y;return(y=(v=e.size)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.size)!=null?y:"md"},get centered(){var m,x,v,y;return(y=(v=e.centered)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.centered)!=null?y:!1},get scrollBehavior(){var m,x,v,y;return(y=(v=e.scrollBehavior)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.scrollBehavior)!=null?y:"outside"},get closeOnOverlayClick(){var m,x,v,y;return(y=(v=e.closeOnOverlayClick)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.closeOnOverlayClick)!=null?y:!0},get closeOnEsc(){var m,x,v,y;return(y=(v=e.closeOnEsc)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.closeOnEsc)!=null?y:!0},get trapFocus(){var m,x,v,y;return(y=(v=e.trapFocus)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.trapFocus)!=null?y:!0},get blockScrollOnMount(){var m,x,v,y;return(y=(v=e.blockScrollOnMount)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.blockScrollOnMount)!=null?y:!0},get preserveScrollBarGap(){var m,x,v,y;return(y=(v=e.preserveScrollBarGap)!=null?v:(x=(m=n==null?void 0:n.defaultProps)==null?void 0:m.root)==null?void 0:x.preserveScrollBarGap)!=null?y:!1}}),[i,o]=Ie(!1);Kt(()=>{r.opened?o(!0):r.motionPreset==="none"&&o(!1)});const s=()=>o(!1),l=()=>e.onClose(),u=m=>a("headerMounted",m),d=m=>a("bodyMounted",m);let p=null;const g={state:r,unmountPortal:s,onClose:l,onMouseDown:m=>{p=m.target},onKeyDown:m=>{var x;m.key==="Escape"&&(m.stopPropagation(),r.closeOnEsc&&l(),(x=e.onEsc)==null||x.call(e))},onOverlayClick:m=>{var x;m.stopPropagation(),p===m.target&&(r.closeOnOverlayClick&&l(),(x=e.onOverlayClick)==null||x.call(e))},setHeaderMounted:u,setBodyMounted:d};return w(Re,{get when(){return i()},get children(){return w(W2.Provider,{value:g,get children(){return w(Ha,{get children(){return e.children}})}})}})}const W2=Lt();function za(){const e=It(W2);if(!e)throw new Error("[Hope UI]: useModalContext must be used within a `<Modal />` component");return e}const V2="hope-modal__body";function G2(e){const t=Ce().Modal,n=za(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,V2,z5({scrollBehavior:n.state.scrollBehavior}));return wn(()=>n.setBodyMounted(!0)),wt(()=>n.setBodyMounted(!1)),w(Be,X({get class(){return i()},get id(){return n.state.bodyId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.body}},a))}G2.toString=()=>be(V2);const K2="hope-modal__close-button";function Y2(e){var t,n,r,a,i,o,s,l;const u=Ce().Modal,d=za(),p={"aria-label":(r=(n=(t=u==null?void 0:u.defaultProps)==null?void 0:t.closeButton)==null?void 0:n["aria-label"])!=null?r:"Close modal",size:(o=(i=(a=u==null?void 0:u.defaultProps)==null?void 0:a.closeButton)==null?void 0:i.size)!=null?o:"md",icon:(l=(s=u==null?void 0:u.defaultProps)==null?void 0:s.closeButton)==null?void 0:l.icon},f=X(p,e),[h,c]=fe(f,["class","onClick"]),g=()=>ce(h.class,K2,q5());return w(uc,X({get class(){return g()},get __baseStyle(){var x;return(x=u==null?void 0:u.baseStyle)==null?void 0:x.closeButton},onClick:x=>{Cn(h.onClick,v=>{v.stopPropagation(),d.onClose()})(x)}},c))}Y2.toString=()=>be(K2);const X2="hope-modal__footer";function mC(e){const t=Ce().Modal,[n,r]=fe(e,["class"]),a=()=>ce(n.class,X2,j5());return w(Be,X({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.footer}},r))}mC.toString=()=>be(X2);const Q2="hope-modal__header";function Z2(e){const t=Ce().Modal,n=za(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,Q2,U5());return wn(()=>n.setHeaderMounted(!0)),wt(()=>n.setHeaderMounted(!1)),w(Be,X({get class(){return i()},get id(){return n.state.headerId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.header}},a))}Z2.toString=()=>be(Q2);const J2=Lt();function FF(e){const t=Ce().Drawer,[,n]=fe(e,["opened","onClose","placement","size","fullHeight","disableMotion"]),[r]=bn({get placement(){var a,i,o,s;return(s=(o=e.placement)!=null?o:(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.placement)!=null?s:"right"},get size(){var a,i,o,s;return(s=(o=e.size)!=null?o:(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.size)!=null?s:"xs"},get fullHeight(){var a,i,o,s;return(s=(o=e.fullHeight)!=null?o:(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.fullHeight)!=null?s:!1},get disableMotion(){var a,i,o,s;return(s=(o=e.disableMotion)!=null?o:(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.disableMotion)!=null?s:!1}});return w(J2.Provider,{value:r,get children(){return w(gC,X({scrollBehavior:"inside",get blockScrollOnMount(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.blockScrollOnMount},get closeOnEsc(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.closeOnEsc},get closeOnOverlayClick(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.closeOnOverlayClick},get preserveScrollBarGap(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.preserveScrollBarGap},get trapFocus(){var a,i;return(i=(a=t==null?void 0:t.defaultProps)==null?void 0:a.root)==null?void 0:i.trapFocus},get opened(){return e.opened},get onClose(){return e.onClose}},n))}})}function ex(){const e=It(J2);if(!e)throw new Error("[Hope UI]: useDrawerContext must be used within a `<Drawer />` component");return e}function $F(e){var t,n,r,a,i,o,s,l;const u=Ce().Drawer,d={"aria-label":(r=(n=(t=u==null?void 0:u.defaultProps)==null?void 0:t.closeButton)==null?void 0:n["aria-label"])!=null?r:"Close drawer",size:(o=(i=(a=u==null?void 0:u.defaultProps)==null?void 0:a.closeButton)==null?void 0:i.size)!=null?o:"md",icon:(l=(s=u==null?void 0:u.defaultProps)==null?void 0:s.closeButton)==null?void 0:l.icon},p=X(d,e);return w(Y2,X({get __baseStyle(){var f;return(f=u==null?void 0:u.baseStyle)==null?void 0:f.closeButton}},p))}function HF(e){const t=Ce().Drawer;return w(G2,X({get __baseStyle(){var n;return(n=t==null?void 0:t.baseStyle)==null?void 0:n.body}},e))}function UF(e){const t=Ce().Drawer;return w(Z2,X({get __baseStyle(){var n;return(n=t==null?void 0:t.baseStyle)==null?void 0:n.header}},e))}function tx(e){const t=za();let n,r;const a=f=>{n=f},i=()=>t.state.headerMounted?t.state.headerId:void 0,o=()=>t.state.bodyMounted?t.state.bodyId:void 0,s=f=>{Cn(e.onClick,h=>h.stopPropagation())(f)},l=()=>"[id='".concat(t.state.dialogId,"']"),u=()=>"".concat(l()," *"),d=()=>{n&&(t.state.trapFocus&&(r=Um(n,{initialFocus:t.state.initialFocus,fallbackFocus:l(),allowOutsideClick:!0}),r.activate()),t.state.blockScrollOnMount&&(Fo.addScrollableSelector(u()),Fo.disablePageScroll(n)))},p=()=>{r==null||r.deactivate(),Fo.removeScrollableSelector(u()),Fo.clearQueueScrollLocks(),Fo.enablePageScroll()};return wn(()=>{d()}),wt(()=>{p()}),{assignContainerRef:a,ariaLabelledBy:i,ariaDescribedBy:o,onDialogClick:s}}const xC="hope-modal__content-container",nx="hope-modal__content";function bC(e){const t=Ce().Modal,n=za(),[r,a]=fe(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:i,ariaLabelledBy:o,ariaDescribedBy:s,onDialogClick:l}=tx(r),u=()=>{const f=$5({centered:n.state.centered,scrollBehavior:n.state.scrollBehavior});return ce(xC,f)},d=()=>{const f=H5({size:n.state.size,scrollBehavior:n.state.scrollBehavior});return ce(r.class,nx,f)},p=()=>{switch(n.state.motionPreset){case"fade-in-bottom":return Jt.fadeInBottom;case"scale":return Jt.scale;case"none":return"hope-none"}};return w(Ua,{get name(){return p()},appear:!0,get onAfterExit(){return n.unmountPortal},get children(){return w(Re,{get when(){return n.state.opened},get children(){return w(Be,{ref:i,get class(){return u()},tabIndex:-1,get onMouseDown(){return n.onMouseDown},get onKeyDown(){return n.onKeyDown},get onClick(){return n.onOverlayClick},get children(){return w(Xe.section,X({get class(){return d()},get __baseStyle(){var f;return(f=t==null?void 0:t.baseStyle)==null?void 0:f.content},get id(){return n.state.dialogId},get role(){var f;return(f=r.role)!=null?f:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return o()},get"aria-describedby"(){return s()},onClick:l},a))}})}})}})}bC.toString=()=>be(nx);const rx="hope-modal__overlay";function vC(e){const t=Ce().Modal,n=za(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,rx,n2()),o=()=>n.state.motionPreset==="none"?"hope-none":Jt.fade;return w(Ua,{get name(){return o()},appear:!0,get children(){return w(Re,{get when(){return n.state.opened},get children(){return w(Be,X({get class(){return i()},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.overlay}},a))}})}})}vC.toString=()=>be(rx);const _C="hope-drawer__content-container",ax="hope-drawer__content";function yC(e){const t=Ce().Drawer,n=ex(),r=za(),[a,i]=fe(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:o,ariaLabelledBy:s,ariaDescribedBy:l,onDialogClick:u}=tx(a),d=()=>ce(_C,V5({placement:n.placement})),p=()=>{const h=G5({size:n.size,placement:n.placement,fullHeight:n.fullHeight});return ce(a.class,ax,h)},f=()=>{if(n.disableMotion)return"hope-none";switch(n.placement){case"top":return st.slideInTop;case"right":return st.slideInRight;case"bottom":return st.slideInBottom;case"left":return st.slideInLeft}};return w(Ua,{get name(){return f()},appear:!0,get onAfterExit(){return r.unmountPortal},get children(){return w(Re,{get when(){return r.state.opened},get children(){return w(Be,{ref:o,get class(){return d()},tabIndex:-1,get onMouseDown(){return r.onMouseDown},get onKeyDown(){return r.onKeyDown},get onClick(){return r.onOverlayClick},get children(){return w(Xe.section,X({get class(){return p()},get __baseStyle(){var h;return(h=t==null?void 0:t.baseStyle)==null?void 0:h.content},get id(){return r.state.dialogId},get role(){var h;return(h=a.role)!=null?h:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return s()},get"aria-describedby"(){return l()},onClick:u},i))}})}})}})}yC.toString=()=>be(ax);const ix="hope-drawer__overlay";function EC(e){const t=Ce().Drawer,n=ex(),r=za(),[a,i]=fe(e,["class"]),o=()=>ce(a.class,ix,n2()),s=()=>n.disableMotion?"hope-none":st.fade;return w(Ua,{get name(){return s()},appear:!0,get children(){return w(Re,{get when(){return r.state.opened},get children(){return w(Be,X({get class(){return o()},get __baseStyle(){var l;return(l=t==null?void 0:t.baseStyle)==null?void 0:l.overlay}},i))}})}})}EC.toString=()=>be(ix);const ox="hope-flex";function Nu(e){const[t,n]=fe(e,["class","direction","wrap"]),r=()=>ce(t.class,ox);return w(Be,X({get class(){return r()},display:"flex",get flexDirection(){return t.direction},get flexWrap(){return t.wrap}},n))}Nu.toString=()=>be(ox);const sx="hope-form-helper-text";function SC(e){const t=Ce().FormControl,n=$s(),[r,a]=fe(e,["ref","id","class"]),i=()=>{var s;return(s=r.id)!=null?s:n==null?void 0:n.state.helperTextId},o=()=>ce(r.class,sx,KS());return wn(()=>n==null?void 0:n.setHasHelperText(!0)),wt(()=>n==null?void 0:n.setHasHelperText(!1)),w(Be,X({get id(){return i()},get class(){return o()},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.helperText},get"data-disabled"(){return n==null?void 0:n.state["data-disabled"]},get"data-readonly"(){return n==null?void 0:n.state["data-readonly"]}},a))}SC.toString=()=>be(sx);const CC=Bt('<span role="presentation" aria-hidden="true">*</span>',2),lx="hope-form-label";function TC(e){var t,n,r;const a=Ce().FormControl,i=$s(),o={withRequiredIndicator:(r=(n=(t=a==null?void 0:a.defaultProps)==null?void 0:t.label)==null?void 0:n.withRequiredIndicator)!=null?r:!0},s=X(o,e),[l,u]=fe(s,["id","for","class","children","withRequiredIndicator"]),d=()=>{var h;return(h=l.id)!=null?h:i==null?void 0:i.state.labelId},p=()=>{var h;return(h=l.for)!=null?h:i==null?void 0:i.state.id},f=()=>ce(l.class,lx,VS());return w(Xe.label,X({get id(){return d()},get for(){return p()},get class(){return f()},get __baseStyle(){var h;return(h=a==null?void 0:a.baseStyle)==null?void 0:h.label},get"data-focus"(){return i==null?void 0:i.state["data-focus"]},get"data-disabled"(){return i==null?void 0:i.state["data-disabled"]},get"data-invalid"(){return i==null?void 0:i.state["data-invalid"]},get"data-readonly"(){return i==null?void 0:i.state["data-readonly"]}},u,{get children(){return[ir(()=>l.children),w(Re,{get when(){return(i==null?void 0:i.state.required)&&l.withRequiredIndicator},get children(){const h=CC.cloneNode(!0);return Pn(()=>h.className=GS()),h}})]}}))}TC.toString=()=>be(lx);const ux="hope-grid";function cx(e){const[t,n]=fe(e,["class","autoFlow","autoColumns","autoRows","templateAreas","templateColumns","templateRows"]),r=()=>ce(t.class,ux);return w(Be,X({get class(){return r()},display:"grid",get gridAutoFlow(){return t.autoFlow},get gridAutoColumns(){return t.autoColumns},get gridAutoRows(){return t.autoRows},get gridTemplateAreas(){return t.templateAreas},get gridTemplateColumns(){return t.templateColumns},get gridTemplateRows(){return t.templateRows}},n))}cx.toString=()=>be(ux);function Nh(e){if(e!=null)return $3(e,t=>{switch(t){case"auto":return"auto";case"full":return"1 / -1";default:return"span ".concat(t," / span ").concat(t)}})}const dx="hope-grid-item";function wC(e){const[t,n]=fe(e,["class","area","colSpan","colStart","colEnd","rowSpan","rowStart","rowEnd"]),r=()=>ce(t.class,dx);return w(Be,X({get class(){return r()},get gridArea(){return t.area},get gridColumn(){return Nh(t.colSpan)},get gridRow(){return Nh(t.rowSpan)},get gridColumnStart(){return t.colStart},get gridColumnEnd(){return t.colEnd},get gridRowStart(){return t.rowStart},get gridRowEnd(){return t.rowEnd}},n))}wC.toString=()=>be(dx);const fx="hope-simple-grid";function AC(e){return B3(e)?"".concat(e,"px"):e}function kC(e){return o2(e,t=>Zm(t)?null:"repeat(auto-fit, minmax(".concat(AC(t),", 1fr))"))}function OC(e){return o2(e,t=>Zm(t)?null:"repeat(".concat(t,", minmax(0, 1fr))"))}function IC(e){const[t,n]=fe(e,["class","minChildWidth","columns"]),r=()=>ce(t.class,fx),a=()=>t.minChildWidth?kC(t.minChildWidth):OC(t.columns);return w(cx,X({get class(){return r()},get templateColumns(){return a()}},n))}IC.toString=()=>be(fx);const hx=Q({variants:{size:{xs:{fontSize:"$xs",lineHeight:"$4"},sm:{fontSize:"$sm",lineHeight:"$5"},base:{fontSize:"$base",lineHeight:"$6"},lg:{fontSize:"$lg",lineHeight:"$7"},xl:{fontSize:"$xl",lineHeight:"$7"},"2xl":{fontSize:"$2xl",lineHeight:"$8"},"3xl":{fontSize:"$3xl",lineHeight:"$9"},"4xl":{fontSize:"$4xl",lineHeight:"$10"},"5xl":{fontSize:"$5xl",lineHeight:"$none"},"6xl":{fontSize:"$6xl",lineHeight:"$none"},"7xl":{fontSize:"$7xl",lineHeight:"$none"},"8xl":{fontSize:"$8xl",lineHeight:"$none"},"9xl":{fontSize:"$9xl",lineHeight:"$none"}}}}),NC=Q(hx,{fontWeight:"$semibold"}),px="hope-heading";function gx(e){var t,n;const r=Ce().Heading,a={as:"h2",level:(t=r==null?void 0:r.defaultProps)==null?void 0:t.level,size:(n=r==null?void 0:r.defaultProps)==null?void 0:n.size},i=X(a,e),[o,s]=fe(i,["class","as","level","size"]),l=()=>ce(o.class,px,NC({size:o.size})),u=()=>o.level?"h".concat(o.level):o.as;return w(Be,X({get as(){return u()},get class(){return l()},get __baseStyle(){return r==null?void 0:r.baseStyle}},s))}gx.toString=()=>be(px);function LC(e){const t=Ce().IconButton,n=S2(),[r,a]=fe(e,["class","children","icon","variant","colorScheme","size","disabled"]),i=()=>{var d,p,f,h;return(h=(f=(d=r.variant)!=null?d:n==null?void 0:n.state.variant)!=null?f:(p=t==null?void 0:t.defaultProps)==null?void 0:p.variant)!=null?h:"solid"},o=()=>{var d,p,f,h;return(h=(f=(d=r.colorScheme)!=null?d:n==null?void 0:n.state.colorScheme)!=null?f:(p=t==null?void 0:t.defaultProps)==null?void 0:p.colorScheme)!=null?h:"primary"},s=()=>{var d,p,f,h;return(h=(f=(d=r.size)!=null?d:n==null?void 0:n.state.size)!=null?f:(p=t==null?void 0:t.defaultProps)==null?void 0:p.size)!=null?h:"md"},l=()=>{var d;return(d=r.disabled)!=null?d:n==null?void 0:n.state.disabled},u=()=>ce(r.class,lc);return w(k2,X({get class(){return u()},get __baseStyle(){return t==null?void 0:t.baseStyle},get variant(){return i()},get colorScheme(){return o()},get size(){return s()},get disabled(){return l()}},a,{get children(){return w(Re,{get when(){return r.icon},get fallback(){return r.children},get children(){return r.icon}})}}))}LC.toString=()=>be(lc);const mx="hope-image";function RC(e){const[t,n,r]=fe(e,["class","htmlWidth","htmlHeight","fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],["onError","onLoad"]),a=()=>t.loading!=null||t.ignoreFallback||t.fallbackSrc===void 0&&t.fallback===void 0,i=Ue(()=>AS(Yr(ve({},e),{ignoreFallback:a()}))),o=()=>ve(ve({objectFit:t.fit,objectPosition:t.align,width:t.htmlWidth,height:t.htmlHeight},a()?n:{}),r),s=()=>ce(t.class,mx);return w(Re,{get when(){return i()()==="loaded"},get fallback(){return w(Re,{get when(){return t.fallback},get fallback(){return w(Be,X({as:"img",get src(){return t.fallbackSrc},class:"hope-image__placeholder"},o))},get children(){return t.fallback}})},get children(){return w(Be,X({as:"img",get src(){return t.src},get srcSet(){return t.srcSet},get crossOrigin(){return t.crossOrigin},get loading(){return t.loading},get class(){return s()}},o))}})}RC.toString=()=>be(mx);const PC=Lt();function DC(){return It(PC)}const xx="hope-input";function bx(e){const t=Ce().Input,n=DC(),r=mo(e),[a,i]=fe(e,["class","htmlSize","variant","size"]),o=()=>{var s,l,u,d,p,f,h,c,g,m,x,v,y,_;return ce(a.class,xx,h4({variant:(p=(d=(s=a.variant)!=null?s:n==null?void 0:n.state.variant)!=null?d:(u=(l=t==null?void 0:t.defaultProps)==null?void 0:l.input)==null?void 0:u.variant)!=null?p:"outline",size:(m=(g=(f=a.size)!=null?f:n==null?void 0:n.state.size)!=null?g:(c=(h=t==null?void 0:t.defaultProps)==null?void 0:h.input)==null?void 0:c.size)!=null?m:"md",withLeftElement:(x=n==null?void 0:n.state.hasLeftElement)!=null?x:!1,withRightElement:(v=n==null?void 0:n.state.hasRightElement)!=null?v:!1,withLeftAddon:(y=n==null?void 0:n.state.hasLeftAddon)!=null?y:!1,withRightAddon:(_=n==null?void 0:n.state.hasRightAddon)!=null?_:!1}))};return w(Xe.input,X({type:"text",get class(){return o()},get size(){return a.htmlSize},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.input}},r,i))}bx.toString=()=>be(xx);const MC=Q({borderRadius:"$md",borderColor:"$neutral7",borderWidth:"1px",borderBottomWidth:"3px",backgroundColor:"$neutral2",px:"0.4em",fontFamily:"$mono",fontSize:"0.8em",fontWeight:"$bold",lineHeight:"$normal",whiteSpace:"nowrap"}),vx="hope-kbd";function BC(e){const t=Ce().Kbd,[n,r]=fe(e,["class"]),a=()=>ce(n.class,vx,MC());return w(Xe.kbd,X({get class(){return a()},get __baseStyle(){return t==null?void 0:t.baseStyle}},r))}BC.toString=()=>be(vx);const FC=Q({listStyleType:"none"});Q({marginEnd:"0.5rem"});const _x="hope-list",$C="& > *:not(style) ~ *:not(style)";function yx(e){const[t,n]=fe(e,["class","styleType","stylePosition","spacing"]),r=()=>t.spacing?{[$C]:{mt:t.spacing}}:{},a=()=>ce(t.class,_x,FC({css:ve({listStyleType:t.styleType,listStylePosition:t.stylePosition},r())}));return w(Xe.ul,X({role:"list",get class(){return a()}},n))}yx.toString=()=>be(_x);const Ex="hope-list__item";function Sx(e){const[t,n]=fe(e,["class"]),r=()=>ce(t.class,Ex);return w(Xe.li,X({get class(){return r()}},n))}Sx.toString=()=>be(Ex);var qr=(e=>(e[e.Close=0]="Close",e[e.SelectAndClose=1]="SelectAndClose",e[e.First=2]="First",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Open=5]="Open",e[e.OpenAndFocusLast=6]="OpenAndFocusLast",e[e.Previous=7]="Previous",e[e.Select=8]="Select",e[e.Type=9]="Type",e))(qr||{});function Lh(e=[],t,n=[]){return e.filter(r=>r.disabled?!1:r.textValue.toLowerCase().indexOf(t.toLowerCase())===0&&n.indexOf(r.textValue)<0)}function HC(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],a=Lh(r,t)[0],i=o=>o.every(s=>s===o[0]);if(a)return e.indexOf(a);if(i(t.split(""))){const o=Lh(r,t[0]);return e.indexOf(o[0])}else return-1}function UC(e,t){const{key:n,altKey:r,ctrlKey:a,metaKey:i}=e;if(!t&&["ArrowDown","Enter"," "].includes(n))return 5;if(!t&&n==="ArrowUp")return 6;if(n==="Home")return 2;if(n==="End")return 3;if(n==="Backspace"||n==="Clear"||n.length===1&&n!==" "&&!r&&!a&&!i)return 9;if(t){if(n==="ArrowDown")return 4;if(n==="ArrowUp")return 7;if(n==="Escape")return 0;if(n==="Enter"||n===" ")return 1}}function Rh(e,t,n){switch(n){case 2:return 0;case 3:return t;case 7:return e-1<0?t:e-1;case 4:return e+1>t?0:e+1;default:return e}}function zC(e){const{currentIndex:t,maxIndex:n,initialAction:r,isItemDisabled:a}=e;let i=Rh(t,n,r);for(;a(i);){let o=r;const s=i===0,l=i===n;if(r===2&&(o=4),r===3&&(o=7),r===7&&s){i=t;break}if(r===4&&l){i=t;break}i=Rh(i,n,o)}return i}function jC(e){const t="hope-menu-".concat(or()),n=Ce().Menu,[r,a]=Ie([]),[i,o]=bn({get triggerId(){var te;return(te=e.id)!=null?te:"".concat(t,"-trigger")},get menuContentId(){return"".concat(t,"-content")},get labelIdPrefix(){return"".concat(t,"-label")},get itemIdPrefix(){return"".concat(t,"-item")},get activeDescendantId(){return this.opened?"".concat(this.itemIdPrefix,"-").concat(this.activeIndex):void 0},get closeOnSelect(){var te,Fe,Oe,O;return(O=(Oe=e.closeOnSelect)!=null?Oe:(Fe=(te=n==null?void 0:n.defaultProps)==null?void 0:te.root)==null?void 0:Fe.closeOnSelect)!=null?O:!0},get motionPreset(){var te,Fe,Oe,O,B;return e.motionPreset?e.motionPreset:(Fe=(te=n==null?void 0:n.defaultProps)==null?void 0:te.root)!=null&&Fe.motionPreset?(O=(Oe=n==null?void 0:n.defaultProps)==null?void 0:Oe.root)==null?void 0:O.motionPreset:(B=e.placement)!=null&&B.startsWith("top")?"scale-bottom-left":"scale-top-left"},get items(){return r()},opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let s,l,u;const d=async()=>{var te,Fe,Oe,O,B,xe,Pe,ct;if(!s||!l)return;const{x:nt,y:rt}=await nc(s,l,{placement:(O=(Oe=e.placement)!=null?Oe:(Fe=(te=n==null?void 0:n.defaultProps)==null?void 0:te.root)==null?void 0:Fe.placement)!=null?O:"bottom-start",middleware:[Qu((ct=(Pe=e.offset)!=null?Pe:(xe=(B=n==null?void 0:n.defaultProps)==null?void 0:B.root)==null?void 0:xe.offset)!=null?ct:5),Xu(),Zu()]});l&&Object.assign(l.style,{left:"".concat(Math.round(nt),"px"),top:"".concat(Math.round(rt),"px")})},p=te=>{i.searchTimeoutId&&window.clearTimeout(i.searchTimeoutId);const Fe=window.setTimeout(()=>{o("searchString","")},500);return o("searchTimeoutId",Fe),o("searchString",Oe=>Oe+=te),i.searchString},f=te=>{o("activeIndex",te)},h=te=>i.items[te].disabled,c=te=>{var Fe;f(te);const Oe=i.items[te];(Fe=Oe.onSelect)==null||Fe.call(Oe),Oe.closeOnSelect?R(!1):g()},g=()=>{s==null||s.focus()},m=te=>{if(!di(s,Iu(te))){if(i.ignoreBlur){o("ignoreBlur",!1);return}i.opened&&R(!1,!1)}},x=()=>{R(!i.opened,!1)},v=te=>{const{key:Fe}=te,Oe=i.items.length-1,O=UC(te,i.opened);switch(O){case qr.Last:case qr.First:case qr.Next:case qr.Previous:return te.preventDefault(),f(zC({currentIndex:i.activeIndex,maxIndex:Oe,initialAction:O,isItemDisabled:h}));case qr.SelectAndClose:te.preventDefault(),c(i.activeIndex);return;case qr.Close:return te.preventDefault(),R(!1);case qr.Type:return y(Fe);case qr.Open:return te.preventDefault(),R(!0);case qr.OpenAndFocusLast:return te.preventDefault(),R(!0,!0,!0)}},y=te=>{R(!0);const Fe=p(te),Oe=HC(i.items,Fe,i.activeIndex+1);Oe>=0?f(Oe):(window.clearTimeout(i.searchTimeoutId),o("searchString",""))},_=te=>{if(i.items[te].disabled){g();return}c(te)},S=te=>{i.activeIndex!==te&&f(te)},C=()=>{o("ignoreBlur",!0)},T=()=>{i.opened?(d(),s&&l&&(u=tc(s,l,d))):u==null||u()},R=(te,Fe=!0,Oe=!1)=>{i.opened!==te&&(o("opened",te),o("activeIndex",Oe?i.items.length-1:0),T(),Fe&&g())},P=()=>{f(-1)},A=te=>{di(s,te)||R(!1,!1)},I=te=>te===i.activeIndex,$=te=>{s=te},W=te=>{l=te},G=te=>{l&&u2(l)&&c2(te,l)},ae=te=>{const Fe=i.items.findIndex(O=>O.key===te.key);return Fe!=-1?Fe:a(O=>[...O,te]).length-1},ie=()=>i.opened,Te={state:i,isItemActiveDescendant:I,assignTriggerRef:$,assignContentRef:W,registerItem:ae,scrollToItem:G,onTriggerBlur:m,onTriggerClick:x,onTriggerKeyDown:v,onContentMouseLeave:P,onContentClickOutside:A,onItemClick:_,onItemMouseMove:S,onItemMouseDown:C};return w(Cx.Provider,{value:Te,get children(){return w(Re,{get when(){return sc(e)},get fallback(){return e.children},get children(){var te;return(te=e.children)==null?void 0:te.call(e,{opened:ie})}})}})}const Cx=Lt();function Jd(){const e=It(Cx);if(!e)throw new Error("[Hope UI]: useMenuContext must be used within a `<Menu />` component");return e}function qC(e){const[t,n]=bn({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),r=o=>{t0(o,e.element())&&n("isPointerDown",!0)},a=o=>{if(t.ignoreEmulatedMouseEvents){n("ignoreEmulatedMouseEvents",!1);return}t.isPointerDown&&e.handler&&t0(o,e.element())&&(n("isPointerDown",!1),e.handler(o))},i=o=>{n("ignoreEmulatedMouseEvents",!0),e.handler&&t.isPointerDown&&t0(o,e.element())&&(n("isPointerDown",!1),e.handler(o))};wn(()=>{const o=Ou(e.element());o.addEventListener("mousedown",r,!0),o.addEventListener("mouseup",a,!0),o.addEventListener("touchstart",r,!0),o.addEventListener("touchend",i,!0)}),wt(()=>{const o=Ou(e.element());o.removeEventListener("mousedown",r,!0),o.removeEventListener("mouseup",a,!0),o.removeEventListener("touchstart",r,!0),o.removeEventListener("touchend",i,!0)})}function Tx(e){const t=ba(()=>e.children);return qC({element:()=>t(),handler:n=>e.onClickOutside(n)}),t}const wx="hope-menu__content";function Ax(e){const t=Ce().Menu,n=Jd(),[r,a]=fe(e,["ref","class","children"]),[i,o]=Ie(!1);Kt(fa(()=>n.state.opened,()=>{n.state.opened?o(!0):n.state.motionPreset==="none"&&o(!1)}));const s=()=>o(!1),l=ba(()=>r.children),u=h=>{n.assignContentRef(h),An(r.ref)?r.ref(h):r.ref=h},d=h=>{n.onContentClickOutside(h.target)},p=()=>ce(r.class,wx,X5()),f=()=>{switch(n.state.motionPreset){case"scale-top-left":return Na.scaleTopLeft;case"scale-top-right":return Na.scaleTopRight;case"scale-bottom-left":return Na.scaleBottomLeft;case"scale-bottom-right":return Na.scaleBottomRight;case"none":return"hope-none"}};return w(Re,{get when(){return i()},get children(){return w(Ha,{get children(){return w(Ua,{get name(){return f()},appear:!0,onAfterExit:s,get children(){return w(Re,{get when(){return n.state.opened},get children(){return w(Tx,{onClickOutside:d,get children(){return w(Be,X({role:"menu",tabindex:"-1",ref:u,get id(){return n.state.menuContentId},get"aria-activedescendant"(){return n.state.activeDescendantId},get"aria-labelledby"(){return n.state.triggerId},"aria-orientation":"vertical",get class(){return p()},get __baseStyle(){var h;return(h=t==null?void 0:t.baseStyle)==null?void 0:h.content},get onMouseLeave(){return n.onContentMouseLeave}},a,{get children(){return l()}}))}})}})}})}})}})}Ax.toString=()=>be(wx);const kx="hope-menu__item",WC="hope-menu__item__icon-wrapper",VC="hope-menu__item__text",GC="hope-menu__item__command";function Ox(e){const t=or(),n=Ce().Menu,r=Jd(),[a,i]=Ie(-1);let o;const[s,l]=fe(e,["ref","class","children","colorScheme","icon","iconSpacing","command","commandSpacing","textValue","disabled","closeOnSelect","onSelect","onClick"]),u=()=>{var y,_;return{key:t,textValue:(_=(y=s.textValue)!=null?y:o==null?void 0:o.textContent)!=null?_:"",disabled:!!s.disabled,closeOnSelect:s.closeOnSelect!=null?!!s.closeOnSelect:r.state.closeOnSelect,onSelect:s.onSelect}},d=()=>"".concat(r.state.itemIdPrefix,"-").concat(a()),p=()=>r.isItemActiveDescendant(a()),f=y=>{o=y,An(s.ref)?s.ref(y):s.ref=y},h=y=>{y.stopPropagation(),r.onItemClick(a())},c=y=>{if(s.disabled&&r.onItemMouseMove(-1),p()||s.disabled){y.preventDefault(),y.stopPropagation();return}r.onItemMouseMove(a())},g=()=>ce(s.class,kx,Q5({colorScheme:s.colorScheme})),m=()=>ce(WC,Z5()),x=()=>ce(VC,J5()),v=()=>ce(GC,e4());return wn(()=>{i(r.registerItem(u()))}),Kt(()=>{p()&&o&&r.scrollToItem(o)}),w(Be,X({ref:f,role:"menuitem",get id(){return d()},get"data-active"(){return p()?"":void 0},get"data-disabled"(){return s.disabled?"":void 0},"data-group":!0,get class(){return g()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.item},onClick:h,onMouseMove:c,get onMouseDown(){return r.onItemMouseDown}},l,{get children(){return[w(Re,{get when(){return s.icon},get children(){return w(Xe.span,{"aria-hidden":"true",get class(){return m()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.itemIconWrapper},get mr(){var y;return(y=s.iconSpacing)!=null?y:"0.5rem"},get children(){return s.icon}})}}),w(Re,{get when(){return s.children},get children(){return w(Xe.span,{get class(){return x()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.itemText},get children(){return s.children}})}}),w(Re,{get when(){return s.command},get children(){return w(Xe.span,{get class(){return v()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.itemCommand},get ml(){var y;return(y=s.commandSpacing)!=null?y:"0.5rem"},get children(){return s.command}})}})]}}))}Ox.toString=()=>be(kx);const Ix="hope-menu__trigger";function Nx(e){const t=Ce().Menu,n=Jd(),[r,a]=fe(e,["ref","class","onClick","onKeyDown","onBlur"]),i=d=>{n.assignTriggerRef(d),An(r.ref)?r.ref(d):r.ref=d},o=d=>{Cn(n.onTriggerClick,r.onClick)(d)},s=d=>{Cn(n.onTriggerKeyDown,r.onKeyDown)(d)},l=d=>{Cn(n.onTriggerBlur,r.onBlur)(d)},u=()=>ce(r.class,Ix,Y5());return w(Xe.button,X({ref:i,get id(){return n.state.triggerId},type:"button","aria-haspopup":"menu",get"aria-controls"(){return n.state.menuContentId},get"aria-expanded"(){return n.state.opened},get class(){return u()},get __baseStyle(){var d;return(d=t==null?void 0:t.baseStyle)==null?void 0:d.trigger},onClick:o,onKeyDown:s,onBlur:l},a))}Nx.toString=()=>be(Ix);const Lx="hope-notification";function Rx(e){const t=Ce().Notification,r=X({},e),[a,i]=fe(r,["class","status"]),o=()=>ce(a.class,Lx,r4({status:a.status})),l={status:()=>a.status};return w(Px.Provider,{value:l,get children(){return w(Be,X({role:"alert",get class(){return o()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.root}},i))}})}Rx.toString=()=>be(Lx);const Px=Lt();function KC(){const e=It(Px);if(!e)throw new Error("[Hope UI]: useNotificationContext must be used within an `<Notification />` component");return e}const Rn={show:"hope-ui:show-notification",update:"hope-ui:update-notification",hide:"hope-ui:hide-notification",clear:"hope-ui:clear-notifications",clearQueue:"hope-ui:clear-notifications-queue"};function Hs(e,t){return new CustomEvent(e,{detail:t})}function YC(e){window.dispatchEvent(Hs(Rn.show,e))}function XC(e){window.dispatchEvent(Hs(Rn.update,e))}function QC(e){window.dispatchEvent(Hs(Rn.hide,e))}function ZC(){window.dispatchEvent(Hs(Rn.clear))}function JC(){window.dispatchEvent(Hs(Rn.clearQueue))}const Uo={show:YC,update:XC,hide:QC,clear:ZC,clearQueue:JC},Dx="hope-notification__description";function id(e){const t=Ce().Notification,[n,r]=fe(e,["class"]),a=()=>ce(n.class,Dx,s4());return w(Be,X({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.description}},r))}id.toString=()=>be(Dx);const Mx="hope-notification__icon";function Bx(e){const t=Ce().Notification,{status:n}=KC(),a=X({boxSize:"$7"},e),[i,o]=fe(a,["as","class"]),s=()=>ce(i.class,Mx,i4({status:n()})),l=()=>{if(i.as)return i.as;switch(n()){case"success":return p2;case"info":return x2;case"warning":return m2;case"danger":return g2}};return w(yi,X({get as(){return l()},get class(){return s()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.icon}},o))}Bx.toString=()=>be(Mx);const Fx="hope-notification__title";function od(e){const t=Ce().Notification,[n,r]=fe(e,["class"]),a=()=>ce(n.class,Fx,o4());return w(Be,X({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.title}},r))}od.toString=()=>be(Fx);function eT(e){var t,n,r,a;const[i,o]=Ie((n=(t=e.initialValues)==null?void 0:t.slice(0,e.limit))!=null?n:[]),[s,l]=Ie((a=(r=e.initialValues)==null?void 0:r.slice(e.limit))!=null?a:[]),u=()=>e.limit;return{state:{current:i,queue:s,limit:u},add:(...c)=>{const g=[...i(),...s(),...c];o(g.slice(0,u())),l(g.slice(u()))},update:c=>{const g=c([...i(),...s()]);o(g.slice(0,u())),l(g.slice(u()))},clearQueue:()=>{l([])}}}const tT=Q({display:"flex"}),cc="hope-stack";function ef(e){const[t,n]=fe(e,["class","direction","wrap","spacing"]),r=()=>ce(t.class,cc,tT());return w(Be,X({get class(){return r()},get flexDirection(){return t.direction},get flexWrap(){return t.wrap},get gap(){return t.spacing}},n))}ef.toString=()=>be(cc);function nT(e){const[t,n]=fe(e,["spacing"]);return w(ef,X({direction:"row",alignItems:"center",get columnGap(){return t.spacing}},n))}nT.toString=()=>be(cc);function $x(e){const[t,n]=fe(e,["spacing"]);return w(ef,X({direction:"column",alignItems:"center",get rowGap(){return t.spacing}},n))}$x.toString=()=>be(cc);const Hx=Lt();function rT(){const e=It(Hx);if(!e)throw new Error("[Hope UI]: useNotificationsProviderContext must be used within a `<NotificationsProvider />` component");return e}function aT(e){const t=rT(),[n]=fe(e,["render","id","status","title","description","duration","persistent","closable","loading","onMouseEnter","onMouseLeave"]);let r;const a=()=>{r&&window.clearTimeout(r)},i=()=>{a(),t.hideNotification(n.id)},o=()=>{n.persistent||n.duration==null||(r=window.setTimeout(i,n.duration))},s=()=>n.status&&!n.loading;return wn(()=>{o()}),wt(()=>{a()}),w(Re,{get when(){return n.render},get fallback(){return w(Rx,{get status(){return n.status},get pr(){return n.closable?"$9":"$3"},onMouseEnter:a,onMouseLeave:o,get children(){return[w(Re,{get when(){return s()},get children(){return w(Bx,{mr:"$2_5"})}}),w(Re,{get when(){return n.loading},get children(){return w(T2,{color:"$primary10",boxSize:"$8",mr:"$2_5",get class(){return a4()}})}}),w(Ms,{get children(){return[w(Xr,{get when(){return n.title&&n.description},get children(){return w($x,{alignItems:"flex-start",spacing:"$1",get children(){return[w(od,{get children(){return n.title}}),w(id,{get children(){return n.description}})]}})}}),w(Xr,{get when(){return n.title},get children(){return w(od,{get children(){return n.title}})}}),w(Xr,{get when(){return n.description},get children(){return w(id,{get children(){return n.description}})}})]}}),w(Re,{get when(){return n.closable},get children(){return w(uc,{size:"sm",position:"absolute",top:"$1_5",right:"$1_5",onClick:i})}})]}})},get children(){return w(Nu,{w:"$full",justifyContent:"flex-end",onMouseEnter:a,onMouseLeave:o,get children(){var l;return(l=n.render)==null?void 0:l.call(n,{id:n.id,close:i})}})}})}const iT="hope-notification__list",oT=5e3;function sT(e){const[t]=fe(e,["children","placement","duration","persistent","closable","limit","zIndex"]),n=Ue(()=>{var x;return eT({initialValues:[],limit:(x=t.limit)!=null?x:10})}),r=()=>{var x;return(x=t.placement)!=null?x:"top-end"},a=()=>n().state.current(),i=()=>n().state.queue(),o=x=>{var v,y,_,S,C,T,R;const P=(v=x.id)!=null?v:"hope-notification-".concat(or()),A=(_=(y=x.persistent)!=null?y:t.persistent)!=null?_:!1,I=(C=(S=x.duration)!=null?S:t.duration)!=null?C:oT,$=(R=(T=x.closable)!=null?T:t.closable)!=null?R:!0;return n().update(W=>{if(x.id&&W.some(ae=>ae.id===x.id))return W;const G=Yr(ve({},x),{id:P,persistent:A,duration:I,closable:$});return[...W,G]}),P},s=(x,v)=>{n().update(y=>{const _=y.findIndex(C=>C.id===x);if(_===-1)return y;const S=[...y];return S[_]=v,S})},l=x=>{n().update(v=>v.filter(y=>{var _;return y.id===x?((_=y.onClose)==null||_.call(y,y.id),!1):!0}))},u=()=>n().update(()=>[]),d=()=>n().clearQueue(),p=()=>ce(iT,n4({placement:r()})),f=()=>{switch(r()){case"top-start":return Lr.slideInLeft;case"top":return Lr.slideInTop;case"top-end":return Lr.slideInRight;case"bottom-start":return Lr.slideInLeft;case"bottom":return Lr.slideInBottom;case"bottom-end":return Lr.slideInRight;default:return Lr.slideInRight}},h={notifications:a,queue:i,showNotification:o,updateNotification:s,hideNotification:l,clear:u,clearQueue:d},c=x=>o(x.detail),g=x=>s(x.detail.id,x.detail),m=x=>l(x.detail);return wn(()=>{window.addEventListener(Rn.show,c),window.addEventListener(Rn.update,g),window.addEventListener(Rn.hide,m),window.addEventListener(Rn.clear,u),window.addEventListener(Rn.clearQueue,d)}),wt(()=>{window.removeEventListener(Rn.show,c),window.removeEventListener(Rn.update,g),window.removeEventListener(Rn.hide,m),window.removeEventListener(Rn.clear,u),window.removeEventListener(Rn.clearQueue,d)}),w(Hx.Provider,{value:h,get children(){return[w(Ha,{get children(){return w(Be,{get class(){return p()},get zIndex(){return t.zIndex},get children(){return w(e3,{get name(){return f()},get children(){return w(uo,{get each(){return h.notifications()},children:x=>w(aT,x)})}})}})}}),ir(()=>t.children)]}})}const lT=e=>e.hasAttribute("tabindex");function Ux(e){return e.parentElement&&Ux(e.parentElement)?!0:e.hidden}function uT(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function cT(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function dT(e){if(!nS(e)||Ux(e)||uT(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():cT(e)?!0:lT(e)}function zF(e){const t="hope-popover-".concat(or()),n=Ce().Popover,[r,a]=bn({_opened:!!e.defaultOpened,isHovering:!1,headerMounted:!1,bodyMounted:!1,finalPlacement:"bottom",get isControlled(){return e.opened!==void 0},get opened(){return this.isControlled?!!e.opened:this._opened},get contentId(){var O;return(O=e.id)!=null?O:t},get triggerId(){return"".concat(this.contentId,"--trigger")},get headerId(){return"".concat(this.contentId,"--header")},get bodyId(){return"".concat(this.contentId,"--body")},get triggerMode(){var O;return(O=e.triggerMode)!=null?O:"click"},get triggerOnClick(){return this.triggerMode==="click"},get triggerOnHover(){return this.triggerMode==="hover"},get initialFocus(){return e.initialFocus},get inline(){var O;return(O=e.inline)!=null?O:!1},get initialPlacement(){var O,B,xe,Pe;return(Pe=(xe=e.placement)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.placement)!=null?Pe:"bottom"},get offset(){var O,B,xe,Pe;return(Pe=(xe=e.offset)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.offset)!=null?Pe:8},get arrowPadding(){var O,B,xe,Pe;return(Pe=(xe=e.arrowPadding)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.arrowPadding)!=null?Pe:8},get openDelay(){var O,B,xe,Pe;return(Pe=(xe=e.openDelay)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.openDelay)!=null?Pe:0},get closeDelay(){var O,B,xe,Pe;return(Pe=(xe=e.closeDelay)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.closeDelay)!=null?Pe:100},get motionPreset(){var O,B,xe,Pe;return(Pe=(xe=e.motionPreset)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.motionPreset)!=null?Pe:"scale"},get closeOnBlur(){var O,B,xe,Pe;return(Pe=(xe=e.closeOnBlur)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.closeOnBlur)!=null?Pe:!0},get closeOnEsc(){var O,B,xe,Pe;return(Pe=(xe=e.closeOnEsc)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.closeOnEsc)!=null?Pe:!0},get trapFocus(){var O,B,xe,Pe;return(Pe=(xe=e.trapFocus)!=null?xe:(B=(O=n==null?void 0:n.defaultProps)==null?void 0:O.root)==null?void 0:B.trapFocus)!=null?Pe:!1}});let i,o,s,l,u,d,p,f;const h=()=>"[id='".concat(r.contentId,"']"),c=O=>{i=O},g=O=>{o=O},m=O=>{s=O},x=O=>{l=O};async function v(){var O,B,xe;const Pe=i!=null?i:o;if(!Pe||!s)return;const ct=[Qu(r.offset)];r.inline&&ct.push(Vm()),ct.push(Xu()),ct.push(Zu({padding:e.shiftPadding})),l&&ct.push(jm({element:l,padding:r.arrowPadding})),ct.push(Wm());const{x:nt,y:rt,placement:lt,middlewareData:vt}=await nc(Pe,s,{placement:r.initialPlacement,middleware:ct});if(lt!==r.finalPlacement&&a("finalPlacement",lt),!s)return;const se=(O=vt.hide)==null?void 0:O.referenceHidden;if(Object.assign(s.style,{left:"".concat(Math.round(nt),"px"),top:"".concat(Math.round(rt),"px"),visibility:se?"hidden":"visible"}),!l)return;const we=(B=vt.arrow)==null?void 0:B.x,Qe=(xe=vt.arrow)==null?void 0:xe.y,pt={top:"bottom",right:"left",bottom:"top",left:"right"}[lt.split("-")[0]],Dn="".concat((Math.round(l.clientWidth/2)+1)*-1,"px");Object.assign(l.style,{left:we!=null?"".concat(Math.round(we),"px"):"",top:Qe!=null?"".concat(Math.round(Qe),"px"):"",right:"",bottom:"",[pt]:Dn})}const y=()=>{var O;r.isControlled||a("_opened",!0),(O=e.onOpen)==null||O.call(e),v()},_=()=>{var O;r.isControlled||a("_opened",!1),(O=e.onClose)==null||O.call(e)},S=()=>{!r.isHovering&&_()},C=()=>{d=window.setTimeout(y,r.openDelay)},T=()=>{d&&window.clearTimeout(d),p=window.setTimeout(_,r.closeDelay)},R=()=>{const O=i!=null?i:o;!O||!s||(f=tc(O,s,v))},P=()=>{if(!r.initialFocus){s==null||s.focus();return}const O=document.querySelector(r.initialFocus);O&&dT(O)&&(O==null||O.focus())},A=O=>{const B=Iu(O),xe=!di(s,B);r.opened&&r.closeOnBlur&&xe&&T()},I=()=>{ie(!1),d&&window.clearTimeout(d),p=window.setTimeout(S,r.closeDelay)},$=O=>{const B=Iu(O),xe=di(s,B),Pe=di(o,B),ct=!xe&&!Pe;r.opened&&r.closeOnBlur&&ct&&T()},W=I,G=()=>{R(),r.trapFocus&&s?(u=Um(s,{initialFocus:r.initialFocus,fallbackFocus:h(),allowOutsideClick:!1}),u.activate()):P()},ae=()=>{u==null||u.deactivate(),f==null||f()},ie=O=>a("isHovering",O),Te=O=>a("headerMounted",O),te=O=>a("bodyMounted",O),Fe=()=>r.opened;wt(()=>{window.clearTimeout(d),window.clearTimeout(p)});const Oe={state:r,assignAnchorRef:c,assignTriggerRef:g,assignPopoverRef:m,assignArrowRef:x,openWithDelay:C,closeWithDelay:T,onTriggerBlur:A,onTriggerMouseLeave:I,onPopoverFocusOut:$,onPopoverMouseLeave:W,updatePopoverPosition:v,afterPopoverOpen:G,afterPopoverClose:ae,setIsHovering:ie,setHeaderMounted:Te,setBodyMounted:te};return w(zx.Provider,{value:Oe,get children(){return w(Re,{get when(){return sc(e)},get fallback(){return e.children},get children(){var O;return(O=e.children)==null?void 0:O.call(e,{opened:Fe,onClose:T})}})}})}const zx=Lt();function Us(){const e=It(zx);if(!e)throw new Error("[Hope UI]: usePopoverContext must be used within a `<Popover />` component");return e}const jx="hope-popover__arrow";function fT(e){const t=Ce().Popover,n=Us(),[r,a]=fe(e,["class"]),i=Ue(()=>n.state.finalPlacement.split("-")[0]),o=()=>ce(r.class,jx,f4({popoverPlacement:i()}));return w(Be,X({ref(s){const l=n.assignArrowRef;typeof l=="function"?l(s):n.assignArrowRef=s},get class(){return o()},get __baseStyle(){var s;return(s=t==null?void 0:t.baseStyle)==null?void 0:s.arrow}},a))}fT.toString=()=>be(jx);const qx="hope-popover__body";function hT(e){const t=Ce().Popover,n=Us(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,qx,d4());return wn(()=>n.setBodyMounted(!0)),wt(()=>n.setBodyMounted(!1)),w(Be,X({get class(){return i()},get id(){return n.state.bodyId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.body}},a))}hT.toString=()=>be(qx);const Wx="hope-popover__content";function pT(e){const t=Ce().Popover,n=Us(),[r,a]=Ie(!1),[i,o]=fe(e,["ref","class","onKeyDown","onFocusOut","onMouseEnter","onMouseLeave"]),s=x=>{n.assignPopoverRef(x),An(i.ref)?i.ref(x):i.ref=x},l=x=>{n.state.closeOnEsc&&x.key==="Escape"&&n.closeWithDelay()},u=x=>{Cn(i.onKeyDown,l)(x)},d=x=>{Cn(i.onFocusOut,n.onPopoverFocusOut)(x)},p=x=>{xn(i.onMouseEnter,x),n.setIsHovering(!0)},f=x=>{xn(i.onMouseLeave,x),n.onPopoverMouseLeave()},h=()=>{document.addEventListener("keydown",l),n.afterPopoverOpen()},c=()=>{document.removeEventListener("keydown",l),n.afterPopoverClose(),a(!1)},g=()=>ce(i.class,Wx,u4()),m=()=>{switch(n.state.motionPreset){case"scale":return ai.scale;case"none":return"hope-none"}};return Kt(()=>{n.state.opened?a(!0):n.state.motionPreset==="none"&&a(!1)}),w(Re,{get when(){return r()},get children(){return w(Ha,{get children(){return w(Ua,{get name(){return m()},appear:!0,get onBeforeEnter(){return n.updatePopoverPosition},onAfterEnter:h,onAfterExit:c,get children(){return w(Re,{get when(){return n.state.opened},get children(){return w(Xe.section,X({ref:s,tabIndex:-1,get id(){return n.state.contentId},get role(){return n.state.triggerOnHover?"tooltip":"dialog"},get"aria-labelledby"(){return n.state.headerMounted?n.state.headerId:void 0},get"aria-describedby"(){return n.state.bodyMounted?n.state.bodyId:void 0},get class(){return g()},get __baseStyle(){var x;return(x=t==null?void 0:t.baseStyle)==null?void 0:x.content},onKeyDown:u,onFocusOut:d,get onMouseEnter(){return n.state.triggerOnHover?p:void 0},get onMouseLeave(){return n.state.triggerOnHover?f:void 0}},o))}})}})}})}})}pT.toString=()=>be(Wx);const Vx="hope-popover__header";function gT(e){const t=Ce().Popover,n=Us(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,Vx,c4());return wn(()=>n.setHeaderMounted(!0)),wt(()=>n.setHeaderMounted(!1)),w(Be,X({get class(){return i()},get id(){return n.state.headerId},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.header}},a))}gT.toString=()=>be(Vx);function jF(e){const t=Us(),[n,r]=fe(e,["ref","onClick","onKeyDown","onFocus","onBlur","onMouseEnter","onMouseLeave"]),a=p=>{t.assignTriggerRef(p),An(n.ref)?n.ref(p):n.ref=p},i=p=>{xn(n.onClick,p),t.state.opened?t.closeWithDelay():t.openWithDelay()},o=p=>{xn(n.onKeyDown,p),p.key==="Escape"&&t.closeWithDelay()},s=p=>{xn(n.onFocus,p),t.openWithDelay()},l=p=>{Cn(n.onBlur,t.onTriggerBlur)(p)},u=p=>{xn(n.onMouseEnter,p),t.setIsHovering(!0),t.openWithDelay()},d=p=>{xn(n.onMouseLeave,p),t.onTriggerMouseLeave()};return w(Xe.button,X({ref:a,get id(){return t.state.triggerId},type:"button","aria-haspopup":"dialog",get"aria-controls"(){return t.state.contentId},get"aria-expanded"(){return t.state.opened},get onClick(){return t.state.triggerOnClick?i:void 0},get onKeyDown(){return t.state.triggerOnHover?o:void 0},get onFocus(){return t.state.triggerOnHover?s:void 0},get onBlur(){return t.state.triggerOnHover?l:void 0},get onMouseEnter(){return t.state.triggerOnHover?u:void 0},get onMouseLeave(){return t.state.triggerOnHover?d:void 0}},r))}const mT=po({"0%":{left:"-40%"},"100%":{left:"100%"}}),xT=po({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}}),bT=Q({position:"relative",overflow:"hidden",variants:{size:{xs:{height:"$1",fontSize:"4px"},sm:{height:"$2",fontSize:"6px"},md:{height:"$3",fontSize:"8px"},lg:{height:"$4",fontSize:"10px"}}}}),vT=Q({position:"relative",height:"100%",transition:"width 600ms ease",variants:{striped:{true:{}},animated:{true:{}},indeterminate:{true:{position:"absolute",willChange:"left",minWidth:"50%",animation:"".concat(mT," 1200ms ease infinite normal none running")}}},compoundVariants:[{indeterminate:!1,striped:!0,css:{backgroundImage:"linear-gradient(45deg, $colors$progressStripe 25%, transparent 25%, transparent 50%, $colors$progressStripe 50%, $colors$progressStripe 75%, transparent 75%, transparent)",backgroundSize:"1rem 1rem"}},{indeterminate:!1,striped:!0,animated:!0,css:{animation:"".concat(xT," 750ms linear infinite")}}]}),_T=Q({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"}),Gx=Lt(),Kx="hope-progress";function Yx(e){var t,n,r,a,i,o;const s=Ce().Progress,[l]=bn({get min(){var m;return(m=e.min)!=null?m:0},get max(){var m;return(m=e.max)!=null?m:100},get value(){var m;return(m=e.value)!=null?m:0},get percent(){return R4(this.value,this.min,this.max)},get indeterminate(){var m;return(m=e.indeterminate)!=null?m:!1},get ariaValueText(){var m;if(!this.indeterminate)return An(this.getValueText)?this.getValueText(this.value,this.percent):(m=e.valueText)!=null?m:"".concat(this.percent,"%")},get getValueText(){return e.getValueText}}),u={size:(r=(n=(t=s==null?void 0:s.defaultProps)==null?void 0:t.root)==null?void 0:n.size)!=null?r:"md",trackColor:(o=(i=(a=s==null?void 0:s.defaultProps)==null?void 0:a.root)==null?void 0:i.trackColor)!=null?o:"$neutral4"},d=X(u,e),[p,f,h]=fe(d,["class","size","trackColor"],["min","max","value","indeterminate","valueText","getValueText"]),c=()=>ce(p.class,Kx,bT({size:p.size})),g={state:l};return w(Gx.Provider,{value:g,get children(){return w(Be,X({role:"progressbar",get"data-indeterminate"(){return l.indeterminate?"":void 0},get"aria-valuemin"(){return l.min},get"aria-valuemax"(){return l.max},get"aria-valuenow"(){return l.indeterminate?void 0:l.value},get"aria-valuetext"(){return l.ariaValueText},get class(){return c()},get __baseStyle(){var m;return(m=s==null?void 0:s.baseStyle)==null?void 0:m.root},get backgroundColor(){return p.trackColor}},h))}})}Yx.toString=()=>be(Kx);function Xx(){const e=It(Gx);if(!e)throw new Error("[Hope UI]: useProgressContext must be used within a `<Progress />` component");return e}const Qx="hope-progress__indicator";function Zx(e){const t=Ce().Progress,n=Xx(),a=X({color:"$primary9"},e),[i,o]=fe(a,["class","color","striped","animated"]),s=()=>n.state.indeterminate?{backgroundImage:"linear-gradient(to right, transparent 0%, ".concat(i.color," 50%, transparent 100%)")}:{backgroundColor:i.color},l=()=>ce(i.class,Qx,vT({striped:i.striped,animated:i.animated,indeterminate:n.state.indeterminate===!0,css:Yr(ve({},s()),{width:"".concat(n.state.percent,"%")})}));return w(Be,X({get class(){return l()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.indicator}},o))}Zx.toString=()=>be(Qx);const Jx="hope-progress__label";function yT(e){const t=Ce().Progress,n=Xx(),[r,a]=fe(e,["class","children"]),i=()=>ce(r.class,Jx,_T());return w(Be,X({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.label}},a,{get children(){return w(Re,{get when(){return r.children},get fallback(){return n.state.ariaValueText},get children(){return r.children}})}}))}yT.toString=()=>be(Jx);const ET=Q(Xd,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),ST=Q(Qd),CT=Q(Zd,{borderRadius:"$full","&[data-checked]::before":{content:"",display:"inline-block",position:"relative",boxSize:"calc(50% + 1px)",borderRadius:"$full",backgroundColor:"$loContrast"}}),eb="hope-radio-group";function TT(e){const t="hope-radio-group-".concat(or(),"--radio"),n=Ce().Radio,[r,a]=bn({_value:e.defaultValue,get isControlled(){return e.value!==void 0},get value(){return this.isControlled?e.value:this._value},get name(){var p;return(p=e.name)!=null?p:t},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get variant(){var p,f,h;return(h=e.variant)!=null?h:(f=(p=n==null?void 0:n.defaultProps)==null?void 0:p.group)==null?void 0:f.variant},get colorScheme(){var p,f,h;return(h=e.colorScheme)!=null?h:(f=(p=n==null?void 0:n.defaultProps)==null?void 0:p.group)==null?void 0:f.colorScheme},get size(){var p,f,h;return(h=e.size)!=null?h:(f=(p=n==null?void 0:n.defaultProps)==null?void 0:p.group)==null?void 0:f.size}}),[i,o,s]=fe(e,["class","onChange"],["value","defaultValue","name","required","disabled","readOnly","invalid"]),l=p=>{var f;const h=p.target.value;a("_value",h),(f=i.onChange)==null||f.call(i,String(h))},u=()=>ce(i.class,eb),d={state:r,onChange:l};return w(tb.Provider,{value:d,get children(){return w(Be,X({role:"radiogroup",get class(){return u()},get __baseStyle(){var p;return(p=n==null?void 0:n.baseStyle)==null?void 0:p.group}},s))}})}TT.toString=()=>be(eb);const tb=Lt();function wT(){return It(tb)}const AT=Bt('<input type="radio">',1),nb="hope-radio",kT="hope-radio__input",OT="hope-radio__control",IT="hope-radio__label";function NT(e){const t="hope-radio-".concat(or()),n=Ce().Radio,r=$s(),a=wT(),i=mo(e),[o,s]=bn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return e.checked!==void 0},get checked(){if(a){const y=a.state.value;return y!=null?String(e.value)===String(y):!1}return this.isControlled?!!e.checked:this._checked},get variant(){var y,_,S,C,T,R;return(R=(T=(_=e.variant)!=null?_:(y=a==null?void 0:a.state)==null?void 0:y.variant)!=null?T:(C=(S=n==null?void 0:n.defaultProps)==null?void 0:S.root)==null?void 0:C.variant)!=null?R:"outline"},get colorScheme(){var y,_,S,C,T,R;return(R=(T=(_=e.colorScheme)!=null?_:(y=a==null?void 0:a.state)==null?void 0:y.colorScheme)!=null?T:(C=(S=n==null?void 0:n.defaultProps)==null?void 0:S.root)==null?void 0:C.colorScheme)!=null?R:"primary"},get size(){var y,_,S,C,T,R;return(R=(T=(_=e.size)!=null?_:(y=a==null?void 0:a.state)==null?void 0:y.size)!=null?T:(C=(S=n==null?void 0:n.defaultProps)==null?void 0:S.root)==null?void 0:C.size)!=null?R:"md"},get labelPlacement(){var y,_,S,C,T,R;return(R=(T=(_=e.labelPlacement)!=null?_:(y=a==null?void 0:a.state)==null?void 0:y.labelPlacement)!=null?T:(C=(S=n==null?void 0:n.defaultProps)==null?void 0:S.root)==null?void 0:C.labelPlacement)!=null?R:"end"},get id(){var y;return r&&!a?i.id:(y=e.id)!=null?y:t},get name(){var y;return(y=e.name)!=null?y:a==null?void 0:a.state.name},get value(){return e.value},get required(){var y;return(y=i.required)!=null?y:a==null?void 0:a.state.required},get disabled(){var y;return(y=i.disabled)!=null?y:a==null?void 0:a.state.disabled},get invalid(){var y;return(y=i.invalid)!=null?y:a==null?void 0:a.state.invalid},get readOnly(){var y;return(y=i.readOnly)!=null?y:a==null?void 0:a.state.readOnly},get"aria-required"(){return this.required?!0:void 0},get"aria-disabled"(){return this.disabled?!0:void 0},get"aria-invalid"(){return this.invalid?!0:void 0},get"aria-readonly"(){return this.readOnly?!0:void 0},get"aria-label"(){return e["aria-label"]},get"aria-labelledby"(){return e["aria-labelledby"]},get"aria-describedby"(){return e["aria-describedby"]},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[l,u,d]=fe(e,["class","children","ref","tabIndex","onChange"],["variant","colorScheme","size","labelPlacement","id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),p=y=>{if(o.readOnly||o.disabled){y.preventDefault();return}if(!o.isControlled){const _=y.target;s("_checked",_.checked)}Cn(a==null?void 0:a.onChange,l.onChange)(y)},f=y=>{s("isFocused",!0),xn(i.onFocus,y)},h=y=>{s("isFocused",!1),xn(i.onBlur,y)},c=()=>ce(l.class,nb,ET({size:o.size,labelPlacement:o.labelPlacement})),g=()=>ce(kT,ic()),m=()=>ce(OT,CT({variant:o.variant,colorScheme:o.colorScheme,size:o.size})),x=()=>ce(IT,ST()),v={state:o,onChange:p,onFocus:f,onBlur:h};return w(LT.Provider,{value:v,get children(){return w(Xe.label,X({get class(){return c()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.root},get for(){return o.id},"data-group":!0,get"data-focus"(){return o["data-focus"]},get"data-checked"(){return o["data-checked"]},get"data-required"(){return o["data-required"]},get"data-disabled"(){return o["data-disabled"]},get"data-invalid"(){return o["data-invalid"]},get"data-readonly"(){return o["data-readonly"]}},d,{get children(){return[(()=>{const y=AT.cloneNode(!0);y.addEventListener("blur",h),y.addEventListener("focus",f),y.addEventListener("change",p);const _=l.ref;return typeof _=="function"?_(y):l.ref=y,Pn(S=>{const C=g(),T=l.tabIndex,R=o.value,P=o.id,A=o.name,I=o.checked,$=o.required,W=o.disabled,G=o.readOnly,ae=o["aria-required"],ie=o["aria-disabled"],Te=o["aria-invalid"],te=o["aria-readonly"],Fe=o["aria-label"],Oe=o["aria-labelledby"],O=o["aria-describedby"];return C!==S._v$&&(y.className=S._v$=C),T!==S._v$2&&ht(y,"tabindex",S._v$2=T),R!==S._v$3&&(y.value=S._v$3=R),P!==S._v$4&&ht(y,"id",S._v$4=P),A!==S._v$5&&ht(y,"name",S._v$5=A),I!==S._v$6&&(y.checked=S._v$6=I),$!==S._v$7&&(y.required=S._v$7=$),W!==S._v$8&&(y.disabled=S._v$8=W),G!==S._v$9&&(y.readOnly=S._v$9=G),ae!==S._v$10&&ht(y,"aria-required",S._v$10=ae),ie!==S._v$11&&ht(y,"aria-disabled",S._v$11=ie),Te!==S._v$12&&ht(y,"aria-invalid",S._v$12=Te),te!==S._v$13&&ht(y,"aria-readonly",S._v$13=te),Fe!==S._v$14&&ht(y,"aria-label",S._v$14=Fe),Oe!==S._v$15&&ht(y,"aria-labelledby",S._v$15=Oe),O!==S._v$16&&ht(y,"aria-describedby",S._v$16=O),S},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),y})(),w(Xe.span,X({"aria-hidden":!0,get class(){return m()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.control},get"data-focus"(){return o["data-focus"]},get"data-checked"(){return o["data-checked"]},get"data-required"(){return o["data-required"]},get"data-disabled"(){return o["data-disabled"]},get"data-invalid"(){return o["data-invalid"]},get"data-readonly"(){return o["data-readonly"]}},d)),w(Xe.span,{get class(){return x()},get __baseStyle(){var y;return(y=n==null?void 0:n.baseStyle)==null?void 0:y.label},get"data-focus"(){return o["data-focus"]},get"data-checked"(){return o["data-checked"]},get"data-required"(){return o["data-required"]},get"data-disabled"(){return o["data-disabled"]},get"data-invalid"(){return o["data-invalid"]},get"data-readonly"(){return o["data-readonly"]},get children(){return w(Re,{get when(){return sc(l)},get fallback(){return l.children},get children(){var y;return(y=l.children)==null?void 0:y.call(l,{checked:o.checked})}})}})]}}))}})}NT.toString=()=>be(nb);const LT=Lt();var aa=(e=>(e[e.Close=0]="Close",e[e.SelectAndClose=1]="SelectAndClose",e[e.First=2]="First",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Open=5]="Open",e[e.Previous=6]="Previous",e[e.Select=7]="Select",e[e.Type=8]="Type",e))(aa||{});function Ph(e=[],t,n=[]){return e.filter(r=>r.disabled?!1:r.textValue.toLowerCase().indexOf(t.toLowerCase())===0&&n.indexOf(r.textValue)<0)}function RT(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],a=Ph(r,t)[0],i=o=>o.every(s=>s===o[0]);if(a)return e.indexOf(a);if(i(t.split(""))){const o=Ph(r,t[0]);return e.indexOf(o[0])}else return-1}function PT(e,t){const{key:n,altKey:r,ctrlKey:a,metaKey:i}=e;if(!t&&["ArrowDown","ArrowUp","Enter"," "].includes(n))return 5;if(n==="Home"||n==="PageUp")return 2;if(n==="End"||n==="PageDown")return 3;if(n==="Backspace"||n==="Clear"||n.length===1&&n!==" "&&!r&&!a&&!i)return 8;if(t){if(n==="ArrowUp"&&r)return 1;if(n==="ArrowDown"&&!r)return 4;if(n==="ArrowUp")return 6;if(n==="Escape")return 0;if(n==="Enter"||n===" ")return 1}}function Dh(e,t,n){switch(n){case 2:return 0;case 3:return t;case 6:return Math.max(0,e-1);case 4:return Math.min(t,e+1);default:return e}}function DT(e){const{currentIndex:t,maxIndex:n,initialAction:r,isOptionDisabled:a}=e;let i=Dh(t,n,r);for(;a(i);){let o=r;const s=i===0,l=i===n;if(r===2&&(o=4),r===3&&(o=6),r===6&&s){i=t;break}if(r===4&&l){i=t;break}i=Dh(i,n,o)}return i}function ml(e,t){return String(e.value)===String(t.value)}function rb(e){const t="hope-select-".concat(or()),n=Ce().Select,r=mo(e),[a,i]=Ie(!1),[o,s]=Ie([]),[l,u]=bn({get isControlled(){return e.value!==void 0},get value(){var se;return this.isControlled?e.value:this.multiple?this.selectedOptions.map(we=>we.value):(se=this.selectedOptions[0].value)!=null?se:void 0},get multiple(){return e.multiple},get baseId(){var se,we;return(we=(se=e.id)!=null?se:r.id)!=null?we:t},get triggerId(){return"".concat(this.baseId,"-trigger")},get listboxId(){return"".concat(this.baseId,"-listbox")},get labelIdPrefix(){return"".concat(this.baseId,"-label")},get optionIdPrefix(){return"".concat(this.baseId,"-option")},get disabled(){var se;return(se=e.disabled)!=null?se:r.disabled},get invalid(){var se;return(se=e.invalid)!=null?se:r.invalid},get variant(){var se,we,Qe,pt;return(pt=(Qe=e.variant)!=null?Qe:(we=(se=n==null?void 0:n.defaultProps)==null?void 0:se.root)==null?void 0:we.variant)!=null?pt:"outline"},get size(){var se,we,Qe,pt;return(pt=(Qe=e.size)!=null?Qe:(we=(se=n==null?void 0:n.defaultProps)==null?void 0:se.root)==null?void 0:we.size)!=null?pt:"md"},get motionPreset(){var se,we,Qe,pt;return(pt=(Qe=e.motionPreset)!=null?Qe:(we=(se=n==null?void 0:n.defaultProps)==null?void 0:se.root)==null?void 0:we.motionPreset)!=null?pt:"fade-in-top"},get activeDescendantId(){return this.opened?"".concat(this.optionIdPrefix,"-").concat(this.activeIndex):void 0},get hasSelectedOptions(){return this.selectedOptions.length>0},get options(){return o()},selectedOptions:[],opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let d,p,f,h;const c=async()=>{var se,we,Qe,pt;if(!d||!p)return;const{x:Dn,y:Er}=await nc(d,p,{placement:"bottom",middleware:[Qu((pt=(Qe=e.offset)!=null?Qe:(we=(se=n==null?void 0:n.defaultProps)==null?void 0:se.root)==null?void 0:we.offset)!=null?pt:5),Xu(),Zu(),A3({apply({reference:qe}){p&&Object.assign(p.style,{width:"".concat(qe.width,"px")})}})]});p&&Object.assign(p.style,{left:"".concat(Math.round(Dn),"px"),top:"".concat(Math.round(Er),"px")})},g=se=>{l.searchTimeoutId&&window.clearTimeout(l.searchTimeoutId);const we=window.setTimeout(()=>{u("searchString","")},500);return u("searchTimeoutId",we),u("searchString",Qe=>Qe+=se),l.searchString},m=()=>{d==null||d.focus()},x=()=>l.isControlled?e.value==null?[]:nu(e.value)?e.value:[e.value]:e.defaultValue==null?[]:nu(e.defaultValue)?e.defaultValue:[e.defaultValue],v=()=>{if(a())return;const se=x().map(we=>l.options.find(Qe=>Qe.value===we)).filter(Boolean);u("selectedOptions",we=>[...we,...se]),i(!0)},y=se=>{u("activeIndex",se)},_=se=>l.selectedOptions.length<=0?!1:l.multiple?!!l.selectedOptions.find(we=>ml(se,we)):ml(se,l.selectedOptions[0]),S=se=>{u("selectedOptions",we=>we.filter(Qe=>!ml(se,Qe)))},C=se=>{const we=l.options[se];l.multiple?_(we)?S(we):u("selectedOptions",Qe=>[...Qe,we]):u("selectedOptions",[we])},T=()=>{var se;return l.multiple?l.selectedOptions.map(we=>we.value):(se=l.selectedOptions[0].value)!=null?se:void 0},R=se=>{var we;y(se),C(se),(we=e.onChange)==null||we.call(e,T())},P=se=>{var we;S(se),(we=e.onChange)==null||we.call(e,T()),m()},A=se=>l.options[se].disabled,I=se=>{if(!di(d,Iu(se))){if(l.ignoreBlur){u("ignoreBlur",!1);return}l.opened&&Oe(!1,!1)}},$=()=>{r.readOnly||Oe(!l.opened,!1)},W=se=>{if(r.readOnly)return;const{key:we}=se;if(l.hasSelectedOptions&&l.multiple&&we==="Backspace"){P(l.selectedOptions[l.selectedOptions.length-1]);return}const Qe=l.options.length-1,pt=PT(se,l.opened);switch(pt){case aa.Last:case aa.First:Oe(!0);case aa.Next:case aa.Previous:return se.preventDefault(),y(DT({currentIndex:l.activeIndex,maxIndex:Qe,initialAction:pt,isOptionDisabled:A}));case aa.SelectAndClose:return se.preventDefault(),R(l.activeIndex),l.multiple?void 0:Oe(!1);case aa.Close:return se.preventDefault(),Oe(!1);case aa.Type:return G(we);case aa.Open:return se.preventDefault(),Oe(!0)}},G=se=>{if(r.readOnly)return;Oe(!0);const we=g(se),Qe=RT(l.options,we,l.activeIndex+1);Qe>=0?y(Qe):(window.clearTimeout(l.searchTimeoutId),u("searchString",""))},ae=se=>{if(l.options[se].disabled){m();return}R(se),l.multiple?m():Oe(!1)},ie=se=>{l.activeIndex!==se&&y(se)},Te=()=>{u("ignoreBlur",!0)},te=()=>{l.selectedOptions.length>0?u("activeIndex",l.options.findIndex(se=>_(se))):u("activeIndex",0)},Fe=()=>{l.opened?(c(),d&&p&&(h=tc(d,p,c))):h==null||h()},Oe=(se,we=!0)=>{l.opened!==se&&(u("opened",se),te(),Fe(),we&&m())},O=()=>{y(-1)},B=se=>{di(d,se)||Oe(!1,!1)},xe=se=>se===l.activeIndex,Pe=se=>{d=se},ct=se=>{p=se},nt=se=>{f=se},rt=se=>{f&&u2(f)&&c2(se,f)},lt=se=>{const we=l.options.findIndex(pt=>ml(pt,se));return we!=-1?we:s(pt=>[...pt,se]).length-1};Kt(fa(()=>l.options,()=>v(),{defer:!0})),Kt(fa(()=>e.value,()=>{if(!l.isControlled)return;const we=(nu(e.value)?e.value:[e.value]).map(Qe=>l.options.find(pt=>pt.value===Qe)).filter(Boolean);u("selectedOptions",we)},{defer:!0})),Kt(fa(()=>l.opened,se=>{se&&setTimeout(()=>{const we=f==null?void 0:f.querySelector("[role='option'][aria-selected='true']");we&&rt(we)},0)}));const vt={state:l,isOptionSelected:_,unselectOption:P,isOptionActiveDescendant:xe,formControlProps:r,assignTriggerRef:Pe,assignContentRef:ct,assignListboxRef:nt,registerOption:lt,scrollToOption:rt,onContentClickOutside:B,onTriggerBlur:I,onTriggerClick:$,onTriggerKeyDown:W,onOptionClick:ae,onOptionMouseMove:ie,onOptionMouseDown:Te,onListboxMouseLeave:O};return w(ab.Provider,{value:vt,get children(){return e.children}})}const ab=Lt();function ya(){const e=It(ab);if(!e)throw new Error("[Hope UI]: useSelectContext must be used within a `<Select />` component");return e}const ib="hope-select__content";function dc(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["ref","class","children"]),[i,o]=Ie(!1);Kt(fa(()=>n.state.opened,()=>{n.state.opened?o(!0):n.state.motionPreset==="none"&&o(!1)}));const s=()=>o(!1),l=()=>ce(r.class,ib,y4()),u=ba(()=>r.children),d=h=>{n.assignContentRef(h),An(r.ref)?r.ref(h):r.ref=h},p=h=>{n.onContentClickOutside(h.target)},f=()=>{switch(n.state.motionPreset){case"fade-in-top":return ii.fadeInTop;case"none":return"hope-none"}};return w(Re,{get when(){return i()},get children(){return w(Ha,{get children(){return w(Ua,{get name(){return f()},appear:!0,onAfterExit:s,get children(){return w(Re,{get when(){return n.state.opened},get children(){return w(Tx,{onClickOutside:p,get children(){return w(Be,X({ref:d,get class(){return l()},get __baseStyle(){var h;return(h=t==null?void 0:t.baseStyle)==null?void 0:h.content}},a,{get children(){return u()}}))}})}})}})}})}})}dc.toString=()=>be(ib);const MT=Bt('<svg><path d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),BT=br({viewBox:"0 0 15 15",path:()=>MT.cloneNode(!0)}),ob="hope-select__icon";function Cs(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["class","rotateOnOpen"]),i=()=>ce(r.class,ob,_4(r.rotateOnOpen?{opened:n.state.opened}:void 0));return w(BT,X({"aria-hidden":!0,get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.icon}},a))}Cs.toString=()=>be(ob);const sb="hope-select__listbox";function fc(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["ref","class"]),i=()=>ce(r.class,sb,E4());return w(Be,X({ref:l=>{n.assignListboxRef(l),An(r.ref)?r.ref(l):r.ref=l},role:"listbox",tabindex:"-1",get id(){return n.state.listboxId},get class(){return i()},get __baseStyle(){var l;return(l=t==null?void 0:t.baseStyle)==null?void 0:l.listbox},get onMouseLeave(){return n.onListboxMouseLeave},onMouseDown:l=>{l.preventDefault()}},a))}fc.toString=()=>be(sb);const lb=Lt(),ub="hope-select__option";function hc(e){const t=Ce().Select,n=ya(),[r,a]=Ie(-1);let i;const[o,s]=fe(e,["ref","class","value","textValue","disabled"]),l=()=>{var x,v;return{value:o.value,textValue:(v=(x=o.textValue)!=null?x:i==null?void 0:i.textContent)!=null?v:String(o.value),disabled:!!o.disabled}},u=()=>"".concat(n.state.optionIdPrefix,"-").concat(r()),d=()=>n.isOptionSelected(l()),p=()=>n.isOptionActiveDescendant(r()),f=()=>ce(o.class,ub,S4()),h=x=>{i=x,An(o.ref)?o.ref(x):o.ref=x},c=x=>{x.stopPropagation(),n.onOptionClick(r())},g=x=>{if(o.disabled&&n.onOptionMouseMove(-1),p()||o.disabled){x.preventDefault(),x.stopPropagation();return}n.onOptionMouseMove(r())},m={selected:d};return wn(()=>{a(n.registerOption(l()))}),Kt(()=>{p()&&i&&n.scrollToOption(i)}),w(lb.Provider,{value:m,get children(){return w(Be,X({ref:h,role:"option",get id(){return u()},get"aria-selected"(){return d()},get"data-active"(){return p()?"":void 0},get"data-disabled"(){return o.disabled?"":void 0},"data-group":!0,get class(){return f()},get __baseStyle(){var x;return(x=t==null?void 0:t.baseStyle)==null?void 0:x.option},onClick:c,onMouseMove:g,get onMouseDown(){return n.onOptionMouseDown}},s))}})}hc.toString=()=>be(ub);function FT(){const e=It(lb);if(!e)throw new Error("[Hope UI]: useSelectOptionContext must be used within a `<Select.Option />` component");return e}const $T=Bt('<svg><g fill="none"><path d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></g></svg>',6,!0),HT=br({viewBox:"0 0 15 15",path:()=>$T.cloneNode(!0)}),cb="hope-select__option-indicator";function pc(e){const t=Ce().Select,n=FT(),[r,a]=fe(e,["class","children"]),i=()=>ce(r.class,cb,T4());return w(Re,{get when(){return n.selected()},get children(){return w(Xe.span,X({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.optionIndicator}},a,{get children(){return w(Re,{get when(){return r.children},get fallback(){return w(HT,{"aria-hidden":"true",boxSize:"$5"})},get children(){return r.children}})}}))}})}pc.toString=()=>be(cb);const db="hope-select__option-text";function gc(e){const t=Ce().Select,[n,r]=fe(e,["class"]),a=()=>ce(n.class,db,C4());return w(Xe.span,X({get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.optionText}},r))}gc.toString=()=>be(db);const fb="hope-select__placeholder";function tf(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,fb,v4());return w(Re,{get when(){return!n.state.hasSelectedOptions},get children(){return w(Xe.span,X({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.placeholder}},a))}})}tf.toString=()=>be(fb);const hb="hope-select__tag";function pb(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["class","size","variant"]),i=()=>{var o,s,l;return ce(r.class,hb,x4({size:(s=(o=r.size)!=null?o:n.state.size)!=null?s:"md",variant:((l=r.variant)!=null?l:n.state.variant==="filled")?"outline":"subtle"}))};return w(Xe.span,X({get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.tag}},a))}pb.toString=()=>be(hb);const UT=Bt('<svg><g fill="none"><path d="M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></g></svg>',6,!0),zT=br({viewBox:"0 0 15 15",path:()=>UT.cloneNode(!0)}),gb="hope-select__tag-close-button";function mb(e){const t=Ce().Select,[n,r]=fe(e,["class","children"]),a=()=>ce(n.class,gb,b4());return w(Xe.button,X({role:"button",type:"button","aria-label":"Delete",tabIndex:"-1",get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.tagCloseButton}},r,{get children(){return w(Re,{get when(){return n.children},get fallback(){return w(zT,{})},get children(){return n.children}})}}))}mb.toString=()=>be(gb);const xb="hope-select__trigger";function mc(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["ref","class","onClick","onKeyDown","onFocus","onBlur"]),i=()=>ce(r.class,xb,g4({variant:n.state.variant,size:n.state.size})),o=p=>{n.assignTriggerRef(p),An(r.ref)?r.ref(p):r.ref=p},s=p=>{Cn(n.onTriggerClick,r.onClick)(p)},l=p=>{Cn(n.onTriggerKeyDown,r.onKeyDown)(p)},u=p=>{Cn(n.formControlProps.onFocus,r.onFocus)(p)},d=p=>{Cn(n.onTriggerBlur,n.formControlProps.onBlur,r.onBlur)(p)};return w(Xe.button,X({ref:o,get id(){return n.state.triggerId},get disabled(){return n.state.disabled},role:"combobox",type:"button",tabindex:"0","aria-haspopup":"listbox",get"aria-activedescendant"(){return n.state.activeDescendantId},get"aria-controls"(){return n.state.listboxId},get"aria-expanded"(){return n.state.opened},get"aria-required"(){return n.formControlProps["aria-required"]},get"aria-invalid"(){return n.formControlProps["aria-invalid"]},get"aria-readonly"(){return n.formControlProps["aria-readonly"]},get"aria-describedby"(){return n.formControlProps["aria-describedby"]},get class(){return i()},get __baseStyle(){var p;return(p=t==null?void 0:t.baseStyle)==null?void 0:p.trigger},onClick:s,onKeyDown:l,onFocus:u,onBlur:d},a))}mc.toString=()=>be(xb);const jT=Bt("<span></span>",2),sd="hope-select__value";function xc(e){const t=Ce().Select,n=ya(),[r,a]=fe(e,["class","children"]),i=()=>ce(r.class,sd,i2()),o=()=>ce(r.class,sd,m4({size:n.state.size})),s=(u,d)=>{u.preventDefault(),u.stopPropagation(),n.unselectOption(d)},l=ba(()=>{var u;return sc(r)?(u=r.children)==null?void 0:u.call(r,{selectedOptions:n.state.selectedOptions}):r.children});return w(Re,{get when(){return n.state.hasSelectedOptions},get children(){return w(Re,{get when(){return!l()},get fallback(){return l()},get children(){return w(Re,{get when(){return n.state.multiple},get fallback(){return w(Be,X({get class(){return i()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.singleValue}},a,{get children(){return n.state.selectedOptions[0].textValue}}))},get children(){return w(Be,X({get class(){return o()},get __baseStyle(){var u;return(u=t==null?void 0:t.baseStyle)==null?void 0:u.multiValue}},a,{get children(){return w(uo,{get each(){return n.state.selectedOptions},children:u=>w(pb,{get children(){return[(()=>{const d=jT.cloneNode(!0);return ma(d,()=>u.textValue),d})(),w(mb,{onClick:d=>s(d,u)})]}})})}}))}})}})}})}xc.toString=()=>be(sd);function qF(e){const[t,n]=fe(e,["children","value"]);return w(hc,X({get value(){return t.value}},n,{get children(){return[w(gc,{get children(){return t.children}}),w(pc,{})]}}))}function WF(e){const[t,n,r]=fe(e,["children","placeholder"],["variant","size","offset","id","multiple","value","defaultValue","required","disabled","invalid","readOnly","onChange","onFocus","onBlur"]);return w(rb,X(n,{get children(){return[w(mc,X(r,{get children(){return[w(Re,{get when(){return t.placeholder},get children(){return w(tf,{get children(){return t.placeholder}})}}),w(xc,{}),w(Cs,{})]}})),w(dc,{get children(){return w(fc,{get children(){return t.children}})}})]}}))}const qT=po({from:{borderColor:"$$startColor",background:"$$startColor"},to:{borderColor:"$$endColor",background:"$$endColor"}});Q({$$startColor:"$colors$neutral2",$$endColor:"$colors$neutral8",opacity:"0.7",borderRadius:"2px",borderColor:"$$startColor",boxShadow:"$none",background:"$$endColor",backgroundClip:"padding-box",color:"transparent",cursor:"default",pointerEvents:"none",userSelect:"none",animationTimingFunction:"linear",animationIterationCount:"infinite",animationDirection:"alternate",animationName:"".concat(qT()),"&::before, &::after, *":{visibility:"hidden"}});const WT=Q({flex:1,justifySelf:"stretch",alignSelf:"stretch"}),bb="hope-spacer";function VT(e){const[t,n]=fe(e,["class"]),r=()=>ce(t.class,bb,WT());return w(Be,X({get class(){return r()}},n))}VT.toString=()=>be(bb);const GT=Q({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"$full",borderWidth:"2px",borderBottomColor:"transparent",borderLeftColor:"transparent",animationName:"".concat(ac),animationDuration:"0.45s",animationTimingFunction:"linear",animationIterationCount:"infinite",variants:{size:{xs:{boxSize:"0.75rem"},sm:{boxSize:"1rem"},md:{boxSize:"1.5rem"},lg:{boxSize:"2rem"},xl:{boxSize:"3rem"}}}}),KT=Bt("<span></span>",2),vb="hope-spinner";function zs(e){var t,n,r,a,i,o,s,l;const u=Ce().Spinner,d={label:(n=(t=u==null?void 0:u.defaultProps)==null?void 0:t.label)!=null?n:"Loading...",size:(a=(r=u==null?void 0:u.defaultProps)==null?void 0:r.size)!=null?a:"md",emptyColor:(i=u==null?void 0:u.defaultProps)==null?void 0:i.emptyColor,color:(o=u==null?void 0:u.defaultProps)==null?void 0:o.color,thickness:(s=u==null?void 0:u.defaultProps)==null?void 0:s.thickness,speed:(l=u==null?void 0:u.defaultProps)==null?void 0:l.speed},p=X(d,e),[f,h]=fe(p,["class","children","label","size","emptyColor","color","thickness","speed"]),c=()=>ce(f.class,vb,GT({size:f.size,css:{color:f.color,borderWidth:f.thickness,borderBottomColor:f.emptyColor,borderLeftColor:f.emptyColor,animationDuration:f.speed}}));return w(Be,X({get class(){return c()}},h,{get children(){return w(Re,{get when(){return f.label},get children(){const g=KT.cloneNode(!0);return ma(g,()=>f.label),Pn(()=>g.className=ic()),g}})}}))}zs.toString=()=>be(vb);const YT=Q(Xd,{variants:{labelPlacement:{start:{flexDirection:"row"},end:{flexDirection:"row-reverse"}}}}),XT=Q(Qd),QT=Q(Zd,{borderRadius:"$full",transition:"background-color 250ms, border-color 250ms, box-shadow 250ms","&::before":{content:"''",position:"absolute",top:"2px",left:"2px",zIndex:"1",borderRadius:"$full",boxShadow:"$sm",transition:"250ms"},variants:{variant:{outline:{"&::before":{backgroundColor:"$neutral7"},"&[data-checked]::before":{backgroundColor:"$loContrast"}},filled:{"&::before":{backgroundColor:"$loContrast"}}},size:{sm:{height:"16px",width:"26px","&::before":{boxSize:"10px"},"&[data-checked]::before":{transform:"translateX(10px)"}},md:{columnGap:"2px",height:"20px",width:"34px","&::before":{boxSize:"14px"},"&[data-checked]::before":{transform:"translateX(14px)"}},lg:{columnGap:"4px",height:"28px",width:"50px","&::before":{boxSize:"22px"},"&[data-checked]::before":{transform:"translateX(22px)"}}}}}),ZT=Bt('<input type="checkbox" role="switch">',1);function JT(e){const t="hope-switch-".concat(or()),n=mo(e),[r,a]=bn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return e.checked!==void 0},get checked(){return this.isControlled?!!e.checked:this._checked},get id(){var c;return(c=n.id)!=null?c:t},get name(){return e.name},get value(){return e.value},get required(){return n.required},get disabled(){return n.disabled},get invalid(){return n.invalid},get readOnly(){return n.readOnly},get"aria-required"(){return this.required?!0:void 0},get"aria-disabled"(){return this.disabled?!0:void 0},get"aria-invalid"(){return this.invalid?!0:void 0},get"aria-readonly"(){return this.readOnly?!0:void 0},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[i,o,s]=fe(e,["inputClass","children","ref","tabIndex","aria-label","aria-labelledby","aria-describedby","onChange"],["id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),l=c=>{if(r.readOnly||r.disabled){c.preventDefault();return}if(!r.isControlled){const g=c.target;a("_checked",g.checked)}xn(i.onChange,c)},u=c=>{a("isFocused",!0),xn(n.onFocus,c)},d=c=>{a("isFocused",!1),xn(n.onBlur,c)},p=()=>ce(i.inputClass,ic()),f=()=>r,h={state:r};return w(ew.Provider,{value:h,get children(){return w(Xe.label,X({get for(){return r.id},"data-group":!0,get"data-focus"(){return r["data-focus"]},get"data-checked"(){return r["data-checked"]},get"data-required"(){return r["data-required"]},get"data-disabled"(){return r["data-disabled"]},get"data-invalid"(){return r["data-invalid"]},get"data-readonly"(){return r["data-readonly"]}},s,{get children(){return[(()=>{const c=ZT.cloneNode(!0);c.addEventListener("blur",d),c.addEventListener("focus",u),c.addEventListener("change",l);const g=i.ref;return typeof g=="function"?g(c):i.ref=c,Pn(m=>{const x=p(),v=i.tabIndex,y=r.value,_=r.id,S=r.name,C=r.checked,T=r.required,R=r.disabled,P=r.readOnly,A=r["aria-required"],I=r["aria-disabled"],$=r["aria-invalid"],W=r["aria-readonly"],G=i["aria-label"],ae=i["aria-labelledby"],ie=i["aria-describedby"];return x!==m._v$&&(c.className=m._v$=x),v!==m._v$2&&ht(c,"tabindex",m._v$2=v),y!==m._v$3&&(c.value=m._v$3=y),_!==m._v$4&&ht(c,"id",m._v$4=_),S!==m._v$5&&ht(c,"name",m._v$5=S),C!==m._v$6&&(c.checked=m._v$6=C),T!==m._v$7&&(c.required=m._v$7=T),R!==m._v$8&&(c.disabled=m._v$8=R),P!==m._v$9&&(c.readOnly=m._v$9=P),A!==m._v$10&&ht(c,"aria-required",m._v$10=A),I!==m._v$11&&ht(c,"aria-disabled",m._v$11=I),$!==m._v$12&&ht(c,"aria-invalid",m._v$12=$),W!==m._v$13&&ht(c,"aria-readonly",m._v$13=W),G!==m._v$14&&ht(c,"aria-label",m._v$14=G),ae!==m._v$15&&ht(c,"aria-labelledby",m._v$15=ae),ie!==m._v$16&&ht(c,"aria-describedby",m._v$16=ie),m},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),c})(),w(Re,{get when(){return An(i.children)},get fallback(){return i.children},get children(){var c;return(c=i.children)==null?void 0:c.call(i,{state:f})}})]}}))}})}const ew=Lt(),_b="hope-switch",tw="hope-checkbox__input",nw="hope-switch__control",rw="hope-switch__label";function aw(e){var t,n,r,a,i,o,s,l,u,d,p,f;const h=Ce().Switch,c={variant:(r=(n=(t=h==null?void 0:h.defaultProps)==null?void 0:t.root)==null?void 0:n.variant)!=null?r:"filled",colorScheme:(o=(i=(a=h==null?void 0:h.defaultProps)==null?void 0:a.root)==null?void 0:i.colorScheme)!=null?o:"primary",size:(u=(l=(s=h==null?void 0:h.defaultProps)==null?void 0:s.root)==null?void 0:l.size)!=null?u:"md",labelPlacement:(f=(p=(d=h==null?void 0:h.defaultProps)==null?void 0:d.root)==null?void 0:p.labelPlacement)!=null?f:"start"},g=X(c,e),[m,x]=fe(g,["children","class","variant","colorScheme","size","labelPlacement"]),v=()=>ce(m.class,_b,YT({size:m.size,labelPlacement:m.labelPlacement})),y=()=>ce(nw,QT({variant:m.variant,colorScheme:m.colorScheme,size:m.size})),_=()=>ce(rw,XT());return w(JT,X({get class(){return v()},inputClass:tw,get __baseStyle(){var S;return(S=h==null?void 0:h.baseStyle)==null?void 0:S.root}},x,{children:({state:S})=>[w(Xe.span,{get class(){return _()},get __baseStyle(){var C;return(C=h==null?void 0:h.baseStyle)==null?void 0:C.label},get"data-focus"(){return S()["data-focus"]},get"data-checked"(){return S()["data-checked"]},get"data-required"(){return S()["data-required"]},get"data-disabled"(){return S()["data-disabled"]},get"data-invalid"(){return S()["data-invalid"]},get"data-readonly"(){return S()["data-readonly"]},get children(){return m.children}}),w(Xe.span,{"aria-hidden":!0,get class(){return y()},get __baseStyle(){var C;return(C=h==null?void 0:h.baseStyle)==null?void 0:C.control},get"data-focus"(){return S()["data-focus"]},get"data-checked"(){return S()["data-checked"]},get"data-required"(){return S()["data-required"]},get"data-disabled"(){return S()["data-disabled"]},get"data-invalid"(){return S()["data-invalid"]},get"data-readonly"(){return S()["data-readonly"]}})]}))}aw.toString=()=>be(_b);const iw=Q({width:"100%",borderCollapse:"collapse",fontVariantNumeric:"lining-nums tabular-nums"});Q({px:"$6",py:"$4",color:"$neutral11",fontSize:"$sm",fontWeight:"$medium",lineHeight:"$5",textAlign:"center",variants:{dense:{true:{px:"$4",py:"$3",fontSize:"$xs",lineHeight:"$4"}},placement:{top:{captionSide:"top"},bottom:{captionSide:"bottom"}}}});function Mh(e){return{"& td":{borderBottomWidth:0},"& tr:last-of-type td":{borderBottomWidth:"1px"},["& tr:nth-of-type(".concat(e,") td")]:{backgroundColor:"$neutral3"}}}const ow=Q({variants:{striped:{odd:Mh("odd"),even:Mh("even")},highlightOnHover:{true:{"& tr:hover td":{backgroundColor:"$neutral4"}}}},compoundVariants:[{striped:"odd",highlightOnHover:!0,css:{"& tr:nth-of-type(odd):hover td":{backgroundColor:"$neutral4"}}},{striped:"even",highlightOnHover:!0,css:{"& tr:nth-of-type(even):hover td":{backgroundColor:"$neutral4"}}}]});Q({"& tr:last-of-type th":{borderBottomWidth:0}});const sw=Q({borderBottom:"1px solid $colors$neutral6",px:"$6",py:"$3",fontSize:"$xs",fontWeight:"$semibold",lineHeight:"$4",letterSpacing:"$wider",textAlign:"start",textTransform:"uppercase",variants:{dense:{true:{px:"$4",py:"$1_5"}},numeric:{true:{textAlign:"end"}}}}),lw=Q({borderBottom:"1px solid $colors$neutral6",px:"$6",py:"$4",fontSize:"$base",lineHeight:"$6",textAlign:"start",transition:"background-color 250ms",variants:{dense:{true:{px:"$4",py:"$2",fontSize:"$sm",lineHeight:"$5"}},numeric:{true:{textAlign:"end"}}}}),yb=Lt(),Eb="hope-table";function uw(e){const t=Ce().Table,[n]=bn({get striped(){var o,s,l;return(l=e.striped)!=null?l:(s=(o=t==null?void 0:t.defaultProps)==null?void 0:o.root)==null?void 0:s.striped},get dense(){var o,s,l,u;return(u=(l=e.dense)!=null?l:(s=(o=t==null?void 0:t.defaultProps)==null?void 0:o.root)==null?void 0:s.dense)!=null?u:!1},get highlightOnHover(){var o,s,l,u;return(u=(l=e.highlightOnHover)!=null?l:(s=(o=t==null?void 0:t.defaultProps)==null?void 0:o.root)==null?void 0:s.highlightOnHover)!=null?u:!1}}),[r,a]=fe(e,["class","striped","dense","highlightOnHover"]),i=()=>ce(r.class,Eb,iw(n));return w(yb.Provider,{value:n,get children(){return w(Be,X({as:"table",role:"table",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.root}},a))}})}uw.toString=()=>be(Eb);function nf(){const e=It(yb);if(!e)throw new Error("[Hope UI]: useTableContext must be used within a `<Table/>` component");return e}const Sb="hope-tbody";function cw(e){const t=Ce().Table,n=nf(),[r,a]=fe(e,["class"]),i=()=>ce(r.class,Sb,ow({striped:n.striped,highlightOnHover:n.highlightOnHover}));return w(Be,X({as:"tbody",role:"rowgroup",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.tbody}},a))}cw.toString=()=>be(Sb);const Cb="hope-td";function dw(e){const t=Ce().Table,n=nf(),[r,a]=fe(e,["class","numeric"]),i=()=>ce(r.class,Cb,lw({dense:n.dense,numeric:r.numeric}));return w(Be,X({as:"td",role:"cell",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.td}},a))}dw.toString=()=>be(Cb);const Tb="hope-th";function fw(e){const t=Ce().Table,n=nf(),[r,a]=fe(e,["class","numeric"]),i=()=>ce(r.class,Tb,sw({dense:n.dense,numeric:r.numeric}));return w(Be,X({as:"th",role:"columnheader",get class(){return i()},get __baseStyle(){var o;return(o=t==null?void 0:t.baseStyle)==null?void 0:o.th}},a))}fw.toString=()=>be(Tb);const wb="hope-thead";function hw(e){const t=Ce().Table,[n,r]=fe(e,["class"]),a=()=>ce(n.class,wb);return w(Be,X({as:"thead",role:"rowgroup",get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.thead}},r))}hw.toString=()=>be(wb);const Ab="hope-tr";function pw(e){const t=Ce().Table,[n,r]=fe(e,["class"]),a=()=>ce(n.class,Ab);return w(Be,X({as:"tr",role:"row",get class(){return a()},get __baseStyle(){var i;return(i=t==null?void 0:t.baseStyle)==null?void 0:i.tr}},r))}pw.toString=()=>be(Ab);Q({variants:{orientation:{horizontal:{display:"block"},vertical:{display:"flex"}}}});Q({display:"flex",color:"$neutral11",fontWeight:"$normal",variants:{variant:{underline:{borderWidth:0,borderStyle:"solid",borderColor:"$neutral7"},outline:{borderStyle:"solid",borderColor:"$neutral7"},cards:{borderStyle:"solid",borderColor:"$neutral7"},pills:{gap:"$1_5"}},alignment:{start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},center:{justifyContent:"center"},apart:{justifyContent:"space-between"}},orientation:{horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}}},compoundVariants:[{variant:"underline",orientation:"horizontal",css:{borderBottomWidth:"1px"}},{variant:"underline",orientation:"vertical",css:{borderInlineEndWidth:"1px"}},{variant:"outline",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px"}},{variant:"outline",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px"}},{variant:"cards",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px"}},{variant:"cards",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px"}}]});function Zt(e){return{"&[aria-selected='true']":{color:e}}}function Ja(e){return{"&[aria-selected='true']":{color:e.color,backgroundColor:e.bgColor},"&[aria-selected='true']:hover":{backgroundColor:e.bgColorHover}}}Q({appearance:"none",display:"flex",alignItems:"center",justifyContent:"center",outline:"none",border:"$none",backgroundColor:"transparent",px:"$4",color:"inherit",fontWeight:"inherit",cursor:"pointer",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",transitionDuration:"250ms","&:focus":{zIndex:1,outline:"none",boxShadow:"$outline"},"&:disabled":{opacity:.4,cursor:"not-allowed"},variants:{variant:{underline:{borderWidth:0,borderStyle:"solid",borderColor:"transparent","&[aria-selected='true']":{borderColor:"currentColor"},"&:active":{backgroundColor:"$neutral4"}},outline:{borderWidth:"1px",borderStyle:"solid",borderColor:"transparent","&[aria-selected='true']":{borderColor:"inherit"}},cards:{borderWidth:"1px",borderStyle:"solid",borderColor:"inherit",backgroundColor:"$neutral3","&[aria-selected='true']":{borderColor:"inherit",backgroundColor:"$loContrast"}},pills:{borderRadius:"$sm","&:hover":{backgroundColor:"$neutral3"},"&:hover:disabled":{backgroundColor:"transparent"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:{py:"$1",fontSize:"$sm"},md:{py:"$2",fontSize:"$base"},lg:{py:"$3",fontSize:"$lg"}},orientation:{horizontal:{},vertical:{}},fitted:{true:{flex:1}}},compoundVariants:[{variant:"underline",colorScheme:"primary",css:Zt("$primary11")},{variant:"underline",colorScheme:"accent",css:Zt("$accent11")},{variant:"underline",colorScheme:"neutral",css:Zt("$neutral12")},{variant:"underline",colorScheme:"success",css:Zt("$success11")},{variant:"underline",colorScheme:"info",css:Zt("$info11")},{variant:"underline",colorScheme:"warning",css:Zt("$warning11")},{variant:"underline",colorScheme:"danger",css:Zt("$danger11")},{variant:"outline",colorScheme:"primary",css:Zt("$primary11")},{variant:"outline",colorScheme:"accent",css:Zt("$accent11")},{variant:"outline",colorScheme:"neutral",css:Zt("$neutral12")},{variant:"outline",colorScheme:"success",css:Zt("$success11")},{variant:"outline",colorScheme:"info",css:Zt("$info11")},{variant:"outline",colorScheme:"warning",css:Zt("$warning11")},{variant:"outline",colorScheme:"danger",css:Zt("$danger11")},{variant:"cards",colorScheme:"primary",css:Zt("$primary11")},{variant:"cards",colorScheme:"accent",css:Zt("$accent11")},{variant:"cards",colorScheme:"neutral",css:Zt("$neutral12")},{variant:"cards",colorScheme:"success",css:Zt("$success11")},{variant:"cards",colorScheme:"info",css:Zt("$info11")},{variant:"cards",colorScheme:"warning",css:Zt("$warning11")},{variant:"cards",colorScheme:"danger",css:Zt("$danger11")},{variant:"pills",colorScheme:"primary",css:Ja({color:"$primary11",bgColor:"$primary3",bgColorHover:"$primary4"})},{variant:"pills",colorScheme:"accent",css:Ja({color:"$accent11",bgColor:"$accent3",bgColorHover:"$accent4"})},{variant:"pills",colorScheme:"neutral",css:Ja({color:"$neutral12",bgColor:"$neutral3",bgColorHover:"$neutral4"})},{variant:"pills",colorScheme:"success",css:Ja({color:"$success11",bgColor:"$success3",bgColorHover:"$success4"})},{variant:"pills",colorScheme:"info",css:Ja({color:"$info11",bgColor:"$info3",bgColorHover:"$info4"})},{variant:"pills",colorScheme:"warning",css:Ja({color:"$warning11",bgColor:"$warning3",bgColorHover:"$warning4"})},{variant:"pills",colorScheme:"danger",css:Ja({color:"$danger11",bgColor:"$danger3",bgColorHover:"$danger4"})},{variant:"underline",orientation:"horizontal",css:{borderBottomWidth:"2px",marginBottom:"-1px"}},{variant:"underline",orientation:"vertical",css:{borderInlineEndWidth:"2px",marginInlineEnd:"-1px"}},{variant:"outline",orientation:"horizontal",css:{mb:"-1px",borderTopRadius:"$sm","&[aria-selected='true']":{borderBottomColor:"$loContrast"}}},{variant:"outline",orientation:"vertical",css:{marginInlineEnd:"-1px",borderStartRadius:"$radii$sm","&[aria-selected='true']":{borderInlineEndColor:"$colors$loContrast"}}},{variant:"cards",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px","&:not(:last-of-type)":{marginInlineEnd:"-1px"},"&[aria-selected='true']":{borderTopColor:"currentColor",borderBottomColor:"transparent"}}},{variant:"cards",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px","&:not(:last-of-type)":{mb:"-1px"},"&[aria-selected='true']":{borderInlineStartColor:"currentColor",borderInlineEndColor:"transparent"}}}]});Q({outline:"none",padding:"$4"});Q({marginInlineStart:"$2"});Q({marginInlineEnd:"$2"});Q({noOfLines:1});const ro=Q({appearance:"none",position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",outline:"none",border:"1px solid transparent",borderRadius:"$full",backgroundColor:"transparent",padding:"0",lineHeight:"$none",textDecoration:"none",color:"inherit",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms, opacity 250ms, box-shadow 250ms","&:focus":{outline:"none",boxShadow:"$outline"},"&:disabled":{border:"1px solid transparent",backgroundColor:"transparent",color:"$neutral3",cursor:"not-allowed"},variants:{size:{sm:{marginInlineStart:"0.35rem",marginInlineEnd:"-3px"},md:{marginInlineStart:"$1_5",marginInlineEnd:"calc(0.15rem * -1)"},lg:{marginInlineStart:"$1_5",marginInlineEnd:"calc($1 * -1)"}}}});function n0(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,lineHeight:e.lineHeight,["& .".concat(ro)]:{boxSize:e.closeButtonSize}}}function ei(e){return{backgroundColor:e.bgColor,color:e.color,["& .".concat(ro,":not(:disabled):hover")]:{backgroundColor:e.closeButtonBgColorHover}}}function ti(e){return{backgroundColor:e.bgColor,color:e.color,["& .".concat(ro,":not(:disabled):hover")]:{backgroundColor:e.closeButtonBgColorHover}}}function ni(e){return{borderColor:e.borderColor,color:e.color,["& .".concat(ro,":not(:disabled):hover")]:{backgroundColor:e.closeButtonBgColorHover}}}function r0(e){return{"&::before, &::after":{boxSize:e},"&::before":{marginRight:e},"&::after":{marginLeft:e}}}Q({display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"$full",fontWeight:"$medium",lineHeight:"$none",variants:{variant:{solid:{border:"1px solid transparent",color:"white"},subtle:{border:"1px solid transparent"},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent"},dot:{border:"1px solid $neutral7",backgroundColor:"transparent",color:"$neutral12","&::before, &::after":{content:"''",borderRadius:"$full"},"&::before":{display:"block"},"&::after":{display:"none"},["& .".concat(ro,":not(:disabled):hover")]:{backgroundColor:"$neutral4"},["& .".concat(ro,":not(:disabled):active")]:{backgroundColor:"$neutral5"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:n0({height:"$5",paddingX:"$2",fontSize:"$xs",lineHeight:"$4",closeButtonSize:"$4"}),md:n0({height:"$6",paddingX:"$2",fontSize:"$sm",lineHeight:"$5",closeButtonSize:"$5"}),lg:n0({height:"$8",paddingX:"$3",fontSize:"$base",lineHeight:"$6",closeButtonSize:"$6"})},dotPlacement:{start:{},end:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:ei({color:"white",bgColor:"$primary9",closeButtonBgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:ei({color:"white",bgColor:"$accent9",closeButtonBgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:ei({color:"white",bgColor:"$neutral9",closeButtonBgColorHover:"$neutral11"})},{variant:"solid",colorScheme:"success",css:ei({color:"white",bgColor:"$success9",closeButtonBgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:ei({color:"white",bgColor:"$info9",closeButtonBgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:ei({color:"$blackAlpha12",bgColor:"$warning9",closeButtonBgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:ei({color:"white",bgColor:"$danger9",closeButtonBgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:ti({color:"$primary11",bgColor:"$primary4",closeButtonBgColorHover:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:ti({color:"$accent11",bgColor:"$accent4",closeButtonBgColorHover:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:ti({color:"$neutral12",bgColor:"$neutral4",closeButtonBgColorHover:"$neutral7"})},{variant:"subtle",colorScheme:"success",css:ti({color:"$success11",bgColor:"$success4",closeButtonBgColorHover:"$success6"})},{variant:"subtle",colorScheme:"info",css:ti({color:"$info11",bgColor:"$info4",closeButtonBgColorHover:"$info6"})},{variant:"subtle",colorScheme:"warning",css:ti({color:"$warning11",bgColor:"$warning4",closeButtonBgColorHover:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:ti({color:"$danger11",bgColor:"$danger4",closeButtonBgColorHover:"$danger6"})},{variant:"outline",colorScheme:"primary",css:ni({color:"$primary11",borderColor:"$primary7",closeButtonBgColorHover:"$primary4"})},{variant:"outline",colorScheme:"accent",css:ni({color:"$accent11",borderColor:"$accent7",closeButtonBgColorHover:"$accent4"})},{variant:"outline",colorScheme:"neutral",css:ni({color:"$neutral12",borderColor:"$neutral7",closeButtonBgColorHover:"$neutral4"})},{variant:"outline",colorScheme:"success",css:ni({color:"$success11",borderColor:"$success7",closeButtonBgColorHover:"$success4"})},{variant:"outline",colorScheme:"info",css:ni({color:"$info11",borderColor:"$info7",closeButtonBgColorHover:"$info4"})},{variant:"outline",colorScheme:"warning",css:ni({color:"$warning11",borderColor:"$warning7",closeButtonBgColorHover:"$warning4"})},{variant:"outline",colorScheme:"danger",css:ni({color:"$danger11",borderColor:"$danger7",closeButtonBgColorHover:"$danger4"})},{variant:"dot",colorScheme:"primary",css:{"&::before, &::after":{backgroundColor:"$primary9"}}},{variant:"dot",colorScheme:"accent",css:{"&::before, &::after":{backgroundColor:"$accent9"}}},{variant:"dot",colorScheme:"neutral",css:{"&::before, &::after":{backgroundColor:"$neutral9"}}},{variant:"dot",colorScheme:"success",css:{"&::before, &::after":{backgroundColor:"$success9"}}},{variant:"dot",colorScheme:"info",css:{"&::before, &::after":{backgroundColor:"$info9"}}},{variant:"dot",colorScheme:"warning",css:{"&::before, &::after":{backgroundColor:"$warning9"}}},{variant:"dot",colorScheme:"danger",css:{"&::before, &::after":{backgroundColor:"$danger9"}}},{variant:"dot",size:"sm",css:r0("$1_5")},{variant:"dot",size:"md",css:r0("$2")},{variant:"dot",size:"lg",css:r0("$2_5")},{variant:"dot",dotPlacement:"start",css:{"&::before":{display:"block"},"&::after":{display:"none"}}},{variant:"dot",dotPlacement:"end",css:{"&::before":{display:"none"},"&::after":{display:"block"}}}]});const kb="hope-text";function gw(e){var t;const n=Ce().Text,r={size:(t=n==null?void 0:n.defaultProps)==null?void 0:t.size},a=X(r,e),[i,o]=fe(a,["class","size"]),s=()=>ce(i.class,kb,hx({size:i.size}));return w(Xe.p,X({get class(){return s()},get __baseStyle(){return n==null?void 0:n.baseStyle}},o))}gw.toString=()=>be(kb);function a0(e,t){return Object.entries({xs:t!=null?t:"$2",sm:t!=null?t:"$2_5",md:t!=null?t:"$3",lg:t!=null?t:"$4"}).map(([n,r])=>({variant:e,size:n,css:{px:r}}))}const mw=Q(Gd,{minHeight:"80px",py:"$2",compoundVariants:[...a0("outline"),...a0("filled"),...a0("unstyled",0)]}),Ob="hope-textarea";function xw(e){var t,n,r,a;const i=Ce().Textarea,o={variant:(n=(t=i==null?void 0:i.defaultProps)==null?void 0:t.variant)!=null?n:"outline",size:(a=(r=i==null?void 0:i.defaultProps)==null?void 0:r.size)!=null?a:"md"},s=X(o,e),[l,u]=fe(s,["class","variant","size"]),d=mo(e),p=()=>ce(l.class,Ob,mw({variant:l.variant,size:l.size}));return w(Be,X({as:"textarea",get class(){return p()},get __baseStyle(){return i==null?void 0:i.baseStyle}},d,u))}xw.toString=()=>be(Ob);const Ib="hope-tooltip",bw="hope-tooltip__arrow";function vw(e){var t,n,r,a,i,o,s,l,u,d,p,f,h,c,g,m,x,v;const y="hope-tooltip-".concat(or()),_=Ce().Tooltip,S={id:y,placement:(n=(t=_==null?void 0:_.defaultProps)==null?void 0:t.placement)!=null?n:"bottom",offset:(a=(r=_==null?void 0:_.defaultProps)==null?void 0:r.offset)!=null?a:8,withArrow:(o=(i=_==null?void 0:_.defaultProps)==null?void 0:i.withArrow)!=null?o:!1,arrowSize:(l=(s=_==null?void 0:_.defaultProps)==null?void 0:s.arrowSize)!=null?l:8,arrowPadding:(d=(u=_==null?void 0:_.defaultProps)==null?void 0:u.arrowPadding)!=null?d:8,openDelay:(f=(p=_==null?void 0:_.defaultProps)==null?void 0:p.openDelay)!=null?f:0,closeDelay:(c=(h=_==null?void 0:_.defaultProps)==null?void 0:h.closeDelay)!=null?c:0,closeOnClick:(m=(g=_==null?void 0:_.defaultProps)==null?void 0:g.closeOnClick)!=null?m:!0,closeOnMouseDown:(v=(x=_==null?void 0:_.defaultProps)==null?void 0:x.closeOnMouseDown)!=null?v:!1},C=X(S,e),[T,R]=fe(C,["class","children","id","label","opened","defaultOpened","inline","disabled","placement","offset","withArrow","arrowSize","arrowPadding","openDelay","closeDelay","closeOnClick","closeOnMouseDown","onOpen","onClose"]),[P,A]=Ie(!!T.defaultOpened),[I,$]=Ie(!1);let W,G,ae,ie;const Te=()=>T.opened!==void 0,te=()=>Te()?!!T.opened:P(),Fe=()=>ce(T.class,Ib,A4()),Oe=()=>ce(bw,k4());let O;const B=ba(()=>T.children),xe=Ue(()=>{let qe=B();for(;An(qe);)qe=qe();return qe});async function Pe(){var qe,fn,Kn;const Sr=xe();if(!Sr||!W)return;const Qt=[Qu(T.offset)];T.inline&&Qt.push(Vm()),Qt.push(Xu()),Qt.push(Zu()),T.withArrow&&G&&Qt.push(jm({element:G,padding:T.arrowPadding})),Qt.push(Wm());const{x:vn,y:Mn,placement:dn,middlewareData:On}=await nc(Sr,W,{placement:T.placement,middleware:Qt});if(!W)return;const sr=(qe=On.hide)==null?void 0:qe.referenceHidden;if(Object.assign(W.style,{left:"".concat(Math.round(vn),"px"),top:"".concat(Math.round(Mn),"px"),visibility:sr?"hidden":"visible"}),!G)return;const $r=(fn=On.arrow)==null?void 0:fn.x,J=(Kn=On.arrow)==null?void 0:Kn.y,j={top:"bottom",right:"left",bottom:"top",left:"right"}[dn.split("-")[0]],L="".concat(T.arrowSize?Math.round(T.arrowSize/2)*-1:-4,"px");Object.assign(G.style,{left:$r!=null?"".concat(Math.round($r),"px"):"",top:J!=null?"".concat(Math.round(J),"px"):"",right:"",bottom:"",[j]:L})}const ct=()=>{var qe;Te()||A(!0),(qe=T.onOpen)==null||qe.call(T),Pe()},nt=()=>{var qe;Te()||A(!1),(qe=T.onClose)==null||qe.call(T)},rt=()=>{T.disabled||(ae=window.setTimeout(ct,T.openDelay))},lt=()=>{ae&&window.clearTimeout(ae),ie=window.setTimeout(nt,T.closeDelay)},vt=()=>{T.closeOnClick&&lt()},se=()=>{T.closeOnMouseDown&&lt()},we=qe=>{te()&&qe.key==="Escape"&&lt()},Qe=()=>{const qe=xe();qe.addEventListener("mouseenter",rt),qe.addEventListener("focus",rt),qe.addEventListener("click",vt),qe.addEventListener("mousedown",se),qe.addEventListener("mouseleave",lt),qe.addEventListener("blur",lt)},pt=()=>{const qe=xe();qe.removeEventListener("mouseenter",rt),qe.removeEventListener("focus",rt),qe.removeEventListener("click",vt),qe.removeEventListener("mousedown",se),qe.removeEventListener("mouseleave",lt),qe.removeEventListener("blur",lt)},Dn=()=>{W&&(document.addEventListener("keydown",we),O=tc(xe(),W,Pe))},Er=()=>{document.removeEventListener("keydown",we),O==null||O(),$(!1)};return wn(()=>{Qe()}),wt(()=>{pt(),window.clearTimeout(ae),window.clearTimeout(ie)}),Kt(()=>{te()?($(!0),T.id&&xe().setAttribute("aria-describedby",T.id)):xe().removeAttribute("aria-describedby")}),[xe,w(Re,{get when(){return I()},get children(){return w(Ha,{get children(){return w(Ua,{get name(){return oi.scale},appear:!0,onBeforeEnter:Pe,onAfterEnter:Dn,onAfterExit:Er,get children(){return w(Re,{get when(){return te()},get children(){return w(Be,X({ref(qe){const fn=W;typeof fn=="function"?fn(qe):W=qe},role:"tooltip",get id(){return T.id},get class(){return Fe()},get __baseStyle(){return _==null?void 0:_.baseStyle}},R,{get children(){return[ir(()=>T.label),w(Re,{get when(){return T.withArrow},get children(){return w(Be,{ref(qe){const fn=G;typeof fn=="function"?fn(qe):G=qe},get class(){return Oe()},get boxSize(){return T.arrowSize}})}})]}}))}})}})}})}})]}vw.toString=()=>be(Ib);function _w(e={}){const t="disclosure-".concat(or()),[n,r]=Ie(e.defaultIsOpen||!1),a=()=>e.isOpen!==void 0,i=()=>a()?!!e.isOpen:n(),o=()=>{var p;a()||r(!1),(p=e.onClose)==null||p.call(e)},s=()=>{var p;a()||r(!0),(p=e.onOpen)==null||p.call(e)};return{isControlled:a,isOpen:i,onOpen:s,onClose:o,onToggle:()=>{i()?o():s()},triggerProps:()=>({"aria-expanded":i(),"aria-controls":t}),disclosureProps:()=>({id:t,hidden:!i()})}}var i0,Bh;function yw(){return Bh||(Bh=1,i0=function e(t,n){var r=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,i=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,o=/^0x[0-9a-f]+$/i,s=/^0/,l=function(y){return e.insensitive&&(""+y).toLowerCase()||""+y},u=l(t).replace(a,"")||"",d=l(n).replace(a,"")||"",p=u.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),f=d.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),h=parseInt(u.match(o),16)||p.length!==1&&u.match(i)&&Date.parse(u),c=parseInt(d.match(o),16)||h&&d.match(i)&&Date.parse(d)||null,g,m;if(c){if(h<c)return-1;if(h>c)return 1}for(var x=0,v=Math.max(p.length,f.length);x<v;x++){if(g=!(p[x]||"").match(s)&&parseFloat(p[x])||p[x]||0,m=!(f[x]||"").match(s)&&parseFloat(f[x])||f[x]||0,isNaN(g)!==isNaN(m))return isNaN(g)?1:-1;if(typeof g!=typeof m&&(g+="",m+=""),g<m)return-1;if(g>m)return 1}return 0}),i0}var Ew=yw();const Sw=fo(Ew);function Cw(e,t,n){if($e.context){const[r,a]=Ie(e,n);return wn(()=>a(()=>t())),[r,a]}return Ie(t(),n)}const Tw=Cw;function ww(e){const[t,n]=Ie(),r=e!=null&&e.throw?(f,h)=>{throw n(f instanceof Error?f:new Error(h)),f}:(f,h)=>{n(f instanceof Error?f:new Error(h))},a=e!=null&&e.api?Array.isArray(e.api)?e.api:[e.api]:[globalThis.localStorage].filter(Boolean),i=e!=null&&e.prefix?"".concat(e.prefix,"."):"",o=new Map,s=new Proxy({},{get(f,h){let c=o.get(h);c||(c=Ie(void 0,{equals:!1}),o.set(h,c)),c[0]();const g=a.reduce((m,x)=>{if(m!==null||!x)return m;try{return x.getItem("".concat(i).concat(h))}catch(v){return r(v,"Error reading ".concat(i).concat(h," from ").concat(x.name)),null}},null);return g!==null&&(e!=null&&e.deserializer)?e.deserializer(g,h,e.options):g}}),l=(f,h,c)=>{const g=e!=null&&e.serializer?e.serializer(h,f,c!=null?c:e.options):h,m="".concat(i).concat(f);a.forEach(v=>{try{v.getItem(m)!==g&&v.setItem(m,g)}catch(y){r(y,"Error setting ".concat(i).concat(f," to ").concat(g," in ").concat(v.name))}});const x=o.get(f);x&&x[1]()},u=f=>a.forEach(h=>{try{h.removeItem("".concat(i).concat(f))}catch(c){r(c,"Error removing ".concat(i).concat(f," from ").concat(h.name))}}),d=()=>a.forEach(f=>{try{f.clear()}catch(h){r(h,"Error clearing ".concat(f.name))}}),p=()=>{const f={},h=(c,g)=>{if(!f.hasOwnProperty(c)){const m=g&&(e!=null&&e.deserializer)?e.deserializer(g,c,e.options):g;m&&(f[c]=m)}};return a.forEach(c=>{if(typeof c.getAll=="function"){let g;try{g=c.getAll()}catch(m){r(m,"Error getting all values from in ".concat(c.name))}for(const m of g)h(m,g[m])}else{let g=0,m;try{for(;m=c.key(g++);)f.hasOwnProperty(m)||h(m,c.getItem(m))}catch(x){r(x,"Error getting all values from ".concat(c.name))}}}),f};return(e==null?void 0:e.sync)!==!1&&wn(()=>{const f=h=>{var g;let c=!1;a.forEach(m=>{try{m!==h.storageArea&&h.key&&h.newValue!==m.getItem(h.key)&&(h.newValue?m.setItem(h.key,h.newValue):m.removeItem(h.key),c=!0)}catch(x){r(x,"Error synching api ".concat(m.name," from storage event (").concat(h.key,"=").concat(h.newValue,")"))}}),c&&h.key&&((g=o.get(h.key))==null||g[1]())};"addEventListener"in globalThis?(globalThis.addEventListener("storage",f),wt(()=>globalThis.removeEventListener("storage",f))):(a.forEach(h=>{var c;return(c=h.addEventListener)==null?void 0:c.call(h,"storage",f)}),wt(()=>a.forEach(h=>{var c;return(c=h.removeEventListener)==null?void 0:c.call(h,"storage",f)})))}),[s,l,{clear:d,error:t,remove:u,toJSON:p}]}function Nb(e,t,n){const[r,a]=Ie(),i=n!=null&&n.api?Array.isArray(n.api)?n.api:[n.api]:[globalThis.localStorage].filter(Boolean),o=n!=null&&n.prefix?"".concat(n.prefix,"."):"",s=()=>i.reduce((p,f)=>{if(p!==null||!f)return p;let h=null;try{h=f.getItem("".concat(o).concat(e))}catch(c){if(a(c instanceof Error?c:new Error("Error reading ".concat(o).concat(e," from ").concat(f.name))),n!=null&&n.throw)throw c}return h!==null&&(n!=null&&n.deserializer)?n.deserializer(h+"",e,n.options):h},null),[l,u]=Tw(t,()=>{var p;return(p=s())!=null?p:t},n);Kt(()=>{const p=l(),f=n!=null&&n.serializer?n.serializer(p,e,n.options):p+"",h="".concat(o).concat(e);try{p===null?i.forEach(c=>c.getItem(h)!==null&&c.removeItem(h)):i.forEach(c=>c.getItem(h)!==f&&c.setItem(h,f,n==null?void 0:n.options))}catch(c){if(a(c instanceof Error?c:new Error("Error ".concat(p===null?"removing":"writing"," value"))),n!=null&&n.throw)throw c}});const d=()=>{const p=s();u(p)};return(n==null?void 0:n.sync)!==!1&&wn(()=>{const p=f=>{let h=!1;try{i.forEach(c=>{c!==f.storageArea&&f.key&&f.newValue!==c.getItem(f.key)&&(f.newValue?c.setItem(f.key,f.newValue):c.removeItem(f.key),h=!0)})}catch(c){if(a(c instanceof Error?c:new Error("Error synching api after event")),n!=null&&n.throw)throw c}h&&d()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",p),wt(()=>globalThis.removeEventListener("storage",p))):(i.forEach(f=>{var h;return(h=f.addEventListener)==null?void 0:h.call(f,"storage",p)}),wt(()=>i.forEach(f=>{var h;return(h=f.removeEventListener)==null?void 0:h.call(f,"storage",p)})))}),[Object.assign(l,{error:r}),u,d]}var Aw=ww,kw=e=>(typeof e.clear=="function"||(e.clear=()=>{let t;for(;t=e.key(0);)e.removeItem(t)}),e),Fh=e=>{if(!e)return"";let t="";for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];t+=r instanceof Date?"; ".concat(n,"=").concat(r.toUTCString()):typeof r=="boolean"?"; ".concat(n):"; ".concat(n,"=").concat(r)}return t},Ln=kw({_cookies:[globalThis.document,"cookie"],getItem:e=>{var t,n;return(n=(t=Ln._cookies[0][Ln._cookies[1]].match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)"))==null?void 0:t.pop())!=null?n:null},setItem:(e,t,n)=>{const r=Ln.getItem(e);Ln._cookies[0][Ln._cookies[1]]="".concat(e,"=").concat(t).concat(Fh(n));const a=Object.assign(new Event("storage"),{key:e,oldValue:r,newValue:t,url:globalThis.document.URL,storageArea:Ln});window.dispatchEvent(a)},removeItem:e=>{Ln._cookies[0][Ln._cookies[1]]="".concat(e,"=deleted").concat(Fh({expires:new Date(0)}))},key:e=>{let t=null,n=0;return Ln._cookies[0][Ln._cookies[1]].replace(/(?:^|;)\s*(.+?)\s*=\s*[^;]+/g,(r,a)=>(!t&&a&&n++===e&&(t=a),"")),t},get length(){let e=0;return Ln._cookies[0][Ln._cookies[1]].replace(/(?:^|;)\s*.+?\s*=\s*[^;]+/g,t=>(e+=t?1:0,"")),e}});let nr="";const Ow=e=>{nr=e,nr.startsWith("/")||(nr="/"+nr),nr.endsWith("/")&&(nr=nr.slice(0,-1))};window.OPENLIST_CONFIG.base_path&&Ow(window.OPENLIST_CONFIG.base_path);let Pr="/";window.OPENLIST_CONFIG.api&&(Pr=window.OPENLIST_CONFIG.api);Pr==="/"&&(Pr=location.origin+nr);Pr.endsWith("/")&&(Pr=Pr.slice(0,-1));function Iw(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(a){a(n)}),(r=e.get("*"))&&r.slice().map(function(a){a(t,n)})}}}const Vi=Iw(),Gi=(e,...t)=>{};var Nw=Bt("<div style=flex-grow:1;display:flex;align-items:center><div style=margin:auto>"),Lw=Bt("<div style=display:inline-block;padding:5px>");const Lu={render:e=>{Uo.show({render:t=>w(Be,{get css(){return{display:"flex",backdropFilter:"blur(8px)",backgroundColor:G8(),boxShadow:"$md",borderRadius:"$lg",padding:"$3"}},get children(){return[(()=>{var n=Nw(),r=n.firstChild;return ma(r,e),n})(),(()=>{var n=Lw();return ma(n,w(uc,{style:{float:"right"},right:"$2",top:"$2",get onClick(){return t.close}})),n})()]}})})},success:e=>{Uo.show({status:"success",title:ts(e)})},error:e=>{Uo.show({status:"danger",title:ts(e)})},info:e=>{Uo.show({status:"info",title:ts(e)})},warning:e=>{Uo.show({status:"warning",title:ts(e)})}},Rw=(e,t)=>(e.endsWith("/")&&(e=e.slice(0,-1)),e.startsWith("/")||(e="/"+e),e==="/"?"":e),Pw=(...e)=>new URL($a(...e),location.origin).pathname,$a=(...e)=>e.join("/").replace(/\/{2,}/g,"/"),ru=(...e)=>$a(nr,...e),Dw=e=>{const t=e.replace(nr,"");return t.startsWith("/")?t:"/"+t},VF=e=>e.split("/").pop(),rf=e=>e.split("/").slice(0,-1).join("/"),ss=(e,t)=>e.split("/").map(n=>t?encodeURIComponent(n):n.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23").replace(/ /g,"%20")).join("/"),Mw=e=>{var t;return(t=e.split(".").pop())!=null?t:""},GF=e=>e.split(".").slice(0,-1).join(".");function KF(e){const t=e.split("/").filter(Boolean),n=t.length;return r=>{const a=r.split("/").filter(Boolean);if(a.length-n<0)return null;let o=n?"":"/";for(let s=0;s<n;s++){const l=t[s],u=a[s];if(l.localeCompare(u,void 0,{sensitivity:"base"})!==0)return null;o+="/".concat(u)}return o}}const YF=e=>JSON.parse(JSON.stringify(e)),$h=e=>{const t=[];for(const n in e)t.push({key:n,value:e[n]});return t},Bw=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t.toLowerCase(),n!==null&&typeof n=="object"?Bw(n):n]));function Lb(e,t){return function(){return e.apply(t,arguments)}}const{toString:Fw}=Object.prototype,{getPrototypeOf:af}=Object,{iterator:bc,toStringTag:Rb}=Symbol,vc=(e=>t=>{const n=Fw.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Mr=e=>(e=e.toLowerCase(),t=>vc(t)===e),_c=e=>t=>typeof t===e,{isArray:xo}=Array,ao=_c("undefined");function js(e){return e!==null&&!ao(e)&&e.constructor!==null&&!ao(e.constructor)&&zn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Pb=Mr("ArrayBuffer");function $w(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Pb(e.buffer),t}const Hw=_c("string"),zn=_c("function"),Db=_c("number"),qs=e=>e!==null&&typeof e=="object",Uw=e=>e===!0||e===!1,au=e=>{if(vc(e)!=="object")return!1;const t=af(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Rb in e)&&!(bc in e)},zw=e=>{if(!qs(e)||js(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},jw=Mr("Date"),qw=Mr("File"),Ww=Mr("Blob"),Vw=Mr("FileList"),Gw=e=>qs(e)&&zn(e.pipe),Kw=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||zn(e.append)&&((t=vc(e))==="formdata"||t==="object"&&zn(e.toString)&&e.toString()==="[object FormData]"))},Yw=Mr("URLSearchParams"),[Xw,Qw,Zw,Jw]=["ReadableStream","Request","Response","Headers"].map(Mr),e7=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ws(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),xo(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{if(js(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let s;for(r=0;r<o;r++)s=i[r],t.call(null,e[s],s,e)}}function Mb(e,t){if(js(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const si=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Bb=e=>!ao(e)&&e!==si;function ld(){const{caseless:e,skipUndefined:t}=Bb(this)&&this||{},n={},r=(a,i)=>{const o=e&&Mb(n,i)||i;au(n[o])&&au(a)?n[o]=ld(n[o],a):au(a)?n[o]=ld({},a):xo(a)?n[o]=a.slice():(!t||!ao(a))&&(n[o]=a)};for(let a=0,i=arguments.length;a<i;a++)arguments[a]&&Ws(arguments[a],r);return n}const t7=(e,t,n,{allOwnKeys:r}={})=>(Ws(t,(a,i)=>{n&&zn(a)?e[i]=Lb(a,n):e[i]=a},{allOwnKeys:r}),e),n7=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),r7=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},a7=(e,t,n,r)=>{let a,i,o;const s={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)o=a[i],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&af(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},i7=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},o7=e=>{if(!e)return null;if(xo(e))return e;let t=e.length;if(!Db(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},s7=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&af(Uint8Array)),l7=(e,t)=>{const r=(e&&e[bc]).call(e);let a;for(;(a=r.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},u7=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},c7=Mr("HTMLFormElement"),d7=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),Hh=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),f7=Mr("RegExp"),Fb=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ws(n,(a,i)=>{let o;(o=t(a,i,e))!==!1&&(r[i]=o||a)}),Object.defineProperties(e,r)},h7=e=>{Fb(e,(t,n)=>{if(zn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(zn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},p7=(e,t)=>{const n={},r=a=>{a.forEach(i=>{n[i]=!0})};return xo(e)?r(e):r(String(e).split(t)),n},g7=()=>{},m7=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function x7(e){return!!(e&&zn(e.append)&&e[Rb]==="FormData"&&e[bc])}const b7=e=>{const t=new Array(10),n=(r,a)=>{if(qs(r)){if(t.indexOf(r)>=0)return;if(js(r))return r;if(!("toJSON"in r)){t[a]=r;const i=xo(r)?[]:{};return Ws(r,(o,s)=>{const l=n(o,a+1);!ao(l)&&(i[s]=l)}),t[a]=void 0,i}}return r};return n(e,0)},v7=Mr("AsyncFunction"),_7=e=>e&&(qs(e)||zn(e))&&zn(e.then)&&zn(e.catch),$b=((e,t)=>e?setImmediate:t?((n,r)=>(si.addEventListener("message",({source:a,data:i})=>{a===si&&i===n&&r.length&&r.shift()()},!1),a=>{r.push(a),si.postMessage(n,"*")}))("axios@".concat(Math.random()),[]):n=>setTimeout(n))(typeof setImmediate=="function",zn(si.postMessage)),y7=typeof queueMicrotask<"u"?queueMicrotask.bind(si):typeof process<"u"&&process.nextTick||$b,E7=e=>e!=null&&zn(e[bc]),K={isArray:xo,isArrayBuffer:Pb,isBuffer:js,isFormData:Kw,isArrayBufferView:$w,isString:Hw,isNumber:Db,isBoolean:Uw,isObject:qs,isPlainObject:au,isEmptyObject:zw,isReadableStream:Xw,isRequest:Qw,isResponse:Zw,isHeaders:Jw,isUndefined:ao,isDate:jw,isFile:qw,isBlob:Ww,isRegExp:f7,isFunction:zn,isStream:Gw,isURLSearchParams:Yw,isTypedArray:s7,isFileList:Vw,forEach:Ws,merge:ld,extend:t7,trim:e7,stripBOM:n7,inherits:r7,toFlatObject:a7,kindOf:vc,kindOfTest:Mr,endsWith:i7,toArray:o7,forEachEntry:l7,matchAll:u7,isHTMLForm:c7,hasOwnProperty:Hh,hasOwnProp:Hh,reduceDescriptors:Fb,freezeMethods:h7,toObjectSet:p7,toCamelCase:d7,noop:g7,toFiniteNumber:m7,findKey:Mb,global:si,isContextDefined:Bb,isSpecCompliantForm:x7,toJSONObject:b7,isAsyncFn:v7,isThenable:_7,setImmediate:$b,asap:y7,isIterable:E7};function Je(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a,this.status=a.status?a.status:null)}K.inherits(Je,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.status}}});const Hb=Je.prototype,Ub={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ub[e]={value:e}});Object.defineProperties(Je,Ub);Object.defineProperty(Hb,"isAxiosError",{value:!0});Je.from=(e,t,n,r,a,i)=>{const o=Object.create(Hb);K.toFlatObject(e,o,function(d){return d!==Error.prototype},u=>u!=="isAxiosError");const s=e&&e.message?e.message:"Error",l=t==null&&e?e.code:t;return Je.call(o,s,l,n,r,a),e&&o.cause==null&&Object.defineProperty(o,"cause",{value:e,configurable:!0}),o.name=e&&e.name||"Error",i&&Object.assign(o,i),o};const S7=null;function ud(e){return K.isPlainObject(e)||K.isArray(e)}function zb(e){return K.endsWith(e,"[]")?e.slice(0,-2):e}function Uh(e,t,n){return e?e.concat(t).map(function(a,i){return a=zb(a),!n&&i?"["+a+"]":a}).join(n?".":""):t}function C7(e){return K.isArray(e)&&!e.some(ud)}const T7=K.toFlatObject(K,{},null,function(t){return/^is[A-Z]/.test(t)});function yc(e,t,n){if(!K.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=K.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,m){return!K.isUndefined(m[g])});const r=n.metaTokens,a=n.visitor||d,i=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(t);if(!K.isFunction(a))throw new TypeError("visitor must be a function");function u(c){if(c===null)return"";if(K.isDate(c))return c.toISOString();if(K.isBoolean(c))return c.toString();if(!l&&K.isBlob(c))throw new Je("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(c)||K.isTypedArray(c)?l&&typeof Blob=="function"?new Blob([c]):Buffer.from(c):c}function d(c,g,m){let x=c;if(c&&!m&&typeof c=="object"){if(K.endsWith(g,"{}"))g=r?g:g.slice(0,-2),c=JSON.stringify(c);else if(K.isArray(c)&&C7(c)||(K.isFileList(c)||K.endsWith(g,"[]"))&&(x=K.toArray(c)))return g=zb(g),x.forEach(function(y,_){!(K.isUndefined(y)||y===null)&&t.append(o===!0?Uh([g],_,i):o===null?g:g+"[]",u(y))}),!1}return ud(c)?!0:(t.append(Uh(m,g,i),u(c)),!1)}const p=[],f=Object.assign(T7,{defaultVisitor:d,convertValue:u,isVisitable:ud});function h(c,g){if(!K.isUndefined(c)){if(p.indexOf(c)!==-1)throw Error("Circular reference detected in "+g.join("."));p.push(c),K.forEach(c,function(x,v){(!(K.isUndefined(x)||x===null)&&a.call(t,x,K.isString(v)?v.trim():v,g,f))===!0&&h(x,g?g.concat(v):[v])}),p.pop()}}if(!K.isObject(e))throw new TypeError("data must be an object");return h(e),t}function zh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function of(e,t){this._pairs=[],e&&yc(e,this,t)}const jb=of.prototype;jb.append=function(t,n){this._pairs.push([t,n])};jb.toString=function(t){const n=t?function(r){return t.call(this,r,zh)}:zh;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function w7(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function qb(e,t,n){if(!t)return e;const r=n&&n.encode||w7;K.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let i;if(a?i=a(t,n):i=K.isURLSearchParams(t)?t.toString():new of(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class jh{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){K.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Wb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},A7=typeof URLSearchParams<"u"?URLSearchParams:of,k7=typeof FormData<"u"?FormData:null,O7=typeof Blob<"u"?Blob:null,I7={isBrowser:!0,classes:{URLSearchParams:A7,FormData:k7,Blob:O7},protocols:["http","https","file","blob","url","data"]},sf=typeof window<"u"&&typeof document<"u",cd=typeof navigator=="object"&&navigator||void 0,N7=sf&&(!cd||["ReactNative","NativeScript","NS"].indexOf(cd.product)<0),L7=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",R7=sf&&window.location.href||"http://localhost",P7=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:sf,hasStandardBrowserEnv:N7,hasStandardBrowserWebWorkerEnv:L7,navigator:cd,origin:R7},Symbol.toStringTag,{value:"Module"})),Sn={...P7,...I7};function D7(e,t){return yc(e,new Sn.classes.URLSearchParams,{visitor:function(n,r,a,i){return Sn.isNode&&K.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function M7(e){return K.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function B7(e){const t={},n=Object.keys(e);let r;const a=n.length;let i;for(r=0;r<a;r++)i=n[r],t[i]=e[i];return t}function Vb(e){function t(n,r,a,i){let o=n[i++];if(o==="__proto__")return!0;const s=Number.isFinite(+o),l=i>=n.length;return o=!o&&K.isArray(a)?a.length:o,l?(K.hasOwnProp(a,o)?a[o]=[a[o],r]:a[o]=r,!s):((!a[o]||!K.isObject(a[o]))&&(a[o]=[]),t(n,r,a[o],i)&&K.isArray(a[o])&&(a[o]=B7(a[o])),!s)}if(K.isFormData(e)&&K.isFunction(e.entries)){const n={};return K.forEachEntry(e,(r,a)=>{t(M7(r),a,n,0)}),n}return null}function F7(e,t,n){if(K.isString(e))try{return(t||JSON.parse)(e),K.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Vs={transitional:Wb,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,i=K.isObject(t);if(i&&K.isHTMLForm(t)&&(t=new FormData(t)),K.isFormData(t))return a?JSON.stringify(Vb(t)):t;if(K.isArrayBuffer(t)||K.isBuffer(t)||K.isStream(t)||K.isFile(t)||K.isBlob(t)||K.isReadableStream(t))return t;if(K.isArrayBufferView(t))return t.buffer;if(K.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return D7(t,this.formSerializer).toString();if((s=K.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return yc(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||a?(n.setContentType("application/json",!1),F7(t)):t}],transformResponse:[function(t){const n=this.transitional||Vs.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(K.isResponse(t)||K.isReadableStream(t))return t;if(t&&K.isString(t)&&(r&&!this.responseType||a)){const o=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t,this.parseReviver)}catch(s){if(o)throw s.name==="SyntaxError"?Je.from(s,Je.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Sn.classes.FormData,Blob:Sn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],e=>{Vs.headers[e]={}});const $7=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),H7=e=>{const t={};let n,r,a;return e&&e.split("\n").forEach(function(o){a=o.indexOf(":"),n=o.substring(0,a).trim().toLowerCase(),r=o.substring(a+1).trim(),!(!n||t[n]&&$7[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},qh=Symbol("internals");function zo(e){return e&&String(e).trim().toLowerCase()}function iu(e){return e===!1||e==null?e:K.isArray(e)?e.map(iu):String(e)}function U7(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const z7=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function o0(e,t,n,r,a){if(K.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!K.isString(t)){if(K.isString(r))return t.indexOf(r)!==-1;if(K.isRegExp(r))return r.test(t)}}function j7(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function q7(e,t){const n=K.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,i,o){return this[r].call(this,t,a,i,o)},configurable:!0})})}let jn=class{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function i(s,l,u){const d=zo(l);if(!d)throw new Error("header name must be a non-empty string");const p=K.findKey(a,d);(!p||a[p]===void 0||u===!0||u===void 0&&a[p]!==!1)&&(a[p||l]=iu(s))}const o=(s,l)=>K.forEach(s,(u,d)=>i(u,d,l));if(K.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(K.isString(t)&&(t=t.trim())&&!z7(t))o(H7(t),n);else if(K.isObject(t)&&K.isIterable(t)){let s={},l,u;for(const d of t){if(!K.isArray(d))throw TypeError("Object iterator must return a key-value pair");s[u=d[0]]=(l=s[u])?K.isArray(l)?[...l,d[1]]:[l,d[1]]:d[1]}o(s,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=zo(t),t){const r=K.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return U7(a);if(K.isFunction(n))return n.call(this,a,r);if(K.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=zo(t),t){const r=K.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||o0(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function i(o){if(o=zo(o),o){const s=K.findKey(r,o);s&&(!n||o0(r,r[s],s,n))&&(delete r[s],a=!0)}}return K.isArray(t)?t.forEach(i):i(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const i=n[r];(!t||o0(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const n=this,r={};return K.forEach(this,(a,i)=>{const o=K.findKey(r,i);if(o){n[o]=iu(a),delete n[i];return}const s=t?j7(i):String(i).trim();s!==i&&delete n[i],n[s]=iu(a),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return K.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&K.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[qh]=this[qh]={accessors:{}}).accessors,a=this.prototype;function i(o){const s=zo(o);r[s]||(q7(a,o),r[s]=!0)}return K.isArray(t)?t.forEach(i):i(t),this}};jn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.reduceDescriptors(jn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});K.freezeMethods(jn);function s0(e,t){const n=this||Vs,r=t||n,a=jn.from(r.headers);let i=r.data;return K.forEach(e,function(s){i=s.call(n,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Gb(e){return!!(e&&e.__CANCEL__)}function bo(e,t,n){Je.call(this,e==null?"canceled":e,Je.ERR_CANCELED,t,n),this.name="CanceledError"}K.inherits(bo,Je,{__CANCEL__:!0});function Kb(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Je("Request failed with status code "+n.status,[Je.ERR_BAD_REQUEST,Je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function W7(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function V7(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[i];o||(o=u),n[a]=l,r[a]=u;let p=i,f=0;for(;p!==a;)f+=n[p++],p=p%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),u-o<t)return;const h=d&&u-d;return h?Math.round(f*1e3/h):void 0}}function G7(e,t){let n=0,r=1e3/t,a,i;const o=(u,d=Date.now())=>{n=d,a=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const d=Date.now(),p=d-n;p>=r?o(u,d):(a=u,i||(i=setTimeout(()=>{i=null,o(a)},r-p)))},()=>a&&o(a)]}const Ru=(e,t,n=3)=>{let r=0;const a=V7(50,250);return G7(i=>{const o=i.loaded,s=i.lengthComputable?i.total:void 0,l=o-r,u=a(l),d=o<=s;r=o;const p={loaded:o,total:s,progress:s?o/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&d?(s-o)/u:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(p)},n)},Wh=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Vh=e=>(...t)=>K.asap(()=>e(...t)),K7=Sn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Sn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Sn.origin),Sn.navigator&&/(msie|trident)/i.test(Sn.navigator.userAgent)):()=>!0,Y7=Sn.hasStandardBrowserEnv?{write(e,t,n,r,a,i,o){if(typeof document>"u")return;const s=["".concat(e,"=").concat(encodeURIComponent(t))];K.isNumber(n)&&s.push("expires=".concat(new Date(n).toUTCString())),K.isString(r)&&s.push("path=".concat(r)),K.isString(a)&&s.push("domain=".concat(a)),i===!0&&s.push("secure"),K.isString(o)&&s.push("SameSite=".concat(o)),document.cookie=s.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function X7(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Q7(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Yb(e,t,n){let r=!X7(t);return e&&(r||n==!1)?Q7(e,t):t}const Gh=e=>e instanceof jn?{...e}:e;function bi(e,t){t=t||{};const n={};function r(u,d,p,f){return K.isPlainObject(u)&&K.isPlainObject(d)?K.merge.call({caseless:f},u,d):K.isPlainObject(d)?K.merge({},d):K.isArray(d)?d.slice():d}function a(u,d,p,f){if(K.isUndefined(d)){if(!K.isUndefined(u))return r(void 0,u,p,f)}else return r(u,d,p,f)}function i(u,d){if(!K.isUndefined(d))return r(void 0,d)}function o(u,d){if(K.isUndefined(d)){if(!K.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function s(u,d,p){if(p in t)return r(u,d);if(p in e)return r(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(u,d,p)=>a(Gh(u),Gh(d),p,!0)};return K.forEach(Object.keys({...e,...t}),function(d){const p=l[d]||a,f=p(e[d],t[d],d);K.isUndefined(f)&&p!==s||(n[d]=f)}),n}const Xb=e=>{const t=bi({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:i,headers:o,auth:s}=t;if(t.headers=o=jn.from(o),t.url=qb(Yb(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),K.isFormData(n)){if(Sn.hasStandardBrowserEnv||Sn.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(K.isFunction(n.getHeaders)){const l=n.getHeaders(),u=["content-type","content-length"];Object.entries(l).forEach(([d,p])=>{u.includes(d.toLowerCase())&&o.set(d,p)})}}if(Sn.hasStandardBrowserEnv&&(r&&K.isFunction(r)&&(r=r(t)),r||r!==!1&&K7(t.url))){const l=a&&i&&Y7.read(i);l&&o.set(a,l)}return t},Z7=typeof XMLHttpRequest<"u",J7=Z7&&function(e){return new Promise(function(n,r){const a=Xb(e);let i=a.data;const o=jn.from(a.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=a,d,p,f,h,c;function g(){h&&h(),c&&c(),a.cancelToken&&a.cancelToken.unsubscribe(d),a.signal&&a.signal.removeEventListener("abort",d)}let m=new XMLHttpRequest;m.open(a.method.toUpperCase(),a.url,!0),m.timeout=a.timeout;function x(){if(!m)return;const y=jn.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),S={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:y,config:e,request:m};Kb(function(T){n(T),g()},function(T){r(T),g()},S),m=null}"onloadend"in m?m.onloadend=x:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(x)},m.onabort=function(){m&&(r(new Je("Request aborted",Je.ECONNABORTED,e,m)),m=null)},m.onerror=function(_){const S=_&&_.message?_.message:"Network Error",C=new Je(S,Je.ERR_NETWORK,e,m);C.event=_||null,r(C),m=null},m.ontimeout=function(){let _=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const S=a.transitional||Wb;a.timeoutErrorMessage&&(_=a.timeoutErrorMessage),r(new Je(_,S.clarifyTimeoutError?Je.ETIMEDOUT:Je.ECONNABORTED,e,m)),m=null},i===void 0&&o.setContentType(null),"setRequestHeader"in m&&K.forEach(o.toJSON(),function(_,S){m.setRequestHeader(S,_)}),K.isUndefined(a.withCredentials)||(m.withCredentials=!!a.withCredentials),s&&s!=="json"&&(m.responseType=a.responseType),u&&([f,c]=Ru(u,!0),m.addEventListener("progress",f)),l&&m.upload&&([p,h]=Ru(l),m.upload.addEventListener("progress",p),m.upload.addEventListener("loadend",h)),(a.cancelToken||a.signal)&&(d=y=>{m&&(r(!y||y.type?new bo(null,e,m):y),m.abort(),m=null)},a.cancelToken&&a.cancelToken.subscribe(d),a.signal&&(a.signal.aborted?d():a.signal.addEventListener("abort",d)));const v=W7(a.url);if(v&&Sn.protocols.indexOf(v)===-1){r(new Je("Unsupported protocol "+v+":",Je.ERR_BAD_REQUEST,e));return}m.send(i||null)})},e8=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,a;const i=function(u){if(!a){a=!0,s();const d=u instanceof Error?u:this.reason;r.abort(d instanceof Je?d:new bo(d instanceof Error?d.message:d))}};let o=t&&setTimeout(()=>{o=null,i(new Je("timeout ".concat(t," of ms exceeded"),Je.ETIMEDOUT))},t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:l}=r;return l.unsubscribe=()=>K.asap(s),l}},t8=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,a;for(;r<n;)a=r+t,yield e.slice(r,a),r=a},n8=async function*(e,t){for await(const n of r8(e))yield*t8(n,t)},r8=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Kh=(e,t,n,r)=>{const a=n8(e,t);let i=0,o,s=l=>{o||(o=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:d}=await a.next();if(u){s(),l.close();return}let p=d.byteLength;if(n){let f=i+=p;n(f)}l.enqueue(new Uint8Array(d))}catch(u){throw s(u),u}},cancel(l){return s(l),a.return()}},{highWaterMark:2})},Yh=64*1024,{isFunction:xl}=K,a8=(({Request:e,Response:t})=>({Request:e,Response:t}))(K.global),{ReadableStream:Xh,TextEncoder:Qh}=K.global,Zh=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},i8=e=>{e=K.merge.call({skipUndefined:!0},a8,e);const{fetch:t,Request:n,Response:r}=e,a=t?xl(t):typeof fetch=="function",i=xl(n),o=xl(r);if(!a)return!1;const s=a&&xl(Xh),l=a&&(typeof Qh=="function"?(c=>g=>c.encode(g))(new Qh):async c=>new Uint8Array(await new n(c).arrayBuffer())),u=i&&s&&Zh(()=>{let c=!1;const g=new n(Sn.origin,{body:new Xh,method:"POST",get duplex(){return c=!0,"half"}}).headers.has("Content-Type");return c&&!g}),d=o&&s&&Zh(()=>K.isReadableStream(new r("").body)),p={stream:d&&(c=>c.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(c=>{!p[c]&&(p[c]=(g,m)=>{let x=g&&g[c];if(x)return x.call(g);throw new Je("Response type '".concat(c,"' is not supported"),Je.ERR_NOT_SUPPORT,m)})});const f=async c=>{if(c==null)return 0;if(K.isBlob(c))return c.size;if(K.isSpecCompliantForm(c))return(await new n(Sn.origin,{method:"POST",body:c}).arrayBuffer()).byteLength;if(K.isArrayBufferView(c)||K.isArrayBuffer(c))return c.byteLength;if(K.isURLSearchParams(c)&&(c=c+""),K.isString(c))return(await l(c)).byteLength},h=async(c,g)=>{const m=K.toFiniteNumber(c.getContentLength());return m==null?f(g):m};return async c=>{let{url:g,method:m,data:x,signal:v,cancelToken:y,timeout:_,onDownloadProgress:S,onUploadProgress:C,responseType:T,headers:R,withCredentials:P="same-origin",fetchOptions:A}=Xb(c),I=t||fetch;T=T?(T+"").toLowerCase():"text";let $=e8([v,y&&y.toAbortSignal()],_),W=null;const G=$&&$.unsubscribe&&(()=>{$.unsubscribe()});let ae;try{if(C&&u&&m!=="get"&&m!=="head"&&(ae=await h(R,x))!==0){let O=new n(g,{method:"POST",body:x,duplex:"half"}),B;if(K.isFormData(x)&&(B=O.headers.get("content-type"))&&R.setContentType(B),O.body){const[xe,Pe]=Wh(ae,Ru(Vh(C)));x=Kh(O.body,Yh,xe,Pe)}}K.isString(P)||(P=P?"include":"omit");const ie=i&&"credentials"in n.prototype,Te={...A,signal:$,method:m.toUpperCase(),headers:R.normalize().toJSON(),body:x,duplex:"half",credentials:ie?P:void 0};W=i&&new n(g,Te);let te=await(i?I(W,A):I(g,Te));const Fe=d&&(T==="stream"||T==="response");if(d&&(S||Fe&&G)){const O={};["status","statusText","headers"].forEach(ct=>{O[ct]=te[ct]});const B=K.toFiniteNumber(te.headers.get("content-length")),[xe,Pe]=S&&Wh(B,Ru(Vh(S),!0))||[];te=new r(Kh(te.body,Yh,xe,()=>{Pe&&Pe(),G&&G()}),O)}T=T||"text";let Oe=await p[K.findKey(p,T)||"text"](te,c);return!Fe&&G&&G(),await new Promise((O,B)=>{Kb(O,B,{data:Oe,headers:jn.from(te.headers),status:te.status,statusText:te.statusText,config:c,request:W})})}catch(ie){throw G&&G(),ie&&ie.name==="TypeError"&&/Load failed|fetch/i.test(ie.message)?Object.assign(new Je("Network Error",Je.ERR_NETWORK,c,W),{cause:ie.cause||ie}):Je.from(ie,ie&&ie.code,c,W)}}},o8=new Map,Qb=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:a}=t,i=[r,a,n];let o=i.length,s=o,l,u,d=o8;for(;s--;)l=i[s],u=d.get(l),u===void 0&&d.set(l,u=s?new Map:i8(t)),d=u;return u};Qb();const lf={http:S7,xhr:J7,fetch:{get:Qb}};K.forEach(lf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}});const Jh=e=>"- ".concat(e),s8=e=>K.isFunction(e)||e===null||e===!1;function l8(e,t){e=K.isArray(e)?e:[e];const{length:n}=e;let r,a;const i={};for(let o=0;o<n;o++){r=e[o];let s;if(a=r,!s8(r)&&(a=lf[(s=String(r)).toLowerCase()],a===void 0))throw new Je("Unknown adapter '".concat(s,"'"));if(a&&(K.isFunction(a)||(a=a.get(t))))break;i[s||"#"+o]=a}if(!a){const o=Object.entries(i).map(([l,u])=>"adapter ".concat(l," ")+(u===!1?"is not supported by the environment":"is not available in the build"));let s=n?o.length>1?"since :\n"+o.map(Jh).join("\n"):" "+Jh(o[0]):"as no adapter specified";throw new Je("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return a}const Zb={getAdapter:l8,adapters:lf};function l0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new bo(null,e)}function ep(e){return l0(e),e.headers=jn.from(e.headers),e.data=s0.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Zb.getAdapter(e.adapter||Vs.adapter,e)(e).then(function(r){return l0(e),r.data=s0.call(e,e.transformResponse,r),r.headers=jn.from(r.headers),r},function(r){return Gb(r)||(l0(e),r&&r.response&&(r.response.data=s0.call(e,e.transformResponse,r.response),r.response.headers=jn.from(r.response.headers))),Promise.reject(r)})}const Jb="1.13.2",Ec={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ec[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const tp={};Ec.transitional=function(t,n,r){function a(i,o){return"[Axios v"+Jb+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,s)=>{if(t===!1)throw new Je(a(o," has been removed"+(n?" in "+n:"")),Je.ERR_DEPRECATED);return n&&!tp[o]&&(tp[o]=!0,console.warn(a(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,s):!0}};Ec.spelling=function(t){return(n,r)=>(console.warn("".concat(r," is likely a misspelling of ").concat(t)),!0)};function u8(e,t,n){if(typeof e!="object")throw new Je("options must be an object",Je.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const i=r[a],o=t[i];if(o){const s=e[i],l=s===void 0||o(s,i,e);if(l!==!0)throw new Je("option "+i+" must be "+l,Je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Je("Unknown option "+i,Je.ERR_BAD_OPTION)}}const ou={assertOptions:u8,validators:Ec},jr=ou.validators;let fi=class{constructor(t){this.defaults=t||{},this.interceptors={request:new jh,response:new jh}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+i):r.stack=i}catch(o){}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=bi(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:i}=n;r!==void 0&&ou.assertOptions(r,{silentJSONParsing:jr.transitional(jr.boolean),forcedJSONParsing:jr.transitional(jr.boolean),clarifyTimeoutError:jr.transitional(jr.boolean)},!1),a!=null&&(K.isFunction(a)?n.paramsSerializer={serialize:a}:ou.assertOptions(a,{encode:jr.function,serialize:jr.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ou.assertOptions(n,{baseUrl:jr.spelling("baseURL"),withXsrfToken:jr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&K.merge(i.common,i[n.method]);i&&K.forEach(["delete","get","head","post","put","patch","common"],c=>{delete i[c]}),n.headers=jn.concat(o,i);const s=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let d,p=0,f;if(!l){const c=[ep.bind(this),void 0];for(c.unshift(...s),c.push(...u),f=c.length,d=Promise.resolve(n);p<f;)d=d.then(c[p++],c[p++]);return d}f=s.length;let h=n;for(;p<f;){const c=s[p++],g=s[p++];try{h=c(h)}catch(m){g.call(this,m);break}}try{d=ep.call(this,h)}catch(c){return Promise.reject(c)}for(p=0,f=u.length;p<f;)d=d.then(u[p++],u[p++]);return d}getUri(t){t=bi(this.defaults,t);const n=Yb(t.baseURL,t.url,t.allowAbsoluteUrls);return qb(n,t.params,t.paramsSerializer)}};K.forEach(["delete","get","head","options"],function(t){fi.prototype[t]=function(n,r){return this.request(bi(r||{},{method:t,url:n,data:(r||{}).data}))}});K.forEach(["post","put","patch"],function(t){function n(r){return function(i,o,s){return this.request(bi(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}fi.prototype[t]=n(),fi.prototype[t+"Form"]=n(!0)});let c8=class e6{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(a=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](a);r._listeners=null}),this.promise.then=a=>{let i;const o=new Promise(s=>{r.subscribe(s),i=s}).then(a);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,s){r.reason||(r.reason=new bo(i,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new e6(function(a){t=a}),cancel:t}}};function d8(e){return function(n){return e.apply(null,n)}}function f8(e){return K.isObject(e)&&e.isAxiosError===!0}const dd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(dd).forEach(([e,t])=>{dd[t]=e});function t6(e){const t=new fi(e),n=Lb(fi.prototype.request,t);return K.extend(n,fi.prototype,t,{allOwnKeys:!0}),K.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return t6(bi(e,a))},n}const Ut=t6(Vs);Ut.Axios=fi;Ut.CanceledError=bo;Ut.CancelToken=c8;Ut.isCancel=Gb;Ut.VERSION=Jb;Ut.toFormData=yc;Ut.AxiosError=Je;Ut.Cancel=Ut.CanceledError;Ut.all=function(t){return Promise.all(t)};Ut.spread=d8;Ut.isAxiosError=f8;Ut.mergeConfig=bi;Ut.AxiosHeaders=jn;Ut.formToJSON=e=>Vb(K.isHTMLForm(e)?new FormData(e):e);Ut.getAdapter=Zb.getAdapter;Ut.HttpStatusCode=dd;Ut.default=Ut;const{Axios:ZF,AxiosError:JF,CanceledError:e$,isCancel:t$,CancelToken:n$,VERSION:r$,all:a$,Cancel:i$,isAxiosError:o$,spread:s$,toFormData:l$,AxiosHeaders:u$,HttpStatusCode:c$,formToJSON:d$,getAdapter:f$,mergeConfig:h$}=Ut,Nt=Ut.create({baseURL:Pr+"/api",headers:{"Content-Type":"application/json;charset=utf-8"},withCredentials:!1});Nt.interceptors.request.use(e=>e,e=>(console.log("Error: "+e.message),Promise.reject(e)));Nt.interceptors.response.use(e=>{const t=e.data;return Gi(),t},e=>{var t;return console.error(e),{code:Ut.isCancel(e)?-1:(t=e.response)==null?void 0:t.status,message:e.message}});Nt.defaults.headers.common.Authorization=localStorage.getItem("token")||"";const p$=e=>{Nt.defaults.headers.common.Authorization=e!=null?e:"",localStorage.setItem("token",e!=null?e:"")};var bl={exports:{}},vl={exports:{}},Or={},Fn={},np;function Vn(){if(np)return Fn;np=1,Fn.__esModule=!0,Fn.extend=a,Fn.indexOf=l,Fn.escapeExpression=u,Fn.isEmpty=d,Fn.createFrame=p,Fn.blockParams=f,Fn.appendContextPath=h;var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},t=/[&<>"'`=]/g,n=/[&<>"'`=]/;function r(c){return e[c]}function a(c){for(var g=1;g<arguments.length;g++)for(var m in arguments[g])Object.prototype.hasOwnProperty.call(arguments[g],m)&&(c[m]=arguments[g][m]);return c}var i=Object.prototype.toString;Fn.toString=i;var o=function(g){return typeof g=="function"};o(/x/)&&(Fn.isFunction=o=function(c){return typeof c=="function"&&i.call(c)==="[object Function]"}),Fn.isFunction=o;var s=Array.isArray||function(c){return c&&typeof c=="object"?i.call(c)==="[object Array]":!1};Fn.isArray=s;function l(c,g){for(var m=0,x=c.length;m<x;m++)if(c[m]===g)return m;return-1}function u(c){if(typeof c!="string"){if(c&&c.toHTML)return c.toHTML();if(c==null)return"";if(!c)return c+"";c=""+c}return n.test(c)?c.replace(t,r):c}function d(c){return!c&&c!==0?!0:!!(s(c)&&c.length===0)}function p(c){var g=a({},c);return g._parent=c,g}function f(c,g){return c.path=g,c}function h(c,g){return(c?c+".":"")+g}return Fn}var _l={exports:{}},rp;function Br(){return rp||(rp=1,(function(e,t){t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function r(a,i){var o=i&&i.loc,s=void 0,l=void 0,u=void 0,d=void 0;o&&(s=o.start.line,l=o.end.line,u=o.start.column,d=o.end.column,a+=" - "+s+":"+u);for(var p=Error.prototype.constructor.call(this,a),f=0;f<n.length;f++)this[n[f]]=p[n[f]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{o&&(this.lineNumber=s,this.endLineNumber=l,Object.defineProperty?(Object.defineProperty(this,"column",{value:u,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:d,enumerable:!0})):(this.column=u,this.endColumn=d))}catch(h){}}r.prototype=new Error,t.default=r,e.exports=t.default})(_l,_l.exports)),_l.exports}var jo={},yl={exports:{}},ap;function h8(){return ap||(ap=1,(function(e,t){t.__esModule=!0;var n=Vn();t.default=function(r){r.registerHelper("blockHelperMissing",function(a,i){var o=i.inverse,s=i.fn;if(a===!0)return s(this);if(a===!1||a==null)return o(this);if(n.isArray(a))return a.length>0?(i.ids&&(i.ids=[i.name]),r.helpers.each(a,i)):o(this);if(i.data&&i.ids){var l=n.createFrame(i.data);l.contextPath=n.appendContextPath(i.data.contextPath,i.name),i={data:l}}return s(a,i)})},e.exports=t.default})(yl,yl.exports)),yl.exports}var El={exports:{}},ip;function p8(){return ip||(ip=1,(function(e,t){t.__esModule=!0;function n(o){return o&&o.__esModule?o:{default:o}}var r=Vn(),a=Br(),i=n(a);t.default=function(o){o.registerHelper("each",function(s,l){if(!l)throw new i.default("Must pass iterator to #each");var u=l.fn,d=l.inverse,p=0,f="",h=void 0,c=void 0;l.data&&l.ids&&(c=r.appendContextPath(l.data.contextPath,l.ids[0])+"."),r.isFunction(s)&&(s=s.call(this)),l.data&&(h=r.createFrame(l.data));function g(_,S,C){h&&(h.key=_,h.index=S,h.first=S===0,h.last=!!C,c&&(h.contextPath=c+_)),f=f+u(s[_],{data:h,blockParams:r.blockParams([s[_],_],[c+_,null])})}if(s&&typeof s=="object")if(r.isArray(s))for(var m=s.length;p<m;p++)p in s&&g(p,p,p===s.length-1);else if(typeof Symbol=="function"&&s[Symbol.iterator]){for(var x=[],v=s[Symbol.iterator](),y=v.next();!y.done;y=v.next())x.push(y.value);s=x;for(var m=s.length;p<m;p++)g(p,p,p===s.length-1)}else(function(){var _=void 0;Object.keys(s).forEach(function(S){_!==void 0&&g(_,p-1),_=S,p++}),_!==void 0&&g(_,p-1,!0)})();return p===0&&(f=d(this)),f})},e.exports=t.default})(El,El.exports)),El.exports}var Sl={exports:{}},op;function g8(){return op||(op=1,(function(e,t){t.__esModule=!0;function n(i){return i&&i.__esModule?i:{default:i}}var r=Br(),a=n(r);t.default=function(i){i.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new a.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default})(Sl,Sl.exports)),Sl.exports}var Cl={exports:{}},sp;function m8(){return sp||(sp=1,(function(e,t){t.__esModule=!0;function n(o){return o&&o.__esModule?o:{default:o}}var r=Vn(),a=Br(),i=n(a);t.default=function(o){o.registerHelper("if",function(s,l){if(arguments.length!=2)throw new i.default("#if requires exactly one argument");return r.isFunction(s)&&(s=s.call(this)),!l.hash.includeZero&&!s||r.isEmpty(s)?l.inverse(this):l.fn(this)}),o.registerHelper("unless",function(s,l){if(arguments.length!=2)throw new i.default("#unless requires exactly one argument");return o.helpers.if.call(this,s,{fn:l.inverse,inverse:l.fn,hash:l.hash})})},e.exports=t.default})(Cl,Cl.exports)),Cl.exports}var Tl={exports:{}},lp;function x8(){return lp||(lp=1,(function(e,t){t.__esModule=!0,t.default=function(n){n.registerHelper("log",function(){for(var r=[void 0],a=arguments[arguments.length-1],i=0;i<arguments.length-1;i++)r.push(arguments[i]);var o=1;a.hash.level!=null?o=a.hash.level:a.data&&a.data.level!=null&&(o=a.data.level),r[0]=o,n.log.apply(n,r)})},e.exports=t.default})(Tl,Tl.exports)),Tl.exports}var wl={exports:{}},up;function b8(){return up||(up=1,(function(e,t){t.__esModule=!0,t.default=function(n){n.registerHelper("lookup",function(r,a,i){return r&&i.lookupProperty(r,a)})},e.exports=t.default})(wl,wl.exports)),wl.exports}var Al={exports:{}},cp;function v8(){return cp||(cp=1,(function(e,t){t.__esModule=!0;function n(o){return o&&o.__esModule?o:{default:o}}var r=Vn(),a=Br(),i=n(a);t.default=function(o){o.registerHelper("with",function(s,l){if(arguments.length!=2)throw new i.default("#with requires exactly one argument");r.isFunction(s)&&(s=s.call(this));var u=l.fn;if(r.isEmpty(s))return l.inverse(this);var d=l.data;return l.data&&l.ids&&(d=r.createFrame(l.data),d.contextPath=r.appendContextPath(l.data.contextPath,l.ids[0])),u(s,{data:d,blockParams:r.blockParams([s],[d&&d.contextPath])})})},e.exports=t.default})(Al,Al.exports)),Al.exports}var dp;function n6(){if(dp)return jo;dp=1,jo.__esModule=!0,jo.registerDefaultHelpers=g,jo.moveHelperToHooks=m;function e(x){return x&&x.__esModule?x:{default:x}}var t=h8(),n=e(t),r=p8(),a=e(r),i=g8(),o=e(i),s=m8(),l=e(s),u=x8(),d=e(u),p=b8(),f=e(p),h=v8(),c=e(h);function g(x){n.default(x),a.default(x),o.default(x),l.default(x),d.default(x),f.default(x),c.default(x)}function m(x,v,y){x.helpers[v]&&(x.hooks[v]=x.helpers[v],y||delete x.helpers[v])}return jo}var kl={},Ol={exports:{}},fp;function _8(){return fp||(fp=1,(function(e,t){t.__esModule=!0;var n=Vn();t.default=function(r){r.registerDecorator("inline",function(a,i,o,s){var l=a;return i.partials||(i.partials={},l=function(u,d){var p=o.partials;o.partials=n.extend({},p,i.partials);var f=a(u,d);return o.partials=p,f}),i.partials[s.args[0]]=s.fn,l})},e.exports=t.default})(Ol,Ol.exports)),Ol.exports}var hp;function y8(){if(hp)return kl;hp=1,kl.__esModule=!0,kl.registerDefaultDecorators=r;function e(a){return a&&a.__esModule?a:{default:a}}var t=_8(),n=e(t);function r(a){n.default(a)}return kl}var Il={exports:{}},pp;function r6(){return pp||(pp=1,(function(e,t){t.__esModule=!0;var n=Vn(),r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(i){if(typeof i=="string"){var o=n.indexOf(r.methodMap,i.toLowerCase());o>=0?i=o:i=parseInt(i,10)}return i},log:function(i){if(i=r.lookupLevel(i),typeof console<"u"&&r.lookupLevel(r.level)<=i){var o=r.methodMap[i];console[o]||(o="log");for(var s=arguments.length,l=Array(s>1?s-1:0),u=1;u<s;u++)l[u-1]=arguments[u];console[o].apply(console,l)}}};t.default=r,e.exports=t.default})(Il,Il.exports)),Il.exports}var Li={},Nl={},gp;function E8(){if(gp)return Nl;gp=1,Nl.__esModule=!0,Nl.createNewLookupObject=t;var e=Vn();function t(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return e.extend.apply(void 0,[Object.create(null)].concat(r))}return Nl}var mp;function a6(){if(mp)return Li;mp=1,Li.__esModule=!0,Li.createProtoAccessControl=i,Li.resultIsAllowed=o,Li.resetLoggedProperties=u;function e(d){return d&&d.__esModule?d:{default:d}}var t=E8(),n=r6(),r=e(n),a=Object.create(null);function i(d){var p=Object.create(null);p.constructor=!1,p.__defineGetter__=!1,p.__defineSetter__=!1,p.__lookupGetter__=!1;var f=Object.create(null);return f.__proto__=!1,{properties:{whitelist:t.createNewLookupObject(f,d.allowedProtoProperties),defaultValue:d.allowProtoPropertiesByDefault},methods:{whitelist:t.createNewLookupObject(p,d.allowedProtoMethods),defaultValue:d.allowProtoMethodsByDefault}}}function o(d,p,f){return s(typeof d=="function"?p.methods:p.properties,f)}function s(d,p){return d.whitelist[p]!==void 0?d.whitelist[p]===!0:d.defaultValue!==void 0?d.defaultValue:(l(p),!1)}function l(d){a[d]!==!0&&(a[d]=!0,r.default.log("error",'Handlebars: Access has been denied to resolve the property "'+d+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}function u(){Object.keys(a).forEach(function(d){delete a[d]})}return Li}var xp;function uf(){if(xp)return Or;xp=1,Or.__esModule=!0,Or.HandlebarsEnvironment=c;function e(m){return m&&m.__esModule?m:{default:m}}var t=Vn(),n=Br(),r=e(n),a=n6(),i=y8(),o=r6(),s=e(o),l=a6(),u="4.7.8";Or.VERSION=u;var d=8;Or.COMPILER_REVISION=d;var p=7;Or.LAST_COMPATIBLE_COMPILER_REVISION=p;var f={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};Or.REVISION_CHANGES=f;var h="[object Object]";function c(m,x,v){this.helpers=m||{},this.partials=x||{},this.decorators=v||{},a.registerDefaultHelpers(this),i.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:s.default,log:s.default.log,registerHelper:function(x,v){if(t.toString.call(x)===h){if(v)throw new r.default("Arg not supported with multiple helpers");t.extend(this.helpers,x)}else this.helpers[x]=v},unregisterHelper:function(x){delete this.helpers[x]},registerPartial:function(x,v){if(t.toString.call(x)===h)t.extend(this.partials,x);else{if(typeof v>"u")throw new r.default('Attempting to register a partial called "'+x+'" as undefined');this.partials[x]=v}},unregisterPartial:function(x){delete this.partials[x]},registerDecorator:function(x,v){if(t.toString.call(x)===h){if(v)throw new r.default("Arg not supported with multiple decorators");t.extend(this.decorators,x)}else this.decorators[x]=v},unregisterDecorator:function(x){delete this.decorators[x]},resetLoggedPropertyAccesses:function(){l.resetLoggedProperties()}};var g=s.default.log;return Or.log=g,Or.createFrame=t.createFrame,Or.logger=s.default,Or}var Ll={exports:{}},bp;function S8(){return bp||(bp=1,(function(e,t){t.__esModule=!0;function n(r){this.string=r}n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default})(Ll,Ll.exports)),Ll.exports}var ra={},Rl={},vp;function C8(){if(vp)return Rl;vp=1,Rl.__esModule=!0,Rl.wrapHelper=e;function e(t,n){if(typeof t!="function")return t;var r=function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=n(i),t.apply(this,arguments)};return r}return Rl}var _p;function T8(){if(_p)return ra;_p=1,ra.__esModule=!0,ra.checkRevision=d,ra.template=p,ra.wrapProgram=f,ra.resolvePartial=h,ra.invokePartial=c,ra.noop=g;function e(_){return _&&_.__esModule?_:{default:_}}function t(_){if(_&&_.__esModule)return _;var S={};if(_!=null)for(var C in _)Object.prototype.hasOwnProperty.call(_,C)&&(S[C]=_[C]);return S.default=_,S}var n=Vn(),r=t(n),a=Br(),i=e(a),o=uf(),s=n6(),l=C8(),u=a6();function d(_){var S=_&&_[0]||1,C=o.COMPILER_REVISION;if(!(S>=o.LAST_COMPATIBLE_COMPILER_REVISION&&S<=o.COMPILER_REVISION))if(S<o.LAST_COMPATIBLE_COMPILER_REVISION){var T=o.REVISION_CHANGES[C],R=o.REVISION_CHANGES[S];throw new i.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+T+") or downgrade your runtime to an older version ("+R+").")}else throw new i.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+_[1]+").")}function p(_,S){if(!S)throw new i.default("No environment passed to template");if(!_||!_.main)throw new i.default("Unknown template object: "+typeof _);_.main.decorator=_.main_d,S.VM.checkRevision(_.compiler);var C=_.compiler&&_.compiler[0]===7;function T(A,I,$){$.hash&&(I=r.extend({},I,$.hash),$.ids&&($.ids[0]=!0)),A=S.VM.resolvePartial.call(this,A,I,$);var W=r.extend({},$,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),G=S.VM.invokePartial.call(this,A,I,W);if(G==null&&S.compile&&($.partials[$.name]=S.compile(A,_.compilerOptions,S),G=$.partials[$.name](I,W)),G!=null){if($.indent){for(var ae=G.split("\n"),ie=0,Te=ae.length;ie<Te&&!(!ae[ie]&&ie+1===Te);ie++)ae[ie]=$.indent+ae[ie];G=ae.join("\n")}return G}else throw new i.default("The partial "+$.name+" could not be compiled when running in runtime-only mode")}var R={strict:function(I,$,W){if(!I||!($ in I))throw new i.default('"'+$+'" not defined in '+I,{loc:W});return R.lookupProperty(I,$)},lookupProperty:function(I,$){var W=I[$];if(W==null||Object.prototype.hasOwnProperty.call(I,$)||u.resultIsAllowed(W,R.protoAccessControl,$))return W},lookup:function(I,$){for(var W=I.length,G=0;G<W;G++){var ae=I[G]&&R.lookupProperty(I[G],$);if(ae!=null)return I[G][$]}},lambda:function(I,$){return typeof I=="function"?I.call($):I},escapeExpression:r.escapeExpression,invokePartial:T,fn:function(I){var $=_[I];return $.decorator=_[I+"_d"],$},programs:[],program:function(I,$,W,G,ae){var ie=this.programs[I],Te=this.fn(I);return $||ae||G||W?ie=f(this,I,Te,$,W,G,ae):ie||(ie=this.programs[I]=f(this,I,Te)),ie},data:function(I,$){for(;I&&$--;)I=I._parent;return I},mergeIfNeeded:function(I,$){var W=I||$;return I&&$&&I!==$&&(W=r.extend({},$,I)),W},nullContext:Object.seal({}),noop:S.VM.noop,compilerInfo:_.compiler};function P(A){var I=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],$=I.data;P._setup(I),!I.partial&&_.useData&&($=m(A,$));var W=void 0,G=_.useBlockParams?[]:void 0;_.useDepths&&(I.depths?W=A!=I.depths[0]?[A].concat(I.depths):I.depths:W=[A]);function ae(ie){return""+_.main(R,ie,R.helpers,R.partials,$,G,W)}return ae=x(_.main,ae,R,I.depths||[],$,G),ae(A,I)}return P.isTop=!0,P._setup=function(A){if(A.partial)R.protoAccessControl=A.protoAccessControl,R.helpers=A.helpers,R.partials=A.partials,R.decorators=A.decorators,R.hooks=A.hooks;else{var I=r.extend({},S.helpers,A.helpers);v(I,R),R.helpers=I,_.usePartial&&(R.partials=R.mergeIfNeeded(A.partials,S.partials)),(_.usePartial||_.useDecorators)&&(R.decorators=r.extend({},S.decorators,A.decorators)),R.hooks={},R.protoAccessControl=u.createProtoAccessControl(A);var $=A.allowCallsToHelperMissing||C;s.moveHelperToHooks(R,"helperMissing",$),s.moveHelperToHooks(R,"blockHelperMissing",$)}},P._child=function(A,I,$,W){if(_.useBlockParams&&!$)throw new i.default("must pass block params");if(_.useDepths&&!W)throw new i.default("must pass parent depths");return f(R,A,_[A],I,0,$,W)},P}function f(_,S,C,T,R,P,A){function I($){var W=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],G=A;return A&&$!=A[0]&&!($===_.nullContext&&A[0]===null)&&(G=[$].concat(A)),C(_,$,_.helpers,_.partials,W.data||T,P&&[W.blockParams].concat(P),G)}return I=x(C,I,_,A,T,P),I.program=S,I.depth=A?A.length:0,I.blockParams=R||0,I}function h(_,S,C){return _?!_.call&&!C.name&&(C.name=_,_=C.partials[_]):C.name==="@partial-block"?_=C.data["partial-block"]:_=C.partials[C.name],_}function c(_,S,C){var T=C.data&&C.data["partial-block"];C.partial=!0,C.ids&&(C.data.contextPath=C.ids[0]||C.data.contextPath);var R=void 0;if(C.fn&&C.fn!==g&&(function(){C.data=o.createFrame(C.data);var P=C.fn;R=C.data["partial-block"]=function(I){var $=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return $.data=o.createFrame($.data),$.data["partial-block"]=T,P(I,$)},P.partials&&(C.partials=r.extend({},C.partials,P.partials))})(),_===void 0&&R&&(_=R),_===void 0)throw new i.default("The partial "+C.name+" could not be found");if(_ instanceof Function)return _(S,C)}function g(){return""}function m(_,S){return(!S||!("root"in S))&&(S=S?o.createFrame(S):{},S.root=_),S}function x(_,S,C,T,R,P){if(_.decorator){var A={};S=_.decorator(S,A,C,T&&T[0],R,P,T),r.extend(S,A)}return S}function v(_,S){Object.keys(_).forEach(function(C){var T=_[C];_[C]=y(T,S)})}function y(_,S){var C=S.lookupProperty;return l.wrapHelper(_,function(T){return r.extend({lookupProperty:C},T)})}return ra}var Pl={exports:{}},yp;function i6(){return yp||(yp=1,(function(e,t){t.__esModule=!0,t.default=function(n){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var r=globalThis.Handlebars;n.noConflict=function(){return globalThis.Handlebars===n&&(globalThis.Handlebars=r),n}},e.exports=t.default})(Pl,Pl.exports)),Pl.exports}var Ep;function w8(){return Ep||(Ep=1,(function(e,t){t.__esModule=!0;function n(v){return v&&v.__esModule?v:{default:v}}function r(v){if(v&&v.__esModule)return v;var y={};if(v!=null)for(var _ in v)Object.prototype.hasOwnProperty.call(v,_)&&(y[_]=v[_]);return y.default=v,y}var a=uf(),i=r(a),o=S8(),s=n(o),l=Br(),u=n(l),d=Vn(),p=r(d),f=T8(),h=r(f),c=i6(),g=n(c);function m(){var v=new i.HandlebarsEnvironment;return p.extend(v,i),v.SafeString=s.default,v.Exception=u.default,v.Utils=p,v.escapeExpression=p.escapeExpression,v.VM=h,v.template=function(y){return h.template(y,v)},v}var x=m();x.create=m,g.default(x),x.default=x,t.default=x,e.exports=t.default})(vl,vl.exports)),vl.exports}var Dl={exports:{}},Sp;function o6(){return Sp||(Sp=1,(function(e,t){t.__esModule=!0;var n={helpers:{helperExpression:function(a){return a.type==="SubExpression"||(a.type==="MustacheStatement"||a.type==="BlockStatement")&&!!(a.params&&a.params.length||a.hash)},scopedId:function(a){return/^\.|this\b/.test(a.original)},simpleId:function(a){return a.parts.length===1&&!n.helpers.scopedId(a)&&!a.depth}}};t.default=n,e.exports=t.default})(Dl,Dl.exports)),Dl.exports}var Ri={},Ml={exports:{}},Cp;function A8(){return Cp||(Cp=1,(function(e,t){t.__esModule=!0;var n=(function(){var r={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(s,l,u,d,p,f,h){var c=f.length-1;switch(p){case 1:return f[c-1];case 2:this.$=d.prepareProgram(f[c]);break;case 3:this.$=f[c];break;case 4:this.$=f[c];break;case 5:this.$=f[c];break;case 6:this.$=f[c];break;case 7:this.$=f[c];break;case 8:this.$=f[c];break;case 9:this.$={type:"CommentStatement",value:d.stripComment(f[c]),strip:d.stripFlags(f[c],f[c]),loc:d.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:f[c],value:f[c],loc:d.locInfo(this._$)};break;case 11:this.$=d.prepareRawBlock(f[c-2],f[c-1],f[c],this._$);break;case 12:this.$={path:f[c-3],params:f[c-2],hash:f[c-1]};break;case 13:this.$=d.prepareBlock(f[c-3],f[c-2],f[c-1],f[c],!1,this._$);break;case 14:this.$=d.prepareBlock(f[c-3],f[c-2],f[c-1],f[c],!0,this._$);break;case 15:this.$={open:f[c-5],path:f[c-4],params:f[c-3],hash:f[c-2],blockParams:f[c-1],strip:d.stripFlags(f[c-5],f[c])};break;case 16:this.$={path:f[c-4],params:f[c-3],hash:f[c-2],blockParams:f[c-1],strip:d.stripFlags(f[c-5],f[c])};break;case 17:this.$={path:f[c-4],params:f[c-3],hash:f[c-2],blockParams:f[c-1],strip:d.stripFlags(f[c-5],f[c])};break;case 18:this.$={strip:d.stripFlags(f[c-1],f[c-1]),program:f[c]};break;case 19:var g=d.prepareBlock(f[c-2],f[c-1],f[c],f[c],!1,this._$),m=d.prepareProgram([g],f[c-1].loc);m.chained=!0,this.$={strip:f[c-2].strip,program:m,chain:!0};break;case 20:this.$=f[c];break;case 21:this.$={path:f[c-1],strip:d.stripFlags(f[c-2],f[c])};break;case 22:this.$=d.prepareMustache(f[c-3],f[c-2],f[c-1],f[c-4],d.stripFlags(f[c-4],f[c]),this._$);break;case 23:this.$=d.prepareMustache(f[c-3],f[c-2],f[c-1],f[c-4],d.stripFlags(f[c-4],f[c]),this._$);break;case 24:this.$={type:"PartialStatement",name:f[c-3],params:f[c-2],hash:f[c-1],indent:"",strip:d.stripFlags(f[c-4],f[c]),loc:d.locInfo(this._$)};break;case 25:this.$=d.preparePartialBlock(f[c-2],f[c-1],f[c],this._$);break;case 26:this.$={path:f[c-3],params:f[c-2],hash:f[c-1],strip:d.stripFlags(f[c-4],f[c])};break;case 27:this.$=f[c];break;case 28:this.$=f[c];break;case 29:this.$={type:"SubExpression",path:f[c-3],params:f[c-2],hash:f[c-1],loc:d.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:f[c],loc:d.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:d.id(f[c-2]),value:f[c],loc:d.locInfo(this._$)};break;case 32:this.$=d.id(f[c-1]);break;case 33:this.$=f[c];break;case 34:this.$=f[c];break;case 35:this.$={type:"StringLiteral",value:f[c],original:f[c],loc:d.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(f[c]),original:Number(f[c]),loc:d.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:f[c]==="true",original:f[c]==="true",loc:d.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:d.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:d.locInfo(this._$)};break;case 40:this.$=f[c];break;case 41:this.$=f[c];break;case 42:this.$=d.preparePath(!0,f[c],this._$);break;case 43:this.$=d.preparePath(!1,f[c],this._$);break;case 44:f[c-2].push({part:d.id(f[c]),original:f[c],separator:f[c-1]}),this.$=f[c-2];break;case 45:this.$=[{part:d.id(f[c]),original:f[c]}];break;case 46:this.$=[];break;case 47:f[c-1].push(f[c]);break;case 48:this.$=[];break;case 49:f[c-1].push(f[c]);break;case 50:this.$=[];break;case 51:f[c-1].push(f[c]);break;case 58:this.$=[];break;case 59:f[c-1].push(f[c]);break;case 64:this.$=[];break;case 65:f[c-1].push(f[c]);break;case 70:this.$=[];break;case 71:f[c-1].push(f[c]);break;case 78:this.$=[];break;case 79:f[c-1].push(f[c]);break;case 82:this.$=[];break;case 83:f[c-1].push(f[c]);break;case 86:this.$=[];break;case 87:f[c-1].push(f[c]);break;case 90:this.$=[];break;case 91:f[c-1].push(f[c]);break;case 94:this.$=[];break;case 95:f[c-1].push(f[c]);break;case 98:this.$=[f[c]];break;case 99:f[c-1].push(f[c]);break;case 100:this.$=[f[c]];break;case 101:f[c-1].push(f[c]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(s,l){throw new Error(s)},parse:function(s){var l=this,u=[0],d=[null],p=[],f=this.table,h="",c=0,g=0;this.lexer.setInput(s),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var m=this.lexer.yylloc;p.push(m);var x=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function v(){var W;return W=l.lexer.lex()||1,typeof W!="number"&&(W=l.symbols_[W]||W),W}for(var y,_,S,C,T={},R,P,A,I;;){if(_=u[u.length-1],this.defaultActions[_]?S=this.defaultActions[_]:((y===null||typeof y>"u")&&(y=v()),S=f[_]&&f[_][y]),typeof S>"u"||!S.length||!S[0]){var $="";{I=[];for(R in f[_])this.terminals_[R]&&R>2&&I.push("'"+this.terminals_[R]+"'");this.lexer.showPosition?$="Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[y]||y)+"'":$="Parse error on line "+(c+1)+": Unexpected "+(y==1?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError($,{text:this.lexer.match,token:this.terminals_[y]||y,line:this.lexer.yylineno,loc:m,expected:I})}}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+y);switch(S[0]){case 1:u.push(y),d.push(this.lexer.yytext),p.push(this.lexer.yylloc),u.push(S[1]),y=null,g=this.lexer.yyleng,h=this.lexer.yytext,c=this.lexer.yylineno,m=this.lexer.yylloc;break;case 2:if(P=this.productions_[S[1]][1],T.$=d[d.length-P],T._$={first_line:p[p.length-(P||1)].first_line,last_line:p[p.length-1].last_line,first_column:p[p.length-(P||1)].first_column,last_column:p[p.length-1].last_column},x&&(T._$.range=[p[p.length-(P||1)].range[0],p[p.length-1].range[1]]),C=this.performAction.call(T,h,g,c,this.yy,S[1],d,p),typeof C<"u")return C;P&&(u=u.slice(0,-1*P*2),d=d.slice(0,-1*P),p=p.slice(0,-1*P)),u.push(this.productions_[S[1]][0]),d.push(T.$),p.push(T._$),A=f[u[u.length-2]][u[u.length-1]],u.push(A);break;case 3:return!0}}return!0}},a=(function(){var o={EOF:1,parseError:function(l,u){if(this.yy.parser)this.yy.parser.parseError(l,u);else throw new Error(l)},setInput:function(l){return this._input=l,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var u=l.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},unput:function(l){var u=l.length,d=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u-1),this.offset-=u;var p=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===p.length?this.yylloc.first_column:0)+p[p.length-d.length].length-d[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-u]),this},more:function(){return this._more=!0,this},less:function(l){this.unput(this.match.slice(l))},pastInput:function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var l=this.pastInput(),u=new Array(l.length+1).join("-");return l+this.upcomingInput()+"\n"+u+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,u,d,p,f;this._more||(this.yytext="",this.match="");for(var h=this._currentRules(),c=0;c<h.length&&(d=this._input.match(this.rules[h[c]]),!(d&&(!u||d[0].length>u[0].length)&&(u=d,p=c,!this.options.flex)));c++);return u?(f=u[0].match(/(?:\r\n?|\n).*/g),f&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+u[0].length},this.yytext+=u[0],this.match+=u[0],this.matches=u,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(u[0].length),this.matched+=u[0],l=this.performAction.call(this,this.yy,this,h[p],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var l=this.next();return typeof l<"u"?l:this.lex()},begin:function(l){this.conditionStack.push(l)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(l){this.begin(l)}};return o.options={},o.performAction=function(l,u,d,p){function f(h,c){return u.yytext=u.yytext.substring(h,u.yyleng-c+h)}switch(d){case 0:if(u.yytext.slice(-2)==="\\\\"?(f(0,1),this.begin("mu")):u.yytext.slice(-1)==="\\"?(f(0,1),this.begin("emu")):this.begin("mu"),u.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(f(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(u.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return u.yytext=f(1,2).replace(/\\"/g,'"'),80;case 32:return u.yytext=f(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return u.yytext=u.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},o.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],o.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},o})();r.lexer=a;function i(){this.yy={}}return i.prototype=r,r.Parser=i,new i})();t.default=n,e.exports=t.default})(Ml,Ml.exports)),Ml.exports}var Bl={exports:{}},Fl={exports:{}},Tp;function s6(){return Tp||(Tp=1,(function(e,t){t.__esModule=!0;function n(u){return u&&u.__esModule?u:{default:u}}var r=Br(),a=n(r);function i(){this.parents=[]}i.prototype={constructor:i,mutating:!1,acceptKey:function(d,p){var f=this.accept(d[p]);if(this.mutating){if(f&&!i.prototype[f.type])throw new a.default('Unexpected node type "'+f.type+'" found when accepting '+p+" on "+d.type);d[p]=f}},acceptRequired:function(d,p){if(this.acceptKey(d,p),!d[p])throw new a.default(d.type+" requires "+p)},acceptArray:function(d){for(var p=0,f=d.length;p<f;p++)this.acceptKey(d,p),d[p]||(d.splice(p,1),p--,f--)},accept:function(d){if(d){if(!this[d.type])throw new a.default("Unknown type: "+d.type,d);this.current&&this.parents.unshift(this.current),this.current=d;var p=this[d.type](d);if(this.current=this.parents.shift(),!this.mutating||p)return p;if(p!==!1)return d}},Program:function(d){this.acceptArray(d.body)},MustacheStatement:o,Decorator:o,BlockStatement:s,DecoratorBlock:s,PartialStatement:l,PartialBlockStatement:function(d){l.call(this,d),this.acceptKey(d,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:o,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(d){this.acceptArray(d.pairs)},HashPair:function(d){this.acceptRequired(d,"value")}};function o(u){this.acceptRequired(u,"path"),this.acceptArray(u.params),this.acceptKey(u,"hash")}function s(u){o.call(this,u),this.acceptKey(u,"program"),this.acceptKey(u,"inverse")}function l(u){this.acceptRequired(u,"name"),this.acceptArray(u.params),this.acceptKey(u,"hash")}t.default=i,e.exports=t.default})(Fl,Fl.exports)),Fl.exports}var wp;function k8(){return wp||(wp=1,(function(e,t){t.__esModule=!0;function n(d){return d&&d.__esModule?d:{default:d}}var r=s6(),a=n(r);function i(){var d=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=d}i.prototype=new a.default,i.prototype.Program=function(d){var p=!this.options.ignoreStandalone,f=!this.isRootSeen;this.isRootSeen=!0;for(var h=d.body,c=0,g=h.length;c<g;c++){var m=h[c],x=this.accept(m);if(x){var v=o(h,c,f),y=s(h,c,f),_=x.openStandalone&&v,S=x.closeStandalone&&y,C=x.inlineStandalone&&v&&y;x.close&&l(h,c,!0),x.open&&u(h,c,!0),p&&C&&(l(h,c),u(h,c)&&m.type==="PartialStatement"&&(m.indent=/([ \t]+$)/.exec(h[c-1].original)[1])),p&&_&&(l((m.program||m.inverse).body),u(h,c)),p&&S&&(l(h,c),u((m.inverse||m.program).body))}}return d},i.prototype.BlockStatement=i.prototype.DecoratorBlock=i.prototype.PartialBlockStatement=function(d){this.accept(d.program),this.accept(d.inverse);var p=d.program||d.inverse,f=d.program&&d.inverse,h=f,c=f;if(f&&f.chained)for(h=f.body[0].program;c.chained;)c=c.body[c.body.length-1].program;var g={open:d.openStrip.open,close:d.closeStrip.close,openStandalone:s(p.body),closeStandalone:o((h||p).body)};if(d.openStrip.close&&l(p.body,null,!0),f){var m=d.inverseStrip;m.open&&u(p.body,null,!0),m.close&&l(h.body,null,!0),d.closeStrip.open&&u(c.body,null,!0),!this.options.ignoreStandalone&&o(p.body)&&s(h.body)&&(u(p.body),l(h.body))}else d.closeStrip.open&&u(p.body,null,!0);return g},i.prototype.Decorator=i.prototype.MustacheStatement=function(d){return d.strip},i.prototype.PartialStatement=i.prototype.CommentStatement=function(d){var p=d.strip||{};return{inlineStandalone:!0,open:p.open,close:p.close}};function o(d,p,f){p===void 0&&(p=d.length);var h=d[p-1],c=d[p-2];if(!h)return f;if(h.type==="ContentStatement")return(c||!f?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(h.original)}function s(d,p,f){p===void 0&&(p=-1);var h=d[p+1],c=d[p+2];if(!h)return f;if(h.type==="ContentStatement")return(c||!f?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(h.original)}function l(d,p,f){var h=d[p==null?0:p+1];if(!(!h||h.type!=="ContentStatement"||!f&&h.rightStripped)){var c=h.value;h.value=h.value.replace(f?/^\s+/:/^[ \t]*\r?\n?/,""),h.rightStripped=h.value!==c}}function u(d,p,f){var h=d[p==null?d.length-1:p-1];if(!(!h||h.type!=="ContentStatement"||!f&&h.leftStripped)){var c=h.value;return h.value=h.value.replace(f?/\s+$/:/[ \t]+$/,""),h.leftStripped=h.value!==c,h.leftStripped}}t.default=i,e.exports=t.default})(Bl,Bl.exports)),Bl.exports}var Xn={},Ap;function O8(){if(Ap)return Xn;Ap=1,Xn.__esModule=!0,Xn.SourceLocation=a,Xn.id=i,Xn.stripFlags=o,Xn.stripComment=s,Xn.preparePath=l,Xn.prepareMustache=u,Xn.prepareRawBlock=d,Xn.prepareBlock=p,Xn.prepareProgram=f,Xn.preparePartialBlock=h;function e(c){return c&&c.__esModule?c:{default:c}}var t=Br(),n=e(t);function r(c,g){if(g=g.path?g.path.original:g,c.path.original!==g){var m={loc:c.path.loc};throw new n.default(c.path.original+" doesn't match "+g,m)}}function a(c,g){this.source=c,this.start={line:g.first_line,column:g.first_column},this.end={line:g.last_line,column:g.last_column}}function i(c){return/^\[.*\]$/.test(c)?c.substring(1,c.length-1):c}function o(c,g){return{open:c.charAt(2)==="~",close:g.charAt(g.length-3)==="~"}}function s(c){return c.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function l(c,g,m){m=this.locInfo(m);for(var x=c?"@":"",v=[],y=0,_=0,S=g.length;_<S;_++){var C=g[_].part,T=g[_].original!==C;if(x+=(g[_].separator||"")+C,!T&&(C===".."||C==="."||C==="this")){if(v.length>0)throw new n.default("Invalid path: "+x,{loc:m});C===".."&&y++}else v.push(C)}return{type:"PathExpression",data:c,depth:y,parts:v,original:x,loc:m}}function u(c,g,m,x,v,y){var _=x.charAt(3)||x.charAt(2),S=_!=="{"&&_!=="&",C=/\*/.test(x);return{type:C?"Decorator":"MustacheStatement",path:c,params:g,hash:m,escaped:S,strip:v,loc:this.locInfo(y)}}function d(c,g,m,x){r(c,m),x=this.locInfo(x);var v={type:"Program",body:g,strip:{},loc:x};return{type:"BlockStatement",path:c.path,params:c.params,hash:c.hash,program:v,openStrip:{},inverseStrip:{},closeStrip:{},loc:x}}function p(c,g,m,x,v,y){x&&x.path&&r(c,x);var _=/\*/.test(c.open);g.blockParams=c.blockParams;var S=void 0,C=void 0;if(m){if(_)throw new n.default("Unexpected inverse block on decorator",m);m.chain&&(m.program.body[0].closeStrip=x.strip),C=m.strip,S=m.program}return v&&(v=S,S=g,g=v),{type:_?"DecoratorBlock":"BlockStatement",path:c.path,params:c.params,hash:c.hash,program:g,inverse:S,openStrip:c.strip,inverseStrip:C,closeStrip:x&&x.strip,loc:this.locInfo(y)}}function f(c,g){if(!g&&c.length){var m=c[0].loc,x=c[c.length-1].loc;m&&x&&(g={source:m.source,start:{line:m.start.line,column:m.start.column},end:{line:x.end.line,column:x.end.column}})}return{type:"Program",body:c,strip:{},loc:g}}function h(c,g,m,x){return r(c,m),{type:"PartialBlockStatement",name:c.path,params:c.params,hash:c.hash,program:g,openStrip:c.strip,closeStrip:m&&m.strip,loc:this.locInfo(x)}}return Xn}var kp;function I8(){if(kp)return Ri;kp=1,Ri.__esModule=!0,Ri.parseWithoutProcessing=d,Ri.parse=p;function e(f){if(f&&f.__esModule)return f;var h={};if(f!=null)for(var c in f)Object.prototype.hasOwnProperty.call(f,c)&&(h[c]=f[c]);return h.default=f,h}function t(f){return f&&f.__esModule?f:{default:f}}var n=A8(),r=t(n),a=k8(),i=t(a),o=O8(),s=e(o),l=Vn();Ri.parser=r.default;var u={};l.extend(u,s);function d(f,h){if(f.type==="Program")return f;r.default.yy=u,u.locInfo=function(g){return new u.SourceLocation(h&&h.srcName,g)};var c=r.default.parse(f);return c}function p(f,h){var c=d(f,h),g=new i.default(h);return g.accept(c)}return Ri}var Pi={},Op;function N8(){if(Op)return Pi;Op=1,Pi.__esModule=!0,Pi.Compiler=s,Pi.precompile=l,Pi.compile=u;function e(f){return f&&f.__esModule?f:{default:f}}var t=Br(),n=e(t),r=Vn(),a=o6(),i=e(a),o=[].slice;function s(){}s.prototype={compiler:s,equals:function(h){var c=this.opcodes.length;if(h.opcodes.length!==c)return!1;for(var g=0;g<c;g++){var m=this.opcodes[g],x=h.opcodes[g];if(m.opcode!==x.opcode||!d(m.args,x.args))return!1}c=this.children.length;for(var g=0;g<c;g++)if(!this.children[g].equals(h.children[g]))return!1;return!0},guid:0,compile:function(h,c){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=c,this.stringParams=c.stringParams,this.trackIds=c.trackIds,c.blockParams=c.blockParams||[],c.knownHelpers=r.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},c.knownHelpers),this.accept(h)},compileProgram:function(h){var c=new this.compiler,g=c.compile(h,this.options),m=this.guid++;return this.usePartial=this.usePartial||g.usePartial,this.children[m]=g,this.useDepths=this.useDepths||g.useDepths,m},accept:function(h){if(!this[h.type])throw new n.default("Unknown type: "+h.type,h);this.sourceNode.unshift(h);var c=this[h.type](h);return this.sourceNode.shift(),c},Program:function(h){this.options.blockParams.unshift(h.blockParams);for(var c=h.body,g=c.length,m=0;m<g;m++)this.accept(c[m]);return this.options.blockParams.shift(),this.isSimple=g===1,this.blockParams=h.blockParams?h.blockParams.length:0,this},BlockStatement:function(h){p(h);var c=h.program,g=h.inverse;c=c&&this.compileProgram(c),g=g&&this.compileProgram(g);var m=this.classifySexpr(h);m==="helper"?this.helperSexpr(h,c,g):m==="simple"?(this.simpleSexpr(h),this.opcode("pushProgram",c),this.opcode("pushProgram",g),this.opcode("emptyHash"),this.opcode("blockValue",h.path.original)):(this.ambiguousSexpr(h,c,g),this.opcode("pushProgram",c),this.opcode("pushProgram",g),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(h){var c=h.program&&this.compileProgram(h.program),g=this.setupFullMustacheParams(h,c,void 0),m=h.path;this.useDecorators=!0,this.opcode("registerDecorator",g.length,m.original)},PartialStatement:function(h){this.usePartial=!0;var c=h.program;c&&(c=this.compileProgram(h.program));var g=h.params;if(g.length>1)throw new n.default("Unsupported number of partial arguments: "+g.length,h);g.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):g.push({type:"PathExpression",parts:[],depth:0}));var m=h.name.original,x=h.name.type==="SubExpression";x&&this.accept(h.name),this.setupFullMustacheParams(h,c,void 0,!0);var v=h.indent||"";this.options.preventIndent&&v&&(this.opcode("appendContent",v),v=""),this.opcode("invokePartial",x,m,v),this.opcode("append")},PartialBlockStatement:function(h){this.PartialStatement(h)},MustacheStatement:function(h){this.SubExpression(h),h.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(h){this.DecoratorBlock(h)},ContentStatement:function(h){h.value&&this.opcode("appendContent",h.value)},CommentStatement:function(){},SubExpression:function(h){p(h);var c=this.classifySexpr(h);c==="simple"?this.simpleSexpr(h):c==="helper"?this.helperSexpr(h):this.ambiguousSexpr(h)},ambiguousSexpr:function(h,c,g){var m=h.path,x=m.parts[0],v=c!=null||g!=null;this.opcode("getContext",m.depth),this.opcode("pushProgram",c),this.opcode("pushProgram",g),m.strict=!0,this.accept(m),this.opcode("invokeAmbiguous",x,v)},simpleSexpr:function(h){var c=h.path;c.strict=!0,this.accept(c),this.opcode("resolvePossibleLambda")},helperSexpr:function(h,c,g){var m=this.setupFullMustacheParams(h,c,g),x=h.path,v=x.parts[0];if(this.options.knownHelpers[v])this.opcode("invokeKnownHelper",m.length,v);else{if(this.options.knownHelpersOnly)throw new n.default("You specified knownHelpersOnly, but used the unknown helper "+v,h);x.strict=!0,x.falsy=!0,this.accept(x),this.opcode("invokeHelper",m.length,x.original,i.default.helpers.simpleId(x))}},PathExpression:function(h){this.addDepth(h.depth),this.opcode("getContext",h.depth);var c=h.parts[0],g=i.default.helpers.scopedId(h),m=!h.depth&&!g&&this.blockParamIndex(c);m?this.opcode("lookupBlockParam",m,h.parts):c?h.data?(this.options.data=!0,this.opcode("lookupData",h.depth,h.parts,h.strict)):this.opcode("lookupOnContext",h.parts,h.falsy,h.strict,g):this.opcode("pushContext")},StringLiteral:function(h){this.opcode("pushString",h.value)},NumberLiteral:function(h){this.opcode("pushLiteral",h.value)},BooleanLiteral:function(h){this.opcode("pushLiteral",h.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(h){var c=h.pairs,g=0,m=c.length;for(this.opcode("pushHash");g<m;g++)this.pushParam(c[g].value);for(;g--;)this.opcode("assignToHash",c[g].key);this.opcode("popHash")},opcode:function(h){this.opcodes.push({opcode:h,args:o.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(h){h&&(this.useDepths=!0)},classifySexpr:function(h){var c=i.default.helpers.simpleId(h.path),g=c&&!!this.blockParamIndex(h.path.parts[0]),m=!g&&i.default.helpers.helperExpression(h),x=!g&&(m||c);if(x&&!m){var v=h.path.parts[0],y=this.options;y.knownHelpers[v]?m=!0:y.knownHelpersOnly&&(x=!1)}return m?"helper":x?"ambiguous":"simple"},pushParams:function(h){for(var c=0,g=h.length;c<g;c++)this.pushParam(h[c])},pushParam:function(h){var c=h.value!=null?h.value:h.original||"";if(this.stringParams)c.replace&&(c=c.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),h.depth&&this.addDepth(h.depth),this.opcode("getContext",h.depth||0),this.opcode("pushStringParam",c,h.type),h.type==="SubExpression"&&this.accept(h);else{if(this.trackIds){var g=void 0;if(h.parts&&!i.default.helpers.scopedId(h)&&!h.depth&&(g=this.blockParamIndex(h.parts[0])),g){var m=h.parts.slice(1).join(".");this.opcode("pushId","BlockParam",g,m)}else c=h.original||c,c.replace&&(c=c.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",h.type,c)}this.accept(h)}},setupFullMustacheParams:function(h,c,g,m){var x=h.params;return this.pushParams(x),this.opcode("pushProgram",c),this.opcode("pushProgram",g),h.hash?this.accept(h.hash):this.opcode("emptyHash",m),x},blockParamIndex:function(h){for(var c=0,g=this.options.blockParams.length;c<g;c++){var m=this.options.blockParams[c],x=m&&r.indexOf(m,h);if(m&&x>=0)return[c,x]}}};function l(f,h,c){if(f==null||typeof f!="string"&&f.type!=="Program")throw new n.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+f);h=h||{},"data"in h||(h.data=!0),h.compat&&(h.useDepths=!0);var g=c.parse(f,h),m=new c.Compiler().compile(g,h);return new c.JavaScriptCompiler().compile(m,h)}function u(f,h,c){if(h===void 0&&(h={}),f==null||typeof f!="string"&&f.type!=="Program")throw new n.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+f);h=r.extend({},h),"data"in h||(h.data=!0),h.compat&&(h.useDepths=!0);var g=void 0;function m(){var v=c.parse(f,h),y=new c.Compiler().compile(v,h),_=new c.JavaScriptCompiler().compile(y,h,void 0,!0);return c.template(_)}function x(v,y){return g||(g=m()),g.call(this,v,y)}return x._setup=function(v){return g||(g=m()),g._setup(v)},x._child=function(v,y,_,S){return g||(g=m()),g._child(v,y,_,S)},x}function d(f,h){if(f===h)return!0;if(r.isArray(f)&&r.isArray(h)&&f.length===h.length){for(var c=0;c<f.length;c++)if(!d(f[c],h[c]))return!1;return!0}}function p(f){if(!f.path.parts){var h=f.path;f.path={type:"PathExpression",data:!1,depth:0,parts:[h.original+""],original:h.original+"",loc:h.loc}}}return Pi}var $l={exports:{}},Hl={exports:{}},qo={},u0={},Ul={},zl={},Ip;function L8(){if(Ip)return zl;Ip=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return zl.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},zl.decode=function(t){var n=65,r=90,a=97,i=122,o=48,s=57,l=43,u=47,d=26,p=52;return n<=t&&t<=r?t-n:a<=t&&t<=i?t-a+d:o<=t&&t<=s?t-o+p:t==l?62:t==u?63:-1},zl}var Np;function l6(){if(Np)return Ul;Np=1;var e=L8(),t=5,n=1<<t,r=n-1,a=n;function i(s){return s<0?(-s<<1)+1:(s<<1)+0}function o(s){var l=(s&1)===1,u=s>>1;return l?-u:u}return Ul.encode=function(l){var u="",d,p=i(l);do d=p&r,p>>>=t,p>0&&(d|=a),u+=e.encode(d);while(p>0);return u},Ul.decode=function(l,u,d){var p=l.length,f=0,h=0,c,g;do{if(u>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(g=e.decode(l.charCodeAt(u++)),g===-1)throw new Error("Invalid base64 digit: "+l.charAt(u-1));c=!!(g&a),g&=r,f=f+(g<<h),h+=t}while(c);d.value=o(f),d.rest=u},Ul}var c0={},Lp;function Gs(){return Lp||(Lp=1,(function(e){function t(_,S,C){if(S in _)return _[S];if(arguments.length===3)return C;throw new Error('"'+S+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function a(_){var S=_.match(n);return S?{scheme:S[1],auth:S[2],host:S[3],port:S[4],path:S[5]}:null}e.urlParse=a;function i(_){var S="";return _.scheme&&(S+=_.scheme+":"),S+="//",_.auth&&(S+=_.auth+"@"),_.host&&(S+=_.host),_.port&&(S+=":"+_.port),_.path&&(S+=_.path),S}e.urlGenerate=i;function o(_){var S=_,C=a(_);if(C){if(!C.path)return _;S=C.path}for(var T=e.isAbsolute(S),R=S.split(/\/+/),P,A=0,I=R.length-1;I>=0;I--)P=R[I],P==="."?R.splice(I,1):P===".."?A++:A>0&&(P===""?(R.splice(I+1,A),A=0):(R.splice(I,2),A--));return S=R.join("/"),S===""&&(S=T?"/":"."),C?(C.path=S,i(C)):S}e.normalize=o;function s(_,S){_===""&&(_="."),S===""&&(S=".");var C=a(S),T=a(_);if(T&&(_=T.path||"/"),C&&!C.scheme)return T&&(C.scheme=T.scheme),i(C);if(C||S.match(r))return S;if(T&&!T.host&&!T.path)return T.host=S,i(T);var R=S.charAt(0)==="/"?S:o(_.replace(/\/+$/,"")+"/"+S);return T?(T.path=R,i(T)):R}e.join=s,e.isAbsolute=function(_){return _.charAt(0)==="/"||n.test(_)};function l(_,S){_===""&&(_="."),_=_.replace(/\/$/,"");for(var C=0;S.indexOf(_+"/")!==0;){var T=_.lastIndexOf("/");if(T<0||(_=_.slice(0,T),_.match(/^([^\/]+:\/)?\/*$/)))return S;++C}return Array(C+1).join("../")+S.substr(_.length+1)}e.relative=l;var u=(function(){var _=Object.create(null);return!("__proto__"in _)})();function d(_){return _}function p(_){return h(_)?"$"+_:_}e.toSetString=u?d:p;function f(_){return h(_)?_.slice(1):_}e.fromSetString=u?d:f;function h(_){if(!_)return!1;var S=_.length;if(S<9||_.charCodeAt(S-1)!==95||_.charCodeAt(S-2)!==95||_.charCodeAt(S-3)!==111||_.charCodeAt(S-4)!==116||_.charCodeAt(S-5)!==111||_.charCodeAt(S-6)!==114||_.charCodeAt(S-7)!==112||_.charCodeAt(S-8)!==95||_.charCodeAt(S-9)!==95)return!1;for(var C=S-10;C>=0;C--)if(_.charCodeAt(C)!==36)return!1;return!0}function c(_,S,C){var T=m(_.source,S.source);return T!==0||(T=_.originalLine-S.originalLine,T!==0)||(T=_.originalColumn-S.originalColumn,T!==0||C)||(T=_.generatedColumn-S.generatedColumn,T!==0)||(T=_.generatedLine-S.generatedLine,T!==0)?T:m(_.name,S.name)}e.compareByOriginalPositions=c;function g(_,S,C){var T=_.generatedLine-S.generatedLine;return T!==0||(T=_.generatedColumn-S.generatedColumn,T!==0||C)||(T=m(_.source,S.source),T!==0)||(T=_.originalLine-S.originalLine,T!==0)||(T=_.originalColumn-S.originalColumn,T!==0)?T:m(_.name,S.name)}e.compareByGeneratedPositionsDeflated=g;function m(_,S){return _===S?0:_===null?1:S===null?-1:_>S?1:-1}function x(_,S){var C=_.generatedLine-S.generatedLine;return C!==0||(C=_.generatedColumn-S.generatedColumn,C!==0)||(C=m(_.source,S.source),C!==0)||(C=_.originalLine-S.originalLine,C!==0)||(C=_.originalColumn-S.originalColumn,C!==0)?C:m(_.name,S.name)}e.compareByGeneratedPositionsInflated=x;function v(_){return JSON.parse(_.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=v;function y(_,S,C){if(S=S||"",_&&(_[_.length-1]!=="/"&&S[0]!=="/"&&(_+="/"),S=_+S),C){var T=a(C);if(!T)throw new Error("sourceMapURL could not be parsed");if(T.path){var R=T.path.lastIndexOf("/");R>=0&&(T.path=T.path.substring(0,R+1))}S=s(i(T),S)}return o(S)}e.computeSourceURL=y})(c0)),c0}var d0={},Rp;function u6(){if(Rp)return d0;Rp=1;var e=Gs(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(i,o){for(var s=new r,l=0,u=i.length;l<u;l++)s.add(i[l],o);return s},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(i,o){var s=n?i:e.toSetString(i),l=n?this.has(i):t.call(this._set,s),u=this._array.length;(!l||o)&&this._array.push(i),l||(n?this._set.set(i,u):this._set[s]=u)},r.prototype.has=function(i){if(n)return this._set.has(i);var o=e.toSetString(i);return t.call(this._set,o)},r.prototype.indexOf=function(i){if(n){var o=this._set.get(i);if(o>=0)return o}else{var s=e.toSetString(i);if(t.call(this._set,s))return this._set[s]}throw new Error('"'+i+'" is not in the set.')},r.prototype.at=function(i){if(i>=0&&i<this._array.length)return this._array[i];throw new Error("No element indexed by "+i)},r.prototype.toArray=function(){return this._array.slice()},d0.ArraySet=r,d0}var f0={},Pp;function R8(){if(Pp)return f0;Pp=1;var e=Gs();function t(r,a){var i=r.generatedLine,o=a.generatedLine,s=r.generatedColumn,l=a.generatedColumn;return o>i||o==i&&l>=s||e.compareByGeneratedPositionsInflated(r,a)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(a,i){this._array.forEach(a,i)},n.prototype.add=function(a){t(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},f0.MappingList=n,f0}var Dp;function c6(){if(Dp)return u0;Dp=1;var e=l6(),t=Gs(),n=u6().ArraySet,r=R8().MappingList;function a(i){i||(i={}),this._file=t.getArg(i,"file",null),this._sourceRoot=t.getArg(i,"sourceRoot",null),this._skipValidation=t.getArg(i,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return a.prototype._version=3,a.fromSourceMap=function(o){var s=o.sourceRoot,l=new a({file:o.file,sourceRoot:s});return o.eachMapping(function(u){var d={generated:{line:u.generatedLine,column:u.generatedColumn}};u.source!=null&&(d.source=u.source,s!=null&&(d.source=t.relative(s,d.source)),d.original={line:u.originalLine,column:u.originalColumn},u.name!=null&&(d.name=u.name)),l.addMapping(d)}),o.sources.forEach(function(u){var d=u;s!==null&&(d=t.relative(s,u)),l._sources.has(d)||l._sources.add(d);var p=o.sourceContentFor(u);p!=null&&l.setSourceContent(u,p)}),l},a.prototype.addMapping=function(o){var s=t.getArg(o,"generated"),l=t.getArg(o,"original",null),u=t.getArg(o,"source",null),d=t.getArg(o,"name",null);this._skipValidation||this._validateMapping(s,l,u,d),u!=null&&(u=String(u),this._sources.has(u)||this._sources.add(u)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:s.line,generatedColumn:s.column,originalLine:l!=null&&l.line,originalColumn:l!=null&&l.column,source:u,name:d})},a.prototype.setSourceContent=function(o,s){var l=o;this._sourceRoot!=null&&(l=t.relative(this._sourceRoot,l)),s!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(l)]=s):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(l)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(o,s,l){var u=s;if(s==null){if(o.file==null)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');u=o.file}var d=this._sourceRoot;d!=null&&(u=t.relative(d,u));var p=new n,f=new n;this._mappings.unsortedForEach(function(h){if(h.source===u&&h.originalLine!=null){var c=o.originalPositionFor({line:h.originalLine,column:h.originalColumn});c.source!=null&&(h.source=c.source,l!=null&&(h.source=t.join(l,h.source)),d!=null&&(h.source=t.relative(d,h.source)),h.originalLine=c.line,h.originalColumn=c.column,c.name!=null&&(h.name=c.name))}var g=h.source;g!=null&&!p.has(g)&&p.add(g);var m=h.name;m!=null&&!f.has(m)&&f.add(m)},this),this._sources=p,this._names=f,o.sources.forEach(function(h){var c=o.sourceContentFor(h);c!=null&&(l!=null&&(h=t.join(l,h)),d!=null&&(h=t.relative(d,h)),this.setSourceContent(h,c))},this)},a.prototype._validateMapping=function(o,s,l,u){if(s&&typeof s.line!="number"&&typeof s.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(o&&"line"in o&&"column"in o&&o.line>0&&o.column>=0&&!s&&!l&&!u)){if(o&&"line"in o&&"column"in o&&s&&"line"in s&&"column"in s&&o.line>0&&o.column>=0&&s.line>0&&s.column>=0&&l)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:o,source:l,original:s,name:u}))}},a.prototype._serializeMappings=function(){for(var o=0,s=1,l=0,u=0,d=0,p=0,f="",h,c,g,m,x=this._mappings.toArray(),v=0,y=x.length;v<y;v++){if(c=x[v],h="",c.generatedLine!==s)for(o=0;c.generatedLine!==s;)h+=";",s++;else if(v>0){if(!t.compareByGeneratedPositionsInflated(c,x[v-1]))continue;h+=","}h+=e.encode(c.generatedColumn-o),o=c.generatedColumn,c.source!=null&&(m=this._sources.indexOf(c.source),h+=e.encode(m-p),p=m,h+=e.encode(c.originalLine-1-u),u=c.originalLine-1,h+=e.encode(c.originalColumn-l),l=c.originalColumn,c.name!=null&&(g=this._names.indexOf(c.name),h+=e.encode(g-d),d=g)),f+=h}return f},a.prototype._generateSourcesContent=function(o,s){return o.map(function(l){if(!this._sourcesContents)return null;s!=null&&(l=t.relative(s,l));var u=t.toSetString(l);return Object.prototype.hasOwnProperty.call(this._sourcesContents,u)?this._sourcesContents[u]:null},this)},a.prototype.toJSON=function(){var o={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(o.file=this._file),this._sourceRoot!=null&&(o.sourceRoot=this._sourceRoot),this._sourcesContents&&(o.sourcesContent=this._generateSourcesContent(o.sources,o.sourceRoot)),o},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},u0.SourceMapGenerator=a,u0}var Wo={},h0={},Mp;function P8(){return Mp||(Mp=1,(function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,a,i,o,s){var l=Math.floor((r-n)/2)+n,u=o(a,i[l],!0);return u===0?l:u>0?r-l>1?t(l,r,a,i,o,s):s==e.LEAST_UPPER_BOUND?r<i.length?r:-1:l:l-n>1?t(n,l,a,i,o,s):s==e.LEAST_UPPER_BOUND?l:n<0?-1:n}e.search=function(r,a,i,o){if(a.length===0)return-1;var s=t(-1,a.length,r,a,i,o||e.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&i(a[s],a[s-1],!0)===0;)--s;return s}})(h0)),h0}var p0={},Bp;function D8(){if(Bp)return p0;Bp=1;function e(r,a,i){var o=r[a];r[a]=r[i],r[i]=o}function t(r,a){return Math.round(r+Math.random()*(a-r))}function n(r,a,i,o){if(i<o){var s=t(i,o),l=i-1;e(r,s,o);for(var u=r[o],d=i;d<o;d++)a(r[d],u)<=0&&(l+=1,e(r,l,d));e(r,l+1,d);var p=l+1;n(r,a,i,p-1),n(r,a,p+1,o)}}return p0.quickSort=function(r,a){n(r,a,0,r.length-1)},p0}var Fp;function M8(){if(Fp)return Wo;Fp=1;var e=Gs(),t=P8(),n=u6().ArraySet,r=l6(),a=D8().quickSort;function i(u,d){var p=u;return typeof u=="string"&&(p=e.parseSourceMapInput(u)),p.sections!=null?new l(p,d):new o(p,d)}i.fromSourceMap=function(u,d){return o.fromSourceMap(u,d)},i.prototype._version=3,i.prototype.__generatedMappings=null,Object.defineProperty(i.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),i.prototype.__originalMappings=null,Object.defineProperty(i.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),i.prototype._charIsMappingSeparator=function(d,p){var f=d.charAt(p);return f===";"||f===","},i.prototype._parseMappings=function(d,p){throw new Error("Subclasses must implement _parseMappings")},i.GENERATED_ORDER=1,i.ORIGINAL_ORDER=2,i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2,i.prototype.eachMapping=function(d,p,f){var h=p||null,c=f||i.GENERATED_ORDER,g;switch(c){case i.GENERATED_ORDER:g=this._generatedMappings;break;case i.ORIGINAL_ORDER:g=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var m=this.sourceRoot;g.map(function(x){var v=x.source===null?null:this._sources.at(x.source);return v=e.computeSourceURL(m,v,this._sourceMapURL),{source:v,generatedLine:x.generatedLine,generatedColumn:x.generatedColumn,originalLine:x.originalLine,originalColumn:x.originalColumn,name:x.name===null?null:this._names.at(x.name)}},this).forEach(d,h)},i.prototype.allGeneratedPositionsFor=function(d){var p=e.getArg(d,"line"),f={source:e.getArg(d,"source"),originalLine:p,originalColumn:e.getArg(d,"column",0)};if(f.source=this._findSourceIndex(f.source),f.source<0)return[];var h=[],c=this._findMapping(f,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(c>=0){var g=this._originalMappings[c];if(d.column===void 0)for(var m=g.originalLine;g&&g.originalLine===m;)h.push({line:e.getArg(g,"generatedLine",null),column:e.getArg(g,"generatedColumn",null),lastColumn:e.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++c];else for(var x=g.originalColumn;g&&g.originalLine===p&&g.originalColumn==x;)h.push({line:e.getArg(g,"generatedLine",null),column:e.getArg(g,"generatedColumn",null),lastColumn:e.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++c]}return h},Wo.SourceMapConsumer=i;function o(u,d){var p=u;typeof u=="string"&&(p=e.parseSourceMapInput(u));var f=e.getArg(p,"version"),h=e.getArg(p,"sources"),c=e.getArg(p,"names",[]),g=e.getArg(p,"sourceRoot",null),m=e.getArg(p,"sourcesContent",null),x=e.getArg(p,"mappings"),v=e.getArg(p,"file",null);if(f!=this._version)throw new Error("Unsupported version: "+f);g&&(g=e.normalize(g)),h=h.map(String).map(e.normalize).map(function(y){return g&&e.isAbsolute(g)&&e.isAbsolute(y)?e.relative(g,y):y}),this._names=n.fromArray(c.map(String),!0),this._sources=n.fromArray(h,!0),this._absoluteSources=this._sources.toArray().map(function(y){return e.computeSourceURL(g,y,d)}),this.sourceRoot=g,this.sourcesContent=m,this._mappings=x,this._sourceMapURL=d,this.file=v}o.prototype=Object.create(i.prototype),o.prototype.consumer=i,o.prototype._findSourceIndex=function(u){var d=u;if(this.sourceRoot!=null&&(d=e.relative(this.sourceRoot,d)),this._sources.has(d))return this._sources.indexOf(d);var p;for(p=0;p<this._absoluteSources.length;++p)if(this._absoluteSources[p]==u)return p;return-1},o.fromSourceMap=function(d,p){var f=Object.create(o.prototype),h=f._names=n.fromArray(d._names.toArray(),!0),c=f._sources=n.fromArray(d._sources.toArray(),!0);f.sourceRoot=d._sourceRoot,f.sourcesContent=d._generateSourcesContent(f._sources.toArray(),f.sourceRoot),f.file=d._file,f._sourceMapURL=p,f._absoluteSources=f._sources.toArray().map(function(C){return e.computeSourceURL(f.sourceRoot,C,p)});for(var g=d._mappings.toArray().slice(),m=f.__generatedMappings=[],x=f.__originalMappings=[],v=0,y=g.length;v<y;v++){var _=g[v],S=new s;S.generatedLine=_.generatedLine,S.generatedColumn=_.generatedColumn,_.source&&(S.source=c.indexOf(_.source),S.originalLine=_.originalLine,S.originalColumn=_.originalColumn,_.name&&(S.name=h.indexOf(_.name)),x.push(S)),m.push(S)}return a(f.__originalMappings,e.compareByOriginalPositions),f},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function s(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o.prototype._parseMappings=function(d,p){for(var f=1,h=0,c=0,g=0,m=0,x=0,v=d.length,y=0,_={},S={},C=[],T=[],R,P,A,I,$;y<v;)if(d.charAt(y)===";")f++,y++,h=0;else if(d.charAt(y)===",")y++;else{for(R=new s,R.generatedLine=f,I=y;I<v&&!this._charIsMappingSeparator(d,I);I++);if(P=d.slice(y,I),A=_[P],A)y+=P.length;else{for(A=[];y<I;)r.decode(d,y,S),$=S.value,y=S.rest,A.push($);if(A.length===2)throw new Error("Found a source, but no line and column");if(A.length===3)throw new Error("Found a source and line, but no column");_[P]=A}R.generatedColumn=h+A[0],h=R.generatedColumn,A.length>1&&(R.source=m+A[1],m+=A[1],R.originalLine=c+A[2],c=R.originalLine,R.originalLine+=1,R.originalColumn=g+A[3],g=R.originalColumn,A.length>4&&(R.name=x+A[4],x+=A[4])),T.push(R),typeof R.originalLine=="number"&&C.push(R)}a(T,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=T,a(C,e.compareByOriginalPositions),this.__originalMappings=C},o.prototype._findMapping=function(d,p,f,h,c,g){if(d[f]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+d[f]);if(d[h]<0)throw new TypeError("Column must be greater than or equal to 0, got "+d[h]);return t.search(d,p,c,g)},o.prototype.computeColumnSpans=function(){for(var d=0;d<this._generatedMappings.length;++d){var p=this._generatedMappings[d];if(d+1<this._generatedMappings.length){var f=this._generatedMappings[d+1];if(p.generatedLine===f.generatedLine){p.lastGeneratedColumn=f.generatedColumn-1;continue}}p.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(d){var p={generatedLine:e.getArg(d,"line"),generatedColumn:e.getArg(d,"column")},f=this._findMapping(p,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(d,"bias",i.GREATEST_LOWER_BOUND));if(f>=0){var h=this._generatedMappings[f];if(h.generatedLine===p.generatedLine){var c=e.getArg(h,"source",null);c!==null&&(c=this._sources.at(c),c=e.computeSourceURL(this.sourceRoot,c,this._sourceMapURL));var g=e.getArg(h,"name",null);return g!==null&&(g=this._names.at(g)),{source:c,line:e.getArg(h,"originalLine",null),column:e.getArg(h,"originalColumn",null),name:g}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(d){return d==null}):!1},o.prototype.sourceContentFor=function(d,p){if(!this.sourcesContent)return null;var f=this._findSourceIndex(d);if(f>=0)return this.sourcesContent[f];var h=d;this.sourceRoot!=null&&(h=e.relative(this.sourceRoot,h));var c;if(this.sourceRoot!=null&&(c=e.urlParse(this.sourceRoot))){var g=h.replace(/^file:\/\//,"");if(c.scheme=="file"&&this._sources.has(g))return this.sourcesContent[this._sources.indexOf(g)];if((!c.path||c.path=="/")&&this._sources.has("/"+h))return this.sourcesContent[this._sources.indexOf("/"+h)]}if(p)return null;throw new Error('"'+h+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(d){var p=e.getArg(d,"source");if(p=this._findSourceIndex(p),p<0)return{line:null,column:null,lastColumn:null};var f={source:p,originalLine:e.getArg(d,"line"),originalColumn:e.getArg(d,"column")},h=this._findMapping(f,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(d,"bias",i.GREATEST_LOWER_BOUND));if(h>=0){var c=this._originalMappings[h];if(c.source===f.source)return{line:e.getArg(c,"generatedLine",null),column:e.getArg(c,"generatedColumn",null),lastColumn:e.getArg(c,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Wo.BasicSourceMapConsumer=o;function l(u,d){var p=u;typeof u=="string"&&(p=e.parseSourceMapInput(u));var f=e.getArg(p,"version"),h=e.getArg(p,"sections");if(f!=this._version)throw new Error("Unsupported version: "+f);this._sources=new n,this._names=new n;var c={line:-1,column:0};this._sections=h.map(function(g){if(g.url)throw new Error("Support for url field in sections not implemented.");var m=e.getArg(g,"offset"),x=e.getArg(m,"line"),v=e.getArg(m,"column");if(x<c.line||x===c.line&&v<c.column)throw new Error("Section offsets must be ordered and non-overlapping.");return c=m,{generatedOffset:{generatedLine:x+1,generatedColumn:v+1},consumer:new i(e.getArg(g,"map"),d)}})}return l.prototype=Object.create(i.prototype),l.prototype.constructor=i,l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){for(var u=[],d=0;d<this._sections.length;d++)for(var p=0;p<this._sections[d].consumer.sources.length;p++)u.push(this._sections[d].consumer.sources[p]);return u}}),l.prototype.originalPositionFor=function(d){var p={generatedLine:e.getArg(d,"line"),generatedColumn:e.getArg(d,"column")},f=t.search(p,this._sections,function(c,g){var m=c.generatedLine-g.generatedOffset.generatedLine;return m||c.generatedColumn-g.generatedOffset.generatedColumn}),h=this._sections[f];return h?h.consumer.originalPositionFor({line:p.generatedLine-(h.generatedOffset.generatedLine-1),column:p.generatedColumn-(h.generatedOffset.generatedLine===p.generatedLine?h.generatedOffset.generatedColumn-1:0),bias:d.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(d){return d.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(d,p){for(var f=0;f<this._sections.length;f++){var h=this._sections[f],c=h.consumer.sourceContentFor(d,!0);if(c)return c}if(p)return null;throw new Error('"'+d+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(d){for(var p=0;p<this._sections.length;p++){var f=this._sections[p];if(f.consumer._findSourceIndex(e.getArg(d,"source"))!==-1){var h=f.consumer.generatedPositionFor(d);if(h){var c={line:h.line+(f.generatedOffset.generatedLine-1),column:h.column+(f.generatedOffset.generatedLine===h.line?f.generatedOffset.generatedColumn-1:0)};return c}}}return{line:null,column:null}},l.prototype._parseMappings=function(d,p){this.__generatedMappings=[],this.__originalMappings=[];for(var f=0;f<this._sections.length;f++)for(var h=this._sections[f],c=h.consumer._generatedMappings,g=0;g<c.length;g++){var m=c[g],x=h.consumer._sources.at(m.source);x=e.computeSourceURL(h.consumer.sourceRoot,x,this._sourceMapURL),this._sources.add(x),x=this._sources.indexOf(x);var v=null;m.name&&(v=h.consumer._names.at(m.name),this._names.add(v),v=this._names.indexOf(v));var y={source:x,generatedLine:m.generatedLine+(h.generatedOffset.generatedLine-1),generatedColumn:m.generatedColumn+(h.generatedOffset.generatedLine===m.generatedLine?h.generatedOffset.generatedColumn-1:0),originalLine:m.originalLine,originalColumn:m.originalColumn,name:v};this.__generatedMappings.push(y),typeof y.originalLine=="number"&&this.__originalMappings.push(y)}a(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),a(this.__originalMappings,e.compareByOriginalPositions)},Wo.IndexedSourceMapConsumer=l,Wo}var g0={},$p;function B8(){if($p)return g0;$p=1;var e=c6().SourceMapGenerator,t=Gs(),n=/(\r?\n)/,r=10,a="$$$isSourceNode$$$";function i(o,s,l,u,d){this.children=[],this.sourceContents={},this.line=o==null?null:o,this.column=s==null?null:s,this.source=l==null?null:l,this.name=d==null?null:d,this[a]=!0,u!=null&&this.add(u)}return i.fromStringWithSourceMap=function(s,l,u){var d=new i,p=s.split(n),f=0,h=function(){var v=_(),y=_()||"";return v+y;function _(){return f<p.length?p[f++]:void 0}},c=1,g=0,m=null;return l.eachMapping(function(v){if(m!==null)if(c<v.generatedLine)x(m,h()),c++,g=0;else{var y=p[f]||"",_=y.substr(0,v.generatedColumn-g);p[f]=y.substr(v.generatedColumn-g),g=v.generatedColumn,x(m,_),m=v;return}for(;c<v.generatedLine;)d.add(h()),c++;if(g<v.generatedColumn){var y=p[f]||"";d.add(y.substr(0,v.generatedColumn)),p[f]=y.substr(v.generatedColumn),g=v.generatedColumn}m=v},this),f<p.length&&(m&&x(m,h()),d.add(p.splice(f).join(""))),l.sources.forEach(function(v){var y=l.sourceContentFor(v);y!=null&&(u!=null&&(v=t.join(u,v)),d.setSourceContent(v,y))}),d;function x(v,y){if(v===null||v.source===void 0)d.add(y);else{var _=u?t.join(u,v.source):v.source;d.add(new i(v.originalLine,v.originalColumn,_,y,v.name))}}},i.prototype.add=function(s){if(Array.isArray(s))s.forEach(function(l){this.add(l)},this);else if(s[a]||typeof s=="string")s&&this.children.push(s);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+s);return this},i.prototype.prepend=function(s){if(Array.isArray(s))for(var l=s.length-1;l>=0;l--)this.prepend(s[l]);else if(s[a]||typeof s=="string")this.children.unshift(s);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+s);return this},i.prototype.walk=function(s){for(var l,u=0,d=this.children.length;u<d;u++)l=this.children[u],l[a]?l.walk(s):l!==""&&s(l,{source:this.source,line:this.line,column:this.column,name:this.name})},i.prototype.join=function(s){var l,u,d=this.children.length;if(d>0){for(l=[],u=0;u<d-1;u++)l.push(this.children[u]),l.push(s);l.push(this.children[u]),this.children=l}return this},i.prototype.replaceRight=function(s,l){var u=this.children[this.children.length-1];return u[a]?u.replaceRight(s,l):typeof u=="string"?this.children[this.children.length-1]=u.replace(s,l):this.children.push("".replace(s,l)),this},i.prototype.setSourceContent=function(s,l){this.sourceContents[t.toSetString(s)]=l},i.prototype.walkSourceContents=function(s){for(var l=0,u=this.children.length;l<u;l++)this.children[l][a]&&this.children[l].walkSourceContents(s);for(var d=Object.keys(this.sourceContents),l=0,u=d.length;l<u;l++)s(t.fromSetString(d[l]),this.sourceContents[d[l]])},i.prototype.toString=function(){var s="";return this.walk(function(l){s+=l}),s},i.prototype.toStringWithSourceMap=function(s){var l={code:"",line:1,column:0},u=new e(s),d=!1,p=null,f=null,h=null,c=null;return this.walk(function(g,m){l.code+=g,m.source!==null&&m.line!==null&&m.column!==null?((p!==m.source||f!==m.line||h!==m.column||c!==m.name)&&u.addMapping({source:m.source,original:{line:m.line,column:m.column},generated:{line:l.line,column:l.column},name:m.name}),p=m.source,f=m.line,h=m.column,c=m.name,d=!0):d&&(u.addMapping({generated:{line:l.line,column:l.column}}),p=null,d=!1);for(var x=0,v=g.length;x<v;x++)g.charCodeAt(x)===r?(l.line++,l.column=0,x+1===v?(p=null,d=!1):d&&u.addMapping({source:m.source,original:{line:m.line,column:m.column},generated:{line:l.line,column:l.column},name:m.name})):l.column++}),this.walkSourceContents(function(g,m){u.setSourceContent(g,m)}),{code:l.code,map:u}},g0.SourceNode=i,g0}var Hp;function F8(){return Hp||(Hp=1,qo.SourceMapGenerator=c6().SourceMapGenerator,qo.SourceMapConsumer=M8().SourceMapConsumer,qo.SourceNode=B8().SourceNode),qo}var Up;function $8(){return Up||(Up=1,(function(e,t){t.__esModule=!0;var n=Vn(),r=void 0;try{var a=F8();r=a.SourceNode}catch(s){}r||(r=function(s,l,u,d){this.src="",d&&this.add(d)},r.prototype={add:function(l){n.isArray(l)&&(l=l.join("")),this.src+=l},prepend:function(l){n.isArray(l)&&(l=l.join("")),this.src=l+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function i(s,l,u){if(n.isArray(s)){for(var d=[],p=0,f=s.length;p<f;p++)d.push(l.wrap(s[p],u));return d}else if(typeof s=="boolean"||typeof s=="number")return s+"";return s}function o(s){this.srcFile=s,this.source=[]}o.prototype={isEmpty:function(){return!this.source.length},prepend:function(l,u){this.source.unshift(this.wrap(l,u))},push:function(l,u){this.source.push(this.wrap(l,u))},merge:function(){var l=this.empty();return this.each(function(u){l.add([" ",u,"\n"])}),l},each:function(l){for(var u=0,d=this.source.length;u<d;u++)l(this.source[u])},empty:function(){var l=this.currentLocation||{start:{}};return new r(l.start.line,l.start.column,this.srcFile)},wrap:function(l){var u=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return l instanceof r?l:(l=i(l,this,u),new r(u.start.line,u.start.column,this.srcFile,l))},functionCall:function(l,u,d){return d=this.generateList(d),this.wrap([l,u?"."+u+"(":"(",d,")"])},quotedString:function(l){return'"'+(l+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(l){var u=this,d=[];Object.keys(l).forEach(function(f){var h=i(l[f],u);h!=="undefined"&&d.push([u.quotedString(f),":",h])});var p=this.generateList(d);return p.prepend("{"),p.add("}"),p},generateList:function(l){for(var u=this.empty(),d=0,p=l.length;d<p;d++)d&&u.add(","),u.add(i(l[d],this));return u},generateArray:function(l){var u=this.generateList(l);return u.prepend("["),u.add("]"),u}},t.default=o,e.exports=t.default})(Hl,Hl.exports)),Hl.exports}var zp;function H8(){return zp||(zp=1,(function(e,t){t.__esModule=!0;function n(f){return f&&f.__esModule?f:{default:f}}var r=uf(),a=Br(),i=n(a),o=Vn(),s=$8(),l=n(s);function u(f){this.value=f}function d(){}d.prototype={nameLookup:function(h,c){return this.internalNameLookup(h,c)},depthedLookup:function(h){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(h),")"]},compilerInfo:function(){var h=r.COMPILER_REVISION,c=r.REVISION_CHANGES[h];return[h,c]},appendToBuffer:function(h,c,g){return o.isArray(h)||(h=[h]),h=this.source.wrap(h,c),this.environment.isSimple?["return ",h,";"]:g?["buffer += ",h,";"]:(h.appendToBuffer=!0,h)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(h,c){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",h,",",JSON.stringify(c),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(h,c,g,m){this.environment=h,this.options=c,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!m,this.name=this.environment.name,this.isChild=!!g,this.context=g||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(h,c),this.useDepths=this.useDepths||h.useDepths||h.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||h.useBlockParams;var x=h.opcodes,v=void 0,y=void 0,_=void 0,S=void 0;for(_=0,S=x.length;_<S;_++)v=x[_],this.source.currentLocation=v.loc,y=y||v.loc,this[v.opcode].apply(this,v.args);if(this.source.currentLocation=y,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new i.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),m?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var C=this.createFunctionContext(m);if(this.isChild)return C;var T={compiler:this.compilerInfo(),main:C};this.decorators&&(T.main_d=this.decorators,T.useDecorators=!0);var R=this.context,P=R.programs,A=R.decorators;for(_=0,S=P.length;_<S;_++)P[_]&&(T[_]=P[_],A[_]&&(T[_+"_d"]=A[_],T.useDecorators=!0));return this.environment.usePartial&&(T.usePartial=!0),this.options.data&&(T.useData=!0),this.useDepths&&(T.useDepths=!0),this.useBlockParams&&(T.useBlockParams=!0),this.options.compat&&(T.compat=!0),m?T.compilerOptions=this.options:(T.compiler=JSON.stringify(T.compiler),this.source.currentLocation={start:{line:1,column:0}},T=this.objectLiteral(T),c.srcName?(T=T.toStringWithSourceMap({file:c.destName}),T.map=T.map&&T.map.toString()):T=T.toString()),T},preamble:function(){this.lastContext=0,this.source=new l.default(this.options.srcName),this.decorators=new l.default(this.options.srcName)},createFunctionContext:function(h){var c=this,g="",m=this.stackVars.concat(this.registers.list);m.length>0&&(g+=", "+m.join(", "));var x=0;Object.keys(this.aliases).forEach(function(_){var S=c.aliases[_];S.children&&S.referenceCount>1&&(g+=", alias"+ ++x+"="+_,S.children[0]="alias"+x)}),this.lookupPropertyFunctionIsUsed&&(g+=", "+this.lookupPropertyFunctionVarDeclaration());var v=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&v.push("blockParams"),this.useDepths&&v.push("depths");var y=this.mergeSource(g);return h?(v.push(y),Function.apply(this,v)):this.source.wrap(["function(",v.join(","),") {\n ",y,"}"])},mergeSource:function(h){var c=this.environment.isSimple,g=!this.forceBuffer,m=void 0,x=void 0,v=void 0,y=void 0;return this.source.each(function(_){_.appendToBuffer?(v?_.prepend(" + "):v=_,y=_):(v&&(x?v.prepend("buffer += "):m=!0,y.add(";"),v=y=void 0),x=!0,c||(g=!1))}),g?v?(v.prepend("return "),y.add(";")):x||this.source.push('return "";'):(h+=", buffer = "+(m?"":this.initializeBuffer()),v?(v.prepend("return buffer + "),y.add(";")):this.source.push("return buffer;")),h&&this.source.prepend("var "+h.substring(2)+(m?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(h){var c=this.aliasable("container.hooks.blockHelperMissing"),g=[this.contextName(0)];this.setupHelperArgs(h,0,g);var m=this.popStack();g.splice(1,0,m),this.push(this.source.functionCall(c,"call",g))},ambiguousBlockValue:function(){var h=this.aliasable("container.hooks.blockHelperMissing"),c=[this.contextName(0)];this.setupHelperArgs("",0,c,!0),this.flushInline();var g=this.topStack();c.splice(1,0,g),this.pushSource(["if (!",this.lastHelper,") { ",g," = ",this.source.functionCall(h,"call",c),"}"])},appendContent:function(h){this.pendingContent?h=this.pendingContent+h:this.pendingLocation=this.source.currentLocation,this.pendingContent=h},append:function(){if(this.isInline())this.replaceStack(function(c){return[" != null ? ",c,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var h=this.popStack();this.pushSource(["if (",h," != null) { ",this.appendToBuffer(h,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(h){this.lastContext=h},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(h,c,g,m){var x=0;!m&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(h[x++])):this.pushContext(),this.resolvePath("context",h,x,c,g)},lookupBlockParam:function(h,c){this.useBlockParams=!0,this.push(["blockParams[",h[0],"][",h[1],"]"]),this.resolvePath("context",c,1)},lookupData:function(h,c,g){h?this.pushStackLiteral("container.data(data, "+h+")"):this.pushStackLiteral("data"),this.resolvePath("data",c,0,!0,g)},resolvePath:function(h,c,g,m,x){var v=this;if(this.options.strict||this.options.assumeObjects){this.push(p(this.options.strict&&x,this,c,g,h));return}for(var y=c.length;g<y;g++)this.replaceStack(function(_){var S=v.nameLookup(_,c[g],h);return m?[" && ",S]:[" != null ? ",S," : ",_]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(h,c){this.pushContext(),this.pushString(c),c!=="SubExpression"&&(typeof h=="string"?this.pushString(h):this.pushStackLiteral(h))},emptyHash:function(h){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(h?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var h=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(h.ids)),this.stringParams&&(this.push(this.objectLiteral(h.contexts)),this.push(this.objectLiteral(h.types))),this.push(this.objectLiteral(h.values))},pushString:function(h){this.pushStackLiteral(this.quotedString(h))},pushLiteral:function(h){this.pushStackLiteral(h)},pushProgram:function(h){h!=null?this.pushStackLiteral(this.programExpression(h)):this.pushStackLiteral(null)},registerDecorator:function(h,c){var g=this.nameLookup("decorators",c,"decorator"),m=this.setupHelperArgs(c,h);this.decorators.push(["fn = ",this.decorators.functionCall(g,"",["fn","props","container",m])," || fn;"])},invokeHelper:function(h,c,g){var m=this.popStack(),x=this.setupHelper(h,c),v=[];g&&v.push(x.name),v.push(m),this.options.strict||v.push(this.aliasable("container.hooks.helperMissing"));var y=["(",this.itemsSeparatedBy(v,"||"),")"],_=this.source.functionCall(y,"call",x.callParams);this.push(_)},itemsSeparatedBy:function(h,c){var g=[];g.push(h[0]);for(var m=1;m<h.length;m++)g.push(c,h[m]);return g},invokeKnownHelper:function(h,c){var g=this.setupHelper(h,c);this.push(this.source.functionCall(g.name,"call",g.callParams))},invokeAmbiguous:function(h,c){this.useRegister("helper");var g=this.popStack();this.emptyHash();var m=this.setupHelper(0,h,c),x=this.lastHelper=this.nameLookup("helpers",h,"helper"),v=["(","(helper = ",x," || ",g,")"];this.options.strict||(v[0]="(helper = ",v.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",v,m.paramsInit?["),(",m.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",m.callParams)," : helper))"])},invokePartial:function(h,c,g){var m=[],x=this.setupParams(c,1,m);h&&(c=this.popStack(),delete x.name),g&&(x.indent=JSON.stringify(g)),x.helpers="helpers",x.partials="partials",x.decorators="container.decorators",h?m.unshift(c):m.unshift(this.nameLookup("partials",c,"partial")),this.options.compat&&(x.depths="depths"),x=this.objectLiteral(x),m.push(x),this.push(this.source.functionCall("container.invokePartial","",m))},assignToHash:function(h){var c=this.popStack(),g=void 0,m=void 0,x=void 0;this.trackIds&&(x=this.popStack()),this.stringParams&&(m=this.popStack(),g=this.popStack());var v=this.hash;g&&(v.contexts[h]=g),m&&(v.types[h]=m),x&&(v.ids[h]=x),v.values[h]=c},pushId:function(h,c,g){h==="BlockParam"?this.pushStackLiteral("blockParams["+c[0]+"].path["+c[1]+"]"+(g?" + "+JSON.stringify("."+g):"")):h==="PathExpression"?this.pushString(c):h==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:d,compileChildren:function(h,c){for(var g=h.children,m=void 0,x=void 0,v=0,y=g.length;v<y;v++){m=g[v],x=new this.compiler;var _=this.matchExistingProgram(m);if(_==null){this.context.programs.push("");var S=this.context.programs.length;m.index=S,m.name="program"+S,this.context.programs[S]=x.compile(m,c,this.context,!this.precompile),this.context.decorators[S]=x.decorators,this.context.environments[S]=m,this.useDepths=this.useDepths||x.useDepths,this.useBlockParams=this.useBlockParams||x.useBlockParams,m.useDepths=this.useDepths,m.useBlockParams=this.useBlockParams}else m.index=_.index,m.name="program"+_.index,this.useDepths=this.useDepths||_.useDepths,this.useBlockParams=this.useBlockParams||_.useBlockParams}},matchExistingProgram:function(h){for(var c=0,g=this.context.environments.length;c<g;c++){var m=this.context.environments[c];if(m&&m.equals(h))return m}},programExpression:function(h){var c=this.environment.children[h],g=[c.index,"data",c.blockParams];return(this.useBlockParams||this.useDepths)&&g.push("blockParams"),this.useDepths&&g.push("depths"),"container.program("+g.join(", ")+")"},useRegister:function(h){this.registers[h]||(this.registers[h]=!0,this.registers.list.push(h))},push:function(h){return h instanceof u||(h=this.source.wrap(h)),this.inlineStack.push(h),h},pushStackLiteral:function(h){this.push(new u(h))},pushSource:function(h){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),h&&this.source.push(h)},replaceStack:function(h){var c=["("],g=void 0,m=void 0,x=void 0;if(!this.isInline())throw new i.default("replaceStack on non-inline");var v=this.popStack(!0);if(v instanceof u)g=[v.value],c=["(",g],x=!0;else{m=!0;var y=this.incrStack();c=["((",this.push(y)," = ",v,")"],g=this.topStack()}var _=h.call(this,g);x||this.popStack(),m&&this.stackSlot--,this.push(c.concat(_,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var h=this.inlineStack;this.inlineStack=[];for(var c=0,g=h.length;c<g;c++){var m=h[c];if(m instanceof u)this.compileStack.push(m);else{var x=this.incrStack();this.pushSource([x," = ",m,";"]),this.compileStack.push(x)}}},isInline:function(){return this.inlineStack.length},popStack:function(h){var c=this.isInline(),g=(c?this.inlineStack:this.compileStack).pop();if(!h&&g instanceof u)return g.value;if(!c){if(!this.stackSlot)throw new i.default("Invalid stack pop");this.stackSlot--}return g},topStack:function(){var h=this.isInline()?this.inlineStack:this.compileStack,c=h[h.length-1];return c instanceof u?c.value:c},contextName:function(h){return this.useDepths&&h?"depths["+h+"]":"depth"+h},quotedString:function(h){return this.source.quotedString(h)},objectLiteral:function(h){return this.source.objectLiteral(h)},aliasable:function(h){var c=this.aliases[h];return c?(c.referenceCount++,c):(c=this.aliases[h]=this.source.wrap(h),c.aliasable=!0,c.referenceCount=1,c)},setupHelper:function(h,c,g){var m=[],x=this.setupHelperArgs(c,h,m,g),v=this.nameLookup("helpers",c,"helper"),y=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:m,paramsInit:x,name:v,callParams:[y].concat(m)}},setupParams:function(h,c,g){var m={},x=[],v=[],y=[],_=!g,S=void 0;_&&(g=[]),m.name=this.quotedString(h),m.hash=this.popStack(),this.trackIds&&(m.hashIds=this.popStack()),this.stringParams&&(m.hashTypes=this.popStack(),m.hashContexts=this.popStack());var C=this.popStack(),T=this.popStack();(T||C)&&(m.fn=T||"container.noop",m.inverse=C||"container.noop");for(var R=c;R--;)S=this.popStack(),g[R]=S,this.trackIds&&(y[R]=this.popStack()),this.stringParams&&(v[R]=this.popStack(),x[R]=this.popStack());return _&&(m.args=this.source.generateArray(g)),this.trackIds&&(m.ids=this.source.generateArray(y)),this.stringParams&&(m.types=this.source.generateArray(v),m.contexts=this.source.generateArray(x)),this.options.data&&(m.data="data"),this.useBlockParams&&(m.blockParams="blockParams"),m},setupHelperArgs:function(h,c,g,m){var x=this.setupParams(h,c,g);return x.loc=JSON.stringify(this.source.currentLocation),x=this.objectLiteral(x),m?(this.useRegister("options"),g.push("options"),["options=",x]):g?(g.push(x),""):x}},(function(){for(var f="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),h=d.RESERVED_WORDS={},c=0,g=f.length;c<g;c++)h[f[c]]=!0})(),d.isValidJavaScriptVariableName=function(f){return!d.RESERVED_WORDS[f]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(f)};function p(f,h,c,g,m){var x=h.popStack(),v=c.length;for(f&&v--;g<v;g++)x=h.nameLookup(x,c[g],m);return f?[h.aliasable("container.strict"),"(",x,", ",h.quotedString(c[g]),", ",JSON.stringify(h.source.currentLocation)," )"]:x}t.default=d,e.exports=t.default})($l,$l.exports)),$l.exports}var jp;function U8(){return jp||(jp=1,(function(e,t){t.__esModule=!0;function n(v){return v&&v.__esModule?v:{default:v}}var r=w8(),a=n(r),i=o6(),o=n(i),s=I8(),l=N8(),u=H8(),d=n(u),p=s6(),f=n(p),h=i6(),c=n(h),g=a.default.create;function m(){var v=g();return v.compile=function(y,_){return l.compile(y,_,v)},v.precompile=function(y,_){return l.precompile(y,_,v)},v.AST=o.default,v.Compiler=l.Compiler,v.JavaScriptCompiler=d.default,v.Parser=s.parser,v.parse=s.parse,v.parseWithoutProcessing=s.parseWithoutProcessing,v}var x=m();x.create=m,c.default(x),x.Visitor=f.default,x.default=x,t.default=x,e.exports=t.default})(bl,bl.exports)),bl.exports}var z8=U8();const Ea=fo(z8),ts=e=>!e||e.length===0?"":e.charAt(0).toUpperCase()+e.slice(1),g$=(e,t)=>e.startsWith(t)?e.slice(t.length):e;function m$(e){if(!e)return"-";const t=1024;return e<t?e+"B":e<Math.pow(t,2)?(e/t).toFixed(2)+"K":e<Math.pow(t,3)?(e/Math.pow(t,2)).toFixed(2)+"M":e<Math.pow(t,4)?(e/Math.pow(t,3)).toFixed(2)+"G":(e/Math.pow(t,4)).toFixed(2)+"T"}const Vo=e=>e<10?"0"+e:e;function x$(e){const t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,a=t.getDate(),i=t.getHours(),o=t.getMinutes(),s=t.getSeconds();return n+"-"+Vo(r)+"-"+Vo(a)+" "+Vo(i)+":"+Vo(o)+":"+Vo(s)}const b$=(e,t)=>{let n=e;if(n=n.replace("$name",t.name),t.ts){const r=new URL(t.d_url),a=Date.now();r.searchParams.set("openlist_ts",a.toString()),t.d_url=r.toString()}return n=n.replace(/\$[eb_]*url/,r=>{const a=r.match(/[eb]/g);let i=t.raw_url;if(a)for(const o of a.reverse())o==="e"?i=encodeURIComponent(i):o==="b"&&(i=window.btoa(i));return i}),n=n.replace(/\$[eb_]*durl/,r=>{const a=r.match(/[eb]/g);let i=t.d_url;if(a)for(const o of a.reverse())o==="e"?i=encodeURIComponent(i):o==="b"&&(i=window.btoa(i));return i}),n},j8=e=>{e=e.trim();let t=e.replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)},q8={"+":"-","/":"_","=":"."},W8=e=>e.replace(/[+/=]/g,t=>q8[t]),v$=e=>W8(window.btoa(e)),V8=(e,t)=>new TextDecoder(t).decode(e);Ea.registerHelper("dateLocaleString",e=>new Date(e).toLocaleString());Ea.registerHelper("add",(e,t)=>e+t);Ea.registerHelper("eq",(e,t)=>e===t);Ea.registerHelper("less",(e,t)=>e<t);Ea.registerHelper("and",(e,t)=>e&&t);Ea.registerHelper("or",(e,t)=>e||t);Ea.registerHelper("not",e=>!e);Ea.registerHelper("filename",e=>e.indexOf("/")===-1?e:e.slice(e.lastIndexOf("/")+1));const _$=(e,t)=>Ea.compile(e)(t),y$=e=>!e||e.trim().length===0?{valid:!1,error:"empty_input"}:/[\/\\?<>*:|"]/.test(e)?{valid:!1,error:"invalid_filename_chars"}:{valid:!0},Sc=(e,t,n,r=!0,a=!0,i)=>{if(e.code===200)i&&Lu.success(e.message),t==null||t(e.data);else{if(a&&Lu.error(e.message),r&&e.code===401){location.pathname==="/@manage"?Vi.emit("to","/"):Vi.emit("to","/@login?redirect=".concat(encodeURIComponent(location.pathname)));return}n==null||n(e.message,e.code)}},qp=(e,t,n,r=!0)=>Sc(e,t,n,r,!1),fd=(e,t,n)=>Sc(e,t,n,!1,!1),E$=(e,t,n,r=!0,a=!0)=>Sc(e,t,n,r,a,!0),d6=()=>"rgba(132,133,141,0.18)",G8=()=>oc("$whiteAlpha10","$blackAlpha11")(),K8=(e="/",t="",n)=>Nt.post("/fs/get",{path:e,password:t},{cancelToken:n}),Y8=(e="/",t="",n=1,r=0,a=!1,i)=>Nt.post("/fs/list",{path:e,password:t,page:n,per_page:r,refresh:a},{cancelToken:i}),S$=(e="/",t="",n=!1)=>Nt.post("/fs/dirs",{path:e,password:t,force_root:n}),C$=e=>Nt.post("/fs/mkdir",{path:e}),T$=(e,t,n)=>Nt.post("/fs/rename",{path:e,name:t,overwrite:n}),w$=(e,t)=>Nt.post("/fs/batch_rename",{src_dir:e,rename_objects:t}),A$=(e,t,n,r,a)=>Nt.post("/fs/move",{src_dir:e,dst_dir:t,names:n,overwrite:r,skip_existing:a}),k$=(e,t,n)=>Nt.post("/fs/recursive_move",{src_dir:e,dst_dir:t,conflict_policy:n}),O$=(e,t,n,r,a,i)=>Nt.post("/fs/copy",{src_dir:e,dst_dir:t,names:n,overwrite:r,skip_existing:a,merge:i}),I$=(e,t)=>Nt.post("/fs/remove",{dir:e,names:t}),N$=e=>Nt.post("/fs/remove_empty_directory",{src_dir:e}),L$=(e,t,n)=>Nt.put("/fs/put",void 0,{headers:{"File-Path":encodeURIComponent(e),Password:t,Overwrite:n.toString()}}),R$=(e="/",t="",n="",r=!1,a)=>Nt.post("/fs/archive/meta",{path:e,password:t,archive_pass:n,refresh:r},{cancelToken:a}),P$=(e="/",t="",n="",r="/",a=1,i=0,o=!1,s)=>Nt.post("/fs/archive/list",{path:e,password:t,archive_pass:n,inner_path:r,page:a,per_page:i,refresh:o},{cancelToken:s}),D$=(e,t,n,r="",a="/",i=!0,o=!1,s=!1)=>Nt.post("/fs/archive/decompress",{src_dir:e,dst_dir:t,name:n,archive_pass:r,inner_path:a,cache_full:i,put_into_new_dir:o,overwrite:s}),M$=(e,t,n,r)=>Nt.post("/fs/add_offline_download",{path:e,urls:t,tool:n,delete_policy:r}),f6=async(e,t=!0)=>{try{const n=await Ut.get(e,{responseType:"blob",params:t?{openlist_ts:new Date().getTime()}:void 0}),r=await n.data.arrayBuffer(),a=n.headers["content-type"];return{content:r,contentType:a}}catch(n){return t?await f6(e,!1):{content:"Failed to fetch ".concat(e,": ").concat(n),contentType:""}}},B$=async(e,t,n="",r=0,a=1,i=100)=>Nt.post("/fs/search",{parent:e,keywords:t,scope:r,page:a,per_page:i,password:n}),F$=async(e=["/"],t=-1)=>Nt.post("/admin/index/build",{paths:e,max_depth:t}),$$=async(e=[],t=-1)=>Nt.post("/admin/index/update",{paths:e,max_depth:t});var su={exports:{}},lu={exports:{}},X8=lu.exports,Wp;function Q8(){return Wp||(Wp=1,(function(e){(function(t){var n={bytesToHex:function(i){return r(i)},hexToBytes:function(i){if(i.length%2===1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return i.indexOf("0x")===0&&(i=i.slice(2)),i.match(/../g).map(function(o){return parseInt(o,16)})}};function r(i){return i.map(function(o){return a(o.toString(16),2)}).join("")}function a(i,o){return i.length>o?i:Array(o-i.length+1).join("0")+i}e.exports?e.exports=n:t.convertHex=n})(X8)})(lu)),lu.exports}var uu={exports:{}},Z8=uu.exports,Vp;function J8(){return Vp||(Vp=1,(function(e){(function(t){var n={bytesToString:function(r){return r.map(function(a){return String.fromCharCode(a)}).join("")},stringToBytes:function(r){return r.split("").map(function(a){return a.charCodeAt(0)})}};n.UTF8={bytesToString:function(r){return decodeURIComponent(escape(n.bytesToString(r)))},stringToBytes:function(r){return n.stringToBytes(unescape(encodeURIComponent(r)))}},e.exports?e.exports=n:t.convertString=n})(Z8)})(uu)),uu.exports}var eA=su.exports,Gp;function tA(){return Gp||(Gp=1,(function(e){(function(t){var n={};e.exports?(n.bytesToHex=Q8().bytesToHex,n.convertString=J8(),e.exports=l):(n.bytesToHex=t.convertHex.bytesToHex,n.convertString=t.convertString,t.sha256=l);var r=[];(function(){function u(h){for(var c=Math.sqrt(h),g=2;g<=c;g++)if(!(h%g))return!1;return!0}function d(h){return(h-(h|0))*4294967296|0}for(var p=2,f=0;f<64;)u(p)&&(r[f]=d(Math.pow(p,1/3)),f++),p++})();var a=function(u){for(var d=[],p=0,f=0;p<u.length;p++,f+=8)d[f>>>5]|=u[p]<<24-f%32;return d},i=function(u){for(var d=[],p=0;p<u.length*32;p+=8)d.push(u[p>>>5]>>>24-p%32&255);return d},o=[],s=function(u,d,p){for(var f=u[0],h=u[1],c=u[2],g=u[3],m=u[4],x=u[5],v=u[6],y=u[7],_=0;_<64;_++){if(_<16)o[_]=d[p+_]|0;else{var S=o[_-15],C=(S<<25|S>>>7)^(S<<14|S>>>18)^S>>>3,T=o[_-2],R=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;o[_]=C+o[_-7]+R+o[_-16]}var P=m&x^~m&v,A=f&h^f&c^h&c,I=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),$=(m<<26|m>>>6)^(m<<21|m>>>11)^(m<<7|m>>>25),W=y+$+P+r[_]+o[_],G=I+A;y=v,v=x,x=m,m=g+W|0,g=c,c=h,h=f,f=W+G|0}u[0]=u[0]+f|0,u[1]=u[1]+h|0,u[2]=u[2]+c|0,u[3]=u[3]+g|0,u[4]=u[4]+m|0,u[5]=u[5]+x|0,u[6]=u[6]+v|0,u[7]=u[7]+y|0};function l(u,d){u.constructor===String&&(u=n.convertString.UTF8.stringToBytes(u));var p=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],f=a(u),h=u.length*8;f[h>>5]|=128<<24-h%32,f[(h+64>>9<<4)+15]=h;for(var c=0;c<f.length;c+=16)s(p,f,c);var g=i(p);return d&&d.asBytes?g:d&&d.asString?n.convertString.bytesToString(g):n.bytesToHex(g)}l.x2=function(u,d){return l(l(u,{asBytes:!0}),d)}})(eA)})(su)),su.exports}var nA=tA();const H$=fo(nA),h6=typeof window<"u"?window.navigator.userAgent:"",p6=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(h6);var V1,G1,K1;const U$=(K1=(G1=(V1=window==null?void 0:window.navigator)==null?void 0:V1.platform)!=null?G1:"")==null?void 0:K1.includes("Mac"),z$=()=>{var n,r;const e=h6,t=(r=(n=window==null?void 0:window.navigator)==null?void 0:n.platform)!=null?r:"";return/android/i.test(e)?"Android":/iPad|iPhone|iPod/.test(e)||t.includes("Mac")&&navigator.maxTouchPoints>1?"iOS":/windows/i.test(e)?"Windows":/macintosh|mac os x/i.test(e)?"MacOS":/linux/i.test(e)?"Linux":"Unknown"},cf={};document.addEventListener("keydown",e=>{cf[e.key]=!0});document.addEventListener("keyup",e=>{delete cf[e.key]});const[df,rA,{remove:j$,clear:q$,toJSON:W$}]=Aw(),aA=[{key:"aria2_rpc_url",default:"http://localhost:6800/jsonrpc"},{key:"aria2_rpc_secret",default:""},{key:"global_default_layout",default:"list",type:"select",options:["list","grid","image"]},{key:"show_folder_in_image_view",default:"top",type:"select",options:["top","bottom","none"]},{key:"show_sidebar",default:"none",type:"select",options:["none","visible"]},{key:"show_count_msg",default:"none",type:"select",options:["none","visible"]},{key:"position_of_header_navbar",default:"static",type:"select",options:["static","sticky","only_navbar_sticky"]},{key:"grid_item_size",default:"90",type:"number"},{key:"list_item_filename_overflow",default:"ellipsis",type:"select",options:["ellipsis","scrollable","multi_line"]},{key:"open_item_on_checkbox",default:"direct",type:"select",options:["direct","dblclick","disable_while_checked"],hidden:!1},{key:"editor_font_size",default:"14",type:"number"},{key:"show_gallery_thumbnails",default:"visible",type:"select",options:["none","visible"]}];for(const e of aA)df[e.key]||rA(e.key,e.default);const g6=(e,t,n)=>{const[r,a]=Ie(n);return[r,async(...i)=>{a(!0);const o=await e(...i);return(!t||o.code!==401)&&a(!1),o}]},Pu=(e,t)=>g6(e,!0,t),iA=(e,t,n)=>{const[r,a]=Ie(n);return[r,async(i,...o)=>{a(()=>i);const s=await e(i,...o);return s.code!==401&&a(void 0),s}]},V$=(e,t)=>iA(e,!0,t),Ks=()=>{const e=aE(),t=bm(),n=oE(),r=Ue(()=>Dw(decodeURIComponent(t.pathname))),a=Ue(()=>r().startsWith("/@s"));return{to:(i,o,s)=>{!o&&i.startsWith("/")&&(i=ru(i)),Gi("to:",i),Bu(decodeURIComponent(i)),e(i,s)},replace:i=>{const o=ru(ss($a(rf(r()),i),!0));Bu(decodeURIComponent(o)),e(o)},pushHref:i=>ss($a(r(),i)),back:()=>{e(-1)},forward:()=>{e(1)},pathname:r,isShare:a,search:t.search,searchParams:t.query,setSearchParams:(i,o)=>{const s=Et(()=>eE(t.search,i));e(ru(r()+s),{scroll:!1,...o,resolve:!0})},params:n}},oA="modulepreload",sA=function(e){return window.__dynamic_base__+"/"+e},Kp={},ga=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let o=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));a=o(n.map(u=>{if(u=sA(u),u in Kp)return;Kp[u]=!0;const d=u.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(document.querySelector('link[href="'.concat(u,'"]').concat(p)))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":oA,d||(f.as="script"),f.crossOrigin="",f.href=u,l&&f.setAttribute("nonce",l),document.head.appendChild(f),d)return new Promise((h,c)=>{f.addEventListener("load",h),f.addEventListener("error",()=>c(new Error("Unable to preload CSS for ".concat(u))))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return a.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},m6="English",G$={lang:m6},x6="简体中文",K$={lang:x6},b6="英語",Y$={lang:b6},lA=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((a,i)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(i.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})},v6=e=>e!=null&&(e=Object.getPrototypeOf(e),e===Array.prototype||e===Object.prototype);function _6(e,t,n){for(const[r,a]of Object.entries(t)){const i="".concat(n,".").concat(r);e[i]=a,v6(a)&&_6(e,a,i)}}function uA(e){const t={...e};for(const[n,r]of Object.entries(e))v6(r)&&_6(t,r,n);return t}const cA=(e,t)=>{if(t)for(const[n,r]of Object.entries(t))e=e.replace(new RegExp("{{\\s*".concat(n,"\\s*}}"),"g"),r);return e},dA=(e=>e);function fA(e,t=dA){return(n,...r)=>{var i;n[0]==="."&&(n=n.slice(1));const a=(i=e())==null?void 0:i[n];switch(typeof a){case"function":return a(...r);case"string":return t(a,r[0]);default:return a}}}const Yp=Object.assign({"/src/lang/en/index.json":m6,"/src/lang/zh-CN/index.json":x6,"/src/lang/zh-TW/index.json":b6}),Ts=Object.keys(Yp).map(e=>{const t=e.split("/")[3],n=Yp[e];return{code:t,lang:n}}),Xp=navigator.language.toLowerCase();var Y1,X1;const y6=((Y1=Ts.find(e=>e.code.toLowerCase()===Xp))==null?void 0:Y1.code)||((X1=Ts.find(e=>e.code.toLowerCase().split("-")[0]===Xp.split("-")[0]))==null?void 0:X1.code)||"en";var Q1;let hd=(Q1=localStorage.getItem("lang"))!=null?Q1:y6;Ts.some(e=>e.code===hd)||(hd=y6);const hA=async e=>{try{const t=(await lA(Object.assign({"../lang/en/entry.ts":()=>ga(()=>import("./entry-Ct4P7v3b.js"),[]),"../lang/zh-CN/entry.ts":()=>ga(()=>import("./entry-DoLkXYqU.js"),[]),"../lang/zh-TW/entry.ts":()=>ga(()=>import("./entry-Dl4FUo3S.js"),[])}),"../lang/".concat(e,"/entry.ts"),4)).dict;return uA(t)}catch(t){throw console.error("Error loading dictionary for locale: ".concat(e),t),new Error("Failed to load dictionary for ".concat(e))}},[pA,gA]=Ie(hd),[mA]=$d(pA,hA),xA=fA(mA),bA=(e,t)=>{const n=xA(e);if(typeof n=="string")return t&&cA(n,t)||n},Ys=()=>(e,t,n)=>{const r=bA(e,t);return r||n||vA(e)},vA=e=>{let t=e.lastIndexOf(".");t===e.length-1&&(t=e.lastIndexOf(".",t-1));const n=e.slice(t+1);return ts(n).split("_").join(" ")};let Qp=!0,jl,ql;const m0={};let ia=1;const _A=()=>ia,Du=e=>{ia=e},yA=()=>{Du(1)},X$=()=>{const{pathname:e,to:t,searchParams:n}=Ks(),[,r]=Pu(h=>K8(h,eg(),new Ut.CancelToken(c=>{jl=c}))),a=qA();a.type==="pagination"&&Du(parseInt(n.page)||1);const[,i]=Pu(h=>{const c={index:h==null?void 0:h.index,size:h==null?void 0:h.size};return Y8(h==null?void 0:h.path,eg(),c.index,c.size,h==null?void 0:h.force,new Ut.CancelToken(g=>{ql=g}))}),o=(h,c=!0,g=!1)=>{g&&(h=$a(e(),h)),c?m0[h]=!0:delete m0[h]};let s=!1;const l=(h,c,g,m)=>(jl==null||jl(),ql==null||ql(),s=g!=null?g:!1,Xt.setErr(""),C6(h,c)?(Gi("handle [".concat(pi(h,c),"] from history")),KA(h,c)):m0[h]?(Gi("handle [".concat(pi(h,c),"] as folder")),d(h,c,void 0,void 0,m)):(Gi("handle [".concat(pi(h,c),"] as obj")),u(h,c))),u=async(h,c)=>{Xt.setState(Un.FetchingObj);const g=await r(h);qp(g,m=>{var x;Xt.setObj(m),Xt.setProvider(m.provider),m.is_dir?(o(h),d(h,c)):(Xt.setReadme(m.readme),Xt.setHeader(m.header),Xt.setRelated((x=m.related)!=null?x:[]),Xt.setRawUrl(m.raw_url),Xt.setState(Un.File))},p)},d=async(h,c,g,m=!1,x,v=!1)=>{g||(g=a.size),g!==void 0&&a.type==="all"&&(g=void 0),!v&&Xt.setState(m?Un.FetchingMore:Un.FetchingObjs);const y=await i({path:h,index:c,size:g,force:x});qp(y,_=>{var S;Du(c!=null?c:1),m?RA(_.content):(Xt.setObjs((S=_.content)!=null?S:[]),Xt.setTotal(_.total)),!v&&(Xt.setReadme(_.readme),Xt.setHeader(_.header),Xt.setWrite(_.write),Xt.setProvider(_.provider),Xt.setDirectUploadTools(_.direct_upload_tools),Xt.setState(Un.Folder))},p)},p=(h,c)=>{if(c===403)Xt.setState(Un.NeedPassword),s&&Lu.error(h);else{const g=Cc().base_path;if(Qp&&g!="/"&&e().includes(g)&&h.endsWith("object not found")){Qp=!1,t(e().replace(g,""));return}(c===void 0||c>=0)&&Xt.setErr(h)}},f=()=>d(e(),ia+1,void 0,!0);return{handlePathChange:l,handleFolder:d,setPathAs:o,refresh:async(h,c)=>{const g=e(),m=window.scrollY;if(Bu(g,ia),a.type==="load_more"||a.type==="auto_load_more"){const x=ia;for(yA(),await l(g,ia,h,c);ia<x;)await f()}else await l(g,ia,h,c);window.scroll({top:m,behavior:"smooth"})},loadMore:f,allLoaded:()=>ia>=Math.ceil(qn.total/a.size)}},EA=(e,t,n="direct",r,a)=>{n!=="preview"&&(e=r?e.substring(3):$a(Cc().base_path,e)),e=Rw(e);let i="".concat(e,"/").concat(t.name);i=ss(i,a);let o=Pr,s=r?"/sd":n==="direct"?"/d":"/p";n==="preview"&&(s="",Pr.startsWith(location.origin+nr)||(o=location.origin+nr));const{inner_path:l,archive:u}=t;u&&(s="/ae",i="".concat(e,"/").concat(u.name),i=ss(i,a));let d="".concat(o).concat(s).concat(i);if(n!=="preview"&&!r&&t.sign&&(d+="?sign=".concat(t.sign)),n!=="preview"&&r){const p=Ln.getItem("browser-password")||"";p&&(d+="?pwd=".concat(p))}if(u){let p="".concat(l,"/").concat(t.name);d+="".concat(d.includes("?")?"&":"?","inner=").concat(ss(p,a))}return d},ff=()=>{const{pathname:e,isShare:t}=Ks(),n=(a,i,o)=>{const s=qn.state!==Un.File?e():rf(e());return EA(s,a,i,t(),o)},r=(a,i)=>n(a,"direct",i);return{getLinkByObj:n,rawLink:r,proxyLink:(a,i)=>n(a,"proxy",i),previewPage:(a,i)=>n(a,"preview",i),currentObjLink:a=>r(qn.obj,a)}},SA=()=>{const{previewPage:e,rawLink:t}=ff(),n=r=>ws().filter(a=>!a.is_dir).map(a=>t(a,r));return{rawLinks:n,previewPagesText:()=>ws().map(r=>e(r,!0)).join("\n"),rawLinksText:r=>n(r).join("\n")}},Q$=()=>{const{copy:e}=kA(),{previewPagesText:t,rawLinksText:n}=SA(),{currentObjLink:r}=ff();return{copySelectedPreviewPage:()=>{e(t())},copySelectedRawLink:a=>{e(n(a))},copyCurrentRawLink:a=>{e(r(a))}}};var x0,Zp;function CA(){return Zp||(Zp=1,x0=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||n.forEach(function(a){e.addRange(a)}),t&&t.focus()}}),x0}var b0,Jp;function TA(){if(Jp)return b0;Jp=1;var e=CA(),t={"text/plain":"Text","text/html":"Url",default:"Text"},n="Copy to clipboard: #{key}, Enter";function r(i){var o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return i.replace(/#{\s*key\s*}/g,o)}function a(i,o){var s,l,u,d,p,f,h=!1;o||(o={}),s=o.debug||!1;try{u=e(),d=document.createRange(),p=document.getSelection(),f=document.createElement("span"),f.textContent=i,f.ariaHidden="true",f.style.all="unset",f.style.position="fixed",f.style.top=0,f.style.clip="rect(0, 0, 0, 0)",f.style.whiteSpace="pre",f.style.webkitUserSelect="text",f.style.MozUserSelect="text",f.style.msUserSelect="text",f.style.userSelect="text",f.addEventListener("copy",function(g){if(g.stopPropagation(),o.format)if(g.preventDefault(),typeof g.clipboardData>"u"){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var m=t[o.format]||t.default;window.clipboardData.setData(m,i)}else g.clipboardData.clearData(),g.clipboardData.setData(o.format,i);o.onCopy&&(g.preventDefault(),o.onCopy(g.clipboardData))}),document.body.appendChild(f),d.selectNodeContents(f),p.addRange(d);var c=document.execCommand("copy");if(!c)throw new Error("copy command was unsuccessful");h=!0}catch(g){s&&console.error("unable to copy using execCommand: ",g),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(o.format||"text",i),o.onCopy&&o.onCopy(window.clipboardData),h=!0}catch(m){s&&console.error("unable to copy using clipboardData: ",m),s&&console.error("falling back to prompt"),l=r("message"in o?o.message:n),window.prompt(l,i)}}finally{p&&(typeof p.removeRange=="function"?p.removeRange(d):p.removeAllRanges()),f&&document.body.removeChild(f),u()}return h}return b0=a,b0}var wA=TA();const AA=fo(wA),kA=()=>{const e=Ys(),{pathname:t}=Ks();return{copy:n=>{AA(n),Lu.success(e("global.copied"))},isHide:n=>{const r=tg();for(const a of r)if(a.test($a(t(),n.name)))return!0;return!1},isHidePath:n=>{const r=tg();for(const a of r)if(a.test(n))return!0;return!1}}};function Z$(e){const{proxyLink:t}=ff();return $d("",async()=>{let r=t(qn.obj,!0);if(e){const a=r.includes("?")?"&":"?";r="".concat(r).concat(a,"raw=true")}return f6(r)})}function OA(e){const t=typeof e=="string";return{isString:t,text:(r="utf-8")=>e?t?e:V8(e,r):""}}const IA=()=>{const e=ru("static");return{npm:(u,d,p)=>"https://registry.npmmirror.com/".concat(u,"/").concat(d,"/files/").concat(p),monacoPath:()=>"".concat(e,"/monaco-editor/vs"),katexCSSPath:()=>"".concat(e,"/katex/katex.min.css"),mermaidJSPath:()=>"".concat(e,"/mermaid/mermaid.min.js"),ruffleJSPath:()=>"".concat(e,"/ruffle/ruffle.js"),libHeifPath:()=>"".concat(e,"/libheif"),libAssPath:()=>"".concat(e,"/libass-wasm"),fontsPath:()=>"".concat(e,"/fonts")}};var Un=(e=>(e[e.Initial=0]="Initial",e[e.FetchingObj=1]="FetchingObj",e[e.FetchingObjs=2]="FetchingObjs",e[e.FetchingMore=3]="FetchingMore",e[e.Folder=4]="Folder",e[e.File=5]="File",e[e.NeedPassword=6]="NeedPassword",e))(Un||{});const NA={obj:{},raw_url:"",related:[],objs:[],total:0,readme:"",header:"",provider:"",direct_upload_tools:void 0,state:0,err:""},[qn,un]=bn(NA),LA=e=>{an.start=-1,an.end=-1,un("objs",e),un("obj","is_dir",!0)},Xt={set:e=>{un(e)},setObj:e=>{un("obj",e)},setRawUrl:e=>{un("raw_url",e)},setProvider:e=>{un("provider",e)},setObjs:LA,setTotal:e=>{un("total",e)},setReadme:e=>un("readme",e),setHeader:e=>un("header",e),setRelated:e=>un("related",e),setWrite:e=>un("write",e),setState:e=>un("state",e),setDirectUploadTools:e=>un("direct_upload_tools",e),setErr:e=>un("err",e)},J$=(e,t)=>{Gi("sort:",e,t),un("objs",wm(n=>n.sort((r,a)=>(t?-1:1)*Sw(r[e],a[e]))))},RA=e=>{un("objs",wm(t=>t.push(...e)))},an={start:-1,end:-1},eH=(e,t,n)=>{var r,a;if(n&&PA(!1),cf.Shift){if(an.start<0){for(let u=0;u<Math.max(e+1,qn.objs.length-e);++u)if((r=qn.objs[e-u])!=null&&r.selected){an.start=e-u,an.end=e-u;break}else if((a=qn.objs[e+u])!=null&&a.selected){an.start=e+u,an.end=e+u;break}}const i=Math.abs(an.end-an.start),o=Math.sign(an.end-an.start);for(let u=1;u<=i;++u)un("objs",an.start+o*u,{selected:!1});const s=Math.abs(e-an.start),l=Math.sign(e-an.start);for(let u=0;u<=s;++u)un("objs",an.start+l*u,{selected:!0});an.end=e}else un("objs",e,{selected:t}),t?(an.start=e,an.end=e):(an.end=-1,an.start=-1)},PA=e=>{un("objs",{},t=>({selected:e}))},ws=()=>qn.objs.filter(e=>e.selected),tH=()=>qn.objs.length===As(),nH=()=>As()===1,rH=()=>As()>0,aH=()=>As()>0&&As()<qn.objs.length,As=Ue(()=>ws().length),[hf,DA]=Ie(location.pathname),Mu=(()=>{try{return JSON.parse(localStorage.getItem("layoutRecord")||"{}")}catch(e){return{}}})();Vi.on("pathname",e=>DA(e));const[MA,E6]=Ie(Mu[hf()]||df.global_default_layout),iH=()=>{const e=Mu[hf()];return E6(e||df.global_default_layout),MA()},oH=e=>{Mu[hf()]=e,localStorage.setItem("layoutRecord",JSON.stringify(Mu)),E6(e)},[BA,FA]=Nb("checkbox-open","false"),$A=()=>BA()==="true",sH=()=>{FA($A()?"false":"true")},[eg,HA]=Ie(Ln.getItem("browser-password")||""),lH=e=>{HA(e),Ln.setItem("browser-password",e)},pf=(e,t,n)=>{const r=Ys();if(n&&(e=e.filter(l=>l.is_dir||l.type===n)),e.length===0)return"";const a=e.filter(l=>l.is_dir).length,i=e.length-a,o={folders:a.toString(),files:i.toString()},s=a&&i?"".concat(t):a?"".concat(t,"_folders"):i?"".concat(t,"_files"):"";return s?r("home.obj.count.".concat(s),o):""},UA=e=>pf(qn.objs,"count",e),uH=e=>{const t=ws();return t.length>0?pf(t,"selected",e):""},cH=e=>{const t=ws();return t.length>0?pf(t,"selected",e):UA(e)},[dH,fH]=bn({asTask:!1,overwrite:!1,rapid:!0}),pd={},zA=e=>{Object.keys(e).forEach(n=>{pd[n]=e[n]});const t=pd.version||"Unknown";console.log("%c OpenList %c ".concat(t," %c https://github.com/OpenListTeam/OpenList"),"color: #fff; background: #5f5f5f","color: #fff; background: #70c6be","")},vo=e=>{var t;return(t=pd[e])!=null?t:""},hH=e=>{const t=vo(e);return t==="true"||t==="1"},jA=(e,t)=>{const n=vo(e);return n?Number(n):t},hi=()=>window.OPENLIST_CONFIG.main_color?window.OPENLIST_CONFIG.main_color:vo("main_color")||"#1890ff";let Wl={};const v0=e=>{if(!Wl[e])try{Wl[e]=JSON.parse(vo(e))}catch(t){console.error("failed parse ".concat(e,", use default"),t),Wl[e]={}}return Wl[e]},S6=(e,t)=>{const n=Mw(e).toLowerCase(),r=[];for(const a in v0(t))a.startsWith("/")?j8(a).test(n)&&r.push(...$h(v0(t)[a])):a.split(",").includes(n)&&r.push(...$h(v0(t)[a]));return r},pH=e=>S6(e,"external_previews"),gH=e=>S6(e,"iframe_previews"),qA=()=>({type:vo("pagination_type")||"all",size:jA("default_page_size",30)});let _0;const tg=()=>(_0||(_0=vo("hide_files").split(/\n/g).filter(e=>!!e.trim()).map(e=>{e=e.trim();let t=e.replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)})),_0);var WA=(e=>(e[e.GENERAL=0]="GENERAL",e[e.GUEST=1]="GUEST",e[e.ADMIN=2]="ADMIN",e))(WA||{});const VA=["see_hides","access_without_password","offline_download","write","rename","move","copy","delete","webdav_read","webdav_manage","ftp_read","ftp_manage","read_archives","decompress","share"],GA={is_guest:e=>e.role===1,is_admin:e=>e.role===2,is_general:e=>e.role===0,can:(e,t)=>(e.permission>>t&1)==1},[Cc,gd]=Ie({}),mH=e=>{const t=Cc();return GA.can(t,VA.indexOf(e))},ks=new Map,ng=()=>new Promise(e=>setTimeout(e)),pi=(e,t)=>{const n=e.split("?")[0];return t&&t>1?"".concat(n,"?page=").concat(t):n},xH=(e,t)=>{const n=JSON.parse(JSON.stringify(qn));if(![Un.FetchingMore,Un.Folder,Un.File].includes(qn.state))return;qn.state===Un.FetchingMore&&(n.state=Un.Folder);const r=pi(e,t),a={obj:n,page:t!=null?t:_A(),scroll:window.scrollY};ks.set(r,a),console.log("record history: [".concat(r,"]"))},KA=async(e,t)=>{const n=pi(e,t);if(!ks.has(n))return;const r=ks.get(n);Du(r.page),Xt.setState(Un.Initial),await ng(),Xt.set(JSON.parse(JSON.stringify(r.obj))),await ng(),window.scroll({top:r.scroll})},C6=(e,t)=>{const n=pi(e,t);return ks.has(n)},Bu=(e,t)=>{const n=pi(e,t);C6(e,t)&&(ks.delete(n),console.log("clear history: [".concat(n,"]")))};document.addEventListener("click",e=>{let n=e.target.closest("a"),r=n==null?void 0:n.getAttribute("href");r&&Bu(decodeURIComponent(r))},!0);let T6=[];const YA=e=>{T6=e},bH=e=>(e=e.toLowerCase(),T6.some(t=>e.endsWith(t))),Tc=()=>w(go,{h:"100vh",get children(){return w(zs,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",get color(){return hi()},size:"xl"})}}),XA=e=>{const t=X({py:"$8",size:"xl",thickness:4},e);return w(go,{ref(n){var r=e.ref;typeof r=="function"?r(n):e.ref=n},h:"$full",w:"$full",get py(){return t.py},get children(){return w(zs,{get thickness(){return"".concat(t.thickness,"px")},speed:"0.65s",emptyColor:"$neutral4",get color(){return hi()},get size(){return t.size}})}})},vH=e=>w(Re,{get when(){return!e.loading},get fallback(){return w(XA,{})},get children(){return e.children}}),_H=e=>w(go,{w:"$full",h:"$full",get children(){return w(zs,X({get color(){return hi()}},e))}});var QA=Bt("<svg stroke-width=0>");function He(e,t){const n=X(e.a,t),[r,a]=fe(n,["src"]),[i,o]=Ie(""),s=Ue(()=>t.title?"".concat(e.c,"<title>").concat(t.title,"</title>"):e.c);return Kt(()=>o(s())),wt(()=>{o("")}),(()=>{var l=QA();return Ud(l,X({get stroke(){var u;return(u=e.a)==null?void 0:u.stroke},get color(){return t.color||"currentColor"},get fill(){return t.color||"currentColor"},get style(){return{...t.style,overflow:"visible"}}},a,{get height(){return t.size||"1em"},get width(){return t.size||"1em"},xmlns:"http://www.w3.org/2000/svg",get innerHTML(){return i()}}),!0,!0),ma(l,()=>fm),l})()}function ZA(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M12 19 12 5"/><path d="M5 12 12 5 19 12"/>'},e)}function yH(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/>'},e)}function EH(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/><path d="M10 17 15 12 10 7"/><path d="M15 12 3 12"/>'},e)}function JA(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/>'},e)}function ek(e){return He({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M12 7A5 5 0 1 0 12 17 5 5 0 1 0 12 7z"/><path d="M12 1 12 3"/><path d="M12 21 12 23"/><path d="M4.22 4.22 5.64 5.64"/><path d="M18.36 18.36 19.78 19.78"/><path d="M1 12 3 12"/><path d="M21 12 23 12"/><path d="M4.22 19.78 5.64 18.36"/><path d="M18.36 5.64 19.78 4.22"/>'},e)}const tk=()=>{const{toggleColorMode:e}=s2(),t=oc({size:"$8",component:JA,p:"$0_5"},{size:"$8",component:ek,p:"$0_5"});return w(yi,{cursor:"pointer",get boxSize(){return t().size},get as(){return t().component},onClick:e,get p(){return t().p}})};function SH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M408 480H184a72 72 0 0 1-72-72V184a72 72 0 0 1 72-72h224a72 72 0 0 1 72 72v224a72 72 0 0 1-72 72Z"/><path d="M160 80h235.88A72.12 72.12 0 0 0 328 32H104a72 72 0 0 0-72 72v224a72.12 72.12 0 0 0 48 67.88V160a80 80 0 0 1 80-80Z"/>'},e)}function CH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M336 376V272H191a16 16 0 0 1 0-32h145V136a56.06 56.06 0 0 0-56-56H88a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h192a56.06 56.06 0 0 0 56-56ZM425.37 272l-52.68 52.69a16 16 0 0 0 22.62 22.62l80-80a16 16 0 0 0 0-22.62l-80-80a16 16 0 0 0-22.62 22.62L425.37 240H336v32Z"/>'},e)}function TH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M63.28 202a15.29 15.29 0 0 1-7.7-2 14.84 14.84 0 0 1-5.52-20.46C69.34 147.36 128 72.25 256 72.25c55.47 0 104.12 14.57 144.53 43.29 33.26 23.57 51.9 50.25 60.78 63.1a14.79 14.79 0 0 1-4 20.79 15.52 15.52 0 0 1-21.24-4C420 172.32 371 102 256 102c-112.25 0-163 64.71-179.53 92.46A15 15 0 0 1 63.28 202Z"/><path d="M320.49 496a15.31 15.31 0 0 1-3.79-.43c-92.85-23-127.52-115.82-128.93-119.68l-.22-.85c-.76-2.68-19.39-66.33 9.21-103.61 13.11-17 33.05-25.72 59.38-25.72 24.48 0 42.14 7.61 54.28 23.36 10 12.86 14 28.72 17.87 44 8.13 31.82 14 48.53 47.79 50.25 14.84.75 24.59-7.93 30.12-15.32 14.95-20.15 17.55-53 6.28-82C398 228.57 346.61 158 256 158c-38.68 0-74.22 12.43-102.72 35.79-23.59 19.35-42.28 46.67-51.28 74.75-16.69 52.28 5.2 134.46 5.41 135.21A14.83 14.83 0 0 1 96.54 422a15.39 15.39 0 0 1-18.74-10.6c-1-3.75-24.38-91.4-5.1-151.82 21-65.47 85.81-131.47 183.33-131.47 45.07 0 87.65 15.32 123.19 44.25 27.52 22.5 50 52.72 61.76 82.93 14.95 38.57 10.94 81.86-10.19 110.14-14.08 18.86-34.13 28.72-56.34 27.65-57.86-2.9-68.26-43.29-75.84-72.75-7.8-30.22-12.79-44.79-42.58-44.79-16.36 0-27.85 4.5-35 13.82-9.75 12.75-10.51 32.68-9.43 47.14a152.44 152.44 0 0 0 5.1 29.79c2.38 6 33.37 82 107.59 100.39a14.88 14.88 0 0 1 11 18.11 15.36 15.36 0 0 1-14.8 11.21Z"/><path d="M201.31 489.14a15.5 15.5 0 0 1-11.16-4.71c-37.16-39-58.18-82.61-66.09-137.14V347c-4.44-36.1 2.06-87.21 33.91-122.35 23.51-25.93 56.56-39.11 98.06-39.11 49.08 0 87.65 22.82 111.7 65.89 17.45 31.29 20.91 62.47 21 63.75a15.07 15.07 0 0 1-13.65 16.4 15.26 15.26 0 0 1-16.79-13.29A154 154 0 0 0 340.43 265c-18.64-32.89-47-49.61-84.51-49.61-32.4 0-57.75 9.75-75.19 29-25.14 27.75-30 70.5-26.55 98.78 6.93 48.22 25.46 86.58 58.18 120.86a14.7 14.7 0 0 1-.76 21.11 15.44 15.44 0 0 1-10.29 4Z"/><path d="M372.5 446.18c-32.5 0-60.13-9-82.24-26.89-44.42-35.79-49.4-94.08-49.62-96.54a15.27 15.27 0 0 1 30.45-2.36c.11.86 4.55 48.54 38.79 76 20.26 16.18 47.34 22.6 80.71 18.85a15.2 15.2 0 0 1 16.91 13.18 14.92 14.92 0 0 1-13.44 16.5 187 187 0 0 1-21.56 1.26ZM398.18 48.79C385.5 40.54 340.54 16 256 16c-88.74 0-133.81 27.11-143.78 34a11.59 11.59 0 0 0-1.84 1.4.36.36 0 0 1-.22.1 14.87 14.87 0 0 0-5.09 11.15 15.06 15.06 0 0 0 15.31 14.85 15.56 15.56 0 0 0 8.88-2.79c.43-.32 39.22-28.82 126.77-28.82S382.58 74.29 383 74.5a15.25 15.25 0 0 0 9.21 3 15.06 15.06 0 0 0 15.29-14.89 14.9 14.9 0 0 0-9.32-13.82Z"/>'},e)}function wH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M496 152a56 56 0 0 0-56-56H220.11a23.89 23.89 0 0 1-13.31-4L179 73.41A55.77 55.77 0 0 0 147.89 64H72a56 56 0 0 0-56 56v48a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8ZM16 392a56 56 0 0 0 56 56h368a56 56 0 0 0 56-56V216a8 8 0 0 0-8-8H24a8 8 0 0 0-8 8Z"/>'},e)}function AH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path d="M261.56 101.28a8 8 0 0 0-11.06 0L66.4 277.15a8 8 0 0 0-2.47 5.79L63.9 448a32 32 0 0 0 32 32H192a16 16 0 0 0 16-16V328a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8v136a16 16 0 0 0 16 16h96.06a32 32 0 0 0 32-32V282.94a8 8 0 0 0-2.47-5.79Z"/><path d="m490.91 244.15-74.8-71.56V64a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v32l-57.92-55.38C272.77 35.14 264.71 32 256 32c-8.68 0-16.72 3.14-22.14 8.63l-212.7 203.5c-6.22 6-7 15.87-1.34 22.37A16 16 0 0 0 43 267.56L250.5 69.28a8 8 0 0 1 11.06 0l207.52 198.28a16 16 0 0 0 22.59-.44c6.14-6.36 5.63-16.86-.76-22.97Z"/>'},e)}function nk(e){return He({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M48 112 336 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M192 64 192 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M272 448 368 224 464 448"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M301.5 384 434.5 384"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M281.3 112S257 206 199 277 80 384 80 384"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 336s-35-27-72-75-56-85-56-85"/>'},e)}function kH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M421.83 293.82A144 144 0 0 0 218.18 90.17"/><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M353.94 225.94a48 48 0 0 0-67.88-67.88"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M192 464 192 416"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M90.18 421.82 124.12 387.88"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M48 320 96 320"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M286.06 158.06 172.92 271.19a32 32 0 0 1-45.25 0L105 248.57a32 32 0 0 1 0-45.26L218.18 90.17M421.83 293.82 308.69 407a32 32 0 0 1-45.26 0l-22.62-22.63a32 32 0 0 1 0-45.26l113.13-113.17"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M139.6 169.98 207.48 237.87"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M275.36 305.75 343.25 373.63"/>'},e)}function OH(e){return He({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M176 112 256 32 336 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M255.98 32 256 480"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M176 400 256 480 336 400"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M400 176 480 256 400 336"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M112 176 32 256 112 336"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M32 256 480 256"/>'},e)}const[rk,IH]=Ie(!1),ak=e=>{const t=async n=>{gA(n),localStorage.setItem("lang",n)};return localStorage.getItem("lang")||t(Ts.find(n=>n.code===navigator.language)?navigator.language:"en"),[w(jC,{get children(){return[w(Nx,X({cursor:"pointer"},e)),w(Ax,{get children(){return w(uo,{each:Ts,children:(n,r)=>w(Ox,{onSelect:()=>{t(n.code)},get children(){return n.lang}})})}})]}}),w(Re,{get when(){return rk()},get children(){return w(Ha,{get children(){return w(go,{h:"$full",w:"$full",pos:"fixed",top:0,get bg(){return oc("$blackAlpha4","$whiteAlpha4")()},zIndex:"9000",get children(){return w(zs,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",color:"$info10",size:"xl"})}})}})}})]},NH=()=>w(ak,{as:nk,boxSize:"$8"});/*!
9
9
  Highlight.js v11.4.0 (git: 2d0e7c1094)
10
10
  (c) 2006-2022 Ivan Sagalaev and other contributors
11
11
  License: BSD-3-Clause
@@ -18,4 +18,4 @@ is-buffer/index.js:
18
18
  * @author Feross Aboukhadijeh <https://feross.org>
19
19
  * @license MIT
20
20
  *)
21
- */function du(e,t,n,r){const a=e.length;let i=0,o;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i<r.length;)o=r.slice(i,i+1e4),o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}const Lg={}.hasOwnProperty;function eN(e){const t={};let n=-1;for(;++n<e.length;)tN(t,e[n]);return t}function tN(e,t){let n;for(n in t){const a=(Lg.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){Lg.call(a,o)||(a[o]=[]);const s=i[o];nN(a[o],Array.isArray(s)?s:s?[s]:[])}}}function nN(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);du(e,0,0,r)}const rN=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,Os=Nc(/[A-Za-z]/),Cf=Nc(/[\dA-Za-z]/);function aN(e){return e!==null&&(e<32||e===127)}function zi(e){return e!==null&&e<-2}function Wn(e){return e!==null&&(e<0||e===32)}function sa(e){return e===-2||e===-1||e===32}const Ic=Nc(rN),vi=Nc(/\s/);function Nc(e){return t;function t(n){return n!==null&&e.test(String.fromCharCode(n))}}const iN={tokenize:dN,partial:!0},uv={tokenize:fN,partial:!0},cv={tokenize:hN,partial:!0},dv={tokenize:pN,partial:!0},oN={tokenize:gN,partial:!0},fv={tokenize:uN,previous:pv},hv={tokenize:cN,previous:gv},Sa={tokenize:lN,previous:mv},Jr={},sN={text:Jr};let ri=48;for(;ri<123;)Jr[ri]=Sa,ri++,ri===58?ri=65:ri===91&&(ri=97);Jr[43]=Sa;Jr[45]=Sa;Jr[46]=Sa;Jr[95]=Sa;Jr[72]=[Sa,hv];Jr[104]=[Sa,hv];Jr[87]=[Sa,fv];Jr[119]=[Sa,fv];function lN(e,t,n){const r=this;let a,i;return o;function o(p){return!Cd(p)||!mv.call(r,r.previous)||Tf(r.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(p))}function s(p){return Cd(p)?(e.consume(p),s):p===64?(e.consume(p),l):n(p)}function l(p){return p===46?e.check(oN,d,u)(p):p===45||p===95||Cf(p)?(i=!0,e.consume(p),l):d(p)}function u(p){return e.consume(p),a=!0,l}function d(p){return i&&a&&Os(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):n(p)}}function uN(e,t,n){const r=this;return a;function a(o){return o!==87&&o!==119||!pv.call(r,r.previous)||Tf(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(iN,e.attempt(uv,e.attempt(cv,i),n),n)(o))}function i(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function cN(e,t,n){const r=this;let a="",i=!1;return o;function o(p){return(p===72||p===104)&&gv.call(r,r.previous)&&!Tf(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(p),e.consume(p),s):n(p)}function s(p){if(Os(p)&&a.length<5)return a+=String.fromCodePoint(p),e.consume(p),s;if(p===58){const f=a.toLowerCase();if(f==="http"||f==="https")return e.consume(p),l}return n(p)}function l(p){return p===47?(e.consume(p),i?u:(i=!0,l)):n(p)}function u(p){return p===null||aN(p)||Wn(p)||vi(p)||Ic(p)?n(p):e.attempt(uv,e.attempt(cv,d),n)(p)}function d(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function dN(e,t,n){let r=0;return a;function a(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),a):o===46&&r===3?(e.consume(o),i):n(o)}function i(o){return o===null?n(o):t(o)}}function fN(e,t,n){let r,a,i;return o;function o(u){return u===46||u===95?e.check(dv,l,s)(u):u===null||Wn(u)||vi(u)||u!==45&&Ic(u)?l(u):(i=!0,e.consume(u),o)}function s(u){return u===95?r=!0:(a=r,r=void 0),e.consume(u),o}function l(u){return a||r||!i?n(u):t(u)}}function hN(e,t){let n=0,r=0;return a;function a(o){return o===40?(n++,e.consume(o),a):o===41&&r<n?i(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(dv,t,i)(o):o===null||Wn(o)||vi(o)?t(o):(e.consume(o),a)}function i(o){return o===41&&r++,e.consume(o),a}}function pN(e,t,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),i):s===93?(e.consume(s),a):s===60||s===null||Wn(s)||vi(s)?t(s):n(s)}function a(s){return s===null||s===40||s===91||Wn(s)||vi(s)?t(s):r(s)}function i(s){return Os(s)?o(s):n(s)}function o(s){return s===59?(e.consume(s),r):Os(s)?(e.consume(s),o):n(s)}}function gN(e,t,n){return r;function r(i){return e.consume(i),a}function a(i){return Cf(i)?n(i):t(i)}}function pv(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Wn(e)}function gv(e){return!Os(e)}function mv(e){return!(e===47||Cd(e))}function Cd(e){return e===43||e===45||e===46||e===95||Cf(e)}function Tf(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Rg(e){if(e===null||Wn(e)||vi(e))return 1;if(Ic(e))return 2}function mN(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function la(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let i=0;return o;function o(l){return sa(l)?(e.enter(n),s(l)):t(l)}function s(l){return sa(l)&&i++<a?(e.consume(l),s):(e.exit(n),t(l))}}const xN={tokenize:bN,partial:!0};function bN(e,t,n){return r;function r(i){return sa(i)?la(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||zi(i)?t(i):n(i)}}const Pg=document.createElement("i");function vN(e){const t="&"+e+";";Pg.innerHTML=t;const n=Pg.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Zs(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const _N={tokenize:kN,partial:!0};function yN(){return{document:{91:{tokenize:TN,continuation:{tokenize:wN},exit:AN}},text:{91:{tokenize:CN},93:{add:"after",tokenize:EN,resolveTo:SN}}}}function EN(e,t,n){const r=this;let a=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;a--;){const l=r.events[a][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return n(l);const u=Zs(r.sliceSerialize({start:o.end,end:r.now()}));return u.codePointAt(0)!==94||!i.includes(u.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function SN(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function CN(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,o;return s;function s(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),l}function l(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(p){if(i>999||p===93&&!o||p===null||p===91||Wn(p))return n(p);if(p===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return a.includes(Zs(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(p)}return Wn(p)||(o=!0),i++,e.consume(p),p===92?d:u}function d(p){return p===91||p===92||p===93?(e.consume(p),i++,u):u(p)}}function TN(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o=0,s;return l;function l(c){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(c),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(c){return c===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(c),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(c)}function d(c){if(o>999||c===93&&!s||c===null||c===91||Wn(c))return n(c);if(c===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return i=Zs(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(c),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return Wn(c)||(s=!0),o++,e.consume(c),c===92?p:d}function p(c){return c===91||c===92||c===93?(e.consume(c),o++,d):d(c)}function f(c){return c===58?(e.enter("definitionMarker"),e.consume(c),e.exit("definitionMarker"),a.includes(i)||a.push(i),la(e,h,"gfmFootnoteDefinitionWhitespace")):n(c)}function h(c){return t(c)}}function wN(e,t,n){return e.check(xN,t,e.attempt(_N,t,n))}function AN(e){e.exit("gfmFootnoteDefinition")}function kN(e,t,n){const r=this;return la(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(i):n(i)}}function ON(e){let n=(e||{}).singleTilde;const r={tokenize:i,resolveAll:a};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function a(o,s){let l=-1;for(;++l<o.length;)if(o[l][0]==="enter"&&o[l][1].type==="strikethroughSequenceTemporary"&&o[l][1]._close){let u=l;for(;u--;)if(o[u][0]==="exit"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._open&&o[l][1].end.offset-o[l][1].start.offset===o[u][1].end.offset-o[u][1].start.offset){o[l][1].type="strikethroughSequence",o[u][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},o[u][1].start),end:Object.assign({},o[l][1].end)},p={type:"strikethroughText",start:Object.assign({},o[u][1].end),end:Object.assign({},o[l][1].start)},f=[["enter",d,s],["enter",o[u][1],s],["exit",o[u][1],s],["enter",p,s]],h=s.parser.constructs.insideSpan.null;h&&du(f,f.length,0,mN(h,o.slice(u+1,l),s)),du(f,f.length,0,[["exit",p,s],["enter",o[l][1],s],["exit",o[l][1],s],["exit",d,s]]),du(o,u-1,l-u+3,f),l=u+f.length-2;break}}for(l=-1;++l<o.length;)o[l][1].type==="strikethroughSequenceTemporary"&&(o[l][1].type="data");return o}function i(o,s,l){const u=this.previous,d=this.events;let p=0;return f;function f(c){return u===126&&d[d.length-1][1].type!=="characterEscape"?l(c):(o.enter("strikethroughSequenceTemporary"),h(c))}function h(c){const g=Rg(u);if(c===126)return p>1?l(c):(o.consume(c),p++,h);if(p<2&&!n)return l(c);const m=o.exit("strikethroughSequenceTemporary"),x=Rg(c);return m._open=!x||x===2&&!!g,m._close=!g||g===2&&!!x,s(c)}}}class IN{constructor(){this.map=[]}add(t,n,r){NN(this,t,n,r)}consume(t){if(this.map.sort((i,o)=>i[0]-o[0]),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1])),r.push(this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let a=r.pop();for(;a;)t.push(...a),a=r.pop();this.map.length=0}}function NN(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}function LN(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}const RN={flow:{null:{tokenize:PN,resolveAll:DN}}};function PN(e,t,n){const r=this;let a=0,i=0,o;return s;function s(A){let I=r.events.length-1;for(;I>-1;){const G=r.events[I][1].type;if(G==="lineEnding"||G==="linePrefix")I--;else break}const $=I>-1?r.events[I][1].type:null,W=$==="tableHead"||$==="tableRow"?C:l;return W===C&&r.parser.lazy[r.now().line]?n(A):W(A)}function l(A){return e.enter("tableHead"),e.enter("tableRow"),u(A)}function u(A){return A===124||(o=!0,i+=1),d(A)}function d(A){return A===null?n(A):zi(A)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),h):n(A):sa(A)?la(e,d,"whitespace")(A):(i+=1,o&&(o=!1,a+=1),A===124?(e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),o=!0,d):(e.enter("data"),p(A)))}function p(A){return A===null||A===124||Wn(A)?(e.exit("data"),d(A)):(e.consume(A),A===92?f:p)}function f(A){return A===92||A===124?(e.consume(A),p):p(A)}function h(A){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(A):(e.enter("tableDelimiterRow"),o=!1,sa(A)?la(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):c(A))}function c(A){return A===45||A===58?m(A):A===124?(o=!0,e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),g):S(A)}function g(A){return sa(A)?la(e,m,"whitespace")(A):m(A)}function m(A){return A===58?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(A),e.exit("tableDelimiterMarker"),x):A===45?(i+=1,x(A)):A===null||zi(A)?_(A):S(A)}function x(A){return A===45?(e.enter("tableDelimiterFiller"),v(A)):S(A)}function v(A){return A===45?(e.consume(A),v):A===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(A),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(A))}function y(A){return sa(A)?la(e,_,"whitespace")(A):_(A)}function _(A){return A===124?c(A):A===null||zi(A)?!o||a!==i?S(A):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(A)):S(A)}function S(A){return n(A)}function C(A){return e.enter("tableRow"),T(A)}function T(A){return A===124?(e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),T):A===null||zi(A)?(e.exit("tableRow"),t(A)):sa(A)?la(e,T,"whitespace")(A):(e.enter("data"),R(A))}function R(A){return A===null||A===124||Wn(A)?(e.exit("data"),T(A)):(e.consume(A),A===92?P:R)}function P(A){return A===92||A===124?(e.consume(A),R):R(A)}}function DN(e,t){let n=-1,r=!0,a=0,i=[0,0,0,0],o=[0,0,0,0],s=!1,l=0,u,d,p;const f=new IN;for(;++n<e.length;){const h=e[n],c=h[1];h[0]==="enter"?c.type==="tableHead"?(s=!1,l!==0&&(Dg(f,t,l,u,d),d=void 0,l=0),u={type:"table",start:Object.assign({},c.start),end:Object.assign({},c.end)},f.add(n,0,[["enter",u,t]])):c.type==="tableRow"||c.type==="tableDelimiterRow"?(r=!0,p=void 0,i=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,d={type:"tableBody",start:Object.assign({},c.start),end:Object.assign({},c.end)},f.add(n,0,[["enter",d,t]])),a=c.type==="tableDelimiterRow"?2:d?3:1):a&&(c.type==="data"||c.type==="tableDelimiterMarker"||c.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(i[1]!==0&&(o[0]=o[1],p=Gl(f,t,i,a,void 0,p),i=[0,0,0,0]),o[2]=n)):c.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(o[0]=o[1],p=Gl(f,t,i,a,void 0,p)),i=o,o=[i[1],n,0,0])):c.type==="tableHead"?(s=!0,l=n):c.type==="tableRow"||c.type==="tableDelimiterRow"?(l=n,i[1]!==0?(o[0]=o[1],p=Gl(f,t,i,a,n,p)):o[1]!==0&&(p=Gl(f,t,o,a,n,p)),a=0):a&&(c.type==="data"||c.type==="tableDelimiterMarker"||c.type==="tableDelimiterFiller")&&(o[3]=n)}for(l!==0&&Dg(f,t,l,u,d),f.consume(t.events),n=-1;++n<t.events.length;){const h=t.events[n];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=LN(t.events,n))}return e}function Gl(e,t,n,r,a,i){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(i.end=Object.assign({},$i(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=$i(t.events,n[1]);if(i={type:o,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const u=$i(t.events,n[2]),d=$i(t.events,n[3]),p={type:s,start:Object.assign({},u),end:Object.assign({},d)};if(e.add(n[2],0,[["enter",p,t]]),r!==2){const f=t.events[n[2]],h=t.events[n[3]];if(f[1].end=Object.assign({},h[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){const c=n[2]+1,g=n[3]-n[2]-1;e.add(c,g,[])}}e.add(n[3]+1,0,[["exit",p,t]])}return a!==void 0&&(i.end=Object.assign({},$i(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function Dg(e,t,n,r,a){const i=[],o=$i(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function $i(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const MN={tokenize:FN},BN={text:{91:MN}};function FN(e,t,n){const r=this;return a;function a(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return Wn(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return zi(l)?t(l):sa(l)?e.check({tokenize:$N},t,n)(l):n(l)}}function $N(e,t,n){return la(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function HN(e){return eN([sN,yN(),ON(e),RN,BN])}function Mg(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}function UN(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const wf=(function(e){if(e==null)return WN;if(typeof e=="string")return qN(e);if(typeof e=="object")return Array.isArray(e)?zN(e):jN(e);if(typeof e=="function")return Lc(e);throw new Error("Expected function, string, or object as test")});function zN(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=wf(e[n]);return Lc(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].call(this,...a))return!0;return!1}}function jN(e){return Lc(t);function t(n){let r;for(r in e)if(n[r]!==e[r])return!1;return!0}}function qN(e){return Lc(t);function t(n){return n&&n.type===e}}function Lc(e){return t;function t(n,...r){return!!(n&&typeof n=="object"&&"type"in n&&e.call(this,n,...r))}}function WN(){return!0}const VN=!0,Bg=!1,GN="skip",KN=(function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null);const a=wf(t),i=r?-1:1;o(e,void 0,[])();function o(s,l,u){const d=s&&typeof s=="object"?s:{};if(typeof d.type=="string"){const f=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(s.type+(f?"<"+f+">":""))+")"})}return p;function p(){let f=[],h,c,g;if((!t||a(s,l,u[u.length-1]||null))&&(f=YN(n(s,u)),f[0]===Bg))return f;if(s.children&&f[0]!==GN)for(c=(r?s.children.length:-1)+i,g=u.concat(s);c>-1&&c<s.children.length;){if(h=o(s.children[c],c,g)(),h[0]===Bg)return h;c=typeof h[1]=="number"?h[1]:c+i}return f}}});function YN(e){return Array.isArray(e)?e:typeof e=="number"?[VN,e]:[e]}const XN={}.hasOwnProperty,QN=(function(e,t,n,r){let a,i;typeof t=="string"||t instanceof RegExp?(i=[[t,n]],a=r):(i=t,a=n),a||(a={});const o=wf(a.ignore||[]),s=ZN(i);let l=-1;for(;++l<s.length;)KN(e,"text",u);return e;function u(p,f){let h=-1,c;for(;++h<f.length;){const g=f[h];if(o(g,c?c.children.indexOf(g):void 0,c))return;c=g}if(c)return d(p,f)}function d(p,f){const h=f[f.length-1],c=s[l][0],g=s[l][1];let m=0;const x=h.children.indexOf(p);let v=!1,y=[];c.lastIndex=0;let _=c.exec(p.value);for(;_;){const S=_.index,C={index:_.index,input:_.input,stack:[...f,p]};let T=g(..._,C);if(typeof T=="string"&&(T=T.length>0?{type:"text",value:T}:void 0),T!==!1&&(m!==S&&y.push({type:"text",value:p.value.slice(m,S)}),Array.isArray(T)?y.push(...T):T&&y.push(T),m=S+_[0].length,v=!0),!c.global)break;_=c.exec(p.value)}return v?(m<p.value.length&&y.push({type:"text",value:p.value.slice(m)}),h.children.splice(x,1,...y)):y=[p],x+y.length}});function ZN(e){const t=[];if(typeof e!="object")throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([Fg(e[n][0]),$g(e[n][1])])}else{let n;for(n in e)XN.call(e,n)&&t.push([Fg(n),$g(e[n])])}return t}function Fg(e){return typeof e=="string"?new RegExp(UN(e),"g"):e}function $g(e){return typeof e=="function"?e:()=>e}const N0="phrasing",L0=["autolink","link","image","label"],JN={transforms:[oL],enter:{literalAutolink:tL,literalAutolinkEmail:R0,literalAutolinkHttp:R0,literalAutolinkWww:R0},exit:{literalAutolink:iL,literalAutolinkEmail:aL,literalAutolinkHttp:nL,literalAutolinkWww:rL}},eL={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:N0,notInConstruct:L0},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:N0,notInConstruct:L0},{character:":",before:"[ps]",after:"\\/",inConstruct:N0,notInConstruct:L0}]};function tL(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function R0(e){this.config.enter.autolinkProtocol.call(this,e)}function nL(e){this.config.exit.autolinkProtocol.call(this,e)}function rL(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function aL(e){this.config.exit.autolinkEmail.call(this,e)}function iL(e){this.exit(e)}function oL(e){QN(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,sL],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,lL]],{ignore:["link","linkReference"]})}function sL(e,t,n,r,a){let i="";if(!xv(a)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!uL(n)))return!1;const o=cL(n+r);if(!o[0])return!1;const s={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function lL(e,t,n,r){return!xv(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function uL(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function cL(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=Mg(e,"(");let i=Mg(e,")");for(;r!==-1&&a>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function xv(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||vi(n)||Ic(n))&&(!t||n!==47)}function dL(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const fL=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function hL(e){return e.replace(fL,pL)}function pL(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return dL(n.slice(i?2:1),i?16:10)}return vN(n)||e}function bv(e){return e.label||!e.identifier?e.label||"":hL(e.identifier)}function gL(e,t,n){const r=t.indexStack,a=e.children||[],i=t.createTracker(n),o=[];let s=-1;for(r.push(-1);++s<a.length;){const l=a[s];r[r.length-1]=s,o.push(i.move(t.handle(l,e,t,{before:"\n",after:"\n",...i.current()}))),l.type!=="list"&&(t.bulletLastUsed=void 0),s<a.length-1&&o.push(i.move(mL(l,a[s+1],e,t)))}return r.pop(),o.join("")}function mL(e,t,n,r){let a=r.join.length;for(;a--;){const i=r.join[a](e,t,n,r);if(i===!0||i===1)break;if(typeof i=="number")return"\n".repeat(1+i);if(i===!1)return"\n\n<!---->\n\n"}return"\n\n"}const xL=/\r?\n|\r/g;function bL(e,t){const n=[];let r=0,a=0,i;for(;i=xL.exec(e);)o(e.slice(r,i.index)),n.push(i[0]),r=i.index+i[0].length,a++;return o(e.slice(r)),n.join("");function o(s){n.push(t(s,a,!s))}}function vv(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function vL(e,t){return Hg(e,t.inConstruct,!0)&&!Hg(e,t.notInConstruct,!1)}function Hg(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function _v(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),a=[],i=[],o={};let s=-1;for(;++s<e.unsafe.length;){const d=e.unsafe[s];if(!vL(e.stack,d))continue;const p=vv(d);let f;for(;f=p.exec(r);){const h="before"in d||!!d.atBreak,c="after"in d,g=f.index+(h?f[1].length:0);a.includes(g)?(o[g].before&&!h&&(o[g].before=!1),o[g].after&&!c&&(o[g].after=!1)):(a.push(g),o[g]={before:h,after:c})}}a.sort(_L);let l=n.before?n.before.length:0;const u=r.length-(n.after?n.after.length:0);for(s=-1;++s<a.length;){const d=a[s];d<l||d>=u||d+1<u&&a[s+1]===d+1&&o[d].after&&!o[d+1].before&&!o[d+1].after||a[s-1]===d-1&&o[d].before&&!o[d-1].before&&!o[d-1].after||(l!==d&&i.push(Ug(r.slice(l,d),"\\")),l=d,/[!-/:-@[-`{-~]/.test(r.charAt(d))&&(!n.encode||!n.encode.includes(r.charAt(d)))?i.push("\\"):(i.push("&#x"+r.charCodeAt(d).toString(16).toUpperCase()+";"),l++))}return i.push(Ug(r.slice(l,u),n.after)),i.join("")}function _L(e,t){return e-t}function Ug(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],a=[],i=e+t;let o=-1,s=0,l;for(;l=n.exec(i);)r.push(l.index);for(;++o<r.length;)s!==r[o]&&a.push(e.slice(s,r[o])),a.push("\\"),s=r[o];return a.push(e.slice(s)),a.join("")}function Rc(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,a=n.line||1,i=n.column||1;return{move:l,current:o,shift:s};function o(){return{now:{line:a,column:i},lineShift:r}}function s(u){r+=u}function l(u){const d=u||"",p=d.split(/\r?\n|\r/g),f=p[p.length-1];return a+=p.length-1,i=p.length===1?i+f.length:1+f.length+r,d}}yv.peek=NL;function yL(){return{enter:{gfmFootnoteDefinition:SL,gfmFootnoteDefinitionLabelString:CL,gfmFootnoteCall:AL,gfmFootnoteCallString:kL},exit:{gfmFootnoteDefinition:wL,gfmFootnoteDefinitionLabelString:TL,gfmFootnoteCall:IL,gfmFootnoteCallString:OL}}}function EL(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:LL,footnoteReference:yv}}}function SL(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function CL(){this.buffer()}function TL(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Zs(this.sliceSerialize(e)).toLowerCase()}function wL(e){this.exit(e)}function AL(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function kL(){this.buffer()}function OL(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Zs(this.sliceSerialize(e)).toLowerCase()}function IL(e){this.exit(e)}function yv(e,t,n,r){const a=Rc(r);let i=a.move("[^");const o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(_v(n,bv(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]"),i}function NL(){return"["}function LL(e,t,n,r){const a=Rc(r);let i=a.move("[^");const o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(_v(n,bv(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(bL(gL(e,n,a.current()),RL)),o(),i}function RL(e,t,n){return t===0?e:(n?"":" ")+e}function Ev(e,t,n){const r=t.indexStack,a=e.children||[],i=[];let o=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++o<a.length;){const u=a[o];let d;if(r[r.length-1]=o,o+1<a.length){let p=t.handle.handlers[a[o+1].type];p&&p.peek&&(p=p.peek),d=p?p(a[o+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else d=n.after;i.length>0&&(s==="\r"||s==="\n")&&u.type==="html"&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(i.join(""))),i.push(l.move(t.handle(u,e,t,{...l.current(),before:s,after:d}))),s=i[i.length-1].slice(-1)}return r.pop(),i.join("")}const PL=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Sv.peek=$L;const DL={canContainEols:["delete"],enter:{strikethrough:BL},exit:{strikethrough:FL}},ML={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:PL}],handlers:{delete:Sv}};function BL(e){this.enter({type:"delete",children:[]},e)}function FL(e){this.exit(e)}function Sv(e,t,n,r){const a=Rc(r),i=n.enter("strikethrough");let o=a.move("~~");return o+=Ev(e,n,{...a.current(),before:o,after:"~"}),o+=a.move("~~"),i(),o}function $L(){return"~"}Cv.peek=HL;function Cv(e,t,n){let r=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const o=n.unsafe[i],s=vv(o);let l;if(o.atBreak)for(;l=s.exec(r);){let u=l.index;r.charCodeAt(u)===10&&r.charCodeAt(u-1)===13&&u--,r=r.slice(0,u)+" "+r.slice(l.index+1)}}return a+r+a}function HL(){return"`"}function UL(e){return e.length}function zL(e,t){const n=t||{},r=(n.align||[]).concat(),a=n.stringLength||UL,i=[],o=[],s=[],l=[];let u=0,d=-1;for(;++d<e.length;){const g=[],m=[];let x=-1;for(e[d].length>u&&(u=e[d].length);++x<e[d].length;){const v=jL(e[d][x]);if(n.alignDelimiters!==!1){const y=a(v);m[x]=y,(l[x]===void 0||y>l[x])&&(l[x]=y)}g.push(v)}o[d]=g,s[d]=m}let p=-1;if(typeof r=="object"&&"length"in r)for(;++p<u;)i[p]=zg(r[p]);else{const g=zg(r);for(;++p<u;)i[p]=g}p=-1;const f=[],h=[];for(;++p<u;){const g=i[p];let m="",x="";g===99?(m=":",x=":"):g===108?m=":":g===114&&(x=":");let v=n.alignDelimiters===!1?1:Math.max(1,l[p]-m.length-x.length);const y=m+"-".repeat(v)+x;n.alignDelimiters!==!1&&(v=m.length+v+x.length,v>l[p]&&(l[p]=v),h[p]=v),f[p]=y}o.splice(1,0,f),s.splice(1,0,h),d=-1;const c=[];for(;++d<o.length;){const g=o[d],m=s[d];p=-1;const x=[];for(;++p<u;){const v=g[p]||"";let y="",_="";if(n.alignDelimiters!==!1){const S=l[p]-(m[p]||0),C=i[p];C===114?y=" ".repeat(S):C===99?S%2?(y=" ".repeat(S/2+.5),_=" ".repeat(S/2-.5)):(y=" ".repeat(S/2),_=y):_=" ".repeat(S)}n.delimiterStart!==!1&&!p&&x.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&v==="")&&(n.delimiterStart!==!1||p)&&x.push(" "),n.alignDelimiters!==!1&&x.push(y),x.push(v),n.alignDelimiters!==!1&&x.push(_),n.padding!==!1&&x.push(" "),(n.delimiterEnd!==!1||p!==u-1)&&x.push("|")}c.push(n.delimiterEnd===!1?x.join("").replace(/ +$/,""):x.join(""))}return c.join("\n")}function jL(e){return e==null?"":String(e)}function zg(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}const qL={enter:{table:WL,tableData:jg,tableHeader:jg,tableRow:GL},exit:{codeText:KL,table:VL,tableData:P0,tableHeader:P0,tableRow:P0}};function WL(e){const t=e._align;this.enter({type:"table",align:t.map(n=>n==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function VL(e){this.exit(e),this.setData("inTable")}function GL(e){this.enter({type:"tableRow",children:[]},e)}function P0(e){this.exit(e)}function jg(e){this.enter({type:"tableCell",children:[]},e)}function KL(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,YL));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function YL(e,t){return t==="|"?t:e}function XL(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:o,tableRow:s,tableCell:l,inlineCode:f}};function o(h,c,g,m){return u(d(h,g,m),h.align)}function s(h,c,g,m){const x=p(h,g,m),v=u([x]);return v.slice(0,v.indexOf("\n"))}function l(h,c,g,m){const x=g.enter("tableCell"),v=g.enter("phrasing"),y=Ev(h,g,{...m,before:i,after:i});return v(),x(),y}function u(h,c){return zL(h,{align:c,alignDelimiters:r,padding:n,stringLength:a})}function d(h,c,g){const m=h.children;let x=-1;const v=[],y=c.enter("table");for(;++x<m.length;)v[x]=p(m[x],c,g);return y(),v}function p(h,c,g){const m=h.children;let x=-1;const v=[],y=c.enter("tableRow");for(;++x<m.length;)v[x]=l(m[x],h,c,g);return y(),v}function f(h,c,g){let m=Cv(h,c,g);return g.stack.includes("tableCell")&&(m=m.replace(/\|/g,"\\$&")),m}}function QL(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function ZL(e){const t=e.options.listItemIndent||"tab";if(t===1||t==="1")return"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function JL(e,t,n,r){const a=ZL(n);let i=n.bulletCurrent||QL(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let o=i.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);const l=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),d);return l(),u;function d(p,f,h){return f?(h?"":" ".repeat(o))+p:(h?i:i+" ".repeat(o-i.length))+p}}const eR={exit:{taskListCheckValueChecked:qg,taskListCheckValueUnchecked:qg,paragraph:nR}},tR={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:rR}};function qg(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function nR(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1],r=n.children[0];if(r&&r.type==="text"){const a=t.children;let i=-1,o;for(;++i<a.length;){const s=a[i];if(s.type==="paragraph"){o=s;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function rR(e,t,n,r){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=Rc(r);i&&s.move(o);let l=JL(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),l;function u(d){return d+o}}function aR(){return[JN,yL(),DL,qL,eR]}function iR(e){return{extensions:[eL,EL(),ML,XL(e),tR]}}function oR(e={}){const t=this.data();n("micromarkExtensions",HN(e)),n("fromMarkdownExtensions",aR()),n("toMarkdownExtensions",iR(e));function n(r,a){(t[r]?t[r]:t[r]=[]).push(a)}}const Tv=-1,Pc=0,cs=1,Hu=2,Af=3,kf=4,Of=5,If=6,wv=7,Av=8,Wg=typeof self=="object"?self:globalThis,sR=(e,t)=>{const n=(a,i)=>(e.set(i,a),a),r=a=>{if(e.has(a))return e.get(a);const[i,o]=t[a];switch(i){case Pc:case Tv:return n(o,a);case cs:{const s=n([],a);for(const l of o)s.push(r(l));return s}case Hu:{const s=n({},a);for(const[l,u]of o)s[r(l)]=r(u);return s}case Af:return n(new Date(o),a);case kf:{const{source:s,flags:l}=o;return n(new RegExp(s,l),a)}case Of:{const s=n(new Map,a);for(const[l,u]of o)s.set(r(l),r(u));return s}case If:{const s=n(new Set,a);for(const l of o)s.add(r(l));return s}case wv:{const{name:s,message:l}=o;return n(new Wg[s](l),a)}case Av:return n(BigInt(o),a);case"BigInt":return n(Object(BigInt(o)),a);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:s}=new Uint8Array(o);return n(new DataView(s),o)}}return n(new Wg[i](o),a)};return r},Vg=e=>sR(new Map,e)(0),Di="",{toString:lR}={},{keys:uR}=Object,Ko=e=>{const t=typeof e;if(t!=="object"||!e)return[Pc,t];const n=lR.call(e).slice(8,-1);switch(n){case"Array":return[cs,Di];case"Object":return[Hu,Di];case"Date":return[Af,Di];case"RegExp":return[kf,Di];case"Map":return[Of,Di];case"Set":return[If,Di];case"DataView":return[cs,n]}return n.includes("Array")?[cs,n]:n.includes("Error")?[wv,n]:[Hu,n]},Kl=([e,t])=>e===Pc&&(t==="function"||t==="symbol"),cR=(e,t,n,r)=>{const a=(o,s)=>{const l=r.push(o)-1;return n.set(s,l),l},i=o=>{if(n.has(o))return n.get(o);let[s,l]=Ko(o);switch(s){case Pc:{let d=o;switch(l){case"bigint":s=Av,d=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);d=null;break;case"undefined":return a([Tv],o)}return a([s,d],o)}case cs:{if(l){let f=o;return l==="DataView"?f=new Uint8Array(o.buffer):l==="ArrayBuffer"&&(f=new Uint8Array(o)),a([l,[...f]],o)}const d=[],p=a([s,d],o);for(const f of o)d.push(i(f));return p}case Hu:{if(l)switch(l){case"BigInt":return a([l,o.toString()],o);case"Boolean":case"Number":case"String":return a([l,o.valueOf()],o)}if(t&&"toJSON"in o)return i(o.toJSON());const d=[],p=a([s,d],o);for(const f of uR(o))(e||!Kl(Ko(o[f])))&&d.push([i(f),i(o[f])]);return p}case Af:return a([s,o.toISOString()],o);case kf:{const{source:d,flags:p}=o;return a([s,{source:d,flags:p}],o)}case Of:{const d=[],p=a([s,d],o);for(const[f,h]of o)(e||!(Kl(Ko(f))||Kl(Ko(h))))&&d.push([i(f),i(h)]);return p}case If:{const d=[],p=a([s,d],o);for(const f of o)(e||!Kl(Ko(f)))&&d.push(i(f));return p}}const{message:u}=o;return a([s,{name:l,message:u}],o)};return i},Gg=(e,{json:t,lossy:n}={})=>{const r=[];return cR(!(t||n),!!t,new Map,r)(e),r},Kg=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Vg(Gg(e,t)):structuredClone(e):(e,t)=>Vg(Gg(e,t));let Js=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};Js.prototype.normal={};Js.prototype.property={};Js.prototype.space=void 0;function kv(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new Js(n,r,t)}function Is(e){return e.toLowerCase()}let Gn=class{constructor(t,n){this.attribute=n,this.property=t}};Gn.prototype.attribute="";Gn.prototype.booleanish=!1;Gn.prototype.boolean=!1;Gn.prototype.commaOrSpaceSeparated=!1;Gn.prototype.commaSeparated=!1;Gn.prototype.defined=!1;Gn.prototype.mustUseProperty=!1;Gn.prototype.number=!1;Gn.prototype.overloadedBoolean=!1;Gn.prototype.property="";Gn.prototype.spaceSeparated=!1;Gn.prototype.space=void 0;let dR=0;const et=Si(),sn=Si(),Td=Si(),ge=Si(),Dt=Si(),Xi=Si(),er=Si();function Si(){return 2**++dR}const wd=Object.freeze(Object.defineProperty({__proto__:null,boolean:et,booleanish:sn,commaOrSpaceSeparated:er,commaSeparated:Xi,number:ge,overloadedBoolean:Td,spaceSeparated:Dt},Symbol.toStringTag,{value:"Module"})),D0=Object.keys(wd);let Nf=class extends Gn{constructor(t,n,r,a){let i=-1;if(super(t,n),Yg(this,"space",a),typeof r=="number")for(;++i<D0.length;){const o=D0[i];Yg(this,D0[i],(r&wd[o])===wd[o])}}};Nf.prototype.defined=!0;function Yg(e,t,n){n&&(e[t]=n)}function Eo(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const i=new Nf(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Is(r)]=r,n[Is(i.attribute)]=r}return new Js(t,n,e.space)}const Ov=Eo({properties:{ariaActiveDescendant:null,ariaAtomic:sn,ariaAutoComplete:null,ariaBusy:sn,ariaChecked:sn,ariaColCount:ge,ariaColIndex:ge,ariaColSpan:ge,ariaControls:Dt,ariaCurrent:null,ariaDescribedBy:Dt,ariaDetails:null,ariaDisabled:sn,ariaDropEffect:Dt,ariaErrorMessage:null,ariaExpanded:sn,ariaFlowTo:Dt,ariaGrabbed:sn,ariaHasPopup:null,ariaHidden:sn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Dt,ariaLevel:ge,ariaLive:null,ariaModal:sn,ariaMultiLine:sn,ariaMultiSelectable:sn,ariaOrientation:null,ariaOwns:Dt,ariaPlaceholder:null,ariaPosInSet:ge,ariaPressed:sn,ariaReadOnly:sn,ariaRelevant:null,ariaRequired:sn,ariaRoleDescription:Dt,ariaRowCount:ge,ariaRowIndex:ge,ariaRowSpan:ge,ariaSelected:sn,ariaSetSize:ge,ariaSort:null,ariaValueMax:ge,ariaValueMin:ge,ariaValueNow:ge,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Iv(e,t){return t in e?e[t]:t}function Nv(e,t){return Iv(e,t.toLowerCase())}const fR=Eo({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Xi,acceptCharset:Dt,accessKey:Dt,action:null,allow:null,allowFullScreen:et,allowPaymentRequest:et,allowUserMedia:et,alt:null,as:null,async:et,autoCapitalize:null,autoComplete:Dt,autoFocus:et,autoPlay:et,blocking:Dt,capture:null,charSet:null,checked:et,cite:null,className:Dt,cols:ge,colSpan:null,content:null,contentEditable:sn,controls:et,controlsList:Dt,coords:ge|Xi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:et,defer:et,dir:null,dirName:null,disabled:et,download:Td,draggable:sn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:et,formTarget:null,headers:Dt,height:ge,hidden:Td,high:ge,href:null,hrefLang:null,htmlFor:Dt,httpEquiv:Dt,id:null,imageSizes:null,imageSrcSet:null,inert:et,inputMode:null,integrity:null,is:null,isMap:et,itemId:null,itemProp:Dt,itemRef:Dt,itemScope:et,itemType:Dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:et,low:ge,manifest:null,max:null,maxLength:ge,media:null,method:null,min:null,minLength:ge,multiple:et,muted:et,name:null,nonce:null,noModule:et,noValidate:et,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:et,optimum:ge,pattern:null,ping:Dt,placeholder:null,playsInline:et,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:et,referrerPolicy:null,rel:Dt,required:et,reversed:et,rows:ge,rowSpan:ge,sandbox:Dt,scope:null,scoped:et,seamless:et,selected:et,shadowRootClonable:et,shadowRootDelegatesFocus:et,shadowRootMode:null,shape:null,size:ge,sizes:null,slot:null,span:ge,spellCheck:sn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ge,step:null,style:null,tabIndex:ge,target:null,title:null,translate:null,type:null,typeMustMatch:et,useMap:null,value:sn,width:ge,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Dt,axis:null,background:null,bgColor:null,border:ge,borderColor:null,bottomMargin:ge,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:et,declare:et,event:null,face:null,frame:null,frameBorder:null,hSpace:ge,leftMargin:ge,link:null,longDesc:null,lowSrc:null,marginHeight:ge,marginWidth:ge,noResize:et,noHref:et,noShade:et,noWrap:et,object:null,profile:null,prompt:null,rev:null,rightMargin:ge,rules:null,scheme:null,scrolling:sn,standby:null,summary:null,text:null,topMargin:ge,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ge,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:et,disableRemotePlayback:et,prefix:null,property:null,results:ge,security:null,unselectable:null},space:"html",transform:Nv}),hR=Eo({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:er,accentHeight:ge,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ge,amplitude:ge,arabicForm:null,ascent:ge,attributeName:null,attributeType:null,azimuth:ge,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ge,by:null,calcMode:null,capHeight:ge,className:Dt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ge,diffuseConstant:ge,direction:null,display:null,dur:null,divisor:ge,dominantBaseline:null,download:et,dx:null,dy:null,edgeMode:null,editable:null,elevation:ge,enableBackground:null,end:null,event:null,exponent:ge,externalResourcesRequired:null,fill:null,fillOpacity:ge,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Xi,g2:Xi,glyphName:Xi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ge,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ge,horizOriginX:ge,horizOriginY:ge,id:null,ideographic:ge,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ge,k:ge,k1:ge,k2:ge,k3:ge,k4:ge,kernelMatrix:er,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ge,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ge,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ge,overlineThickness:ge,paintOrder:null,panose1:null,path:null,pathLength:ge,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ge,pointsAtY:ge,pointsAtZ:ge,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:er,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:er,rev:er,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:er,requiredFeatures:er,requiredFonts:er,requiredFormats:er,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ge,specularExponent:ge,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ge,strikethroughThickness:ge,string:null,stroke:null,strokeDashArray:er,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ge,strokeOpacity:ge,strokeWidth:null,style:null,surfaceScale:ge,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:er,tabIndex:ge,tableValues:null,target:null,targetX:ge,targetY:ge,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:er,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ge,underlineThickness:ge,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ge,values:null,vAlphabetic:ge,vMathematical:ge,vectorEffect:null,vHanging:ge,vIdeographic:ge,version:null,vertAdvY:ge,vertOriginX:ge,vertOriginY:ge,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ge,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Iv}),Lv=Eo({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Rv=Eo({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Nv}),Pv=Eo({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),pR=/[A-Z]/g,Xg=/-[a-z]/g,gR=/^data[-\w.:]+$/i;function Dv(e,t){const n=Is(t);let r=t,a=Gn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&gR.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Xg,xR);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Xg.test(i)){let o=i.replace(pR,mR);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=Nf}return new a(r,t)}function mR(e){return"-"+e.toLowerCase()}function xR(e){return e.charAt(1).toUpperCase()}const Lf=kv([Ov,fR,Lv,Rv,Pv],"html"),Rf=kv([Ov,hR,Lv,Rv,Pv],"svg");function Qg(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const o=n.slice(a,r).trim();(o||!i)&&t.push(o),a=r+1,r=n.indexOf(",",a)}return t}function bR(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Zg=/[#.]/g;function vR(e,t){const n=e||"",r={};let a=0,i,o;for(;a<n.length;){Zg.lastIndex=a;const s=Zg.exec(n),l=n.slice(a,s?s.index:n.length);l&&(i?i==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:o=l,a+=l.length),s&&(i=s[0],a++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}function Jg(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function _R(e){return e.join(" ").trim()}function Mv(e,t,n){const r=n?CR(n):void 0;function a(i,o,...s){let l;if(i==null){l={type:"root",children:[]};const u=o;s.unshift(u)}else{l=vR(i,t);const u=l.tagName.toLowerCase(),d=r?r.get(u):void 0;if(l.tagName=d||u,yR(o))s.unshift(o);else for(const[p,f]of Object.entries(o))ER(e,l.properties,p,f)}for(const u of s)Ad(l.children,u);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return a}function yR(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const a=t[r];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const o of i)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function ER(e,t,n,r){const a=Dv(e,n);let i;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;i=r}else typeof r=="boolean"?i=r:typeof r=="string"?a.spaceSeparated?i=Jg(r):a.commaSeparated?i=Qg(r):a.commaOrSpaceSeparated?i=Jg(Qg(r).join(" ")):i=e1(a,a.property,r):Array.isArray(r)?i=[...r]:i=a.property==="style"?SR(r):String(r);if(Array.isArray(i)){const o=[];for(const s of i)o.push(e1(a,a.property,s));i=o}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function Ad(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)Ad(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?Ad(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function e1(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Is(n)===Is(t)))return!0}return n}function SR(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function CR(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const TR=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],wR=Mv(Lf,"div"),AR=Mv(Rf,"g",TR);function kR(e){const t=String(e),n=[];return{toOffset:a,toPoint:r};function r(i){if(typeof i=="number"&&i>-1&&i<=t.length){let o=0;for(;;){let s=n[o];if(s===void 0){const l=t1(t,n[o-1]);s=l===-1?t.length+1:l+1,n[o]=s}if(s>i)return{line:o+1,column:i-(o>0?n[o-1]:0)+1,offset:i};o++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){const s=n[n.length-1],l=t1(t,s),u=l===-1?t.length+1:l+1;if(s===u)break;n.push(u)}const o=(i.line>1?n[i.line-2]:0)+i.column-1;if(o<n[i.line-1])return o}}}function t1(e,t){const n=e.indexOf("\r",t),r=e.indexOf("\n",t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const li={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Bv={}.hasOwnProperty,OR=Object.prototype;function IR(e,t){const n=t||{};return Pf({file:n.file||void 0,location:!1,schema:n.space==="svg"?Rf:Lf,verbose:n.verbose||!1},e)}function Pf(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},fu(e,r,n),n}case"#document":case"#document-fragment":{const r=t,a="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Fv(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),o=kR(i),s=o.toPoint(0),l=o.toPoint(i.length);n.position={start:s,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},fu(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},fu(e,r,n),n}default:return n=NR(e,t),n}}function Fv(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=Pf(e,t[n]);r.push(a)}return r}function NR(e,t){const n=e.schema;e.schema=t.namespaceURI===li.svg?Rf:Lf;let r=-1;const a={};for(;++r<t.attrs.length;){const s=t.attrs[r],l=(s.prefix?s.prefix+":":"")+s.name;Bv.call(OR,l)||(a[l]=s.value)}const o=(e.schema.space==="svg"?AR:wR)(t.tagName,a,Fv(e,t.childNodes));if(fu(e,t,o),o.tagName==="template"){const s=t,l=s.sourceCodeLocation,u=l&&l.startTag&&ji(l.startTag),d=l&&l.endTag&&ji(l.endTag),p=Pf(e,s.content);u&&d&&e.file&&(p.position={start:u.end,end:d.start}),o.content=p}return e.schema=n,o}function fu(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=LR(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function LR(e,t,n){const r=ji(n);if(t.type==="element"){const a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){const i={};let o;if(n.attrs)for(o in n.attrs)Bv.call(n.attrs,o)&&(i[Dv(e.schema,o).property]=ji(n.attrs[o]));n.startTag;const s=ji(n.startTag),l=n.endTag?ji(n.endTag):void 0,u={opening:s};l&&(u.closing=l),u.properties=i,t.data={position:u}}}return r}function ji(e){const t=n1({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=n1({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function n1(e){return e.line&&e.column?e:void 0}class el{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}el.prototype.property={};el.prototype.normal={};el.prototype.space=null;function $v(e,t){const n={},r={};let a=-1;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new el(n,r,t)}function kd(e){return e.toLowerCase()}class yr{constructor(t,n){this.property=t,this.attribute=n}}yr.prototype.space=null;yr.prototype.boolean=!1;yr.prototype.booleanish=!1;yr.prototype.overloadedBoolean=!1;yr.prototype.number=!1;yr.prototype.commaSeparated=!1;yr.prototype.spaceSeparated=!1;yr.prototype.commaOrSpaceSeparated=!1;yr.prototype.mustUseProperty=!1;yr.prototype.defined=!1;let RR=0;const Ze=Ci(),ln=Ci(),Hv=Ci(),me=Ci(),Mt=Ci(),Qi=Ci(),tr=Ci();function Ci(){return 2**++RR}const Od=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ze,booleanish:ln,commaOrSpaceSeparated:tr,commaSeparated:Qi,number:me,overloadedBoolean:Hv,spaceSeparated:Mt},Symbol.toStringTag,{value:"Module"})),M0=Object.keys(Od);class Df extends yr{constructor(t,n,r,a){let i=-1;if(super(t,n),r1(this,"space",a),typeof r=="number")for(;++i<M0.length;){const o=M0[i];r1(this,M0[i],(r&Od[o])===Od[o])}}}Df.prototype.defined=!0;function r1(e,t,n){n&&(e[t]=n)}const PR={}.hasOwnProperty;function So(e){const t={},n={};let r;for(r in e.properties)if(PR.call(e.properties,r)){const a=e.properties[r],i=new Df(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[kd(r)]=r,n[kd(i.attribute)]=r}return new el(t,n,e.space)}const Uv=So({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),zv=So({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function jv(e,t){return t in e?e[t]:t}function qv(e,t){return jv(e,t.toLowerCase())}const Wv=So({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:qv,properties:{xmlns:null,xmlnsXLink:null}}),Vv=So({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ln,ariaAutoComplete:null,ariaBusy:ln,ariaChecked:ln,ariaColCount:me,ariaColIndex:me,ariaColSpan:me,ariaControls:Mt,ariaCurrent:null,ariaDescribedBy:Mt,ariaDetails:null,ariaDisabled:ln,ariaDropEffect:Mt,ariaErrorMessage:null,ariaExpanded:ln,ariaFlowTo:Mt,ariaGrabbed:ln,ariaHasPopup:null,ariaHidden:ln,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Mt,ariaLevel:me,ariaLive:null,ariaModal:ln,ariaMultiLine:ln,ariaMultiSelectable:ln,ariaOrientation:null,ariaOwns:Mt,ariaPlaceholder:null,ariaPosInSet:me,ariaPressed:ln,ariaReadOnly:ln,ariaRelevant:null,ariaRequired:ln,ariaRoleDescription:Mt,ariaRowCount:me,ariaRowIndex:me,ariaRowSpan:me,ariaSelected:ln,ariaSetSize:me,ariaSort:null,ariaValueMax:me,ariaValueMin:me,ariaValueNow:me,ariaValueText:null,role:null}}),DR=So({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:qv,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Qi,acceptCharset:Mt,accessKey:Mt,action:null,allow:null,allowFullScreen:Ze,allowPaymentRequest:Ze,allowUserMedia:Ze,alt:null,as:null,async:Ze,autoCapitalize:null,autoComplete:Mt,autoFocus:Ze,autoPlay:Ze,blocking:Mt,capture:null,charSet:null,checked:Ze,cite:null,className:Mt,cols:me,colSpan:null,content:null,contentEditable:ln,controls:Ze,controlsList:Mt,coords:me|Qi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ze,defer:Ze,dir:null,dirName:null,disabled:Ze,download:Hv,draggable:ln,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ze,formTarget:null,headers:Mt,height:me,hidden:Ze,high:me,href:null,hrefLang:null,htmlFor:Mt,httpEquiv:Mt,id:null,imageSizes:null,imageSrcSet:null,inert:Ze,inputMode:null,integrity:null,is:null,isMap:Ze,itemId:null,itemProp:Mt,itemRef:Mt,itemScope:Ze,itemType:Mt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ze,low:me,manifest:null,max:null,maxLength:me,media:null,method:null,min:null,minLength:me,multiple:Ze,muted:Ze,name:null,nonce:null,noModule:Ze,noValidate:Ze,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ze,optimum:me,pattern:null,ping:Mt,placeholder:null,playsInline:Ze,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ze,referrerPolicy:null,rel:Mt,required:Ze,reversed:Ze,rows:me,rowSpan:me,sandbox:Mt,scope:null,scoped:Ze,seamless:Ze,selected:Ze,shadowRootClonable:Ze,shadowRootDelegatesFocus:Ze,shadowRootMode:null,shape:null,size:me,sizes:null,slot:null,span:me,spellCheck:ln,src:null,srcDoc:null,srcLang:null,srcSet:null,start:me,step:null,style:null,tabIndex:me,target:null,title:null,translate:null,type:null,typeMustMatch:Ze,useMap:null,value:ln,width:me,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Mt,axis:null,background:null,bgColor:null,border:me,borderColor:null,bottomMargin:me,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ze,declare:Ze,event:null,face:null,frame:null,frameBorder:null,hSpace:me,leftMargin:me,link:null,longDesc:null,lowSrc:null,marginHeight:me,marginWidth:me,noResize:Ze,noHref:Ze,noShade:Ze,noWrap:Ze,object:null,profile:null,prompt:null,rev:null,rightMargin:me,rules:null,scheme:null,scrolling:ln,standby:null,summary:null,text:null,topMargin:me,valueType:null,version:null,vAlign:null,vLink:null,vSpace:me,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ze,disableRemotePlayback:Ze,prefix:null,property:null,results:me,security:null,unselectable:null}}),MR=So({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:jv,properties:{about:tr,accentHeight:me,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:me,amplitude:me,arabicForm:null,ascent:me,attributeName:null,attributeType:null,azimuth:me,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:me,by:null,calcMode:null,capHeight:me,className:Mt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:me,diffuseConstant:me,direction:null,display:null,dur:null,divisor:me,dominantBaseline:null,download:Ze,dx:null,dy:null,edgeMode:null,editable:null,elevation:me,enableBackground:null,end:null,event:null,exponent:me,externalResourcesRequired:null,fill:null,fillOpacity:me,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Qi,g2:Qi,glyphName:Qi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:me,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:me,horizOriginX:me,horizOriginY:me,id:null,ideographic:me,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:me,k:me,k1:me,k2:me,k3:me,k4:me,kernelMatrix:tr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:me,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:me,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:me,overlineThickness:me,paintOrder:null,panose1:null,path:null,pathLength:me,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Mt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:me,pointsAtY:me,pointsAtZ:me,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tr,rev:tr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tr,requiredFeatures:tr,requiredFonts:tr,requiredFormats:tr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:me,specularExponent:me,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:me,strikethroughThickness:me,string:null,stroke:null,strokeDashArray:tr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:me,strokeOpacity:me,strokeWidth:null,style:null,surfaceScale:me,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tr,tabIndex:me,tableValues:null,target:null,targetX:me,targetY:me,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:me,underlineThickness:me,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:me,values:null,vAlphabetic:me,vMathematical:me,vectorEffect:null,vHanging:me,vIdeographic:me,version:null,vertAdvY:me,vertOriginX:me,vertOriginY:me,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:me,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),BR=/^data[-\w.:]+$/i,a1=/-[a-z]/g,FR=/[A-Z]/g;function $R(e,t){const n=kd(t);let r=t,a=yr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&BR.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(a1,UR);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!a1.test(i)){let o=i.replace(FR,HR);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=Df}return new a(r,t)}function HR(e){return"-"+e.toLowerCase()}function UR(e){return e.charAt(1).toUpperCase()}const zR=$v([zv,Uv,Wv,Vv,DR],"html"),Gv=$v([zv,Uv,Wv,Vv,MR],"svg"),i1={}.hasOwnProperty;function Kv(e,t){const n=t||{};function r(a,...i){let o=r.invalid;const s=r.handlers;if(a&&i1.call(a,e)){const l=String(a[e]);o=i1.call(s,l)?s[l]:r.unknown}if(o)return o.call(this,a,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const jR={},qR={}.hasOwnProperty,Yv=Kv("type",{handlers:{root:VR,element:QR,text:YR,comment:XR,doctype:KR}});function WR(e,t){const r=(t||jR).space;return Yv(e,r==="svg"?Gv:zR)}function VR(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Mf(e.children,n,t),Co(e,n),n}function GR(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Mf(e.children,n,t),Co(e,n),n}function KR(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Co(e,t),t}function YR(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Co(e,t),t}function XR(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Co(e,t),t}function QR(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Gv);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&qR.call(e.properties,i)){const l=ZR(r,i,e.properties[i]);l&&a.push(l)}}const o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:li[o],childNodes:[],parentNode:null};return s.childNodes=Mf(e.children,s,r),Co(e,s),e.tagName==="template"&&e.content&&(s.content=GR(e.content,r)),s}function ZR(e,t,n){const r=$R(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?bR(n):_R(n));const a={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=r.attribute.slice(0,i)),a.namespace=li[r.space]}return a}function Mf(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const i=Yv(e[r],n);i.parentNode=t,a.push(i)}return a}function Co(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const JR=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],eP=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Wt="�";var N;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(N||(N={}));const $n={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Xv(e){return e>=55296&&e<=57343}function tP(e){return e>=56320&&e<=57343}function nP(e,t){return(e-55296)*1024+9216+t}function Qv(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Zv(e){return e>=64976&&e<=65007||eP.has(e)}var Z;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Z||(Z={}));const rP=65536;class aP{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=rP,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:a,offset:i}=this,o=a+n,s=i+n;return{code:t,startLine:r,endLine:r,startCol:o,endCol:o,startOffset:s,endOffset:s}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(tP(n))return this.pos++,this._addGap(),nP(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,N.EOF;return this._err(Z.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,N.EOF;const r=this.html.charCodeAt(n);return r===N.CARRIAGE_RETURN?N.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,N.EOF;let t=this.html.charCodeAt(this.pos);return t===N.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,N.LINE_FEED):t===N.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Xv(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===N.LINE_FEED||t===N.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Qv(t)?this._err(Z.controlCharacterInInputStream):Zv(t)&&this._err(Z.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var at;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(at||(at={}));function Jv(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const iP=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),oP=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function sP(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=oP.get(e))!==null&&t!==void 0?t:e}var mn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(mn||(mn={}));const lP=32;var La;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(La||(La={}));function Id(e){return e>=mn.ZERO&&e<=mn.NINE}function uP(e){return e>=mn.UPPER_A&&e<=mn.UPPER_F||e>=mn.LOWER_A&&e<=mn.LOWER_F}function cP(e){return e>=mn.UPPER_A&&e<=mn.UPPER_Z||e>=mn.LOWER_A&&e<=mn.LOWER_Z||Id(e)}function dP(e){return e===mn.EQUALS||cP(e)}var pn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(pn||(pn={}));var ua;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ua||(ua={}));class fP{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=pn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ua.Strict}startEntity(t){this.decodeMode=t,this.state=pn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case pn.EntityStart:return t.charCodeAt(n)===mn.NUM?(this.state=pn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=pn.NamedEntity,this.stateNamedEntity(t,n));case pn.NumericStart:return this.stateNumericStart(t,n);case pn.NumericDecimal:return this.stateNumericDecimal(t,n);case pn.NumericHex:return this.stateNumericHex(t,n);case pn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|lP)===mn.LOWER_X?(this.state=pn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=pn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,a){if(n!==r){const i=r-n;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(n,i),a),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(Id(a)||uP(a))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(Id(a))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===mn.SEMI)this.consumed+=1;else if(this.decodeMode===ua.Strict)return 0;return this.emitCodePoint(sP(this.result),this.consumed),this.errors&&(t!==mn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let a=r[this.treeIndex],i=(a&La.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=hP(r,a,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===ua.Attribute&&(i===0||dP(o))?0:this.emitNotTerminatedNamedEntity();if(a=r[this.treeIndex],i=(a&La.VALUE_LENGTH)>>14,i!==0){if(o===mn.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==ua.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,a=(r[n]&La.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:a}=this;return this.emitCodePoint(n===1?a[t]&~La.VALUE_LENGTH:a[t+1],r),n===3&&this.emitCodePoint(a[t+2],r),r}end(){var t;switch(this.state){case pn.NamedEntity:return this.result!==0&&(this.decodeMode!==ua.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case pn.NumericDecimal:return this.emitNumericEntity(0,2);case pn.NumericHex:return this.emitNumericEntity(0,3);case pn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case pn.EntityStart:return 0}}}function hP(e,t,n,r){const a=(t&La.BRANCH_LENGTH)>>7,i=t&La.JUMP_TABLE;if(a===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=a?-1:e[n+l]-1}let o=n,s=o+a-1;for(;o<=s;){const l=o+s>>>1,u=e[l];if(u<r)o=l+1;else if(u>r)s=l-1;else return e[l+a]}return-1}var ue;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(ue||(ue={}));var gi;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(gi||(gi={}));var gr;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(gr||(gr={}));var q;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(q||(q={}));var b;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(b||(b={}));const pP=new Map([[q.A,b.A],[q.ADDRESS,b.ADDRESS],[q.ANNOTATION_XML,b.ANNOTATION_XML],[q.APPLET,b.APPLET],[q.AREA,b.AREA],[q.ARTICLE,b.ARTICLE],[q.ASIDE,b.ASIDE],[q.B,b.B],[q.BASE,b.BASE],[q.BASEFONT,b.BASEFONT],[q.BGSOUND,b.BGSOUND],[q.BIG,b.BIG],[q.BLOCKQUOTE,b.BLOCKQUOTE],[q.BODY,b.BODY],[q.BR,b.BR],[q.BUTTON,b.BUTTON],[q.CAPTION,b.CAPTION],[q.CENTER,b.CENTER],[q.CODE,b.CODE],[q.COL,b.COL],[q.COLGROUP,b.COLGROUP],[q.DD,b.DD],[q.DESC,b.DESC],[q.DETAILS,b.DETAILS],[q.DIALOG,b.DIALOG],[q.DIR,b.DIR],[q.DIV,b.DIV],[q.DL,b.DL],[q.DT,b.DT],[q.EM,b.EM],[q.EMBED,b.EMBED],[q.FIELDSET,b.FIELDSET],[q.FIGCAPTION,b.FIGCAPTION],[q.FIGURE,b.FIGURE],[q.FONT,b.FONT],[q.FOOTER,b.FOOTER],[q.FOREIGN_OBJECT,b.FOREIGN_OBJECT],[q.FORM,b.FORM],[q.FRAME,b.FRAME],[q.FRAMESET,b.FRAMESET],[q.H1,b.H1],[q.H2,b.H2],[q.H3,b.H3],[q.H4,b.H4],[q.H5,b.H5],[q.H6,b.H6],[q.HEAD,b.HEAD],[q.HEADER,b.HEADER],[q.HGROUP,b.HGROUP],[q.HR,b.HR],[q.HTML,b.HTML],[q.I,b.I],[q.IMG,b.IMG],[q.IMAGE,b.IMAGE],[q.INPUT,b.INPUT],[q.IFRAME,b.IFRAME],[q.KEYGEN,b.KEYGEN],[q.LABEL,b.LABEL],[q.LI,b.LI],[q.LINK,b.LINK],[q.LISTING,b.LISTING],[q.MAIN,b.MAIN],[q.MALIGNMARK,b.MALIGNMARK],[q.MARQUEE,b.MARQUEE],[q.MATH,b.MATH],[q.MENU,b.MENU],[q.META,b.META],[q.MGLYPH,b.MGLYPH],[q.MI,b.MI],[q.MO,b.MO],[q.MN,b.MN],[q.MS,b.MS],[q.MTEXT,b.MTEXT],[q.NAV,b.NAV],[q.NOBR,b.NOBR],[q.NOFRAMES,b.NOFRAMES],[q.NOEMBED,b.NOEMBED],[q.NOSCRIPT,b.NOSCRIPT],[q.OBJECT,b.OBJECT],[q.OL,b.OL],[q.OPTGROUP,b.OPTGROUP],[q.OPTION,b.OPTION],[q.P,b.P],[q.PARAM,b.PARAM],[q.PLAINTEXT,b.PLAINTEXT],[q.PRE,b.PRE],[q.RB,b.RB],[q.RP,b.RP],[q.RT,b.RT],[q.RTC,b.RTC],[q.RUBY,b.RUBY],[q.S,b.S],[q.SCRIPT,b.SCRIPT],[q.SEARCH,b.SEARCH],[q.SECTION,b.SECTION],[q.SELECT,b.SELECT],[q.SOURCE,b.SOURCE],[q.SMALL,b.SMALL],[q.SPAN,b.SPAN],[q.STRIKE,b.STRIKE],[q.STRONG,b.STRONG],[q.STYLE,b.STYLE],[q.SUB,b.SUB],[q.SUMMARY,b.SUMMARY],[q.SUP,b.SUP],[q.TABLE,b.TABLE],[q.TBODY,b.TBODY],[q.TEMPLATE,b.TEMPLATE],[q.TEXTAREA,b.TEXTAREA],[q.TFOOT,b.TFOOT],[q.TD,b.TD],[q.TH,b.TH],[q.THEAD,b.THEAD],[q.TITLE,b.TITLE],[q.TR,b.TR],[q.TRACK,b.TRACK],[q.TT,b.TT],[q.U,b.U],[q.UL,b.UL],[q.SVG,b.SVG],[q.VAR,b.VAR],[q.WBR,b.WBR],[q.XMP,b.XMP]]);function To(e){var t;return(t=pP.get(e))!==null&&t!==void 0?t:b.UNKNOWN}const de=b,gP={[ue.HTML]:new Set([de.ADDRESS,de.APPLET,de.AREA,de.ARTICLE,de.ASIDE,de.BASE,de.BASEFONT,de.BGSOUND,de.BLOCKQUOTE,de.BODY,de.BR,de.BUTTON,de.CAPTION,de.CENTER,de.COL,de.COLGROUP,de.DD,de.DETAILS,de.DIR,de.DIV,de.DL,de.DT,de.EMBED,de.FIELDSET,de.FIGCAPTION,de.FIGURE,de.FOOTER,de.FORM,de.FRAME,de.FRAMESET,de.H1,de.H2,de.H3,de.H4,de.H5,de.H6,de.HEAD,de.HEADER,de.HGROUP,de.HR,de.HTML,de.IFRAME,de.IMG,de.INPUT,de.LI,de.LINK,de.LISTING,de.MAIN,de.MARQUEE,de.MENU,de.META,de.NAV,de.NOEMBED,de.NOFRAMES,de.NOSCRIPT,de.OBJECT,de.OL,de.P,de.PARAM,de.PLAINTEXT,de.PRE,de.SCRIPT,de.SECTION,de.SELECT,de.SOURCE,de.STYLE,de.SUMMARY,de.TABLE,de.TBODY,de.TD,de.TEMPLATE,de.TEXTAREA,de.TFOOT,de.TH,de.THEAD,de.TITLE,de.TR,de.TRACK,de.UL,de.WBR,de.XMP]),[ue.MATHML]:new Set([de.MI,de.MO,de.MN,de.MS,de.MTEXT,de.ANNOTATION_XML]),[ue.SVG]:new Set([de.TITLE,de.FOREIGN_OBJECT,de.DESC]),[ue.XLINK]:new Set,[ue.XML]:new Set,[ue.XMLNS]:new Set},Nd=new Set([de.H1,de.H2,de.H3,de.H4,de.H5,de.H6]);q.STYLE,q.SCRIPT,q.XMP,q.IFRAME,q.NOEMBED,q.NOFRAMES,q.PLAINTEXT;var D;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(D||(D={}));const en={DATA:D.DATA,RCDATA:D.RCDATA,RAWTEXT:D.RAWTEXT,SCRIPT_DATA:D.SCRIPT_DATA,PLAINTEXT:D.PLAINTEXT,CDATA_SECTION:D.CDATA_SECTION};function mP(e){return e>=N.DIGIT_0&&e<=N.DIGIT_9}function ns(e){return e>=N.LATIN_CAPITAL_A&&e<=N.LATIN_CAPITAL_Z}function xP(e){return e>=N.LATIN_SMALL_A&&e<=N.LATIN_SMALL_Z}function ka(e){return xP(e)||ns(e)}function o1(e){return ka(e)||mP(e)}function Yl(e){return e+32}function e_(e){return e===N.SPACE||e===N.LINE_FEED||e===N.TABULATION||e===N.FORM_FEED}function s1(e){return e_(e)||e===N.SOLIDUS||e===N.GREATER_THAN_SIGN}function bP(e){return e===N.NULL?Z.nullCharacterReference:e>1114111?Z.characterReferenceOutsideUnicodeRange:Xv(e)?Z.surrogateCharacterReference:Zv(e)?Z.noncharacterCharacterReference:Qv(e)||e===N.CARRIAGE_RETURN?Z.controlCharacterReference:null}class vP{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=D.DATA,this.returnState=D.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new aP(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new fP(iP,(r,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Z.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(Z.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const a=bP(r);a&&this._err(a,1)}}:void 0)}_err(t,n=0){var r,a;(a=(r=this.handler).onParseError)===null||a===void 0||a.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:at.START_TAG,tagName:"",tagID:b.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:at.END_TAG,tagName:"",tagID:b.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:at.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:at.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Jv(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const a=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Z.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=To(t.tagName),t.type===at.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(Z.endTagWithAttributes),t.selfClosing&&this._err(Z.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case at.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case at.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case at.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:at.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=e_(t)?at.WHITESPACE_CHARACTER:t===N.NULL?at.NULL_CHARACTER:at.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(at.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=D.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?ua.Attribute:ua.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===D.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===D.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===D.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case D.DATA:{this._stateData(t);break}case D.RCDATA:{this._stateRcdata(t);break}case D.RAWTEXT:{this._stateRawtext(t);break}case D.SCRIPT_DATA:{this._stateScriptData(t);break}case D.PLAINTEXT:{this._statePlaintext(t);break}case D.TAG_OPEN:{this._stateTagOpen(t);break}case D.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case D.TAG_NAME:{this._stateTagName(t);break}case D.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case D.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case D.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case D.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case D.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case D.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case D.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case D.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case D.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case D.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case D.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case D.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case D.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case D.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case D.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case D.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case D.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case D.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case D.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case D.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case D.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case D.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case D.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case D.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case D.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case D.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case D.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case D.BOGUS_COMMENT:{this._stateBogusComment(t);break}case D.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case D.COMMENT_START:{this._stateCommentStart(t);break}case D.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case D.COMMENT:{this._stateComment(t);break}case D.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case D.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case D.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case D.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case D.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case D.COMMENT_END:{this._stateCommentEnd(t);break}case D.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case D.DOCTYPE:{this._stateDoctype(t);break}case D.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case D.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case D.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case D.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case D.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case D.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case D.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case D.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case D.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case D.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case D.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case D.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case D.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case D.CDATA_SECTION:{this._stateCdataSection(t);break}case D.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case D.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case D.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case D.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case N.LESS_THAN_SIGN:{this.state=D.TAG_OPEN;break}case N.AMPERSAND:{this._startCharacterReference();break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitCodePoint(t);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case N.AMPERSAND:{this._startCharacterReference();break}case N.LESS_THAN_SIGN:{this.state=D.RCDATA_LESS_THAN_SIGN;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(Wt);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case N.LESS_THAN_SIGN:{this.state=D.RAWTEXT_LESS_THAN_SIGN;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(Wt);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_LESS_THAN_SIGN;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(Wt);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(Wt);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(ka(t))this._createStartTagToken(),this.state=D.TAG_NAME,this._stateTagName(t);else switch(t){case N.EXCLAMATION_MARK:{this.state=D.MARKUP_DECLARATION_OPEN;break}case N.SOLIDUS:{this.state=D.END_TAG_OPEN;break}case N.QUESTION_MARK:{this._err(Z.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=D.BOGUS_COMMENT,this._stateBogusComment(t);break}case N.EOF:{this._err(Z.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Z.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=D.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(ka(t))this._createEndTagToken(),this.state=D.TAG_NAME,this._stateTagName(t);else switch(t){case N.GREATER_THAN_SIGN:{this._err(Z.missingEndTagName),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(Z.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=D.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=D.BEFORE_ATTRIBUTE_NAME;break}case N.SOLIDUS:{this.state=D.SELF_CLOSING_START_TAG;break}case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentTagToken();break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.tagName+=Wt;break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(ns(t)?Yl(t):t)}}_stateRcdataLessThanSign(t){t===N.SOLIDUS?this.state=D.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=D.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){ka(t)?(this.state=D.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=D.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=D.BEFORE_ATTRIBUTE_NAME,!1;case N.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=D.SELF_CLOSING_START_TAG,!1;case N.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=D.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=D.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===N.SOLIDUS?this.state=D.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=D.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){ka(t)?(this.state=D.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=D.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=D.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case N.SOLIDUS:{this.state=D.SCRIPT_DATA_END_TAG_OPEN;break}case N.EXCLAMATION_MARK:{this.state=D.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=D.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){ka(t)?(this.state=D.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=D.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=D.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===N.HYPHEN_MINUS?(this.state=D.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=D.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===N.HYPHEN_MINUS?(this.state=D.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=D.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case N.HYPHEN_MINUS:{this.state=D.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(Wt);break}case N.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case N.HYPHEN_MINUS:{this.state=D.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_ESCAPED,this._emitChars(Wt);break}case N.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case N.HYPHEN_MINUS:{this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case N.GREATER_THAN_SIGN:{this.state=D.SCRIPT_DATA,this._emitChars(">");break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_ESCAPED,this._emitChars(Wt);break}case N.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===N.SOLIDUS?this.state=D.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ka(t)?(this._emitChars("<"),this.state=D.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){ka(t)?(this.state=D.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith($n.SCRIPT,!1)&&s1(this.preprocessor.peek($n.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<$n.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case N.HYPHEN_MINUS:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(Wt);break}case N.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case N.HYPHEN_MINUS:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Wt);break}case N.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case N.HYPHEN_MINUS:{this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case N.GREATER_THAN_SIGN:{this.state=D.SCRIPT_DATA,this._emitChars(">");break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Wt);break}case N.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===N.SOLIDUS?(this.state=D.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith($n.SCRIPT,!1)&&s1(this.preprocessor.peek($n.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<$n.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=D.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.SOLIDUS:case N.GREATER_THAN_SIGN:case N.EOF:{this.state=D.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case N.EQUALS_SIGN:{this._err(Z.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=D.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=D.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:case N.SOLIDUS:case N.GREATER_THAN_SIGN:case N.EOF:{this._leaveAttrName(),this.state=D.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case N.EQUALS_SIGN:{this._leaveAttrName(),this.state=D.BEFORE_ATTRIBUTE_VALUE;break}case N.QUOTATION_MARK:case N.APOSTROPHE:case N.LESS_THAN_SIGN:{this._err(Z.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.name+=Wt;break}default:this.currentAttr.name+=String.fromCodePoint(ns(t)?Yl(t):t)}}_stateAfterAttributeName(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.SOLIDUS:{this.state=D.SELF_CLOSING_START_TAG;break}case N.EQUALS_SIGN:{this.state=D.BEFORE_ATTRIBUTE_VALUE;break}case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentTagToken();break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=D.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.QUOTATION_MARK:{this.state=D.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case N.APOSTROPHE:{this.state=D.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(Z.missingAttributeValue),this.state=D.DATA,this.emitCurrentTagToken();break}default:this.state=D.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case N.QUOTATION_MARK:{this.state=D.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case N.AMPERSAND:{this._startCharacterReference();break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=Wt;break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case N.APOSTROPHE:{this.state=D.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case N.AMPERSAND:{this._startCharacterReference();break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=Wt;break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this._leaveAttrValue(),this.state=D.BEFORE_ATTRIBUTE_NAME;break}case N.AMPERSAND:{this._startCharacterReference();break}case N.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=D.DATA,this.emitCurrentTagToken();break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=Wt;break}case N.QUOTATION_MARK:case N.APOSTROPHE:case N.LESS_THAN_SIGN:case N.EQUALS_SIGN:case N.GRAVE_ACCENT:{this._err(Z.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this._leaveAttrValue(),this.state=D.BEFORE_ATTRIBUTE_NAME;break}case N.SOLIDUS:{this._leaveAttrValue(),this.state=D.SELF_CLOSING_START_TAG;break}case N.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=D.DATA,this.emitCurrentTagToken();break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._err(Z.missingWhitespaceBetweenAttributes),this.state=D.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case N.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=D.DATA,this.emitCurrentTagToken();break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._err(Z.unexpectedSolidusInTag),this.state=D.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentComment(n);break}case N.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.data+=Wt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch($n.DASH_DASH,!0)?(this._createCommentToken($n.DASH_DASH.length+1),this.state=D.COMMENT_START):this._consumeSequenceIfMatch($n.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation($n.DOCTYPE.length+1),this.state=D.DOCTYPE):this._consumeSequenceIfMatch($n.CDATA_START,!0)?this.inForeignNode?this.state=D.CDATA_SECTION:(this._err(Z.cdataInHtmlContent),this._createCommentToken($n.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=D.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Z.incorrectlyOpenedComment),this._createCommentToken(2),this.state=D.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case N.HYPHEN_MINUS:{this.state=D.COMMENT_START_DASH;break}case N.GREATER_THAN_SIGN:{this._err(Z.abruptClosingOfEmptyComment),this.state=D.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=D.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case N.HYPHEN_MINUS:{this.state=D.COMMENT_END;break}case N.GREATER_THAN_SIGN:{this._err(Z.abruptClosingOfEmptyComment),this.state=D.DATA,this.emitCurrentComment(n);break}case N.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=D.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case N.HYPHEN_MINUS:{this.state=D.COMMENT_END_DASH;break}case N.LESS_THAN_SIGN:{n.data+="<",this.state=D.COMMENT_LESS_THAN_SIGN;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.data+=Wt;break}case N.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case N.EXCLAMATION_MARK:{n.data+="!",this.state=D.COMMENT_LESS_THAN_SIGN_BANG;break}case N.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=D.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===N.HYPHEN_MINUS?this.state=D.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=D.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===N.HYPHEN_MINUS?this.state=D.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=D.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==N.GREATER_THAN_SIGN&&t!==N.EOF&&this._err(Z.nestedComment),this.state=D.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case N.HYPHEN_MINUS:{this.state=D.COMMENT_END;break}case N.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=D.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentComment(n);break}case N.EXCLAMATION_MARK:{this.state=D.COMMENT_END_BANG;break}case N.HYPHEN_MINUS:{n.data+="-";break}case N.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=D.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case N.HYPHEN_MINUS:{n.data+="--!",this.state=D.COMMENT_END_DASH;break}case N.GREATER_THAN_SIGN:{this._err(Z.incorrectlyClosedComment),this.state=D.DATA,this.emitCurrentComment(n);break}case N.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=D.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=D.BEFORE_DOCTYPE_NAME;break}case N.GREATER_THAN_SIGN:{this.state=D.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case N.EOF:{this._err(Z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingWhitespaceBeforeDoctypeName),this.state=D.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(ns(t))this._createDoctypeToken(String.fromCharCode(Yl(t))),this.state=D.DOCTYPE_NAME;else switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.NULL:{this._err(Z.unexpectedNullCharacter),this._createDoctypeToken(Wt),this.state=D.DOCTYPE_NAME;break}case N.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=D.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=D.AFTER_DOCTYPE_NAME;break}case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.name+=Wt;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(ns(t)?Yl(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch($n.PUBLIC,!1)?this.state=D.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch($n.SYSTEM,!1)?this.state=D.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Z.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=D.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case N.QUOTATION_MARK:{this._err(Z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=D.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{this._err(Z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=D.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(Z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.QUOTATION_MARK:{n.publicId="",this.state=D.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{n.publicId="",this.state=D.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(Z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case N.QUOTATION_MARK:{this.state=D.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.publicId+=Wt;break}case N.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case N.APOSTROPHE:{this.state=D.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.publicId+=Wt;break}case N.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=D.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.QUOTATION_MARK:{this._err(Z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{this._err(Z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.QUOTATION_MARK:{n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=D.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case N.QUOTATION_MARK:{this._err(Z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{this._err(Z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.QUOTATION_MARK:{n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case N.QUOTATION_MARK:{this.state=D.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.systemId+=Wt;break}case N.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case N.APOSTROPHE:{this.state=D.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.systemId+=Wt;break}case N.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case N.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.NULL:{this._err(Z.unexpectedNullCharacter);break}case N.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case N.RIGHT_SQUARE_BRACKET:{this.state=D.CDATA_SECTION_BRACKET;break}case N.EOF:{this._err(Z.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===N.RIGHT_SQUARE_BRACKET?this.state=D.CDATA_SECTION_END:(this._emitChars("]"),this.state=D.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case N.GREATER_THAN_SIGN:{this.state=D.DATA;break}case N.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=D.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(N.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&o1(this.preprocessor.peek(1))?D.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){o1(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===N.SEMICOLON&&this._err(Z.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const t_=new Set([b.DD,b.DT,b.LI,b.OPTGROUP,b.OPTION,b.P,b.RB,b.RP,b.RT,b.RTC]),l1=new Set([...t_,b.CAPTION,b.COLGROUP,b.TBODY,b.TD,b.TFOOT,b.TH,b.THEAD,b.TR]),Uu=new Set([b.APPLET,b.CAPTION,b.HTML,b.MARQUEE,b.OBJECT,b.TABLE,b.TD,b.TEMPLATE,b.TH]),_P=new Set([...Uu,b.OL,b.UL]),yP=new Set([...Uu,b.BUTTON]),u1=new Set([b.ANNOTATION_XML,b.MI,b.MN,b.MO,b.MS,b.MTEXT]),c1=new Set([b.DESC,b.FOREIGN_OBJECT,b.TITLE]),EP=new Set([b.TR,b.TEMPLATE,b.HTML]),SP=new Set([b.TBODY,b.TFOOT,b.THEAD,b.TEMPLATE,b.HTML]),CP=new Set([b.TABLE,b.TEMPLATE,b.HTML]),TP=new Set([b.TD,b.TH]);class wP{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=b.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===b.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===ue.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const a=this._indexOf(t)+1;this.items.splice(a,0,n),this.tagIDs.splice(a,0,r),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==ue.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Nd,ue.HTML)}popUntilTableCellPopped(){this.popUntilPopped(TP,ue.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(CP,ue.HTML)}clearBackToTableBodyContext(){this.clearBackTo(SP,ue.HTML)}clearBackToTableRowContext(){this.clearBackTo(EP,ue.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===b.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===b.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const a=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case ue.HTML:{if(a===t)return!0;if(n.has(a))return!1;break}case ue.SVG:{if(c1.has(a))return!1;break}case ue.MATHML:{if(u1.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Uu)}hasInListItemScope(t){return this.hasInDynamicScope(t,_P)}hasInButtonScope(t){return this.hasInDynamicScope(t,yP)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case ue.HTML:{if(Nd.has(n))return!0;if(Uu.has(n))return!1;break}case ue.SVG:{if(c1.has(n))return!1;break}case ue.MATHML:{if(u1.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===ue.HTML)switch(this.tagIDs[n]){case t:return!0;case b.TABLE:case b.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===ue.HTML)switch(this.tagIDs[t]){case b.TBODY:case b.THEAD:case b.TFOOT:return!0;case b.TABLE:case b.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===ue.HTML)switch(this.tagIDs[n]){case t:return!0;case b.OPTION:case b.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&t_.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&l1.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&l1.has(this.currentTagId);)this.pop()}}const B0=3;var Gr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Gr||(Gr={}));const d1={type:Gr.Marker};class AP{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],a=n.length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let s=0;s<this.entries.length;s++){const l=this.entries[s];if(l.type===Gr.Marker)break;const{element:u}=l;if(this.treeAdapter.getTagName(u)===i&&this.treeAdapter.getNamespaceURI(u)===o){const d=this.treeAdapter.getAttrList(u);d.length===a&&r.push({idx:s,attrs:d})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<B0)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<B0)return;const a=new Map(n.map(o=>[o.name,o.value]));let i=0;for(let o=0;o<r.length;o++){const s=r[o];s.attrs.every(l=>a.get(l.name)===l.value)&&(i+=1,i>=B0&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(d1)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Gr.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Gr.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(d1);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Gr.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Gr.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Gr.Element&&n.element===t)}}const Oa={createDocument(){return{nodeName:"#document",mode:gr.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=n,a.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Oa.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Oa.isTextNode(n)){n.value+=t;return}}Oa.appendChild(e,Oa.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Oa.isTextNode(r)?r.value+=t:Oa.insertBefore(e,Oa.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},n_="html",kP="about:legacy-compat",OP="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",r_=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],IP=[...r_,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],NP=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),a_=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],LP=[...a_,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function f1(e,t){return t.some(n=>e.startsWith(n))}function RP(e){return e.name===n_&&e.publicId===null&&(e.systemId===null||e.systemId===kP)}function PP(e){if(e.name!==n_)return gr.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===OP)return gr.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),NP.has(n))return gr.QUIRKS;let r=t===null?IP:r_;if(f1(n,r))return gr.QUIRKS;if(r=t===null?a_:LP,f1(n,r))return gr.LIMITED_QUIRKS}return gr.NO_QUIRKS}const h1={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DP="definitionurl",MP="definitionURL",BP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),FP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:ue.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:ue.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:ue.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:ue.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:ue.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:ue.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:ue.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:ue.XML}],["xml:space",{prefix:"xml",name:"space",namespace:ue.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:ue.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:ue.XMLNS}]]),$P=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),HP=new Set([b.B,b.BIG,b.BLOCKQUOTE,b.BODY,b.BR,b.CENTER,b.CODE,b.DD,b.DIV,b.DL,b.DT,b.EM,b.EMBED,b.H1,b.H2,b.H3,b.H4,b.H5,b.H6,b.HEAD,b.HR,b.I,b.IMG,b.LI,b.LISTING,b.MENU,b.META,b.NOBR,b.OL,b.P,b.PRE,b.RUBY,b.S,b.SMALL,b.SPAN,b.STRONG,b.STRIKE,b.SUB,b.SUP,b.TABLE,b.TT,b.U,b.UL,b.VAR]);function UP(e){const t=e.tagID;return t===b.FONT&&e.attrs.some(({name:r})=>r===gi.COLOR||r===gi.SIZE||r===gi.FACE)||HP.has(t)}function i_(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===DP){e.attrs[t].name=MP;break}}function o_(e){for(let t=0;t<e.attrs.length;t++){const n=BP.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Bf(e){for(let t=0;t<e.attrs.length;t++){const n=FP.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function zP(e){const t=$P.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=To(e.tagName))}function jP(e,t){return t===ue.MATHML&&(e===b.MI||e===b.MO||e===b.MN||e===b.MS||e===b.MTEXT)}function qP(e,t,n){if(t===ue.MATHML&&e===b.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===gi.ENCODING){const a=n[r].value.toLowerCase();return a===h1.TEXT_HTML||a===h1.APPLICATION_XML}}return t===ue.SVG&&(e===b.FOREIGN_OBJECT||e===b.DESC||e===b.TITLE)}function WP(e,t,n,r){return(!r||r===ue.HTML)&&qP(e,t,n)||(!r||r===ue.MATHML)&&jP(e,t)}const VP="hidden",GP=8,KP=3;var F;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(F||(F={}));const YP={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},s_=new Set([b.TABLE,b.TBODY,b.TFOOT,b.THEAD,b.TR]),p1={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Oa,onParseError:null};class g1{constructor(t,n,r=null,a=null){this.fragmentContext=r,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=F.INITIAL,this.originalInsertionMode=F.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...p1,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n!=null?n:this.treeAdapter.createDocument(),this.tokenizer=new vP(this.options,this),this.activeFormattingElements=new AP(this.treeAdapter),this.fragmentContextID=r?To(this.treeAdapter.getTagName(r)):b.UNKNOWN,this._setContextModes(r!=null?r:this.document,this.fragmentContextID),this.openElements=new wP(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...p1,...n};t!=null||(t=r.treeAdapter.createElement(q.TEMPLATE,ue.HTML,[]));const a=r.treeAdapter.createElement("documentmock",ue.HTML,[]),i=new this(r,a,t);return i.fragmentContextID===b.TEMPLATE&&i.tmplInsertionModeStack.unshift(F.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:YP,o={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(t,n,r){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(r=this.treeAdapter).onItemPop)===null||a===void 0||a.call(r,t,this.openElements.current),n){let i,o;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,o=this.fragmentContextID):{current:i,currentTagId:o}=this.openElements,this._setContextModes(i,o)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===ue.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,ue.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=F.TEXT}switchToPlaintextParsing(){this.insertionMode=F.TEXT,this.originalInsertionMode=F.IN_BODY,this.tokenizer.state=en.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===q.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==ue.HTML))switch(this.fragmentContextID){case b.TITLE:case b.TEXTAREA:{this.tokenizer.state=en.RCDATA;break}case b.STYLE:case b.XMP:case b.IFRAME:case b.NOEMBED:case b.NOFRAMES:case b.NOSCRIPT:{this.tokenizer.state=en.RAWTEXT;break}case b.SCRIPT:{this.tokenizer.state=en.SCRIPT_DATA;break}case b.PLAINTEXT:{this.tokenizer.state=en.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,a),t.location){const o=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r!=null?r:this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,ue.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,ue.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(q.HTML,ue.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,b.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(n),i=r?a.lastIndexOf(r):a.length,o=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:l,endCol:u,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:l,endCol:u,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,a=this.treeAdapter.getTagName(t),i=n.type===at.END_TAG&&a===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===b.SVG&&this.treeAdapter.getTagName(n)===q.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===ue.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===b.MGLYPH||t.tagID===b.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,ue.HTML)}_processToken(t){switch(t.type){case at.CHARACTER:{this.onCharacter(t);break}case at.NULL_CHARACTER:{this.onNullCharacter(t);break}case at.COMMENT:{this.onComment(t);break}case at.DOCTYPE:{this.onDoctype(t);break}case at.START_TAG:{this._processStartTag(t);break}case at.END_TAG:{this.onEndTag(t);break}case at.EOF:{this.onEof(t);break}case at.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const a=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return WP(t,a,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===Gr.Marker||this.openElements.contains(a.element)),r=n===-1?t-1:n-1;for(let a=r;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=F.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(b.P),this.openElements.popUntilTagNamePopped(b.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case b.TR:{this.insertionMode=F.IN_ROW;return}case b.TBODY:case b.THEAD:case b.TFOOT:{this.insertionMode=F.IN_TABLE_BODY;return}case b.CAPTION:{this.insertionMode=F.IN_CAPTION;return}case b.COLGROUP:{this.insertionMode=F.IN_COLUMN_GROUP;return}case b.TABLE:{this.insertionMode=F.IN_TABLE;return}case b.BODY:{this.insertionMode=F.IN_BODY;return}case b.FRAMESET:{this.insertionMode=F.IN_FRAMESET;return}case b.SELECT:{this._resetInsertionModeForSelect(t);return}case b.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case b.HTML:{this.insertionMode=this.headElement?F.AFTER_HEAD:F.BEFORE_HEAD;return}case b.TD:case b.TH:{if(t>0){this.insertionMode=F.IN_CELL;return}break}case b.HEAD:{if(t>0){this.insertionMode=F.IN_HEAD;return}break}}this.insertionMode=F.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===b.TEMPLATE)break;if(r===b.TABLE){this.insertionMode=F.IN_SELECT_IN_TABLE;return}}this.insertionMode=F.IN_SELECT}_isElementCausesFosterParenting(t){return s_.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case b.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===ue.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case b.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return gP[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){TM(this,t);return}switch(this.insertionMode){case F.INITIAL:{Yo(this,t);break}case F.BEFORE_HTML:{ds(this,t);break}case F.BEFORE_HEAD:{fs(this,t);break}case F.IN_HEAD:{hs(this,t);break}case F.IN_HEAD_NO_SCRIPT:{ps(this,t);break}case F.AFTER_HEAD:{gs(this,t);break}case F.IN_BODY:case F.IN_CAPTION:case F.IN_CELL:case F.IN_TEMPLATE:{u_(this,t);break}case F.TEXT:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{F0(this,t);break}case F.IN_TABLE_TEXT:{g_(this,t);break}case F.IN_COLUMN_GROUP:{zu(this,t);break}case F.AFTER_BODY:{ju(this,t);break}case F.AFTER_AFTER_BODY:{hu(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){CM(this,t);return}switch(this.insertionMode){case F.INITIAL:{Yo(this,t);break}case F.BEFORE_HTML:{ds(this,t);break}case F.BEFORE_HEAD:{fs(this,t);break}case F.IN_HEAD:{hs(this,t);break}case F.IN_HEAD_NO_SCRIPT:{ps(this,t);break}case F.AFTER_HEAD:{gs(this,t);break}case F.TEXT:{this._insertCharacters(t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{F0(this,t);break}case F.IN_COLUMN_GROUP:{zu(this,t);break}case F.AFTER_BODY:{ju(this,t);break}case F.AFTER_AFTER_BODY:{hu(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Ld(this,t);return}switch(this.insertionMode){case F.INITIAL:case F.BEFORE_HTML:case F.BEFORE_HEAD:case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:case F.IN_BODY:case F.IN_TABLE:case F.IN_CAPTION:case F.IN_COLUMN_GROUP:case F.IN_TABLE_BODY:case F.IN_ROW:case F.IN_CELL:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:case F.IN_TEMPLATE:case F.IN_FRAMESET:case F.AFTER_FRAMESET:{Ld(this,t);break}case F.IN_TABLE_TEXT:{Xo(this,t);break}case F.AFTER_BODY:{nD(this,t);break}case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{rD(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case F.INITIAL:{aD(this,t);break}case F.BEFORE_HEAD:case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:{this._err(t,Z.misplacedDoctype);break}case F.IN_TABLE_TEXT:{Xo(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,Z.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?wM(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case F.INITIAL:{Yo(this,t);break}case F.BEFORE_HTML:{iD(this,t);break}case F.BEFORE_HEAD:{sD(this,t);break}case F.IN_HEAD:{Fr(this,t);break}case F.IN_HEAD_NO_SCRIPT:{cD(this,t);break}case F.AFTER_HEAD:{fD(this,t);break}case F.IN_BODY:{kn(this,t);break}case F.IN_TABLE:{io(this,t);break}case F.IN_TABLE_TEXT:{Xo(this,t);break}case F.IN_CAPTION:{lM(this,t);break}case F.IN_COLUMN_GROUP:{Hf(this,t);break}case F.IN_TABLE_BODY:{Bc(this,t);break}case F.IN_ROW:{Fc(this,t);break}case F.IN_CELL:{dM(this,t);break}case F.IN_SELECT:{b_(this,t);break}case F.IN_SELECT_IN_TABLE:{hM(this,t);break}case F.IN_TEMPLATE:{gM(this,t);break}case F.AFTER_BODY:{xM(this,t);break}case F.IN_FRAMESET:{bM(this,t);break}case F.AFTER_FRAMESET:{_M(this,t);break}case F.AFTER_AFTER_BODY:{EM(this,t);break}case F.AFTER_AFTER_FRAMESET:{SM(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?AM(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case F.INITIAL:{Yo(this,t);break}case F.BEFORE_HTML:{oD(this,t);break}case F.BEFORE_HEAD:{lD(this,t);break}case F.IN_HEAD:{uD(this,t);break}case F.IN_HEAD_NO_SCRIPT:{dD(this,t);break}case F.AFTER_HEAD:{hD(this,t);break}case F.IN_BODY:{Mc(this,t);break}case F.TEXT:{ZD(this,t);break}case F.IN_TABLE:{Ns(this,t);break}case F.IN_TABLE_TEXT:{Xo(this,t);break}case F.IN_CAPTION:{uM(this,t);break}case F.IN_COLUMN_GROUP:{cM(this,t);break}case F.IN_TABLE_BODY:{Rd(this,t);break}case F.IN_ROW:{x_(this,t);break}case F.IN_CELL:{fM(this,t);break}case F.IN_SELECT:{v_(this,t);break}case F.IN_SELECT_IN_TABLE:{pM(this,t);break}case F.IN_TEMPLATE:{mM(this,t);break}case F.AFTER_BODY:{y_(this,t);break}case F.IN_FRAMESET:{vM(this,t);break}case F.AFTER_FRAMESET:{yM(this,t);break}case F.AFTER_AFTER_BODY:{hu(this,t);break}}}onEof(t){switch(this.insertionMode){case F.INITIAL:{Yo(this,t);break}case F.BEFORE_HTML:{ds(this,t);break}case F.BEFORE_HEAD:{fs(this,t);break}case F.IN_HEAD:{hs(this,t);break}case F.IN_HEAD_NO_SCRIPT:{ps(this,t);break}case F.AFTER_HEAD:{gs(this,t);break}case F.IN_BODY:case F.IN_TABLE:case F.IN_CAPTION:case F.IN_COLUMN_GROUP:case F.IN_TABLE_BODY:case F.IN_ROW:case F.IN_CELL:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:{h_(this,t);break}case F.TEXT:{JD(this,t);break}case F.IN_TABLE_TEXT:{Xo(this,t);break}case F.IN_TEMPLATE:{__(this,t);break}case F.AFTER_BODY:case F.IN_FRAMESET:case F.AFTER_FRAMESET:case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{$f(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===N.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:case F.TEXT:case F.IN_COLUMN_GROUP:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:case F.IN_FRAMESET:case F.AFTER_FRAMESET:{this._insertCharacters(t);break}case F.IN_BODY:case F.IN_CAPTION:case F.IN_CELL:case F.IN_TEMPLATE:case F.AFTER_BODY:case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{l_(this,t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{F0(this,t);break}case F.IN_TABLE_TEXT:{p_(this,t);break}}}}function XP(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):f_(e,t),n}function QP(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function ZP(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);const s=e.activeFormattingElements.getElementEntry(o),l=s&&i>=KP;!s||l?(l&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(o)):(o=JP(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function JP(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function eD(e,t,n){const r=e.treeAdapter.getTagName(t),a=To(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);a===b.TEMPLATE&&i===ue.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function tD(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}function Ff(e,t){for(let n=0;n<GP;n++){const r=XP(e,t);if(!r)break;const a=QP(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const i=ZP(e,a,r.element),o=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),o&&eD(e,o,i),tD(e,a,r)}}function Ld(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function nD(e,t){e._appendCommentNode(t,e.openElements.items[0])}function rD(e,t){e._appendCommentNode(t,e.document)}function $f(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(r);if(a&&!a.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(i);o&&!o.endTag&&e._setEndLocation(i,t)}}}}function aD(e,t){e._setDocumentType(t);const n=t.forceQuirks?gr.QUIRKS:PP(t);RP(t)||e._err(t,Z.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=F.BEFORE_HTML}function Yo(e,t){e._err(t,Z.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,gr.QUIRKS),e.insertionMode=F.BEFORE_HTML,e._processToken(t)}function iD(e,t){t.tagID===b.HTML?(e._insertElement(t,ue.HTML),e.insertionMode=F.BEFORE_HEAD):ds(e,t)}function oD(e,t){const n=t.tagID;(n===b.HTML||n===b.HEAD||n===b.BODY||n===b.BR)&&ds(e,t)}function ds(e,t){e._insertFakeRootElement(),e.insertionMode=F.BEFORE_HEAD,e._processToken(t)}function sD(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.HEAD:{e._insertElement(t,ue.HTML),e.headElement=e.openElements.current,e.insertionMode=F.IN_HEAD;break}default:fs(e,t)}}function lD(e,t){const n=t.tagID;n===b.HEAD||n===b.BODY||n===b.HTML||n===b.BR?fs(e,t):e._err(t,Z.endTagWithoutMatchingOpenElement)}function fs(e,t){e._insertFakeElement(q.HEAD,b.HEAD),e.headElement=e.openElements.current,e.insertionMode=F.IN_HEAD,e._processToken(t)}function Fr(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.BASE:case b.BASEFONT:case b.BGSOUND:case b.LINK:case b.META:{e._appendElement(t,ue.HTML),t.ackSelfClosing=!0;break}case b.TITLE:{e._switchToTextParsing(t,en.RCDATA);break}case b.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,en.RAWTEXT):(e._insertElement(t,ue.HTML),e.insertionMode=F.IN_HEAD_NO_SCRIPT);break}case b.NOFRAMES:case b.STYLE:{e._switchToTextParsing(t,en.RAWTEXT);break}case b.SCRIPT:{e._switchToTextParsing(t,en.SCRIPT_DATA);break}case b.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=F.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(F.IN_TEMPLATE);break}case b.HEAD:{e._err(t,Z.misplacedStartTagForHeadElement);break}default:hs(e,t)}}function uD(e,t){switch(t.tagID){case b.HEAD:{e.openElements.pop(),e.insertionMode=F.AFTER_HEAD;break}case b.BODY:case b.BR:case b.HTML:{hs(e,t);break}case b.TEMPLATE:{Ti(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function Ti(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==b.TEMPLATE&&e._err(t,Z.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(b.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,Z.endTagWithoutMatchingOpenElement)}function hs(e,t){e.openElements.pop(),e.insertionMode=F.AFTER_HEAD,e._processToken(t)}function cD(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.BASEFONT:case b.BGSOUND:case b.HEAD:case b.LINK:case b.META:case b.NOFRAMES:case b.STYLE:{Fr(e,t);break}case b.NOSCRIPT:{e._err(t,Z.nestedNoscriptInHead);break}default:ps(e,t)}}function dD(e,t){switch(t.tagID){case b.NOSCRIPT:{e.openElements.pop(),e.insertionMode=F.IN_HEAD;break}case b.BR:{ps(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function ps(e,t){const n=t.type===at.EOF?Z.openElementsLeftAfterEof:Z.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=F.IN_HEAD,e._processToken(t)}function fD(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.BODY:{e._insertElement(t,ue.HTML),e.framesetOk=!1,e.insertionMode=F.IN_BODY;break}case b.FRAMESET:{e._insertElement(t,ue.HTML),e.insertionMode=F.IN_FRAMESET;break}case b.BASE:case b.BASEFONT:case b.BGSOUND:case b.LINK:case b.META:case b.NOFRAMES:case b.SCRIPT:case b.STYLE:case b.TEMPLATE:case b.TITLE:{e._err(t,Z.abandonedHeadElementChild),e.openElements.push(e.headElement,b.HEAD),Fr(e,t),e.openElements.remove(e.headElement);break}case b.HEAD:{e._err(t,Z.misplacedStartTagForHeadElement);break}default:gs(e,t)}}function hD(e,t){switch(t.tagID){case b.BODY:case b.HTML:case b.BR:{gs(e,t);break}case b.TEMPLATE:{Ti(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function gs(e,t){e._insertFakeElement(q.BODY,b.BODY),e.insertionMode=F.IN_BODY,Dc(e,t)}function Dc(e,t){switch(t.type){case at.CHARACTER:{u_(e,t);break}case at.WHITESPACE_CHARACTER:{l_(e,t);break}case at.COMMENT:{Ld(e,t);break}case at.START_TAG:{kn(e,t);break}case at.END_TAG:{Mc(e,t);break}case at.EOF:{h_(e,t);break}}}function l_(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function u_(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function pD(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function gD(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function mD(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,ue.HTML),e.insertionMode=F.IN_FRAMESET)}function xD(e,t){e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._insertElement(t,ue.HTML)}function bD(e,t){e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Nd.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,ue.HTML)}function vD(e,t){e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._insertElement(t,ue.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function _D(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._insertElement(t,ue.HTML),n||(e.formElement=e.openElements.current))}function yD(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.tagIDs[r];if(n===b.LI&&a===b.LI||(n===b.DD||n===b.DT)&&(a===b.DD||a===b.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==b.ADDRESS&&a!==b.DIV&&a!==b.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._insertElement(t,ue.HTML)}function ED(e,t){e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._insertElement(t,ue.HTML),e.tokenizer.state=en.PLAINTEXT}function SD(e,t){e.openElements.hasInScope(b.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(b.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.framesetOk=!1}function CD(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(q.A);n&&(Ff(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function TD(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wD(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(b.NOBR)&&(Ff(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,ue.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function AD(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function kD(e,t){e.treeAdapter.getDocumentMode(e.document)!==gr.QUIRKS&&e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._insertElement(t,ue.HTML),e.framesetOk=!1,e.insertionMode=F.IN_TABLE}function c_(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ue.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function d_(e){const t=Jv(e,gi.TYPE);return t!=null&&t.toLowerCase()===VP}function OD(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ue.HTML),d_(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function ID(e,t){e._appendElement(t,ue.HTML),t.ackSelfClosing=!0}function ND(e,t){e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._appendElement(t,ue.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function LD(e,t){t.tagName=q.IMG,t.tagID=b.IMG,c_(e,t)}function RD(e,t){e._insertElement(t,ue.HTML),e.skipNextNewLine=!0,e.tokenizer.state=en.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=F.TEXT}function PD(e,t){e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,en.RAWTEXT)}function DD(e,t){e.framesetOk=!1,e._switchToTextParsing(t,en.RAWTEXT)}function m1(e,t){e._switchToTextParsing(t,en.RAWTEXT)}function MD(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===F.IN_TABLE||e.insertionMode===F.IN_CAPTION||e.insertionMode===F.IN_TABLE_BODY||e.insertionMode===F.IN_ROW||e.insertionMode===F.IN_CELL?F.IN_SELECT_IN_TABLE:F.IN_SELECT}function BD(e,t){e.openElements.currentTagId===b.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML)}function FD(e,t){e.openElements.hasInScope(b.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,ue.HTML)}function $D(e,t){e.openElements.hasInScope(b.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(b.RTC),e._insertElement(t,ue.HTML)}function HD(e,t){e._reconstructActiveFormattingElements(),i_(t),Bf(t),t.selfClosing?e._appendElement(t,ue.MATHML):e._insertElement(t,ue.MATHML),t.ackSelfClosing=!0}function UD(e,t){e._reconstructActiveFormattingElements(),o_(t),Bf(t),t.selfClosing?e._appendElement(t,ue.SVG):e._insertElement(t,ue.SVG),t.ackSelfClosing=!0}function x1(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML)}function kn(e,t){switch(t.tagID){case b.I:case b.S:case b.B:case b.U:case b.EM:case b.TT:case b.BIG:case b.CODE:case b.FONT:case b.SMALL:case b.STRIKE:case b.STRONG:{TD(e,t);break}case b.A:{CD(e,t);break}case b.H1:case b.H2:case b.H3:case b.H4:case b.H5:case b.H6:{bD(e,t);break}case b.P:case b.DL:case b.OL:case b.UL:case b.DIV:case b.DIR:case b.NAV:case b.MAIN:case b.MENU:case b.ASIDE:case b.CENTER:case b.FIGURE:case b.FOOTER:case b.HEADER:case b.HGROUP:case b.DIALOG:case b.DETAILS:case b.ADDRESS:case b.ARTICLE:case b.SEARCH:case b.SECTION:case b.SUMMARY:case b.FIELDSET:case b.BLOCKQUOTE:case b.FIGCAPTION:{xD(e,t);break}case b.LI:case b.DD:case b.DT:{yD(e,t);break}case b.BR:case b.IMG:case b.WBR:case b.AREA:case b.EMBED:case b.KEYGEN:{c_(e,t);break}case b.HR:{ND(e,t);break}case b.RB:case b.RTC:{FD(e,t);break}case b.RT:case b.RP:{$D(e,t);break}case b.PRE:case b.LISTING:{vD(e,t);break}case b.XMP:{PD(e,t);break}case b.SVG:{UD(e,t);break}case b.HTML:{pD(e,t);break}case b.BASE:case b.LINK:case b.META:case b.STYLE:case b.TITLE:case b.SCRIPT:case b.BGSOUND:case b.BASEFONT:case b.TEMPLATE:{Fr(e,t);break}case b.BODY:{gD(e,t);break}case b.FORM:{_D(e,t);break}case b.NOBR:{wD(e,t);break}case b.MATH:{HD(e,t);break}case b.TABLE:{kD(e,t);break}case b.INPUT:{OD(e,t);break}case b.PARAM:case b.TRACK:case b.SOURCE:{ID(e,t);break}case b.IMAGE:{LD(e,t);break}case b.BUTTON:{SD(e,t);break}case b.APPLET:case b.OBJECT:case b.MARQUEE:{AD(e,t);break}case b.IFRAME:{DD(e,t);break}case b.SELECT:{MD(e,t);break}case b.OPTION:case b.OPTGROUP:{BD(e,t);break}case b.NOEMBED:case b.NOFRAMES:{m1(e,t);break}case b.FRAMESET:{mD(e,t);break}case b.TEXTAREA:{RD(e,t);break}case b.NOSCRIPT:{e.options.scriptingEnabled?m1(e,t):x1(e,t);break}case b.PLAINTEXT:{ED(e,t);break}case b.COL:case b.TH:case b.TD:case b.TR:case b.HEAD:case b.FRAME:case b.TBODY:case b.TFOOT:case b.THEAD:case b.CAPTION:case b.COLGROUP:break;default:x1(e,t)}}function zD(e,t){if(e.openElements.hasInScope(b.BODY)&&(e.insertionMode=F.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function jD(e,t){e.openElements.hasInScope(b.BODY)&&(e.insertionMode=F.AFTER_BODY,y_(e,t))}function qD(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function WD(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(b.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(b.FORM):n&&e.openElements.remove(n))}function VD(e){e.openElements.hasInButtonScope(b.P)||e._insertFakeElement(q.P,b.P),e._closePElement()}function GD(e){e.openElements.hasInListItemScope(b.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(b.LI),e.openElements.popUntilTagNamePopped(b.LI))}function KD(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function YD(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function XD(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function QD(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(q.BR,b.BR),e.openElements.pop(),e.framesetOk=!1}function f_(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],o=e.openElements.tagIDs[a];if(r===o&&(r!==b.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,o))break}}function Mc(e,t){switch(t.tagID){case b.A:case b.B:case b.I:case b.S:case b.U:case b.EM:case b.TT:case b.BIG:case b.CODE:case b.FONT:case b.NOBR:case b.SMALL:case b.STRIKE:case b.STRONG:{Ff(e,t);break}case b.P:{VD(e);break}case b.DL:case b.UL:case b.OL:case b.DIR:case b.DIV:case b.NAV:case b.PRE:case b.MAIN:case b.MENU:case b.ASIDE:case b.BUTTON:case b.CENTER:case b.FIGURE:case b.FOOTER:case b.HEADER:case b.HGROUP:case b.DIALOG:case b.ADDRESS:case b.ARTICLE:case b.DETAILS:case b.SEARCH:case b.SECTION:case b.SUMMARY:case b.LISTING:case b.FIELDSET:case b.BLOCKQUOTE:case b.FIGCAPTION:{qD(e,t);break}case b.LI:{GD(e);break}case b.DD:case b.DT:{KD(e,t);break}case b.H1:case b.H2:case b.H3:case b.H4:case b.H5:case b.H6:{YD(e);break}case b.BR:{QD(e);break}case b.BODY:{zD(e,t);break}case b.HTML:{jD(e,t);break}case b.FORM:{WD(e);break}case b.APPLET:case b.OBJECT:case b.MARQUEE:{XD(e,t);break}case b.TEMPLATE:{Ti(e,t);break}default:f_(e,t)}}function h_(e,t){e.tmplInsertionModeStack.length>0?__(e,t):$f(e,t)}function ZD(e,t){var n;t.tagID===b.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function JD(e,t){e._err(t,Z.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function F0(e,t){if(e.openElements.currentTagId!==void 0&&s_.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=F.IN_TABLE_TEXT,t.type){case at.CHARACTER:{g_(e,t);break}case at.WHITESPACE_CHARACTER:{p_(e,t);break}}else tl(e,t)}function eM(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,ue.HTML),e.insertionMode=F.IN_CAPTION}function tM(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ue.HTML),e.insertionMode=F.IN_COLUMN_GROUP}function nM(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(q.COLGROUP,b.COLGROUP),e.insertionMode=F.IN_COLUMN_GROUP,Hf(e,t)}function rM(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ue.HTML),e.insertionMode=F.IN_TABLE_BODY}function aM(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(q.TBODY,b.TBODY),e.insertionMode=F.IN_TABLE_BODY,Bc(e,t)}function iM(e,t){e.openElements.hasInTableScope(b.TABLE)&&(e.openElements.popUntilTagNamePopped(b.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function oM(e,t){d_(t)?e._appendElement(t,ue.HTML):tl(e,t),t.ackSelfClosing=!0}function sM(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,ue.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function io(e,t){switch(t.tagID){case b.TD:case b.TH:case b.TR:{aM(e,t);break}case b.STYLE:case b.SCRIPT:case b.TEMPLATE:{Fr(e,t);break}case b.COL:{nM(e,t);break}case b.FORM:{sM(e,t);break}case b.TABLE:{iM(e,t);break}case b.TBODY:case b.TFOOT:case b.THEAD:{rM(e,t);break}case b.INPUT:{oM(e,t);break}case b.CAPTION:{eM(e,t);break}case b.COLGROUP:{tM(e,t);break}default:tl(e,t)}}function Ns(e,t){switch(t.tagID){case b.TABLE:{e.openElements.hasInTableScope(b.TABLE)&&(e.openElements.popUntilTagNamePopped(b.TABLE),e._resetInsertionMode());break}case b.TEMPLATE:{Ti(e,t);break}case b.BODY:case b.CAPTION:case b.COL:case b.COLGROUP:case b.HTML:case b.TBODY:case b.TD:case b.TFOOT:case b.TH:case b.THEAD:case b.TR:break;default:tl(e,t)}}function tl(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Dc(e,t),e.fosterParentingEnabled=n}function p_(e,t){e.pendingCharacterTokens.push(t)}function g_(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Xo(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)tl(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const m_=new Set([b.CAPTION,b.COL,b.COLGROUP,b.TBODY,b.TD,b.TFOOT,b.TH,b.THEAD,b.TR]);function lM(e,t){const n=t.tagID;m_.has(n)?e.openElements.hasInTableScope(b.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(b.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_TABLE,io(e,t)):kn(e,t)}function uM(e,t){const n=t.tagID;switch(n){case b.CAPTION:case b.TABLE:{e.openElements.hasInTableScope(b.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(b.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_TABLE,n===b.TABLE&&Ns(e,t));break}case b.BODY:case b.COL:case b.COLGROUP:case b.HTML:case b.TBODY:case b.TD:case b.TFOOT:case b.TH:case b.THEAD:case b.TR:break;default:Mc(e,t)}}function Hf(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.COL:{e._appendElement(t,ue.HTML),t.ackSelfClosing=!0;break}case b.TEMPLATE:{Fr(e,t);break}default:zu(e,t)}}function cM(e,t){switch(t.tagID){case b.COLGROUP:{e.openElements.currentTagId===b.COLGROUP&&(e.openElements.pop(),e.insertionMode=F.IN_TABLE);break}case b.TEMPLATE:{Ti(e,t);break}case b.COL:break;default:zu(e,t)}}function zu(e,t){e.openElements.currentTagId===b.COLGROUP&&(e.openElements.pop(),e.insertionMode=F.IN_TABLE,e._processToken(t))}function Bc(e,t){switch(t.tagID){case b.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,ue.HTML),e.insertionMode=F.IN_ROW;break}case b.TH:case b.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(q.TR,b.TR),e.insertionMode=F.IN_ROW,Fc(e,t);break}case b.CAPTION:case b.COL:case b.COLGROUP:case b.TBODY:case b.TFOOT:case b.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE,io(e,t));break}default:io(e,t)}}function Rd(e,t){const n=t.tagID;switch(t.tagID){case b.TBODY:case b.TFOOT:case b.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE);break}case b.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE,Ns(e,t));break}case b.BODY:case b.CAPTION:case b.COL:case b.COLGROUP:case b.HTML:case b.TD:case b.TH:case b.TR:break;default:Ns(e,t)}}function Fc(e,t){switch(t.tagID){case b.TH:case b.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,ue.HTML),e.insertionMode=F.IN_CELL,e.activeFormattingElements.insertMarker();break}case b.CAPTION:case b.COL:case b.COLGROUP:case b.TBODY:case b.TFOOT:case b.THEAD:case b.TR:{e.openElements.hasInTableScope(b.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY,Bc(e,t));break}default:io(e,t)}}function x_(e,t){switch(t.tagID){case b.TR:{e.openElements.hasInTableScope(b.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY);break}case b.TABLE:{e.openElements.hasInTableScope(b.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY,Rd(e,t));break}case b.TBODY:case b.TFOOT:case b.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(b.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY,Rd(e,t));break}case b.BODY:case b.CAPTION:case b.COL:case b.COLGROUP:case b.HTML:case b.TD:case b.TH:break;default:Ns(e,t)}}function dM(e,t){const n=t.tagID;m_.has(n)?(e.openElements.hasInTableScope(b.TD)||e.openElements.hasInTableScope(b.TH))&&(e._closeTableCell(),Fc(e,t)):kn(e,t)}function fM(e,t){const n=t.tagID;switch(n){case b.TD:case b.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_ROW);break}case b.TABLE:case b.TBODY:case b.TFOOT:case b.THEAD:case b.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),x_(e,t));break}case b.BODY:case b.CAPTION:case b.COL:case b.COLGROUP:case b.HTML:break;default:Mc(e,t)}}function b_(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.OPTION:{e.openElements.currentTagId===b.OPTION&&e.openElements.pop(),e._insertElement(t,ue.HTML);break}case b.OPTGROUP:{e.openElements.currentTagId===b.OPTION&&e.openElements.pop(),e.openElements.currentTagId===b.OPTGROUP&&e.openElements.pop(),e._insertElement(t,ue.HTML);break}case b.HR:{e.openElements.currentTagId===b.OPTION&&e.openElements.pop(),e.openElements.currentTagId===b.OPTGROUP&&e.openElements.pop(),e._appendElement(t,ue.HTML),t.ackSelfClosing=!0;break}case b.INPUT:case b.KEYGEN:case b.TEXTAREA:case b.SELECT:{e.openElements.hasInSelectScope(b.SELECT)&&(e.openElements.popUntilTagNamePopped(b.SELECT),e._resetInsertionMode(),t.tagID!==b.SELECT&&e._processStartTag(t));break}case b.SCRIPT:case b.TEMPLATE:{Fr(e,t);break}}}function v_(e,t){switch(t.tagID){case b.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===b.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===b.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===b.OPTGROUP&&e.openElements.pop();break}case b.OPTION:{e.openElements.currentTagId===b.OPTION&&e.openElements.pop();break}case b.SELECT:{e.openElements.hasInSelectScope(b.SELECT)&&(e.openElements.popUntilTagNamePopped(b.SELECT),e._resetInsertionMode());break}case b.TEMPLATE:{Ti(e,t);break}}}function hM(e,t){const n=t.tagID;n===b.CAPTION||n===b.TABLE||n===b.TBODY||n===b.TFOOT||n===b.THEAD||n===b.TR||n===b.TD||n===b.TH?(e.openElements.popUntilTagNamePopped(b.SELECT),e._resetInsertionMode(),e._processStartTag(t)):b_(e,t)}function pM(e,t){const n=t.tagID;n===b.CAPTION||n===b.TABLE||n===b.TBODY||n===b.TFOOT||n===b.THEAD||n===b.TR||n===b.TD||n===b.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(b.SELECT),e._resetInsertionMode(),e.onEndTag(t)):v_(e,t)}function gM(e,t){switch(t.tagID){case b.BASE:case b.BASEFONT:case b.BGSOUND:case b.LINK:case b.META:case b.NOFRAMES:case b.SCRIPT:case b.STYLE:case b.TEMPLATE:case b.TITLE:{Fr(e,t);break}case b.CAPTION:case b.COLGROUP:case b.TBODY:case b.TFOOT:case b.THEAD:{e.tmplInsertionModeStack[0]=F.IN_TABLE,e.insertionMode=F.IN_TABLE,io(e,t);break}case b.COL:{e.tmplInsertionModeStack[0]=F.IN_COLUMN_GROUP,e.insertionMode=F.IN_COLUMN_GROUP,Hf(e,t);break}case b.TR:{e.tmplInsertionModeStack[0]=F.IN_TABLE_BODY,e.insertionMode=F.IN_TABLE_BODY,Bc(e,t);break}case b.TD:case b.TH:{e.tmplInsertionModeStack[0]=F.IN_ROW,e.insertionMode=F.IN_ROW,Fc(e,t);break}default:e.tmplInsertionModeStack[0]=F.IN_BODY,e.insertionMode=F.IN_BODY,kn(e,t)}}function mM(e,t){t.tagID===b.TEMPLATE&&Ti(e,t)}function __(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(b.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):$f(e,t)}function xM(e,t){t.tagID===b.HTML?kn(e,t):ju(e,t)}function y_(e,t){var n;if(t.tagID===b.HTML){if(e.fragmentContext||(e.insertionMode=F.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===b.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else ju(e,t)}function ju(e,t){e.insertionMode=F.IN_BODY,Dc(e,t)}function bM(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.FRAMESET:{e._insertElement(t,ue.HTML);break}case b.FRAME:{e._appendElement(t,ue.HTML),t.ackSelfClosing=!0;break}case b.NOFRAMES:{Fr(e,t);break}}}function vM(e,t){t.tagID===b.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==b.FRAMESET&&(e.insertionMode=F.AFTER_FRAMESET))}function _M(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.NOFRAMES:{Fr(e,t);break}}}function yM(e,t){t.tagID===b.HTML&&(e.insertionMode=F.AFTER_AFTER_FRAMESET)}function EM(e,t){t.tagID===b.HTML?kn(e,t):hu(e,t)}function hu(e,t){e.insertionMode=F.IN_BODY,Dc(e,t)}function SM(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.NOFRAMES:{Fr(e,t);break}}}function CM(e,t){t.chars=Wt,e._insertCharacters(t)}function TM(e,t){e._insertCharacters(t),e.framesetOk=!1}function E_(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==ue.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function wM(e,t){if(UP(t))E_(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===ue.MATHML?i_(t):r===ue.SVG&&(zP(t),o_(t)),Bf(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function AM(e,t){if(t.tagID===b.P||t.tagID===b.BR){E_(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===ue.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}q.AREA,q.BASE,q.BASEFONT,q.BGSOUND,q.BR,q.COL,q.EMBED,q.FRAME,q.HR,q.IMG,q.INPUT,q.KEYGEN,q.LINK,q.META,q.PARAM,q.SOURCE,q.TRACK,q.WBR;const S_=C_("end"),wi=C_("start");function C_(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}const T_=(function(e){if(e==null)return NM;if(typeof e=="function")return $c(e);if(typeof e=="object")return Array.isArray(e)?kM(e):OM(e);if(typeof e=="string")return IM(e);throw new Error("Expected function, string, or object as test")});function kM(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=T_(e[n]);return $c(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function OM(e){const t=e;return $c(n);function n(r){const a=r;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function IM(e){return $c(t);function t(n){return n&&n.type===e}}function $c(e){return t;function t(n,r,a){return!!(LM(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function NM(){return!0}function LM(e){return e!==null&&typeof e=="object"&&"type"in e}const w_=[],RM=!0,b1=!1,PM="skip";function DM(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const i=T_(a),o=r?-1:1;s(e,void 0,[])();function s(l,u,d){const p=l&&typeof l=="object"?l:{};if(typeof p.type=="string"){const h=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(h?"<"+h+">":""))+")"})}return f;function f(){let h=w_,c,g,m;if((!t||i(l,u,d[d.length-1]||void 0))&&(h=MM(n(l,d)),h[0]===b1))return h;if("children"in l&&l.children){const x=l;if(x.children&&h[0]!==PM)for(g=(r?x.children.length:-1)+o,m=d.concat(x);g>-1&&g<x.children.length;){const v=x.children[g];if(c=s(v,g,m)(),c[0]===b1)return c;g=typeof c[1]=="number"?c[1]:g+o}}return h}}}function MM(e){return Array.isArray(e)?e:typeof e=="number"?[RM,e]:e==null?w_:[e]}function BM(e,t,n,r){let a,i,o;i=t,o=n,a=r,DM(e,i,s,a);function s(l,u){const d=u[u.length-1],p=d?d.children.indexOf(l):void 0;return o(l,p,d)}}const FM=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,$M=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),v1={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function A_(e,t){const n=YM(e),r=Kv("type",{handlers:{root:HM,element:UM,text:zM,comment:O_,doctype:jM,raw:WM},unknown:VM}),a={parser:n?new g1(v1):g1.getFragmentParser(void 0,v1),handle(s){r(s,a)},stitches:!1,options:t||{}};r(e,a),wo(a,wi());const i=n?a.parser.document:a.parser.getFragment(),o=IR(i,{file:a.options.file});return a.stitches&&BM(o,"comment",function(s,l,u){const d=s;if(d.value.stitch&&u&&l!==void 0){const p=u.children;return p[l]=d.value.stitch,l}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function k_(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function HM(e,t){k_(e.children,t)}function UM(e,t){GM(e,t),k_(e.children,t),KM(e,t)}function zM(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:at.CHARACTER,chars:e.value,location:nl(e)};wo(t,wi(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function jM(e,t){const n={type:at.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:nl(e)};wo(t,wi(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function qM(e,t){t.stitches=!0;const n=XM(e);if("children"in e&&"children"in n){const r=A_({type:"root",children:e.children},t.options);n.children=r.children}O_({type:"comment",value:{stitch:n}},t)}function O_(e,t){const n=e.value,r={type:at.COMMENT,data:n,location:nl(e)};wo(t,wi(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function WM(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,I_(t,wi(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(FM,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function VM(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))qM(n,t);else{let r="";throw $M.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function wo(e,t){I_(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=en.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function I_(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function GM(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===en.PLAINTEXT)return;wo(t,wi(e));const r=t.parser.openElements.current;let a="namespaceURI"in r?r.namespaceURI:li.html;a===li.html&&n==="svg"&&(a=li.svg);const i=WR({...e,children:[]},{space:a===li.svg?"svg":"html"}),o={type:at.START_TAG,tagName:n,tagID:To(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:nl(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function KM(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&JR.includes(n)||t.parser.tokenizer.state===en.PLAINTEXT)return;wo(t,S_(e));const r={type:at.END_TAG,tagName:n,tagID:To(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:nl(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===en.RCDATA||t.parser.tokenizer.state===en.RAWTEXT||t.parser.tokenizer.state===en.SCRIPT_DATA)&&(t.parser.tokenizer.state=en.DATA)}function YM(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function nl(e){const t=wi(e)||{line:void 0,column:void 0,offset:void 0},n=S_(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function XM(e){return"children"in e?Kg({...e,children:[]}):Kg(e)}function QM(e){return function(t,n){return A_(t,{...e,file:n})}}function N_(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=N_(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ZM(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=N_(e))&&(r&&(r+=" "),r+=t);return r}var L_=JM;function JM(e){var t,n;if(typeof e!="function")throw new Error("expected a function but got "+e);return function(){return t||(t=!0,n=e.apply(this,arguments),e=void 0),n}}const eB=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;function _1(e){const t={};let n;for(;n=eB.exec(e);)t[n[1]]=n[2];return t}function tB(e,t){if(typeof e=="string"){if(typeof t=="string")return"".concat(e,";").concat(t);e=_1(e)}else typeof t=="string"&&(t=_1(t));return{...e,...t}}function R_(e,t){e.indexOf(t)===-1&&e.push(t)}function nB(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const P_=(e,t,n)=>Math.min(Math.max(n,e),t),Rr={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},Ls=e=>typeof e=="number",Zi=e=>Array.isArray(e)&&!Ls(e[0]),rB=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function aB(e,t){return Zi(e)?e[rB(0,e.length,t)]:e}const D_=(e,t,n)=>-n*e+n*t+e,M_=()=>{},Pa=e=>e,Uf=(e,t,n)=>t-e===0?1:(n-e)/(t-e);function B_(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const a=Uf(0,t,r);e.push(D_(n,1,a))}}function iB(e){const t=[0];return B_(t,e-1),t}function oB(e,t=iB(e.length),n=Pa){const r=e.length,a=r-t.length;return a>0&&B_(t,a),i=>{let o=0;for(;o<r-2&&!(i<t[o+1]);o++);let s=P_(0,1,Uf(t[o],t[o+1],i));return s=aB(n,o)(s),D_(e[o],e[o+1],s)}}const F_=e=>Array.isArray(e)&&Ls(e[0]),Pd=e=>typeof e=="object"&&!!e.createAnimation,Rs=e=>typeof e=="function",sB=e=>typeof e=="string",$0={ms:e=>e*1e3,s:e=>e/1e3},$_=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,lB=1e-7,uB=12;function cB(e,t,n,r,a){let i,o,s=0;do o=t+(n-t)/2,i=$_(o,r,a)-e,i>0?n=o:t=o;while(Math.abs(i)>lB&&++s<uB);return o}function rs(e,t,n,r){if(e===t&&n===r)return Pa;const a=i=>cB(i,0,1,e,n);return i=>i===0||i===1?i:$_(a(i),t,r)}const dB=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,a=t==="end"?Math.floor(r):Math.ceil(r);return P_(0,1,a/e)},fB={ease:rs(.25,.1,.25,1),"ease-in":rs(.42,0,1,1),"ease-in-out":rs(.42,0,.58,1),"ease-out":rs(0,0,.58,1)},hB=/\((.*?)\)/;function y1(e){if(Rs(e))return e;if(F_(e))return rs(...e);const t=fB[e];if(t)return t;if(e.startsWith("steps")){const n=hB.exec(e);if(n){const r=n[1].split(",");return dB(parseFloat(r[0]),r[1].trim())}}return Pa}class pB{constructor(t,n=[0,1],{easing:r,duration:a=Rr.duration,delay:i=Rr.delay,endDelay:o=Rr.endDelay,repeat:s=Rr.repeat,offset:l,direction:u="normal",autoplay:d=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=Pa,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((f,h)=>{this.resolve=f,this.reject=h}),r=r||Rr.easing,Pd(r)){const f=r.createAnimation(n);r=f.easing,n=f.keyframes||n,a=f.duration||a}this.repeat=s,this.easing=Zi(r)?Pa:y1(r),this.updateDuration(a);const p=oB(n,l,Zi(r)?r.map(y1):Pa);this.tick=f=>{var h;i=i;let c=0;this.pauseTime!==void 0?c=this.pauseTime:c=(f-this.startTime)*this.rate,this.t=c,c/=1e3,c=Math.max(c-i,0),this.playState==="finished"&&this.pauseTime===void 0&&(c=this.totalDuration);const g=c/this.duration;let m=Math.floor(g),x=g%1;!x&&g>=1&&(x=1),x===1&&m--;const v=m%2;(u==="reverse"||u==="alternate"&&v||u==="alternate-reverse"&&!v)&&(x=1-x);const y=c>=this.totalDuration?1:Math.min(x,1),_=p(this.easing(y));t(_),this.pauseTime===void 0&&(this.playState==="finished"||c>=this.totalDuration+o)?(this.playState="finished",(h=this.resolve)===null||h===void 0||h.call(this,_)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},d&&this.play()}play(){const t=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var t;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(t=this.reject)===null||t===void 0||t.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t,this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){this.pauseTime!==void 0||this.rate===0?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}}class gB{setAnimation(t){this.animation=t,t==null||t.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}const H0=new WeakMap;function H_(e){return H0.has(e)||H0.set(e,{transforms:[],values:new Map}),H0.get(e)}function mB(e,t){return e.has(t)||e.set(t,new gB),e.get(t)}const xB=["","X","Y","Z"],bB=["translate","scale","rotate","skew"],oo={x:"translateX",y:"translateY",z:"translateZ"},E1={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},vB={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:E1,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:Pa},skew:E1},so=new Map,Hc=e=>"--motion-".concat(e),qu=["x","y","z"];bB.forEach(e=>{xB.forEach(t=>{qu.push(e+t),so.set(Hc(e+t),vB[e])})});const _B=(e,t)=>qu.indexOf(e)-qu.indexOf(t),yB=new Set(qu),zf=e=>yB.has(e),EB=(e,t)=>{oo[t]&&(t=oo[t]);const{transforms:n}=H_(e);R_(n,t),e.style.transform=U_(n)},U_=e=>e.sort(_B).reduce(SB,"").trim(),SB=(e,t)=>"".concat(e," ").concat(t,"(var(").concat(Hc(t),"))"),Dd=e=>e.startsWith("--"),S1=new Set;function CB(e){if(!S1.has(e)){S1.add(e);try{const{syntax:t,initialValue:n}=so.has(e)?so.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:n})}catch(t){}}}const U0=(e,t)=>document.createElement("div").animate(e,t),C1={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{U0({opacity:[1]})}catch(e){return!1}return!0},finished:()=>!!U0({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{U0({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}},z0={},qi={};for(const e in C1)qi[e]=()=>(z0[e]===void 0&&(z0[e]=C1[e]()),z0[e]);const TB=.015,wB=(e,t)=>{let n="";const r=Math.round(t/TB);for(let a=0;a<r;a++)n+=e(Uf(0,r-1,a))+", ";return n.substring(0,n.length-2)},T1=(e,t)=>Rs(e)?qi.linearEasing()?"linear(".concat(wB(e,t),")"):Rr.easing:F_(e)?AB(e):e,AB=([e,t,n,r])=>"cubic-bezier(".concat(e,", ").concat(t,", ").concat(n,", ").concat(r,")");function kB(e,t){for(let n=0;n<e.length;n++)e[n]===null&&(e[n]=n?e[n-1]:t());return e}const OB=e=>Array.isArray(e)?e:[e];function Md(e){return oo[e]&&(e=oo[e]),zf(e)?Hc(e):e}const as={get:(e,t)=>{t=Md(t);let n=Dd(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&n!==0){const r=so.get(t);r&&(n=r.initialValue)}return n},set:(e,t,n)=>{t=Md(t),Dd(t)?e.style.setProperty(t,n):e.style[t]=n}};function IB(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch(n){}}function NB(e,t){var n;let r=(t==null?void 0:t.toDefaultUnit)||Pa;const a=e[e.length-1];if(sB(a)){const i=((n=a.match(/(-?[\d.]+)([a-z%]*)/))===null||n===void 0?void 0:n[2])||"";i&&(r=o=>o+i)}return r}function LB(){return window.__MOTION_DEV_TOOLS_RECORD}function RB(e,t,n,r={},a){const i=LB(),o=r.record!==!1&&i;let s,{duration:l=Rr.duration,delay:u=Rr.delay,endDelay:d=Rr.endDelay,repeat:p=Rr.repeat,easing:f=Rr.easing,persist:h=!1,direction:c,offset:g,allowWebkitAcceleration:m=!1,autoplay:x=!0}=r;const v=H_(e),y=zf(t);let _=qi.waapi();y&&EB(e,t);const S=Md(t),C=mB(v.values,S),T=so.get(S);return IB(C.animation,!(Pd(f)&&C.generator)&&r.record!==!1),()=>{const R=()=>{var I,$;return($=(I=as.get(e,S))!==null&&I!==void 0?I:T==null?void 0:T.initialValue)!==null&&$!==void 0?$:0};let P=kB(OB(n),R);const A=NB(P,T);if(Pd(f)){const I=f.createAnimation(P,t!=="opacity",R,S,C);f=I.easing,P=I.keyframes||P,l=I.duration||l}if(Dd(S)&&(qi.cssRegisterProperty()?CB(S):_=!1),y&&!qi.linearEasing()&&(Rs(f)||Zi(f)&&f.some(Rs))&&(_=!1),_){T&&(P=P.map(W=>Ls(W)?T.toDefaultUnit(W):W)),P.length===1&&(!qi.partialKeyframes()||o)&&P.unshift(R());const I={delay:$0.ms(u),duration:$0.ms(l),endDelay:$0.ms(d),easing:Zi(f)?void 0:T1(f,l),direction:c,iterations:p+1,fill:"both"};s=e.animate({[S]:P,offset:g,easing:Zi(f)?f.map(W=>T1(W,l)):void 0},I),s.finished||(s.finished=new Promise((W,G)=>{s.onfinish=W,s.oncancel=G}));const $=P[P.length-1];s.finished.then(()=>{h||(as.set(e,S,$),s.cancel())}).catch(M_),m||(s.playbackRate=1.000001)}else if(a&&y)P=P.map(I=>typeof I=="string"?parseFloat(I):I),P.length===1&&P.unshift(parseFloat(R())),s=new a(I=>{as.set(e,S,A?A(I):I)},P,Object.assign(Object.assign({},r),{duration:l,easing:f}));else{const I=P[P.length-1];as.set(e,S,T&&Ls(I)?T.toDefaultUnit(I):I)}return o&&i(e,t,P,{duration:l,delay:u,easing:f,repeat:p,offset:g},"motion-one"),C.setAnimation(s),s&&!x&&s.pause(),s}}const PB=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function DB(e,t){return typeof e=="string"?e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}function z_(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}const MB={any:0,all:1};function BB(e,t,{root:n,margin:r,amount:a="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};const i=DB(e),o=new WeakMap,s=u=>{u.forEach(d=>{const p=o.get(d.target);if(d.isIntersecting!==!!p)if(d.isIntersecting){const f=t(d);Rs(f)?o.set(d.target,f):l.unobserve(d.target)}else p&&(p(d),o.delete(d.target))})},l=new IntersectionObserver(s,{root:n,rootMargin:r,threshold:typeof a=="number"?a:MB[a]});return i.forEach(u=>l.observe(u)),()=>l.disconnect()}function FB(e,t){return typeof e!=typeof t?!0:Array.isArray(e)&&Array.isArray(t)?!$B(e,t):e!==t}function $B(e,t){const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function HB(e){return typeof e=="object"}function w1(e,t){if(HB(e))return e;if(e&&t)return t[e]}let Da;function UB(){if(!Da)return;const e=Da.sort(jB).map(qB);e.forEach(A1),e.forEach(A1),Da=void 0}function j0(e){Da?R_(Da,e):(Da=[e],requestAnimationFrame(UB))}function zB(e){Da&&nB(Da,e)}const jB=(e,t)=>e.getDepth()-t.getDepth(),qB=e=>e.animateUpdates(),A1=e=>e.next(),k1=(e,t)=>new CustomEvent(e,{detail:{target:t}});function Bd(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:n}}))}function O1(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:n}}))}const WB={isActive:e=>!!e.inView,subscribe:(e,{enable:t,disable:n},{inViewOptions:r={}})=>{const{once:a}=r,i=z_(r,["once"]);return BB(e,o=>{if(t(),O1(e,"viewenter",o),!a)return s=>{n(),O1(e,"viewleave",s)}},i)}},I1=(e,t,n)=>r=>{r.pointerType&&r.pointerType!=="mouse"||(n(),Bd(e,t,r))},VB={isActive:e=>!!e.hover,subscribe:(e,{enable:t,disable:n})=>{const r=I1(e,"hoverstart",t),a=I1(e,"hoverend",n);return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",a),()=>{e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",a)}}},GB={isActive:e=>!!e.press,subscribe:(e,{enable:t,disable:n})=>{const r=i=>{n(),Bd(e,"pressend",i),window.removeEventListener("pointerup",r)},a=i=>{t(),Bd(e,"pressstart",i),window.addEventListener("pointerup",r)};return e.addEventListener("pointerdown",a),()=>{e.removeEventListener("pointerdown",a),window.removeEventListener("pointerup",r)}}},pu={inView:WB,hover:VB,press:GB},N1=["initial","animate",...Object.keys(pu),"exit"],Fd=new WeakMap;function KB(e={},t){let n,r=t?t.getDepth()+1:0;const a={initial:!0,animate:!0},i={},o={};for(const g of N1)o[g]=typeof e[g]=="string"?e[g]:t==null?void 0:t.getContext()[g];const s=e.initial===!1?"animate":"initial";let l=w1(e[s]||o[s],e.variants)||{},u=z_(l,["transition"]);const d=Object.assign({},u);function*p(){var g,m;const x=u;u={};const v={};for(const T of N1){if(!a[T])continue;const R=w1(e[T]);if(R)for(const P in R)P!=="transition"&&(u[P]=R[P],v[P]=PB((m=(g=R.transition)!==null&&g!==void 0?g:e.transition)!==null&&m!==void 0?m:{},P))}const y=new Set([...Object.keys(u),...Object.keys(x)]),_=[];y.forEach(T=>{var R;u[T]===void 0&&(u[T]=d[T]),FB(x[T],u[T])&&((R=d[T])!==null&&R!==void 0||(d[T]=as.get(n,T)),_.push(RB(n,T,u[T],v[T],pB)))}),yield;const S=_.map(T=>T()).filter(Boolean);if(!S.length)return;const C=u;n.dispatchEvent(k1("motionstart",C)),Promise.all(S.map(T=>T.finished)).then(()=>{n.dispatchEvent(k1("motioncomplete",C))}).catch(M_)}const f=(g,m)=>()=>{a[g]=m,j0(c)},h=()=>{for(const g in pu){const m=pu[g].isActive(e),x=i[g];m&&!x?i[g]=pu[g].subscribe(n,{enable:f(g,!0),disable:f(g,!1)},e):!m&&x&&(x(),delete i[g])}},c={update:g=>{n&&(e=g,h(),j0(c))},setActive:(g,m)=>{n&&(a[g]=m,j0(c))},animateUpdates:p,getDepth:()=>r,getTarget:()=>u,getOptions:()=>e,getContext:()=>o,mount:g=>(n=g,Fd.set(n,c),h(),()=>{Fd.delete(n),zB(c);for(const m in i)i[m]()}),isMounted:()=>!!n};return c}function YB(e){const t={},n=[];for(let r in e){const a=e[r];zf(r)&&(oo[r]&&(r=oo[r]),n.push(r),r=Hc(r));let i=Array.isArray(a)?a[0]:a;const o=so.get(r);o&&(i=Ls(a)?o.toDefaultUnit(a):a),t[r]=i}return n.length&&(t.transform=U_(n)),t}var j_=Lt(),FH=e=>{var i;const[t,n]=Ie(!0),r={initial:(i=e.initial)!=null?i:!0,mount:t},a=w(j_.Provider,{value:r,get children(){return Om(Im(()=>e.children),{appear:r.initial,mode:e.exitBeforeEnter?"out-in":"parallel",onExit(o,s){bs(()=>{var l,u;n(!1),(u=(l=Fd.get(o))==null?void 0:l.getOptions())!=null&&u.exit?o.addEventListener("motioncomplete",s):s()})},onEnter(o,s){bs(()=>{n(!0),s()})}})}});return r.initial=!0,a};function XB(e,t,n,r){const a=KB((n==null?void 0:n.initial)===!1?{...t(),initial:!1}:t(),r);return Kt(()=>{if(n&&!n.mount())return;const i=e(),o=a.mount(i);Kt(()=>a.update(t())),wt(()=>{n&&t().exit?(a.setActive("exit",!0),i.addEventListener("motioncomplete",o)):o()})}),[a,YB(a.getTarget())]}var QB=["initial","animate","inView","inViewOptions","hover","press","variants","transition","exit"],ZB=["tag"],L1=Lt(),R1=e=>{const[t,,n]=fe(e,QB,ZB),[r,a]=XB(()=>i,()=>({...t}),It(j_),It(L1));let i;return w(L1.Provider,{value:r,get children(){return w(zd,X(n,{ref:o=>{var s;i=o,(s=e.ref)==null||s.call(e,o)},get component(){return e.tag||"div"},get style(){return tB(e.style,a)}}))}})},q_=new Proxy(R1,{get:(e,t)=>n=>w(R1,X(n,{tag:t}))});const W_=(e,t)=>{t!=null&&t.immediate&&e(),window.addEventListener("scroll",e,{passive:!0}),wt(()=>window.removeEventListener("scroll",e))},$H=()=>{if(p6)return null;const[e,t]=Ie(!1);return W_(()=>t(window.scrollY>100)),w(Re,{get when(){return e()},get children(){return w(Be,{get as(){return q_.div},initial:{y:-999},animate:{y:0},zIndex:"$overlay",pos:"fixed",right:"$5",top:"0",borderBottomRadius:"50%",bgColor:"$whiteAlpha12",get color(){return hi()},overflow:"hidden",shadow:"$lg",get _dark(){return{bgColor:hi(),color:"white"}},get _hover(){return{bgColor:hi(),color:"white"}},get children(){return w(yi,{_focus:{outline:"none"},cursor:"pointer",boxSize:"$7",p:"$1",rounded:"$lg",as:ZA,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}})}})}})},[JB,eF]=Ie(!1),[tF,HH]=Nb("isMarkdownTocDisabled",!0,{serializer:e=>JSON.stringify(e),deserializer:e=>JSON.parse(e)});function nF(e){if(e.disabled||p6)return null;const[t,n]=Ie([]);W_(()=>eF(window.scrollY>100&&t().length>1),{immediate:!0}),Kt(()=>{const s=e.markdownRef.querySelector(".markdown-body");if(!s)return;const l=document.createNodeIterator(s,NodeFilter.SHOW_ELEMENT,{acceptNode(f){return/h1|h2|h3/i.test(f.nodeName)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),u=[];let d=l.nextNode(),p=6;for(;d;){const f=Number(d.nodeName.match(/h(\d)/i)[1]);f<p&&(p=f),u.push({indent:f,text:d.textContent,tagName:d.nodeName.toLowerCase(),key:d.getAttribute("key")}),d=l.nextNode()}n(u.map(f=>({...f,indent:f.indent-p})))});const r=s=>{var f;const l=e.markdownRef.querySelector("".concat(s.tagName,"[key=").concat(s.key,"]"));if(!l)return;const u=document.querySelector(".nav");let d=(f=u==null?void 0:u.getBoundingClientRect().bottom)!=null?f:0;d<0&&(d=0);const p=l.getBoundingClientRect().y;window.scrollBy({behavior:"smooth",top:p-d})},a="calc(100% - 20px)",[i,o]=Ie(a);return w(Re,{get when(){return ir(()=>!tF())()&&JB()},get children(){return w(Be,{get as(){return q_.div},initial:{x:999},get animate(){return{x:i()}},onMouseEnter:()=>o(0),onMouseLeave:()=>o(a),zIndex:"$overlay",pos:"fixed",right:"$6",top:"$6",get children(){return w(Be,{mt:"$5",p:"$2",shadow:"$outline",rounded:"$lg",bgColor:"white",_dark:{bgColor:"$neutral3"},get children(){return w(yx,{maxH:"60vh",overflowY:"auto",get children(){return w(uo,{get each(){return t()},children:s=>w(Sx,{get pl(){return 15*s.indent},m:4,get children(){return w(y2,{get color(){return hi()},onClick:()=>r(s),get children(){return s.text}})}})})}})}})}})}})}const{katexCSSPath:rF,mermaidJSPath:aF}=IA(),iF=L_(()=>{const e=document.createElement("link");e.rel="stylesheet",e.href=rF(),document.head.appendChild(e)}),oF=L_(()=>{const e=document.createElement("script");e.src=aF(),document.body.appendChild(e)});function UH(e){const[t,n]=Ie("utf-8"),[r,a]=Ie(!0),{isString:i,text:o}=OA(e.children),s=m=>!e.ext||e.ext.toLocaleLowerCase()==="md"?m:"```"+e.ext+"\n"+m+"\n```",{pathname:l}=Ks(),u=Ue(()=>{let m=s(o(t()));return m=m.replace(/!\[.*?\]\((.*?)\)/g,x=>{const v=x.match(/!\[(.*?)\]\(.*?\)/)[1];let y=x.match(/!\[.*?\]\((.*?)\)/)[1];if(y.startsWith("data:image/")||y.startsWith("http://")||y.startsWith("https://")||y.startsWith("//"))return x;y.startsWith("/")?y="".concat(Pr,"/d").concat(y):y="".concat(Pr,"/d").concat($a(Cc().base_path,Pw(e.readme?l():rf(l()),y)));const _="![".concat(v,"](").concat(y,")");return console.log(_),_}),m}),[d,p]=Ie([oR]),[f,h]=Ie([QM]);Kt(fa(u,async()=>{if(a(!1),/\$\$[\s\S]+?\$\$|\$[^$\n]+?\$/.test(u())){const{default:m}=await ga(async()=>{const{default:v}=await import("./index-exAwIFx3.js");return{default:v}},[]),{default:x}=await ga(async()=>{const{default:v}=await import("./index-DQyboMGi.js");return{default:v}},[]);iF(),p([...d(),m]),h([...f(),x])}oF(),setTimeout(()=>{a(!0),w6.highlightAll(),window.mermaid&&window.mermaid.run({querySelector:".language-mermaid"}),window.onMDRender&&window.onMDRender()})}));const[c,g]=Ie();return w(Be,{ref:m=>g(m),class:"markdown",pos:"relative",w:"$full",get children(){return[w(Re,{get when(){return r()},get children(){return w(JI,{get class(){return ZM("markdown-body",e.class)},get remarkPlugins(){return d()},get rehypePlugins(){return f()},get children(){return u()}})}}),w(Re,{when:!i,get children(){return w(yF,{get encoding(){return t()},setEncoding:n,get referenceText(){return e.children}})}}),w(nF,{get disabled(){return!e.toc},get markdownRef(){return c()}})]}})}function zH(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z"/><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"/>'},e)}function jH(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M518.3 459a8 8 0 0 0-12.6 0l-112 141.7a7.98 7.98 0 0 0 6.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"/><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"/>'},e)}function qH(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"/>'},e)}function sF(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"/>'},e)}function lF(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="m290 236.4 43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"/>'},e)}function WH(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z"/>'},e)}function VH(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="m924.8 625.7-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 0 0 9.3-35.2l-.9-2.6a443.74 443.74 0 0 0-79.7-137.9l-1.8-2.1a32.12 32.12 0 0 0-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 0 0-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 0 0-25.8 25.7l-15.8 85.4a351.86 351.86 0 0 0-99 57.4l-81.9-29.1a32 32 0 0 0-35.1 9.5l-1.8 2.1a446.02 446.02 0 0 0-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 0 0-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0 0 35.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0 0 25.8 25.7l2.7.5a449.4 449.4 0 0 0 159 0l2.7-.5a32.05 32.05 0 0 0 25.8-25.7l15.7-85a350 350 0 0 0 99.7-57.6l81.3 28.9a32 32 0 0 0 35.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 0 1-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 0 1-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 0 1 512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 0 1 400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 0 1 624 502c0 29.9-11.7 58-32.8 79.2z"/>'},e)}function GH(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path fill="currentColor" fill-opacity="0.09" d="M292.7 840h438.6l24.2-512h-487z"/><path d="M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z"/>'},e)}const jf=e=>{const t=X({h:"$full"},e);return w(go,{get h(){return t.h},p:"$2",flexDirection:"column",get children(){return w(Be,{rounded:"$lg",px:"$4",py:"$6",get bgColor(){return oc("white","$neutral3")()},get children(){return[w(gx,{css:{wordBreak:"break-all"},get children(){return e.msg}}),w(Re,{get when(){return e.actions},get children(){return w(Nu,{mt:"$4",justifyContent:"center",get children(){return e.actions}})}}),w(Re,{get when(){return!e.disableColor},get children(){return w(Nu,{mt:"$2",justifyContent:"end",get children(){return w(tk,{})}})}})]}})}})},KH=e=>{const{isOpen:t,onToggle:n}=_w();return w(Be,{get pos(){return t()?"fixed":"relative"},get w(){return ir(()=>!!t())()?"100vw":e.w},get h(){return ir(()=>!!t())()?"100vh":e.h},top:0,left:0,zIndex:1,transition:"all 0.2s ease-in-out",get css(){return{backdropFilter:t()?"blur(5px)":void 0}},get children(){return[ir(()=>e.children),w(yi,{pos:"absolute",right:"$2",bottom:"$2","aria-label":"toggle fullscreen",get as(){return t()?sF:lF},onClick:n,cursor:"pointer",rounded:"$md",get bgColor(){return d6()},p:"$1",boxSize:"$7"})]}})};function uF(e){return w(rb,{get size(){return e.size},get value(){return e.value},get onChange(){return e.onChange},get children(){return[w(mc,{get borderColor(){return e.alwaysShowBorder?"$info5":void 0},get w(){return e.w},get children(){return[w(xc,{}),w(Cs,{})]}}),w(dc,{get children(){return w(fc,{get children(){return w(uo,{get each(){return e.options},children:t=>w(hc,{get value(){return t.value},get children(){return[w(gc,{get children(){var n;return(n=t.label)!=null?n:t.value}}),w(pc,{})]}})})}})}})]}})}var Ir={},Xl={},P1;function cF(){return P1||(P1=1,Object.defineProperty(Xl,"__esModule",{value:!0}),Xl.default=()=>{throw new Error("File system is not available")}),Xl}var Mi={},Ql={},D1;function Ao(){return D1||(D1=1,Object.defineProperty(Ql,"__esModule",{value:!0}),Ql.default=(e,t,n)=>({confidence:n,name:t.name(e),lang:t.language?t.language():void 0})),Ql}var M1;function dF(){if(M1)return Mi;M1=1;var e=Mi&&Mi.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Mi,"__esModule",{value:!0});const t=e(Ao());class n{name(){return"ASCII"}match(a){const i=a.rawInput;for(let o=0;o<a.rawLen;o++){const s=i[o];if(s<32||s>126)return(0,t.default)(a,this,0)}return(0,t.default)(a,this,100)}}return Mi.default=n,Mi}var Bi={},B1;function fF(){if(B1)return Bi;B1=1;var e=Bi&&Bi.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Bi,"__esModule",{value:!0});const t=e(Ao());class n{name(){return"UTF-8"}match(a){let i=!1,o=0,s=0,l=0,u;const d=a.rawInput;a.rawLen>=3&&(d[0]&255)==239&&(d[1]&255)==187&&(d[2]&255)==191&&(i=!0);for(let p=0;p<a.rawLen;p++){const f=d[p];if((f&128)!=0){if((f&224)==192)l=1;else if((f&240)==224)l=2;else if((f&248)==240)l=3;else{if(s++,s>5)break;l=0}for(;p++,!(p>=a.rawLen);){if((d[p]&192)!=128){s++;break}if(--l==0){o++;break}}}}if(u=0,i&&s==0)u=100;else if(i&&o>s*10)u=80;else if(o>3&&s==0)u=100;else if(o>0&&s==0)u=80;else if(o==0&&s==0)u=10;else if(o>s*10)u=25;else return null;return(0,t.default)(a,this,u)}}return Bi.default=n,Bi}var Qn={},F1;function hF(){if(F1)return Qn;F1=1;var e=Qn&&Qn.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.UTF_32LE=Qn.UTF_32BE=Qn.UTF_16LE=Qn.UTF_16BE=void 0;const t=e(Ao());class n{name(){return"UTF-16BE"}match(l){const u=l.rawInput;return u.length>=2&&(u[0]&255)==254&&(u[1]&255)==255?(0,t.default)(l,this,100):null}}Qn.UTF_16BE=n;class r{name(){return"UTF-16LE"}match(l){const u=l.rawInput;return u.length>=2&&(u[0]&255)==255&&(u[1]&255)==254?u.length>=4&&u[2]==0&&u[3]==0?null:(0,t.default)(l,this,100):null}}Qn.UTF_16LE=r;class a{name(){return"UTF-32"}getChar(l,u){return-1}match(l){let u=0,d=0,p=!1,f=0;const h=l.rawLen/4*4,c=l.rawInput;if(h==0)return null;this.getChar(c,0)==65279&&(p=!0);for(let g=0;g<h;g+=4){const m=this.getChar(c,g);m<0||m>=1114111||m>=55296&&m<=57343?d+=1:u+=1}return p&&d==0?f=100:p&&u>d*10?f=80:u>3&&d==0?f=100:u>0&&d==0?f=80:u>d*10&&(f=25),f==0?null:(0,t.default)(l,this,f)}}class i extends a{name(){return"UTF-32BE"}getChar(l,u){return(l[u+0]&255)<<24|(l[u+1]&255)<<16|(l[u+2]&255)<<8|l[u+3]&255}}Qn.UTF_32BE=i;class o extends a{name(){return"UTF-32LE"}getChar(l,u){return(l[u+3]&255)<<24|(l[u+2]&255)<<16|(l[u+1]&255)<<8|l[u+0]&255}}return Qn.UTF_32LE=o,Qn}var Nn={},$1;function pF(){if($1)return Nn;$1=1;var e=Nn&&Nn.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.gb_18030=Nn.euc_kr=Nn.euc_jp=Nn.big5=Nn.sjis=void 0;const t=e(Ao());function n(p,f){const h=(c,g,m,x)=>{if(x<m)return-1;const v=Math.floor(m+x>>>1);return g>c[v]?h(c,g,v+1,x):g<c[v]?h(c,g,m,v-1):v};return h(p,f,0,p.length-1)}class r{constructor(){this.charValue=0,this.index=0,this.nextIndex=0,this.error=!1,this.done=!1}reset(){this.charValue=0,this.index=-1,this.nextIndex=0,this.error=!1,this.done=!1}nextByte(f){return this.nextIndex>=f.rawLen?(this.done=!0,-1):f.rawInput[this.nextIndex++]&255}}let a=class{constructor(){this.commonChars=[]}name(){return"mbcs"}match(f){let h=0,c=0,g=0,m=0,x=0;const v=new r;e:{for(v.reset();this.nextChar(v,f);){if(m++,v.error)g++;else{const y=v.charValue&4294967295;y>255&&(h++,this.commonChars!=null&&n(this.commonChars,y)>=0&&c++)}if(g>=2&&g*5>=h)break e}if(h<=10&&g==0){h==0&&m<10?x=0:x=10;break e}if(h<20*g){x=0;break e}if(this.commonChars==null)x=30+h-20*g,x>100&&(x=100);else{const _=90/Math.log(h/4);x=Math.floor(Math.log(c+1)*_+10),x=Math.min(x,100)}}return x==0?null:(0,t.default)(f,this,x)}nextChar(f,h){return!0}};class i extends a{constructor(){super(...arguments),this.commonChars=[33088,33089,33090,33093,33115,33129,33130,33141,33142,33440,33442,33444,33449,33450,33451,33453,33455,33457,33459,33461,33463,33469,33470,33473,33476,33477,33478,33480,33481,33484,33485,33500,33504,33511,33512,33513,33514,33520,33521,33601,33603,33614,33615,33624,33630,33634,33639,33653,33654,33673,33674,33675,33677,33683,36502,37882,38314]}name(){return"Shift_JIS"}language(){return"ja"}nextChar(f,h){f.index=f.nextIndex,f.error=!1;const c=f.charValue=f.nextByte(h);if(c<0)return!1;if(c<=127||c>160&&c<=223)return!0;const g=f.nextByte(h);return g<0?!1:(f.charValue=c<<8|g,g>=64&&g<=127||g>=128&&g<=255||(f.error=!0),!0)}}Nn.sjis=i;class o extends a{constructor(){super(...arguments),this.commonChars=[41280,41281,41282,41283,41287,41289,41333,41334,42048,42054,42055,42056,42065,42068,42071,42084,42090,42092,42103,42147,42148,42151,42177,42190,42193,42207,42216,42237,42304,42312,42328,42345,42445,42471,42583,42593,42594,42600,42608,42664,42675,42681,42707,42715,42726,42738,42816,42833,42841,42970,43171,43173,43181,43217,43219,43236,43260,43456,43474,43507,43627,43706,43710,43724,43772,44103,44111,44208,44242,44377,44745,45024,45290,45423,45747,45764,45935,46156,46158,46412,46501,46525,46544,46552,46705,47085,47207,47428,47832,47940,48033,48593,49860,50105,50240,50271]}name(){return"Big5"}language(){return"zh"}nextChar(f,h){f.index=f.nextIndex,f.error=!1;const c=f.charValue=f.nextByte(h);if(c<0)return!1;if(c<=127||c==255)return!0;const g=f.nextByte(h);return g<0?!1:(f.charValue=f.charValue<<8|g,(g<64||g==127||g==255)&&(f.error=!0),!0)}}Nn.big5=o;function s(p,f){p.index=p.nextIndex,p.error=!1;let h=0,c=0,g=0;e:{if(h=p.charValue=p.nextByte(f),h<0){p.done=!0;break e}if(h<=141)break e;if(c=p.nextByte(f),p.charValue=p.charValue<<8|c,h>=161&&h<=254){c<161&&(p.error=!0);break e}if(h==142){c<161&&(p.error=!0);break e}h==143&&(g=p.nextByte(f),p.charValue=p.charValue<<8|g,g<161&&(p.error=!0))}return p.done==!1}class l extends a{constructor(){super(...arguments),this.commonChars=[41377,41378,41379,41382,41404,41418,41419,41430,41431,42146,42148,42150,42152,42154,42155,42156,42157,42159,42161,42163,42165,42167,42169,42171,42173,42175,42176,42177,42179,42180,42182,42183,42184,42185,42186,42187,42190,42191,42192,42206,42207,42209,42210,42212,42216,42217,42218,42219,42220,42223,42226,42227,42402,42403,42404,42406,42407,42410,42413,42415,42416,42419,42421,42423,42424,42425,42431,42435,42438,42439,42440,42441,42443,42448,42453,42454,42455,42462,42464,42465,42469,42473,42474,42475,42476,42477,42483,47273,47572,47854,48072,48880,49079,50410,50940,51133,51896,51955,52188,52689],this.nextChar=s}name(){return"EUC-JP"}language(){return"ja"}}Nn.euc_jp=l;class u extends a{constructor(){super(...arguments),this.commonChars=[45217,45235,45253,45261,45268,45286,45293,45304,45306,45308,45496,45497,45511,45527,45538,45994,46011,46274,46287,46297,46315,46501,46517,46527,46535,46569,46835,47023,47042,47054,47270,47278,47286,47288,47291,47337,47531,47534,47564,47566,47613,47800,47822,47824,47857,48103,48115,48125,48301,48314,48338,48374,48570,48576,48579,48581,48838,48840,48863,48878,48888,48890,49057,49065,49088,49124,49131,49132,49144,49319,49327,49336,49338,49339,49341,49351,49356,49358,49359,49366,49370,49381,49403,49404,49572,49574,49590,49622,49631,49654,49656,50337,50637,50862,51151,51153,51154,51160,51173,51373],this.nextChar=s}name(){return"EUC-KR"}language(){return"ko"}}Nn.euc_kr=u;class d extends a{constructor(){super(...arguments),this.commonChars=[41377,41378,41379,41380,41392,41393,41457,41459,41889,41900,41914,45480,45496,45502,45755,46025,46070,46323,46525,46532,46563,46767,46804,46816,47010,47016,47037,47062,47069,47284,47327,47350,47531,47561,47576,47610,47613,47821,48039,48086,48097,48122,48316,48347,48382,48588,48845,48861,49076,49094,49097,49332,49389,49611,49883,50119,50396,50410,50636,50935,51192,51371,51403,51413,51431,51663,51706,51889,51893,51911,51920,51926,51957,51965,52460,52728,52906,52932,52946,52965,53173,53186,53206,53442,53445,53456,53460,53671,53930,53938,53941,53947,53972,54211,54224,54269,54466,54490,54754,54992]}name(){return"GB18030"}language(){return"zh"}nextChar(f,h){f.index=f.nextIndex,f.error=!1;let c=0,g=0,m=0,x=0;e:{if(c=f.charValue=f.nextByte(h),c<0){f.done=!0;break e}if(c<=128)break e;if(g=f.nextByte(h),f.charValue=f.charValue<<8|g,c>=129&&c<=254){if(g>=64&&g<=126||g>=80&&g<=254)break e;if(g>=48&&g<=57&&(m=f.nextByte(h),m>=129&&m<=254&&(x=f.nextByte(h),x>=48&&x<=57))){f.charValue=f.charValue<<16|m<<8|x;break e}f.error=!0;break e}}return f.done==!1}}return Nn.gb_18030=d,Nn}var $t={},H1;function gF(){if(H1)return $t;H1=1;var e=$t&&$t.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty($t,"__esModule",{value:!0}),$t.KOI8_R=$t.windows_1256=$t.windows_1251=$t.ISO_8859_9=$t.ISO_8859_8=$t.ISO_8859_7=$t.ISO_8859_6=$t.ISO_8859_5=$t.ISO_8859_2=$t.ISO_8859_1=void 0;const t=e(Ao()),n=16777215;class r{constructor(v,y){this.byteIndex=0,this.ngram=0,this.ngramCount=0,this.hitCount=0,this.spaceChar=32,this.ngramList=v,this.byteMap=y}search(v,y){let _=0;return v[_+32]<=y&&(_+=32),v[_+16]<=y&&(_+=16),v[_+8]<=y&&(_+=8),v[_+4]<=y&&(_+=4),v[_+2]<=y&&(_+=2),v[_+1]<=y&&(_+=1),v[_]>y&&(_-=1),_<0||v[_]!=y?-1:_}lookup(v){this.ngramCount+=1,this.search(this.ngramList,v)>=0&&(this.hitCount+=1)}addByte(v){this.ngram=(this.ngram<<8)+(v&255)&n,this.lookup(this.ngram)}nextByte(v){return this.byteIndex>=v.inputLen?-1:v.inputBytes[this.byteIndex++]&255}parse(v,y){let _,S=!1;for(this.spaceChar=y;(_=this.nextByte(v))>=0;){const T=this.byteMap[_];T!=0&&(T==this.spaceChar&&S||this.addByte(T),S=T==this.spaceChar)}this.addByte(this.spaceChar);const C=this.hitCount/this.ngramCount;return C>.33?98:Math.floor(C*300)}}class a{constructor(v,y){this.fLang=v,this.fNGrams=y}}const i=x=>Array.isArray(x)&&isFinite(x[0]);let o=class{constructor(){this.spaceChar=32,this.nGramLang=void 0}ngrams(){return[]}byteMap(){return[]}name(v){return"sbcs"}language(){return this.nGramLang}match(v){this.nGramLang=void 0;const y=this.ngrams();if(i(y)){const C=new r(y,this.byteMap()).parse(v,this.spaceChar);return C<=0?null:(0,t.default)(v,this,C)}let _=-1;for(let S=y.length-1;S>=0;S--){const C=y[S],R=new r(C.fNGrams,this.byteMap()).parse(v,this.spaceChar);R>_&&(_=R,this.nGramLang=C.fLang)}return _<=0?null:(0,t.default)(v,this,_)}};class s extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,186,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,255]}ngrams(){return[new a("da",[2122086,2122100,2122853,2123118,2123122,2123375,2123873,2124064,2125157,2125671,2126053,2126697,2126708,2126953,2127465,6383136,6385184,6385252,6386208,6386720,6579488,6579566,6579570,6579572,6627443,6644768,6644837,6647328,6647396,6648352,6648421,6648608,6648864,6713202,6776096,6776174,6776178,6907749,6908960,6909543,7038240,7039845,7103858,7104871,7105637,7169380,7234661,7234848,7235360,7235429,7300896,7302432,7303712,7398688,7479396,7479397,7479411,7496992,7566437,7610483,7628064,7628146,7629164,7759218]),new a("de",[2122094,2122101,2122341,2122849,2122853,2122857,2123113,2123621,2123873,2124142,2125161,2126691,2126693,2127214,2127461,2127471,2127717,2128501,6448498,6514720,6514789,6514804,6578547,6579566,6579570,6580581,6627428,6627443,6646126,6646132,6647328,6648352,6648608,6776174,6841710,6845472,6906728,6907168,6909472,6909541,6911008,7104867,7105637,7217249,7217252,7217267,7234592,7234661,7234848,7235360,7235429,7238757,7479396,7496805,7497065,7562088,7566437,7610468,7628064,7628142,7628146,7695972,7695975,7759218]),new a("en",[2122016,2122094,2122341,2122607,2123375,2123873,2123877,2124142,2125153,2125670,2125938,2126437,2126689,2126708,2126952,2126959,2127720,6383972,6384672,6385184,6385252,6386464,6386720,6386789,6386793,6561889,6561908,6627425,6627443,6627444,6644768,6647412,6648352,6648608,6713202,6840692,6841632,6841714,6906912,6909472,6909543,6909806,6910752,7217249,7217268,7234592,7235360,7238688,7300640,7302688,7303712,7496992,7500576,7544929,7544948,7561577,7566368,7610484,7628146,7628897,7628901,7629167,7630624,7631648]),new a("es",[2122016,2122593,2122607,2122853,2123116,2123118,2123123,2124142,2124897,2124911,2125921,2125935,2125938,2126197,2126437,2126693,2127214,2128160,6365283,6365284,6365285,6365292,6365296,6382441,6382703,6384672,6386208,6386464,6515187,6516590,6579488,6579564,6582048,6627428,6627429,6627436,6646816,6647328,6647412,6648608,6648692,6907246,6943598,7102752,7106419,7217253,7238757,7282788,7282789,7302688,7303712,7303968,7364978,7435621,7495968,7497075,7544932,7544933,7544944,7562528,7628064,7630624,7693600,15953440]),new a("fr",[2122101,2122607,2122849,2122853,2122869,2123118,2123124,2124897,2124901,2125921,2125935,2125938,2126197,2126693,2126703,2127214,2154528,6385268,6386793,6513952,6516590,6579488,6579571,6583584,6627425,6627427,6627428,6627429,6627436,6627440,6627443,6647328,6647412,6648352,6648608,6648864,6649202,6909806,6910752,6911008,7102752,7103776,7103859,7169390,7217252,7234848,7238432,7238688,7302688,7302772,7304562,7435621,7479404,7496992,7544929,7544932,7544933,7544940,7544944,7610468,7628064,7629167,7693600,7696928]),new a("it",[2122092,2122600,2122607,2122853,2122857,2123040,2124140,2124142,2124897,2125925,2125938,2127214,6365283,6365284,6365296,6365299,6386799,6514789,6516590,6579564,6580512,6627425,6627427,6627428,6627433,6627436,6627440,6627443,6646816,6646892,6647412,6648352,6841632,6889569,6889571,6889572,6889587,6906144,6908960,6909472,6909806,7102752,7103776,7104800,7105633,7234848,7235872,7237408,7238757,7282785,7282788,7282793,7282803,7302688,7302757,7366002,7495968,7496992,7563552,7627040,7628064,7629088,7630624,8022383]),new a("nl",[2122092,2122341,2122849,2122853,2122857,2123109,2123118,2123621,2123877,2124142,2125153,2125157,2125680,2126949,2127457,2127461,2127471,2127717,2128489,6381934,6381938,6385184,6385252,6386208,6386720,6514804,6579488,6579566,6579570,6627426,6627446,6645102,6645106,6647328,6648352,6648435,6648864,6776174,6841716,6907168,6909472,6909543,6910752,7217250,7217252,7217253,7217256,7217263,7217270,7234661,7235360,7302756,7303026,7303200,7303712,7562088,7566437,7610468,7628064,7628142,7628146,7758190,7759218,7761775]),new a("no",[2122100,2122102,2122853,2123118,2123122,2123375,2123873,2124064,2125157,2125671,2126053,2126693,2126699,2126703,2126708,2126953,2127465,2155808,6385252,6386208,6386720,6579488,6579566,6579572,6627443,6644768,6647328,6647397,6648352,6648421,6648864,6648948,6713202,6776174,6908779,6908960,6909543,7038240,7039845,7103776,7105637,7169380,7169390,7217267,7234848,7235360,7235429,7237221,7300896,7302432,7303712,7398688,7479411,7496992,7565165,7566437,7610483,7628064,7628142,7628146,7629164,7631904,7631973,7759218]),new a("pt",[2122016,2122607,2122849,2122853,2122863,2123040,2123123,2125153,2125423,2125600,2125921,2125935,2125938,2126197,2126437,2126693,2127213,6365281,6365283,6365284,6365296,6382693,6382703,6384672,6386208,6386273,6386464,6516589,6516590,6578464,6579488,6582048,6582131,6627425,6627428,6647072,6647412,6648608,6648692,6906144,6906721,7169390,7238757,7238767,7282785,7282787,7282788,7282789,7282800,7303968,7364978,7435621,7495968,7497075,7544929,7544932,7544933,7544944,7566433,7628064,7630624,7693600,14905120,15197039]),new a("sv",[2122100,2122102,2122853,2123118,2123510,2123873,2124064,2124142,2124655,2125157,2125667,2126053,2126699,2126703,2126708,2126953,2127457,2127465,2155634,6382693,6385184,6385252,6386208,6386804,6514720,6579488,6579566,6579570,6579572,6644768,6647328,6648352,6648864,6747762,6776174,6909036,6909543,7037216,7105568,7169380,7217267,7233824,7234661,7235360,7235429,7235950,7299944,7302432,7302688,7398688,7479393,7479411,7495968,7564129,7565165,7610483,7627040,7628064,7628146,7629164,7631904,7758194,14971424,16151072])]}name(v){return v&&v.c1Bytes?"windows-1252":"ISO-8859-1"}}$t.ISO_8859_1=s;class l extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,177,32,179,32,181,182,32,32,185,186,187,188,32,190,191,32,177,32,179,32,181,182,183,32,185,186,187,188,32,190,191,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,32]}ngrams(){return[new a("cs",[2122016,2122361,2122863,2124389,2125409,2125413,2125600,2125668,2125935,2125938,2126072,2126447,2126693,2126703,2126708,2126959,2127392,2127481,2128481,6365296,6513952,6514720,6627440,6627443,6627446,6647072,6647533,6844192,6844260,6910836,6972704,7042149,7103776,7104800,7233824,7268640,7269408,7269664,7282800,7300206,7301737,7304052,7304480,7304801,7368548,7368554,7369327,7403621,7562528,7565173,7566433,7566441,7566446,7628146,7630573,7630624,7676016,12477728,14773997,15296623,15540336,15540339,15559968,16278884]),new a("hu",[2122016,2122106,2122341,2123111,2123116,2123365,2123873,2123887,2124147,2124645,2124649,2124790,2124901,2125153,2125157,2125161,2125413,2126714,2126949,2156915,6365281,6365291,6365293,6365299,6384416,6385184,6388256,6447470,6448494,6645625,6646560,6646816,6646885,6647072,6647328,6648421,6648864,6648933,6648948,6781216,6844263,6909556,6910752,7020641,7075450,7169383,7170414,7217249,7233899,7234923,7234925,7238688,7300985,7544929,7567973,7567988,7568097,7596391,7610465,7631904,7659891,8021362,14773792,15299360]),new a("pl",[2122618,2122863,2124064,2124389,2124655,2125153,2125161,2125409,2125417,2125668,2125935,2125938,2126697,2127648,2127721,2127737,2128416,2128481,6365296,6365303,6385257,6514720,6519397,6519417,6582048,6584937,6627440,6627443,6627447,6627450,6645615,6646304,6647072,6647401,6778656,6906144,6907168,6907242,7037216,7039264,7039333,7170405,7233824,7235937,7235941,7282800,7305057,7305065,7368556,7369313,7369327,7369338,7502437,7502457,7563754,7564137,7566433,7825765,7955304,7957792,8021280,8022373,8026400,15955744]),new a("ro",[2122016,2122083,2122593,2122597,2122607,2122613,2122853,2122857,2124897,2125153,2125925,2125938,2126693,2126819,2127214,2144873,2158190,6365283,6365284,6386277,6386720,6386789,6386976,6513010,6516590,6518048,6546208,6579488,6627425,6627427,6627428,6627440,6627443,6644e3,6646048,6646885,6647412,6648692,6889569,6889571,6889572,6889584,6907168,6908192,6909472,7102752,7103776,7106418,7107945,7234848,7238770,7303712,7365998,7496992,7497057,7501088,7594784,7628064,7631477,7660320,7694624,7695392,12216608,15625760])]}name(v){return v&&v.c1Bytes?"windows-1250":"ISO-8859-2"}}$t.ISO_8859_2=l;class u extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,241,242,243,244,245,246,247,248,249,250,251,252,32,254,255,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,32,241,242,243,244,245,246,247,248,249,250,251,252,32,254,255]}ngrams(){return[2150944,2151134,2151646,2152400,2152480,2153168,2153182,2153936,2153941,2154193,2154462,2154464,2154704,2154974,2154978,2155230,2156514,2158050,13688280,13689580,13884960,14015468,14015960,14016994,14017056,14164191,14210336,14211104,14216992,14407133,14407712,14413021,14536736,14538016,14538965,14538991,14540320,14540498,14557394,14557407,14557409,14602784,14602960,14603230,14604576,14605292,14605344,14606818,14671579,14672085,14672088,14672094,14733522,14734804,14803664,14803666,14803672,14806816,14865883,14868e3,14868192,14871584,15196894,15459616]}name(){return"ISO-8859-5"}language(){return"ru"}}$t.ISO_8859_5=u;class d extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]}ngrams(){return[2148324,2148326,2148551,2152932,2154986,2155748,2156006,2156743,13050055,13091104,13093408,13095200,13100064,13100227,13100231,13100232,13100234,13100236,13100237,13100239,13100243,13100249,13100258,13100261,13100264,13100266,13100320,13100576,13100746,13115591,13181127,13181153,13181156,13181157,13181160,13246663,13574343,13617440,13705415,13748512,13836487,14229703,14279913,14805536,14950599,14993696,15001888,15002144,15016135,15058720,15059232,15066656,15081671,15147207,15189792,15255524,15263264,15278279,15343815,15343845,15343848,15386912,15388960,15394336]}name(){return"ISO-8859-6"}language(){return"ar"}}$t.ISO_8859_6=d;class p extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,161,162,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,220,32,221,222,223,32,252,32,253,254,192,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,32,243,244,245,246,247,248,249,250,251,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,32]}ngrams(){return[2154989,2154992,2155497,2155753,2156016,2156320,2157281,2157797,2158049,2158368,2158817,2158831,2158833,2159604,2159605,2159847,2159855,14672160,14754017,14754036,14805280,14806304,14807292,14807584,14936545,15067424,15069728,15147252,15199520,15200800,15278324,15327520,15330014,15331872,15393257,15393268,15525152,15540449,15540453,15540464,15589664,15725088,15725856,15790069,15790575,15793184,15868129,15868133,15868138,15868144,15868148,15983904,15984416,15987951,16048416,16048617,16050157,16050162,16050666,16052e3,16052213,16054765,16379168,16706848]}name(v){return v&&v.c1Bytes?"windows-1253":"ISO-8859-7"}language(){return"el"}}$t.ISO_8859_7=p;class f extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,32,32,32,32,32]}ngrams(){return[new a("he",[2154725,2154727,2154729,2154746,2154985,2154990,2155744,2155749,2155753,2155758,2155762,2155769,2155770,2157792,2157796,2158304,2159340,2161132,14744096,14950624,14950625,14950628,14950636,14950638,14950649,15001056,15065120,15068448,15068960,15071264,15071776,15278308,15328288,15328762,15329773,15330592,15331104,15333408,15333920,15474912,15474916,15523872,15524896,15540448,15540449,15540452,15540460,15540462,15540473,15655968,15671524,15787040,15788320,15788525,15920160,16261348,16312813,16378912,16392416,16392417,16392420,16392428,16392430,16392441]),new a("he",[2154725,2154732,2155753,2155756,2155758,2155760,2157040,2157810,2157817,2158053,2158057,2158565,2158569,2160869,2160873,2161376,2161381,2161385,14688484,14688492,14688493,14688506,14738464,14738916,14740512,14741024,14754020,14754029,14754042,14950628,14950633,14950636,14950637,14950639,14950648,14950650,15002656,15065120,15066144,15196192,15327264,15327520,15328288,15474916,15474925,15474938,15528480,15530272,15591913,15591920,15591928,15605988,15605997,15606010,15655200,15655968,15918112,16326884,16326893,16326906,16376864,16441376,16442400,16442857])]}name(v){return v&&v.c1Bytes?"windows-1255":"ISO-8859-8"}language(){return"he"}}$t.ISO_8859_8=f;class h extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,186,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,105,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,255]}ngrams(){return[2122337,2122345,2122357,2122849,2122853,2123621,2123873,2124140,2124641,2124655,2125153,2125676,2126689,2126945,2127461,2128225,6365282,6384416,6384737,6384993,6385184,6385405,6386208,6386273,6386429,6386685,6388065,6449522,6578464,6579488,6580512,6627426,6627435,6644841,6647328,6648352,6648425,6648681,6909029,6909472,6909545,6910496,7102830,7102834,7103776,7103858,7217249,7217250,7217259,7234657,7234661,7234848,7235872,7235950,7273760,7498094,7535982,7759136,7954720,7958386,16608800,16608868,16609021,16642301]}name(v){return v&&v.c1Bytes?"windows-1254":"ISO-8859-9"}language(){return"tr"}}$t.ISO_8859_9=h;class c extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,144,131,32,131,32,32,32,32,32,32,154,32,156,157,158,159,144,32,32,32,32,32,32,32,32,32,154,32,156,157,158,159,32,162,162,188,32,180,32,32,184,32,186,32,32,32,32,191,32,32,179,179,180,181,32,32,184,32,186,32,188,190,190,191,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255]}ngrams(){return[2155040,2155246,2155758,2156512,2156576,2157280,2157294,2158048,2158053,2158305,2158574,2158576,2158816,2159086,2159090,2159342,2160626,2162162,14740968,14742268,14937632,15068156,15068648,15069682,15069728,15212783,15263008,15263776,15269664,15459821,15460384,15465709,15589408,15590688,15591653,15591679,15592992,15593186,15605986,15605999,15606001,15655456,15655648,15655918,15657248,15657980,15658016,15659506,15724267,15724773,15724776,15724782,15786210,15787492,15856352,15856354,15856360,15859488,15918571,15920672,15920880,15924256,16249582,16512288]}name(){return"windows-1251"}language(){return"ru"}}$t.windows_1251=c;class g extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,129,32,131,32,32,32,32,136,32,138,32,156,141,142,143,144,32,32,32,32,32,32,32,152,32,154,32,156,32,32,159,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,32,32,32,32,32,32,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,32,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,32,32,32,32,244,32,32,32,32,249,32,251,252,32,32,255]}ngrams(){return[2148321,2148324,2148551,2153185,2153965,2154977,2155492,2156231,13050055,13091104,13093408,13095200,13099296,13099459,13099463,13099464,13099466,13099468,13099469,13099471,13099475,13099482,13099486,13099491,13099494,13099501,13099808,13100064,13100234,13115591,13181127,13181149,13181153,13181155,13181158,13246663,13574343,13617440,13705415,13748512,13836487,14295239,14344684,14544160,14753991,14797088,14806048,14806304,14885063,14927648,14928160,14935072,14950599,15016135,15058720,15124449,15131680,15474887,15540423,15540451,15540454,15583520,15585568,15590432]}name(){return"windows-1256"}language(){return"ar"}}$t.windows_1256=g;class m extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,163,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,163,32,32,32,32,32,32,32,32,32,32,32,32,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223]}ngrams(){return[2147535,2148640,2149313,2149327,2150081,2150085,2150338,2150607,2150610,2151105,2151375,2151380,2151631,2152224,2152399,2153153,2153684,2154196,12701385,12702936,12963032,12963529,12964820,12964896,13094688,13181136,13223200,13224224,13226272,13419982,13420832,13424846,13549856,13550880,13552069,13552081,13553440,13553623,13574352,13574355,13574359,13617103,13617696,13618392,13618464,13620180,13621024,13621185,13684684,13685445,13685449,13685455,13812183,13813188,13881632,13882561,13882569,13882583,13944268,13946656,13946834,13948960,14272544,14603471]}name(){return"KOI8-R"}language(){return"ru"}}return $t.KOI8_R=m,$t}var Nr={},U1;function mF(){if(U1)return Nr;U1=1;var e=Nr&&Nr.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.ISO_2022_CN=Nr.ISO_2022_KR=Nr.ISO_2022_JP=void 0;const t=e(Ao());class n{constructor(){this.escapeSequences=[]}name(){return"ISO_2022"}match(s){let l,u,d,p=0,f=0,h=0,c;const g=s.inputBytes,m=s.inputLen;e:for(l=0;l<m;l++){if(g[l]==27){t:for(d=0;d<this.escapeSequences.length;d++){const x=this.escapeSequences[d];if(m-l<x.length)continue t;for(u=1;u<x.length;u++)if(x[u]!=g[l+u])continue t;p++,l+=x.length-1;continue e}f++}(g[l]==14||g[l]==15)&&h++}return p==0?null:(c=(100*p-100*f)/(p+f),p+h<5&&(c-=(5-(p+h))*10),c<=0?null:(0,t.default)(s,this,c))}}class r extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,40,67],[27,36,40,68],[27,36,64],[27,36,65],[27,36,66],[27,38,64],[27,40,66],[27,40,72],[27,40,73],[27,40,74],[27,46,65],[27,46,70]]}name(){return"ISO-2022-JP"}language(){return"ja"}}Nr.ISO_2022_JP=r;class a extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,67]]}name(){return"ISO-2022-KR"}language(){return"kr"}}Nr.ISO_2022_KR=a;class i extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,65],[27,36,41,71],[27,36,42,72],[27,36,41,69],[27,36,43,73],[27,36,43,74],[27,36,43,75],[27,36,43,76],[27,36,43,77],[27,78],[27,79]]}name(){return"ISO-2022-CN"}language(){return"zh"}}return Nr.ISO_2022_CN=i,Nr}var Qo={},z1;function xF(){if(z1)return Qo;z1=1,Object.defineProperty(Qo,"__esModule",{value:!0}),Qo.isByteArray=void 0;const e=t=>t==null||typeof t!="object"?!1:isFinite(t.length)&&t.length>=0;return Qo.isByteArray=e,Qo}var j1;function bF(){return j1||(j1=1,(function(e){var t=Ir&&Ir.__createBinding||(Object.create?(function(v,y,_,S){S===void 0&&(S=_);var C=Object.getOwnPropertyDescriptor(y,_);(!C||("get"in C?!y.__esModule:C.writable||C.configurable))&&(C={enumerable:!0,get:function(){return y[_]}}),Object.defineProperty(v,S,C)}):(function(v,y,_,S){S===void 0&&(S=_),v[S]=y[_]})),n=Ir&&Ir.__setModuleDefault||(Object.create?(function(v,y){Object.defineProperty(v,"default",{enumerable:!0,value:y})}):function(v,y){v.default=y}),r=Ir&&Ir.__importStar||(function(){var v=function(y){return v=Object.getOwnPropertyNames||function(_){var S=[];for(var C in _)Object.prototype.hasOwnProperty.call(_,C)&&(S[S.length]=C);return S},v(y)};return function(y){if(y&&y.__esModule)return y;var _={};if(y!=null)for(var S=v(y),C=0;C<S.length;C++)S[C]!=="default"&&t(_,y,S[C]);return n(_,y),_}})(),a=Ir&&Ir.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.detectFileSync=e.detectFile=e.analyse=e.detect=void 0;const i=a(cF()),o=a(dF()),s=a(fF()),l=r(hF()),u=r(pF()),d=r(gF()),p=r(mF()),f=xF(),h=[new s.default,new l.UTF_16BE,new l.UTF_16LE,new l.UTF_32BE,new l.UTF_32LE,new u.sjis,new u.big5,new u.euc_jp,new u.euc_kr,new u.gb_18030,new p.ISO_2022_JP,new p.ISO_2022_KR,new p.ISO_2022_CN,new d.ISO_8859_1,new d.ISO_8859_2,new d.ISO_8859_5,new d.ISO_8859_6,new d.ISO_8859_7,new d.ISO_8859_8,new d.ISO_8859_9,new d.windows_1251,new d.windows_1256,new d.KOI8_R,new o.default],c=v=>{const y=(0,e.analyse)(v);return y.length>0?y[0].name:null};e.detect=c;const g=v=>{if(!(0,f.isByteArray)(v))throw new Error("Input must be a byte array, e.g. Buffer or Uint8Array");const y=[];for(let T=0;T<256;T++)y[T]=0;for(let T=v.length-1;T>=0;T--)y[v[T]&255]++;let _=!1;for(let T=128;T<=159;T+=1)if(y[T]!==0){_=!0;break}const S={byteStats:y,c1Bytes:_,rawInput:v,rawLen:v.length,inputBytes:v,inputLen:v.length};return h.map(T=>T.match(S)).filter(T=>!!T).sort((T,R)=>R.confidence-T.confidence)};e.analyse=g;const m=(v,y={})=>new Promise((_,S)=>{let C;const T=(0,i.default)(),R=(A,I)=>{C&&T.closeSync(C),A?S(A):I?_((0,e.detect)(I)):S(new Error("No error and no buffer received"))},P=(y==null?void 0:y.sampleSize)||0;if(P>0){C=T.openSync(v,"r");let A=Buffer.allocUnsafe(P);T.read(C,A,0,P,y.offset,(I,$)=>{I?R(I,null):($<P&&(A=A.subarray(0,$)),R(null,A))});return}T.readFile(v,R)});e.detectFile=m;const x=(v,y={})=>{const _=(0,i.default)();if(y&&y.sampleSize){const S=_.openSync(v,"r");let C=Buffer.allocUnsafe(y.sampleSize);const T=_.readSync(S,C,0,y.sampleSize,y.offset);return T<y.sampleSize&&(C=C.subarray(0,T)),_.closeSync(S),(0,e.detect)(C)}return(0,e.detect)(_.readFileSync(v))};e.detectFileSync=x,e.default={analyse:e.analyse,detect:e.detect,detectFileSync:e.detectFileSync,detectFile:e.detectFile}})(Ir)),Ir}var vF=bF();const _F=fo(vF);function yF(e){const t=["utf-8","gbk","gb18030","ibm866","iso-8859-2","iso-8859-3","iso-8859-4","iso-8859-5","iso-8859-6","iso-8859-7","iso-8859-8","iso-8859-8i","iso-8859-10","iso-8859-13","iso-8859-14","iso-8859-15","iso-8859-16","koi8-r","koi8-u","macintosh","windows-874","windows-1250","windows-1251","windows-1252","windows-1253","windows-1254","windows-1255","windows-1256","windows-1257","windows-1258","x-mac-cyrillic","big5","euc-jp","iso-2022-jp","shift_jis","euc-kr","iso-2022-kr","utf-16be","utf-16le","x-user-defined","iso-2022-cn"];return Kt(()=>{if(e.referenceText){let n;typeof e.referenceText=="string"?n=new TextEncoder().encode(e.referenceText):n=new Uint8Array(e.referenceText);for(let r of _F.analyse(n)){const a=r.name.toLowerCase();if(t.includes(a)){e.setEncoding(a);return}}}}),w(Be,{pos:"absolute",right:0,top:0,w:"$36",opacity:.15,_hover:{opacity:1},zIndex:1,get children(){return w(uF,{get options(){return t.map(n=>({label:n.toLocaleUpperCase(),value:n}))},get value(){return e.encoding},onChange:n=>e.setEncoding(n)})}})}function QH(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43Zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282Z"/><path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43Zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282Z"/>'},e)}function ZH(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M1 11.5a.5.5 0 0 0 .5.5h11.793l-3.147 3.146a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 11H1.5a.5.5 0 0 0-.5.5zm14-7a.5.5 0 0 1-.5.5H2.707l3.147 3.146a.5.5 0 1 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 1 1 .708.708L2.707 4H14.5a.5.5 0 0 1 .5.5z"/>'},e)}function JH(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>'},e)}function eU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2.522 5H2a.5.5 0 0 0-.494.574l1.372 9.149A1.5 1.5 0 0 0 4.36 16h7.278a1.5 1.5 0 0 0 1.483-1.277l1.373-9.149A.5.5 0 0 0 14 5h-.522A5.5 5.5 0 0 0 2.522 5zm1.005 0a4.5 4.5 0 0 1 8.945 0H3.527zm9.892 1-1.286 8.574a.5.5 0 0 1-.494.426H4.36a.5.5 0 0 1-.494-.426L2.58 6h10.838z"/>'},e)}function tU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M10.5 8.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z"/><path d="M2 4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.172a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 9.172 2H6.828a2 2 0 0 0-1.414.586l-.828.828A2 2 0 0 1 3.172 4H2zm.5 2a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm9 2.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0z"/>'},e)}function nU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/><path d="M1.5 2A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13zm13 1a.5.5 0 0 1 .5.5v6l-3.775-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062L1.002 12v.54A.505.505 0 0 1 1 12.5v-9a.5.5 0 0 1 .5-.5h13z"/>'},e)}function rU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M8 0a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 4.095 0 5.555 0 7.318 0 9.366 1.708 11 3.781 11H7.5V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V11h4.188C14.502 11 16 9.57 16 7.773c0-1.636-1.242-2.969-2.834-3.194C12.923 1.999 10.69 0 8 0zm-.5 14.5V11h1v3.5a.5.5 0 0 1-1 0z"/>'},e)}function aU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.884 6.68 8 9.219l2.116-2.54a.5.5 0 1 1 .768.641L8.651 10l2.233 2.68a.5.5 0 0 1-.768.64L8 10.781l-2.116 2.54a.5.5 0 0 1-.768-.641L7.349 10 5.116 7.32a.5.5 0 1 1 .768-.64z"/>'},e)}function iU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.057 6h5.886L11 8h-.5c-.18-1.096-.356-1.192-1.694-1.235l-.298-.01v5.09c0 .47.1.582.903.655v.5H6.59v-.5c.799-.073.898-.184.898-.654V6.755l-.293.01C5.856 6.808 5.68 6.905 5.5 8H5l.057-2z"/>'},e)}function oU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707v5.586l-2.73-2.73a1 1 0 0 0-1.52.127l-1.889 2.644-1.769-1.062a1 1 0 0 0-1.222.15L2 12.292V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zm-1.498 4a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0z"/><path d="M10.564 8.27 14 11.708V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-.293l3.578-3.577 2.56 1.536 2.426-3.395z"/>'},e)}function sU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM6 8.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1z"/>'},e)}function lU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM11 6.64v1.75l-2 .5v3.61c0 .495-.301.883-.662 1.123C7.974 13.866 7.499 14 7 14c-.5 0-.974-.134-1.338-.377-.36-.24-.662-.628-.662-1.123s.301-.883.662-1.123C6.026 11.134 6.501 11 7 11c.356 0 .7.068 1 .196V6.89a1 1 0 0 1 .757-.97l1-.25A1 1 0 0 1 11 6.64z"/>'},e)}function uU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M5.523 12.424c.14-.082.293-.162.459-.238a7.878 7.878 0 0 1-.45.606c-.28.337-.498.516-.635.572a.266.266 0 0 1-.035.012.282.282 0 0 1-.026-.044c-.056-.11-.054-.216.04-.36.106-.165.319-.354.647-.548zm2.455-1.647c-.119.025-.237.05-.356.078a21.148 21.148 0 0 0 .5-1.05 12.045 12.045 0 0 0 .51.858c-.217.032-.436.07-.654.114zm2.525.939a3.881 3.881 0 0 1-.435-.41c.228.005.434.022.612.054.317.057.466.147.518.209a.095.095 0 0 1 .026.064.436.436 0 0 1-.06.2.307.307 0 0 1-.094.124.107.107 0 0 1-.069.015c-.09-.003-.258-.066-.498-.256zM8.278 6.97c-.04.244-.108.524-.2.829a4.86 4.86 0 0 1-.089-.346c-.076-.353-.087-.63-.046-.822.038-.177.11-.248.196-.283a.517.517 0 0 1 .145-.04c.013.03.028.092.032.198.005.122-.007.277-.038.465z"/><path fill-rule="evenodd" d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zM4.165 13.668c.09.18.23.343.438.419.207.075.412.04.58-.03.318-.13.635-.436.926-.786.333-.401.683-.927 1.021-1.51a11.651 11.651 0 0 1 1.997-.406c.3.383.61.713.91.95.28.22.603.403.934.417a.856.856 0 0 0 .51-.138c.155-.101.27-.247.354-.416.09-.181.145-.37.138-.563a.844.844 0 0 0-.2-.518c-.226-.27-.596-.4-.96-.465a5.76 5.76 0 0 0-1.335-.05 10.954 10.954 0 0 1-.98-1.686c.25-.66.437-1.284.52-1.794.036-.218.055-.426.048-.614a1.238 1.238 0 0 0-.127-.538.7.7 0 0 0-.477-.365c-.202-.043-.41 0-.601.077-.377.15-.576.47-.651.823-.073.34-.04.736.046 1.136.088.406.238.848.43 1.295a19.697 19.697 0 0 1-1.062 2.227 7.662 7.662 0 0 0-1.482.645c-.37.22-.699.48-.897.787-.21.326-.275.714-.08 1.103z"/>'},e)}function cU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM6 6.883a.5.5 0 0 1 .757-.429l3.528 2.117a.5.5 0 0 1 0 .858l-3.528 2.117a.5.5 0 0 1-.757-.43V6.884z"/>'},e)}function dU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.188 10H7V6.5h1.188a1.75 1.75 0 1 1 0 3.5z"/><path d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zM7 5.5a1 1 0 0 0-1 1V13a.5.5 0 0 0 1 0v-2h1.188a2.75 2.75 0 0 0 0-5.5H7z"/>'},e)}function fU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.485 6.879l1.036 4.144.997-3.655a.5.5 0 0 1 .964 0l.997 3.655 1.036-4.144a.5.5 0 0 1 .97.242l-1.5 6a.5.5 0 0 1-.967.01L8 9.402l-1.018 3.73a.5.5 0 0 1-.967-.01l-1.5-6a.5.5 0 1 1 .97-.242z"/>'},e)}function hU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M5.5 9.438V8.5h1v.938a1 1 0 0 0 .03.243l.4 1.598-.93.62-.93-.62.4-1.598a1 1 0 0 0 .03-.243z"/><path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zm-4-.5V2h-1V1H6v1h1v1H6v1h1v1H6v1h1v1H5.5V6h-1V5h1V4h-1V3h1zm0 4.5h1a1 1 0 0 1 1 1v.938l.4 1.599a1 1 0 0 1-.416 1.074l-.93.62a1 1 0 0 1-1.109 0l-.93-.62a1 1 0 0 1-.415-1.074l.4-1.599V8.5a1 1 0 0 1 1-1z"/>'},e)}function pU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.06 6.5a.5.5 0 0 1 .5.5v.776a11.5 11.5 0 0 1-.552 3.519l-1.331 4.14a.5.5 0 0 1-.952-.305l1.33-4.141a10.5 10.5 0 0 0 .504-3.213V7a.5.5 0 0 1 .5-.5Z"/><path d="M6.06 7a2 2 0 1 1 4 0 .5.5 0 1 1-1 0 1 1 0 1 0-2 0v.332c0 .409-.022.816-.066 1.221A.5.5 0 0 1 6 8.447c.04-.37.06-.742.06-1.115V7Zm3.509 1a.5.5 0 0 1 .487.513 11.5 11.5 0 0 1-.587 3.339l-1.266 3.8a.5.5 0 0 1-.949-.317l1.267-3.8a10.5 10.5 0 0 0 .535-3.048A.5.5 0 0 1 9.569 8Zm-3.356 2.115a.5.5 0 0 1 .33.626L5.24 14.939a.5.5 0 1 1-.955-.296l1.303-4.199a.5.5 0 0 1 .625-.329Z"/><path d="M4.759 5.833A3.501 3.501 0 0 1 11.559 7a.5.5 0 0 1-1 0 2.5 2.5 0 0 0-4.857-.833.5.5 0 1 1-.943-.334Zm.3 1.67a.5.5 0 0 1 .449.546 10.72 10.72 0 0 1-.4 2.031l-1.222 4.072a.5.5 0 1 1-.958-.287L4.15 9.793a9.72 9.72 0 0 0 .363-1.842.5.5 0 0 1 .546-.449Zm6 .647a.5.5 0 0 1 .5.5c0 1.28-.213 2.552-.632 3.762l-1.09 3.145a.5.5 0 0 1-.944-.327l1.089-3.145c.382-1.105.578-2.266.578-3.435a.5.5 0 0 1 .5-.5Z"/><path d="M3.902 4.222a4.996 4.996 0 0 1 5.202-2.113.5.5 0 0 1-.208.979 3.996 3.996 0 0 0-4.163 1.69.5.5 0 0 1-.831-.556Zm6.72-.955a.5.5 0 0 1 .705-.052A4.99 4.99 0 0 1 13.059 7v1.5a.5.5 0 1 1-1 0V7a3.99 3.99 0 0 0-1.386-3.028.5.5 0 0 1-.051-.705ZM3.68 5.842a.5.5 0 0 1 .422.568c-.029.192-.044.39-.044.59 0 .71-.1 1.417-.298 2.1l-1.14 3.923a.5.5 0 1 1-.96-.279L2.8 8.821A6.531 6.531 0 0 0 3.058 7c0-.25.019-.496.054-.736a.5.5 0 0 1 .568-.422Zm8.882 3.66a.5.5 0 0 1 .456.54c-.084 1-.298 1.986-.64 2.934l-.744 2.068a.5.5 0 0 1-.941-.338l.745-2.07a10.51 10.51 0 0 0 .584-2.678.5.5 0 0 1 .54-.456Z"/><path d="M4.81 1.37A6.5 6.5 0 0 1 14.56 7a.5.5 0 1 1-1 0 5.5 5.5 0 0 0-8.25-4.765.5.5 0 0 1-.5-.865Zm-.89 1.257a.5.5 0 0 1 .04.706A5.478 5.478 0 0 0 2.56 7a.5.5 0 0 1-1 0c0-1.664.626-3.184 1.655-4.333a.5.5 0 0 1 .706-.04ZM1.915 8.02a.5.5 0 0 1 .346.616l-.779 2.767a.5.5 0 1 1-.962-.27l.778-2.767a.5.5 0 0 1 .617-.346Zm12.15.481a.5.5 0 0 1 .49.51c-.03 1.499-.161 3.025-.727 4.533l-.07.187a.5.5 0 0 1-.936-.351l.07-.187c.506-1.35.634-2.74.663-4.202a.5.5 0 0 1 .51-.49Z"/>'},e)}function gU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M0 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2H2a2 2 0 0 1-2-2V2zm5 10v2a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2v5a2 2 0 0 1-2 2H5z"/>'},e)}function mU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z"/>'},e)}function xU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5v-3zm8 0A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5v-3zm-8 8A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5v-3zm8 0A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5v-3z"/>'},e)}function bU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M4.5 5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zM3 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/><path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H8.5v3a1.5 1.5 0 0 1 1.5 1.5h5.5a.5.5 0 0 1 0 1H10A1.5 1.5 0 0 1 8.5 14h-1A1.5 1.5 0 0 1 6 12.5H.5a.5.5 0 0 1 0-1H6A1.5 1.5 0 0 1 7.5 10V7H2a2 2 0 0 1-2-2V4zm1 0v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1zm6 7.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5z"/>'},e)}function vU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M10 2a2 2 0 0 1-1.5 1.937v5.087c.863.083 1.5.377 1.5.726 0 .414-.895.75-2 .75s-2-.336-2-.75c0-.35.637-.643 1.5-.726V3.937A2 2 0 1 1 10 2z"/><path d="M0 9.665v1.717a1 1 0 0 0 .553.894l6.553 3.277a2 2 0 0 0 1.788 0l6.553-3.277a1 1 0 0 0 .553-.894V9.665c0-.1-.06-.19-.152-.23L9.5 6.715v.993l5.227 2.178a.125.125 0 0 1 .001.23l-5.94 2.546a2 2 0 0 1-1.576 0l-5.94-2.546a.125.125 0 0 1 .001-.23L6.5 7.708l-.013-.988L.152 9.435a.25.25 0 0 0-.152.23z"/>'},e)}function _U(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm11.5 1a.5.5 0 0 0-.5.5v3.793L9.854 8.146a.5.5 0 1 0-.708.708l2 2a.5.5 0 0 0 .708 0l2-2a.5.5 0 0 0-.708-.708L12 9.293V5.5a.5.5 0 0 0-.5-.5zM3.56 7.01h.056l1.428 3.239h.774l1.42-3.24h.056V11h1.073V5.001h-1.2l-1.71 3.894h-.039l-1.71-3.894H2.5V11h1.06V7.01z"/>'},e)}function yU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.025 8c0 2.485-2.02 4.5-4.513 4.5A4.506 4.506 0 0 1 0 8c0-2.486 2.02-4.5 4.512-4.5A4.506 4.506 0 0 1 9.025 8zm4.95 0c0 2.34-1.01 4.236-2.256 4.236-1.246 0-2.256-1.897-2.256-4.236 0-2.34 1.01-4.236 2.256-4.236 1.246 0 2.256 1.897 2.256 4.236zM16 8c0 2.096-.355 3.795-.794 3.795-.438 0-.793-1.7-.793-3.795 0-2.096.355-3.795.794-3.795.438 0 .793 1.699.793 3.795z"/>'},e)}function EU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"/>'},e)}function SU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M12.433 10.07C14.133 10.585 16 11.15 16 8a8 8 0 1 0-8 8c1.996 0 1.826-1.504 1.649-3.08-.124-1.101-.252-2.237.351-2.92.465-.527 1.42-.237 2.433.07zM8 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm4.5 3a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM5 6.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm.5 6.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>'},e)}function CU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/><path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"/>'},e)}function TU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.79 5.093A.5.5 0 0 0 6 5.5v5a.5.5 0 0 0 .79.407l3.5-2.5a.5.5 0 0 0 0-.814l-3.5-2.5z"/>'},e)}function wU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2 2h2v2H2V2Z"/><path d="M6 0v6H0V0h6ZM5 1H1v4h4V1ZM4 12H2v2h2v-2Z"/><path d="M6 10v6H0v-6h6Zm-5 1v4h4v-4H1Zm11-9h2v2h-2V2Z"/><path d="M10 0v6h6V0h-6Zm5 1v4h-4V1h4ZM8 1V0h1v2H8v2H7V1h1Zm0 5V4h1v2H8ZM6 8V7h1V6h1v2h1V7h5v1h-4v1H7V8H6Zm0 0v1H2V8H1v1H0V7h3v1h3Zm10 1h-1V7h1v2Zm-1 0h-1v2h2v-1h-1V9Zm-4 0h2v1h-1v1h-1V9Zm2 3v-1h-1v1h-1v1H9v1h3v-2h1Zm0 0h3v1h-2v1h-1v-2Zm-4-1v1h1v-2H7v1h2Z"/><path d="M7 12h1v3h4v1H7v-4Zm9 2v2h-3v-1h2v-1h1Z"/>'},e)}function EF(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>'},e)}function AU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2.5 4a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm1 .5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/><path d="M2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2zm13 2v2H1V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zM2 14a1 1 0 0 1-1-1V6h14v7a1 1 0 0 1-1 1H2z"/>'},e)}function kU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M6.555 1.375 0 2.237v5.45h6.555V1.375zM0 13.795l6.555.933V8.313H0v5.482zm7.278-5.4.026 6.378L16 16V8.395H7.278zM16 0 7.33 1.244v6.414H16V0z"/>'},e)}const SF=Xe(EF,{baseStyle:{color:"$neutral11"}}),OU=e=>{const t=Ys(),n=ya(),[r,a]=Ie(!1),[i,o]=Ie("");let s;const l=()=>e.searchable?e.options.filter(d=>new RegExp(i(),"i").test(d.label)):e.options,u=()=>n.state.selectedOptions.map(d=>d.textValue).join(",");return Kt(fa(u,o)),[w(mc,{get as(){return e.searchable?"div":void 0},get children(){return w(Re,{get fallback(){return[w(tf,{get children(){return t("global.choose")}}),w(xc,{}),w(Cs,{})]},get when(){return ir(()=>!e.readonly)()&&e.searchable},get children(){return[w(bx,{border:"none",variant:"unstyled",get placeholder(){return ir(()=>!!r())()&&u()||t("global.choose")},get value(){return ir(()=>!!r())()?i():u()},onKeyDown:d=>d.stopPropagation(),onClick:d=>{n.state.opened&&d.stopPropagation()},onInput:d=>{clearTimeout(s),o(d.currentTarget.value)},onBlur:()=>{a(!1),s=setTimeout(()=>o(""),300)},onFocus:()=>{clearTimeout(s),o(""),a(!0)}}),w(Re,{get when(){return r()},get fallback(){return w(Cs,{})},get children(){return w(SF,{})}})]}})}}),w(dc,{get children(){return w(fc,{get children(){return w(uo,{get each(){return l()},children:d=>w(hc,{get value(){return d.key},get children(){return[w(gc,{get children(){return d.label}}),w(pc,{})]}})})}})}})]},q1=e=>{const t=Ys(),[n,r]=Pu(()=>Nt.get("/me")),[a,i]=Ie();return(async()=>Sc(await r(),gd,i))(),w(Ms,{get fallback(){return e.children},get children(){return[w(Xr,{get when(){return n()},get children(){return w(Tc,{})}}),w(Xr,{get when(){return a()!==void 0},get children(){return w(jf,{get msg(){return t("home.get_current_user_failed")+a()}})}})]}})},CF=e=>{const[t,n]=Pu(()=>Nt.get("/me")),[r,a]=Ie(!1);return wn(async()=>{fd(await n(),gd,(i,o)=>{gd({id:2,username:"guest",password:"",base_path:"/",role:1,disabled:!1,permission:0,sso_id:"",otp:!1}),a(!0)})}),w(Ms,{get fallback(){return e.children},get children(){return w(Xr,{get when(){return ir(()=>!r())()&&t()},get children(){return w(Tc,{})}})}})},TF={initialColorMode:"system",lightTheme:{colors:{background:"#f7f8fa"}},components:{Button:{baseStyle:{root:{rounded:"$lg",_active:{transform:"scale(.95)",transition:"0.2s"},_focus:{boxShadow:"unset"}}},defaultProps:{root:{colorScheme:"info",variant:"subtle"}}},IconButton:{defaultProps:{colorScheme:"info",variant:"subtle"}},Input:{baseStyle:{input:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"}}},defaultProps:{input:{variant:"filled"}}},Textarea:{baseStyle:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"},resize:"vertical",wordBreak:"break-all"},defaultProps:{variant:"filled"}},Select:{baseStyle:{trigger:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"}},content:{border:"none",rounded:"$lg"},optionIndicator:{color:"$info10"}},defaultProps:{root:{variant:"filled"}}},Checkbox:{defaultProps:{root:{colorScheme:"info",variant:"filled"}}},Switch:{defaultProps:{root:{colorScheme:"info"}}},Menu:{baseStyle:{content:{rounded:"$md",minW:"unset",border:"unset"},item:{rounded:"$md",py:"$1"}}},Notification:{baseStyle:{root:{rounded:"$lg",border:"unset"}}},Alert:{baseStyle:{root:{rounded:"$lg"}}},Anchor:{baseStyle:{rounded:"$lg",px:"$1_5",py:"$1",_hover:{bgColor:d6(),textDecoration:"none"},_focus:{boxShadow:"unset"},_active:{transform:"scale(.95)",transition:"0.1s"}}},Modal:{baseStyle:{content:{rounded:"$lg"}}}}},V_=_a({"*":{margin:0,padding:0},html:{fontFamily:'-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important'},"#root":{display:"flex",flexDirection:"column",alignItems:"center"},".hope-breadcrumb__list":{flexWrap:"wrap",rowGap:"0 !important"},".lightgallery-container":{"& .lg-backdrop":{zIndex:"$popover"},"& .lg-outer":{zIndex:"calc($popover + 10)"}},".viselect-selection-area":{background:"rgba(46, 115, 252, 0.11)",border:"2px solid rgba(98, 155, 255, 0.81)",borderRadius:"0.1em"},".viselect-container":{userSelect:"none","& .viselect-item":{"-webkit-user-drag":"none","& img":{"-webkit-user-drag":"none"}}}}),W1=Vu(()=>ga(()=>import("./Layout-B7gk9ufY.js").then(e=>e.L),__vite__mapDeps([0,1,2,3,4,5,6]))),wF=Vu(()=>ga(()=>import("./index-DZCuhf81.js").then(e=>e.i),__vite__mapDeps([7,1,2,8]))),AF=Vu(()=>ga(()=>import("./index-Bc8AvkXv.js"),__vite__mapDeps([9,1,10]))),kF=Vu(()=>ga(()=>import("./index-DZd0opwe.js"),__vite__mapDeps([11,12,4]))),OF=()=>{const e=Ys();V_();const t=iE(),{to:n,pathname:r}=Ks(),a=u=>{n(u)};Vi.on("to",a),wt(()=>{Vi.off("to",a)}),Kt(()=>{Vi.emit("pathname",r())});const[i,o]=Ie([]),[s,l]=g6(()=>Promise.all([(async()=>{fd(await Nt.get("/public/settings"),zA,u=>o(i().concat(u)))})(),(async()=>{fd(await Nt.get("/public/archive_extensions"),YA,u=>o(i().concat(u)))})()]));return l(),[w(Ha,{get children(){return w(Yx,{indeterminate:!0,size:"xs",position:"fixed",top:"0",left:"0",right:"0",zIndex:"$banner",get d(){return t()?"block":"none"},get children(){return w(Zx,{})}})}}),w(Ms,{get fallback(){return w(gE,{base:nr,get children(){return[w(Do,{path:"/@test",component:kF}),w(Do,{path:"/@login",component:AF}),w(Do,{path:"/@manage/*",get element(){return w(q1,{get children(){return w(wF,{})}})}}),w(Do,{path:["/@s/*","/%40s/*"],get element(){return w(CF,{get children(){return w(W1,{})}})}}),w(Do,{path:"*",get element(){return w(q1,{get children(){return w(W1,{})}})}})]}})},get children(){return[w(Xr,{get when(){return i().length>0},get children(){return w(jf,{h:"100vh",get msg(){return e("home.fetching_settings_failed")+i().map(u=>e("home."+u)).join(", ")}})}}),w(Xr,{get when(){return s()},get children(){return w(Tc,{})}})]}})]},IF=()=>(V_(),w(L4,{config:TF,get children(){return w(hy,{fallback:e=>(console.error("error",e),w(jf,{msg:"System error: ".concat(e),h:"100vh"})),get children(){return w(sT,{duration:3e3,get children(){return w(gy,{get fallback(){return w(Tc,{})},get children(){return w(OF,{})}})}})}})}}));wy(()=>w(pE,{get children(){return w(IF,{})}}),document.getElementById("root"));export{ru as $,$a as A,Y8 as B,Ie as C,Kt as D,w as E,bC as F,Z2 as G,G2 as H,bx as I,SC as J,mC as K,k2 as L,vC as M,gC as N,y$ as O,wt as P,Ue as Q,X$ as R,Re as S,xw as T,X as U,uo as V,ss as W,vo as X,BS as Y,FS as Z,eg as _,NF as __vite_legacy_guard,K$ as a,ma as a$,PF as a0,d6 as a1,$S as a2,MS as a3,oc as a4,qA as a5,qn as a6,GA as a7,Cc as a8,gy as a9,y2 as aA,Nx as aB,LC as aC,iH as aD,xU as aE,nU as aF,hi as aG,Ax as aH,Ox as aI,oH as aJ,zd as aK,jC as aL,RC as aM,_H as aN,yi as aO,EF as aP,U$ as aQ,BC as aR,Vi as aS,go as aT,He as aU,zH as aV,GH as aW,vw as aX,VA as aY,Q$ as aZ,_w as a_,Ms as aa,Xr as ab,jf as ac,ir as ad,XA as ae,Un as af,Vu as ag,lH as ah,gw as ai,$x as aj,ga as ak,fa as al,xH as am,ff as an,$d as ao,Be as ap,vH as aq,UH as ar,hH as as,f6 as at,fC as au,bm as av,wn as aw,q_ as ax,nT as ay,Bt as az,Y$ as b,Ha as b$,$A as b0,rH as b1,PA as b2,FH as b3,jH as b4,mH as b5,kH as b6,HH as b7,JB as b8,sH as b9,UF as bA,HF as bB,aA as bC,NH as bD,tk as bE,FF as bF,TC as bG,rb as bH,rA as bI,mc as bJ,tf as bK,xc as bL,Cs as bM,dc as bN,fc as bO,hc as bP,gc as bQ,pc as bR,aw as bS,YS as bT,D$ as bU,bs as bV,kA as bW,bn as bX,OU as bY,_$ as bZ,$H as b_,VH as ba,Pu as bb,O$ as bc,E$ as bd,aC as be,A$ as bf,I$ as bg,T$ as bh,nH as bi,L$ as bj,C$ as bk,k$ as bl,WF as bm,qF as bn,N$ as bo,w$ as bp,TT as bq,NT as br,Nt as bs,M$ as bt,uF as bu,Sc as bv,Y2 as bw,EC as bx,yC as by,$F as bz,wf as c,Mw as c$,WA as c0,Nu as c1,gx as c2,pU as c3,AU as c4,SU as c5,tU as c6,vU as c7,EH as c8,eU as c9,rf as cA,ef as cB,fH as cC,dH as cD,OS as cE,m$ as cF,Yx as cG,Zx as cH,s2 as cI,bH as cJ,b$ as cK,TU as cL,Bu as cM,_A as cN,fo as cO,B$ as cP,Xe as cQ,x$ as cR,pH as cS,zF as cT,jF as cU,wU as cV,pT as cW,fT as cX,hT as cY,KH as cZ,gH as c_,bU as ca,ZH as cb,yU as cc,mU as cd,rU as ce,SH as cf,OH as cg,CU as ch,gU as ci,AH as cj,CH as ck,p$ as cl,g$ as cm,gE as cn,Do as co,H$ as cp,Pn as cq,ht as cr,nr as cs,qH as ct,WH as cu,EU as cv,yH as cw,Nb as cx,TH as cy,qp as cz,$R as d,UA as d$,uU as d0,dU as d1,aU as d2,fU as d3,cU as d4,_U as d5,kU as d6,QH as d7,hU as d8,sU as d9,cw as dA,dw as dB,yT as dC,gT as dD,Ud as dE,F$ as dF,$$ as dG,DF as dH,cl as dI,wm as dJ,Lt as dK,It as dL,S$ as dM,KF as dN,zs as dO,fe as dP,dm as dQ,ba as dR,q0 as dS,Et as dT,z$ as dU,JH as dV,eH as dW,aH as dX,tH as dY,uH as dZ,J$ as d_,oU as da,iU as db,lU as dc,wH as dd,gd as de,IC as df,cS as dg,vS as dh,_S as di,fS as dj,YF as dk,LF as dl,fd as dm,zA as dn,VT as dp,cx as dq,wC as dr,pC as ds,Ny as dt,cm as du,V$ as dv,uw as dw,hw as dx,pw as dy,fw as dz,Jg as e,p6 as e0,cH as e1,Z$ as e2,OA as e3,yF as e4,aE as e5,pA as e6,IA as e7,Bw as e8,mu as e9,da as ea,K8 as eb,GF as ec,Pr as ed,v$ as ee,RF as ef,Ly as eg,R$ as eh,P$ as ei,Xt as ej,Sw as ek,la as f,Qg as g,zR as h,G$ as i,Gv as j,Ks as k,ws as l,zi as m,kd as n,VF as o,vv as p,Ys as q,df as r,_v as s,Rc as t,SA as u,KN as v,li as w,Lu as x,Ut as y,EA as z};
21
+ */function du(e,t,n,r){const a=e.length;let i=0,o;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i<r.length;)o=r.slice(i,i+1e4),o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}const Lg={}.hasOwnProperty;function eN(e){const t={};let n=-1;for(;++n<e.length;)tN(t,e[n]);return t}function tN(e,t){let n;for(n in t){const a=(Lg.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){Lg.call(a,o)||(a[o]=[]);const s=i[o];nN(a[o],Array.isArray(s)?s:s?[s]:[])}}}function nN(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);du(e,0,0,r)}const rN=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,Os=Nc(/[A-Za-z]/),Cf=Nc(/[\dA-Za-z]/);function aN(e){return e!==null&&(e<32||e===127)}function zi(e){return e!==null&&e<-2}function Wn(e){return e!==null&&(e<0||e===32)}function sa(e){return e===-2||e===-1||e===32}const Ic=Nc(rN),vi=Nc(/\s/);function Nc(e){return t;function t(n){return n!==null&&e.test(String.fromCharCode(n))}}const iN={tokenize:dN,partial:!0},uv={tokenize:fN,partial:!0},cv={tokenize:hN,partial:!0},dv={tokenize:pN,partial:!0},oN={tokenize:gN,partial:!0},fv={tokenize:uN,previous:pv},hv={tokenize:cN,previous:gv},Sa={tokenize:lN,previous:mv},Jr={},sN={text:Jr};let ri=48;for(;ri<123;)Jr[ri]=Sa,ri++,ri===58?ri=65:ri===91&&(ri=97);Jr[43]=Sa;Jr[45]=Sa;Jr[46]=Sa;Jr[95]=Sa;Jr[72]=[Sa,hv];Jr[104]=[Sa,hv];Jr[87]=[Sa,fv];Jr[119]=[Sa,fv];function lN(e,t,n){const r=this;let a,i;return o;function o(p){return!Cd(p)||!mv.call(r,r.previous)||Tf(r.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(p))}function s(p){return Cd(p)?(e.consume(p),s):p===64?(e.consume(p),l):n(p)}function l(p){return p===46?e.check(oN,d,u)(p):p===45||p===95||Cf(p)?(i=!0,e.consume(p),l):d(p)}function u(p){return e.consume(p),a=!0,l}function d(p){return i&&a&&Os(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):n(p)}}function uN(e,t,n){const r=this;return a;function a(o){return o!==87&&o!==119||!pv.call(r,r.previous)||Tf(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(iN,e.attempt(uv,e.attempt(cv,i),n),n)(o))}function i(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function cN(e,t,n){const r=this;let a="",i=!1;return o;function o(p){return(p===72||p===104)&&gv.call(r,r.previous)&&!Tf(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(p),e.consume(p),s):n(p)}function s(p){if(Os(p)&&a.length<5)return a+=String.fromCodePoint(p),e.consume(p),s;if(p===58){const f=a.toLowerCase();if(f==="http"||f==="https")return e.consume(p),l}return n(p)}function l(p){return p===47?(e.consume(p),i?u:(i=!0,l)):n(p)}function u(p){return p===null||aN(p)||Wn(p)||vi(p)||Ic(p)?n(p):e.attempt(uv,e.attempt(cv,d),n)(p)}function d(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function dN(e,t,n){let r=0;return a;function a(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),a):o===46&&r===3?(e.consume(o),i):n(o)}function i(o){return o===null?n(o):t(o)}}function fN(e,t,n){let r,a,i;return o;function o(u){return u===46||u===95?e.check(dv,l,s)(u):u===null||Wn(u)||vi(u)||u!==45&&Ic(u)?l(u):(i=!0,e.consume(u),o)}function s(u){return u===95?r=!0:(a=r,r=void 0),e.consume(u),o}function l(u){return a||r||!i?n(u):t(u)}}function hN(e,t){let n=0,r=0;return a;function a(o){return o===40?(n++,e.consume(o),a):o===41&&r<n?i(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(dv,t,i)(o):o===null||Wn(o)||vi(o)?t(o):(e.consume(o),a)}function i(o){return o===41&&r++,e.consume(o),a}}function pN(e,t,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),i):s===93?(e.consume(s),a):s===60||s===null||Wn(s)||vi(s)?t(s):n(s)}function a(s){return s===null||s===40||s===91||Wn(s)||vi(s)?t(s):r(s)}function i(s){return Os(s)?o(s):n(s)}function o(s){return s===59?(e.consume(s),r):Os(s)?(e.consume(s),o):n(s)}}function gN(e,t,n){return r;function r(i){return e.consume(i),a}function a(i){return Cf(i)?n(i):t(i)}}function pv(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Wn(e)}function gv(e){return!Os(e)}function mv(e){return!(e===47||Cd(e))}function Cd(e){return e===43||e===45||e===46||e===95||Cf(e)}function Tf(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Rg(e){if(e===null||Wn(e)||vi(e))return 1;if(Ic(e))return 2}function mN(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function la(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let i=0;return o;function o(l){return sa(l)?(e.enter(n),s(l)):t(l)}function s(l){return sa(l)&&i++<a?(e.consume(l),s):(e.exit(n),t(l))}}const xN={tokenize:bN,partial:!0};function bN(e,t,n){return r;function r(i){return sa(i)?la(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||zi(i)?t(i):n(i)}}const Pg=document.createElement("i");function vN(e){const t="&"+e+";";Pg.innerHTML=t;const n=Pg.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Zs(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const _N={tokenize:kN,partial:!0};function yN(){return{document:{91:{tokenize:TN,continuation:{tokenize:wN},exit:AN}},text:{91:{tokenize:CN},93:{add:"after",tokenize:EN,resolveTo:SN}}}}function EN(e,t,n){const r=this;let a=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;a--;){const l=r.events[a][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return n(l);const u=Zs(r.sliceSerialize({start:o.end,end:r.now()}));return u.codePointAt(0)!==94||!i.includes(u.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function SN(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function CN(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,o;return s;function s(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),l}function l(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(p){if(i>999||p===93&&!o||p===null||p===91||Wn(p))return n(p);if(p===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return a.includes(Zs(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(p)}return Wn(p)||(o=!0),i++,e.consume(p),p===92?d:u}function d(p){return p===91||p===92||p===93?(e.consume(p),i++,u):u(p)}}function TN(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o=0,s;return l;function l(c){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(c),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(c){return c===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(c),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(c)}function d(c){if(o>999||c===93&&!s||c===null||c===91||Wn(c))return n(c);if(c===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return i=Zs(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(c),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return Wn(c)||(s=!0),o++,e.consume(c),c===92?p:d}function p(c){return c===91||c===92||c===93?(e.consume(c),o++,d):d(c)}function f(c){return c===58?(e.enter("definitionMarker"),e.consume(c),e.exit("definitionMarker"),a.includes(i)||a.push(i),la(e,h,"gfmFootnoteDefinitionWhitespace")):n(c)}function h(c){return t(c)}}function wN(e,t,n){return e.check(xN,t,e.attempt(_N,t,n))}function AN(e){e.exit("gfmFootnoteDefinition")}function kN(e,t,n){const r=this;return la(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(i):n(i)}}function ON(e){let n=(e||{}).singleTilde;const r={tokenize:i,resolveAll:a};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function a(o,s){let l=-1;for(;++l<o.length;)if(o[l][0]==="enter"&&o[l][1].type==="strikethroughSequenceTemporary"&&o[l][1]._close){let u=l;for(;u--;)if(o[u][0]==="exit"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._open&&o[l][1].end.offset-o[l][1].start.offset===o[u][1].end.offset-o[u][1].start.offset){o[l][1].type="strikethroughSequence",o[u][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},o[u][1].start),end:Object.assign({},o[l][1].end)},p={type:"strikethroughText",start:Object.assign({},o[u][1].end),end:Object.assign({},o[l][1].start)},f=[["enter",d,s],["enter",o[u][1],s],["exit",o[u][1],s],["enter",p,s]],h=s.parser.constructs.insideSpan.null;h&&du(f,f.length,0,mN(h,o.slice(u+1,l),s)),du(f,f.length,0,[["exit",p,s],["enter",o[l][1],s],["exit",o[l][1],s],["exit",d,s]]),du(o,u-1,l-u+3,f),l=u+f.length-2;break}}for(l=-1;++l<o.length;)o[l][1].type==="strikethroughSequenceTemporary"&&(o[l][1].type="data");return o}function i(o,s,l){const u=this.previous,d=this.events;let p=0;return f;function f(c){return u===126&&d[d.length-1][1].type!=="characterEscape"?l(c):(o.enter("strikethroughSequenceTemporary"),h(c))}function h(c){const g=Rg(u);if(c===126)return p>1?l(c):(o.consume(c),p++,h);if(p<2&&!n)return l(c);const m=o.exit("strikethroughSequenceTemporary"),x=Rg(c);return m._open=!x||x===2&&!!g,m._close=!g||g===2&&!!x,s(c)}}}class IN{constructor(){this.map=[]}add(t,n,r){NN(this,t,n,r)}consume(t){if(this.map.sort((i,o)=>i[0]-o[0]),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1])),r.push(this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let a=r.pop();for(;a;)t.push(...a),a=r.pop();this.map.length=0}}function NN(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}function LN(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}const RN={flow:{null:{tokenize:PN,resolveAll:DN}}};function PN(e,t,n){const r=this;let a=0,i=0,o;return s;function s(A){let I=r.events.length-1;for(;I>-1;){const G=r.events[I][1].type;if(G==="lineEnding"||G==="linePrefix")I--;else break}const $=I>-1?r.events[I][1].type:null,W=$==="tableHead"||$==="tableRow"?C:l;return W===C&&r.parser.lazy[r.now().line]?n(A):W(A)}function l(A){return e.enter("tableHead"),e.enter("tableRow"),u(A)}function u(A){return A===124||(o=!0,i+=1),d(A)}function d(A){return A===null?n(A):zi(A)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),h):n(A):sa(A)?la(e,d,"whitespace")(A):(i+=1,o&&(o=!1,a+=1),A===124?(e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),o=!0,d):(e.enter("data"),p(A)))}function p(A){return A===null||A===124||Wn(A)?(e.exit("data"),d(A)):(e.consume(A),A===92?f:p)}function f(A){return A===92||A===124?(e.consume(A),p):p(A)}function h(A){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(A):(e.enter("tableDelimiterRow"),o=!1,sa(A)?la(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):c(A))}function c(A){return A===45||A===58?m(A):A===124?(o=!0,e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),g):S(A)}function g(A){return sa(A)?la(e,m,"whitespace")(A):m(A)}function m(A){return A===58?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(A),e.exit("tableDelimiterMarker"),x):A===45?(i+=1,x(A)):A===null||zi(A)?_(A):S(A)}function x(A){return A===45?(e.enter("tableDelimiterFiller"),v(A)):S(A)}function v(A){return A===45?(e.consume(A),v):A===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(A),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(A))}function y(A){return sa(A)?la(e,_,"whitespace")(A):_(A)}function _(A){return A===124?c(A):A===null||zi(A)?!o||a!==i?S(A):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(A)):S(A)}function S(A){return n(A)}function C(A){return e.enter("tableRow"),T(A)}function T(A){return A===124?(e.enter("tableCellDivider"),e.consume(A),e.exit("tableCellDivider"),T):A===null||zi(A)?(e.exit("tableRow"),t(A)):sa(A)?la(e,T,"whitespace")(A):(e.enter("data"),R(A))}function R(A){return A===null||A===124||Wn(A)?(e.exit("data"),T(A)):(e.consume(A),A===92?P:R)}function P(A){return A===92||A===124?(e.consume(A),R):R(A)}}function DN(e,t){let n=-1,r=!0,a=0,i=[0,0,0,0],o=[0,0,0,0],s=!1,l=0,u,d,p;const f=new IN;for(;++n<e.length;){const h=e[n],c=h[1];h[0]==="enter"?c.type==="tableHead"?(s=!1,l!==0&&(Dg(f,t,l,u,d),d=void 0,l=0),u={type:"table",start:Object.assign({},c.start),end:Object.assign({},c.end)},f.add(n,0,[["enter",u,t]])):c.type==="tableRow"||c.type==="tableDelimiterRow"?(r=!0,p=void 0,i=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,d={type:"tableBody",start:Object.assign({},c.start),end:Object.assign({},c.end)},f.add(n,0,[["enter",d,t]])),a=c.type==="tableDelimiterRow"?2:d?3:1):a&&(c.type==="data"||c.type==="tableDelimiterMarker"||c.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(i[1]!==0&&(o[0]=o[1],p=Gl(f,t,i,a,void 0,p),i=[0,0,0,0]),o[2]=n)):c.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(o[0]=o[1],p=Gl(f,t,i,a,void 0,p)),i=o,o=[i[1],n,0,0])):c.type==="tableHead"?(s=!0,l=n):c.type==="tableRow"||c.type==="tableDelimiterRow"?(l=n,i[1]!==0?(o[0]=o[1],p=Gl(f,t,i,a,n,p)):o[1]!==0&&(p=Gl(f,t,o,a,n,p)),a=0):a&&(c.type==="data"||c.type==="tableDelimiterMarker"||c.type==="tableDelimiterFiller")&&(o[3]=n)}for(l!==0&&Dg(f,t,l,u,d),f.consume(t.events),n=-1;++n<t.events.length;){const h=t.events[n];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=LN(t.events,n))}return e}function Gl(e,t,n,r,a,i){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(i.end=Object.assign({},$i(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=$i(t.events,n[1]);if(i={type:o,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const u=$i(t.events,n[2]),d=$i(t.events,n[3]),p={type:s,start:Object.assign({},u),end:Object.assign({},d)};if(e.add(n[2],0,[["enter",p,t]]),r!==2){const f=t.events[n[2]],h=t.events[n[3]];if(f[1].end=Object.assign({},h[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){const c=n[2]+1,g=n[3]-n[2]-1;e.add(c,g,[])}}e.add(n[3]+1,0,[["exit",p,t]])}return a!==void 0&&(i.end=Object.assign({},$i(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function Dg(e,t,n,r,a){const i=[],o=$i(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function $i(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const MN={tokenize:FN},BN={text:{91:MN}};function FN(e,t,n){const r=this;return a;function a(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return Wn(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return zi(l)?t(l):sa(l)?e.check({tokenize:$N},t,n)(l):n(l)}}function $N(e,t,n){return la(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function HN(e){return eN([sN,yN(),ON(e),RN,BN])}function Mg(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}function UN(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const wf=(function(e){if(e==null)return WN;if(typeof e=="string")return qN(e);if(typeof e=="object")return Array.isArray(e)?zN(e):jN(e);if(typeof e=="function")return Lc(e);throw new Error("Expected function, string, or object as test")});function zN(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=wf(e[n]);return Lc(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].call(this,...a))return!0;return!1}}function jN(e){return Lc(t);function t(n){let r;for(r in e)if(n[r]!==e[r])return!1;return!0}}function qN(e){return Lc(t);function t(n){return n&&n.type===e}}function Lc(e){return t;function t(n,...r){return!!(n&&typeof n=="object"&&"type"in n&&e.call(this,n,...r))}}function WN(){return!0}const VN=!0,Bg=!1,GN="skip",KN=(function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null);const a=wf(t),i=r?-1:1;o(e,void 0,[])();function o(s,l,u){const d=s&&typeof s=="object"?s:{};if(typeof d.type=="string"){const f=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(s.type+(f?"<"+f+">":""))+")"})}return p;function p(){let f=[],h,c,g;if((!t||a(s,l,u[u.length-1]||null))&&(f=YN(n(s,u)),f[0]===Bg))return f;if(s.children&&f[0]!==GN)for(c=(r?s.children.length:-1)+i,g=u.concat(s);c>-1&&c<s.children.length;){if(h=o(s.children[c],c,g)(),h[0]===Bg)return h;c=typeof h[1]=="number"?h[1]:c+i}return f}}});function YN(e){return Array.isArray(e)?e:typeof e=="number"?[VN,e]:[e]}const XN={}.hasOwnProperty,QN=(function(e,t,n,r){let a,i;typeof t=="string"||t instanceof RegExp?(i=[[t,n]],a=r):(i=t,a=n),a||(a={});const o=wf(a.ignore||[]),s=ZN(i);let l=-1;for(;++l<s.length;)KN(e,"text",u);return e;function u(p,f){let h=-1,c;for(;++h<f.length;){const g=f[h];if(o(g,c?c.children.indexOf(g):void 0,c))return;c=g}if(c)return d(p,f)}function d(p,f){const h=f[f.length-1],c=s[l][0],g=s[l][1];let m=0;const x=h.children.indexOf(p);let v=!1,y=[];c.lastIndex=0;let _=c.exec(p.value);for(;_;){const S=_.index,C={index:_.index,input:_.input,stack:[...f,p]};let T=g(..._,C);if(typeof T=="string"&&(T=T.length>0?{type:"text",value:T}:void 0),T!==!1&&(m!==S&&y.push({type:"text",value:p.value.slice(m,S)}),Array.isArray(T)?y.push(...T):T&&y.push(T),m=S+_[0].length,v=!0),!c.global)break;_=c.exec(p.value)}return v?(m<p.value.length&&y.push({type:"text",value:p.value.slice(m)}),h.children.splice(x,1,...y)):y=[p],x+y.length}});function ZN(e){const t=[];if(typeof e!="object")throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([Fg(e[n][0]),$g(e[n][1])])}else{let n;for(n in e)XN.call(e,n)&&t.push([Fg(n),$g(e[n])])}return t}function Fg(e){return typeof e=="string"?new RegExp(UN(e),"g"):e}function $g(e){return typeof e=="function"?e:()=>e}const N0="phrasing",L0=["autolink","link","image","label"],JN={transforms:[oL],enter:{literalAutolink:tL,literalAutolinkEmail:R0,literalAutolinkHttp:R0,literalAutolinkWww:R0},exit:{literalAutolink:iL,literalAutolinkEmail:aL,literalAutolinkHttp:nL,literalAutolinkWww:rL}},eL={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:N0,notInConstruct:L0},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:N0,notInConstruct:L0},{character:":",before:"[ps]",after:"\\/",inConstruct:N0,notInConstruct:L0}]};function tL(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function R0(e){this.config.enter.autolinkProtocol.call(this,e)}function nL(e){this.config.exit.autolinkProtocol.call(this,e)}function rL(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function aL(e){this.config.exit.autolinkEmail.call(this,e)}function iL(e){this.exit(e)}function oL(e){QN(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,sL],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,lL]],{ignore:["link","linkReference"]})}function sL(e,t,n,r,a){let i="";if(!xv(a)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!uL(n)))return!1;const o=cL(n+r);if(!o[0])return!1;const s={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function lL(e,t,n,r){return!xv(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function uL(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function cL(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=Mg(e,"(");let i=Mg(e,")");for(;r!==-1&&a>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function xv(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||vi(n)||Ic(n))&&(!t||n!==47)}function dL(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const fL=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function hL(e){return e.replace(fL,pL)}function pL(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return dL(n.slice(i?2:1),i?16:10)}return vN(n)||e}function bv(e){return e.label||!e.identifier?e.label||"":hL(e.identifier)}function gL(e,t,n){const r=t.indexStack,a=e.children||[],i=t.createTracker(n),o=[];let s=-1;for(r.push(-1);++s<a.length;){const l=a[s];r[r.length-1]=s,o.push(i.move(t.handle(l,e,t,{before:"\n",after:"\n",...i.current()}))),l.type!=="list"&&(t.bulletLastUsed=void 0),s<a.length-1&&o.push(i.move(mL(l,a[s+1],e,t)))}return r.pop(),o.join("")}function mL(e,t,n,r){let a=r.join.length;for(;a--;){const i=r.join[a](e,t,n,r);if(i===!0||i===1)break;if(typeof i=="number")return"\n".repeat(1+i);if(i===!1)return"\n\n<!---->\n\n"}return"\n\n"}const xL=/\r?\n|\r/g;function bL(e,t){const n=[];let r=0,a=0,i;for(;i=xL.exec(e);)o(e.slice(r,i.index)),n.push(i[0]),r=i.index+i[0].length,a++;return o(e.slice(r)),n.join("");function o(s){n.push(t(s,a,!s))}}function vv(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function vL(e,t){return Hg(e,t.inConstruct,!0)&&!Hg(e,t.notInConstruct,!1)}function Hg(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function _v(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),a=[],i=[],o={};let s=-1;for(;++s<e.unsafe.length;){const d=e.unsafe[s];if(!vL(e.stack,d))continue;const p=vv(d);let f;for(;f=p.exec(r);){const h="before"in d||!!d.atBreak,c="after"in d,g=f.index+(h?f[1].length:0);a.includes(g)?(o[g].before&&!h&&(o[g].before=!1),o[g].after&&!c&&(o[g].after=!1)):(a.push(g),o[g]={before:h,after:c})}}a.sort(_L);let l=n.before?n.before.length:0;const u=r.length-(n.after?n.after.length:0);for(s=-1;++s<a.length;){const d=a[s];d<l||d>=u||d+1<u&&a[s+1]===d+1&&o[d].after&&!o[d+1].before&&!o[d+1].after||a[s-1]===d-1&&o[d].before&&!o[d-1].before&&!o[d-1].after||(l!==d&&i.push(Ug(r.slice(l,d),"\\")),l=d,/[!-/:-@[-`{-~]/.test(r.charAt(d))&&(!n.encode||!n.encode.includes(r.charAt(d)))?i.push("\\"):(i.push("&#x"+r.charCodeAt(d).toString(16).toUpperCase()+";"),l++))}return i.push(Ug(r.slice(l,u),n.after)),i.join("")}function _L(e,t){return e-t}function Ug(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],a=[],i=e+t;let o=-1,s=0,l;for(;l=n.exec(i);)r.push(l.index);for(;++o<r.length;)s!==r[o]&&a.push(e.slice(s,r[o])),a.push("\\"),s=r[o];return a.push(e.slice(s)),a.join("")}function Rc(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,a=n.line||1,i=n.column||1;return{move:l,current:o,shift:s};function o(){return{now:{line:a,column:i},lineShift:r}}function s(u){r+=u}function l(u){const d=u||"",p=d.split(/\r?\n|\r/g),f=p[p.length-1];return a+=p.length-1,i=p.length===1?i+f.length:1+f.length+r,d}}yv.peek=NL;function yL(){return{enter:{gfmFootnoteDefinition:SL,gfmFootnoteDefinitionLabelString:CL,gfmFootnoteCall:AL,gfmFootnoteCallString:kL},exit:{gfmFootnoteDefinition:wL,gfmFootnoteDefinitionLabelString:TL,gfmFootnoteCall:IL,gfmFootnoteCallString:OL}}}function EL(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:LL,footnoteReference:yv}}}function SL(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function CL(){this.buffer()}function TL(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Zs(this.sliceSerialize(e)).toLowerCase()}function wL(e){this.exit(e)}function AL(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function kL(){this.buffer()}function OL(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Zs(this.sliceSerialize(e)).toLowerCase()}function IL(e){this.exit(e)}function yv(e,t,n,r){const a=Rc(r);let i=a.move("[^");const o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(_v(n,bv(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]"),i}function NL(){return"["}function LL(e,t,n,r){const a=Rc(r);let i=a.move("[^");const o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(_v(n,bv(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(bL(gL(e,n,a.current()),RL)),o(),i}function RL(e,t,n){return t===0?e:(n?"":" ")+e}function Ev(e,t,n){const r=t.indexStack,a=e.children||[],i=[];let o=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++o<a.length;){const u=a[o];let d;if(r[r.length-1]=o,o+1<a.length){let p=t.handle.handlers[a[o+1].type];p&&p.peek&&(p=p.peek),d=p?p(a[o+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else d=n.after;i.length>0&&(s==="\r"||s==="\n")&&u.type==="html"&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(i.join(""))),i.push(l.move(t.handle(u,e,t,{...l.current(),before:s,after:d}))),s=i[i.length-1].slice(-1)}return r.pop(),i.join("")}const PL=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Sv.peek=$L;const DL={canContainEols:["delete"],enter:{strikethrough:BL},exit:{strikethrough:FL}},ML={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:PL}],handlers:{delete:Sv}};function BL(e){this.enter({type:"delete",children:[]},e)}function FL(e){this.exit(e)}function Sv(e,t,n,r){const a=Rc(r),i=n.enter("strikethrough");let o=a.move("~~");return o+=Ev(e,n,{...a.current(),before:o,after:"~"}),o+=a.move("~~"),i(),o}function $L(){return"~"}Cv.peek=HL;function Cv(e,t,n){let r=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const o=n.unsafe[i],s=vv(o);let l;if(o.atBreak)for(;l=s.exec(r);){let u=l.index;r.charCodeAt(u)===10&&r.charCodeAt(u-1)===13&&u--,r=r.slice(0,u)+" "+r.slice(l.index+1)}}return a+r+a}function HL(){return"`"}function UL(e){return e.length}function zL(e,t){const n=t||{},r=(n.align||[]).concat(),a=n.stringLength||UL,i=[],o=[],s=[],l=[];let u=0,d=-1;for(;++d<e.length;){const g=[],m=[];let x=-1;for(e[d].length>u&&(u=e[d].length);++x<e[d].length;){const v=jL(e[d][x]);if(n.alignDelimiters!==!1){const y=a(v);m[x]=y,(l[x]===void 0||y>l[x])&&(l[x]=y)}g.push(v)}o[d]=g,s[d]=m}let p=-1;if(typeof r=="object"&&"length"in r)for(;++p<u;)i[p]=zg(r[p]);else{const g=zg(r);for(;++p<u;)i[p]=g}p=-1;const f=[],h=[];for(;++p<u;){const g=i[p];let m="",x="";g===99?(m=":",x=":"):g===108?m=":":g===114&&(x=":");let v=n.alignDelimiters===!1?1:Math.max(1,l[p]-m.length-x.length);const y=m+"-".repeat(v)+x;n.alignDelimiters!==!1&&(v=m.length+v+x.length,v>l[p]&&(l[p]=v),h[p]=v),f[p]=y}o.splice(1,0,f),s.splice(1,0,h),d=-1;const c=[];for(;++d<o.length;){const g=o[d],m=s[d];p=-1;const x=[];for(;++p<u;){const v=g[p]||"";let y="",_="";if(n.alignDelimiters!==!1){const S=l[p]-(m[p]||0),C=i[p];C===114?y=" ".repeat(S):C===99?S%2?(y=" ".repeat(S/2+.5),_=" ".repeat(S/2-.5)):(y=" ".repeat(S/2),_=y):_=" ".repeat(S)}n.delimiterStart!==!1&&!p&&x.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&v==="")&&(n.delimiterStart!==!1||p)&&x.push(" "),n.alignDelimiters!==!1&&x.push(y),x.push(v),n.alignDelimiters!==!1&&x.push(_),n.padding!==!1&&x.push(" "),(n.delimiterEnd!==!1||p!==u-1)&&x.push("|")}c.push(n.delimiterEnd===!1?x.join("").replace(/ +$/,""):x.join(""))}return c.join("\n")}function jL(e){return e==null?"":String(e)}function zg(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}const qL={enter:{table:WL,tableData:jg,tableHeader:jg,tableRow:GL},exit:{codeText:KL,table:VL,tableData:P0,tableHeader:P0,tableRow:P0}};function WL(e){const t=e._align;this.enter({type:"table",align:t.map(n=>n==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function VL(e){this.exit(e),this.setData("inTable")}function GL(e){this.enter({type:"tableRow",children:[]},e)}function P0(e){this.exit(e)}function jg(e){this.enter({type:"tableCell",children:[]},e)}function KL(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,YL));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function YL(e,t){return t==="|"?t:e}function XL(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:o,tableRow:s,tableCell:l,inlineCode:f}};function o(h,c,g,m){return u(d(h,g,m),h.align)}function s(h,c,g,m){const x=p(h,g,m),v=u([x]);return v.slice(0,v.indexOf("\n"))}function l(h,c,g,m){const x=g.enter("tableCell"),v=g.enter("phrasing"),y=Ev(h,g,{...m,before:i,after:i});return v(),x(),y}function u(h,c){return zL(h,{align:c,alignDelimiters:r,padding:n,stringLength:a})}function d(h,c,g){const m=h.children;let x=-1;const v=[],y=c.enter("table");for(;++x<m.length;)v[x]=p(m[x],c,g);return y(),v}function p(h,c,g){const m=h.children;let x=-1;const v=[],y=c.enter("tableRow");for(;++x<m.length;)v[x]=l(m[x],h,c,g);return y(),v}function f(h,c,g){let m=Cv(h,c,g);return g.stack.includes("tableCell")&&(m=m.replace(/\|/g,"\\$&")),m}}function QL(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function ZL(e){const t=e.options.listItemIndent||"tab";if(t===1||t==="1")return"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function JL(e,t,n,r){const a=ZL(n);let i=n.bulletCurrent||QL(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let o=i.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);const l=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),d);return l(),u;function d(p,f,h){return f?(h?"":" ".repeat(o))+p:(h?i:i+" ".repeat(o-i.length))+p}}const eR={exit:{taskListCheckValueChecked:qg,taskListCheckValueUnchecked:qg,paragraph:nR}},tR={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:rR}};function qg(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function nR(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1],r=n.children[0];if(r&&r.type==="text"){const a=t.children;let i=-1,o;for(;++i<a.length;){const s=a[i];if(s.type==="paragraph"){o=s;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function rR(e,t,n,r){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=Rc(r);i&&s.move(o);let l=JL(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),l;function u(d){return d+o}}function aR(){return[JN,yL(),DL,qL,eR]}function iR(e){return{extensions:[eL,EL(),ML,XL(e),tR]}}function oR(e={}){const t=this.data();n("micromarkExtensions",HN(e)),n("fromMarkdownExtensions",aR()),n("toMarkdownExtensions",iR(e));function n(r,a){(t[r]?t[r]:t[r]=[]).push(a)}}const Tv=-1,Pc=0,cs=1,Hu=2,Af=3,kf=4,Of=5,If=6,wv=7,Av=8,Wg=typeof self=="object"?self:globalThis,sR=(e,t)=>{const n=(a,i)=>(e.set(i,a),a),r=a=>{if(e.has(a))return e.get(a);const[i,o]=t[a];switch(i){case Pc:case Tv:return n(o,a);case cs:{const s=n([],a);for(const l of o)s.push(r(l));return s}case Hu:{const s=n({},a);for(const[l,u]of o)s[r(l)]=r(u);return s}case Af:return n(new Date(o),a);case kf:{const{source:s,flags:l}=o;return n(new RegExp(s,l),a)}case Of:{const s=n(new Map,a);for(const[l,u]of o)s.set(r(l),r(u));return s}case If:{const s=n(new Set,a);for(const l of o)s.add(r(l));return s}case wv:{const{name:s,message:l}=o;return n(new Wg[s](l),a)}case Av:return n(BigInt(o),a);case"BigInt":return n(Object(BigInt(o)),a);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:s}=new Uint8Array(o);return n(new DataView(s),o)}}return n(new Wg[i](o),a)};return r},Vg=e=>sR(new Map,e)(0),Di="",{toString:lR}={},{keys:uR}=Object,Ko=e=>{const t=typeof e;if(t!=="object"||!e)return[Pc,t];const n=lR.call(e).slice(8,-1);switch(n){case"Array":return[cs,Di];case"Object":return[Hu,Di];case"Date":return[Af,Di];case"RegExp":return[kf,Di];case"Map":return[Of,Di];case"Set":return[If,Di];case"DataView":return[cs,n]}return n.includes("Array")?[cs,n]:n.includes("Error")?[wv,n]:[Hu,n]},Kl=([e,t])=>e===Pc&&(t==="function"||t==="symbol"),cR=(e,t,n,r)=>{const a=(o,s)=>{const l=r.push(o)-1;return n.set(s,l),l},i=o=>{if(n.has(o))return n.get(o);let[s,l]=Ko(o);switch(s){case Pc:{let d=o;switch(l){case"bigint":s=Av,d=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);d=null;break;case"undefined":return a([Tv],o)}return a([s,d],o)}case cs:{if(l){let f=o;return l==="DataView"?f=new Uint8Array(o.buffer):l==="ArrayBuffer"&&(f=new Uint8Array(o)),a([l,[...f]],o)}const d=[],p=a([s,d],o);for(const f of o)d.push(i(f));return p}case Hu:{if(l)switch(l){case"BigInt":return a([l,o.toString()],o);case"Boolean":case"Number":case"String":return a([l,o.valueOf()],o)}if(t&&"toJSON"in o)return i(o.toJSON());const d=[],p=a([s,d],o);for(const f of uR(o))(e||!Kl(Ko(o[f])))&&d.push([i(f),i(o[f])]);return p}case Af:return a([s,o.toISOString()],o);case kf:{const{source:d,flags:p}=o;return a([s,{source:d,flags:p}],o)}case Of:{const d=[],p=a([s,d],o);for(const[f,h]of o)(e||!(Kl(Ko(f))||Kl(Ko(h))))&&d.push([i(f),i(h)]);return p}case If:{const d=[],p=a([s,d],o);for(const f of o)(e||!Kl(Ko(f)))&&d.push(i(f));return p}}const{message:u}=o;return a([s,{name:l,message:u}],o)};return i},Gg=(e,{json:t,lossy:n}={})=>{const r=[];return cR(!(t||n),!!t,new Map,r)(e),r},Kg=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Vg(Gg(e,t)):structuredClone(e):(e,t)=>Vg(Gg(e,t));let Js=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};Js.prototype.normal={};Js.prototype.property={};Js.prototype.space=void 0;function kv(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new Js(n,r,t)}function Is(e){return e.toLowerCase()}let Gn=class{constructor(t,n){this.attribute=n,this.property=t}};Gn.prototype.attribute="";Gn.prototype.booleanish=!1;Gn.prototype.boolean=!1;Gn.prototype.commaOrSpaceSeparated=!1;Gn.prototype.commaSeparated=!1;Gn.prototype.defined=!1;Gn.prototype.mustUseProperty=!1;Gn.prototype.number=!1;Gn.prototype.overloadedBoolean=!1;Gn.prototype.property="";Gn.prototype.spaceSeparated=!1;Gn.prototype.space=void 0;let dR=0;const et=Si(),sn=Si(),Td=Si(),ge=Si(),Dt=Si(),Xi=Si(),er=Si();function Si(){return 2**++dR}const wd=Object.freeze(Object.defineProperty({__proto__:null,boolean:et,booleanish:sn,commaOrSpaceSeparated:er,commaSeparated:Xi,number:ge,overloadedBoolean:Td,spaceSeparated:Dt},Symbol.toStringTag,{value:"Module"})),D0=Object.keys(wd);let Nf=class extends Gn{constructor(t,n,r,a){let i=-1;if(super(t,n),Yg(this,"space",a),typeof r=="number")for(;++i<D0.length;){const o=D0[i];Yg(this,D0[i],(r&wd[o])===wd[o])}}};Nf.prototype.defined=!0;function Yg(e,t,n){n&&(e[t]=n)}function Eo(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const i=new Nf(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Is(r)]=r,n[Is(i.attribute)]=r}return new Js(t,n,e.space)}const Ov=Eo({properties:{ariaActiveDescendant:null,ariaAtomic:sn,ariaAutoComplete:null,ariaBusy:sn,ariaChecked:sn,ariaColCount:ge,ariaColIndex:ge,ariaColSpan:ge,ariaControls:Dt,ariaCurrent:null,ariaDescribedBy:Dt,ariaDetails:null,ariaDisabled:sn,ariaDropEffect:Dt,ariaErrorMessage:null,ariaExpanded:sn,ariaFlowTo:Dt,ariaGrabbed:sn,ariaHasPopup:null,ariaHidden:sn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Dt,ariaLevel:ge,ariaLive:null,ariaModal:sn,ariaMultiLine:sn,ariaMultiSelectable:sn,ariaOrientation:null,ariaOwns:Dt,ariaPlaceholder:null,ariaPosInSet:ge,ariaPressed:sn,ariaReadOnly:sn,ariaRelevant:null,ariaRequired:sn,ariaRoleDescription:Dt,ariaRowCount:ge,ariaRowIndex:ge,ariaRowSpan:ge,ariaSelected:sn,ariaSetSize:ge,ariaSort:null,ariaValueMax:ge,ariaValueMin:ge,ariaValueNow:ge,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Iv(e,t){return t in e?e[t]:t}function Nv(e,t){return Iv(e,t.toLowerCase())}const fR=Eo({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Xi,acceptCharset:Dt,accessKey:Dt,action:null,allow:null,allowFullScreen:et,allowPaymentRequest:et,allowUserMedia:et,alt:null,as:null,async:et,autoCapitalize:null,autoComplete:Dt,autoFocus:et,autoPlay:et,blocking:Dt,capture:null,charSet:null,checked:et,cite:null,className:Dt,cols:ge,colSpan:null,content:null,contentEditable:sn,controls:et,controlsList:Dt,coords:ge|Xi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:et,defer:et,dir:null,dirName:null,disabled:et,download:Td,draggable:sn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:et,formTarget:null,headers:Dt,height:ge,hidden:Td,high:ge,href:null,hrefLang:null,htmlFor:Dt,httpEquiv:Dt,id:null,imageSizes:null,imageSrcSet:null,inert:et,inputMode:null,integrity:null,is:null,isMap:et,itemId:null,itemProp:Dt,itemRef:Dt,itemScope:et,itemType:Dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:et,low:ge,manifest:null,max:null,maxLength:ge,media:null,method:null,min:null,minLength:ge,multiple:et,muted:et,name:null,nonce:null,noModule:et,noValidate:et,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:et,optimum:ge,pattern:null,ping:Dt,placeholder:null,playsInline:et,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:et,referrerPolicy:null,rel:Dt,required:et,reversed:et,rows:ge,rowSpan:ge,sandbox:Dt,scope:null,scoped:et,seamless:et,selected:et,shadowRootClonable:et,shadowRootDelegatesFocus:et,shadowRootMode:null,shape:null,size:ge,sizes:null,slot:null,span:ge,spellCheck:sn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ge,step:null,style:null,tabIndex:ge,target:null,title:null,translate:null,type:null,typeMustMatch:et,useMap:null,value:sn,width:ge,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Dt,axis:null,background:null,bgColor:null,border:ge,borderColor:null,bottomMargin:ge,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:et,declare:et,event:null,face:null,frame:null,frameBorder:null,hSpace:ge,leftMargin:ge,link:null,longDesc:null,lowSrc:null,marginHeight:ge,marginWidth:ge,noResize:et,noHref:et,noShade:et,noWrap:et,object:null,profile:null,prompt:null,rev:null,rightMargin:ge,rules:null,scheme:null,scrolling:sn,standby:null,summary:null,text:null,topMargin:ge,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ge,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:et,disableRemotePlayback:et,prefix:null,property:null,results:ge,security:null,unselectable:null},space:"html",transform:Nv}),hR=Eo({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:er,accentHeight:ge,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ge,amplitude:ge,arabicForm:null,ascent:ge,attributeName:null,attributeType:null,azimuth:ge,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ge,by:null,calcMode:null,capHeight:ge,className:Dt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ge,diffuseConstant:ge,direction:null,display:null,dur:null,divisor:ge,dominantBaseline:null,download:et,dx:null,dy:null,edgeMode:null,editable:null,elevation:ge,enableBackground:null,end:null,event:null,exponent:ge,externalResourcesRequired:null,fill:null,fillOpacity:ge,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Xi,g2:Xi,glyphName:Xi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ge,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ge,horizOriginX:ge,horizOriginY:ge,id:null,ideographic:ge,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ge,k:ge,k1:ge,k2:ge,k3:ge,k4:ge,kernelMatrix:er,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ge,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ge,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ge,overlineThickness:ge,paintOrder:null,panose1:null,path:null,pathLength:ge,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ge,pointsAtY:ge,pointsAtZ:ge,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:er,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:er,rev:er,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:er,requiredFeatures:er,requiredFonts:er,requiredFormats:er,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ge,specularExponent:ge,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ge,strikethroughThickness:ge,string:null,stroke:null,strokeDashArray:er,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ge,strokeOpacity:ge,strokeWidth:null,style:null,surfaceScale:ge,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:er,tabIndex:ge,tableValues:null,target:null,targetX:ge,targetY:ge,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:er,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ge,underlineThickness:ge,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ge,values:null,vAlphabetic:ge,vMathematical:ge,vectorEffect:null,vHanging:ge,vIdeographic:ge,version:null,vertAdvY:ge,vertOriginX:ge,vertOriginY:ge,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ge,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Iv}),Lv=Eo({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Rv=Eo({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Nv}),Pv=Eo({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),pR=/[A-Z]/g,Xg=/-[a-z]/g,gR=/^data[-\w.:]+$/i;function Dv(e,t){const n=Is(t);let r=t,a=Gn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&gR.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Xg,xR);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Xg.test(i)){let o=i.replace(pR,mR);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=Nf}return new a(r,t)}function mR(e){return"-"+e.toLowerCase()}function xR(e){return e.charAt(1).toUpperCase()}const Lf=kv([Ov,fR,Lv,Rv,Pv],"html"),Rf=kv([Ov,hR,Lv,Rv,Pv],"svg");function Qg(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const o=n.slice(a,r).trim();(o||!i)&&t.push(o),a=r+1,r=n.indexOf(",",a)}return t}function bR(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Zg=/[#.]/g;function vR(e,t){const n=e||"",r={};let a=0,i,o;for(;a<n.length;){Zg.lastIndex=a;const s=Zg.exec(n),l=n.slice(a,s?s.index:n.length);l&&(i?i==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:o=l,a+=l.length),s&&(i=s[0],a++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}function Jg(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function _R(e){return e.join(" ").trim()}function Mv(e,t,n){const r=n?CR(n):void 0;function a(i,o,...s){let l;if(i==null){l={type:"root",children:[]};const u=o;s.unshift(u)}else{l=vR(i,t);const u=l.tagName.toLowerCase(),d=r?r.get(u):void 0;if(l.tagName=d||u,yR(o))s.unshift(o);else for(const[p,f]of Object.entries(o))ER(e,l.properties,p,f)}for(const u of s)Ad(l.children,u);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return a}function yR(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const a=t[r];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const o of i)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function ER(e,t,n,r){const a=Dv(e,n);let i;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;i=r}else typeof r=="boolean"?i=r:typeof r=="string"?a.spaceSeparated?i=Jg(r):a.commaSeparated?i=Qg(r):a.commaOrSpaceSeparated?i=Jg(Qg(r).join(" ")):i=e1(a,a.property,r):Array.isArray(r)?i=[...r]:i=a.property==="style"?SR(r):String(r);if(Array.isArray(i)){const o=[];for(const s of i)o.push(e1(a,a.property,s));i=o}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function Ad(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)Ad(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?Ad(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function e1(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Is(n)===Is(t)))return!0}return n}function SR(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function CR(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const TR=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],wR=Mv(Lf,"div"),AR=Mv(Rf,"g",TR);function kR(e){const t=String(e),n=[];return{toOffset:a,toPoint:r};function r(i){if(typeof i=="number"&&i>-1&&i<=t.length){let o=0;for(;;){let s=n[o];if(s===void 0){const l=t1(t,n[o-1]);s=l===-1?t.length+1:l+1,n[o]=s}if(s>i)return{line:o+1,column:i-(o>0?n[o-1]:0)+1,offset:i};o++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){const s=n[n.length-1],l=t1(t,s),u=l===-1?t.length+1:l+1;if(s===u)break;n.push(u)}const o=(i.line>1?n[i.line-2]:0)+i.column-1;if(o<n[i.line-1])return o}}}function t1(e,t){const n=e.indexOf("\r",t),r=e.indexOf("\n",t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const li={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Bv={}.hasOwnProperty,OR=Object.prototype;function IR(e,t){const n=t||{};return Pf({file:n.file||void 0,location:!1,schema:n.space==="svg"?Rf:Lf,verbose:n.verbose||!1},e)}function Pf(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},fu(e,r,n),n}case"#document":case"#document-fragment":{const r=t,a="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Fv(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),o=kR(i),s=o.toPoint(0),l=o.toPoint(i.length);n.position={start:s,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},fu(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},fu(e,r,n),n}default:return n=NR(e,t),n}}function Fv(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=Pf(e,t[n]);r.push(a)}return r}function NR(e,t){const n=e.schema;e.schema=t.namespaceURI===li.svg?Rf:Lf;let r=-1;const a={};for(;++r<t.attrs.length;){const s=t.attrs[r],l=(s.prefix?s.prefix+":":"")+s.name;Bv.call(OR,l)||(a[l]=s.value)}const o=(e.schema.space==="svg"?AR:wR)(t.tagName,a,Fv(e,t.childNodes));if(fu(e,t,o),o.tagName==="template"){const s=t,l=s.sourceCodeLocation,u=l&&l.startTag&&ji(l.startTag),d=l&&l.endTag&&ji(l.endTag),p=Pf(e,s.content);u&&d&&e.file&&(p.position={start:u.end,end:d.start}),o.content=p}return e.schema=n,o}function fu(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=LR(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function LR(e,t,n){const r=ji(n);if(t.type==="element"){const a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){const i={};let o;if(n.attrs)for(o in n.attrs)Bv.call(n.attrs,o)&&(i[Dv(e.schema,o).property]=ji(n.attrs[o]));n.startTag;const s=ji(n.startTag),l=n.endTag?ji(n.endTag):void 0,u={opening:s};l&&(u.closing=l),u.properties=i,t.data={position:u}}}return r}function ji(e){const t=n1({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=n1({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function n1(e){return e.line&&e.column?e:void 0}class el{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}el.prototype.property={};el.prototype.normal={};el.prototype.space=null;function $v(e,t){const n={},r={};let a=-1;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new el(n,r,t)}function kd(e){return e.toLowerCase()}class yr{constructor(t,n){this.property=t,this.attribute=n}}yr.prototype.space=null;yr.prototype.boolean=!1;yr.prototype.booleanish=!1;yr.prototype.overloadedBoolean=!1;yr.prototype.number=!1;yr.prototype.commaSeparated=!1;yr.prototype.spaceSeparated=!1;yr.prototype.commaOrSpaceSeparated=!1;yr.prototype.mustUseProperty=!1;yr.prototype.defined=!1;let RR=0;const Ze=Ci(),ln=Ci(),Hv=Ci(),me=Ci(),Mt=Ci(),Qi=Ci(),tr=Ci();function Ci(){return 2**++RR}const Od=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ze,booleanish:ln,commaOrSpaceSeparated:tr,commaSeparated:Qi,number:me,overloadedBoolean:Hv,spaceSeparated:Mt},Symbol.toStringTag,{value:"Module"})),M0=Object.keys(Od);class Df extends yr{constructor(t,n,r,a){let i=-1;if(super(t,n),r1(this,"space",a),typeof r=="number")for(;++i<M0.length;){const o=M0[i];r1(this,M0[i],(r&Od[o])===Od[o])}}}Df.prototype.defined=!0;function r1(e,t,n){n&&(e[t]=n)}const PR={}.hasOwnProperty;function So(e){const t={},n={};let r;for(r in e.properties)if(PR.call(e.properties,r)){const a=e.properties[r],i=new Df(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[kd(r)]=r,n[kd(i.attribute)]=r}return new el(t,n,e.space)}const Uv=So({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),zv=So({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function jv(e,t){return t in e?e[t]:t}function qv(e,t){return jv(e,t.toLowerCase())}const Wv=So({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:qv,properties:{xmlns:null,xmlnsXLink:null}}),Vv=So({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ln,ariaAutoComplete:null,ariaBusy:ln,ariaChecked:ln,ariaColCount:me,ariaColIndex:me,ariaColSpan:me,ariaControls:Mt,ariaCurrent:null,ariaDescribedBy:Mt,ariaDetails:null,ariaDisabled:ln,ariaDropEffect:Mt,ariaErrorMessage:null,ariaExpanded:ln,ariaFlowTo:Mt,ariaGrabbed:ln,ariaHasPopup:null,ariaHidden:ln,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Mt,ariaLevel:me,ariaLive:null,ariaModal:ln,ariaMultiLine:ln,ariaMultiSelectable:ln,ariaOrientation:null,ariaOwns:Mt,ariaPlaceholder:null,ariaPosInSet:me,ariaPressed:ln,ariaReadOnly:ln,ariaRelevant:null,ariaRequired:ln,ariaRoleDescription:Mt,ariaRowCount:me,ariaRowIndex:me,ariaRowSpan:me,ariaSelected:ln,ariaSetSize:me,ariaSort:null,ariaValueMax:me,ariaValueMin:me,ariaValueNow:me,ariaValueText:null,role:null}}),DR=So({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:qv,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Qi,acceptCharset:Mt,accessKey:Mt,action:null,allow:null,allowFullScreen:Ze,allowPaymentRequest:Ze,allowUserMedia:Ze,alt:null,as:null,async:Ze,autoCapitalize:null,autoComplete:Mt,autoFocus:Ze,autoPlay:Ze,blocking:Mt,capture:null,charSet:null,checked:Ze,cite:null,className:Mt,cols:me,colSpan:null,content:null,contentEditable:ln,controls:Ze,controlsList:Mt,coords:me|Qi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ze,defer:Ze,dir:null,dirName:null,disabled:Ze,download:Hv,draggable:ln,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ze,formTarget:null,headers:Mt,height:me,hidden:Ze,high:me,href:null,hrefLang:null,htmlFor:Mt,httpEquiv:Mt,id:null,imageSizes:null,imageSrcSet:null,inert:Ze,inputMode:null,integrity:null,is:null,isMap:Ze,itemId:null,itemProp:Mt,itemRef:Mt,itemScope:Ze,itemType:Mt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ze,low:me,manifest:null,max:null,maxLength:me,media:null,method:null,min:null,minLength:me,multiple:Ze,muted:Ze,name:null,nonce:null,noModule:Ze,noValidate:Ze,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ze,optimum:me,pattern:null,ping:Mt,placeholder:null,playsInline:Ze,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ze,referrerPolicy:null,rel:Mt,required:Ze,reversed:Ze,rows:me,rowSpan:me,sandbox:Mt,scope:null,scoped:Ze,seamless:Ze,selected:Ze,shadowRootClonable:Ze,shadowRootDelegatesFocus:Ze,shadowRootMode:null,shape:null,size:me,sizes:null,slot:null,span:me,spellCheck:ln,src:null,srcDoc:null,srcLang:null,srcSet:null,start:me,step:null,style:null,tabIndex:me,target:null,title:null,translate:null,type:null,typeMustMatch:Ze,useMap:null,value:ln,width:me,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Mt,axis:null,background:null,bgColor:null,border:me,borderColor:null,bottomMargin:me,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ze,declare:Ze,event:null,face:null,frame:null,frameBorder:null,hSpace:me,leftMargin:me,link:null,longDesc:null,lowSrc:null,marginHeight:me,marginWidth:me,noResize:Ze,noHref:Ze,noShade:Ze,noWrap:Ze,object:null,profile:null,prompt:null,rev:null,rightMargin:me,rules:null,scheme:null,scrolling:ln,standby:null,summary:null,text:null,topMargin:me,valueType:null,version:null,vAlign:null,vLink:null,vSpace:me,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ze,disableRemotePlayback:Ze,prefix:null,property:null,results:me,security:null,unselectable:null}}),MR=So({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:jv,properties:{about:tr,accentHeight:me,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:me,amplitude:me,arabicForm:null,ascent:me,attributeName:null,attributeType:null,azimuth:me,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:me,by:null,calcMode:null,capHeight:me,className:Mt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:me,diffuseConstant:me,direction:null,display:null,dur:null,divisor:me,dominantBaseline:null,download:Ze,dx:null,dy:null,edgeMode:null,editable:null,elevation:me,enableBackground:null,end:null,event:null,exponent:me,externalResourcesRequired:null,fill:null,fillOpacity:me,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Qi,g2:Qi,glyphName:Qi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:me,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:me,horizOriginX:me,horizOriginY:me,id:null,ideographic:me,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:me,k:me,k1:me,k2:me,k3:me,k4:me,kernelMatrix:tr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:me,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:me,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:me,overlineThickness:me,paintOrder:null,panose1:null,path:null,pathLength:me,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Mt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:me,pointsAtY:me,pointsAtZ:me,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tr,rev:tr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tr,requiredFeatures:tr,requiredFonts:tr,requiredFormats:tr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:me,specularExponent:me,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:me,strikethroughThickness:me,string:null,stroke:null,strokeDashArray:tr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:me,strokeOpacity:me,strokeWidth:null,style:null,surfaceScale:me,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tr,tabIndex:me,tableValues:null,target:null,targetX:me,targetY:me,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:me,underlineThickness:me,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:me,values:null,vAlphabetic:me,vMathematical:me,vectorEffect:null,vHanging:me,vIdeographic:me,version:null,vertAdvY:me,vertOriginX:me,vertOriginY:me,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:me,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),BR=/^data[-\w.:]+$/i,a1=/-[a-z]/g,FR=/[A-Z]/g;function $R(e,t){const n=kd(t);let r=t,a=yr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&BR.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(a1,UR);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!a1.test(i)){let o=i.replace(FR,HR);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=Df}return new a(r,t)}function HR(e){return"-"+e.toLowerCase()}function UR(e){return e.charAt(1).toUpperCase()}const zR=$v([zv,Uv,Wv,Vv,DR],"html"),Gv=$v([zv,Uv,Wv,Vv,MR],"svg"),i1={}.hasOwnProperty;function Kv(e,t){const n=t||{};function r(a,...i){let o=r.invalid;const s=r.handlers;if(a&&i1.call(a,e)){const l=String(a[e]);o=i1.call(s,l)?s[l]:r.unknown}if(o)return o.call(this,a,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const jR={},qR={}.hasOwnProperty,Yv=Kv("type",{handlers:{root:VR,element:QR,text:YR,comment:XR,doctype:KR}});function WR(e,t){const r=(t||jR).space;return Yv(e,r==="svg"?Gv:zR)}function VR(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Mf(e.children,n,t),Co(e,n),n}function GR(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Mf(e.children,n,t),Co(e,n),n}function KR(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Co(e,t),t}function YR(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Co(e,t),t}function XR(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Co(e,t),t}function QR(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Gv);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&qR.call(e.properties,i)){const l=ZR(r,i,e.properties[i]);l&&a.push(l)}}const o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:li[o],childNodes:[],parentNode:null};return s.childNodes=Mf(e.children,s,r),Co(e,s),e.tagName==="template"&&e.content&&(s.content=GR(e.content,r)),s}function ZR(e,t,n){const r=$R(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?bR(n):_R(n));const a={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=r.attribute.slice(0,i)),a.namespace=li[r.space]}return a}function Mf(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const i=Yv(e[r],n);i.parentNode=t,a.push(i)}return a}function Co(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const JR=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],eP=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Wt="�";var N;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(N||(N={}));const $n={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Xv(e){return e>=55296&&e<=57343}function tP(e){return e>=56320&&e<=57343}function nP(e,t){return(e-55296)*1024+9216+t}function Qv(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Zv(e){return e>=64976&&e<=65007||eP.has(e)}var Z;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Z||(Z={}));const rP=65536;class aP{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=rP,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:a,offset:i}=this,o=a+n,s=i+n;return{code:t,startLine:r,endLine:r,startCol:o,endCol:o,startOffset:s,endOffset:s}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(tP(n))return this.pos++,this._addGap(),nP(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,N.EOF;return this._err(Z.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,N.EOF;const r=this.html.charCodeAt(n);return r===N.CARRIAGE_RETURN?N.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,N.EOF;let t=this.html.charCodeAt(this.pos);return t===N.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,N.LINE_FEED):t===N.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Xv(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===N.LINE_FEED||t===N.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Qv(t)?this._err(Z.controlCharacterInInputStream):Zv(t)&&this._err(Z.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var at;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(at||(at={}));function Jv(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const iP=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),oP=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function sP(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=oP.get(e))!==null&&t!==void 0?t:e}var mn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(mn||(mn={}));const lP=32;var La;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(La||(La={}));function Id(e){return e>=mn.ZERO&&e<=mn.NINE}function uP(e){return e>=mn.UPPER_A&&e<=mn.UPPER_F||e>=mn.LOWER_A&&e<=mn.LOWER_F}function cP(e){return e>=mn.UPPER_A&&e<=mn.UPPER_Z||e>=mn.LOWER_A&&e<=mn.LOWER_Z||Id(e)}function dP(e){return e===mn.EQUALS||cP(e)}var pn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(pn||(pn={}));var ua;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ua||(ua={}));class fP{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=pn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ua.Strict}startEntity(t){this.decodeMode=t,this.state=pn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case pn.EntityStart:return t.charCodeAt(n)===mn.NUM?(this.state=pn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=pn.NamedEntity,this.stateNamedEntity(t,n));case pn.NumericStart:return this.stateNumericStart(t,n);case pn.NumericDecimal:return this.stateNumericDecimal(t,n);case pn.NumericHex:return this.stateNumericHex(t,n);case pn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|lP)===mn.LOWER_X?(this.state=pn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=pn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,a){if(n!==r){const i=r-n;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(n,i),a),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(Id(a)||uP(a))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(Id(a))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===mn.SEMI)this.consumed+=1;else if(this.decodeMode===ua.Strict)return 0;return this.emitCodePoint(sP(this.result),this.consumed),this.errors&&(t!==mn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let a=r[this.treeIndex],i=(a&La.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=hP(r,a,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===ua.Attribute&&(i===0||dP(o))?0:this.emitNotTerminatedNamedEntity();if(a=r[this.treeIndex],i=(a&La.VALUE_LENGTH)>>14,i!==0){if(o===mn.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==ua.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,a=(r[n]&La.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:a}=this;return this.emitCodePoint(n===1?a[t]&~La.VALUE_LENGTH:a[t+1],r),n===3&&this.emitCodePoint(a[t+2],r),r}end(){var t;switch(this.state){case pn.NamedEntity:return this.result!==0&&(this.decodeMode!==ua.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case pn.NumericDecimal:return this.emitNumericEntity(0,2);case pn.NumericHex:return this.emitNumericEntity(0,3);case pn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case pn.EntityStart:return 0}}}function hP(e,t,n,r){const a=(t&La.BRANCH_LENGTH)>>7,i=t&La.JUMP_TABLE;if(a===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=a?-1:e[n+l]-1}let o=n,s=o+a-1;for(;o<=s;){const l=o+s>>>1,u=e[l];if(u<r)o=l+1;else if(u>r)s=l-1;else return e[l+a]}return-1}var ue;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(ue||(ue={}));var gi;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(gi||(gi={}));var gr;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(gr||(gr={}));var q;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(q||(q={}));var b;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(b||(b={}));const pP=new Map([[q.A,b.A],[q.ADDRESS,b.ADDRESS],[q.ANNOTATION_XML,b.ANNOTATION_XML],[q.APPLET,b.APPLET],[q.AREA,b.AREA],[q.ARTICLE,b.ARTICLE],[q.ASIDE,b.ASIDE],[q.B,b.B],[q.BASE,b.BASE],[q.BASEFONT,b.BASEFONT],[q.BGSOUND,b.BGSOUND],[q.BIG,b.BIG],[q.BLOCKQUOTE,b.BLOCKQUOTE],[q.BODY,b.BODY],[q.BR,b.BR],[q.BUTTON,b.BUTTON],[q.CAPTION,b.CAPTION],[q.CENTER,b.CENTER],[q.CODE,b.CODE],[q.COL,b.COL],[q.COLGROUP,b.COLGROUP],[q.DD,b.DD],[q.DESC,b.DESC],[q.DETAILS,b.DETAILS],[q.DIALOG,b.DIALOG],[q.DIR,b.DIR],[q.DIV,b.DIV],[q.DL,b.DL],[q.DT,b.DT],[q.EM,b.EM],[q.EMBED,b.EMBED],[q.FIELDSET,b.FIELDSET],[q.FIGCAPTION,b.FIGCAPTION],[q.FIGURE,b.FIGURE],[q.FONT,b.FONT],[q.FOOTER,b.FOOTER],[q.FOREIGN_OBJECT,b.FOREIGN_OBJECT],[q.FORM,b.FORM],[q.FRAME,b.FRAME],[q.FRAMESET,b.FRAMESET],[q.H1,b.H1],[q.H2,b.H2],[q.H3,b.H3],[q.H4,b.H4],[q.H5,b.H5],[q.H6,b.H6],[q.HEAD,b.HEAD],[q.HEADER,b.HEADER],[q.HGROUP,b.HGROUP],[q.HR,b.HR],[q.HTML,b.HTML],[q.I,b.I],[q.IMG,b.IMG],[q.IMAGE,b.IMAGE],[q.INPUT,b.INPUT],[q.IFRAME,b.IFRAME],[q.KEYGEN,b.KEYGEN],[q.LABEL,b.LABEL],[q.LI,b.LI],[q.LINK,b.LINK],[q.LISTING,b.LISTING],[q.MAIN,b.MAIN],[q.MALIGNMARK,b.MALIGNMARK],[q.MARQUEE,b.MARQUEE],[q.MATH,b.MATH],[q.MENU,b.MENU],[q.META,b.META],[q.MGLYPH,b.MGLYPH],[q.MI,b.MI],[q.MO,b.MO],[q.MN,b.MN],[q.MS,b.MS],[q.MTEXT,b.MTEXT],[q.NAV,b.NAV],[q.NOBR,b.NOBR],[q.NOFRAMES,b.NOFRAMES],[q.NOEMBED,b.NOEMBED],[q.NOSCRIPT,b.NOSCRIPT],[q.OBJECT,b.OBJECT],[q.OL,b.OL],[q.OPTGROUP,b.OPTGROUP],[q.OPTION,b.OPTION],[q.P,b.P],[q.PARAM,b.PARAM],[q.PLAINTEXT,b.PLAINTEXT],[q.PRE,b.PRE],[q.RB,b.RB],[q.RP,b.RP],[q.RT,b.RT],[q.RTC,b.RTC],[q.RUBY,b.RUBY],[q.S,b.S],[q.SCRIPT,b.SCRIPT],[q.SEARCH,b.SEARCH],[q.SECTION,b.SECTION],[q.SELECT,b.SELECT],[q.SOURCE,b.SOURCE],[q.SMALL,b.SMALL],[q.SPAN,b.SPAN],[q.STRIKE,b.STRIKE],[q.STRONG,b.STRONG],[q.STYLE,b.STYLE],[q.SUB,b.SUB],[q.SUMMARY,b.SUMMARY],[q.SUP,b.SUP],[q.TABLE,b.TABLE],[q.TBODY,b.TBODY],[q.TEMPLATE,b.TEMPLATE],[q.TEXTAREA,b.TEXTAREA],[q.TFOOT,b.TFOOT],[q.TD,b.TD],[q.TH,b.TH],[q.THEAD,b.THEAD],[q.TITLE,b.TITLE],[q.TR,b.TR],[q.TRACK,b.TRACK],[q.TT,b.TT],[q.U,b.U],[q.UL,b.UL],[q.SVG,b.SVG],[q.VAR,b.VAR],[q.WBR,b.WBR],[q.XMP,b.XMP]]);function To(e){var t;return(t=pP.get(e))!==null&&t!==void 0?t:b.UNKNOWN}const de=b,gP={[ue.HTML]:new Set([de.ADDRESS,de.APPLET,de.AREA,de.ARTICLE,de.ASIDE,de.BASE,de.BASEFONT,de.BGSOUND,de.BLOCKQUOTE,de.BODY,de.BR,de.BUTTON,de.CAPTION,de.CENTER,de.COL,de.COLGROUP,de.DD,de.DETAILS,de.DIR,de.DIV,de.DL,de.DT,de.EMBED,de.FIELDSET,de.FIGCAPTION,de.FIGURE,de.FOOTER,de.FORM,de.FRAME,de.FRAMESET,de.H1,de.H2,de.H3,de.H4,de.H5,de.H6,de.HEAD,de.HEADER,de.HGROUP,de.HR,de.HTML,de.IFRAME,de.IMG,de.INPUT,de.LI,de.LINK,de.LISTING,de.MAIN,de.MARQUEE,de.MENU,de.META,de.NAV,de.NOEMBED,de.NOFRAMES,de.NOSCRIPT,de.OBJECT,de.OL,de.P,de.PARAM,de.PLAINTEXT,de.PRE,de.SCRIPT,de.SECTION,de.SELECT,de.SOURCE,de.STYLE,de.SUMMARY,de.TABLE,de.TBODY,de.TD,de.TEMPLATE,de.TEXTAREA,de.TFOOT,de.TH,de.THEAD,de.TITLE,de.TR,de.TRACK,de.UL,de.WBR,de.XMP]),[ue.MATHML]:new Set([de.MI,de.MO,de.MN,de.MS,de.MTEXT,de.ANNOTATION_XML]),[ue.SVG]:new Set([de.TITLE,de.FOREIGN_OBJECT,de.DESC]),[ue.XLINK]:new Set,[ue.XML]:new Set,[ue.XMLNS]:new Set},Nd=new Set([de.H1,de.H2,de.H3,de.H4,de.H5,de.H6]);q.STYLE,q.SCRIPT,q.XMP,q.IFRAME,q.NOEMBED,q.NOFRAMES,q.PLAINTEXT;var D;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(D||(D={}));const en={DATA:D.DATA,RCDATA:D.RCDATA,RAWTEXT:D.RAWTEXT,SCRIPT_DATA:D.SCRIPT_DATA,PLAINTEXT:D.PLAINTEXT,CDATA_SECTION:D.CDATA_SECTION};function mP(e){return e>=N.DIGIT_0&&e<=N.DIGIT_9}function ns(e){return e>=N.LATIN_CAPITAL_A&&e<=N.LATIN_CAPITAL_Z}function xP(e){return e>=N.LATIN_SMALL_A&&e<=N.LATIN_SMALL_Z}function ka(e){return xP(e)||ns(e)}function o1(e){return ka(e)||mP(e)}function Yl(e){return e+32}function e_(e){return e===N.SPACE||e===N.LINE_FEED||e===N.TABULATION||e===N.FORM_FEED}function s1(e){return e_(e)||e===N.SOLIDUS||e===N.GREATER_THAN_SIGN}function bP(e){return e===N.NULL?Z.nullCharacterReference:e>1114111?Z.characterReferenceOutsideUnicodeRange:Xv(e)?Z.surrogateCharacterReference:Zv(e)?Z.noncharacterCharacterReference:Qv(e)||e===N.CARRIAGE_RETURN?Z.controlCharacterReference:null}class vP{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=D.DATA,this.returnState=D.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new aP(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new fP(iP,(r,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Z.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(Z.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const a=bP(r);a&&this._err(a,1)}}:void 0)}_err(t,n=0){var r,a;(a=(r=this.handler).onParseError)===null||a===void 0||a.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:at.START_TAG,tagName:"",tagID:b.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:at.END_TAG,tagName:"",tagID:b.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:at.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:at.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Jv(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const a=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Z.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=To(t.tagName),t.type===at.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(Z.endTagWithAttributes),t.selfClosing&&this._err(Z.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case at.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case at.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case at.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:at.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=e_(t)?at.WHITESPACE_CHARACTER:t===N.NULL?at.NULL_CHARACTER:at.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(at.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=D.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?ua.Attribute:ua.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===D.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===D.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===D.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case D.DATA:{this._stateData(t);break}case D.RCDATA:{this._stateRcdata(t);break}case D.RAWTEXT:{this._stateRawtext(t);break}case D.SCRIPT_DATA:{this._stateScriptData(t);break}case D.PLAINTEXT:{this._statePlaintext(t);break}case D.TAG_OPEN:{this._stateTagOpen(t);break}case D.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case D.TAG_NAME:{this._stateTagName(t);break}case D.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case D.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case D.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case D.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case D.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case D.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case D.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case D.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case D.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case D.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case D.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case D.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case D.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case D.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case D.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case D.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case D.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case D.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case D.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case D.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case D.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case D.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case D.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case D.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case D.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case D.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case D.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case D.BOGUS_COMMENT:{this._stateBogusComment(t);break}case D.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case D.COMMENT_START:{this._stateCommentStart(t);break}case D.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case D.COMMENT:{this._stateComment(t);break}case D.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case D.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case D.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case D.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case D.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case D.COMMENT_END:{this._stateCommentEnd(t);break}case D.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case D.DOCTYPE:{this._stateDoctype(t);break}case D.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case D.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case D.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case D.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case D.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case D.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case D.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case D.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case D.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case D.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case D.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case D.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case D.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case D.CDATA_SECTION:{this._stateCdataSection(t);break}case D.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case D.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case D.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case D.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case N.LESS_THAN_SIGN:{this.state=D.TAG_OPEN;break}case N.AMPERSAND:{this._startCharacterReference();break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitCodePoint(t);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case N.AMPERSAND:{this._startCharacterReference();break}case N.LESS_THAN_SIGN:{this.state=D.RCDATA_LESS_THAN_SIGN;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(Wt);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case N.LESS_THAN_SIGN:{this.state=D.RAWTEXT_LESS_THAN_SIGN;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(Wt);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_LESS_THAN_SIGN;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(Wt);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(Wt);break}case N.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(ka(t))this._createStartTagToken(),this.state=D.TAG_NAME,this._stateTagName(t);else switch(t){case N.EXCLAMATION_MARK:{this.state=D.MARKUP_DECLARATION_OPEN;break}case N.SOLIDUS:{this.state=D.END_TAG_OPEN;break}case N.QUESTION_MARK:{this._err(Z.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=D.BOGUS_COMMENT,this._stateBogusComment(t);break}case N.EOF:{this._err(Z.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Z.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=D.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(ka(t))this._createEndTagToken(),this.state=D.TAG_NAME,this._stateTagName(t);else switch(t){case N.GREATER_THAN_SIGN:{this._err(Z.missingEndTagName),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(Z.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=D.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=D.BEFORE_ATTRIBUTE_NAME;break}case N.SOLIDUS:{this.state=D.SELF_CLOSING_START_TAG;break}case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentTagToken();break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.tagName+=Wt;break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(ns(t)?Yl(t):t)}}_stateRcdataLessThanSign(t){t===N.SOLIDUS?this.state=D.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=D.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){ka(t)?(this.state=D.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=D.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=D.BEFORE_ATTRIBUTE_NAME,!1;case N.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=D.SELF_CLOSING_START_TAG,!1;case N.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=D.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=D.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===N.SOLIDUS?this.state=D.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=D.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){ka(t)?(this.state=D.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=D.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=D.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case N.SOLIDUS:{this.state=D.SCRIPT_DATA_END_TAG_OPEN;break}case N.EXCLAMATION_MARK:{this.state=D.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=D.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){ka(t)?(this.state=D.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=D.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=D.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===N.HYPHEN_MINUS?(this.state=D.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=D.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===N.HYPHEN_MINUS?(this.state=D.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=D.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case N.HYPHEN_MINUS:{this.state=D.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(Wt);break}case N.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case N.HYPHEN_MINUS:{this.state=D.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_ESCAPED,this._emitChars(Wt);break}case N.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case N.HYPHEN_MINUS:{this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case N.GREATER_THAN_SIGN:{this.state=D.SCRIPT_DATA,this._emitChars(">");break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_ESCAPED,this._emitChars(Wt);break}case N.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===N.SOLIDUS?this.state=D.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ka(t)?(this._emitChars("<"),this.state=D.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){ka(t)?(this.state=D.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith($n.SCRIPT,!1)&&s1(this.preprocessor.peek($n.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<$n.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case N.HYPHEN_MINUS:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this._emitChars(Wt);break}case N.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case N.HYPHEN_MINUS:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Wt);break}case N.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case N.HYPHEN_MINUS:{this._emitChars("-");break}case N.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case N.GREATER_THAN_SIGN:{this.state=D.SCRIPT_DATA,this._emitChars(">");break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Wt);break}case N.EOF:{this._err(Z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===N.SOLIDUS?(this.state=D.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith($n.SCRIPT,!1)&&s1(this.preprocessor.peek($n.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<$n.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=D.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.SOLIDUS:case N.GREATER_THAN_SIGN:case N.EOF:{this.state=D.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case N.EQUALS_SIGN:{this._err(Z.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=D.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=D.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:case N.SOLIDUS:case N.GREATER_THAN_SIGN:case N.EOF:{this._leaveAttrName(),this.state=D.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case N.EQUALS_SIGN:{this._leaveAttrName(),this.state=D.BEFORE_ATTRIBUTE_VALUE;break}case N.QUOTATION_MARK:case N.APOSTROPHE:case N.LESS_THAN_SIGN:{this._err(Z.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.name+=Wt;break}default:this.currentAttr.name+=String.fromCodePoint(ns(t)?Yl(t):t)}}_stateAfterAttributeName(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.SOLIDUS:{this.state=D.SELF_CLOSING_START_TAG;break}case N.EQUALS_SIGN:{this.state=D.BEFORE_ATTRIBUTE_VALUE;break}case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentTagToken();break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=D.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.QUOTATION_MARK:{this.state=D.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case N.APOSTROPHE:{this.state=D.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(Z.missingAttributeValue),this.state=D.DATA,this.emitCurrentTagToken();break}default:this.state=D.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case N.QUOTATION_MARK:{this.state=D.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case N.AMPERSAND:{this._startCharacterReference();break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=Wt;break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case N.APOSTROPHE:{this.state=D.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case N.AMPERSAND:{this._startCharacterReference();break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=Wt;break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this._leaveAttrValue(),this.state=D.BEFORE_ATTRIBUTE_NAME;break}case N.AMPERSAND:{this._startCharacterReference();break}case N.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=D.DATA,this.emitCurrentTagToken();break}case N.NULL:{this._err(Z.unexpectedNullCharacter),this.currentAttr.value+=Wt;break}case N.QUOTATION_MARK:case N.APOSTROPHE:case N.LESS_THAN_SIGN:case N.EQUALS_SIGN:case N.GRAVE_ACCENT:{this._err(Z.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this._leaveAttrValue(),this.state=D.BEFORE_ATTRIBUTE_NAME;break}case N.SOLIDUS:{this._leaveAttrValue(),this.state=D.SELF_CLOSING_START_TAG;break}case N.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=D.DATA,this.emitCurrentTagToken();break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._err(Z.missingWhitespaceBetweenAttributes),this.state=D.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case N.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=D.DATA,this.emitCurrentTagToken();break}case N.EOF:{this._err(Z.eofInTag),this._emitEOFToken();break}default:this._err(Z.unexpectedSolidusInTag),this.state=D.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentComment(n);break}case N.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.data+=Wt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch($n.DASH_DASH,!0)?(this._createCommentToken($n.DASH_DASH.length+1),this.state=D.COMMENT_START):this._consumeSequenceIfMatch($n.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation($n.DOCTYPE.length+1),this.state=D.DOCTYPE):this._consumeSequenceIfMatch($n.CDATA_START,!0)?this.inForeignNode?this.state=D.CDATA_SECTION:(this._err(Z.cdataInHtmlContent),this._createCommentToken($n.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=D.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Z.incorrectlyOpenedComment),this._createCommentToken(2),this.state=D.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case N.HYPHEN_MINUS:{this.state=D.COMMENT_START_DASH;break}case N.GREATER_THAN_SIGN:{this._err(Z.abruptClosingOfEmptyComment),this.state=D.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=D.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case N.HYPHEN_MINUS:{this.state=D.COMMENT_END;break}case N.GREATER_THAN_SIGN:{this._err(Z.abruptClosingOfEmptyComment),this.state=D.DATA,this.emitCurrentComment(n);break}case N.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=D.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case N.HYPHEN_MINUS:{this.state=D.COMMENT_END_DASH;break}case N.LESS_THAN_SIGN:{n.data+="<",this.state=D.COMMENT_LESS_THAN_SIGN;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.data+=Wt;break}case N.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case N.EXCLAMATION_MARK:{n.data+="!",this.state=D.COMMENT_LESS_THAN_SIGN_BANG;break}case N.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=D.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===N.HYPHEN_MINUS?this.state=D.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=D.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===N.HYPHEN_MINUS?this.state=D.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=D.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==N.GREATER_THAN_SIGN&&t!==N.EOF&&this._err(Z.nestedComment),this.state=D.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case N.HYPHEN_MINUS:{this.state=D.COMMENT_END;break}case N.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=D.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentComment(n);break}case N.EXCLAMATION_MARK:{this.state=D.COMMENT_END_BANG;break}case N.HYPHEN_MINUS:{n.data+="-";break}case N.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=D.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case N.HYPHEN_MINUS:{n.data+="--!",this.state=D.COMMENT_END_DASH;break}case N.GREATER_THAN_SIGN:{this._err(Z.incorrectlyClosedComment),this.state=D.DATA,this.emitCurrentComment(n);break}case N.EOF:{this._err(Z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=D.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=D.BEFORE_DOCTYPE_NAME;break}case N.GREATER_THAN_SIGN:{this.state=D.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case N.EOF:{this._err(Z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingWhitespaceBeforeDoctypeName),this.state=D.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(ns(t))this._createDoctypeToken(String.fromCharCode(Yl(t))),this.state=D.DOCTYPE_NAME;else switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.NULL:{this._err(Z.unexpectedNullCharacter),this._createDoctypeToken(Wt),this.state=D.DOCTYPE_NAME;break}case N.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=D.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=D.AFTER_DOCTYPE_NAME;break}case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.name+=Wt;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(ns(t)?Yl(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch($n.PUBLIC,!1)?this.state=D.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch($n.SYSTEM,!1)?this.state=D.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Z.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=D.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case N.QUOTATION_MARK:{this._err(Z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=D.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{this._err(Z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=D.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(Z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.QUOTATION_MARK:{n.publicId="",this.state=D.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{n.publicId="",this.state=D.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(Z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case N.QUOTATION_MARK:{this.state=D.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.publicId+=Wt;break}case N.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case N.APOSTROPHE:{this.state=D.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.publicId+=Wt;break}case N.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=D.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case N.GREATER_THAN_SIGN:{this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.QUOTATION_MARK:{this._err(Z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{this._err(Z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.QUOTATION_MARK:{n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:{this.state=D.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case N.QUOTATION_MARK:{this._err(Z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{this._err(Z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.QUOTATION_MARK:{n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case N.APOSTROPHE:{n.systemId="",this.state=D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case N.GREATER_THAN_SIGN:{this._err(Z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=D.DATA,this.emitCurrentDoctype(n);break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case N.QUOTATION_MARK:{this.state=D.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.systemId+=Wt;break}case N.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case N.APOSTROPHE:{this.state=D.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case N.NULL:{this._err(Z.unexpectedNullCharacter),n.systemId+=Wt;break}case N.GREATER_THAN_SIGN:{this._err(Z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case N.SPACE:case N.LINE_FEED:case N.TABULATION:case N.FORM_FEED:break;case N.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.EOF:{this._err(Z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(Z.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=D.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case N.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=D.DATA;break}case N.NULL:{this._err(Z.unexpectedNullCharacter);break}case N.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case N.RIGHT_SQUARE_BRACKET:{this.state=D.CDATA_SECTION_BRACKET;break}case N.EOF:{this._err(Z.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===N.RIGHT_SQUARE_BRACKET?this.state=D.CDATA_SECTION_END:(this._emitChars("]"),this.state=D.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case N.GREATER_THAN_SIGN:{this.state=D.DATA;break}case N.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=D.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(N.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&o1(this.preprocessor.peek(1))?D.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){o1(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===N.SEMICOLON&&this._err(Z.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const t_=new Set([b.DD,b.DT,b.LI,b.OPTGROUP,b.OPTION,b.P,b.RB,b.RP,b.RT,b.RTC]),l1=new Set([...t_,b.CAPTION,b.COLGROUP,b.TBODY,b.TD,b.TFOOT,b.TH,b.THEAD,b.TR]),Uu=new Set([b.APPLET,b.CAPTION,b.HTML,b.MARQUEE,b.OBJECT,b.TABLE,b.TD,b.TEMPLATE,b.TH]),_P=new Set([...Uu,b.OL,b.UL]),yP=new Set([...Uu,b.BUTTON]),u1=new Set([b.ANNOTATION_XML,b.MI,b.MN,b.MO,b.MS,b.MTEXT]),c1=new Set([b.DESC,b.FOREIGN_OBJECT,b.TITLE]),EP=new Set([b.TR,b.TEMPLATE,b.HTML]),SP=new Set([b.TBODY,b.TFOOT,b.THEAD,b.TEMPLATE,b.HTML]),CP=new Set([b.TABLE,b.TEMPLATE,b.HTML]),TP=new Set([b.TD,b.TH]);class wP{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=b.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===b.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===ue.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const a=this._indexOf(t)+1;this.items.splice(a,0,n),this.tagIDs.splice(a,0,r),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==ue.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Nd,ue.HTML)}popUntilTableCellPopped(){this.popUntilPopped(TP,ue.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(CP,ue.HTML)}clearBackToTableBodyContext(){this.clearBackTo(SP,ue.HTML)}clearBackToTableRowContext(){this.clearBackTo(EP,ue.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===b.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===b.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const a=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case ue.HTML:{if(a===t)return!0;if(n.has(a))return!1;break}case ue.SVG:{if(c1.has(a))return!1;break}case ue.MATHML:{if(u1.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Uu)}hasInListItemScope(t){return this.hasInDynamicScope(t,_P)}hasInButtonScope(t){return this.hasInDynamicScope(t,yP)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case ue.HTML:{if(Nd.has(n))return!0;if(Uu.has(n))return!1;break}case ue.SVG:{if(c1.has(n))return!1;break}case ue.MATHML:{if(u1.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===ue.HTML)switch(this.tagIDs[n]){case t:return!0;case b.TABLE:case b.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===ue.HTML)switch(this.tagIDs[t]){case b.TBODY:case b.THEAD:case b.TFOOT:return!0;case b.TABLE:case b.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===ue.HTML)switch(this.tagIDs[n]){case t:return!0;case b.OPTION:case b.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&t_.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&l1.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&l1.has(this.currentTagId);)this.pop()}}const B0=3;var Gr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Gr||(Gr={}));const d1={type:Gr.Marker};class AP{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],a=n.length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let s=0;s<this.entries.length;s++){const l=this.entries[s];if(l.type===Gr.Marker)break;const{element:u}=l;if(this.treeAdapter.getTagName(u)===i&&this.treeAdapter.getNamespaceURI(u)===o){const d=this.treeAdapter.getAttrList(u);d.length===a&&r.push({idx:s,attrs:d})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<B0)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<B0)return;const a=new Map(n.map(o=>[o.name,o.value]));let i=0;for(let o=0;o<r.length;o++){const s=r[o];s.attrs.every(l=>a.get(l.name)===l.value)&&(i+=1,i>=B0&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(d1)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Gr.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Gr.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(d1);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Gr.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Gr.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Gr.Element&&n.element===t)}}const Oa={createDocument(){return{nodeName:"#document",mode:gr.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=n,a.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Oa.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Oa.isTextNode(n)){n.value+=t;return}}Oa.appendChild(e,Oa.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Oa.isTextNode(r)?r.value+=t:Oa.insertBefore(e,Oa.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},n_="html",kP="about:legacy-compat",OP="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",r_=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],IP=[...r_,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],NP=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),a_=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],LP=[...a_,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function f1(e,t){return t.some(n=>e.startsWith(n))}function RP(e){return e.name===n_&&e.publicId===null&&(e.systemId===null||e.systemId===kP)}function PP(e){if(e.name!==n_)return gr.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===OP)return gr.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),NP.has(n))return gr.QUIRKS;let r=t===null?IP:r_;if(f1(n,r))return gr.QUIRKS;if(r=t===null?a_:LP,f1(n,r))return gr.LIMITED_QUIRKS}return gr.NO_QUIRKS}const h1={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DP="definitionurl",MP="definitionURL",BP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),FP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:ue.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:ue.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:ue.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:ue.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:ue.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:ue.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:ue.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:ue.XML}],["xml:space",{prefix:"xml",name:"space",namespace:ue.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:ue.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:ue.XMLNS}]]),$P=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),HP=new Set([b.B,b.BIG,b.BLOCKQUOTE,b.BODY,b.BR,b.CENTER,b.CODE,b.DD,b.DIV,b.DL,b.DT,b.EM,b.EMBED,b.H1,b.H2,b.H3,b.H4,b.H5,b.H6,b.HEAD,b.HR,b.I,b.IMG,b.LI,b.LISTING,b.MENU,b.META,b.NOBR,b.OL,b.P,b.PRE,b.RUBY,b.S,b.SMALL,b.SPAN,b.STRONG,b.STRIKE,b.SUB,b.SUP,b.TABLE,b.TT,b.U,b.UL,b.VAR]);function UP(e){const t=e.tagID;return t===b.FONT&&e.attrs.some(({name:r})=>r===gi.COLOR||r===gi.SIZE||r===gi.FACE)||HP.has(t)}function i_(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===DP){e.attrs[t].name=MP;break}}function o_(e){for(let t=0;t<e.attrs.length;t++){const n=BP.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Bf(e){for(let t=0;t<e.attrs.length;t++){const n=FP.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function zP(e){const t=$P.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=To(e.tagName))}function jP(e,t){return t===ue.MATHML&&(e===b.MI||e===b.MO||e===b.MN||e===b.MS||e===b.MTEXT)}function qP(e,t,n){if(t===ue.MATHML&&e===b.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===gi.ENCODING){const a=n[r].value.toLowerCase();return a===h1.TEXT_HTML||a===h1.APPLICATION_XML}}return t===ue.SVG&&(e===b.FOREIGN_OBJECT||e===b.DESC||e===b.TITLE)}function WP(e,t,n,r){return(!r||r===ue.HTML)&&qP(e,t,n)||(!r||r===ue.MATHML)&&jP(e,t)}const VP="hidden",GP=8,KP=3;var F;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(F||(F={}));const YP={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},s_=new Set([b.TABLE,b.TBODY,b.TFOOT,b.THEAD,b.TR]),p1={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Oa,onParseError:null};class g1{constructor(t,n,r=null,a=null){this.fragmentContext=r,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=F.INITIAL,this.originalInsertionMode=F.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...p1,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n!=null?n:this.treeAdapter.createDocument(),this.tokenizer=new vP(this.options,this),this.activeFormattingElements=new AP(this.treeAdapter),this.fragmentContextID=r?To(this.treeAdapter.getTagName(r)):b.UNKNOWN,this._setContextModes(r!=null?r:this.document,this.fragmentContextID),this.openElements=new wP(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...p1,...n};t!=null||(t=r.treeAdapter.createElement(q.TEMPLATE,ue.HTML,[]));const a=r.treeAdapter.createElement("documentmock",ue.HTML,[]),i=new this(r,a,t);return i.fragmentContextID===b.TEMPLATE&&i.tmplInsertionModeStack.unshift(F.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:YP,o={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(t,n,r){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(r=this.treeAdapter).onItemPop)===null||a===void 0||a.call(r,t,this.openElements.current),n){let i,o;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,o=this.fragmentContextID):{current:i,currentTagId:o}=this.openElements,this._setContextModes(i,o)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===ue.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,ue.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=F.TEXT}switchToPlaintextParsing(){this.insertionMode=F.TEXT,this.originalInsertionMode=F.IN_BODY,this.tokenizer.state=en.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===q.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==ue.HTML))switch(this.fragmentContextID){case b.TITLE:case b.TEXTAREA:{this.tokenizer.state=en.RCDATA;break}case b.STYLE:case b.XMP:case b.IFRAME:case b.NOEMBED:case b.NOFRAMES:case b.NOSCRIPT:{this.tokenizer.state=en.RAWTEXT;break}case b.SCRIPT:{this.tokenizer.state=en.SCRIPT_DATA;break}case b.PLAINTEXT:{this.tokenizer.state=en.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,a),t.location){const o=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r!=null?r:this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,ue.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,ue.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(q.HTML,ue.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,b.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(n),i=r?a.lastIndexOf(r):a.length,o=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:l,endCol:u,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:l,endCol:u,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,a=this.treeAdapter.getTagName(t),i=n.type===at.END_TAG&&a===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===b.SVG&&this.treeAdapter.getTagName(n)===q.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===ue.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===b.MGLYPH||t.tagID===b.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,ue.HTML)}_processToken(t){switch(t.type){case at.CHARACTER:{this.onCharacter(t);break}case at.NULL_CHARACTER:{this.onNullCharacter(t);break}case at.COMMENT:{this.onComment(t);break}case at.DOCTYPE:{this.onDoctype(t);break}case at.START_TAG:{this._processStartTag(t);break}case at.END_TAG:{this.onEndTag(t);break}case at.EOF:{this.onEof(t);break}case at.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const a=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return WP(t,a,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===Gr.Marker||this.openElements.contains(a.element)),r=n===-1?t-1:n-1;for(let a=r;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=F.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(b.P),this.openElements.popUntilTagNamePopped(b.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case b.TR:{this.insertionMode=F.IN_ROW;return}case b.TBODY:case b.THEAD:case b.TFOOT:{this.insertionMode=F.IN_TABLE_BODY;return}case b.CAPTION:{this.insertionMode=F.IN_CAPTION;return}case b.COLGROUP:{this.insertionMode=F.IN_COLUMN_GROUP;return}case b.TABLE:{this.insertionMode=F.IN_TABLE;return}case b.BODY:{this.insertionMode=F.IN_BODY;return}case b.FRAMESET:{this.insertionMode=F.IN_FRAMESET;return}case b.SELECT:{this._resetInsertionModeForSelect(t);return}case b.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case b.HTML:{this.insertionMode=this.headElement?F.AFTER_HEAD:F.BEFORE_HEAD;return}case b.TD:case b.TH:{if(t>0){this.insertionMode=F.IN_CELL;return}break}case b.HEAD:{if(t>0){this.insertionMode=F.IN_HEAD;return}break}}this.insertionMode=F.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===b.TEMPLATE)break;if(r===b.TABLE){this.insertionMode=F.IN_SELECT_IN_TABLE;return}}this.insertionMode=F.IN_SELECT}_isElementCausesFosterParenting(t){return s_.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case b.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===ue.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case b.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return gP[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){TM(this,t);return}switch(this.insertionMode){case F.INITIAL:{Yo(this,t);break}case F.BEFORE_HTML:{ds(this,t);break}case F.BEFORE_HEAD:{fs(this,t);break}case F.IN_HEAD:{hs(this,t);break}case F.IN_HEAD_NO_SCRIPT:{ps(this,t);break}case F.AFTER_HEAD:{gs(this,t);break}case F.IN_BODY:case F.IN_CAPTION:case F.IN_CELL:case F.IN_TEMPLATE:{u_(this,t);break}case F.TEXT:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{F0(this,t);break}case F.IN_TABLE_TEXT:{g_(this,t);break}case F.IN_COLUMN_GROUP:{zu(this,t);break}case F.AFTER_BODY:{ju(this,t);break}case F.AFTER_AFTER_BODY:{hu(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){CM(this,t);return}switch(this.insertionMode){case F.INITIAL:{Yo(this,t);break}case F.BEFORE_HTML:{ds(this,t);break}case F.BEFORE_HEAD:{fs(this,t);break}case F.IN_HEAD:{hs(this,t);break}case F.IN_HEAD_NO_SCRIPT:{ps(this,t);break}case F.AFTER_HEAD:{gs(this,t);break}case F.TEXT:{this._insertCharacters(t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{F0(this,t);break}case F.IN_COLUMN_GROUP:{zu(this,t);break}case F.AFTER_BODY:{ju(this,t);break}case F.AFTER_AFTER_BODY:{hu(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Ld(this,t);return}switch(this.insertionMode){case F.INITIAL:case F.BEFORE_HTML:case F.BEFORE_HEAD:case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:case F.IN_BODY:case F.IN_TABLE:case F.IN_CAPTION:case F.IN_COLUMN_GROUP:case F.IN_TABLE_BODY:case F.IN_ROW:case F.IN_CELL:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:case F.IN_TEMPLATE:case F.IN_FRAMESET:case F.AFTER_FRAMESET:{Ld(this,t);break}case F.IN_TABLE_TEXT:{Xo(this,t);break}case F.AFTER_BODY:{nD(this,t);break}case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{rD(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case F.INITIAL:{aD(this,t);break}case F.BEFORE_HEAD:case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:{this._err(t,Z.misplacedDoctype);break}case F.IN_TABLE_TEXT:{Xo(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,Z.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?wM(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case F.INITIAL:{Yo(this,t);break}case F.BEFORE_HTML:{iD(this,t);break}case F.BEFORE_HEAD:{sD(this,t);break}case F.IN_HEAD:{Fr(this,t);break}case F.IN_HEAD_NO_SCRIPT:{cD(this,t);break}case F.AFTER_HEAD:{fD(this,t);break}case F.IN_BODY:{kn(this,t);break}case F.IN_TABLE:{io(this,t);break}case F.IN_TABLE_TEXT:{Xo(this,t);break}case F.IN_CAPTION:{lM(this,t);break}case F.IN_COLUMN_GROUP:{Hf(this,t);break}case F.IN_TABLE_BODY:{Bc(this,t);break}case F.IN_ROW:{Fc(this,t);break}case F.IN_CELL:{dM(this,t);break}case F.IN_SELECT:{b_(this,t);break}case F.IN_SELECT_IN_TABLE:{hM(this,t);break}case F.IN_TEMPLATE:{gM(this,t);break}case F.AFTER_BODY:{xM(this,t);break}case F.IN_FRAMESET:{bM(this,t);break}case F.AFTER_FRAMESET:{_M(this,t);break}case F.AFTER_AFTER_BODY:{EM(this,t);break}case F.AFTER_AFTER_FRAMESET:{SM(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?AM(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case F.INITIAL:{Yo(this,t);break}case F.BEFORE_HTML:{oD(this,t);break}case F.BEFORE_HEAD:{lD(this,t);break}case F.IN_HEAD:{uD(this,t);break}case F.IN_HEAD_NO_SCRIPT:{dD(this,t);break}case F.AFTER_HEAD:{hD(this,t);break}case F.IN_BODY:{Mc(this,t);break}case F.TEXT:{ZD(this,t);break}case F.IN_TABLE:{Ns(this,t);break}case F.IN_TABLE_TEXT:{Xo(this,t);break}case F.IN_CAPTION:{uM(this,t);break}case F.IN_COLUMN_GROUP:{cM(this,t);break}case F.IN_TABLE_BODY:{Rd(this,t);break}case F.IN_ROW:{x_(this,t);break}case F.IN_CELL:{fM(this,t);break}case F.IN_SELECT:{v_(this,t);break}case F.IN_SELECT_IN_TABLE:{pM(this,t);break}case F.IN_TEMPLATE:{mM(this,t);break}case F.AFTER_BODY:{y_(this,t);break}case F.IN_FRAMESET:{vM(this,t);break}case F.AFTER_FRAMESET:{yM(this,t);break}case F.AFTER_AFTER_BODY:{hu(this,t);break}}}onEof(t){switch(this.insertionMode){case F.INITIAL:{Yo(this,t);break}case F.BEFORE_HTML:{ds(this,t);break}case F.BEFORE_HEAD:{fs(this,t);break}case F.IN_HEAD:{hs(this,t);break}case F.IN_HEAD_NO_SCRIPT:{ps(this,t);break}case F.AFTER_HEAD:{gs(this,t);break}case F.IN_BODY:case F.IN_TABLE:case F.IN_CAPTION:case F.IN_COLUMN_GROUP:case F.IN_TABLE_BODY:case F.IN_ROW:case F.IN_CELL:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:{h_(this,t);break}case F.TEXT:{JD(this,t);break}case F.IN_TABLE_TEXT:{Xo(this,t);break}case F.IN_TEMPLATE:{__(this,t);break}case F.AFTER_BODY:case F.IN_FRAMESET:case F.AFTER_FRAMESET:case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{$f(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===N.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:case F.TEXT:case F.IN_COLUMN_GROUP:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:case F.IN_FRAMESET:case F.AFTER_FRAMESET:{this._insertCharacters(t);break}case F.IN_BODY:case F.IN_CAPTION:case F.IN_CELL:case F.IN_TEMPLATE:case F.AFTER_BODY:case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{l_(this,t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{F0(this,t);break}case F.IN_TABLE_TEXT:{p_(this,t);break}}}}function XP(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):f_(e,t),n}function QP(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function ZP(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);const s=e.activeFormattingElements.getElementEntry(o),l=s&&i>=KP;!s||l?(l&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(o)):(o=JP(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function JP(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function eD(e,t,n){const r=e.treeAdapter.getTagName(t),a=To(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);a===b.TEMPLATE&&i===ue.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function tD(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}function Ff(e,t){for(let n=0;n<GP;n++){const r=XP(e,t);if(!r)break;const a=QP(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const i=ZP(e,a,r.element),o=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),o&&eD(e,o,i),tD(e,a,r)}}function Ld(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function nD(e,t){e._appendCommentNode(t,e.openElements.items[0])}function rD(e,t){e._appendCommentNode(t,e.document)}function $f(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(r);if(a&&!a.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(i);o&&!o.endTag&&e._setEndLocation(i,t)}}}}function aD(e,t){e._setDocumentType(t);const n=t.forceQuirks?gr.QUIRKS:PP(t);RP(t)||e._err(t,Z.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=F.BEFORE_HTML}function Yo(e,t){e._err(t,Z.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,gr.QUIRKS),e.insertionMode=F.BEFORE_HTML,e._processToken(t)}function iD(e,t){t.tagID===b.HTML?(e._insertElement(t,ue.HTML),e.insertionMode=F.BEFORE_HEAD):ds(e,t)}function oD(e,t){const n=t.tagID;(n===b.HTML||n===b.HEAD||n===b.BODY||n===b.BR)&&ds(e,t)}function ds(e,t){e._insertFakeRootElement(),e.insertionMode=F.BEFORE_HEAD,e._processToken(t)}function sD(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.HEAD:{e._insertElement(t,ue.HTML),e.headElement=e.openElements.current,e.insertionMode=F.IN_HEAD;break}default:fs(e,t)}}function lD(e,t){const n=t.tagID;n===b.HEAD||n===b.BODY||n===b.HTML||n===b.BR?fs(e,t):e._err(t,Z.endTagWithoutMatchingOpenElement)}function fs(e,t){e._insertFakeElement(q.HEAD,b.HEAD),e.headElement=e.openElements.current,e.insertionMode=F.IN_HEAD,e._processToken(t)}function Fr(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.BASE:case b.BASEFONT:case b.BGSOUND:case b.LINK:case b.META:{e._appendElement(t,ue.HTML),t.ackSelfClosing=!0;break}case b.TITLE:{e._switchToTextParsing(t,en.RCDATA);break}case b.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,en.RAWTEXT):(e._insertElement(t,ue.HTML),e.insertionMode=F.IN_HEAD_NO_SCRIPT);break}case b.NOFRAMES:case b.STYLE:{e._switchToTextParsing(t,en.RAWTEXT);break}case b.SCRIPT:{e._switchToTextParsing(t,en.SCRIPT_DATA);break}case b.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=F.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(F.IN_TEMPLATE);break}case b.HEAD:{e._err(t,Z.misplacedStartTagForHeadElement);break}default:hs(e,t)}}function uD(e,t){switch(t.tagID){case b.HEAD:{e.openElements.pop(),e.insertionMode=F.AFTER_HEAD;break}case b.BODY:case b.BR:case b.HTML:{hs(e,t);break}case b.TEMPLATE:{Ti(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function Ti(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==b.TEMPLATE&&e._err(t,Z.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(b.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,Z.endTagWithoutMatchingOpenElement)}function hs(e,t){e.openElements.pop(),e.insertionMode=F.AFTER_HEAD,e._processToken(t)}function cD(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.BASEFONT:case b.BGSOUND:case b.HEAD:case b.LINK:case b.META:case b.NOFRAMES:case b.STYLE:{Fr(e,t);break}case b.NOSCRIPT:{e._err(t,Z.nestedNoscriptInHead);break}default:ps(e,t)}}function dD(e,t){switch(t.tagID){case b.NOSCRIPT:{e.openElements.pop(),e.insertionMode=F.IN_HEAD;break}case b.BR:{ps(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function ps(e,t){const n=t.type===at.EOF?Z.openElementsLeftAfterEof:Z.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=F.IN_HEAD,e._processToken(t)}function fD(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.BODY:{e._insertElement(t,ue.HTML),e.framesetOk=!1,e.insertionMode=F.IN_BODY;break}case b.FRAMESET:{e._insertElement(t,ue.HTML),e.insertionMode=F.IN_FRAMESET;break}case b.BASE:case b.BASEFONT:case b.BGSOUND:case b.LINK:case b.META:case b.NOFRAMES:case b.SCRIPT:case b.STYLE:case b.TEMPLATE:case b.TITLE:{e._err(t,Z.abandonedHeadElementChild),e.openElements.push(e.headElement,b.HEAD),Fr(e,t),e.openElements.remove(e.headElement);break}case b.HEAD:{e._err(t,Z.misplacedStartTagForHeadElement);break}default:gs(e,t)}}function hD(e,t){switch(t.tagID){case b.BODY:case b.HTML:case b.BR:{gs(e,t);break}case b.TEMPLATE:{Ti(e,t);break}default:e._err(t,Z.endTagWithoutMatchingOpenElement)}}function gs(e,t){e._insertFakeElement(q.BODY,b.BODY),e.insertionMode=F.IN_BODY,Dc(e,t)}function Dc(e,t){switch(t.type){case at.CHARACTER:{u_(e,t);break}case at.WHITESPACE_CHARACTER:{l_(e,t);break}case at.COMMENT:{Ld(e,t);break}case at.START_TAG:{kn(e,t);break}case at.END_TAG:{Mc(e,t);break}case at.EOF:{h_(e,t);break}}}function l_(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function u_(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function pD(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function gD(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function mD(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,ue.HTML),e.insertionMode=F.IN_FRAMESET)}function xD(e,t){e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._insertElement(t,ue.HTML)}function bD(e,t){e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Nd.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,ue.HTML)}function vD(e,t){e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._insertElement(t,ue.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function _D(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._insertElement(t,ue.HTML),n||(e.formElement=e.openElements.current))}function yD(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.tagIDs[r];if(n===b.LI&&a===b.LI||(n===b.DD||n===b.DT)&&(a===b.DD||a===b.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==b.ADDRESS&&a!==b.DIV&&a!==b.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._insertElement(t,ue.HTML)}function ED(e,t){e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._insertElement(t,ue.HTML),e.tokenizer.state=en.PLAINTEXT}function SD(e,t){e.openElements.hasInScope(b.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(b.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.framesetOk=!1}function CD(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(q.A);n&&(Ff(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function TD(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wD(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(b.NOBR)&&(Ff(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,ue.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function AD(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function kD(e,t){e.treeAdapter.getDocumentMode(e.document)!==gr.QUIRKS&&e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._insertElement(t,ue.HTML),e.framesetOk=!1,e.insertionMode=F.IN_TABLE}function c_(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ue.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function d_(e){const t=Jv(e,gi.TYPE);return t!=null&&t.toLowerCase()===VP}function OD(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ue.HTML),d_(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function ID(e,t){e._appendElement(t,ue.HTML),t.ackSelfClosing=!0}function ND(e,t){e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._appendElement(t,ue.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function LD(e,t){t.tagName=q.IMG,t.tagID=b.IMG,c_(e,t)}function RD(e,t){e._insertElement(t,ue.HTML),e.skipNextNewLine=!0,e.tokenizer.state=en.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=F.TEXT}function PD(e,t){e.openElements.hasInButtonScope(b.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,en.RAWTEXT)}function DD(e,t){e.framesetOk=!1,e._switchToTextParsing(t,en.RAWTEXT)}function m1(e,t){e._switchToTextParsing(t,en.RAWTEXT)}function MD(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===F.IN_TABLE||e.insertionMode===F.IN_CAPTION||e.insertionMode===F.IN_TABLE_BODY||e.insertionMode===F.IN_ROW||e.insertionMode===F.IN_CELL?F.IN_SELECT_IN_TABLE:F.IN_SELECT}function BD(e,t){e.openElements.currentTagId===b.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML)}function FD(e,t){e.openElements.hasInScope(b.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,ue.HTML)}function $D(e,t){e.openElements.hasInScope(b.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(b.RTC),e._insertElement(t,ue.HTML)}function HD(e,t){e._reconstructActiveFormattingElements(),i_(t),Bf(t),t.selfClosing?e._appendElement(t,ue.MATHML):e._insertElement(t,ue.MATHML),t.ackSelfClosing=!0}function UD(e,t){e._reconstructActiveFormattingElements(),o_(t),Bf(t),t.selfClosing?e._appendElement(t,ue.SVG):e._insertElement(t,ue.SVG),t.ackSelfClosing=!0}function x1(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ue.HTML)}function kn(e,t){switch(t.tagID){case b.I:case b.S:case b.B:case b.U:case b.EM:case b.TT:case b.BIG:case b.CODE:case b.FONT:case b.SMALL:case b.STRIKE:case b.STRONG:{TD(e,t);break}case b.A:{CD(e,t);break}case b.H1:case b.H2:case b.H3:case b.H4:case b.H5:case b.H6:{bD(e,t);break}case b.P:case b.DL:case b.OL:case b.UL:case b.DIV:case b.DIR:case b.NAV:case b.MAIN:case b.MENU:case b.ASIDE:case b.CENTER:case b.FIGURE:case b.FOOTER:case b.HEADER:case b.HGROUP:case b.DIALOG:case b.DETAILS:case b.ADDRESS:case b.ARTICLE:case b.SEARCH:case b.SECTION:case b.SUMMARY:case b.FIELDSET:case b.BLOCKQUOTE:case b.FIGCAPTION:{xD(e,t);break}case b.LI:case b.DD:case b.DT:{yD(e,t);break}case b.BR:case b.IMG:case b.WBR:case b.AREA:case b.EMBED:case b.KEYGEN:{c_(e,t);break}case b.HR:{ND(e,t);break}case b.RB:case b.RTC:{FD(e,t);break}case b.RT:case b.RP:{$D(e,t);break}case b.PRE:case b.LISTING:{vD(e,t);break}case b.XMP:{PD(e,t);break}case b.SVG:{UD(e,t);break}case b.HTML:{pD(e,t);break}case b.BASE:case b.LINK:case b.META:case b.STYLE:case b.TITLE:case b.SCRIPT:case b.BGSOUND:case b.BASEFONT:case b.TEMPLATE:{Fr(e,t);break}case b.BODY:{gD(e,t);break}case b.FORM:{_D(e,t);break}case b.NOBR:{wD(e,t);break}case b.MATH:{HD(e,t);break}case b.TABLE:{kD(e,t);break}case b.INPUT:{OD(e,t);break}case b.PARAM:case b.TRACK:case b.SOURCE:{ID(e,t);break}case b.IMAGE:{LD(e,t);break}case b.BUTTON:{SD(e,t);break}case b.APPLET:case b.OBJECT:case b.MARQUEE:{AD(e,t);break}case b.IFRAME:{DD(e,t);break}case b.SELECT:{MD(e,t);break}case b.OPTION:case b.OPTGROUP:{BD(e,t);break}case b.NOEMBED:case b.NOFRAMES:{m1(e,t);break}case b.FRAMESET:{mD(e,t);break}case b.TEXTAREA:{RD(e,t);break}case b.NOSCRIPT:{e.options.scriptingEnabled?m1(e,t):x1(e,t);break}case b.PLAINTEXT:{ED(e,t);break}case b.COL:case b.TH:case b.TD:case b.TR:case b.HEAD:case b.FRAME:case b.TBODY:case b.TFOOT:case b.THEAD:case b.CAPTION:case b.COLGROUP:break;default:x1(e,t)}}function zD(e,t){if(e.openElements.hasInScope(b.BODY)&&(e.insertionMode=F.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function jD(e,t){e.openElements.hasInScope(b.BODY)&&(e.insertionMode=F.AFTER_BODY,y_(e,t))}function qD(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function WD(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(b.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(b.FORM):n&&e.openElements.remove(n))}function VD(e){e.openElements.hasInButtonScope(b.P)||e._insertFakeElement(q.P,b.P),e._closePElement()}function GD(e){e.openElements.hasInListItemScope(b.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(b.LI),e.openElements.popUntilTagNamePopped(b.LI))}function KD(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function YD(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function XD(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function QD(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(q.BR,b.BR),e.openElements.pop(),e.framesetOk=!1}function f_(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],o=e.openElements.tagIDs[a];if(r===o&&(r!==b.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,o))break}}function Mc(e,t){switch(t.tagID){case b.A:case b.B:case b.I:case b.S:case b.U:case b.EM:case b.TT:case b.BIG:case b.CODE:case b.FONT:case b.NOBR:case b.SMALL:case b.STRIKE:case b.STRONG:{Ff(e,t);break}case b.P:{VD(e);break}case b.DL:case b.UL:case b.OL:case b.DIR:case b.DIV:case b.NAV:case b.PRE:case b.MAIN:case b.MENU:case b.ASIDE:case b.BUTTON:case b.CENTER:case b.FIGURE:case b.FOOTER:case b.HEADER:case b.HGROUP:case b.DIALOG:case b.ADDRESS:case b.ARTICLE:case b.DETAILS:case b.SEARCH:case b.SECTION:case b.SUMMARY:case b.LISTING:case b.FIELDSET:case b.BLOCKQUOTE:case b.FIGCAPTION:{qD(e,t);break}case b.LI:{GD(e);break}case b.DD:case b.DT:{KD(e,t);break}case b.H1:case b.H2:case b.H3:case b.H4:case b.H5:case b.H6:{YD(e);break}case b.BR:{QD(e);break}case b.BODY:{zD(e,t);break}case b.HTML:{jD(e,t);break}case b.FORM:{WD(e);break}case b.APPLET:case b.OBJECT:case b.MARQUEE:{XD(e,t);break}case b.TEMPLATE:{Ti(e,t);break}default:f_(e,t)}}function h_(e,t){e.tmplInsertionModeStack.length>0?__(e,t):$f(e,t)}function ZD(e,t){var n;t.tagID===b.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function JD(e,t){e._err(t,Z.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function F0(e,t){if(e.openElements.currentTagId!==void 0&&s_.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=F.IN_TABLE_TEXT,t.type){case at.CHARACTER:{g_(e,t);break}case at.WHITESPACE_CHARACTER:{p_(e,t);break}}else tl(e,t)}function eM(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,ue.HTML),e.insertionMode=F.IN_CAPTION}function tM(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ue.HTML),e.insertionMode=F.IN_COLUMN_GROUP}function nM(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(q.COLGROUP,b.COLGROUP),e.insertionMode=F.IN_COLUMN_GROUP,Hf(e,t)}function rM(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ue.HTML),e.insertionMode=F.IN_TABLE_BODY}function aM(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(q.TBODY,b.TBODY),e.insertionMode=F.IN_TABLE_BODY,Bc(e,t)}function iM(e,t){e.openElements.hasInTableScope(b.TABLE)&&(e.openElements.popUntilTagNamePopped(b.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function oM(e,t){d_(t)?e._appendElement(t,ue.HTML):tl(e,t),t.ackSelfClosing=!0}function sM(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,ue.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function io(e,t){switch(t.tagID){case b.TD:case b.TH:case b.TR:{aM(e,t);break}case b.STYLE:case b.SCRIPT:case b.TEMPLATE:{Fr(e,t);break}case b.COL:{nM(e,t);break}case b.FORM:{sM(e,t);break}case b.TABLE:{iM(e,t);break}case b.TBODY:case b.TFOOT:case b.THEAD:{rM(e,t);break}case b.INPUT:{oM(e,t);break}case b.CAPTION:{eM(e,t);break}case b.COLGROUP:{tM(e,t);break}default:tl(e,t)}}function Ns(e,t){switch(t.tagID){case b.TABLE:{e.openElements.hasInTableScope(b.TABLE)&&(e.openElements.popUntilTagNamePopped(b.TABLE),e._resetInsertionMode());break}case b.TEMPLATE:{Ti(e,t);break}case b.BODY:case b.CAPTION:case b.COL:case b.COLGROUP:case b.HTML:case b.TBODY:case b.TD:case b.TFOOT:case b.TH:case b.THEAD:case b.TR:break;default:tl(e,t)}}function tl(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Dc(e,t),e.fosterParentingEnabled=n}function p_(e,t){e.pendingCharacterTokens.push(t)}function g_(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Xo(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)tl(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const m_=new Set([b.CAPTION,b.COL,b.COLGROUP,b.TBODY,b.TD,b.TFOOT,b.TH,b.THEAD,b.TR]);function lM(e,t){const n=t.tagID;m_.has(n)?e.openElements.hasInTableScope(b.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(b.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_TABLE,io(e,t)):kn(e,t)}function uM(e,t){const n=t.tagID;switch(n){case b.CAPTION:case b.TABLE:{e.openElements.hasInTableScope(b.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(b.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_TABLE,n===b.TABLE&&Ns(e,t));break}case b.BODY:case b.COL:case b.COLGROUP:case b.HTML:case b.TBODY:case b.TD:case b.TFOOT:case b.TH:case b.THEAD:case b.TR:break;default:Mc(e,t)}}function Hf(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.COL:{e._appendElement(t,ue.HTML),t.ackSelfClosing=!0;break}case b.TEMPLATE:{Fr(e,t);break}default:zu(e,t)}}function cM(e,t){switch(t.tagID){case b.COLGROUP:{e.openElements.currentTagId===b.COLGROUP&&(e.openElements.pop(),e.insertionMode=F.IN_TABLE);break}case b.TEMPLATE:{Ti(e,t);break}case b.COL:break;default:zu(e,t)}}function zu(e,t){e.openElements.currentTagId===b.COLGROUP&&(e.openElements.pop(),e.insertionMode=F.IN_TABLE,e._processToken(t))}function Bc(e,t){switch(t.tagID){case b.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,ue.HTML),e.insertionMode=F.IN_ROW;break}case b.TH:case b.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(q.TR,b.TR),e.insertionMode=F.IN_ROW,Fc(e,t);break}case b.CAPTION:case b.COL:case b.COLGROUP:case b.TBODY:case b.TFOOT:case b.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE,io(e,t));break}default:io(e,t)}}function Rd(e,t){const n=t.tagID;switch(t.tagID){case b.TBODY:case b.TFOOT:case b.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE);break}case b.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE,Ns(e,t));break}case b.BODY:case b.CAPTION:case b.COL:case b.COLGROUP:case b.HTML:case b.TD:case b.TH:case b.TR:break;default:Ns(e,t)}}function Fc(e,t){switch(t.tagID){case b.TH:case b.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,ue.HTML),e.insertionMode=F.IN_CELL,e.activeFormattingElements.insertMarker();break}case b.CAPTION:case b.COL:case b.COLGROUP:case b.TBODY:case b.TFOOT:case b.THEAD:case b.TR:{e.openElements.hasInTableScope(b.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY,Bc(e,t));break}default:io(e,t)}}function x_(e,t){switch(t.tagID){case b.TR:{e.openElements.hasInTableScope(b.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY);break}case b.TABLE:{e.openElements.hasInTableScope(b.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY,Rd(e,t));break}case b.TBODY:case b.TFOOT:case b.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(b.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY,Rd(e,t));break}case b.BODY:case b.CAPTION:case b.COL:case b.COLGROUP:case b.HTML:case b.TD:case b.TH:break;default:Ns(e,t)}}function dM(e,t){const n=t.tagID;m_.has(n)?(e.openElements.hasInTableScope(b.TD)||e.openElements.hasInTableScope(b.TH))&&(e._closeTableCell(),Fc(e,t)):kn(e,t)}function fM(e,t){const n=t.tagID;switch(n){case b.TD:case b.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_ROW);break}case b.TABLE:case b.TBODY:case b.TFOOT:case b.THEAD:case b.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),x_(e,t));break}case b.BODY:case b.CAPTION:case b.COL:case b.COLGROUP:case b.HTML:break;default:Mc(e,t)}}function b_(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.OPTION:{e.openElements.currentTagId===b.OPTION&&e.openElements.pop(),e._insertElement(t,ue.HTML);break}case b.OPTGROUP:{e.openElements.currentTagId===b.OPTION&&e.openElements.pop(),e.openElements.currentTagId===b.OPTGROUP&&e.openElements.pop(),e._insertElement(t,ue.HTML);break}case b.HR:{e.openElements.currentTagId===b.OPTION&&e.openElements.pop(),e.openElements.currentTagId===b.OPTGROUP&&e.openElements.pop(),e._appendElement(t,ue.HTML),t.ackSelfClosing=!0;break}case b.INPUT:case b.KEYGEN:case b.TEXTAREA:case b.SELECT:{e.openElements.hasInSelectScope(b.SELECT)&&(e.openElements.popUntilTagNamePopped(b.SELECT),e._resetInsertionMode(),t.tagID!==b.SELECT&&e._processStartTag(t));break}case b.SCRIPT:case b.TEMPLATE:{Fr(e,t);break}}}function v_(e,t){switch(t.tagID){case b.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===b.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===b.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===b.OPTGROUP&&e.openElements.pop();break}case b.OPTION:{e.openElements.currentTagId===b.OPTION&&e.openElements.pop();break}case b.SELECT:{e.openElements.hasInSelectScope(b.SELECT)&&(e.openElements.popUntilTagNamePopped(b.SELECT),e._resetInsertionMode());break}case b.TEMPLATE:{Ti(e,t);break}}}function hM(e,t){const n=t.tagID;n===b.CAPTION||n===b.TABLE||n===b.TBODY||n===b.TFOOT||n===b.THEAD||n===b.TR||n===b.TD||n===b.TH?(e.openElements.popUntilTagNamePopped(b.SELECT),e._resetInsertionMode(),e._processStartTag(t)):b_(e,t)}function pM(e,t){const n=t.tagID;n===b.CAPTION||n===b.TABLE||n===b.TBODY||n===b.TFOOT||n===b.THEAD||n===b.TR||n===b.TD||n===b.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(b.SELECT),e._resetInsertionMode(),e.onEndTag(t)):v_(e,t)}function gM(e,t){switch(t.tagID){case b.BASE:case b.BASEFONT:case b.BGSOUND:case b.LINK:case b.META:case b.NOFRAMES:case b.SCRIPT:case b.STYLE:case b.TEMPLATE:case b.TITLE:{Fr(e,t);break}case b.CAPTION:case b.COLGROUP:case b.TBODY:case b.TFOOT:case b.THEAD:{e.tmplInsertionModeStack[0]=F.IN_TABLE,e.insertionMode=F.IN_TABLE,io(e,t);break}case b.COL:{e.tmplInsertionModeStack[0]=F.IN_COLUMN_GROUP,e.insertionMode=F.IN_COLUMN_GROUP,Hf(e,t);break}case b.TR:{e.tmplInsertionModeStack[0]=F.IN_TABLE_BODY,e.insertionMode=F.IN_TABLE_BODY,Bc(e,t);break}case b.TD:case b.TH:{e.tmplInsertionModeStack[0]=F.IN_ROW,e.insertionMode=F.IN_ROW,Fc(e,t);break}default:e.tmplInsertionModeStack[0]=F.IN_BODY,e.insertionMode=F.IN_BODY,kn(e,t)}}function mM(e,t){t.tagID===b.TEMPLATE&&Ti(e,t)}function __(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(b.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):$f(e,t)}function xM(e,t){t.tagID===b.HTML?kn(e,t):ju(e,t)}function y_(e,t){var n;if(t.tagID===b.HTML){if(e.fragmentContext||(e.insertionMode=F.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===b.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else ju(e,t)}function ju(e,t){e.insertionMode=F.IN_BODY,Dc(e,t)}function bM(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.FRAMESET:{e._insertElement(t,ue.HTML);break}case b.FRAME:{e._appendElement(t,ue.HTML),t.ackSelfClosing=!0;break}case b.NOFRAMES:{Fr(e,t);break}}}function vM(e,t){t.tagID===b.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==b.FRAMESET&&(e.insertionMode=F.AFTER_FRAMESET))}function _M(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.NOFRAMES:{Fr(e,t);break}}}function yM(e,t){t.tagID===b.HTML&&(e.insertionMode=F.AFTER_AFTER_FRAMESET)}function EM(e,t){t.tagID===b.HTML?kn(e,t):hu(e,t)}function hu(e,t){e.insertionMode=F.IN_BODY,Dc(e,t)}function SM(e,t){switch(t.tagID){case b.HTML:{kn(e,t);break}case b.NOFRAMES:{Fr(e,t);break}}}function CM(e,t){t.chars=Wt,e._insertCharacters(t)}function TM(e,t){e._insertCharacters(t),e.framesetOk=!1}function E_(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==ue.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function wM(e,t){if(UP(t))E_(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===ue.MATHML?i_(t):r===ue.SVG&&(zP(t),o_(t)),Bf(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function AM(e,t){if(t.tagID===b.P||t.tagID===b.BR){E_(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===ue.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}q.AREA,q.BASE,q.BASEFONT,q.BGSOUND,q.BR,q.COL,q.EMBED,q.FRAME,q.HR,q.IMG,q.INPUT,q.KEYGEN,q.LINK,q.META,q.PARAM,q.SOURCE,q.TRACK,q.WBR;const S_=C_("end"),wi=C_("start");function C_(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}const T_=(function(e){if(e==null)return NM;if(typeof e=="function")return $c(e);if(typeof e=="object")return Array.isArray(e)?kM(e):OM(e);if(typeof e=="string")return IM(e);throw new Error("Expected function, string, or object as test")});function kM(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=T_(e[n]);return $c(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function OM(e){const t=e;return $c(n);function n(r){const a=r;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function IM(e){return $c(t);function t(n){return n&&n.type===e}}function $c(e){return t;function t(n,r,a){return!!(LM(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function NM(){return!0}function LM(e){return e!==null&&typeof e=="object"&&"type"in e}const w_=[],RM=!0,b1=!1,PM="skip";function DM(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const i=T_(a),o=r?-1:1;s(e,void 0,[])();function s(l,u,d){const p=l&&typeof l=="object"?l:{};if(typeof p.type=="string"){const h=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(h?"<"+h+">":""))+")"})}return f;function f(){let h=w_,c,g,m;if((!t||i(l,u,d[d.length-1]||void 0))&&(h=MM(n(l,d)),h[0]===b1))return h;if("children"in l&&l.children){const x=l;if(x.children&&h[0]!==PM)for(g=(r?x.children.length:-1)+o,m=d.concat(x);g>-1&&g<x.children.length;){const v=x.children[g];if(c=s(v,g,m)(),c[0]===b1)return c;g=typeof c[1]=="number"?c[1]:g+o}}return h}}}function MM(e){return Array.isArray(e)?e:typeof e=="number"?[RM,e]:e==null?w_:[e]}function BM(e,t,n,r){let a,i,o;i=t,o=n,a=r,DM(e,i,s,a);function s(l,u){const d=u[u.length-1],p=d?d.children.indexOf(l):void 0;return o(l,p,d)}}const FM=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,$M=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),v1={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function A_(e,t){const n=YM(e),r=Kv("type",{handlers:{root:HM,element:UM,text:zM,comment:O_,doctype:jM,raw:WM},unknown:VM}),a={parser:n?new g1(v1):g1.getFragmentParser(void 0,v1),handle(s){r(s,a)},stitches:!1,options:t||{}};r(e,a),wo(a,wi());const i=n?a.parser.document:a.parser.getFragment(),o=IR(i,{file:a.options.file});return a.stitches&&BM(o,"comment",function(s,l,u){const d=s;if(d.value.stitch&&u&&l!==void 0){const p=u.children;return p[l]=d.value.stitch,l}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function k_(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function HM(e,t){k_(e.children,t)}function UM(e,t){GM(e,t),k_(e.children,t),KM(e,t)}function zM(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:at.CHARACTER,chars:e.value,location:nl(e)};wo(t,wi(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function jM(e,t){const n={type:at.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:nl(e)};wo(t,wi(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function qM(e,t){t.stitches=!0;const n=XM(e);if("children"in e&&"children"in n){const r=A_({type:"root",children:e.children},t.options);n.children=r.children}O_({type:"comment",value:{stitch:n}},t)}function O_(e,t){const n=e.value,r={type:at.COMMENT,data:n,location:nl(e)};wo(t,wi(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function WM(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,I_(t,wi(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(FM,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function VM(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))qM(n,t);else{let r="";throw $M.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function wo(e,t){I_(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=en.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function I_(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function GM(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===en.PLAINTEXT)return;wo(t,wi(e));const r=t.parser.openElements.current;let a="namespaceURI"in r?r.namespaceURI:li.html;a===li.html&&n==="svg"&&(a=li.svg);const i=WR({...e,children:[]},{space:a===li.svg?"svg":"html"}),o={type:at.START_TAG,tagName:n,tagID:To(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:nl(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function KM(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&JR.includes(n)||t.parser.tokenizer.state===en.PLAINTEXT)return;wo(t,S_(e));const r={type:at.END_TAG,tagName:n,tagID:To(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:nl(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===en.RCDATA||t.parser.tokenizer.state===en.RAWTEXT||t.parser.tokenizer.state===en.SCRIPT_DATA)&&(t.parser.tokenizer.state=en.DATA)}function YM(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function nl(e){const t=wi(e)||{line:void 0,column:void 0,offset:void 0},n=S_(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function XM(e){return"children"in e?Kg({...e,children:[]}):Kg(e)}function QM(e){return function(t,n){return A_(t,{...e,file:n})}}function N_(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=N_(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ZM(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=N_(e))&&(r&&(r+=" "),r+=t);return r}var L_=JM;function JM(e){var t,n;if(typeof e!="function")throw new Error("expected a function but got "+e);return function(){return t||(t=!0,n=e.apply(this,arguments),e=void 0),n}}const eB=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;function _1(e){const t={};let n;for(;n=eB.exec(e);)t[n[1]]=n[2];return t}function tB(e,t){if(typeof e=="string"){if(typeof t=="string")return"".concat(e,";").concat(t);e=_1(e)}else typeof t=="string"&&(t=_1(t));return{...e,...t}}function R_(e,t){e.indexOf(t)===-1&&e.push(t)}function nB(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const P_=(e,t,n)=>Math.min(Math.max(n,e),t),Rr={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},Ls=e=>typeof e=="number",Zi=e=>Array.isArray(e)&&!Ls(e[0]),rB=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function aB(e,t){return Zi(e)?e[rB(0,e.length,t)]:e}const D_=(e,t,n)=>-n*e+n*t+e,M_=()=>{},Pa=e=>e,Uf=(e,t,n)=>t-e===0?1:(n-e)/(t-e);function B_(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const a=Uf(0,t,r);e.push(D_(n,1,a))}}function iB(e){const t=[0];return B_(t,e-1),t}function oB(e,t=iB(e.length),n=Pa){const r=e.length,a=r-t.length;return a>0&&B_(t,a),i=>{let o=0;for(;o<r-2&&!(i<t[o+1]);o++);let s=P_(0,1,Uf(t[o],t[o+1],i));return s=aB(n,o)(s),D_(e[o],e[o+1],s)}}const F_=e=>Array.isArray(e)&&Ls(e[0]),Pd=e=>typeof e=="object"&&!!e.createAnimation,Rs=e=>typeof e=="function",sB=e=>typeof e=="string",$0={ms:e=>e*1e3,s:e=>e/1e3},$_=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,lB=1e-7,uB=12;function cB(e,t,n,r,a){let i,o,s=0;do o=t+(n-t)/2,i=$_(o,r,a)-e,i>0?n=o:t=o;while(Math.abs(i)>lB&&++s<uB);return o}function rs(e,t,n,r){if(e===t&&n===r)return Pa;const a=i=>cB(i,0,1,e,n);return i=>i===0||i===1?i:$_(a(i),t,r)}const dB=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,a=t==="end"?Math.floor(r):Math.ceil(r);return P_(0,1,a/e)},fB={ease:rs(.25,.1,.25,1),"ease-in":rs(.42,0,1,1),"ease-in-out":rs(.42,0,.58,1),"ease-out":rs(0,0,.58,1)},hB=/\((.*?)\)/;function y1(e){if(Rs(e))return e;if(F_(e))return rs(...e);const t=fB[e];if(t)return t;if(e.startsWith("steps")){const n=hB.exec(e);if(n){const r=n[1].split(",");return dB(parseFloat(r[0]),r[1].trim())}}return Pa}class pB{constructor(t,n=[0,1],{easing:r,duration:a=Rr.duration,delay:i=Rr.delay,endDelay:o=Rr.endDelay,repeat:s=Rr.repeat,offset:l,direction:u="normal",autoplay:d=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=Pa,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((f,h)=>{this.resolve=f,this.reject=h}),r=r||Rr.easing,Pd(r)){const f=r.createAnimation(n);r=f.easing,n=f.keyframes||n,a=f.duration||a}this.repeat=s,this.easing=Zi(r)?Pa:y1(r),this.updateDuration(a);const p=oB(n,l,Zi(r)?r.map(y1):Pa);this.tick=f=>{var h;i=i;let c=0;this.pauseTime!==void 0?c=this.pauseTime:c=(f-this.startTime)*this.rate,this.t=c,c/=1e3,c=Math.max(c-i,0),this.playState==="finished"&&this.pauseTime===void 0&&(c=this.totalDuration);const g=c/this.duration;let m=Math.floor(g),x=g%1;!x&&g>=1&&(x=1),x===1&&m--;const v=m%2;(u==="reverse"||u==="alternate"&&v||u==="alternate-reverse"&&!v)&&(x=1-x);const y=c>=this.totalDuration?1:Math.min(x,1),_=p(this.easing(y));t(_),this.pauseTime===void 0&&(this.playState==="finished"||c>=this.totalDuration+o)?(this.playState="finished",(h=this.resolve)===null||h===void 0||h.call(this,_)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},d&&this.play()}play(){const t=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var t;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(t=this.reject)===null||t===void 0||t.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t,this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){this.pauseTime!==void 0||this.rate===0?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}}class gB{setAnimation(t){this.animation=t,t==null||t.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}const H0=new WeakMap;function H_(e){return H0.has(e)||H0.set(e,{transforms:[],values:new Map}),H0.get(e)}function mB(e,t){return e.has(t)||e.set(t,new gB),e.get(t)}const xB=["","X","Y","Z"],bB=["translate","scale","rotate","skew"],oo={x:"translateX",y:"translateY",z:"translateZ"},E1={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},vB={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:E1,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:Pa},skew:E1},so=new Map,Hc=e=>"--motion-".concat(e),qu=["x","y","z"];bB.forEach(e=>{xB.forEach(t=>{qu.push(e+t),so.set(Hc(e+t),vB[e])})});const _B=(e,t)=>qu.indexOf(e)-qu.indexOf(t),yB=new Set(qu),zf=e=>yB.has(e),EB=(e,t)=>{oo[t]&&(t=oo[t]);const{transforms:n}=H_(e);R_(n,t),e.style.transform=U_(n)},U_=e=>e.sort(_B).reduce(SB,"").trim(),SB=(e,t)=>"".concat(e," ").concat(t,"(var(").concat(Hc(t),"))"),Dd=e=>e.startsWith("--"),S1=new Set;function CB(e){if(!S1.has(e)){S1.add(e);try{const{syntax:t,initialValue:n}=so.has(e)?so.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:n})}catch(t){}}}const U0=(e,t)=>document.createElement("div").animate(e,t),C1={cssRegisterProperty:()=>typeof CSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{U0({opacity:[1]})}catch(e){return!1}return!0},finished:()=>!!U0({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{U0({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}},z0={},qi={};for(const e in C1)qi[e]=()=>(z0[e]===void 0&&(z0[e]=C1[e]()),z0[e]);const TB=.015,wB=(e,t)=>{let n="";const r=Math.round(t/TB);for(let a=0;a<r;a++)n+=e(Uf(0,r-1,a))+", ";return n.substring(0,n.length-2)},T1=(e,t)=>Rs(e)?qi.linearEasing()?"linear(".concat(wB(e,t),")"):Rr.easing:F_(e)?AB(e):e,AB=([e,t,n,r])=>"cubic-bezier(".concat(e,", ").concat(t,", ").concat(n,", ").concat(r,")");function kB(e,t){for(let n=0;n<e.length;n++)e[n]===null&&(e[n]=n?e[n-1]:t());return e}const OB=e=>Array.isArray(e)?e:[e];function Md(e){return oo[e]&&(e=oo[e]),zf(e)?Hc(e):e}const as={get:(e,t)=>{t=Md(t);let n=Dd(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&n!==0){const r=so.get(t);r&&(n=r.initialValue)}return n},set:(e,t,n)=>{t=Md(t),Dd(t)?e.style.setProperty(t,n):e.style[t]=n}};function IB(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch(n){}}function NB(e,t){var n;let r=(t==null?void 0:t.toDefaultUnit)||Pa;const a=e[e.length-1];if(sB(a)){const i=((n=a.match(/(-?[\d.]+)([a-z%]*)/))===null||n===void 0?void 0:n[2])||"";i&&(r=o=>o+i)}return r}function LB(){return window.__MOTION_DEV_TOOLS_RECORD}function RB(e,t,n,r={},a){const i=LB(),o=r.record!==!1&&i;let s,{duration:l=Rr.duration,delay:u=Rr.delay,endDelay:d=Rr.endDelay,repeat:p=Rr.repeat,easing:f=Rr.easing,persist:h=!1,direction:c,offset:g,allowWebkitAcceleration:m=!1,autoplay:x=!0}=r;const v=H_(e),y=zf(t);let _=qi.waapi();y&&EB(e,t);const S=Md(t),C=mB(v.values,S),T=so.get(S);return IB(C.animation,!(Pd(f)&&C.generator)&&r.record!==!1),()=>{const R=()=>{var I,$;return($=(I=as.get(e,S))!==null&&I!==void 0?I:T==null?void 0:T.initialValue)!==null&&$!==void 0?$:0};let P=kB(OB(n),R);const A=NB(P,T);if(Pd(f)){const I=f.createAnimation(P,t!=="opacity",R,S,C);f=I.easing,P=I.keyframes||P,l=I.duration||l}if(Dd(S)&&(qi.cssRegisterProperty()?CB(S):_=!1),y&&!qi.linearEasing()&&(Rs(f)||Zi(f)&&f.some(Rs))&&(_=!1),_){T&&(P=P.map(W=>Ls(W)?T.toDefaultUnit(W):W)),P.length===1&&(!qi.partialKeyframes()||o)&&P.unshift(R());const I={delay:$0.ms(u),duration:$0.ms(l),endDelay:$0.ms(d),easing:Zi(f)?void 0:T1(f,l),direction:c,iterations:p+1,fill:"both"};s=e.animate({[S]:P,offset:g,easing:Zi(f)?f.map(W=>T1(W,l)):void 0},I),s.finished||(s.finished=new Promise((W,G)=>{s.onfinish=W,s.oncancel=G}));const $=P[P.length-1];s.finished.then(()=>{h||(as.set(e,S,$),s.cancel())}).catch(M_),m||(s.playbackRate=1.000001)}else if(a&&y)P=P.map(I=>typeof I=="string"?parseFloat(I):I),P.length===1&&P.unshift(parseFloat(R())),s=new a(I=>{as.set(e,S,A?A(I):I)},P,Object.assign(Object.assign({},r),{duration:l,easing:f}));else{const I=P[P.length-1];as.set(e,S,T&&Ls(I)?T.toDefaultUnit(I):I)}return o&&i(e,t,P,{duration:l,delay:u,easing:f,repeat:p,offset:g},"motion-one"),C.setAnimation(s),s&&!x&&s.pause(),s}}const PB=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function DB(e,t){return typeof e=="string"?e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}function z_(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}const MB={any:0,all:1};function BB(e,t,{root:n,margin:r,amount:a="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};const i=DB(e),o=new WeakMap,s=u=>{u.forEach(d=>{const p=o.get(d.target);if(d.isIntersecting!==!!p)if(d.isIntersecting){const f=t(d);Rs(f)?o.set(d.target,f):l.unobserve(d.target)}else p&&(p(d),o.delete(d.target))})},l=new IntersectionObserver(s,{root:n,rootMargin:r,threshold:typeof a=="number"?a:MB[a]});return i.forEach(u=>l.observe(u)),()=>l.disconnect()}function FB(e,t){return typeof e!=typeof t?!0:Array.isArray(e)&&Array.isArray(t)?!$B(e,t):e!==t}function $B(e,t){const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function HB(e){return typeof e=="object"}function w1(e,t){if(HB(e))return e;if(e&&t)return t[e]}let Da;function UB(){if(!Da)return;const e=Da.sort(jB).map(qB);e.forEach(A1),e.forEach(A1),Da=void 0}function j0(e){Da?R_(Da,e):(Da=[e],requestAnimationFrame(UB))}function zB(e){Da&&nB(Da,e)}const jB=(e,t)=>e.getDepth()-t.getDepth(),qB=e=>e.animateUpdates(),A1=e=>e.next(),k1=(e,t)=>new CustomEvent(e,{detail:{target:t}});function Bd(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:n}}))}function O1(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:n}}))}const WB={isActive:e=>!!e.inView,subscribe:(e,{enable:t,disable:n},{inViewOptions:r={}})=>{const{once:a}=r,i=z_(r,["once"]);return BB(e,o=>{if(t(),O1(e,"viewenter",o),!a)return s=>{n(),O1(e,"viewleave",s)}},i)}},I1=(e,t,n)=>r=>{r.pointerType&&r.pointerType!=="mouse"||(n(),Bd(e,t,r))},VB={isActive:e=>!!e.hover,subscribe:(e,{enable:t,disable:n})=>{const r=I1(e,"hoverstart",t),a=I1(e,"hoverend",n);return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",a),()=>{e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",a)}}},GB={isActive:e=>!!e.press,subscribe:(e,{enable:t,disable:n})=>{const r=i=>{n(),Bd(e,"pressend",i),window.removeEventListener("pointerup",r)},a=i=>{t(),Bd(e,"pressstart",i),window.addEventListener("pointerup",r)};return e.addEventListener("pointerdown",a),()=>{e.removeEventListener("pointerdown",a),window.removeEventListener("pointerup",r)}}},pu={inView:WB,hover:VB,press:GB},N1=["initial","animate",...Object.keys(pu),"exit"],Fd=new WeakMap;function KB(e={},t){let n,r=t?t.getDepth()+1:0;const a={initial:!0,animate:!0},i={},o={};for(const g of N1)o[g]=typeof e[g]=="string"?e[g]:t==null?void 0:t.getContext()[g];const s=e.initial===!1?"animate":"initial";let l=w1(e[s]||o[s],e.variants)||{},u=z_(l,["transition"]);const d=Object.assign({},u);function*p(){var g,m;const x=u;u={};const v={};for(const T of N1){if(!a[T])continue;const R=w1(e[T]);if(R)for(const P in R)P!=="transition"&&(u[P]=R[P],v[P]=PB((m=(g=R.transition)!==null&&g!==void 0?g:e.transition)!==null&&m!==void 0?m:{},P))}const y=new Set([...Object.keys(u),...Object.keys(x)]),_=[];y.forEach(T=>{var R;u[T]===void 0&&(u[T]=d[T]),FB(x[T],u[T])&&((R=d[T])!==null&&R!==void 0||(d[T]=as.get(n,T)),_.push(RB(n,T,u[T],v[T],pB)))}),yield;const S=_.map(T=>T()).filter(Boolean);if(!S.length)return;const C=u;n.dispatchEvent(k1("motionstart",C)),Promise.all(S.map(T=>T.finished)).then(()=>{n.dispatchEvent(k1("motioncomplete",C))}).catch(M_)}const f=(g,m)=>()=>{a[g]=m,j0(c)},h=()=>{for(const g in pu){const m=pu[g].isActive(e),x=i[g];m&&!x?i[g]=pu[g].subscribe(n,{enable:f(g,!0),disable:f(g,!1)},e):!m&&x&&(x(),delete i[g])}},c={update:g=>{n&&(e=g,h(),j0(c))},setActive:(g,m)=>{n&&(a[g]=m,j0(c))},animateUpdates:p,getDepth:()=>r,getTarget:()=>u,getOptions:()=>e,getContext:()=>o,mount:g=>(n=g,Fd.set(n,c),h(),()=>{Fd.delete(n),zB(c);for(const m in i)i[m]()}),isMounted:()=>!!n};return c}function YB(e){const t={},n=[];for(let r in e){const a=e[r];zf(r)&&(oo[r]&&(r=oo[r]),n.push(r),r=Hc(r));let i=Array.isArray(a)?a[0]:a;const o=so.get(r);o&&(i=Ls(a)?o.toDefaultUnit(a):a),t[r]=i}return n.length&&(t.transform=U_(n)),t}var j_=Lt(),FH=e=>{var i;const[t,n]=Ie(!0),r={initial:(i=e.initial)!=null?i:!0,mount:t},a=w(j_.Provider,{value:r,get children(){return Om(Im(()=>e.children),{appear:r.initial,mode:e.exitBeforeEnter?"out-in":"parallel",onExit(o,s){bs(()=>{var l,u;n(!1),(u=(l=Fd.get(o))==null?void 0:l.getOptions())!=null&&u.exit?o.addEventListener("motioncomplete",s):s()})},onEnter(o,s){bs(()=>{n(!0),s()})}})}});return r.initial=!0,a};function XB(e,t,n,r){const a=KB((n==null?void 0:n.initial)===!1?{...t(),initial:!1}:t(),r);return Kt(()=>{if(n&&!n.mount())return;const i=e(),o=a.mount(i);Kt(()=>a.update(t())),wt(()=>{n&&t().exit?(a.setActive("exit",!0),i.addEventListener("motioncomplete",o)):o()})}),[a,YB(a.getTarget())]}var QB=["initial","animate","inView","inViewOptions","hover","press","variants","transition","exit"],ZB=["tag"],L1=Lt(),R1=e=>{const[t,,n]=fe(e,QB,ZB),[r,a]=XB(()=>i,()=>({...t}),It(j_),It(L1));let i;return w(L1.Provider,{value:r,get children(){return w(zd,X(n,{ref:o=>{var s;i=o,(s=e.ref)==null||s.call(e,o)},get component(){return e.tag||"div"},get style(){return tB(e.style,a)}}))}})},q_=new Proxy(R1,{get:(e,t)=>n=>w(R1,X(n,{tag:t}))});const W_=(e,t)=>{t!=null&&t.immediate&&e(),window.addEventListener("scroll",e,{passive:!0}),wt(()=>window.removeEventListener("scroll",e))},$H=()=>{if(p6)return null;const[e,t]=Ie(!1);return W_(()=>t(window.scrollY>100)),w(Re,{get when(){return e()},get children(){return w(Be,{get as(){return q_.div},initial:{y:-999},animate:{y:0},zIndex:"$overlay",pos:"fixed",right:"$5",top:"0",borderBottomRadius:"50%",bgColor:"$whiteAlpha12",get color(){return hi()},overflow:"hidden",shadow:"$lg",get _dark(){return{bgColor:hi(),color:"white"}},get _hover(){return{bgColor:hi(),color:"white"}},get children(){return w(yi,{_focus:{outline:"none"},cursor:"pointer",boxSize:"$7",p:"$1",rounded:"$lg",as:ZA,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}})}})}})},[JB,eF]=Ie(!1),[tF,HH]=Nb("isMarkdownTocDisabled",!0,{serializer:e=>JSON.stringify(e),deserializer:e=>JSON.parse(e)});function nF(e){if(e.disabled||p6)return null;const[t,n]=Ie([]);W_(()=>eF(window.scrollY>100&&t().length>1),{immediate:!0}),Kt(()=>{const s=e.markdownRef.querySelector(".markdown-body");if(!s)return;const l=document.createNodeIterator(s,NodeFilter.SHOW_ELEMENT,{acceptNode(f){return/h1|h2|h3/i.test(f.nodeName)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),u=[];let d=l.nextNode(),p=6;for(;d;){const f=Number(d.nodeName.match(/h(\d)/i)[1]);f<p&&(p=f),u.push({indent:f,text:d.textContent,tagName:d.nodeName.toLowerCase(),key:d.getAttribute("key")}),d=l.nextNode()}n(u.map(f=>({...f,indent:f.indent-p})))});const r=s=>{var f;const l=e.markdownRef.querySelector("".concat(s.tagName,"[key=").concat(s.key,"]"));if(!l)return;const u=document.querySelector(".nav");let d=(f=u==null?void 0:u.getBoundingClientRect().bottom)!=null?f:0;d<0&&(d=0);const p=l.getBoundingClientRect().y;window.scrollBy({behavior:"smooth",top:p-d})},a="calc(100% - 20px)",[i,o]=Ie(a);return w(Re,{get when(){return ir(()=>!tF())()&&JB()},get children(){return w(Be,{get as(){return q_.div},initial:{x:999},get animate(){return{x:i()}},onMouseEnter:()=>o(0),onMouseLeave:()=>o(a),zIndex:"$overlay",pos:"fixed",right:"$6",top:"$6",get children(){return w(Be,{mt:"$5",p:"$2",shadow:"$outline",rounded:"$lg",bgColor:"white",_dark:{bgColor:"$neutral3"},get children(){return w(yx,{maxH:"60vh",overflowY:"auto",get children(){return w(uo,{get each(){return t()},children:s=>w(Sx,{get pl(){return 15*s.indent},m:4,get children(){return w(y2,{get color(){return hi()},onClick:()=>r(s),get children(){return s.text}})}})})}})}})}})}})}const{katexCSSPath:rF,mermaidJSPath:aF}=IA(),iF=L_(()=>{const e=document.createElement("link");e.rel="stylesheet",e.href=rF(),document.head.appendChild(e)}),oF=L_(()=>{const e=document.createElement("script");e.src=aF(),document.body.appendChild(e)});function UH(e){const[t,n]=Ie("utf-8"),[r,a]=Ie(!0),{isString:i,text:o}=OA(e.children),s=m=>!e.ext||e.ext.toLocaleLowerCase()==="md"?m:"```"+e.ext+"\n"+m+"\n```",{pathname:l}=Ks(),u=Ue(()=>{let m=s(o(t()));return m=m.replace(/!\[.*?\]\((.*?)\)/g,x=>{const v=x.match(/!\[(.*?)\]\(.*?\)/)[1];let y=x.match(/!\[.*?\]\((.*?)\)/)[1];if(y.startsWith("data:image/")||y.startsWith("http://")||y.startsWith("https://")||y.startsWith("//"))return x;y.startsWith("/")?y="".concat(Pr,"/d").concat(y):y="".concat(Pr,"/d").concat($a(Cc().base_path,Pw(e.readme?l():rf(l()),y)));const _="![".concat(v,"](").concat(y,")");return console.log(_),_}),m}),[d,p]=Ie([oR]),[f,h]=Ie([QM]);Kt(fa(u,async()=>{if(a(!1),/\$\$[\s\S]+?\$\$|\$[^$\n]+?\$/.test(u())){const{default:m}=await ga(async()=>{const{default:v}=await import("./index-CtpQFOKH.js");return{default:v}},[]),{default:x}=await ga(async()=>{const{default:v}=await import("./index-BxffqFMa.js");return{default:v}},[]);iF(),p([...d(),m]),h([...f(),x])}oF(),setTimeout(()=>{a(!0),w6.highlightAll(),window.mermaid&&window.mermaid.run({querySelector:".language-mermaid"}),window.onMDRender&&window.onMDRender()})}));const[c,g]=Ie();return w(Be,{ref:m=>g(m),class:"markdown",pos:"relative",w:"$full",get children(){return[w(Re,{get when(){return r()},get children(){return w(JI,{get class(){return ZM("markdown-body",e.class)},get remarkPlugins(){return d()},get rehypePlugins(){return f()},get children(){return u()}})}}),w(Re,{when:!i,get children(){return w(yF,{get encoding(){return t()},setEncoding:n,get referenceText(){return e.children}})}}),w(nF,{get disabled(){return!e.toc},get markdownRef(){return c()}})]}})}function zH(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z"/><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"/>'},e)}function jH(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M518.3 459a8 8 0 0 0-12.6 0l-112 141.7a7.98 7.98 0 0 0 6.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"/><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"/>'},e)}function qH(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"/>'},e)}function sF(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"/>'},e)}function lF(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="m290 236.4 43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"/>'},e)}function WH(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z"/>'},e)}function VH(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path d="m924.8 625.7-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 0 0 9.3-35.2l-.9-2.6a443.74 443.74 0 0 0-79.7-137.9l-1.8-2.1a32.12 32.12 0 0 0-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 0 0-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 0 0-25.8 25.7l-15.8 85.4a351.86 351.86 0 0 0-99 57.4l-81.9-29.1a32 32 0 0 0-35.1 9.5l-1.8 2.1a446.02 446.02 0 0 0-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 0 0-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0 0 35.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0 0 25.8 25.7l2.7.5a449.4 449.4 0 0 0 159 0l2.7-.5a32.05 32.05 0 0 0 25.8-25.7l15.7-85a350 350 0 0 0 99.7-57.6l81.3 28.9a32 32 0 0 0 35.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 0 1-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 0 1-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 0 1 512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 0 1 400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 0 1 624 502c0 29.9-11.7 58-32.8 79.2z"/>'},e)}function GH(e){return He({a:{viewBox:"0 0 1024 1024"},c:'<path fill="currentColor" fill-opacity="0.09" d="M292.7 840h438.6l24.2-512h-487z"/><path d="M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z"/>'},e)}const jf=e=>{const t=X({h:"$full"},e);return w(go,{get h(){return t.h},p:"$2",flexDirection:"column",get children(){return w(Be,{rounded:"$lg",px:"$4",py:"$6",get bgColor(){return oc("white","$neutral3")()},get children(){return[w(gx,{css:{wordBreak:"break-all"},get children(){return e.msg}}),w(Re,{get when(){return e.actions},get children(){return w(Nu,{mt:"$4",justifyContent:"center",get children(){return e.actions}})}}),w(Re,{get when(){return!e.disableColor},get children(){return w(Nu,{mt:"$2",justifyContent:"end",get children(){return w(tk,{})}})}})]}})}})},KH=e=>{const{isOpen:t,onToggle:n}=_w();return w(Be,{get pos(){return t()?"fixed":"relative"},get w(){return ir(()=>!!t())()?"100vw":e.w},get h(){return ir(()=>!!t())()?"100vh":e.h},top:0,left:0,zIndex:1,transition:"all 0.2s ease-in-out",get css(){return{backdropFilter:t()?"blur(5px)":void 0}},get children(){return[ir(()=>e.children),w(yi,{pos:"absolute",right:"$2",bottom:"$2","aria-label":"toggle fullscreen",get as(){return t()?sF:lF},onClick:n,cursor:"pointer",rounded:"$md",get bgColor(){return d6()},p:"$1",boxSize:"$7"})]}})};function uF(e){return w(rb,{get size(){return e.size},get value(){return e.value},get onChange(){return e.onChange},get children(){return[w(mc,{get borderColor(){return e.alwaysShowBorder?"$info5":void 0},get w(){return e.w},get children(){return[w(xc,{}),w(Cs,{})]}}),w(dc,{get children(){return w(fc,{get children(){return w(uo,{get each(){return e.options},children:t=>w(hc,{get value(){return t.value},get children(){return[w(gc,{get children(){var n;return(n=t.label)!=null?n:t.value}}),w(pc,{})]}})})}})}})]}})}var Ir={},Xl={},P1;function cF(){return P1||(P1=1,Object.defineProperty(Xl,"__esModule",{value:!0}),Xl.default=()=>{throw new Error("File system is not available")}),Xl}var Mi={},Ql={},D1;function Ao(){return D1||(D1=1,Object.defineProperty(Ql,"__esModule",{value:!0}),Ql.default=(e,t,n)=>({confidence:n,name:t.name(e),lang:t.language?t.language():void 0})),Ql}var M1;function dF(){if(M1)return Mi;M1=1;var e=Mi&&Mi.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Mi,"__esModule",{value:!0});const t=e(Ao());class n{name(){return"ASCII"}match(a){const i=a.rawInput;for(let o=0;o<a.rawLen;o++){const s=i[o];if(s<32||s>126)return(0,t.default)(a,this,0)}return(0,t.default)(a,this,100)}}return Mi.default=n,Mi}var Bi={},B1;function fF(){if(B1)return Bi;B1=1;var e=Bi&&Bi.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Bi,"__esModule",{value:!0});const t=e(Ao());class n{name(){return"UTF-8"}match(a){let i=!1,o=0,s=0,l=0,u;const d=a.rawInput;a.rawLen>=3&&(d[0]&255)==239&&(d[1]&255)==187&&(d[2]&255)==191&&(i=!0);for(let p=0;p<a.rawLen;p++){const f=d[p];if((f&128)!=0){if((f&224)==192)l=1;else if((f&240)==224)l=2;else if((f&248)==240)l=3;else{if(s++,s>5)break;l=0}for(;p++,!(p>=a.rawLen);){if((d[p]&192)!=128){s++;break}if(--l==0){o++;break}}}}if(u=0,i&&s==0)u=100;else if(i&&o>s*10)u=80;else if(o>3&&s==0)u=100;else if(o>0&&s==0)u=80;else if(o==0&&s==0)u=10;else if(o>s*10)u=25;else return null;return(0,t.default)(a,this,u)}}return Bi.default=n,Bi}var Qn={},F1;function hF(){if(F1)return Qn;F1=1;var e=Qn&&Qn.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.UTF_32LE=Qn.UTF_32BE=Qn.UTF_16LE=Qn.UTF_16BE=void 0;const t=e(Ao());class n{name(){return"UTF-16BE"}match(l){const u=l.rawInput;return u.length>=2&&(u[0]&255)==254&&(u[1]&255)==255?(0,t.default)(l,this,100):null}}Qn.UTF_16BE=n;class r{name(){return"UTF-16LE"}match(l){const u=l.rawInput;return u.length>=2&&(u[0]&255)==255&&(u[1]&255)==254?u.length>=4&&u[2]==0&&u[3]==0?null:(0,t.default)(l,this,100):null}}Qn.UTF_16LE=r;class a{name(){return"UTF-32"}getChar(l,u){return-1}match(l){let u=0,d=0,p=!1,f=0;const h=l.rawLen/4*4,c=l.rawInput;if(h==0)return null;this.getChar(c,0)==65279&&(p=!0);for(let g=0;g<h;g+=4){const m=this.getChar(c,g);m<0||m>=1114111||m>=55296&&m<=57343?d+=1:u+=1}return p&&d==0?f=100:p&&u>d*10?f=80:u>3&&d==0?f=100:u>0&&d==0?f=80:u>d*10&&(f=25),f==0?null:(0,t.default)(l,this,f)}}class i extends a{name(){return"UTF-32BE"}getChar(l,u){return(l[u+0]&255)<<24|(l[u+1]&255)<<16|(l[u+2]&255)<<8|l[u+3]&255}}Qn.UTF_32BE=i;class o extends a{name(){return"UTF-32LE"}getChar(l,u){return(l[u+3]&255)<<24|(l[u+2]&255)<<16|(l[u+1]&255)<<8|l[u+0]&255}}return Qn.UTF_32LE=o,Qn}var Nn={},$1;function pF(){if($1)return Nn;$1=1;var e=Nn&&Nn.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.gb_18030=Nn.euc_kr=Nn.euc_jp=Nn.big5=Nn.sjis=void 0;const t=e(Ao());function n(p,f){const h=(c,g,m,x)=>{if(x<m)return-1;const v=Math.floor(m+x>>>1);return g>c[v]?h(c,g,v+1,x):g<c[v]?h(c,g,m,v-1):v};return h(p,f,0,p.length-1)}class r{constructor(){this.charValue=0,this.index=0,this.nextIndex=0,this.error=!1,this.done=!1}reset(){this.charValue=0,this.index=-1,this.nextIndex=0,this.error=!1,this.done=!1}nextByte(f){return this.nextIndex>=f.rawLen?(this.done=!0,-1):f.rawInput[this.nextIndex++]&255}}let a=class{constructor(){this.commonChars=[]}name(){return"mbcs"}match(f){let h=0,c=0,g=0,m=0,x=0;const v=new r;e:{for(v.reset();this.nextChar(v,f);){if(m++,v.error)g++;else{const y=v.charValue&4294967295;y>255&&(h++,this.commonChars!=null&&n(this.commonChars,y)>=0&&c++)}if(g>=2&&g*5>=h)break e}if(h<=10&&g==0){h==0&&m<10?x=0:x=10;break e}if(h<20*g){x=0;break e}if(this.commonChars==null)x=30+h-20*g,x>100&&(x=100);else{const _=90/Math.log(h/4);x=Math.floor(Math.log(c+1)*_+10),x=Math.min(x,100)}}return x==0?null:(0,t.default)(f,this,x)}nextChar(f,h){return!0}};class i extends a{constructor(){super(...arguments),this.commonChars=[33088,33089,33090,33093,33115,33129,33130,33141,33142,33440,33442,33444,33449,33450,33451,33453,33455,33457,33459,33461,33463,33469,33470,33473,33476,33477,33478,33480,33481,33484,33485,33500,33504,33511,33512,33513,33514,33520,33521,33601,33603,33614,33615,33624,33630,33634,33639,33653,33654,33673,33674,33675,33677,33683,36502,37882,38314]}name(){return"Shift_JIS"}language(){return"ja"}nextChar(f,h){f.index=f.nextIndex,f.error=!1;const c=f.charValue=f.nextByte(h);if(c<0)return!1;if(c<=127||c>160&&c<=223)return!0;const g=f.nextByte(h);return g<0?!1:(f.charValue=c<<8|g,g>=64&&g<=127||g>=128&&g<=255||(f.error=!0),!0)}}Nn.sjis=i;class o extends a{constructor(){super(...arguments),this.commonChars=[41280,41281,41282,41283,41287,41289,41333,41334,42048,42054,42055,42056,42065,42068,42071,42084,42090,42092,42103,42147,42148,42151,42177,42190,42193,42207,42216,42237,42304,42312,42328,42345,42445,42471,42583,42593,42594,42600,42608,42664,42675,42681,42707,42715,42726,42738,42816,42833,42841,42970,43171,43173,43181,43217,43219,43236,43260,43456,43474,43507,43627,43706,43710,43724,43772,44103,44111,44208,44242,44377,44745,45024,45290,45423,45747,45764,45935,46156,46158,46412,46501,46525,46544,46552,46705,47085,47207,47428,47832,47940,48033,48593,49860,50105,50240,50271]}name(){return"Big5"}language(){return"zh"}nextChar(f,h){f.index=f.nextIndex,f.error=!1;const c=f.charValue=f.nextByte(h);if(c<0)return!1;if(c<=127||c==255)return!0;const g=f.nextByte(h);return g<0?!1:(f.charValue=f.charValue<<8|g,(g<64||g==127||g==255)&&(f.error=!0),!0)}}Nn.big5=o;function s(p,f){p.index=p.nextIndex,p.error=!1;let h=0,c=0,g=0;e:{if(h=p.charValue=p.nextByte(f),h<0){p.done=!0;break e}if(h<=141)break e;if(c=p.nextByte(f),p.charValue=p.charValue<<8|c,h>=161&&h<=254){c<161&&(p.error=!0);break e}if(h==142){c<161&&(p.error=!0);break e}h==143&&(g=p.nextByte(f),p.charValue=p.charValue<<8|g,g<161&&(p.error=!0))}return p.done==!1}class l extends a{constructor(){super(...arguments),this.commonChars=[41377,41378,41379,41382,41404,41418,41419,41430,41431,42146,42148,42150,42152,42154,42155,42156,42157,42159,42161,42163,42165,42167,42169,42171,42173,42175,42176,42177,42179,42180,42182,42183,42184,42185,42186,42187,42190,42191,42192,42206,42207,42209,42210,42212,42216,42217,42218,42219,42220,42223,42226,42227,42402,42403,42404,42406,42407,42410,42413,42415,42416,42419,42421,42423,42424,42425,42431,42435,42438,42439,42440,42441,42443,42448,42453,42454,42455,42462,42464,42465,42469,42473,42474,42475,42476,42477,42483,47273,47572,47854,48072,48880,49079,50410,50940,51133,51896,51955,52188,52689],this.nextChar=s}name(){return"EUC-JP"}language(){return"ja"}}Nn.euc_jp=l;class u extends a{constructor(){super(...arguments),this.commonChars=[45217,45235,45253,45261,45268,45286,45293,45304,45306,45308,45496,45497,45511,45527,45538,45994,46011,46274,46287,46297,46315,46501,46517,46527,46535,46569,46835,47023,47042,47054,47270,47278,47286,47288,47291,47337,47531,47534,47564,47566,47613,47800,47822,47824,47857,48103,48115,48125,48301,48314,48338,48374,48570,48576,48579,48581,48838,48840,48863,48878,48888,48890,49057,49065,49088,49124,49131,49132,49144,49319,49327,49336,49338,49339,49341,49351,49356,49358,49359,49366,49370,49381,49403,49404,49572,49574,49590,49622,49631,49654,49656,50337,50637,50862,51151,51153,51154,51160,51173,51373],this.nextChar=s}name(){return"EUC-KR"}language(){return"ko"}}Nn.euc_kr=u;class d extends a{constructor(){super(...arguments),this.commonChars=[41377,41378,41379,41380,41392,41393,41457,41459,41889,41900,41914,45480,45496,45502,45755,46025,46070,46323,46525,46532,46563,46767,46804,46816,47010,47016,47037,47062,47069,47284,47327,47350,47531,47561,47576,47610,47613,47821,48039,48086,48097,48122,48316,48347,48382,48588,48845,48861,49076,49094,49097,49332,49389,49611,49883,50119,50396,50410,50636,50935,51192,51371,51403,51413,51431,51663,51706,51889,51893,51911,51920,51926,51957,51965,52460,52728,52906,52932,52946,52965,53173,53186,53206,53442,53445,53456,53460,53671,53930,53938,53941,53947,53972,54211,54224,54269,54466,54490,54754,54992]}name(){return"GB18030"}language(){return"zh"}nextChar(f,h){f.index=f.nextIndex,f.error=!1;let c=0,g=0,m=0,x=0;e:{if(c=f.charValue=f.nextByte(h),c<0){f.done=!0;break e}if(c<=128)break e;if(g=f.nextByte(h),f.charValue=f.charValue<<8|g,c>=129&&c<=254){if(g>=64&&g<=126||g>=80&&g<=254)break e;if(g>=48&&g<=57&&(m=f.nextByte(h),m>=129&&m<=254&&(x=f.nextByte(h),x>=48&&x<=57))){f.charValue=f.charValue<<16|m<<8|x;break e}f.error=!0;break e}}return f.done==!1}}return Nn.gb_18030=d,Nn}var $t={},H1;function gF(){if(H1)return $t;H1=1;var e=$t&&$t.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty($t,"__esModule",{value:!0}),$t.KOI8_R=$t.windows_1256=$t.windows_1251=$t.ISO_8859_9=$t.ISO_8859_8=$t.ISO_8859_7=$t.ISO_8859_6=$t.ISO_8859_5=$t.ISO_8859_2=$t.ISO_8859_1=void 0;const t=e(Ao()),n=16777215;class r{constructor(v,y){this.byteIndex=0,this.ngram=0,this.ngramCount=0,this.hitCount=0,this.spaceChar=32,this.ngramList=v,this.byteMap=y}search(v,y){let _=0;return v[_+32]<=y&&(_+=32),v[_+16]<=y&&(_+=16),v[_+8]<=y&&(_+=8),v[_+4]<=y&&(_+=4),v[_+2]<=y&&(_+=2),v[_+1]<=y&&(_+=1),v[_]>y&&(_-=1),_<0||v[_]!=y?-1:_}lookup(v){this.ngramCount+=1,this.search(this.ngramList,v)>=0&&(this.hitCount+=1)}addByte(v){this.ngram=(this.ngram<<8)+(v&255)&n,this.lookup(this.ngram)}nextByte(v){return this.byteIndex>=v.inputLen?-1:v.inputBytes[this.byteIndex++]&255}parse(v,y){let _,S=!1;for(this.spaceChar=y;(_=this.nextByte(v))>=0;){const T=this.byteMap[_];T!=0&&(T==this.spaceChar&&S||this.addByte(T),S=T==this.spaceChar)}this.addByte(this.spaceChar);const C=this.hitCount/this.ngramCount;return C>.33?98:Math.floor(C*300)}}class a{constructor(v,y){this.fLang=v,this.fNGrams=y}}const i=x=>Array.isArray(x)&&isFinite(x[0]);let o=class{constructor(){this.spaceChar=32,this.nGramLang=void 0}ngrams(){return[]}byteMap(){return[]}name(v){return"sbcs"}language(){return this.nGramLang}match(v){this.nGramLang=void 0;const y=this.ngrams();if(i(y)){const C=new r(y,this.byteMap()).parse(v,this.spaceChar);return C<=0?null:(0,t.default)(v,this,C)}let _=-1;for(let S=y.length-1;S>=0;S--){const C=y[S],R=new r(C.fNGrams,this.byteMap()).parse(v,this.spaceChar);R>_&&(_=R,this.nGramLang=C.fLang)}return _<=0?null:(0,t.default)(v,this,_)}};class s extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,186,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,255]}ngrams(){return[new a("da",[2122086,2122100,2122853,2123118,2123122,2123375,2123873,2124064,2125157,2125671,2126053,2126697,2126708,2126953,2127465,6383136,6385184,6385252,6386208,6386720,6579488,6579566,6579570,6579572,6627443,6644768,6644837,6647328,6647396,6648352,6648421,6648608,6648864,6713202,6776096,6776174,6776178,6907749,6908960,6909543,7038240,7039845,7103858,7104871,7105637,7169380,7234661,7234848,7235360,7235429,7300896,7302432,7303712,7398688,7479396,7479397,7479411,7496992,7566437,7610483,7628064,7628146,7629164,7759218]),new a("de",[2122094,2122101,2122341,2122849,2122853,2122857,2123113,2123621,2123873,2124142,2125161,2126691,2126693,2127214,2127461,2127471,2127717,2128501,6448498,6514720,6514789,6514804,6578547,6579566,6579570,6580581,6627428,6627443,6646126,6646132,6647328,6648352,6648608,6776174,6841710,6845472,6906728,6907168,6909472,6909541,6911008,7104867,7105637,7217249,7217252,7217267,7234592,7234661,7234848,7235360,7235429,7238757,7479396,7496805,7497065,7562088,7566437,7610468,7628064,7628142,7628146,7695972,7695975,7759218]),new a("en",[2122016,2122094,2122341,2122607,2123375,2123873,2123877,2124142,2125153,2125670,2125938,2126437,2126689,2126708,2126952,2126959,2127720,6383972,6384672,6385184,6385252,6386464,6386720,6386789,6386793,6561889,6561908,6627425,6627443,6627444,6644768,6647412,6648352,6648608,6713202,6840692,6841632,6841714,6906912,6909472,6909543,6909806,6910752,7217249,7217268,7234592,7235360,7238688,7300640,7302688,7303712,7496992,7500576,7544929,7544948,7561577,7566368,7610484,7628146,7628897,7628901,7629167,7630624,7631648]),new a("es",[2122016,2122593,2122607,2122853,2123116,2123118,2123123,2124142,2124897,2124911,2125921,2125935,2125938,2126197,2126437,2126693,2127214,2128160,6365283,6365284,6365285,6365292,6365296,6382441,6382703,6384672,6386208,6386464,6515187,6516590,6579488,6579564,6582048,6627428,6627429,6627436,6646816,6647328,6647412,6648608,6648692,6907246,6943598,7102752,7106419,7217253,7238757,7282788,7282789,7302688,7303712,7303968,7364978,7435621,7495968,7497075,7544932,7544933,7544944,7562528,7628064,7630624,7693600,15953440]),new a("fr",[2122101,2122607,2122849,2122853,2122869,2123118,2123124,2124897,2124901,2125921,2125935,2125938,2126197,2126693,2126703,2127214,2154528,6385268,6386793,6513952,6516590,6579488,6579571,6583584,6627425,6627427,6627428,6627429,6627436,6627440,6627443,6647328,6647412,6648352,6648608,6648864,6649202,6909806,6910752,6911008,7102752,7103776,7103859,7169390,7217252,7234848,7238432,7238688,7302688,7302772,7304562,7435621,7479404,7496992,7544929,7544932,7544933,7544940,7544944,7610468,7628064,7629167,7693600,7696928]),new a("it",[2122092,2122600,2122607,2122853,2122857,2123040,2124140,2124142,2124897,2125925,2125938,2127214,6365283,6365284,6365296,6365299,6386799,6514789,6516590,6579564,6580512,6627425,6627427,6627428,6627433,6627436,6627440,6627443,6646816,6646892,6647412,6648352,6841632,6889569,6889571,6889572,6889587,6906144,6908960,6909472,6909806,7102752,7103776,7104800,7105633,7234848,7235872,7237408,7238757,7282785,7282788,7282793,7282803,7302688,7302757,7366002,7495968,7496992,7563552,7627040,7628064,7629088,7630624,8022383]),new a("nl",[2122092,2122341,2122849,2122853,2122857,2123109,2123118,2123621,2123877,2124142,2125153,2125157,2125680,2126949,2127457,2127461,2127471,2127717,2128489,6381934,6381938,6385184,6385252,6386208,6386720,6514804,6579488,6579566,6579570,6627426,6627446,6645102,6645106,6647328,6648352,6648435,6648864,6776174,6841716,6907168,6909472,6909543,6910752,7217250,7217252,7217253,7217256,7217263,7217270,7234661,7235360,7302756,7303026,7303200,7303712,7562088,7566437,7610468,7628064,7628142,7628146,7758190,7759218,7761775]),new a("no",[2122100,2122102,2122853,2123118,2123122,2123375,2123873,2124064,2125157,2125671,2126053,2126693,2126699,2126703,2126708,2126953,2127465,2155808,6385252,6386208,6386720,6579488,6579566,6579572,6627443,6644768,6647328,6647397,6648352,6648421,6648864,6648948,6713202,6776174,6908779,6908960,6909543,7038240,7039845,7103776,7105637,7169380,7169390,7217267,7234848,7235360,7235429,7237221,7300896,7302432,7303712,7398688,7479411,7496992,7565165,7566437,7610483,7628064,7628142,7628146,7629164,7631904,7631973,7759218]),new a("pt",[2122016,2122607,2122849,2122853,2122863,2123040,2123123,2125153,2125423,2125600,2125921,2125935,2125938,2126197,2126437,2126693,2127213,6365281,6365283,6365284,6365296,6382693,6382703,6384672,6386208,6386273,6386464,6516589,6516590,6578464,6579488,6582048,6582131,6627425,6627428,6647072,6647412,6648608,6648692,6906144,6906721,7169390,7238757,7238767,7282785,7282787,7282788,7282789,7282800,7303968,7364978,7435621,7495968,7497075,7544929,7544932,7544933,7544944,7566433,7628064,7630624,7693600,14905120,15197039]),new a("sv",[2122100,2122102,2122853,2123118,2123510,2123873,2124064,2124142,2124655,2125157,2125667,2126053,2126699,2126703,2126708,2126953,2127457,2127465,2155634,6382693,6385184,6385252,6386208,6386804,6514720,6579488,6579566,6579570,6579572,6644768,6647328,6648352,6648864,6747762,6776174,6909036,6909543,7037216,7105568,7169380,7217267,7233824,7234661,7235360,7235429,7235950,7299944,7302432,7302688,7398688,7479393,7479411,7495968,7564129,7565165,7610483,7627040,7628064,7628146,7629164,7631904,7758194,14971424,16151072])]}name(v){return v&&v.c1Bytes?"windows-1252":"ISO-8859-1"}}$t.ISO_8859_1=s;class l extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,177,32,179,32,181,182,32,32,185,186,187,188,32,190,191,32,177,32,179,32,181,182,183,32,185,186,187,188,32,190,191,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,32]}ngrams(){return[new a("cs",[2122016,2122361,2122863,2124389,2125409,2125413,2125600,2125668,2125935,2125938,2126072,2126447,2126693,2126703,2126708,2126959,2127392,2127481,2128481,6365296,6513952,6514720,6627440,6627443,6627446,6647072,6647533,6844192,6844260,6910836,6972704,7042149,7103776,7104800,7233824,7268640,7269408,7269664,7282800,7300206,7301737,7304052,7304480,7304801,7368548,7368554,7369327,7403621,7562528,7565173,7566433,7566441,7566446,7628146,7630573,7630624,7676016,12477728,14773997,15296623,15540336,15540339,15559968,16278884]),new a("hu",[2122016,2122106,2122341,2123111,2123116,2123365,2123873,2123887,2124147,2124645,2124649,2124790,2124901,2125153,2125157,2125161,2125413,2126714,2126949,2156915,6365281,6365291,6365293,6365299,6384416,6385184,6388256,6447470,6448494,6645625,6646560,6646816,6646885,6647072,6647328,6648421,6648864,6648933,6648948,6781216,6844263,6909556,6910752,7020641,7075450,7169383,7170414,7217249,7233899,7234923,7234925,7238688,7300985,7544929,7567973,7567988,7568097,7596391,7610465,7631904,7659891,8021362,14773792,15299360]),new a("pl",[2122618,2122863,2124064,2124389,2124655,2125153,2125161,2125409,2125417,2125668,2125935,2125938,2126697,2127648,2127721,2127737,2128416,2128481,6365296,6365303,6385257,6514720,6519397,6519417,6582048,6584937,6627440,6627443,6627447,6627450,6645615,6646304,6647072,6647401,6778656,6906144,6907168,6907242,7037216,7039264,7039333,7170405,7233824,7235937,7235941,7282800,7305057,7305065,7368556,7369313,7369327,7369338,7502437,7502457,7563754,7564137,7566433,7825765,7955304,7957792,8021280,8022373,8026400,15955744]),new a("ro",[2122016,2122083,2122593,2122597,2122607,2122613,2122853,2122857,2124897,2125153,2125925,2125938,2126693,2126819,2127214,2144873,2158190,6365283,6365284,6386277,6386720,6386789,6386976,6513010,6516590,6518048,6546208,6579488,6627425,6627427,6627428,6627440,6627443,6644e3,6646048,6646885,6647412,6648692,6889569,6889571,6889572,6889584,6907168,6908192,6909472,7102752,7103776,7106418,7107945,7234848,7238770,7303712,7365998,7496992,7497057,7501088,7594784,7628064,7631477,7660320,7694624,7695392,12216608,15625760])]}name(v){return v&&v.c1Bytes?"windows-1250":"ISO-8859-2"}}$t.ISO_8859_2=l;class u extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,241,242,243,244,245,246,247,248,249,250,251,252,32,254,255,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,32,241,242,243,244,245,246,247,248,249,250,251,252,32,254,255]}ngrams(){return[2150944,2151134,2151646,2152400,2152480,2153168,2153182,2153936,2153941,2154193,2154462,2154464,2154704,2154974,2154978,2155230,2156514,2158050,13688280,13689580,13884960,14015468,14015960,14016994,14017056,14164191,14210336,14211104,14216992,14407133,14407712,14413021,14536736,14538016,14538965,14538991,14540320,14540498,14557394,14557407,14557409,14602784,14602960,14603230,14604576,14605292,14605344,14606818,14671579,14672085,14672088,14672094,14733522,14734804,14803664,14803666,14803672,14806816,14865883,14868e3,14868192,14871584,15196894,15459616]}name(){return"ISO-8859-5"}language(){return"ru"}}$t.ISO_8859_5=u;class d extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]}ngrams(){return[2148324,2148326,2148551,2152932,2154986,2155748,2156006,2156743,13050055,13091104,13093408,13095200,13100064,13100227,13100231,13100232,13100234,13100236,13100237,13100239,13100243,13100249,13100258,13100261,13100264,13100266,13100320,13100576,13100746,13115591,13181127,13181153,13181156,13181157,13181160,13246663,13574343,13617440,13705415,13748512,13836487,14229703,14279913,14805536,14950599,14993696,15001888,15002144,15016135,15058720,15059232,15066656,15081671,15147207,15189792,15255524,15263264,15278279,15343815,15343845,15343848,15386912,15388960,15394336]}name(){return"ISO-8859-6"}language(){return"ar"}}$t.ISO_8859_6=d;class p extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,161,162,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,220,32,221,222,223,32,252,32,253,254,192,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,32,243,244,245,246,247,248,249,250,251,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,32]}ngrams(){return[2154989,2154992,2155497,2155753,2156016,2156320,2157281,2157797,2158049,2158368,2158817,2158831,2158833,2159604,2159605,2159847,2159855,14672160,14754017,14754036,14805280,14806304,14807292,14807584,14936545,15067424,15069728,15147252,15199520,15200800,15278324,15327520,15330014,15331872,15393257,15393268,15525152,15540449,15540453,15540464,15589664,15725088,15725856,15790069,15790575,15793184,15868129,15868133,15868138,15868144,15868148,15983904,15984416,15987951,16048416,16048617,16050157,16050162,16050666,16052e3,16052213,16054765,16379168,16706848]}name(v){return v&&v.c1Bytes?"windows-1253":"ISO-8859-7"}language(){return"el"}}$t.ISO_8859_7=p;class f extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,32,32,32,32,32]}ngrams(){return[new a("he",[2154725,2154727,2154729,2154746,2154985,2154990,2155744,2155749,2155753,2155758,2155762,2155769,2155770,2157792,2157796,2158304,2159340,2161132,14744096,14950624,14950625,14950628,14950636,14950638,14950649,15001056,15065120,15068448,15068960,15071264,15071776,15278308,15328288,15328762,15329773,15330592,15331104,15333408,15333920,15474912,15474916,15523872,15524896,15540448,15540449,15540452,15540460,15540462,15540473,15655968,15671524,15787040,15788320,15788525,15920160,16261348,16312813,16378912,16392416,16392417,16392420,16392428,16392430,16392441]),new a("he",[2154725,2154732,2155753,2155756,2155758,2155760,2157040,2157810,2157817,2158053,2158057,2158565,2158569,2160869,2160873,2161376,2161381,2161385,14688484,14688492,14688493,14688506,14738464,14738916,14740512,14741024,14754020,14754029,14754042,14950628,14950633,14950636,14950637,14950639,14950648,14950650,15002656,15065120,15066144,15196192,15327264,15327520,15328288,15474916,15474925,15474938,15528480,15530272,15591913,15591920,15591928,15605988,15605997,15606010,15655200,15655968,15918112,16326884,16326893,16326906,16376864,16441376,16442400,16442857])]}name(v){return v&&v.c1Bytes?"windows-1255":"ISO-8859-8"}language(){return"he"}}$t.ISO_8859_8=f;class h extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,186,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,105,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,255]}ngrams(){return[2122337,2122345,2122357,2122849,2122853,2123621,2123873,2124140,2124641,2124655,2125153,2125676,2126689,2126945,2127461,2128225,6365282,6384416,6384737,6384993,6385184,6385405,6386208,6386273,6386429,6386685,6388065,6449522,6578464,6579488,6580512,6627426,6627435,6644841,6647328,6648352,6648425,6648681,6909029,6909472,6909545,6910496,7102830,7102834,7103776,7103858,7217249,7217250,7217259,7234657,7234661,7234848,7235872,7235950,7273760,7498094,7535982,7759136,7954720,7958386,16608800,16608868,16609021,16642301]}name(v){return v&&v.c1Bytes?"windows-1254":"ISO-8859-9"}language(){return"tr"}}$t.ISO_8859_9=h;class c extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,144,131,32,131,32,32,32,32,32,32,154,32,156,157,158,159,144,32,32,32,32,32,32,32,32,32,154,32,156,157,158,159,32,162,162,188,32,180,32,32,184,32,186,32,32,32,32,191,32,32,179,179,180,181,32,32,184,32,186,32,188,190,190,191,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255]}ngrams(){return[2155040,2155246,2155758,2156512,2156576,2157280,2157294,2158048,2158053,2158305,2158574,2158576,2158816,2159086,2159090,2159342,2160626,2162162,14740968,14742268,14937632,15068156,15068648,15069682,15069728,15212783,15263008,15263776,15269664,15459821,15460384,15465709,15589408,15590688,15591653,15591679,15592992,15593186,15605986,15605999,15606001,15655456,15655648,15655918,15657248,15657980,15658016,15659506,15724267,15724773,15724776,15724782,15786210,15787492,15856352,15856354,15856360,15859488,15918571,15920672,15920880,15924256,16249582,16512288]}name(){return"windows-1251"}language(){return"ru"}}$t.windows_1251=c;class g extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,129,32,131,32,32,32,32,136,32,138,32,156,141,142,143,144,32,32,32,32,32,32,32,152,32,154,32,156,32,32,159,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,32,32,32,32,32,32,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,32,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,32,32,32,32,244,32,32,32,32,249,32,251,252,32,32,255]}ngrams(){return[2148321,2148324,2148551,2153185,2153965,2154977,2155492,2156231,13050055,13091104,13093408,13095200,13099296,13099459,13099463,13099464,13099466,13099468,13099469,13099471,13099475,13099482,13099486,13099491,13099494,13099501,13099808,13100064,13100234,13115591,13181127,13181149,13181153,13181155,13181158,13246663,13574343,13617440,13705415,13748512,13836487,14295239,14344684,14544160,14753991,14797088,14806048,14806304,14885063,14927648,14928160,14935072,14950599,15016135,15058720,15124449,15131680,15474887,15540423,15540451,15540454,15583520,15585568,15590432]}name(){return"windows-1256"}language(){return"ar"}}$t.windows_1256=g;class m extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,163,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,163,32,32,32,32,32,32,32,32,32,32,32,32,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223]}ngrams(){return[2147535,2148640,2149313,2149327,2150081,2150085,2150338,2150607,2150610,2151105,2151375,2151380,2151631,2152224,2152399,2153153,2153684,2154196,12701385,12702936,12963032,12963529,12964820,12964896,13094688,13181136,13223200,13224224,13226272,13419982,13420832,13424846,13549856,13550880,13552069,13552081,13553440,13553623,13574352,13574355,13574359,13617103,13617696,13618392,13618464,13620180,13621024,13621185,13684684,13685445,13685449,13685455,13812183,13813188,13881632,13882561,13882569,13882583,13944268,13946656,13946834,13948960,14272544,14603471]}name(){return"KOI8-R"}language(){return"ru"}}return $t.KOI8_R=m,$t}var Nr={},U1;function mF(){if(U1)return Nr;U1=1;var e=Nr&&Nr.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.ISO_2022_CN=Nr.ISO_2022_KR=Nr.ISO_2022_JP=void 0;const t=e(Ao());class n{constructor(){this.escapeSequences=[]}name(){return"ISO_2022"}match(s){let l,u,d,p=0,f=0,h=0,c;const g=s.inputBytes,m=s.inputLen;e:for(l=0;l<m;l++){if(g[l]==27){t:for(d=0;d<this.escapeSequences.length;d++){const x=this.escapeSequences[d];if(m-l<x.length)continue t;for(u=1;u<x.length;u++)if(x[u]!=g[l+u])continue t;p++,l+=x.length-1;continue e}f++}(g[l]==14||g[l]==15)&&h++}return p==0?null:(c=(100*p-100*f)/(p+f),p+h<5&&(c-=(5-(p+h))*10),c<=0?null:(0,t.default)(s,this,c))}}class r extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,40,67],[27,36,40,68],[27,36,64],[27,36,65],[27,36,66],[27,38,64],[27,40,66],[27,40,72],[27,40,73],[27,40,74],[27,46,65],[27,46,70]]}name(){return"ISO-2022-JP"}language(){return"ja"}}Nr.ISO_2022_JP=r;class a extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,67]]}name(){return"ISO-2022-KR"}language(){return"kr"}}Nr.ISO_2022_KR=a;class i extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,65],[27,36,41,71],[27,36,42,72],[27,36,41,69],[27,36,43,73],[27,36,43,74],[27,36,43,75],[27,36,43,76],[27,36,43,77],[27,78],[27,79]]}name(){return"ISO-2022-CN"}language(){return"zh"}}return Nr.ISO_2022_CN=i,Nr}var Qo={},z1;function xF(){if(z1)return Qo;z1=1,Object.defineProperty(Qo,"__esModule",{value:!0}),Qo.isByteArray=void 0;const e=t=>t==null||typeof t!="object"?!1:isFinite(t.length)&&t.length>=0;return Qo.isByteArray=e,Qo}var j1;function bF(){return j1||(j1=1,(function(e){var t=Ir&&Ir.__createBinding||(Object.create?(function(v,y,_,S){S===void 0&&(S=_);var C=Object.getOwnPropertyDescriptor(y,_);(!C||("get"in C?!y.__esModule:C.writable||C.configurable))&&(C={enumerable:!0,get:function(){return y[_]}}),Object.defineProperty(v,S,C)}):(function(v,y,_,S){S===void 0&&(S=_),v[S]=y[_]})),n=Ir&&Ir.__setModuleDefault||(Object.create?(function(v,y){Object.defineProperty(v,"default",{enumerable:!0,value:y})}):function(v,y){v.default=y}),r=Ir&&Ir.__importStar||(function(){var v=function(y){return v=Object.getOwnPropertyNames||function(_){var S=[];for(var C in _)Object.prototype.hasOwnProperty.call(_,C)&&(S[S.length]=C);return S},v(y)};return function(y){if(y&&y.__esModule)return y;var _={};if(y!=null)for(var S=v(y),C=0;C<S.length;C++)S[C]!=="default"&&t(_,y,S[C]);return n(_,y),_}})(),a=Ir&&Ir.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.detectFileSync=e.detectFile=e.analyse=e.detect=void 0;const i=a(cF()),o=a(dF()),s=a(fF()),l=r(hF()),u=r(pF()),d=r(gF()),p=r(mF()),f=xF(),h=[new s.default,new l.UTF_16BE,new l.UTF_16LE,new l.UTF_32BE,new l.UTF_32LE,new u.sjis,new u.big5,new u.euc_jp,new u.euc_kr,new u.gb_18030,new p.ISO_2022_JP,new p.ISO_2022_KR,new p.ISO_2022_CN,new d.ISO_8859_1,new d.ISO_8859_2,new d.ISO_8859_5,new d.ISO_8859_6,new d.ISO_8859_7,new d.ISO_8859_8,new d.ISO_8859_9,new d.windows_1251,new d.windows_1256,new d.KOI8_R,new o.default],c=v=>{const y=(0,e.analyse)(v);return y.length>0?y[0].name:null};e.detect=c;const g=v=>{if(!(0,f.isByteArray)(v))throw new Error("Input must be a byte array, e.g. Buffer or Uint8Array");const y=[];for(let T=0;T<256;T++)y[T]=0;for(let T=v.length-1;T>=0;T--)y[v[T]&255]++;let _=!1;for(let T=128;T<=159;T+=1)if(y[T]!==0){_=!0;break}const S={byteStats:y,c1Bytes:_,rawInput:v,rawLen:v.length,inputBytes:v,inputLen:v.length};return h.map(T=>T.match(S)).filter(T=>!!T).sort((T,R)=>R.confidence-T.confidence)};e.analyse=g;const m=(v,y={})=>new Promise((_,S)=>{let C;const T=(0,i.default)(),R=(A,I)=>{C&&T.closeSync(C),A?S(A):I?_((0,e.detect)(I)):S(new Error("No error and no buffer received"))},P=(y==null?void 0:y.sampleSize)||0;if(P>0){C=T.openSync(v,"r");let A=Buffer.allocUnsafe(P);T.read(C,A,0,P,y.offset,(I,$)=>{I?R(I,null):($<P&&(A=A.subarray(0,$)),R(null,A))});return}T.readFile(v,R)});e.detectFile=m;const x=(v,y={})=>{const _=(0,i.default)();if(y&&y.sampleSize){const S=_.openSync(v,"r");let C=Buffer.allocUnsafe(y.sampleSize);const T=_.readSync(S,C,0,y.sampleSize,y.offset);return T<y.sampleSize&&(C=C.subarray(0,T)),_.closeSync(S),(0,e.detect)(C)}return(0,e.detect)(_.readFileSync(v))};e.detectFileSync=x,e.default={analyse:e.analyse,detect:e.detect,detectFileSync:e.detectFileSync,detectFile:e.detectFile}})(Ir)),Ir}var vF=bF();const _F=fo(vF);function yF(e){const t=["utf-8","gbk","gb18030","ibm866","iso-8859-2","iso-8859-3","iso-8859-4","iso-8859-5","iso-8859-6","iso-8859-7","iso-8859-8","iso-8859-8i","iso-8859-10","iso-8859-13","iso-8859-14","iso-8859-15","iso-8859-16","koi8-r","koi8-u","macintosh","windows-874","windows-1250","windows-1251","windows-1252","windows-1253","windows-1254","windows-1255","windows-1256","windows-1257","windows-1258","x-mac-cyrillic","big5","euc-jp","iso-2022-jp","shift_jis","euc-kr","iso-2022-kr","utf-16be","utf-16le","x-user-defined","iso-2022-cn"];return Kt(()=>{if(e.referenceText){let n;typeof e.referenceText=="string"?n=new TextEncoder().encode(e.referenceText):n=new Uint8Array(e.referenceText);for(let r of _F.analyse(n)){const a=r.name.toLowerCase();if(t.includes(a)){e.setEncoding(a);return}}}}),w(Be,{pos:"absolute",right:0,top:0,w:"$36",opacity:.15,_hover:{opacity:1},zIndex:1,get children(){return w(uF,{get options(){return t.map(n=>({label:n.toLocaleUpperCase(),value:n}))},get value(){return e.encoding},onChange:n=>e.setEncoding(n)})}})}function QH(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43Zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282Z"/><path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43Zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282Z"/>'},e)}function ZH(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M1 11.5a.5.5 0 0 0 .5.5h11.793l-3.147 3.146a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 11H1.5a.5.5 0 0 0-.5.5zm14-7a.5.5 0 0 1-.5.5H2.707l3.147 3.146a.5.5 0 1 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 1 1 .708.708L2.707 4H14.5a.5.5 0 0 1 .5.5z"/>'},e)}function JH(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>'},e)}function eU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2.522 5H2a.5.5 0 0 0-.494.574l1.372 9.149A1.5 1.5 0 0 0 4.36 16h7.278a1.5 1.5 0 0 0 1.483-1.277l1.373-9.149A.5.5 0 0 0 14 5h-.522A5.5 5.5 0 0 0 2.522 5zm1.005 0a4.5 4.5 0 0 1 8.945 0H3.527zm9.892 1-1.286 8.574a.5.5 0 0 1-.494.426H4.36a.5.5 0 0 1-.494-.426L2.58 6h10.838z"/>'},e)}function tU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M10.5 8.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z"/><path d="M2 4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.172a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 9.172 2H6.828a2 2 0 0 0-1.414.586l-.828.828A2 2 0 0 1 3.172 4H2zm.5 2a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm9 2.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0z"/>'},e)}function nU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/><path d="M1.5 2A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13zm13 1a.5.5 0 0 1 .5.5v6l-3.775-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062L1.002 12v.54A.505.505 0 0 1 1 12.5v-9a.5.5 0 0 1 .5-.5h13z"/>'},e)}function rU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M8 0a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 4.095 0 5.555 0 7.318 0 9.366 1.708 11 3.781 11H7.5V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V11h4.188C14.502 11 16 9.57 16 7.773c0-1.636-1.242-2.969-2.834-3.194C12.923 1.999 10.69 0 8 0zm-.5 14.5V11h1v3.5a.5.5 0 0 1-1 0z"/>'},e)}function aU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.884 6.68 8 9.219l2.116-2.54a.5.5 0 1 1 .768.641L8.651 10l2.233 2.68a.5.5 0 0 1-.768.64L8 10.781l-2.116 2.54a.5.5 0 0 1-.768-.641L7.349 10 5.116 7.32a.5.5 0 1 1 .768-.64z"/>'},e)}function iU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.057 6h5.886L11 8h-.5c-.18-1.096-.356-1.192-1.694-1.235l-.298-.01v5.09c0 .47.1.582.903.655v.5H6.59v-.5c.799-.073.898-.184.898-.654V6.755l-.293.01C5.856 6.808 5.68 6.905 5.5 8H5l.057-2z"/>'},e)}function oU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707v5.586l-2.73-2.73a1 1 0 0 0-1.52.127l-1.889 2.644-1.769-1.062a1 1 0 0 0-1.222.15L2 12.292V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zm-1.498 4a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0z"/><path d="M10.564 8.27 14 11.708V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-.293l3.578-3.577 2.56 1.536 2.426-3.395z"/>'},e)}function sU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM6 8.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1z"/>'},e)}function lU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM11 6.64v1.75l-2 .5v3.61c0 .495-.301.883-.662 1.123C7.974 13.866 7.499 14 7 14c-.5 0-.974-.134-1.338-.377-.36-.24-.662-.628-.662-1.123s.301-.883.662-1.123C6.026 11.134 6.501 11 7 11c.356 0 .7.068 1 .196V6.89a1 1 0 0 1 .757-.97l1-.25A1 1 0 0 1 11 6.64z"/>'},e)}function uU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M5.523 12.424c.14-.082.293-.162.459-.238a7.878 7.878 0 0 1-.45.606c-.28.337-.498.516-.635.572a.266.266 0 0 1-.035.012.282.282 0 0 1-.026-.044c-.056-.11-.054-.216.04-.36.106-.165.319-.354.647-.548zm2.455-1.647c-.119.025-.237.05-.356.078a21.148 21.148 0 0 0 .5-1.05 12.045 12.045 0 0 0 .51.858c-.217.032-.436.07-.654.114zm2.525.939a3.881 3.881 0 0 1-.435-.41c.228.005.434.022.612.054.317.057.466.147.518.209a.095.095 0 0 1 .026.064.436.436 0 0 1-.06.2.307.307 0 0 1-.094.124.107.107 0 0 1-.069.015c-.09-.003-.258-.066-.498-.256zM8.278 6.97c-.04.244-.108.524-.2.829a4.86 4.86 0 0 1-.089-.346c-.076-.353-.087-.63-.046-.822.038-.177.11-.248.196-.283a.517.517 0 0 1 .145-.04c.013.03.028.092.032.198.005.122-.007.277-.038.465z"/><path fill-rule="evenodd" d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zM4.165 13.668c.09.18.23.343.438.419.207.075.412.04.58-.03.318-.13.635-.436.926-.786.333-.401.683-.927 1.021-1.51a11.651 11.651 0 0 1 1.997-.406c.3.383.61.713.91.95.28.22.603.403.934.417a.856.856 0 0 0 .51-.138c.155-.101.27-.247.354-.416.09-.181.145-.37.138-.563a.844.844 0 0 0-.2-.518c-.226-.27-.596-.4-.96-.465a5.76 5.76 0 0 0-1.335-.05 10.954 10.954 0 0 1-.98-1.686c.25-.66.437-1.284.52-1.794.036-.218.055-.426.048-.614a1.238 1.238 0 0 0-.127-.538.7.7 0 0 0-.477-.365c-.202-.043-.41 0-.601.077-.377.15-.576.47-.651.823-.073.34-.04.736.046 1.136.088.406.238.848.43 1.295a19.697 19.697 0 0 1-1.062 2.227 7.662 7.662 0 0 0-1.482.645c-.37.22-.699.48-.897.787-.21.326-.275.714-.08 1.103z"/>'},e)}function cU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM6 6.883a.5.5 0 0 1 .757-.429l3.528 2.117a.5.5 0 0 1 0 .858l-3.528 2.117a.5.5 0 0 1-.757-.43V6.884z"/>'},e)}function dU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.188 10H7V6.5h1.188a1.75 1.75 0 1 1 0 3.5z"/><path d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zM7 5.5a1 1 0 0 0-1 1V13a.5.5 0 0 0 1 0v-2h1.188a2.75 2.75 0 0 0 0-5.5H7z"/>'},e)}function fU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.485 6.879l1.036 4.144.997-3.655a.5.5 0 0 1 .964 0l.997 3.655 1.036-4.144a.5.5 0 0 1 .97.242l-1.5 6a.5.5 0 0 1-.967.01L8 9.402l-1.018 3.73a.5.5 0 0 1-.967-.01l-1.5-6a.5.5 0 1 1 .97-.242z"/>'},e)}function hU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M5.5 9.438V8.5h1v.938a1 1 0 0 0 .03.243l.4 1.598-.93.62-.93-.62.4-1.598a1 1 0 0 0 .03-.243z"/><path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zm-4-.5V2h-1V1H6v1h1v1H6v1h1v1H6v1h1v1H5.5V6h-1V5h1V4h-1V3h1zm0 4.5h1a1 1 0 0 1 1 1v.938l.4 1.599a1 1 0 0 1-.416 1.074l-.93.62a1 1 0 0 1-1.109 0l-.93-.62a1 1 0 0 1-.415-1.074l.4-1.599V8.5a1 1 0 0 1 1-1z"/>'},e)}function pU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.06 6.5a.5.5 0 0 1 .5.5v.776a11.5 11.5 0 0 1-.552 3.519l-1.331 4.14a.5.5 0 0 1-.952-.305l1.33-4.141a10.5 10.5 0 0 0 .504-3.213V7a.5.5 0 0 1 .5-.5Z"/><path d="M6.06 7a2 2 0 1 1 4 0 .5.5 0 1 1-1 0 1 1 0 1 0-2 0v.332c0 .409-.022.816-.066 1.221A.5.5 0 0 1 6 8.447c.04-.37.06-.742.06-1.115V7Zm3.509 1a.5.5 0 0 1 .487.513 11.5 11.5 0 0 1-.587 3.339l-1.266 3.8a.5.5 0 0 1-.949-.317l1.267-3.8a10.5 10.5 0 0 0 .535-3.048A.5.5 0 0 1 9.569 8Zm-3.356 2.115a.5.5 0 0 1 .33.626L5.24 14.939a.5.5 0 1 1-.955-.296l1.303-4.199a.5.5 0 0 1 .625-.329Z"/><path d="M4.759 5.833A3.501 3.501 0 0 1 11.559 7a.5.5 0 0 1-1 0 2.5 2.5 0 0 0-4.857-.833.5.5 0 1 1-.943-.334Zm.3 1.67a.5.5 0 0 1 .449.546 10.72 10.72 0 0 1-.4 2.031l-1.222 4.072a.5.5 0 1 1-.958-.287L4.15 9.793a9.72 9.72 0 0 0 .363-1.842.5.5 0 0 1 .546-.449Zm6 .647a.5.5 0 0 1 .5.5c0 1.28-.213 2.552-.632 3.762l-1.09 3.145a.5.5 0 0 1-.944-.327l1.089-3.145c.382-1.105.578-2.266.578-3.435a.5.5 0 0 1 .5-.5Z"/><path d="M3.902 4.222a4.996 4.996 0 0 1 5.202-2.113.5.5 0 0 1-.208.979 3.996 3.996 0 0 0-4.163 1.69.5.5 0 0 1-.831-.556Zm6.72-.955a.5.5 0 0 1 .705-.052A4.99 4.99 0 0 1 13.059 7v1.5a.5.5 0 1 1-1 0V7a3.99 3.99 0 0 0-1.386-3.028.5.5 0 0 1-.051-.705ZM3.68 5.842a.5.5 0 0 1 .422.568c-.029.192-.044.39-.044.59 0 .71-.1 1.417-.298 2.1l-1.14 3.923a.5.5 0 1 1-.96-.279L2.8 8.821A6.531 6.531 0 0 0 3.058 7c0-.25.019-.496.054-.736a.5.5 0 0 1 .568-.422Zm8.882 3.66a.5.5 0 0 1 .456.54c-.084 1-.298 1.986-.64 2.934l-.744 2.068a.5.5 0 0 1-.941-.338l.745-2.07a10.51 10.51 0 0 0 .584-2.678.5.5 0 0 1 .54-.456Z"/><path d="M4.81 1.37A6.5 6.5 0 0 1 14.56 7a.5.5 0 1 1-1 0 5.5 5.5 0 0 0-8.25-4.765.5.5 0 0 1-.5-.865Zm-.89 1.257a.5.5 0 0 1 .04.706A5.478 5.478 0 0 0 2.56 7a.5.5 0 0 1-1 0c0-1.664.626-3.184 1.655-4.333a.5.5 0 0 1 .706-.04ZM1.915 8.02a.5.5 0 0 1 .346.616l-.779 2.767a.5.5 0 1 1-.962-.27l.778-2.767a.5.5 0 0 1 .617-.346Zm12.15.481a.5.5 0 0 1 .49.51c-.03 1.499-.161 3.025-.727 4.533l-.07.187a.5.5 0 0 1-.936-.351l.07-.187c.506-1.35.634-2.74.663-4.202a.5.5 0 0 1 .51-.49Z"/>'},e)}function gU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M0 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2H2a2 2 0 0 1-2-2V2zm5 10v2a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2v5a2 2 0 0 1-2 2H5z"/>'},e)}function mU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z"/>'},e)}function xU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5v-3zm8 0A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5v-3zm-8 8A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5v-3zm8 0A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5v-3z"/>'},e)}function bU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M4.5 5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zM3 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/><path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H8.5v3a1.5 1.5 0 0 1 1.5 1.5h5.5a.5.5 0 0 1 0 1H10A1.5 1.5 0 0 1 8.5 14h-1A1.5 1.5 0 0 1 6 12.5H.5a.5.5 0 0 1 0-1H6A1.5 1.5 0 0 1 7.5 10V7H2a2 2 0 0 1-2-2V4zm1 0v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1zm6 7.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5z"/>'},e)}function vU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M10 2a2 2 0 0 1-1.5 1.937v5.087c.863.083 1.5.377 1.5.726 0 .414-.895.75-2 .75s-2-.336-2-.75c0-.35.637-.643 1.5-.726V3.937A2 2 0 1 1 10 2z"/><path d="M0 9.665v1.717a1 1 0 0 0 .553.894l6.553 3.277a2 2 0 0 0 1.788 0l6.553-3.277a1 1 0 0 0 .553-.894V9.665c0-.1-.06-.19-.152-.23L9.5 6.715v.993l5.227 2.178a.125.125 0 0 1 .001.23l-5.94 2.546a2 2 0 0 1-1.576 0l-5.94-2.546a.125.125 0 0 1 .001-.23L6.5 7.708l-.013-.988L.152 9.435a.25.25 0 0 0-.152.23z"/>'},e)}function _U(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm11.5 1a.5.5 0 0 0-.5.5v3.793L9.854 8.146a.5.5 0 1 0-.708.708l2 2a.5.5 0 0 0 .708 0l2-2a.5.5 0 0 0-.708-.708L12 9.293V5.5a.5.5 0 0 0-.5-.5zM3.56 7.01h.056l1.428 3.239h.774l1.42-3.24h.056V11h1.073V5.001h-1.2l-1.71 3.894h-.039l-1.71-3.894H2.5V11h1.06V7.01z"/>'},e)}function yU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.025 8c0 2.485-2.02 4.5-4.513 4.5A4.506 4.506 0 0 1 0 8c0-2.486 2.02-4.5 4.512-4.5A4.506 4.506 0 0 1 9.025 8zm4.95 0c0 2.34-1.01 4.236-2.256 4.236-1.246 0-2.256-1.897-2.256-4.236 0-2.34 1.01-4.236 2.256-4.236 1.246 0 2.256 1.897 2.256 4.236zM16 8c0 2.096-.355 3.795-.794 3.795-.438 0-.793-1.7-.793-3.795 0-2.096.355-3.795.794-3.795.438 0 .793 1.699.793 3.795z"/>'},e)}function EU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"/>'},e)}function SU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M12.433 10.07C14.133 10.585 16 11.15 16 8a8 8 0 1 0-8 8c1.996 0 1.826-1.504 1.649-3.08-.124-1.101-.252-2.237.351-2.92.465-.527 1.42-.237 2.433.07zM8 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm4.5 3a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM5 6.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm.5 6.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>'},e)}function CU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/><path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"/>'},e)}function TU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.79 5.093A.5.5 0 0 0 6 5.5v5a.5.5 0 0 0 .79.407l3.5-2.5a.5.5 0 0 0 0-.814l-3.5-2.5z"/>'},e)}function wU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2 2h2v2H2V2Z"/><path d="M6 0v6H0V0h6ZM5 1H1v4h4V1ZM4 12H2v2h2v-2Z"/><path d="M6 10v6H0v-6h6Zm-5 1v4h4v-4H1Zm11-9h2v2h-2V2Z"/><path d="M10 0v6h6V0h-6Zm5 1v4h-4V1h4ZM8 1V0h1v2H8v2H7V1h1Zm0 5V4h1v2H8ZM6 8V7h1V6h1v2h1V7h5v1h-4v1H7V8H6Zm0 0v1H2V8H1v1H0V7h3v1h3Zm10 1h-1V7h1v2Zm-1 0h-1v2h2v-1h-1V9Zm-4 0h2v1h-1v1h-1V9Zm2 3v-1h-1v1h-1v1H9v1h3v-2h1Zm0 0h3v1h-2v1h-1v-2Zm-4-1v1h1v-2H7v1h2Z"/><path d="M7 12h1v3h4v1H7v-4Zm9 2v2h-3v-1h2v-1h1Z"/>'},e)}function EF(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>'},e)}function AU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2.5 4a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm1 .5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/><path d="M2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2zm13 2v2H1V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zM2 14a1 1 0 0 1-1-1V6h14v7a1 1 0 0 1-1 1H2z"/>'},e)}function kU(e){return He({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M6.555 1.375 0 2.237v5.45h6.555V1.375zM0 13.795l6.555.933V8.313H0v5.482zm7.278-5.4.026 6.378L16 16V8.395H7.278zM16 0 7.33 1.244v6.414H16V0z"/>'},e)}const SF=Xe(EF,{baseStyle:{color:"$neutral11"}}),OU=e=>{const t=Ys(),n=ya(),[r,a]=Ie(!1),[i,o]=Ie("");let s;const l=()=>e.searchable?e.options.filter(d=>new RegExp(i(),"i").test(d.label)):e.options,u=()=>n.state.selectedOptions.map(d=>d.textValue).join(",");return Kt(fa(u,o)),[w(mc,{get as(){return e.searchable?"div":void 0},get children(){return w(Re,{get fallback(){return[w(tf,{get children(){return t("global.choose")}}),w(xc,{}),w(Cs,{})]},get when(){return ir(()=>!e.readonly)()&&e.searchable},get children(){return[w(bx,{border:"none",variant:"unstyled",get placeholder(){return ir(()=>!!r())()&&u()||t("global.choose")},get value(){return ir(()=>!!r())()?i():u()},onKeyDown:d=>d.stopPropagation(),onClick:d=>{n.state.opened&&d.stopPropagation()},onInput:d=>{clearTimeout(s),o(d.currentTarget.value)},onBlur:()=>{a(!1),s=setTimeout(()=>o(""),300)},onFocus:()=>{clearTimeout(s),o(""),a(!0)}}),w(Re,{get when(){return r()},get fallback(){return w(Cs,{})},get children(){return w(SF,{})}})]}})}}),w(dc,{get children(){return w(fc,{get children(){return w(uo,{get each(){return l()},children:d=>w(hc,{get value(){return d.key},get children(){return[w(gc,{get children(){return d.label}}),w(pc,{})]}})})}})}})]},q1=e=>{const t=Ys(),[n,r]=Pu(()=>Nt.get("/me")),[a,i]=Ie();return(async()=>Sc(await r(),gd,i))(),w(Ms,{get fallback(){return e.children},get children(){return[w(Xr,{get when(){return n()},get children(){return w(Tc,{})}}),w(Xr,{get when(){return a()!==void 0},get children(){return w(jf,{get msg(){return t("home.get_current_user_failed")+a()}})}})]}})},CF=e=>{const[t,n]=Pu(()=>Nt.get("/me")),[r,a]=Ie(!1);return wn(async()=>{fd(await n(),gd,(i,o)=>{gd({id:2,username:"guest",password:"",base_path:"/",role:1,disabled:!1,permission:0,sso_id:"",otp:!1}),a(!0)})}),w(Ms,{get fallback(){return e.children},get children(){return w(Xr,{get when(){return ir(()=>!r())()&&t()},get children(){return w(Tc,{})}})}})},TF={initialColorMode:"system",lightTheme:{colors:{background:"#f7f8fa"}},components:{Button:{baseStyle:{root:{rounded:"$lg",_active:{transform:"scale(.95)",transition:"0.2s"},_focus:{boxShadow:"unset"}}},defaultProps:{root:{colorScheme:"info",variant:"subtle"}}},IconButton:{defaultProps:{colorScheme:"info",variant:"subtle"}},Input:{baseStyle:{input:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"}}},defaultProps:{input:{variant:"filled"}}},Textarea:{baseStyle:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"},resize:"vertical",wordBreak:"break-all"},defaultProps:{variant:"filled"}},Select:{baseStyle:{trigger:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"}},content:{border:"none",rounded:"$lg"},optionIndicator:{color:"$info10"}},defaultProps:{root:{variant:"filled"}}},Checkbox:{defaultProps:{root:{colorScheme:"info",variant:"filled"}}},Switch:{defaultProps:{root:{colorScheme:"info"}}},Menu:{baseStyle:{content:{rounded:"$md",minW:"unset",border:"unset"},item:{rounded:"$md",py:"$1"}}},Notification:{baseStyle:{root:{rounded:"$lg",border:"unset"}}},Alert:{baseStyle:{root:{rounded:"$lg"}}},Anchor:{baseStyle:{rounded:"$lg",px:"$1_5",py:"$1",_hover:{bgColor:d6(),textDecoration:"none"},_focus:{boxShadow:"unset"},_active:{transform:"scale(.95)",transition:"0.1s"}}},Modal:{baseStyle:{content:{rounded:"$lg"}}}}},V_=_a({"*":{margin:0,padding:0},html:{fontFamily:'-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important'},"#root":{display:"flex",flexDirection:"column",alignItems:"center"},".hope-breadcrumb__list":{flexWrap:"wrap",rowGap:"0 !important"},".lightgallery-container":{"& .lg-backdrop":{zIndex:"$popover"},"& .lg-outer":{zIndex:"calc($popover + 10)"}},".viselect-selection-area":{background:"rgba(46, 115, 252, 0.11)",border:"2px solid rgba(98, 155, 255, 0.81)",borderRadius:"0.1em"},".viselect-container":{userSelect:"none","& .viselect-item":{"-webkit-user-drag":"none","& img":{"-webkit-user-drag":"none"}}}}),W1=Vu(()=>ga(()=>import("./Layout-CtHmJknm.js").then(e=>e.L),__vite__mapDeps([0,1,2,3,4,5,6,7]))),wF=Vu(()=>ga(()=>import("./index-CSLMu7OW.js").then(e=>e.i),__vite__mapDeps([8,1,2,9]))),AF=Vu(()=>ga(()=>import("./index-DRra1eYY.js"),__vite__mapDeps([10,1,11]))),kF=Vu(()=>ga(()=>import("./index-BeiVR93z.js"),__vite__mapDeps([12,13,4]))),OF=()=>{const e=Ys();V_();const t=iE(),{to:n,pathname:r}=Ks(),a=u=>{n(u)};Vi.on("to",a),wt(()=>{Vi.off("to",a)}),Kt(()=>{Vi.emit("pathname",r())});const[i,o]=Ie([]),[s,l]=g6(()=>Promise.all([(async()=>{fd(await Nt.get("/public/settings"),zA,u=>o(i().concat(u)))})(),(async()=>{fd(await Nt.get("/public/archive_extensions"),YA,u=>o(i().concat(u)))})()]));return l(),[w(Ha,{get children(){return w(Yx,{indeterminate:!0,size:"xs",position:"fixed",top:"0",left:"0",right:"0",zIndex:"$banner",get d(){return t()?"block":"none"},get children(){return w(Zx,{})}})}}),w(Ms,{get fallback(){return w(gE,{base:nr,get children(){return[w(Do,{path:"/@test",component:kF}),w(Do,{path:"/@login",component:AF}),w(Do,{path:"/@manage/*",get element(){return w(q1,{get children(){return w(wF,{})}})}}),w(Do,{path:["/@s/*","/%40s/*"],get element(){return w(CF,{get children(){return w(W1,{})}})}}),w(Do,{path:"*",get element(){return w(q1,{get children(){return w(W1,{})}})}})]}})},get children(){return[w(Xr,{get when(){return i().length>0},get children(){return w(jf,{h:"100vh",get msg(){return e("home.fetching_settings_failed")+i().map(u=>e("home."+u)).join(", ")}})}}),w(Xr,{get when(){return s()},get children(){return w(Tc,{})}})]}})]},IF=()=>(V_(),w(L4,{config:TF,get children(){return w(hy,{fallback:e=>(console.error("error",e),w(jf,{msg:"System error: ".concat(e),h:"100vh"})),get children(){return w(sT,{duration:3e3,get children(){return w(gy,{get fallback(){return w(Tc,{})},get children(){return w(OF,{})}})}})}})}}));wy(()=>w(pE,{get children(){return w(IF,{})}}),document.getElementById("root"));export{Xr as $,$a as A,Y8 as B,Ue as C,X$ as D,w as E,X as F,uo as G,ss as H,vo as I,BS as J,FS as K,ru as L,PF as M,d6 as N,$S as O,MS as P,oc as Q,qA as R,Re as S,Kt as T,qn as U,GA as V,Cc as W,Ie as X,gy as Y,Ms as Z,eg as _,NF as __vite_legacy_guard,K$ as a,FH as a$,jf as a0,ir as a1,XA as a2,Un as a3,Vu as a4,lH as a5,gw as a6,$x as a7,k2 as a8,ga as a9,zd as aA,jC as aB,RC as aC,_H as aD,yi as aE,EF as aF,U$ as aG,BC as aH,Vi as aI,go as aJ,He as aK,zH as aL,GH as aM,vw as aN,VA as aO,Q$ as aP,_w as aQ,vC as aR,bC as aS,Z2 as aT,G2 as aU,ma as aV,mC as aW,gC as aX,$A as aY,rH as aZ,PA as a_,fa as aa,xH as ab,ff as ac,$d as ad,Be as ae,vH as af,UH as ag,hH as ah,f6 as ai,fC as aj,bm as ak,wn as al,q_ as am,wt as an,nT as ao,Bt as ap,y2 as aq,Nx as ar,LC as as,iH as at,xU as au,nU as av,hi as aw,Ax as ax,Ox as ay,oH as az,Y$ as b,WA as b$,jH as b0,mH as b1,kH as b2,HH as b3,JB as b4,sH as b5,VH as b6,Pu as b7,O$ as b8,E$ as b9,aA as bA,NH as bB,tk as bC,FF as bD,TC as bE,rb as bF,rA as bG,mc as bH,tf as bI,xc as bJ,Cs as bK,dc as bL,fc as bM,hc as bN,gc as bO,pc as bP,aw as bQ,YS as bR,D$ as bS,bs as bT,kA as bU,bn as bV,xw as bW,OU as bX,_$ as bY,$H as bZ,Ha as b_,aC as ba,A$ as bb,I$ as bc,T$ as bd,nH as be,L$ as bf,C$ as bg,k$ as bh,WF as bi,qF as bj,N$ as bk,w$ as bl,TT as bm,NT as bn,bx as bo,y$ as bp,Nt as bq,M$ as br,uF as bs,Sc as bt,Y2 as bu,EC as bv,yC as bw,$F as bx,UF as by,HF as bz,wf as c,uU as c$,Nu as c0,gx as c1,pU as c2,AU as c3,SU as c4,tU as c5,vU as c6,EH as c7,eU as c8,bU as c9,ef as cA,fH as cB,dH as cC,OS as cD,m$ as cE,Yx as cF,Zx as cG,s2 as cH,bH as cI,b$ as cJ,TU as cK,Bu as cL,_A as cM,fo as cN,B$ as cO,Xe as cP,x$ as cQ,pH as cR,zF as cS,jF as cT,wU as cU,pT as cV,fT as cW,hT as cX,KH as cY,gH as cZ,Mw as c_,ZH as ca,yU as cb,mU as cc,rU as cd,SH as ce,OH as cf,CU as cg,gU as ch,AH as ci,CH as cj,p$ as ck,g$ as cl,gE as cm,Do as cn,H$ as co,Pn as cp,ht as cq,nr as cr,qH as cs,WH as ct,EU as cu,yH as cv,Nb as cw,TH as cx,qp as cy,rf as cz,$R as d,UA as d$,dU as d0,aU as d1,fU as d2,cU as d3,_U as d4,kU as d5,QH as d6,hU as d7,sU as d8,oU as d9,cw as dA,dw as dB,yT as dC,gT as dD,Ud as dE,F$ as dF,$$ as dG,DF as dH,cl as dI,wm as dJ,Lt as dK,It as dL,S$ as dM,KF as dN,zs as dO,fe as dP,dm as dQ,ba as dR,q0 as dS,Et as dT,z$ as dU,JH as dV,eH as dW,aH as dX,tH as dY,uH as dZ,J$ as d_,iU as da,lU as db,wH as dc,gd as dd,IC as de,SC as df,cS as dg,vS as dh,_S as di,fS as dj,YF as dk,LF as dl,fd as dm,zA as dn,VT as dp,cx as dq,wC as dr,pC as ds,Ny as dt,cm as du,V$ as dv,uw as dw,hw as dx,pw as dy,fw as dz,Jg as e,p6 as e0,cH as e1,Z$ as e2,OA as e3,yF as e4,aE as e5,pA as e6,IA as e7,Bw as e8,mu as e9,da as ea,K8 as eb,GF as ec,Pr as ed,v$ as ee,RF as ef,Ly as eg,R$ as eh,P$ as ei,Xt as ej,Sw as ek,la as f,Qg as g,zR as h,G$ as i,Gv as j,Ks as k,ws as l,zi as m,kd as n,VF as o,vv as p,Ys as q,df as r,_v as s,Rc as t,SA as u,KN as v,li as w,Lu as x,Ut as y,EA as z};